@ckeditor/ckeditor5-ai 47.7.3 → 47.7.4
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/build/ai.js +1 -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/package.json +16 -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.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.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.d.ts +21 -14
- 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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x3a8ae1=_0x3ca5;function _0x3ca5(_0x2292c9,_0x241c8b){var _0x109b0e=_0x109b();return _0x3ca5=function(_0x3ca5a7,_0x54baa4){_0x3ca5a7=_0x3ca5a7-0x1f4;var _0x59bacb=_0x109b0e[_0x3ca5a7];return _0x59bacb;},_0x3ca5(_0x2292c9,_0x241c8b);}(function(_0x225197,_0x2bdabe){var _0x2c165a=_0x3ca5,_0x42e3fe=_0x225197();while(!![]){try{var _0xe7d6dc=parseInt(_0x2c165a(0x1f6))/0x1+-parseInt(_0x2c165a(0x201))/0x2*(-parseInt(_0x2c165a(0x1f7))/0x3)+parseInt(_0x2c165a(0x1fa))/0x4+parseInt(_0x2c165a(0x207))/0x5*(parseInt(_0x2c165a(0x1fb))/0x6)+-parseInt(_0x2c165a(0x1f4))/0x7*(parseInt(_0x2c165a(0x202))/0x8)+-parseInt(_0x2c165a(0x205))/0x9*(parseInt(_0x2c165a(0x1f9))/0xa)+-parseInt(_0x2c165a(0x203))/0xb*(parseInt(_0x2c165a(0x1fd))/0xc);if(_0xe7d6dc===_0x2bdabe)break;else _0x42e3fe['push'](_0x42e3fe['shift']());}catch(_0x31a64d){_0x42e3fe['push'](_0x42e3fe['shift']());}}}(_0x109b,0xd0bfc));function _0x109b(){var _0x3ad7b0=['2798534jFlOUT','16DzEaKw','187eWGmrC','apiId','2853opIAqK','isParameterized','7845hzfDei','29176csXABH','options','363630PurhlL','3ZsBrYQ','description','19280HlJCRX','4574652tpjgZM','1530vVBbdW','commandId','1293252UlYEGC','args','useArgs','title'];_0x109b=function(){return _0x3ad7b0;};return _0x109b();}export class AIReviewCheck{['id'];[_0x3a8ae1(0x1fc)];[_0x3a8ae1(0x200)];[_0x3a8ae1(0x1f8)];[_0x3a8ae1(0x206)];[_0x3a8ae1(0x1ff)];[_0x3a8ae1(0x1f5)];[_0x3a8ae1(0x1fe)];get[_0x3a8ae1(0x204)](){var _0x48dc7b=_0x3a8ae1;return this[_0x48dc7b(0x1fc)];}constructor(_0x3989fe){var _0x31ff51=_0x3a8ae1;this['id']=_0x3989fe['id'],this[_0x31ff51(0x1fc)]=_0x3989fe[_0x31ff51(0x1fc)],this[_0x31ff51(0x200)]=_0x3989fe[_0x31ff51(0x200)],this[_0x31ff51(0x1f8)]=_0x3989fe[_0x31ff51(0x1f8)],this[_0x31ff51(0x206)]=_0x3989fe[_0x31ff51(0x206)],this[_0x31ff51(0x1ff)]=_0x3989fe[_0x31ff51(0x1ff)],this[_0x31ff51(0x1f5)]=_0x3989fe[_0x31ff51(0x1f5)],this[_0x31ff51(0x1fe)]=_0x3989fe[_0x31ff51(0x1fe)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x22f4ef=_0x4109;(function(_0x8be1c0,_0x2635c1){var _0x381470=_0x4109,_0x6213e6=_0x8be1c0();while(!![]){try{var _0x38c5b5=-parseInt(_0x381470(0xf7))/0x1*(parseInt(_0x381470(0xfd))/0x2)+-parseInt(_0x381470(0xf6))/0x3+-parseInt(_0x381470(0x102))/0x4*(-parseInt(_0x381470(0xf0))/0x5)+parseInt(_0x381470(0xf2))/0x6*(-parseInt(_0x381470(0xf8))/0x7)+-parseInt(_0x381470(0xfe))/0x8*(-parseInt(_0x381470(0xfc))/0x9)+-parseInt(_0x381470(0xff))/0xa+parseInt(_0x381470(0xf4))/0xb;if(_0x38c5b5===_0x2635c1)break;else _0x6213e6['push'](_0x6213e6['shift']());}catch(_0x460f09){_0x6213e6['push'](_0x6213e6['shift']());}}}(_0x3a18,0x6eb6c));function _0x4109(_0x3456b8,_0x1ae4b6){var _0x3a1861=_0x3a18();return _0x4109=function(_0x41096b,_0x2fd894){_0x41096b=_0x41096b-0xf0;var _0x919c6a=_0x3a1861[_0x41096b];return _0x919c6a;},_0x4109(_0x3456b8,_0x1ae4b6);}import{ObservableMixin as _0x5d81d4}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x550ed9}from'./aireviewcheck.js';export class AIReviewCheckList extends _0x5d81d4(){[_0x22f4ef(0xf5)]=[];[_0x22f4ef(0x101)](_0x4a35d1){var _0x187a25=_0x22f4ef;this[_0x187a25(0xf5)]=_0x4a35d1[_0x187a25(0xf3)](_0x1a80ea=>new _0x550ed9(_0x1a80ea));}get[_0x22f4ef(0x100)](){var _0x569af8=_0x22f4ef;return this[_0x569af8(0xf5)];}[_0x22f4ef(0xfa)](_0x76428e){var _0x56d1c0=_0x22f4ef;return this[_0x56d1c0(0x100)][_0x56d1c0(0xf1)](_0x389bc7=>_0x389bc7['id']===_0x76428e);}[_0x22f4ef(0xf9)](_0x4e2e79){var _0x22b79f=_0x22f4ef;this[_0x22b79f(0xf5)]=this[_0x22b79f(0xf5)][_0x22b79f(0xfb)](_0x4cc353=>_0x4cc353['id']!==_0x4e2e79);}}function _0x3a18(){var _0xbd6172=['12130129CGRgMV','_checks','1747392EXnSDm','106nHcSCJ','24409YFnExm','removeCheckById','getCheckById','filter','18wKWqUv','8824tXMAJk','1917144HGoURN','1252700nXFGNj','checks','setupChecks','91352gNUDCR','95VdeUEy','find','666MnacZw','map'];_0x3a18=function(){return _0xbd6172;};return _0x3a18();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x523f08=_0x5a43;function _0x5a43(_0x22dc8d,_0x15c058){var _0xcb6908=_0xcb69();return _0x5a43=function(_0x5a43da,_0x3263ad){_0x5a43da=_0x5a43da-0x174;var _0x278d7b=_0xcb6908[_0x5a43da];return _0x278d7b;},_0x5a43(_0x22dc8d,_0x15c058);}(function(_0x4f6920,_0x250a34){var _0x155a5e=_0x5a43,_0x58f5dd=_0x4f6920();while(!![]){try{var _0x240b4a=-parseInt(_0x155a5e(0x174))/0x1+parseInt(_0x155a5e(0x178))/0x2*(parseInt(_0x155a5e(0x17b))/0x3)+-parseInt(_0x155a5e(0x17e))/0x4*(-parseInt(_0x155a5e(0x177))/0x5)+parseInt(_0x155a5e(0x17a))/0x6*(parseInt(_0x155a5e(0x17d))/0x7)+-parseInt(_0x155a5e(0x181))/0x8*(-parseInt(_0x155a5e(0x179))/0x9)+-parseInt(_0x155a5e(0x180))/0xa+parseInt(_0x155a5e(0x17c))/0xb;if(_0x240b4a===_0x250a34)break;else _0x58f5dd['push'](_0x58f5dd['shift']());}catch(_0x5114a9){_0x58f5dd['push'](_0x58f5dd['shift']());}}}(_0xcb69,0xcdd24));import{EmitterMixin as _0x3c86fd}from'ckeditor5/src/utils.js';function _0xcb69(){var _0xeabab4=['612wAwvcn','4293984lRXzgH','1648944IiDvzh','7931CcMaTT','4UhGlDg','documentVersion','15407720rPNBzo','287576pgYngu','950568hoeTWO','contentInitial','contentNew','8008195qPQvZd','2pLlreP','9uuGVIG'];_0xcb69=function(){return _0xeabab4;};return _0xcb69();}export class AIReviewCheckResult extends _0x3c86fd(){['id'];[_0x523f08(0x176)];[_0x523f08(0x175)];[_0x523f08(0x17f)];constructor({id:_0x1529d3,contentNew:_0x19a131,contentInitial:_0x568d65,documentVersion:_0x2abfaa}){var _0x2bd8bb=_0x523f08;super(),this['id']=_0x1529d3,this[_0x2bd8bb(0x176)]=_0x19a131,this[_0x2bd8bb(0x175)]=_0x568d65,this[_0x2bd8bb(0x17f)]=_0x2abfaa;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x150276=_0x24fc;(function(_0x422aa8,_0x16e9b4){var _0x419c4c=_0x24fc,_0x21d827=_0x422aa8();while(!![]){try{var _0x57ae42=parseInt(_0x419c4c(0x193))/0x1+parseInt(_0x419c4c(0x196))/0x2*(-parseInt(_0x419c4c(0x191))/0x3)+-parseInt(_0x419c4c(0x192))/0x4*(-parseInt(_0x419c4c(0x190))/0x5)+parseInt(_0x419c4c(0x18a))/0x6+parseInt(_0x419c4c(0x18c))/0x7+-parseInt(_0x419c4c(0x199))/0x8+parseInt(_0x419c4c(0x18e))/0x9;if(_0x57ae42===_0x16e9b4)break;else _0x21d827['push'](_0x21d827['shift']());}catch(_0x26bba9){_0x21d827['push'](_0x21d827['shift']());}}}(_0x56f6,0x8b6a7));import{ObservableMixin as _0x3f40dc}from'ckeditor5/src/utils.js';function _0x56f6(){var _0x495fd9=['isActivated','2596131GBdTOt','contentDiffed','76895afqDvS','201biwyPR','40qnxeHA','243437knzKdo','isRated','operationsIsolated','33822LLyLQV','parent','_editorOperations','315216DCpWnW','change:status','_data','operations','status','context','set','3005028EBjtwN','pending','3898734kFJaoV'];_0x56f6=function(){return _0x495fd9;};return _0x56f6();}function _0x24fc(_0x49efcd,_0x433c86){var _0x56f6d0=_0x56f6();return _0x24fc=function(_0x24fc7d,_0x4b11fd){_0x24fc7d=_0x24fc7d-0x189;var _0x565eeb=_0x56f6d0[_0x24fc7d];return _0x565eeb;},_0x24fc(_0x49efcd,_0x433c86);}export class AIReviewCheckResultChange extends _0x3f40dc(){['id'];[_0x150276(0x197)];[_0x150276(0x19b)];[_0x150276(0x198)]=[];constructor(_0x4f4e60,_0x5d5844,_0x44734b){var _0x5786b5=_0x150276;super(),this['id']=_0x4f4e60,this[_0x5786b5(0x197)]=_0x44734b,this[_0x5786b5(0x19b)]=_0x5d5844,this[_0x5786b5(0x189)](_0x5786b5(0x18d),!0x1),this[_0x5786b5(0x189)](_0x5786b5(0x194),!0x1),this[_0x5786b5(0x189)](_0x5786b5(0x19d),_0x5786b5(0x18b)),this['on'](_0x5786b5(0x19a),()=>{var _0x7515b1=_0x5786b5;_0x7515b1(0x18b)!==this[_0x7515b1(0x19d)]&&this[_0x7515b1(0x18d)]&&(this[_0x7515b1(0x18d)]=!0x1);});}get[_0x150276(0x18f)](){var _0x1f7720=_0x150276;return this[_0x1f7720(0x19b)][_0x1f7720(0x19e)]();}get[_0x150276(0x19c)](){var _0x47559d=_0x150276;return this[_0x47559d(0x19b)][_0x47559d(0x19c)];}get[_0x150276(0x195)](){var _0x142b3d=_0x150276;return this[_0x142b3d(0x19b)][_0x142b3d(0x195)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e82bb=_0x5bab;(function(_0x46a1bd,_0x300560){const _0x99c2ff=_0x5bab,_0xf8b92f=_0x46a1bd();while(!![]){try{const _0x154970=-parseInt(_0x99c2ff(0x11f))/0x1+parseInt(_0x99c2ff(0xf9))/0x2+-parseInt(_0x99c2ff(0xd2))/0x3*(parseInt(_0x99c2ff(0x120))/0x4)+parseInt(_0x99c2ff(0xcc))/0x5+parseInt(_0x99c2ff(0xee))/0x6*(parseInt(_0x99c2ff(0xcf))/0x7)+parseInt(_0x99c2ff(0x114))/0x8*(parseInt(_0x99c2ff(0x103))/0x9)+-parseInt(_0x99c2ff(0xd6))/0xa;if(_0x154970===_0x300560)break;else _0xf8b92f['push'](_0xf8b92f['shift']());}catch(_0x28e10b){_0xf8b92f['push'](_0xf8b92f['shift']());}}}(_0x1682,0xb3ea9));import{ObservableMixin as _0x3f42b5,uid as _0x3ce602}from'ckeditor5/src/utils.js';function _0x5bab(_0x80cffc,_0x255846){const _0x168228=_0x1682();return _0x5bab=function(_0x5babec,_0x32a31b){_0x5babec=_0x5babec-0xbe;let _0xe39ccb=_0x168228[_0x5babec];return _0xe39ccb;},_0x5bab(_0x80cffc,_0x255846);}import{AIReviewCheckResult as _0x427e04}from'./aireviewcheckresult.js';function _0x1682(){const _0x9e5b4f=['initialized','sendRating','finished','isChangeActive','status','abortController','9pPCIkf','loading','error-chunk','_changes','change:isActivated','_wasAborted','set','_sendRatingRequest','_reviewParams','abort','_sourceCheck','reviewCheckResultChangeStatusUpdated','callId','updateDocumentData','subTitle','change:status','start','1669896DNtPPV','outdated','some','markChangeAsPending','markChangeAsOutdated','currentError','reviewCheckResultReady','pending','push','_reviewArgs','aborted','484907TpUPCv','652fcYnXN','_activeRequest','reviewCheckResultAdded','find','documentData','unmodified','_createApiRequest','accepted','clear','forEach','getStream','reviewName','isAnyChangeActivated','_checkIfFinished','isRated','getContent','dataId','6884685nkDdGt','version','getChangeById','7BzwIqL','_documentData','reviewCheckRunUpdated','15303Nqonwt','length','error-general','markChangeAsAccepted','6379290zXwnyQ','_addReviewCheckResult','hasModifications','processedResultsCount','ready','reviewCheckResultActivated','_aiConnector','filter','parent','deactivateChange','review-metadata','includes','message','error','_results','getActiveChanges','textDelta','markChangeAsRejected','restart','rejected','size','ai-request-aborted','event','operation','2280534yMEjUW','addResultChanges','forceReadyState','_currentError','reviewCheckResultDeactivated','activateChange','markAllChangesAsAccepted','fire','get','isActivated','data','1450946LbhwiK','elements','title','every'];_0x1682=function(){return _0x9e5b4f;};return _0x1682();}import{AIReviewCheckResultChange as _0x8e3c80}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x3f42b5(){['id']=_0x3ce602();[_0x5e82bb(0x10f)];[_0x5e82bb(0xe4)]=new Map();[_0x5e82bb(0x106)]=[];[_0x5e82bb(0x10d)];[_0x5e82bb(0xd0)];[_0x5e82bb(0xdc)];[_0x5e82bb(0x10b)];[_0x5e82bb(0x11d)];[_0x5e82bb(0x121)]=null;[_0x5e82bb(0xf1)];[_0x5e82bb(0x108)]=!0x1;constructor(_0x24ca87,_0x3affbc,_0x49ec69,_0x5c0593,_0x37d660){const _0x457894=_0x5e82bb;super(),this[_0x457894(0x10d)]=_0x3affbc,this[_0x457894(0xd0)]=_0x24ca87,this[_0x457894(0xdc)]=_0x49ec69,this[_0x457894(0x10b)]=_0x5c0593,this[_0x457894(0x11d)]=_0x37d660,this['on'](_0x457894(0x112),(_0xbcb486,_0x584ce2,_0x3e8b87)=>{const _0x202494=_0x457894;_0x202494(0x11e)==_0x3e8b87&&(this[_0x202494(0x108)]=!0x0),this[_0x202494(0xf5)](_0x202494(0xd1),{'status':_0x3e8b87,'run':this,'error':this[_0x202494(0xf1)]});}),this[_0x457894(0x109)](_0x457894(0x101),_0x457894(0xfd));}get[_0x5e82bb(0xbf)](){const _0x4a13e0=_0x5e82bb;return this[_0x4a13e0(0xd0)];}get[_0x5e82bb(0xd9)](){const _0x7b1bea=_0x5e82bb;return this[_0x7b1bea(0xe4)][_0x7b1bea(0xea)];}get[_0x5e82bb(0xfb)](){const _0x4d73cd=_0x5e82bb;return this[_0x4d73cd(0x10d)][_0x4d73cd(0xfb)];}get[_0x5e82bb(0x111)](){return'';}get[_0x5e82bb(0xc6)](){const _0xeac1ef=_0x5e82bb;return this[_0xeac1ef(0x10d)]['id'];}get[_0x5e82bb(0xd8)](){const _0xed29ab=_0x5e82bb;return!this[_0xed29ab(0x106)][_0xed29ab(0xfc)](_0x445d22=>_0xed29ab(0x11b)===_0x445d22[_0xed29ab(0x101)]);}get[_0x5e82bb(0x119)](){const _0x325873=_0x5e82bb;return this[_0x325873(0xf1)];}[_0x5e82bb(0x110)](_0x308dff){const _0x510b57=_0x5e82bb;this[_0x510b57(0xd0)]=_0x308dff;}async[_0x5e82bb(0x113)](){const _0x2c59b8=_0x5e82bb;this[_0x2c59b8(0x101)]=_0x2c59b8(0x104),this[_0x2c59b8(0xf1)]=void 0x0;try{this[_0x2c59b8(0x121)]=this[_0x2c59b8(0xc1)]();const _0x30d698=await this[_0x2c59b8(0x121)][_0x2c59b8(0xc5)]();this[_0x2c59b8(0x101)]=_0x2c59b8(0xf8);for await(const _0x4bdb6c of _0x30d698)_0x2c59b8(0xc0)!==_0x4bdb6c[_0x2c59b8(0xf8)][_0x2c59b8(0xed)]&&(_0x2c59b8(0xe3)!==_0x4bdb6c[_0x2c59b8(0xf8)][_0x2c59b8(0xed)]?_0x2c59b8(0xe0)!==_0x4bdb6c[_0x2c59b8(0xec)]?this[_0x2c59b8(0xd7)](_0x4bdb6c[_0x2c59b8(0xf8)][_0x2c59b8(0xcb)],_0x4bdb6c[_0x2c59b8(0xf8)][_0x2c59b8(0xe6)]):this[_0x2c59b8(0x10f)]=_0x4bdb6c[_0x2c59b8(0xf8)][_0x2c59b8(0x10f)]:this[_0x2c59b8(0x101)]=_0x2c59b8(0x105));_0x2c59b8(0x105)!==this[_0x2c59b8(0x101)]&&(0x0===this[_0x2c59b8(0xe4)][_0x2c59b8(0xea)]||0x0===this[_0x2c59b8(0x106)][_0x2c59b8(0xd3)]?this[_0x2c59b8(0x101)]=_0x2c59b8(0xc0):this[_0x2c59b8(0x101)]=_0x2c59b8(0xda));}catch(_0x30ecf9){this[_0x2c59b8(0xf1)]=_0x30ecf9,_0x30ecf9 instanceof Error&&_0x30ecf9[_0x2c59b8(0xe2)][_0x2c59b8(0xe1)](_0x2c59b8(0xeb))?this[_0x2c59b8(0x101)]=_0x2c59b8(0x11e):this[_0x2c59b8(0x101)]=_0x2c59b8(0xd4);}finally{this[_0x2c59b8(0x121)]=null;}}async[_0x5e82bb(0xe8)](){const _0x1bdb48=_0x5e82bb;this[_0x1bdb48(0xe4)][_0x1bdb48(0xc3)](),this[_0x1bdb48(0x106)][_0x1bdb48(0xd3)]=0x0,this[_0x1bdb48(0xf1)]=void 0x0,await this[_0x1bdb48(0x113)]();}[_0x5e82bb(0xef)](_0xe62f0,_0x324bd0){const _0x132271=_0x5e82bb,_0x40ebbb=this[_0x132271(0xe4)][_0x132271(0xf6)](_0xe62f0);if(!_0x40ebbb)return;if(0x0===_0x324bd0[_0x132271(0xd3)])return;const _0x82d29e=[];_0x324bd0[_0x132271(0xc4)]((_0x528118,_0x26404e)=>{const _0x508c81=_0x132271,_0x2a155c=new _0x8e3c80(_0x40ebbb['id']+'-'+_0x26404e,_0x528118,_0x40ebbb);_0x2a155c['on'](_0x508c81(0x112),()=>{const _0x32dd68=_0x508c81;this[_0x32dd68(0xf5)](_0x32dd68(0x10e),{'change':_0x2a155c,'status':_0x2a155c[_0x32dd68(0x101)]});}),_0x2a155c['on'](_0x508c81(0x107),()=>{const _0x4cd008=_0x508c81;_0x2a155c[_0x4cd008(0xf7)]?this[_0x4cd008(0xf5)](_0x4cd008(0xdb),{'change':_0x2a155c}):this[_0x4cd008(0xf5)](_0x4cd008(0xf2),{'change':_0x2a155c});}),this[_0x508c81(0x106)][_0x508c81(0x11c)](_0x2a155c),_0x82d29e[_0x508c81(0x11c)](_0x2a155c);}),this[_0x132271(0xf5)](_0x132271(0x11a),{'changes':_0x82d29e,'result':_0x40ebbb,'source':this});}[_0x5e82bb(0x10c)](){const _0x11276a=_0x5e82bb;this[_0x11276a(0x121)]&&(this[_0x11276a(0x121)][_0x11276a(0x102)][_0x11276a(0x10c)](),this[_0x11276a(0x121)]=null,this[_0x11276a(0x101)]=_0x11276a(0x11e));}[_0x5e82bb(0x100)](_0x95fd7c){const _0x2e0429=_0x5e82bb,_0x637dc8=this[_0x2e0429(0x106)][_0x2e0429(0xbe)](_0x1b8ebb=>_0x1b8ebb['id']===_0x95fd7c);return!(!_0x637dc8||_0x2e0429(0x11b)!==_0x637dc8[_0x2e0429(0x101)]);}[_0x5e82bb(0xc7)](){const _0x48337c=_0x5e82bb;return this[_0x48337c(0x106)][_0x48337c(0x116)](_0x1eeb0a=>!0x0===_0x1eeb0a[_0x48337c(0xf7)]);}[_0x5e82bb(0xe5)](){const _0x1f1bed=_0x5e82bb;return this[_0x1f1bed(0x106)][_0x1f1bed(0xdd)](_0x593cbb=>_0x1f1bed(0x11b)===_0x593cbb[_0x1f1bed(0x101)]);}[_0x5e82bb(0xce)](_0x752346){const _0x25484c=_0x5e82bb;return this[_0x25484c(0x106)][_0x25484c(0xbe)](_0x13480e=>_0x13480e['id']===_0x752346);}[_0x5e82bb(0xf4)](){const _0x3f3d21=_0x5e82bb;for(const _0x406cb0 of this[_0x3f3d21(0x106)])_0x3f3d21(0x11b)===_0x406cb0[_0x3f3d21(0x101)]&&(_0x406cb0[_0x3f3d21(0x101)]=_0x3f3d21(0xc2));this[_0x3f3d21(0xc8)]();}[_0x5e82bb(0xd5)](_0x40f0c7){const _0x536355=_0x5e82bb,_0x1d1943=this[_0x536355(0x106)][_0x536355(0xbe)](_0x1861f1=>_0x1861f1['id']===_0x40f0c7);_0x1d1943&&_0x536355(0x11b)===_0x1d1943[_0x536355(0x101)]&&(_0x1d1943[_0x536355(0x101)]=_0x536355(0xc2)),this[_0x536355(0xc8)]();}[_0x5e82bb(0xe7)](_0x1901ae){const _0x22fb9c=_0x5e82bb,_0x48ba93=this[_0x22fb9c(0x106)][_0x22fb9c(0xbe)](_0x597534=>_0x597534['id']===_0x1901ae);_0x48ba93&&_0x22fb9c(0x11b)===_0x48ba93[_0x22fb9c(0x101)]&&(_0x48ba93[_0x22fb9c(0x101)]=_0x22fb9c(0xe9)),this[_0x22fb9c(0xc8)]();}[_0x5e82bb(0x118)](_0x59217b){const _0x57aa59=_0x5e82bb,_0x46359e=this[_0x57aa59(0x106)][_0x57aa59(0xbe)](_0x229f1d=>_0x229f1d['id']===_0x59217b);_0x46359e&&_0x57aa59(0x11b)===_0x46359e[_0x57aa59(0x101)]&&(_0x46359e[_0x57aa59(0x101)]=_0x57aa59(0x115)),this[_0x57aa59(0xc8)]();}[_0x5e82bb(0x117)](_0x564a28){const _0x4f4c9e=_0x5e82bb,_0x311039=this[_0x4f4c9e(0x106)][_0x4f4c9e(0xbe)](_0x500281=>_0x500281['id']===_0x564a28);_0x311039&&_0x4f4c9e(0x115)===_0x311039[_0x4f4c9e(0x101)]&&(_0x311039[_0x4f4c9e(0x101)]=_0x4f4c9e(0x11b)),this[_0x4f4c9e(0xc8)]();}[_0x5e82bb(0xf3)](_0x2a99db){const _0x143570=_0x5e82bb;this[_0x143570(0x106)][_0x143570(0xdd)](_0x20ab41=>_0x20ab41[_0x143570(0xf7)]&&_0x20ab41['id']!==_0x2a99db)[_0x143570(0xc4)](_0xded219=>{const _0x2256b3=_0x143570;_0xded219[_0x2256b3(0xf7)]=!0x1;});const _0x5b0d37=this[_0x143570(0x106)][_0x143570(0xbe)](_0x574075=>_0x574075['id']===_0x2a99db);_0x5b0d37&&_0x143570(0x11b)===_0x5b0d37[_0x143570(0x101)]&&(_0x5b0d37[_0x143570(0xf7)]=!0x0);}[_0x5e82bb(0xdf)](){const _0x44bfd1=_0x5e82bb;this[_0x44bfd1(0x106)][_0x44bfd1(0xdd)](_0x203d5c=>_0x203d5c[_0x44bfd1(0xf7)])[_0x44bfd1(0xc4)](_0x5ac151=>{const _0x1ef6be=_0x44bfd1;_0x5ac151[_0x1ef6be(0xf7)]=!0x1;});}[_0x5e82bb(0xf0)](){const _0x57bee1=_0x5e82bb;this[_0x57bee1(0x101)]=_0x57bee1(0xda);}async[_0x5e82bb(0xfe)](_0x335b7f){const _0x1d1502=_0x5e82bb;if(_0x1d1502(0xfd)===this[_0x1d1502(0x101)]||_0x1d1502(0x104)===this[_0x1d1502(0x101)]||_0x1d1502(0xf8)===this[_0x1d1502(0x101)]||this[_0x1d1502(0x108)])return;if(!this[_0x1d1502(0x10f)]||0x0===this[_0x1d1502(0x106)][_0x1d1502(0xd3)])return;let _0x29473c;if(_0x335b7f){const _0x4b59ae=this[_0x1d1502(0x106)][_0x1d1502(0xbe)](_0x1f4193=>_0x1f4193['id']===_0x335b7f);if(_0x4b59ae&&_0x4b59ae[_0x1d1502(0xc9)])return;_0x4b59ae&&(_0x29473c=_0x4b59ae[_0x1d1502(0xde)]['id'],_0x4b59ae[_0x1d1502(0xc9)]=!0x0);}const _0x3d04e0={'positiveCount':this[_0x1d1502(0x106)][_0x1d1502(0xdd)](_0xe4053e=>_0x1d1502(0xc2)===_0xe4053e[_0x1d1502(0x101)])[_0x1d1502(0xd3)],'totalCount':this[_0x1d1502(0x106)][_0x1d1502(0xd3)]};this[_0x1d1502(0x10a)](_0x3d04e0,this[_0x1d1502(0x10f)],_0x29473c);}[_0x5e82bb(0xd7)](_0x36a6a3,_0x3f83e3){const _0x5b20a1=_0x5e82bb,_0x4e88d7=this[_0x5b20a1(0xd0)][_0x5b20a1(0xfa)][_0x5b20a1(0xf6)](_0x36a6a3);if(!_0x4e88d7)return;const _0x4b612a=_0x4e88d7[_0x5b20a1(0xca)]();if(_0x4b612a===_0x3f83e3)return;const _0x45340e=new _0x427e04({'id':_0x36a6a3,'contentInitial':_0x4b612a,'contentNew':_0x3f83e3,'documentVersion':this[_0x5b20a1(0xd0)][_0x5b20a1(0xcd)]});this[_0x5b20a1(0xe4)][_0x5b20a1(0x109)](_0x45340e['id'],_0x45340e),this[_0x5b20a1(0xf5)](_0x5b20a1(0x122),{'result':_0x45340e,'source':this});}[_0x5e82bb(0xc8)](){const _0x48ec8d=_0x5e82bb;_0x48ec8d(0xff)===this[_0x48ec8d(0x101)]&&(this[_0x48ec8d(0x106)][_0x48ec8d(0xdd)](_0x311628=>_0x48ec8d(0x11b)===_0x311628[_0x48ec8d(0x101)])[_0x48ec8d(0xd3)]>0x0&&(this[_0x48ec8d(0x101)]=_0x48ec8d(0xda))),_0x48ec8d(0xda)===this[_0x48ec8d(0x101)]&&(0x0===this[_0x48ec8d(0x106)][_0x48ec8d(0xdd)](_0x13fc79=>_0x48ec8d(0x11b)===_0x13fc79[_0x48ec8d(0x101)])[_0x48ec8d(0xd3)]&&(this[_0x48ec8d(0x101)]=_0x48ec8d(0xff)));}}
|
|
23
|
+
function _0x5043(_0x5441e6,_0x16a73f){const _0x6b5044=_0x6b50();return _0x5043=function(_0x504364,_0x175472){_0x504364=_0x504364-0x11e;let _0x367a35=_0x6b5044[_0x504364];return _0x367a35;},_0x5043(_0x5441e6,_0x16a73f);}const _0x503154=_0x5043;(function(_0x232599,_0x19cedf){const _0x1fff49=_0x5043,_0x4fab48=_0x232599();while(!![]){try{const _0x1abe3c=parseInt(_0x1fff49(0x149))/0x1+-parseInt(_0x1fff49(0x154))/0x2+parseInt(_0x1fff49(0x174))/0x3+parseInt(_0x1fff49(0x178))/0x4*(parseInt(_0x1fff49(0x15b))/0x5)+-parseInt(_0x1fff49(0x129))/0x6*(parseInt(_0x1fff49(0x12d))/0x7)+-parseInt(_0x1fff49(0x14c))/0x8+parseInt(_0x1fff49(0x17e))/0x9;if(_0x1abe3c===_0x19cedf)break;else _0x4fab48['push'](_0x4fab48['shift']());}catch(_0x2badbb){_0x4fab48['push'](_0x4fab48['shift']());}}}(_0x6b50,0x6eb42));function _0x6b50(){const _0x4eaf0b=['_currentError','includes','reviewCheckResultDeactivated','error-chunk','markChangeAsAccepted','error-general','_wasAborted','change:isActivated','updateDocumentData','markAllChangesAsAccepted','6gZoPfM','rejected','_activeRequest','pending','4724594hOdvad','_aiConnector','markChangeAsOutdated','_checkIfFinished','reviewName','hasModifications','some','callId','parent','size','_changes','_sourceCheck','isAnyChangeActivated','reviewCheckResultActivated','_results','ready','getStream','markChangeAsPending','find','textDelta','error','change:status','isActivated','dataId','getActiveChanges','start','review-metadata','version','321645MKSnXL','forEach','_sendRatingRequest','1592992duAeho','aborted','every','accepted','clear','abort','currentError','_reviewParams','1446358zBHdHu','operation','reviewCheckResultAdded','_createApiRequest','isRated','initialized','reviewCheckResultChangeStatusUpdated','1004005EakWPn','getChangeById','title','filter','length','status','_documentData','abortController','get','_reviewArgs','reviewCheckRunUpdated','fire','documentData','subTitle','loading','ai-request-aborted','event','unmodified','activateChange','outdated','forceReadyState','sendRating','reviewCheckResultReady','addResultChanges','isChangeActive','1572645BGYIlX','markChangeAsRejected','elements','set','12CxGoje','restart','push','processedResultsCount','data','finished','5421816aCjLtZ','deactivateChange','getContent','message','_addReviewCheckResult'];_0x6b50=function(){return _0x4eaf0b;};return _0x6b50();}import{ObservableMixin as _0x2d0200,uid as _0x4c6f8a}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x324497}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x1fa250}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x2d0200(){['id']=_0x4c6f8a();[_0x503154(0x134)];[_0x503154(0x13b)]=new Map();[_0x503154(0x137)]=[];[_0x503154(0x138)];[_0x503154(0x161)];[_0x503154(0x12e)];[_0x503154(0x153)];[_0x503154(0x164)];[_0x503154(0x12b)]=null;[_0x503154(0x11f)];[_0x503154(0x125)]=!0x1;constructor(_0x2dac36,_0x47a888,_0x3739cc,_0x2ad208,_0x21ab40){const _0x545ee1=_0x503154;super(),this[_0x545ee1(0x138)]=_0x47a888,this[_0x545ee1(0x161)]=_0x2dac36,this[_0x545ee1(0x12e)]=_0x3739cc,this[_0x545ee1(0x153)]=_0x2ad208,this[_0x545ee1(0x164)]=_0x21ab40,this['on'](_0x545ee1(0x142),(_0x3bff63,_0x61d770,_0x21e912)=>{const _0x1dc1f8=_0x545ee1;_0x1dc1f8(0x14d)==_0x21e912&&(this[_0x1dc1f8(0x125)]=!0x0),this[_0x1dc1f8(0x166)](_0x1dc1f8(0x165),{'status':_0x21e912,'run':this,'error':this[_0x1dc1f8(0x11f)]});}),this[_0x545ee1(0x177)](_0x545ee1(0x160),_0x545ee1(0x159));}get[_0x503154(0x167)](){const _0x448882=_0x503154;return this[_0x448882(0x161)];}get[_0x503154(0x17b)](){const _0x1e0949=_0x503154;return this[_0x1e0949(0x13b)][_0x1e0949(0x136)];}get[_0x503154(0x15d)](){const _0x55cb61=_0x503154;return this[_0x55cb61(0x138)][_0x55cb61(0x15d)];}get[_0x503154(0x168)](){return'';}get[_0x503154(0x131)](){const _0x5b4ef1=_0x503154;return this[_0x5b4ef1(0x138)]['id'];}get[_0x503154(0x132)](){const _0x56f489=_0x503154;return!this[_0x56f489(0x137)][_0x56f489(0x14e)](_0x210550=>_0x56f489(0x12c)===_0x210550[_0x56f489(0x160)]);}get[_0x503154(0x152)](){const _0x45d040=_0x503154;return this[_0x45d040(0x11f)];}[_0x503154(0x127)](_0x110f25){const _0x1ddcc8=_0x503154;this[_0x1ddcc8(0x161)]=_0x110f25;}async[_0x503154(0x146)](){const _0x3e665d=_0x503154;this[_0x3e665d(0x160)]=_0x3e665d(0x169),this[_0x3e665d(0x11f)]=void 0x0;try{this[_0x3e665d(0x12b)]=this[_0x3e665d(0x157)]();const _0xf678f8=await this[_0x3e665d(0x12b)][_0x3e665d(0x13d)]();this[_0x3e665d(0x160)]=_0x3e665d(0x17c);for await(const _0x2cc312 of _0xf678f8)_0x3e665d(0x16c)!==_0x2cc312[_0x3e665d(0x17c)][_0x3e665d(0x155)]&&(_0x3e665d(0x141)!==_0x2cc312[_0x3e665d(0x17c)][_0x3e665d(0x155)]?_0x3e665d(0x147)!==_0x2cc312[_0x3e665d(0x16b)]?this[_0x3e665d(0x11e)](_0x2cc312[_0x3e665d(0x17c)][_0x3e665d(0x144)],_0x2cc312[_0x3e665d(0x17c)][_0x3e665d(0x140)]):this[_0x3e665d(0x134)]=_0x2cc312[_0x3e665d(0x17c)][_0x3e665d(0x134)]:this[_0x3e665d(0x160)]=_0x3e665d(0x122));_0x3e665d(0x122)!==this[_0x3e665d(0x160)]&&(0x0===this[_0x3e665d(0x13b)][_0x3e665d(0x136)]||0x0===this[_0x3e665d(0x137)][_0x3e665d(0x15f)]?this[_0x3e665d(0x160)]=_0x3e665d(0x16c):this[_0x3e665d(0x160)]=_0x3e665d(0x13c));}catch(_0x28cd22){this[_0x3e665d(0x11f)]=_0x28cd22,_0x28cd22 instanceof Error&&_0x28cd22[_0x3e665d(0x181)][_0x3e665d(0x120)](_0x3e665d(0x16a))?this[_0x3e665d(0x160)]=_0x3e665d(0x14d):this[_0x3e665d(0x160)]=_0x3e665d(0x124);}finally{this[_0x3e665d(0x12b)]=null;}}async[_0x503154(0x179)](){const _0x32e4ae=_0x503154;this[_0x32e4ae(0x13b)][_0x32e4ae(0x150)](),this[_0x32e4ae(0x137)][_0x32e4ae(0x15f)]=0x0,this[_0x32e4ae(0x11f)]=void 0x0,await this[_0x32e4ae(0x146)]();}[_0x503154(0x172)](_0x3f8962,_0x1c9122){const _0x11472a=_0x503154,_0x530c00=this[_0x11472a(0x13b)][_0x11472a(0x163)](_0x3f8962);if(!_0x530c00)return;if(0x0===_0x1c9122[_0x11472a(0x15f)])return;const _0x51a118=[];_0x1c9122[_0x11472a(0x14a)]((_0x5993c8,_0x2de260)=>{const _0x473cfa=_0x11472a,_0x9af2d3=new _0x1fa250(_0x530c00['id']+'-'+_0x2de260,_0x5993c8,_0x530c00);_0x9af2d3['on'](_0x473cfa(0x142),()=>{const _0x1dfed0=_0x473cfa;this[_0x1dfed0(0x166)](_0x1dfed0(0x15a),{'change':_0x9af2d3,'status':_0x9af2d3[_0x1dfed0(0x160)]});}),_0x9af2d3['on'](_0x473cfa(0x126),()=>{const _0x249a02=_0x473cfa;_0x9af2d3[_0x249a02(0x143)]?this[_0x249a02(0x166)](_0x249a02(0x13a),{'change':_0x9af2d3}):this[_0x249a02(0x166)](_0x249a02(0x121),{'change':_0x9af2d3});}),this[_0x473cfa(0x137)][_0x473cfa(0x17a)](_0x9af2d3),_0x51a118[_0x473cfa(0x17a)](_0x9af2d3);}),this[_0x11472a(0x166)](_0x11472a(0x171),{'changes':_0x51a118,'result':_0x530c00,'source':this});}[_0x503154(0x151)](){const _0x290de6=_0x503154;this[_0x290de6(0x12b)]&&(this[_0x290de6(0x12b)][_0x290de6(0x162)][_0x290de6(0x151)](),this[_0x290de6(0x12b)]=null,this[_0x290de6(0x160)]=_0x290de6(0x14d));}[_0x503154(0x173)](_0x32b5ca){const _0x1eaba0=_0x503154,_0x770bc=this[_0x1eaba0(0x137)][_0x1eaba0(0x13f)](_0x38d98a=>_0x38d98a['id']===_0x32b5ca);return!(!_0x770bc||_0x1eaba0(0x12c)!==_0x770bc[_0x1eaba0(0x160)]);}[_0x503154(0x139)](){const _0x427fd8=_0x503154;return this[_0x427fd8(0x137)][_0x427fd8(0x133)](_0x19ba6a=>!0x0===_0x19ba6a[_0x427fd8(0x143)]);}[_0x503154(0x145)](){const _0x47771f=_0x503154;return this[_0x47771f(0x137)][_0x47771f(0x15e)](_0x2555df=>_0x47771f(0x12c)===_0x2555df[_0x47771f(0x160)]);}[_0x503154(0x15c)](_0x4ff195){const _0x5b7732=_0x503154;return this[_0x5b7732(0x137)][_0x5b7732(0x13f)](_0x4cec72=>_0x4cec72['id']===_0x4ff195);}[_0x503154(0x128)](){const _0xa75987=_0x503154;for(const _0x331ae2 of this[_0xa75987(0x137)])_0xa75987(0x12c)===_0x331ae2[_0xa75987(0x160)]&&(_0x331ae2[_0xa75987(0x160)]=_0xa75987(0x14f));this[_0xa75987(0x130)]();}[_0x503154(0x123)](_0x3971fc){const _0x523c6c=_0x503154,_0x56674c=this[_0x523c6c(0x137)][_0x523c6c(0x13f)](_0x4bd19d=>_0x4bd19d['id']===_0x3971fc);_0x56674c&&_0x523c6c(0x12c)===_0x56674c[_0x523c6c(0x160)]&&(_0x56674c[_0x523c6c(0x160)]=_0x523c6c(0x14f)),this[_0x523c6c(0x130)]();}[_0x503154(0x175)](_0x2270f8){const _0x3c5ac8=_0x503154,_0x168524=this[_0x3c5ac8(0x137)][_0x3c5ac8(0x13f)](_0x15ca74=>_0x15ca74['id']===_0x2270f8);_0x168524&&_0x3c5ac8(0x12c)===_0x168524[_0x3c5ac8(0x160)]&&(_0x168524[_0x3c5ac8(0x160)]=_0x3c5ac8(0x12a)),this[_0x3c5ac8(0x130)]();}[_0x503154(0x12f)](_0x30f0d5){const _0x193ff3=_0x503154,_0x266659=this[_0x193ff3(0x137)][_0x193ff3(0x13f)](_0x6a0fc9=>_0x6a0fc9['id']===_0x30f0d5);_0x266659&&_0x193ff3(0x12c)===_0x266659[_0x193ff3(0x160)]&&(_0x266659[_0x193ff3(0x160)]=_0x193ff3(0x16e)),this[_0x193ff3(0x130)]();}[_0x503154(0x13e)](_0x516efe){const _0x47d46b=_0x503154,_0x356bb5=this[_0x47d46b(0x137)][_0x47d46b(0x13f)](_0x2689ab=>_0x2689ab['id']===_0x516efe);_0x356bb5&&_0x47d46b(0x16e)===_0x356bb5[_0x47d46b(0x160)]&&(_0x356bb5[_0x47d46b(0x160)]=_0x47d46b(0x12c)),this[_0x47d46b(0x130)]();}[_0x503154(0x16d)](_0x7b95c6){const _0x2652f3=_0x503154;this[_0x2652f3(0x137)][_0x2652f3(0x15e)](_0x4ebc78=>_0x4ebc78[_0x2652f3(0x143)]&&_0x4ebc78['id']!==_0x7b95c6)[_0x2652f3(0x14a)](_0x559380=>{const _0x52531e=_0x2652f3;_0x559380[_0x52531e(0x143)]=!0x1;});const _0x39d972=this[_0x2652f3(0x137)][_0x2652f3(0x13f)](_0x15eaf0=>_0x15eaf0['id']===_0x7b95c6);_0x39d972&&_0x2652f3(0x12c)===_0x39d972[_0x2652f3(0x160)]&&(_0x39d972[_0x2652f3(0x143)]=!0x0);}[_0x503154(0x17f)](){const _0x2604c8=_0x503154;this[_0x2604c8(0x137)][_0x2604c8(0x15e)](_0x5940db=>_0x5940db[_0x2604c8(0x143)])[_0x2604c8(0x14a)](_0x2fa140=>{const _0x586b54=_0x2604c8;_0x2fa140[_0x586b54(0x143)]=!0x1;});}[_0x503154(0x16f)](){const _0x3fee61=_0x503154;this[_0x3fee61(0x160)]=_0x3fee61(0x13c);}async[_0x503154(0x170)](_0x2f2c4e){const _0x4bf0de=_0x503154;if(_0x4bf0de(0x159)===this[_0x4bf0de(0x160)]||_0x4bf0de(0x169)===this[_0x4bf0de(0x160)]||_0x4bf0de(0x17c)===this[_0x4bf0de(0x160)]||this[_0x4bf0de(0x125)])return;if(!this[_0x4bf0de(0x134)]||0x0===this[_0x4bf0de(0x137)][_0x4bf0de(0x15f)])return;let _0x229710;if(_0x2f2c4e){const _0x32f83f=this[_0x4bf0de(0x137)][_0x4bf0de(0x13f)](_0x991dd3=>_0x991dd3['id']===_0x2f2c4e);if(_0x32f83f&&_0x32f83f[_0x4bf0de(0x158)])return;_0x32f83f&&(_0x229710=_0x32f83f[_0x4bf0de(0x135)]['id'],_0x32f83f[_0x4bf0de(0x158)]=!0x0);}const _0x5c6e9b={'positiveCount':this[_0x4bf0de(0x137)][_0x4bf0de(0x15e)](_0x388738=>_0x4bf0de(0x14f)===_0x388738[_0x4bf0de(0x160)])[_0x4bf0de(0x15f)],'totalCount':this[_0x4bf0de(0x137)][_0x4bf0de(0x15f)]};this[_0x4bf0de(0x14b)](_0x5c6e9b,this[_0x4bf0de(0x134)],_0x229710);}[_0x503154(0x11e)](_0x4e7b96,_0x5c5984){const _0x2a8ef4=_0x503154,_0x8ce97f=this[_0x2a8ef4(0x161)][_0x2a8ef4(0x176)][_0x2a8ef4(0x163)](_0x4e7b96);if(!_0x8ce97f)return;const _0x178129=_0x8ce97f[_0x2a8ef4(0x180)]();if(_0x178129===_0x5c5984)return;const _0x405d5b=new _0x324497({'id':_0x4e7b96,'contentInitial':_0x178129,'contentNew':_0x5c5984,'documentVersion':this[_0x2a8ef4(0x161)][_0x2a8ef4(0x148)]});this[_0x2a8ef4(0x13b)][_0x2a8ef4(0x177)](_0x405d5b['id'],_0x405d5b),this[_0x2a8ef4(0x166)](_0x2a8ef4(0x156),{'result':_0x405d5b,'source':this});}[_0x503154(0x130)](){const _0x44be7e=_0x503154;_0x44be7e(0x17d)===this[_0x44be7e(0x160)]&&(this[_0x44be7e(0x137)][_0x44be7e(0x15e)](_0x1c4036=>_0x44be7e(0x12c)===_0x1c4036[_0x44be7e(0x160)])[_0x44be7e(0x15f)]>0x0&&(this[_0x44be7e(0x160)]=_0x44be7e(0x13c))),_0x44be7e(0x13c)===this[_0x44be7e(0x160)]&&(0x0===this[_0x44be7e(0x137)][_0x44be7e(0x15e)](_0x637a9e=>_0x44be7e(0x12c)===_0x637a9e[_0x44be7e(0x160)])[_0x44be7e(0x15f)]&&(this[_0x44be7e(0x160)]=_0x44be7e(0x17d)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f8c22=_0x519b;(function(_0x3b5d88,_0x38c59f){const _0x390dba=_0x519b,_0x431ef8=_0x3b5d88();while(!![]){try{const _0x192f7b=parseInt(_0x390dba(0xe9))/0x1*(-parseInt(_0x390dba(0xfe))/0x2)+-parseInt(_0x390dba(0xee))/0x3+-parseInt(_0x390dba(0xf7))/0x4+-parseInt(_0x390dba(0xf9))/0x5*(parseInt(_0x390dba(0xe1))/0x6)+-parseInt(_0x390dba(0xf0))/0x7*(-parseInt(_0x390dba(0xfa))/0x8)+parseInt(_0x390dba(0xeb))/0x9+parseInt(_0x390dba(0xff))/0xa*(parseInt(_0x390dba(0xea))/0xb);if(_0x192f7b===_0x38c59f)break;else _0x431ef8['push'](_0x431ef8['shift']());}catch(_0x5d6b43){_0x431ef8['push'](_0x431ef8['shift']());}}}(_0x42ca,0x752eb));function _0x519b(_0x15feb0,_0x35c2ab){const _0x42ca5d=_0x42ca();return _0x519b=function(_0x519b2c,_0x22a2d7){_0x519b2c=_0x519b2c-0xdf;let _0x379726=_0x42ca5d[_0x519b2c];return _0x379726;},_0x519b(_0x15feb0,_0x35c2ab);}import{AIReviewCheckRun as _0x2d10e5}from'./aireviewcheckrun.js';function _0x42ca(){const _0x2a7c1c=['_reviewParams','push','find','length','upsertAIReviewRating','reviewName','apiId','1bylHup','11840543hepxQI','2323503yQuniG','_createApiRequest','_reviewArgs','2236863ceBrnu','_sourceCheck','21938ddyjzE','join','useArgs','_aiConnector','subTitle','options','label','1276084cnPfzW','content','71180hOpyrp','1592GvAhIV','callSystemReview','_documentData','data','770306KeRxCq','10AYjPIi','_composeReviewName','_sendRatingRequest','12TRGGxT'];_0x42ca=function(){return _0x2a7c1c;};return _0x42ca();}export class AIReviewSystemCheckRun extends _0x2d10e5{get[_0x2f8c22(0xf4)](){const _0x457ac2=_0x2f8c22;if(!this[_0x457ac2(0xe2)]||0x0===this[_0x457ac2(0xe2)][_0x457ac2(0xe5)])return'';const _0x131d61=[];if(this[_0x457ac2(0xe2)][_0x457ac2(0xe5)]>0x0&&this[_0x457ac2(0xef)][_0x457ac2(0xf5)])for(let _0x24eaa9=0x0;_0x24eaa9<this[_0x457ac2(0xe2)][_0x457ac2(0xe5)];_0x24eaa9++){if(!this[_0x457ac2(0xe2)][_0x24eaa9]||!this[_0x457ac2(0xef)][_0x457ac2(0xf5)][_0x24eaa9])continue;const _0x271d7f=this[_0x457ac2(0xef)][_0x457ac2(0xf5)][_0x24eaa9],_0x58d1ef=_0x271d7f[_0x457ac2(0xfd)]?.[_0x457ac2(0xe4)](_0x1449bf=>_0x1449bf['id']===this[_0x457ac2(0xe2)][_0x24eaa9]);_0x58d1ef&&_0x131d61[_0x457ac2(0xe3)](_0x58d1ef[_0x457ac2(0xf6)]);}return _0x131d61[_0x457ac2(0xf1)](',\x20');}get[_0x2f8c22(0xe7)](){const _0x3819b6=_0x2f8c22;return this[_0x3819b6(0xdf)]();}[_0x2f8c22(0xec)](){const _0xbde27f=_0x2f8c22;return this[_0xbde27f(0xf3)][_0xbde27f(0xfb)]({'reviewName':this[_0xbde27f(0xdf)](),'content':this[_0xbde27f(0xfc)][_0xbde27f(0xf8)],'args':this[_0xbde27f(0xed)]});}[_0x2f8c22(0xe0)](_0x1b17e1,_0x497105,_0x185502){const _0x3cc5f0=_0x2f8c22;return this[_0x3cc5f0(0xf3)][_0x3cc5f0(0xe6)](this[_0x3cc5f0(0xe7)],_0x497105,_0x1b17e1,_0x185502);}[_0x2f8c22(0xdf)](){const _0x24ef1d=_0x2f8c22;return!this[_0x24ef1d(0xe2)]||0x0===this[_0x24ef1d(0xe2)][_0x24ef1d(0xe5)]||this[_0x24ef1d(0xef)][_0x24ef1d(0xf2)]?this[_0x24ef1d(0xef)][_0x24ef1d(0xe8)]:[this[_0x24ef1d(0xef)][_0x24ef1d(0xe8)],...this[_0x24ef1d(0xe2)]][_0x24ef1d(0xf1)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54c4e9=_0x136c;function _0x55d0(){const _0x1c0aca=['contentDiffed','arrow_','isDiffActive','width','hideDiffInBalloon','locale','set','position','reverse','add','content','511MihPrM','dismissChange','38738clDHjt','length','_pinnedTargetElement','documentElement','_pinnedRectIndex','_getBestRectPositionOnClick','resultResponseView','ck-ai_review__suggestion-text','_pinnedTargetChangeId','push','forEach','1817645SixwKo','left','_getBestRectPositionOnHover','showDiffInBalloon','div','render','from','extendTemplate','arrow_se','_createContentView','ck-reset','showBalloon','resultItemView','_getPointedRectIndexFromEvent','top','hide','bottom','ck-ai_review-balloon-panel-suggestion','40006DxMFkw','bindTemplate','clientY','delegate','element','pin','fire','7603398asBqyx','innerHTML','replace','_isPinnedRectVisible','showDiff','hover','3381104DDweKJ','right','acceptChange','deactivateChange','click','getClientRects','ck-content','81714UQjowj','_setupClickOutsideHandler','isVisible','21uanpsq','setTemplate','changeId','unpin','balloon','show','6587496FTVNpc','hideBalloon','updateContent','clientX','getBoundingClientRect','ck-ai_review-balloon-panel-suggestion_diff-active','getIntersection'];_0x55d0=function(){return _0x1c0aca;};return _0x55d0();}(function(_0x29b4a8,_0x2d201d){const _0x3bb349=_0x136c,_0x322525=_0x29b4a8();while(!![]){try{const _0x432336=-parseInt(_0x3bb349(0x160))/0x1+parseInt(_0x3bb349(0x17d))/0x2*(parseInt(_0x3bb349(0x146))/0x3)+-parseInt(_0x3bb349(0x13c))/0x4+parseInt(_0x3bb349(0x16b))/0x5+-parseInt(_0x3bb349(0x143))/0x6*(-parseInt(_0x3bb349(0x15e))/0x7)+parseInt(_0x3bb349(0x14c))/0x8+-parseInt(_0x3bb349(0x184))/0x9;if(_0x432336===_0x2d201d)break;else _0x322525['push'](_0x322525['shift']());}catch(_0xfecba2){_0x322525['push'](_0x322525['shift']());}}}(_0x55d0,0x909d2));import{Rect as _0x3cfebb,getConstrainedViewportRect as _0x3eb04c}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x4a5f3a,View as _0x359fdd,clickOutsideHandler as _0x4739ac}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x1afc86}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';function _0x136c(_0x4151b0,_0x32d8b8){const _0x55d054=_0x55d0();return _0x136c=function(_0x136c54,_0x5a265f){_0x136c54=_0x136c54-0x13a;let _0x32aec7=_0x55d054[_0x136c54];return _0x32aec7;},_0x136c(_0x4151b0,_0x32d8b8);}export class AIReviewCoreBalloonSuggestionItemView extends _0x4a5f3a{[_0x54c4e9(0x177)];[_0x54c4e9(0x164)]=void 0x0;[_0x54c4e9(0x162)]=void 0x0;[_0x54c4e9(0x168)]=void 0x0;constructor(_0x176170,_0x728b11){const _0x129a84=_0x54c4e9;super(_0x176170),this[_0x129a84(0x159)]({'isVisible':!0x1,'position':_0x129a84(0x173),'class':null,'top':0x0,'left':0x0}),this[_0x129a84(0x172)]({'tag':_0x129a84(0x16f),'attributes':{'class':[_0x129a84(0x175)],'tabindex':'-1'}}),this[_0x129a84(0x159)](_0x129a84(0x155),!0x1),this[_0x129a84(0x15d)][_0x129a84(0x15c)](this[_0x129a84(0x174)]()),_0x728b11[_0x129a84(0x15c)](this);}[_0x54c4e9(0x170)](){const _0x1f0b8d=_0x54c4e9;super[_0x1f0b8d(0x170)](),this[_0x1f0b8d(0x144)]();}[_0x54c4e9(0x14e)](_0x442890){const _0x4abb92=_0x54c4e9;this[_0x4abb92(0x177)][_0x4abb92(0x148)]=_0x442890['id'],this[_0x4abb92(0x177)][_0x4abb92(0x166)][_0x4abb92(0x181)][_0x4abb92(0x185)]=_0x442890[_0x4abb92(0x153)];}[_0x54c4e9(0x176)](_0x4af631,_0x544565,_0x53c652,_0x185a85,_0x484089,_0x445675){const _0x46816c=_0x54c4e9,_0x52be6c=_0x544565();if(!_0x52be6c)return;this[_0x46816c(0x14e)](_0x4af631),this[_0x46816c(0x14b)]();const _0xf13a77=Array[_0x46816c(0x171)](_0x52be6c[_0x46816c(0x141)]())[_0x46816c(0x15b)](),_0xecbcda=this[_0x46816c(0x178)](_0x53c652,_0xf13a77),_0x98cb4b=_0xf13a77[_0xecbcda??0x0];_0x46816c(0x140)===_0x185a85?(this[_0x46816c(0x155)]=!0x0,this[_0x46816c(0x182)]({'target':()=>this[_0x46816c(0x165)](_0x544565(),_0xecbcda,_0x4af631['id'],_0x484089,_0x445675)||_0x98cb4b})):_0x46816c(0x13b)===_0x185a85&&(this[_0x46816c(0x155)]=!0x1,this[_0x46816c(0x182)]({'target':()=>this[_0x46816c(0x16d)](_0x544565(),_0xecbcda,_0x4af631['id'])||_0x98cb4b}));}[_0x54c4e9(0x14d)](){const _0x4af44b=_0x54c4e9;this[_0x4af44b(0x17a)](),this[_0x4af44b(0x149)](),this[_0x4af44b(0x164)]=void 0x0,this[_0x4af44b(0x162)]=void 0x0,this[_0x4af44b(0x168)]=void 0x0;}[_0x54c4e9(0x157)](){const _0x1a537f=_0x54c4e9;this[_0x1a537f(0x177)][_0x1a537f(0x13a)]=!0x1;}[_0x54c4e9(0x16e)](){const _0x1259b8=_0x54c4e9;this[_0x1259b8(0x177)][_0x1259b8(0x13a)]=!0x0;}[_0x54c4e9(0x13f)](){const _0x947f24=_0x54c4e9;this[_0x947f24(0x183)](_0x947f24(0x13f),{'origin':_0x947f24(0x14a)});}[_0x54c4e9(0x144)](){const _0x12bc59=_0x54c4e9;_0x4739ac({'emitter':this,'activator':()=>this[_0x12bc59(0x145)],'contextElements':()=>{const _0x3ca93c=_0x12bc59,_0x23a01c=[this[_0x3ca93c(0x181)]];return this[_0x3ca93c(0x162)]&&_0x23a01c[_0x3ca93c(0x169)](this[_0x3ca93c(0x162)]),_0x23a01c;},'callback':()=>{const _0xa1fdbf=_0x12bc59;this[_0xa1fdbf(0x17a)](),this[_0xa1fdbf(0x149)](),this[_0xa1fdbf(0x13f)](),this[_0xa1fdbf(0x162)]=void 0x0,this[_0xa1fdbf(0x164)]=void 0x0,this[_0xa1fdbf(0x168)]=void 0x0;}});}[_0x54c4e9(0x174)](){const _0x5b50ff=_0x54c4e9,_0x98a593=new _0x359fdd();return this[_0x5b50ff(0x177)]=new _0x1afc86(this[_0x5b50ff(0x158)],''),this[_0x5b50ff(0x177)][_0x5b50ff(0x166)][_0x5b50ff(0x172)]({'attributes':{'class':[_0x5b50ff(0x142)]}}),this[_0x5b50ff(0x177)][_0x5b50ff(0x180)](_0x5b50ff(0x13e),_0x5b50ff(0x15f))['to'](this),_0x98a593[_0x5b50ff(0x147)]({'tag':_0x5b50ff(0x16f),'attributes':{'class':[_0x5b50ff(0x175),_0x5b50ff(0x17c),this[_0x5b50ff(0x17e)]['if'](_0x5b50ff(0x155),_0x5b50ff(0x151))]},'children':[{'tag':'p','attributes':{'class':[_0x5b50ff(0x167)]},'children':[this[_0x5b50ff(0x177)]]}]}),_0x98a593;}[_0x54c4e9(0x165)](_0x2c7f84,_0x1eafed,_0x3952d1,_0x5eb962,_0x6ba1da){const _0x14e6f0=_0x54c4e9;if(!_0x2c7f84)return null;const _0x202f31=this[_0x14e6f0(0x15a)][_0x14e6f0(0x186)](_0x14e6f0(0x154),''),_0xe791c1=Array[_0x14e6f0(0x171)](_0x2c7f84[_0x14e6f0(0x141)]());let _0x11e203,_0x126ef6=_0xe791c1[_0x14e6f0(0x15b)]();return void 0x0!==_0x1eafed&&this[_0x14e6f0(0x187)](_0x126ef6[_0x1eafed],_0x5eb962,_0x6ba1da)?(_0x11e203=_0x126ef6[_0x1eafed],this[_0x14e6f0(0x164)]=_0x1eafed):this[_0x14e6f0(0x187)](_0x126ef6[0x0],_0x5eb962,_0x6ba1da)&&void 0x0===_0x1eafed?_0x11e203=_0x126ef6[0x0]:(_0x126ef6='s'==_0x202f31[0x0]?[..._0xe791c1][_0x14e6f0(0x15b)]():_0xe791c1,_0x126ef6[_0x14e6f0(0x16a)](_0x52ffa4=>{const _0x3749eb=_0x14e6f0;this[_0x3749eb(0x187)](_0x52ffa4,_0x5eb962,_0x6ba1da)&&(_0x11e203=_0x52ffa4);})),this[_0x14e6f0(0x168)]=_0x3952d1,this[_0x14e6f0(0x162)]=_0x2c7f84,_0x11e203||_0x2c7f84[_0x14e6f0(0x150)]();}[_0x54c4e9(0x16d)](_0x111508,_0x392f9b,_0x15760a){const _0x41d984=_0x54c4e9;if(!_0x111508)return null;const _0x44ceeb=Array[_0x41d984(0x171)](_0x111508[_0x41d984(0x141)]())[_0x41d984(0x15b)]();if(void 0x0===this[_0x41d984(0x164)]&&void 0x0!==_0x392f9b&&this[_0x41d984(0x168)]!==_0x15760a)return this[_0x41d984(0x164)]=_0x392f9b,this[_0x41d984(0x162)]=_0x111508,this[_0x41d984(0x168)]=_0x15760a,_0x44ceeb[_0x392f9b];if(void 0x0!==this[_0x41d984(0x164)]&&this[_0x41d984(0x168)]===_0x15760a){if(_0x111508!==this[_0x41d984(0x162)])return Array[_0x41d984(0x171)](this[_0x41d984(0x162)][_0x41d984(0x141)]())[_0x41d984(0x15b)]()[this[_0x41d984(0x164)]];return _0x44ceeb[this[_0x41d984(0x164)]];}return void 0x0!==_0x392f9b&&this[_0x41d984(0x168)]!==_0x15760a?(this[_0x41d984(0x164)]=_0x392f9b,this[_0x41d984(0x162)]=_0x111508,this[_0x41d984(0x168)]=_0x15760a,_0x44ceeb[_0x392f9b]):_0x111508[_0x41d984(0x150)]();}[_0x54c4e9(0x178)](_0x2d588a,_0x4a216a){const _0x33603c=_0x54c4e9;if(_0x2d588a)for(let _0xfbf59a=0x0;_0xfbf59a<_0x4a216a[_0x33603c(0x161)];_0xfbf59a++){const _0x47a522=_0x4a216a[_0xfbf59a];if(_0x2d588a[_0x33603c(0x14f)]>=_0x47a522[_0x33603c(0x16c)]-0x3&&_0x2d588a[_0x33603c(0x14f)]<=_0x47a522[_0x33603c(0x13d)]+0x3&&_0x2d588a[_0x33603c(0x17f)]>=_0x47a522[_0x33603c(0x179)]-0x3&&_0x2d588a[_0x33603c(0x17f)]<=_0x47a522[_0x33603c(0x17b)]+0x3)return _0xfbf59a;}}[_0x54c4e9(0x187)](_0x1411c6,_0x5bb98c,_0x3c3b51){const _0x527b37=_0x54c4e9,_0x5e4cf1=new _0x3cfebb(_0x1411c6),_0x3d89e7=_0x5bb98c||document[_0x527b37(0x163)],_0x2ea9eb=_0x5e4cf1[_0x527b37(0x152)](_0x3eb04c(_0x3c3b51)),_0x4302f7=new _0x3cfebb(_0x3d89e7)[_0x527b37(0x152)](_0x5e4cf1);return!!(_0x2ea9eb&&_0x4302f7&&_0x5e4cf1[_0x527b37(0x156)]>0x0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3a4a34=_0x5546;function _0x5546(_0x2fd9a9,_0x564e31){const _0x3c3859=_0x3c38();return _0x5546=function(_0x55465e,_0x221ea2){_0x55465e=_0x55465e-0xd2;let _0xbf6f31=_0x3c3859[_0x55465e];return _0xbf6f31;},_0x5546(_0x2fd9a9,_0x564e31);}(function(_0x7c82dd,_0x4ff9e1){const _0x2122a1=_0x5546,_0x5f016f=_0x7c82dd();while(!![]){try{const _0x21e786=parseInt(_0x2122a1(0x119))/0x1+parseInt(_0x2122a1(0xe2))/0x2+-parseInt(_0x2122a1(0xf4))/0x3+parseInt(_0x2122a1(0xdc))/0x4*(parseInt(_0x2122a1(0x10d))/0x5)+parseInt(_0x2122a1(0xd9))/0x6*(parseInt(_0x2122a1(0xd8))/0x7)+parseInt(_0x2122a1(0xdb))/0x8*(-parseInt(_0x2122a1(0x101))/0x9)+-parseInt(_0x2122a1(0xe4))/0xa*(parseInt(_0x2122a1(0x117))/0xb);if(_0x21e786===_0x4ff9e1)break;else _0x5f016f['push'](_0x5f016f['shift']());}catch(_0x609cf9){_0x5f016f['push'](_0x5f016f['shift']());}}}(_0x3c38,0xe82ec));import{View as _0x3d83f4,ButtonView as _0x31e371}from'ckeditor5/src/ui.js';function _0x3c38(){const _0x168940=['ck-ai_review__check-run-result','mouseover','AI_REVIEW_MODE_ACCEPT_CHANGE','preventDefault','tagName','target','label','bind','541639KkvjBj','138xDYcsi','outdatedButtonView','3946056lPfCdg','32mNrjwH','deactivateChange','panel','div','ck-ai_review__check-run-result-action-buttons','hover','745906fMHzuz','_createDismissButtonView','120inraLe','status','fire','mouseout','AI_REVIEW_MODE_LEARN_MORE','acceptChange','setItemAsInactive','_createInfoButtonView','menuitemcheckbox','ck-ai_review__check-run-result-response','ck-ai_review__check-run-result-status-button','pending','outdated','dismissChange','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','3497964FJhRAA','bindTemplate','infoButtonView','ck-ai_review__check-run-result-dismiss-button','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','setItemAsActive','ck-ai_review__check-run-result-accept-button','_createOutdatedButtonView','ck-reset_all-excluded','accepted','locale','ck-ai-button-secondary','27fEUGbg','acceptButtonView','rejected','stopPropagation','activateChange','isInfoToggleOn','resultResponseView','disabled','AI_REVIEW_MODE_DISMISS_CHANGE','icon','click','isOn','1026550VrYxlz','isEnabled','setTemplate','ck-hidden','changeId','extendTemplate','set','_createAcceptButtonView','ck-ai-button-tertiary','_createResultResponseView','1771781sEaxmy','execute','1734527JsTRWk','ck-ai_review__check-run-result_active','ck-ai_review__check-run-result-footer','dismissButtonView','showDiff','isActive','change:status','ck-content'];_0x3c38=function(){return _0x168940;};return _0x3c38();}import{IconInfo as _0xfc60a0,IconCheck as _0x2c17e6,IconCancel as _0x29fdef,IconOutdated as _0x1f0dc9}from'ckeditor5/src/icons.js';import{getTranslation as _0x52ea5e}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x3d83f4{[_0x3a4a34(0x107)];[_0x3a4a34(0x102)];[_0x3a4a34(0x11c)];[_0x3a4a34(0xf6)];[_0x3a4a34(0xda)];constructor(_0xeb7634,_0x93cf43){const _0x68ffb0=_0x3a4a34;super(_0xeb7634),this['id']=_0x93cf43,this[_0x68ffb0(0x113)](_0x68ffb0(0xe5),_0x68ffb0(0xef)),this[_0x68ffb0(0x113)](_0x68ffb0(0x111),_0x93cf43),this[_0x68ffb0(0x107)]=this[_0x68ffb0(0x116)](),this[_0x68ffb0(0x102)]=this[_0x68ffb0(0x114)](),this[_0x68ffb0(0x11c)]=this[_0x68ffb0(0xe3)](),this[_0x68ffb0(0xf6)]=this[_0x68ffb0(0xeb)](),this[_0x68ffb0(0xda)]=this[_0x68ffb0(0xfc)](),this[_0x68ffb0(0x113)](_0x68ffb0(0x106),!0x1),this[_0x68ffb0(0x113)](_0x68ffb0(0x11e),!0x1),this[_0x68ffb0(0x113)](_0x68ffb0(0x11d),!0x0),this[_0x68ffb0(0x10f)]({'tag':_0x68ffb0(0xdf),'attributes':{'class':[_0x68ffb0(0x121),this[_0x68ffb0(0xf5)]['if'](_0x68ffb0(0x11e),_0x68ffb0(0x11a))]},'on':{'click':this[_0x68ffb0(0xf5)]['to'](_0x68ffb0(0x10b)),'mouseover':this[_0x68ffb0(0xf5)]['to'](_0x68ffb0(0x122)),'mouseout':this[_0x68ffb0(0xf5)]['to'](_0x68ffb0(0xe7))},'children':[this[_0x68ffb0(0x107)],{'tag':_0x68ffb0(0xdf),'attributes':{'class':[_0x68ffb0(0x11b)]},'children':[{'tag':_0x68ffb0(0xdf),'attributes':{'class':[_0x68ffb0(0xe0)]},'children':[this[_0x68ffb0(0x102)],this[_0x68ffb0(0x11c)],this[_0x68ffb0(0xda)]]},this[_0x68ffb0(0xf6)]]}]}),this['on'](_0x68ffb0(0x10b),(_0x496c51,_0x9cb0ca)=>{const _0x3f8433=_0x68ffb0;_0x9cb0ca&&_0x9cb0ca[_0x3f8433(0xd5)]&&'A'===_0x9cb0ca[_0x3f8433(0xd5)][_0x3f8433(0xd4)]&&_0x9cb0ca[_0x3f8433(0xd3)](),this[_0x3f8433(0xe6)](_0x3f8433(0x105),{'id':_0x93cf43,'source':this,'uiInteraction':_0x3f8433(0x10b)});}),this['on'](_0x68ffb0(0x122),()=>{const _0x1d7237=_0x68ffb0;this[_0x1d7237(0xe6)](_0x1d7237(0x105),{'id':_0x93cf43,'source':this,'uiInteraction':_0x1d7237(0xe1)});}),this['on'](_0x68ffb0(0xe7),()=>{const _0x53f711=_0x68ffb0;this[_0x53f711(0xe6)](_0x53f711(0xdd),{'origin':_0x53f711(0xde),'id':_0x93cf43,'source':this});});}[_0x3a4a34(0xfa)](){const _0x3a6a45=_0x3a4a34;this[_0x3a6a45(0x11e)]=!0x0;}[_0x3a4a34(0xea)](){const _0x58fbed=_0x3a4a34;this[_0x58fbed(0x11e)]=!0x1;}[_0x3a4a34(0x116)](){const _0x591c34=_0x3a4a34,_0x72a97a=new _0x3d83f4(this[_0x591c34(0xff)]);return _0x72a97a[_0x591c34(0x10f)]({'tag':_0x591c34(0xdf),'attributes':{'class':['ck',_0x591c34(0x120),_0x591c34(0xfd),_0x591c34(0xed),this[_0x591c34(0xf5)]['if'](_0x591c34(0x11d),_0x591c34(0x110),_0x4f383e=>!_0x4f383e)]}}),_0x72a97a;}[_0x3a4a34(0x114)](){const _0x56dcaf=_0x3a4a34,_0x1d10d0=new _0x31e371(this[_0x56dcaf(0xff)]);return _0x1d10d0[_0x56dcaf(0x113)]({'label':_0x52ea5e(this[_0x56dcaf(0xff)],_0x56dcaf(0xd2)),'withText':!0x0}),_0x1d10d0[_0x56dcaf(0x112)]({'on':{'click':this[_0x56dcaf(0xf5)]['to'](_0x1a9edd=>{const _0x4f8674=_0x56dcaf;this[_0x4f8674(0xe6)](_0x4f8674(0xe9),{'id':this[_0x4f8674(0x111)]}),_0x1a9edd[_0x4f8674(0x104)]();})},'attributes':{'class':[_0x56dcaf(0x100),_0x56dcaf(0xfb),this[_0x56dcaf(0xf5)]['if'](_0x56dcaf(0xe5),_0x56dcaf(0x110),_0xcf69f6=>_0x56dcaf(0xef)!==_0xcf69f6&&_0x56dcaf(0xfe)!==_0xcf69f6),this[_0x56dcaf(0xf5)]['if'](_0x56dcaf(0xe5),_0x56dcaf(0xfb),_0x23ca26=>_0x56dcaf(0xef)===_0x23ca26),this[_0x56dcaf(0xf5)]['if'](_0x56dcaf(0xe5),_0x56dcaf(0xee),_0x2d6884=>_0x56dcaf(0xfe)===_0x2d6884)]}}),this['on'](_0x56dcaf(0x11f),(_0x5a1c72,_0x5f4f52,_0x3811ff)=>{const _0x42cdee=_0x56dcaf;_0x1d10d0[_0x42cdee(0x10e)]=_0x42cdee(0xef)===_0x3811ff,_0x42cdee(0xfe)===_0x3811ff&&(_0x1d10d0[_0x42cdee(0xd6)]=_0x52ea5e(this[_0x42cdee(0xff)],_0x42cdee(0xf8)),_0x1d10d0[_0x42cdee(0x10a)]=_0x2c17e6);}),_0x1d10d0;}[_0x3a4a34(0xe3)](){const _0x90093b=_0x3a4a34,_0x2f73ce=new _0x31e371(this[_0x90093b(0xff)]);return _0x2f73ce[_0x90093b(0x113)]({'label':_0x52ea5e(this[_0x90093b(0xff)],_0x90093b(0x109)),'withText':!0x0}),_0x2f73ce[_0x90093b(0x112)]({'on':{'click':this[_0x90093b(0xf5)]['to'](_0x2b056d=>{const _0x2f7f21=_0x90093b;this[_0x2f7f21(0xe6)](_0x2f7f21(0xf1),{'id':this[_0x2f7f21(0x111)]}),_0x2b056d[_0x2f7f21(0x104)]();})},'attributes':{'class':[_0x90093b(0x115),this[_0x90093b(0xf5)]['if'](_0x90093b(0xe5),_0x90093b(0x110),_0x27ad33=>_0x90093b(0xef)!==_0x27ad33&&_0x90093b(0x103)!==_0x27ad33),this[_0x90093b(0xf5)]['if'](_0x90093b(0xe5),_0x90093b(0xf7),_0x57b9b5=>_0x90093b(0xef)===_0x57b9b5),this[_0x90093b(0xf5)]['if'](_0x90093b(0xe5),_0x90093b(0xee),_0x508021=>_0x90093b(0x103)===_0x508021)]}}),this['on'](_0x90093b(0x11f),(_0x194bcd,_0x126b5e,_0x29382d)=>{const _0x34e3fa=_0x90093b;_0x2f73ce[_0x34e3fa(0x10e)]=_0x34e3fa(0xef)===_0x29382d,_0x34e3fa(0x103)===_0x29382d&&(_0x2f73ce[_0x34e3fa(0xd6)]=_0x52ea5e(this[_0x34e3fa(0xff)],_0x34e3fa(0xf9)),_0x2f73ce[_0x34e3fa(0x10a)]=_0x29fdef);}),_0x2f73ce;}[_0x3a4a34(0xeb)](){const _0x2389c5=_0x3a4a34,_0x44c456=new _0x31e371(this[_0x2389c5(0xff)]);return _0x44c456[_0x2389c5(0x113)]({'label':_0x52ea5e(this[_0x2389c5(0xff)],_0x2389c5(0xe8)),'icon':_0xfc60a0,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x2389c5(0xec),'class':_0x2389c5(0xf3)}),_0x44c456[_0x2389c5(0xd7)](_0x2389c5(0x10c))['to'](this,_0x2389c5(0x106),_0x1c6a8b=>_0x1c6a8b),_0x44c456['on'](_0x2389c5(0x118),()=>{const _0x3241ed=_0x2389c5;this[_0x3241ed(0x106)]=!this[_0x3241ed(0x106)];}),_0x44c456;}[_0x3a4a34(0xfc)](){const _0x583697=_0x3a4a34,_0x18a524=new _0x31e371(this[_0x583697(0xff)]);return _0x18a524[_0x583697(0x113)]({'label':_0x52ea5e(this[_0x583697(0xff)],_0x583697(0xf2)),'icon':_0x1f0dc9,'withText':!0x0,'isEnabled':!0x1}),_0x18a524[_0x583697(0x112)]({'attributes':{'class':[_0x583697(0x100),_0x583697(0xee),this[_0x583697(0xf5)]['if'](_0x583697(0xe5),_0x583697(0x110),_0xa0dad1=>_0x583697(0xf0)!==_0xa0dad1)],'disabled':_0x583697(0x108)}}),_0x18a524;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x263d87,KeystrokeHandler as _0x11c805,FocusTracker as _0x26566c}from'ckeditor5/src/utils.js';import{View as _0x470484,ViewCollection as _0x28ef87,ButtonView as _0x44d0b5,FormRowView as _0x465305,createDropdown as _0x348417,addListToDropdown as _0x25d438,UIModel as _0x1f69b9,ButtonLabelView as _0x134a2b,LabeledFieldView as _0x1b6ff5,FocusCycler as _0x1ed998}from'ckeditor5/src/ui.js';import{getTranslation as _0x172c78}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x1f661d}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x470484{['focusTracker']=new _0x26566c();['keystrokes']=new _0x11c805();['focusCycler'];['_focusables']=new _0x28ef87();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x543e4a,_0x12f254,_0x1502f9=!0x1){super(_0x543e4a),this['_check']=_0x12f254,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x12f254['defaultModel']?_0x12f254['defaultModel']['id']:'',this['_defaultLabel']=_0x12f254['defaultModel']?_0x12f254['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x1b6ff5(this['locale'],()=>new _0x1f661d(_0x543e4a)),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 _0x263d87(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x1502f9),_0x25d438(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x465305(this['locale'],{'children':[this['promptInputView']]}),new _0x465305(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x182d04,_0xac6c29)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0xac6c29()):_0xac6c29();}),this['focusCycler']=new _0x1ed998({'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'](_0x2cc5b5=>{this['_focusables']['add'](_0x2cc5b5),this['focusTracker']['add'](_0x2cc5b5['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 _0x3cfc17 of this['_getFormValidators']()){const _0x573f6d=_0x3cfc17();if(_0x573f6d)return this['promptInputView']['errorText']=_0x573f6d,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x172c78(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x30782c=new _0x44d0b5(this['locale']),t=this['locale']['t'];return _0x30782c['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x30782c['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x30782c;}['_createCancelButtonView'](){const _0x1d09e8=new _0x44d0b5(this['locale']),t=this['locale']['t'];return _0x1d09e8['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x1d09e8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3f825e=>{_0x3f825e['stopPropagation']();})}}),_0x1d09e8['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x1d09e8;}['_setModelList'](_0xf35915){this['_modelSelectionDropdownItems']['clear']();const _0x4ae3c1=this['_check']['models'];if(_0xf35915)this['set']('modelDisplayMode','hidden');else{const _0x111558=0x1===_0x4ae3c1['length'];this['set']('modelDisplayMode',_0x111558?'name':'selector');}if(this['resetToDefault'](),_0x4ae3c1?.['length']){0x1===_0x4ae3c1['length']&&this['set']('activeModelName',_0x4ae3c1[0x0]['name']||_0x4ae3c1[0x0]['id']);for(const _0x53134c of _0x4ae3c1){const _0x3e2e91=new _0x1f69b9({'label':_0x53134c['name'],'withText':!0x0,'role':'menuitemradio','id':_0x53134c['id'],'model':_0x53134c});_0x3e2e91['bind']('isOn')['to'](this,'modelId',_0x2dcadf=>_0x2dcadf===_0x53134c['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3e2e91,'labelView':new ModelButtonLabelView(this['locale'],_0x53134c)});}}}['_createModelSelectionDropdown'](){const _0x4c02ef=_0x348417(this['locale']);return _0x4c02ef['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x4c02ef['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x4c02ef['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0xb504ec=>'selector'===_0xb504ec),this['listenTo'](_0x4c02ef,'execute',_0x31c3d4=>{this['modelId']=_0x31c3d4['source']['model']['id'],_0x4c02ef['buttonView']['label']=_0x31c3d4['source']['label'];}),_0x4c02ef;}['_createModelNameView'](){const _0x196196=new ModelNameView(this['locale']);return _0x196196['bind']('text')['to'](this,'activeModelName',_0x131d48=>_0x131d48??''),_0x196196['bind']('isVisible')['to'](this,'modelDisplayMode',_0x24101f=>'name'===_0x24101f),_0x196196;}['_createActionsFooterView'](){const _0x179a3d=new _0x470484(this['locale']);return _0x179a3d['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']]}]}),_0x179a3d;}}class ModelNameView extends _0x470484{constructor(_0x1a2bf2){super(_0x1a2bf2),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x1d7241=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x1d7241['if']('isVisible','ck-hidden',_0xf7c14c=>!_0xf7c14c)]},'children':[{'text':_0x1d7241['to']('text')}]});}}class ModelButtonLabelView extends _0x134a2b{constructor(_0x2b2ff9,_0x5cdae4){super();const _0x4d1432=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x4d1432['to']('style'),'id':_0x4d1432['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x4d1432['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x5cdae4['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x114737,_0x48b408){var _0x4d1a24=_0x2865,_0x306a48=_0x114737();while(!![]){try{var _0x6711dd=-parseInt(_0x4d1a24(0x1c2))/0x1+-parseInt(_0x4d1a24(0x1b8))/0x2*(parseInt(_0x4d1a24(0x1ba))/0x3)+parseInt(_0x4d1a24(0x1be))/0x4+-parseInt(_0x4d1a24(0x1b9))/0x5*(-parseInt(_0x4d1a24(0x1c3))/0x6)+-parseInt(_0x4d1a24(0x1b6))/0x7+parseInt(_0x4d1a24(0x1c1))/0x8+-parseInt(_0x4d1a24(0x1c4))/0x9*(-parseInt(_0x4d1a24(0x1bb))/0xa);if(_0x6711dd===_0x48b408)break;else _0x306a48['push'](_0x306a48['shift']());}catch(_0x3eb079){_0x306a48['push'](_0x306a48['shift']());}}}(_0x3c0a,0x91d02));import{ButtonView as _0x5b4265}from'ckeditor5/src/ui.js';function _0x2865(_0x56247e,_0x3a9479){var _0x3c0a07=_0x3c0a();return _0x2865=function(_0x2865fd,_0x165df1){_0x2865fd=_0x2865fd-0x1b6;var _0x3c4f60=_0x3c0a07[_0x2865fd];return _0x3c4f60;},_0x2865(_0x56247e,_0x3a9479);}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x3c0a(){var _0x1a70f6=['fire','set','6426912zqIkms','184766qAqrQi','132894AVDVtB','170127EonTxv','5662237gWDpyv','execute','218iNHDfJ','230fkskfa','8121gqCKXb','30LDEPjX','ck-ai-button-primary','finishReview','28172QVzbff'];_0x3c0a=function(){return _0x1a70f6;};return _0x3c0a();}export class AIReviewCoreFinishReviewButtonView extends _0x5b4265{constructor(_0x20aa60,_0x537d38){var _0x3e07ac=_0x2865;super(_0x537d38),this[_0x3e07ac(0x1c0)]({'label':_0x20aa60,'withText':!0x0,'class':_0x3e07ac(0x1bc)}),this['on'](_0x3e07ac(0x1b7),()=>{var _0x3de71c=_0x3e07ac;this[_0x3de71c(0x1bf)](_0x3de71c(0x1bd));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4b0774,_0x2606da){const _0x4ac5f2=_0x5e25,_0x1c838e=_0x4b0774();while(!![]){try{const _0x16df56=parseInt(_0x4ac5f2(0x16b))/0x1*(parseInt(_0x4ac5f2(0x172))/0x2)+-parseInt(_0x4ac5f2(0x16e))/0x3+-parseInt(_0x4ac5f2(0x168))/0x4*(parseInt(_0x4ac5f2(0x169))/0x5)+-parseInt(_0x4ac5f2(0x170))/0x6*(parseInt(_0x4ac5f2(0x173))/0x7)+parseInt(_0x4ac5f2(0x16c))/0x8+-parseInt(_0x4ac5f2(0x16a))/0x9*(-parseInt(_0x4ac5f2(0x166))/0xa)+parseInt(_0x4ac5f2(0x163))/0xb;if(_0x16df56===_0x2606da)break;else _0x1c838e['push'](_0x1c838e['shift']());}catch(_0x384780){_0x1c838e['push'](_0x1c838e['shift']());}}}(_0x2860,0x30891));import{View as _0x310862}from'ckeditor5/src/ui.js';function _0x2860(){const _0x3defe2=['setTemplate','9479470TnCwHi','isVisible','set','1071470QCJyYc','bindTemplate','232452ANniUJ','15ASjwSg','9lBfPvM','1578SiSqJV','522616ujYOBD','ck\x20ck-ai-notification\x20ck-ai-notification_error','918027EHxjRO','div','666KNkHnt','ck-ai_review__general-error-container','18wKFCKJ','23289uuMqnK','errorMessage','ck-hidden'];_0x2860=function(){return _0x3defe2;};return _0x2860();}function _0x5e25(_0x5e0841,_0x4e430c){const _0x2860a0=_0x2860();return _0x5e25=function(_0x5e2542,_0x3671d2){_0x5e2542=_0x5e2542-0x163;let _0x1805cf=_0x2860a0[_0x5e2542];return _0x1805cf;},_0x5e25(_0x5e0841,_0x4e430c);}export class AIReviewCoreGeneralErrorView extends _0x310862{constructor(_0x191dbb){const _0x89d0f=_0x5e25;super(_0x191dbb),this[_0x89d0f(0x165)](_0x89d0f(0x164),!0x1),this[_0x89d0f(0x165)](_0x89d0f(0x174),'');const _0x14d486=this[_0x89d0f(0x167)];this[_0x89d0f(0x176)]({'tag':_0x89d0f(0x16f),'attributes':{'class':['ck',_0x89d0f(0x171),_0x14d486['if'](_0x89d0f(0x164),_0x89d0f(0x175),_0x3b0afc=>!_0x3b0afc)]},'children':[{'tag':'p','attributes':{'class':_0x89d0f(0x16d)},'children':[{'text':_0x14d486['to'](_0x89d0f(0x174))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x47e500=_0x3b78;(function(_0x34062b,_0x3d0d35){var _0xcd378b=_0x3b78,_0x5d5297=_0x34062b();while(!![]){try{var _0x147eb3=parseInt(_0xcd378b(0xbb))/0x1*(-parseInt(_0xcd378b(0xc6))/0x2)+parseInt(_0xcd378b(0xb0))/0x3+-parseInt(_0xcd378b(0xbc))/0x4*(-parseInt(_0xcd378b(0xb1))/0x5)+parseInt(_0xcd378b(0xb7))/0x6+-parseInt(_0xcd378b(0xc2))/0x7*(parseInt(_0xcd378b(0xc7))/0x8)+-parseInt(_0xcd378b(0xc1))/0x9+parseInt(_0xcd378b(0xb5))/0xa;if(_0x147eb3===_0x3d0d35)break;else _0x5d5297['push'](_0x5d5297['shift']());}catch(_0x344ed2){_0x5d5297['push'](_0x5d5297['shift']());}}}(_0x270e,0xd85f7));import{TextareaView as _0x59cfca}from'ckeditor5/src/ui.js';function _0x3b78(_0x21dedf,_0x38aa6e){var _0x270e7b=_0x270e();return _0x3b78=function(_0x3b78df,_0x8aaf9){_0x3b78df=_0x3b78df-0xaf;var _0x5cf497=_0x270e7b[_0x3b78df];return _0x5cf497;},_0x3b78(_0x21dedf,_0x38aa6e);}import{KeystrokeHandler as _0x5d4ddc}from'ckeditor5/src/utils.js';function _0x270e(){var _0x1ebfa0=['342538vSARIL','value','MIN_ROWS','update','1535208AewBdL','112JEgMjA','listenTo','extendTemplate','4066569oiVqvf','773170gKHfAY','ck-review__prompt-input','trim','MAX_ROWS','9238680kJqenL','ai-review-prompt-input','725844ZXnwZu','keystrokes','minRows','set','1OTyITk','44BizFAh','element','isEmpty','render','maxRows','15861564EoikWr'];_0x270e=function(){return _0x1ebfa0;};return _0x270e();}export class AIReviewCorePromptInputView extends _0x59cfca{[_0x47e500(0xb8)];static [_0x47e500(0xc4)]=0x1;static [_0x47e500(0xb4)]=0xc;constructor(_0x33607e){var _0x435e2c=_0x47e500;super(_0x33607e),this[_0x435e2c(0xba)](_0x435e2c(0xbe),!0x0),this[_0x435e2c(0xb8)]=new _0x5d4ddc(),this[_0x435e2c(0xb9)]=AIReviewCorePromptInputView[_0x435e2c(0xc4)],this[_0x435e2c(0xc0)]=AIReviewCorePromptInputView[_0x435e2c(0xb4)],this[_0x435e2c(0xaf)]({'attributes':{'id':_0x435e2c(0xb6),'class':['ck',_0x435e2c(0xb2)]}});}[_0x47e500(0xbf)](){var _0x10bf3c=_0x47e500;super[_0x10bf3c(0xbf)](),this['on'](_0x10bf3c(0xc5),()=>{var _0x1409f4=_0x10bf3c;this[_0x1409f4(0xbe)]=''===this[_0x1409f4(0xbd)][_0x1409f4(0xc3)]?.[_0x1409f4(0xb3)]();}),this[_0x10bf3c(0xb8)][_0x10bf3c(0xc8)](this[_0x10bf3c(0xbd)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11d26f=_0x4fb8;(function(_0x2fde56,_0x3b56c1){const _0x5107b9=_0x4fb8,_0xe905ae=_0x2fde56();while(!![]){try{const _0x39cdcc=-parseInt(_0x5107b9(0x17c))/0x1*(-parseInt(_0x5107b9(0x17f))/0x2)+parseInt(_0x5107b9(0x17a))/0x3+-parseInt(_0x5107b9(0x176))/0x4*(parseInt(_0x5107b9(0x181))/0x5)+parseInt(_0x5107b9(0x171))/0x6*(parseInt(_0x5107b9(0x170))/0x7)+parseInt(_0x5107b9(0x184))/0x8*(-parseInt(_0x5107b9(0x180))/0x9)+-parseInt(_0x5107b9(0x187))/0xa+parseInt(_0x5107b9(0x173))/0xb;if(_0x39cdcc===_0x3b56c1)break;else _0xe905ae['push'](_0xe905ae['shift']());}catch(_0x3b85a4){_0xe905ae['push'](_0xe905ae['shift']());}}}(_0x747f,0xe6345));function _0x4fb8(_0x17a45f,_0x246de0){const _0x747f62=_0x747f();return _0x4fb8=function(_0x4fb8e8,_0x5bec41){_0x4fb8e8=_0x4fb8e8-0x16c;let _0x44d719=_0x747f62[_0x4fb8e8];return _0x44d719;},_0x4fb8(_0x17a45f,_0x246de0);}function _0x747f(){const _0x1ce32c=['389124nTonzZ','entries','div','setChecks','3763887hoJbxa','resetAllParameterizedChecks','5323cAxgPr','clear','_setupTemplate','92djaoju','126klkzPd','5LzciVx','length','ck-hidden','1071856YZOHcA','resetToDefault','setTemplate','13399460UaUMuA','bindTemplate','_checkViews','locale','runReviewCheck','ck-ai_review__check-list','add','14rUEsbd','536718OCaKft','hasChecks','28352489pCDgKh','isVisible','delegate'];_0x747f=function(){return _0x1ce32c;};return _0x747f();}import{ListItemView as _0xee025b,ViewCollection as _0x47d296}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x2a07f1}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0xee025b{[_0x11d26f(0x189)];constructor(_0x20f407){const _0x484817=_0x11d26f;super(_0x20f407),this[_0x484817(0x189)]=new _0x47d296(),this[_0x484817(0x17e)]();}[_0x11d26f(0x179)](_0x3b5aa4,_0x1a691e=!0x1){const _0x52aa6f=_0x11d26f;this[_0x52aa6f(0x189)][_0x52aa6f(0x17d)]();for(const [_0x45de51,_0x14f5cf]of _0x3b5aa4[_0x52aa6f(0x177)]()){const _0x363a5b=new _0x2a07f1(this[_0x52aa6f(0x16c)],_0x14f5cf,_0x45de51,_0x1a691e);_0x363a5b[_0x52aa6f(0x175)](_0x52aa6f(0x16d))['to'](this),this[_0x52aa6f(0x189)][_0x52aa6f(0x16f)](_0x363a5b);}}[_0x11d26f(0x172)](){const _0x260b49=_0x11d26f;return this[_0x260b49(0x189)][_0x260b49(0x182)]>0x0;}[_0x11d26f(0x17b)](){const _0x45af50=_0x11d26f;for(const _0x5df60a of this[_0x45af50(0x189)])_0x5df60a instanceof _0x2a07f1&&_0x5df60a[_0x45af50(0x185)]();}[_0x11d26f(0x17e)](){const _0x3cc690=_0x11d26f,_0x38f58b=this[_0x3cc690(0x188)];this[_0x3cc690(0x186)]({'tag':_0x3cc690(0x178),'attributes':{'class':[_0x3cc690(0x16e),_0x38f58b['if'](_0x3cc690(0x174),_0x3cc690(0x183),_0x1e8f8b=>!_0x1e8f8b)]},'children':this[_0x3cc690(0x189)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0xf7ddf2,IconView as _0x34e454,View as _0x21a80e,ViewCollection as _0x20a16d,ButtonView as _0x5bc309,clickOutsideHandler as _0x2f8587}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x5991d4}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x2cf318}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0xf7ddf2{['_formItemsCollection']=new _0x20a16d();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x9d9781,_0x2e10d8,_0x379ac1,_0x40ee36=!0x1){super(_0x9d9781),this['_hideModels']=_0x40ee36,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x2e10d8['isParameterized']);const _0x3628ac=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',_0x5f5bb3=>_0x5f5bb3),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x66b992=>_0x66b992)],'style':{'--ck-ai-review-check-list-item-index':_0x379ac1}},'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':_0x2e10d8['title']}]},_0x3628ac]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x2e10d8['description']?[{'text':_0x2e10d8['description']}]:[]}]}]},..._0x2e10d8['isParameterized']?[this['_createParameterizedView'](_0x2e10d8)]:[],...'custom'===_0x2e10d8['id']?[this['_createCustomView'](_0x2e10d8,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x2e10d8['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x2e10d8['id'],'args':_0x2e10d8['useArgs']?_0x2e10d8['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x2f8587({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x39dd3d=>{_0x39dd3d['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x33cb97=new _0x34e454();return _0x33cb97['content']=_0x5991d4,_0x33cb97['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x33cb97;}['_createParameterizedView'](_0x9c7bc5){const _0x2ebdd=new _0x21a80e(),_0xc84aee=this['_createFormView'](_0x9c7bc5);return _0x2ebdd['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x1ab426=>!_0x1ab426)]},'children':[_0xc84aee]}),_0x2ebdd;}['_createFormView'](_0x538d5e){const _0x56fab3=new _0x21a80e(),_0x828c4=Array['isArray'](_0x538d5e['options'])?_0x538d5e['options']:[],_0x437a23=new _0x5bc309(this['locale']),t=this['locale']['t'];_0x437a23['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x437a23['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x533ae5=>{_0x533ae5['stopPropagation']();})}}),_0x437a23['on']('execute',()=>{const _0x5cd94a=[],_0x93e237={};this['_formItemsCollection']['forEach'](_0x559ab7=>{_0x5cd94a['push'](_0x559ab7['value']),_0x538d5e['useArgs']&&_0x538d5e['options']&&(_0x93e237[_0x559ab7['argsKey']]=_0x559ab7['value']);}),this['fire']('runReviewCheck',{'id':_0x538d5e['id'],'params':_0x5cd94a['length']?_0x5cd94a:void 0x0,'args':Object['keys'](_0x93e237)['length']?_0x93e237:void 0x0});});const _0x3aabb8=_0x828c4['length'];return _0x828c4['forEach']((_0x19edc8,_0x3bd49e)=>{const _0x5c5ff0=_0x3bd49e===_0x3aabb8-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x19edc8,_0x5c5ff0?_0x437a23:null));}),_0x56fab3['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x56fab3;}['_createCustomView'](_0x31490d,_0x51f2e0=!0x1){return this['_customCheckView']=new _0x2cf318(this['locale'],_0x31490d,_0x51f2e0),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',_0x342d1d=>!_0x342d1d)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x22b478,_0x5af1db,_0x13c9d5)=>{_0x13c9d5||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27cad5=_0x1400;function _0x1400(_0x1a47c8,_0x3a2a7e){const _0x2eb5a0=_0x2eb5();return _0x1400=function(_0x140054,_0x4d1755){_0x140054=_0x140054-0xb4;let _0x456375=_0x2eb5a0[_0x140054];return _0x456375;},_0x1400(_0x1a47c8,_0x3a2a7e);}(function(_0x663f65,_0x469386){const _0x2b7622=_0x1400,_0x30d2aa=_0x663f65();while(!![]){try{const _0x2ab764=-parseInt(_0x2b7622(0xba))/0x1+-parseInt(_0x2b7622(0xcc))/0x2*(-parseInt(_0x2b7622(0xc7))/0x3)+parseInt(_0x2b7622(0xbe))/0x4+parseInt(_0x2b7622(0xb5))/0x5+-parseInt(_0x2b7622(0xb7))/0x6*(-parseInt(_0x2b7622(0xce))/0x7)+-parseInt(_0x2b7622(0xc4))/0x8+-parseInt(_0x2b7622(0xc0))/0x9;if(_0x2ab764===_0x469386)break;else _0x30d2aa['push'](_0x30d2aa['shift']());}catch(_0x48adf7){_0x30d2aa['push'](_0x30d2aa['shift']());}}}(_0x2eb5,0x95d96));function _0x2eb5(){const _0x574cce=['ck-ai_review__review-completed-header-title','emptyResultsText','2607050BUUQUe','bindTemplate','39594PkqFWj','isVisible','ck-ai_review__review-completed-content','329187ZRyvCn','_resultsHeader','_finishReviewButtonView','ck-ai_review__review-completed-content-text','448904fPFrod','ck-ai_review__review-completed-header-buttons','4699080uIQvdA','buttonText','ck-ai_review__review-completed','ck-ai_review__review-completed-header','8737224eMTcyY','setTemplate','ck-hidden','2345937wtBohC','finishReview','ck-ai_review__review-completed-content-icon','_createResultHeaderView','locale','2dIKPOI','_createFinishReviewButtonView','1211DGSDGc','div','headerText','delegate','span'];_0x2eb5=function(){return _0x574cce;};return _0x2eb5();}import{ListItemView as _0x59fe3d,View as _0x190c17}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x33ce66}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x59fe3d{[_0x27cad5(0xbb)];[_0x27cad5(0xbc)];constructor(_0x19d813,_0x2ae152){const _0x4e6b51=_0x27cad5;super(_0x19d813),this[_0x4e6b51(0xbc)]=this[_0x4e6b51(0xcd)](_0x2ae152[_0x4e6b51(0xc1)]),this[_0x4e6b51(0xbb)]=this[_0x4e6b51(0xca)](_0x2ae152[_0x4e6b51(0xd0)]);const _0x59fb7e=this[_0x4e6b51(0xb6)];this[_0x4e6b51(0xc5)]({'tag':_0x4e6b51(0xcf),'attributes':{'class':[_0x4e6b51(0xc2),_0x59fb7e['if'](_0x4e6b51(0xb8),_0x4e6b51(0xc6),_0x921d96=>!_0x921d96)]},'children':[this[_0x4e6b51(0xbb)],{'tag':_0x4e6b51(0xcf),'attributes':{'class':[_0x4e6b51(0xb9)]},'children':[{'tag':_0x4e6b51(0xd2),'attributes':{'class':[_0x4e6b51(0xc9)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x4e6b51(0xbd)]},'children':[{'text':_0x2ae152[_0x4e6b51(0xb4)]}]}]}]});}[_0x27cad5(0xcd)](_0xd136d6){const _0x3f3179=_0x27cad5,_0x134159=new _0x33ce66(_0xd136d6,this[_0x3f3179(0xcb)]);return _0x134159[_0x3f3179(0xd1)](_0x3f3179(0xc8))['to'](this),_0x134159;}[_0x27cad5(0xca)](_0x11286f){const _0x2c330a=_0x27cad5,_0x41e9e8=new _0x190c17(this[_0x2c330a(0xcb)]);return _0x41e9e8[_0x2c330a(0xc5)]({'tag':_0x2c330a(0xcf),'attributes':{'class':[_0x2c330a(0xc3)]},'children':[{'tag':_0x2c330a(0xd2),'attributes':{'class':[_0x2c330a(0xd3)]},'children':[{'text':_0x11286f}]},{'tag':_0x2c330a(0xcf),'attributes':{'class':[_0x2c330a(0xbf)]},'children':[this[_0x2c330a(0xbc)]]}]}),_0x41e9e8;}}
|