@ckeditor/ckeditor5-ai 47.7.5-alpha.0 → 47.7.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/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x385c(_0x3752d4,_0x349fc4){const _0xcbf183=_0xcbf1();return _0x385c=function(_0x385cf0,_0x4f4838){_0x385cf0=_0x385cf0-0xa2;let _0x3f1e9a=_0xcbf183[_0x385cf0];return _0x3f1e9a;},_0x385c(_0x3752d4,_0x349fc4);}function _0xcbf1(){const _0x3f9240=['indexOf','parent','320428GvqyWH','2163210ALezrQ','reduce','870874PPjcLh','path','slice','9SRQBvp','65qoeNOk','match','18inMBmV','5605721qCTtwL','createFromPath','nextNode','start','index','document','715556aywSua','createAfter','1934723TvYrrb','end','getNudgedToWordBoundary','createAt','previousNode','2423128TmraZC','isEqual','length','20OnqoqX','ai-documentposition-index-out-of-bounds','ai-documentposition-createfrompath-path-cannot-be-empty','createBefore','data','same'];_0xcbf1=function(){return _0x3f9240;};return _0xcbf1();}const _0x208815=_0x385c;(function(_0x3ac763,_0x3bd913){const _0x27383c=_0x385c,_0x39d225=_0x3ac763();while(!![]){try{const _0x498b7b=-parseInt(_0x27383c(0xa5))/0x1+parseInt(_0x27383c(0xba))/0x2+-parseInt(_0x27383c(0xb8))/0x3+-parseInt(_0x27383c(0xb7))/0x4*(-parseInt(_0x27383c(0xbe))/0x5)+-parseInt(_0x27383c(0xc0))/0x6*(parseInt(_0x27383c(0xa7))/0x7)+parseInt(_0x27383c(0xac))/0x8*(parseInt(_0x27383c(0xbd))/0x9)+-parseInt(_0x27383c(0xaf))/0xa*(-parseInt(_0x27383c(0xc1))/0xb);if(_0x498b7b===_0x3bd913)break;else _0x39d225['push'](_0x39d225['shift']());}catch(_0xa4947){_0x39d225['push'](_0x39d225['shift']());}}}(_0xcbf1,0x8229c));import{CKEditorError as _0x239af4,compareArrays as _0x40bfea}from'ckeditor5/src/utils.js';import{getNodePath as _0x4f6739,isText as _0x4459e5,getChildren as _0x31c404,isDocument as _0x4a6f0a,getParent as _0xdb4f0b,textContent as _0xcf2aef,hasChildren as _0x1f06de}from'./htmlparser.js';export class DocumentPosition{[_0x208815(0xb6)];[_0x208815(0xa3)];[_0x208815(0xa4)];constructor(_0x57a766,_0x321ea5,_0x52ae7e){const _0x5557b6=_0x208815;if(_0x4459e5(_0x321ea5)&&_0x52ae7e>_0x321ea5[_0x5557b6(0xb3)][_0x5557b6(0xae)])throw new _0x239af4(_0x5557b6(0xb0),null,{'index':_0x52ae7e,'parent':_0x321ea5});if(_0x1f06de(_0x321ea5)&&_0x52ae7e>_0x31c404(_0x321ea5)[_0x5557b6(0xae)])throw new _0x239af4(_0x5557b6(0xb0),null,{'index':_0x52ae7e,'parent':_0x321ea5});if(_0x52ae7e<0x0)throw new _0x239af4(_0x5557b6(0xb0),null,{'index':_0x52ae7e,'parent':_0x321ea5});this[_0x5557b6(0xb6)]=_0x321ea5,this[_0x5557b6(0xa3)]=_0x52ae7e,this[_0x5557b6(0xa4)]=_0x57a766;}get[_0x208815(0xbb)](){const _0x57dbbf=_0x208815;return[..._0x4f6739(this[_0x57dbbf(0xb6)]),this[_0x57dbbf(0xa3)]];}[_0x208815(0xad)](_0x39d71b){const _0x5b5c0b=_0x208815;return this[_0x5b5c0b(0xa4)]==_0x39d71b[_0x5b5c0b(0xa4)]&&_0x5b5c0b(0xb4)===_0x40bfea(this[_0x5b5c0b(0xbb)],_0x39d71b[_0x5b5c0b(0xbb)]);}get[_0x208815(0xc3)](){const _0x490170=_0x208815;if(_0x1f06de(this[_0x490170(0xb6)])){const _0x558242=_0x31c404(this[_0x490170(0xb6)])[this[_0x490170(0xa3)]];if(_0x558242)return _0x558242;{const _0x41f600=DocumentPosition[_0x490170(0xa6)](this[_0x490170(0xa4)],this[_0x490170(0xb6)]);if(_0x41f600)return _0x41f600[_0x490170(0xc3)];}}return null;}get[_0x208815(0xab)](){const _0x5ac51f=_0x208815;if(_0x1f06de(this[_0x5ac51f(0xb6)])){const _0x532ff0=_0x31c404(this[_0x5ac51f(0xb6)])[this[_0x5ac51f(0xa3)]-0x1];if(_0x532ff0)return _0x532ff0;{const _0xcc94e6=DocumentPosition[_0x5ac51f(0xb2)](this[_0x5ac51f(0xa4)],this[_0x5ac51f(0xb6)]);if(_0xcc94e6)return _0xcc94e6[_0x5ac51f(0xab)];}}return null;}[_0x208815(0xa9)](_0x19565c=_0x208815(0xa2)){const _0x1466f8=_0x208815;if(!_0x4459e5(this[_0x1466f8(0xb6)]))return this;const _0x3ec323=this[_0x1466f8(0xbb)][this[_0x1466f8(0xbb)][_0x1466f8(0xae)]-0x1],_0x9d699=_0xcf2aef(this[_0x1466f8(0xb6)])[_0x1466f8(0xbf)](/(?:\s*\S+\s*)/g);let _0x399c2c=0x0,_0xa06744=_0x3ec323;for(const _0x3ee3a6 of _0x9d699){if(_0x399c2c+_0x3ee3a6[_0x1466f8(0xae)]===_0x3ec323)return this;if(_0x399c2c+_0x3ee3a6[_0x1466f8(0xae)]>_0x3ec323){_0xa06744=_0x1466f8(0xa2)===_0x19565c?_0x399c2c:_0x399c2c+_0x3ee3a6[_0x1466f8(0xae)];break;}_0x399c2c+=_0x3ee3a6[_0x1466f8(0xae)];}return DocumentPosition[_0x1466f8(0xaa)](this[_0x1466f8(0xa4)],this[_0x1466f8(0xb6)],_0xa06744);}static[_0x208815(0xa6)](_0x5e59f8,_0x375259){const _0x57097f=_0x208815;if(_0x4a6f0a(_0x375259))return null;const _0x22bae8=_0xdb4f0b(_0x375259);return DocumentPosition[_0x57097f(0xaa)](_0x5e59f8,_0x22bae8,_0x31c404(_0x22bae8)[_0x57097f(0xb5)](_0x375259)+0x1);}static[_0x208815(0xb2)](_0x598273,_0x1e8ac0){const _0x126bfa=_0x208815;if(_0x4a6f0a(_0x1e8ac0))return null;const _0x316989=_0xdb4f0b(_0x1e8ac0);return DocumentPosition[_0x126bfa(0xaa)](_0x598273,_0x316989,_0x31c404(_0x316989)[_0x126bfa(0xb5)](_0x1e8ac0));}static[_0x208815(0xaa)](_0x7b9487,_0x5e4d4c,_0x47405f=_0x208815(0xa2)){const _0x3b9f45=_0x208815;return new DocumentPosition(_0x7b9487,_0x5e4d4c,_0x3b9f45(0xa2)===_0x47405f?0x0:_0x3b9f45(0xa8)===_0x47405f?_0x4459e5(_0x5e4d4c)?_0x5e4d4c[_0x3b9f45(0xb3)][_0x3b9f45(0xae)]:_0x31c404(_0x5e4d4c)[_0x3b9f45(0xae)]:_0x47405f);}static[_0x208815(0xc2)](_0x3b3e2c,_0x2859e8){const _0x407d4c=_0x208815;if(!_0x2859e8[_0x407d4c(0xae)])throw new _0x239af4(_0x407d4c(0xb1),null,{'path':_0x2859e8});const _0xb6b154=_0x2859e8[_0x407d4c(0xbc)](0x0,-0x1)[_0x407d4c(0xb9)]((_0x6837fe,_0x3ac799)=>_0x4459e5(_0x6837fe)?_0x6837fe:_0x31c404(_0x6837fe)[_0x3ac799],_0x3b3e2c);return DocumentPosition[_0x407d4c(0xaa)](_0x3b3e2c,_0xb6b154,_0x2859e8[_0x2859e8[_0x407d4c(0xae)]-0x1]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf2be46=_0x53b9;function _0x39ae(){const _0x4b26f6=['includes','path','forEach','nextNode','getNudgedToWordBoundary','138dJagaP','getContent','createAfter','document','previousNode','lastChild','261630ltMMOY','isEqual','110731QRyWrb','slice','4123644hYzzGt','3086028IuIiUj','start','length','31764RFjRpX','parent','push','firstChild','205902mPNnoU','reverse','createAt','end','115XEwlvP','919224ikrexZ','createFromPath','createBefore','data'];_0x39ae=function(){return _0x4b26f6;};return _0x39ae();}(function(_0x49ff6b,_0x1a8162){const _0x55db68=_0x53b9,_0x2b9199=_0x49ff6b();while(!![]){try{const _0x249bdf=-parseInt(_0x55db68(0x1a5))/0x1+parseInt(_0x55db68(0x1a3))/0x2+parseInt(_0x55db68(0x19d))/0x3*(-parseInt(_0x55db68(0x1ab))/0x4)+-parseInt(_0x55db68(0x193))/0x5*(-parseInt(_0x55db68(0x1af))/0x6)+parseInt(_0x55db68(0x1a7))/0x7+-parseInt(_0x55db68(0x194))/0x8+-parseInt(_0x55db68(0x1a8))/0x9;if(_0x249bdf===_0x1a8162)break;else _0x2b9199['push'](_0x2b9199['shift']());}catch(_0x564041){_0x2b9199['push'](_0x2b9199['shift']());}}}(_0x39ae,0x8c79a));import{DocumentPosition as _0x59180e}from'./documentposition.js';function _0x53b9(_0x398a39,_0x4ea087){const _0x39aecc=_0x39ae();return _0x53b9=function(_0x53b91d,_0x31fc99){_0x53b91d=_0x53b91d-0x191;let _0x110842=_0x39aecc[_0x53b91d];return _0x110842;},_0x53b9(_0x398a39,_0x4ea087);}import{clone as _0x51a12f,getParents as _0x4457a6,Document as _0x2e127a,Text as _0x54ddd9,isTag as _0x1f07cc,isText as _0x382cca,replaceElement as _0x233466,removeElement as _0x7c6b5a}from'./htmlparser.js';export class DocumentRange{[_0xf2be46(0x1a9)];[_0xf2be46(0x192)];constructor(_0x1cae02,_0x3607e3){const _0x53d98f=_0xf2be46;this[_0x53d98f(0x1a9)]=_0x1cae02,this[_0x53d98f(0x192)]=_0x3607e3;}[_0xf2be46(0x1a4)](_0x558e12){const _0x39b9f8=_0xf2be46;return this==_0x558e12||this[_0x39b9f8(0x1a9)][_0x39b9f8(0x1a4)](_0x558e12[_0x39b9f8(0x1a9)])&&this[_0x39b9f8(0x192)][_0x39b9f8(0x1a4)](_0x558e12[_0x39b9f8(0x192)]);}[_0xf2be46(0x19c)](){const _0x4571e7=_0xf2be46;return new DocumentRange(this[_0x4571e7(0x1a9)][_0x4571e7(0x19c)](_0x4571e7(0x1a9)),this[_0x4571e7(0x192)][_0x4571e7(0x19c)](_0x4571e7(0x192)));}[_0xf2be46(0x19e)](){const _0x1f2fa6=_0xf2be46,_0xb5a318=_0x51a12f(this[_0x1f2fa6(0x1a9)][_0x1f2fa6(0x1a0)]),_0x446984=_0x59180e[_0x1f2fa6(0x195)](_0xb5a318,this[_0x1f2fa6(0x1a9)][_0x1f2fa6(0x199)]),_0x58880e=_0x59180e[_0x1f2fa6(0x195)](_0xb5a318,this[_0x1f2fa6(0x192)][_0x1f2fa6(0x199)]);let _0x673531,_0x20cfaf;if(_0x382cca(_0x446984[_0x1f2fa6(0x1ac)])){const _0x43dbb4=_0x446984[_0x1f2fa6(0x199)][_0x446984[_0x1f2fa6(0x199)][_0x1f2fa6(0x1aa)]-0x1],_0x3caa79=new _0x54ddd9(_0x446984[_0x1f2fa6(0x1ac)][_0x1f2fa6(0x197)][_0x1f2fa6(0x1a6)](_0x43dbb4));_0x233466(_0x446984[_0x1f2fa6(0x1ac)],_0x3caa79),_0x673531=_0x3caa79;}else _0x673531=_0x446984[_0x1f2fa6(0x19b)];if(_0x382cca(_0x58880e[_0x1f2fa6(0x1ac)])){const _0x222eab=_0x58880e[_0x1f2fa6(0x199)][_0x58880e[_0x1f2fa6(0x199)][_0x1f2fa6(0x1aa)]-0x1],_0x1cb173=new _0x54ddd9(_0x58880e[_0x1f2fa6(0x1ac)][_0x1f2fa6(0x197)][_0x1f2fa6(0x1a6)](0x0,_0x222eab));_0x233466(_0x58880e[_0x1f2fa6(0x1ac)],_0x1cb173),_0x20cfaf=_0x1cb173;}else _0x20cfaf=_0x58880e[_0x1f2fa6(0x1a1)];if(!(_0x673531&&_0x20cfaf&&_0xb5a318[_0x1f2fa6(0x1ae)]&&_0xb5a318[_0x1f2fa6(0x1a2)]))return new _0x2e127a([]);const _0x318df9=_0x4457a6(_0x673531),_0x5f2e67=_0x4457a6(_0x20cfaf),_0x12bbde=[],_0x539a7b=[];let _0x1b9d91=_0xb5a318[_0x1f2fa6(0x1ae)];for(;_0x1b9d91&&_0x1b9d91!==_0x673531;){let _0x5a587b;_0x318df9[_0x1f2fa6(0x198)](_0x1b9d91)||_0x12bbde[_0x1f2fa6(0x1ad)](_0x1b9d91),_0x5a587b=_0x1f07cc(_0x1b9d91)?_0x59180e[_0x1f2fa6(0x191)](_0xb5a318,_0x1b9d91,_0x1f2fa6(0x1a9)):_0x59180e[_0x1f2fa6(0x19f)](_0xb5a318,_0x1b9d91),_0x1b9d91=_0x5a587b?_0x5a587b[_0x1f2fa6(0x19b)]:null;}for(_0x1b9d91=_0xb5a318[_0x1f2fa6(0x1a2)];_0x1b9d91&&_0x1b9d91!==_0x20cfaf;){let _0xa561c7;_0x5f2e67[_0x1f2fa6(0x198)](_0x1b9d91)||_0x539a7b[_0x1f2fa6(0x1ad)](_0x1b9d91),_0xa561c7=_0x1f07cc(_0x1b9d91)?_0x59180e[_0x1f2fa6(0x191)](_0xb5a318,_0x1b9d91,_0x1f2fa6(0x192)):_0x59180e[_0x1f2fa6(0x196)](_0xb5a318,_0x1b9d91),_0x1b9d91=_0xa561c7?_0xa561c7[_0x1f2fa6(0x1a1)]:null;}return _0x12bbde[_0x1f2fa6(0x19a)](_0x43940c=>{_0x7c6b5a(_0x43940c);}),_0x539a7b[_0x1f2fa6(0x1b0)]()[_0x1f2fa6(0x19a)](_0x170171=>{_0x7c6b5a(_0x170171);}),_0xb5a318;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2a6ab3=_0x59fa;(function(_0x43e0a9,_0x50b4cf){const _0x3c29fe=_0x59fa,_0x2bf5c1=_0x43e0a9();while(!![]){try{const _0x52d19d=-parseInt(_0x3c29fe(0x130))/0x1*(-parseInt(_0x3c29fe(0x12e))/0x2)+-parseInt(_0x3c29fe(0x134))/0x3*(-parseInt(_0x3c29fe(0x12f))/0x4)+-parseInt(_0x3c29fe(0x136))/0x5+-parseInt(_0x3c29fe(0x12c))/0x6*(parseInt(_0x3c29fe(0x133))/0x7)+parseInt(_0x3c29fe(0x137))/0x8*(parseInt(_0x3c29fe(0x13c))/0x9)+parseInt(_0x3c29fe(0x13d))/0xa+parseInt(_0x3c29fe(0x13b))/0xb*(-parseInt(_0x3c29fe(0x132))/0xc);if(_0x52d19d===_0x50b4cf)break;else _0x2bf5c1['push'](_0x2bf5c1['shift']());}catch(_0x3c6d93){_0x2bf5c1['push'](_0x2bf5c1['shift']());}}}(_0x38db,0x2a676));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x2a6ab3(0x13f),_0x2a6ab3(0x12d),_0x2a6ab3(0x131),_0x2a6ab3(0x135),_0x2a6ab3(0x12b),_0x2a6ab3(0x13e),_0x2a6ab3(0x138),_0x2a6ab3(0x139),_0x2a6ab3(0x13a)];function _0x59fa(_0x3da169,_0x5ca556){const _0x38db6b=_0x38db();return _0x59fa=function(_0x59fafd,_0x4d5c19){_0x59fafd=_0x59fafd-0x12b;let _0x4cb8bc=_0x38db6b[_0x59fafd];return _0x4cb8bc;},_0x59fa(_0x3da169,_0x5ca556);}function _0x38db(){const _0x3dc7b4=['mouseOverSuggestion','6RNZKJs','insertSuggestion','6YYVTVH','14376vEwOrG','53917OBPkwi','applySuggestion','1608iBYJbX','305669PrtuFb','225dioKDo','rejectSuggestion','1191435ycsZaL','1016GFezeT','toggleSuggestionDisplayMode','like','dislike','28721HFdQid','7083obPRZb','2742640cpScRc','mouseLeaveSuggestion','showChangeInText'];_0x38db=function(){return _0x3dc7b4;};return _0x38db();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x7425ad,_0x24f362){var _0x5798dc=_0x2f4f,_0xe7af8e=_0x7425ad();while(!![]){try{var _0x314eaa=parseInt(_0x5798dc(0x11f))/0x1*(-parseInt(_0x5798dc(0x116))/0x2)+parseInt(_0x5798dc(0x114))/0x3+parseInt(_0x5798dc(0x123))/0x4*(-parseInt(_0x5798dc(0x118))/0x5)+-parseInt(_0x5798dc(0x11b))/0x6*(-parseInt(_0x5798dc(0x122))/0x7)+-parseInt(_0x5798dc(0x11d))/0x8*(parseInt(_0x5798dc(0x120))/0x9)+parseInt(_0x5798dc(0x11c))/0xa*(parseInt(_0x5798dc(0x125))/0xb)+parseInt(_0x5798dc(0x115))/0xc;if(_0x314eaa===_0x24f362)break;else _0xe7af8e['push'](_0xe7af8e['shift']());}catch(_0x5f417a){_0xe7af8e['push'](_0xe7af8e['shift']());}}}(_0x4eea,0xd7560));function _0x2f4f(_0x3f9102,_0x2b2e79){var _0x4eea62=_0x4eea();return _0x2f4f=function(_0x2f4fde,_0x3cbcd1){_0x2f4fde=_0x2f4fde-0x114;var _0x55572e=_0x4eea62[_0x2f4fde];return _0x55572e;},_0x2f4f(_0x3f9102,_0x2b2e79);}import{CKEditorError as _0x170fdc}from'ckeditor5/src/utils.js';import{Editor as _0x558ce5}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x577d45){var _0x3fbd19=_0x2f4f;if(_0x577d45 instanceof _0x558ce5)return _0x577d45;if(_0x577d45?.[_0x3fbd19(0x11a)]&&_0x577d45[_0x3fbd19(0x11a)][_0x3fbd19(0x11e)](0x0))return _0x577d45[_0x3fbd19(0x11a)][_0x3fbd19(0x121)]>0x1&&console[_0x3fbd19(0x117)](_0x3fbd19(0x119)),_0x577d45[_0x3fbd19(0x11a)][_0x3fbd19(0x11e)](0x0);throw new _0x170fdc(_0x3fbd19(0x124));}function _0x4eea(){var _0x3f80d1=['24foSsUh','get','1BSauuk','3627252SJpEGW','length','7bhRmMI','9124MVZiTQ','ai-get-editor-from-context-no-editor','18502REcQYe','780912XGvBak','36533592ictreW','2687488BtKfJt','warn','1895hIxRSs','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','editors','1577418gHjUSw','4350HuHALD'];_0x4eea=function(){return _0x3f80d1;};return _0x4eea();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x268ebf,_0x534e72){const _0x737b71=_0x557c,_0x3410ad=_0x268ebf();while(!![]){try{const _0x9d13b0=-parseInt(_0x737b71(0xf3))/0x1+parseInt(_0x737b71(0xf0))/0x2+parseInt(_0x737b71(0x101))/0x3+parseInt(_0x737b71(0xee))/0x4*(-parseInt(_0x737b71(0xf5))/0x5)+-parseInt(_0x737b71(0x113))/0x6*(parseInt(_0x737b71(0xfb))/0x7)+-parseInt(_0x737b71(0x10e))/0x8*(parseInt(_0x737b71(0x10d))/0x9)+parseInt(_0x737b71(0x103))/0xa*(parseInt(_0x737b71(0x100))/0xb);if(_0x9d13b0===_0x534e72)break;else _0x3410ad['push'](_0x3410ad['shift']());}catch(_0x17aa31){_0x3410ad['push'](_0x3410ad['shift']());}}}(_0x3201,0x889e3));function _0x557c(_0x1d5f26,_0x4ed2a8){const _0x3201ea=_0x3201();return _0x557c=function(_0x557c0b,_0x5e9d41){_0x557c0b=_0x557c0b-0xed;let _0x26c82a=_0x3201ea[_0x557c0b];return _0x26c82a;},_0x557c(_0x1d5f26,_0x4ed2a8);}import{transformOperationSets as _0x19edbd}from'ckeditor5/src/engine.js';function _0x3201(){const _0x70af60=['9117FlGoMd','7056kTIFNZ','previousSibling','operationsA','removed','getRange','54pslvwW','marker','616996pkgzia','type','328318rfuDFR','getDiff','new','38853mEuYUY','version','15yaRHZF','anchorId','cloneNode','getDocumentContext','data-id','map','792631DhuhkA','document','oldRange','getOperations','shift','11NdeUCU','2811444MJhppr','history','18724430dnnFER','markers','content','name','node','documentContextContent','length','model','get','filter'];_0x3201=function(){return _0x70af60;};return _0x3201();}import{append as _0x3a154b,findByAttribute as _0x41304b,prependChild as _0x2d5388,removeElement as _0x47154a,serialize as _0x5f201e}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x2d4b5f,interaction:_0x16f0a3,reply:_0x24cf82,groups:_0x5073c7,transform:_0x12428c,documentCompare:_0x40782c,documentCompareOptions:_0x19b025}){const _0x20166f=_0x557c,_0x4a4ec1=_0x16f0a3[_0x20166f(0xf8)]();if(!_0x4a4ec1)return[];const _0xbaedbe=_0x4a4ec1[_0x20166f(0x105)],_0x43136c=_0x4a4ec1[_0x20166f(0xf4)],_0x2f1a28=_0x24cf82[_0x20166f(0x108)][_0x20166f(0xf7)](!0x0);for(const {changes:_0x310a0a}of _0x5073c7){const _0x42cb5a=_0x310a0a[_0x20166f(0x10c)](_0x33b0c9=>_0x20166f(0xf2)!=_0x33b0c9[_0x20166f(0xef)])[_0x20166f(0xfa)](_0x230451=>_0x41304b(_0x20166f(0xf9),_0x230451['id'],_0x2f1a28)),_0x4b06a4=_0x310a0a[_0x20166f(0x10c)](_0x352dd6=>_0x20166f(0x111)!=_0x352dd6[_0x20166f(0xef)])[_0x20166f(0xfa)](_0x119659=>_0x119659[_0x20166f(0x107)][_0x20166f(0xf7)](!0x0));let _0x4643a9=null;if(_0x42cb5a[_0x20166f(0x109)]){_0x4643a9=_0x42cb5a[0x0][_0x20166f(0x10f)];for(let _0x55725e=0x0;_0x55725e<_0x42cb5a[_0x20166f(0x109)];_0x55725e++)_0x47154a(_0x42cb5a[_0x55725e]);}if(_0x4b06a4[_0x20166f(0x109)]){_0x4643a9||(_0x310a0a[0x0][_0x20166f(0xf6)]?_0x4643a9=_0x41304b(_0x20166f(0xf9),_0x310a0a[0x0][_0x20166f(0xf6)],_0x2f1a28):(_0x4643a9=_0x4b06a4[_0x20166f(0xff)](),_0x2d5388(_0x2f1a28,_0x4643a9)));for(let _0x19d24d=0x0;_0x19d24d<_0x4b06a4[_0x20166f(0x109)];_0x19d24d++)_0x3a154b(_0x4643a9,_0x4b06a4[_0x19d24d]),_0x4643a9=_0x4b06a4[_0x19d24d];}}const _0x3a140f=_0x5f201e(_0x2f1a28),_0x5b928b=_0x40782c[_0x20166f(0xf1)](_0xbaedbe,_0x3a140f,_0x19b025)[_0x20166f(0xfe)]();if(_0x12428c){const _0x2287f3=_0x2d4b5f[_0x20166f(0x10a)][_0x20166f(0xfc)][_0x20166f(0x102)][_0x20166f(0xfe)](_0x43136c),_0x1abe86={'document':_0x2d4b5f[_0x20166f(0x10a)][_0x20166f(0xfc)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x19edbd(_0x5b928b,_0x2287f3,_0x1abe86)[_0x20166f(0x110)];}return _0x5b928b;}export function fixMarkerOperationOldRange(_0x35e9b1,_0x41104d){const _0x19b709=_0x557c;if(_0x19b709(0xed)!=_0x41104d[_0x19b709(0xef)])return;const _0xe700e5=_0x35e9b1[_0x19b709(0x10a)][_0x19b709(0x104)][_0x19b709(0x10b)](_0x41104d[_0x19b709(0x106)]);_0xe700e5&&(_0x41104d[_0x19b709(0xfd)]=_0xe700e5[_0x19b709(0x112)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x4bf4e0,_0x1b41e8){const _0x408588=_0xa6fe,_0x44246e=_0x4bf4e0();while(!![]){try{const _0x4c74fd=-parseInt(_0x408588(0xcd))/0x1*(parseInt(_0x408588(0xae))/0x2)+-parseInt(_0x408588(0x8c))/0x3+parseInt(_0x408588(0xa1))/0x4+parseInt(_0x408588(0xb5))/0x5*(-parseInt(_0x408588(0xdc))/0x6)+parseInt(_0x408588(0xc5))/0x7+-parseInt(_0x408588(0x9f))/0x8*(parseInt(_0x408588(0x98))/0x9)+parseInt(_0x408588(0xc0))/0xa;if(_0x4c74fd===_0x1b41e8)break;else _0x44246e['push'](_0x44246e['shift']());}catch(_0x570476){_0x44246e['push'](_0x44246e['shift']());}}}(_0xdbfe,0xbf4ab));import{findOne as _0x454019,getAttribute as _0x3b1a41,Document as _0x37cc74,serialize as _0x1977da,parse as _0x438b93}from'./htmlparser.js';import{fixElementSuggestionRange as _0x47eb8e}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x118c4b,_DetachOperation as _0xf852b7,_removeFromModelNodeList as _0xa2a93b,_insertIntoModelNodeList as _0x12f4c1}from'ckeditor5/src/engine.js';import{uid as _0x49269a}from'ckeditor5/src/utils.js';function _0xdbfe(){const _0x6e616d=['path','_createFromRanges','addOperation','offset','range','start','rename','parse','plugins','parent','name','$text','marker','changeAttribute','baseVersion','_getTransformedByInsertion','slice','isRegisteredAttribute','newName','getDiff','reverse','nodeBefore','batch','isObject','focus','createSelection','add','oldName','index','createRangeOn','isBlock','createPositionAt','delete','665067yjDmbL','end','forward','suggestion:attribute:','insert','cloneNode','getOperations','root','DocumentCompare','newRange','getMovedRangeStart','length','3554541oULioq','suggestion:formatBlock:$fakeWrap:','stringify','suggestion:insertion:',':$aiSuggestion','isDocumentOperation','setTo','8QKNZBp','set','3463680lDwlqJ','suggestion:deletion:','get','isMarkedRemoveOperation','clone','getMinimalFlatRanges','removed','$elementName','type','getTransformedByOperation','nodeAfter','toNone','addAttribute','104OMoGxB','map','remove','split','targetPosition','$root','element','155bVLqpz','SuggestionsConversion','word','applyOperation','...','change','node','push','schema','new','move','18339000HkMJtR','sourcePosition','children','modifySelection','POSITIVE_INFINITY','1426544PIIqZp','changes','textNode','markers','position','createRange','getShiftedBy','key','19576rZuwNy','newValue','merge','oldValue','getFirstRange','isAfter','moveTargetPosition','stickiness','data-id','splitPosition','isBefore','_getTransformedByDeletion','removeAttribute','data','backward','93966DHinKN','model','createPositionFromPath','howMany'];_0xdbfe=function(){return _0x6e616d;};return _0xdbfe();}export function getSuggestionPartsFromReply({editor:_0x5a9a42,changeGroups:_0x354103,documentContextContent:_0x261453,showDiff:_0x123f3a,trimUnchanged:_0x4c3e8f=!0x0}){const _0x4357df=_0xa6fe;return _0x354103[_0x4357df(0xaf)](_0x869790=>{const _0x20c9a2=_0x4357df,_0xb19e36=new _0x37cc74([]),_0x3f62f1=new _0x37cc74([]);for(const _0x5d786d of _0x869790[_0x20c9a2(0xc6)])if(_0x123f3a&&_0x20c9a2(0xa7)==_0x5d786d[_0x20c9a2(0xa9)]||_0x3f62f1[_0x20c9a2(0xc2)][_0x20c9a2(0xbc)](_0x5d786d[_0x20c9a2(0xbb)][_0x20c9a2(0x91)](!0x0)),_0x20c9a2(0xbe)!=_0x5d786d[_0x20c9a2(0xa9)]&&(_0x123f3a||_0x20c9a2(0xa7)!=_0x5d786d[_0x20c9a2(0xa9)])){const _0x589879=_0x454019(_0x478b9e=>_0x3b1a41(_0x478b9e,_0x20c9a2(0xd5))==_0x5d786d['id'],_0x261453,!0x0);_0x589879&&_0xb19e36[_0x20c9a2(0xc2)][_0x20c9a2(0xbc)](_0x589879[_0x20c9a2(0x91)](!0x0));}const {content:_0x14e6c8,hasChanges:_0x53738d}=function(_0x50bdc3,_0x5bb786,_0x5dbeb9,_0x27e0fd,_0x474f88=!0x0){const _0x1f709c=_0x20c9a2,_0x5c8916=_0x50bdc3[_0x1f709c(0xe8)][_0x1f709c(0xa3)](_0x1f709c(0x94)),_0x48e714=_0x1977da(_0x5bb786),_0x1c6088=_0x1977da(_0x5dbeb9),_0x719699=_0x50bdc3[_0x1f709c(0xda)][_0x1f709c(0xe7)](_0x48e714,_0x1f709c(0xb3)),_0x39f4ac=_0x50bdc3[_0x1f709c(0xdd)][_0x1f709c(0x8a)](_0x719699,0x0),_0x146373=_0x5c8916[_0x1f709c(0xf3)](_0x48e714,_0x1c6088,{'anchor':_0x39f4ac,'markDeletions':_0x27e0fd}),_0x3670a9=_0x146373[_0x1f709c(0x92)]();if(0x0==_0x3670a9[_0x1f709c(0x97)])return{'content':_0x5bb786[_0x1f709c(0x91)](!0x0),'hasChanges':!0x1};_0x27e0fd?function(_0x3667a0,_0x1772af,_0x39e8b5){const _0x1df004=_0x1f709c;if(0x0==_0x3667a0[_0x1df004(0x97)])return;const _0x44dbe3=_0x39e8b5[_0x1df004(0xe8)][_0x1df004(0xa3)](_0x1df004(0x94)),_0x523743=_0x39e8b5[_0x1df004(0xe8)][_0x1df004(0xa3)](_0x1df004(0xb6));_0x39e8b5[_0x1df004(0xdd)][_0x1df004(0xba)](_0x2de90f=>{const _0x2a17ce=_0x1df004,_0x143dcc=new Set();for(let _0x35988e=0x0;_0x35988e<_0x3667a0[_0x2a17ce(0x97)];_0x35988e++){const _0x23fc8c=_0x3667a0[_0x35988e];if(_0x23fc8c[_0x2a17ce(0xee)]=null,_0x23fc8c[_0x2a17ce(0x9d)]=!0x1,_0x44dbe3[_0x2a17ce(0xa4)](_0x23fc8c)){const _0x30aa01=_0x47eb8e(_0x23fc8c[_0x2a17ce(0x95)],_0x39e8b5[_0x2a17ce(0xdd)]),_0x2c5999=_0x2a17ce(0xa2)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x2c5999,_0x30aa01);}else switch(_0x23fc8c[_0x2a17ce(0xa9)]){case _0x2a17ce(0xe6):{if(_0x23fc8c[_0x2a17ce(0x86)]==_0x23fc8c[_0x2a17ce(0xf2)])break;_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);const _0x3138c0=_0x2a17ce(0xa8),_0x5f2ccc=_0x23fc8c[_0x2a17ce(0xc9)],_0x3b2f6f=_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xca)](_0x5f2ccc,_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0x8a)](_0x5f2ccc[_0x2a17ce(0xab)],_0x2a17ce(0x8d))),_0x344f7b=_0x2a17ce(0x8f)+_0x3138c0+':'+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x344f7b,_0x3b2f6f);break;}case _0x2a17ce(0xad):case _0x2a17ce(0xd9):case _0x2a17ce(0xed):{if(_0x23fc8c[_0x2a17ce(0xd0)]==_0x23fc8c[_0x2a17ce(0xce)])break;_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);const _0x4c9110=_0x23fc8c[_0x2a17ce(0xcc)];if(!_0x523743[_0x2a17ce(0xf1)](_0x4c9110))break;const _0x3f6e51=_0x47eb8e(_0x23fc8c[_0x2a17ce(0xe4)],_0x39e8b5[_0x2a17ce(0xdd)]),_0x2abd4d=_0x2a17ce(0x8f)+_0x4c9110+':'+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x2abd4d,_0x3f6e51);break;}case _0x2a17ce(0x90):{_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);if(_0x3667a0[_0x35988e+0x1]&&_0x2a17ce(0xbf)==_0x3667a0[_0x35988e+0x1][_0x2a17ce(0xa9)]){no(_0x1772af,_0x23fc8c);break;}const _0x3690b7=_0x23fc8c[_0x2a17ce(0xc9)],_0x1228b4=_0x23fc8c[_0x2a17ce(0xdf)],_0x4ccb47=_0x47eb8e(_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xca)](_0x3690b7,_0x3690b7[_0x2a17ce(0xcb)](_0x1228b4)),_0x39e8b5[_0x2a17ce(0xdd)]),_0x9c7249=_0x2a17ce(0x9b)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x9c7249,_0x4ccb47);break;}case _0x2a17ce(0xb1):{_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c);const _0x5165d7=_0x23fc8c[_0x2a17ce(0xd6)],_0x418b92=_0x23fc8c[_0x2a17ce(0xd3)],_0x2ad587=_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xca)](_0x5165d7,_0x418b92),_0x85f9cd=_0x2a17ce(0x9b)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x85f9cd,_0x2ad587);break;}case _0x2a17ce(0xbf):{_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x23fc8c),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x23fc8c),_0x3667a0[_0x35988e-0x1]&&_0x2a17ce(0x90)==_0x3667a0[_0x35988e-0x1][_0x2a17ce(0xa9)]&&no(_0x1772af,_0x23fc8c);const _0x24a6b8=_0x23fc8c[_0x2a17ce(0x96)](),_0x517441=_0x23fc8c[_0x2a17ce(0xdf)];for(let _0x57661c=0x0;_0x57661c<_0x517441;_0x57661c++){const _0x594ba2=_0x24a6b8[_0x2a17ce(0xcb)](_0x57661c)[_0x2a17ce(0xab)];_0x143dcc[_0x2a17ce(0x85)](_0x594ba2);}break;}case _0x2a17ce(0xb0):{const _0x1fe45f=_0x23fc8c[_0x2a17ce(0xc1)],_0x4e9059=_0x23fc8c[_0x2a17ce(0xdf)],_0x59e627=new _0xf852b7(_0x1fe45f,_0x4e9059);_0x2de90f[_0x2a17ce(0xf6)][_0x2a17ce(0xe2)](_0x59e627),_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0xb8)](_0x59e627);break;}}}for(const _0x2c3584 of _0x143dcc){const _0x25d66a=_0x39e8b5[_0x2a17ce(0xdd)][_0x2a17ce(0x88)](_0x2c3584),_0x54b4f5=_0x2a17ce(0x99)+_0x49269a()+_0x2a17ce(0x9c);_0x1772af[_0x2a17ce(0xc8)][_0x2a17ce(0xa0)](_0x54b4f5,_0x47eb8e(_0x25d66a,_0x39e8b5[_0x2a17ce(0xdd)]));}});}(_0x3670a9,_0x719699,_0x50bdc3):_0x50bdc3[_0x1f709c(0xdd)][_0x1f709c(0xba)](_0x2fe660=>{const _0x2eba34=_0x1f709c;for(const _0x56ee38 of _0x3670a9)if(_0x2eba34(0xb0)==_0x56ee38[_0x2eba34(0xa9)]){const _0x2c9380=_0x56ee38[_0x2eba34(0xc1)],_0x22ec57=_0x56ee38[_0x2eba34(0xdf)],_0x2bdb70=new _0xf852b7(_0x2c9380,_0x22ec57);_0x2fe660[_0x2eba34(0xf6)][_0x2eba34(0xe2)](_0x2bdb70),_0x50bdc3[_0x2eba34(0xdd)][_0x2eba34(0xb8)](_0x2bdb70);}else{if(_0x2eba34(0xec)==_0x56ee38[_0x2eba34(0xa9)]){const _0x1c4e3f=_0x56ee38[_0x2eba34(0xea)],_0x4e5d44=_0x56ee38[_0x2eba34(0x95)];null!==_0x4e5d44?_0x719699[_0x2eba34(0xc8)][_0x2eba34(0xa0)](_0x1c4e3f,_0x4e5d44):_0x719699[_0x2eba34(0xc8)][_0x2eba34(0x8b)](_0x1c4e3f);}else _0x56ee38[_0x2eba34(0xee)]=null,_0x56ee38[_0x2eba34(0x9d)]=!0x1,_0x2fe660[_0x2eba34(0xf6)][_0x2eba34(0xe2)](_0x56ee38),_0x50bdc3[_0x2eba34(0xdd)][_0x2eba34(0xb8)](_0x56ee38);}});if(_0x474f88){const _0x51de64=getMinimalSelection(_0x50bdc3,_0x3670a9,_0x719699);expandSelectionWithContext(_0x50bdc3[_0x1f709c(0xdd)],_0x51de64),function(_0x360fc3,_0x5acf7a){const _0x290e94=_0x1f709c,_0x383b48=_0x5acf7a[_0x290e94(0xd1)]()[_0x290e94(0xe5)];let _0x1bb7ba=_0x5acf7a[_0x290e94(0xd1)]()[_0x290e94(0x8d)];const _0xee5529=_0x383b48[_0x290e94(0x93)];(_0x1bb7ba[_0x290e94(0xc7)]||_0x1bb7ba[_0x290e94(0xab)]&&_0x1bb7ba[_0x290e94(0xab)]['is'](_0x290e94(0xeb)))&&(_0x12f4c1(_0x1bb7ba,_0x290e94(0xb9)),_0x1bb7ba=_0x1bb7ba[_0x290e94(0xcb)](0x3)),(_0x383b48[_0x290e94(0xc7)]||_0x383b48[_0x290e94(0xf5)]&&_0x383b48[_0x290e94(0xf5)]['is'](_0x290e94(0xeb)))&&(_0x12f4c1(_0x383b48,_0x290e94(0xb9)),function(_0x4115bd,_0x3afe54,_0x31f007){const _0x33673c=_0x290e94;for(let [_0x2add45,_0x1d4da2]of _0x4115bd[_0x33673c(0xc8)]){const _0x34ce15=_0x1d4da2[_0x33673c(0xef)](_0x3afe54,_0x31f007,!0x1);_0x1d4da2=_0x34ce15[0x0],_0x4115bd[_0x33673c(0xc8)][_0x33673c(0xa0)](_0x2add45,_0x1d4da2);}}(_0xee5529,_0x383b48,0x3),_0x383b48[_0x290e94(0xe9)]==_0x1bb7ba[_0x290e94(0xe9)]&&(_0x1bb7ba=_0x1bb7ba[_0x290e94(0xcb)](0x3)));const _0x2fac7b=_0x360fc3[_0x290e94(0xca)](_0x360fc3[_0x290e94(0x8a)](_0xee5529,0x0),_0x383b48),_0x410d34=_0x360fc3[_0x290e94(0xca)](_0x1bb7ba,_0x360fc3[_0x290e94(0x8a)](_0xee5529,_0x290e94(0x8d))),_0x584949=[..._0x2fac7b[_0x290e94(0xa6)](),..._0x410d34[_0x290e94(0xa6)]()];_0x584949[_0x290e94(0xf4)]();for(const _0x599396 of _0x584949)_0xa2a93b(_0x599396),_transformMarkersByDeletion(_0xee5529,_0x599396);}(_0x50bdc3[_0x1f709c(0xdd)],_0x51de64);}const _0x5ab847=_0x50bdc3[_0x1f709c(0xda)][_0x1f709c(0x9a)](_0x719699,{'showSuggestionHighlights':!0x0});return{'content':_0x438b93(_0x5ab847),'hasChanges':!0x0};}(_0x5a9a42,_0xb19e36,_0x3f62f1,_0x123f3a,_0x4c3e8f);return{'type':_0x869790[_0x20c9a2(0xc6)][0x0][_0x20c9a2(0xa9)],'index':_0x869790[_0x20c9a2(0x87)],'content':_0x14e6c8,'hasChanges':_0x53738d};});}function no(_0x1b7e01,_0x281dab){const _0x518c71=_0xa6fe;for(const [_0x265119,_0x469298]of _0x1b7e01[_0x518c71(0xc8)]){const _0x35d283=_0x118c4b[_0x518c71(0xe1)](_0x469298[_0x518c71(0xaa)](_0x281dab));_0x1b7e01[_0x518c71(0xc8)][_0x518c71(0xa0)](_0x265119,_0x35d283);}}export function getMinimalSelection(_0x3eaa75,_0x107937,_0x3f9d59){const _0x5c1ade=_0xa6fe,_0x2aa637=_0x3eaa75[_0x5c1ade(0xe8)][_0x5c1ade(0xa3)](_0x5c1ade(0x94));let _0x1254fe=_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0x8a)](_0x3f9d59,Number[_0x5c1ade(0xc4)]),_0x2c2f5=_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0x8a)](_0x3f9d59,0x0);for(const _0x4319f9 of _0x107937){let _0x1f02f7,_0x1096c7;if(_0x2aa637[_0x5c1ade(0xa4)](_0x4319f9))_0x1f02f7=_0x4319f9[_0x5c1ade(0x95)][_0x5c1ade(0xe5)],_0x1096c7=_0x4319f9[_0x5c1ade(0x95)][_0x5c1ade(0x8d)];else switch(_0x1254fe=_0x1254fe[_0x5c1ade(0xaa)](_0x4319f9),_0x2c2f5=_0x2c2f5[_0x5c1ade(0xaa)](_0x4319f9),_0x4319f9[_0x5c1ade(0xa9)]){case _0x5c1ade(0xe6):_0x1f02f7=_0x4319f9[_0x5c1ade(0xc9)],_0x1096c7=_0x1f02f7[_0x5c1ade(0xcb)](0x1);break;case _0x5c1ade(0xad):case _0x5c1ade(0xd9):case _0x5c1ade(0xed):_0x1f02f7=_0x4319f9[_0x5c1ade(0xe4)][_0x5c1ade(0xe5)],_0x1096c7=_0x4319f9[_0x5c1ade(0xe4)][_0x5c1ade(0x8d)];break;case _0x5c1ade(0x90):_0x1f02f7=_0x4319f9[_0x5c1ade(0xc9)],_0x1096c7=_0x1f02f7[_0x5c1ade(0xcb)](_0x4319f9[_0x5c1ade(0xdf)]);break;case _0x5c1ade(0xb1):_0x1f02f7=_0x4319f9[_0x5c1ade(0xd6)],_0x1096c7=_0x4319f9[_0x5c1ade(0xd3)];break;case _0x5c1ade(0xcf):{const _0x2c07cd=_0x4319f9[_0x5c1ade(0xb2)][_0x5c1ade(0xe0)][_0x5c1ade(0xf0)](0x0,-0x1);_0x1f02f7=_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0xde)](_0x3f9d59,_0x2c07cd),_0x1096c7=_0x1f02f7[_0x5c1ade(0xcb)](0x1);break;}case _0x5c1ade(0xb0):{const _0x3ecdb8=_0x4319f9[_0x5c1ade(0xdf)],_0x2c858c=_0x4319f9[_0x5c1ade(0xc1)][_0x5c1ade(0xef)](_0x4319f9[_0x5c1ade(0xb2)],_0x3ecdb8),_0x725ceb=_0x4319f9[_0x5c1ade(0x96)]();_0x5c1ade(0xb0)==_0x4319f9[_0x5c1ade(0xa9)]?(_0x1f02f7=_0x2c858c,_0x1096c7=_0x2c858c):(_0x1f02f7=_0x725ceb,_0x1096c7=_0x725ceb[_0x5c1ade(0xcb)](_0x3ecdb8));break;}}_0x1f02f7&&_0x1f02f7[_0x5c1ade(0xd7)](_0x1254fe)&&(_0x1254fe=_0x1f02f7[_0x5c1ade(0xa5)](),_0x1254fe[_0x5c1ade(0xd4)]=_0x5c1ade(0xac)),_0x1096c7&&_0x1096c7[_0x5c1ade(0xd2)](_0x2c2f5)&&(_0x2c2f5=_0x1096c7[_0x5c1ade(0xa5)](),_0x2c2f5[_0x5c1ade(0xd4)]=_0x5c1ade(0xac));}return _0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0xf9)](_0x3eaa75[_0x5c1ade(0xdd)][_0x5c1ade(0xca)](_0x1254fe,_0x2c2f5));}export function expandSelectionWithContext(_0x3ad3cb,_0x4a05c1){const _0x154d09=_0xa6fe;ro(_0x3ad3cb,_0x4a05c1,_0x154d09(0x8e));const _0x3d35d8=_0x4a05c1[_0x154d09(0xd1)]();_0x4a05c1[_0x154d09(0x9e)]([]),_0x4a05c1[_0x154d09(0x9e)](_0x3d35d8,{'backward':!0x0}),ro(_0x3ad3cb,_0x4a05c1,_0x154d09(0xdb));}function ro(_0x11f8bd,_0x91c0a4,_0x1324cb){const _0x350a29=_0xa6fe;let _0x3551aa=0x14;for(;_0x3551aa;){_0x11f8bd[_0x350a29(0xc3)](_0x91c0a4,{'unit':_0x350a29(0xb7),'direction':_0x1324cb}),_0x3551aa--;const _0x1dddc0=_0x91c0a4[_0x350a29(0xf8)][_0x350a29(0x8e)==_0x1324cb?_0x350a29(0xf5):_0x350a29(0xab)];if(_0x1dddc0&&_0x1dddc0['is'](_0x350a29(0xb4))&&_0x11f8bd[_0x350a29(0xbd)][_0x350a29(0x89)](_0x1dddc0)&&_0x11f8bd[_0x350a29(0xbd)][_0x350a29(0xf7)](_0x1dddc0))break;}}function _0xa6fe(_0x4330ca,_0x1dc7ea){const _0xdbfe60=_0xdbfe();return _0xa6fe=function(_0xa6fe43,_0xca8e4a){_0xa6fe43=_0xa6fe43-0x85;let _0xcb4757=_0xdbfe60[_0xa6fe43];return _0xcb4757;},_0xa6fe(_0x4330ca,_0x1dc7ea);}export function _transformMarkersByDeletion(_0x3df5c0,_0x3bf35e){const _0x1d0691=_0xa6fe;for(const [_0x440e97,_0x37cd52]of _0x3df5c0[_0x1d0691(0xc8)]){const _0x13f86e=_0x37cd52[_0x1d0691(0xd8)](_0x3bf35e[_0x1d0691(0xe5)],_0x3bf35e[_0x1d0691(0x8d)][_0x1d0691(0xe3)]-_0x3bf35e[_0x1d0691(0xe5)][_0x1d0691(0xe3)]);null!=_0x13f86e?_0x3df5c0[_0x1d0691(0xc8)][_0x1d0691(0xa0)](_0x440e97,_0x13f86e):_0x3df5c0[_0x1d0691(0xc8)][_0x1d0691(0x8b)](_0x440e97);}}
|
|
23
|
+
(function(_0x2f3458,_0x28af91){const _0x24685e=_0x1345,_0x5d190b=_0x2f3458();while(!![]){try{const _0x1c6695=parseInt(_0x24685e(0x221))/0x1+-parseInt(_0x24685e(0x206))/0x2*(-parseInt(_0x24685e(0x1b7))/0x3)+parseInt(_0x24685e(0x1ed))/0x4*(-parseInt(_0x24685e(0x1f7))/0x5)+parseInt(_0x24685e(0x1c3))/0x6*(parseInt(_0x24685e(0x222))/0x7)+parseInt(_0x24685e(0x1b8))/0x8+parseInt(_0x24685e(0x1ea))/0x9*(parseInt(_0x24685e(0x1fc))/0xa)+-parseInt(_0x24685e(0x216))/0xb*(parseInt(_0x24685e(0x1f9))/0xc);if(_0x1c6695===_0x28af91)break;else _0x5d190b['push'](_0x5d190b['shift']());}catch(_0x49eb22){_0x5d190b['push'](_0x5d190b['shift']());}}}(_0xe0a4,0x63cde));import{findOne as _0xb25ee4,getAttribute as _0x1d6fb3,Document as _0x2aee22,serialize as _0x2090cf,parse as _0x25f622}from'./htmlparser.js';import{fixElementSuggestionRange as _0x17bfdd}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x1d1488,_DetachOperation as _0x47ed6c,_removeFromModelNodeList as _0x577f8f,_insertIntoModelNodeList as _0x2dee39}from'ckeditor5/src/engine.js';import{uid as _0x4da0e9}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x2866ff,changeGroups:_0x1c1aa7,documentContextContent:_0xe742e0,showDiff:_0x91ffc2,trimUnchanged:_0x142791=!0x0}){const _0x1bb257=_0x1345;return _0x1c1aa7[_0x1bb257(0x1c9)](_0x20a866=>{const _0x59bc51=_0x1bb257,_0x4699c9=new _0x2aee22([]),_0x1461f1=new _0x2aee22([]);for(const _0x42158c of _0x20a866[_0x59bc51(0x1d1)])if(_0x91ffc2&&_0x59bc51(0x203)==_0x42158c[_0x59bc51(0x1e2)]||_0x1461f1[_0x59bc51(0x218)][_0x59bc51(0x204)](_0x42158c[_0x59bc51(0x1dc)][_0x59bc51(0x1c7)](!0x0)),_0x59bc51(0x213)!=_0x42158c[_0x59bc51(0x1e2)]&&(_0x91ffc2||_0x59bc51(0x203)!=_0x42158c[_0x59bc51(0x1e2)])){const _0x5ecbc3=_0xb25ee4(_0x56c5f5=>_0x1d6fb3(_0x56c5f5,_0x59bc51(0x1e6))==_0x42158c['id'],_0xe742e0,!0x0);_0x5ecbc3&&_0x4699c9[_0x59bc51(0x218)][_0x59bc51(0x204)](_0x5ecbc3[_0x59bc51(0x1c7)](!0x0));}const {content:_0x4f99fc,hasChanges:_0x3cfb17}=function(_0x2471b8,_0x1cc8fe,_0x185c02,_0x5df2fa,_0x1c711c=!0x0){const _0x54802a=_0x59bc51,_0x535471=_0x2471b8[_0x54802a(0x223)][_0x54802a(0x1c0)](_0x54802a(0x1ef)),_0x424923=_0x2090cf(_0x1cc8fe),_0x3bb15a=_0x2090cf(_0x185c02),_0x1ec026=_0x2471b8[_0x54802a(0x1f6)][_0x54802a(0x219)](_0x424923,_0x54802a(0x21f)),_0x5659af=_0x2471b8[_0x54802a(0x1d4)][_0x54802a(0x201)](_0x1ec026,0x0),_0x3c1d4e=_0x535471[_0x54802a(0x1fa)](_0x424923,_0x3bb15a,{'anchor':_0x5659af,'markDeletions':_0x5df2fa}),_0x1b13e3=_0x3c1d4e[_0x54802a(0x1e5)]();if(0x0==_0x1b13e3[_0x54802a(0x1d5)])return{'content':_0x1cc8fe[_0x54802a(0x1c7)](!0x0),'hasChanges':!0x1};_0x5df2fa?function(_0x5574d9,_0x552126,_0x1241f0){const _0x203627=_0x54802a;if(0x0==_0x5574d9[_0x203627(0x1d5)])return;const _0x448ece=_0x1241f0[_0x203627(0x223)][_0x203627(0x1c0)](_0x203627(0x1ef)),_0x405317=_0x1241f0[_0x203627(0x223)][_0x203627(0x1c0)](_0x203627(0x1e3));_0x1241f0[_0x203627(0x1d4)][_0x203627(0x20c)](_0x5a87bf=>{const _0x24156a=_0x203627,_0x7458c0=new Set();for(let _0xbf04ed=0x0;_0xbf04ed<_0x5574d9[_0x24156a(0x1d5)];_0xbf04ed++){const _0x474818=_0x5574d9[_0xbf04ed];if(_0x474818[_0x24156a(0x20b)]=null,_0x474818[_0x24156a(0x1da)]=!0x1,_0x448ece[_0x24156a(0x20a)](_0x474818)){const _0x5183c3=_0x17bfdd(_0x474818[_0x24156a(0x1c1)],_0x1241f0[_0x24156a(0x1d4)]),_0x26fc2a=_0x24156a(0x1f4)+_0x4da0e9()+_0x24156a(0x200);_0x552126[_0x24156a(0x1db)][_0x24156a(0x1ee)](_0x26fc2a,_0x5183c3);}else switch(_0x474818[_0x24156a(0x1e2)]){case _0x24156a(0x22b):{if(_0x474818[_0x24156a(0x1bf)]==_0x474818[_0x24156a(0x1bb)])break;_0x5a87bf[_0x24156a(0x1bd)][_0x24156a(0x1cf)](_0x474818),_0x1241f0[_0x24156a(0x1d4)][_0x24156a(0x20f)](_0x474818);const _0x504c06=_0x24156a(0x1cc),_0x9fba81=_0x474818[_0x24156a(0x1fd)],_0x25cd8d=_0x1241f0[_0x24156a(0x1d4)][_0x24156a(0x1c6)](_0x9fba81,_0x1241f0[_0x24156a(0x1d4)][_0x24156a(0x201)](_0x9fba81[_0x24156a(0x1cb)],_0x24156a(0x1ba))),_0x1d3488=_0x24156a(0x21c)+_0x504c06+':'+_0x4da0e9()+_0x24156a(0x200);_0x552126[_0x24156a(0x1db)][_0x24156a(0x1ee)](_0x1d3488,_0x25cd8d);break;}case _0x24156a(0x215):case _0x24156a(0x1fe):case _0x24156a(0x1c8):{if(_0x474818[_0x24156a(0x1e1)]==_0x474818[_0x24156a(0x205)])break;_0x5a87bf[_0x24156a(0x1bd)][_0x24156a(0x1cf)](_0x474818),_0x1241f0[_0x24156a(0x1d4)][_0x24156a(0x20f)](_0x474818);const _0x1645eb=_0x474818[_0x24156a(0x1e8)];if(!_0x405317[_0x24156a(0x1f8)](_0x1645eb))break;const _0x3c4764=_0x17bfdd(_0x474818[_0x24156a(0x1eb)],_0x1241f0[_0x24156a(0x1d4)]),_0x489e2d=_0x24156a(0x21c)+_0x1645eb+':'+_0x4da0e9()+_0x24156a(0x200);_0x552126[_0x24156a(0x1db)][_0x24156a(0x1ee)](_0x489e2d,_0x3c4764);break;}case _0x24156a(0x229):{_0x5a87bf[_0x24156a(0x1bd)][_0x24156a(0x1cf)](_0x474818),_0x1241f0[_0x24156a(0x1d4)][_0x24156a(0x20f)](_0x474818);if(_0x5574d9[_0xbf04ed+0x1]&&_0x24156a(0x22a)==_0x5574d9[_0xbf04ed+0x1][_0x24156a(0x1e2)]){no(_0x552126,_0x474818);break;}const _0xa50cad=_0x474818[_0x24156a(0x1fd)],_0x4505e3=_0x474818[_0x24156a(0x1c5)],_0x29b0b4=_0x17bfdd(_0x1241f0[_0x24156a(0x1d4)][_0x24156a(0x1c6)](_0xa50cad,_0xa50cad[_0x24156a(0x1bc)](_0x4505e3)),_0x1241f0[_0x24156a(0x1d4)]),_0x4edfbc=_0x24156a(0x225)+_0x4da0e9()+_0x24156a(0x200);_0x552126[_0x24156a(0x1db)][_0x24156a(0x1ee)](_0x4edfbc,_0x29b0b4);break;}case _0x24156a(0x1c2):{_0x5a87bf[_0x24156a(0x1bd)][_0x24156a(0x1cf)](_0x474818),_0x1241f0[_0x24156a(0x1d4)][_0x24156a(0x20f)](_0x474818);const _0x5cad2a=_0x474818[_0x24156a(0x1e7)],_0x136e33=_0x474818[_0x24156a(0x1d7)],_0x39a783=_0x1241f0[_0x24156a(0x1d4)][_0x24156a(0x1c6)](_0x5cad2a,_0x136e33),_0x431e14=_0x24156a(0x225)+_0x4da0e9()+_0x24156a(0x200);_0x552126[_0x24156a(0x1db)][_0x24156a(0x1ee)](_0x431e14,_0x39a783);break;}case _0x24156a(0x22a):{_0x5a87bf[_0x24156a(0x1bd)][_0x24156a(0x1cf)](_0x474818),_0x1241f0[_0x24156a(0x1d4)][_0x24156a(0x20f)](_0x474818),_0x5574d9[_0xbf04ed-0x1]&&_0x24156a(0x229)==_0x5574d9[_0xbf04ed-0x1][_0x24156a(0x1e2)]&&no(_0x552126,_0x474818);const _0x3f8fb6=_0x474818[_0x24156a(0x228)](),_0x5cfd1d=_0x474818[_0x24156a(0x1c5)];for(let _0x5bbbb6=0x0;_0x5bbbb6<_0x5cfd1d;_0x5bbbb6++){const _0x1b7c95=_0x3f8fb6[_0x24156a(0x1bc)](_0x5bbbb6)[_0x24156a(0x1cb)];_0x7458c0[_0x24156a(0x220)](_0x1b7c95);}break;}case _0x24156a(0x20d):{const _0x19ae87=_0x474818[_0x24156a(0x1f1)],_0x2d88d0=_0x474818[_0x24156a(0x1c5)],_0xb4de79=new _0x47ed6c(_0x19ae87,_0x2d88d0);_0x5a87bf[_0x24156a(0x1bd)][_0x24156a(0x1cf)](_0xb4de79),_0x1241f0[_0x24156a(0x1d4)][_0x24156a(0x20f)](_0xb4de79);break;}}}for(const _0x4722ea of _0x7458c0){const _0x2581b0=_0x1241f0[_0x24156a(0x1d4)][_0x24156a(0x1c4)](_0x4722ea),_0x1c82a0=_0x24156a(0x1ff)+_0x4da0e9()+_0x24156a(0x200);_0x552126[_0x24156a(0x1db)][_0x24156a(0x1ee)](_0x1c82a0,_0x17bfdd(_0x2581b0,_0x1241f0[_0x24156a(0x1d4)]));}});}(_0x1b13e3,_0x1ec026,_0x2471b8):_0x2471b8[_0x54802a(0x1d4)][_0x54802a(0x20c)](_0x3b8cac=>{const _0x23e3a8=_0x54802a;for(const _0x5dede5 of _0x1b13e3)if(_0x23e3a8(0x20d)==_0x5dede5[_0x23e3a8(0x1e2)]){const _0x2b6f84=_0x5dede5[_0x23e3a8(0x1f1)],_0x2a865a=_0x5dede5[_0x23e3a8(0x1c5)],_0x45bba9=new _0x47ed6c(_0x2b6f84,_0x2a865a);_0x3b8cac[_0x23e3a8(0x1bd)][_0x23e3a8(0x1cf)](_0x45bba9),_0x2471b8[_0x23e3a8(0x1d4)][_0x23e3a8(0x20f)](_0x45bba9);}else{if(_0x23e3a8(0x21e)==_0x5dede5[_0x23e3a8(0x1e2)]){const _0x30f766=_0x5dede5[_0x23e3a8(0x226)],_0x1565f7=_0x5dede5[_0x23e3a8(0x1c1)];null!==_0x1565f7?_0x1ec026[_0x23e3a8(0x1db)][_0x23e3a8(0x1ee)](_0x30f766,_0x1565f7):_0x1ec026[_0x23e3a8(0x1db)][_0x23e3a8(0x1d6)](_0x30f766);}else _0x5dede5[_0x23e3a8(0x20b)]=null,_0x5dede5[_0x23e3a8(0x1da)]=!0x1,_0x3b8cac[_0x23e3a8(0x1bd)][_0x23e3a8(0x1cf)](_0x5dede5),_0x2471b8[_0x23e3a8(0x1d4)][_0x23e3a8(0x20f)](_0x5dede5);}});if(_0x1c711c){const _0x4620cd=getMinimalSelection(_0x2471b8,_0x1b13e3,_0x1ec026);expandSelectionWithContext(_0x2471b8[_0x54802a(0x1d4)],_0x4620cd),function(_0x1de00c,_0x1cdd41){const _0xa602cf=_0x54802a,_0x5df1ee=_0x1cdd41[_0xa602cf(0x209)]()[_0xa602cf(0x1e4)];let _0x5a3c85=_0x1cdd41[_0xa602cf(0x209)]()[_0xa602cf(0x1ba)];const _0x1585ea=_0x5df1ee[_0xa602cf(0x22c)];(_0x5a3c85[_0xa602cf(0x210)]||_0x5a3c85[_0xa602cf(0x1cb)]&&_0x5a3c85[_0xa602cf(0x1cb)]['is'](_0xa602cf(0x1f0)))&&(_0x2dee39(_0x5a3c85,_0xa602cf(0x1df)),_0x5a3c85=_0x5a3c85[_0xa602cf(0x1bc)](0x3)),(_0x5df1ee[_0xa602cf(0x210)]||_0x5df1ee[_0xa602cf(0x1b9)]&&_0x5df1ee[_0xa602cf(0x1b9)]['is'](_0xa602cf(0x1f0)))&&(_0x2dee39(_0x5df1ee,_0xa602cf(0x1df)),function(_0x106b5c,_0xd13457,_0x585482){const _0x3e4e70=_0xa602cf;for(let [_0x292a5f,_0x7552fe]of _0x106b5c[_0x3e4e70(0x1db)]){const _0x577a69=_0x7552fe[_0x3e4e70(0x1d3)](_0xd13457,_0x585482,!0x1);_0x7552fe=_0x577a69[0x0],_0x106b5c[_0x3e4e70(0x1db)][_0x3e4e70(0x1ee)](_0x292a5f,_0x7552fe);}}(_0x1585ea,_0x5df1ee,0x3),_0x5df1ee[_0xa602cf(0x1dd)]==_0x5a3c85[_0xa602cf(0x1dd)]&&(_0x5a3c85=_0x5a3c85[_0xa602cf(0x1bc)](0x3)));const _0x5e5c95=_0x1de00c[_0xa602cf(0x1c6)](_0x1de00c[_0xa602cf(0x201)](_0x1585ea,0x0),_0x5df1ee),_0x4fd3a8=_0x1de00c[_0xa602cf(0x1c6)](_0x5a3c85,_0x1de00c[_0xa602cf(0x201)](_0x1585ea,_0xa602cf(0x1ba))),_0x291ade=[..._0x5e5c95[_0xa602cf(0x1f2)](),..._0x4fd3a8[_0xa602cf(0x1f2)]()];_0x291ade[_0xa602cf(0x211)]();for(const _0x2ecd2a of _0x291ade)_0x577f8f(_0x2ecd2a),_transformMarkersByDeletion(_0x1585ea,_0x2ecd2a);}(_0x2471b8[_0x54802a(0x1d4)],_0x4620cd);}const _0x4fd646=_0x2471b8[_0x54802a(0x1f6)][_0x54802a(0x1d2)](_0x1ec026,{'showSuggestionHighlights':!0x0});return{'content':_0x25f622(_0x4fd646),'hasChanges':!0x0};}(_0x2866ff,_0x4699c9,_0x1461f1,_0x91ffc2,_0x142791);return{'type':_0x20a866[_0x59bc51(0x1d1)][0x0][_0x59bc51(0x1e2)],'index':_0x20a866[_0x59bc51(0x227)],'content':_0x4f99fc,'hasChanges':_0x3cfb17};});}function _0x1345(_0x43d660,_0x23b986){const _0xe0a423=_0xe0a4();return _0x1345=function(_0x13459b,_0x4c1cf4){_0x13459b=_0x13459b-0x1b7;let _0x110f1f=_0xe0a423[_0x13459b];return _0x110f1f;},_0x1345(_0x43d660,_0x23b986);}function _0xe0a4(){const _0x3d90fa=['merge','changes','stringify','_getTransformedByInsertion','model','length','delete','moveTargetPosition','path','_getTransformedByDeletion','isDocumentOperation','markers','node','parent','isBlock','...','targetPosition','oldValue','type','SuggestionsConversion','start','getOperations','data-id','splitPosition','key','offset','117VRVEHM','range','toNone','92nNOPWH','set','DocumentCompare','$text','sourcePosition','getMinimalFlatRanges','backward','suggestion:deletion:','_createFromRanges','data','116300RIySBz','isRegisteredAttribute','5602452lqFwQX','getDiff','forward','538870OTsYDM','position','removeAttribute','suggestion:formatBlock:$fakeWrap:',':$aiSuggestion','createPositionAt','element','removed','push','newValue','2294IqswWl','schema','POSITIVE_INFINITY','getFirstRange','isMarkedRemoveOperation','baseVersion','change','remove','getTransformedByOperation','applyOperation','textNode','reverse','isBefore','new','createSelection','addAttribute','22FpFBMO','word','children','parse','stickiness','isAfter','suggestion:attribute:','clone','marker','$root','add','27515HBQbLJ','133EmiCXm','plugins','focus','suggestion:insertion:','name','index','getMovedRangeStart','insert','move','rename','root','isObject','1689gfwbNf','707288CpHxzs','nodeBefore','end','newName','getShiftedBy','batch','setTo','oldName','get','newRange','split','131148yQbfeU','createRangeOn','howMany','createRange','cloneNode','changeAttribute','map','createPositionFromPath','nodeAfter','$elementName','slice','modifySelection','addOperation'];_0xe0a4=function(){return _0x3d90fa;};return _0xe0a4();}function no(_0x428e74,_0x5725da){const _0x60f115=_0x1345;for(const [_0x3d26d6,_0x5279b1]of _0x428e74[_0x60f115(0x1db)]){const _0x4ffe99=_0x1d1488[_0x60f115(0x1f5)](_0x5279b1[_0x60f115(0x20e)](_0x5725da));_0x428e74[_0x60f115(0x1db)][_0x60f115(0x1ee)](_0x3d26d6,_0x4ffe99);}}export function getMinimalSelection(_0xac5b5d,_0x585b42,_0x2afb4a){const _0x57f429=_0x1345,_0x10acac=_0xac5b5d[_0x57f429(0x223)][_0x57f429(0x1c0)](_0x57f429(0x1ef));let _0x3281ec=_0xac5b5d[_0x57f429(0x1d4)][_0x57f429(0x201)](_0x2afb4a,Number[_0x57f429(0x208)]),_0x5a3583=_0xac5b5d[_0x57f429(0x1d4)][_0x57f429(0x201)](_0x2afb4a,0x0);for(const _0x3a772b of _0x585b42){let _0x5dd6ab,_0x211053;if(_0x10acac[_0x57f429(0x20a)](_0x3a772b))_0x5dd6ab=_0x3a772b[_0x57f429(0x1c1)][_0x57f429(0x1e4)],_0x211053=_0x3a772b[_0x57f429(0x1c1)][_0x57f429(0x1ba)];else switch(_0x3281ec=_0x3281ec[_0x57f429(0x20e)](_0x3a772b),_0x5a3583=_0x5a3583[_0x57f429(0x20e)](_0x3a772b),_0x3a772b[_0x57f429(0x1e2)]){case _0x57f429(0x22b):_0x5dd6ab=_0x3a772b[_0x57f429(0x1fd)],_0x211053=_0x5dd6ab[_0x57f429(0x1bc)](0x1);break;case _0x57f429(0x215):case _0x57f429(0x1fe):case _0x57f429(0x1c8):_0x5dd6ab=_0x3a772b[_0x57f429(0x1eb)][_0x57f429(0x1e4)],_0x211053=_0x3a772b[_0x57f429(0x1eb)][_0x57f429(0x1ba)];break;case _0x57f429(0x229):_0x5dd6ab=_0x3a772b[_0x57f429(0x1fd)],_0x211053=_0x5dd6ab[_0x57f429(0x1bc)](_0x3a772b[_0x57f429(0x1c5)]);break;case _0x57f429(0x1c2):_0x5dd6ab=_0x3a772b[_0x57f429(0x1e7)],_0x211053=_0x3a772b[_0x57f429(0x1d7)];break;case _0x57f429(0x1d0):{const _0x3477df=_0x3a772b[_0x57f429(0x1e0)][_0x57f429(0x1d8)][_0x57f429(0x1cd)](0x0,-0x1);_0x5dd6ab=_0xac5b5d[_0x57f429(0x1d4)][_0x57f429(0x1ca)](_0x2afb4a,_0x3477df),_0x211053=_0x5dd6ab[_0x57f429(0x1bc)](0x1);break;}case _0x57f429(0x20d):{const _0x54793e=_0x3a772b[_0x57f429(0x1c5)],_0x36ede7=_0x3a772b[_0x57f429(0x1f1)][_0x57f429(0x1d3)](_0x3a772b[_0x57f429(0x1e0)],_0x54793e),_0xa171da=_0x3a772b[_0x57f429(0x228)]();_0x57f429(0x20d)==_0x3a772b[_0x57f429(0x1e2)]?(_0x5dd6ab=_0x36ede7,_0x211053=_0x36ede7):(_0x5dd6ab=_0xa171da,_0x211053=_0xa171da[_0x57f429(0x1bc)](_0x54793e));break;}}_0x5dd6ab&&_0x5dd6ab[_0x57f429(0x212)](_0x3281ec)&&(_0x3281ec=_0x5dd6ab[_0x57f429(0x21d)](),_0x3281ec[_0x57f429(0x21a)]=_0x57f429(0x1ec)),_0x211053&&_0x211053[_0x57f429(0x21b)](_0x5a3583)&&(_0x5a3583=_0x211053[_0x57f429(0x21d)](),_0x5a3583[_0x57f429(0x21a)]=_0x57f429(0x1ec));}return _0xac5b5d[_0x57f429(0x1d4)][_0x57f429(0x214)](_0xac5b5d[_0x57f429(0x1d4)][_0x57f429(0x1c6)](_0x3281ec,_0x5a3583));}export function expandSelectionWithContext(_0x30aa66,_0x583cea){const _0x3c33f5=_0x1345;ro(_0x30aa66,_0x583cea,_0x3c33f5(0x1fb));const _0x3804e6=_0x583cea[_0x3c33f5(0x209)]();_0x583cea[_0x3c33f5(0x1be)]([]),_0x583cea[_0x3c33f5(0x1be)](_0x3804e6,{'backward':!0x0}),ro(_0x30aa66,_0x583cea,_0x3c33f5(0x1f3));}function ro(_0xb087f,_0x35baf6,_0x16d69d){const _0x5931d4=_0x1345;let _0x3f5d1c=0x14;for(;_0x3f5d1c;){_0xb087f[_0x5931d4(0x1ce)](_0x35baf6,{'unit':_0x5931d4(0x217),'direction':_0x16d69d}),_0x3f5d1c--;const _0x4f8f38=_0x35baf6[_0x5931d4(0x224)][_0x5931d4(0x1fb)==_0x16d69d?_0x5931d4(0x1b9):_0x5931d4(0x1cb)];if(_0x4f8f38&&_0x4f8f38['is'](_0x5931d4(0x202))&&_0xb087f[_0x5931d4(0x207)][_0x5931d4(0x1de)](_0x4f8f38)&&_0xb087f[_0x5931d4(0x207)][_0x5931d4(0x22d)](_0x4f8f38))break;}}export function _transformMarkersByDeletion(_0x20090e,_0x173a5f){const _0x100fc4=_0x1345;for(const [_0x4e1dbe,_0x2fe8fb]of _0x20090e[_0x100fc4(0x1db)]){const _0x4a5937=_0x2fe8fb[_0x100fc4(0x1d9)](_0x173a5f[_0x100fc4(0x1e4)],_0x173a5f[_0x100fc4(0x1ba)][_0x100fc4(0x1e9)]-_0x173a5f[_0x100fc4(0x1e4)][_0x100fc4(0x1e9)]);null!=_0x4a5937?_0x20090e[_0x100fc4(0x1db)][_0x100fc4(0x1ee)](_0x4e1dbe,_0x4a5937):_0x20090e[_0x100fc4(0x1db)][_0x100fc4(0x1d6)](_0x4e1dbe);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x571d62,_0x316af1){const _0x3c43ad=_0x31c5,_0x237905=_0x571d62();while(!![]){try{const _0x191b5f=parseInt(_0x3c43ad(0xba))/0x1*(-parseInt(_0x3c43ad(0xae))/0x2)+-parseInt(_0x3c43ad(0xb3))/0x3*(parseInt(_0x3c43ad(0xb5))/0x4)+-parseInt(_0x3c43ad(0xa8))/0x5+parseInt(_0x3c43ad(0xb7))/0x6+parseInt(_0x3c43ad(0xac))/0x7+parseInt(_0x3c43ad(0xb6))/0x8*(-parseInt(_0x3c43ad(0xbb))/0x9)+parseInt(_0x3c43ad(0xbd))/0xa;if(_0x191b5f===_0x316af1)break;else _0x237905['push'](_0x237905['shift']());}catch(_0x23ef92){_0x237905['push'](_0x237905['shift']());}}}(_0x3774,0x85819));import{parseDocument as _0x40297f}from'htmlparser2';import{append as _0x6868bc,appendChild as _0x40cc54,find as _0x4b4af6,findAll as _0x243528,findOne as _0x34322d,getChildren as _0x1a5641,isComment as _0x225ff0,isTag as _0x4110d1,prepend as _0x3c0239,prependChild as _0x5a4ff5,removeElement as _0x2201da,replaceElement as _0x4ce466,textContent as _0x15f961,getParent as _0xb8751c,hasChildren as _0x2e7a17}from'domutils';import _0x138baf from'dom-serializer';import{cloneNode as _0x4c3336,isDocument as _0x2498d2,isText as _0x5d17ea,Element as _0x5e4abf,Text as _0x24824d,Document as _0x1fafc0,NodeWithChildren as _0x662689}from'domhandler';export{_0x4c3336 as cloneNode,_0x4b4af6 as find,_0x34322d as findOne,_0x243528 as findAll,_0x1a5641 as getChildren,_0xb8751c as getParent,_0x225ff0 as isComment,_0x2498d2 as isDocument,_0x4110d1 as isTag,_0x5d17ea as isText,_0x6868bc as append,_0x40cc54 as appendChild,_0x3c0239 as prepend,_0x5a4ff5 as prependChild,_0x138baf as render,_0x2201da as removeElement,_0x4ce466 as replaceElement,_0x15f961 as textContent,_0x2e7a17 as hasChildren,_0x5e4abf as Element,_0x1fafc0 as Document,_0x662689 as NodeWithChildren,_0x24824d as Text};export function parse(_0x5de0bb){return _0x40297f(_0x5de0bb);}export function serialize(_0x2628f8){return _0x138baf(_0x2628f8);}export function findByAttribute(_0x41fed4,_0x37fa2b,_0x31616a){const _0x376b46=_0x31c5,_0x4efcbf=null!==_0x37fa2b?_0x3603f8=>_0x3603f8[_0x376b46(0xbf)][_0x41fed4]===_0x37fa2b:_0x163d9a=>Boolean(_0x163d9a[_0x376b46(0xbf)][_0x41fed4]);return _0x34322d(_0x25f51c=>_0x4110d1(_0x25f51c)&&_0x4efcbf(_0x25f51c),_0x31616a);}export function findAllByAttribute(_0x2b33de,_0x2a67f2,_0x5bc73c){const _0x527e62=_0x31c5,_0x3960f9=null!==_0x2a67f2?_0x31d34d=>_0x31d34d[_0x527e62(0xbf)][_0x2b33de]===_0x2a67f2:_0x50749a=>Boolean(_0x50749a[_0x527e62(0xbf)][_0x2b33de]);return _0x243528(_0x465a97=>_0x4110d1(_0x465a97)&&_0x3960f9(_0x465a97),_0x5bc73c);}function _0x31c5(_0x1f1e52,_0x12e8c4){const _0x37742e=_0x3774();return _0x31c5=function(_0x31c5a2,_0x179caa){_0x31c5a2=_0x31c5a2-0xa7;let _0x5e43c7=_0x37742e[_0x31c5a2];return _0x5e43c7;},_0x31c5(_0x1f1e52,_0x12e8c4);}export function findAllComments(_0x4f31e7){return _0x4b4af6(_0x17c4a5=>_0x225ff0(_0x17c4a5),_0x4f31e7,!0x0,0x1/0x0);}export function getAttribute(_0x49278f,_0x4bc0e1){const _0x139c8d=_0x31c5;return _0x49278f&&_0x4110d1(_0x49278f)?_0x49278f[_0x139c8d(0xbf)][_0x4bc0e1]:null;}function _0x3774(){const _0x3d0e97=['slice','64178ewHlfr','indexOf','afterend','nextSibling','beforebegin','611619TnjvLf','replace','16ixBJmF','24KKzntz','3137814TnMfGw','beforeend','afterbegin','17tiLEZy','1564785ddMHRK','map','22442810AqCUKr','parentNode','attribs','forEach','5036945gUTMdl','reverse','cloneNode','push','4687060AdGnsF'];_0x3774=function(){return _0x3d0e97;};return _0x3774();}export function setAttribute(_0x11bb12,_0x2c93cf,_0x19f44c){const _0x4262c6=_0x31c5;_0x4110d1(_0x11bb12)&&(null===_0x19f44c?delete _0x11bb12[_0x4262c6(0xbf)][_0x2c93cf]:_0x11bb12[_0x4262c6(0xbf)][_0x2c93cf]=_0x19f44c);}export function insertElement(_0x1f5e5b,_0x1e0cfc,_0xab2404){const _0x2c5eb2=_0x31c5,_0xd77c5d=_0x1e0cfc[_0x2c5eb2(0xaa)](!0x0);_0x2c5eb2(0xb2)===_0xab2404?_0x3c0239(_0x1f5e5b,_0xd77c5d):_0x2c5eb2(0xb9)===_0xab2404?_0x5a4ff5(_0x1f5e5b,_0xd77c5d):_0x2c5eb2(0xb8)===_0xab2404?_0x40cc54(_0x1f5e5b,_0xd77c5d):_0x2c5eb2(0xb0)===_0xab2404&&_0x6868bc(_0x1f5e5b,_0xd77c5d);}export function moveElement(_0x3bf80c,_0x3e6e58){_0x2201da(_0x3bf80c),_0x4ce466(_0x3e6e58,_0x3bf80c);}export function clone(_0x3eac70){const _0x2f7d4f=_0x31c5;return _0x3eac70[_0x2f7d4f(0xaa)](!0x0);}export function getParents(_0x25755d){const _0xcc3756=_0x31c5,_0x54fd69=[];let _0x5922d=_0x25755d;for(;_0x5922d;)_0x5922d=_0xb8751c(_0x5922d),_0x5922d&&_0x54fd69[_0xcc3756(0xab)](_0x5922d);return _0x54fd69;}export function normalizeHTML(_0x2a5fb7){const _0x373c07=_0x31c5;return _0x2a5fb7[_0x373c07(0xb4)](/^\s+/gm,'')[_0x373c07(0xb4)](/\s+$/gm,'')[_0x373c07(0xb4)](/\n*/g,'')[_0x373c07(0xb4)](/\s+/g,'\x20')[_0x373c07(0xb4)](/>\s*</g,'><');}export function areNodesSame(_0x1ce98c,_0x351193){return normalizeHTML(serialize(_0x1ce98c))===normalizeHTML(serialize(_0x351193));}export function getNodeNestingLevel(_0xde2119){const _0x306071=_0x31c5;let _0x472346=0x0;for(;_0xde2119[_0x306071(0xbe)];)_0xde2119=_0xde2119[_0x306071(0xbe)],_0x472346++;return _0x472346;}export function removeElementsAfter(_0x2f8581){const _0x576a43=_0x31c5,_0x2c8a19=[];let _0x3e839e=_0x2f8581[_0x576a43(0xb1)];for(;_0x3e839e;)_0x2c8a19[_0x576a43(0xab)](_0x3e839e),_0x3e839e=_0x3e839e[_0x576a43(0xb1)];_0x2c8a19[_0x576a43(0xa7)](_0x2b0335=>{_0x2201da(_0x2b0335);});}export function getNodePath(_0x4e4ea8){const _0xace848=_0x31c5;return[_0x4e4ea8,...getParents(_0x4e4ea8)][_0xace848(0xad)](0x0,-0x1)[_0xace848(0xbc)](_0x17b083=>{const _0x5dbd63=_0xace848,_0x528e42=_0xb8751c(_0x17b083);return _0x1a5641(_0x528e42)[_0x5dbd63(0xaf)](_0x17b083);})[_0xace848(0xa9)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1feebd=_0x5417;function _0x5787(){const _0x8bfdf4=['entries','children','cleanUpAnimations','bind','options','nodesList','mark','signal','stream','querySelectorAll','del','strong','document','63IiSzDN','2453BWPCUI','timeoutAbortController','getParsedDocumentNodeList','childNodes','shouldBeStreamed','from','130941mgqfsC','isWordSplitSource','ins','includes','297008BAYIPf','attribs','abort','parent','span','45039raQlhh','stop','7030BTwRgV','onStreamUpdate','join','renderNode','length','forEach','48JeFmEx','8484144FyUjDE','div','tagName','replaceWith','7920780lXOXdU','code','delay','sub','span[data-ck-html-streamer-word-chunk]','lastUpdateTime','now','addEventListener','14xECwAz','match','splitTextNodeIntoWordNodes','isWordSplitResult','isStreaming','sup','936765ZMSFUR','reverse','map','textNodeStyle','push','currentIndex','reset'];_0x5787=function(){return _0x8bfdf4;};return _0x5787();}(function(_0x21117f,_0x4266df){const _0x166210=_0x5417,_0xab6d1d=_0x21117f();while(!![]){try{const _0x54e3b8=parseInt(_0x166210(0x166))/0x1*(parseInt(_0x166210(0x145))/0x2)+-parseInt(_0x166210(0x16f))/0x3*(parseInt(_0x166210(0x177))/0x4)+parseInt(_0x166210(0x17c))/0x5+-parseInt(_0x166210(0x178))/0x6+-parseInt(_0x166210(0x15f))/0x7*(parseInt(_0x166210(0x16a))/0x8)+parseInt(_0x166210(0x14b))/0x9+-parseInt(_0x166210(0x171))/0xa*(-parseInt(_0x166210(0x160))/0xb);if(_0x54e3b8===_0x4266df)break;else _0xab6d1d['push'](_0xab6d1d['shift']());}catch(_0x256cfa){_0xab6d1d['push'](_0xab6d1d['shift']());}}}(_0x5787,0xcb703));import _0x3d5ae3 from'morphdom';import{NodeWithChildren as _0x3a77a6,Text as _0x31a4a,Element as _0x2b8628,isText as _0x485b6f,isDocument as _0x21a5e6,isTag as _0x200dba,cloneNode as _0x57a8cf,getChildren as _0x432ca2,prepend as _0x493450,removeElement as _0x4ee64c,textContent as _0x1a99af,render as _0x2a43ca}from'./htmlparser.js';export class HTMLStreamer{[_0x1feebd(0x156)];[_0x1feebd(0x149)]=!0x1;[_0x1feebd(0x15e)]=null;[_0x1feebd(0x157)]=[];[_0x1feebd(0x150)]=0x0;[_0x1feebd(0x161)]=null;[_0x1feebd(0x142)]=0x0;constructor(_0x343cb7){const _0x581c9a=_0x1feebd;this[_0x581c9a(0x156)]={'delay':_0x343cb7[_0x581c9a(0x17e)]??0x14,'textNodeStyle':_0x343cb7[_0x581c9a(0x14e)],'onStreamUpdate':_0x343cb7[_0x581c9a(0x172)]||(()=>{})};}async[_0x1feebd(0x15a)]({document:_0x2549cf,targetElement:_0x5acbaf,abortSignal:_0x97550d}){const _0x1e18c3=_0x1feebd;this[_0x1e18c3(0x149)]&&this[_0x1e18c3(0x170)](),_0x97550d?.[_0x1e18c3(0x144)](_0x1e18c3(0x16c),this[_0x1e18c3(0x170)][_0x1e18c3(0x155)](this)),this[_0x1e18c3(0x15e)]=_0x57a8cf(_0x2549cf,!0x0),this[_0x1e18c3(0x157)]=this[_0x1e18c3(0x162)](),this[_0x1e18c3(0x149)]=!0x0,this[_0x1e18c3(0x150)]>this[_0x1e18c3(0x157)][_0x1e18c3(0x175)]&&(this[_0x1e18c3(0x150)]=this[_0x1e18c3(0x157)][_0x1e18c3(0x175)]);for(let _0x4ab05e=0x0;_0x4ab05e<this[_0x1e18c3(0x150)];_0x4ab05e++)this[_0x1e18c3(0x157)][_0x4ab05e][_0x1e18c3(0x164)]=!0x0;do{const _0x55b343=Date[_0x1e18c3(0x143)](),_0x286b94=this[_0x1e18c3(0x157)][this[_0x1e18c3(0x150)]],_0x58016c=_0x55b343-this[_0x1e18c3(0x142)];if(_0x286b94){_0x286b94[_0x1e18c3(0x164)]=!0x0;let _0x4600dd=_0x286b94[_0x1e18c3(0x16d)];for(;_0x4600dd;)_0x4600dd[_0x1e18c3(0x164)]=!0x0,_0x4600dd=_0x4600dd[_0x1e18c3(0x16d)];}if(_0x58016c<this[_0x1e18c3(0x156)][_0x1e18c3(0x17e)])try{const {promise:_0x17ebac,abortController:_0x43379b}=Cs(this[_0x1e18c3(0x156)][_0x1e18c3(0x17e)]-_0x58016c);this[_0x1e18c3(0x161)]=_0x43379b,await _0x17ebac;}catch(_0x54d86c){return;}_0x3d5ae3(_0x5acbaf,'<'+_0x5acbaf[_0x1e18c3(0x17a)]+'>'+this[_0x1e18c3(0x174)](this[_0x1e18c3(0x15e)])+'</'+_0x5acbaf[_0x1e18c3(0x17a)]+'>',{'childrenOnly':!0x0}),this[_0x1e18c3(0x156)][_0x1e18c3(0x172)]&&this[_0x1e18c3(0x156)][_0x1e18c3(0x172)](),this[_0x1e18c3(0x150)]++,this[_0x1e18c3(0x142)]=Date[_0x1e18c3(0x143)]();}while(this[_0x1e18c3(0x150)]<this[_0x1e18c3(0x157)][_0x1e18c3(0x175)]);this[_0x1e18c3(0x150)]=this[_0x1e18c3(0x157)][_0x1e18c3(0x175)],this[_0x1e18c3(0x149)]=!0x1;}[_0x1feebd(0x151)](){const _0x553d1c=_0x1feebd;this[_0x553d1c(0x149)]=!0x1,this[_0x553d1c(0x15e)]=null,this[_0x553d1c(0x157)]=[],this[_0x553d1c(0x150)]=0x0,this[_0x553d1c(0x161)]=null;}[_0x1feebd(0x154)]({targetElement:_0xa2df37}){const _0x392f52=_0x1feebd;Array[_0x392f52(0x165)](_0xa2df37[_0x392f52(0x15b)](_0x392f52(0x180)))[_0x392f52(0x14c)]()[_0x392f52(0x176)](_0x1c1234=>{const _0x18a869=_0x392f52;_0x1c1234[_0x18a869(0x17b)](_0x1c1234[_0x18a869(0x163)][0x0]);});}[_0x1feebd(0x170)](){const _0x17509b=_0x1feebd;this[_0x17509b(0x149)]=!0x1,this[_0x17509b(0x161)]&&(this[_0x17509b(0x161)][_0x17509b(0x16c)](),this[_0x17509b(0x161)]=null);}[_0x1feebd(0x174)](_0x5970c0){const _0x27a12a=_0x1feebd;let _0x54e969='';if(function(_0x125639){return _0x21a5e6(_0x125639);}(_0x5970c0)){for(const _0x7a49fb of _0x5970c0[_0x27a12a(0x153)])_0x54e969+=this[_0x27a12a(0x174)](_0x7a49fb);}else{if(Ts(_0x5970c0)){if(!_0x5970c0[_0x27a12a(0x164)])return'';const _0x4a6abf=_0x5970c0,_0x24feb6=Object[_0x27a12a(0x152)](_0x4a6abf[_0x27a12a(0x16b)])[_0x27a12a(0x14d)](([_0x116828,_0x4b419b])=>_0x116828+'=\x22'+_0x4b419b+'\x22')[_0x27a12a(0x173)]('\x20');_0x54e969+='<'+_0x4a6abf[_0x27a12a(0x17a)]+(_0x24feb6?'\x20'+_0x24feb6:'')+'>';for(const _0x552f75 of _0x432ca2(_0x4a6abf))_0x54e969+=this[_0x27a12a(0x174)](_0x552f75);_0x54e969+='</'+_0x4a6abf[_0x27a12a(0x17a)]+'>';}else{if(!Ss(_0x5970c0))return'';if(!_0x5970c0[_0x27a12a(0x164)])return'';!function(_0x1894aa){const _0x4fd5d0=_0x27a12a;if(!_0x1894aa[_0x4fd5d0(0x16d)]||!Ts(_0x1894aa[_0x4fd5d0(0x16d)]))return!0x1;if(!ys[_0x4fd5d0(0x169)](_0x1894aa[_0x4fd5d0(0x16d)][_0x4fd5d0(0x17a)]))return!0x1;return!_0x1a99af(_0x1894aa)[_0x4fd5d0(0x146)](/^\s*[<>]\s*$/);}(_0x5970c0)?_0x54e969+=_0x2a43ca(_0x5970c0):_0x54e969+=_0x2a43ca(new _0x2b8628(_0x27a12a(0x16e),{'data-ck-html-streamer-word-chunk':'','style':this[_0x27a12a(0x156)][_0x27a12a(0x14e)]},[_0x5970c0]));}}return _0x54e969;}[_0x1feebd(0x162)](){const _0x10c8eb=_0x1feebd,_0x3386b5=[];return function(_0x964194,_0x5896b0){const _0x38198e=_0x5417,_0x477fdb=_0x1e7a6d=>{const _0xe93b1b=_0x5417;if(_0x5896b0(_0x1e7a6d),_0x1e7a6d instanceof _0x3a77a6)for(let _0x2b2d77=0x0;_0x2b2d77<_0x1e7a6d[_0xe93b1b(0x153)][_0xe93b1b(0x175)];_0x2b2d77++){const _0x20d220=_0x1e7a6d[_0xe93b1b(0x153)][_0x2b2d77];_0x477fdb(_0x20d220);}};for(let _0x4a289b=0x0;_0x4a289b<_0x964194[_0x38198e(0x153)][_0x38198e(0x175)];_0x4a289b++)_0x477fdb(_0x964194[_0x38198e(0x153)][_0x4a289b]);}(this[_0x10c8eb(0x15e)],_0x3821e7=>{const _0x3545cd=_0x10c8eb;if(Ss(_0x3821e7)){const _0x2ff3c5=this[_0x3545cd(0x147)](_0x3821e7);_0x2ff3c5[_0x3545cd(0x175)]&&_0x3386b5[_0x3545cd(0x14f)](..._0x2ff3c5);}_0x3821e7[_0x3545cd(0x167)]||_0x3821e7[_0x3545cd(0x148)]||_0x3386b5[_0x3545cd(0x14f)](_0x3821e7);}),_0x3386b5;}[_0x1feebd(0x147)](_0x48abd6){const _0x46cf7b=_0x1feebd;if(_0x48abd6[_0x46cf7b(0x167)]||_0x48abd6[_0x46cf7b(0x148)])return[];const _0x4c4fbc=_0x1a99af(_0x48abd6)[_0x46cf7b(0x146)](/(?:\s*\S+\s*)/g),_0x193a4c=[];if(_0x4c4fbc&&_0x4c4fbc[_0x46cf7b(0x175)]>0x1){for(const _0x70f73a of _0x4c4fbc){const _0x246669=new _0x31a4a(_0x70f73a);_0x246669[_0x46cf7b(0x148)]=!0x0,_0x493450(_0x48abd6,_0x246669),_0x193a4c[_0x46cf7b(0x14f)](_0x246669);}_0x48abd6[_0x46cf7b(0x167)]=!0x0,_0x4ee64c(_0x48abd6);}return _0x193a4c;}}const ys=['p','li','td','th',_0x1feebd(0x16e),'h1','h2','h3','h4','h5','h6','b',_0x1feebd(0x15d),'i','em',_0x1feebd(0x158),_0x1feebd(0x15c),_0x1feebd(0x168),_0x1feebd(0x14a),_0x1feebd(0x17f),'a',_0x1feebd(0x17d),_0x1feebd(0x179)];function _0x5417(_0x5d1824,_0x3a7253){const _0x578754=_0x5787();return _0x5417=function(_0x541721,_0x24ed05){_0x541721=_0x541721-0x142;let _0x21a706=_0x578754[_0x541721];return _0x21a706;},_0x5417(_0x5d1824,_0x3a7253);}function Ss(_0x5cc091){return _0x485b6f(_0x5cc091);}function Ts(_0x253489){return _0x200dba(_0x253489);}function Cs(_0x4527c2){const _0x419717=new AbortController();return{'promise':new Promise((_0x3ef91e,_0x2220bf)=>{const _0x4299e7=_0x5417,_0x591207=setTimeout(_0x3ef91e,_0x4527c2);_0x419717[_0x4299e7(0x159)][_0x4299e7(0x144)](_0x4299e7(0x16c),()=>{clearTimeout(_0x591207),_0x2220bf();});}),'abortController':_0x419717};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d13c3=_0x5779;(function(_0x3a6b2c,_0x381b7f){const _0x25acad=_0x5779,_0x17ecd7=_0x3a6b2c();while(!![]){try{const _0x3305b8=parseInt(_0x25acad(0x10a))/0x1*(-parseInt(_0x25acad(0x113))/0x2)+parseInt(_0x25acad(0x11d))/0x3*(parseInt(_0x25acad(0xf9))/0x4)+parseInt(_0x25acad(0x10f))/0x5+-parseInt(_0x25acad(0x10d))/0x6+-parseInt(_0x25acad(0x11e))/0x7+parseInt(_0x25acad(0xfd))/0x8*(-parseInt(_0x25acad(0xfe))/0x9)+parseInt(_0x25acad(0x103))/0xa*(parseInt(_0x25acad(0x104))/0xb);if(_0x3305b8===_0x381b7f)break;else _0x17ecd7['push'](_0x17ecd7['shift']());}catch(_0x5dbe6c){_0x17ecd7['push'](_0x17ecd7['shift']());}}}(_0x2074,0xd1e3a));const Fs=[_0x3d13c3(0x117),_0x3d13c3(0x120),_0x3d13c3(0x115),_0x3d13c3(0x121)],Us=[_0x3d13c3(0x110),_0x3d13c3(0x11b),_0x3d13c3(0x114),_0x3d13c3(0x108),_0x3d13c3(0x112),_0x3d13c3(0x116),'\x20'];export class ScrollManager{[_0x3d13c3(0x11a)];[_0x3d13c3(0x109)];[_0x3d13c3(0xf7)];[_0x3d13c3(0xf6)];[_0x3d13c3(0x100)];constructor(_0x456a90){const _0x5c3670=_0x3d13c3;this[_0x5c3670(0x11a)]=_0x456a90,this[_0x5c3670(0x109)]=null,this[_0x5c3670(0xf7)]=!0x1,this[_0x5c3670(0xf6)]=new AbortController(),this[_0x5c3670(0x100)]=!0x1;for(const _0x261398 of Fs){const _0x5d6338=_0x5c3670(0x121)!==_0x261398;this[_0x5c3670(0x11a)][_0x5c3670(0x111)](_0x261398,this[_0x5c3670(0xfb)][_0x5c3670(0x119)](this),{'passive':_0x5d6338,'signal':this[_0x5c3670(0xf6)][_0x5c3670(0x11c)]});}}[_0x3d13c3(0x101)](){const _0x5b9fab=_0x3d13c3;this[_0x5b9fab(0xf7)]||(this[_0x5b9fab(0xf7)]=!0x0,this[_0x5b9fab(0x100)]=!0x1,this[_0x5b9fab(0x109)]=requestAnimationFrame(this[_0x5b9fab(0xfc)][_0x5b9fab(0x119)](this)));}[_0x3d13c3(0xf8)](){requestAnimationFrame(()=>{const _0x9baa54=_0x5779;this[_0x9baa54(0x107)]();});}[_0x3d13c3(0xfa)](){const _0x5ab447=_0x3d13c3;this[_0x5ab447(0x107)](),this[_0x5ab447(0xf6)][_0x5ab447(0x10b)]();}[_0x3d13c3(0x107)](){const _0x563fbe=_0x3d13c3;null!==this[_0x563fbe(0x109)]&&(cancelAnimationFrame(this[_0x563fbe(0x109)]),this[_0x563fbe(0x109)]=null),this[_0x563fbe(0xf7)]&&(this[_0x563fbe(0xf7)]=!0x1),this[_0x563fbe(0x100)]=!0x1;}[_0x3d13c3(0xfb)](_0x1dff1b){const _0x4382e8=_0x3d13c3;if(this[_0x4382e8(0xf7)]){if(_0x4382e8(0x121)===_0x1dff1b[_0x4382e8(0xff)]){const _0x1a67bb=_0x1dff1b[_0x4382e8(0x118)];if(!Us[_0x4382e8(0x102)](_0x1a67bb))return;}_0x1dff1b instanceof WheelEvent?_0x1dff1b[_0x4382e8(0x10e)]<0x0?this[_0x4382e8(0x100)]=!0x0:this[_0x4382e8(0x100)]=!this[_0x4382e8(0x105)]():this[_0x4382e8(0x100)]=!0x0;}}[_0x3d13c3(0x105)](){const _0x46c9cf=_0x3d13c3,{scrollTop:_0x301a2b,scrollHeight:_0x5fa51c,clientHeight:_0x27aac2}=this[_0x46c9cf(0x11a)];return _0x5fa51c-_0x301a2b-_0x27aac2<=0x5;}[_0x3d13c3(0xfc)](){const _0x1405b9=_0x3d13c3;this[_0x1405b9(0xf7)]&&(this[_0x1405b9(0x100)]||this[_0x1405b9(0x11a)][_0x1405b9(0x106)]({'top':this[_0x1405b9(0x11a)][_0x1405b9(0x11f)],'behavior':_0x1405b9(0x10c)}),this[_0x1405b9(0x109)]=requestAnimationFrame(this[_0x1405b9(0xfc)][_0x1405b9(0x119)](this)));}}function _0x5779(_0x7a1eba,_0x33bcd8){const _0x207441=_0x2074();return _0x5779=function(_0x5779d2,_0x59e8c4){_0x5779d2=_0x5779d2-0xf6;let _0xabcf54=_0x207441[_0x5779d2];return _0xabcf54;},_0x5779(_0x7a1eba,_0x33bcd8);}function _0x2074(){const _0x214a0f=['scrollTo','_stop','PageDown','animationFrameId','1Nushni','abort','auto','6701814gJXaeS','deltaY','2685500qfifTy','ArrowUp','addEventListener','Home','287406YpjhPa','PageUp','pointerdown','End','wheel','key','bind','element','ArrowDown','signal','5158071vVfVTQ','7694743knfNFy','scrollHeight','touchstart','keydown','abortController','isRunning','stop','4LxuQGD','destroy','_onUserEvent','_rafUpdate','704024XgHcOj','135EKZqFE','type','isUserPaused','start','includes','2075650FQNWxr','121DeQJnV','_isAtBottom'];_0x2074=function(){return _0x214a0f;};return _0x2074();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x515f4e=_0x3c15;function _0x3c15(_0x215663,_0x41dbc6){var _0xa44b1f=_0xa44b();return _0x3c15=function(_0x3c15a7,_0x4b9231){_0x3c15a7=_0x3c15a7-0x110;var _0x2ba2e0=_0xa44b1f[_0x3c15a7];return _0x2ba2e0;},_0x3c15(_0x215663,_0x41dbc6);}(function(_0xd7b2eb,_0x49ed46){var _0x4d5850=_0x3c15,_0x41be36=_0xd7b2eb();while(!![]){try{var _0x529f34=-parseInt(_0x4d5850(0x110))/0x1+parseInt(_0x4d5850(0x112))/0x2+-parseInt(_0x4d5850(0x119))/0x3+parseInt(_0x4d5850(0x113))/0x4+-parseInt(_0x4d5850(0x11a))/0x5+-parseInt(_0x4d5850(0x111))/0x6+-parseInt(_0x4d5850(0x114))/0x7*(-parseInt(_0x4d5850(0x115))/0x8);if(_0x529f34===_0x49ed46)break;else _0x41be36['push'](_0x41be36['shift']());}catch(_0x92957d){_0x41be36['push'](_0x41be36['shift']());}}}(_0xa44b,0x8b36f));import{Plugin as _0x5862fc}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0xe7db9f}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x1b3733}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x2dda7f}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x5862fc{static get[_0x515f4e(0x11c)](){return[_0xe7db9f,_0x1b3733,_0x2dda7f];}static get[_0x515f4e(0x118)](){var _0xf4a54c=_0x515f4e;return _0xf4a54c(0x117);}static get[_0x515f4e(0x116)](){return!0x0;}static get[_0x515f4e(0x11b)](){return!0x0;}}function _0xa44b(){var _0x57ade6=['isPremiumPlugin','requires','455898FuhLrC','5195886uoxHog','1346974XnWRta','879384qaaTmi','355124ALAPtC','208CsJTaf','isOfficialPlugin','AIEditorIntegration','pluginName','426264GOKUfi','890875xOgqNN'];_0xa44b=function(){return _0x57ade6;};return _0xa44b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf27911=_0x58de;(function(_0x1c296c,_0x3352d6){const _0x45bad6=_0x58de,_0x546b6d=_0x1c296c();while(!![]){try{const _0x1825c1=-parseInt(_0x45bad6(0x1da))/0x1+parseInt(_0x45bad6(0x1f5))/0x2+-parseInt(_0x45bad6(0x1e4))/0x3*(parseInt(_0x45bad6(0x1eb))/0x4)+parseInt(_0x45bad6(0x1e5))/0x5+parseInt(_0x45bad6(0x1d7))/0x6+-parseInt(_0x45bad6(0x1ef))/0x7*(parseInt(_0x45bad6(0x1e6))/0x8)+parseInt(_0x45bad6(0x1e2))/0x9;if(_0x1825c1===_0x3352d6)break;else _0x546b6d['push'](_0x546b6d['shift']());}catch(_0x105ba8){_0x546b6d['push'](_0x546b6d['shift']());}}}(_0x15a4,0xc9cc8));import{Plugin as _0x12d4bc}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x1f7531}from'./toggleaicommand.js';import{ButtonView as _0x431c13,MenuBarMenuListItemButtonView as _0x530c33}from'ckeditor5/src/ui.js';function _0x58de(_0x136341,_0x1e2ebf){const _0x15a4c7=_0x15a4();return _0x58de=function(_0x58deea,_0x5cc96f){_0x58deea=_0x58deea-0x1d7;let _0x3864cb=_0x15a4c7[_0x58deea];return _0x3864cb;},_0x58de(_0x136341,_0x1e2ebf);}import{IconAIAskAI as _0x5e0b8c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3272ab}from'../../aicore/utils/common-translations.js';import{AITabs as _0x1c897a}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x15a4(){const _0x529837=['AIToggleButtonUI','7tKSVoV','bind','set','isPremiumPlugin','pluginName','editor','1167070qlwXOi','requires','listenTo','isOn','888390NNuCpf','toggleAi','add','857272VmYCvI','execute','commands','locale','menuBar:toggleAi','value','isEnabled','componentFactory','19031643CKbBub','ck-ai-toggle-button','573dUBCgE','717060wYHDez','8204816RxefZX','_createAIUIButton','isOfficialPlugin','get','init','5868upfiOl','menuitemcheckbox','AI_TOGGLE_BUTTON_LABEL'];_0x15a4=function(){return _0x529837;};return _0x15a4();}export class AIToggleButtonUI extends _0x12d4bc{static get[_0xf27911(0x1f6)](){return[_0x1c897a];}static get[_0xf27911(0x1f3)](){const _0x853e5b=_0xf27911;return _0x853e5b(0x1ee);}static get[_0xf27911(0x1e8)](){return!0x0;}static get[_0xf27911(0x1f2)](){return!0x0;}[_0xf27911(0x1ea)](){const _0x7b1edf=_0xf27911,_0x41bd5a=this[_0x7b1edf(0x1f4)];_0x41bd5a[_0x7b1edf(0x1dc)][_0x7b1edf(0x1d9)](_0x7b1edf(0x1d8),new _0x1f7531(_0x41bd5a)),_0x41bd5a['ui'][_0x7b1edf(0x1e1)][_0x7b1edf(0x1d9)](_0x7b1edf(0x1d8),()=>{const _0x1ad8af=_0x7b1edf,_0x422f4d=this[_0x1ad8af(0x1e7)](_0x431c13);return _0x422f4d[_0x1ad8af(0x1f1)]({'tooltip':!0x0,'class':_0x1ad8af(0x1e3)}),_0x422f4d;}),_0x41bd5a['ui'][_0x7b1edf(0x1e1)][_0x7b1edf(0x1d9)](_0x7b1edf(0x1de),()=>{const _0x51db49=_0x7b1edf,_0x2e529d=this[_0x51db49(0x1e7)](_0x530c33);return _0x2e529d[_0x51db49(0x1f1)]({'role':_0x51db49(0x1ec)}),_0x2e529d;});}[_0xf27911(0x1e7)](_0x5d3485){const _0x548a9d=_0xf27911,_0x3ad213=this[_0x548a9d(0x1f4)],_0x159a3a=_0x3ad213[_0x548a9d(0x1dc)][_0x548a9d(0x1e9)](_0x548a9d(0x1d8)),_0x583e2c=new _0x5d3485(_0x3ad213[_0x548a9d(0x1dd)]);return _0x583e2c[_0x548a9d(0x1f1)]({'label':_0x3272ab(_0x3ad213[_0x548a9d(0x1dd)],_0x548a9d(0x1ed)),'icon':_0x5e0b8c,'isToggleable':!0x0}),_0x583e2c[_0x548a9d(0x1f0)](_0x548a9d(0x1e0))['to'](_0x159a3a),_0x583e2c[_0x548a9d(0x1f0)](_0x548a9d(0x1f8))['to'](_0x159a3a,_0x548a9d(0x1df),_0x181482=>!!_0x181482),this[_0x548a9d(0x1f7)](_0x583e2c,_0x548a9d(0x1db),()=>{const _0x339eec=_0x548a9d;_0x159a3a[_0x339eec(0x1db)]();}),_0x583e2c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x21e5ea=_0x3d67;(function(_0x5e4b3c,_0x16e407){const _0x31e41d=_0x3d67,_0x14bd77=_0x5e4b3c();while(!![]){try{const _0x16181a=-parseInt(_0x31e41d(0x115))/0x1+-parseInt(_0x31e41d(0x11d))/0x2*(parseInt(_0x31e41d(0x114))/0x3)+-parseInt(_0x31e41d(0x111))/0x4+parseInt(_0x31e41d(0x11e))/0x5+parseInt(_0x31e41d(0x122))/0x6+-parseInt(_0x31e41d(0x119))/0x7+parseInt(_0x31e41d(0x118))/0x8*(parseInt(_0x31e41d(0x11f))/0x9);if(_0x16181a===_0x16e407)break;else _0x14bd77['push'](_0x14bd77['shift']());}catch(_0xed171f){_0x14bd77['push'](_0x14bd77['shift']());}}}(_0x1cf7,0xafc7e));function _0x1cf7(){const _0x17bfe1=['value','bind','get','196yntIyt','653550EhSnni','72mlgoZx','editor','view','6120852UdsTMF','isVisible','4602676qSxrpH','plugins','isEnabled','21372icPtUm','1312332CUwwTq','AITabs','execute','3558448ObRnBd','5797043ZSHnVT'];_0x1cf7=function(){return _0x17bfe1;};return _0x1cf7();}import{Command as _0x168ae2}from'ckeditor5/src/core.js';function _0x3d67(_0x1c3fff,_0x3989cc){const _0x1cf76e=_0x1cf7();return _0x3d67=function(_0x3d67d7,_0xc2a402){_0x3d67d7=_0x3d67d7-0x110;let _0x37640a=_0x1cf76e[_0x3d67d7];return _0x37640a;},_0x3d67(_0x1c3fff,_0x3989cc);}export class ToggleAICommand extends _0x168ae2{constructor(_0x36f36a){const _0xf19adb=_0x3d67;super(_0x36f36a);const _0x4380fa=_0x36f36a[_0xf19adb(0x112)][_0xf19adb(0x11c)](_0xf19adb(0x116))[_0xf19adb(0x121)];this[_0xf19adb(0x11b)](_0xf19adb(0x11a))['to'](_0x4380fa,_0xf19adb(0x110)),this[_0xf19adb(0x113)]=!0x0;}[_0x21e5ea(0x117)](){const _0x3a66e4=_0x21e5ea,_0x547c21=this[_0x3a66e4(0x120)][_0x3a66e4(0x112)][_0x3a66e4(0x11c)](_0x3a66e4(0x116))[_0x3a66e4(0x121)];_0x547c21[_0x3a66e4(0x110)]=!_0x547c21[_0x3a66e4(0x110)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5e8595=_0x5ae2;(function(_0x275b3d,_0x141065){var _0x590342=_0x5ae2,_0x5e33b4=_0x275b3d();while(!![]){try{var _0x352248=parseInt(_0x590342(0x160))/0x1*(-parseInt(_0x590342(0x167))/0x2)+parseInt(_0x590342(0x15d))/0x3+-parseInt(_0x590342(0x166))/0x4*(parseInt(_0x590342(0x16c))/0x5)+-parseInt(_0x590342(0x16e))/0x6*(parseInt(_0x590342(0x15e))/0x7)+parseInt(_0x590342(0x161))/0x8*(parseInt(_0x590342(0x169))/0x9)+parseInt(_0x590342(0x16a))/0xa*(-parseInt(_0x590342(0x15f))/0xb)+parseInt(_0x590342(0x16f))/0xc;if(_0x352248===_0x141065)break;else _0x5e33b4['push'](_0x5e33b4['shift']());}catch(_0x258c7f){_0x5e33b4['push'](_0x5e33b4['shift']());}}}(_0x5f58,0x74905));import{Plugin as _0xcd5aa7}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x53d152}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x3301a1}from'./aiquickactionsediting.js';import{AIActions as _0x8c36ec}from'../aiactions/aiactions.js';function _0x5ae2(_0x50b3fb,_0xd9c3df){var _0x5f585f=_0x5f58();return _0x5ae2=function(_0x5ae273,_0xaf7b0d){_0x5ae273=_0x5ae273-0x15c;var _0x1812d5=_0x5f585f[_0x5ae273];return _0x1812d5;},_0x5ae2(_0x50b3fb,_0xd9c3df);}function _0x5f58(){var _0xbad4f5=['config','isPremiumPlugin','4qKYBdl','977784kcccSF','isOfficialPlugin','162vHzwpp','220SReNOL','requires','4731590owevSq','pluginName','510iQwQgf','23395200wSdzPi','AIQuickActions','2246406tDVyha','67347AumYXe','56089QyVMqt','1gTJjGu','64096HvkxGZ','ai.quickActions','define'];_0x5f58=function(){return _0xbad4f5;};return _0x5f58();}export class AIQuickActions extends _0xcd5aa7{static get[_0x5e8595(0x16b)](){return[_0x53d152,_0x3301a1,_0x8c36ec];}static get[_0x5e8595(0x16d)](){var _0x4a0efb=_0x5e8595;return _0x4a0efb(0x15c);}static get[_0x5e8595(0x168)](){return!0x0;}static get[_0x5e8595(0x165)](){return!0x0;}constructor(_0x32278f){var _0x7b2d1=_0x5e8595;super(_0x32278f),_0x32278f[_0x7b2d1(0x164)][_0x7b2d1(0x163)](_0x7b2d1(0x162),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x104ea6=_0x1348;function _0x1348(_0x499d2f,_0x25a392){const _0x22f28a=_0x22f2();return _0x1348=function(_0x1348d1,_0x58fe32){_0x1348d1=_0x1348d1-0x1f2;let _0x59e7a7=_0x22f28a[_0x1348d1];return _0x59e7a7;},_0x1348(_0x499d2f,_0x25a392);}(function(_0x236982,_0x298de4){const _0x4cf4aa=_0x1348,_0x1f27f5=_0x236982();while(!![]){try{const _0x1454f7=-parseInt(_0x4cf4aa(0x224))/0x1*(parseInt(_0x4cf4aa(0x22c))/0x2)+parseInt(_0x4cf4aa(0x200))/0x3+parseInt(_0x4cf4aa(0x222))/0x4+parseInt(_0x4cf4aa(0x20a))/0x5*(parseInt(_0x4cf4aa(0x204))/0x6)+-parseInt(_0x4cf4aa(0x1fe))/0x7*(parseInt(_0x4cf4aa(0x1f2))/0x8)+parseInt(_0x4cf4aa(0x1fd))/0x9*(-parseInt(_0x4cf4aa(0x228))/0xa)+-parseInt(_0x4cf4aa(0x205))/0xb*(-parseInt(_0x4cf4aa(0x22a))/0xc);if(_0x1454f7===_0x298de4)break;else _0x1f27f5['push'](_0x1f27f5['shift']());}catch(_0x5bba61){_0x1f27f5['push'](_0x1f27f5['shift']());}}}(_0x22f2,0xd7a04));import{Command as _0x26b95e}from'ckeditor5/src/core.js';function _0x22f2(){const _0x5caf30=['AIChatController','locale','get','icon','selection','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AITabs','9KOgByY','3088169HVVmXV','CHAT','3793599wLeofK','_expandSelectionIfCollapsed','startConversation','chat','329310gROjkJ','66UJxHqK','getLimitElement','schema','log','parent','105shrLKC','plugins','activeTab','handleAIReviewAction','ACTION','label','args','ask-ai','setSelection','focusPromptInput','_handleAIActionsAction','_handleAIActionsActionLabel','AIActions','type','view','removeSelectionFromChatContext','AIChat','_handleAIReviewAction','AIReviewMode','isVisible','executeAction','actionName','sendMessage','_handleAIChatAction','3972680kaNwgR','execute','1Mqvpxk','addSelectionToChatContext','has','ai-quick-actions-plugin-not-found','599780OdqdVZ','change','25692xrfSbB','displayedPrompt','2312902uDuIae','model','activateTab','document','editor','isCollapsed','REVIEW','24FtfDTw','prompt','getSelectedBlocks','other'];_0x22f2=function(){return _0x5caf30;};return _0x22f2();}import{CKEditorError as _0xec86,first as _0x2bf44b}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x88b81c}from'./aiquickactionsui.js';import{getTranslation as _0x35a682}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x26b95e{[_0x104ea6(0x223)](_0xb244be){const _0x1cc700=_0x104ea6;switch(this[_0x1cc700(0x201)](),_0xb244be[_0x1cc700(0x217)]){case _0x88b81c[_0x1cc700(0x1ff)]:if(!this[_0x1cc700(0x230)][_0x1cc700(0x20b)][_0x1cc700(0x226)](_0x1cc700(0x21a))){const _0x38960d=_0x35a682(this[_0x1cc700(0x230)][_0x1cc700(0x1f7)],_0x1cc700(0x1fb),_0x1cc700(0x21a));throw new _0xec86(_0x1cc700(0x227),this[_0x1cc700(0x230)],{'errorMessage':_0x38960d});}this[_0x1cc700(0x221)](_0xb244be);break;case _0x88b81c[_0x1cc700(0x20e)]:if(!this[_0x1cc700(0x230)][_0x1cc700(0x20b)][_0x1cc700(0x226)](_0x1cc700(0x216))){const _0x382be3=_0x35a682(this[_0x1cc700(0x230)][_0x1cc700(0x1f7)],_0x1cc700(0x1fb),_0x1cc700(0x216));throw new _0xec86(_0x1cc700(0x227),this[_0x1cc700(0x230)],{'errorMessage':_0x382be3});}this[_0x1cc700(0x214)](_0xb244be);break;case _0x88b81c[_0x1cc700(0x232)]:if(!this[_0x1cc700(0x230)][_0x1cc700(0x20b)][_0x1cc700(0x226)](_0x1cc700(0x21c))){const _0x15cce1=_0x35a682(this[_0x1cc700(0x230)][_0x1cc700(0x1f7)],_0x1cc700(0x1fb),_0x1cc700(0x21c));throw new _0xec86(_0x1cc700(0x227),this[_0x1cc700(0x230)],{'errorMessage':_0x15cce1});}this[_0x1cc700(0x21b)](_0xb244be);}}async[_0x104ea6(0x221)](_0x111da1){const _0x2a7bdb=_0x104ea6,_0x3f052f=this[_0x2a7bdb(0x230)][_0x2a7bdb(0x20b)][_0x2a7bdb(0x1f8)](_0x2a7bdb(0x21a)),_0x566361=this[_0x2a7bdb(0x230)][_0x2a7bdb(0x20b)][_0x2a7bdb(0x1f8)](_0x2a7bdb(0x1f6)),_0x2bf193=this[_0x2a7bdb(0x230)][_0x2a7bdb(0x20b)][_0x2a7bdb(0x1f8)](_0x2a7bdb(0x1fc))[_0x2a7bdb(0x218)];if(_0x2bf193[_0x2a7bdb(0x21d)]||(_0x2bf193[_0x2a7bdb(0x21d)]=!0x0),_0x2a7bdb(0x203)!==_0x2bf193[_0x2a7bdb(0x20c)]&&_0x2bf193[_0x2a7bdb(0x22e)](_0x2a7bdb(0x203)),_0x2a7bdb(0x211)===_0x111da1['id'])_0x566361[_0x2a7bdb(0x219)](),await _0x3f052f[_0x2a7bdb(0x225)](),_0x3f052f[_0x2a7bdb(0x213)]();else await _0x3f052f[_0x2a7bdb(0x202)](),_0x566361[_0x2a7bdb(0x219)](),await _0x3f052f[_0x2a7bdb(0x225)](),_0x3f052f[_0x2a7bdb(0x213)](),await _0x3f052f[_0x2a7bdb(0x220)]({'message':_0x111da1[_0x2a7bdb(0x1f3)]||_0x111da1[_0x2a7bdb(0x22b)],'attributes':{'quickActionData':{'id':_0x111da1['id']},'displayedPrompt':_0x111da1[_0x2a7bdb(0x22b)]}});}[_0x104ea6(0x201)](){const _0x576fde=_0x104ea6,_0x97497=this[_0x576fde(0x230)],_0x561ef1=_0x97497[_0x576fde(0x22d)][_0x576fde(0x22f)][_0x576fde(0x1fa)];if(!_0x561ef1[_0x576fde(0x231)])return;const _0xb4eb11=_0x2bf44b(_0x561ef1[_0x576fde(0x1f4)]())||_0x97497[_0x576fde(0x22d)][_0x576fde(0x207)][_0x576fde(0x206)](_0x561ef1);_0x97497[_0x576fde(0x22d)][_0x576fde(0x229)](_0x32a6cb=>{const _0x5311d8=_0x576fde;_0x32a6cb[_0x5311d8(0x212)](_0xb4eb11,'in');});}[_0x104ea6(0x215)](_0x50d7da){const _0x3c42dc=_0x104ea6;return _0x50d7da[_0x3c42dc(0x209)]?.[_0x3c42dc(0x20f)]&&_0x3c42dc(0x1f5)!==_0x50d7da[_0x3c42dc(0x209)]?.['id']?_0x50d7da[_0x3c42dc(0x209)][_0x3c42dc(0x20f)]+':\x20'+_0x50d7da[_0x3c42dc(0x22b)]:_0x50d7da[_0x3c42dc(0x22b)];}async[_0x104ea6(0x214)](_0x3043c0){const _0x5bce31=_0x104ea6,_0x5d7e8e=this[_0x5bce31(0x230)][_0x5bce31(0x20b)][_0x5bce31(0x1f8)](_0x5bce31(0x216)),_0x5ebb1e=_0x3043c0[_0x5bce31(0x1f3)]?{'userMessage':_0x3043c0[_0x5bce31(0x1f3)],'model':_0x3043c0[_0x5bce31(0x22d)]}:{'actionName':_0x3043c0[_0x5bce31(0x21f)]||_0x3043c0['id'],'args':_0x3043c0[_0x5bce31(0x210)]},_0x4e8ee8=this[_0x5bce31(0x215)](_0x3043c0);await _0x5d7e8e[_0x5bce31(0x21e)](_0x5ebb1e,_0x4e8ee8,_0x3043c0[_0x5bce31(0x1f9)]);}async[_0x104ea6(0x21b)](_0x2e7ebf){const _0x1bc564=_0x104ea6;console[_0x1bc564(0x208)](_0x1bc564(0x20d),_0x2e7ebf);}}
|