@ckeditor/ckeditor5-ai 47.6.2-alpha.1 → 47.7.0-alpha.0
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
|
-
const
|
|
23
|
+
const _0x1b1094=_0x2465;(function(_0x554183,_0x19d9fe){const _0x311ef3=_0x2465,_0x1eae12=_0x554183();while(!![]){try{const _0x26bd05=parseInt(_0x311ef3(0x178))/0x1+-parseInt(_0x311ef3(0x15d))/0x2*(-parseInt(_0x311ef3(0x179))/0x3)+-parseInt(_0x311ef3(0x160))/0x4+-parseInt(_0x311ef3(0x161))/0x5+-parseInt(_0x311ef3(0x165))/0x6*(parseInt(_0x311ef3(0x172))/0x7)+-parseInt(_0x311ef3(0x177))/0x8+parseInt(_0x311ef3(0x174))/0x9;if(_0x26bd05===_0x19d9fe)break;else _0x1eae12['push'](_0x1eae12['shift']());}catch(_0x414ef7){_0x1eae12['push'](_0x1eae12['shift']());}}}(_0xb67c,0x5e334));import{CKEditorError as _0x3e93fd,compareArrays as _0x9c5a17}from'ckeditor5/src/utils.js';import{getNodePath as _0x1e18a6,isText as _0x1c7ea4,getChildren as _0x477cef,isDocument as _0x50674f,getParent as _0x3f521c,textContent as _0x5f4162,hasChildren as _0x22a9a4}from'./htmlparser.js';function _0x2465(_0x3aca1a,_0x1f6dd0){const _0xb67c2a=_0xb67c();return _0x2465=function(_0x2465c9,_0x409982){_0x2465c9=_0x2465c9-0x15d;let _0x283634=_0xb67c2a[_0x2465c9];return _0x283634;},_0x2465(_0x3aca1a,_0x1f6dd0);}function _0xb67c(){const _0x40efa1=['same','index','nextNode','getNudgedToWordBoundary','indexOf','130557qVHPco','match','2646657pDUOld','document','isEqual','214328KbbXqT','588712XOUzYi','106998nvXPOG','start','end','data','18hdqGwD','createBefore','ai-documentposition-index-out-of-bounds','1277156NDnAxD','1519980CAWeVg','createAt','previousNode','createAfter','54FEmbVa','length','slice','parent','ai-documentposition-createfrompath-path-cannot-be-empty','createFromPath','path','reduce'];_0xb67c=function(){return _0x40efa1;};return _0xb67c();}export class DocumentPosition{[_0x1b1094(0x168)];[_0x1b1094(0x16e)];[_0x1b1094(0x175)];constructor(_0x503dbd,_0x3d4c45,_0xc2077f){const _0x120ff2=_0x1b1094;if(_0x1c7ea4(_0x3d4c45)&&_0xc2077f>_0x3d4c45[_0x120ff2(0x17c)][_0x120ff2(0x166)])throw new _0x3e93fd(_0x120ff2(0x15f),null,{'index':_0xc2077f,'parent':_0x3d4c45});if(_0x22a9a4(_0x3d4c45)&&_0xc2077f>_0x477cef(_0x3d4c45)[_0x120ff2(0x166)])throw new _0x3e93fd(_0x120ff2(0x15f),null,{'index':_0xc2077f,'parent':_0x3d4c45});if(_0xc2077f<0x0)throw new _0x3e93fd(_0x120ff2(0x15f),null,{'index':_0xc2077f,'parent':_0x3d4c45});this[_0x120ff2(0x168)]=_0x3d4c45,this[_0x120ff2(0x16e)]=_0xc2077f,this[_0x120ff2(0x175)]=_0x503dbd;}get[_0x1b1094(0x16b)](){const _0x7864b=_0x1b1094;return[..._0x1e18a6(this[_0x7864b(0x168)]),this[_0x7864b(0x16e)]];}[_0x1b1094(0x176)](_0x2fe868){const _0x16cb60=_0x1b1094;return this[_0x16cb60(0x175)]==_0x2fe868[_0x16cb60(0x175)]&&_0x16cb60(0x16d)===_0x9c5a17(this[_0x16cb60(0x16b)],_0x2fe868[_0x16cb60(0x16b)]);}get[_0x1b1094(0x16f)](){const _0x407a80=_0x1b1094;if(_0x22a9a4(this[_0x407a80(0x168)])){const _0x3a2bc2=_0x477cef(this[_0x407a80(0x168)])[this[_0x407a80(0x16e)]];if(_0x3a2bc2)return _0x3a2bc2;{const _0x813014=DocumentPosition[_0x407a80(0x164)](this[_0x407a80(0x175)],this[_0x407a80(0x168)]);if(_0x813014)return _0x813014[_0x407a80(0x16f)];}}return null;}get[_0x1b1094(0x163)](){const _0x4b8e62=_0x1b1094;if(_0x22a9a4(this[_0x4b8e62(0x168)])){const _0x3771ce=_0x477cef(this[_0x4b8e62(0x168)])[this[_0x4b8e62(0x16e)]-0x1];if(_0x3771ce)return _0x3771ce;{const _0x3b39ce=DocumentPosition[_0x4b8e62(0x15e)](this[_0x4b8e62(0x175)],this[_0x4b8e62(0x168)]);if(_0x3b39ce)return _0x3b39ce[_0x4b8e62(0x163)];}}return null;}[_0x1b1094(0x170)](_0x552c45=_0x1b1094(0x17a)){const _0xf275a3=_0x1b1094;if(!_0x1c7ea4(this[_0xf275a3(0x168)]))return this;const _0x278213=this[_0xf275a3(0x16b)][this[_0xf275a3(0x16b)][_0xf275a3(0x166)]-0x1],_0x19cbbe=_0x5f4162(this[_0xf275a3(0x168)])[_0xf275a3(0x173)](/(?:\s*\S+\s*)/g);let _0x5ddf42=0x0,_0x200e3c=_0x278213;for(const _0x51daa3 of _0x19cbbe){if(_0x5ddf42+_0x51daa3[_0xf275a3(0x166)]===_0x278213)return this;if(_0x5ddf42+_0x51daa3[_0xf275a3(0x166)]>_0x278213){_0x200e3c=_0xf275a3(0x17a)===_0x552c45?_0x5ddf42:_0x5ddf42+_0x51daa3[_0xf275a3(0x166)];break;}_0x5ddf42+=_0x51daa3[_0xf275a3(0x166)];}return DocumentPosition[_0xf275a3(0x162)](this[_0xf275a3(0x175)],this[_0xf275a3(0x168)],_0x200e3c);}static[_0x1b1094(0x164)](_0x7e129d,_0x4458ee){const _0x4b69da=_0x1b1094;if(_0x50674f(_0x4458ee))return null;const _0x1f2adc=_0x3f521c(_0x4458ee);return DocumentPosition[_0x4b69da(0x162)](_0x7e129d,_0x1f2adc,_0x477cef(_0x1f2adc)[_0x4b69da(0x171)](_0x4458ee)+0x1);}static[_0x1b1094(0x15e)](_0x82388e,_0xfe672e){const _0x3be53c=_0x1b1094;if(_0x50674f(_0xfe672e))return null;const _0x1bef55=_0x3f521c(_0xfe672e);return DocumentPosition[_0x3be53c(0x162)](_0x82388e,_0x1bef55,_0x477cef(_0x1bef55)[_0x3be53c(0x171)](_0xfe672e));}static[_0x1b1094(0x162)](_0x74a0a3,_0xed0d2a,_0x179a7b=_0x1b1094(0x17a)){const _0x2b26ce=_0x1b1094;return new DocumentPosition(_0x74a0a3,_0xed0d2a,_0x2b26ce(0x17a)===_0x179a7b?0x0:_0x2b26ce(0x17b)===_0x179a7b?_0x1c7ea4(_0xed0d2a)?_0xed0d2a[_0x2b26ce(0x17c)][_0x2b26ce(0x166)]:_0x477cef(_0xed0d2a)[_0x2b26ce(0x166)]:_0x179a7b);}static[_0x1b1094(0x16a)](_0x142495,_0x54ee67){const _0x37a9b3=_0x1b1094;if(!_0x54ee67[_0x37a9b3(0x166)])throw new _0x3e93fd(_0x37a9b3(0x169),null,{'path':_0x54ee67});const _0x188513=_0x54ee67[_0x37a9b3(0x167)](0x0,-0x1)[_0x37a9b3(0x16c)]((_0x3a9fd5,_0x4f16ea)=>_0x1c7ea4(_0x3a9fd5)?_0x3a9fd5:_0x477cef(_0x3a9fd5)[_0x4f16ea],_0x142495);return DocumentPosition[_0x37a9b3(0x162)](_0x142495,_0x188513,_0x54ee67[_0x54ee67[_0x37a9b3(0x166)]-0x1]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49e83f=_0x5b0d;(function(_0x1ba47e,_0x497674){const _0x4f02c3=_0x5b0d,_0x482429=_0x1ba47e();while(!![]){try{const _0x48e7af=-parseInt(_0x4f02c3(0x1b1))/0x1*(parseInt(_0x4f02c3(0x1c6))/0x2)+-parseInt(_0x4f02c3(0x1be))/0x3+-parseInt(_0x4f02c3(0x1b8))/0x4+parseInt(_0x4f02c3(0x1c2))/0x5*(parseInt(_0x4f02c3(0x1bd))/0x6)+-parseInt(_0x4f02c3(0x1ba))/0x7+parseInt(_0x4f02c3(0x1ac))/0x8*(-parseInt(_0x4f02c3(0x1aa))/0x9)+parseInt(_0x4f02c3(0x1c3))/0xa;if(_0x48e7af===_0x497674)break;else _0x482429['push'](_0x482429['shift']());}catch(_0xa2cbf9){_0x482429['push'](_0x482429['shift']());}}}(_0x494e,0x57833));function _0x5b0d(_0x1d5376,_0xea3d0d){const _0x494eb0=_0x494e();return _0x5b0d=function(_0x5b0d96,_0x1fad8e){_0x5b0d96=_0x5b0d96-0x1a7;let _0x4455f7=_0x494eb0[_0x5b0d96];return _0x4455f7;},_0x5b0d(_0x1d5376,_0xea3d0d);}function _0x494e(){const _0x3e6eb4=['end','6489DkEaDi','document','3232GwwVcf','firstChild','includes','nextNode','parent','23bcJjRh','data','createAt','start','createAfter','reverse','path','1964464XdAfSF','slice','4792774YBZwBm','forEach','lastChild','42mGkbRR','1277388czKiJj','createFromPath','push','getContent','449495zatDeW','22398850MFrUHj','getNudgedToWordBoundary','createBefore','53726klrubm','previousNode','length','isEqual'];_0x494e=function(){return _0x3e6eb4;};return _0x494e();}import{DocumentPosition as _0x214bce}from'./documentposition.js';import{clone as _0x1f20f2,getParents as _0x543767,Document as _0x3813e7,Text as _0x4b62d7,isTag as _0x21d9c7,isText as _0x58fe10,replaceElement as _0x5da62c,removeElement as _0x5b0cd9}from'./htmlparser.js';export class DocumentRange{[_0x49e83f(0x1b4)];[_0x49e83f(0x1a9)];constructor(_0x4c3d6d,_0x160481){const _0x195f84=_0x49e83f;this[_0x195f84(0x1b4)]=_0x4c3d6d,this[_0x195f84(0x1a9)]=_0x160481;}[_0x49e83f(0x1a8)](_0x5abad5){const _0x14f9a6=_0x49e83f;return this==_0x5abad5||this[_0x14f9a6(0x1b4)][_0x14f9a6(0x1a8)](_0x5abad5[_0x14f9a6(0x1b4)])&&this[_0x14f9a6(0x1a9)][_0x14f9a6(0x1a8)](_0x5abad5[_0x14f9a6(0x1a9)]);}[_0x49e83f(0x1c4)](){const _0x22295b=_0x49e83f;return new DocumentRange(this[_0x22295b(0x1b4)][_0x22295b(0x1c4)](_0x22295b(0x1b4)),this[_0x22295b(0x1a9)][_0x22295b(0x1c4)](_0x22295b(0x1a9)));}[_0x49e83f(0x1c1)](){const _0x480b05=_0x49e83f,_0x1ff50b=_0x1f20f2(this[_0x480b05(0x1b4)][_0x480b05(0x1ab)]),_0x3ed79c=_0x214bce[_0x480b05(0x1bf)](_0x1ff50b,this[_0x480b05(0x1b4)][_0x480b05(0x1b7)]),_0x70c19a=_0x214bce[_0x480b05(0x1bf)](_0x1ff50b,this[_0x480b05(0x1a9)][_0x480b05(0x1b7)]);let _0x519f1f,_0xd1ae1e;if(_0x58fe10(_0x3ed79c[_0x480b05(0x1b0)])){const _0x66ecbc=_0x3ed79c[_0x480b05(0x1b7)][_0x3ed79c[_0x480b05(0x1b7)][_0x480b05(0x1a7)]-0x1],_0x33ca4f=new _0x4b62d7(_0x3ed79c[_0x480b05(0x1b0)][_0x480b05(0x1b2)][_0x480b05(0x1b9)](_0x66ecbc));_0x5da62c(_0x3ed79c[_0x480b05(0x1b0)],_0x33ca4f),_0x519f1f=_0x33ca4f;}else _0x519f1f=_0x3ed79c[_0x480b05(0x1af)];if(_0x58fe10(_0x70c19a[_0x480b05(0x1b0)])){const _0x78882b=_0x70c19a[_0x480b05(0x1b7)][_0x70c19a[_0x480b05(0x1b7)][_0x480b05(0x1a7)]-0x1],_0x1da1e9=new _0x4b62d7(_0x70c19a[_0x480b05(0x1b0)][_0x480b05(0x1b2)][_0x480b05(0x1b9)](0x0,_0x78882b));_0x5da62c(_0x70c19a[_0x480b05(0x1b0)],_0x1da1e9),_0xd1ae1e=_0x1da1e9;}else _0xd1ae1e=_0x70c19a[_0x480b05(0x1c7)];if(!(_0x519f1f&&_0xd1ae1e&&_0x1ff50b[_0x480b05(0x1ad)]&&_0x1ff50b[_0x480b05(0x1bc)]))return new _0x3813e7([]);const _0x495227=_0x543767(_0x519f1f),_0x29ed5e=_0x543767(_0xd1ae1e),_0x3d7589=[],_0x55d340=[];let _0x1e3681=_0x1ff50b[_0x480b05(0x1ad)];for(;_0x1e3681&&_0x1e3681!==_0x519f1f;){let _0x2fe03d;_0x495227[_0x480b05(0x1ae)](_0x1e3681)||_0x3d7589[_0x480b05(0x1c0)](_0x1e3681),_0x2fe03d=_0x21d9c7(_0x1e3681)?_0x214bce[_0x480b05(0x1b3)](_0x1ff50b,_0x1e3681,_0x480b05(0x1b4)):_0x214bce[_0x480b05(0x1b5)](_0x1ff50b,_0x1e3681),_0x1e3681=_0x2fe03d?_0x2fe03d[_0x480b05(0x1af)]:null;}for(_0x1e3681=_0x1ff50b[_0x480b05(0x1bc)];_0x1e3681&&_0x1e3681!==_0xd1ae1e;){let _0x588497;_0x29ed5e[_0x480b05(0x1ae)](_0x1e3681)||_0x55d340[_0x480b05(0x1c0)](_0x1e3681),_0x588497=_0x21d9c7(_0x1e3681)?_0x214bce[_0x480b05(0x1b3)](_0x1ff50b,_0x1e3681,_0x480b05(0x1a9)):_0x214bce[_0x480b05(0x1c5)](_0x1ff50b,_0x1e3681),_0x1e3681=_0x588497?_0x588497[_0x480b05(0x1c7)]:null;}return _0x3d7589[_0x480b05(0x1bb)](_0x11e43f=>{_0x5b0cd9(_0x11e43f);}),_0x55d340[_0x480b05(0x1b6)]()[_0x480b05(0x1bb)](_0x33d6b2=>{_0x5b0cd9(_0x33d6b2);}),_0x1ff50b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20d3ee=_0x282f;(function(_0x1dcb7c,_0x29ef29){const _0x107b13=_0x282f,_0x21b1ea=_0x1dcb7c();while(!![]){try{const _0x523e1f=parseInt(_0x107b13(0xfe))/0x1*(parseInt(_0x107b13(0x107))/0x2)+parseInt(_0x107b13(0x103))/0x3+-parseInt(_0x107b13(0xf8))/0x4*(-parseInt(_0x107b13(0xff))/0x5)+parseInt(_0x107b13(0x106))/0x6*(parseInt(_0x107b13(0xf7))/0x7)+parseInt(_0x107b13(0xfd))/0x8+parseInt(_0x107b13(0x100))/0x9+parseInt(_0x107b13(0x105))/0xa*(-parseInt(_0x107b13(0x108))/0xb);if(_0x523e1f===_0x29ef29)break;else _0x21b1ea['push'](_0x21b1ea['shift']());}catch(_0xa6c24b){_0x21b1ea['push'](_0x21b1ea['shift']());}}}(_0x54e5,0xebaa6));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x20d3ee(0xf6),_0x20d3ee(0x104),_0x20d3ee(0x102),_0x20d3ee(0xf9),_0x20d3ee(0xfb),_0x20d3ee(0x101),_0x20d3ee(0xfc),_0x20d3ee(0xfa),_0x20d3ee(0xf5)];function _0x282f(_0x383da0,_0x1b0d1e){const _0x54e584=_0x54e5();return _0x282f=function(_0x282fc1,_0x44fc5b){_0x282fc1=_0x282fc1-0xf5;let _0x9894fd=_0x54e584[_0x282fc1];return _0x9894fd;},_0x282f(_0x383da0,_0x1b0d1e);}function _0x54e5(){const _0x446587=['44CQTVYn','dislike','showChangeInText','7707021jqjmPz','4MXtnXo','rejectSuggestion','like','mouseOverSuggestion','toggleSuggestionDisplayMode','7634272aIYDNt','82065vntefg','4280515VCufVn','44100egxGXn','mouseLeaveSuggestion','applySuggestion','1404561CfqqVB','insertSuggestion','7073790rGEvVV','6ylfiZG','10DDTbqB'];_0x54e5=function(){return _0x446587;};return _0x54e5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x267ef3,_0x550529){var _0x25b3f9=_0x1562,_0x1c75fc=_0x267ef3();while(!![]){try{var _0x393b17=-parseInt(_0x25b3f9(0x94))/0x1+parseInt(_0x25b3f9(0x91))/0x2+parseInt(_0x25b3f9(0x98))/0x3*(-parseInt(_0x25b3f9(0x8f))/0x4)+parseInt(_0x25b3f9(0x8e))/0x5*(-parseInt(_0x25b3f9(0x8d))/0x6)+parseInt(_0x25b3f9(0x92))/0x7+-parseInt(_0x25b3f9(0x93))/0x8+parseInt(_0x25b3f9(0x90))/0x9;if(_0x393b17===_0x550529)break;else _0x1c75fc['push'](_0x1c75fc['shift']());}catch(_0x26fe1a){_0x1c75fc['push'](_0x1c75fc['shift']());}}}(_0x1568,0xa6781));import{CKEditorError as _0x5118ae}from'ckeditor5/src/utils.js';import{Editor as _0x1c7be3}from'ckeditor5/src/core.js';function _0x1562(_0xb9bb57,_0x52c820){var _0x15688c=_0x1568();return _0x1562=function(_0x156274,_0x550f46){_0x156274=_0x156274-0x8a;var _0x2fc735=_0x15688c[_0x156274];return _0x2fc735;},_0x1562(_0xb9bb57,_0x52c820);}function _0x1568(){var _0x2aa85a=['2536324Gsjxll','8940141syPxBI','1956088eKNxmS','711421SvPrQk','warn','get','length','2781YWMSbH','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.','ai-get-editor-from-context-no-editor','editors','6SaMqRB','5109460hULNcb','5716YOxJMS','12951351EEBmFb'];_0x1568=function(){return _0x2aa85a;};return _0x1568();}export function getEditorFromContext(_0x1b841b){var _0x39c86b=_0x1562;if(_0x1b841b instanceof _0x1c7be3)return _0x1b841b;if(_0x1b841b?.[_0x39c86b(0x8c)]&&_0x1b841b[_0x39c86b(0x8c)][_0x39c86b(0x96)](0x0))return _0x1b841b[_0x39c86b(0x8c)][_0x39c86b(0x97)]>0x1&&console[_0x39c86b(0x95)](_0x39c86b(0x8a)),_0x1b841b[_0x39c86b(0x8c)][_0x39c86b(0x96)](0x0);throw new _0x5118ae(_0x39c86b(0x8b));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1d14(){const _0x826bdf=['data-id','oldRange','7KfISTT','model','content','filter','11Rzzlox','markers','getOperations','21884GqSsQd','name','shift','removed','version','3TolWYH','history','getRange','length','getDiff','586622BCexeq','getDocumentContext','type','70zUHSQb','anchorId','5016972GcKfVZ','node','marker','1804300MzUADC','99428NOkmzL','468KkKVCz','operationsA','documentContextContent','map','document','43872aYmAfD','17576ukvGUn','new','get','cloneNode','previousSibling'];_0x1d14=function(){return _0x826bdf;};return _0x1d14();}(function(_0x4e76f0,_0xf97547){const _0x29be81=_0x12e9,_0x5bb7a1=_0x4e76f0();while(!![]){try{const _0x1515c3=parseInt(_0x29be81(0x128))/0x1+-parseInt(_0x29be81(0x11f))/0x2*(parseInt(_0x29be81(0x11a))/0x3)+parseInt(_0x29be81(0x115))/0x4*(parseInt(_0x29be81(0x122))/0x5)+-parseInt(_0x29be81(0x106))/0x6*(-parseInt(_0x29be81(0x10e))/0x7)+-parseInt(_0x29be81(0x107))/0x8*(-parseInt(_0x29be81(0x129))/0x9)+-parseInt(_0x29be81(0x127))/0xa+-parseInt(_0x29be81(0x112))/0xb*(-parseInt(_0x29be81(0x124))/0xc);if(_0x1515c3===_0xf97547)break;else _0x5bb7a1['push'](_0x5bb7a1['shift']());}catch(_0x560bbf){_0x5bb7a1['push'](_0x5bb7a1['shift']());}}}(_0x1d14,0x3b0fe));import{transformOperationSets as _0xc8bdd8}from'ckeditor5/src/engine.js';import{append as _0x7a0417,findByAttribute as _0x248a1a,prependChild as _0x1ad43b,removeElement as _0x18b6fa,serialize as _0x19b07a}from'./htmlparser.js';function _0x12e9(_0x4e27f7,_0x587d58){const _0x1d14b7=_0x1d14();return _0x12e9=function(_0x12e9e5,_0xab4889){_0x12e9e5=_0x12e9e5-0x106;let _0x582ef0=_0x1d14b7[_0x12e9e5];return _0x582ef0;},_0x12e9(_0x4e27f7,_0x587d58);}export function getOperationsFromReply({editor:_0x3c5015,interaction:_0x56e521,reply:_0x510d40,groups:_0x13eaa2,transform:_0x15fbe6,documentCompare:_0xddb0f,documentCompareOptions:_0x2bf0f0}){const _0x53f243=_0x12e9,_0x5de9de=_0x56e521[_0x53f243(0x120)]();if(!_0x5de9de)return[];const _0x20ef87=_0x5de9de[_0x53f243(0x110)],_0xd8106=_0x5de9de[_0x53f243(0x119)],_0x7a5a82=_0x510d40[_0x53f243(0x12b)][_0x53f243(0x10a)](!0x0);for(const {changes:_0x2b5516}of _0x13eaa2){const _0x1a838c=_0x2b5516[_0x53f243(0x111)](_0x15a012=>_0x53f243(0x108)!=_0x15a012[_0x53f243(0x121)])[_0x53f243(0x12c)](_0x1d0ef6=>_0x248a1a(_0x53f243(0x10c),_0x1d0ef6['id'],_0x7a5a82)),_0x10b4c3=_0x2b5516[_0x53f243(0x111)](_0x18b8da=>_0x53f243(0x118)!=_0x18b8da[_0x53f243(0x121)])[_0x53f243(0x12c)](_0x2bbd52=>_0x2bbd52[_0x53f243(0x125)][_0x53f243(0x10a)](!0x0));let _0x3ac56e=null;if(_0x1a838c[_0x53f243(0x11d)]){_0x3ac56e=_0x1a838c[0x0][_0x53f243(0x10b)];for(let _0x28a6b4=0x0;_0x28a6b4<_0x1a838c[_0x53f243(0x11d)];_0x28a6b4++)_0x18b6fa(_0x1a838c[_0x28a6b4]);}if(_0x10b4c3[_0x53f243(0x11d)]){_0x3ac56e||(_0x2b5516[0x0][_0x53f243(0x123)]?_0x3ac56e=_0x248a1a(_0x53f243(0x10c),_0x2b5516[0x0][_0x53f243(0x123)],_0x7a5a82):(_0x3ac56e=_0x10b4c3[_0x53f243(0x117)](),_0x1ad43b(_0x7a5a82,_0x3ac56e)));for(let _0x507acd=0x0;_0x507acd<_0x10b4c3[_0x53f243(0x11d)];_0x507acd++)_0x7a0417(_0x3ac56e,_0x10b4c3[_0x507acd]),_0x3ac56e=_0x10b4c3[_0x507acd];}}const _0x5c7337=_0x19b07a(_0x7a5a82),_0x59a3be=_0xddb0f[_0x53f243(0x11e)](_0x20ef87,_0x5c7337,_0x2bf0f0)[_0x53f243(0x114)]();if(_0x15fbe6){const _0x2aad43=_0x3c5015[_0x53f243(0x10f)][_0x53f243(0x12d)][_0x53f243(0x11b)][_0x53f243(0x114)](_0xd8106),_0x582d21={'document':_0x3c5015[_0x53f243(0x10f)][_0x53f243(0x12d)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0xc8bdd8(_0x59a3be,_0x2aad43,_0x582d21)[_0x53f243(0x12a)];}return _0x59a3be;}export function fixMarkerOperationOldRange(_0x458731,_0x48dd5d){const _0x3ca5b2=_0x12e9;if(_0x3ca5b2(0x126)!=_0x48dd5d[_0x3ca5b2(0x121)])return;const _0x3d4e18=_0x458731[_0x3ca5b2(0x10f)][_0x3ca5b2(0x113)][_0x3ca5b2(0x109)](_0x48dd5d[_0x3ca5b2(0x116)]);_0x3d4e18&&(_0x48dd5d[_0x3ca5b2(0x10d)]=_0x3d4e18[_0x3ca5b2(0x11c)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4785(){const _0x3601db=['SuggestionsConversion','suggestion:insertion:','removed','children','newValue','path','applyOperation','data-id','set','isMarkedRemoveOperation','createPositionFromPath','addAttribute','change','POSITIVE_INFINITY','getShiftedBy','focus','position','targetPosition','parse','nodeAfter',':$aiSuggestion','changeAttribute','isAfter','createPositionAt','isObject','createRangeOn','sourcePosition','createRange','remove','$elementName','data','get','index','removeAttribute','offset','model','stringify','$text','52944tWvWpi','_getTransformedByInsertion','end','plugins','nodeBefore','map','clone','root','split','getOperations','batch','suggestion:deletion:','textNode','isBefore','marker','...','newName','add','createSelection','howMany','schema','DocumentCompare','21916VtHJro','node','addOperation','$root','merge','name','getMovedRangeStart','isBlock','getMinimalFlatRanges','8098620obWZTq','getFirstRange','10160619muGYzB','length','forward','word','oldName','splitPosition','element','isDocumentOperation','setTo','stickiness','_createFromRanges','rename','2KLCfJl','isRegisteredAttribute','655KDitJd','push','delete','parent','getDiff','9939136XyOSUf','modifySelection','getTransformedByOperation','range','reverse','key','baseVersion','slice','type','1354723wQRrEi','_getTransformedByDeletion','toNone','oldValue','insert','move','changes','start','1371789XWsukT','markers','cloneNode','newRange','backward','suggestion:attribute:','moveTargetPosition','new','suggestion:formatBlock:$fakeWrap:'];_0x4785=function(){return _0x3601db;};return _0x4785();}(function(_0x1c2c5a,_0x40bfd7){const _0x12e686=_0x5167,_0xcddc13=_0x1c2c5a();while(!![]){try{const _0x5d0b10=-parseInt(_0x12e686(0xd3))/0x1+parseInt(_0x12e686(0xc3))/0x2*(parseInt(_0x12e686(0x96))/0x3)+parseInt(_0x12e686(0xac))/0x4*(parseInt(_0x12e686(0xc5))/0x5)+-parseInt(_0x12e686(0xb5))/0x6+parseInt(_0x12e686(0xb7))/0x7+parseInt(_0x12e686(0xca))/0x8+parseInt(_0x12e686(0x67))/0x9;if(_0x5d0b10===_0x40bfd7)break;else _0xcddc13['push'](_0xcddc13['shift']());}catch(_0x4eae43){_0xcddc13['push'](_0xcddc13['shift']());}}}(_0x4785,0xd62b2));import{findOne as _0x3baa79,getAttribute as _0x3595dd,Document as _0x4aec84,serialize as _0x3dad3b,parse as _0x19d1cd}from'./htmlparser.js';function _0x5167(_0x584702,_0x113bc6){const _0x4785f8=_0x4785();return _0x5167=function(_0x516779,_0x50427d){_0x516779=_0x516779-0x66;let _0x428207=_0x4785f8[_0x516779];return _0x428207;},_0x5167(_0x584702,_0x113bc6);}import{fixElementSuggestionRange as _0x4eecaa}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x3e8ffe,_DetachOperation as _0xc6d21b,_removeFromModelNodeList as _0x3b12c7,_insertIntoModelNodeList as _0x32765e}from'ckeditor5/src/engine.js';import{uid as _0x110cd6}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x672999,changeGroups:_0x45f170,documentContextContent:_0x134489,showDiff:_0x1b4d24,trimUnchanged:_0x217831=!0x0}){const _0xaf911c=_0x5167;return _0x45f170[_0xaf911c(0x9b)](_0x4cfac3=>{const _0x5602cf=_0xaf911c,_0x1ba18e=new _0x4aec84([]),_0x44074f=new _0x4aec84([]);for(const _0x1b856d of _0x4cfac3[_0x5602cf(0xd9)])if(_0x1b4d24&&_0x5602cf(0x72)==_0x1b856d[_0x5602cf(0xd2)]||_0x44074f[_0x5602cf(0x73)][_0x5602cf(0xc6)](_0x1b856d[_0x5602cf(0xad)][_0x5602cf(0x69)](!0x0)),_0x5602cf(0x6e)!=_0x1b856d[_0x5602cf(0xd2)]&&(_0x1b4d24||_0x5602cf(0x72)!=_0x1b856d[_0x5602cf(0xd2)])){const _0x4719ab=_0x3baa79(_0x4152cd=>_0x3595dd(_0x4152cd,_0x5602cf(0x77))==_0x1b856d['id'],_0x134489,!0x0);_0x4719ab&&_0x1ba18e[_0x5602cf(0x73)][_0x5602cf(0xc6)](_0x4719ab[_0x5602cf(0x69)](!0x0));}const {content:_0x498431,hasChanges:_0x35c7dd}=function(_0x138a38,_0x56adf8,_0x420a47,_0x438d22,_0x350026=!0x0){const _0x2b8013=_0x5602cf,_0x56bac3=_0x138a38[_0x2b8013(0x99)][_0x2b8013(0x8f)](_0x2b8013(0xab)),_0x36947f=_0x3dad3b(_0x56adf8),_0x3bb283=_0x3dad3b(_0x420a47),_0x453f14=_0x138a38[_0x2b8013(0x8e)][_0x2b8013(0x82)](_0x36947f,_0x2b8013(0xaf)),_0x44f65e=_0x138a38[_0x2b8013(0x93)][_0x2b8013(0x87)](_0x453f14,0x0),_0x75e36=_0x56bac3[_0x2b8013(0xc9)](_0x36947f,_0x3bb283,{'anchor':_0x44f65e,'markDeletions':_0x438d22}),_0x56685f=_0x75e36[_0x2b8013(0x9f)]();if(0x0==_0x56685f[_0x2b8013(0xb8)])return{'content':_0x56adf8[_0x2b8013(0x69)](!0x0),'hasChanges':!0x1};_0x438d22?function(_0x69358,_0x27b2b9,_0x1a3e09){const _0x429a2c=_0x2b8013;if(0x0==_0x69358[_0x429a2c(0xb8)])return;const _0x53b3b5=_0x1a3e09[_0x429a2c(0x99)][_0x429a2c(0x8f)](_0x429a2c(0xab)),_0x4766ae=_0x1a3e09[_0x429a2c(0x99)][_0x429a2c(0x8f)](_0x429a2c(0x70));_0x1a3e09[_0x429a2c(0x93)][_0x429a2c(0x7c)](_0x1de341=>{const _0x36c09e=_0x429a2c,_0x2d8378=new Set();for(let _0x32ab18=0x0;_0x32ab18<_0x69358[_0x36c09e(0xb8)];_0x32ab18++){const _0x5389c5=_0x69358[_0x32ab18];if(_0x5389c5[_0x36c09e(0xd0)]=null,_0x5389c5[_0x36c09e(0xbe)]=!0x1,_0x53b3b5[_0x36c09e(0x79)](_0x5389c5)){const _0x42c9b7=_0x4eecaa(_0x5389c5[_0x36c09e(0x6a)],_0x1a3e09[_0x36c09e(0x93)]),_0x40b2a2=_0x36c09e(0xa1)+_0x110cd6()+_0x36c09e(0x84);_0x27b2b9[_0x36c09e(0x68)][_0x36c09e(0x78)](_0x40b2a2,_0x42c9b7);}else switch(_0x5389c5[_0x36c09e(0xd2)]){case _0x36c09e(0xc2):{if(_0x5389c5[_0x36c09e(0xbb)]==_0x5389c5[_0x36c09e(0xa6)])break;_0x1de341[_0x36c09e(0xa0)][_0x36c09e(0xae)](_0x5389c5),_0x1a3e09[_0x36c09e(0x93)][_0x36c09e(0x76)](_0x5389c5);const _0x10f8d4=_0x36c09e(0x8d),_0x5a6375=_0x5389c5[_0x36c09e(0x80)],_0x21d851=_0x1a3e09[_0x36c09e(0x93)][_0x36c09e(0x8b)](_0x5a6375,_0x1a3e09[_0x36c09e(0x93)][_0x36c09e(0x87)](_0x5a6375[_0x36c09e(0x83)],_0x36c09e(0x98))),_0x442bb8=_0x36c09e(0x6c)+_0x10f8d4+':'+_0x110cd6()+_0x36c09e(0x84);_0x27b2b9[_0x36c09e(0x68)][_0x36c09e(0x78)](_0x442bb8,_0x21d851);break;}case _0x36c09e(0x7b):case _0x36c09e(0x91):case _0x36c09e(0x85):{if(_0x5389c5[_0x36c09e(0xd6)]==_0x5389c5[_0x36c09e(0x74)])break;_0x1de341[_0x36c09e(0xa0)][_0x36c09e(0xae)](_0x5389c5),_0x1a3e09[_0x36c09e(0x93)][_0x36c09e(0x76)](_0x5389c5);const _0x270756=_0x5389c5[_0x36c09e(0xcf)];if(!_0x4766ae[_0x36c09e(0xc4)](_0x270756))break;const _0x2b03f6=_0x4eecaa(_0x5389c5[_0x36c09e(0xcd)],_0x1a3e09[_0x36c09e(0x93)]),_0xe661cf=_0x36c09e(0x6c)+_0x270756+':'+_0x110cd6()+_0x36c09e(0x84);_0x27b2b9[_0x36c09e(0x68)][_0x36c09e(0x78)](_0xe661cf,_0x2b03f6);break;}case _0x36c09e(0xd7):{_0x1de341[_0x36c09e(0xa0)][_0x36c09e(0xae)](_0x5389c5),_0x1a3e09[_0x36c09e(0x93)][_0x36c09e(0x76)](_0x5389c5);if(_0x69358[_0x32ab18+0x1]&&_0x36c09e(0xd8)==_0x69358[_0x32ab18+0x1][_0x36c09e(0xd2)]){no(_0x27b2b9,_0x5389c5);break;}const _0x50aa23=_0x5389c5[_0x36c09e(0x80)],_0x44bab1=_0x5389c5[_0x36c09e(0xa9)],_0x15e7a0=_0x4eecaa(_0x1a3e09[_0x36c09e(0x93)][_0x36c09e(0x8b)](_0x50aa23,_0x50aa23[_0x36c09e(0x7e)](_0x44bab1)),_0x1a3e09[_0x36c09e(0x93)]),_0x134a2c=_0x36c09e(0x71)+_0x110cd6()+_0x36c09e(0x84);_0x27b2b9[_0x36c09e(0x68)][_0x36c09e(0x78)](_0x134a2c,_0x15e7a0);break;}case _0x36c09e(0x9e):{_0x1de341[_0x36c09e(0xa0)][_0x36c09e(0xae)](_0x5389c5),_0x1a3e09[_0x36c09e(0x93)][_0x36c09e(0x76)](_0x5389c5);const _0x53efbc=_0x5389c5[_0x36c09e(0xbc)],_0x17479c=_0x5389c5[_0x36c09e(0x6d)],_0x3a57e9=_0x1a3e09[_0x36c09e(0x93)][_0x36c09e(0x8b)](_0x53efbc,_0x17479c),_0x46cc11=_0x36c09e(0x71)+_0x110cd6()+_0x36c09e(0x84);_0x27b2b9[_0x36c09e(0x68)][_0x36c09e(0x78)](_0x46cc11,_0x3a57e9);break;}case _0x36c09e(0xd8):{_0x1de341[_0x36c09e(0xa0)][_0x36c09e(0xae)](_0x5389c5),_0x1a3e09[_0x36c09e(0x93)][_0x36c09e(0x76)](_0x5389c5),_0x69358[_0x32ab18-0x1]&&_0x36c09e(0xd7)==_0x69358[_0x32ab18-0x1][_0x36c09e(0xd2)]&&no(_0x27b2b9,_0x5389c5);const _0x1dd62d=_0x5389c5[_0x36c09e(0xb2)](),_0xabc183=_0x5389c5[_0x36c09e(0xa9)];for(let _0x1ec978=0x0;_0x1ec978<_0xabc183;_0x1ec978++){const _0x3f994a=_0x1dd62d[_0x36c09e(0x7e)](_0x1ec978)[_0x36c09e(0x83)];_0x2d8378[_0x36c09e(0xa7)](_0x3f994a);}break;}case _0x36c09e(0x8c):{const _0x590909=_0x5389c5[_0x36c09e(0x8a)],_0x17fb56=_0x5389c5[_0x36c09e(0xa9)],_0x53a6ee=new _0xc6d21b(_0x590909,_0x17fb56);_0x1de341[_0x36c09e(0xa0)][_0x36c09e(0xae)](_0x53a6ee),_0x1a3e09[_0x36c09e(0x93)][_0x36c09e(0x76)](_0x53a6ee);break;}}}for(const _0x723804 of _0x2d8378){const _0x2dbcda=_0x1a3e09[_0x36c09e(0x93)][_0x36c09e(0x89)](_0x723804),_0x2f2d65=_0x36c09e(0x6f)+_0x110cd6()+_0x36c09e(0x84);_0x27b2b9[_0x36c09e(0x68)][_0x36c09e(0x78)](_0x2f2d65,_0x4eecaa(_0x2dbcda,_0x1a3e09[_0x36c09e(0x93)]));}});}(_0x56685f,_0x453f14,_0x138a38):_0x138a38[_0x2b8013(0x93)][_0x2b8013(0x7c)](_0x45fd88=>{const _0xa91733=_0x2b8013;for(const _0x2d6d0f of _0x56685f)if(_0xa91733(0x8c)==_0x2d6d0f[_0xa91733(0xd2)]){const _0x11178b=_0x2d6d0f[_0xa91733(0x8a)],_0x41839c=_0x2d6d0f[_0xa91733(0xa9)],_0x66af19=new _0xc6d21b(_0x11178b,_0x41839c);_0x45fd88[_0xa91733(0xa0)][_0xa91733(0xae)](_0x66af19),_0x138a38[_0xa91733(0x93)][_0xa91733(0x76)](_0x66af19);}else{if(_0xa91733(0xa4)==_0x2d6d0f[_0xa91733(0xd2)]){const _0x1fb6c5=_0x2d6d0f[_0xa91733(0xb1)],_0x2b88c9=_0x2d6d0f[_0xa91733(0x6a)];null!==_0x2b88c9?_0x453f14[_0xa91733(0x68)][_0xa91733(0x78)](_0x1fb6c5,_0x2b88c9):_0x453f14[_0xa91733(0x68)][_0xa91733(0xc7)](_0x1fb6c5);}else _0x2d6d0f[_0xa91733(0xd0)]=null,_0x2d6d0f[_0xa91733(0xbe)]=!0x1,_0x45fd88[_0xa91733(0xa0)][_0xa91733(0xae)](_0x2d6d0f),_0x138a38[_0xa91733(0x93)][_0xa91733(0x76)](_0x2d6d0f);}});if(_0x350026){const _0x1fb9db=getMinimalSelection(_0x138a38,_0x56685f,_0x453f14);expandSelectionWithContext(_0x138a38[_0x2b8013(0x93)],_0x1fb9db),function(_0x4fb0ce,_0x452d03){const _0xd2825b=_0x2b8013,_0x81d090=_0x452d03[_0xd2825b(0xb6)]()[_0xd2825b(0x66)];let _0x56b3e8=_0x452d03[_0xd2825b(0xb6)]()[_0xd2825b(0x98)];const _0x2a0ec8=_0x81d090[_0xd2825b(0x9d)];(_0x56b3e8[_0xd2825b(0xa2)]||_0x56b3e8[_0xd2825b(0x83)]&&_0x56b3e8[_0xd2825b(0x83)]['is'](_0xd2825b(0x95)))&&(_0x32765e(_0x56b3e8,_0xd2825b(0xa5)),_0x56b3e8=_0x56b3e8[_0xd2825b(0x7e)](0x3)),(_0x81d090[_0xd2825b(0xa2)]||_0x81d090[_0xd2825b(0x9a)]&&_0x81d090[_0xd2825b(0x9a)]['is'](_0xd2825b(0x95)))&&(_0x32765e(_0x81d090,_0xd2825b(0xa5)),function(_0x2599cb,_0x680d04,_0x5cd53b){const _0x2acc5a=_0xd2825b;for(let [_0x43a04f,_0x5526d7]of _0x2599cb[_0x2acc5a(0x68)]){const _0x4fbab8=_0x5526d7[_0x2acc5a(0x97)](_0x680d04,_0x5cd53b,!0x1);_0x5526d7=_0x4fbab8[0x0],_0x2599cb[_0x2acc5a(0x68)][_0x2acc5a(0x78)](_0x43a04f,_0x5526d7);}}(_0x2a0ec8,_0x81d090,0x3),_0x81d090[_0xd2825b(0xc8)]==_0x56b3e8[_0xd2825b(0xc8)]&&(_0x56b3e8=_0x56b3e8[_0xd2825b(0x7e)](0x3)));const _0x4bd36a=_0x4fb0ce[_0xd2825b(0x8b)](_0x4fb0ce[_0xd2825b(0x87)](_0x2a0ec8,0x0),_0x81d090),_0x297cdd=_0x4fb0ce[_0xd2825b(0x8b)](_0x56b3e8,_0x4fb0ce[_0xd2825b(0x87)](_0x2a0ec8,_0xd2825b(0x98))),_0x469402=[..._0x4bd36a[_0xd2825b(0xb4)](),..._0x297cdd[_0xd2825b(0xb4)]()];_0x469402[_0xd2825b(0xce)]();for(const _0x16a8f8 of _0x469402)_0x3b12c7(_0x16a8f8),_transformMarkersByDeletion(_0x2a0ec8,_0x16a8f8);}(_0x138a38[_0x2b8013(0x93)],_0x1fb9db);}const _0x5b39bc=_0x138a38[_0x2b8013(0x8e)][_0x2b8013(0x94)](_0x453f14,{'showSuggestionHighlights':!0x0});return{'content':_0x19d1cd(_0x5b39bc),'hasChanges':!0x0};}(_0x672999,_0x1ba18e,_0x44074f,_0x1b4d24,_0x217831);return{'type':_0x4cfac3[_0x5602cf(0xd9)][0x0][_0x5602cf(0xd2)],'index':_0x4cfac3[_0x5602cf(0x90)],'content':_0x498431,'hasChanges':_0x35c7dd};});}function no(_0x1bbef7,_0x5ba5c8){const _0x5d4ee9=_0x5167;for(const [_0x653efe,_0x24b296]of _0x1bbef7[_0x5d4ee9(0x68)]){const _0x483f4f=_0x3e8ffe[_0x5d4ee9(0xc1)](_0x24b296[_0x5d4ee9(0xcc)](_0x5ba5c8));_0x1bbef7[_0x5d4ee9(0x68)][_0x5d4ee9(0x78)](_0x653efe,_0x483f4f);}}export function getMinimalSelection(_0x182abe,_0x4c50aa,_0x83c197){const _0x1a6f10=_0x5167,_0x5b32b7=_0x182abe[_0x1a6f10(0x99)][_0x1a6f10(0x8f)](_0x1a6f10(0xab));let _0x44f5b2=_0x182abe[_0x1a6f10(0x93)][_0x1a6f10(0x87)](_0x83c197,Number[_0x1a6f10(0x7d)]),_0x4045d0=_0x182abe[_0x1a6f10(0x93)][_0x1a6f10(0x87)](_0x83c197,0x0);for(const _0x2bbe0f of _0x4c50aa){let _0x5e3229,_0x273ac3;if(_0x5b32b7[_0x1a6f10(0x79)](_0x2bbe0f))_0x5e3229=_0x2bbe0f[_0x1a6f10(0x6a)][_0x1a6f10(0x66)],_0x273ac3=_0x2bbe0f[_0x1a6f10(0x6a)][_0x1a6f10(0x98)];else switch(_0x44f5b2=_0x44f5b2[_0x1a6f10(0xcc)](_0x2bbe0f),_0x4045d0=_0x4045d0[_0x1a6f10(0xcc)](_0x2bbe0f),_0x2bbe0f[_0x1a6f10(0xd2)]){case _0x1a6f10(0xc2):_0x5e3229=_0x2bbe0f[_0x1a6f10(0x80)],_0x273ac3=_0x5e3229[_0x1a6f10(0x7e)](0x1);break;case _0x1a6f10(0x7b):case _0x1a6f10(0x91):case _0x1a6f10(0x85):_0x5e3229=_0x2bbe0f[_0x1a6f10(0xcd)][_0x1a6f10(0x66)],_0x273ac3=_0x2bbe0f[_0x1a6f10(0xcd)][_0x1a6f10(0x98)];break;case _0x1a6f10(0xd7):_0x5e3229=_0x2bbe0f[_0x1a6f10(0x80)],_0x273ac3=_0x5e3229[_0x1a6f10(0x7e)](_0x2bbe0f[_0x1a6f10(0xa9)]);break;case _0x1a6f10(0x9e):_0x5e3229=_0x2bbe0f[_0x1a6f10(0xbc)],_0x273ac3=_0x2bbe0f[_0x1a6f10(0x6d)];break;case _0x1a6f10(0xb0):{const _0x3c2eeb=_0x2bbe0f[_0x1a6f10(0x81)][_0x1a6f10(0x75)][_0x1a6f10(0xd1)](0x0,-0x1);_0x5e3229=_0x182abe[_0x1a6f10(0x93)][_0x1a6f10(0x7a)](_0x83c197,_0x3c2eeb),_0x273ac3=_0x5e3229[_0x1a6f10(0x7e)](0x1);break;}case _0x1a6f10(0x8c):{const _0x20299b=_0x2bbe0f[_0x1a6f10(0xa9)],_0x4c0f83=_0x2bbe0f[_0x1a6f10(0x8a)][_0x1a6f10(0x97)](_0x2bbe0f[_0x1a6f10(0x81)],_0x20299b),_0x14942d=_0x2bbe0f[_0x1a6f10(0xb2)]();_0x1a6f10(0x8c)==_0x2bbe0f[_0x1a6f10(0xd2)]?(_0x5e3229=_0x4c0f83,_0x273ac3=_0x4c0f83):(_0x5e3229=_0x14942d,_0x273ac3=_0x14942d[_0x1a6f10(0x7e)](_0x20299b));break;}}_0x5e3229&&_0x5e3229[_0x1a6f10(0xa3)](_0x44f5b2)&&(_0x44f5b2=_0x5e3229[_0x1a6f10(0x9c)](),_0x44f5b2[_0x1a6f10(0xc0)]=_0x1a6f10(0xd5)),_0x273ac3&&_0x273ac3[_0x1a6f10(0x86)](_0x4045d0)&&(_0x4045d0=_0x273ac3[_0x1a6f10(0x9c)](),_0x4045d0[_0x1a6f10(0xc0)]=_0x1a6f10(0xd5));}return _0x182abe[_0x1a6f10(0x93)][_0x1a6f10(0xa8)](_0x182abe[_0x1a6f10(0x93)][_0x1a6f10(0x8b)](_0x44f5b2,_0x4045d0));}export function expandSelectionWithContext(_0x5c71f4,_0x256543){const _0x5d37cd=_0x5167;ro(_0x5c71f4,_0x256543,_0x5d37cd(0xb9));const _0x35421c=_0x256543[_0x5d37cd(0xb6)]();_0x256543[_0x5d37cd(0xbf)]([]),_0x256543[_0x5d37cd(0xbf)](_0x35421c,{'backward':!0x0}),ro(_0x5c71f4,_0x256543,_0x5d37cd(0x6b));}function ro(_0x2d4244,_0x49eca9,_0x3b1c32){const _0x1836d2=_0x5167;let _0x5a3a11=0x14;for(;_0x5a3a11;){_0x2d4244[_0x1836d2(0xcb)](_0x49eca9,{'unit':_0x1836d2(0xba),'direction':_0x3b1c32}),_0x5a3a11--;const _0x9c58d3=_0x49eca9[_0x1836d2(0x7f)][_0x1836d2(0xb9)==_0x3b1c32?_0x1836d2(0x9a):_0x1836d2(0x83)];if(_0x9c58d3&&_0x9c58d3['is'](_0x1836d2(0xbd))&&_0x2d4244[_0x1836d2(0xaa)][_0x1836d2(0xb3)](_0x9c58d3)&&_0x2d4244[_0x1836d2(0xaa)][_0x1836d2(0x88)](_0x9c58d3))break;}}export function _transformMarkersByDeletion(_0x445745,_0x18ed40){const _0x5a63fa=_0x5167;for(const [_0x24ed5f,_0x5990c9]of _0x445745[_0x5a63fa(0x68)]){const _0x43746a=_0x5990c9[_0x5a63fa(0xd4)](_0x18ed40[_0x5a63fa(0x66)],_0x18ed40[_0x5a63fa(0x98)][_0x5a63fa(0x92)]-_0x18ed40[_0x5a63fa(0x66)][_0x5a63fa(0x92)]);null!=_0x43746a?_0x445745[_0x5a63fa(0x68)][_0x5a63fa(0x78)](_0x24ed5f,_0x43746a):_0x445745[_0x5a63fa(0x68)][_0x5a63fa(0xc7)](_0x24ed5f);}}
|
|
23
|
+
(function(_0x5be962,_0x3f1ed3){const _0x4d2ed4=_0x2bb7,_0x447562=_0x5be962();while(!![]){try{const _0x3bb563=-parseInt(_0x4d2ed4(0x1ed))/0x1+parseInt(_0x4d2ed4(0x18c))/0x2*(-parseInt(_0x4d2ed4(0x1ec))/0x3)+-parseInt(_0x4d2ed4(0x1c4))/0x4*(-parseInt(_0x4d2ed4(0x1c9))/0x5)+-parseInt(_0x4d2ed4(0x1e1))/0x6+parseInt(_0x4d2ed4(0x1b7))/0x7+parseInt(_0x4d2ed4(0x1f4))/0x8+-parseInt(_0x4d2ed4(0x1d6))/0x9*(parseInt(_0x4d2ed4(0x1e2))/0xa);if(_0x3bb563===_0x3f1ed3)break;else _0x447562['push'](_0x447562['shift']());}catch(_0x5741e5){_0x447562['push'](_0x447562['shift']());}}}(_0x2fa4,0x9eac4));import{findOne as _0x589c21,getAttribute as _0x10603f,Document as _0x609401,serialize as _0x2cdc89,parse as _0x1206ae}from'./htmlparser.js';import{fixElementSuggestionRange as _0x5e45f9}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x1ae752,_DetachOperation as _0x32fa5a,_removeFromModelNodeList as _0x27f276,_insertIntoModelNodeList as _0x474e9e}from'ckeditor5/src/engine.js';import{uid as _0x307325}from'ckeditor5/src/utils.js';function _0x2fa4(){const _0x1bc9b7=['reverse','parse','textNode','$text','isBefore','merge','baseVersion','442836WbbmSW','159862cKRSlV','addAttribute','targetPosition','moveTargetPosition','isMarkedRemoveOperation','name','model','5180008dXcPuZ','createSelection','newValue','node','children','getMinimalFlatRanges','backward','markers','createRange','delete','plugins','howMany','removed','8OjNWuI','addOperation','data-id','marker','isRegisteredAttribute','...','suggestion:formatBlock:$fakeWrap:','data','schema','word','getFirstRange','change','getShiftedBy','_getTransformedByDeletion','toNone','element','map','position','$elementName','focus','stickiness','clone','createPositionFromPath','root','createPositionAt','isDocumentOperation','splitPosition','oldValue','batch','length','stringify','add','POSITIVE_INFINITY','suggestion:deletion:','cloneNode','$root','_getTransformedByInsertion','applyOperation','parent','newRange','move','_createFromRanges','setTo','3897754vmkuVe','insert','offset','getOperations','range','getDiff','isObject','key','nodeAfter','index','newName','oldName','path','952sGgjmv','nodeBefore','end','split','type','7580AYsMwO','removeAttribute','modifySelection','suggestion:attribute:','changes','suggestion:insertion:','isAfter',':$aiSuggestion','set','slice','DocumentCompare','remove','push','9loglAG','new','start','getTransformedByOperation','forward','SuggestionsConversion','isBlock','getMovedRangeStart','rename','sourcePosition','changeAttribute','502320weDvDO','811770GtcYob','get','createRangeOn'];_0x2fa4=function(){return _0x1bc9b7;};return _0x2fa4();}export function getSuggestionPartsFromReply({editor:_0x3cc54c,changeGroups:_0x4162f6,documentContextContent:_0x2714ca,showDiff:_0xa4b951,trimUnchanged:_0x2ad867=!0x0}){const _0x55005a=_0x2bb7;return _0x4162f6[_0x55005a(0x19c)](_0x448c73=>{const _0xe20a21=_0x55005a,_0x791f63=new _0x609401([]),_0x25b1c4=new _0x609401([]);for(const _0x569ff3 of _0x448c73[_0xe20a21(0x1cd)])if(_0xa4b951&&_0xe20a21(0x18b)==_0x569ff3[_0xe20a21(0x1c8)]||_0x25b1c4[_0xe20a21(0x1f8)][_0xe20a21(0x1d5)](_0x569ff3[_0xe20a21(0x1f7)][_0xe20a21(0x1ae)](!0x0)),_0xe20a21(0x1d7)!=_0x569ff3[_0xe20a21(0x1c8)]&&(_0xa4b951||_0xe20a21(0x18b)!=_0x569ff3[_0xe20a21(0x1c8)])){const _0x3b49fe=_0x589c21(_0x3cc2aa=>_0x10603f(_0x3cc2aa,_0xe20a21(0x18e))==_0x569ff3['id'],_0x2714ca,!0x0);_0x3b49fe&&_0x791f63[_0xe20a21(0x1f8)][_0xe20a21(0x1d5)](_0x3b49fe[_0xe20a21(0x1ae)](!0x0));}const {content:_0x1fd3f2,hasChanges:_0x9a0313}=function(_0x35ebbf,_0x5e8bc9,_0x371917,_0x3e5144,_0x445142=!0x0){const _0x20b477=_0xe20a21,_0x2398ea=_0x35ebbf[_0x20b477(0x1fe)][_0x20b477(0x1e3)](_0x20b477(0x1d3)),_0x3a8df8=_0x2cdc89(_0x5e8bc9),_0x3497a2=_0x2cdc89(_0x371917),_0x26799e=_0x35ebbf[_0x20b477(0x193)][_0x20b477(0x1e6)](_0x3a8df8,_0x20b477(0x1af)),_0x517e70=_0x35ebbf[_0x20b477(0x1f3)][_0x20b477(0x1a4)](_0x26799e,0x0),_0xefae9e=_0x2398ea[_0x20b477(0x1bc)](_0x3a8df8,_0x3497a2,{'anchor':_0x517e70,'markDeletions':_0x3e5144}),_0x569c4a=_0xefae9e[_0x20b477(0x1ba)]();if(0x0==_0x569c4a[_0x20b477(0x1a9)])return{'content':_0x5e8bc9[_0x20b477(0x1ae)](!0x0),'hasChanges':!0x1};_0x3e5144?function(_0x14a37b,_0x577ea5,_0xec4f7d){const _0xf4f000=_0x20b477;if(0x0==_0x14a37b[_0xf4f000(0x1a9)])return;const _0x20f849=_0xec4f7d[_0xf4f000(0x1fe)][_0xf4f000(0x1e3)](_0xf4f000(0x1d3)),_0x56bbea=_0xec4f7d[_0xf4f000(0x1fe)][_0xf4f000(0x1e3)](_0xf4f000(0x1db));_0xec4f7d[_0xf4f000(0x1f3)][_0xf4f000(0x197)](_0x52af55=>{const _0xd68f91=_0xf4f000,_0x31ecf2=new Set();for(let _0x2230de=0x0;_0x2230de<_0x14a37b[_0xd68f91(0x1a9)];_0x2230de++){const _0x101591=_0x14a37b[_0x2230de];if(_0x101591[_0xd68f91(0x1eb)]=null,_0x101591[_0xd68f91(0x1a5)]=!0x1,_0x20f849[_0xd68f91(0x1f1)](_0x101591)){const _0x49a234=_0x5e45f9(_0x101591[_0xd68f91(0x1b3)],_0xec4f7d[_0xd68f91(0x1f3)]),_0x1916b4=_0xd68f91(0x1ad)+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x1916b4,_0x49a234);}else switch(_0x101591[_0xd68f91(0x1c8)]){case _0xd68f91(0x1de):{if(_0x101591[_0xd68f91(0x1c2)]==_0x101591[_0xd68f91(0x1c1)])break;_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x101591),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x101591);const _0x44dd29=_0xd68f91(0x19e),_0x5d8745=_0x101591[_0xd68f91(0x19d)],_0x330cda=_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1fc)](_0x5d8745,_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1a4)](_0x5d8745[_0xd68f91(0x1bf)],_0xd68f91(0x1c6))),_0x293e07=_0xd68f91(0x1cc)+_0x44dd29+':'+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x293e07,_0x330cda);break;}case _0xd68f91(0x1ee):case _0xd68f91(0x1ca):case _0xd68f91(0x1e0):{if(_0x101591[_0xd68f91(0x1a7)]==_0x101591[_0xd68f91(0x1f6)])break;_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x101591),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x101591);const _0x5a5c92=_0x101591[_0xd68f91(0x1be)];if(!_0x56bbea[_0xd68f91(0x190)](_0x5a5c92))break;const _0x20361b=_0x5e45f9(_0x101591[_0xd68f91(0x1bb)],_0xec4f7d[_0xd68f91(0x1f3)]),_0x1381ef=_0xd68f91(0x1cc)+_0x5a5c92+':'+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x1381ef,_0x20361b);break;}case _0xd68f91(0x1b8):{_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x101591),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x101591);if(_0x14a37b[_0x2230de+0x1]&&_0xd68f91(0x1b4)==_0x14a37b[_0x2230de+0x1][_0xd68f91(0x1c8)]){no(_0x577ea5,_0x101591);break;}const _0x582fd8=_0x101591[_0xd68f91(0x19d)],_0x5af6a2=_0x101591[_0xd68f91(0x1ff)],_0x2cf54c=_0x5e45f9(_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1fc)](_0x582fd8,_0x582fd8[_0xd68f91(0x198)](_0x5af6a2)),_0xec4f7d[_0xd68f91(0x1f3)]),_0x21a915=_0xd68f91(0x1ce)+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x21a915,_0x2cf54c);break;}case _0xd68f91(0x1c7):{_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x101591),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x101591);const _0x157581=_0x101591[_0xd68f91(0x1a6)],_0x5a4c06=_0x101591[_0xd68f91(0x1f0)],_0xe639ab=_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1fc)](_0x157581,_0x5a4c06),_0x40a88a=_0xd68f91(0x1ce)+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x40a88a,_0xe639ab);break;}case _0xd68f91(0x1b4):{_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x101591),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x101591),_0x14a37b[_0x2230de-0x1]&&_0xd68f91(0x1b8)==_0x14a37b[_0x2230de-0x1][_0xd68f91(0x1c8)]&&no(_0x577ea5,_0x101591);const _0xafd005=_0x101591[_0xd68f91(0x1dd)](),_0x301c7e=_0x101591[_0xd68f91(0x1ff)];for(let _0x11c988=0x0;_0x11c988<_0x301c7e;_0x11c988++){const _0x362476=_0xafd005[_0xd68f91(0x198)](_0x11c988)[_0xd68f91(0x1bf)];_0x31ecf2[_0xd68f91(0x1ab)](_0x362476);}break;}case _0xd68f91(0x1d4):{const _0x1b8538=_0x101591[_0xd68f91(0x1df)],_0x216083=_0x101591[_0xd68f91(0x1ff)],_0x2957d2=new _0x32fa5a(_0x1b8538,_0x216083);_0x52af55[_0xd68f91(0x1a8)][_0xd68f91(0x18d)](_0x2957d2),_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1b1)](_0x2957d2);break;}}}for(const _0x55023e of _0x31ecf2){const _0x2b96d2=_0xec4f7d[_0xd68f91(0x1f3)][_0xd68f91(0x1e4)](_0x55023e),_0x54dae5=_0xd68f91(0x192)+_0x307325()+_0xd68f91(0x1d0);_0x577ea5[_0xd68f91(0x1fb)][_0xd68f91(0x1d1)](_0x54dae5,_0x5e45f9(_0x2b96d2,_0xec4f7d[_0xd68f91(0x1f3)]));}});}(_0x569c4a,_0x26799e,_0x35ebbf):_0x35ebbf[_0x20b477(0x1f3)][_0x20b477(0x197)](_0x3926cf=>{const _0x547b7d=_0x20b477;for(const _0x1218e4 of _0x569c4a)if(_0x547b7d(0x1d4)==_0x1218e4[_0x547b7d(0x1c8)]){const _0x53d98c=_0x1218e4[_0x547b7d(0x1df)],_0x4a112a=_0x1218e4[_0x547b7d(0x1ff)],_0x4495c0=new _0x32fa5a(_0x53d98c,_0x4a112a);_0x3926cf[_0x547b7d(0x1a8)][_0x547b7d(0x18d)](_0x4495c0),_0x35ebbf[_0x547b7d(0x1f3)][_0x547b7d(0x1b1)](_0x4495c0);}else{if(_0x547b7d(0x18f)==_0x1218e4[_0x547b7d(0x1c8)]){const _0x56b1b3=_0x1218e4[_0x547b7d(0x1f2)],_0x384a54=_0x1218e4[_0x547b7d(0x1b3)];null!==_0x384a54?_0x26799e[_0x547b7d(0x1fb)][_0x547b7d(0x1d1)](_0x56b1b3,_0x384a54):_0x26799e[_0x547b7d(0x1fb)][_0x547b7d(0x1fd)](_0x56b1b3);}else _0x1218e4[_0x547b7d(0x1eb)]=null,_0x1218e4[_0x547b7d(0x1a5)]=!0x1,_0x3926cf[_0x547b7d(0x1a8)][_0x547b7d(0x18d)](_0x1218e4),_0x35ebbf[_0x547b7d(0x1f3)][_0x547b7d(0x1b1)](_0x1218e4);}});if(_0x445142){const _0x30bf88=getMinimalSelection(_0x35ebbf,_0x569c4a,_0x26799e);expandSelectionWithContext(_0x35ebbf[_0x20b477(0x1f3)],_0x30bf88),function(_0x26e40c,_0x3a53a9){const _0x256ef3=_0x20b477,_0x5294fd=_0x3a53a9[_0x256ef3(0x196)]()[_0x256ef3(0x1d8)];let _0x2a378c=_0x3a53a9[_0x256ef3(0x196)]()[_0x256ef3(0x1c6)];const _0x339dcd=_0x5294fd[_0x256ef3(0x1a3)];(_0x2a378c[_0x256ef3(0x1e7)]||_0x2a378c[_0x256ef3(0x1bf)]&&_0x2a378c[_0x256ef3(0x1bf)]['is'](_0x256ef3(0x1e8)))&&(_0x474e9e(_0x2a378c,_0x256ef3(0x191)),_0x2a378c=_0x2a378c[_0x256ef3(0x198)](0x3)),(_0x5294fd[_0x256ef3(0x1e7)]||_0x5294fd[_0x256ef3(0x1c5)]&&_0x5294fd[_0x256ef3(0x1c5)]['is'](_0x256ef3(0x1e8)))&&(_0x474e9e(_0x5294fd,_0x256ef3(0x191)),function(_0x488858,_0x338ba0,_0xb8e22f){const _0xb57575=_0x256ef3;for(let [_0x14ab5e,_0x125790]of _0x488858[_0xb57575(0x1fb)]){const _0x2e9f9b=_0x125790[_0xb57575(0x1b0)](_0x338ba0,_0xb8e22f,!0x1);_0x125790=_0x2e9f9b[0x0],_0x488858[_0xb57575(0x1fb)][_0xb57575(0x1d1)](_0x14ab5e,_0x125790);}}(_0x339dcd,_0x5294fd,0x3),_0x5294fd[_0x256ef3(0x1b2)]==_0x2a378c[_0x256ef3(0x1b2)]&&(_0x2a378c=_0x2a378c[_0x256ef3(0x198)](0x3)));const _0x298aad=_0x26e40c[_0x256ef3(0x1fc)](_0x26e40c[_0x256ef3(0x1a4)](_0x339dcd,0x0),_0x5294fd),_0x3c7777=_0x26e40c[_0x256ef3(0x1fc)](_0x2a378c,_0x26e40c[_0x256ef3(0x1a4)](_0x339dcd,_0x256ef3(0x1c6))),_0x48f3ad=[..._0x298aad[_0x256ef3(0x1f9)](),..._0x3c7777[_0x256ef3(0x1f9)]()];_0x48f3ad[_0x256ef3(0x1e5)]();for(const _0x2052f2 of _0x48f3ad)_0x27f276(_0x2052f2),_transformMarkersByDeletion(_0x339dcd,_0x2052f2);}(_0x35ebbf[_0x20b477(0x1f3)],_0x30bf88);}const _0x4b6db0=_0x35ebbf[_0x20b477(0x193)][_0x20b477(0x1aa)](_0x26799e,{'showSuggestionHighlights':!0x0});return{'content':_0x1206ae(_0x4b6db0),'hasChanges':!0x0};}(_0x3cc54c,_0x791f63,_0x25b1c4,_0xa4b951,_0x2ad867);return{'type':_0x448c73[_0xe20a21(0x1cd)][0x0][_0xe20a21(0x1c8)],'index':_0x448c73[_0xe20a21(0x1c0)],'content':_0x1fd3f2,'hasChanges':_0x9a0313};});}function no(_0x28d1d1,_0x4100d5){const _0x3e5b6d=_0x2bb7;for(const [_0x564232,_0x2e9af5]of _0x28d1d1[_0x3e5b6d(0x1fb)]){const _0x4ebd4d=_0x1ae752[_0x3e5b6d(0x1b5)](_0x2e9af5[_0x3e5b6d(0x1d9)](_0x4100d5));_0x28d1d1[_0x3e5b6d(0x1fb)][_0x3e5b6d(0x1d1)](_0x564232,_0x4ebd4d);}}export function getMinimalSelection(_0x2cd076,_0x124576,_0x2b60ff){const _0x47920f=_0x2bb7,_0x137f83=_0x2cd076[_0x47920f(0x1fe)][_0x47920f(0x1e3)](_0x47920f(0x1d3));let _0x97df8d=_0x2cd076[_0x47920f(0x1f3)][_0x47920f(0x1a4)](_0x2b60ff,Number[_0x47920f(0x1ac)]),_0x413645=_0x2cd076[_0x47920f(0x1f3)][_0x47920f(0x1a4)](_0x2b60ff,0x0);for(const _0x49a728 of _0x124576){let _0x1b1065,_0x3700bb;if(_0x137f83[_0x47920f(0x1f1)](_0x49a728))_0x1b1065=_0x49a728[_0x47920f(0x1b3)][_0x47920f(0x1d8)],_0x3700bb=_0x49a728[_0x47920f(0x1b3)][_0x47920f(0x1c6)];else switch(_0x97df8d=_0x97df8d[_0x47920f(0x1d9)](_0x49a728),_0x413645=_0x413645[_0x47920f(0x1d9)](_0x49a728),_0x49a728[_0x47920f(0x1c8)]){case _0x47920f(0x1de):_0x1b1065=_0x49a728[_0x47920f(0x19d)],_0x3700bb=_0x1b1065[_0x47920f(0x198)](0x1);break;case _0x47920f(0x1ee):case _0x47920f(0x1ca):case _0x47920f(0x1e0):_0x1b1065=_0x49a728[_0x47920f(0x1bb)][_0x47920f(0x1d8)],_0x3700bb=_0x49a728[_0x47920f(0x1bb)][_0x47920f(0x1c6)];break;case _0x47920f(0x1b8):_0x1b1065=_0x49a728[_0x47920f(0x19d)],_0x3700bb=_0x1b1065[_0x47920f(0x198)](_0x49a728[_0x47920f(0x1ff)]);break;case _0x47920f(0x1c7):_0x1b1065=_0x49a728[_0x47920f(0x1a6)],_0x3700bb=_0x49a728[_0x47920f(0x1f0)];break;case _0x47920f(0x1ea):{const _0xdae6=_0x49a728[_0x47920f(0x1ef)][_0x47920f(0x1c3)][_0x47920f(0x1d2)](0x0,-0x1);_0x1b1065=_0x2cd076[_0x47920f(0x1f3)][_0x47920f(0x1a2)](_0x2b60ff,_0xdae6),_0x3700bb=_0x1b1065[_0x47920f(0x198)](0x1);break;}case _0x47920f(0x1d4):{const _0x8ad9bc=_0x49a728[_0x47920f(0x1ff)],_0x492654=_0x49a728[_0x47920f(0x1df)][_0x47920f(0x1b0)](_0x49a728[_0x47920f(0x1ef)],_0x8ad9bc),_0x5c5d52=_0x49a728[_0x47920f(0x1dd)]();_0x47920f(0x1d4)==_0x49a728[_0x47920f(0x1c8)]?(_0x1b1065=_0x492654,_0x3700bb=_0x492654):(_0x1b1065=_0x5c5d52,_0x3700bb=_0x5c5d52[_0x47920f(0x198)](_0x8ad9bc));break;}}_0x1b1065&&_0x1b1065[_0x47920f(0x1e9)](_0x97df8d)&&(_0x97df8d=_0x1b1065[_0x47920f(0x1a1)](),_0x97df8d[_0x47920f(0x1a0)]=_0x47920f(0x19a)),_0x3700bb&&_0x3700bb[_0x47920f(0x1cf)](_0x413645)&&(_0x413645=_0x3700bb[_0x47920f(0x1a1)](),_0x413645[_0x47920f(0x1a0)]=_0x47920f(0x19a));}return _0x2cd076[_0x47920f(0x1f3)][_0x47920f(0x1f5)](_0x2cd076[_0x47920f(0x1f3)][_0x47920f(0x1fc)](_0x97df8d,_0x413645));}function _0x2bb7(_0x37e87c,_0xcd46c7){const _0x2fa466=_0x2fa4();return _0x2bb7=function(_0x2bb75e,_0x523fc2){_0x2bb75e=_0x2bb75e-0x18b;let _0x491f1e=_0x2fa466[_0x2bb75e];return _0x491f1e;},_0x2bb7(_0x37e87c,_0xcd46c7);}export function expandSelectionWithContext(_0x43e9cb,_0x541798){const _0x29c156=_0x2bb7;ro(_0x43e9cb,_0x541798,_0x29c156(0x1da));const _0xd26038=_0x541798[_0x29c156(0x196)]();_0x541798[_0x29c156(0x1b6)]([]),_0x541798[_0x29c156(0x1b6)](_0xd26038,{'backward':!0x0}),ro(_0x43e9cb,_0x541798,_0x29c156(0x1fa));}function ro(_0x759450,_0x5d3f3a,_0x5b5bfc){const _0x573807=_0x2bb7;let _0x5427c3=0x14;for(;_0x5427c3;){_0x759450[_0x573807(0x1cb)](_0x5d3f3a,{'unit':_0x573807(0x195),'direction':_0x5b5bfc}),_0x5427c3--;const _0x25653d=_0x5d3f3a[_0x573807(0x19f)][_0x573807(0x1da)==_0x5b5bfc?_0x573807(0x1c5):_0x573807(0x1bf)];if(_0x25653d&&_0x25653d['is'](_0x573807(0x19b))&&_0x759450[_0x573807(0x194)][_0x573807(0x1dc)](_0x25653d)&&_0x759450[_0x573807(0x194)][_0x573807(0x1bd)](_0x25653d))break;}}export function _transformMarkersByDeletion(_0x39b9e3,_0x3512ef){const _0x1274d5=_0x2bb7;for(const [_0x281d87,_0x4b4b56]of _0x39b9e3[_0x1274d5(0x1fb)]){const _0x5af574=_0x4b4b56[_0x1274d5(0x199)](_0x3512ef[_0x1274d5(0x1d8)],_0x3512ef[_0x1274d5(0x1c6)][_0x1274d5(0x1b9)]-_0x3512ef[_0x1274d5(0x1d8)][_0x1274d5(0x1b9)]);null!=_0x5af574?_0x39b9e3[_0x1274d5(0x1fb)][_0x1274d5(0x1d1)](_0x281d87,_0x5af574):_0x39b9e3[_0x1274d5(0x1fb)][_0x1274d5(0x1fd)](_0x281d87);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x33be57,_0x3fad1b){const _0x512832=_0x50b3,_0x290134=_0x33be57();while(!![]){try{const _0x53d685=parseInt(_0x512832(0x184))/0x1+parseInt(_0x512832(0x174))/0x2+-parseInt(_0x512832(0x171))/0x3*(parseInt(_0x512832(0x17a))/0x4)+parseInt(_0x512832(0x17b))/0x5+parseInt(_0x512832(0x183))/0x6+parseInt(_0x512832(0x172))/0x7+-parseInt(_0x512832(0x17f))/0x8;if(_0x53d685===_0x3fad1b)break;else _0x290134['push'](_0x290134['shift']());}catch(_0x319fef){_0x290134['push'](_0x290134['shift']());}}}(_0x2330,0x7b173));import{parseDocument as _0x577853}from'htmlparser2';import{append as _0x34e236,appendChild as _0x49cc27,find as _0xb26b89,findAll as _0x2302c9,findOne as _0x40617e,getChildren as _0x5d8f23,isComment as _0x44bd7a,isTag as _0x66363e,prepend as _0x54e856,prependChild as _0x166897,removeElement as _0x493d8f,replaceElement as _0x40ba64,textContent as _0x4d454e,getParent as _0x26903e,hasChildren as _0x2637d2}from'domutils';import _0x3eb1ca from'dom-serializer';import{cloneNode as _0x94a1e7,isDocument as _0x29750e,isText as _0x146776,Element as _0xf181c1,Text as _0x217d71,Document as _0x4a4e8c,NodeWithChildren as _0x27aec7}from'domhandler';export{_0x94a1e7 as cloneNode,_0xb26b89 as find,_0x40617e as findOne,_0x2302c9 as findAll,_0x5d8f23 as getChildren,_0x26903e as getParent,_0x44bd7a as isComment,_0x29750e as isDocument,_0x66363e as isTag,_0x146776 as isText,_0x34e236 as append,_0x49cc27 as appendChild,_0x54e856 as prepend,_0x166897 as prependChild,_0x3eb1ca as render,_0x493d8f as removeElement,_0x40ba64 as replaceElement,_0x4d454e as textContent,_0x2637d2 as hasChildren,_0xf181c1 as Element,_0x4a4e8c as Document,_0x27aec7 as NodeWithChildren,_0x217d71 as Text};export function parse(_0x113ae6){return _0x577853(_0x113ae6);}export function serialize(_0x352bcc){return _0x3eb1ca(_0x352bcc);}export function findByAttribute(_0x2ad266,_0x5f5963,_0x5a8cd9){const _0x5d3626=_0x50b3,_0x2bcd99=null!==_0x5f5963?_0xc47ffd=>_0xc47ffd[_0x5d3626(0x182)][_0x2ad266]===_0x5f5963:_0xb07c45=>Boolean(_0xb07c45[_0x5d3626(0x182)][_0x2ad266]);return _0x40617e(_0x35d81d=>_0x66363e(_0x35d81d)&&_0x2bcd99(_0x35d81d),_0x5a8cd9);}export function findAllByAttribute(_0x46499,_0x96f79a,_0x128b76){const _0x4c9e22=_0x50b3,_0x12131c=null!==_0x96f79a?_0x53214f=>_0x53214f[_0x4c9e22(0x182)][_0x46499]===_0x96f79a:_0x3a730f=>Boolean(_0x3a730f[_0x4c9e22(0x182)][_0x46499]);return _0x2302c9(_0x3a2bd6=>_0x66363e(_0x3a2bd6)&&_0x12131c(_0x3a2bd6),_0x128b76);}export function findAllComments(_0x19fc7b){return _0xb26b89(_0x17902c=>_0x44bd7a(_0x17902c),_0x19fc7b,!0x0,0x1/0x0);}export function getAttribute(_0x3e8d4b,_0x330f9b){const _0x40a765=_0x50b3;return _0x3e8d4b&&_0x66363e(_0x3e8d4b)?_0x3e8d4b[_0x40a765(0x182)][_0x330f9b]:null;}export function setAttribute(_0x35e8af,_0x153801,_0x291c1e){const _0x1be283=_0x50b3;_0x66363e(_0x35e8af)&&(null===_0x291c1e?delete _0x35e8af[_0x1be283(0x182)][_0x153801]:_0x35e8af[_0x1be283(0x182)][_0x153801]=_0x291c1e);}function _0x2330(){const _0x5334d0=['attribs','5467140UdoAnq','954216UwjqmV','cloneNode','slice','forEach','1763106oyDTNh','2729993mChuMp','push','96168uUZaAJ','map','parentNode','reverse','indexOf','afterend','4qMdSQY','4797260PDoycT','beforebegin','afterbegin','replace','17368480bSyDhF','beforeend','nextSibling'];_0x2330=function(){return _0x5334d0;};return _0x2330();}export function insertElement(_0x424470,_0x416436,_0x3ce764){const _0x52181f=_0x50b3,_0x3737d8=_0x416436[_0x52181f(0x185)](!0x0);_0x52181f(0x17c)===_0x3ce764?_0x54e856(_0x424470,_0x3737d8):_0x52181f(0x17d)===_0x3ce764?_0x166897(_0x424470,_0x3737d8):_0x52181f(0x180)===_0x3ce764?_0x49cc27(_0x424470,_0x3737d8):_0x52181f(0x179)===_0x3ce764&&_0x34e236(_0x424470,_0x3737d8);}export function moveElement(_0x26abfd,_0x950519){_0x493d8f(_0x26abfd),_0x40ba64(_0x950519,_0x26abfd);}export function clone(_0x11089a){const _0x4ac177=_0x50b3;return _0x11089a[_0x4ac177(0x185)](!0x0);}export function getParents(_0x41a024){const _0x4a4415=_0x50b3,_0x3a6a19=[];let _0x3e9d85=_0x41a024;for(;_0x3e9d85;)_0x3e9d85=_0x26903e(_0x3e9d85),_0x3e9d85&&_0x3a6a19[_0x4a4415(0x173)](_0x3e9d85);return _0x3a6a19;}export function normalizeHTML(_0x19a13c){const _0x1a2eaa=_0x50b3;return _0x19a13c[_0x1a2eaa(0x17e)](/^\s+/gm,'')[_0x1a2eaa(0x17e)](/\s+$/gm,'')[_0x1a2eaa(0x17e)](/\n*/g,'')[_0x1a2eaa(0x17e)](/\s+/g,'\x20')[_0x1a2eaa(0x17e)](/>\s*</g,'><');}export function areNodesSame(_0x23ff85,_0x3a5b03){return normalizeHTML(serialize(_0x23ff85))===normalizeHTML(serialize(_0x3a5b03));}export function getNodeNestingLevel(_0x35435e){const _0x409927=_0x50b3;let _0x327eb3=0x0;for(;_0x35435e[_0x409927(0x176)];)_0x35435e=_0x35435e[_0x409927(0x176)],_0x327eb3++;return _0x327eb3;}function _0x50b3(_0x35085b,_0xb05199){const _0x23302e=_0x2330();return _0x50b3=function(_0x50b38f,_0x245e16){_0x50b38f=_0x50b38f-0x171;let _0x5f22d0=_0x23302e[_0x50b38f];return _0x5f22d0;},_0x50b3(_0x35085b,_0xb05199);}export function removeElementsAfter(_0x294a94){const _0x568d95=_0x50b3,_0x354d85=[];let _0x3c59b7=_0x294a94[_0x568d95(0x181)];for(;_0x3c59b7;)_0x354d85[_0x568d95(0x173)](_0x3c59b7),_0x3c59b7=_0x3c59b7[_0x568d95(0x181)];_0x354d85[_0x568d95(0x187)](_0x2db2a7=>{_0x493d8f(_0x2db2a7);});}export function getNodePath(_0xb3b143){const _0x346b2f=_0x50b3;return[_0xb3b143,...getParents(_0xb3b143)][_0x346b2f(0x186)](0x0,-0x1)[_0x346b2f(0x175)](_0x4832d7=>{const _0x53c0ff=_0x346b2f,_0x4e9232=_0x26903e(_0x4832d7);return _0x5d8f23(_0x4e9232)[_0x53c0ff(0x178)](_0x4832d7);})[_0x346b2f(0x177)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x103900=_0xaf60;(function(_0x2097d9,_0x58b912){const _0x196624=_0xaf60,_0x55fd75=_0x2097d9();while(!![]){try{const _0x198155=parseInt(_0x196624(0x1a2))/0x1+-parseInt(_0x196624(0x1a3))/0x2*(-parseInt(_0x196624(0x1b3))/0x3)+parseInt(_0x196624(0x198))/0x4*(-parseInt(_0x196624(0x19c))/0x5)+-parseInt(_0x196624(0x1b5))/0x6*(parseInt(_0x196624(0x1b0))/0x7)+parseInt(_0x196624(0x19e))/0x8+parseInt(_0x196624(0x193))/0x9+-parseInt(_0x196624(0x18e))/0xa*(parseInt(_0x196624(0x18b))/0xb);if(_0x198155===_0x58b912)break;else _0x55fd75['push'](_0x55fd75['shift']());}catch(_0x32de50){_0x55fd75['push'](_0x55fd75['shift']());}}}(_0xb5c8,0x908d0));import _0x555f0b from'morphdom';import{NodeWithChildren as _0x340496,Text as _0x45c8a3,Element as _0x122069,isText as _0x122386,isDocument as _0x3f53d8,isTag as _0x4d2756,cloneNode as _0x220b92,getChildren as _0xfa07a8,prepend as _0x293668,removeElement as _0x8302b0,textContent as _0x12a244,render as _0x158438}from'./htmlparser.js';export class HTMLStreamer{[_0x103900(0x1a7)];[_0x103900(0x1ad)]=!0x1;[_0x103900(0x199)]=null;[_0x103900(0x1a6)]=[];[_0x103900(0x186)]=0x0;[_0x103900(0x194)]=null;[_0x103900(0x1ae)]=0x0;constructor(_0x540e5a){const _0x3d9cf9=_0x103900;this[_0x3d9cf9(0x1a7)]={'delay':_0x540e5a[_0x3d9cf9(0x1ba)]??0x14,'textNodeStyle':_0x540e5a[_0x3d9cf9(0x182)],'onStreamUpdate':_0x540e5a[_0x3d9cf9(0x1be)]||(()=>{})};}async[_0x103900(0x1b2)]({document:_0x4c1f1a,targetElement:_0x352d80,abortSignal:_0x474565}){const _0x337625=_0x103900;this[_0x337625(0x1ad)]&&this[_0x337625(0x1b9)](),_0x474565?.[_0x337625(0x184)](_0x337625(0x19a),this[_0x337625(0x1b9)][_0x337625(0x1bb)](this)),this[_0x337625(0x199)]=_0x220b92(_0x4c1f1a,!0x0),this[_0x337625(0x1a6)]=this[_0x337625(0x189)](),this[_0x337625(0x1ad)]=!0x0,this[_0x337625(0x186)]>this[_0x337625(0x1a6)][_0x337625(0x190)]&&(this[_0x337625(0x186)]=this[_0x337625(0x1a6)][_0x337625(0x190)]);for(let _0x232b82=0x0;_0x232b82<this[_0x337625(0x186)];_0x232b82++)this[_0x337625(0x1a6)][_0x232b82][_0x337625(0x1a0)]=!0x0;do{const _0x2cb4ab=Date[_0x337625(0x1af)](),_0x3d2135=this[_0x337625(0x1a6)][this[_0x337625(0x186)]],_0x35b48e=_0x2cb4ab-this[_0x337625(0x1ae)];if(_0x3d2135){_0x3d2135[_0x337625(0x1a0)]=!0x0;let _0x57313d=_0x3d2135[_0x337625(0x192)];for(;_0x57313d;)_0x57313d[_0x337625(0x1a0)]=!0x0,_0x57313d=_0x57313d[_0x337625(0x192)];}if(_0x35b48e<this[_0x337625(0x1a7)][_0x337625(0x1ba)])try{const {promise:_0x53aa1e,abortController:_0x32308d}=Ls(this[_0x337625(0x1a7)][_0x337625(0x1ba)]-_0x35b48e);this[_0x337625(0x194)]=_0x32308d,await _0x53aa1e;}catch(_0x508382){return;}_0x555f0b(_0x352d80,'<'+_0x352d80[_0x337625(0x18f)]+'>'+this[_0x337625(0x19d)](this[_0x337625(0x199)])+'</'+_0x352d80[_0x337625(0x18f)]+'>',{'childrenOnly':!0x0}),this[_0x337625(0x1a7)][_0x337625(0x1be)]&&this[_0x337625(0x1a7)][_0x337625(0x1be)](),this[_0x337625(0x186)]++,this[_0x337625(0x1ae)]=Date[_0x337625(0x1af)]();}while(this[_0x337625(0x186)]<this[_0x337625(0x1a6)][_0x337625(0x190)]);this[_0x337625(0x186)]=this[_0x337625(0x1a6)][_0x337625(0x190)],this[_0x337625(0x1ad)]=!0x1;}[_0x103900(0x1ab)](){const _0x13b56d=_0x103900;this[_0x13b56d(0x1ad)]=!0x1,this[_0x13b56d(0x199)]=null,this[_0x13b56d(0x1a6)]=[],this[_0x13b56d(0x186)]=0x0,this[_0x13b56d(0x194)]=null;}[_0x103900(0x1ac)]({targetElement:_0x2003b9}){const _0x364a21=_0x103900;Array[_0x364a21(0x185)](_0x2003b9[_0x364a21(0x187)](_0x364a21(0x1a9)))[_0x364a21(0x1bc)]()[_0x364a21(0x1bd)](_0x13ffc3=>{const _0x58f3dd=_0x364a21;_0x13ffc3[_0x58f3dd(0x188)](_0x13ffc3[_0x58f3dd(0x195)][0x0]);});}[_0x103900(0x1b9)](){const _0x1bb49e=_0x103900;this[_0x1bb49e(0x1ad)]=!0x1,this[_0x1bb49e(0x194)]&&(this[_0x1bb49e(0x194)][_0x1bb49e(0x19a)](),this[_0x1bb49e(0x194)]=null);}[_0x103900(0x19d)](_0x4aac1f){const _0x49b829=_0x103900;let _0x1e4dea='';if(function(_0x143c96){return _0x3f53d8(_0x143c96);}(_0x4aac1f)){for(const _0xbc0d8c of _0x4aac1f[_0x49b829(0x1a1)])_0x1e4dea+=this[_0x49b829(0x19d)](_0xbc0d8c);}else{if(Ds(_0x4aac1f)){if(!_0x4aac1f[_0x49b829(0x1a0)])return'';const _0x395995=_0x4aac1f,_0x1d9991=Object[_0x49b829(0x1b1)](_0x395995[_0x49b829(0x1b4)])[_0x49b829(0x1b6)](([_0x27ff1f,_0x31e605])=>_0x27ff1f+'=\x22'+_0x31e605+'\x22')[_0x49b829(0x1bf)]('\x20');_0x1e4dea+='<'+_0x395995[_0x49b829(0x18f)]+(_0x1d9991?'\x20'+_0x1d9991:'')+'>';for(const _0x2ee224 of _0xfa07a8(_0x395995))_0x1e4dea+=this[_0x49b829(0x19d)](_0x2ee224);_0x1e4dea+='</'+_0x395995[_0x49b829(0x18f)]+'>';}else{if(!Ts(_0x4aac1f))return'';if(!_0x4aac1f[_0x49b829(0x1a0)])return'';!function(_0x4b7b7f){const _0x3d4f2f=_0x49b829;if(!_0x4b7b7f[_0x3d4f2f(0x192)]||!Ds(_0x4b7b7f[_0x3d4f2f(0x192)]))return!0x1;if(!ys[_0x3d4f2f(0x196)](_0x4b7b7f[_0x3d4f2f(0x192)][_0x3d4f2f(0x18f)]))return!0x1;return!_0x12a244(_0x4b7b7f)[_0x3d4f2f(0x19b)](/^\s*[<>]\s*$/);}(_0x4aac1f)?_0x1e4dea+=_0x158438(_0x4aac1f):_0x1e4dea+=_0x158438(new _0x122069(_0x49b829(0x18d),{'data-ck-html-streamer-word-chunk':'','style':this[_0x49b829(0x1a7)][_0x49b829(0x182)]},[_0x4aac1f]));}}return _0x1e4dea;}[_0x103900(0x189)](){const _0x5a5b1d=_0x103900,_0x69468a=[];return function(_0x13548d,_0x2f2d53){const _0x1a2b29=_0xaf60,_0x121bb7=_0x3f02ec=>{const _0x139b94=_0xaf60;if(_0x2f2d53(_0x3f02ec),_0x3f02ec instanceof _0x340496)for(let _0x38b0ac=0x0;_0x38b0ac<_0x3f02ec[_0x139b94(0x1a1)][_0x139b94(0x190)];_0x38b0ac++){const _0x46d971=_0x3f02ec[_0x139b94(0x1a1)][_0x38b0ac];_0x121bb7(_0x46d971);}};for(let _0x5a11f4=0x0;_0x5a11f4<_0x13548d[_0x1a2b29(0x1a1)][_0x1a2b29(0x190)];_0x5a11f4++)_0x121bb7(_0x13548d[_0x1a2b29(0x1a1)][_0x5a11f4]);}(this[_0x5a5b1d(0x199)],_0x2eed71=>{const _0x54e5da=_0x5a5b1d;if(Ts(_0x2eed71)){const _0x26fefb=this[_0x54e5da(0x191)](_0x2eed71);_0x26fefb[_0x54e5da(0x190)]&&_0x69468a[_0x54e5da(0x183)](..._0x26fefb);}_0x2eed71[_0x54e5da(0x1b8)]||_0x2eed71[_0x54e5da(0x1aa)]||_0x69468a[_0x54e5da(0x183)](_0x2eed71);}),_0x69468a;}[_0x103900(0x191)](_0x59302f){const _0x5a80d4=_0x103900;if(_0x59302f[_0x5a80d4(0x1b8)]||_0x59302f[_0x5a80d4(0x1aa)])return[];const _0x46d92b=_0x12a244(_0x59302f)[_0x5a80d4(0x19b)](/(?:\s*\S+\s*)/g),_0xa24b47=[];if(_0x46d92b&&_0x46d92b[_0x5a80d4(0x190)]>0x1){for(const _0x2a271f of _0x46d92b){const _0x9154c2=new _0x45c8a3(_0x2a271f);_0x9154c2[_0x5a80d4(0x1aa)]=!0x0,_0x293668(_0x59302f,_0x9154c2),_0xa24b47[_0x5a80d4(0x183)](_0x9154c2);}_0x59302f[_0x5a80d4(0x1b8)]=!0x0,_0x8302b0(_0x59302f);}return _0xa24b47;}}const ys=['p','li','td','th',_0x103900(0x18d),'h1','h2','h3','h4','h5','h6','b',_0x103900(0x1a8),'i','em',_0x103900(0x18c),_0x103900(0x18a),_0x103900(0x1a5),_0x103900(0x197),_0x103900(0x1a4),'a',_0x103900(0x181),_0x103900(0x19f)];function Ts(_0x6f31b6){return _0x122386(_0x6f31b6);}function _0xaf60(_0x1558ad,_0x43d515){const _0xb5c86e=_0xb5c8();return _0xaf60=function(_0xaf60b9,_0x1ab054){_0xaf60b9=_0xaf60b9-0x181;let _0x47feab=_0xb5c86e[_0xaf60b9];return _0x47feab;},_0xaf60(_0x1558ad,_0x43d515);}function Ds(_0x4af1c4){return _0x4d2756(_0x4af1c4);}function Ls(_0x3e822b){const _0x5b8cb6=new AbortController();return{'promise':new Promise((_0xe69d66,_0x3f12bf)=>{const _0x1b5716=_0xaf60,_0x4ee04b=setTimeout(_0xe69d66,_0x3e822b);_0x5b8cb6[_0x1b5716(0x1b7)][_0x1b5716(0x184)](_0x1b5716(0x19a),()=>{clearTimeout(_0x4ee04b),_0x3f12bf();});}),'abortController':_0x5b8cb6};}function _0xb5c8(){const _0x3f8a19=['span[data-ck-html-streamer-word-chunk]','isWordSplitResult','reset','cleanUpAnimations','isStreaming','lastUpdateTime','now','49SWImqS','entries','stream','108726EuUQRa','attribs','284490QvNLSm','map','signal','isWordSplitSource','stop','delay','bind','reverse','forEach','onStreamUpdate','join','code','textNodeStyle','push','addEventListener','from','currentIndex','querySelectorAll','replaceWith','getParsedDocumentNodeList','del','858njkdIq','mark','span','205070OHNtIa','tagName','length','splitTextNodeIntoWordNodes','parent','6730092CMPcKH','timeoutAbortController','childNodes','includes','sup','1714468zviDGj','document','abort','match','5FfYLiU','renderNode','8898872Bafegb','div','shouldBeStreamed','children','729581XkMdQI','20sIrwjk','sub','ins','nodesList','options','strong'];_0xb5c8=function(){return _0x3f8a19;};return _0xb5c8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4c0e(_0x2269c5,_0x2394e1){const _0xdbbd65=_0xdbbd();return _0x4c0e=function(_0x4c0e43,_0x91ec16){_0x4c0e43=_0x4c0e43-0x18e;let _0xf32d22=_0xdbbd65[_0x4c0e43];return _0xf32d22;},_0x4c0e(_0x2269c5,_0x2394e1);}function _0xdbbd(){const _0x3944dc=['scrollTo','_stop','524774zfCqac','1580njjdFG','element','PageUp','11lPYThZ','26341iShNkv','30761185jOmaOy','isRunning','bind','End','touchstart','150bdVnSt','_onUserEvent','start','725445fQKtHt','signal','key','ArrowDown','Home','2152gtCUQU','animationFrameId','destroy','keydown','stop','auto','type','_isAtBottom','17078628MvcCij','abortController','addEventListener','wheel','27582ZXpQpO','scrollHeight','_rafUpdate','2399932kxNaPN','isUserPaused','deltaY','PageDown','includes','pointerdown','3WSkWjH','ArrowUp','abort','6wPDLMy'];_0xdbbd=function(){return _0x3944dc;};return _0xdbbd();}const _0x53c29e=_0x4c0e;(function(_0x32d4ad,_0x3dfba8){const _0x152bf6=_0x4c0e,_0x41b702=_0x32d4ad();while(!![]){try{const _0x54149a=parseInt(_0x152bf6(0x191))/0x1*(parseInt(_0x152bf6(0x18e))/0x2)+parseInt(_0x152bf6(0x1b9))/0x3*(-parseInt(_0x152bf6(0x1b3))/0x4)+-parseInt(_0x152bf6(0x192))/0x5*(-parseInt(_0x152bf6(0x1b0))/0x6)+-parseInt(_0x152bf6(0x196))/0x7*(-parseInt(_0x152bf6(0x1a4))/0x8)+parseInt(_0x152bf6(0x19f))/0x9*(parseInt(_0x152bf6(0x19c))/0xa)+parseInt(_0x152bf6(0x195))/0xb*(-parseInt(_0x152bf6(0x1ac))/0xc)+-parseInt(_0x152bf6(0x197))/0xd;if(_0x54149a===_0x3dfba8)break;else _0x41b702['push'](_0x41b702['shift']());}catch(_0x5e613f){_0x41b702['push'](_0x41b702['shift']());}}}(_0xdbbd,0xd1ae1));const Fs=[_0x53c29e(0x1af),_0x53c29e(0x19b),_0x53c29e(0x1b8),_0x53c29e(0x1a7)],Us=[_0x53c29e(0x1ba),_0x53c29e(0x1a2),_0x53c29e(0x194),_0x53c29e(0x1b6),_0x53c29e(0x1a3),_0x53c29e(0x19a),'\x20'];export class ScrollManager{[_0x53c29e(0x193)];[_0x53c29e(0x1a5)];[_0x53c29e(0x198)];[_0x53c29e(0x1ad)];[_0x53c29e(0x1b4)];constructor(_0x4c3f26){const _0x5174be=_0x53c29e;this[_0x5174be(0x193)]=_0x4c3f26,this[_0x5174be(0x1a5)]=null,this[_0x5174be(0x198)]=!0x1,this[_0x5174be(0x1ad)]=new AbortController(),this[_0x5174be(0x1b4)]=!0x1;for(const _0xc7c3d of Fs){const _0x3b7c87=_0x5174be(0x1a7)!==_0xc7c3d;this[_0x5174be(0x193)][_0x5174be(0x1ae)](_0xc7c3d,this[_0x5174be(0x19d)][_0x5174be(0x199)](this),{'passive':_0x3b7c87,'signal':this[_0x5174be(0x1ad)][_0x5174be(0x1a0)]});}}[_0x53c29e(0x19e)](){const _0x369f7c=_0x53c29e;this[_0x369f7c(0x198)]||(this[_0x369f7c(0x198)]=!0x0,this[_0x369f7c(0x1b4)]=!0x1,this[_0x369f7c(0x1a5)]=requestAnimationFrame(this[_0x369f7c(0x1b2)][_0x369f7c(0x199)](this)));}[_0x53c29e(0x1a8)](){requestAnimationFrame(()=>{const _0x4364f8=_0x4c0e;this[_0x4364f8(0x190)]();});}[_0x53c29e(0x1a6)](){const _0x25846b=_0x53c29e;this[_0x25846b(0x190)](),this[_0x25846b(0x1ad)][_0x25846b(0x1bb)]();}[_0x53c29e(0x190)](){const _0x6e28a7=_0x53c29e;null!==this[_0x6e28a7(0x1a5)]&&(cancelAnimationFrame(this[_0x6e28a7(0x1a5)]),this[_0x6e28a7(0x1a5)]=null),this[_0x6e28a7(0x198)]&&(this[_0x6e28a7(0x198)]=!0x1),this[_0x6e28a7(0x1b4)]=!0x1;}[_0x53c29e(0x19d)](_0x5cc868){const _0x47d7c1=_0x53c29e;if(this[_0x47d7c1(0x198)]){if(_0x47d7c1(0x1a7)===_0x5cc868[_0x47d7c1(0x1aa)]){const _0x3de6f9=_0x5cc868[_0x47d7c1(0x1a1)];if(!Us[_0x47d7c1(0x1b7)](_0x3de6f9))return;}_0x5cc868 instanceof WheelEvent?_0x5cc868[_0x47d7c1(0x1b5)]<0x0?this[_0x47d7c1(0x1b4)]=!0x0:this[_0x47d7c1(0x1b4)]=!this[_0x47d7c1(0x1ab)]():this[_0x47d7c1(0x1b4)]=!0x0;}}[_0x53c29e(0x1ab)](){const _0xbea9d7=_0x53c29e,{scrollTop:_0xcd8658,scrollHeight:_0x59c73b,clientHeight:_0x2335db}=this[_0xbea9d7(0x193)];return _0x59c73b-_0xcd8658-_0x2335db<=0x5;}[_0x53c29e(0x1b2)](){const _0x27cd43=_0x53c29e;this[_0x27cd43(0x198)]&&(this[_0x27cd43(0x1b4)]||this[_0x27cd43(0x193)][_0x27cd43(0x18f)]({'top':this[_0x27cd43(0x193)][_0x27cd43(0x1b1)],'behavior':_0x27cd43(0x1a9)}),this[_0x27cd43(0x1a5)]=requestAnimationFrame(this[_0x27cd43(0x1b2)][_0x27cd43(0x199)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x31684b=_0x466c;(function(_0x31e853,_0x1fc3b7){var _0x53e323=_0x466c,_0x2edb6f=_0x31e853();while(!![]){try{var _0x32cd05=-parseInt(_0x53e323(0x198))/0x1+parseInt(_0x53e323(0x18b))/0x2*(parseInt(_0x53e323(0x18e))/0x3)+parseInt(_0x53e323(0x18f))/0x4*(-parseInt(_0x53e323(0x197))/0x5)+-parseInt(_0x53e323(0x196))/0x6*(-parseInt(_0x53e323(0x190))/0x7)+-parseInt(_0x53e323(0x18c))/0x8*(parseInt(_0x53e323(0x19b))/0x9)+parseInt(_0x53e323(0x194))/0xa+parseInt(_0x53e323(0x193))/0xb*(parseInt(_0x53e323(0x199))/0xc);if(_0x32cd05===_0x1fc3b7)break;else _0x2edb6f['push'](_0x2edb6f['shift']());}catch(_0x5c19c3){_0x2edb6f['push'](_0x2edb6f['shift']());}}}(_0x32b8,0xe49d6));import{Plugin as _0x4dca03}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x1972c9}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0xb27a35}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x3dcf51}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x32b8(){var _0x247a62=['AIEditorIntegration','1336539IGhhvO','8092FMYLBR','6937Uzmhuu','isOfficialPlugin','isPremiumPlugin','25872reJPfg','17059850Ozlbpt','pluginName','6156alxfXF','2945qStwXH','1427699DqboHa','7968rPnvyx','requires','3195wwKNGm','2FJtYuy','26464IWhzKt'];_0x32b8=function(){return _0x247a62;};return _0x32b8();}function _0x466c(_0x2372a7,_0x179d90){var _0x32b8af=_0x32b8();return _0x466c=function(_0x466ca6,_0x27bacd){_0x466ca6=_0x466ca6-0x18b;var _0x131a2c=_0x32b8af[_0x466ca6];return _0x131a2c;},_0x466c(_0x2372a7,_0x179d90);}export class AIEditorIntegration extends _0x4dca03{static get[_0x31684b(0x19a)](){return[_0x1972c9,_0xb27a35,_0x3dcf51];}static get[_0x31684b(0x195)](){var _0x21a3f2=_0x31684b;return _0x21a3f2(0x18d);}static get[_0x31684b(0x191)](){return!0x0;}static get[_0x31684b(0x192)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3c32(){const _0x44a2fc=['get','isOfficialPlugin','3NuWrcB','6398622WliNAL','menuBar:toggleAi','5165ZxWjcD','30HXAePa','locale','901516bkdaMa','listenTo','add','set','pluginName','_createAIUIButton','AIToggleButtonUI','bind','requires','isPremiumPlugin','value','7502352ecjyAW','menuitemcheckbox','1482MeIYWQ','init','componentFactory','isEnabled','25460DRVLEM','execute','ck-ai-toggle-button','editor','AI_TOGGLE_BUTTON_LABEL','11671uGipxL','80449EDExix','isOn','toggleAi','commands','6632136NhsSUC'];_0x3c32=function(){return _0x44a2fc;};return _0x3c32();}const _0x42a959=_0x2237;(function(_0x3e0476,_0x1a61f7){const _0x2e2933=_0x2237,_0x20bc8c=_0x3e0476();while(!![]){try{const _0x4932e0=-parseInt(_0x2e2933(0x1a4))/0x1*(parseInt(_0x2e2933(0x18b))/0x2)+parseInt(_0x2e2933(0x187))/0x3*(-parseInt(_0x2e2933(0x18d))/0x4)+-parseInt(_0x2e2933(0x18a))/0x5*(-parseInt(_0x2e2933(0x19a))/0x6)+-parseInt(_0x2e2933(0x1a8))/0x7+parseInt(_0x2e2933(0x198))/0x8+-parseInt(_0x2e2933(0x188))/0x9+-parseInt(_0x2e2933(0x19e))/0xa*(-parseInt(_0x2e2933(0x1a3))/0xb);if(_0x4932e0===_0x1a61f7)break;else _0x20bc8c['push'](_0x20bc8c['shift']());}catch(_0x30e6c5){_0x20bc8c['push'](_0x20bc8c['shift']());}}}(_0x3c32,0xc4393));import{Plugin as _0x2590e4}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x566efb}from'./toggleaicommand.js';function _0x2237(_0x5487a9,_0x59562a){const _0x3c3257=_0x3c32();return _0x2237=function(_0x2237ad,_0x1fece8){_0x2237ad=_0x2237ad-0x185;let _0x112477=_0x3c3257[_0x2237ad];return _0x112477;},_0x2237(_0x5487a9,_0x59562a);}import{ButtonView as _0x39ece,MenuBarMenuListItemButtonView as _0x3563ea}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x8ee686}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x46836e}from'../../aicore/utils/common-translations.js';import{AITabs as _0xd95811}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x2590e4{static get[_0x42a959(0x195)](){return[_0xd95811];}static get[_0x42a959(0x191)](){const _0x53750b=_0x42a959;return _0x53750b(0x193);}static get[_0x42a959(0x186)](){return!0x0;}static get[_0x42a959(0x196)](){return!0x0;}[_0x42a959(0x19b)](){const _0x25259e=_0x42a959,_0x3ec712=this[_0x25259e(0x1a1)];_0x3ec712[_0x25259e(0x1a7)][_0x25259e(0x18f)](_0x25259e(0x1a6),new _0x566efb(_0x3ec712)),_0x3ec712['ui'][_0x25259e(0x19c)][_0x25259e(0x18f)](_0x25259e(0x1a6),()=>{const _0x4e75d3=_0x25259e,_0x3983ec=this[_0x4e75d3(0x192)](_0x39ece);return _0x3983ec[_0x4e75d3(0x190)]({'tooltip':!0x0,'class':_0x4e75d3(0x1a0)}),_0x3983ec;}),_0x3ec712['ui'][_0x25259e(0x19c)][_0x25259e(0x18f)](_0x25259e(0x189),()=>{const _0x419a01=_0x25259e,_0x4c6e9=this[_0x419a01(0x192)](_0x3563ea);return _0x4c6e9[_0x419a01(0x190)]({'role':_0x419a01(0x199)}),_0x4c6e9;});}[_0x42a959(0x192)](_0x3dbd82){const _0x45a870=_0x42a959,_0x5df664=this[_0x45a870(0x1a1)],_0xdf0279=_0x5df664[_0x45a870(0x1a7)][_0x45a870(0x185)](_0x45a870(0x1a6)),_0x3ef310=new _0x3dbd82(_0x5df664[_0x45a870(0x18c)]);return _0x3ef310[_0x45a870(0x190)]({'label':_0x46836e(_0x5df664[_0x45a870(0x18c)],_0x45a870(0x1a2)),'icon':_0x8ee686,'isToggleable':!0x0}),_0x3ef310[_0x45a870(0x194)](_0x45a870(0x19d))['to'](_0xdf0279),_0x3ef310[_0x45a870(0x194)](_0x45a870(0x1a5))['to'](_0xdf0279,_0x45a870(0x197),_0x5ba696=>!!_0x5ba696),this[_0x45a870(0x18e)](_0x3ef310,_0x45a870(0x19f),()=>{const _0x3d8a24=_0x45a870;_0xdf0279[_0x3d8a24(0x19f)]();}),_0x3ef310;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5d7885=_0x4332;function _0x4332(_0x4c6944,_0x3c9a9b){const _0x3527ae=_0x3527();return _0x4332=function(_0x43324d,_0x7b3fd3){_0x43324d=_0x43324d-0x136;let _0x181400=_0x3527ae[_0x43324d];return _0x181400;},_0x4332(_0x4c6944,_0x3c9a9b);}(function(_0x5aef2a,_0x4929f5){const _0x18c844=_0x4332,_0x32a913=_0x5aef2a();while(!![]){try{const _0x5df8f8=-parseInt(_0x18c844(0x142))/0x1+parseInt(_0x18c844(0x13c))/0x2+-parseInt(_0x18c844(0x148))/0x3+parseInt(_0x18c844(0x13a))/0x4+-parseInt(_0x18c844(0x147))/0x5+-parseInt(_0x18c844(0x13d))/0x6*(-parseInt(_0x18c844(0x145))/0x7)+-parseInt(_0x18c844(0x146))/0x8*(-parseInt(_0x18c844(0x139))/0x9);if(_0x5df8f8===_0x4929f5)break;else _0x32a913['push'](_0x32a913['shift']());}catch(_0xb91a5a){_0x32a913['push'](_0x32a913['shift']());}}}(_0x3527,0x20bd8));import{Command as _0x3e9d9b}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x3e9d9b{constructor(_0x2a8372){const _0x3235f6=_0x4332;super(_0x2a8372);const _0x481672=_0x2a8372[_0x3235f6(0x143)][_0x3235f6(0x13f)](_0x3235f6(0x13b))[_0x3235f6(0x144)];this[_0x3235f6(0x138)](_0x3235f6(0x136))['to'](_0x481672,_0x3235f6(0x137)),this[_0x3235f6(0x141)]=!0x0;}[_0x5d7885(0x140)](){const _0x3c4bd1=_0x5d7885,_0x253562=this[_0x3c4bd1(0x13e)][_0x3c4bd1(0x143)][_0x3c4bd1(0x13f)](_0x3c4bd1(0x13b))[_0x3c4bd1(0x144)];_0x253562[_0x3c4bd1(0x137)]=!_0x253562[_0x3c4bd1(0x137)];}}function _0x3527(){const _0x4ae468=['1267425PjmPDM','665442aueEkb','value','isVisible','bind','36OtVjln','1034880zzWkwF','AITabs','33914bkjxil','494094PuOBSE','editor','get','execute','isEnabled','93157uRjbHV','plugins','view','21VppsDo','359672qaWGTm'];_0x3527=function(){return _0x4ae468;};return _0x3527();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4eb101=_0x5815;(function(_0xb6a664,_0x3086b5){var _0x1effde=_0x5815,_0x3841e1=_0xb6a664();while(!![]){try{var _0x369270=-parseInt(_0x1effde(0x197))/0x1*(parseInt(_0x1effde(0x19e))/0x2)+-parseInt(_0x1effde(0x195))/0x3+parseInt(_0x1effde(0x196))/0x4*(parseInt(_0x1effde(0x1a5))/0x5)+parseInt(_0x1effde(0x19b))/0x6*(-parseInt(_0x1effde(0x19a))/0x7)+-parseInt(_0x1effde(0x1a0))/0x8*(parseInt(_0x1effde(0x1a3))/0x9)+parseInt(_0x1effde(0x198))/0xa+parseInt(_0x1effde(0x19f))/0xb;if(_0x369270===_0x3086b5)break;else _0x3841e1['push'](_0x3841e1['shift']());}catch(_0x1c646f){_0x3841e1['push'](_0x3841e1['shift']());}}}(_0x29f4,0x23f97));import{Plugin as _0x423738}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x23e3a0}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x5c6e9f}from'./aiquickactionsediting.js';function _0x5815(_0x278cc5,_0x5be874){var _0x29f4a0=_0x29f4();return _0x5815=function(_0x58153b,_0x4bb4af){_0x58153b=_0x58153b-0x195;var _0x30b9ee=_0x29f4a0[_0x58153b];return _0x30b9ee;},_0x5815(_0x278cc5,_0x5be874);}import{AIActions as _0x743689}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x423738{static get[_0x4eb101(0x1a7)](){return[_0x23e3a0,_0x5c6e9f,_0x743689];}static get[_0x4eb101(0x1a4)](){var _0x3d06a3=_0x4eb101;return _0x3d06a3(0x199);}static get[_0x4eb101(0x1a2)](){return!0x0;}static get[_0x4eb101(0x19d)](){return!0x0;}constructor(_0x3aac4f){var _0x25abe5=_0x4eb101;super(_0x3aac4f),_0x3aac4f[_0x25abe5(0x1a1)][_0x25abe5(0x19c)](_0x25abe5(0x1a6),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}function _0x29f4(){var _0x44133c=['isPremiumPlugin','404554wEGdGF','4358904mCntoW','30328sHvGRh','config','isOfficialPlugin','18ZAlSjC','pluginName','5cMpuoi','ai.quickActions','requires','364878iFxylt','256484CxmqPP','1amUcUR','1527760gxizqc','AIQuickActions','188055BIOXsN','30zkdNJQ','define'];_0x29f4=function(){return _0x44133c;};return _0x29f4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x95f779=_0x2cdb;(function(_0x1762f5,_0x5b4b8a){const _0xd1e522=_0x2cdb,_0x4b131e=_0x1762f5();while(!![]){try{const _0x3cd1af=-parseInt(_0xd1e522(0x109))/0x1+parseInt(_0xd1e522(0xee))/0x2*(-parseInt(_0xd1e522(0xec))/0x3)+-parseInt(_0xd1e522(0xe8))/0x4+parseInt(_0xd1e522(0xf4))/0x5+parseInt(_0xd1e522(0x10a))/0x6*(-parseInt(_0xd1e522(0xf9))/0x7)+parseInt(_0xd1e522(0xfc))/0x8*(-parseInt(_0xd1e522(0xd9))/0x9)+parseInt(_0xd1e522(0xf8))/0xa*(parseInt(_0xd1e522(0xff))/0xb);if(_0x3cd1af===_0x5b4b8a)break;else _0x4b131e['push'](_0x4b131e['shift']());}catch(_0x195b7e){_0x4b131e['push'](_0x4b131e['shift']());}}}(_0x4a0b,0x1d196));import{Command as _0x33472f}from'ckeditor5/src/core.js';function _0x4a0b(){const _0x4bf056=['handleAIReviewAction','model','739705zjHdgq','sendMessage','ask-ai','_handleAIReviewAction','110NXKDbQ','7Lhmtgn','getLimitElement','schema','23824lxMRCH','prompt','view','603691fSPbwz','locale','_expandSelectionIfCollapsed','actionName','editor','REVIEW','icon','addSelectionToChatContext','displayedPrompt','selection','61438uYJQaC','750378VrzaiL','executeAction','change','document','AIReviewMode','focusPromptInput','startConversation','_handleAIActionsActionLabel','other','getSelectedBlocks','parent','activeTab','removeSelectionFromChatContext','setSelection','_handleAIActionsAction','432IGQLIB','AIChat','ai-quick-actions-plugin-not-found','AITabs','log','chat','AIActions','plugins','ACTION','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','args','execute','type','get','isCollapsed','848008fnMOnh','AIChatController','activateTab','_handleAIChatAction','272985oOdSGp','CHAT','2UVmiHB','has','isVisible','label'];_0x4a0b=function(){return _0x4bf056;};return _0x4a0b();}import{CKEditorError as _0x40a664,first as _0x2fc282}from'ckeditor5/src/utils.js';function _0x2cdb(_0x4382c1,_0x523788){const _0x4a0bca=_0x4a0b();return _0x2cdb=function(_0x2cdbc4,_0x9ee057){_0x2cdbc4=_0x2cdbc4-0xd2;let _0x2adbad=_0x4a0bca[_0x2cdbc4];return _0x2adbad;},_0x2cdb(_0x4382c1,_0x523788);}import{AIQuickActionType as _0x3b1ed9}from'./aiquickactionsui.js';import{getTranslation as _0x544da0}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x33472f{[_0x95f779(0xe4)](_0x4d072c){const _0x1a342b=_0x95f779;switch(this[_0x1a342b(0x101)](),_0x4d072c[_0x1a342b(0xe5)]){case _0x3b1ed9[_0x1a342b(0xed)]:if(!this[_0x1a342b(0x103)][_0x1a342b(0xe0)][_0x1a342b(0xef)](_0x1a342b(0xda))){const _0x3e68a3=_0x544da0(this[_0x1a342b(0x103)][_0x1a342b(0x100)],_0x1a342b(0xe2),_0x1a342b(0xda));throw new _0x40a664(_0x1a342b(0xdb),this[_0x1a342b(0x103)],{'errorMessage':_0x3e68a3});}this[_0x1a342b(0xeb)](_0x4d072c);break;case _0x3b1ed9[_0x1a342b(0xe1)]:if(!this[_0x1a342b(0x103)][_0x1a342b(0xe0)][_0x1a342b(0xef)](_0x1a342b(0xdf))){const _0x38aade=_0x544da0(this[_0x1a342b(0x103)][_0x1a342b(0x100)],_0x1a342b(0xe2),_0x1a342b(0xdf));throw new _0x40a664(_0x1a342b(0xdb),this[_0x1a342b(0x103)],{'errorMessage':_0x38aade});}this[_0x1a342b(0xd8)](_0x4d072c);break;case _0x3b1ed9[_0x1a342b(0x104)]:if(!this[_0x1a342b(0x103)][_0x1a342b(0xe0)][_0x1a342b(0xef)](_0x1a342b(0x10e))){const _0x1b4d31=_0x544da0(this[_0x1a342b(0x103)][_0x1a342b(0x100)],_0x1a342b(0xe2),_0x1a342b(0x10e));throw new _0x40a664(_0x1a342b(0xdb),this[_0x1a342b(0x103)],{'errorMessage':_0x1b4d31});}this[_0x1a342b(0xf7)](_0x4d072c);}}async[_0x95f779(0xeb)](_0x55afd6){const _0xfd8a4c=_0x95f779,_0x5e39fc=this[_0xfd8a4c(0x103)][_0xfd8a4c(0xe0)][_0xfd8a4c(0xe6)](_0xfd8a4c(0xda)),_0x559d71=this[_0xfd8a4c(0x103)][_0xfd8a4c(0xe0)][_0xfd8a4c(0xe6)](_0xfd8a4c(0xe9)),_0x49a2e8=this[_0xfd8a4c(0x103)][_0xfd8a4c(0xe0)][_0xfd8a4c(0xe6)](_0xfd8a4c(0xdc))[_0xfd8a4c(0xfe)];if(_0x49a2e8[_0xfd8a4c(0xf0)]||(_0x49a2e8[_0xfd8a4c(0xf0)]=!0x0),_0xfd8a4c(0xde)!==_0x49a2e8[_0xfd8a4c(0xd5)]&&_0x49a2e8[_0xfd8a4c(0xea)](_0xfd8a4c(0xde)),_0xfd8a4c(0xf6)===_0x55afd6['id'])_0x559d71[_0xfd8a4c(0xd6)](),await _0x5e39fc[_0xfd8a4c(0x106)](),_0x5e39fc[_0xfd8a4c(0x10f)]();else await _0x5e39fc[_0xfd8a4c(0x110)](),_0x559d71[_0xfd8a4c(0xd6)](),await _0x5e39fc[_0xfd8a4c(0x106)](),_0x5e39fc[_0xfd8a4c(0x10f)](),await _0x5e39fc[_0xfd8a4c(0xf5)]({'message':_0x55afd6[_0xfd8a4c(0xfd)]||_0x55afd6[_0xfd8a4c(0x107)],'attributes':{'quickActionData':{'id':_0x55afd6['id']},'displayedPrompt':_0x55afd6[_0xfd8a4c(0x107)]}});}[_0x95f779(0x101)](){const _0x2b9f6d=_0x95f779,_0xa27041=this[_0x2b9f6d(0x103)],_0x418bd3=_0xa27041[_0x2b9f6d(0xf3)][_0x2b9f6d(0x10d)][_0x2b9f6d(0x108)];if(!_0x418bd3[_0x2b9f6d(0xe7)])return;const _0xaa58a4=_0x2fc282(_0x418bd3[_0x2b9f6d(0xd3)]())||_0xa27041[_0x2b9f6d(0xf3)][_0x2b9f6d(0xfb)][_0x2b9f6d(0xfa)](_0x418bd3);_0xa27041[_0x2b9f6d(0xf3)][_0x2b9f6d(0x10c)](_0x524740=>{const _0x573c62=_0x2b9f6d;_0x524740[_0x573c62(0xd7)](_0xaa58a4,'in');});}[_0x95f779(0x111)](_0x198ac8){const _0x49cff7=_0x95f779;return _0x198ac8[_0x49cff7(0xd4)]?.[_0x49cff7(0xf1)]&&_0x49cff7(0xd2)!==_0x198ac8[_0x49cff7(0xd4)]?.['id']?_0x198ac8[_0x49cff7(0xd4)][_0x49cff7(0xf1)]+':\x20'+_0x198ac8[_0x49cff7(0x107)]:_0x198ac8[_0x49cff7(0x107)];}async[_0x95f779(0xd8)](_0x5c4dff){const _0x1914b9=_0x95f779,_0x4804e2=this[_0x1914b9(0x103)][_0x1914b9(0xe0)][_0x1914b9(0xe6)](_0x1914b9(0xdf)),_0x634315=_0x5c4dff[_0x1914b9(0xfd)]?{'userMessage':_0x5c4dff[_0x1914b9(0xfd)],'model':_0x5c4dff[_0x1914b9(0xf3)]}:{'actionName':_0x5c4dff[_0x1914b9(0x102)]||_0x5c4dff['id'],'args':_0x5c4dff[_0x1914b9(0xe3)]},_0x345a59=this[_0x1914b9(0x111)](_0x5c4dff);await _0x4804e2[_0x1914b9(0x10b)](_0x634315,_0x345a59,_0x5c4dff[_0x1914b9(0x105)]);}async[_0x95f779(0xf7)](_0x425f0f){const _0x379f68=_0x95f779;console[_0x379f68(0xdd)](_0x379f68(0xf2),_0x425f0f);}}
|