@ckeditor/ckeditor5-ai 47.4.0-alpha.5 → 47.4.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/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/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/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/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/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/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/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/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/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.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/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.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/aireviewmodegeneralerrorview.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/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2756(){const _0x2d2624=['fill','_createSkeletonItems','19245fXdQMd','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','10888fJDZMP','88px','tag','width:\x20','4ryNgvL','150px','1436mdfgOJ','center','height','left','attributes','1309rwzojx',';\x20height:\x20','24px','40px','ck-ai-skeleton__item','width','166250LRGksl','564FJtBnE','100%','2090242BHqdNb','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','right','387BiQxuF','44px','140px','class','128px','2502UybXzF','div','align','ck-ai-skeleton','104315ikkkBC','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','map','72px','132AsvEEt','11908oIQsDX','setTemplate','250px'];_0x2756=function(){return _0x2d2624;};return _0x2756();}const _0x50c7ad=_0x1e21;(function(_0x281e30,_0x52b3e3){const _0x40ac12=_0x1e21,_0x336027=_0x281e30();while(!![]){try{const _0x3247ad=parseInt(_0x40ac12(0x162))/0x1*(parseInt(_0x40ac12(0x172))/0x2)+parseInt(_0x40ac12(0x15e))/0x3*(parseInt(_0x40ac12(0x174))/0x4)+-parseInt(_0x40ac12(0x16c))/0x5*(parseInt(_0x40ac12(0x180))/0x6)+parseInt(_0x40ac12(0x179))/0x7*(-parseInt(_0x40ac12(0x16e))/0x8)+parseInt(_0x40ac12(0x185))/0x9*(parseInt(_0x40ac12(0x17f))/0xa)+-parseInt(_0x40ac12(0x182))/0xb+parseInt(_0x40ac12(0x166))/0xc*(-parseInt(_0x40ac12(0x167))/0xd);if(_0x3247ad===_0x52b3e3)break;else _0x336027['push'](_0x336027['shift']());}catch(_0x440432){_0x336027['push'](_0x336027['shift']());}}}(_0x2756,0x633e4));import{View as _0x482a39}from'ckeditor5/src/ui.js';function _0x1e21(_0x38c17f,_0xc5aff9){const _0x275643=_0x2756();return _0x1e21=function(_0x1e21a6,_0x36b80e){_0x1e21a6=_0x1e21a6-0x15a;let _0x239eb0=_0x275643[_0x1e21a6];return _0x239eb0;},_0x1e21(_0x38c17f,_0xc5aff9);}export class AISkeletonView extends _0x482a39{constructor(_0x26a1b7,_0x2f002a){const _0x3c75e9=_0x1e21;super(_0x26a1b7),this[_0x3c75e9(0x168)]({'tag':_0x3c75e9(0x15f),'attributes':{'class':['ck',_0x3c75e9(0x161)]},'children':this[_0x3c75e9(0x16b)](_0x2f002a)});}[_0x50c7ad(0x16b)](_0x1ac012){const _0x23485b=_0x50c7ad,_0x3ec3dc=['ck',_0x23485b(0x17d)];return _0x1ac012[_0x23485b(0x164)](_0x437ecf=>{const _0xeb29d8=_0x23485b;let _0x147472='';switch(_0x437ecf[_0xeb29d8(0x178)][_0xeb29d8(0x160)]){case _0xeb29d8(0x184):_0x147472=_0xeb29d8(0x183);break;case _0xeb29d8(0x175):_0x147472=_0xeb29d8(0x16d);break;case _0xeb29d8(0x177):_0x147472=_0xeb29d8(0x163);}return{'tag':_0x437ecf[_0xeb29d8(0x170)],'attributes':{'class':[..._0x3ec3dc,_0x437ecf[_0xeb29d8(0x178)][_0xeb29d8(0x15c)]?_0x437ecf[_0xeb29d8(0x178)][_0xeb29d8(0x15c)]:''],'style':_0xeb29d8(0x171)+_0x437ecf[_0xeb29d8(0x178)][_0xeb29d8(0x17e)]+_0xeb29d8(0x17a)+_0x437ecf[_0xeb29d8(0x178)][_0xeb29d8(0x176)]+';'+_0x147472}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x181),'height':_0x50c7ad(0x165),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x169),'height':_0x50c7ad(0x17c),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x181),'height':_0x50c7ad(0x16f),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x173),'height':_0x50c7ad(0x17c),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x181),'height':_0x50c7ad(0x15b),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x169),'height':_0x50c7ad(0x17c),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x181),'height':_0x50c7ad(0x16f),'align':_0x50c7ad(0x184)}}],'aiHistory':$i(0x5,_0x50c7ad(0x181),_0x50c7ad(0x15a),_0x50c7ad(0x184)),'aiChatResources':$i(0x8,_0x50c7ad(0x181),_0x50c7ad(0x17b),_0x50c7ad(0x184)),'aiReviewChecks':[{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x15d),'height':_0x50c7ad(0x17b),'align':_0x50c7ad(0x177)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x181),'height':_0x50c7ad(0x17b),'align':_0x50c7ad(0x177)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x15d),'height':_0x50c7ad(0x17b),'align':_0x50c7ad(0x177)}}]};function $i(_0x150b8b,_0x4ad791,_0x519d4c,_0x1a8148){const _0x35d32a=_0x50c7ad;return new Array(_0x150b8b)[_0x35d32a(0x16a)](null)[_0x35d32a(0x164)](()=>({'tag':_0x35d32a(0x15f),'attributes':{'width':_0x4ad791,'height':_0x519d4c,'align':_0x1a8148}}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x427c(){const _0x1e4208=['full','AI_MINI_TOOLBAR_DISLIKE','244BHSbue','like','showChanges','showCopy','toggleShowChanges','157212XreoVV','class','copyButton','add','9987376IVXjUr','_setupCopyButton','2342967PSVOBr','likeButton','ck-ai-mini-toolbar-copy-button','addMany','AI_MINI_TOOLBAR_LIKE','ck-ai-mini-toolbar','showChangesButton','set','showLike','items','_setupRatingButtons','isEnabled','21244344nqEdFm','1JazFtK','142795XezRcr','_setupShowChangesButton','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','2074946ApMYHb','349542zKCmLH','bind','locale','execute','154rdJlrv','length','200NQimvg','isLoading','AI_MINI_TOOLBAR_COPY','isOn','extendTemplate','showDislike','ck-ai-mini-toolbar\x20ck-hidden','AI_SUGGESTION_BUTTON_SHOW_CHANGES','dislikeButton','ck-ai-mini-toolbar-copy-button__check-mark','customView','_config','dislike','children','fire'];_0x427c=function(){return _0x1e4208;};return _0x427c();}const _0x2e9402=_0x4bb2;(function(_0x305630,_0x2dd1f0){const _0x44d13e=_0x4bb2,_0x640fc0=_0x305630();while(!![]){try{const _0x23dcfa=-parseInt(_0x44d13e(0x1b1))/0x1*(parseInt(_0x44d13e(0x1b5))/0x2)+parseInt(_0x44d13e(0x1a4))/0x3+parseInt(_0x44d13e(0x199))/0x4*(-parseInt(_0x44d13e(0x1b2))/0x5)+-parseInt(_0x44d13e(0x19e))/0x6*(-parseInt(_0x44d13e(0x1ba))/0x7)+parseInt(_0x44d13e(0x1a2))/0x8+parseInt(_0x44d13e(0x1b6))/0x9*(-parseInt(_0x44d13e(0x1bc))/0xa)+parseInt(_0x44d13e(0x1b0))/0xb;if(_0x23dcfa===_0x2dd1f0)break;else _0x640fc0['push'](_0x640fc0['shift']());}catch(_0x2dbd3f){_0x640fc0['push'](_0x640fc0['shift']());}}}(_0x427c,0xef75b));import{ButtonView as _0x3faae2,IconView as _0x1594af,ToolbarView as _0x50a994}from'ckeditor5/src/ui.js';function _0x4bb2(_0x39fb75,_0x116ec9){const _0x427cd7=_0x427c();return _0x4bb2=function(_0x4bb2b0,_0x43b4b1){_0x4bb2b0=_0x4bb2b0-0x194;let _0x1da046=_0x427cd7[_0x4bb2b0];return _0x1da046;},_0x4bb2(_0x39fb75,_0x116ec9);}import{IconCheck as _0x4d9742,IconCopy as _0x31955d,IconShowChangesOff as _0x4006da,IconShowChangesOn as _0x4f07e1,IconThumbDown as _0x1ffa38,IconThumbUp as _0xe1a43e}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x200ffc}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x50a994{[_0x2e9402(0x1a0)];[_0x2e9402(0x1a5)];[_0x2e9402(0x1c4)];[_0x2e9402(0x1aa)];[_0x2e9402(0x1c7)];constructor(_0x2fa4e4,_0x33a6c3={},_0x37fc1b){const _0x4c027c=_0x2e9402;super(_0x2fa4e4),this[_0x4c027c(0x1ab)](_0x4c027c(0x1bd),!0x1),this[_0x4c027c(0x1c7)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x33a6c3};const _0x3d1d76=!(this[_0x4c027c(0x1c7)][_0x4c027c(0x19c)]||this[_0x4c027c(0x1c7)][_0x4c027c(0x19b)]||this[_0x4c027c(0x1c7)][_0x4c027c(0x1ac)]||this[_0x4c027c(0x1c7)][_0x4c027c(0x1c1)]||this[_0x4c027c(0x1c7)][_0x4c027c(0x1c6)]?.[_0x4c027c(0x1bb)]);this[_0x4c027c(0x19f)]=_0x3d1d76?_0x4c027c(0x1c2):_0x4c027c(0x1a9),this[_0x4c027c(0x1c7)][_0x4c027c(0x19c)]&&(this[_0x4c027c(0x1a3)](),this[_0x4c027c(0x1ad)][_0x4c027c(0x1a1)](this[_0x4c027c(0x1a0)])),this[_0x4c027c(0x1c7)][_0x4c027c(0x19b)]&&(this[_0x4c027c(0x1b3)](_0x37fc1b),this[_0x4c027c(0x1ad)][_0x4c027c(0x1a1)](this[_0x4c027c(0x1aa)])),this[_0x4c027c(0x1ae)](),this[_0x4c027c(0x1c7)][_0x4c027c(0x1ac)]&&this[_0x4c027c(0x1ad)][_0x4c027c(0x1a1)](this[_0x4c027c(0x1a5)]),this[_0x4c027c(0x1c7)][_0x4c027c(0x1c1)]&&this[_0x4c027c(0x1ad)][_0x4c027c(0x1a1)](this[_0x4c027c(0x1c4)]),this[_0x4c027c(0x1c7)][_0x4c027c(0x1c6)]&&this[_0x4c027c(0x1ad)][_0x4c027c(0x1a7)](this[_0x4c027c(0x1c7)][_0x4c027c(0x1c6)]);}[_0x2e9402(0x1ae)](){const _0x513005=_0x2e9402;this[_0x513005(0x1a5)]=new _0x3faae2(this[_0x513005(0x1b8)]),this[_0x513005(0x1a5)][_0x513005(0x1ab)]({'icon':_0xe1a43e,'label':_0x200ffc(this[_0x513005(0x1b8)],_0x513005(0x1a8)),'tooltip':!0x0}),this[_0x513005(0x1a5)][_0x513005(0x1b7)](_0x513005(0x1af))['to'](this,_0x513005(0x1bd),_0xe2e07a=>!_0xe2e07a),this[_0x513005(0x1a5)]['on'](_0x513005(0x1b9),()=>{const _0x57715c=_0x513005;this[_0x57715c(0x196)](_0x57715c(0x19a));}),this[_0x513005(0x1c4)]=new _0x3faae2(this[_0x513005(0x1b8)]),this[_0x513005(0x1c4)][_0x513005(0x1ab)]({'icon':_0x1ffa38,'label':_0x200ffc(this[_0x513005(0x1b8)],_0x513005(0x198)),'tooltip':!0x0}),this[_0x513005(0x1c4)][_0x513005(0x1b7)](_0x513005(0x1af))['to'](this,_0x513005(0x1bd),_0x4b25e9=>!_0x4b25e9),this[_0x513005(0x1c4)]['on'](_0x513005(0x1b9),()=>{const _0x40f673=_0x513005;this[_0x40f673(0x196)](_0x40f673(0x194));});}[_0x2e9402(0x1a3)](){const _0x235f06=_0x2e9402;this[_0x235f06(0x1a0)]=new _0x3faae2(this[_0x235f06(0x1b8)]),this[_0x235f06(0x1a0)][_0x235f06(0x1ab)]({'icon':_0x31955d,'label':_0x200ffc(this[_0x235f06(0x1b8)],_0x235f06(0x1be)),'class':_0x235f06(0x1a6),'tooltip':!0x0}),this[_0x235f06(0x1a0)][_0x235f06(0x1b7)](_0x235f06(0x1af))['to'](this,_0x235f06(0x1bd),_0x2b650c=>!_0x2b650c);const _0x4dcf01=new _0x1594af();_0x4dcf01[_0x235f06(0x1ab)]({'content':_0x4d9742}),_0x4dcf01[_0x235f06(0x1c0)]({'attributes':{'class':[_0x235f06(0x1c5)]}}),this[_0x235f06(0x1a0)]['on'](_0x235f06(0x1b9),()=>{const _0x321e94=_0x235f06;this[_0x321e94(0x1a0)][_0x321e94(0x19f)]=_0x321e94(0x1b4),setTimeout(()=>{const _0x38fc12=_0x321e94;this[_0x38fc12(0x1a0)][_0x38fc12(0x19f)]=_0x38fc12(0x1a6);},0x7d0);}),this[_0x235f06(0x1a0)][_0x235f06(0x195)][_0x235f06(0x1a1)](_0x4dcf01);}[_0x2e9402(0x1b3)](_0x218d49){const _0x2cc09e=_0x2e9402;this[_0x2cc09e(0x1aa)]=new _0x3faae2(this[_0x2cc09e(0x1b8)]),this[_0x2cc09e(0x1aa)][_0x2cc09e(0x1ab)]({'icon':_0x4006da,'label':_0x200ffc(this[_0x2cc09e(0x1b8)],_0x2cc09e(0x1c3)),'withText':_0x2cc09e(0x197)==this[_0x2cc09e(0x1c7)][_0x2cc09e(0x19b)],'tooltip':_0x2cc09e(0x197)!=this[_0x2cc09e(0x1c7)][_0x2cc09e(0x19b)],'isOn':_0x218d49}),this[_0x2cc09e(0x1aa)][_0x2cc09e(0x1b7)](_0x2cc09e(0x1af))['to'](this,_0x2cc09e(0x1bd),_0x34113d=>!_0x34113d),this[_0x2cc09e(0x1aa)]['on'](_0x2cc09e(0x1b9),()=>{const _0xcdbbb2=_0x2cc09e,_0x2d9bac=!this[_0xcdbbb2(0x1aa)][_0xcdbbb2(0x1bf)];this[_0xcdbbb2(0x1aa)][_0xcdbbb2(0x1ab)]({'isOn':_0x2d9bac,'icon':_0x2d9bac?_0x4f07e1:_0x4006da}),this[_0xcdbbb2(0x196)](_0xcdbbb2(0x19d),_0x2d9bac);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24b22a=_0x2b76;(function(_0x496035,_0x17dc75){const _0x427576=_0x2b76,_0xc418a2=_0x496035();while(!![]){try{const _0x253a6f=-parseInt(_0x427576(0x158))/0x1+parseInt(_0x427576(0x159))/0x2*(parseInt(_0x427576(0x145))/0x3)+-parseInt(_0x427576(0x14f))/0x4+parseInt(_0x427576(0x13b))/0x5+-parseInt(_0x427576(0x13f))/0x6+-parseInt(_0x427576(0x153))/0x7+parseInt(_0x427576(0x140))/0x8*(parseInt(_0x427576(0x14c))/0x9);if(_0x253a6f===_0x17dc75)break;else _0xc418a2['push'](_0xc418a2['shift']());}catch(_0x393f66){_0xc418a2['push'](_0xc418a2['shift']());}}}(_0x1665,0x8ad1e));import{View as _0xb0e286}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x2ba2b6}from'./aisuggestioncontentpartview.js';function _0x1665(){const _0x508b70=['_showUnchangedParts','115301JKGaUY','6RNMNBg','getPartView','queueEmptyPromise','findIndex','addEventListener','hasChanges','ck-ai-suggestion__body__content-parts','_availableActions','set','setTemplate','find','abort','enqueue','warning','createCollection','some','toggleHeader','from','markAsDone','delegate','_emptyPartsWarningView','locale','setContent','ck-ai-suggestion__body','AI_SUGGESTION_NO_PARTS_WARNING','partDefinition','add','first','2411890eYnWab','isVisible','updatePartState','index','6418188ZbroBB','139864lzvEJo','forEach','partsCount','_cachedContentParts','empty-parts-warning','419388olKAPw','hasPendingParts','pending','AI_SUGGESTION_EMPTY_PART_WARNING','length','_areActionsDisabled','updateContentParts','1062FWhizk','_children','updateContent','1958672PulxQh','state','push','hasNonEmptyParts','5050409NQJKcG','div','filter','_updateContentPartsPromiseQueue'];_0x1665=function(){return _0x508b70;};return _0x1665();}function _0x2b76(_0x5b6a97,_0x361fc6){const _0x16657a=_0x1665();return _0x2b76=function(_0x2b7660,_0x24b6c4){_0x2b7660=_0x2b7660-0x12b;let _0x21506a=_0x16657a[_0x2b7660];return _0x21506a;},_0x2b76(_0x5b6a97,_0x361fc6);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x33fe51}from'../../utils/eventnames.js';import{PromiseQueue as _0x286ca6}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x20e02f}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x29f1a1}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0xb0e286{[_0x24b22a(0x14d)];[_0x24b22a(0x14a)];[_0x24b22a(0x157)];[_0x24b22a(0x156)];[_0x24b22a(0x133)];[_0x24b22a(0x160)];[_0x24b22a(0x143)]=[];constructor(_0x2ebc59,_0x143ce3){const _0x26e7ad=_0x24b22a;super(_0x2ebc59);const {areActionsDisabled:_0x23fd6f,showUnchangedParts:_0x109777,availableActions:_0x18f7a7}=_0x143ce3;this[_0x26e7ad(0x14a)]=_0x23fd6f,this[_0x26e7ad(0x157)]=_0x109777,this[_0x26e7ad(0x160)]=_0x18f7a7,this[_0x26e7ad(0x161)](_0x26e7ad(0x146),!0x1),this[_0x26e7ad(0x14d)]=this[_0x26e7ad(0x12d)](),this[_0x26e7ad(0x156)]=new _0x286ca6(),this[_0x26e7ad(0x133)]=new _0x20e02f({'id':_0x26e7ad(0x144),'initialContent':_0x29f1a1(_0x2ebc59,_0x26e7ad(0x148)),'level':_0x26e7ad(0x12c)}),this[_0x26e7ad(0x133)][_0x26e7ad(0x13c)]=!0x1,this[_0x26e7ad(0x162)]({'tag':_0x26e7ad(0x154),'attributes':{'class':['ck',_0x26e7ad(0x136)]},'children':[{'tag':_0x26e7ad(0x154),'attributes':{'class':['ck',_0x26e7ad(0x15f)]},'children':this[_0x26e7ad(0x14d)]},this[_0x26e7ad(0x133)]]});}get[_0x24b22a(0x142)](){const _0x36d459=_0x24b22a;return this[_0x36d459(0x14d)][_0x36d459(0x149)];}async[_0x24b22a(0x14b)]({parts:_0x35c405,renderingStrategy:_0x5c33b8,abortSignal:_0x5e9559}){const _0xb51542=_0x24b22a;this[_0xb51542(0x14d)][_0xb51542(0x149)]?_0x35c405[_0xb51542(0x141)](_0x2f6ceb=>{const _0x3d48da=_0xb51542,_0xd5b4da=this[_0x3d48da(0x143)][_0x3d48da(0x15c)](_0x5adca7=>_0x5adca7[_0x3d48da(0x13e)]==_0x2f6ceb[_0x3d48da(0x13e)]);-0x1===_0xd5b4da?this[_0x3d48da(0x143)][_0x3d48da(0x151)](_0x2f6ceb):this[_0x3d48da(0x143)][_0xd5b4da]=_0x2f6ceb;}):this[_0xb51542(0x143)]=_0x35c405;for(const _0x366223 of _0x35c405[_0xb51542(0x155)](_0x753cb5=>_0x753cb5[_0xb51542(0x15e)]))this[_0xb51542(0x156)][_0xb51542(0x12b)](async _0x4e774e=>{const _0x187a79=_0xb51542;let _0x592c75=this[_0x187a79(0x15a)](_0x366223[_0x187a79(0x13e)]);_0x592c75||(_0x592c75=new _0x2ba2b6(this[_0x187a79(0x134)],{'part':_0x366223,'uiIndex':this[_0x187a79(0x14d)][_0x187a79(0x149)]+0x1,'areActionsDisabled':this[_0x187a79(0x14a)],'availableActions':this[_0x187a79(0x160)]}),_0x592c75[_0x187a79(0x132)](..._0x33fe51)['to'](this),this[_0x187a79(0x14d)][_0x187a79(0x139)](_0x592c75),this[_0x187a79(0x146)]=!0x0),0x2===this[_0x187a79(0x14d)][_0x187a79(0x149)]&&this[_0x187a79(0x14d)][_0x187a79(0x13a)][_0x187a79(0x12f)](!0x0),_0x592c75[_0x187a79(0x12f)](this[_0x187a79(0x14d)][_0x187a79(0x149)]>0x1),await _0x592c75[_0x187a79(0x14e)]({'part':_0x366223,'renderingStrategy':_0x5c33b8,'showUnchangedParts':this[_0x187a79(0x157)],'abortSignal':_0x4e774e});});return _0x5e9559?.[_0xb51542(0x15d)](_0xb51542(0x164),()=>{const _0x3997d7=_0xb51542;this[_0x3997d7(0x156)][_0x3997d7(0x164)]();}),this[_0xb51542(0x156)][_0xb51542(0x15b)];}[_0x24b22a(0x13d)](_0x2ff68f,_0x4e6aa8){const _0x5d2b80=_0x24b22a,_0x478743=this[_0x5d2b80(0x15a)](_0x2ff68f);_0x478743&&(_0x478743[_0x5d2b80(0x150)]=_0x4e6aa8),this[_0x5d2b80(0x146)]=_0x5d2b80(0x147)==_0x4e6aa8||Array[_0x5d2b80(0x130)](this[_0x5d2b80(0x14d)])[_0x5d2b80(0x12e)](_0x4d3fc4=>_0x5d2b80(0x147)==_0x4d3fc4[_0x5d2b80(0x150)]);}[_0x24b22a(0x15a)](_0x2fcc77){const _0x37a122=_0x24b22a;return this[_0x37a122(0x14d)][_0x37a122(0x163)](_0x3129bf=>_0x3129bf[_0x37a122(0x138)][_0x37a122(0x13e)]==_0x2fcc77)??null;}[_0x24b22a(0x131)](){const _0x24cac8=_0x24b22a;if(!this[_0x24cac8(0x157)]){const _0x386a8d=!this[_0x24cac8(0x143)][_0x24cac8(0x163)](({hasChanges:_0x249e5d})=>_0x249e5d),_0x150abd=!!this[_0x24cac8(0x143)][_0x24cac8(0x163)](({hasChanges:_0x49d9f9})=>!_0x49d9f9);this[_0x24cac8(0x133)][_0x24cac8(0x13c)]=0x0==this[_0x24cac8(0x14d)][_0x24cac8(0x149)]||_0x150abd,_0x386a8d?this[_0x24cac8(0x133)][_0x24cac8(0x135)](_0x29f1a1(this[_0x24cac8(0x134)],_0x24cac8(0x137))):this[_0x24cac8(0x133)][_0x24cac8(0x135)](_0x29f1a1(this[_0x24cac8(0x134)],_0x24cac8(0x148)));}}get[_0x24b22a(0x152)](){const _0x56a6b7=_0x24b22a;return!!this[_0x56a6b7(0x14d)][_0x56a6b7(0x163)](_0x1ff972=>_0x1ff972[_0x56a6b7(0x138)][_0x56a6b7(0x15e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x9050c6=_0x27e8;(function(_0x20b0b,_0x1e6976){const _0x2f5ac3=_0x27e8,_0x2fc029=_0x20b0b();while(!![]){try{const _0x3e0c16=parseInt(_0x2f5ac3(0x1c5))/0x1*(-parseInt(_0x2f5ac3(0x1fe))/0x2)+-parseInt(_0x2f5ac3(0x1f2))/0x3+-parseInt(_0x2f5ac3(0x1cc))/0x4+parseInt(_0x2f5ac3(0x1ec))/0x5*(-parseInt(_0x2f5ac3(0x1d3))/0x6)+parseInt(_0x2f5ac3(0x213))/0x7+parseInt(_0x2f5ac3(0x1f5))/0x8*(parseInt(_0x2f5ac3(0x1f8))/0x9)+parseInt(_0x2f5ac3(0x1eb))/0xa;if(_0x3e0c16===_0x1e6976)break;else _0x2fc029['push'](_0x2fc029['shift']());}catch(_0x204545){_0x2fc029['push'](_0x2fc029['shift']());}}}(_0xe8bc,0xecf8f));import{IconWeb as _0x22dc5d}from'@ckeditor/ckeditor5-icons';import{View as _0x47bbbc,ButtonView as _0x29fb89,IconView as _0x50a867,BalloonPanelView as _0x4f5cb8}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x4a8022}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x272fff}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x925fae}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x45f07e}from'../../utils/eventnames.js';import{AISpinnerView as _0x20e533}from'../aispinner.js';import{getTranslation as _0x4562c0}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x47bbbc{[_0x9050c6(0x21c)];[_0x9050c6(0x1c9)];[_0x9050c6(0x222)];[_0x9050c6(0x1d7)];[_0x9050c6(0x1db)];[_0x9050c6(0x1fd)];[_0x9050c6(0x202)];[_0x9050c6(0x1bb)];constructor(_0x412c3e,_0x495913,_0xe94232){const _0x15d9e1=_0x9050c6;super(_0x412c3e),this[_0x15d9e1(0x1bb)]=_0xe94232;const {showDiff:_0x49a8d6,areActionsDisabled:_0x59283c,miniToolbarConfig:_0x596a73,hideHeader:_0x598902,showLoader:_0x51cc34,showUnchangedParts:_0xc8357b,availableActions:_0x2039ed}=_0x495913;this[_0x15d9e1(0x21e)](_0x15d9e1(0x1d8),!0x1),this[_0x15d9e1(0x21e)](_0x15d9e1(0x219),!!_0x51cc34),this[_0x15d9e1(0x21e)](_0x15d9e1(0x207),!0x1),this[_0x15d9e1(0x21e)](_0x15d9e1(0x1dd),!0x1),this[_0x15d9e1(0x222)]=this[_0x15d9e1(0x21d)](),_0x598902||(this[_0x15d9e1(0x1d7)]=new _0x272fff(_0x412c3e,{'showDiff':_0x49a8d6}),this[_0x15d9e1(0x1d7)]['on'](_0x15d9e1(0x1ef),(_0x2e62c7,_0x3547bb)=>{const _0x30d6a8=_0x15d9e1;this[_0x30d6a8(0x1d8)]=_0x3547bb[_0x30d6a8(0x1dc)],this[_0x30d6a8(0x1e4)](_0x30d6a8(0x1e2),{'showDiff':_0x3547bb[_0x30d6a8(0x1dc)]});}),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x1d7)])),this[_0x15d9e1(0x21c)]=new _0x925fae(_0x412c3e,{'areActionsDisabled':_0x59283c,'showUnchangedParts':!!_0xc8357b,'availableActions':_0x2039ed}),this[_0x15d9e1(0x21c)][_0x15d9e1(0x1f0)](..._0x45f07e)['to'](this),this[_0x15d9e1(0x21c)][_0x15d9e1(0x1c7)]({'attributes':{'class':[this[_0x15d9e1(0x212)]['if'](_0x15d9e1(0x219),_0x15d9e1(0x1e7)),this[_0x15d9e1(0x212)]['if'](_0x15d9e1(0x207),_0x15d9e1(0x1e7))]}}),this[_0x15d9e1(0x1c9)]=new _0x4a8022(_0x412c3e,_0x596a73,_0x49a8d6),this[_0x15d9e1(0x1c9)][_0x15d9e1(0x1f0)](..._0x45f07e)['to'](this),this[_0x15d9e1(0x1c9)]['on'](_0x15d9e1(0x1ef),(_0x1f5304,_0x4cea0b)=>{const _0x3b1b06=_0x15d9e1;this[_0x3b1b06(0x1d8)]=_0x4cea0b,this[_0x3b1b06(0x1e4)](_0x3b1b06(0x1e2),{'showDiff':_0x4cea0b});}),this[_0x15d9e1(0x1c9)][_0x15d9e1(0x1de)](_0x15d9e1(0x1dd))['to'](this),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x21c)]),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x1c9)]),this[_0x15d9e1(0x202)]=new AIWebSourcesView(this[_0x15d9e1(0x1b8)],this[_0x15d9e1(0x1bb)]),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x202)]),_0x51cc34&&(this[_0x15d9e1(0x1db)]=this[_0x15d9e1(0x1d9)](),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x1db)])),this[_0x15d9e1(0x1fd)]=this[_0x15d9e1(0x1ca)](),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x1fd)]),this[_0x15d9e1(0x20b)]({'tag':_0x15d9e1(0x21b),'attributes':{'class':['ck',_0x15d9e1(0x1c0),_0x15d9e1(0x1b6)]},'children':this[_0x15d9e1(0x222)]});}async[_0x9050c6(0x220)](_0x52e2ae){const _0x3f31cc=_0x9050c6;await this[_0x3f31cc(0x21c)][_0x3f31cc(0x1e3)](_0x52e2ae);}[_0x9050c6(0x20e)](_0x824f7a){const _0x4d83b8=_0x9050c6,_0x444ec7=this[_0x4d83b8(0x202)],_0x12f19c=_0x444ec7[_0x4d83b8(0x1d0)];_0x444ec7[_0x4d83b8(0x222)][_0x4d83b8(0x20a)](_0x824f7a[_0x4d83b8(0x1e8)](_0x3f902e=>new AIWebSourceView(this[_0x4d83b8(0x1b8)],_0x3f902e,_0x12f19c))),_0x444ec7[_0x4d83b8(0x1b1)]=!0x0;}[_0x9050c6(0x1ed)](){const _0x2f6e82=_0x9050c6;this[_0x2f6e82(0x1db)]&&(this[_0x2f6e82(0x219)]=!0x0);}[_0x9050c6(0x1f4)](){const _0x360822=_0x9050c6;this[_0x360822(0x1db)]&&(this[_0x360822(0x219)]=!0x1);}[_0x9050c6(0x1cd)](_0x30fd6e){const _0x480249=_0x9050c6;if(this[_0x480249(0x1fd)]){const _0x509984=this[_0x480249(0x1fd)][_0x480249(0x206)]?.[_0x480249(0x1c2)](_0x480249(0x218));_0x509984&&(_0x509984[_0x480249(0x1fa)]=_0x30fd6e),this[_0x480249(0x207)]=!0x0;}}[_0x9050c6(0x1c8)](){const _0x23a6c0=_0x9050c6;this[_0x23a6c0(0x1fd)]&&(this[_0x23a6c0(0x207)]=!0x1);}[_0x9050c6(0x1e5)](){const _0x4a0786=_0x9050c6;this[_0x4a0786(0x21c)][_0x4a0786(0x1e5)](),this[_0x4a0786(0x1d7)]&&(this[_0x4a0786(0x1d7)][_0x4a0786(0x204)]=this[_0x4a0786(0x21c)][_0x4a0786(0x1bc)]);}[_0x9050c6(0x21a)](){const _0x4f14cb=_0x9050c6;this[_0x4f14cb(0x1dd)]=!0x0;}[_0x9050c6(0x216)](){const _0x57a5cf=_0x9050c6;this[_0x57a5cf(0x1dd)]=!0x1;}[_0x9050c6(0x211)](){const _0x29efde=_0x9050c6;this[_0x29efde(0x1c9)]&&(this[_0x29efde(0x1c9)][_0x29efde(0x1dd)]=!0x0),this[_0x29efde(0x1d7)]?.[_0x29efde(0x1cb)]&&(this[_0x29efde(0x1d7)][_0x29efde(0x1cb)][_0x29efde(0x1be)]=!0x1);}[_0x9050c6(0x1c3)](){const _0x996f53=_0x9050c6;this[_0x996f53(0x1c9)]&&(this[_0x996f53(0x1c9)][_0x996f53(0x1dd)]=!0x1),this[_0x996f53(0x1d7)]?.[_0x996f53(0x1cb)]&&(this[_0x996f53(0x1d7)][_0x996f53(0x1cb)][_0x996f53(0x1be)]=!0x0);}[_0x9050c6(0x1fb)](_0xb883b3){const _0x505809=_0x9050c6;this[_0x505809(0x1c9)][_0x505809(0x1b5)][_0x505809(0x1f9)](_0xb883b3);}[_0x9050c6(0x209)](_0x29ca35){const _0x194ceb=_0x9050c6;this[_0x194ceb(0x1c9)][_0x194ceb(0x1b5)][_0x194ceb(0x1b3)](_0x29ca35);}[_0x9050c6(0x1d9)](){const _0x2c51cc=_0x9050c6,_0x4ae1a1=new _0x47bbbc(this[_0x2c51cc(0x1b8)]),_0x34b7c8=new _0x20e533(_0x2c51cc(0x210));_0x34b7c8[_0x2c51cc(0x1b1)]=!0x0;const _0x20390d=new _0x47bbbc(this[_0x2c51cc(0x1b8)]);return _0x20390d[_0x2c51cc(0x20b)]({'tag':_0x2c51cc(0x1af),'attributes':{'class':['ck',_0x2c51cc(0x1cf)]},'children':[_0x4562c0(this[_0x2c51cc(0x1b8)],_0x2c51cc(0x1d2))]}),_0x4ae1a1[_0x2c51cc(0x20b)]({'tag':_0x2c51cc(0x21b),'attributes':{'class':['ck',_0x2c51cc(0x1d5),this[_0x2c51cc(0x212)]['if'](_0x2c51cc(0x219),_0x2c51cc(0x1e7),_0x4df2c0=>!_0x4df2c0)]},'children':[_0x34b7c8,_0x20390d]}),_0x4ae1a1;}[_0x9050c6(0x1ca)](){const _0x2a09ea=_0x9050c6,_0x33abd0=new _0x47bbbc(this[_0x2a09ea(0x1b8)]),_0x2bf280=new _0x47bbbc(this[_0x2a09ea(0x1b8)]);return _0x2bf280[_0x2a09ea(0x20b)]({'tag':_0x2a09ea(0x1af),'attributes':{'class':['ck',_0x2a09ea(0x1f3)]},'children':[_0x4562c0(this[_0x2a09ea(0x1b8)],_0x2a09ea(0x1f1))]}),_0x33abd0[_0x2a09ea(0x20b)]({'tag':_0x2a09ea(0x21b),'attributes':{'class':['ck',_0x2a09ea(0x1ff),this[_0x2a09ea(0x212)]['if'](_0x2a09ea(0x207),_0x2a09ea(0x1e7),_0x47e3ba=>!_0x47e3ba)]},'children':[_0x2bf280]}),_0x33abd0;}}function _0xe8bc(){const _0x206929=['removeNavigationItem','addMany','setTemplate','pin','ck-ai-web-source__tooltip-url','updateSources','defaultPositions','small','setErrorState','bindTemplate','8002029VtmXxp','_updateTooltipContent','bodyCollection','clearLoading','northArrowSouthWest','.ck-ai-suggestion__error-text','isLoaderVisible','setLoading','div','bodyView','createCollection','set','northArrowSouthEast','updateContent','.ck-ai-chat','children','url','hostname','title','span','show','isVisible','...','remove','hide','items','ck-rounded-corners','_createTooltipContentView','locale','_showTooltip','ck-ai-web-source__tooltip','_bodyCollection','hasNonEmptyParts','_blank','isEnabled','get','ck-ai-suggestion__container','AI_CHAT_SOURCES_HEADER','querySelector','clearErrorState','substring','3TUnWIn','_hideTooltip','extendTemplate','hideError','miniToolbarView','_createErrorView','showChangesToggleView','6344372qxxTZs','showError','northArrowSouth','ck-ai-suggestion__loader-text','balloonPanelView','_setupBalloonPanel','AI_CHAT_IS_WRITING','5450292XWscau','ck-ai-web-source__tooltip-balloon','ck-ai-suggestion__loader','clear','headerView','areChangesVisible','_createLoaderView','open','loaderView','isOn','isLoading','bind','ck-ai-web-source__tooltip-title','img','length','toggleSuggestionDisplayMode','updateContentParts','fire','markAsDone','push','ck-hidden','map','ck\x20ck-ai-web-source','favicon','31638200JCBcFI','10BoNITw','showLoader','ck-ai-web-sources__header','toggleShowChanges','delegate','AI_CHAT_GENERIC_ERROR','1130055OSaGcR','ck-ai-suggestion__error-text','hideLoader','302984hoFqrh','ck-ai-web-source__tooltip-row','content','405jaFFfd','add','textContent','addNavigationItem','ck-ai-web-source__tooltip-image','errorView','840714UkucpI','ck-ai-suggestion__error','ck-ai-web-sources','destroy','sourcesView','source','isShowChangesToggleVisible','icon','element','isErrorVisible','ck-ai-web-source__image'];_0xe8bc=function(){return _0x206929;};return _0xe8bc();}function _0x27e8(_0x222d26,_0x5ea78b){const _0xe8bcee=_0xe8bc();return _0x27e8=function(_0x27e826,_0x7686a1){_0x27e826=_0x27e826-0x1af;let _0xd60951=_0xe8bcee[_0x27e826];return _0xd60951;},_0x27e8(_0x222d26,_0x5ea78b);}export class AIWebSourcesView extends _0x47bbbc{[_0x9050c6(0x222)];[_0x9050c6(0x1d0)];[_0x9050c6(0x215)];constructor(_0x47bbfb,_0x3e320d){const _0x3ef6d2=_0x9050c6;super(_0x47bbfb),this[_0x3ef6d2(0x215)]=_0x3e320d,this[_0x3ef6d2(0x222)]=this[_0x3ef6d2(0x21d)](),this[_0x3ef6d2(0x21e)](_0x3ef6d2(0x1b1),!0x1),this[_0x3ef6d2(0x20b)]({'tag':_0x3ef6d2(0x21b),'attributes':{'class':['ck',_0x3ef6d2(0x200),this[_0x3ef6d2(0x212)]['if'](_0x3ef6d2(0x1b1),_0x3ef6d2(0x1e7),_0x23b4a1=>!_0x23b4a1)]},'children':this[_0x3ef6d2(0x222)]});const _0x4ed7f5=new _0x47bbbc(this[_0x3ef6d2(0x1b8)]),_0x310559=new _0x50a867();_0x310559[_0x3ef6d2(0x1f7)]=_0x22dc5d,_0x4ed7f5[_0x3ef6d2(0x20b)]({'tag':_0x3ef6d2(0x21b),'attributes':{'class':['ck',_0x3ef6d2(0x1ee)]},'children':[_0x310559,{'tag':_0x3ef6d2(0x1af),'children':[{'text':_0x4562c0(this[_0x3ef6d2(0x1b8)],_0x3ef6d2(0x1c1))}]}]}),this[_0x3ef6d2(0x222)][_0x3ef6d2(0x1f9)](_0x4ed7f5),this[_0x3ef6d2(0x1d1)](_0x47bbfb);}[_0x9050c6(0x1d1)](_0x46a4e1){const _0x18dc41=_0x9050c6;this[_0x18dc41(0x1d0)]=new _0x4f5cb8(_0x46a4e1),this[_0x18dc41(0x1d0)][_0x18dc41(0x1c7)]({'attributes':{'class':[_0x18dc41(0x1d4)]}}),this[_0x18dc41(0x215)][_0x18dc41(0x1f9)](this[_0x18dc41(0x1d0)]);}}export class AIWebSourceView extends _0x29fb89{[_0x9050c6(0x1d0)];[_0x9050c6(0x203)];constructor(_0x3dd195,_0x1fee83,_0x35a3f5){const _0xff562f=_0x9050c6;super(_0x3dd195),this[_0xff562f(0x203)]=_0x1fee83,this[_0xff562f(0x1d0)]=_0x35a3f5,this[_0xff562f(0x21e)]({'label':_0x1fee83[_0xff562f(0x225)],'class':[_0xff562f(0x1e9)],'withText':!0x0});const _0x3cbe0e=this[_0xff562f(0x212)];if(this[_0xff562f(0x1c7)]({'on':{'click':_0x3cbe0e['to'](()=>{const _0x5326b0=_0xff562f;window[_0x5326b0(0x1da)](_0x1fee83[_0x5326b0(0x223)],_0x5326b0(0x1bd));}),'mouseenter':_0x3cbe0e['to'](()=>{const _0x87d03e=_0xff562f;this[_0x87d03e(0x1b9)]();}),'mouseleave':_0x3cbe0e['to'](()=>{const _0x4ac073=_0xff562f;this[_0x4ac073(0x1c6)]();})}}),_0x1fee83[_0xff562f(0x1ea)]){const _0x4fabf2=new _0x47bbbc(_0x3dd195);_0x4fabf2[_0xff562f(0x20b)]({'tag':_0xff562f(0x1e0),'attributes':{'src':_0x1fee83[_0xff562f(0x1ea)]||_0x22dc5d,'alt':_0x1fee83[_0xff562f(0x225)],'class':[_0xff562f(0x208)]}}),this[_0xff562f(0x222)][_0xff562f(0x1f9)](_0x4fabf2);}else this[_0xff562f(0x21e)](_0xff562f(0x205),_0x22dc5d);}[_0x9050c6(0x1b7)](_0x3852eb,_0x31bac7){const _0x324eeb=_0x9050c6,_0x5cfc53=new _0x47bbbc(_0x3852eb),_0x5536b5=[];let _0x270509;_0x31bac7?.[_0x324eeb(0x1ea)]?(_0x270509=new _0x47bbbc(_0x3852eb),_0x270509[_0x324eeb(0x20b)]({'tag':_0x324eeb(0x1e0),'attributes':{'src':_0x31bac7[_0x324eeb(0x1ea)],'alt':_0x31bac7[_0x324eeb(0x225)],'class':[_0x324eeb(0x1fc)]}})):(_0x270509=new _0x50a867(),_0x270509[_0x324eeb(0x1f7)]=_0x22dc5d,_0x270509[_0x324eeb(0x1c7)]({'attributes':{'alt':_0x31bac7[_0x324eeb(0x225)],'class':[_0x324eeb(0x1fc)]}})),_0x5536b5[_0x324eeb(0x1e6)](_0x270509);const _0x4f8adb=new _0x47bbbc(_0x3852eb);_0x4f8adb[_0x324eeb(0x20b)]({'tag':'a','attributes':{'class':[_0x324eeb(0x20d)],'href':_0x31bac7[_0x324eeb(0x223)]},'children':[{'text':new URL(_0x31bac7[_0x324eeb(0x223)])?.[_0x324eeb(0x224)]}]}),_0x5536b5[_0x324eeb(0x1e6)](_0x4f8adb);const _0x47c24a=new _0x47bbbc(_0x3852eb);_0x47c24a[_0x324eeb(0x20b)]({'tag':_0x324eeb(0x21b),'attributes':{'class':[_0x324eeb(0x1f6)]},'children':_0x5536b5});const _0x1f5810=new _0x47bbbc(_0x3852eb);return _0x1f5810[_0x324eeb(0x20b)]({'tag':_0x324eeb(0x1af),'attributes':{'class':[_0x324eeb(0x1f6),_0x324eeb(0x1df)]},'children':[{'text':_0x31bac7[_0x324eeb(0x225)][_0x324eeb(0x1e1)]>0x190?_0x31bac7[_0x324eeb(0x225)][_0x324eeb(0x1c4)](0x0,0x190)+_0x324eeb(0x1b2):_0x31bac7[_0x324eeb(0x225)]}]}),_0x5cfc53[_0x324eeb(0x20b)]({'tag':_0x324eeb(0x21b),'attributes':{'class':['ck',_0x324eeb(0x1ba)]},'children':[_0x47c24a,_0x1f5810]}),_0x5cfc53;}[_0x9050c6(0x1b9)](){const _0x2b93bd=_0x9050c6;this[_0x2b93bd(0x214)](),this[_0x2b93bd(0x1d0)][_0x2b93bd(0x20c)]({'target':this[_0x2b93bd(0x206)],'positions':[_0x4f5cb8[_0x2b93bd(0x20f)][_0x2b93bd(0x1ce)],_0x4f5cb8[_0x2b93bd(0x20f)][_0x2b93bd(0x217)],_0x4f5cb8[_0x2b93bd(0x20f)][_0x2b93bd(0x21f)]],'limiter':document[_0x2b93bd(0x1c2)](_0x2b93bd(0x221))}),this[_0x2b93bd(0x1d0)][_0x2b93bd(0x1b0)]();}[_0x9050c6(0x1c6)](){const _0x20e43e=_0x9050c6;this[_0x20e43e(0x1d0)][_0x20e43e(0x1b4)]();}[_0x9050c6(0x214)](){const _0x2afef2=_0x9050c6;this[_0x2afef2(0x1d0)][_0x2afef2(0x1f7)][_0x2afef2(0x1bf)](0x0)?.[_0x2afef2(0x201)](),this[_0x2afef2(0x1d0)][_0x2afef2(0x1f7)][_0x2afef2(0x1d6)]();const _0x77eed3=this[_0x2afef2(0x1b7)](this[_0x2afef2(0x1b8)],this[_0x2afef2(0x203)]);this[_0x2afef2(0x1d0)][_0x2afef2(0x1f7)][_0x2afef2(0x1f9)](_0x77eed3);}}
|
|
23
|
+
const _0x2bd136=_0x5bd3;function _0x1211(){const _0x26c867=['defaultPositions','.ck-ai-chat','icon','querySelector','northArrowSouthEast','ck-ai-suggestion__container','hasNonEmptyParts','setTemplate','ck-ai-suggestion__error','hide','6033269TXqmMa','isShowChangesToggleVisible','url','ck-ai-web-source__tooltip-url','ck-ai-web-sources','title','2pokDjK','content','map','removeNavigationItem','isEnabled','ck-hidden','84TPfqqV','areChangesVisible','addNavigationItem','clearLoading','element','small','createCollection','addMany','substring','children','ck-ai-web-source__tooltip-image','delegate','ck-ai-web-source__tooltip-title','source','AI_CHAT_SOURCES_HEADER','destroy','isErrorVisible','_bodyCollection','span','clear','1313189Cplwjj','AI_CHAT_GENERIC_ERROR','div','sourcesView','northArrowSouth','isOn','hideLoader','_updateTooltipContent','open','_showTooltip','744dYJwRw','clearErrorState','AI_CHAT_IS_WRITING','.ck-ai-suggestion__error-text','toggleSuggestionDisplayMode','ck-ai-suggestion__loader','ck-ai-suggestion__loader-text','markAsDone','push','get','1640215cabWpN','_createTooltipContentView','updateContentParts','12132wfCAAp','36063SxcUNW','bodyView','showError','pin','_setupBalloonPanel','remove','setLoading','7147220HiSuhc','showLoader','fire','favicon','img','balloonPanelView','12DRDwlB','length','isLoaderVisible','...','errorView','ck-ai-web-sources__header','ck-ai-web-source__tooltip-row','northArrowSouthWest','isVisible','_createLoaderView','_createErrorView','setErrorState','246393BJgQyq','loaderView','updateSources','showChangesToggleView','ck-rounded-corners','add','headerView','isLoading','bindTemplate','_blank','939MEpIKq','miniToolbarView','extendTemplate','hostname','show','toggleShowChanges','bodyCollection','_hideTooltip','ck-ai-web-source__image','textContent','items','hideError','ck\x20ck-ai-web-source','locale','bind','updateContent','set','ck-ai-suggestion__error-text','ck-ai-web-source__tooltip-balloon','ck-ai-web-source__tooltip'];_0x1211=function(){return _0x26c867;};return _0x1211();}(function(_0x50ef8a,_0x34a1f4){const _0x109096=_0x5bd3,_0x413f7a=_0x50ef8a();while(!![]){try{const _0x25e846=-parseInt(_0x109096(0x1b9))/0x1*(parseInt(_0x109096(0x19f))/0x2)+-parseInt(_0x109096(0x1f4))/0x3*(-parseInt(_0x109096(0x1d0))/0x4)+parseInt(_0x109096(0x1cd))/0x5+parseInt(_0x109096(0x1a5))/0x6*(parseInt(_0x109096(0x1ea))/0x7)+parseInt(_0x109096(0x1c3))/0x8*(parseInt(_0x109096(0x1d1))/0x9)+-parseInt(_0x109096(0x1d8))/0xa+-parseInt(_0x109096(0x199))/0xb*(-parseInt(_0x109096(0x1de))/0xc);if(_0x25e846===_0x34a1f4)break;else _0x413f7a['push'](_0x413f7a['shift']());}catch(_0x3ce97e){_0x413f7a['push'](_0x413f7a['shift']());}}}(_0x1211,0xa1f51));import{IconWeb as _0x1d2dc8}from'@ckeditor/ckeditor5-icons';import{View as _0x49c3db,ButtonView as _0x32f137,IconView as _0x33aba6,BalloonPanelView as _0x342216}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0xc7580d}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x204e6e}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x5793ad}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x43504f}from'../../utils/eventnames.js';import{AISpinnerView as _0x2e0848}from'../aispinner.js';import{getTranslation as _0x251a5e}from'../../utils/common-translations.js';function _0x5bd3(_0x1b534a,_0x3e9a41){const _0x1211e1=_0x1211();return _0x5bd3=function(_0x5bd304,_0x25148b){_0x5bd304=_0x5bd304-0x198;let _0x449329=_0x1211e1[_0x5bd304];return _0x449329;},_0x5bd3(_0x1b534a,_0x3e9a41);}export class AISuggestionContainerView extends _0x49c3db{[_0x2bd136(0x1d2)];[_0x2bd136(0x1f5)];[_0x2bd136(0x1ae)];[_0x2bd136(0x1f0)];[_0x2bd136(0x1eb)];[_0x2bd136(0x1e2)];[_0x2bd136(0x1bc)];[_0x2bd136(0x1b6)];constructor(_0x31a50e,_0x589062,_0x9e2a60){const _0x5a111d=_0x2bd136;super(_0x31a50e),this[_0x5a111d(0x1b6)]=_0x9e2a60;const {showDiff:_0x4dbbd8,areActionsDisabled:_0x4731e0,miniToolbarConfig:_0xb5e3c2,hideHeader:_0x4ebe5e,showLoader:_0x1c6cff,showUnchangedParts:_0x4f8c3b,availableActions:_0x328594}=_0x589062;this[_0x5a111d(0x204)](_0x5a111d(0x1a6),!0x1),this[_0x5a111d(0x204)](_0x5a111d(0x1e0),!!_0x1c6cff),this[_0x5a111d(0x204)](_0x5a111d(0x1b5),!0x1),this[_0x5a111d(0x204)](_0x5a111d(0x1f1),!0x1),this[_0x5a111d(0x1ae)]=this[_0x5a111d(0x1ab)](),_0x4ebe5e||(this[_0x5a111d(0x1f0)]=new _0x204e6e(_0x31a50e,{'showDiff':_0x4dbbd8}),this[_0x5a111d(0x1f0)]['on'](_0x5a111d(0x1f9),(_0x4f214e,_0x389405)=>{const _0x2cd425=_0x5a111d;this[_0x2cd425(0x1a6)]=_0x389405[_0x2cd425(0x1be)],this[_0x2cd425(0x1da)](_0x2cd425(0x1c7),{'showDiff':_0x389405[_0x2cd425(0x1be)]});}),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1f0)])),this[_0x5a111d(0x1d2)]=new _0x5793ad(_0x31a50e,{'areActionsDisabled':_0x4731e0,'showUnchangedParts':!!_0x4f8c3b,'availableActions':_0x328594}),this[_0x5a111d(0x1d2)][_0x5a111d(0x1b0)](..._0x43504f)['to'](this),this[_0x5a111d(0x1d2)][_0x5a111d(0x1f6)]({'attributes':{'class':[this[_0x5a111d(0x1f2)]['if'](_0x5a111d(0x1e0),_0x5a111d(0x1a4)),this[_0x5a111d(0x1f2)]['if'](_0x5a111d(0x1b5),_0x5a111d(0x1a4))]}}),this[_0x5a111d(0x1f5)]=new _0xc7580d(_0x31a50e,_0xb5e3c2,_0x4dbbd8),this[_0x5a111d(0x1f5)][_0x5a111d(0x1b0)](..._0x43504f)['to'](this),this[_0x5a111d(0x1f5)]['on'](_0x5a111d(0x1f9),(_0x7b950e,_0x322a6e)=>{const _0x42e56b=_0x5a111d;this[_0x42e56b(0x1a6)]=_0x322a6e,this[_0x42e56b(0x1da)](_0x42e56b(0x1c7),{'showDiff':_0x322a6e});}),this[_0x5a111d(0x1f5)][_0x5a111d(0x202)](_0x5a111d(0x1f1))['to'](this),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1d2)]),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1f5)]),this[_0x5a111d(0x1bc)]=new AIWebSourcesView(this[_0x5a111d(0x201)],this[_0x5a111d(0x1b6)]),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1bc)]),_0x1c6cff&&(this[_0x5a111d(0x1eb)]=this[_0x5a111d(0x1e7)](),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1eb)])),this[_0x5a111d(0x1e2)]=this[_0x5a111d(0x1e8)](),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1e2)]),this[_0x5a111d(0x20f)]({'tag':_0x5a111d(0x1bb),'attributes':{'class':['ck',_0x5a111d(0x20d),_0x5a111d(0x1ee)]},'children':this[_0x5a111d(0x1ae)]});}async[_0x2bd136(0x203)](_0x5db51f){const _0x375a08=_0x2bd136;await this[_0x375a08(0x1d2)][_0x375a08(0x1cf)](_0x5db51f);}[_0x2bd136(0x1ec)](_0x8dba3e){const _0x16c93e=_0x2bd136,_0x397160=this[_0x16c93e(0x1bc)],_0x2aec56=_0x397160[_0x16c93e(0x1dd)];_0x397160[_0x16c93e(0x1ae)][_0x16c93e(0x1ac)](_0x8dba3e[_0x16c93e(0x1a1)](_0x2dcdc9=>new AIWebSourceView(this[_0x16c93e(0x201)],_0x2dcdc9,_0x2aec56))),_0x397160[_0x16c93e(0x1e6)]=!0x0;}[_0x2bd136(0x1d9)](){const _0x55ff50=_0x2bd136;this[_0x55ff50(0x1eb)]&&(this[_0x55ff50(0x1e0)]=!0x0);}[_0x2bd136(0x1bf)](){const _0x1c8795=_0x2bd136;this[_0x1c8795(0x1eb)]&&(this[_0x1c8795(0x1e0)]=!0x1);}[_0x2bd136(0x1d3)](_0x4f8fea){const _0x1b60b4=_0x2bd136;if(this[_0x1b60b4(0x1e2)]){const _0x13744e=this[_0x1b60b4(0x1e2)][_0x1b60b4(0x1a9)]?.[_0x1b60b4(0x20b)](_0x1b60b4(0x1c6));_0x13744e&&(_0x13744e[_0x1b60b4(0x1fd)]=_0x4f8fea),this[_0x1b60b4(0x1b5)]=!0x0;}}[_0x2bd136(0x1ff)](){const _0x5b774a=_0x2bd136;this[_0x5b774a(0x1e2)]&&(this[_0x5b774a(0x1b5)]=!0x1);}[_0x2bd136(0x1ca)](){const _0x4f7078=_0x2bd136;this[_0x4f7078(0x1d2)][_0x4f7078(0x1ca)](),this[_0x4f7078(0x1f0)]&&(this[_0x4f7078(0x1f0)][_0x4f7078(0x19a)]=this[_0x4f7078(0x1d2)][_0x4f7078(0x20e)]);}[_0x2bd136(0x1d7)](){const _0x5c40f4=_0x2bd136;this[_0x5c40f4(0x1f1)]=!0x0;}[_0x2bd136(0x1a8)](){const _0x319ecc=_0x2bd136;this[_0x319ecc(0x1f1)]=!0x1;}[_0x2bd136(0x1e9)](){const _0x49a56d=_0x2bd136;this[_0x49a56d(0x1f5)]&&(this[_0x49a56d(0x1f5)][_0x49a56d(0x1f1)]=!0x0),this[_0x49a56d(0x1f0)]?.[_0x49a56d(0x1ed)]&&(this[_0x49a56d(0x1f0)][_0x49a56d(0x1ed)][_0x49a56d(0x1a3)]=!0x1);}[_0x2bd136(0x1c4)](){const _0x29510d=_0x2bd136;this[_0x29510d(0x1f5)]&&(this[_0x29510d(0x1f5)][_0x29510d(0x1f1)]=!0x1),this[_0x29510d(0x1f0)]?.[_0x29510d(0x1ed)]&&(this[_0x29510d(0x1f0)][_0x29510d(0x1ed)][_0x29510d(0x1a3)]=!0x0);}[_0x2bd136(0x1a7)](_0x62ada){const _0x3c1746=_0x2bd136;this[_0x3c1746(0x1f5)][_0x3c1746(0x1fe)][_0x3c1746(0x1ef)](_0x62ada);}[_0x2bd136(0x1a2)](_0x15201e){const _0x1f1be9=_0x2bd136;this[_0x1f1be9(0x1f5)][_0x1f1be9(0x1fe)][_0x1f1be9(0x1d6)](_0x15201e);}[_0x2bd136(0x1e7)](){const _0x5c0066=_0x2bd136,_0x5ebf69=new _0x49c3db(this[_0x5c0066(0x201)]),_0x187477=new _0x2e0848(_0x5c0066(0x1aa));_0x187477[_0x5c0066(0x1e6)]=!0x0;const _0x4755bd=new _0x49c3db(this[_0x5c0066(0x201)]);return _0x4755bd[_0x5c0066(0x20f)]({'tag':_0x5c0066(0x1b7),'attributes':{'class':['ck',_0x5c0066(0x1c9)]},'children':[_0x251a5e(this[_0x5c0066(0x201)],_0x5c0066(0x1c5))]}),_0x5ebf69[_0x5c0066(0x20f)]({'tag':_0x5c0066(0x1bb),'attributes':{'class':['ck',_0x5c0066(0x1c8),this[_0x5c0066(0x1f2)]['if'](_0x5c0066(0x1e0),_0x5c0066(0x1a4),_0x3d2542=>!_0x3d2542)]},'children':[_0x187477,_0x4755bd]}),_0x5ebf69;}[_0x2bd136(0x1e8)](){const _0x34c48c=_0x2bd136,_0x45eedc=new _0x49c3db(this[_0x34c48c(0x201)]),_0x58e0e5=new _0x49c3db(this[_0x34c48c(0x201)]);return _0x58e0e5[_0x34c48c(0x20f)]({'tag':_0x34c48c(0x1b7),'attributes':{'class':['ck',_0x34c48c(0x205)]},'children':[_0x251a5e(this[_0x34c48c(0x201)],_0x34c48c(0x1ba))]}),_0x45eedc[_0x34c48c(0x20f)]({'tag':_0x34c48c(0x1bb),'attributes':{'class':['ck',_0x34c48c(0x210),this[_0x34c48c(0x1f2)]['if'](_0x34c48c(0x1b5),_0x34c48c(0x1a4),_0x37febf=>!_0x37febf)]},'children':[_0x58e0e5]}),_0x45eedc;}}export class AIWebSourcesView extends _0x49c3db{[_0x2bd136(0x1ae)];[_0x2bd136(0x1dd)];[_0x2bd136(0x1fa)];constructor(_0x26fe65,_0x4808bc){const _0x2a3a89=_0x2bd136;super(_0x26fe65),this[_0x2a3a89(0x1fa)]=_0x4808bc,this[_0x2a3a89(0x1ae)]=this[_0x2a3a89(0x1ab)](),this[_0x2a3a89(0x204)](_0x2a3a89(0x1e6),!0x1),this[_0x2a3a89(0x20f)]({'tag':_0x2a3a89(0x1bb),'attributes':{'class':['ck',_0x2a3a89(0x19d),this[_0x2a3a89(0x1f2)]['if'](_0x2a3a89(0x1e6),_0x2a3a89(0x1a4),_0x2fc44c=>!_0x2fc44c)]},'children':this[_0x2a3a89(0x1ae)]});const _0x23d965=new _0x49c3db(this[_0x2a3a89(0x201)]),_0xf56fbb=new _0x33aba6();_0xf56fbb[_0x2a3a89(0x1a0)]=_0x1d2dc8,_0x23d965[_0x2a3a89(0x20f)]({'tag':_0x2a3a89(0x1bb),'attributes':{'class':['ck',_0x2a3a89(0x1e3)]},'children':[_0xf56fbb,{'tag':_0x2a3a89(0x1b7),'children':[{'text':_0x251a5e(this[_0x2a3a89(0x201)],_0x2a3a89(0x1b3))}]}]}),this[_0x2a3a89(0x1ae)][_0x2a3a89(0x1ef)](_0x23d965),this[_0x2a3a89(0x1d5)](_0x26fe65);}[_0x2bd136(0x1d5)](_0x5e10d6){const _0x5dd265=_0x2bd136;this[_0x5dd265(0x1dd)]=new _0x342216(_0x5e10d6),this[_0x5dd265(0x1dd)][_0x5dd265(0x1f6)]({'attributes':{'class':[_0x5dd265(0x206)]}}),this[_0x5dd265(0x1fa)][_0x5dd265(0x1ef)](this[_0x5dd265(0x1dd)]);}}export class AIWebSourceView extends _0x32f137{[_0x2bd136(0x1dd)];[_0x2bd136(0x1b2)];constructor(_0x1c39bc,_0x533f36,_0x5c1b87){const _0x377758=_0x2bd136;super(_0x1c39bc),this[_0x377758(0x1b2)]=_0x533f36,this[_0x377758(0x1dd)]=_0x5c1b87,this[_0x377758(0x204)]({'label':_0x533f36[_0x377758(0x19e)],'class':[_0x377758(0x200)],'withText':!0x0});const _0x574459=this[_0x377758(0x1f2)];if(this[_0x377758(0x1f6)]({'on':{'click':_0x574459['to'](()=>{const _0xd24481=_0x377758;window[_0xd24481(0x1c1)](_0x533f36[_0xd24481(0x19b)],_0xd24481(0x1f3));}),'mouseenter':_0x574459['to'](()=>{const _0x2e9c83=_0x377758;this[_0x2e9c83(0x1c2)]();}),'mouseleave':_0x574459['to'](()=>{const _0x5b65de=_0x377758;this[_0x5b65de(0x1fb)]();})}}),_0x533f36[_0x377758(0x1db)]){const _0x2344b3=new _0x49c3db(_0x1c39bc);_0x2344b3[_0x377758(0x20f)]({'tag':_0x377758(0x1dc),'attributes':{'src':_0x533f36[_0x377758(0x1db)]||_0x1d2dc8,'alt':_0x533f36[_0x377758(0x19e)],'class':[_0x377758(0x1fc)]}}),this[_0x377758(0x1ae)][_0x377758(0x1ef)](_0x2344b3);}else this[_0x377758(0x204)](_0x377758(0x20a),_0x1d2dc8);}[_0x2bd136(0x1ce)](_0x463e03,_0x366bd5){const _0x3710ae=_0x2bd136,_0x4359e6=new _0x49c3db(_0x463e03),_0x2b4b4f=[];let _0x3a9ca8;_0x366bd5?.[_0x3710ae(0x1db)]?(_0x3a9ca8=new _0x49c3db(_0x463e03),_0x3a9ca8[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1dc),'attributes':{'src':_0x366bd5[_0x3710ae(0x1db)],'alt':_0x366bd5[_0x3710ae(0x19e)],'class':[_0x3710ae(0x1af)]}})):(_0x3a9ca8=new _0x33aba6(),_0x3a9ca8[_0x3710ae(0x1a0)]=_0x1d2dc8,_0x3a9ca8[_0x3710ae(0x1f6)]({'attributes':{'alt':_0x366bd5[_0x3710ae(0x19e)],'class':[_0x3710ae(0x1af)]}})),_0x2b4b4f[_0x3710ae(0x1cb)](_0x3a9ca8);const _0x2c040b=new _0x49c3db(_0x463e03);_0x2c040b[_0x3710ae(0x20f)]({'tag':'a','attributes':{'class':[_0x3710ae(0x19c)],'href':_0x366bd5[_0x3710ae(0x19b)]},'children':[{'text':new URL(_0x366bd5[_0x3710ae(0x19b)])?.[_0x3710ae(0x1f7)]}]}),_0x2b4b4f[_0x3710ae(0x1cb)](_0x2c040b);const _0x11c49a=new _0x49c3db(_0x463e03);_0x11c49a[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1bb),'attributes':{'class':[_0x3710ae(0x1e4)]},'children':_0x2b4b4f});const _0x44f253=new _0x49c3db(_0x463e03);return _0x44f253[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1b7),'attributes':{'class':[_0x3710ae(0x1e4),_0x3710ae(0x1b1)]},'children':[{'text':_0x366bd5[_0x3710ae(0x19e)][_0x3710ae(0x1df)]>0x190?_0x366bd5[_0x3710ae(0x19e)][_0x3710ae(0x1ad)](0x0,0x190)+_0x3710ae(0x1e1):_0x366bd5[_0x3710ae(0x19e)]}]}),_0x4359e6[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1bb),'attributes':{'class':['ck',_0x3710ae(0x207)]},'children':[_0x11c49a,_0x44f253]}),_0x4359e6;}[_0x2bd136(0x1c2)](){const _0x319d87=_0x2bd136;this[_0x319d87(0x1c0)](),this[_0x319d87(0x1dd)][_0x319d87(0x1d4)]({'target':this[_0x319d87(0x1a9)],'positions':[_0x342216[_0x319d87(0x208)][_0x319d87(0x1bd)],_0x342216[_0x319d87(0x208)][_0x319d87(0x1e5)],_0x342216[_0x319d87(0x208)][_0x319d87(0x20c)]],'limiter':document[_0x319d87(0x20b)](_0x319d87(0x209))}),this[_0x319d87(0x1dd)][_0x319d87(0x1f8)]();}[_0x2bd136(0x1fb)](){const _0x3ecec4=_0x2bd136;this[_0x3ecec4(0x1dd)][_0x3ecec4(0x198)]();}[_0x2bd136(0x1c0)](){const _0x39ac54=_0x2bd136;this[_0x39ac54(0x1dd)][_0x39ac54(0x1a0)][_0x39ac54(0x1cc)](0x0)?.[_0x39ac54(0x1b4)](),this[_0x39ac54(0x1dd)][_0x39ac54(0x1a0)][_0x39ac54(0x1b8)]();const _0x545434=this[_0x39ac54(0x1ce)](this[_0x39ac54(0x201)],this[_0x39ac54(0x1b2)]);this[_0x39ac54(0x1dd)][_0x39ac54(0x1a0)][_0x39ac54(0x1ef)](_0x545434);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4bfa88=_0xf6fc;(function(_0x179171,_0x2297f9){const _0x27aacd=_0xf6fc,_0x1aa593=_0x179171();while(!![]){try{const _0x1df4db=-parseInt(_0x27aacd(0x1f0))/0x1+parseInt(_0x27aacd(0x1bf))/0x2+parseInt(_0x27aacd(0x1c5))/0x3+parseInt(_0x27aacd(0x1d9))/0x4+-parseInt(_0x27aacd(0x1ba))/0x5+-parseInt(_0x27aacd(0x1e2))/0x6*(parseInt(_0x27aacd(0x1f4))/0x7)+parseInt(_0x27aacd(0x1ec))/0x8;if(_0x1df4db===_0x2297f9)break;else _0x1aa593['push'](_0x1aa593['shift']());}catch(_0x5b3807){_0x1aa593['push'](_0x1aa593['shift']());}}}(_0xf104,0xdfd35));import{View as _0x230f20,IconView as _0x48e0cc,ToolbarView as _0x3f42e6,ButtonView as _0x225769}from'ckeditor5/src/ui.js';function _0xf6fc(_0x58ba61,_0x5a250c){const _0xf1049f=_0xf104();return _0xf6fc=function(_0xf6fc8a,_0x56b69b){_0xf6fc8a=_0xf6fc8a-0x1ab;let _0x1ccf25=_0xf1049f[_0xf6fc8a];return _0x1ccf25;},_0xf6fc(_0x58ba61,_0x5a250c);}import{IconAddComment as _0x4dc6c9,IconDocumentWithLoupe as _0x31bda2,IconDocumentWithCheckmark as _0x1e626c,IconDocumentWithCross as _0x1fc011,IconRemove as _0x531438,IconThreeStars as _0x56ba17}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x172a9a}from'../../utils/htmlstreamer.js';import{getTranslation as _0x136303}from'../../utils/common-translations.js';import{serialize as _0x5ea740}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x42fe10}from'../../utils/eventnames.js';function _0xf104(){const _0x2791c7=['updateContent','createCollection','8361745diEFZs','mouseOverSuggestion','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','rejectSuggestion','partDefinition','3327680zsDRAN','ck-ai-suggestion__body__content-part__icon-rejected','toString','ck-ai-suggestion__body__content-part__title__label','addMany','delegate','4962711sePLWy','ck-ai-suggestion__body__content-part_','_iconStateOutdated','outdated','AI_SUGGESTION_CONTENT_PART_TITLE','push','headerView','pending','ck-ai-suggestion__body__content-part__icon-title','contentView','index','isEnabled','_toolbarView','AI_SUGGESTION_CONTENT_PART_DELETE','stream','bind','isVisible','hasChanges','rejected','element','5751584RKpQBB','ck-ai-suggestion__body__content-part__content','ck-content','add','showChangeInText','children','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-suggestion__body__content-part_active','toggleHeader','10886322DOOcFx','bindTemplate','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','_iconStateRejected','accepted','ck-hidden','span','remove','fire','AI_SUGGESTION_CONTENT_PART_OUTDATED','9087888iUQrqQ','innerHTML','ck-reset_all-excluded','ck-ai-suggestion__body__content-part__title','1488434XwVYpR','set','ck-ai-suggestion__body__content-part','ck-ai-suggestion__body__content-part__icon-accepted','7JXnXQN','_iconStateAccepted','streaming','ck-ai-suggestion__body__content-part__icon-outdated','includes','setTemplate','div','AI_SUGGESTION_CONTENT_PART_REJECTED','execute','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','insertSuggestion','change:state','content','extendTemplate','state','mouseLeaveSuggestion','items','htmlStreamer','has'];_0xf104=function(){return _0x2791c7;};return _0xf104();}export class AISuggestionBodyViewContentPartView extends _0x230f20{[_0x4bfa88(0x1b6)];[_0x4bfa88(0x1de)];[_0x4bfa88(0x1cb)];[_0x4bfa88(0x1ce)];constructor(_0x5ba522,{part:_0x35f33a,uiIndex:_0x7b5636,areActionsDisabled:_0x5ebc61,availableActions:_0x1b98b9}){const _0x3908a0=_0x4bfa88;super(_0x5ba522),this[_0x3908a0(0x1f1)](_0x3908a0(0x1be),_0x35f33a),this[_0x3908a0(0x1f1)](_0x3908a0(0x1b3),_0x3908a0(0x1cc)),this[_0x3908a0(0x1f1)](_0x3908a0(0x1d5),!0x1),this[_0x3908a0(0x1d4)](_0x3908a0(0x1d0))['to'](this,_0x3908a0(0x1b3),_0xf602e3=>_0x3908a0(0x1cc)==_0xf602e3&&!_0x5ebc61),this[_0x3908a0(0x1de)]=this[_0x3908a0(0x1b9)](),this[_0x3908a0(0x1b6)]=new _0x172a9a({'textNodeStyle':_0x3908a0(0x1df),'delay':0x14}),this[_0x3908a0(0x1cb)]=new Un(_0x5ba522,{'part':_0x35f33a,'uiIndex':_0x7b5636,'availableActions':_0x1b98b9}),this[_0x3908a0(0x1cb)][_0x3908a0(0x1d4)](_0x3908a0(0x1be))['to'](this),this[_0x3908a0(0x1cb)][_0x3908a0(0x1d4)](_0x3908a0(0x1d0))['to'](this),this[_0x3908a0(0x1cb)][_0x3908a0(0x1d4)](_0x3908a0(0x1b3))['to'](this),this[_0x3908a0(0x1cb)][_0x3908a0(0x1c4)](..._0x42fe10)['to'](this);const _0x51a750=this[_0x3908a0(0x1e3)];this[_0x3908a0(0x1ce)]=new _0x230f20(),this[_0x3908a0(0x1ce)][_0x3908a0(0x1f9)]({'tag':_0x3908a0(0x1ab),'attributes':{'class':['ck',_0x3908a0(0x1db),_0x3908a0(0x1ee),_0x3908a0(0x1da)]}}),this[_0x3908a0(0x1de)][_0x3908a0(0x1c3)]([this[_0x3908a0(0x1ce)]]),this[_0x3908a0(0x1f9)]({'tag':_0x3908a0(0x1ab),'attributes':{'class':['ck',_0x3908a0(0x1f2),_0x51a750['to'](_0x3908a0(0x1b3),_0x56804f=>_0x3908a0(0x1c6)+_0x56804f),_0x51a750['to'](_0x3908a0(0x1d0),_0x24c680=>_0x24c680?_0x3908a0(0x1e0):void 0x0),_0x51a750['if'](_0x3908a0(0x1d5),_0x3908a0(0x1e7),_0x502f65=>!_0x502f65)]},'children':this[_0x3908a0(0x1de)],'on':{'mouseenter':_0x51a750['to'](()=>{const _0x868ad5=_0x3908a0;this[_0x868ad5(0x1d0)]&&this[_0x868ad5(0x1ea)](_0x868ad5(0x1bb),{'index':_0x35f33a[_0x868ad5(0x1cf)]});}),'mouseleave':_0x51a750['to'](()=>{const _0x292309=_0x3908a0;this[_0x292309(0x1d0)]&&this[_0x292309(0x1ea)](_0x292309(0x1b4),{'index':_0x35f33a[_0x292309(0x1cf)]});})}});}async[_0x4bfa88(0x1b8)]({part:_0x3107d1,renderingStrategy:_0x3a87da,showUnchangedParts:_0x2158a4=!0x1,abortSignal:_0x1f723a}){const _0x150055=_0x4bfa88;this[_0x150055(0x1be)]=_0x3107d1,this[_0x150055(0x1d5)]=this[_0x150055(0x1be)][_0x150055(0x1d6)]||_0x2158a4,this[_0x150055(0x1d5)]&&(_0x150055(0x1f6)===_0x3a87da?await this[_0x150055(0x1b6)][_0x150055(0x1d3)]({'document':this[_0x150055(0x1be)][_0x150055(0x1b1)],'targetElement':this[_0x150055(0x1ce)][_0x150055(0x1d8)],'abortSignal':_0x1f723a}):this[_0x150055(0x1ce)][_0x150055(0x1d8)][_0x150055(0x1ed)]=_0x5ea740(this[_0x150055(0x1be)][_0x150055(0x1b1)]));}[_0x4bfa88(0x1e1)](_0x50255f){const _0x4ce8d5=_0x4bfa88;_0x50255f?this[_0x4ce8d5(0x1de)][_0x4ce8d5(0x1b7)](this[_0x4ce8d5(0x1cb)])||this[_0x4ce8d5(0x1de)][_0x4ce8d5(0x1dc)](this[_0x4ce8d5(0x1cb)],0x0):this[_0x4ce8d5(0x1de)][_0x4ce8d5(0x1b7)](this[_0x4ce8d5(0x1cb)])&&this[_0x4ce8d5(0x1de)][_0x4ce8d5(0x1e9)](this[_0x4ce8d5(0x1cb)]);}}class Un extends _0x230f20{[_0x4bfa88(0x1de)];[_0x4bfa88(0x1d1)];[_0x4bfa88(0x1f5)];[_0x4bfa88(0x1e5)];[_0x4bfa88(0x1c7)];constructor(_0x4e91a0,{part:_0x34dcb9,uiIndex:_0x1cf46e,availableActions:_0x29e6d3}){const _0x4a5071=_0x4bfa88;super(_0x4e91a0),this[_0x4a5071(0x1f1)](_0x4a5071(0x1be),_0x34dcb9),this[_0x4a5071(0x1f1)](_0x4a5071(0x1d0),!0x0),this[_0x4a5071(0x1f1)](_0x4a5071(0x1b3),_0x4a5071(0x1cc));const _0x58bff8=new _0x48e0cc();_0x58bff8[_0x4a5071(0x1b1)]=_0x56ba17,_0x58bff8[_0x4a5071(0x1b2)]({'attributes':{'class':[_0x4a5071(0x1cd)]}});const _0x7ea016=[];if(_0x29e6d3[_0x4a5071(0x1f8)](_0x4a5071(0x1dd))){const _0xb4a908=new _0x225769(_0x4e91a0);_0xb4a908[_0x4a5071(0x1f1)]({'label':_0x136303(_0x4e91a0,_0x4a5071(0x1e4)),'tooltip':!0x0,'withText':!0x1,'icon':_0x31bda2}),_0xb4a908[_0x4a5071(0x1d4)](_0x4a5071(0x1d0))['to'](this),_0xb4a908['on'](_0x4a5071(0x1ad),()=>{const _0x2fb4af=_0x4a5071;this[_0x2fb4af(0x1ea)](_0x2fb4af(0x1dd),{'index':_0x34dcb9[_0x2fb4af(0x1cf)]});}),_0x7ea016[_0x4a5071(0x1ca)](_0xb4a908);}if(_0x29e6d3[_0x4a5071(0x1f8)](_0x4a5071(0x1af))){const _0x2c3172=new _0x225769(_0x4e91a0);_0x2c3172[_0x4a5071(0x1f1)]({'label':_0x136303(_0x4e91a0,_0x4a5071(0x1bc)),'tooltip':!0x0,'withText':!0x1,'icon':_0x4dc6c9}),_0x2c3172[_0x4a5071(0x1d4)](_0x4a5071(0x1d0))['to'](this),_0x2c3172['on'](_0x4a5071(0x1ad),()=>{const _0x33392d=_0x4a5071;this[_0x33392d(0x1ea)](_0x33392d(0x1af),{'index':_0x34dcb9[_0x33392d(0x1cf)]});}),_0x7ea016[_0x4a5071(0x1ca)](_0x2c3172);}const _0x503372=new _0x225769(_0x4e91a0);_0x503372[_0x4a5071(0x1f1)]({'label':_0x136303(_0x4e91a0,_0x4a5071(0x1d2)),'tooltip':!0x0,'withText':!0x1,'icon':_0x531438}),_0x503372[_0x4a5071(0x1d4)](_0x4a5071(0x1d0))['to'](this),_0x503372['on'](_0x4a5071(0x1ad),()=>{const _0x6aba07=_0x4a5071;this[_0x6aba07(0x1ea)](_0x6aba07(0x1bd),{'index':_0x34dcb9[_0x6aba07(0x1cf)]});}),_0x7ea016[_0x4a5071(0x1ca)](_0x503372),this[_0x4a5071(0x1d1)]=new _0x3f42e6(_0x4e91a0),this[_0x4a5071(0x1d1)][_0x4a5071(0x1b5)][_0x4a5071(0x1c3)](_0x7ea016),this[_0x4a5071(0x1f5)]=new _0x48e0cc(),this[_0x4a5071(0x1f5)][_0x4a5071(0x1b1)]=_0x1e626c,this[_0x4a5071(0x1f5)][_0x4a5071(0x1b2)]({'attributes':{'class':[_0x4a5071(0x1f3)],'data-cke-tooltip-text':_0x136303(_0x4e91a0,_0x4a5071(0x1ae)),'data-cke-tooltip-position':'n'}}),this[_0x4a5071(0x1e5)]=new _0x48e0cc(),this[_0x4a5071(0x1e5)][_0x4a5071(0x1b1)]=_0x1fc011,this[_0x4a5071(0x1e5)][_0x4a5071(0x1b2)]({'attributes':{'class':[_0x4a5071(0x1c0)],'data-cke-tooltip-text':_0x136303(_0x4e91a0,_0x4a5071(0x1ac)),'data-cke-tooltip-position':'n'}}),this[_0x4a5071(0x1c7)]=new _0x48e0cc(),this[_0x4a5071(0x1c7)][_0x4a5071(0x1b1)]=_0x1fc011,this[_0x4a5071(0x1c7)][_0x4a5071(0x1b2)]({'attributes':{'class':[_0x4a5071(0x1f7)],'data-cke-tooltip-text':_0x136303(_0x4e91a0,_0x4a5071(0x1eb)),'data-cke-tooltip-position':'n'}});const _0x11f0f6=new _0x230f20(_0x4e91a0);_0x11f0f6[_0x4a5071(0x1f9)]({'tag':_0x4a5071(0x1e8),'attributes':{'class':['ck',_0x4a5071(0x1c2)]},'children':[_0x136303(_0x4e91a0,_0x4a5071(0x1c9),_0x1cf46e[_0x4a5071(0x1c1)]())]}),this[_0x4a5071(0x1de)]=this[_0x4a5071(0x1b9)](),this[_0x4a5071(0x1de)][_0x4a5071(0x1c3)]([_0x58bff8,_0x11f0f6,this[_0x4a5071(0x1d1)]]),this[_0x4a5071(0x1f9)]({'tag':_0x4a5071(0x1ab),'attributes':{'class':['ck',_0x4a5071(0x1ee),_0x4a5071(0x1ef)]},'children':this[_0x4a5071(0x1de)]}),this['on'](_0x4a5071(0x1b0),(_0x48393f,_0x5b99,_0x289a86,_0x1eb1ee)=>{const _0x2fc1c4=_0x4a5071;switch(_0x1eb1ee){case _0x2fc1c4(0x1cc):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1e9)](this[_0x2fc1c4(0x1d1)]);break;case _0x2fc1c4(0x1e6):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1e9)](this[_0x2fc1c4(0x1f5)]);break;case _0x2fc1c4(0x1d7):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1e9)](this[_0x2fc1c4(0x1e5)]);break;case _0x2fc1c4(0x1c8):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1e9)](this[_0x2fc1c4(0x1c7)]);}switch(_0x289a86){case _0x2fc1c4(0x1cc):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1dc)](this[_0x2fc1c4(0x1d1)]);break;case _0x2fc1c4(0x1e6):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1dc)](this[_0x2fc1c4(0x1f5)]);break;case _0x2fc1c4(0x1d7):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1dc)](this[_0x2fc1c4(0x1e5)]);break;case _0x2fc1c4(0x1c8):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1dc)](this[_0x2fc1c4(0x1c7)]);}});}}
|
|
23
|
+
const _0x1843b3=_0x3097;(function(_0x102a41,_0x5ebb43){const _0x2412e1=_0x3097,_0x5c3aa7=_0x102a41();while(!![]){try{const _0x32fb78=parseInt(_0x2412e1(0x11c))/0x1+parseInt(_0x2412e1(0x147))/0x2*(-parseInt(_0x2412e1(0x10e))/0x3)+parseInt(_0x2412e1(0x114))/0x4+-parseInt(_0x2412e1(0x13c))/0x5*(-parseInt(_0x2412e1(0x11a))/0x6)+-parseInt(_0x2412e1(0x137))/0x7+parseInt(_0x2412e1(0x140))/0x8+-parseInt(_0x2412e1(0x139))/0x9;if(_0x32fb78===_0x5ebb43)break;else _0x5c3aa7['push'](_0x5c3aa7['shift']());}catch(_0x2d87f4){_0x5c3aa7['push'](_0x5c3aa7['shift']());}}}(_0xb25e,0xab9a5));import{View as _0x2c7b94,IconView as _0x1e4caf,ToolbarView as _0x4c0584,ButtonView as _0x32ee88}from'ckeditor5/src/ui.js';import{IconAddComment as _0x18a503,IconDocumentWithLoupe as _0x4b6ad3,IconDocumentWithCheckmark as _0x4bd956,IconDocumentWithCross as _0x30e085,IconRemove as _0x1d240a,IconThreeStars as _0x185c96}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x1fbc19}from'../../utils/htmlstreamer.js';import{getTranslation as _0x309eef}from'../../utils/common-translations.js';import{serialize as _0x173243}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2ca1b3}from'../../utils/eventnames.js';function _0x3097(_0x276356,_0x3a48bd){const _0xb25eee=_0xb25e();return _0x3097=function(_0x3097c1,_0x4fc732){_0x3097c1=_0x3097c1-0x106;let _0x174aab=_0xb25eee[_0x3097c1];return _0x174aab;},_0x3097(_0x276356,_0x3a48bd);}function _0xb25e(){const _0x438f07=['ck-ai-suggestion__body__content-part__content','setTemplate','ck-ai-suggestion__body__content-part_','rejectSuggestion','htmlStreamer','mouseOverSuggestion','ck-ai-suggestion__body__content-part__icon-title','extendTemplate','ck-ai-suggestion__body__content-part__icon-accepted','AI_SUGGESTION_CONTENT_PART_DELETE','insertSuggestion','_iconStateOutdated','AI_SUGGESTION_CONTENT_PART_REJECTED','partDefinition','push','remove','bindTemplate','ck-ai-suggestion__body__content-part_active','309TkfIHt','createCollection','accepted','span','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','ck-ai-suggestion__body__content-part__title','934008dOCVUX','delegate','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','change:state','element','addMany','4299546AMFisu','_iconStateRejected','859205pInQey','bind','streaming','ck-ai-suggestion__body__content-part__icon-outdated','ck-content','index','toString','_iconStateAccepted','isEnabled','ck-ai-suggestion__body__content-part','content','innerHTML','ck-hidden','hasChanges','div','includes','outdated','fire','_toolbarView','headerView','ck-ai-suggestion__body__content-part__icon-rejected','AI_SUGGESTION_CONTENT_PART_OUTDATED','children','add','has','rejected','ck-ai-suggestion__body__content-part__title__label','4485418DMwdNv','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','9652122JAdSDC','stream','mouseLeaveSuggestion','5ARoSpb','isVisible','execute','items','6669824xkLqwq','animation:\x20ck-html-streamer-fade-in\x20.5s','toggleHeader','state','AI_SUGGESTION_CONTENT_PART_TITLE','showChangeInText','ck-reset_all-excluded','4406dgMPhB','pending','set','updateContent','contentView'];_0xb25e=function(){return _0x438f07;};return _0xb25e();}export class AISuggestionBodyViewContentPartView extends _0x2c7b94{[_0x1843b3(0x150)];[_0x1843b3(0x132)];[_0x1843b3(0x12f)];[_0x1843b3(0x14b)];constructor(_0x3388c3,{part:_0x13d07b,uiIndex:_0x2e5600,areActionsDisabled:_0x52f2b0,availableActions:_0x35c17e}){const _0x2066ab=_0x1843b3;super(_0x3388c3),this[_0x2066ab(0x149)](_0x2066ab(0x109),_0x13d07b),this[_0x2066ab(0x149)](_0x2066ab(0x143),_0x2066ab(0x148)),this[_0x2066ab(0x149)](_0x2066ab(0x13d),!0x1),this[_0x2066ab(0x11d)](_0x2066ab(0x124))['to'](this,_0x2066ab(0x143),_0x468e17=>_0x2066ab(0x148)==_0x468e17&&!_0x52f2b0),this[_0x2066ab(0x132)]=this[_0x2066ab(0x10f)](),this[_0x2066ab(0x150)]=new _0x1fbc19({'textNodeStyle':_0x2066ab(0x141),'delay':0x14}),this[_0x2066ab(0x12f)]=new Dn(_0x3388c3,{'part':_0x13d07b,'uiIndex':_0x2e5600,'availableActions':_0x35c17e}),this[_0x2066ab(0x12f)][_0x2066ab(0x11d)](_0x2066ab(0x109))['to'](this),this[_0x2066ab(0x12f)][_0x2066ab(0x11d)](_0x2066ab(0x124))['to'](this),this[_0x2066ab(0x12f)][_0x2066ab(0x11d)](_0x2066ab(0x143))['to'](this),this[_0x2066ab(0x12f)][_0x2066ab(0x115)](..._0x2ca1b3)['to'](this);const _0x121299=this[_0x2066ab(0x10c)];this[_0x2066ab(0x14b)]=new _0x2c7b94(),this[_0x2066ab(0x14b)][_0x2066ab(0x14d)]({'tag':_0x2066ab(0x12a),'attributes':{'class':['ck',_0x2066ab(0x120),_0x2066ab(0x146),_0x2066ab(0x14c)]}}),this[_0x2066ab(0x132)][_0x2066ab(0x119)]([this[_0x2066ab(0x14b)]]),this[_0x2066ab(0x14d)]({'tag':_0x2066ab(0x12a),'attributes':{'class':['ck',_0x2066ab(0x125),_0x121299['to'](_0x2066ab(0x143),_0x131c98=>_0x2066ab(0x14e)+_0x131c98),_0x121299['to'](_0x2066ab(0x124),_0x262a95=>_0x262a95?_0x2066ab(0x10d):void 0x0),_0x121299['if'](_0x2066ab(0x13d),_0x2066ab(0x128),_0x12401f=>!_0x12401f)]},'children':this[_0x2066ab(0x132)],'on':{'mouseenter':_0x121299['to'](()=>{const _0x9d13fb=_0x2066ab;this[_0x9d13fb(0x124)]&&this[_0x9d13fb(0x12d)](_0x9d13fb(0x151),{'index':_0x13d07b[_0x9d13fb(0x121)]});}),'mouseleave':_0x121299['to'](()=>{const _0x1a1b64=_0x2066ab;this[_0x1a1b64(0x124)]&&this[_0x1a1b64(0x12d)](_0x1a1b64(0x13b),{'index':_0x13d07b[_0x1a1b64(0x121)]});})}});}async[_0x1843b3(0x14a)]({part:_0x3c017d,renderingStrategy:_0x3ec3e9,showUnchangedParts:_0x4b204e=!0x1,abortSignal:_0x549fbc}){const _0x239854=_0x1843b3;this[_0x239854(0x109)]=_0x3c017d,this[_0x239854(0x13d)]=this[_0x239854(0x109)][_0x239854(0x129)]||_0x4b204e,this[_0x239854(0x13d)]&&(_0x239854(0x11e)===_0x3ec3e9?await this[_0x239854(0x150)][_0x239854(0x13a)]({'document':this[_0x239854(0x109)][_0x239854(0x126)],'targetElement':this[_0x239854(0x14b)][_0x239854(0x118)],'abortSignal':_0x549fbc}):this[_0x239854(0x14b)][_0x239854(0x118)][_0x239854(0x127)]=_0x173243(this[_0x239854(0x109)][_0x239854(0x126)]));}[_0x1843b3(0x142)](_0x2e1ad2){const _0x5b6acc=_0x1843b3;_0x2e1ad2?this[_0x5b6acc(0x132)][_0x5b6acc(0x134)](this[_0x5b6acc(0x12f)])||this[_0x5b6acc(0x132)][_0x5b6acc(0x133)](this[_0x5b6acc(0x12f)],0x0):this[_0x5b6acc(0x132)][_0x5b6acc(0x134)](this[_0x5b6acc(0x12f)])&&this[_0x5b6acc(0x132)][_0x5b6acc(0x10b)](this[_0x5b6acc(0x12f)]);}}class Dn extends _0x2c7b94{[_0x1843b3(0x132)];[_0x1843b3(0x12e)];[_0x1843b3(0x123)];[_0x1843b3(0x11b)];[_0x1843b3(0x107)];constructor(_0x34f850,{part:_0x2a57cb,uiIndex:_0x466a70,availableActions:_0x1bed6e}){const _0x5961b4=_0x1843b3;super(_0x34f850),this[_0x5961b4(0x149)](_0x5961b4(0x109),_0x2a57cb),this[_0x5961b4(0x149)](_0x5961b4(0x124),!0x0),this[_0x5961b4(0x149)](_0x5961b4(0x143),_0x5961b4(0x148));const _0x34ec6a=new _0x1e4caf();_0x34ec6a[_0x5961b4(0x126)]=_0x185c96,_0x34ec6a[_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x152)]}});const _0xb64dc5=[];if(_0x1bed6e[_0x5961b4(0x12b)](_0x5961b4(0x145))){const _0x229beb=new _0x32ee88(_0x34f850);_0x229beb[_0x5961b4(0x149)]({'label':_0x309eef(_0x34f850,_0x5961b4(0x112)),'tooltip':!0x0,'withText':!0x1,'icon':_0x4b6ad3}),_0x229beb[_0x5961b4(0x11d)](_0x5961b4(0x124))['to'](this),_0x229beb['on'](_0x5961b4(0x13e),()=>{const _0x22340a=_0x5961b4;this[_0x22340a(0x12d)](_0x22340a(0x145),{'index':_0x2a57cb[_0x22340a(0x121)]});}),_0xb64dc5[_0x5961b4(0x10a)](_0x229beb);}if(_0x1bed6e[_0x5961b4(0x12b)](_0x5961b4(0x106))){const _0x2e8458=new _0x32ee88(_0x34f850);_0x2e8458[_0x5961b4(0x149)]({'label':_0x309eef(_0x34f850,_0x5961b4(0x138)),'tooltip':!0x0,'withText':!0x1,'icon':_0x18a503}),_0x2e8458[_0x5961b4(0x11d)](_0x5961b4(0x124))['to'](this),_0x2e8458['on'](_0x5961b4(0x13e),()=>{const _0xac0fc9=_0x5961b4;this[_0xac0fc9(0x12d)](_0xac0fc9(0x106),{'index':_0x2a57cb[_0xac0fc9(0x121)]});}),_0xb64dc5[_0x5961b4(0x10a)](_0x2e8458);}const _0x32c627=new _0x32ee88(_0x34f850);_0x32c627[_0x5961b4(0x149)]({'label':_0x309eef(_0x34f850,_0x5961b4(0x155)),'tooltip':!0x0,'withText':!0x1,'icon':_0x1d240a}),_0x32c627[_0x5961b4(0x11d)](_0x5961b4(0x124))['to'](this),_0x32c627['on'](_0x5961b4(0x13e),()=>{const _0x1ab78c=_0x5961b4;this[_0x1ab78c(0x12d)](_0x1ab78c(0x14f),{'index':_0x2a57cb[_0x1ab78c(0x121)]});}),_0xb64dc5[_0x5961b4(0x10a)](_0x32c627),this[_0x5961b4(0x12e)]=new _0x4c0584(_0x34f850),this[_0x5961b4(0x12e)][_0x5961b4(0x13f)][_0x5961b4(0x119)](_0xb64dc5),this[_0x5961b4(0x123)]=new _0x1e4caf(),this[_0x5961b4(0x123)][_0x5961b4(0x126)]=_0x4bd956,this[_0x5961b4(0x123)][_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x154)],'data-cke-tooltip-text':_0x309eef(_0x34f850,_0x5961b4(0x116)),'data-cke-tooltip-position':'n'}}),this[_0x5961b4(0x11b)]=new _0x1e4caf(),this[_0x5961b4(0x11b)][_0x5961b4(0x126)]=_0x30e085,this[_0x5961b4(0x11b)][_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x130)],'data-cke-tooltip-text':_0x309eef(_0x34f850,_0x5961b4(0x108)),'data-cke-tooltip-position':'n'}}),this[_0x5961b4(0x107)]=new _0x1e4caf(),this[_0x5961b4(0x107)][_0x5961b4(0x126)]=_0x30e085,this[_0x5961b4(0x107)][_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x11f)],'data-cke-tooltip-text':_0x309eef(_0x34f850,_0x5961b4(0x131)),'data-cke-tooltip-position':'n'}});const _0xba849f=new _0x2c7b94(_0x34f850);_0xba849f[_0x5961b4(0x14d)]({'tag':_0x5961b4(0x111),'attributes':{'class':['ck',_0x5961b4(0x136)]},'children':[_0x309eef(_0x34f850,_0x5961b4(0x144),_0x466a70[_0x5961b4(0x122)]())]}),this[_0x5961b4(0x132)]=this[_0x5961b4(0x10f)](),this[_0x5961b4(0x132)][_0x5961b4(0x119)]([_0x34ec6a,_0xba849f,this[_0x5961b4(0x12e)]]),this[_0x5961b4(0x14d)]({'tag':_0x5961b4(0x12a),'attributes':{'class':['ck',_0x5961b4(0x146),_0x5961b4(0x113)]},'children':this[_0x5961b4(0x132)]}),this['on'](_0x5961b4(0x117),(_0x1542fb,_0x4981f4,_0x2706c8,_0x5dfe70)=>{const _0x573a03=_0x5961b4;switch(_0x5dfe70){case _0x573a03(0x148):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x12e)]);break;case _0x573a03(0x110):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x123)]);break;case _0x573a03(0x135):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x11b)]);break;case _0x573a03(0x12c):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x107)]);}switch(_0x2706c8){case _0x573a03(0x148):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x12e)]);break;case _0x573a03(0x110):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x123)]);break;case _0x573a03(0x135):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x11b)]);break;case _0x573a03(0x12c):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x107)]);}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3855b7=_0x236d;function _0x1b56(){const _0x1fe64e=['icon','remove','3508hKKyHv','2469OryQoZ','fire','div','6366cUpWhe','isOn','isShowChangesToggleVisible','span','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isVisible','set','AI_SUGGESTION_HEADER_TITLE','setTemplate','3512418VdFepx','render','549834NdWBFx','ck-ai-suggestion__header','ck-hidden','children','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','1325nIiQBJ','637304IlPbuR','showDiff','3020384JwRmCH','content','showHeader','10686825NEwMql','filter','execute','bind','toggleShowChanges','iconView','showChangesToggleView','add'];_0x1b56=function(){return _0x1fe64e;};return _0x1b56();}(function(_0x112b3a,_0x3badfa){const _0x55fe15=_0x236d,_0x294ad8=_0x112b3a();while(!![]){try{const _0x29c362=-parseInt(_0x55fe15(0x187))/0x1+-parseInt(_0x55fe15(0x181))/0x2+-parseInt(_0x55fe15(0x173))/0x3*(-parseInt(_0x55fe15(0x172))/0x4)+parseInt(_0x55fe15(0x186))/0x5*(parseInt(_0x55fe15(0x176))/0x6)+-parseInt(_0x55fe15(0x17f))/0x7+-parseInt(_0x55fe15(0x189))/0x8+parseInt(_0x55fe15(0x168))/0x9;if(_0x29c362===_0x3badfa)break;else _0x294ad8['push'](_0x294ad8['shift']());}catch(_0x2e6744){_0x294ad8['push'](_0x294ad8['shift']());}}}(_0x1b56,0x615e2));import{getTranslation as _0x16b3be}from'../../utils/common-translations.js';import{ButtonView as _0x22934b,IconView as _0x3d108f,View as _0x4783ba}from'ckeditor5/src/ui.js';import{IconDocument as _0x1f94c6,IconShowChangesOff as _0xe95ac,IconShowChangesOn as _0x58dffa}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x4783ba{[_0x3855b7(0x16e)];constructor(_0x5bce01,_0xd85842){const _0x1e7f62=_0x3855b7;super(_0x5bce01),this[_0x1e7f62(0x17c)](_0x1e7f62(0x178),!0x0),this[_0x1e7f62(0x16e)]=new ShowChangesToggleView(_0x5bce01),this[_0x1e7f62(0x16e)][_0x1e7f62(0x17c)]({'class':_0x1e7f62(0x185),'label':_0x16b3be(_0x5bce01,_0x1e7f62(0x17a)),'withText':!0x0}),this[_0x1e7f62(0x16e)][_0x1e7f62(0x177)]=_0xd85842[_0x1e7f62(0x188)],this[_0x1e7f62(0x16e)][_0x1e7f62(0x16b)](_0x1e7f62(0x17b))['to'](this,_0x1e7f62(0x178)),this[_0x1e7f62(0x16e)][_0x1e7f62(0x16b)](_0x1e7f62(0x170))['to'](this[_0x1e7f62(0x16e)],_0x1e7f62(0x177),_0x582319=>_0x582319?_0x58dffa:_0xe95ac),this[_0x1e7f62(0x16e)]['on'](_0x1e7f62(0x16a),()=>{const _0x2ac516=_0x1e7f62;this[_0x2ac516(0x16e)][_0x2ac516(0x177)]=!this[_0x2ac516(0x16e)][_0x2ac516(0x177)],this[_0x2ac516(0x174)](_0x2ac516(0x16c),{'isOn':this[_0x2ac516(0x16e)][_0x2ac516(0x177)]});});const _0xab8cdf=new _0x3d108f();_0xab8cdf[_0x1e7f62(0x18a)]=_0x1f94c6,this[_0x1e7f62(0x17e)]({'tag':_0x1e7f62(0x175),'attributes':{'class':['ck',_0x1e7f62(0x182),!0x1===_0xd85842[_0x1e7f62(0x18b)]?_0x1e7f62(0x183):null][_0x1e7f62(0x169)](Boolean)},'children':[_0xab8cdf,{'tag':_0x1e7f62(0x179),'children':[_0x16b3be(_0x5bce01,_0x1e7f62(0x17d))]},this[_0x1e7f62(0x16e)]]});}}function _0x236d(_0x415cfe,_0x42eb43){const _0x1b56c2=_0x1b56();return _0x236d=function(_0x236d8e,_0x316d67){_0x236d8e=_0x236d8e-0x168;let _0x35eeb0=_0x1b56c2[_0x236d8e];return _0x35eeb0;},_0x236d(_0x415cfe,_0x42eb43);}export class ShowChangesToggleView extends _0x22934b{[_0x3855b7(0x180)](){const _0x44d51d=_0x3855b7;super[_0x44d51d(0x180)](),this[_0x44d51d(0x184)][_0x44d51d(0x171)](this[_0x44d51d(0x16d)]),this[_0x44d51d(0x184)][_0x44d51d(0x16f)](this[_0x44d51d(0x16d)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x273e7e,_0x2afef5){const _0x4d18b5=_0x59be,_0x780011=_0x273e7e();while(!![]){try{const _0x48e5f8=parseInt(_0x4d18b5(0xa9))/0x1*(-parseInt(_0x4d18b5(0x9b))/0x2)+parseInt(_0x4d18b5(0xab))/0x3*(parseInt(_0x4d18b5(0x9e))/0x4)+-parseInt(_0x4d18b5(0xa8))/0x5+-parseInt(_0x4d18b5(0xac))/0x6*(-parseInt(_0x4d18b5(0xa1))/0x7)+-parseInt(_0x4d18b5(0xad))/0x8*(parseInt(_0x4d18b5(0xa2))/0x9)+-parseInt(_0x4d18b5(0xae))/0xa*(-parseInt(_0x4d18b5(0xa7))/0xb)+-parseInt(_0x4d18b5(0x9f))/0xc;if(_0x48e5f8===_0x2afef5)break;else _0x780011['push'](_0x780011['shift']());}catch(_0x51e46f){_0x780011['push'](_0x780011['shift']());}}}(_0x11c8,0xe2f0d));function _0x59be(_0x468313,_0x17391e){const _0x11c83d=_0x11c8();return _0x59be=function(_0x59be7f,_0xe6013a){_0x59be7f=_0x59be7f-0x97;let _0x4dc1dc=_0x11c83d[_0x59be7f];return _0x4dc1dc;},_0x59be(_0x468313,_0x17391e);}function _0x11c8(){const _0x599dbe=['20583ZzksQY','isMaximized','resizeTabs','isOn','AI_TABS_LABEL_MAXIMIZE','363QUpzbt','442325EHsCEp','114252KsZqti','fire','6033EvvmwP','3330gvwKtZ','2488ZCRUlY','221660EOxYiF','execute','AI_TABS_LABEL_MINIMIZE','icon','set','4lzrUzV','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','bind','3176ccvEDY','23712624DUHRPM','label','20251ISGACK'];_0x11c8=function(){return _0x599dbe;};return _0x11c8();}import{ButtonView as _0x235291}from'ckeditor5/src/ui.js';import{IconMaximize as _0x46b41c,IconMinimize as _0xdd7566}from'ckeditor5/src/icons.js';import{getTranslation as _0x527804}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x130ce1,_0x2dad5d){const _0x5c90ea=_0x59be,_0x4048ea=new _0x235291(_0x130ce1),_0x19d869=_0x527804(_0x130ce1,_0x5c90ea(0x98)),_0x57eb5e=_0x527804(_0x130ce1,_0x5c90ea(0xa6));return _0x4048ea[_0x5c90ea(0x9a)]({'withText':!0x1,'icon':_0x46b41c,'tooltip':!0x0,'class':_0x5c90ea(0x9c)}),_0x4048ea[_0x5c90ea(0x9d)](_0x5c90ea(0xa0))['to'](_0x2dad5d,_0x5c90ea(0xa3),_0x178fc2=>_0x178fc2?_0x19d869:_0x57eb5e),_0x4048ea[_0x5c90ea(0x9d)](_0x5c90ea(0x99))['to'](_0x2dad5d,_0x5c90ea(0xa3),_0x2e4d5d=>_0x2e4d5d?_0xdd7566:_0x46b41c),_0x4048ea[_0x5c90ea(0x9d)](_0x5c90ea(0xa5))['to'](_0x2dad5d,_0x5c90ea(0xa3)),_0x4048ea['on'](_0x5c90ea(0x97),()=>{const _0xab12b1=_0x5c90ea;_0x2dad5d[_0xab12b1(0xaa)](_0xab12b1(0xa4));}),_0x4048ea;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x327b(){const _0x104a60=['createBefore','417Nsxsrs','20099192iaRlEC','ai-documentposition-index-out-of-bounds','index','2753972cLHiRd','slice','9pmWcZr','isEqual','createAfter','reduce','258445lhxmjy','31596WVBOFY','start','getNudgedToWordBoundary','1707165VaKQqp','ai-documentposition-createfrompath-path-cannot-be-empty','document','path','end','3675525IhHtbQ','length','nextNode','data','match','indexOf','same','createFromPath','parent','previousNode','createAt','9365418cMohPh'];_0x327b=function(){return _0x104a60;};return _0x327b();}const _0x59c3ae=_0x3647;(function(_0x489b96,_0x527a6d){const _0x9f9c45=_0x3647,_0x272ec1=_0x489b96();while(!![]){try{const _0xe01322=parseInt(_0x9f9c45(0x1d7))/0x1+parseInt(_0x9f9c45(0x1d1))/0x2+parseInt(_0x9f9c45(0x1cd))/0x3*(parseInt(_0x9f9c45(0x1d8))/0x4)+-parseInt(_0x9f9c45(0x1db))/0x5+parseInt(_0x9f9c45(0x1cb))/0x6+-parseInt(_0x9f9c45(0x1e0))/0x7+parseInt(_0x9f9c45(0x1ce))/0x8*(-parseInt(_0x9f9c45(0x1d3))/0x9);if(_0xe01322===_0x527a6d)break;else _0x272ec1['push'](_0x272ec1['shift']());}catch(_0x3f092a){_0x272ec1['push'](_0x272ec1['shift']());}}}(_0x327b,0xdf7bc));import{CKEditorError as _0x237713,compareArrays as _0x3ebc22}from'ckeditor5/src/utils.js';import{getNodePath as _0x3488da,isText as _0x3b4860,getChildren as _0x30a9da,isDocument as _0x1844ed,getParent as _0x579a6d,textContent as _0x2f0098,hasChildren as _0x5e4710}from'./htmlparser.js';function _0x3647(_0x4cce27,_0x233b11){const _0x327bc6=_0x327b();return _0x3647=function(_0x3647c7,_0x32526b){_0x3647c7=_0x3647c7-0x1c1;let _0x10b548=_0x327bc6[_0x3647c7];return _0x10b548;},_0x3647(_0x4cce27,_0x233b11);}export class DocumentPosition{[_0x59c3ae(0x1c8)];[_0x59c3ae(0x1d0)];[_0x59c3ae(0x1dd)];constructor(_0x3127f7,_0x1747d0,_0x5353c7){const _0x1242fa=_0x59c3ae;if(_0x3b4860(_0x1747d0)&&_0x5353c7>_0x1747d0[_0x1242fa(0x1c3)][_0x1242fa(0x1c1)])throw new _0x237713(_0x1242fa(0x1cf),null,{'index':_0x5353c7,'parent':_0x1747d0});if(_0x5e4710(_0x1747d0)&&_0x5353c7>_0x30a9da(_0x1747d0)[_0x1242fa(0x1c1)])throw new _0x237713(_0x1242fa(0x1cf),null,{'index':_0x5353c7,'parent':_0x1747d0});if(_0x5353c7<0x0)throw new _0x237713(_0x1242fa(0x1cf),null,{'index':_0x5353c7,'parent':_0x1747d0});this[_0x1242fa(0x1c8)]=_0x1747d0,this[_0x1242fa(0x1d0)]=_0x5353c7,this[_0x1242fa(0x1dd)]=_0x3127f7;}get[_0x59c3ae(0x1de)](){const _0x4dfe62=_0x59c3ae;return[..._0x3488da(this[_0x4dfe62(0x1c8)]),this[_0x4dfe62(0x1d0)]];}[_0x59c3ae(0x1d4)](_0x30ba8e){const _0x41cb2c=_0x59c3ae;return this[_0x41cb2c(0x1dd)]==_0x30ba8e[_0x41cb2c(0x1dd)]&&_0x41cb2c(0x1c6)===_0x3ebc22(this[_0x41cb2c(0x1de)],_0x30ba8e[_0x41cb2c(0x1de)]);}get[_0x59c3ae(0x1c2)](){const _0x293359=_0x59c3ae;if(_0x5e4710(this[_0x293359(0x1c8)])){const _0x166af7=_0x30a9da(this[_0x293359(0x1c8)])[this[_0x293359(0x1d0)]];if(_0x166af7)return _0x166af7;{const _0x3c9387=DocumentPosition[_0x293359(0x1d5)](this[_0x293359(0x1dd)],this[_0x293359(0x1c8)]);if(_0x3c9387)return _0x3c9387[_0x293359(0x1c2)];}}return null;}get[_0x59c3ae(0x1c9)](){const _0x3e0a51=_0x59c3ae;if(_0x5e4710(this[_0x3e0a51(0x1c8)])){const _0x208a73=_0x30a9da(this[_0x3e0a51(0x1c8)])[this[_0x3e0a51(0x1d0)]-0x1];if(_0x208a73)return _0x208a73;{const _0x3eccde=DocumentPosition[_0x3e0a51(0x1cc)](this[_0x3e0a51(0x1dd)],this[_0x3e0a51(0x1c8)]);if(_0x3eccde)return _0x3eccde[_0x3e0a51(0x1c9)];}}return null;}[_0x59c3ae(0x1da)](_0x12f124=_0x59c3ae(0x1d9)){const _0x28baf4=_0x59c3ae;if(!_0x3b4860(this[_0x28baf4(0x1c8)]))return this;const _0xc337cf=this[_0x28baf4(0x1de)][this[_0x28baf4(0x1de)][_0x28baf4(0x1c1)]-0x1],_0xb0fa2d=_0x2f0098(this[_0x28baf4(0x1c8)])[_0x28baf4(0x1c4)](/(?:\s*\S+\s*)/g);let _0x549bf8=0x0,_0x2e150f=_0xc337cf;for(const _0x59f9cb of _0xb0fa2d){if(_0x549bf8+_0x59f9cb[_0x28baf4(0x1c1)]===_0xc337cf)return this;if(_0x549bf8+_0x59f9cb[_0x28baf4(0x1c1)]>_0xc337cf){_0x2e150f=_0x28baf4(0x1d9)===_0x12f124?_0x549bf8:_0x549bf8+_0x59f9cb[_0x28baf4(0x1c1)];break;}_0x549bf8+=_0x59f9cb[_0x28baf4(0x1c1)];}return DocumentPosition[_0x28baf4(0x1ca)](this[_0x28baf4(0x1dd)],this[_0x28baf4(0x1c8)],_0x2e150f);}static[_0x59c3ae(0x1d5)](_0x4ed4c0,_0x12c867){const _0x5513ee=_0x59c3ae;if(_0x1844ed(_0x12c867))return null;const _0x15e911=_0x579a6d(_0x12c867);return DocumentPosition[_0x5513ee(0x1ca)](_0x4ed4c0,_0x15e911,_0x30a9da(_0x15e911)[_0x5513ee(0x1c5)](_0x12c867)+0x1);}static[_0x59c3ae(0x1cc)](_0x3822a7,_0x1a35cc){const _0x230a50=_0x59c3ae;if(_0x1844ed(_0x1a35cc))return null;const _0x438cec=_0x579a6d(_0x1a35cc);return DocumentPosition[_0x230a50(0x1ca)](_0x3822a7,_0x438cec,_0x30a9da(_0x438cec)[_0x230a50(0x1c5)](_0x1a35cc));}static[_0x59c3ae(0x1ca)](_0x2c3f61,_0x47818f,_0x142bd1=_0x59c3ae(0x1d9)){const _0x4e14ff=_0x59c3ae;return new DocumentPosition(_0x2c3f61,_0x47818f,_0x4e14ff(0x1d9)===_0x142bd1?0x0:_0x4e14ff(0x1df)===_0x142bd1?_0x3b4860(_0x47818f)?_0x47818f[_0x4e14ff(0x1c3)][_0x4e14ff(0x1c1)]:_0x30a9da(_0x47818f)[_0x4e14ff(0x1c1)]:_0x142bd1);}static[_0x59c3ae(0x1c7)](_0xc08b33,_0x5f826e){const _0x3ee558=_0x59c3ae;if(!_0x5f826e[_0x3ee558(0x1c1)])throw new _0x237713(_0x3ee558(0x1dc),null,{'path':_0x5f826e});const _0x2a5cea=_0x5f826e[_0x3ee558(0x1d2)](0x0,-0x1)[_0x3ee558(0x1d6)]((_0x127927,_0x27d2b3)=>_0x3b4860(_0x127927)?_0x127927:_0x30a9da(_0x127927)[_0x27d2b3],_0xc08b33);return DocumentPosition[_0x3ee558(0x1ca)](_0xc08b33,_0x2a5cea,_0x5f826e[_0x5f826e[_0x3ee558(0x1c1)]-0x1]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e5528=_0x113c;(function(_0x5a2ccb,_0x1c1874){const _0x13cf6f=_0x113c,_0x3438f3=_0x5a2ccb();while(!![]){try{const _0x374970=parseInt(_0x13cf6f(0x13b))/0x1*(parseInt(_0x13cf6f(0x13d))/0x2)+-parseInt(_0x13cf6f(0x139))/0x3*(parseInt(_0x13cf6f(0x137))/0x4)+parseInt(_0x13cf6f(0x145))/0x5*(-parseInt(_0x13cf6f(0x141))/0x6)+-parseInt(_0x13cf6f(0x148))/0x7*(parseInt(_0x13cf6f(0x132))/0x8)+-parseInt(_0x13cf6f(0x146))/0x9+-parseInt(_0x13cf6f(0x135))/0xa+parseInt(_0x13cf6f(0x13a))/0xb;if(_0x374970===_0x1c1874)break;else _0x3438f3['push'](_0x3438f3['shift']());}catch(_0x587d13){_0x3438f3['push'](_0x3438f3['shift']());}}}(_0x1dd6,0xad0c6));function _0x113c(_0x30f4fb,_0x1f8e2d){const _0x1dd62e=_0x1dd6();return _0x113c=function(_0x113cf4,_0x48a537){_0x113cf4=_0x113cf4-0x131;let _0x2ff0f1=_0x1dd62e[_0x113cf4];return _0x2ff0f1;},_0x113c(_0x30f4fb,_0x1f8e2d);}import{DocumentPosition as _0x2e4810}from'./documentposition.js';import{clone as _0x205f7f,getParents as _0x7d48,Document as _0xc03aa4,Text as _0x26308c,isTag as _0x117caa,isText as _0x5acc06,replaceElement as _0x535c05,removeElement as _0x5bffcb}from'./htmlparser.js';function _0x1dd6(){const _0xf311f=['4905fHPGyE','9559917ZdKJLx','reverse','14qPtiAL','start','getContent','nextNode','document','push','forEach','getNudgedToWordBoundary','path','end','length','data','4512328ewsosy','lastChild','previousNode','12647510IJuwUV','parent','128300CFTcxk','slice','99lqAEvy','68897631CGNrPg','34873NGUDSU','createBefore','10ymfFRD','includes','isEqual','firstChild','7434smRYyR','createFromPath','createAt','createAfter'];_0x1dd6=function(){return _0xf311f;};return _0x1dd6();}export class DocumentRange{[_0x1e5528(0x149)];[_0x1e5528(0x151)];constructor(_0x2681be,_0xa696b2){const _0x3dc0c0=_0x1e5528;this[_0x3dc0c0(0x149)]=_0x2681be,this[_0x3dc0c0(0x151)]=_0xa696b2;}[_0x1e5528(0x13f)](_0x148c52){const _0x42b468=_0x1e5528;return this==_0x148c52||this[_0x42b468(0x149)][_0x42b468(0x13f)](_0x148c52[_0x42b468(0x149)])&&this[_0x42b468(0x151)][_0x42b468(0x13f)](_0x148c52[_0x42b468(0x151)]);}[_0x1e5528(0x14f)](){const _0x5a4bf3=_0x1e5528;return new DocumentRange(this[_0x5a4bf3(0x149)][_0x5a4bf3(0x14f)](_0x5a4bf3(0x149)),this[_0x5a4bf3(0x151)][_0x5a4bf3(0x14f)](_0x5a4bf3(0x151)));}[_0x1e5528(0x14a)](){const _0x4d49aa=_0x1e5528,_0x1be1ac=_0x205f7f(this[_0x4d49aa(0x149)][_0x4d49aa(0x14c)]),_0x43b641=_0x2e4810[_0x4d49aa(0x142)](_0x1be1ac,this[_0x4d49aa(0x149)][_0x4d49aa(0x150)]),_0x2669d0=_0x2e4810[_0x4d49aa(0x142)](_0x1be1ac,this[_0x4d49aa(0x151)][_0x4d49aa(0x150)]);let _0x3c86e2,_0x3a1b38;if(_0x5acc06(_0x43b641[_0x4d49aa(0x136)])){const _0x22f7b3=_0x43b641[_0x4d49aa(0x150)][_0x43b641[_0x4d49aa(0x150)][_0x4d49aa(0x152)]-0x1],_0x175d91=new _0x26308c(_0x43b641[_0x4d49aa(0x136)][_0x4d49aa(0x131)][_0x4d49aa(0x138)](_0x22f7b3));_0x535c05(_0x43b641[_0x4d49aa(0x136)],_0x175d91),_0x3c86e2=_0x175d91;}else _0x3c86e2=_0x43b641[_0x4d49aa(0x14b)];if(_0x5acc06(_0x2669d0[_0x4d49aa(0x136)])){const _0x46fa92=_0x2669d0[_0x4d49aa(0x150)][_0x2669d0[_0x4d49aa(0x150)][_0x4d49aa(0x152)]-0x1],_0x3a43cc=new _0x26308c(_0x2669d0[_0x4d49aa(0x136)][_0x4d49aa(0x131)][_0x4d49aa(0x138)](0x0,_0x46fa92));_0x535c05(_0x2669d0[_0x4d49aa(0x136)],_0x3a43cc),_0x3a1b38=_0x3a43cc;}else _0x3a1b38=_0x2669d0[_0x4d49aa(0x134)];if(!(_0x3c86e2&&_0x3a1b38&&_0x1be1ac[_0x4d49aa(0x140)]&&_0x1be1ac[_0x4d49aa(0x133)]))return new _0xc03aa4([]);const _0x5dfe8e=_0x7d48(_0x3c86e2),_0x2342f3=_0x7d48(_0x3a1b38),_0x34d3ae=[],_0x76b3d6=[];let _0x219842=_0x1be1ac[_0x4d49aa(0x140)];for(;_0x219842&&_0x219842!==_0x3c86e2;){let _0x402a91;_0x5dfe8e[_0x4d49aa(0x13e)](_0x219842)||_0x34d3ae[_0x4d49aa(0x14d)](_0x219842),_0x402a91=_0x117caa(_0x219842)?_0x2e4810[_0x4d49aa(0x143)](_0x1be1ac,_0x219842,_0x4d49aa(0x149)):_0x2e4810[_0x4d49aa(0x144)](_0x1be1ac,_0x219842),_0x219842=_0x402a91?_0x402a91[_0x4d49aa(0x14b)]:null;}for(_0x219842=_0x1be1ac[_0x4d49aa(0x133)];_0x219842&&_0x219842!==_0x3a1b38;){let _0x24863b;_0x2342f3[_0x4d49aa(0x13e)](_0x219842)||_0x76b3d6[_0x4d49aa(0x14d)](_0x219842),_0x24863b=_0x117caa(_0x219842)?_0x2e4810[_0x4d49aa(0x143)](_0x1be1ac,_0x219842,_0x4d49aa(0x151)):_0x2e4810[_0x4d49aa(0x13c)](_0x1be1ac,_0x219842),_0x219842=_0x24863b?_0x24863b[_0x4d49aa(0x134)]:null;}return _0x34d3ae[_0x4d49aa(0x14e)](_0x15df37=>{_0x5bffcb(_0x15df37);}),_0x76b3d6[_0x4d49aa(0x147)]()[_0x4d49aa(0x14e)](_0x50a0fb=>{_0x5bffcb(_0x50a0fb);}),_0x1be1ac;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x41413f,_0x186b28){var _0x1efa03=_0x48c5,_0x51425d=_0x41413f();while(!![]){try{var _0x298012=-parseInt(_0x1efa03(0xed))/0x1*(parseInt(_0x1efa03(0xe3))/0x2)+parseInt(_0x1efa03(0xf0))/0x3+parseInt(_0x1efa03(0xf1))/0x4*(-parseInt(_0x1efa03(0xe4))/0x5)+-parseInt(_0x1efa03(0xe7))/0x6*(parseInt(_0x1efa03(0xea))/0x7)+parseInt(_0x1efa03(0xe9))/0x8+-parseInt(_0x1efa03(0xe8))/0x9*(-parseInt(_0x1efa03(0xec))/0xa)+-parseInt(_0x1efa03(0xf2))/0xb*(-parseInt(_0x1efa03(0xee))/0xc);if(_0x298012===_0x186b28)break;else _0x51425d['push'](_0x51425d['shift']());}catch(_0x2b381b){_0x51425d['push'](_0x51425d['shift']());}}}(_0x4a00,0x3b15a));import{CKEditorError as _0x4d81ef}from'ckeditor5/src/utils.js';import{Editor as _0x233e8e}from'ckeditor5/src/core.js';function _0x4a00(){var _0xbefe02=['36GplQxP','get','675870QPTlLa','4PWeeeD','1781659aMxpMT','editors','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','226652UcYtQU','1751635DWlheq','warn','length','37302tldatr','71451tiSHOy','1927896Psezrc','154SIricC','ai-get-editor-from-context-no-editor','290miJaHV','4gPEPeh'];_0x4a00=function(){return _0xbefe02;};return _0x4a00();}function _0x48c5(_0x3dcc78,_0x4e3141){var _0x4a003c=_0x4a00();return _0x48c5=function(_0x48c5a4,_0x336f86){_0x48c5a4=_0x48c5a4-0xe2;var _0x46bab4=_0x4a003c[_0x48c5a4];return _0x46bab4;},_0x48c5(_0x3dcc78,_0x4e3141);}export function getEditorFromContext(_0x22a6e7){var _0x5eaeee=_0x48c5;if(_0x22a6e7 instanceof _0x233e8e)return _0x22a6e7;if(_0x22a6e7?.[_0x5eaeee(0xf3)]&&_0x22a6e7[_0x5eaeee(0xf3)][_0x5eaeee(0xef)](0x0))return _0x22a6e7[_0x5eaeee(0xf3)][_0x5eaeee(0xe6)]>0x1&&console[_0x5eaeee(0xe5)](_0x5eaeee(0xe2)),_0x22a6e7[_0x5eaeee(0xf3)][_0x5eaeee(0xef)](0x0);throw new _0x4d81ef(_0x5eaeee(0xeb));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2c2277,_0x20428f){const _0x3d98a0=_0x5e64,_0x4b55d1=_0x2c2277();while(!![]){try{const _0x378607=-parseInt(_0x3d98a0(0xb4))/0x1+-parseInt(_0x3d98a0(0xb7))/0x2*(parseInt(_0x3d98a0(0xb3))/0x3)+-parseInt(_0x3d98a0(0xac))/0x4*(parseInt(_0x3d98a0(0xb8))/0x5)+-parseInt(_0x3d98a0(0xb2))/0x6*(parseInt(_0x3d98a0(0xc2))/0x7)+-parseInt(_0x3d98a0(0xbe))/0x8*(-parseInt(_0x3d98a0(0xcc))/0x9)+-parseInt(_0x3d98a0(0xc1))/0xa+-parseInt(_0x3d98a0(0xc8))/0xb*(-parseInt(_0x3d98a0(0xcf))/0xc);if(_0x378607===_0x20428f)break;else _0x4b55d1['push'](_0x4b55d1['shift']());}catch(_0x1f16c8){_0x4b55d1['push'](_0x4b55d1['shift']());}}}(_0x3810,0x277fe));import{transformOperationSets as _0x3f4b12}from'ckeditor5/src/engine.js';function _0x5e64(_0x47387e,_0xa94322){const _0x381057=_0x3810();return _0x5e64=function(_0x5e6465,_0x5bbbac){_0x5e6465=_0x5e6465-0xa8;let _0x1a3bef=_0x381057[_0x5e6465];return _0x1a3bef;},_0x5e64(_0x47387e,_0xa94322);}import{append as _0x3abc71,findByAttribute as _0x5f04ed,prependChild as _0x132f61,removeElement as _0x299cc1,serialize as _0x47e545}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x196913,interaction:_0x2577bd,reply:_0x3311e1,groups:_0x459c05,transform:_0x395f32,documentCompare:_0x58fb17,documentCompareOptions:_0x1bb88c}){const _0x17fae4=_0x5e64,_0x34f4a2=_0x2577bd[_0x17fae4(0xa8)]();if(!_0x34f4a2)return[];const _0x48f90a=_0x34f4a2[_0x17fae4(0xbc)],_0x1fd249=_0x34f4a2[_0x17fae4(0xad)],_0x23bd37=_0x3311e1[_0x17fae4(0xc3)][_0x17fae4(0xb6)](!0x0);for(const {changes:_0x4e2d42}of _0x459c05){const _0x2900a6=_0x4e2d42[_0x17fae4(0xbb)](_0x202897=>_0x17fae4(0xbd)!=_0x202897[_0x17fae4(0xbf)])[_0x17fae4(0xcb)](_0x1d6ace=>_0x5f04ed(_0x17fae4(0xb1),_0x1d6ace['id'],_0x23bd37)),_0x18418e=_0x4e2d42[_0x17fae4(0xbb)](_0xb23abb=>_0x17fae4(0xc7)!=_0xb23abb[_0x17fae4(0xbf)])[_0x17fae4(0xcb)](_0x208e11=>_0x208e11[_0x17fae4(0xc4)][_0x17fae4(0xb6)](!0x0));let _0x274f53=null;if(_0x2900a6[_0x17fae4(0xb0)]){_0x274f53=_0x2900a6[0x0][_0x17fae4(0xca)];for(let _0x2b4f04=0x0;_0x2b4f04<_0x2900a6[_0x17fae4(0xb0)];_0x2b4f04++)_0x299cc1(_0x2900a6[_0x2b4f04]);}if(_0x18418e[_0x17fae4(0xb0)]){_0x274f53||(_0x4e2d42[0x0][_0x17fae4(0xb9)]?_0x274f53=_0x5f04ed(_0x17fae4(0xb1),_0x4e2d42[0x0][_0x17fae4(0xb9)],_0x23bd37):(_0x274f53=_0x18418e[_0x17fae4(0xcd)](),_0x132f61(_0x23bd37,_0x274f53)));for(let _0x5becf1=0x0;_0x5becf1<_0x18418e[_0x17fae4(0xb0)];_0x5becf1++)_0x3abc71(_0x274f53,_0x18418e[_0x5becf1]),_0x274f53=_0x18418e[_0x5becf1];}}const _0x4d1d15=_0x47e545(_0x23bd37),_0x234df6=_0x58fb17[_0x17fae4(0xc0)](_0x48f90a,_0x4d1d15,_0x1bb88c)[_0x17fae4(0xab)]();if(_0x395f32){const _0x4e1071=_0x196913[_0x17fae4(0xce)][_0x17fae4(0xc6)][_0x17fae4(0xaf)][_0x17fae4(0xab)](_0x1fd249),_0x5f1449={'document':_0x196913[_0x17fae4(0xce)][_0x17fae4(0xc6)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x3f4b12(_0x234df6,_0x4e1071,_0x5f1449)[_0x17fae4(0xae)];}return _0x234df6;}function _0x3810(){const _0x21b058=['getRange','cloneNode','14DUnkXu','940rGyyBn','anchorId','markers','filter','content','new','7368iYpWYq','type','getDiff','2390010ugaUrW','1995161sbvGVQ','documentContextContent','node','oldRange','document','removed','80223nNBQmZ','marker','previousSibling','map','2394zMOSAY','shift','model','948snwsHs','getDocumentContext','name','get','getOperations','112RtjKdj','version','operationsA','history','length','data-id','6ulrERZ','15135VbYvet','94740JLcMWS'];_0x3810=function(){return _0x21b058;};return _0x3810();}export function fixMarkerOperationOldRange(_0x385692,_0x1977da){const _0x56abdf=_0x5e64;if(_0x56abdf(0xc9)!=_0x1977da[_0x56abdf(0xbf)])return;const _0x468fbf=_0x385692[_0x56abdf(0xce)][_0x56abdf(0xba)][_0x56abdf(0xaa)](_0x1977da[_0x56abdf(0xa9)]);_0x468fbf&&(_0x1977da[_0x56abdf(0xc5)]=_0x468fbf[_0x56abdf(0xb5)]());}
|