@ckeditor/ckeditor5-ai 47.0.0-alpha.2 → 47.0.0-alpha.4
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/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +50 -37
- package/dist/index.css +68 -38
- 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/lang/translations/ar.po +171 -171
- package/lang/translations/bg.po +155 -155
- package/lang/translations/bn.po +155 -155
- package/lang/translations/ca.po +155 -155
- package/lang/translations/cs.po +159 -159
- package/lang/translations/da.po +155 -155
- package/lang/translations/de.po +155 -155
- package/lang/translations/el.po +155 -155
- package/lang/translations/es.po +155 -155
- package/lang/translations/et.po +155 -155
- package/lang/translations/fi.po +155 -155
- package/lang/translations/fr.po +155 -155
- package/lang/translations/he.po +155 -155
- package/lang/translations/hi.po +155 -155
- package/lang/translations/hu.po +155 -155
- package/lang/translations/id.po +151 -151
- package/lang/translations/it.po +155 -155
- package/lang/translations/ja.po +151 -151
- package/lang/translations/ko.po +151 -151
- package/lang/translations/lt.po +159 -159
- package/lang/translations/lv.po +159 -159
- package/lang/translations/ms.po +151 -151
- package/lang/translations/nl.po +155 -155
- package/lang/translations/no.po +155 -155
- package/lang/translations/pl.po +159 -159
- package/lang/translations/pt-br.po +155 -155
- package/lang/translations/pt.po +155 -155
- package/lang/translations/ro.po +159 -159
- package/lang/translations/ru.po +159 -159
- package/lang/translations/sk.po +159 -159
- package/lang/translations/sr.po +159 -159
- package/lang/translations/sv.po +155 -155
- package/lang/translations/th.po +151 -151
- package/lang/translations/tr.po +155 -155
- package/lang/translations/uk.po +159 -159
- package/lang/translations/vi.po +151 -151
- package/lang/translations/zh-cn.po +151 -151
- package/lang/translations/zh.po +151 -151
- package/package.json +16 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.d.ts +2 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/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.d.ts +2 -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/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.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.d.ts +2 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -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.d.ts +2 -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/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/utils/common-translations.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.d.ts +24 -8
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +12 -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 +19 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.js +1 -1
- package/theme/aichat/aichatfeed.css +6 -2
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x44cdbe=_0x1b27;function _0x1b27(_0x4d3210,_0x3f6bb9){const _0x1af556=_0x1af5();return _0x1b27=function(_0x1b276d,_0x171fd6){_0x1b276d=_0x1b276d-0x139;let _0x47bb90=_0x1af556[_0x1b276d];return _0x47bb90;},_0x1b27(_0x4d3210,_0x3f6bb9);}function _0x1af5(){const _0x575e5f=['webSearch','isEnabled','ck-ai-chat-controls__model-name','log','AI_CHAT_CAPABILITIES_YES','clear','extendTemplate','203iNrkLf','_getCapabilityParts','agent','AI_CHAT_SEARCH_WEB','style','10KoiGwJ','toggleWebSearch','modelSelectorEnabled','bind','addMany','setModel','Commands\x20are\x20not\x20implemented\x20yet.','setTemplate','8VBJwup','enableModelSelector','length','selectModel','1156368nIsZbT','202964fyzaYF','_reasoningButton','reasoningActive','_modelSelectionDropdownItems','_modelSelectionDropdown','AI_CHAT_CAPABILITIES_NO','_modelNameView','buttonView','_createWebSearchButton','description','isVisible','startsWith','ck-hidden','createCollection','name','label','content','ck-ai-chat-controls__model-selection__item-name','setWebSearch','AI_CHAT_DISABLE_WEB_SEARCH','button','_createCommandsButton','AI_CHAT_ENABLE_REASONING','execute','_createReasoningButton','text','AI_CHAT_REASONING','setModelList','enabled','activeModelName','menuitemradio','ck-ai-chat-controls-button','bindTemplate','add','locale','tooltip','160098Jblqtg','setReasoning','_webSearchButton','isOn','_createModelSelectionDropdown','disableModelSelector','ck-ai-chat-controls__model-selection__item-description','webSearchActive','model','toLowerCase','activeModelId','_commandsButton','div','toggleReasoning','ck-ai-chat-controls__model-selection','withText','span','reasoning','source','ck-ai-chat-controls-button--commands','ck-ai-chat-controls__model-selection__item-capabilities','2989062qXUjvU','fire','modelSelectorVisible','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','AI_CHAT_DISABLE_REASONING','listenTo','AI_CHAT_ENABLE_WEB_SEARCH','8486880OCLnXD','1354554GsmqdU','ck-ai-chat__prompt-capabilities','AI_CHAT_COMMANDS','ck-button__label','_createModelNameView','883987KwiqMB','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','set','capabilities'];_0x1af5=function(){return _0x575e5f;};return _0x1af5();}(function(_0x1460f0,_0x5a5949){const _0x4a300c=_0x1b27,_0x43c9e2=_0x1460f0();while(!![]){try{const _0x7c613d=-parseInt(_0x4a300c(0x155))/0x1+parseInt(_0x4a300c(0x150))/0x2+-parseInt(_0x4a300c(0x171))/0x3+parseInt(_0x4a300c(0x172))/0x4*(-parseInt(_0x4a300c(0x165))/0x5)+-parseInt(_0x4a300c(0x196))/0x6*(-parseInt(_0x4a300c(0x160))/0x7)+parseInt(_0x4a300c(0x16d))/0x8*(-parseInt(_0x4a300c(0x148))/0x9)+parseInt(_0x4a300c(0x14f))/0xa;if(_0x7c613d===_0x5a5949)break;else _0x43c9e2['push'](_0x43c9e2['shift']());}catch(_0x3167a9){_0x43c9e2['push'](_0x43c9e2['shift']());}}}(_0x1af5,0x91af9));import{Collection as _0x310e27}from'ckeditor5/src/utils.js';import{IconAI as _0x3bc3ae,IconBulb as _0x5ad41b,IconWeb as _0x181ac7}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0xfe65f3,ButtonLabelView as _0x4112bd,ButtonView as _0x2f8dd6,createDropdown as _0x457f89,IconView as _0x3a453f,UIModel as _0x1cf265,View as _0x343ccd}from'ckeditor5/src/ui.js';import{getTranslation as _0x2c1b8f}from'../../../aicore/utils/common-translations.js';const No=_0x44cdbe(0x151),go=_0x44cdbe(0x191),Ho=_0x44cdbe(0x146),Mo=_0x44cdbe(0x141),Lo=_0x44cdbe(0x183),Do=_0x44cdbe(0x139),Wo=_0x44cdbe(0x147),yo='n';export class AIChatPromptCapabilitiesView extends _0x343ccd{[_0x44cdbe(0x198)];[_0x44cdbe(0x173)];[_0x44cdbe(0x13e)];[_0x44cdbe(0x176)];[_0x44cdbe(0x175)];[_0x44cdbe(0x178)];constructor(_0x407474){const _0x3d3779=_0x44cdbe;super(_0x407474),this[_0x3d3779(0x157)](_0x3d3779(0x13a),!0x1),this[_0x3d3779(0x157)](_0x3d3779(0x174),!0x1),this[_0x3d3779(0x157)](_0x3d3779(0x14a),!0x0),this[_0x3d3779(0x157)](_0x3d3779(0x167),!0x0),this[_0x3d3779(0x157)](_0x3d3779(0x13d),''),this[_0x3d3779(0x157)](_0x3d3779(0x18f),''),this[_0x3d3779(0x176)]=this[_0x3d3779(0x19a)](),this[_0x3d3779(0x178)]=this[_0x3d3779(0x154)](),this[_0x3d3779(0x198)]=this[_0x3d3779(0x17a)](),this[_0x3d3779(0x173)]=this[_0x3d3779(0x18a)](),this[_0x3d3779(0x13e)]=this[_0x3d3779(0x187)](),this[_0x3d3779(0x176)][_0x3d3779(0x179)][_0x3d3779(0x168)](_0x3d3779(0x17c))['to'](this,_0x3d3779(0x14a),_0x8e98fb=>_0x8e98fb),this[_0x3d3779(0x176)][_0x3d3779(0x179)][_0x3d3779(0x168)](_0x3d3779(0x195))['to'](this,_0x3d3779(0x167),_0x2a835b=>_0x2a835b?this[_0x3d3779(0x176)][_0x3d3779(0x179)][_0x3d3779(0x181)]:_0x2c1b8f(this[_0x3d3779(0x194)],_0x3d3779(0x156))),this[_0x3d3779(0x176)][_0x3d3779(0x168)](_0x3d3779(0x15a))['to'](this,_0x3d3779(0x167),_0x9b2358=>_0x9b2358),this[_0x3d3779(0x198)][_0x3d3779(0x168)](_0x3d3779(0x199))['to'](this,_0x3d3779(0x13a),_0x101080=>_0x101080),this[_0x3d3779(0x198)][_0x3d3779(0x168)](_0x3d3779(0x142))['to'](this,_0x3d3779(0x14a),_0x370b94=>!_0x370b94),this[_0x3d3779(0x198)][_0x3d3779(0x168)](_0x3d3779(0x195))['to'](this,_0x3d3779(0x13a),_0x29af80=>_0x2c1b8f(this[_0x3d3779(0x194)],_0x29af80?_0x3d3779(0x185):_0x3d3779(0x14e))),this[_0x3d3779(0x173)][_0x3d3779(0x168)](_0x3d3779(0x199))['to'](this,_0x3d3779(0x174),_0x1a857d=>_0x1a857d),this[_0x3d3779(0x173)][_0x3d3779(0x168)](_0x3d3779(0x142))['to'](this,_0x3d3779(0x14a),_0x24f109=>!_0x24f109),this[_0x3d3779(0x173)][_0x3d3779(0x168)](_0x3d3779(0x195))['to'](this,_0x3d3779(0x174),_0x5d3a6e=>_0x2c1b8f(this[_0x3d3779(0x194)],_0x5d3a6e?_0x3d3779(0x14c):_0x3d3779(0x188))),this[_0x3d3779(0x16c)]({'tag':_0x3d3779(0x13f),'attributes':{'class':[No]},'children':[this[_0x3d3779(0x176)],this[_0x3d3779(0x178)],this[_0x3d3779(0x198)],this[_0x3d3779(0x173)],this[_0x3d3779(0x13e)]]}),this[_0x3d3779(0x175)]=new _0x310e27(),_0xfe65f3(this[_0x3d3779(0x176)],this[_0x3d3779(0x175)]);}[_0x44cdbe(0x18d)](_0x3cd9a4,_0x4c3dfb){const _0x321274=_0x44cdbe;if(this[_0x321274(0x157)](_0x321274(0x14a),!(_0x4c3dfb&&_0x3cd9a4[_0x321274(0x16f)]<=0x1)),this[_0x321274(0x175)][_0x321274(0x15e)](),_0x3cd9a4?.[_0x321274(0x16f)])for(const _0x3da19e of _0x3cd9a4){const _0x49daae=new _0x1cf265({'label':_0x3da19e[_0x321274(0x180)],'withText':!0x0,'role':_0x321274(0x190),'id':_0x3da19e['id'],'model':_0x3da19e});_0x49daae[_0x321274(0x168)](_0x321274(0x199))['to'](this,_0x321274(0x13d),_0x44e7dc=>_0x44e7dc===_0x3da19e['id']),this[_0x321274(0x175)][_0x321274(0x193)]({'type':_0x321274(0x186),'model':_0x49daae,'labelView':new js(this[_0x321274(0x194)],_0x3da19e)});}}[_0x44cdbe(0x184)](_0x59e369){const _0xdce8ae=_0x44cdbe;this[_0xdce8ae(0x157)](_0xdce8ae(0x13a),_0x59e369);}[_0x44cdbe(0x197)](_0x5b3582){const _0x1aa7f8=_0x44cdbe;this[_0x1aa7f8(0x157)](_0x1aa7f8(0x174),_0x5b3582);}[_0x44cdbe(0x16a)](_0xbe593e){const _0x2d5e5a=_0x44cdbe;if(!_0xbe593e)return;this[_0x2d5e5a(0x13d)]=_0xbe593e['id'],this[_0x2d5e5a(0x18f)]=_0xbe593e[_0x2d5e5a(0x180)]||_0xbe593e['id'],this[_0x2d5e5a(0x176)][_0x2d5e5a(0x179)][_0x2d5e5a(0x157)](_0x2d5e5a(0x181),_0xbe593e[_0x2d5e5a(0x180)]),this[_0x2d5e5a(0x176)][_0x2d5e5a(0x179)][_0x2d5e5a(0x157)](_0x2d5e5a(0x195),_0xbe593e[_0x2d5e5a(0x180)]);const _0x448787=_0xbe593e[_0x2d5e5a(0x158)][_0x2d5e5a(0x159)]?.[_0x2d5e5a(0x18e)]??!0x1;this[_0x2d5e5a(0x157)](_0x2d5e5a(0x13a),!0x1),this[_0x2d5e5a(0x198)][_0x2d5e5a(0x157)](_0x2d5e5a(0x199),!0x1),this[_0x2d5e5a(0x198)][_0x2d5e5a(0x157)](_0x2d5e5a(0x15a),_0x448787),this[_0x2d5e5a(0x198)][_0x2d5e5a(0x157)](_0x2d5e5a(0x17c),_0x448787);const _0x27ba0b=_0xbe593e[_0x2d5e5a(0x158)][_0x2d5e5a(0x144)]?.[_0x2d5e5a(0x18e)]??!0x1;this[_0x2d5e5a(0x157)](_0x2d5e5a(0x174),!0x1),this[_0x2d5e5a(0x173)][_0x2d5e5a(0x157)](_0x2d5e5a(0x199),!0x1),this[_0x2d5e5a(0x173)][_0x2d5e5a(0x157)](_0x2d5e5a(0x15a),_0x27ba0b),this[_0x2d5e5a(0x173)][_0x2d5e5a(0x157)](_0x2d5e5a(0x17c),_0x27ba0b);}[_0x44cdbe(0x16e)](){const _0x4f7c84=_0x44cdbe;this[_0x4f7c84(0x157)](_0x4f7c84(0x167),!0x0),this[_0x4f7c84(0x157)](_0x4f7c84(0x14a),!0x0);}[_0x44cdbe(0x19b)](_0x53efd3){const _0x52bfe9=_0x44cdbe;this[_0x52bfe9(0x157)](_0x52bfe9(0x167),!0x1),_0x53efd3&&this[_0x52bfe9(0x157)](_0x52bfe9(0x14a),!0x1);}[_0x44cdbe(0x17a)](){const _0x2e8782=_0x44cdbe,_0xe88256=new _0x2f8dd6();return _0xe88256[_0x2e8782(0x157)]({'label':_0x2c1b8f(this[_0x2e8782(0x194)],_0x2e8782(0x163)),'icon':_0x181ac7,'class':go,'isToggleable':!0x0,'tooltipPosition':yo}),_0xe88256['on'](_0x2e8782(0x189),()=>{const _0x148487=_0x2e8782;this[_0x148487(0x149)](_0x148487(0x166));}),_0xe88256;}[_0x44cdbe(0x18a)](){const _0x2c0ae3=_0x44cdbe,_0x4bebe9=new _0x2f8dd6();return _0x4bebe9[_0x2c0ae3(0x157)]({'label':_0x2c1b8f(this[_0x2c0ae3(0x194)],_0x2c0ae3(0x18c)),'icon':_0x5ad41b,'class':go,'isToggleable':!0x0,'tooltipPosition':yo}),_0x4bebe9['on'](_0x2c0ae3(0x189),()=>{const _0x3f2e69=_0x2c0ae3;this[_0x3f2e69(0x149)](_0x3f2e69(0x140));}),_0x4bebe9;}[_0x44cdbe(0x187)](){const _0x4a2403=_0x44cdbe,_0x462167=new _0x2f8dd6();return _0x462167[_0x4a2403(0x157)]({'label':_0x2c1b8f(this[_0x4a2403(0x194)],_0x4a2403(0x152)),'icon':_0x3bc3ae,'withText':!0x0,'class':go,'isToggleable':!0x0,'tooltip':_0x2c1b8f(this[_0x4a2403(0x194)],_0x4a2403(0x152)),'tooltipPosition':yo}),_0x462167[_0x4a2403(0x15f)]({'attributes':{'class':[Ho]}}),_0x462167['on'](_0x4a2403(0x189),()=>{const _0x4461b9=_0x4a2403;console[_0x4461b9(0x15c)](_0x4461b9(0x16b)),alert(_0x4461b9(0x16b));}),_0x462167;}[_0x44cdbe(0x19a)](){const _0x51dffb=_0x44cdbe,_0x425a32=_0x457f89(this[_0x51dffb(0x194)]);return _0x425a32[_0x51dffb(0x157)]({'panelPosition':'ne','class':[Mo]}),_0x425a32[_0x51dffb(0x179)][_0x51dffb(0x157)]({'label':_0x2c1b8f(this[_0x51dffb(0x194)],_0x51dffb(0x14b)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':yo}),this[_0x51dffb(0x14d)](_0x425a32,_0x51dffb(0x189),_0x4e80df=>{const _0x2bdc52=_0x51dffb;this[_0x2bdc52(0x149)](_0x2bdc52(0x170),_0x4e80df[_0x2bdc52(0x145)][_0x2bdc52(0x13b)]);}),_0x425a32;}[_0x44cdbe(0x154)](){const _0x36aedc=_0x44cdbe,_0x2b794c=new Go(this[_0x36aedc(0x194)]);return _0x2b794c[_0x36aedc(0x168)](_0x36aedc(0x18b))['to'](this,_0x36aedc(0x18f),_0x4cc65d=>_0x4cc65d??''),_0x2b794c[_0x36aedc(0x168)](_0x36aedc(0x17c))['to'](this,_0x36aedc(0x14a),this,_0x36aedc(0x18f),(_0x5c0467,_0x3b46ee)=>!_0x5c0467&&!_0x3b46ee?.[_0x36aedc(0x13c)]()[_0x36aedc(0x17d)](_0x36aedc(0x162))),_0x2b794c;}}class js extends _0x4112bd{constructor(_0x4309cc,_0x401826){const _0x2059a8=_0x44cdbe;super();const _0x21b671=this[_0x2059a8(0x192)],_0x3e4431=this[_0x2059a8(0x17f)]();this[_0x2059a8(0x16c)]({'tag':_0x2059a8(0x13f),'attributes':{'class':['ck',_0x2059a8(0x153)],'style':_0x21b671['to'](_0x2059a8(0x164)),'id':_0x21b671['to']('id')},'children':[{'tag':_0x2059a8(0x13f),'attributes':{'class':[Lo]},'children':[{'text':_0x21b671['to'](_0x2059a8(0x18b))}]},{'tag':_0x2059a8(0x13f),'attributes':{'class':[Do]},'children':[{'tag':_0x2059a8(0x143),'children':[{'text':_0x401826[_0x2059a8(0x17b)]}]}]},{'tag':_0x2059a8(0x13f),'attributes':{'class':[Wo]},'children':_0x3e4431}]}),_0x3e4431[_0x2059a8(0x169)](this[_0x2059a8(0x161)](_0x4309cc,_0x181ac7,_0x2059a8(0x163),_0x401826[_0x2059a8(0x158)][_0x2059a8(0x159)]?.[_0x2059a8(0x18e)]??!0x1)),_0x3e4431[_0x2059a8(0x169)](this[_0x2059a8(0x161)](_0x4309cc,_0x5ad41b,_0x2059a8(0x18c),_0x401826[_0x2059a8(0x158)][_0x2059a8(0x144)]?.[_0x2059a8(0x18e)]??!0x1));}[_0x44cdbe(0x161)](_0x2d5ada,_0x3dd126,_0x30ccf7,_0x364d09){const _0x23bfad=_0x44cdbe,_0x30e2ab=new _0x3a453f();_0x30e2ab[_0x23bfad(0x182)]=_0x3dd126;const _0x55f029=new _0x343ccd(_0x2d5ada);_0x55f029[_0x23bfad(0x16c)]({'tag':_0x23bfad(0x143),'children':[{'text':_0x2c1b8f(_0x2d5ada,_0x30ccf7)+':\x20'}]});const _0x3f6031=new _0x343ccd(_0x2d5ada);return _0x3f6031[_0x23bfad(0x16c)]({'tag':_0x23bfad(0x143),'children':[{'text':_0x2c1b8f(_0x2d5ada,_0x364d09?_0x23bfad(0x15d):_0x23bfad(0x177))}]}),[_0x30e2ab,_0x55f029,_0x3f6031];}}class Go extends _0x343ccd{constructor(_0x3580e3){const _0x181f29=_0x44cdbe;super(_0x3580e3),this[_0x181f29(0x157)](_0x181f29(0x18b),void 0x0),this[_0x181f29(0x157)](_0x181f29(0x17c),!0x0);const _0x156e29=this[_0x181f29(0x192)];this[_0x181f29(0x16c)]({'tag':_0x181f29(0x143),'attributes':{'class':['ck',_0x181f29(0x15b),_0x156e29['if'](_0x181f29(0x17c),_0x181f29(0x17e),_0x50560c=>!_0x50560c)]},'children':[{'text':_0x156e29['to'](_0x181f29(0x18b))}]});}}
|
|
23
|
+
const _0x2242ef=_0x1ff3;(function(_0x3d69b0,_0x39090d){const _0x48c78e=_0x1ff3,_0x30d515=_0x3d69b0();while(!![]){try{const _0x92d2f0=parseInt(_0x48c78e(0x1c9))/0x1*(-parseInt(_0x48c78e(0x1c0))/0x2)+parseInt(_0x48c78e(0x20a))/0x3+-parseInt(_0x48c78e(0x213))/0x4*(parseInt(_0x48c78e(0x214))/0x5)+parseInt(_0x48c78e(0x1d6))/0x6+parseInt(_0x48c78e(0x203))/0x7*(-parseInt(_0x48c78e(0x1e9))/0x8)+parseInt(_0x48c78e(0x1db))/0x9*(-parseInt(_0x48c78e(0x202))/0xa)+parseInt(_0x48c78e(0x1f8))/0xb*(parseInt(_0x48c78e(0x217))/0xc);if(_0x92d2f0===_0x39090d)break;else _0x30d515['push'](_0x30d515['shift']());}catch(_0x5887f8){_0x30d515['push'](_0x30d515['shift']());}}}(_0x4fae,0x76c43));import{Collection as _0x3e031e}from'ckeditor5/src/utils.js';import{IconAI as _0x35f4af,IconBulb as _0x29d7ee,IconWeb as _0x38e249}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x19b59e,ButtonLabelView as _0x23afc2,ButtonView as _0x55fa44,createDropdown as _0x37a2c,IconView as _0x36aa5a,UIModel as _0x125c51,View as _0x434618}from'ckeditor5/src/ui.js';import{getTranslation as _0x340a55}from'../../../aicore/utils/common-translations.js';const No=_0x2242ef(0x1eb),go=_0x2242ef(0x1fc),Ho=_0x2242ef(0x212),Mo=_0x2242ef(0x1fe),Lo=_0x2242ef(0x1c7),Do=_0x2242ef(0x210),Wo=_0x2242ef(0x1df),yo='n';function _0x4fae(){const _0x36e28e=['AI_CHAT_ENABLE_REASONING','name','27kbMwSl','AI_CHAT_DISABLE_REASONING','log','capabilities','ck-ai-chat-controls__model-selection__item-capabilities','addMany','length','clear','AI_CHAT_REASONING','set','Commands\x20are\x20not\x20implemented\x20yet.','label','ck-ai-chat-controls__model-name','execute','28568HCUhPV','_modelNameView','ck-ai-chat__prompt-capabilities','isVisible','ck-button__label','_getCapabilityParts','AI_CHAT_CAPABILITIES_YES','span','activeModelId','extendTemplate','_createModelSelectionDropdown','reasoningActive','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','fire','selectModel','22KFQeRD','_createReasoningButton','listenTo','AI_CHAT_CAPABILITIES_NO','ck-ai-chat-controls-button','enableModelSelector','ck-ai-chat-controls__model-selection','ck-hidden','_createWebSearchButton','setReasoning','886220OBxsdG','259pcuOJz','tooltip','_webSearchButton','button','source','_commandsButton','AI_CHAT_COMMANDS','272859hLqium','setModelList','AI_CHAT_SEARCH_WEB','AI_CHAT_ENABLE_WEB_SEARCH','withText','toLowerCase','ck-ai-chat-controls__model-selection__item-description','modelSelectorVisible','ck-ai-chat-controls-button--commands','4gxYgzu','3683955xCbSBl','_createModelNameView','content','6875412EGOSpK','enabled','createCollection','startsWith','activeModelName','AI_CHAT_DISABLE_WEB_SEARCH','bind','modelSelectorEnabled','isOn','locale','setTemplate','text','div','toggleWebSearch','1878itQdZz','setModel','_createCommandsButton','agent','style','webSearch','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','ck-ai-chat-controls__model-selection__item-name','add','112aNCQXg','toggleReasoning','buttonView','description','isEnabled','webSearchActive','setWebSearch','reasoning','_modelSelectionDropdown','_modelSelectionDropdownItems','disableModelSelector','_reasoningButton','menuitemradio','2937384bQehkq','model','bindTemplate'];_0x4fae=function(){return _0x36e28e;};return _0x4fae();}export class AIChatPromptCapabilitiesView extends _0x434618{[_0x2242ef(0x205)];[_0x2242ef(0x1d4)];[_0x2242ef(0x208)];[_0x2242ef(0x1d1)];[_0x2242ef(0x1d2)];[_0x2242ef(0x1ea)];constructor(_0x13f84d){const _0xdfb209=_0x2242ef;super(_0x13f84d),this[_0xdfb209(0x1e4)](_0xdfb209(0x1ce),!0x1),this[_0xdfb209(0x1e4)](_0xdfb209(0x1f4),!0x1),this[_0xdfb209(0x1e4)](_0xdfb209(0x211),!0x0),this[_0xdfb209(0x1e4)](_0xdfb209(0x21e),!0x0),this[_0xdfb209(0x1e4)](_0xdfb209(0x1f1),''),this[_0xdfb209(0x1e4)](_0xdfb209(0x21b),''),this[_0xdfb209(0x1d1)]=this[_0xdfb209(0x1f3)](),this[_0xdfb209(0x1ea)]=this[_0xdfb209(0x215)](),this[_0xdfb209(0x205)]=this[_0xdfb209(0x200)](),this[_0xdfb209(0x1d4)]=this[_0xdfb209(0x1f9)](),this[_0xdfb209(0x208)]=this[_0xdfb209(0x1c2)](),this[_0xdfb209(0x1d1)][_0xdfb209(0x1cb)][_0xdfb209(0x21d)](_0xdfb209(0x1ec))['to'](this,_0xdfb209(0x211),_0x36f61c=>_0x36f61c),this[_0xdfb209(0x1d1)][_0xdfb209(0x1cb)][_0xdfb209(0x21d)](_0xdfb209(0x204))['to'](this,_0xdfb209(0x21e),_0x29cabd=>_0x29cabd?this[_0xdfb209(0x1d1)][_0xdfb209(0x1cb)][_0xdfb209(0x1e6)]:_0x340a55(this[_0xdfb209(0x220)],_0xdfb209(0x1c6))),this[_0xdfb209(0x1d1)][_0xdfb209(0x21d)](_0xdfb209(0x1cd))['to'](this,_0xdfb209(0x21e),_0x4047c4=>_0x4047c4),this[_0xdfb209(0x205)][_0xdfb209(0x21d)](_0xdfb209(0x21f))['to'](this,_0xdfb209(0x1ce),_0xd14fb1=>_0xd14fb1),this[_0xdfb209(0x205)][_0xdfb209(0x21d)](_0xdfb209(0x20e))['to'](this,_0xdfb209(0x211),_0x2301c0=>!_0x2301c0),this[_0xdfb209(0x205)][_0xdfb209(0x21d)](_0xdfb209(0x204))['to'](this,_0xdfb209(0x1ce),_0x5ccd0e=>_0x340a55(this[_0xdfb209(0x220)],_0x5ccd0e?_0xdfb209(0x21c):_0xdfb209(0x20d))),this[_0xdfb209(0x1d4)][_0xdfb209(0x21d)](_0xdfb209(0x21f))['to'](this,_0xdfb209(0x1f4),_0x4d7676=>_0x4d7676),this[_0xdfb209(0x1d4)][_0xdfb209(0x21d)](_0xdfb209(0x20e))['to'](this,_0xdfb209(0x211),_0x582454=>!_0x582454),this[_0xdfb209(0x1d4)][_0xdfb209(0x21d)](_0xdfb209(0x204))['to'](this,_0xdfb209(0x1f4),_0x16b597=>_0x340a55(this[_0xdfb209(0x220)],_0x16b597?_0xdfb209(0x1dc):_0xdfb209(0x1d9))),this[_0xdfb209(0x221)]({'tag':_0xdfb209(0x223),'attributes':{'class':[No]},'children':[this[_0xdfb209(0x1d1)],this[_0xdfb209(0x1ea)],this[_0xdfb209(0x205)],this[_0xdfb209(0x1d4)],this[_0xdfb209(0x208)]]}),this[_0xdfb209(0x1d2)]=new _0x3e031e(),_0x19b59e(this[_0xdfb209(0x1d1)],this[_0xdfb209(0x1d2)]);}[_0x2242ef(0x20b)](_0x14ab35,_0x13ead2){const _0x492ad7=_0x2242ef;if(this[_0x492ad7(0x1e4)](_0x492ad7(0x211),!(_0x13ead2&&_0x14ab35[_0x492ad7(0x1e1)]<=0x1)),this[_0x492ad7(0x1d2)][_0x492ad7(0x1e2)](),_0x14ab35?.[_0x492ad7(0x1e1)])for(const _0x56db86 of _0x14ab35){const _0x3e0f22=new _0x125c51({'label':_0x56db86[_0x492ad7(0x1da)],'withText':!0x0,'role':_0x492ad7(0x1d5),'id':_0x56db86['id'],'model':_0x56db86});_0x3e0f22[_0x492ad7(0x21d)](_0x492ad7(0x21f))['to'](this,_0x492ad7(0x1f1),_0x59e3d8=>_0x59e3d8===_0x56db86['id']),this[_0x492ad7(0x1d2)][_0x492ad7(0x1c8)]({'type':_0x492ad7(0x206),'model':_0x3e0f22,'labelView':new Ms(this[_0x492ad7(0x220)],_0x56db86)});}}[_0x2242ef(0x1cf)](_0x572db0){const _0x85770b=_0x2242ef;this[_0x85770b(0x1e4)](_0x85770b(0x1ce),_0x572db0);}[_0x2242ef(0x201)](_0x4f7dee){const _0x2ae705=_0x2242ef;this[_0x2ae705(0x1e4)](_0x2ae705(0x1f4),_0x4f7dee);}[_0x2242ef(0x1c1)](_0x21718d){const _0x4e4385=_0x2242ef;if(!_0x21718d)return;this[_0x4e4385(0x1f1)]=_0x21718d['id'],this[_0x4e4385(0x21b)]=_0x21718d[_0x4e4385(0x1da)]||_0x21718d['id'],this[_0x4e4385(0x1d1)][_0x4e4385(0x1cb)][_0x4e4385(0x1e4)](_0x4e4385(0x1e6),_0x21718d[_0x4e4385(0x1da)]),this[_0x4e4385(0x1d1)][_0x4e4385(0x1cb)][_0x4e4385(0x1e4)](_0x4e4385(0x204),_0x21718d[_0x4e4385(0x1da)]);const _0x46d17f=_0x21718d[_0x4e4385(0x1de)][_0x4e4385(0x1c5)]?.[_0x4e4385(0x218)]??!0x1;this[_0x4e4385(0x1e4)](_0x4e4385(0x1ce),!0x1),this[_0x4e4385(0x205)][_0x4e4385(0x1e4)](_0x4e4385(0x21f),!0x1),this[_0x4e4385(0x205)][_0x4e4385(0x1e4)](_0x4e4385(0x1cd),_0x46d17f),this[_0x4e4385(0x205)][_0x4e4385(0x1e4)](_0x4e4385(0x1ec),_0x46d17f);const _0x90f404=_0x21718d[_0x4e4385(0x1de)][_0x4e4385(0x1d0)]?.[_0x4e4385(0x218)]??!0x1;this[_0x4e4385(0x1e4)](_0x4e4385(0x1f4),!0x1),this[_0x4e4385(0x1d4)][_0x4e4385(0x1e4)](_0x4e4385(0x21f),!0x1),this[_0x4e4385(0x1d4)][_0x4e4385(0x1e4)](_0x4e4385(0x1cd),_0x90f404),this[_0x4e4385(0x1d4)][_0x4e4385(0x1e4)](_0x4e4385(0x1ec),_0x90f404);}[_0x2242ef(0x1fd)](){const _0x437ea6=_0x2242ef;this[_0x437ea6(0x1e4)](_0x437ea6(0x21e),!0x0),this[_0x437ea6(0x1e4)](_0x437ea6(0x211),!0x0);}[_0x2242ef(0x1d3)](_0x43d6ea){const _0x48c0f4=_0x2242ef;this[_0x48c0f4(0x1e4)](_0x48c0f4(0x21e),!0x1),_0x43d6ea&&this[_0x48c0f4(0x1e4)](_0x48c0f4(0x211),!0x1);}[_0x2242ef(0x200)](){const _0x2c7e8a=_0x2242ef,_0x2be7f2=new _0x55fa44();return _0x2be7f2[_0x2c7e8a(0x1e4)]({'label':_0x340a55(this[_0x2c7e8a(0x220)],_0x2c7e8a(0x20c)),'icon':_0x38e249,'class':go,'isToggleable':!0x0,'tooltipPosition':yo}),_0x2be7f2['on'](_0x2c7e8a(0x1e8),()=>{const _0x3aba47=_0x2c7e8a;this[_0x3aba47(0x1f6)](_0x3aba47(0x1bf));}),_0x2be7f2;}[_0x2242ef(0x1f9)](){const _0x4008c9=_0x2242ef,_0x2d13a5=new _0x55fa44();return _0x2d13a5[_0x4008c9(0x1e4)]({'label':_0x340a55(this[_0x4008c9(0x220)],_0x4008c9(0x1e3)),'icon':_0x29d7ee,'class':go,'isToggleable':!0x0,'tooltipPosition':yo}),_0x2d13a5['on'](_0x4008c9(0x1e8),()=>{const _0x2fe8b8=_0x4008c9;this[_0x2fe8b8(0x1f6)](_0x2fe8b8(0x1ca));}),_0x2d13a5;}[_0x2242ef(0x1c2)](){const _0x5c6fd7=_0x2242ef,_0x2a70dc=new _0x55fa44();return _0x2a70dc[_0x5c6fd7(0x1e4)]({'label':_0x340a55(this[_0x5c6fd7(0x220)],_0x5c6fd7(0x209)),'icon':_0x35f4af,'withText':!0x0,'class':go,'isToggleable':!0x0,'tooltip':_0x340a55(this[_0x5c6fd7(0x220)],_0x5c6fd7(0x209)),'tooltipPosition':yo}),_0x2a70dc[_0x5c6fd7(0x1f2)]({'attributes':{'class':[Ho]}}),_0x2a70dc['on'](_0x5c6fd7(0x1e8),()=>{const _0x14b6b9=_0x5c6fd7;console[_0x14b6b9(0x1dd)](_0x14b6b9(0x1e5)),alert(_0x14b6b9(0x1e5));}),_0x2a70dc;}[_0x2242ef(0x1f3)](){const _0x5d7f17=_0x2242ef,_0x5d7673=_0x37a2c(this[_0x5d7f17(0x220)]);return _0x5d7673[_0x5d7f17(0x1e4)]({'panelPosition':'ne','class':[Mo]}),_0x5d7673[_0x5d7f17(0x1cb)][_0x5d7f17(0x1e4)]({'label':_0x340a55(this[_0x5d7f17(0x220)],_0x5d7f17(0x1f5)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':yo}),this[_0x5d7f17(0x1fa)](_0x5d7673,_0x5d7f17(0x1e8),_0x3206e2=>{const _0x4579d1=_0x5d7f17;this[_0x4579d1(0x1f6)](_0x4579d1(0x1f7),_0x3206e2[_0x4579d1(0x207)][_0x4579d1(0x1d7)]);}),_0x5d7673;}[_0x2242ef(0x215)](){const _0x362342=_0x2242ef,_0x1d427c=new Go(this[_0x362342(0x220)]);return _0x1d427c[_0x362342(0x21d)](_0x362342(0x222))['to'](this,_0x362342(0x21b),_0x53253b=>_0x53253b??''),_0x1d427c[_0x362342(0x21d)](_0x362342(0x1ec))['to'](this,_0x362342(0x211),this,_0x362342(0x21b),(_0x4b73b4,_0x1d1e6b)=>!_0x4b73b4&&!_0x1d1e6b?.[_0x362342(0x20f)]()[_0x362342(0x21a)](_0x362342(0x1c3))),_0x1d427c;}}function _0x1ff3(_0x9e5ffe,_0x558559){const _0x4fae49=_0x4fae();return _0x1ff3=function(_0x1ff363,_0x54f3d5){_0x1ff363=_0x1ff363-0x1bf;let _0x41a100=_0x4fae49[_0x1ff363];return _0x41a100;},_0x1ff3(_0x9e5ffe,_0x558559);}class Ms extends _0x23afc2{constructor(_0x2a05b8,_0x2f1647){const _0x3d9c41=_0x2242ef;super();const _0x376976=this[_0x3d9c41(0x1d8)],_0x5f3bf4=this[_0x3d9c41(0x219)]();this[_0x3d9c41(0x221)]({'tag':_0x3d9c41(0x223),'attributes':{'class':['ck',_0x3d9c41(0x1ed)],'style':_0x376976['to'](_0x3d9c41(0x1c4)),'id':_0x376976['to']('id')},'children':[{'tag':_0x3d9c41(0x223),'attributes':{'class':[Lo]},'children':[{'text':_0x376976['to'](_0x3d9c41(0x222))}]},{'tag':_0x3d9c41(0x223),'attributes':{'class':[Do]},'children':[{'tag':_0x3d9c41(0x1f0),'children':[{'text':_0x2f1647[_0x3d9c41(0x1cc)]}]}]},{'tag':_0x3d9c41(0x223),'attributes':{'class':[Wo]},'children':_0x5f3bf4}]}),_0x5f3bf4[_0x3d9c41(0x1e0)](this[_0x3d9c41(0x1ee)](_0x2a05b8,_0x38e249,_0x3d9c41(0x20c),_0x2f1647[_0x3d9c41(0x1de)][_0x3d9c41(0x1c5)]?.[_0x3d9c41(0x218)]??!0x1)),_0x5f3bf4[_0x3d9c41(0x1e0)](this[_0x3d9c41(0x1ee)](_0x2a05b8,_0x29d7ee,_0x3d9c41(0x1e3),_0x2f1647[_0x3d9c41(0x1de)][_0x3d9c41(0x1d0)]?.[_0x3d9c41(0x218)]??!0x1));}[_0x2242ef(0x1ee)](_0x57de56,_0x2aee58,_0x459592,_0x2d0080){const _0x416e44=_0x2242ef,_0x201fa5=new _0x36aa5a();_0x201fa5[_0x416e44(0x216)]=_0x2aee58;const _0x337ccf=new _0x434618(_0x57de56);_0x337ccf[_0x416e44(0x221)]({'tag':_0x416e44(0x1f0),'children':[{'text':_0x340a55(_0x57de56,_0x459592)+':\x20'}]});const _0x3c76ba=new _0x434618(_0x57de56);return _0x3c76ba[_0x416e44(0x221)]({'tag':_0x416e44(0x1f0),'children':[{'text':_0x340a55(_0x57de56,_0x2d0080?_0x416e44(0x1ef):_0x416e44(0x1fb))}]}),[_0x201fa5,_0x337ccf,_0x3c76ba];}}class Go extends _0x434618{constructor(_0x1b4323){const _0x1277ad=_0x2242ef;super(_0x1b4323),this[_0x1277ad(0x1e4)](_0x1277ad(0x222),void 0x0),this[_0x1277ad(0x1e4)](_0x1277ad(0x1ec),!0x0);const _0x4b4ac6=this[_0x1277ad(0x1d8)];this[_0x1277ad(0x221)]({'tag':_0x1277ad(0x1f0),'attributes':{'class':['ck',_0x1277ad(0x1e7),_0x4b4ac6['if'](_0x1277ad(0x1ec),_0x1277ad(0x1ff),_0xa1d8e5=>!_0xa1d8e5)]},'children':[{'text':_0x4b4ac6['to'](_0x1277ad(0x222))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x156c48=_0x10bd;(function(_0x53212a,_0x4159c8){const _0x3dffd8=_0x10bd,_0x2dd649=_0x53212a();while(!![]){try{const _0x38613a=-parseInt(_0x3dffd8(0xe3))/0x1*(parseInt(_0x3dffd8(0x102))/0x2)+-parseInt(_0x3dffd8(0xdd))/0x3+-parseInt(_0x3dffd8(0xf9))/0x4+-parseInt(_0x3dffd8(0xf3))/0x5*(-parseInt(_0x3dffd8(0xd4))/0x6)+-parseInt(_0x3dffd8(0xff))/0x7+parseInt(_0x3dffd8(0xf6))/0x8*(parseInt(_0x3dffd8(0xdf))/0x9)+parseInt(_0x3dffd8(0xfa))/0xa*(parseInt(_0x3dffd8(0xfd))/0xb);if(_0x38613a===_0x4159c8)break;else _0x2dd649['push'](_0x2dd649['shift']());}catch(_0x2c47c0){_0x2dd649['push'](_0x2dd649['shift']());}}}(_0x4785,0xee14b));import{IconSubmit as _0x3fc4cd}from'ckeditor5/src/icons.js';function _0x4785(){const _0x161c88=['set','14602621GBvXbu','update','13510245HavcAY','errorText','bind','7298MWrNQq','MAX_ROWS','trim','maxRows','isEnabled','isEmpty','fieldWrapperChildren','submit','reset','right','keystrokes','AI_CHAT_LABEL_SUBMIT','_setUpAddContextButtonPositioning','ck-ai-chat__prompt-submit-button','_createSubmitButton','isUploadInProgress','setIsUploadInProgress','AI_CHAT_PROMPT_EMPTY_ERROR','extendTemplate','_addContextButtonView','1833702TZKdQa','requestAnimationFrame','execute','px\x20-\x20var(--ck-spacing-tiny))','fire','width','uiLanguageDirection','add','rtl','2961030TzIxkp','style','3072663NNBEve','left','enter','submitButtonView','88yeYmOw','fieldView','element','calc(','ck-ai-chat__prompt-input','destroy','sendUserMessage','setPlaceholderText','target','hasError','minRows','MIN_ROWS','locale','placeholder','value','_queryViewResizeObserver','30XMoaQA','render','queryView','32CHRpza','window','excludeScrollbarsAndBorders','1254020yxvupw','10uVgULA','focusableChildren'];_0x4785=function(){return _0x161c88;};return _0x4785();}import{ButtonView as _0x44194d,AutocompleteView as _0x597bff,createLabeledTextarea as _0x96a0b3}from'ckeditor5/src/ui.js';import{global as _0x1ae48a,isVisible as _0x511c13,Rect as _0x5c38bd,ResizeObserver as _0x22d46a}from'ckeditor5/src/utils.js';import{getTranslation as _0x398ab7}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x32f8a0}from'./aichatpromptsuggestionslistview.js';function _0x10bd(_0x2e5477,_0x3088c4){const _0x4785e1=_0x4785();return _0x10bd=function(_0x10bde1,_0x4e6540){_0x10bde1=_0x10bde1-0xc5;let _0x529abd=_0x4785e1[_0x10bde1];return _0x529abd;},_0x10bd(_0x2e5477,_0x3088c4);}import{escape as _0x1c053f}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x597bff{[_0x156c48(0xe2)];static [_0x156c48(0xee)]=0x1;static [_0x156c48(0x103)]=0xc;[_0x156c48(0xd3)];[_0x156c48(0xf2)];constructor(_0x2f9d0a,_0x25995a){const _0x4533f9=_0x156c48;super(_0x2f9d0a,{'queryView':{'label':'','creator':_0x96a0b3,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x32f8a0(_0x2f9d0a),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x4533f9(0xfc)](_0x4533f9(0xc5),!0x0),this[_0x4533f9(0xfc)](_0x4533f9(0xcf),!0x1),this[_0x4533f9(0xd3)]=_0x25995a,this[_0x4533f9(0xf2)]=null,this[_0x4533f9(0xf5)][_0x4533f9(0xe4)][_0x4533f9(0xed)]=AIChatPromptInputView[_0x4533f9(0xee)],this[_0x4533f9(0xf5)][_0x4533f9(0xe4)][_0x4533f9(0x105)]=AIChatPromptInputView[_0x4533f9(0x103)],this[_0x4533f9(0xf5)][_0x4533f9(0xc6)][_0x4533f9(0xdb)](this[_0x4533f9(0xd3)]),this[_0x4533f9(0xcc)](),this[_0x4533f9(0xd2)]({'attributes':{'class':['ck',_0x4533f9(0xe7)]}}),this[_0x4533f9(0xe2)]=this[_0x4533f9(0xce)](),this[_0x4533f9(0xe2)][_0x4533f9(0x101)](_0x4533f9(0x106))['to'](this,_0x4533f9(0xc5),this,_0x4533f9(0xcf),(_0x40cc27,_0x5c03ef)=>!_0x40cc27&&!_0x5c03ef),this[_0x4533f9(0xfb)][_0x4533f9(0xdb)](this[_0x4533f9(0xe2)]);}[_0x156c48(0xf4)](){const _0x27530f=_0x156c48;super[_0x27530f(0xf4)](),this[_0x27530f(0xf5)][_0x27530f(0xc6)][_0x27530f(0xdb)](this[_0x27530f(0xe2)]),this[_0x27530f(0xca)][_0x27530f(0xfc)](_0x27530f(0xe1),(_0x375e7c,_0x37b6a2)=>{const _0xf04eb9=_0x27530f;this[_0xf04eb9(0xcf)]||this[_0xf04eb9(0xc5)]||_0x375e7c[_0xf04eb9(0xeb)]==this[_0xf04eb9(0xf5)][_0xf04eb9(0xe4)][_0xf04eb9(0xe5)]&&(this[_0xf04eb9(0xc7)](),_0x37b6a2());}),this[_0x27530f(0xf5)][_0x27530f(0xe4)]['on'](_0x27530f(0xfe),()=>{const _0x29414a=_0x27530f;this[_0x29414a(0xc5)]=''===this[_0x29414a(0xf5)][_0x29414a(0xe4)][_0x29414a(0xe5)][_0x29414a(0xf1)]?.[_0x29414a(0x104)]();});}[_0x156c48(0xe8)](){const _0x52fe3c=_0x156c48;super[_0x52fe3c(0xe8)](),this[_0x52fe3c(0xf2)]&&this[_0x52fe3c(0xf2)][_0x52fe3c(0xe8)]();}[_0x156c48(0xc7)](){const _0xb3a437=_0x156c48,_0x11abed=this[_0xb3a437(0xf5)][_0xb3a437(0xe4)][_0xb3a437(0xe5)][_0xb3a437(0xf1)]?.[_0xb3a437(0x104)]();if(!_0x11abed)return this[_0xb3a437(0xf5)][_0xb3a437(0x100)]=_0x398ab7(this[_0xb3a437(0xef)],_0xb3a437(0xd1)),void(this[_0xb3a437(0xf5)][_0xb3a437(0xe4)][_0xb3a437(0xec)]=!0x0);this[_0xb3a437(0xf5)][_0xb3a437(0xe4)][_0xb3a437(0xec)]=!0x1;const _0x4d758e=_0x1c053f(_0x11abed);this[_0xb3a437(0xd8)](_0xb3a437(0xe9),_0x4d758e),this[_0xb3a437(0xf5)][_0xb3a437(0xe4)][_0xb3a437(0xc8)]();}[_0x156c48(0xea)](_0x4c2eb7){const _0x25a425=_0x156c48;this[_0x25a425(0xf5)][_0x25a425(0xe4)][_0x25a425(0xfc)](_0x25a425(0xf0),_0x4c2eb7);}[_0x156c48(0xce)](){const _0x223981=_0x156c48,_0x443ddd=new _0x44194d(this[_0x223981(0xef)]);return _0x443ddd[_0x223981(0xfc)]({'icon':_0x3fc4cd,'label':_0x398ab7(this[_0x223981(0xef)],_0x223981(0xcb)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x223981(0xcd),'isEnabled':!0x1}),_0x443ddd['on'](_0x223981(0xd6),()=>{const _0x5637aa=_0x223981;this[_0x5637aa(0xc7)]();}),_0x443ddd;}[_0x156c48(0xd0)](_0x28ccad){const _0x9a3112=_0x156c48;this[_0x9a3112(0xcf)]=_0x28ccad;}[_0x156c48(0xcc)](){const _0x23cb86=_0x156c48,_0x2e8ce0=this[_0x23cb86(0xef)],_0x5bc3ce=()=>{const _0x30fcc6=_0x23cb86;_0x1ae48a[_0x30fcc6(0xf7)][_0x30fcc6(0xd5)](()=>{const _0x417bef=_0x30fcc6;if(_0x511c13(this[_0x417bef(0xe5)])){const _0x388910=new _0x5c38bd(this[_0x417bef(0xf5)][_0x417bef(0xe4)][_0x417bef(0xe5)]),_0x494bd4=new _0x5c38bd(this[_0x417bef(0xd3)][_0x417bef(0xe5)]),_0x5c57bf=_0x388910[_0x417bef(0xd9)],_0x38db02=_0x417bef(0xdc)===_0x2e8ce0[_0x417bef(0xda)]?_0x417bef(0xc9):_0x417bef(0xe0);_0x388910[_0x417bef(0xf8)]();const _0x4ee558=_0x5c57bf-_0x388910[_0x417bef(0xd9)]+0x1;this[_0x417bef(0xd3)][_0x417bef(0xe5)][_0x417bef(0xde)][_0x38db02]=_0x417bef(0xe6)+(_0x5c57bf-_0x494bd4[_0x417bef(0xd9)]-_0x4ee558)+_0x417bef(0xd7);}});};this[_0x23cb86(0xf5)][_0x23cb86(0xe4)]['on'](_0x23cb86(0xfe),_0x5bc3ce),this['on'](_0x23cb86(0xf4),()=>{const _0x43a8f9=_0x23cb86;_0x5bc3ce(),this[_0x43a8f9(0xf2)]=new _0x22d46a(this[_0x43a8f9(0xf5)][_0x43a8f9(0xe4)][_0x43a8f9(0xe5)],()=>{_0x5bc3ce();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x541f(_0x579a09,_0x7b1c6){const _0x1e8e07=_0x1e8e();return _0x541f=function(_0x541f35,_0x311de8){_0x541f35=_0x541f35-0x176;let _0x5982c3=_0x1e8e07[_0x541f35];return _0x5982c3;},_0x541f(_0x579a09,_0x7b1c6);}const _0x576f0b=_0x541f;(function(_0x19297d,_0xf42c91){const _0x166cba=_0x541f,_0x38424f=_0x19297d();while(!![]){try{const _0x2b3b79=-parseInt(_0x166cba(0x179))/0x1+parseInt(_0x166cba(0x17e))/0x2+parseInt(_0x166cba(0x176))/0x3+parseInt(_0x166cba(0x180))/0x4*(parseInt(_0x166cba(0x17b))/0x5)+parseInt(_0x166cba(0x17f))/0x6*(-parseInt(_0x166cba(0x178))/0x7)+parseInt(_0x166cba(0x17d))/0x8+-parseInt(_0x166cba(0x182))/0x9*(parseInt(_0x166cba(0x181))/0xa);if(_0x2b3b79===_0xf42c91)break;else _0x38424f['push'](_0x38424f['shift']());}catch(_0x12a4de){_0x38424f['push'](_0x38424f['shift']());}}}(_0x1e8e,0x4bbc3));import{ListView as _0x1d52cc}from'ckeditor5/src/ui.js';function _0x1e8e(){const _0x51e114=['5eosYnQ','filter','290056njmLAk','841570mzTakq','6sjWjVz','403556TWsMst','118280eCCnqv','261jiRGTP','1434099JVwedj','length','2490061cRTLQQ','27018ZBsplZ','items'];_0x1e8e=function(){return _0x51e114;};return _0x1e8e();}export class AIChatPromptSuggestionsListView extends _0x1d52cc{[_0x576f0b(0x17c)](){const _0x2c49bd=_0x576f0b;let _0x147255=0x0;for(const _0x58c19b of this[_0x2c49bd(0x17a)])_0x147255+=_0x58c19b[_0x2c49bd(0x17a)][_0x2c49bd(0x177)];return{'resultsCount':_0x147255,'totalItemsCount':_0x147255};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bcbf9=_0x1254;(function(_0x420b60,_0x4eaa19){const _0x510549=_0x1254,_0x11fbfa=_0x420b60();while(!![]){try{const _0xefc6e0=-parseInt(_0x510549(0x98))/0x1*(-parseInt(_0x510549(0xa4))/0x2)+-parseInt(_0x510549(0x95))/0x3*(-parseInt(_0x510549(0xb5))/0x4)+parseInt(_0x510549(0xb3))/0x5+-parseInt(_0x510549(0x97))/0x6*(-parseInt(_0x510549(0xae))/0x7)+-parseInt(_0x510549(0xac))/0x8+parseInt(_0x510549(0x96))/0x9+-parseInt(_0x510549(0x9d))/0xa;if(_0xefc6e0===_0x4eaa19)break;else _0x11fbfa['push'](_0x11fbfa['shift']());}catch(_0x337126){_0x11fbfa['push'](_0x11fbfa['shift']());}}}(_0x55c9,0x86596));import{HighlightedTextView as _0x29f162,IconView as _0x22ff3c,ListItemView as _0x1298e9}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x394b2d}from'es-toolkit/compat';import{AIContextItemType as _0x10a073}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x480905,IconCheck as _0x4f33ca,IconDocument as _0x11fdd7,IconDocumentOutline as _0x140786,IconLink as _0xbbf8e1}from'@ckeditor/ckeditor5-icons';function _0x55c9(){const _0x798174=['resource','FILE','_createTitleView','label','180975vmANky','ck-ai-chat-resources__item','148ZZALFt','text','set','type','setTemplate','extendTemplate','isInContext','_titleView','_setupTemplate','trim','content','execute','70365FamPQP','8657253NWpszk','49404tYAbtG','15993FfpCzN','highlightText','ck-ai-chat-resources__item--in-context','ck-ai-chat-resources__item-title','span','6308810CNwlHV','updateResourceState','bindTemplate','TEXT','DOCUMENT','_updateIcon','_iconView','4UTrtpG','getResourceIcon','render','_createIconView','URL','ck-ai-chat-resources__item__icon','ck-hidden','div','8566560EzLPjx','isVisible','301QpSEsY'];_0x55c9=function(){return _0x798174;};return _0x55c9();}const Rr=_0x2bcbf9(0xb4),Tr=_0x2bcbf9(0x9a),Lr=_0x2bcbf9(0x9b),qr=_0x2bcbf9(0xa9);function _0x1254(_0x5274bc,_0x51e9ea){const _0x55c925=_0x55c9();return _0x1254=function(_0x1254cd,_0x1a78b4){_0x1254cd=_0x1254cd-0x8d;let _0x4d511a=_0x55c925[_0x1254cd];return _0x4d511a;},_0x1254(_0x5274bc,_0x51e9ea);}export class AIChatResourceListItemView extends _0x1298e9{[_0x2bcbf9(0xaf)];[_0x2bcbf9(0x90)];[_0x2bcbf9(0xa3)];constructor(_0x5cdc00,_0x3827c2){const _0x2d08c9=_0x2bcbf9;super(_0x5cdc00),this[_0x2d08c9(0xaf)]=_0x3827c2,this[_0x2d08c9(0xb7)](_0x2d08c9(0x8f),!!_0x3827c2[_0x2d08c9(0x8f)]),this[_0x2d08c9(0x90)]=this[_0x2d08c9(0xb1)](),this[_0x2d08c9(0xa3)]=this[_0x2d08c9(0xa7)](),this[_0x2d08c9(0x91)]();}[_0x2bcbf9(0xa6)](){const _0x41cab8=_0x2bcbf9;super[_0x41cab8(0xa6)]();}[_0x2bcbf9(0xa5)](_0x1d95bf){const _0x4b55f4=_0x2bcbf9;if(_0x1d95bf[_0x4b55f4(0x8f)])return _0x4f33ca;switch(_0x1d95bf[_0x4b55f4(0xb8)]){case _0x10a073[_0x4b55f4(0xa1)]:return _0x11fdd7;case _0x10a073[_0x4b55f4(0xa8)]:return _0xbbf8e1;case _0x10a073[_0x4b55f4(0xb0)]:case _0x10a073[_0x4b55f4(0xa0)]:return _0x480905;default:return _0x140786;}}[_0x2bcbf9(0x99)](_0x16d4c0){const _0xd4b699=_0x2bcbf9;if(!_0x16d4c0||''===_0x16d4c0[_0xd4b699(0x92)]())return void this[_0xd4b699(0x90)][_0xd4b699(0x99)](null);const _0x5ca58c=new RegExp(_0x394b2d(_0x16d4c0),'gi');this[_0xd4b699(0x90)][_0xd4b699(0x99)](_0x5ca58c);}[_0x2bcbf9(0x9e)](_0x1cc93f){const _0x5e4b23=_0x2bcbf9;this[_0x5e4b23(0xaf)][_0x5e4b23(0x8f)]=_0x1cc93f,this[_0x5e4b23(0x8f)]=_0x1cc93f,this[_0x5e4b23(0xa2)]();}[_0x2bcbf9(0xb1)](){const _0x4d0d53=_0x2bcbf9,_0x284dd5=new _0x29f162();return _0x284dd5[_0x4d0d53(0xb6)]=this[_0x4d0d53(0xaf)][_0x4d0d53(0xb2)],_0x284dd5[_0x4d0d53(0x8e)]({'tag':_0x4d0d53(0x9c),'attributes':{'class':[Lr]}}),_0x284dd5;}[_0x2bcbf9(0xa7)](){const _0x2a044f=_0x2bcbf9,_0x30f388=new _0x22ff3c();return _0x30f388[_0x2a044f(0x93)]=this[_0x2a044f(0xa5)](this[_0x2a044f(0xaf)]),_0x30f388;}[_0x2bcbf9(0x91)](){const _0x190f99=_0x2bcbf9,_0x3a4844=this[_0x190f99(0x9f)];this[_0x190f99(0x8d)]({'tag':_0x190f99(0xab),'attributes':{'class':[Rr,_0x3a4844['if'](_0x190f99(0xad),_0x190f99(0xaa),_0x1ce861=>!_0x1ce861),_0x3a4844['if'](_0x190f99(0x8f),Tr)]},'children':[{'tag':_0x190f99(0xab),'attributes':{'class':[qr]},'children':[this[_0x190f99(0xa3)]]},this[_0x190f99(0x90)]],'on':{'click':_0x3a4844['to'](_0x190f99(0x94))}});}[_0x2bcbf9(0xa2)](){const _0x579458=_0x2bcbf9;this[_0x579458(0xa3)][_0x579458(0x93)]=this[_0x579458(0xa5)](this[_0x579458(0xaf)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ef738=_0x14ab;(function(_0x276f41,_0x1b1587){const _0x1562ee=_0x14ab,_0x50b0fc=_0x276f41();while(!![]){try{const _0x33eb20=-parseInt(_0x1562ee(0x13f))/0x1*(-parseInt(_0x1562ee(0x156))/0x2)+parseInt(_0x1562ee(0x123))/0x3*(-parseInt(_0x1562ee(0x13b))/0x4)+-parseInt(_0x1562ee(0x154))/0x5*(parseInt(_0x1562ee(0x13c))/0x6)+parseInt(_0x1562ee(0x14a))/0x7*(-parseInt(_0x1562ee(0x155))/0x8)+parseInt(_0x1562ee(0x128))/0x9+parseInt(_0x1562ee(0x141))/0xa+parseInt(_0x1562ee(0x135))/0xb;if(_0x33eb20===_0x1b1587)break;else _0x50b0fc['push'](_0x50b0fc['shift']());}catch(_0x8a1ea3){_0x50b0fc['push'](_0x50b0fc['shift']());}}}(_0x1aa8,0xb05c0));function _0x14ab(_0x1044a6,_0x1e9bf5){const _0x1aa867=_0x1aa8();return _0x14ab=function(_0x14ab06,_0x3e7a39){_0x14ab06=_0x14ab06-0x121;let _0x376ce1=_0x1aa867[_0x14ab06];return _0x376ce1;},_0x14ab(_0x1044a6,_0x1e9bf5);}import{BalloonPanelView as _0x566c93,ButtonView as _0x4cb224,clickOutsideHandler as _0x255d9f,FormHeaderView as _0x3b4fb9}from'ckeditor5/src/ui.js';function _0x1aa8(){const _0x4aa5b1=['114DAJcyd','children','delete','2rphnxt','_bodyCollection','2147190Pqbvmh','pin','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','ck-button-icon\x20ck-button-back','element','_config','populateSourceResourceBalloon','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','onBackToContext','14TkisTU','_setupSingleResourceBalloonClickOutsideHandler','values','addResourceToContext','label','_createBalloonHeader','getTargetElement','_locale','extendTemplate','get','207185qIpUlw','5541176ffgqTC','412054NJxZhu','source','_addSourceResourceContent','show','add','isAnyResourceBalloonVisible','updateResourceState','showSourceResourcesBalloon','1859937nQRefD','_createSourceResourceBalloonPanel','onBalloonClosed','_createBalloonResourcesView','execute','2214414UNqPHW','_sourceResourceBalloons','clear','isVisible','onResourceSelected','ck-ai-chat-context-controls__source-balloon-panel','setResources','getLimiterElement','destroy','hide','_getResourcesViewFromBalloon','onLoadSourceResources','_createBackButton','29063375zquayr','content','set','closeSourceResourceBalloon','resource','loadSourceResources','4LhEwWE'];_0x1aa8=function(){return _0x4aa5b1;};return _0x1aa8();}import{IconPreviousArrow as _0x4bf1c9}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3a65de}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x4cf05c}from'./aichatresourcesview.js';const Or=_0x5ef738(0x12d),Hr=_0x5ef738(0x144),Fr=_0x5ef738(0x143);export class AIChatResourcesBalloonView{[_0x5ef738(0x129)]=new Map();[_0x5ef738(0x140)];[_0x5ef738(0x151)];[_0x5ef738(0x146)];constructor(_0x48f02,_0x26da21,_0x583e8d){const _0x39ca8b=_0x5ef738;this[_0x39ca8b(0x151)]=_0x48f02,this[_0x39ca8b(0x140)]=_0x26da21,this[_0x39ca8b(0x146)]=_0x583e8d;}[_0x5ef738(0x122)](_0x5ddd59){const _0x993041=_0x5ef738;let _0x35afc5=this[_0x993041(0x129)][_0x993041(0x153)](_0x5ddd59['id']);_0x35afc5||(_0x35afc5=this[_0x993041(0x124)](),this[_0x993041(0x129)][_0x993041(0x137)](_0x5ddd59['id'],_0x35afc5),this[_0x993041(0x14b)](_0x35afc5)),this[_0x993041(0x158)](_0x35afc5,_0x5ddd59),_0x35afc5[_0x993041(0x159)]();const _0x443a33=this[_0x993041(0x146)][_0x993041(0x150)]();_0x443a33&&_0x35afc5[_0x993041(0x142)]({'target':_0x443a33,'limiter':this[_0x993041(0x146)][_0x993041(0x12f)]()});}[_0x5ef738(0x147)](_0x5cba20,_0x3dc0f2,_0x524fc5){const _0x236fbd=_0x5ef738,_0x49d6bd=this[_0x236fbd(0x129)][_0x236fbd(0x153)](_0x5cba20);if(!_0x49d6bd)return;const _0x1df4ee=this[_0x236fbd(0x132)](_0x49d6bd);_0x1df4ee&&_0x1df4ee[_0x236fbd(0x12e)](_0x3dc0f2,_0x524fc5);}[_0x5ef738(0x138)](_0xbae285){const _0x43606b=_0x5ef738,_0x5b8efe=this[_0x43606b(0x129)][_0x43606b(0x153)](_0xbae285);_0x5b8efe&&requestAnimationFrame(()=>{const _0x2734f1=_0x43606b;_0x5b8efe[_0x2734f1(0x131)](),this[_0x2734f1(0x129)][_0x2734f1(0x13e)](_0xbae285),this[_0x2734f1(0x146)][_0x2734f1(0x125)]();});}[_0x5ef738(0x15b)](){const _0x324a2e=_0x5ef738;for(const _0x178a1f of this[_0x324a2e(0x129)][_0x324a2e(0x14c)]())if(_0x178a1f[_0x324a2e(0x12b)])return!0x0;return!0x1;}[_0x5ef738(0x121)](_0x549842,_0x1d2bdf,_0x117cd7){const _0x19174f=_0x5ef738,_0x4af784=this[_0x19174f(0x129)][_0x19174f(0x153)](_0x549842);if(!_0x4af784||!_0x4af784[_0x19174f(0x12b)])return;const _0x1472eb=this[_0x19174f(0x146)][_0x19174f(0x150)]();if(!_0x1472eb)return;_0x4af784[_0x19174f(0x142)]({'target':_0x1472eb,'limiter':this[_0x19174f(0x146)][_0x19174f(0x12f)]()});const _0x3f2b1d=this[_0x19174f(0x132)](_0x4af784);_0x3f2b1d&&_0x3f2b1d[_0x19174f(0x121)](_0x1d2bdf,_0x117cd7);}[_0x5ef738(0x130)](){const _0x37c132=_0x5ef738;for(const _0x2686dd of this[_0x37c132(0x129)][_0x37c132(0x14c)]())_0x2686dd[_0x37c132(0x130)]();this[_0x37c132(0x129)][_0x37c132(0x12a)]();}[_0x5ef738(0x124)](){const _0x53f9cb=_0x5ef738,_0x3504a1=new _0x566c93(this[_0x53f9cb(0x151)]);return _0x3504a1[_0x53f9cb(0x152)]({'attributes':{'class':Or}}),this[_0x53f9cb(0x140)][_0x53f9cb(0x15a)](_0x3504a1),_0x3504a1;}[_0x5ef738(0x158)](_0x5da35b,_0x153495){const _0x26e167=_0x5ef738;_0x5da35b[_0x26e167(0x136)][_0x26e167(0x12a)]();const _0x4e5064=this[_0x26e167(0x14f)](_0x5da35b,_0x153495);_0x5da35b[_0x26e167(0x136)][_0x26e167(0x15a)](_0x4e5064);const _0x5087bd=this[_0x26e167(0x126)](_0x153495);_0x5da35b[_0x26e167(0x136)][_0x26e167(0x15a)](_0x5087bd);}[_0x5ef738(0x14f)](_0x1a1f62,_0x23b646){const _0xd280da=_0x5ef738,_0x95891d=this[_0xd280da(0x134)](_0x1a1f62),_0x3f733a=new _0x3b4fb9(this[_0xd280da(0x151)],{'label':_0x23b646[_0xd280da(0x14e)],'class':Fr});return _0x3f733a[_0xd280da(0x13d)][_0xd280da(0x15a)](_0x95891d,0x0),_0x3f733a;}[_0x5ef738(0x134)](_0x56f053){const _0x2e8c7e=_0x5ef738,_0x1434db=new _0x4cb224(this[_0x2e8c7e(0x151)]);return _0x1434db[_0x2e8c7e(0x137)]({'icon':_0x4bf1c9,'tooltip':_0x3a65de(this[_0x2e8c7e(0x151)],_0x2e8c7e(0x148)),'tooltipPosition':'n','class':Hr}),_0x1434db['on'](_0x2e8c7e(0x127),()=>{const _0xd3d011=_0x2e8c7e;_0x56f053[_0xd3d011(0x131)](),this[_0xd3d011(0x146)][_0xd3d011(0x149)]();}),_0x1434db;}[_0x5ef738(0x126)](_0x4b34ff){const _0x23ea45=_0x5ef738,_0xf948b5=new _0x4cf05c(this[_0x23ea45(0x151)],_0x4b34ff);return _0xf948b5['on'](_0x23ea45(0x13a),(_0x54b1b5,_0x449bf6)=>{const _0x33ed76=_0x23ea45;this[_0x33ed76(0x146)][_0x33ed76(0x133)](_0x449bf6);}),_0xf948b5['on'](_0x23ea45(0x14d),(_0x522ed,_0x1ab26a)=>{const _0x6a4cba=_0x23ea45;this[_0x6a4cba(0x146)][_0x6a4cba(0x12c)](_0x1ab26a[_0x6a4cba(0x157)],_0x1ab26a[_0x6a4cba(0x139)]),this[_0x6a4cba(0x138)](_0x4b34ff['id']);}),_0xf948b5;}[_0x5ef738(0x132)](_0x178894){const _0x3186ae=_0x5ef738,_0x4608d3=_0x178894[_0x3186ae(0x136)][_0x3186ae(0x153)](0x1);return _0x4608d3 instanceof _0x4cf05c?_0x4608d3:null;}[_0x5ef738(0x14b)](_0xbf7b11){const _0x39003a=_0x5ef738;_0x255d9f({'emitter':_0xbf7b11,'contextElements':[_0xbf7b11[_0x39003a(0x145)]],'callback':()=>{const _0x2ab3a7=_0x39003a;_0xbf7b11[_0x2ab3a7(0x131)](),this[_0x2ab3a7(0x146)][_0x2ab3a7(0x125)]();},'activator':()=>_0xbf7b11[_0x39003a(0x12b)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d4a3b=_0xed7b;(function(_0x22d45e,_0x5e114a){const _0x10b1ea=_0xed7b,_0x493263=_0x22d45e();while(!![]){try{const _0x57fd08=parseInt(_0x10b1ea(0x175))/0x1+parseInt(_0x10b1ea(0x16f))/0x2+parseInt(_0x10b1ea(0x167))/0x3*(-parseInt(_0x10b1ea(0x16d))/0x4)+-parseInt(_0x10b1ea(0x15a))/0x5+-parseInt(_0x10b1ea(0x174))/0x6+-parseInt(_0x10b1ea(0x15f))/0x7*(parseInt(_0x10b1ea(0x166))/0x8)+-parseInt(_0x10b1ea(0x16c))/0x9*(-parseInt(_0x10b1ea(0x158))/0xa);if(_0x57fd08===_0x5e114a)break;else _0x493263['push'](_0x493263['shift']());}catch(_0x51ce59){_0x493263['push'](_0x493263['shift']());}}}(_0x3569,0xa92f3));import{ListView as _0x24b3a8}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x34da0b}from'./aichatresourcelistitemview.js';function _0x3569(){const _0x5f1d5d=['4259170gwcbvl','locale','forEach','clear','add','7KqRONi','trim','updateResourceState','useDefaultFiltering','test','_handleResourceSelection','extendTemplate','1510800Hleykk','9RQHVlf','_source','\x5c$&','items','filter','7013295TxhfMU','909628AwiUyG','highlightText','1899056fNvVMx','resource','fire','setResources','ck-ai-chat-resources__list','3438546lWeqek','1260192YngkHI','addResourceToContext','label','execute','10BkKJoI','replace'];_0x3569=function(){return _0x5f1d5d;};return _0x3569();}const sc=_0x1d4a3b(0x173);function _0xed7b(_0xa2dc53,_0x1b352f){const _0x3569c9=_0x3569();return _0xed7b=function(_0xed7be,_0x7db79d){_0xed7be=_0xed7be-0x156;let _0x1c942f=_0x3569c9[_0xed7be];return _0x1c942f;},_0xed7b(_0xa2dc53,_0x1b352f);}export class AIChatContextResourcesListView extends _0x24b3a8{[_0x1d4a3b(0x168)];constructor(_0x1a0e51,_0x2ce189){const _0x6d86aa=_0x1d4a3b;super(_0x1a0e51),this[_0x6d86aa(0x168)]=_0x2ce189,this[_0x6d86aa(0x165)]({'attributes':{'class':[sc]}});}[_0x1d4a3b(0x172)](_0x2f184b,_0x56a599){const _0x191c3f=_0x1d4a3b;this[_0x191c3f(0x16a)][_0x191c3f(0x15d)]();let _0xd5195f=_0x2f184b;if(this[_0x191c3f(0x168)][_0x191c3f(0x162)]&&_0x56a599&&''!==_0x56a599[_0x191c3f(0x160)]()){const _0x149d5d=new RegExp(_0x56a599[_0x191c3f(0x159)](/[.*+?^${}()|[\]\\]/g,_0x191c3f(0x169)),'gi');_0xd5195f=_0x2f184b[_0x191c3f(0x16b)](_0x5e1ef6=>_0x149d5d[_0x191c3f(0x163)](_0x5e1ef6[_0x191c3f(0x156)]));}for(const _0x459590 of _0xd5195f){const _0x1847e0=new _0x34da0b(this[_0x191c3f(0x15b)],_0x459590);_0x1847e0['on'](_0x191c3f(0x157),()=>{const _0x26df0d=_0x191c3f;this[_0x26df0d(0x164)](this[_0x26df0d(0x168)],_0x459590);}),this[_0x191c3f(0x16a)][_0x191c3f(0x15e)](_0x1847e0);}this[_0x191c3f(0x168)][_0x191c3f(0x162)]&&this[_0x191c3f(0x16e)](_0x56a599);}[_0x1d4a3b(0x16e)](_0x4c3882){const _0x4bcc15=_0x1d4a3b;this[_0x4bcc15(0x168)][_0x4bcc15(0x162)]&&this[_0x4bcc15(0x16a)][_0x4bcc15(0x15c)](_0x5699d5=>{const _0x618e6b=_0x4bcc15;_0x5699d5[_0x618e6b(0x16e)](_0x4c3882);});}[_0x1d4a3b(0x161)](_0x198f02,_0x17e6f9){const _0x39438a=_0x1d4a3b;for(const _0x5657bf of this[_0x39438a(0x16a)]){const _0x903bc5=_0x5657bf;_0x903bc5[_0x39438a(0x170)]['id']===_0x198f02&&_0x903bc5[_0x39438a(0x161)](_0x17e6f9);}}[_0x1d4a3b(0x164)](_0x56c312,_0x50bd3a){const _0x56f377=_0x1d4a3b;this[_0x56f377(0x171)](_0x56f377(0x176),{'source':_0x56c312,'resource':_0x50bd3a});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x3a9028,IconView as _0x4e47f1,LabeledFieldView as th,createLabeledInputText as _0x261473}from'ckeditor5/src/ui.js';import{IconLoupe as _0x57bb8d,IconCancel as _0x57539e}from'ckeditor5/src/icons.js';import{getTranslation as _0x41298a}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x556236){const t=_0x556236['t'],_0x4c9d66={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x261473,'label':_0x41298a(_0x556236,'AI_CHAT_SEARCH_RESOURCES')};super(_0x556236,_0x4c9d66['creator']),this['label']=_0x4c9d66['label'],this['_viewConfig']=_0x4c9d66,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x556236,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x439b9e){this['fire']('search',_0x439b9e);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x4e47f1(),this['iconView']['content']=_0x57bb8d,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x59d72f,t){this['resetButtonView']=new _0x3a9028(_0x59d72f),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x57539e,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x340b52=>!_0x340b52),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28b1e3=_0x1045;(function(_0x4c0b56,_0x2aae38){const _0x1545dc=_0x1045,_0x327080=_0x4c0b56();while(!![]){try{const _0x4fe0c0=-parseInt(_0x1545dc(0x96))/0x1+-parseInt(_0x1545dc(0xad))/0x2*(parseInt(_0x1545dc(0x9a))/0x3)+-parseInt(_0x1545dc(0xb4))/0x4*(-parseInt(_0x1545dc(0x9c))/0x5)+-parseInt(_0x1545dc(0xa2))/0x6*(-parseInt(_0x1545dc(0xae))/0x7)+parseInt(_0x1545dc(0xb7))/0x8+parseInt(_0x1545dc(0x9f))/0x9*(parseInt(_0x1545dc(0xbb))/0xa)+parseInt(_0x1545dc(0xaa))/0xb*(-parseInt(_0x1545dc(0xbe))/0xc);if(_0x4fe0c0===_0x2aae38)break;else _0x327080['push'](_0x327080['shift']());}catch(_0x3e6e20){_0x327080['push'](_0x327080['shift']());}}}(_0x59a9,0x7dd6b));import{View as _0x1bb072,ViewCollection as _0x32264a}from'ckeditor5/src/ui.js';function _0x59a9(){const _0xf489de=['ck\x20ck-search','_skeletonLoader','setTemplate','highlightText','loadResources','14499067jBeCoA','extendTemplate','_resourcesListView','2fkrsxQ','7awpVEj','_searchView','_createSearchView','locale','_createResourcesListView','isLoading','4BHPjHB','useDefaultFiltering','fire','8046896LxKThQ','getQuery','_createSearchSection','addResourceToContext','6700cromCq','aiChatResources','children','12sgYaxb','_latestLoadResourcesUid','bindTemplate','render','search','501953AjZQPx','div','_source','updateResourceState','1134579YGXkoh','setResources','446005CEYGYN','loadSourceResources','_createSkeletonView','10089WXNWwG','ck-ai-chat-resources','set','5205270HknECn','delegate','ck-hidden'];_0x59a9=function(){return _0xf489de;};return _0x59a9();}import{uid as _0x1b908c}from'ckeditor5/src/utils.js';function _0x1045(_0x377b4b,_0x39c0d6){const _0x59a989=_0x59a9();return _0x1045=function(_0x104524,_0x22a6a5){_0x104524=_0x104524-0x92;let _0x41d00b=_0x59a989[_0x104524];return _0x41d00b;},_0x1045(_0x377b4b,_0x39c0d6);}import{AIChatContextResourcesListView as _0x4bf987}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x537083}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x554251,SKELETON_DEFINITIONS as _0x4885fb}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x1bb072{[_0x28b1e3(0xaf)];[_0x28b1e3(0xac)];[_0x28b1e3(0xa6)];[_0x28b1e3(0x98)];[_0x28b1e3(0xbd)];[_0x28b1e3(0x92)]=null;constructor(_0x392afd,_0x44329a){const _0x2a954d=_0x28b1e3;super(_0x392afd),this[_0x2a954d(0x98)]=_0x44329a,this[_0x2a954d(0xa1)](_0x2a954d(0xb3),!0x0),this[_0x2a954d(0xaf)]=this[_0x2a954d(0xb0)]();const _0x5d8145=this[_0x2a954d(0xb9)]();this[_0x2a954d(0xac)]=this[_0x2a954d(0xb2)](),this[_0x2a954d(0xa6)]=this[_0x2a954d(0x9e)](),this[_0x2a954d(0xbd)]=new _0x32264a([_0x5d8145,this[_0x2a954d(0xa6)],this[_0x2a954d(0xac)]]),this[_0x2a954d(0xa7)]({'tag':_0x2a954d(0x97),'attributes':{'class':_0x2a954d(0xa0)},'children':this[_0x2a954d(0xbd)]});}[_0x28b1e3(0xb0)](){const _0x3ec0ab=_0x28b1e3;return new _0x537083(this[_0x3ec0ab(0xb1)]);}[_0x28b1e3(0xb9)](){const _0x461a8e=_0x28b1e3,_0x2a4e82=new _0x1bb072(this[_0x461a8e(0xb1)]);return _0x2a4e82[_0x461a8e(0xa7)]({'tag':_0x461a8e(0x97),'attributes':{'class':_0x461a8e(0xa5)},'children':[this[_0x461a8e(0xaf)]]}),this[_0x461a8e(0xaf)]['on'](_0x461a8e(0x95),(_0x51d85c,_0x2e3247)=>{const _0x168ca9=_0x461a8e;this[_0x168ca9(0xa9)](_0x2e3247),this[_0x168ca9(0x98)][_0x168ca9(0xb5)]&&this[_0x168ca9(0xac)][_0x168ca9(0xa8)](_0x2e3247);}),_0x2a4e82;}[_0x28b1e3(0xb2)](){const _0x161eae=_0x28b1e3,_0x3f74b7=new _0x4bf987(this[_0x161eae(0xb1)],this[_0x161eae(0x98)]);return _0x3f74b7[_0x161eae(0xa3)](_0x161eae(0xba))['to'](this),_0x3f74b7[_0x161eae(0xab)]({'attributes':{'class':this[_0x161eae(0x93)]['if'](_0x161eae(0xb3),_0x161eae(0xa4))}}),_0x3f74b7;}[_0x28b1e3(0x9e)](){const _0x2c4d74=_0x28b1e3,_0x554325=new _0x554251(this[_0x2c4d74(0xb1)],_0x4885fb[_0x2c4d74(0xbc)]);return _0x554325[_0x2c4d74(0xab)]({'attributes':{'class':[this[_0x2c4d74(0x93)]['if'](_0x2c4d74(0xb3),_0x2c4d74(0xa4),_0x1721a2=>!_0x1721a2)]}}),_0x554325;}[_0x28b1e3(0x94)](){const _0xf4b31c=_0x28b1e3;super[_0xf4b31c(0x94)](),this[_0xf4b31c(0xa9)]('');}[_0x28b1e3(0xa9)](_0x2dcb81){const _0x4d7d49=_0x28b1e3,_0x34d8ea=_0x1b908c();this[_0x4d7d49(0x92)]=_0x34d8ea,this[_0x4d7d49(0xb6)](_0x4d7d49(0x9d),{'sourceId':this[_0x4d7d49(0x98)]['id'],'query':_0x2dcb81,'uid':_0x34d8ea}),this[_0x4d7d49(0xb3)]=!0x0;}[_0x28b1e3(0x9b)](_0x2df47c,_0x25384a){const _0x34523e=_0x28b1e3;if(_0x25384a&&_0x25384a!==this[_0x34523e(0x92)])return;const _0x4bf74a=this[_0x34523e(0x98)][_0x34523e(0xb5)]?this[_0x34523e(0xaf)][_0x34523e(0xb8)]():'';this[_0x34523e(0xac)][_0x34523e(0x9b)](_0x2df47c,_0x4bf74a),requestAnimationFrame(()=>{const _0x426bd3=_0x34523e;this[_0x426bd3(0xb3)]=!0x1;});}[_0x28b1e3(0x99)](_0x1111aa,_0x424a2e){const _0x5212f9=_0x28b1e3;this[_0x5212f9(0xac)][_0x5212f9(0x99)](_0x1111aa,_0x424a2e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1eaa(){const _0x5549a0=['172904EuaVMM','render','ck-ai-chat-context-chips-wrapper','locale','ck-ai-chat-controls-button','ck-ai-chat__feed__context-chips','5848931ruTATw','div','reorganizeChips','_contextChips','317500sKnfTG','ck-ai-chat-controls_context_show-more-button','_createContextChips','_bodyCollection','setContainerElement','10VJwMQG','destroy','65560QLgKjq','setTemplate','querySelector','126oCfxpB','327EWLWZt','3566iQGCsJ','ck-reset_all','element','_overflowManager','156627MymeKx','add','2584752huUVdC','ck-ai-chat-context-controls__show-more-balloon-panel','createCollection','4AmQWcJ','ck-ai-chat-context-chips-wrapper-balloon'];_0x1eaa=function(){return _0x5549a0;};return _0x1eaa();}const _0x313a75=_0x2d9a;function _0x2d9a(_0x458460,_0x3e3256){const _0x1eaac0=_0x1eaa();return _0x2d9a=function(_0x2d9ab1,_0x2171a5){_0x2d9ab1=_0x2d9ab1-0x1ae;let _0x1f5590=_0x1eaac0[_0x2d9ab1];return _0x1f5590;},_0x2d9a(_0x458460,_0x3e3256);}(function(_0x59d6e6,_0x35ef49){const _0x48531b=_0x2d9a,_0x39a604=_0x59d6e6();while(!![]){try{const _0x1c654b=parseInt(_0x48531b(0x1c0))/0x1+parseInt(_0x48531b(0x1cc))/0x2*(parseInt(_0x48531b(0x1cb))/0x3)+parseInt(_0x48531b(0x1b4))/0x4*(-parseInt(_0x48531b(0x1c7))/0x5)+-parseInt(_0x48531b(0x1b1))/0x6+parseInt(_0x48531b(0x1ca))/0x7*(-parseInt(_0x48531b(0x1b6))/0x8)+parseInt(_0x48531b(0x1af))/0x9+parseInt(_0x48531b(0x1c5))/0xa*(parseInt(_0x48531b(0x1bc))/0xb);if(_0x1c654b===_0x35ef49)break;else _0x39a604['push'](_0x39a604['shift']());}catch(_0x24a22e){_0x39a604['push'](_0x39a604['shift']());}}}(_0x1eaa,0x37ac1));import{View as _0x4eb492}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x5d813c}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x3bb496}from'../controls/aichatchipsoverflowmanager.js';const jo=_0x313a75(0x1bb),Fo=_0x313a75(0x1b8),$o=_0x313a75(0x1b5),go=_0x313a75(0x1ba),fo=_0x313a75(0x1c1),Io=_0x313a75(0x1b2);export class AIChatFeedContextChipsView extends _0x4eb492{[_0x313a75(0x1bf)]=this[_0x313a75(0x1b3)]();[_0x313a75(0x1ae)];[_0x313a75(0x1c3)];constructor(_0x348415,_0x169d23,_0x2f529d){const _0x192931=_0x313a75;super(_0x348415),this[_0x192931(0x1c3)]=_0x2f529d,this[_0x192931(0x1c2)](_0x169d23);const _0x3822bd={'cssClasses':{'showMoreButton':fo,'showMoreBalloon':Io,'overflowContainer':$o,'controlsButton':go}};this[_0x192931(0x1ae)]=new _0x3bb496(_0x348415,this[_0x192931(0x1bf)],_0x3822bd,this[_0x192931(0x1c3)],this),this[_0x192931(0x1c8)]({'tag':_0x192931(0x1bd),'attributes':{'class':[jo,'ck',_0x192931(0x1cd)]},'children':[{'tag':_0x192931(0x1bd),'attributes':{'class':Fo},'children':this[_0x192931(0x1bf)]}]});}[_0x313a75(0x1b7)](){const _0x2aa3d8=_0x313a75;super[_0x2aa3d8(0x1b7)]();const _0x100d91=this[_0x2aa3d8(0x1ce)][_0x2aa3d8(0x1c9)]('.'+Fo);_0x100d91&&(this[_0x2aa3d8(0x1ae)][_0x2aa3d8(0x1c4)](_0x100d91),this[_0x2aa3d8(0x1ae)][_0x2aa3d8(0x1be)]());}[_0x313a75(0x1c6)](){const _0x47a730=_0x313a75;super[_0x47a730(0x1c6)](),this[_0x47a730(0x1ae)][_0x47a730(0x1c6)]();}[_0x313a75(0x1c2)](_0x48dcdd){const _0xd417e4=_0x313a75;for(const _0x1a0447 of _0x48dcdd){const _0x22ae88=new _0x5d813c(this[_0xd417e4(0x1b9)],_0x1a0447,!0x0,!0x1);this[_0xd417e4(0x1bf)][_0xd417e4(0x1b0)](_0x22ae88);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x16d9db=_0xc74f;function _0xc74f(_0x526285,_0x325fcc){var _0x46ad6e=_0x46ad();return _0xc74f=function(_0xc74f32,_0xacb66f){_0xc74f32=_0xc74f32-0x8f;var _0x2be690=_0x46ad6e[_0xc74f32];return _0x2be690;},_0xc74f(_0x526285,_0x325fcc);}(function(_0x37c651,_0x105e3f){var _0x320df4=_0xc74f,_0x28d78a=_0x37c651();while(!![]){try{var _0x5b1078=-parseInt(_0x320df4(0xa1))/0x1+parseInt(_0x320df4(0x9b))/0x2+-parseInt(_0x320df4(0x9e))/0x3+parseInt(_0x320df4(0x9a))/0x4*(-parseInt(_0x320df4(0x9d))/0x5)+-parseInt(_0x320df4(0x9c))/0x6+parseInt(_0x320df4(0x92))/0x7+parseInt(_0x320df4(0x8f))/0x8;if(_0x5b1078===_0x105e3f)break;else _0x28d78a['push'](_0x28d78a['shift']());}catch(_0x47ff13){_0x28d78a['push'](_0x28d78a['shift']());}}}(_0x46ad,0x90bd5));import{AIChatFeedItemView as _0x160068}from'./aichatfeeditemview.js';function _0x46ad(){var _0x32f53f=['12340Oaoece','798954lbfjQt','1369848tMaGNs','1135NWsvGC','976281huFRAD','warning','render','243677XljUCO','options','11267952logoVs','markAsDone','initialContent','1978123DLZtNM','innerHTML','element','ck-ai-chat-error','setContent','ck-ai-chat-error_warning','level','extendTemplate'];_0x46ad=function(){return _0x32f53f;};return _0x46ad();}export class AIChatFeedErrorItemView extends _0x160068{constructor(_0x15de1c){var _0x3379d6=_0xc74f;super(_0x15de1c),this[_0x3379d6(0x99)]({'attributes':{'class':[_0x3379d6(0x95),_0x3379d6(0x9f)===_0x15de1c[_0x3379d6(0x98)]?_0x3379d6(0x97):'']}});}[_0x16d9db(0xa0)](){var _0x273e0f=_0x16d9db;super[_0x273e0f(0xa0)](),this[_0x273e0f(0x96)](this[_0x273e0f(0xa2)][_0x273e0f(0x91)]),this[_0x273e0f(0x90)]();}[_0x16d9db(0x96)](_0x12feca){var _0x19f70a=_0x16d9db;this[_0x19f70a(0x94)][_0x19f70a(0x93)]=_0x12feca;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3de859,_0x5ce590){const _0x38bd3a=_0x4a9f,_0x260403=_0x3de859();while(!![]){try{const _0x60d223=-parseInt(_0x38bd3a(0xc3))/0x1*(-parseInt(_0x38bd3a(0xb2))/0x2)+-parseInt(_0x38bd3a(0xb9))/0x3*(parseInt(_0x38bd3a(0xc2))/0x4)+-parseInt(_0x38bd3a(0xaf))/0x5*(parseInt(_0x38bd3a(0xb3))/0x6)+parseInt(_0x38bd3a(0xb5))/0x7+parseInt(_0x38bd3a(0xc0))/0x8*(-parseInt(_0x38bd3a(0xb4))/0x9)+-parseInt(_0x38bd3a(0xbf))/0xa+parseInt(_0x38bd3a(0xb6))/0xb;if(_0x60d223===_0x5ce590)break;else _0x260403['push'](_0x260403['shift']());}catch(_0x57873c){_0x260403['push'](_0x260403['shift']());}}}(_0x3dac,0x45855));import{IconBulb as _0x4a7706,IconWeb as _0x31b799}from'@ckeditor/ckeditor5-icons';import{IconView as _0x2a3303,View as _0x4f4fc6}from'ckeditor5/src/ui.js';function _0x4a9f(_0x56dbf3,_0x48758f){const _0x3dac3c=_0x3dac();return _0x4a9f=function(_0x4a9fe4,_0x4430b8){_0x4a9fe4=_0x4a9fe4-0xac;let _0x4bd724=_0x3dac3c[_0x4a9fe4];return _0x4bd724;},_0x4a9f(_0x56dbf3,_0x48758f);}import{AIChatFeedItemView as _0x1eda5e}from'./aichatfeeditemview.js';import{getTranslation as _0x4dbad0}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x1eda5e{constructor(_0x2dd095,_0x1f4379){const _0x15fc77=_0x4a9f;super(_0x1f4379);const {isWebSearchEnabled:_0x2ff5f1,isReasoningEnabled:_0x162352}=_0x1f4379[_0x15fc77(0xc4)],_0x50430c=[];let _0x3065e9='';_0x2ff5f1&&_0x162352?(_0x3065e9=_0x4dbad0(_0x2dd095,_0x15fc77(0xbb)),_0x50430c[_0x15fc77(0xb8)](e_(_0x31b799)),_0x50430c[_0x15fc77(0xb8)](e_(_0x4a7706))):_0x2ff5f1?(_0x3065e9=_0x4dbad0(_0x2dd095,_0x15fc77(0xb0)),_0x50430c[_0x15fc77(0xb8)](e_(_0x31b799))):_0x162352&&(_0x3065e9=_0x4dbad0(_0x2dd095,_0x15fc77(0xbd)),_0x50430c[_0x15fc77(0xb8)](e_(_0x4a7706))),this[_0x15fc77(0xbe)]({'attributes':{'class':[_0x15fc77(0xc5),_0x3065e9?'':_0x15fc77(0xad)]}});const _0x4b83ee=new _0x4f4fc6();_0x4b83ee[_0x15fc77(0xb7)]({'tag':_0x15fc77(0xb1),'attributes':{'class':['ck',_0x15fc77(0xbc)]},'children':[..._0x50430c,{'tag':_0x15fc77(0xac),'attributes':{'class':[_0x15fc77(0xc6)]},'children':[_0x3065e9]}]}),this[_0x15fc77(0xba)][_0x15fc77(0xae)](_0x4b83ee);}}function e_(_0x5a3f75){const _0x3484bb=_0x4a9f,_0x5c6e90=new _0x2a3303();return _0x5c6e90[_0x3484bb(0xc1)]=_0x5a3f75,_0x5c6e90;}function _0x3dac(){const _0x43bc2a=['12349513VZKLex','setTemplate','push','10749qxwgLo','children','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','extendTemplate','5317770ffBnpQ','825464FDWDWv','content','548rAJfpu','131305aFukHI','capabilities','ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities__text','span','ck-hidden','add','760xxCSQL','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','div','6rPMrYu','17364VdvwXW','9JZUCxB','2337146rwPFPy'];_0x3dac=function(){return _0x43bc2a;};return _0x3dac();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e6c2c=_0x3641;(function(_0x42e4f8,_0x37537f){const _0x3840f9=_0x3641,_0x24df56=_0x42e4f8();while(!![]){try{const _0x397d74=parseInt(_0x3840f9(0x1d4))/0x1+-parseInt(_0x3840f9(0x1b6))/0x2*(parseInt(_0x3840f9(0x1d9))/0x3)+-parseInt(_0x3840f9(0x1c1))/0x4*(-parseInt(_0x3840f9(0x1cd))/0x5)+-parseInt(_0x3840f9(0x1da))/0x6*(-parseInt(_0x3840f9(0x1c7))/0x7)+parseInt(_0x3840f9(0x1bb))/0x8*(parseInt(_0x3840f9(0x1cf))/0x9)+parseInt(_0x3840f9(0x1bf))/0xa*(-parseInt(_0x3840f9(0x1d5))/0xb)+parseInt(_0x3840f9(0x1c0))/0xc*(-parseInt(_0x3840f9(0x1d8))/0xd);if(_0x397d74===_0x37537f)break;else _0x24df56['push'](_0x24df56['shift']());}catch(_0x39b5c5){_0x24df56['push'](_0x24df56['shift']());}}}(_0xac8e,0x8b74e));function _0xac8e(){const _0x8d6dad=['stream','15HMhNDv','htmlStreamer','81pjcBvW','forEach','div','setTemplate','createCollection','136466EOYrdf','155881rUxOyn','element','removeAttribute','13drfuOn','2001YntWAX','1110qfzKKJ','querySelectorAll','content','2116sDluWM','ck-ai-chat__feed__text-item','data-id','isDone','animation:\x20ck-html-streamer-fade-in\x20.5s','616744ToOCvZ','options','ck-ai-chat__feed__item','markAsDone','530fKzvBS','3864864fbjuXc','918776cNMIoV','isVisible','ck-ai-chat__feed__item_done','bindTemplate','streamIntoElement','children','31430VQPCzr','ck-hidden','[data-id]','cleanUpAnimations','set'];_0xac8e=function(){return _0x8d6dad;};return _0xac8e();}import{View as _0x51a233}from'ckeditor5/src/ui.js';function _0x3641(_0xd36f1e,_0x3ddd31){const _0xac8eec=_0xac8e();return _0x3641=function(_0x364118,_0x22f1d0){_0x364118=_0x364118-0x1b6;let _0x46d114=_0xac8eec[_0x364118];return _0x46d114;},_0x3641(_0xd36f1e,_0x3ddd31);}import{HTMLStreamer as _0x311596}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x51a233{[_0x2e6c2c(0x1bc)];[_0x2e6c2c(0x1dc)]='';[_0x2e6c2c(0x1ce)];[_0x2e6c2c(0x1c6)];constructor(_0x3d1435){const _0x2197c9=_0x2e6c2c;super();const _0x576947=this[_0x2197c9(0x1c4)];this[_0x2197c9(0x1cb)](_0x2197c9(0x1b9),!0x1),this[_0x2197c9(0x1cb)](_0x2197c9(0x1c2),!0x0),this[_0x2197c9(0x1ce)]=new _0x311596({'textNodeStyle':_0x2197c9(0x1ba),'delay':0x14}),this[_0x2197c9(0x1bc)]=_0x3d1435,this[_0x2197c9(0x1c6)]=this[_0x2197c9(0x1d3)](),this[_0x2197c9(0x1d2)]({'tag':_0x2197c9(0x1d1),'attributes':{'class':['ck',_0x2197c9(0x1bd),_0x576947['if'](_0x2197c9(0x1b9),_0x2197c9(0x1c3)),_0x576947['if'](_0x2197c9(0x1c2),_0x2197c9(0x1c8),_0x56f6c3=>!_0x56f6c3),_0x2197c9(0x1b7)],'data-cke-ai-id':this[_0x2197c9(0x1bc)]['id']},'children':this[_0x2197c9(0x1c6)]});}[_0x2e6c2c(0x1be)](){const _0x37fd88=_0x2e6c2c;this[_0x37fd88(0x1ce)][_0x37fd88(0x1ca)]({'targetElement':this[_0x37fd88(0x1d6)]}),this[_0x37fd88(0x1d6)][_0x37fd88(0x1db)](_0x37fd88(0x1c9))[_0x37fd88(0x1d0)](_0x1008d9=>{const _0x51330f=_0x37fd88;_0x1008d9[_0x51330f(0x1d7)](_0x51330f(0x1b8));}),this[_0x37fd88(0x1b9)]=!0x0;}async[_0x2e6c2c(0x1c5)](_0x459a03,_0x323077,_0x4d09c0){const _0x50c8ae=_0x2e6c2c;await this[_0x50c8ae(0x1ce)][_0x50c8ae(0x1cc)]({'document':_0x459a03,'targetElement':_0x323077,'abortSignal':_0x4d09c0});}}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module ai/aichat/ui/feed/aichatfeedreplyitemview
|
|
7
7
|
*/
|
|
8
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
8
9
|
import { AIChatFeedItemView, type AIChatItemViewOptions } from './aichatfeeditemview.js';
|
|
9
10
|
import { type Document } from '../../../aicore/utils/htmlparser.js';
|
|
10
11
|
import { type AIContentRenderingStrategy } from '../../../aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js';
|
|
@@ -20,7 +21,7 @@ export declare class AIChatFeedReplyItemView extends AIChatFeedItemView {
|
|
|
20
21
|
/**
|
|
21
22
|
* @inheritDoc
|
|
22
23
|
*/
|
|
23
|
-
constructor(options: AIChatFeedReplyItemViewOptions);
|
|
24
|
+
constructor(locale: Locale, options: AIChatFeedReplyItemViewOptions);
|
|
24
25
|
/**
|
|
25
26
|
* @inheritDoc
|
|
26
27
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49c3a0=_0x1ff1;(function(_0x127dc4,_0x3c1a58){const _0x1a6b7d=_0x1ff1,_0x195f31=_0x127dc4();while(!![]){try{const _0x6c6fdd=-parseInt(_0x1a6b7d(0x19c))/0x1+-parseInt(_0x1a6b7d(0x199))/0x2+parseInt(_0x1a6b7d(0x185))/0x3+parseInt(_0x1a6b7d(0x19d))/0x4*(-parseInt(_0x1a6b7d(0x197))/0x5)+-parseInt(_0x1a6b7d(0x19e))/0x6+-parseInt(_0x1a6b7d(0x18f))/0x7+parseInt(_0x1a6b7d(0x18c))/0x8;if(_0x6c6fdd===_0x3c1a58)break;else _0x195f31['push'](_0x195f31['shift']());}catch(_0x2df54e){_0x195f31['push'](_0x195f31['shift']());}}}(_0x7330,0xb2506));import{AIChatFeedItemView as _0x357347}from'./aichatfeeditemview.js';import{parse as _0x132eda,render as _0x182439}from'../../../aicore/utils/htmlparser.js';function _0x1ff1(_0xe5bd01,_0x336957){const _0x7330e9=_0x7330();return _0x1ff1=function(_0x1ff179,_0x2c8314){_0x1ff179=_0x1ff179-0x185;let _0x13b881=_0x7330e9[_0x1ff179];return _0x13b881;},_0x1ff1(_0xe5bd01,_0x336957);}function _0x7330(){const _0x3929fd=['options','streamIntoElement','innerHTML','515HyhPHM','children','868130JZfoWe','markAsDone','add','1378620OZliqp','7516CzLdpQ','600384TDnlZv','locale','streaming','ck-reset_all-excluded','initialContent','ck-ai-chat__feed__ai-reply','map','2359392wvhBAY','element','addMany','replyContainer','isVisible','updateSources','updateContent','25316608ZSucKC','setTemplate','extendTemplate','7800660pFmppd','render','ck-ai-chat__feed__ai-reply-container','div','static'];_0x7330=function(){return _0x3929fd;};return _0x7330();}import{View as _0x16d206}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0xeb009,AIWebSourceView as _0x5a135a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x357347{[_0x49c3a0(0x188)];constructor(_0x525510,_0x4a7575){const _0x19dd8a=_0x49c3a0;super(_0x4a7575),this[_0x19dd8a(0x19f)]=_0x525510,this[_0x19dd8a(0x18e)]({'attributes':{'class':[_0x19dd8a(0x1a3)]}}),this[_0x19dd8a(0x188)]=new _0x16d206(),this[_0x19dd8a(0x188)][_0x19dd8a(0x18d)]({'tag':_0x19dd8a(0x192),'attributes':{'class':['ck',_0x19dd8a(0x1a1),_0x19dd8a(0x191)]}}),this[_0x19dd8a(0x198)][_0x19dd8a(0x19b)](this[_0x19dd8a(0x188)]);}async[_0x49c3a0(0x190)](){const _0x19d090=_0x49c3a0;super[_0x19d090(0x190)](),this[_0x19d090(0x194)][_0x19d090(0x1a2)]&&(await this[_0x19d090(0x18b)]({'parsedContent':_0x132eda(this[_0x19d090(0x194)][_0x19d090(0x1a2)]),'renderingStrategy':_0x19d090(0x193)}),this[_0x19d090(0x19a)]());}async[_0x49c3a0(0x18b)]({parsedContent:_0x2e7a8a,renderingStrategy:_0x1e596f,abortSignal:_0x4093b6}){const _0x109e7f=_0x49c3a0;_0x109e7f(0x1a0)===_0x1e596f?await this[_0x109e7f(0x195)](_0x2e7a8a,this[_0x109e7f(0x188)][_0x109e7f(0x186)],_0x4093b6):this[_0x109e7f(0x188)][_0x109e7f(0x186)][_0x109e7f(0x196)]=_0x182439(_0x2e7a8a);}[_0x49c3a0(0x18a)](_0x28cfd4){const _0x1ae2c9=_0x49c3a0,_0x4e748c=new _0xeb009(this[_0x1ae2c9(0x19f)]);_0x4e748c[_0x1ae2c9(0x198)][_0x1ae2c9(0x187)](_0x28cfd4[_0x1ae2c9(0x1a4)](_0x5f4606=>new _0x5a135a(this[_0x1ae2c9(0x19f)],_0x5f4606))),_0x4e748c[_0x1ae2c9(0x189)]=!0x0,this[_0x1ae2c9(0x198)][_0x1ae2c9(0x19b)](_0x4e748c);}}
|