var Common;!function(t){!function(t){"use strict";onmessage=function(t){var e=t.data,r=e.services;e.text;importScripts(r.formatterRoot+"FormattedTextMapping.js",r.formatterRoot+"css/CssParser.js",r.formatterRoot+"css/CssEmitter.js");var o=new s(e.text).processSource();this.postMessage(o);this.close()};class s{constructor(t,s=0){this.sourceText=t;this._initialIndentationDepth=s}processSource(s){var e=new t.CssParser(this.sourceText).parseCss(),r=new t.CssEmitter(this._initialIndentationDepth),o=r.outputCss(e);return new t.OffsetTextMapping(o,r.mappings,this.sourceText)}}t.CssFormatWorker=s}(t.FormatService||(t.FormatService={}))}(Common||(Common={}));
