modern-monaco 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -232,6 +232,26 @@ lazy({
232
232
  > By default, `modern-monaco` uses `react` or `preact` in the `importmap` script as the `jsxImportSource` option for the TypeScript worker.
233
233
  > To use a custom `jsxImportSource` option, add the `@jsxRuntime` specifier in the `importmap` script.
234
234
 
235
+ ### Using Custom FileSystem
236
+
237
+ You can provide a custom filesystem implementation to override the default IndexedDB filesystem.
238
+
239
+ ```ts
240
+ import { lazy, type FileSystem, Workspace } from "modern-monaco";
241
+
242
+ class CustomFileSystem implements FileSystem {
243
+ // Custom FileSystem implementation
244
+ }
245
+
246
+ const workspace = new Workspace({
247
+ initialFiles: {
248
+ "index.html": indexHtml,
249
+ "app.tsx": appTsx,
250
+ },
251
+ customFs: new CustomFileSystem(),
252
+ });
253
+ ```
254
+
235
255
  ## Editor Theme & Language Grammars
236
256
 
237
257
  `modern-monaco` uses [Shiki](https://shiki.style) for syntax highlighting with extensive grammars and themes. By default, it loads themes and grammars from esm.sh on demand.
@@ -8188,7 +8188,7 @@ var init_dom = __esm({
8188
8188
  init_platform();
8189
8189
  init_hash();
8190
8190
  init_window();
8191
- ({ registerWindow, getWindow, getDocument, getWindows, getWindowsCount, getWindowId, getWindowById, hasWindow, onDidRegisterWindow, onWillUnregisterWindow, onDidUnregisterWindow } = function() {
8191
+ ({ registerWindow, getWindow, getDocument, getWindows, getWindowsCount, getWindowId, getWindowById, hasWindow, onDidRegisterWindow, onWillUnregisterWindow, onDidUnregisterWindow } = (function() {
8192
8192
  const windows = /* @__PURE__ */ new Map();
8193
8193
  ensureCodeWindow(mainWindow, 1);
8194
8194
  const mainWindowRegistration = { window: mainWindow, disposables: new DisposableStore() };
@@ -8253,7 +8253,7 @@ var init_dom = __esm({
8253
8253
  return getWindow(candidateNode).document;
8254
8254
  }
8255
8255
  };
8256
- }());
8256
+ })());
8257
8257
  DomListener = class {
8258
8258
  constructor(node, type, handler, options2) {
8259
8259
  this._node = node;
@@ -16004,7 +16004,7 @@ var init_richEditBrackets = __esm({
16004
16004
  }
16005
16005
  }
16006
16006
  };
16007
- toReversedString = /* @__PURE__ */ function() {
16007
+ toReversedString = /* @__PURE__ */ (function() {
16008
16008
  function reverse(str) {
16009
16009
  const arr = new Uint16Array(str.length);
16010
16010
  let offset = 0;
@@ -16022,7 +16022,7 @@ var init_richEditBrackets = __esm({
16022
16022
  }
16023
16023
  return lastOutput;
16024
16024
  };
16025
- }();
16025
+ })();
16026
16026
  BracketsUtils = class {
16027
16027
  static _findPrevBracketInText(reversedBracketRegex, lineNumber, reversedText, offset) {
16028
16028
  const m = reversedText.match(reversedBracketRegex);
@@ -49890,7 +49890,7 @@ function renderOverflowingCharCount(n) {
49890
49890
 
49891
49891
  // node_modules/.pnpm/monaco-editor-core@0.52.2/node_modules/monaco-editor-core/esm/vs/editor/browser/viewParts/lines/viewLine.js
49892
49892
  init_theme();
49893
- var canUseFastRenderedViewLine = function() {
49893
+ var canUseFastRenderedViewLine = (function() {
49894
49894
  if (isNative) {
49895
49895
  return true;
49896
49896
  }
@@ -49898,7 +49898,7 @@ var canUseFastRenderedViewLine = function() {
49898
49898
  return false;
49899
49899
  }
49900
49900
  return true;
49901
- }();
49901
+ })();
49902
49902
  var monospaceAssumptionsAreValid = true;
49903
49903
  var ViewLineOptions = class {
49904
49904
  constructor(config, themeType) {
@@ -50386,12 +50386,12 @@ var WebKitRenderedViewLine = class extends RenderedViewLine {
50386
50386
  return output;
50387
50387
  }
50388
50388
  };
50389
- var createRenderedLine = function() {
50389
+ var createRenderedLine = (function() {
50390
50390
  if (isWebKit) {
50391
50391
  return createWebKitRenderedLine;
50392
50392
  }
50393
50393
  return createNormalRenderedLine;
50394
- }();
50394
+ })();
50395
50395
  function createWebKitRenderedLine(domNode, renderLineInput, characterMapping, containsRTL2, containsForeignElements) {
50396
50396
  return new WebKitRenderedViewLine(domNode, renderLineInput, characterMapping, containsRTL2, containsForeignElements);
50397
50397
  }
@@ -73377,7 +73377,7 @@ var __marked_exports = {};
73377
73377
  define2.amd = true;
73378
73378
  (function(global, factory) {
73379
73379
  typeof define2 === "function" && define2.amd ? define2(["exports"], factory) : typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.marked = {}));
73380
- })(this, function(exports2) {
73380
+ })(this, (function(exports2) {
73381
73381
  "use strict";
73382
73382
  function _getDefaults() {
73383
73383
  return {
@@ -75445,7 +75445,7 @@ ${text2}</tr>
75445
75445
  exports2.setOptions = setOptions2;
75446
75446
  exports2.use = use2;
75447
75447
  exports2.walkTokens = walkTokens2;
75448
- });
75448
+ }));
75449
75449
  })();
75450
75450
  var Hooks = __marked_exports.Hooks || exports.Hooks;
75451
75451
  var Lexer = __marked_exports.Lexer || exports.Lexer;
@@ -90957,7 +90957,7 @@ init_arrays();
90957
90957
  init_iterator();
90958
90958
 
90959
90959
  // node_modules/.pnpm/monaco-editor-core@0.52.2/node_modules/monaco-editor-core/esm/vs/base/common/uuid.js
90960
- var generateUuid = function() {
90960
+ var generateUuid = (function() {
90961
90961
  if (typeof crypto === "object" && typeof crypto.randomUUID === "function") {
90962
90962
  return crypto.randomUUID.bind(crypto);
90963
90963
  }
@@ -91005,7 +91005,7 @@ var generateUuid = function() {
91005
91005
  result += _hex[_data[i++]];
91006
91006
  return result;
91007
91007
  };
91008
- }();
91008
+ })();
91009
91009
 
91010
91010
  // node_modules/.pnpm/monaco-editor-core@0.52.2/node_modules/monaco-editor-core/esm/vs/base/common/dataTransfer.js
91011
91011
  function createStringDataTransferItem(stringOrPromise) {
@@ -93978,7 +93978,7 @@ var PostEditWidget = class PostEditWidget2 extends Disposable {
93978
93978
  this._register(toDisposable(() => this.visibleContext.reset()));
93979
93979
  this.editor.addContentWidget(this);
93980
93980
  this.editor.layoutContentWidget(this);
93981
- this._register(toDisposable(() => this.editor.removeContentWidget(this)));
93981
+ this._register(toDisposable((() => this.editor.removeContentWidget(this))));
93982
93982
  this._register(this.editor.onDidChangeCursorPosition((e) => {
93983
93983
  if (!range3.containsPosition(e.position)) {
93984
93984
  this.dispose();
@@ -108419,7 +108419,7 @@ var CompressedObjectTreeModel = class {
108419
108419
  const decompressedElement = decompress(node);
108420
108420
  const splicedElement = splice2(decompressedElement, element, children);
108421
108421
  const recompressedElement = (this.enabled ? compress : noCompress)(splicedElement);
108422
- const elementComparator = options2.diffIdentityProvider ? (a, b) => options2.diffIdentityProvider.getId(a) === options2.diffIdentityProvider.getId(b) : void 0;
108422
+ const elementComparator = options2.diffIdentityProvider ? ((a, b) => options2.diffIdentityProvider.getId(a) === options2.diffIdentityProvider.getId(b)) : void 0;
108423
108423
  if (equals(recompressedElement.element.elements, node.element.elements, elementComparator)) {
108424
108424
  this._setChildren(compressedNode, recompressedElement.children || Iterable.empty(), { diffIdentityProvider, diffDepth: 1 });
108425
108425
  return;
@@ -109083,7 +109083,7 @@ function asObjectTreeOptions2(options2) {
109083
109083
  }
109084
109084
  },
109085
109085
  sorter: void 0,
109086
- expandOnlyOnTwistieClick: typeof options2.expandOnlyOnTwistieClick === "undefined" ? void 0 : typeof options2.expandOnlyOnTwistieClick !== "function" ? options2.expandOnlyOnTwistieClick : (e) => options2.expandOnlyOnTwistieClick(e.element),
109086
+ expandOnlyOnTwistieClick: typeof options2.expandOnlyOnTwistieClick === "undefined" ? void 0 : typeof options2.expandOnlyOnTwistieClick !== "function" ? options2.expandOnlyOnTwistieClick : ((e) => options2.expandOnlyOnTwistieClick(e.element)),
109087
109087
  defaultFindVisibility: (e) => {
109088
109088
  if (e.hasChildren && e.stale) {
109089
109089
  return 1;
@@ -121393,11 +121393,11 @@ var FoldingRegions = class _FoldingRegions {
121393
121393
  static sanitizeAndMerge(rangesA, rangesB, maxLineNumber, selection) {
121394
121394
  maxLineNumber = maxLineNumber ?? Number.MAX_VALUE;
121395
121395
  const getIndexedFunction = (r, limit) => {
121396
- return Array.isArray(r) ? (i) => {
121396
+ return Array.isArray(r) ? ((i) => {
121397
121397
  return i < limit ? r[i] : void 0;
121398
- } : (i) => {
121398
+ }) : ((i) => {
121399
121399
  return i < limit ? r.toFoldRange(i) : void 0;
121400
- };
121400
+ });
121401
121401
  };
121402
121402
  const getA = getIndexedFunction(rangesA, rangesA.length);
121403
121403
  const getB = getIndexedFunction(rangesB, rangesB.length);
@@ -129389,9 +129389,9 @@ var SuggestWidgetStatus = class SuggestWidgetStatus2 {
129389
129389
  this._contextKeyService = _contextKeyService;
129390
129390
  this._menuDisposables = new DisposableStore();
129391
129391
  this.element = append(container, $(".suggest-status-bar"));
129392
- const actionViewItemProvider = (action) => {
129392
+ const actionViewItemProvider = ((action) => {
129393
129393
  return action instanceof MenuItemAction ? instantiationService.createInstance(TextOnlyMenuEntryActionViewItem, action, { useComma: true }) : void 0;
129394
- };
129394
+ });
129395
129395
  this._leftActions = new ActionBar(this.element, { actionViewItemProvider });
129396
129396
  this._rightActions = new ActionBar(this.element, { actionViewItemProvider });
129397
129397
  this._leftActions.domNode.classList.add("left");
@@ -129765,26 +129765,26 @@ var SuggestDetailsOverlay = class {
129765
129765
  const info = this.widget.getLayoutInfo();
129766
129766
  const defaultMinSize = new Dimension(220, 2 * info.lineHeight);
129767
129767
  const defaultTop = anchorBox.top;
129768
- const eastPlacement = function() {
129768
+ const eastPlacement = (function() {
129769
129769
  const width2 = bodyBox.width - (anchorBox.left + anchorBox.width + info.borderWidth + info.horizontalPadding);
129770
129770
  const left2 = -info.borderWidth + anchorBox.left + anchorBox.width;
129771
129771
  const maxSizeTop = new Dimension(width2, bodyBox.height - anchorBox.top - info.borderHeight - info.verticalPadding);
129772
129772
  const maxSizeBottom = maxSizeTop.with(void 0, anchorBox.top + anchorBox.height - info.borderHeight - info.verticalPadding);
129773
129773
  return { top: defaultTop, left: left2, fit: width2 - size2.width, maxSizeTop, maxSizeBottom, minSize: defaultMinSize.with(Math.min(width2, defaultMinSize.width)) };
129774
- }();
129775
- const westPlacement = function() {
129774
+ })();
129775
+ const westPlacement = (function() {
129776
129776
  const width2 = anchorBox.left - info.borderWidth - info.horizontalPadding;
129777
129777
  const left2 = Math.max(info.horizontalPadding, anchorBox.left - size2.width - info.borderWidth);
129778
129778
  const maxSizeTop = new Dimension(width2, bodyBox.height - anchorBox.top - info.borderHeight - info.verticalPadding);
129779
129779
  const maxSizeBottom = maxSizeTop.with(void 0, anchorBox.top + anchorBox.height - info.borderHeight - info.verticalPadding);
129780
129780
  return { top: defaultTop, left: left2, fit: width2 - size2.width, maxSizeTop, maxSizeBottom, minSize: defaultMinSize.with(Math.min(width2, defaultMinSize.width)) };
129781
- }();
129782
- const southPacement = function() {
129781
+ })();
129782
+ const southPacement = (function() {
129783
129783
  const left2 = anchorBox.left;
129784
129784
  const top2 = -info.borderWidth + anchorBox.top + anchorBox.height;
129785
129785
  const maxSizeBottom = new Dimension(anchorBox.width - info.borderHeight, bodyBox.height - anchorBox.top - anchorBox.height - info.verticalPadding);
129786
129786
  return { top: top2, left: left2, fit: maxSizeBottom.height - size2.height, maxSizeBottom, maxSizeTop: maxSizeBottom, minSize: defaultMinSize.with(maxSizeBottom.width) };
129787
- }();
129787
+ })();
129788
129788
  const placements = [eastPlacement, westPlacement, southPacement];
129789
129789
  const placement = placements.find((p) => p.fit >= 0) ?? placements.sort((a, b) => b.fit - a.fit)[0];
129790
129790
  const bottom = anchorBox.top + anchorBox.height - info.borderHeight;
@@ -146686,7 +146686,7 @@ var StickyScrollController2 = class StickyScrollController3 extends Disposable {
146686
146686
  const cancellationToken = new CancellationTokenSource();
146687
146687
  sessionStore.add(toDisposable(() => cancellationToken.dispose(true)));
146688
146688
  let currentHTMLChild;
146689
- getDefinitionsAtPosition(this._languageFeaturesService.definitionProvider, this._editor.getModel(), new Position(range3.startLineNumber, range3.startColumn + 1), false, cancellationToken.token).then((candidateDefinitions) => {
146689
+ getDefinitionsAtPosition(this._languageFeaturesService.definitionProvider, this._editor.getModel(), new Position(range3.startLineNumber, range3.startColumn + 1), false, cancellationToken.token).then(((candidateDefinitions) => {
146690
146690
  if (cancellationToken.token.isCancellationRequested) {
146691
146691
  return;
146692
146692
  }
@@ -146710,7 +146710,7 @@ var StickyScrollController2 = class StickyScrollController3 extends Disposable {
146710
146710
  } else {
146711
146711
  sessionStore.clear();
146712
146712
  }
146713
- });
146713
+ }));
146714
146714
  }));
146715
146715
  this._register(gesture.onCancel(() => {
146716
146716
  sessionStore.clear();
@@ -160686,7 +160686,7 @@ var AbstractKeybindingService = class extends Disposable {
160686
160686
  return NoMatchingKb;
160687
160687
  }
160688
160688
  const contextValue = this._contextKeyService.getContext(target);
160689
- const currentChords = this._currentChords.map(({ keypress }) => keypress);
160689
+ const currentChords = this._currentChords.map((({ keypress }) => keypress));
160690
160690
  return this._getResolver().resolve(contextValue, currentChords, firstChord);
160691
160691
  }
160692
160692
  _scheduleLeaveChordMode() {
package/dist/index.js CHANGED
@@ -715,7 +715,7 @@ var builtinLSPProviders = {
715
715
  }
716
716
  };
717
717
 
718
- // node_modules/.pnpm/tm-grammars@1.24.3/node_modules/tm-grammars/grammars/html.json
718
+ // node_modules/.pnpm/tm-grammars@1.24.6/node_modules/tm-grammars/grammars/html.json
719
719
  var html_default = {
720
720
  displayName: "HTML",
721
721
  injections: {
@@ -3344,7 +3344,7 @@ var html_default = {
3344
3344
  scopeName: "text.html.basic"
3345
3345
  };
3346
3346
 
3347
- // node_modules/.pnpm/tm-grammars@1.24.3/node_modules/tm-grammars/grammars/css.json
3347
+ // node_modules/.pnpm/tm-grammars@1.24.6/node_modules/tm-grammars/grammars/css.json
3348
3348
  var css_default = {
3349
3349
  displayName: "CSS",
3350
3350
  name: "css",
@@ -5206,7 +5206,7 @@ var css_default = {
5206
5206
  scopeName: "source.css"
5207
5207
  };
5208
5208
 
5209
- // node_modules/.pnpm/tm-grammars@1.24.3/node_modules/tm-grammars/grammars/javascript.json
5209
+ // node_modules/.pnpm/tm-grammars@1.24.6/node_modules/tm-grammars/grammars/javascript.json
5210
5210
  var javascript_default = {
5211
5211
  displayName: "JavaScript",
5212
5212
  name: "javascript",
@@ -11204,7 +11204,7 @@ var javascript_default = {
11204
11204
  scopeName: "source.js"
11205
11205
  };
11206
11206
 
11207
- // node_modules/.pnpm/tm-grammars@1.24.3/node_modules/tm-grammars/grammars/typescript.json
11207
+ // node_modules/.pnpm/tm-grammars@1.24.6/node_modules/tm-grammars/grammars/typescript.json
11208
11208
  var typescript_default = {
11209
11209
  displayName: "TypeScript",
11210
11210
  name: "typescript",
@@ -16953,7 +16953,7 @@ var typescript_default = {
16953
16953
  scopeName: "source.ts"
16954
16954
  };
16955
16955
 
16956
- // node_modules/.pnpm/tm-grammars@1.24.3/node_modules/tm-grammars/grammars/jsx.json
16956
+ // node_modules/.pnpm/tm-grammars@1.24.6/node_modules/tm-grammars/grammars/jsx.json
16957
16957
  var jsx_default = {
16958
16958
  displayName: "JSX",
16959
16959
  name: "jsx",
@@ -22951,7 +22951,7 @@ var jsx_default = {
22951
22951
  scopeName: "source.js.jsx"
22952
22952
  };
22953
22953
 
22954
- // node_modules/.pnpm/tm-grammars@1.24.3/node_modules/tm-grammars/grammars/tsx.json
22954
+ // node_modules/.pnpm/tm-grammars@1.24.6/node_modules/tm-grammars/grammars/tsx.json
22955
22955
  var tsx_default = {
22956
22956
  displayName: "TSX",
22957
22957
  name: "tsx",
@@ -28949,7 +28949,7 @@ var tsx_default = {
28949
28949
  scopeName: "source.tsx"
28950
28950
  };
28951
28951
 
28952
- // node_modules/.pnpm/tm-grammars@1.24.3/node_modules/tm-grammars/grammars/json.json
28952
+ // node_modules/.pnpm/tm-grammars@1.24.6/node_modules/tm-grammars/grammars/json.json
28953
28953
  var json_default = {
28954
28954
  displayName: "JSON",
28955
28955
  name: "json",
@@ -7022,10 +7022,10 @@ var LIB;
7022
7022
  return -1 === r3 || -1 === i2 || 0 === s2 || 1 === s2 && r3 === i2 - 1 && r3 === n3 + 1 ? "" : t4.slice(r3, i2);
7023
7023
  }, format: function(t4) {
7024
7024
  if (null === t4 || "object" != typeof t4) throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof t4);
7025
- return function(t5, e3) {
7025
+ return (function(t5, e3) {
7026
7026
  var r3 = e3.dir || e3.root, n3 = e3.base || (e3.name || "") + (e3.ext || "");
7027
7027
  return r3 ? r3 === e3.root ? r3 + n3 : r3 + "/" + n3 : n3;
7028
- }(0, t4);
7028
+ })(0, t4);
7029
7029
  }, parse: function(t4) {
7030
7030
  e2(t4);
7031
7031
  var r3 = { root: "", dir: "", base: "", ext: "", name: "" };
@@ -7080,9 +7080,9 @@ var LIB;
7080
7080
  query;
7081
7081
  fragment;
7082
7082
  constructor(t3, e2, r2, n2, i2, o2 = false) {
7083
- "object" == typeof t3 ? (this.scheme = t3.scheme || c, this.authority = t3.authority || c, this.path = t3.path || c, this.query = t3.query || c, this.fragment = t3.fragment || c) : (this.scheme = /* @__PURE__ */ function(t4, e3) {
7083
+ "object" == typeof t3 ? (this.scheme = t3.scheme || c, this.authority = t3.authority || c, this.path = t3.path || c, this.query = t3.query || c, this.fragment = t3.fragment || c) : (this.scheme = /* @__PURE__ */ (function(t4, e3) {
7084
7084
  return t4 || e3 ? t4 : "file";
7085
- }(t3, o2), this.authority = e2 || c, this.path = function(t4, e3) {
7085
+ })(t3, o2), this.authority = e2 || c, this.path = (function(t4, e3) {
7086
7086
  switch (t4) {
7087
7087
  case "https":
7088
7088
  case "http":
@@ -7090,7 +7090,7 @@ var LIB;
7090
7090
  e3 ? e3[0] !== f2 && (e3 = f2 + e3) : e3 = f2;
7091
7091
  }
7092
7092
  return e3;
7093
- }(this.scheme, r2 || c), this.query = n2 || c, this.fragment = i2 || c, a2(this, o2));
7093
+ })(this.scheme, r2 || c), this.query = n2 || c, this.fragment = i2 || c, a2(this, o2));
7094
7094
  }
7095
7095
  get fsPath() {
7096
7096
  return v(this, false);
@@ -7206,12 +7206,12 @@ var LIB;
7206
7206
  }
7207
7207
  const A2 = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
7208
7208
  function w(t3) {
7209
- return t3.match(A2) ? t3.replace(A2, (t4) => C(t4)) : t3;
7209
+ return t3.match(A2) ? t3.replace(A2, ((t4) => C(t4))) : t3;
7210
7210
  }
7211
7211
  var x = r(975);
7212
7212
  const P = x.posix || x, _ = "/";
7213
7213
  var I;
7214
- !function(t3) {
7214
+ !(function(t3) {
7215
7215
  t3.joinPath = function(t4, ...e2) {
7216
7216
  return t4.with({ path: P.join(t4.path, ...e2) });
7217
7217
  }, t3.resolvePath = function(t4, ...e2) {
@@ -7228,7 +7228,7 @@ var LIB;
7228
7228
  }, t3.extname = function(t4) {
7229
7229
  return P.extname(t4.path);
7230
7230
  };
7231
- }(I || (I = {})), LIB = n;
7231
+ })(I || (I = {})), LIB = n;
7232
7232
  })();
7233
7233
  var { URI: URI2, Utils } = LIB;
7234
7234
 
@@ -12771,7 +12771,7 @@ var legacy_beautify_css;
12771
12771
  ,
12772
12772
  /* 2 */
12773
12773
  /***/
12774
- function(module) {
12774
+ (function(module) {
12775
12775
  function OutputLine(parent) {
12776
12776
  this.__parent = parent;
12777
12777
  this.__character_count = 0;
@@ -13088,13 +13088,13 @@ var legacy_beautify_css;
13088
13088
  }
13089
13089
  };
13090
13090
  module.exports.Output = Output;
13091
- },
13091
+ }),
13092
13092
  ,
13093
13093
  ,
13094
13094
  ,
13095
13095
  /* 6 */
13096
13096
  /***/
13097
- function(module) {
13097
+ (function(module) {
13098
13098
  function Options(options, merge_child_field) {
13099
13099
  this.raw_options = _mergeOpts(options, merge_child_field);
13100
13100
  this.disabled = this._get_boolean("disabled");
@@ -13214,11 +13214,11 @@ var legacy_beautify_css;
13214
13214
  module.exports.Options = Options;
13215
13215
  module.exports.normalizeOpts = _normalizeOpts;
13216
13216
  module.exports.mergeOpts = _mergeOpts;
13217
- },
13217
+ }),
13218
13218
  ,
13219
13219
  /* 8 */
13220
13220
  /***/
13221
- function(module) {
13221
+ (function(module) {
13222
13222
  var regexp_has_sticky = RegExp.prototype.hasOwnProperty("sticky");
13223
13223
  function InputScanner(input_string) {
13224
13224
  this.__input = input_string || "";
@@ -13347,14 +13347,14 @@ var legacy_beautify_css;
13347
13347
  return start >= testVal.length && this.__input.substring(start - testVal.length, start).toLowerCase() === testVal;
13348
13348
  };
13349
13349
  module.exports.InputScanner = InputScanner;
13350
- },
13350
+ }),
13351
13351
  ,
13352
13352
  ,
13353
13353
  ,
13354
13354
  ,
13355
13355
  /* 13 */
13356
13356
  /***/
13357
- function(module) {
13357
+ (function(module) {
13358
13358
  function Directives(start_block_pattern, end_block_pattern) {
13359
13359
  start_block_pattern = typeof start_block_pattern === "string" ? start_block_pattern : start_block_pattern.source;
13360
13360
  end_block_pattern = typeof end_block_pattern === "string" ? end_block_pattern : end_block_pattern.source;
@@ -13379,11 +13379,11 @@ var legacy_beautify_css;
13379
13379
  return input.readUntilAfter(this.__directives_end_ignore_pattern);
13380
13380
  };
13381
13381
  module.exports.Directives = Directives;
13382
- },
13382
+ }),
13383
13383
  ,
13384
13384
  /* 15 */
13385
13385
  /***/
13386
- function(module, __unused_webpack_exports, __webpack_require__2) {
13386
+ (function(module, __unused_webpack_exports, __webpack_require__2) {
13387
13387
  var Beautifier = __webpack_require__2(16).Beautifier, Options = __webpack_require__2(17).Options;
13388
13388
  function css_beautify2(source_text, options) {
13389
13389
  var beautifier = new Beautifier(source_text, options);
@@ -13393,10 +13393,10 @@ var legacy_beautify_css;
13393
13393
  module.exports.defaultOptions = function() {
13394
13394
  return new Options();
13395
13395
  };
13396
- },
13396
+ }),
13397
13397
  /* 16 */
13398
13398
  /***/
13399
- function(module, __unused_webpack_exports, __webpack_require__2) {
13399
+ (function(module, __unused_webpack_exports, __webpack_require__2) {
13400
13400
  var Options = __webpack_require__2(17).Options;
13401
13401
  var Output = __webpack_require__2(2).Output;
13402
13402
  var InputScanner = __webpack_require__2(8).InputScanner;
@@ -13797,10 +13797,10 @@ var legacy_beautify_css;
13797
13797
  return sweetCode;
13798
13798
  };
13799
13799
  module.exports.Beautifier = Beautifier;
13800
- },
13800
+ }),
13801
13801
  /* 17 */
13802
13802
  /***/
13803
- function(module, __unused_webpack_exports, __webpack_require__2) {
13803
+ (function(module, __unused_webpack_exports, __webpack_require__2) {
13804
13804
  var BaseOptions = __webpack_require__2(6).Options;
13805
13805
  function Options(options) {
13806
13806
  BaseOptions.call(this, options, "css");
@@ -13820,7 +13820,7 @@ var legacy_beautify_css;
13820
13820
  }
13821
13821
  Options.prototype = new BaseOptions();
13822
13822
  module.exports.Options = Options;
13823
- }
13823
+ })
13824
13824
  /******/
13825
13825
  ];
13826
13826
  var __webpack_module_cache__ = {};