@ckeditor/ckeditor5-ai 47.3.0 → 47.4.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 +1 -1
- package/README.md +1 -1
- package/build/ai.js +3 -3
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/be.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-content.css +1 -1
- package/dist/index-editor.css +67 -4
- package/dist/index.css +117 -54
- package/dist/index.js +6 -6
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/be.d.ts +1 -1
- package/dist/translations/be.js +2 -2
- package/dist/translations/be.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/contexts.json +0 -11
- package/lang/translations/af.po +1 -45
- package/lang/translations/ar.po +1 -45
- package/lang/translations/ast.po +1 -45
- package/lang/translations/az.po +1 -45
- package/lang/translations/be.po +1 -45
- package/lang/translations/bg.po +1 -45
- package/lang/translations/bn.po +1 -45
- package/lang/translations/bs.po +1 -45
- package/lang/translations/ca.po +1 -45
- package/lang/translations/cs.po +1 -45
- package/lang/translations/da.po +1 -45
- package/lang/translations/de-ch.po +1 -45
- package/lang/translations/de.po +1 -45
- package/lang/translations/el.po +1 -45
- package/lang/translations/en-au.po +1 -45
- package/lang/translations/en-gb.po +1 -45
- package/lang/translations/en.po +1 -45
- package/lang/translations/eo.po +1 -45
- package/lang/translations/es-co.po +1 -45
- package/lang/translations/es.po +1 -45
- package/lang/translations/et.po +1 -45
- package/lang/translations/eu.po +1 -45
- package/lang/translations/fa.po +1 -45
- package/lang/translations/fi.po +1 -45
- package/lang/translations/fr.po +1 -45
- package/lang/translations/gl.po +1 -45
- package/lang/translations/gu.po +1 -45
- package/lang/translations/he.po +1 -45
- package/lang/translations/hi.po +1 -45
- package/lang/translations/hr.po +1 -45
- package/lang/translations/hu.po +1 -45
- package/lang/translations/hy.po +1 -45
- package/lang/translations/id.po +1 -45
- package/lang/translations/it.po +1 -45
- package/lang/translations/ja.po +1 -45
- package/lang/translations/jv.po +1 -45
- package/lang/translations/kk.po +1 -45
- package/lang/translations/km.po +1 -45
- package/lang/translations/kn.po +1 -45
- package/lang/translations/ko.po +1 -45
- package/lang/translations/ku.po +1 -45
- package/lang/translations/lt.po +1 -45
- package/lang/translations/lv.po +1 -45
- package/lang/translations/ms.po +1 -45
- package/lang/translations/nb.po +1 -45
- package/lang/translations/ne.po +1 -45
- package/lang/translations/nl.po +1 -45
- package/lang/translations/no.po +1 -45
- package/lang/translations/oc.po +1 -45
- package/lang/translations/pl.po +1 -45
- package/lang/translations/pt-br.po +1 -45
- package/lang/translations/pt.po +1 -45
- package/lang/translations/ro.po +1 -45
- package/lang/translations/ru.po +1 -45
- package/lang/translations/si.po +1 -45
- package/lang/translations/sk.po +1 -45
- package/lang/translations/sl.po +1 -45
- package/lang/translations/sq.po +1 -45
- package/lang/translations/sr-latn.po +1 -45
- package/lang/translations/sr.po +1 -45
- package/lang/translations/sv.po +1 -45
- package/lang/translations/th.po +1 -45
- package/lang/translations/ti.po +1 -45
- package/lang/translations/tk.po +1 -45
- package/lang/translations/tr.po +1 -45
- package/lang/translations/tt.po +1 -45
- package/lang/translations/ug.po +1 -45
- package/lang/translations/uk.po +1 -45
- package/lang/translations/ur.po +1 -45
- package/lang/translations/uz.po +1 -45
- package/lang/translations/vi.po +1 -45
- package/lang/translations/zh-cn.po +1 -45
- package/lang/translations/zh.po +1 -45
- package/package.json +16 -16
- package/src/aiactions/aiactions.d.ts +5 -1
- package/src/aiactions/aiactions.js +2 -2
- package/src/aiactions/model/aiactionsinteraction.d.ts +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +2 -2
- package/src/aiactions/model/aiactionsreply.d.ts +1 -1
- package/src/aiactions/model/aiactionsreply.js +2 -2
- package/src/aiassistant/adapters/aiadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aiadapter.js +2 -2
- package/src/aiassistant/adapters/aitextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +2 -2
- package/src/aiassistant/adapters/awstextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +2 -2
- package/src/aiassistant/adapters/openaitextadapter.d.ts +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +2 -2
- package/src/aiassistant/aiassistant.d.ts +1 -1
- package/src/aiassistant/aiassistant.js +2 -2
- package/src/aiassistant/aiassistantediting.d.ts +1 -1
- package/src/aiassistant/aiassistantediting.js +2 -2
- package/src/aiassistant/aiassistantui.d.ts +1 -1
- package/src/aiassistant/aiassistantui.js +2 -2
- package/src/aiassistant/legacyerrors.d.ts +1 -1
- package/src/aiassistant/legacyerrors.js +2 -2
- package/src/aiassistant/ui/aiassistantcontroller.d.ts +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +3 -3
- package/src/aiassistant/ui/form/aiformcontentarea.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +2 -2
- package/src/aiassistant/ui/form/aiformerrorview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +2 -2
- package/src/aiassistant/ui/form/aiformpromptview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +2 -2
- package/src/aiassistant/ui/form/aiformtoolbarview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +2 -2
- package/src/aiassistant/ui/form/aiformview.d.ts +1 -1
- package/src/aiassistant/ui/form/aiformview.js +2 -2
- package/src/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +2 -2
- package/src/aiassistant/ui/form/aihistorylistview.d.ts +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +2 -2
- package/src/aiassistant/ui/form/prompthistory.d.ts +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +2 -2
- package/src/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +2 -2
- package/src/aiassistant/utils/common-translations.d.ts +1 -1
- package/src/aiassistant/utils/common-translations.js +2 -2
- package/src/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +2 -2
- package/src/aiballoon/aiballoon.d.ts +1 -1
- package/src/aiballoon/aiballoon.js +2 -2
- package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +2 -2
- package/src/aiballoon/ui/aiballoontoolbarview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +2 -2
- package/src/aiballoon/ui/aiballoonview.d.ts +1 -1
- package/src/aiballoon/ui/aiballoonview.js +2 -2
- package/src/aichat/aichat.d.ts +38 -4
- package/src/aichat/aichat.js +2 -2
- package/src/aichat/aichatcontroller.d.ts +5 -1
- package/src/aichat/aichatcontroller.js +2 -2
- package/src/aichat/aichatui.d.ts +3 -3
- package/src/aichat/aichatui.js +2 -2
- package/src/aichat/model/aichatcontext.d.ts +1 -1
- package/src/aichat/model/aichatcontext.js +2 -2
- package/src/aichat/model/aichatconversation.d.ts +10 -10
- package/src/aichat/model/aichatconversation.js +2 -2
- package/src/aichat/model/aichatinteraction.d.ts +1 -1
- package/src/aichat/model/aichatinteraction.js +2 -2
- package/src/aichat/ui/aichatcontrolsview.d.ts +4 -4
- package/src/aichat/ui/aichatcontrolsview.js +2 -2
- package/src/aichat/ui/aichatfeedview.d.ts +1 -1
- package/src/aichat/ui/aichatfeedview.js +2 -2
- package/src/aichat/ui/aichatheaderview.d.ts +1 -1
- package/src/aichat/ui/aichatheaderview.js +2 -2
- package/src/aichat/ui/aichatview.d.ts +1 -1
- package/src/aichat/ui/aichatview.js +2 -2
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +2 -2
- package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +2 -2
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +2 -2
- package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +2 -2
- package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +5 -5
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptinputview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +2 -2
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +2 -2
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +2 -2
- package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +2 -2
- package/src/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +3 -2
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +2 -2
- package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +2 -2
- package/src/aichat/utils/eventnames.d.ts +1 -1
- package/src/aichat/utils/eventnames.js +2 -2
- package/src/aichat/utils/promisequeue.d.ts +1 -1
- package/src/aichat/utils/promisequeue.js +2 -2
- package/src/aichathistory/aichathistory.d.ts +1 -1
- package/src/aichathistory/aichathistory.js +2 -2
- package/src/aichathistory/aichathistorycontroller.d.ts +1 -1
- package/src/aichathistory/aichathistorycontroller.js +2 -2
- package/src/aichathistory/aichathistoryui.d.ts +1 -1
- package/src/aichathistory/aichathistoryui.js +2 -2
- package/src/aichathistory/model/aichathistoryconversations.d.ts +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +2 -2
- package/src/aichathistory/model/aichathistoryitem.d.ts +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +2 -2
- package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +3 -3
- package/src/aichathistory/ui/aichathistorylistview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +2 -2
- package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +2 -2
- package/src/aichathistory/ui/aichathistoryview.d.ts +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +2 -2
- package/src/aiconfig.d.ts +1 -1
- package/src/aiconfig.js +1 -1
- package/src/aicore/aiconnector.d.ts +4 -2
- package/src/aicore/aiconnector.js +2 -2
- package/src/aicore/aiediting.d.ts +1 -1
- package/src/aicore/aiediting.js +2 -2
- package/src/aicore/model/aicapabilities.d.ts +1 -1
- package/src/aicore/model/aicapabilities.js +2 -2
- package/src/aicore/model/aicontext.d.ts +1 -1
- package/src/aicore/model/aicontext.js +2 -2
- package/src/aicore/model/aiinteraction.d.ts +1 -1
- package/src/aicore/model/aiinteraction.js +2 -2
- package/src/aicore/model/aimodels.d.ts +3 -12
- package/src/aicore/model/aimodels.js +2 -2
- package/src/aicore/model/aireply.d.ts +1 -1
- package/src/aicore/model/aireply.js +2 -2
- package/src/aicore/pipeline/airesponseapplier.d.ts +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +3 -3
- package/src/aicore/pipeline/airesponseparser.d.ts +1 -1
- package/src/aicore/pipeline/airesponseparser.js +3 -3
- package/src/aicore/ui/aidisclaimerview.d.ts +1 -1
- package/src/aicore/ui/aidisclaimerview.js +2 -2
- package/src/aicore/ui/aiskeleton.d.ts +1 -1
- package/src/aicore/ui/aiskeleton.js +2 -2
- package/src/aicore/ui/aispinner.d.ts +1 -1
- package/src/aicore/ui/aispinner.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +5 -5
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +2 -2
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +2 -2
- package/src/aicore/utils/common-translations.d.ts +1 -1
- package/src/aicore/utils/common-translations.js +2 -2
- package/src/aicore/utils/createresizebutton.d.ts +1 -1
- package/src/aicore/utils/createresizebutton.js +2 -2
- package/src/aicore/utils/documentposition.d.ts +1 -1
- package/src/aicore/utils/documentposition.js +2 -2
- package/src/aicore/utils/documentrange.d.ts +1 -1
- package/src/aicore/utils/documentrange.js +2 -2
- package/src/aicore/utils/eventnames.d.ts +1 -1
- package/src/aicore/utils/eventnames.js +2 -2
- package/src/aicore/utils/geteditorfromcontext.d.ts +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +2 -2
- package/src/aicore/utils/getoperationsfromreply.d.ts +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +2 -2
- package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +2 -2
- package/src/aicore/utils/htmlparser.d.ts +1 -1
- package/src/aicore/utils/htmlparser.js +2 -2
- package/src/aicore/utils/htmlstreamer.d.ts +1 -1
- package/src/aicore/utils/htmlstreamer.js +2 -2
- package/src/aicore/utils/scrollmanager.d.ts +1 -1
- package/src/aicore/utils/scrollmanager.js +2 -2
- package/src/aieditorintegration/aieditorintegration.d.ts +1 -1
- package/src/aieditorintegration/aieditorintegration.js +2 -2
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +2 -2
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +2 -2
- package/src/aiquickactions/aiquickactions.d.ts +1 -1
- package/src/aiquickactions/aiquickactions.js +2 -2
- package/src/aiquickactions/aiquickactionscommand.d.ts +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +2 -2
- package/src/aiquickactions/aiquickactionsediting.d.ts +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +2 -2
- package/src/aiquickactions/aiquickactionsui.d.ts +1 -1
- package/src/aiquickactions/aiquickactionsui.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +2 -2
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +2 -2
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +2 -2
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +2 -2
- package/src/aireviewmode/aireviewmode.d.ts +1 -1
- package/src/aireviewmode/aireviewmode.js +2 -2
- package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +2 -2
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +2 -2
- package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeui.js +2 -2
- package/src/aireviewmode/model/aireviewcheck.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +2 -2
- package/src/aireviewmode/model/aireviewcheckcustom.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +2 -2
- package/src/aireviewmode/model/aireviewchecklist.d.ts +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +2 -2
- package/src/aireviewmode/model/aireviewcheckresult.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +2 -2
- package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +2 -2
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +2 -2
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +2 -2
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +2 -2
- package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +2 -2
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +2 -2
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +2 -2
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +2 -2
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +2 -2
- package/src/aitabs/aitabs.d.ts +1 -1
- package/src/aitabs/aitabs.js +2 -2
- package/src/aitabs/aitabsmainview.d.ts +1 -1
- package/src/aitabs/aitabsmainview.js +2 -2
- package/src/aitabs/tabs/aitabsview.d.ts +1 -1
- package/src/aitabs/tabs/aitabsview.js +2 -2
- package/src/aitabs/tabs/tabbuttonview.d.ts +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +2 -2
- package/src/aitabs/tabs/tabpanelview.d.ts +1 -1
- package/src/aitabs/tabs/tabpanelview.js +2 -2
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/errors.d.ts +1 -1
- package/src/errors.js +2 -2
- package/src/errorsmap.d.ts +1 -1
- package/src/errorsmap.js +2 -2
- package/src/index.d.ts +1 -2
- package/src/index.js +2 -2
- package/theme/aiassistant/ai-dropdown.css +1 -1
- package/theme/aiassistant/ai-form.css +1 -1
- package/theme/aiassistant/ai.css +1 -1
- package/theme/aiballoon/aiballoon.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +1 -1
- package/theme/aichat/aichat-controls/aichat-context-controls.css +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-button.css +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
- package/theme/aichat/aichat-controls/model-unavailable-message.css +1 -1
- package/theme/aichat/aichat-controls/prompt-capabilities.css +1 -1
- package/theme/aichat/aichat-controls/prompt-input.css +1 -1
- package/theme/aichat/aichat-controls.css +1 -1
- package/theme/aichat/aichat.css +1 -1
- package/theme/aichat/aichatfeed.css +55 -1
- package/theme/aichat/aichathistory.css +1 -1
- package/theme/aichat/aiminitoolbar.css +1 -1
- package/theme/aichat/aisuggestioncontainer.css +1 -1
- package/theme/aieditorintegration/aitogglebutton.css +1 -1
- package/theme/aiquickactions/aiquickactions.css +1 -1
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-run-result.css +1 -1
- package/theme/aireviewmode/aireviewmode-check-run.css +1 -1
- package/theme/aireviewmode/aireviewmode-review-completed.css +1 -1
- package/theme/aireviewmode/aireviewmode.css +9 -4
- package/theme/aitabs/aitabsview.css +1 -1
- package/theme/aitabs/tabs/tabbuttonview.css +1 -1
- package/theme/aitabs/tabs/tabsview.css +1 -1
- package/theme/common/aibutton.css +1 -1
- package/theme/common/aidisclaimer.css +1 -1
- package/theme/common/aiheader.css +1 -1
- package/theme/common/ainotification.css +1 -1
- package/theme/common/aiskeleton.css +1 -1
- package/theme/common/aispinner.css +1 -1
- package/theme/common/aitrackchanges.css +1 -1
- package/src/aichat/model/aichatmodels.d.ts +0 -63
- package/src/aichat/model/aichatmodels.js +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4ac7db=_0x25ad;(function(_0x12c7dd,_0x1297fe){const _0x4fe1c4=_0x25ad,_0x33b598=_0x12c7dd();while(!![]){try{const _0x11b729=parseInt(_0x4fe1c4(0x157))/0x1*(parseInt(_0x4fe1c4(0x1a2))/0x2)+parseInt(_0x4fe1c4(0x1b4))/0x3+parseInt(_0x4fe1c4(0x163))/0x4+parseInt(_0x4fe1c4(0x14d))/0x5*(-parseInt(_0x4fe1c4(0x17a))/0x6)+parseInt(_0x4fe1c4(0x145))/0x7*(-parseInt(_0x4fe1c4(0x1aa))/0x8)+parseInt(_0x4fe1c4(0x180))/0x9*(-parseInt(_0x4fe1c4(0x198))/0xa)+parseInt(_0x4fe1c4(0x1cb))/0xb*(parseInt(_0x4fe1c4(0x159))/0xc);if(_0x11b729===_0x1297fe)break;else _0x33b598['push'](_0x33b598['shift']());}catch(_0x37626a){_0x33b598['push'](_0x33b598['shift']());}}}(_0xf328,0x74a85));import{IconAIAdjustLength as _0x1443fb,IconAIChangeTone as _0x1cae9c,IconAIChatCommands as _0x436057,IconAIContinueWriting as _0x1bc866,IconAIGrammarCheck as _0x342f01,IconAIImproveWriting as _0x2200e0,IconAIOther as _0x5a582e,IconAIQuickActions as _0x1cc797,IconAITranslate as _0x554e87}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2fd18e}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ded9a,logError as _0xa6f9b9}from'ckeditor5/src/utils.js';import{getTranslation as _0x2765b4}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x12f573}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x29af85}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3cee9b,BalloonToolbar as _0x1037b1,MenuBarMenuView as _0x20a762,MenuBarMenuListView as _0x810034,MenuBarMenuListItemView as _0x4e8a46,MenuBarMenuListItemButtonView as _0x24d86b}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x25ad(_0x549f51,_0x3b4053){const _0xf3289b=_0xf328();return _0x25ad=function(_0x25ad0e,_0x496bcb){_0x25ad0e=_0x25ad0e-0x131;let _0x3cbee4=_0xf3289b[_0x25ad0e];return _0x3cbee4;},_0x25ad(_0x549f51,_0x3b4053);}import{AIModels as _0x14352c}from'../aicore/model/aimodels.js';const ae=_0x4ac7db(0x1d1),se=_0x4ac7db(0x158),re=_0x4ac7db(0x195);export var AIQuickActionType;!function(_0x2d4990){const _0x4b6853=_0x4ac7db;_0x2d4990[_0x4b6853(0x131)]=_0x4b6853(0x131),_0x2d4990[_0x4b6853(0x1b9)]=_0x4b6853(0x1b9),_0x2d4990[_0x4b6853(0x133)]=_0x4b6853(0x133);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;function _0xf328(){const _0x4c4dff=['highlight-key-points','replace','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_MORE_CONFIDENT','990VosFCq','translate-to-french','editing','chinese','view','icon','make-tone-confident','translate-to-korean','translate-to-japanese','make-tone-friendly','12658HrDLeh','german','make-tone-direct','translate-to-chinese','translate-to-italian','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE','88vvmZSd','init','continue','values','find','buttonView','improve-writing','fix-grammar','delegate','AIQuickActionsUI','1014807NVFPKU','make-shorter','adjust-length','AIChat','_initializeQuickActionsMenuBar','ACTION','ai-quick-actions-unavailable-model','commands','portuguese','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_EXPLAIN','getDefaultQuickActions','length','items','forEach','make-tone-professional','change-tone','includes','AIConnector','getAvailableModels','some','AI_QUICK_ACTIONS_MORE_CASUAL','English','8691782ATTXqH','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_CHANGE_TONE','displayedPrompt','actions','AI_QUICK_ACTIONS_HEADING','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','message','ai.quickActions.isSearchEnabled','CHAT','AIReviewMode','REVIEW','_initializeQuickActionsDropdown','other','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','translate','menuBar:aiQuickActions','plugins','_shouldIncludeAction','AI_QUICK_ACTIONS_MORE_DIRECT','chat-commands','map','config','focus','AI_QUICK_ACTIONS_ASK_AI','spanish','requires','347011ZfTvZt','russian','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','japanese','aiQuickAction','uiLanguage','pluginName','summarize','10eIXOZC','explain','translate-to-german','language','menuitem','ai.quickActions.extraCommands','locale','korean','_initializeQuickActionsComponents','add','118spubsT','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','12JcDwTH','_executeQuickAction','aiQuickActions','AI_QUICK_ACTIONS_OTHER','set','ask-ai','AI_QUICK_ACTIONS_SUMMARIZE','get','AI_QUICK_ACTIONS_IMPROVE_WRITING','model','856296nDGbTh','isPremiumPlugin','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','french','filter','menu','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','ai-quick-actions-models-unable-to-retrieve','attachToDom','translate-to-russian','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_MORE_FRIENDLY','translate-to-spanish','_quickActionsDefinition','has','translate-to-english','ai.chat.models.displayedModels','isEnabled','panelView','AI_QUICK_ACTIONS_MAKE_SHORTER','editor','componentFactory','english','2703486drnQYJ','make-tone-casual','execute','close','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','make-longer','15003zvPTOQ','DisplayNames','menuBarView','ai.quickActions.removeCommands','_prepareQuickActionsDefinition','label','AIActions','type','children','push','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','italian','isOfficialPlugin','translate-to-portuguese','AI_QUICK_ACTIONS_TRANSLATE_GERMAN'];_0xf328=function(){return _0x4c4dff;};return _0xf328();}!function(_0x19703a){const _0x275dda=_0x4ac7db;_0x19703a[_0x275dda(0x131)]=_0x275dda(0x1b7),_0x19703a[_0x275dda(0x1b9)]=_0x275dda(0x186),_0x19703a[_0x275dda(0x133)]=_0x275dda(0x132);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x2fd18e{static get[_0x4ac7db(0x144)](){return[_0x1037b1];}static get[_0x4ac7db(0x14b)](){const _0x54d824=_0x4ac7db;return _0x54d824(0x1b3);}static get[_0x4ac7db(0x18d)](){return!0x0;}static get[_0x4ac7db(0x164)](){return!0x0;}async[_0x4ac7db(0x1ab)](){const _0x19a0d2=_0x4ac7db,_0x443e9e=await this[_0x19a0d2(0x1cc)]();this[_0x19a0d2(0x184)](_0x443e9e),this[_0x19a0d2(0x1a7)]();}static[_0x4ac7db(0x1bf)](_0x293acf){return function(_0x9746fa){const _0x3e6673=_0x25ad,_0x5aeeb0=new Intl[(_0x3e6673(0x181))](['en'],{'type':_0x3e6673(0x150)})['of'](_0x9746fa[_0x3e6673(0x14a)]),_0x539ed2=_0x5aeeb0||_0x3e6673(0x1ca),_0x4f68eb=[{'id':_0x3e6673(0x15e),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x142)),'type':AIQuickActionType[_0x3e6673(0x131)],'icon':_0x436057},{'id':_0x3e6673(0x13e),'label':_0x2765b4(_0x9746fa,_0x3e6673(0x1a8)),'icon':_0x436057,'actions':[{'id':_0x3e6673(0x14e),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x1be)),'prompt':ae[_0x3e6673(0x191)]('%0',_0x539ed2),'type':AIQuickActionType[_0x3e6673(0x131)]},{'id':_0x3e6673(0x14c),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x15f)),'prompt':se[_0x3e6673(0x191)]('%0',_0x539ed2),'type':AIQuickActionType[_0x3e6673(0x131)]},{'id':_0x3e6673(0x190),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x138)),'prompt':re[_0x3e6673(0x191)]('%0',_0x539ed2),'type':AIQuickActionType[_0x3e6673(0x131)]}]},{'id':_0x3e6673(0x1b0),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x161)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'icon':_0x2200e0},{'id':_0x3e6673(0x1ac),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x16d)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'icon':_0x1bc866},{'id':_0x3e6673(0x1b1),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x165)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'icon':_0x342f01},{'id':_0x3e6673(0x1b6),'label':_0x2765b4(_0x9746fa,_0x3e6673(0x193)),'icon':_0x1443fb,'actions':[{'id':_0x3e6673(0x1b5),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x176)),'type':AIQuickActionType[_0x3e6673(0x1b9)]},{'id':_0x3e6673(0x17f),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x137)),'type':AIQuickActionType[_0x3e6673(0x1b9)]}]},{'id':_0x3e6673(0x1c4),'label':_0x2765b4(_0x9746fa,_0x3e6673(0x1cd)),'icon':_0x1cae9c,'actions':[{'id':_0x3e6673(0x17b),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x1c9)),'type':AIQuickActionType[_0x3e6673(0x1b9)]},{'id':_0x3e6673(0x1a4),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x13d)),'type':AIQuickActionType[_0x3e6673(0x1b9)]},{'id':_0x3e6673(0x1a1),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x16e)),'type':AIQuickActionType[_0x3e6673(0x1b9)]},{'id':_0x3e6673(0x19e),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x197)),'type':AIQuickActionType[_0x3e6673(0x1b9)]},{'id':_0x3e6673(0x1c3),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x147)),'type':AIQuickActionType[_0x3e6673(0x1b9)]}]},{'id':_0x3e6673(0x139),'label':_0x2765b4(_0x9746fa,_0x3e6673(0x1a9)),'icon':_0x554e87,'actions':[{'id':_0x3e6673(0x172),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x169)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x179)}},{'id':_0x3e6673(0x1a5),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x17e)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x19b)}},{'id':_0x3e6673(0x16f),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x18b)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x143)}},{'id':_0x3e6673(0x14f),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x18f)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x1a3)}},{'id':_0x3e6673(0x199),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x1bd)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x166)}},{'id':_0x3e6673(0x1a0),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x192)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x148)}},{'id':_0x3e6673(0x18e),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x136)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x1bc)}},{'id':_0x3e6673(0x19f),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x194)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x154)}},{'id':_0x3e6673(0x1a6),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x196)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x18c)}},{'id':_0x3e6673(0x16c),'displayedPrompt':_0x2765b4(_0x9746fa,_0x3e6673(0x18a)),'type':AIQuickActionType[_0x3e6673(0x1b9)],'actionName':_0x3e6673(0x139),'args':{'language':_0x3e6673(0x146)}}]},{'id':_0x3e6673(0x135),'label':_0x2765b4(_0x9746fa,_0x3e6673(0x15c)),'icon':_0x5a582e,'actions':[]}];return _0x4f68eb;}(_0x293acf);}async[_0x4ac7db(0x1cc)](){const _0x31feb7=_0x4ac7db,_0x41e4a8=AIQuickActionsUI[_0x31feb7(0x1bf)](this[_0x31feb7(0x177)][_0x31feb7(0x153)]),_0x2fe9c6=this[_0x31feb7(0x177)][_0x31feb7(0x140)][_0x31feb7(0x160)](_0x31feb7(0x152))||[];let _0x3288f1=[];try{_0x3288f1=await new _0x14352c({'connector':this[_0x31feb7(0x177)][_0x31feb7(0x13b)][_0x31feb7(0x160)](_0x31feb7(0x1c6)),'availableModels':this[_0x31feb7(0x177)][_0x31feb7(0x140)][_0x31feb7(0x160)](_0x31feb7(0x173))})[_0x31feb7(0x1c7)]();}catch(_0x4bb75b){const _0x206e1a=new _0x3ded9a(_0x31feb7(0x16a),this,{'error':_0x4bb75b});_0xa6f9b9(_0x206e1a[_0x31feb7(0x1d2)]);}finally{const _0x20acce=_0x2fe9c6[_0x31feb7(0x13f)](_0x44131b=>({..._0x44131b,'icon':void 0x0}));_0x41e4a8[_0x31feb7(0x1ae)](_0x332b54=>_0x31feb7(0x135)===_0x332b54['id'])[_0x31feb7(0x1cf)][_0x31feb7(0x189)](..._0x20acce),_0x41e4a8[_0x31feb7(0x1c2)](_0x4f3a30=>{const _0x292be5=_0x31feb7;if(_0x292be5(0x1cf)in _0x4f3a30)_0x4f3a30[_0x292be5(0x1cf)][_0x292be5(0x1c2)](_0x5a2aa8=>{const _0x278113=_0x292be5;if(_0x5a2aa8[_0x278113(0x174)]=!!_0x3288f1[_0x278113(0x1ae)](_0x834891=>_0x834891['id']===_0x5a2aa8[_0x278113(0x162)])||void 0x0===_0x5a2aa8[_0x278113(0x162)],!_0x5a2aa8[_0x278113(0x174)]){const _0xc6a310=new _0x3ded9a(_0x278113(0x1ba),this,{'actionId':_0x5a2aa8['id'],'modelId':_0x5a2aa8[_0x278113(0x162)]});_0xa6f9b9(_0xc6a310[_0x278113(0x1d2)]);}});else{if(_0x4f3a30[_0x292be5(0x174)]=!!_0x3288f1[_0x292be5(0x1ae)](_0x29d92c=>_0x29d92c['id']===_0x4f3a30[_0x292be5(0x162)])||void 0x0===_0x4f3a30[_0x292be5(0x162)],!_0x4f3a30[_0x292be5(0x174)]){const _0x4b70a3=new _0x3ded9a(_0x292be5(0x1ba),this,{'actionId':_0x4f3a30['id'],'modelId':_0x4f3a30[_0x292be5(0x162)]});_0xa6f9b9(_0x4b70a3[_0x292be5(0x1d2)]);}}});}return _0x41e4a8;}[_0x4ac7db(0x1a7)](){const _0x1ebcb8=_0x4ac7db,_0x22eec3=new _0x3cee9b(this[_0x1ebcb8(0x177)][_0x1ebcb8(0x153)]);_0x22eec3[_0x1ebcb8(0x16b)](),this[_0x1ebcb8(0x134)](_0x22eec3),this[_0x1ebcb8(0x1b8)](),this[_0x1ebcb8(0x155)](_0x22eec3);}[_0x4ac7db(0x134)](_0xfa7a27){const _0x532df0=_0x4ac7db,_0x300288=this[_0x532df0(0x177)][_0x532df0(0x140)][_0x532df0(0x160)](_0x532df0(0x1d3))??!0x0;this[_0x532df0(0x177)]['ui'][_0x532df0(0x178)][_0x532df0(0x156)](_0x532df0(0x15b),_0x12f573({'editor':this[_0x532df0(0x177)],'content':this[_0x532df0(0x170)],'buttonDefinition':{'icon':_0x1cc797,'label':_0x2765b4(this[_0x532df0(0x177)][_0x532df0(0x153)],_0x532df0(0x1d0))},'bodyCollection':_0xfa7a27,'hasSearch':_0x300288}));}[_0x4ac7db(0x184)](_0x8854d4){const _0x5c1300=_0x4ac7db;this[_0x5c1300(0x170)]=_0x8854d4[_0x5c1300(0x13f)](_0x3fc990=>{const _0x3f4138=_0x5c1300;if(_0x3f4138(0x1cf)in _0x3fc990){const _0x3bd288=_0x3fc990;return{..._0x3bd288,'actions':_0x3bd288[_0x3f4138(0x1cf)][_0x3f4138(0x13f)](_0x1a8f8e=>{const {actions:_0x1b1f68,..._0x30ee96}=_0x3bd288;return{..._0x1a8f8e,'parent':_0x30ee96};})[_0x3f4138(0x167)](_0x30bf19=>this[_0x3f4138(0x13c)](_0x30bf19))};}return _0x3fc990;})[_0x5c1300(0x167)](_0x1d5067=>_0x5c1300(0x1cf)in _0x1d5067?_0x1d5067[_0x5c1300(0x1cf)][_0x5c1300(0x1c0)]>0x0:this[_0x5c1300(0x13c)](_0x1d5067));}[_0x4ac7db(0x13c)](_0x18593b){const _0x27f061=_0x4ac7db,_0xb194ac=this[_0x27f061(0x177)][_0x27f061(0x140)][_0x27f061(0x160)](_0x27f061(0x183))||[];return this[_0x27f061(0x177)][_0x27f061(0x13b)][_0x27f061(0x171)](AIQuickActionTypeToPluginName[_0x18593b[_0x27f061(0x187)]])&&!_0xb194ac[_0x27f061(0x1c5)](_0x18593b['id']);}[_0x4ac7db(0x155)](_0x8f6796){const _0x47a8c2=_0x4ac7db;this[_0x47a8c2(0x170)][_0x47a8c2(0x1c2)](_0x58510d=>{const _0x115456=_0x47a8c2;if(_0x115456(0x1cf)in _0x58510d){const _0x358bf0=_0x12f573({'editor':this[_0x115456(0x177)],'content':_0x58510d[_0x115456(0x1cf)],'buttonDefinition':_0x58510d,'bodyCollection':_0x8f6796});this[_0x115456(0x177)]['ui'][_0x115456(0x178)][_0x115456(0x156)](_0x58510d['id'],_0x358bf0),_0x58510d[_0x115456(0x1cf)][_0x115456(0x1c2)](_0x5c1a65=>{const _0x1fd8a5=_0x115456,_0x1f5906=_0x29af85({'editor':this[_0x1fd8a5(0x177)],'action':_0x5c1a65});this[_0x1fd8a5(0x177)]['ui'][_0x1fd8a5(0x178)][_0x1fd8a5(0x156)](_0x5c1a65['id'],_0x1f5906);});}else{const _0x877fea=_0x29af85({'editor':this[_0x115456(0x177)],'action':_0x58510d,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x115456(0x177)]['ui'][_0x115456(0x178)][_0x115456(0x156)](_0x58510d['id'],_0x877fea);}});}[_0x4ac7db(0x1b8)](){const _0x1972c4=_0x4ac7db;this[_0x1972c4(0x177)]['ui'][_0x1972c4(0x178)][_0x1972c4(0x156)](_0x1972c4(0x13a),_0x3fdb80=>{const _0x2e577d=_0x1972c4,_0x20e7f1=new _0x20a762(_0x3fdb80),_0x104a60=_0x2765b4(_0x3fdb80,_0x2e577d(0x1d0));_0x20e7f1[_0x2e577d(0x1af)][_0x2e577d(0x15d)]({'label':_0x104a60,'icon':_0x1cc797});const _0x127cef=new _0x810034(_0x3fdb80);_0x127cef[_0x2e577d(0x15d)]({'ariaLabel':_0x104a60,'role':_0x2e577d(0x168)}),this[_0x2e577d(0x170)][_0x2e577d(0x1c2)](_0x48770d=>{const _0x266eba=_0x2e577d;if(_0x266eba(0x1cf)in _0x48770d){const _0x3d4135=_0x48770d,_0x2084e3=new _0x4e8a46(_0x3fdb80,_0x20e7f1),_0x35c0cb=new _0x20a762(_0x3fdb80),_0x4ffd15=new _0x810034(_0x3fdb80);_0x35c0cb[_0x266eba(0x1af)][_0x266eba(0x15d)]({'label':_0x3d4135[_0x266eba(0x185)],'icon':_0x3d4135[_0x266eba(0x19d)]}),_0x3d4135[_0x266eba(0x1cf)][_0x266eba(0x1c2)](_0x252387=>{const _0x44a6da=_0x266eba,_0x12d0f5=new _0x4e8a46(_0x3fdb80,_0x35c0cb),_0x43d370=new _0x24d86b(_0x3fdb80);_0x43d370[_0x44a6da(0x15d)]({'label':_0x252387[_0x44a6da(0x1ce)],'icon':_0x252387[_0x44a6da(0x19d)],'role':_0x44a6da(0x151),'isEnabled':_0x252387[_0x44a6da(0x174)]}),_0x43d370['on'](_0x44a6da(0x17c),()=>{const _0x530444=_0x44a6da;this[_0x530444(0x15a)](_0x252387);}),_0x43d370[_0x44a6da(0x1b2)](_0x44a6da(0x17c))['to'](_0x35c0cb),_0x12d0f5[_0x44a6da(0x188)][_0x44a6da(0x156)](_0x43d370),_0x4ffd15[_0x44a6da(0x1c1)][_0x44a6da(0x156)](_0x12d0f5);}),_0x35c0cb[_0x266eba(0x175)][_0x266eba(0x188)][_0x266eba(0x156)](_0x4ffd15),_0x2084e3[_0x266eba(0x188)][_0x266eba(0x156)](_0x35c0cb),_0x127cef[_0x266eba(0x1c1)][_0x266eba(0x156)](_0x2084e3);}else{const _0x4c1638=_0x48770d,_0x41ae00=new _0x4e8a46(_0x3fdb80,_0x20e7f1),_0x4d03ce=new _0x24d86b(_0x3fdb80);_0x4d03ce[_0x266eba(0x15d)]({'label':_0x4c1638[_0x266eba(0x1ce)],'icon':_0x4c1638[_0x266eba(0x19d)],'role':_0x266eba(0x151),'isEnabled':_0x4c1638[_0x266eba(0x174)]}),_0x4d03ce['on'](_0x266eba(0x17c),()=>{const _0x2d5e7c=_0x266eba;this[_0x2d5e7c(0x15a)](_0x4c1638);}),_0x4d03ce[_0x266eba(0x1b2)](_0x266eba(0x17c))['to'](_0x20e7f1),_0x41ae00[_0x266eba(0x188)][_0x266eba(0x156)](_0x4d03ce),_0x127cef[_0x266eba(0x1c1)][_0x266eba(0x156)](_0x41ae00);}});const _0x5a8950=Object[_0x2e577d(0x1ad)](AIQuickActionTypeToPluginName)[_0x2e577d(0x1c8)](_0x201229=>this[_0x2e577d(0x177)][_0x2e577d(0x13b)][_0x2e577d(0x171)](_0x201229));return _0x20e7f1[_0x2e577d(0x15d)]({'isEnabled':_0x5a8950}),_0x20e7f1[_0x2e577d(0x175)][_0x2e577d(0x188)][_0x2e577d(0x156)](_0x127cef),_0x20e7f1;});}[_0x4ac7db(0x15a)](_0x3c95a1){const _0x5a351b=_0x4ac7db,_0x3316b8=this[_0x5a351b(0x177)];_0x3316b8[_0x5a351b(0x19a)][_0x5a351b(0x19c)][_0x5a351b(0x141)](),_0x3316b8[_0x5a351b(0x1bb)][_0x5a351b(0x17c)](_0x5a351b(0x149),_0x3c95a1);const _0x406742=_0x3316b8['ui'][_0x5a351b(0x19c)][_0x5a351b(0x182)];_0x406742&&_0x406742[_0x5a351b(0x17d)]&&_0x406742[_0x5a351b(0x17d)]();}}
|
|
23
|
+
const _0x2f2340=_0x4e89;(function(_0x38675e,_0x51d7df){const _0x5d14ea=_0x4e89,_0x4e6d46=_0x38675e();while(!![]){try{const _0x3718d5=-parseInt(_0x5d14ea(0x1a3))/0x1+-parseInt(_0x5d14ea(0x186))/0x2*(parseInt(_0x5d14ea(0x15d))/0x3)+-parseInt(_0x5d14ea(0x171))/0x4*(parseInt(_0x5d14ea(0x165))/0x5)+-parseInt(_0x5d14ea(0x145))/0x6*(parseInt(_0x5d14ea(0x117))/0x7)+parseInt(_0x5d14ea(0x133))/0x8+-parseInt(_0x5d14ea(0x156))/0x9*(-parseInt(_0x5d14ea(0x118))/0xa)+parseInt(_0x5d14ea(0x125))/0xb*(parseInt(_0x5d14ea(0x131))/0xc);if(_0x3718d5===_0x51d7df)break;else _0x4e6d46['push'](_0x4e6d46['shift']());}catch(_0x119a3a){_0x4e6d46['push'](_0x4e6d46['shift']());}}}(_0x1819,0x24cd7));import{IconAIAdjustLength as _0x1bb7b7,IconAIChangeTone as _0x8e13fd,IconAIChatCommands as _0x37006e,IconAIContinueWriting as _0x348f31,IconAIGrammarCheck as _0x442516,IconAIImproveWriting as _0x2ae24a,IconAIOther as _0x37dbb9,IconAIQuickActions as _0x28273c,IconAITranslate as _0x4ca8f2}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5b48ce}from'ckeditor5/src/core.js';import{CKEditorError as _0x52bd9b,logError as _0x56183e}from'ckeditor5/src/utils.js';import{getTranslation as _0x1392fc}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4030ba}from'./ui/aiquickactionsdropdowncreator.js';function _0x1819(){const _0x3c739e=['has','aiQuickAction','execute','chinese','AIConnector','highlight-key-points','buttonView','make-tone-professional','translate','close','AI_QUICK_ACTIONS_MORE_CASUAL','3739128XmWXqz','values','1878680KZDmBR','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_CONTINUE_WRITING','isEnabled','getDefaultQuickActions','includes','portuguese','japanese','REVIEW','french','make-tone-friendly','AI_QUICK_ACTIONS_MAKE_LONGER','_initializeQuickActionsDropdown','init','make-tone-confident','translate-to-russian','AI_QUICK_ACTIONS_TRANSLATE','isOfficialPlugin','10266lMdyDa','editor','requires','filter','AI_QUICK_ACTIONS_SUMMARIZE','spanish','uiLanguage','ai.chat.context.document.enabled','AIQuickActionsUI','DisplayNames','CHAT','displayedPrompt','get','make-longer','forEach','_shouldIncludeAction','_initializeQuickActionsComponents','9KIfowE','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','explain','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_EXPLAIN','3519fVrXoL','AI_QUICK_ACTIONS_MORE_FRIENDLY','getAvailableModels','translate-to-french','ai-quick-actions-models-unable-to-retrieve','model','replace','italian','1760EqoTNk','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','ai.quickActions.removeCommands','pluginName','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','componentFactory','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','commands','AIActions','ai.quickActions.isSearchEnabled','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','3136hhIKZa','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','locale','translate-to-japanese','_prepareQuickActionsDefinition','_getDefaultAndCustomActions','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','editing','change-tone','menuitem','items','continue','adjust-length','translate-to-german','_initializeQuickActionsComponentsAndCommands','focus','_executeQuickAction','chat-commands','make-tone-direct','make-tone-casual','168LwVbar','message','actions','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_OTHER','delegate','AIChat','translate-to-chinese','other','view','AI_QUICK_ACTIONS_CHAT_COMMANDS','english','improve-writing','ai-quick-actions-unavailable-model','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_IMPROVE_WRITING','English','AI_QUICK_ACTIONS_MORE_DIRECT','russian','add','icon','german','isPremiumPlugin','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','make-shorter','children','set','40805okCxYJ','translate-to-english','language','ACTION','summarize','menu','push','AI_QUICK_ACTIONS_MORE_CONFIDENT','AIReviewMode','ai.chat.models.displayedModels','ask-ai','label','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','config','korean','AI_QUICK_ACTIONS_MAKE_SHORTER','length','AI_QUICK_ACTIONS_ADJUST_LENGTH','translate-to-italian','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','type','ai.quickActions.extraCommands','menuBar:aiQuickActions','798vVzwnB','2146730NIhhLi','translate-to-portuguese','aiQuickActions','attachToDom','menuBarView','find','fix-grammar','map','_quickActionsDefinition','panelView','some','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','plugins','11cJLkXE'];_0x1819=function(){return _0x3c739e;};return _0x1819();}import{aiQuickActionsButtonCreator as _0x354996}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x11056c,BalloonToolbar as _0x4eb171,MenuBarMenuView as _0xbd6320,MenuBarMenuListView as _0x1128b,MenuBarMenuListItemView as _0x527de0,MenuBarMenuListItemButtonView as _0xf17067}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x1ce1e1}from'../aicore/model/aimodels.js';const ie=_0x2f2340(0x166),ne=_0x2f2340(0x16c),oe=_0x2f2340(0x113);export var AIQuickActionType;!function(_0x4a97ca){const _0x59e90c=_0x2f2340;_0x4a97ca[_0x59e90c(0x14f)]=_0x59e90c(0x14f),_0x4a97ca[_0x59e90c(0x1a6)]=_0x59e90c(0x1a6),_0x4a97ca[_0x59e90c(0x13b)]=_0x59e90c(0x13b);}(AIQuickActionType||(AIQuickActionType={}));function _0x4e89(_0x1096d3,_0x3594ea){const _0x1819ff=_0x1819();return _0x4e89=function(_0x4e898b,_0xe5bcfa){_0x4e898b=_0x4e898b-0x105;let _0x4cd5da=_0x1819ff[_0x4e898b];return _0x4cd5da;},_0x4e89(_0x1096d3,_0x3594ea);}export var AIQuickActionTypeToPluginName;!function(_0x566a0d){const _0x5dc10=_0x2f2340;_0x566a0d[_0x5dc10(0x14f)]=_0x5dc10(0x18c),_0x566a0d[_0x5dc10(0x1a6)]=_0x5dc10(0x16e),_0x566a0d[_0x5dc10(0x13b)]=_0x5dc10(0x107);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x5b48ce{static get[_0x2f2340(0x147)](){return[_0x4eb171];}static get[_0x2f2340(0x169)](){const _0x23d30c=_0x2f2340;return _0x23d30c(0x14d);}static get[_0x2f2340(0x144)](){return!0x0;}static get[_0x2f2340(0x19e)](){return!0x0;}async[_0x2f2340(0x140)](){const _0x425c4f=_0x2f2340,_0x380d5a=await this[_0x425c4f(0x176)]();this[_0x425c4f(0x175)](_0x380d5a),this[_0x425c4f(0x180)]();}static[_0x2f2340(0x137)](_0x1430d0){return function(_0x31367b){const _0x35bffa=_0x4e89,_0x92dee8=new Intl[(_0x35bffa(0x14e))](['en'],{'type':_0x35bffa(0x1a5)})['of'](_0x31367b[_0x35bffa(0x14b)]),_0x204311=_0x92dee8||_0x35bffa(0x198),_0x5b65fe=[{'id':_0x35bffa(0x109),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x189)),'type':AIQuickActionType[_0x35bffa(0x14f)],'icon':_0x37006e},{'id':_0x35bffa(0x183),'label':_0x1392fc(_0x31367b,_0x35bffa(0x190)),'icon':_0x37006e,'actions':[{'id':_0x35bffa(0x159),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x15c)),'prompt':ie[_0x35bffa(0x163)]('%0',_0x204311),'type':AIQuickActionType[_0x35bffa(0x14f)]},{'id':_0x35bffa(0x1a7),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x149)),'prompt':ne[_0x35bffa(0x163)]('%0',_0x204311),'type':AIQuickActionType[_0x35bffa(0x14f)]},{'id':_0x35bffa(0x12b),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x19f)),'prompt':oe[_0x35bffa(0x163)]('%0',_0x204311),'type':AIQuickActionType[_0x35bffa(0x14f)]}]},{'id':_0x35bffa(0x192),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x197)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'icon':_0x2ae24a},{'id':_0x35bffa(0x17d),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x135)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'icon':_0x348f31},{'id':_0x35bffa(0x11e),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x194)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'icon':_0x442516},{'id':_0x35bffa(0x17e),'label':_0x1392fc(_0x31367b,_0x35bffa(0x111)),'icon':_0x1bb7b7,'actions':[{'id':_0x35bffa(0x1a0),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x10f)),'type':AIQuickActionType[_0x35bffa(0x1a6)]},{'id':_0x35bffa(0x152),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x13e)),'type':AIQuickActionType[_0x35bffa(0x1a6)]}]},{'id':_0x35bffa(0x17a),'label':_0x1392fc(_0x31367b,_0x35bffa(0x134)),'icon':_0x8e13fd,'actions':[{'id':_0x35bffa(0x185),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x130)),'type':AIQuickActionType[_0x35bffa(0x1a6)]},{'id':_0x35bffa(0x184),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x199)),'type':AIQuickActionType[_0x35bffa(0x1a6)]},{'id':_0x35bffa(0x13d),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x15e)),'type':AIQuickActionType[_0x35bffa(0x1a6)]},{'id':_0x35bffa(0x141),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x106)),'type':AIQuickActionType[_0x35bffa(0x1a6)]},{'id':_0x35bffa(0x12d),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x170)),'type':AIQuickActionType[_0x35bffa(0x1a6)]}]},{'id':_0x35bffa(0x12e),'label':_0x1392fc(_0x31367b,_0x35bffa(0x143)),'icon':_0x4ca8f2,'actions':[{'id':_0x35bffa(0x1a4),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x15b)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x191)}},{'id':_0x35bffa(0x18d),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x16a)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x129)}},{'id':_0x35bffa(0x195),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x158)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x14a)}},{'id':_0x35bffa(0x17f),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x196)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x19d)}},{'id':_0x35bffa(0x160),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x10c)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x13c)}},{'id':_0x35bffa(0x174),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x15a)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x13a)}},{'id':_0x35bffa(0x119),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x167)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x139)}},{'id':_0x35bffa(0x157),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x178)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x10e)}},{'id':_0x35bffa(0x112),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x123)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x164)}},{'id':_0x35bffa(0x142),'displayedPrompt':_0x1392fc(_0x31367b,_0x35bffa(0x172)),'type':AIQuickActionType[_0x35bffa(0x1a6)],'actionName':_0x35bffa(0x12e),'args':{'language':_0x35bffa(0x19a)}}]},{'id':_0x35bffa(0x18e),'label':_0x1392fc(_0x31367b,_0x35bffa(0x18a)),'icon':_0x37dbb9,'actions':[]}];return _0x5b65fe;}(_0x1430d0);}async[_0x2f2340(0x176)](){const _0x580495=_0x2f2340,_0x3984e4=AIQuickActionsUI[_0x580495(0x137)](this[_0x580495(0x146)][_0x580495(0x173)]),_0x91bc6=this[_0x580495(0x146)][_0x580495(0x10d)][_0x580495(0x151)](_0x580495(0x115))||[];let _0x2c296e=[];try{_0x2c296e=await new _0x1ce1e1({'connector':this[_0x580495(0x146)][_0x580495(0x124)][_0x580495(0x151)](_0x580495(0x12a)),'availableModels':this[_0x580495(0x146)][_0x580495(0x10d)][_0x580495(0x151)](_0x580495(0x108)),'locale':this[_0x580495(0x146)][_0x580495(0x173)]})[_0x580495(0x15f)]();}catch(_0x49d0ca){const _0x38e5b9=new _0x52bd9b(_0x580495(0x161),this,{'error':_0x49d0ca});_0x56183e(_0x38e5b9[_0x580495(0x187)]);}finally{const _0x5a6f3d=_0x91bc6[_0x580495(0x11f)](_0x5442de=>({..._0x5442de,'icon':void 0x0}));_0x3984e4[_0x580495(0x11d)](_0x583da4=>_0x580495(0x18e)===_0x583da4['id'])[_0x580495(0x188)][_0x580495(0x105)](..._0x5a6f3d),_0x3984e4[_0x580495(0x153)](_0x3b7a74=>{const _0x42e04c=_0x580495;if(_0x42e04c(0x188)in _0x3b7a74)_0x3b7a74[_0x42e04c(0x188)][_0x42e04c(0x153)](_0xfca467=>{const _0x245a1e=_0x42e04c;if(_0xfca467[_0x245a1e(0x136)]=!!_0x2c296e[_0x245a1e(0x11d)](_0x3b0346=>_0x3b0346['id']===_0xfca467[_0x245a1e(0x162)])||void 0x0===_0xfca467[_0x245a1e(0x162)],!_0xfca467[_0x245a1e(0x136)]){const _0x58cac4=new _0x52bd9b(_0x245a1e(0x193),this,{'actionId':_0xfca467['id'],'modelId':_0xfca467[_0x245a1e(0x162)]});_0x56183e(_0x58cac4[_0x245a1e(0x187)]);}});else{if(_0x3b7a74[_0x42e04c(0x136)]=!!_0x2c296e[_0x42e04c(0x11d)](_0xd1aa3c=>_0xd1aa3c['id']===_0x3b7a74[_0x42e04c(0x162)])||void 0x0===_0x3b7a74[_0x42e04c(0x162)],!_0x3b7a74[_0x42e04c(0x136)]){const _0x1d9710=new _0x52bd9b(_0x42e04c(0x193),this,{'actionId':_0x3b7a74['id'],'modelId':_0x3b7a74[_0x42e04c(0x162)]});_0x56183e(_0x1d9710[_0x42e04c(0x187)]);}}});}return _0x3984e4;}[_0x2f2340(0x180)](){const _0x1042ba=_0x2f2340,_0x152134=new _0x11056c(this[_0x1042ba(0x146)][_0x1042ba(0x173)]);_0x152134[_0x1042ba(0x11b)](),this[_0x1042ba(0x13f)](_0x152134),this[_0x1042ba(0x177)](),this[_0x1042ba(0x155)](_0x152134);}[_0x2f2340(0x13f)](_0x18aeef){const _0x5d1829=_0x2f2340,_0x2384ef=this[_0x5d1829(0x146)][_0x5d1829(0x10d)][_0x5d1829(0x151)](_0x5d1829(0x16f))??!0x0;this[_0x5d1829(0x146)]['ui'][_0x5d1829(0x16b)][_0x5d1829(0x19b)](_0x5d1829(0x11a),_0x4030ba({'editor':this[_0x5d1829(0x146)],'content':this[_0x5d1829(0x120)],'buttonDefinition':{'icon':_0x28273c,'label':_0x1392fc(this[_0x5d1829(0x146)][_0x5d1829(0x173)],_0x5d1829(0x10b))},'bodyCollection':_0x18aeef,'hasSearch':_0x2384ef}));}[_0x2f2340(0x175)](_0x5a83b2){const _0x12688b=_0x2f2340;this[_0x12688b(0x120)]=_0x5a83b2[_0x12688b(0x11f)](_0x429c85=>{const _0x293970=_0x12688b;if(_0x293970(0x188)in _0x429c85){const _0xf87b1a=_0x429c85;return{..._0xf87b1a,'actions':_0xf87b1a[_0x293970(0x188)][_0x293970(0x11f)](_0x362999=>{const {actions:_0x2519c8,..._0x392da2}=_0xf87b1a;return{..._0x362999,'parent':_0x392da2};})[_0x293970(0x148)](_0x34986d=>this[_0x293970(0x154)](_0x34986d))};}return _0x429c85;})[_0x12688b(0x148)](_0xfaa743=>_0x12688b(0x188)in _0xfaa743?_0xfaa743[_0x12688b(0x188)][_0x12688b(0x110)]>0x0:this[_0x12688b(0x154)](_0xfaa743));}[_0x2f2340(0x154)](_0x18cf8e){const _0x517b22=_0x2f2340,_0x57aaf9=this[_0x517b22(0x146)][_0x517b22(0x10d)][_0x517b22(0x151)](_0x517b22(0x168))||[];return this[_0x517b22(0x146)][_0x517b22(0x124)][_0x517b22(0x126)](AIQuickActionTypeToPluginName[_0x18cf8e[_0x517b22(0x114)]])&&!_0x57aaf9[_0x517b22(0x138)](_0x18cf8e['id'])&&!(_0x18cf8e[_0x517b22(0x114)]===AIQuickActionType[_0x517b22(0x14f)]&&!0x1===this[_0x517b22(0x146)][_0x517b22(0x10d)][_0x517b22(0x151)](_0x517b22(0x14c)));}[_0x2f2340(0x155)](_0x24b008){const _0x4f925e=_0x2f2340;this[_0x4f925e(0x120)][_0x4f925e(0x153)](_0x5c6f20=>{const _0x4a1c44=_0x4f925e;if(_0x4a1c44(0x188)in _0x5c6f20){const _0x3ca1f4=_0x4030ba({'editor':this[_0x4a1c44(0x146)],'content':_0x5c6f20[_0x4a1c44(0x188)],'buttonDefinition':_0x5c6f20,'bodyCollection':_0x24b008});this[_0x4a1c44(0x146)]['ui'][_0x4a1c44(0x16b)][_0x4a1c44(0x19b)](_0x5c6f20['id'],_0x3ca1f4),_0x5c6f20[_0x4a1c44(0x188)][_0x4a1c44(0x153)](_0x5b13d9=>{const _0x325f40=_0x4a1c44,_0x13bf9e=_0x354996({'editor':this[_0x325f40(0x146)],'action':_0x5b13d9});this[_0x325f40(0x146)]['ui'][_0x325f40(0x16b)][_0x325f40(0x19b)](_0x5b13d9['id'],_0x13bf9e);});}else{const _0x5b7884=_0x354996({'editor':this[_0x4a1c44(0x146)],'action':_0x5c6f20,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x4a1c44(0x146)]['ui'][_0x4a1c44(0x16b)][_0x4a1c44(0x19b)](_0x5c6f20['id'],_0x5b7884);}});}[_0x2f2340(0x177)](){const _0x5b7e34=_0x2f2340;this[_0x5b7e34(0x146)]['ui'][_0x5b7e34(0x16b)][_0x5b7e34(0x19b)](_0x5b7e34(0x116),_0x7318c7=>{const _0x22b114=_0x5b7e34,_0x5465a0=new _0xbd6320(_0x7318c7),_0x3e1307=_0x1392fc(_0x7318c7,_0x22b114(0x10b));_0x5465a0[_0x22b114(0x12c)][_0x22b114(0x1a2)]({'label':_0x3e1307,'icon':_0x28273c});const _0x23901f=new _0x1128b(_0x7318c7);_0x23901f[_0x22b114(0x1a2)]({'ariaLabel':_0x3e1307,'role':_0x22b114(0x1a8)}),this[_0x22b114(0x120)][_0x22b114(0x153)](_0x2b988f=>{const _0x52e9e1=_0x22b114;if(_0x52e9e1(0x188)in _0x2b988f){const _0x2998f2=_0x2b988f,_0x2e01e7=new _0x527de0(_0x7318c7,_0x5465a0),_0x34477e=new _0xbd6320(_0x7318c7),_0x1ce872=new _0x1128b(_0x7318c7);_0x34477e[_0x52e9e1(0x12c)][_0x52e9e1(0x1a2)]({'label':_0x2998f2[_0x52e9e1(0x10a)],'icon':_0x2998f2[_0x52e9e1(0x19c)]}),_0x2998f2[_0x52e9e1(0x188)][_0x52e9e1(0x153)](_0xe27cee=>{const _0x34dd37=_0x52e9e1,_0x3650d3=new _0x527de0(_0x7318c7,_0x34477e),_0xd3f95a=new _0xf17067(_0x7318c7);_0xd3f95a[_0x34dd37(0x1a2)]({'label':_0xe27cee[_0x34dd37(0x150)],'icon':_0xe27cee[_0x34dd37(0x19c)],'role':_0x34dd37(0x17b),'isEnabled':_0xe27cee[_0x34dd37(0x136)]}),_0xd3f95a['on'](_0x34dd37(0x128),()=>{const _0xe98d90=_0x34dd37;this[_0xe98d90(0x182)](_0xe27cee);}),_0xd3f95a[_0x34dd37(0x18b)](_0x34dd37(0x128))['to'](_0x34477e),_0x3650d3[_0x34dd37(0x1a1)][_0x34dd37(0x19b)](_0xd3f95a),_0x1ce872[_0x34dd37(0x17c)][_0x34dd37(0x19b)](_0x3650d3);}),_0x34477e[_0x52e9e1(0x121)][_0x52e9e1(0x1a1)][_0x52e9e1(0x19b)](_0x1ce872),_0x2e01e7[_0x52e9e1(0x1a1)][_0x52e9e1(0x19b)](_0x34477e),_0x23901f[_0x52e9e1(0x17c)][_0x52e9e1(0x19b)](_0x2e01e7);}else{const _0x11ebc0=_0x2b988f,_0xba4403=new _0x527de0(_0x7318c7,_0x5465a0),_0x522f4e=new _0xf17067(_0x7318c7);_0x522f4e[_0x52e9e1(0x1a2)]({'label':_0x11ebc0[_0x52e9e1(0x150)],'icon':_0x11ebc0[_0x52e9e1(0x19c)],'role':_0x52e9e1(0x17b),'isEnabled':_0x11ebc0[_0x52e9e1(0x136)]}),_0x522f4e['on'](_0x52e9e1(0x128),()=>{const _0x23cb4a=_0x52e9e1;this[_0x23cb4a(0x182)](_0x11ebc0);}),_0x522f4e[_0x52e9e1(0x18b)](_0x52e9e1(0x128))['to'](_0x5465a0),_0xba4403[_0x52e9e1(0x1a1)][_0x52e9e1(0x19b)](_0x522f4e),_0x23901f[_0x52e9e1(0x17c)][_0x52e9e1(0x19b)](_0xba4403);}});const _0x16612a=Object[_0x22b114(0x132)](AIQuickActionTypeToPluginName)[_0x22b114(0x122)](_0x2a5c66=>this[_0x22b114(0x146)][_0x22b114(0x124)][_0x22b114(0x126)](_0x2a5c66));return _0x5465a0[_0x22b114(0x1a2)]({'isEnabled':_0x16612a}),_0x5465a0[_0x22b114(0x121)][_0x22b114(0x1a1)][_0x22b114(0x19b)](_0x23901f),_0x5465a0;});}[_0x2f2340(0x182)](_0x19d2c5){const _0x33d14c=_0x2f2340,_0x40eba2=this[_0x33d14c(0x146)];_0x40eba2[_0x33d14c(0x179)][_0x33d14c(0x18f)][_0x33d14c(0x181)](),_0x40eba2[_0x33d14c(0x16d)][_0x33d14c(0x128)](_0x33d14c(0x127),_0x19d2c5);const _0x2c1b76=_0x40eba2['ui'][_0x33d14c(0x18f)][_0x33d14c(0x11c)];_0x2c1b76&&_0x2c1b76[_0x33d14c(0x12f)]&&_0x2c1b76[_0x33d14c(0x12f)]();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x15761e,_0x1f1ab2){const _0x5a4ce4=_0x4a41,_0x5e5ec3=_0x15761e();while(!![]){try{const _0x390dfa=parseInt(_0x5a4ce4(0x17a))/0x1*(parseInt(_0x5a4ce4(0x17c))/0x2)+-parseInt(_0x5a4ce4(0x17e))/0x3+-parseInt(_0x5a4ce4(0x16f))/0x4+parseInt(_0x5a4ce4(0x170))/0x5+-parseInt(_0x5a4ce4(0x175))/0x6*(parseInt(_0x5a4ce4(0x174))/0x7)+-parseInt(_0x5a4ce4(0x171))/0x8+parseInt(_0x5a4ce4(0x179))/0x9;if(_0x390dfa===_0x1f1ab2)break;else _0x5e5ec3['push'](_0x5e5ec3['shift']());}catch(_0x376947){_0x5e5ec3['push'](_0x5e5ec3['shift']());}}}(_0x1980,0x983f2));import{ButtonView as _0x15b3ca}from'ckeditor5/src/ui.js';function _0x4a41(_0x5188f1,_0x2c6523){const _0x198069=_0x1980();return _0x4a41=function(_0x4a41c2,_0x180b81){_0x4a41c2=_0x4a41c2-0x16c;let _0x277da3=_0x198069[_0x4a41c2];return _0x277da3;},_0x4a41(_0x5188f1,_0x2c6523);}function _0x1980(){const _0x3b6e16=['editing','focus','aiQuickAction','execute','displayedPrompt','locale','set','view','1797968CYwZXX','1014155MQmHlY','1386720jSjoOb','commands','isEnabled','70SjMXrq','630978TZiWNH','extendTemplate','icon','bindTemplate','14332833VUREcm','3fUWwCO','menuitem','787628bbWRvc','parent','2036238WBvctK','ck-ai-quick-actions-button'];_0x1980=function(){return _0x3b6e16;};return _0x1980();}import{IconAIQuickActions as _0x469d0d}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x173e84){const {editor:_0x2ad6dc,action:_0x4809bf,withText:_0x4e6416=!0x1,withIcon:_0x408a07=!0x0,isInDropdown:_0x5b7a70=!0x0,shouldPreventFocus:_0x9b1df1=!0x1}=_0x173e84;return()=>{const _0x246b1a=_0x4a41,_0x5a9fad=_0x2ad6dc[_0x246b1a(0x16c)],_0x498e3f=new _0x15b3ca(_0x5a9fad),_0x30ac84=_0x498e3f[_0x246b1a(0x178)];_0x5b7a70&&_0x498e3f[_0x246b1a(0x176)]({'on':{'mouseenter':_0x30ac84['to'](()=>{const _0x3a4307=_0x246b1a;_0x9b1df1&&_0x9b1df1()||_0x498e3f[_0x3a4307(0x181)]();})}});const _0x100b46=_0x4809bf[_0x246b1a(0x177)]??_0x4809bf[_0x246b1a(0x17d)]?.[_0x246b1a(0x177)];return _0x498e3f[_0x246b1a(0x16d)]({'label':_0x4809bf[_0x246b1a(0x184)],'withText':_0x4e6416,'role':_0x246b1a(0x17b),'icon':_0x408a07?_0x100b46??_0x469d0d:void 0x0,'tooltip':!_0x4e6416,'class':_0x246b1a(0x17f),'isEnabled':_0x4809bf[_0x246b1a(0x173)]}),_0x498e3f['on'](_0x246b1a(0x183),()=>{const _0x2ce581=_0x246b1a;_0x2ad6dc[_0x2ce581(0x180)][_0x2ce581(0x16e)][_0x2ce581(0x181)](),_0x2ad6dc[_0x2ce581(0x172)][_0x2ce581(0x183)](_0x2ce581(0x182),_0x4809bf);}),_0x498e3f;};}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5157c1=_0x1e18;(function(_0x30913d,_0x23619a){const _0x3002b9=_0x1e18,_0xa2c8b9=_0x30913d();while(!![]){try{const _0x345c94=parseInt(_0x3002b9(0x1a3))/0x1*(parseInt(_0x3002b9(0x1d2))/0x2)+parseInt(_0x3002b9(0x1f0))/0x3+parseInt(_0x3002b9(0x1f5))/0x4*(parseInt(_0x3002b9(0x1ff))/0x5)+-parseInt(_0x3002b9(0x1f4))/0x6*(-parseInt(_0x3002b9(0x1da))/0x7)+-parseInt(_0x3002b9(0x18e))/0x8*(-parseInt(_0x3002b9(0x1b4))/0x9)+-parseInt(_0x3002b9(0x205))/0xa+-parseInt(_0x3002b9(0x1e0))/0xb;if(_0x345c94===_0x23619a)break;else _0xa2c8b9['push'](_0xa2c8b9['shift']());}catch(_0x6e67c1){_0xa2c8b9['push'](_0xa2c8b9['shift']());}}}(_0x2818,0xd0fea));import{View as _0x27ef48,ListItemView as _0x409cc1,ListView as _0x5d023a,BalloonPanelView as _0x8c826c,DropdownMenuPanelPositioningFunctions as _0x3ff9c0,ViewCollection as _0x623257,FocusCycler as _0x7078de,ButtonView as _0x955150,IconView as _0xb8b5c9,HighlightedTextView as _0xcaccef,ButtonLabelWithHighlightView as _0x2002e6,SearchTextView as _0x3202f8}from'ckeditor5/src/ui.js';function _0x1e18(_0x5b3b10,_0x15def6){const _0x281857=_0x2818();return _0x1e18=function(_0x1e18d7,_0x19db33){_0x1e18d7=_0x1e18d7-0x181;let _0x396380=_0x281857[_0x1e18d7];return _0x396380;},_0x1e18(_0x5b3b10,_0x15def6);}import{IconAIQuickActions as _0x47060a}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x30040f,KeystrokeHandler as _0x40ead1}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x588179}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x360ac4}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x14c797}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x1b37c3}from'./aiquickactionsfilteredlistview.js';function _0x2818(){const _0x5a9fec=['ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_getButtonKeystroke','ck-button_with-text','bind','_createSearchResultActionButton','ck-ai-quick-actions-group-panel','first','_createGroupActionsList','_createActionButton','ck-rounded-corners','_setupActionButtonExecution','ArrowRight','focus','_createSearchResultGroupRow','ck-ai-quick-actions-group-list','some','719272BqxtmR','span','_hideNestedPanel','resetSearch','ck-ai-quick-actions-search-result-button','destroy','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','button','relatedTarget','ck-ai-quick-actions-search','queryView','_createActionGroupButton','ck-ai-quick-actions-button__group-icon','_createSearchResultContentView','_createSearchResultActionRow','activeElement','ck-ai-quick-actions-button_with-group','clear','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','view','show','351797zEUYDf','_openNestedPanels','ck-ai-quick-actions','push','delete','closest','chain','editing','set','ck-ai-quick-actions-search-result__group-row','actions','_allSearchableItems','ck-ai-quick-actions-search-result__action-row','_handlePanelKeydown','_setupGroupMenuBehavior','_createSearchResultGroupedActionButton','ck-ai-quick-actions-search-result-button_with-group','9zrmzel','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search-result__content','addMany','_createSearchResultIndividualActionButton','content','ck-dropdown-menu__nested-menu__panel','_searchTextView','rtl','isVisible','eastSouth','_getPanelKeystroke','_createListItems','parent','mouseleave','_bodyCollection','_isSearchFocused','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_focusables','fieldView','ck-ai-quick-actions-button_with-group__open-paren','uiLanguageDirection','ck-ai-quick-actions-button','render','reset','ArrowLeft','menuitem','aiQuickAction','.ck-ai-quick-actions-group-list','children','4AiuFCt','isEnabled','contains','_hasSearch','ck-ai-quick-actions-button_with-group__close-paren','displayedPrompt','text','menu','14eIhFpt','.ck-ai-quick-actions-group-panel','AI_QUICK_ACTIONS_SEARCH','items','ck-button','element','22383570UCGAdW','addEventListener','div','label','hide','ck-dropdown-menu-list','add','isOn','forEach','_hideAllNestedPanels','fire','commands','optionsListView','_createSearchTextView','execute','icon','4474206jfHuDX','ownerDocument','extendTemplate','_showNestedPanel','942246EPyDSX','13316SiVmWi','locale','ck-reset_all','bindTemplate','role','key','_handleSearchResultButtonClick','keystrokes','.ck-ai-quick-actions-group-button','_isMovingToNestedMenu','2550HwCIQd','focusTracker','setTemplate','focusCycler','detachFromDom','get','14058650eZuyDA','pin'];_0x2818=function(){return _0x5a9fec;};return _0x2818();}const Ts=_0x5157c1(0x1d9),Rs=_0x5157c1(0x1ce);export class AIQuickActionsDropdownContentView extends _0x27ef48{[_0x5157c1(0x1c3)];[_0x5157c1(0x1ec)];[_0x5157c1(0x1bb)]=null;[_0x5157c1(0x1ae)]=[];[_0x5157c1(0x1d1)];[_0x5157c1(0x200)];[_0x5157c1(0x1fc)];[_0x5157c1(0x1c6)];[_0x5157c1(0x202)];[_0x5157c1(0x1a4)]=new Set();[_0x5157c1(0x1d5)];constructor(_0x96cba0,_0x626ecd,_0x443fcb,_0x202302,_0x3025e8=!0x1){const _0x5ae024=_0x5157c1,_0x590de3=_0x96cba0[_0x5ae024(0x1f6)];super(_0x590de3),this[_0x5ae024(0x1c3)]=_0x202302,this[_0x5ae024(0x1d5)]=_0x3025e8;const _0x2436d9=this[_0x5ae024(0x1c0)](_0x96cba0,_0x626ecd,_0x443fcb);this[_0x5ae024(0x1ec)]=new _0x1b37c3(_0x590de3,_0x2436d9,this[_0x5ae024(0x1ae)]),this[_0x5ae024(0x1ec)][_0x5ae024(0x1f9)]=Ts,this[_0x5ae024(0x1ec)][_0x5ae024(0x1dd)][_0x5ae024(0x1b7)](_0x2436d9),this[_0x5ae024(0x200)]=new _0x30040f(),this[_0x5ae024(0x1fc)]=new _0x40ead1(),_0x3025e8&&(this[_0x5ae024(0x1bb)]=this[_0x5ae024(0x1ed)]()),this[_0x5ae024(0x1c6)]=_0x2436d9,this[_0x5ae024(0x202)]=new _0x7078de({'focusables':this[_0x5ae024(0x1c6)],'focusTracker':this[_0x5ae024(0x200)],'keystrokeHandler':this[_0x5ae024(0x1fc)]}),_0x3025e8&&this[_0x5ae024(0x1bb)]&&this[_0x5ae024(0x202)][_0x5ae024(0x1a9)](this[_0x5ae024(0x1bb)][_0x5ae024(0x202)]);const _0x2edead=_0x3025e8&&this[_0x5ae024(0x1bb)]?[this[_0x5ae024(0x1bb)]]:[this[_0x5ae024(0x1ec)]];this[_0x5ae024(0x1d1)]=new _0x623257(_0x2edead),this[_0x5ae024(0x201)]({'tag':_0x5ae024(0x1e2),'attributes':{'class':['ck',_0x5ae024(0x1f7),_0x5ae024(0x1a5),_0x5ae024(0x187)],'dir':_0x590de3[_0x5ae024(0x1c9)]},'children':this[_0x5ae024(0x1d1)]});}[_0x5157c1(0x1ed)](){const _0x318330=_0x5157c1;return new _0x3202f8(this[_0x318330(0x1f6)],{'filteredView':this[_0x318330(0x1ec)],'queryView':{'label':_0x14c797(this[_0x318330(0x1f6)],_0x318330(0x1dc))},'class':_0x318330(0x197),'infoView':{'text':{'notFound':{'primary':_0x14c797(this[_0x318330(0x1f6)],_0x318330(0x1c5))}}}});}[_0x5157c1(0x1c4)](){const _0x2af420=_0x5157c1;if(!this[_0x2af420(0x1d5)]||!this[_0x2af420(0x1bb)]||!this[_0x2af420(0x1bb)][_0x2af420(0x198)][_0x2af420(0x1c7)][_0x2af420(0x1df)])return!0x1;const _0x404d39=this[_0x2af420(0x1bb)][_0x2af420(0x198)][_0x2af420(0x1c7)][_0x2af420(0x1df)][_0x2af420(0x1f1)]?.[_0x2af420(0x19d)];return this[_0x2af420(0x1bb)][_0x2af420(0x198)][_0x2af420(0x1c7)][_0x2af420(0x1df)][_0x2af420(0x1d4)](_0x404d39);}[_0x5157c1(0x1c0)](_0x1c9888,_0x244ce9,_0x63f04){const _0x502492=_0x5157c1,_0x202439=new _0x623257();return _0x244ce9[_0x502492(0x1e8)](_0x5173af=>{const _0x5c1a45=_0x502492;if(_0x5c1a45(0x1ad)in _0x5173af){const {listItem:_0x3fceed}=this[_0x5c1a45(0x199)](_0x1c9888,_0x5173af,_0x63f04);_0x202439[_0x5c1a45(0x1e6)](_0x3fceed),_0x5173af[_0x5c1a45(0x1ad)][_0x5c1a45(0x1e8)](_0x5e9884=>{const _0x217218=_0x5c1a45;this[_0x217218(0x186)](_0x1c9888,_0x5e9884,_0x5173af[_0x217218(0x1e3)],_0x5173af[_0x217218(0x1ef)]);const {listItem:_0x298656,highlightViews:_0x5ada42}=this[_0x217218(0x182)](_0x1c9888,_0x5e9884,_0x5173af[_0x217218(0x1e3)],_0x5173af[_0x217218(0x1ef)]);this[_0x217218(0x1ae)][_0x217218(0x1a6)]({'item':_0x298656,'label':_0x5e9884[_0x217218(0x1d7)],'groupLabel':_0x5173af[_0x217218(0x1e3)],'highlightViews':_0x5ada42});});}else{const {listItem:_0x5e1797}=this[_0x5c1a45(0x186)](_0x1c9888,_0x5173af);_0x202439[_0x5c1a45(0x1e6)](_0x5e1797);const _0x423117=_0x5e1797[_0x5c1a45(0x1d1)][_0x5c1a45(0x184)];if(_0x423117){const {listItem:_0x18479e,highlightViews:_0x305fc5}=this[_0x5c1a45(0x182)](_0x1c9888,_0x5173af);this[_0x5c1a45(0x1ae)][_0x5c1a45(0x1a6)]({'item':_0x18479e,'label':_0x423117[_0x5c1a45(0x1e3)]||'','highlightViews':_0x305fc5});}}}),_0x202439;}[_0x5157c1(0x186)](_0x29248a,_0x2b7287,_0x42f6e1,_0x3d398f){const _0x2acb0b=_0x5157c1,_0x543898=new _0x409cc1(this[_0x2acb0b(0x1f6)]);if(_0x42f6e1&&_0x3d398f){const _0x5b03f3=new _0x955150(this[_0x2acb0b(0x1f6)]),_0x22c479=_0x5b03f3[_0x2acb0b(0x1f8)],_0x3e45ec=new _0xcaccef();_0x3e45ec[_0x2acb0b(0x1d8)]=_0x2b7287[_0x2acb0b(0x1d7)];const _0x2263af=new _0xcaccef();_0x2263af[_0x2acb0b(0x1d8)]=_0x42f6e1;const _0x541052=new _0xb8b5c9();_0x541052[_0x2acb0b(0x1b9)]=_0x3d398f,_0x541052[_0x2acb0b(0x1f2)]({'attributes':{'class':_0x2acb0b(0x19a)}});const _0x31f4f5=new _0x27ef48(this[_0x2acb0b(0x1f6)]);_0x31f4f5[_0x2acb0b(0x201)]({'tag':_0x2acb0b(0x18f),'attributes':{'class':_0x2acb0b(0x1c8)},'children':[{'text':'\x20('}]});const _0x19740b=new _0x27ef48(this[_0x2acb0b(0x1f6)]);return _0x19740b[_0x2acb0b(0x201)]({'tag':_0x2acb0b(0x18f),'attributes':{'class':_0x2acb0b(0x1d6)},'children':[{'text':')'}]}),_0x5b03f3[_0x2acb0b(0x1ab)]({'label':_0x2b7287[_0x2acb0b(0x1d7)]+'\x20('+_0x42f6e1+')','withText':!0x0,'role':_0x2acb0b(0x1ce),'class':_0x2acb0b(0x1a0),'tooltip':!0x1}),_0x5b03f3[_0x2acb0b(0x201)]({'tag':_0x2acb0b(0x195),'attributes':{'class':['ck',_0x2acb0b(0x1de),_0x2acb0b(0x209),_0x2acb0b(0x1ca),_0x2acb0b(0x19e)],'type':_0x2acb0b(0x195),'role':_0x2acb0b(0x1ce),'tabindex':'-1'},'children':[_0x3e45ec,_0x31f4f5,_0x541052,_0x2263af,_0x19740b],'on':{'mouseenter':_0x22c479['to'](()=>{const _0x16454d=_0x2acb0b;this[_0x16454d(0x1c4)]()||_0x5b03f3[_0x16454d(0x18a)]();}),'click':_0x22c479['to'](()=>{const _0x34cc57=_0x2acb0b;_0x5b03f3[_0x34cc57(0x1ea)](_0x34cc57(0x1ee));})}}),_0x5b03f3['on'](_0x2acb0b(0x1ee),()=>{const _0x243fdb=_0x2acb0b;_0x29248a[_0x243fdb(0x1aa)][_0x243fdb(0x1a1)][_0x243fdb(0x18a)](),_0x29248a[_0x243fdb(0x1eb)][_0x243fdb(0x1ee)](_0x243fdb(0x1cf),_0x2b7287);}),_0x543898[_0x2acb0b(0x1d1)][_0x2acb0b(0x1e6)](_0x5b03f3),{'listItem':_0x543898,'highlightViews':[_0x3e45ec,_0x2263af]};}{const _0x1941e7=new _0x2002e6(),_0x146c14=new _0x955150(this[_0x2acb0b(0x1f6)],_0x1941e7),_0x1adddc=_0x146c14[_0x2acb0b(0x1f8)],_0x10f38e=_0x2b7287[_0x2acb0b(0x1ef)]??_0x2b7287[_0x2acb0b(0x1c1)]?.[_0x2acb0b(0x1ef)],_0x57c06d=void 0x0!==_0x2b7287[_0x2acb0b(0x1ef)];return _0x146c14[_0x2acb0b(0x1ab)]({'label':_0x2b7287[_0x2acb0b(0x1d7)],'withText':!0x0,'role':_0x2acb0b(0x1ce),'icon':_0x57c06d?_0x10f38e??_0x47060a:void 0x0,'tooltip':!0x1,'class':_0x2acb0b(0x1ca)}),_0x146c14[_0x2acb0b(0x1f2)]({'on':{'mouseenter':_0x1adddc['to'](()=>{const _0x403d88=_0x2acb0b;this[_0x403d88(0x1c4)]()||_0x146c14[_0x403d88(0x18a)]();})}}),_0x146c14['on'](_0x2acb0b(0x1ee),()=>{const _0x39a4c5=_0x2acb0b;_0x29248a[_0x39a4c5(0x1aa)][_0x39a4c5(0x1a1)][_0x39a4c5(0x18a)](),_0x29248a[_0x39a4c5(0x1eb)][_0x39a4c5(0x1ee)](_0x39a4c5(0x1cf),_0x2b7287);}),_0x543898[_0x2acb0b(0x1d1)][_0x2acb0b(0x1e6)](_0x146c14),{'listItem':_0x543898,'highlightViews':[_0x1941e7]};}}[_0x5157c1(0x182)](_0x2268c5,_0x55733b,_0x19b4f4,_0x2798c7){const _0x44f081=_0x5157c1;return _0x19b4f4&&_0x2798c7?this[_0x44f081(0x1b2)](_0x2268c5,_0x55733b,_0x19b4f4,_0x2798c7):this[_0x44f081(0x1b8)](_0x2268c5,_0x55733b);}[_0x5157c1(0x1b2)](_0xea122f,_0x1fd41a,_0x57ef2b,_0x2f35f2){const _0x57a4fe=_0x5157c1,_0x37cd18=new _0x409cc1(this[_0x57a4fe(0x1f6)]),_0x59078e=new _0x955150(this[_0x57a4fe(0x1f6)]),_0x1af4af=_0x59078e[_0x57a4fe(0x1f8)],{view:_0xcfa7c5,highlightView:_0x3a9089}=this[_0x57a4fe(0x18b)](_0x57ef2b,_0x2f35f2),{view:_0x3ad63d,highlightView:_0x5ada09}=this[_0x57a4fe(0x19c)](_0x1fd41a[_0x57a4fe(0x1d7)]),_0x1925f2=this[_0x57a4fe(0x19b)](_0xcfa7c5,_0x3ad63d);return _0x59078e[_0x57a4fe(0x1ab)]({'label':_0x1fd41a[_0x57a4fe(0x1d7)],'withText':!0x0,'role':_0x57a4fe(0x1ce),'class':_0x57a4fe(0x194),'tooltip':!0x1}),_0x59078e[_0x57a4fe(0x201)]({'tag':_0x57a4fe(0x195),'attributes':{'class':['ck',_0x57a4fe(0x1de),_0x57a4fe(0x209),_0x57a4fe(0x1ca),_0x57a4fe(0x192),_0x57a4fe(0x1b3)],'type':_0x57a4fe(0x195),'role':_0x57a4fe(0x1ce),'tabindex':'-1'},'children':[_0x1925f2],'on':{'mouseenter':_0x1af4af['to'](()=>{const _0x1cea39=_0x57a4fe;this[_0x1cea39(0x1c4)]()||_0x59078e[_0x1cea39(0x18a)]();}),'click':_0x1af4af['to'](()=>{const _0x694545=_0x57a4fe;this[_0x694545(0x1fb)](_0x59078e);})}}),this[_0x57a4fe(0x188)](_0x59078e,_0xea122f,_0x1fd41a),_0x37cd18[_0x57a4fe(0x1d1)][_0x57a4fe(0x1e6)](_0x59078e),{'listItem':_0x37cd18,'highlightViews':[_0x3a9089,_0x5ada09]};}[_0x5157c1(0x1b8)](_0x47fd2b,_0x277776){const _0x3771c7=_0x5157c1,_0x29c0c5=new _0x409cc1(this[_0x3771c7(0x1f6)]),_0x519d76=new _0x2002e6(),_0xf00877=new _0x955150(this[_0x3771c7(0x1f6)],_0x519d76),_0x46de8a=_0xf00877[_0x3771c7(0x1f8)];return _0xf00877[_0x3771c7(0x1ab)]({'label':_0x277776[_0x3771c7(0x1d7)],'withText':!0x0,'role':_0x3771c7(0x1ce),'icon':void 0x0,'tooltip':!0x1,'class':_0x3771c7(0x207)}),_0xf00877[_0x3771c7(0x1f2)]({'on':{'mouseenter':_0x46de8a['to'](()=>{const _0x5a1975=_0x3771c7;this[_0x5a1975(0x1c4)]()||_0xf00877[_0x5a1975(0x18a)]();})}}),this[_0x3771c7(0x188)](_0xf00877,_0x47fd2b,_0x277776),_0x29c0c5[_0x3771c7(0x1d1)][_0x3771c7(0x1e6)](_0xf00877),{'listItem':_0x29c0c5,'highlightViews':[_0x519d76]};}[_0x5157c1(0x18b)](_0x49a4a0,_0x4797a0){const _0x4e57e1=_0x5157c1,_0x4bd96b=new _0x27ef48(this[_0x4e57e1(0x1f6)]),_0x53cad1=new _0xb8b5c9();_0x53cad1[_0x4e57e1(0x1b9)]=_0x4797a0,_0x53cad1[_0x4e57e1(0x1f2)]({'attributes':{'class':_0x4e57e1(0x19a)}});const _0x2b5c61=new _0xcaccef();return _0x2b5c61[_0x4e57e1(0x1d8)]=_0x49a4a0,_0x4bd96b[_0x4e57e1(0x201)]({'tag':_0x4e57e1(0x1e2),'attributes':{'class':_0x4e57e1(0x1ac)},'children':[_0x53cad1,_0x2b5c61]}),{'view':_0x4bd96b,'highlightView':_0x2b5c61};}[_0x5157c1(0x19c)](_0x42507b){const _0x5e4fd1=_0x5157c1,_0x436540=new _0x27ef48(this[_0x5e4fd1(0x1f6)]),_0x34296a=new _0xcaccef();return _0x34296a[_0x5e4fd1(0x1d8)]=_0x42507b,_0x436540[_0x5e4fd1(0x201)]({'tag':_0x5e4fd1(0x1e2),'attributes':{'class':_0x5e4fd1(0x1af)},'children':[_0x34296a]}),{'view':_0x436540,'highlightView':_0x34296a};}[_0x5157c1(0x19b)](_0x1e204f,_0x384cfb){const _0x3e185a=_0x5157c1,_0x5b145c=new _0x27ef48(this[_0x3e185a(0x1f6)]);return _0x5b145c[_0x3e185a(0x201)]({'tag':_0x3e185a(0x1e2),'attributes':{'class':_0x3e185a(0x1b6)},'children':[_0x1e204f,_0x384cfb]}),_0x5b145c;}[_0x5157c1(0x188)](_0x30bd0a,_0x4d38cc,_0xc69b6b){const _0x4660e3=_0x5157c1;_0x30bd0a['on'](_0x4660e3(0x1ee),()=>{const _0x30b35d=_0x4660e3;_0x4d38cc[_0x30b35d(0x1aa)][_0x30b35d(0x1a1)][_0x30b35d(0x18a)](),_0x4d38cc[_0x30b35d(0x1eb)][_0x30b35d(0x1ee)](_0x30b35d(0x1cf),_0xc69b6b);});}[_0x5157c1(0x199)](_0x5c537b,_0x4dde78,_0x5b294b){const _0x47024e=_0x5157c1,_0x5cbd90=new _0x409cc1(this[_0x47024e(0x1f6)]),_0x2a807d=new _0x2002e6(),_0x26d848=new _0x360ac4(this[_0x47024e(0x1f6)],_0x2a807d),_0x4cbd89=_0x26d848[_0x47024e(0x1f8)],_0x430f0d=this[_0x47024e(0x1bf)](_0x5b294b),_0x23ab25=this[_0x47024e(0x185)](_0x5c537b,_0x4dde78[_0x47024e(0x1ad)],_0x5b294b);_0x26d848[_0x47024e(0x1ab)]({'label':_0x4dde78[_0x47024e(0x1e3)],'withText':!0x0,'role':Rs,'icon':_0x4dde78[_0x47024e(0x1ef)]??_0x47060a,'isEnabled':_0x4dde78[_0x47024e(0x1ad)][_0x47024e(0x18d)](_0x3cac2b=>_0x3cac2b[_0x47024e(0x1d3)])}),_0x26d848[_0x47024e(0x1f2)]({'on':{'mouseenter':_0x4cbd89['to'](()=>{const _0x3052dc=_0x47024e;this[_0x3052dc(0x1c4)]()||_0x26d848[_0x3052dc(0x18a)]();})}});const _0x4a5305=new _0x8c826c(this[_0x47024e(0x1f6)]);return _0x4a5305[_0x47024e(0x1f2)]({'attributes':{'class':['ck',_0x47024e(0x1f7),_0x47024e(0x183),_0x47024e(0x1ba)]},'on':{'keydown':_0x4cbd89['to'](_0x325b54=>{const _0x180692=_0x47024e;this[_0x180692(0x1b0)](_0x325b54,_0x430f0d,_0x26d848,_0x4a5305);})}}),_0x26d848[_0x47024e(0x181)](_0x47024e(0x1e7))['to'](_0x4a5305,_0x47024e(0x1bd)),this[_0x47024e(0x1c3)][_0x47024e(0x1e6)](_0x4a5305),_0x4a5305[_0x47024e(0x1b9)][_0x47024e(0x1e6)](_0x23ab25),this[_0x47024e(0x1b1)](_0x26d848,_0x4a5305),_0x5cbd90[_0x47024e(0x1d1)][_0x47024e(0x1e6)](_0x26d848),{'listItem':_0x5cbd90,'highlightView':_0x2a807d};}[_0x5157c1(0x185)](_0x651f99,_0x1e9b84,_0x36fd31){const _0x5cbdaf=_0x5157c1,_0x5de83b=new _0x5d023a(this[_0x5cbdaf(0x1f6)]);return _0x5de83b[_0x5cbdaf(0x1f2)]({'attributes':{'class':['ck',_0x5cbdaf(0x1f7),_0x5cbdaf(0x18c),_0x5cbdaf(0x1e5)]}}),_0x1e9b84[_0x5cbdaf(0x1e8)](_0x2bf311=>{const _0x18d82b=_0x5cbdaf,_0x1afe51=new _0x409cc1(this[_0x18d82b(0x1f6)]),_0x256232=_0x588179({'editor':_0x651f99,'action':_0x2bf311,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x18d82b(0x1c4)]()})();_0x1afe51[_0x18d82b(0x1d1)][_0x18d82b(0x1e6)](_0x256232),_0x36fd31[_0x18d82b(0x200)][_0x18d82b(0x1e6)](_0x256232),_0x5de83b[_0x18d82b(0x1dd)][_0x18d82b(0x1e6)](_0x1afe51);}),_0x5de83b;}[_0x5157c1(0x1b1)](_0x20278c,_0x3f2076){const _0x485b82=_0x5157c1,_0x49ce5c=_0x20278c[_0x485b82(0x1f8)],_0x27dbd7=this[_0x485b82(0x208)](_0x20278c);_0x20278c[_0x485b82(0x1f2)]({'attributes':{'class':[_0x485b82(0x1b5)]},'on':{'mouseenter':_0x49ce5c['to'](()=>{const _0x1b62a3=_0x485b82;this[_0x1b62a3(0x1f3)](_0x3f2076,_0x20278c);}),'mouseleave':_0x49ce5c['to'](_0x54bab7=>{const _0x4cd5fa=_0x485b82,_0x5b4084=_0x54bab7[_0x4cd5fa(0x196)];this[_0x4cd5fa(0x1fe)](_0x5b4084,_0x3f2076)||this[_0x4cd5fa(0x190)](_0x3f2076);}),'keydown':_0x49ce5c['to'](_0x104bd0=>{const _0x123496=_0x485b82;_0x104bd0[_0x123496(0x1fa)]==_0x27dbd7&&(this[_0x123496(0x1f3)](_0x3f2076,_0x20278c),_0x3f2076[_0x123496(0x1b9)][_0x123496(0x204)](0x0)[_0x123496(0x18a)]());})}}),_0x3f2076['on'](_0x485b82(0x1cb),()=>{const _0x19055f=_0x485b82;_0x3f2076[_0x19055f(0x1df)]?.[_0x19055f(0x1e1)](_0x19055f(0x1c2),_0x183da1=>{const _0x4ebf2f=_0x19055f,_0x51b69f=_0x183da1[_0x4ebf2f(0x196)];_0x20278c[_0x4ebf2f(0x1df)]?.[_0x4ebf2f(0x1d4)](_0x51b69f)||this[_0x4ebf2f(0x1fe)](_0x51b69f,_0x3f2076)||this[_0x4ebf2f(0x190)](_0x3f2076);});});}[_0x5157c1(0x1f3)](_0x1928ed,_0x487759){const _0x4bad30=_0x5157c1;this[_0x4bad30(0x1a4)][_0x4bad30(0x1e8)](_0x47df9e=>{const _0x2c9be9=_0x4bad30;_0x47df9e!==_0x1928ed&&_0x47df9e[_0x2c9be9(0x1bd)]&&_0x47df9e[_0x2c9be9(0x1e4)]();}),_0x1928ed[_0x4bad30(0x1a2)](),_0x1928ed[_0x4bad30(0x206)]({'positions':[_0x3ff9c0[_0x4bad30(0x1be)]],'target':_0x487759[_0x4bad30(0x1df)],'fitInViewport':!0x0}),this[_0x4bad30(0x1a4)][_0x4bad30(0x1e6)](_0x1928ed);}[_0x5157c1(0x190)](_0x15fb18){const _0x5a6ae8=_0x5157c1;_0x15fb18[_0x5a6ae8(0x1e4)](),this[_0x5a6ae8(0x1a4)][_0x5a6ae8(0x1a7)](_0x15fb18);}[_0x5157c1(0x1e9)](){const _0x130e61=_0x5157c1;this[_0x130e61(0x1a4)][_0x130e61(0x1e8)](_0x33b7d3=>_0x33b7d3[_0x130e61(0x1e4)]()),this[_0x130e61(0x1a4)][_0x130e61(0x19f)]();}[_0x5157c1(0x1fe)](_0x150648,_0x239824){const _0x1fbac7=_0x5157c1;if(!_0x150648)return!0x1;if(_0x239824[_0x1fbac7(0x1df)]?.[_0x1fbac7(0x1d4)](_0x150648))return!0x0;const _0x491ec4=_0x150648;return _0x491ec4[_0x1fbac7(0x1a8)]&&(null!==_0x491ec4[_0x1fbac7(0x1a8)](_0x1fbac7(0x1db))||null!==_0x491ec4[_0x1fbac7(0x1a8)](_0x1fbac7(0x1d0))||null!==_0x491ec4[_0x1fbac7(0x1a8)](_0x1fbac7(0x1fd)));}[_0x5157c1(0x191)](){const _0x317194=_0x5157c1;this[_0x317194(0x1bb)]&&this[_0x317194(0x1bb)][_0x317194(0x1cc)]();}[_0x5157c1(0x193)](){const _0x5aa897=_0x5157c1;this[_0x5aa897(0x1e9)](),this[_0x5aa897(0x1c3)][_0x5aa897(0x203)](),super[_0x5aa897(0x193)]();}[_0x5157c1(0x18a)](){const _0x3b71d5=_0x5157c1;this[_0x3b71d5(0x1bb)]?this[_0x3b71d5(0x1bb)][_0x3b71d5(0x18a)]():this[_0x3b71d5(0x1ec)][_0x3b71d5(0x18a)]();}[_0x5157c1(0x1bf)](_0x4ca1a1){const _0x563b39=_0x5157c1;return _0x563b39(0x1bc)===_0x4ca1a1[_0x563b39(0x1f6)][_0x563b39(0x1c9)]?_0x563b39(0x189):_0x563b39(0x1cd);}[_0x5157c1(0x208)](_0x86185a){const _0x26b445=_0x5157c1;return _0x26b445(0x1bc)===_0x86185a[_0x26b445(0x1f6)][_0x26b445(0x1c9)]?_0x26b445(0x1cd):_0x26b445(0x189);}[_0x5157c1(0x1b0)](_0x42a552,_0x56824e,_0x3e1167,_0x40973f){const _0x59e104=_0x5157c1;_0x42a552[_0x59e104(0x1fa)]==_0x56824e&&(_0x3e1167[_0x59e104(0x18a)](),this[_0x59e104(0x190)](_0x40973f));}[_0x5157c1(0x1fb)](_0x38549d){const _0x55e23a=_0x5157c1;_0x38549d[_0x55e23a(0x1ea)](_0x55e23a(0x1ee));}}
|
|
23
|
+
function _0x9e12(){const _0x1adcf5=['_createSearchTextView','ck-ai-quick-actions-group-list','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','push','activeElement','relatedTarget','extendTemplate','set','element','198271GWShcx','ck-ai-quick-actions-button_with-group','1064928SalDDC','content','_createActionGroupButton','_bodyCollection','_isSearchFocused','delete','_createSearchResultActionButton','get','6gwgBEM','mouseleave','14dtxcYO','pin','role','destroy','text','ck-ai-quick-actions','_searchTextView','children','add','view','label','items','rtl','_handlePanelKeydown','2867192mSZZWL','ownerDocument','466803CeZmtI','ck-ai-quick-actions-search-result-button','fieldView','execute','span','_allSearchableItems','parent','_createSearchResultGroupedActionButton','isEnabled','addMany','isVisible','displayedPrompt','.ck-ai-quick-actions-group-button','_createSearchResultIndividualActionButton','queryView','ArrowRight','clear','ArrowLeft','isOn','eastSouth','_hasSearch','_createSearchResultActionRow','addEventListener','_setupGroupMenuBehavior','uiLanguageDirection','reset','menu','_createSearchResultGroupRow','_createListItems','ck-ai-quick-actions-search','focusTracker','render','setTemplate','_handleSearchResultButtonClick','fire','key','optionsListView','_hideNestedPanel','ck-dropdown-menu-list','actions','ck-ai-quick-actions-button__group-icon','_showNestedPanel','resetSearch','first','show','forEach','ck-ai-quick-actions-button_with-group__close-paren','ck-ai-quick-actions-button_with-group__open-paren','contains','_createSearchResultContentView','1355885YulcPs','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','AI_QUICK_ACTIONS_SEARCH','detachFromDom','ck-reset_all','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','button','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search-result__content','ck-button','focusCycler','editing','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','125679nGVeVY','keystrokes','ck-ai-quick-actions-search-result__action-row','_focusables','_isMovingToNestedMenu','ck-ai-quick-actions-search-result-button_with-group','aiQuickAction','393816RJyFeY','ck-rounded-corners','commands','bind','ck-ai-quick-actions-search-result__group-row','some','div','closest','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel','icon','menuitem','_getButtonKeystroke','_hideAllNestedPanels','_createActionButton','ck-ai-quick-actions-button','_setupActionButtonExecution','_createGroupActionsList','ck-button_with-text','_getPanelKeystroke','locale','focus','_openNestedPanels','.ck-ai-quick-actions-group-panel','bindTemplate','chain','hide','.ck-ai-quick-actions-group-list'];_0x9e12=function(){return _0x1adcf5;};return _0x9e12();}const _0x545bba=_0x46d4;(function(_0x3653e3,_0x48db8b){const _0x8dd6e3=_0x46d4,_0x1e5613=_0x3653e3();while(!![]){try{const _0x39aeda=parseInt(_0x8dd6e3(0x1e2))/0x1+-parseInt(_0x8dd6e3(0x1ec))/0x2*(parseInt(_0x8dd6e3(0x1b6))/0x3)+-parseInt(_0x8dd6e3(0x1bd))/0x4+parseInt(_0x8dd6e3(0x1a9))/0x5+parseInt(_0x8dd6e3(0x1e4))/0x6*(parseInt(_0x8dd6e3(0x1ee))/0x7)+-parseInt(_0x8dd6e3(0x175))/0x8+-parseInt(_0x8dd6e3(0x177))/0x9;if(_0x39aeda===_0x48db8b)break;else _0x1e5613['push'](_0x1e5613['shift']());}catch(_0x40355e){_0x1e5613['push'](_0x1e5613['shift']());}}}(_0x9e12,0x2e649));import{View as _0x220615,ListItemView as _0xe8f768,ListView as _0x54696f,BalloonPanelView as _0x1e9995,DropdownMenuPanelPositioningFunctions as _0x16a84e,ViewCollection as _0x9295f7,FocusCycler as _0x2aa209,ButtonView as _0x2e432e,IconView as _0x397224,HighlightedTextView as _0x2ccfa4,ButtonLabelWithHighlightView as _0xa48b0b,SearchTextView as _0x2356ed}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5a66ce}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x34dd79,KeystrokeHandler as _0x2bf5f7}from'ckeditor5/src/utils.js';function _0x46d4(_0x4abcf7,_0x3b9898){const _0x9e1229=_0x9e12();return _0x46d4=function(_0x46d4a0,_0x5cb522){_0x46d4a0=_0x46d4a0-0x16c;let _0x5d5a50=_0x9e1229[_0x46d4a0];return _0x5d5a50;},_0x46d4(_0x4abcf7,_0x3b9898);}import{aiQuickActionsButtonCreator as _0x244e49}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x164265}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x4e723f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x341d0e}from'./aiquickactionsfilteredlistview.js';const ys=_0x545bba(0x191),Ts=_0x545bba(0x1c8);export class AIQuickActionsDropdownContentView extends _0x220615{[_0x545bba(0x1e7)];[_0x545bba(0x19b)];[_0x545bba(0x16d)]=null;[_0x545bba(0x17c)]=[];[_0x545bba(0x16e)];[_0x545bba(0x195)];[_0x545bba(0x1b7)];[_0x545bba(0x1b9)];[_0x545bba(0x1b3)];[_0x545bba(0x1d3)]=new Set();[_0x545bba(0x18b)];constructor(_0x482877,_0x3dcf38,_0x202fc3,_0x55344f,_0x3ee7c6=!0x1){const _0x11a1bf=_0x545bba,_0x263141=_0x482877[_0x11a1bf(0x1d1)];super(_0x263141),this[_0x11a1bf(0x1e7)]=_0x55344f,this[_0x11a1bf(0x18b)]=_0x3ee7c6;const _0x29f8ce=this[_0x11a1bf(0x193)](_0x482877,_0x3dcf38,_0x202fc3);this[_0x11a1bf(0x19b)]=new _0x341d0e(_0x263141,_0x29f8ce,this[_0x11a1bf(0x17c)]),this[_0x11a1bf(0x19b)][_0x11a1bf(0x1f0)]=ys,this[_0x11a1bf(0x19b)][_0x11a1bf(0x172)][_0x11a1bf(0x180)](_0x29f8ce),this[_0x11a1bf(0x195)]=new _0x34dd79(),this[_0x11a1bf(0x1b7)]=new _0x2bf5f7(),_0x3ee7c6&&(this[_0x11a1bf(0x16d)]=this[_0x11a1bf(0x1d9)]()),this[_0x11a1bf(0x1b9)]=_0x29f8ce,this[_0x11a1bf(0x1b3)]=new _0x2aa209({'focusables':this[_0x11a1bf(0x1b9)],'focusTracker':this[_0x11a1bf(0x195)],'keystrokeHandler':this[_0x11a1bf(0x1b7)]}),_0x3ee7c6&&this[_0x11a1bf(0x16d)]&&this[_0x11a1bf(0x1b3)][_0x11a1bf(0x1d6)](this[_0x11a1bf(0x16d)][_0x11a1bf(0x1b3)]);const _0x184dc8=_0x3ee7c6&&this[_0x11a1bf(0x16d)]?[this[_0x11a1bf(0x16d)]]:[this[_0x11a1bf(0x19b)]];this[_0x11a1bf(0x16e)]=new _0x9295f7(_0x184dc8),this[_0x11a1bf(0x197)]({'tag':_0x11a1bf(0x1c3),'attributes':{'class':['ck',_0x11a1bf(0x1ad),_0x11a1bf(0x16c),_0x11a1bf(0x1be)],'dir':_0x263141[_0x11a1bf(0x18f)]},'children':this[_0x11a1bf(0x16e)]});}[_0x545bba(0x1d9)](){const _0xa021f2=_0x545bba;return new _0x2356ed(this[_0xa021f2(0x1d1)],{'filteredView':this[_0xa021f2(0x19b)],'queryView':{'label':_0x4e723f(this[_0xa021f2(0x1d1)],_0xa021f2(0x1ab))},'class':_0xa021f2(0x194),'infoView':{'text':{'notFound':{'primary':_0x4e723f(this[_0xa021f2(0x1d1)],_0xa021f2(0x1ae))}}}});}[_0x545bba(0x1e8)](){const _0x13dcd8=_0x545bba;if(!this[_0x13dcd8(0x18b)]||!this[_0x13dcd8(0x16d)]||!this[_0x13dcd8(0x16d)][_0x13dcd8(0x185)][_0x13dcd8(0x179)][_0x13dcd8(0x1e1)])return!0x1;const _0x12a520=this[_0x13dcd8(0x16d)][_0x13dcd8(0x185)][_0x13dcd8(0x179)][_0x13dcd8(0x1e1)][_0x13dcd8(0x176)]?.[_0x13dcd8(0x1dd)];return this[_0x13dcd8(0x16d)][_0x13dcd8(0x185)][_0x13dcd8(0x179)][_0x13dcd8(0x1e1)][_0x13dcd8(0x1a7)](_0x12a520);}[_0x545bba(0x193)](_0x18c292,_0x2fac7c,_0x4f0915){const _0x3a42dc=_0x545bba,_0x1ef2eb=new _0x9295f7();return _0x2fac7c[_0x3a42dc(0x1a4)](_0x39df71=>{const _0x343eb0=_0x3a42dc;if(_0x343eb0(0x19e)in _0x39df71){const {listItem:_0x59892a}=this[_0x343eb0(0x1e6)](_0x18c292,_0x39df71,_0x4f0915);_0x1ef2eb[_0x343eb0(0x16f)](_0x59892a),_0x39df71[_0x343eb0(0x19e)][_0x343eb0(0x1a4)](_0x5e49cc=>{const _0x60e68=_0x343eb0;this[_0x60e68(0x1cb)](_0x18c292,_0x5e49cc,_0x39df71[_0x60e68(0x171)],_0x39df71[_0x60e68(0x1c7)]);const {listItem:_0x18c195,highlightViews:_0x5d8b79}=this[_0x60e68(0x1ea)](_0x18c292,_0x5e49cc,_0x39df71[_0x60e68(0x171)],_0x39df71[_0x60e68(0x1c7)]);this[_0x60e68(0x17c)][_0x60e68(0x1dc)]({'item':_0x18c195,'label':_0x5e49cc[_0x60e68(0x182)],'groupLabel':_0x39df71[_0x60e68(0x171)],'highlightViews':_0x5d8b79});});}else{const {listItem:_0x30f818}=this[_0x343eb0(0x1cb)](_0x18c292,_0x39df71);_0x1ef2eb[_0x343eb0(0x16f)](_0x30f818);const _0x951e7f=_0x30f818[_0x343eb0(0x16e)][_0x343eb0(0x1a2)];if(_0x951e7f){const {listItem:_0x497105,highlightViews:_0x547140}=this[_0x343eb0(0x1ea)](_0x18c292,_0x39df71);this[_0x343eb0(0x17c)][_0x343eb0(0x1dc)]({'item':_0x497105,'label':_0x951e7f[_0x343eb0(0x171)]||'','highlightViews':_0x547140});}}}),_0x1ef2eb;}[_0x545bba(0x1cb)](_0x57be0b,_0x3543f4,_0x3a1240,_0x4643ea){const _0x143413=_0x545bba,_0x4f7af3=new _0xe8f768(this[_0x143413(0x1d1)]);if(_0x3a1240&&_0x4643ea){const _0x428315=new _0x2e432e(this[_0x143413(0x1d1)]),_0x275f72=_0x428315[_0x143413(0x1d5)],_0x4dbfe7=new _0x2ccfa4();_0x4dbfe7[_0x143413(0x1f2)]=_0x3543f4[_0x143413(0x182)];const _0x2c8841=new _0x2ccfa4();_0x2c8841[_0x143413(0x1f2)]=_0x3a1240;const _0x20079f=new _0x397224();_0x20079f[_0x143413(0x1e5)]=_0x4643ea,_0x20079f[_0x143413(0x1df)]({'attributes':{'class':_0x143413(0x19f)}});const _0x20affb=new _0x220615(this[_0x143413(0x1d1)]);_0x20affb[_0x143413(0x197)]({'tag':_0x143413(0x17b),'attributes':{'class':_0x143413(0x1a6)},'children':[{'text':'\x20('}]});const _0x2f3b8e=new _0x220615(this[_0x143413(0x1d1)]);return _0x2f3b8e[_0x143413(0x197)]({'tag':_0x143413(0x17b),'attributes':{'class':_0x143413(0x1a5)},'children':[{'text':')'}]}),_0x428315[_0x143413(0x1e0)]({'label':_0x3543f4[_0x143413(0x182)]+'\x20('+_0x3a1240+')','withText':!0x0,'role':_0x143413(0x1c8),'class':_0x143413(0x1aa),'tooltip':!0x1}),_0x428315[_0x143413(0x197)]({'tag':_0x143413(0x1af),'attributes':{'class':['ck',_0x143413(0x1b2),_0x143413(0x1cf),_0x143413(0x1cc),_0x143413(0x1e3)],'type':_0x143413(0x1af),'role':_0x143413(0x1c8),'tabindex':'-1'},'children':[_0x4dbfe7,_0x20affb,_0x20079f,_0x2c8841,_0x2f3b8e],'on':{'mouseenter':_0x275f72['to'](()=>{const _0x323882=_0x143413;this[_0x323882(0x1e8)]()||_0x428315[_0x323882(0x1d2)]();}),'click':_0x275f72['to'](()=>{const _0x4767ac=_0x143413;_0x428315[_0x4767ac(0x199)](_0x4767ac(0x17a));})}}),_0x428315['on'](_0x143413(0x17a),()=>{const _0x1b39f5=_0x143413;_0x57be0b[_0x1b39f5(0x1b4)][_0x1b39f5(0x170)][_0x1b39f5(0x1d2)](),_0x57be0b[_0x1b39f5(0x1bf)][_0x1b39f5(0x17a)](_0x1b39f5(0x1bc),_0x3543f4);}),_0x4f7af3[_0x143413(0x16e)][_0x143413(0x16f)](_0x428315),{'listItem':_0x4f7af3,'highlightViews':[_0x4dbfe7,_0x2c8841]};}{const _0x37bf35=new _0xa48b0b(),_0x33a0b2=new _0x2e432e(this[_0x143413(0x1d1)],_0x37bf35),_0xd0a2eb=_0x33a0b2[_0x143413(0x1d5)],_0x460660=_0x3543f4[_0x143413(0x1c7)]??_0x3543f4[_0x143413(0x17d)]?.[_0x143413(0x1c7)],_0x5a05e7=void 0x0!==_0x3543f4[_0x143413(0x1c7)];return _0x33a0b2[_0x143413(0x1e0)]({'label':_0x3543f4[_0x143413(0x182)],'withText':!0x0,'role':_0x143413(0x1c8),'icon':_0x5a05e7?_0x460660??_0x5a66ce:void 0x0,'tooltip':!0x1,'class':_0x143413(0x1cc)}),_0x33a0b2[_0x143413(0x1df)]({'on':{'mouseenter':_0xd0a2eb['to'](()=>{const _0x4ab81f=_0x143413;this[_0x4ab81f(0x1e8)]()||_0x33a0b2[_0x4ab81f(0x1d2)]();})}}),_0x33a0b2['on'](_0x143413(0x17a),()=>{const _0x273b4c=_0x143413;_0x57be0b[_0x273b4c(0x1b4)][_0x273b4c(0x170)][_0x273b4c(0x1d2)](),_0x57be0b[_0x273b4c(0x1bf)][_0x273b4c(0x17a)](_0x273b4c(0x1bc),_0x3543f4);}),_0x4f7af3[_0x143413(0x16e)][_0x143413(0x16f)](_0x33a0b2),{'listItem':_0x4f7af3,'highlightViews':[_0x37bf35]};}}[_0x545bba(0x1ea)](_0x59f6f0,_0xa01a6d,_0x489354,_0x10f1e2){const _0x5bced8=_0x545bba;return _0x489354&&_0x10f1e2?this[_0x5bced8(0x17e)](_0x59f6f0,_0xa01a6d,_0x489354,_0x10f1e2):this[_0x5bced8(0x184)](_0x59f6f0,_0xa01a6d);}[_0x545bba(0x17e)](_0x596450,_0x2a6d9d,_0x540b0a,_0x2f467f){const _0x134902=_0x545bba,_0x47015e=new _0xe8f768(this[_0x134902(0x1d1)]),_0x193c34=new _0x2e432e(this[_0x134902(0x1d1)]),_0xac9312=_0x193c34[_0x134902(0x1d5)],{view:_0x70437,highlightView:_0x499558}=this[_0x134902(0x192)](_0x540b0a,_0x2f467f),{view:_0x4d6f56,highlightView:_0x4b7b76}=this[_0x134902(0x18c)](_0x2a6d9d[_0x134902(0x182)]),_0x4fea7d=this[_0x134902(0x1a8)](_0x70437,_0x4d6f56);return _0x193c34[_0x134902(0x1e0)]({'label':_0x2a6d9d[_0x134902(0x182)],'withText':!0x0,'role':_0x134902(0x1c8),'class':_0x134902(0x1b5),'tooltip':!0x1}),_0x193c34[_0x134902(0x197)]({'tag':_0x134902(0x1af),'attributes':{'class':['ck',_0x134902(0x1b2),_0x134902(0x1cf),_0x134902(0x1cc),_0x134902(0x178),_0x134902(0x1bb)],'type':_0x134902(0x1af),'role':_0x134902(0x1c8),'tabindex':'-1'},'children':[_0x4fea7d],'on':{'mouseenter':_0xac9312['to'](()=>{const _0x4077a5=_0x134902;this[_0x4077a5(0x1e8)]()||_0x193c34[_0x4077a5(0x1d2)]();}),'click':_0xac9312['to'](()=>{const _0xaaf211=_0x134902;this[_0xaaf211(0x198)](_0x193c34);})}}),this[_0x134902(0x1cd)](_0x193c34,_0x596450,_0x2a6d9d),_0x47015e[_0x134902(0x16e)][_0x134902(0x16f)](_0x193c34),{'listItem':_0x47015e,'highlightViews':[_0x499558,_0x4b7b76]};}[_0x545bba(0x184)](_0x33ebee,_0x5e1451){const _0x1cf1ef=_0x545bba,_0x39db59=new _0xe8f768(this[_0x1cf1ef(0x1d1)]),_0x11aad7=new _0xa48b0b(),_0x480720=new _0x2e432e(this[_0x1cf1ef(0x1d1)],_0x11aad7),_0xd5b7bc=_0x480720[_0x1cf1ef(0x1d5)];return _0x480720[_0x1cf1ef(0x1e0)]({'label':_0x5e1451[_0x1cf1ef(0x182)],'withText':!0x0,'role':_0x1cf1ef(0x1c8),'icon':void 0x0,'tooltip':!0x1,'class':_0x1cf1ef(0x1db)}),_0x480720[_0x1cf1ef(0x1df)]({'on':{'mouseenter':_0xd5b7bc['to'](()=>{const _0x1adbb8=_0x1cf1ef;this[_0x1adbb8(0x1e8)]()||_0x480720[_0x1adbb8(0x1d2)]();})}}),this[_0x1cf1ef(0x1cd)](_0x480720,_0x33ebee,_0x5e1451),_0x39db59[_0x1cf1ef(0x16e)][_0x1cf1ef(0x16f)](_0x480720),{'listItem':_0x39db59,'highlightViews':[_0x11aad7]};}[_0x545bba(0x192)](_0x2f6db8,_0x17ef5a){const _0x2ea616=_0x545bba,_0x794fe4=new _0x220615(this[_0x2ea616(0x1d1)]),_0x27dae1=new _0x397224();_0x27dae1[_0x2ea616(0x1e5)]=_0x17ef5a,_0x27dae1[_0x2ea616(0x1df)]({'attributes':{'class':_0x2ea616(0x19f)}});const _0x2a55ac=new _0x2ccfa4();return _0x2a55ac[_0x2ea616(0x1f2)]=_0x2f6db8,_0x794fe4[_0x2ea616(0x197)]({'tag':_0x2ea616(0x1c3),'attributes':{'class':_0x2ea616(0x1c1)},'children':[_0x27dae1,_0x2a55ac]}),{'view':_0x794fe4,'highlightView':_0x2a55ac};}[_0x545bba(0x18c)](_0x5350f5){const _0x300891=_0x545bba,_0x42fd1e=new _0x220615(this[_0x300891(0x1d1)]),_0x46f276=new _0x2ccfa4();return _0x46f276[_0x300891(0x1f2)]=_0x5350f5,_0x42fd1e[_0x300891(0x197)]({'tag':_0x300891(0x1c3),'attributes':{'class':_0x300891(0x1b8)},'children':[_0x46f276]}),{'view':_0x42fd1e,'highlightView':_0x46f276};}[_0x545bba(0x1a8)](_0x29d335,_0x5a50aa){const _0x18971d=_0x545bba,_0x36f8b1=new _0x220615(this[_0x18971d(0x1d1)]);return _0x36f8b1[_0x18971d(0x197)]({'tag':_0x18971d(0x1c3),'attributes':{'class':_0x18971d(0x1b1)},'children':[_0x29d335,_0x5a50aa]}),_0x36f8b1;}[_0x545bba(0x1cd)](_0x373ae0,_0x1ad440,_0x2db01b){const _0x265a69=_0x545bba;_0x373ae0['on'](_0x265a69(0x17a),()=>{const _0x4d37d7=_0x265a69;_0x1ad440[_0x4d37d7(0x1b4)][_0x4d37d7(0x170)][_0x4d37d7(0x1d2)](),_0x1ad440[_0x4d37d7(0x1bf)][_0x4d37d7(0x17a)](_0x4d37d7(0x1bc),_0x2db01b);});}[_0x545bba(0x1e6)](_0xf94005,_0x200cad,_0x3b69c9){const _0x42edaa=_0x545bba,_0x38812a=new _0xe8f768(this[_0x42edaa(0x1d1)]),_0x2c8588=new _0xa48b0b(),_0x2680eb=new _0x164265(this[_0x42edaa(0x1d1)],_0x2c8588),_0x33b32d=_0x2680eb[_0x42edaa(0x1d5)],_0x3acdcc=this[_0x42edaa(0x1d0)](_0x3b69c9),_0x18df34=this[_0x42edaa(0x1ce)](_0xf94005,_0x200cad[_0x42edaa(0x19e)],_0x3b69c9);_0x2680eb[_0x42edaa(0x1e0)]({'label':_0x200cad[_0x42edaa(0x171)],'withText':!0x0,'role':Ts,'icon':_0x200cad[_0x42edaa(0x1c7)]??_0x5a66ce,'isEnabled':_0x200cad[_0x42edaa(0x19e)][_0x42edaa(0x1c2)](_0x12e3a0=>_0x12e3a0[_0x42edaa(0x17f)])}),_0x2680eb[_0x42edaa(0x1df)]({'on':{'mouseenter':_0x33b32d['to'](()=>{const _0x2fe6ad=_0x42edaa;this[_0x2fe6ad(0x1e8)]()||_0x2680eb[_0x2fe6ad(0x1d2)]();})}});const _0x24fd76=new _0x1e9995(this[_0x42edaa(0x1d1)]);return _0x24fd76[_0x42edaa(0x1df)]({'attributes':{'class':['ck',_0x42edaa(0x1ad),_0x42edaa(0x1c5),_0x42edaa(0x1c6)]},'on':{'keydown':_0x33b32d['to'](_0x11ccc4=>{const _0x548402=_0x42edaa;this[_0x548402(0x174)](_0x11ccc4,_0x3acdcc,_0x2680eb,_0x24fd76);})}}),_0x2680eb[_0x42edaa(0x1c0)](_0x42edaa(0x189))['to'](_0x24fd76,_0x42edaa(0x181)),this[_0x42edaa(0x1e7)][_0x42edaa(0x16f)](_0x24fd76),_0x24fd76[_0x42edaa(0x1e5)][_0x42edaa(0x16f)](_0x18df34),this[_0x42edaa(0x18e)](_0x2680eb,_0x24fd76),_0x38812a[_0x42edaa(0x16e)][_0x42edaa(0x16f)](_0x2680eb),{'listItem':_0x38812a,'highlightView':_0x2c8588};}[_0x545bba(0x1ce)](_0x6e83e8,_0x571d2d,_0x27c3f7){const _0x56a835=_0x545bba,_0x585949=new _0x54696f(this[_0x56a835(0x1d1)]);return _0x585949[_0x56a835(0x1df)]({'attributes':{'class':['ck',_0x56a835(0x1ad),_0x56a835(0x1da),_0x56a835(0x19d)]}}),_0x571d2d[_0x56a835(0x1a4)](_0x2c94df=>{const _0x2b9a52=_0x56a835,_0x856122=new _0xe8f768(this[_0x2b9a52(0x1d1)]),_0x51c3b1=_0x244e49({'editor':_0x6e83e8,'action':_0x2c94df,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x2b9a52(0x1e8)]()})();_0x856122[_0x2b9a52(0x16e)][_0x2b9a52(0x16f)](_0x51c3b1),_0x27c3f7[_0x2b9a52(0x195)][_0x2b9a52(0x16f)](_0x51c3b1),_0x585949[_0x2b9a52(0x172)][_0x2b9a52(0x16f)](_0x856122);}),_0x585949;}[_0x545bba(0x18e)](_0x51888e,_0x405a71){const _0x58772b=_0x545bba,_0x91429e=_0x51888e[_0x58772b(0x1d5)],_0xa08442=this[_0x58772b(0x1c9)](_0x51888e);_0x51888e[_0x58772b(0x1df)]({'attributes':{'class':[_0x58772b(0x1b0)]},'on':{'mouseenter':_0x91429e['to'](()=>{const _0x4eba5b=_0x58772b;this[_0x4eba5b(0x1a0)](_0x405a71,_0x51888e);}),'mouseleave':_0x91429e['to'](_0x56f985=>{const _0x43526a=_0x58772b,_0x4a6915=_0x56f985[_0x43526a(0x1de)];this[_0x43526a(0x1ba)](_0x4a6915,_0x405a71)||this[_0x43526a(0x19c)](_0x405a71);}),'keydown':_0x91429e['to'](_0x34f20e=>{const _0x1f7755=_0x58772b;_0x34f20e[_0x1f7755(0x19a)]==_0xa08442&&(this[_0x1f7755(0x1a0)](_0x405a71,_0x51888e),_0x405a71[_0x1f7755(0x1e5)][_0x1f7755(0x1eb)](0x0)[_0x1f7755(0x1d2)]());})}}),_0x405a71['on'](_0x58772b(0x196),()=>{const _0x495806=_0x58772b;_0x405a71[_0x495806(0x1e1)]?.[_0x495806(0x18d)](_0x495806(0x1ed),_0x1cf4c6=>{const _0xc2ea7=_0x495806,_0x2e92cc=_0x1cf4c6[_0xc2ea7(0x1de)];_0x51888e[_0xc2ea7(0x1e1)]?.[_0xc2ea7(0x1a7)](_0x2e92cc)||this[_0xc2ea7(0x1ba)](_0x2e92cc,_0x405a71)||this[_0xc2ea7(0x19c)](_0x405a71);});});}[_0x545bba(0x1a0)](_0x3cc4c2,_0x5d4b8c){const _0x26a252=_0x545bba;this[_0x26a252(0x1d3)][_0x26a252(0x1a4)](_0x444901=>{const _0x56938d=_0x26a252;_0x444901!==_0x3cc4c2&&_0x444901[_0x56938d(0x181)]&&_0x444901[_0x56938d(0x1d7)]();}),_0x3cc4c2[_0x26a252(0x1a3)](),_0x3cc4c2[_0x26a252(0x1ef)]({'positions':[_0x16a84e[_0x26a252(0x18a)]],'target':_0x5d4b8c[_0x26a252(0x1e1)],'fitInViewport':!0x0}),this[_0x26a252(0x1d3)][_0x26a252(0x16f)](_0x3cc4c2);}[_0x545bba(0x19c)](_0x5c7f7c){const _0x364f38=_0x545bba;_0x5c7f7c[_0x364f38(0x1d7)](),this[_0x364f38(0x1d3)][_0x364f38(0x1e9)](_0x5c7f7c);}[_0x545bba(0x1ca)](){const _0x3d5110=_0x545bba;this[_0x3d5110(0x1d3)][_0x3d5110(0x1a4)](_0x26c211=>_0x26c211[_0x3d5110(0x1d7)]()),this[_0x3d5110(0x1d3)][_0x3d5110(0x187)]();}[_0x545bba(0x1ba)](_0x2bfcc1,_0x5a8e24){const _0x47a53c=_0x545bba;if(!_0x2bfcc1)return!0x1;if(_0x5a8e24[_0x47a53c(0x1e1)]?.[_0x47a53c(0x1a7)](_0x2bfcc1))return!0x0;const _0x142076=_0x2bfcc1;return _0x142076[_0x47a53c(0x1c4)]&&(null!==_0x142076[_0x47a53c(0x1c4)](_0x47a53c(0x1d4))||null!==_0x142076[_0x47a53c(0x1c4)](_0x47a53c(0x1d8))||null!==_0x142076[_0x47a53c(0x1c4)](_0x47a53c(0x183)));}[_0x545bba(0x1a1)](){const _0x5f49a3=_0x545bba;this[_0x5f49a3(0x16d)]&&this[_0x5f49a3(0x16d)][_0x5f49a3(0x190)]();}[_0x545bba(0x1f1)](){const _0x22c328=_0x545bba;this[_0x22c328(0x1ca)](),this[_0x22c328(0x1e7)][_0x22c328(0x1ac)](),super[_0x22c328(0x1f1)]();}[_0x545bba(0x1d2)](){const _0x4e875f=_0x545bba;this[_0x4e875f(0x16d)]?this[_0x4e875f(0x16d)][_0x4e875f(0x1d2)]():this[_0x4e875f(0x19b)][_0x4e875f(0x1d2)]();}[_0x545bba(0x1d0)](_0x3a6d4d){const _0x25e65c=_0x545bba;return _0x25e65c(0x173)===_0x3a6d4d[_0x25e65c(0x1d1)][_0x25e65c(0x18f)]?_0x25e65c(0x186):_0x25e65c(0x188);}[_0x545bba(0x1c9)](_0x398428){const _0xef0957=_0x545bba;return _0xef0957(0x173)===_0x398428[_0xef0957(0x1d1)][_0xef0957(0x18f)]?_0xef0957(0x188):_0xef0957(0x186);}[_0x545bba(0x174)](_0x4e6799,_0x280d90,_0x384e72,_0x3040eb){const _0x394f21=_0x545bba;_0x4e6799[_0x394f21(0x19a)]==_0x280d90&&(_0x384e72[_0x394f21(0x1d2)](),this[_0x394f21(0x19c)](_0x3040eb));}[_0x545bba(0x198)](_0x5eb018){const _0xa69819=_0x545bba;_0x5eb018[_0xa69819(0x199)](_0xa69819(0x17a));}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3303(){const _0x35fa6a=['207648IoZYaz','change:isOpen','75JiFaFj','42610muCplm','has','icon','panelView','2823630wtqBqP','ai-quick-actions-dropdown-selection','plugins','locale','5396800DfCGMO','add','2qgESbM','from','model','document','set','getRanges','selection','ck-ai-quick-actions-dropdown','941260UnDoCN','1712438ONnCWb','label','length','hideFakeVisualSelection','buttonView','showFakeVisualSelection','resetSearch','get','AIEditing','5490ztLfLI','children','446812tiViCR'];_0x3303=function(){return _0x35fa6a;};return _0x3303();}function _0x5300(_0x5edeab,_0x522a2b){const _0x33034e=_0x3303();return _0x5300=function(_0x5300fc,_0x5b2f21){_0x5300fc=_0x5300fc-0x152;let _0x5bd580=_0x33034e[_0x5300fc];return _0x5bd580;},_0x5300(_0x5edeab,_0x522a2b);}(function(_0x13bb46,_0x1d2e6f){const _0x26227a=_0x5300,_0x867524=_0x13bb46();while(!![]){try{const _0x28899f=-parseInt(_0x26227a(0x171))/0x1+-parseInt(_0x26227a(0x169))/0x2*(parseInt(_0x26227a(0x163))/0x3)+-parseInt(_0x26227a(0x15b))/0x4+parseInt(_0x26227a(0x15e))/0x5*(-parseInt(_0x26227a(0x15c))/0x6)+-parseInt(_0x26227a(0x172))/0x7+parseInt(_0x26227a(0x167))/0x8+-parseInt(_0x26227a(0x159))/0x9*(-parseInt(_0x26227a(0x15f))/0xa);if(_0x28899f===_0x1d2e6f)break;else _0x867524['push'](_0x867524['shift']());}catch(_0x44e0f1){_0x867524['push'](_0x867524['shift']());}}}(_0x3303,0x7df2b));import{createDropdown as _0x1cc1bb}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x1bc4ab}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x5e639c}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x3967bc}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x15c23d){const {editor:_0x399b6c,content:_0x37291b,buttonDefinition:_0x15ef0e,bodyCollection:_0x4da50d,hasSearch:_0xae0f7c=!0x1}=_0x15c23d;return()=>{const _0x3fe8c5=_0x5300,_0xed6bf0=_0x399b6c[_0x3fe8c5(0x166)],_0x30827f=_0x1cc1bb(_0xed6bf0);_0x30827f[_0x3fe8c5(0x154)][_0x3fe8c5(0x16d)]({'icon':_0x15ef0e[_0x3fe8c5(0x161)]??_0x1bc4ab,'label':_0x15ef0e[_0x3fe8c5(0x173)],'tooltip':!0x0}),_0x30827f[_0x3fe8c5(0x16d)]({'class':_0x3fe8c5(0x170)});const _0x201b9d=new _0x5e639c(_0x399b6c,_0x37291b,_0x30827f,_0x4da50d,_0xae0f7c);if(_0x30827f[_0x3fe8c5(0x162)][_0x3fe8c5(0x15a)][_0x3fe8c5(0x168)](_0x201b9d),_0xae0f7c){const _0x1eb4bc=_0x3fe8c5(0x164);_0x30827f['on'](_0x3fe8c5(0x15d),(_0x4f49f1,_0x3cb340,_0x310669)=>{const _0x450981=_0x3fe8c5;if(_0x310669){if(_0x399b6c[_0x450981(0x165)][_0x450981(0x160)](_0x450981(0x158))){const _0x334ffb=_0x399b6c[_0x450981(0x165)][_0x450981(0x157)](_0x3967bc),_0x42b1d3=_0x399b6c[_0x450981(0x16b)][_0x450981(0x16c)][_0x450981(0x16f)],_0x17c70f=Array[_0x450981(0x16a)](_0x42b1d3[_0x450981(0x16e)]());_0x17c70f[_0x450981(0x152)]>0x0&&_0x334ffb[_0x450981(0x155)](_0x17c70f,_0x1eb4bc,!0x1,!0x0);}}else _0x399b6c[_0x450981(0x165)][_0x450981(0x160)](_0x450981(0x158))&&_0x399b6c[_0x450981(0x165)][_0x450981(0x157)](_0x3967bc)[_0x450981(0x153)](_0x1eb4bc),_0x201b9d[_0x450981(0x156)]();});}return _0x30827f;};}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f8ef4=_0x2ec9;(function(_0x11935a,_0x14dab4){const _0x218ce7=_0x2ec9,_0x57eba2=_0x11935a();while(!![]){try{const _0x283b95=parseInt(_0x218ce7(0x1cc))/0x1+-parseInt(_0x218ce7(0x1c1))/0x2+parseInt(_0x218ce7(0x1b3))/0x3+-parseInt(_0x218ce7(0x1b6))/0x4*(-parseInt(_0x218ce7(0x1c9))/0x5)+parseInt(_0x218ce7(0x1be))/0x6+parseInt(_0x218ce7(0x1c6))/0x7*(-parseInt(_0x218ce7(0x1b5))/0x8)+-parseInt(_0x218ce7(0x1c3))/0x9*(-parseInt(_0x218ce7(0x1cb))/0xa);if(_0x283b95===_0x14dab4)break;else _0x57eba2['push'](_0x57eba2['shift']());}catch(_0x1033b6){_0x57eba2['push'](_0x57eba2['shift']());}}}(_0x3660,0xb52d4));import{ListView as _0x5bd363}from'ckeditor5/src/ui.js';function _0x3660(){const _0x5b8bd7=['toLowerCase','addMany','1707040oYtjLM','sort','220VFJKfC','75393XDOkZn','highlightText','items','item','map','filter','label','1339074RgEDnV','length','584beCQuX','4MbELuh','includes','_allListItems','groupLabel','_allSearchableItems','source','trim','clear','449820LVbLWp','forEach','_clearHighlight','1499310zfQoSq','function','830565AHeDDm','highlightViews','_highlightQuery','141596CXYVsr'];_0x3660=function(){return _0x5b8bd7;};return _0x3660();}function _0x2ec9(_0x51d46c,_0x48f017){const _0x3660e5=_0x3660();return _0x2ec9=function(_0x2ec90f,_0x579877){_0x2ec90f=_0x2ec90f-0x1ad;let _0x31c0e0=_0x3660e5[_0x2ec90f];return _0x31c0e0;},_0x2ec9(_0x51d46c,_0x48f017);}import{escapeRegExp as _0x4c5579}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x5bd363{[_0x1f8ef4(0x1b8)];[_0x1f8ef4(0x1ba)];constructor(_0x2485a2,_0x4213ce,_0x20ae9f){const _0x5ec801=_0x1f8ef4;super(_0x2485a2),this[_0x5ec801(0x1b8)]=_0x4213ce,this[_0x5ec801(0x1ba)]=_0x20ae9f;}[_0x1f8ef4(0x1b1)](_0x106956){const _0xa548f5=_0x1f8ef4;if(!_0x106956)return this[_0xa548f5(0x1ae)][_0xa548f5(0x1bd)](),this[_0xa548f5(0x1ae)][_0xa548f5(0x1c8)](this[_0xa548f5(0x1b8)]),this[_0xa548f5(0x1c0)](),{'resultsCount':this[_0xa548f5(0x1b8)][_0xa548f5(0x1b4)],'totalItemsCount':this[_0xa548f5(0x1b8)][_0xa548f5(0x1b4)]};const _0x4c8d04=_0x106956[_0xa548f5(0x1bb)][_0xa548f5(0x1c7)]()[_0xa548f5(0x1bc)](),_0x56c810=this[_0xa548f5(0x1ba)][_0xa548f5(0x1b1)](_0x44bd06=>(_0x44bd06[_0xa548f5(0x1b9)]?_0x44bd06[_0xa548f5(0x1b2)]+'\x20('+_0x44bd06[_0xa548f5(0x1b9)]+')':_0x44bd06[_0xa548f5(0x1b2)])[_0xa548f5(0x1c7)]()[_0xa548f5(0x1b7)](_0x4c8d04));return this[_0xa548f5(0x1ae)][_0xa548f5(0x1bd)](),this[_0xa548f5(0x1ae)][_0xa548f5(0x1c8)](_0x56c810[_0xa548f5(0x1ca)]((_0x13323a,_0x4f2f5b)=>{const _0x34db08=_0xa548f5,_0x461cb4=_0x13323a[_0x34db08(0x1b9)],_0x100146=_0x4f2f5b[_0x34db08(0x1b9)];return _0x461cb4||_0x100146?_0x461cb4?0x1:-0x1:0x0;})[_0xa548f5(0x1b0)](_0x33edc1=>_0x33edc1[_0xa548f5(0x1af)])),this[_0xa548f5(0x1c5)](_0x4c8d04,_0x56c810),{'resultsCount':_0x56c810[_0xa548f5(0x1b4)],'totalItemsCount':this[_0xa548f5(0x1ba)][_0xa548f5(0x1b4)]};}[_0x1f8ef4(0x1c5)](_0x238374,_0x4ff37a){const _0x592308=_0x1f8ef4;if(!_0x238374)return;const _0x47575b=new RegExp(_0x4c5579(_0x238374),'gi');_0x4ff37a[_0x592308(0x1bf)](_0x29b7de=>{const _0x3453d5=_0x592308;_0x29b7de[_0x3453d5(0x1c4)]&&_0x29b7de[_0x3453d5(0x1c4)][_0x3453d5(0x1bf)](_0x43f4c3=>{const _0x1585a9=_0x3453d5;_0x1585a9(0x1c2)==typeof _0x43f4c3[_0x1585a9(0x1ad)]&&_0x43f4c3[_0x1585a9(0x1ad)](_0x47575b);});});}[_0x1f8ef4(0x1c0)](){const _0x422dd4=_0x1f8ef4;this[_0x422dd4(0x1ba)][_0x422dd4(0x1bf)](_0x25e184=>{const _0x46f7e6=_0x422dd4;_0x25e184[_0x46f7e6(0x1c4)]&&_0x25e184[_0x46f7e6(0x1c4)][_0x46f7e6(0x1bf)](_0x4ba97d=>{const _0x289e07=_0x46f7e6;_0x289e07(0x1c2)==typeof _0x4ba97d[_0x289e07(0x1ad)]&&_0x4ba97d[_0x289e07(0x1ad)](null);});});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x389190=_0x4bfe;(function(_0x22ab31,_0x1cc45a){const _0x561540=_0x4bfe,_0x5f0857=_0x22ab31();while(!![]){try{const _0x21b9d9=parseInt(_0x561540(0x180))/0x1*(-parseInt(_0x561540(0x183))/0x2)+-parseInt(_0x561540(0x184))/0x3+-parseInt(_0x561540(0x17f))/0x4*(-parseInt(_0x561540(0x18b))/0x5)+-parseInt(_0x561540(0x17c))/0x6+parseInt(_0x561540(0x17a))/0x7+-parseInt(_0x561540(0x182))/0x8+parseInt(_0x561540(0x187))/0x9;if(_0x21b9d9===_0x1cc45a)break;else _0x5f0857['push'](_0x5f0857['shift']());}catch(_0x149dac){_0x5f0857['push'](_0x5f0857['shift']());}}}(_0x2965,0xb0714));import{IconView as _0x11c31a,ListItemButtonView as _0x33372f}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x545048}from'@ckeditor/ckeditor5-icons';function _0x4bfe(_0x532a70,_0xe952f4){const _0x29659d=_0x2965();return _0x4bfe=function(_0x4bfe8d,_0x4e7108){_0x4bfe8d=_0x4bfe8d-0x179;let _0x30b2e5=_0x29659d[_0x4bfe8d];return _0x30b2e5;},_0x4bfe(_0x532a70,_0xe952f4);}export class DropdownMenuButtonWithHighlightView extends _0x33372f{[_0x389190(0x18c)];constructor(_0x47fe51,_0x247b6d){const _0x47d864=_0x389190;super(_0x47fe51,_0x247b6d);const _0x1752b1=this[_0x47d864(0x179)];this[_0x47d864(0x18a)]({'withText':!0x0,'role':_0x47d864(0x17b)}),this[_0x47d864(0x18c)]=this[_0x47d864(0x189)](),this[_0x47d864(0x17e)]({'attributes':{'class':[_0x47d864(0x186)],'aria-haspopup':!0x0,'aria-expanded':this[_0x47d864(0x179)]['to'](_0x47d864(0x181),_0x874589=>String(_0x874589)),'data-cke-tooltip-disabled':_0x1752b1['to'](_0x47d864(0x181))},'on':{'mouseenter':_0x1752b1['to'](_0x47d864(0x18f))}});}[_0x389190(0x18d)](){const _0x2151cf=_0x389190;super[_0x2151cf(0x18d)](),this[_0x2151cf(0x185)][_0x2151cf(0x188)](this[_0x2151cf(0x18c)]);}[_0x389190(0x189)](){const _0x24725f=_0x389190,_0x46ef31=new _0x11c31a();return _0x46ef31[_0x24725f(0x18e)]=_0x545048,_0x46ef31[_0x24725f(0x17e)]({'attributes':{'class':_0x24725f(0x17d)}}),_0x46ef31;}}function _0x2965(){const _0x380dde=['children','ck-dropdown-menu-list__nested-menu__button','22715757qFCYcX','add','_createArrowView','set','85tIGiaG','arrowView','render','content','mouseenter','bindTemplate','4044376IckhQd','menuitem','4729950RYllPA','ck-dropdown-menu-list__nested-menu__button__arrow','extendTemplate','1492XAYRLF','34UHGGWl','isOn','6439464CiytkT','39604WKUXxG','356544cDCtPE'];_0x2965=function(){return _0x380dde;};return _0x2965();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5cb8(){const _0x343025=['Japanese','make-tone','516UPhhmO','German','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','1301349CwSCKj','Direct','friendly','chinese','Professional','Spanish','6399333JBrDnx','Clarity','confident','Korean','make','clarity','424000rDAMOF','Confident','English','korean','3UWzjyS','5tdmfGY','3711276oCRzXM','3082484YcltQP','10rCTnSE','77iriZGs','Longer','readability','Friendly','english','Translate\x20the\x20text\x20into\x20another\x20language.','Adjust\x20tone\x20and\x20style','portuguese','Russian','Shorter','1321jVdYbS','direct','translate','japanese','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','german','Correctness','Translate','dropdown','french','russian','Italian','casual','Readability','custom','Portuguese','Chinese\x20(Simplified)','4600968ZGEgIH','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','italian','Casual','spanish','language','Adjust\x20length','Custom\x20command','French','professional','longer','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','shorter','Select\x20language','correctness'];_0x5cb8=function(){return _0x343025;};return _0x5cb8();}function _0x385e(_0x5f149c,_0x4b37c3){const _0x5cb8fb=_0x5cb8();return _0x385e=function(_0x385e33,_0x3f0707){_0x385e33=_0x385e33-0x82;let _0x2e3651=_0x5cb8fb[_0x385e33];return _0x2e3651;},_0x385e(_0x5f149c,_0x4b37c3);}const _0xb0f3dd=_0x385e;(function(_0x4cab35,_0x2c0cae){const _0x51ce06=_0x385e,_0x47b4e3=_0x4cab35();while(!![]){try{const _0x87b558=-parseInt(_0x51ce06(0xc0))/0x1*(-parseInt(_0x51ce06(0x9d))/0x2)+parseInt(_0x51ce06(0xb1))/0x3*(-parseInt(_0x51ce06(0xb4))/0x4)+-parseInt(_0x51ce06(0xb2))/0x5*(parseInt(_0x51ce06(0x8b))/0x6)+parseInt(_0x51ce06(0xa1))/0x7+parseInt(_0x51ce06(0xad))/0x8+-parseInt(_0x51ce06(0xa7))/0x9*(parseInt(_0x51ce06(0xb5))/0xa)+parseInt(_0x51ce06(0xb6))/0xb*(parseInt(_0x51ce06(0xb3))/0xc);if(_0x87b558===_0x2c0cae)break;else _0x47b4e3['push'](_0x47b4e3['shift']());}catch(_0x3d60eb){_0x47b4e3['push'](_0x47b4e3['shift']());}}}(_0x5cb8,0x79216));export const AI_REVIEW_CHECKS=[{'id':_0xb0f3dd(0x88),'title':_0xb0f3dd(0x93),'description':_0xb0f3dd(0xa0),'isParameterized':!0x0},{'id':_0xb0f3dd(0x9a),'title':_0xb0f3dd(0xc6),'description':_0xb0f3dd(0xc4),'isParameterized':!0x1},{'id':_0xb0f3dd(0xac),'title':_0xb0f3dd(0xa8),'description':_0xb0f3dd(0x97),'isParameterized':!0x1},{'id':_0xb0f3dd(0xb8),'title':_0xb0f3dd(0x87),'description':_0xb0f3dd(0x9f),'isParameterized':!0x1},{'id':_0xb0f3dd(0xab),'title':_0xb0f3dd(0x92),'description':_0xb0f3dd(0x8c),'isParameterized':!0x0,'options':[{'formType':_0xb0f3dd(0x82),'label':_0xb0f3dd(0x92),'default':_0xb0f3dd(0x96),'data':[{'label':_0xb0f3dd(0xb7),'id':_0xb0f3dd(0x96)},{'label':_0xb0f3dd(0xbf),'id':_0xb0f3dd(0x98)}]}]},{'id':_0xb0f3dd(0x9c),'title':_0xb0f3dd(0xbc),'description':_0xb0f3dd(0x8d),'isParameterized':!0x0,'options':[{'formType':_0xb0f3dd(0x82),'label':_0xb0f3dd(0xbc),'default':_0xb0f3dd(0x86),'data':[{'label':_0xb0f3dd(0x8f),'id':_0xb0f3dd(0x86)},{'label':_0xb0f3dd(0xa2),'id':_0xb0f3dd(0xc1)},{'label':_0xb0f3dd(0xb9),'id':_0xb0f3dd(0xa3)},{'label':_0xb0f3dd(0xae),'id':_0xb0f3dd(0xa9)},{'label':_0xb0f3dd(0xa5),'id':_0xb0f3dd(0x95)}]}]},{'id':_0xb0f3dd(0xc2),'title':_0xb0f3dd(0xc7),'description':_0xb0f3dd(0xbb),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0xb0f3dd(0x82),'label':_0xb0f3dd(0x99),'argsKey':_0xb0f3dd(0x91),'data':[{'label':_0xb0f3dd(0xaf),'id':_0xb0f3dd(0xba)},{'label':_0xb0f3dd(0xa6),'id':_0xb0f3dd(0x90)},{'label':_0xb0f3dd(0x94),'id':_0xb0f3dd(0x83)},{'label':_0xb0f3dd(0x9e),'id':_0xb0f3dd(0xc5)},{'label':_0xb0f3dd(0x8a),'id':_0xb0f3dd(0xa4)},{'label':_0xb0f3dd(0x9b),'id':_0xb0f3dd(0xc3)},{'label':_0xb0f3dd(0xbe),'id':_0xb0f3dd(0x84)},{'label':_0xb0f3dd(0x89),'id':_0xb0f3dd(0xbd)},{'label':_0xb0f3dd(0xaa),'id':_0xb0f3dd(0xb0)},{'label':_0xb0f3dd(0x85),'id':_0xb0f3dd(0x8e)}]}]}];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x33c0c6=_0x53bb;(function(_0x19e8e3,_0x5127dd){var _0x5d0a49=_0x53bb,_0x4f07ec=_0x19e8e3();while(!![]){try{var _0x3a8031=-parseInt(_0x5d0a49(0x1c1))/0x1+-parseInt(_0x5d0a49(0x1c7))/0x2*(parseInt(_0x5d0a49(0x1c5))/0x3)+-parseInt(_0x5d0a49(0x1cb))/0x4+parseInt(_0x5d0a49(0x1c3))/0x5+-parseInt(_0x5d0a49(0x1bd))/0x6*(-parseInt(_0x5d0a49(0x1be))/0x7)+parseInt(_0x5d0a49(0x1bf))/0x8+parseInt(_0x5d0a49(0x1ca))/0x9*(parseInt(_0x5d0a49(0x1c9))/0xa);if(_0x3a8031===_0x5127dd)break;else _0x4f07ec['push'](_0x4f07ec['shift']());}catch(_0x1455fe){_0x4f07ec['push'](_0x4f07ec['shift']());}}}(_0x4f2f,0x39e11));function _0x4f2f(){var _0x4944f7=['91MQqfEm','207048ROZnvn','pluginName','91136GwINQp','requires','429090WViToZ','isOfficialPlugin','60927LGtMON','isPremiumPlugin','26aqTyOc','AIReviewMode','230WrMNVq','133047Syvbnb','563676tUdPAg','129894UKFuww'];_0x4f2f=function(){return _0x4944f7;};return _0x4f2f();}function _0x53bb(_0x3d67c0,_0x67b123){var _0x4f2f92=_0x4f2f();return _0x53bb=function(_0x53bbb4,_0x45955b){_0x53bbb4=_0x53bbb4-0x1bd;var _0x1c105d=_0x4f2f92[_0x53bbb4];return _0x1c105d;},_0x53bb(_0x3d67c0,_0x67b123);}import{ContextPlugin as _0x3f69ed}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x12e2f5}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x55b581}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x4df820}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x3f69ed{static get[_0x33c0c6(0x1c2)](){return[_0x12e2f5,_0x55b581,_0x4df820];}static get[_0x33c0c6(0x1c0)](){var _0x52d321=_0x33c0c6;return _0x52d321(0x1c8);}static get[_0x33c0c6(0x1c4)](){return!0x0;}static get[_0x33c0c6(0x1c6)](){return!0x0;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|