@ckeditor/ckeditor5-ai 47.2.0 → 47.3.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 +16 -20
- package/build/ai.js +2 -2
- 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-editor.css +285 -65
- package/dist/index.css +286 -68
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +10 -1
- package/lang/translations/af.po +36 -0
- package/lang/translations/ar.po +36 -0
- package/lang/translations/ast.po +36 -0
- package/lang/translations/az.po +36 -0
- package/lang/translations/be.po +36 -0
- package/lang/translations/bg.po +36 -0
- package/lang/translations/bn.po +36 -0
- package/lang/translations/bs.po +36 -0
- package/lang/translations/ca.po +36 -0
- package/lang/translations/cs.po +36 -0
- package/lang/translations/da.po +36 -0
- package/lang/translations/de-ch.po +36 -0
- package/lang/translations/de.po +36 -0
- package/lang/translations/el.po +36 -0
- package/lang/translations/en-au.po +36 -0
- package/lang/translations/en-gb.po +36 -0
- package/lang/translations/en.po +36 -0
- package/lang/translations/eo.po +36 -0
- package/lang/translations/es-co.po +36 -0
- package/lang/translations/es.po +36 -0
- package/lang/translations/et.po +36 -0
- package/lang/translations/eu.po +36 -0
- package/lang/translations/fa.po +36 -0
- package/lang/translations/fi.po +36 -0
- package/lang/translations/fr.po +36 -0
- package/lang/translations/gl.po +36 -0
- package/lang/translations/gu.po +36 -0
- package/lang/translations/he.po +36 -0
- package/lang/translations/hi.po +36 -0
- package/lang/translations/hr.po +36 -0
- package/lang/translations/hu.po +36 -0
- package/lang/translations/hy.po +36 -0
- package/lang/translations/id.po +36 -0
- package/lang/translations/it.po +36 -0
- package/lang/translations/ja.po +36 -0
- package/lang/translations/jv.po +36 -0
- package/lang/translations/kk.po +36 -0
- package/lang/translations/km.po +36 -0
- package/lang/translations/kn.po +36 -0
- package/lang/translations/ko.po +36 -0
- package/lang/translations/ku.po +36 -0
- package/lang/translations/lt.po +36 -0
- package/lang/translations/lv.po +36 -0
- package/lang/translations/ms.po +36 -0
- package/lang/translations/nb.po +36 -0
- package/lang/translations/ne.po +36 -0
- package/lang/translations/nl.po +36 -0
- package/lang/translations/no.po +36 -0
- package/lang/translations/oc.po +36 -0
- package/lang/translations/pl.po +36 -0
- package/lang/translations/pt-br.po +36 -0
- package/lang/translations/pt.po +36 -0
- package/lang/translations/ro.po +36 -0
- package/lang/translations/ru.po +36 -0
- package/lang/translations/si.po +36 -0
- package/lang/translations/sk.po +36 -0
- package/lang/translations/sl.po +36 -0
- package/lang/translations/sq.po +36 -0
- package/lang/translations/sr-latn.po +36 -0
- package/lang/translations/sr.po +36 -0
- package/lang/translations/sv.po +36 -0
- package/lang/translations/th.po +36 -0
- package/lang/translations/ti.po +36 -0
- package/lang/translations/tk.po +36 -0
- package/lang/translations/tr.po +36 -0
- package/lang/translations/tt.po +36 -0
- package/lang/translations/ug.po +36 -0
- package/lang/translations/uk.po +36 -0
- package/lang/translations/ur.po +36 -0
- package/lang/translations/uz.po +36 -0
- package/lang/translations/vi.po +36 -0
- package/lang/translations/zh-cn.po +36 -0
- package/lang/translations/zh.po +36 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.d.ts +8 -0
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.d.ts +12 -0
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +23 -0
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.d.ts +24 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.d.ts +5 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +39 -6
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +6 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +30 -5
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +5 -0
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +23 -0
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +29 -0
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +23 -0
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +16 -0
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +8 -2
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.d.ts +4 -0
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -0
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +11 -2
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +24 -0
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +23 -0
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.d.ts +7 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.d.ts +8 -0
- package/src/errorsmap.js +23 -0
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +26 -0
- package/theme/aichat/aichat.css +1 -3
- package/theme/aichat/aichathistory.css +1 -1
- package/theme/aichat/aisuggestioncontainer.css +1 -1
- package/theme/aiquickactions/aiquickactions.css +139 -25
- package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +24 -0
- package/theme/aireviewmode/aireviewmode-check-run.css +13 -0
- package/theme/aireviewmode/aireviewmode.css +33 -10
- package/theme/common/{aichaterror.css → ainotification.css} +17 -14
- package/theme/common/aitrackchanges.css +9 -0
- package/src/aichat/utils/scrollmanager.js +0 -23
- /package/src/{aichat → aicore}/utils/scrollmanager.d.ts +0 -0
package/lang/translations/vi.po
CHANGED
|
@@ -1104,3 +1104,39 @@ msgstr "Mô hình tiết kiệm chi phí để tương tác nhanh chóng với k
|
|
|
1104
1104
|
msgctxt "The description of the Claude-4-5-Sonnet model."
|
|
1105
1105
|
msgid "AI_MODEL_DESCRIPTION_CLAUDE-4-5-SONNET"
|
|
1106
1106
|
msgstr "Mô hình nâng cao với khả năng sáng tạo, độ tin cậy và khả năng suy luận được cải thiện"
|
|
1107
|
+
|
|
1108
|
+
msgctxt "The message displayed when the AI chat is unable to load requested conversation."
|
|
1109
|
+
msgid "AI_CHAT_UNABLE_TO_LOAD_CONVERSATION"
|
|
1110
|
+
msgstr ""
|
|
1111
|
+
|
|
1112
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because it is of an unsupported type."
|
|
1113
|
+
msgid "AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE"
|
|
1114
|
+
msgstr ""
|
|
1115
|
+
|
|
1116
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because it is too large."
|
|
1117
|
+
msgid "AI_CHAT_CONTEXT_FILE_TOO_LARGE"
|
|
1118
|
+
msgstr ""
|
|
1119
|
+
|
|
1120
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because it has too many pages."
|
|
1121
|
+
msgid "AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES"
|
|
1122
|
+
msgstr ""
|
|
1123
|
+
|
|
1124
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because the form data size limits are exceeded."
|
|
1125
|
+
msgid "AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED"
|
|
1126
|
+
msgstr ""
|
|
1127
|
+
|
|
1128
|
+
msgctxt "The message displayed when the AI chat is unable to process the request because the request data is invalid."
|
|
1129
|
+
msgid "AI_CHAT_INVALID_REQUEST"
|
|
1130
|
+
msgstr ""
|
|
1131
|
+
|
|
1132
|
+
msgctxt "The message displayed when no quick actions are found matching the search query."
|
|
1133
|
+
msgid "AI_QUICK_ACTIONS_SEARCH_NOT_FOUND"
|
|
1134
|
+
msgstr ""
|
|
1135
|
+
|
|
1136
|
+
msgctxt "The label for the search input field to filter AI quick actions."
|
|
1137
|
+
msgid "AI_QUICK_ACTIONS_SEARCH"
|
|
1138
|
+
msgstr ""
|
|
1139
|
+
|
|
1140
|
+
msgctxt "The message displayed when the AI review was initialized with errors and some features may not be available or work properly."
|
|
1141
|
+
msgid "AI_REVIEW_INITIALIZATION_ERROR_MESSAGE"
|
|
1142
|
+
msgstr ""
|
|
@@ -1104,3 +1104,39 @@ msgstr "极具成本效益的模型,其推理能力得到了提升,适用于
|
|
|
1104
1104
|
msgctxt "The description of the Claude-4-5-Sonnet model."
|
|
1105
1105
|
msgid "AI_MODEL_DESCRIPTION_CLAUDE-4-5-SONNET"
|
|
1106
1106
|
msgstr "高级模型,在创造力、可靠性和推理能力方面均有提升"
|
|
1107
|
+
|
|
1108
|
+
msgctxt "The message displayed when the AI chat is unable to load requested conversation."
|
|
1109
|
+
msgid "AI_CHAT_UNABLE_TO_LOAD_CONVERSATION"
|
|
1110
|
+
msgstr ""
|
|
1111
|
+
|
|
1112
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because it is of an unsupported type."
|
|
1113
|
+
msgid "AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE"
|
|
1114
|
+
msgstr ""
|
|
1115
|
+
|
|
1116
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because it is too large."
|
|
1117
|
+
msgid "AI_CHAT_CONTEXT_FILE_TOO_LARGE"
|
|
1118
|
+
msgstr ""
|
|
1119
|
+
|
|
1120
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because it has too many pages."
|
|
1121
|
+
msgid "AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES"
|
|
1122
|
+
msgstr ""
|
|
1123
|
+
|
|
1124
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because the form data size limits are exceeded."
|
|
1125
|
+
msgid "AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED"
|
|
1126
|
+
msgstr ""
|
|
1127
|
+
|
|
1128
|
+
msgctxt "The message displayed when the AI chat is unable to process the request because the request data is invalid."
|
|
1129
|
+
msgid "AI_CHAT_INVALID_REQUEST"
|
|
1130
|
+
msgstr ""
|
|
1131
|
+
|
|
1132
|
+
msgctxt "The message displayed when no quick actions are found matching the search query."
|
|
1133
|
+
msgid "AI_QUICK_ACTIONS_SEARCH_NOT_FOUND"
|
|
1134
|
+
msgstr ""
|
|
1135
|
+
|
|
1136
|
+
msgctxt "The label for the search input field to filter AI quick actions."
|
|
1137
|
+
msgid "AI_QUICK_ACTIONS_SEARCH"
|
|
1138
|
+
msgstr ""
|
|
1139
|
+
|
|
1140
|
+
msgctxt "The message displayed when the AI review was initialized with errors and some features may not be available or work properly."
|
|
1141
|
+
msgid "AI_REVIEW_INITIALIZATION_ERROR_MESSAGE"
|
|
1142
|
+
msgstr ""
|
package/lang/translations/zh.po
CHANGED
|
@@ -1104,3 +1104,39 @@ msgstr "具成本效益且推理能力有所提升的模型,適合快速互動
|
|
|
1104
1104
|
msgctxt "The description of the Claude-4-5-Sonnet model."
|
|
1105
1105
|
msgid "AI_MODEL_DESCRIPTION_CLAUDE-4-5-SONNET"
|
|
1106
1106
|
msgstr "創意、可靠度及推理能力皆有所提升的進階模型"
|
|
1107
|
+
|
|
1108
|
+
msgctxt "The message displayed when the AI chat is unable to load requested conversation."
|
|
1109
|
+
msgid "AI_CHAT_UNABLE_TO_LOAD_CONVERSATION"
|
|
1110
|
+
msgstr ""
|
|
1111
|
+
|
|
1112
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because it is of an unsupported type."
|
|
1113
|
+
msgid "AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE"
|
|
1114
|
+
msgstr ""
|
|
1115
|
+
|
|
1116
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because it is too large."
|
|
1117
|
+
msgid "AI_CHAT_CONTEXT_FILE_TOO_LARGE"
|
|
1118
|
+
msgstr ""
|
|
1119
|
+
|
|
1120
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because it has too many pages."
|
|
1121
|
+
msgid "AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES"
|
|
1122
|
+
msgstr ""
|
|
1123
|
+
|
|
1124
|
+
msgctxt "The message displayed when the AI chat is unable to upload a file to the context because the form data size limits are exceeded."
|
|
1125
|
+
msgid "AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED"
|
|
1126
|
+
msgstr ""
|
|
1127
|
+
|
|
1128
|
+
msgctxt "The message displayed when the AI chat is unable to process the request because the request data is invalid."
|
|
1129
|
+
msgid "AI_CHAT_INVALID_REQUEST"
|
|
1130
|
+
msgstr ""
|
|
1131
|
+
|
|
1132
|
+
msgctxt "The message displayed when no quick actions are found matching the search query."
|
|
1133
|
+
msgid "AI_QUICK_ACTIONS_SEARCH_NOT_FOUND"
|
|
1134
|
+
msgstr ""
|
|
1135
|
+
|
|
1136
|
+
msgctxt "The label for the search input field to filter AI quick actions."
|
|
1137
|
+
msgid "AI_QUICK_ACTIONS_SEARCH"
|
|
1138
|
+
msgstr ""
|
|
1139
|
+
|
|
1140
|
+
msgctxt "The message displayed when the AI review was initialized with errors and some features may not be available or work properly."
|
|
1141
|
+
msgid "AI_REVIEW_INITIALIZATION_ERROR_MESSAGE"
|
|
1142
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ai",
|
|
3
|
-
"version": "47.
|
|
3
|
+
"version": "47.3.0-alpha.0",
|
|
4
4
|
"description": "AI features for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@aws-sdk/client-bedrock-runtime": "3.823.0",
|
|
32
|
-
"@ckeditor/ckeditor5-clipboard": "47.
|
|
33
|
-
"@ckeditor/ckeditor5-cloud-services": "47.
|
|
34
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.
|
|
35
|
-
"@ckeditor/ckeditor5-core": "47.
|
|
36
|
-
"@ckeditor/ckeditor5-engine": "47.
|
|
37
|
-
"@ckeditor/ckeditor5-icons": "47.
|
|
38
|
-
"@ckeditor/ckeditor5-markdown-gfm": "47.
|
|
39
|
-
"@ckeditor/ckeditor5-table": "47.
|
|
40
|
-
"@ckeditor/ckeditor5-theme-lark": "47.
|
|
41
|
-
"@ckeditor/ckeditor5-ui": "47.
|
|
42
|
-
"@ckeditor/ckeditor5-utils": "47.
|
|
43
|
-
"@ckeditor/ckeditor5-real-time-collaboration": "47.
|
|
44
|
-
"ckeditor5": "47.
|
|
45
|
-
"ckeditor5-collaboration": "47.
|
|
32
|
+
"@ckeditor/ckeditor5-clipboard": "47.3.0-alpha.0",
|
|
33
|
+
"@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.0",
|
|
34
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.3.0-alpha.0",
|
|
35
|
+
"@ckeditor/ckeditor5-core": "47.3.0-alpha.0",
|
|
36
|
+
"@ckeditor/ckeditor5-engine": "47.3.0-alpha.0",
|
|
37
|
+
"@ckeditor/ckeditor5-icons": "47.3.0-alpha.0",
|
|
38
|
+
"@ckeditor/ckeditor5-markdown-gfm": "47.3.0-alpha.0",
|
|
39
|
+
"@ckeditor/ckeditor5-table": "47.3.0-alpha.0",
|
|
40
|
+
"@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.0",
|
|
41
|
+
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.0",
|
|
42
|
+
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.0",
|
|
43
|
+
"@ckeditor/ckeditor5-real-time-collaboration": "47.3.0-alpha.0",
|
|
44
|
+
"ckeditor5": "47.3.0-alpha.0",
|
|
45
|
+
"ckeditor5-collaboration": "47.3.0-alpha.0",
|
|
46
46
|
"es-toolkit": "1.39.5",
|
|
47
47
|
"eventsource-parser": "3.0.2",
|
|
48
48
|
"htmlparser2": "10.0.0",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x57595f=_0x5769;(function(_0xf2ef22,_0x4b2512){const _0x37b943=_0x5769,_0x424cc4=_0xf2ef22();while(!![]){try{const _0x9fb9bd=parseInt(_0x37b943(0x1e8))/0x1+-parseInt(_0x37b943(0x25c))/0x2*(parseInt(_0x37b943(0x26c))/0x3)+parseInt(_0x37b943(0x209))/0x4+parseInt(_0x37b943(0x26b))/0x5*(-parseInt(_0x37b943(0x211))/0x6)+parseInt(_0x37b943(0x296))/0x7+-parseInt(_0x37b943(0x1d5))/0x8+-parseInt(_0x37b943(0x286))/0x9*(-parseInt(_0x37b943(0x23a))/0xa);if(_0x9fb9bd===_0x4b2512)break;else _0x424cc4['push'](_0x424cc4['shift']());}catch(_0x13348e){_0x424cc4['push'](_0x424cc4['shift']());}}}(_0x5b68,0x49471));import{Plugin as _0x152f1e}from'ckeditor5/src/core.js';import{AIConnector as _0x4a9eac}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x27d0be}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x10972b,ButtonView as _0xd83547,ViewCollection as _0x4bc455,View as _0x1885bf}from'ckeditor5/src/ui.js';import{AIEditing as _0x15338c}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x20fc31}from'./model/aiactionsinteraction.js';import{CKEditorError as _0xd2c106,first as _0x21db73}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x3ddaf8,IconRefresh as _0x5991ef,IconNextArrow as _0x6d55ff,IconPreviousArrow as _0x2d06a4,IconShowChangesOff as _0x5848ae}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x4f74df}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x3b0a23}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x57e83e}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0xfbc94f}from'../aicore/utils/getsuggestionpartsfromreply.js';function _0x5b68(){const _0x547a79=['get','_interactions','toggleSuggestionDisplayMode','createRange','interactionFinished','_anchorOperation','insert','baseVersion','signal','AI_ACTIONS_GENERIC_ERROR','nodeAfter','AI_ACTIONS_PREVIOUS_INTERACTION','setErrorState','first','stop','_isAbortError','_setupCustomViews','_getExecuteDataInTable','305055ZPODsO','documentFragment','replyContentUpdated','_isNavigationNextButtonInView','Error\x20updating\x20content\x20in\x20replyCreated:','locale','selection','set','_isNavigationPreviousButtonInView','TrackChangesEditing','_navigateToNext','_applyOperationsAsSuggestions','upsertAIActionRating','_updateNavigationUI','getSelectedContent','updateContent','stopInteraction','sourcePosition','actionName','message','showChangesButton','has','plugins','_clearLoadingState','bind','static','_currentInteractionIndex','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','createPositionAfter','queueEmptyPromise','dialogClosed','mainView','_children','329428nSQoAK','_isNavigationCounterInView','_wrapWithCommonAncestors','applyOperation','_navigationPreviousButton','_applyChanges','setChangeGroupState','_interaction','2669826GVRMmb','executeAction','AI_ACTIONS_TRY_AGAIN','Error\x20updating\x20content\x20in\x20replyContentUpdated:','TrackChanges','_aiConnector','model','hasError','ai.availableReplyActions','getSelectionAsFragment','howMany','bodyView','includes','modelToViewWithIds','error','areChangesVisible','getChildAtOffset','isPremiumPlugin','operationsA','AIConnector','setLoading','_clone','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','AI_ACTIONS_NEXT_INTERACTION','rootName','push','_promiseQueue','length','hideError','_customViews','clearErrorState','toolbar','close','$graveyard','split','showError','getLimitElement','_setErrorState','reinsert','start','ck-ai-interaction-counter','10pwdUfS','isDocumentOperation','hasPendingParts','_createInteraction','batch','getDocumentContext','AIBalloon','isOfficialPlugin','element','removeNavigationItem','focus','replyChangeGroupStateUpdated','Error\x20updating\x20content\x20during\x20navigation:','replies','addOperation','ai-request-aborted','parent','startsWith','config','pluginName','map','_appendChild','slice','TableSelection','type','path','_clearInteractionHistory','setTemplate','_clearErrorState','hideLoader','ck-ai-navigation-button\x20ck-ai-previous-button','getAncestors','listenTo','AIActions','11510qQqKrc','getOperations','getRoot','_getExecuteDataRegular','_navigateToPrevious','getFirstRange','ck-ai-custom-action-button','1/1','aiBalloon','execute','Error\x20refreshing\x20interaction:','_executeAction','miniToolbarView','_execute','root','5JYYvtY','222skTPaZ','history','range','position','_navigationNextButton','Attribute','change','isCollapsed','enqueue','getCommonAncestor','getSelectedTableCells','nextSibling','createPositionAt','editor','clearLoading','indexOf','toData','_setLoadingState','ai-no-track-changes','_navigationCounter','isLoading','data','open','balloonView','_balloonShowDiff','addNavigationItem','3714561kngJXM','state','pending','streaming','_refreshInteraction','ck-ai-navigation-button\x20ck-ai-next-button','requires','documentContextContent','changeGroups','isEnabled','merge','showLoader','clone','catch','textContent','_interactionParams','2807336Kpisrs','processor','actionCallId','icon','_stopInteraction','setSelection','accepted','abort','span','forEach','random','document','_filterOperationsOutsideRange','schema','getSelectedBlocks','createPositionBefore','upsertCustomAIActionRating','selectionRemoved','applySuggestion','remove','isBusy','replyCreated','_displayInteractionAtIndex','insertSuggestion','rejected','rename','getChild','filter','move','add','_disableCustomViews','version','stickiness','stopListening','getRanges','_clearSuggestionContent','end','241624iWVNxr'];_0x5b68=function(){return _0x547a79;};return _0x5b68();}import{DocumentCompare as _0x3d1240}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x5cff35,getOperationsFromReply as _0x184b44}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0xa18673,ModelRange as _0xf0f489,ModelPosition as _0x1dbcac,_DetachOperation as _0x438b53,transformOperationSets as _0x21153f}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x4c4aa0}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';function _0x5769(_0x24071e,_0x59b7bd){const _0x5b6826=_0x5b68();return _0x5769=function(_0x576927,_0x5b33ee){_0x576927=_0x576927-0x1d5;let _0x2b4cdb=_0x5b6826[_0x576927];return _0x2b4cdb;},_0x5769(_0x24071e,_0x59b7bd);}export class AIActions extends _0x152f1e{static get[_0x57595f(0x28c)](){return[_0x4a9eac,_0x10972b,_0x15338c,_0x4f74df,_0x3d1240];}static get[_0x57595f(0x24d)](){const _0x237358=_0x57595f;return _0x237358(0x25b);}static get[_0x57595f(0x241)](){return!0x0;}static get[_0x57595f(0x222)](){return!0x0;}[_0x57595f(0x216)];[_0x57595f(0x1d7)]=[];[_0x57595f(0x202)]=0x0;[_0x57595f(0x295)];[_0x57595f(0x284)]=!0x1;[_0x57595f(0x22e)]=new _0x4bc455();[_0x57595f(0x20d)];[_0x57595f(0x27f)];[_0x57595f(0x20a)]=!0x1;[_0x57595f(0x270)];[_0x57595f(0x1f0)]=!0x1;[_0x57595f(0x1eb)]=!0x1;[_0x57595f(0x22b)];get[_0x57595f(0x210)](){const _0x5befaf=_0x57595f;return this[_0x5befaf(0x1d7)][this[_0x5befaf(0x1d7)][_0x5befaf(0x22c)]-0x1];}constructor(_0x3eab4f){const _0x11b5c3=_0x57595f;super(_0x3eab4f),this[_0x11b5c3(0x216)]=this[_0x11b5c3(0x279)][_0x11b5c3(0x1fe)][_0x11b5c3(0x1d6)](_0x11b5c3(0x224)),this[_0x11b5c3(0x1ef)](_0x11b5c3(0x2aa),!0x1),this[_0x11b5c3(0x22b)]=new _0x3b0a23(),this[_0x11b5c3(0x1e6)]();}[_0x57595f(0x1f8)](){const _0x4ea86f=_0x57595f;this[_0x4ea86f(0x29a)]();}async[_0x57595f(0x212)](_0x120848,_0x13b12b,_0x59e305){const _0x14afd1=_0x57595f;if(this[_0x14afd1(0x279)][_0x14afd1(0x1fe)][_0x14afd1(0x1fd)](_0x14afd1(0x251))){if(this[_0x14afd1(0x279)][_0x14afd1(0x1fe)][_0x14afd1(0x1d6)](_0x14afd1(0x251))[_0x14afd1(0x276)]()){const {modelFragment:_0x41867f,anchorData:_0x545d32}=this[_0x14afd1(0x1e7)]();return this[_0x14afd1(0x267)](_0x120848,_0x41867f,_0x545d32,_0x13b12b,_0x59e305);}}const {modelFragment:_0x563372,anchorData:_0x56f4b7}=this[_0x14afd1(0x25f)]();return this[_0x14afd1(0x267)](_0x120848,_0x563372,_0x56f4b7,_0x13b12b,_0x59e305);}[_0x57595f(0x25f)](){const _0x3b660f=_0x57595f,_0x7cdc0d=this[_0x3b660f(0x279)][_0x3b660f(0x217)][_0x3b660f(0x2a1)][_0x3b660f(0x1ee)];if(_0x7cdc0d[_0x3b660f(0x273)]){const _0x25914b=_0x21db73(_0x7cdc0d[_0x3b660f(0x2a4)]())||this[_0x3b660f(0x279)][_0x3b660f(0x217)][_0x3b660f(0x2a3)][_0x3b660f(0x235)](_0x7cdc0d);this[_0x3b660f(0x279)][_0x3b660f(0x217)][_0x3b660f(0x272)](_0x5e7dcd=>{const _0x56313e=_0x3b660f;_0x5e7dcd[_0x56313e(0x29b)](_0x25914b,'in');});}const _0x404f80=_0x7cdc0d[_0x3b660f(0x261)](),_0x315657=this[_0x3b660f(0x20b)](this[_0x3b660f(0x279)][_0x3b660f(0x217)][_0x3b660f(0x1f6)](_0x7cdc0d),_0x404f80[_0x3b660f(0x238)],_0x404f80[_0x3b660f(0x2ba)]),_0x59a33d=_0x7cdc0d[_0x3b660f(0x261)]()[_0x3b660f(0x238)],_0x203ae1=new Map();let _0x30a22c=_0x315657;for(let _0x1f78a5=0x0;_0x1f78a5<_0x59a33d[_0x3b660f(0x253)][_0x3b660f(0x22c)];_0x1f78a5++)_0x203ae1[_0x3b660f(0x1ef)](_0x30a22c,_0x59a33d[_0x3b660f(0x253)][_0x1f78a5]),_0x30a22c=_0x30a22c[_0x3b660f(0x2b0)](0x0);return{'modelFragment':_0x315657,'anchorData':_0x203ae1};}[_0x57595f(0x1e7)](){const _0x474e10=_0x57595f,_0xb87029=this[_0x474e10(0x279)][_0x474e10(0x217)][_0x474e10(0x2a1)][_0x474e10(0x1ee)],_0x44278e=this[_0x474e10(0x279)][_0x474e10(0x1fe)][_0x474e10(0x1d6)](_0x474e10(0x251))[_0x474e10(0x21a)](),_0x20125d=_0xb87029[_0x474e10(0x261)]()[_0x474e10(0x238)][_0x474e10(0x24a)][_0x474e10(0x24a)],_0x48a3fc=this[_0x474e10(0x20b)](_0x44278e,this[_0x474e10(0x279)][_0x474e10(0x217)][_0x474e10(0x2a5)](_0x20125d),this[_0x474e10(0x279)][_0x474e10(0x217)][_0x474e10(0x204)](_0x20125d)),_0x213d40=_0xb87029[_0x474e10(0x261)]()[_0x474e10(0x238)],_0x740323=new Map();let _0x4f4eec=_0x48a3fc;for(let _0x4efe33=0x0;_0x4efe33<_0x213d40[_0x474e10(0x253)][_0x474e10(0x22c)];_0x4efe33++)if(_0x740323[_0x474e10(0x1ef)](_0x4f4eec,_0x213d40[_0x474e10(0x253)][_0x4efe33]),_0x4efe33<_0x213d40[_0x474e10(0x253)][_0x474e10(0x22c)]-0x1)_0x4f4eec=_0x4f4eec[_0x474e10(0x2b0)](0x0);else{let _0x3bcd9e=_0x4f4eec[_0x474e10(0x277)];for(;_0x3bcd9e;)_0x740323[_0x474e10(0x1ef)](_0x3bcd9e,_0x213d40[_0x474e10(0x253)][_0x4efe33]),_0x3bcd9e=_0x3bcd9e[_0x474e10(0x277)];}return{'modelFragment':_0x48a3fc,'anchorData':_0x740323};}[_0x57595f(0x267)](_0x1a8f57,_0x48241e,_0xb2eca8,_0x502f7c,_0xb4a811){const _0x5ab294=_0x57595f,_0x22c4c0=this[_0x5ab294(0x279)][_0x5ab294(0x1fe)][_0x5ab294(0x1d6)](_0x15338c),_0xc6cb4c=this[_0x5ab294(0x279)][_0x5ab294(0x1fe)][_0x5ab294(0x1d6)](_0x4f74df),_0x3ae311=this[_0x5ab294(0x279)][_0x5ab294(0x217)][_0x5ab294(0x2a1)][_0x5ab294(0x1ee)],_0x5e7229=_0x22c4c0[_0x5ab294(0x21e)](_0x48241e),_0x574fc4=this[_0x5ab294(0x279)][_0x5ab294(0x281)][_0x5ab294(0x297)][_0x5ab294(0x27c)](_0x5e7229),_0x4e4ccb=this[_0x5ab294(0x279)][_0x5ab294(0x217)][_0x5ab294(0x2a1)][_0x5ab294(0x2b5)],_0x102b9c=[..._0x3ae311[_0x5ab294(0x2b8)]()];let _0x1a2fff=this[_0x5ab294(0x279)][_0x5ab294(0x24c)][_0x5ab294(0x1d6)](_0x5ab294(0x219))||[..._0x4c4aa0];this[_0x5ab294(0x279)][_0x5ab294(0x1fe)][_0x5ab294(0x1fd)](_0x5ab294(0x215))||(_0x1a2fff=_0x1a2fff[_0x5ab294(0x2b1)](_0x37f752=>_0x5ab294(0x2ad)!=_0x37f752));const _0x1dadff=new _0x27d0be(this[_0x5ab294(0x279)][_0x5ab294(0x1ed)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x5ab294(0x299),'customView':this[_0x5ab294(0x22e)]},'showUnchangedParts':!0x0,'availableActions':_0x1a2fff});return _0xc6cb4c[_0x5ab294(0x282)]({'index':0x3e8*Math[_0x5ab294(0x2a0)]()%0x3e8,'title':_0x502f7c,'icon':_0xb4a811||_0x3ddaf8,'mainView':_0x1dadff,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':this[_0x5ab294(0x279)][_0x5ab294(0x1fe)][_0x5ab294(0x1fd)](_0x5ab294(0x215)),'ranges':_0x102b9c}),this[_0x5ab294(0x27d)](_0x1dadff,_0xc6cb4c),this[_0x5ab294(0x25a)](_0xc6cb4c,_0x5ab294(0x2a8),()=>{const _0x64959e=_0x5ab294;this[_0x64959e(0x20e)](_0x48241e,_0xb2eca8,!0x1);}),this[_0x5ab294(0x25a)](_0xc6cb4c,_0x5ab294(0x2ad),()=>{const _0x482252=_0x5ab294;this[_0x482252(0x20e)](_0x48241e,_0xb2eca8,!0x0);}),this[_0x5ab294(0x25a)](_0xc6cb4c,_0x5ab294(0x2a7),()=>{const _0x1c60c8=_0x5ab294;this[_0x1c60c8(0x29a)](),this[_0x1c60c8(0x2b4)]();}),this[_0x5ab294(0x25a)](_0xc6cb4c,_0x5ab294(0x206),()=>{const _0x372054=_0x5ab294;if(this[_0x372054(0x210)]&&this[_0x372054(0x210)][_0x372054(0x247)][_0x372054(0x22c)]>0x0){const _0x1148aa=this[_0x372054(0x210)][_0x372054(0x247)][this[_0x372054(0x210)][_0x372054(0x247)][_0x372054(0x22c)]-0x1],_0x394b6b=_0x1148aa[_0x372054(0x28e)][0x0];_0x394b6b&&_0x372054(0x288)===_0x394b6b[_0x372054(0x287)]&&_0x1148aa[_0x372054(0x20f)](0x0,_0x372054(0x2ae));}this[_0x372054(0x29a)](),this[_0x372054(0x254)](),this[_0x372054(0x2b7)](_0xc6cb4c);}),this[_0x5ab294(0x23d)](_0x574fc4,_0x4e4ccb,_0x1dadff,_0xc6cb4c,_0x1a8f57);}[_0x57595f(0x20b)](_0x43192c,_0x177637,_0x271976){const _0x4bb163=_0x57595f,_0x2a449a=this[_0x4bb163(0x279)][_0x4bb163(0x217)][_0x4bb163(0x1d9)](_0x177637,_0x271976)[_0x4bb163(0x275)](),_0x19e6f8=_0x2a449a['is'](_0x4bb163(0x1e9))?[]:_0x2a449a[_0x4bb163(0x259)]({'includeSelf':!0x0})[_0x4bb163(0x250)](0x1);if(_0x19e6f8[_0x4bb163(0x22c)]){const _0x1c6b18=_0x19e6f8[_0x4bb163(0x24e)](_0x25ba0b=>_0x25ba0b[_0x4bb163(0x226)](!0x1));for(let _0x3099f8=0x1;_0x3099f8<_0x1c6b18[_0x4bb163(0x22c)];_0x3099f8++)_0x1c6b18[_0x3099f8-0x1][_0x4bb163(0x24f)](_0x1c6b18[_0x3099f8]);return _0x1c6b18[_0x1c6b18[_0x4bb163(0x22c)]-0x1][_0x4bb163(0x24f)](_0x43192c),new _0xa18673(_0x1c6b18[0x0]);}return _0x43192c;}async[_0x57595f(0x23d)](_0x50a477,_0x566807,_0x35403e,_0x10b529,_0x532a7a){const _0x241a78=_0x57595f,_0xcb323a=this[_0x241a78(0x279)];this[_0x241a78(0x295)]={'action':_0x532a7a,'content':_0x50a477,'version':_0x566807,'mainView':_0x35403e,'aiBalloon':_0x10b529};const _0x5d56d0=new _0x20fc31({'connector':this[_0x241a78(0x216)],'editor':_0xcb323a,'content':_0x50a477,'version':_0x566807,..._0x532a7a});this[_0x241a78(0x1d7)][_0x241a78(0x22a)](_0x5d56d0),_0x35403e[_0x241a78(0x22d)]();const _0x2e41dd=(_0x3819b2,_0x3ec36f,_0x1fc6c9=!0x1,_0x305f0f=_0x241a78(0x289))=>this[_0x241a78(0x22b)][_0x241a78(0x274)](async _0x348bff=>{const _0x12459a=_0x241a78;try{const _0x2f8984=_0xfbc94f({'editor':_0xcb323a,'changeGroups':_0x3819b2[_0x12459a(0x28e)],'documentContextContent':_0x3819b2[_0x12459a(0x28d)],'showDiff':_0x1fc6c9,'trimUnchanged':!0x1});await _0x3ec36f[_0x12459a(0x1f7)]({'parts':_0x2f8984,'renderingStrategy':_0x305f0f,'abortSignal':_0x348bff});}catch(_0x385594){if(this[_0x12459a(0x1e5)](_0x385594))return;throw _0x385594;}});this[_0x241a78(0x210)]['on'](_0x241a78(0x2ab),(_0x1d0169,_0x3eb4f1)=>{const _0x3d2240=_0x241a78;_0x35403e[_0x3d2240(0x257)](),_0x2e41dd(_0x3eb4f1,_0x35403e)[_0x3d2240(0x293)](_0x571d55=>{const _0x155f6a=_0x3d2240;this[_0x155f6a(0x1e5)](_0x571d55)||(console[_0x155f6a(0x21f)](_0x155f6a(0x1ec),_0x571d55),this[_0x155f6a(0x236)](_0x5d56d0,_0x35403e));});}),this[_0x241a78(0x210)]['on'](_0x241a78(0x1ea),(_0x561d5b,_0x1e9071)=>{const _0x5731ef=_0x241a78;_0x2e41dd(_0x1e9071,_0x35403e)[_0x5731ef(0x293)](_0x224a55=>{const _0xbb1f59=_0x5731ef;this[_0xbb1f59(0x1e5)](_0x224a55)||(console[_0xbb1f59(0x21f)](_0xbb1f59(0x214),_0x224a55),this[_0xbb1f59(0x236)](_0x5d56d0,_0x35403e));});}),this[_0x241a78(0x210)]['on'](_0x241a78(0x1da),async()=>{const _0x3db328=_0x241a78;try{await this[_0x3db328(0x1ff)](_0x35403e,_0x10b529),this[_0x3db328(0x1f5)]();}catch(_0x1cb152){this[_0x3db328(0x1e5)](_0x1cb152)||(console[_0x3db328(0x21f)](_0x3db328(0x203),_0x1cb152),this[_0x3db328(0x236)](_0x5d56d0,_0x35403e));}}),this[_0x241a78(0x25a)](_0x35403e,_0x241a78(0x1d8),(_0x25ea9e,{showDiff:_0x36e723})=>{const _0x51a389=_0x241a78;this[_0x51a389(0x284)]=_0x36e723;const _0xf52cbe=this[_0x51a389(0x210)][_0x51a389(0x247)][this[_0x51a389(0x210)][_0x51a389(0x247)][_0x51a389(0x22c)]-0x1];_0xf52cbe&&_0x2e41dd(_0xf52cbe,_0x35403e,_0x36e723,_0x51a389(0x201))[_0x51a389(0x293)](_0x22e200=>{const _0x1cd559=_0x51a389;this[_0x1cd559(0x1e5)](_0x22e200)||(console[_0x1cd559(0x21f)](_0x1cd559(0x227),_0x22e200),this[_0x1cd559(0x236)](_0x5d56d0,_0x35403e));});}),this[_0x241a78(0x210)]['on'](_0x241a78(0x245),(_0x4e6290,{reply:_0x456810})=>{const _0x1e3860=_0x241a78,_0x19334f={'positiveCount':_0x456810[_0x1e3860(0x28e)][_0x1e3860(0x2b1)](_0x2f0b9f=>_0x1e3860(0x29c)===_0x2f0b9f[_0x1e3860(0x287)])[_0x1e3860(0x22c)],'totalCount':_0x456810[_0x1e3860(0x28e)][_0x1e3860(0x22c)]},_0x25d072=this[_0x1e3860(0x210)][_0x1e3860(0x298)],_0x90376c=this[_0x1e3860(0x210)][_0x1e3860(0x1fa)];_0x90376c?this[_0x1e3860(0x216)][_0x1e3860(0x1f4)](_0x90376c,_0x25d072,_0x19334f):this[_0x1e3860(0x216)][_0x1e3860(0x2a6)](_0x25d072,_0x19334f);}),this[_0x241a78(0x27d)](_0x35403e,_0x10b529);try{const _0x195d6f=await this[_0x241a78(0x210)][_0x241a78(0x238)]();return this[_0x241a78(0x1f5)](),_0x195d6f;}catch(_0x1f1e17){if(this[_0x241a78(0x1e5)](_0x1f1e17))return;_0x35403e[_0x241a78(0x257)](),this[_0x241a78(0x236)](_0x5d56d0,_0x35403e);}}[_0x57595f(0x20e)](_0x81d88b,_0x5708c3,_0x15b00f){const _0x4383e9=_0x57595f,_0x48d05c=this[_0x4383e9(0x279)];if(_0x15b00f&&!_0x48d05c[_0x4383e9(0x1fe)][_0x4383e9(0x1fd)](_0x4383e9(0x215)))throw new _0xd2c106(_0x4383e9(0x27e),null);const _0x23a2ac=this[_0x4383e9(0x279)][_0x4383e9(0x1fe)][_0x4383e9(0x1d6)](_0x3d1240),_0x4bba39=this[_0x4383e9(0x210)],_0x13573b=this[_0x4383e9(0x210)][_0x4383e9(0x247)][this[_0x4383e9(0x210)][_0x4383e9(0x247)][_0x4383e9(0x22c)]-0x1],_0x351805=_0x13573b[_0x4383e9(0x28e)];_0x13573b[_0x4383e9(0x20f)](0x0,_0x4383e9(0x29c));let _0x5a061b=_0x184b44({'editor':_0x48d05c,'reply':_0x13573b,'interaction':_0x4bba39,'groups':_0x351805,'transform':!0x1,'documentCompare':_0x23a2ac,'documentCompareOptions':{'anchor':_0x48d05c[_0x4383e9(0x217)][_0x4383e9(0x278)](_0x81d88b,0x0),'markDeletions':_0x15b00f}});_0x5a061b=this[_0x4383e9(0x2a2)](_0x5a061b,_0x5708c3);for(const _0x133d55 of _0x5a061b)this[_0x4383e9(0x1db)](_0x5708c3,_0x133d55,_0x48d05c[_0x4383e9(0x217)][_0x4383e9(0x2a1)][_0x4383e9(0x25e)]());const _0x5494d8=_0x4bba39[_0x4383e9(0x23f)]()[_0x4383e9(0x2b5)],_0x3b1540=_0x48d05c[_0x4383e9(0x217)][_0x4383e9(0x2a1)][_0x4383e9(0x26d)][_0x4383e9(0x25d)](_0x5494d8),_0x263d72={'document':_0x48d05c[_0x4383e9(0x217)][_0x4383e9(0x2a1)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2b837c=_0x21153f(_0x5a061b,_0x3b1540,_0x263d72)[_0x4383e9(0x223)];_0x48d05c[_0x4383e9(0x217)][_0x4383e9(0x272)](_0x10b387=>{const _0x3446a3=_0x4383e9;if(_0x10b387[_0x3446a3(0x29b)](_0x48d05c[_0x3446a3(0x217)][_0x3446a3(0x2a1)][_0x3446a3(0x1ee)][_0x3446a3(0x244)]),_0x15b00f)_0x48d05c[_0x3446a3(0x1fe)][_0x3446a3(0x1d6)](_0x3446a3(0x1f1))[_0x3446a3(0x1f3)](_0x2b837c);else{for(const _0x57d93a of _0x2b837c)_0x57d93a[_0x3446a3(0x1dd)]=_0x48d05c[_0x3446a3(0x217)][_0x3446a3(0x2a1)][_0x3446a3(0x2b5)],_0x5cff35(_0x48d05c,_0x57d93a),_0x10b387[_0x3446a3(0x23e)][_0x3446a3(0x248)](_0x57d93a),_0x48d05c[_0x3446a3(0x217)][_0x3446a3(0x20c)](_0x57d93a);}}),this[_0x4383e9(0x279)][_0x4383e9(0x1fe)][_0x4383e9(0x1d6)](_0x4383e9(0x240))[_0x4383e9(0x231)]();}[_0x57595f(0x2a2)](_0x18be05,_0x3a09e){const _0x3c8ae8=_0x57595f;return _0x18be05[_0x3c8ae8(0x2b1)](_0x78f20a=>{const _0x1ce061=_0x3c8ae8;if(_0x1ce061(0x2af)==_0x78f20a[_0x1ce061(0x252)]){const _0x2cb987=_0x78f20a[_0x1ce061(0x26f)][_0x1ce061(0x1e0)];return!_0x3a09e[_0x1ce061(0x1fd)](_0x2cb987);}if(_0x78f20a[_0x1ce061(0x252)][_0x1ce061(0x27b)](_0x1ce061(0x271))>-0x1){const _0x212307=_0x78f20a[_0x1ce061(0x26e)][_0x1ce061(0x238)][_0x1ce061(0x1e0)];return!_0x3a09e[_0x1ce061(0x1fd)](_0x212307);}return!0x0;});}[_0x57595f(0x1db)](_0x3a71f7,_0x4fbfdd,_0x753c94){const _0x4a8bd9=_0x57595f,_0x250569=_0x4fbfdd[_0x4a8bd9(0x292)]();for(const _0x35dc21 in _0x4fbfdd){const _0x1a0438=_0x4fbfdd[_0x35dc21];_0x1a0438 instanceof _0xf0f489?_0x4fbfdd[_0x35dc21]=new _0xf0f489(_0x112722(_0x1a0438[_0x4a8bd9(0x238)]),_0x112722(_0x1a0438[_0x4a8bd9(0x2ba)])):_0x1a0438 instanceof _0x1dbcac&&(_0x4fbfdd[_0x35dc21]=_0x112722(_0x1a0438));}if([_0x4a8bd9(0x1dc),_0x4a8bd9(0x2b2),_0x4a8bd9(0x2a9),_0x4a8bd9(0x237),_0x4a8bd9(0x233),_0x4a8bd9(0x290)][_0x4a8bd9(0x21d)](_0x250569[_0x4a8bd9(0x252)])){if(_0x250569[_0x4a8bd9(0x23b)]=!0x1,_0x250569[_0x4a8bd9(0x1dd)]=null,_0x4a8bd9(0x2a9)==_0x250569[_0x4a8bd9(0x252)]){const _0x54f5e3=_0x250569[_0x4a8bd9(0x1f9)],_0x4232c5=_0x250569[_0x4a8bd9(0x21b)];new _0x438b53(_0x54f5e3,_0x4232c5)[_0x4a8bd9(0x269)]();}else _0x250569[_0x4a8bd9(0x269)]();}function _0x112722(_0x26376c){const _0x1c861f=_0x4a8bd9;if(_0x1c861f(0x232)==_0x26376c[_0x1c861f(0x26a)][_0x1c861f(0x229)])return _0x26376c;const _0x165427=[];let _0x576f4b=_0x26376c[_0x1c861f(0x26a)];for(let _0x231d9e=0x0;_0x231d9e<_0x26376c[_0x1c861f(0x253)][_0x1c861f(0x22c)];_0x231d9e++){const _0x5cf29e=_0x3a71f7[_0x1c861f(0x1d6)](_0x576f4b)||0x0;_0x165427[_0x231d9e]=_0x26376c[_0x1c861f(0x253)][_0x231d9e]+_0x5cf29e,_0x576f4b=_0x576f4b[_0x1c861f(0x221)](_0x26376c[_0x1c861f(0x253)][_0x231d9e]);}return new _0x1dbcac(_0x753c94,_0x165427,_0x26376c[_0x1c861f(0x2b6)]);}}[_0x57595f(0x28a)](){const _0x19e154=_0x57595f;if(!this[_0x19e154(0x295)])return;this[_0x19e154(0x1d7)][_0x19e154(0x22c)]>0x0&&this[_0x19e154(0x29a)](),this[_0x19e154(0x202)]=0x0,this[_0x19e154(0x284)]=!0x1;const {action:_0xef2dfe,content:_0x2c935e,version:_0x2bacab,mainView:_0x50ea9c,aiBalloon:_0x19eb7c}=this[_0x19e154(0x295)];_0x50ea9c[_0x19e154(0x220)]=!0x1,_0x50ea9c[_0x19e154(0x22d)](),this[_0x19e154(0x256)](_0x50ea9c,_0x19eb7c);const _0x23aef8=_0x50ea9c;_0x23aef8[_0x19e154(0x268)]&&_0x23aef8[_0x19e154(0x268)][_0x19e154(0x1fc)]&&_0x23aef8[_0x19e154(0x268)][_0x19e154(0x1fc)][_0x19e154(0x1ef)]({'isOn':!0x1,'icon':_0x5848ae}),this[_0x19e154(0x2b9)](_0x50ea9c),_0x50ea9c[_0x19e154(0x291)](),this[_0x19e154(0x1f5)](),this[_0x19e154(0x23d)](_0x2c935e,_0x2bacab,_0x50ea9c,_0x19eb7c,_0xef2dfe)[_0x19e154(0x293)](_0xf7d925=>{const _0x23bed1=_0x19e154;this[_0x23bed1(0x1e5)](_0xf7d925)||console[_0x23bed1(0x21f)](_0x23bed1(0x266),_0xf7d925);});}[_0x57595f(0x2b9)](_0x4b3de9){const _0x4529a3=_0x57595f,_0x16c52f=_0x4b3de9[_0x4529a3(0x21c)][_0x4529a3(0x208)];for(;_0x16c52f[_0x4529a3(0x22c)]>0x0;)_0x16c52f[_0x4529a3(0x2a9)](_0x16c52f[_0x4529a3(0x1e3)]);_0x4b3de9[_0x4529a3(0x21c)][_0x4529a3(0x23c)]=!0x1;}[_0x57595f(0x1e5)](_0x57479c){const _0x18f951=_0x57595f;return!!_0x57479c[_0x18f951(0x1fb)]&&_0x57479c[_0x18f951(0x1fb)][_0x18f951(0x24b)](_0x18f951(0x249));}[_0x57595f(0x254)](){const _0x449371=_0x57595f;this[_0x449371(0x1d7)]=[],this[_0x449371(0x295)]=void 0x0,this[_0x449371(0x202)]=0x0,this[_0x449371(0x1f5)]();}[_0x57595f(0x29a)](){const _0x462dd7=_0x57595f;this[_0x462dd7(0x210)]&&this[_0x462dd7(0x210)][_0x462dd7(0x1e4)](),this[_0x462dd7(0x22b)][_0x462dd7(0x29d)](),this[_0x462dd7(0x2aa)]=!0x1;}[_0x57595f(0x1e6)](){const _0x1ec21e=_0x57595f,_0x3884d0=new _0xd83547(this[_0x1ec21e(0x279)][_0x1ec21e(0x1ed)]),_0x1092de=new _0xd83547(this[_0x1ec21e(0x279)][_0x1ec21e(0x1ed)]),_0x106db0=new _0x1885bf(this[_0x1ec21e(0x279)][_0x1ec21e(0x1ed)]),_0x2a8614=new _0xd83547(this[_0x1ec21e(0x279)][_0x1ec21e(0x1ed)]);_0x3884d0[_0x1ec21e(0x1ef)]({'icon':_0x5991ef,'label':_0x57e83e(this[_0x1ec21e(0x279)][_0x1ec21e(0x1ed)],_0x1ec21e(0x213)),'tooltip':!0x0,'class':_0x1ec21e(0x262)}),_0x1092de[_0x1ec21e(0x1ef)]({'icon':_0x2d06a4,'tooltip':_0x57e83e(this[_0x1ec21e(0x279)][_0x1ec21e(0x1ed)],_0x1ec21e(0x1e1)),'class':_0x1ec21e(0x258)}),_0x106db0[_0x1ec21e(0x255)]({'tag':_0x1ec21e(0x29e),'attributes':{'class':[_0x1ec21e(0x239)]},'children':[_0x1ec21e(0x263)]}),_0x2a8614[_0x1ec21e(0x1ef)]({'icon':_0x6d55ff,'tooltip':_0x57e83e(this[_0x1ec21e(0x279)][_0x1ec21e(0x1ed)],_0x1ec21e(0x228)),'class':_0x1ec21e(0x28b)}),_0x3884d0[_0x1ec21e(0x200)](_0x1ec21e(0x28f))['to'](this,_0x1ec21e(0x2aa),_0x40b1ac=>!_0x40b1ac),_0x3884d0['on'](_0x1ec21e(0x265),()=>{const _0x34aaf1=_0x1ec21e;this[_0x34aaf1(0x28a)]();}),_0x1092de[_0x1ec21e(0x200)](_0x1ec21e(0x28f))['to'](this,_0x1ec21e(0x2aa),_0x57fc15=>!_0x57fc15),_0x1092de['on'](_0x1ec21e(0x265),()=>{const _0x2a3686=_0x1ec21e;this[_0x2a3686(0x260)]();}),_0x2a8614[_0x1ec21e(0x200)](_0x1ec21e(0x28f))['to'](this,_0x1ec21e(0x2aa),_0x582f7c=>!_0x582f7c),_0x2a8614['on'](_0x1ec21e(0x265),()=>{const _0x412098=_0x1ec21e;this[_0x412098(0x1f2)]();}),this[_0x1ec21e(0x20d)]=_0x1092de,this[_0x1ec21e(0x27f)]=_0x106db0,this[_0x1ec21e(0x270)]=_0x2a8614,this[_0x1ec21e(0x22e)][_0x1ec21e(0x2b3)](_0x3884d0);}[_0x57595f(0x260)](){const _0x27d121=_0x57595f,_0x1e8ea7=this[_0x27d121(0x1d7)][_0x27d121(0x22c)];this[_0x27d121(0x202)]<_0x1e8ea7-0x1&&this[_0x27d121(0x2ac)](this[_0x27d121(0x202)]+0x1);}[_0x57595f(0x1f2)](){const _0x4bf844=_0x57595f;this[_0x4bf844(0x202)]>0x0&&this[_0x4bf844(0x2ac)](this[_0x4bf844(0x202)]-0x1);}async[_0x57595f(0x2ac)](_0x4bd89e){const _0x4547ac=_0x57595f;if(!this[_0x4547ac(0x295)])return;this[_0x4547ac(0x202)]=_0x4bd89e;const {mainView:_0xc4018f}=this[_0x4547ac(0x295)],_0x480631=this[_0x4547ac(0x1d7)][this[_0x4547ac(0x1d7)][_0x4547ac(0x22c)]-0x1-this[_0x4547ac(0x202)]];if(!_0x480631)return;if(_0x480631[_0x4547ac(0x218)])return this[_0x4547ac(0x236)](_0x480631,_0xc4018f),void this[_0x4547ac(0x1f5)]();if(!_0x480631[_0x4547ac(0x247)][_0x4547ac(0x22c)])return;_0xc4018f[_0x4547ac(0x22d)](),this[_0x4547ac(0x295)]&&this[_0x4547ac(0x256)](_0xc4018f,this[_0x4547ac(0x295)][_0x4547ac(0x264)]);const _0x548d8a=_0x480631[_0x4547ac(0x247)][_0x480631[_0x4547ac(0x247)][_0x4547ac(0x22c)]-0x1];if(_0x548d8a){const _0x40f6f6=this[_0x4547ac(0x279)];this[_0x4547ac(0x2b9)](_0xc4018f);try{const _0xd5de6=_0xfbc94f({'editor':_0x40f6f6,'changeGroups':_0x548d8a[_0x4547ac(0x28e)],'documentContextContent':_0x548d8a[_0x4547ac(0x28d)],'showDiff':this[_0x4547ac(0x284)],'trimUnchanged':!0x1});this[_0x4547ac(0x2b9)](_0xc4018f),await new Promise(_0x20c0de=>setTimeout(_0x20c0de,0x32)),await _0xc4018f[_0x4547ac(0x1f7)]({'parts':_0xd5de6,'renderingStrategy':_0x4547ac(0x201),'abortSignal':new AbortController()[_0x4547ac(0x1de)]});}catch(_0x42d012){this[_0x4547ac(0x1e5)](_0x42d012)||console[_0x4547ac(0x21f)](_0x4547ac(0x246),_0x42d012);}}this[_0x4547ac(0x1f5)]();}[_0x57595f(0x1f5)](){const _0x5d7df3=_0x57595f;if(!this[_0x5d7df3(0x20d)]||!this[_0x5d7df3(0x27f)]||!this[_0x5d7df3(0x270)])return;const _0x37cdac=this[_0x5d7df3(0x1d7)][_0x5d7df3(0x22c)],_0x15ebd2=_0x37cdac>0x1,_0x306b9d=this[_0x5d7df3(0x295)]?.[_0x5d7df3(0x207)];if(_0x15ebd2){this[_0x5d7df3(0x1f0)]||this[_0x5d7df3(0x20a)]||this[_0x5d7df3(0x1eb)]||(this[_0x5d7df3(0x22e)][_0x5d7df3(0x2b3)](this[_0x5d7df3(0x20d)]),_0x306b9d?.[_0x5d7df3(0x285)](this[_0x5d7df3(0x20d)]),this[_0x5d7df3(0x1f0)]=!0x0,this[_0x5d7df3(0x22e)][_0x5d7df3(0x2b3)](this[_0x5d7df3(0x27f)]),_0x306b9d?.[_0x5d7df3(0x285)](this[_0x5d7df3(0x27f)]),this[_0x5d7df3(0x20a)]=!0x0,this[_0x5d7df3(0x22e)][_0x5d7df3(0x2b3)](this[_0x5d7df3(0x270)]),_0x306b9d?.[_0x5d7df3(0x285)](this[_0x5d7df3(0x270)]),this[_0x5d7df3(0x1eb)]=!0x0);const _0x1fac61=_0x37cdac-this[_0x5d7df3(0x202)];this[_0x5d7df3(0x27f)][_0x5d7df3(0x242)]&&(this[_0x5d7df3(0x27f)][_0x5d7df3(0x242)][_0x5d7df3(0x294)]=_0x1fac61+'/'+_0x37cdac),this[_0x5d7df3(0x20d)][_0x5d7df3(0x28f)]=this[_0x5d7df3(0x202)]<_0x37cdac-0x1,this[_0x5d7df3(0x270)][_0x5d7df3(0x28f)]=this[_0x5d7df3(0x202)]>0x0;}else(this[_0x5d7df3(0x1f0)]||this[_0x5d7df3(0x20a)]||this[_0x5d7df3(0x1eb)])&&(this[_0x5d7df3(0x22e)][_0x5d7df3(0x2a9)](this[_0x5d7df3(0x20d)]),_0x306b9d?.[_0x5d7df3(0x243)](this[_0x5d7df3(0x20d)]),this[_0x5d7df3(0x1f0)]=!0x1,this[_0x5d7df3(0x22e)][_0x5d7df3(0x2a9)](this[_0x5d7df3(0x27f)]),_0x306b9d?.[_0x5d7df3(0x243)](this[_0x5d7df3(0x27f)]),this[_0x5d7df3(0x20a)]=!0x1,this[_0x5d7df3(0x22e)][_0x5d7df3(0x2a9)](this[_0x5d7df3(0x270)]),_0x306b9d?.[_0x5d7df3(0x243)](this[_0x5d7df3(0x270)]),this[_0x5d7df3(0x1eb)]=!0x1);}[_0x57595f(0x27d)](_0x343167,_0x4158f7){const _0x39021d=_0x57595f;_0x343167[_0x39021d(0x225)](),_0x4158f7[_0x39021d(0x283)][_0x39021d(0x225)](),this[_0x39021d(0x2aa)]=!0x0;}async[_0x57595f(0x236)](_0x5816c5,_0x43a019){const _0x41a094=_0x57595f,_0x243f4b=_0x57e83e(this[_0x41a094(0x279)][_0x41a094(0x1ed)],_0x41a094(0x1df));_0x43a019[_0x41a094(0x234)](_0x243f4b),_0x5816c5[_0x41a094(0x218)]=!0x0,await this[_0x41a094(0x22b)][_0x41a094(0x205)],_0x43a019[_0x41a094(0x1e2)](),this[_0x41a094(0x295)]?.[_0x41a094(0x264)][_0x41a094(0x283)][_0x41a094(0x230)]&&(this[_0x41a094(0x295)][_0x41a094(0x264)][_0x41a094(0x283)][_0x41a094(0x230)][_0x41a094(0x280)]=!0x0);}[_0x57595f(0x256)](_0x43f9e0,_0x328004){const _0x33919a=_0x57595f;_0x43f9e0[_0x33919a(0x22f)](),_0x328004[_0x33919a(0x283)][_0x33919a(0x230)]&&(_0x328004[_0x33919a(0x283)][_0x33919a(0x230)][_0x33919a(0x280)]=!0x1);}async[_0x57595f(0x1ff)](_0x3d16a5,_0x351c77){const _0x354e5d=_0x57595f;await this[_0x354e5d(0x22b)][_0x354e5d(0x205)],this[_0x354e5d(0x2aa)]=!0x1,_0x3d16a5[_0x354e5d(0x27a)](),_0x351c77[_0x354e5d(0x283)][_0x354e5d(0x27a)]();}[_0x57595f(0x2b4)](){const _0x41fb41=_0x57595f;this[_0x41fb41(0x22e)][_0x41fb41(0x29f)](_0x5de686=>{const _0x2cbfe9=_0x41fb41;_0x2cbfe9(0x28f)in _0x5de686&&(_0x5de686[_0x2cbfe9(0x28f)]=!0x1);});}}
|
|
23
|
+
const _0x24b0f1=_0xe913;(function(_0x51c5ff,_0xf0ba45){const _0x247018=_0xe913,_0x5ac5ce=_0x51c5ff();while(!![]){try{const _0x34e46e=-parseInt(_0x247018(0xe8))/0x1*(-parseInt(_0x247018(0x187))/0x2)+parseInt(_0x247018(0xba))/0x3+-parseInt(_0x247018(0xdb))/0x4*(-parseInt(_0x247018(0x119))/0x5)+-parseInt(_0x247018(0x153))/0x6+parseInt(_0x247018(0x18c))/0x7*(-parseInt(_0x247018(0xf0))/0x8)+parseInt(_0x247018(0x16d))/0x9+parseInt(_0x247018(0x11f))/0xa*(-parseInt(_0x247018(0x101))/0xb);if(_0x34e46e===_0xf0ba45)break;else _0x5ac5ce['push'](_0x5ac5ce['shift']());}catch(_0x5cce7a){_0x5ac5ce['push'](_0x5ac5ce['shift']());}}}(_0x237b,0xc173c));import{Plugin as _0x2108b3}from'ckeditor5/src/core.js';import{AIConnector as _0x59ee33}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x2a84e1}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x19d674,ButtonView as _0x3fe558,ViewCollection as _0x196063,View as _0x24acc4}from'ckeditor5/src/ui.js';import{AIEditing as _0x4f41de}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x10fd41}from'./model/aiactionsinteraction.js';function _0x237b(){const _0x5bb461=['executeAction','setErrorState','_navigationNextButton','applySuggestion','static','_interaction','1064742VXWRLE','ai-request-aborted','isDocumentOperation','model','stopAutoScroll','toggleSuggestionDisplayMode','clone','stop','has','getSelectedContent','remove','_isNavigationPreviousButtonInView','_wrapWithCommonAncestors','areChangesVisible','clearLoading','pluginName','accepted','bodyView','addOperation','streaming','hideLoader','interactionFinished','getAncestors','Error\x20refreshing\x20interaction:','selectionRemoved','_setErrorState','actionName','get','Attribute','version','includes','listenTo','getDocumentContext','68awvnGa','updateContent','setChangeGroupState','TrackChanges','_isNavigationNextButtonInView','isOfficialPlugin','Error\x20updating\x20content\x20during\x20navigation:','processor','TableSelection','modelToViewWithIds','_applyOperationsAsSuggestions','rootName','toolbar','4CVzxol','change','_navigateToPrevious','_createInteraction','catch','TrackChangesEditing','clearErrorState','isLoading','8FmjoQk','push','merge','editor','getLimitElement','stopListening','_interactions','mainView','balloonView','start','_customViews','setSelection','addNavigationItem','changeGroups','Error\x20updating\x20content\x20in\x20replyContentUpdated:','_filterOperationsOutsideRange','operationsA','11piDwkZ','message','textContent','_navigationPreviousButton','getSelectedBlocks','ck-ai-interaction-counter','nodeAfter','stopInteraction','_execute','howMany','_aiConnector','icon','selection','createPositionAfter','getFirstRange','AIBalloon','batch','_disableCustomViews','queueEmptyPromise','createPositionBefore','AIActions','sourcePosition','documentContextContent','_clearLoadingState','133345LBMLQQ','_interactionParams','random','getChild','indexOf','insertSuggestion','10923970CbsZHY','bind','isPremiumPlugin','_setupCustomViews','span','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','dialogClosed','ai-no-track-changes','stickiness','_children','parent','root','_displayInteractionAtIndex','setLoading','hasPendingParts','replies','_clearInteractionHistory','close','getSelectionAsFragment','showChangesButton','range','insert','position','AI_ACTIONS_GENERIC_ERROR','getChildAtOffset','_clone','execute','applyOperation','_navigateToNext','path','replyChangeGroupStateUpdated','createRange','_stopInteraction','upsertAIActionRating','enqueue','getCommonAncestor','nextSibling','AI_ACTIONS_NEXT_INTERACTION','startsWith','setTemplate','_clearSuggestionContent','toData','add','_isAbortError','type','startAutoScroll','_appendChild','rename','_currentInteractionIndex','_getExecuteDataInTable','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','hideError','232746yodltx','pending','upsertCustomAIActionRating','showError','getRoot','getSelectedTableCells','abort','documentFragment','_applyChanges','schema','rejected','forEach','reinsert','plugins','$graveyard','_updateNavigationUI','open','_executeAction','aiBalloon','createPositionAt','_clearErrorState','slice','move','getOperations','requires','getRanges','11882178aNZLkH','actionCallId','map','end','focus','element','_promiseQueue','_refreshInteraction','AI_ACTIONS_TRY_AGAIN','data','replyCreated','signal','ai.availableReplyActions','state','_getExecuteDataRegular','AI_ACTIONS_PREVIOUS_INTERACTION','filter','replyContentUpdated','locale','hasError','set','length','Error\x20updating\x20content\x20in\x20replyCreated:','removeNavigationItem','_setLoadingState','ck-ai-navigation-button\x20ck-ai-previous-button','162878DKNisP','split','history','_navigationCounter','document','3715019brezvB','first','AIConnector','error','_balloonShowDiff','showLoader','_anchorOperation','isEnabled','1/1','baseVersion','config','ck-ai-custom-action-button','isCollapsed','miniToolbarView','_isNavigationCounterInView','isBusy','ck-ai-navigation-button\x20ck-ai-next-button'];_0x237b=function(){return _0x5bb461;};return _0x237b();}import{CKEditorError as _0x5ab4f3,first as _0x37700b}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x53bc7c,IconRefresh as _0x374f46,IconNextArrow as _0x4c8ff4,IconPreviousArrow as _0x58c583,IconShowChangesOff as _0x449584}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x494c9c}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0xa1e71}from'../aichat/utils/promisequeue.js';function _0xe913(_0x55a22f,_0x2d3a02){const _0x237b97=_0x237b();return _0xe913=function(_0xe91331,_0xdbe108){_0xe91331=_0xe91331-0xaa;let _0x233ae7=_0x237b97[_0xe91331];return _0x233ae7;},_0xe913(_0x55a22f,_0x2d3a02);}import{getTranslation as _0x55c48a}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x2dcd28}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x8ba5bb}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x4e8746,getOperationsFromReply as _0x5a461d}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0xdc8e31,ModelRange as _0x382a96,ModelPosition as _0x4c1c9d,_DetachOperation as _0x5e2f41,transformOperationSets as _0x3af8c9}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x2d5e38}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIActions extends _0x2108b3{static get[_0x24b0f1(0x16b)](){return[_0x59ee33,_0x19d674,_0x4f41de,_0x494c9c,_0x8ba5bb];}static get[_0x24b0f1(0xc9)](){const _0x330c45=_0x24b0f1;return _0x330c45(0x115);}static get[_0x24b0f1(0xe0)](){return!0x0;}static get[_0x24b0f1(0x121)](){return!0x0;}[_0x24b0f1(0x10b)];[_0x24b0f1(0xf6)]=[];[_0x24b0f1(0x14f)]=0x0;[_0x24b0f1(0x11a)];[_0x24b0f1(0x190)]=!0x1;[_0x24b0f1(0xfa)]=new _0x196063();[_0x24b0f1(0x104)];[_0x24b0f1(0x18a)];[_0x24b0f1(0xb1)]=!0x1;[_0x24b0f1(0xb6)];[_0x24b0f1(0xc5)]=!0x1;[_0x24b0f1(0xdf)]=!0x1;[_0x24b0f1(0x173)];get[_0x24b0f1(0xb9)](){const _0x204211=_0x24b0f1;return this[_0x204211(0xf6)][this[_0x204211(0xf6)][_0x204211(0x182)]-0x1];}constructor(_0x43e26a){const _0x5b8e6c=_0x24b0f1;super(_0x43e26a),this[_0x5b8e6c(0x10b)]=this[_0x5b8e6c(0xf3)][_0x5b8e6c(0x160)][_0x5b8e6c(0xd5)](_0x5b8e6c(0x18e)),this[_0x5b8e6c(0x181)](_0x5b8e6c(0xb2),!0x1),this[_0x5b8e6c(0x173)]=new _0xa1e71(),this[_0x5b8e6c(0x122)]();}[_0x24b0f1(0x108)](){const _0x9e2f2=_0x24b0f1;this[_0x9e2f2(0x13f)]();}async[_0x24b0f1(0xb4)](_0x20a4c7,_0x3cdffe,_0x4e9e1c){const _0x1ead2f=_0x24b0f1;if(this[_0x1ead2f(0xf3)][_0x1ead2f(0x160)][_0x1ead2f(0xc2)](_0x1ead2f(0xe3))){if(this[_0x1ead2f(0xf3)][_0x1ead2f(0x160)][_0x1ead2f(0xd5)](_0x1ead2f(0xe3))[_0x1ead2f(0x158)]()){const {modelFragment:_0x5a7cf8,anchorData:_0x16b6d7}=this[_0x1ead2f(0x150)]();return this[_0x1ead2f(0x164)](_0x20a4c7,_0x5a7cf8,_0x16b6d7,_0x3cdffe,_0x4e9e1c);}}const {modelFragment:_0xfe523f,anchorData:_0x49c5be}=this[_0x1ead2f(0x17b)]();return this[_0x1ead2f(0x164)](_0x20a4c7,_0xfe523f,_0x49c5be,_0x3cdffe,_0x4e9e1c);}[_0x24b0f1(0x17b)](){const _0xaf347f=_0x24b0f1,_0x207f69=this[_0xaf347f(0xf3)][_0xaf347f(0xbd)][_0xaf347f(0x18b)][_0xaf347f(0x10d)];if(_0x207f69[_0xaf347f(0xaf)]){const _0x459109=_0x37700b(_0x207f69[_0xaf347f(0x105)]())||this[_0xaf347f(0xf3)][_0xaf347f(0xbd)][_0xaf347f(0x15c)][_0xaf347f(0xf4)](_0x207f69);this[_0xaf347f(0xf3)][_0xaf347f(0xbd)][_0xaf347f(0xe9)](_0x54dfd9=>{const _0x1c41db=_0xaf347f;_0x54dfd9[_0x1c41db(0xfb)](_0x459109,'in');});}const _0x4cff07=_0x207f69[_0xaf347f(0x10f)](),_0x6843c9=this[_0xaf347f(0xc6)](this[_0xaf347f(0xf3)][_0xaf347f(0xbd)][_0xaf347f(0xc3)](_0x207f69),_0x4cff07[_0xaf347f(0xf9)],_0x4cff07[_0xaf347f(0x170)]),_0x7027f3=_0x207f69[_0xaf347f(0x10f)]()[_0xaf347f(0xf9)],_0x4f788c=new Map();let _0x1fcd52=_0x6843c9;for(let _0x3a431d=0x0;_0x3a431d<_0x7027f3[_0xaf347f(0x13c)][_0xaf347f(0x182)];_0x3a431d++)_0x4f788c[_0xaf347f(0x181)](_0x1fcd52,_0x7027f3[_0xaf347f(0x13c)][_0x3a431d]),_0x1fcd52=_0x1fcd52[_0xaf347f(0x11c)](0x0);return{'modelFragment':_0x6843c9,'anchorData':_0x4f788c};}[_0x24b0f1(0x150)](){const _0xc3d409=_0x24b0f1,_0x1df86e=this[_0xc3d409(0xf3)][_0xc3d409(0xbd)][_0xc3d409(0x18b)][_0xc3d409(0x10d)],_0x24e52f=this[_0xc3d409(0xf3)][_0xc3d409(0x160)][_0xc3d409(0xd5)](_0xc3d409(0xe3))[_0xc3d409(0x131)](),_0x19ee26=_0x1df86e[_0xc3d409(0x10f)]()[_0xc3d409(0xf9)][_0xc3d409(0x129)][_0xc3d409(0x129)],_0xfee8c4=this[_0xc3d409(0xc6)](_0x24e52f,this[_0xc3d409(0xf3)][_0xc3d409(0xbd)][_0xc3d409(0x114)](_0x19ee26),this[_0xc3d409(0xf3)][_0xc3d409(0xbd)][_0xc3d409(0x10e)](_0x19ee26)),_0x215f1d=_0x1df86e[_0xc3d409(0x10f)]()[_0xc3d409(0xf9)],_0x5024a0=new Map();let _0x3c3e51=_0xfee8c4;for(let _0x38f02c=0x0;_0x38f02c<_0x215f1d[_0xc3d409(0x13c)][_0xc3d409(0x182)];_0x38f02c++)if(_0x5024a0[_0xc3d409(0x181)](_0x3c3e51,_0x215f1d[_0xc3d409(0x13c)][_0x38f02c]),_0x38f02c<_0x215f1d[_0xc3d409(0x13c)][_0xc3d409(0x182)]-0x1)_0x3c3e51=_0x3c3e51[_0xc3d409(0x11c)](0x0);else{let _0xd90fee=_0x3c3e51[_0xc3d409(0x143)];for(;_0xd90fee;)_0x5024a0[_0xc3d409(0x181)](_0xd90fee,_0x215f1d[_0xc3d409(0x13c)][_0x38f02c]),_0xd90fee=_0xd90fee[_0xc3d409(0x143)];}return{'modelFragment':_0xfee8c4,'anchorData':_0x5024a0};}[_0x24b0f1(0x164)](_0x5720ba,_0x298598,_0x10a898,_0x114635,_0x19ec70){const _0x476a43=_0x24b0f1,_0x42b3c1=this[_0x476a43(0xf3)][_0x476a43(0x160)][_0x476a43(0xd5)](_0x4f41de),_0x4371d2=this[_0x476a43(0xf3)][_0x476a43(0x160)][_0x476a43(0xd5)](_0x494c9c),_0x319acd=this[_0x476a43(0xf3)][_0x476a43(0xbd)][_0x476a43(0x18b)][_0x476a43(0x10d)],_0x5906d0=_0x42b3c1[_0x476a43(0xe4)](_0x298598),_0x4d5c1d=this[_0x476a43(0xf3)][_0x476a43(0x176)][_0x476a43(0xe2)][_0x476a43(0x148)](_0x5906d0),_0x548257=this[_0x476a43(0xf3)][_0x476a43(0xbd)][_0x476a43(0x18b)][_0x476a43(0xd7)],_0x275195=[..._0x319acd[_0x476a43(0x16c)]()];let _0x1da99e=this[_0x476a43(0xf3)][_0x476a43(0xad)][_0x476a43(0xd5)](_0x476a43(0x179))||[..._0x2d5e38];this[_0x476a43(0xf3)][_0x476a43(0x160)][_0x476a43(0xc2)](_0x476a43(0xde))||(_0x1da99e=_0x1da99e[_0x476a43(0x17d)](_0x160607=>_0x476a43(0x11e)!=_0x160607));const _0xd5fcd7=new _0x2a84e1(this[_0x476a43(0xf3)][_0x476a43(0x17f)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x476a43(0x10c),'customView':this[_0x476a43(0xfa)]},'showUnchangedParts':!0x0,'availableActions':_0x1da99e});return _0x4371d2[_0x476a43(0x163)]({'index':0x3e8*Math[_0x476a43(0x11b)]()%0x3e8,'title':_0x114635,'icon':_0x19ec70||_0x53bc7c,'mainView':_0xd5fcd7,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':this[_0x476a43(0xf3)][_0x476a43(0x160)][_0x476a43(0xc2)](_0x476a43(0xde)),'ranges':_0x275195}),this[_0x476a43(0x185)](_0xd5fcd7,_0x4371d2),this[_0x476a43(0xd9)](_0x4371d2,_0x476a43(0xb7),()=>{const _0x384316=_0x476a43;this[_0x384316(0x15b)](_0x298598,_0x10a898,!0x1);}),this[_0x476a43(0xd9)](_0x4371d2,_0x476a43(0x11e),()=>{const _0x161700=_0x476a43;this[_0x161700(0x15b)](_0x298598,_0x10a898,!0x0);}),this[_0x476a43(0xd9)](_0x4371d2,_0x476a43(0xd2),()=>{const _0x3967a8=_0x476a43;this[_0x3967a8(0x13f)](),this[_0x3967a8(0x112)]();}),this[_0x476a43(0xd9)](_0x4371d2,_0x476a43(0x125),()=>{const _0x2c821e=_0x476a43;if(this[_0x2c821e(0xb9)]&&this[_0x2c821e(0xb9)][_0x2c821e(0x12e)][_0x2c821e(0x182)]>0x0){const _0x514a1c=this[_0x2c821e(0xb9)][_0x2c821e(0x12e)][this[_0x2c821e(0xb9)][_0x2c821e(0x12e)][_0x2c821e(0x182)]-0x1],_0x4e3d15=_0x514a1c[_0x2c821e(0xfd)][0x0];_0x4e3d15&&_0x2c821e(0x154)===_0x4e3d15[_0x2c821e(0x17a)]&&_0x514a1c[_0x2c821e(0xdd)](0x0,_0x2c821e(0x15d));}this[_0x2c821e(0x13f)](),this[_0x2c821e(0x12f)](),this[_0x2c821e(0xf5)](_0x4371d2);}),this[_0x476a43(0xeb)](_0x4d5c1d,_0x548257,_0xd5fcd7,_0x4371d2,_0x5720ba);}[_0x24b0f1(0xc6)](_0x180058,_0x382d2b,_0x1dff9a){const _0x5d18b2=_0x24b0f1,_0x41abb0=this[_0x5d18b2(0xf3)][_0x5d18b2(0xbd)][_0x5d18b2(0x13e)](_0x382d2b,_0x1dff9a)[_0x5d18b2(0x142)](),_0x856c15=_0x41abb0['is'](_0x5d18b2(0x15a))?[]:_0x41abb0[_0x5d18b2(0xd0)]({'includeSelf':!0x0})[_0x5d18b2(0x168)](0x1);if(_0x856c15[_0x5d18b2(0x182)]){const _0x4477b6=_0x856c15[_0x5d18b2(0x16f)](_0x58168a=>_0x58168a[_0x5d18b2(0x138)](!0x1));for(let _0x201b74=0x1;_0x201b74<_0x4477b6[_0x5d18b2(0x182)];_0x201b74++)_0x4477b6[_0x201b74-0x1][_0x5d18b2(0x14d)](_0x4477b6[_0x201b74]);return _0x4477b6[_0x4477b6[_0x5d18b2(0x182)]-0x1][_0x5d18b2(0x14d)](_0x180058),new _0xdc8e31(_0x4477b6[0x0]);}return _0x180058;}async[_0x24b0f1(0xeb)](_0x24a26e,_0x4b1087,_0xc25110,_0x413cb2,_0x3eed27){const _0x708b02=_0x24b0f1,_0x1483a0=this[_0x708b02(0xf3)];this[_0x708b02(0x11a)]={'action':_0x3eed27,'content':_0x24a26e,'version':_0x4b1087,'mainView':_0xc25110,'aiBalloon':_0x413cb2};const _0xa748bd=new _0x10fd41({'connector':this[_0x708b02(0x10b)],'editor':_0x1483a0,'content':_0x24a26e,'version':_0x4b1087,..._0x3eed27});this[_0x708b02(0xf6)][_0x708b02(0xf1)](_0xa748bd),_0xc25110[_0x708b02(0x152)]();const _0x54967e=(_0x2a1fe5,_0xf89ded,_0x5b1b52=!0x1,_0xa392a2=_0x708b02(0xcd))=>this[_0x708b02(0x173)][_0x708b02(0x141)](async _0x5c5663=>{const _0x3cdaf3=_0x708b02;try{const _0x478ce9=_0x2dcd28({'editor':_0x1483a0,'changeGroups':_0x2a1fe5[_0x3cdaf3(0xfd)],'documentContextContent':_0x2a1fe5[_0x3cdaf3(0x117)],'showDiff':_0x5b1b52,'trimUnchanged':!0x1});await _0xf89ded[_0x3cdaf3(0xdc)]({'parts':_0x478ce9,'renderingStrategy':_0xa392a2,'abortSignal':_0x5c5663});}catch(_0x36b028){if(this[_0x3cdaf3(0x14a)](_0x36b028))return;throw _0x36b028;}});this[_0x708b02(0xb9)]['on'](_0x708b02(0x177),(_0xeb88b7,_0x33137d)=>{const _0x328912=_0x708b02;_0xc25110[_0x328912(0xce)](),_0x413cb2[_0x328912(0x14c)](),_0x54967e(_0x33137d,_0xc25110)[_0x328912(0xec)](_0x1bdee8=>{const _0x444013=_0x328912;this[_0x444013(0x14a)](_0x1bdee8)||(console[_0x444013(0x18f)](_0x444013(0x183),_0x1bdee8),this[_0x444013(0xd3)](_0xa748bd,_0xc25110));});}),this[_0x708b02(0xb9)]['on'](_0x708b02(0x17e),(_0x3ac153,_0x50c15d)=>{const _0x58f49e=_0x708b02;_0x54967e(_0x50c15d,_0xc25110)[_0x58f49e(0xec)](_0x2b6897=>{const _0x2be997=_0x58f49e;this[_0x2be997(0x14a)](_0x2b6897)||(console[_0x2be997(0x18f)](_0x2be997(0xfe),_0x2b6897),this[_0x2be997(0xd3)](_0xa748bd,_0xc25110));});}),this[_0x708b02(0xb9)]['on'](_0x708b02(0xcf),async()=>{const _0x54fd91=_0x708b02;try{await this[_0x54fd91(0x118)](_0xc25110,_0x413cb2),this[_0x54fd91(0x162)](),await this[_0x54fd91(0x173)][_0x54fd91(0x113)];}catch(_0x33dae7){this[_0x54fd91(0x14a)](_0x33dae7)||(console[_0x54fd91(0x18f)](_0x54fd91(0x124),_0x33dae7),this[_0x54fd91(0xd3)](_0xa748bd,_0xc25110));}finally{_0x413cb2[_0x54fd91(0xbe)]();}}),this[_0x708b02(0xd9)](_0xc25110,_0x708b02(0xbf),async(_0x572ac6,{showDiff:_0x211619})=>{const _0x2036b6=_0x708b02;try{this[_0x2036b6(0x190)]=_0x211619;const _0xb667d4=this[_0x2036b6(0xb9)][_0x2036b6(0x12e)][this[_0x2036b6(0xb9)][_0x2036b6(0x12e)][_0x2036b6(0x182)]-0x1];_0xb667d4&&await _0x54967e(_0xb667d4,_0xc25110,_0x211619,_0x2036b6(0xb8));}catch(_0x573cae){this[_0x2036b6(0x14a)](_0x573cae)||(console[_0x2036b6(0x18f)](_0x2036b6(0x151),_0x573cae),this[_0x2036b6(0xd3)](_0xa748bd,_0xc25110));}}),this[_0x708b02(0xb9)]['on'](_0x708b02(0x13d),(_0x22db26,{reply:_0x1f1c05})=>{const _0x5bae13=_0x708b02,_0x1b4b5f={'positiveCount':_0x1f1c05[_0x5bae13(0xfd)][_0x5bae13(0x17d)](_0x349913=>_0x5bae13(0xca)===_0x349913[_0x5bae13(0x17a)])[_0x5bae13(0x182)],'totalCount':_0x1f1c05[_0x5bae13(0xfd)][_0x5bae13(0x182)]},_0x4c71c8=this[_0x5bae13(0xb9)][_0x5bae13(0x16e)],_0x775d91=this[_0x5bae13(0xb9)][_0x5bae13(0xd4)];_0x775d91?this[_0x5bae13(0x10b)][_0x5bae13(0x140)](_0x775d91,_0x4c71c8,_0x1b4b5f):this[_0x5bae13(0x10b)][_0x5bae13(0x155)](_0x4c71c8,_0x1b4b5f);}),this[_0x708b02(0x185)](_0xc25110,_0x413cb2);try{const _0xe350b2=await this[_0x708b02(0xb9)][_0x708b02(0xf9)]();return this[_0x708b02(0x162)](),_0xe350b2;}catch(_0xeff0e3){if(this[_0x708b02(0x14a)](_0xeff0e3))return;_0xc25110[_0x708b02(0xce)](),this[_0x708b02(0xd3)](_0xa748bd,_0xc25110);}}[_0x24b0f1(0x15b)](_0x27c7bd,_0x133287,_0x595bea){const _0x43747c=_0x24b0f1,_0x1091d3=this[_0x43747c(0xf3)];if(_0x595bea&&!_0x1091d3[_0x43747c(0x160)][_0x43747c(0xc2)](_0x43747c(0xde)))throw new _0x5ab4f3(_0x43747c(0x126),null);const _0x4ac047=this[_0x43747c(0xf3)][_0x43747c(0x160)][_0x43747c(0xd5)](_0x8ba5bb),_0x14cac6=this[_0x43747c(0xb9)],_0x3b156d=this[_0x43747c(0xb9)][_0x43747c(0x12e)][this[_0x43747c(0xb9)][_0x43747c(0x12e)][_0x43747c(0x182)]-0x1],_0x30af1b=_0x3b156d[_0x43747c(0xfd)];_0x3b156d[_0x43747c(0xdd)](0x0,_0x43747c(0xca));let _0x40f17a=_0x5a461d({'editor':_0x1091d3,'reply':_0x3b156d,'interaction':_0x14cac6,'groups':_0x30af1b,'transform':!0x1,'documentCompare':_0x4ac047,'documentCompareOptions':{'anchor':_0x1091d3[_0x43747c(0xbd)][_0x43747c(0x166)](_0x27c7bd,0x0),'markDeletions':_0x595bea}});_0x40f17a=this[_0x43747c(0xff)](_0x40f17a,_0x133287);for(const _0x41b663 of _0x40f17a)this[_0x43747c(0x192)](_0x133287,_0x41b663,_0x1091d3[_0x43747c(0xbd)][_0x43747c(0x18b)][_0x43747c(0x157)]());const _0x4d2adc=_0x14cac6[_0x43747c(0xda)]()[_0x43747c(0xd7)],_0x12239f=_0x1091d3[_0x43747c(0xbd)][_0x43747c(0x18b)][_0x43747c(0x189)][_0x43747c(0x16a)](_0x4d2adc),_0x3ff74b={'document':_0x1091d3[_0x43747c(0xbd)][_0x43747c(0x18b)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3d4c00=_0x3af8c9(_0x40f17a,_0x12239f,_0x3ff74b)[_0x43747c(0x100)];_0x1091d3[_0x43747c(0xbd)][_0x43747c(0xe9)](_0x5f4089=>{const _0x4d98f6=_0x43747c;if(_0x5f4089[_0x4d98f6(0xfb)](_0x1091d3[_0x4d98f6(0xbd)][_0x4d98f6(0x18b)][_0x4d98f6(0x10d)][_0x4d98f6(0x171)]),_0x595bea)_0x1091d3[_0x4d98f6(0x160)][_0x4d98f6(0xd5)](_0x4d98f6(0xed))[_0x4d98f6(0xe5)](_0x3d4c00);else{for(const _0x1b1665 of _0x3d4c00)_0x1b1665[_0x4d98f6(0xac)]=_0x1091d3[_0x4d98f6(0xbd)][_0x4d98f6(0x18b)][_0x4d98f6(0xd7)],_0x4e8746(_0x1091d3,_0x1b1665),_0x5f4089[_0x4d98f6(0x111)][_0x4d98f6(0xcc)](_0x1b1665),_0x1091d3[_0x4d98f6(0xbd)][_0x4d98f6(0x13a)](_0x1b1665);}}),this[_0x43747c(0xf3)][_0x43747c(0x160)][_0x43747c(0xd5)](_0x43747c(0x110))[_0x43747c(0x130)]();}[_0x24b0f1(0xff)](_0x3186bc,_0x5eb97a){const _0x46428a=_0x24b0f1;return _0x3186bc[_0x46428a(0x17d)](_0x246f43=>{const _0x128d87=_0x46428a;if(_0x128d87(0x14e)==_0x246f43[_0x128d87(0x14b)]){const _0x2d15b1=_0x246f43[_0x128d87(0x135)][_0x128d87(0x107)];return!_0x5eb97a[_0x128d87(0xc2)](_0x2d15b1);}if(_0x246f43[_0x128d87(0x14b)][_0x128d87(0x11d)](_0x128d87(0xd6))>-0x1){const _0x3ef77e=_0x246f43[_0x128d87(0x133)][_0x128d87(0xf9)][_0x128d87(0x107)];return!_0x5eb97a[_0x128d87(0xc2)](_0x3ef77e);}return!0x0;});}[_0x24b0f1(0x192)](_0x25a19d,_0x12d2cb,_0x86675a){const _0x299034=_0x24b0f1,_0x5e3713=_0x12d2cb[_0x299034(0xc0)]();for(const _0x2dbfe3 in _0x12d2cb){const _0x1d4509=_0x12d2cb[_0x2dbfe3];_0x1d4509 instanceof _0x382a96?_0x12d2cb[_0x2dbfe3]=new _0x382a96(_0x4623aa(_0x1d4509[_0x299034(0xf9)]),_0x4623aa(_0x1d4509[_0x299034(0x170)])):_0x1d4509 instanceof _0x4c1c9d&&(_0x12d2cb[_0x2dbfe3]=_0x4623aa(_0x1d4509));}if([_0x299034(0x134),_0x299034(0x169),_0x299034(0xc4),_0x299034(0x15f),_0x299034(0x188),_0x299034(0xf2)][_0x299034(0xd8)](_0x5e3713[_0x299034(0x14b)])){if(_0x5e3713[_0x299034(0xbc)]=!0x1,_0x5e3713[_0x299034(0xac)]=null,_0x299034(0xc4)==_0x5e3713[_0x299034(0x14b)]){const _0xd1dc5b=_0x5e3713[_0x299034(0x116)],_0x1513e2=_0x5e3713[_0x299034(0x10a)];new _0x5e2f41(_0xd1dc5b,_0x1513e2)[_0x299034(0x109)]();}else _0x5e3713[_0x299034(0x109)]();}function _0x4623aa(_0x5742be){const _0xd3fa42=_0x299034;if(_0xd3fa42(0x161)==_0x5742be[_0xd3fa42(0x12a)][_0xd3fa42(0xe6)])return _0x5742be;const _0x5f2cbb=[];let _0x41b78d=_0x5742be[_0xd3fa42(0x12a)];for(let _0x5ba6fb=0x0;_0x5ba6fb<_0x5742be[_0xd3fa42(0x13c)][_0xd3fa42(0x182)];_0x5ba6fb++){const _0x5094af=_0x25a19d[_0xd3fa42(0xd5)](_0x41b78d)||0x0;_0x5f2cbb[_0x5ba6fb]=_0x5742be[_0xd3fa42(0x13c)][_0x5ba6fb]+_0x5094af,_0x41b78d=_0x41b78d[_0xd3fa42(0x137)](_0x5742be[_0xd3fa42(0x13c)][_0x5ba6fb]);}return new _0x4c1c9d(_0x86675a,_0x5f2cbb,_0x5742be[_0xd3fa42(0x127)]);}}[_0x24b0f1(0x174)](){const _0xd93e9f=_0x24b0f1;if(!this[_0xd93e9f(0x11a)])return;this[_0xd93e9f(0xf6)][_0xd93e9f(0x182)]>0x0&&this[_0xd93e9f(0x13f)](),this[_0xd93e9f(0x14f)]=0x0,this[_0xd93e9f(0x190)]=!0x1;const {action:_0x1fb437,content:_0x271b80,version:_0x4eb9e3,mainView:_0x14dc51,aiBalloon:_0x2cb149}=this[_0xd93e9f(0x11a)];_0x14dc51[_0xd93e9f(0xc7)]=!0x1,_0x14dc51[_0xd93e9f(0x152)](),this[_0xd93e9f(0x167)](_0x14dc51,_0x2cb149);const _0x2f3870=_0x14dc51;_0x2f3870[_0xd93e9f(0xb0)]&&_0x2f3870[_0xd93e9f(0xb0)][_0xd93e9f(0x132)]&&_0x2f3870[_0xd93e9f(0xb0)][_0xd93e9f(0x132)][_0xd93e9f(0x181)]({'isOn':!0x1,'icon':_0x449584}),this[_0xd93e9f(0x147)](_0x14dc51),_0x14dc51[_0xd93e9f(0x191)](),this[_0xd93e9f(0x162)](),this[_0xd93e9f(0xf5)](_0x14dc51),this[_0xd93e9f(0xeb)](_0x271b80,_0x4eb9e3,_0x14dc51,_0x2cb149,_0x1fb437)[_0xd93e9f(0xec)](_0x525c62=>{const _0x2e2e6a=_0xd93e9f;this[_0x2e2e6a(0x14a)](_0x525c62)||console[_0x2e2e6a(0x18f)](_0x2e2e6a(0xd1),_0x525c62);});}[_0x24b0f1(0x147)](_0x2c6827){const _0x26350a=_0x24b0f1,_0x5bf867=_0x2c6827[_0x26350a(0xcb)][_0x26350a(0x128)];for(;_0x5bf867[_0x26350a(0x182)]>0x0;)_0x5bf867[_0x26350a(0xc4)](_0x5bf867[_0x26350a(0x18d)]);_0x2c6827[_0x26350a(0xcb)][_0x26350a(0x12d)]=!0x1;}[_0x24b0f1(0x14a)](_0x5db627){const _0x98383=_0x24b0f1;return!!_0x5db627[_0x98383(0x102)]&&_0x5db627[_0x98383(0x102)][_0x98383(0x145)](_0x98383(0xbb));}[_0x24b0f1(0x12f)](){const _0x258001=_0x24b0f1;this[_0x258001(0xf6)]=[],this[_0x258001(0x11a)]=void 0x0,this[_0x258001(0x14f)]=0x0,this[_0x258001(0x162)]();}[_0x24b0f1(0x13f)](){const _0x39dde3=_0x24b0f1;this[_0x39dde3(0xb9)]&&this[_0x39dde3(0xb9)][_0x39dde3(0xc1)](),this[_0x39dde3(0x173)][_0x39dde3(0x159)](),this[_0x39dde3(0xb2)]=!0x1,this[_0x39dde3(0x11a)]&&this[_0x39dde3(0x11a)][_0x39dde3(0x165)][_0x39dde3(0xbe)]();}[_0x24b0f1(0x122)](){const _0x14ed58=_0x24b0f1,_0x19f32c=new _0x3fe558(this[_0x14ed58(0xf3)][_0x14ed58(0x17f)]),_0x20dc3e=new _0x3fe558(this[_0x14ed58(0xf3)][_0x14ed58(0x17f)]),_0x3cdbf2=new _0x24acc4(this[_0x14ed58(0xf3)][_0x14ed58(0x17f)]),_0x290921=new _0x3fe558(this[_0x14ed58(0xf3)][_0x14ed58(0x17f)]);_0x19f32c[_0x14ed58(0x181)]({'icon':_0x374f46,'label':_0x55c48a(this[_0x14ed58(0xf3)][_0x14ed58(0x17f)],_0x14ed58(0x175)),'tooltip':!0x0,'class':_0x14ed58(0xae)}),_0x20dc3e[_0x14ed58(0x181)]({'icon':_0x58c583,'tooltip':_0x55c48a(this[_0x14ed58(0xf3)][_0x14ed58(0x17f)],_0x14ed58(0x17c)),'class':_0x14ed58(0x186)}),_0x3cdbf2[_0x14ed58(0x146)]({'tag':_0x14ed58(0x123),'attributes':{'class':[_0x14ed58(0x106)]},'children':[_0x14ed58(0xab)]}),_0x290921[_0x14ed58(0x181)]({'icon':_0x4c8ff4,'tooltip':_0x55c48a(this[_0x14ed58(0xf3)][_0x14ed58(0x17f)],_0x14ed58(0x144)),'class':_0x14ed58(0xb3)}),_0x19f32c[_0x14ed58(0x120)](_0x14ed58(0xaa))['to'](this,_0x14ed58(0xb2),_0x447f49=>!_0x447f49),_0x19f32c['on'](_0x14ed58(0x139),()=>{const _0xbdb0c0=_0x14ed58;this[_0xbdb0c0(0x174)]();}),_0x20dc3e[_0x14ed58(0x120)](_0x14ed58(0xaa))['to'](this,_0x14ed58(0xb2),_0x1c0ffe=>!_0x1c0ffe),_0x20dc3e['on'](_0x14ed58(0x139),()=>{const _0x5701a4=_0x14ed58;this[_0x5701a4(0xea)]();}),_0x290921[_0x14ed58(0x120)](_0x14ed58(0xaa))['to'](this,_0x14ed58(0xb2),_0x293448=>!_0x293448),_0x290921['on'](_0x14ed58(0x139),()=>{const _0x44bef3=_0x14ed58;this[_0x44bef3(0x13b)]();}),this[_0x14ed58(0x104)]=_0x20dc3e,this[_0x14ed58(0x18a)]=_0x3cdbf2,this[_0x14ed58(0xb6)]=_0x290921,this[_0x14ed58(0xfa)][_0x14ed58(0x149)](_0x19f32c);}[_0x24b0f1(0xea)](){const _0xdfe6e6=_0x24b0f1,_0x596ae1=this[_0xdfe6e6(0xf6)][_0xdfe6e6(0x182)];this[_0xdfe6e6(0x14f)]<_0x596ae1-0x1&&this[_0xdfe6e6(0x12b)](this[_0xdfe6e6(0x14f)]+0x1);}[_0x24b0f1(0x13b)](){const _0x501448=_0x24b0f1;this[_0x501448(0x14f)]>0x0&&this[_0x501448(0x12b)](this[_0x501448(0x14f)]-0x1);}async[_0x24b0f1(0x12b)](_0x1440f5){const _0x351484=_0x24b0f1;if(!this[_0x351484(0x11a)])return;this[_0x351484(0x14f)]=_0x1440f5;const {mainView:_0x3fce09}=this[_0x351484(0x11a)],_0x25c84f=this[_0x351484(0xf6)][this[_0x351484(0xf6)][_0x351484(0x182)]-0x1-this[_0x351484(0x14f)]];if(!_0x25c84f)return;if(_0x25c84f[_0x351484(0x180)])return this[_0x351484(0xd3)](_0x25c84f,_0x3fce09),void this[_0x351484(0x162)]();if(!_0x25c84f[_0x351484(0x12e)][_0x351484(0x182)])return;_0x3fce09[_0x351484(0x152)](),this[_0x351484(0x11a)]&&this[_0x351484(0x167)](_0x3fce09,this[_0x351484(0x11a)][_0x351484(0x165)]);const _0x1f91da=_0x25c84f[_0x351484(0x12e)][_0x25c84f[_0x351484(0x12e)][_0x351484(0x182)]-0x1];if(_0x1f91da){const _0x3637be=this[_0x351484(0xf3)];this[_0x351484(0x147)](_0x3fce09);try{const _0x2f30a6=_0x2dcd28({'editor':_0x3637be,'changeGroups':_0x1f91da[_0x351484(0xfd)],'documentContextContent':_0x1f91da[_0x351484(0x117)],'showDiff':this[_0x351484(0x190)],'trimUnchanged':!0x1});this[_0x351484(0x147)](_0x3fce09),await new Promise(_0x43a6d3=>setTimeout(_0x43a6d3,0x32)),await _0x3fce09[_0x351484(0xdc)]({'parts':_0x2f30a6,'renderingStrategy':_0x351484(0xb8),'abortSignal':new AbortController()[_0x351484(0x178)]});}catch(_0x255d4d){this[_0x351484(0x14a)](_0x255d4d)||console[_0x351484(0x18f)](_0x351484(0xe1),_0x255d4d);}}this[_0x351484(0x162)]();}[_0x24b0f1(0x162)](){const _0x413ec6=_0x24b0f1;if(!this[_0x413ec6(0x104)]||!this[_0x413ec6(0x18a)]||!this[_0x413ec6(0xb6)])return;const _0x1ff6d7=this[_0x413ec6(0xf6)][_0x413ec6(0x182)],_0x391ce2=_0x1ff6d7>0x1,_0x29fe97=this[_0x413ec6(0x11a)]?.[_0x413ec6(0xf7)];if(_0x391ce2){this[_0x413ec6(0xc5)]||this[_0x413ec6(0xb1)]||this[_0x413ec6(0xdf)]||(this[_0x413ec6(0xfa)][_0x413ec6(0x149)](this[_0x413ec6(0x104)]),_0x29fe97?.[_0x413ec6(0xfc)](this[_0x413ec6(0x104)]),this[_0x413ec6(0xc5)]=!0x0,this[_0x413ec6(0xfa)][_0x413ec6(0x149)](this[_0x413ec6(0x18a)]),_0x29fe97?.[_0x413ec6(0xfc)](this[_0x413ec6(0x18a)]),this[_0x413ec6(0xb1)]=!0x0,this[_0x413ec6(0xfa)][_0x413ec6(0x149)](this[_0x413ec6(0xb6)]),_0x29fe97?.[_0x413ec6(0xfc)](this[_0x413ec6(0xb6)]),this[_0x413ec6(0xdf)]=!0x0);const _0x20f842=_0x1ff6d7-this[_0x413ec6(0x14f)];this[_0x413ec6(0x18a)][_0x413ec6(0x172)]&&(this[_0x413ec6(0x18a)][_0x413ec6(0x172)][_0x413ec6(0x103)]=_0x20f842+'/'+_0x1ff6d7),this[_0x413ec6(0x104)][_0x413ec6(0xaa)]=this[_0x413ec6(0x14f)]<_0x1ff6d7-0x1,this[_0x413ec6(0xb6)][_0x413ec6(0xaa)]=this[_0x413ec6(0x14f)]>0x0;}else(this[_0x413ec6(0xc5)]||this[_0x413ec6(0xb1)]||this[_0x413ec6(0xdf)])&&(this[_0x413ec6(0xfa)][_0x413ec6(0xc4)](this[_0x413ec6(0x104)]),_0x29fe97?.[_0x413ec6(0x184)](this[_0x413ec6(0x104)]),this[_0x413ec6(0xc5)]=!0x1,this[_0x413ec6(0xfa)][_0x413ec6(0xc4)](this[_0x413ec6(0x18a)]),_0x29fe97?.[_0x413ec6(0x184)](this[_0x413ec6(0x18a)]),this[_0x413ec6(0xb1)]=!0x1,this[_0x413ec6(0xfa)][_0x413ec6(0xc4)](this[_0x413ec6(0xb6)]),_0x29fe97?.[_0x413ec6(0x184)](this[_0x413ec6(0xb6)]),this[_0x413ec6(0xdf)]=!0x1);}[_0x24b0f1(0x185)](_0x4d1d0e,_0x535964){const _0x449b95=_0x24b0f1;_0x4d1d0e[_0x449b95(0x12c)](),_0x535964[_0x449b95(0xf8)][_0x449b95(0x12c)](),this[_0x449b95(0xb2)]=!0x0;}async[_0x24b0f1(0xd3)](_0x2b6f0c,_0x53405a){const _0x2c7fa3=_0x24b0f1,_0x2a859b=_0x55c48a(this[_0x2c7fa3(0xf3)][_0x2c7fa3(0x17f)],_0x2c7fa3(0x136));_0x53405a[_0x2c7fa3(0x156)](_0x2a859b),_0x2b6f0c[_0x2c7fa3(0x180)]=!0x0,await this[_0x2c7fa3(0x173)][_0x2c7fa3(0x113)],_0x53405a[_0x2c7fa3(0xb5)](),this[_0x2c7fa3(0x11a)]?.[_0x2c7fa3(0x165)][_0x2c7fa3(0xf8)][_0x2c7fa3(0xe7)]&&(this[_0x2c7fa3(0x11a)][_0x2c7fa3(0x165)][_0x2c7fa3(0xf8)][_0x2c7fa3(0xe7)][_0x2c7fa3(0xef)]=!0x0);}[_0x24b0f1(0x167)](_0x318be0,_0x526557){const _0x4191ab=_0x24b0f1;_0x318be0[_0x4191ab(0xee)](),_0x526557[_0x4191ab(0xf8)][_0x4191ab(0xe7)]&&(_0x526557[_0x4191ab(0xf8)][_0x4191ab(0xe7)][_0x4191ab(0xef)]=!0x1);}async[_0x24b0f1(0x118)](_0xd54f8,_0x1623c9){const _0x59dfbd=_0x24b0f1;await this[_0x59dfbd(0x173)][_0x59dfbd(0x113)],this[_0x59dfbd(0xb2)]=!0x1,_0xd54f8[_0x59dfbd(0xc8)](),_0x1623c9[_0x59dfbd(0xf8)][_0x59dfbd(0xc8)]();}[_0x24b0f1(0x112)](){const _0x2bf084=_0x24b0f1;this[_0x2bf084(0xfa)][_0x2bf084(0x15e)](_0x22c9d3=>{const _0x53714b=_0x2bf084;_0x53714b(0xaa)in _0x22c9d3&&(_0x22c9d3[_0x53714b(0xaa)]=!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x507f90=_0x5c1a;(function(_0x1b5c7b,_0x35e531){const _0x2aa433=_0x5c1a,_0x349c7f=_0x1b5c7b();while(!![]){try{const _0x4d4561=parseInt(_0x2aa433(0xdf))/0x1*(parseInt(_0x2aa433(0xd0))/0x2)+-parseInt(_0x2aa433(0xd3))/0x3*(-parseInt(_0x2aa433(0xdc))/0x4)+parseInt(_0x2aa433(0xde))/0x5+-parseInt(_0x2aa433(0xc1))/0x6+-parseInt(_0x2aa433(0xe0))/0x7+-parseInt(_0x2aa433(0xd5))/0x8*(-parseInt(_0x2aa433(0xcb))/0x9)+-parseInt(_0x2aa433(0xd1))/0xa;if(_0x4d4561===_0x35e531)break;else _0x349c7f['push'](_0x349c7f['shift']());}catch(_0x2e334e){_0x349c7f['push'](_0x349c7f['shift']());}}}(_0xfe8c,0x72114));import{AIInteraction as _0x539dc8,AI_MODEL_EVENT_NAMES as _0x24c385}from'../../aicore/model/aiinteraction.js';function _0x5c1a(_0x58de73,_0x1946aa){const _0xfe8c7=_0xfe8c();return _0x5c1a=function(_0x5c1af3,_0x2ef58d){_0x5c1af3=_0x5c1af3-0xc1;let _0x4c2226=_0xfe8c7[_0x5c1af3];return _0x4c2226;},_0x5c1a(_0x58de73,_0x1946aa);}function _0xfe8c(){const _0x2b49f4=['args','replyCreated','push','content','Current\x20document','actionName','1964304xxQSct','current-document','3212540JDWneE','2354pWukOo','4310201HLMKlx','connector','3129516fITPIr','fire','getDocumentContext','sendRequest','version','hasError','executeCustomAction','executeAction','model','html','9okUzNg','editor','replies','createReply','delegate','412WkIken','7638140RUcVvb','TEXT','3lSUUBB','userMessage','5998840fJcFHm'];_0xfe8c=function(){return _0x2b49f4;};return _0xfe8c();}import{AIContextItemType as _0x4294ea}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x276865}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x539dc8{[_0x507f90(0xd9)];[_0x507f90(0xc5)];[_0x507f90(0xdb)];[_0x507f90(0xd6)];[_0x507f90(0xd4)];[_0x507f90(0xc9)];[_0x507f90(0xc6)]=!0x1;constructor(_0x54979e){const _0x249951=_0x507f90;super(_0x54979e),this[_0x249951(0xd9)]=_0x54979e[_0x249951(0xd9)],this[_0x249951(0xc5)]=_0x54979e[_0x249951(0xc5)],this[_0x249951(0xdb)]=_0x54979e[_0x249951(0xdb)],this[_0x249951(0xd6)]=_0x54979e[_0x249951(0xd6)],this[_0x249951(0xd4)]=_0x54979e[_0x249951(0xd4)],this[_0x249951(0xc9)]=_0x54979e[_0x249951(0xc9)];}async[_0x507f90(0xc4)](){const _0xd43bc4=_0x507f90;return this[_0xd43bc4(0xdb)]?this[_0xd43bc4(0xe1)][_0xd43bc4(0xc8)]({'content':this[_0xd43bc4(0xd9)],'actionName':this[_0xd43bc4(0xdb)],'args':this[_0xd43bc4(0xd6)]}):this[_0xd43bc4(0xe1)][_0xd43bc4(0xc7)]({'content':this[_0xd43bc4(0xd9)],'message':this[_0xd43bc4(0xd4)],'model':this[_0xd43bc4(0xc9)],'outputFormat':_0xd43bc4(0xca)});}[_0x507f90(0xc3)](){const _0x5981d3=_0x507f90;return{'type':_0x4294ea[_0x5981d3(0xd2)],'content':this[_0x5981d3(0xd9)],'version':this[_0x5981d3(0xc5)],'label':_0x5981d3(0xda),'uiId':_0x5981d3(0xdd)};}[_0x507f90(0xce)](_0x63f47d){const _0xaf3185=_0x507f90,_0x5068ca=new _0x276865({'editor':this[_0xaf3185(0xcc)],'documentContextContent':this[_0xaf3185(0xd9)],..._0x63f47d});return this[_0xaf3185(0xcd)][_0xaf3185(0xd8)](_0x5068ca),_0x5068ca[_0xaf3185(0xcf)](..._0x24c385)['to'](this),this[_0xaf3185(0xc2)](_0xaf3185(0xd7),_0x5068ca),_0x5068ca;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e6e0e=_0x2924;(function(_0x385ce4,_0x233236){const _0x448ea8=_0x2924,_0xf88d5d=_0x385ce4();while(!![]){try{const _0x377911=parseInt(_0x448ea8(0xa0))/0x1+parseInt(_0x448ea8(0xa5))/0x2+parseInt(_0x448ea8(0x99))/0x3*(parseInt(_0x448ea8(0xaf))/0x4)+-parseInt(_0x448ea8(0xac))/0x5*(parseInt(_0x448ea8(0xa9))/0x6)+-parseInt(_0x448ea8(0x9e))/0x7*(-parseInt(_0x448ea8(0xa6))/0x8)+-parseInt(_0x448ea8(0xa2))/0x9+parseInt(_0x448ea8(0xb0))/0xa;if(_0x377911===_0x233236)break;else _0xf88d5d['push'](_0xf88d5d['shift']());}catch(_0x2ef890){_0xf88d5d['push'](_0xf88d5d['shift']());}}}(_0x2983,0xe8207));function _0x2983(){const _0x2ebce9=['24QoHFMJ','8336680hfWlDw','isDone','parsedMergedContent','map','_getDifferentChangeGroups','data-id','value','changeGroups','697335LOrMMu','added','modified','cloneNode','removed','238sQPlaD','parsedContent','114829uNaBiV','children','9060615oDTeKc','childNodes','updateChangeGroups','2042820OVIjDG','6296qbSVFl','pending','new','661758jpVlAg','pop','length','65XSGdHm','documentContextContent','node'];_0x2983=function(){return _0x2ebce9;};return _0x2983();}import{AIReply as _0x51c3d0}from'../../aicore/model/aireply.js';import{getAttribute as _0x2a07d7}from'../../aicore/utils/htmlparser.js';function _0x2924(_0x21128d,_0x525000){const _0x29834d=_0x2983();return _0x2924=function(_0x2924c0,_0x2c3255){_0x2924c0=_0x2924c0-0x92;let _0x25c280=_0x29834d[_0x2924c0];return _0x25c280;},_0x2924(_0x21128d,_0x525000);}import{uid as _0x12cb29}from'ckeditor5/src/utils.js';import{diffArrays as _0x5e11a3}from'diff';export class AIActionsReply extends _0x51c3d0{[_0x5e6e0e(0xa4)](){const _0x2b31b8=_0x5e6e0e;if(this[_0x2b31b8(0x93)]=this[_0x2b31b8(0x9f)][_0x2b31b8(0x9c)](!0x0),0x0==this[_0x2b31b8(0x93)][_0x2b31b8(0xa3)][_0x2b31b8(0xab)])return void(this[_0x2b31b8(0x98)]=[]);const _0x140d0e=this[_0x2b31b8(0xad)][_0x2b31b8(0xa1)][_0x2b31b8(0x94)](_0x16d79c=>({'node':_0x16d79c,'id':_0x2a07d7(_0x16d79c,_0x2b31b8(0x96))})),_0x52613f=this[_0x2b31b8(0x93)][_0x2b31b8(0xa1)][_0x2b31b8(0x94)](_0x41cc10=>({'node':_0x41cc10,'id':_0x2a07d7(_0x41cc10,_0x2b31b8(0x96))||_0x12cb29()})),_0x47ddec=_0x5e11a3(_0x140d0e,_0x52613f,{'comparator':(_0x792298,_0x11fd89)=>_0x792298['id']==_0x11fd89['id'],'oneChangePerToken':!0x0});if(!this[_0x2b31b8(0x92)]){for(;_0x47ddec[_0x2b31b8(0xab)]&&_0x47ddec[_0x47ddec[_0x2b31b8(0xab)]-0x1][_0x2b31b8(0x9d)];)_0x47ddec[_0x2b31b8(0xaa)]();}const _0x47bd04=_0x47ddec[_0x2b31b8(0x94)](_0x44bf71=>{const _0x5bac31=_0x2b31b8,_0x22b696=_0x44bf71[_0x5bac31(0x9a)]?_0x5bac31(0xa8):_0x44bf71[_0x5bac31(0x9d)]?_0x5bac31(0x9d):_0x5bac31(0x9b);return{'node':_0x44bf71[_0x5bac31(0x97)][0x0][_0x5bac31(0xae)],'type':_0x22b696,'id':_0x44bf71[_0x5bac31(0x97)][0x0]['id']};});this[_0x2b31b8(0x98)]=[{'changes':_0x47bd04,'state':_0x2b31b8(0xa7),'index':0x0}];}[_0x5e6e0e(0x95)](_0x53c65e,_0x29eccb){return _0x29eccb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x470c(_0x5a9d96,_0x3ac049){var _0x5b7a0c=_0x5b7a();return _0x470c=function(_0x470cb0,_0x3459c5){_0x470cb0=_0x470cb0-0x19a;var _0x13572f=_0x5b7a0c[_0x470cb0];return _0x13572f;},_0x470c(_0x5a9d96,_0x3ac049);}var _0x5399b7=_0x470c;(function(_0x3d793e,_0x307439){var _0x190402=_0x470c,_0x3c9d5f=_0x3d793e();while(!![]){try{var _0x6e298d=-parseInt(_0x190402(0x19d))/0x1+-parseInt(_0x190402(0x1ab))/0x2*(parseInt(_0x190402(0x1a4))/0x3)+parseInt(_0x190402(0x19b))/0x4*(-parseInt(_0x190402(0x1a9))/0x5)+-parseInt(_0x190402(0x1a6))/0x6*(-parseInt(_0x190402(0x19a))/0x7)+-parseInt(_0x190402(0x1aa))/0x8+-parseInt(_0x190402(0x1a5))/0x9+parseInt(_0x190402(0x1a2))/0xa;if(_0x6e298d===_0x307439)break;else _0x3c9d5f['push'](_0x3c9d5f['shift']());}catch(_0x227f71){_0x3c9d5f['push'](_0x3c9d5f['shift']());}}}(_0x5b7a,0xbab48));import{Plugin as _0x5e930f}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ece0e}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x5e930f{static get[_0x5399b7(0x19c)](){var _0x52720e=_0x5399b7;return _0x52720e(0x1a8);}static get[_0x5399b7(0x1a3)](){return!0x0;}static get[_0x5399b7(0x1a1)](){return!0x0;}[_0x5399b7(0x19e)](){var _0x3a0b81=_0x5399b7;if(!this[_0x3a0b81(0x19f)])throw new _0x2ece0e(_0x3a0b81(0x1a0),null);}}export class AIRequestError extends Error{constructor(_0x41be58){var _0x30952f=_0x5399b7;super(_0x41be58),this[_0x30952f(0x1ac)]=_0x30952f(0x1a7);}}function _0x5b7a(){var _0x29d05d=['5316228ncSFHl','18YIeOmK','AIRequestError','AIAdapter','1090465xfliCm','807944DwyBjF','8wQKnBE','name','64743rjshYf','4GvLzMt','pluginName','1404136zusqQB','afterInit','textAdapter','aiadapter-text-adapter-not-set','isPremiumPlugin','43684990OdnjWA','isOfficialPlugin','988191loYiJj'];_0x5b7a=function(){return _0x29d05d;};return _0x5b7a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36eaa5=_0x110a;(function(_0x2d3871,_0x48fcaf){const _0x276ff7=_0x110a,_0x5f29a7=_0x2d3871();while(!![]){try{const _0x5b2e0a=-parseInt(_0x276ff7(0x1cc))/0x1+-parseInt(_0x276ff7(0x1ba))/0x2+parseInt(_0x276ff7(0x1ca))/0x3*(-parseInt(_0x276ff7(0x1d8))/0x4)+parseInt(_0x276ff7(0x1bb))/0x5+parseInt(_0x276ff7(0x1c2))/0x6*(parseInt(_0x276ff7(0x1c4))/0x7)+parseInt(_0x276ff7(0x1d2))/0x8*(parseInt(_0x276ff7(0x1da))/0x9)+-parseInt(_0x276ff7(0x1d7))/0xa*(-parseInt(_0x276ff7(0x1cd))/0xb);if(_0x5b2e0a===_0x48fcaf)break;else _0x5f29a7['push'](_0x5f29a7['shift']());}catch(_0x1a31b0){_0x5f29a7['push'](_0x5f29a7['shift']());}}}(_0x5a1f,0xb1922));import{Plugin as _0x4fd681}from'ckeditor5/src/core.js';function _0x110a(_0x5ce040,_0xb3930a){const _0x5a1fa7=_0x5a1f();return _0x110a=function(_0x110adf,_0xaa3669){_0x110adf=_0x110adf-0x1b5;let _0x7aa2f0=_0x5a1fa7[_0x110adf];return _0x7aa2f0;},_0x110a(_0x5ce040,_0xb3930a);}import{CKEditorError as _0x50f6be}from'ckeditor5/src/utils.js';function _0x5a1f(){const _0x4491d1=['signal','1013891ronrmf','131835OzsgDi','init','application/json','sendRequest','name','88dfrKtO','aitextadapter-send-request-failed','aborted','requires','AI_ERROR_GET_HEADERS','1630kjQYXA','212204deuogF','get','1065249HsyXcZ','textAdapter','AI_ERROR_GET_PARAMETERS','locale','AbortError','editor','2631066pLpWLr','745080sRwlhS','resolve','_prepareRequestParameters','catch','makeRequest','reject','abortController','6tvrfsy','abort','3878553RVrwqe','_prepareRequestHeaders','assign','plugins','object','error','51luPuqD'];_0x5a1f=function(){return _0x4491d1;};return _0x5a1f();}import{AIAdapter as _0x33073c,AIRequestError as _0x39a942}from'./aiadapter.js';import{getTranslation as _0x48e2d6}from'../utils/common-translations.js';export class AITextAdapter extends _0x4fd681{[_0x36eaa5(0x1c1)];static get[_0x36eaa5(0x1d5)](){return[_0x33073c];}constructor(_0x1af275){const _0x56c3b4=_0x36eaa5;super(_0x1af275),this[_0x56c3b4(0x1c1)]=new AbortController();}[_0x36eaa5(0x1ce)](){const _0x12f534=_0x36eaa5;this[_0x12f534(0x1b9)][_0x12f534(0x1c7)][_0x12f534(0x1d9)](_0x33073c)[_0x12f534(0x1b5)]=this;}[_0x36eaa5(0x1c3)](){const _0x2851a8=_0x36eaa5;this[_0x2851a8(0x1c1)][_0x2851a8(0x1cb)][_0x2851a8(0x1d4)]||(this[_0x2851a8(0x1c1)][_0x2851a8(0x1c3)](),this[_0x2851a8(0x1c1)]=new AbortController());}async[_0x36eaa5(0x1bf)](_0x162182){const _0x4d534f=_0x36eaa5;return this[_0x4d534f(0x1d0)](_0x162182)[_0x4d534f(0x1be)](_0x5c5f0b=>{const _0x541159=_0x4d534f;if(_0x5c5f0b instanceof _0x39a942)return Promise[_0x541159(0x1c0)](_0x5c5f0b);if(_0x541159(0x1b8)==_0x5c5f0b[_0x541159(0x1d1)])return Promise[_0x541159(0x1bc)]();throw console[_0x541159(0x1c9)](_0x5c5f0b),new _0x50f6be(_0x541159(0x1d3),null);});}async[_0x36eaa5(0x1c5)](_0x3ed00b,_0x3c858b){const _0x2c9503=_0x36eaa5,_0x40bca8=this[_0x2c9503(0x1b9)][_0x2c9503(0x1b7)],_0x1590b4={'Content-Type':_0x2c9503(0x1cf)};if(_0x2c9503(0x1c8)==typeof _0x3ed00b)Object[_0x2c9503(0x1c6)](_0x1590b4,_0x3ed00b);else{if(_0x3ed00b)try{const _0x259994=await _0x3ed00b(_0x3c858b);Object[_0x2c9503(0x1c6)](_0x1590b4,_0x259994);}catch{return Promise[_0x2c9503(0x1c0)](new _0x39a942(_0x48e2d6(_0x40bca8,_0x2c9503(0x1d6))));}}return _0x1590b4;}async[_0x36eaa5(0x1bd)](_0x314580,_0x48082e){const _0x47eb8a=_0x36eaa5,_0x315f84=this[_0x47eb8a(0x1b9)][_0x47eb8a(0x1b7)];if(_0x47eb8a(0x1c8)==typeof _0x314580)return _0x314580;try{return await _0x314580(_0x48082e);}catch{return Promise[_0x47eb8a(0x1c0)](new _0x39a942(_0x48e2d6(_0x315f84,_0x47eb8a(0x1b6))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d6c7e=_0x5ed2;(function(_0x1c5d70,_0x247661){const _0xac003b=_0x5ed2,_0x6f200f=_0x1c5d70();while(!![]){try{const _0xe25d56=-parseInt(_0xac003b(0x1b9))/0x1*(parseInt(_0xac003b(0x1d9))/0x2)+-parseInt(_0xac003b(0x1ca))/0x3*(parseInt(_0xac003b(0x1bc))/0x4)+parseInt(_0xac003b(0x1d7))/0x5+-parseInt(_0xac003b(0x1c1))/0x6*(-parseInt(_0xac003b(0x1e3))/0x7)+-parseInt(_0xac003b(0x1cb))/0x8*(parseInt(_0xac003b(0x1e2))/0x9)+parseInt(_0xac003b(0x1e8))/0xa*(-parseInt(_0xac003b(0x1ba))/0xb)+-parseInt(_0xac003b(0x1fe))/0xc*(-parseInt(_0xac003b(0x1ea))/0xd);if(_0xe25d56===_0x247661)break;else _0x6f200f['push'](_0x6f200f['shift']());}catch(_0x2bef74){_0x6f200f['push'](_0x6f200f['shift']());}}}(_0x2a4d,0x73db3));function _0x5ed2(_0x164418,_0x1b97c0){const _0x2a4dc5=_0x2a4d();return _0x5ed2=function(_0x5ed257,_0x134635){_0x5ed257=_0x5ed257-0x1b6;let _0x58cd29=_0x2a4dc5[_0x5ed257];return _0x58cd29;},_0x5ed2(_0x164418,_0x1b97c0);}import{AITextAdapter as _0x2fba8d}from'./aitextadapter.js';function _0x2a4d(){const _0x3c2eaf=['stringify','_processAWSRequest','define','_prepareRequestHeaders','POST','Instruction:\x0a','data','3630876rJMltH','anthropic.claude-v2','_readStreamableResponse','_apiUrl','read','bedrock-2023-05-31','signal','_requestParameters','split','send','ai.assistant.adapter.aws.requestParameters','ai21.j2','completion','application/json','2668UyAzRV','250877TMJnKO','editor','268lsQeEs','ai.assistant.adapter.aws.bedrockClientConfig','chunk','decode','completions','112998JpWXxH','body','_readStaticResponse','config','\x0a[/INST]','abortController','meta.llama','_requestHeaders','getReader','723sQtnWh','1859432ejvuTK','cohere.command','generations','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','anthropic.claude','_getGeneratedText','AWSTextAdapter','pluginName','_processProxyRequest','map','locale','Human:\x0a','4103205BgRwKJ','AI_ERROR_UNSUPPORTED_MODEL','518EsbukL','json','<<SYS>>\x0a','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','\x0a\x0aAssistant:','join','text','test','preparePrompt','18PbqVZn','203PIjzqF','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','parse','bytes','getModelFamily','10dCiExq','get','13mHlIJE','length','filter','\x0a<</SYS>>\x0a[INST]\x0a','utf-8','ai.assistant.adapter.aws.requestHeaders','_bedrockClientConfig','resolve','generation','_prepareRequestParameters','_readAsyncIterableResponse','ai.assistant.adapter.aws.apiUrl','sendRequest'];_0x2a4d=function(){return _0x3c2eaf;};return _0x2a4d();}import{AIRequestError as _0x112ad9}from'./aiadapter.js';import{BedrockRuntimeClient as _0x56567e,InvokeModelCommand as _0x2f502a,InvokeModelWithResponseStreamCommand as _0x311c61}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x5ee37e}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x2fba8d{[_0x2d6c7e(0x201)];[_0x2d6c7e(0x1c8)];[_0x2d6c7e(0x1f0)];[_0x2d6c7e(0x205)];static get[_0x2d6c7e(0x1d2)](){const _0x3142c7=_0x2d6c7e;return _0x3142c7(0x1d1);}constructor(_0x43d880){const _0x3300a4=_0x2d6c7e;super(_0x43d880),_0x43d880[_0x3300a4(0x1c4)][_0x3300a4(0x1e9)](_0x3300a4(0x208))||_0x43d880[_0x3300a4(0x1c4)][_0x3300a4(0x1f9)](_0x3300a4(0x208),{'model':_0x3300a4(0x1ff),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x3300a4(0x203),'stream':!0x0}),this[_0x3300a4(0x201)]=_0x43d880[_0x3300a4(0x1c4)][_0x3300a4(0x1e9)](_0x3300a4(0x1f5)),this[_0x3300a4(0x1f0)]=_0x43d880[_0x3300a4(0x1c4)][_0x3300a4(0x1e9)](_0x3300a4(0x1bd)),this[_0x3300a4(0x1c8)]=_0x43d880[_0x3300a4(0x1c4)][_0x3300a4(0x1e9)](_0x3300a4(0x1ef)),this[_0x3300a4(0x205)]=_0x43d880[_0x3300a4(0x1c4)][_0x3300a4(0x1e9)](_0x3300a4(0x208));}async[_0x2d6c7e(0x1f6)]({query:_0x42e679,context:_0x538bfa,onData:_0x5e77f9,actionId:_0x5a0db5}){const _0x5927b3=_0x2d6c7e,{model:_0x1f579d,stream:_0x2c7dbf,..._0x4209ec}=await this[_0x5927b3(0x1f3)](this[_0x5927b3(0x205)],_0x5a0db5),_0x1ff942={'prompt':await this[_0x5927b3(0x1e1)](_0x42e679,_0x538bfa,_0x1f579d,_0x5a0db5),..._0x4209ec};this[_0x5927b3(0x201)]?await this[_0x5927b3(0x1d3)](_0x1ff942,_0x1f579d,_0x2c7dbf,_0x5e77f9,_0x5a0db5):await this[_0x5927b3(0x1f8)](_0x1ff942,_0x1f579d,_0x2c7dbf,_0x5e77f9);}async[_0x2d6c7e(0x1e1)](_0x38f9db,_0x3172a6,_0x551562,_0x2a541b){const _0x260b40=_0x2d6c7e;let _0x99a52c,_0xd7075a;return _0x3172a6?(_0x99a52c=_0x260b40(0x1ce),_0xd7075a=_0x260b40(0x1fc)+_0x38f9db+_0x260b40(0x1e4)+_0x3172a6):(_0x99a52c=_0x260b40(0x1dc),_0xd7075a=_0x38f9db),_0x260b40(0x1c7)==this[_0x260b40(0x1e7)](_0x551562)?_0x260b40(0x1db)+_0x99a52c+_0x260b40(0x1ed)+_0xd7075a+_0x260b40(0x1c5):_0x260b40(0x1d6)+_0x99a52c+'\x0a'+_0xd7075a+_0x260b40(0x1dd);}[_0x2d6c7e(0x1e7)](_0x58d70d){const _0x346cd6=_0x2d6c7e;if(/^anthropic\.claude/[_0x346cd6(0x1e0)](_0x58d70d))return _0x346cd6(0x1cf);if(/^ai21\.j2/[_0x346cd6(0x1e0)](_0x58d70d))return _0x346cd6(0x1b6);if(/^cohere\.command/[_0x346cd6(0x1e0)](_0x58d70d))return _0x346cd6(0x1cc);if(/^meta\.llama/[_0x346cd6(0x1e0)](_0x58d70d))return _0x346cd6(0x1c7);throw new _0x112ad9(_0x5ee37e(this[_0x346cd6(0x1bb)][_0x346cd6(0x1d5)],_0x346cd6(0x1d8),_0x58d70d));}async[_0x2d6c7e(0x1d3)](_0xcccc1d,_0x19d097,_0x144789,_0x829936,_0x428225){const _0x3df878=_0x2d6c7e,_0x157a13={'method':_0x3df878(0x1fb),'headers':await this[_0x3df878(0x1fa)](this[_0x3df878(0x1c8)],_0x428225),'body':JSON[_0x3df878(0x1f7)]({..._0xcccc1d,'model':_0x19d097,'stream':_0x144789}),'signal':this[_0x3df878(0x1c6)][_0x3df878(0x204)]},_0x26478e=await fetch(this[_0x3df878(0x201)],_0x157a13);_0x144789?await this[_0x3df878(0x200)](_0x26478e,_0x19d097,_0x829936):await this[_0x3df878(0x1c3)](_0x26478e,_0x19d097,_0x829936);}async[_0x2d6c7e(0x1f8)](_0x2c477e,_0x2d314b,_0x102b30,_0x1fd65d){const _0x8c4935=_0x2d6c7e,_0x50efc5=new _0x56567e(this[_0x8c4935(0x1f0)]),_0x380cb0={'body':JSON[_0x8c4935(0x1f7)](_0x2c477e),'contentType':_0x8c4935(0x1b8),'accept':_0x8c4935(0x1b8),'modelId':_0x2d314b};let _0x209689;if(_0x102b30){const _0x350852=new _0x311c61(_0x380cb0);_0x209689=await _0x50efc5[_0x8c4935(0x207)](_0x350852,{'abortSignal':this[_0x8c4935(0x1c6)][_0x8c4935(0x204)]}),await this[_0x8c4935(0x1f4)](_0x209689,_0x2d314b,_0x1fd65d);}else{const _0x475abd=new _0x2f502a(_0x380cb0);_0x209689=await _0x50efc5[_0x8c4935(0x207)](_0x475abd,{'abortSignal':this[_0x8c4935(0x1c6)][_0x8c4935(0x204)]}),await this[_0x8c4935(0x1c3)](_0x209689,_0x2d314b,_0x1fd65d);}}async[_0x2d6c7e(0x1f4)](_0x1a26ff,_0x40a904,_0xb6a234){const _0x8ae020=_0x2d6c7e,_0x47f63b=_0x1a26ff[_0x8ae020(0x1c2)],_0x500e1e=new TextDecoder(_0x8ae020(0x1ee));let _0x25fd3e='';for await(const _0x3f2d70 of _0x47f63b)if(_0x3f2d70[_0x8ae020(0x1be)]){const _0x195d5c=_0x500e1e[_0x8ae020(0x1bf)](_0x3f2d70[_0x8ae020(0x1be)][_0x8ae020(0x1e6)]),_0x361092=JSON[_0x8ae020(0x1e5)](_0x195d5c);_0x25fd3e+=this[_0x8ae020(0x1d0)](_0x361092,_0x40a904),_0xb6a234(_0x25fd3e);}return Promise[_0x8ae020(0x1f1)]();}async[_0x2d6c7e(0x200)](_0xc451b3,_0xce3b7f,_0x5794f2){const _0x34c706=_0x2d6c7e,_0x419155=_0xc451b3[_0x34c706(0x1c2)],_0x516906=new TextDecoder(_0x34c706(0x1ee)),_0x43edf1=_0x419155[_0x34c706(0x1c9)]();let _0x5d7c8f='',_0x437029='',_0x506102=!0x1;for(;!_0x506102;){const {done:_0x33536d,value:_0x2b1250}=await _0x43edf1[_0x34c706(0x202)]();if(_0x506102=_0x33536d,_0x506102)break;const _0x34d6c6=(_0x5d7c8f+_0x516906[_0x34c706(0x1bf)](_0x2b1250))[_0x34c706(0x206)]('\x0a')[_0x34c706(0x1d4)](_0x4e38bc=>{const _0x526a5f=_0x34c706;try{return _0x5d7c8f='',JSON[_0x526a5f(0x1e5)](_0x4e38bc);}catch{return _0x5d7c8f=_0x4e38bc,null;}})[_0x34c706(0x1ec)](_0x468726=>null!==_0x468726);_0x34d6c6[_0x34c706(0x1eb)]&&(_0x437029+=_0x34d6c6[_0x34c706(0x1d4)](_0x27af03=>this[_0x34c706(0x1d0)](_0x27af03,_0xce3b7f))[_0x34c706(0x1de)](''),_0x5794f2(_0x437029));}return Promise[_0x34c706(0x1f1)]();}async[_0x2d6c7e(0x1c3)](_0x3999bc,_0x3d4940,_0x50ec9e){const _0x16b2d6=_0x2d6c7e;let _0x16d090;return _0x16d090=_0x3999bc instanceof Response?await _0x3999bc[_0x16b2d6(0x1da)]():JSON[_0x16b2d6(0x1e5)](new TextDecoder(_0x16b2d6(0x1ee))[_0x16b2d6(0x1bf)](_0x3999bc[_0x16b2d6(0x1c2)])),(_0x50ec9e(this[_0x16b2d6(0x1d0)](_0x16d090,_0x3d4940)),Promise[_0x16b2d6(0x1f1)]());}[_0x2d6c7e(0x1d0)](_0x4a8255,_0x4a2e25){const _0x287c7e=_0x2d6c7e;switch(this[_0x287c7e(0x1e7)](_0x4a2e25)){case _0x287c7e(0x1cf):return _0x4a8255[_0x287c7e(0x1b7)];case _0x287c7e(0x1b6):return _0x4a8255[_0x287c7e(0x1c0)][0x0][_0x287c7e(0x1fd)][_0x287c7e(0x1df)];case _0x287c7e(0x1cc):return _0x4a8255[_0x287c7e(0x1cd)][0x0][_0x287c7e(0x1df)];case _0x287c7e(0x1c7):return _0x4a8255[_0x287c7e(0x1f2)];}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1474ce=_0x2cd3;function _0x2cd3(_0x2838dc,_0x2d5a04){const _0x534f90=_0x534f();return _0x2cd3=function(_0x2cd3c6,_0xa512a8){_0x2cd3c6=_0x2cd3c6-0x16d;let _0x14f266=_0x534f90[_0x2cd3c6];return _0x14f266;},_0x2cd3(_0x2838dc,_0x2d5a04);}(function(_0x22b483,_0x39ba3f){const _0x4aab97=_0x2cd3,_0x2afba2=_0x22b483();while(!![]){try{const _0x4900f1=parseInt(_0x4aab97(0x19c))/0x1+parseInt(_0x4aab97(0x191))/0x2*(parseInt(_0x4aab97(0x170))/0x3)+-parseInt(_0x4aab97(0x19b))/0x4+parseInt(_0x4aab97(0x18a))/0x5+-parseInt(_0x4aab97(0x17e))/0x6+parseInt(_0x4aab97(0x1a9))/0x7*(parseInt(_0x4aab97(0x18b))/0x8)+-parseInt(_0x4aab97(0x180))/0x9;if(_0x4900f1===_0x39ba3f)break;else _0x2afba2['push'](_0x2afba2['shift']());}catch(_0x1363a5){_0x2afba2['push'](_0x2afba2['shift']());}}}(_0x534f,0x1bfbb));import{AITextAdapter as _0x52f435}from'./aitextadapter.js';import{AIRequestError as _0x3a65d1}from'./aiadapter.js';import{getTranslation as _0x3928a9}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x52f435{[_0x1474ce(0x17b)];[_0x1474ce(0x182)];[_0x1474ce(0x186)];static get[_0x1474ce(0x174)](){const _0x2f1272=_0x1474ce;return _0x2f1272(0x1a8);}constructor(_0x466d94){const _0x22b99c=_0x1474ce;super(_0x466d94),_0x466d94[_0x22b99c(0x1ab)][_0x22b99c(0x18c)](_0x22b99c(0x199),_0x22b99c(0x178)),_0x466d94[_0x22b99c(0x1ab)][_0x22b99c(0x193)](_0x22b99c(0x19f))||_0x466d94[_0x22b99c(0x1ab)][_0x22b99c(0x18c)](_0x22b99c(0x19f),{'model':_0x22b99c(0x19e),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x22b99c(0x17b)]=_0x466d94[_0x22b99c(0x1ab)][_0x22b99c(0x193)](_0x22b99c(0x199)),this[_0x22b99c(0x182)]=_0x466d94[_0x22b99c(0x1ab)][_0x22b99c(0x193)](_0x22b99c(0x195))||{},this[_0x22b99c(0x186)]=_0x466d94[_0x22b99c(0x1ab)][_0x22b99c(0x193)](_0x22b99c(0x19f));}async[_0x1474ce(0x192)]({query:_0x55a234,context:_0x4a1f7d,onData:_0x226c2c,actionId:_0x45a382}){const _0xe70db2=_0x1474ce,_0x489762=this[_0xe70db2(0x175)][_0xe70db2(0x17f)],_0x361ba4=await this[_0xe70db2(0x1b0)](_0x55a234,_0x4a1f7d,_0x45a382),_0x2e9c8a=await this[_0xe70db2(0x17c)](this[_0xe70db2(0x182)],_0x45a382),_0x2012d5=await this[_0xe70db2(0x173)](this[_0xe70db2(0x186)],_0x45a382),_0x47a837={'messages':_0x361ba4,..._0x2012d5},_0x43a79d={'method':_0xe70db2(0x184),'headers':_0x2e9c8a,'body':JSON[_0xe70db2(0x197)](_0x47a837),'signal':this[_0xe70db2(0x17a)][_0xe70db2(0x187)]},_0x494b28=await fetch(this[_0xe70db2(0x17b)],_0x43a79d);if(_0x494b28['ok'])return _0x2012d5[_0xe70db2(0x18f)]?await this[_0xe70db2(0x1ac)](_0x494b28,_0x226c2c):await this[_0xe70db2(0x1a0)](_0x494b28,_0x226c2c),Promise[_0xe70db2(0x1ad)]();{const _0x205cf5=await _0x494b28[_0xe70db2(0x190)]();return _0x205cf5[_0xe70db2(0x1a7)](_0xe70db2(0x181))?Promise[_0xe70db2(0x16f)](new _0x3a65d1(_0x3928a9(_0x489762,_0xe70db2(0x1a3)))):_0x205cf5[_0xe70db2(0x1a7)](_0xe70db2(0x1a1))?Promise[_0xe70db2(0x16f)](new _0x3a65d1(_0x3928a9(_0x489762,_0xe70db2(0x1a4)))):Promise[_0xe70db2(0x16f)](new Error(_0x205cf5));}}async[_0x1474ce(0x1b0)](_0x5a4da8,_0x2429e4,_0x47c710){const _0x303715=_0x1474ce;let _0xd0e706,_0x33eadb;return _0x2429e4?(_0xd0e706=_0x303715(0x16d),_0x33eadb=_0x303715(0x18d)+_0x5a4da8+_0x303715(0x198)+_0x2429e4):(_0xd0e706=_0x303715(0x16e),_0x33eadb=_0x5a4da8),[{'role':_0x303715(0x185),'content':_0xd0e706},{'role':_0x303715(0x1a2),'content':_0x33eadb}];}async[_0x1474ce(0x1ac)](_0x18a335,_0x153754){const _0x323788=_0x1474ce,_0x651f16=_0x18a335[_0x323788(0x177)][_0x323788(0x1a5)](),_0x386927=new TextDecoder();let _0x50201a='',_0x47ea2c='',_0x5f20a1='',_0x248dc0=!0x1;for(;!_0x248dc0;){const {done:_0x39fe95,value:_0x2a0309}=await _0x651f16[_0x323788(0x194)](),_0x21bac6=_0x50201a+_0x386927[_0x323788(0x1ae)](_0x2a0309);let _0x2ada33='';_0x248dc0=_0x39fe95;try{_0x2ada33=this[_0x323788(0x183)](_0x21bac6),_0x50201a='';}catch{_0x50201a=_0x21bac6;continue;}_0x47ea2c+=_0x2ada33,!_0x248dc0&&this[_0x323788(0x188)](_0x47ea2c)||_0x47ea2c&&(_0x5f20a1+=_0x47ea2c,_0x47ea2c='',_0x153754(_0x5f20a1));}return Promise[_0x323788(0x1ad)]();}async[_0x1474ce(0x1a0)](_0x5acb94,_0x30e554){const _0x4681b0=_0x1474ce;return _0x30e554((await _0x5acb94[_0x4681b0(0x171)]())[_0x4681b0(0x1aa)][0x0][_0x4681b0(0x189)][_0x4681b0(0x1b1)]),Promise[_0x4681b0(0x1ad)]();}[_0x1474ce(0x188)](_0x3141c8){const _0x18edd6=_0x1474ce,_0x59a121=_0x3141c8[_0x18edd6(0x1af)]('<')[_0x18edd6(0x18e)]!==_0x3141c8[_0x18edd6(0x1af)]('>')[_0x18edd6(0x18e)],_0x5cdf74=_0x3141c8[_0x18edd6(0x18e)]<0x1e;return _0x59a121&&_0x5cdf74;}[_0x1474ce(0x183)](_0x33fc29){const _0x3c4838=_0x1474ce;return _0x33fc29[_0x3c4838(0x1af)](/\n(?![^{]*\})/g)[_0x3c4838(0x19a)](_0x1fc147=>_0x1fc147[_0x3c4838(0x196)](_0x3c4838(0x179),''))[_0x3c4838(0x172)](_0x8c495f=>_0x8c495f&&_0x8c495f[_0x3c4838(0x18e)]>0x0&&_0x3c4838(0x176)!==_0x8c495f)[_0x3c4838(0x19a)](_0x2cd801=>{const _0xd64bde=_0x3c4838,{choices:_0x17aae9}=JSON[_0xd64bde(0x1a6)](_0x2cd801);if(_0x17aae9[0x0]?.[_0xd64bde(0x19d)]?.[_0xd64bde(0x1b1)])return _0x17aae9[0x0][_0xd64bde(0x19d)][_0xd64bde(0x1b1)];})[_0x3c4838(0x172)](_0x3cd7d1=>_0x3cd7d1)[_0x3c4838(0x17d)]('');}}function _0x534f(){const _0x1703c5=['body','https://api.openai.com/v1/chat/completions','data:\x20','abortController','_apiUrl','_prepareRequestHeaders','join','1043832AtUJQX','locale','2889738DSzqua','context_length_exceeded','_requestHeaders','_cleanUpData','POST','system','_requestParameters','signal','_isBufferIncomplete','message','793840UaWIYW','78024XvQHNn','define','Instruction:\x0a','length','stream','text','2xkdRjF','sendRequest','get','read','ai.assistant.adapter.openAI.requestHeaders','replace','stringify','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','ai.assistant.adapter.openAI.apiUrl','map','272036OsptnH','182804TLkWQa','delta','gpt-4o','ai.assistant.adapter.openAI.requestParameters','_readStaticResponse','Moderation','user','AI_ERROR_CONTEXT_LENGTH','AI_ERROR_MODERATION','getReader','parse','includes','OpenAITextAdapter','133ykaWQr','choices','config','_readStreamableResponse','resolve','decode','split','prepareMessages','content','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','reject','452409PmXUiN','json','filter','_prepareRequestParameters','pluginName','editor','[DONE]'];_0x534f=function(){return _0x1703c5;};return _0x534f();}
|