@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.2-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 +0 -4
- package/build/ai.js +2 -1
- 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 +1 -0
- package/package.json +15 -16
- 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.d.ts +15 -156
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.d.ts +2 -0
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.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/aichatfeedcustomelementview.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/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.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/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.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 +1 -1
- 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.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.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/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/build/966.ai.js +0 -5
- package/build/translations/en.js +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x447349=_0x114d;function _0x4a02(){var _0x2ffb41=['79660VZZTMF','description','137646NNUkGu','962480unJJBh','isParameterized','commandId','args','6TgnaYT','106606HvcwLr','useArgs','apiId','4sJQIuS','options','title','126321fpnEOY','828621qUywSv','1500947CIErWn'];_0x4a02=function(){return _0x2ffb41;};return _0x4a02();}(function(_0x17bdab,_0x5b154d){var _0x236e90=_0x114d,_0x5f4d49=_0x17bdab();while(!![]){try{var _0x3e05ca=parseInt(_0x236e90(0x1e2))/0x1+parseInt(_0x236e90(0x1e1))/0x2*(-parseInt(_0x236e90(0x1e8))/0x3)+parseInt(_0x236e90(0x1e5))/0x4*(-parseInt(_0x236e90(0x1da))/0x5)+-parseInt(_0x236e90(0x1dc))/0x6+parseInt(_0x236e90(0x1ea))/0x7+-parseInt(_0x236e90(0x1dd))/0x8+parseInt(_0x236e90(0x1e9))/0x9;if(_0x3e05ca===_0x5b154d)break;else _0x5f4d49['push'](_0x5f4d49['shift']());}catch(_0x190c5b){_0x5f4d49['push'](_0x5f4d49['shift']());}}}(_0x4a02,0x1f268));function _0x114d(_0x375ca9,_0x2c80f1){var _0x4a0293=_0x4a02();return _0x114d=function(_0x114d52,_0xdd57e8){_0x114d52=_0x114d52-0x1da;var _0x1b5a48=_0x4a0293[_0x114d52];return _0x1b5a48;},_0x114d(_0x375ca9,_0x2c80f1);}export class AIReviewCheck{['id'];[_0x447349(0x1df)];[_0x447349(0x1e7)];[_0x447349(0x1db)];[_0x447349(0x1de)];[_0x447349(0x1e3)];[_0x447349(0x1e6)];[_0x447349(0x1e0)];get[_0x447349(0x1e4)](){var _0x6cb008=_0x447349;return this[_0x6cb008(0x1df)];}constructor(_0x467bc2){var _0x11ac1d=_0x447349;this['id']=_0x467bc2['id'],this[_0x11ac1d(0x1df)]=_0x467bc2[_0x11ac1d(0x1df)],this[_0x11ac1d(0x1e7)]=_0x467bc2[_0x11ac1d(0x1e7)],this[_0x11ac1d(0x1db)]=_0x467bc2[_0x11ac1d(0x1db)],this[_0x11ac1d(0x1de)]=_0x467bc2[_0x11ac1d(0x1de)],this[_0x11ac1d(0x1e3)]=_0x467bc2[_0x11ac1d(0x1e3)],this[_0x11ac1d(0x1e6)]=_0x467bc2[_0x11ac1d(0x1e6)],this[_0x11ac1d(0x1e0)]=_0x467bc2[_0x11ac1d(0x1e0)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x54271c=_0x53f0;function _0x28ca(){var _0x4d667e=['map','2446557ZHoZtS','4oBlwyr','setupChecks','find','1900248QFbWvR','_checks','checks','333177CTZfUS','24bWaMgD','911990guLPNl','804185ldblQQ','getCheckById','removeCheckById','4424400CVVQjf','972250TAXPDG','filter','7Hsgijm'];_0x28ca=function(){return _0x4d667e;};return _0x28ca();}function _0x53f0(_0xc46d13,_0x2c3e0a){var _0x28cabb=_0x28ca();return _0x53f0=function(_0x53f016,_0x42a702){_0x53f016=_0x53f016-0x128;var _0x6e1cb3=_0x28cabb[_0x53f016];return _0x6e1cb3;},_0x53f0(_0xc46d13,_0x2c3e0a);}(function(_0x12a859,_0x3e6518){var _0x23fa9c=_0x53f0,_0x3fbd2a=_0x12a859();while(!![]){try{var _0x46e6f6=parseInt(_0x23fa9c(0x12e))/0x1+-parseInt(_0x23fa9c(0x135))/0x2+parseInt(_0x23fa9c(0x139))/0x3*(parseInt(_0x23fa9c(0x128))/0x4)+parseInt(_0x23fa9c(0x131))/0x5*(parseInt(_0x23fa9c(0x12f))/0x6)+parseInt(_0x23fa9c(0x137))/0x7*(-parseInt(_0x23fa9c(0x12b))/0x8)+-parseInt(_0x23fa9c(0x134))/0x9+-parseInt(_0x23fa9c(0x130))/0xa;if(_0x46e6f6===_0x3e6518)break;else _0x3fbd2a['push'](_0x3fbd2a['shift']());}catch(_0x4d09fb){_0x3fbd2a['push'](_0x3fbd2a['shift']());}}}(_0x28ca,0x768d5));import{ObservableMixin as _0x34b304}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0xea081d}from'./aireviewcheck.js';export class AIReviewCheckList extends _0x34b304(){[_0x54271c(0x12c)]=[];[_0x54271c(0x129)](_0x124176){var _0x284b32=_0x54271c;this[_0x284b32(0x12c)]=_0x124176[_0x284b32(0x138)](_0x28f526=>new _0xea081d(_0x28f526));}get[_0x54271c(0x12d)](){var _0x343139=_0x54271c;return this[_0x343139(0x12c)];}[_0x54271c(0x132)](_0x351d2d){var _0x2d1274=_0x54271c;return this[_0x2d1274(0x12d)][_0x2d1274(0x12a)](_0x193450=>_0x193450['id']===_0x351d2d);}[_0x54271c(0x133)](_0x4fcc7a){var _0x40d064=_0x54271c;this[_0x40d064(0x12c)]=this[_0x40d064(0x12c)][_0x40d064(0x136)](_0x127ea5=>_0x127ea5['id']!==_0x4fcc7a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5cf0f5=_0x4594;function _0x2f7b(){var _0x6c3e6d=['1830635CUFBPP','68790UwAyMA','1658692dPgAym','12PJJOtD','8616736lcbRwr','contentNew','documentVersion','445340qWCtwl','contentInitial','3923490SavXvP','927jADSZI','3184785hfvQZm','3CtGyCd'];_0x2f7b=function(){return _0x6c3e6d;};return _0x2f7b();}function _0x4594(_0x2736f9,_0x332e0c){var _0x2f7b9b=_0x2f7b();return _0x4594=function(_0x45945a,_0x231f91){_0x45945a=_0x45945a-0x179;var _0x1d109c=_0x2f7b9b[_0x45945a];return _0x1d109c;},_0x4594(_0x2736f9,_0x332e0c);}(function(_0x287350,_0x3b0de8){var _0x467b76=_0x4594,_0x490d94=_0x287350();while(!![]){try{var _0x2e7340=-parseInt(_0x467b76(0x17a))/0x1*(parseInt(_0x467b76(0x182))/0x2)+parseInt(_0x467b76(0x179))/0x3+-parseInt(_0x467b76(0x17e))/0x4*(-parseInt(_0x467b76(0x17b))/0x5)+-parseInt(_0x467b76(0x184))/0x6+parseInt(_0x467b76(0x17d))/0x7+-parseInt(_0x467b76(0x17f))/0x8+parseInt(_0x467b76(0x185))/0x9*(parseInt(_0x467b76(0x17c))/0xa);if(_0x2e7340===_0x3b0de8)break;else _0x490d94['push'](_0x490d94['shift']());}catch(_0x52b54d){_0x490d94['push'](_0x490d94['shift']());}}}(_0x2f7b,0xac794));import{EmitterMixin as _0xcf6e7}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0xcf6e7(){['id'];[_0x5cf0f5(0x180)];[_0x5cf0f5(0x183)];[_0x5cf0f5(0x181)];constructor({id:_0x36478a,contentNew:_0x4fa56c,contentInitial:_0x3b811e,documentVersion:_0x4268c5}){var _0x35d092=_0x5cf0f5;super(),this['id']=_0x36478a,this[_0x35d092(0x180)]=_0x4fa56c,this[_0x35d092(0x183)]=_0x3b811e,this[_0x35d092(0x181)]=_0x4268c5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5ab0(_0x5bb18e,_0x58c839){var _0x51bbca=_0x51bb();return _0x5ab0=function(_0x5ab094,_0x5b42f2){_0x5ab094=_0x5ab094-0x186;var _0x173ee5=_0x51bbca[_0x5ab094];return _0x173ee5;},_0x5ab0(_0x5bb18e,_0x58c839);}var _0x1f8b57=_0x5ab0;(function(_0xd855a5,_0x3bc5c1){var _0x1970ef=_0x5ab0,_0x502e4d=_0xd855a5();while(!![]){try{var _0x3aa866=parseInt(_0x1970ef(0x188))/0x1+parseInt(_0x1970ef(0x186))/0x2+parseInt(_0x1970ef(0x199))/0x3+parseInt(_0x1970ef(0x190))/0x4*(-parseInt(_0x1970ef(0x196))/0x5)+parseInt(_0x1970ef(0x198))/0x6*(parseInt(_0x1970ef(0x197))/0x7)+parseInt(_0x1970ef(0x19c))/0x8*(parseInt(_0x1970ef(0x19b))/0x9)+parseInt(_0x1970ef(0x18e))/0xa*(-parseInt(_0x1970ef(0x189))/0xb);if(_0x3aa866===_0x3bc5c1)break;else _0x502e4d['push'](_0x502e4d['shift']());}catch(_0x26f6b1){_0x502e4d['push'](_0x502e4d['shift']());}}}(_0x51bb,0xc89b0));function _0x51bb(){var _0x5cfb5b=['isRated','10Qotvem','set','6004084aujcKU','operations','isActivated','operationsIsolated','parent','status','5jiMVsL','11543rzHEkI','210FCuPTV','3982707uNlUVm','context','27YlWqDv','515672WGPuGh','contentDiffed','2751616lHrSbh','pending','212451vCjUkb','9286409uTtOJh','change:status','_editorOperations','_data'];_0x51bb=function(){return _0x5cfb5b;};return _0x51bb();}import{ObservableMixin as _0x3e96d3}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x3e96d3(){['id'];[_0x1f8b57(0x194)];[_0x1f8b57(0x18c)];[_0x1f8b57(0x18b)]=[];constructor(_0x12b3b2,_0x4cac2f,_0x526248){var _0x9c4734=_0x1f8b57;super(),this['id']=_0x12b3b2,this[_0x9c4734(0x194)]=_0x526248,this[_0x9c4734(0x18c)]=_0x4cac2f,this[_0x9c4734(0x18f)](_0x9c4734(0x192),!0x1),this[_0x9c4734(0x18f)](_0x9c4734(0x18d),!0x1),this[_0x9c4734(0x18f)](_0x9c4734(0x195),_0x9c4734(0x187)),this['on'](_0x9c4734(0x18a),()=>{var _0x3298ea=_0x9c4734;_0x3298ea(0x187)!==this[_0x3298ea(0x195)]&&this[_0x3298ea(0x192)]&&(this[_0x3298ea(0x192)]=!0x1);});}get[_0x1f8b57(0x19d)](){var _0x3c0a7c=_0x1f8b57;return this[_0x3c0a7c(0x18c)][_0x3c0a7c(0x19a)]();}get[_0x1f8b57(0x191)](){var _0x520b90=_0x1f8b57;return this[_0x520b90(0x18c)][_0x520b90(0x191)];}get[_0x1f8b57(0x193)](){var _0x80d410=_0x1f8b57;return this[_0x80d410(0x18c)][_0x80d410(0x193)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x30ddc8=_0xe41e;(function(_0x267dda,_0x3e5de2){const _0x58213=_0xe41e,_0x506fdf=_0x267dda();while(!![]){try{const _0x4d42a8=-parseInt(_0x58213(0x1a7))/0x1+parseInt(_0x58213(0x201))/0x2*(-parseInt(_0x58213(0x1bd))/0x3)+-parseInt(_0x58213(0x1e4))/0x4*(-parseInt(_0x58213(0x1b7))/0x5)+parseInt(_0x58213(0x1c5))/0x6+-parseInt(_0x58213(0x1bc))/0x7*(parseInt(_0x58213(0x1ae))/0x8)+parseInt(_0x58213(0x1f4))/0x9*(parseInt(_0x58213(0x1f2))/0xa)+parseInt(_0x58213(0x1de))/0xb*(parseInt(_0x58213(0x1e9))/0xc);if(_0x4d42a8===_0x3e5de2)break;else _0x506fdf['push'](_0x506fdf['shift']());}catch(_0x5d10a7){_0x506fdf['push'](_0x506fdf['shift']());}}}(_0x552b,0x4496b));function _0x552b(){const _0x3ad3d2=['markChangeAsRejected','rejected','16xbnSxu','initialized','includes','error-general','reviewName','_aiConnector','operation','isChangeActive','_addReviewCheckResult','markChangeAsPending','callId','getActiveChanges','get','214967dKlIkh','_results','data','change:isActivated','sendRating','change:status','unmodified','8YTvKFd','_checkIfFinished','forceReadyState','finished','reviewCheckResultChangeStatusUpdated','_reviewParams','find','title','hasModifications','118330IAjYdC','some','addResultChanges','reviewCheckResultAdded','isRated','2748970vgZbue','75699SuyGWx','_currentError','_changes','error-chunk','subTitle','push','processedResultsCount','isAnyChangeActivated','2177286ufZOEC','markChangeAsAccepted','textDelta','isActivated','pending','size','message','reviewCheckResultActivated','error','abort','_activeRequest','review-metadata','getStream','aborted','version','set','clear','outdated','forEach','elements','fire','updateDocumentData','ai-request-aborted','currentError','_documentData','804991UCyWpI','event','_reviewArgs','restart','reviewCheckResultDeactivated','reviewCheckResultReady','16uorcJP','filter','parent','deactivateChange','abortController','24yyNjCp','length','markChangeAsOutdated','loading','accepted','activateChange','_wasAborted','getChangeById','reviewCheckRunUpdated','27490zhKEFN','getContent','1593mjyPGF','documentData','status','_sendRatingRequest','dataId','ready','start','every','markAllChangesAsAccepted','_createApiRequest','_sourceCheck'];_0x552b=function(){return _0x3ad3d2;};return _0x552b();}function _0xe41e(_0x4cd523,_0xd6c003){const _0x552b08=_0x552b();return _0xe41e=function(_0xe41e5a,_0x5a77b2){_0xe41e5a=_0xe41e5a-0x1a5;let _0x1395eb=_0x552b08[_0xe41e5a];return _0x1395eb;},_0xe41e(_0x4cd523,_0xd6c003);}import{ObservableMixin as _0x571461,uid as _0x41da9a}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x33af61}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x17e2ad}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x571461(){['id']=_0x41da9a();[_0x30ddc8(0x20b)];[_0x30ddc8(0x1a8)]=new Map();[_0x30ddc8(0x1bf)]=[];[_0x30ddc8(0x1fe)];[_0x30ddc8(0x1dd)];[_0x30ddc8(0x206)];[_0x30ddc8(0x1b3)];[_0x30ddc8(0x1e0)];[_0x30ddc8(0x1cf)]=null;[_0x30ddc8(0x1be)];[_0x30ddc8(0x1ef)]=!0x1;constructor(_0x1ae144,_0x5b6080,_0x13e713,_0x1cf6d2,_0x4765f5){const _0x2d34ce=_0x30ddc8;super(),this[_0x2d34ce(0x1fe)]=_0x5b6080,this[_0x2d34ce(0x1dd)]=_0x1ae144,this[_0x2d34ce(0x206)]=_0x13e713,this[_0x2d34ce(0x1b3)]=_0x1cf6d2,this[_0x2d34ce(0x1e0)]=_0x4765f5,this['on'](_0x2d34ce(0x1ac),(_0x199a83,_0x3b92a4,_0x546867)=>{const _0x5b0984=_0x2d34ce;_0x5b0984(0x1d2)==_0x546867&&(this[_0x5b0984(0x1ef)]=!0x0),this[_0x5b0984(0x1d9)](_0x5b0984(0x1f1),{'status':_0x546867,'run':this,'error':this[_0x5b0984(0x1be)]});}),this[_0x2d34ce(0x1d4)](_0x2d34ce(0x1f6),_0x2d34ce(0x202));}get[_0x30ddc8(0x1f5)](){const _0x1190b0=_0x30ddc8;return this[_0x1190b0(0x1dd)];}get[_0x30ddc8(0x1c3)](){const _0x271ecb=_0x30ddc8;return this[_0x271ecb(0x1a8)][_0x271ecb(0x1ca)];}get[_0x30ddc8(0x1b5)](){const _0xdbd535=_0x30ddc8;return this[_0xdbd535(0x1fe)][_0xdbd535(0x1b5)];}get[_0x30ddc8(0x1c1)](){return'';}get[_0x30ddc8(0x205)](){const _0x4856b2=_0x30ddc8;return this[_0x4856b2(0x1fe)]['id'];}get[_0x30ddc8(0x1b6)](){const _0x161a31=_0x30ddc8;return!this[_0x161a31(0x1bf)][_0x161a31(0x1fb)](_0x4233f8=>_0x161a31(0x1c9)===_0x4233f8[_0x161a31(0x1f6)]);}get[_0x30ddc8(0x1dc)](){const _0x4a150a=_0x30ddc8;return this[_0x4a150a(0x1be)];}[_0x30ddc8(0x1da)](_0x4c85d1){const _0x12fcc8=_0x30ddc8;this[_0x12fcc8(0x1dd)]=_0x4c85d1;}async[_0x30ddc8(0x1fa)](){const _0x218fe1=_0x30ddc8;this[_0x218fe1(0x1f6)]=_0x218fe1(0x1ec),this[_0x218fe1(0x1be)]=void 0x0;try{this[_0x218fe1(0x1cf)]=this[_0x218fe1(0x1fd)]();const _0x3cc184=await this[_0x218fe1(0x1cf)][_0x218fe1(0x1d1)]();this[_0x218fe1(0x1f6)]=_0x218fe1(0x1a9);for await(const _0xc06da3 of _0x3cc184)_0x218fe1(0x1ad)!==_0xc06da3[_0x218fe1(0x1a9)][_0x218fe1(0x207)]&&(_0x218fe1(0x1cd)!==_0xc06da3[_0x218fe1(0x1a9)][_0x218fe1(0x207)]?_0x218fe1(0x1d0)!==_0xc06da3[_0x218fe1(0x1df)]?this[_0x218fe1(0x209)](_0xc06da3[_0x218fe1(0x1a9)][_0x218fe1(0x1f8)],_0xc06da3[_0x218fe1(0x1a9)][_0x218fe1(0x1c7)]):this[_0x218fe1(0x20b)]=_0xc06da3[_0x218fe1(0x1a9)][_0x218fe1(0x20b)]:this[_0x218fe1(0x1f6)]=_0x218fe1(0x1c0));_0x218fe1(0x1c0)!==this[_0x218fe1(0x1f6)]&&(0x0===this[_0x218fe1(0x1a8)][_0x218fe1(0x1ca)]||0x0===this[_0x218fe1(0x1bf)][_0x218fe1(0x1ea)]?this[_0x218fe1(0x1f6)]=_0x218fe1(0x1ad):this[_0x218fe1(0x1f6)]=_0x218fe1(0x1f9));}catch(_0x8094de){this[_0x218fe1(0x1be)]=_0x8094de,_0x8094de instanceof Error&&_0x8094de[_0x218fe1(0x1cb)][_0x218fe1(0x203)](_0x218fe1(0x1db))?this[_0x218fe1(0x1f6)]=_0x218fe1(0x1d2):this[_0x218fe1(0x1f6)]=_0x218fe1(0x204);}finally{this[_0x218fe1(0x1cf)]=null;}}async[_0x30ddc8(0x1e1)](){const _0x11592f=_0x30ddc8;this[_0x11592f(0x1a8)][_0x11592f(0x1d5)](),this[_0x11592f(0x1bf)][_0x11592f(0x1ea)]=0x0,this[_0x11592f(0x1be)]=void 0x0,await this[_0x11592f(0x1fa)]();}[_0x30ddc8(0x1b9)](_0x4eadbd,_0x61c0bd){const _0x26d3b7=_0x30ddc8,_0x256b5e=this[_0x26d3b7(0x1a8)][_0x26d3b7(0x1a6)](_0x4eadbd);if(!_0x256b5e)return;if(0x0===_0x61c0bd[_0x26d3b7(0x1ea)])return;const _0x1f5500=[];_0x61c0bd[_0x26d3b7(0x1d7)]((_0xa7730a,_0x14f9ff)=>{const _0xdbdcd3=_0x26d3b7,_0x21bfb2=new _0x17e2ad(_0x256b5e['id']+'-'+_0x14f9ff,_0xa7730a,_0x256b5e);_0x21bfb2['on'](_0xdbdcd3(0x1ac),()=>{const _0x112ee6=_0xdbdcd3;this[_0x112ee6(0x1d9)](_0x112ee6(0x1b2),{'change':_0x21bfb2,'status':_0x21bfb2[_0x112ee6(0x1f6)]});}),_0x21bfb2['on'](_0xdbdcd3(0x1aa),()=>{const _0x1aa02c=_0xdbdcd3;_0x21bfb2[_0x1aa02c(0x1c8)]?this[_0x1aa02c(0x1d9)](_0x1aa02c(0x1cc),{'change':_0x21bfb2}):this[_0x1aa02c(0x1d9)](_0x1aa02c(0x1e2),{'change':_0x21bfb2});}),this[_0xdbdcd3(0x1bf)][_0xdbdcd3(0x1c2)](_0x21bfb2),_0x1f5500[_0xdbdcd3(0x1c2)](_0x21bfb2);}),this[_0x26d3b7(0x1d9)](_0x26d3b7(0x1e3),{'changes':_0x1f5500,'result':_0x256b5e,'source':this});}[_0x30ddc8(0x1ce)](){const _0xebf2d2=_0x30ddc8;this[_0xebf2d2(0x1cf)]&&(this[_0xebf2d2(0x1cf)][_0xebf2d2(0x1e8)][_0xebf2d2(0x1ce)](),this[_0xebf2d2(0x1cf)]=null,this[_0xebf2d2(0x1f6)]=_0xebf2d2(0x1d2));}[_0x30ddc8(0x208)](_0x386ff8){const _0x2150bc=_0x30ddc8,_0x583946=this[_0x2150bc(0x1bf)][_0x2150bc(0x1b4)](_0x1ddcdc=>_0x1ddcdc['id']===_0x386ff8);return!(!_0x583946||_0x2150bc(0x1c9)!==_0x583946[_0x2150bc(0x1f6)]);}[_0x30ddc8(0x1c4)](){const _0x4a6410=_0x30ddc8;return this[_0x4a6410(0x1bf)][_0x4a6410(0x1b8)](_0x3c7b29=>!0x0===_0x3c7b29[_0x4a6410(0x1c8)]);}[_0x30ddc8(0x1a5)](){const _0x2adf98=_0x30ddc8;return this[_0x2adf98(0x1bf)][_0x2adf98(0x1e5)](_0x196eaa=>_0x2adf98(0x1c9)===_0x196eaa[_0x2adf98(0x1f6)]);}[_0x30ddc8(0x1f0)](_0x511159){const _0x72080c=_0x30ddc8;return this[_0x72080c(0x1bf)][_0x72080c(0x1b4)](_0x283027=>_0x283027['id']===_0x511159);}[_0x30ddc8(0x1fc)](){const _0x16c7a1=_0x30ddc8;for(const _0x1844bd of this[_0x16c7a1(0x1bf)])_0x16c7a1(0x1c9)===_0x1844bd[_0x16c7a1(0x1f6)]&&(_0x1844bd[_0x16c7a1(0x1f6)]=_0x16c7a1(0x1ed));this[_0x16c7a1(0x1af)]();}[_0x30ddc8(0x1c6)](_0x2128e6){const _0x27ba38=_0x30ddc8,_0x406dec=this[_0x27ba38(0x1bf)][_0x27ba38(0x1b4)](_0x249050=>_0x249050['id']===_0x2128e6);_0x406dec&&_0x27ba38(0x1c9)===_0x406dec[_0x27ba38(0x1f6)]&&(_0x406dec[_0x27ba38(0x1f6)]=_0x27ba38(0x1ed)),this[_0x27ba38(0x1af)]();}[_0x30ddc8(0x1ff)](_0x490b56){const _0x4847a6=_0x30ddc8,_0x361a3d=this[_0x4847a6(0x1bf)][_0x4847a6(0x1b4)](_0x11a6ce=>_0x11a6ce['id']===_0x490b56);_0x361a3d&&_0x4847a6(0x1c9)===_0x361a3d[_0x4847a6(0x1f6)]&&(_0x361a3d[_0x4847a6(0x1f6)]=_0x4847a6(0x200)),this[_0x4847a6(0x1af)]();}[_0x30ddc8(0x1eb)](_0x32f830){const _0x828c4e=_0x30ddc8,_0x26b0e5=this[_0x828c4e(0x1bf)][_0x828c4e(0x1b4)](_0x2a079a=>_0x2a079a['id']===_0x32f830);_0x26b0e5&&_0x828c4e(0x1c9)===_0x26b0e5[_0x828c4e(0x1f6)]&&(_0x26b0e5[_0x828c4e(0x1f6)]=_0x828c4e(0x1d6)),this[_0x828c4e(0x1af)]();}[_0x30ddc8(0x20a)](_0x4d1ed7){const _0x18bef7=_0x30ddc8,_0x16a5a9=this[_0x18bef7(0x1bf)][_0x18bef7(0x1b4)](_0x395c2e=>_0x395c2e['id']===_0x4d1ed7);_0x16a5a9&&_0x18bef7(0x1d6)===_0x16a5a9[_0x18bef7(0x1f6)]&&(_0x16a5a9[_0x18bef7(0x1f6)]=_0x18bef7(0x1c9)),this[_0x18bef7(0x1af)]();}[_0x30ddc8(0x1ee)](_0x132e4a){const _0x2f167a=_0x30ddc8;this[_0x2f167a(0x1bf)][_0x2f167a(0x1e5)](_0x46182b=>_0x46182b[_0x2f167a(0x1c8)]&&_0x46182b['id']!==_0x132e4a)[_0x2f167a(0x1d7)](_0x3cee6e=>{const _0x5a2db9=_0x2f167a;_0x3cee6e[_0x5a2db9(0x1c8)]=!0x1;});const _0x1fe2e4=this[_0x2f167a(0x1bf)][_0x2f167a(0x1b4)](_0x29a357=>_0x29a357['id']===_0x132e4a);_0x1fe2e4&&_0x2f167a(0x1c9)===_0x1fe2e4[_0x2f167a(0x1f6)]&&(_0x1fe2e4[_0x2f167a(0x1c8)]=!0x0);}[_0x30ddc8(0x1e7)](){const _0xff5c96=_0x30ddc8;this[_0xff5c96(0x1bf)][_0xff5c96(0x1e5)](_0x170bea=>_0x170bea[_0xff5c96(0x1c8)])[_0xff5c96(0x1d7)](_0x44da22=>{const _0x52cae8=_0xff5c96;_0x44da22[_0x52cae8(0x1c8)]=!0x1;});}[_0x30ddc8(0x1b0)](){const _0x187bb3=_0x30ddc8;this[_0x187bb3(0x1f6)]=_0x187bb3(0x1f9);}async[_0x30ddc8(0x1ab)](_0x1b4667){const _0x2ee57d=_0x30ddc8;if(_0x2ee57d(0x202)===this[_0x2ee57d(0x1f6)]||_0x2ee57d(0x1ec)===this[_0x2ee57d(0x1f6)]||_0x2ee57d(0x1a9)===this[_0x2ee57d(0x1f6)]||this[_0x2ee57d(0x1ef)])return;if(!this[_0x2ee57d(0x20b)]||0x0===this[_0x2ee57d(0x1bf)][_0x2ee57d(0x1ea)])return;let _0x3b1bbe;if(_0x1b4667){const _0x293fce=this[_0x2ee57d(0x1bf)][_0x2ee57d(0x1b4)](_0x1bf20f=>_0x1bf20f['id']===_0x1b4667);if(_0x293fce&&_0x293fce[_0x2ee57d(0x1bb)])return;_0x293fce&&(_0x3b1bbe=_0x293fce[_0x2ee57d(0x1e6)]['id'],_0x293fce[_0x2ee57d(0x1bb)]=!0x0);}const _0x1b8a96={'positiveCount':this[_0x2ee57d(0x1bf)][_0x2ee57d(0x1e5)](_0x5c09ef=>_0x2ee57d(0x1ed)===_0x5c09ef[_0x2ee57d(0x1f6)])[_0x2ee57d(0x1ea)],'totalCount':this[_0x2ee57d(0x1bf)][_0x2ee57d(0x1ea)]};this[_0x2ee57d(0x1f7)](_0x1b8a96,this[_0x2ee57d(0x20b)],_0x3b1bbe);}[_0x30ddc8(0x209)](_0x562e19,_0x4f36e9){const _0x372e4b=_0x30ddc8,_0x209962=this[_0x372e4b(0x1dd)][_0x372e4b(0x1d8)][_0x372e4b(0x1a6)](_0x562e19);if(!_0x209962)return;const _0x18bc4b=_0x209962[_0x372e4b(0x1f3)]();if(_0x18bc4b===_0x4f36e9)return;const _0x17bada=new _0x33af61({'id':_0x562e19,'contentInitial':_0x18bc4b,'contentNew':_0x4f36e9,'documentVersion':this[_0x372e4b(0x1dd)][_0x372e4b(0x1d3)]});this[_0x372e4b(0x1a8)][_0x372e4b(0x1d4)](_0x17bada['id'],_0x17bada),this[_0x372e4b(0x1d9)](_0x372e4b(0x1ba),{'result':_0x17bada,'source':this});}[_0x30ddc8(0x1af)](){const _0x4dea6c=_0x30ddc8;_0x4dea6c(0x1b1)===this[_0x4dea6c(0x1f6)]&&(this[_0x4dea6c(0x1bf)][_0x4dea6c(0x1e5)](_0x15ac45=>_0x4dea6c(0x1c9)===_0x15ac45[_0x4dea6c(0x1f6)])[_0x4dea6c(0x1ea)]>0x0&&(this[_0x4dea6c(0x1f6)]=_0x4dea6c(0x1f9))),_0x4dea6c(0x1f9)===this[_0x4dea6c(0x1f6)]&&(0x0===this[_0x4dea6c(0x1bf)][_0x4dea6c(0x1e5)](_0x46255d=>_0x4dea6c(0x1c9)===_0x46255d[_0x4dea6c(0x1f6)])[_0x4dea6c(0x1ea)]&&(this[_0x4dea6c(0x1f6)]=_0x4dea6c(0x1b1)));}}
|
|
23
|
+
const _0x3ae7a4=_0x271c;(function(_0x286fe4,_0xa0ab90){const _0x2a00e6=_0x271c,_0x3364d3=_0x286fe4();while(!![]){try{const _0x16fb51=parseInt(_0x2a00e6(0x150))/0x1+-parseInt(_0x2a00e6(0x137))/0x2+-parseInt(_0x2a00e6(0x158))/0x3+-parseInt(_0x2a00e6(0x182))/0x4+parseInt(_0x2a00e6(0x18e))/0x5+parseInt(_0x2a00e6(0x156))/0x6*(parseInt(_0x2a00e6(0x186))/0x7)+parseInt(_0x2a00e6(0x15f))/0x8;if(_0x16fb51===_0xa0ab90)break;else _0x3364d3['push'](_0x3364d3['shift']());}catch(_0x5b4189){_0x3364d3['push'](_0x3364d3['shift']());}}}(_0x34fa,0xb1782));import{ObservableMixin as _0x5b81cb,uid as _0x481d6e}from'ckeditor5/src/utils.js';function _0x34fa(){const _0x291c93=['includes','start','isChangeActive','push','loading','updateDocumentData','_reviewParams','review-metadata','activateChange','reviewCheckRunUpdated','get','2526302YwszEg','length','rejected','forEach','markChangeAsAccepted','ai-request-aborted','hasModifications','title','some','sendRating','restart','_documentData','reviewName','aborted','change:isActivated','getStream','getContent','operation','_results','_activeRequest','_reviewArgs','getChangeById','abort','forceReadyState','markAllChangesAsAccepted','1403372MFdbbz','currentError','pending','set','_sendRatingRequest','ready','1002LpeYot','_wasAborted','4087581vbpTnW','reviewCheckResultReady','elements','_checkIfFinished','event','isAnyChangeActivated','callId','1273344tbjUpn','error-general','clear','accepted','parent','_changes','error-chunk','reviewCheckResultAdded','markChangeAsPending','dataId','find','initialized','error','documentData','deactivateChange','status','fire','message','size','reviewCheckResultDeactivated','filter','unmodified','textDelta','_currentError','every','version','data','_createApiRequest','markChangeAsRejected','isActivated','subTitle','outdated','processedResultsCount','getActiveChanges','finished','3684304EhgjFj','markChangeAsOutdated','isRated','reviewCheckResultChangeStatusUpdated','60571obidpJ','reviewCheckResultActivated','abortController','change:status','addResultChanges','_sourceCheck','_addReviewCheckResult','_aiConnector','6330385FerzKl'];_0x34fa=function(){return _0x291c93;};return _0x34fa();}import{AIReviewCheckResult as _0x9d3b8}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x18bf75}from'./aireviewcheckresultchange.js';function _0x271c(_0x1cacca,_0x5d9f65){const _0x34fad6=_0x34fa();return _0x271c=function(_0x271c5d,_0x3a795d){_0x271c5d=_0x271c5d-0x135;let _0x4dbbe0=_0x34fad6[_0x271c5d];return _0x4dbbe0;},_0x271c(_0x1cacca,_0x5d9f65);}export class AIReviewCheckRun extends _0x5b81cb(){['id']=_0x481d6e();[_0x3ae7a4(0x15e)];[_0x3ae7a4(0x149)]=new Map();[_0x3ae7a4(0x164)]=[];[_0x3ae7a4(0x18b)];[_0x3ae7a4(0x142)];[_0x3ae7a4(0x18d)];[_0x3ae7a4(0x195)];[_0x3ae7a4(0x14b)];[_0x3ae7a4(0x14a)]=null;[_0x3ae7a4(0x176)];[_0x3ae7a4(0x157)]=!0x1;constructor(_0x62dd9d,_0x89938b,_0x44e9fb,_0x283186,_0x2bf525){const _0x5097fe=_0x3ae7a4;super(),this[_0x5097fe(0x18b)]=_0x89938b,this[_0x5097fe(0x142)]=_0x62dd9d,this[_0x5097fe(0x18d)]=_0x44e9fb,this[_0x5097fe(0x195)]=_0x283186,this[_0x5097fe(0x14b)]=_0x2bf525,this['on'](_0x5097fe(0x189),(_0x314cf0,_0x17ce34,_0x3957d9)=>{const _0x20c44f=_0x5097fe;_0x20c44f(0x144)==_0x3957d9&&(this[_0x20c44f(0x157)]=!0x0),this[_0x20c44f(0x16f)](_0x20c44f(0x135),{'status':_0x3957d9,'run':this,'error':this[_0x20c44f(0x176)]});}),this[_0x5097fe(0x153)](_0x5097fe(0x16e),_0x5097fe(0x16a));}get[_0x3ae7a4(0x16c)](){const _0x2e53db=_0x3ae7a4;return this[_0x2e53db(0x142)];}get[_0x3ae7a4(0x17f)](){const _0x4473dc=_0x3ae7a4;return this[_0x4473dc(0x149)][_0x4473dc(0x171)];}get[_0x3ae7a4(0x13e)](){const _0x3d55c2=_0x3ae7a4;return this[_0x3d55c2(0x18b)][_0x3d55c2(0x13e)];}get[_0x3ae7a4(0x17d)](){return'';}get[_0x3ae7a4(0x143)](){const _0x4ae0d1=_0x3ae7a4;return this[_0x4ae0d1(0x18b)]['id'];}get[_0x3ae7a4(0x13d)](){const _0x408d1d=_0x3ae7a4;return!this[_0x408d1d(0x164)][_0x408d1d(0x177)](_0x265187=>_0x408d1d(0x152)===_0x265187[_0x408d1d(0x16e)]);}get[_0x3ae7a4(0x151)](){const _0x2b2c40=_0x3ae7a4;return this[_0x2b2c40(0x176)];}[_0x3ae7a4(0x194)](_0x3e4366){const _0x5ac2af=_0x3ae7a4;this[_0x5ac2af(0x142)]=_0x3e4366;}async[_0x3ae7a4(0x190)](){const _0xc447e9=_0x3ae7a4;this[_0xc447e9(0x16e)]=_0xc447e9(0x193),this[_0xc447e9(0x176)]=void 0x0;try{this[_0xc447e9(0x14a)]=this[_0xc447e9(0x17a)]();const _0x2b0ade=await this[_0xc447e9(0x14a)][_0xc447e9(0x146)]();this[_0xc447e9(0x16e)]=_0xc447e9(0x179);for await(const _0x50fd9f of _0x2b0ade)_0xc447e9(0x174)!==_0x50fd9f[_0xc447e9(0x179)][_0xc447e9(0x148)]&&(_0xc447e9(0x16b)!==_0x50fd9f[_0xc447e9(0x179)][_0xc447e9(0x148)]?_0xc447e9(0x196)!==_0x50fd9f[_0xc447e9(0x15c)]?this[_0xc447e9(0x18c)](_0x50fd9f[_0xc447e9(0x179)][_0xc447e9(0x168)],_0x50fd9f[_0xc447e9(0x179)][_0xc447e9(0x175)]):this[_0xc447e9(0x15e)]=_0x50fd9f[_0xc447e9(0x179)][_0xc447e9(0x15e)]:this[_0xc447e9(0x16e)]=_0xc447e9(0x165));_0xc447e9(0x165)!==this[_0xc447e9(0x16e)]&&(0x0===this[_0xc447e9(0x149)][_0xc447e9(0x171)]||0x0===this[_0xc447e9(0x164)][_0xc447e9(0x138)]?this[_0xc447e9(0x16e)]=_0xc447e9(0x174):this[_0xc447e9(0x16e)]=_0xc447e9(0x155));}catch(_0xb848e1){this[_0xc447e9(0x176)]=_0xb848e1,_0xb848e1 instanceof Error&&_0xb848e1[_0xc447e9(0x170)][_0xc447e9(0x18f)](_0xc447e9(0x13c))?this[_0xc447e9(0x16e)]=_0xc447e9(0x144):this[_0xc447e9(0x16e)]=_0xc447e9(0x160);}finally{this[_0xc447e9(0x14a)]=null;}}async[_0x3ae7a4(0x141)](){const _0x1d3dc8=_0x3ae7a4;this[_0x1d3dc8(0x149)][_0x1d3dc8(0x161)](),this[_0x1d3dc8(0x164)][_0x1d3dc8(0x138)]=0x0,this[_0x1d3dc8(0x176)]=void 0x0,await this[_0x1d3dc8(0x190)]();}[_0x3ae7a4(0x18a)](_0x4a64b3,_0xd1ef61){const _0x30a259=_0x3ae7a4,_0x538be4=this[_0x30a259(0x149)][_0x30a259(0x136)](_0x4a64b3);if(!_0x538be4)return;if(0x0===_0xd1ef61[_0x30a259(0x138)])return;const _0x42b913=[];_0xd1ef61[_0x30a259(0x13a)]((_0x4eacf5,_0x397e71)=>{const _0x5990e1=_0x30a259,_0xe516e6=new _0x18bf75(_0x538be4['id']+'-'+_0x397e71,_0x4eacf5,_0x538be4);_0xe516e6['on'](_0x5990e1(0x189),()=>{const _0x3b63b9=_0x5990e1;this[_0x3b63b9(0x16f)](_0x3b63b9(0x185),{'change':_0xe516e6,'status':_0xe516e6[_0x3b63b9(0x16e)]});}),_0xe516e6['on'](_0x5990e1(0x145),()=>{const _0x135bba=_0x5990e1;_0xe516e6[_0x135bba(0x17c)]?this[_0x135bba(0x16f)](_0x135bba(0x187),{'change':_0xe516e6}):this[_0x135bba(0x16f)](_0x135bba(0x172),{'change':_0xe516e6});}),this[_0x5990e1(0x164)][_0x5990e1(0x192)](_0xe516e6),_0x42b913[_0x5990e1(0x192)](_0xe516e6);}),this[_0x30a259(0x16f)](_0x30a259(0x159),{'changes':_0x42b913,'result':_0x538be4,'source':this});}[_0x3ae7a4(0x14d)](){const _0x229501=_0x3ae7a4;this[_0x229501(0x14a)]&&(this[_0x229501(0x14a)][_0x229501(0x188)][_0x229501(0x14d)](),this[_0x229501(0x14a)]=null,this[_0x229501(0x16e)]=_0x229501(0x144));}[_0x3ae7a4(0x191)](_0xc165de){const _0x1faff4=_0x3ae7a4,_0x88d234=this[_0x1faff4(0x164)][_0x1faff4(0x169)](_0x258adb=>_0x258adb['id']===_0xc165de);return!(!_0x88d234||_0x1faff4(0x152)!==_0x88d234[_0x1faff4(0x16e)]);}[_0x3ae7a4(0x15d)](){const _0x181c41=_0x3ae7a4;return this[_0x181c41(0x164)][_0x181c41(0x13f)](_0x2ca6ea=>!0x0===_0x2ca6ea[_0x181c41(0x17c)]);}[_0x3ae7a4(0x180)](){const _0x500be2=_0x3ae7a4;return this[_0x500be2(0x164)][_0x500be2(0x173)](_0x5c32ec=>_0x500be2(0x152)===_0x5c32ec[_0x500be2(0x16e)]);}[_0x3ae7a4(0x14c)](_0x197c18){const _0xa44b1e=_0x3ae7a4;return this[_0xa44b1e(0x164)][_0xa44b1e(0x169)](_0x5cc3b3=>_0x5cc3b3['id']===_0x197c18);}[_0x3ae7a4(0x14f)](){const _0x28a7b8=_0x3ae7a4;for(const _0x5ec353 of this[_0x28a7b8(0x164)])_0x28a7b8(0x152)===_0x5ec353[_0x28a7b8(0x16e)]&&(_0x5ec353[_0x28a7b8(0x16e)]=_0x28a7b8(0x162));this[_0x28a7b8(0x15b)]();}[_0x3ae7a4(0x13b)](_0x56350a){const _0x2b7a7c=_0x3ae7a4,_0x4e7de7=this[_0x2b7a7c(0x164)][_0x2b7a7c(0x169)](_0x327531=>_0x327531['id']===_0x56350a);_0x4e7de7&&_0x2b7a7c(0x152)===_0x4e7de7[_0x2b7a7c(0x16e)]&&(_0x4e7de7[_0x2b7a7c(0x16e)]=_0x2b7a7c(0x162)),this[_0x2b7a7c(0x15b)]();}[_0x3ae7a4(0x17b)](_0x30fc4f){const _0x1f87a0=_0x3ae7a4,_0x4e742c=this[_0x1f87a0(0x164)][_0x1f87a0(0x169)](_0x51314e=>_0x51314e['id']===_0x30fc4f);_0x4e742c&&_0x1f87a0(0x152)===_0x4e742c[_0x1f87a0(0x16e)]&&(_0x4e742c[_0x1f87a0(0x16e)]=_0x1f87a0(0x139)),this[_0x1f87a0(0x15b)]();}[_0x3ae7a4(0x183)](_0x4ffde7){const _0x51dfbd=_0x3ae7a4,_0x3e6e30=this[_0x51dfbd(0x164)][_0x51dfbd(0x169)](_0x108027=>_0x108027['id']===_0x4ffde7);_0x3e6e30&&_0x51dfbd(0x152)===_0x3e6e30[_0x51dfbd(0x16e)]&&(_0x3e6e30[_0x51dfbd(0x16e)]=_0x51dfbd(0x17e)),this[_0x51dfbd(0x15b)]();}[_0x3ae7a4(0x167)](_0x1d2676){const _0x340bea=_0x3ae7a4,_0x5bca6d=this[_0x340bea(0x164)][_0x340bea(0x169)](_0x3e2b98=>_0x3e2b98['id']===_0x1d2676);_0x5bca6d&&_0x340bea(0x17e)===_0x5bca6d[_0x340bea(0x16e)]&&(_0x5bca6d[_0x340bea(0x16e)]=_0x340bea(0x152)),this[_0x340bea(0x15b)]();}[_0x3ae7a4(0x197)](_0x32c382){const _0x27a8ed=_0x3ae7a4;this[_0x27a8ed(0x164)][_0x27a8ed(0x173)](_0x26b3bc=>_0x26b3bc[_0x27a8ed(0x17c)]&&_0x26b3bc['id']!==_0x32c382)[_0x27a8ed(0x13a)](_0x258e0b=>{const _0x2673fd=_0x27a8ed;_0x258e0b[_0x2673fd(0x17c)]=!0x1;});const _0xefe361=this[_0x27a8ed(0x164)][_0x27a8ed(0x169)](_0x55a4d7=>_0x55a4d7['id']===_0x32c382);_0xefe361&&_0x27a8ed(0x152)===_0xefe361[_0x27a8ed(0x16e)]&&(_0xefe361[_0x27a8ed(0x17c)]=!0x0);}[_0x3ae7a4(0x16d)](){const _0x4724dd=_0x3ae7a4;this[_0x4724dd(0x164)][_0x4724dd(0x173)](_0x5cb2a8=>_0x5cb2a8[_0x4724dd(0x17c)])[_0x4724dd(0x13a)](_0x4d973f=>{const _0xb0138d=_0x4724dd;_0x4d973f[_0xb0138d(0x17c)]=!0x1;});}[_0x3ae7a4(0x14e)](){const _0x1b2c7c=_0x3ae7a4;this[_0x1b2c7c(0x16e)]=_0x1b2c7c(0x155);}async[_0x3ae7a4(0x140)](_0x400062){const _0x28a86f=_0x3ae7a4;if(_0x28a86f(0x16a)===this[_0x28a86f(0x16e)]||_0x28a86f(0x193)===this[_0x28a86f(0x16e)]||_0x28a86f(0x179)===this[_0x28a86f(0x16e)]||this[_0x28a86f(0x157)])return;if(!this[_0x28a86f(0x15e)]||0x0===this[_0x28a86f(0x164)][_0x28a86f(0x138)])return;let _0x3ef448;if(_0x400062){const _0x93ebd4=this[_0x28a86f(0x164)][_0x28a86f(0x169)](_0xcb557e=>_0xcb557e['id']===_0x400062);if(_0x93ebd4&&_0x93ebd4[_0x28a86f(0x184)])return;_0x93ebd4&&(_0x3ef448=_0x93ebd4[_0x28a86f(0x163)]['id'],_0x93ebd4[_0x28a86f(0x184)]=!0x0);}const _0x406886={'positiveCount':this[_0x28a86f(0x164)][_0x28a86f(0x173)](_0x5018a3=>_0x28a86f(0x162)===_0x5018a3[_0x28a86f(0x16e)])[_0x28a86f(0x138)],'totalCount':this[_0x28a86f(0x164)][_0x28a86f(0x138)]};this[_0x28a86f(0x154)](_0x406886,this[_0x28a86f(0x15e)],_0x3ef448);}[_0x3ae7a4(0x18c)](_0x257ab2,_0x7efb41){const _0x7b92c7=_0x3ae7a4,_0x2a60b3=this[_0x7b92c7(0x142)][_0x7b92c7(0x15a)][_0x7b92c7(0x136)](_0x257ab2);if(!_0x2a60b3)return;const _0x39e76d=_0x2a60b3[_0x7b92c7(0x147)]();if(_0x39e76d===_0x7efb41)return;const _0x21e1a9=new _0x9d3b8({'id':_0x257ab2,'contentInitial':_0x39e76d,'contentNew':_0x7efb41,'documentVersion':this[_0x7b92c7(0x142)][_0x7b92c7(0x178)]});this[_0x7b92c7(0x149)][_0x7b92c7(0x153)](_0x21e1a9['id'],_0x21e1a9),this[_0x7b92c7(0x16f)](_0x7b92c7(0x166),{'result':_0x21e1a9,'source':this});}[_0x3ae7a4(0x15b)](){const _0x4e32e7=_0x3ae7a4;_0x4e32e7(0x181)===this[_0x4e32e7(0x16e)]&&(this[_0x4e32e7(0x164)][_0x4e32e7(0x173)](_0x3a5c15=>_0x4e32e7(0x152)===_0x3a5c15[_0x4e32e7(0x16e)])[_0x4e32e7(0x138)]>0x0&&(this[_0x4e32e7(0x16e)]=_0x4e32e7(0x155))),_0x4e32e7(0x155)===this[_0x4e32e7(0x16e)]&&(0x0===this[_0x4e32e7(0x164)][_0x4e32e7(0x173)](_0x4488bd=>_0x4e32e7(0x152)===_0x4488bd[_0x4e32e7(0x16e)])[_0x4e32e7(0x138)]&&(this[_0x4e32e7(0x16e)]=_0x4e32e7(0x181)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ab9b6=_0x5ec1;function _0x5ec1(_0x80a553,_0x34ec67){const _0x5f2765=_0x5f27();return _0x5ec1=function(_0x5ec182,_0xf01fbd){_0x5ec182=_0x5ec182-0x172;let _0x58cf5b=_0x5f2765[_0x5ec182];return _0x58cf5b;},_0x5ec1(_0x80a553,_0x34ec67);}(function(_0x2266df,_0x3c7d7c){const _0x40838c=_0x5ec1,_0x49e877=_0x2266df();while(!![]){try{const _0x5e1e71=-parseInt(_0x40838c(0x191))/0x1+-parseInt(_0x40838c(0x18a))/0x2+parseInt(_0x40838c(0x17e))/0x3+-parseInt(_0x40838c(0x175))/0x4*(-parseInt(_0x40838c(0x173))/0x5)+-parseInt(_0x40838c(0x18b))/0x6+parseInt(_0x40838c(0x18e))/0x7*(-parseInt(_0x40838c(0x185))/0x8)+-parseInt(_0x40838c(0x17c))/0x9*(-parseInt(_0x40838c(0x176))/0xa);if(_0x5e1e71===_0x3c7d7c)break;else _0x49e877['push'](_0x49e877['shift']());}catch(_0xdf7b4e){_0x49e877['push'](_0x49e877['shift']());}}}(_0x5f27,0xe2a4c));import{AIReviewCheckRun as _0x416b66}from'./aireviewcheckrun.js';function _0x5f27(){const _0x5d697a=['_sourceCheck','788649DzTEcQ','content','30405ASVfKi','_reviewArgs','884mozZEP','100SIEoeW','length','join','callSystemReview','apiId','_sendRatingRequest','1279521mhqQOs','subTitle','3424701wNQuTC','_reviewParams','find','useArgs','upsertAIReviewRating','_aiConnector','_documentData','5252264RrsdPB','_createApiRequest','data','label','push','1995648uTVCxy','3214920OdLTTG','reviewName','_composeReviewName','7rUZwEn','options'];_0x5f27=function(){return _0x5d697a;};return _0x5f27();}export class AIReviewSystemCheckRun extends _0x416b66{get[_0x5ab9b6(0x17d)](){const _0x10a51d=_0x5ab9b6;if(!this[_0x10a51d(0x17f)]||0x0===this[_0x10a51d(0x17f)][_0x10a51d(0x177)])return'';const _0x4e6f92=[];if(this[_0x10a51d(0x17f)][_0x10a51d(0x177)]>0x0&&this[_0x10a51d(0x190)][_0x10a51d(0x18f)])for(let _0x243f14=0x0;_0x243f14<this[_0x10a51d(0x17f)][_0x10a51d(0x177)];_0x243f14++){if(!this[_0x10a51d(0x17f)][_0x243f14]||!this[_0x10a51d(0x190)][_0x10a51d(0x18f)][_0x243f14])continue;const _0x3a6253=this[_0x10a51d(0x190)][_0x10a51d(0x18f)][_0x243f14],_0x431f36=_0x3a6253[_0x10a51d(0x187)]?.[_0x10a51d(0x180)](_0x136d08=>_0x136d08['id']===this[_0x10a51d(0x17f)][_0x243f14]);_0x431f36&&_0x4e6f92[_0x10a51d(0x189)](_0x431f36[_0x10a51d(0x188)]);}return _0x4e6f92[_0x10a51d(0x178)](',\x20');}get[_0x5ab9b6(0x18c)](){const _0x24cf41=_0x5ab9b6;return this[_0x24cf41(0x18d)]();}[_0x5ab9b6(0x186)](){const _0x986bfe=_0x5ab9b6;return this[_0x986bfe(0x183)][_0x986bfe(0x179)]({'reviewName':this[_0x986bfe(0x18d)](),'content':this[_0x986bfe(0x184)][_0x986bfe(0x172)],'args':this[_0x986bfe(0x174)]});}[_0x5ab9b6(0x17b)](_0x350f46,_0x46729c,_0x74fcb4){const _0x1fe8dd=_0x5ab9b6;return this[_0x1fe8dd(0x183)][_0x1fe8dd(0x182)](this[_0x1fe8dd(0x18c)],_0x46729c,_0x350f46,_0x74fcb4);}[_0x5ab9b6(0x18d)](){const _0x2829bb=_0x5ab9b6;return!this[_0x2829bb(0x17f)]||0x0===this[_0x2829bb(0x17f)][_0x2829bb(0x177)]||this[_0x2829bb(0x190)][_0x2829bb(0x181)]?this[_0x2829bb(0x190)][_0x2829bb(0x17a)]:[this[_0x2829bb(0x190)][_0x2829bb(0x17a)],...this[_0x2829bb(0x17f)]][_0x2829bb(0x178)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f05f7=_0x5340;(function(_0x9ea610,_0x24532b){const _0x1b54e4=_0x5340,_0x1585b7=_0x9ea610();while(!![]){try{const _0x2d5804=parseInt(_0x1b54e4(0xbc))/0x1*(-parseInt(_0x1b54e4(0x86))/0x2)+parseInt(_0x1b54e4(0x76))/0x3+-parseInt(_0x1b54e4(0x92))/0x4*(-parseInt(_0x1b54e4(0xb3))/0x5)+-parseInt(_0x1b54e4(0x7b))/0x6+-parseInt(_0x1b54e4(0x93))/0x7+parseInt(_0x1b54e4(0x79))/0x8*(parseInt(_0x1b54e4(0xa6))/0x9)+parseInt(_0x1b54e4(0x89))/0xa*(parseInt(_0x1b54e4(0x90))/0xb);if(_0x2d5804===_0x24532b)break;else _0x1585b7['push'](_0x1585b7['shift']());}catch(_0xeeb1e6){_0x1585b7['push'](_0x1585b7['shift']());}}}(_0xd793,0x9c4d9));import{Rect as _0x7a7d2b,getConstrainedViewportRect as _0x424530}from'ckeditor5/src/utils.js';function _0xd793(){const _0x36e075=['resultItemView','2612KSgWUo','_pinnedRectIndex','clientY','click','push','getIntersection','forEach','_createContentView','bottom','changeId','74325BQnXMW','_isPinnedRectVisible','arrow_','8jWNzMo','locale','7141926HDNcvq','getBoundingClientRect','_setupClickOutsideHandler','pin','length','balloon','_pinnedTargetElement','hover','right','fire','bindTemplate','924vuLHdF','getClientRects','replace','10dGBnZS','left','showDiff','showDiffInBalloon','div','_getBestRectPositionOnHover','hide','31039316YLvBsn','hideBalloon','4MQIncK','3898734iSQQuJ','contentDiffed','arrow_se','hideDiffInBalloon','show','ck-ai_review-balloon-panel-suggestion_diff-active','ck-ai_review__suggestion-text','delegate','isVisible','top','width','clientX','updateContent','showBalloon','from','ck-ai_review-balloon-panel-suggestion','_getPointedRectIndexFromEvent','documentElement','position','5301243mawzrW','unpin','resultResponseView','setTemplate','reverse','content','dismissChange','acceptChange','innerHTML','_getBestRectPositionOnClick','deactivateChange','ck-reset','extendTemplate','793430NxffMc','add','element','render','set','ck-content','isDiffActive','_pinnedTargetChangeId'];_0xd793=function(){return _0x36e075;};return _0xd793();}import{BalloonPanelView as _0x5701fd,View as _0x23c205,clickOutsideHandler as _0x5d7240}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x58bf7d}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';function _0x5340(_0x1a47cc,_0x1e6c8c){const _0xd79394=_0xd793();return _0x5340=function(_0x5340a2,_0xbd61c9){_0x5340a2=_0x5340a2-0x74;let _0xcbed8c=_0xd79394[_0x5340a2];return _0xcbed8c;},_0x5340(_0x1a47cc,_0x1e6c8c);}export class AIReviewCoreBalloonSuggestionItemView extends _0x5701fd{[_0x1f05f7(0xbb)];[_0x1f05f7(0xbd)]=void 0x0;[_0x1f05f7(0x81)]=void 0x0;[_0x1f05f7(0xba)]=void 0x0;constructor(_0x253a09,_0x3bc2c8){const _0x3c6a55=_0x1f05f7;super(_0x253a09),this[_0x3c6a55(0xb7)]({'isVisible':!0x1,'position':_0x3c6a55(0x95),'class':null,'top':0x0,'left':0x0}),this[_0x3c6a55(0xb2)]({'tag':_0x3c6a55(0x8d),'attributes':{'class':[_0x3c6a55(0xb1)],'tabindex':'-1'}}),this[_0x3c6a55(0xb7)](_0x3c6a55(0xb9),!0x1),this[_0x3c6a55(0xab)][_0x3c6a55(0xb4)](this[_0x3c6a55(0xc3)]()),_0x3bc2c8[_0x3c6a55(0xb4)](this);}[_0x1f05f7(0xb6)](){const _0x1a66a9=_0x1f05f7;super[_0x1a66a9(0xb6)](),this[_0x1a66a9(0x7d)]();}[_0x1f05f7(0x9f)](_0x438345){const _0x48e17b=_0x1f05f7;this[_0x48e17b(0xbb)][_0x48e17b(0x75)]=_0x438345['id'],this[_0x48e17b(0xbb)][_0x48e17b(0xa8)][_0x48e17b(0xb5)][_0x48e17b(0xae)]=_0x438345[_0x48e17b(0x94)];}[_0x1f05f7(0xa0)](_0x497868,_0x98b8b8,_0x3a2cc1,_0x4864dc,_0x3a8136,_0xf65149){const _0x66697=_0x1f05f7,_0x11271d=_0x98b8b8();if(!_0x11271d)return;this[_0x66697(0x9f)](_0x497868),this[_0x66697(0x97)]();const _0x3c2eed=Array[_0x66697(0xa1)](_0x11271d[_0x66697(0x87)]())[_0x66697(0xaa)](),_0x31001b=this[_0x66697(0xa3)](_0x3a2cc1,_0x3c2eed),_0x3bae74=_0x3c2eed[_0x31001b??0x0];_0x66697(0xbf)===_0x4864dc?(this[_0x66697(0xb9)]=!0x0,this[_0x66697(0x7e)]({'target':()=>this[_0x66697(0xaf)](_0x98b8b8(),_0x31001b,_0x497868['id'],_0x3a8136,_0xf65149)||_0x3bae74})):_0x66697(0x82)===_0x4864dc&&(this[_0x66697(0xb9)]=!0x1,this[_0x66697(0x7e)]({'target':()=>this[_0x66697(0x8e)](_0x98b8b8(),_0x31001b,_0x497868['id'])||_0x3bae74}));}[_0x1f05f7(0x91)](){const _0x4c2ffb=_0x1f05f7;this[_0x4c2ffb(0x8f)](),this[_0x4c2ffb(0xa7)](),this[_0x4c2ffb(0xbd)]=void 0x0,this[_0x4c2ffb(0x81)]=void 0x0,this[_0x4c2ffb(0xba)]=void 0x0;}[_0x1f05f7(0x96)](){const _0x3a1756=_0x1f05f7;this[_0x3a1756(0xbb)][_0x3a1756(0x8b)]=!0x1;}[_0x1f05f7(0x8c)](){const _0x3cbbbc=_0x1f05f7;this[_0x3cbbbc(0xbb)][_0x3cbbbc(0x8b)]=!0x0;}[_0x1f05f7(0xb0)](){const _0x57a6e5=_0x1f05f7;this[_0x57a6e5(0x84)](_0x57a6e5(0xb0),{'origin':_0x57a6e5(0x80)});}[_0x1f05f7(0x7d)](){const _0x4e9efd=_0x1f05f7;_0x5d7240({'emitter':this,'activator':()=>this[_0x4e9efd(0x9b)],'contextElements':()=>{const _0x5c7d33=_0x4e9efd,_0x42ca2e=[this[_0x5c7d33(0xb5)]];return this[_0x5c7d33(0x81)]&&_0x42ca2e[_0x5c7d33(0xc0)](this[_0x5c7d33(0x81)]),_0x42ca2e;},'callback':()=>{const _0x265d41=_0x4e9efd;this[_0x265d41(0x8f)](),this[_0x265d41(0xa7)](),this[_0x265d41(0xb0)](),this[_0x265d41(0x81)]=void 0x0,this[_0x265d41(0xbd)]=void 0x0,this[_0x265d41(0xba)]=void 0x0;}});}[_0x1f05f7(0xc3)](){const _0x4b2356=_0x1f05f7,_0x527a92=new _0x23c205();return this[_0x4b2356(0xbb)]=new _0x58bf7d(this[_0x4b2356(0x7a)],''),this[_0x4b2356(0xbb)][_0x4b2356(0xa8)][_0x4b2356(0xb2)]({'attributes':{'class':[_0x4b2356(0xb8)]}}),this[_0x4b2356(0xbb)][_0x4b2356(0x9a)](_0x4b2356(0xad),_0x4b2356(0xac))['to'](this),_0x527a92[_0x4b2356(0xa9)]({'tag':_0x4b2356(0x8d),'attributes':{'class':[_0x4b2356(0xb1),_0x4b2356(0xa2),this[_0x4b2356(0x85)]['if'](_0x4b2356(0xb9),_0x4b2356(0x98))]},'children':[{'tag':'p','attributes':{'class':[_0x4b2356(0x99)]},'children':[this[_0x4b2356(0xbb)]]}]}),_0x527a92;}[_0x1f05f7(0xaf)](_0x58968c,_0x437fd1,_0x2053aa,_0x53c8d7,_0x32701a){const _0xe53043=_0x1f05f7;if(!_0x58968c)return null;const _0x504a2b=this[_0xe53043(0xa5)][_0xe53043(0x88)](_0xe53043(0x78),''),_0x289e72=Array[_0xe53043(0xa1)](_0x58968c[_0xe53043(0x87)]());let _0xedd0e7,_0x4ef562=_0x289e72[_0xe53043(0xaa)]();return void 0x0!==_0x437fd1&&this[_0xe53043(0x77)](_0x4ef562[_0x437fd1],_0x53c8d7,_0x32701a)?(_0xedd0e7=_0x4ef562[_0x437fd1],this[_0xe53043(0xbd)]=_0x437fd1):this[_0xe53043(0x77)](_0x4ef562[0x0],_0x53c8d7,_0x32701a)&&void 0x0===_0x437fd1?_0xedd0e7=_0x4ef562[0x0]:(_0x4ef562='s'==_0x504a2b[0x0]?[..._0x289e72][_0xe53043(0xaa)]():_0x289e72,_0x4ef562[_0xe53043(0xc2)](_0x12949c=>{const _0x379355=_0xe53043;this[_0x379355(0x77)](_0x12949c,_0x53c8d7,_0x32701a)&&(_0xedd0e7=_0x12949c);})),this[_0xe53043(0xba)]=_0x2053aa,this[_0xe53043(0x81)]=_0x58968c,_0xedd0e7||_0x58968c[_0xe53043(0x7c)]();}[_0x1f05f7(0x8e)](_0x4e0010,_0x5a6bd6,_0x6ae54b){const _0xf390fc=_0x1f05f7;if(!_0x4e0010)return null;const _0x2e77a5=Array[_0xf390fc(0xa1)](_0x4e0010[_0xf390fc(0x87)]())[_0xf390fc(0xaa)]();if(void 0x0===this[_0xf390fc(0xbd)]&&void 0x0!==_0x5a6bd6&&this[_0xf390fc(0xba)]!==_0x6ae54b)return this[_0xf390fc(0xbd)]=_0x5a6bd6,this[_0xf390fc(0x81)]=_0x4e0010,this[_0xf390fc(0xba)]=_0x6ae54b,_0x2e77a5[_0x5a6bd6];if(void 0x0!==this[_0xf390fc(0xbd)]&&this[_0xf390fc(0xba)]===_0x6ae54b){if(_0x4e0010!==this[_0xf390fc(0x81)])return Array[_0xf390fc(0xa1)](this[_0xf390fc(0x81)][_0xf390fc(0x87)]())[_0xf390fc(0xaa)]()[this[_0xf390fc(0xbd)]];return _0x2e77a5[this[_0xf390fc(0xbd)]];}return void 0x0!==_0x5a6bd6&&this[_0xf390fc(0xba)]!==_0x6ae54b?(this[_0xf390fc(0xbd)]=_0x5a6bd6,this[_0xf390fc(0x81)]=_0x4e0010,this[_0xf390fc(0xba)]=_0x6ae54b,_0x2e77a5[_0x5a6bd6]):_0x4e0010[_0xf390fc(0x7c)]();}[_0x1f05f7(0xa3)](_0x92cb67,_0xc6b1a){const _0x798998=_0x1f05f7;if(_0x92cb67)for(let _0xa47c4e=0x0;_0xa47c4e<_0xc6b1a[_0x798998(0x7f)];_0xa47c4e++){const _0x154b76=_0xc6b1a[_0xa47c4e];if(_0x92cb67[_0x798998(0x9e)]>=_0x154b76[_0x798998(0x8a)]-0x3&&_0x92cb67[_0x798998(0x9e)]<=_0x154b76[_0x798998(0x83)]+0x3&&_0x92cb67[_0x798998(0xbe)]>=_0x154b76[_0x798998(0x9c)]-0x3&&_0x92cb67[_0x798998(0xbe)]<=_0x154b76[_0x798998(0x74)]+0x3)return _0xa47c4e;}}[_0x1f05f7(0x77)](_0x44491f,_0x210abd,_0x19d408){const _0x2242ae=_0x1f05f7,_0xa7d944=new _0x7a7d2b(_0x44491f),_0x560e81=_0x210abd||document[_0x2242ae(0xa4)],_0x92b8ab=_0xa7d944[_0x2242ae(0xc1)](_0x424530(_0x19d408)),_0x3a6b61=new _0x7a7d2b(_0x560e81)[_0x2242ae(0xc1)](_0xa7d944);return!!(_0x92b8ab&&_0x3a6b61&&_0xa7d944[_0x2242ae(0x9d)]>0x0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xaa5fd9=_0x5e83;(function(_0x1d47dc,_0x45495f){const _0x304453=_0x5e83,_0x16d68c=_0x1d47dc();while(!![]){try{const _0x564779=-parseInt(_0x304453(0x126))/0x1+parseInt(_0x304453(0x157))/0x2+parseInt(_0x304453(0x117))/0x3+-parseInt(_0x304453(0x13d))/0x4+parseInt(_0x304453(0x141))/0x5*(parseInt(_0x304453(0x114))/0x6)+-parseInt(_0x304453(0x143))/0x7*(-parseInt(_0x304453(0x132))/0x8)+parseInt(_0x304453(0x14e))/0x9*(parseInt(_0x304453(0x158))/0xa);if(_0x564779===_0x45495f)break;else _0x16d68c['push'](_0x16d68c['shift']());}catch(_0x275f1e){_0x16d68c['push'](_0x16d68c['shift']());}}}(_0x5bc1,0x864ba));function _0x5e83(_0x53e522,_0x2b208d){const _0x5bc131=_0x5bc1();return _0x5e83=function(_0x5e8342,_0x5c74bb){_0x5e8342=_0x5e8342-0x10e;let _0x36c7cc=_0x5bc131[_0x5e8342];return _0x36c7cc;},_0x5e83(_0x53e522,_0x2b208d);}import{View as _0x1729de,ButtonView as _0x424993}from'ckeditor5/src/ui.js';function _0x5bc1(){const _0x5ead26=['changeId','accepted','mouseover','26973otgsrx','bind','setItemAsActive','outdatedButtonView','showDiff','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','fire','ck-ai_review__check-run-result-footer','disabled','2074974llTwcg','3580dugccN','pending','ck-reset_all-excluded','ck-ai-button-secondary','status','bindTemplate','deactivateChange','ck-content','resultResponseView','setTemplate','tagName','dismissButtonView','66426aZtBvk','stopPropagation','label','484761gJHdgf','ck-ai_review__check-run-result-dismiss-button','activateChange','set','hover','extendTemplate','mouseout','dismissChange','ck-ai-button-tertiary','infoButtonView','_createInfoButtonView','ck-ai_review__check-run-result-accept-button','isEnabled','div','ck-ai_review__check-run-result','1004259aSZqks','AI_REVIEW_MODE_DISMISS_CHANGE','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','_createDismissButtonView','acceptChange','ck-hidden','icon','menuitemcheckbox','change:status','_createResultResponseView','locale','isInfoToggleOn','832952BupeNg','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','isOn','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','_createAcceptButtonView','ck-ai_review__check-run-result-status-button','target','isActive','panel','acceptButtonView','ck-ai_review__check-run-result_active','3774268Cvwlco','preventDefault','setItemAsInactive','AI_REVIEW_MODE_LEARN_MORE','55aFglfy','_createOutdatedButtonView','7gZiTtT','rejected','ck-ai_review__check-run-result-response','ck-ai_review__check-run-result-action-buttons','execute','AI_REVIEW_MODE_ACCEPT_CHANGE','click','outdated'];_0x5bc1=function(){return _0x5ead26;};return _0x5bc1();}import{IconInfo as _0x1c4287,IconCheck as _0x3797a0,IconCancel as _0x253e8e,IconOutdated as _0x364ea6}from'ckeditor5/src/icons.js';import{getTranslation as _0x3618df}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x1729de{[_0xaa5fd9(0x110)];[_0xaa5fd9(0x13b)];[_0xaa5fd9(0x113)];[_0xaa5fd9(0x120)];[_0xaa5fd9(0x151)];constructor(_0x42084d,_0x332756){const _0x106b4f=_0xaa5fd9;super(_0x42084d),this['id']=_0x332756,this[_0x106b4f(0x11a)](_0x106b4f(0x15c),_0x106b4f(0x159)),this[_0x106b4f(0x11a)](_0x106b4f(0x14b),_0x332756),this[_0x106b4f(0x110)]=this[_0x106b4f(0x12f)](),this[_0x106b4f(0x13b)]=this[_0x106b4f(0x136)](),this[_0x106b4f(0x113)]=this[_0x106b4f(0x129)](),this[_0x106b4f(0x120)]=this[_0x106b4f(0x121)](),this[_0x106b4f(0x151)]=this[_0x106b4f(0x142)](),this[_0x106b4f(0x11a)](_0x106b4f(0x131),!0x1),this[_0x106b4f(0x11a)](_0x106b4f(0x139),!0x1),this[_0x106b4f(0x11a)](_0x106b4f(0x152),!0x0),this[_0x106b4f(0x111)]({'tag':_0x106b4f(0x124),'attributes':{'class':[_0x106b4f(0x125),this[_0x106b4f(0x15d)]['if'](_0x106b4f(0x139),_0x106b4f(0x13c))]},'on':{'click':this[_0x106b4f(0x15d)]['to'](_0x106b4f(0x149)),'mouseover':this[_0x106b4f(0x15d)]['to'](_0x106b4f(0x14d)),'mouseout':this[_0x106b4f(0x15d)]['to'](_0x106b4f(0x11d))},'children':[this[_0x106b4f(0x110)],{'tag':_0x106b4f(0x124),'attributes':{'class':[_0x106b4f(0x155)]},'children':[{'tag':_0x106b4f(0x124),'attributes':{'class':[_0x106b4f(0x146)]},'children':[this[_0x106b4f(0x13b)],this[_0x106b4f(0x113)],this[_0x106b4f(0x151)]]},this[_0x106b4f(0x120)]]}]}),this['on'](_0x106b4f(0x149),(_0x3cc5ef,_0x22a3c8)=>{const _0x3e3f11=_0x106b4f;_0x22a3c8&&_0x22a3c8[_0x3e3f11(0x138)]&&'A'===_0x22a3c8[_0x3e3f11(0x138)][_0x3e3f11(0x112)]&&_0x22a3c8[_0x3e3f11(0x13e)](),this[_0x3e3f11(0x154)](_0x3e3f11(0x119),{'id':_0x332756,'source':this,'uiInteraction':_0x3e3f11(0x149)});}),this['on'](_0x106b4f(0x14d),()=>{const _0x3e1bed=_0x106b4f;this[_0x3e1bed(0x154)](_0x3e1bed(0x119),{'id':_0x332756,'source':this,'uiInteraction':_0x3e1bed(0x11b)});}),this['on'](_0x106b4f(0x11d),()=>{const _0x2f4a74=_0x106b4f;this[_0x2f4a74(0x154)](_0x2f4a74(0x10e),{'origin':_0x2f4a74(0x13a),'id':_0x332756,'source':this});});}[_0xaa5fd9(0x150)](){const _0x171118=_0xaa5fd9;this[_0x171118(0x139)]=!0x0;}[_0xaa5fd9(0x13f)](){const _0x255079=_0xaa5fd9;this[_0x255079(0x139)]=!0x1;}[_0xaa5fd9(0x12f)](){const _0x3f6bba=_0xaa5fd9,_0x228b56=new _0x1729de(this[_0x3f6bba(0x130)]);return _0x228b56[_0x3f6bba(0x111)]({'tag':_0x3f6bba(0x124),'attributes':{'class':['ck',_0x3f6bba(0x10f),_0x3f6bba(0x15a),_0x3f6bba(0x145),this[_0x3f6bba(0x15d)]['if'](_0x3f6bba(0x152),_0x3f6bba(0x12b),_0x494885=>!_0x494885)]}}),_0x228b56;}[_0xaa5fd9(0x136)](){const _0x5c9220=_0xaa5fd9,_0x4dc807=new _0x424993(this[_0x5c9220(0x130)]);return _0x4dc807[_0x5c9220(0x11a)]({'label':_0x3618df(this[_0x5c9220(0x130)],_0x5c9220(0x148)),'withText':!0x0}),_0x4dc807[_0x5c9220(0x11c)]({'on':{'click':this[_0x5c9220(0x15d)]['to'](_0x9fe99b=>{const _0x32e5e2=_0x5c9220;this[_0x32e5e2(0x154)](_0x32e5e2(0x12a),{'id':this[_0x32e5e2(0x14b)]}),_0x9fe99b[_0x32e5e2(0x115)]();})},'attributes':{'class':[_0x5c9220(0x15b),_0x5c9220(0x122),this[_0x5c9220(0x15d)]['if'](_0x5c9220(0x15c),_0x5c9220(0x12b),_0x13775a=>_0x5c9220(0x159)!==_0x13775a&&_0x5c9220(0x14c)!==_0x13775a),this[_0x5c9220(0x15d)]['if'](_0x5c9220(0x15c),_0x5c9220(0x122),_0x262bc7=>_0x5c9220(0x159)===_0x262bc7),this[_0x5c9220(0x15d)]['if'](_0x5c9220(0x15c),_0x5c9220(0x137),_0x80455c=>_0x5c9220(0x14c)===_0x80455c)]}}),this['on'](_0x5c9220(0x12e),(_0x53114b,_0x38830d,_0x39d347)=>{const _0x453a36=_0x5c9220;_0x4dc807[_0x453a36(0x123)]=_0x453a36(0x159)===_0x39d347,_0x453a36(0x14c)===_0x39d347&&(_0x4dc807[_0x453a36(0x116)]=_0x3618df(this[_0x453a36(0x130)],_0x453a36(0x128)),_0x4dc807[_0x453a36(0x12c)]=_0x3797a0);}),_0x4dc807;}[_0xaa5fd9(0x129)](){const _0x1366d5=_0xaa5fd9,_0xcb7b46=new _0x424993(this[_0x1366d5(0x130)]);return _0xcb7b46[_0x1366d5(0x11a)]({'label':_0x3618df(this[_0x1366d5(0x130)],_0x1366d5(0x127)),'withText':!0x0}),_0xcb7b46[_0x1366d5(0x11c)]({'on':{'click':this[_0x1366d5(0x15d)]['to'](_0x4016b3=>{const _0x2f0033=_0x1366d5;this[_0x2f0033(0x154)](_0x2f0033(0x11e),{'id':this[_0x2f0033(0x14b)]}),_0x4016b3[_0x2f0033(0x115)]();})},'attributes':{'class':[_0x1366d5(0x11f),this[_0x1366d5(0x15d)]['if'](_0x1366d5(0x15c),_0x1366d5(0x12b),_0x4f24b5=>_0x1366d5(0x159)!==_0x4f24b5&&_0x1366d5(0x144)!==_0x4f24b5),this[_0x1366d5(0x15d)]['if'](_0x1366d5(0x15c),_0x1366d5(0x118),_0x4624a8=>_0x1366d5(0x159)===_0x4624a8),this[_0x1366d5(0x15d)]['if'](_0x1366d5(0x15c),_0x1366d5(0x137),_0x1233f2=>_0x1366d5(0x144)===_0x1233f2)]}}),this['on'](_0x1366d5(0x12e),(_0x4ecc8a,_0x12ec61,_0x1f231f)=>{const _0x55f4f0=_0x1366d5;_0xcb7b46[_0x55f4f0(0x123)]=_0x55f4f0(0x159)===_0x1f231f,_0x55f4f0(0x144)===_0x1f231f&&(_0xcb7b46[_0x55f4f0(0x116)]=_0x3618df(this[_0x55f4f0(0x130)],_0x55f4f0(0x153)),_0xcb7b46[_0x55f4f0(0x12c)]=_0x253e8e);}),_0xcb7b46;}[_0xaa5fd9(0x121)](){const _0x2c8c08=_0xaa5fd9,_0x1601d3=new _0x424993(this[_0x2c8c08(0x130)]);return _0x1601d3[_0x2c8c08(0x11a)]({'label':_0x3618df(this[_0x2c8c08(0x130)],_0x2c8c08(0x140)),'icon':_0x1c4287,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x2c8c08(0x12d),'class':_0x2c8c08(0x135)}),_0x1601d3[_0x2c8c08(0x14f)](_0x2c8c08(0x134))['to'](this,_0x2c8c08(0x131),_0x4f7c86=>_0x4f7c86),_0x1601d3['on'](_0x2c8c08(0x147),()=>{const _0x5ed2a9=_0x2c8c08;this[_0x5ed2a9(0x131)]=!this[_0x5ed2a9(0x131)];}),_0x1601d3;}[_0xaa5fd9(0x142)](){const _0x68a39a=_0xaa5fd9,_0x5c8883=new _0x424993(this[_0x68a39a(0x130)]);return _0x5c8883[_0x68a39a(0x11a)]({'label':_0x3618df(this[_0x68a39a(0x130)],_0x68a39a(0x133)),'icon':_0x364ea6,'withText':!0x0,'isEnabled':!0x1}),_0x5c8883[_0x68a39a(0x11c)]({'attributes':{'class':[_0x68a39a(0x15b),_0x68a39a(0x137),this[_0x68a39a(0x15d)]['if'](_0x68a39a(0x15c),_0x68a39a(0x12b),_0x24d527=>_0x68a39a(0x14a)!==_0x24d527)],'disabled':_0x68a39a(0x156)}}),_0x5c8883;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x3c79ad,KeystrokeHandler as _0xfb95f9,FocusTracker as _0x561b85}from'ckeditor5/src/utils.js';import{View as _0x128195,ViewCollection as _0x22375c,ButtonView as _0x16a8aa,FormRowView as _0x222f89,createDropdown as _0x4a9cdb,addListToDropdown as _0x19d81c,UIModel as _0x1c09e9,ButtonLabelView as _0x1d947f,LabeledFieldView as _0x14cda8,FocusCycler as _0x537609}from'ckeditor5/src/ui.js';import{getTranslation as _0x2f9a9f}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0xadfe27}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x128195{['focusTracker']=new _0x561b85();['keystrokes']=new _0xfb95f9();['focusCycler'];['_focusables']=new _0x22375c();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x5b8ff8,_0x5d8dc3,_0x411ccd=!0x1){super(_0x5b8ff8),this['_check']=_0x5d8dc3,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x5d8dc3['defaultModel']?_0x5d8dc3['defaultModel']['id']:'',this['_defaultLabel']=_0x5d8dc3['defaultModel']?_0x5d8dc3['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x14cda8(this['locale'],()=>new _0xadfe27(_0x5b8ff8)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x3c79ad(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x411ccd),_0x19d81c(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x222f89(this['locale'],{'children':[this['promptInputView']]}),new _0x222f89(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x4e985a,_0x4ad5b2)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x4ad5b2()):_0x4ad5b2();}),this['focusCycler']=new _0x537609({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x2e86cd=>{this['_focusables']['add'](_0x2e86cd),this['focusTracker']['add'](_0x2e86cd['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x57f7d0 of this['_getFormValidators']()){const _0x12bbf0=_0x57f7d0();if(_0x12bbf0)return this['promptInputView']['errorText']=_0x12bbf0,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x2f9a9f(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x4b052f=new _0x16a8aa(this['locale']),t=this['locale']['t'];return _0x4b052f['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x4b052f['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x4b052f;}['_createCancelButtonView'](){const _0x59b272=new _0x16a8aa(this['locale']),t=this['locale']['t'];return _0x59b272['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x59b272['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x47e706=>{_0x47e706['stopPropagation']();})}}),_0x59b272['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x59b272;}['_setModelList'](_0x3f6742){this['_modelSelectionDropdownItems']['clear']();const _0x2b676b=this['_check']['models'];if(_0x3f6742)this['set']('modelDisplayMode','hidden');else{const _0x17d5c8=0x1===_0x2b676b['length'];this['set']('modelDisplayMode',_0x17d5c8?'name':'selector');}if(this['resetToDefault'](),_0x2b676b?.['length']){0x1===_0x2b676b['length']&&this['set']('activeModelName',_0x2b676b[0x0]['name']||_0x2b676b[0x0]['id']);for(const _0x3466de of _0x2b676b){const _0x1998e6=new _0x1c09e9({'label':_0x3466de['name'],'withText':!0x0,'role':'menuitemradio','id':_0x3466de['id'],'model':_0x3466de});_0x1998e6['bind']('isOn')['to'](this,'modelId',_0x5826fb=>_0x5826fb===_0x3466de['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x1998e6,'labelView':new ko(this['locale'],_0x3466de)});}}}['_createModelSelectionDropdown'](){const _0x219f8c=_0x4a9cdb(this['locale']);return _0x219f8c['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x219f8c['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x219f8c['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x5c7f5f=>'selector'===_0x5c7f5f),this['listenTo'](_0x219f8c,'execute',_0x22d5e4=>{this['modelId']=_0x22d5e4['source']['model']['id'],_0x219f8c['buttonView']['label']=_0x22d5e4['source']['label'];}),_0x219f8c;}['_createModelNameView'](){const _0x30c73a=new _o(this['locale']);return _0x30c73a['bind']('text')['to'](this,'activeModelName',_0x1732db=>_0x1732db??''),_0x30c73a['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3380b2=>'name'===_0x3380b2),_0x30c73a;}['_createActionsFooterView'](){const _0x29c7f5=new _0x128195(this['locale']);return _0x29c7f5['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x29c7f5;}}class _o extends _0x128195{constructor(_0x38b7ea){super(_0x38b7ea),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x3e5861=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x3e5861['if']('isVisible','ck-hidden',_0x209085=>!_0x209085)]},'children':[{'text':_0x3e5861['to']('text')}]});}}class ko extends _0x1d947f{constructor(_0x75fabd,_0xefab8a){super();const _0x28fc35=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x28fc35['to']('style'),'id':_0x28fc35['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x28fc35['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0xefab8a['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x84dba,_0x48fc23){var _0x4099ca=_0x18f3,_0x4a95a5=_0x84dba();while(!![]){try{var _0x1d1cba=parseInt(_0x4099ca(0x159))/0x1*(-parseInt(_0x4099ca(0x14e))/0x2)+parseInt(_0x4099ca(0x14f))/0x3*(-parseInt(_0x4099ca(0x154))/0x4)+parseInt(_0x4099ca(0x151))/0x5*(parseInt(_0x4099ca(0x153))/0x6)+-parseInt(_0x4099ca(0x156))/0x7*(parseInt(_0x4099ca(0x157))/0x8)+parseInt(_0x4099ca(0x158))/0x9+parseInt(_0x4099ca(0x14d))/0xa+parseInt(_0x4099ca(0x152))/0xb;if(_0x1d1cba===_0x48fc23)break;else _0x4a95a5['push'](_0x4a95a5['shift']());}catch(_0x24e0ed){_0x4a95a5['push'](_0x4a95a5['shift']());}}}(_0x5636,0x86969));function _0x18f3(_0x18804b,_0x59c562){var _0x563691=_0x5636();return _0x18f3=function(_0x18f358,_0xa04f98){_0x18f358=_0x18f358-0x14b;var _0x7f14f7=_0x563691[_0x18f358];return _0x7f14f7;},_0x18f3(_0x18804b,_0x59c562);}function _0x5636(){var _0x1bfc02=['finishReview','7176790bTOtsP','34TfyZEX','408705CuCnas','ck-ai-button-primary','2410FqdCGP','3442648xAPdfk','888KOLjpy','4eRIPrK','fire','2723399NOhxtG','8pfazVa','376659DROfBS','3957QUKtEr','execute','set'];_0x5636=function(){return _0x1bfc02;};return _0x5636();}import{ButtonView as _0x57e89e}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x57e89e{constructor(_0xcddb19,_0x2315bc){var _0x10b8bd=_0x18f3;super(_0x2315bc),this[_0x10b8bd(0x14b)]({'label':_0xcddb19,'withText':!0x0,'class':_0x10b8bd(0x150)}),this['on'](_0x10b8bd(0x15a),()=>{var _0x2a1502=_0x10b8bd;this[_0x2a1502(0x155)](_0x2a1502(0x14c));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5e1b(_0x2122af,_0x3f1546){const _0x146574=_0x1465();return _0x5e1b=function(_0x5e1b63,_0x11711f){_0x5e1b63=_0x5e1b63-0x147;let _0x231218=_0x146574[_0x5e1b63];return _0x231218;},_0x5e1b(_0x2122af,_0x3f1546);}(function(_0x496d6e,_0x1f6979){const _0x3c56e7=_0x5e1b,_0x517928=_0x496d6e();while(!![]){try{const _0x349e9d=parseInt(_0x3c56e7(0x14c))/0x1+parseInt(_0x3c56e7(0x152))/0x2*(-parseInt(_0x3c56e7(0x158))/0x3)+parseInt(_0x3c56e7(0x151))/0x4*(parseInt(_0x3c56e7(0x157))/0x5)+parseInt(_0x3c56e7(0x150))/0x6+-parseInt(_0x3c56e7(0x14e))/0x7*(parseInt(_0x3c56e7(0x155))/0x8)+parseInt(_0x3c56e7(0x153))/0x9+-parseInt(_0x3c56e7(0x14b))/0xa;if(_0x349e9d===_0x1f6979)break;else _0x517928['push'](_0x517928['shift']());}catch(_0x6b0006){_0x517928['push'](_0x517928['shift']());}}}(_0x1465,0x67580));import{View as _0x1d995b}from'ckeditor5/src/ui.js';function _0x1465(){const _0x1c8d08=['48XogXnp','ck-ai_review__general-error-container','set','errorMessage','ck-hidden','bindTemplate','2221120fTMYSb','635725FENrXG','div','5470129MtfnDR','ck\x20ck-ai-notification\x20ck-ai-notification_error','538458hkXIXE','632WRDonC','7054kDoYgb','6420789EaLGyN','setTemplate','8LKVbWZ','isVisible','1405QFAyAs'];_0x1465=function(){return _0x1c8d08;};return _0x1465();}export class AIReviewCoreGeneralErrorView extends _0x1d995b{constructor(_0x533923){const _0x4ecf0c=_0x5e1b;super(_0x533923),this[_0x4ecf0c(0x147)](_0x4ecf0c(0x156),!0x1),this[_0x4ecf0c(0x147)](_0x4ecf0c(0x148),'');const _0x57700c=this[_0x4ecf0c(0x14a)];this[_0x4ecf0c(0x154)]({'tag':_0x4ecf0c(0x14d),'attributes':{'class':['ck',_0x4ecf0c(0x159),_0x57700c['if'](_0x4ecf0c(0x156),_0x4ecf0c(0x149),_0x543b74=>!_0x543b74)]},'children':[{'tag':'p','attributes':{'class':_0x4ecf0c(0x14f)},'children':[{'text':_0x57700c['to'](_0x4ecf0c(0x148))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2b85f4=_0x23e8;(function(_0x1254e0,_0x34a88a){var _0x464a38=_0x23e8,_0x9db191=_0x1254e0();while(!![]){try{var _0x25a4d4=parseInt(_0x464a38(0x93))/0x1*(parseInt(_0x464a38(0x8b))/0x2)+-parseInt(_0x464a38(0x8f))/0x3*(-parseInt(_0x464a38(0x94))/0x4)+parseInt(_0x464a38(0x8e))/0x5+parseInt(_0x464a38(0x9a))/0x6+-parseInt(_0x464a38(0x98))/0x7*(parseInt(_0x464a38(0x99))/0x8)+parseInt(_0x464a38(0x86))/0x9*(-parseInt(_0x464a38(0x9d))/0xa)+-parseInt(_0x464a38(0x87))/0xb*(-parseInt(_0x464a38(0x8d))/0xc);if(_0x25a4d4===_0x34a88a)break;else _0x9db191['push'](_0x9db191['shift']());}catch(_0x14da40){_0x9db191['push'](_0x9db191['shift']());}}}(_0x350c,0xd53a3));import{TextareaView as _0x1dd154}from'ckeditor5/src/ui.js';function _0x23e8(_0x6b83c5,_0x5e01bd){var _0x350c79=_0x350c();return _0x23e8=function(_0x23e884,_0x53a74d){_0x23e884=_0x23e884-0x83;var _0x442417=_0x350c79[_0x23e884];return _0x442417;},_0x23e8(_0x6b83c5,_0x5e01bd);}function _0x350c(){var _0x4bc8e8=['ck-review__prompt-input','10BNpEyH','MIN_ROWS','value','listenTo','maxRows','13844655eKsIUL','1206271RPmkoK','keystrokes','set','trim','1196986YjRUeA','render','192ZrxErf','671710yKcsmb','13377UEiAhb','isEmpty','update','ai-review-prompt-input','1ugpvqT','1228XRzLmz','element','minRows','MAX_ROWS','42MMIBVA','2151592LVrmML','1014264vJudEn','extendTemplate'];_0x350c=function(){return _0x4bc8e8;};return _0x350c();}import{KeystrokeHandler as _0x3f88dc}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x1dd154{[_0x2b85f4(0x88)];static [_0x2b85f4(0x9e)]=0x1;static [_0x2b85f4(0x97)]=0xc;constructor(_0x364a62){var _0x3ad95e=_0x2b85f4;super(_0x364a62),this[_0x3ad95e(0x89)](_0x3ad95e(0x90),!0x0),this[_0x3ad95e(0x88)]=new _0x3f88dc(),this[_0x3ad95e(0x96)]=AIReviewCorePromptInputView[_0x3ad95e(0x9e)],this[_0x3ad95e(0x85)]=AIReviewCorePromptInputView[_0x3ad95e(0x97)],this[_0x3ad95e(0x9b)]({'attributes':{'id':_0x3ad95e(0x92),'class':['ck',_0x3ad95e(0x9c)]}});}[_0x2b85f4(0x8c)](){var _0x51f17b=_0x2b85f4;super[_0x51f17b(0x8c)](),this['on'](_0x51f17b(0x91),()=>{var _0x33c69a=_0x51f17b;this[_0x33c69a(0x90)]=''===this[_0x33c69a(0x95)][_0x33c69a(0x83)]?.[_0x33c69a(0x8a)]();}),this[_0x51f17b(0x88)][_0x51f17b(0x84)](this[_0x51f17b(0x95)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41b22a=_0x5dc7;(function(_0xe84bb4,_0x43ec5d){const _0x5539e9=_0x5dc7,_0x57efaf=_0xe84bb4();while(!![]){try{const _0x280e2e=-parseInt(_0x5539e9(0x1e0))/0x1+-parseInt(_0x5539e9(0x1ef))/0x2+parseInt(_0x5539e9(0x1e1))/0x3+parseInt(_0x5539e9(0x1dd))/0x4*(parseInt(_0x5539e9(0x1d6))/0x5)+parseInt(_0x5539e9(0x1d4))/0x6+parseInt(_0x5539e9(0x1e3))/0x7*(-parseInt(_0x5539e9(0x1ee))/0x8)+-parseInt(_0x5539e9(0x1db))/0x9*(-parseInt(_0x5539e9(0x1e2))/0xa);if(_0x280e2e===_0x43ec5d)break;else _0x57efaf['push'](_0x57efaf['shift']());}catch(_0x197011){_0x57efaf['push'](_0x57efaf['shift']());}}}(_0x2a9a,0x3b6c7));import{ListItemView as _0x59cb9e,ViewCollection as _0x48c354}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x34b767}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';function _0x5dc7(_0x43f864,_0x78dd4f){const _0x2a9a97=_0x2a9a();return _0x5dc7=function(_0x5dc7be,_0x287af9){_0x5dc7be=_0x5dc7be-0x1d4;let _0x32f8cc=_0x2a9a97[_0x5dc7be];return _0x32f8cc;},_0x5dc7(_0x43f864,_0x78dd4f);}export class AIReviewCoreReviewCheckListView extends _0x59cb9e{[_0x41b22a(0x1e5)];constructor(_0x31fc6a){const _0x47bbb2=_0x41b22a;super(_0x31fc6a),this[_0x47bbb2(0x1e5)]=new _0x48c354(),this[_0x47bbb2(0x1d9)]();}[_0x41b22a(0x1e9)](_0x54a48e,_0x270d05=!0x1){const _0x461d42=_0x41b22a;this[_0x461d42(0x1e5)][_0x461d42(0x1dc)]();for(const [_0x2d3e88,_0x3d12f6]of _0x54a48e[_0x461d42(0x1d5)]()){const _0x5d8891=new _0x34b767(this[_0x461d42(0x1e7)],_0x3d12f6,_0x2d3e88,_0x270d05);_0x5d8891[_0x461d42(0x1d8)](_0x461d42(0x1e6))['to'](this),this[_0x461d42(0x1e5)][_0x461d42(0x1d7)](_0x5d8891);}}[_0x41b22a(0x1e8)](){const _0x4884d3=_0x41b22a;return this[_0x4884d3(0x1e5)][_0x4884d3(0x1de)]>0x0;}[_0x41b22a(0x1e4)](){const _0x21df4c=_0x41b22a;for(const _0x30e67e of this[_0x21df4c(0x1e5)])_0x30e67e instanceof _0x34b767&&_0x30e67e[_0x21df4c(0x1ea)]();}[_0x41b22a(0x1d9)](){const _0x35e45c=_0x41b22a,_0x20e737=this[_0x35e45c(0x1ed)];this[_0x35e45c(0x1da)]({'tag':_0x35e45c(0x1df),'attributes':{'class':[_0x35e45c(0x1f0),_0x20e737['if'](_0x35e45c(0x1ec),_0x35e45c(0x1eb),_0x2b8357=>!_0x2b8357)]},'children':this[_0x35e45c(0x1e5)]});}}function _0x2a9a(){const _0x5c283f=['2309166MXZSiO','entries','92695idwFtM','add','delegate','_setupTemplate','setTemplate','9qYUhfV','clear','8ApWwbU','length','div','240075RHQFva','1355598tFPpMu','5168290QiSlsi','1288mztvjm','resetAllParameterizedChecks','_checkViews','runReviewCheck','locale','hasChecks','setChecks','resetToDefault','ck-hidden','isVisible','bindTemplate','18752irHmjF','951728GDDuNX','ck-ai_review__check-list'];_0x2a9a=function(){return _0x5c283f;};return _0x2a9a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x3d5ae3,IconView as _0x4265a6,View as _0x4845bf,ViewCollection as _0x4a1099,ButtonView as _0x5338a0,clickOutsideHandler as _0x5ed4ef}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x3c1c91}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x3b46df}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x5dfc5d}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x3d5ae3{['_formItemsCollection']=new _0x4a1099();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x40a477,_0x4305ec,_0xac50e1,_0x14e713=!0x1){super(_0x40a477),this['_hideModels']=_0x14e713,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x4305ec['isParameterized']);const _0x551ee8=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x382e59=>_0x382e59),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x3da6ef=>_0x3da6ef)],'style':{'--ck-ai-review-check-list-item-index':_0xac50e1}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x4305ec['title']}]},_0x551ee8]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x4305ec['description']?[{'text':_0x4305ec['description']}]:[]}]}]},..._0x4305ec['isParameterized']?[this['_createParameterizedView'](_0x4305ec)]:[],...'custom'===_0x4305ec['id']?[this['_createCustomView'](_0x4305ec,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x4305ec['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x4305ec['id'],'args':_0x4305ec['useArgs']?_0x4305ec['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x5ed4ef({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x45e5d1=>{_0x45e5d1['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x354a1c=new _0x4265a6();return _0x354a1c['content']=_0x3c1c91,_0x354a1c['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x354a1c;}['_createParameterizedView'](_0x31a821){const _0x11a57f=new _0x4845bf(),_0x42f880=this['_createFormView'](_0x31a821);return _0x11a57f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x26d5eb=>!_0x26d5eb)]},'children':[_0x42f880]}),_0x11a57f;}['_createFormView'](_0x341fbb){const _0x4041a7=new _0x4845bf(),_0x4d204f=Array['isArray'](_0x341fbb['options'])?_0x341fbb['options']:[],_0x347914=new _0x5338a0(this['locale']),t=this['locale']['t'];_0x347914['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x347914['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x288a76=>{_0x288a76['stopPropagation']();})}}),_0x347914['on']('execute',()=>{const _0x230d22=[],_0x359b88={};this['_formItemsCollection']['forEach'](_0x5a1239=>{_0x230d22['push'](_0x5a1239['value']),_0x341fbb['useArgs']&&_0x341fbb['options']&&(_0x359b88[_0x5a1239['argsKey']]=_0x5a1239['value']);}),this['fire']('runReviewCheck',{'id':_0x341fbb['id'],'params':_0x230d22['length']?_0x230d22:void 0x0,'args':Object['keys'](_0x359b88)['length']?_0x359b88:void 0x0});});const _0x36aea8=_0x4d204f['length'];return _0x4d204f['forEach']((_0x2c8443,_0x2faba7)=>{const _0x2267e6=_0x2faba7===_0x36aea8-0x1;this['_formItemsCollection']['add'](new _0x3b46df(this['locale'],_0x2c8443,_0x2267e6?_0x347914:null));}),_0x4041a7['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x4041a7;}['_createCustomView'](_0x242fa2,_0x4fd314=!0x1){return this['_customCheckView']=new _0x5dfc5d(this['locale'],_0x242fa2,_0x4fd314),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x5d9e87=>!_0x5d9e87)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x245a53,_0x10fa3e,_0x2fe27a)=>{_0x2fe27a||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xb500(){const _0x2c785b=['div','628130IQyDHy','_resultsHeader','11OlWOOS','_createFinishReviewButtonView','56736jZNXgG','emptyResultsText','_createResultHeaderView','headerText','279933fgbPRZ','700787LnWrfP','setTemplate','4lHgcJB','ck-ai_review__review-completed-header','finishReview','ck-ai_review__review-completed-content-icon','ck-ai_review__review-completed-content-text','ck-ai_review__review-completed-header-title','7772690DQSdpK','bindTemplate','ck-ai_review__review-completed-content','798847yEXXbT','delegate','ck-hidden','584FQBocZ','_finishReviewButtonView','ck-ai_review__review-completed','ck-ai_review__review-completed-header-buttons','18vRTeFh','span','buttonText','767595yXOkjh','locale','isVisible'];_0xb500=function(){return _0x2c785b;};return _0xb500();}const _0x5809fd=_0x4de0;(function(_0x109d48,_0x45495c){const _0x4e577b=_0x4de0,_0x35de3a=_0x109d48();while(!![]){try{const _0xa18818=parseInt(_0x4e577b(0x134))/0x1+-parseInt(_0x4e577b(0x14d))/0x2+parseInt(_0x4e577b(0x133))/0x3+parseInt(_0x4e577b(0x136))/0x4*(-parseInt(_0x4e577b(0x149))/0x5)+parseInt(_0x4e577b(0x146))/0x6*(parseInt(_0x4e577b(0x13f))/0x7)+-parseInt(_0x4e577b(0x142))/0x8*(-parseInt(_0x4e577b(0x151))/0x9)+parseInt(_0x4e577b(0x13c))/0xa*(-parseInt(_0x4e577b(0x14f))/0xb);if(_0xa18818===_0x45495c)break;else _0x35de3a['push'](_0x35de3a['shift']());}catch(_0x5d41e2){_0x35de3a['push'](_0x35de3a['shift']());}}}(_0xb500,0x55e38));import{ListItemView as _0x5e9085,View as _0x70b3b9}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0xa42e17}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x4de0(_0x1d8f9d,_0x25ab80){const _0xb50033=_0xb500();return _0x4de0=function(_0x4de0bc,_0x1631e5){_0x4de0bc=_0x4de0bc-0x131;let _0x2cf7b6=_0xb50033[_0x4de0bc];return _0x2cf7b6;},_0x4de0(_0x1d8f9d,_0x25ab80);}export class AIReviewCoreReviewCompletedView extends _0x5e9085{[_0x5809fd(0x14e)];[_0x5809fd(0x143)];constructor(_0xf29d5f,_0x4ade14){const _0x52acdf=_0x5809fd;super(_0xf29d5f),this[_0x52acdf(0x143)]=this[_0x52acdf(0x150)](_0x4ade14[_0x52acdf(0x148)]),this[_0x52acdf(0x14e)]=this[_0x52acdf(0x131)](_0x4ade14[_0x52acdf(0x132)]);const _0x4b09c3=this[_0x52acdf(0x13d)];this[_0x52acdf(0x135)]({'tag':_0x52acdf(0x14c),'attributes':{'class':[_0x52acdf(0x144),_0x4b09c3['if'](_0x52acdf(0x14b),_0x52acdf(0x141),_0x56a1c8=>!_0x56a1c8)]},'children':[this[_0x52acdf(0x14e)],{'tag':_0x52acdf(0x14c),'attributes':{'class':[_0x52acdf(0x13e)]},'children':[{'tag':_0x52acdf(0x147),'attributes':{'class':[_0x52acdf(0x139)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x52acdf(0x13a)]},'children':[{'text':_0x4ade14[_0x52acdf(0x152)]}]}]}]});}[_0x5809fd(0x150)](_0x3ae7e1){const _0x639643=_0x5809fd,_0x9af7e7=new _0xa42e17(_0x3ae7e1,this[_0x639643(0x14a)]);return _0x9af7e7[_0x639643(0x140)](_0x639643(0x138))['to'](this),_0x9af7e7;}[_0x5809fd(0x131)](_0x251d4b){const _0x1d26e9=_0x5809fd,_0xbf85b2=new _0x70b3b9(this[_0x1d26e9(0x14a)]);return _0xbf85b2[_0x1d26e9(0x135)]({'tag':_0x1d26e9(0x14c),'attributes':{'class':[_0x1d26e9(0x137)]},'children':[{'tag':_0x1d26e9(0x147),'attributes':{'class':[_0x1d26e9(0x13b)]},'children':[{'text':_0x251d4b}]},{'tag':_0x1d26e9(0x14c),'attributes':{'class':[_0x1d26e9(0x145)]},'children':[this[_0x1d26e9(0x143)]]}]}),_0xbf85b2;}}
|