amis.define("6986b0b",function(e,t){"use strict";function n(e,t,n){function u(e,t,n){e=e.toLowerCase();for(var r=function(r){var o=null;return r.provideTags().forEach(function(r){if(r.name.toLowerCase()===e.toLowerCase()){var i=n?"<"+e+">":"</"+e+">",u=r.description||"";o={contents:[{language:"html",value:i},a.MarkedString.fromPlainText(u)],range:t}}}),o?{value:o}:void 0},o=0,i=g;o<i.length;o++){var u=i[o],f=r(u);if("object"==typeof f)return f.value}return null}function f(t,n){for(var a=r.createScanner(e.getText(),n),i=a.scan();i!==o.TokenType.EOS&&(a.getTokenEnd()<l||a.getTokenEnd()===l&&i!==t);)i=a.scan();return i===t&&l<=a.getTokenEnd()?{start:e.positionAt(a.getTokenOffset()),end:e.positionAt(a.getTokenEnd())}:null}var l=e.offsetAt(t),d=n.findNodeAt(l);if(!d||!d.tag)return null;var g=i.getAllDataProviders().filter(function(t){return t.isApplicable(e.languageId)});if(d.endTagStart&&l>=d.endTagStart){var c=f(o.TokenType.EndTag,d.endTagStart);return c?u(d.tag,c,!1):null}var s=f(o.TokenType.StartTag,d.start);return s?u(d.tag,s,!0):null}Object.defineProperty(t,"__esModule",{value:!0});var r=e("3dfa3cb"),a=e("c1fd486"),o=e("d8847af"),i=e("d71a199");t.doHover=n});