@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,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 _0x37a5bd=_0x3857;(function(_0x3800e0,_0x28cf15){const _0xb063c=_0x3857,_0x37814e=_0x3800e0();while(!![]){try{const _0x2c215b=-parseInt(_0xb063c(0x121))/0x1*(parseInt(_0xb063c(0x125))/0x2)+-parseInt(_0xb063c(0x140))/0x3+-parseInt(_0xb063c(0x15b))/0x4*(-parseInt(_0xb063c(0x13b))/0x5)+-parseInt(_0xb063c(0x120))/0x6+-parseInt(_0xb063c(0x147))/0x7*(parseInt(_0xb063c(0x163))/0x8)+-parseInt(_0xb063c(0x11d))/0x9*(-parseInt(_0xb063c(0x122))/0xa)+parseInt(_0xb063c(0x15d))/0xb*(parseInt(_0xb063c(0x119))/0xc);if(_0x2c215b===_0x28cf15)break;else _0x37814e['push'](_0x37814e['shift']());}catch(_0x2f4e18){_0x37814e['push'](_0x37814e['shift']());}}}(_0x1d8d,0x63aa4));import{CKEditorError as _0x26a3f9,logWarning as _0x53aa83,scrollAncestorsToShowTarget as _0x19ef3f}from'ckeditor5/src/utils.js';function _0x3857(_0x1ea4b8,_0x5f20d){const _0x1d8dc0=_0x1d8d();return _0x3857=function(_0x3857b9,_0x405640){_0x3857b9=_0x3857b9-0x10c;let _0x5741c8=_0x1d8dc0[_0x3857b9];return _0x5741c8;},_0x3857(_0x1ea4b8,_0x5f20d);}import{View as _0x318f78}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x800ac9}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x1da4f3}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x509507}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x3c2cf5}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x554ebb}from'./feed/aichatfeederroritemview.js';import{AIChatFeedInteractionHeaderView as _0xd6d86c}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0xc7e12e}from'../../aicore/utils/scrollmanager.js';import{AISkeletonView as _0x5b418c,SKELETON_DEFINITIONS as _0x9a9548}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x40c709}from'../../aicore/ui/aispinner.js';import{AIChatFeedCustomElementView as _0x16b76b}from'./feed/aichatfeedcustomelementview.js';import'../../../theme/aichat/aichatfeed.css';function _0x1d8d(){const _0x2b800c=['_createLoaderChildren','10PWUYZV','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','_createTemplateChildren','_setupTemplate','createCollection','ai-chat-feed-view-item-not-a-suggestion-item','ck-ai-chat__loader','updateSuggestionItem','addItem','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','add','forEach','scrollManager','user-message','element','remove','ai-suggestion-reply','start','ai-chat-feed-view-item-not-a-reply-item','aiFeed','delegate','ck-ai-chat__feed__items','90QnyHuM','locale','interaction-header','stop','toggleLoadingSkeleton','821967fKseMg','ai-chat-feed-view-item-not-found','bindTemplate','updatePartState','_bodyCollection','ai-reply','extendTemplate','459641urnUPg','setSuggestionPartActive','custom-element','_createFeedItems','bind','find','updateWebSources','set','filter','removeItem','ck-ai-chat__feed','markItemAsDone','markAsDone','includes','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','children','updateSuggestionPartState','div','stopAutoScroll','updateSources','110988jCAFIS','setTemplate','5060MYjXet','map','_createSkeletonLoader','getItemById','scrollToSuggestion','hasItem','40sQaVSP','setLoadingMessage','isVisible','loadingMessage','clear','setPartActive','getItemIds','ck-hidden','isTrackChangesOn','startAutoScroll','getPartView','ck-ai-chat__loader-text','options','_createFeedLoader','parentElement','isPending','25284yOdCBL','destroy','isLoadingSkeletonVisible','updateReplyItem','621MIvtjY','span','updateContent','210978qQgLXo','142637oQDIbV','42060SdmyaQ','render'];_0x1d8d=function(){return _0x2b800c;};return _0x1d8d();}export class AIChatFeedView extends _0x318f78{[_0x37a5bd(0x156)];[_0x37a5bd(0x131)];[_0x37a5bd(0x144)];constructor(_0x2f4fef,_0x5688e6){const _0x5821fa=_0x37a5bd;super(_0x2f4fef),this[_0x5821fa(0x144)]=_0x5688e6,this[_0x5821fa(0x14e)](_0x5821fa(0x118),!0x1),this[_0x5821fa(0x14e)](_0x5821fa(0x10c),''),this[_0x5821fa(0x14e)](_0x5821fa(0x11b),!0x1),this[_0x5821fa(0x14e)](_0x5821fa(0x111),!0x1),this[_0x5821fa(0x156)]=this[_0x5821fa(0x129)](),this[_0x5821fa(0x156)][_0x5821fa(0x139)](..._0x800ac9)['to'](this),this[_0x5821fa(0x128)]();}[_0x37a5bd(0x123)](){const _0x5c666e=_0x37a5bd;super[_0x5c666e(0x123)](),this[_0x5c666e(0x131)]=new _0xc7e12e(this[_0x5c666e(0x133)]);}[_0x37a5bd(0x11a)](){const _0x229646=_0x37a5bd;super[_0x229646(0x11a)](),this[_0x229646(0x131)][_0x229646(0x11a)]();}[_0x37a5bd(0x10d)](){const _0x1d8fea=_0x37a5bd;this[_0x1d8fea(0x156)][_0x1d8fea(0x10d)]();}[_0x37a5bd(0x12d)](_0x586576,_0x49d125){const _0x24b91e=_0x37a5bd;let _0x1c0942;return _0x24b91e(0x145)===_0x586576?_0x1c0942=new _0x509507(this[_0x24b91e(0x13c)],_0x49d125,this[_0x24b91e(0x144)]):_0x24b91e(0x135)===_0x586576?(_0x1c0942=new _0x1da4f3(this[_0x24b91e(0x13c)],_0x49d125,this[_0x24b91e(0x144)]),_0x1c0942[_0x24b91e(0x14b)](_0x24b91e(0x111))['to'](this)):_0x1c0942=_0x24b91e(0x132)===_0x586576?new _0x3c2cf5(this[_0x24b91e(0x13c)],_0x49d125,this[_0x24b91e(0x144)]):_0x24b91e(0x13d)===_0x586576?new _0xd6d86c(this[_0x24b91e(0x13c)],_0x49d125):_0x24b91e(0x149)===_0x586576?new _0x16b76b(_0x49d125):new _0x554ebb(_0x49d125),this[_0x24b91e(0x156)][_0x24b91e(0x12f)](_0x1c0942),_0x1c0942;}async[_0x37a5bd(0x11c)]({id:_0x42fc8c,parsedContent:_0x1a730c,renderingStrategy:_0x642a27,abortSignal:_0xf5ae5f}){const _0x343dea=_0x37a5bd,_0x5c4a89=this[_0x343dea(0x160)](_0x42fc8c);if(!(_0x5c4a89 instanceof _0x509507))throw new _0x26a3f9(_0x343dea(0x137),null,{'itemView':_0x5c4a89,'id':_0x42fc8c,'parsedContent':_0x1a730c});await _0x5c4a89[_0x343dea(0x11f)]({'parsedContent':_0x1a730c,'renderingStrategy':_0x642a27,'abortSignal':_0xf5ae5f});}async[_0x37a5bd(0x14d)](_0x418f8b,_0x425aa2){const _0x448f70=_0x37a5bd,_0x427f80=this[_0x448f70(0x160)](_0x418f8b);if(_0x427f80 instanceof _0x1da4f3)_0x427f80[_0x448f70(0x15a)](_0x425aa2);else{if(!(_0x427f80 instanceof _0x509507))throw new _0x26a3f9(_0x448f70(0x126),null,{'itemView':_0x427f80,'id':_0x418f8b,'sources':_0x425aa2});_0x427f80[_0x448f70(0x15a)](_0x425aa2);}}async[_0x37a5bd(0x12c)]({id:_0x419605,parts:_0x2c512e,renderingStrategy:_0x12d9ba,abortSignal:_0x33af34}){const _0x337a71=_0x37a5bd,_0x52598b=this[_0x337a71(0x160)](_0x419605);if(!(_0x52598b instanceof _0x1da4f3))throw new _0x26a3f9(_0x337a71(0x12a),null,{'itemView':_0x52598b,'id':_0x419605,'parts':_0x2c512e});await _0x52598b[_0x337a71(0x11f)]({'parts':_0x2c512e,'renderingStrategy':_0x12d9ba,'abortSignal':_0x33af34});}[_0x37a5bd(0x157)]({id:_0xa446d1,index:_0x5e02e6,state:_0x19183b}){const _0x112484=_0x37a5bd,_0x5b5a63=this[_0x112484(0x160)](_0xa446d1);if(!(_0x5b5a63 instanceof _0x1da4f3))throw new _0x26a3f9(_0x112484(0x12a),this,{'id':_0xa446d1});_0x5b5a63[_0x112484(0x143)](_0x5e02e6,_0x19183b);}[_0x37a5bd(0x148)]({id:_0x2affc2,index:_0x51d8ed,isActive:_0x46f4bc}){const _0x306eda=_0x37a5bd,_0x126579=this[_0x306eda(0x160)](_0x2affc2);if(!(_0x126579 instanceof _0x1da4f3))throw new _0x26a3f9(_0x306eda(0x12a),this,{'id':_0x2affc2});this[_0x306eda(0x156)][_0x306eda(0x14f)](_0x1f1c7c=>_0x1f1c7c instanceof _0x1da4f3)[_0x306eda(0x130)](_0xb2b978=>{const _0x12a58b=_0x306eda;_0xb2b978[_0x12a58b(0x10e)](!0x1);}),_0x126579[_0x306eda(0x10e)](_0x51d8ed,_0x46f4bc);}[_0x37a5bd(0x152)](_0x444322){const _0x423d30=_0x37a5bd;this[_0x423d30(0x160)](_0x444322)[_0x423d30(0x153)]();}[_0x37a5bd(0x10f)](){const _0x175c54=_0x37a5bd;return this[_0x175c54(0x156)][_0x175c54(0x15e)](_0x27d4e9=>_0x27d4e9[_0x175c54(0x115)]['id']);}[_0x37a5bd(0x150)](_0x5c3671){const _0x4a952d=_0x37a5bd;this[_0x4a952d(0x156)][_0x4a952d(0x134)](this[_0x4a952d(0x160)](_0x5c3671));}[_0x37a5bd(0x162)](_0x334cca){const _0x452d24=_0x37a5bd;return!!this[_0x452d24(0x156)][_0x452d24(0x14c)](_0x4166c8=>_0x4166c8[_0x452d24(0x115)]['id'][_0x452d24(0x154)](_0x334cca));}[_0x37a5bd(0x161)](_0x29be0c,_0x76442e){const _0x242752=_0x37a5bd,_0x22ef1c=this[_0x242752(0x160)](_0x29be0c);if(!(_0x22ef1c instanceof _0x1da4f3))return void _0x53aa83(_0x242752(0x155),{'replyId':_0x29be0c,'partIndex':_0x76442e});const _0x24ce3e=_0x22ef1c[_0x242752(0x113)](_0x76442e);_0x24ce3e?_0x19ef3f(_0x24ce3e[_0x242752(0x133)],0x14,this[_0x242752(0x133)][_0x242752(0x117)],!0x0,!0x0):_0x53aa83(_0x242752(0x12e),{'replyId':_0x29be0c,'partIndex':_0x76442e});}[_0x37a5bd(0x128)](){const _0x382d39=_0x37a5bd;this[_0x382d39(0x15c)]({'tag':_0x382d39(0x158),'attributes':{'class':['ck',_0x382d39(0x151)]},'children':this[_0x382d39(0x127)]()});}[_0x37a5bd(0x127)](){const _0x39925f=_0x37a5bd,_0xcd8fba=this[_0x39925f(0x15f)]();return[this[_0x39925f(0x14a)](),_0xcd8fba,this[_0x39925f(0x116)]()];}[_0x37a5bd(0x15f)](){const _0x5f48c1=_0x37a5bd,_0x5e52c6=new _0x5b418c(this[_0x5f48c1(0x13c)],_0x9a9548[_0x5f48c1(0x138)]);return _0x5e52c6[_0x5f48c1(0x146)]({'attributes':{'class':[this[_0x5f48c1(0x142)]['if'](_0x5f48c1(0x11b),_0x5f48c1(0x110),_0x5e9c40=>!_0x5e9c40)]}}),_0x5e52c6;}[_0x37a5bd(0x14a)](){const _0x25cb30=_0x37a5bd,_0x4a4ad4=new _0x318f78(this[_0x25cb30(0x13c)]);return _0x4a4ad4[_0x25cb30(0x15c)]({'tag':_0x25cb30(0x158),'attributes':{'class':['ck',_0x25cb30(0x13a),this[_0x25cb30(0x142)]['if'](_0x25cb30(0x11b),_0x25cb30(0x110))]},'children':this[_0x25cb30(0x156)]}),_0x4a4ad4;}[_0x37a5bd(0x116)](){const _0x21fa2f=_0x37a5bd,_0x5a7c0c=new _0x318f78(this[_0x21fa2f(0x13c)]);return _0x5a7c0c[_0x21fa2f(0x15c)]({'tag':_0x21fa2f(0x158),'attributes':{'class':['ck',_0x21fa2f(0x12b),this[_0x21fa2f(0x142)]['if'](_0x21fa2f(0x118),_0x21fa2f(0x110),_0x1220f5=>!_0x1220f5)]},'children':this[_0x21fa2f(0x124)]()}),_0x5a7c0c;}[_0x37a5bd(0x124)](){const _0x185c77=_0x37a5bd,_0x41e1df=new _0x40c709();return _0x41e1df[_0x185c77(0x165)]=!0x0,[_0x41e1df,{'tag':_0x185c77(0x11e),'attributes':{'class':['ck',_0x185c77(0x114)]},'children':[{'text':this[_0x185c77(0x142)]['to'](_0x185c77(0x10c))}]}];}[_0x37a5bd(0x160)](_0x50cac8){const _0x36f996=_0x37a5bd,_0x56c8e5=this[_0x36f996(0x156)][_0x36f996(0x14c)](_0xda1508=>_0xda1508[_0x36f996(0x115)]['id'][_0x36f996(0x154)](_0x50cac8));if(!_0x56c8e5)throw new _0x26a3f9(_0x36f996(0x141),this,{'id':_0x50cac8});return _0x56c8e5;}[_0x37a5bd(0x164)](_0x752020){const _0x54f0ef=_0x37a5bd;this[_0x54f0ef(0x14e)](_0x54f0ef(0x10c),_0x752020);}[_0x37a5bd(0x13f)](_0x2fb055){const _0x365972=_0x37a5bd;this[_0x365972(0x14e)](_0x365972(0x11b),_0x2fb055);}[_0x37a5bd(0x112)](){const _0x5a19dc=_0x37a5bd;this[_0x5a19dc(0x131)][_0x5a19dc(0x136)]();}[_0x37a5bd(0x159)](){const _0x3600b3=_0x37a5bd;this[_0x3600b3(0x131)][_0x3600b3(0x13e)]();}}
|
|
@@ -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 _0xb602(_0x4ffead,_0x14f5a1){const _0x3337a4=_0x3337();return _0xb602=function(_0xb602b5,_0x6c9157){_0xb602b5=_0xb602b5-0x153;let _0x5e48c3=_0x3337a4[_0xb602b5];return _0x5e48c3;},_0xb602(_0x4ffead,_0x14f5a1);}const _0x3d0e04=_0xb602;(function(_0x3e5198,_0x1ec8ff){const _0x2e232e=_0xb602,_0x407a50=_0x3e5198();while(!![]){try{const _0xda1498=parseInt(_0x2e232e(0x15a))/0x1+-parseInt(_0x2e232e(0x164))/0x2*(parseInt(_0x2e232e(0x15d))/0x3)+parseInt(_0x2e232e(0x155))/0x4+-parseInt(_0x2e232e(0x168))/0x5+-parseInt(_0x2e232e(0x166))/0x6+parseInt(_0x2e232e(0x15c))/0x7+parseInt(_0x2e232e(0x159))/0x8;if(_0xda1498===_0x1ec8ff)break;else _0x407a50['push'](_0x407a50['shift']());}catch(_0x361b40){_0x407a50['push'](_0x407a50['shift']());}}}(_0x3337,0xc5b48));import{ButtonView as _0x47cbe2,FormHeaderView as _0x57a120}from'ckeditor5/src/ui.js';function _0x3337(){const _0x23cb2c=['conversationStartButton','children','3859360GgxZoS','138947NiRorU','execute','7503741afgssX','177hiNbld','_createStartConversationButton','resizeButton','ck-ai-header\x20ck-ai-header_chat','isMaximized','ck-ai-chat__start-conversation','locale','29198zNghHv','AI_CHAT_HEADING','698754jiiNST','startConversation','6743935dBBMDb','AI_CHAT_LABEL_NEW_CHAT','fire','set','5772228WUGqkP','add'];_0x3337=function(){return _0x23cb2c;};return _0x3337();}import{IconPlus as _0x4ae216,IconAIChat as _0x3ca299}from'ckeditor5/src/icons.js';import{getTranslation as _0x203f2e}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x2b666e}from'../../aicore/utils/createresizebutton.js';import'../../../theme/common/aiheader.css';export class AIChatHeaderView extends _0x57a120{[_0x3d0e04(0x157)];[_0x3d0e04(0x15f)];constructor(_0x2ddd5d,_0x1d7512){const _0x42fe16=_0x3d0e04;super(_0x2ddd5d,{'label':_0x203f2e(_0x2ddd5d,_0x42fe16(0x165)),'class':_0x42fe16(0x160),'icon':_0x3ca299}),this[_0x42fe16(0x154)](_0x42fe16(0x161),!0x1),this[_0x42fe16(0x157)]=this[_0x42fe16(0x15e)](_0x2ddd5d),this[_0x42fe16(0x158)][_0x42fe16(0x156)](this[_0x42fe16(0x157)]),_0x1d7512&&(this[_0x42fe16(0x15f)]=_0x2b666e(_0x2ddd5d,this),this[_0x42fe16(0x158)][_0x42fe16(0x156)](this[_0x42fe16(0x15f)]));}[_0x3d0e04(0x15e)](_0x30976d){const _0x2efc89=_0x3d0e04,_0x2e0652=new _0x47cbe2(_0x30976d);return _0x2e0652[_0x2efc89(0x154)]({'label':_0x203f2e(this[_0x2efc89(0x163)],_0x2efc89(0x169)),'withText':!0x0,'icon':_0x4ae216,'class':_0x2efc89(0x162)}),_0x2e0652['on'](_0x2efc89(0x15b),()=>{const _0x29a520=_0x2efc89;this[_0x29a520(0x153)](_0x29a520(0x167));}),_0x2e0652;}}
|
|
@@ -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
|
-
var _0x512bda=_0x55d8;(function(_0x6ea0c8,_0x88338){var _0x566399=_0x55d8,_0x387314=_0x6ea0c8();while(!![]){try{var _0xfb1494=-parseInt(_0x566399(0xbf))/0x1+parseInt(_0x566399(0xaf))/0x2*(-parseInt(_0x566399(0xad))/0x3)+parseInt(_0x566399(0xaa))/0x4*(-parseInt(_0x566399(0xc5))/0x5)+parseInt(_0x566399(0xbd))/0x6+parseInt(_0x566399(0xb7))/0x7+-parseInt(_0x566399(0xb5))/0x8*(parseInt(_0x566399(0xac))/0x9)+parseInt(_0x566399(0xab))/0xa*(parseInt(_0x566399(0xb1))/0xb);if(_0xfb1494===_0x88338)break;else _0x387314['push'](_0x387314['shift']());}catch(_0x82ba1){_0x387314['push'](_0x387314['shift']());}}}(_0x41aa,0xb79f5));import{View as _0x6f65d9,BodyCollection as _0x2b18c8}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x4ae915}from'../utils/eventnames.js';import{AIChatFeedView as _0x19f001}from'./aichatfeedview.js';function _0x41aa(){var _0x5c9e80=['ck-rounded-corners','1037787aLxBqJ','populateSourceResourceBalloon','closeSourceResourceBalloon','detachFromDom','chatControls','chatHeader','17925RLlvML','chatFeed','attachToDom','224HqQJLA','5300TaGQPu','72fpGlve','6fwxhXl','ck-ai-chat','425828ciMPcw','setTemplate','28391dIhmCt','ck-reset_all','chatDisclaimer','div','1164200BWZHvu','contextResourcesSearchInputVisibleFrom','6088824gXNnZY','uiLanguageDirection','_bodyCollection','delegate','destroy','showResizeButton','8057580dczUAm'];_0x41aa=function(){return _0x5c9e80;};return _0x41aa();}import{AIChatControlsView as _0x4de18b}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x2ffd4d}from'./aichatheaderview.js';function _0x55d8(_0x3d480b,_0x4b6892){var _0x41aa78=_0x41aa();return _0x55d8=function(_0x55d8f7,_0x1c4278){_0x55d8f7=_0x55d8f7-0xa8;var _0x2d0a3e=_0x41aa78[_0x55d8f7];return _0x2d0a3e;},_0x55d8(_0x3d480b,_0x4b6892);}import{AIDisclaimerView as _0x444bc6}from'../../aicore/ui/aidisclaimerview.js';import'../../../theme/common/ainotification.css';import'../../../theme/common/aibutton.css';import'../../../theme/common/aitrackchanges.css';export class AIChatView extends _0x6f65d9{[_0x512bda(0xc4)];[_0x512bda(0xa8)];[_0x512bda(0xc3)];[_0x512bda(0xb3)];[_0x512bda(0xb9)];constructor(_0x5de140,_0x3dc56c){var _0x3efbf2=_0x512bda;super(_0x5de140),this[_0x3efbf2(0xb9)]=new _0x2b18c8(_0x5de140),this[_0x3efbf2(0xb9)][_0x3efbf2(0xa9)](),this[_0x3efbf2(0xc4)]=new _0x2ffd4d(_0x5de140,_0x3dc56c[_0x3efbf2(0xbc)]),this[_0x3efbf2(0xc4)][_0x3efbf2(0xba)](..._0x4ae915)['to'](this),this[_0x3efbf2(0xa8)]=new _0x19f001(_0x5de140,this[_0x3efbf2(0xb9)]),this[_0x3efbf2(0xa8)][_0x3efbf2(0xba)](..._0x4ae915)['to'](this),this[_0x3efbf2(0xc3)]=new _0x4de18b(_0x5de140,{'bodyCollection':this[_0x3efbf2(0xb9)],'contextResourcesSearchInputVisibleFrom':_0x3dc56c[_0x3efbf2(0xb6)]}),this[_0x3efbf2(0xc3)][_0x3efbf2(0xba)](..._0x4ae915)['to'](this),this[_0x3efbf2(0xb3)]=new _0x444bc6(_0x5de140),this[_0x3efbf2(0xb0)]({'tag':_0x3efbf2(0xb4),'attributes':{'class':['ck',_0x3efbf2(0xb2),_0x3efbf2(0xae),_0x3efbf2(0xbe)],'dir':_0x5de140[_0x3efbf2(0xb8)]},'children':[this[_0x3efbf2(0xc4)],this[_0x3efbf2(0xa8)],this[_0x3efbf2(0xc3)],this[_0x3efbf2(0xb3)]]});}[_0x512bda(0xc0)](_0x17aff5,_0x296506,_0x5c5e0a,_0x4a5535){var _0x91f35e=_0x512bda;this[_0x91f35e(0xc3)][_0x91f35e(0xc0)](_0x17aff5,_0x296506,_0x5c5e0a,_0x4a5535);}[_0x512bda(0xc1)](_0x49bd0b){var _0x4035b0=_0x512bda;this[_0x4035b0(0xc3)][_0x4035b0(0xc1)](_0x49bd0b);}[_0x512bda(0xbb)](){var _0x38e840=_0x512bda;this[_0x38e840(0xb9)][_0x38e840(0xc2)](),super[_0x38e840(0xbb)]();}}
|
|
@@ -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 _0x3473cd=_0x312a;(function(_0x648408,_0x3c52df){const _0x2ce022=_0x312a,_0x3f78ea=_0x648408();while(!![]){try{const _0x18179c=-parseInt(_0x2ce022(0xa7))/0x1+parseInt(_0x2ce022(0x9d))/0x2*(parseInt(_0x2ce022(0xf6))/0x3)+parseInt(_0x2ce022(0x72))/0x4*(-parseInt(_0x2ce022(0xf4))/0x5)+parseInt(_0x2ce022(0xd9))/0x6+-parseInt(_0x2ce022(0xda))/0x7*(parseInt(_0x2ce022(0xed))/0x8)+-parseInt(_0x2ce022(0xbe))/0x9+parseInt(_0x2ce022(0xd8))/0xa*(parseInt(_0x2ce022(0x9c))/0xb);if(_0x18179c===_0x3c52df)break;else _0x3f78ea['push'](_0x3f78ea['shift']());}catch(_0x38efcd){_0x3f78ea['push'](_0x3f78ea['shift']());}}}(_0x4fa6,0x4e917));import{View as _0x283515,BalloonPanelView as _0x564bf8,ButtonView as _0x4b4d2e,clickOutsideHandler as _0x57cd2f}from'ckeditor5/src/ui.js';function _0x312a(_0x2b61e0,_0x2c3f04){const _0x4fa6e0=_0x4fa6();return _0x312a=function(_0x312a69,_0x54fc28){_0x312a69=_0x312a69-0x6b;let _0x2a8116=_0x4fa6e0[_0x312a69];return _0x2a8116;},_0x312a(_0x2b61e0,_0x2c3f04);}import{Collection as _0x548952}from'ckeditor5/src/utils.js';const an={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},wn=_0x3473cd(0xd3);export class AIChatChipsOverflowManager{[_0x3473cd(0xfd)];[_0x3473cd(0xb0)];[_0x3473cd(0xf9)];[_0x3473cd(0xb7)];[_0x3473cd(0xf7)]=null;[_0x3473cd(0x6b)]=null;[_0x3473cd(0x80)]=null;[_0x3473cd(0xf1)];[_0x3473cd(0xef)]=null;[_0x3473cd(0xce)]=null;[_0x3473cd(0x91)]=!0x1;constructor(_0x39010e,_0x579d88,_0x4c774c,_0x581701,_0x34bc43){const _0x5e6c53=_0x3473cd;this[_0x5e6c53(0xfd)]=_0x39010e,this[_0x5e6c53(0xf9)]=_0x579d88,this[_0x5e6c53(0xb0)]={...an,..._0x4c774c,'cssClasses':{'controlsButton':'','calculationContainer':_0x5e6c53(0xec),..._0x4c774c[_0x5e6c53(0xc6)]}},this[_0x5e6c53(0xb7)]=new _0x548952(),this[_0x5e6c53(0xf1)]=_0x581701,this[_0x5e6c53(0xef)]=_0x34bc43||null;}[_0x3473cd(0xe7)](_0x470f09){const _0x5b0a42=_0x3473cd;this[_0x5b0a42(0xce)]&&(this[_0x5b0a42(0xce)][_0x5b0a42(0xcf)](),this[_0x5b0a42(0xce)]=null),this[_0x5b0a42(0x80)]=_0x470f09,this[_0x5b0a42(0xc3)]();}get[_0x3473cd(0xee)](){const _0xdcf561=_0x3473cd;return this[_0xdcf561(0xf7)];}get[_0x3473cd(0x99)](){const _0xca6c56=_0x3473cd;return this[_0xca6c56(0xb7)];}[_0x3473cd(0xa5)](){requestAnimationFrame(()=>{const _0xdc65c4=_0x312a;this[_0xdc65c4(0x90)]();});}[_0x3473cd(0xa2)](){const _0x53c709=_0x3473cd;this[_0x53c709(0xf7)]&&this[_0x53c709(0x6b)]&&(this[_0x53c709(0xf8)](),this[_0x53c709(0xf7)][_0x53c709(0xd5)]=!0x0,this[_0x53c709(0x6b)][_0x53c709(0x92)](),this[_0x53c709(0x6b)][_0x53c709(0xc7)]({'target':this[_0x53c709(0xf7)][_0x53c709(0xd7)],'limiter':document[_0x53c709(0x74)](_0x53c709(0xad))}));}[_0x3473cd(0x86)](){const _0x4d65dc=_0x3473cd;this[_0x4d65dc(0xf7)]&&this[_0x4d65dc(0x6b)]&&(this[_0x4d65dc(0xf7)][_0x4d65dc(0xd5)]=!0x1,this[_0x4d65dc(0x6b)][_0x4d65dc(0x76)]());}[_0x3473cd(0x9b)](){const _0x52d555=_0x3473cd;this[_0x52d555(0xb7)][_0x52d555(0x9b)](),this[_0x52d555(0x86)](),this[_0x52d555(0xa8)](),this[_0x52d555(0xf7)]&&(this[_0x52d555(0xf7)][_0x52d555(0x6f)]=''),this[_0x52d555(0x6b)]&&this[_0x52d555(0x6b)][_0x52d555(0xb9)][_0x52d555(0x9b)]();}[_0x3473cd(0x96)](){const _0x1d6fb6=_0x3473cd;this[_0x1d6fb6(0xce)]&&(this[_0x1d6fb6(0xce)][_0x1d6fb6(0xcf)](),this[_0x1d6fb6(0xce)]=null),this[_0x1d6fb6(0xf7)]&&(this[_0x1d6fb6(0xf7)][_0x1d6fb6(0x96)](),this[_0x1d6fb6(0xf7)]=null),this[_0x1d6fb6(0x6b)]&&(this[_0x1d6fb6(0x6b)][_0x1d6fb6(0x96)](),this[_0x1d6fb6(0x6b)]=null);}[_0x3473cd(0x90)](){const _0x2cd673=_0x3473cd;if(!this[_0x2cd673(0x80)])return;if(!this[_0x2cd673(0x95)]())return void(this[_0x2cd673(0x91)]=!0x0);this[_0x2cd673(0x91)]=!0x1;const _0x3c3d3a=[...this[_0x2cd673(0xf9)],...this[_0x2cd673(0xb7)]],_0x284531=this[_0x2cd673(0xbb)](),_0x1d2da8=this[_0x2cd673(0xcd)](_0x284531,_0x3c3d3a),_0x192dab=_0x284531[_0x2cd673(0xa0)];_0x192dab&&this[_0x2cd673(0xaf)](_0x192dab),_0x284531[_0x2cd673(0x73)](),this[_0x2cd673(0xfc)](_0x3c3d3a,_0x1d2da8);}[_0x3473cd(0xe6)](){const _0x11f726=_0x3473cd;this[_0x11f726(0xf7)]=this[_0x11f726(0xd2)](),this[_0x11f726(0x6b)]=this[_0x11f726(0xd4)](),this[_0x11f726(0xf7)][_0x11f726(0xde)](),this[_0x11f726(0x80)][_0x11f726(0xbd)](this[_0x11f726(0xf7)][_0x11f726(0xd7)]),this[_0x11f726(0xf7)]['on'](_0x11f726(0xeb),()=>{const _0x240390=_0x11f726;this[_0x240390(0xcb)]();}),_0x57cd2f({'emitter':this[_0x11f726(0x6b)],'contextElements':[this[_0x11f726(0x6b)][_0x11f726(0xd7)],this[_0x11f726(0xf7)][_0x11f726(0xd7)]],'callback':()=>this[_0x11f726(0x86)](),'activator':()=>this[_0x11f726(0xf7)][_0x11f726(0xd5)]});}[_0x3473cd(0xd2)](){const _0x37928f=_0x3473cd,_0x48d687=new _0x4b4d2e(this[_0x37928f(0xfd)]);_0x48d687[_0x37928f(0xc4)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x4e8936=[this[_0x37928f(0xb0)][_0x37928f(0xc6)][_0x37928f(0x7c)]];return this[_0x37928f(0xb0)][_0x37928f(0xc6)][_0x37928f(0x8a)]&&_0x4e8936[_0x37928f(0xc1)](this[_0x37928f(0xb0)][_0x37928f(0xc6)][_0x37928f(0x8a)]),_0x48d687[_0x37928f(0x9a)]({'attributes':{'class':_0x4e8936}}),_0x48d687;}[_0x3473cd(0xd4)](){const _0x419461=_0x3473cd,_0x2d43dc=new _0x564bf8(this[_0x419461(0xfd)]);return _0x2d43dc[_0x419461(0x9a)]({'attributes':{'class':this[_0x419461(0xb0)][_0x419461(0xc6)][_0x419461(0xab)]}}),this[_0x419461(0xf1)][_0x419461(0xd0)](_0x2d43dc),_0x2d43dc;}[_0x3473cd(0xf8)](){const _0x5b58fa=_0x3473cd;if(this[_0x5b58fa(0x6b)]&&(this[_0x5b58fa(0x6b)][_0x5b58fa(0xb9)][_0x5b58fa(0x9b)](),this[_0x5b58fa(0xb7)][_0x5b58fa(0xb2)]>0x0)){this[_0x5b58fa(0xb7)][_0x5b58fa(0xa1)](_0x54e223=>{const _0x477e0e=_0x5b58fa;_0x54e223[_0x477e0e(0xe9)]();});const _0x302b85=new _0x283515(this[_0x5b58fa(0xfd)]);_0x302b85[_0x5b58fa(0xf5)]({'tag':_0x5b58fa(0xe8),'attributes':{'class':this[_0x5b58fa(0xb0)][_0x5b58fa(0xc6)][_0x5b58fa(0xa6)]},'children':this[_0x5b58fa(0xb7)]}),this[_0x5b58fa(0x6b)][_0x5b58fa(0xb9)][_0x5b58fa(0xd0)](_0x302b85);}}[_0x3473cd(0xcb)](){const _0x423f35=_0x3473cd;this[_0x423f35(0xf7)][_0x423f35(0xd5)]?this[_0x423f35(0x86)]():this[_0x423f35(0xa2)]();}[_0x3473cd(0xa8)](){const _0x5ba1e0=_0x3473cd,_0x14bea8=this[_0x5ba1e0(0xb7)][_0x5ba1e0(0xb2)]>0x0;this[_0x5ba1e0(0xf7)]?.[_0x5ba1e0(0xd7)]&&(this[_0x5ba1e0(0xf7)][_0x5ba1e0(0xd7)][_0x5ba1e0(0xdc)][_0x5ba1e0(0xc2)]=_0x14bea8?'':_0x5ba1e0(0xc0));}[_0x3473cd(0x94)](){const _0xdb6435=_0x3473cd;this[_0xdb6435(0xf7)]?.[_0xdb6435(0xd5)]&&this[_0xdb6435(0x6b)]?.[_0xdb6435(0xca)]&&this[_0xdb6435(0xf7)][_0xdb6435(0xd7)]&&this[_0xdb6435(0x6b)][_0xdb6435(0xc7)]({'target':this[_0xdb6435(0xf7)][_0xdb6435(0xd7)],'limiter':document[_0xdb6435(0x74)](_0xdb6435(0xad))});}[_0x3473cd(0xe5)](_0x4be682){const _0x265ce4=_0x3473cd,_0x4b00cc=this[_0x265ce4(0x80)]?.[_0x265ce4(0xaa)][_0x265ce4(0x97)]()||_0x265ce4(0xe8),_0x16c7d9=this[_0x265ce4(0x80)]?.[_0x265ce4(0xae)];if(_0x16c7d9){const _0x5ef058=_0x16c7d9[0x0]||'',_0x584fd7=_0x4be682[_0x265ce4(0x74)]('.'+_0x5ef058),_0x1bf419=_0x4be682[_0x265ce4(0x74)](_0x4b00cc);return _0x584fd7||_0x1bf419||_0x4be682;}return _0x4be682[_0x265ce4(0x74)](_0x4b00cc)||_0x4be682;}[_0x3473cd(0xa9)](){const _0x4a8f08=_0x3473cd,_0x2e873f=this[_0x4a8f08(0xef)]?.[_0x4a8f08(0xd7)]||this[_0x4a8f08(0x80)];if(!_0x2e873f)return wn;const _0x154fe6=window[_0x4a8f08(0x9e)](_0x2e873f)[_0x4a8f08(0xbf)];if(_0x4a8f08(0x93)===_0x154fe6||_0x4a8f08(0xfb)===_0x154fe6||!_0x154fe6){const _0x38d1f9=_0x2e873f[_0x4a8f08(0xc5)];if(_0x38d1f9){const _0x64f7e8=window[_0x4a8f08(0x9e)](_0x38d1f9);return _0x4a8f08(0x93)!==_0x64f7e8[_0x4a8f08(0xbf)]?_0x64f7e8[_0x4a8f08(0xbf)]:wn;}return wn;}return _0x154fe6;}[_0x3473cd(0x7d)](_0x3a5292,_0x3db266){const _0x348047=_0x3473cd;this[_0x348047(0xb0)][_0x348047(0xc6)][_0x348047(0x77)]&&_0x3a5292[_0x348047(0xae)][_0x348047(0xd0)](this[_0x348047(0xb0)][_0x348047(0xc6)][_0x348047(0x77)]),_0x3a5292[_0x348047(0xdc)][_0x348047(0xbf)]=_0x3db266,_0x3a5292[_0x348047(0xdc)][_0x348047(0xdf)]=_0x348047(0xe2),_0x3a5292[_0x348047(0xdc)][_0x348047(0x7b)]=_0x348047(0xe0),_0x3a5292[_0x348047(0xdc)][_0x348047(0x6c)]=_0x348047(0xe0),_0x3a5292[_0x348047(0xdc)][_0x348047(0x8b)]='0',_0x3a5292[_0x348047(0xdc)][_0x348047(0xac)]=_0x348047(0xc0),_0x3a5292[_0x348047(0xdc)][_0x348047(0xf2)]='-1',_0x3a5292[_0x348047(0xdc)][_0x348047(0x83)]=_0x348047(0x85),_0x3a5292[_0x348047(0xdc)][_0x348047(0xc2)]=_0x348047(0xb8),_0x3a5292[_0x348047(0xdc)][_0x348047(0x8f)]=_0x348047(0x75);}[_0x3473cd(0xaf)](_0x427d61){const _0x9068f7=_0x3473cd;_0x427d61[_0x9068f7(0xa1)](({element:_0x1b1f50,originalDisplay:_0x269aaa,originalVisibility:_0x205be3})=>{const _0x5c9145=_0x9068f7;_0x1b1f50[_0x5c9145(0xdc)][_0x5c9145(0xc2)]=_0x269aaa,_0x1b1f50[_0x5c9145(0xdc)][_0x5c9145(0x83)]=_0x205be3;});}[_0x3473cd(0xf3)](_0xd2a12c){const _0x8684c2=_0x3473cd,_0x54c4fd=[];let _0x1af779=_0xd2a12c;for(;_0x1af779&&_0x1af779!==document[_0x8684c2(0x84)];){const _0x35d52a=window[_0x8684c2(0x9e)](_0x1af779);_0x8684c2(0xc0)!==_0x35d52a[_0x8684c2(0xc2)]&&_0x8684c2(0xdd)!==_0x35d52a[_0x8684c2(0x83)]||(_0x54c4fd[_0x8684c2(0xc1)]({'element':_0x1af779,'originalDisplay':_0x1af779[_0x8684c2(0xdc)][_0x8684c2(0xc2)],'originalVisibility':_0x1af779[_0x8684c2(0xdc)][_0x8684c2(0x83)]}),_0x1af779[_0x8684c2(0xdc)][_0x8684c2(0xc2)]=_0x8684c2(0x6e),_0x1af779[_0x8684c2(0xdc)][_0x8684c2(0x83)]=_0x8684c2(0x70)),_0x1af779=_0x1af779[_0x8684c2(0xc5)];}return _0x54c4fd;}[_0x3473cd(0xea)](){const _0x5205f1=_0x3473cd;let _0x27ba1f,_0x294a7a;return this[_0x5205f1(0xef)]?.[_0x5205f1(0xd7)]?(_0x27ba1f=this[_0x5205f1(0xef)][_0x5205f1(0xd7)][_0x5205f1(0x98)](!0x0),_0x294a7a=this[_0x5205f1(0xe5)](_0x27ba1f)):(_0x27ba1f=document[_0x5205f1(0x82)](_0x5205f1(0xe8)),_0x294a7a=_0x27ba1f),{'calculationContainer':_0x27ba1f,'targetContainer':_0x294a7a};}[_0x3473cd(0xbb)](){const _0x3cc584=_0x3473cd,{calculationContainer:_0x18aa94,targetContainer:_0xb2bb98}=this[_0x3cc584(0xea)](),_0x4b288d=this[_0x3cc584(0xa9)]();this[_0x3cc584(0x7d)](_0x18aa94,_0x4b288d);const _0x1b2a72=this[_0x3cc584(0xef)]?.[_0x3cc584(0xd7)]||this[_0x3cc584(0x80)],_0x1b9f41=_0x1b2a72?.[_0x3cc584(0xc5)];_0x1b9f41?_0x1b9f41[_0x3cc584(0xbd)](_0x18aa94):document[_0x3cc584(0x84)][_0x3cc584(0xbd)](_0x18aa94),_0x18aa94[_0x3cc584(0x78)]=_0xb2bb98;const _0x530711=this[_0x3cc584(0xf3)](_0x1b9f41||null);return _0x18aa94[_0x3cc584(0x71)],_0x18aa94[_0x3cc584(0xa0)]=_0x530711,_0x18aa94;}[_0x3473cd(0xcd)](_0x5dc37d,_0xb2fee8){const _0x2041ef=_0x3473cd,_0x441f27=_0x5dc37d[_0x2041ef(0x78)]||_0x5dc37d,_0x282ba6=[],{rowCount:_0x2185e3}=this[_0x2041ef(0xa3)](_0x441f27,_0xb2fee8);if(_0x2185e3<=this[_0x2041ef(0xb0)][_0x2041ef(0x79)])return _0x282ba6;const _0x139d56=_0xb2fee8[_0x2041ef(0xdb)]();for(;_0x139d56[_0x2041ef(0xb2)]>0x0;){if(this[_0x2041ef(0xf0)](_0x5dc37d,_0x441f27,_0x139d56)){const _0x20abd8=_0xb2fee8[_0x2041ef(0x7e)](_0x1b2c82=>!_0x139d56[_0x2041ef(0xd6)](_0x1b2c82));_0x282ba6[_0x2041ef(0xc1)](..._0x20abd8);break;}if(!_0x139d56[_0x2041ef(0x89)]())break;}return _0x282ba6;}[_0x3473cd(0xa3)](_0x38c0c8,_0x593c57){const _0x506ad5=_0x3473cd;_0x38c0c8[_0x506ad5(0xe3)]='',_0x593c57[_0x506ad5(0xa1)](_0x3b400c=>{const _0x533093=_0x506ad5;if(_0x3b400c[_0x533093(0xd7)]){const _0x77a762=_0x3b400c[_0x533093(0xd7)][_0x533093(0x98)](!0x0);_0x38c0c8[_0x533093(0xbd)](_0x77a762);}}),_0x38c0c8[_0x506ad5(0x71)];const _0x917fce=_0x38c0c8[_0x506ad5(0xfe)],_0x451da8=[];return Array[_0x506ad5(0x7a)](_0x917fce)[_0x506ad5(0xa1)](_0x566e5a=>{const _0x5f0b47=_0x506ad5,_0x351a5c=_0x566e5a[_0x5f0b47(0x7f)]()[_0x5f0b47(0x7b)];_0x451da8[_0x5f0b47(0x8e)](_0x23c75a=>Math[_0x5f0b47(0xa4)](_0x23c75a-_0x351a5c)<this[_0x5f0b47(0xb0)][_0x5f0b47(0x6d)])||_0x451da8[_0x5f0b47(0xc1)](_0x351a5c);}),{'rowCount':_0x451da8[_0x506ad5(0xb2)]};}[_0x3473cd(0x9f)](){const _0xd0da65=_0x3473cd,_0x2fc16f=document[_0xd0da65(0x82)](_0xd0da65(0xe1));return _0x2fc16f[_0xd0da65(0xff)]=this[_0xd0da65(0xb0)][_0xd0da65(0xc6)][_0xd0da65(0x7c)],this[_0xd0da65(0xb0)][_0xd0da65(0xc6)][_0xd0da65(0x8a)]&&_0x2fc16f[_0xd0da65(0xae)][_0xd0da65(0xd0)](this[_0xd0da65(0xb0)][_0xd0da65(0xc6)][_0xd0da65(0x8a)]),_0x2fc16f[_0xd0da65(0xe4)]=_0xd0da65(0xb4),_0x2fc16f;}[_0x3473cd(0xf0)](_0x375830,_0x137d7b,_0x32dabc){const _0xbbc7d6=_0x3473cd;this[_0xbbc7d6(0xa3)](_0x137d7b,_0x32dabc);const _0x5a5f0b=this[_0xbbc7d6(0x9f)]();_0x375830[_0xbbc7d6(0xbd)](_0x5a5f0b),_0x375830[_0xbbc7d6(0x71)];const _0x41aeaf=[..._0x137d7b[_0xbbc7d6(0xfe)],_0x5a5f0b],_0x81a50b=[];_0x41aeaf[_0xbbc7d6(0xa1)](_0x78b613=>{const _0x265e09=_0xbbc7d6,_0x27d305=_0x78b613[_0x265e09(0x7f)]()[_0x265e09(0x7b)];_0x81a50b[_0x265e09(0x8e)](_0x4f0958=>Math[_0x265e09(0xa4)](_0x4f0958-_0x27d305)<this[_0x265e09(0xb0)][_0x265e09(0x6d)])||_0x81a50b[_0x265e09(0xc1)](_0x27d305);});const _0x1a615a=_0x81a50b[_0xbbc7d6(0xb2)];return _0x5a5f0b[_0xbbc7d6(0x73)](),_0x1a615a<=this[_0xbbc7d6(0xb0)][_0xbbc7d6(0x79)];}[_0x3473cd(0xc8)](_0x4e85ce,_0x4dbd13){const _0x21c216=_0x3473cd;this[_0x21c216(0xf9)][_0x21c216(0x9b)](),this[_0x21c216(0xb7)][_0x21c216(0x9b)](),_0x4e85ce[_0x21c216(0xa1)](_0x35bbb3=>{const _0x3c1362=_0x21c216;_0x4dbd13[_0x3c1362(0xd6)](_0x35bbb3)?this[_0x3c1362(0xb7)][_0x3c1362(0xd0)](_0x35bbb3):this[_0x3c1362(0xf9)][_0x3c1362(0xd0)](_0x35bbb3);});}[_0x3473cd(0x8d)](_0x3e80bb){const _0xb8eb79=_0x3473cd;if(_0x3e80bb>0x0&&!this[_0xb8eb79(0xf7)]&&this[_0xb8eb79(0xe6)](),_0x3e80bb>0x0&&this[_0xb8eb79(0xf7)]){const _0x265d29=''+this[_0xb8eb79(0xb0)][_0xb8eb79(0x81)]+(_0x3e80bb<0x63?_0x3e80bb:'99');this[_0xb8eb79(0xf7)][_0xb8eb79(0x6f)]=_0x265d29;}this[_0xb8eb79(0xf8)](),this[_0xb8eb79(0xa8)](),this[_0xb8eb79(0x94)]();}[_0x3473cd(0xfc)](_0x2edca7,_0x910cba){const _0x3b1738=_0x3473cd;this[_0x3b1738(0xc8)](_0x2edca7,_0x910cba),this[_0x3b1738(0x8d)](_0x910cba[_0x3b1738(0xb2)]);}[_0x3473cd(0xc3)](){const _0x3d54a6=_0x3473cd;this[_0x3d54a6(0x80)]&&_0x3d54a6(0xb3)!=typeof IntersectionObserver&&(this[_0x3d54a6(0xce)]=new IntersectionObserver(_0x2f04c0=>{const _0x50e6c8=_0x3d54a6;_0x2f04c0[0x0][_0x50e6c8(0x8c)]&&this[_0x50e6c8(0x91)]&&requestAnimationFrame(()=>{const _0x8f0bd4=_0x50e6c8;this[_0x8f0bd4(0x90)]();});},{'threshold':0.01,'rootMargin':_0x3d54a6(0xc9)}),this[_0x3d54a6(0xce)][_0x3d54a6(0xfa)](this[_0x3d54a6(0x80)]));}[_0x3473cd(0x95)](){const _0x49d101=_0x3473cd;if(!this[_0x49d101(0x80)])return!0x1;if(!this[_0x49d101(0x80)][_0x49d101(0xba)])return!0x1;const _0x56f959=this[_0x49d101(0x80)][_0x49d101(0x7f)]();if(0x0===_0x56f959[_0x49d101(0xbf)]||0x0===_0x56f959[_0x49d101(0x88)])return!0x1;const _0x24f1f8=window[_0x49d101(0xbc)]||document[_0x49d101(0xcc)][_0x49d101(0xb6)],_0x4b9808=window[_0x49d101(0xb1)]||document[_0x49d101(0xcc)][_0x49d101(0xb5)],_0x3cf949=0xc8;return _0x56f959[_0x49d101(0x87)]>=-0xc8&&_0x56f959[_0x49d101(0x7b)]<=_0x24f1f8+_0x3cf949&&_0x56f959[_0x49d101(0xd1)]>=-0xc8&&_0x56f959[_0x49d101(0x6c)]<=_0x4b9808+_0x3cf949;}}function _0x4fa6(){const _0x1cc0c8=['abs','reorganizeChips','overflowContainer','532113PNvwHT','_updateShowMoreButtonVisibility','_calculateContainerWidth','tagName','showMoreBalloon','pointerEvents','.ck-ai-chat','classList','_restoreAncestorVisibility','_config','innerWidth','length','undefined','+\x201','clientWidth','clientHeight','_overflowChips','block\x20!important','content','isConnected','_createCalculationContainer','innerHeight','appendChild','4066560iviQUQ','width','none','push','display','_setupVisibilityObserver','set','parentElement','cssClasses','pin','_distributeChips','50px','isVisible','_handleShowMoreButtonClick','documentElement','_calculateOverflowInContainer','_intersectionObserver','disconnect','add','right','_createShowMoreButtonView','300px','_createShowMoreBalloonPanelView','isOn','includes','element','30AjfoJz','1674450vFMgxx','76419TtsUUc','slice','style','hidden','render','position','-9999px','button','absolute','innerHTML','textContent','_findTargetContainer','_createShowMoreButton','setContainerElement','div','disableAnimationOnEnter','_createContainerElements','execute','ck-calculation-container','392ygEuHX','showMoreButtonView','_parentView','_testButtonFit','_bodyCollection','zIndex','_makeAncestorsVisible','589845PwTbPH','setTemplate','1668YPUvlc','_showMoreButtonView','_updateBalloonContent','_visibleChips','observe','0px','_applyOverflowResults','_locale','children','className','_showMoreBalloonPanelView','left','rowDetectionTolerance','block','label','visible','offsetWidth','4ijBGMN','remove','querySelector','border-box','hide','calculationContainer','_targetContainer','maxVisibleRows','from','top','showMoreButton','_applyCalculationStyles','filter','getBoundingClientRect','_containerElement','showMoreLabelPrefix','createElement','visibility','body','visible\x20!important','hideBalloonPanel','bottom','height','pop','controlsButton','opacity','isIntersecting','_updateOverflowUI','some','boxSizing','_checkAndHandleOverflow','_pendingCalculation','show','auto','_repinBalloonPanel','_isContainerVisible','destroy','toLowerCase','cloneNode','overflowChips','extendTemplate','clear','4709023RTQuYJ','1422LpxBkC','getComputedStyle','_createMockButton','_ancestorsToRestore','forEach','showBalloonPanel','_renderChipsAndCountRows'];_0x4fa6=function(){return _0x1cc0c8;};return _0x4fa6();}
|
|
@@ -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 _0x11fe38=_0x1c8a;(function(_0x2e38f6,_0x232855){const _0x398bd1=_0x1c8a,_0x36b2c2=_0x2e38f6();while(!![]){try{const _0x6210b3=-parseInt(_0x398bd1(0x1f9))/0x1*(-parseInt(_0x398bd1(0x1cd))/0x2)+parseInt(_0x398bd1(0x1c2))/0x3+parseInt(_0x398bd1(0x1e2))/0x4*(-parseInt(_0x398bd1(0x1e1))/0x5)+-parseInt(_0x398bd1(0x1c4))/0x6*(parseInt(_0x398bd1(0x1dd))/0x7)+parseInt(_0x398bd1(0x1e4))/0x8+parseInt(_0x398bd1(0x1e6))/0x9*(-parseInt(_0x398bd1(0x1bc))/0xa)+-parseInt(_0x398bd1(0x1f6))/0xb*(-parseInt(_0x398bd1(0x1ed))/0xc);if(_0x6210b3===_0x232855)break;else _0x36b2c2['push'](_0x36b2c2['shift']());}catch(_0x5b5cd9){_0x36b2c2['push'](_0x36b2c2['shift']());}}}(_0x28d0,0x70950));import{ButtonView as _0x5b0147,IconView as _0xf2bace}from'ckeditor5/src/ui.js';import{IconClose as _0x1b2896,IconDocument as _0x23102,IconFileUpload as _0x18e395,IconLink as _0x2cfb39,IconSelection as _0x3d6979}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0xe00ad}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x39d884}from'../../../aicore/ui/aispinner.js';function _0x1c8a(_0x5173bd,_0xf23c6e){const _0x28d09f=_0x28d0();return _0x1c8a=function(_0x1c8af2,_0x5c912e){_0x1c8af2=_0x1c8af2-0x1b7;let _0x30f9d7=_0x28d09f[_0x1c8af2];return _0x30f9d7;},_0x1c8a(_0x5173bd,_0xf23c6e);}function _0x28d0(){const _0x1b3213=['_createLabelElement','execute','132667FHPClG','label','ck-ai-chat-context-chip__label','_createLoaderIcon','tooltip','_createRemoveButton','extendTemplate','160JnLVeB','animationend','_createTemplateChildren','disableAnimationOnEnter','ck-ai-chat-context-chip_new-chip','removeContextItemChip','2650752rZddZu','ck-hidden','5676cyGRBY','_setupTemplate','itemType','isLoading','small','div','set','_isAnimationOnEnterEnabled','webkitAnimationEnd','8tjyYSq','addEventListener','removeEventListener','fire','uiId','_handleAnimationEndOnce','add','locale','readonly','classList','document','_setupRemoveButtonEvent','slice','_createTemplateAttributes','ck-ai-chat-context-chip_document','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','6643NLiugI','lastIndexOf','selection','ck-ai-chat-context-controls__chip-tooltip','2665255jKVDDM','4UAdBxP','isVisible','5346504sCQiWo','bindTemplate','455337ZAMdQq','element','type','render','_createIconView','remove','ck-ai-chat-context-chip__type-icon','72NBiGoa','setTemplate','content','bind','ck-ai-chat-context-chip','ck-ai-chat-context-chip_wide','span','_initializeProperties','length','1134584bpzpTn'];_0x28d0=function(){return _0x1b3213;};return _0x28d0();}const xn={'file':_0x18e395,'document':_0x23102,'web-resource':_0x2cfb39,'text':_0x18e395,'selection':_0x3d6979,'mcp-tool-context':_0x23102},bn=_0x11fe38(0x1f1),Tn=_0x11fe38(0x1f2),En=_0x11fe38(0x1db),fn=_0x11fe38(0x1b7),An=_0x11fe38(0x1ec),Cn=_0x11fe38(0x1e0),In='n';export class AIChatContextItemButtonView extends _0x5b0147{constructor(_0x30c2e7,_0xdcc824,_0x509284,_0x24e568,_0x120fe4=!0x1){const _0x5ba89a=_0x11fe38;super(_0x30c2e7),this[_0x5ba89a(0x1cb)]=_0x24e568,this[_0x5ba89a(0x1f4)](_0xdcc824,_0x509284,_0x120fe4),this[_0x5ba89a(0x1c5)]();}[_0x11fe38(0x1e9)](){const _0x343c34=_0x11fe38;super[_0x343c34(0x1e9)](),this[_0x343c34(0x1cb)]&&this[_0x343c34(0x1e7)]&&(this[_0x343c34(0x1e7)][_0x343c34(0x1d6)][_0x343c34(0x1d3)](_0x343c34(0x1c0)),this[_0x343c34(0x1d2)](this[_0x343c34(0x1e7)],()=>{const _0x46e8a4=_0x343c34;this[_0x46e8a4(0x1e7)]&&this[_0x46e8a4(0x1e7)][_0x46e8a4(0x1d6)][_0x46e8a4(0x1eb)](_0x46e8a4(0x1c0));}));}[_0x11fe38(0x1bf)](){const _0x3400e9=_0x11fe38;this[_0x3400e9(0x1cb)]=!0x1,this[_0x3400e9(0x1e7)]&&this[_0x3400e9(0x1e7)][_0x3400e9(0x1d6)][_0x3400e9(0x1eb)](_0x3400e9(0x1c0));}[_0x11fe38(0x1f4)](_0x583946,_0x2562a2,_0x2d61aa){const _0x238bc7=_0x11fe38;this[_0x238bc7(0x1ca)](_0x238bc7(0x1fa),_0x583946[_0x238bc7(0x1fa)]),this[_0x238bc7(0x1ca)](_0x238bc7(0x1b9),!0x0),this[_0x238bc7(0x1ca)](_0x238bc7(0x1c6),_0x583946[_0x238bc7(0x1e8)]),this[_0x238bc7(0x1ca)]('id',_0x583946[_0x238bc7(0x1d1)]),this[_0x238bc7(0x1ca)](_0x238bc7(0x1d5),_0x2562a2),this[_0x238bc7(0x1ca)](_0x238bc7(0x1c7),_0x2d61aa);}[_0x11fe38(0x1c5)](){const _0x45c280=_0x11fe38,_0x320ff7=this[_0x45c280(0x1ea)](),_0x1148a2=this[_0x45c280(0x1ba)](),_0x4e3b8d=this[_0x45c280(0x1e5)];this[_0x45c280(0x1ee)]({'tag':_0x45c280(0x1c9),'attributes':this[_0x45c280(0x1da)](_0x4e3b8d),'children':this[_0x45c280(0x1be)](_0x320ff7,_0x1148a2,_0x4e3b8d)});}[_0x11fe38(0x1da)](_0xe2ec3b){const _0x5c8251=_0x11fe38;return{'class':[bn,_0xe2ec3b['if'](_0x5c8251(0x1c6),En,_0x3a6136=>_0x5c8251(0x1d7)==_0x3a6136),_0xe2ec3b['if'](_0x5c8251(0x1c6),Tn,_0x4d0677=>_0x5c8251(0x1df)==_0x4d0677)],'data-cke-tooltip-text':_0xe2ec3b['to'](_0x5c8251(0x1fa),On),'data-cke-tooltip-position':In,'data-cke-tooltip-class':Cn};}[_0x11fe38(0x1be)](_0x41a300,_0x118230,_0x4ceb83){const _0x54ef47=_0x11fe38,_0x2764ea=this[_0x54ef47(0x1f7)](_0x4ceb83),_0x4dfc9b=this[_0x54ef47(0x1b8)]();return this[_0x54ef47(0x1d5)]?[_0x41a300,_0x2764ea]:[_0x41a300,_0x4dfc9b,_0x2764ea,_0x118230];}[_0x11fe38(0x1f7)](_0x59796f){const _0x30a0ef=_0x11fe38;return{'tag':_0x30a0ef(0x1f3),'attributes':{'class':fn},'children':[{'text':_0x59796f['to'](_0x30a0ef(0x1fa))}]};}[_0x11fe38(0x1ba)](){const _0x4363e2=_0x11fe38,_0x49a42b=new _0x5b0147(this[_0x4363e2(0x1d4)]);return _0x49a42b[_0x4363e2(0x1ca)]({'label':_0xe00ad(this[_0x4363e2(0x1d4)],_0x4363e2(0x1dc)),'icon':_0x1b2896}),this[_0x4363e2(0x1d8)](_0x49a42b),_0x49a42b;}[_0x11fe38(0x1d8)](_0x5e8293){const _0x771522=_0x11fe38;_0x5e8293['on'](_0x771522(0x1f8),()=>{const _0x10dc6e=_0x771522;this[_0x10dc6e(0x1d0)](_0x10dc6e(0x1c1),this['id']);});}[_0x11fe38(0x1ea)](){const _0x57cca4=_0x11fe38,_0x2e0c80=this[_0x57cca4(0x1e5)],_0x8aaba4=new _0xf2bace();return _0x8aaba4[_0x57cca4(0x1ef)]=xn[this[_0x57cca4(0x1c6)]],_0x8aaba4[_0x57cca4(0x1bb)]({'attributes':{'class':[An,_0x2e0c80['if'](_0x57cca4(0x1c7),_0x57cca4(0x1c3),_0x2783dc=>_0x2783dc)]}}),_0x8aaba4;}[_0x11fe38(0x1d2)](_0x2e6395,_0x1ee5eb){const _0x3ec930=_0x11fe38;if(!_0x2e6395)return;const _0x3b66f0=()=>{const _0x1410cb=_0x1c8a;_0x1ee5eb(),_0x2e6395[_0x1410cb(0x1cf)](_0x1410cb(0x1bd),_0x3b66f0),_0x2e6395[_0x1410cb(0x1cf)](_0x1410cb(0x1cc),_0x3b66f0);};_0x2e6395[_0x3ec930(0x1ce)](_0x3ec930(0x1bd),_0x3b66f0),_0x2e6395[_0x3ec930(0x1ce)](_0x3ec930(0x1cc),_0x3b66f0);}[_0x11fe38(0x1b8)](){const _0x430163=_0x11fe38,_0x2318f8=new _0x39d884(_0x430163(0x1c8));return _0x2318f8[_0x430163(0x1f0)](_0x430163(0x1e3))['to'](this,_0x430163(0x1c7),_0x316499=>_0x316499),_0x2318f8;}}function On(_0x18a065){const _0x7e18b0=_0x11fe38;if(!_0x18a065)return _0x18a065;if(_0x18a065[_0x7e18b0(0x1f5)]<=0x78)return _0x18a065;const _0x22f09a=_0x18a065[_0x7e18b0(0x1d9)](0x0,0x78),_0x14137e=_0x22f09a[_0x7e18b0(0x1de)]('\x20');return(_0x14137e>0x0?_0x22f09a[_0x7e18b0(0x1d9)](0x0,_0x14137e):_0x22f09a)+'…';}
|
|
@@ -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 _0x253127=_0x1250;function _0xe705(){const _0x452691=['AI_CHAT_CONTEXT_URL_ADD_URL','shift+tab','77232MkXUSj','confirmButton','element','AI_CHAT_CONTEXT_URL_INVALID_ERROR','esc','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','add','6452YnwWlj','_createUrlInputField','listenTo','23278ktBgnM','change:withBackButton','setError','render','_setupTemplate','focus','submit','children','getValue','refreshBalloon','value','div','3282059kuHDFE','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','4000320RrQfZy','\x20ck-hidden','destroy','submitUrl','20wQNxhj','isEnabled','backButton','trim','tab','keystrokes','cancel','ck-labeled-field-view_empty','ck-button-icon','locale','_handleSubmit','ck-button-icon\x20ck-button-back','setTemplate','fire','focusTracker','ck-ai-chat-context-controls__url-input-section','_createConfirmButton','length','urlInputField','createCollection','_setupEventHandlers','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','withBackButton','3100mjhwQx','clearError','set','form','ck-ai-chat-context-controls__url-form','9FCdymk','_updateConfirmButtonState','execute','focusCycler','errorText','input','_createBackButton','clear','_focusables','fieldView','3293544qLnJol','AI_CHAT_CONTEXT_URL_LABEL','stop','298494glOcun','AI_CHAT_CONTEXT_URL_PLACEHOLDER','8OeLkSP','_setupKeystrokes','28VVUVpA','forEach','_isValidUrl'];_0xe705=function(){return _0x452691;};return _0xe705();}(function(_0x7a2edd,_0x2afa07){const _0x54b2ea=_0x1250,_0x4d098f=_0x7a2edd();while(!![]){try{const _0x34ee29=-parseInt(_0x54b2ea(0x1d2))/0x1*(-parseInt(_0x54b2ea(0x1e3))/0x2)+-parseInt(_0x54b2ea(0x1d0))/0x3+-parseInt(_0x54b2ea(0x1e0))/0x4*(-parseInt(_0x54b2ea(0x1be))/0x5)+parseInt(_0x54b2ea(0x1d9))/0x6*(parseInt(_0x54b2ea(0x1d4))/0x7)+parseInt(_0x54b2ea(0x1cd))/0x8*(parseInt(_0x54b2ea(0x1c3))/0x9)+parseInt(_0x54b2ea(0x1f5))/0xa*(-parseInt(_0x54b2ea(0x1ef))/0xb)+-parseInt(_0x54b2ea(0x1f1))/0xc;if(_0x34ee29===_0x2afa07)break;else _0x4d098f['push'](_0x4d098f['shift']());}catch(_0x459677){_0x4d098f['push'](_0x4d098f['shift']());}}}(_0xe705,0x809a5));import{FocusTracker as _0x487c0d,KeystrokeHandler as _0x562b6c}from'ckeditor5/src/utils.js';function _0x1250(_0x4cced8,_0x37aa2a){const _0xe7058a=_0xe705();return _0x1250=function(_0x12503a,_0x57176d){_0x12503a=_0x12503a-0x1b6;let _0x41c2df=_0xe7058a[_0x12503a];return _0x41c2df;},_0x1250(_0x4cced8,_0x37aa2a);}import{ButtonView as _0x2efc6a,FocusCycler as _0x434548,LabeledFieldView as _0x17f395,View as _0x50b419,FormHeaderView as _0xa856bd,createLabeledInputText as _0x496caa,submitHandler as _0x333e97}from'ckeditor5/src/ui.js';import{IconCheck as _0x30a4f2,IconPreviousArrow as _0x3c5cb1}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x557467}from'../../../aicore/utils/common-translations.js';const nh=_0x253127(0x1c2),lh=_0x253127(0x1b6);export class AIChatContextPanelUrlInputView extends _0x50b419{[_0x253127(0x203)];[_0x253127(0x1fa)];[_0x253127(0x1cb)];[_0x253127(0x1c6)];[_0x253127(0x1b9)];[_0x253127(0x1f7)];[_0x253127(0x1da)];constructor(_0x1db915){const _0x177121=_0x253127;super(_0x1db915),this[_0x177121(0x203)]=new _0x487c0d(),this[_0x177121(0x1fa)]=new _0x562b6c(),this[_0x177121(0x1f7)]=this[_0x177121(0x1c9)](),this[_0x177121(0x1b9)]=this[_0x177121(0x1e1)](),this[_0x177121(0x1da)]=this[_0x177121(0x1b7)](),this[_0x177121(0x1cb)]=this[_0x177121(0x1ba)]([this[_0x177121(0x1f7)],this[_0x177121(0x1b9)],this[_0x177121(0x1da)]]),this[_0x177121(0x1c6)]=new _0x434548({'focusables':this[_0x177121(0x1cb)],'focusTracker':this[_0x177121(0x203)],'keystrokeHandler':this[_0x177121(0x1fa)],'actions':{'focusPrevious':_0x177121(0x1d8),'focusNext':_0x177121(0x1f9)}}),this[_0x177121(0x1c0)](_0x177121(0x1bd),!0x0),this[_0x177121(0x1e7)](),this[_0x177121(0x1bb)](),this[_0x177121(0x1d3)]();}[_0x253127(0x1e6)](){const _0x7aa57c=_0x253127;super[_0x7aa57c(0x1e6)](),this[_0x7aa57c(0x1cb)][_0x7aa57c(0x1d5)](_0x5db1f8=>{const _0x354efd=_0x7aa57c;this[_0x354efd(0x203)][_0x354efd(0x1df)](_0x5db1f8[_0x354efd(0x1db)]),this[_0x354efd(0x1fa)][_0x354efd(0x1e2)](_0x5db1f8[_0x354efd(0x1db)]);}),_0x333e97({'view':this}),this[_0x7aa57c(0x1e8)]();}[_0x253127(0x1f3)](){const _0x449914=_0x253127;super[_0x449914(0x1f3)](),this[_0x449914(0x203)][_0x449914(0x1f3)](),this[_0x449914(0x1fa)][_0x449914(0x1f3)]();}[_0x253127(0x1e8)](){const _0x1e8160=_0x253127;this[_0x1e8160(0x1b9)][_0x1e8160(0x1e8)]();}[_0x253127(0x1eb)](){const _0x250c2e=_0x253127;return this[_0x250c2e(0x1b9)][_0x250c2e(0x1cc)][_0x250c2e(0x1db)]?.[_0x250c2e(0x1ed)]?.[_0x250c2e(0x1f8)]()||'';}[_0x253127(0x1ca)](){const _0x1aa27d=_0x253127;this[_0x1aa27d(0x1b9)][_0x1aa27d(0x1cc)][_0x1aa27d(0x1db)][_0x1aa27d(0x1ed)]='',this[_0x1aa27d(0x1b9)][_0x1aa27d(0x1c7)]=null,this[_0x1aa27d(0x1da)][_0x1aa27d(0x1f6)]=!0x1;}[_0x253127(0x1e5)](_0x38251c){const _0x127899=_0x253127;this[_0x127899(0x1b9)][_0x127899(0x1c7)]=_0x38251c,this[_0x127899(0x1c4)](),this[_0x127899(0x202)](_0x127899(0x1ec));}[_0x253127(0x1bf)](){const _0x2ef4ba=_0x253127;this[_0x2ef4ba(0x1b9)][_0x2ef4ba(0x1c7)]=null,this[_0x2ef4ba(0x1c4)]();}[_0x253127(0x1c9)](){const _0x48b9c7=_0x253127,_0x1e73af=new _0x2efc6a(this[_0x48b9c7(0x1fe)]);return _0x1e73af[_0x48b9c7(0x1c0)]({'icon':_0x3c5cb1,'tooltip':_0x557467(this[_0x48b9c7(0x1fe)],_0x48b9c7(0x1de)),'tooltipPosition':'n','class':[_0x48b9c7(0x200)]}),this['on'](_0x48b9c7(0x1e4),(_0x13dc13,_0x3a6621,_0xabbddc)=>{const _0x3ec1a4=_0x48b9c7;_0x1e73af[_0x3ec1a4(0x1c0)]({'class':[_0x3ec1a4(0x200)+(_0xabbddc?'':_0x3ec1a4(0x1f2))]});}),_0x1e73af;}[_0x253127(0x1e1)](){const _0x163acc=_0x253127,_0x18b43a=new _0x17f395(this[_0x163acc(0x1fe)],_0x496caa);return _0x18b43a[_0x163acc(0x1c0)]({'label':_0x557467(this[_0x163acc(0x1fe)],_0x163acc(0x1ce)),'class':_0x163acc(0x1fc)}),_0x18b43a[_0x163acc(0x1cc)][_0x163acc(0x1c0)]({'placeholder':_0x557467(this[_0x163acc(0x1fe)],_0x163acc(0x1d1))}),_0x18b43a;}[_0x253127(0x1b7)](){const _0x35902f=_0x253127,_0x26b53c=new _0x2efc6a(this[_0x35902f(0x1fe)]);return _0x26b53c[_0x35902f(0x1c0)]({'icon':_0x30a4f2,'tooltip':_0x557467(this[_0x35902f(0x1fe)],_0x35902f(0x1d7)),'tooltipPosition':'n','class':_0x35902f(0x1fd),'type':_0x35902f(0x1e9),'isEnabled':!0x1}),_0x26b53c;}[_0x253127(0x1e7)](){const _0x265ba1=_0x253127,_0x4bae69=new _0xa856bd(this[_0x265ba1(0x1fe)],{'label':_0x557467(this[_0x265ba1(0x1fe)],_0x265ba1(0x1d7)),'class':_0x265ba1(0x1bc)});_0x4bae69[_0x265ba1(0x1ea)][_0x265ba1(0x1df)](this[_0x265ba1(0x1f7)],0x0),this[_0x265ba1(0x201)]({'tag':_0x265ba1(0x1c1),'attributes':{'class':nh,'tabindex':'-1'},'children':[_0x4bae69,{'tag':_0x265ba1(0x1ee),'attributes':{'class':lh},'children':[this[_0x265ba1(0x1b9)],this[_0x265ba1(0x1da)]]}]});}[_0x253127(0x1bb)](){const _0x1e03b6=_0x253127;this[_0x1e03b6(0x1f7)]['on'](_0x1e03b6(0x1c5),()=>{const _0x33ecb5=_0x1e03b6;this[_0x33ecb5(0x1ca)](),this[_0x33ecb5(0x202)](_0x33ecb5(0x1fb));}),this[_0x1e03b6(0x1b9)][_0x1e03b6(0x1cc)]['on'](_0x1e03b6(0x1c8),()=>{const _0x1b6c51=_0x1e03b6;this[_0x1b6c51(0x1bf)](),this[_0x1b6c51(0x1c4)](),this[_0x1b6c51(0x202)](_0x1b6c51(0x1ec));}),this['on'](_0x1e03b6(0x1e9),_0x5ebaf0=>{const _0x2be21f=_0x1e03b6;_0x5ebaf0[_0x2be21f(0x1cf)](),this[_0x2be21f(0x1ff)]();});}[_0x253127(0x1d3)](){const _0x1debba=_0x253127;this[_0x1debba(0x1fa)][_0x1debba(0x1c0)](_0x1debba(0x1dd),(_0x39782f,_0x48c5f8)=>{const _0x24b9ec=_0x1debba;this[_0x24b9ec(0x1ca)](),this[_0x24b9ec(0x202)](_0x24b9ec(0x1fb)),_0x48c5f8();});}[_0x253127(0x1ff)](){const _0x16bb64=_0x253127,_0x57fe81=this[_0x16bb64(0x1eb)]()[_0x16bb64(0x1f8)]();_0x57fe81?this[_0x16bb64(0x1d6)](_0x57fe81)?(this[_0x16bb64(0x1bf)](),this[_0x16bb64(0x202)](_0x16bb64(0x1f4),_0x57fe81)):this[_0x16bb64(0x1e5)](_0x557467(this[_0x16bb64(0x1fe)],_0x16bb64(0x1dc))):this[_0x16bb64(0x1e5)](_0x557467(this[_0x16bb64(0x1fe)],_0x16bb64(0x1f0)));}[_0x253127(0x1c4)](){const _0x9c41e3=_0x253127,_0x2c7e82=this[_0x9c41e3(0x1eb)]()[_0x9c41e3(0x1f8)](),_0x4fbe1e=!!this[_0x9c41e3(0x1b9)][_0x9c41e3(0x1c7)];this[_0x9c41e3(0x1da)][_0x9c41e3(0x1f6)]=_0x2c7e82[_0x9c41e3(0x1b8)]>0x0&&!_0x4fbe1e;}[_0x253127(0x1d6)](_0x1ec7e5){try{return!!new URL(_0x1ec7e5);}catch{return!0x1;}}}
|
|
@@ -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 _0x46cdf6=_0x4658;(function(_0x34638a,_0xbe4b98){const _0x4051bc=_0x4658,_0xeb45ab=_0x34638a();while(!![]){try{const _0x29f765=-parseInt(_0x4051bc(0xfe))/0x1+parseInt(_0x4051bc(0x8f))/0x2+parseInt(_0x4051bc(0x9e))/0x3+-parseInt(_0x4051bc(0x10c))/0x4*(-parseInt(_0x4051bc(0xe1))/0x5)+parseInt(_0x4051bc(0xa4))/0x6+parseInt(_0x4051bc(0xf2))/0x7+-parseInt(_0x4051bc(0xdb))/0x8;if(_0x29f765===_0xbe4b98)break;else _0xeb45ab['push'](_0xeb45ab['shift']());}catch(_0x59a324){_0xeb45ab['push'](_0xeb45ab['shift']());}}}(_0x3991,0x6bebd));function _0x3991(){const _0x3277b7=['locale','44143DVMSps','_showSourceResourcesBalloon','add','balloonView','AI_CHAT_CONTEXT_ADD_CONTEXT','setContextItemLoading','done','_createAddContextBalloonPanelView','addContextButtonView','_createContextButton','customItems','icon','bind','populateSourceResourceBalloon','2064nVDyYc','isVisible','_setupUrlBalloonClickOutsideHandler','_setupAllBalloonClickOutsideHandlers','_setupTemplate','createCollection','showSourceResourcesBalloon','_urlBalloonPanelView','clear','executeCustomItemCallback','setConversationContext','loadSourceResources','_setBalloonPanelContent','northArrowSouthEast','ck-ai-chat-context-controls__add-context-button','searchInputVisibleFrom','execute','show','bodyCollection','label','ck-reset_all-excluded','closest','length','addResourceToContext','344582wFFzhY','_createUrlBalloonPanelView','_handleUrlSubmit','focus','customItem','buttonView','ck-ai-chat-context-controls__url-balloon-panel','_createResourcesBalloonView','hide','fire','_addUrlContent','showAddContextBalloonPanel','setContainerElement','_createAddContextButtonView','ck-ai-chat-controls_context_show-more-button','680337zqVAJX','arrowView','render','set','sources','_addContextBalloonPanelView','461562TKacAM','pin','_conversationContextsChips','isEnabled','_addContextBalloonConfig','addContextItem','southArrowNorth','_setupAddContextBalloonClickOutsideHandler','_createBaseBalloonPanel','overflowChips','removeContextItemChip','isHidden','element','isReadOnly','isLoading','conversation','_createBalloonButton','destroy','setAddContextOptions','find','ck-ai-chat-context-controls__balloon-button-source','source','cancel','submitUrl','addUrlToContext','_getLimiterElement','_createArrowView','removeContextItem','AI_CHAT_CONTEXT_URL_LABEL','closeSourceResourceBalloon','children','addFileToContext','_addContextToCollection','_handleAddContextButtonClick','ck-ai-chat-context-controls__add-context-balloon-panel','_hasExactlyOneSource','refreshBalloon','enabled','current','ck-ai-chat','urls','northArrowSouthWest','ck-ai-chat-context-controls__pending-contexts','_setAddContextButtonEnabled','ck-ai-chat-context-controls','body','AI_CHAT_CONTEXT_FILE_LABEL','_removeContextFromCollection','isAnyResourceBalloonVisible','ck-ai-chat-controls-button','remove','southArrowNorthEast','_overflowManager','menuitem','clearCurrentContextItems','4917152oGyHMS','get','tooltip','document','showUrlBalloonPanel','type','380rfyfQB','div','ck-ai-chat-context-chips-wrapper-balloon','defaultPositions','__arrow','reorganizeChips','_bindEventHandlers','updateResourceState','hideAddContextBalloonPanel','southArrowNorthWest','_toggleAddContextBalloon','clearConversationContextItems','content','northArrowSouth','_resourcesBalloonView','_currentContextsChips','withBackButton','4099333fgCgJm','_urlInputView','addDocumentToContext','isOn','setTemplate','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','extendTemplate','hideUrlBalloonPanel','ck-ai-chat-context-controls__balloon-button','files','ck-ai-chat-context-controls__show-more-balloon-panel'];_0x3991=function(){return _0x3277b7;};return _0x3991();}import{BalloonPanelView as _0x168f2e,ButtonView as _0x3d5c06,clickOutsideHandler as _0x3ec0d8,FileDialogButtonView as _0x4b3811,IconView as _0x366d16,View as _0x1dc98b}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x1cf317,IconDocument as _0x47234e,IconDocumentOutline as _0x4fd791,IconDropdownArrow as _0xcb40fe,IconLink as _0x3e9d1e,IconPaperClip as _0x195237}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x46a735}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x1b918a}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x14b0ab}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x37f3fa}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0xfd6c5d}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x46cdf6(0xf4),_0x46cdf6(0xc3),_0x46cdf6(0xbc),_0x46cdf6(0x8e),_0x46cdf6(0xbf),_0x46cdf6(0x82),_0x46cdf6(0x115)];const Ro=_0x46cdf6(0xd0),So=_0x46cdf6(0xce),Oo=_0x46cdf6(0xc6),Uo=_0x46cdf6(0x85),Lo=_0x46cdf6(0x95),No=_0x46cdf6(0xfa),Ho=_0x46cdf6(0xb8),jo=_0x46cdf6(0xd5),Fo=_0x46cdf6(0xe3),Bo=_0x46cdf6(0x9d),Mo=_0x46cdf6(0xfc),Xo=_0x46cdf6(0xcb),yo=[_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0xcd)],_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0xee)],_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0x84)],_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0xea)],_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0xaa)],_0x168f2e[_0x46cdf6(0xe4)][_0x46cdf6(0xd7)]];function _0x4658(_0x430a8a,_0x3edb6c){const _0x3991df=_0x3991();return _0x4658=function(_0x465810,_0x473861){_0x465810=_0x465810-0x82;let _0x4afd33=_0x3991df[_0x465810];return _0x4afd33;},_0x4658(_0x430a8a,_0x3edb6c);}export class AIChatContextPanelView extends _0x1dc98b{[_0x46cdf6(0x106)];[_0x46cdf6(0xf0)]=this[_0x46cdf6(0x111)]();[_0x46cdf6(0xa6)]=this[_0x46cdf6(0x111)]();[_0x46cdf6(0xd8)];[_0x46cdf6(0xa3)];[_0x46cdf6(0x113)];[_0x46cdf6(0xf3)];[_0x46cdf6(0xef)];[_0x46cdf6(0xa8)];[_0x46cdf6(0xc7)]=!0x1;[_0x46cdf6(0x89)];constructor(_0x1cfad2,_0x4fea3a){const _0x3bddd6=_0x46cdf6;super(_0x1cfad2),this[_0x3bddd6(0x89)]=_0x4fea3a[_0x3bddd6(0x89)],this[_0x3bddd6(0xf0)]=this[_0x3bddd6(0x111)](),this[_0x3bddd6(0xa6)]=this[_0x3bddd6(0x111)](),this[_0x3bddd6(0x106)]=this[_0x3bddd6(0x9c)](_0x1cfad2),this[_0x3bddd6(0xa3)]=this[_0x3bddd6(0x105)](_0x1cfad2),this[_0x3bddd6(0x113)]=this[_0x3bddd6(0x90)](_0x1cfad2),this[_0x3bddd6(0xef)]=this[_0x3bddd6(0x96)](_0x1cfad2,_0x4fea3a);const _0x5172f6={'cssClasses':{'showMoreButton':Bo,'showMoreBalloon':Mo,'overflowContainer':Fo,'controlsButton':jo}};this[_0x3bddd6(0xd8)]=new _0x14b0ab(_0x1cfad2,this[_0x3bddd6(0xf0)],_0x5172f6,this[_0x3bddd6(0x89)],this),this[_0x3bddd6(0xa8)]={'buttonView':this[_0x3bddd6(0x106)],'balloonView':this[_0x3bddd6(0xa3)],'hideMethod':this[_0x3bddd6(0xe9)][_0x3bddd6(0x10a)](this),'showMethod':this[_0x3bddd6(0x9a)][_0x3bddd6(0x10a)](this)},this[_0x3bddd6(0x110)](),this[_0x3bddd6(0xe7)]();}[_0x46cdf6(0xa0)](){const _0x19e662=_0x46cdf6;super[_0x19e662(0xa0)](),this[_0x19e662(0x10f)](),this[_0x19e662(0xd8)][_0x19e662(0x9b)](this[_0x19e662(0xb0)]),this[_0x19e662(0xd8)][_0x19e662(0xe6)]();}[_0x46cdf6(0xb5)](){const _0x4fbea9=_0x46cdf6;super[_0x4fbea9(0xb5)](),this[_0x4fbea9(0xd8)][_0x4fbea9(0xb5)](),this[_0x4fbea9(0xef)][_0x4fbea9(0xb5)]();}[_0x46cdf6(0xa9)](_0x4be848,_0x5547d3){const _0x4cc02f=_0x46cdf6,_0x5aa2ee=this[_0x4cc02f(0x107)](_0x4be848,_0x4cc02f(0xca),!0x0,_0x5547d3);this[_0x4cc02f(0xc4)](_0x5aa2ee,this[_0x4cc02f(0xf0)]),this[_0x4cc02f(0xd8)][_0x4cc02f(0xe6)]();}[_0x46cdf6(0xbf)](_0x4acac4){const _0xd69216=_0x46cdf6;this[_0xd69216(0xd3)](_0x4acac4,this[_0xd69216(0xf0)]),this[_0xd69216(0xd3)](_0x4acac4,this[_0xd69216(0xd8)][_0xd69216(0xad)]),this[_0xd69216(0xd8)][_0xd69216(0xe6)]();}[_0x46cdf6(0x103)](_0x41b72c,_0x3e7820){const _0x1413dd=_0x46cdf6;let _0x49f9bc=this[_0x1413dd(0xf0)][_0x1413dd(0xb7)](_0xd1b348=>_0xd1b348['id']===_0x41b72c);_0x49f9bc||(_0x49f9bc=this[_0x1413dd(0xd8)][_0x1413dd(0xad)][_0x1413dd(0xb7)](_0x2e81f0=>_0x2e81f0['id']===_0x41b72c)),_0x49f9bc&&(_0x49f9bc[_0x1413dd(0xb2)]=_0x3e7820);}[_0x46cdf6(0x116)](_0x80eb4f){const _0x3f46bd=_0x46cdf6;this[_0x3f46bd(0xa6)][_0x3f46bd(0x114)]();for(const _0x5588cd of _0x80eb4f){const _0x607e2=this[_0x3f46bd(0x107)](_0x5588cd,_0x3f46bd(0xb3),!0x1,!0x1);this[_0x3f46bd(0xc4)](_0x607e2,this[_0x3f46bd(0xa6)]);}}[_0x46cdf6(0xda)](){const _0x4f7614=_0x46cdf6;this[_0x4f7614(0xf0)][_0x4f7614(0x114)](),this[_0x4f7614(0xd8)][_0x4f7614(0x114)]();}[_0x46cdf6(0xec)](){const _0x4fb80b=_0x46cdf6;this[_0x4fb80b(0xa6)][_0x4fb80b(0x114)]();}[_0x46cdf6(0xe8)](_0xa5e00e,_0x53b9cf,_0x543354){const _0x53b15f=_0x46cdf6;this[_0x53b15f(0xef)][_0x53b15f(0xe8)](_0xa5e00e,_0x53b9cf,_0x543354);}[_0x46cdf6(0xe9)](){const _0x10d368=_0x46cdf6;this[_0x10d368(0xeb)](!0x1);}[_0x46cdf6(0x9a)](){const _0x4e660a=_0x46cdf6;this[_0x4e660a(0xeb)](!0x0);}[_0x46cdf6(0xf9)](){const _0x8c672e=_0x46cdf6;this[_0x8c672e(0x113)][_0x8c672e(0x97)](),this[_0x8c672e(0x106)][_0x8c672e(0xf5)]=!0x1,this[_0x8c672e(0xf3)]&&this[_0x8c672e(0xf3)][_0x8c672e(0x114)]();}[_0x46cdf6(0xdf)](){const _0x111a16=_0x46cdf6;this[_0x111a16(0x113)][_0x111a16(0x88)](),this[_0x111a16(0x106)][_0x111a16(0xf5)]=!0x0;}[_0x46cdf6(0xff)]({source:_0x3b6987,withBackButton:_0x571505}){const _0x1ec66d=_0x46cdf6;this[_0x1ec66d(0xef)][_0x1ec66d(0x112)]({'source':_0x3b6987,'withBackButton':_0x571505}),this[_0x1ec66d(0x106)][_0x1ec66d(0xf5)]=!0x0;}[_0x46cdf6(0x10b)](_0x9c81f0,_0x483e37,_0x292c16,_0x5d7668){const _0x127f22=_0x46cdf6;this[_0x127f22(0xef)][_0x127f22(0x10b)](_0x9c81f0,_0x292c16,_0x5d7668);}[_0x46cdf6(0xc1)](_0x5b382a){const _0x25ece9=_0x46cdf6;this[_0x25ece9(0xef)][_0x25ece9(0xc1)](_0x5b382a),this[_0x25ece9(0x106)][_0x25ece9(0xf5)]=!0x1;}[_0x46cdf6(0xb6)](_0x451634){const _0x25054b=_0x46cdf6;this[_0x25054b(0x83)](this[_0x25054b(0xa3)],this[_0x25054b(0xfd)],_0x451634),this[_0x25054b(0xcf)](_0x451634);}[_0x46cdf6(0xcf)](_0x27fffc){const _0x4e0439=_0x46cdf6,_0x1e3dd8=!_0x27fffc[_0x4e0439(0xde)][_0x4e0439(0xaf)]&&_0x27fffc[_0x4e0439(0xde)][_0x4e0439(0xc9)],_0x399c90=_0x27fffc[_0x4e0439(0xcc)][_0x4e0439(0xc9)],_0x42819b=_0x27fffc[_0x4e0439(0xfb)][_0x4e0439(0xc9)],_0x3e9ebe=_0x27fffc[_0x4e0439(0xa2)][_0x4e0439(0x8d)]>0x0,_0x37033b=_0x27fffc[_0x4e0439(0x108)]&&_0x27fffc[_0x4e0439(0x108)][_0x4e0439(0x8d)]>0x0;this[_0x4e0439(0x106)][_0x4e0439(0xa7)]=_0x1e3dd8||_0x399c90||_0x42819b||_0x3e9ebe||_0x37033b;}[_0x46cdf6(0x110)](){const _0x2f52b7=_0x46cdf6;this[_0x2f52b7(0xf6)]({'tag':_0x2f52b7(0xe2),'attributes':{'class':[Ro,_0x2f52b7(0x8b)]},'children':[{'tag':_0x2f52b7(0xe2),'attributes':{'class':So},'children':this[_0x2f52b7(0xf0)]}]});}[_0x46cdf6(0xe7)](){const _0x43d981=_0x46cdf6;this[_0x43d981(0x106)]['on'](_0x43d981(0x87),()=>{const _0x4dbee2=_0x43d981;this[_0x4dbee2(0xc5)]();});}[_0x46cdf6(0x9c)](_0x264450){const _0x222eab=_0x46cdf6,_0x1d3270=new _0x3d5c06(_0x264450);return _0x1d3270[_0x222eab(0xa1)]({'label':_0x37f3fa(_0x264450,_0x222eab(0x102)),'class':jo+'\x20'+Uo,'icon':_0x195237,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x1d3270;}[_0x46cdf6(0x105)](_0x5c8af6){const _0x326cab=_0x46cdf6;return this[_0x326cab(0xac)](_0x5c8af6,Oo);}[_0x46cdf6(0x90)](_0x5ab1ad){const _0x115e40=_0x46cdf6,_0x1a4ef5=this[_0x115e40(0xac)](_0x5ab1ad,Lo);return this[_0x115e40(0x99)](_0x1a4ef5,_0x5ab1ad),_0x1a4ef5;}[_0x46cdf6(0x96)](_0x3345a3,_0x26f7b7){const _0x2efe76=_0x46cdf6,_0x51a801={'searchInputVisibleFrom':_0x26f7b7[_0x2efe76(0x86)],'onBackToContext':()=>{const _0x4a9ca9=_0x2efe76;this[_0x4a9ca9(0x9a)](),this[_0x4a9ca9(0xa3)][_0x4a9ca9(0xa5)]({'target':this[_0x4a9ca9(0x106)][_0x4a9ca9(0xb0)],'limiter':this[_0x4a9ca9(0xbd)](),'positions':yo});},'onResourceSelected':(_0x4edb1a,_0x574665)=>{const _0x39ce1a=_0x2efe76;this[_0x39ce1a(0x98)](_0x39ce1a(0x8e),{'source':_0x4edb1a,'resource':_0x574665});},'onLoadSourceResources':_0x53663a=>{const _0x172b7e=_0x2efe76;this[_0x172b7e(0x98)](_0x172b7e(0x82),_0x53663a);},'onBalloonClosed':()=>{const _0x157ad0=_0x2efe76;this[_0x157ad0(0x106)][_0x157ad0(0xf5)]=!0x1;},'getLimiterElement':()=>this[_0x2efe76(0xbd)](),'getTargetElement':()=>this[_0x2efe76(0x106)][_0x2efe76(0xb0)]};return new _0xfd6c5d(_0x3345a3,_0x26f7b7[_0x2efe76(0x89)],_0x51a801);}[_0x46cdf6(0xbd)](){const _0x310074=_0x46cdf6;return this[_0x310074(0xb0)]?.[_0x310074(0x8c)]('.'+Xo)||document[_0x310074(0xd1)];}[_0x46cdf6(0xac)](_0x27c6eb,_0x483575){const _0x20ac1d=_0x46cdf6,_0xcb0142=new _0x168f2e(_0x27c6eb);return _0xcb0142[_0x20ac1d(0xf8)]({'attributes':{'class':_0x483575}}),this[_0x20ac1d(0x89)][_0x20ac1d(0x100)](_0xcb0142),_0xcb0142;}[_0x46cdf6(0x83)](_0x33530d,_0x172a25,_0x5282a3){const _0x1145f6=_0x46cdf6;if(_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x114)](),!_0x5282a3[_0x1145f6(0xde)][_0x1145f6(0xaf)]&&_0x5282a3[_0x1145f6(0xde)][_0x1145f6(0xc9)]){const _0x3a8db0=this[_0x1145f6(0xb4)](_0x172a25,{'label':_0x37f3fa(_0x172a25,_0x1145f6(0xf7)),'icon':_0x47234e});_0x3a8db0['on'](_0x1145f6(0x87),()=>{const _0xd99717=_0x1145f6;this[_0xd99717(0x98)](_0xd99717(0xf4)),this[_0xd99717(0xe9)]();}),_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x100)](_0x3a8db0);}if(_0x5282a3[_0x1145f6(0xcc)][_0x1145f6(0xc9)]){const _0xda35b7=this[_0x1145f6(0xb4)](_0x172a25,{'label':_0x37f3fa(_0x172a25,_0x1145f6(0xc0)),'icon':_0x3e9d1e});_0xda35b7['on'](_0x1145f6(0x87),()=>{const _0x3c0432=_0x1145f6;this[_0x3c0432(0xe9)](),this[_0x3c0432(0xdf)](),this[_0x3c0432(0x113)][_0x3c0432(0xa5)]({'target':this[_0x3c0432(0x106)][_0x3c0432(0xb0)],'limiter':this[_0x3c0432(0xbd)](),'positions':yo}),this[_0x3c0432(0xf3)][_0x3c0432(0x92)]();}),_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x100)](_0xda35b7);}if(_0x5282a3[_0x1145f6(0xfb)][_0x1145f6(0xc9)]){const _0x446dd7=new _0x4b3811(_0x172a25);_0x446dd7[_0x1145f6(0xa1)]({'label':_0x37f3fa(_0x172a25,_0x1145f6(0xd2)),'icon':_0x1cf317,'withText':!0x0,'tooltip':!0x0,'class':No,'allowMultipleFiles':!0x0}),_0x446dd7['on'](_0x1145f6(0x87),()=>{const _0x100449=_0x1145f6;this[_0x100449(0xe9)]();}),_0x446dd7['on'](_0x1145f6(0x104),(_0x377824,_0x172988)=>{const _0x30cdd4=_0x1145f6;this[_0x30cdd4(0x98)](_0x30cdd4(0xc3),_0x172988);}),_0x446dd7[_0x1145f6(0xdd)]=!0x0,_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x100)](_0x446dd7);}for(const _0x2afa65 of _0x5282a3[_0x1145f6(0xa2)]){const _0x275b98=this[_0x1145f6(0xb4)](_0x172a25,{'label':_0x2afa65[_0x1145f6(0x8a)],'icon':_0x2afa65[_0x1145f6(0x109)]||_0x4fd791,'type':_0x1145f6(0xb9)});_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x100)](_0x275b98),_0x275b98['on'](_0x1145f6(0x87),()=>{const _0x32de8a=_0x1145f6;this[_0x32de8a(0xe9)](),this[_0x32de8a(0xff)]({'source':_0x2afa65,'withBackButton':!this[_0x32de8a(0xc7)]});});}for(const _0x31df42 of _0x5282a3[_0x1145f6(0x108)]||[]){const _0x248143=this[_0x1145f6(0xb4)](_0x172a25,{'label':_0x31df42[_0x1145f6(0x8a)],'icon':_0x31df42[_0x1145f6(0x109)]||_0x4fd791,'type':_0x1145f6(0x93)});_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x100)](_0x248143),_0x248143['on'](_0x1145f6(0x87),()=>{const _0xd8fc39=_0x1145f6;this[_0xd8fc39(0xe9)](),this[_0xd8fc39(0x98)](_0xd8fc39(0x115),_0x31df42);});}this[_0x1145f6(0xc7)]=0x1===_0x33530d[_0x1145f6(0xed)][_0x1145f6(0x8d)],this[_0x1145f6(0xf3)][_0x1145f6(0xf1)]=!this[_0x1145f6(0xc7)];}[_0x46cdf6(0x99)](_0x291df2,_0x2c88a5){const _0x56322b=_0x46cdf6;this[_0x56322b(0xf3)]=new _0x1b918a(_0x2c88a5),this[_0x56322b(0xf3)]['on'](_0x56322b(0xbb),(_0x58337b,_0x41d112)=>{const _0x1a5d6b=_0x56322b;this[_0x1a5d6b(0x91)](_0x41d112);}),this[_0x56322b(0xf3)]['on'](_0x56322b(0xba),()=>{const _0x4c2a70=_0x56322b;this[_0x4c2a70(0xf9)](),this[_0x4c2a70(0xc7)]||(this[_0x4c2a70(0x9a)](),this[_0x4c2a70(0xa3)][_0x4c2a70(0xa5)]({'target':this[_0x4c2a70(0x106)][_0x4c2a70(0xb0)],'limiter':this[_0x4c2a70(0xbd)](),'positions':yo}));}),this[_0x56322b(0xf3)]['on'](_0x56322b(0xc8),()=>{const _0x3d94f1=_0x56322b;this[_0x3d94f1(0x113)][_0x3d94f1(0x10d)]&&this[_0x3d94f1(0x113)][_0x3d94f1(0xa5)]({'target':this[_0x3d94f1(0x106)][_0x3d94f1(0xb0)],'limiter':this[_0x3d94f1(0xbd)](),'positions':yo});}),_0x291df2[_0x56322b(0xed)][_0x56322b(0x100)](this[_0x56322b(0xf3)]);}[_0x46cdf6(0xb4)](_0x5ed8fe,_0x9de66c){const _0x4c5b4f=_0x46cdf6,_0x3ecfd1=_0x4c5b4f(0xb9)===_0x9de66c[_0x4c5b4f(0xe0)]?new SourcesBalloonButtonView(_0x5ed8fe):new _0x3d5c06(_0x5ed8fe);return _0x3ecfd1[_0x4c5b4f(0xa1)]({'label':_0x9de66c[_0x4c5b4f(0x8a)],'icon':_0x9de66c[_0x4c5b4f(0x109)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':No}),_0x3ecfd1;}[_0x46cdf6(0x10f)](){const _0x867b38=_0x46cdf6;this[_0x867b38(0xab)](),this[_0x867b38(0x10e)]();}[_0x46cdf6(0x10e)](){const _0x2b1871=_0x46cdf6;_0x3ec0d8({'emitter':this[_0x2b1871(0x113)],'contextElements':[this[_0x2b1871(0x113)][_0x2b1871(0xb0)]],'callback':()=>{const _0x11e1af=_0x2b1871;this[_0x11e1af(0xf9)]();},'activator':()=>this[_0x2b1871(0x113)][_0x2b1871(0x10d)]});}[_0x46cdf6(0xeb)](_0x3e2fb8){const _0x233635=_0x46cdf6,_0x4a22f3=this[_0x233635(0xa8)];_0x4a22f3[_0x233635(0x94)][_0x233635(0xf5)]=_0x3e2fb8,_0x3e2fb8?_0x4a22f3[_0x233635(0x101)][_0x233635(0x88)]():_0x4a22f3[_0x233635(0x101)][_0x233635(0x97)]();}[_0x46cdf6(0xab)](){const _0x347978=_0x46cdf6,{balloonView:_0x307e9b,buttonView:_0x1491eb,hideMethod:_0x589bcb}=this[_0x347978(0xa8)];_0x3ec0d8({'emitter':_0x307e9b,'contextElements':[_0x307e9b[_0x347978(0xb0)],_0x1491eb[_0x347978(0xb0)]],'callback':()=>{_0x589bcb();},'activator':()=>_0x1491eb[_0x347978(0xf5)]&&!this[_0x347978(0x113)][_0x347978(0x10d)]&&!this[_0x347978(0xef)][_0x347978(0xd4)]()});}[_0x46cdf6(0x107)](_0x103956,_0x2e44c1,_0x346ff0=!0x1,_0x950c83=!0x1){const _0x2c6cf2=_0x46cdf6,_0x42a088=_0x2c6cf2(0xb3)===_0x2e44c1||!0x0===_0x103956[_0x2c6cf2(0xb1)],_0x12bbc7=new _0x46a735(this[_0x2c6cf2(0xfd)],_0x103956,_0x42a088,_0x346ff0,_0x950c83);return _0x42a088||_0x12bbc7['on'](_0x2c6cf2(0xae),()=>{const _0x6cfc64=_0x2c6cf2;this[_0x6cfc64(0x98)](_0x6cfc64(0xbf),_0x12bbc7['id']);}),_0x12bbc7;}[_0x46cdf6(0xc4)](_0x307188,_0x3eb9e2){const _0x822d37=_0x46cdf6;_0x3eb9e2[_0x822d37(0x100)](_0x307188,0x0);}[_0x46cdf6(0xd3)](_0x1246a1,_0x4d6e4c){const _0x3a41bc=_0x46cdf6,_0x45492e=_0x4d6e4c[_0x3a41bc(0xb7)](_0x3c32e6=>_0x3c32e6['id']===_0x1246a1);_0x45492e&&_0x4d6e4c[_0x3a41bc(0xd6)](_0x45492e);}[_0x46cdf6(0xc5)](){const _0x578705=_0x46cdf6;this[_0x578705(0x106)][_0x578705(0xf5)]?this[_0x578705(0xe9)]():(this[_0x578705(0x9a)](),this[_0x578705(0xa3)][_0x578705(0xa5)]({'target':this[_0x578705(0x106)][_0x578705(0xb0)],'limiter':this[_0x578705(0xbd)](),'positions':yo}),this[_0x578705(0xc7)]&&this[_0x578705(0xa3)][_0x578705(0xed)][_0x578705(0xdc)](0x0)?.[_0x578705(0x98)](_0x578705(0x87)));}[_0x46cdf6(0x91)](_0x49c712){const _0x41f33b=_0x46cdf6;this[_0x41f33b(0xf3)][_0x41f33b(0x114)](),this[_0x41f33b(0xf9)](),this[_0x41f33b(0x98)](_0x41f33b(0xbc),_0x49c712);}}export class SourcesBalloonButtonView extends _0x3d5c06{[_0x46cdf6(0x9f)];constructor(_0x494d7b){const _0x414189=_0x46cdf6;super(_0x494d7b),this[_0x414189(0xa1)]({'withText':!0x0,'role':_0x414189(0xd9)}),this[_0x414189(0x9f)]=this[_0x414189(0xbe)](),this[_0x414189(0xf8)]({'attributes':{'class':[Ho]}});}[_0x46cdf6(0xa0)](){const _0x5b77d5=_0x46cdf6;super[_0x5b77d5(0xa0)](),this[_0x5b77d5(0xc2)][_0x5b77d5(0x100)](this[_0x5b77d5(0x9f)]);}[_0x46cdf6(0xbe)](){const _0x2c84d8=_0x46cdf6,_0x31b13c=new _0x366d16();return _0x31b13c[_0x2c84d8(0xed)]=_0xcb40fe,_0x31b13c[_0x2c84d8(0xf8)]({'attributes':{'class':Ho+_0x2c84d8(0xe5)}}),_0x31b13c;}}
|
|
@@ -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 _0x116620=_0x42e4;(function(_0x34b210,_0x16a691){const _0x3e239e=_0x42e4,_0x3e3c14=_0x34b210();while(!![]){try{const _0x143274=-parseInt(_0x3e239e(0x8d))/0x1*(-parseInt(_0x3e239e(0x88))/0x2)+parseInt(_0x3e239e(0x73))/0x3+parseInt(_0x3e239e(0x7e))/0x4+-parseInt(_0x3e239e(0x7d))/0x5*(parseInt(_0x3e239e(0x8b))/0x6)+parseInt(_0x3e239e(0x83))/0x7*(-parseInt(_0x3e239e(0x81))/0x8)+parseInt(_0x3e239e(0x7b))/0x9*(parseInt(_0x3e239e(0x8f))/0xa)+-parseInt(_0x3e239e(0x7c))/0xb*(parseInt(_0x3e239e(0x77))/0xc);if(_0x143274===_0x16a691)break;else _0x3e3c14['push'](_0x3e3c14['shift']());}catch(_0x49f2d3){_0x3e3c14['push'](_0x3e3c14['shift']());}}}(_0x2f5c,0x4f4f5));import{ButtonView as _0x227b3d,View as _0x35f1c0}from'ckeditor5/src/ui.js';import{IconStop as _0x3a8c94}from'ckeditor5/src/icons.js';function _0x42e4(_0x3d295d,_0x10efb0){const _0x2f5c96=_0x2f5c();return _0x42e4=function(_0x42e428,_0x55e5eb){_0x42e428=_0x42e428-0x72;let _0x507567=_0x2f5c96[_0x42e428];return _0x507567;},_0x42e4(_0x3d295d,_0x10efb0);}import{getTranslation as _0x1ff2d3}from'../../../aicore/utils/common-translations.js';function _0x2f5c(){const _0xe9e43f=['ck-ai-chat-controls-loader','_createCancelButtonView','ck-ai-button-secondary\x20ck-ai-button-stop-generating','_loaderView','4kKAIbz','AI_CHAT_STOP_GENERATING','locale','12SXGDxk','fire','222014gnRzpz','AI_CHAT_IS_WRITING','399970UQMPcV','ck-ai-chat-controls-loader-icon-dot','set','1276743AEUHNF','_createLoaderView','setTemplate','ck-ai-chat-controls-loader-wrapper','48qlViPy','execute','ck-reset_all','ck-ai-chat-controls-loader-icon','18EDWWEq','95766TZVWAU','818395VdyFee','1328840zxHNhM','abortPromptStream','_cancelButtonView','8giGnmG','div','4163446tVsJQP'];_0x2f5c=function(){return _0xe9e43f;};return _0x2f5c();}export class AIChatControlsLoaderView extends _0x35f1c0{[_0x116620(0x80)];[_0x116620(0x87)];constructor(_0x63baec){const _0x219d40=_0x116620;super(_0x63baec),this[_0x219d40(0x80)]=this[_0x219d40(0x85)](),this[_0x219d40(0x87)]=this[_0x219d40(0x74)](),this[_0x219d40(0x75)]({'tag':_0x219d40(0x82),'attributes':{'class':['ck',_0x219d40(0x76),_0x219d40(0x79)]},'children':[this[_0x219d40(0x87)],this[_0x219d40(0x80)]]});}[_0x116620(0x85)](){const _0x4d34f4=_0x116620,_0x23c448=new _0x227b3d(this[_0x4d34f4(0x8a)]);return _0x23c448[_0x4d34f4(0x72)]({'label':_0x1ff2d3(this[_0x4d34f4(0x8a)],_0x4d34f4(0x89)),'withText':!0x0,'class':_0x4d34f4(0x86),'icon':_0x3a8c94}),_0x23c448['on'](_0x4d34f4(0x78),()=>{const _0x351d0f=_0x4d34f4;this[_0x351d0f(0x8c)](_0x351d0f(0x7f));}),_0x23c448;}[_0x116620(0x74)](){const _0x32b1a4=_0x116620,_0x476aa9=new _0x35f1c0(this[_0x32b1a4(0x8a)]);return _0x476aa9[_0x32b1a4(0x75)]({'tag':_0x32b1a4(0x82),'attributes':{'class':[_0x32b1a4(0x84)]},'children':[{'tag':_0x32b1a4(0x82),'attributes':{'class':[_0x32b1a4(0x7a)]},'children':[{'tag':_0x32b1a4(0x82),'attributes':{'class':[_0x32b1a4(0x90)]}},{'tag':_0x32b1a4(0x82),'attributes':{'class':[_0x32b1a4(0x90)]}},{'tag':_0x32b1a4(0x82),'attributes':{'class':[_0x32b1a4(0x90)]}}]},{'text':_0x1ff2d3(this[_0x32b1a4(0x8a)],_0x32b1a4(0x8e))}]}),_0x476aa9;}}
|
|
@@ -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 _0x52bd13=_0x3251;(function(_0x55a2a2,_0x53bc32){const _0xb633ec=_0x3251,_0x2136b9=_0x55a2a2();while(!![]){try{const _0x296ddb=-parseInt(_0xb633ec(0x1a4))/0x1+parseInt(_0xb633ec(0x1b9))/0x2+-parseInt(_0xb633ec(0x19b))/0x3*(-parseInt(_0xb633ec(0x1d3))/0x4)+-parseInt(_0xb633ec(0x1b0))/0x5+parseInt(_0xb633ec(0x1be))/0x6+-parseInt(_0xb633ec(0x188))/0x7+parseInt(_0xb633ec(0x1e4))/0x8;if(_0x296ddb===_0x53bc32)break;else _0x2136b9['push'](_0x2136b9['shift']());}catch(_0x343176){_0x2136b9['push'](_0x2136b9['shift']());}}}(_0x47a5,0xa45b6));import{Collection as _0x204ec0}from'ckeditor5/src/utils.js';function _0x3251(_0x1dea86,_0x219e19){const _0x47a509=_0x47a5();return _0x3251=function(_0x325144,_0x93403d){_0x325144=_0x325144-0x187;let _0x3e15bc=_0x47a509[_0x325144];return _0x3e15bc;},_0x3251(_0x1dea86,_0x219e19);}import{IconAI as _0x55bb13,IconBulb as _0x5e5d3e,IconWeb as _0x18d4c2}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x3a931b,ButtonLabelView as _0x358158,ButtonView as _0x251505,createDropdown as _0x4e861f,IconView as _0x25a46e,UIModel as _0x3fab4d,View as _0x1a740a}from'ckeditor5/src/ui.js';import{getTranslation as _0x90d7ca}from'../../../aicore/utils/common-translations.js';const Wo=_0x52bd13(0x195),jo=_0x52bd13(0x1b1),Go=_0x52bd13(0x1b4),Yo=_0x52bd13(0x191),qo=_0x52bd13(0x1d0),zo=_0x52bd13(0x193),Jo=_0x52bd13(0x1c9),Ko=_0x52bd13(0x1b8),Qo='n';export class AIChatPromptCapabilitiesView extends _0x1a740a{[_0x52bd13(0x1ca)];[_0x52bd13(0x1c4)];[_0x52bd13(0x1e6)];[_0x52bd13(0x1de)];[_0x52bd13(0x18b)];[_0x52bd13(0x1a1)];constructor(_0x377758){const _0x46623c=_0x52bd13;super(_0x377758),this[_0x46623c(0x1e3)](_0x46623c(0x1a2),!0x1),this[_0x46623c(0x1e3)](_0x46623c(0x1c3),!0x1),this[_0x46623c(0x1e3)](_0x46623c(0x1cb),_0x46623c(0x1d9)),this[_0x46623c(0x1e3)](_0x46623c(0x1a3),!0x0),this[_0x46623c(0x1e3)](_0x46623c(0x1e5),null),this[_0x46623c(0x1e3)](_0x46623c(0x1e2),null),this[_0x46623c(0x1de)]=this[_0x46623c(0x18f)](),this[_0x46623c(0x1a1)]=this[_0x46623c(0x18e)](),this[_0x46623c(0x1ca)]=this[_0x46623c(0x187)](),this[_0x46623c(0x1c4)]=this[_0x46623c(0x19e)](),this[_0x46623c(0x1e6)]=this[_0x46623c(0x1c2)](),this[_0x46623c(0x1de)][_0x46623c(0x1cd)][_0x46623c(0x1c8)](_0x46623c(0x1b6))['to'](this,_0x46623c(0x1cb),_0x3c643f=>_0x46623c(0x1d9)===_0x3c643f),this[_0x46623c(0x1de)][_0x46623c(0x1cd)][_0x46623c(0x1c8)](_0x46623c(0x1cf))['to'](this,_0x46623c(0x1a3),_0x5d33b0=>_0x5d33b0?this[_0x46623c(0x1de)][_0x46623c(0x1cd)][_0x46623c(0x1dc)]:_0x90d7ca(this[_0x46623c(0x199)],_0x46623c(0x19f))),this[_0x46623c(0x1de)][_0x46623c(0x1c8)](_0x46623c(0x1db))['to'](this,_0x46623c(0x1a3),_0x86ec6=>_0x86ec6),this[_0x46623c(0x1ca)][_0x46623c(0x1c8)](_0x46623c(0x1bf))['to'](this,_0x46623c(0x1a2),_0x21ea45=>_0x21ea45),this[_0x46623c(0x1ca)][_0x46623c(0x1c8)](_0x46623c(0x1cf))['to'](this,_0x46623c(0x1a2),_0x26bcaf=>_0x90d7ca(this[_0x46623c(0x199)],_0x26bcaf?_0x46623c(0x1aa):_0x46623c(0x19a))),this[_0x46623c(0x1c4)][_0x46623c(0x1c8)](_0x46623c(0x1bf))['to'](this,_0x46623c(0x1c3),_0x2be16d=>_0x2be16d),this[_0x46623c(0x1c4)][_0x46623c(0x1c8)](_0x46623c(0x1cf))['to'](this,_0x46623c(0x1c3),_0x140b0f=>_0x90d7ca(this[_0x46623c(0x199)],_0x140b0f?_0x46623c(0x1c0):_0x46623c(0x189))),this[_0x46623c(0x194)]({'tag':_0x46623c(0x1d2),'attributes':{'class':[Wo]},'children':[this[_0x46623c(0x1de)],this[_0x46623c(0x1a1)],this[_0x46623c(0x1ca)],this[_0x46623c(0x1c4)],this[_0x46623c(0x1e6)]]}),this[_0x46623c(0x18b)]=new _0x204ec0(),_0x3a931b(this[_0x46623c(0x1de)],this[_0x46623c(0x18b)]);}[_0x52bd13(0x1ac)](_0x5e4c5e,_0x4aba21){const _0x96811a=_0x52bd13;if(_0x4aba21)this[_0x96811a(0x1e3)](_0x96811a(0x1cb),_0x96811a(0x1da));else{const _0x175d65=0x1===_0x5e4c5e[_0x96811a(0x1e0)];this[_0x96811a(0x1e3)](_0x96811a(0x1cb),_0x175d65?_0x96811a(0x1ab):_0x96811a(0x1d9));}if(this[_0x96811a(0x18b)][_0x96811a(0x19c)](),_0x5e4c5e?.[_0x96811a(0x1e0)])for(const _0x2866c3 of _0x5e4c5e){const _0x282bf9=new _0x3fab4d({'label':_0x2866c3[_0x96811a(0x1ab)],'withText':!0x0,'role':_0x96811a(0x1d6),'id':_0x2866c3['id'],'model':_0x2866c3});_0x282bf9[_0x96811a(0x1c8)](_0x96811a(0x1bf))['to'](this,_0x96811a(0x1e5),_0x86429d=>_0x86429d===_0x2866c3['id']),this[_0x96811a(0x18b)][_0x96811a(0x1c5)]({'type':_0x96811a(0x1a6),'model':_0x282bf9,'labelView':new ko(this[_0x96811a(0x199)],_0x2866c3)});}}[_0x52bd13(0x1a7)](_0x46c3a0){const _0x9349e9=_0x52bd13;this[_0x9349e9(0x1e3)](_0x9349e9(0x1a2),_0x46c3a0);}[_0x52bd13(0x1b7)](_0x459a78){const _0x4212f2=_0x52bd13;this[_0x4212f2(0x1e3)](_0x4212f2(0x1c3),_0x459a78);}[_0x52bd13(0x1bc)](_0x1d1614){const _0x45e0f9=_0x52bd13;if(!_0x1d1614)return;this[_0x45e0f9(0x1e5)]=_0x1d1614['id'],this[_0x45e0f9(0x1e2)]=_0x1d1614[_0x45e0f9(0x1ab)]||_0x1d1614['id'],this[_0x45e0f9(0x1de)][_0x45e0f9(0x1cd)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1dc),_0x1d1614[_0x45e0f9(0x1ab)]),this[_0x45e0f9(0x1de)][_0x45e0f9(0x1cd)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1cf),_0x1d1614[_0x45e0f9(0x1ab)]);const _0x447ea5=_0x1d1614[_0x45e0f9(0x1ba)][_0x45e0f9(0x18a)]?.[_0x45e0f9(0x18c)]??!0x1;this[_0x45e0f9(0x1e3)](_0x45e0f9(0x1a2),!0x1),this[_0x45e0f9(0x1ca)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1bf),!0x1),this[_0x45e0f9(0x1ca)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1db),_0x447ea5),this[_0x45e0f9(0x1ca)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1b6),_0x447ea5);const _0x4fbfd9=_0x1d1614[_0x45e0f9(0x1ba)][_0x45e0f9(0x1bd)]?.[_0x45e0f9(0x18c)]??!0x1;this[_0x45e0f9(0x1e3)](_0x45e0f9(0x1c3),!0x1),this[_0x45e0f9(0x1c4)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1bf),!0x1),this[_0x45e0f9(0x1c4)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1db),_0x4fbfd9),this[_0x45e0f9(0x1c4)][_0x45e0f9(0x1e3)](_0x45e0f9(0x1b6),_0x4fbfd9);}[_0x52bd13(0x1d5)](){const _0x5e912d=_0x52bd13;this[_0x5e912d(0x1e3)](_0x5e912d(0x1a3),!0x0);}[_0x52bd13(0x1c1)](_0x52d2c0){const _0x4bd16d=_0x52bd13;this[_0x4bd16d(0x1e3)](_0x4bd16d(0x1a3),!0x1),_0x52d2c0&&this[_0x4bd16d(0x1e3)](_0x4bd16d(0x1cb),_0x4bd16d(0x1da));}[_0x52bd13(0x187)](){const _0x433996=_0x52bd13,_0x359785=new _0x251505();return _0x359785[_0x433996(0x1e3)]({'label':_0x90d7ca(this[_0x433996(0x199)],_0x433996(0x1cc)),'icon':_0x18d4c2,'class':jo,'isToggleable':!0x0,'tooltipPosition':Qo}),_0x359785['on'](_0x433996(0x1a0),()=>{const _0xb72733=_0x433996;this[_0xb72733(0x19d)](_0xb72733(0x1a5));}),_0x359785;}[_0x52bd13(0x19e)](){const _0x5474ad=_0x52bd13,_0x4574a9=new _0x251505();return _0x4574a9[_0x5474ad(0x1e3)]({'label':_0x90d7ca(this[_0x5474ad(0x199)],_0x5474ad(0x1d1)),'icon':_0x5e5d3e,'class':jo,'isToggleable':!0x0,'tooltipPosition':Qo}),_0x4574a9['on'](_0x5474ad(0x1a0),()=>{const _0x2346fd=_0x5474ad;this[_0x2346fd(0x19d)](_0x2346fd(0x1bb));}),_0x4574a9;}[_0x52bd13(0x1c2)](){const _0x31b381=_0x52bd13,_0x1dbad0=new _0x251505();return _0x1dbad0[_0x31b381(0x1e3)]({'label':_0x90d7ca(this[_0x31b381(0x199)],_0x31b381(0x1d7)),'icon':_0x55bb13,'withText':!0x0,'class':jo,'isToggleable':!0x0,'tooltip':_0x90d7ca(this[_0x31b381(0x199)],_0x31b381(0x1d7)),'tooltipPosition':Qo}),_0x1dbad0[_0x31b381(0x1dd)]({'attributes':{'class':[Go]}}),_0x1dbad0['on'](_0x31b381(0x1a0),()=>{const _0x5ab2f5=_0x31b381;console[_0x5ab2f5(0x1a8)](_0x5ab2f5(0x1ae)),alert(_0x5ab2f5(0x1ae));}),_0x1dbad0;}[_0x52bd13(0x18f)](){const _0x54197f=_0x52bd13,_0x52fc22=_0x4e861f(this[_0x54197f(0x199)]);return _0x52fc22[_0x54197f(0x1e3)]({'panelPosition':'ne','class':[qo]}),_0x52fc22[_0x54197f(0x1cd)][_0x54197f(0x1e3)]({'label':_0x90d7ca(this[_0x54197f(0x199)],_0x54197f(0x1c6)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Qo,'class':Yo}),this[_0x54197f(0x1e1)](_0x52fc22,_0x54197f(0x1a0),_0x1e6344=>{const _0x3bdaf6=_0x54197f;this[_0x3bdaf6(0x19d)](_0x3bdaf6(0x198),_0x1e6344[_0x3bdaf6(0x197)][_0x3bdaf6(0x196)]);}),_0x52fc22;}[_0x52bd13(0x18e)](){const _0x145bff=_0x52bd13,_0x6d8f6f=new _o(this[_0x145bff(0x199)]);return _0x6d8f6f[_0x145bff(0x1c8)](_0x145bff(0x1a9))['to'](this,_0x145bff(0x1e2),_0xc3bd0d=>_0xc3bd0d??''),_0x6d8f6f[_0x145bff(0x1c8)](_0x145bff(0x1b6))['to'](this,_0x145bff(0x1cb),_0x96a5aa=>_0x145bff(0x1ab)===_0x96a5aa),_0x6d8f6f;}}function _0x47a5(){const _0x425e31=['AI_CHAT_DISABLE_WEB_SEARCH','name','setModelList','ck-button__label','Commands\x20are\x20not\x20implemented\x20yet.','description','3211225SiXIrX','ck-ai-chat-controls-button','style','AI_CHAT_CAPABILITIES_YES','ck-ai-chat-controls-button--commands','span','isVisible','setReasoning','ck-ai-chat-controls__model-selection__item-capabilities','720632yRKubH','capabilities','toggleReasoning','setModel','reasoning','3362532ewzQrc','isOn','AI_CHAT_DISABLE_REASONING','disableModelSelector','_createCommandsButton','reasoningActive','_reasoningButton','add','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','content','bind','ck-ai-chat-controls__model-selection__item-description','_webSearchButton','modelDisplayMode','AI_CHAT_SEARCH_WEB','buttonView','ck-ai-chat-controls__model-name','tooltip','ck-ai-chat-controls__model-selection','AI_CHAT_REASONING','div','332xzYOlL','_getCapabilityParts','enableModelSelector','menuitemradio','AI_CHAT_COMMANDS','bindTemplate','selector','hidden','isEnabled','label','extendTemplate','_modelSelectionDropdown','ck-hidden','length','listenTo','activeModelName','set','19358920Qtvefo','activeModelId','_commandsButton','_createWebSearchButton','5783204fFOfiB','AI_CHAT_ENABLE_REASONING','webSearch','_modelSelectionDropdownItems','enabled','createCollection','_createModelNameView','_createModelSelectionDropdown','addMany','ck-ai-button-tertiary','AI_CHAT_CAPABILITIES_NO','ck-ai-chat-controls__model-selection__item-name','setTemplate','ck-ai-chat__prompt-capabilities','model','source','selectModel','locale','AI_CHAT_ENABLE_WEB_SEARCH','5091eUUBOM','clear','fire','_createReasoningButton','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','execute','_modelNameView','webSearchActive','modelSelectorEnabled','1339831WEBQft','toggleWebSearch','button','setWebSearch','log','text'];_0x47a5=function(){return _0x425e31;};return _0x47a5();}class ko extends _0x358158{constructor(_0x54596c,_0x3e6556){const _0x2fdfd8=_0x52bd13;super();const _0x5f59e4=this[_0x2fdfd8(0x1d8)],_0x4442de=this[_0x2fdfd8(0x18d)]();this[_0x2fdfd8(0x194)]({'tag':_0x2fdfd8(0x1d2),'attributes':{'class':['ck',_0x2fdfd8(0x1ad)],'style':_0x5f59e4['to'](_0x2fdfd8(0x1b2)),'id':_0x5f59e4['to']('id')},'children':[{'tag':_0x2fdfd8(0x1d2),'attributes':{'class':[zo]},'children':[{'text':_0x5f59e4['to'](_0x2fdfd8(0x1a9))}]},{'tag':_0x2fdfd8(0x1d2),'attributes':{'class':[Jo]},'children':[{'tag':_0x2fdfd8(0x1b5),'children':[{'text':_0x3e6556[_0x2fdfd8(0x1af)]}]}]},{'tag':_0x2fdfd8(0x1d2),'attributes':{'class':[Ko]},'children':_0x4442de}]}),_0x4442de[_0x2fdfd8(0x190)](this[_0x2fdfd8(0x1d4)](_0x54596c,_0x18d4c2,_0x2fdfd8(0x1cc),_0x3e6556[_0x2fdfd8(0x1ba)][_0x2fdfd8(0x18a)]?.[_0x2fdfd8(0x18c)]??!0x1)),_0x4442de[_0x2fdfd8(0x190)](this[_0x2fdfd8(0x1d4)](_0x54596c,_0x5e5d3e,_0x2fdfd8(0x1d1),_0x3e6556[_0x2fdfd8(0x1ba)][_0x2fdfd8(0x1bd)]?.[_0x2fdfd8(0x18c)]??!0x1));}[_0x52bd13(0x1d4)](_0x406669,_0x2d50ae,_0x393547,_0x2e61a1){const _0x107d02=_0x52bd13,_0x5ca77b=new _0x25a46e();_0x5ca77b[_0x107d02(0x1c7)]=_0x2d50ae;const _0x409690=new _0x1a740a(_0x406669);_0x409690[_0x107d02(0x194)]({'tag':_0x107d02(0x1b5),'children':[{'text':_0x90d7ca(_0x406669,_0x393547)+':\x20'}]});const _0x5cb964=new _0x1a740a(_0x406669);return _0x5cb964[_0x107d02(0x194)]({'tag':_0x107d02(0x1b5),'children':[{'text':_0x90d7ca(_0x406669,_0x2e61a1?_0x107d02(0x1b3):_0x107d02(0x192))}]}),[_0x5ca77b,_0x409690,_0x5cb964];}}class _o extends _0x1a740a{constructor(_0x586933){const _0x28f12c=_0x52bd13;super(_0x586933),this[_0x28f12c(0x1e3)](_0x28f12c(0x1a9),void 0x0),this[_0x28f12c(0x1e3)](_0x28f12c(0x1b6),!0x0);const _0x1393bc=this[_0x28f12c(0x1d8)];this[_0x28f12c(0x194)]({'tag':_0x28f12c(0x1b5),'attributes':{'class':['ck',_0x28f12c(0x1ce),_0x1393bc['if'](_0x28f12c(0x1b6),_0x28f12c(0x1df),_0x5f34b0=>!_0x5f34b0)]},'children':[{'text':_0x1393bc['to'](_0x28f12c(0x1a9))}]});}}
|
|
@@ -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 _0x5a8177=_0x549d;(function(_0x4b4eb4,_0x1dcd55){const _0x597dbe=_0x549d,_0x39abdb=_0x4b4eb4();while(!![]){try{const _0x2c55e2=-parseInt(_0x597dbe(0x13e))/0x1*(-parseInt(_0x597dbe(0x169))/0x2)+parseInt(_0x597dbe(0x16e))/0x3+parseInt(_0x597dbe(0x12a))/0x4+parseInt(_0x597dbe(0x15e))/0x5*(-parseInt(_0x597dbe(0x144))/0x6)+-parseInt(_0x597dbe(0x152))/0x7*(parseInt(_0x597dbe(0x12e))/0x8)+-parseInt(_0x597dbe(0x147))/0x9*(parseInt(_0x597dbe(0x14e))/0xa)+-parseInt(_0x597dbe(0x136))/0xb;if(_0x2c55e2===_0x1dcd55)break;else _0x39abdb['push'](_0x39abdb['shift']());}catch(_0x5a44e7){_0x39abdb['push'](_0x39abdb['shift']());}}}(_0x23cc,0xbbc3c));import{IconSubmit as _0x440b70}from'ckeditor5/src/icons.js';import{ButtonView as _0x5a3bbf,AutocompleteView as _0x3830c5,createLabeledTextarea as _0x14e216}from'ckeditor5/src/ui.js';import{global as _0x46d294,isVisible as _0x74e6d6,Rect as _0x3d65bc,ResizeObserver as _0x368151}from'ckeditor5/src/utils.js';function _0x23cc(){const _0xf7e3d1=['fire','trim','8kgQekU','isEnabled','classList','right','placeholder','reset','fieldWrapperChildren','locale','5189580YkdLmY','MIN_ROWS','enter','uiLanguageDirection','excludeScrollbarsAndBorders','set','add','hasError','497YqlKEX','maxRows','requestAnimationFrame','ck-ai-chat__prompt-input_highlighted','queryView','minRows','4034652DVnphT','submitButtonView','extendTemplate','2728845zgIdHV','fieldView','left','update','setIsUploadInProgress','contains','value','10NOXKtR','target','rtl','remove','2257927FESIHn','isUploadInProgress','bind','render','sendUserMessage','width','isEmpty','execute','element','submit','destroy','keystrokes','5nCBrRv','ck-ai-chat__prompt-submit-button','setPlaceholderText','calc(','ck-ai-chat__prompt-input','MAX_ROWS','px\x20-\x20var(--ck-spacing-tiny))','focus','AI_CHAT_LABEL_SUBMIT','errorText','focusableChildren','3372IFpxfw','_queryViewResizeObserver','_addContextButtonView','_createSubmitButton','window','1735458WtbnCa','_setUpAddContextButtonPositioning','AI_CHAT_PROMPT_EMPTY_ERROR','4490576PfTJvT','style'];_0x23cc=function(){return _0xf7e3d1;};return _0x23cc();}import{getTranslation as _0x2a49ec}from'../../../aicore/utils/common-translations.js';function _0x549d(_0x4098ab,_0x1c1318){const _0x23ccc4=_0x23cc();return _0x549d=function(_0x549d73,_0xdfa15d){_0x549d73=_0x549d73-0x128;let _0x1fe3cb=_0x23ccc4[_0x549d73];return _0x1fe3cb;},_0x549d(_0x4098ab,_0x1c1318);}import{AIChatPromptSuggestionsListView as _0x4178f1}from'./aichatpromptsuggestionslistview.js';import{escape as _0x3470d4}from'es-toolkit/compat';const _h=_0x5a8177(0x141);export class AIChatPromptInputView extends _0x3830c5{[_0x5a8177(0x145)];static [_0x5a8177(0x137)]=0x1;static [_0x5a8177(0x163)]=0xc;[_0x5a8177(0x16b)];[_0x5a8177(0x16a)];constructor(_0xe18518,_0x483723){const _0x88d3dd=_0x5a8177;super(_0xe18518,{'queryView':{'label':'','creator':_0x14e216,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x4178f1(_0xe18518),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x88d3dd(0x13b)](_0x88d3dd(0x158),!0x0),this[_0x88d3dd(0x13b)](_0x88d3dd(0x153),!0x1),this[_0x88d3dd(0x16b)]=_0x483723,this[_0x88d3dd(0x16a)]=null,this[_0x88d3dd(0x142)][_0x88d3dd(0x148)][_0x88d3dd(0x143)]=AIChatPromptInputView[_0x88d3dd(0x137)],this[_0x88d3dd(0x142)][_0x88d3dd(0x148)][_0x88d3dd(0x13f)]=AIChatPromptInputView[_0x88d3dd(0x163)],this[_0x88d3dd(0x142)][_0x88d3dd(0x134)][_0x88d3dd(0x13c)](this[_0x88d3dd(0x16b)]),this[_0x88d3dd(0x128)](),this[_0x88d3dd(0x146)]({'attributes':{'class':['ck',_0x88d3dd(0x162)]}}),this[_0x88d3dd(0x145)]=this[_0x88d3dd(0x16c)](),this[_0x88d3dd(0x145)][_0x88d3dd(0x154)](_0x88d3dd(0x12f))['to'](this,_0x88d3dd(0x158),this,_0x88d3dd(0x153),(_0x5a7bc3,_0x3e347c)=>!_0x5a7bc3&&!_0x3e347c),this[_0x88d3dd(0x168)][_0x88d3dd(0x13c)](this[_0x88d3dd(0x145)]);}[_0x5a8177(0x155)](){const _0x4f4387=_0x5a8177;super[_0x4f4387(0x155)](),this[_0x4f4387(0x142)][_0x4f4387(0x134)][_0x4f4387(0x13c)](this[_0x4f4387(0x145)]),this[_0x4f4387(0x15d)][_0x4f4387(0x13b)](_0x4f4387(0x138),(_0x2409a6,_0x4a096e)=>{const _0x153106=_0x4f4387;this[_0x153106(0x153)]||this[_0x153106(0x158)]||_0x2409a6[_0x153106(0x14f)]==this[_0x153106(0x142)][_0x153106(0x148)][_0x153106(0x15a)]&&(this[_0x153106(0x15b)](),_0x4a096e());}),this[_0x4f4387(0x142)][_0x4f4387(0x148)]['on'](_0x4f4387(0x14a),()=>{const _0x36a5a9=_0x4f4387;this[_0x36a5a9(0x158)]=''===this[_0x36a5a9(0x142)][_0x36a5a9(0x148)][_0x36a5a9(0x15a)][_0x36a5a9(0x14d)]?.[_0x36a5a9(0x12d)]();});}[_0x5a8177(0x15c)](){const _0x46c785=_0x5a8177;super[_0x46c785(0x15c)](),this[_0x46c785(0x16a)]&&this[_0x46c785(0x16a)][_0x46c785(0x15c)]();}[_0x5a8177(0x15b)](){const _0x589ca6=_0x5a8177,_0x440045=this[_0x589ca6(0x142)][_0x589ca6(0x148)][_0x589ca6(0x15a)][_0x589ca6(0x14d)]?.[_0x589ca6(0x12d)]();if(!_0x440045)return this[_0x589ca6(0x142)][_0x589ca6(0x167)]=_0x2a49ec(this[_0x589ca6(0x135)],_0x589ca6(0x129)),void(this[_0x589ca6(0x142)][_0x589ca6(0x148)][_0x589ca6(0x13d)]=!0x0);this[_0x589ca6(0x142)][_0x589ca6(0x148)][_0x589ca6(0x13d)]=!0x1;const _0x540570=_0x3470d4(_0x440045);this[_0x589ca6(0x12c)](_0x589ca6(0x156),_0x540570),this[_0x589ca6(0x142)][_0x589ca6(0x148)][_0x589ca6(0x133)]();}[_0x5a8177(0x160)](_0x54fa9e){const _0x332516=_0x5a8177;this[_0x332516(0x142)][_0x332516(0x148)][_0x332516(0x13b)](_0x332516(0x132),_0x54fa9e);}[_0x5a8177(0x165)](_0xf7b2ab=!0x1){const _0x492bb4=_0x5a8177;super[_0x492bb4(0x165)](),_0xf7b2ab&&(this[_0x492bb4(0x15a)][_0x492bb4(0x130)][_0x492bb4(0x14c)](_h)||(this[_0x492bb4(0x15a)][_0x492bb4(0x130)][_0x492bb4(0x13c)](_h),setTimeout(()=>{const _0x312b4d=_0x492bb4;this[_0x312b4d(0x15a)][_0x312b4d(0x130)][_0x312b4d(0x151)](_h);},0x320)));}[_0x5a8177(0x16c)](){const _0x5ec79a=_0x5a8177,_0x2bf268=new _0x5a3bbf(this[_0x5ec79a(0x135)]);return _0x2bf268[_0x5ec79a(0x13b)]({'icon':_0x440b70,'label':_0x2a49ec(this[_0x5ec79a(0x135)],_0x5ec79a(0x166)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5ec79a(0x15f),'isEnabled':!0x1}),_0x2bf268['on'](_0x5ec79a(0x159),()=>{const _0x1ca26c=_0x5ec79a;this[_0x1ca26c(0x15b)]();}),_0x2bf268;}[_0x5a8177(0x14b)](_0x562e64){const _0xb8fc43=_0x5a8177;this[_0xb8fc43(0x153)]=_0x562e64;}[_0x5a8177(0x128)](){const _0x348af9=_0x5a8177,_0x1f6c65=this[_0x348af9(0x135)],_0x42dafd=()=>{const _0x24ae89=_0x348af9;_0x46d294[_0x24ae89(0x16d)][_0x24ae89(0x140)](()=>{const _0x33fe28=_0x24ae89;if(_0x74e6d6(this[_0x33fe28(0x15a)])){const _0x1a739f=new _0x3d65bc(this[_0x33fe28(0x142)][_0x33fe28(0x148)][_0x33fe28(0x15a)]),_0x3be3ca=new _0x3d65bc(this[_0x33fe28(0x16b)][_0x33fe28(0x15a)]),_0x4b709c=_0x1a739f[_0x33fe28(0x157)],_0x2e6428=_0x33fe28(0x150)===_0x1f6c65[_0x33fe28(0x139)]?_0x33fe28(0x131):_0x33fe28(0x149);_0x1a739f[_0x33fe28(0x13a)]();const _0x5101c0=_0x4b709c-_0x1a739f[_0x33fe28(0x157)]+0x1;this[_0x33fe28(0x16b)][_0x33fe28(0x15a)][_0x33fe28(0x12b)][_0x2e6428]=_0x33fe28(0x161)+(_0x4b709c-_0x3be3ca[_0x33fe28(0x157)]-_0x5101c0)+_0x33fe28(0x164);}});};this[_0x348af9(0x142)][_0x348af9(0x148)]['on'](_0x348af9(0x14a),_0x42dafd),this['on'](_0x348af9(0x155),()=>{const _0x5242dc=_0x348af9;_0x42dafd(),this[_0x5242dc(0x16a)]=new _0x368151(this[_0x5242dc(0x142)][_0x5242dc(0x148)][_0x5242dc(0x15a)],()=>{_0x42dafd();});});}}
|
|
@@ -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 _0x1b727f=_0x5c8f;(function(_0x14d088,_0x277cd3){const _0x2ac544=_0x5c8f,_0x46d06d=_0x14d088();while(!![]){try{const _0x47471d=-parseInt(_0x2ac544(0x1e1))/0x1+parseInt(_0x2ac544(0x1e7))/0x2*(-parseInt(_0x2ac544(0x1e3))/0x3)+parseInt(_0x2ac544(0x1e5))/0x4*(parseInt(_0x2ac544(0x1e8))/0x5)+parseInt(_0x2ac544(0x1e2))/0x6*(-parseInt(_0x2ac544(0x1df))/0x7)+parseInt(_0x2ac544(0x1dd))/0x8+-parseInt(_0x2ac544(0x1e9))/0x9+-parseInt(_0x2ac544(0x1e4))/0xa*(-parseInt(_0x2ac544(0x1ea))/0xb);if(_0x47471d===_0x277cd3)break;else _0x46d06d['push'](_0x46d06d['shift']());}catch(_0x597eb2){_0x46d06d['push'](_0x46d06d['shift']());}}}(_0xd694,0x99643));function _0x5c8f(_0x41ad39,_0x339b03){const _0xd6947c=_0xd694();return _0x5c8f=function(_0x5c8f99,_0x542652){_0x5c8f99=_0x5c8f99-0x1dd;let _0xc42e49=_0xd6947c[_0x5c8f99];return _0xc42e49;},_0x5c8f(_0x41ad39,_0x339b03);}import{ListView as _0x35171c}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x35171c{[_0x1b727f(0x1e6)](){const _0x12fa26=_0x1b727f;let _0x201439=0x0;for(const _0x45f55d of this[_0x12fa26(0x1e0)])_0x201439+=_0x45f55d[_0x12fa26(0x1e0)][_0x12fa26(0x1de)];return{'resultsCount':_0x201439,'totalItemsCount':_0x201439};}}function _0xd694(){const _0x3d803e=['31362580PgCENv','36xtVeQW','filter','4WyQxVf','657535Jyjgcp','9999585hwPapk','11urmxrT','559424GsLXUO','length','7WnLKdh','items','543510hbnviq','7274142SQfXiJ','1341789VKfUiH'];_0xd694=function(){return _0x3d803e;};return _0xd694();}
|
|
@@ -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 _0xbb8c(_0x57abd6,_0x47ecdf){const _0x1dfec9=_0x1dfe();return _0xbb8c=function(_0xbb8cc4,_0x4c05da){_0xbb8cc4=_0xbb8cc4-0x101;let _0x15bcd1=_0x1dfec9[_0xbb8cc4];return _0x15bcd1;},_0xbb8c(_0x57abd6,_0x47ecdf);}const _0x1e6b23=_0xbb8c;function _0x1dfe(){const _0x3f213a=['_handleResourceSelection','test','locale','setResources','updateResourceState','addResourceToContext','fire','43412edNLlX','clear','11ZPtZrU','4ZDjKza','resource','10lbUXPR','10640wNImkF','replace','366QPQOAX','\x5c$&','ck-ai-chat-resources__list','3871017OKXxBO','90OokKqW','_source','useDefaultFiltering','forEach','highlightText','items','extendTemplate','2499392MLQqwP','91905kEAYOP','add','624138TtWyrB','trim','filter','19527684dWIrcN','label','execute'];_0x1dfe=function(){return _0x3f213a;};return _0x1dfe();}(function(_0x3c45da,_0x36177c){const _0x29bb96=_0xbb8c,_0x5058d4=_0x3c45da();while(!![]){try{const _0x510b2a=-parseInt(_0x29bb96(0x115))/0x1+-parseInt(_0x29bb96(0x102))/0x2*(-parseInt(_0x29bb96(0x113))/0x3)+-parseInt(_0x29bb96(0x122))/0x4*(-parseInt(_0x29bb96(0x10b))/0x5)+-parseInt(_0x29bb96(0x107))/0x6*(parseInt(_0x29bb96(0x105))/0x7)+-parseInt(_0x29bb96(0x112))/0x8+-parseInt(_0x29bb96(0x10a))/0x9*(parseInt(_0x29bb96(0x104))/0xa)+parseInt(_0x29bb96(0x101))/0xb*(parseInt(_0x29bb96(0x118))/0xc);if(_0x510b2a===_0x36177c)break;else _0x5058d4['push'](_0x5058d4['shift']());}catch(_0x20c007){_0x5058d4['push'](_0x5058d4['shift']());}}}(_0x1dfe,0x67a58));import{ListView as _0xd1fced}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x1e497c}from'./aichatresourcelistitemview.js';const uc=_0x1e6b23(0x109);export class AIChatContextResourcesListView extends _0xd1fced{[_0x1e6b23(0x10c)];constructor(_0x41d5af,_0x103081){const _0x44aa74=_0x1e6b23;super(_0x41d5af),this[_0x44aa74(0x10c)]=_0x103081,this[_0x44aa74(0x111)]({'attributes':{'class':[uc]}});}[_0x1e6b23(0x11e)](_0x19dfd3,_0x95c303){const _0x26dabb=_0x1e6b23;this[_0x26dabb(0x110)][_0x26dabb(0x123)]();let _0x1b9e67=_0x19dfd3;if(this[_0x26dabb(0x10c)][_0x26dabb(0x10d)]&&_0x95c303&&''!==_0x95c303[_0x26dabb(0x116)]()){const _0x2ab4b7=new RegExp(_0x95c303[_0x26dabb(0x106)](/[.*+?^${}()|[\]\\]/g,_0x26dabb(0x108)),'gi');_0x1b9e67=_0x19dfd3[_0x26dabb(0x117)](_0x4b8613=>_0x2ab4b7[_0x26dabb(0x11c)](_0x4b8613[_0x26dabb(0x119)]));}for(const _0x1d034d of _0x1b9e67){const _0x1211b8=new _0x1e497c(this[_0x26dabb(0x11d)],_0x1d034d);_0x1211b8['on'](_0x26dabb(0x11a),()=>{const _0x216cd1=_0x26dabb;this[_0x216cd1(0x11b)](this[_0x216cd1(0x10c)],_0x1d034d);}),this[_0x26dabb(0x110)][_0x26dabb(0x114)](_0x1211b8);}this[_0x26dabb(0x10c)][_0x26dabb(0x10d)]&&this[_0x26dabb(0x10f)](_0x95c303);}[_0x1e6b23(0x10f)](_0x162961){const _0x4b599f=_0x1e6b23;this[_0x4b599f(0x10c)][_0x4b599f(0x10d)]&&this[_0x4b599f(0x110)][_0x4b599f(0x10e)](_0x304cca=>{const _0x14aa87=_0x4b599f;_0x304cca[_0x14aa87(0x10f)](_0x162961);});}[_0x1e6b23(0x11f)](_0x1b5c2f,_0x4c812b){const _0x436e97=_0x1e6b23;for(const _0x18e7da of this[_0x436e97(0x110)]){const _0x3e6f16=_0x18e7da;_0x3e6f16[_0x436e97(0x103)]['id']===_0x1b5c2f&&_0x3e6f16[_0x436e97(0x11f)](_0x4c812b);}}[_0x1e6b23(0x11b)](_0x3eeb95,_0x5d6bfc){const _0x1fd43a=_0x1e6b23;this[_0x1fd43a(0x121)](_0x1fd43a(0x120),{'source':_0x3eeb95,'resource':_0x5d6bfc});}}
|
|
@@ -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 _0x18415a=_0x204b;(function(_0xd9e536,_0x50228f){const _0x1945ec=_0x204b,_0x325654=_0xd9e536();while(!![]){try{const _0x53cab2=parseInt(_0x1945ec(0x140))/0x1*(-parseInt(_0x1945ec(0x12e))/0x2)+-parseInt(_0x1945ec(0x149))/0x3+-parseInt(_0x1945ec(0x12b))/0x4+parseInt(_0x1945ec(0x11b))/0x5+-parseInt(_0x1945ec(0x129))/0x6*(parseInt(_0x1945ec(0x11d))/0x7)+-parseInt(_0x1945ec(0x133))/0x8*(-parseInt(_0x1945ec(0x130))/0x9)+parseInt(_0x1945ec(0x128))/0xa*(parseInt(_0x1945ec(0x12c))/0xb);if(_0x53cab2===_0x50228f)break;else _0x325654['push'](_0x325654['shift']());}catch(_0x514201){_0x325654['push'](_0x325654['shift']());}}}(_0x1fe3,0x2c6d3));import{View as _0x3686ef,ViewCollection as _0x128699}from'ckeditor5/src/ui.js';import{uid as _0x32a4b6}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x3a1599}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x55d262}from'./aichatresourcessearchinputview.js';function _0x204b(_0x22cfe0,_0x1e3519){const _0x1fe380=_0x1fe3();return _0x204b=function(_0x204b6c,_0x38223f){_0x204b6c=_0x204b6c-0x11b;let _0xa12502=_0x1fe380[_0x204b6c];return _0xa12502;},_0x204b(_0x22cfe0,_0x1e3519);}import{AISkeletonView as _0x2e2660,SKELETON_DEFINITIONS as _0x4e4d57}from'../../../../aicore/ui/aiskeleton.js';function _0x1fe3(){const _0xb0bea4=['loadSourceResources','length','_resourcesListView','_searchView','search','setResources','locale','extendTemplate','_searchSection','loadResources','_createSearchSection','190177RNLWTM','searchInputVisibleFrom','_createSkeletonView','fire','setTemplate','render','ck-hidden','ck-ai-chat-resources','div','380049eXNnDD','_source','_skeletonLoader','isLoading','aiChatResources','1513170BOFVXb','_createSearchView','46921PMaOuE','addResourceToContext','bindTemplate','_createResourcesListView','set','getQuery','updateResourceState','_searchInputVisibleFrom','children','has','ck\x20ck-search','30CuGQZh','54jKbzJv','add','1123872YqefNM','972939PzHJdZ','delegate','2LpSNbN','highlightText','27zOkPSw','useDefaultFiltering','source','725720bCHywN','_latestLoadResourcesUid'];_0x1fe3=function(){return _0xb0bea4;};return _0x1fe3();}export class AIChatContextResourcesView extends _0x3686ef{[_0x18415a(0x138)];[_0x18415a(0x13d)];[_0x18415a(0x124)];[_0x18415a(0x137)];[_0x18415a(0x14b)];[_0x18415a(0x14a)];[_0x18415a(0x125)];[_0x18415a(0x134)]=null;constructor(_0x1ca13d,_0x87b6bf){const _0x1515d1=_0x18415a;super(_0x1ca13d),this[_0x1515d1(0x14a)]=_0x87b6bf[_0x1515d1(0x132)],this[_0x1515d1(0x124)]=_0x87b6bf[_0x1515d1(0x141)]??0x7,this[_0x1515d1(0x121)](_0x1515d1(0x14c),!0x0),this[_0x1515d1(0x138)]=this[_0x1515d1(0x11c)](),this[_0x1515d1(0x13d)]=this[_0x1515d1(0x13f)](),this[_0x1515d1(0x137)]=this[_0x1515d1(0x120)](),this[_0x1515d1(0x14b)]=this[_0x1515d1(0x142)](),this[_0x1515d1(0x125)]=new _0x128699([this[_0x1515d1(0x14b)],this[_0x1515d1(0x137)]]),this[_0x1515d1(0x144)]({'tag':_0x1515d1(0x148),'attributes':{'class':_0x1515d1(0x147)},'children':this[_0x1515d1(0x125)]});}[_0x18415a(0x11c)](){const _0x1ff21f=_0x18415a;return new _0x55d262(this[_0x1ff21f(0x13b)]);}[_0x18415a(0x13f)](){const _0x50ee92=_0x18415a,_0x108532=new _0x3686ef(this[_0x50ee92(0x13b)]);return _0x108532[_0x50ee92(0x144)]({'tag':_0x50ee92(0x148),'attributes':{'class':_0x50ee92(0x127)},'children':[this[_0x50ee92(0x138)]]}),this[_0x50ee92(0x138)]['on'](_0x50ee92(0x139),(_0x3bb54d,_0x24c886)=>{const _0x2223d3=_0x50ee92;this[_0x2223d3(0x13e)](_0x24c886),this[_0x2223d3(0x14a)][_0x2223d3(0x131)]&&this[_0x2223d3(0x137)][_0x2223d3(0x12f)](_0x24c886);}),_0x108532;}[_0x18415a(0x120)](){const _0x3e435c=_0x18415a,_0x3de40e=new _0x3a1599(this[_0x3e435c(0x13b)],this[_0x3e435c(0x14a)]);return _0x3de40e[_0x3e435c(0x12d)](_0x3e435c(0x11e))['to'](this),_0x3de40e[_0x3e435c(0x13c)]({'attributes':{'class':this[_0x3e435c(0x11f)]['if'](_0x3e435c(0x14c),_0x3e435c(0x146))}}),_0x3de40e;}[_0x18415a(0x142)](){const _0xfad6a5=_0x18415a,_0x733391=new _0x2e2660(this[_0xfad6a5(0x13b)],_0x4e4d57[_0xfad6a5(0x14d)]);return _0x733391[_0xfad6a5(0x13c)]({'attributes':{'class':[this[_0xfad6a5(0x11f)]['if'](_0xfad6a5(0x14c),_0xfad6a5(0x146),_0x4433f7=>!_0x4433f7)]}}),_0x733391;}[_0x18415a(0x145)](){const _0xce6f33=_0x18415a;super[_0xce6f33(0x145)](),this[_0xce6f33(0x13e)]('');}[_0x18415a(0x13e)](_0x5b9883){const _0x262dc9=_0x18415a,_0x55cee3=_0x32a4b6();this[_0x262dc9(0x134)]=_0x55cee3,this[_0x262dc9(0x143)](_0x262dc9(0x135),{'sourceId':this[_0x262dc9(0x14a)]['id'],'query':_0x5b9883,'uid':_0x55cee3}),this[_0x262dc9(0x14c)]=!0x0;}[_0x18415a(0x13a)](_0x286a43,_0x15cc38){const _0x5003a3=_0x18415a;if(_0x15cc38&&_0x15cc38!==this[_0x5003a3(0x134)])return;const _0xb38c79=this[_0x5003a3(0x14a)][_0x5003a3(0x131)]?this[_0x5003a3(0x138)][_0x5003a3(0x122)]():'';this[_0x5003a3(0x137)][_0x5003a3(0x13a)](_0x286a43,_0xb38c79),_0x286a43[_0x5003a3(0x136)]>=this[_0x5003a3(0x124)]&&!this[_0x5003a3(0x125)][_0x5003a3(0x126)](this[_0x5003a3(0x13d)])&&this[_0x5003a3(0x125)][_0x5003a3(0x12a)](this[_0x5003a3(0x13d)],0x0),requestAnimationFrame(()=>{const _0x267501=_0x5003a3;this[_0x267501(0x14c)]=!0x1;});}[_0x18415a(0x123)](_0x5b647d,_0x177948){const _0x3f0c3e=_0x18415a;this[_0x3f0c3e(0x137)][_0x3f0c3e(0x123)](_0x5b647d,_0x177948);}}
|
|
@@ -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 _0x2b7d90=_0x5ba9;function _0x5ba9(_0x1d08bb,_0x335cfb){const _0x3d9c5e=_0x3d9c();return _0x5ba9=function(_0x5ba9f2,_0x2d16e4){_0x5ba9f2=_0x5ba9f2-0xbc;let _0x4a27d6=_0x3d9c5e[_0x5ba9f2];return _0x4a27d6;},_0x5ba9(_0x1d08bb,_0x335cfb);}(function(_0x289f5a,_0x275de0){const _0xd3da37=_0x5ba9,_0x30eb3f=_0x289f5a();while(!![]){try{const _0x39ecf=parseInt(_0xd3da37(0xcf))/0x1*(-parseInt(_0xd3da37(0xce))/0x2)+-parseInt(_0xd3da37(0xcb))/0x3*(parseInt(_0xd3da37(0xc6))/0x4)+-parseInt(_0xd3da37(0xdc))/0x5*(-parseInt(_0xd3da37(0xd2))/0x6)+parseInt(_0xd3da37(0xd9))/0x7+-parseInt(_0xd3da37(0xdd))/0x8+parseInt(_0xd3da37(0xca))/0x9*(-parseInt(_0xd3da37(0xc4))/0xa)+-parseInt(_0xd3da37(0xbe))/0xb*(-parseInt(_0xd3da37(0xbc))/0xc);if(_0x39ecf===_0x275de0)break;else _0x30eb3f['push'](_0x30eb3f['shift']());}catch(_0x3e8753){_0x30eb3f['push'](_0x30eb3f['shift']());}}}(_0x3d9c,0x78c92));import{HighlightedTextView as _0x2183e9,IconView as _0x20d683,ListItemView as _0x176845}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x510428}from'es-toolkit/compat';function _0x3d9c(){const _0x871ac5=['1152WcOQqT','994DOGCHZ','_createTitleView','span','406662VvKqHA','text','updateResourceState','FILE','set','ck-ai-chat-resources__item','_setupTemplate','5231366UKuQOm','URL','ck-hidden','35rpcGdq','5418320ngWXGz','bindTemplate','ck-ai-chat-resources__item-title','_createIconView','TEXT','ck-ai-chat-resources__item--in-context','isInContext','isVisible','ck-ai-chat-resources__item__icon','_titleView','label','highlightText','resource','131628avMVvg','getResourceIcon','1221vxyNIS','div','_updateIcon','render','extendTemplate','type','59900xSFpxQ','trim','512IVOZOw','content','setTemplate','_iconView','450zwQDjY','9264eWHOKZ','execute','DOCUMENT'];_0x3d9c=function(){return _0x871ac5;};return _0x3d9c();}import{AIContextItemType as _0x5276fa}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x376492,IconCheck as _0xc65640,IconDocument as _0x4ba44f,IconDocumentOutline as _0x4e60d9,IconLink as _0x2e4146}from'@ckeditor/ckeditor5-icons';const Jr=_0x2b7d90(0xd7),Kr=_0x2b7d90(0xe2),Mr=_0x2b7d90(0xdf),Nr=_0x2b7d90(0xe5);export class AIChatResourceListItemView extends _0x176845{[_0x2b7d90(0xe9)];[_0x2b7d90(0xe6)];[_0x2b7d90(0xc9)];constructor(_0x233dff,_0x2579d6){const _0x470adc=_0x2b7d90;super(_0x233dff),this[_0x470adc(0xe9)]=_0x2579d6,this[_0x470adc(0xd6)](_0x470adc(0xe3),!!_0x2579d6[_0x470adc(0xe3)]),this[_0x470adc(0xe6)]=this[_0x470adc(0xd0)](),this[_0x470adc(0xc9)]=this[_0x470adc(0xe0)](),this[_0x470adc(0xd8)]();}[_0x2b7d90(0xc1)](){const _0x144439=_0x2b7d90;super[_0x144439(0xc1)]();}[_0x2b7d90(0xbd)](_0x5c54ad){const _0x422a35=_0x2b7d90;if(_0x5c54ad[_0x422a35(0xe3)])return _0xc65640;switch(_0x5c54ad[_0x422a35(0xc3)]){case _0x5276fa[_0x422a35(0xcd)]:return _0x4ba44f;case _0x5276fa[_0x422a35(0xda)]:return _0x2e4146;case _0x5276fa[_0x422a35(0xd5)]:case _0x5276fa[_0x422a35(0xe1)]:return _0x376492;default:return _0x4e60d9;}}[_0x2b7d90(0xe8)](_0x29f6b9){const _0x176994=_0x2b7d90;if(!_0x29f6b9||''===_0x29f6b9[_0x176994(0xc5)]())return void this[_0x176994(0xe6)][_0x176994(0xe8)](null);const _0x12ba49=new RegExp(_0x510428(_0x29f6b9),'gi');this[_0x176994(0xe6)][_0x176994(0xe8)](_0x12ba49);}[_0x2b7d90(0xd4)](_0x35cf4c){const _0x151820=_0x2b7d90;this[_0x151820(0xe9)][_0x151820(0xe3)]=_0x35cf4c,this[_0x151820(0xe3)]=_0x35cf4c,this[_0x151820(0xc0)]();}[_0x2b7d90(0xd0)](){const _0x1bccb1=_0x2b7d90,_0x20499e=new _0x2183e9();return _0x20499e[_0x1bccb1(0xd3)]=this[_0x1bccb1(0xe9)][_0x1bccb1(0xe7)],_0x20499e[_0x1bccb1(0xc2)]({'tag':_0x1bccb1(0xd1),'attributes':{'class':[Mr]}}),_0x20499e;}[_0x2b7d90(0xe0)](){const _0x3f4ad9=_0x2b7d90,_0x197343=new _0x20d683();return _0x197343[_0x3f4ad9(0xc7)]=this[_0x3f4ad9(0xbd)](this[_0x3f4ad9(0xe9)]),_0x197343;}[_0x2b7d90(0xd8)](){const _0x2be21b=_0x2b7d90,_0x27c3fb=this[_0x2be21b(0xde)];this[_0x2be21b(0xc8)]({'tag':_0x2be21b(0xbf),'attributes':{'class':[Jr,_0x27c3fb['if'](_0x2be21b(0xe4),_0x2be21b(0xdb),_0x888ab7=>!_0x888ab7),_0x27c3fb['if'](_0x2be21b(0xe3),Kr)]},'children':[{'tag':_0x2be21b(0xbf),'attributes':{'class':[Nr]},'children':[this[_0x2be21b(0xc9)]]},this[_0x2be21b(0xe6)]],'on':{'click':_0x27c3fb['to'](_0x2be21b(0xcc))}});}[_0x2b7d90(0xc0)](){const _0x30442f=_0x2b7d90;this[_0x30442f(0xc9)][_0x30442f(0xc7)]=this[_0x30442f(0xbd)](this[_0x30442f(0xe9)]);}}
|