@ckeditor/ckeditor5-ai 47.5.0-alpha.7 → 47.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.d.ts +5 -2
- 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.d.ts +4 -2
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.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/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x463656=_0x3f49;(function(_0x5bfc7e,_0x1381e2){const _0x3babf9=_0x3f49,_0x46b8ad=_0x5bfc7e();while(!![]){try{const _0x49c686=-parseInt(_0x3babf9(0x197))/0x1*(-parseInt(_0x3babf9(0x1bc))/0x2)+parseInt(_0x3babf9(0x172))/0x3+-parseInt(_0x3babf9(0x184))/0x4+-parseInt(_0x3babf9(0x176))/0x5+parseInt(_0x3babf9(0x17e))/0x6+-parseInt(_0x3babf9(0x17f))/0x7+parseInt(_0x3babf9(0x19e))/0x8*(parseInt(_0x3babf9(0x1a6))/0x9);if(_0x49c686===_0x1381e2)break;else _0x46b8ad['push'](_0x46b8ad['shift']());}catch(_0x4542d6){_0x46b8ad['push'](_0x46b8ad['shift']());}}}(_0x5929,0x8aec7));import{ObservableMixin as _0x5e7165}from'ckeditor5/src/utils.js';import{AIRequestError as _0x46e7d0}from'../adapters/aiadapter.js';function _0x5929(){const _0xe9f6a5=['render','stopListening','element','body','name','length','previousQuery','ELEMENT_NODE','reset','config','parseFromString','stringify','_isH1TagSupportEnabled','tryAgainEvent','startProcessing','9VdDBpl','finally','submitPrompt','abort','previousContext','editor','_sanitizationContainer','267536xDtFEW','trim','isRendered','_normalizeResponseHeadings','endsWith','viewToDom','nodeType','mainAction','486BAWcYS','<h1></h1>','makeRequest','_stripMarkdownSyntax','htmlProcessor','remove','```html','isProcessing','message','querySelector','markers','catch','processor','ai.assistant.preserveComments','textAdapter','clear','data','prompt','from','exec','startsWith','text/html','20626jGpMtS','_handleQuery','_sanitizeHTML','editing','finishProcessing','get','previousLabel','toModel','div','toView','serializeToString','createElement','reverse','setContentOf','initialContext','innerHTML','handleError','push','value','updateView','domConverter','destroy','currentContext','_domParser','stopProcessing','409413ciDcGF','childNodes','currentResponse','substring','5477780BbJCli','```','_xmlSerializer','rename','then','set','listenTo','document','1414968CVTaEd','3282496XnItTo','view','previousActionId','once','set:currentContext','549876LwXXxM','_parseAndNormalizeContent','match','custom'];_0x5929=function(){return _0xe9f6a5;};return _0x5929();}function _0x3f49(_0xae3cc,_0x21811e){const _0x5929da=_0x5929();return _0x3f49=function(_0x3f49d6,_0x39febe){_0x3f49d6=_0x3f49d6-0x163;let _0x566fdd=_0x5929da[_0x3f49d6];return _0x566fdd;},_0x3f49(_0xae3cc,_0x21811e);}import{Matcher as _0x1c3b2b,ViewUpcastWriter as _0x9f80ba}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5e7165(){[_0x463656(0x19c)];[_0x463656(0x1b4)];[_0x463656(0x180)];[_0x463656(0x19d)];[_0x463656(0x170)];[_0x463656(0x178)];constructor(_0x3a5fbc,_0x3ea502,_0x1c9b3c){const _0x1e3182=_0x463656;super(),this[_0x1e3182(0x19c)]=_0x3a5fbc,this[_0x1e3182(0x1b4)]=_0x3ea502,this[_0x1e3182(0x19d)]=document[_0x1e3182(0x164)](_0x1e3182(0x1c4)),this[_0x1e3182(0x170)]=new DOMParser(),this[_0x1e3182(0x178)]=new XMLSerializer(),this[_0x1e3182(0x180)]=_0x1c9b3c,this[_0x1e3182(0x17b)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1e3182(0x183),(_0xa4afd4,_0x174c70,_0x48e978)=>{const _0x5f238b=_0x1e3182;this[_0x5f238b(0x180)][_0x5f238b(0x16b)]=this[_0x5f238b(0x1be)](_0x48e978);}),this[_0x1e3182(0x17c)](this[_0x1e3182(0x180)],_0x1e3182(0x199),(_0x2b4483,_0x20081c)=>{const _0x33ccde=_0x1e3182,_0x4173dd=this[_0x33ccde(0x16f)]||this[_0x33ccde(0x167)];this[_0x33ccde(0x1bd)](_0x20081c,_0x4173dd,_0x33ccde(0x187));}),this[_0x1e3182(0x17c)](this[_0x1e3182(0x180)],_0x1e3182(0x195),()=>{const _0x1137c0=_0x1e3182;this[_0x1137c0(0x180)][_0x1137c0(0x1b7)]=this[_0x1137c0(0x1c2)],this[_0x1137c0(0x1bd)](this[_0x1137c0(0x18e)],this[_0x1137c0(0x19b)],this[_0x1137c0(0x181)],this[_0x1137c0(0x1c2)]);}),this[_0x1e3182(0x17c)](this[_0x1e3182(0x180)],_0x1e3182(0x171),()=>{const _0x41248e=_0x1e3182;this[_0x41248e(0x171)]();});}[_0x463656(0x16e)](){const _0x2c7065=_0x463656;this[_0x2c7065(0x189)]();}async[_0x463656(0x16c)]({actionId:_0x5c4bf5,query:_0x333cfd,htmlContent:_0x67bcae,label:_0x3a1cf1,mainActionLabel:_0x1fe886}){const _0x4e57d4=_0x463656;this[_0x4e57d4(0x180)][_0x4e57d4(0x1b7)]=_0x3a1cf1,this[_0x4e57d4(0x180)][_0x4e57d4(0x1a5)]=_0x1fe886,this[_0x4e57d4(0x167)]=_0x67bcae,_0x333cfd&&(this[_0x4e57d4(0x180)][_0x4e57d4(0x1a0)]?this[_0x4e57d4(0x1bd)](_0x333cfd,_0x67bcae,_0x5c4bf5,_0x3a1cf1):this[_0x4e57d4(0x180)][_0x4e57d4(0x182)](_0x4e57d4(0x188),()=>{const _0x5043a6=_0x4e57d4;this[_0x5043a6(0x1bd)](_0x333cfd,_0x67bcae,_0x5c4bf5,_0x3a1cf1);}));}[_0x463656(0x171)](){const _0xf1968c=_0x463656;this[_0xf1968c(0x1ad)]&&(this[_0xf1968c(0x1ad)]=!0x1,this[_0xf1968c(0x180)][_0xf1968c(0x1c0)](),this[_0xf1968c(0x1b4)][_0xf1968c(0x19a)]());}[_0x463656(0x190)](){const _0x39f6b6=_0x463656;this[_0x39f6b6(0x167)]='',this[_0x39f6b6(0x16f)]='',this[_0x39f6b6(0x174)]='',this[_0x39f6b6(0x19b)]='',this[_0x39f6b6(0x18e)]='',this[_0x39f6b6(0x1c2)]='',this[_0x39f6b6(0x181)]=void 0x0,this[_0x39f6b6(0x180)][_0x39f6b6(0x190)](),this[_0x39f6b6(0x171)]();}async[_0x463656(0x1bd)](_0x40edde,_0x1d2062,_0x163852,_0x67ef2c){const _0x4fd4d8=_0x463656;return this[_0x4fd4d8(0x1ad)]=!0x0,this[_0x4fd4d8(0x180)][_0x4fd4d8(0x196)](),this[_0x4fd4d8(0x19b)]=_0x1d2062,this[_0x4fd4d8(0x18e)]=_0x40edde,this[_0x4fd4d8(0x1c2)]=_0x67ef2c||_0x40edde,this[_0x4fd4d8(0x181)]=_0x163852,new Promise(_0xb03558=>{const _0x2ca203=_0x4fd4d8;this[_0x2ca203(0x1b4)][_0x2ca203(0x1a8)]({'query':_0x40edde,'context':_0x1d2062,'onData':_0x226ee5=>{const _0x1e23f8=_0x2ca203;this[_0x1e23f8(0x174)]=_0x226ee5,this[_0x1e23f8(0x16f)]=this[_0x1e23f8(0x185)](this[_0x1e23f8(0x174)]);},'actionId':_0x163852})[_0x2ca203(0x17a)](()=>{const _0xf083d7=_0x2ca203;!this[_0xf083d7(0x16f)]&&this[_0xf083d7(0x174)]&&(this[_0xf083d7(0x16f)]=this[_0xf083d7(0x185)](this[_0xf083d7(0x174)],!0x0));})[_0x2ca203(0x1b1)](_0x4cf2e6=>{const _0x13d550=_0x2ca203;_0x4cf2e6 instanceof _0x46e7d0?this[_0x13d550(0x180)][_0x13d550(0x169)](_0x4cf2e6[_0x13d550(0x1ae)]):this[_0x13d550(0x180)][_0x13d550(0x169)](),_0xb03558();})[_0x2ca203(0x198)](()=>{const _0x1340e7=_0x2ca203;this[_0x1340e7(0x171)](),_0xb03558();});});}[_0x463656(0x185)](_0x41daf6,_0x245520=!0x1){const _0x2ac437=_0x463656,_0x3c4fed=hs[_0x2ac437(0x1b9)](_0x41daf6);_0x41daf6=_0x3c4fed?_0x41daf6[_0x2ac437(0x175)](_0x3c4fed[0x1][_0x2ac437(0x18d)]):_0x41daf6[_0x2ac437(0x18d)]<0x64&&!_0x245520?'':this[_0x2ac437(0x1a9)](_0x41daf6);const _0x52f08d=this[_0x2ac437(0x170)][_0x2ac437(0x192)](_0x41daf6,_0x2ac437(0x1bb));if(_0x3c4fed){const _0x1d212c=Array[_0x2ac437(0x1b8)](_0x52f08d[_0x2ac437(0x18b)][_0x2ac437(0x173)]);_0x1d212c[_0x2ac437(0x165)]();for(const _0x42df29 of _0x1d212c){if(_0x42df29[_0x2ac437(0x1a4)]==Node[_0x2ac437(0x18f)])break;_0x42df29[_0x2ac437(0x1ab)]();}}const _0x27a689=this[_0x2ac437(0x19c)][_0x2ac437(0x1b6)][_0x2ac437(0x1b2)][_0x2ac437(0x1c5)](this[_0x2ac437(0x178)][_0x2ac437(0x163)](_0x52f08d[_0x2ac437(0x18b)]));this[_0x2ac437(0x194)]()||this[_0x2ac437(0x1a1)](_0x27a689);const _0x447273=this[_0x2ac437(0x19c)][_0x2ac437(0x191)][_0x2ac437(0x1c1)](_0x2ac437(0x1b3)),_0x37da05=this[_0x2ac437(0x19c)][_0x2ac437(0x1b6)][_0x2ac437(0x1c3)](_0x27a689);return _0x447273||_0x37da05[_0x2ac437(0x1b0)][_0x2ac437(0x1b5)](),this[_0x2ac437(0x19c)][_0x2ac437(0x1b6)][_0x2ac437(0x193)](_0x37da05);}[_0x463656(0x1a1)](_0x39de62){const _0x59b90b=_0x463656,_0x200515=new _0x9f80ba(this[_0x59b90b(0x19c)][_0x59b90b(0x1bf)][_0x59b90b(0x180)][_0x59b90b(0x17d)]),_0x36da16=new _0x1c3b2b({'name':/^h[1-5]$/}),_0x4fb5da=[];let _0x4437c4=!0x1;for(const _0x130646 of _0x39de62)_0x130646['is'](_0x59b90b(0x18a))&&_0x36da16[_0x59b90b(0x186)](_0x130646)&&(_0x4fb5da[_0x59b90b(0x16a)](_0x130646),'h1'==_0x130646[_0x59b90b(0x18c)]&&(_0x4437c4=!0x0));if(_0x4437c4){for(const _0x44c6af of _0x4fb5da)_0x200515[_0x59b90b(0x179)]('h'+(parseInt(_0x44c6af[_0x59b90b(0x18c)][0x1])+0x1),_0x44c6af);}}[_0x463656(0x194)](){const _0x9a0621=_0x463656,{data:_0xb7c883,editing:_0xbb9085}=this[_0x9a0621(0x19c)],_0xaa816c=_0xb7c883[_0x9a0621(0x1aa)][_0x9a0621(0x1c5)](_0x9a0621(0x1a7)),_0x5ae1c3=_0xb7c883[_0x9a0621(0x1c5)](_0xb7c883[_0x9a0621(0x1c3)](_0xaa816c));return!!_0xbb9085[_0x9a0621(0x180)][_0x9a0621(0x16d)][_0x9a0621(0x1a3)](_0x5ae1c3)[_0x9a0621(0x1af)]('h1');}[_0x463656(0x1be)](_0x55c879){const _0x46118d=_0x463656;return this[_0x46118d(0x19c)][_0x46118d(0x1bf)][_0x46118d(0x180)][_0x46118d(0x16d)][_0x46118d(0x166)](this[_0x46118d(0x19d)],_0x55c879),this[_0x46118d(0x19d)][_0x46118d(0x168)];}[_0x463656(0x1a9)](_0xf1f084){const _0x78d5ea=_0x463656,_0x60db92=_0xf1f084[_0x78d5ea(0x19f)]();return _0x60db92[_0x78d5ea(0x1ba)](_0x78d5ea(0x1ac))?_0x60db92[_0x78d5ea(0x1a2)](_0x78d5ea(0x177))?_0x60db92[_0x78d5ea(0x175)](0x7,_0x60db92[_0x78d5ea(0x18d)]-0x3):_0x60db92[_0x78d5ea(0x175)](0x7):_0xf1f084;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45a001=_0x9355;(function(_0x50b592,_0x4a858e){const _0x515413=_0x9355,_0x8dd5f5=_0x50b592();while(!![]){try{const _0x52b6b9=parseInt(_0x515413(0x1b5))/0x1+parseInt(_0x515413(0x1e7))/0x2*(-parseInt(_0x515413(0x1fe))/0x3)+parseInt(_0x515413(0x1e6))/0x4*(-parseInt(_0x515413(0x1fb))/0x5)+parseInt(_0x515413(0x1d9))/0x6*(-parseInt(_0x515413(0x1c2))/0x7)+-parseInt(_0x515413(0x1b3))/0x8*(-parseInt(_0x515413(0x1af))/0x9)+parseInt(_0x515413(0x1b7))/0xa*(-parseInt(_0x515413(0x1f5))/0xb)+parseInt(_0x515413(0x1be))/0xc;if(_0x52b6b9===_0x4a858e)break;else _0x8dd5f5['push'](_0x8dd5f5['shift']());}catch(_0x48ce5b){_0x8dd5f5['push'](_0x8dd5f5['shift']());}}}(_0x37d9,0x1ab49));function _0x9355(_0x595382,_0x4e50b8){const _0x37d9b3=_0x37d9();return _0x9355=function(_0x935556,_0x1a3fd0){_0x935556=_0x935556-0x1af;let _0x4af2a4=_0x37d9b3[_0x935556];return _0x4af2a4;},_0x9355(_0x595382,_0x4e50b8);}import{global as _0x414317}from'ckeditor5/src/utils.js';import{View as _0x501a74,ButtonView as _0x8ef5bf,SpinnerView as _0x5b1449}from'ckeditor5/src/ui.js';import{IconCheck as _0xbf1e68,IconCopy as _0x5cd793}from'ckeditor5/src/icons.js';function _0x37d9(){const _0x57cedf=['addRange','appendLoader','querySelector','focus','set','29964kAVhCJ','change:value','lastElementChild','position','text/plain','getSelection','.ck-ai-form__loader','ClipboardItem','createElement','copyButtonView','bind','_createCopyButton','contentFieldView','448872FYCHNg','6oykraN','scrollTo','locale','ck-reset_all-excluded','\x20ck-ai-form__copy-button--copied','ck-ai-form__content-field','ck-content','wheel','left','text/html','ck-ai-form__content-area-wrapper','createRange','mousedown','isVisible','17831HcLSbs','appendChild','ck-ai-form__content-area','class','bindTemplate','copy','5igQzQm','write','_copyHTMLToClipboard','143991gJiGKE','ck-ai-form__copy-button-wrapper','absolute','render','textContent','setContent','ck-ai-form__copy-button','ck-hidden','91647MKrkQO','innerHTML','value','execCommand','40joGIri','<span>[</span>','97201FRDCFM','clipboard','1050tEgkBy','Copy','loaderView','<span>]</span>','element','icon','isProcessing','4831980FTlFeg','remove','-9999px','setEndBefore','21ZGugqG','smooth','ck-ai-form__loader','firstElementChild','div','setTemplate','isEnabled','execute','ck-ai-form__content-area--processing','style','setStartAfter','change:isProcessing','_createLoader','listenTo','body','scrollHeight','AI\x20is\x20writing...','removeAllRanges'];_0x37d9=function(){return _0x57cedf;};return _0x37d9();}import{getTranslation as _0x5b3765}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x501a74{[_0x45a001(0x1e5)];[_0x45a001(0x1e2)];constructor(_0x50f2bf,_0x41c153=''){const _0x26a17b=_0x45a001;super(_0x50f2bf),this[_0x26a17b(0x1d8)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2c07f3=this[_0x26a17b(0x1f9)];this[_0x26a17b(0x1e5)]=new ContentFieldView(_0x50f2bf,_0x41c153),this[_0x26a17b(0x1e2)]=this[_0x26a17b(0x1e4)](),this[_0x26a17b(0x1c7)]({'tag':_0x26a17b(0x1c6),'attributes':{'class':['ck',_0x26a17b(0x1f1),_0x2c07f3['if'](_0x26a17b(0x1f4),_0x26a17b(0x205),_0x55e20e=>!_0x55e20e)],'tabindex':'-1'},'children':[{'tag':_0x26a17b(0x1c6),'attributes':{'class':['ck',_0x26a17b(0x1f7),_0x2c07f3['if'](_0x26a17b(0x1bd),_0x26a17b(0x1ca))]},'children':[this[_0x26a17b(0x1e5)],{'tag':_0x26a17b(0x1c6),'attributes':{'class':['ck',_0x26a17b(0x1ff)]},'children':[this[_0x26a17b(0x1e2)]]}]}]});}[_0x45a001(0x201)](){const _0x40110d=_0x45a001;super[_0x40110d(0x201)](),this[_0x40110d(0x1b1)]&&this[_0x40110d(0x1e5)][_0x40110d(0x203)](this[_0x40110d(0x1b1)]);let _0x4e2c59=!0x1;this['on'](_0x40110d(0x1da),(_0x47fef0,_0x29c27a,_0x509a27)=>{const _0x264acc=_0x40110d,_0x42de57=!this[_0x264acc(0x1e5)][_0x264acc(0x1bb)][_0x264acc(0x1d6)](_0x264acc(0x1df));this[_0x264acc(0x1e5)][_0x264acc(0x203)](_0x509a27),this[_0x264acc(0x1bd)]&&_0x42de57&&!_0x4e2c59&&this[_0x264acc(0x1bb)][_0x264acc(0x1e8)]({'top':this[_0x264acc(0x1bb)][_0x264acc(0x1d1)],'behavior':_0x264acc(0x1c3)});}),this['on'](_0x40110d(0x1cd),(_0x2aa628,_0x24015c,_0x55343e)=>{const _0x419911=_0x40110d;_0x4e2c59=!0x1,_0x55343e?(this[_0x419911(0x1b1)]=null,this[_0x419911(0x1e5)][_0x419911(0x1d5)]()):this[_0x419911(0x1b1)]||this[_0x419911(0x1e5)][_0x419911(0x203)]('');}),this[_0x40110d(0x1cf)](this[_0x40110d(0x1bb)],_0x40110d(0x1ee),()=>{_0x4e2c59=!0x0;}),this[_0x40110d(0x1cf)](this[_0x40110d(0x1bb)],_0x40110d(0x1f3),()=>{_0x4e2c59=!0x0;});}[_0x45a001(0x1d7)](){const _0xa96a8=_0x45a001;this[_0xa96a8(0x1bb)][_0xa96a8(0x1d7)]();}[_0x45a001(0x1e4)](){const _0xdf8a08=_0x45a001,_0xb87509=this[_0xdf8a08(0x1e9)],_0x3be8e7=new _0x8ef5bf(this[_0xdf8a08(0x1e9)]),_0xab7187=_0xdf8a08(0x204);return _0x3be8e7[_0xdf8a08(0x1d8)]({'label':_0x5b3765(_0xb87509,_0xdf8a08(0x1b8)),'icon':_0x5cd793,'class':_0xab7187,'tooltip':!0x0}),_0x3be8e7[_0xdf8a08(0x1e3)](_0xdf8a08(0x1f4))['to'](this,_0xdf8a08(0x1b1),_0x1d3e59=>!!_0x1d3e59),_0x3be8e7[_0xdf8a08(0x1e3)](_0xdf8a08(0x1c8))['to'](this,_0xdf8a08(0x1bd),_0x5493a=>!_0x5493a),_0x3be8e7['on'](_0xdf8a08(0x1c9),()=>{const _0x1dc1a2=_0xdf8a08;this[_0x1dc1a2(0x1fd)](this[_0x1dc1a2(0x1e5)][_0x1dc1a2(0x1bb)]),_0x3be8e7[_0x1dc1a2(0x1bc)]=_0xbf1e68,_0x3be8e7[_0x1dc1a2(0x1f8)]=_0xab7187+_0x1dc1a2(0x1eb),this[_0x1dc1a2(0x1d7)](),setTimeout(()=>{const _0x247e25=_0x1dc1a2;_0x3be8e7[_0x247e25(0x1bc)]=_0x5cd793,_0x3be8e7[_0x247e25(0x1f8)]=_0xab7187;},0x3e8);}),_0x3be8e7;}[_0x45a001(0x1fd)](_0x5d4b04){const _0x14078a=_0x45a001,{window:_0x43d268,document:_0x49251b}=_0x414317;if(_0x43d268[_0x14078a(0x1e0)]){const {Blob:_0x58a694,ClipboardItem:_0x444a6b}=_0x43d268,_0x3f95fe=[new _0x444a6b({'text/html':new _0x58a694([_0x5d4b04[_0x14078a(0x1b0)]],{'type':_0x14078a(0x1f0)}),'text/plain':new _0x58a694([_0x5d4b04[_0x14078a(0x202)]||''],{'type':_0x14078a(0x1dd)})})];navigator[_0x14078a(0x1b6)][_0x14078a(0x1fc)](_0x3f95fe);}else{const _0x1963e5=_0x49251b[_0x14078a(0x1e1)](_0x14078a(0x1c6));_0x1963e5[_0x14078a(0x1cb)][_0x14078a(0x1dc)]=_0x14078a(0x200),_0x1963e5[_0x14078a(0x1cb)][_0x14078a(0x1ef)]=_0x14078a(0x1c0),_0x1963e5[_0x14078a(0x1b0)]=_0x14078a(0x1b4)+_0x5d4b04[_0x14078a(0x1b0)]+_0x14078a(0x1ba),_0x49251b[_0x14078a(0x1d0)][_0x14078a(0x1f6)](_0x1963e5);const _0x3d6200=_0x49251b[_0x14078a(0x1f2)]();_0x3d6200[_0x14078a(0x1cc)](_0x1963e5[_0x14078a(0x1c5)]),_0x3d6200[_0x14078a(0x1c1)](_0x1963e5[_0x14078a(0x1db)]);const _0x31bd8e=_0x43d268[_0x14078a(0x1de)]();_0x31bd8e[_0x14078a(0x1d3)](),_0x31bd8e[_0x14078a(0x1d4)](_0x3d6200),_0x49251b[_0x14078a(0x1b2)](_0x14078a(0x1fa)),_0x1963e5[_0x14078a(0x1bf)]();}}}export class ContentFieldView extends _0x501a74{constructor(_0x57da32,_0x3d4e75=''){const _0xaa0b53=_0x45a001;super(_0x57da32),this[_0xaa0b53(0x1b9)]=this[_0xaa0b53(0x1ce)](),this[_0xaa0b53(0x1c7)]({'tag':_0xaa0b53(0x1c6),'attributes':{'class':['ck',_0xaa0b53(0x1ed),_0x3d4e75,_0xaa0b53(0x1ea),_0xaa0b53(0x1ec)]}});}[_0x45a001(0x203)](_0x4447fe){const _0x432690=_0x45a001;this[_0x432690(0x1bb)][_0x432690(0x1b0)]=_0x4447fe;}[_0x45a001(0x1d5)](){const _0x18afc9=_0x45a001;this[_0x18afc9(0x1bb)][_0x18afc9(0x1f6)](this[_0x18afc9(0x1b9)][_0x18afc9(0x1bb)]);}[_0x45a001(0x1ce)](){const _0x32514a=_0x45a001,_0x3692ca=new _0x501a74(),_0x5ba580=this[_0x32514a(0x1e9)],_0x2b786d=new _0x5b1449();return _0x2b786d[_0x32514a(0x1f4)]=!0x0,_0x3692ca[_0x32514a(0x1c7)]({'tag':_0x32514a(0x1c6),'attributes':{'class':['ck',_0x32514a(0x1c4)]},'children':[_0x2b786d,{'text':_0x5b3765(_0x5ba580,_0x32514a(0x1d2))}]}),_0x3692ca[_0x32514a(0x201)](),_0x3692ca;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5ad5(_0x3afd74,_0x272705){const _0x12c617=_0x12c6();return _0x5ad5=function(_0x5ad508,_0x2dc837){_0x5ad508=_0x5ad508-0x118;let _0x175444=_0x12c617[_0x5ad508];return _0x175444;},_0x5ad5(_0x3afd74,_0x272705);}(function(_0x8e4d93,_0x4a7a5c){const _0xfd972f=_0x5ad5,_0x482af8=_0x8e4d93();while(!![]){try{const _0x4b736c=parseInt(_0xfd972f(0x118))/0x1*(parseInt(_0xfd972f(0x11b))/0x2)+-parseInt(_0xfd972f(0x123))/0x3*(-parseInt(_0xfd972f(0x11a))/0x4)+-parseInt(_0xfd972f(0x121))/0x5*(-parseInt(_0xfd972f(0x11d))/0x6)+-parseInt(_0xfd972f(0x128))/0x7+-parseInt(_0xfd972f(0x127))/0x8+parseInt(_0xfd972f(0x125))/0x9+-parseInt(_0xfd972f(0x122))/0xa;if(_0x4b736c===_0x4a7a5c)break;else _0x482af8['push'](_0x482af8['shift']());}catch(_0x562167){_0x482af8['push'](_0x482af8['shift']());}}}(_0x12c6,0xb86fe));import{IconError as _0x2c9c64}from'ckeditor5/src/icons.js';import{View as _0x1069d6,IconView as _0xea3d91}from'ckeditor5/src/ui.js';function _0x12c6(){const _0x513db5=['set','753988axpceq','2sgPnfG','div','18qWibJf','ck-ai-form__error','text','content','2400125hgxhtG','9269470PwPsQY','3wvtbhB','bindTemplate','4212954pFfJOP','setTemplate','1229224TgcxVE','9805131qqhHGe','1140109dqARhY'];_0x12c6=function(){return _0x513db5;};return _0x12c6();}export class AIFormErrorView extends _0x1069d6{constructor(_0x25468c,_0x28e17d=''){const _0x42ec81=_0x5ad5;super(_0x25468c);const _0x4ad9dc=new _0xea3d91(),_0x534cc7=this[_0x42ec81(0x124)];this[_0x42ec81(0x119)](_0x42ec81(0x11f),_0x28e17d),_0x4ad9dc[_0x42ec81(0x120)]=_0x2c9c64,this[_0x42ec81(0x126)]({'tag':_0x42ec81(0x11c),'attributes':{'class':['ck',_0x42ec81(0x11e)]},'children':[_0x4ad9dc,{'text':_0x534cc7['to'](_0x42ec81(0x11f))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f91cd=_0x50c9;(function(_0x22907d,_0x49ac3c){const _0x2bb404=_0x50c9,_0x2905f1=_0x22907d();while(!![]){try{const _0x447488=-parseInt(_0x2bb404(0x174))/0x1+parseInt(_0x2bb404(0x17f))/0x2+parseInt(_0x2bb404(0x17b))/0x3*(-parseInt(_0x2bb404(0x15e))/0x4)+parseInt(_0x2bb404(0x160))/0x5*(-parseInt(_0x2bb404(0x156))/0x6)+parseInt(_0x2bb404(0x14c))/0x7*(-parseInt(_0x2bb404(0x173))/0x8)+parseInt(_0x2bb404(0x161))/0x9+parseInt(_0x2bb404(0x150))/0xa;if(_0x447488===_0x49ac3c)break;else _0x2905f1['push'](_0x2905f1['shift']());}catch(_0x2f9909){_0x2905f1['push'](_0x2905f1['shift']());}}}(_0x2040,0x78ec6));function _0x2040(){const _0xb3be26=['width','bind','value','submit','Submit','History','resultsView','filteredView','minRows','focusableChildren','enter','requestAnimationFrame','40JmwAfS','883778SqMMDt','queryView','ck-ai-form__toggle-history','excludeScrollbarsAndBorders','maxRows','execute','target','3xPFQON','ck-ai-form__submit','element','render','985854zUtlcH','showHistoryButtonView','keystrokes','isEnabled','rtl','add','_createShowHistoryButton','1222046bPmYFL','isEmpty','window','style','20649360jqKmjQ','set','focusCycler','focus','fire','right','12sspwYe','uiLanguageDirection','_createSubmitButton','focusLast','locale','children','focusFirst','fieldView','3344840XyLeoc','submitButtonView','60745RLJqZE','4991535uOnJau','update','fieldWrapperChildren','isOn','left','isVisible'];_0x2040=function(){return _0xb3be26;};return _0x2040();}import{Rect as _0x4ced94,global as _0x23ce30,isVisible as _0x59fcc8}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x596d35,IconSubmit as _0x536be5}from'ckeditor5/src/icons.js';import{AutocompleteView as _0xb7dfc4,ButtonView as _0x9d13ef}from'ckeditor5/src/ui.js';function _0x50c9(_0x3bc11b,_0x3df145){const _0x2040ff=_0x2040();return _0x50c9=function(_0x50c96b,_0x40fc31){_0x50c96b=_0x50c96b-0x149;let _0x3ed830=_0x2040ff[_0x50c96b];return _0x3ed830;},_0x50c9(_0x3bc11b,_0x3df145);}import{getTranslation as _0x3866ac}from'../../utils/common-translations.js';export class AIFormPromptView extends _0xb7dfc4{[_0x2f91cd(0x15f)];[_0x2f91cd(0x180)];constructor(_0x5f583b,_0x5159ca){const _0x549576=_0x2f91cd;super(_0x5f583b,_0x5159ca),this[_0x549576(0x175)][_0x549576(0x15d)][_0x549576(0x16f)]=0x1,this[_0x549576(0x175)][_0x549576(0x15d)][_0x549576(0x178)]=0x3,this[_0x549576(0x15f)]=this[_0x549576(0x158)](),this[_0x549576(0x180)]=this[_0x549576(0x14b)](),this[_0x549576(0x170)][_0x549576(0x14a)](this[_0x549576(0x180)],0x1),this[_0x549576(0x170)][_0x549576(0x14a)](this[_0x549576(0x15f)]);}[_0x2f91cd(0x17e)](){const _0x26a9ca=_0x2f91cd;super[_0x26a9ca(0x17e)](),this[_0x26a9ca(0x175)][_0x26a9ca(0x163)][_0x26a9ca(0x14a)](this[_0x26a9ca(0x180)]),this[_0x26a9ca(0x15b)][_0x26a9ca(0x14a)](this[_0x26a9ca(0x15f)]),this[_0x26a9ca(0x181)][_0x26a9ca(0x151)](_0x26a9ca(0x171),(_0x5555bc,_0x2773d8)=>{const _0x31693f=_0x26a9ca;_0x5555bc[_0x31693f(0x17a)]==this[_0x31693f(0x175)][_0x31693f(0x15d)][_0x31693f(0x17d)]&&(this[_0x31693f(0x16a)](),_0x2773d8());});}[_0x2f91cd(0x158)](){const _0x59fcbf=_0x2f91cd,_0x4f52cd=new _0x9d13ef(this[_0x59fcbf(0x15a)]),_0x29ec70=this[_0x59fcbf(0x15a)];return _0x4f52cd[_0x59fcbf(0x151)]({'icon':_0x536be5,'label':_0x3866ac(_0x29ec70,_0x59fcbf(0x16b)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x59fcbf(0x17c)}),_0x4f52cd['on'](_0x59fcbf(0x179),()=>{const _0x16c260=_0x59fcbf;this[_0x16c260(0x16a)]();}),_0x4f52cd[_0x59fcbf(0x168)](_0x59fcbf(0x182))['to'](this[_0x59fcbf(0x175)][_0x59fcbf(0x15d)],_0x59fcbf(0x14d),this,_0x59fcbf(0x182),(_0x443286,_0x58c1f7)=>!_0x443286&&_0x58c1f7),_0x4f52cd;}[_0x2f91cd(0x14b)](){const _0x610d93=_0x2f91cd,_0x23c1f6=new _0x9d13ef(this[_0x610d93(0x15a)]),_0x80e74c=this[_0x610d93(0x16d)],_0x65d9c2=this[_0x610d93(0x15a)];_0x23c1f6[_0x610d93(0x151)]({'label':_0x3866ac(_0x65d9c2,_0x610d93(0x16c)),'withText':!0x1,'icon':_0x596d35,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x610d93(0x176)}),_0x23c1f6[_0x610d93(0x168)](_0x610d93(0x164))['to'](_0x80e74c,_0x610d93(0x166)),_0x23c1f6[_0x610d93(0x168)](_0x610d93(0x182))['to'](this,_0x610d93(0x182)),_0x23c1f6['on'](_0x610d93(0x179),()=>{const _0x5a539f=_0x610d93;_0x80e74c[_0x5a539f(0x166)]=!_0x80e74c[_0x5a539f(0x166)],_0x80e74c[_0x5a539f(0x166)]?this[_0x5a539f(0x16e)][_0x5a539f(0x153)]():this[_0x5a539f(0x153)]();});const _0x4a054f=()=>{const _0xde6402=_0x610d93;_0x23ce30[_0xde6402(0x14e)][_0xde6402(0x172)](()=>{const _0x30e92c=_0xde6402;if(_0x59fcc8(this[_0x30e92c(0x17d)])){const _0xaf1f37=new _0x4ced94(this[_0x30e92c(0x175)][_0x30e92c(0x15d)][_0x30e92c(0x17d)]),_0x367bdf=_0xaf1f37[_0x30e92c(0x167)],_0x5f3bc6=_0x30e92c(0x149)===_0x65d9c2[_0x30e92c(0x157)]?_0x30e92c(0x165):_0x30e92c(0x155);_0xaf1f37[_0x30e92c(0x177)](),_0x23c1f6[_0x30e92c(0x17d)][_0x30e92c(0x14f)][_0x5f3bc6]=_0x367bdf-_0xaf1f37[_0x30e92c(0x167)]+0x1+'px';}});};return this[_0x610d93(0x175)][_0x610d93(0x15d)]['on'](_0x610d93(0x162),_0x4a054f),this['on'](_0x610d93(0x17e),_0x4a054f),_0x23c1f6;}[_0x2f91cd(0x16a)](){const _0x576d91=_0x2f91cd,_0x3022f2=this[_0x576d91(0x175)][_0x576d91(0x15d)][_0x576d91(0x17d)][_0x576d91(0x169)];this[_0x576d91(0x154)](_0x576d91(0x16a),_0x3022f2);}[_0x2f91cd(0x153)](_0x180b9d){const _0x44c8d9=_0x2f91cd;-0x1===_0x180b9d?this[_0x44c8d9(0x152)][_0x44c8d9(0x159)]():this[_0x44c8d9(0x152)][_0x44c8d9(0x15c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c5f85=_0x3332;(function(_0x548701,_0x1f3f3d){const _0x1b75a1=_0x3332,_0x1058a4=_0x548701();while(!![]){try{const _0x4ad17d=-parseInt(_0x1b75a1(0x11f))/0x1+-parseInt(_0x1b75a1(0x114))/0x2+parseInt(_0x1b75a1(0x119))/0x3+-parseInt(_0x1b75a1(0x110))/0x4+parseInt(_0x1b75a1(0x115))/0x5+parseInt(_0x1b75a1(0x130))/0x6+parseInt(_0x1b75a1(0x10e))/0x7*(-parseInt(_0x1b75a1(0x116))/0x8);if(_0x4ad17d===_0x1f3f3d)break;else _0x1058a4['push'](_0x1058a4['shift']());}catch(_0x3d4d73){_0x1058a4['push'](_0x1058a4['shift']());}}}(_0x50e6,0x5f9f2));import{ToolbarView as _0x324d7b,ButtonView as _0x441118}from'ckeditor5/src/ui.js';import{getTranslation as _0x2cbbd1}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1c5f85(0x11b),'INSERT':_0x1c5f85(0x126)};function _0x3332(_0x3c9feb,_0xfcca4d){const _0x50e647=_0x50e6();return _0x3332=function(_0x333281,_0x501c87){_0x333281=_0x333281-0x10e;let _0x1c59e5=_0x50e647[_0x333281];return _0x1c59e5;},_0x3332(_0x3c9feb,_0xfcca4d);}export class AIFormToolbarView extends _0x324d7b{constructor(_0x50548a){const _0x4758f4=_0x1c5f85;super(_0x50548a),this[_0x4758f4(0x12a)](_0x4758f4(0x12b),!0x1),this[_0x4758f4(0x12a)](_0x4758f4(0x118),AIFormToolbarViewMainActionLabel[_0x4758f4(0x128)]),this[_0x4758f4(0x113)]=this[_0x4758f4(0x120)]('',_0x4758f4(0x117)),this[_0x4758f4(0x113)][_0x4758f4(0x11a)](_0x4758f4(0x112))['to'](this,_0x4758f4(0x118),_0x751e41=>_0x2cbbd1(_0x50548a,_0x4758f4(0x111)+_0x751e41[_0x4758f4(0x10f)]()+_0x4758f4(0x11e))),this[_0x4758f4(0x12e)]=this[_0x4758f4(0x120)](_0x2cbbd1(_0x50548a,_0x4758f4(0x12c))),this[_0x4758f4(0x125)]=this[_0x4758f4(0x120)](_0x2cbbd1(_0x50548a,_0x4758f4(0x11c))),this[_0x4758f4(0x124)]=this[_0x4758f4(0x120)](_0x2cbbd1(_0x50548a,_0x4758f4(0x129)));const _0x3e4d26=this[_0x4758f4(0x127)];this[_0x4758f4(0x123)]({'attributes':{'class':[_0x4758f4(0x12f),_0x3e4d26['if'](_0x4758f4(0x12b),_0x4758f4(0x11d),_0xa5b2bd=>!_0xa5b2bd)]}}),this[_0x4758f4(0x12d)][_0x4758f4(0x122)]([this[_0x4758f4(0x113)],this[_0x4758f4(0x12e)],this[_0x4758f4(0x125)],this[_0x4758f4(0x124)]]);}[_0x1c5f85(0x120)](_0x3dae94,_0xc20c93){const _0x2366aa=_0x1c5f85,_0x19af7d=new _0x441118(this[_0x2366aa(0x121)]);return _0x19af7d[_0x2366aa(0x12a)]({'label':_0x3dae94,'class':_0xc20c93||'','isVisible':!0x0,'withText':!0x0}),_0x19af7d;}}function _0x50e6(){const _0x4bbcbd=['items','insertButton','ck-ai-form__toolbar','2531586lmkAly','7NvcYbe','toUpperCase','1554712qbbkCP','AI_','label','replaceButton','263488aLdkUA','2318155CJPcDa','7000vkZOBF','ck-button-action','mainAction','533172MznjOG','bind','replace','Try\x20again','ck-hidden','_CONTENT','150323ArqKbI','_createButton','locale','addMany','extendTemplate','stopButton','tryAgainButton','insert','bindTemplate','REPLACE','Stop','set','isVisible','Insert\x20below'];_0x50e6=function(){return _0x4bbcbd;};return _0x50e6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x34c6(_0x4ddb0f,_0x4db338){const _0x2a5031=_0x2a50();return _0x34c6=function(_0x34c62c,_0x546890){_0x34c62c=_0x34c62c-0x116;let _0x101fe1=_0x2a5031[_0x34c62c];return _0x101fe1;},_0x34c6(_0x4ddb0f,_0x4db338);}const _0x3c8328=_0x34c6;(function(_0x3da487,_0x2b2515){const _0x3e161b=_0x34c6,_0x430f9a=_0x3da487();while(!![]){try{const _0x70566=parseInt(_0x3e161b(0x162))/0x1+parseInt(_0x3e161b(0x146))/0x2*(parseInt(_0x3e161b(0x157))/0x3)+-parseInt(_0x3e161b(0x166))/0x4*(parseInt(_0x3e161b(0x12e))/0x5)+-parseInt(_0x3e161b(0x140))/0x6+-parseInt(_0x3e161b(0x153))/0x7+-parseInt(_0x3e161b(0x14a))/0x8+parseInt(_0x3e161b(0x151))/0x9*(parseInt(_0x3e161b(0x11c))/0xa);if(_0x70566===_0x2b2515)break;else _0x430f9a['push'](_0x430f9a['shift']());}catch(_0x48d098){_0x430f9a['push'](_0x430f9a['shift']());}}}(_0x2a50,0x4c6c3));import{FocusTracker as _0x5e138c,KeystrokeHandler as _0x1b9faa}from'ckeditor5/src/utils.js';import{View as _0x4959b2,FocusCycler as _0xebc91d,createLabeledTextarea as _0x9c757e}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x332cc2,AIFormToolbarViewMainActionLabel as _0x22d2e1}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x1f8274}from'./aiformcontentarea.js';import{AIFormErrorView as _0x4cc35c}from'./aiformerrorview.js';function _0x2a50(){const _0x258265=['shift\x20+\x20tab','focus','locale','focusTracker','replaceButton','_createHistoryView','promptView','2662600QtcmRg','tryAgainEvent','_promptHistory','div','prompt','isVisible','_createToolbar','render','stopProcessing','value','errorView','ck-ai-form-content','tab','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','_focusables','ck-hidden','isProcessing','REPLACE','96765PpCPCC','add','trim','AI_ERROR_FAILED','insertButton','fire','delegate','finishProcessing','queryView','_createPromptView','bind','tryAgainButton','focusFirst','createCollection','clearHistory','keystrokes','label','reset','608472iqoBqg','search','element','stopButton','insertContentBelow','high','891578PsHoPM','items','replaceContent','chain','4667576djJKgT','startProcessing','isError','handleError','copyButtonView','text','submitPrompt','18VhkUYi','submit','607306fSgIfu','mainAction','Ask\x20AI\x20to\x20improve\x20generated\x20text','execute','3zbNisd','bindTemplate','isEnabled','clear','bindTo','set','focusLast','setTemplate','Empty\x20history','fieldView','focusCycler','203100VDFXcr','toolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','listenTo','20DGBFXT','ck-ai-form','historyGroupView','contentArea'];_0x2a50=function(){return _0x258265;};return _0x2a50();}import{AIFormPromptView as _0x48c04a}from'./aiformpromptview.js';import{AIHistoryListView as _0x390594}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x4bf6c2}from'./aihistorylistitemview.js';import{PromptHistory as _0x5772a2}from'./prompthistory.js';import{getTranslation as _0x352912}from'../../utils/common-translations.js';import{escape as _0x2114dd}from'es-toolkit/compat';export class AIFormView extends _0x4959b2{[_0x3c8328(0x118)];[_0x3c8328(0x13d)];[_0x3c8328(0x169)];[_0x3c8328(0x163)];[_0x3c8328(0x11b)];[_0x3c8328(0x126)];[_0x3c8328(0x12a)];[_0x3c8328(0x161)];[_0x3c8328(0x11e)];constructor(_0x4a9886,_0x631b86,_0xaf5df9=''){const _0x2aa9e9=_0x3c8328;super(_0x4a9886),this[_0x2aa9e9(0x15c)](_0x2aa9e9(0x159),!0x0),this[_0x2aa9e9(0x15c)](_0x2aa9e9(0x12c),!0x1),this[_0x2aa9e9(0x15c)](_0x2aa9e9(0x120),''),this[_0x2aa9e9(0x15c)](_0x2aa9e9(0x125),''),this[_0x2aa9e9(0x15c)](_0x2aa9e9(0x14c),!0x1),this[_0x2aa9e9(0x15c)](_0x2aa9e9(0x154),_0x22d2e1[_0x2aa9e9(0x12d)]),this[_0x2aa9e9(0x11e)]=new _0x5772a2(),this[_0x2aa9e9(0x126)]=new _0x4cc35c(_0x4a9886),this[_0x2aa9e9(0x169)]=new _0x1f8274(_0x4a9886,_0xaf5df9),this[_0x2aa9e9(0x169)][_0x2aa9e9(0x138)](_0x2aa9e9(0x12c))['to'](this),this[_0x2aa9e9(0x169)][_0x2aa9e9(0x138)](_0x2aa9e9(0x125))['to'](this),this[_0x2aa9e9(0x163)]=this[_0x2aa9e9(0x122)](),this[_0x2aa9e9(0x163)][_0x2aa9e9(0x138)](_0x2aa9e9(0x154))['to'](this),this[_0x2aa9e9(0x11b)]=this[_0x2aa9e9(0x137)](),this[_0x2aa9e9(0x118)]=new _0x5e138c(),this[_0x2aa9e9(0x13d)]=new _0x1b9faa(),this[_0x2aa9e9(0x12a)]=this[_0x2aa9e9(0x13b)]([this[_0x2aa9e9(0x169)],this[_0x2aa9e9(0x169)][_0x2aa9e9(0x14e)],this[_0x2aa9e9(0x163)],this[_0x2aa9e9(0x11b)]]),this[_0x2aa9e9(0x161)]=new _0xebc91d({'focusables':this[_0x2aa9e9(0x12a)],'focusTracker':this[_0x2aa9e9(0x118)],'keystrokeHandler':this[_0x2aa9e9(0x13d)],'actions':{'focusPrevious':_0x2aa9e9(0x16a),'focusNext':_0x2aa9e9(0x128)}}),this[_0x2aa9e9(0x161)][_0x2aa9e9(0x149)](this[_0x2aa9e9(0x11b)][_0x2aa9e9(0x161)]),this[_0x2aa9e9(0x11b)][_0x2aa9e9(0x136)][_0x2aa9e9(0x160)][_0x2aa9e9(0x138)](_0x2aa9e9(0x125))['to'](this,_0x2aa9e9(0x120));const _0x10960a=this[_0x2aa9e9(0x158)];this[_0x2aa9e9(0x15e)]({'tag':_0x2aa9e9(0x11f),'attributes':{'class':['ck',_0x2aa9e9(0x167),_0x631b86],'tabindex':'-1'},'children':[{'tag':_0x2aa9e9(0x11f),'attributes':{'class':['ck',_0x2aa9e9(0x127)]},'children':[{'tag':_0x2aa9e9(0x11f),'attributes':{'class':[_0x10960a['if'](_0x2aa9e9(0x14c),_0x2aa9e9(0x12b),_0x134f34=>!_0x134f34)]},'children':[this[_0x2aa9e9(0x126)]]},this[_0x2aa9e9(0x169)],this[_0x2aa9e9(0x163)],this[_0x2aa9e9(0x11b)]]}]});}[_0x3c8328(0x123)](){const _0x574171=_0x3c8328;super[_0x574171(0x123)](),this[_0x574171(0x118)][_0x574171(0x12f)](this[_0x574171(0x169)][_0x574171(0x142)]),this[_0x574171(0x118)][_0x574171(0x12f)](this[_0x574171(0x169)][_0x574171(0x14e)][_0x574171(0x142)]),this[_0x574171(0x118)][_0x574171(0x12f)](this[_0x574171(0x163)][_0x574171(0x142)]),this[_0x574171(0x118)][_0x574171(0x12f)](this[_0x574171(0x11b)][_0x574171(0x142)]),this[_0x574171(0x13d)][_0x574171(0x165)](this[_0x574171(0x142)]);}[_0x3c8328(0x116)](_0x3d9c1b=0x1){const _0x937cdf=_0x3c8328;-0x1===_0x3d9c1b?this[_0x937cdf(0x161)][_0x937cdf(0x15d)]():this[_0x937cdf(0x161)][_0x937cdf(0x13a)]();}[_0x3c8328(0x13f)](){const _0x49756e=_0x3c8328;this[_0x49756e(0x120)]='',this[_0x49756e(0x125)]='',this[_0x49756e(0x14c)]=!0x1,this[_0x49756e(0x11b)][_0x49756e(0x13f)](),this[_0x49756e(0x169)][_0x49756e(0x121)]=!0x1,this[_0x49756e(0x163)][_0x49756e(0x121)]=!0x1;}[_0x3c8328(0x137)](){const _0x1437de=_0x3c8328,_0x372d9f=this[_0x1437de(0x117)],_0x1b93ca=new _0x48c04a(_0x372d9f,{'queryView':{'label':_0x352912(_0x372d9f,_0x1437de(0x164)),'creator':_0x9c757e,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x352912(_0x372d9f,_0x1437de(0x15f)),'secondary':_0x352912(_0x372d9f,_0x1437de(0x129))}}},'filteredView':this[_0x1437de(0x11a)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1b93ca[_0x1437de(0x138)](_0x1437de(0x159))['to'](this,_0x1437de(0x159),this,_0x1437de(0x12c),(_0x550349,_0x139952)=>_0x550349&&!_0x139952),this[_0x1437de(0x165)](_0x1b93ca,_0x1437de(0x152),(_0x5b4c6f,_0x1f1eb0)=>{const _0x25c4c5=_0x1437de;this[_0x25c4c5(0x120)]=_0x1f1eb0;const _0x57952f=_0x2114dd(_0x1f1eb0);this[_0x25c4c5(0x133)](_0x25c4c5(0x150),_0x57952f),_0x1f1eb0[_0x25c4c5(0x130)]()&&this[_0x25c4c5(0x11e)][_0x25c4c5(0x12f)]({'prompt':_0x57952f},0x0);},{'priority':_0x1437de(0x145)}),_0x1b93ca;}[_0x3c8328(0x11a)](){const _0x428077=_0x3c8328,_0x29696d=new _0x390594(this[_0x428077(0x117)]);return _0x29696d[_0x428077(0x168)][_0x428077(0x147)][_0x428077(0x15b)](this[_0x428077(0x11e)])['as'](_0x4bf6c2),_0x29696d['on'](_0x428077(0x13c),()=>{const _0x773b9=_0x428077;this[_0x773b9(0x11e)][_0x773b9(0x15a)](),this[_0x773b9(0x11b)][_0x773b9(0x141)](''),this[_0x773b9(0x11b)][_0x773b9(0x116)]();}),_0x29696d;}[_0x3c8328(0x122)](){const _0x37aa6d=_0x3c8328,_0x5526c7=new _0x332cc2(this[_0x37aa6d(0x117)]);return _0x5526c7[_0x37aa6d(0x119)][_0x37aa6d(0x138)](_0x37aa6d(0x159))['to'](this,_0x37aa6d(0x159),this,_0x37aa6d(0x12c),this,_0x37aa6d(0x125),(_0x44bd11,_0x525e24,_0x26f97e)=>_0x44bd11&&!_0x525e24&&!!_0x26f97e),_0x5526c7[_0x37aa6d(0x119)][_0x37aa6d(0x134)](_0x37aa6d(0x156))['to'](this,_0x37aa6d(0x148)),_0x5526c7[_0x37aa6d(0x132)][_0x37aa6d(0x138)](_0x37aa6d(0x159))['to'](this,_0x37aa6d(0x159),this,_0x37aa6d(0x12c),this,_0x37aa6d(0x125),(_0x2ac484,_0x117001,_0x25fb86)=>_0x2ac484&&!_0x117001&&!!_0x25fb86),_0x5526c7[_0x37aa6d(0x132)][_0x37aa6d(0x134)](_0x37aa6d(0x156))['to'](this,_0x37aa6d(0x144)),_0x5526c7[_0x37aa6d(0x139)][_0x37aa6d(0x138)](_0x37aa6d(0x159))['to'](this,_0x37aa6d(0x159),this,_0x37aa6d(0x12c),(_0x53bc2d,_0x3fb950)=>_0x53bc2d&&!_0x3fb950),_0x5526c7[_0x37aa6d(0x139)][_0x37aa6d(0x134)](_0x37aa6d(0x156))['to'](this,_0x37aa6d(0x11d)),_0x5526c7[_0x37aa6d(0x143)][_0x37aa6d(0x138)](_0x37aa6d(0x159))['to'](this,_0x37aa6d(0x12c)),_0x5526c7[_0x37aa6d(0x143)][_0x37aa6d(0x134)](_0x37aa6d(0x156))['to'](this,_0x37aa6d(0x124)),_0x5526c7;}[_0x3c8328(0x14b)](){const _0x48fa23=_0x3c8328;this[_0x48fa23(0x125)]='',this[_0x48fa23(0x14c)]=!0x1,this[_0x48fa23(0x12c)]=!0x0,this[_0x48fa23(0x169)][_0x48fa23(0x121)]=!0x0,this[_0x48fa23(0x163)][_0x48fa23(0x121)]=!0x0,this[_0x48fa23(0x169)][_0x48fa23(0x116)]();}[_0x3c8328(0x135)](){const _0x159697=_0x3c8328,_0x400165=this[_0x159697(0x117)];this[_0x159697(0x12c)]=!0x1,this[_0x159697(0x120)]='',this[_0x159697(0x11b)][_0x159697(0x13f)](),this[_0x159697(0x125)]&&(this[_0x159697(0x11b)][_0x159697(0x136)][_0x159697(0x13e)]=_0x352912(_0x400165,_0x159697(0x155)));}[_0x3c8328(0x14d)](_0x4ea5d1){const _0x25fb6a=_0x3c8328,_0x29988c=this[_0x25fb6a(0x117)];this[_0x25fb6a(0x135)](),this[_0x25fb6a(0x14c)]=!0x0,this[_0x25fb6a(0x126)][_0x25fb6a(0x14f)]=_0x4ea5d1||_0x352912(_0x29988c,_0x25fb6a(0x131)),this[_0x25fb6a(0x125)]||(this[_0x25fb6a(0x169)][_0x25fb6a(0x121)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x326284,_0x277eae){const _0x2101b1=_0x23aa,_0x18698b=_0x326284();while(!![]){try{const _0x62debe=-parseInt(_0x2101b1(0x1f7))/0x1*(-parseInt(_0x2101b1(0x1f5))/0x2)+-parseInt(_0x2101b1(0x1f0))/0x3+-parseInt(_0x2101b1(0x1ef))/0x4*(-parseInt(_0x2101b1(0x1fa))/0x5)+-parseInt(_0x2101b1(0x1f9))/0x6+parseInt(_0x2101b1(0x1f2))/0x7+parseInt(_0x2101b1(0x1f1))/0x8*(-parseInt(_0x2101b1(0x1ed))/0x9)+parseInt(_0x2101b1(0x1ec))/0xa*(parseInt(_0x2101b1(0x1f3))/0xb);if(_0x62debe===_0x277eae)break;else _0x18698b['push'](_0x18698b['shift']());}catch(_0x21ebc9){_0x18698b['push'](_0x18698b['shift']());}}}(_0x3a1e,0xd2a64));import{ListItemView as _0x5e0d52,ButtonView as _0x5e2918,ButtonLabelView as _0x177c9a}from'ckeditor5/src/ui.js';function _0x23aa(_0x3f7c95,_0x1e3398){const _0x3a1e21=_0x3a1e();return _0x23aa=function(_0x23aa12,_0x27f0c6){_0x23aa12=_0x23aa12-0x1ea;let _0x27729c=_0x3a1e21[_0x23aa12];return _0x27729c;},_0x23aa(_0x3f7c95,_0x1e3398);}function _0x3a1e(){const _0x3f8a32=['63dVWoXG','children','3218532DhCdKc','768915eRLXBh','1537352oJMqDz','449085GvvxRI','11aeGjLn','set','2LuRgla','prompt','964001tpRKJM','add','9334218fLGodU','5irgWou','fire','locale','execute','21872220VJrZLd'];_0x3a1e=function(){return _0x3f8a32;};return _0x3a1e();}import{unescape as _0x4121b8}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x5e0d52{constructor(_0xf4f808){const _0x3b9b70=_0x23aa;super();const _0x2ef743=new _0x177c9a(),_0x9542fe=new _0x5e2918(this[_0x3b9b70(0x1ea)],_0x2ef743);this[_0x3b9b70(0x1ee)][_0x3b9b70(0x1f8)](_0x9542fe),_0x9542fe[_0x3b9b70(0x1f4)]({'label':_0xf4f808[_0x3b9b70(0x1f6)],'withText':!0x0}),_0x9542fe['on'](_0x3b9b70(0x1eb),()=>{const _0xb9d880=_0x3b9b70;this[_0xb9d880(0x1fb)](_0xb9d880(0x1eb),{'value':_0x4121b8(_0xf4f808[_0xb9d880(0x1f6)])});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x129f5e=_0x2d5c;(function(_0x1e421a,_0xa025c4){const _0x1c4e3c=_0x2d5c,_0x4442cb=_0x1e421a();while(!![]){try{const _0xdc011d=parseInt(_0x1c4e3c(0xcf))/0x1*(-parseInt(_0x1c4e3c(0xe7))/0x2)+parseInt(_0x1c4e3c(0xe6))/0x3*(-parseInt(_0x1c4e3c(0xd2))/0x4)+parseInt(_0x1c4e3c(0xe4))/0x5+-parseInt(_0x1c4e3c(0xd7))/0x6+-parseInt(_0x1c4e3c(0xe0))/0x7*(parseInt(_0x1c4e3c(0xe8))/0x8)+-parseInt(_0x1c4e3c(0xde))/0x9*(-parseInt(_0x1c4e3c(0xdc))/0xa)+parseInt(_0x1c4e3c(0xd9))/0xb*(parseInt(_0x1c4e3c(0xea))/0xc);if(_0xdc011d===_0xa025c4)break;else _0x4442cb['push'](_0x4442cb['shift']());}catch(_0x38ad18){_0x4442cb['push'](_0x4442cb['shift']());}}}(_0x5670,0x6ee08));import{ListView as _0x6d63cf,ListItemGroupView as _0x180525,ButtonView as _0x2d6d8a}from'ckeditor5/src/ui.js';import{getTranslation as _0x24eeab}from'../../utils/common-translations.js';function _0x5670(){const _0x50d094=['length','Prompt\x20history','3694950opjuCz','filter','6961350kLJQki','historyGroupView','set','651870FOQQAl','delegate','27kkfzES','clearHistoryButton','1179668IUiAyC','Clear','items','fire','3608950cHHsXe','execute','50016YvgTBL','8GrmizJ','24Ezlzgc','clearHistory','36YOKKsr','add','122528EZbiUR','_createClearHistoryButton','label','180WhQEhA','locale','children'];_0x5670=function(){return _0x50d094;};return _0x5670();}function _0x2d5c(_0x5c4262,_0x1a63ba){const _0x5670a9=_0x5670();return _0x2d5c=function(_0x2d5cdd,_0x5d8cd0){_0x2d5cdd=_0x2d5cdd-0xcf;let _0x572ee0=_0x5670a9[_0x2d5cdd];return _0x572ee0;},_0x2d5c(_0x5c4262,_0x1a63ba);}export class AIHistoryListView extends _0x6d63cf{[_0x129f5e(0xda)];[_0x129f5e(0xdf)];constructor(_0x498904){const _0x42d55d=_0x129f5e;super(_0x498904),this[_0x42d55d(0xdf)]=this[_0x42d55d(0xd0)](),this[_0x42d55d(0xda)]=new _0x180525(),this[_0x42d55d(0xda)][_0x42d55d(0xd4)][_0x42d55d(0xeb)](this[_0x42d55d(0xdf)],0x1),this[_0x42d55d(0xda)][_0x42d55d(0xd1)]=_0x24eeab(_0x498904,_0x42d55d(0xd6)),this[_0x42d55d(0xda)][_0x42d55d(0xe2)][_0x42d55d(0xdd)](_0x42d55d(0xe5))['to'](this),this[_0x42d55d(0xe2)][_0x42d55d(0xeb)](this[_0x42d55d(0xda)]);}[_0x129f5e(0xd8)](){const _0x4c17b8=_0x129f5e;let _0x2336ce=0x0;for(const _0x2361a8 of this[_0x4c17b8(0xe2)])_0x2336ce+=_0x2361a8[_0x4c17b8(0xe2)][_0x4c17b8(0xd5)];return{'resultsCount':_0x2336ce,'totalItemsCount':_0x2336ce};}[_0x129f5e(0xd0)](){const _0x125d2b=_0x129f5e,_0x79d3a8=this[_0x125d2b(0xd3)],_0x536c4f=new _0x2d6d8a(this[_0x125d2b(0xd3)]);return _0x536c4f[_0x125d2b(0xdb)]({'label':'('+_0x24eeab(_0x79d3a8,_0x125d2b(0xe1))+')','withText':!0x0}),_0x536c4f['on'](_0x125d2b(0xe5),()=>this[_0x125d2b(0xe3)](_0x125d2b(0xe9))),_0x536c4f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20bf34=_0x1040;function _0x1040(_0x412183,_0x30fd50){const _0x182efb=_0x182e();return _0x1040=function(_0x104077,_0xe8c1e4){_0x104077=_0x104077-0x1eb;let _0x43c49a=_0x182efb[_0x104077];return _0x43c49a;},_0x1040(_0x412183,_0x30fd50);}(function(_0x1f1b3f,_0x204a23){const _0x290a1d=_0x1040,_0x2cf7a4=_0x1f1b3f();while(!![]){try{const _0x56507e=parseInt(_0x290a1d(0x1fd))/0x1*(-parseInt(_0x290a1d(0x1f5))/0x2)+-parseInt(_0x290a1d(0x1eb))/0x3+parseInt(_0x290a1d(0x1f0))/0x4*(-parseInt(_0x290a1d(0x1f6))/0x5)+parseInt(_0x290a1d(0x1ec))/0x6+-parseInt(_0x290a1d(0x1fe))/0x7*(-parseInt(_0x290a1d(0x1fc))/0x8)+-parseInt(_0x290a1d(0x1f3))/0x9*(parseInt(_0x290a1d(0x1f8))/0xa)+parseInt(_0x290a1d(0x1ef))/0xb;if(_0x56507e===_0x204a23)break;else _0x2cf7a4['push'](_0x2cf7a4['shift']());}catch(_0x1dab34){_0x2cf7a4['push'](_0x2cf7a4['shift']());}}}(_0x182e,0x496b8));import{Collection as _0x17ca48}from'ckeditor5/src/utils.js';const So=_0x20bf34(0x205);export class PromptHistory extends _0x17ca48{constructor(){const _0x73136f=_0x20bf34;super(),this[_0x73136f(0x200)](),this['on'](_0x73136f(0x203),(_0x13be80,_0x31a9f7)=>{const _0x32f03a=_0x73136f,_0xb9ea8a=vo(_0x31a9f7[_0x32f03a(0x201)]);for(const _0x1878e7 of this)if(_0x1878e7!=_0x31a9f7&&vo(_0x1878e7[_0x32f03a(0x201)])===_0xb9ea8a){this[_0x32f03a(0x202)](_0x1878e7);break;}this[_0x32f03a(0x1f1)]>0x14&&this[_0x32f03a(0x202)](this[_0x32f03a(0x1ff)]),this[_0x32f03a(0x1f4)]();}),this['on'](_0x73136f(0x202),()=>{const _0x56306d=_0x73136f;this[_0x56306d(0x1f4)]();});}[_0x20bf34(0x200)](){const _0x1248c5=_0x20bf34,_0x49b33d=sessionStorage[_0x1248c5(0x1fb)](So)||'[]';this[_0x1248c5(0x1fa)](JSON[_0x1248c5(0x1f9)](_0x49b33d));}[_0x20bf34(0x1f4)](){const _0x2fab76=_0x20bf34;sessionStorage[_0x2fab76(0x1f2)](So,JSON[_0x2fab76(0x204)](this[_0x2fab76(0x1ed)](_0x10726c=>_0x10726c)));}}function vo(_0x5c5507){const _0x4b374d=_0x20bf34;return _0x5c5507[_0x4b374d(0x1ee)]()[_0x4b374d(0x1f7)]();}function _0x182e(){const _0x419363=['38262pYUegq','last','_loadFromSessionStorage','prompt','remove','add','stringify','CKEditor/AIFormView/PromptHistory','538443PHfUcu','1292646XTtTla','map','toLowerCase','14305434ITQswk','1865456YwRJLr','length','setItem','3673827pYjvbH','_saveToSessionStorage','64786SsEGiK','5BjWQOC','trim','10LKcaWq','parse','addMany','getItem','96DTNKfe','7JTnirO'];_0x182e=function(){return _0x419363;};return _0x182e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x178e3b=_0x3b40;function _0x3b40(_0x5bcb1b,_0x5487d6){const _0x6fea7f=_0x6fea();return _0x3b40=function(_0x3b4048,_0x766dd8){_0x3b4048=_0x3b4048-0x75;let _0x30ebd7=_0x6fea7f[_0x3b4048];return _0x30ebd7;},_0x3b40(_0x5bcb1b,_0x5487d6);}(function(_0x3ebda0,_0x2cc4cd){const _0x325750=_0x3b40,_0x1b7533=_0x3ebda0();while(!![]){try{const _0xbdb534=-parseInt(_0x325750(0x7d))/0x1+-parseInt(_0x325750(0x98))/0x2*(-parseInt(_0x325750(0x91))/0x3)+-parseInt(_0x325750(0x9c))/0x4+-parseInt(_0x325750(0x90))/0x5*(-parseInt(_0x325750(0x78))/0x6)+-parseInt(_0x325750(0x83))/0x7*(parseInt(_0x325750(0x94))/0x8)+-parseInt(_0x325750(0x87))/0x9*(parseInt(_0x325750(0x86))/0xa)+parseInt(_0x325750(0x89))/0xb*(parseInt(_0x325750(0xa2))/0xc);if(_0xbdb534===_0x2cc4cd)break;else _0x1b7533['push'](_0x1b7533['shift']());}catch(_0x37c0dd){_0x1b7533['push'](_0x1b7533['shift']());}}}(_0x6fea,0x6ab3b));function _0x6fea(){const _0x4b851d=['config','set','includes','change:isEnabled','enabledCommandsIds','35rOBmdS','_commandDefinitions','element','10RKVvkk','709047HRTAfw','values','11OLHfLl','length','plugins','change:_hasContext','isCollapsed','refresh','name','150lmycHl','9318XKFZIW','getSelectedBlocks','_hasContext','474856TaTKHR','isEmpty','getFirstRange','get','106JaTFdU','ai.assistant.disabledElements','getItems','editor','3039344QRocYb','add','showUI','document','model','hasContent','17597148EDqNKt','getRanges','execute','isEnabled','154236pWbZgK','from','custom','selection','requiresContent','829772UuKNcZ'];_0x6fea=function(){return _0x4b851d;};return _0x6fea();}import{Command as _0x396e00}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x506664}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x396e00{[_0x178e3b(0x84)];constructor(_0x20c848,_0x446664){const _0x110b5d=_0x178e3b;super(_0x20c848),this[_0x110b5d(0x84)]=_0x446664,this[_0x110b5d(0x7f)](_0x110b5d(0x82),[]),this['on'](_0x110b5d(0x8c),(_0x3d20f3,_0x2c49a6,_0x3bddac)=>{const _0x4ba8c3=_0x110b5d;this[_0x4ba8c3(0x77)]&&(this[_0x4ba8c3(0x82)]=ns(this[_0x4ba8c3(0x84)],_0x3bddac));}),this[_0x110b5d(0x7f)](_0x110b5d(0x93),!0x1),this['on'](_0x110b5d(0x81),(_0x119d7c,_0x4f1168,_0x50730b)=>{const _0x3da577=_0x110b5d;this[_0x3da577(0x82)]=_0x50730b?ns(this[_0x3da577(0x84)],this[_0x3da577(0x93)]):[];});}[_0x178e3b(0x8e)](){const _0x3ebb4d=_0x178e3b,_0x3edf98=this[_0x3ebb4d(0x9b)][_0x3ebb4d(0xa0)];this[_0x3ebb4d(0x93)]=function(_0x4380c5){const _0x1820e3=_0x3ebb4d,_0x411ba3=_0x4380c5[_0x1820e3(0x9f)][_0x1820e3(0x7b)];return _0x411ba3[_0x1820e3(0x8d)]?0x0!==[..._0x411ba3[_0x1820e3(0x92)]()][_0x1820e3(0x8a)]&&![..._0x411ba3[_0x1820e3(0x92)]()][0x0][_0x1820e3(0x95)]:!!_0x4380c5[_0x1820e3(0xa1)](_0x411ba3[_0x1820e3(0x96)]());}(_0x3edf98);const _0xfc8837=_0x3edf98[_0x3ebb4d(0x9f)][_0x3ebb4d(0x7b)],_0x4d1a42=this[_0x3ebb4d(0x9b)][_0x3ebb4d(0x7e)][_0x3ebb4d(0x97)](_0x3ebb4d(0x99));for(const _0x2461ca of _0xfc8837[_0x3ebb4d(0x75)]())for(const _0x5084e4 of _0x2461ca[_0x3ebb4d(0x9a)]())if(_0x5084e4['is'](_0x3ebb4d(0x85))&&_0x4d1a42[_0x3ebb4d(0x80)](_0x5084e4[_0x3ebb4d(0x8f)]))return void(this[_0x3ebb4d(0x77)]=!0x1);this[_0x3ebb4d(0x77)]=!0x0;}[_0x178e3b(0x76)](_0x36c415='',_0xc115ee='',_0x2c2fc9=_0x178e3b(0x7a)){const _0x13164a=_0x178e3b;this[_0x13164a(0x9b)][_0x13164a(0x8b)][_0x13164a(0x97)](_0x506664)[_0x13164a(0x9e)](_0x36c415,_0xc115ee,_0x2c2fc9);}}function ns(_0x996e58,_0x5ae501){const _0x1410e2=_0x178e3b,_0x32fdd4=new Set();for(const _0x20cbc6 of _0x996e58[_0x1410e2(0x88)]())(_0x5ae501||!0x1===_0x20cbc6[_0x1410e2(0x7c)])&&_0x32fdd4[_0x1410e2(0x9d)](_0x20cbc6['id']);return Array[_0x1410e2(0x79)](_0x32fdd4);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x551751,_0x12814f,_0x4132e9){const t=_0x551751['t'];switch(_0x12814f){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x4132e9);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4132e9);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x4132e9);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x12814f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(
|
|
23
|
+
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x51fd10,_0x4093e5){const _0x3c8d85=(0x0,_0x4093e5['t'])('Other');return _0x51fd10['length']?'groupId'in _0x51fd10[0x0]?_0x51fd10:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3c8d85,'order':0x1/0x0,'commands':_0x51fd10}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3c8d85,'order':0x1/0x0,'commands':[]}];}
|