@ckeditor/ckeditor5-ai 47.2.0-alpha.5 → 47.2.0-alpha.6
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 +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/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/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5d79(){const _0x47f090=['54KnOzzL','path','word','getOperations','start','split','key','createSelection','schema','index','sourcePosition','node','removed','suggestion:attribute:','model','isDocumentOperation','clone','getMovedRangeStart','suggestion:deletion:','getShiftedBy','createPositionFromPath','insert','changes','getDiff','remove','isBlock','push','10767348vwefoQ','end','change','move','251997VfKHlz','changeAttribute','nodeAfter','toNone','parent','cloneNode','splitPosition','element','oldName','setTo','suggestion:formatBlock:$fakeWrap:','suggestion:insertion:','isMarkedRemoveOperation','root','addAttribute','applyOperation','createRangeOn','get','3425aScLJG','range','newValue','$elementName','POSITIVE_INFINITY','type','parse','length','2003344NXLUoQ','set','1wlzDYW','...','isObject','baseVersion','231OOFgQO','SuggestionsConversion','backward','forward','newRange','$root','batch','map',':$aiSuggestion','data-id','add','DocumentCompare','1562858AJGQUs','name','newName','getFirstRange','position','_getTransformedByInsertion','nodeBefore','getTransformedByOperation','data','focus','11sZGfPr','addOperation','offset','children','moveTargetPosition','stickiness','2922EzXpqK','new','$text','_getTransformedByDeletion','removeAttribute','oldValue','stringify','reverse','isRegisteredAttribute','merge','createRange','973870Cmomya','targetPosition','slice','marker','_createFromRanges','delete','plugins','472lfCUAu','rename','howMany','getMinimalFlatRanges','markers','isBefore','createPositionAt','textNode','isAfter','modifySelection'];_0x5d79=function(){return _0x47f090;};return _0x5d79();}(function(_0x3ab403,_0x345830){const _0x1b06cc=_0x297f,_0x2fed64=_0x3ab403();while(!![]){try{const _0x42a226=-parseInt(_0x1b06cc(0x166))/0x1*(parseInt(_0x1b06cc(0x176))/0x2)+parseInt(_0x1b06cc(0x14a))/0x3+parseInt(_0x1b06cc(0x121))/0x4*(-parseInt(_0x1b06cc(0x15c))/0x5)+parseInt(_0x1b06cc(0x186))/0x6*(-parseInt(_0x1b06cc(0x16a))/0x7)+-parseInt(_0x1b06cc(0x164))/0x8+-parseInt(_0x1b06cc(0x12b))/0x9*(-parseInt(_0x1b06cc(0x191))/0xa)+-parseInt(_0x1b06cc(0x180))/0xb*(-parseInt(_0x1b06cc(0x146))/0xc);if(_0x42a226===_0x345830)break;else _0x2fed64['push'](_0x2fed64['shift']());}catch(_0x2806ab){_0x2fed64['push'](_0x2fed64['shift']());}}}(_0x5d79,0x6aa74));import{findOne as _0x37e268,getAttribute as _0x299c8c,Document as _0x43922c,serialize as _0x1ba8da,parse as _0x45122a}from'./htmlparser.js';function _0x297f(_0x461f3c,_0x149942){const _0x5d79e4=_0x5d79();return _0x297f=function(_0x297fda,_0x4ad544){_0x297fda=_0x297fda-0x120;let _0x13d8cb=_0x5d79e4[_0x297fda];return _0x13d8cb;},_0x297f(_0x461f3c,_0x149942);}import{fixElementSuggestionRange as _0x1dee2d}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x23cb4a,_DetachOperation as _0x5844c0,_removeFromModelNodeList as _0xe2de61,_insertIntoModelNodeList as _0x5780bc}from'ckeditor5/src/engine.js';import{uid as _0x417017}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x28e1b,changeGroups:_0x568a7c,documentContextContent:_0x17ac7e,showDiff:_0x160d85,trimUnchanged:_0x34310f=!0x0}){const _0x4069d1=_0x297f;return _0x568a7c[_0x4069d1(0x171)](_0x121127=>{const _0x17d143=_0x4069d1,_0x48f182=new _0x43922c([]),_0x4fa10f=new _0x43922c([]);for(const _0x1f0fe9 of _0x121127[_0x17d143(0x141)])if(_0x160d85&&_0x17d143(0x137)==_0x1f0fe9[_0x17d143(0x161)]||_0x4fa10f[_0x17d143(0x183)][_0x17d143(0x145)](_0x1f0fe9[_0x17d143(0x136)][_0x17d143(0x14f)](!0x0)),_0x17d143(0x187)!=_0x1f0fe9[_0x17d143(0x161)]&&(_0x160d85||_0x17d143(0x137)!=_0x1f0fe9[_0x17d143(0x161)])){const _0x53a767=_0x37e268(_0x3e05a2=>_0x299c8c(_0x3e05a2,_0x17d143(0x173))==_0x1f0fe9['id'],_0x17ac7e,!0x0);_0x53a767&&_0x48f182[_0x17d143(0x183)][_0x17d143(0x145)](_0x53a767[_0x17d143(0x14f)](!0x0));}const {content:_0x244efd,hasChanges:_0x1bfb23}=function(_0x4ff684,_0x3e3938,_0x34d0b1,_0x36a697,_0x51d41d=!0x0){const _0x2debab=_0x17d143,_0x417d90=_0x4ff684[_0x2debab(0x120)][_0x2debab(0x15b)](_0x2debab(0x175)),_0x51956a=_0x1ba8da(_0x3e3938),_0xc5ec6d=_0x1ba8da(_0x34d0b1),_0x4e6e40=_0x4ff684[_0x2debab(0x17e)][_0x2debab(0x162)](_0x51956a,_0x2debab(0x16f)),_0x3864bb=_0x4ff684[_0x2debab(0x139)][_0x2debab(0x127)](_0x4e6e40,0x0),_0x4abd39=_0x417d90[_0x2debab(0x142)](_0x51956a,_0xc5ec6d,{'anchor':_0x3864bb,'markDeletions':_0x36a697}),_0x31ef0a=_0x4abd39[_0x2debab(0x12e)]();if(0x0==_0x31ef0a[_0x2debab(0x163)])return{'content':_0x3e3938[_0x2debab(0x14f)](!0x0),'hasChanges':!0x1};_0x36a697?function(_0x33dbda,_0x4e9e7d,_0x31839b){const _0x513fda=_0x2debab;if(0x0==_0x33dbda[_0x513fda(0x163)])return;const _0x17c774=_0x31839b[_0x513fda(0x120)][_0x513fda(0x15b)](_0x513fda(0x175)),_0x15c4c9=_0x31839b[_0x513fda(0x120)][_0x513fda(0x15b)](_0x513fda(0x16b));_0x31839b[_0x513fda(0x139)][_0x513fda(0x148)](_0x119d6c=>{const _0x2854ff=_0x513fda,_0x46e709=new Set();for(let _0x463ef4=0x0;_0x463ef4<_0x33dbda[_0x2854ff(0x163)];_0x463ef4++){const _0x5c9c60=_0x33dbda[_0x463ef4];if(_0x5c9c60[_0x2854ff(0x169)]=null,_0x5c9c60[_0x2854ff(0x13a)]=!0x1,_0x17c774[_0x2854ff(0x156)](_0x5c9c60)){const _0x54b8b0=_0x1dee2d(_0x5c9c60[_0x2854ff(0x16e)],_0x31839b[_0x2854ff(0x139)]),_0x1df2da=_0x2854ff(0x13d)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x1df2da,_0x54b8b0);}else switch(_0x5c9c60[_0x2854ff(0x161)]){case _0x2854ff(0x122):{if(_0x5c9c60[_0x2854ff(0x152)]==_0x5c9c60[_0x2854ff(0x178)])break;_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x196ce1=_0x2854ff(0x15f),_0x5076e9=_0x5c9c60[_0x2854ff(0x17a)],_0x1b82b5=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0x5076e9,_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x127)](_0x5076e9[_0x2854ff(0x14c)],_0x2854ff(0x147))),_0x2d5486=_0x2854ff(0x138)+_0x196ce1+':'+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2d5486,_0x1b82b5);break;}case _0x2854ff(0x158):case _0x2854ff(0x18a):case _0x2854ff(0x14b):{if(_0x5c9c60[_0x2854ff(0x18b)]==_0x5c9c60[_0x2854ff(0x15e)])break;_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x21dbf0=_0x5c9c60[_0x2854ff(0x131)];if(!_0x15c4c9[_0x2854ff(0x18e)](_0x21dbf0))break;const _0x53d381=_0x1dee2d(_0x5c9c60[_0x2854ff(0x15d)],_0x31839b[_0x2854ff(0x139)]),_0x2c6d2c=_0x2854ff(0x138)+_0x21dbf0+':'+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2c6d2c,_0x53d381);break;}case _0x2854ff(0x140):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);if(_0x33dbda[_0x463ef4+0x1]&&_0x2854ff(0x149)==_0x33dbda[_0x463ef4+0x1][_0x2854ff(0x161)]){ro(_0x4e9e7d,_0x5c9c60);break;}const _0xa7e124=_0x5c9c60[_0x2854ff(0x17a)],_0x406e88=_0x5c9c60[_0x2854ff(0x123)],_0xc07867=_0x1dee2d(_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0xa7e124,_0xa7e124[_0x2854ff(0x13e)](_0x406e88)),_0x31839b[_0x2854ff(0x139)]),_0x2b1a5c=_0x2854ff(0x155)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2b1a5c,_0xc07867);break;}case _0x2854ff(0x130):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x2a2f18=_0x5c9c60[_0x2854ff(0x150)],_0x50ea6a=_0x5c9c60[_0x2854ff(0x184)],_0x273ab2=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0x2a2f18,_0x50ea6a),_0x10b688=_0x2854ff(0x155)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x10b688,_0x273ab2);break;}case _0x2854ff(0x149):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60),_0x33dbda[_0x463ef4-0x1]&&_0x2854ff(0x140)==_0x33dbda[_0x463ef4-0x1][_0x2854ff(0x161)]&&ro(_0x4e9e7d,_0x5c9c60);const _0x534b6e=_0x5c9c60[_0x2854ff(0x13c)](),_0x26ad00=_0x5c9c60[_0x2854ff(0x123)];for(let _0x1778ce=0x0;_0x1778ce<_0x26ad00;_0x1778ce++){const _0x268e24=_0x534b6e[_0x2854ff(0x13e)](_0x1778ce)[_0x2854ff(0x14c)];_0x46e709[_0x2854ff(0x174)](_0x268e24);}break;}case _0x2854ff(0x143):{const _0x16e824=_0x5c9c60[_0x2854ff(0x135)],_0x433be9=_0x5c9c60[_0x2854ff(0x123)],_0x5e1197=new _0x5844c0(_0x16e824,_0x433be9);_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5e1197),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5e1197);break;}}}for(const _0xf6c3d9 of _0x46e709){const _0x1d3c49=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x15a)](_0xf6c3d9),_0x225ac5=_0x2854ff(0x154)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x225ac5,_0x1dee2d(_0x1d3c49,_0x31839b[_0x2854ff(0x139)]));}});}(_0x31ef0a,_0x4e6e40,_0x4ff684):_0x4ff684[_0x2debab(0x139)][_0x2debab(0x148)](_0x260979=>{const _0x3ceec1=_0x2debab;for(const _0x466196 of _0x31ef0a)if(_0x3ceec1(0x143)==_0x466196[_0x3ceec1(0x161)]){const _0x167d5e=_0x466196[_0x3ceec1(0x135)],_0x54d597=_0x466196[_0x3ceec1(0x123)],_0x3f9dca=new _0x5844c0(_0x167d5e,_0x54d597);_0x260979[_0x3ceec1(0x170)][_0x3ceec1(0x181)](_0x3f9dca),_0x4ff684[_0x3ceec1(0x139)][_0x3ceec1(0x159)](_0x3f9dca);}else{if(_0x3ceec1(0x194)==_0x466196[_0x3ceec1(0x161)]){const _0x3d63a2=_0x466196[_0x3ceec1(0x177)],_0x13f1d9=_0x466196[_0x3ceec1(0x16e)];_0x4e6e40[_0x3ceec1(0x125)][_0x3ceec1(0x165)](_0x3d63a2,_0x13f1d9);}else _0x466196[_0x3ceec1(0x169)]=null,_0x466196[_0x3ceec1(0x13a)]=!0x1,_0x260979[_0x3ceec1(0x170)][_0x3ceec1(0x181)](_0x466196),_0x4ff684[_0x3ceec1(0x139)][_0x3ceec1(0x159)](_0x466196);}});if(_0x51d41d){const _0x232c53=getMinimalSelection(_0x4ff684,_0x31ef0a,_0x4e6e40);expandSelectionWithContext(_0x4ff684[_0x2debab(0x139)],_0x232c53),function(_0x54d8fc,_0x3a6dab){const _0x2812f6=_0x2debab,_0xea2189=_0x3a6dab[_0x2812f6(0x179)]()[_0x2812f6(0x12f)];let _0x44e0e7=_0x3a6dab[_0x2812f6(0x179)]()[_0x2812f6(0x147)];const _0x5949bc=_0xea2189[_0x2812f6(0x157)];(_0x44e0e7[_0x2812f6(0x128)]||_0x44e0e7[_0x2812f6(0x14c)]&&_0x44e0e7[_0x2812f6(0x14c)]['is'](_0x2812f6(0x188)))&&(_0x5780bc(_0x44e0e7,_0x2812f6(0x167)),_0x44e0e7=_0x44e0e7[_0x2812f6(0x13e)](0x3)),(_0xea2189[_0x2812f6(0x128)]||_0xea2189[_0x2812f6(0x17c)]&&_0xea2189[_0x2812f6(0x17c)]['is'](_0x2812f6(0x188)))&&(_0x5780bc(_0xea2189,_0x2812f6(0x167)),function(_0x1b710e,_0x436b56,_0x2eca5b){const _0x2018d9=_0x2812f6;for(let [_0x49261e,_0x4290a5]of _0x1b710e[_0x2018d9(0x125)]){const _0x3a426f=_0x4290a5[_0x2018d9(0x17b)](_0x436b56,_0x2eca5b,!0x1);_0x4290a5=_0x3a426f[0x0],_0x1b710e[_0x2018d9(0x125)][_0x2018d9(0x165)](_0x49261e,_0x4290a5);}}(_0x5949bc,_0xea2189,0x3),_0xea2189[_0x2812f6(0x14e)]==_0x44e0e7[_0x2812f6(0x14e)]&&(_0x44e0e7=_0x44e0e7[_0x2812f6(0x13e)](0x3)));const _0x339e43=_0x54d8fc[_0x2812f6(0x190)](_0x54d8fc[_0x2812f6(0x127)](_0x5949bc,0x0),_0xea2189),_0x230437=_0x54d8fc[_0x2812f6(0x190)](_0x44e0e7,_0x54d8fc[_0x2812f6(0x127)](_0x5949bc,_0x2812f6(0x147))),_0x8259d5=[..._0x339e43[_0x2812f6(0x124)](),..._0x230437[_0x2812f6(0x124)]()];_0x8259d5[_0x2812f6(0x18d)]();for(const _0x3666ce of _0x8259d5)_0xe2de61(_0x3666ce),_transformMarkersByDeletion(_0x5949bc,_0x3666ce);}(_0x4ff684[_0x2debab(0x139)],_0x232c53);}const _0x32fdc7=_0x4ff684[_0x2debab(0x17e)][_0x2debab(0x18c)](_0x4e6e40,{'showSuggestionHighlights':!0x0});return{'content':_0x45122a(_0x32fdc7),'hasChanges':!0x0};}(_0x28e1b,_0x48f182,_0x4fa10f,_0x160d85,_0x34310f);return{'type':_0x121127[_0x17d143(0x141)][0x0][_0x17d143(0x161)],'index':_0x121127[_0x17d143(0x134)],'content':_0x244efd,'hasChanges':_0x1bfb23};});}function ro(_0x944aa4,_0x27dd6a){const _0xc807c6=_0x297f;for(const [_0x355142,_0xa692f2]of _0x944aa4[_0xc807c6(0x125)]){const _0x39d364=_0x23cb4a[_0xc807c6(0x195)](_0xa692f2[_0xc807c6(0x17d)](_0x27dd6a));_0x944aa4[_0xc807c6(0x125)][_0xc807c6(0x165)](_0x355142,_0x39d364);}}export function getMinimalSelection(_0x7d5d06,_0x28040b,_0x2f7f4e){const _0x5c9f0b=_0x297f,_0x55987e=_0x7d5d06[_0x5c9f0b(0x120)][_0x5c9f0b(0x15b)](_0x5c9f0b(0x175));let _0x37522f=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x127)](_0x2f7f4e,Number[_0x5c9f0b(0x160)]),_0x3c544c=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x127)](_0x2f7f4e,0x0);for(const _0x201a74 of _0x28040b){let _0x9507fa,_0x10911c;if(_0x55987e[_0x5c9f0b(0x156)](_0x201a74))_0x9507fa=_0x201a74[_0x5c9f0b(0x16e)][_0x5c9f0b(0x12f)],_0x10911c=_0x201a74[_0x5c9f0b(0x16e)][_0x5c9f0b(0x147)];else switch(_0x37522f=_0x37522f[_0x5c9f0b(0x17d)](_0x201a74),_0x3c544c=_0x3c544c[_0x5c9f0b(0x17d)](_0x201a74),_0x201a74[_0x5c9f0b(0x161)]){case _0x5c9f0b(0x122):_0x9507fa=_0x201a74[_0x5c9f0b(0x17a)],_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](0x1);break;case _0x5c9f0b(0x158):case _0x5c9f0b(0x18a):case _0x5c9f0b(0x14b):_0x9507fa=_0x201a74[_0x5c9f0b(0x15d)][_0x5c9f0b(0x12f)],_0x10911c=_0x201a74[_0x5c9f0b(0x15d)][_0x5c9f0b(0x147)];break;case _0x5c9f0b(0x140):_0x9507fa=_0x201a74[_0x5c9f0b(0x17a)],_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](_0x201a74[_0x5c9f0b(0x123)]);break;case _0x5c9f0b(0x130):_0x9507fa=_0x201a74[_0x5c9f0b(0x150)],_0x10911c=_0x201a74[_0x5c9f0b(0x184)];break;case _0x5c9f0b(0x18f):{const _0x387b26=_0x201a74[_0x5c9f0b(0x192)][_0x5c9f0b(0x12c)][_0x5c9f0b(0x193)](0x0,-0x1);_0x9507fa=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x13f)](_0x2f7f4e,_0x387b26),_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](0x1);break;}case _0x5c9f0b(0x143):{const _0x4579fc=_0x201a74[_0x5c9f0b(0x123)],_0x42e1e4=_0x201a74[_0x5c9f0b(0x135)][_0x5c9f0b(0x17b)](_0x201a74[_0x5c9f0b(0x192)],_0x4579fc),_0x2fd71b=_0x201a74[_0x5c9f0b(0x13c)]();_0x5c9f0b(0x143)==_0x201a74[_0x5c9f0b(0x161)]?(_0x9507fa=_0x42e1e4,_0x10911c=_0x42e1e4):(_0x9507fa=_0x2fd71b,_0x10911c=_0x2fd71b[_0x5c9f0b(0x13e)](_0x4579fc));break;}}_0x9507fa&&_0x9507fa[_0x5c9f0b(0x126)](_0x37522f)&&(_0x37522f=_0x9507fa[_0x5c9f0b(0x13b)](),_0x37522f[_0x5c9f0b(0x185)]=_0x5c9f0b(0x14d)),_0x10911c&&_0x10911c[_0x5c9f0b(0x129)](_0x3c544c)&&(_0x3c544c=_0x10911c[_0x5c9f0b(0x13b)](),_0x3c544c[_0x5c9f0b(0x185)]=_0x5c9f0b(0x14d));}return _0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x132)](_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x190)](_0x37522f,_0x3c544c));}export function expandSelectionWithContext(_0x3cd7a8,_0x4f85f1){const _0x225a38=_0x297f;so(_0x3cd7a8,_0x4f85f1,_0x225a38(0x16d));const _0x9eb616=_0x4f85f1[_0x225a38(0x179)]();_0x4f85f1[_0x225a38(0x153)]([]),_0x4f85f1[_0x225a38(0x153)](_0x9eb616,{'backward':!0x0}),so(_0x3cd7a8,_0x4f85f1,_0x225a38(0x16c));}function so(_0x1c9ab9,_0x5a6781,_0x1defb4){const _0x4572fa=_0x297f;let _0x87745d=0x14;for(;_0x87745d;){_0x1c9ab9[_0x4572fa(0x12a)](_0x5a6781,{'unit':_0x4572fa(0x12d),'direction':_0x1defb4}),_0x87745d--;const _0x599a75=_0x5a6781[_0x4572fa(0x17f)][_0x4572fa(0x16d)==_0x1defb4?_0x4572fa(0x17c):_0x4572fa(0x14c)];if(_0x599a75&&_0x599a75['is'](_0x4572fa(0x151))&&_0x1c9ab9[_0x4572fa(0x133)][_0x4572fa(0x144)](_0x599a75)&&_0x1c9ab9[_0x4572fa(0x133)][_0x4572fa(0x168)](_0x599a75))break;}}export function _transformMarkersByDeletion(_0x48aa05,_0xbf91e0){const _0x2e84d7=_0x297f;for(const [_0x254fbe,_0x185d52]of _0x48aa05[_0x2e84d7(0x125)]){const _0x497ba1=_0x185d52[_0x2e84d7(0x189)](_0xbf91e0[_0x2e84d7(0x12f)],_0xbf91e0[_0x2e84d7(0x147)][_0x2e84d7(0x182)]-_0xbf91e0[_0x2e84d7(0x12f)][_0x2e84d7(0x182)]);null!=_0x497ba1?_0x48aa05[_0x2e84d7(0x125)][_0x2e84d7(0x165)](_0x254fbe,_0x497ba1):_0x48aa05[_0x2e84d7(0x125)][_0x2e84d7(0x196)](_0x254fbe);}}
|
|
23
|
+
function _0x3c33(){const _0x267c81=['plugins','element','$root','new','getOperations','...','setTo','move','get','change','2420UbSlUP','stringify','removeAttribute','$elementName','getDiff','key','merge','nodeAfter','modifySelection','2PIUyQz','isDocumentOperation','delete','isBefore','backward','word','applyOperation','markers','nodeBefore','model','addOperation','children','name','path','data-id','7035gxZsFa','suggestion:attribute:','createPositionAt','DocumentCompare','type','newRange','22710ArcBDA','length','234729MTxXTi','getTransformedByOperation','set','howMany','changes','removed','getFirstRange','POSITIVE_INFINITY','map','position','parent','suggestion:formatBlock:$fakeWrap:','focus','forward','_getTransformedByInsertion','oldValue','isRegisteredAttribute','5915244XkwVhl','isMarkedRemoveOperation','2574faoGmr','slice','isAfter','suggestion:insertion:','baseVersion','createRange',':$aiSuggestion','add','insert','stickiness','3072966kgunvv','push','createRangeOn','start','_createFromRanges','newValue','clone','remove','index','cloneNode','sourcePosition','addAttribute','suggestion:deletion:','15160YAPibG','_getTransformedByDeletion','createSelection','root','SuggestionsConversion','oldName','schema','1044416BshjVd','$text','getMovedRangeStart','marker','getMinimalFlatRanges','newName','targetPosition','batch','toNone','2004dqkHKv','getShiftedBy','parse','moveTargetPosition','range','textNode','isBlock','data','reverse','createPositionFromPath','offset','split','567sBsACN','end','node','splitPosition','rename','isObject','changeAttribute'];_0x3c33=function(){return _0x267c81;};return _0x3c33();}(function(_0x4049eb,_0x2c68f5){const _0x5e238e=_0x5a8a,_0x3faedf=_0x4049eb();while(!![]){try{const _0x4de26e=parseInt(_0x5e238e(0x76))/0x1+-parseInt(_0x5e238e(0xa5))/0x2*(parseInt(_0x5e238e(0xd9))/0x3)+parseInt(_0x5e238e(0x9c))/0x4*(-parseInt(_0x5e238e(0xb4))/0x5)+-parseInt(_0x5e238e(0xcd))/0x6+parseInt(_0x5e238e(0x8b))/0x7*(-parseInt(_0x5e238e(0xe6))/0x8)+-parseInt(_0x5e238e(0xcf))/0x9*(parseInt(_0x5e238e(0xba))/0xa)+parseInt(_0x5e238e(0xbc))/0xb*(parseInt(_0x5e238e(0x7f))/0xc);if(_0x4de26e===_0x2c68f5)break;else _0x3faedf['push'](_0x3faedf['shift']());}catch(_0x4bbf00){_0x3faedf['push'](_0x3faedf['shift']());}}}(_0x3c33,0xe65ed));import{findOne as _0x5e8cf2,getAttribute as _0x5a74a0,Document as _0x2f46ca,serialize as _0x3ccca2,parse as _0x4a73d4}from'./htmlparser.js';import{fixElementSuggestionRange as _0xde02d2}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x2c9147,_DetachOperation as _0x10fb5e,_removeFromModelNodeList as _0x365d8b,_insertIntoModelNodeList as _0x4fbe75}from'ckeditor5/src/engine.js';import{uid as _0x24ee27}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x5e0cad,changeGroups:_0x3728f8,documentContextContent:_0x2d027d,showDiff:_0x13442f,trimUnchanged:_0x1e6a17=!0x0}){const _0x1beb2d=_0x5a8a;return _0x3728f8[_0x1beb2d(0xc4)](_0x2dd67f=>{const _0x2a864e=_0x1beb2d,_0x1eee0a=new _0x2f46ca([]),_0x5c8e07=new _0x2f46ca([]);for(const _0x40cdc0 of _0x2dd67f[_0x2a864e(0xc0)])if(_0x13442f&&_0x2a864e(0xc1)==_0x40cdc0[_0x2a864e(0xb8)]||_0x5c8e07[_0x2a864e(0xb0)][_0x2a864e(0xda)](_0x40cdc0[_0x2a864e(0x8d)][_0x2a864e(0xe2)](!0x0)),_0x2a864e(0x95)!=_0x40cdc0[_0x2a864e(0xb8)]&&(_0x13442f||_0x2a864e(0xc1)!=_0x40cdc0[_0x2a864e(0xb8)])){const _0x25994a=_0x5e8cf2(_0x661903=>_0x5a74a0(_0x661903,_0x2a864e(0xb3))==_0x40cdc0['id'],_0x2d027d,!0x0);_0x25994a&&_0x1eee0a[_0x2a864e(0xb0)][_0x2a864e(0xda)](_0x25994a[_0x2a864e(0xe2)](!0x0));}const {content:_0x390450,hasChanges:_0x1122d8}=function(_0x1d528a,_0x402873,_0x47b88b,_0x4fc1b4,_0x77c6ce=!0x0){const _0x11a5e2=_0x2a864e,_0xe21657=_0x1d528a[_0x11a5e2(0x92)][_0x11a5e2(0x9a)](_0x11a5e2(0xb7)),_0x1df7ec=_0x3ccca2(_0x402873),_0x98ef9a=_0x3ccca2(_0x47b88b),_0x5880ee=_0x1d528a[_0x11a5e2(0x86)][_0x11a5e2(0x81)](_0x1df7ec,_0x11a5e2(0x94)),_0x2ef9bb=_0x1d528a[_0x11a5e2(0xae)][_0x11a5e2(0xb6)](_0x5880ee,0x0),_0x5cca7c=_0xe21657[_0x11a5e2(0xa0)](_0x1df7ec,_0x98ef9a,{'anchor':_0x2ef9bb,'markDeletions':_0x4fc1b4}),_0x125f7f=_0x5cca7c[_0x11a5e2(0x96)]();if(0x0==_0x125f7f[_0x11a5e2(0xbb)])return{'content':_0x402873[_0x11a5e2(0xe2)](!0x0),'hasChanges':!0x1};_0x4fc1b4?function(_0x1804ff,_0x3f0d82,_0x5d39dc){const _0x235a11=_0x11a5e2;if(0x0==_0x1804ff[_0x235a11(0xbb)])return;const _0x2e5b05=_0x5d39dc[_0x235a11(0x92)][_0x235a11(0x9a)](_0x235a11(0xb7)),_0x3040ae=_0x5d39dc[_0x235a11(0x92)][_0x235a11(0x9a)](_0x235a11(0x73));_0x5d39dc[_0x235a11(0xae)][_0x235a11(0x9b)](_0x5452f0=>{const _0x4e6fe7=_0x235a11,_0x2a5600=new Set();for(let _0x1542c8=0x0;_0x1542c8<_0x1804ff[_0x4e6fe7(0xbb)];_0x1542c8++){const _0x9b3998=_0x1804ff[_0x1542c8];if(_0x9b3998[_0x4e6fe7(0xd3)]=null,_0x9b3998[_0x4e6fe7(0xa6)]=!0x1,_0x2e5b05[_0x4e6fe7(0xce)](_0x9b3998)){const _0x3a09d9=_0xde02d2(_0x9b3998[_0x4e6fe7(0xb9)],_0x5d39dc[_0x4e6fe7(0xae)]),_0x47e4c1=_0x4e6fe7(0xe5)+_0x24ee27()+_0x4e6fe7(0xd5);_0x3f0d82[_0x4e6fe7(0xac)][_0x4e6fe7(0xbe)](_0x47e4c1,_0x3a09d9);}else switch(_0x9b3998[_0x4e6fe7(0xb8)]){case _0x4e6fe7(0x8f):{if(_0x9b3998[_0x4e6fe7(0x74)]==_0x9b3998[_0x4e6fe7(0x7b)])break;_0x5452f0[_0x4e6fe7(0x7d)][_0x4e6fe7(0xaf)](_0x9b3998),_0x5d39dc[_0x4e6fe7(0xae)][_0x4e6fe7(0xab)](_0x9b3998);const _0x1523e9=_0x4e6fe7(0x9f),_0xc75ee=_0x9b3998[_0x4e6fe7(0xc5)],_0x3b8dd7=_0x5d39dc[_0x4e6fe7(0xae)][_0x4e6fe7(0xd4)](_0xc75ee,_0x5d39dc[_0x4e6fe7(0xae)][_0x4e6fe7(0xb6)](_0xc75ee[_0x4e6fe7(0xa3)],_0x4e6fe7(0x8c))),_0x2b8a8e=_0x4e6fe7(0xb5)+_0x1523e9+':'+_0x24ee27()+_0x4e6fe7(0xd5);_0x3f0d82[_0x4e6fe7(0xac)][_0x4e6fe7(0xbe)](_0x2b8a8e,_0x3b8dd7);break;}case _0x4e6fe7(0xe4):case _0x4e6fe7(0x9e):case _0x4e6fe7(0x91):{if(_0x9b3998[_0x4e6fe7(0xcb)]==_0x9b3998[_0x4e6fe7(0xde)])break;_0x5452f0[_0x4e6fe7(0x7d)][_0x4e6fe7(0xaf)](_0x9b3998),_0x5d39dc[_0x4e6fe7(0xae)][_0x4e6fe7(0xab)](_0x9b3998);const _0x4dc39d=_0x9b3998[_0x4e6fe7(0xa1)];if(!_0x3040ae[_0x4e6fe7(0xcc)](_0x4dc39d))break;const _0xacfd2c=_0xde02d2(_0x9b3998[_0x4e6fe7(0x83)],_0x5d39dc[_0x4e6fe7(0xae)]),_0x3f2aea=_0x4e6fe7(0xb5)+_0x4dc39d+':'+_0x24ee27()+_0x4e6fe7(0xd5);_0x3f0d82[_0x4e6fe7(0xac)][_0x4e6fe7(0xbe)](_0x3f2aea,_0xacfd2c);break;}case _0x4e6fe7(0xd7):{_0x5452f0[_0x4e6fe7(0x7d)][_0x4e6fe7(0xaf)](_0x9b3998),_0x5d39dc[_0x4e6fe7(0xae)][_0x4e6fe7(0xab)](_0x9b3998);if(_0x1804ff[_0x1542c8+0x1]&&_0x4e6fe7(0x99)==_0x1804ff[_0x1542c8+0x1][_0x4e6fe7(0xb8)]){ro(_0x3f0d82,_0x9b3998);break;}const _0x1cbeb6=_0x9b3998[_0x4e6fe7(0xc5)],_0x230d9f=_0x9b3998[_0x4e6fe7(0xbf)],_0x36c213=_0xde02d2(_0x5d39dc[_0x4e6fe7(0xae)][_0x4e6fe7(0xd4)](_0x1cbeb6,_0x1cbeb6[_0x4e6fe7(0x80)](_0x230d9f)),_0x5d39dc[_0x4e6fe7(0xae)]),_0xd848e5=_0x4e6fe7(0xd2)+_0x24ee27()+_0x4e6fe7(0xd5);_0x3f0d82[_0x4e6fe7(0xac)][_0x4e6fe7(0xbe)](_0xd848e5,_0x36c213);break;}case _0x4e6fe7(0x8a):{_0x5452f0[_0x4e6fe7(0x7d)][_0x4e6fe7(0xaf)](_0x9b3998),_0x5d39dc[_0x4e6fe7(0xae)][_0x4e6fe7(0xab)](_0x9b3998);const _0x47a3bf=_0x9b3998[_0x4e6fe7(0x8e)],_0x206849=_0x9b3998[_0x4e6fe7(0x82)],_0x488cd6=_0x5d39dc[_0x4e6fe7(0xae)][_0x4e6fe7(0xd4)](_0x47a3bf,_0x206849),_0x2adcf4=_0x4e6fe7(0xd2)+_0x24ee27()+_0x4e6fe7(0xd5);_0x3f0d82[_0x4e6fe7(0xac)][_0x4e6fe7(0xbe)](_0x2adcf4,_0x488cd6);break;}case _0x4e6fe7(0x99):{_0x5452f0[_0x4e6fe7(0x7d)][_0x4e6fe7(0xaf)](_0x9b3998),_0x5d39dc[_0x4e6fe7(0xae)][_0x4e6fe7(0xab)](_0x9b3998),_0x1804ff[_0x1542c8-0x1]&&_0x4e6fe7(0xd7)==_0x1804ff[_0x1542c8-0x1][_0x4e6fe7(0xb8)]&&ro(_0x3f0d82,_0x9b3998);const _0x24e023=_0x9b3998[_0x4e6fe7(0x78)](),_0x59f3ae=_0x9b3998[_0x4e6fe7(0xbf)];for(let _0x48c078=0x0;_0x48c078<_0x59f3ae;_0x48c078++){const _0x26ef36=_0x24e023[_0x4e6fe7(0x80)](_0x48c078)[_0x4e6fe7(0xa3)];_0x2a5600[_0x4e6fe7(0xd6)](_0x26ef36);}break;}case _0x4e6fe7(0xe0):{const _0x537d64=_0x9b3998[_0x4e6fe7(0xe3)],_0x14555b=_0x9b3998[_0x4e6fe7(0xbf)],_0x231dc0=new _0x10fb5e(_0x537d64,_0x14555b);_0x5452f0[_0x4e6fe7(0x7d)][_0x4e6fe7(0xaf)](_0x231dc0),_0x5d39dc[_0x4e6fe7(0xae)][_0x4e6fe7(0xab)](_0x231dc0);break;}}}for(const _0x54d0a9 of _0x2a5600){const _0xf74151=_0x5d39dc[_0x4e6fe7(0xae)][_0x4e6fe7(0xdb)](_0x54d0a9),_0x51a1db=_0x4e6fe7(0xc7)+_0x24ee27()+_0x4e6fe7(0xd5);_0x3f0d82[_0x4e6fe7(0xac)][_0x4e6fe7(0xbe)](_0x51a1db,_0xde02d2(_0xf74151,_0x5d39dc[_0x4e6fe7(0xae)]));}});}(_0x125f7f,_0x5880ee,_0x1d528a):_0x1d528a[_0x11a5e2(0xae)][_0x11a5e2(0x9b)](_0x1055d8=>{const _0x338a85=_0x11a5e2;for(const _0xa106f0 of _0x125f7f)if(_0x338a85(0xe0)==_0xa106f0[_0x338a85(0xb8)]){const _0x568c23=_0xa106f0[_0x338a85(0xe3)],_0x5b413f=_0xa106f0[_0x338a85(0xbf)],_0x4aeab9=new _0x10fb5e(_0x568c23,_0x5b413f);_0x1055d8[_0x338a85(0x7d)][_0x338a85(0xaf)](_0x4aeab9),_0x1d528a[_0x338a85(0xae)][_0x338a85(0xab)](_0x4aeab9);}else{if(_0x338a85(0x79)==_0xa106f0[_0x338a85(0xb8)]){const _0x2c3360=_0xa106f0[_0x338a85(0xb1)],_0x32d3b7=_0xa106f0[_0x338a85(0xb9)];_0x5880ee[_0x338a85(0xac)][_0x338a85(0xbe)](_0x2c3360,_0x32d3b7);}else _0xa106f0[_0x338a85(0xd3)]=null,_0xa106f0[_0x338a85(0xa6)]=!0x1,_0x1055d8[_0x338a85(0x7d)][_0x338a85(0xaf)](_0xa106f0),_0x1d528a[_0x338a85(0xae)][_0x338a85(0xab)](_0xa106f0);}});if(_0x77c6ce){const _0x3d6002=getMinimalSelection(_0x1d528a,_0x125f7f,_0x5880ee);expandSelectionWithContext(_0x1d528a[_0x11a5e2(0xae)],_0x3d6002),function(_0xb88215,_0x416f5e){const _0x2b55c1=_0x11a5e2,_0x32ea2c=_0x416f5e[_0x2b55c1(0xc2)]()[_0x2b55c1(0xdc)];let _0xa41786=_0x416f5e[_0x2b55c1(0xc2)]()[_0x2b55c1(0x8c)];const _0x2d224b=_0x32ea2c[_0x2b55c1(0xe9)];(_0xa41786[_0x2b55c1(0x84)]||_0xa41786[_0x2b55c1(0xa3)]&&_0xa41786[_0x2b55c1(0xa3)]['is'](_0x2b55c1(0x77)))&&(_0x4fbe75(_0xa41786,_0x2b55c1(0x97)),_0xa41786=_0xa41786[_0x2b55c1(0x80)](0x3)),(_0x32ea2c[_0x2b55c1(0x84)]||_0x32ea2c[_0x2b55c1(0xad)]&&_0x32ea2c[_0x2b55c1(0xad)]['is'](_0x2b55c1(0x77)))&&(_0x4fbe75(_0x32ea2c,_0x2b55c1(0x97)),function(_0x58161f,_0x415053,_0x1042b2){const _0xf703e5=_0x2b55c1;for(let [_0x3f5108,_0x2c8b16]of _0x58161f[_0xf703e5(0xac)]){const _0x230329=_0x2c8b16[_0xf703e5(0xca)](_0x415053,_0x1042b2,!0x1);_0x2c8b16=_0x230329[0x0],_0x58161f[_0xf703e5(0xac)][_0xf703e5(0xbe)](_0x3f5108,_0x2c8b16);}}(_0x2d224b,_0x32ea2c,0x3),_0x32ea2c[_0x2b55c1(0xc6)]==_0xa41786[_0x2b55c1(0xc6)]&&(_0xa41786=_0xa41786[_0x2b55c1(0x80)](0x3)));const _0x19aabf=_0xb88215[_0x2b55c1(0xd4)](_0xb88215[_0x2b55c1(0xb6)](_0x2d224b,0x0),_0x32ea2c),_0x3a3425=_0xb88215[_0x2b55c1(0xd4)](_0xa41786,_0xb88215[_0x2b55c1(0xb6)](_0x2d224b,_0x2b55c1(0x8c))),_0x32bdbc=[..._0x19aabf[_0x2b55c1(0x7a)](),..._0x3a3425[_0x2b55c1(0x7a)]()];_0x32bdbc[_0x2b55c1(0x87)]();for(const _0x39b8cc of _0x32bdbc)_0x365d8b(_0x39b8cc),_transformMarkersByDeletion(_0x2d224b,_0x39b8cc);}(_0x1d528a[_0x11a5e2(0xae)],_0x3d6002);}const _0x401455=_0x1d528a[_0x11a5e2(0x86)][_0x11a5e2(0x9d)](_0x5880ee,{'showSuggestionHighlights':!0x0});return{'content':_0x4a73d4(_0x401455),'hasChanges':!0x0};}(_0x5e0cad,_0x1eee0a,_0x5c8e07,_0x13442f,_0x1e6a17);return{'type':_0x2dd67f[_0x2a864e(0xc0)][0x0][_0x2a864e(0xb8)],'index':_0x2dd67f[_0x2a864e(0xe1)],'content':_0x390450,'hasChanges':_0x1122d8};});}function ro(_0x5c5f2d,_0x20a6a4){const _0x350cad=_0x5a8a;for(const [_0x485cd0,_0x406edc]of _0x5c5f2d[_0x350cad(0xac)]){const _0x48de98=_0x2c9147[_0x350cad(0xdd)](_0x406edc[_0x350cad(0xbd)](_0x20a6a4));_0x5c5f2d[_0x350cad(0xac)][_0x350cad(0xbe)](_0x485cd0,_0x48de98);}}export function getMinimalSelection(_0x5ad7c9,_0xcbd4e9,_0x3787f2){const _0x399635=_0x5a8a,_0x27f641=_0x5ad7c9[_0x399635(0x92)][_0x399635(0x9a)](_0x399635(0xb7));let _0x2afb61=_0x5ad7c9[_0x399635(0xae)][_0x399635(0xb6)](_0x3787f2,Number[_0x399635(0xc3)]),_0x4ee685=_0x5ad7c9[_0x399635(0xae)][_0x399635(0xb6)](_0x3787f2,0x0);for(const _0x342631 of _0xcbd4e9){let _0x5a29c4,_0x3a86e4;if(_0x27f641[_0x399635(0xce)](_0x342631))_0x5a29c4=_0x342631[_0x399635(0xb9)][_0x399635(0xdc)],_0x3a86e4=_0x342631[_0x399635(0xb9)][_0x399635(0x8c)];else switch(_0x2afb61=_0x2afb61[_0x399635(0xbd)](_0x342631),_0x4ee685=_0x4ee685[_0x399635(0xbd)](_0x342631),_0x342631[_0x399635(0xb8)]){case _0x399635(0x8f):_0x5a29c4=_0x342631[_0x399635(0xc5)],_0x3a86e4=_0x5a29c4[_0x399635(0x80)](0x1);break;case _0x399635(0xe4):case _0x399635(0x9e):case _0x399635(0x91):_0x5a29c4=_0x342631[_0x399635(0x83)][_0x399635(0xdc)],_0x3a86e4=_0x342631[_0x399635(0x83)][_0x399635(0x8c)];break;case _0x399635(0xd7):_0x5a29c4=_0x342631[_0x399635(0xc5)],_0x3a86e4=_0x5a29c4[_0x399635(0x80)](_0x342631[_0x399635(0xbf)]);break;case _0x399635(0x8a):_0x5a29c4=_0x342631[_0x399635(0x8e)],_0x3a86e4=_0x342631[_0x399635(0x82)];break;case _0x399635(0xa2):{const _0x53ca67=_0x342631[_0x399635(0x7c)][_0x399635(0xb2)][_0x399635(0xd0)](0x0,-0x1);_0x5a29c4=_0x5ad7c9[_0x399635(0xae)][_0x399635(0x88)](_0x3787f2,_0x53ca67),_0x3a86e4=_0x5a29c4[_0x399635(0x80)](0x1);break;}case _0x399635(0xe0):{const _0x58095a=_0x342631[_0x399635(0xbf)],_0xa3931=_0x342631[_0x399635(0xe3)][_0x399635(0xca)](_0x342631[_0x399635(0x7c)],_0x58095a),_0x265f78=_0x342631[_0x399635(0x78)]();_0x399635(0xe0)==_0x342631[_0x399635(0xb8)]?(_0x5a29c4=_0xa3931,_0x3a86e4=_0xa3931):(_0x5a29c4=_0x265f78,_0x3a86e4=_0x265f78[_0x399635(0x80)](_0x58095a));break;}}_0x5a29c4&&_0x5a29c4[_0x399635(0xa8)](_0x2afb61)&&(_0x2afb61=_0x5a29c4[_0x399635(0xdf)](),_0x2afb61[_0x399635(0xd8)]=_0x399635(0x7e)),_0x3a86e4&&_0x3a86e4[_0x399635(0xd1)](_0x4ee685)&&(_0x4ee685=_0x3a86e4[_0x399635(0xdf)](),_0x4ee685[_0x399635(0xd8)]=_0x399635(0x7e));}return _0x5ad7c9[_0x399635(0xae)][_0x399635(0xe8)](_0x5ad7c9[_0x399635(0xae)][_0x399635(0xd4)](_0x2afb61,_0x4ee685));}export function expandSelectionWithContext(_0x18306a,_0x338cc2){const _0x1872ca=_0x5a8a;so(_0x18306a,_0x338cc2,_0x1872ca(0xc9));const _0x1ba0d9=_0x338cc2[_0x1872ca(0xc2)]();_0x338cc2[_0x1872ca(0x98)]([]),_0x338cc2[_0x1872ca(0x98)](_0x1ba0d9,{'backward':!0x0}),so(_0x18306a,_0x338cc2,_0x1872ca(0xa9));}function _0x5a8a(_0x105dd5,_0x22c335){const _0x3c33e0=_0x3c33();return _0x5a8a=function(_0x5a8a46,_0x3e5a81){_0x5a8a46=_0x5a8a46-0x73;let _0x32a3c3=_0x3c33e0[_0x5a8a46];return _0x32a3c3;},_0x5a8a(_0x105dd5,_0x22c335);}function so(_0xa8a791,_0x573f29,_0x43fd83){const _0x8e8066=_0x5a8a;let _0x7b8bfa=0x14;for(;_0x7b8bfa;){_0xa8a791[_0x8e8066(0xa4)](_0x573f29,{'unit':_0x8e8066(0xaa),'direction':_0x43fd83}),_0x7b8bfa--;const _0x15680d=_0x573f29[_0x8e8066(0xc8)][_0x8e8066(0xc9)==_0x43fd83?_0x8e8066(0xad):_0x8e8066(0xa3)];if(_0x15680d&&_0x15680d['is'](_0x8e8066(0x93))&&_0xa8a791[_0x8e8066(0x75)][_0x8e8066(0x85)](_0x15680d)&&_0xa8a791[_0x8e8066(0x75)][_0x8e8066(0x90)](_0x15680d))break;}}export function _transformMarkersByDeletion(_0x247d0d,_0x486ca0){const _0x3bff6e=_0x5a8a;for(const [_0x3c037a,_0x58d1e3]of _0x247d0d[_0x3bff6e(0xac)]){const _0x1b2ded=_0x58d1e3[_0x3bff6e(0xe7)](_0x486ca0[_0x3bff6e(0xdc)],_0x486ca0[_0x3bff6e(0x8c)][_0x3bff6e(0x89)]-_0x486ca0[_0x3bff6e(0xdc)][_0x3bff6e(0x89)]);null!=_0x1b2ded?_0x247d0d[_0x3bff6e(0xac)][_0x3bff6e(0xbe)](_0x3c037a,_0x1b2ded):_0x247d0d[_0x3bff6e(0xac)][_0x3bff6e(0xa7)](_0x3c037a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x315d40,_0x514384){const _0x43917d=_0x1759,_0x2aedf4=_0x315d40();while(!![]){try{const _0x27dca9=-parseInt(_0x43917d(0x1ef))/0x1+parseInt(_0x43917d(0x1e3))/0x2*(-parseInt(_0x43917d(0x1f3))/0x3)+parseInt(_0x43917d(0x1e6))/0x4+parseInt(_0x43917d(0x1e4))/0x5+-parseInt(_0x43917d(0x1f1))/0x6*(-parseInt(_0x43917d(0x1e8))/0x7)+parseInt(_0x43917d(0x1f2))/0x8+parseInt(_0x43917d(0x1f0))/0x9*(parseInt(_0x43917d(0x1e1))/0xa);if(_0x27dca9===_0x514384)break;else _0x2aedf4['push'](_0x2aedf4['shift']());}catch(_0x59f444){_0x2aedf4['push'](_0x2aedf4['shift']());}}}(_0x4f39,0x3c675));function _0x1759(_0x11e551,_0x3bbf3d){const _0x4f39ba=_0x4f39();return _0x1759=function(_0x175909,_0x57fbea){_0x175909=_0x175909-0x1df;let _0x79f7c4=_0x4f39ba[_0x175909];return _0x79f7c4;},_0x1759(_0x11e551,_0x3bbf3d);}import{parseDocument as _0xd0e2a2}from'htmlparser2';import{append as _0x3413c6,appendChild as _0x167f32,find as _0x3a01c2,findAll as _0x34bc19,findOne as _0x1da802,getChildren as _0x5efad3,isComment as _0x3a6391,isTag as _0x1addb8,prepend as _0x46ef2a,prependChild as _0x4d6253,removeElement as _0x4a7d36,replaceElement as _0x152f90,textContent as _0x3ebd0b,getParent as _0xf77c62,hasChildren as _0x4c1741}from'domutils';import _0x40d253 from'dom-serializer';import{cloneNode as _0x1daaf9,isDocument as _0x42665b,isText as _0x52aa1d,Element as _0x22098a,Text as _0x13646a,Document as _0x272986,NodeWithChildren as _0x1d4d9e}from'domhandler';export{_0x1daaf9 as cloneNode,_0x3a01c2 as find,_0x1da802 as findOne,_0x34bc19 as findAll,_0x5efad3 as getChildren,_0xf77c62 as getParent,_0x3a6391 as isComment,_0x42665b as isDocument,_0x1addb8 as isTag,_0x52aa1d as isText,_0x3413c6 as append,_0x167f32 as appendChild,_0x46ef2a as prepend,_0x4d6253 as prependChild,_0x40d253 as render,_0x4a7d36 as removeElement,_0x152f90 as replaceElement,_0x3ebd0b as textContent,_0x4c1741 as hasChildren,_0x22098a as Element,_0x272986 as Document,_0x1d4d9e as NodeWithChildren,_0x13646a as Text};export function parse(_0x37bd44){return _0xd0e2a2(_0x37bd44);}export function serialize(_0x1b1bea){return _0x40d253(_0x1b1bea);}export function findByAttribute(_0x2c5f10,_0x137206,_0x13a8cf){const _0x503f69=_0x1759,_0x425dd4=null!==_0x137206?_0x373509=>_0x373509[_0x503f69(0x1e7)][_0x2c5f10]===_0x137206:_0xe7408a=>Boolean(_0xe7408a[_0x503f69(0x1e7)][_0x2c5f10]);return _0x1da802(_0x1fd9d0=>_0x1addb8(_0x1fd9d0)&&_0x425dd4(_0x1fd9d0),_0x13a8cf);}export function findAllByAttribute(_0x2e2d06,_0x3bc08d,_0x4b4ade){const _0x3da31b=_0x1759,_0x15ca1c=null!==_0x3bc08d?_0x1105ee=>_0x1105ee[_0x3da31b(0x1e7)][_0x2e2d06]===_0x3bc08d:_0xfa174d=>Boolean(_0xfa174d[_0x3da31b(0x1e7)][_0x2e2d06]);return _0x34bc19(_0x18edd4=>_0x1addb8(_0x18edd4)&&_0x15ca1c(_0x18edd4),_0x4b4ade);}export function findAllComments(_0x93789d){return _0x3a01c2(_0x4216c7=>_0x3a6391(_0x4216c7),_0x93789d,!0x0,0x1/0x0);}export function getAttribute(_0xd92561,_0xb41523){const _0x2ad5e0=_0x1759;return _0xd92561&&_0x1addb8(_0xd92561)?_0xd92561[_0x2ad5e0(0x1e7)][_0xb41523]:null;}export function setAttribute(_0x2b50a1,_0x41a400,_0x13a43f){const _0x28da94=_0x1759;_0x1addb8(_0x2b50a1)&&(null===_0x13a43f?delete _0x2b50a1[_0x28da94(0x1e7)][_0x41a400]:_0x2b50a1[_0x28da94(0x1e7)][_0x41a400]=_0x13a43f);}export function insertElement(_0xda2511,_0x5d0a7d,_0x1f49d8){const _0x3abc85=_0x1759,_0x59e5ca=_0x5d0a7d[_0x3abc85(0x1ec)](!0x0);_0x3abc85(0x1e9)===_0x1f49d8?_0x46ef2a(_0xda2511,_0x59e5ca):_0x3abc85(0x1e0)===_0x1f49d8?_0x4d6253(_0xda2511,_0x59e5ca):_0x3abc85(0x1ed)===_0x1f49d8?_0x167f32(_0xda2511,_0x59e5ca):_0x3abc85(0x1eb)===_0x1f49d8&&_0x3413c6(_0xda2511,_0x59e5ca);}export function moveElement(_0x3bba5c,_0x3ec129){_0x4a7d36(_0x3bba5c),_0x152f90(_0x3ec129,_0x3bba5c);}export function clone(_0x49f46d){const _0x4385a2=_0x1759;return _0x49f46d[_0x4385a2(0x1ec)](!0x0);}export function getParents(_0x2de08c){const _0x547949=_0x1759,_0x5a599f=[];let _0x40c9b0=_0x2de08c;for(;_0x40c9b0;)_0x40c9b0=_0xf77c62(_0x40c9b0),_0x40c9b0&&_0x5a599f[_0x547949(0x1f4)](_0x40c9b0);return _0x5a599f;}export function normalizeHTML(_0x4f6572){const _0x485f9f=_0x1759;return _0x4f6572[_0x485f9f(0x1f6)](/^\s+/gm,'')[_0x485f9f(0x1f6)](/\s+$/gm,'')[_0x485f9f(0x1f6)](/\n*/g,'')[_0x485f9f(0x1f6)](/\s+/g,'\x20')[_0x485f9f(0x1f6)](/>\s*</g,'><');}function _0x4f39(){const _0x2ec357=['13824YzmRtN','892936FvUGhr','3AzMRnu','push','indexOf','replace','parentNode','forEach','afterbegin','380hpfjLZ','nextSibling','439018DXWVVz','1850325vDhREw','map','720864VknrXz','attribs','763hhDOgP','beforebegin','reverse','afterend','cloneNode','beforeend','slice','449760aSIaeq','864nSkAZn'];_0x4f39=function(){return _0x2ec357;};return _0x4f39();}export function areNodesSame(_0x13dd99,_0x5ce027){return normalizeHTML(serialize(_0x13dd99))===normalizeHTML(serialize(_0x5ce027));}export function getNodeNestingLevel(_0x46fdc2){const _0x367721=_0x1759;let _0x11da27=0x0;for(;_0x46fdc2[_0x367721(0x1f7)];)_0x46fdc2=_0x46fdc2[_0x367721(0x1f7)],_0x11da27++;return _0x11da27;}export function removeElementsAfter(_0x2a4140){const _0x2058b7=_0x1759,_0x50e43d=[];let _0x3b26ef=_0x2a4140[_0x2058b7(0x1e2)];for(;_0x3b26ef;)_0x50e43d[_0x2058b7(0x1f4)](_0x3b26ef),_0x3b26ef=_0x3b26ef[_0x2058b7(0x1e2)];_0x50e43d[_0x2058b7(0x1df)](_0xd2ddda=>{_0x4a7d36(_0xd2ddda);});}export function getNodePath(_0x23ef36){const _0xe03cfc=_0x1759;return[_0x23ef36,...getParents(_0x23ef36)][_0xe03cfc(0x1ee)](0x0,-0x1)[_0xe03cfc(0x1e5)](_0x372c41=>{const _0x449050=_0xe03cfc,_0x5bd8e8=_0xf77c62(_0x372c41);return _0x5efad3(_0x5bd8e8)[_0x449050(0x1f5)](_0x372c41);})[_0xe03cfc(0x1ea)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x597b26=_0x4c99;function _0x4c99(_0x5f4f7d,_0x4f08bf){const _0x1d2853=_0x1d28();return _0x4c99=function(_0x4c993d,_0x354312){_0x4c993d=_0x4c993d-0x126;let _0x26f59c=_0x1d2853[_0x4c993d];return _0x26f59c;},_0x4c99(_0x5f4f7d,_0x4f08bf);}(function(_0x5adcd9,_0x4d2062){const _0x18d42a=_0x4c99,_0x4348ee=_0x5adcd9();while(!![]){try{const _0x3d6b82=parseInt(_0x18d42a(0x13f))/0x1*(parseInt(_0x18d42a(0x154))/0x2)+-parseInt(_0x18d42a(0x140))/0x3*(-parseInt(_0x18d42a(0x137))/0x4)+-parseInt(_0x18d42a(0x14b))/0x5+parseInt(_0x18d42a(0x149))/0x6*(parseInt(_0x18d42a(0x163))/0x7)+parseInt(_0x18d42a(0x132))/0x8*(-parseInt(_0x18d42a(0x12d))/0x9)+parseInt(_0x18d42a(0x13e))/0xa*(parseInt(_0x18d42a(0x138))/0xb)+-parseInt(_0x18d42a(0x14f))/0xc;if(_0x3d6b82===_0x4d2062)break;else _0x4348ee['push'](_0x4348ee['shift']());}catch(_0x694c5e){_0x4348ee['push'](_0x4348ee['shift']());}}}(_0x1d28,0x4f81c));import _0x301321 from'morphdom';import{NodeWithChildren as _0x3847c3,Text as _0x19b9af,Element as _0xb98a8b,isText as _0x284d23,isDocument as _0x442b5d,isTag as _0x8b6ff0,cloneNode as _0xab6616,getChildren as _0x2b7abd,prepend as _0xb8a99c,removeElement as _0x2e9c5f,textContent as _0x57b31b,render as _0x36b328}from'./htmlparser.js';import{logWarning as _0x58791b}from'ckeditor5/src/utils.js';function _0x1d28(){const _0x1c954d=['addEventListener','currentIndex','strong','2762mhCaRa','options','bind','del','getParsedDocumentNodeList','timeoutAbortController','abort','length','push','signal','childNodes','span','nodesList','splitTextNodeIntoWordNodes','from','3640IDbAwo','div','isStreaming','stream','children','isWordSplitResult','sub','onStreamUpdate','includes','10233NMjZko','shouldBeStreamed','tagName','cleanUpAnimations','code','40KlmPnw','parent','entries','match','renderNode','212fveSlJ','5525498SVshEy','delay','forEach','attribs','join','span[data-ck-html-streamer-word-chunk]','10CWkAiH','403GEMRbb','5667wBoRgi','sup','now','ai-html-streamer-current-index-out-of-bounds','replaceWith','stop','ins','isWordSplitSource','map','24jTeCAZ','reverse','549315PhIxgZ','mark','document','querySelectorAll','8638200EGtXmT','textNodeStyle'];_0x1d28=function(){return _0x1c954d;};return _0x1d28();}export class HTMLStreamer{[_0x597b26(0x155)];[_0x597b26(0x126)]=!0x1;[_0x597b26(0x14d)]=null;[_0x597b26(0x160)]=[];[_0x597b26(0x152)]=0x0;[_0x597b26(0x159)]=null;constructor(_0x38f6b7){const _0x51dfe5=_0x597b26;this[_0x51dfe5(0x155)]={'delay':_0x38f6b7[_0x51dfe5(0x139)]??0x14,'textNodeStyle':_0x38f6b7[_0x51dfe5(0x150)],'onStreamUpdate':_0x38f6b7[_0x51dfe5(0x12b)]||(()=>{})};}async[_0x597b26(0x127)]({document:_0x1082f6,targetElement:_0x5dcb23,abortSignal:_0x5d858b}){const _0x1ca17f=_0x597b26;this[_0x1ca17f(0x126)]&&this[_0x1ca17f(0x145)](),_0x5d858b?.[_0x1ca17f(0x151)](_0x1ca17f(0x15a),this[_0x1ca17f(0x145)][_0x1ca17f(0x156)](this)),this[_0x1ca17f(0x14d)]=_0xab6616(_0x1082f6,!0x0),this[_0x1ca17f(0x160)]=this[_0x1ca17f(0x158)](),this[_0x1ca17f(0x126)]=!0x0,this[_0x1ca17f(0x152)]>this[_0x1ca17f(0x160)][_0x1ca17f(0x15b)]&&(_0x58791b(_0x1ca17f(0x143),{'currentIndex':this[_0x1ca17f(0x152)],'nodeList':this[_0x1ca17f(0x160)]}),this[_0x1ca17f(0x152)]=this[_0x1ca17f(0x160)][_0x1ca17f(0x15b)]);for(let _0x228774=0x0;_0x228774<this[_0x1ca17f(0x152)];_0x228774++)this[_0x1ca17f(0x160)][_0x228774][_0x1ca17f(0x12e)]=!0x0;let _0x3e4f17=0x0;for(let _0x4ea320=this[_0x1ca17f(0x152)];_0x4ea320<this[_0x1ca17f(0x160)][_0x1ca17f(0x15b)];_0x4ea320++){const _0x5ef5f6=Date[_0x1ca17f(0x142)](),_0x37eeb1=this[_0x1ca17f(0x160)][_0x4ea320],_0x501114=_0x5ef5f6-_0x3e4f17;_0x37eeb1[_0x1ca17f(0x12e)]=!0x0;let _0x4b8a4c=_0x37eeb1[_0x1ca17f(0x133)];for(;_0x4b8a4c;)_0x4b8a4c[_0x1ca17f(0x12e)]=!0x0,_0x4b8a4c=_0x4b8a4c[_0x1ca17f(0x133)];if(_0x501114<this[_0x1ca17f(0x155)][_0x1ca17f(0x139)])try{const {promise:_0x3bb724,abortController:_0x37f03e}=br(this[_0x1ca17f(0x155)][_0x1ca17f(0x139)]-_0x501114);this[_0x1ca17f(0x159)]=_0x37f03e,await _0x3bb724;}catch(_0x2c9a2b){return;}_0x301321(_0x5dcb23,'<'+_0x5dcb23[_0x1ca17f(0x12f)]+'>'+this[_0x1ca17f(0x136)](this[_0x1ca17f(0x14d)])+'</'+_0x5dcb23[_0x1ca17f(0x12f)]+'>',{'childrenOnly':!0x0}),this[_0x1ca17f(0x155)][_0x1ca17f(0x12b)]&&this[_0x1ca17f(0x155)][_0x1ca17f(0x12b)](),this[_0x1ca17f(0x152)]=_0x4ea320,_0x3e4f17=Date[_0x1ca17f(0x142)]();}this[_0x1ca17f(0x126)]=!0x1;}[_0x597b26(0x130)]({targetElement:_0x428aa1}){const _0x3a2ba4=_0x597b26;Array[_0x3a2ba4(0x162)](_0x428aa1[_0x3a2ba4(0x14e)](_0x3a2ba4(0x13d)))[_0x3a2ba4(0x14a)]()[_0x3a2ba4(0x13a)](_0x26a2fd=>{const _0x416148=_0x3a2ba4;_0x26a2fd[_0x416148(0x144)](_0x26a2fd[_0x416148(0x15e)][0x0]);});}[_0x597b26(0x145)](){const _0x3e9dbb=_0x597b26;this[_0x3e9dbb(0x126)]=!0x1,this[_0x3e9dbb(0x159)]&&(this[_0x3e9dbb(0x159)][_0x3e9dbb(0x15a)](),this[_0x3e9dbb(0x159)]=null);}[_0x597b26(0x136)](_0x122125){const _0x2de036=_0x597b26;let _0x18e6a2='';if(function(_0xe6ec67){return _0x442b5d(_0xe6ec67);}(_0x122125)){for(const _0x118cad of _0x122125[_0x2de036(0x128)])_0x18e6a2+=this[_0x2de036(0x136)](_0x118cad);}else{if(pr(_0x122125)){if(!_0x122125[_0x2de036(0x12e)])return'';const _0x3004e0=_0x122125,_0x289901=Object[_0x2de036(0x134)](_0x3004e0[_0x2de036(0x13b)])[_0x2de036(0x148)](([_0x4662ac,_0x3979f3])=>_0x4662ac+'=\x22'+_0x3979f3+'\x22')[_0x2de036(0x13c)]('\x20');_0x18e6a2+='<'+_0x3004e0[_0x2de036(0x12f)]+(_0x289901?'\x20'+_0x289901:'')+'>';for(const _0x583364 of _0x2b7abd(_0x3004e0))_0x18e6a2+=this[_0x2de036(0x136)](_0x583364);_0x18e6a2+='</'+_0x3004e0[_0x2de036(0x12f)]+'>';}else{if(!dr(_0x122125))return'';if(!_0x122125[_0x2de036(0x12e)])return'';!function(_0x1c1367){const _0x26f7f2=_0x2de036;if(!_0x1c1367[_0x26f7f2(0x133)]||!pr(_0x1c1367[_0x26f7f2(0x133)]))return!0x1;if(!ar[_0x26f7f2(0x12c)](_0x1c1367[_0x26f7f2(0x133)][_0x26f7f2(0x12f)]))return!0x1;return!_0x57b31b(_0x1c1367)[_0x26f7f2(0x135)](/^\s*[<>]\s*$/);}(_0x122125)?_0x18e6a2+=_0x36b328(_0x122125):_0x18e6a2+=_0x36b328(new _0xb98a8b(_0x2de036(0x15f),{'data-ck-html-streamer-word-chunk':'','style':this[_0x2de036(0x155)][_0x2de036(0x150)]},[_0x122125]));}}return _0x18e6a2;}[_0x597b26(0x158)](){const _0x5c9b4b=_0x597b26,_0x5478ad=[];return function(_0x2b0700,_0x268164){const _0x4b5f1c=_0x4c99,_0x370c5c=_0x399c73=>{const _0x1b5e6b=_0x4c99;if(_0x268164(_0x399c73),_0x399c73 instanceof _0x3847c3)for(let _0x21595f=0x0;_0x21595f<_0x399c73[_0x1b5e6b(0x128)][_0x1b5e6b(0x15b)];_0x21595f++){const _0x4e6eba=_0x399c73[_0x1b5e6b(0x128)][_0x21595f];_0x370c5c(_0x4e6eba);}};for(let _0x718dd1=0x0;_0x718dd1<_0x2b0700[_0x4b5f1c(0x128)][_0x4b5f1c(0x15b)];_0x718dd1++)_0x370c5c(_0x2b0700[_0x4b5f1c(0x128)][_0x718dd1]);}(this[_0x5c9b4b(0x14d)],_0x330016=>{const _0x3f96b7=_0x5c9b4b;if(dr(_0x330016)){const _0xd6412f=this[_0x3f96b7(0x161)](_0x330016);_0xd6412f[_0x3f96b7(0x15b)]&&_0x5478ad[_0x3f96b7(0x15c)](..._0xd6412f);}_0x330016[_0x3f96b7(0x147)]||_0x330016[_0x3f96b7(0x129)]||_0x5478ad[_0x3f96b7(0x15c)](_0x330016);}),_0x5478ad;}[_0x597b26(0x161)](_0x3b3080){const _0x1c10e3=_0x597b26;if(_0x3b3080[_0x1c10e3(0x147)]||_0x3b3080[_0x1c10e3(0x129)])return[];const _0x24b451=_0x57b31b(_0x3b3080)[_0x1c10e3(0x135)](/(?:\s*\S+\s*)/g),_0x5d5b61=[];if(_0x24b451&&_0x24b451[_0x1c10e3(0x15b)]>0x1){for(const _0x359241 of _0x24b451){const _0x22a4ed=new _0x19b9af(_0x359241);_0x22a4ed[_0x1c10e3(0x129)]=!0x0,_0xb8a99c(_0x3b3080,_0x22a4ed),_0x5d5b61[_0x1c10e3(0x15c)](_0x22a4ed);}_0x3b3080[_0x1c10e3(0x147)]=!0x0,_0x2e9c5f(_0x3b3080);}return _0x5d5b61;}}const ar=['p','li','td','th',_0x597b26(0x15f),'h1','h2','h3','h4','h5','h6','b',_0x597b26(0x153),'i','em',_0x597b26(0x14c),_0x597b26(0x157),_0x597b26(0x146),_0x597b26(0x141),_0x597b26(0x12a),'a',_0x597b26(0x131),_0x597b26(0x164)];function dr(_0x4626ca){return _0x284d23(_0x4626ca);}function pr(_0x55dacb){return _0x8b6ff0(_0x55dacb);}function br(_0x41045d){const _0x1230d4=new AbortController();return{'promise':new Promise((_0x593120,_0x1685c2)=>{const _0x743d8b=_0x4c99,_0x302e20=setTimeout(_0x593120,_0x41045d);_0x1230d4[_0x743d8b(0x15d)][_0x743d8b(0x151)](_0x743d8b(0x15a),()=>{clearTimeout(_0x302e20),_0x1685c2();});}),'abortController':_0x1230d4};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1afaca=_0x36e2;(function(_0x4e505f,_0x2a1949){var _0x4419a5=_0x36e2,_0x4fb47f=_0x4e505f();while(!![]){try{var _0x4af0d1=-parseInt(_0x4419a5(0x111))/0x1+parseInt(_0x4419a5(0x110))/0x2*(-parseInt(_0x4419a5(0x10f))/0x3)+-parseInt(_0x4419a5(0x109))/0x4*(-parseInt(_0x4419a5(0x112))/0x5)+-parseInt(_0x4419a5(0x104))/0x6*(-parseInt(_0x4419a5(0x10d))/0x7)+parseInt(_0x4419a5(0x106))/0x8*(parseInt(_0x4419a5(0x10e))/0x9)+-parseInt(_0x4419a5(0x10b))/0xa+parseInt(_0x4419a5(0x103))/0xb;if(_0x4af0d1===_0x2a1949)break;else _0x4fb47f['push'](_0x4fb47f['shift']());}catch(_0x4c1ace){_0x4fb47f['push'](_0x4fb47f['shift']());}}}(_0x59a2,0xdd7b7));function _0x36e2(_0x432e48,_0x2f3390){var _0x59a2f1=_0x59a2();return _0x36e2=function(_0x36e24c,_0x20e441){_0x36e24c=_0x36e24c-0x103;var _0x534cd2=_0x59a2f1[_0x36e24c];return _0x534cd2;},_0x36e2(_0x432e48,_0x2f3390);}import{Plugin as _0xb405e7}from'ckeditor5/src/core.js';function _0x59a2(){var _0x3a67e7=['95HWCKOC','23705473ydblfm','378RBDetZ','pluginName','104gkwtDu','requires','isOfficialPlugin','296584BEiiST','AIEditorIntegration','12910020sguWuO','isPremiumPlugin','49287wUaDpD','571239rPXzIv','51iSNyCX','137500tJIrIy','1465580GLsNuK'];_0x59a2=function(){return _0x3a67e7;};return _0x59a2();}import{AIToggleButtonUI as _0x3eea6f}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x5625d4}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0xb405e7{static get[_0x1afaca(0x107)](){return[_0x3eea6f,_0x5625d4];}static get[_0x1afaca(0x105)](){var _0x440f67=_0x1afaca;return _0x440f67(0x10a);}static get[_0x1afaca(0x108)](){return!0x0;}static get[_0x1afaca(0x10c)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2ea7(_0x8dd8d1,_0x50fb6e){const _0xca1072=_0xca10();return _0x2ea7=function(_0x2ea71e,_0x5715df){_0x2ea71e=_0x2ea71e-0xc1;let _0x239c21=_0xca1072[_0x2ea71e];return _0x239c21;},_0x2ea7(_0x8dd8d1,_0x50fb6e);}const _0x120e3c=_0x2ea7;(function(_0x385d28,_0x33a5c7){const _0x1d1894=_0x2ea7,_0x303f82=_0x385d28();while(!![]){try{const _0x2802a1=-parseInt(_0x1d1894(0xc6))/0x1*(-parseInt(_0x1d1894(0xd9))/0x2)+-parseInt(_0x1d1894(0xcf))/0x3+-parseInt(_0x1d1894(0xdf))/0x4*(-parseInt(_0x1d1894(0xc2))/0x5)+-parseInt(_0x1d1894(0xc7))/0x6*(parseInt(_0x1d1894(0xda))/0x7)+-parseInt(_0x1d1894(0xd3))/0x8*(-parseInt(_0x1d1894(0xc8))/0x9)+parseInt(_0x1d1894(0xc4))/0xa+parseInt(_0x1d1894(0xd1))/0xb;if(_0x2802a1===_0x33a5c7)break;else _0x303f82['push'](_0x303f82['shift']());}catch(_0x1d9015){_0x303f82['push'](_0x303f82['shift']());}}}(_0xca10,0xa106d));import{Plugin as _0x2e3667}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x4641e2}from'./toggleaicommand.js';import{ButtonView as _0x1dc7ac,MenuBarMenuListItemButtonView as _0xa0cefd}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x56c303}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x862c31}from'../../aicore/utils/common-translations.js';import{AITabs as _0x119641}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0xca10(){const _0x1618d7=['AIToggleButtonUI','isOfficialPlugin','init','get','280RFtSYG','componentFactory','isEnabled','listenTo','isOn','menuitemcheckbox','value','53720exXUAz','bind','3420030tEmPmu','pluginName','163467OmeJxO','2466MlhVwY','2392596gokjnt','execute','_createAIUIButton','locale','toggleAi','set','add','1988088xayXSF','AI_TOGGLE_BUTTON_LABEL','7589868YEHjci','requires','16peVImH','ck-ai-toggle-button','editor','menuBar:toggleAi','commands','isPremiumPlugin','2lDwaaU','19705Uyxhvj'];_0xca10=function(){return _0x1618d7;};return _0xca10();}export class AIToggleButtonUI extends _0x2e3667{static get[_0x120e3c(0xd2)](){return[_0x119641];}static get[_0x120e3c(0xc5)](){const _0x3de454=_0x120e3c;return _0x3de454(0xdb);}static get[_0x120e3c(0xdc)](){return!0x0;}static get[_0x120e3c(0xd8)](){return!0x0;}[_0x120e3c(0xdd)](){const _0x46934b=_0x120e3c,_0xab77ee=this[_0x46934b(0xd5)];_0xab77ee[_0x46934b(0xd7)][_0x46934b(0xce)](_0x46934b(0xcc),new _0x4641e2(_0xab77ee)),_0xab77ee['ui'][_0x46934b(0xe0)][_0x46934b(0xce)](_0x46934b(0xcc),()=>{const _0x4b8f10=_0x46934b,_0x4e2c82=this[_0x4b8f10(0xca)](_0x1dc7ac);return _0x4e2c82[_0x4b8f10(0xcd)]({'tooltip':!0x0,'class':_0x4b8f10(0xd4)}),_0x4e2c82;}),_0xab77ee['ui'][_0x46934b(0xe0)][_0x46934b(0xce)](_0x46934b(0xd6),()=>{const _0x469ace=_0x46934b,_0x24a436=this[_0x469ace(0xca)](_0xa0cefd);return _0x24a436[_0x469ace(0xcd)]({'role':_0x469ace(0xe4)}),_0x24a436;});}[_0x120e3c(0xca)](_0x5ebc6a){const _0x247eb9=_0x120e3c,_0x59b148=this[_0x247eb9(0xd5)],_0x2d8df1=_0x59b148[_0x247eb9(0xd7)][_0x247eb9(0xde)](_0x247eb9(0xcc)),_0x1a28b4=new _0x5ebc6a(_0x59b148[_0x247eb9(0xcb)]);return _0x1a28b4[_0x247eb9(0xcd)]({'label':_0x862c31(_0x59b148[_0x247eb9(0xcb)],_0x247eb9(0xd0)),'icon':_0x56c303,'isToggleable':!0x0}),_0x1a28b4[_0x247eb9(0xc3)](_0x247eb9(0xe1))['to'](_0x2d8df1),_0x1a28b4[_0x247eb9(0xc3)](_0x247eb9(0xe3))['to'](_0x2d8df1,_0x247eb9(0xc1),_0x5edc68=>!!_0x5edc68),this[_0x247eb9(0xe2)](_0x1a28b4,_0x247eb9(0xc9),()=>{const _0x1e2ef1=_0x247eb9;_0x2d8df1[_0x1e2ef1(0xc9)]();}),_0x1a28b4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x175414=_0xb187;(function(_0x90465b,_0x45e79d){const _0x92f93a=_0xb187,_0x53a0f9=_0x90465b();while(!![]){try{const _0x1034b5=-parseInt(_0x92f93a(0x10e))/0x1+-parseInt(_0x92f93a(0x112))/0x2*(parseInt(_0x92f93a(0x117))/0x3)+parseInt(_0x92f93a(0x118))/0x4+-parseInt(_0x92f93a(0x110))/0x5+-parseInt(_0x92f93a(0x10f))/0x6+-parseInt(_0x92f93a(0x113))/0x7*(parseInt(_0x92f93a(0x11a))/0x8)+parseInt(_0x92f93a(0x119))/0x9;if(_0x1034b5===_0x45e79d)break;else _0x53a0f9['push'](_0x53a0f9['shift']());}catch(_0x16ef11){_0x53a0f9['push'](_0x53a0f9['shift']());}}}(_0x4963,0xe40fc));import{Command as _0x4aed60}from'ckeditor5/src/core.js';function _0x4963(){const _0x575efd=['bind','isEnabled','1582693PjMOZQ','2854692xsZsBc','4519710zxwUTG','plugins','493198JdoCsn','21bVaGuK','value','view','AITabs','15XPuqKq','6829924GGsXQv','40410342vykGEY','2847912bNRYLr','get','editor','isVisible','execute'];_0x4963=function(){return _0x575efd;};return _0x4963();}function _0xb187(_0x449bfd,_0xe25550){const _0x496361=_0x4963();return _0xb187=function(_0xb18791,_0x5731a8){_0xb18791=_0xb18791-0x10c;let _0x48bbbf=_0x496361[_0xb18791];return _0x48bbbf;},_0xb187(_0x449bfd,_0xe25550);}export class ToggleAICommand extends _0x4aed60{constructor(_0x3f441b){const _0x54fe3a=_0xb187;super(_0x3f441b);const _0x34c659=_0x3f441b[_0x54fe3a(0x111)][_0x54fe3a(0x11b)](_0x54fe3a(0x116))[_0x54fe3a(0x115)];this[_0x54fe3a(0x10c)](_0x54fe3a(0x114))['to'](_0x34c659,_0x54fe3a(0x11d)),this[_0x54fe3a(0x10d)]=!0x0;}[_0x175414(0x11e)](){const _0x4b98ab=_0x175414,_0x5504b0=this[_0x4b98ab(0x11c)][_0x4b98ab(0x111)][_0x4b98ab(0x11b)](_0x4b98ab(0x116))[_0x4b98ab(0x115)];_0x5504b0[_0x4b98ab(0x11d)]=!_0x5504b0[_0x4b98ab(0x11d)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x3f929a=_0x1086;(function(_0x77c8ee,_0x4722c0){var _0x37be85=_0x1086,_0x81aa2f=_0x77c8ee();while(!![]){try{var _0x27d76d=parseInt(_0x37be85(0xad))/0x1+-parseInt(_0x37be85(0xae))/0x2+-parseInt(_0x37be85(0xa3))/0x3*(parseInt(_0x37be85(0xaa))/0x4)+-parseInt(_0x37be85(0xac))/0x5*(parseInt(_0x37be85(0xa5))/0x6)+-parseInt(_0x37be85(0xa2))/0x7+-parseInt(_0x37be85(0xa1))/0x8*(parseInt(_0x37be85(0xa6))/0x9)+parseInt(_0x37be85(0xa8))/0xa*(parseInt(_0x37be85(0xab))/0xb);if(_0x27d76d===_0x4722c0)break;else _0x81aa2f['push'](_0x81aa2f['shift']());}catch(_0x22efd5){_0x81aa2f['push'](_0x81aa2f['shift']());}}}(_0x1e52,0x89693));import{Plugin as _0x399412}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x4cdf41}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x182f67}from'./aiquickactionsediting.js';import{AIActions as _0x42af5b}from'../aiactions/aiactions.js';function _0x1086(_0x7e9607,_0x54fb81){var _0x1e5243=_0x1e52();return _0x1086=function(_0x108626,_0x42636b){_0x108626=_0x108626-0x9c;var _0x5a8aa6=_0x1e5243[_0x108626];return _0x5a8aa6;},_0x1086(_0x7e9607,_0x54fb81);}function _0x1e52(){var _0x168be4=['131403pTmgeQ','ai.quickActions','6IiPKyV','477oyxGDB','AIQuickActions','70IwgDvh','config','44JzjaXk','2758415uOEpWW','1550555pGnoNK','566360TnuHcm','716906dymdWF','requires','isOfficialPlugin','define','isPremiumPlugin','pluginName','78192xTONIc','633381EdPmzw'];_0x1e52=function(){return _0x168be4;};return _0x1e52();}export class AIQuickActions extends _0x399412{static get[_0x3f929a(0x9c)](){return[_0x4cdf41,_0x182f67,_0x42af5b];}static get[_0x3f929a(0xa0)](){var _0x2b4947=_0x3f929a;return _0x2b4947(0xa7);}static get[_0x3f929a(0x9d)](){return!0x0;}static get[_0x3f929a(0x9f)](){return!0x0;}constructor(_0x1e023b){var _0x2c72be=_0x3f929a;super(_0x1e023b),_0x1e023b[_0x2c72be(0xa9)][_0x2c72be(0x9e)](_0x2c72be(0xa4),{'extraCommands':[],'removeCommands':[]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xf85acf=_0x1a4c;function _0x1a4c(_0x1ba669,_0x8abef4){const _0x5041c3=_0x5041();return _0x1a4c=function(_0x1a4c55,_0x5b7a5d){_0x1a4c55=_0x1a4c55-0xaf;let _0x357abb=_0x5041c3[_0x1a4c55];return _0x357abb;},_0x1a4c(_0x1ba669,_0x8abef4);}(function(_0x1d5bf7,_0x4a0cba){const _0xd14c08=_0x1a4c,_0x39f222=_0x1d5bf7();while(!![]){try{const _0x3aef48=-parseInt(_0xd14c08(0xc2))/0x1*(-parseInt(_0xd14c08(0xe4))/0x2)+parseInt(_0xd14c08(0xc1))/0x3*(parseInt(_0xd14c08(0xb9))/0x4)+-parseInt(_0xd14c08(0xb4))/0x5+parseInt(_0xd14c08(0xb1))/0x6+parseInt(_0xd14c08(0xcf))/0x7*(parseInt(_0xd14c08(0xaf))/0x8)+parseInt(_0xd14c08(0xcc))/0x9+-parseInt(_0xd14c08(0xb2))/0xa;if(_0x3aef48===_0x4a0cba)break;else _0x39f222['push'](_0x39f222['shift']());}catch(_0x348cc4){_0x39f222['push'](_0x39f222['shift']());}}}(_0x5041,0x9f365));import{Command as _0x39d1d5}from'ckeditor5/src/core.js';function _0x5041(){const _0x57adf4=['has','isCollapsed','schema','AIChatController','other','AIChat','addSelectionToChatContext','get','log','ask-ai','label','sendMessage','AIActions','ACTION','ai-quick-actions-plugin-not-found','activateTab','_handleAIChatAction','22iwITea','locale','getSelectedBlocks','displayedPrompt','startConversation','plugins','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AITabs','8IjiRMw','args','4170162LnlInK','26488680RHUYMZ','document','1506390RtcTjE','prompt','executeAction','REVIEW','_handleAIReviewAction','18784PhGZEz','model','CHAT','parent','setSelection','icon','focusPromptInput','view','606mOGnvm','24805NvzcfQ','AIReviewMode','handleAIReviewAction','chat','removeSelectionFromChatContext','actionName','change','_handleAIActionsAction','editor','type','7965927AyxlFT','execute','_handleAIActionsActionLabel','5604914qoWrxk','_expandSelectionIfCollapsed','getLimitElement','selection'];_0x5041=function(){return _0x57adf4;};return _0x5041();}import{CKEditorError as _0x83e851,first as _0x3f75c3}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x205d62}from'./aiquickactionsui.js';import{getTranslation as _0x81c73c}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x39d1d5{[_0xf85acf(0xcd)](_0x2b074c){const _0x30990b=_0xf85acf;switch(this[_0x30990b(0xd0)](),_0x2b074c[_0x30990b(0xcb)]){case _0x205d62[_0x30990b(0xbb)]:if(!this[_0x30990b(0xca)][_0x30990b(0xe9)][_0x30990b(0xd3)](_0x30990b(0xd8))){const _0x53b1f5=_0x81c73c(this[_0x30990b(0xca)][_0x30990b(0xe5)],_0x30990b(0xea),_0x30990b(0xd8));throw new _0x83e851(_0x30990b(0xe1),this[_0x30990b(0xca)],{'errorMessage':_0x53b1f5});}this[_0x30990b(0xe3)](_0x2b074c);break;case _0x205d62[_0x30990b(0xe0)]:if(!this[_0x30990b(0xca)][_0x30990b(0xe9)][_0x30990b(0xd3)](_0x30990b(0xdf))){const _0x4acabb=_0x81c73c(this[_0x30990b(0xca)][_0x30990b(0xe5)],_0x30990b(0xea),_0x30990b(0xdf));throw new _0x83e851(_0x30990b(0xe1),this[_0x30990b(0xca)],{'errorMessage':_0x4acabb});}this[_0x30990b(0xc9)](_0x2b074c);break;case _0x205d62[_0x30990b(0xb7)]:if(!this[_0x30990b(0xca)][_0x30990b(0xe9)][_0x30990b(0xd3)](_0x30990b(0xc3))){const _0x6e5be3=_0x81c73c(this[_0x30990b(0xca)][_0x30990b(0xe5)],_0x30990b(0xea),_0x30990b(0xc3));throw new _0x83e851(_0x30990b(0xe1),this[_0x30990b(0xca)],{'errorMessage':_0x6e5be3});}this[_0x30990b(0xb8)](_0x2b074c);}}async[_0xf85acf(0xe3)](_0x518bf0){const _0x3e4557=_0xf85acf,_0x1c63d2=this[_0x3e4557(0xca)][_0x3e4557(0xe9)][_0x3e4557(0xda)](_0x3e4557(0xd8)),_0x334789=this[_0x3e4557(0xca)][_0x3e4557(0xe9)][_0x3e4557(0xda)](_0x3e4557(0xd6));if(this[_0x3e4557(0xca)][_0x3e4557(0xe9)][_0x3e4557(0xda)](_0x3e4557(0xeb))[_0x3e4557(0xc0)][_0x3e4557(0xe2)](_0x3e4557(0xc5)),_0x3e4557(0xdc)===_0x518bf0['id'])_0x334789[_0x3e4557(0xc6)](),await _0x1c63d2[_0x3e4557(0xd9)](),_0x1c63d2[_0x3e4557(0xbf)]();else await _0x1c63d2[_0x3e4557(0xe8)](),_0x334789[_0x3e4557(0xc6)](),await _0x1c63d2[_0x3e4557(0xd9)](),_0x1c63d2[_0x3e4557(0xbf)](),await _0x1c63d2[_0x3e4557(0xde)]({'message':_0x518bf0[_0x3e4557(0xb5)]||_0x518bf0[_0x3e4557(0xe7)],'quickActionData':{'id':_0x518bf0['id'],'displayedPrompt':_0x518bf0[_0x3e4557(0xe7)]}});}[_0xf85acf(0xd0)](){const _0x2ea527=_0xf85acf,_0x5a10ce=this[_0x2ea527(0xca)],_0x410cc9=_0x5a10ce[_0x2ea527(0xba)][_0x2ea527(0xb3)][_0x2ea527(0xd2)];if(!_0x410cc9[_0x2ea527(0xd4)])return;const _0x35a377=_0x3f75c3(_0x410cc9[_0x2ea527(0xe6)]())||_0x5a10ce[_0x2ea527(0xba)][_0x2ea527(0xd5)][_0x2ea527(0xd1)](_0x410cc9);_0x5a10ce[_0x2ea527(0xba)][_0x2ea527(0xc8)](_0x36c5c9=>{const _0x5696a4=_0x2ea527;_0x36c5c9[_0x5696a4(0xbd)](_0x35a377,'in');});}[_0xf85acf(0xce)](_0xa45c09){const _0x18b9c1=_0xf85acf;return _0xa45c09[_0x18b9c1(0xbc)]?.[_0x18b9c1(0xdd)]&&_0x18b9c1(0xd7)!==_0xa45c09[_0x18b9c1(0xbc)]?.['id']?_0xa45c09[_0x18b9c1(0xbc)][_0x18b9c1(0xdd)]+':\x20'+_0xa45c09[_0x18b9c1(0xe7)]:_0xa45c09[_0x18b9c1(0xe7)];}async[_0xf85acf(0xc9)](_0x28138b){const _0x5b95a9=_0xf85acf,_0x152eaa=this[_0x5b95a9(0xca)][_0x5b95a9(0xe9)][_0x5b95a9(0xda)](_0x5b95a9(0xdf)),_0x1ef96e=_0x28138b[_0x5b95a9(0xb5)]?{'userMessage':_0x28138b[_0x5b95a9(0xb5)],'model':_0x28138b[_0x5b95a9(0xba)]}:{'actionName':_0x28138b[_0x5b95a9(0xc7)]||_0x28138b['id'],'args':_0x28138b[_0x5b95a9(0xb0)]},_0x65a75c=this[_0x5b95a9(0xce)](_0x28138b);await _0x152eaa[_0x5b95a9(0xb6)](_0x1ef96e,_0x65a75c,_0x28138b[_0x5b95a9(0xbe)]);}async[_0xf85acf(0xb8)](_0x517ba5){const _0x1a428a=_0xf85acf;console[_0x1a428a(0xdb)](_0x1a428a(0xc4),_0x517ba5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2c37(_0x3a1908,_0x2b1a3f){const _0x202d19=_0x202d();return _0x2c37=function(_0x2c371a,_0x374c86){_0x2c371a=_0x2c371a-0x1d4;let _0xd51d06=_0x202d19[_0x2c371a];return _0xd51d06;},_0x2c37(_0x3a1908,_0x2b1a3f);}function _0x202d(){const _0x411d5b=['selection','removeSelectionFromChatContext','230803mFkhpa','pluginName','AIQuickActionsEditing','change:range','add','1157370KDpHPe','1184790uNaKwm','commands','plugins','document','get','aiQuickAction','model','directChange','1162860iLidOx','9MgHAaT','AIChat','has','isPremiumPlugin','init','editor','isOfficialPlugin','7414370URTXeX','8NxoVLc','2PPgotu','1177264wUtWNB','3341282ezYTkU'];_0x202d=function(){return _0x411d5b;};return _0x202d();}const _0x55ca1f=_0x2c37;(function(_0x57cc5b,_0x31b066){const _0x4899f0=_0x2c37,_0x4d9db9=_0x57cc5b();while(!![]){try{const _0x77472a=-parseInt(_0x4899f0(0x1ed))/0x1*(parseInt(_0x4899f0(0x1e8))/0x2)+-parseInt(_0x4899f0(0x1d6))/0x3+-parseInt(_0x4899f0(0x1e9))/0x4+-parseInt(_0x4899f0(0x1de))/0x5+parseInt(_0x4899f0(0x1d5))/0x6+-parseInt(_0x4899f0(0x1ea))/0x7*(-parseInt(_0x4899f0(0x1e7))/0x8)+-parseInt(_0x4899f0(0x1df))/0x9*(-parseInt(_0x4899f0(0x1e6))/0xa);if(_0x77472a===_0x31b066)break;else _0x4d9db9['push'](_0x4d9db9['shift']());}catch(_0x451830){_0x4d9db9['push'](_0x4d9db9['shift']());}}}(_0x202d,0x3f3dd));import{Plugin as _0x530563}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x44b912}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x530563{static get[_0x55ca1f(0x1ee)](){const _0x51ba30=_0x55ca1f;return _0x51ba30(0x1ef);}static get[_0x55ca1f(0x1e5)](){return!0x0;}static get[_0x55ca1f(0x1e2)](){return!0x0;}[_0x55ca1f(0x1e3)](){const _0xaa31a9=_0x55ca1f,_0x5d3748=this[_0xaa31a9(0x1e4)],_0xf005e6=new _0x44b912(this[_0xaa31a9(0x1e4)]);if(_0x5d3748[_0xaa31a9(0x1d7)][_0xaa31a9(0x1d4)](_0xaa31a9(0x1db),_0xf005e6),_0x5d3748[_0xaa31a9(0x1d8)][_0xaa31a9(0x1e1)](_0xaa31a9(0x1e0))){const _0x43c0f8=this[_0xaa31a9(0x1e4)][_0xaa31a9(0x1d8)][_0xaa31a9(0x1da)](_0xaa31a9(0x1e0));_0x5d3748[_0xaa31a9(0x1dc)][_0xaa31a9(0x1d9)][_0xaa31a9(0x1eb)]['on'](_0xaa31a9(0x1f0),(_0x360526,_0x264644)=>{const _0x36a77a=_0xaa31a9;_0x264644[_0x36a77a(0x1dd)]&&_0x43c0f8[_0x36a77a(0x1ec)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x54759f=_0x1289;(function(_0xd350d2,_0x11c0fe){const _0xfc6a25=_0x1289,_0x5e97c6=_0xd350d2();while(!![]){try{const _0x86326f=-parseInt(_0xfc6a25(0x255))/0x1+-parseInt(_0xfc6a25(0x1f9))/0x2+parseInt(_0xfc6a25(0x1f7))/0x3*(parseInt(_0xfc6a25(0x1d8))/0x4)+-parseInt(_0xfc6a25(0x1ef))/0x5*(parseInt(_0xfc6a25(0x1f5))/0x6)+parseInt(_0xfc6a25(0x20e))/0x7*(parseInt(_0xfc6a25(0x220))/0x8)+-parseInt(_0xfc6a25(0x1fe))/0x9+parseInt(_0xfc6a25(0x229))/0xa;if(_0x86326f===_0x11c0fe)break;else _0x5e97c6['push'](_0x5e97c6['shift']());}catch(_0x516efc){_0x5e97c6['push'](_0x5e97c6['shift']());}}}(_0x7393,0x32be4));import{IconAIAdjustLength as _0x222f04,IconAIChangeTone as _0x45fbe5,IconAIChatCommands as _0x283328,IconAIContinueWriting as _0x20c05e,IconAIGrammarCheck as _0x22f05f,IconAIImproveWriting as _0x5ef8a6,IconAIOther as _0x61393,IconAIQuickActions as _0x4fd348,IconAITranslate as _0x3b59f7}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x101730}from'ckeditor5/src/core.js';import{getTranslation as _0x1f54cb}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x579963}from'./ui/aiquickactionsdropdowncreator.js';function _0x1289(_0x2d0b29,_0x1295c9){const _0x7393cc=_0x7393();return _0x1289=function(_0x12897b,_0x390f1a){_0x12897b=_0x12897b-0x1d1;let _0x13e3d5=_0x7393cc[_0x12897b];return _0x13e3d5;},_0x1289(_0x2d0b29,_0x1295c9);}import{aiQuickActionsButtonCreator as _0x4ece2d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x590177,BalloonToolbar as _0x38db92,MenuBarMenuView as _0x13e747,MenuBarMenuListView as _0x35803a,MenuBarMenuListItemView as _0x2765ae,MenuBarMenuListItemButtonView as _0x4d6795}from'ckeditor5/src/ui.js';function _0x7393(){const _0x17c293=['translate','map','push','close','translate-to-spanish','_initializeQuickActionsComponents','_initializeQuickActionsMenuBar','language','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','translate-to-chinese','AI_QUICK_ACTIONS_MORE_DIRECT','requires','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_IMPROVE_WRITING','menuBar:aiQuickActions','translate-to-portuguese','delegate','CHAT','buttonView','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','translate-to-german','children','panelView','find','korean','make-tone-casual','AI_QUICK_ACTIONS_ASK_AI','set','getDefaultQuickActions','make-tone-friendly','167048hfdmUz','_getDefaultAndCustomActions','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-confident','has','execute','label','portuguese','pluginName','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','displayedPrompt','translate-to-japanese','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','editor','actions','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','filter','other','items','japanese','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_TRANSLATE','_initializeQuickActionsDropdown','type','highlight-key-points','16jLgwDI','italian','REVIEW','uiLanguage','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','ask-ai','translate-to-russian','English','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_initializeQuickActionsComponentsAndCommands','AIChat','translate-to-korean','editing','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_MAKE_SHORTER','chat-commands','AI_QUICK_ACTIONS_EXPLAIN','menu','ai.quickActions.extraCommands','make-shorter','translate-to-english','values','AI_QUICK_ACTIONS_MORE_CASUAL','5QptrNr','AI_QUICK_ACTIONS_MORE_FRIENDLY','make-longer','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','spanish','plugins','1211898HbUSHM','_shouldIncludeAction','205341FsWOns','some','613196NKJDzQ','isOfficialPlugin','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','icon','russian','457083mDuOfR','ACTION','summarize','translate-to-french','_quickActionsDefinition','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','isPremiumPlugin','_prepareQuickActionsDefinition','componentFactory','german','replace','init','explain','add','aiQuickAction','113722qcxqWe','fix-grammar','AI_QUICK_ACTIONS_MORE_CONFIDENT','AIActions','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','aiQuickActions','view','menuitem','focus','AI_QUICK_ACTIONS_MAKE_LONGER','_executeQuickAction','chinese','AI_QUICK_ACTIONS_OTHER','AIReviewMode','length','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','improve-writing','168hyNNDl','adjust-length','get','includes','ai.quickActions.removeCommands','change-tone','continue','AI_QUICK_ACTIONS_HEADING','english','3193060MKBtmw','config','menuBarView','make-tone-direct','commands','AI_QUICK_ACTIONS_CHANGE_TONE','french','attachToDom','forEach','locale','AI_QUICK_ACTIONS_SUMMARIZE','AIQuickActionsUI','DisplayNames'];_0x7393=function(){return _0x17c293;};return _0x7393();}import'../../theme/aiquickactions/aiquickactions.css';const oe=_0x54759f(0x1fb),ae=_0x54759f(0x257),se=_0x54759f(0x1e0);export var AIQuickActionType;!function(_0x5b7b2b){const _0x1740b1=_0x54759f;_0x5b7b2b[_0x1740b1(0x247)]=_0x1740b1(0x247),_0x5b7b2b[_0x1740b1(0x1ff)]=_0x1740b1(0x1ff),_0x5b7b2b[_0x1740b1(0x1da)]=_0x1740b1(0x1da);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xabfb45){const _0x4df967=_0x54759f;_0xabfb45[_0x4df967(0x247)]=_0x4df967(0x1e2),_0xabfb45[_0x4df967(0x1ff)]=_0x4df967(0x211),_0xabfb45[_0x4df967(0x1da)]=_0x4df967(0x21c);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x101730{static get[_0x54759f(0x241)](){return[_0x38db92];}static get[_0x54759f(0x25d)](){const _0x13d81e=_0x54759f;return _0x13d81e(0x234);}static get[_0x54759f(0x1fa)](){return!0x0;}static get[_0x54759f(0x205)](){return!0x0;}[_0x54759f(0x20a)](){const _0x2a7698=_0x54759f;this[_0x2a7698(0x206)](this[_0x2a7698(0x256)]()),this[_0x2a7698(0x1e1)]();}static[_0x54759f(0x253)](_0x36afc4){return function(_0x1f88f1){const _0x121f7a=_0x1289,_0x57c4d4=new Intl[(_0x121f7a(0x235))](['en'],{'type':_0x121f7a(0x23d)})['of'](_0x1f88f1[_0x121f7a(0x1db)]),_0x4d0646=_0x57c4d4||_0x121f7a(0x1df),_0x597c1a=[{'id':_0x121f7a(0x1dd),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x251)),'type':AIQuickActionType[_0x121f7a(0x247)],'icon':_0x283328},{'id':_0x121f7a(0x1e7),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x212)),'icon':_0x283328,'actions':[{'id':_0x121f7a(0x20b),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e8)),'prompt':oe[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]},{'id':_0x121f7a(0x200),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x233)),'prompt':ae[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]},{'id':_0x121f7a(0x1d7),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x261)),'prompt':se[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]}]},{'id':_0x121f7a(0x21f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x243)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x5ef8a6},{'id':_0x121f7a(0x226),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x264)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x20c05e},{'id':_0x121f7a(0x20f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x265)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x22f05f},{'id':_0x121f7a(0x221),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d2)),'icon':_0x222f04,'actions':[{'id':_0x121f7a(0x1eb),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e6)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x1f1),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x218)),'type':AIQuickActionType[_0x121f7a(0x1ff)]}]},{'id':_0x121f7a(0x225),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x22e)),'icon':_0x45fbe5,'actions':[{'id':_0x121f7a(0x250),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1ee)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x22c),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x240)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x254),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1f0)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x258),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x210)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x203),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x25e)),'type':AIQuickActionType[_0x121f7a(0x1ff)]}]},{'id':_0x121f7a(0x236),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d4)),'icon':_0x3b59f7,'actions':[{'id':_0x121f7a(0x1ec),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x21e)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x228)}},{'id':_0x121f7a(0x23f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x24a)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x21a)}},{'id':_0x121f7a(0x23a),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x213)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1f3)}},{'id':_0x121f7a(0x24b),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d3)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x208)}},{'id':_0x121f7a(0x201),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1dc)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x22f)}},{'id':_0x121f7a(0x260),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x204)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1d1)}},{'id':_0x121f7a(0x245),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x242)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x25c)}},{'id':_0x121f7a(0x1e3),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1f2)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x24f)}},{'id':_0x121f7a(0x249),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x23e)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1d9)}},{'id':_0x121f7a(0x1de),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e5)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1fd)}}]},{'id':_0x121f7a(0x267),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x21b)),'icon':_0x61393,'actions':[]}];return _0x597c1a;}(_0x36afc4);}[_0x54759f(0x256)](){const _0x3189a2=_0x54759f,_0x50d872=AIQuickActionsUI[_0x3189a2(0x253)](this[_0x3189a2(0x262)][_0x3189a2(0x232)]),_0x106fde=(this[_0x3189a2(0x262)][_0x3189a2(0x22a)][_0x3189a2(0x222)](_0x3189a2(0x1ea))||[])[_0x3189a2(0x237)](_0x52f5d4=>({..._0x52f5d4,'icon':void 0x0}));return _0x50d872[_0x3189a2(0x24e)](_0x1b9b85=>_0x3189a2(0x267)===_0x1b9b85['id'])[_0x3189a2(0x263)][_0x3189a2(0x238)](..._0x106fde),_0x50d872;}[_0x54759f(0x1e1)](){const _0x198c40=_0x54759f,_0x483164=new _0x590177(this[_0x198c40(0x262)][_0x198c40(0x232)]);_0x483164[_0x198c40(0x230)](),this[_0x198c40(0x1d5)](_0x483164),this[_0x198c40(0x23c)](),this[_0x198c40(0x23b)](_0x483164);}[_0x54759f(0x1d5)](_0x3ba41f){const _0x4e7c0e=_0x54759f;this[_0x4e7c0e(0x262)]['ui'][_0x4e7c0e(0x207)][_0x4e7c0e(0x20c)](_0x4e7c0e(0x214),_0x579963(this[_0x4e7c0e(0x262)],this[_0x4e7c0e(0x202)],{'icon':_0x4fd348,'label':_0x1f54cb(this[_0x4e7c0e(0x262)][_0x4e7c0e(0x232)],_0x4e7c0e(0x227))},_0x3ba41f));}[_0x54759f(0x206)](_0x4d288d){const _0x153797=_0x54759f;this[_0x153797(0x202)]=_0x4d288d[_0x153797(0x237)](_0x5dedf=>{const _0x226ea0=_0x153797;if(_0x226ea0(0x263)in _0x5dedf){const _0x15b43b=_0x5dedf;return{..._0x15b43b,'actions':_0x15b43b[_0x226ea0(0x263)][_0x226ea0(0x237)](_0x249e29=>{const {actions:_0x2ec102,..._0x481955}=_0x15b43b;return{..._0x249e29,'parent':_0x481955};})[_0x226ea0(0x266)](_0x9fc19a=>this[_0x226ea0(0x1f6)](_0x9fc19a))};}return _0x5dedf;})[_0x153797(0x266)](_0x29d8fa=>_0x153797(0x263)in _0x29d8fa?_0x29d8fa[_0x153797(0x263)][_0x153797(0x21d)]>0x0:this[_0x153797(0x1f6)](_0x29d8fa));}[_0x54759f(0x1f6)](_0x50d85f){const _0xf2c1f2=_0x54759f,_0x15215b=this[_0xf2c1f2(0x262)][_0xf2c1f2(0x22a)][_0xf2c1f2(0x222)](_0xf2c1f2(0x224))||[];return this[_0xf2c1f2(0x262)][_0xf2c1f2(0x1f4)][_0xf2c1f2(0x259)](AIQuickActionTypeToPluginName[_0x50d85f[_0xf2c1f2(0x1d6)]])&&!_0x15215b[_0xf2c1f2(0x223)](_0x50d85f['id']);}[_0x54759f(0x23b)](_0x200241){const _0x3b406c=_0x54759f;this[_0x3b406c(0x202)][_0x3b406c(0x231)](_0x22a3d3=>{const _0x3b4dc1=_0x3b406c;if(_0x3b4dc1(0x263)in _0x22a3d3){const _0x3c227d=_0x579963(this[_0x3b4dc1(0x262)],_0x22a3d3[_0x3b4dc1(0x263)],_0x22a3d3,_0x200241);this[_0x3b4dc1(0x262)]['ui'][_0x3b4dc1(0x207)][_0x3b4dc1(0x20c)](_0x22a3d3['id'],_0x3c227d),_0x22a3d3[_0x3b4dc1(0x263)][_0x3b4dc1(0x231)](_0x8b2726=>{const _0x56fb1f=_0x3b4dc1,_0x2a7468=_0x4ece2d(this[_0x56fb1f(0x262)],_0x8b2726);this[_0x56fb1f(0x262)]['ui'][_0x56fb1f(0x207)][_0x56fb1f(0x20c)](_0x8b2726['id'],_0x2a7468);});}else{const _0x3dfb0c=_0x4ece2d(this[_0x3b4dc1(0x262)],_0x22a3d3,!0x1,!0x0,!0x1);this[_0x3b4dc1(0x262)]['ui'][_0x3b4dc1(0x207)][_0x3b4dc1(0x20c)](_0x22a3d3['id'],_0x3dfb0c);}});}[_0x54759f(0x23c)](){const _0x4c67a6=_0x54759f;this[_0x4c67a6(0x262)]['ui'][_0x4c67a6(0x207)][_0x4c67a6(0x20c)](_0x4c67a6(0x244),_0x178de0=>{const _0x3480b9=_0x4c67a6,_0x2074e6=new _0x13e747(_0x178de0),_0x3417e8=_0x1f54cb(_0x178de0,_0x3480b9(0x227));_0x2074e6[_0x3480b9(0x248)][_0x3480b9(0x252)]({'label':_0x3417e8,'icon':_0x4fd348});const _0x3e1d3c=new _0x35803a(_0x178de0);_0x3e1d3c[_0x3480b9(0x252)]({'ariaLabel':_0x3417e8,'role':_0x3480b9(0x1e9)}),this[_0x3480b9(0x202)][_0x3480b9(0x231)](_0x2791b3=>{const _0x25355e=_0x3480b9;if(_0x25355e(0x263)in _0x2791b3){const _0x348c17=_0x2791b3,_0x2f12c9=new _0x2765ae(_0x178de0,_0x2074e6),_0xc186a4=new _0x13e747(_0x178de0),_0x3d3cea=new _0x35803a(_0x178de0);_0xc186a4[_0x25355e(0x248)][_0x25355e(0x252)]({'label':_0x348c17[_0x25355e(0x25b)],'icon':_0x348c17[_0x25355e(0x1fc)]}),_0x348c17[_0x25355e(0x263)][_0x25355e(0x231)](_0x1df19c=>{const _0x511961=_0x25355e,_0x9e39a9=new _0x2765ae(_0x178de0,_0xc186a4),_0x2a4e95=new _0x4d6795(_0x178de0);_0x2a4e95[_0x511961(0x252)]({'label':_0x1df19c[_0x511961(0x25f)],'icon':_0x1df19c[_0x511961(0x1fc)],'role':_0x511961(0x216)}),_0x2a4e95['on'](_0x511961(0x25a),()=>{const _0x1eb0ac=_0x511961;this[_0x1eb0ac(0x219)](_0x1df19c);}),_0x2a4e95[_0x511961(0x246)](_0x511961(0x25a))['to'](_0xc186a4),_0x9e39a9[_0x511961(0x24c)][_0x511961(0x20c)](_0x2a4e95),_0x3d3cea[_0x511961(0x268)][_0x511961(0x20c)](_0x9e39a9);}),_0xc186a4[_0x25355e(0x24d)][_0x25355e(0x24c)][_0x25355e(0x20c)](_0x3d3cea),_0x2f12c9[_0x25355e(0x24c)][_0x25355e(0x20c)](_0xc186a4),_0x3e1d3c[_0x25355e(0x268)][_0x25355e(0x20c)](_0x2f12c9);}else{const _0x547ed8=_0x2791b3,_0x492c43=new _0x2765ae(_0x178de0,_0x2074e6),_0xaab24c=new _0x4d6795(_0x178de0);_0xaab24c[_0x25355e(0x252)]({'label':_0x547ed8[_0x25355e(0x25f)],'icon':_0x547ed8[_0x25355e(0x1fc)],'role':_0x25355e(0x216)}),_0xaab24c['on'](_0x25355e(0x25a),()=>{const _0x244e48=_0x25355e;this[_0x244e48(0x219)](_0x547ed8);}),_0xaab24c[_0x25355e(0x246)](_0x25355e(0x25a))['to'](_0x2074e6),_0x492c43[_0x25355e(0x24c)][_0x25355e(0x20c)](_0xaab24c),_0x3e1d3c[_0x25355e(0x268)][_0x25355e(0x20c)](_0x492c43);}});const _0xece94f=Object[_0x3480b9(0x1ed)](AIQuickActionTypeToPluginName)[_0x3480b9(0x1f8)](_0x717316=>this[_0x3480b9(0x262)][_0x3480b9(0x1f4)][_0x3480b9(0x259)](_0x717316));return _0x2074e6[_0x3480b9(0x252)]({'isEnabled':_0xece94f}),_0x2074e6[_0x3480b9(0x24d)][_0x3480b9(0x24c)][_0x3480b9(0x20c)](_0x3e1d3c),_0x2074e6;});}[_0x54759f(0x219)](_0x3ff460){const _0x44b95c=_0x54759f,_0x187f86=this[_0x44b95c(0x262)];_0x187f86[_0x44b95c(0x1e4)][_0x44b95c(0x215)][_0x44b95c(0x217)](),_0x187f86[_0x44b95c(0x22d)][_0x44b95c(0x25a)](_0x44b95c(0x20d),_0x3ff460);const _0xf930a1=_0x187f86['ui'][_0x44b95c(0x215)][_0x44b95c(0x22b)];_0xf930a1&&_0xf930a1[_0x44b95c(0x239)]&&_0xf930a1[_0x44b95c(0x239)]();}}
|
|
23
|
+
const _0x5d4ef7=_0x4959;(function(_0x272db5,_0x2cbd54){const _0x4c37ec=_0x4959,_0x55c17b=_0x272db5();while(!![]){try{const _0x42759a=parseInt(_0x4c37ec(0x116))/0x1+parseInt(_0x4c37ec(0xdb))/0x2+parseInt(_0x4c37ec(0xef))/0x3*(parseInt(_0x4c37ec(0xe7))/0x4)+-parseInt(_0x4c37ec(0x102))/0x5*(parseInt(_0x4c37ec(0x114))/0x6)+-parseInt(_0x4c37ec(0xb2))/0x7+parseInt(_0x4c37ec(0xe9))/0x8+parseInt(_0x4c37ec(0xf8))/0x9*(-parseInt(_0x4c37ec(0x110))/0xa);if(_0x42759a===_0x2cbd54)break;else _0x55c17b['push'](_0x55c17b['shift']());}catch(_0x127977){_0x55c17b['push'](_0x55c17b['shift']());}}}(_0x159e,0x560d9));import{IconAIAdjustLength as _0xd7e876,IconAIChangeTone as _0x37b9e6,IconAIChatCommands as _0x101a5c,IconAIContinueWriting as _0x348dfe,IconAIGrammarCheck as _0x31a9e3,IconAIImproveWriting as _0x3cad43,IconAIOther as _0x47394a,IconAIQuickActions as _0x42b0fe,IconAITranslate as _0x4e71cc}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1087df}from'ckeditor5/src/core.js';import{getTranslation as _0x57208d}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4fab29}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2c29a1}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3e27b3,BalloonToolbar as _0x1268bd,MenuBarMenuView as _0x347aa3,MenuBarMenuListView as _0x1a4d88,MenuBarMenuListItemView as _0x57b7a4,MenuBarMenuListItemButtonView as _0x15281b}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const oe=_0x5d4ef7(0x112),ae=_0x5d4ef7(0xcd),se=_0x5d4ef7(0xfc);export var AIQuickActionType;!function(_0x38b5e3){const _0x29a627=_0x5d4ef7;_0x38b5e3[_0x29a627(0xa6)]=_0x29a627(0xa6),_0x38b5e3[_0x29a627(0xb3)]=_0x29a627(0xb3),_0x38b5e3[_0x29a627(0xd0)]=_0x29a627(0xd0);}(AIQuickActionType||(AIQuickActionType={}));function _0x4959(_0x4ae289,_0xa2486c){const _0x159eb4=_0x159e();return _0x4959=function(_0x4959a7,_0xc8da27){_0x4959a7=_0x4959a7-0x80;let _0x3a4ffa=_0x159eb4[_0x4959a7];return _0x3a4ffa;},_0x4959(_0x4ae289,_0xa2486c);}export var AIQuickActionTypeToPluginName;!function(_0x4af3ac){const _0x369922=_0x5d4ef7;_0x4af3ac[_0x369922(0xa6)]=_0x369922(0xc0),_0x4af3ac[_0x369922(0xb3)]=_0x369922(0x8f),_0x4af3ac[_0x369922(0xd0)]=_0x369922(0x104);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x159e(){const _0x35ed07=['get','make-tone-direct','AIChat','make-tone-professional','icon','uiLanguage','aiQuickAction','AI_QUICK_ACTIONS_MORE_DIRECT','korean','translate-to-russian','componentFactory','chinese','isPremiumPlugin','execute','ai.quickActions.removeCommands','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','REVIEW','menuBarView','portuguese','explain','AI_QUICK_ACTIONS_OTHER','items','make-tone-confident','_getDefaultAndCustomActions','_prepareQuickActionsDefinition','init','french','1330078CroeTM','russian','some','attachToDom','AI_QUICK_ACTIONS_MAKE_LONGER','includes','translate-to-german','ask-ai','change-tone','AI_QUICK_ACTIONS_EXPLAIN','children','AI_QUICK_ACTIONS_MORE_CONFIDENT','2426820Bimgcj','English','1791312ldvRgX','menu','locale','german','forEach','translate-to-chinese','3KvBliv','close','DisplayNames','AI_QUICK_ACTIONS_MORE_FRIENDLY','_quickActionsDefinition','_executeQuickAction','focus','italian','push','9xYXwJm','AI_QUICK_ACTIONS_CONTINUE_WRITING','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_CHANGE_TONE','translate','buttonView','label','editor','728495WBbNux','japanese','AIReviewMode','make-tone-friendly','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','find','other','values','translate-to-japanese','fix-grammar','panelView','AI_QUICK_ACTIONS_ASK_AI','_initializeQuickActionsMenuBar','translate-to-spanish','9860630fAWgeC','translate-to-portuguese','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_IMPROVE_WRITING','12RSPayX','AI_QUICK_ACTIONS_SUMMARIZE','200205rNtrqR','translate-to-english','isOfficialPlugin','requires','has','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','_shouldIncludeAction','language','replace','english','delegate','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','summarize','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','editing','plugins','AIActions','getDefaultQuickActions','commands','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','actions','translate-to-korean','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','map','translate-to-french','type','pluginName','AI_QUICK_ACTIONS_MORE_CASUAL','displayedPrompt','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','chat-commands','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-italian','adjust-length','make-shorter','_initializeQuickActionsComponents','_initializeQuickActionsDropdown','CHAT','continue','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_initializeQuickActionsComponentsAndCommands','menuBar:aiQuickActions','spanish','length','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','improve-writing','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','view','set','461503bpEkOZ','ACTION','AI_QUICK_ACTIONS_HEADING','config','aiQuickActions','AIQuickActionsUI','highlight-key-points','filter','make-longer','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_ADJUST_LENGTH','add'];_0x159e=function(){return _0x35ed07;};return _0x159e();}export class AIQuickActionsUI extends _0x1087df{static get[_0x5d4ef7(0x81)](){return[_0x1268bd];}static get[_0x5d4ef7(0x9a)](){const _0x1f4cc2=_0x5d4ef7;return _0x1f4cc2(0xb7);}static get[_0x5d4ef7(0x80)](){return!0x0;}static get[_0x5d4ef7(0xca)](){return!0x0;}[_0x5d4ef7(0xd9)](){const _0x41f83b=_0x5d4ef7;this[_0x41f83b(0xd8)](this[_0x41f83b(0xd7)]()),this[_0x41f83b(0xa9)]();}static[_0x5d4ef7(0x90)](_0x4f7348){return function(_0x52065e){const _0x100b39=_0x4959,_0x172de6=new Intl[(_0x100b39(0xf1))](['en'],{'type':_0x100b39(0x86)})['of'](_0x52065e[_0x100b39(0xc3)]),_0xd4f397=_0x172de6||_0x100b39(0xe8),_0x6c93f2=[{'id':_0x100b39(0xe2),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x10d)),'type':AIQuickActionType[_0x100b39(0xa6)],'icon':_0x101a5c},{'id':_0x100b39(0x9e),'label':_0x57208d(_0x52065e,_0x100b39(0x95)),'icon':_0x101a5c,'actions':[{'id':_0x100b39(0xd3),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xe4)),'prompt':oe[_0x100b39(0x87)]('%0',_0xd4f397),'type':AIQuickActionType[_0x100b39(0xa6)]},{'id':_0x100b39(0x8b),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x115)),'prompt':ae[_0x100b39(0x87)]('%0',_0xd4f397),'type':AIQuickActionType[_0x100b39(0xa6)]},{'id':_0x100b39(0xb8),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x83)),'prompt':se[_0x100b39(0x87)]('%0',_0xd4f397),'type':AIQuickActionType[_0x100b39(0xa6)]}]},{'id':_0x100b39(0xae),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x113)),'type':AIQuickActionType[_0x100b39(0xb3)],'icon':_0x3cad43},{'id':_0x100b39(0xa7),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xf9)),'type':AIQuickActionType[_0x100b39(0xb3)],'icon':_0x348dfe},{'id':_0x100b39(0x10b),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x96)),'type':AIQuickActionType[_0x100b39(0xb3)],'icon':_0x31a9e3},{'id':_0x100b39(0xa2),'label':_0x57208d(_0x52065e,_0x100b39(0xbc)),'icon':_0xd7e876,'actions':[{'id':_0x100b39(0xa3),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xbb)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xba),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xdf)),'type':AIQuickActionType[_0x100b39(0xb3)]}]},{'id':_0x100b39(0xe3),'label':_0x57208d(_0x52065e,_0x100b39(0xfd)),'icon':_0x37b9e6,'actions':[{'id':_0x100b39(0x9f),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x9b)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xbf),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xc5)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0x105),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xf2)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xd6),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xe6)),'type':AIQuickActionType[_0x100b39(0xb3)]},{'id':_0x100b39(0xc1),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x92)),'type':AIQuickActionType[_0x100b39(0xb3)]}]},{'id':_0x100b39(0xfe),'label':_0x57208d(_0x52065e,_0x100b39(0xce)),'icon':_0x4e71cc,'actions':[{'id':_0x100b39(0x117),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xa8)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0x88)}},{'id':_0x100b39(0xee),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xad)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xc9)}},{'id':_0x100b39(0x10f),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x9d)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xab)}},{'id':_0x100b39(0xe1),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x8a)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xec)}},{'id':_0x100b39(0x98),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xfb)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xda)}},{'id':_0x100b39(0x10a),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xa0)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0x103)}},{'id':_0x100b39(0x111),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xaf)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xd2)}},{'id':_0x100b39(0x94),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x106)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xc6)}},{'id':_0x100b39(0xa1),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0x8c)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xf6)}},{'id':_0x100b39(0xc7),'displayedPrompt':_0x57208d(_0x52065e,_0x100b39(0xcf)),'type':AIQuickActionType[_0x100b39(0xb3)],'actionName':_0x100b39(0xfe),'args':{'language':_0x100b39(0xdc)}}]},{'id':_0x100b39(0x108),'label':_0x57208d(_0x52065e,_0x100b39(0xd4)),'icon':_0x47394a,'actions':[]}];return _0x6c93f2;}(_0x4f7348);}[_0x5d4ef7(0xd7)](){const _0xe1fead=_0x5d4ef7,_0x34e2fe=AIQuickActionsUI[_0xe1fead(0x90)](this[_0xe1fead(0x101)][_0xe1fead(0xeb)]),_0x4c1030=(this[_0xe1fead(0x101)][_0xe1fead(0xb5)][_0xe1fead(0xbe)](_0xe1fead(0xfa))||[])[_0xe1fead(0x97)](_0x3e8227=>({..._0x3e8227,'icon':void 0x0}));return _0x34e2fe[_0xe1fead(0x107)](_0x5b5a60=>_0xe1fead(0x108)===_0x5b5a60['id'])[_0xe1fead(0x93)][_0xe1fead(0xf7)](..._0x4c1030),_0x34e2fe;}[_0x5d4ef7(0xa9)](){const _0x58c0a9=_0x5d4ef7,_0x317bfd=new _0x3e27b3(this[_0x58c0a9(0x101)][_0x58c0a9(0xeb)]);_0x317bfd[_0x58c0a9(0xde)](),this[_0x58c0a9(0xa5)](_0x317bfd),this[_0x58c0a9(0x10e)](),this[_0x58c0a9(0xa4)](_0x317bfd);}[_0x5d4ef7(0xa5)](_0x1923e2){const _0x481815=_0x5d4ef7;this[_0x481815(0x101)]['ui'][_0x481815(0xc8)][_0x481815(0xbd)](_0x481815(0xb6),_0x4fab29(this[_0x481815(0x101)],this[_0x481815(0xf3)],{'icon':_0x42b0fe,'label':_0x57208d(this[_0x481815(0x101)][_0x481815(0xeb)],_0x481815(0xb4))},_0x1923e2));}[_0x5d4ef7(0xd8)](_0x18ad26){const _0x59596e=_0x5d4ef7;this[_0x59596e(0xf3)]=_0x18ad26[_0x59596e(0x97)](_0x500654=>{const _0x160fe5=_0x59596e;if(_0x160fe5(0x93)in _0x500654){const _0x6278f8=_0x500654;return{..._0x6278f8,'actions':_0x6278f8[_0x160fe5(0x93)][_0x160fe5(0x97)](_0x349627=>{const {actions:_0x276ff9,..._0x1eb3b8}=_0x6278f8;return{..._0x349627,'parent':_0x1eb3b8};})[_0x160fe5(0xb9)](_0x86ea6b=>this[_0x160fe5(0x85)](_0x86ea6b))};}return _0x500654;})[_0x59596e(0xb9)](_0x5f4a28=>_0x59596e(0x93)in _0x5f4a28?_0x5f4a28[_0x59596e(0x93)][_0x59596e(0xac)]>0x0:this[_0x59596e(0x85)](_0x5f4a28));}[_0x5d4ef7(0x85)](_0x275a50){const _0x575df5=_0x5d4ef7,_0x2b8967=this[_0x575df5(0x101)][_0x575df5(0xb5)][_0x575df5(0xbe)](_0x575df5(0xcc))||[];return this[_0x575df5(0x101)][_0x575df5(0x8e)][_0x575df5(0x82)](AIQuickActionTypeToPluginName[_0x275a50[_0x575df5(0x99)]])&&!_0x2b8967[_0x575df5(0xe0)](_0x275a50['id']);}[_0x5d4ef7(0xa4)](_0xd3e210){const _0xfca8ca=_0x5d4ef7;this[_0xfca8ca(0xf3)][_0xfca8ca(0xed)](_0x5040dd=>{const _0x5f26a2=_0xfca8ca;if(_0x5f26a2(0x93)in _0x5040dd){const _0x53aa40=_0x4fab29(this[_0x5f26a2(0x101)],_0x5040dd[_0x5f26a2(0x93)],_0x5040dd,_0xd3e210);this[_0x5f26a2(0x101)]['ui'][_0x5f26a2(0xc8)][_0x5f26a2(0xbd)](_0x5040dd['id'],_0x53aa40),_0x5040dd[_0x5f26a2(0x93)][_0x5f26a2(0xed)](_0x372d69=>{const _0x3ec633=_0x5f26a2,_0x23e94f=_0x2c29a1(this[_0x3ec633(0x101)],_0x372d69);this[_0x3ec633(0x101)]['ui'][_0x3ec633(0xc8)][_0x3ec633(0xbd)](_0x372d69['id'],_0x23e94f);});}else{const _0x500299=_0x2c29a1(this[_0x5f26a2(0x101)],_0x5040dd,!0x1,!0x0,!0x1);this[_0x5f26a2(0x101)]['ui'][_0x5f26a2(0xc8)][_0x5f26a2(0xbd)](_0x5040dd['id'],_0x500299);}});}[_0x5d4ef7(0x10e)](){const _0x399abf=_0x5d4ef7;this[_0x399abf(0x101)]['ui'][_0x399abf(0xc8)][_0x399abf(0xbd)](_0x399abf(0xaa),_0x414673=>{const _0x5cdedf=_0x399abf,_0x445b78=new _0x347aa3(_0x414673),_0x345dc0=_0x57208d(_0x414673,_0x5cdedf(0xb4));_0x445b78[_0x5cdedf(0xff)][_0x5cdedf(0xb1)]({'label':_0x345dc0,'icon':_0x42b0fe});const _0x1f508d=new _0x1a4d88(_0x414673);_0x1f508d[_0x5cdedf(0xb1)]({'ariaLabel':_0x345dc0,'role':_0x5cdedf(0xea)}),this[_0x5cdedf(0xf3)][_0x5cdedf(0xed)](_0xede584=>{const _0x1d598d=_0x5cdedf;if(_0x1d598d(0x93)in _0xede584){const _0x3bcc1a=_0xede584,_0xebffa0=new _0x57b7a4(_0x414673,_0x445b78),_0x42f7fa=new _0x347aa3(_0x414673),_0x178eec=new _0x1a4d88(_0x414673);_0x42f7fa[_0x1d598d(0xff)][_0x1d598d(0xb1)]({'label':_0x3bcc1a[_0x1d598d(0x100)],'icon':_0x3bcc1a[_0x1d598d(0xc2)]}),_0x3bcc1a[_0x1d598d(0x93)][_0x1d598d(0xed)](_0x3f1ce5=>{const _0x406238=_0x1d598d,_0x2214fc=new _0x57b7a4(_0x414673,_0x42f7fa),_0x5849eb=new _0x15281b(_0x414673);_0x5849eb[_0x406238(0xb1)]({'label':_0x3f1ce5[_0x406238(0x9c)],'icon':_0x3f1ce5[_0x406238(0xc2)],'role':_0x406238(0x84)}),_0x5849eb['on'](_0x406238(0xcb),()=>{const _0x5bf3d8=_0x406238;this[_0x5bf3d8(0xf4)](_0x3f1ce5);}),_0x5849eb[_0x406238(0x89)](_0x406238(0xcb))['to'](_0x42f7fa),_0x2214fc[_0x406238(0xe5)][_0x406238(0xbd)](_0x5849eb),_0x178eec[_0x406238(0xd5)][_0x406238(0xbd)](_0x2214fc);}),_0x42f7fa[_0x1d598d(0x10c)][_0x1d598d(0xe5)][_0x1d598d(0xbd)](_0x178eec),_0xebffa0[_0x1d598d(0xe5)][_0x1d598d(0xbd)](_0x42f7fa),_0x1f508d[_0x1d598d(0xd5)][_0x1d598d(0xbd)](_0xebffa0);}else{const _0x46c1bd=_0xede584,_0x329aa1=new _0x57b7a4(_0x414673,_0x445b78),_0x149228=new _0x15281b(_0x414673);_0x149228[_0x1d598d(0xb1)]({'label':_0x46c1bd[_0x1d598d(0x9c)],'icon':_0x46c1bd[_0x1d598d(0xc2)],'role':_0x1d598d(0x84)}),_0x149228['on'](_0x1d598d(0xcb),()=>{const _0x9be638=_0x1d598d;this[_0x9be638(0xf4)](_0x46c1bd);}),_0x149228[_0x1d598d(0x89)](_0x1d598d(0xcb))['to'](_0x445b78),_0x329aa1[_0x1d598d(0xe5)][_0x1d598d(0xbd)](_0x149228),_0x1f508d[_0x1d598d(0xd5)][_0x1d598d(0xbd)](_0x329aa1);}});const _0x27463c=Object[_0x5cdedf(0x109)](AIQuickActionTypeToPluginName)[_0x5cdedf(0xdd)](_0x2e9eb2=>this[_0x5cdedf(0x101)][_0x5cdedf(0x8e)][_0x5cdedf(0x82)](_0x2e9eb2));return _0x445b78[_0x5cdedf(0xb1)]({'isEnabled':_0x27463c}),_0x445b78[_0x5cdedf(0x10c)][_0x5cdedf(0xe5)][_0x5cdedf(0xbd)](_0x1f508d),_0x445b78;});}[_0x5d4ef7(0xf4)](_0x1ff971){const _0x309b12=_0x5d4ef7,_0x559035=this[_0x309b12(0x101)];_0x559035[_0x309b12(0x8d)][_0x309b12(0xb0)][_0x309b12(0xf5)](),_0x559035[_0x309b12(0x91)][_0x309b12(0xcb)](_0x309b12(0xc4),_0x1ff971);const _0x4fd0f3=_0x559035['ui'][_0x309b12(0xb0)][_0x309b12(0xd1)];_0x4fd0f3&&_0x4fd0f3[_0x309b12(0xf0)]&&_0x4fd0f3[_0x309b12(0xf0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xdcee(){const _0x3c7b08=['execute','view','56085vLWZGX','editing','aiQuickAction','585381JyGOax','set','displayedPrompt','menuitem','commands','extendTemplate','ck-ai-quick-actions-button','icon','1448wOOyvC','422735vlbiku','bindTemplate','660162TdqjDv','focus','parent','766154KVTiIT','2213420pQWuuT','locale','18yLQGyJ','4bdIueI','4340jgDkjv'];_0xdcee=function(){return _0x3c7b08;};return _0xdcee();}(function(_0x1bea0b,_0x5d7693){const _0x36215b=_0x5b4f,_0x40afc5=_0x1bea0b();while(!![]){try{const _0x59dae1=parseInt(_0x36215b(0xef))/0x1+-parseInt(_0x36215b(0x100))/0x2+-parseInt(_0x36215b(0xf2))/0x3*(-parseInt(_0x36215b(0xeb))/0x4)+-parseInt(_0x36215b(0xfb))/0x5+-parseInt(_0x36215b(0xfd))/0x6+parseInt(_0x36215b(0xec))/0x7*(parseInt(_0x36215b(0xfa))/0x8)+parseInt(_0x36215b(0x103))/0x9*(parseInt(_0x36215b(0x101))/0xa);if(_0x59dae1===_0x5d7693)break;else _0x40afc5['push'](_0x40afc5['shift']());}catch(_0x5c1376){_0x40afc5['push'](_0x40afc5['shift']());}}}(_0xdcee,0x37c71));import{ButtonView as _0x81fd66}from'ckeditor5/src/ui.js';function _0x5b4f(_0x3d297d,_0x1f9f38){const _0xdcee39=_0xdcee();return _0x5b4f=function(_0x5b4f3b,_0x55a740){_0x5b4f3b=_0x5b4f3b-0xeb;let _0x5b4801=_0xdcee39[_0x5b4f3b];return _0x5b4801;},_0x5b4f(_0x3d297d,_0x1f9f38);}import{IconAIQuickActions as _0x1d0dcf}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x2c3e26,_0x2774ce,_0x286ecf=!0x1,_0x9a477b=!0x0,_0x57202a=!0x0){return()=>{const _0x2beea8=_0x5b4f,_0x1b8f3c=_0x2c3e26[_0x2beea8(0x102)],_0x215348=new _0x81fd66(_0x1b8f3c),_0x2d82a0=_0x215348[_0x2beea8(0xfc)];_0x57202a&&_0x215348[_0x2beea8(0xf7)]({'on':{'mouseenter':_0x2d82a0['to'](()=>{const _0x34b7dd=_0x2beea8;_0x215348[_0x34b7dd(0xfe)]();})}});const _0x245619=_0x2774ce[_0x2beea8(0xf9)]??_0x2774ce[_0x2beea8(0xff)]?.[_0x2beea8(0xf9)];return _0x215348[_0x2beea8(0xf3)]({'label':_0x2774ce[_0x2beea8(0xf4)],'withText':_0x286ecf,'role':_0x2beea8(0xf5),'icon':_0x9a477b?_0x245619??_0x1d0dcf:void 0x0,'tooltip':!_0x286ecf,'class':_0x2beea8(0xf8)}),_0x215348['on'](_0x2beea8(0xed),()=>{const _0x27e2ed=_0x2beea8;_0x2c3e26[_0x27e2ed(0xf0)][_0x27e2ed(0xee)][_0x27e2ed(0xfe)](),_0x2c3e26[_0x27e2ed(0xf6)][_0x27e2ed(0xed)](_0x27e2ed(0xf1),_0x2774ce);}),_0x215348;};}
|