(this.webpackChunktocco_legacy_bundle=this.webpackChunktocco_legacy_bundle||[]).push([[43317],{43317(e,i,o){e=o.nmd(e),ace.define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"],(function(e,i,o){var n=e("../editor").Editor;function t(e){var o=e.editor;if(e.getAccelKey()){o=e.editor;var n=e.getDocumentPosition(),t=o.session.getTokenAt(n.row,n.column);i.previousLinkingHover&&i.previousLinkingHover!=t&&o._emit("linkHoverOut"),o._emit("linkHover",{position:n,token:t}),i.previousLinkingHover=t}else i.previousLinkingHover&&(o._emit("linkHoverOut"),i.previousLinkingHover=!1)}function r(e){var i=e.getAccelKey();if(0==e.getButton()&&i){var o=e.editor,n=e.getDocumentPosition(),t=o.session.getTokenAt(n.row,n.column);o._emit("linkClick",{position:n,token:t})}}e("../config").defineOptions(n.prototype,"editor",{enableLinking:{set:function(e){e?(this.on("click",r),this.on("mousemove",t)):(this.off("click",r),this.off("mousemove",t))},value:!1}}),i.previousLinkingHover=!1})),ace.require(["ace/ext/linking"],(function(i){e&&(e.exports=i)}))}}]);