@ckeditor/ckeditor5-ai 47.6.1 → 48.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -1
- package/ckeditor5-metadata.json +10 -10
- package/dist/aiactions/aiactions.d.ts +90 -0
- package/{src → dist}/aiactions/model/aiactionsinteraction.d.ts +2 -2
- package/{src → dist}/aiassistant/adapters/aiadapter.d.ts +1 -1
- package/{src → dist}/aiassistant/adapters/aitextadapter.d.ts +1 -1
- package/{src → dist}/aiassistant/adapters/awstextadapter.d.ts +2 -2
- package/{src → dist}/aiassistant/adapters/openaitextadapter.d.ts +2 -2
- package/{src → dist}/aiassistant/aiassistant.d.ts +3 -3
- package/{src → dist}/aiassistant/aiassistantediting.d.ts +2 -2
- package/{src → dist}/aiassistant/aiassistantui.d.ts +3 -3
- package/{src → dist}/aiassistant/ui/aiassistantcontroller.d.ts +3 -3
- package/{src → dist}/aiassistant/ui/form/aiformcontentarea.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformerrorview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformpromptview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformtoolbarview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aiformview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
- package/{src → dist}/aiassistant/ui/form/aihistorylistview.d.ts +2 -2
- package/{src → dist}/aiassistant/ui/form/prompthistory.d.ts +1 -1
- package/{src → dist}/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
- package/{src → dist}/aiassistant/utils/common-translations.d.ts +1 -1
- package/{src → dist}/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
- package/{src → dist}/aiballoon/aiballoon.d.ts +2 -2
- package/{src → dist}/aiballoon/ui/aiballoonview.d.ts +2 -2
- package/dist/aichat/aichat.d.ts +95 -0
- package/{src → dist}/aichat/aichatballoon.d.ts +2 -2
- package/{src/aichat/aichat.d.ts → dist/aichat/aichatcontroller.d.ts} +122 -89
- package/{src → dist}/aichat/aichatui.d.ts +5 -5
- package/{src → dist}/aichat/model/aichatcontext.d.ts +91 -17
- package/{src → dist}/aichat/model/aichatconversation.d.ts +4 -4
- package/{src → dist}/aichat/model/aichatinteraction.d.ts +1 -4
- package/{src → dist}/aichat/ui/aichatballoonview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatcontrolsview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatfeedview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatheaderview.d.ts +2 -2
- package/{src → dist}/aichat/ui/aichatview.d.ts +3 -2
- package/{src → dist}/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontextitembuttonview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontextpanelview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatcontrolsloaderview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatpromptinputview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
- package/{src → dist}/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +2 -2
- package/{src → dist}/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedcustomelementview.d.ts +7 -1
- package/{src → dist}/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
- package/{src → dist}/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
- package/{src → dist}/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +2 -2
- package/{src → dist}/aichat/ui/feed/aichatfeedusermessageitem.d.ts +2 -2
- package/{src → dist}/aichat/utils/promisequeue.d.ts +2 -2
- package/{src → dist}/aichathistory/aichathistory.d.ts +1 -1
- package/{src → dist}/aichathistory/aichathistorycontroller.d.ts +1 -1
- package/{src → dist}/aichathistory/aichathistoryui.d.ts +1 -1
- package/{src → dist}/aichathistory/model/aichathistoryconversations.d.ts +2 -2
- package/{src → dist}/aichathistory/model/aichathistoryitem.d.ts +2 -2
- package/{src → dist}/aichathistory/ui/aichathistorylistitemview.d.ts +2 -2
- package/{src → dist}/aichathistory/ui/aichathistorylistview.d.ts +1 -1
- package/{src → dist}/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
- package/{src → dist}/aichathistory/ui/aichathistoryview.d.ts +2 -2
- package/{src → dist}/aichatshortcuts/aichatshortcuts.d.ts +17 -17
- package/{src → dist}/aichatshortcuts/ui/aichatshortcutsview.d.ts +2 -2
- package/{src → dist}/aichatshortcuts/ui/aichatshortcutview.d.ts +2 -2
- package/{src → dist}/aiconfig.d.ts +7 -9
- package/{src → dist}/aicore/aiconnector.d.ts +4 -12
- package/{src → dist}/aicore/aiediting.d.ts +27 -6
- package/{src → dist}/aicore/model/aicapabilities.d.ts +2 -2
- package/{src → dist}/aicore/model/aiinteraction.d.ts +17 -13
- package/{src → dist}/aicore/model/aimodels.d.ts +6 -4
- package/{src → dist}/aicore/model/aireply.d.ts +12 -50
- package/{src → dist}/aicore/pipeline/airesponseapplier.d.ts +2 -2
- package/{src → dist}/aicore/pipeline/airesponseparser.d.ts +2 -2
- package/{src → dist}/aicore/ui/aidisclaimerview.d.ts +2 -2
- package/{src → dist}/aicore/ui/aiskeleton.d.ts +2 -2
- package/{src → dist}/aicore/ui/aispinner.d.ts +1 -1
- package/{src → dist}/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionloaderview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.d.ts +2 -2
- package/{src → dist}/aicore/ui/suggestioncontainer/aiwebsourcesview.d.ts +2 -2
- package/dist/aicore/utils/buttonclasses.d.ts +12 -0
- package/{src → dist}/aicore/utils/common-translations.d.ts +1 -1
- package/{src → dist}/aicore/utils/createresizebutton.d.ts +2 -2
- package/{src → dist}/aicore/utils/geteditorfromcontext.d.ts +1 -1
- package/{src → dist}/aicore/utils/getoperationsfromreply.d.ts +3 -3
- package/{src → dist}/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
- package/{src → dist}/aieditorintegration/aieditorintegration.d.ts +2 -2
- package/{src → dist}/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
- package/{src → dist}/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
- package/{src → dist}/aiquickactions/aiquickactions.d.ts +110 -52
- package/{src → dist}/aiquickactions/aiquickactionscommand.d.ts +1 -1
- package/{src → dist}/aiquickactions/aiquickactionsediting.d.ts +1 -1
- package/{src → dist}/aiquickactions/aiquickactionsui.d.ts +16 -30
- package/{src → dist}/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +3 -3
- package/{src → dist}/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoontoolbarview.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/balloon/aiactionsballoonview.d.ts +2 -2
- package/{src → dist}/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
- package/{src → dist}/aireviewcore/aireviewcorecontroller.d.ts +1 -1
- package/{src → dist}/aireviewcore/aireviewcoreediting.d.ts +4 -4
- package/{src → dist}/aireviewcore/aireviewcoreui.d.ts +2 -1
- package/{src → dist}/aireviewcore/model/aireviewchecklist.d.ts +2 -2
- package/{src → dist}/aireviewcore/model/aireviewcheckresult.d.ts +2 -2
- package/{src → dist}/aireviewcore/model/aireviewcheckresultchange.d.ts +3 -3
- package/{src → dist}/aireviewcore/model/aireviewcheckrun.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoreballoonsuggestionview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorechecklistitemresultview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorecustomcheckview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorefinishreviewbuttonview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoregeneralerrorview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorepromptinputview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorereviewchecklistview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorereviewcommandlistitemview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcorereviewcompletedview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoreuicheckresultsview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/aireviewcoreview.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/form/aireviewcoreformdropdown.d.ts +2 -2
- package/{src → dist}/aireviewcore/ui/form/aireviewcoreformmanager.d.ts +2 -2
- package/{src → dist}/aireviewmode/aireviewmode.d.ts +6 -4
- package/{src → dist}/aireviewmode/aireviewmodecontroller.d.ts +1 -1
- package/{src → dist}/aitabs/aitabs.d.ts +4 -1
- package/{src → dist}/aitabs/aitabsmainview.d.ts +4 -1
- package/{src → dist}/aitabs/tabs/aitabsview.d.ts +22 -2
- package/{src → dist}/aitabs/tabs/tabbuttonview.d.ts +2 -2
- package/{src → dist}/aitabs/tabs/tabpanelview.d.ts +2 -2
- package/{src → dist}/aitranslate/aitranslate.d.ts +47 -4
- package/{src → dist}/aitranslate/aitranslatecontroller.d.ts +1 -1
- package/{src → dist}/aitranslate/ui/aitranslatecheckresultsview.d.ts +1 -1
- package/dist/index-content.css +95 -0
- package/dist/index-editor.css +2711 -2793
- package/dist/index.css +2699 -3521
- package/{src → dist}/index.d.ts +7 -6
- 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 +26 -51
- package/build/966.ai.js +0 -5
- package/build/ai.js +0 -4
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/en.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -286
- package/lang/translations/af.po +0 -1144
- package/lang/translations/ar.po +0 -1144
- package/lang/translations/ast.po +0 -1144
- package/lang/translations/az.po +0 -1144
- package/lang/translations/be.po +0 -1144
- package/lang/translations/bg.po +0 -1144
- package/lang/translations/bn.po +0 -1144
- package/lang/translations/bs.po +0 -1144
- package/lang/translations/ca.po +0 -1144
- package/lang/translations/cs.po +0 -1144
- package/lang/translations/da.po +0 -1144
- package/lang/translations/de-ch.po +0 -1144
- package/lang/translations/de.po +0 -1144
- package/lang/translations/el.po +0 -1144
- package/lang/translations/en-au.po +0 -1144
- package/lang/translations/en-gb.po +0 -1144
- package/lang/translations/en.po +0 -1144
- package/lang/translations/eo.po +0 -1144
- package/lang/translations/es-co.po +0 -1144
- package/lang/translations/es.po +0 -1144
- package/lang/translations/et.po +0 -1144
- package/lang/translations/eu.po +0 -1144
- package/lang/translations/fa.po +0 -1144
- package/lang/translations/fi.po +0 -1144
- package/lang/translations/fr.po +0 -1144
- package/lang/translations/gl.po +0 -1144
- package/lang/translations/gu.po +0 -1144
- package/lang/translations/he.po +0 -1144
- package/lang/translations/hi.po +0 -1144
- package/lang/translations/hr.po +0 -1144
- package/lang/translations/hu.po +0 -1144
- package/lang/translations/hy.po +0 -1144
- package/lang/translations/id.po +0 -1144
- package/lang/translations/it.po +0 -1144
- package/lang/translations/ja.po +0 -1144
- package/lang/translations/jv.po +0 -1144
- package/lang/translations/kk.po +0 -1144
- package/lang/translations/km.po +0 -1144
- package/lang/translations/kn.po +0 -1144
- package/lang/translations/ko.po +0 -1144
- package/lang/translations/ku.po +0 -1144
- package/lang/translations/lt.po +0 -1144
- package/lang/translations/lv.po +0 -1144
- package/lang/translations/ms.po +0 -1144
- package/lang/translations/nb.po +0 -1144
- package/lang/translations/ne.po +0 -1144
- package/lang/translations/nl.po +0 -1144
- package/lang/translations/no.po +0 -1144
- package/lang/translations/oc.po +0 -1144
- package/lang/translations/pl.po +0 -1144
- package/lang/translations/pt-br.po +0 -1144
- package/lang/translations/pt.po +0 -1144
- package/lang/translations/ro.po +0 -1144
- package/lang/translations/ru.po +0 -1144
- package/lang/translations/si.po +0 -1144
- package/lang/translations/sk.po +0 -1144
- package/lang/translations/sl.po +0 -1144
- package/lang/translations/sq.po +0 -1144
- package/lang/translations/sr-latn.po +0 -1144
- package/lang/translations/sr.po +0 -1144
- package/lang/translations/sv.po +0 -1144
- package/lang/translations/th.po +0 -1144
- package/lang/translations/ti.po +0 -1144
- package/lang/translations/tk.po +0 -1144
- package/lang/translations/tr.po +0 -1144
- package/lang/translations/tt.po +0 -1144
- package/lang/translations/ug.po +0 -1144
- package/lang/translations/uk.po +0 -1144
- package/lang/translations/ur.po +0 -1144
- package/lang/translations/uz.po +0 -1144
- package/lang/translations/vi.po +0 -1144
- package/lang/translations/zh-cn.po +0 -1144
- package/lang/translations/zh.po +0 -1144
- package/src/aiactions/aiactions.d.ts +0 -53
- package/src/aiactions/aiactions.js +0 -23
- package/src/aiactions/model/aiactionsinteraction.js +0 -23
- package/src/aiactions/model/aiactionsreply.js +0 -23
- package/src/aiassistant/adapters/aiadapter.js +0 -23
- package/src/aiassistant/adapters/aitextadapter.js +0 -23
- package/src/aiassistant/adapters/awstextadapter.js +0 -23
- package/src/aiassistant/adapters/openaitextadapter.js +0 -23
- package/src/aiassistant/aiassistant.js +0 -23
- package/src/aiassistant/aiassistantediting.js +0 -23
- package/src/aiassistant/aiassistantui.js +0 -23
- package/src/aiassistant/legacyerrors.js +0 -23
- package/src/aiassistant/ui/aiassistantcontroller.js +0 -24
- package/src/aiassistant/ui/form/aiformcontentarea.js +0 -23
- package/src/aiassistant/ui/form/aiformerrorview.js +0 -23
- package/src/aiassistant/ui/form/aiformpromptview.js +0 -23
- package/src/aiassistant/ui/form/aiformtoolbarview.js +0 -23
- package/src/aiassistant/ui/form/aiformview.js +0 -23
- package/src/aiassistant/ui/form/aihistorylistitemview.js +0 -23
- package/src/aiassistant/ui/form/aihistorylistview.js +0 -23
- package/src/aiassistant/ui/form/prompthistory.js +0 -23
- package/src/aiassistant/ui/showaiassistantcommand.js +0 -23
- package/src/aiassistant/utils/common-translations.js +0 -23
- package/src/aiassistant/utils/normalizecommandsconfig.js +0 -23
- package/src/aiballoon/aiballoon.js +0 -23
- package/src/aiballoon/ui/aiballoonview.js +0 -23
- package/src/aichat/aichat.js +0 -23
- package/src/aichat/aichatballoon.js +0 -23
- package/src/aichat/aichatcontroller.d.ts +0 -77
- package/src/aichat/aichatcontroller.js +0 -23
- package/src/aichat/aichatui.js +0 -23
- package/src/aichat/model/aichatcontext.js +0 -23
- package/src/aichat/model/aichatconversation.js +0 -23
- package/src/aichat/model/aichatinteraction.js +0 -23
- package/src/aichat/ui/aichatballoonview.js +0 -23
- package/src/aichat/ui/aichatcontrolsview.js +0 -23
- package/src/aichat/ui/aichatfeedview.js +0 -23
- package/src/aichat/ui/aichatheaderview.js +0 -23
- package/src/aichat/ui/aichatview.js +0 -23
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +0 -23
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +0 -23
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +0 -23
- package/src/aichat/ui/controls/aichatcontextpanelview.js +0 -23
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +0 -23
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +0 -23
- package/src/aichat/ui/controls/aichatpromptinputview.js +0 -23
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +0 -23
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +0 -23
- package/src/aichat/ui/feed/aichatfeederroritemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +0 -23
- package/src/aichat/ui/feed/aichatfeeditemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +0 -23
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +0 -23
- package/src/aichat/utils/eventnames.js +0 -23
- package/src/aichat/utils/promisequeue.js +0 -23
- package/src/aichathistory/aichathistory.js +0 -23
- package/src/aichathistory/aichathistorycontroller.js +0 -23
- package/src/aichathistory/aichathistoryui.js +0 -23
- package/src/aichathistory/model/aichathistoryconversations.js +0 -23
- package/src/aichathistory/model/aichathistoryitem.js +0 -23
- package/src/aichathistory/ui/aichathistorylistitemview.js +0 -24
- package/src/aichathistory/ui/aichathistorylistview.js +0 -23
- package/src/aichathistory/ui/aichathistorysectionlistview.js +0 -23
- package/src/aichathistory/ui/aichathistoryview.js +0 -23
- package/src/aichatshortcuts/aichatshortcuts.js +0 -23
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +0 -23
- package/src/aichatshortcuts/ui/aichatshortcutview.js +0 -23
- package/src/aiconfig.js +0 -23
- package/src/aicore/aiconnector.js +0 -23
- package/src/aicore/aiediting.js +0 -23
- package/src/aicore/model/aicapabilities.js +0 -23
- package/src/aicore/model/aicontext.js +0 -23
- package/src/aicore/model/aiinteraction.js +0 -23
- package/src/aicore/model/aimodels.js +0 -23
- package/src/aicore/model/aireply.js +0 -23
- package/src/aicore/pipeline/airesponseapplier.js +0 -24
- package/src/aicore/pipeline/airesponseparser.js +0 -24
- package/src/aicore/ui/aidisclaimerview.js +0 -23
- package/src/aicore/ui/aiskeleton.js +0 -23
- package/src/aicore/ui/aispinner.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +0 -23
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +0 -23
- package/src/aicore/utils/common-translations.js +0 -23
- package/src/aicore/utils/createresizebutton.js +0 -23
- package/src/aicore/utils/documentposition.js +0 -23
- package/src/aicore/utils/documentrange.js +0 -23
- package/src/aicore/utils/eventnames.js +0 -23
- package/src/aicore/utils/geteditorfromcontext.js +0 -23
- package/src/aicore/utils/getoperationsfromreply.js +0 -23
- package/src/aicore/utils/getsuggestionpartsfromreply.js +0 -23
- package/src/aicore/utils/htmlparser.js +0 -23
- package/src/aicore/utils/htmlstreamer.js +0 -23
- package/src/aicore/utils/scrollmanager.js +0 -23
- package/src/aieditorintegration/aieditorintegration.js +0 -23
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +0 -23
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +0 -23
- package/src/aiquickactions/aiquickactions.js +0 -23
- package/src/aiquickactions/aiquickactionscommand.js +0 -23
- package/src/aiquickactions/aiquickactionsediting.js +0 -23
- package/src/aiquickactions/aiquickactionsui.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +0 -23
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +0 -23
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +0 -23
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +0 -23
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +0 -23
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +0 -23
- package/src/aireviewcore/aireviewcorecontroller.js +0 -23
- package/src/aireviewcore/aireviewcoreediting.js +0 -23
- package/src/aireviewcore/aireviewcoreui.js +0 -23
- package/src/aireviewcore/model/aireviewcheck.js +0 -23
- package/src/aireviewcore/model/aireviewchecklist.js +0 -23
- package/src/aireviewcore/model/aireviewcheckresult.js +0 -23
- package/src/aireviewcore/model/aireviewcheckresultchange.js +0 -23
- package/src/aireviewcore/model/aireviewcheckrun.js +0 -23
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +0 -23
- package/src/aireviewcore/types.js +0 -23
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +0 -23
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +0 -23
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +0 -23
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +0 -23
- package/src/aireviewcore/ui/aireviewcoreview.js +0 -23
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +0 -23
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +0 -23
- package/src/aireviewmode/aireviewcheckdefinitions.js +0 -23
- package/src/aireviewmode/aireviewmode.js +0 -23
- package/src/aireviewmode/aireviewmodecontroller.js +0 -23
- package/src/aireviewmode/aireviewmodeui.js +0 -23
- package/src/aireviewmode/model/aireviewcheckcustom.js +0 -23
- package/src/aireviewmode/model/aireviewcheckextra.js +0 -23
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +0 -23
- package/src/aireviewmode/model/aireviewextracheckrun.js +0 -23
- package/src/aireviewmode/model/aireviewmodechecklist.js +0 -23
- package/src/aitabs/aitabs.js +0 -23
- package/src/aitabs/aitabsmainview.js +0 -23
- package/src/aitabs/tabs/aitabsview.js +0 -23
- package/src/aitabs/tabs/tabbuttonview.js +0 -23
- package/src/aitabs/tabs/tabpanelview.js +0 -23
- package/src/aitranslate/aitranslate.js +0 -23
- package/src/aitranslate/aitranslatecontroller.js +0 -23
- package/src/aitranslate/aitranslateui.js +0 -23
- package/src/aitranslate/model/aitranslatecheck.js +0 -23
- package/src/aitranslate/model/aitranslatechecklist.js +0 -23
- package/src/aitranslate/model/aitranslatecheckrun.js +0 -23
- package/src/aitranslate/ui/aitranslatechecklistview.js +0 -23
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +0 -23
- package/src/augmentation.js +0 -23
- package/src/errors.js +0 -23
- package/src/errorsmap.js +0 -23
- package/src/index.js +0 -23
- package/theme/aiassistant/ai-dropdown.css +0 -37
- package/theme/aiassistant/ai-form.css +0 -262
- package/theme/aiassistant/ai.css +0 -120
- package/theme/aiballoon/aiballoon.css +0 -58
- package/theme/aichat/aichat-controls/aichat-context-chip.css +0 -139
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +0 -207
- package/theme/aichat/aichat-controls/aichat-context-controls.css +0 -45
- package/theme/aichat/aichat-controls/aichat-controls-button.css +0 -75
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +0 -77
- package/theme/aichat/aichat-controls/model-unavailable-message.css +0 -39
- package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -45
- package/theme/aichat/aichat-controls/prompt-input.css +0 -78
- package/theme/aichat/aichat-controls.css +0 -121
- package/theme/aichat/aichat.css +0 -55
- package/theme/aichat/aichatballoon.css +0 -122
- package/theme/aichat/aichatfeed.css +0 -430
- package/theme/aichat/aichathistory.css +0 -264
- package/theme/aichat/aiminitoolbar.css +0 -79
- package/theme/aichat/aisuggestioncontainer.css +0 -172
- package/theme/aichatshortcuts/aichatshortcuts.css +0 -84
- package/theme/aieditorintegration/aitogglebutton.css +0 -17
- package/theme/aiquickactions/aiquickactions.css +0 -177
- package/theme/aiquickactions/aiquickactionsballoon.css +0 -119
- package/theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css +0 -47
- package/theme/aireviewcore/aireviewcore-check-list.css +0 -278
- package/theme/aireviewcore/aireviewcore-check-run-result.css +0 -103
- package/theme/aireviewcore/aireviewcore-check-run.css +0 -237
- package/theme/aireviewcore/aireviewcore-review-completed.css +0 -52
- package/theme/aireviewcore/aireviewcore.css +0 -134
- package/theme/aitabs/aitabsresizebutton.css +0 -14
- package/theme/aitabs/aitabsview.css +0 -69
- package/theme/aitabs/tabs/tabbuttonview.css +0 -76
- package/theme/aitabs/tabs/tabsview.css +0 -89
- package/theme/aitranslate/aitranslate.css +0 -116
- package/theme/common/aibutton.css +0 -157
- package/theme/common/aidisclaimer.css +0 -29
- package/theme/common/aiheader.css +0 -99
- package/theme/common/ainotification.css +0 -65
- package/theme/common/aiskeleton.css +0 -54
- package/theme/common/aispinner.css +0 -58
- package/theme/common/aisuggestioncontentpartstate.css +0 -33
- package/theme/common/aisuggestioncontentparttoolbar.css +0 -34
- package/theme/common/aisuggestionstreamablecontent.css +0 -62
- package/theme/common/aitrackchanges.css +0 -29
- /package/{src → dist}/aiactions/model/aiactionsreply.d.ts +0 -0
- /package/{src → dist}/aiassistant/legacyerrors.d.ts +0 -0
- /package/{src → dist}/aichat/ui/feed/aichatfeederroritemview.d.ts +0 -0
- /package/{src → dist}/aichat/utils/eventnames.d.ts +0 -0
- /package/{src → dist}/aicore/model/aicontext.d.ts +0 -0
- /package/{src → dist}/aicore/utils/documentposition.d.ts +0 -0
- /package/{src → dist}/aicore/utils/documentrange.d.ts +0 -0
- /package/{src → dist}/aicore/utils/eventnames.d.ts +0 -0
- /package/{src → dist}/aicore/utils/htmlparser.d.ts +0 -0
- /package/{src → dist}/aicore/utils/htmlstreamer.d.ts +0 -0
- /package/{src → dist}/aicore/utils/scrollmanager.d.ts +0 -0
- /package/{src → dist}/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +0 -0
- /package/{src → dist}/aireviewcore/model/aireviewcheck.d.ts +0 -0
- /package/{src → dist}/aireviewcore/model/aireviewsystemcheckrun.d.ts +0 -0
- /package/{src → dist}/aireviewcore/types.d.ts +0 -0
- /package/{src → dist}/aireviewmode/aireviewcheckdefinitions.d.ts +0 -0
- /package/{src → dist}/aireviewmode/aireviewmodeui.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewcheckcustom.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewcheckextra.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewextracheckrun.d.ts +0 -0
- /package/{src → dist}/aireviewmode/model/aireviewmodechecklist.d.ts +0 -0
- /package/{src → dist}/aitranslate/aitranslateui.d.ts +0 -0
- /package/{src → dist}/aitranslate/model/aitranslatecheck.d.ts +0 -0
- /package/{src → dist}/aitranslate/model/aitranslatechecklist.d.ts +0 -0
- /package/{src → dist}/aitranslate/model/aitranslatecheckrun.d.ts +0 -0
- /package/{src → dist}/aitranslate/ui/aitranslatechecklistview.d.ts +0 -0
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/errors.d.ts +0 -0
- /package/{src → dist}/errorsmap.d.ts +0 -0
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x284b(){const _0x1078fd=['AI_CHAT_HISTORY_EDIT_NAME','AI_CHAT_HISTORY_ACCEPT','label','loadingState','isMatching','ck-ai-chat-history__item','showConfirm','actions','selectConversation','ck-ai-chat-history__item-row','417476BCpbdN','ck-ai-chat-history__item-check','bind','AI_CHAT_HISTORY_REMOVE','highlightText','bindTemplate','edit:cancel','clear','element','AI_CHAT_HISTORY_CANCEL','_createCheckView','createCollection','LOADING_LABELS','string','value','setConversationPinned','_createCancelEditButtonView','ck-ai-chat-history__item-content','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','51iEWYDw','text','9173130jTKKGI','3305889YmvmdX','ck-confirm-view-submit','panelPosition','then','_createMenuDropdownView','_createPinButtonView','pinned','span','ck-hidden','ck-ai-chat-history__item-date','children','ck-ai-chat-history__item--active','key','25352oXyDAC','panelView','ck-ai-chat-history__item-check-container','set','_createSpinnerView','removeConversation','items','ck-ai-loader__text','ck-confirm-view-cancel','updateLoadingState','ck-ai-chat-history__item-main-content','AI_CHAT_HISTORY_LOADING_REMOVING','addMany','_createAcceptEditButtonView','extendTemplate','div','isVisible','execute','isOn','fire','AI_CHAT_HISTORY_PIN_BUTTON','16buOfsY','_titleView','editConversationTitle','withText','2634443uDnbLN','change:isEdit','ck-ai-chat-history__item-title','listitem','AI_CHAT_HISTORY_LOADING_PINNING','updateTitle','mainContent','click','ck-ai-chat-history__item-actions','buttonView','add','835942ITtuMn','focus','ck-ai-chat-history__item--edit','AI_CHAT_HISTORY_LOADING_UNPINNING','match','isEdit','3087285mwGyts','tiny','_commitEditInputValue','12GhOeEy','setTemplate','ck-ai-loader','Enter','AI_CHAT_HISTORY_LOADING_RENAMING','_createEditInputView','AI_CHAT_HISTORY_REMOVE_CONFIRM','locale'];_0x284b=function(){return _0x1078fd;};return _0x284b();}const _0x5425b1=_0x371c;(function(_0x34d944,_0x46f6b4){const _0x2ed048=_0x371c,_0x12ca2f=_0x34d944();while(!![]){try{const _0x2acf87=parseInt(_0x2ed048(0xff))/0x1+-parseInt(_0x2ed048(0xe4))/0x2+-parseInt(_0x2ed048(0x112))/0x3*(-parseInt(_0x2ed048(0xc0))/0x4)+-parseInt(_0x2ed048(0xea))/0x5+parseInt(_0x2ed048(0xed))/0x6*(-parseInt(_0x2ed048(0xd9))/0x7)+parseInt(_0x2ed048(0xd5))/0x8*(parseInt(_0x2ed048(0x115))/0x9)+parseInt(_0x2ed048(0x114))/0xa;if(_0x2acf87===_0x46f6b4)break;else _0x12ca2f['push'](_0x12ca2f['shift']());}catch(_0x59ceac){_0x12ca2f['push'](_0x12ca2f['shift']());}}}(_0x284b,0x5efbb));import{ListItemView as _0x2c2758,HighlightedTextView as _0x408f22,ButtonView as _0xfcb7b,ListView as _0x1f413f,IconView as _0x6331fb,createDropdown as _0x12dbef,InputTextView as _0x467be2}from'ckeditor5/src/ui.js';function _0x371c(_0x54580a,_0x60b72d){const _0x284bce=_0x284b();return _0x371c=function(_0x371c18,_0x4c501d){_0x371c18=_0x371c18-0xbb;let _0x5d5fb8=_0x284bce[_0x371c18];return _0x5d5fb8;},_0x371c(_0x54580a,_0x60b72d);}import{IconThreeHorizontalDots as _0x584b84,IconPin as _0x2bbb51,IconCheck as _0x4538af,IconCancel as _0x1860ce}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x29bec1,ConfirmMixin as _0x5867be}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x439df0}from'es-toolkit/compat';import{AISpinnerView as _0x114b96}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x413c04}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x5867be(_0x2c2758){['id'];static [_0x5425b1(0x10b)]={'remove':_0x5425b1(0xcb),'rename':_0x5425b1(0xf1),'pin':_0x5425b1(0xdd),'unpin':_0x5425b1(0xe7)};[_0x5425b1(0xfc)];[_0x5425b1(0xdf)];[_0x5425b1(0xd6)];constructor(_0x295b16,_0x5ce85a){const _0x49c6e8=_0x5425b1;super(_0x295b16);const _0x331e2c=this[_0x49c6e8(0x104)];this[_0x49c6e8(0xc3)](_0x49c6e8(0xe9),!0x1),this[_0x49c6e8(0xc3)](_0x49c6e8(0xd0),!0x0),this[_0x49c6e8(0xc3)](_0x49c6e8(0x11b),!!_0x5ce85a[_0x49c6e8(0x11b)]),this[_0x49c6e8(0xc3)](_0x49c6e8(0xf8),null),this['id']=_0x5ce85a['id'];const {title:_0x195aa8,createdAt:_0x45d412,active:_0x43930f=!0x1}=_0x5ce85a;this[_0x49c6e8(0xd6)]=new _0x408f22(),this[_0x49c6e8(0xd6)][_0x49c6e8(0x113)]=_0x195aa8,this[_0x49c6e8(0xd6)][_0x49c6e8(0xce)]({'attributes':{'class':[_0x49c6e8(0xdb)]}});const _0x29af25=this[_0x49c6e8(0x109)](),_0x3b7569=this[_0x49c6e8(0x11a)](_0x295b16),_0x42d320=this[_0x49c6e8(0x119)](),_0x29e977=this[_0x49c6e8(0xf2)](_0x295b16,_0x195aa8),_0x327c7f=this[_0x49c6e8(0xcd)](_0x295b16,_0x29e977),_0x348701=this[_0x49c6e8(0x10f)](_0x295b16,_0x29e977);this[_0x49c6e8(0xfc)]=this[_0x49c6e8(0x10a)](),this[_0x49c6e8(0xdf)]=this[_0x49c6e8(0x10a)](),this[_0x49c6e8(0xdf)][_0x49c6e8(0xe3)](this[_0x49c6e8(0xd6)]),this[_0x49c6e8(0xfc)][_0x49c6e8(0xe3)](_0x3b7569),this[_0x49c6e8(0xfc)][_0x49c6e8(0xe3)](_0x42d320),this['on'](_0x49c6e8(0xda),(_0x1bab85,_0x2765c1,_0x11b337)=>{const _0x211eed=_0x49c6e8;this[_0x211eed(0xfc)][_0x211eed(0x106)](),this[_0x211eed(0xdf)][_0x211eed(0x106)](),_0x11b337?(this[_0x211eed(0xfc)][_0x211eed(0xe3)](_0x327c7f),this[_0x211eed(0xfc)][_0x211eed(0xe3)](_0x348701),this[_0x211eed(0xdf)][_0x211eed(0xe3)](_0x29e977),_0x29e977[_0x211eed(0x107)][_0x211eed(0xe5)]()):(this[_0x211eed(0xfc)][_0x211eed(0xe3)](_0x3b7569),this[_0x211eed(0xfc)][_0x211eed(0xe3)](_0x42d320),this[_0x211eed(0xdf)][_0x211eed(0xe3)](this[_0x211eed(0xd6)]));}),this[_0x49c6e8(0xee)]({'tag':'li','attributes':{'class':[_0x49c6e8(0xfa),_0x43930f?_0x49c6e8(0xbe):'',_0x331e2c['if'](_0x49c6e8(0xd0),_0x49c6e8(0xbb),_0xf606f2=>!_0xf606f2),_0x331e2c['if'](_0x49c6e8(0xe9),_0x49c6e8(0xe6))],'role':_0x49c6e8(0xdc)},'children':[{'tag':_0x49c6e8(0x11c),'attributes':{'class':[_0x49c6e8(0xc2)]},'children':[{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0x100),_0x331e2c['if'](_0x49c6e8(0xf8),_0x49c6e8(0xbb),_0x2e936f=>!!_0x2e936f)]},'children':_0x43930f?[_0x29af25]:[]},{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xef),_0x331e2c['if'](_0x49c6e8(0xf8),_0x49c6e8(0xbb),_0x5f6dd=>!_0x5f6dd)]},'children':[this[_0x49c6e8(0xc4)]()]}]},{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xfe)]},'children':[{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0x110)]},'on':{'click':this[_0x49c6e8(0x104)]['to'](_0x49c6e8(0xe0))},'children':[{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xca)]},'children':[{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xdb),_0x331e2c['if'](_0x49c6e8(0xf8),_0x49c6e8(0xbb),_0x5eb5ac=>!!_0x5eb5ac)]},'children':this[_0x49c6e8(0xdf)]},{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xc7),_0x331e2c['if'](_0x49c6e8(0xf8),_0x49c6e8(0xbb),_0x362082=>!_0x362082)]},'children':[{'text':_0x331e2c['to'](_0x49c6e8(0xf8),_0x493c36=>_0x493c36?_0x413c04(this[_0x49c6e8(0xf4)],AIChatHistoryListItemView[_0x49c6e8(0x10b)][_0x493c36]):'')}]}]},{'tag':_0x49c6e8(0x11c),'attributes':{'class':[_0x49c6e8(0xbc)]},'children':[_0x45d412]}]},{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xe1)]},'children':this[_0x49c6e8(0xfc)]}]}]}),this['on'](_0x49c6e8(0xe0),()=>{const _0x34116e=_0x49c6e8;this[_0x34116e(0xe9)]||this[_0x34116e(0xd3)](_0x34116e(0xfd),{'id':this['id']});});}[_0x5425b1(0xde)](_0x1841fe){const _0x48b6cb=_0x5425b1;this[_0x48b6cb(0xd6)][_0x48b6cb(0x113)]=_0x439df0(_0x1841fe);}[_0x5425b1(0xc9)](_0x1956ba,_0xd6123d){const _0x5eed65=_0x5425b1;this[_0x5eed65(0xc3)](_0x5eed65(0xf8),_0xd6123d?_0x1956ba:null);}[_0x5425b1(0x109)](){const _0x2d7bd3=_0x5425b1,_0x4a1c80=new _0x6331fb();return _0x4a1c80[_0x2d7bd3(0xc3)]({'content':_0x4538af}),_0x4a1c80;}[_0x5425b1(0x11a)](_0x3d9dce){const _0x3daef9=_0x5425b1,_0x4664a2=new _0xfcb7b(_0x3d9dce);return _0x4664a2[_0x3daef9(0xc3)]({'label':_0x413c04(_0x3d9dce,_0x3daef9(0xd4)),'icon':_0x2bbb51,'withText':!0x1,'tooltip':!0x0}),_0x4664a2[_0x3daef9(0x101)](_0x3daef9(0xd2))['to'](this,_0x3daef9(0x11b)),_0x4664a2['on'](_0x3daef9(0xd1),()=>{const _0x1c4e91=_0x3daef9,_0x2d0413=!this[_0x1c4e91(0x11b)];this[_0x1c4e91(0xd3)](_0x1c4e91(0x10e),{'id':this['id'],'pinned':_0x2d0413});}),_0x4664a2;}[_0x5425b1(0x119)](){const _0x2e97fa=_0x5425b1,_0x1cfa25=_0x12dbef(this[_0x2e97fa(0xf4)],_0x29bec1),_0x2786da=_0x1cfa25[_0x2e97fa(0xc1)][_0x2e97fa(0xbd)];_0x1cfa25[_0x2e97fa(0xe2)][_0x2e97fa(0xc3)]({'label':_0x413c04(this[_0x2e97fa(0xf4)],_0x2e97fa(0x111)),'icon':_0x584b84}),_0x1cfa25[_0x2e97fa(0x117)]='sw';const _0x4f75bd=new _0xfcb7b(this[_0x2e97fa(0xf4)]);_0x4f75bd[_0x2e97fa(0xf7)]=_0x413c04(this[_0x2e97fa(0xf4)],_0x2e97fa(0xf5)),_0x4f75bd[_0x2e97fa(0xd8)]=!0x0,_0x4f75bd['on'](_0x2e97fa(0xd1),()=>{const _0xbabb11=_0x2e97fa;this[_0xbabb11(0xe9)]=!0x0;});const _0x687b43=new _0xfcb7b(this[_0x2e97fa(0xf4)]);_0x687b43[_0x2e97fa(0xf7)]=_0x413c04(this[_0x2e97fa(0xf4)],_0x2e97fa(0x102)),_0x687b43[_0x2e97fa(0xd8)]=!0x0,_0x687b43['on'](_0x2e97fa(0xd1),()=>{const _0x36d8f2=_0x2e97fa;this[_0x36d8f2(0xfb)](_0x413c04(this[_0x36d8f2(0xf4)],_0x36d8f2(0xf3)),this[_0x36d8f2(0x107)])[_0x36d8f2(0x118)](()=>{const _0x5c3524=_0x36d8f2;this[_0x5c3524(0xd3)](_0x5c3524(0xc5),{'id':this['id']});});});const _0x1c3700=new _0x1f413f(this[_0x2e97fa(0xf4)]),_0x1af529=new _0x2c2758(this[_0x2e97fa(0xf4)]);_0x1af529[_0x2e97fa(0xbd)][_0x2e97fa(0xe3)](_0x4f75bd);const _0x4fd876=new _0x2c2758(this[_0x2e97fa(0xf4)]);return _0x4fd876[_0x2e97fa(0xbd)][_0x2e97fa(0xe3)](_0x687b43),_0x1c3700[_0x2e97fa(0xc6)][_0x2e97fa(0xcc)]([_0x1af529,_0x4fd876]),_0x2786da[_0x2e97fa(0xe3)](_0x1c3700),_0x1cfa25;}[_0x5425b1(0xf2)](_0xefcd82,_0x4ba631){const _0x31bb73=_0x5425b1,_0x4cbc6e=new _0x467be2(_0xefcd82),_0x3f892c=_0x4cbc6e[_0x31bb73(0x104)];return _0x4cbc6e[_0x31bb73(0x10d)]=_0x4ba631,_0x4cbc6e[_0x31bb73(0xce)]({'on':{'keydown':_0x3f892c['to'](_0x4aec0d=>{const _0x55a136=_0x31bb73;_0x55a136(0xf0)==_0x4aec0d[_0x55a136(0xbf)]&&this[_0x55a136(0xec)](_0x4cbc6e);})}}),_0x4cbc6e;}[_0x5425b1(0xcd)](_0x2a8ab0,_0x331915){const _0x317df3=_0x5425b1,_0x3ef295=new _0xfcb7b(_0x2a8ab0);return _0x3ef295[_0x317df3(0xc3)]({'icon':_0x4538af,'withText':!0x1,'tooltip':_0x413c04(_0x2a8ab0,_0x317df3(0xf6))}),_0x3ef295[_0x317df3(0xce)]({'attributes':{'class':[_0x317df3(0x116)]}}),_0x3ef295['on'](_0x317df3(0xd1),()=>{const _0x893b1=_0x317df3;this[_0x893b1(0xec)](_0x331915);}),_0x3ef295;}[_0x5425b1(0xec)](_0x144cc3){const _0x411dd3=_0x5425b1,_0xb2c08c=_0x144cc3[_0x411dd3(0x107)][_0x411dd3(0x10d)]||'';this[_0x411dd3(0xd6)][_0x411dd3(0x113)]=_0xb2c08c,this[_0x411dd3(0xe9)]=!0x1,this[_0x411dd3(0xd3)](_0x411dd3(0xd7),{'id':this['id'],'title':_0xb2c08c});}[_0x5425b1(0x10f)](_0x32c6d4,_0x3afd13){const _0x512fb3=_0x5425b1,_0x55a7a7=new _0xfcb7b(_0x32c6d4);return _0x55a7a7[_0x512fb3(0xc3)]({'icon':_0x1860ce,'withText':!0x1,'tooltip':_0x413c04(_0x32c6d4,_0x512fb3(0x108))}),_0x55a7a7[_0x512fb3(0xce)]({'attributes':{'class':[_0x512fb3(0xc8)]}}),_0x55a7a7['on'](_0x512fb3(0xd1),()=>{const _0x17a253=_0x512fb3;this[_0x17a253(0xe9)]=!0x1,_0x3afd13[_0x17a253(0x10d)]=this[_0x17a253(0xd6)][_0x17a253(0x113)]||'',this[_0x17a253(0xd3)](_0x17a253(0x105));}),_0x55a7a7;}[_0x5425b1(0xc4)](){const _0x249e45=_0x5425b1,_0x413529=new _0x114b96(_0x249e45(0xeb));return _0x413529[_0x249e45(0xd0)]=!0x0,_0x413529;}[_0x5425b1(0xf9)](_0x3805b3){const _0x3a6c7e=_0x5425b1;return this[_0x3a6c7e(0xd6)]&&_0x3a6c7e(0x10c)==typeof this[_0x3a6c7e(0xd6)][_0x3a6c7e(0x113)]&&this[_0x3a6c7e(0xd6)][_0x3a6c7e(0x113)][_0x3a6c7e(0xe8)](_0x3805b3)?{'title':!0x0}:null;}[_0x5425b1(0x103)](_0x56a7ee){const _0x17796a=_0x5425b1;this[_0x17796a(0xd6)][_0x17796a(0x103)](_0x56a7ee);}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x117d(){const _0x26d5f5=['6KuhhAD','bindTemplate','4419690RaQwyv','isVisible','104uDFgFM','splice','ck-hidden','filter','187887tFUrlB','setTemplate','getItem','341518roAckw','itemsViews','length','title','8QCZDuI','isMatching','find','div','removeItem','set','_itemsListView','indexOf','addMany','130vZhPNQ','232538jAWnAu','401994Smqlgq','items','ck-ai-chat-history__section-title','ck-ai-chat-history__section','2370755cOyodb','379887XYZBmJ','remove','highlightText'];_0x117d=function(){return _0x26d5f5;};return _0x117d();}const _0x17b359=_0x236e;(function(_0x244b6d,_0x2d3080){const _0x1f4396=_0x236e,_0x27f7d5=_0x244b6d();while(!![]){try{const _0x1b538c=parseInt(_0x1f4396(0x97))/0x1+parseInt(_0x1f4396(0xab))/0x2+parseInt(_0x1f4396(0x9d))/0x3*(-parseInt(_0x1f4396(0xaf))/0x4)+-parseInt(_0x1f4396(0x9c))/0x5*(parseInt(_0x1f4396(0xa0))/0x6)+-parseInt(_0x1f4396(0xa8))/0x7*(parseInt(_0x1f4396(0xa4))/0x8)+-parseInt(_0x1f4396(0x98))/0x9*(-parseInt(_0x1f4396(0xb8))/0xa)+parseInt(_0x1f4396(0xa2))/0xb;if(_0x1b538c===_0x2d3080)break;else _0x27f7d5['push'](_0x27f7d5['shift']());}catch(_0x1f42d8){_0x27f7d5['push'](_0x27f7d5['shift']());}}}(_0x117d,0x4b89b));function _0x236e(_0x562602,_0x31fa04){const _0x117df6=_0x117d();return _0x236e=function(_0x236eb4,_0x506d44){_0x236eb4=_0x236eb4-0x97;let _0xc58ca6=_0x117df6[_0x236eb4];return _0xc58ca6;},_0x236e(_0x562602,_0x31fa04);}import{ListItemView as _0x148a7e,View as _0x59e9bc,ListView as _0x5b0c2d}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x148a7e{[_0x17b359(0xae)];[_0x17b359(0xac)];[_0x17b359(0xb5)];constructor(_0x3ffa9f,{title:_0xd161d4,items:_0x1b12b2}){const _0x35311e=_0x17b359;super(_0x3ffa9f);const _0x2c21f5=this[_0x35311e(0xa1)];this[_0x35311e(0xb4)](_0x35311e(0xa3),!0x0),this[_0x35311e(0xae)]=_0xd161d4,this[_0x35311e(0xac)]=_0x1b12b2;const _0x19a278=new _0x59e9bc(_0x3ffa9f);_0x19a278[_0x35311e(0xa9)]({'tag':_0x35311e(0xb2),'attributes':{'class':[_0x35311e(0x9a)]},'children':[this[_0x35311e(0xae)]]}),this[_0x35311e(0xb5)]=new _0x5b0c2d(_0x3ffa9f),this[_0x35311e(0xb5)][_0x35311e(0x99)][_0x35311e(0xb7)](this[_0x35311e(0xac)]),this[_0x35311e(0xa9)]({'tag':'li','attributes':{'class':[_0x35311e(0x9b),_0x2c21f5['if'](_0x35311e(0xa3),_0x35311e(0xa6),_0x2d9480=>!_0x2d9480)]},'children':[_0x19a278,this[_0x35311e(0xb5)]]});}[_0x17b359(0xa7)](_0x4fddac){const _0x2669bf=_0x17b359,_0x2814cb=this[_0x2669bf(0xac)][_0x2669bf(0xad)];let _0x2dee7c=0x0;for(const _0x4fabf0 of this[_0x2669bf(0xac)]){if(_0x4fddac){const _0x18e94f=_0x4fabf0[_0x2669bf(0xb0)](_0x4fddac);_0x4fabf0[_0x2669bf(0xa3)]=!!_0x18e94f,_0x4fabf0[_0x2669bf(0x9f)](_0x4fddac);}else _0x4fabf0[_0x2669bf(0xa3)]=!0x0,_0x4fabf0[_0x2669bf(0x9f)](null);_0x4fabf0[_0x2669bf(0xa3)]&&_0x2dee7c++;}return this[_0x2669bf(0xa3)]=_0x2dee7c>0x0,{'resultsCount':_0x2dee7c,'totalItemsCount':_0x2814cb};}[_0x17b359(0xaa)](_0x54406c){const _0x11e747=_0x17b359;return this[_0x11e747(0xac)][_0x11e747(0xb1)](_0x300f49=>_0x300f49['id']===_0x54406c);}[_0x17b359(0xb3)](_0x4285d7){const _0x5b9cca=_0x17b359,_0x5e7d8e=this[_0x5b9cca(0xac)][_0x5b9cca(0xb6)](_0x4285d7);-0x1!==_0x5e7d8e&&(this[_0x5b9cca(0xac)][_0x5b9cca(0xa5)](_0x5e7d8e,0x1),this[_0x5b9cca(0xb5)][_0x5b9cca(0x99)][_0x5b9cca(0x9e)](_0x4285d7));}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x57fe(_0x1b1f1e,_0x2078f5){const _0xb39586=_0xb395();return _0x57fe=function(_0x57fecd,_0x33023a){_0x57fecd=_0x57fecd-0xcd;let _0x1489e2=_0xb39586[_0x57fecd];return _0x1489e2;},_0x57fe(_0x1b1f1e,_0x2078f5);}const _0x43df12=_0x57fe;(function(_0x5c3fbd,_0x9654fc){const _0x1fe9d7=_0x57fe,_0x2bee86=_0x5c3fbd();while(!![]){try{const _0x4192cb=parseInt(_0x1fe9d7(0xd5))/0x1*(parseInt(_0x1fe9d7(0xd6))/0x2)+parseInt(_0x1fe9d7(0xd0))/0x3+-parseInt(_0x1fe9d7(0xd1))/0x4+-parseInt(_0x1fe9d7(0xcd))/0x5+-parseInt(_0x1fe9d7(0xcf))/0x6+-parseInt(_0x1fe9d7(0xce))/0x7*(parseInt(_0x1fe9d7(0xd8))/0x8)+parseInt(_0x1fe9d7(0xdb))/0x9;if(_0x4192cb===_0x9654fc)break;else _0x2bee86['push'](_0x2bee86['shift']());}catch(_0x3cbf2c){_0x2bee86['push'](_0x2bee86['shift']());}}}(_0xb395,0xd9c05));function _0xb395(){const _0xa8e7da=['items','806184hqOLSJ','filter','ck-ai-chat-history__sections','6383403FWqMjA','2672225vWkPII','28hAITmj','3952476xlGUaf','5067792BOLIhO','3364932YBJzJL','sections','addMany','extendTemplate','8238CXcedQ','226OdetNv'];_0xb395=function(){return _0xa8e7da;};return _0xb395();}import{ListView as _0x33f94f}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x33f94f{[_0x43df12(0xd2)];constructor(_0x475697,_0x232288){const _0x9e6398=_0x43df12;super(_0x475697),this[_0x9e6398(0xd2)]=_0x232288,this[_0x9e6398(0xd7)][_0x9e6398(0xd3)](this[_0x9e6398(0xd2)]),this[_0x9e6398(0xd4)]({'attributes':{'class':[_0x9e6398(0xda)]}});}[_0x43df12(0xd9)](_0x2e5a61){const _0x14e7a0=_0x43df12;let _0x598f7b=0x0,_0x19d6b5=0x0;for(const _0x52d62c of this[_0x14e7a0(0xd2)]){const {resultsCount:_0x2e1fce,totalItemsCount:_0x3958d4}=_0x52d62c[_0x14e7a0(0xd9)](_0x2e5a61);_0x598f7b+=_0x2e1fce,_0x19d6b5+=_0x3958d4;}return{'resultsCount':_0x598f7b,'totalItemsCount':_0x19d6b5};}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x2eb682=_0x1a7f;(function(_0x16cde3,_0x423abb){const _0x39e3ed=_0x1a7f,_0x5ec267=_0x16cde3();while(!![]){try{const _0x1aa77e=-parseInt(_0x39e3ed(0x207))/0x1+parseInt(_0x39e3ed(0x1e0))/0x2+-parseInt(_0x39e3ed(0x1e6))/0x3+-parseInt(_0x39e3ed(0x1d7))/0x4*(parseInt(_0x39e3ed(0x1f5))/0x5)+-parseInt(_0x39e3ed(0x208))/0x6+-parseInt(_0x39e3ed(0x1dc))/0x7*(parseInt(_0x39e3ed(0x1de))/0x8)+-parseInt(_0x39e3ed(0x205))/0x9*(-parseInt(_0x39e3ed(0x1c1))/0xa);if(_0x1aa77e===_0x423abb)break;else _0x5ec267['push'](_0x5ec267['shift']());}catch(_0x4567e7){_0x5ec267['push'](_0x5ec267['shift']());}}}(_0x52c8,0x74e3f));import{View as _0x1ecfae,SearchTextView as _0x4020db,FormHeaderView as _0x2fe86f,ButtonView as _0x3a38a3}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x1c519c,IconCancel as _0x116f43,IconPlus as _0x4766be}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x334829}from'./aichathistorysectionlistview.js';function _0x52c8(){const _0x56caba=['itemsViews','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','indexOf','_createSkeletonView','AI_CHAT_HISTORY_SEARCH_LABEL','ck-ai-chat__start-conversation','removeHistoryItem','hasItems','clear','10201662zaaIBG','updateItemTitle','679848KEWgll','3982992YzbEak','ltr','isVisible','_createListItemViews','errorMessage','isEmptyViewVisible','sectionsView','bindTemplate','ck-ai-notification','ck-ai-chat-history__empty-message','change:errorMessage','ck-rounded-corners','emptyView','queryView','_createErrorView','splice','isMaximized','openChat','ck-reset_all','value','fieldView','AI_CHAT_LABEL_NEW_CHAT','30ZkZVYd','removeItem','getItem','isMainErrorViewVisible','ck-ai-notification_error__dismiss-button','search','sections','fire','children','bind','_refreshSearch','extendTemplate','aiHistory','updateLoadingState','render','isLoading','searchView','AI_CHAT_HISTORY_HEADING','updateTitle','execute','ck-ai-chat-history','title','4nNUoRP','ck-ai-chat-history__empty','some','isSearchViewVisible','updateItemLoadingState','35MKBcow','remove','207032vMrgVA','setTemplate','447602EIDVbC','element','ck-ai-header\x20ck-ai-header_history','ck-ai-notification_error','delegate','updateHistoryItemsWithCategories','2821074MztQoG','ck-ai-chat-history__content','change:isLoading','_createSearchView','ck-hidden','resizeButton','skeletonView','items','change:hasItems','_createEmptyStateView','mainErrorView','div','set','push','_updateViewVisibility','3660695vMaVpY','length','locale','add','AI_CHAT_HISTORY_EMPTY_MESSAGE','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','addMany'];_0x52c8=function(){return _0x56caba;};return _0x52c8();}import{AIChatHistoryListView as _0x1e2f8a}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x7799a9}from'./aichathistorylistitemview.js';function _0x1a7f(_0x3fb0aa,_0x3a2ca3){const _0x52c8f9=_0x52c8();return _0x1a7f=function(_0x1a7f11,_0x752df8){_0x1a7f11=_0x1a7f11-0x1ae;let _0x4b089a=_0x52c8f9[_0x1a7f11];return _0x4b089a;},_0x1a7f(_0x3fb0aa,_0x3a2ca3);}import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x1fe072}from'../aichathistoryui.js';import{AISkeletonView as _0x5ef194,SKELETON_DEFINITIONS as _0x2c900a}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x5b8487}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x15ef39}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0x1ecfae{[_0x2eb682(0x1d1)];[_0x2eb682(0x1f0)];[_0x2eb682(0x1ec)];[_0x2eb682(0x1b7)];[_0x2eb682(0x1b1)];[_0x2eb682(0x1eb)];constructor(_0xfcf4dd,_0xcee684){const _0x507f05=_0x2eb682;super(_0xfcf4dd),this[_0x507f05(0x1f2)](_0x507f05(0x203),!0x1),this[_0x507f05(0x1f2)](_0x507f05(0x1d0),!0x0),this[_0x507f05(0x1f2)](_0x507f05(0x1af),''),this[_0x507f05(0x1f2)](_0x507f05(0x1bb),!0x1),this[_0x507f05(0x1f2)](_0x507f05(0x1da),!0x1),this[_0x507f05(0x1f2)](_0x507f05(0x1b0),!0x1),this[_0x507f05(0x1f2)](_0x507f05(0x1c4),!0x1);const _0x37459d=new _0x2fe86f(_0xfcf4dd,{'label':_0x15ef39(_0xfcf4dd,_0x507f05(0x1d2)),'icon':_0x1c519c,'class':_0x507f05(0x1e2)});_0xcee684&&(this[_0x507f05(0x1eb)]=_0x5b8487(_0xfcf4dd,this),_0x37459d[_0x507f05(0x1c9)][_0x507f05(0x1f8)](this[_0x507f05(0x1eb)])),this[_0x507f05(0x1b1)]=new _0x334829(_0xfcf4dd,[]),this[_0x507f05(0x1b1)][_0x507f05(0x1e4)](..._0x1fe072)['to'](this),this[_0x507f05(0x1f0)]=this[_0x507f05(0x1b9)](),this[_0x507f05(0x1ec)]=this[_0x507f05(0x1ff)](),this[_0x507f05(0x1b7)]=this[_0x507f05(0x1ef)](),this[_0x507f05(0x1d1)]=this[_0x507f05(0x1e9)](),this[_0x507f05(0x1f0)][_0x507f05(0x1cc)]({'attributes':{'class':[this[_0x507f05(0x1b2)]['if'](_0x507f05(0x1c4),_0x507f05(0x1ea),_0x1a619e=>!_0x1a619e)]}}),this['on'](_0x507f05(0x1e8),()=>this[_0x507f05(0x1f4)]()),this['on'](_0x507f05(0x1ee),()=>this[_0x507f05(0x1f4)]()),this['on'](_0x507f05(0x1b5),()=>this[_0x507f05(0x1f4)]()),this[_0x507f05(0x1df)]({'tag':_0x507f05(0x1f1),'attributes':{'class':['ck',_0x507f05(0x1bd),_0x507f05(0x1d5),_0x507f05(0x1b6)],'dir':_0x507f05(0x209)},'children':[_0x37459d,{'tag':_0x507f05(0x1f1),'attributes':{'class':[_0x507f05(0x1e7)]},'children':[this[_0x507f05(0x1ec)],this[_0x507f05(0x1f0)],this[_0x507f05(0x1b7)],this[_0x507f05(0x1d1)]]}]});}[_0x2eb682(0x1f4)](){const _0x4e648a=_0x2eb682;this[_0x4e648a(0x1da)]=!this[_0x4e648a(0x1d0)]&&this[_0x4e648a(0x203)],this[_0x4e648a(0x1b0)]=!this[_0x4e648a(0x1d0)]&&!this[_0x4e648a(0x203)]&&!this[_0x4e648a(0x1af)],this[_0x4e648a(0x1c4)]=!this[_0x4e648a(0x1da)]&&!!this[_0x4e648a(0x1af)];}[_0x2eb682(0x1e9)](){const _0x285e12=_0x2eb682,_0x1fcb0c=new _0x4020db(this[_0x285e12(0x1f7)],{'filteredView':this[_0x285e12(0x1b1)],'queryView':{'label':_0x15ef39(this[_0x285e12(0x1f7)],_0x285e12(0x200))},'infoView':{'text':{'notFound':{'primary':_0x396c22=>_0x15ef39(this[_0x285e12(0x1f7)],_0x285e12(0x1fa),_0x396c22),'secondary':_0x15ef39(this[_0x285e12(0x1f7)],_0x285e12(0x1fd))}}}}),_0x16b97f=this[_0x285e12(0x1b9)]();return _0x16b97f[_0x285e12(0x1cc)]({'attributes':{'class':[this[_0x285e12(0x1b2)]['if'](_0x285e12(0x1af),_0x285e12(0x1ea),_0x1b1934=>!_0x1b1934)]}}),_0x1fcb0c['on'](_0x285e12(0x1cf),()=>{const _0x4c814e=_0x285e12;_0x1fcb0c[_0x4c814e(0x1c9)][_0x4c814e(0x1f8)](_0x16b97f,0x1);}),_0x1fcb0c[_0x285e12(0x1cc)]({'attributes':{'class':[this[_0x285e12(0x1b2)]['if'](_0x285e12(0x1da),_0x285e12(0x1ea),_0x146880=>!_0x146880)]}}),_0x1fcb0c;}[_0x2eb682(0x1ff)](){const _0x6b1104=_0x2eb682,_0x34deff=new _0x5ef194(this[_0x6b1104(0x1f7)],_0x2c900a[_0x6b1104(0x1cd)]);return _0x34deff[_0x6b1104(0x1cc)]({'attributes':{'class':[this[_0x6b1104(0x1b2)]['if'](_0x6b1104(0x1d0),_0x6b1104(0x1ea),_0x7a6411=>!_0x7a6411)]}}),_0x34deff;}[_0x2eb682(0x1b9)](){const _0xad0b5f=_0x2eb682,_0x3db035=new _0x1ecfae(this[_0xad0b5f(0x1f7)]),_0x2546be=new _0x3a38a3(this[_0xad0b5f(0x1f7)]);_0x2546be[_0xad0b5f(0x1f2)]({'withText':!0x1,'icon':_0x116f43,'class':_0xad0b5f(0x1c5)}),_0x2546be[_0xad0b5f(0x1ca)](_0xad0b5f(0x20a))['to'](this,_0xad0b5f(0x203),_0x3cc55b=>!!_0x3cc55b),_0x2546be['on'](_0xad0b5f(0x1d4),()=>{const _0x210574=_0xad0b5f;this[_0x210574(0x1af)]='';});const _0x253e26=this[_0xad0b5f(0x1b2)];return _0x3db035[_0xad0b5f(0x1df)]({'tag':_0xad0b5f(0x1f1),'attributes':{'class':['ck',_0xad0b5f(0x1b3),_0xad0b5f(0x1e3)]},'children':[{'tag':'p','children':[{'text':_0x253e26['to'](_0xad0b5f(0x1af))}]},_0x2546be]}),_0x3db035;}[_0x2eb682(0x1ef)](){const _0x2446ce=_0x2eb682,_0x3441c2=new _0x3a38a3(this[_0x2446ce(0x1f7)]);_0x3441c2[_0x2446ce(0x1f2)]({'label':_0x15ef39(this[_0x2446ce(0x1f7)],_0x2446ce(0x1c0)),'withText':!0x0,'icon':_0x4766be,'class':_0x2446ce(0x201)}),_0x3441c2['on'](_0x2446ce(0x1d4),()=>{const _0x9558fd=_0x2446ce;this[_0x9558fd(0x1c8)](_0x9558fd(0x1bc));});const _0x423fd8=new _0x1ecfae(this[_0x2446ce(0x1f7)]);return _0x423fd8[_0x2446ce(0x1df)]({'tag':_0x2446ce(0x1f1),'attributes':{'class':[_0x2446ce(0x1d8),this[_0x2446ce(0x1b2)]['if'](_0x2446ce(0x1b0),_0x2446ce(0x1ea),_0x89bdb4=>!_0x89bdb4)]},'children':[{'tag':'p','attributes':{'class':[_0x2446ce(0x1b4)]},'children':[_0x15ef39(this[_0x2446ce(0x1f7)],_0x2446ce(0x1f9))]},_0x3441c2]}),_0x423fd8;}[_0x2eb682(0x1ae)](_0x38f921,_0xbc4fdd){const _0x3bbfe0=_0x2eb682,_0x454a7a=[];for(const _0x35e495 of _0x38f921){const _0x491a74=new _0x7799a9(_0xbc4fdd,_0x35e495);_0x491a74[_0x3bbfe0(0x1e4)](..._0x1fe072)['to'](this),_0x454a7a[_0x3bbfe0(0x1f3)](_0x491a74);}return _0x454a7a;}[_0x2eb682(0x1e5)](_0x4e0ffe){const _0x2fb43a=_0x2eb682,_0xbca781=this[_0x2fb43a(0x1f7)]||'en',_0x5c36d9=[];for(const _0x41c3ad of _0x4e0ffe){const _0x331099=this[_0x2fb43a(0x1ae)](_0x41c3ad[_0x2fb43a(0x1ed)],_0xbca781);_0x5c36d9[_0x2fb43a(0x1f3)](new _0x1e2f8a(_0xbca781,{'title':_0x41c3ad[_0x2fb43a(0x1d6)],'items':_0x331099}));}this[_0x2fb43a(0x1b1)][_0x2fb43a(0x1c7)]=_0x5c36d9,this[_0x2fb43a(0x1b1)][_0x2fb43a(0x1ed)][_0x2fb43a(0x204)](),this[_0x2fb43a(0x1b1)][_0x2fb43a(0x1ed)][_0x2fb43a(0x1fb)](_0x5c36d9),this[_0x2fb43a(0x203)]=_0x4e0ffe[_0x2fb43a(0x1d9)](_0x457cb8=>_0x457cb8[_0x2fb43a(0x1ed)][_0x2fb43a(0x1f6)]>0x0),this[_0x2fb43a(0x1cb)]();}[_0x2eb682(0x202)](_0x2835af){const _0x1970a9=_0x2eb682;for(const _0x3b6a5c of this[_0x1970a9(0x1b1)][_0x1970a9(0x1c7)]){const _0x5ee1b6=_0x3b6a5c[_0x1970a9(0x1c3)](_0x2835af);if(_0x5ee1b6){if(_0x3b6a5c[_0x1970a9(0x1c2)](_0x5ee1b6),0x0===_0x3b6a5c[_0x1970a9(0x1fc)][_0x1970a9(0x1f6)]){const _0x50e5ce=this[_0x1970a9(0x1b1)][_0x1970a9(0x1c7)][_0x1970a9(0x1fe)](_0x3b6a5c);-0x1!==_0x50e5ce&&(this[_0x1970a9(0x1b1)][_0x1970a9(0x1c7)][_0x1970a9(0x1ba)](_0x50e5ce,0x1),this[_0x1970a9(0x1b1)][_0x1970a9(0x1ed)][_0x1970a9(0x1dd)](_0x3b6a5c));}this[_0x1970a9(0x203)]=this[_0x1970a9(0x1b1)][_0x1970a9(0x1c7)][_0x1970a9(0x1f6)]>0x0,this[_0x1970a9(0x1cb)]();break;}}}[_0x2eb682(0x206)](_0x12ac7e,_0x1a10e3){const _0x42e8d1=_0x2eb682;for(const _0x3f53ab of this[_0x42e8d1(0x1b1)][_0x42e8d1(0x1c7)]){const _0xfa84b0=_0x3f53ab[_0x42e8d1(0x1c3)](_0x12ac7e);if(_0xfa84b0){_0xfa84b0[_0x42e8d1(0x1d3)](_0x1a10e3);break;}}}[_0x2eb682(0x1db)](_0x413b52,_0x2ab044,_0x12495d){const _0x42924a=_0x2eb682;for(const _0x4d3fca of this[_0x42924a(0x1b1)][_0x42924a(0x1c7)]){const _0x17f5f6=_0x4d3fca[_0x42924a(0x1c3)](_0x413b52);if(_0x17f5f6){_0x17f5f6[_0x42924a(0x1ce)](_0x2ab044,_0x12495d);break;}}}[_0x2eb682(0x1cb)](){const _0x1ae9f1=_0x2eb682;if(this[_0x1ae9f1(0x203)]){const _0x44dca0=this[_0x1ae9f1(0x1d1)][_0x1ae9f1(0x1b8)][_0x1ae9f1(0x1bf)]?.[_0x1ae9f1(0x1e1)]?.[_0x1ae9f1(0x1be)]||'';this[_0x1ae9f1(0x1d1)][_0x1ae9f1(0x1c6)](_0x44dca0);}}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x20f521=_0x3022;function _0x3022(_0x5ead4d,_0x2a5903){const _0x344015=_0x3440();return _0x3022=function(_0x302202,_0x4ab57e){_0x302202=_0x302202-0xd5;let _0x10a254=_0x344015[_0x302202];return _0x10a254;},_0x3022(_0x5ead4d,_0x2a5903);}(function(_0x142f3d,_0x459aaf){const _0x51f7ac=_0x3022,_0x250508=_0x142f3d();while(!![]){try{const _0x2989d1=parseInt(_0x51f7ac(0xe9))/0x1*(parseInt(_0x51f7ac(0xd6))/0x2)+-parseInt(_0x51f7ac(0xf7))/0x3+parseInt(_0x51f7ac(0x12d))/0x4*(-parseInt(_0x51f7ac(0x107))/0x5)+parseInt(_0x51f7ac(0xfc))/0x6+parseInt(_0x51f7ac(0xf6))/0x7*(parseInt(_0x51f7ac(0x109))/0x8)+-parseInt(_0x51f7ac(0xee))/0x9+parseInt(_0x51f7ac(0xed))/0xa;if(_0x2989d1===_0x459aaf)break;else _0x250508['push'](_0x250508['shift']());}catch(_0x398e33){_0x250508['push'](_0x250508['shift']());}}}(_0x3440,0xd12c4));import{AIChatUI as _0x340790}from'../aichat/aichatui.js';import{ContextPlugin as _0x37842b}from'ckeditor5/src/core.js';import{AIChatShortcutsView as _0x2c8f63}from'./ui/aichatshortcutsview.js';function _0x3440(){const _0xfb1336=['setModel','params','1197hZdzUo','4494822suETPT','config','activeConversation','args','getModel','2995998qgjUql','REVIEW','addCurrentDocumentToChatContext','activateTab','isFromHistory','_shortcutsView','translate','listenTo','_injectShortcuts','ai.chat.shortcuts','ai-chat-shortcuts-translate-not-found','15rKpboc','runReviewCheck','5272hyVBLq','AIChatController','conversationCreated','reviewMode','AITabs','render','init','isOfficialPlugin','CHAT','has','review','setReasoning','setPromptInputValue','interactionStarted','_validateShortcuts','_executeShortcut','_runReviewShortcut','check','AIChatShortcuts','hasFeedItem','addFeedItemCustomElement','language','_runChatShortcut','element','locale','chat','getDefault','TRANSLATE','focusPromptInput','destroy','removeFeedItem','isPremiumPlugin','_shortcuts','fire','string','get','1955884nglLJr','AIChat','forEach','values','_aiChatUI','460HCBvdH','type','view','prompt','chat-shortcuts','pluginName','ai-chat-shortcuts-ai-tabs-not-found','chatModels','AITranslateUI','plugins','setWebSearch','ai-chat-shortcuts-review-mode-not-found','_removeShortcuts','ai-chat-shortcuts-invalid-config','source','includes','execute','_switchTab','custom','1093MWBkaW','requires','_runTranslateShortcut','label','42701630gVsjxe','11804544QcYudj','AIReviewModeUI','sendMessage','find','context','length'];_0x3440=function(){return _0xfb1336;};return _0x3440();}import{CKEditorError as _0x3ff377}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const dt=_0x20f521(0xda);export var AIChatShortcutType;!function(_0x5d8576){const _0x2a6cad=_0x20f521;_0x5d8576[_0x2a6cad(0x111)]=_0x2a6cad(0x122),_0x5d8576[_0x2a6cad(0xfd)]=_0x2a6cad(0x113),_0x5d8576[_0x2a6cad(0x124)]=_0x2a6cad(0x102);}(AIChatShortcutType||(AIChatShortcutType={}));export class AIChatShortcuts extends _0x37842b{[_0x20f521(0x129)];[_0x20f521(0x101)];[_0x20f521(0xd5)];static get[_0x20f521(0xea)](){return[_0x340790];}static get[_0x20f521(0xdb)](){const _0x2984cf=_0x20f521;return _0x2984cf(0x11b);}static get[_0x20f521(0x110)](){return!0x0;}static get[_0x20f521(0x128)](){return!0x0;}[_0x20f521(0x10f)](){const _0x4d1d68=_0x20f521;this[_0x4d1d68(0xd5)]=this[_0x4d1d68(0xf2)][_0x4d1d68(0xdf)][_0x4d1d68(0x12c)](_0x340790),this[_0x4d1d68(0x129)]=this[_0x4d1d68(0xf2)][_0x4d1d68(0xf8)][_0x4d1d68(0x12c)](_0x4d1d68(0x105))??[];const _0x30f27b=this[_0x4d1d68(0xf2)][_0x4d1d68(0xdf)][_0x4d1d68(0x12c)](_0x4d1d68(0x10a));this[_0x4d1d68(0x129)][_0x4d1d68(0xf3)]&&(this[_0x4d1d68(0x117)](),this[_0x4d1d68(0xd5)]['on'](_0x4d1d68(0x10b),()=>{const _0x340b73=_0x4d1d68;_0x30f27b[_0x340b73(0xf9)][_0x340b73(0x100)]||this[_0x340b73(0x104)]();}),this[_0x4d1d68(0x103)](_0x30f27b,_0x4d1d68(0x116),()=>{const _0x285614=_0x4d1d68;this[_0x285614(0xe2)]();}));}[_0x20f521(0x117)](){const _0xcf01f7=_0x20f521,_0x2eead9=Object[_0xcf01f7(0x130)](AIChatShortcutType);this[_0xcf01f7(0x129)][_0xcf01f7(0x12f)](_0xd1cb31=>{const _0x3edccd=_0xcf01f7;let _0xad9226=!0x0;if(_0xd1cb31['id']&&_0xd1cb31[_0x3edccd(0xec)]&&_0x2eead9[_0x3edccd(0xe5)](_0xd1cb31[_0x3edccd(0xd7)])?_0x3edccd(0x122)===_0xd1cb31[_0x3edccd(0xd7)]&&(_0xad9226=_0x3edccd(0x12b)==typeof _0xd1cb31[_0x3edccd(0xd9)]):_0xad9226=!0x1,!_0xad9226)throw new _0x3ff377(_0x3edccd(0xe3),this[_0x3edccd(0xf2)],{'shortcut':_0xd1cb31});});}[_0x20f521(0x104)](){const _0x48dd07=_0x20f521,_0x329be1=this[_0x48dd07(0xf2)][_0x48dd07(0xdf)][_0x48dd07(0x12c)](_0x340790);this[_0x48dd07(0x101)]=new _0x2c8f63(this[_0x48dd07(0xf2)][_0x48dd07(0x121)],this[_0x48dd07(0x129)]),this[_0x48dd07(0x101)][_0x48dd07(0x10e)](),_0x329be1[_0x48dd07(0x11d)](this[_0x48dd07(0x101)][_0x48dd07(0x120)],dt),this[_0x48dd07(0x101)]['on'](_0x48dd07(0xe6),_0x299c4e=>{const _0x58cf37=_0x48dd07,_0x5eec9f=_0x299c4e[_0x58cf37(0xe4)]['id'];this[_0x58cf37(0x118)](_0x5eec9f);});}[_0x20f521(0xe2)](){const _0x35ae93=_0x20f521,_0x18016a=this[_0x35ae93(0xf2)][_0x35ae93(0xdf)][_0x35ae93(0x12c)](_0x340790);_0x18016a[_0x35ae93(0x11c)](dt)&&_0x18016a[_0x35ae93(0x127)](dt),this[_0x35ae93(0x101)]?.[_0x35ae93(0x126)]();}[_0x20f521(0x118)](_0x312477){const _0x35907a=_0x20f521,_0x19257e=this[_0x35907a(0x129)][_0x35907a(0xf1)](_0xe0a802=>_0xe0a802['id']===_0x312477),_0x475d6e=_0x19257e[_0x35907a(0xd7)];_0x35907a(0x122)===_0x475d6e?this[_0x35907a(0x11f)](_0x19257e):_0x35907a(0x113)===_0x475d6e?_0x19257e[_0x35907a(0x11a)]?this[_0x35907a(0x119)](_0x19257e):this[_0x35907a(0xe7)](_0x35907a(0x10c)):_0x35907a(0x102)===_0x475d6e&&(_0x19257e[_0x35907a(0x11e)]?this[_0x35907a(0xeb)](_0x19257e):this[_0x35907a(0xe7)](_0x35907a(0x102)));}[_0x20f521(0xe7)](_0x20a70c){const _0x5d6eae=_0x20f521;if(!this[_0x5d6eae(0xf2)][_0x5d6eae(0xdf)][_0x5d6eae(0x112)](_0x5d6eae(0x10d)))throw new _0x3ff377(_0x5d6eae(0xdc),this[_0x5d6eae(0xf2)],{'tabName':_0x20a70c});this[_0x5d6eae(0xf2)][_0x5d6eae(0xdf)][_0x5d6eae(0x12c)](_0x5d6eae(0x10d))[_0x5d6eae(0xd8)][_0x5d6eae(0xff)](_0x20a70c);}async[_0x20f521(0x11f)]({prompt:_0x5692b6,draftMode:_0x1ffea3,useWebSearch:_0x3c1e24=!0x1,useReasoning:_0x33d4de=!0x1,model:_0x4132b7}){const _0xf4f7e0=_0x20f521,_0x376b52=this[_0xf4f7e0(0xf2)][_0xf4f7e0(0xdf)][_0xf4f7e0(0x12c)](_0xf4f7e0(0x12e)),_0x36f6c0=this[_0xf4f7e0(0xf2)][_0xf4f7e0(0xdf)][_0xf4f7e0(0x12c)](_0xf4f7e0(0x10a)),_0x843349=_0x36f6c0[_0xf4f7e0(0xf9)];let _0x9aa410;_0x9aa410=_0x4132b7?await _0x843349[_0xf4f7e0(0xdd)][_0xf4f7e0(0xfb)](_0x4132b7):await _0x843349[_0xf4f7e0(0xdd)][_0xf4f7e0(0x123)](),_0x9aa410&&await _0x843349[_0xf4f7e0(0xf4)](_0x9aa410),_0x843349[_0xf4f7e0(0xe0)](_0x3c1e24),_0x843349[_0xf4f7e0(0x114)](_0x33d4de),_0x36f6c0[_0xf4f7e0(0xfe)](),_0x1ffea3?(this[_0xf4f7e0(0xd5)][_0xf4f7e0(0x115)](_0x5692b6),this[_0xf4f7e0(0xd5)][_0xf4f7e0(0x125)](!0x0)):_0x376b52[_0xf4f7e0(0xf0)]({'message':_0x5692b6});}[_0x20f521(0x119)]({check:_0x293434,model:_0x3be070,prompt:_0x81454f,params:_0x59b10b}){const _0x4474d6=_0x20f521;if(!this[_0x4474d6(0xf2)][_0x4474d6(0xdf)][_0x4474d6(0x112)](_0x4474d6(0xef)))throw new _0x3ff377(_0x4474d6(0xe1),this[_0x4474d6(0xf2)]);this[_0x4474d6(0xe7)](_0x4474d6(0x10c));const _0x65a168={'id':_0x293434,'isCustom':_0x4474d6(0xe8)===_0x293434};_0x3be070&&_0x81454f&&(_0x65a168[_0x4474d6(0xfa)]={'model':_0x3be070,'prompt':_0x81454f}),_0x59b10b&&(_0x65a168[_0x4474d6(0xf5)]=_0x59b10b),this[_0x4474d6(0xf2)][_0x4474d6(0xdf)][_0x4474d6(0x12c)](_0x4474d6(0xef))[_0x4474d6(0x12a)](_0x4474d6(0x108),_0x65a168);}[_0x20f521(0xeb)]({language:_0x2e436c}){const _0x130264=_0x20f521;if(!this[_0x130264(0xf2)][_0x130264(0xdf)][_0x130264(0x112)](_0x130264(0xde)))throw new _0x3ff377(_0x130264(0x106),this[_0x130264(0xf2)]);this[_0x130264(0xe7)](_0x130264(0x102)),this[_0x130264(0xf2)][_0x130264(0xdf)][_0x130264(0x12c)](_0x130264(0xde))[_0x130264(0x12a)](_0x130264(0x108),{'id':_0x2e436c,'args':{'language':_0x2e436c}});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x445c00=_0xd9cb;function _0xd9cb(_0x10cd5f,_0xb1347){const _0x497179=_0x4971();return _0xd9cb=function(_0xd9cbce,_0x10b90a){_0xd9cbce=_0xd9cbce-0xfa;let _0x23ed17=_0x497179[_0xd9cbce];return _0x23ed17;},_0xd9cb(_0x10cd5f,_0xb1347);}(function(_0x1150d8,_0x3f629d){const _0x146deb=_0xd9cb,_0x1335ce=_0x1150d8();while(!![]){try{const _0x384241=parseInt(_0x146deb(0x10f))/0x1*(parseInt(_0x146deb(0x10a))/0x2)+-parseInt(_0x146deb(0xfc))/0x3*(-parseInt(_0x146deb(0x105))/0x4)+-parseInt(_0x146deb(0x10c))/0x5*(parseInt(_0x146deb(0x103))/0x6)+-parseInt(_0x146deb(0xfa))/0x7+parseInt(_0x146deb(0x106))/0x8+parseInt(_0x146deb(0x110))/0x9*(parseInt(_0x146deb(0xff))/0xa)+-parseInt(_0x146deb(0x104))/0xb;if(_0x384241===_0x3f629d)break;else _0x1335ce['push'](_0x1335ce['shift']());}catch(_0x30b839){_0x1335ce['push'](_0x1335ce['shift']());}}}(_0x4971,0x3dd12));import{ListItemView as _0x55e244,ListView as _0x2e1c07,View as _0x257ff3}from'ckeditor5/src/ui.js';import{AIChatShortcutView as _0x424e52}from'./aichatshortcutview.js';function _0x4971(){const _0x1220a0=['execute','map','303406QfykUm','addMany','5LLmtyl','setTemplate','children','2LoyfWs','144ZvrdQh','1059240Abfzrm','locale','1578onwCyx','delegate','items','228770KIUZUK','ck-ai-chat-shortcuts','listView','div','1822374KCuApK','3020171NpJXaG','340rzwUxG','2149312hlQIWV','add'];_0x4971=function(){return _0x1220a0;};return _0x4971();}export class AIChatShortcutsView extends _0x257ff3{[_0x445c00(0x101)];constructor(_0x85407c,_0xd9233c){const _0x504d0d=_0x445c00;super(_0x85407c);const _0x17f6ae=_0xd9233c[_0x504d0d(0x109)](_0x21fcd3=>{const _0x2ccc87=_0x504d0d,_0x1ff9cf=new _0x55e244(this[_0x2ccc87(0xfb)]),_0x56a16c=new _0x424e52(this[_0x2ccc87(0xfb)],_0x21fcd3);return _0x1ff9cf[_0x2ccc87(0x10e)][_0x2ccc87(0x107)](_0x56a16c),_0x56a16c[_0x2ccc87(0xfd)](_0x2ccc87(0x108))['to'](this),_0x1ff9cf;});this[_0x504d0d(0x101)]=new _0x2e1c07(this[_0x504d0d(0xfb)]),this[_0x504d0d(0x101)][_0x504d0d(0xfe)][_0x504d0d(0x10b)](_0x17f6ae),this[_0x504d0d(0x10d)]({'tag':_0x504d0d(0x102),'attributes':{'class':['ck',_0x504d0d(0x100)]},'children':[this[_0x504d0d(0x101)]]});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x3745(){const _0x2a067a=['review','125910DWkeJE','4524331cPRIen','translate','extendTemplate','3254590rAMGoG','label','677398KdeprH','icon','ck-ai-chat-shortcut','678156GVAMac','set','chat','1241640XDBenp','1864599gxjSYT'];_0x3745=function(){return _0x2a067a;};return _0x3745();}(function(_0x27cfd1,_0xb8f96){const _0x4569f0=_0x3908,_0x281601=_0x27cfd1();while(!![]){try{const _0x5c0ccc=-parseInt(_0x4569f0(0xac))/0x1+parseInt(_0x4569f0(0xb2))/0x2+parseInt(_0x4569f0(0xb3))/0x3+-parseInt(_0x4569f0(0xaf))/0x4+-parseInt(_0x4569f0(0xb9))/0x5+parseInt(_0x4569f0(0xb5))/0x6+parseInt(_0x4569f0(0xb6))/0x7;if(_0x5c0ccc===_0xb8f96)break;else _0x281601['push'](_0x281601['shift']());}catch(_0x6a2bb0){_0x281601['push'](_0x281601['shift']());}}}(_0x3745,0x648a8));import{ButtonView as _0x110351}from'ckeditor5/src/ui.js';function _0x3908(_0x3ac9dc,_0x5f562f){const _0x374528=_0x3745();return _0x3908=function(_0x39086c,_0x17cd1d){_0x39086c=_0x39086c-0xab;let _0x5db53f=_0x374528[_0x39086c];return _0x5db53f;},_0x3908(_0x3ac9dc,_0x5f562f);}import{IconAIChat as _0x33f126,IconAIReview as _0x25922d,IconAITranslate as _0xa9a165}from'@ckeditor/ckeditor5-icons';export class AIChatShortcutView extends _0x110351{['id'];constructor(_0x3bf393,_0x9cdf25){const _0x3507d8=_0x3908;super(_0x3bf393);const {id:_0x6702af,type:_0x2aaa1,icon:_0x950e2d}=_0x9cdf25;this['id']=_0x6702af,this[_0x3507d8(0xb0)]({'label':_0x9cdf25[_0x3507d8(0xab)],'withText':!0x0,'class':_0x3507d8(0xae)}),this[_0x3507d8(0xb8)]({'attributes':{'data-cke-ai-shortcut-id':_0x9cdf25['id']}}),_0x950e2d?this[_0x3507d8(0xad)]=_0x950e2d:_0x3507d8(0xb1)===_0x2aaa1?this[_0x3507d8(0xad)]=_0x33f126:_0x3507d8(0xb4)===_0x2aaa1?this[_0x3507d8(0xad)]=_0x25922d:_0x3507d8(0xb7)===_0x2aaa1&&(this[_0x3507d8(0xad)]=_0xa9a165);}}
|
package/src/aiconfig.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export{};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x27d0(_0x541f86,_0x34c528){const _0x5438fb=_0x5438();return _0x27d0=function(_0x27d084,_0x3e4e84){_0x27d084=_0x27d084-0x104;let _0x3fd611=_0x5438fb[_0x27d084];return _0x3fd611;},_0x27d0(_0x541f86,_0x34c528);}const _0x866c86=_0x27d0;(function(_0x2e89f1,_0x33a1d5){const _0x1d13f4=_0x27d0,_0x253a53=_0x2e89f1();while(!![]){try{const _0x27932a=-parseInt(_0x1d13f4(0x10b))/0x1*(-parseInt(_0x1d13f4(0x115))/0x2)+parseInt(_0x1d13f4(0x15e))/0x3+parseInt(_0x1d13f4(0x12b))/0x4+parseInt(_0x1d13f4(0x16c))/0x5*(parseInt(_0x1d13f4(0x199))/0x6)+parseInt(_0x1d13f4(0x121))/0x7*(parseInt(_0x1d13f4(0x12a))/0x8)+parseInt(_0x1d13f4(0x11e))/0x9*(parseInt(_0x1d13f4(0x16e))/0xa)+parseInt(_0x1d13f4(0x10e))/0xb*(-parseInt(_0x1d13f4(0x141))/0xc);if(_0x27932a===_0x33a1d5)break;else _0x253a53['push'](_0x253a53['shift']());}catch(_0x39c003){_0x253a53['push'](_0x253a53['shift']());}}}(_0x5438,0xab77d));import{createParser as _0x489be6}from'eventsource-parser';import{ContextPlugin as _0x36fd92}from'ckeditor5/src/core.js';function _0x5438(){const _0x512a97=['language','fetchDocument','totalCount','_apiUrl','executeCustomAction','https://ai.cke-cs.com/v1','100','fetchConversations','statusText','parse','excludeEmpty','ai.serviceUrl','POST','get','callSystemReview','false','/conversations','/actions/system/','config','make-longer','plugins','1904544UTcwhk','MAKE_TONE_CASUAL','make-shorter','code','continue','GET','value','order','releaseLock','DELETE','sortBy','feed','/conversations?','stringify','5BftkSf','/documents/','6453610avrArN','TRANSLATE','callCustomReview','upsertCustomAIActionRating','uploadFile','AbortError','group','IMPROVE_WRITING','/web-resources','init','push','/calls/','desc','ai-request-aborted','deleteConversation','fix-grammar','PATCH','/reviews/custom/calls','make-tone-casual','MAKE_LONGER','queryAssistant','json','/ratings','isPremiumPlugin','/documents','FIX_GRAMMAR','body','/actions/custom/calls/','improve-writing','deleteDocument','message','request','token','CONTINUE','requires','deleteFile','executeAction','catch','/models/1?','name','make-tone-formal','_getStreamReader','toString','6029130EwjMjQ','/files','read','translate','fetchConversationMessages','items','traceId','_decoder','getModels','15gCPWhy','MAKE_SHORTER','ai-missing-token','11FusQKA','/web-resources/','isOfficialPlugin','true','upsertAIActionRating','Bearer\x20','/reviews/system/','151410IOPqtV','updateConversation','signal','upsertAIReviewRating','/actions/custom/calls','then','abortController','/files/','append','9UNJDef','application/json','modificationId','2751XjnXLJ','/messages','/conversations/','upsertAIChatRating','PUT','createdAt','_sendApiRequest','CloudServices','reset','10312VtJqdo','1323296irzYqU','uploadUrl','status','context','MAKE_TONE_FORMAL','limit','fetchConversation','attributes','/calls','getReader','startConversation','ai-request-failed','positiveCount','pluginName','length','file','AIConnector','data','decode','text','_token','_handleError','42668484ylHTLp','define','/messages/','uploadDocument','/reviews/custom/calls/','deleteWebResource','Content-Type','upsertCustomAIReviewRating'];_0x5438=function(){return _0x512a97;};return _0x5438();}import{CKEditorError as _0x526cf5}from'ckeditor5/src/utils.js';export var AIActionsNames;!function(_0x346d71){const _0x395876=_0x27d0;_0x346d71[_0x395876(0x18f)]=_0x395876(0x162),_0x346d71[_0x395876(0x187)]=_0x395876(0x17d),_0x346d71[_0x395876(0x175)]=_0x395876(0x18a),_0x346d71[_0x395876(0x181)]=_0x395876(0x15c),_0x346d71[_0x395876(0x10c)]=_0x395876(0x160),_0x346d71[_0x395876(0x15f)]=_0x395876(0x180),_0x346d71[_0x395876(0x12f)]=_0x395876(0x196),_0x346d71[_0x395876(0x16f)]=_0x395876(0x105);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0x36fd92{[_0x866c86(0x14c)];[_0x866c86(0x13f)];[_0x866c86(0x109)];static get[_0x866c86(0x190)](){const _0x1821dc=_0x866c86;return[_0x1821dc(0x128)];}static get[_0x866c86(0x138)](){const _0x40d228=_0x866c86;return _0x40d228(0x13b);}static get[_0x866c86(0x110)](){return!0x0;}static get[_0x866c86(0x185)](){return!0x0;}constructor(_0x83a5d6){const _0x18c76c=_0x866c86;super(_0x83a5d6),this[_0x18c76c(0x12e)][_0x18c76c(0x15b)][_0x18c76c(0x142)](_0x18c76c(0x154),_0x18c76c(0x14e)),this[_0x18c76c(0x14c)]=this[_0x18c76c(0x12e)][_0x18c76c(0x15b)][_0x18c76c(0x156)](_0x18c76c(0x154)),this[_0x18c76c(0x13f)]=null,this[_0x18c76c(0x109)]=new TextDecoder();}[_0x866c86(0x177)](){const _0x23e59a=_0x866c86,_0x4724a3=this[_0x23e59a(0x12e)][_0x23e59a(0x15d)][_0x23e59a(0x156)](_0x23e59a(0x128));if(!_0x4724a3[_0x23e59a(0x18e)])throw new _0x526cf5(_0x23e59a(0x10d),this);this[_0x23e59a(0x13f)]=_0x4724a3[_0x23e59a(0x18e)];}[_0x866c86(0x135)](_0xf38691,_0x4db8e8){const _0x2c1a19=_0x866c86,_0x4174b6=this[_0x2c1a19(0x127)](_0x2c1a19(0x159),_0x2c1a19(0x155),{'id':_0xf38691,'group':_0x4db8e8});return{'getConversation':async()=>(await _0x4174b6[_0x2c1a19(0x18d)])[_0x2c1a19(0x183)](),'abortController':_0x4174b6[_0x2c1a19(0x11b)]};}[_0x866c86(0x182)]({message:_0x2222ed,conversationId:_0x4da1e4,parts:_0x18251d,capabilities:_0x20adf0,model:_0x31f069,attributes:_0x5b781e}){const _0x5ecc27=_0x866c86,_0x493d4d={'prompt':_0x2222ed,'content':_0x18251d,'model':_0x31f069,..._0x20adf0&&{'capabilities':_0x20adf0},..._0x5b781e&&{'attributes':_0x5b781e}},_0x4d1a60=this[_0x5ecc27(0x127)](_0x5ecc27(0x123)+_0x4da1e4+_0x5ecc27(0x122),_0x5ecc27(0x155),_0x493d4d);return{'getStream':async()=>{const _0x3d6e15=_0x5ecc27,_0x223411=(await _0x4d1a60[_0x3d6e15(0x18d)])[_0x3d6e15(0x188)];return this[_0x3d6e15(0x197)](_0x223411);},'abortController':_0x4d1a60[_0x5ecc27(0x11b)]};}[_0x866c86(0x14d)]({content:_0x16cb8a,message:_0x59dcd7,model:_0x13d41e,outputFormat:_0x3bb80f}){const _0x1896e8=_0x866c86,_0x306d6d={'content':[{'type':_0x1896e8(0x13e),'content':_0x16cb8a}],'prompt':_0x59dcd7,'model':_0x13d41e,'outputFormat':_0x3bb80f},_0x4caae4=this[_0x1896e8(0x127)](_0x1896e8(0x119),_0x1896e8(0x155),_0x306d6d);return{'getStream':async()=>{const _0x9d7287=_0x1896e8,_0x150bf2=(await _0x4caae4[_0x9d7287(0x18d)])[_0x9d7287(0x188)];return this[_0x9d7287(0x197)](_0x150bf2);},'abortController':_0x4caae4[_0x1896e8(0x11b)]};}[_0x866c86(0x192)]({actionName:_0x5f551d,content:_0x2fc5e1,args:_0x4ef265}){const _0x2dbee6=_0x866c86,_0x8f79b9={'content':[{'type':_0x2dbee6(0x13e),'content':_0x2fc5e1}],'args':_0x4ef265},_0x2f065d=this[_0x2dbee6(0x127)](_0x2dbee6(0x15a)+_0x5f551d+_0x2dbee6(0x133),_0x2dbee6(0x155),_0x8f79b9);return{'getStream':async()=>{const _0x35361c=_0x2dbee6,_0xc3c302=(await _0x2f065d[_0x35361c(0x18d)])[_0x35361c(0x188)];return this[_0x35361c(0x197)](_0xc3c302);},'abortController':_0x2f065d[_0x2dbee6(0x11b)]};}[_0x866c86(0x172)](_0x8d13f0,_0x45d503,_0x457f1d){const _0x18d1f7=_0x866c86,_0x5bf15d=new FormData();_0x5bf15d[_0x18d1f7(0x11d)](_0x18d1f7(0x13a),_0x45d503,_0x45d503[_0x18d1f7(0x195)]),_0x457f1d&&_0x5bf15d[_0x18d1f7(0x11d)](_0x18d1f7(0x132),JSON[_0x18d1f7(0x16b)](_0x457f1d));const _0x1044a6=this[_0x18d1f7(0x127)](_0x18d1f7(0x123)+_0x8d13f0+_0x18d1f7(0x19a),_0x18d1f7(0x155),_0x5bf15d);return{'getId':async()=>(await _0x1044a6[_0x18d1f7(0x18d)])[_0x18d1f7(0x183)](),'abortController':_0x1044a6[_0x18d1f7(0x11b)]};}[_0x866c86(0x14a)](_0x3c4549,_0x896d3){const _0x5808c3=_0x866c86,_0x3f0f8b=this[_0x5808c3(0x127)](_0x5808c3(0x123)+_0x3c4549+_0x5808c3(0x16d)+_0x896d3,_0x5808c3(0x163));return{'getDocument':async()=>(await _0x3f0f8b[_0x5808c3(0x18d)])[_0x5808c3(0x183)](),'abortController':_0x3f0f8b[_0x5808c3(0x11b)]};}[_0x866c86(0x144)](_0x5e10a8,_0x30bdee,_0x4a6240){const _0x424f3f=_0x866c86,_0x63a313={'content':_0x30bdee};_0x4a6240&&(_0x63a313[_0x424f3f(0x132)]=_0x4a6240);const _0x11208b=this[_0x424f3f(0x127)](_0x424f3f(0x123)+_0x5e10a8+_0x424f3f(0x186),_0x424f3f(0x155),_0x63a313);return{'getId':async()=>(await _0x11208b[_0x424f3f(0x18d)])[_0x424f3f(0x183)](),'abortController':_0x11208b[_0x424f3f(0x11b)]};}[_0x866c86(0x150)](_0x9152eb,_0x5ec256={}){const _0x592b28=_0x866c86,_0x1cf22d=new URLSearchParams();_0x1cf22d[_0x592b28(0x11d)](_0x592b28(0x174),_0x9152eb),_0x1cf22d[_0x592b28(0x11d)](_0x592b28(0x153),!0x1!==_0x5ec256[_0x592b28(0x153)]?_0x592b28(0x111):_0x592b28(0x158)),_0x1cf22d[_0x592b28(0x11d)](_0x592b28(0x130),_0x5ec256[_0x592b28(0x130)]?_0x5ec256[_0x592b28(0x130)][_0x592b28(0x198)]():_0x592b28(0x14f)),_0x1cf22d[_0x592b28(0x11d)](_0x592b28(0x168),_0x5ec256[_0x592b28(0x168)]?_0x5ec256[_0x592b28(0x168)]:_0x592b28(0x126)),_0x1cf22d[_0x592b28(0x11d)](_0x592b28(0x165),_0x5ec256[_0x592b28(0x165)]?_0x5ec256[_0x592b28(0x165)]:_0x592b28(0x17a));const _0x16c9c7=this[_0x592b28(0x127)](_0x592b28(0x16a)+_0x1cf22d[_0x592b28(0x198)](),_0x592b28(0x163));return{'getConversations':async()=>{const _0x44576b=_0x592b28,_0x3a0ef4=await _0x16c9c7[_0x44576b(0x18d)];return(await _0x3a0ef4[_0x44576b(0x183)]())[_0x44576b(0x107)];},'abortController':_0x16c9c7[_0x592b28(0x11b)]};}[_0x866c86(0x17c)](_0x3581fc){const _0x44bb0f=_0x866c86,_0x1bc6e4=this[_0x44bb0f(0x127)](_0x44bb0f(0x123)+_0x3581fc,_0x44bb0f(0x167));return{'execute':async()=>{const _0x535e3d=_0x44bb0f;await _0x1bc6e4[_0x535e3d(0x18d)];},'abortController':_0x1bc6e4[_0x44bb0f(0x11b)]};}[_0x866c86(0x116)](_0x497b67,_0x452726){const _0x7db3e4=_0x866c86,_0x27617e=this[_0x7db3e4(0x127)](_0x7db3e4(0x123)+_0x497b67,_0x7db3e4(0x17e),_0x452726);return{'getResult':async()=>(await _0x27617e[_0x7db3e4(0x18d)],_0x452726),'abortController':_0x27617e[_0x7db3e4(0x11b)]};}[_0x866c86(0x131)](_0x44b911){const _0x501da4=_0x866c86,_0x5eabb6=this[_0x501da4(0x127)](_0x501da4(0x123)+_0x44b911,_0x501da4(0x163));return{'getConversation':async()=>(await _0x5eabb6[_0x501da4(0x18d)])[_0x501da4(0x183)](),'abortController':_0x5eabb6[_0x501da4(0x11b)]};}[_0x866c86(0x106)](_0x51d955){const _0x1acda9=_0x866c86,_0x3e1a46=this[_0x1acda9(0x127)](_0x1acda9(0x123)+_0x51d955+_0x1acda9(0x122),_0x1acda9(0x163));return{'getMessages':async()=>{const _0x1c9ac4=_0x1acda9,_0x1ddabb=await _0x3e1a46[_0x1c9ac4(0x18d)];return(await _0x1ddabb[_0x1c9ac4(0x183)]())[_0x1c9ac4(0x107)];},'abortController':_0x3e1a46[_0x1acda9(0x11b)]};}[_0x866c86(0x12c)](_0x11c4bb,_0x4c7085,_0x291628){const _0x47213f=_0x866c86,_0x2fc1c3=this[_0x47213f(0x127)](_0x47213f(0x123)+_0x11c4bb+_0x47213f(0x176),_0x47213f(0x155),{'url':_0x4c7085,'attributes':_0x291628});return{'getId':async()=>(await _0x2fc1c3[_0x47213f(0x18d)])[_0x47213f(0x183)](),'abortController':_0x2fc1c3[_0x47213f(0x11b)]};}[_0x866c86(0x10a)](_0x575a5='en'){const _0x23ddaf=_0x866c86,_0x9896bb=new URLSearchParams();_0x9896bb[_0x23ddaf(0x11d)](_0x23ddaf(0x149),_0x575a5);const _0x3062e1=_0x23ddaf(0x194)+_0x9896bb[_0x23ddaf(0x198)](),_0xe2ced5=this[_0x23ddaf(0x127)](_0x3062e1,_0x23ddaf(0x163));return{'list':async()=>await(await _0xe2ced5[_0x23ddaf(0x18d)])[_0x23ddaf(0x183)](),'abortController':_0xe2ced5[_0x23ddaf(0x11b)]};}[_0x866c86(0x191)](_0x54da51,_0x1ec743){const _0x30cdb7=_0x866c86,_0x153ced=this[_0x30cdb7(0x127)](_0x30cdb7(0x123)+_0x54da51+_0x30cdb7(0x11c)+_0x1ec743,_0x30cdb7(0x167));return{'execute':async()=>{const _0x2c9bf0=_0x30cdb7;await _0x153ced[_0x2c9bf0(0x18d)];},'abortController':_0x153ced[_0x30cdb7(0x11b)]};}[_0x866c86(0x18b)](_0x1bd49c,_0x31502c){const _0x158790=_0x866c86,_0x248b71=this[_0x158790(0x127)](_0x158790(0x123)+_0x1bd49c+_0x158790(0x16d)+_0x31502c,_0x158790(0x167));return{'execute':async()=>{const _0x347cbb=_0x158790;await _0x248b71[_0x347cbb(0x18d)];},'abortController':_0x248b71[_0x158790(0x11b)]};}[_0x866c86(0x146)](_0x1ce582,_0x77cea){const _0x22b7ab=_0x866c86,_0x135d38=this[_0x22b7ab(0x127)](_0x22b7ab(0x123)+_0x1ce582+_0x22b7ab(0x10f)+_0x77cea,_0x22b7ab(0x167));return{'execute':async()=>{const _0x2d56ad=_0x22b7ab;await _0x135d38[_0x2d56ad(0x18d)];},'abortController':_0x135d38[_0x22b7ab(0x11b)]};}[_0x866c86(0x157)]({reviewName:_0x5dff63,content:_0x4b794c,args:_0x5d0a9e}){const _0x252796=_0x866c86,_0x25e10c=this[_0x252796(0x127)](_0x252796(0x114)+_0x5dff63+_0x252796(0x133),_0x252796(0x155),{'content':[{'type':_0x252796(0x13e),'content':_0x4b794c}],'args':_0x5d0a9e});return{'getStream':async()=>{const _0x16301f=_0x252796,_0xc42c03=(await _0x25e10c[_0x16301f(0x18d)])[_0x16301f(0x188)];return this[_0x16301f(0x197)](_0xc42c03);},'abortController':_0x25e10c[_0x252796(0x11b)]};}[_0x866c86(0x170)]({content:_0x25082d,prompt:_0x49787e,model:_0x23f272}){const _0x44910=_0x866c86,_0x307dec=this[_0x44910(0x127)](_0x44910(0x17f),_0x44910(0x155),{'content':[{'type':_0x44910(0x13e),'content':_0x25082d}],'prompt':_0x49787e,'model':_0x23f272});return{'getStream':async()=>{const _0x41e1f1=_0x44910,_0x1f54a1=(await _0x307dec[_0x41e1f1(0x18d)])[_0x41e1f1(0x188)];return this[_0x41e1f1(0x197)](_0x1f54a1);},'abortController':_0x307dec[_0x44910(0x11b)]};}[_0x866c86(0x124)](_0x184f9d,_0xde9545,_0x59fc07){const _0xa2f1d9=_0x866c86,_0x3aca74=this[_0xa2f1d9(0x127)](_0xa2f1d9(0x123)+_0x184f9d+_0xa2f1d9(0x143)+_0xde9545+_0xa2f1d9(0x184),_0xa2f1d9(0x125),{'positiveCount':_0x59fc07[_0xa2f1d9(0x137)],'totalCount':_0x59fc07[_0xa2f1d9(0x14b)],'modificationId':_0x59fc07[_0xa2f1d9(0x120)]});return{'execute':async()=>{const _0x29b7ed=_0xa2f1d9;await _0x3aca74[_0x29b7ed(0x18d)];},'abortController':_0x3aca74[_0xa2f1d9(0x11b)]};}[_0x866c86(0x112)](_0xd9df05,_0x50f344,_0x41e9c6){const _0x169c35=_0x866c86,_0x15a526=this[_0x169c35(0x127)](_0x169c35(0x15a)+_0xd9df05+_0x169c35(0x179)+_0x50f344+_0x169c35(0x184),_0x169c35(0x125),{'positiveCount':_0x41e9c6[_0x169c35(0x137)],'totalCount':_0x41e9c6[_0x169c35(0x14b)]});return{'execute':async()=>{const _0xb4b116=_0x169c35;await _0x15a526[_0xb4b116(0x18d)];},'abortController':_0x15a526[_0x169c35(0x11b)]};}[_0x866c86(0x171)](_0x5a8ac5,_0x47cbf8){const _0x97f81a=_0x866c86,_0x20662a=this[_0x97f81a(0x127)](_0x97f81a(0x189)+_0x5a8ac5+_0x97f81a(0x184),_0x97f81a(0x125),{'positiveCount':_0x47cbf8[_0x97f81a(0x137)],'totalCount':_0x47cbf8[_0x97f81a(0x14b)]});return{'execute':async()=>{const _0xe7a6bc=_0x97f81a;await _0x20662a[_0xe7a6bc(0x18d)];},'abortController':_0x20662a[_0x97f81a(0x11b)]};}[_0x866c86(0x118)](_0x4c6f5b,_0x3122ac,_0x3e45a9,_0xf010f5){const _0x57a25a=_0x866c86,_0x4e8456=this[_0x57a25a(0x127)](_0x57a25a(0x114)+_0x4c6f5b+_0x57a25a(0x179)+_0x3122ac+_0x57a25a(0x184),_0x57a25a(0x125),{'positiveCount':_0x3e45a9[_0x57a25a(0x137)],'totalCount':_0x3e45a9[_0x57a25a(0x14b)],'dataId':_0xf010f5});return{'execute':async()=>{const _0x2ae0b8=_0x57a25a;await _0x4e8456[_0x2ae0b8(0x18d)];},'abortController':_0x4e8456[_0x57a25a(0x11b)]};}[_0x866c86(0x148)](_0x3ae9da,_0x244a0b,_0x17fdaa){const _0x11e379=_0x866c86,_0x4c0a43=this[_0x11e379(0x127)](_0x11e379(0x145)+_0x3ae9da+_0x11e379(0x184),_0x11e379(0x125),{'positiveCount':_0x244a0b[_0x11e379(0x137)],'totalCount':_0x244a0b[_0x11e379(0x14b)],'dataId':_0x17fdaa});return{'execute':async()=>{const _0x5a62b2=_0x11e379;await _0x4c0a43[_0x5a62b2(0x18d)];},'abortController':_0x4c0a43[_0x11e379(0x11b)]};}[_0x866c86(0x127)](_0x3de209,_0x519e58,_0x500046){const _0x37b03c=_0x866c86,_0x2ac8e9=new AbortController(),_0x34b46b=_0x500046 instanceof FormData,_0x27fde7={'Authorization':_0x37b03c(0x113)+this[_0x37b03c(0x13f)]?.[_0x37b03c(0x164)]};_0x500046&&!_0x34b46b&&(_0x27fde7[_0x37b03c(0x147)]=_0x37b03c(0x11f));const _0x2be418={'method':_0x519e58,'headers':_0x27fde7,'signal':_0x2ac8e9[_0x37b03c(0x117)]};return _0x500046&&(_0x2be418[_0x37b03c(0x188)]=_0x34b46b?_0x500046:JSON[_0x37b03c(0x16b)](_0x500046)),{'request':fetch(''+this[_0x37b03c(0x14c)]+_0x3de209,_0x2be418)[_0x37b03c(0x193)](_0x5a93a6=>{const _0x47b179=_0x37b03c;this[_0x47b179(0x140)](_0x5a93a6);})[_0x37b03c(0x11a)](_0x1416a1=>_0x1416a1['ok']?_0x1416a1:_0x1416a1[_0x37b03c(0x183)]()[_0x37b03c(0x11a)](_0x4178a2=>{const _0x13f687=_0x37b03c;throw{'url':this[_0x13f687(0x14c)],'path':_0x3de209,'method':_0x519e58,'body':_0x500046,'status':(_0x1416a1||{})[_0x13f687(0x12d)],'statusText':(_0x1416a1||{})[_0x13f687(0x151)],'code':_0x4178a2[_0x13f687(0x161)],'message':_0x4178a2[_0x13f687(0x18c)],'traceId':_0x4178a2[_0x13f687(0x108)]};})),'abortController':_0x2ac8e9};}async*[_0x866c86(0x197)](_0x57ba5f){const _0x1ae24a=_0x866c86,_0x3895df=[],_0x254752=_0x57ba5f[_0x1ae24a(0x134)](),_0x54bc42=_0x489be6({'onError':_0x47f3dd=>{const _0x19e235=_0x1ae24a;this[_0x19e235(0x140)](_0x47f3dd);},'onEvent':_0x24cf28=>{const _0x142f0f=_0x1ae24a;_0x24cf28[_0x142f0f(0x13c)]=JSON[_0x142f0f(0x152)](_0x24cf28[_0x142f0f(0x13c)]),_0x3895df[_0x142f0f(0x178)](_0x24cf28);}});try{let _0x1cfa2e=!0x1;for(;!_0x1cfa2e;){const {done:_0x18241c,value:_0x4ee45d}=await _0x254752[_0x1ae24a(0x104)]();_0x18241c&&(_0x1cfa2e=!0x0),_0x54bc42[_0x1ae24a(0x169)](this[_0x1ae24a(0x109)][_0x1ae24a(0x13d)](_0x4ee45d,{'stream':!0x0})),yield*_0x3895df,_0x3895df[_0x1ae24a(0x139)]=0x0;}}catch(_0x2088c9){this[_0x1ae24a(0x140)](_0x2088c9);}finally{_0x254752[_0x1ae24a(0x166)](),_0x54bc42[_0x1ae24a(0x129)]();}}[_0x866c86(0x140)](_0x376d00){const _0x102246=_0x866c86;if(_0x376d00 instanceof _0x526cf5)throw _0x376d00;if(_0x376d00 instanceof Error&&_0x102246(0x173)===_0x376d00[_0x102246(0x195)])throw new _0x526cf5(_0x102246(0x17b),this,{'originalError':_0x376d00});throw new _0x526cf5(_0x102246(0x136),this,{'originalError':_0x376d00});}}
|
package/src/aicore/aiediting.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x5b33d5=_0x56e5;(function(_0x2ddca6,_0x1c0892){const _0x1bfae0=_0x56e5,_0x538d96=_0x2ddca6();while(!![]){try{const _0x2573b3=parseInt(_0x1bfae0(0xa2))/0x1+-parseInt(_0x1bfae0(0xe7))/0x2*(parseInt(_0x1bfae0(0xe0))/0x3)+parseInt(_0x1bfae0(0xa1))/0x4+parseInt(_0x1bfae0(0xef))/0x5+-parseInt(_0x1bfae0(0xf8))/0x6*(-parseInt(_0x1bfae0(0xae))/0x7)+-parseInt(_0x1bfae0(0xce))/0x8*(parseInt(_0x1bfae0(0x92))/0x9)+parseInt(_0x1bfae0(0x9b))/0xa;if(_0x2573b3===_0x1c0892)break;else _0x538d96['push'](_0x538d96['shift']());}catch(_0x492daa){_0x538d96['push'](_0x538d96['shift']());}}}(_0x3059,0xb8657));import{ViewDowncastWriter as _0x47f2ed}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x1d7a47,Editor as _0x491314}from'ckeditor5/src/core.js';function _0x56e5(_0x2953d0,_0x2fe67c){const _0x305921=_0x3059();return _0x56e5=function(_0x56e5d4,_0x541b49){_0x56e5d4=_0x56e5d4-0x89;let _0x24f88b=_0x305921[_0x56e5d4];return _0x24f88b;},_0x56e5(_0x2953d0,_0x2fe67c);}function _0x3059(){const _0x598760=['9xuBaXS','conversion','context','editors','isContent','_getDocumentDataStringFromView','version','name','locale','7443990TChdNZ','_sessionId','$textProxy','domConverter','processor','editing','4333884VxtfWU','39186qWVSdu','afterInit','modelToDataWithIds','join','convertAiChatSelectionMarker','editingDowncast','markerName','define','document','ready','getStart','isOpening','266329AfFOrH','selection','isOfficialPlugin','emptyElement','isAtEnd','ck-fake-ai-selection',':start></','dataDowncast',':end></','getMarkersGroup','containerElement','getDocumentData','has','_setOutputDataProcessor','markerToElement','change','substring','model','data','getLastMatchingPosition','ai-selection:','config','plugins','start','get','data-id','sessionId','removeAllRanges','markers','createRange','showFakeVisualSelection','end','5722904vbnaVw','_getMarkersInDocumentOrder','for','view','htmlWriter','RealTimeCollaborationClient','AIEditing','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','getHtml','_displayedFakeSelectionId','isPremiumPlugin',':start>','fromCharCode','viewToDom',':end>','_setDataIdsOnChildren','toView','ai.models.showModelSelector','1265811EvCtsU','isBefore','_displayedFakeSelectionLocked','_outputDataProcessor','ck-ai-assistant-ui_theme','schema','markerToHighlight','4RaLZzH','ai-selection','listenTo','getSelection','getChildren','isAfter','createUIElement','getItems','1856870kFGLYj','_nextDataId','_integrateEditor','element','getRanges','push','add','indexOf','floor','12CtIJfX','addMarker','length','removeMarker','sort','from','pluginName','getRoot','random','trim','getSelectionText','toData','setAttribute','hideFakeVisualSelection'];_0x3059=function(){return _0x598760;};return _0x3059();}import{uid as _0x124f97}from'ckeditor5/src/utils.js';import{getTranslation as _0x587847}from'./utils/common-translations.js';import{getEditorFromContext as _0x4f64c7}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x5b33d5(0xe8);export class AIEditing extends _0x1d7a47{constructor(_0x131447){const _0x520bb0=_0x5b33d5;super(_0x131447),this[_0x520bb0(0x94)][_0x520bb0(0xc3)][_0x520bb0(0xa9)](_0x520bb0(0xdf),!0x0);}[_0x5b33d5(0xe3)];[_0x5b33d5(0xd7)]=null;[_0x5b33d5(0xe2)]=!0x1;[_0x5b33d5(0x9c)];static get[_0x5b33d5(0x8a)](){const _0x336d7e=_0x5b33d5;return _0x336d7e(0xd4);}static get[_0x5b33d5(0xb0)](){return!0x0;}static get[_0x5b33d5(0xd8)](){return!0x0;}get[_0x5b33d5(0xc8)](){const _0x1e857d=_0x5b33d5;if(!this[_0x1e857d(0x9c)]){const _0x4549f0=_0x4f64c7(this[_0x1e857d(0x94)]),_0x3f112a=_0x4549f0[_0x1e857d(0xc4)][_0x1e857d(0xba)](_0x1e857d(0xd3))&&_0x4549f0[_0x1e857d(0xc4)][_0x1e857d(0xc6)](_0x1e857d(0xd3))[_0x1e857d(0xc8)];this[_0x1e857d(0x9c)]=_0x3f112a||_0x124f97();}return this[_0x1e857d(0x9c)];}async[_0x5b33d5(0xb9)](){const _0x46610c=_0x5b33d5,_0x1a32cb=_0x4f64c7(this[_0x46610c(0x94)]),_0x57314d=_0x1a32cb[_0x46610c(0xbf)],_0x27596f=_0x1a32cb[_0x46610c(0xc0)][_0x46610c(0xde)](_0x57314d[_0x46610c(0xaa)][_0x46610c(0x8b)](),{'convertAiChatSelectionMarker':!0x0}),_0x8aafeb=new _0x47f2ed(_0x1a32cb[_0x46610c(0xa0)][_0x46610c(0xd1)][_0x46610c(0xaa)]);this[_0x46610c(0xdd)](_0x27596f,_0x8aafeb);let _0x202989=await this[_0x46610c(0x97)](_0x27596f);const _0x3aee40=this[_0x46610c(0xcf)](),_0x5aaffb=[];for(const _0x129484 of _0x3aee40){const _0x123c9a='<'+_0x129484[_0x46610c(0x99)]+_0x46610c(0xb4)+_0x129484[_0x46610c(0x99)]+_0x46610c(0xd9),_0x2d889e=_0x202989[_0x46610c(0xf6)](_0x123c9a);_0x202989=_0x202989[_0x46610c(0xbe)](0x0,_0x2d889e)+_0x202989[_0x46610c(0xbe)](_0x2d889e+_0x123c9a[_0x46610c(0xfa)]);const _0x4ebe9f='<'+_0x129484[_0x46610c(0x99)]+_0x46610c(0xb6)+_0x129484[_0x46610c(0x99)]+_0x46610c(0xdc),_0x1f43e3=_0x202989[_0x46610c(0xf6)](_0x4ebe9f);_0x202989=_0x202989[_0x46610c(0xbe)](0x0,_0x1f43e3)+_0x202989[_0x46610c(0xbe)](_0x1f43e3+_0x4ebe9f[_0x46610c(0xfa)]),_0x5aaffb[_0x46610c(0xf4)]({'markerName':_0x129484[_0x46610c(0x99)],'start':_0x2d889e,'end':_0x1f43e3,'htmlFragment':_0x202989[_0x46610c(0xbe)](_0x2d889e,_0x1f43e3)});}return{'content':_0x202989,'version':_0x1a32cb[_0x46610c(0xbf)][_0x46610c(0xaa)][_0x46610c(0x98)],'sessionId':this[_0x46610c(0xc8)],'selections':_0x5aaffb};}async[_0x5b33d5(0xa3)](){const _0x58fefc=_0x5b33d5;this[_0x58fefc(0x94)]instanceof _0x491314?this[_0x58fefc(0xf1)](this[_0x58fefc(0x94)]):this[_0x58fefc(0xe9)](this[_0x58fefc(0x94)][_0x58fefc(0x95)],_0x58fefc(0xf5),(_0x374b5a,_0x3688fe)=>{const _0x3fcba2=_0x58fefc;_0x3688fe['on'](_0x3fcba2(0xab),()=>{const _0x883ffa=_0x3fcba2;this[_0x883ffa(0xf1)](_0x3688fe);});});}[_0x5b33d5(0xbb)](_0x22ed0b){const _0x399cda=_0x5b33d5;this[_0x399cda(0xe3)]=_0x22ed0b;}async[_0x5b33d5(0x97)](_0xbc776f){const _0x58fe7e=_0x5b33d5;let _0x14bb2d;const _0x224e23=_0x4f64c7(this[_0x58fe7e(0x94)]);if(this[_0x58fe7e(0xe3)]){const _0x1774d7=_0x224e23[_0x58fe7e(0xc0)][_0x58fe7e(0x9f)][_0x58fe7e(0x9e)][_0x58fe7e(0xdb)](_0xbc776f),_0x5c88ea=await this[_0x58fe7e(0xe3)](_0x1774d7);_0x14bb2d=_0x224e23[_0x58fe7e(0xc0)][_0x58fe7e(0x9f)][_0x58fe7e(0xd2)][_0x58fe7e(0xd6)](_0x5c88ea);}else _0x14bb2d=_0x224e23[_0x58fe7e(0xc0)][_0x58fe7e(0x9f)][_0x58fe7e(0x8f)](_0xbc776f);return _0x14bb2d;}[_0x5b33d5(0xf1)](_0x121bf7){const _0x5f537c=_0x5b33d5;_0x121bf7[_0x5f537c(0x93)][_0x5f537c(0xd0)](_0x5f537c(0xa7))[_0x5f537c(0xe6)]({'model':_0x5f537c(0xe8),'view':{'classes':[_0x5f537c(0xb3),_0x5f537c(0xe4)],'priority':0xc}}),_0x121bf7[_0x5f537c(0x93)][_0x5f537c(0xd0)](_0x5f537c(0xb5))[_0x5f537c(0xbc)]({'model':_0x5f537c(0xe8),'view':(_0x29b905,{writer:_0xa1f11e,options:_0x5601a0})=>_0x5601a0[_0x5f537c(0xa6)]?_0xa1f11e[_0x5f537c(0xed)](_0x29b905[_0x5f537c(0xa8)]+':'+(_0x29b905[_0x5f537c(0xad)]?_0x5f537c(0xc5):_0x5f537c(0xcd))):null});}[_0x5b33d5(0xcc)](_0x305f65,_0x257019,_0x208ab2=!0x1,_0x560f89=!0x1){const _0x2b8b21=_0x5b33d5;if(this[_0x2b8b21(0xe2)]&&!_0x560f89)return!0x1;const _0x3270b6=_0x4f64c7(this[_0x2b8b21(0x94)])[_0x2b8b21(0xbf)];return _0x3270b6[_0x2b8b21(0xbd)](_0x2cec1d=>{const _0x205886=_0x2b8b21;this[_0x205886(0xd7)]&&this[_0x205886(0x91)](this[_0x205886(0xd7)]),this[_0x205886(0xd7)]=_0x257019,this[_0x205886(0xe2)]=_0x208ab2;let _0x1d3320=0x0;for(let _0x463733 of _0x305f65){const _0x2386c2=_0x205886(0xc2)+_0x1d3320;if(_0x463733[_0x205886(0xc5)][_0x205886(0xb2)]){const _0x3bb01c=_0x463733[_0x205886(0xc5)][_0x205886(0xc1)](({item:_0x178cef})=>!_0x3270b6[_0x205886(0xe5)][_0x205886(0x96)](_0x178cef),{'boundaries':_0x463733});_0x463733=_0x2cec1d[_0x205886(0xcb)](_0x3bb01c,_0x463733[_0x205886(0xcd)]);}_0x2cec1d[_0x205886(0xf9)](_0x2386c2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x463733}),_0x1d3320++;}}),window[_0x2b8b21(0xea)]()?.[_0x2b8b21(0xc9)](),!0x0;}[_0x5b33d5(0x91)](_0x2e0b80){const _0x16f28d=_0x5b33d5;if(this[_0x16f28d(0xd7)]!=_0x2e0b80)return!0x1;this[_0x16f28d(0xd7)]=null,this[_0x16f28d(0xe2)]=!0x1;const _0x29a3f9=_0x4f64c7(this[_0x16f28d(0x94)]),_0xb0cb4a=_0x29a3f9[_0x16f28d(0xbf)][_0x16f28d(0xca)][_0x16f28d(0xb7)](_0x16f28d(0xe8));return _0x29a3f9[_0x16f28d(0xbf)][_0x16f28d(0xbd)](_0x152b58=>{const _0x208737=_0x16f28d;for(const _0x5e2a5c of _0xb0cb4a)_0x152b58[_0x208737(0xfb)](_0x5e2a5c);}),!0x0;}async[_0x5b33d5(0xa4)](_0x303dcc){const _0x1374e1=_0x5b33d5,_0x4c3426=_0x4f64c7(this[_0x1374e1(0x94)]),_0x5b77cc=_0x4c3426[_0x1374e1(0xc0)][_0x1374e1(0xde)](_0x303dcc),_0x3562db=new _0x47f2ed(_0x4c3426[_0x1374e1(0xa0)][_0x1374e1(0xd1)][_0x1374e1(0xaa)]);return this[_0x1374e1(0xdd)](_0x5b77cc,_0x3562db),this[_0x1374e1(0x97)](_0x5b77cc);}[_0x5b33d5(0xdd)](_0x2f5bc9,_0x5403ed){const _0x4c53d0=_0x5b33d5;let _0x39a8f9=!0x1;const _0x466b38=new Set();for(const _0x370664 of _0x2f5bc9[_0x4c53d0(0xeb)]()){const _0x3ac5f2=_0x370664['is'](_0x4c53d0(0xb1))||_0x370664['is'](_0x4c53d0(0xb8));if(!_0x370664['is'](_0x4c53d0(0xf2)))continue;(this[_0x4c53d0(0xdd)](_0x370664,_0x5403ed)||_0x3ac5f2)&&(_0x5403ed[_0x4c53d0(0x90)](_0x4c53d0(0xc7),this[_0x4c53d0(0xf0)](_0x466b38),_0x370664),_0x39a8f9=!0x0);}return _0x39a8f9;}[_0x5b33d5(0xf0)](_0x16da2c){const _0x537804=_0x5b33d5;let _0x54b598;do{_0x54b598='';for(let _0x418b97=0x0;_0x418b97<0x4;_0x418b97++)_0x54b598+=String[_0x537804(0xda)](0x61+Math[_0x537804(0xf7)](0x1a*Math[_0x537804(0x8c)]()));}while(_0x16da2c[_0x537804(0xba)](_0x54b598));return _0x16da2c[_0x537804(0xf5)](_0x54b598),_0x54b598;}[_0x5b33d5(0x8e)](){const _0xfcac97=_0x5b33d5,{model:_0xb74b0b}=_0x4f64c7(this[_0xfcac97(0x94)]),_0x3d6878=_0xb74b0b[_0xfcac97(0xaa)][_0xfcac97(0xaf)],_0x3a6320=[];for(const _0x59c177 of _0x3d6878[_0xfcac97(0xf3)]())for(const _0xb8abaa of _0x59c177[_0xfcac97(0xee)]())_0xb8abaa['is'](_0xfcac97(0x9d))?_0x3a6320[_0xfcac97(0xf4)](_0xb8abaa[_0xfcac97(0xc0)]):_0xb8abaa['is'](_0xfcac97(0xf2))&&_0x3a6320[_0xfcac97(0xfa)]>0x0&&'\x20'!==_0x3a6320[_0x3a6320[_0xfcac97(0xfa)]-0x1]&&_0x3a6320[_0xfcac97(0xf4)]('\x20');return _0x3a6320[_0xfcac97(0xfa)]?'\x22'+_0x3a6320[_0xfcac97(0xa5)]('')[_0xfcac97(0x8d)]()+'\x22':_0x587847(this[_0xfcac97(0x94)][_0xfcac97(0x9a)],_0xfcac97(0xd5));}[_0x5b33d5(0xcf)](){const _0x491b4c=_0x5b33d5,_0x206bd8=_0x4f64c7(this[_0x491b4c(0x94)])[_0x491b4c(0xbf)];return Array[_0x491b4c(0x89)](_0x206bd8[_0x491b4c(0xca)][_0x491b4c(0xb7)](_0x491b4c(0xe8)))[_0x491b4c(0xfc)]((_0x40651a,_0x27195a)=>_0x40651a[_0x491b4c(0xac)]()[_0x491b4c(0xe1)](_0x27195a[_0x491b4c(0xac)]())?-0x1:_0x40651a[_0x491b4c(0xac)]()[_0x491b4c(0xec)](_0x27195a[_0x491b4c(0xac)]())?0x1:0x0);}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x4ae962=_0x3adf;(function(_0x204bcc,_0x11046f){const _0x56805f=_0x3adf,_0x5c2596=_0x204bcc();while(!![]){try{const _0x365491=parseInt(_0x56805f(0xaf))/0x1+parseInt(_0x56805f(0xb9))/0x2+parseInt(_0x56805f(0xb1))/0x3+-parseInt(_0x56805f(0xb2))/0x4*(parseInt(_0x56805f(0xae))/0x5)+parseInt(_0x56805f(0xc0))/0x6*(-parseInt(_0x56805f(0xbc))/0x7)+-parseInt(_0x56805f(0xbb))/0x8+parseInt(_0x56805f(0xb6))/0x9;if(_0x365491===_0x11046f)break;else _0x5c2596['push'](_0x5c2596['shift']());}catch(_0x427e23){_0x5c2596['push'](_0x5c2596['shift']());}}}(_0x27a1,0x6e15b));function _0x3adf(_0x7f0fae,_0x4df57f){const _0x27a12f=_0x27a1();return _0x3adf=function(_0x3adfe6,_0x3d73b2){_0x3adfe6=_0x3adfe6-0xae;let _0x1cdcf8=_0x27a12f[_0x3adfe6];return _0x1cdcf8;},_0x3adf(_0x7f0fae,_0x4df57f);}import{EmitterMixin as _0xf887fc}from'ckeditor5/src/utils.js';function _0x27a1(){const _0x182f20=['18LgbPyj','init','getCapabilitiesConfig','reset','toggleWebSearch','getCapabilitiesRequestData','isWebSearchEnabled','3399445QMLHab','441185ECucKP','fire','198735sOhuiS','4disKaE','capabilitiesUpdated','setReasoning','_isWebSearchEnabled','16106283hqeGcO','isReasoningEnabled','_isReasoningEnabled','361254IIJTss','reasoning','4566056tIOTlv','1810879wlAnin','webSearch','setWebSearch','toggleReasoning'];_0x27a1=function(){return _0x182f20;};return _0x27a1();}export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x4ae962(0xb3)];export class AICapabilities extends _0xf887fc(){[_0x4ae962(0xb5)];[_0x4ae962(0xb8)];constructor(){const _0x36a342=_0x4ae962;super(),this[_0x36a342(0xb5)]=!0x1,this[_0x36a342(0xb8)]=!0x1;}[_0x4ae962(0xc1)](){const _0x4b5857=_0x4ae962;this[_0x4b5857(0xc3)]();}[_0x4ae962(0xc3)](){const _0x571e97=_0x4ae962;this[_0x571e97(0xbe)](!0x1),this[_0x571e97(0xb4)](!0x1);}[_0x4ae962(0xc2)](){const _0xe6b1ff=_0x4ae962;return{'isWebSearchEnabled':this[_0xe6b1ff(0xb5)],'isReasoningEnabled':this[_0xe6b1ff(0xb8)]};}static[_0x4ae962(0xc5)](_0x137ce7){const _0x165c6c=_0x4ae962,_0x44bf18={};return _0x137ce7&&_0x137ce7[_0x165c6c(0xc6)]&&(_0x44bf18[_0x165c6c(0xbd)]={}),_0x137ce7&&_0x137ce7[_0x165c6c(0xb7)]&&(_0x44bf18[_0x165c6c(0xba)]={}),_0x44bf18;}[_0x4ae962(0xc4)](){const _0x4673b8=_0x4ae962;this[_0x4673b8(0xbe)](!this[_0x4673b8(0xb5)]);}[_0x4ae962(0xbf)](){const _0x247899=_0x4ae962;this[_0x247899(0xb4)](!this[_0x247899(0xb8)]);}[_0x4ae962(0xbe)](_0x2d592e){const _0x5ede79=_0x4ae962;_0x2d592e!==this[_0x5ede79(0xb5)]&&(this[_0x5ede79(0xb5)]=_0x2d592e,this[_0x5ede79(0xb0)](_0x5ede79(0xb3),this[_0x5ede79(0xc2)]()));}[_0x4ae962(0xb4)](_0x24019c){const _0x50ba1d=_0x4ae962;_0x24019c!==this[_0x50ba1d(0xb8)]&&(this[_0x50ba1d(0xb8)]=_0x24019c,this[_0x50ba1d(0xb0)](_0x50ba1d(0xb3),this[_0x50ba1d(0xc2)]()));}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
(function(_0x124ba6,_0x2091ed){var _0x54c129=_0x4533,_0x2ad893=_0x124ba6();while(!![]){try{var _0x488be7=parseInt(_0x54c129(0xc4))/0x1*(-parseInt(_0x54c129(0xd1))/0x2)+-parseInt(_0x54c129(0xd7))/0x3+-parseInt(_0x54c129(0xc2))/0x4*(-parseInt(_0x54c129(0xc9))/0x5)+-parseInt(_0x54c129(0xcf))/0x6+-parseInt(_0x54c129(0xd2))/0x7+-parseInt(_0x54c129(0xcb))/0x8+parseInt(_0x54c129(0xca))/0x9;if(_0x488be7===_0x2091ed)break;else _0x2ad893['push'](_0x2ad893['shift']());}catch(_0x317ea8){_0x2ad893['push'](_0x2ad893['shift']());}}}(_0x4114,0xb14bf));export var AIContextItemType;!function(_0x4006af){var _0x9c494f=_0x4533;_0x4006af[_0x9c494f(0xd0)]=_0x9c494f(0xda),_0x4006af[_0x9c494f(0xc8)]=_0x9c494f(0xce),_0x4006af[_0x9c494f(0xc6)]=_0x9c494f(0xc5),_0x4006af[_0x9c494f(0xc3)]=_0x9c494f(0xd6),_0x4006af[_0x9c494f(0xd3)]=_0x9c494f(0xd4),_0x4006af[_0x9c494f(0xc7)]=_0x9c494f(0xcd);}(AIContextItemType||(AIContextItemType={}));function _0x4114(){var _0x5eb5ec=['html','MARKDOWN','mcp-tool-context','33484maGQAL','URL','6846HmQucV','document','DOCUMENT','SELECTION','FILE','165JXTHYn','45178740pLztkU','5035296rGEPGB','markdown','selection','file','7649814auoRDc','TOOL','202ssuZCw','9423834ZlRkdm','TEXT','text','HTML','web-resource','1883421GGRTju'];_0x4114=function(){return _0x5eb5ec;};return _0x4114();}function _0x4533(_0x42f267,_0x3a798d){var _0x4114b1=_0x4114();return _0x4533=function(_0x4533ee,_0x583c1f){_0x4533ee=_0x4533ee-0xc2;var _0x913994=_0x4114b1[_0x4533ee];return _0x913994;},_0x4533(_0x42f267,_0x3a798d);}export var AIContextTextResourceType;!function(_0x3d2d6f){var _0x99051d=_0x4533;_0x3d2d6f[_0x99051d(0xd3)]=_0x99051d(0xd4),_0x3d2d6f[_0x99051d(0xd9)]=_0x99051d(0xcc),_0x3d2d6f[_0x99051d(0xd5)]=_0x99051d(0xd8);}(AIContextTextResourceType||(AIContextTextResourceType={}));
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x36f3(_0x2b047b,_0x53d112){const _0xd8656d=_0xd865();return _0x36f3=function(_0x36f388,_0x5dba6a){_0x36f388=_0x36f388-0xd2;let _0x375d86=_0xd8656d[_0x36f388];return _0x375d86;},_0x36f3(_0x2b047b,_0x53d112);}const _0x4345df=_0x36f3;(function(_0x1a8f98,_0x3aef2d){const _0x87518b=_0x36f3,_0x1ca895=_0x1a8f98();while(!![]){try{const _0x3ff821=parseInt(_0x87518b(0xee))/0x1*(-parseInt(_0x87518b(0xd4))/0x2)+parseInt(_0x87518b(0xe5))/0x3*(-parseInt(_0x87518b(0xea))/0x4)+-parseInt(_0x87518b(0x113))/0x5+parseInt(_0x87518b(0xe4))/0x6*(parseInt(_0x87518b(0x10a))/0x7)+-parseInt(_0x87518b(0xf2))/0x8*(parseInt(_0x87518b(0xdb))/0x9)+-parseInt(_0x87518b(0x120))/0xa+parseInt(_0x87518b(0xda))/0xb*(parseInt(_0x87518b(0x123))/0xc);if(_0x3ff821===_0x3aef2d)break;else _0x1ca895['push'](_0x1ca895['shift']());}catch(_0x40360d){_0x1ca895['push'](_0x1ca895['shift']());}}}(_0xd865,0xa0bd6));function _0xd865(){const _0x2a164f=['replies','callId','start','mcp-tool-notification','actionCallId','setConversationTitle','379560vLjCjj','reasoningStarted','reasoningFinished','replyCreated','toolName','webSearchFinished','_handleToolNotificationData','resetWebSearchState','action-metadata','interactionFinished','fire','ai-chat-interaction-error','result','2312100mTjIyO','notification','connector','216OjusDs','forEach','toolDataReceived','isDestroyed','_handleToolResultData','replyChangeGroupStateUpdated','splice','interactionStarted','sendRequest','stopListening','14fJhWAw','text','getDocumentContext','modification','sources','done','1746063aDVGsw','144qgLYnz','text-delta','abort','_isWebSearching','_isReasoning','source','interactionDestroyed','content','interactionStopped','78hrmnKt','3201SxBsSv','appendContent','currentReply','messageId','delegate','3596sjCUin','abortController','type','editor','94695hwwnZJ','currentRequest','getReply','find','640336kGlqGD','interactionCreated','isStopped','attributes','modification-delta','mcp-tool-result','reasoning','conversation-title','stop','conversationTitle','textDelta','push','message-metadata','createReply','getStream','resetReasoningState','parse','event','web-search','webSearchStarted','replyContentUpdated','destroy','data','length','544432NGRHzT','_finalizeInteraction','error'];_0xd865=function(){return _0x2a164f;};return _0xd865();}import{CKEditorError as _0x2a88d8,EmitterMixin as _0x5f27e6,uid as _0x5d435e}from'ckeditor5/src/utils.js';import{AIReply as _0x51e744}from'./aireply.js';export const AI_MODEL_EVENT_NAMES=[_0x4345df(0xf3),_0x4345df(0x12a),_0x4345df(0xe3),_0x4345df(0x11c),_0x4345df(0xe1),_0x4345df(0x116),_0x4345df(0x106),_0x4345df(0x128),_0x4345df(0x112),_0x4345df(0x105),_0x4345df(0x118),_0x4345df(0x114),_0x4345df(0x115),_0x4345df(0x125),_0x4345df(0x10c)];export class AIInteraction extends _0x5f27e6(){['id'];[_0x4345df(0x10d)]=[];[_0x4345df(0xe7)];[_0x4345df(0xe8)];[_0x4345df(0x111)];[_0x4345df(0xef)];[_0x4345df(0x122)];[_0x4345df(0xf4)]=!0x1;[_0x4345df(0x126)]=!0x1;[_0x4345df(0xed)];[_0x4345df(0xdf)]=!0x1;[_0x4345df(0xde)]=!0x1;constructor({connector:_0x396be9,editor:_0x4ec04b}){const _0x29a1d4=_0x4345df;super(),this['id']=_0x5d435e(),this[_0x29a1d4(0x122)]=_0x396be9,this[_0x29a1d4(0xf4)]=!0x0,this[_0x29a1d4(0xed)]=_0x4ec04b;}async[_0x4345df(0x10f)](){const _0x177870=_0x4345df,_0x513b27=[];let _0x346459,_0x44628c,_0x13978f;this[_0x177870(0xf4)]=!0x1;try{this[_0x177870(0xef)]=await this[_0x177870(0xd2)](),this[_0x177870(0x11d)](_0x177870(0x12a),this);const _0x1375f4=await this[_0x177870(0xef)][_0x177870(0x100)]();for await(const _0x4fc77c of _0x1375f4){if(this[_0x177870(0xf4)])return;if(_0x177870(0x10c)==_0x4fc77c[_0x177870(0x103)])return void this[_0x177870(0x11d)](_0x177870(0x10c),{'error':new _0x2a88d8(_0x177870(0x11e),this)});switch(_0x4fc77c[_0x177870(0x103)]){case _0x177870(0xfe):this[_0x177870(0xe8)]=_0x4fc77c[_0x177870(0x108)][_0x177870(0xe8)];break;case _0x177870(0x11b):this[_0x177870(0x111)]=_0x4fc77c[_0x177870(0x108)][_0x177870(0x10e)];break;case _0x177870(0xf9):this[_0x177870(0x112)](_0x4fc77c[_0x177870(0x108)][_0x177870(0xfb)],!0x0);break;case _0x177870(0xe0):_0x513b27[_0x177870(0xfd)](_0x4fc77c[_0x177870(0x108)][_0x177870(0xe0)]);break;case _0x177870(0x104):this[_0x177870(0xde)]||(this[_0x177870(0xde)]=!0x0,this[_0x177870(0x11d)](_0x177870(0x105),this));break;case _0x177870(0xf8):this[_0x177870(0xdf)]||(this[_0x177870(0xdf)]=!0x0,this[_0x177870(0x11d)](_0x177870(0x114),this));break;case _0x177870(0xf6):case _0x177870(0xdc):this[_0x177870(0x101)](),this[_0x177870(0x11a)](),_0x346459=_0x177870(0xf6)==_0x4fc77c[_0x177870(0x103)]?_0x177870(0xd7):_0x177870(0xd5),_0x44628c=_0x177870(0xf6)==_0x4fc77c[_0x177870(0x103)]?_0x4fc77c[_0x177870(0x108)]['id']:void 0x0,this[_0x177870(0xe7)]&&this[_0x177870(0xe7)][_0x177870(0xec)]!=_0x346459&&(this[_0x177870(0xe7)][_0x177870(0xd9)](),this[_0x177870(0xe7)]=void 0x0),this[_0x177870(0xe7)]||(this[_0x177870(0xe7)]=this[_0x177870(0xff)]({'type':_0x346459,'interactionId':this['id'],'id':_0x44628c}),_0x177870(0xd7)==_0x346459&&(this[_0x177870(0xe7)][_0x177870(0xd8)]=_0x513b27[_0x177870(0x129)](0x0))),this[_0x177870(0xe7)][_0x177870(0xe6)](_0x4fc77c[_0x177870(0x108)][_0x177870(0xfc)]);break;case _0x177870(0xf7):_0x13978f=JSON[_0x177870(0x102)](_0x4fc77c[_0x177870(0x108)][_0x177870(0x11f)]),this[_0x177870(0x127)]({'toolName':_0x4fc77c[_0x177870(0x108)][_0x177870(0x117)],'data':_0x13978f[_0x177870(0x108)],'attributes':_0x13978f[_0x177870(0xf5)]});break;case _0x177870(0x110):this[_0x177870(0x119)]({'toolName':_0x4fc77c[_0x177870(0x108)][_0x177870(0x117)],'data':_0x4fc77c[_0x177870(0x108)][_0x177870(0x108)]});}}}finally{this[_0x177870(0xf4)]||(this[_0x177870(0xe7)]&&_0x513b27[_0x177870(0x109)]>0x0&&(this[_0x177870(0xe7)][_0x177870(0xd8)]=_0x513b27[_0x177870(0x129)](0x0)),this[_0x177870(0x10b)](),this[_0x177870(0x11d)](_0x177870(0x11c),this));}}[_0x4345df(0xfa)](){const _0x3c6484=_0x4345df;this[_0x3c6484(0xf4)]||(this[_0x3c6484(0x10b)](),this[_0x3c6484(0x11d)](_0x3c6484(0xe3),this));}[_0x4345df(0xf0)](_0x22c839){const _0x12bdc6=_0x4345df;return this[_0x12bdc6(0x10d)][_0x12bdc6(0xf1)](_0x254164=>_0x254164['id']===_0x22c839);}[_0x4345df(0x107)](){const _0x317047=_0x4345df;this[_0x317047(0x126)]||(this[_0x317047(0xfa)](),this[_0x317047(0x10d)][_0x317047(0x124)](_0x1dc8d5=>_0x1dc8d5[_0x317047(0x107)]()),this[_0x317047(0x10d)]=[],this[_0x317047(0x126)]=!0x0,this[_0x317047(0x11d)](_0x317047(0xe1),this),this[_0x317047(0xd3)]());}[_0x4345df(0xff)](_0x295398){const _0x3baaba=_0x4345df,_0x58b8c0=new _0x51e744({'editor':this[_0x3baaba(0xed)],'documentContextContent':this[_0x3baaba(0xd6)]()?.[_0x3baaba(0xe2)],..._0x295398});return this[_0x3baaba(0x10d)][_0x3baaba(0xfd)](_0x58b8c0),_0x58b8c0[_0x3baaba(0xe9)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x3baaba(0x11d)](_0x3baaba(0x116),_0x58b8c0),_0x58b8c0;}[_0x4345df(0x112)](_0x50a3aa,_0x14837a=!0x1){const _0x343637=_0x4345df;this[_0x343637(0x11d)](_0x343637(0x112),_0x50a3aa,_0x14837a);}[_0x4345df(0x11a)](){const _0x48d2b1=_0x4345df;this[_0x48d2b1(0xde)]&&(this[_0x48d2b1(0xde)]=!0x1,this[_0x48d2b1(0x11d)](_0x48d2b1(0x118),this));}[_0x4345df(0x101)](){const _0x5b095a=_0x4345df;this[_0x5b095a(0xdf)]&&(this[_0x5b095a(0xdf)]=!0x1,this[_0x5b095a(0x11d)](_0x5b095a(0x115),this));}[_0x4345df(0x127)](_0x2bdddc){const _0x2a4c00=_0x4345df;this[_0x2a4c00(0x11d)](_0x2a4c00(0x125),{'type':_0x2a4c00(0x11f),'toolName':_0x2bdddc[_0x2a4c00(0x117)],'data':structuredClone(_0x2bdddc[_0x2a4c00(0x108)]||{}),'attributes':structuredClone(_0x2bdddc[_0x2a4c00(0xf5)]||{})},this);}[_0x4345df(0x119)](_0x246b4b){const _0x4c4cdd=_0x4345df;this[_0x4c4cdd(0x11d)](_0x4c4cdd(0x125),{'type':_0x4c4cdd(0x121),'toolName':_0x246b4b[_0x4c4cdd(0x117)],'data':structuredClone(_0x246b4b[_0x4c4cdd(0x108)])},this);}[_0x4345df(0x10b)](){const _0x313df7=_0x4345df;this[_0x313df7(0xf4)]=!0x0,this[_0x313df7(0xef)]&&this[_0x313df7(0xef)][_0x313df7(0xeb)][_0x313df7(0xdd)](),this[_0x313df7(0xe7)]&&this[_0x313df7(0xe7)][_0x313df7(0xd9)](),this[_0x313df7(0xef)]=this[_0x313df7(0xe7)]=void 0x0;}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x2b72e0=_0x2574;(function(_0x2021c1,_0x8a0e79){const _0x595637=_0x2574,_0x5d43da=_0x2021c1();while(!![]){try{const _0x136977=-parseInt(_0x595637(0x184))/0x1+parseInt(_0x595637(0x199))/0x2*(parseInt(_0x595637(0x195))/0x3)+-parseInt(_0x595637(0x190))/0x4*(parseInt(_0x595637(0x1b0))/0x5)+-parseInt(_0x595637(0x185))/0x6*(-parseInt(_0x595637(0x1a1))/0x7)+-parseInt(_0x595637(0x1b2))/0x8*(-parseInt(_0x595637(0x193))/0x9)+-parseInt(_0x595637(0x1a0))/0xa+-parseInt(_0x595637(0x1af))/0xb;if(_0x136977===_0x8a0e79)break;else _0x5d43da['push'](_0x5d43da['shift']());}catch(_0x226f29){_0x5d43da['push'](_0x5d43da['shift']());}}}(_0x3612,0xd0324));import{EmitterMixin as _0xcb3d0,logWarning as _0x16414b,logError as _0x1bca1b}from'ckeditor5/src/utils.js';import{getTranslation as _0x44117d}from'../utils/common-translations.js';function _0x3612(){const _0x10cdd6=['auto','items','ai-chat-default-model-id-unrecognized','defaultModelId','_getModelById','length','add','_filterModels','filter','33268mTyEKm','getModel','AI_MODEL_NAME_AUTO','9350478LmFvNV','_retrieveModels','8493pqspgG','string','displayedModels','uiLanguage','140OrBHoO','startsWith','getModels','has','list','map','toLocaleLowerCase','2504550wqWPsy','2853991sVfwnZ','isAvailable','_isMatchingFilter','_modelList','ai-chat-model-id-unrecognized','name','_locale','getDefault','push','ai-models-unable-to-retrieve','getAvailableModels','_connector','some','_defaultModelId','1354551aUYXoP','485PuQcJx','_availableModels','8HHryzf','_config','recommended','_modelsRequest','provider','agent','find','427134qKgKBq','18nJgDEJ','getAll'];_0x3612=function(){return _0x10cdd6;};return _0x3612();}function _0x2574(_0x3ac440,_0xfedd55){const _0x361227=_0x3612();return _0x2574=function(_0x2574b8,_0x331e56){_0x2574b8=_0x2574b8-0x180;let _0x153cbd=_0x361227[_0x2574b8];return _0x153cbd;},_0x2574(_0x3ac440,_0xfedd55);}export class AIModels extends _0xcb3d0(){[_0x2b72e0(0x1ac)];[_0x2b72e0(0x1b3)];[_0x2b72e0(0x1a7)];[_0x2b72e0(0x1a4)]=[];[_0x2b72e0(0x180)]=null;constructor({connector:_0x1ab242,config:_0x556d9f,locale:_0x4c8062}){const _0x1eee10=_0x2b72e0;super(),this[_0x1eee10(0x1ac)]=_0x1ab242,this[_0x1eee10(0x1b3)]=_0x556d9f,this[_0x1eee10(0x1a7)]=_0x4c8062;}get[_0x2b72e0(0x1b1)](){const _0x4db318=_0x2b72e0;return this[_0x4db318(0x1b3)]?.[_0x4db318(0x197)];}get[_0x2b72e0(0x1ae)](){const _0x5135b7=_0x2b72e0;return this[_0x5135b7(0x1b3)]?.[_0x5135b7(0x18a)];}async[_0x2b72e0(0x186)](){const _0x4bc7ad=_0x2b72e0;return this[_0x4bc7ad(0x180)]||(this[_0x4bc7ad(0x180)]=this[_0x4bc7ad(0x194)]()),this[_0x4bc7ad(0x180)];}async[_0x2b72e0(0x1ab)](){const _0x117349=_0x2b72e0,_0x215e26=await this[_0x117349(0x186)]();let _0x1a3fcb;return _0x1a3fcb=this[_0x117349(0x1b1)]?this[_0x117349(0x18e)](_0x215e26,this[_0x117349(0x1b1)]):_0x215e26[_0x117349(0x18f)](_0x26d4b7=>_0x26d4b7[_0x117349(0x1b4)]),_0x1a3fcb;}async[_0x2b72e0(0x191)](_0x1c6f36){const _0x144264=_0x2b72e0,_0x458ccf=await this[_0x144264(0x186)]();if(!_0x458ccf[_0x144264(0x18c)])return null;if(_0x1c6f36){const _0x368cfb=this[_0x144264(0x18b)](_0x458ccf,_0x1c6f36);if(_0x368cfb)return _0x368cfb;_0x16414b(_0x144264(0x1a5),{'modelId':_0x1c6f36,'fallBackModelId':this[_0x144264(0x1ae)]});}return this[_0x144264(0x1a8)]();}async[_0x2b72e0(0x1a8)](){const _0x3f2e95=_0x2b72e0,_0x4130d1=await this[_0x3f2e95(0x1ab)]();if(!_0x4130d1[_0x3f2e95(0x18c)])return null;if(this[_0x3f2e95(0x1ae)]){const _0x52b3e8=this[_0x3f2e95(0x18b)](_0x4130d1,this[_0x3f2e95(0x1ae)]);if(_0x52b3e8)return _0x52b3e8;_0x16414b(_0x3f2e95(0x189),{'defaultModelId':this[_0x3f2e95(0x1ae)],'fallBackModelId':_0x4130d1[0x0]['id']});}return _0x4130d1[0x0];}async[_0x2b72e0(0x1a2)](_0x13c909){const _0x12ec6a=_0x2b72e0;return(await this[_0x12ec6a(0x1ab)]())[_0x12ec6a(0x1ad)](_0x3daeab=>_0x3daeab[_0x12ec6a(0x1a6)]===_0x13c909[_0x12ec6a(0x1a6)]&&_0x3daeab[_0x12ec6a(0x181)]===_0x13c909[_0x12ec6a(0x181)]);}async[_0x2b72e0(0x194)](){const _0x356731=_0x2b72e0;if(!this[_0x356731(0x1a4)][_0x356731(0x18c)])try{const _0x20a75b=this[_0x356731(0x1a7)][_0x356731(0x198)]||'en',_0x3511e8=this[_0x356731(0x1ac)][_0x356731(0x19b)](_0x20a75b),_0x1e07ad=await _0x3511e8[_0x356731(0x19d)]();this[_0x356731(0x1a4)]=_0x1e07ad[_0x356731(0x188)][_0x356731(0x19e)](_0x6e391e=>ze(_0x6e391e)?{..._0x6e391e,'name':_0x44117d(this[_0x356731(0x1a7)],_0x356731(0x192))}:_0x6e391e);}catch(_0x3faecf){throw _0x1bca1b(_0x356731(0x1aa),{'error':_0x3faecf}),_0x3faecf;}return[...this[_0x356731(0x1a4)]];}[_0x2b72e0(0x18e)](_0x2db714,_0x24f7e9){const _0x4634a3=_0x2b72e0;let _0xd6f7c0;if(_0x24f7e9){_0xd6f7c0=[];const _0x26b0ac=new Set(),_0x291c10=_0x4634a3(0x196)==typeof _0x24f7e9?[_0x24f7e9[_0x4634a3(0x19f)]()]:_0x24f7e9[_0x4634a3(0x19e)](_0x40e5b4=>_0x40e5b4[_0x4634a3(0x19f)]());for(const _0x3bce35 of _0x291c10)for(const _0xd40b4b of _0x2db714)!_0x26b0ac[_0x4634a3(0x19c)](_0xd40b4b['id'])&&this[_0x4634a3(0x1a3)](_0xd40b4b,_0x3bce35)&&(_0xd6f7c0[_0x4634a3(0x1a9)](_0xd40b4b),_0x26b0ac[_0x4634a3(0x18d)](_0xd40b4b['id']));}else _0xd6f7c0=_0x2db714;return _0xd6f7c0;}[_0x2b72e0(0x1a3)](_0x3561d7,_0x1ca9e4){const _0x295a6e=_0x2b72e0,_0x2b43d4=_0x3561d7['id'][_0x295a6e(0x19f)](),_0x7391c7=_0x3561d7[_0x295a6e(0x1a6)][_0x295a6e(0x19f)](),_0xb25897=_0x3561d7[_0x295a6e(0x181)][_0x295a6e(0x19f)]();return _0x2b43d4===_0x1ca9e4||_0x7391c7===_0x1ca9e4||ze(_0x3561d7)&&_0x295a6e(0x187)===_0x1ca9e4||_0xb25897===_0x1ca9e4||_0x2b43d4[_0x295a6e(0x19a)](_0x1ca9e4);}[_0x2b72e0(0x18b)](_0x180ea2,_0x5f0c9d){const _0x1c9d22=_0x2b72e0;return _0x180ea2[_0x1c9d22(0x183)](_0x4153c6=>ze(_0x4153c6)&&_0x1c9d22(0x187)===_0x5f0c9d?_0x4153c6:_0x4153c6['id']===_0x5f0c9d)||null;}}function ze(_0x44be86){const _0xf4f0cb=_0x2b72e0;return _0x44be86['id'][_0xf4f0cb(0x19a)](_0xf4f0cb(0x182));}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x49d78a=_0x4dfb;function _0x4dfb(_0x2bc9e1,_0x3e46cb){const _0x3d2c9f=_0x3d2c();return _0x4dfb=function(_0x4dfb00,_0x38fc5f){_0x4dfb00=_0x4dfb00-0x1e5;let _0x16e028=_0x3d2c9f[_0x4dfb00];return _0x16e028;},_0x4dfb(_0x2bc9e1,_0x3e46cb);}(function(_0x39750a,_0x47a01e){const _0x58d2b3=_0x4dfb,_0x5a5e8d=_0x39750a();while(!![]){try{const _0x2a358e=parseInt(_0x58d2b3(0x234))/0x1*(parseInt(_0x58d2b3(0x225))/0x2)+parseInt(_0x58d2b3(0x224))/0x3+-parseInt(_0x58d2b3(0x208))/0x4+-parseInt(_0x58d2b3(0x1e6))/0x5*(-parseInt(_0x58d2b3(0x213))/0x6)+parseInt(_0x58d2b3(0x1f9))/0x7*(-parseInt(_0x58d2b3(0x1f7))/0x8)+-parseInt(_0x58d2b3(0x203))/0x9*(parseInt(_0x58d2b3(0x21e))/0xa)+parseInt(_0x58d2b3(0x1e9))/0xb;if(_0x2a358e===_0x47a01e)break;else _0x5a5e8d['push'](_0x5a5e8d['shift']());}catch(_0x252085){_0x5a5e8d['push'](_0x5a5e8d['shift']());}}}(_0x3d2c,0x72fe1));import{CKEditorError as _0x3195d3,ObservableMixin as _0x58cad9,uid as _0x36c775}from'ckeditor5/src/utils.js';import{Element as _0x395757,findAll as _0xdc7c2e,getAttribute as _0x58664d,getParents as _0x585239,Document as _0x5a2250,parse as _0x3b0df1,Text as _0x2b474c}from'../utils/htmlparser.js';import{AIResponseParser as _0x10aeea}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x4531d8}from'../pipeline/airesponseapplier.js';import{getSuggestionPartsFromReply as _0x1fc053}from'../utils/getsuggestionpartsfromreply.js';import{getTranslation as _0x3f3c72}from'../utils/common-translations.js';import{cloneDeep as _0x1d8426}from'es-toolkit';export class AIReply extends _0x58cad9(){['id'];[_0x49d78a(0x210)];[_0x49d78a(0x21f)];[_0x49d78a(0x1ea)]=[];[_0x49d78a(0x217)]=new _0x5a2250([]);[_0x49d78a(0x215)]=new _0x5a2250([]);[_0x49d78a(0x22b)]=[];[_0x49d78a(0x20c)]=!0x1;[_0x49d78a(0x209)];[_0x49d78a(0x235)];[_0x49d78a(0x233)];[_0x49d78a(0x219)];[_0x49d78a(0x1e7)]={'withDiff':[],'withoutDiff':[]};constructor({type:_0xf93d4d,content:_0x110f56='',isDone:_0x4205f0=!0x1,interactionId:_0x51c314,areActionsDisabled:_0x5a69c8,documentContextContent:_0x5bd979,editor:_0x331353,id:_0x4ea223}){const _0x26325f=_0x49d78a;super(),this['id']=_0x4ea223||_0x36c775(),this[_0x26325f(0x210)]=_0x51c314,this[_0x26325f(0x21f)]=_0xf93d4d,this[_0x26325f(0x20c)]=!!_0x5a69c8,this[_0x26325f(0x219)]=_0x331353,this[_0x26325f(0x235)]=new _0x10aeea(),this[_0x26325f(0x233)]=new _0x4531d8(),this[_0x26325f(0x209)]=_0x3b0df1(_0x5bd979||''),this[_0x26325f(0x200)](_0x26325f(0x228),_0x4205f0),this['on'](_0x26325f(0x1f4),()=>{const _0x15b736=_0x26325f;this[_0x15b736(0x211)]();}),this[_0x26325f(0x200)](_0x26325f(0x1ec),_0x110f56);}[_0x49d78a(0x1ef)](_0xb9fd01){const _0x4c2d10=_0x49d78a;this[_0x4c2d10(0x200)](_0x4c2d10(0x1ec),this[_0x4c2d10(0x1ec)]+_0xb9fd01);}[_0x49d78a(0x20f)](){const _0x2fdf69=_0x49d78a;this[_0x2fdf69(0x228)]||(this[_0x2fdf69(0x200)](_0x2fdf69(0x228),!0x0),this[_0x2fdf69(0x211)]());}[_0x49d78a(0x22d)](){const _0x4c0be1=_0x49d78a;this[_0x4c0be1(0x22a)]();}[_0x49d78a(0x1e5)](_0x54724b,_0x21be95){const _0x317a2d=_0x49d78a;this[_0x317a2d(0x22b)][_0x54724b][_0x317a2d(0x1eb)]=_0x21be95,this[_0x317a2d(0x1fd)](_0x317a2d(0x1fb),{'reply':this,'index':_0x54724b,'state':_0x21be95});}[_0x49d78a(0x229)]({showDiff:_0x26f075,groupIndex:_0x5bfd63}){const _0x4f775d=_0x49d78a;if(!this[_0x4f775d(0x219)])throw new _0x3195d3(_0x4f775d(0x1fc),null,{'aiReply':this});const _0x44cb14=this[_0x4f775d(0x227)](_0x26f075,_0x5bfd63);if(_0x44cb14)return _0x44cb14;let _0x32fe02=[];if(void 0x0===_0x5bfd63)_0x32fe02=this[_0x4f775d(0x22b)];else{const _0x536347=this[_0x4f775d(0x22b)][_0x4f775d(0x1ee)](({index:_0x468591})=>_0x468591===_0x5bfd63);if(!_0x536347)throw new _0x3195d3(_0x4f775d(0x223),null,{'aiReply':this,'groupIndex':_0x5bfd63});_0x32fe02=[_0x536347];}const _0x7a9b15=_0x1fc053({'editor':this[_0x4f775d(0x219)],'showDiff':_0x26f075,'changeGroups':_0x32fe02,'documentContextContent':this[_0x4f775d(0x209)]});return this[_0x4f775d(0x20e)](_0x26f075,_0x7a9b15),_0x7a9b15;}[_0x49d78a(0x227)](_0x2bee16,_0x257f81){const _0x52d575=_0x49d78a,_0x4f752b=_0x2bee16?_0x52d575(0x21d):_0x52d575(0x222);if(!this[_0x52d575(0x1e7)][_0x4f752b][_0x52d575(0x22f)])return null;const _0x2dee5e=this[_0x52d575(0x1e7)][_0x4f752b];if(void 0x0===_0x257f81)return _0x2dee5e[_0x52d575(0x22f)]>0x0&&_0x2dee5e[_0x52d575(0x22f)]!==this[_0x52d575(0x22b)][_0x52d575(0x22f)]?(this[_0x52d575(0x20e)](_0x2bee16,null),null):_0x1d8426(_0x2dee5e);{const _0x55289e=_0x2dee5e[_0x52d575(0x1ee)](({index:_0x4aa0d0})=>_0x4aa0d0===_0x257f81);if(_0x55289e)return[_0x1d8426(_0x55289e)];}return null;}[_0x49d78a(0x20e)](_0x561a71,_0x37bd97){const _0x1b3e47=_0x49d78a,_0x581a45=_0x561a71?_0x1b3e47(0x21d):_0x1b3e47(0x222);_0x37bd97?_0x37bd97[_0x1b3e47(0x1f0)](_0x59893e=>{const _0x572a9f=_0x1b3e47,_0x2d1e5c=this[_0x572a9f(0x1e7)][_0x581a45],_0x4dfc2f=_0x2d1e5c[_0x572a9f(0x1ee)](({index:_0x360e3b})=>_0x360e3b===_0x59893e[_0x572a9f(0x218)]);if(_0x4dfc2f){const _0x21d6b3=_0x2d1e5c[_0x572a9f(0x21b)](_0x4dfc2f);_0x2d1e5c[_0x572a9f(0x1f2)](_0x21d6b3,0x1,_0x59893e);}else _0x2d1e5c[_0x572a9f(0x212)](_0x59893e);}):this[_0x1b3e47(0x1e7)][_0x581a45][_0x1b3e47(0x22f)]=0x0;}[_0x49d78a(0x211)](){const _0x19ed5d=_0x49d78a;if(_0x19ed5d(0x221)===this[_0x19ed5d(0x21f)]){this[_0x19ed5d(0x217)]=this[_0x19ed5d(0x235)][_0x19ed5d(0x1ff)](this[_0x19ed5d(0x1ec)]);const _0x3878fe=this[_0x19ed5d(0x22b)];this[_0x19ed5d(0x20d)]();const _0x473951=this[_0x19ed5d(0x204)](_0x3878fe,this[_0x19ed5d(0x22b)]);(_0x473951[_0x19ed5d(0x22f)]||this[_0x19ed5d(0x228)])&&(this[_0x19ed5d(0x1fd)](_0x19ed5d(0x220),this,_0x473951),this[_0x19ed5d(0x1e7)][_0x19ed5d(0x21d)][_0x19ed5d(0x22f)]=this[_0x19ed5d(0x1e7)][_0x19ed5d(0x222)][_0x19ed5d(0x22f)]=0x0);}else this[_0x19ed5d(0x217)]=this[_0x19ed5d(0x235)][_0x19ed5d(0x205)](this[_0x19ed5d(0x1ec)]),this[_0x19ed5d(0x1fd)](_0x19ed5d(0x220),this);}[_0x49d78a(0x204)](_0x5b4a50,_0x415311){const _0x52d323=_0x49d78a,_0x30d8a3=[];for(const _0x1b4377 of _0x415311){const _0x5536d1=_0x5b4a50[_0x1b4377[_0x52d323(0x218)]];_0x5536d1?_0x5536d1[_0x52d323(0x226)][_0x52d323(0x22f)]!==_0x1b4377[_0x52d323(0x226)][_0x52d323(0x22f)]?_0x30d8a3[_0x52d323(0x212)](_0x1b4377):_0x5536d1[_0x52d323(0x226)][_0x52d323(0x1f0)]((_0xf73e55,_0x46cdc4)=>{const _0x1e3170=_0x52d323,_0x3b1b01=_0x1b4377[_0x1e3170(0x226)][_0x46cdc4];_0xf73e55['id']!==_0x3b1b01['id']&&_0x30d8a3[_0x1e3170(0x212)](_0x1b4377);}):_0x30d8a3[_0x52d323(0x212)](_0x1b4377);}return _0x30d8a3;}[_0x49d78a(0x20d)](){const _0x3f6d62=_0x49d78a,_0x516e4c=new _0x395757('p',{},[new _0x395757(_0x3f6d62(0x21a),{'style':_0x3f6d62(0x22e)},[new _0x2b474c(_0x3f3c72(this[_0x3f6d62(0x219)][_0x3f6d62(0x1e8)],_0x3f6d62(0x1f5)))])]),_0x25db5a=this[_0x3f6d62(0x233)][_0x3f6d62(0x1f6)](this[_0x3f6d62(0x217)],this[_0x3f6d62(0x209)][_0x3f6d62(0x206)](!0x0),{'markUnstableElements':!this[_0x3f6d62(0x228)],'replaceRemovedWith':_0x516e4c,'cutAfterLastChange':!this[_0x3f6d62(0x228)]});if(!_0x25db5a[_0x3f6d62(0x216)][_0x3f6d62(0x22f)]&&!this[_0x3f6d62(0x228)])return;this[_0x3f6d62(0x215)]=_0x25db5a[_0x3f6d62(0x217)];let _0x19658c=[];if(_0xdc7c2e(_0x63b07a=>{const _0x37ba10=_0x3f6d62,_0x5e00bb=_0x58664d(_0x63b07a,_0x37ba10(0x1fe));if(!_0x5e00bb||!_0x51f5fd(_0x5e00bb))return!0x1;const _0x240410=[_0x63b07a,..._0x585239(_0x63b07a)]['at'](-0x2);if(_0x63b07a!=_0x240410){const _0x5eabc4=_0x58664d(_0x240410,_0x37ba10(0x1fe));_0x51f5fd(_0x5eabc4)||(_0x19658c[_0x37ba10(0x212)]({'node':_0x240410,'id':_0x5eabc4,'type':_0x37ba10(0x230)}),_0x25db5a[_0x37ba10(0x216)][_0x37ba10(0x212)](_0x5eabc4));}else _0x25db5a[_0x37ba10(0x216)][_0x37ba10(0x1fa)](_0x5e00bb)?_0x19658c[_0x37ba10(0x212)]({'node':_0x63b07a,'type':_0x37ba10(0x230),'id':_0x5e00bb}):_0x25db5a[_0x37ba10(0x214)][_0x37ba10(0x1fa)](_0x5e00bb)?_0x19658c[_0x37ba10(0x212)]({'node':_0x63b07a,'type':_0x37ba10(0x207),'id':_0x5e00bb,'anchorId':_0x58664d(_0x63b07a[_0x37ba10(0x1f8)],_0x37ba10(0x1fe))}):_0x19658c[_0x37ba10(0x212)]({'node':_0x63b07a,'type':_0x37ba10(0x201),'id':_0x5e00bb});return!0x0;},this[_0x3f6d62(0x215)]),_0x19658c=_0x19658c[_0x3f6d62(0x232)](({node:_0x29c9f4})=>[..._0x585239(_0x29c9f4),_0x29c9f4][_0x3f6d62(0x22c)](_0x3a7fcd=>!_0x58664d(_0x3a7fcd,_0x3f6d62(0x21c)))),0x0==_0x19658c[_0x3f6d62(0x22f)])return;const _0x32f43a=[[_0x19658c[0x0]]];for(let _0xa21acf=0x1;_0xa21acf<_0x19658c[_0x3f6d62(0x22f)];_0xa21acf++){const _0x129611=_0x32f43a[_0x32f43a[_0x3f6d62(0x22f)]-0x1],_0x32ef8a=_0x129611[_0x129611[_0x3f6d62(0x22f)]-0x1];_0x19658c[_0xa21acf][_0x3f6d62(0x231)][_0x3f6d62(0x1f8)]==_0x32ef8a[_0x3f6d62(0x231)]&&_0x3f6d62(0x230)!=_0x19658c[_0xa21acf][_0x3f6d62(0x21f)]&&_0x3f6d62(0x230)!=_0x32ef8a[_0x3f6d62(0x21f)]?_0x129611[_0x3f6d62(0x212)](_0x19658c[_0xa21acf]):_0x32f43a[_0x3f6d62(0x212)]([_0x19658c[_0xa21acf]]);}for(const _0x515fba of _0x32f43a){const _0x1203fe=_0x515fba[0x0],_0x21ef57=_0x515fba[_0x515fba[_0x3f6d62(0x22f)]-0x1],_0x3ecf96=_0x104373(_0x1203fe[_0x3f6d62(0x231)][_0x3f6d62(0x1f8)]);_0x3ecf96&&_0x515fba[_0x3f6d62(0x20b)](_0x3ecf96);const _0x3f7661=_0x104373(_0x21ef57[_0x3f6d62(0x231)][_0x3f6d62(0x1ed)]);_0x3f7661&&_0x515fba[_0x3f6d62(0x212)](_0x3f7661);}function _0x51f5fd(_0x486158){const _0x2c8c0a=_0x3f6d62;return _0x25db5a[_0x2c8c0a(0x216)][_0x2c8c0a(0x1fa)](_0x486158)||_0x25db5a[_0x2c8c0a(0x214)][_0x2c8c0a(0x1fa)](_0x486158)||_0x25db5a[_0x2c8c0a(0x1f1)][_0x2c8c0a(0x1fa)](_0x486158);}function _0x104373(_0x53ba17){const _0x2b4f4e=_0x3f6d62;if(_0x53ba17&&_0x58664d(_0x53ba17,_0x2b4f4e(0x1fe))&&!_0x58664d(_0x53ba17,_0x2b4f4e(0x21c))){const _0x423d19=_0x58664d(_0x53ba17,_0x2b4f4e(0x1fe));if(!_0x51f5fd(_0x423d19))return{'node':_0x53ba17,'type':_0x2b4f4e(0x1f3),'id':_0x423d19};}return null;}this[_0x3f6d62(0x22b)]=_0x32f43a[_0x3f6d62(0x20a)]((_0x40856d,_0xb9db14)=>({'changes':_0x40856d,'state':_0x3f6d62(0x202),'index':_0xb9db14}));}}function _0x3d2c(){const _0xdf018e=['removedNodeIds','splice','context','change:content','AI_SUGGESTION_CONTENT_PART_REMOVED','merge','7544JCtVfa','previousSibling','1925YcvhZC','includes','replyChangeGroupStateUpdated','ai-get-editor-from-context-no-editor','fire','data-id','parseAndNormalizeHTML','set','removed','pending','691299DAwtiB','_getDifferentChangeGroups','convertMarkdownToHTML','cloneNode','new','1497672YZmApR','documentContextContent','map','unshift','areActionsDisabled','updateChangeGroups','_setCachedContentParts','done','interactionId','onContentChange','push','48CPMFZF','newNodeIds','parsedMergedContent','modifiedNodeIds','parsedContent','index','editor','span','indexOf','data-unstable','withDiff','70jyipys','type','replyContentUpdated','modification','withoutDiff','ai-reply-get-content-parts-group-not-found','1267017cOBpEh','1170702KDrnAe','changes','_getCachedContentParts','isDone','getContentParts','stopListening','changeGroups','every','destroy','color:\x20#808080;\x20font-style:\x20italic','length','modified','node','filter','aiResponseApplier','1cfhsnm','aiResponseParser','setChangeGroupState','115725nXcQfE','cachedSuggestionContentParts','locale','4945369Hnrnuj','sources','state','content','nextSibling','find','appendContent','forEach'];_0x3d2c=function(){return _0xdf018e;};return _0x3d2c();}
|