(self.webpackChunk_digicms_admin=self.webpackChunk_digicms_admin||[]).push([[953],{54745:(w,r,d)=>{(function(a){a(d(27509))})(function(a){"use strict";function o(s,i){if(!window.JSHINT)return window.console&&window.console.error("Error: window.JSHINT not defined, CodeMirror JavaScript linting cannot run."),[];i.indent||(i.indent=1),JSHINT(s,i,i.globals);var e=JSHINT.data().errors,n=[];return e&&u(e,n),n}a.registerHelper("lint","javascript",o);function u(s,i){for(var e=0;e<s.length;e++){var n=s[e];if(n){if(n.line<=0){window.console&&window.console.warn("Cannot display JSHint error (invalid line "+n.line+")",n);continue}var c=n.character-1,t=c+1;if(n.evidence){var l=n.evidence.substring(c).search(/.\b/);l>-1&&(t+=l)}var f={message:n.reason,severity:n.code&&n.code.startsWith("W")?"warning":"error",from:a.Pos(n.line-1,c),to:a.Pos(n.line-1,t)};i.push(f)}}}})}}]);
