@ckeditor/ckeditor5-ai 47.0.0 → 47.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/ckeditor5-metadata.json +9 -2
- package/dist/index-editor.css +119 -34
- package/dist/index.css +144 -35
- package/dist/index.js +4 -4
- 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/lang/contexts.json +5 -0
- 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.d.ts +3 -3
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +6 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.d.ts +2 -4
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +11 -4
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +9 -0
- 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/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.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/aichat/utils/scrollmanager.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 +1 -1
- 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/aiconfig.d.ts +4 -0
- 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/aireply.d.ts +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/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.d.ts +2 -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.d.ts +2 -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/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.d.ts +3 -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.d.ts +6 -0
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +31 -3
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +5 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +7 -5
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +3 -0
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +4 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +27 -3
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +13 -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.d.ts +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.d.ts +4 -0
- 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.d.ts +5 -0
- package/src/errors.js +23 -0
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +4 -0
- package/theme/aichat/aichat-controls/model-unavailable-message.css +39 -0
- package/theme/aichat/aichat-controls.css +1 -0
- package/theme/aichat/aichat.css +0 -1
- package/theme/aichat/aichatfeed.css +9 -0
- package/theme/aichat/aisuggestioncontainer.css +7 -1
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +4 -0
- package/theme/aireviewmode/aireviewmode-check-list.css +4 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +25 -19
- package/theme/aireviewmode/aireviewmode-check-run.css +35 -7
- package/theme/aitabs/aitabsview.css +2 -2
- package/theme/aitabs/tabs/tabsview.css +13 -3
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +0 -16
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x37d0(_0x396a39,_0x53912b){const _0x355d7d=_0x355d();return _0x37d0=function(_0x37d0ce,_0x1117d9){_0x37d0ce=_0x37d0ce-0x112;let _0x171c69=_0x355d7d[_0x37d0ce];return _0x171c69;},_0x37d0(_0x396a39,_0x53912b);}function _0x355d(){const _0x3af993=['conversion','getSelectedTableCells','hideFakeVisualSelection','editingDowncast','pop','off','join','has','createSelection','257150FUpTyR','markerRange','createPositionAt','ck-fake-ai-selection_collapsed','markerToHighlight','data','once','map','3201318axQSnW','table','getChild','element','updateMarker','fire','isPremiumPlugin','from','153wZLKmO','addClass','AIAssistantEditing','getChildren','_getAISelection','getMarkersGroup','editing','markerToElement','span','resultRange','change','_pasteHTMLUsingClipboard','config','plugins','ck-fake-ai-selection','pluginName','insertRows','ai-ui','4hbZMpR','href','last','filter','selection','lowest','init','text/html','getLastPosition','setData','ai.assistant.useTheme','setSelection','forEach','1768109hdfqdB','getRange','getFirstRange','_createEmptyTableRows','getSelectedBlocks','3199992DEnpZz','editor','createUIElement','push','contentInsertion','afterInit','paste','removeMarker','isOfficialPlugin','isAtEnd','canEditAt','insertContentBelow','DataTransfer','model','insertContent','markers','_prepareTableInsertBelowPosition','getRanges','897435SizgZI','findAncestor','_getTableRowCountFromContent','getLastMatchingPosition','ck-ai-assistant-ui_theme','_resetContentOfSelectedTableCells','_getDefaultInsertBelowPosition','deleteContent','for','isCollapsed','first','28916GTSHcp','1788357ghHLHF','getRowIndexes','schema','start','document','getColumnIndexes','getRows','addMarker','showFakeVisualSelection','length','TableUtils','createRange','isContent','createPositionAfter','fromCharCode','get','end','parse','37jpBuqR'];_0x355d=function(){return _0x3af993;};return _0x355d();}const _0x231f8c=_0x37d0;(function(_0x583997,_0x415c67){const _0x1fd32f=_0x37d0,_0x26a9ed=_0x583997();while(!![]){try{const _0xc30699=parseInt(_0x1fd32f(0x14b))/0x1*(parseInt(_0x1fd32f(0x138))/0x2)+-parseInt(_0x1fd32f(0x139))/0x3*(parseInt(_0x1fd32f(0x177))/0x4)+-parseInt(_0x1fd32f(0x12d))/0x5+-parseInt(_0x1fd32f(0x15d))/0x6+parseInt(_0x1fd32f(0x116))/0x7+parseInt(_0x1fd32f(0x11b))/0x8+parseInt(_0x1fd32f(0x165))/0x9*(parseInt(_0x1fd32f(0x155))/0xa);if(_0xc30699===_0x415c67)break;else _0x26a9ed['push'](_0x26a9ed['shift']());}catch(_0x306988){_0x26a9ed['push'](_0x26a9ed['shift']());}}}(_0x355d,0x4d088));import{uid as _0x333fbb}from'ckeditor5/src/utils.js';import{Plugin as _0xf1aa99}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x38dd16}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x566b33,ViewDataTransfer as _0x1ccf42}from'ckeditor5/src/engine.js';const y=globalThis[_0x231f8c(0x127)],b=_0x231f8c(0x176);export class AIAssistantEditing extends _0xf1aa99{static get[_0x231f8c(0x174)](){const _0x2f8912=_0x231f8c;return _0x2f8912(0x167);}static get[_0x231f8c(0x123)](){return!0x0;}static get[_0x231f8c(0x163)](){return!0x0;}[_0x231f8c(0x17d)](){const _0x3ca373=_0x231f8c,{editor:_0x4fd646}=this,_0x58ee2b=[_0x3ca373(0x173)];_0x4fd646[_0x3ca373(0x171)][_0x3ca373(0x148)](_0x3ca373(0x113))&&_0x58ee2b[_0x3ca373(0x11e)](_0x3ca373(0x131)),_0x4fd646[_0x3ca373(0x14c)][_0x3ca373(0x135)](_0x3ca373(0x14f))[_0x3ca373(0x159)]({'model':b,'view':{'classes':_0x58ee2b,'priority':0xc}}),_0x4fd646[_0x3ca373(0x14c)][_0x3ca373(0x135)](_0x3ca373(0x14f))[_0x3ca373(0x16c)]({'model':b,'view':(_0x1a5de8,{writer:_0x25d1f1})=>{const _0x2e5f36=_0x3ca373;if(!_0x1a5de8[_0x2e5f36(0x156)][_0x2e5f36(0x136)])return null;const _0x21b8f9=_0x25d1f1[_0x2e5f36(0x11d)](_0x2e5f36(0x16d));return _0x25d1f1[_0x2e5f36(0x166)]([_0x2e5f36(0x173),_0x2e5f36(0x158)],_0x21b8f9),_0x21b8f9;}});}[_0x231f8c(0x120)](){!async function(_0x58d37c){const _0xd35074=_0x347d27([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]),_0x5fffbd=0x3dffc4e1,_0x53a2c2=0x3df8b011^_0x5fffbd,_0x5c3e99=window[_0x347d27([0x44,0x61,0x74,0x65])][_0x347d27([0x6e,0x6f,0x77])](),_0x38a2e4=_0x58d37c[_0x347d27([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59669c=new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31b607=>{_0x38a2e4[_0x347d27([0x6f,0x6e,0x63,0x65])](_0x347d27([0x72,0x65,0x61,0x64,0x79]),_0x31b607);}),_0x13c23a={[_0x347d27([0x6b,0x74,0x79])]:_0x347d27([0x45,0x43]),[_0x347d27([0x75,0x73,0x65])]:_0x347d27([0x73,0x69,0x67]),[_0x347d27([0x63,0x72,0x76])]:_0x347d27([0x50,0x2d,0x32,0x35,0x36]),[_0x347d27([0x78])]:_0x347d27([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]),[_0x347d27([0x79])]:_0x347d27([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]),[_0x347d27([0x61,0x6c,0x67])]:_0x347d27([0x45,0x53,0x32,0x35,0x36])},_0x12736d=_0x38a2e4[_0x347d27([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x347d27([0x67,0x65,0x74])](_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x305276(){let _0x6c39e7,_0x567d48=null,_0x1a9189=null;try{if(_0x12736d==_0x347d27([0x47,0x50,0x4c]))return _0x347d27([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6c39e7=_0x1a447a(),!_0x6c39e7)return _0x347d27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6c39e7[_0x347d27([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a9189=_0x19dfad(_0x6c39e7[_0x347d27([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6c39e7[_0x347d27([0x6a,0x74,0x69])])),await _0x27472d()?_0x13d0a5()?_0x2c67bb()?_0x347d27([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x246493()?(_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x347d27([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x567d48=_0x4ef2a9(_0x347d27([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x347d27([0x74,0x72,0x69,0x61,0x6c])&&(_0x567d48=_0x4ef2a9(_0x347d27([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e4199()):_0x347d27([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x347d27([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x347d27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x347d27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c67bb(){const _0x2b3043=[_0x347d27([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x347d27([0x74,0x72,0x69,0x61,0x6c])][_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c3e99/0x3e8:0xe10*_0x53a2c2;return _0x6c39e7[_0x347d27([0x65,0x78,0x70])]<_0x2b3043;}function _0x13d0a5(){const _0x4d9b9e=_0x6c39e7[_0x347d27([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d9b9e&&(!!_0x4d9b9e[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x347d27([0x2a]))||!!_0x4d9b9e[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x347d27([0x41,0x49])));}function _0x246493(){const _0x59606e=_0x37d0,_0x3beb7e=_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3beb7e||0x0==_0x3beb7e[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35b247}=new URL(window[_0x347d27([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x59606e(0x178)]);if(_0x3beb7e[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b247))return!0x0;const _0x247a44=_0x35b247[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e]));return _0x3beb7e[_0x347d27([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47e8fa=>_0x47e8fa[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x347d27([0x2a])))[_0x347d27([0x6d,0x61,0x70])](_0x334765=>_0x334765[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e])))[_0x347d27([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7e81ce=>_0x7e81ce[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x247a44[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x347d27([0x6d,0x61,0x70])](_0x439933=>Array(_0x247a44[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x439933[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x347d27([0x66,0x69,0x6c,0x6c])](_0x439933[0x0]===_0x347d27([0x2a])?_0x347d27([0x2a]):'')[_0x347d27([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x439933))[_0x347d27([0x73,0x6f,0x6d,0x65])](_0x473e3e=>_0x247a44[_0x347d27([0x65,0x76,0x65,0x72,0x79])]((_0x30627c,_0x23957b)=>_0x473e3e[_0x23957b]===_0x30627c||_0x473e3e[_0x23957b]===_0x347d27([0x2a])));}function _0x5e4199(){return _0x567d48&&_0x1a9189?new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x433687,_0x4d92a6)=>{_0x567d48[_0x347d27([0x74,0x68,0x65,0x6e])](_0x433687,_0x4d92a6),_0x1a9189[_0x347d27([0x74,0x68,0x65,0x6e])](_0x44d9d2=>{_0x44d9d2!=_0x347d27([0x56,0x61,0x6c,0x69,0x64])&&_0x433687(_0x44d9d2);},_0x4d92a6);}):_0x567d48||_0x1a9189||_0x347d27([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19dfad(_0x7630ac,_0x2ec91c){return new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49d52e=>{if(_0x16eac0())return _0x49d52e(_0x347d27([0x56,0x61,0x6c,0x69,0x64]));_0x36029f(),_0x38a2e4[_0x347d27([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x347d27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x485294=!0x1;const _0x41d016=_0x333fbb();function _0x3436b9(_0x3ec449){return!!_0x3ec449&&(typeof _0x3ec449===_0x347d27([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ec449===_0x347d27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ec449[_0x347d27([0x74,0x68,0x65,0x6e])]===_0x347d27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ec449[_0x347d27([0x63,0x61,0x74,0x63,0x68])]===_0x347d27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d0eb4(_0x1f4c7d){_0x23e222(_0x1f4c7d)[_0x347d27([0x74,0x68,0x65,0x6e])](_0x3768dd=>{if(!_0x3768dd||_0x3768dd[_0x347d27([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x347d27([0x6f,0x6b]))return _0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1166ca(_0x527e58(_0x41d016+_0x2ec91c))!=_0x3768dd[_0x347d27([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x347d27([0x56,0x61,0x6c,0x69,0x64]);})[_0x347d27([0x74,0x68,0x65,0x6e])](_0x1f5af9=>(_0x1144ed(),_0x1f5af9),()=>{const _0x198773=_0x51bc2b();return null==_0x198773?(_0x1144ed(),_0x347d27([0x56,0x61,0x6c,0x69,0x64])):_0x347d27(_0x5c3e99-_0x198773>(0x19f340e1^_0x5fffbd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x347d27([0x74,0x68,0x65,0x6e])](_0x49d52e)[_0x347d27([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49d52e(_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b856d=0x3dc92a61^_0x5fffbd;function _0x1144ed(){const _0x399dd4=_0x347d27([0x6c,0x6c,0x63,0x74,0x2d])+_0x1166ca(_0x527e58(_0x7630ac)),_0x3c57e1=_0x2b17a9(_0x1166ca(window[_0x347d27([0x4d,0x61,0x74,0x68])][_0x347d27([0x63,0x65,0x69,0x6c])](_0x5c3e99/_0x2b856d)));window[_0x347d27([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x347d27([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x399dd4,_0x3c57e1);}function _0x51bc2b(){const _0x2f39e6=_0x347d27([0x6c,0x6c,0x63,0x74,0x2d])+_0x1166ca(_0x527e58(_0x7630ac)),_0x2c2535=window[_0x347d27([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x347d27([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f39e6);return _0x2c2535?window[_0x347d27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b17a9(_0x2c2535),0x10)*_0x2b856d:null;}function _0x23e222(_0x18b535){return new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23b588,_0x179c25)=>{_0x18b535[_0x347d27([0x74,0x68,0x65,0x6e])](_0x23b588,_0x179c25),window[_0x347d27([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x179c25,0x3dfe1021^_0x5fffbd);});}}_0x38a2e4[_0x347d27([0x6f,0x6e])](_0x347d27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3de7b6,_0x11deac)=>{if(_0x11deac[0x0]!=_0x7630ac)return _0x49d52e(_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11deac[0x1]={..._0x11deac[0x1],[_0x347d27([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41d016};},{[_0x347d27([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x347d27([0x68,0x69,0x67,0x68])}),_0x38a2e4[_0x347d27([0x6f,0x6e])](_0x347d27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x49deb7=>{_0x3436b9(_0x49deb7[_0x347d27([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x485294=!0x0,_0x2d0eb4(_0x49deb7[_0x347d27([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x347d27([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x347d27([0x6c,0x6f,0x77])}),_0x59669c[_0x347d27([0x74,0x68,0x65,0x6e])](()=>{_0x485294||_0x49d52e(_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16eac0(){return _0x38a2e4[_0x347d27([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x347d27([0x76,0x69,0x65,0x77])][_0x347d27([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x347d27([0x61,0x75,0x74,0x6f]);}function _0x36029f(){_0x38a2e4[_0x347d27([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x347d27([0x76,0x69,0x65,0x77])][_0x347d27([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x347d27([0x61,0x75,0x74,0x6f]);}}function _0x4ef2a9(_0x3fac77){const _0x2d786f=[new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbd96bc=>setTimeout(_0xbd96bc,0x3df6fa2d^_0x5fffbd)),_0x59669c[_0x347d27([0x74,0x68,0x65,0x6e])](()=>new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4624a8=>{let _0x49a707=0x0;_0x38a2e4[_0x347d27([0x6d,0x6f,0x64,0x65,0x6c])][_0x347d27([0x6f,0x6e])](_0x347d27([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x148756,_0x4dd12d)=>{_0x4dd12d[0x0][_0x347d27([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49a707++,_0x49a707==(0x3dffc519^_0x5fffbd)&&(_0x4624a8(),_0x148756[_0x347d27([0x6f,0x66,0x66])]());});}))];return window[_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x347d27([0x72,0x61,0x63,0x65])](_0x2d786f)[_0x347d27([0x74,0x68,0x65,0x6e])](()=>_0x3fac77);}async function _0x4005d2(){await _0x59669c,_0x38a2e4[_0x347d27([0x6d,0x6f,0x64,0x65,0x6c])][_0x347d27([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54f682,_0x38a2e4[_0x347d27([0x6d,0x6f,0x64,0x65,0x6c])][_0x347d27([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54f682,_0x38a2e4[_0x347d27([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x347d27([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58a8cb(_0x1bee6c){const _0xf4bb68=_0x23f400();_0x38a2e4[_0xf4bb68]=_0x347d27([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1bee6c,_0x1bee6c!=_0x347d27([0x56,0x61,0x6c,0x69,0x64])&&_0x4005d2();}function _0x23f400(){const _0x3f6195=window[_0x347d27([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x347d27([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x347d27([0x6e,0x6f,0x77])]())[_0x347d27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x347d27([0x2e]),'');let _0x47d7f6=_0x347d27([0x6e]);for(let _0x409e1c=0x0;_0x409e1c<_0x3f6195[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x409e1c+=0x2){let _0x4369ff=window[_0x347d27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f6195[_0x347d27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x409e1c,_0x409e1c+0x2));_0x4369ff>=_0xd35074[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4369ff-=_0xd35074[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47d7f6+=_0xd35074[_0x4369ff];}return _0x47d7f6;}function _0x1a447a(){const _0x359c93=_0x12736d[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e]));if(0x3!=_0x359c93[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c6075(_0x359c93[0x1]);function _0x1c6075(_0x2ef557){const _0x55094a=_0x546430(_0x2ef557);return _0x55094a&&_0x14f246()?_0x55094a:null;function _0x14f246(){const _0x14c05f=_0x55094a[_0x347d27([0x6a,0x74,0x69])],_0x1bfdf5=window[_0x347d27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14c05f[_0x347d27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14c05f[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12abbb={..._0x55094a,[_0x347d27([0x6a,0x74,0x69])]:_0x14c05f[_0x347d27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14c05f[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12abbb[_0x347d27([0x76,0x63])],_0x527e58(_0x12abbb)==_0x1bfdf5;}}}async function _0x27472d(){let _0x4fee71=!0x0;try{const _0x491d42=_0x12736d[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e])),[_0x2ff257,_0x478518,_0x226616]=_0x491d42;return _0x18c9b8(_0x2ff257),await _0x31a8df(_0x2ff257,_0x478518,_0x226616),_0x4fee71;}catch{return!0x1;}function _0x18c9b8(_0x2e39da){const _0x262c1a=_0x546430(_0x2e39da);_0x262c1a&&_0x262c1a[_0x347d27([0x61,0x6c,0x67])]==_0x347d27([0x45,0x53,0x32,0x35,0x36])||(_0x4fee71=!0x1);}async function _0x31a8df(_0x502c84,_0x55be71,_0x5650f5){const _0x504633=window[_0x347d27([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x347d27([0x66,0x72,0x6f,0x6d])](_0x265b41(_0x5650f5),_0x126731=>_0x126731[_0x347d27([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x480111=new window[(_0x347d27([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x347d27([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x502c84+_0x347d27([0x2e])+_0x55be71),_0x3295ea=window[_0x347d27([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x347d27([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3295ea)return;const _0x206b27=await _0x3295ea[_0x347d27([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x347d27([0x6a,0x77,0x6b]),_0x13c23a,{[_0x347d27([0x6e,0x61,0x6d,0x65])]:_0x347d27([0x45,0x43,0x44,0x53,0x41]),[_0x347d27([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x347d27([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x347d27([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3295ea[_0x347d27([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x347d27([0x6e,0x61,0x6d,0x65])]:_0x347d27([0x45,0x43,0x44,0x53,0x41]),[_0x347d27([0x68,0x61,0x73,0x68])]:{[_0x347d27([0x6e,0x61,0x6d,0x65])]:_0x347d27([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x206b27,_0x504633,_0x480111)||(_0x4fee71=!0x1);}}function _0x546430(_0x3e8083){return _0x3e8083[_0x347d27([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x347d27([0x65,0x79]))?JSON[_0x347d27([0x70,0x61,0x72,0x73,0x65])](_0x265b41(_0x3e8083)):null;}function _0x265b41(_0x4e10ae){return window[_0x347d27([0x61,0x74,0x6f,0x62])](_0x4e10ae[_0x347d27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x347d27([0x2b]))[_0x347d27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x347d27([0x2f])));}function _0x527e58(_0x433e6c){let _0x136fe8=0x1505;function _0x59b911(_0x5d620b){for(let _0x168a32=0x0;_0x168a32<_0x5d620b[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x168a32++){const _0x31af52=_0x5d620b[_0x347d27([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x168a32);_0x136fe8=(_0x136fe8<<0x5)+_0x136fe8+_0x31af52,_0x136fe8&=_0x136fe8;}}function _0x5b1679(_0x5c653f){Array[_0x347d27([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c653f)?_0x5c653f[_0x347d27([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b1679):_0x5c653f&&typeof _0x5c653f==_0x347d27([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x347d27([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c653f)[_0x347d27([0x73,0x6f,0x72,0x74])]()[_0x347d27([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xca1c46,_0x279845])=>{_0x59b911(_0xca1c46),_0x5b1679(_0x279845);}):_0x59b911(window[_0x347d27([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c653f));}return _0x5b1679(_0x433e6c),_0x136fe8>>>0x0;}function _0x1166ca(_0x51fe64){return _0x51fe64[_0x347d27([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x347d27([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x347d27([0x30]));}function _0x2b17a9(_0x2ffbb1){return _0x2ffbb1[_0x347d27([0x73,0x70,0x6c,0x69,0x74])]('')[_0x347d27([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x347d27([0x6a,0x6f,0x69,0x6e])]('');}function _0x54f682(){}function _0x347d27(_0x35a95f){const _0x37ee45=_0x37d0;return _0x35a95f[_0x37ee45(0x15c)](_0x379b09=>String[_0x37ee45(0x147)](_0x379b09))[_0x37ee45(0x152)]('');}_0x58a8cb(await _0x305276());}(this);}[_0x231f8c(0x141)](){const _0x11049d=_0x231f8c,_0xadeb96=this[_0x11049d(0x11c)][_0x11049d(0x128)];_0xadeb96[_0x11049d(0x16f)](_0x4ec796=>{const _0x14d404=_0x11049d,_0x4ee9c4=_0xadeb96[_0x14d404(0x13d)][_0x14d404(0x17b)][_0x14d404(0x12c)]();let _0x26bbb=0x0;for(const _0x4b5fb8 of _0x4ee9c4){const _0x5974ff=b+':'+_0x26bbb;if(_0xadeb96[_0x14d404(0x12a)][_0x14d404(0x153)](_0x5974ff))_0x4ec796[_0x14d404(0x161)](_0x5974ff,{'range':_0x4b5fb8});else{if(_0x4b5fb8[_0x14d404(0x13c)][_0x14d404(0x124)]){const _0x4faab5=_0x4b5fb8[_0x14d404(0x13c)][_0x14d404(0x130)](({item:_0x43f728})=>!_0xadeb96[_0x14d404(0x13b)][_0x14d404(0x145)](_0x43f728),{'boundaries':_0x4b5fb8});_0x4ec796[_0x14d404(0x140)](_0x5974ff,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4ec796[_0x14d404(0x144)](_0x4faab5,_0x4b5fb8[_0x14d404(0x149)])});}else _0x4ec796[_0x14d404(0x140)](_0x5974ff,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4b5fb8});}_0x26bbb++;}});}[_0x231f8c(0x14e)](){const _0x1fb442=_0x231f8c,_0x12ef9a=this[_0x1fb442(0x11c)][_0x1fb442(0x128)],_0x57719f=Array[_0x1fb442(0x164)](this[_0x1fb442(0x11c)][_0x1fb442(0x128)][_0x1fb442(0x12a)][_0x1fb442(0x16a)](b));_0x57719f[_0x1fb442(0x142)]&&_0x12ef9a[_0x1fb442(0x16f)](_0x3b8e8a=>{const _0x1a6c01=_0x1fb442;_0x57719f[_0x1a6c01(0x115)](_0x2ac5=>{const _0x590292=_0x1a6c01;_0x3b8e8a[_0x590292(0x122)](_0x2ac5);});});}[_0x231f8c(0x129)](_0x9251ea,_0x42cb42){const _0x24afb7=_0x231f8c,_0x54e1ee=this[_0x24afb7(0x169)](),_0x575b88=_0x42cb42||_0x54e1ee[_0x24afb7(0x118)]();this[_0x24afb7(0x11c)][_0x24afb7(0x128)][_0x24afb7(0x125)](_0x575b88)&&this[_0x24afb7(0x11c)][_0x24afb7(0x128)][_0x24afb7(0x16f)](_0x5beaad=>{const _0x535306=_0x24afb7;this[_0x535306(0x14e)](),_0x42cb42||this[_0x535306(0x132)](_0x5beaad,_0x54e1ee),this[_0x535306(0x170)]({'insertAt':_0x575b88,'writer':_0x5beaad,'html':_0x9251ea});});}[_0x231f8c(0x126)](_0x142913){const _0x5ac3eb=_0x231f8c,{model:_0x59f28c}=this[_0x5ac3eb(0x11c)],_0x17099a=this[_0x5ac3eb(0x169)]();_0x59f28c[_0x5ac3eb(0x16f)](()=>{const _0x990374=_0x5ac3eb,_0x34e465=this[_0x990374(0x12b)](_0x142913,_0x17099a)||this[_0x990374(0x133)](_0x17099a);this[_0x990374(0x129)](_0x142913,_0x34e465);});}[_0x231f8c(0x169)](){const _0x4027a2=_0x231f8c,_0x24bf02=this[_0x4027a2(0x11c)][_0x4027a2(0x128)],_0x10c139=Array[_0x4027a2(0x164)](_0x24bf02[_0x4027a2(0x12a)][_0x4027a2(0x16a)](b))[_0x4027a2(0x15c)](_0x424bb8=>_0x424bb8[_0x4027a2(0x117)]());return _0x24bf02[_0x4027a2(0x154)](_0x10c139);}[_0x231f8c(0x170)]({writer:_0x4b188f,html:_0x2e35cb,insertAt:_0x65ccd3}){const _0x5ca30c=_0x231f8c,{view:_0x4fc07a}=this[_0x5ca30c(0x11c)][_0x5ca30c(0x16b)],_0x50fb8c=this[_0x5ca30c(0x11c)][_0x5ca30c(0x172)][_0x5ca30c(0x148)](_0x38dd16),_0x8dad65=new y();_0x8dad65[_0x5ca30c(0x112)](_0x5ca30c(0x17e),_0x2e35cb);const _0x442e57=new ClipboardEvent(_0x5ca30c(0x121),{'clipboardData':_0x8dad65}),_0x40c6b1=new _0x566b33(_0x4fc07a,_0x442e57,{'dataTransfer':new _0x1ccf42(_0x8dad65)});_0x4b188f[_0x5ca30c(0x114)](_0x65ccd3);const _0x3736cc=(_0x4fa554,_0x105954)=>{const _0x2a8ab2=_0x5ca30c;_0x105954[_0x2a8ab2(0x16e)]&&_0x4b188f[_0x2a8ab2(0x114)](_0x105954[_0x2a8ab2(0x16e)]);};_0x50fb8c[_0x5ca30c(0x15b)](_0x5ca30c(0x11f),_0x3736cc,{'priority':_0x5ca30c(0x17c)}),_0x4fc07a[_0x5ca30c(0x13d)][_0x5ca30c(0x162)](_0x5ca30c(0x121),_0x40c6b1),_0x50fb8c[_0x5ca30c(0x151)](_0x5ca30c(0x11f),_0x3736cc);}[_0x231f8c(0x133)](_0x228b7b){const _0x3efdd1=_0x231f8c,{model:_0x1f1ec7}=this[_0x3efdd1(0x11c)],_0x38f943=Array[_0x3efdd1(0x164)](_0x228b7b[_0x3efdd1(0x11a)]());return _0x38f943[_0x3efdd1(0x142)]?_0x1f1ec7[_0x3efdd1(0x146)](_0x38f943[_0x3efdd1(0x150)]()):_0x228b7b[_0x3efdd1(0x17f)]();}[_0x231f8c(0x12b)](_0x5e48a5,_0x293adc){const _0x4f197c=_0x231f8c,{model:_0x14e86e,plugins:_0x3506a4}=this[_0x4f197c(0x11c)];if(_0x3506a4[_0x4f197c(0x153)](_0x4f197c(0x143))){const _0x8d75b9=_0x3506a4[_0x4f197c(0x148)](_0x4f197c(0x143))[_0x4f197c(0x14d)](_0x293adc);if(_0x8d75b9[_0x4f197c(0x142)]){const _0x5d67fc=this[_0x4f197c(0x12f)](_0x5e48a5),_0x4bf809=this[_0x4f197c(0x119)](_0x8d75b9,_0x5d67fc);return _0x14e86e[_0x4f197c(0x157)](_0x4bf809,0x0);}}return null;}[_0x231f8c(0x12f)](_0x5bc71e){const _0x4700c1=_0x231f8c,_0x5a4006=this[_0x4700c1(0x11c)][_0x4700c1(0x172)][_0x4700c1(0x148)](_0x4700c1(0x143)),_0x15df8d=this[_0x4700c1(0x11c)][_0x4700c1(0x15a)][_0x4700c1(0x14a)](_0x5bc71e),_0x3216bd=Array[_0x4700c1(0x164)](_0x15df8d[_0x4700c1(0x168)]())[_0x4700c1(0x17a)](_0x2a3359=>_0x2a3359['is'](_0x4700c1(0x160),_0x4700c1(0x15e)));let _0x2cb80e=0x0;return _0x3216bd[_0x4700c1(0x115)](_0x2aae4b=>{const _0x516c13=_0x4700c1;_0x2cb80e+=_0x5a4006[_0x516c13(0x13f)](_0x2aae4b);}),_0x2cb80e;}[_0x231f8c(0x119)](_0x396142,_0x3475f3){const _0x17aa91=_0x231f8c,_0x39751b=this[_0x17aa91(0x11c)][_0x17aa91(0x172)][_0x17aa91(0x148)](_0x17aa91(0x143)),_0x210c16=_0x39751b[_0x17aa91(0x13a)](_0x396142),_0x1219e6=_0x39751b[_0x17aa91(0x13e)](_0x396142),_0x4e3f61=_0x210c16[_0x17aa91(0x179)]+0x1,_0x375026=_0x1219e6[_0x17aa91(0x137)],_0x2f0648=_0x396142[0x0][_0x17aa91(0x12e)](_0x17aa91(0x15e));for(let _0x525193=0x0;_0x525193<_0x3475f3;_0x525193++)_0x39751b[_0x17aa91(0x175)](_0x2f0648,{'at':_0x4e3f61});return _0x2f0648[_0x17aa91(0x15f)](_0x4e3f61)[_0x17aa91(0x15f)](_0x375026);}[_0x231f8c(0x132)](_0x1cef33,_0xd7949f){const _0x583193=_0x231f8c,{plugins:_0x2826bf}=this[_0x583193(0x11c)],{model:_0x4986cd}=_0x1cef33;if(!_0x2826bf[_0x583193(0x153)](_0x583193(0x143)))return;_0x2826bf[_0x583193(0x148)](_0x583193(0x143))[_0x583193(0x14d)](_0xd7949f)[_0x583193(0x142)]&&_0x4986cd[_0x583193(0x134)](_0xd7949f);}}
|
|
23
|
+
const _0x32f59a=_0x489a;(function(_0x375bde,_0x182042){const _0x422055=_0x489a,_0x26cf92=_0x375bde();while(!![]){try{const _0x1ac21d=parseInt(_0x422055(0x15a))/0x1+-parseInt(_0x422055(0x168))/0x2*(parseInt(_0x422055(0x197))/0x3)+-parseInt(_0x422055(0x1a8))/0x4+-parseInt(_0x422055(0x144))/0x5+parseInt(_0x422055(0x169))/0x6*(-parseInt(_0x422055(0x190))/0x7)+-parseInt(_0x422055(0x17d))/0x8*(parseInt(_0x422055(0x170))/0x9)+parseInt(_0x422055(0x153))/0xa*(parseInt(_0x422055(0x189))/0xb);if(_0x1ac21d===_0x182042)break;else _0x26cf92['push'](_0x26cf92['shift']());}catch(_0xf2eb3){_0x26cf92['push'](_0x26cf92['shift']());}}}(_0xa25d,0xcead1));function _0xa25d(){const _0x1f5d19=['isAtEnd','hideFakeVisualSelection','_resetContentOfSelectedTableCells','paste','143hzptqz','fromCharCode','_prepareTableInsertBelowPosition','from','off','schema','markerToHighlight','427kAwxSX','getSelectedBlocks','_pasteHTMLUsingClipboard','start','showFakeVisualSelection','insertContentBelow','addClass','153807PuzdWR','createPositionAt','ai-ui','afterInit','createRange','getColumnIndexes','ck-fake-ai-selection_collapsed','conversion','filter','init','AIAssistantEditing','forEach','getLastMatchingPosition','href','for','_getAISelection','plugins','2777728uyCOkZ','insertRows','getMarkersGroup','markerToElement','getSelectedTableCells','editing','length','ck-ai-assistant-ui_theme','getRange','fire','join','4758115Dljusl','createPositionAfter','resultRange','isOfficialPlugin','push','has','change','element','_getTableRowCountFromContent','map','TableUtils','ai.assistant.useTheme','_getDefaultInsertBelowPosition','addMarker','isCollapsed','2663510zrlPsP','span','contentInsertion','first','getRows','findAncestor','markerRange','978231ntwKCK','table','ck-fake-ai-selection','setSelection','markers','editingDowncast','getRanges','createUIElement','isPremiumPlugin','updateMarker','setData','DataTransfer','getLastPosition','config','32ViEoJV','85026ZjPuGL','model','_createEmptyTableRows','data','insertContent','pluginName','isContent','5553fEzvcM','document','lowest','getChild','createSelection','getFirstRange','selection','end','getRowIndexes','editor','text/html','parse','removeMarker','3416gpKJDf','once','pop','getChildren','canEditAt','last','get','deleteContent'];_0xa25d=function(){return _0x1f5d19;};return _0xa25d();}import{uid as _0x235fca}from'ckeditor5/src/utils.js';import{Plugin as _0x2a9e3a}from'ckeditor5/src/core.js';function _0x489a(_0x3f48e0,_0x3f6321){const _0xa25df7=_0xa25d();return _0x489a=function(_0x489a4e,_0x2a99c9){_0x489a4e=_0x489a4e-0x144;let _0xf5afaa=_0xa25df7[_0x489a4e];return _0xf5afaa;},_0x489a(_0x3f48e0,_0x3f6321);}import{ClipboardPipeline as _0xe125ef}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3cca09,ViewDataTransfer as _0x2a2038}from'ckeditor5/src/engine.js';const P=globalThis[_0x32f59a(0x165)],B=_0x32f59a(0x199);export class AIAssistantEditing extends _0x2a9e3a{static get[_0x32f59a(0x16e)](){const _0x3dd5da=_0x32f59a;return _0x3dd5da(0x1a1);}static get[_0x32f59a(0x147)](){return!0x0;}static get[_0x32f59a(0x162)](){return!0x0;}[_0x32f59a(0x1a0)](){const _0x2671d=_0x32f59a,{editor:_0x5ae01c}=this,_0x354b32=[_0x2671d(0x15c)];_0x5ae01c[_0x2671d(0x167)][_0x2671d(0x183)](_0x2671d(0x14f))&&_0x354b32[_0x2671d(0x148)](_0x2671d(0x1af)),_0x5ae01c[_0x2671d(0x19e)][_0x2671d(0x1a5)](_0x2671d(0x15f))[_0x2671d(0x18f)]({'model':B,'view':{'classes':_0x354b32,'priority':0xc}}),_0x5ae01c[_0x2671d(0x19e)][_0x2671d(0x1a5)](_0x2671d(0x15f))[_0x2671d(0x1ab)]({'model':B,'view':(_0x4932e2,{writer:_0x58a1b6})=>{const _0x4e7060=_0x2671d;if(!_0x4932e2[_0x4e7060(0x159)][_0x4e7060(0x152)])return null;const _0x57d98f=_0x58a1b6[_0x4e7060(0x161)](_0x4e7060(0x154));return _0x58a1b6[_0x4e7060(0x196)]([_0x4e7060(0x15c),_0x4e7060(0x19d)],_0x57d98f),_0x57d98f;}});}[_0x32f59a(0x19a)](){!async function(_0x71f9c3){const _0x16a029=_0x3eb95a([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]),_0x173ca3=0x3dffc4e1,_0x380340=0x3df8b2c9^_0x173ca3,_0xa81e2d=window[_0x3eb95a([0x44,0x61,0x74,0x65])][_0x3eb95a([0x6e,0x6f,0x77])](),_0x1a1cd7=_0x71f9c3[_0x3eb95a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x296f3f=new window[(_0x3eb95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39e71b=>{_0x1a1cd7[_0x3eb95a([0x6f,0x6e,0x63,0x65])](_0x3eb95a([0x72,0x65,0x61,0x64,0x79]),_0x39e71b);}),_0x40c2bd={[_0x3eb95a([0x6b,0x74,0x79])]:_0x3eb95a([0x45,0x43]),[_0x3eb95a([0x75,0x73,0x65])]:_0x3eb95a([0x73,0x69,0x67]),[_0x3eb95a([0x63,0x72,0x76])]:_0x3eb95a([0x50,0x2d,0x32,0x35,0x36]),[_0x3eb95a([0x78])]:_0x3eb95a([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]),[_0x3eb95a([0x79])]:_0x3eb95a([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]),[_0x3eb95a([0x61,0x6c,0x67])]:_0x3eb95a([0x45,0x53,0x32,0x35,0x36])},_0x1f854c=_0x1a1cd7[_0x3eb95a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3eb95a([0x67,0x65,0x74])](_0x3eb95a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x30c20b(){let _0x3546aa,_0x284ebb=null,_0x8b5be2=null;try{if(_0x1f854c==_0x3eb95a([0x47,0x50,0x4c]))return _0x3eb95a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3546aa=_0x44584e(),!_0x3546aa)return _0x3eb95a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3546aa[_0x3eb95a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x8b5be2=_0xd8de42(_0x3546aa[_0x3eb95a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3546aa[_0x3eb95a([0x6a,0x74,0x69])])),await _0x51a77a()?_0x4e9189()?_0x12f033()?_0x3eb95a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x43d659()?(_0x3546aa[_0x3eb95a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3eb95a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x284ebb=_0x21eb3e(_0x3eb95a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3546aa[_0x3eb95a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3eb95a([0x74,0x72,0x69,0x61,0x6c])&&(_0x284ebb=_0x21eb3e(_0x3eb95a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd28d61()):_0x3eb95a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3eb95a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3eb95a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3eb95a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12f033(){const _0x46c40f=[_0x3eb95a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3eb95a([0x74,0x72,0x69,0x61,0x6c])][_0x3eb95a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3546aa[_0x3eb95a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa81e2d/0x3e8:0xe10*_0x380340;return _0x3546aa[_0x3eb95a([0x65,0x78,0x70])]<_0x46c40f;}function _0x4e9189(){const _0xebfa8b=_0x3546aa[_0x3eb95a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xebfa8b&&(!!_0xebfa8b[_0x3eb95a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3eb95a([0x2a]))||!!_0xebfa8b[_0x3eb95a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3eb95a([0x41,0x49])));}function _0x43d659(){const _0x278b30=_0x489a,_0x1f085d=_0x3546aa[_0x3eb95a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f085d||0x0==_0x1f085d[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22f9bb}=new URL(window[_0x3eb95a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x278b30(0x1a4)]);if(_0x1f085d[_0x3eb95a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22f9bb))return!0x0;const _0x1517c6=_0x22f9bb[_0x3eb95a([0x73,0x70,0x6c,0x69,0x74])](_0x3eb95a([0x2e]));return _0x1f085d[_0x3eb95a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x596987=>_0x596987[_0x3eb95a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3eb95a([0x2a])))[_0x3eb95a([0x6d,0x61,0x70])](_0x152a70=>_0x152a70[_0x3eb95a([0x73,0x70,0x6c,0x69,0x74])](_0x3eb95a([0x2e])))[_0x3eb95a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30abb9=>_0x30abb9[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1517c6[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3eb95a([0x6d,0x61,0x70])](_0x162dac=>Array(_0x1517c6[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x162dac[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3eb95a([0x66,0x69,0x6c,0x6c])](_0x162dac[0x0]===_0x3eb95a([0x2a])?_0x3eb95a([0x2a]):'')[_0x3eb95a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x162dac))[_0x3eb95a([0x73,0x6f,0x6d,0x65])](_0x28f56d=>_0x1517c6[_0x3eb95a([0x65,0x76,0x65,0x72,0x79])]((_0x55b2d8,_0x478f33)=>_0x28f56d[_0x478f33]===_0x55b2d8||_0x28f56d[_0x478f33]===_0x3eb95a([0x2a])));}function _0xd28d61(){return _0x284ebb&&_0x8b5be2?new window[(_0x3eb95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e95d0,_0x5597a0)=>{_0x284ebb[_0x3eb95a([0x74,0x68,0x65,0x6e])](_0x3e95d0,_0x5597a0),_0x8b5be2[_0x3eb95a([0x74,0x68,0x65,0x6e])](_0x42a2cb=>{_0x42a2cb!=_0x3eb95a([0x56,0x61,0x6c,0x69,0x64])&&_0x3e95d0(_0x42a2cb);},_0x5597a0);}):_0x284ebb||_0x8b5be2||_0x3eb95a([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd8de42(_0x150466,_0x94c161){return new window[(_0x3eb95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58d620=>{if(_0x56f755())return _0x58d620(_0x3eb95a([0x56,0x61,0x6c,0x69,0x64]));_0x58adc3(),_0x1a1cd7[_0x3eb95a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3eb95a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5878dd=!0x1;const _0xa56c66=_0x235fca();function _0x5a91a9(_0x1f9f0b){return!!_0x1f9f0b&&(typeof _0x1f9f0b===_0x3eb95a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f9f0b===_0x3eb95a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f9f0b[_0x3eb95a([0x74,0x68,0x65,0x6e])]===_0x3eb95a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f9f0b[_0x3eb95a([0x63,0x61,0x74,0x63,0x68])]===_0x3eb95a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57d4e4(_0x271c6d){_0x308220(_0x271c6d)[_0x3eb95a([0x74,0x68,0x65,0x6e])](_0x304e92=>{if(!_0x304e92||_0x304e92[_0x3eb95a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3eb95a([0x6f,0x6b]))return _0x3eb95a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xbabbb8(_0x233b32(_0xa56c66+_0x94c161))!=_0x304e92[_0x3eb95a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3eb95a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3eb95a([0x56,0x61,0x6c,0x69,0x64]);})[_0x3eb95a([0x74,0x68,0x65,0x6e])](_0x881251=>(_0x9455f7(),_0x881251),()=>{const _0x85431=_0x38cdbd();return null==_0x85431?(_0x9455f7(),_0x3eb95a([0x56,0x61,0x6c,0x69,0x64])):_0x3eb95a(_0xa81e2d-_0x85431>(0x19f340e1^_0x173ca3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3eb95a([0x74,0x68,0x65,0x6e])](_0x58d620)[_0x3eb95a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58d620(_0x3eb95a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x150e19=0x3dc92a61^_0x173ca3;function _0x9455f7(){const _0x50bfd8=_0x3eb95a([0x6c,0x6c,0x63,0x74,0x2d])+_0xbabbb8(_0x233b32(_0x150466)),_0x336425=_0xf0be99(_0xbabbb8(window[_0x3eb95a([0x4d,0x61,0x74,0x68])][_0x3eb95a([0x63,0x65,0x69,0x6c])](_0xa81e2d/_0x150e19)));window[_0x3eb95a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3eb95a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50bfd8,_0x336425);}function _0x38cdbd(){const _0x3de511=_0x3eb95a([0x6c,0x6c,0x63,0x74,0x2d])+_0xbabbb8(_0x233b32(_0x150466)),_0xeb8da7=window[_0x3eb95a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3eb95a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3de511);return _0xeb8da7?window[_0x3eb95a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf0be99(_0xeb8da7),0x10)*_0x150e19:null;}function _0x308220(_0x4e793b){return new window[(_0x3eb95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52f784,_0x30658e)=>{_0x4e793b[_0x3eb95a([0x74,0x68,0x65,0x6e])](_0x52f784,_0x30658e),window[_0x3eb95a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30658e,0x3dfe1021^_0x173ca3);});}}_0x1a1cd7[_0x3eb95a([0x6f,0x6e])](_0x3eb95a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x59cf48,_0x213a6d)=>{if(_0x213a6d[0x0]!=_0x150466)return _0x58d620(_0x3eb95a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x213a6d[0x1]={..._0x213a6d[0x1],[_0x3eb95a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa56c66};},{[_0x3eb95a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3eb95a([0x68,0x69,0x67,0x68])}),_0x1a1cd7[_0x3eb95a([0x6f,0x6e])](_0x3eb95a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fed5a=>{_0x5a91a9(_0x4fed5a[_0x3eb95a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5878dd=!0x0,_0x57d4e4(_0x4fed5a[_0x3eb95a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3eb95a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3eb95a([0x6c,0x6f,0x77])}),_0x296f3f[_0x3eb95a([0x74,0x68,0x65,0x6e])](()=>{_0x5878dd||_0x58d620(_0x3eb95a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56f755(){return _0x1a1cd7[_0x3eb95a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3eb95a([0x76,0x69,0x65,0x77])][_0x3eb95a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3eb95a([0x61,0x75,0x74,0x6f]);}function _0x58adc3(){_0x1a1cd7[_0x3eb95a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3eb95a([0x76,0x69,0x65,0x77])][_0x3eb95a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3eb95a([0x61,0x75,0x74,0x6f]);}}function _0x21eb3e(_0x43b307){const _0x154684=[new window[(_0x3eb95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x566023=>setTimeout(_0x566023,0x3df6fa2d^_0x173ca3)),_0x296f3f[_0x3eb95a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3eb95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x259569=>{let _0x576191=0x0;_0x1a1cd7[_0x3eb95a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3eb95a([0x6f,0x6e])](_0x3eb95a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19a502,_0x2463ce)=>{_0x2463ce[0x0][_0x3eb95a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x576191++,_0x576191==(0x3dffc519^_0x173ca3)&&(_0x259569(),_0x19a502[_0x3eb95a([0x6f,0x66,0x66])]());});}))];return window[_0x3eb95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3eb95a([0x72,0x61,0x63,0x65])](_0x154684)[_0x3eb95a([0x74,0x68,0x65,0x6e])](()=>_0x43b307);}async function _0x151f23(){await _0x296f3f,_0x1a1cd7[_0x3eb95a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3eb95a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3cdcb3,_0x1a1cd7[_0x3eb95a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3eb95a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3cdcb3,_0x1a1cd7[_0x3eb95a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3eb95a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1abfe8(_0x5d163e){const _0x3fc534=_0x2574b0();_0x1a1cd7[_0x3fc534]=_0x3eb95a([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d163e,_0x5d163e!=_0x3eb95a([0x56,0x61,0x6c,0x69,0x64])&&_0x151f23();}function _0x2574b0(){const _0x5641f0=window[_0x3eb95a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3eb95a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3eb95a([0x6e,0x6f,0x77])]())[_0x3eb95a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3eb95a([0x2e]),'');let _0x59ac66=_0x3eb95a([0x6e]);for(let _0xe1b27=0x0;_0xe1b27<_0x5641f0[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe1b27+=0x2){let _0x359672=window[_0x3eb95a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5641f0[_0x3eb95a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe1b27,_0xe1b27+0x2));_0x359672>=_0x16a029[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x359672-=_0x16a029[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59ac66+=_0x16a029[_0x359672];}return _0x59ac66;}function _0x44584e(){const _0x1fa891=_0x1f854c[_0x3eb95a([0x73,0x70,0x6c,0x69,0x74])](_0x3eb95a([0x2e]));if(0x3!=_0x1fa891[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xab6204(_0x1fa891[0x1]);function _0xab6204(_0x20fb7b){const _0x29a232=_0x4354eb(_0x20fb7b);return _0x29a232&&_0x37cad2()?_0x29a232:null;function _0x37cad2(){const _0x18cd07=_0x29a232[_0x3eb95a([0x6a,0x74,0x69])],_0x24ce7f=window[_0x3eb95a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18cd07[_0x3eb95a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18cd07[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5f54bd={..._0x29a232,[_0x3eb95a([0x6a,0x74,0x69])]:_0x18cd07[_0x3eb95a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18cd07[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5f54bd[_0x3eb95a([0x76,0x63])],_0x233b32(_0x5f54bd)==_0x24ce7f;}}}async function _0x51a77a(){let _0x433e08=!0x0;try{const _0x50298=_0x1f854c[_0x3eb95a([0x73,0x70,0x6c,0x69,0x74])](_0x3eb95a([0x2e])),[_0x17575c,_0x481bfe,_0x2b3f4e]=_0x50298;return _0xa2b1b(_0x17575c),await _0x207340(_0x17575c,_0x481bfe,_0x2b3f4e),_0x433e08;}catch{return!0x1;}function _0xa2b1b(_0x5aca93){const _0x11a0b6=_0x4354eb(_0x5aca93);_0x11a0b6&&_0x11a0b6[_0x3eb95a([0x61,0x6c,0x67])]==_0x3eb95a([0x45,0x53,0x32,0x35,0x36])||(_0x433e08=!0x1);}async function _0x207340(_0x327b42,_0x58cbc5,_0x5f53af){const _0x885d97=window[_0x3eb95a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3eb95a([0x66,0x72,0x6f,0x6d])](_0x37bb72(_0x5f53af),_0x41875f=>_0x41875f[_0x3eb95a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a864f=new window[(_0x3eb95a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3eb95a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x327b42+_0x3eb95a([0x2e])+_0x58cbc5),_0x9e2e7=window[_0x3eb95a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3eb95a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9e2e7)return;const _0x28bbb1=await _0x9e2e7[_0x3eb95a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3eb95a([0x6a,0x77,0x6b]),_0x40c2bd,{[_0x3eb95a([0x6e,0x61,0x6d,0x65])]:_0x3eb95a([0x45,0x43,0x44,0x53,0x41]),[_0x3eb95a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3eb95a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3eb95a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9e2e7[_0x3eb95a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3eb95a([0x6e,0x61,0x6d,0x65])]:_0x3eb95a([0x45,0x43,0x44,0x53,0x41]),[_0x3eb95a([0x68,0x61,0x73,0x68])]:{[_0x3eb95a([0x6e,0x61,0x6d,0x65])]:_0x3eb95a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x28bbb1,_0x885d97,_0x5a864f)||(_0x433e08=!0x1);}}function _0x4354eb(_0x48ede6){return _0x48ede6[_0x3eb95a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3eb95a([0x65,0x79]))?JSON[_0x3eb95a([0x70,0x61,0x72,0x73,0x65])](_0x37bb72(_0x48ede6)):null;}function _0x37bb72(_0x88892){return window[_0x3eb95a([0x61,0x74,0x6f,0x62])](_0x88892[_0x3eb95a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3eb95a([0x2b]))[_0x3eb95a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3eb95a([0x2f])));}function _0x233b32(_0x191a86){let _0x36134f=0x1505;function _0xca3266(_0x922cea){for(let _0x34ea1a=0x0;_0x34ea1a<_0x922cea[_0x3eb95a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34ea1a++){const _0x45a72d=_0x922cea[_0x3eb95a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x34ea1a);_0x36134f=(_0x36134f<<0x5)+_0x36134f+_0x45a72d,_0x36134f&=_0x36134f;}}function _0x3650c3(_0x3ecf7f){Array[_0x3eb95a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ecf7f)?_0x3ecf7f[_0x3eb95a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3650c3):_0x3ecf7f&&typeof _0x3ecf7f==_0x3eb95a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3eb95a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ecf7f)[_0x3eb95a([0x73,0x6f,0x72,0x74])]()[_0x3eb95a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d2a41,_0x17d2fc])=>{_0xca3266(_0x1d2a41),_0x3650c3(_0x17d2fc);}):_0xca3266(window[_0x3eb95a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ecf7f));}return _0x3650c3(_0x191a86),_0x36134f>>>0x0;}function _0xbabbb8(_0x5ddb83){return _0x5ddb83[_0x3eb95a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3eb95a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3eb95a([0x30]));}function _0xf0be99(_0x317e68){return _0x317e68[_0x3eb95a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3eb95a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3eb95a([0x6a,0x6f,0x69,0x6e])]('');}function _0x3cdcb3(){}function _0x3eb95a(_0xd7e0e2){const _0x4d90f6=_0x489a;return _0xd7e0e2[_0x4d90f6(0x14d)](_0x3e4783=>String[_0x4d90f6(0x18a)](_0x3e4783))[_0x4d90f6(0x1b2)]('');}_0x1abfe8(await _0x30c20b());}(this);}[_0x32f59a(0x194)](){const _0x54da8d=_0x32f59a,_0x122a28=this[_0x54da8d(0x179)][_0x54da8d(0x16a)];_0x122a28[_0x54da8d(0x14a)](_0x531b1e=>{const _0x1f07d6=_0x54da8d,_0x45f106=_0x122a28[_0x1f07d6(0x171)][_0x1f07d6(0x176)][_0x1f07d6(0x160)]();let _0x18382e=0x0;for(const _0x1c458f of _0x45f106){const _0x3867ca=B+':'+_0x18382e;if(_0x122a28[_0x1f07d6(0x15e)][_0x1f07d6(0x149)](_0x3867ca))_0x531b1e[_0x1f07d6(0x163)](_0x3867ca,{'range':_0x1c458f});else{if(_0x1c458f[_0x1f07d6(0x193)][_0x1f07d6(0x185)]){const _0x5c4056=_0x1c458f[_0x1f07d6(0x193)][_0x1f07d6(0x1a3)](({item:_0x55ac2f})=>!_0x122a28[_0x1f07d6(0x18e)][_0x1f07d6(0x16f)](_0x55ac2f),{'boundaries':_0x1c458f});_0x531b1e[_0x1f07d6(0x151)](_0x3867ca,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x531b1e[_0x1f07d6(0x19b)](_0x5c4056,_0x1c458f[_0x1f07d6(0x177)])});}else _0x531b1e[_0x1f07d6(0x151)](_0x3867ca,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1c458f});}_0x18382e++;}});}[_0x32f59a(0x186)](){const _0x2d9da5=_0x32f59a,_0x5db9cd=this[_0x2d9da5(0x179)][_0x2d9da5(0x16a)],_0x51cb39=Array[_0x2d9da5(0x18c)](this[_0x2d9da5(0x179)][_0x2d9da5(0x16a)][_0x2d9da5(0x15e)][_0x2d9da5(0x1aa)](B));_0x51cb39[_0x2d9da5(0x1ae)]&&_0x5db9cd[_0x2d9da5(0x14a)](_0x1aaa6b=>{const _0xd488e=_0x2d9da5;_0x51cb39[_0xd488e(0x1a2)](_0x1ced5e=>{const _0x47000a=_0xd488e;_0x1aaa6b[_0x47000a(0x17c)](_0x1ced5e);});});}[_0x32f59a(0x16d)](_0x3cfd6d,_0xd956e9){const _0x4dd752=_0x32f59a,_0x33db7c=this[_0x4dd752(0x1a6)](),_0x10ffd3=_0xd956e9||_0x33db7c[_0x4dd752(0x175)]();this[_0x4dd752(0x179)][_0x4dd752(0x16a)][_0x4dd752(0x181)](_0x10ffd3)&&this[_0x4dd752(0x179)][_0x4dd752(0x16a)][_0x4dd752(0x14a)](_0x5198cc=>{const _0x8a2423=_0x4dd752;this[_0x8a2423(0x186)](),_0xd956e9||this[_0x8a2423(0x187)](_0x5198cc,_0x33db7c),this[_0x8a2423(0x192)]({'insertAt':_0x10ffd3,'writer':_0x5198cc,'html':_0x3cfd6d});});}[_0x32f59a(0x195)](_0x530782){const _0x358125=_0x32f59a,{model:_0x474b0f}=this[_0x358125(0x179)],_0x13a65a=this[_0x358125(0x1a6)]();_0x474b0f[_0x358125(0x14a)](()=>{const _0x1a88bc=_0x358125,_0x2eb38f=this[_0x1a88bc(0x18b)](_0x530782,_0x13a65a)||this[_0x1a88bc(0x150)](_0x13a65a);this[_0x1a88bc(0x16d)](_0x530782,_0x2eb38f);});}[_0x32f59a(0x1a6)](){const _0x38182e=_0x32f59a,_0x1d8e66=this[_0x38182e(0x179)][_0x38182e(0x16a)],_0x126780=Array[_0x38182e(0x18c)](_0x1d8e66[_0x38182e(0x15e)][_0x38182e(0x1aa)](B))[_0x38182e(0x14d)](_0x31a3bb=>_0x31a3bb[_0x38182e(0x1b0)]());return _0x1d8e66[_0x38182e(0x174)](_0x126780);}[_0x32f59a(0x192)]({writer:_0xef35f6,html:_0x6cda1e,insertAt:_0x4849e7}){const _0x316557=_0x32f59a,{view:_0x95dec1}=this[_0x316557(0x179)][_0x316557(0x1ad)],_0x2be440=this[_0x316557(0x179)][_0x316557(0x1a7)][_0x316557(0x183)](_0xe125ef),_0xa2c30c=new P();_0xa2c30c[_0x316557(0x164)](_0x316557(0x17a),_0x6cda1e);const _0x15dcc4=new ClipboardEvent(_0x316557(0x188),{'clipboardData':_0xa2c30c}),_0x40957f=new _0x3cca09(_0x95dec1,_0x15dcc4,{'dataTransfer':new _0x2a2038(_0xa2c30c)});_0xef35f6[_0x316557(0x15d)](_0x4849e7);const _0x2bdb84=(_0x5dd13a,_0x41b777)=>{const _0x44dc90=_0x316557;_0x41b777[_0x44dc90(0x146)]&&_0xef35f6[_0x44dc90(0x15d)](_0x41b777[_0x44dc90(0x146)]);};_0x2be440[_0x316557(0x17e)](_0x316557(0x155),_0x2bdb84,{'priority':_0x316557(0x172)}),_0x95dec1[_0x316557(0x171)][_0x316557(0x1b1)](_0x316557(0x188),_0x40957f),_0x2be440[_0x316557(0x18d)](_0x316557(0x155),_0x2bdb84);}[_0x32f59a(0x150)](_0x175ad1){const _0x30c975=_0x32f59a,{model:_0x40aa3c}=this[_0x30c975(0x179)],_0x5d427f=Array[_0x30c975(0x18c)](_0x175ad1[_0x30c975(0x191)]());return _0x5d427f[_0x30c975(0x1ae)]?_0x40aa3c[_0x30c975(0x145)](_0x5d427f[_0x30c975(0x17f)]()):_0x175ad1[_0x30c975(0x166)]();}[_0x32f59a(0x18b)](_0x4945cd,_0x420a26){const _0x3e086f=_0x32f59a,{model:_0x119e33,plugins:_0x55cade}=this[_0x3e086f(0x179)];if(_0x55cade[_0x3e086f(0x149)](_0x3e086f(0x14e))){const _0x2d3401=_0x55cade[_0x3e086f(0x183)](_0x3e086f(0x14e))[_0x3e086f(0x1ac)](_0x420a26);if(_0x2d3401[_0x3e086f(0x1ae)]){const _0x5414e3=this[_0x3e086f(0x14c)](_0x4945cd),_0xc2f0ee=this[_0x3e086f(0x16b)](_0x2d3401,_0x5414e3);return _0x119e33[_0x3e086f(0x198)](_0xc2f0ee,0x0);}}return null;}[_0x32f59a(0x14c)](_0x3db442){const _0x3453cd=_0x32f59a,_0x2aba5f=this[_0x3453cd(0x179)][_0x3453cd(0x1a7)][_0x3453cd(0x183)](_0x3453cd(0x14e)),_0x34b0de=this[_0x3453cd(0x179)][_0x3453cd(0x16c)][_0x3453cd(0x17b)](_0x3db442),_0x178ad0=Array[_0x3453cd(0x18c)](_0x34b0de[_0x3453cd(0x180)]())[_0x3453cd(0x19f)](_0x3b7cf0=>_0x3b7cf0['is'](_0x3453cd(0x14b),_0x3453cd(0x15b)));let _0x13cfc2=0x0;return _0x178ad0[_0x3453cd(0x1a2)](_0x433773=>{const _0x211637=_0x3453cd;_0x13cfc2+=_0x2aba5f[_0x211637(0x157)](_0x433773);}),_0x13cfc2;}[_0x32f59a(0x16b)](_0x4edebb,_0x241c9b){const _0x85f7cf=_0x32f59a,_0x2fa1ac=this[_0x85f7cf(0x179)][_0x85f7cf(0x1a7)][_0x85f7cf(0x183)](_0x85f7cf(0x14e)),_0xf99823=_0x2fa1ac[_0x85f7cf(0x178)](_0x4edebb),_0xa534b6=_0x2fa1ac[_0x85f7cf(0x19c)](_0x4edebb),_0x1b7a78=_0xf99823[_0x85f7cf(0x182)]+0x1,_0x256666=_0xa534b6[_0x85f7cf(0x156)],_0x1ff6fa=_0x4edebb[0x0][_0x85f7cf(0x158)](_0x85f7cf(0x15b));for(let _0x52f6ef=0x0;_0x52f6ef<_0x241c9b;_0x52f6ef++)_0x2fa1ac[_0x85f7cf(0x1a9)](_0x1ff6fa,{'at':_0x1b7a78});return _0x1ff6fa[_0x85f7cf(0x173)](_0x1b7a78)[_0x85f7cf(0x173)](_0x256666);}[_0x32f59a(0x187)](_0x586d3b,_0x5da4c7){const _0xa9e951=_0x32f59a,{plugins:_0x48488c}=this[_0xa9e951(0x179)],{model:_0x373c6c}=_0x586d3b;if(!_0x48488c[_0xa9e951(0x149)](_0xa9e951(0x14e)))return;_0x48488c[_0xa9e951(0x183)](_0xa9e951(0x14e))[_0xa9e951(0x1ac)](_0x5da4c7)[_0xa9e951(0x1ae)]&&_0x373c6c[_0xa9e951(0x184)](_0x5da4c7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4fc260=_0x554b;(function(_0x2fa468,_0x5272dd){const _0x2bb5e7=_0x554b,_0x4a0376=_0x2fa468();while(!![]){try{const _0x15d98a=-parseInt(_0x2bb5e7(0xe1))/0x1*(parseInt(_0x2bb5e7(0x10b))/0x2)+parseInt(_0x2bb5e7(0xee))/0x3+parseInt(_0x2bb5e7(0xb6))/0x4+parseInt(_0x2bb5e7(0xbd))/0x5+parseInt(_0x2bb5e7(0xb7))/0x6+parseInt(_0x2bb5e7(0xac))/0x7*(-parseInt(_0x2bb5e7(0xd0))/0x8)+-parseInt(_0x2bb5e7(0x120))/0x9*(parseInt(_0x2bb5e7(0xbb))/0xa);if(_0x15d98a===_0x5272dd)break;else _0x4a0376['push'](_0x4a0376['shift']());}catch(_0x1e5ef0){_0x4a0376['push'](_0x4a0376['shift']());}}}(_0x3c24,0xbce02));function _0x3c24(){const _0x27336b=['wasMoved','set','AI\x20is\x20writing','includes','ai.assistant.useTheme','aiLicenseKeyExpired','updatePosition','replace','_createAIAssistantUIButton','599HIdYPG','_aiAdapter','<p>','filter','change:isProcessing','groupLabel','buttons','componentFactory','aiLicenseKeyTrialLimit','insertContent','command:','media','ck-ai-commands-dropdown\x20','465969FIZHzZ','groupId','ai.assistant.contentAreaCssClass','evaluationLimit','</p>','requires','from','values','requiresContent','_onExecute','aiLicenseKeyEvaluationLimit','focus','render','rawHtml','change:enabledCommandsIds','execute','isOn','ai.assistant.disabledElements','AIAssistantUI','_dialog','_showLicenseError','isFlat','addMany','AI\x20Commands','usageLimit','destroy','AIAssistant','getSelectedBlocks','_populateMenuBarMenu','502spIvcr','items','DataTransfer','\x20ck-ai-assistant-ui_theme','length','isEnabled','delegate','_getMenuBarGroupButtons','listenTo','aiCommands','prompt','Error\x20during\x20AI\x20content\x20generation:\x20%0','expired','selection','_getResolvedCommandsDefinitions','queryView','text','invalid','add','menuBar:aiCommands','getSelectedElement','27NiIQmQ','isOfficialPlugin','config','_uiCssClasses','isPremiumPlugin','once','currentContext','Generated\x20content:\x20%0','domainLimit','label','view','updateView','announce','promptView','update','change:value','textAdapter','contentArea','ck-ai-assistant-ui','document','editing','showAIAssistant','show','licenseKey','errorView','menuPanelClass','aiAssistant','children','forEach','menuView','_aiAssistantController','comment','model','INSERT','ai-commands-config-order-collision','featureNotAllowed','bind','getRanges','ck-ai-assistant-button\x20','editor','aiLicenseKeyInvalid','_forceMarkersCopy','trim','tableOfContents','hideUI','push','setSelection','commands','copy','define','_initView','init','custom','schema','menuBar:aiAssistant','getLimitElement','pluginName','source','EDITOR_TOP_SIDE','REPLACE','7703171WYAFHl','change:isError','body','aiLicenseKeyUsageLimit','aiLicenseKeyValid','panelView','sort','locale','_formView','polite','3688696iclzgX','5569800xpqHSf','buttonView','order','_commandDefinitions','155970Lxgsco','plugins','327150tdIFYn','isCollapsed','reset','_initAriaAiStatusChangeAnnouncements','getData','showFakeVisualSelection','aiLicenseKeyDomainLimit','text/html','replaceContent','insertContentBelow','AI\x20Assistant','fieldView','trialLimit','hideFakeVisualSelection','map','_licenseKeyCheckInterval','change','hide','showUI','8sxOwcy','menuitemcheckbox','aiLicenseKeyNotAllowed','ai.assistant.commands','splice','fire','get','enabledCommandsIds'];_0x3c24=function(){return _0x27336b;};return _0x3c24();}import{Plugin as _0x215bb6}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3b6e5f,IconRobotPencil as _0x330c00}from'ckeditor5/src/icons.js';import{first as _0x268d70,CKEditorError as _0x43ac4a}from'ckeditor5/src/utils.js';import{createDropdown as _0x2d6c3b,addMenuToDropdown as _0xcb81fb,ButtonView as _0x1b95e6,MenuBarMenuListItemButtonView as _0x50462a,Dialog as _0x516c3e,DialogViewPosition as _0x28a7c7,MenuBarMenuView as _0x37c10b,MenuBarMenuListView as _0x27ccfd,MenuBarMenuListItemView as _0x39dd39}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x33c588,UNGROUPED_COMMANDS_GROUP_ID as _0x261017}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x571b40}from'./aiassistantediting.js';import{AIAdapter as _0x4b1a3a}from'./adapters/aiadapter.js';import{getTranslation as _0x5dda3e}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0xfab1a0}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x963771}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x23ca95}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2e6075}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const y=globalThis[_0x4fc260(0x10d)];import{ClipboardMarkersUtils as _0x260b1f}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x15da48,ViewDataTransfer as _0x138208}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x215bb6{[_0x4fc260(0x137)];[_0x4fc260(0xcc)];[_0x4fc260(0x101)];[_0x4fc260(0xb4)];[_0x4fc260(0xe2)];[_0x4fc260(0x13e)];[_0x4fc260(0x123)]='';static get[_0x4fc260(0xa8)](){const _0x52a049=_0x4fc260;return _0x52a049(0x100);}static get[_0x4fc260(0x121)](){return!0x0;}static get[_0x4fc260(0x124)](){return!0x0;}static get[_0x4fc260(0xf3)](){return[_0x260b1f,_0x571b40,_0x4b1a3a,_0x516c3e];}constructor(_0x442624){const _0x2059a6=_0x4fc260;super(_0x442624),_0x442624[_0x2059a6(0x122)][_0x2059a6(0xa1)](_0x2059a6(0xff),[_0x2059a6(0xec),_0x2059a6(0xfb),_0x2059a6(0x9b)]),_0x442624[_0x2059a6(0x122)][_0x2059a6(0xa1)](_0x2059a6(0xf0),''),_0x442624[_0x2059a6(0x122)][_0x2059a6(0xa1)](_0x2059a6(0xdc),!0x0),this[_0x2059a6(0x123)]=_0x2059a6(0x132)+(_0x442624[_0x2059a6(0x122)][_0x2059a6(0xd6)](_0x2059a6(0xdc))?_0x2059a6(0x10e):'');}[_0x4fc260(0xa3)](){const _0x230b3a=_0x4fc260,{editor:_0x54719d}=this;this[_0x230b3a(0xe2)]=_0x54719d[_0x230b3a(0xbc)][_0x230b3a(0xd6)](_0x4b1a3a),this[_0x230b3a(0x101)]=_0x54719d[_0x230b3a(0xbc)][_0x230b3a(0xd6)](_0x516c3e),this[_0x230b3a(0xb4)]=null,this[_0x230b3a(0xba)]=this[_0x230b3a(0x119)]();const _0x24f887=new _0xfab1a0(_0x54719d,Array[_0x230b3a(0xf4)](this[_0x230b3a(0xba)][_0x230b3a(0xf5)]()));_0x54719d[_0x230b3a(0x9f)][_0x230b3a(0x11d)](_0x230b3a(0x135),_0x24f887),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0x114),_0x37349e=>{const _0x46ea8d=_0x230b3a,_0x563a9a=_0x2d6c3b(_0x37349e);return _0x563a9a[_0x46ea8d(0xd9)]({'class':_0x46ea8d(0xed)+this[_0x46ea8d(0x123)]}),_0x563a9a[_0x46ea8d(0xb8)][_0x46ea8d(0xd9)]({'label':_0x5dda3e(_0x37349e,_0x46ea8d(0x105)),'icon':_0x3b6e5f,'tooltip':!0x0}),_0x563a9a['on'](_0x46ea8d(0xfd),_0x1d5a79=>this[_0x46ea8d(0xf7)](_0x1d5a79[_0x46ea8d(0xa9)]['id'])),_0xcb81fb(_0x563a9a,_0x54719d['ui'][_0x46ea8d(0x12a)][_0x46ea8d(0xae)],function(_0x575b75){const _0x36ba2a=_0x46ea8d,_0x51e6da=_0x33c588(_0x575b75[_0x36ba2a(0x122)][_0x36ba2a(0xd6)](_0x36ba2a(0xd3)),_0x575b75[_0x36ba2a(0xb3)]),_0x478506=O(_0x575b75,_0x51e6da)[_0x36ba2a(0xe4)](_0x4b80f4=>_0x4b80f4[_0x36ba2a(0x9f)][_0x36ba2a(0x10f)]);if(0x1===_0x478506[_0x36ba2a(0x10f)])return O(_0x575b75,_0x478506[0x0][_0x36ba2a(0x9f)])[_0x36ba2a(0xcb)](_0x3a3d73=>({'id':_0x3a3d73['id'],'label':_0x3a3d73[_0x36ba2a(0x129)]}));return _0x478506[_0x36ba2a(0xcb)](_0x1721a0=>{const _0x2f47ce=_0x36ba2a,{groupId:_0x1cf5ac,groupLabel:_0xe7525c,commands:_0xe9344d}=_0x1721a0,_0x42c96=O(_0x575b75,_0xe9344d)[_0x2f47ce(0xcb)](_0x2b8f68=>({'id':_0x2b8f68['id'],'label':_0x2b8f68[_0x2f47ce(0x129)]}));return{'id':_0x1cf5ac,'menu':_0xe7525c||_0x1cf5ac,'children':_0x42c96};});}(_0x54719d),{'ariaLabel':_0x5dda3e(_0x37349e,_0x46ea8d(0x105))}),_0x563a9a[_0x46ea8d(0x13d)][_0x46ea8d(0x139)]=_0x46ea8d(0xed)+this[_0x46ea8d(0x123)],_0x24f887['on'](_0x46ea8d(0xfc),_0x43d04d),_0x563a9a[_0x46ea8d(0x13d)][_0x46ea8d(0x125)](_0x46ea8d(0xfa),_0x43d04d),_0x563a9a;function _0x43d04d(){const _0x148943=_0x46ea8d;_0x563a9a[_0x148943(0x110)]=_0x24f887[_0x148943(0xd7)][_0x148943(0x10f)]>0x0;for(const _0x5f53ba of _0x563a9a[_0x148943(0x13d)][_0x148943(0xe7)])_0x5f53ba[_0x148943(0x110)]=_0x24f887[_0x148943(0xd7)][_0x148943(0xdb)](_0x5f53ba['id']);}}),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0x11e),_0x56082b=>{const _0x71aff2=_0x230b3a,_0x4e86ca=new _0x37c10b(_0x56082b);_0x4e86ca[_0x71aff2(0xb8)][_0x71aff2(0xd9)]({'label':_0x5dda3e(_0x56082b,_0x71aff2(0x105)),'icon':_0x3b6e5f}),_0x4e86ca[_0x71aff2(0x144)](_0x71aff2(0x110))['to'](_0x24f887,_0x71aff2(0xd7),_0x50ae56=>_0x50ae56[_0x71aff2(0x10f)]>0x0);const _0x2333fd=_0x33c588(_0x54719d[_0x71aff2(0x122)][_0x71aff2(0xd6)](_0x71aff2(0xd3)),_0x56082b);return this[_0x71aff2(0x10a)](_0x24f887,_0x4e86ca,_0x2333fd,_0x97f9e2=>this[_0x71aff2(0xf7)](_0x97f9e2)),_0x4e86ca;}),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0x13a),()=>{const _0x2174c9=_0x230b3a,_0xa89a33=this[_0x2174c9(0xe0)](_0x1b95e6);return _0xa89a33[_0x2174c9(0xd9)]({'tooltip':!0x0,'class':_0x2174c9(0x146)+this[_0x2174c9(0x123)]}),_0xa89a33;}),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0xa6),()=>{const _0x657b10=_0x230b3a,_0x146c8f=this[_0x657b10(0xe0)](_0x50462a);return _0x146c8f[_0x657b10(0xd9)]({'role':_0x657b10(0xd1)}),_0x146c8f;}),this[_0x230b3a(0x137)]=this[_0x230b3a(0x97)][_0x230b3a(0x122)][_0x230b3a(0xd6)](_0x230b3a(0x137));const _0x5e0cca=this[_0x230b3a(0x97)];this[_0x230b3a(0xcc)]=setInterval(()=>{const _0x33f550=_0x230b3a;let _0x5f5b5e;for(const _0x5593be in _0x5e0cca){const _0x17d1ca=_0x5593be,_0x7bbc5c=_0x5e0cca[_0x17d1ca];if(_0x33f550(0xb0)==_0x7bbc5c||_0x33f550(0x98)==_0x7bbc5c||_0x33f550(0xdd)==_0x7bbc5c||_0x33f550(0xc3)==_0x7bbc5c||_0x33f550(0xd2)==_0x7bbc5c||_0x33f550(0xf8)==_0x7bbc5c||_0x33f550(0xe9)==_0x7bbc5c||_0x33f550(0xaf)==_0x7bbc5c){delete _0x5e0cca[_0x17d1ca],_0x5f5b5e=_0x7bbc5c,clearInterval(this[_0x33f550(0xcc)]),this[_0x33f550(0xcc)]=void 0x0;break;}}_0x33f550(0x98)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x11c)),_0x33f550(0xdd)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x117)),_0x33f550(0xc3)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x128)),_0x33f550(0xd2)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x143),_0x33f550(0x108)),_0x33f550(0xf8)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0xf1)),_0x33f550(0xe9)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0xc9)),_0x33f550(0xaf)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x106));},0x3e8);}[_0x4fc260(0x107)](){const _0x478363=_0x4fc260;super[_0x478363(0x107)](),this[_0x478363(0xcc)]&&clearInterval(this[_0x478363(0xcc)]);}[_0x4fc260(0xcf)](_0x4ace33='',_0x28ee91='',_0x505dc8=_0x4fc260(0xa4)){const _0x4a13f9=_0x4fc260,_0x19fd3a=this[_0x4a13f9(0x97)],_0x579a41=_0x19fd3a[_0x4a13f9(0x134)][_0x4a13f9(0x12a)],_0x31edff=_0x19fd3a[_0x4a13f9(0xbc)][_0x4a13f9(0xd6)](_0x571b40),_0x30a70d=_0x19fd3a[_0x4a13f9(0xbc)][_0x4a13f9(0xd6)](_0x260b1f);_0x31edff[_0x4a13f9(0xc2)]();const _0x4b28f7=new y(),_0x584164=new ClipboardEvent(_0x4a13f9(0xa0),{'clipboardData':_0x4b28f7}),_0x302f6e=new _0x138208(_0x4b28f7),_0xa59ea7=new _0x15da48(_0x579a41,_0x584164,{'dataTransfer':_0x302f6e});_0x30a70d[_0x4a13f9(0x99)](_0x4a13f9(0x13f),()=>{const _0xf2fa3d=_0x4a13f9;_0x579a41[_0xf2fa3d(0x133)][_0xf2fa3d(0xd5)](_0xf2fa3d(0xa0),_0xa59ea7);}),this[_0x4a13f9(0xb4)]||(this[_0x4a13f9(0xa2)](),this[_0x4a13f9(0x13e)]=new _0x963771(_0x19fd3a,this[_0x4a13f9(0xe2)][_0x4a13f9(0x130)],this[_0x4a13f9(0xb4)]));let _0x4cb01f=_0x302f6e[_0x4a13f9(0xc1)](_0x4a13f9(0xc4));const _0x825789=_0x19fd3a[_0x4a13f9(0x140)][_0x4a13f9(0x133)][_0x4a13f9(0x118)],_0x505962=Array[_0x4a13f9(0xf4)](_0x825789[_0x4a13f9(0x145)]());0x1===_0x505962[_0x4a13f9(0x10f)]&&_0x505962[0x0][_0x4a13f9(0x103)]&&!_0x825789[_0x4a13f9(0x11f)]()&&''!==_0x4cb01f[_0x4a13f9(0xdf)](/ /g,'')[_0x4a13f9(0x9a)]()&&(_0x4cb01f=_0x4a13f9(0xe3)+_0x4cb01f+_0x4a13f9(0xf2)),this[_0x4a13f9(0x13e)][_0x4a13f9(0x12b)]({'actionId':_0x505dc8,'query':_0x4ace33,'htmlContent':_0x4cb01f,'label':_0x28ee91,'mainActionLabel':_0x2e6075[_0x19fd3a[_0x4a13f9(0x140)][_0x4a13f9(0x133)][_0x4a13f9(0x118)][_0x4a13f9(0xbe)]?_0x4a13f9(0x141):_0x4a13f9(0xab)]}),_0x4a13f9(0x13a)!==this[_0x4a13f9(0x101)]['id']?this[_0x4a13f9(0x101)][_0x4a13f9(0x136)]({'id':_0x4a13f9(0x13a),'icon':_0x330c00,'title':_0x5dda3e(this[_0x4a13f9(0x97)][_0x4a13f9(0xb3)],_0x4a13f9(0xc7)),'content':this[_0x4a13f9(0xb4)],'position':_0x28a7c7[_0x4a13f9(0xaa)],'onShow':()=>{const _0x46da7a=_0x4a13f9;this[_0x46da7a(0xb4)][_0x46da7a(0xf9)]();},'onHide':()=>{const _0x596fc8=_0x4a13f9;this[_0x596fc8(0x13e)][_0x596fc8(0xbf)](),_0x31edff[_0x596fc8(0xca)]();}}):this[_0x4a13f9(0x101)][_0x4a13f9(0x12a)][_0x4a13f9(0xd8)]||this[_0x4a13f9(0x101)][_0x4a13f9(0x12a)][_0x4a13f9(0xde)]();}[_0x4fc260(0x9c)](){const _0x298f8d=_0x4fc260;this[_0x298f8d(0x101)][_0x298f8d(0xce)]();}[_0x4fc260(0x119)](){const _0x2b8d00=_0x4fc260,_0xb6ee35=new Map(),_0x4c6812=_0x33c588(this[_0x2b8d00(0x97)][_0x2b8d00(0x122)][_0x2b8d00(0xd6)](_0x2b8d00(0xd3)),this[_0x2b8d00(0x97)][_0x2b8d00(0xb3)]);for(const _0x2a2054 of _0x4c6812)for(const _0x8fa8ad of _0x2a2054[_0x2b8d00(0x9f)])_0xb6ee35[_0x2b8d00(0xd9)](_0x8fa8ad['id'],{..._0x8fa8ad,'groupId':_0x2a2054[_0x2b8d00(0xef)],'groupLabel':_0x2a2054[_0x2b8d00(0xe6)]||_0x2a2054[_0x2b8d00(0xef)]});return _0xb6ee35;}[_0x4fc260(0xe0)](_0x404500){const _0x30565c=_0x4fc260,_0x414f5f=this[_0x30565c(0x97)],_0x877fde=_0x414f5f[_0x30565c(0x9f)][_0x30565c(0xd6)](_0x30565c(0x135)),_0x1c1aba=new _0x404500(_0x414f5f[_0x30565c(0xb3)]);return _0x1c1aba[_0x30565c(0xd9)]({'label':_0x5dda3e(_0x414f5f[_0x30565c(0xb3)],_0x30565c(0xc7)),'icon':_0x330c00,'isToggleable':!0x0}),_0x1c1aba[_0x30565c(0x144)](_0x30565c(0x110))['to'](_0x877fde),_0x1c1aba[_0x30565c(0x144)](_0x30565c(0xfe))['to'](this[_0x30565c(0x101)],'id',_0x9ddb52=>_0x30565c(0x13a)===_0x9ddb52),this[_0x30565c(0x113)](_0x1c1aba,_0x30565c(0xfd),()=>{const _0x51ea83=_0x30565c;_0x1c1aba[_0x51ea83(0xfe)]?this[_0x51ea83(0x9c)]():_0x877fde[_0x51ea83(0xfd)]();}),_0x1c1aba;}[_0x4fc260(0xa2)](){const _0x1c5fa3=_0x4fc260,_0x1cf978=this[_0x1c5fa3(0x97)][_0x1c5fa3(0xbc)][_0x1c5fa3(0xd6)](_0x571b40);this[_0x1c5fa3(0xb4)]=new _0x23ca95(this[_0x1c5fa3(0x97)][_0x1c5fa3(0xb3)],this[_0x1c5fa3(0x123)],this[_0x1c5fa3(0x97)][_0x1c5fa3(0x122)][_0x1c5fa3(0xd6)](_0x1c5fa3(0xf0))),this[_0x1c5fa3(0xb4)]['on'](_0x1c5fa3(0x12f),()=>{const _0x1cd9d8=_0x1c5fa3;this[_0x1cd9d8(0x101)][_0x1cd9d8(0x12a)][_0x1cd9d8(0xd8)]||this[_0x1cd9d8(0x101)][_0x1cd9d8(0x12a)][_0x1cd9d8(0xde)]();}),this[_0x1c5fa3(0xb4)][_0x1c5fa3(0x12d)][_0x1c5fa3(0x11a)][_0x1c5fa3(0xc8)]['on'](_0x1c5fa3(0x12e),()=>{const _0x80fe11=_0x1c5fa3;this[_0x80fe11(0x101)][_0x80fe11(0x12a)][_0x80fe11(0xd8)]||this[_0x80fe11(0x101)][_0x80fe11(0x12a)][_0x80fe11(0xde)]();}),this[_0x1c5fa3(0x113)](this[_0x1c5fa3(0xb4)],_0x1c5fa3(0xc5),()=>{const _0x460262=_0x1c5fa3;_0x1cf978[_0x460262(0xea)](this[_0x460262(0x13e)][_0x460262(0x126)]),this[_0x460262(0x9c)]();}),this[_0x1c5fa3(0x113)](this[_0x1c5fa3(0xb4)],_0x1c5fa3(0xc6),()=>{const _0x88e985=_0x1c5fa3;_0x1cf978[_0x88e985(0xc6)](this[_0x88e985(0x13e)][_0x88e985(0x126)]),this[_0x88e985(0x9c)]();}),this[_0x1c5fa3(0xc0)]();}[_0x4fc260(0xc0)](){const _0x3ec4f7=_0x4fc260,{locale:_0x3c6a5a,ui:{ariaLiveAnnouncer:_0x273fc0}}=this[_0x3ec4f7(0x97)];this[_0x3ec4f7(0xb4)][_0x3ec4f7(0x131)]['on'](_0x3ec4f7(0xe5),(_0x4787e7,_0x2e0e29,_0x350e4b)=>{const _0x27d997=_0x3ec4f7,_0x4da6af=this[_0x27d997(0x13e)][_0x27d997(0x126)];_0x350e4b?_0x273fc0[_0x27d997(0x12c)](_0x5dda3e(_0x3c6a5a,_0x27d997(0xda))):_0x4da6af&&_0x273fc0[_0x27d997(0x12c)](_0x5dda3e(_0x3c6a5a,_0x27d997(0x127),_0x4da6af),{'politeness':_0x27d997(0xb5),'isUnsafeHTML':!0x0});}),this[_0x3ec4f7(0xb4)]['on'](_0x3ec4f7(0xad),(_0xf44d61,_0x44c169,_0x3e3e6f)=>{const _0x305109=_0x3ec4f7;if(_0x3e3e6f){const _0x2102fd=this[_0x305109(0xb4)][_0x305109(0x138)][_0x305109(0x11b)];_0x273fc0[_0x305109(0x12c)](_0x5dda3e(_0x3c6a5a,_0x305109(0x116),_0x2102fd));}});}[_0x4fc260(0xf7)](_0x95ce35){const _0x3c7351=_0x4fc260,_0x31090e=this[_0x3c7351(0xba)][_0x3c7351(0xd6)](_0x95ce35),_0x31121e=this[_0x3c7351(0x97)],_0xccd785=_0x31121e[_0x3c7351(0x140)][_0x3c7351(0x133)][_0x3c7351(0x118)],_0x15dcc5=_0x31121e[_0x3c7351(0x9f)][_0x3c7351(0xd6)](_0x3c7351(0x135)),_0x149074=_0x31121e[_0x3c7351(0xbc)][_0x3c7351(0xd6)](_0x571b40),_0x41ae15=''+(_0x31090e[_0x3c7351(0xef)]!==_0x261017?_0x31090e[_0x3c7351(0xe6)]+':\x20':'')+_0x31090e[_0x3c7351(0x129)];if(!0x1!==_0x31090e[_0x3c7351(0xf6)]&&_0xccd785[_0x3c7351(0xbe)]){const _0x2caf86=_0x268d70(_0xccd785[_0x3c7351(0x109)]())||_0x31121e[_0x3c7351(0x140)][_0x3c7351(0xa5)][_0x3c7351(0xa7)](_0xccd785);_0x31121e[_0x3c7351(0x140)][_0x3c7351(0xcd)](_0xd4f00b=>{const _0x30c072=_0x3c7351;_0xd4f00b[_0x30c072(0x9e)](_0x2caf86,'in');});}_0x149074[_0x3c7351(0xc2)](),_0x15dcc5[_0x3c7351(0xfd)](_0x31090e[_0x3c7351(0x115)],_0x41ae15,_0x3c7351(0xeb)+_0x95ce35);}[_0x4fc260(0x10a)](_0x4439b0,_0x7df29c,_0x13855d,_0x5611a2){const _0x356d9f=_0x4fc260,_0x5d3e30=this[_0x356d9f(0x97)],_0x2eb4d4=_0x5d3e30[_0x356d9f(0xb3)],_0x562b94=new _0x27ccfd(_0x2eb4d4),_0x3a722e=O(_0x5d3e30,_0x13855d)[_0x356d9f(0xe4)](_0x5eb42d=>_0x5eb42d[_0x356d9f(0x9f)][_0x356d9f(0x10f)]);0x1===_0x3a722e[_0x356d9f(0x10f)]?this[_0x356d9f(0x112)]({'command':_0x4439b0,'commands':_0x3a722e[0x0][_0x356d9f(0x9f)],'parentMenuView':_0x7df29c,'onExecute':_0x5611a2})[_0x356d9f(0x13c)](_0x322162=>_0x562b94[_0x356d9f(0x10c)][_0x356d9f(0x11d)](_0x322162)):_0x3a722e[_0x356d9f(0x13c)](({groupId:_0x1d473f,groupLabel:_0x261bc2,commands:_0x52a091})=>{const _0x219358=_0x356d9f,_0x13c1be=new _0x39dd39(_0x2eb4d4,_0x7df29c),_0x4e9b27=new _0x37c10b(_0x2eb4d4),_0x56d765=new _0x27ccfd(_0x2eb4d4),_0xd5880d=this[_0x219358(0x112)]({'command':_0x4439b0,'commands':_0x52a091,'parentMenuView':_0x4e9b27,'onExecute':_0x5611a2});_0x4e9b27[_0x219358(0xb8)][_0x219358(0xd9)]({'label':_0x261bc2||_0x1d473f}),_0x4e9b27[_0x219358(0x111)](_0x219358(0xfd))['to'](_0x7df29c),_0x56d765[_0x219358(0x10c)][_0x219358(0x104)](_0xd5880d),_0x4e9b27[_0x219358(0xb1)][_0x219358(0x13b)][_0x219358(0x11d)](_0x56d765),_0x13c1be[_0x219358(0x13b)][_0x219358(0x11d)](_0x4e9b27),_0x562b94[_0x219358(0x10c)][_0x219358(0x11d)](_0x13c1be);}),_0x7df29c[_0x356d9f(0xb1)][_0x356d9f(0x13b)][_0x356d9f(0x11d)](_0x562b94);}[_0x4fc260(0x112)]({command:_0x1beacb,commands:_0x477021,parentMenuView:_0x5d0811,onExecute:_0x2d702c}){const _0xd450de=_0x4fc260,_0x4a7a75=this[_0xd450de(0x97)],_0x21ad99=_0x4a7a75[_0xd450de(0xb3)];return O(_0x4a7a75,_0x477021)[_0xd450de(0xcb)](_0x5ec005=>{const _0x5ee373=_0xd450de,_0x56ed7e=new _0x39dd39(_0x21ad99,_0x5d0811),_0x1fb777=new _0x50462a(_0x21ad99);return _0x1fb777[_0x5ee373(0xd9)]({'label':_0x5ec005[_0x5ee373(0x129)]}),_0x1fb777[_0x5ee373(0x111)](_0x5ee373(0xfd))['to'](_0x5d0811),_0x1fb777['on'](_0x5ee373(0xfd),()=>_0x2d702c(_0x5ec005['id'])),_0x1fb777[_0x5ee373(0x144)](_0x5ee373(0x110))['to'](_0x1beacb,_0x5ee373(0xd7),_0x31358c=>_0x31358c[_0x5ee373(0xdb)](_0x5ec005['id'])),_0x56ed7e[_0x5ee373(0x13b)][_0x5ee373(0x11d)](_0x1fb777),_0x56ed7e;});}}function _0x554b(_0x45268b,_0xbf99c8){const _0x3c2464=_0x3c24();return _0x554b=function(_0x554bd2,_0x20aee1){_0x554bd2=_0x554bd2-0x97;let _0x2f3157=_0x3c2464[_0x554bd2];return _0x2f3157;},_0x554b(_0x45268b,_0xbf99c8);}function H(_0x118f22,_0x2093d0){const _0x2a1bfe=_0x4fc260;return void 0x0!==_0x118f22[_0x2a1bfe(0xb9)]&&void 0x0===_0x2093d0[_0x2a1bfe(0xb9)]?0x1:void 0x0===_0x118f22[_0x2a1bfe(0xb9)]&&void 0x0!==_0x2093d0[_0x2a1bfe(0xb9)]?-0x1:void 0x0!==_0x118f22[_0x2a1bfe(0xb9)]&&void 0x0!==_0x2093d0[_0x2a1bfe(0xb9)]?_0x118f22[_0x2a1bfe(0xb9)]-_0x2093d0[_0x2a1bfe(0xb9)]:0x0;}function O(_0x593a0c,_0x2ef2c6){const _0x32092a=_0x4fc260;_0x2ef2c6[_0x32092a(0xb2)](H);const _0xd9484e={},_0x3ea6c0=[];for(const _0x4d0e89 of _0x2ef2c6)if(void 0x0!==_0x4d0e89[_0x32092a(0xb9)]){if(_0x4d0e89[_0x32092a(0xb9)]in _0xd9484e)throw new _0x43ac4a(_0x32092a(0x142),_0x593a0c,{'conflictingDefinitions':[_0x4d0e89,_0xd9484e[_0x4d0e89[_0x32092a(0xb9)]]]});_0xd9484e[_0x4d0e89[_0x32092a(0xb9)]]=_0x4d0e89,_0x3ea6c0[_0x32092a(0xd4)](_0x4d0e89[_0x32092a(0xb9)],0x0,_0x4d0e89);}else _0x3ea6c0[_0x32092a(0x9d)](_0x4d0e89);return _0x3ea6c0;}
|
|
23
|
+
const _0x2ef7fb=_0x1600;(function(_0x4f0c3e,_0x1239cc){const _0x3b46ba=_0x1600,_0x4d9720=_0x4f0c3e();while(!![]){try{const _0x1aeba9=parseInt(_0x3b46ba(0xea))/0x1+parseInt(_0x3b46ba(0xf2))/0x2+-parseInt(_0x3b46ba(0xee))/0x3*(parseInt(_0x3b46ba(0x173))/0x4)+parseInt(_0x3b46ba(0x11a))/0x5*(-parseInt(_0x3b46ba(0x124))/0x6)+parseInt(_0x3b46ba(0x18f))/0x7+-parseInt(_0x3b46ba(0x13c))/0x8+parseInt(_0x3b46ba(0x183))/0x9*(parseInt(_0x3b46ba(0x141))/0xa);if(_0x1aeba9===_0x1239cc)break;else _0x4d9720['push'](_0x4d9720['shift']());}catch(_0x282130){_0x4d9720['push'](_0x4d9720['shift']());}}}(_0x4c59,0xc2bcb));import{Plugin as _0x4b3f77}from'ckeditor5/src/core.js';import{IconMagicWand as _0xefc77,IconRobotPencil as _0x191338}from'ckeditor5/src/icons.js';import{first as _0x41aa28,CKEditorError as _0x4b305a}from'ckeditor5/src/utils.js';import{createDropdown as _0x342b96,addMenuToDropdown as _0x5888a6,ButtonView as _0x5daa49,MenuBarMenuListItemButtonView as _0x114a25,Dialog as _0xbe266d,DialogViewPosition as _0x46922f,MenuBarMenuView as _0x1903ad,MenuBarMenuListView as _0x1bb969,MenuBarMenuListItemView as _0x492d88}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x424dbd,UNGROUPED_COMMANDS_GROUP_ID as _0x2888fd}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x406304}from'./aiassistantediting.js';import{AIAdapter as _0x1bbfec}from'./adapters/aiadapter.js';import{getTranslation as _0x36475b}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0xaf110}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x120e30}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x2b4869}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x163173}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';function _0x4c59(){const _0x50c1b5=['_getMenuBarGroupButtons','document','isOn','plugins','filter','fire','_createAIAssistantUIButton','isOfficialPlugin','ck-ai-assistant-ui','includes','insertContentBelow','<p>','aiLicenseKeyEvaluationLimit','isFlat','change','promptView','menuBar:aiAssistant','\x20ck-ai-assistant-ui_theme','aiLicenseKeyNotAllowed','queryView','textAdapter','_commandDefinitions','getSelectedElement','Generated\x20content:\x20%0','map','_getResolvedCommandsDefinitions','10070lkRDIX','command:','custom','once','domainLimit','config','ai.assistant.commands','showUI','length','tableOfContents','870oeuRnN','AIAssistantUI','hide','REPLACE','_dialog','change:isProcessing','menuBar:aiCommands','usageLimit','contentArea','buttons','setSelection','aiLicenseKeyUsageLimit','requiresContent','announce','expired','reset','licenseKey','_aiAssistantController','_initView','ck-ai-commands-dropdown\x20','getData','getLimitElement','destroy','polite','9074448KDaLyG','editor','fieldView','rawHtml','getSelectedBlocks','10TOAcJW','getRanges','showAIAssistant','AI\x20Assistant','AI\x20is\x20writing','evaluationLimit','_licenseKeyCheckInterval','schema','pluginName','ai.assistant.useTheme','Error\x20during\x20AI\x20content\x20generation:\x20%0','body','enabledCommandsIds','aiLicenseKeyTrialLimit','INSERT','requires','ai.assistant.contentAreaCssClass','showFakeVisualSelection','items','change:value','DataTransfer','from','editing','menuPanelClass','AI\x20Commands','updatePosition','comment','aiLicenseKeyDomainLimit','EDITOR_TOP_SIDE','menuView','aiLicenseKeyExpired','isEnabled','_uiCssClasses','init','text','label','trim','add','push','_forceMarkersCopy','_populateMenuBarMenu','aiCommands','render','currentContext','aiLicenseKeyValid','view','_onExecute','wasMoved','commands','ai.assistant.disabledElements','1620ofWrzl','isCollapsed','_initAriaAiStatusChangeAnnouncements','groupLabel','ai-commands-config-order-collision','sort','</p>','copy','source','delegate','text/html','show','listenTo','componentFactory','execute','insertContent','15323112FufbZY','values','change:isError','splice','locale','get','_aiAdapter','errorView','_showLicenseError','children','aiLicenseKeyInvalid','update','3935365ueGBJs','bind','selection','_formView','menuitemcheckbox','forEach','define','aiAssistant','set','order','isPremiumPlugin','429092VaSNDG','model','trialLimit','hideUI','9582BEDqRP','featureNotAllowed','ck-ai-assistant-button\x20','replaceContent','1647388bTZqyf','groupId','buttonView','AIAssistant','invalid','media','change:enabledCommandsIds','prompt','updateView','replace','hideFakeVisualSelection','focus','addMany','panelView'];_0x4c59=function(){return _0x50c1b5;};return _0x4c59();}import'../../theme/aiassistant/ai-form.css';const P=globalThis[_0x2ef7fb(0x155)];import{ClipboardMarkersUtils as _0x4cab05}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1ac5e9,ViewDataTransfer as _0x56ef1a}from'ckeditor5/src/engine.js';function _0x1600(_0x106200,_0x1d6087){const _0x4c59f5=_0x4c59();return _0x1600=function(_0x160057,_0x5bd738){_0x160057=_0x160057-0xe7;let _0x16d161=_0x4c59f5[_0x160057];return _0x16d161;},_0x1600(_0x106200,_0x1d6087);}export class AIAssistantUI extends _0x4b3f77{[_0x2ef7fb(0x134)];[_0x2ef7fb(0x147)];[_0x2ef7fb(0x128)];[_0x2ef7fb(0x192)];[_0x2ef7fb(0x189)];[_0x2ef7fb(0x135)];[_0x2ef7fb(0x161)]='';static get[_0x2ef7fb(0x149)](){const _0x59cab4=_0x2ef7fb;return _0x59cab4(0x125);}static get[_0x2ef7fb(0x107)](){return!0x0;}static get[_0x2ef7fb(0xe9)](){return!0x0;}static get[_0x2ef7fb(0x150)](){return[_0x4cab05,_0x406304,_0x1bbfec,_0xbe266d];}constructor(_0x5a80b3){const _0x3a2590=_0x2ef7fb;super(_0x5a80b3),_0x5a80b3[_0x3a2590(0x11f)][_0x3a2590(0x195)](_0x3a2590(0x172),[_0x3a2590(0xf7),_0x3a2590(0x13f),_0x3a2590(0x123)]),_0x5a80b3[_0x3a2590(0x11f)][_0x3a2590(0x195)](_0x3a2590(0x151),''),_0x5a80b3[_0x3a2590(0x11f)][_0x3a2590(0x195)](_0x3a2590(0x14a),!0x0),this[_0x3a2590(0x161)]=_0x3a2590(0x108)+(_0x5a80b3[_0x3a2590(0x11f)][_0x3a2590(0x188)](_0x3a2590(0x14a))?_0x3a2590(0x111):'');}[_0x2ef7fb(0x162)](){const _0x4c58a1=_0x2ef7fb,{editor:_0x43e48f}=this;this[_0x4c58a1(0x189)]=_0x43e48f[_0x4c58a1(0x103)][_0x4c58a1(0x188)](_0x1bbfec),this[_0x4c58a1(0x128)]=_0x43e48f[_0x4c58a1(0x103)][_0x4c58a1(0x188)](_0xbe266d),this[_0x4c58a1(0x192)]=null,this[_0x4c58a1(0x115)]=this[_0x4c58a1(0x119)]();const _0xdb1e2c=new _0xaf110(_0x43e48f,Array[_0x4c58a1(0x156)](this[_0x4c58a1(0x115)][_0x4c58a1(0x184)]()));_0x43e48f[_0x4c58a1(0x171)][_0x4c58a1(0x166)](_0x4c58a1(0x143),_0xdb1e2c),_0x43e48f['ui'][_0x4c58a1(0x180)][_0x4c58a1(0x166)](_0x4c58a1(0x16a),_0x34ff40=>{const _0x3e7de5=_0x4c58a1,_0x3c7cd1=_0x342b96(_0x34ff40);return _0x3c7cd1[_0x3e7de5(0xe7)]({'class':_0x3e7de5(0x137)+this[_0x3e7de5(0x161)]}),_0x3c7cd1[_0x3e7de5(0xf4)][_0x3e7de5(0xe7)]({'label':_0x36475b(_0x34ff40,_0x3e7de5(0x159)),'icon':_0xefc77,'tooltip':!0x0}),_0x3c7cd1['on'](_0x3e7de5(0x181),_0x66724c=>this[_0x3e7de5(0x16f)](_0x66724c[_0x3e7de5(0x17b)]['id'])),_0x5888a6(_0x3c7cd1,_0x43e48f['ui'][_0x3e7de5(0x16e)][_0x3e7de5(0x14c)],function(_0x1678e7){const _0x481597=_0x3e7de5,_0x34265e=_0x424dbd(_0x1678e7[_0x481597(0x11f)][_0x481597(0x188)](_0x481597(0x120)),_0x1678e7[_0x481597(0x187)]),_0x27cf66=ii(_0x1678e7,_0x34265e)[_0x481597(0x104)](_0x344724=>_0x344724[_0x481597(0x171)][_0x481597(0x122)]);if(0x1===_0x27cf66[_0x481597(0x122)])return ii(_0x1678e7,_0x27cf66[0x0][_0x481597(0x171)])[_0x481597(0x118)](_0x34cf4f=>({'id':_0x34cf4f['id'],'label':_0x34cf4f[_0x481597(0x164)]}));return _0x27cf66[_0x481597(0x118)](_0x2edf42=>{const _0x2544c5=_0x481597,{groupId:_0x586ae4,groupLabel:_0x9735ad,commands:_0x2fe651}=_0x2edf42,_0x166456=ii(_0x1678e7,_0x2fe651)[_0x2544c5(0x118)](_0x1faa88=>({'id':_0x1faa88['id'],'label':_0x1faa88[_0x2544c5(0x164)]}));return{'id':_0x586ae4,'menu':_0x9735ad||_0x586ae4,'children':_0x166456};});}(_0x43e48f),{'ariaLabel':_0x36475b(_0x34ff40,_0x3e7de5(0x159))}),_0x3c7cd1[_0x3e7de5(0x15e)][_0x3e7de5(0x158)]=_0x3e7de5(0x137)+this[_0x3e7de5(0x161)],_0xdb1e2c['on'](_0x3e7de5(0xf8),_0x36b9f9),_0x3c7cd1[_0x3e7de5(0x15e)][_0x3e7de5(0x11d)](_0x3e7de5(0x16b),_0x36b9f9),_0x3c7cd1;function _0x36b9f9(){const _0x308e6b=_0x3e7de5;_0x3c7cd1[_0x308e6b(0x160)]=_0xdb1e2c[_0x308e6b(0x14d)][_0x308e6b(0x122)]>0x0;for(const _0x166737 of _0x3c7cd1[_0x308e6b(0x15e)][_0x308e6b(0x12d)])_0x166737[_0x308e6b(0x160)]=_0xdb1e2c[_0x308e6b(0x14d)][_0x308e6b(0x109)](_0x166737['id']);}}),_0x43e48f['ui'][_0x4c58a1(0x180)][_0x4c58a1(0x166)](_0x4c58a1(0x12a),_0x3080a5=>{const _0xb4a8a2=_0x4c58a1,_0x3b16f1=new _0x1903ad(_0x3080a5);_0x3b16f1[_0xb4a8a2(0xf4)][_0xb4a8a2(0xe7)]({'label':_0x36475b(_0x3080a5,_0xb4a8a2(0x159)),'icon':_0xefc77}),_0x3b16f1[_0xb4a8a2(0x190)](_0xb4a8a2(0x160))['to'](_0xdb1e2c,_0xb4a8a2(0x14d),_0x4313b9=>_0x4313b9[_0xb4a8a2(0x122)]>0x0);const _0x1ac5d0=_0x424dbd(_0x43e48f[_0xb4a8a2(0x11f)][_0xb4a8a2(0x188)](_0xb4a8a2(0x120)),_0x3080a5);return this[_0xb4a8a2(0x169)](_0xdb1e2c,_0x3b16f1,_0x1ac5d0,_0x3cdcbf=>this[_0xb4a8a2(0x16f)](_0x3cdcbf)),_0x3b16f1;}),_0x43e48f['ui'][_0x4c58a1(0x180)][_0x4c58a1(0x166)](_0x4c58a1(0x196),()=>{const _0x4a8d21=_0x4c58a1,_0x1c1f05=this[_0x4a8d21(0x106)](_0x5daa49);return _0x1c1f05[_0x4a8d21(0xe7)]({'tooltip':!0x0,'class':_0x4a8d21(0xf0)+this[_0x4a8d21(0x161)]}),_0x1c1f05;}),_0x43e48f['ui'][_0x4c58a1(0x180)][_0x4c58a1(0x166)](_0x4c58a1(0x110),()=>{const _0x4d48d4=_0x4c58a1,_0xf88674=this[_0x4d48d4(0x106)](_0x114a25);return _0xf88674[_0x4d48d4(0xe7)]({'role':_0x4d48d4(0x193)}),_0xf88674;}),this[_0x4c58a1(0x134)]=this[_0x4c58a1(0x13d)][_0x4c58a1(0x11f)][_0x4c58a1(0x188)](_0x4c58a1(0x134));const _0x3502c7=this[_0x4c58a1(0x13d)];this[_0x4c58a1(0x147)]=setInterval(()=>{const _0x3632db=_0x4c58a1;let _0x366c11;for(const _0x4b6889 in _0x3502c7){const _0x23e7c3=_0x4b6889,_0x448962=_0x3502c7[_0x23e7c3];if(_0x3632db(0x16d)==_0x448962||_0x3632db(0x18d)==_0x448962||_0x3632db(0x15f)==_0x448962||_0x3632db(0x15c)==_0x448962||_0x3632db(0x112)==_0x448962||_0x3632db(0x10c)==_0x448962||_0x3632db(0x14e)==_0x448962||_0x3632db(0x12f)==_0x448962){delete _0x3502c7[_0x23e7c3],_0x366c11=_0x448962,clearInterval(this[_0x3632db(0x147)]),this[_0x3632db(0x147)]=void 0x0;break;}}_0x3632db(0x18d)==_0x366c11&&_0x3502c7[_0x3632db(0x18b)](_0x3632db(0xf6)),_0x3632db(0x15f)==_0x366c11&&_0x3502c7[_0x3632db(0x18b)](_0x3632db(0x132)),_0x3632db(0x15c)==_0x366c11&&_0x3502c7[_0x3632db(0x18b)](_0x3632db(0x11e)),_0x3632db(0x112)==_0x366c11&&_0x3502c7[_0x3632db(0x18b)](_0x3632db(0xef),_0x3632db(0xf5)),_0x3632db(0x10c)==_0x366c11&&_0x3502c7[_0x3632db(0x18b)](_0x3632db(0x146)),_0x3632db(0x14e)==_0x366c11&&_0x3502c7[_0x3632db(0x18b)](_0x3632db(0xec)),_0x3632db(0x12f)==_0x366c11&&_0x3502c7[_0x3632db(0x18b)](_0x3632db(0x12b));},0x3e8);}[_0x2ef7fb(0x13a)](){const _0x8db97e=_0x2ef7fb;super[_0x8db97e(0x13a)](),this[_0x8db97e(0x147)]&&clearInterval(this[_0x8db97e(0x147)]);}[_0x2ef7fb(0x121)](_0x123f6d='',_0x4a84db='',_0x1791b1=_0x2ef7fb(0x11c)){const _0x4cf06f=_0x2ef7fb,_0x5c3a2a=this[_0x4cf06f(0x13d)],_0x1f0f02=_0x5c3a2a[_0x4cf06f(0x157)][_0x4cf06f(0x16e)],_0x357bcc=_0x5c3a2a[_0x4cf06f(0x103)][_0x4cf06f(0x188)](_0x406304),_0x58f61e=_0x5c3a2a[_0x4cf06f(0x103)][_0x4cf06f(0x188)](_0x4cab05);_0x357bcc[_0x4cf06f(0x152)]();const _0x4edd31=new P(),_0x12fb78=new ClipboardEvent(_0x4cf06f(0x17a),{'clipboardData':_0x4edd31}),_0x600453=new _0x56ef1a(_0x4edd31),_0x56634d=new _0x1ac5e9(_0x1f0f02,_0x12fb78,{'dataTransfer':_0x600453});_0x58f61e[_0x4cf06f(0x168)](_0x4cf06f(0x15b),()=>{const _0x39c542=_0x4cf06f;_0x1f0f02[_0x39c542(0x101)][_0x39c542(0x105)](_0x39c542(0x17a),_0x56634d);}),this[_0x4cf06f(0x192)]||(this[_0x4cf06f(0x136)](),this[_0x4cf06f(0x135)]=new _0x120e30(_0x5c3a2a,this[_0x4cf06f(0x189)][_0x4cf06f(0x114)],this[_0x4cf06f(0x192)]));let _0x2708fd=_0x600453[_0x4cf06f(0x138)](_0x4cf06f(0x17d));const _0xda76d1=_0x5c3a2a[_0x4cf06f(0xeb)][_0x4cf06f(0x101)][_0x4cf06f(0x191)],_0x10f23a=Array[_0x4cf06f(0x156)](_0xda76d1[_0x4cf06f(0x142)]());0x1===_0x10f23a[_0x4cf06f(0x122)]&&_0x10f23a[0x0][_0x4cf06f(0x10d)]&&!_0xda76d1[_0x4cf06f(0x116)]()&&''!==_0x2708fd[_0x4cf06f(0xfb)](/ /g,'')[_0x4cf06f(0x165)]()&&(_0x2708fd=_0x4cf06f(0x10b)+_0x2708fd+_0x4cf06f(0x179)),this[_0x4cf06f(0x135)][_0x4cf06f(0xfa)]({'actionId':_0x1791b1,'query':_0x123f6d,'htmlContent':_0x2708fd,'label':_0x4a84db,'mainActionLabel':_0x163173[_0x5c3a2a[_0x4cf06f(0xeb)][_0x4cf06f(0x101)][_0x4cf06f(0x191)][_0x4cf06f(0x174)]?_0x4cf06f(0x14f):_0x4cf06f(0x127)]}),_0x4cf06f(0x196)!==this[_0x4cf06f(0x128)]['id']?this[_0x4cf06f(0x128)][_0x4cf06f(0x17e)]({'id':_0x4cf06f(0x196),'icon':_0x191338,'title':_0x36475b(this[_0x4cf06f(0x13d)][_0x4cf06f(0x187)],_0x4cf06f(0x144)),'content':this[_0x4cf06f(0x192)],'position':_0x46922f[_0x4cf06f(0x15d)],'onShow':()=>{const _0x5970fe=_0x4cf06f;this[_0x5970fe(0x192)][_0x5970fe(0xfd)]();},'onHide':()=>{const _0xbe17f1=_0x4cf06f;this[_0xbe17f1(0x135)][_0xbe17f1(0x133)](),_0x357bcc[_0xbe17f1(0xfc)]();}}):this[_0x4cf06f(0x128)][_0x4cf06f(0x16e)][_0x4cf06f(0x170)]||this[_0x4cf06f(0x128)][_0x4cf06f(0x16e)][_0x4cf06f(0x15a)]();}[_0x2ef7fb(0xed)](){const _0x2ce08e=_0x2ef7fb;this[_0x2ce08e(0x128)][_0x2ce08e(0x126)]();}[_0x2ef7fb(0x119)](){const _0x344dff=_0x2ef7fb,_0x1a9ab2=new Map(),_0x54848d=_0x424dbd(this[_0x344dff(0x13d)][_0x344dff(0x11f)][_0x344dff(0x188)](_0x344dff(0x120)),this[_0x344dff(0x13d)][_0x344dff(0x187)]);for(const _0x533c57 of _0x54848d)for(const _0x2f6bfc of _0x533c57[_0x344dff(0x171)])_0x1a9ab2[_0x344dff(0xe7)](_0x2f6bfc['id'],{..._0x2f6bfc,'groupId':_0x533c57[_0x344dff(0xf3)],'groupLabel':_0x533c57[_0x344dff(0x176)]||_0x533c57[_0x344dff(0xf3)]});return _0x1a9ab2;}[_0x2ef7fb(0x106)](_0x6a8ca0){const _0xfd04c2=_0x2ef7fb,_0x33b773=this[_0xfd04c2(0x13d)],_0x3cc3a0=_0x33b773[_0xfd04c2(0x171)][_0xfd04c2(0x188)](_0xfd04c2(0x143)),_0x49d763=new _0x6a8ca0(_0x33b773[_0xfd04c2(0x187)]);return _0x49d763[_0xfd04c2(0xe7)]({'label':_0x36475b(_0x33b773[_0xfd04c2(0x187)],_0xfd04c2(0x144)),'icon':_0x191338,'isToggleable':!0x0}),_0x49d763[_0xfd04c2(0x190)](_0xfd04c2(0x160))['to'](_0x3cc3a0),_0x49d763[_0xfd04c2(0x190)](_0xfd04c2(0x102))['to'](this[_0xfd04c2(0x128)],'id',_0x2fb90e=>_0xfd04c2(0x196)===_0x2fb90e),this[_0xfd04c2(0x17f)](_0x49d763,_0xfd04c2(0x181),()=>{const _0x49ef8c=_0xfd04c2;_0x49d763[_0x49ef8c(0x102)]?this[_0x49ef8c(0xed)]():_0x3cc3a0[_0x49ef8c(0x181)]();}),_0x49d763;}[_0x2ef7fb(0x136)](){const _0x5eb4c7=_0x2ef7fb,_0x3db928=this[_0x5eb4c7(0x13d)][_0x5eb4c7(0x103)][_0x5eb4c7(0x188)](_0x406304);this[_0x5eb4c7(0x192)]=new _0x2b4869(this[_0x5eb4c7(0x13d)][_0x5eb4c7(0x187)],this[_0x5eb4c7(0x161)],this[_0x5eb4c7(0x13d)][_0x5eb4c7(0x11f)][_0x5eb4c7(0x188)](_0x5eb4c7(0x151))),this[_0x5eb4c7(0x192)]['on'](_0x5eb4c7(0x154),()=>{const _0x438cd0=_0x5eb4c7;this[_0x438cd0(0x128)][_0x438cd0(0x16e)][_0x438cd0(0x170)]||this[_0x438cd0(0x128)][_0x438cd0(0x16e)][_0x438cd0(0x15a)]();}),this[_0x5eb4c7(0x192)][_0x5eb4c7(0x10f)][_0x5eb4c7(0x113)][_0x5eb4c7(0x13e)]['on'](_0x5eb4c7(0x18e),()=>{const _0x46987c=_0x5eb4c7;this[_0x46987c(0x128)][_0x46987c(0x16e)][_0x46987c(0x170)]||this[_0x46987c(0x128)][_0x46987c(0x16e)][_0x46987c(0x15a)]();}),this[_0x5eb4c7(0x17f)](this[_0x5eb4c7(0x192)],_0x5eb4c7(0xf1),()=>{const _0x18668a=_0x5eb4c7;_0x3db928[_0x18668a(0x182)](this[_0x18668a(0x135)][_0x18668a(0x16c)]),this[_0x18668a(0xed)]();}),this[_0x5eb4c7(0x17f)](this[_0x5eb4c7(0x192)],_0x5eb4c7(0x10a),()=>{const _0x4e6d29=_0x5eb4c7;_0x3db928[_0x4e6d29(0x10a)](this[_0x4e6d29(0x135)][_0x4e6d29(0x16c)]),this[_0x4e6d29(0xed)]();}),this[_0x5eb4c7(0x175)]();}[_0x2ef7fb(0x175)](){const _0x25478b=_0x2ef7fb,{locale:_0x2a9a37,ui:{ariaLiveAnnouncer:_0x5bcb05}}=this[_0x25478b(0x13d)];this[_0x25478b(0x192)][_0x25478b(0x12c)]['on'](_0x25478b(0x129),(_0x648ea1,_0x333fbb,_0x301496)=>{const _0x4915ab=_0x25478b,_0x4fdd77=this[_0x4915ab(0x135)][_0x4915ab(0x16c)];_0x301496?_0x5bcb05[_0x4915ab(0x131)](_0x36475b(_0x2a9a37,_0x4915ab(0x145))):_0x4fdd77&&_0x5bcb05[_0x4915ab(0x131)](_0x36475b(_0x2a9a37,_0x4915ab(0x117),_0x4fdd77),{'politeness':_0x4915ab(0x13b),'isUnsafeHTML':!0x0});}),this[_0x25478b(0x192)]['on'](_0x25478b(0x185),(_0x574eab,_0x4e5029,_0xbc22cb)=>{const _0x12f2f2=_0x25478b;if(_0xbc22cb){const _0x2af07b=this[_0x12f2f2(0x192)][_0x12f2f2(0x18a)][_0x12f2f2(0x163)];_0x5bcb05[_0x12f2f2(0x131)](_0x36475b(_0x2a9a37,_0x12f2f2(0x14b),_0x2af07b));}});}[_0x2ef7fb(0x16f)](_0x1a7280){const _0x32b622=_0x2ef7fb,_0x53ae36=this[_0x32b622(0x115)][_0x32b622(0x188)](_0x1a7280),_0x127512=this[_0x32b622(0x13d)],_0x4aad37=_0x127512[_0x32b622(0xeb)][_0x32b622(0x101)][_0x32b622(0x191)],_0x12cfb0=_0x127512[_0x32b622(0x171)][_0x32b622(0x188)](_0x32b622(0x143)),_0x5f1053=_0x127512[_0x32b622(0x103)][_0x32b622(0x188)](_0x406304),_0x5b1ead=''+(_0x53ae36[_0x32b622(0xf3)]!==_0x2888fd?_0x53ae36[_0x32b622(0x176)]+':\x20':'')+_0x53ae36[_0x32b622(0x164)];if(!0x1!==_0x53ae36[_0x32b622(0x130)]&&_0x4aad37[_0x32b622(0x174)]){const _0x8d420=_0x41aa28(_0x4aad37[_0x32b622(0x140)]())||_0x127512[_0x32b622(0xeb)][_0x32b622(0x148)][_0x32b622(0x139)](_0x4aad37);_0x127512[_0x32b622(0xeb)][_0x32b622(0x10e)](_0x262aeb=>{const _0x125f82=_0x32b622;_0x262aeb[_0x125f82(0x12e)](_0x8d420,'in');});}_0x5f1053[_0x32b622(0x152)](),_0x12cfb0[_0x32b622(0x181)](_0x53ae36[_0x32b622(0xf9)],_0x5b1ead,_0x32b622(0x11b)+_0x1a7280);}[_0x2ef7fb(0x169)](_0x28dff9,_0x4d6269,_0x220f60,_0xb5e5cf){const _0x7be094=_0x2ef7fb,_0x327530=this[_0x7be094(0x13d)],_0x2bbd9c=_0x327530[_0x7be094(0x187)],_0x3a7c3e=new _0x1bb969(_0x2bbd9c),_0x56cbee=ii(_0x327530,_0x220f60)[_0x7be094(0x104)](_0x18b9f1=>_0x18b9f1[_0x7be094(0x171)][_0x7be094(0x122)]);0x1===_0x56cbee[_0x7be094(0x122)]?this[_0x7be094(0x100)]({'command':_0x28dff9,'commands':_0x56cbee[0x0][_0x7be094(0x171)],'parentMenuView':_0x4d6269,'onExecute':_0xb5e5cf})[_0x7be094(0x194)](_0x1c9a68=>_0x3a7c3e[_0x7be094(0x153)][_0x7be094(0x166)](_0x1c9a68)):_0x56cbee[_0x7be094(0x194)](({groupId:_0x232e16,groupLabel:_0x1adbbb,commands:_0xb1f4e7})=>{const _0x5387b0=_0x7be094,_0x3fdb61=new _0x492d88(_0x2bbd9c,_0x4d6269),_0x322abb=new _0x1903ad(_0x2bbd9c),_0x27f78b=new _0x1bb969(_0x2bbd9c),_0xea955=this[_0x5387b0(0x100)]({'command':_0x28dff9,'commands':_0xb1f4e7,'parentMenuView':_0x322abb,'onExecute':_0xb5e5cf});_0x322abb[_0x5387b0(0xf4)][_0x5387b0(0xe7)]({'label':_0x1adbbb||_0x232e16}),_0x322abb[_0x5387b0(0x17c)](_0x5387b0(0x181))['to'](_0x4d6269),_0x27f78b[_0x5387b0(0x153)][_0x5387b0(0xfe)](_0xea955),_0x322abb[_0x5387b0(0xff)][_0x5387b0(0x18c)][_0x5387b0(0x166)](_0x27f78b),_0x3fdb61[_0x5387b0(0x18c)][_0x5387b0(0x166)](_0x322abb),_0x3a7c3e[_0x5387b0(0x153)][_0x5387b0(0x166)](_0x3fdb61);}),_0x4d6269[_0x7be094(0xff)][_0x7be094(0x18c)][_0x7be094(0x166)](_0x3a7c3e);}[_0x2ef7fb(0x100)]({command:_0x41b107,commands:_0x4c38de,parentMenuView:_0x582e01,onExecute:_0x35d49b}){const _0x5f4084=_0x2ef7fb,_0x528d82=this[_0x5f4084(0x13d)],_0x1da59d=_0x528d82[_0x5f4084(0x187)];return ii(_0x528d82,_0x4c38de)[_0x5f4084(0x118)](_0x439e6b=>{const _0x708b87=_0x5f4084,_0xa4f069=new _0x492d88(_0x1da59d,_0x582e01),_0x28ac3c=new _0x114a25(_0x1da59d);return _0x28ac3c[_0x708b87(0xe7)]({'label':_0x439e6b[_0x708b87(0x164)]}),_0x28ac3c[_0x708b87(0x17c)](_0x708b87(0x181))['to'](_0x582e01),_0x28ac3c['on'](_0x708b87(0x181),()=>_0x35d49b(_0x439e6b['id'])),_0x28ac3c[_0x708b87(0x190)](_0x708b87(0x160))['to'](_0x41b107,_0x708b87(0x14d),_0x377333=>_0x377333[_0x708b87(0x109)](_0x439e6b['id'])),_0xa4f069[_0x708b87(0x18c)][_0x708b87(0x166)](_0x28ac3c),_0xa4f069;});}}function Z(_0x22544e,_0x46df33){const _0x8ab89b=_0x2ef7fb;return void 0x0!==_0x22544e[_0x8ab89b(0xe8)]&&void 0x0===_0x46df33[_0x8ab89b(0xe8)]?0x1:void 0x0===_0x22544e[_0x8ab89b(0xe8)]&&void 0x0!==_0x46df33[_0x8ab89b(0xe8)]?-0x1:void 0x0!==_0x22544e[_0x8ab89b(0xe8)]&&void 0x0!==_0x46df33[_0x8ab89b(0xe8)]?_0x22544e[_0x8ab89b(0xe8)]-_0x46df33[_0x8ab89b(0xe8)]:0x0;}function ii(_0x31ed13,_0x14c6f7){const _0x1e501e=_0x2ef7fb;_0x14c6f7[_0x1e501e(0x178)](Z);const _0x3f6ad3={},_0x568c57=[];for(const _0x2c0045 of _0x14c6f7)if(void 0x0!==_0x2c0045[_0x1e501e(0xe8)]){if(_0x2c0045[_0x1e501e(0xe8)]in _0x3f6ad3)throw new _0x4b305a(_0x1e501e(0x177),_0x31ed13,{'conflictingDefinitions':[_0x2c0045,_0x3f6ad3[_0x2c0045[_0x1e501e(0xe8)]]]});_0x3f6ad3[_0x2c0045[_0x1e501e(0xe8)]]=_0x2c0045,_0x568c57[_0x1e501e(0x186)](_0x2c0045[_0x1e501e(0xe8)],0x0,_0x2c0045);}else _0x568c57[_0x1e501e(0x167)](_0x2c0045);return _0x568c57;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x335689,_0x1a5069){var _0x3f4e62=_0x3f0f,_0x2d2a42=_0x335689();while(!![]){try{var _0x3e7384=-parseInt(_0x3f4e62(0x1b0))/0x1*(-parseInt(_0x3f4e62(0x1a7))/0x2)+-parseInt(_0x3f4e62(0x1ae))/0x3+parseInt(_0x3f4e62(0x1b1))/0x4+-parseInt(_0x3f4e62(0x1af))/0x5*(parseInt(_0x3f4e62(0x1a8))/0x6)+-parseInt(_0x3f4e62(0x1a6))/0x7*(parseInt(_0x3f4e62(0x1a9))/0x8)+parseInt(_0x3f4e62(0x1ac))/0x9*(parseInt(_0x3f4e62(0x1ab))/0xa)+parseInt(_0x3f4e62(0x1ad))/0xb*(parseInt(_0x3f4e62(0x1aa))/0xc);if(_0x3e7384===_0x1a5069)break;else _0x2d2a42['push'](_0x2d2a42['shift']());}catch(_0x40642a){_0x2d2a42['push'](_0x2d2a42['shift']());}}}(_0x5f36,0xc47e1));function _0x3f0f(_0x116096,_0x304da7){var _0x5f3639=_0x5f36();return _0x3f0f=function(_0x3f0f93,_0x248914){_0x3f0f93=_0x3f0f93-0x1a6;var _0x1fb620=_0x5f3639[_0x3f0f93];return _0x1fb620;},_0x3f0f(_0x116096,_0x304da7);}function _0x5f36(){var _0x23bcaa=['843717ocXLsC','4924iobpeA','678VCccfx','16rQdPIK','116580ZPrwnV','284660fPqydY','18LUCbmo','1023SuiKCN','3125055hqBsTR','3205XMlFGX','48lzdVKe','4325640mIcixu'];_0x5f36=function(){return _0x23bcaa;};return _0x5f36();}import{CKEditorError as _0x1cf20a}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x114a(){const _0x514b19=['_parseAndNormalizeContent','get','set','clear','reset','initialContext','push','serializeToString','config','view','837133nLnVlE','custom','ELEMENT_NODE','message','from','endsWith','textAdapter','previousActionId','54TEqEBk','_xmlSerializer','nodeType','isRendered','editor','makeRequest','listenTo','stopProcessing','_normalizeResponseHeadings','_sanitizeHTML','_domParser','ai.assistant.preserveComments','match','value','abort','remove','catch','destroy','name','_sanitizationContainer','data','body','previousQuery','editing','currentContext','toView','```','stringify','trim','currentResponse','processor','_stripMarkdownSyntax','submitPrompt','prompt','previousLabel','set:currentContext','element','rename','viewToDom','exec','innerHTML','text/html','isProcessing','finishProcessing','951265iTdglx','once','reverse','updateView','50OwAkGf','160232lKnoDY','document','querySelector','_isH1TagSupportEnabled','748MEaPHp','childNodes','substring','markers','startProcessing','mainAction','setContentOf','htmlProcessor','1iGygqC','278374Cwhbao','stopListening','finally','then','div','startsWith','531975ajHFOT','tryAgainEvent','length','<h1></h1>','toModel','render','parseFromString','_handleQuery','domConverter','handleError','2285QDnrVv','createElement','```html','previousContext','750768RBMXsD'];_0x114a=function(){return _0x514b19;};return _0x114a();}const _0x40442e=_0x3cf9;(function(_0x5479e3,_0x4ed2bd){const _0x142c50=_0x3cf9,_0x36193a=_0x5479e3();while(!![]){try{const _0x4c66e1=parseInt(_0x142c50(0x16b))/0x1*(-parseInt(_0x142c50(0x16c))/0x2)+-parseInt(_0x142c50(0x172))/0x3+parseInt(_0x142c50(0x163))/0x4*(-parseInt(_0x142c50(0x17c))/0x5)+-parseInt(_0x142c50(0x180))/0x6+parseInt(_0x142c50(0x15a))/0x7+parseInt(_0x142c50(0x15f))/0x8*(parseInt(_0x142c50(0x193))/0x9)+-parseInt(_0x142c50(0x15e))/0xa*(-parseInt(_0x142c50(0x18b))/0xb);if(_0x4c66e1===_0x4ed2bd)break;else _0x36193a['push'](_0x36193a['shift']());}catch(_0x496272){_0x36193a['push'](_0x36193a['shift']());}}}(_0x114a,0x1abad));import{ObservableMixin as _0x507bb7}from'ckeditor5/src/utils.js';function _0x3cf9(_0x22e048,_0x571162){const _0x114abb=_0x114a();return _0x3cf9=function(_0x3cf969,_0x52bdde){_0x3cf969=_0x3cf969-0x140;let _0x586b31=_0x114abb[_0x3cf969];return _0x586b31;},_0x3cf9(_0x22e048,_0x571162);}import{AIRequestError as _0x3efa62}from'../adapters/aiadapter.js';import{Matcher as _0x3f4f38,ViewUpcastWriter as _0x5b33da}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x507bb7(){[_0x40442e(0x197)];[_0x40442e(0x191)];[_0x40442e(0x18a)];[_0x40442e(0x141)];[_0x40442e(0x19d)];[_0x40442e(0x194)];constructor(_0x1ebfa5,_0x50dde1,_0x36f5f8){const _0x393521=_0x40442e;super(),this[_0x393521(0x197)]=_0x1ebfa5,this[_0x393521(0x191)]=_0x50dde1,this[_0x393521(0x141)]=document[_0x393521(0x17d)](_0x393521(0x170)),this[_0x393521(0x19d)]=new DOMParser(),this[_0x393521(0x194)]=new XMLSerializer(),this[_0x393521(0x18a)]=_0x36f5f8,this[_0x393521(0x183)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x393521(0x151),(_0x4a90c6,_0x4a247d,_0x552beb)=>{const _0x4cde62=_0x393521;this[_0x4cde62(0x18a)][_0x4cde62(0x1a0)]=this[_0x4cde62(0x19c)](_0x552beb);}),this[_0x393521(0x199)](this[_0x393521(0x18a)],_0x393521(0x14e),(_0x26f953,_0x1fc4fe)=>{const _0x14bc64=_0x393521,_0x590ac9=this[_0x14bc64(0x146)]||this[_0x14bc64(0x186)];this[_0x14bc64(0x179)](_0x1fc4fe,_0x590ac9,_0x14bc64(0x18c));}),this[_0x393521(0x199)](this[_0x393521(0x18a)],_0x393521(0x173),()=>{const _0x277599=_0x393521;this[_0x277599(0x18a)][_0x277599(0x14f)]=this[_0x277599(0x150)],this[_0x277599(0x179)](this[_0x277599(0x144)],this[_0x277599(0x17f)],this[_0x277599(0x192)],this[_0x277599(0x150)]);}),this[_0x393521(0x199)](this[_0x393521(0x18a)],_0x393521(0x19a),()=>{const _0x5d0c40=_0x393521;this[_0x5d0c40(0x19a)]();});}[_0x40442e(0x1a4)](){const _0x20844e=_0x40442e;this[_0x20844e(0x16d)]();}async[_0x40442e(0x15d)]({actionId:_0x338a11,query:_0xd4c966,htmlContent:_0x5ab99a,label:_0x5871dd,mainActionLabel:_0x321b8a}){const _0x3bd615=_0x40442e;this[_0x3bd615(0x18a)][_0x3bd615(0x14f)]=_0x5871dd,this[_0x3bd615(0x18a)][_0x3bd615(0x168)]=_0x321b8a,this[_0x3bd615(0x186)]=_0x5ab99a,_0xd4c966&&(this[_0x3bd615(0x18a)][_0x3bd615(0x196)]?this[_0x3bd615(0x179)](_0xd4c966,_0x5ab99a,_0x338a11,_0x5871dd):this[_0x3bd615(0x18a)][_0x3bd615(0x15b)](_0x3bd615(0x177),()=>{const _0x40d558=_0x3bd615;this[_0x40d558(0x179)](_0xd4c966,_0x5ab99a,_0x338a11,_0x5871dd);}));}[_0x40442e(0x19a)](){const _0x1a0ced=_0x40442e;this[_0x1a0ced(0x158)]&&(this[_0x1a0ced(0x158)]=!0x1,this[_0x1a0ced(0x18a)][_0x1a0ced(0x159)](),this[_0x1a0ced(0x191)][_0x1a0ced(0x1a1)]());}[_0x40442e(0x185)](){const _0x4b076e=_0x40442e;this[_0x4b076e(0x186)]='',this[_0x4b076e(0x146)]='',this[_0x4b076e(0x14b)]='',this[_0x4b076e(0x17f)]='',this[_0x4b076e(0x144)]='',this[_0x4b076e(0x150)]='',this[_0x4b076e(0x192)]=void 0x0,this[_0x4b076e(0x18a)][_0x4b076e(0x185)](),this[_0x4b076e(0x19a)]();}async[_0x40442e(0x179)](_0x23241e,_0xb66d5f,_0x1d84a8,_0x1cec8b){const _0xc01ece=_0x40442e;return this[_0xc01ece(0x158)]=!0x0,this[_0xc01ece(0x18a)][_0xc01ece(0x167)](),this[_0xc01ece(0x17f)]=_0xb66d5f,this[_0xc01ece(0x144)]=_0x23241e,this[_0xc01ece(0x150)]=_0x1cec8b||_0x23241e,this[_0xc01ece(0x192)]=_0x1d84a8,new Promise(_0x28d6e8=>{const _0x134eea=_0xc01ece;this[_0x134eea(0x191)][_0x134eea(0x198)]({'query':_0x23241e,'context':_0xb66d5f,'onData':_0x1a4e6d=>{const _0x20560b=_0x134eea;this[_0x20560b(0x14b)]=_0x1a4e6d,this[_0x20560b(0x146)]=this[_0x20560b(0x181)](this[_0x20560b(0x14b)]);},'actionId':_0x1d84a8})[_0x134eea(0x16f)](()=>{const _0x501b4d=_0x134eea;!this[_0x501b4d(0x146)]&&this[_0x501b4d(0x14b)]&&(this[_0x501b4d(0x146)]=this[_0x501b4d(0x181)](this[_0x501b4d(0x14b)],!0x0));})[_0x134eea(0x1a3)](_0x19125c=>{const _0x5623ba=_0x134eea;_0x19125c instanceof _0x3efa62?this[_0x5623ba(0x18a)][_0x5623ba(0x17b)](_0x19125c[_0x5623ba(0x18e)]):this[_0x5623ba(0x18a)][_0x5623ba(0x17b)](),_0x28d6e8();})[_0x134eea(0x16e)](()=>{const _0x428ede=_0x134eea;this[_0x428ede(0x19a)](),_0x28d6e8();});});}[_0x40442e(0x181)](_0x3c2485,_0x530332=!0x1){const _0x16a893=_0x40442e,_0x3e8d0e=hs[_0x16a893(0x155)](_0x3c2485);_0x3c2485=_0x3e8d0e?_0x3c2485[_0x16a893(0x165)](_0x3e8d0e[0x1][_0x16a893(0x174)]):_0x3c2485[_0x16a893(0x174)]<0x64&&!_0x530332?'':this[_0x16a893(0x14d)](_0x3c2485);const _0x1fefd1=this[_0x16a893(0x19d)][_0x16a893(0x178)](_0x3c2485,_0x16a893(0x157));if(_0x3e8d0e){const _0xe15e31=Array[_0x16a893(0x18f)](_0x1fefd1[_0x16a893(0x143)][_0x16a893(0x164)]);_0xe15e31[_0x16a893(0x15c)]();for(const _0x3b6d28 of _0xe15e31){if(_0x3b6d28[_0x16a893(0x195)]==Node[_0x16a893(0x18d)])break;_0x3b6d28[_0x16a893(0x1a2)]();}}const _0x50e9da=this[_0x16a893(0x197)][_0x16a893(0x142)][_0x16a893(0x14c)][_0x16a893(0x147)](this[_0x16a893(0x194)][_0x16a893(0x188)](_0x1fefd1[_0x16a893(0x143)]));this[_0x16a893(0x162)]()||this[_0x16a893(0x19b)](_0x50e9da);const _0xb85bc4=this[_0x16a893(0x197)][_0x16a893(0x189)][_0x16a893(0x182)](_0x16a893(0x19e)),_0x4fe440=this[_0x16a893(0x197)][_0x16a893(0x142)][_0x16a893(0x176)](_0x50e9da);return _0xb85bc4||_0x4fe440[_0x16a893(0x166)][_0x16a893(0x184)](),this[_0x16a893(0x197)][_0x16a893(0x142)][_0x16a893(0x149)](_0x4fe440);}[_0x40442e(0x19b)](_0x30a773){const _0x164ae9=_0x40442e,_0x534ac0=new _0x5b33da(this[_0x164ae9(0x197)][_0x164ae9(0x145)][_0x164ae9(0x18a)][_0x164ae9(0x160)]),_0x597a07=new _0x3f4f38({'name':/^h[1-5]$/}),_0x377f1a=[];let _0x1341e2=!0x1;for(const _0x2025e7 of _0x30a773)_0x2025e7['is'](_0x164ae9(0x152))&&_0x597a07[_0x164ae9(0x19f)](_0x2025e7)&&(_0x377f1a[_0x164ae9(0x187)](_0x2025e7),'h1'==_0x2025e7[_0x164ae9(0x140)]&&(_0x1341e2=!0x0));if(_0x1341e2){for(const _0x31833b of _0x377f1a)_0x534ac0[_0x164ae9(0x153)]('h'+(parseInt(_0x31833b[_0x164ae9(0x140)][0x1])+0x1),_0x31833b);}}[_0x40442e(0x162)](){const _0x5821ec=_0x40442e,{data:_0x14af05,editing:_0x27a4c1}=this[_0x5821ec(0x197)],_0x26ab41=_0x14af05[_0x5821ec(0x16a)][_0x5821ec(0x147)](_0x5821ec(0x175)),_0x213d85=_0x14af05[_0x5821ec(0x147)](_0x14af05[_0x5821ec(0x176)](_0x26ab41));return!!_0x27a4c1[_0x5821ec(0x18a)][_0x5821ec(0x17a)][_0x5821ec(0x154)](_0x213d85)[_0x5821ec(0x161)]('h1');}[_0x40442e(0x19c)](_0x26fc4d){const _0x2e44c6=_0x40442e;return this[_0x2e44c6(0x197)][_0x2e44c6(0x145)][_0x2e44c6(0x18a)][_0x2e44c6(0x17a)][_0x2e44c6(0x169)](this[_0x2e44c6(0x141)],_0x26fc4d),this[_0x2e44c6(0x141)][_0x2e44c6(0x156)];}[_0x40442e(0x14d)](_0xce43fc){const _0x5699d2=_0x40442e,_0x222be2=_0xce43fc[_0x5699d2(0x14a)]();return _0x222be2[_0x5699d2(0x171)](_0x5699d2(0x17e))?_0x222be2[_0x5699d2(0x190)](_0x5699d2(0x148))?_0x222be2[_0x5699d2(0x165)](0x7,_0x222be2[_0x5699d2(0x174)]-0x3):_0x222be2[_0x5699d2(0x165)](0x7):_0xce43fc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x116367=_0x2dd2;(function(_0xf65a0a,_0x2f8b29){const _0xa2b933=_0x2dd2,_0x9b87c6=_0xf65a0a();while(!![]){try{const _0x2d70fe=-parseInt(_0xa2b933(0x119))/0x1+parseInt(_0xa2b933(0x134))/0x2*(-parseInt(_0xa2b933(0x145))/0x3)+parseInt(_0xa2b933(0x113))/0x4*(-parseInt(_0xa2b933(0x123))/0x5)+parseInt(_0xa2b933(0x143))/0x6+parseInt(_0xa2b933(0x11f))/0x7+parseInt(_0xa2b933(0x118))/0x8+parseInt(_0xa2b933(0x112))/0x9;if(_0x2d70fe===_0x2f8b29)break;else _0x9b87c6['push'](_0x9b87c6['shift']());}catch(_0x43fb7b){_0x9b87c6['push'](_0x9b87c6['shift']());}}}(_0x396c,0xe8d3a));function _0x2dd2(_0x2b312c,_0x3e98d2){const _0x396c07=_0x396c();return _0x2dd2=function(_0x2dd278,_0xcd8c69){_0x2dd278=_0x2dd278-0x10b;let _0x11b15b=_0x396c07[_0x2dd278];return _0x11b15b;},_0x2dd2(_0x2b312c,_0x3e98d2);}import{global as _0xfeb3c2}from'ckeditor5/src/utils.js';import{View as _0x4a4455,ButtonView as _0x578454,SpinnerView as _0x273673}from'ckeditor5/src/ui.js';import{IconCheck as _0x77d689,IconCopy as _0x232acf}from'ckeditor5/src/icons.js';import{getTranslation as _0x196af1}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x4a4455{[_0x116367(0x146)];[_0x116367(0x153)];constructor(_0x4f4118,_0x376b9c=''){const _0x2cb2e9=_0x116367;super(_0x4f4118),this[_0x2cb2e9(0x137)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x272457=this[_0x2cb2e9(0x12e)];this[_0x2cb2e9(0x146)]=new ContentFieldView(_0x4f4118,_0x376b9c),this[_0x2cb2e9(0x153)]=this[_0x2cb2e9(0x13a)](),this[_0x2cb2e9(0x15b)]({'tag':_0x2cb2e9(0x12d),'attributes':{'class':['ck',_0x2cb2e9(0x132),_0x272457['if'](_0x2cb2e9(0x10b),_0x2cb2e9(0x11b),_0x5b6675=>!_0x5b6675)],'tabindex':'-1'},'children':[{'tag':_0x2cb2e9(0x12d),'attributes':{'class':['ck',_0x2cb2e9(0x140),_0x272457['if'](_0x2cb2e9(0x11c),_0x2cb2e9(0x15c))]},'children':[this[_0x2cb2e9(0x146)],{'tag':_0x2cb2e9(0x12d),'attributes':{'class':['ck',_0x2cb2e9(0x14b)]},'children':[this[_0x2cb2e9(0x153)]]}]}]});}[_0x116367(0x10e)](){const _0x543a74=_0x116367;super[_0x543a74(0x10e)](),this[_0x543a74(0x12a)]&&this[_0x543a74(0x146)][_0x543a74(0x154)](this[_0x543a74(0x12a)]);let _0x7aff85=!0x1;this['on'](_0x543a74(0x149),(_0x490b6f,_0x446035,_0x4dbfc1)=>{const _0x27f4ed=_0x543a74,_0x2f3d35=!this[_0x27f4ed(0x146)][_0x27f4ed(0x115)][_0x27f4ed(0x13e)](_0x27f4ed(0x126));this[_0x27f4ed(0x146)][_0x27f4ed(0x154)](_0x4dbfc1),this[_0x27f4ed(0x11c)]&&_0x2f3d35&&!_0x7aff85&&this[_0x27f4ed(0x115)][_0x27f4ed(0x12f)]({'top':this[_0x27f4ed(0x115)][_0x27f4ed(0x14e)],'behavior':_0x27f4ed(0x114)});}),this['on'](_0x543a74(0x157),(_0x68b17,_0x16e8c6,_0x3c1724)=>{const _0x5487b3=_0x543a74;_0x7aff85=!0x1,_0x3c1724?(this[_0x5487b3(0x12a)]=null,this[_0x5487b3(0x146)][_0x5487b3(0x148)]()):this[_0x5487b3(0x12a)]||this[_0x5487b3(0x146)][_0x5487b3(0x154)]('');}),this[_0x543a74(0x155)](this[_0x543a74(0x115)],_0x543a74(0x136),()=>{_0x7aff85=!0x0;}),this[_0x543a74(0x155)](this[_0x543a74(0x115)],_0x543a74(0x11d),()=>{_0x7aff85=!0x0;});}[_0x116367(0x14a)](){const _0x2228e6=_0x116367;this[_0x2228e6(0x115)][_0x2228e6(0x14a)]();}[_0x116367(0x13a)](){const _0x1e0b5d=_0x116367,_0x549ec2=this[_0x1e0b5d(0x120)],_0x39e07a=new _0x578454(this[_0x1e0b5d(0x120)]),_0x125f14=_0x1e0b5d(0x14f);return _0x39e07a[_0x1e0b5d(0x137)]({'label':_0x196af1(_0x549ec2,_0x1e0b5d(0x124)),'icon':_0x232acf,'class':_0x125f14,'tooltip':!0x0}),_0x39e07a[_0x1e0b5d(0x152)](_0x1e0b5d(0x10b))['to'](this,_0x1e0b5d(0x12a),_0x36b4d1=>!!_0x36b4d1),_0x39e07a[_0x1e0b5d(0x152)](_0x1e0b5d(0x14d))['to'](this,_0x1e0b5d(0x11c),_0x508c64=>!_0x508c64),_0x39e07a['on'](_0x1e0b5d(0x15a),()=>{const _0xd784c0=_0x1e0b5d;this[_0xd784c0(0x10d)](this[_0xd784c0(0x146)][_0xd784c0(0x115)]),_0x39e07a[_0xd784c0(0x158)]=_0x77d689,_0x39e07a[_0xd784c0(0x150)]=_0x125f14+_0xd784c0(0x135),this[_0xd784c0(0x14a)](),setTimeout(()=>{const _0xc35f68=_0xd784c0;_0x39e07a[_0xc35f68(0x158)]=_0x232acf,_0x39e07a[_0xc35f68(0x150)]=_0x125f14;},0x3e8);}),_0x39e07a;}[_0x116367(0x10d)](_0x273500){const _0x3a77ca=_0x116367,{window:_0x495252,document:_0x2b4800}=_0xfeb3c2;if(_0x495252[_0x3a77ca(0x110)]){const {Blob:_0x176cfd,ClipboardItem:_0x413da1}=_0x495252,_0x58c711=[new _0x413da1({'text/html':new _0x176cfd([_0x273500[_0x3a77ca(0x117)]],{'type':_0x3a77ca(0x122)}),'text/plain':new _0x176cfd([_0x273500[_0x3a77ca(0x147)]||''],{'type':_0x3a77ca(0x15d)})})];navigator[_0x3a77ca(0x10f)][_0x3a77ca(0x141)](_0x58c711);}else{const _0x4e17c7=_0x2b4800[_0x3a77ca(0x13c)](_0x3a77ca(0x12d));_0x4e17c7[_0x3a77ca(0x12c)][_0x3a77ca(0x11a)]=_0x3a77ca(0x144),_0x4e17c7[_0x3a77ca(0x12c)][_0x3a77ca(0x111)]=_0x3a77ca(0x128),_0x4e17c7[_0x3a77ca(0x117)]=_0x3a77ca(0x10c)+_0x273500[_0x3a77ca(0x117)]+_0x3a77ca(0x121),_0x2b4800[_0x3a77ca(0x129)][_0x3a77ca(0x159)](_0x4e17c7);const _0x51ad08=_0x2b4800[_0x3a77ca(0x12b)]();_0x51ad08[_0x3a77ca(0x13f)](_0x4e17c7[_0x3a77ca(0x131)]),_0x51ad08[_0x3a77ca(0x15e)](_0x4e17c7[_0x3a77ca(0x14c)]);const _0x32ff9c=_0x495252[_0x3a77ca(0x151)]();_0x32ff9c[_0x3a77ca(0x139)](),_0x32ff9c[_0x3a77ca(0x133)](_0x51ad08),_0x2b4800[_0x3a77ca(0x11e)](_0x3a77ca(0x142)),_0x4e17c7[_0x3a77ca(0x13b)]();}}}export class ContentFieldView extends _0x4a4455{constructor(_0x3553c8,_0x667c0f=''){const _0x44b7d4=_0x116367;super(_0x3553c8),this[_0x44b7d4(0x156)]=this[_0x44b7d4(0x125)](),this[_0x44b7d4(0x15b)]({'tag':_0x44b7d4(0x12d),'attributes':{'class':['ck',_0x44b7d4(0x138),_0x667c0f,_0x44b7d4(0x116),_0x44b7d4(0x127)]}});}[_0x116367(0x154)](_0x1df5a7){const _0x197370=_0x116367;this[_0x197370(0x115)][_0x197370(0x117)]=_0x1df5a7;}[_0x116367(0x148)](){const _0x2048e4=_0x116367;this[_0x2048e4(0x115)][_0x2048e4(0x159)](this[_0x2048e4(0x156)][_0x2048e4(0x115)]);}[_0x116367(0x125)](){const _0x40c1aa=_0x116367,_0x295235=new _0x4a4455(),_0x592c98=this[_0x40c1aa(0x120)],_0x30e11b=new _0x273673();return _0x30e11b[_0x40c1aa(0x10b)]=!0x0,_0x295235[_0x40c1aa(0x15b)]({'tag':_0x40c1aa(0x12d),'attributes':{'class':['ck',_0x40c1aa(0x13d)]},'children':[_0x30e11b,{'text':_0x196af1(_0x592c98,_0x40c1aa(0x130))}]}),_0x295235[_0x40c1aa(0x10e)](),_0x295235;}}function _0x396c(){const _0x24a559=['setTemplate','ck-ai-form__content-area--processing','text/plain','setEndBefore','isVisible','<span>[</span>','_copyHTMLToClipboard','render','clipboard','ClipboardItem','left','14230035sDYMCs','12oTezJD','smooth','element','ck-reset_all-excluded','innerHTML','1267368MiLgoo','847718IWwNty','position','ck-hidden','isProcessing','mousedown','execCommand','383509dhxueX','locale','<span>]</span>','text/html','160335wjjwQO','Copy','_createLoader','.ck-ai-form__loader','ck-ai-form__content-field','-9999px','body','value','createRange','style','div','bindTemplate','scrollTo','AI\x20is\x20writing...','firstElementChild','ck-ai-form__content-area-wrapper','addRange','84610TFFXnY','\x20ck-ai-form__copy-button--copied','wheel','set','ck-content','removeAllRanges','_createCopyButton','remove','createElement','ck-ai-form__loader','querySelector','setStartAfter','ck-ai-form__content-area','write','copy','6203784DhHgqc','absolute','66XqyVax','contentFieldView','textContent','appendLoader','change:value','focus','ck-ai-form__copy-button-wrapper','lastElementChild','isEnabled','scrollHeight','ck-ai-form__copy-button','class','getSelection','bind','copyButtonView','setContent','listenTo','loaderView','change:isProcessing','icon','appendChild','execute'];_0x396c=function(){return _0x24a559;};return _0x396c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x535dfd,_0x58589e){const _0x3d3714=_0x1d69,_0x8d2255=_0x535dfd();while(!![]){try{const _0x2ee018=-parseInt(_0x3d3714(0x182))/0x1+-parseInt(_0x3d3714(0x18d))/0x2*(parseInt(_0x3d3714(0x187))/0x3)+-parseInt(_0x3d3714(0x185))/0x4*(parseInt(_0x3d3714(0x186))/0x5)+-parseInt(_0x3d3714(0x183))/0x6*(-parseInt(_0x3d3714(0x17e))/0x7)+parseInt(_0x3d3714(0x189))/0x8+parseInt(_0x3d3714(0x17f))/0x9*(-parseInt(_0x3d3714(0x18e))/0xa)+parseInt(_0x3d3714(0x18b))/0xb;if(_0x2ee018===_0x58589e)break;else _0x8d2255['push'](_0x8d2255['shift']());}catch(_0x1c0d8e){_0x8d2255['push'](_0x8d2255['shift']());}}}(_0x3bde,0xa62d6));import{IconError as _0x47d0ac}from'ckeditor5/src/icons.js';import{View as _0x3227a,IconView as _0xddb17e}from'ckeditor5/src/ui.js';function _0x3bde(){const _0x398f5d=['180068aAmAFe','21240TWOQVK','ck-ai-form__error','958972smrVzN','5dQegIB','7212MyjRTi','text','695128NISVFN','set','24182609tdREKL','setTemplate','814AQbCcb','10dXJTrx','bindTemplate','35MRgSuX','2016981rsHZBi','content','div'];_0x3bde=function(){return _0x398f5d;};return _0x3bde();}function _0x1d69(_0x8e639b,_0x4239d0){const _0x3bde88=_0x3bde();return _0x1d69=function(_0x1d6983,_0x1045f4){_0x1d6983=_0x1d6983-0x17e;let _0x4a6aba=_0x3bde88[_0x1d6983];return _0x4a6aba;},_0x1d69(_0x8e639b,_0x4239d0);}export class AIFormErrorView extends _0x3227a{constructor(_0x38a77a,_0x227c03=''){const _0x49f776=_0x1d69;super(_0x38a77a);const _0x3e14a4=new _0xddb17e(),_0x268a19=this[_0x49f776(0x18f)];this[_0x49f776(0x18a)](_0x49f776(0x188),_0x227c03),_0x3e14a4[_0x49f776(0x180)]=_0x47d0ac,this[_0x49f776(0x18c)]({'tag':_0x49f776(0x181),'attributes':{'class':['ck',_0x49f776(0x184)]},'children':[_0x3e14a4,{'text':_0x268a19['to'](_0x49f776(0x188))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1907(_0x1ebc88,_0x310a13){const _0x9f1e3=_0x9f1e();return _0x1907=function(_0x190795,_0x4e1a92){_0x190795=_0x190795-0x161;let _0x2a119f=_0x9f1e3[_0x190795];return _0x2a119f;},_0x1907(_0x1ebc88,_0x310a13);}const _0x4a938a=_0x1907;(function(_0x24849c,_0x524f6f){const _0x4f940f=_0x1907,_0x1535dd=_0x24849c();while(!![]){try{const _0x3d7fc6=parseInt(_0x4f940f(0x194))/0x1*(parseInt(_0x4f940f(0x181))/0x2)+-parseInt(_0x4f940f(0x173))/0x3*(parseInt(_0x4f940f(0x182))/0x4)+-parseInt(_0x4f940f(0x17b))/0x5*(-parseInt(_0x4f940f(0x17f))/0x6)+parseInt(_0x4f940f(0x178))/0x7+parseInt(_0x4f940f(0x192))/0x8*(-parseInt(_0x4f940f(0x197))/0x9)+parseInt(_0x4f940f(0x180))/0xa*(-parseInt(_0x4f940f(0x188))/0xb)+parseInt(_0x4f940f(0x16b))/0xc;if(_0x3d7fc6===_0x524f6f)break;else _0x1535dd['push'](_0x1535dd['shift']());}catch(_0x55b913){_0x1535dd['push'](_0x1535dd['shift']());}}}(_0x9f1e,0x3f80b));import{Rect as _0x5dfceb,global as _0x59d69a,isVisible as _0x2717a7}from'ckeditor5/src/utils.js';function _0x9f1e(){const _0xfa23ff=['fire','children','add','History','isEmpty','set','window','focusableChildren','locale','fieldView','_createSubmitButton','_createShowHistoryButton','5015184jzSIEk','isEnabled','ck-ai-form__toggle-history','isVisible','width','execute','focusLast','value','10410rxVUeV','maxRows','Submit','bind','element','3101182XuLsRI','excludeScrollbarsAndBorders','enter','5JPeuCM','filteredView','requestAnimationFrame','render','2326734lwfmwL','370cuwRGL','46058LfTZZx','500adsfMB','right','submit','uiLanguageDirection','fieldWrapperChildren','isOn','111001lpRnbw','style','resultsView','ck-ai-form__submit','focusCycler','minRows','queryView','rtl','focusFirst','submitButtonView','34424ueXqnB','showHistoryButtonView','8sPkuHL','left','focus','765MmfLdN','target','update','keystrokes'];_0x9f1e=function(){return _0xfa23ff;};return _0x9f1e();}import{IconAIHistory as _0xe55444,IconSubmit as _0x456520}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x28523b,ButtonView as _0x54816b}from'ckeditor5/src/ui.js';import{getTranslation as _0x3f5fbb}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x28523b{[_0x4a938a(0x191)];[_0x4a938a(0x193)];constructor(_0xdad667,_0x13a024){const _0x11b30f=_0x4a938a;super(_0xdad667,_0x13a024),this[_0x11b30f(0x18e)][_0x11b30f(0x168)][_0x11b30f(0x18d)]=0x1,this[_0x11b30f(0x18e)][_0x11b30f(0x168)][_0x11b30f(0x174)]=0x3,this[_0x11b30f(0x191)]=this[_0x11b30f(0x169)](),this[_0x11b30f(0x193)]=this[_0x11b30f(0x16a)](),this[_0x11b30f(0x166)][_0x11b30f(0x161)](this[_0x11b30f(0x193)],0x1),this[_0x11b30f(0x166)][_0x11b30f(0x161)](this[_0x11b30f(0x191)]);}[_0x4a938a(0x17e)](){const _0xa42efe=_0x4a938a;super[_0xa42efe(0x17e)](),this[_0xa42efe(0x18e)][_0xa42efe(0x186)][_0xa42efe(0x161)](this[_0xa42efe(0x193)]),this[_0xa42efe(0x19c)][_0xa42efe(0x161)](this[_0xa42efe(0x191)]),this[_0xa42efe(0x19a)][_0xa42efe(0x164)](_0xa42efe(0x17a),(_0x23059f,_0x4aba2c)=>{const _0x2e1385=_0xa42efe;_0x23059f[_0x2e1385(0x198)]==this[_0x2e1385(0x18e)][_0x2e1385(0x168)][_0x2e1385(0x177)]&&(this[_0x2e1385(0x184)](),_0x4aba2c());});}[_0x4a938a(0x169)](){const _0x18e93f=_0x4a938a,_0x3a38b0=new _0x54816b(this[_0x18e93f(0x167)]),_0x2a4da8=this[_0x18e93f(0x167)];return _0x3a38b0[_0x18e93f(0x164)]({'icon':_0x456520,'label':_0x3f5fbb(_0x2a4da8,_0x18e93f(0x175)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x18e93f(0x18b)}),_0x3a38b0['on'](_0x18e93f(0x170),()=>{const _0x53cf22=_0x18e93f;this[_0x53cf22(0x184)]();}),_0x3a38b0[_0x18e93f(0x176)](_0x18e93f(0x16c))['to'](this[_0x18e93f(0x18e)][_0x18e93f(0x168)],_0x18e93f(0x163),this,_0x18e93f(0x16c),(_0x4a20a5,_0x29dd03)=>!_0x4a20a5&&_0x29dd03),_0x3a38b0;}[_0x4a938a(0x16a)](){const _0x1114f7=_0x4a938a,_0x40f5da=new _0x54816b(this[_0x1114f7(0x167)]),_0x5b8a48=this[_0x1114f7(0x18a)],_0x59ad0e=this[_0x1114f7(0x167)];_0x40f5da[_0x1114f7(0x164)]({'label':_0x3f5fbb(_0x59ad0e,_0x1114f7(0x162)),'withText':!0x1,'icon':_0xe55444,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1114f7(0x16d)}),_0x40f5da[_0x1114f7(0x176)](_0x1114f7(0x187))['to'](_0x5b8a48,_0x1114f7(0x16e)),_0x40f5da[_0x1114f7(0x176)](_0x1114f7(0x16c))['to'](this,_0x1114f7(0x16c)),_0x40f5da['on'](_0x1114f7(0x170),()=>{const _0x20a194=_0x1114f7;_0x5b8a48[_0x20a194(0x16e)]=!_0x5b8a48[_0x20a194(0x16e)],_0x5b8a48[_0x20a194(0x16e)]?this[_0x20a194(0x17c)][_0x20a194(0x196)]():this[_0x20a194(0x196)]();});const _0x533d41=()=>{const _0x1a050b=_0x1114f7;_0x59d69a[_0x1a050b(0x165)][_0x1a050b(0x17d)](()=>{const _0x596677=_0x1a050b;if(_0x2717a7(this[_0x596677(0x177)])){const _0x5540c2=new _0x5dfceb(this[_0x596677(0x18e)][_0x596677(0x168)][_0x596677(0x177)]),_0x9844e7=_0x5540c2[_0x596677(0x16f)],_0x335aa2=_0x596677(0x18f)===_0x59ad0e[_0x596677(0x185)]?_0x596677(0x195):_0x596677(0x183);_0x5540c2[_0x596677(0x179)](),_0x40f5da[_0x596677(0x177)][_0x596677(0x189)][_0x335aa2]=_0x9844e7-_0x5540c2[_0x596677(0x16f)]+0x1+'px';}});};return this[_0x1114f7(0x18e)][_0x1114f7(0x168)]['on'](_0x1114f7(0x199),_0x533d41),this['on'](_0x1114f7(0x17e),_0x533d41),_0x40f5da;}[_0x4a938a(0x184)](){const _0x4b24c1=_0x4a938a,_0xf29dd0=this[_0x4b24c1(0x18e)][_0x4b24c1(0x168)][_0x4b24c1(0x177)][_0x4b24c1(0x172)];this[_0x4b24c1(0x19b)](_0x4b24c1(0x184),_0xf29dd0);}[_0x4a938a(0x196)](_0x2f9c4d){const _0x277bae=_0x4a938a;-0x1===_0x2f9c4d?this[_0x277bae(0x18c)][_0x277bae(0x171)]():this[_0x277bae(0x18c)][_0x277bae(0x190)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4204dc=_0x1761;function _0xf388(){const _0x19edb0=['addMany','items','ck-hidden','REPLACE','toUpperCase','replaceButton','label','Stop','120hEGmeE','isVisible','insert','extendTemplate','mainAction','10ometww','replace','bindTemplate','ck-button-action','stopButton','set','insertButton','bind','8045469sVjeWY','240296vvRLvs','41644Botbin','locale','4583570zWATdC','19542FSqMJT','_createButton','Insert\x20below','AI_','1764eKjFIV','tryAgainButton','ck-ai-form__toolbar','Try\x20again','1672792xnyMBx','8dbXLCd','_CONTENT','754977KNEpCG','29VYljVm'];_0xf388=function(){return _0x19edb0;};return _0xf388();}(function(_0x2ef80c,_0x4175ec){const _0x3d2910=_0x1761,_0x1ec826=_0x2ef80c();while(!![]){try{const _0x1c3680=-parseInt(_0x3d2910(0x1f5))/0x1*(parseInt(_0x3d2910(0x1e6))/0x2)+parseInt(_0x3d2910(0x1f4))/0x3*(parseInt(_0x3d2910(0x1f2))/0x4)+-parseInt(_0x3d2910(0x1e8))/0x5+parseInt(_0x3d2910(0x1e9))/0x6*(-parseInt(_0x3d2910(0x1ed))/0x7)+parseInt(_0x3d2910(0x1e5))/0x8+parseInt(_0x3d2910(0x1e4))/0x9*(parseInt(_0x3d2910(0x203))/0xa)+-parseInt(_0x3d2910(0x1f1))/0xb*(-parseInt(_0x3d2910(0x1fe))/0xc);if(_0x1c3680===_0x4175ec)break;else _0x1ec826['push'](_0x1ec826['shift']());}catch(_0x3df568){_0x1ec826['push'](_0x1ec826['shift']());}}}(_0xf388,0x941ec));import{ToolbarView as _0x50e5fb,ButtonView as _0xf46d5}from'ckeditor5/src/ui.js';import{getTranslation as _0x3ab558}from'../../utils/common-translations.js';function _0x1761(_0x38c6b2,_0x1c6688){const _0xf3881f=_0xf388();return _0x1761=function(_0x1761f1,_0x48439c){_0x1761f1=_0x1761f1-0x1de;let _0x3d1950=_0xf3881f[_0x1761f1];return _0x3d1950;},_0x1761(_0x38c6b2,_0x1c6688);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4204dc(0x204),'INSERT':_0x4204dc(0x200)};export class AIFormToolbarView extends _0x50e5fb{constructor(_0x277784){const _0x2a3b2f=_0x4204dc;super(_0x277784),this[_0x2a3b2f(0x1e1)](_0x2a3b2f(0x1ff),!0x1),this[_0x2a3b2f(0x1e1)](_0x2a3b2f(0x202),AIFormToolbarViewMainActionLabel[_0x2a3b2f(0x1f9)]),this[_0x2a3b2f(0x1fb)]=this[_0x2a3b2f(0x1ea)]('',_0x2a3b2f(0x1df)),this[_0x2a3b2f(0x1fb)][_0x2a3b2f(0x1e3)](_0x2a3b2f(0x1fc))['to'](this,_0x2a3b2f(0x202),_0x1f9846=>_0x3ab558(_0x277784,_0x2a3b2f(0x1ec)+_0x1f9846[_0x2a3b2f(0x1fa)]()+_0x2a3b2f(0x1f3))),this[_0x2a3b2f(0x1e2)]=this[_0x2a3b2f(0x1ea)](_0x3ab558(_0x277784,_0x2a3b2f(0x1eb))),this[_0x2a3b2f(0x1ee)]=this[_0x2a3b2f(0x1ea)](_0x3ab558(_0x277784,_0x2a3b2f(0x1f0))),this[_0x2a3b2f(0x1e0)]=this[_0x2a3b2f(0x1ea)](_0x3ab558(_0x277784,_0x2a3b2f(0x1fd)));const _0x47e625=this[_0x2a3b2f(0x1de)];this[_0x2a3b2f(0x201)]({'attributes':{'class':[_0x2a3b2f(0x1ef),_0x47e625['if'](_0x2a3b2f(0x1ff),_0x2a3b2f(0x1f8),_0x5b66a2=>!_0x5b66a2)]}}),this[_0x2a3b2f(0x1f7)][_0x2a3b2f(0x1f6)]([this[_0x2a3b2f(0x1fb)],this[_0x2a3b2f(0x1e2)],this[_0x2a3b2f(0x1ee)],this[_0x2a3b2f(0x1e0)]]);}[_0x4204dc(0x1ea)](_0x18bbfe,_0x5a0557){const _0x3f28d3=_0x4204dc,_0x32955d=new _0xf46d5(this[_0x3f28d3(0x1e7)]);return _0x32955d[_0x3f28d3(0x1e1)]({'label':_0x18bbfe,'class':_0x5a0557||'','isVisible':!0x0,'withText':!0x0}),_0x32955d;}}
|