@ckeditor/ckeditor5-ai 47.7.3-alpha.0 → 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
|
-
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;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as _0x31cacc,View as _0x21b21e,ViewCollection as _0x1675ec,ButtonView as _0x354b3b}from'ckeditor5/src/ui.js';import{IconStop as _0x481d90,IconEye as _0x3e1218,IconEyeCrossedOut as _0x12eff2}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x5413b3,SKELETON_DEFINITIONS as _0x5aa8ce}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x198d9a}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0xd34225}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x20e77e}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x194c08}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x22a5fc}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x31cacc{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x13a6a4,_0x32e3fe){super(_0x13a6a4),this['_contents']=_0x32e3fe,this['_resultViews']=new _0x1675ec(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x198d9a(_0x13a6a4),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x464dff=this['_createCombinedSkeletonLoader'](),_0x40125a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x40125a['if']('isLoading','ck-ai_review__check-run_loading',_0x1dc650=>_0x1dc650),_0x40125a['if']('isResultReady','ck-ai_review__check-run_ready',_0x34b660=>_0x34b660),_0x40125a['if']('isVisible','ck-hidden',_0x1a4e22=>!_0x1a4e22)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x917eba=>_0x917eba)]},'children':this['_resultViews']},_0x464dff]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x29a462){const _0x2a97c7=new _0x194c08(this['locale'],_0x29a462['id']);_0x2a97c7['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x2a97c7),_0x2a97c7['resultResponseView']['element']['innerHTML']=_0x29a462['contentDiffed'];}['hideResult'](_0x1b4ee7,_0x340796){if('pending'===_0x340796)return;const _0x147ecb=this['_resultViews']['find'](_0x1dcf3f=>_0x1dcf3f['id']===_0x1b4ee7);_0x147ecb&&(_0x147ecb['status']=_0x340796,_0x147ecb['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x4c4db,_0x494512){if('pending'!==_0x494512)return;const _0x3a9c78=this['_resultViews']['find'](_0x49819c=>_0x49819c['id']===_0x4c4db);_0x3a9c78&&(_0x3a9c78['status']=_0x494512,_0x3a9c78['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x166153,_0x50cb91){this['headerTitle']=_0x166153,this['headerSubtitle']=_0x50cb91||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x5413b3(this['locale'],_0x5aa8ce['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x60b0f1=new _0x21b21e(this['locale']),_0x71a7d3=[];for(let _0x243876=0x0;_0x243876<0x10;_0x243876++){const _0x51dac3=this['_createSkeletonLoader']();_0x51dac3['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x71a7d3['push'](_0x51dac3);}return _0x60b0f1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x1a0dbc=>!_0x1a0dbc)]},'children':_0x71a7d3}),_0x60b0f1;}['_createErrorView'](){const _0x19fedc=new _0x21b21e(this['locale']),_0x54c0e7=new _0x354b3b(this['locale']),t=this['locale']['t'];return _0x19fedc['delegate']('retryReview')['to'](this),_0x54c0e7['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x54c0e7['on']('execute',()=>{this['fire']('retryReview');}),_0x19fedc['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x154e0f=>!_0x154e0f),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x515bcb=>'chunk'===_0x515bcb)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0xfd35e9=>'chunk'===_0xfd35e9)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x38b436=>'general'!==_0x38b436)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x166077=>'chunk'!==_0x166077)]},'children':[{'text':_0xd34225(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x54c0e7]}),_0x19fedc;}['_createCancelButtonView'](){const _0xa0400a=new _0x354b3b(this['locale']);return _0xa0400a['set']({'label':_0xd34225(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x481d90}),_0xa0400a['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0xd62f87=>_0xd62f87),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5342b3=>_0x5342b3)]}}),_0xa0400a['on']('execute',()=>{this['fire']('abortReviewStream');}),_0xa0400a;}['_createToggleDiffButtonView'](){const _0x470bb8=new _0x354b3b(this['locale']);_0x470bb8['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x470bb8['bind']('isEnabled')['to'](this,'isError',_0xfe881d=>!_0xfe881d),_0x470bb8['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1e8d4e=>!_0x1e8d4e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x46f01a=>_0x46f01a)]}});const _0x49d42f=_0xd34225(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x26e9f5=_0xd34225(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x470bb8['bind']('isOn')['to'](this,'isToggleDiffOn',_0xebd174=>_0xebd174),_0x470bb8['bind']('icon')['to'](this,'isToggleDiffOn',_0x83d95=>_0x83d95?_0x3e1218:_0x12eff2),_0x470bb8['bind']('label')['to'](this,'isToggleDiffOn',_0x4b510a=>_0x4b510a?_0x49d42f:_0x26e9f5),_0x470bb8['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x470bb8;}['_createAcceptAllButtonView'](){const _0x338856=new _0x354b3b(this['locale']);return _0x338856['set']({'label':_0xd34225(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x338856['bind']('isEnabled')['to'](this,'isError',_0x1d7230=>!_0x1d7230),_0x338856['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2b045f=>!_0x2b045f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4ef7ee=>_0x4ef7ee)]}}),_0x338856['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x338856;}['_createExitReviewButtonView'](){const _0x4405c6=new _0x354b3b(this['locale']);return _0x4405c6['set']({'label':_0xd34225(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x4405c6['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3a6715=>!_0x3a6715),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3377c7=>_0x3377c7)]}}),_0x4405c6['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x4405c6;}['_createResultHeaderView'](){const _0x28b5ec=new _0x21b21e(this['locale']),_0x341bee=this['_createTitleView']();return _0x28b5ec['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x4af2d5=>_0x4af2d5)]},'children':[_0x341bee,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x28b5ec;}['_createTitleView'](){const _0x35881f=new _0x21b21e(this['locale']),_0x435d4a=new _0x20e77e();return _0x435d4a['bind']('isVisible')['to'](this,'isResultReady',_0x3de828=>!_0x3de828),_0x35881f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x435d4a,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x44d2ee=>_0x44d2ee)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1a5e2a=>!_0x1a5e2a)]},'children':[{'text':_0xd34225(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x35881f;}['_createFinishReviewButtonView'](){const _0x3ffc0b=new _0x22a5fc(_0xd34225(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x3ffc0b['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x259e2b=>!_0x259e2b)]}}),_0x3ffc0b['delegate']('finishReview')['to'](this),_0x3ffc0b;}}
|
|
23
|
+
import{ListItemView as _0x57bd2d,View as _0x15b61b,ViewCollection as _0x18bf58,ButtonView as _0x33dbef}from'ckeditor5/src/ui.js';import{IconStop as _0x7b71ac,IconEye as _0x367f79,IconEyeCrossedOut as _0x2a1dd0}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x1f7ae4,SKELETON_DEFINITIONS as _0x579d49}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x3f354f}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x46168}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x1febfe}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x3ca13c}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x5edb00}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x57bd2d{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x4b6f43,_0x481980){super(_0x4b6f43),this['_contents']=_0x481980,this['_resultViews']=new _0x18bf58(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x3f354f(_0x4b6f43),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x4cf824=this['_createCombinedSkeletonLoader'](),_0x2fd739=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x2fd739['if']('isLoading','ck-ai_review__check-run_loading',_0x45e4e9=>_0x45e4e9),_0x2fd739['if']('isResultReady','ck-ai_review__check-run_ready',_0x2aecf1=>_0x2aecf1),_0x2fd739['if']('isVisible','ck-hidden',_0x4aee1f=>!_0x4aee1f)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x27f690=>_0x27f690)]},'children':this['_resultViews']},_0x4cf824]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x4840ae){const _0x5543e8=new _0x3ca13c(this['locale'],_0x4840ae['id']);_0x5543e8['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x5543e8),_0x5543e8['resultResponseView']['element']['innerHTML']=_0x4840ae['contentDiffed'];}['hideResult'](_0xd9adf0,_0x25328c){if('pending'===_0x25328c)return;const _0x555e37=this['_resultViews']['find'](_0x307b1d=>_0x307b1d['id']===_0xd9adf0);_0x555e37&&(_0x555e37['status']=_0x25328c,_0x555e37['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x471576,_0x51d800){if('pending'!==_0x51d800)return;const _0x1b5979=this['_resultViews']['find'](_0x14fa64=>_0x14fa64['id']===_0x471576);_0x1b5979&&(_0x1b5979['status']=_0x51d800,_0x1b5979['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x144224,_0x28df43){this['headerTitle']=_0x144224,this['headerSubtitle']=_0x28df43||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x1f7ae4(this['locale'],_0x579d49['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x117b9a=new _0x15b61b(this['locale']),_0x21cbc8=[];for(let _0x553dae=0x0;_0x553dae<0x10;_0x553dae++){const _0x569ff5=this['_createSkeletonLoader']();_0x569ff5['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x21cbc8['push'](_0x569ff5);}return _0x117b9a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2bee4a=>!_0x2bee4a)]},'children':_0x21cbc8}),_0x117b9a;}['_createErrorView'](){const _0x5d8bc9=new _0x15b61b(this['locale']),_0x3a3b8e=new _0x33dbef(this['locale']),t=this['locale']['t'];return _0x5d8bc9['delegate']('retryReview')['to'](this),_0x3a3b8e['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x3a3b8e['on']('execute',()=>{this['fire']('retryReview');}),_0x5d8bc9['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x43eb89=>!_0x43eb89),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x44b047=>'chunk'===_0x44b047)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x8605a=>'chunk'===_0x8605a)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xd3495f=>'general'!==_0xd3495f)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x236e25=>'chunk'!==_0x236e25)]},'children':[{'text':_0x46168(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x3a3b8e]}),_0x5d8bc9;}['_createCancelButtonView'](){const _0x570d0e=new _0x33dbef(this['locale']);return _0x570d0e['set']({'label':_0x46168(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x7b71ac}),_0x570d0e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1eed45=>_0x1eed45),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1caf76=>_0x1caf76)]}}),_0x570d0e['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x570d0e;}['_createToggleDiffButtonView'](){const _0x536218=new _0x33dbef(this['locale']);_0x536218['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x536218['bind']('isEnabled')['to'](this,'isError',_0x45dc60=>!_0x45dc60),_0x536218['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x6ce539=>!_0x6ce539),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x570155=>_0x570155)]}});const _0x430e62=_0x46168(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x1f39f5=_0x46168(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x536218['bind']('isOn')['to'](this,'isToggleDiffOn',_0x3fcbfc=>_0x3fcbfc),_0x536218['bind']('icon')['to'](this,'isToggleDiffOn',_0x28ab41=>_0x28ab41?_0x367f79:_0x2a1dd0),_0x536218['bind']('label')['to'](this,'isToggleDiffOn',_0x3e962f=>_0x3e962f?_0x430e62:_0x1f39f5),_0x536218['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x536218;}['_createAcceptAllButtonView'](){const _0xf005b1=new _0x33dbef(this['locale']);return _0xf005b1['set']({'label':_0x46168(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0xf005b1['bind']('isEnabled')['to'](this,'isError',_0x41e286=>!_0x41e286),_0xf005b1['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xae1c57=>!_0xae1c57),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xa25630=>_0xa25630)]}}),_0xf005b1['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0xf005b1;}['_createExitReviewButtonView'](){const _0x38682d=new _0x33dbef(this['locale']);return _0x38682d['set']({'label':_0x46168(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x38682d['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1d0aba=>!_0x1d0aba),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x31fe61=>_0x31fe61)]}}),_0x38682d['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x38682d;}['_createResultHeaderView'](){const _0x46bf59=new _0x15b61b(this['locale']),_0x3ed44d=this['_createTitleView']();return _0x46bf59['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0xc15121=>_0xc15121)]},'children':[_0x3ed44d,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x46bf59;}['_createTitleView'](){const _0x487722=new _0x15b61b(this['locale']),_0x56bedf=new _0x1febfe();return _0x56bedf['bind']('isVisible')['to'](this,'isResultReady',_0x76574e=>!_0x76574e),_0x487722['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x56bedf,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5e8827=>_0x5e8827)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4a897a=>!_0x4a897a)]},'children':[{'text':_0x46168(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x487722;}['_createFinishReviewButtonView'](){const _0x3ca69d=new _0x5edb00(_0x46168(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x3ca69d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3ff5c1=>!_0x3ff5c1)]}}),_0x3ca69d['delegate']('finishReview')['to'](this),_0x3ca69d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2c17c7=_0x578f;(function(_0x43a60f,_0x11d233){var _0x37028f=_0x578f,_0x4c34e3=_0x43a60f();while(!![]){try{var _0x26b85b=parseInt(_0x37028f(0xb5))/0x1*(-parseInt(_0x37028f(0x97))/0x2)+-parseInt(_0x37028f(0x94))/0x3+parseInt(_0x37028f(0xa7))/0x4*(parseInt(_0x37028f(0x8e))/0x5)+-parseInt(_0x37028f(0xa1))/0x6+parseInt(_0x37028f(0x9e))/0x7+-parseInt(_0x37028f(0x9a))/0x8*(parseInt(_0x37028f(0xa9))/0x9)+parseInt(_0x37028f(0xa5))/0xa;if(_0x26b85b===_0x11d233)break;else _0x4c34e3['push'](_0x4c34e3['shift']());}catch(_0x3f4038){_0x4c34e3['push'](_0x4c34e3['shift']());}}}(_0x24b6,0x789ea));import{View as _0x1ff089}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x41c2f9}from'../aireviewcoreui.js';function _0x578f(_0x3bf73a,_0x4ca992){var _0x24b69d=_0x24b6();return _0x578f=function(_0x578f17,_0x5cbf4e){_0x578f17=_0x578f17-0x88;var _0x1533c8=_0x24b69d[_0x578f17];return _0x1533c8;},_0x578f(_0x3bf73a,_0x4ca992);}import{AIReviewCoreGeneralErrorView as _0x3ea964}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x1ff089{[_0x2c17c7(0xa0)];[_0x2c17c7(0xaa)];[_0x2c17c7(0x9b)];[_0x2c17c7(0xb8)];[_0x2c17c7(0x9c)];constructor(_0x9f5e30,_0x26bf1d){var _0x4e1a36=_0x2c17c7;super(_0x9f5e30),this[_0x4e1a36(0xa0)]=_0x26bf1d[_0x4e1a36(0xb2)],this[_0x4e1a36(0xaa)]=new _0x3ea964(_0x9f5e30),this[_0x4e1a36(0x9b)]=_0x26bf1d[_0x4e1a36(0x99)],this[_0x4e1a36(0x9b)][_0x4e1a36(0xb0)](..._0x41c2f9)['to'](this),this[_0x4e1a36(0xb8)]=_0x26bf1d[_0x4e1a36(0x90)],this[_0x4e1a36(0xb8)][_0x4e1a36(0xb0)](..._0x41c2f9)['to'](this),this[_0x4e1a36(0x9c)]=_0x26bf1d[_0x4e1a36(0x8b)],this[_0x4e1a36(0x9c)][_0x4e1a36(0xb0)](_0x4e1a36(0xa3))['to'](this),this[_0x4e1a36(0x9b)][_0x4e1a36(0xb6)](_0x4e1a36(0x9f),!0x1),this[_0x4e1a36(0xb8)][_0x4e1a36(0xb6)](_0x4e1a36(0x9f),!0x1),this[_0x4e1a36(0xb8)][_0x4e1a36(0xb6)](_0x4e1a36(0x93),!0x1),this[_0x4e1a36(0xb8)][_0x4e1a36(0xb6)](_0x4e1a36(0x98),!0x1),this[_0x4e1a36(0x9c)][_0x4e1a36(0xb6)](_0x4e1a36(0x9f),!0x1),this[_0x4e1a36(0xae)]({'tag':_0x4e1a36(0x88),'attributes':{'class':['ck',_0x4e1a36(0xab),_0x4e1a36(0x92),_0x4e1a36(0xaf)],'dir':_0x4e1a36(0xa2)},'children':[this[_0x4e1a36(0xa0)],this[_0x4e1a36(0xaa)],this[_0x4e1a36(0x9b)],this[_0x4e1a36(0xb8)],this[_0x4e1a36(0x9c)]]});}[_0x2c17c7(0xb7)](){var _0x41aaa9=_0x2c17c7;this[_0x41aaa9(0x9b)][_0x41aaa9(0xa8)](),this[_0x41aaa9(0x9b)][_0x41aaa9(0xb6)](_0x41aaa9(0x9f),!0x0),this[_0x41aaa9(0xb8)][_0x41aaa9(0xb6)](_0x41aaa9(0x9f),!0x1),this[_0x41aaa9(0x9c)][_0x41aaa9(0xb6)](_0x41aaa9(0x9f),!0x1);}[_0x2c17c7(0xad)](){var _0x466ff3=_0x2c17c7;this[_0x466ff3(0xac)](),this[_0x466ff3(0xb8)][_0x466ff3(0xb4)](),this[_0x466ff3(0x9b)][_0x466ff3(0xb6)](_0x466ff3(0x9f),!0x1),this[_0x466ff3(0xb8)][_0x466ff3(0xb6)](_0x466ff3(0x9f),!0x0),this[_0x466ff3(0xb8)][_0x466ff3(0x89)](),this[_0x466ff3(0xb8)][_0x466ff3(0xb6)](_0x466ff3(0x93),!0x0),this[_0x466ff3(0xb8)][_0x466ff3(0xb6)](_0x466ff3(0x91),!0x1);}[_0x2c17c7(0x95)](_0x7ad3d6){var _0x248a7b=_0x2c17c7;this[_0x248a7b(0xb8)][_0x248a7b(0xb1)](_0x7ad3d6),this[_0x248a7b(0xb8)][_0x248a7b(0xb6)](_0x248a7b(0x93),!0x1);}[_0x2c17c7(0x9d)](){var _0x21fa26=_0x2c17c7;this[_0x21fa26(0xb8)][_0x21fa26(0xb6)](_0x21fa26(0x9f),!0x0),this[_0x21fa26(0x9c)][_0x21fa26(0xb6)](_0x21fa26(0x9f),!0x1),this[_0x21fa26(0xb8)][_0x21fa26(0xb6)](_0x21fa26(0x91),!0x0),this[_0x21fa26(0x9b)][_0x21fa26(0xb6)](_0x21fa26(0x9f),!0x1);}[_0x2c17c7(0x8a)](){var _0x3d1ca3=_0x2c17c7;this[_0x3d1ca3(0xb8)][_0x3d1ca3(0x98)]?(this[_0x3d1ca3(0x9b)][_0x3d1ca3(0xb6)](_0x3d1ca3(0x9f),!0x1),this[_0x3d1ca3(0xb8)][_0x3d1ca3(0xb6)](_0x3d1ca3(0x9f),!0x0),this[_0x3d1ca3(0x9c)][_0x3d1ca3(0xb6)](_0x3d1ca3(0x9f),!0x1)):this[_0x3d1ca3(0xb8)][_0x3d1ca3(0x98)]=!0x0;}[_0x2c17c7(0xb3)](){var _0x2354b7=_0x2c17c7;this[_0x2354b7(0x9b)][_0x2354b7(0xb6)](_0x2354b7(0x9f),!0x1),this[_0x2354b7(0xb8)][_0x2354b7(0xb6)](_0x2354b7(0x9f),!0x1),this[_0x2354b7(0x9c)][_0x2354b7(0xb6)](_0x2354b7(0x9f),!0x0);}[_0x2c17c7(0xac)](){var _0x4109d9=_0x2c17c7;this[_0x4109d9(0xb8)][_0x4109d9(0x98)]=!0x1;}[_0x2c17c7(0x8d)](_0x3f7986){var _0x5b307c=_0x2c17c7;this[_0x5b307c(0xaa)][_0x5b307c(0xb6)](_0x5b307c(0x9f),!0x0),this[_0x5b307c(0xaa)][_0x5b307c(0xa6)]=_0x3f7986;}[_0x2c17c7(0xa4)](){var _0x2fb982=_0x2c17c7;this[_0x2fb982(0xb8)][_0x2fb982(0xb6)](_0x2fb982(0x93),!0x1),this[_0x2fb982(0x8a)](),this[_0x2fb982(0xb8)][_0x2fb982(0x96)]();}[_0x2c17c7(0x8c)](){var _0x1096c2=_0x2c17c7;this[_0x1096c2(0xb8)][_0x1096c2(0xb6)](_0x1096c2(0x93),!0x1),this[_0x1096c2(0x8a)](),this[_0x1096c2(0xb8)][_0x1096c2(0x8f)]();}}function _0x24b6(){var _0x1731d6=['isVisible','reviewCoreHeader','4368078noJeeN','ltr','finishReview','showGeneralResultsErrorView','30231830FuriaA','errorMessage','164OMaHLz','resetAllParameterizedChecks','9RKHVJh','generalErrorView','ck-reset_all','hideActionsWhenResultIsReady','showReviewCheckResultsView','setTemplate','ck-rounded-corners','delegate','addResult','header','showNoChangesView','resetErrorState','1712VyolJM','set','showReviewCheckListView','reviewCheckResultsView','div','clearResults','showActionsWhenResultIsReady','completed','showChunkErrorView','showGeneralReviewCoreErrorView','31605DooTHt','showChunkErrorMessage','results','isCompleted','ck-ai-review','isLoading','2065044RIpfNF','addCheckRunResult','showGeneralErrorMessage','1062YbFoIu','isResultReady','list','4427992ssADLp','reviewCheckListView','reviewCompletedView','showReviewCompletedView','634522JoIepa'];_0x24b6=function(){return _0x1731d6;};return _0x24b6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1aaf66=_0x14c5;function _0x48a1(){const _0x426d4e=['menuitemradio','label','3SKPrDE','ck-reset_all','4133066DwkwzO','1111174vhjRjc','4943526APHcFB','menu','set','bindTemplate','1339789sleRse','buttonView','16neciWA','find','div','button','_defaultValue','bind','locale','length','default','source','resetToDefault','stopPropagation','execute','data','extendTemplate','5wSXJur','listenTo','add','1090slnyaR','ck-ai_review__check-list-item-parameterized-form-element_dropdown','_prepareListOptions','321308OubEBm','isOn','model','ck-ai_review__check-list-item-parameterized-form-element','formValue','_defaultLabel','89811ORGpyi','setTemplate','8434382pfMTAt','_dropdownView'];_0x48a1=function(){return _0x426d4e;};return _0x48a1();}(function(_0x155db3,_0x3a6baf){const _0x51791b=_0x14c5,_0x4be414=_0x155db3();while(!![]){try{const _0x2177f0=parseInt(_0x51791b(0xd4))/0x1+parseInt(_0x51791b(0xcf))/0x2*(-parseInt(_0x51791b(0xcc))/0x3)+-parseInt(_0x51791b(0xc0))/0x4+parseInt(_0x51791b(0xba))/0x5*(-parseInt(_0x51791b(0xd0))/0x6)+parseInt(_0x51791b(0xce))/0x7*(parseInt(_0x51791b(0xd6))/0x8)+-parseInt(_0x51791b(0xc6))/0x9*(parseInt(_0x51791b(0xbd))/0xa)+parseInt(_0x51791b(0xc8))/0xb;if(_0x2177f0===_0x3a6baf)break;else _0x4be414['push'](_0x4be414['shift']());}catch(_0x1d3337){_0x4be414['push'](_0x4be414['shift']());}}}(_0x48a1,0xb4a29));import{Collection as _0x1083d0}from'ckeditor5/src/utils.js';import{View as _0x2cf463,createDropdown as _0x3bd405,addListToDropdown as _0x189857,UIModel as _0x15a97e}from'ckeditor5/src/ui.js';function _0x14c5(_0x47b723,_0x4e7bf5){const _0x48a1bb=_0x48a1();return _0x14c5=function(_0x14c563,_0x13ada2){_0x14c563=_0x14c563-0xb3;let _0x3611a7=_0x48a1bb[_0x14c563];return _0x3611a7;},_0x14c5(_0x47b723,_0x4e7bf5);}export class AIReviewCoreFormDropdownView extends _0x2cf463{[_0x1aaf66(0xc9)];[_0x1aaf66(0xda)];[_0x1aaf66(0xc5)];constructor(_0x261b0c,_0x267b76){const _0x4555ca=_0x1aaf66;super(_0x261b0c),this[_0x4555ca(0xda)]=_0x267b76[_0x4555ca(0xb3)]||(_0x267b76[_0x4555ca(0xb8)][_0x4555ca(0xdd)]>0x0?_0x267b76[_0x4555ca(0xb8)][0x0]['id']:''),this[_0x4555ca(0xc5)]=_0x267b76[_0x4555ca(0xb8)][_0x4555ca(0xd7)](_0x5b846a=>_0x5b846a['id']===this[_0x4555ca(0xda)])?.[_0x4555ca(0xcb)]||'',this[_0x4555ca(0xd2)](_0x4555ca(0xc4),''),this[_0x4555ca(0xc9)]=_0x3bd405(this[_0x4555ca(0xdc)]);const _0x3ba5d3=this[_0x4555ca(0xbf)](_0x267b76[_0x4555ca(0xb8)]);_0x189857(this[_0x4555ca(0xc9)],_0x3ba5d3,{'role':_0x4555ca(0xd1),'ariaLabel':_0x267b76[_0x4555ca(0xcb)]}),this[_0x4555ca(0xc9)][_0x4555ca(0xd5)][_0x4555ca(0xd2)]({'label':this[_0x4555ca(0xc5)],'withText':!0x0}),this[_0x4555ca(0xc9)][_0x4555ca(0xb9)]({'on':{'click':this[_0x4555ca(0xd3)]['to'](_0x555c37=>{const _0x1f1242=_0x4555ca;_0x555c37[_0x1f1242(0xb6)]();})}}),this[_0x4555ca(0xbb)](this[_0x4555ca(0xc9)],_0x4555ca(0xb7),_0x24eea4=>{const _0x3b7e86=_0x4555ca;this[_0x3b7e86(0xc4)]=_0x24eea4[_0x3b7e86(0xb4)][_0x3b7e86(0xc2)]['id'],this[_0x3b7e86(0xc9)][_0x3b7e86(0xd5)][_0x3b7e86(0xcb)]=_0x24eea4[_0x3b7e86(0xb4)][_0x3b7e86(0xc2)][_0x3b7e86(0xcb)];}),this[_0x4555ca(0xc7)]({'tag':_0x4555ca(0xd8),'attributes':{'class':['ck',_0x4555ca(0xcd),_0x4555ca(0xc3),_0x4555ca(0xbe)]},'children':[this[_0x4555ca(0xc9)]]});}[_0x1aaf66(0xb5)](){const _0x1ec47f=_0x1aaf66;this[_0x1ec47f(0xc4)]=this[_0x1ec47f(0xda)],this[_0x1ec47f(0xc9)][_0x1ec47f(0xd5)][_0x1ec47f(0xcb)]=this[_0x1ec47f(0xc5)];}[_0x1aaf66(0xbf)](_0x4e5c89=[]){const _0x26e8f9=_0x1aaf66,_0x49abd4=new _0x1083d0();this[_0x26e8f9(0xb5)]();for(const _0x551e01 of _0x4e5c89){const _0x971f40=new _0x15a97e({'label':_0x551e01[_0x26e8f9(0xcb)],'withText':!0x0,'role':_0x26e8f9(0xca),'id':_0x551e01['id'],'model':_0x551e01});_0x971f40[_0x26e8f9(0xdb)](_0x26e8f9(0xc1))['to'](this,_0x26e8f9(0xc4),_0x20790e=>_0x20790e===_0x971f40['id']);const _0x29f8d2={'type':_0x26e8f9(0xd9),'model':_0x971f40};_0x49abd4[_0x26e8f9(0xbc)](_0x29f8d2);}return _0x49abd4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48eed6=_0x3a06;(function(_0x550df3,_0x481c8f){const _0x370d1b=_0x3a06,_0x2b29df=_0x550df3();while(!![]){try{const _0x53e67a=-parseInt(_0x370d1b(0x1bd))/0x1*(parseInt(_0x370d1b(0x1b3))/0x2)+-parseInt(_0x370d1b(0x1b7))/0x3*(-parseInt(_0x370d1b(0x1ae))/0x4)+parseInt(_0x370d1b(0x1b2))/0x5+-parseInt(_0x370d1b(0x1ad))/0x6*(parseInt(_0x370d1b(0x1b5))/0x7)+-parseInt(_0x370d1b(0x1bc))/0x8+parseInt(_0x370d1b(0x1c5))/0x9*(-parseInt(_0x370d1b(0x1b6))/0xa)+-parseInt(_0x370d1b(0x1c0))/0xb*(-parseInt(_0x370d1b(0x1c2))/0xc);if(_0x53e67a===_0x481c8f)break;else _0x2b29df['push'](_0x2b29df['shift']());}catch(_0x437983){_0x2b29df['push'](_0x2b29df['shift']());}}}(_0x5ef4,0x21f0e));import{FormRowView as _0x367c1e,ListItemView as _0x21afa9}from'ckeditor5/src/ui.js';function _0x5ef4(){const _0x2c6924=['2oawAvz','argsKey','6482XUUrTC','2542790JMHyWq','6WDHunl','ck-reset_all','resetToDefault','locale','formValue','1698784rDpWDf','32295IrMZxs','value','setTemplate','11hgbaMt','set','5773212SkWcuZ','ck-ai_review__form-item','formType','9NEjZeV','div','add','children','bind','1308vcAnGJ','206576hIeqrM','_formItem','dropdown','ck-form__row_with-submit','1277115UoBMuS'];_0x5ef4=function(){return _0x2c6924;};return _0x5ef4();}import{AIReviewCoreFormDropdownView as _0x3cb80f}from'./aireviewcoreformdropdown.js';function _0x3a06(_0x3cc37a,_0x119a5a){const _0x5ef466=_0x5ef4();return _0x3a06=function(_0x3a064f,_0x1f364f){_0x3a064f=_0x3a064f-0x1aa;let _0x1ef222=_0x5ef466[_0x3a064f];return _0x1ef222;},_0x3a06(_0x3cc37a,_0x119a5a);}export class AIReviewCoreFormManagerView extends _0x21afa9{[_0x48eed6(0x1af)]=null;constructor(_0x2db827,_0x495a42,_0xf34d5d){const _0x1e11c4=_0x48eed6;super(_0x2db827),this[_0x1e11c4(0x1b4)]=_0x495a42?.[_0x1e11c4(0x1b4)];if(_0x1e11c4(0x1b0)===_0x495a42[_0x1e11c4(0x1c4)])this[_0x1e11c4(0x1af)]=new _0x3cb80f(this[_0x1e11c4(0x1ba)],_0x495a42);this[_0x1e11c4(0x1c1)](_0x1e11c4(0x1be),''),this[_0x1e11c4(0x1ac)](_0x1e11c4(0x1be))['to'](this[_0x1e11c4(0x1af)],_0x1e11c4(0x1bb));const _0x349a68=new _0x367c1e(this[_0x1e11c4(0x1ba)],{'children':[this[_0x1e11c4(0x1af)]],'class':[_0xf34d5d?_0x1e11c4(0x1b1):'']});_0xf34d5d&&_0x349a68[_0x1e11c4(0x1ab)][_0x1e11c4(0x1aa)](_0xf34d5d),this[_0x1e11c4(0x1bf)]({'tag':_0x1e11c4(0x1c6),'attributes':{'class':['ck',_0x1e11c4(0x1c3),_0x1e11c4(0x1b8)]},'children':[_0x349a68]});}[_0x48eed6(0x1b9)](){const _0x592c1f=_0x48eed6;this[_0x592c1f(0x1af)][_0x592c1f(0x1b9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x12aa(){const _0x193391=['confident','direct','correctness','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','custom','Shorter','Confident','9885984ZykOjV','dropdown','clarity','Professional','Clarity','longer','Casual','1110521WjUGPL','Direct','make-tone','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Adjust\x20tone\x20and\x20style','1207805DdYUns','1963308xbXGrT','friendly','make','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','shorter','1088913LQgvgZ','Custom\x20command','Correctness','14FBIGWF','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','2kSuMUA','casual','Adjust\x20length','Readability','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','readability','professional','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','80BtHRSP','136992NChhQd','1972107ImHzWA','Friendly','length','Longer','tone'];_0x12aa=function(){return _0x193391;};return _0x12aa();}const _0x8b74a3=_0x228c;(function(_0x4e8917,_0xe8b460){const _0x3c998f=_0x228c,_0x2fc5d6=_0x4e8917();while(!![]){try{const _0x36df5c=-parseInt(_0x3c998f(0x172))/0x1+-parseInt(_0x3c998f(0x182))/0x2*(-parseInt(_0x3c998f(0x17d))/0x3)+-parseInt(_0x3c998f(0x18b))/0x4+parseInt(_0x3c998f(0x177))/0x5+-parseInt(_0x3c998f(0x178))/0x6*(-parseInt(_0x3c998f(0x180))/0x7)+-parseInt(_0x3c998f(0x16b))/0x8+parseInt(_0x3c998f(0x18c))/0x9*(parseInt(_0x3c998f(0x18a))/0xa);if(_0x36df5c===_0xe8b460)break;else _0x2fc5d6['push'](_0x2fc5d6['shift']());}catch(_0x5e4bc5){_0x2fc5d6['push'](_0x2fc5d6['shift']());}}}(_0x12aa,0x9a28b));function _0x228c(_0x1fd5ee,_0x2ef100){const _0x12aa08=_0x12aa();return _0x228c=function(_0x228ce5,_0x579c46){_0x228ce5=_0x228ce5-0x163;let _0x2fa879=_0x12aa08[_0x228ce5];return _0x2fa879;},_0x228c(_0x1fd5ee,_0x2ef100);}export const AI_REVIEW_CHECKS=[{'id':_0x8b74a3(0x168),'commandId':_0x8b74a3(0x168),'title':_0x8b74a3(0x17e),'description':_0x8b74a3(0x17b),'isParameterized':!0x0},{'id':_0x8b74a3(0x166),'commandId':_0x8b74a3(0x166),'title':_0x8b74a3(0x17f),'description':_0x8b74a3(0x186),'isParameterized':!0x1},{'id':_0x8b74a3(0x16d),'commandId':_0x8b74a3(0x16d),'title':_0x8b74a3(0x16f),'description':_0x8b74a3(0x175),'isParameterized':!0x1},{'id':_0x8b74a3(0x187),'commandId':_0x8b74a3(0x187),'title':_0x8b74a3(0x185),'description':_0x8b74a3(0x167),'isParameterized':!0x1},{'id':_0x8b74a3(0x18e),'commandId':_0x8b74a3(0x17a),'title':_0x8b74a3(0x184),'description':_0x8b74a3(0x181),'isParameterized':!0x0,'options':[{'formType':_0x8b74a3(0x16c),'label':_0x8b74a3(0x184),'default':_0x8b74a3(0x170),'data':[{'label':_0x8b74a3(0x18f),'id':_0x8b74a3(0x170)},{'label':_0x8b74a3(0x169),'id':_0x8b74a3(0x17c)}]}]},{'id':_0x8b74a3(0x163),'commandId':_0x8b74a3(0x174),'title':_0x8b74a3(0x176),'description':_0x8b74a3(0x189),'isParameterized':!0x0,'options':[{'formType':_0x8b74a3(0x16c),'label':_0x8b74a3(0x176),'default':_0x8b74a3(0x183),'data':[{'label':_0x8b74a3(0x171),'id':_0x8b74a3(0x183)},{'label':_0x8b74a3(0x173),'id':_0x8b74a3(0x165)},{'label':_0x8b74a3(0x18d),'id':_0x8b74a3(0x179)},{'label':_0x8b74a3(0x16a),'id':_0x8b74a3(0x164)},{'label':_0x8b74a3(0x16e),'id':_0x8b74a3(0x188)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x178d40=_0x31c6;function _0x58d8(){var _0x4e23fa=['8bFGYPF','3994102oDUIGo','38BlYybV','isPremiumPlugin','isOfficialPlugin','979161RoghuN','AIReviewMode','requires','16496840zSHepQ','6290460zPvOSe','2791850YdaGyo','6dDXHXT','pluginName','31372CQCVjn','2942872qTgMdj'];_0x58d8=function(){return _0x4e23fa;};return _0x58d8();}(function(_0x36199b,_0x47dd40){var _0x433055=_0x31c6,_0x107cdd=_0x36199b();while(!![]){try{var _0x2e7e3e=parseInt(_0x433055(0x182))/0x1*(parseInt(_0x433055(0x186))/0x2)+-parseInt(_0x433055(0x189))/0x3*(-parseInt(_0x433055(0x184))/0x4)+parseInt(_0x433055(0x18e))/0x5*(parseInt(_0x433055(0x18f))/0x6)+parseInt(_0x433055(0x185))/0x7+parseInt(_0x433055(0x183))/0x8+-parseInt(_0x433055(0x18d))/0x9+-parseInt(_0x433055(0x18c))/0xa;if(_0x2e7e3e===_0x47dd40)break;else _0x107cdd['push'](_0x107cdd['shift']());}catch(_0x24f067){_0x107cdd['push'](_0x107cdd['shift']());}}}(_0x58d8,0x60ee9));function _0x31c6(_0x1dc847,_0xf50c65){var _0x58d8a4=_0x58d8();return _0x31c6=function(_0x31c627,_0x303084){_0x31c627=_0x31c627-0x182;var _0x515e8c=_0x58d8a4[_0x31c627];return _0x515e8c;},_0x31c6(_0x1dc847,_0xf50c65);}import{ContextPlugin as _0x156a27}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0xd6210a}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x150853}from'../aireviewcore/aireviewcoreediting.js';import{AIReviewModeController as _0x4ccb20}from'./aireviewmodecontroller.js';export class AIReviewMode extends _0x156a27{static get[_0x178d40(0x18b)](){return[_0x4ccb20,_0xd6210a,_0x150853];}static get[_0x178d40(0x190)](){var _0x28be9a=_0x178d40;return _0x28be9a(0x18a);}static get[_0x178d40(0x188)](){return!0x0;}static get[_0x178d40(0x187)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x52a735=_0x37a5;function _0x37a5(_0x4338f1,_0x3c98a7){const _0x553e84=_0x553e();return _0x37a5=function(_0x37a5af,_0x1c733d){_0x37a5af=_0x37a5af-0x64;let _0x588ad9=_0x553e84[_0x37a5af];return _0x588ad9;},_0x37a5(_0x4338f1,_0x3c98a7);}(function(_0x14db12,_0x47cd74){const _0x512c4b=_0x37a5,_0x353744=_0x14db12();while(!![]){try{const _0x382db8=parseInt(_0x512c4b(0x68))/0x1*(-parseInt(_0x512c4b(0xe0))/0x2)+-parseInt(_0x512c4b(0xbf))/0x3*(parseInt(_0x512c4b(0xc5))/0x4)+parseInt(_0x512c4b(0xda))/0x5+parseInt(_0x512c4b(0xd2))/0x6*(-parseInt(_0x512c4b(0xcc))/0x7)+-parseInt(_0x512c4b(0x90))/0x8+-parseInt(_0x512c4b(0xe2))/0x9+parseInt(_0x512c4b(0xe5))/0xa;if(_0x382db8===_0x47cd74)break;else _0x353744['push'](_0x353744['shift']());}catch(_0x247949){_0x353744['push'](_0x353744['shift']());}}}(_0x553e,0x27008));import{CKEditorError as _0x1acaea}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x5c1c84}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x3007ed}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x1886fb}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x1c83a9}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x566da5}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x4ab4c9}from'../aicore/model/aimodels.js';function _0x553e(){const _0x2220ed=['getRoot','find','description','1321170qemfvY','setActiveStateInResults','_onDiffChange','prompt','changeId','startsWith','35808KmusXV','setMarkersInElementAsActive','1497384ZnRTAn','data','setAllMarkersAsInactive','10172720SjVzwf','removeCheckById','_getChangeContentElement','_currentReviewCheckRun','resetActiveStateInResults','document','getEditor','AIReviewModeController','_diffContent','all','push','_logError','ai.models','uiInteraction','16LjooqR','join','models','_onReviewCheckRun','ck-ai_review-','ai.review.extraCommands','hover','showChangeBalloon','map','isCustom','default','change','_markChangePositionInEditorContent','diffContent','replaceAll','title','AI_REVIEW_CHECK_','locale','some','defaultModel','_getModels','ai.review.availableCommands','panel','_onChangeMarkerClicked','isAnyChangeActivated','ai-review-mode-command-unavailable-due-to-missing-model','_hasDefaultAvailableCommands','pluginName','AIReviewCoreEditing','_onDeactivateChange','showDiffInBalloon','click','_TITLE','_filterChecksWithMissingModel','args','getDefault','_initRequiredPlugins','params','hideDiffInBalloon','_createReviewCheckRun','2038072DwIsRT','filter','_getChecksList','balloon','forEach','_OPTIONS_LABEL','toggleDiff','checks','getAvailableModels','options','ck-ai_review-diff','recommended','_aiReviewCoreUi','activateChange','_onChangeMarkerBlurred','view','_scrollToChange','viewportOffset','listenTo','context','isExtra','_getExtraChecks','markerElement','origin','getAll','length','config','get','hideChangeBalloon','addClass','setupChecks','plugins','_isDiffOn','markChangePositionInEditorContent','domEvent','_changeActivationSource','_translateReviewCheck','_aiConnector','ai-review-mode-models-unable-to-retrieve','model','removeClass','AIReviewModeUI','content','getMarkerElementForChange','getClassNames','_onChangeMarkerHovered','_aiReviewCoreEditing','867YLTWJX','_OPTIONS_DATA_','_onActivateChange','_onReviewCheckResultDeactivated','getElement','_onReviewCheckResultActivated','2908gIwZVY','ck-ai_review-highlights','editing','toUpperCase','custom','label','getChangeById','28ACfnex','define','getDocumentData','_getTranslationWithDefault','init','deactivateChange','306078ryaMwm','_DESCRIPTION','_logErrorForNonExistentChecks','getDomRoot','ai-review-mode-non-existent-commands-used'];_0x553e=function(){return _0x2220ed;};return _0x553e();}import{AIReviewCheckCustom as _0x33fd1d}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x203a41}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x6b2822}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x5c1c84{static get[_0x52a735(0x83)](){const _0x5d9007=_0x52a735;return _0x5d9007(0xec);}[_0x52a735(0xb0)]=!0x1;[_0x52a735(0x82)]=!0x1;constructor(_0xec0008){const _0x4795e3=_0x52a735;super(_0xec0008),this[_0x4795e3(0x82)]=!this[_0x4795e3(0xa3)][_0x4795e3(0xaa)][_0x4795e3(0xab)](_0x4795e3(0x7d)),this[_0x4795e3(0xa3)][_0x4795e3(0xaa)][_0x4795e3(0xcd)](_0x4795e3(0x7d),_0x3007ed[_0x4795e3(0x70)](_0x56dacf=>_0x56dacf['id'])),this[_0x4795e3(0xa3)][_0x4795e3(0xaa)][_0x4795e3(0xcd)](_0x4795e3(0x6d),[]);}async[_0x52a735(0xd0)](){const _0x1bd4d6=_0x52a735;await super[_0x1bd4d6(0xd0)](),this[_0x1bd4d6(0xa2)](this[_0x1bd4d6(0x9c)],_0x1bd4d6(0x96),(_0x103c24,_0x2a7880)=>{const _0x2ba054=_0x1bd4d6;this[_0x2ba054(0xb0)]=_0x2a7880['on'],this[_0x2ba054(0xdc)](this[_0x2ba054(0xb0)]);});}[_0x52a735(0x8c)](){const _0x23013b=_0x52a735;super[_0x23013b(0x8c)](),this[_0x23013b(0x9c)]=this[_0x23013b(0xa3)][_0x23013b(0xaf)][_0x23013b(0xab)](_0x23013b(0xb9)),this[_0x23013b(0xbe)]=this[_0x23013b(0xa3)][_0x23013b(0xaf)][_0x23013b(0xab)](_0x23013b(0x84));}[_0x52a735(0x8f)](_0x1c642b,_0x54cce9){const _0x170950=_0x52a735;return _0x1c642b[_0x170950(0x71)]?new _0x1c83a9(_0x1c642b[_0x170950(0x8a)][_0x170950(0xdd)],_0x1c642b[_0x170950(0x8a)][_0x170950(0xb7)],this[_0x170950(0xbe)][_0x170950(0xce)](),_0x54cce9,this[_0x170950(0xb5)]):_0x54cce9[_0x170950(0xa4)]?new _0x6b2822(_0x54cce9[_0x170950(0xdd)],_0x54cce9[_0x170950(0x7b)]['id'],this[_0x170950(0xbe)][_0x170950(0xce)](),_0x54cce9,this[_0x170950(0xb5)]):new _0x566da5(this[_0x170950(0xbe)][_0x170950(0xce)](),_0x54cce9,this[_0x170950(0xb5)],_0x1c642b[_0x170950(0x8d)],_0x1c642b[_0x170950(0x8a)]);}[_0x52a735(0xc4)](_0x1c938e){const _0x3d33b8=_0x52a735;this[_0x3d33b8(0x9c)][_0x3d33b8(0xdb)](_0x1c938e[_0x3d33b8(0x73)]['id']),this[_0x3d33b8(0xa0)](_0x1c938e[_0x3d33b8(0x73)]['id']);const _0x2b41b3=this[_0x3d33b8(0xbe)][_0x3d33b8(0xbb)](_0x1c938e[_0x3d33b8(0x73)]['id']);if(!_0x2b41b3)return;const _0x1b2bb6=this[_0x3d33b8(0xbe)][_0x3d33b8(0xeb)]();this[_0x3d33b8(0x9c)][_0x3d33b8(0x6f)](_0x1c938e[_0x3d33b8(0x73)],()=>_0x2b41b3[_0x3d33b8(0xc3)](),void 0x0,_0x3d33b8(0x87),_0x1b2bb6?.[_0x3d33b8(0xc7)]?.[_0x3d33b8(0x9f)]?.[_0x3d33b8(0xd5)](),_0x1b2bb6?.['ui']?.[_0x3d33b8(0xa1)]),this[_0x3d33b8(0xbe)][_0x3d33b8(0xe1)](_0x1c938e[_0x3d33b8(0x73)]['id']);}[_0x52a735(0xc2)](){const _0x479b2d=_0x52a735;this[_0x479b2d(0x9c)][_0x479b2d(0xe9)](),this[_0x479b2d(0x9c)][_0x479b2d(0xac)](),this[_0x479b2d(0xbe)][_0x479b2d(0xe4)]();}[_0x52a735(0xc1)](_0x431465){const _0xc7ae2c=_0x52a735;this[_0xc7ae2c(0xe8)]&&_0xc7ae2c(0x87)===_0x431465[_0xc7ae2c(0x67)]&&(this[_0xc7ae2c(0xb3)]=_0xc7ae2c(0x7e),this[_0xc7ae2c(0xe8)][_0xc7ae2c(0x9d)](_0x431465['id']));}[_0x52a735(0x85)](_0x458b28){const _0x32a4b2=_0x52a735;this[_0x32a4b2(0xe8)]&&_0x32a4b2(0x93)===_0x458b28[_0x32a4b2(0xa7)]&&this[_0x32a4b2(0xe8)][_0x32a4b2(0xd1)]();}[_0x52a735(0x7f)](_0x4efd66,_0x3a8243){const _0x4722d7=_0x52a735;if(!this[_0x4722d7(0xe8)])return;this[_0x4722d7(0xb3)]=_0x4722d7(0xba),this[_0x4722d7(0xe8)][_0x4722d7(0x9d)](_0x3a8243[_0x4722d7(0xde)]);const _0x38ac68=this[_0x4722d7(0xe8)][_0x4722d7(0xcb)](_0x3a8243[_0x4722d7(0xde)]);if(!_0x38ac68)return;const _0x572b2f=this[_0x4722d7(0xbe)][_0x4722d7(0xeb)]();this[_0x4722d7(0x9c)][_0x4722d7(0x6f)](_0x38ac68,_0x3a8243[_0x4722d7(0xa6)],_0x3a8243[_0x4722d7(0xb2)],_0x4722d7(0x87),_0x572b2f?.[_0x4722d7(0xc7)]?.[_0x4722d7(0x9f)]?.[_0x4722d7(0xd5)](),_0x572b2f?.['ui']?.[_0x4722d7(0xa1)]);}[_0x52a735(0xbd)](_0x2dc1ec,_0x142edc){const _0x4de60b=_0x52a735;if(!this[_0x4de60b(0xe8)])return;if(this[_0x4de60b(0xe8)][_0x4de60b(0x80)]())return;const _0x3f112e=this[_0x4de60b(0xe8)][_0x4de60b(0xcb)](_0x142edc[_0x4de60b(0xde)]);if(!_0x3f112e)return;const _0x512ebc=this[_0x4de60b(0xbe)][_0x4de60b(0xeb)]();this[_0x4de60b(0x9c)][_0x4de60b(0x6f)](_0x3f112e,_0x142edc[_0x4de60b(0xa6)],_0x142edc[_0x4de60b(0xb2)],_0x4de60b(0x6e),_0x512ebc?.[_0x4de60b(0xc7)]?.[_0x4de60b(0x9f)]?.[_0x4de60b(0xd5)](),_0x512ebc?.['ui']?.[_0x4de60b(0xa1)]);}[_0x52a735(0x9e)](){const _0x30452f=_0x52a735;if(!this[_0x30452f(0xe8)])return;this[_0x30452f(0xe8)][_0x30452f(0x80)]()||this[_0x30452f(0x9c)][_0x30452f(0xac)]();}[_0x52a735(0xe7)](_0x353c8d){const _0x4ac15f=_0x52a735,_0x2d00b7=this[_0x4ac15f(0xbe)][_0x4ac15f(0xbb)](_0x353c8d);return _0x2d00b7?_0x2d00b7[_0x4ac15f(0xc3)]():null;}[_0x52a735(0x74)](_0x1c18ce,_0x30ffbc){const _0x45f795=_0x52a735;this[_0x45f795(0xbe)][_0x45f795(0xb1)](_0x1c18ce,_0x30ffbc);}[_0x52a735(0xed)](_0x54a887,_0x18111c){const _0xb45ab7=_0x52a735;return this[_0xb45ab7(0xbe)][_0xb45ab7(0x75)](_0x54a887,_0x18111c);}[_0x52a735(0x6b)](){const _0xf69e69=_0x52a735;this[_0xf69e69(0xdc)](this[_0xf69e69(0xb0)]);}[_0x52a735(0xdc)](_0x551154){const _0x58f78c=_0x52a735,_0xad151=this[_0x58f78c(0xbe)][_0x58f78c(0xeb)]();_0x551154?this[_0x58f78c(0x9c)][_0x58f78c(0x8e)]():this[_0x58f78c(0x9c)][_0x58f78c(0x86)](),_0xad151&&_0xad151[_0x58f78c(0xc7)][_0x58f78c(0x9f)][_0x58f78c(0x73)](_0x2c7d94=>{const _0x10ac3e=_0x58f78c,_0x42698c=_0xad151[_0x10ac3e(0xc7)][_0x10ac3e(0x9f)][_0x10ac3e(0xea)][_0x10ac3e(0xd7)]();for(const _0x2624b1 of _0x42698c[_0x10ac3e(0xbc)]())_0x2624b1[_0x10ac3e(0xdf)](_0x10ac3e(0x6c))&&_0x2c7d94[_0x10ac3e(0xb8)](_0x2624b1,_0x42698c);_0x2c7d94[_0x10ac3e(0xad)](_0x551154?_0x10ac3e(0x9a):_0x10ac3e(0xc6),_0x42698c);});}async[_0x52a735(0x92)](){const _0x3d40b9=_0x52a735,_0x101b35=[..._0x3007ed,...this[_0x3d40b9(0xa5)]()],_0x3a851a=this[_0x3d40b9(0xa3)][_0x3d40b9(0xaa)][_0x3d40b9(0xab)](_0x3d40b9(0x7d))||[];this[_0x3d40b9(0xd4)](_0x3a851a,_0x101b35);let _0xdcf267=_0x101b35;this[_0x3d40b9(0x82)]||(_0xdcf267=_0x3a851a[_0x3d40b9(0x70)](_0xf13ea9=>_0x101b35[_0x3d40b9(0xd8)](_0x1fff5f=>_0x1fff5f['id']===_0xf13ea9))[_0x3d40b9(0x91)](_0x49afa3=>!!_0x49afa3)),_0xdcf267=_0xdcf267[_0x3d40b9(0x70)](_0x5c8f1c=>_0x5c8f1c[_0x3d40b9(0xa4)]?_0x5c8f1c:this[_0x3d40b9(0xb4)](_0x5c8f1c));const _0x562690=_0xdcf267[_0x3d40b9(0x7a)](_0x3dfd0a=>_0x3dfd0a[_0x3d40b9(0xa4)]||_0x3d40b9(0xc9)===_0x3dfd0a['id']);let _0x50bd7b=[],_0x5b14cd=[],_0x145dd2=null;if(_0x562690){const _0x4074ba=await this[_0x3d40b9(0x7c)]();_0x50bd7b=_0x4074ba[_0x3d40b9(0xee)],_0x5b14cd=_0x4074ba[_0x3d40b9(0x9b)],_0x145dd2=_0x4074ba[_0x3d40b9(0x72)];}const _0x3acad1=new _0x1886fb(_0x50bd7b,_0x5b14cd,_0x145dd2);return _0x3acad1[_0x3d40b9(0xae)](_0xdcf267),_0x562690&&this[_0x3d40b9(0x89)](_0x3acad1),_0x3acad1;}[_0x52a735(0xa5)](){const _0x358080=_0x52a735;return(this[_0x358080(0xa3)][_0x358080(0xaa)][_0x358080(0xab)](_0x358080(0x6d))||[])[_0x358080(0x70)](_0x21dac2=>({'id':_0x21dac2['id'],'commandId':_0x21dac2['id'],'title':_0x21dac2[_0x358080(0xca)],'description':_0x21dac2[_0x358080(0xd9)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x21dac2[_0x358080(0xdd)],'model':_0x21dac2[_0x358080(0xb7)]}));}[_0x52a735(0xd4)](_0x33c46d,_0x20c169){const _0x3660f4=_0x52a735,_0x313f30=_0x33c46d[_0x3660f4(0x91)](_0x18f0ab=>!_0x20c169[_0x3660f4(0x7a)](_0x3cc2dd=>_0x3cc2dd['id']===_0x18f0ab));_0x313f30[_0x3660f4(0xa9)]&&this[_0x3660f4(0x65)](new _0x1acaea(_0x3660f4(0xd6),this,{'commandIds':_0x313f30[_0x3660f4(0x69)](',\x20')}),!0x0);}async[_0x52a735(0x7c)](){const _0x2ace12=_0x52a735;try{const _0x4c94ed=new _0x4ab4c9({'connector':this[_0x2ace12(0xb5)],'config':this[_0x2ace12(0xa3)][_0x2ace12(0xaa)][_0x2ace12(0xab)](_0x2ace12(0x66)),'locale':this[_0x2ace12(0xa3)][_0x2ace12(0x79)]});return{'all':await _0x4c94ed[_0x2ace12(0xa8)](),'recommended':await _0x4c94ed[_0x2ace12(0x98)](),'default':await _0x4c94ed[_0x2ace12(0x8b)]()};}catch(_0x2d06a2){return this[_0x2ace12(0x65)](new _0x1acaea(_0x2ace12(0xb6),this,void 0x0,_0x2d06a2)),{'all':[],'recommended':[],'default':null};}}[_0x52a735(0xb4)](_0x3cd3b8){const _0x365327=_0x52a735,_0x594278=_0x365327(0x78)+_0x3cd3b8['id'][_0x365327(0xc8)]()[_0x365327(0x76)]('-','_'),_0x39e06b={..._0x3cd3b8,'title':this[_0x365327(0xcf)](_0x594278+_0x365327(0x88),_0x3cd3b8[_0x365327(0x77)]),'description':this[_0x365327(0xcf)](_0x594278+_0x365327(0xd3),_0x3cd3b8[_0x365327(0xd9)])};return _0x3cd3b8[_0x365327(0x99)]&&(_0x39e06b[_0x365327(0x99)]=_0x3cd3b8[_0x365327(0x99)][_0x365327(0x70)](_0x48a4da=>({..._0x48a4da,'label':this[_0x365327(0xcf)](_0x594278+_0x365327(0x95),_0x48a4da[_0x365327(0xca)]||''),'data':_0x48a4da[_0x365327(0xe3)]?_0x48a4da[_0x365327(0xe3)][_0x365327(0x70)](_0x49deda=>({..._0x49deda,'label':this[_0x365327(0xcf)](_0x594278+_0x365327(0xc0)+_0x49deda['id'][_0x365327(0xc8)](),_0x49deda[_0x365327(0xca)])})):void 0x0}))),_0x39e06b;}[_0x52a735(0x89)](_0x2239c6){const _0x24aa9f=_0x52a735,_0x582650=[];_0x2239c6[_0x24aa9f(0x97)][_0x24aa9f(0x94)](_0x3732ba=>{const _0x411a38=_0x24aa9f;(_0x3732ba instanceof _0x203a41&&!_0x3732ba[_0x411a38(0x7b)]||_0x3732ba instanceof _0x33fd1d&&!_0x3732ba[_0x411a38(0x6a)][_0x411a38(0xa9)])&&_0x582650[_0x411a38(0x64)](_0x3732ba['id']);}),_0x582650[_0x24aa9f(0xa9)]&&_0x582650[_0x24aa9f(0x94)](_0xa25a29=>{const _0x478eed=_0x24aa9f;_0x2239c6[_0x478eed(0xe6)](_0xa25a29),this[_0x478eed(0x65)](new _0x1acaea(_0x478eed(0x81),this,{'commandId':_0xa25a29}),!0x0);});}}
|
|
23
|
+
const _0x4ad6b6=_0x488c;(function(_0x5d382c,_0x54ae65){const _0x133778=_0x488c,_0x5543a3=_0x5d382c();while(!![]){try{const _0x33e206=parseInt(_0x133778(0x109))/0x1+-parseInt(_0x133778(0x10e))/0x2+-parseInt(_0x133778(0x151))/0x3*(parseInt(_0x133778(0x112))/0x4)+parseInt(_0x133778(0x147))/0x5+parseInt(_0x133778(0x12a))/0x6*(parseInt(_0x133778(0x14c))/0x7)+-parseInt(_0x133778(0x134))/0x8*(parseInt(_0x133778(0x125))/0x9)+parseInt(_0x133778(0xff))/0xa;if(_0x33e206===_0x54ae65)break;else _0x5543a3['push'](_0x5543a3['shift']());}catch(_0x153432){_0x5543a3['push'](_0x5543a3['shift']());}}}(_0x1f72,0xce158));import{CKEditorError as _0x22c511}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x13a140}from'../aireviewcore/aireviewcorecontroller.js';function _0x488c(_0x40bf92,_0x24de8f){const _0x1f72d7=_0x1f72();return _0x488c=function(_0x488cf0,_0x51f8bf){_0x488cf0=_0x488cf0-0xd7;let _0x18b87=_0x1f72d7[_0x488cf0];return _0x18b87;},_0x488c(_0x40bf92,_0x24de8f);}import{AI_REVIEW_CHECKS as _0x478999}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x2526c7}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x3fd197}from'./model/aireviewcustomcheckrun.js';function _0x1f72(){const _0x9db2cc=['3005948qrirGZ','args','listenTo','changeId','76KdDeCU','getAll','_OPTIONS_LABEL','map','description','replaceAll','removeCheckById','_getModels','forEach','resetActiveStateInResults','ck-ai_review-highlights','getChangeById','locale','_onChangeMarkerBlurred','ai.review.availableCommands','isCustom','showDiffInBalloon','deactivateChange','title','45RhFDiU','_isDiffOn','_aiReviewCoreUi','_DESCRIPTION','_logErrorForNonExistentChecks','12PCLvkV','view','getAvailableModels','length','getElement','_getChangeContentElement','setMarkersInElementAsActive','_onReviewCheckResultDeactivated','addClass','_hasDefaultAvailableCommands','1489168kinrQf','_initRequiredPlugins','pluginName','init','click','context','_onDeactivateChange','ai-review-mode-non-existent-commands-used','_getChecksList','push','_onReviewCheckResultActivated','setAllMarkersAsInactive','domEvent','uiInteraction','custom','panel','startsWith','_onActivateChange','getEditor','599485cLyogH','plugins','getDomRoot','showChangeBalloon','AIReviewModeUI','3962812RPcmLZ','isAnyChangeActivated','AI_REVIEW_CHECK_','change','toUpperCase','251871chzVFp','editing','setActiveStateInResults','getDefault','toggleDiff','_currentReviewCheckRun','ai-review-mode-command-unavailable-due-to-missing-model','config','markerElement','_logError','isExtra','ai.models','document','_onChangeMarkerClicked','getDocumentData','get','_translateReviewCheck','ai.review.extraCommands','_getTranslationWithDefault','_changeActivationSource','find','define','_onReviewCheckRun','_OPTIONS_DATA_','some','all','_scrollToChange','setupChecks','hideChangeBalloon','models','label','params','origin','getClassNames','_TITLE','ck-ai_review-diff','content','ck-ai_review-','_aiReviewCoreEditing','hover','_diffContent','default','getMarkerElementForChange','model','_createReviewCheckRun','balloon','recommended','removeClass','defaultModel','checks','getRoot','data','_aiConnector','prompt','hideDiffInBalloon','options','diffContent','35350730walNHx','_onDiffChange','join','ai-review-mode-models-unable-to-retrieve','AIReviewModeController','AIReviewCoreEditing','_onChangeMarkerHovered','_filterChecksWithMissingModel','_markChangePositionInEditorContent','_getExtraChecks','85805BvktLf','activateChange','markChangePositionInEditorContent','filter','viewportOffset'];_0x1f72=function(){return _0x9db2cc;};return _0x1f72();}import{AIReviewSystemCheckRun as _0x1a57c7}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x4b3621}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x58527d}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x41978f}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x47a64e}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x13a140{static get[_0x4ad6b6(0x136)](){const _0x5d8b21=_0x4ad6b6;return _0x5d8b21(0x103);}[_0x4ad6b6(0x126)]=!0x1;[_0x4ad6b6(0x133)]=!0x1;constructor(_0x26f0ed){const _0x48afda=_0x4ad6b6;super(_0x26f0ed),this[_0x48afda(0x133)]=!this[_0x48afda(0x139)][_0x48afda(0x158)][_0x48afda(0x160)](_0x48afda(0x120)),this[_0x48afda(0x139)][_0x48afda(0x158)][_0x48afda(0xdb)](_0x48afda(0x120),_0x478999[_0x48afda(0x115)](_0x30a149=>_0x30a149['id'])),this[_0x48afda(0x139)][_0x48afda(0x158)][_0x48afda(0xdb)](_0x48afda(0xd7),[]);}async[_0x4ad6b6(0x137)](){const _0x108a12=_0x4ad6b6;await super[_0x108a12(0x137)](),this[_0x108a12(0x110)](this[_0x108a12(0x127)],_0x108a12(0x155),(_0x1f0342,_0x2de10e)=>{const _0x1a8327=_0x108a12;this[_0x1a8327(0x126)]=_0x2de10e['on'],this[_0x1a8327(0x100)](this[_0x1a8327(0x126)]);});}[_0x4ad6b6(0x135)](){const _0x1f97e5=_0x4ad6b6;super[_0x1f97e5(0x135)](),this[_0x1f97e5(0x127)]=this[_0x1f97e5(0x139)][_0x1f97e5(0x148)][_0x1f97e5(0x160)](_0x1f97e5(0x14b)),this[_0x1f97e5(0xec)]=this[_0x1f97e5(0x139)][_0x1f97e5(0x148)][_0x1f97e5(0x160)](_0x1f97e5(0x104));}[_0x4ad6b6(0xf2)](_0x1b8003,_0x52ade0){const _0xa88101=_0x4ad6b6;return _0x1b8003[_0xa88101(0x121)]?new _0x3fd197(_0x1b8003[_0xa88101(0x10f)][_0xa88101(0xfb)],_0x1b8003[_0xa88101(0x10f)][_0xa88101(0xf1)],this[_0xa88101(0xec)][_0xa88101(0x15f)](),_0x52ade0,this[_0xa88101(0xfa)]):_0x52ade0[_0xa88101(0x15b)]?new _0x47a64e(_0x52ade0[_0xa88101(0xfb)],_0x52ade0[_0xa88101(0xf6)]['id'],this[_0xa88101(0xec)][_0xa88101(0x15f)](),_0x52ade0,this[_0xa88101(0xfa)]):new _0x1a57c7(this[_0xa88101(0xec)][_0xa88101(0x15f)](),_0x52ade0,this[_0xa88101(0xfa)],_0x1b8003[_0xa88101(0xe5)],_0x1b8003[_0xa88101(0x10f)]);}[_0x4ad6b6(0x13e)](_0x3dba9c){const _0x9dfcbe=_0x4ad6b6;this[_0x9dfcbe(0x127)][_0x9dfcbe(0x153)](_0x3dba9c[_0x9dfcbe(0x14f)]['id']),this[_0x9dfcbe(0xe0)](_0x3dba9c[_0x9dfcbe(0x14f)]['id']);const _0x45b2a2=this[_0x9dfcbe(0xec)][_0x9dfcbe(0xf0)](_0x3dba9c[_0x9dfcbe(0x14f)]['id']);if(!_0x45b2a2)return;const _0x12f1bd=this[_0x9dfcbe(0xec)][_0x9dfcbe(0x146)]();this[_0x9dfcbe(0x127)][_0x9dfcbe(0x14a)](_0x3dba9c[_0x9dfcbe(0x14f)],()=>_0x45b2a2[_0x9dfcbe(0x12e)](),void 0x0,_0x9dfcbe(0x138),_0x12f1bd?.[_0x9dfcbe(0x152)]?.[_0x9dfcbe(0x12b)]?.[_0x9dfcbe(0x149)](),_0x12f1bd?.['ui']?.[_0x9dfcbe(0x10d)]),this[_0x9dfcbe(0xec)][_0x9dfcbe(0x130)](_0x3dba9c[_0x9dfcbe(0x14f)]['id']);}[_0x4ad6b6(0x131)](){const _0x347175=_0x4ad6b6;this[_0x347175(0x127)][_0x347175(0x11b)](),this[_0x347175(0x127)][_0x347175(0xe2)](),this[_0x347175(0xec)][_0x347175(0x13f)]();}[_0x4ad6b6(0x145)](_0x371e08){const _0x403258=_0x4ad6b6;this[_0x403258(0x156)]&&_0x403258(0x138)===_0x371e08[_0x403258(0x141)]&&(this[_0x403258(0xd9)]=_0x403258(0x143),this[_0x403258(0x156)][_0x403258(0x10a)](_0x371e08['id']));}[_0x4ad6b6(0x13a)](_0x34f316){const _0x3911df=_0x4ad6b6;this[_0x3911df(0x156)]&&_0x3911df(0xf3)===_0x34f316[_0x3911df(0xe6)]&&this[_0x3911df(0x156)][_0x3911df(0x123)]();}[_0x4ad6b6(0x15e)](_0x53bb66,_0x32ada1){const _0x54156c=_0x4ad6b6;if(!this[_0x54156c(0x156)])return;this[_0x54156c(0xd9)]=_0x54156c(0xea),this[_0x54156c(0x156)][_0x54156c(0x10a)](_0x32ada1[_0x54156c(0x111)]);const _0x2854ee=this[_0x54156c(0x156)][_0x54156c(0x11d)](_0x32ada1[_0x54156c(0x111)]);if(!_0x2854ee)return;const _0x22d756=this[_0x54156c(0xec)][_0x54156c(0x146)]();this[_0x54156c(0x127)][_0x54156c(0x14a)](_0x2854ee,_0x32ada1[_0x54156c(0x159)],_0x32ada1[_0x54156c(0x140)],_0x54156c(0x138),_0x22d756?.[_0x54156c(0x152)]?.[_0x54156c(0x12b)]?.[_0x54156c(0x149)](),_0x22d756?.['ui']?.[_0x54156c(0x10d)]);}[_0x4ad6b6(0x105)](_0x5c72dc,_0x4131c6){const _0x291f64=_0x4ad6b6;if(!this[_0x291f64(0x156)])return;if(this[_0x291f64(0x156)][_0x291f64(0x14d)]())return;const _0xbbc640=this[_0x291f64(0x156)][_0x291f64(0x11d)](_0x4131c6[_0x291f64(0x111)]);if(!_0xbbc640)return;const _0x1509b3=this[_0x291f64(0xec)][_0x291f64(0x146)]();this[_0x291f64(0x127)][_0x291f64(0x14a)](_0xbbc640,_0x4131c6[_0x291f64(0x159)],_0x4131c6[_0x291f64(0x140)],_0x291f64(0xed),_0x1509b3?.[_0x291f64(0x152)]?.[_0x291f64(0x12b)]?.[_0x291f64(0x149)](),_0x1509b3?.['ui']?.[_0x291f64(0x10d)]);}[_0x4ad6b6(0x11f)](){const _0x3b824b=_0x4ad6b6;if(!this[_0x3b824b(0x156)])return;this[_0x3b824b(0x156)][_0x3b824b(0x14d)]()||this[_0x3b824b(0x127)][_0x3b824b(0xe2)]();}[_0x4ad6b6(0x12f)](_0x117ba5){const _0x46b931=_0x4ad6b6,_0x23cde4=this[_0x46b931(0xec)][_0x46b931(0xf0)](_0x117ba5);return _0x23cde4?_0x23cde4[_0x46b931(0x12e)]():null;}[_0x4ad6b6(0x107)](_0x4da486,_0x41e10e){const _0x2870a0=_0x4ad6b6;this[_0x2870a0(0xec)][_0x2870a0(0x10b)](_0x4da486,_0x41e10e);}[_0x4ad6b6(0xee)](_0x36ab38,_0x21ea59){const _0x5e55b4=_0x4ad6b6;return this[_0x5e55b4(0xec)][_0x5e55b4(0xfe)](_0x36ab38,_0x21ea59);}[_0x4ad6b6(0xdc)](){const _0x5490b9=_0x4ad6b6;this[_0x5490b9(0x100)](this[_0x5490b9(0x126)]);}[_0x4ad6b6(0x100)](_0x3e7d75){const _0x5eaf9e=_0x4ad6b6,_0x24a5c1=this[_0x5eaf9e(0xec)][_0x5eaf9e(0x146)]();_0x3e7d75?this[_0x5eaf9e(0x127)][_0x5eaf9e(0xfc)]():this[_0x5eaf9e(0x127)][_0x5eaf9e(0x122)](),_0x24a5c1&&_0x24a5c1[_0x5eaf9e(0x152)][_0x5eaf9e(0x12b)][_0x5eaf9e(0x14f)](_0x3fdbb5=>{const _0x20761b=_0x5eaf9e,_0x439bf8=_0x24a5c1[_0x20761b(0x152)][_0x20761b(0x12b)][_0x20761b(0x15d)][_0x20761b(0xf8)]();for(const _0x1307bd of _0x439bf8[_0x20761b(0xe7)]())_0x1307bd[_0x20761b(0x144)](_0x20761b(0xeb))&&_0x3fdbb5[_0x20761b(0xf5)](_0x1307bd,_0x439bf8);_0x3fdbb5[_0x20761b(0x132)](_0x3e7d75?_0x20761b(0xe9):_0x20761b(0x11c),_0x439bf8);});}async[_0x4ad6b6(0x13c)](){const _0x140e31=_0x4ad6b6,_0x3083fc=[..._0x478999,...this[_0x140e31(0x108)]()],_0x54eb2e=this[_0x140e31(0x139)][_0x140e31(0x158)][_0x140e31(0x160)](_0x140e31(0x120))||[];this[_0x140e31(0x129)](_0x54eb2e,_0x3083fc);let _0x46fd70=_0x3083fc;this[_0x140e31(0x133)]||(_0x46fd70=_0x54eb2e[_0x140e31(0x115)](_0x7d5194=>_0x3083fc[_0x140e31(0xda)](_0x232c28=>_0x232c28['id']===_0x7d5194))[_0x140e31(0x10c)](_0x45bc47=>!!_0x45bc47)),_0x46fd70=_0x46fd70[_0x140e31(0x115)](_0x56406c=>_0x56406c[_0x140e31(0x15b)]?_0x56406c:this[_0x140e31(0x161)](_0x56406c));const _0x1dcdf3=_0x46fd70[_0x140e31(0xde)](_0x444d72=>_0x444d72[_0x140e31(0x15b)]||_0x140e31(0x142)===_0x444d72['id']);let _0x1b99be=[],_0x183a07=[],_0x2421cc=null;if(_0x1dcdf3){const _0x3c428f=await this[_0x140e31(0x119)]();_0x1b99be=_0x3c428f[_0x140e31(0xdf)],_0x183a07=_0x3c428f[_0x140e31(0xf4)],_0x2421cc=_0x3c428f[_0x140e31(0xef)];}const _0x29b512=new _0x2526c7(_0x1b99be,_0x183a07,_0x2421cc);return _0x29b512[_0x140e31(0xe1)](_0x46fd70),_0x1dcdf3&&this[_0x140e31(0x106)](_0x29b512),_0x29b512;}[_0x4ad6b6(0x108)](){const _0x58ef90=_0x4ad6b6;return(this[_0x58ef90(0x139)][_0x58ef90(0x158)][_0x58ef90(0x160)](_0x58ef90(0xd7))||[])[_0x58ef90(0x115)](_0x2fbd1c=>({'id':_0x2fbd1c['id'],'commandId':_0x2fbd1c['id'],'title':_0x2fbd1c[_0x58ef90(0xe4)],'description':_0x2fbd1c[_0x58ef90(0x116)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x2fbd1c[_0x58ef90(0xfb)],'model':_0x2fbd1c[_0x58ef90(0xf1)]}));}[_0x4ad6b6(0x129)](_0x5cb44d,_0xf05b2){const _0x3a97b6=_0x4ad6b6,_0x2bd257=_0x5cb44d[_0x3a97b6(0x10c)](_0x29417c=>!_0xf05b2[_0x3a97b6(0xde)](_0x103ddc=>_0x103ddc['id']===_0x29417c));_0x2bd257[_0x3a97b6(0x12d)]&&this[_0x3a97b6(0x15a)](new _0x22c511(_0x3a97b6(0x13b),this,{'commandIds':_0x2bd257[_0x3a97b6(0x101)](',\x20')}),!0x0);}async[_0x4ad6b6(0x119)](){const _0xcad56f=_0x4ad6b6;try{const _0x30e73b=new _0x4b3621({'connector':this[_0xcad56f(0xfa)],'config':this[_0xcad56f(0x139)][_0xcad56f(0x158)][_0xcad56f(0x160)](_0xcad56f(0x15c)),'locale':this[_0xcad56f(0x139)][_0xcad56f(0x11e)]});return{'all':await _0x30e73b[_0xcad56f(0x113)](),'recommended':await _0x30e73b[_0xcad56f(0x12c)](),'default':await _0x30e73b[_0xcad56f(0x154)]()};}catch(_0x249346){return this[_0xcad56f(0x15a)](new _0x22c511(_0xcad56f(0x102),this,void 0x0,_0x249346)),{'all':[],'recommended':[],'default':null};}}[_0x4ad6b6(0x161)](_0x1dae31){const _0x44ee8e=_0x4ad6b6,_0x360ed5=_0x44ee8e(0x14e)+_0x1dae31['id'][_0x44ee8e(0x150)]()[_0x44ee8e(0x117)]('-','_'),_0x337f81={..._0x1dae31,'title':this[_0x44ee8e(0xd8)](_0x360ed5+_0x44ee8e(0xe8),_0x1dae31[_0x44ee8e(0x124)]),'description':this[_0x44ee8e(0xd8)](_0x360ed5+_0x44ee8e(0x128),_0x1dae31[_0x44ee8e(0x116)])};return _0x1dae31[_0x44ee8e(0xfd)]&&(_0x337f81[_0x44ee8e(0xfd)]=_0x1dae31[_0x44ee8e(0xfd)][_0x44ee8e(0x115)](_0x292c48=>({..._0x292c48,'label':this[_0x44ee8e(0xd8)](_0x360ed5+_0x44ee8e(0x114),_0x292c48[_0x44ee8e(0xe4)]||''),'data':_0x292c48[_0x44ee8e(0xf9)]?_0x292c48[_0x44ee8e(0xf9)][_0x44ee8e(0x115)](_0x3355d8=>({..._0x3355d8,'label':this[_0x44ee8e(0xd8)](_0x360ed5+_0x44ee8e(0xdd)+_0x3355d8['id'][_0x44ee8e(0x150)](),_0x3355d8[_0x44ee8e(0xe4)])})):void 0x0}))),_0x337f81;}[_0x4ad6b6(0x106)](_0x20d7c9){const _0x316bb9=_0x4ad6b6,_0x48639d=[];_0x20d7c9[_0x316bb9(0xf7)][_0x316bb9(0x11a)](_0x1c2ca7=>{const _0x11e8cc=_0x316bb9;(_0x1c2ca7 instanceof _0x41978f&&!_0x1c2ca7[_0x11e8cc(0xf6)]||_0x1c2ca7 instanceof _0x58527d&&!_0x1c2ca7[_0x11e8cc(0xe3)][_0x11e8cc(0x12d)])&&_0x48639d[_0x11e8cc(0x13d)](_0x1c2ca7['id']);}),_0x48639d[_0x316bb9(0x12d)]&&_0x48639d[_0x316bb9(0x11a)](_0x39d3bf=>{const _0x496568=_0x316bb9;_0x20d7c9[_0x496568(0x118)](_0x39d3bf),this[_0x496568(0x15a)](new _0x22c511(_0x496568(0x157),this,{'commandId':_0x39d3bf}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e344a=_0x1641;(function(_0x1e5e63,_0x9a8207){const _0x35aaf9=_0x1641,_0x4c1391=_0x1e5e63();while(!![]){try{const _0x20d5c3=parseInt(_0x35aaf9(0x86))/0x1*(parseInt(_0x35aaf9(0x8a))/0x2)+-parseInt(_0x35aaf9(0x89))/0x3+parseInt(_0x35aaf9(0x80))/0x4+-parseInt(_0x35aaf9(0x85))/0x5*(parseInt(_0x35aaf9(0x7a))/0x6)+-parseInt(_0x35aaf9(0x72))/0x7+parseInt(_0x35aaf9(0x7c))/0x8*(-parseInt(_0x35aaf9(0x7b))/0x9)+parseInt(_0x35aaf9(0x78))/0xa;if(_0x20d5c3===_0x9a8207)break;else _0x4c1391['push'](_0x4c1391['shift']());}catch(_0x322665){_0x4c1391['push'](_0x4c1391['shift']());}}}(_0x3d28,0xd0d00));import{FormHeaderView as _0x14db20}from'ckeditor5/src/ui.js';import{IconAIReview as _0x5595a0}from'ckeditor5/src/icons.js';import{getTranslation as _0x5011bd}from'../aicore/utils/common-translations.js';import{AIReviewCoreView as _0x4df7c2}from'../aireviewcore/ui/aireviewcoreview.js';import{AIReviewCoreUI as _0x3ae90d}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0x440c64}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';function _0x3d28(){const _0x29898d=['reviewMode','fire','leaveReview','7620319rHIkqE','pluginName','locale','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','ck-ai-header\x20ck-ai-header_review','AI_REVIEW_MODE','34765300btmPsc','addTab','26634TrtKZe','81tJIyzk','1306104noWvTf','get','activateTab','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','22300bqzrXX','view','plugins','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','registerTab','985xsrvfa','444KEuOkH','_mainView','AIReviewModeUI','159114Rcgjwo','3868ZmHWjx','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','getReviewCheckList','createMainView','AITabs','context'];_0x3d28=function(){return _0x29898d;};return _0x3d28();}function _0x1641(_0x27f9b2,_0x13785a){const _0x3d2831=_0x3d28();return _0x1641=function(_0x1641d0,_0x28276f){_0x1641d0=_0x1641d0-0x6a;let _0x5f14d5=_0x3d2831[_0x1641d0];return _0x5f14d5;},_0x1641(_0x27f9b2,_0x13785a);}import{AIReviewCoreReviewCompletedView as _0x269e7e}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x1255a8}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x3ae90d{static get[_0x5e344a(0x73)](){const _0x3c28c5=_0x5e344a;return _0x3c28c5(0x88);}[_0x5e344a(0x6c)](){const _0x47e973=_0x5e344a,_0x1d4e96=this[_0x47e973(0x6e)][_0x47e973(0x74)],_0x2d0d1e=new _0x14db20(_0x1d4e96,{'label':_0x5011bd(_0x1d4e96,_0x47e973(0x77)),'icon':_0x5595a0,'class':_0x47e973(0x76)});return new _0x4df7c2(this[_0x47e973(0x6e)][_0x47e973(0x74)],{'header':_0x2d0d1e,'list':new _0x1255a8(_0x1d4e96),'results':new _0x440c64(_0x1d4e96,{'generalErrorText':_0x5011bd(_0x1d4e96,_0x47e973(0x83))}),'completed':new _0x269e7e(_0x1d4e96,{'headerText':_0x5011bd(_0x1d4e96,_0x47e973(0x75)),'emptyResultsText':_0x5011bd(_0x1d4e96,_0x47e973(0x6a)),'buttonText':_0x5011bd(_0x1d4e96,_0x47e973(0x7f))})});}[_0x5e344a(0x84)](){const _0x2eafb=_0x5e344a,_0xe6c3c3=this[_0x2eafb(0x6e)][_0x2eafb(0x82)][_0x2eafb(0x7d)](_0x2eafb(0x6d));_0xe6c3c3[_0x2eafb(0x81)]['on'](_0x2eafb(0x7e),(_0x4c1543,_0x1046be)=>{const _0x32707f=_0x2eafb;_0x32707f(0x6f)===_0x1046be?this[_0x32707f(0x70)](_0x32707f(0x6b)):this[_0x32707f(0x70)](_0x32707f(0x71));}),_0xe6c3c3[_0x2eafb(0x81)][_0x2eafb(0x79)]({'id':_0x2eafb(0x6f),'buttonLabel':_0x5011bd(this[_0x2eafb(0x6e)][_0x2eafb(0x74)],_0x2eafb(0x77)),'buttonIcon':_0x5595a0,'order':0x0,'content':this[_0x2eafb(0x87)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x24dbb6=_0x595c;function _0x4a34(){var _0x2bd3bb=['1191651VtyCYD','36061861CpDXnm','26991UOiMKd','21tHTDkO','_defaultModel','3763456QRGmQh','62838pulQGr','1249480UbiEIY','950asewux','13742sXbcxw','4UMHFDH','models','66XOAfRH','_models','defaultModel'];_0x4a34=function(){return _0x2bd3bb;};return _0x4a34();}(function(_0x12768b,_0x422bc7){var _0x57bb23=_0x595c,_0x47d3fe=_0x12768b();while(!![]){try{var _0xda5c89=-parseInt(_0x57bb23(0x1af))/0x1+-parseInt(_0x57bb23(0x1a9))/0x2*(-parseInt(_0x57bb23(0x1ac))/0x3)+-parseInt(_0x57bb23(0x1aa))/0x4*(parseInt(_0x57bb23(0x1a7))/0x5)+-parseInt(_0x57bb23(0x1a6))/0x6+-parseInt(_0x57bb23(0x1a3))/0x7*(parseInt(_0x57bb23(0x1a5))/0x8)+parseInt(_0x57bb23(0x1a2))/0x9*(parseInt(_0x57bb23(0x1a8))/0xa)+parseInt(_0x57bb23(0x1b0))/0xb;if(_0xda5c89===_0x422bc7)break;else _0x47d3fe['push'](_0x47d3fe['shift']());}catch(_0x10b753){_0x47d3fe['push'](_0x47d3fe['shift']());}}}(_0x4a34,0xcfc9e));function _0x595c(_0x19ba09,_0x34cee7){var _0x4a3496=_0x4a34();return _0x595c=function(_0x595c68,_0x11ba4a){_0x595c68=_0x595c68-0x1a2;var _0xce86ac=_0x4a3496[_0x595c68];return _0xce86ac;},_0x595c(_0x19ba09,_0x34cee7);}import{AIReviewCheck as _0x39cec1}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckCustom extends _0x39cec1{[_0x24dbb6(0x1ad)]=[];[_0x24dbb6(0x1a4)]=null;constructor(_0x3b8312,_0x1a21ce,_0x1a0762){var _0x3ee726=_0x24dbb6;super(_0x3b8312),this[_0x3ee726(0x1ad)]=_0x1a21ce,this[_0x3ee726(0x1a4)]=_0x1a0762;}get[_0x24dbb6(0x1ab)](){var _0x320a0c=_0x24dbb6;return this[_0x320a0c(0x1ad)];}get[_0x24dbb6(0x1ae)](){var _0x3c1072=_0x24dbb6;return this[_0x3c1072(0x1a4)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x13cd(){var _0x1b1394=['isExtra','7rEjkXF','983600UcStSW','_defaultModel','752165vlPXfY','defaultModel','model','2264872sCxTwq','135105aMlQbr','1408176RadZnd','253300cAfyfg','prompt','1825338hWrwPq','find'];_0x13cd=function(){return _0x1b1394;};return _0x13cd();}var _0x4cb8d0=_0x1b74;function _0x1b74(_0x5a3513,_0x153548){var _0x13cdd2=_0x13cd();return _0x1b74=function(_0x1b74d8,_0x6e716d){_0x1b74d8=_0x1b74d8-0xc5;var _0x2ad61c=_0x13cdd2[_0x1b74d8];return _0x2ad61c;},_0x1b74(_0x5a3513,_0x153548);}(function(_0x41f7f3,_0x50341a){var _0x5aa282=_0x1b74,_0x318aef=_0x41f7f3();while(!![]){try{var _0x19f7bb=-parseInt(_0x5aa282(0xd2))/0x1+parseInt(_0x5aa282(0xca))/0x2+-parseInt(_0x5aa282(0xd0))/0x3+-parseInt(_0x5aa282(0xd1))/0x4+-parseInt(_0x5aa282(0xcc))/0x5+-parseInt(_0x5aa282(0xc6))/0x6*(-parseInt(_0x5aa282(0xc9))/0x7)+parseInt(_0x5aa282(0xcf))/0x8;if(_0x19f7bb===_0x50341a)break;else _0x318aef['push'](_0x318aef['shift']());}catch(_0x5b6227){_0x318aef['push'](_0x318aef['shift']());}}}(_0x13cd,0x43f30));import{AIReviewCheck as _0x2ab9e6}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckExtra extends _0x2ab9e6{[_0x4cb8d0(0xc8)]=!0x0;[_0x4cb8d0(0xc5)];[_0x4cb8d0(0xce)];[_0x4cb8d0(0xcb)]=null;constructor(_0x55bf78,_0x399fad,_0x3add4f){var _0x465862=_0x4cb8d0;super(_0x55bf78),this[_0x465862(0xc5)]=_0x55bf78[_0x465862(0xc5)],this[_0x465862(0xce)]=_0x55bf78[_0x465862(0xce)],this[_0x465862(0xce)]?this[_0x465862(0xcb)]=_0x399fad[_0x465862(0xc7)](_0xbda72f=>_0xbda72f['id']===this[_0x465862(0xce)])||null:this[_0x465862(0xcb)]=_0x3add4f;}get[_0x4cb8d0(0xcd)](){var _0xc3b016=_0x4cb8d0;return this[_0xc3b016(0xcb)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2b7ea5=_0x15db;(function(_0x57db07,_0x328014){var _0x273320=_0x15db,_0xead623=_0x57db07();while(!![]){try{var _0x52147a=-parseInt(_0x273320(0xd9))/0x1*(-parseInt(_0x273320(0xd2))/0x2)+-parseInt(_0x273320(0xdc))/0x3*(parseInt(_0x273320(0xde))/0x4)+-parseInt(_0x273320(0xd6))/0x5*(parseInt(_0x273320(0xce))/0x6)+parseInt(_0x273320(0xd1))/0x7+parseInt(_0x273320(0xd4))/0x8+parseInt(_0x273320(0xcf))/0x9+-parseInt(_0x273320(0xd0))/0xa;if(_0x52147a===_0x328014)break;else _0xead623['push'](_0xead623['shift']());}catch(_0x10253f){_0xead623['push'](_0xead623['shift']());}}}(_0x51bb,0x5fcdd));function _0x51bb(){var _0x40efe1=['30930fudJIz','_sendRatingRequest','152VOgGkh','_aiConnector','_documentData','_createApiRequest','6VwVwpl','6112962kIeunv','13852600TaoXGg','4232767HRQNDk','47682Rsktpy','_model','4658592BJhQKo','subTitle','2298410MoNoVX','callCustomReview','upsertCustomAIReviewRating','32umJDCh','_prompt','content'];_0x51bb=function(){return _0x40efe1;};return _0x51bb();}import{AIReviewCheckRun as _0x1245bf}from'../../aireviewcore/model/aireviewcheckrun.js';function _0x15db(_0x2662c6,_0x189f26){var _0x51bb47=_0x51bb();return _0x15db=function(_0x15db6e,_0x34773e){_0x15db6e=_0x15db6e-0xce;var _0x5e48a5=_0x51bb47[_0x15db6e];return _0x5e48a5;},_0x15db(_0x2662c6,_0x189f26);}export class AIReviewCustomCheckRun extends _0x1245bf{[_0x2b7ea5(0xda)];[_0x2b7ea5(0xd3)];constructor(_0x5a3779,_0x51d6ce,_0x16aace,_0x2c4905,_0x2da68e){var _0x54bb27=_0x2b7ea5;super(_0x16aace,_0x2c4905,_0x2da68e),this[_0x54bb27(0xda)]=_0x5a3779,this[_0x54bb27(0xd3)]=_0x51d6ce;}get[_0x2b7ea5(0xd5)](){var _0x1e936b=_0x2b7ea5;return this[_0x1e936b(0xda)];}[_0x2b7ea5(0xe1)](){var _0x418f1c=_0x2b7ea5;return this[_0x418f1c(0xdf)][_0x418f1c(0xd7)]({'content':this[_0x418f1c(0xe0)][_0x418f1c(0xdb)],'prompt':this[_0x418f1c(0xda)],'model':this[_0x418f1c(0xd3)]});}[_0x2b7ea5(0xdd)](_0x3a4d83,_0x5aa4a0,_0x1b9279){var _0x459288=_0x2b7ea5;return this[_0x459288(0xdf)][_0x459288(0xd8)](_0x5aa4a0,_0x3a4d83,_0x1b9279);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3e0f(_0x2aeb6d,_0xd0c9ae){var _0x50af15=_0x50af();return _0x3e0f=function(_0x3e0fdd,_0x37e2d4){_0x3e0fdd=_0x3e0fdd-0xd7;var _0x150dd9=_0x50af15[_0x3e0fdd];return _0x150dd9;},_0x3e0f(_0x2aeb6d,_0xd0c9ae);}var _0x3da0eb=_0x3e0f;(function(_0x21f112,_0x4022cf){var _0x37dcbf=_0x3e0f,_0x698121=_0x21f112();while(!![]){try{var _0x2eb641=-parseInt(_0x37dcbf(0xe2))/0x1*(-parseInt(_0x37dcbf(0xd9))/0x2)+-parseInt(_0x37dcbf(0xdc))/0x3*(-parseInt(_0x37dcbf(0xde))/0x4)+-parseInt(_0x37dcbf(0xdf))/0x5+parseInt(_0x37dcbf(0xe1))/0x6+-parseInt(_0x37dcbf(0xd7))/0x7+parseInt(_0x37dcbf(0xd8))/0x8+-parseInt(_0x37dcbf(0xe4))/0x9;if(_0x2eb641===_0x4022cf)break;else _0x698121['push'](_0x698121['shift']());}catch(_0x482586){_0x698121['push'](_0x698121['shift']());}}}(_0x50af,0xd45dc));function _0x50af(){var _0x78a6fa=['_model','173979DLuEvs','_prompt','60nmtPbo','4179690QAeIHX','subTitle','7184286jfVydK','1OwAaxV','model','4936536wZrpzq','11545884YvKVwT','4023496sEqeiy','2666986WkBbeH','prompt'];_0x50af=function(){return _0x78a6fa;};return _0x50af();}import{AIReviewCustomCheckRun as _0x6996cd}from'./aireviewcustomcheckrun.js';export class AIReviewExtraCheckRun extends _0x6996cd{get[_0x3da0eb(0xe0)](){return'';}set[_0x3da0eb(0xda)](_0x2b66be){var _0x5c927a=_0x3da0eb;this[_0x5c927a(0xdd)]=_0x2b66be;}set[_0x3da0eb(0xe3)](_0x505d76){var _0x4400ca=_0x3da0eb;this[_0x4400ca(0xdb)]=_0x505d76;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1b32(_0x5a057a,_0x3fc58a){var _0x373d77=_0x373d();return _0x1b32=function(_0x1b3232,_0x7fc5c1){_0x1b3232=_0x1b3232-0x18e;var _0x536ae0=_0x373d77[_0x1b3232];return _0x536ae0;},_0x1b32(_0x5a057a,_0x3fc58a);}function _0x373d(){var _0x5aaad4=['_defaultModel','setupChecks','map','isExtra','58EAYMvv','13327070zQaBgS','182228trRnSr','27039bpDLGC','_recommendedModels','3794920xzaXCU','44NCshPZ','31795MExfMf','9xoOswA','2865639QNoioc','_allModels','2009208yVatDM','_checks','custom'];_0x373d=function(){return _0x5aaad4;};return _0x373d();}var _0x33350c=_0x1b32;(function(_0x3da9ef,_0x576ba6){var _0x31c528=_0x1b32,_0x1c9685=_0x3da9ef();while(!![]){try{var _0x459c9e=parseInt(_0x31c528(0x18e))/0x1+parseInt(_0x31c528(0x19e))/0x2*(parseInt(_0x31c528(0x18f))/0x3)+parseInt(_0x31c528(0x192))/0x4*(-parseInt(_0x31c528(0x193))/0x5)+parseInt(_0x31c528(0x197))/0x6+parseInt(_0x31c528(0x195))/0x7+-parseInt(_0x31c528(0x191))/0x8*(-parseInt(_0x31c528(0x194))/0x9)+-parseInt(_0x31c528(0x19f))/0xa;if(_0x459c9e===_0x576ba6)break;else _0x1c9685['push'](_0x1c9685['shift']());}catch(_0x294a51){_0x1c9685['push'](_0x1c9685['shift']());}}}(_0x373d,0x3f5e7));import{AIReviewCheckList as _0x9e292b}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0x4136bb}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0x4bf9d1}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0xc92a12}from'./aireviewcheckextra.js';export class AIReviewModeCheckList extends _0x9e292b{[_0x33350c(0x196)]=[];[_0x33350c(0x190)]=[];[_0x33350c(0x19a)]=null;constructor(_0x231b18,_0x171be6,_0x526cef){var _0x5c22eb=_0x33350c;super(),this[_0x5c22eb(0x196)]=_0x231b18,this[_0x5c22eb(0x190)]=_0x171be6,this[_0x5c22eb(0x19a)]=_0x526cef;}[_0x33350c(0x19b)](_0x43af28){var _0x29c2cd=_0x33350c;this[_0x29c2cd(0x198)]=_0x43af28[_0x29c2cd(0x19c)](_0x42f0bc=>!0x0===_0x42f0bc[_0x29c2cd(0x19d)]?new _0xc92a12(_0x42f0bc,this[_0x29c2cd(0x196)],this[_0x29c2cd(0x19a)]):_0x29c2cd(0x199)===_0x42f0bc['id']?new _0x4bf9d1(_0x42f0bc,this[_0x29c2cd(0x190)],this[_0x29c2cd(0x19a)]):new _0x4136bb(_0x42f0bc));}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4f3e94=_0x49a6;function _0x49a6(_0x2a6e59,_0x1ce482){const _0x1c9ccb=_0x1c9c();return _0x49a6=function(_0x49a6f2,_0x7e965d){_0x49a6f2=_0x49a6f2-0x101;let _0x12956f=_0x1c9ccb[_0x49a6f2];return _0x12956f;},_0x49a6(_0x2a6e59,_0x1ce482);}(function(_0x5c9ff5,_0x310b33){const _0x2ef6ca=_0x49a6,_0x1c5b26=_0x5c9ff5();while(!![]){try{const _0x34224=parseInt(_0x2ef6ca(0x11b))/0x1+-parseInt(_0x2ef6ca(0x117))/0x2*(parseInt(_0x2ef6ca(0x111))/0x3)+-parseInt(_0x2ef6ca(0x127))/0x4*(-parseInt(_0x2ef6ca(0x11d))/0x5)+-parseInt(_0x2ef6ca(0x133))/0x6*(-parseInt(_0x2ef6ca(0x116))/0x7)+-parseInt(_0x2ef6ca(0x11f))/0x8+parseInt(_0x2ef6ca(0x125))/0x9*(-parseInt(_0x2ef6ca(0x106))/0xa)+-parseInt(_0x2ef6ca(0x12d))/0xb*(-parseInt(_0x2ef6ca(0x11c))/0xc);if(_0x34224===_0x310b33)break;else _0x1c5b26['push'](_0x1c5b26['shift']());}catch(_0x5b0f33){_0x1c5b26['push'](_0x1c5b26['shift']());}}}(_0x1c9c,0xa4750));import{ContextPlugin as _0x153dda,Editor as _0x1bb44f}from'ckeditor5/src/core.js';import{CKEditorError as _0x4f5daf}from'ckeditor5/src/utils.js';function _0x1c9c(){const _0x329669=['fire','render','ai-tabs-sidebar-container-element-not-found','264830XJsLlG','appendChild','locale','context','set','isPremiumPlugin','get','switchType','ai.container','add','right','87ogVhZT','ai-tabs-configuration-not-found','includes','visibleByDefault','AITabs','2743111cCgEbR','46090XdhWLG','element','view','isOfficialPlugin','939807aDpjfX','384qPGANv','3694395QzIvBW','side','2638392KdVLmt','ai-tabs-unsupported-ui-side','destroy','focusTracker','config','container','405MAcQzh','sidebar','4WyPJcx','resize','type','resizedTabs','bind','body','272558nCutGE','overlay','remove','ai-tabs-unsupported-ui-type','showResizeButton','pluginName','6ASDCHQ','switchSide','custom','isMaximized'];_0x1c9c=function(){return _0x329669;};return _0x1c9c();}import{AITabsMainView as _0x48a2ec,AI_TABS_VIEW_SIDES as _0x4b6ef9,AI_TABS_VIEW_TYPES as _0x56e86e}from'./aitabsmainview.js';export class AITabs extends _0x153dda{[_0x4f3e94(0x119)];[_0x4f3e94(0x124)]=null;[_0x4f3e94(0x131)]=!0x0;static get[_0x4f3e94(0x132)](){const _0x549550=_0x4f3e94;return _0x549550(0x115);}static get[_0x4f3e94(0x11a)](){return!0x0;}static get[_0x4f3e94(0x10b)](){return!0x0;}constructor(_0x59dff0){const _0x571ce0=_0x4f3e94;super(_0x59dff0);const _0x5232d1=this[_0x571ce0(0x109)][_0x571ce0(0x123)][_0x571ce0(0x10c)](_0x571ce0(0x10e));if(this[_0x571ce0(0x10a)](_0x571ce0(0x11e),_0x571ce0(0x110)),!_0x5232d1)throw new _0x4f5daf(_0x571ce0(0x112));if(void 0x0!==_0x5232d1[_0x571ce0(0x131)]&&(this[_0x571ce0(0x131)]=_0x5232d1[_0x571ce0(0x131)]),_0x571ce0(0x126)!==_0x5232d1[_0x571ce0(0x129)]&&_0x571ce0(0x12e)!==_0x5232d1[_0x571ce0(0x129)]||_0x5232d1[_0x571ce0(0x11e)]&&(this[_0x571ce0(0x11e)]=_0x5232d1[_0x571ce0(0x11e)]),_0x571ce0(0x126)===_0x5232d1[_0x571ce0(0x129)]){if(this[_0x571ce0(0x124)]=_0x5232d1[_0x571ce0(0x118)],this[_0x571ce0(0x10a)](_0x571ce0(0x129),_0x571ce0(0x126)),!this[_0x571ce0(0x124)])throw new _0x4f5daf(_0x571ce0(0x105));}else _0x571ce0(0x12e)===_0x5232d1[_0x571ce0(0x129)]?(this[_0x571ce0(0x124)]=document[_0x571ce0(0x12c)],this[_0x571ce0(0x10a)](_0x571ce0(0x129),_0x571ce0(0x12e))):(this[_0x571ce0(0x124)]=null,this[_0x571ce0(0x10a)](_0x571ce0(0x129),_0x571ce0(0x101)));this[_0x571ce0(0x119)]=new _0x48a2ec(this[_0x571ce0(0x109)][_0x571ce0(0x108)],{'side':this[_0x571ce0(0x11e)],'type':this[_0x571ce0(0x129)],'visibleByDefault':void 0x0===_0x5232d1[_0x571ce0(0x114)]||_0x5232d1[_0x571ce0(0x114)]}),this[_0x571ce0(0x119)][_0x571ce0(0x104)](),this[_0x571ce0(0x119)][_0x571ce0(0x12b)](_0x571ce0(0x11e))['to'](this,_0x571ce0(0x11e)),this[_0x571ce0(0x119)][_0x571ce0(0x12b)](_0x571ce0(0x129))['to'](this,_0x571ce0(0x129)),this[_0x571ce0(0x124)]&&this[_0x571ce0(0x124)][_0x571ce0(0x107)](this[_0x571ce0(0x119)][_0x571ce0(0x118)]),this[_0x571ce0(0x109)]instanceof _0x1bb44f&&this[_0x571ce0(0x109)]['ui'][_0x571ce0(0x122)][_0x571ce0(0x10f)](this[_0x571ce0(0x119)][_0x571ce0(0x118)]);}[_0x4f3e94(0x10d)](_0x27578e){const _0x2e2e1c=_0x4f3e94;if(_0x27578e&&this[_0x2e2e1c(0x129)]!==_0x27578e){if(!_0x56e86e[_0x2e2e1c(0x113)](_0x27578e))throw new _0x4f5daf(_0x2e2e1c(0x130));this[_0x2e2e1c(0x129)]=_0x27578e;}}[_0x4f3e94(0x134)](_0x18cf0c){const _0x3cb008=_0x4f3e94;if(_0x18cf0c&&this[_0x3cb008(0x11e)]!==_0x18cf0c){if(!_0x4b6ef9[_0x3cb008(0x113)](_0x18cf0c))throw new _0x4f5daf(_0x3cb008(0x120));this[_0x3cb008(0x11e)]=_0x18cf0c;}}[_0x4f3e94(0x128)](){const _0x45b000=_0x4f3e94;this[_0x45b000(0x119)][_0x45b000(0x102)]=!this[_0x45b000(0x119)][_0x45b000(0x102)],this[_0x45b000(0x103)](_0x45b000(0x12a),this[_0x45b000(0x119)][_0x45b000(0x102)]);}[_0x4f3e94(0x121)](){const _0x411ddb=_0x4f3e94;super[_0x411ddb(0x121)](),this[_0x411ddb(0x119)][_0x411ddb(0x121)](),this[_0x411ddb(0x119)][_0x411ddb(0x118)]&&this[_0x411ddb(0x119)][_0x411ddb(0x118)][_0x411ddb(0x12f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4a8e(_0x1b12e1,_0x384714){const _0x4cd569=_0x4cd5();return _0x4a8e=function(_0x4a8e56,_0x1f553e){_0x4a8e56=_0x4a8e56-0x8a;let _0x4c6913=_0x4cd569[_0x4a8e56];return _0x4c6913;},_0x4a8e(_0x1b12e1,_0x384714);}const _0x321a2f=_0x4a8e;(function(_0x30d511,_0x496bc1){const _0x118d1b=_0x4a8e,_0x457fd5=_0x30d511();while(!![]){try{const _0x539f78=parseInt(_0x118d1b(0x9f))/0x1+parseInt(_0x118d1b(0x93))/0x2+-parseInt(_0x118d1b(0x99))/0x3+-parseInt(_0x118d1b(0x8f))/0x4*(parseInt(_0x118d1b(0x90))/0x5)+parseInt(_0x118d1b(0xa4))/0x6*(parseInt(_0x118d1b(0x8b))/0x7)+-parseInt(_0x118d1b(0xa6))/0x8*(-parseInt(_0x118d1b(0x91))/0x9)+-parseInt(_0x118d1b(0x8a))/0xa;if(_0x539f78===_0x496bc1)break;else _0x457fd5['push'](_0x457fd5['shift']());}catch(_0x558828){_0x457fd5['push'](_0x457fd5['shift']());}}}(_0x4cd5,0x9da8e));import{AITabsView as _0x5d6ba7}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x321a2f(0x95),_0x321a2f(0xa5),_0x321a2f(0x98)];export const AI_TABS_VIEW_SIDES=[_0x321a2f(0xa1),_0x321a2f(0x96)];export class AITabsMainView extends _0x5d6ba7{constructor(_0x5b7f2e,_0xd0a695={}){const _0x11d207=_0x321a2f;super(_0x5b7f2e,_0xd0a695),this[_0x11d207(0x9a)](_0x11d207(0x8d),_0xd0a695[_0x11d207(0x8d)]||_0x11d207(0xa5)),this[_0x11d207(0x9a)](_0x11d207(0x9c),_0xd0a695[_0x11d207(0x9c)]||_0x11d207(0x96)),this[_0x11d207(0x9a)](_0x11d207(0x8c),_0xd0a695[_0x11d207(0x9b)]??!0x0);const _0x5b0e13=this[_0x11d207(0x9d)];this[_0x11d207(0xa2)]({'attributes':{'class':[_0x11d207(0xa0),_0x5b0e13['if'](_0x11d207(0x8d),_0x11d207(0x94),_0x27809c=>_0x11d207(0x95)===_0x27809c),_0x5b0e13['if'](_0x11d207(0x8d),_0x11d207(0xa3),_0x4fdad8=>_0x11d207(0xa5)===_0x4fdad8),_0x5b0e13['if'](_0x11d207(0x8c),_0x11d207(0x9e),_0x26165a=>!_0x26165a)]}}),this[_0x11d207(0x92)]['on'](_0x11d207(0x97),(_0x2b9ac3,_0x6c1bab)=>{const _0x2f8a31=_0x11d207;_0x6c1bab[_0x2f8a31(0x9a)](_0x2f8a31(0x8e),!0x1);});}}function _0x4cd5(){const _0x38e380=['bindTemplate','ck-hidden','708423wPkXVf','ck-ai-tabs','left','extendTemplate','ck-ai-tabs__sidebar','6hQNFBk','sidebar','1412624vofIIt','7007310ntmwFT','8295833zPAbkD','isVisible','type','withText','24ulPckX','992065MIvJhA','9iuFrHe','buttonViews','2142582qUKYDH','ck-ai-tabs__overlay','overlay','right','add','custom','1813284udLWxK','set','visibleByDefault','side'];_0x4cd5=function(){return _0x38e380;};return _0x4cd5();}
|