@ckeditor/ckeditor5-ai 47.3.0-alpha.3 → 47.3.0-alpha.5
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/aiassistantediting.js +1 -1
- 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/aiformview.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.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/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/eventnames.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/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.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/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/aieditorintegration/aitogglebutton/aitogglebuttonui.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/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/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/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/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4921(_0x54a272,_0x33095d){const _0xeb6e87=_0xeb6e();return _0x4921=function(_0x49219f,_0x2a2843){_0x49219f=_0x49219f-0xca;let _0x4c12a3=_0xeb6e87[_0x49219f];return _0x4c12a3;},_0x4921(_0x54a272,_0x33095d);}function _0xeb6e(){const _0x51a6b7=['4108086pUOKju','150537MpuDCI','getRange','removed','1422MEHivl','content','type','data-id','3303932rXSnqU','filter','previousSibling','marker','2072260NQummk','getDiff','model','get','oldRange','documentContextContent','130294GbTTik','operationsA','markers','node','length','anchorId','map','18288rbIgBt','document','cloneNode','getOperations','version','shift','getDocumentContext','name','6787900OAaOUP','2ZqhgIY','history','new'];_0xeb6e=function(){return _0x51a6b7;};return _0xeb6e();}(function(_0x5af7b4,_0x4178d8){const _0x48ffea=_0x4921,_0x4fd0ac=_0x5af7b4();while(!![]){try{const _0x584459=parseInt(_0x48ffea(0xde))/0x1+parseInt(_0x48ffea(0xee))/0x2*(-parseInt(_0x48ffea(0xcd))/0x3)+parseInt(_0x48ffea(0xd4))/0x4+-parseInt(_0x48ffea(0xd8))/0x5+parseInt(_0x48ffea(0xcc))/0x6+-parseInt(_0x48ffea(0xed))/0x7+parseInt(_0x48ffea(0xe5))/0x8*(parseInt(_0x48ffea(0xd0))/0x9);if(_0x584459===_0x4178d8)break;else _0x4fd0ac['push'](_0x4fd0ac['shift']());}catch(_0x1540ef){_0x4fd0ac['push'](_0x4fd0ac['shift']());}}}(_0xeb6e,0x8aa07));import{transformOperationSets as _0x5a5a19}from'ckeditor5/src/engine.js';import{append as _0x7754d6,findByAttribute as _0x4386ed,prependChild as _0xb0f365,removeElement as _0xbcbc74,serialize as _0x4086e4}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x356be1,interaction:_0x141ff9,reply:_0x4646ec,groups:_0x5e2586,transform:_0x161e02,documentCompare:_0xf55441,documentCompareOptions:_0x60265f}){const _0x17d3f1=_0x4921,_0xbbe6b=_0x141ff9[_0x17d3f1(0xeb)]();if(!_0xbbe6b)return[];const _0x4fd82c=_0xbbe6b[_0x17d3f1(0xd1)],_0x4bb626=_0xbbe6b[_0x17d3f1(0xe9)],_0x5560c3=_0x4646ec[_0x17d3f1(0xdd)][_0x17d3f1(0xe7)](!0x0);for(const {changes:_0x414bf7}of _0x5e2586){const _0x56117b=_0x414bf7[_0x17d3f1(0xd5)](_0x2e84b8=>_0x17d3f1(0xcb)!=_0x2e84b8[_0x17d3f1(0xd2)])[_0x17d3f1(0xe4)](_0x19dda2=>_0x4386ed(_0x17d3f1(0xd3),_0x19dda2['id'],_0x5560c3)),_0xf7faa0=_0x414bf7[_0x17d3f1(0xd5)](_0x103045=>_0x17d3f1(0xcf)!=_0x103045[_0x17d3f1(0xd2)])[_0x17d3f1(0xe4)](_0x13a12b=>_0x13a12b[_0x17d3f1(0xe1)][_0x17d3f1(0xe7)](!0x0));let _0x57f411=null;if(_0x56117b[_0x17d3f1(0xe2)]){_0x57f411=_0x56117b[0x0][_0x17d3f1(0xd6)];for(let _0x478d84=0x0;_0x478d84<_0x56117b[_0x17d3f1(0xe2)];_0x478d84++)_0xbcbc74(_0x56117b[_0x478d84]);}if(_0xf7faa0[_0x17d3f1(0xe2)]){_0x57f411||(_0x414bf7[0x0][_0x17d3f1(0xe3)]?_0x57f411=_0x4386ed(_0x17d3f1(0xd3),_0x414bf7[0x0][_0x17d3f1(0xe3)],_0x5560c3):(_0x57f411=_0xf7faa0[_0x17d3f1(0xea)](),_0xb0f365(_0x5560c3,_0x57f411)));for(let _0x4f8d9f=0x0;_0x4f8d9f<_0xf7faa0[_0x17d3f1(0xe2)];_0x4f8d9f++)_0x7754d6(_0x57f411,_0xf7faa0[_0x4f8d9f]),_0x57f411=_0xf7faa0[_0x4f8d9f];}}const _0x2ac5e9=_0x4086e4(_0x5560c3),_0xb2c6ac=_0xf55441[_0x17d3f1(0xd9)](_0x4fd82c,_0x2ac5e9,_0x60265f)[_0x17d3f1(0xe8)]();if(_0x161e02){const _0x5e304d=_0x356be1[_0x17d3f1(0xda)][_0x17d3f1(0xe6)][_0x17d3f1(0xca)][_0x17d3f1(0xe8)](_0x4bb626),_0x1aef25={'document':_0x356be1[_0x17d3f1(0xda)][_0x17d3f1(0xe6)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x5a5a19(_0xb2c6ac,_0x5e304d,_0x1aef25)[_0x17d3f1(0xdf)];}return _0xb2c6ac;}export function fixMarkerOperationOldRange(_0x1a7dfe,_0x464488){const _0x28cfa6=_0x4921;if(_0x28cfa6(0xd7)!=_0x464488[_0x28cfa6(0xd2)])return;const _0x2f5e3e=_0x1a7dfe[_0x28cfa6(0xda)][_0x28cfa6(0xe0)][_0x28cfa6(0xdb)](_0x464488[_0x28cfa6(0xec)]);_0x2f5e3e&&(_0x464488[_0x28cfa6(0xdc)]=_0x2f5e3e[_0x28cfa6(0xce)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x444456,_0x5473ab){const _0x36bde6=_0x4846,_0xbbfd8a=_0x444456();while(!![]){try{const _0x5e7f18=parseInt(_0x36bde6(0x253))/0x1+parseInt(_0x36bde6(0x216))/0x2+-parseInt(_0x36bde6(0x21b))/0x3+parseInt(_0x36bde6(0x24e))/0x4*(-parseInt(_0x36bde6(0x200))/0x5)+parseInt(_0x36bde6(0x250))/0x6*(parseInt(_0x36bde6(0x23a))/0x7)+-parseInt(_0x36bde6(0x241))/0x8+-parseInt(_0x36bde6(0x229))/0x9;if(_0x5e7f18===_0x5473ab)break;else _0xbbfd8a['push'](_0xbbfd8a['shift']());}catch(_0xcc69d1){_0xbbfd8a['push'](_0xbbfd8a['shift']());}}}(_0x3220,0x8e0ac));import{findOne as _0x22f644,getAttribute as _0x4f8aed,Document as _0x2d1684,serialize as _0x18ea46,parse as _0x3b0d02}from'./htmlparser.js';import{fixElementSuggestionRange as _0x18902b}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x4e9513,_DetachOperation as _0x68c90f,_removeFromModelNodeList as _0x4d71e2,_insertIntoModelNodeList as _0x1dc9d7}from'ckeditor5/src/engine.js';import{uid as _0x243997}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0xa55016,changeGroups:_0x5c1fa7,documentContextContent:_0x4b556f,showDiff:_0x566979,trimUnchanged:_0x38053d=!0x0}){const _0x43f84e=_0x4846;return _0x5c1fa7[_0x43f84e(0x1ff)](_0x3dcf29=>{const _0x3aa190=_0x43f84e,_0x1025fb=new _0x2d1684([]),_0x33090e=new _0x2d1684([]);for(const _0x310951 of _0x3dcf29[_0x3aa190(0x248)])if(_0x566979&&_0x3aa190(0x247)==_0x310951[_0x3aa190(0x251)]||_0x33090e[_0x3aa190(0x239)][_0x3aa190(0x1ed)](_0x310951[_0x3aa190(0x1ee)][_0x3aa190(0x25d)](!0x0)),_0x3aa190(0x24c)!=_0x310951[_0x3aa190(0x251)]&&(_0x566979||_0x3aa190(0x247)!=_0x310951[_0x3aa190(0x251)])){const _0x31c943=_0x22f644(_0x5d979e=>_0x4f8aed(_0x5d979e,_0x3aa190(0x203))==_0x310951['id'],_0x4b556f,!0x0);_0x31c943&&_0x1025fb[_0x3aa190(0x239)][_0x3aa190(0x1ed)](_0x31c943[_0x3aa190(0x25d)](!0x0));}const {content:_0x5bc752,hasChanges:_0x2edc26}=function(_0x1ea9b4,_0x5c81f5,_0x2ed35a,_0x245746,_0x3c588c=!0x0){const _0x32d551=_0x3aa190,_0x29b1ec=_0x1ea9b4[_0x32d551(0x207)][_0x32d551(0x21a)](_0x32d551(0x236)),_0x3aa372=_0x18ea46(_0x5c81f5),_0x38fc18=_0x18ea46(_0x2ed35a),_0x37f868=_0x1ea9b4[_0x32d551(0x1f5)][_0x32d551(0x21e)](_0x3aa372,_0x32d551(0x235)),_0xafdcdb=_0x1ea9b4[_0x32d551(0x259)][_0x32d551(0x244)](_0x37f868,0x0),_0x5b4eae=_0x29b1ec[_0x32d551(0x1fc)](_0x3aa372,_0x38fc18,{'anchor':_0xafdcdb,'markDeletions':_0x245746}),_0x48e4e3=_0x5b4eae[_0x32d551(0x211)]();if(0x0==_0x48e4e3[_0x32d551(0x246)])return{'content':_0x5c81f5[_0x32d551(0x25d)](!0x0),'hasChanges':!0x1};_0x245746?function(_0x259577,_0xc9977,_0x500830){const _0x512960=_0x32d551;if(0x0==_0x259577[_0x512960(0x246)])return;const _0x1e0da0=_0x500830[_0x512960(0x207)][_0x512960(0x21a)](_0x512960(0x236)),_0x54fbc7=_0x500830[_0x512960(0x207)][_0x512960(0x21a)](_0x512960(0x22b));_0x500830[_0x512960(0x259)][_0x512960(0x228)](_0x3615bf=>{const _0x16b913=_0x512960,_0x26b92f=new Set();for(let _0x28f5c6=0x0;_0x28f5c6<_0x259577[_0x16b913(0x246)];_0x28f5c6++){const _0x20f1ae=_0x259577[_0x28f5c6];if(_0x20f1ae[_0x16b913(0x23b)]=null,_0x20f1ae[_0x16b913(0x213)]=!0x1,_0x1e0da0[_0x16b913(0x25e)](_0x20f1ae)){const _0x396962=_0x18902b(_0x20f1ae[_0x16b913(0x1f1)],_0x500830[_0x16b913(0x259)]),_0x4ad4f5=_0x16b913(0x224)+_0x243997()+_0x16b913(0x24a);_0xc9977[_0x16b913(0x225)][_0x16b913(0x1f7)](_0x4ad4f5,_0x396962);}else switch(_0x20f1ae[_0x16b913(0x251)]){case _0x16b913(0x21f):{if(_0x20f1ae[_0x16b913(0x21d)]==_0x20f1ae[_0x16b913(0x252)])break;_0x3615bf[_0x16b913(0x1f3)][_0x16b913(0x23f)](_0x20f1ae),_0x500830[_0x16b913(0x259)][_0x16b913(0x218)](_0x20f1ae);const _0x51ccc7=_0x16b913(0x230),_0x22d8f8=_0x20f1ae[_0x16b913(0x206)],_0x30af54=_0x500830[_0x16b913(0x259)][_0x16b913(0x22f)](_0x22d8f8,_0x500830[_0x16b913(0x259)][_0x16b913(0x244)](_0x22d8f8[_0x16b913(0x24f)],_0x16b913(0x243))),_0x519aad=_0x16b913(0x1fe)+_0x51ccc7+':'+_0x243997()+_0x16b913(0x24a);_0xc9977[_0x16b913(0x225)][_0x16b913(0x1f7)](_0x519aad,_0x30af54);break;}case _0x16b913(0x1fb):case _0x16b913(0x25a):case _0x16b913(0x202):{if(_0x20f1ae[_0x16b913(0x204)]==_0x20f1ae[_0x16b913(0x212)])break;_0x3615bf[_0x16b913(0x1f3)][_0x16b913(0x23f)](_0x20f1ae),_0x500830[_0x16b913(0x259)][_0x16b913(0x218)](_0x20f1ae);const _0x5a0ad9=_0x20f1ae[_0x16b913(0x234)];if(!_0x54fbc7[_0x16b913(0x25b)](_0x5a0ad9))break;const _0x29c472=_0x18902b(_0x20f1ae[_0x16b913(0x257)],_0x500830[_0x16b913(0x259)]),_0x52ee33=_0x16b913(0x1fe)+_0x5a0ad9+':'+_0x243997()+_0x16b913(0x24a);_0xc9977[_0x16b913(0x225)][_0x16b913(0x1f7)](_0x52ee33,_0x29c472);break;}case _0x16b913(0x231):{_0x3615bf[_0x16b913(0x1f3)][_0x16b913(0x23f)](_0x20f1ae),_0x500830[_0x16b913(0x259)][_0x16b913(0x218)](_0x20f1ae);if(_0x259577[_0x28f5c6+0x1]&&_0x16b913(0x22a)==_0x259577[_0x28f5c6+0x1][_0x16b913(0x251)]){ro(_0xc9977,_0x20f1ae);break;}const _0x1d5110=_0x20f1ae[_0x16b913(0x206)],_0x4d4b1f=_0x20f1ae[_0x16b913(0x214)],_0x49bbe9=_0x18902b(_0x500830[_0x16b913(0x259)][_0x16b913(0x22f)](_0x1d5110,_0x1d5110[_0x16b913(0x1fa)](_0x4d4b1f)),_0x500830[_0x16b913(0x259)]),_0x3e1307=_0x16b913(0x24d)+_0x243997()+_0x16b913(0x24a);_0xc9977[_0x16b913(0x225)][_0x16b913(0x1f7)](_0x3e1307,_0x49bbe9);break;}case _0x16b913(0x238):{_0x3615bf[_0x16b913(0x1f3)][_0x16b913(0x23f)](_0x20f1ae),_0x500830[_0x16b913(0x259)][_0x16b913(0x218)](_0x20f1ae);const _0x5f5abf=_0x20f1ae[_0x16b913(0x20a)],_0x500337=_0x20f1ae[_0x16b913(0x237)],_0x265b91=_0x500830[_0x16b913(0x259)][_0x16b913(0x22f)](_0x5f5abf,_0x500337),_0x35976d=_0x16b913(0x24d)+_0x243997()+_0x16b913(0x24a);_0xc9977[_0x16b913(0x225)][_0x16b913(0x1f7)](_0x35976d,_0x265b91);break;}case _0x16b913(0x22a):{_0x3615bf[_0x16b913(0x1f3)][_0x16b913(0x23f)](_0x20f1ae),_0x500830[_0x16b913(0x259)][_0x16b913(0x218)](_0x20f1ae),_0x259577[_0x28f5c6-0x1]&&_0x16b913(0x231)==_0x259577[_0x28f5c6-0x1][_0x16b913(0x251)]&&ro(_0xc9977,_0x20f1ae);const _0x4d9883=_0x20f1ae[_0x16b913(0x205)](),_0x13fa8a=_0x20f1ae[_0x16b913(0x214)];for(let _0x3c0267=0x0;_0x3c0267<_0x13fa8a;_0x3c0267++){const _0x151454=_0x4d9883[_0x16b913(0x1fa)](_0x3c0267)[_0x16b913(0x24f)];_0x26b92f[_0x16b913(0x219)](_0x151454);}break;}case _0x16b913(0x256):{const _0xf754e4=_0x20f1ae[_0x16b913(0x25c)],_0x2f782c=_0x20f1ae[_0x16b913(0x214)],_0x3880f4=new _0x68c90f(_0xf754e4,_0x2f782c);_0x3615bf[_0x16b913(0x1f3)][_0x16b913(0x23f)](_0x3880f4),_0x500830[_0x16b913(0x259)][_0x16b913(0x218)](_0x3880f4);break;}}}for(const _0x4e8932 of _0x26b92f){const _0x412404=_0x500830[_0x16b913(0x259)][_0x16b913(0x221)](_0x4e8932),_0x18120b=_0x16b913(0x222)+_0x243997()+_0x16b913(0x24a);_0xc9977[_0x16b913(0x225)][_0x16b913(0x1f7)](_0x18120b,_0x18902b(_0x412404,_0x500830[_0x16b913(0x259)]));}});}(_0x48e4e3,_0x37f868,_0x1ea9b4):_0x1ea9b4[_0x32d551(0x259)][_0x32d551(0x228)](_0x464c70=>{const _0x13b271=_0x32d551;for(const _0x2690ea of _0x48e4e3)if(_0x13b271(0x256)==_0x2690ea[_0x13b271(0x251)]){const _0x24911f=_0x2690ea[_0x13b271(0x25c)],_0x3c9f98=_0x2690ea[_0x13b271(0x214)],_0x581a8f=new _0x68c90f(_0x24911f,_0x3c9f98);_0x464c70[_0x13b271(0x1f3)][_0x13b271(0x23f)](_0x581a8f),_0x1ea9b4[_0x13b271(0x259)][_0x13b271(0x218)](_0x581a8f);}else{if(_0x13b271(0x233)==_0x2690ea[_0x13b271(0x251)]){const _0x4aaf02=_0x2690ea[_0x13b271(0x201)],_0x5b430b=_0x2690ea[_0x13b271(0x1f1)];_0x37f868[_0x13b271(0x225)][_0x13b271(0x1f7)](_0x4aaf02,_0x5b430b);}else _0x2690ea[_0x13b271(0x23b)]=null,_0x2690ea[_0x13b271(0x213)]=!0x1,_0x464c70[_0x13b271(0x1f3)][_0x13b271(0x23f)](_0x2690ea),_0x1ea9b4[_0x13b271(0x259)][_0x13b271(0x218)](_0x2690ea);}});if(_0x3c588c){const _0x411ab5=getMinimalSelection(_0x1ea9b4,_0x48e4e3,_0x37f868);expandSelectionWithContext(_0x1ea9b4[_0x32d551(0x259)],_0x411ab5),function(_0x38e8a5,_0x1f5b51){const _0x1d0ead=_0x32d551,_0x5f929d=_0x1f5b51[_0x1d0ead(0x1ec)]()[_0x1d0ead(0x20f)];let _0xf03e46=_0x1f5b51[_0x1d0ead(0x1ec)]()[_0x1d0ead(0x243)];const _0x1330dc=_0x5f929d[_0x1d0ead(0x24b)];(_0xf03e46[_0x1d0ead(0x23e)]||_0xf03e46[_0x1d0ead(0x24f)]&&_0xf03e46[_0x1d0ead(0x24f)]['is'](_0x1d0ead(0x21c)))&&(_0x1dc9d7(_0xf03e46,_0x1d0ead(0x227)),_0xf03e46=_0xf03e46[_0x1d0ead(0x1fa)](0x3)),(_0x5f929d[_0x1d0ead(0x23e)]||_0x5f929d[_0x1d0ead(0x23d)]&&_0x5f929d[_0x1d0ead(0x23d)]['is'](_0x1d0ead(0x21c)))&&(_0x1dc9d7(_0x5f929d,_0x1d0ead(0x227)),function(_0x24847d,_0x4e743d,_0x35a67c){const _0x4ba5ba=_0x1d0ead;for(let [_0x590301,_0x126bf7]of _0x24847d[_0x4ba5ba(0x225)]){const _0x235a63=_0x126bf7[_0x4ba5ba(0x210)](_0x4e743d,_0x35a67c,!0x1);_0x126bf7=_0x235a63[0x0],_0x24847d[_0x4ba5ba(0x225)][_0x4ba5ba(0x1f7)](_0x590301,_0x126bf7);}}(_0x1330dc,_0x5f929d,0x3),_0x5f929d[_0x1d0ead(0x20b)]==_0xf03e46[_0x1d0ead(0x20b)]&&(_0xf03e46=_0xf03e46[_0x1d0ead(0x1fa)](0x3)));const _0x5bdfab=_0x38e8a5[_0x1d0ead(0x22f)](_0x38e8a5[_0x1d0ead(0x244)](_0x1330dc,0x0),_0x5f929d),_0x2701dd=_0x38e8a5[_0x1d0ead(0x22f)](_0xf03e46,_0x38e8a5[_0x1d0ead(0x244)](_0x1330dc,_0x1d0ead(0x243))),_0x5748dc=[..._0x5bdfab[_0x1d0ead(0x20e)](),..._0x2701dd[_0x1d0ead(0x20e)]()];_0x5748dc[_0x1d0ead(0x22c)]();for(const _0x4b4fe0 of _0x5748dc)_0x4d71e2(_0x4b4fe0),_transformMarkersByDeletion(_0x1330dc,_0x4b4fe0);}(_0x1ea9b4[_0x32d551(0x259)],_0x411ab5);}const _0x1dc7ae=_0x1ea9b4[_0x32d551(0x1f5)][_0x32d551(0x240)](_0x37f868,{'showSuggestionHighlights':!0x0});return{'content':_0x3b0d02(_0x1dc7ae),'hasChanges':!0x0};}(_0xa55016,_0x1025fb,_0x33090e,_0x566979,_0x38053d);return{'type':_0x3dcf29[_0x3aa190(0x248)][0x0][_0x3aa190(0x251)],'index':_0x3dcf29[_0x3aa190(0x1f0)],'content':_0x5bc752,'hasChanges':_0x2edc26};});}function ro(_0x413e16,_0x26d7ce){const _0x29e215=_0x4846;for(const [_0x1364f7,_0xf325f2]of _0x413e16[_0x29e215(0x225)]){const _0x159290=_0x4e9513[_0x29e215(0x1ef)](_0xf325f2[_0x29e215(0x242)](_0x26d7ce));_0x413e16[_0x29e215(0x225)][_0x29e215(0x1f7)](_0x1364f7,_0x159290);}}export function getMinimalSelection(_0x54a821,_0x4c203e,_0x510791){const _0x586799=_0x4846,_0x2ebb45=_0x54a821[_0x586799(0x207)][_0x586799(0x21a)](_0x586799(0x236));let _0x35a576=_0x54a821[_0x586799(0x259)][_0x586799(0x244)](_0x510791,Number[_0x586799(0x220)]),_0x37284f=_0x54a821[_0x586799(0x259)][_0x586799(0x244)](_0x510791,0x0);for(const _0x31da93 of _0x4c203e){let _0x34ca0c,_0x4455fd;if(_0x2ebb45[_0x586799(0x25e)](_0x31da93))_0x34ca0c=_0x31da93[_0x586799(0x1f1)][_0x586799(0x20f)],_0x4455fd=_0x31da93[_0x586799(0x1f1)][_0x586799(0x243)];else switch(_0x35a576=_0x35a576[_0x586799(0x242)](_0x31da93),_0x37284f=_0x37284f[_0x586799(0x242)](_0x31da93),_0x31da93[_0x586799(0x251)]){case _0x586799(0x21f):_0x34ca0c=_0x31da93[_0x586799(0x206)],_0x4455fd=_0x34ca0c[_0x586799(0x1fa)](0x1);break;case _0x586799(0x1fb):case _0x586799(0x25a):case _0x586799(0x202):_0x34ca0c=_0x31da93[_0x586799(0x257)][_0x586799(0x20f)],_0x4455fd=_0x31da93[_0x586799(0x257)][_0x586799(0x243)];break;case _0x586799(0x231):_0x34ca0c=_0x31da93[_0x586799(0x206)],_0x4455fd=_0x34ca0c[_0x586799(0x1fa)](_0x31da93[_0x586799(0x214)]);break;case _0x586799(0x238):_0x34ca0c=_0x31da93[_0x586799(0x20a)],_0x4455fd=_0x31da93[_0x586799(0x237)];break;case _0x586799(0x254):{const _0x4bef89=_0x31da93[_0x586799(0x217)][_0x586799(0x215)][_0x586799(0x1f9)](0x0,-0x1);_0x34ca0c=_0x54a821[_0x586799(0x259)][_0x586799(0x22e)](_0x510791,_0x4bef89),_0x4455fd=_0x34ca0c[_0x586799(0x1fa)](0x1);break;}case _0x586799(0x256):{const _0xfcf378=_0x31da93[_0x586799(0x214)],_0x248960=_0x31da93[_0x586799(0x25c)][_0x586799(0x210)](_0x31da93[_0x586799(0x217)],_0xfcf378),_0x254192=_0x31da93[_0x586799(0x205)]();_0x586799(0x256)==_0x31da93[_0x586799(0x251)]?(_0x34ca0c=_0x248960,_0x4455fd=_0x248960):(_0x34ca0c=_0x254192,_0x4455fd=_0x254192[_0x586799(0x1fa)](_0xfcf378));break;}}_0x34ca0c&&_0x34ca0c[_0x586799(0x208)](_0x35a576)&&(_0x35a576=_0x34ca0c[_0x586799(0x232)](),_0x35a576[_0x586799(0x22d)]=_0x586799(0x1f4)),_0x4455fd&&_0x4455fd[_0x586799(0x20d)](_0x37284f)&&(_0x37284f=_0x4455fd[_0x586799(0x232)](),_0x37284f[_0x586799(0x22d)]=_0x586799(0x1f4));}return _0x54a821[_0x586799(0x259)][_0x586799(0x223)](_0x54a821[_0x586799(0x259)][_0x586799(0x22f)](_0x35a576,_0x37284f));}export function expandSelectionWithContext(_0x1d7910,_0x4d7254){const _0xae11fd=_0x4846;so(_0x1d7910,_0x4d7254,_0xae11fd(0x255));const _0x5de101=_0x4d7254[_0xae11fd(0x1ec)]();_0x4d7254[_0xae11fd(0x226)]([]),_0x4d7254[_0xae11fd(0x226)](_0x5de101,{'backward':!0x0}),so(_0x1d7910,_0x4d7254,_0xae11fd(0x20c));}function _0x4846(_0x30787f,_0x2a8ce3){const _0x322052=_0x3220();return _0x4846=function(_0x48462f,_0x5719cf){_0x48462f=_0x48462f-0x1ec;let _0x14e637=_0x322052[_0x48462f];return _0x14e637;},_0x4846(_0x30787f,_0x2a8ce3);}function _0x3220(){const _0x3d4031=['marker','key','$root','DocumentCompare','moveTargetPosition','split','children','7efqQtk','baseVersion','isObject','nodeBefore','textNode','addOperation','stringify','7895824yQgDUr','getTransformedByOperation','end','createPositionAt','focus','length','removed','changes','element',':$aiSuggestion','root','new','suggestion:insertion:','204mUtEeo','nodeAfter','532758OgbDfi','type','newName','1003854TsRVhk','merge','forward','remove','range','isBlock','model','removeAttribute','isRegisteredAttribute','sourcePosition','cloneNode','isMarkedRemoveOperation','_getTransformedByDeletion','getFirstRange','push','node','_createFromRanges','index','newRange','delete','batch','toNone','data','offset','set','word','slice','getShiftedBy','addAttribute','getDiff','schema','suggestion:attribute:','map','4365zTpCiR','name','changeAttribute','data-id','oldValue','getMovedRangeStart','position','plugins','isBefore','modifySelection','splitPosition','parent','backward','isAfter','getMinimalFlatRanges','start','_getTransformedByInsertion','getOperations','newValue','isDocumentOperation','howMany','path','1140230yrMadv','targetPosition','applyOperation','add','get','55350CImYcF','$text','oldName','parse','rename','POSITIVE_INFINITY','createRangeOn','suggestion:formatBlock:$fakeWrap:','createSelection','suggestion:deletion:','markers','setTo','...','change','279063RJSlWv','move','SuggestionsConversion','reverse','stickiness','createPositionFromPath','createRange','$elementName','insert','clone'];_0x3220=function(){return _0x3d4031;};return _0x3220();}function so(_0x51aadf,_0x5e6cc9,_0x43cce2){const _0x2ca597=_0x4846;let _0x1db5e5=0x14;for(;_0x1db5e5;){_0x51aadf[_0x2ca597(0x209)](_0x5e6cc9,{'unit':_0x2ca597(0x1f8),'direction':_0x43cce2}),_0x1db5e5--;const _0x22b753=_0x5e6cc9[_0x2ca597(0x245)][_0x2ca597(0x255)==_0x43cce2?_0x2ca597(0x23d):_0x2ca597(0x24f)];if(_0x22b753&&_0x22b753['is'](_0x2ca597(0x249))&&_0x51aadf[_0x2ca597(0x1fd)][_0x2ca597(0x258)](_0x22b753)&&_0x51aadf[_0x2ca597(0x1fd)][_0x2ca597(0x23c)](_0x22b753))break;}}export function _transformMarkersByDeletion(_0x52d7cd,_0x43ed18){const _0x5397ed=_0x4846;for(const [_0x276a19,_0x3442b2]of _0x52d7cd[_0x5397ed(0x225)]){const _0x4d5aea=_0x3442b2[_0x5397ed(0x25f)](_0x43ed18[_0x5397ed(0x20f)],_0x43ed18[_0x5397ed(0x243)][_0x5397ed(0x1f6)]-_0x43ed18[_0x5397ed(0x20f)][_0x5397ed(0x1f6)]);null!=_0x4d5aea?_0x52d7cd[_0x5397ed(0x225)][_0x5397ed(0x1f7)](_0x276a19,_0x4d5aea):_0x52d7cd[_0x5397ed(0x225)][_0x5397ed(0x1f2)](_0x276a19);}}
|
|
23
|
+
(function(_0x3d4ea2,_0x50593a){const _0x244226=_0x516e,_0x484b4c=_0x3d4ea2();while(!![]){try{const _0x3a6e81=parseInt(_0x244226(0x1f0))/0x1*(-parseInt(_0x244226(0x1b4))/0x2)+-parseInt(_0x244226(0x1b1))/0x3+parseInt(_0x244226(0x1d7))/0x4+parseInt(_0x244226(0x18f))/0x5+-parseInt(_0x244226(0x1db))/0x6+parseInt(_0x244226(0x1c3))/0x7+parseInt(_0x244226(0x1d9))/0x8;if(_0x3a6e81===_0x50593a)break;else _0x484b4c['push'](_0x484b4c['shift']());}catch(_0x1bbb06){_0x484b4c['push'](_0x484b4c['shift']());}}}(_0xddd5,0xb8831));import{findOne as _0x56f4e1,getAttribute as _0x194eca,Document as _0x244283,serialize as _0xfedc36,parse as _0x5b8ad0}from'./htmlparser.js';import{fixElementSuggestionRange as _0x111c4d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x516e(_0x1244c2,_0x2562b5){const _0xddd5dd=_0xddd5();return _0x516e=function(_0x516e02,_0x2a7b09){_0x516e02=_0x516e02-0x18c;let _0x341fb5=_0xddd5dd[_0x516e02];return _0x341fb5;},_0x516e(_0x1244c2,_0x2562b5);}import{ModelRange as _0x3f8fae,_DetachOperation as _0x4cabff,_removeFromModelNodeList as _0x3a04aa,_insertIntoModelNodeList as _0x349b02}from'ckeditor5/src/engine.js';import{uid as _0x3f1988}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x107b43,changeGroups:_0x4b428b,documentContextContent:_0x5a50f3,showDiff:_0x3d7f6a,trimUnchanged:_0x39ed19=!0x0}){const _0x4daaae=_0x516e;return _0x4b428b[_0x4daaae(0x1d6)](_0x35d9d2=>{const _0x2eec60=_0x4daaae,_0x36aa1d=new _0x244283([]),_0x14955c=new _0x244283([]);for(const _0x1583bd of _0x35d9d2[_0x2eec60(0x1a6)])if(_0x3d7f6a&&_0x2eec60(0x1ef)==_0x1583bd[_0x2eec60(0x1ab)]||_0x14955c[_0x2eec60(0x1f8)][_0x2eec60(0x1bd)](_0x1583bd[_0x2eec60(0x1a2)][_0x2eec60(0x1cb)](!0x0)),_0x2eec60(0x1a1)!=_0x1583bd[_0x2eec60(0x1ab)]&&(_0x3d7f6a||_0x2eec60(0x1ef)!=_0x1583bd[_0x2eec60(0x1ab)])){const _0x591e50=_0x56f4e1(_0x58375f=>_0x194eca(_0x58375f,_0x2eec60(0x1bc))==_0x1583bd['id'],_0x5a50f3,!0x0);_0x591e50&&_0x36aa1d[_0x2eec60(0x1f8)][_0x2eec60(0x1bd)](_0x591e50[_0x2eec60(0x1cb)](!0x0));}const {content:_0x139f32,hasChanges:_0x2f94c5}=function(_0x2d049d,_0x129026,_0x40a79c,_0x422297,_0x1ae94=!0x0){const _0x56d335=_0x2eec60,_0x473145=_0x2d049d[_0x56d335(0x191)][_0x56d335(0x1f4)](_0x56d335(0x1da)),_0x51730a=_0xfedc36(_0x129026),_0x5f45ad=_0xfedc36(_0x40a79c),_0x1b5e06=_0x2d049d[_0x56d335(0x1d2)][_0x56d335(0x199)](_0x51730a,_0x56d335(0x1ba)),_0x5b5b0a=_0x2d049d[_0x56d335(0x1f5)][_0x56d335(0x1af)](_0x1b5e06,0x0),_0x2c90eb=_0x473145[_0x56d335(0x1f7)](_0x51730a,_0x5f45ad,{'anchor':_0x5b5b0a,'markDeletions':_0x422297}),_0x4d0c24=_0x2c90eb[_0x56d335(0x1c7)]();if(0x0==_0x4d0c24[_0x56d335(0x1e1)])return{'content':_0x129026[_0x56d335(0x1cb)](!0x0),'hasChanges':!0x1};_0x422297?function(_0x224af1,_0x13be72,_0x477626){const _0x58a66a=_0x56d335;if(0x0==_0x224af1[_0x58a66a(0x1e1)])return;const _0x394008=_0x477626[_0x58a66a(0x191)][_0x58a66a(0x1f4)](_0x58a66a(0x1da)),_0x15db63=_0x477626[_0x58a66a(0x191)][_0x58a66a(0x1f4)](_0x58a66a(0x1df));_0x477626[_0x58a66a(0x1f5)][_0x58a66a(0x1c5)](_0x2e2675=>{const _0x2ecd97=_0x58a66a,_0x18cd22=new Set();for(let _0x35bca4=0x0;_0x35bca4<_0x224af1[_0x2ecd97(0x1e1)];_0x35bca4++){const _0x197d1b=_0x224af1[_0x35bca4];if(_0x197d1b[_0x2ecd97(0x1d1)]=null,_0x197d1b[_0x2ecd97(0x18c)]=!0x1,_0x394008[_0x2ecd97(0x1ee)](_0x197d1b)){const _0x6ff6d1=_0x111c4d(_0x197d1b[_0x2ecd97(0x1c1)],_0x477626[_0x2ecd97(0x1f5)]),_0xa42cf=_0x2ecd97(0x1bf)+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0xa42cf,_0x6ff6d1);}else switch(_0x197d1b[_0x2ecd97(0x1ab)]){case _0x2ecd97(0x1a7):{if(_0x197d1b[_0x2ecd97(0x1a4)]==_0x197d1b[_0x2ecd97(0x195)])break;_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x197d1b),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x197d1b);const _0x599b1f=_0x2ecd97(0x1d3),_0x3ae1bf=_0x197d1b[_0x2ecd97(0x1e6)],_0x174cb7=_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x1ad)](_0x3ae1bf,_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x1af)](_0x3ae1bf[_0x2ecd97(0x1cc)],_0x2ecd97(0x19f))),_0x1c30f7=_0x2ecd97(0x1ca)+_0x599b1f+':'+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0x1c30f7,_0x174cb7);break;}case _0x2ecd97(0x1bb):case _0x2ecd97(0x1fb):case _0x2ecd97(0x1aa):{if(_0x197d1b[_0x2ecd97(0x1c9)]==_0x197d1b[_0x2ecd97(0x1ec)])break;_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x197d1b),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x197d1b);const _0x2bd6ac=_0x197d1b[_0x2ecd97(0x1ac)];if(!_0x15db63[_0x2ecd97(0x1e8)](_0x2bd6ac))break;const _0x2ff88e=_0x111c4d(_0x197d1b[_0x2ecd97(0x1f1)],_0x477626[_0x2ecd97(0x1f5)]),_0x2b355f=_0x2ecd97(0x1ca)+_0x2bd6ac+':'+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0x2b355f,_0x2ff88e);break;}case _0x2ecd97(0x1a8):{_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x197d1b),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x197d1b);if(_0x224af1[_0x35bca4+0x1]&&_0x2ecd97(0x192)==_0x224af1[_0x35bca4+0x1][_0x2ecd97(0x1ab)]){ro(_0x13be72,_0x197d1b);break;}const _0x478d77=_0x197d1b[_0x2ecd97(0x1e6)],_0x4078a9=_0x197d1b[_0x2ecd97(0x1f2)],_0x2028d4=_0x111c4d(_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x1ad)](_0x478d77,_0x478d77[_0x2ecd97(0x1b3)](_0x4078a9)),_0x477626[_0x2ecd97(0x1f5)]),_0x19abca=_0x2ecd97(0x1b9)+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0x19abca,_0x2028d4);break;}case _0x2ecd97(0x190):{_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x197d1b),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x197d1b);const _0x54b6ca=_0x197d1b[_0x2ecd97(0x1d8)],_0x169106=_0x197d1b[_0x2ecd97(0x1b7)],_0x54ba83=_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x1ad)](_0x54b6ca,_0x169106),_0xa6aa95=_0x2ecd97(0x1b9)+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0xa6aa95,_0x54ba83);break;}case _0x2ecd97(0x192):{_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x197d1b),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x197d1b),_0x224af1[_0x35bca4-0x1]&&_0x2ecd97(0x1a8)==_0x224af1[_0x35bca4-0x1][_0x2ecd97(0x1ab)]&&ro(_0x13be72,_0x197d1b);const _0x519def=_0x197d1b[_0x2ecd97(0x1fc)](),_0x41da80=_0x197d1b[_0x2ecd97(0x1f2)];for(let _0x597fbc=0x0;_0x597fbc<_0x41da80;_0x597fbc++){const _0x32bf8b=_0x519def[_0x2ecd97(0x1b3)](_0x597fbc)[_0x2ecd97(0x1cc)];_0x18cd22[_0x2ecd97(0x1d5)](_0x32bf8b);}break;}case _0x2ecd97(0x1e2):{const _0x2b3002=_0x197d1b[_0x2ecd97(0x1de)],_0x51494a=_0x197d1b[_0x2ecd97(0x1f2)],_0x4a7680=new _0x4cabff(_0x2b3002,_0x51494a);_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x4a7680),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x4a7680);break;}}}for(const _0x586916 of _0x18cd22){const _0x100a04=_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x1ed)](_0x586916),_0x551c74=_0x2ecd97(0x1ea)+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0x551c74,_0x111c4d(_0x100a04,_0x477626[_0x2ecd97(0x1f5)]));}});}(_0x4d0c24,_0x1b5e06,_0x2d049d):_0x2d049d[_0x56d335(0x1f5)][_0x56d335(0x1c5)](_0x3508da=>{const _0x44c2d8=_0x56d335;for(const _0x228b9b of _0x4d0c24)if(_0x44c2d8(0x1e2)==_0x228b9b[_0x44c2d8(0x1ab)]){const _0x1bfdd2=_0x228b9b[_0x44c2d8(0x1de)],_0x4c25ea=_0x228b9b[_0x44c2d8(0x1f2)],_0x47d01c=new _0x4cabff(_0x1bfdd2,_0x4c25ea);_0x3508da[_0x44c2d8(0x1c0)][_0x44c2d8(0x1b5)](_0x47d01c),_0x2d049d[_0x44c2d8(0x1f5)][_0x44c2d8(0x18d)](_0x47d01c);}else{if(_0x44c2d8(0x1c6)==_0x228b9b[_0x44c2d8(0x1ab)]){const _0x3bf7cb=_0x228b9b[_0x44c2d8(0x196)],_0x1405e2=_0x228b9b[_0x44c2d8(0x1c1)];_0x1b5e06[_0x44c2d8(0x1fd)][_0x44c2d8(0x19d)](_0x3bf7cb,_0x1405e2);}else _0x228b9b[_0x44c2d8(0x1d1)]=null,_0x228b9b[_0x44c2d8(0x18c)]=!0x1,_0x3508da[_0x44c2d8(0x1c0)][_0x44c2d8(0x1b5)](_0x228b9b),_0x2d049d[_0x44c2d8(0x1f5)][_0x44c2d8(0x18d)](_0x228b9b);}});if(_0x1ae94){const _0x5254d0=getMinimalSelection(_0x2d049d,_0x4d0c24,_0x1b5e06);expandSelectionWithContext(_0x2d049d[_0x56d335(0x1f5)],_0x5254d0),function(_0x46c3f7,_0x51a802){const _0xa6b36b=_0x56d335,_0x49c219=_0x51a802[_0xa6b36b(0x1f9)]()[_0xa6b36b(0x1cd)];let _0x421ab7=_0x51a802[_0xa6b36b(0x1f9)]()[_0xa6b36b(0x19f)];const _0x20c76c=_0x49c219[_0xa6b36b(0x1e9)];(_0x421ab7[_0xa6b36b(0x1b8)]||_0x421ab7[_0xa6b36b(0x1cc)]&&_0x421ab7[_0xa6b36b(0x1cc)]['is'](_0xa6b36b(0x1a5)))&&(_0x349b02(_0x421ab7,_0xa6b36b(0x1b2)),_0x421ab7=_0x421ab7[_0xa6b36b(0x1b3)](0x3)),(_0x49c219[_0xa6b36b(0x1b8)]||_0x49c219[_0xa6b36b(0x1fe)]&&_0x49c219[_0xa6b36b(0x1fe)]['is'](_0xa6b36b(0x1a5)))&&(_0x349b02(_0x49c219,_0xa6b36b(0x1b2)),function(_0x174fc8,_0x3dac9e,_0xe56467){const _0x59790f=_0xa6b36b;for(let [_0x3b6ccf,_0x529b81]of _0x174fc8[_0x59790f(0x1fd)]){const _0xa05be3=_0x529b81[_0x59790f(0x1d0)](_0x3dac9e,_0xe56467,!0x1);_0x529b81=_0xa05be3[0x0],_0x174fc8[_0x59790f(0x1fd)][_0x59790f(0x19d)](_0x3b6ccf,_0x529b81);}}(_0x20c76c,_0x49c219,0x3),_0x49c219[_0xa6b36b(0x1b6)]==_0x421ab7[_0xa6b36b(0x1b6)]&&(_0x421ab7=_0x421ab7[_0xa6b36b(0x1b3)](0x3)));const _0x2f8e1a=_0x46c3f7[_0xa6b36b(0x1ad)](_0x46c3f7[_0xa6b36b(0x1af)](_0x20c76c,0x0),_0x49c219),_0x4ef0f5=_0x46c3f7[_0xa6b36b(0x1ad)](_0x421ab7,_0x46c3f7[_0xa6b36b(0x1af)](_0x20c76c,_0xa6b36b(0x19f))),_0x54aaad=[..._0x2f8e1a[_0xa6b36b(0x1c8)](),..._0x4ef0f5[_0xa6b36b(0x1c8)]()];_0x54aaad[_0xa6b36b(0x1c4)]();for(const _0x5aeb6c of _0x54aaad)_0x3a04aa(_0x5aeb6c),_transformMarkersByDeletion(_0x20c76c,_0x5aeb6c);}(_0x2d049d[_0x56d335(0x1f5)],_0x5254d0);}const _0x5b6935=_0x2d049d[_0x56d335(0x1d2)][_0x56d335(0x1c2)](_0x1b5e06,{'showSuggestionHighlights':!0x0});return{'content':_0x5b8ad0(_0x5b6935),'hasChanges':!0x0};}(_0x107b43,_0x36aa1d,_0x14955c,_0x3d7f6a,_0x39ed19);return{'type':_0x35d9d2[_0x2eec60(0x1a6)][0x0][_0x2eec60(0x1ab)],'index':_0x35d9d2[_0x2eec60(0x1a0)],'content':_0x139f32,'hasChanges':_0x2f94c5};});}function ro(_0x1e14cc,_0x1270a9){const _0x59b9ca=_0x516e;for(const [_0x3fbd69,_0x4de899]of _0x1e14cc[_0x59b9ca(0x1fd)]){const _0x4a9db5=_0x3f8fae[_0x59b9ca(0x1ae)](_0x4de899[_0x59b9ca(0x1be)](_0x1270a9));_0x1e14cc[_0x59b9ca(0x1fd)][_0x59b9ca(0x19d)](_0x3fbd69,_0x4a9db5);}}export function getMinimalSelection(_0x359f3e,_0x18ba45,_0x2eadeb){const _0x43d700=_0x516e,_0x334728=_0x359f3e[_0x43d700(0x191)][_0x43d700(0x1f4)](_0x43d700(0x1da));let _0x4cbd69=_0x359f3e[_0x43d700(0x1f5)][_0x43d700(0x1af)](_0x2eadeb,Number[_0x43d700(0x1a3)]),_0x27f81f=_0x359f3e[_0x43d700(0x1f5)][_0x43d700(0x1af)](_0x2eadeb,0x0);for(const _0x191549 of _0x18ba45){let _0x2a16e7,_0x46dd50;if(_0x334728[_0x43d700(0x1ee)](_0x191549))_0x2a16e7=_0x191549[_0x43d700(0x1c1)][_0x43d700(0x1cd)],_0x46dd50=_0x191549[_0x43d700(0x1c1)][_0x43d700(0x19f)];else switch(_0x4cbd69=_0x4cbd69[_0x43d700(0x1be)](_0x191549),_0x27f81f=_0x27f81f[_0x43d700(0x1be)](_0x191549),_0x191549[_0x43d700(0x1ab)]){case _0x43d700(0x1a7):_0x2a16e7=_0x191549[_0x43d700(0x1e6)],_0x46dd50=_0x2a16e7[_0x43d700(0x1b3)](0x1);break;case _0x43d700(0x1bb):case _0x43d700(0x1fb):case _0x43d700(0x1aa):_0x2a16e7=_0x191549[_0x43d700(0x1f1)][_0x43d700(0x1cd)],_0x46dd50=_0x191549[_0x43d700(0x1f1)][_0x43d700(0x19f)];break;case _0x43d700(0x1a8):_0x2a16e7=_0x191549[_0x43d700(0x1e6)],_0x46dd50=_0x2a16e7[_0x43d700(0x1b3)](_0x191549[_0x43d700(0x1f2)]);break;case _0x43d700(0x190):_0x2a16e7=_0x191549[_0x43d700(0x1d8)],_0x46dd50=_0x191549[_0x43d700(0x1b7)];break;case _0x43d700(0x1e0):{const _0x157fdd=_0x191549[_0x43d700(0x1eb)][_0x43d700(0x1fa)][_0x43d700(0x193)](0x0,-0x1);_0x2a16e7=_0x359f3e[_0x43d700(0x1f5)][_0x43d700(0x19a)](_0x2eadeb,_0x157fdd),_0x46dd50=_0x2a16e7[_0x43d700(0x1b3)](0x1);break;}case _0x43d700(0x1e2):{const _0x46be19=_0x191549[_0x43d700(0x1f2)],_0x1926e5=_0x191549[_0x43d700(0x1de)][_0x43d700(0x1d0)](_0x191549[_0x43d700(0x1eb)],_0x46be19),_0x4f6e9e=_0x191549[_0x43d700(0x1fc)]();_0x43d700(0x1e2)==_0x191549[_0x43d700(0x1ab)]?(_0x2a16e7=_0x1926e5,_0x46dd50=_0x1926e5):(_0x2a16e7=_0x4f6e9e,_0x46dd50=_0x4f6e9e[_0x43d700(0x1b3)](_0x46be19));break;}}_0x2a16e7&&_0x2a16e7[_0x43d700(0x18e)](_0x4cbd69)&&(_0x4cbd69=_0x2a16e7[_0x43d700(0x1cf)](),_0x4cbd69[_0x43d700(0x1e5)]=_0x43d700(0x1e4)),_0x46dd50&&_0x46dd50[_0x43d700(0x1ce)](_0x27f81f)&&(_0x27f81f=_0x46dd50[_0x43d700(0x1cf)](),_0x27f81f[_0x43d700(0x1e5)]=_0x43d700(0x1e4));}return _0x359f3e[_0x43d700(0x1f5)][_0x43d700(0x1e7)](_0x359f3e[_0x43d700(0x1f5)][_0x43d700(0x1ad)](_0x4cbd69,_0x27f81f));}function _0xddd5(){const _0x48d40b=['length','remove','isBlock','toNone','stickiness','position','createSelection','isRegisteredAttribute','root','suggestion:formatBlock:$fakeWrap:','targetPosition','newValue','createRangeOn','isMarkedRemoveOperation','removed','874HwcCHd','range','howMany','backward','get','model','delete','getDiff','children','getFirstRange','path','removeAttribute','getMovedRangeStart','markers','nodeBefore','isDocumentOperation','applyOperation','isBefore','6308830QEffRJ','split','plugins','move','slice','isObject','newName','name','modifySelection','element','parse','createPositionFromPath','_getTransformedByDeletion','focus','set','forward','end','index','new','node','POSITIVE_INFINITY','oldName','$text','changes','rename','insert','schema','changeAttribute','type','key','createRange','_createFromRanges','createPositionAt','offset','2759007ssXZnf','...','getShiftedBy','1838tLefKP','addOperation','parent','moveTargetPosition','textNode','suggestion:insertion:','$root','addAttribute','data-id','push','getTransformedByOperation','suggestion:deletion:','batch','newRange','stringify','2580361gGqaEM','reverse','change','marker','getOperations','getMinimalFlatRanges','oldValue','suggestion:attribute:','cloneNode','nodeAfter','start','isAfter','clone','_getTransformedByInsertion','baseVersion','data','$elementName','word','add','map','128168xeWNUR','splitPosition','14631272oKgoeg','DocumentCompare','6076224PDSWXA',':$aiSuggestion','setTo','sourcePosition','SuggestionsConversion','merge'];_0xddd5=function(){return _0x48d40b;};return _0xddd5();}export function expandSelectionWithContext(_0x1a0810,_0x1cb60a){const _0x2924c1=_0x516e;so(_0x1a0810,_0x1cb60a,_0x2924c1(0x19e));const _0x42f0af=_0x1cb60a[_0x2924c1(0x1f9)]();_0x1cb60a[_0x2924c1(0x1dd)]([]),_0x1cb60a[_0x2924c1(0x1dd)](_0x42f0af,{'backward':!0x0}),so(_0x1a0810,_0x1cb60a,_0x2924c1(0x1f3));}function so(_0x1342d9,_0x57e6bd,_0x1b712a){const _0x2f2fb2=_0x516e;let _0x1c1c83=0x14;for(;_0x1c1c83;){_0x1342d9[_0x2f2fb2(0x197)](_0x57e6bd,{'unit':_0x2f2fb2(0x1d4),'direction':_0x1b712a}),_0x1c1c83--;const _0x4f4fd8=_0x57e6bd[_0x2f2fb2(0x19c)][_0x2f2fb2(0x19e)==_0x1b712a?_0x2f2fb2(0x1fe):_0x2f2fb2(0x1cc)];if(_0x4f4fd8&&_0x4f4fd8['is'](_0x2f2fb2(0x198))&&_0x1342d9[_0x2f2fb2(0x1a9)][_0x2f2fb2(0x1e3)](_0x4f4fd8)&&_0x1342d9[_0x2f2fb2(0x1a9)][_0x2f2fb2(0x194)](_0x4f4fd8))break;}}export function _transformMarkersByDeletion(_0x44e834,_0x419452){const _0x6c1b1f=_0x516e;for(const [_0x1bf530,_0x319051]of _0x44e834[_0x6c1b1f(0x1fd)]){const _0xe353f5=_0x319051[_0x6c1b1f(0x19b)](_0x419452[_0x6c1b1f(0x1cd)],_0x419452[_0x6c1b1f(0x19f)][_0x6c1b1f(0x1b0)]-_0x419452[_0x6c1b1f(0x1cd)][_0x6c1b1f(0x1b0)]);null!=_0xe353f5?_0x44e834[_0x6c1b1f(0x1fd)][_0x6c1b1f(0x19d)](_0x1bf530,_0xe353f5):_0x44e834[_0x6c1b1f(0x1fd)][_0x6c1b1f(0x1f6)](_0x1bf530);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x45e507,_0x5dbddc){const _0x58efe8=_0x3cf8,_0xbb2422=_0x45e507();while(!![]){try{const _0x5d343e=parseInt(_0x58efe8(0x1cf))/0x1*(parseInt(_0x58efe8(0x1d6))/0x2)+-parseInt(_0x58efe8(0x1e7))/0x3+parseInt(_0x58efe8(0x1dd))/0x4+-parseInt(_0x58efe8(0x1d5))/0x5+-parseInt(_0x58efe8(0x1da))/0x6*(parseInt(_0x58efe8(0x1e2))/0x7)+parseInt(_0x58efe8(0x1e4))/0x8*(-parseInt(_0x58efe8(0x1df))/0x9)+parseInt(_0x58efe8(0x1d1))/0xa;if(_0x5d343e===_0x5dbddc)break;else _0xbb2422['push'](_0xbb2422['shift']());}catch(_0x1a9cce){_0xbb2422['push'](_0xbb2422['shift']());}}}(_0x4159,0xde618));import{parseDocument as _0x3eb0cd}from'htmlparser2';import{append as _0x5d11e9,appendChild as _0x516d65,find as _0x14592e,findAll as _0x12cee6,findOne as _0x47e7c8,getChildren as _0x19f097,isComment as _0xd32c80,isTag as _0x39613e,prepend as _0x6e32b5,prependChild as _0x112e2c,removeElement as _0x5ef59e,replaceElement as _0x1933c7,textContent as _0x2d07ae,getParent as _0x23a41d,hasChildren as _0x23ca51}from'domutils';import _0x483fba from'dom-serializer';import{cloneNode as _0xdb5638,isDocument as _0x56b8be,isText as _0x1d2f02,Element as _0x51d149,Text as _0xd1540d,Document as _0x2b4145,NodeWithChildren as _0x54e40b}from'domhandler';export{_0xdb5638 as cloneNode,_0x14592e as find,_0x47e7c8 as findOne,_0x12cee6 as findAll,_0x19f097 as getChildren,_0x23a41d as getParent,_0xd32c80 as isComment,_0x56b8be as isDocument,_0x39613e as isTag,_0x1d2f02 as isText,_0x5d11e9 as append,_0x516d65 as appendChild,_0x6e32b5 as prepend,_0x112e2c as prependChild,_0x483fba as render,_0x5ef59e as removeElement,_0x1933c7 as replaceElement,_0x2d07ae as textContent,_0x23ca51 as hasChildren,_0x51d149 as Element,_0x2b4145 as Document,_0x54e40b as NodeWithChildren,_0xd1540d as Text};function _0x3cf8(_0x30d93d,_0x5b350c){const _0x41591d=_0x4159();return _0x3cf8=function(_0x3cf86e,_0x53a593){_0x3cf86e=_0x3cf86e-0x1cf;let _0x1e2e49=_0x41591d[_0x3cf86e];return _0x1e2e49;},_0x3cf8(_0x30d93d,_0x5b350c);}export function parse(_0x43fb70){return _0x3eb0cd(_0x43fb70);}function _0x4159(){const _0x2a5592=['226874urgJiE','forEach','9156170UmiAnu','replace','beforeend','reverse','1983815tQnWoB','10Klmsoz','slice','push','indexOf','132YsPOcZ','parentNode','attribs','6939396GpNkZT','nextSibling','9cKoMxW','map','afterend','442043IMkYBK','beforebegin','3320056zeApud','cloneNode','afterbegin','2018748kyMDLm'];_0x4159=function(){return _0x2a5592;};return _0x4159();}export function serialize(_0x59326b){return _0x483fba(_0x59326b);}export function findByAttribute(_0x1b987b,_0x58826d,_0x2bf6bc){const _0xedce80=_0x3cf8,_0x17ee28=null!==_0x58826d?_0xfc395e=>_0xfc395e[_0xedce80(0x1dc)][_0x1b987b]===_0x58826d:_0x12025f=>Boolean(_0x12025f[_0xedce80(0x1dc)][_0x1b987b]);return _0x47e7c8(_0xe2df43=>_0x39613e(_0xe2df43)&&_0x17ee28(_0xe2df43),_0x2bf6bc);}export function findAllByAttribute(_0x45885f,_0x4308a0,_0x29d7fa){const _0x1b5598=_0x3cf8,_0x4b8d6b=null!==_0x4308a0?_0x4b06ce=>_0x4b06ce[_0x1b5598(0x1dc)][_0x45885f]===_0x4308a0:_0x4e5e35=>Boolean(_0x4e5e35[_0x1b5598(0x1dc)][_0x45885f]);return _0x12cee6(_0x2a12e1=>_0x39613e(_0x2a12e1)&&_0x4b8d6b(_0x2a12e1),_0x29d7fa);}export function findAllComments(_0x2742de){return _0x14592e(_0x3e3596=>_0xd32c80(_0x3e3596),_0x2742de,!0x0,0x1/0x0);}export function getAttribute(_0xbf25b7,_0xfecd6e){const _0x560ab6=_0x3cf8;return _0xbf25b7&&_0x39613e(_0xbf25b7)?_0xbf25b7[_0x560ab6(0x1dc)][_0xfecd6e]:null;}export function setAttribute(_0x33f145,_0x41b8aa,_0x5ed099){const _0x1ef9a5=_0x3cf8;_0x39613e(_0x33f145)&&(null===_0x5ed099?delete _0x33f145[_0x1ef9a5(0x1dc)][_0x41b8aa]:_0x33f145[_0x1ef9a5(0x1dc)][_0x41b8aa]=_0x5ed099);}export function insertElement(_0x4c5198,_0x5567dd,_0x25c43b){const _0x464228=_0x3cf8,_0x42224d=_0x5567dd[_0x464228(0x1e5)](!0x0);_0x464228(0x1e3)===_0x25c43b?_0x6e32b5(_0x4c5198,_0x42224d):_0x464228(0x1e6)===_0x25c43b?_0x112e2c(_0x4c5198,_0x42224d):_0x464228(0x1d3)===_0x25c43b?_0x516d65(_0x4c5198,_0x42224d):_0x464228(0x1e1)===_0x25c43b&&_0x5d11e9(_0x4c5198,_0x42224d);}export function moveElement(_0x3b06cc,_0x36de55){_0x5ef59e(_0x3b06cc),_0x1933c7(_0x36de55,_0x3b06cc);}export function clone(_0x26950f){const _0x4b0f39=_0x3cf8;return _0x26950f[_0x4b0f39(0x1e5)](!0x0);}export function getParents(_0x1a2f99){const _0x48db20=_0x3cf8,_0x5a0135=[];let _0x196137=_0x1a2f99;for(;_0x196137;)_0x196137=_0x23a41d(_0x196137),_0x196137&&_0x5a0135[_0x48db20(0x1d8)](_0x196137);return _0x5a0135;}export function normalizeHTML(_0x6a8e86){const _0x14dc13=_0x3cf8;return _0x6a8e86[_0x14dc13(0x1d2)](/^\s+/gm,'')[_0x14dc13(0x1d2)](/\s+$/gm,'')[_0x14dc13(0x1d2)](/\n*/g,'')[_0x14dc13(0x1d2)](/\s+/g,'\x20')[_0x14dc13(0x1d2)](/>\s*</g,'><');}export function areNodesSame(_0x4a1343,_0x15e085){return normalizeHTML(serialize(_0x4a1343))===normalizeHTML(serialize(_0x15e085));}export function getNodeNestingLevel(_0x44fc8b){const _0x3127e3=_0x3cf8;let _0x438e0a=0x0;for(;_0x44fc8b[_0x3127e3(0x1db)];)_0x44fc8b=_0x44fc8b[_0x3127e3(0x1db)],_0x438e0a++;return _0x438e0a;}export function removeElementsAfter(_0x378d79){const _0x5a4a54=_0x3cf8,_0x26c3be=[];let _0x21fff1=_0x378d79[_0x5a4a54(0x1de)];for(;_0x21fff1;)_0x26c3be[_0x5a4a54(0x1d8)](_0x21fff1),_0x21fff1=_0x21fff1[_0x5a4a54(0x1de)];_0x26c3be[_0x5a4a54(0x1d0)](_0x218f99=>{_0x5ef59e(_0x218f99);});}export function getNodePath(_0x3cf7e4){const _0x19e700=_0x3cf8;return[_0x3cf7e4,...getParents(_0x3cf7e4)][_0x19e700(0x1d7)](0x0,-0x1)[_0x19e700(0x1e0)](_0x523394=>{const _0x3cb643=_0x19e700,_0x3dfaf8=_0x23a41d(_0x523394);return _0x19f097(_0x3dfaf8)[_0x3cb643(0x1d9)](_0x523394);})[_0x19e700(0x1d4)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35558b=_0x2493;(function(_0x588080,_0x3e86d4){const _0x1ff4a8=_0x2493,_0x56f868=_0x588080();while(!![]){try{const _0x33d840=-parseInt(_0x1ff4a8(0x125))/0x1+-parseInt(_0x1ff4a8(0x121))/0x2*(parseInt(_0x1ff4a8(0x135))/0x3)+parseInt(_0x1ff4a8(0x11e))/0x4*(parseInt(_0x1ff4a8(0x130))/0x5)+parseInt(_0x1ff4a8(0x138))/0x6+-parseInt(_0x1ff4a8(0x149))/0x7+parseInt(_0x1ff4a8(0x13f))/0x8*(parseInt(_0x1ff4a8(0x14d))/0x9)+parseInt(_0x1ff4a8(0x13a))/0xa;if(_0x33d840===_0x3e86d4)break;else _0x56f868['push'](_0x56f868['shift']());}catch(_0x5de9d4){_0x56f868['push'](_0x56f868['shift']());}}}(_0x4410,0x23886));function _0x4410(){const _0x2b9a2a=['cleanUpAnimations','span','delay','from','getParsedDocumentNodeList','sup','1870505UKIWKK','currentIndex','shouldBeStreamed','push','243XTBIEc','nodesList','includes','map','children','span[data-ck-html-streamer-word-chunk]','querySelectorAll','code','join','addEventListener','parent','bind','isWordSplitSource','textNodeStyle','25896LFRJFg','attribs','strong','217038ygoMop','div','onStreamUpdate','isStreaming','27273jcMDXk','reverse','tagName','forEach','entries','splitTextNodeIntoWordNodes','document','sub','options','replaceWith','stream','20msRdVj','now','match','mark','stop','6DhcFMT','abort','isWordSplitResult','1447824xQvDrT','signal','1298310GANWbp','del','renderNode','ins','ai-html-streamer-current-index-out-of-bounds','77048ttQWWx','childNodes','length','timeoutAbortController'];_0x4410=function(){return _0x2b9a2a;};return _0x4410();}import _0x5d5843 from'morphdom';function _0x2493(_0x2ff9cc,_0x395a20){const _0x4410e4=_0x4410();return _0x2493=function(_0x24938a,_0x40e1e1){_0x24938a=_0x24938a-0x114;let _0x3be8c2=_0x4410e4[_0x24938a];return _0x3be8c2;},_0x2493(_0x2ff9cc,_0x395a20);}import{NodeWithChildren as _0x791837,Text as _0x287e26,Element as _0x425a48,isText as _0x559a14,isDocument as _0x5a107d,isTag as _0x689b0f,cloneNode as _0x3af990,getChildren as _0x4d6374,prepend as _0x599844,removeElement as _0x320db6,textContent as _0x2601f4,render as _0x550908}from'./htmlparser.js';import{logWarning as _0x2256a3}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x35558b(0x12d)];[_0x35558b(0x124)]=!0x1;[_0x35558b(0x12b)]=null;[_0x35558b(0x14e)]=[];[_0x35558b(0x14a)]=0x0;[_0x35558b(0x142)]=null;constructor(_0x72c9a6){const _0x4847f3=_0x35558b;this[_0x4847f3(0x12d)]={'delay':_0x72c9a6[_0x4847f3(0x145)]??0x14,'textNodeStyle':_0x72c9a6[_0x4847f3(0x11d)],'onStreamUpdate':_0x72c9a6[_0x4847f3(0x123)]||(()=>{})};}async[_0x35558b(0x12f)]({document:_0x2562c0,targetElement:_0x46c38c,abortSignal:_0x313c81}){const _0x3d03d1=_0x35558b;this[_0x3d03d1(0x124)]&&this[_0x3d03d1(0x134)](),_0x313c81?.[_0x3d03d1(0x119)](_0x3d03d1(0x136),this[_0x3d03d1(0x134)][_0x3d03d1(0x11b)](this)),this[_0x3d03d1(0x12b)]=_0x3af990(_0x2562c0,!0x0),this[_0x3d03d1(0x14e)]=this[_0x3d03d1(0x147)](),this[_0x3d03d1(0x124)]=!0x0,this[_0x3d03d1(0x14a)]>this[_0x3d03d1(0x14e)][_0x3d03d1(0x141)]&&(_0x2256a3(_0x3d03d1(0x13e),{'currentIndex':this[_0x3d03d1(0x14a)],'nodeList':this[_0x3d03d1(0x14e)]}),this[_0x3d03d1(0x14a)]=this[_0x3d03d1(0x14e)][_0x3d03d1(0x141)]);for(let _0x5d17d4=0x0;_0x5d17d4<this[_0x3d03d1(0x14a)];_0x5d17d4++)this[_0x3d03d1(0x14e)][_0x5d17d4][_0x3d03d1(0x14b)]=!0x0;let _0x5dcab4=0x0;for(let _0x455983=this[_0x3d03d1(0x14a)];_0x455983<this[_0x3d03d1(0x14e)][_0x3d03d1(0x141)];_0x455983++){const _0x3c6823=Date[_0x3d03d1(0x131)](),_0x53dbc7=this[_0x3d03d1(0x14e)][_0x455983],_0x276910=_0x3c6823-_0x5dcab4;_0x53dbc7[_0x3d03d1(0x14b)]=!0x0;let _0x38bea0=_0x53dbc7[_0x3d03d1(0x11a)];for(;_0x38bea0;)_0x38bea0[_0x3d03d1(0x14b)]=!0x0,_0x38bea0=_0x38bea0[_0x3d03d1(0x11a)];if(_0x276910<this[_0x3d03d1(0x12d)][_0x3d03d1(0x145)])try{const {promise:_0xaafb2a,abortController:_0xc30c1d}=pr(this[_0x3d03d1(0x12d)][_0x3d03d1(0x145)]-_0x276910);this[_0x3d03d1(0x142)]=_0xc30c1d,await _0xaafb2a;}catch(_0x3c3694){return;}_0x5d5843(_0x46c38c,'<'+_0x46c38c[_0x3d03d1(0x127)]+'>'+this[_0x3d03d1(0x13c)](this[_0x3d03d1(0x12b)])+'</'+_0x46c38c[_0x3d03d1(0x127)]+'>',{'childrenOnly':!0x0}),this[_0x3d03d1(0x12d)][_0x3d03d1(0x123)]&&this[_0x3d03d1(0x12d)][_0x3d03d1(0x123)](),this[_0x3d03d1(0x14a)]=_0x455983,_0x5dcab4=Date[_0x3d03d1(0x131)]();}this[_0x3d03d1(0x124)]=!0x1;}[_0x35558b(0x143)]({targetElement:_0x423432}){const _0x3ddf11=_0x35558b;Array[_0x3ddf11(0x146)](_0x423432[_0x3ddf11(0x116)](_0x3ddf11(0x115)))[_0x3ddf11(0x126)]()[_0x3ddf11(0x128)](_0x2ec25b=>{const _0x59e11e=_0x3ddf11;_0x2ec25b[_0x59e11e(0x12e)](_0x2ec25b[_0x59e11e(0x140)][0x0]);});}[_0x35558b(0x134)](){const _0x323dd7=_0x35558b;this[_0x323dd7(0x124)]=!0x1,this[_0x323dd7(0x142)]&&(this[_0x323dd7(0x142)][_0x323dd7(0x136)](),this[_0x323dd7(0x142)]=null);}[_0x35558b(0x13c)](_0x24d9e3){const _0x1af103=_0x35558b;let _0x11bccb='';if(function(_0x3b0e62){return _0x5a107d(_0x3b0e62);}(_0x24d9e3)){for(const _0x44c24c of _0x24d9e3[_0x1af103(0x114)])_0x11bccb+=this[_0x1af103(0x13c)](_0x44c24c);}else{if(dr(_0x24d9e3)){if(!_0x24d9e3[_0x1af103(0x14b)])return'';const _0x2424bb=_0x24d9e3,_0x2089e5=Object[_0x1af103(0x129)](_0x2424bb[_0x1af103(0x11f)])[_0x1af103(0x150)](([_0x66c3c7,_0x4ef771])=>_0x66c3c7+'=\x22'+_0x4ef771+'\x22')[_0x1af103(0x118)]('\x20');_0x11bccb+='<'+_0x2424bb[_0x1af103(0x127)]+(_0x2089e5?'\x20'+_0x2089e5:'')+'>';for(const _0x43cd1e of _0x4d6374(_0x2424bb))_0x11bccb+=this[_0x1af103(0x13c)](_0x43cd1e);_0x11bccb+='</'+_0x2424bb[_0x1af103(0x127)]+'>';}else{if(!ar(_0x24d9e3))return'';if(!_0x24d9e3[_0x1af103(0x14b)])return'';!function(_0x4897da){const _0x5db36f=_0x1af103;if(!_0x4897da[_0x5db36f(0x11a)]||!dr(_0x4897da[_0x5db36f(0x11a)]))return!0x1;if(!cr[_0x5db36f(0x14f)](_0x4897da[_0x5db36f(0x11a)][_0x5db36f(0x127)]))return!0x1;return!_0x2601f4(_0x4897da)[_0x5db36f(0x132)](/^\s*[<>]\s*$/);}(_0x24d9e3)?_0x11bccb+=_0x550908(_0x24d9e3):_0x11bccb+=_0x550908(new _0x425a48(_0x1af103(0x144),{'data-ck-html-streamer-word-chunk':'','style':this[_0x1af103(0x12d)][_0x1af103(0x11d)]},[_0x24d9e3]));}}return _0x11bccb;}[_0x35558b(0x147)](){const _0x3cad0e=_0x35558b,_0x365802=[];return function(_0x221a1a,_0x10b6f8){const _0x9de8e5=_0x2493,_0x274e59=_0x16048c=>{const _0x39bd2e=_0x2493;if(_0x10b6f8(_0x16048c),_0x16048c instanceof _0x791837)for(let _0x44335d=0x0;_0x44335d<_0x16048c[_0x39bd2e(0x114)][_0x39bd2e(0x141)];_0x44335d++){const _0x2527c8=_0x16048c[_0x39bd2e(0x114)][_0x44335d];_0x274e59(_0x2527c8);}};for(let _0x49a5f1=0x0;_0x49a5f1<_0x221a1a[_0x9de8e5(0x114)][_0x9de8e5(0x141)];_0x49a5f1++)_0x274e59(_0x221a1a[_0x9de8e5(0x114)][_0x49a5f1]);}(this[_0x3cad0e(0x12b)],_0x44b300=>{const _0x298f59=_0x3cad0e;if(ar(_0x44b300)){const _0x3b2e47=this[_0x298f59(0x12a)](_0x44b300);_0x3b2e47[_0x298f59(0x141)]&&_0x365802[_0x298f59(0x14c)](..._0x3b2e47);}_0x44b300[_0x298f59(0x11c)]||_0x44b300[_0x298f59(0x137)]||_0x365802[_0x298f59(0x14c)](_0x44b300);}),_0x365802;}[_0x35558b(0x12a)](_0x2f78e1){const _0x4fa1a6=_0x35558b;if(_0x2f78e1[_0x4fa1a6(0x11c)]||_0x2f78e1[_0x4fa1a6(0x137)])return[];const _0x5c0f65=_0x2601f4(_0x2f78e1)[_0x4fa1a6(0x132)](/(?:\s*\S+\s*)/g),_0x1b920e=[];if(_0x5c0f65&&_0x5c0f65[_0x4fa1a6(0x141)]>0x1){for(const _0x51d46d of _0x5c0f65){const _0x1eff40=new _0x287e26(_0x51d46d);_0x1eff40[_0x4fa1a6(0x137)]=!0x0,_0x599844(_0x2f78e1,_0x1eff40),_0x1b920e[_0x4fa1a6(0x14c)](_0x1eff40);}_0x2f78e1[_0x4fa1a6(0x11c)]=!0x0,_0x320db6(_0x2f78e1);}return _0x1b920e;}}const cr=['p','li','td','th',_0x35558b(0x144),'h1','h2','h3','h4','h5','h6','b',_0x35558b(0x120),'i','em',_0x35558b(0x133),_0x35558b(0x13b),_0x35558b(0x13d),_0x35558b(0x148),_0x35558b(0x12c),'a',_0x35558b(0x117),_0x35558b(0x122)];function ar(_0x3cec32){return _0x559a14(_0x3cec32);}function dr(_0x3f420e){return _0x689b0f(_0x3f420e);}function pr(_0x9b5897){const _0x213937=new AbortController();return{'promise':new Promise((_0x5e4a07,_0x4914ad)=>{const _0x4bdd34=_0x2493,_0xb45ca9=setTimeout(_0x5e4a07,_0x9b5897);_0x213937[_0x4bdd34(0x139)][_0x4bdd34(0x119)](_0x4bdd34(0x136),()=>{clearTimeout(_0xb45ca9),_0x4914ad();});}),'abortController':_0x213937};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2999(_0x1a39d1,_0x38a936){const _0xcd6734=_0xcd67();return _0x2999=function(_0x299988,_0x477d08){_0x299988=_0x299988-0x158;let _0x42f83e=_0xcd6734[_0x299988];return _0x42f83e;},_0x2999(_0x1a39d1,_0x38a936);}const _0xdf850e=_0x2999;(function(_0x259981,_0x29e931){const _0x4f47c6=_0x2999,_0x474df3=_0x259981();while(!![]){try{const _0x71ca69=parseInt(_0x4f47c6(0x173))/0x1+-parseInt(_0x4f47c6(0x17a))/0x2+-parseInt(_0x4f47c6(0x15c))/0x3*(-parseInt(_0x4f47c6(0x172))/0x4)+-parseInt(_0x4f47c6(0x166))/0x5+-parseInt(_0x4f47c6(0x16e))/0x6*(-parseInt(_0x4f47c6(0x15f))/0x7)+parseInt(_0x4f47c6(0x16c))/0x8+-parseInt(_0x4f47c6(0x16d))/0x9*(parseInt(_0x4f47c6(0x15d))/0xa);if(_0x71ca69===_0x29e931)break;else _0x474df3['push'](_0x474df3['shift']());}catch(_0x563264){_0x474df3['push'](_0x474df3['shift']());}}}(_0xcd67,0x7883a));import{Plugin as _0x420943}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x889f5e}from'./toggleaicommand.js';import{ButtonView as _0x5321a1,MenuBarMenuListItemButtonView as _0x2bc501}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x32ae3f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x490517}from'../../aicore/utils/common-translations.js';function _0xcd67(){const _0x24a4b4=['init','execute','bind','2531860GUHOgO','494564oGvuXj','editor','ck-ai-toggle-button','pluginName','listenTo','isOfficialPlugin','get','997038YocuBn','add','requires','AIToggleButtonUI','menuitemcheckbox','3LbVaxb','90RDRtKJ','value','77zoyKaw','isEnabled','AI_TOGGLE_BUTTON_LABEL','menuBar:toggleAi','locale','isOn','set','2798405MlpjBN','componentFactory','commands','_createAIUIButton','toggleAi','isPremiumPlugin','3950368HBhvtR','720666OqlGyE','355182Rbubkr'];_0xcd67=function(){return _0x24a4b4;};return _0xcd67();}import{AITabs as _0x5a9793}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x420943{static get[_0xdf850e(0x159)](){return[_0x5a9793];}static get[_0xdf850e(0x176)](){const _0x5c8bd5=_0xdf850e;return _0x5c8bd5(0x15a);}static get[_0xdf850e(0x178)](){return!0x0;}static get[_0xdf850e(0x16b)](){return!0x0;}[_0xdf850e(0x16f)](){const _0x11e675=_0xdf850e,_0xb6ee01=this[_0x11e675(0x174)];_0xb6ee01[_0x11e675(0x168)][_0x11e675(0x158)](_0x11e675(0x16a),new _0x889f5e(_0xb6ee01)),_0xb6ee01['ui'][_0x11e675(0x167)][_0x11e675(0x158)](_0x11e675(0x16a),()=>{const _0x1488cf=_0x11e675,_0x4668ff=this[_0x1488cf(0x169)](_0x5321a1);return _0x4668ff[_0x1488cf(0x165)]({'tooltip':!0x0,'class':_0x1488cf(0x175)}),_0x4668ff;}),_0xb6ee01['ui'][_0x11e675(0x167)][_0x11e675(0x158)](_0x11e675(0x162),()=>{const _0xa2bab4=_0x11e675,_0x39353f=this[_0xa2bab4(0x169)](_0x2bc501);return _0x39353f[_0xa2bab4(0x165)]({'role':_0xa2bab4(0x15b)}),_0x39353f;});}[_0xdf850e(0x169)](_0x4f2000){const _0x37a8d8=_0xdf850e,_0x55ab56=this[_0x37a8d8(0x174)],_0x1b87c9=_0x55ab56[_0x37a8d8(0x168)][_0x37a8d8(0x179)](_0x37a8d8(0x16a)),_0xa08b05=new _0x4f2000(_0x55ab56[_0x37a8d8(0x163)]);return _0xa08b05[_0x37a8d8(0x165)]({'label':_0x490517(_0x55ab56[_0x37a8d8(0x163)],_0x37a8d8(0x161)),'icon':_0x32ae3f,'isToggleable':!0x0}),_0xa08b05[_0x37a8d8(0x171)](_0x37a8d8(0x160))['to'](_0x1b87c9),_0xa08b05[_0x37a8d8(0x171)](_0x37a8d8(0x164))['to'](_0x1b87c9,_0x37a8d8(0x15e),_0x1c273e=>!!_0x1c273e),this[_0x37a8d8(0x177)](_0xa08b05,_0x37a8d8(0x170),()=>{const _0xe5ca52=_0x37a8d8;_0x1b87c9[_0xe5ca52(0x170)]();}),_0xa08b05;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4802(_0x178e1f,_0x16f0d9){const _0x510793=_0x5107();return _0x4802=function(_0x4802ba,_0x2ccde2){_0x4802ba=_0x4802ba-0xf1;let _0x2baa52=_0x510793[_0x4802ba];return _0x2baa52;},_0x4802(_0x178e1f,_0x16f0d9);}const _0x48bca5=_0x4802;(function(_0x35017b,_0x286b70){const _0x2c46aa=_0x4802,_0x72ef06=_0x35017b();while(!![]){try{const _0x2f8be8=parseInt(_0x2c46aa(0x170))/0x1+parseInt(_0x2c46aa(0x106))/0x2*(-parseInt(_0x2c46aa(0xfe))/0x3)+parseInt(_0x2c46aa(0x133))/0x4+-parseInt(_0x2c46aa(0x16d))/0x5+-parseInt(_0x2c46aa(0x15f))/0x6+parseInt(_0x2c46aa(0x12b))/0x7*(-parseInt(_0x2c46aa(0x110))/0x8)+parseInt(_0x2c46aa(0x12f))/0x9;if(_0x2f8be8===_0x286b70)break;else _0x72ef06['push'](_0x72ef06['shift']());}catch(_0x2afdfe){_0x72ef06['push'](_0x72ef06['shift']());}}}(_0x5107,0xcbf0b));import{IconAIAdjustLength as _0x48b93b,IconAIChangeTone as _0x3b45f8,IconAIChatCommands as _0x48757b,IconAIContinueWriting as _0x287942,IconAIGrammarCheck as _0x4b0656,IconAIImproveWriting as _0x4c951e,IconAIOther as _0xf97e65,IconAIQuickActions as _0x165c4a,IconAITranslate as _0x427101}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x33aeb5}from'ckeditor5/src/core.js';import{CKEditorError as _0x2af8c5,logError as _0x252cfd}from'ckeditor5/src/utils.js';import{getTranslation as _0x210400}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x388621}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5f1f82}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x460f6c,BalloonToolbar as _0x118be7,MenuBarMenuView as _0x5eda52,MenuBarMenuListView as _0x2a95e1,MenuBarMenuListItemView as _0x1f2bae,MenuBarMenuListItemButtonView as _0x12efab}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x1c0b6d}from'../aicore/model/aimodels.js';function _0x5107(){const _0x19bf46=['19130238iFaHHK','AI_QUICK_ACTIONS_CHANGE_TONE','focus','summarize','2857320tDhklR','ACTION','french','translate-to-korean','continue','_initializeQuickActionsDropdown','translate-to-spanish','change-tone','length','editing','chat-commands','translate-to-english','plugins','AIQuickActionsUI','includes','menu','menuitem','values','close','AIConnector','AI_QUICK_ACTIONS_MAKE_SHORTER','model','language','config','AIActions','AI_QUICK_ACTIONS_TRANSLATE','menuBar:aiQuickActions','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','portuguese','make-shorter','English','push','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','CHAT','panelView','ask-ai','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_ASK_AI','getAvailableModels','getDefaultQuickActions','7804602bGmXCe','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','type','translate-to-japanese','_shouldIncludeAction','AIChat','replace','highlight-key-points','view','get','ai-quick-actions-models-unable-to-retrieve','translate-to-italian','italian','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','1773180qVaMmf','attachToDom','componentFactory','599122aTVDHA','label','ai.quickActions.isSearchEnabled','isPremiumPlugin','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_SUMMARIZE','locale','uiLanguage','make-tone-direct','explain','make-tone-confident','DisplayNames','korean','pluginName','commands','delegate','translate-to-chinese','init','translate-to-french','find','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','requires','AIReviewMode','buttonView','AI_QUICK_ACTIONS_MORE_FRIENDLY','aiQuickAction','russian','ai-quick-actions-unavailable-model','other','adjust-length','isEnabled','spanish','AI_QUICK_ACTIONS_MAKE_LONGER','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','has','execute','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','message','filter','make-longer','add','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','aiQuickActions','15ytgiRH','ai.quickActions.removeCommands','items','isOfficialPlugin','_getDefaultAndCustomActions','actions','AI_QUICK_ACTIONS_CHAT_COMMANDS','displayedPrompt','115458tTmUin','japanese','ai.chat.models.displayedModels','german','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-german','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_ADJUST_LENGTH','REVIEW','editor','2776LiWVAJ','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','improve-writing','fix-grammar','_initializeQuickActionsComponentsAndCommands','map','menuBarView','set','translate-to-portuguese','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-russian','chinese','some','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_CONTINUE_WRITING','icon','_executeQuickAction','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','english','children','make-tone-friendly','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_IMPROVE_WRITING','_prepareQuickActionsDefinition','translate','make-tone-professional','13307DKrYaK','make-tone-casual','_quickActionsDefinition','forEach'];_0x5107=function(){return _0x19bf46;};return _0x5107();}const ae=_0x48bca5(0xf3),se=_0x48bca5(0xf2),re=_0x48bca5(0x160);export var AIQuickActionType;!function(_0xd8599b){const _0x4fa95a=_0x48bca5;_0xd8599b[_0x4fa95a(0x158)]=_0x4fa95a(0x158),_0xd8599b[_0x4fa95a(0x134)]=_0x4fa95a(0x134),_0xd8599b[_0x4fa95a(0x10e)]=_0x4fa95a(0x10e);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3028a4){const _0x8fd746=_0x48bca5;_0x3028a4[_0x8fd746(0x158)]=_0x8fd746(0x164),_0x3028a4[_0x8fd746(0x134)]=_0x8fd746(0x14b),_0x3028a4[_0x8fd746(0x10e)]=_0x8fd746(0x187);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x33aeb5{static get[_0x48bca5(0x186)](){return[_0x118be7];}static get[_0x48bca5(0x17d)](){const _0x556b06=_0x48bca5;return _0x556b06(0x140);}static get[_0x48bca5(0x101)](){return!0x0;}static get[_0x48bca5(0x173)](){return!0x0;}async[_0x48bca5(0x181)](){const _0x528668=_0x48bca5,_0x32f44f=await this[_0x528668(0x102)]();this[_0x528668(0x128)](_0x32f44f),this[_0x528668(0x114)]();}static[_0x48bca5(0x15e)](_0x22c312){return function(_0x14c304){const _0x3d2c5a=_0x4802,_0x8957bd=new Intl[(_0x3d2c5a(0x17b))](['en'],{'type':_0x3d2c5a(0x149)})['of'](_0x14c304[_0x3d2c5a(0x177)]),_0x563e5d=_0x8957bd||_0x3d2c5a(0x151),_0x27f657=[{'id':_0x3d2c5a(0x15a),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x15c)),'type':AIQuickActionType[_0x3d2c5a(0x158)],'icon':_0x48757b},{'id':_0x3d2c5a(0x13d),'label':_0x210400(_0x14c304,_0x3d2c5a(0x104)),'icon':_0x48757b,'actions':[{'id':_0x3d2c5a(0x179),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x154)),'prompt':ae[_0x3d2c5a(0x165)]('%0',_0x563e5d),'type':AIQuickActionType[_0x3d2c5a(0x158)]},{'id':_0x3d2c5a(0x132),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x175)),'prompt':se[_0x3d2c5a(0x165)]('%0',_0x563e5d),'type':AIQuickActionType[_0x3d2c5a(0x158)]},{'id':_0x3d2c5a(0x166),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0xfc)),'prompt':re[_0x3d2c5a(0x165)]('%0',_0x563e5d),'type':AIQuickActionType[_0x3d2c5a(0x158)]}]},{'id':_0x3d2c5a(0x112),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x127)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'icon':_0x4c951e},{'id':_0x3d2c5a(0x137),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x11f)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'icon':_0x287942},{'id':_0x3d2c5a(0x113),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0xf6)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'icon':_0x4b0656},{'id':_0x3d2c5a(0x18e),'label':_0x210400(_0x14c304,_0x3d2c5a(0x10d)),'icon':_0x48b93b,'actions':[{'id':_0x3d2c5a(0x150),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x147)),'type':AIQuickActionType[_0x3d2c5a(0x134)]},{'id':_0x3d2c5a(0xf9),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0xf1)),'type':AIQuickActionType[_0x3d2c5a(0x134)]}]},{'id':_0x3d2c5a(0x13a),'label':_0x210400(_0x14c304,_0x3d2c5a(0x130)),'icon':_0x3b45f8,'actions':[{'id':_0x3d2c5a(0x12c),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x174)),'type':AIQuickActionType[_0x3d2c5a(0x134)]},{'id':_0x3d2c5a(0x178),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x10a)),'type':AIQuickActionType[_0x3d2c5a(0x134)]},{'id':_0x3d2c5a(0x125),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x189)),'type':AIQuickActionType[_0x3d2c5a(0x134)]},{'id':_0x3d2c5a(0x17a),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x11d)),'type':AIQuickActionType[_0x3d2c5a(0x134)]},{'id':_0x3d2c5a(0x12a),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x14e)),'type':AIQuickActionType[_0x3d2c5a(0x134)]}]},{'id':_0x3d2c5a(0x129),'label':_0x210400(_0x14c304,_0x3d2c5a(0x14c)),'icon':_0x427101,'actions':[{'id':_0x3d2c5a(0x13e),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x156)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x123)}},{'id':_0x3d2c5a(0x180),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x153)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x11b)}},{'id':_0x3d2c5a(0x139),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x157)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x190)}},{'id':_0x3d2c5a(0x10b),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x155)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x109)}},{'id':_0x3d2c5a(0x182),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x16c)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x135)}},{'id':_0x3d2c5a(0x162),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x119)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x107)}},{'id':_0x3d2c5a(0x118),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x111)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x14f)}},{'id':_0x3d2c5a(0x136),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x10c)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x17c)}},{'id':_0x3d2c5a(0x16a),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x185)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x16b)}},{'id':_0x3d2c5a(0x11a),'displayedPrompt':_0x210400(_0x14c304,_0x3d2c5a(0x122)),'type':AIQuickActionType[_0x3d2c5a(0x134)],'actionName':_0x3d2c5a(0x129),'args':{'language':_0x3d2c5a(0x18b)}}]},{'id':_0x3d2c5a(0x18d),'label':_0x210400(_0x14c304,_0x3d2c5a(0x11e)),'icon':_0xf97e65,'actions':[]}];return _0x27f657;}(_0x22c312);}async[_0x48bca5(0x102)](){const _0x302f22=_0x48bca5,_0x58b8e6=AIQuickActionsUI[_0x302f22(0x15e)](this[_0x302f22(0x10f)][_0x302f22(0x176)]),_0x26e4f9=this[_0x302f22(0x10f)][_0x302f22(0x14a)][_0x302f22(0x168)](_0x302f22(0x184))||[];let _0x58e208=[];try{_0x58e208=await new _0x1c0b6d({'connector':this[_0x302f22(0x10f)][_0x302f22(0x13f)][_0x302f22(0x168)](_0x302f22(0x146)),'availableModels':this[_0x302f22(0x10f)][_0x302f22(0x14a)][_0x302f22(0x168)](_0x302f22(0x108))})[_0x302f22(0x15d)]();}catch(_0x4100ac){const _0x5229c9=new _0x2af8c5(_0x302f22(0x169),this,{'error':_0x4100ac});_0x252cfd(_0x5229c9[_0x302f22(0xf7)]);}finally{const _0x214398=_0x26e4f9[_0x302f22(0x115)](_0x21ef05=>({..._0x21ef05,'icon':void 0x0}));_0x58b8e6[_0x302f22(0x183)](_0x3a4fd9=>_0x302f22(0x18d)===_0x3a4fd9['id'])[_0x302f22(0x103)][_0x302f22(0x152)](..._0x214398),_0x58b8e6[_0x302f22(0x12e)](_0x14455f=>{const _0x272b14=_0x302f22;if(_0x272b14(0x103)in _0x14455f)_0x14455f[_0x272b14(0x103)][_0x272b14(0x12e)](_0x8c952a=>{const _0x1a19f7=_0x272b14;if(_0x8c952a[_0x1a19f7(0x18f)]=!!_0x58e208[_0x1a19f7(0x183)](_0x221f37=>_0x221f37['id']===_0x8c952a[_0x1a19f7(0x148)])||void 0x0===_0x8c952a[_0x1a19f7(0x148)],!_0x8c952a[_0x1a19f7(0x18f)]){const _0x473cd2=new _0x2af8c5(_0x1a19f7(0x18c),this,{'actionId':_0x8c952a['id'],'modelId':_0x8c952a[_0x1a19f7(0x148)]});_0x252cfd(_0x473cd2[_0x1a19f7(0xf7)]);}});else{if(_0x14455f[_0x272b14(0x18f)]=!!_0x58e208[_0x272b14(0x183)](_0xec6b9c=>_0xec6b9c['id']===_0x14455f[_0x272b14(0x148)])||void 0x0===_0x14455f[_0x272b14(0x148)],!_0x14455f[_0x272b14(0x18f)]){const _0x1f789f=new _0x2af8c5(_0x272b14(0x18c),this,{'actionId':_0x14455f['id'],'modelId':_0x14455f[_0x272b14(0x148)]});_0x252cfd(_0x1f789f[_0x272b14(0xf7)]);}}});}return _0x58b8e6;}[_0x48bca5(0x114)](){const _0x585ce2=_0x48bca5,_0x261bc0=new _0x460f6c(this[_0x585ce2(0x10f)][_0x585ce2(0x176)]);_0x261bc0[_0x585ce2(0x16e)](),this[_0x585ce2(0x138)](_0x261bc0),this[_0x585ce2(0x15b)](),this[_0x585ce2(0x126)](_0x261bc0);}[_0x48bca5(0x138)](_0x5c7944){const _0x5da533=_0x48bca5,_0x895d73=this[_0x5da533(0x10f)][_0x5da533(0x14a)][_0x5da533(0x168)](_0x5da533(0x172))??!0x0;this[_0x5da533(0x10f)]['ui'][_0x5da533(0x16f)][_0x5da533(0xfa)](_0x5da533(0xfd),_0x388621({'editor':this[_0x5da533(0x10f)],'content':this[_0x5da533(0x12d)],'buttonDefinition':{'icon':_0x165c4a,'label':_0x210400(this[_0x5da533(0x10f)][_0x5da533(0x176)],_0x5da533(0xfb))},'bodyCollection':_0x5c7944,'hasSearch':_0x895d73}));}[_0x48bca5(0x128)](_0x53dcc1){const _0x4588c6=_0x48bca5;this[_0x4588c6(0x12d)]=_0x53dcc1[_0x4588c6(0x115)](_0x6f20a2=>{const _0x5ac55e=_0x4588c6;if(_0x5ac55e(0x103)in _0x6f20a2){const _0x47162e=_0x6f20a2;return{..._0x47162e,'actions':_0x47162e[_0x5ac55e(0x103)][_0x5ac55e(0x115)](_0x4b4538=>{const {actions:_0x5b2417,..._0x21162b}=_0x47162e;return{..._0x4b4538,'parent':_0x21162b};})[_0x5ac55e(0xf8)](_0x36076f=>this[_0x5ac55e(0x163)](_0x36076f))};}return _0x6f20a2;})[_0x4588c6(0xf8)](_0x5312e5=>_0x4588c6(0x103)in _0x5312e5?_0x5312e5[_0x4588c6(0x103)][_0x4588c6(0x13b)]>0x0:this[_0x4588c6(0x163)](_0x5312e5));}[_0x48bca5(0x163)](_0x2133bb){const _0x4c8779=_0x48bca5,_0x4937cd=this[_0x4c8779(0x10f)][_0x4c8779(0x14a)][_0x4c8779(0x168)](_0x4c8779(0xff))||[];return this[_0x4c8779(0x10f)][_0x4c8779(0x13f)][_0x4c8779(0xf4)](AIQuickActionTypeToPluginName[_0x2133bb[_0x4c8779(0x161)]])&&!_0x4937cd[_0x4c8779(0x141)](_0x2133bb['id']);}[_0x48bca5(0x126)](_0x2acedc){const _0x3cc01c=_0x48bca5;this[_0x3cc01c(0x12d)][_0x3cc01c(0x12e)](_0x411d6d=>{const _0x24026a=_0x3cc01c;if(_0x24026a(0x103)in _0x411d6d){const _0x1629fa=_0x388621({'editor':this[_0x24026a(0x10f)],'content':_0x411d6d[_0x24026a(0x103)],'buttonDefinition':_0x411d6d,'bodyCollection':_0x2acedc});this[_0x24026a(0x10f)]['ui'][_0x24026a(0x16f)][_0x24026a(0xfa)](_0x411d6d['id'],_0x1629fa),_0x411d6d[_0x24026a(0x103)][_0x24026a(0x12e)](_0xebdbc9=>{const _0x336d35=_0x24026a,_0x388651=_0x5f1f82({'editor':this[_0x336d35(0x10f)],'action':_0xebdbc9});this[_0x336d35(0x10f)]['ui'][_0x336d35(0x16f)][_0x336d35(0xfa)](_0xebdbc9['id'],_0x388651);});}else{const _0x265efd=_0x5f1f82({'editor':this[_0x24026a(0x10f)],'action':_0x411d6d,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x24026a(0x10f)]['ui'][_0x24026a(0x16f)][_0x24026a(0xfa)](_0x411d6d['id'],_0x265efd);}});}[_0x48bca5(0x15b)](){const _0x359071=_0x48bca5;this[_0x359071(0x10f)]['ui'][_0x359071(0x16f)][_0x359071(0xfa)](_0x359071(0x14d),_0x4318e4=>{const _0x4668e8=_0x359071,_0x29bda8=new _0x5eda52(_0x4318e4),_0x6f12a0=_0x210400(_0x4318e4,_0x4668e8(0xfb));_0x29bda8[_0x4668e8(0x188)][_0x4668e8(0x117)]({'label':_0x6f12a0,'icon':_0x165c4a});const _0x2646e5=new _0x2a95e1(_0x4318e4);_0x2646e5[_0x4668e8(0x117)]({'ariaLabel':_0x6f12a0,'role':_0x4668e8(0x142)}),this[_0x4668e8(0x12d)][_0x4668e8(0x12e)](_0x5159d3=>{const _0x32d1e1=_0x4668e8;if(_0x32d1e1(0x103)in _0x5159d3){const _0x145d96=_0x5159d3,_0x3935f9=new _0x1f2bae(_0x4318e4,_0x29bda8),_0x59330e=new _0x5eda52(_0x4318e4),_0x38c584=new _0x2a95e1(_0x4318e4);_0x59330e[_0x32d1e1(0x188)][_0x32d1e1(0x117)]({'label':_0x145d96[_0x32d1e1(0x171)],'icon':_0x145d96[_0x32d1e1(0x120)]}),_0x145d96[_0x32d1e1(0x103)][_0x32d1e1(0x12e)](_0x6050c3=>{const _0x126366=_0x32d1e1,_0x9478af=new _0x1f2bae(_0x4318e4,_0x59330e),_0x20744b=new _0x12efab(_0x4318e4);_0x20744b[_0x126366(0x117)]({'label':_0x6050c3[_0x126366(0x105)],'icon':_0x6050c3[_0x126366(0x120)],'role':_0x126366(0x143),'isEnabled':_0x6050c3[_0x126366(0x18f)]}),_0x20744b['on'](_0x126366(0xf5),()=>{const _0x55b084=_0x126366;this[_0x55b084(0x121)](_0x6050c3);}),_0x20744b[_0x126366(0x17f)](_0x126366(0xf5))['to'](_0x59330e),_0x9478af[_0x126366(0x124)][_0x126366(0xfa)](_0x20744b),_0x38c584[_0x126366(0x100)][_0x126366(0xfa)](_0x9478af);}),_0x59330e[_0x32d1e1(0x159)][_0x32d1e1(0x124)][_0x32d1e1(0xfa)](_0x38c584),_0x3935f9[_0x32d1e1(0x124)][_0x32d1e1(0xfa)](_0x59330e),_0x2646e5[_0x32d1e1(0x100)][_0x32d1e1(0xfa)](_0x3935f9);}else{const _0x2cec96=_0x5159d3,_0x3dd64f=new _0x1f2bae(_0x4318e4,_0x29bda8),_0x2add77=new _0x12efab(_0x4318e4);_0x2add77[_0x32d1e1(0x117)]({'label':_0x2cec96[_0x32d1e1(0x105)],'icon':_0x2cec96[_0x32d1e1(0x120)],'role':_0x32d1e1(0x143),'isEnabled':_0x2cec96[_0x32d1e1(0x18f)]}),_0x2add77['on'](_0x32d1e1(0xf5),()=>{const _0x20b6be=_0x32d1e1;this[_0x20b6be(0x121)](_0x2cec96);}),_0x2add77[_0x32d1e1(0x17f)](_0x32d1e1(0xf5))['to'](_0x29bda8),_0x3dd64f[_0x32d1e1(0x124)][_0x32d1e1(0xfa)](_0x2add77),_0x2646e5[_0x32d1e1(0x100)][_0x32d1e1(0xfa)](_0x3dd64f);}});const _0x131fac=Object[_0x4668e8(0x144)](AIQuickActionTypeToPluginName)[_0x4668e8(0x11c)](_0x526eae=>this[_0x4668e8(0x10f)][_0x4668e8(0x13f)][_0x4668e8(0xf4)](_0x526eae));return _0x29bda8[_0x4668e8(0x117)]({'isEnabled':_0x131fac}),_0x29bda8[_0x4668e8(0x159)][_0x4668e8(0x124)][_0x4668e8(0xfa)](_0x2646e5),_0x29bda8;});}[_0x48bca5(0x121)](_0x51c30f){const _0xdb60f=_0x48bca5,_0x58a449=this[_0xdb60f(0x10f)];_0x58a449[_0xdb60f(0x13c)][_0xdb60f(0x167)][_0xdb60f(0x131)](),_0x58a449[_0xdb60f(0x17e)][_0xdb60f(0xf5)](_0xdb60f(0x18a),_0x51c30f);const _0x12912c=_0x58a449['ui'][_0xdb60f(0x167)][_0xdb60f(0x116)];_0x12912c&&_0x12912c[_0xdb60f(0x145)]&&_0x12912c[_0xdb60f(0x145)]();}}
|
|
23
|
+
const _0x473535=_0x5bce;(function(_0x36fc99,_0x10090f){const _0x3b27af=_0x5bce,_0x2cdb02=_0x36fc99();while(!![]){try{const _0x231def=parseInt(_0x3b27af(0xef))/0x1+parseInt(_0x3b27af(0x100))/0x2+parseInt(_0x3b27af(0x142))/0x3+-parseInt(_0x3b27af(0x186))/0x4+parseInt(_0x3b27af(0x10e))/0x5*(parseInt(_0x3b27af(0x166))/0x6)+parseInt(_0x3b27af(0x168))/0x7+-parseInt(_0x3b27af(0x110))/0x8;if(_0x231def===_0x10090f)break;else _0x2cdb02['push'](_0x2cdb02['shift']());}catch(_0x5c4d57){_0x2cdb02['push'](_0x2cdb02['shift']());}}}(_0x31fd,0x4c770));import{IconAIAdjustLength as _0x1daa13,IconAIChangeTone as _0x3ad661,IconAIChatCommands as _0x231f99,IconAIContinueWriting as _0x2db8b6,IconAIGrammarCheck as _0x3afd8b,IconAIImproveWriting as _0x56b902,IconAIOther as _0x454173,IconAIQuickActions as _0x3a3e55,IconAITranslate as _0x4d7f3a}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xbd6e76}from'ckeditor5/src/core.js';import{CKEditorError as _0x4fa506,logError as _0x5b7dcb}from'ckeditor5/src/utils.js';import{getTranslation as _0x44cbba}from'../aicore/utils/common-translations.js';function _0x31fd(){const _0x296fd8=['componentFactory','includes','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','ai-quick-actions-models-unable-to-retrieve','10jiOEBE','config','6108912emGdMX','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','summarize','ai.quickActions.isSearchEnabled','change-tone','AIChat','find','isOfficialPlugin','CHAT','requires','plugins','ACTION','init','REVIEW','translate-to-english','AI_QUICK_ACTIONS_MORE_CONFIDENT','translate-to-chinese','AI_QUICK_ACTIONS_SUMMARIZE','forEach','_shouldIncludeAction','_initializeQuickActionsComponents','icon','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','fix-grammar','_initializeQuickActionsComponentsAndCommands','chat-commands','AIQuickActionsUI','AI_QUICK_ACTIONS_MORE_FRIENDLY','italian','make-tone-friendly','english','panelView','make-tone-confident','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','getAvailableModels','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','make-tone-direct','chinese','korean','values','filter','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','highlight-key-points','delegate','_getDefaultAndCustomActions','448428EZuCGF','menuitem','french','has','improve-writing','add','translate-to-italian','type','AI_QUICK_ACTIONS_MAKE_LONGER','locale','explain','menu','_prepareQuickActionsDefinition','ai.chat.models.displayedModels','translate-to-portuguese','AI_QUICK_ACTIONS_CHANGE_TONE','close','make-tone-professional','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','execute','focus','AI_QUICK_ACTIONS_OTHER','adjust-length','translate-to-french','AIConnector','displayedPrompt','make-tone-casual','AI_QUICK_ACTIONS_HEADING','label','make-longer','other','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','language','DisplayNames','push','1161192zRMwuN','AI_QUICK_ACTIONS_MORE_DIRECT','2094764zQoHPm','japanese','AIReviewMode','editing','AI_QUICK_ACTIONS_MORE_CASUAL','English','actions','pluginName','spanish','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','get','uiLanguage','map','ai-quick-actions-unavailable-model','editor','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','isEnabled','aiQuickAction','commands','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_ADJUST_LENGTH','length','model','AI_QUICK_ACTIONS_ASK_AI','attachToDom','translate','view','russian','translate-to-japanese','2239768hMMynt','german','translate-to-spanish','message','AIActions','buttonView','continue','AI_QUICK_ACTIONS_CONTINUE_WRITING','219342RGPPUq','isPremiumPlugin','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','some','children','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_executeQuickAction','set','items','_initializeQuickActionsDropdown','getDefaultQuickActions','portuguese','menuBar:aiQuickActions','translate-to-german','replace','1163244hdMGnd','aiQuickActions','_quickActionsDefinition','ask-ai','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','_initializeQuickActionsMenuBar','ai.quickActions.removeCommands','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-russian'];_0x31fd=function(){return _0x296fd8;};return _0x31fd();}import{aiQuickActionsDropdownCreator as _0x3e2283}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x1c80c8}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x32cbd1,BalloonToolbar as _0x4fb9f6,MenuBarMenuView as _0x184759,MenuBarMenuListView as _0x358c51,MenuBarMenuListItemView as _0x439ce9,MenuBarMenuListItemButtonView as _0x2e9108}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x18f143}from'../aicore/model/aimodels.js';const ae=_0x473535(0x154),se=_0x473535(0xf1),re=_0x473535(0x107);export var AIQuickActionType;!function(_0x52a49d){const _0x501d46=_0x473535;_0x52a49d[_0x501d46(0x119)]=_0x501d46(0x119),_0x52a49d[_0x501d46(0x11c)]=_0x501d46(0x11c),_0x52a49d[_0x501d46(0x11e)]=_0x501d46(0x11e);}(AIQuickActionType||(AIQuickActionType={}));function _0x5bce(_0x5b5141,_0x53555a){const _0x31fd64=_0x31fd();return _0x5bce=function(_0x5bce3a,_0x21b229){_0x5bce3a=_0x5bce3a-0xe8;let _0x1d9f53=_0x31fd64[_0x5bce3a];return _0x1d9f53;},_0x5bce(_0x5b5141,_0x53555a);}export var AIQuickActionTypeToPluginName;!function(_0x9bf1f2){const _0x4a01e8=_0x473535;_0x9bf1f2[_0x4a01e8(0x119)]=_0x4a01e8(0x116),_0x9bf1f2[_0x4a01e8(0x11c)]=_0x4a01e8(0xeb),_0x9bf1f2[_0x4a01e8(0x11e)]=_0x4a01e8(0x16a);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0xbd6e76{static get[_0x473535(0x11a)](){return[_0x4fb9f6];}static get[_0x473535(0x16f)](){const _0x31462f=_0x473535;return _0x31462f(0x12b);}static get[_0x473535(0x118)](){return!0x0;}static get[_0x473535(0xf0)](){return!0x0;}async[_0x473535(0x11d)](){const _0x2b49bd=_0x473535,_0x5b11a3=await this[_0x2b49bd(0x141)]();this[_0x2b49bd(0x14e)](_0x5b11a3),this[_0x2b49bd(0x129)]();}static[_0x473535(0xfb)](_0x30ba4d){return function(_0x5a200e){const _0x10ef70=_0x5bce,_0x15e4d1=new Intl[(_0x10ef70(0x164))](['en'],{'type':_0x10ef70(0x163)})['of'](_0x5a200e[_0x10ef70(0x174)]),_0x519f0f=_0x15e4d1||_0x10ef70(0x16d),_0x441256=[{'id':_0x10ef70(0x103),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x180)),'type':AIQuickActionType[_0x10ef70(0x119)],'icon':_0x231f99},{'id':_0x10ef70(0x12a),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x111)),'icon':_0x231f99,'actions':[{'id':_0x10ef70(0x14c),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x132)),'prompt':ae[_0x10ef70(0xff)]('%0',_0x519f0f),'type':AIQuickActionType[_0x10ef70(0x119)]},{'id':_0x10ef70(0x113),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x122)),'prompt':se[_0x10ef70(0xff)]('%0',_0x519f0f),'type':AIQuickActionType[_0x10ef70(0x119)]},{'id':_0x10ef70(0x13f),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x162)),'prompt':re[_0x10ef70(0xff)]('%0',_0x519f0f),'type':AIQuickActionType[_0x10ef70(0x119)]}]},{'id':_0x10ef70(0x146),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x13d)),'type':AIQuickActionType[_0x10ef70(0x11c)],'icon':_0x56b902},{'id':_0x10ef70(0xed),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0xee)),'type':AIQuickActionType[_0x10ef70(0x11c)],'icon':_0x2db8b6},{'id':_0x10ef70(0x128),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x135)),'type':AIQuickActionType[_0x10ef70(0x11c)],'icon':_0x3afd8b},{'id':_0x10ef70(0x159),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x17d)),'icon':_0x1daa13,'actions':[{'id':_0x10ef70(0xf2),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x17c)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x160),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x14a)),'type':AIQuickActionType[_0x10ef70(0x11c)]}]},{'id':_0x10ef70(0x115),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x151)),'icon':_0x3ad661,'actions':[{'id':_0x10ef70(0x15d),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x16c)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x136),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x167)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x12e),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x12c)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x131),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x120)),'type':AIQuickActionType[_0x10ef70(0x11c)]},{'id':_0x10ef70(0x153),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0xf6)),'type':AIQuickActionType[_0x10ef70(0x11c)]}]},{'id':_0x10ef70(0x182),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x13c)),'icon':_0x4d7f3a,'actions':[{'id':_0x10ef70(0x11f),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x127)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x12f)}},{'id':_0x10ef70(0x121),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x13e)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x137)}},{'id':_0x10ef70(0xe9),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x172)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x170)}},{'id':_0x10ef70(0xfe),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x104)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0xe8)}},{'id':_0x10ef70(0x15a),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x155)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x144)}},{'id':_0x10ef70(0x185),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0xf3)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x169)}},{'id':_0x10ef70(0x150),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x112)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0xfc)}},{'id':_0x10ef70(0x10b),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x10c)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x138)}},{'id':_0x10ef70(0x148),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x178)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x12d)}},{'id':_0x10ef70(0x108),'displayedPrompt':_0x44cbba(_0x5a200e,_0x10ef70(0x133)),'type':AIQuickActionType[_0x10ef70(0x11c)],'actionName':_0x10ef70(0x182),'args':{'language':_0x10ef70(0x184)}}]},{'id':_0x10ef70(0x161),'label':_0x44cbba(_0x5a200e,_0x10ef70(0x158)),'icon':_0x454173,'actions':[]}];return _0x441256;}(_0x30ba4d);}async[_0x473535(0x141)](){const _0x2dd9a4=_0x473535,_0x3695c6=AIQuickActionsUI[_0x2dd9a4(0xfb)](this[_0x2dd9a4(0x177)][_0x2dd9a4(0x14b)]),_0x55a626=this[_0x2dd9a4(0x177)][_0x2dd9a4(0x10f)][_0x2dd9a4(0x173)](_0x2dd9a4(0x13b))||[];let _0x175ba6=[];try{_0x175ba6=await new _0x18f143({'connector':this[_0x2dd9a4(0x177)][_0x2dd9a4(0x11b)][_0x2dd9a4(0x173)](_0x2dd9a4(0x15b)),'availableModels':this[_0x2dd9a4(0x177)][_0x2dd9a4(0x10f)][_0x2dd9a4(0x173)](_0x2dd9a4(0x14f))})[_0x2dd9a4(0x134)]();}catch(_0x1c1e50){const _0xf9ae31=new _0x4fa506(_0x2dd9a4(0x10d),this,{'error':_0x1c1e50});_0x5b7dcb(_0xf9ae31[_0x2dd9a4(0xea)]);}finally{const _0x3580e4=_0x55a626[_0x2dd9a4(0x175)](_0x3375f0=>({..._0x3375f0,'icon':void 0x0}));_0x3695c6[_0x2dd9a4(0x117)](_0x39c8bc=>_0x2dd9a4(0x161)===_0x39c8bc['id'])[_0x2dd9a4(0x16e)][_0x2dd9a4(0x165)](..._0x3580e4),_0x3695c6[_0x2dd9a4(0x123)](_0x13123a=>{const _0xf3ae6c=_0x2dd9a4;if(_0xf3ae6c(0x16e)in _0x13123a)_0x13123a[_0xf3ae6c(0x16e)][_0xf3ae6c(0x123)](_0x5ed823=>{const _0x30e1a7=_0xf3ae6c;if(_0x5ed823[_0x30e1a7(0x179)]=!!_0x175ba6[_0x30e1a7(0x117)](_0x2b88df=>_0x2b88df['id']===_0x5ed823[_0x30e1a7(0x17f)])||void 0x0===_0x5ed823[_0x30e1a7(0x17f)],!_0x5ed823[_0x30e1a7(0x179)]){const _0x479e04=new _0x4fa506(_0x30e1a7(0x176),this,{'actionId':_0x5ed823['id'],'modelId':_0x5ed823[_0x30e1a7(0x17f)]});_0x5b7dcb(_0x479e04[_0x30e1a7(0xea)]);}});else{if(_0x13123a[_0xf3ae6c(0x179)]=!!_0x175ba6[_0xf3ae6c(0x117)](_0x42acab=>_0x42acab['id']===_0x13123a[_0xf3ae6c(0x17f)])||void 0x0===_0x13123a[_0xf3ae6c(0x17f)],!_0x13123a[_0xf3ae6c(0x179)]){const _0x596cb8=new _0x4fa506(_0xf3ae6c(0x176),this,{'actionId':_0x13123a['id'],'modelId':_0x13123a[_0xf3ae6c(0x17f)]});_0x5b7dcb(_0x596cb8[_0xf3ae6c(0xea)]);}}});}return _0x3695c6;}[_0x473535(0x129)](){const _0x42ebb6=_0x473535,_0x230086=new _0x32cbd1(this[_0x42ebb6(0x177)][_0x42ebb6(0x14b)]);_0x230086[_0x42ebb6(0x181)](),this[_0x42ebb6(0xfa)](_0x230086),this[_0x42ebb6(0x105)](),this[_0x42ebb6(0x125)](_0x230086);}[_0x473535(0xfa)](_0x4d9284){const _0x18fab2=_0x473535,_0x3ed380=this[_0x18fab2(0x177)][_0x18fab2(0x10f)][_0x18fab2(0x173)](_0x18fab2(0x114))??!0x0;this[_0x18fab2(0x177)]['ui'][_0x18fab2(0x109)][_0x18fab2(0x147)](_0x18fab2(0x101),_0x3e2283({'editor':this[_0x18fab2(0x177)],'content':this[_0x18fab2(0x102)],'buttonDefinition':{'icon':_0x3a3e55,'label':_0x44cbba(this[_0x18fab2(0x177)][_0x18fab2(0x14b)],_0x18fab2(0x15e))},'bodyCollection':_0x4d9284,'hasSearch':_0x3ed380}));}[_0x473535(0x14e)](_0x212988){const _0x375207=_0x473535;this[_0x375207(0x102)]=_0x212988[_0x375207(0x175)](_0x5d2b1d=>{const _0xffc035=_0x375207;if(_0xffc035(0x16e)in _0x5d2b1d){const _0x5665e2=_0x5d2b1d;return{..._0x5665e2,'actions':_0x5665e2[_0xffc035(0x16e)][_0xffc035(0x175)](_0x4bfff4=>{const {actions:_0x4a96b2,..._0x147716}=_0x5665e2;return{..._0x4bfff4,'parent':_0x147716};})[_0xffc035(0x13a)](_0x6b823f=>this[_0xffc035(0x124)](_0x6b823f))};}return _0x5d2b1d;})[_0x375207(0x13a)](_0x38c3d3=>_0x375207(0x16e)in _0x38c3d3?_0x38c3d3[_0x375207(0x16e)][_0x375207(0x17e)]>0x0:this[_0x375207(0x124)](_0x38c3d3));}[_0x473535(0x124)](_0x18c989){const _0x5c4d27=_0x473535,_0x54b07b=this[_0x5c4d27(0x177)][_0x5c4d27(0x10f)][_0x5c4d27(0x173)](_0x5c4d27(0x106))||[];return this[_0x5c4d27(0x177)][_0x5c4d27(0x11b)][_0x5c4d27(0x145)](AIQuickActionTypeToPluginName[_0x18c989[_0x5c4d27(0x149)]])&&!_0x54b07b[_0x5c4d27(0x10a)](_0x18c989['id']);}[_0x473535(0x125)](_0x54a793){const _0x57cc87=_0x473535;this[_0x57cc87(0x102)][_0x57cc87(0x123)](_0x59ddb5=>{const _0x414bf8=_0x57cc87;if(_0x414bf8(0x16e)in _0x59ddb5){const _0x4f772e=_0x3e2283({'editor':this[_0x414bf8(0x177)],'content':_0x59ddb5[_0x414bf8(0x16e)],'buttonDefinition':_0x59ddb5,'bodyCollection':_0x54a793});this[_0x414bf8(0x177)]['ui'][_0x414bf8(0x109)][_0x414bf8(0x147)](_0x59ddb5['id'],_0x4f772e),_0x59ddb5[_0x414bf8(0x16e)][_0x414bf8(0x123)](_0x18993f=>{const _0x3bf0c2=_0x414bf8,_0x5cdd4e=_0x1c80c8({'editor':this[_0x3bf0c2(0x177)],'action':_0x18993f});this[_0x3bf0c2(0x177)]['ui'][_0x3bf0c2(0x109)][_0x3bf0c2(0x147)](_0x18993f['id'],_0x5cdd4e);});}else{const _0x397dc7=_0x1c80c8({'editor':this[_0x414bf8(0x177)],'action':_0x59ddb5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x414bf8(0x177)]['ui'][_0x414bf8(0x109)][_0x414bf8(0x147)](_0x59ddb5['id'],_0x397dc7);}});}[_0x473535(0x105)](){const _0x2ab0dc=_0x473535;this[_0x2ab0dc(0x177)]['ui'][_0x2ab0dc(0x109)][_0x2ab0dc(0x147)](_0x2ab0dc(0xfd),_0x29e416=>{const _0x3d19e9=_0x2ab0dc,_0xbd82cd=new _0x184759(_0x29e416),_0x48cbef=_0x44cbba(_0x29e416,_0x3d19e9(0x15e));_0xbd82cd[_0x3d19e9(0xec)][_0x3d19e9(0xf8)]({'label':_0x48cbef,'icon':_0x3a3e55});const _0x22b4f0=new _0x358c51(_0x29e416);_0x22b4f0[_0x3d19e9(0xf8)]({'ariaLabel':_0x48cbef,'role':_0x3d19e9(0x14d)}),this[_0x3d19e9(0x102)][_0x3d19e9(0x123)](_0x357693=>{const _0x2c0c1f=_0x3d19e9;if(_0x2c0c1f(0x16e)in _0x357693){const _0x227bcc=_0x357693,_0x5072a2=new _0x439ce9(_0x29e416,_0xbd82cd),_0xafa16b=new _0x184759(_0x29e416),_0x1157b5=new _0x358c51(_0x29e416);_0xafa16b[_0x2c0c1f(0xec)][_0x2c0c1f(0xf8)]({'label':_0x227bcc[_0x2c0c1f(0x15f)],'icon':_0x227bcc[_0x2c0c1f(0x126)]}),_0x227bcc[_0x2c0c1f(0x16e)][_0x2c0c1f(0x123)](_0x5380e7=>{const _0x52aea0=_0x2c0c1f,_0x458260=new _0x439ce9(_0x29e416,_0xafa16b),_0x33a28d=new _0x2e9108(_0x29e416);_0x33a28d[_0x52aea0(0xf8)]({'label':_0x5380e7[_0x52aea0(0x15c)],'icon':_0x5380e7[_0x52aea0(0x126)],'role':_0x52aea0(0x143),'isEnabled':_0x5380e7[_0x52aea0(0x179)]}),_0x33a28d['on'](_0x52aea0(0x156),()=>{const _0xa8b92a=_0x52aea0;this[_0xa8b92a(0xf7)](_0x5380e7);}),_0x33a28d[_0x52aea0(0x140)](_0x52aea0(0x156))['to'](_0xafa16b),_0x458260[_0x52aea0(0xf5)][_0x52aea0(0x147)](_0x33a28d),_0x1157b5[_0x52aea0(0xf9)][_0x52aea0(0x147)](_0x458260);}),_0xafa16b[_0x2c0c1f(0x130)][_0x2c0c1f(0xf5)][_0x2c0c1f(0x147)](_0x1157b5),_0x5072a2[_0x2c0c1f(0xf5)][_0x2c0c1f(0x147)](_0xafa16b),_0x22b4f0[_0x2c0c1f(0xf9)][_0x2c0c1f(0x147)](_0x5072a2);}else{const _0x3844d6=_0x357693,_0x5af06c=new _0x439ce9(_0x29e416,_0xbd82cd),_0x17c117=new _0x2e9108(_0x29e416);_0x17c117[_0x2c0c1f(0xf8)]({'label':_0x3844d6[_0x2c0c1f(0x15c)],'icon':_0x3844d6[_0x2c0c1f(0x126)],'role':_0x2c0c1f(0x143),'isEnabled':_0x3844d6[_0x2c0c1f(0x179)]}),_0x17c117['on'](_0x2c0c1f(0x156),()=>{const _0x5a9621=_0x2c0c1f;this[_0x5a9621(0xf7)](_0x3844d6);}),_0x17c117[_0x2c0c1f(0x140)](_0x2c0c1f(0x156))['to'](_0xbd82cd),_0x5af06c[_0x2c0c1f(0xf5)][_0x2c0c1f(0x147)](_0x17c117),_0x22b4f0[_0x2c0c1f(0xf9)][_0x2c0c1f(0x147)](_0x5af06c);}});const _0x56f4c7=Object[_0x3d19e9(0x139)](AIQuickActionTypeToPluginName)[_0x3d19e9(0xf4)](_0x49303d=>this[_0x3d19e9(0x177)][_0x3d19e9(0x11b)][_0x3d19e9(0x145)](_0x49303d));return _0xbd82cd[_0x3d19e9(0xf8)]({'isEnabled':_0x56f4c7}),_0xbd82cd[_0x3d19e9(0x130)][_0x3d19e9(0xf5)][_0x3d19e9(0x147)](_0x22b4f0),_0xbd82cd;});}[_0x473535(0xf7)](_0x6e91a5){const _0x29c7dd=_0x473535,_0xd8e9d9=this[_0x29c7dd(0x177)];_0xd8e9d9[_0x29c7dd(0x16b)][_0x29c7dd(0x183)][_0x29c7dd(0x157)](),_0xd8e9d9[_0x29c7dd(0x17b)][_0x29c7dd(0x156)](_0x29c7dd(0x17a),_0x6e91a5);const _0x1cf952=_0xd8e9d9['ui'][_0x29c7dd(0x183)][_0x29c7dd(0x171)];_0x1cf952&&_0x1cf952[_0x29c7dd(0x152)]&&_0x1cf952[_0x29c7dd(0x152)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5f1c(_0x2d0d86,_0x3d4c15){const _0x17d587=_0x17d5();return _0x5f1c=function(_0x5f1c7f,_0x25444b){_0x5f1c7f=_0x5f1c7f-0x87;let _0x1eef56=_0x17d587[_0x5f1c7f];return _0x1eef56;},_0x5f1c(_0x2d0d86,_0x3d4c15);}function _0x17d5(){const _0x3c6d32=['parent','menuitem','execute','extendTemplate','view','set','6955355rBmCrv','displayedPrompt','3740859pzhsca','44296wcLTAD','647464vlgCSN','aiQuickAction','bindTemplate','commands','isEnabled','locale','ck-ai-quick-actions-button','icon','24djoKOF','editing','4931382Ekzpje','20joDScR','14ReoqWT','5031455rfLZPG','4019367MFvSry','focus','2QLtwYj'];_0x17d5=function(){return _0x3c6d32;};return _0x17d5();}(function(_0xfbc5f8,_0xd59599){const _0x474de2=_0x5f1c,_0x40b6bc=_0xfbc5f8();while(!![]){try{const _0x7f795c=parseInt(_0x474de2(0x96))/0x1*(-parseInt(_0x474de2(0xa0))/0x2)+-parseInt(_0x474de2(0x94))/0x3+-parseInt(_0x474de2(0xa1))/0x4+-parseInt(_0x474de2(0x9d))/0x5+parseInt(_0x474de2(0x90))/0x6*(parseInt(_0x474de2(0x92))/0x7)+-parseInt(_0x474de2(0x8e))/0x8*(-parseInt(_0x474de2(0x9f))/0x9)+-parseInt(_0x474de2(0x91))/0xa*(-parseInt(_0x474de2(0x93))/0xb);if(_0x7f795c===_0xd59599)break;else _0x40b6bc['push'](_0x40b6bc['shift']());}catch(_0x2d196b){_0x40b6bc['push'](_0x40b6bc['shift']());}}}(_0x17d5,0xd40b7));import{ButtonView as _0x28de50}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2684dc}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x14e412){const {editor:_0xd276bd,action:_0x570518,withText:_0xf62bbc=!0x1,withIcon:_0x473c97=!0x0,isInDropdown:_0xaafe3=!0x0,shouldPreventFocus:_0x181e18=!0x1}=_0x14e412;return()=>{const _0x3fe1d1=_0x5f1c,_0x2ad784=_0xd276bd[_0x3fe1d1(0x8b)],_0x2080ab=new _0x28de50(_0x2ad784),_0x1ad0ae=_0x2080ab[_0x3fe1d1(0x88)];_0xaafe3&&_0x2080ab[_0x3fe1d1(0x9a)]({'on':{'mouseenter':_0x1ad0ae['to'](()=>{const _0x43780b=_0x3fe1d1;_0x181e18&&_0x181e18()||_0x2080ab[_0x43780b(0x95)]();})}});const _0x37eaa9=_0x570518[_0x3fe1d1(0x8d)]??_0x570518[_0x3fe1d1(0x97)]?.[_0x3fe1d1(0x8d)];return _0x2080ab[_0x3fe1d1(0x9c)]({'label':_0x570518[_0x3fe1d1(0x9e)],'withText':_0xf62bbc,'role':_0x3fe1d1(0x98),'icon':_0x473c97?_0x37eaa9??_0x2684dc:void 0x0,'tooltip':!_0xf62bbc,'class':_0x3fe1d1(0x8c),'isEnabled':_0x570518[_0x3fe1d1(0x8a)]}),_0x2080ab['on'](_0x3fe1d1(0x99),()=>{const _0x457f10=_0x3fe1d1;_0xd276bd[_0x457f10(0x8f)][_0x457f10(0x9b)][_0x457f10(0x95)](),_0xd276bd[_0x457f10(0x89)][_0x457f10(0x99)](_0x457f10(0x87),_0x570518);}),_0x2080ab;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5cd532=_0x7a98;(function(_0x3fcb62,_0x495154){const _0x177876=_0x7a98,_0x304749=_0x3fcb62();while(!![]){try{const _0x131b08=parseInt(_0x177876(0x109))/0x1*(-parseInt(_0x177876(0xd8))/0x2)+parseInt(_0x177876(0xde))/0x3+parseInt(_0x177876(0xd5))/0x4+-parseInt(_0x177876(0xed))/0x5*(parseInt(_0x177876(0x125))/0x6)+parseInt(_0x177876(0xbd))/0x7+parseInt(_0x177876(0xc6))/0x8*(parseInt(_0x177876(0x108))/0x9)+parseInt(_0x177876(0x11e))/0xa;if(_0x131b08===_0x495154)break;else _0x304749['push'](_0x304749['shift']());}catch(_0x43437a){_0x304749['push'](_0x304749['shift']());}}}(_0x419d,0x73a52));import{View as _0x7af21c,ListItemView as _0x533f7b,ListView as _0x211034,BalloonPanelView as _0x5a3fc0,DropdownMenuPanelPositioningFunctions as _0x5d0500,ViewCollection as _0x32e778,FocusCycler as _0x376e71,ButtonView as _0x3b9af5,IconView as _0xe49dde,HighlightedTextView as _0x201c1b,ButtonLabelWithHighlightView as _0x442376,SearchTextView as _0x58a305}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x304c09}from'@ckeditor/ckeditor5-icons';function _0x419d(){const _0x4c23a9=['setTemplate','ck-button_with-text','_createSearchTextView','ck-ai-quick-actions-group-button','text','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','bind','328568trVqYN','items','ck-button','_showNestedPanel','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-search-result__action-row','_bodyCollection','label','focusTracker','clear','ck-dropdown-menu__nested-menu__panel','div','reset','_setupActionButtonExecution','children','578272pBrOdu','push','addMany','257586PtZXAp','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','some','_createSearchResultGroupRow','ck-ai-quick-actions-group-list','isVisible','1110897tjLeuJ','_openNestedPanels','ck-ai-quick-actions-button_with-group','_createListItems','_createSearchResultActionButton','uiLanguageDirection','ownerDocument','first','_createGroupActionsList','add','get','menu','menuitem','_createSearchResultIndividualActionButton','bindTemplate','235zqXkpX','role','contains','actions','keystrokes','ck-ai-quick-actions-search-result-button','AI_QUICK_ACTIONS_SEARCH','.ck-ai-quick-actions-group-list','.ck-ai-quick-actions-group-panel','rtl','fire','focus','_handleSearchResultButtonClick','ck-ai-quick-actions-search-result__content','icon','relatedTarget','span','fieldView','aiQuickAction','delete','ck-ai-quick-actions-button_with-group__close-paren','_allSearchableItems','_createSearchResultActionRow','_createSearchResultGroupedActionButton','editing','isOn','detachFromDom','45VQVJTZ','7vrCjTK','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','set','execute','mouseleave','activeElement','optionsListView','locale','ck-reset_all','_hideNestedPanel','destroy','key','extendTemplate','_createActionGroupButton','ArrowLeft','_isMovingToNestedMenu','queryView','chain','focusCycler','addEventListener','isEnabled','8664710IHFRKT','ArrowRight','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-button','forEach','ck-ai-quick-actions-search','closest','82758yWvQpN','content','_createActionButton','ck-ai-quick-actions-button__group-icon','_getPanelKeystroke','_handlePanelKeydown','_getButtonKeystroke','displayedPrompt','_focusables','_createSearchResultContentView','_isSearchFocused','element','.ck-ai-quick-actions-group-button','resetSearch','ck-ai-quick-actions-search-result-button_with-group','pin','_searchTextView','eastSouth','render','ck-rounded-corners','ck-ai-quick-actions','ck-ai-quick-actions-search-result__group-row','_hideAllNestedPanels','button','view','show','hide','_hasSearch','commands','parent','_setupGroupMenuBehavior','ck-dropdown-menu-list','3057677WoysCp','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'];_0x419d=function(){return _0x4c23a9;};return _0x419d();}import{FocusTracker as _0x20a433,KeystrokeHandler as _0x220951}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x4bc13e}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0xedf5fb}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x22012c}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x240cbb}from'./aiquickactionsfilteredlistview.js';const ys=_0x5cd532(0xe9),Ts=_0x5cd532(0xea);function _0x7a98(_0x33be37,_0x342556){const _0x419dfc=_0x419d();return _0x7a98=function(_0x7a9896,_0x553780){_0x7a9896=_0x7a9896-0xae;let _0x4c6b8e=_0x419dfc[_0x7a9896];return _0x4c6b8e;},_0x7a98(_0x33be37,_0x342556);}export class AIQuickActionsDropdownContentView extends _0x7af21c{[_0x5cd532(0xcc)];[_0x5cd532(0x10f)];[_0x5cd532(0x135)]=null;[_0x5cd532(0x102)]=[];[_0x5cd532(0xd4)];[_0x5cd532(0xce)];[_0x5cd532(0xf1)];[_0x5cd532(0x12d)];[_0x5cd532(0x11b)];[_0x5cd532(0xdf)]=new Set();[_0x5cd532(0xb8)];constructor(_0x2f156,_0x10028d,_0x5b207d,_0x4b3231,_0x5b72be=!0x1){const _0x2bc33e=_0x5cd532,_0x125c02=_0x2f156[_0x2bc33e(0x110)];super(_0x125c02),this[_0x2bc33e(0xcc)]=_0x4b3231,this[_0x2bc33e(0xb8)]=_0x5b72be;const _0xdef376=this[_0x2bc33e(0xe1)](_0x2f156,_0x10028d,_0x5b207d);this[_0x2bc33e(0x10f)]=new _0x240cbb(_0x125c02,_0xdef376,this[_0x2bc33e(0x102)]),this[_0x2bc33e(0x10f)][_0x2bc33e(0xee)]=ys,this[_0x2bc33e(0x10f)][_0x2bc33e(0xc7)][_0x2bc33e(0xd7)](_0xdef376),this[_0x2bc33e(0xce)]=new _0x20a433(),this[_0x2bc33e(0xf1)]=new _0x220951(),_0x5b72be&&(this[_0x2bc33e(0x135)]=this[_0x2bc33e(0xc1)]()),this[_0x2bc33e(0x12d)]=_0xdef376,this[_0x2bc33e(0x11b)]=new _0x376e71({'focusables':this[_0x2bc33e(0x12d)],'focusTracker':this[_0x2bc33e(0xce)],'keystrokeHandler':this[_0x2bc33e(0xf1)]}),_0x5b72be&&this[_0x2bc33e(0x135)]&&this[_0x2bc33e(0x11b)][_0x2bc33e(0x11a)](this[_0x2bc33e(0x135)][_0x2bc33e(0x11b)]);const _0x533307=_0x5b72be&&this[_0x2bc33e(0x135)]?[this[_0x2bc33e(0x135)]]:[this[_0x2bc33e(0x10f)]];this[_0x2bc33e(0xd4)]=new _0x32e778(_0x533307),this[_0x2bc33e(0xbf)]({'tag':_0x2bc33e(0xd1),'attributes':{'class':['ck',_0x2bc33e(0x111),_0x2bc33e(0xb1),_0x2bc33e(0xb0)],'dir':_0x125c02[_0x2bc33e(0xe3)]},'children':this[_0x2bc33e(0xd4)]});}[_0x5cd532(0xc1)](){const _0x1d8d00=_0x5cd532;return new _0x58a305(this[_0x1d8d00(0x110)],{'filteredView':this[_0x1d8d00(0x10f)],'queryView':{'label':_0x22012c(this[_0x1d8d00(0x110)],_0x1d8d00(0xf3))},'class':_0x1d8d00(0x123),'infoView':{'text':{'notFound':{'primary':_0x22012c(this[_0x1d8d00(0x110)],_0x1d8d00(0x10a))}}}});}[_0x5cd532(0x12f)](){const _0x41cc17=_0x5cd532;if(!this[_0x41cc17(0xb8)]||!this[_0x41cc17(0x135)]||!this[_0x41cc17(0x135)][_0x41cc17(0x119)][_0x41cc17(0xfe)][_0x41cc17(0x130)])return!0x1;const _0xb38e3a=this[_0x41cc17(0x135)][_0x41cc17(0x119)][_0x41cc17(0xfe)][_0x41cc17(0x130)][_0x41cc17(0xe4)]?.[_0x41cc17(0x10e)];return this[_0x41cc17(0x135)][_0x41cc17(0x119)][_0x41cc17(0xfe)][_0x41cc17(0x130)][_0x41cc17(0xef)](_0xb38e3a);}[_0x5cd532(0xe1)](_0x456b16,_0x4110d4,_0x74d846){const _0x46e697=_0x5cd532,_0x4431f2=new _0x32e778();return _0x4110d4[_0x46e697(0x122)](_0xf5a9a7=>{const _0x207191=_0x46e697;if(_0x207191(0xf0)in _0xf5a9a7){const {listItem:_0x5c925a}=this[_0x207191(0x116)](_0x456b16,_0xf5a9a7,_0x74d846);_0x4431f2[_0x207191(0xe7)](_0x5c925a),_0xf5a9a7[_0x207191(0xf0)][_0x207191(0x122)](_0x1bad85=>{const _0x5f3dd6=_0x207191;this[_0x5f3dd6(0x127)](_0x456b16,_0x1bad85,_0xf5a9a7[_0x5f3dd6(0xcd)],_0xf5a9a7[_0x5f3dd6(0xfb)]);const {listItem:_0x5c84a1,highlightViews:_0xfe2b24}=this[_0x5f3dd6(0xe2)](_0x456b16,_0x1bad85,_0xf5a9a7[_0x5f3dd6(0xcd)],_0xf5a9a7[_0x5f3dd6(0xfb)]);this[_0x5f3dd6(0x102)][_0x5f3dd6(0xd6)]({'item':_0x5c84a1,'label':_0x1bad85[_0x5f3dd6(0x12c)],'groupLabel':_0xf5a9a7[_0x5f3dd6(0xcd)],'highlightViews':_0xfe2b24});});}else{const {listItem:_0x274a79}=this[_0x207191(0x127)](_0x456b16,_0xf5a9a7);_0x4431f2[_0x207191(0xe7)](_0x274a79);const _0x1e9446=_0x274a79[_0x207191(0xd4)][_0x207191(0xe5)];if(_0x1e9446){const {listItem:_0x171284,highlightViews:_0x2a2c0b}=this[_0x207191(0xe2)](_0x456b16,_0xf5a9a7);this[_0x207191(0x102)][_0x207191(0xd6)]({'item':_0x171284,'label':_0x1e9446[_0x207191(0xcd)]||'','highlightViews':_0x2a2c0b});}}}),_0x4431f2;}[_0x5cd532(0x127)](_0x1d7c40,_0x12d55e,_0x1a9ab4,_0x5257b5){const _0x32f4cf=_0x5cd532,_0xcd2183=new _0x533f7b(this[_0x32f4cf(0x110)]);if(_0x1a9ab4&&_0x5257b5){const _0x25b8ea=new _0x3b9af5(this[_0x32f4cf(0x110)]),_0x3b2d6f=_0x25b8ea[_0x32f4cf(0xec)],_0x5833e6=new _0x201c1b();_0x5833e6[_0x32f4cf(0xc3)]=_0x12d55e[_0x32f4cf(0x12c)];const _0x5177fd=new _0x201c1b();_0x5177fd[_0x32f4cf(0xc3)]=_0x1a9ab4;const _0x24c7f7=new _0xe49dde();_0x24c7f7[_0x32f4cf(0x126)]=_0x5257b5,_0x24c7f7[_0x32f4cf(0x115)]({'attributes':{'class':_0x32f4cf(0x128)}});const _0xbdc532=new _0x7af21c(this[_0x32f4cf(0x110)]);_0xbdc532[_0x32f4cf(0xbf)]({'tag':_0x32f4cf(0xfd),'attributes':{'class':_0x32f4cf(0xca)},'children':[{'text':'\x20('}]});const _0x517a3a=new _0x7af21c(this[_0x32f4cf(0x110)]);return _0x517a3a[_0x32f4cf(0xbf)]({'tag':_0x32f4cf(0xfd),'attributes':{'class':_0x32f4cf(0x101)},'children':[{'text':')'}]}),_0x25b8ea[_0x32f4cf(0x10b)]({'label':_0x12d55e[_0x32f4cf(0x12c)]+'\x20('+_0x1a9ab4+')','withText':!0x0,'role':_0x32f4cf(0xea),'class':_0x32f4cf(0xc4),'tooltip':!0x1}),_0x25b8ea[_0x32f4cf(0xbf)]({'tag':_0x32f4cf(0xb4),'attributes':{'class':['ck',_0x32f4cf(0xc8),_0x32f4cf(0xc0),_0x32f4cf(0x121),_0x32f4cf(0xe0)],'type':_0x32f4cf(0xb4),'role':_0x32f4cf(0xea),'tabindex':'-1'},'children':[_0x5833e6,_0xbdc532,_0x24c7f7,_0x5177fd,_0x517a3a],'on':{'mouseenter':_0x3b2d6f['to'](()=>{const _0x462708=_0x32f4cf;this[_0x462708(0x12f)]()||_0x25b8ea[_0x462708(0xf8)]();}),'click':_0x3b2d6f['to'](()=>{const _0xae2c14=_0x32f4cf;_0x25b8ea[_0xae2c14(0xf7)](_0xae2c14(0x10c));})}}),_0x25b8ea['on'](_0x32f4cf(0x10c),()=>{const _0x1214c7=_0x32f4cf;_0x1d7c40[_0x1214c7(0x105)][_0x1214c7(0xb5)][_0x1214c7(0xf8)](),_0x1d7c40[_0x1214c7(0xb9)][_0x1214c7(0x10c)](_0x1214c7(0xff),_0x12d55e);}),_0xcd2183[_0x32f4cf(0xd4)][_0x32f4cf(0xe7)](_0x25b8ea),{'listItem':_0xcd2183,'highlightViews':[_0x5833e6,_0x5177fd]};}{const _0x301273=new _0x442376(),_0x4a1b18=new _0x3b9af5(this[_0x32f4cf(0x110)],_0x301273),_0x56592c=_0x4a1b18[_0x32f4cf(0xec)],_0x2953ff=_0x12d55e[_0x32f4cf(0xfb)]??_0x12d55e[_0x32f4cf(0xba)]?.[_0x32f4cf(0xfb)],_0x3beff2=void 0x0!==_0x12d55e[_0x32f4cf(0xfb)];return _0x4a1b18[_0x32f4cf(0x10b)]({'label':_0x12d55e[_0x32f4cf(0x12c)],'withText':!0x0,'role':_0x32f4cf(0xea),'icon':_0x3beff2?_0x2953ff??_0x304c09:void 0x0,'tooltip':!0x1,'class':_0x32f4cf(0x121)}),_0x4a1b18[_0x32f4cf(0x115)]({'on':{'mouseenter':_0x56592c['to'](()=>{const _0x397ba4=_0x32f4cf;this[_0x397ba4(0x12f)]()||_0x4a1b18[_0x397ba4(0xf8)]();})}}),_0x4a1b18['on'](_0x32f4cf(0x10c),()=>{const _0x3d4043=_0x32f4cf;_0x1d7c40[_0x3d4043(0x105)][_0x3d4043(0xb5)][_0x3d4043(0xf8)](),_0x1d7c40[_0x3d4043(0xb9)][_0x3d4043(0x10c)](_0x3d4043(0xff),_0x12d55e);}),_0xcd2183[_0x32f4cf(0xd4)][_0x32f4cf(0xe7)](_0x4a1b18),{'listItem':_0xcd2183,'highlightViews':[_0x301273]};}}[_0x5cd532(0xe2)](_0x2c4d60,_0x3daaa5,_0x906db8,_0x567f5f){const _0x3572b3=_0x5cd532;return _0x906db8&&_0x567f5f?this[_0x3572b3(0x104)](_0x2c4d60,_0x3daaa5,_0x906db8,_0x567f5f):this[_0x3572b3(0xeb)](_0x2c4d60,_0x3daaa5);}[_0x5cd532(0x104)](_0x1e42fb,_0x2cd6ab,_0x598d86,_0x58f63b){const _0x720f08=_0x5cd532,_0x661b1b=new _0x533f7b(this[_0x720f08(0x110)]),_0x218d37=new _0x3b9af5(this[_0x720f08(0x110)]),_0x2b9ca=_0x218d37[_0x720f08(0xec)],{view:_0xb9cad3,highlightView:_0x2507ff}=this[_0x720f08(0xdb)](_0x598d86,_0x58f63b),{view:_0x1e6e22,highlightView:_0x1af29e}=this[_0x720f08(0x103)](_0x2cd6ab[_0x720f08(0x12c)]),_0x26673f=this[_0x720f08(0x12e)](_0xb9cad3,_0x1e6e22);return _0x218d37[_0x720f08(0x10b)]({'label':_0x2cd6ab[_0x720f08(0x12c)],'withText':!0x0,'role':_0x720f08(0xea),'class':_0x720f08(0xd9),'tooltip':!0x1}),_0x218d37[_0x720f08(0xbf)]({'tag':_0x720f08(0xb4),'attributes':{'class':['ck',_0x720f08(0xc8),_0x720f08(0xc0),_0x720f08(0x121),_0x720f08(0xf2),_0x720f08(0x133)],'type':_0x720f08(0xb4),'role':_0x720f08(0xea),'tabindex':'-1'},'children':[_0x26673f],'on':{'mouseenter':_0x2b9ca['to'](()=>{const _0x2f436d=_0x720f08;this[_0x2f436d(0x12f)]()||_0x218d37[_0x2f436d(0xf8)]();}),'click':_0x2b9ca['to'](()=>{const _0x1d6a5b=_0x720f08;this[_0x1d6a5b(0xf9)](_0x218d37);})}}),this[_0x720f08(0xd3)](_0x218d37,_0x1e42fb,_0x2cd6ab),_0x661b1b[_0x720f08(0xd4)][_0x720f08(0xe7)](_0x218d37),{'listItem':_0x661b1b,'highlightViews':[_0x2507ff,_0x1af29e]};}[_0x5cd532(0xeb)](_0x58ca5b,_0x20585b){const _0x3ab3c8=_0x5cd532,_0x43c802=new _0x533f7b(this[_0x3ab3c8(0x110)]),_0x13741b=new _0x442376(),_0x17a2b9=new _0x3b9af5(this[_0x3ab3c8(0x110)],_0x13741b),_0x1097e8=_0x17a2b9[_0x3ab3c8(0xec)];return _0x17a2b9[_0x3ab3c8(0x10b)]({'label':_0x20585b[_0x3ab3c8(0x12c)],'withText':!0x0,'role':_0x3ab3c8(0xea),'icon':void 0x0,'tooltip':!0x1,'class':_0x3ab3c8(0xbe)}),_0x17a2b9[_0x3ab3c8(0x115)]({'on':{'mouseenter':_0x1097e8['to'](()=>{const _0x5a7717=_0x3ab3c8;this[_0x5a7717(0x12f)]()||_0x17a2b9[_0x5a7717(0xf8)]();})}}),this[_0x3ab3c8(0xd3)](_0x17a2b9,_0x58ca5b,_0x20585b),_0x43c802[_0x3ab3c8(0xd4)][_0x3ab3c8(0xe7)](_0x17a2b9),{'listItem':_0x43c802,'highlightViews':[_0x13741b]};}[_0x5cd532(0xdb)](_0x47e736,_0x224cad){const _0x2157f3=_0x5cd532,_0x8bb496=new _0x7af21c(this[_0x2157f3(0x110)]),_0x4b3fac=new _0xe49dde();_0x4b3fac[_0x2157f3(0x126)]=_0x224cad,_0x4b3fac[_0x2157f3(0x115)]({'attributes':{'class':_0x2157f3(0x128)}});const _0xaec466=new _0x201c1b();return _0xaec466[_0x2157f3(0xc3)]=_0x47e736,_0x8bb496[_0x2157f3(0xbf)]({'tag':_0x2157f3(0xd1),'attributes':{'class':_0x2157f3(0xb2)},'children':[_0x4b3fac,_0xaec466]}),{'view':_0x8bb496,'highlightView':_0xaec466};}[_0x5cd532(0x103)](_0x243812){const _0x399807=_0x5cd532,_0xaa1111=new _0x7af21c(this[_0x399807(0x110)]),_0x39b639=new _0x201c1b();return _0x39b639[_0x399807(0xc3)]=_0x243812,_0xaa1111[_0x399807(0xbf)]({'tag':_0x399807(0xd1),'attributes':{'class':_0x399807(0xcb)},'children':[_0x39b639]}),{'view':_0xaa1111,'highlightView':_0x39b639};}[_0x5cd532(0x12e)](_0x42b70c,_0xc1733a){const _0x543d71=_0x5cd532,_0x433a64=new _0x7af21c(this[_0x543d71(0x110)]);return _0x433a64[_0x543d71(0xbf)]({'tag':_0x543d71(0xd1),'attributes':{'class':_0x543d71(0xfa)},'children':[_0x42b70c,_0xc1733a]}),_0x433a64;}[_0x5cd532(0xd3)](_0x5ae3c1,_0x4b5630,_0x21978e){const _0x220ffd=_0x5cd532;_0x5ae3c1['on'](_0x220ffd(0x10c),()=>{const _0x5f0910=_0x220ffd;_0x4b5630[_0x5f0910(0x105)][_0x5f0910(0xb5)][_0x5f0910(0xf8)](),_0x4b5630[_0x5f0910(0xb9)][_0x5f0910(0x10c)](_0x5f0910(0xff),_0x21978e);});}[_0x5cd532(0x116)](_0x345809,_0x5d479c,_0x3b4711){const _0x2b98aa=_0x5cd532,_0x22607b=new _0x533f7b(this[_0x2b98aa(0x110)]),_0x72df95=new _0x442376(),_0x1b6452=new _0xedf5fb(this[_0x2b98aa(0x110)],_0x72df95),_0x4b8db9=_0x1b6452[_0x2b98aa(0xec)],_0x57fb76=this[_0x2b98aa(0x129)](_0x3b4711),_0x1cb031=this[_0x2b98aa(0xe6)](_0x345809,_0x5d479c[_0x2b98aa(0xf0)],_0x3b4711);_0x1b6452[_0x2b98aa(0x10b)]({'label':_0x5d479c[_0x2b98aa(0xcd)],'withText':!0x0,'role':Ts,'icon':_0x5d479c[_0x2b98aa(0xfb)]??_0x304c09,'isEnabled':_0x5d479c[_0x2b98aa(0xf0)][_0x2b98aa(0xda)](_0x463626=>_0x463626[_0x2b98aa(0x11d)])}),_0x1b6452[_0x2b98aa(0x115)]({'on':{'mouseenter':_0x4b8db9['to'](()=>{const _0x5b41d6=_0x2b98aa;this[_0x5b41d6(0x12f)]()||_0x1b6452[_0x5b41d6(0xf8)]();})}});const _0x7a3cd5=new _0x5a3fc0(this[_0x2b98aa(0x110)]);return _0x7a3cd5[_0x2b98aa(0x115)]({'attributes':{'class':['ck',_0x2b98aa(0x111),_0x2b98aa(0x120),_0x2b98aa(0xd0)]},'on':{'keydown':_0x4b8db9['to'](_0x68861a=>{const _0x2a73b2=_0x2b98aa;this[_0x2a73b2(0x12a)](_0x68861a,_0x57fb76,_0x1b6452,_0x7a3cd5);})}}),_0x1b6452[_0x2b98aa(0xc5)](_0x2b98aa(0x106))['to'](_0x7a3cd5,_0x2b98aa(0xdd)),this[_0x2b98aa(0xcc)][_0x2b98aa(0xe7)](_0x7a3cd5),_0x7a3cd5[_0x2b98aa(0x126)][_0x2b98aa(0xe7)](_0x1cb031),this[_0x2b98aa(0xbb)](_0x1b6452,_0x7a3cd5),_0x22607b[_0x2b98aa(0xd4)][_0x2b98aa(0xe7)](_0x1b6452),{'listItem':_0x22607b,'highlightView':_0x72df95};}[_0x5cd532(0xe6)](_0x36fa4c,_0x46e891,_0x40cdbf){const _0x4fc2e5=_0x5cd532,_0x28afc0=new _0x211034(this[_0x4fc2e5(0x110)]);return _0x28afc0[_0x4fc2e5(0x115)]({'attributes':{'class':['ck',_0x4fc2e5(0x111),_0x4fc2e5(0xdc),_0x4fc2e5(0xbc)]}}),_0x46e891[_0x4fc2e5(0x122)](_0x1c610d=>{const _0x295fc5=_0x4fc2e5,_0x3e2557=new _0x533f7b(this[_0x295fc5(0x110)]),_0x2a7075=_0x4bc13e({'editor':_0x36fa4c,'action':_0x1c610d,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x295fc5(0x12f)]()})();_0x3e2557[_0x295fc5(0xd4)][_0x295fc5(0xe7)](_0x2a7075),_0x40cdbf[_0x295fc5(0xce)][_0x295fc5(0xe7)](_0x2a7075),_0x28afc0[_0x295fc5(0xc7)][_0x295fc5(0xe7)](_0x3e2557);}),_0x28afc0;}[_0x5cd532(0xbb)](_0x44b5c9,_0x4bfebf){const _0xb50a5=_0x5cd532,_0x52793d=_0x44b5c9[_0xb50a5(0xec)],_0x491ad7=this[_0xb50a5(0x12b)](_0x44b5c9);_0x44b5c9[_0xb50a5(0x115)]({'attributes':{'class':[_0xb50a5(0xc2)]},'on':{'mouseenter':_0x52793d['to'](()=>{const _0x227610=_0xb50a5;this[_0x227610(0xc9)](_0x4bfebf,_0x44b5c9);}),'mouseleave':_0x52793d['to'](_0x201354=>{const _0x26b2de=_0xb50a5,_0x5da9f0=_0x201354[_0x26b2de(0xfc)];this[_0x26b2de(0x118)](_0x5da9f0,_0x4bfebf)||this[_0x26b2de(0x112)](_0x4bfebf);}),'keydown':_0x52793d['to'](_0x40dffe=>{const _0x3cb85a=_0xb50a5;_0x40dffe[_0x3cb85a(0x114)]==_0x491ad7&&(this[_0x3cb85a(0xc9)](_0x4bfebf,_0x44b5c9),_0x4bfebf[_0x3cb85a(0x126)][_0x3cb85a(0xe8)](0x0)[_0x3cb85a(0xf8)]());})}}),_0x4bfebf['on'](_0xb50a5(0xaf),()=>{const _0x1049ae=_0xb50a5;_0x4bfebf[_0x1049ae(0x130)]?.[_0x1049ae(0x11c)](_0x1049ae(0x10d),_0x3b6043=>{const _0x2607da=_0x1049ae,_0xf29fdc=_0x3b6043[_0x2607da(0xfc)];_0x44b5c9[_0x2607da(0x130)]?.[_0x2607da(0xef)](_0xf29fdc)||this[_0x2607da(0x118)](_0xf29fdc,_0x4bfebf)||this[_0x2607da(0x112)](_0x4bfebf);});});}[_0x5cd532(0xc9)](_0x38cae7,_0x4a310c){const _0x250acc=_0x5cd532;this[_0x250acc(0xdf)][_0x250acc(0x122)](_0x5e4492=>{const _0x54d442=_0x250acc;_0x5e4492!==_0x38cae7&&_0x5e4492[_0x54d442(0xdd)]&&_0x5e4492[_0x54d442(0xb7)]();}),_0x38cae7[_0x250acc(0xb6)](),_0x38cae7[_0x250acc(0x134)]({'positions':[_0x5d0500[_0x250acc(0xae)]],'target':_0x4a310c[_0x250acc(0x130)],'fitInViewport':!0x0}),this[_0x250acc(0xdf)][_0x250acc(0xe7)](_0x38cae7);}[_0x5cd532(0x112)](_0x1547a9){const _0x4b7d85=_0x5cd532;_0x1547a9[_0x4b7d85(0xb7)](),this[_0x4b7d85(0xdf)][_0x4b7d85(0x100)](_0x1547a9);}[_0x5cd532(0xb3)](){const _0x40d62d=_0x5cd532;this[_0x40d62d(0xdf)][_0x40d62d(0x122)](_0x1b5295=>_0x1b5295[_0x40d62d(0xb7)]()),this[_0x40d62d(0xdf)][_0x40d62d(0xcf)]();}[_0x5cd532(0x118)](_0x299692,_0x5eef9b){const _0x4964d4=_0x5cd532;if(!_0x299692)return!0x1;if(_0x5eef9b[_0x4964d4(0x130)]?.[_0x4964d4(0xef)](_0x299692))return!0x0;const _0xcf3b67=_0x299692;return _0xcf3b67[_0x4964d4(0x124)]&&(null!==_0xcf3b67[_0x4964d4(0x124)](_0x4964d4(0xf5))||null!==_0xcf3b67[_0x4964d4(0x124)](_0x4964d4(0xf4))||null!==_0xcf3b67[_0x4964d4(0x124)](_0x4964d4(0x131)));}[_0x5cd532(0x132)](){const _0x116056=_0x5cd532;this[_0x116056(0x135)]&&this[_0x116056(0x135)][_0x116056(0xd2)]();}[_0x5cd532(0x113)](){const _0x14ea9a=_0x5cd532;this[_0x14ea9a(0xb3)](),this[_0x14ea9a(0xcc)][_0x14ea9a(0x107)](),super[_0x14ea9a(0x113)]();}[_0x5cd532(0xf8)](){const _0x5e9f65=_0x5cd532;this[_0x5e9f65(0x135)]?this[_0x5e9f65(0x135)][_0x5e9f65(0xf8)]():this[_0x5e9f65(0x10f)][_0x5e9f65(0xf8)]();}[_0x5cd532(0x129)](_0xa19aa9){const _0x531da9=_0x5cd532;return _0x531da9(0xf6)===_0xa19aa9[_0x531da9(0x110)][_0x531da9(0xe3)]?_0x531da9(0x11f):_0x531da9(0x117);}[_0x5cd532(0x12b)](_0x468848){const _0xb532ad=_0x5cd532;return _0xb532ad(0xf6)===_0x468848[_0xb532ad(0x110)][_0xb532ad(0xe3)]?_0xb532ad(0x117):_0xb532ad(0x11f);}[_0x5cd532(0x12a)](_0x1eeddc,_0x21f7eb,_0x571df8,_0x3ad58e){const _0x3e9de5=_0x5cd532;_0x1eeddc[_0x3e9de5(0x114)]==_0x21f7eb&&(_0x571df8[_0x3e9de5(0xf8)](),this[_0x3e9de5(0x112)](_0x3ad58e));}[_0x5cd532(0xf9)](_0x40e98d){const _0x25becf=_0x5cd532;_0x40e98d[_0x25becf(0xf7)](_0x25becf(0x10c));}}
|
|
23
|
+
const _0x121638=_0x10ee;(function(_0x43a0b8,_0x560b26){const _0x5b5e29=_0x10ee,_0x32b84c=_0x43a0b8();while(!![]){try{const _0x221c9d=-parseInt(_0x5b5e29(0x97))/0x1+-parseInt(_0x5b5e29(0xdb))/0x2*(parseInt(_0x5b5e29(0xd3))/0x3)+parseInt(_0x5b5e29(0x7b))/0x4+-parseInt(_0x5b5e29(0xd0))/0x5+parseInt(_0x5b5e29(0xb7))/0x6+-parseInt(_0x5b5e29(0xe9))/0x7+parseInt(_0x5b5e29(0xee))/0x8;if(_0x221c9d===_0x560b26)break;else _0x32b84c['push'](_0x32b84c['shift']());}catch(_0x33fc48){_0x32b84c['push'](_0x32b84c['shift']());}}}(_0x21d0,0x67bd3));import{View as _0x1e1c5b,ListItemView as _0x4d7315,ListView as _0x21114f,BalloonPanelView as _0x42cc37,DropdownMenuPanelPositioningFunctions as _0x2faa24,ViewCollection as _0x483ab5,FocusCycler as _0x2d2d95,ButtonView as _0x55eba0,IconView as _0x5d2d3f,HighlightedTextView as _0x1b40c6,ButtonLabelWithHighlightView as _0x7e57a6,SearchTextView as _0x48ed18}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xe0896b}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x137515,KeystrokeHandler as _0x2cf6c8}from'ckeditor5/src/utils.js';function _0x21d0(){const _0x325a76=['_showNestedPanel','eastSouth','isEnabled','parent','ck-ai-quick-actions-search-result-button','10HwLWmq','bindTemplate','ck-button','_searchTextView','aiQuickAction','_createSearchTextView','items','queryView','focusCycler','addMany','fire','execute','delete','forEach','2670367rTJBXL','focus','get','ck-ai-quick-actions-group-list','_createListItems','6740192Klfaed','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','addEventListener','editing','setTemplate','commands','destroy','children','ck-ai-quick-actions-button','_createSearchResultActionButton','ck-rounded-corners','_createSearchResultIndividualActionButton','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','push','ck-ai-quick-actions-button_with-group','key','_isMovingToNestedMenu','ck-ai-quick-actions-button_with-group__open-paren','resetSearch','2221288rZptbl','_createSearchResultGroupRow','ck-reset_all','menu','pin','some','focusTracker','fieldView','rtl','locale','extendTemplate','_openNestedPanels','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result__content','span','_createActionButton','ck-button_with-text','ck-ai-quick-actions-search-result__action-row','_createSearchResultActionRow','first','_getPanelKeystroke','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-ai-quick-actions','_hasSearch','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','.ck-ai-quick-actions-group-button','_hideAllNestedPanels','_handlePanelKeydown','138382hGOowG','mouseleave','_handleSearchResultButtonClick','AI_QUICK_ACTIONS_SEARCH','reset','ck-dropdown-menu__nested-menu__panel','relatedTarget','_focusables','optionsListView','icon','hide','_setupActionButtonExecution','ck-ai-quick-actions-search-result__group-row','activeElement','keystrokes','.ck-ai-quick-actions-group-panel','view','element','_isSearchFocused','ck-dropdown-menu-list','ck-ai-quick-actions-search','_hideNestedPanel','menuitem','button','clear','text','add','uiLanguageDirection','_createGroupActionsList','ck-ai-quick-actions-search-result-button_with-group','_setupGroupMenuBehavior','displayedPrompt','1969434lIbXTB','_createSearchResultContentView','actions','label','isVisible','isOn','ck-ai-quick-actions-group-button','set','div','ArrowRight','closest','content','show','ownerDocument','ck-ai-quick-actions-button_with-group__close-paren','contains','_bodyCollection','render','ck-ai-quick-actions-button__group-icon','_allSearchableItems','ArrowLeft','_createActionGroupButton','detachFromDom','bind','chain','1436760OFxFmi','role','_createSearchResultGroupedActionButton','296373pmAHsH','ck-ai-quick-actions-group-panel','_getButtonKeystroke'];_0x21d0=function(){return _0x325a76;};return _0x21d0();}import{aiQuickActionsButtonCreator as _0x7e7af8}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x550e80}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x52bbd3}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x55605e}from'./aiquickactionsfilteredlistview.js';const ys=_0x121638(0x7e),Ts=_0x121638(0xad);function _0x10ee(_0x4f6735,_0x96ca6d){const _0x21d014=_0x21d0();return _0x10ee=function(_0x10ee1f,_0x2714e8){_0x10ee1f=_0x10ee1f-0x76;let _0x545dc4=_0x21d014[_0x10ee1f];return _0x545dc4;},_0x10ee(_0x4f6735,_0x96ca6d);}export class AIQuickActionsDropdownContentView extends _0x1e1c5b{[_0x121638(0xc7)];[_0x121638(0x9f)];[_0x121638(0xde)]=null;[_0x121638(0xca)]=[];[_0x121638(0xf5)];[_0x121638(0x81)];[_0x121638(0xa5)];[_0x121638(0x9e)];[_0x121638(0xe3)];[_0x121638(0x86)]=new Set();[_0x121638(0x92)];constructor(_0x5f54e9,_0x526d35,_0x5e333c,_0x3403,_0x364c3e=!0x1){const _0x343248=_0x121638,_0x1166b1=_0x5f54e9[_0x343248(0x84)];super(_0x1166b1),this[_0x343248(0xc7)]=_0x3403,this[_0x343248(0x92)]=_0x364c3e;const _0x474f4d=this[_0x343248(0xed)](_0x5f54e9,_0x526d35,_0x5e333c);this[_0x343248(0x9f)]=new _0x55605e(_0x1166b1,_0x474f4d,this[_0x343248(0xca)]),this[_0x343248(0x9f)][_0x343248(0xd1)]=ys,this[_0x343248(0x9f)][_0x343248(0xe1)][_0x343248(0xe4)](_0x474f4d),this[_0x343248(0x81)]=new _0x137515(),this[_0x343248(0xa5)]=new _0x2cf6c8(),_0x364c3e&&(this[_0x343248(0xde)]=this[_0x343248(0xe0)]()),this[_0x343248(0x9e)]=_0x474f4d,this[_0x343248(0xe3)]=new _0x2d2d95({'focusables':this[_0x343248(0x9e)],'focusTracker':this[_0x343248(0x81)],'keystrokeHandler':this[_0x343248(0xa5)]}),_0x364c3e&&this[_0x343248(0xde)]&&this[_0x343248(0xe3)][_0x343248(0xcf)](this[_0x343248(0xde)][_0x343248(0xe3)]);const _0x1c70ac=_0x364c3e&&this[_0x343248(0xde)]?[this[_0x343248(0xde)]]:[this[_0x343248(0x9f)]];this[_0x343248(0xf5)]=new _0x483ab5(_0x1c70ac),this[_0x343248(0xf2)]({'tag':_0x343248(0xbf),'attributes':{'class':['ck',_0x343248(0x7d),_0x343248(0x91),_0x343248(0xf8)],'dir':_0x1166b1[_0x343248(0xb2)]},'children':this[_0x343248(0xf5)]});}[_0x121638(0xe0)](){const _0x534423=_0x121638;return new _0x48ed18(this[_0x534423(0x84)],{'filteredView':this[_0x534423(0x9f)],'queryView':{'label':_0x52bbd3(this[_0x534423(0x84)],_0x534423(0x9a))},'class':_0x534423(0xab),'infoView':{'text':{'notFound':{'primary':_0x52bbd3(this[_0x534423(0x84)],_0x534423(0x93))}}}});}[_0x121638(0xa9)](){const _0x269ab8=_0x121638;if(!this[_0x269ab8(0x92)]||!this[_0x269ab8(0xde)]||!this[_0x269ab8(0xde)][_0x269ab8(0xe2)][_0x269ab8(0x82)][_0x269ab8(0xa8)])return!0x1;const _0x59e751=this[_0x269ab8(0xde)][_0x269ab8(0xe2)][_0x269ab8(0x82)][_0x269ab8(0xa8)][_0x269ab8(0xc4)]?.[_0x269ab8(0xa4)];return this[_0x269ab8(0xde)][_0x269ab8(0xe2)][_0x269ab8(0x82)][_0x269ab8(0xa8)][_0x269ab8(0xc6)](_0x59e751);}[_0x121638(0xed)](_0x251135,_0x26a6fe,_0xa79786){const _0x35bb57=_0x121638,_0x2a968f=new _0x483ab5();return _0x26a6fe[_0x35bb57(0xe8)](_0x493f7b=>{const _0x207da1=_0x35bb57;if(_0x207da1(0xb9)in _0x493f7b){const {listItem:_0x291f06}=this[_0x207da1(0xcc)](_0x251135,_0x493f7b,_0xa79786);_0x2a968f[_0x207da1(0xb1)](_0x291f06),_0x493f7b[_0x207da1(0xb9)][_0x207da1(0xe8)](_0x1b640d=>{const _0x335efb=_0x207da1;this[_0x335efb(0x8a)](_0x251135,_0x1b640d,_0x493f7b[_0x335efb(0xba)],_0x493f7b[_0x335efb(0xa0)]);const {listItem:_0x56aec7,highlightViews:_0x1375cf}=this[_0x335efb(0xf7)](_0x251135,_0x1b640d,_0x493f7b[_0x335efb(0xba)],_0x493f7b[_0x335efb(0xa0)]);this[_0x335efb(0xca)][_0x335efb(0xfb)]({'item':_0x56aec7,'label':_0x1b640d[_0x335efb(0xb6)],'groupLabel':_0x493f7b[_0x335efb(0xba)],'highlightViews':_0x1375cf});});}else{const {listItem:_0x444914}=this[_0x207da1(0x8a)](_0x251135,_0x493f7b);_0x2a968f[_0x207da1(0xb1)](_0x444914);const _0x243296=_0x444914[_0x207da1(0xf5)][_0x207da1(0x8e)];if(_0x243296){const {listItem:_0x18f6ee,highlightViews:_0xdc533e}=this[_0x207da1(0xf7)](_0x251135,_0x493f7b);this[_0x207da1(0xca)][_0x207da1(0xfb)]({'item':_0x18f6ee,'label':_0x243296[_0x207da1(0xba)]||'','highlightViews':_0xdc533e});}}}),_0x2a968f;}[_0x121638(0x8a)](_0x598dc8,_0x1124a1,_0x1ab9e0,_0x381227){const _0x406526=_0x121638,_0x548705=new _0x4d7315(this[_0x406526(0x84)]);if(_0x1ab9e0&&_0x381227){const _0x179637=new _0x55eba0(this[_0x406526(0x84)]),_0xc1a8ae=_0x179637[_0x406526(0xdc)],_0x2e8376=new _0x1b40c6();_0x2e8376[_0x406526(0xb0)]=_0x1124a1[_0x406526(0xb6)];const _0x585230=new _0x1b40c6();_0x585230[_0x406526(0xb0)]=_0x1ab9e0;const _0xe739dd=new _0x5d2d3f();_0xe739dd[_0x406526(0xc2)]=_0x381227,_0xe739dd[_0x406526(0x85)]({'attributes':{'class':_0x406526(0xc9)}});const _0x21965c=new _0x1e1c5b(this[_0x406526(0x84)]);_0x21965c[_0x406526(0xf2)]({'tag':_0x406526(0x89),'attributes':{'class':_0x406526(0x79)},'children':[{'text':'\x20('}]});const _0x280897=new _0x1e1c5b(this[_0x406526(0x84)]);return _0x280897[_0x406526(0xf2)]({'tag':_0x406526(0x89),'attributes':{'class':_0x406526(0xc5)},'children':[{'text':')'}]}),_0x179637[_0x406526(0xbe)]({'label':_0x1124a1[_0x406526(0xb6)]+'\x20('+_0x1ab9e0+')','withText':!0x0,'role':_0x406526(0xad),'class':_0x406526(0xfa),'tooltip':!0x1}),_0x179637[_0x406526(0xf2)]({'tag':_0x406526(0xae),'attributes':{'class':['ck',_0x406526(0xdd),_0x406526(0x8b),_0x406526(0xf6),_0x406526(0x76)],'type':_0x406526(0xae),'role':_0x406526(0xad),'tabindex':'-1'},'children':[_0x2e8376,_0x21965c,_0xe739dd,_0x585230,_0x280897],'on':{'mouseenter':_0xc1a8ae['to'](()=>{const _0x10bbaa=_0x406526;this[_0x10bbaa(0xa9)]()||_0x179637[_0x10bbaa(0xea)]();}),'click':_0xc1a8ae['to'](()=>{const _0x46675c=_0x406526;_0x179637[_0x46675c(0xe5)](_0x46675c(0xe6));})}}),_0x179637['on'](_0x406526(0xe6),()=>{const _0x350ac0=_0x406526;_0x598dc8[_0x350ac0(0xf1)][_0x350ac0(0xa7)][_0x350ac0(0xea)](),_0x598dc8[_0x350ac0(0xf3)][_0x350ac0(0xe6)](_0x350ac0(0xdf),_0x1124a1);}),_0x548705[_0x406526(0xf5)][_0x406526(0xb1)](_0x179637),{'listItem':_0x548705,'highlightViews':[_0x2e8376,_0x585230]};}{const _0x5838fe=new _0x7e57a6(),_0x140ad5=new _0x55eba0(this[_0x406526(0x84)],_0x5838fe),_0x38399f=_0x140ad5[_0x406526(0xdc)],_0x25d5e8=_0x1124a1[_0x406526(0xa0)]??_0x1124a1[_0x406526(0xd9)]?.[_0x406526(0xa0)],_0x4ac312=void 0x0!==_0x1124a1[_0x406526(0xa0)];return _0x140ad5[_0x406526(0xbe)]({'label':_0x1124a1[_0x406526(0xb6)],'withText':!0x0,'role':_0x406526(0xad),'icon':_0x4ac312?_0x25d5e8??_0xe0896b:void 0x0,'tooltip':!0x1,'class':_0x406526(0xf6)}),_0x140ad5[_0x406526(0x85)]({'on':{'mouseenter':_0x38399f['to'](()=>{const _0x26c390=_0x406526;this[_0x26c390(0xa9)]()||_0x140ad5[_0x26c390(0xea)]();})}}),_0x140ad5['on'](_0x406526(0xe6),()=>{const _0x4b9537=_0x406526;_0x598dc8[_0x4b9537(0xf1)][_0x4b9537(0xa7)][_0x4b9537(0xea)](),_0x598dc8[_0x4b9537(0xf3)][_0x4b9537(0xe6)](_0x4b9537(0xdf),_0x1124a1);}),_0x548705[_0x406526(0xf5)][_0x406526(0xb1)](_0x140ad5),{'listItem':_0x548705,'highlightViews':[_0x5838fe]};}}[_0x121638(0xf7)](_0x2d26f3,_0x2ff032,_0x2f6058,_0x16fbb9){const _0x247ac4=_0x121638;return _0x2f6058&&_0x16fbb9?this[_0x247ac4(0xd2)](_0x2d26f3,_0x2ff032,_0x2f6058,_0x16fbb9):this[_0x247ac4(0xf9)](_0x2d26f3,_0x2ff032);}[_0x121638(0xd2)](_0x584033,_0x3eb302,_0x2632db,_0x4e8a80){const _0xf2879a=_0x121638,_0x25d826=new _0x4d7315(this[_0xf2879a(0x84)]),_0x307b64=new _0x55eba0(this[_0xf2879a(0x84)]),_0x459d8d=_0x307b64[_0xf2879a(0xdc)],{view:_0xac4a3,highlightView:_0x29057c}=this[_0xf2879a(0x7c)](_0x2632db,_0x4e8a80),{view:_0x2d452b,highlightView:_0x46b9d2}=this[_0xf2879a(0x8d)](_0x3eb302[_0xf2879a(0xb6)]),_0x1a5b1c=this[_0xf2879a(0xb8)](_0xac4a3,_0x2d452b);return _0x307b64[_0xf2879a(0xbe)]({'label':_0x3eb302[_0xf2879a(0xb6)],'withText':!0x0,'role':_0xf2879a(0xad),'class':_0xf2879a(0xef),'tooltip':!0x1}),_0x307b64[_0xf2879a(0xf2)]({'tag':_0xf2879a(0xae),'attributes':{'class':['ck',_0xf2879a(0xdd),_0xf2879a(0x8b),_0xf2879a(0xf6),_0xf2879a(0xda),_0xf2879a(0xb4)],'type':_0xf2879a(0xae),'role':_0xf2879a(0xad),'tabindex':'-1'},'children':[_0x1a5b1c],'on':{'mouseenter':_0x459d8d['to'](()=>{const _0x482872=_0xf2879a;this[_0x482872(0xa9)]()||_0x307b64[_0x482872(0xea)]();}),'click':_0x459d8d['to'](()=>{const _0x5e4456=_0xf2879a;this[_0x5e4456(0x99)](_0x307b64);})}}),this[_0xf2879a(0xa2)](_0x307b64,_0x584033,_0x3eb302),_0x25d826[_0xf2879a(0xf5)][_0xf2879a(0xb1)](_0x307b64),{'listItem':_0x25d826,'highlightViews':[_0x29057c,_0x46b9d2]};}[_0x121638(0xf9)](_0x2f50a5,_0x548004){const _0x3ee90f=_0x121638,_0x34da94=new _0x4d7315(this[_0x3ee90f(0x84)]),_0x5d3dc6=new _0x7e57a6(),_0x355d75=new _0x55eba0(this[_0x3ee90f(0x84)],_0x5d3dc6),_0x104835=_0x355d75[_0x3ee90f(0xdc)];return _0x355d75[_0x3ee90f(0xbe)]({'label':_0x548004[_0x3ee90f(0xb6)],'withText':!0x0,'role':_0x3ee90f(0xad),'icon':void 0x0,'tooltip':!0x1,'class':_0x3ee90f(0x90)}),_0x355d75[_0x3ee90f(0x85)]({'on':{'mouseenter':_0x104835['to'](()=>{const _0x5eced7=_0x3ee90f;this[_0x5eced7(0xa9)]()||_0x355d75[_0x5eced7(0xea)]();})}}),this[_0x3ee90f(0xa2)](_0x355d75,_0x2f50a5,_0x548004),_0x34da94[_0x3ee90f(0xf5)][_0x3ee90f(0xb1)](_0x355d75),{'listItem':_0x34da94,'highlightViews':[_0x5d3dc6]};}[_0x121638(0x7c)](_0x51fd39,_0x393f07){const _0x2be341=_0x121638,_0xa6b674=new _0x1e1c5b(this[_0x2be341(0x84)]),_0x543d59=new _0x5d2d3f();_0x543d59[_0x2be341(0xc2)]=_0x393f07,_0x543d59[_0x2be341(0x85)]({'attributes':{'class':_0x2be341(0xc9)}});const _0x442058=new _0x1b40c6();return _0x442058[_0x2be341(0xb0)]=_0x51fd39,_0xa6b674[_0x2be341(0xf2)]({'tag':_0x2be341(0xbf),'attributes':{'class':_0x2be341(0xa3)},'children':[_0x543d59,_0x442058]}),{'view':_0xa6b674,'highlightView':_0x442058};}[_0x121638(0x8d)](_0x1c424d){const _0x59f444=_0x121638,_0x5607bb=new _0x1e1c5b(this[_0x59f444(0x84)]),_0x4d7197=new _0x1b40c6();return _0x4d7197[_0x59f444(0xb0)]=_0x1c424d,_0x5607bb[_0x59f444(0xf2)]({'tag':_0x59f444(0xbf),'attributes':{'class':_0x59f444(0x8c)},'children':[_0x4d7197]}),{'view':_0x5607bb,'highlightView':_0x4d7197};}[_0x121638(0xb8)](_0x72d315,_0x221821){const _0x1ec5e6=_0x121638,_0x1b456c=new _0x1e1c5b(this[_0x1ec5e6(0x84)]);return _0x1b456c[_0x1ec5e6(0xf2)]({'tag':_0x1ec5e6(0xbf),'attributes':{'class':_0x1ec5e6(0x88)},'children':[_0x72d315,_0x221821]}),_0x1b456c;}[_0x121638(0xa2)](_0x27eaa9,_0x2600e3,_0x4b4021){const _0x12be5f=_0x121638;_0x27eaa9['on'](_0x12be5f(0xe6),()=>{const _0x30a7e5=_0x12be5f;_0x2600e3[_0x30a7e5(0xf1)][_0x30a7e5(0xa7)][_0x30a7e5(0xea)](),_0x2600e3[_0x30a7e5(0xf3)][_0x30a7e5(0xe6)](_0x30a7e5(0xdf),_0x4b4021);});}[_0x121638(0xcc)](_0xfaecad,_0x2aaaa0,_0x2ad92f){const _0xff5562=_0x121638,_0x5d6e98=new _0x4d7315(this[_0xff5562(0x84)]),_0x26dbc3=new _0x7e57a6(),_0x415853=new _0x550e80(this[_0xff5562(0x84)],_0x26dbc3),_0x1ec4c4=_0x415853[_0xff5562(0xdc)],_0x29ec51=this[_0xff5562(0x8f)](_0x2ad92f),_0xf9c57a=this[_0xff5562(0xb3)](_0xfaecad,_0x2aaaa0[_0xff5562(0xb9)],_0x2ad92f);_0x415853[_0xff5562(0xbe)]({'label':_0x2aaaa0[_0xff5562(0xba)],'withText':!0x0,'role':Ts,'icon':_0x2aaaa0[_0xff5562(0xa0)]??_0xe0896b,'isEnabled':_0x2aaaa0[_0xff5562(0xb9)][_0xff5562(0x80)](_0x219023=>_0x219023[_0xff5562(0xd8)])}),_0x415853[_0xff5562(0x85)]({'on':{'mouseenter':_0x1ec4c4['to'](()=>{const _0x1dc682=_0xff5562;this[_0x1dc682(0xa9)]()||_0x415853[_0x1dc682(0xea)]();})}});const _0x3197eb=new _0x42cc37(this[_0xff5562(0x84)]);return _0x3197eb[_0xff5562(0x85)]({'attributes':{'class':['ck',_0xff5562(0x7d),_0xff5562(0xd4),_0xff5562(0x9c)]},'on':{'keydown':_0x1ec4c4['to'](_0xb33c91=>{const _0x3305a9=_0xff5562;this[_0x3305a9(0x96)](_0xb33c91,_0x29ec51,_0x415853,_0x3197eb);})}}),_0x415853[_0xff5562(0xce)](_0xff5562(0xbc))['to'](_0x3197eb,_0xff5562(0xbb)),this[_0xff5562(0xc7)][_0xff5562(0xb1)](_0x3197eb),_0x3197eb[_0xff5562(0xc2)][_0xff5562(0xb1)](_0xf9c57a),this[_0xff5562(0xb5)](_0x415853,_0x3197eb),_0x5d6e98[_0xff5562(0xf5)][_0xff5562(0xb1)](_0x415853),{'listItem':_0x5d6e98,'highlightView':_0x26dbc3};}[_0x121638(0xb3)](_0x3738d2,_0x21dc2e,_0x12fe95){const _0x1228d3=_0x121638,_0x2ea856=new _0x21114f(this[_0x1228d3(0x84)]);return _0x2ea856[_0x1228d3(0x85)]({'attributes':{'class':['ck',_0x1228d3(0x7d),_0x1228d3(0xec),_0x1228d3(0xaa)]}}),_0x21dc2e[_0x1228d3(0xe8)](_0x125e0c=>{const _0x3d1236=_0x1228d3,_0x59abf2=new _0x4d7315(this[_0x3d1236(0x84)]),_0x5199fa=_0x7e7af8({'editor':_0x3738d2,'action':_0x125e0c,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x3d1236(0xa9)]()})();_0x59abf2[_0x3d1236(0xf5)][_0x3d1236(0xb1)](_0x5199fa),_0x12fe95[_0x3d1236(0x81)][_0x3d1236(0xb1)](_0x5199fa),_0x2ea856[_0x3d1236(0xe1)][_0x3d1236(0xb1)](_0x59abf2);}),_0x2ea856;}[_0x121638(0xb5)](_0x2827d2,_0x540883){const _0xc9ffd3=_0x121638,_0x360945=_0x2827d2[_0xc9ffd3(0xdc)],_0x3d0787=this[_0xc9ffd3(0xd5)](_0x2827d2);_0x2827d2[_0xc9ffd3(0x85)]({'attributes':{'class':[_0xc9ffd3(0xbd)]},'on':{'mouseenter':_0x360945['to'](()=>{const _0x2ef847=_0xc9ffd3;this[_0x2ef847(0xd6)](_0x540883,_0x2827d2);}),'mouseleave':_0x360945['to'](_0x3bd32d=>{const _0x56f92b=_0xc9ffd3,_0x38393a=_0x3bd32d[_0x56f92b(0x9d)];this[_0x56f92b(0x78)](_0x38393a,_0x540883)||this[_0x56f92b(0xac)](_0x540883);}),'keydown':_0x360945['to'](_0x236b51=>{const _0x7d66b5=_0xc9ffd3;_0x236b51[_0x7d66b5(0x77)]==_0x3d0787&&(this[_0x7d66b5(0xd6)](_0x540883,_0x2827d2),_0x540883[_0x7d66b5(0xc2)][_0x7d66b5(0xeb)](0x0)[_0x7d66b5(0xea)]());})}}),_0x540883['on'](_0xc9ffd3(0xc8),()=>{const _0x2152fd=_0xc9ffd3;_0x540883[_0x2152fd(0xa8)]?.[_0x2152fd(0xf0)](_0x2152fd(0x98),_0x4cd843=>{const _0x1c267e=_0x2152fd,_0x265a90=_0x4cd843[_0x1c267e(0x9d)];_0x2827d2[_0x1c267e(0xa8)]?.[_0x1c267e(0xc6)](_0x265a90)||this[_0x1c267e(0x78)](_0x265a90,_0x540883)||this[_0x1c267e(0xac)](_0x540883);});});}[_0x121638(0xd6)](_0x460034,_0x4648df){const _0x399939=_0x121638;this[_0x399939(0x86)][_0x399939(0xe8)](_0x3b9084=>{const _0x5f2361=_0x399939;_0x3b9084!==_0x460034&&_0x3b9084[_0x5f2361(0xbb)]&&_0x3b9084[_0x5f2361(0xa1)]();}),_0x460034[_0x399939(0xc3)](),_0x460034[_0x399939(0x7f)]({'positions':[_0x2faa24[_0x399939(0xd7)]],'target':_0x4648df[_0x399939(0xa8)],'fitInViewport':!0x0}),this[_0x399939(0x86)][_0x399939(0xb1)](_0x460034);}[_0x121638(0xac)](_0x9971ff){const _0x3a0124=_0x121638;_0x9971ff[_0x3a0124(0xa1)](),this[_0x3a0124(0x86)][_0x3a0124(0xe7)](_0x9971ff);}[_0x121638(0x95)](){const _0x231e28=_0x121638;this[_0x231e28(0x86)][_0x231e28(0xe8)](_0x4f2c4c=>_0x4f2c4c[_0x231e28(0xa1)]()),this[_0x231e28(0x86)][_0x231e28(0xaf)]();}[_0x121638(0x78)](_0xce40f1,_0x7fd0f5){const _0x43a3f8=_0x121638;if(!_0xce40f1)return!0x1;if(_0x7fd0f5[_0x43a3f8(0xa8)]?.[_0x43a3f8(0xc6)](_0xce40f1))return!0x0;const _0x47e4b7=_0xce40f1;return _0x47e4b7[_0x43a3f8(0xc1)]&&(null!==_0x47e4b7[_0x43a3f8(0xc1)](_0x43a3f8(0xa6))||null!==_0x47e4b7[_0x43a3f8(0xc1)](_0x43a3f8(0x87))||null!==_0x47e4b7[_0x43a3f8(0xc1)](_0x43a3f8(0x94)));}[_0x121638(0x7a)](){const _0x130a49=_0x121638;this[_0x130a49(0xde)]&&this[_0x130a49(0xde)][_0x130a49(0x9b)]();}[_0x121638(0xf4)](){const _0x2b2aa6=_0x121638;this[_0x2b2aa6(0x95)](),this[_0x2b2aa6(0xc7)][_0x2b2aa6(0xcd)](),super[_0x2b2aa6(0xf4)]();}[_0x121638(0xea)](){const _0x265689=_0x121638;this[_0x265689(0xde)]?this[_0x265689(0xde)][_0x265689(0xea)]():this[_0x265689(0x9f)][_0x265689(0xea)]();}[_0x121638(0x8f)](_0x212a74){const _0x568480=_0x121638;return _0x568480(0x83)===_0x212a74[_0x568480(0x84)][_0x568480(0xb2)]?_0x568480(0xc0):_0x568480(0xcb);}[_0x121638(0xd5)](_0xd4370a){const _0x413947=_0x121638;return _0x413947(0x83)===_0xd4370a[_0x413947(0x84)][_0x413947(0xb2)]?_0x413947(0xcb):_0x413947(0xc0);}[_0x121638(0x96)](_0x248d13,_0x5982ac,_0x2aaef2,_0x1504f3){const _0x378ba2=_0x121638;_0x248d13[_0x378ba2(0x77)]==_0x5982ac&&(_0x2aaef2[_0x378ba2(0xea)](),this[_0x378ba2(0xac)](_0x1504f3));}[_0x121638(0x99)](_0x4899f9){const _0x55ce95=_0x121638;_0x4899f9[_0x55ce95(0xe5)](_0x55ce95(0xe6));}}
|