Liferay.Loader.define("portal-search-web$codemirror@5.62.0/addon/lint/html-lint",["module","exports","require","../../lib/codemirror","portal-search-web$htmlhint"],(function(e,r,o){var t;window,t=function(e,r){"use strict";var o={"tagname-lowercase":!0,"attr-lowercase":!0,"attr-value-double-quotes":!0,"doctype-first":!1,"tag-pair":!0,"spec-char-escape":!0,"id-unique":!0,"src-not-empty":!0,"attr-no-duplication":!0};e.registerHelper("lint","html",(function(t,i){var n=[];if(r&&!r.verify&&(r=void 0!==r.default?r.default:r.HTMLHint),r||(r=window.HTMLHint),!r)return window.console&&window.console.error("Error: HTMLHint not found, not defined on window, or not available through define/require, CodeMirror HTML linting cannot run."),n;for(var a=r.verify(t,i&&i.rules||o),l=0;l<a.length;l++){var d=a[l],c=d.line-1,s=d.line-1,u=d.col-1,f=d.col;n.push({from:e.Pos(c,u),to:e.Pos(s,f),message:d.message,severity:d.type})}return n}))},"object"==typeof r&&"object"==typeof e?t(o("../../lib/codemirror"),o("portal-search-web$htmlhint")):t(CodeMirror,window.HTMLHint)}));
//# sourceMappingURL=html-lint.js.map