@marimo-team/islands 0.21.2-dev77 → 0.21.2-dev79

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.
Files changed (73) hide show
  1. package/dist/{any-language-editor-CSvBdMtG.js → any-language-editor-BBegsg-m.js} +17 -17
  2. package/dist/{chat-ui-CedqKBe3.js → chat-ui-D4ay_SFE.js} +9 -9
  3. package/dist/{dist-CEmSeYaL.js → dist-1-E4bC9V.js} +2 -2
  4. package/dist/{dist-DoO66t8e.js → dist-APyhcmvq.js} +1 -1
  5. package/dist/{dist-B6ZvKwIz.js → dist-B5thW2rT.js} +1 -1
  6. package/dist/{dist-mpvRA2Bc.js → dist-BFe8Nc_2.js} +3 -3
  7. package/dist/dist-BHGf2Zey.js +5 -0
  8. package/dist/dist-BImOGJZM.js +5 -0
  9. package/dist/{dist-DKr1M-ru.js → dist-BJvk9DSp.js} +1 -1
  10. package/dist/{dist-fRW2mZtS.js → dist-BLrc9iNb.js} +2 -2
  11. package/dist/{dist-DqweMfpO.js → dist-BYr4a-wE.js} +1 -1
  12. package/dist/dist-BbJfmCHJ.js +5 -0
  13. package/dist/{dist-Bc-mOFlk.js → dist-BrJQDkv_.js} +2 -2
  14. package/dist/dist-C0v-nFs_.js +8 -0
  15. package/dist/{dist-D2nC1On3.js → dist-C16JG-Ok.js} +2 -2
  16. package/dist/{dist-N1lm7LVK.js → dist-C4EV3aDt.js} +37 -71
  17. package/dist/dist-C8N7114Z.js +5 -0
  18. package/dist/dist-C9TDg2aq.js +8 -0
  19. package/dist/{dist-DvjVNme1.js → dist-CGH6Jw-c.js} +1 -1
  20. package/dist/{dist-CXsGjNbR.js → dist-CKVkWFcB.js} +2 -2
  21. package/dist/dist-CN4RKgNR.js +5 -0
  22. package/dist/{dist--MUqhsBh.js → dist-CQ3XmGIH.js} +1 -1
  23. package/dist/{dist-B771Ewvn.js → dist-CSiTW5NO.js} +3 -3
  24. package/dist/dist-CVOkf_3P.js +6 -0
  25. package/dist/{dist-8-jPFKws.js → dist-CYuoqvce.js} +2 -2
  26. package/dist/dist-Cbkga3s5.js +5 -0
  27. package/dist/{dist-TuFHGVp2.js → dist-Cm4SOB1A.js} +1 -1
  28. package/dist/{dist-BsyHyGqX.js → dist-CxczluAk.js} +2 -2
  29. package/dist/dist-D6YTv0Kj.js +5 -0
  30. package/dist/{dist-DlacJSaE.js → dist-D75XqRaT.js} +2 -2
  31. package/dist/dist-D9vawryf.js +8 -0
  32. package/dist/{dist-CpNdP46s.js → dist-DFBjYgbq.js} +2 -2
  33. package/dist/{dist-DqT0O-4m.js → dist-DUg5n_x5.js} +5 -5
  34. package/dist/dist-DasJgTvL.js +6 -0
  35. package/dist/{dist-DNSJBJI7.js → dist-DbyoYfBn.js} +2 -2
  36. package/dist/{dist-CsToCMcA.js → dist-Dd9vDQtp.js} +2 -2
  37. package/dist/{dist-QxBlbqgj.js → dist-Dk13KZ54.js} +3 -3
  38. package/dist/dist-Ui51qXMz.js +8 -0
  39. package/dist/{dist-DEmPLkH9.js → dist-XYBhoeSX.js} +4 -4
  40. package/dist/{dist-CwP9oyR8.js → dist-Y9GfSR6_.js} +2 -2
  41. package/dist/{dist-BjYGwQ65.js → dist-aW74oyUt.js} +1 -1
  42. package/dist/dist-d2msfN-B.js +5 -0
  43. package/dist/{dist-Bg1YGq2b.js → dist-iM9VwH8Z.js} +1 -1
  44. package/dist/{dist-DSSPn3fP.js → dist-uR-o9IVx.js} +2 -2
  45. package/dist/{dist-CJEfzjG5.js → dist-zGOEySUQ.js} +4 -4
  46. package/dist/{esm-B_4hpmV_.js → esm-CCD9xN05.js} +22 -22
  47. package/dist/{esm-Bcbo0Yvz.js → esm-CxoKu9RN.js} +3 -3
  48. package/dist/main.js +948 -334
  49. package/dist/{process-output-Xg5O7mVz.js → process-output-Cv8vQ4At.js} +33 -33
  50. package/package.json +2 -1
  51. package/src/__tests__/setup.ts +15 -0
  52. package/src/components/data-table/TableActions.tsx +8 -2
  53. package/src/components/data-table/__tests__/data-table.test.tsx +63 -0
  54. package/src/components/data-table/data-table.tsx +10 -31
  55. package/src/components/data-table/hooks/use-scroll-container-height.ts +97 -0
  56. package/src/components/data-table/renderers.tsx +103 -46
  57. package/src/components/data-table/types.ts +14 -0
  58. package/src/core/islands/main.ts +0 -1
  59. package/src/core/websocket/useMarimoKernelConnection.tsx +1 -10
  60. package/dist/dist-BK8Ch8me.js +0 -5
  61. package/dist/dist-BPlAe3w3.js +0 -6
  62. package/dist/dist-BQnLGf1A.js +0 -8
  63. package/dist/dist-BZRBnAnM.js +0 -5
  64. package/dist/dist-BmTKj-5m.js +0 -5
  65. package/dist/dist-C1UyhB0b.js +0 -5
  66. package/dist/dist-C1uqqTuH.js +0 -5
  67. package/dist/dist-CCeSY9xv.js +0 -5
  68. package/dist/dist-CMWhb0s1.js +0 -5
  69. package/dist/dist-DYoFz28E.js +0 -8
  70. package/dist/dist-DeSnQwvL.js +0 -6
  71. package/dist/dist-e8VqCQ_P.js +0 -5
  72. package/dist/dist-kGaha3sX.js +0 -8
  73. package/dist/dist-wQD8nhf9.js +0 -8
@@ -5,24 +5,24 @@ import { g as Logger } from "./button-B1ZgJ7Cc.js";
5
5
  import "./Combination-B_FmEi05.js";
6
6
  import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
7
7
  import "./react-dom-BKwCWYPW.js";
8
- import { t as esm_default, u as CopyClipboardIcon } from "./esm-Bcbo0Yvz.js";
9
- import "./dist-N1lm7LVK.js";
10
- import "./dist-B771Ewvn.js";
11
- import "./dist-mpvRA2Bc.js";
12
- import "./dist-TuFHGVp2.js";
13
- import "./dist-Bc-mOFlk.js";
14
- import "./dist-D2nC1On3.js";
8
+ import { t as esm_default, u as CopyClipboardIcon } from "./esm-CxoKu9RN.js";
9
+ import "./dist-C4EV3aDt.js";
10
+ import "./dist-CSiTW5NO.js";
11
+ import "./dist-BFe8Nc_2.js";
12
+ import "./dist-Cm4SOB1A.js";
13
+ import "./dist-BrJQDkv_.js";
14
+ import "./dist-C16JG-Ok.js";
15
15
  import { n as ErrorBanner } from "./error-banner-D-KBGvBj.js";
16
- import "./dist-DKr1M-ru.js";
17
- import "./dist-DNSJBJI7.js";
18
- import "./dist-BjYGwQ65.js";
19
- import "./dist-DvjVNme1.js";
20
- import "./dist-CEmSeYaL.js";
21
- import "./dist-B6ZvKwIz.js";
22
- import "./dist-8-jPFKws.js";
23
- import "./dist-Bg1YGq2b.js";
24
- import "./dist--MUqhsBh.js";
25
- import { n as loadLanguage, t as langs } from "./esm-B_4hpmV_.js";
16
+ import "./dist-BJvk9DSp.js";
17
+ import "./dist-DbyoYfBn.js";
18
+ import "./dist-aW74oyUt.js";
19
+ import "./dist-CGH6Jw-c.js";
20
+ import "./dist-1-E4bC9V.js";
21
+ import "./dist-B5thW2rT.js";
22
+ import "./dist-CYuoqvce.js";
23
+ import "./dist-iM9VwH8Z.js";
24
+ import "./dist-CQ3XmGIH.js";
25
+ import { n as loadLanguage, t as langs } from "./esm-CCD9xN05.js";
26
26
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
27
27
  const LANGUAGE_MAP = {
28
28
  python: "py",
@@ -5,7 +5,7 @@ import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
5
5
  import { t as require_react } from "./react-Bs6Z0kvn.js";
6
6
  import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
7
7
  import { r as toast } from "./copy-B7XqFjF_.js";
8
- import { $t as getTableType, A as AccordionItem, C as Boosts, D as AIContextRegistry, Dt as displayCellName, E as AIContextProvider, En as atomWithStorage, Fn as Info, Gt as variablesAtom, H as ChatBubbleIcon, I as MarimoIncomingMessageEvent, In as File$1, Kt as PluralWord, Lt as moveToEndOfEditor, Nn as LoaderCircle, O as Accordion, On as Wrench, Pt as createVariableInfoElement, Qt as dataSourceConnectionsAtom, T as contextToXml, Vn as CircleX, Wt as jotaiJsonStorage, X as base64ToDataURL, Y as deserializeBlob, Zt as allTablesAtom, a as toPng, an as singleFacet, ct as notebookAtom, d as Spinner, f as Popover, g as PopoverAnchor, h as PopoverTrigger, hn as CellOutputId, it as cellErrorsAtom, j as AccordionTrigger, k as AccordionContent, kn as Trash2, m as PopoverContent, n as blobToString, o as MarkdownRenderer, rt as renderHTML, t as processOutput, tn as getRequestClient, un as ZodLocalStorage, v as isOutputEmpty, w as Sections, x as DatasourceContextProvider } from "./process-output-Xg5O7mVz.js";
8
+ import { $t as getTableType, A as AccordionItem, C as Boosts, D as AIContextRegistry, Dt as displayCellName, E as AIContextProvider, En as atomWithStorage, Fn as Info, Gt as variablesAtom, H as ChatBubbleIcon, I as MarimoIncomingMessageEvent, In as File$1, Kt as PluralWord, Lt as moveToEndOfEditor, Nn as LoaderCircle, O as Accordion, On as Wrench, Pt as createVariableInfoElement, Qt as dataSourceConnectionsAtom, T as contextToXml, Vn as CircleX, Wt as jotaiJsonStorage, X as base64ToDataURL, Y as deserializeBlob, Zt as allTablesAtom, a as toPng, an as singleFacet, ct as notebookAtom, d as Spinner, f as Popover, g as PopoverAnchor, h as PopoverTrigger, hn as CellOutputId, it as cellErrorsAtom, j as AccordionTrigger, k as AccordionContent, kn as Trash2, m as PopoverContent, n as blobToString, o as MarkdownRenderer, rt as renderHTML, t as processOutput, tn as getRequestClient, un as ZodLocalStorage, v as isOutputEmpty, w as Sections, x as DatasourceContextProvider } from "./process-output-Cv8vQ4At.js";
9
9
  import "./chunk-5FQGJX7Z-Cz2QbNIw.js";
10
10
  import { l as createLucideIcon } from "./dist-BiNtCiQ9.js";
11
11
  import { a as startCase_default } from "./useLifecycle-Be1LUuEg.js";
@@ -17,17 +17,17 @@ import { A as custom, B as record, D as any, E as _null, G as unknown, H as stri
17
17
  import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
18
18
  import "./react-dom-BKwCWYPW.js";
19
19
  import { t as Tooltip } from "./tooltip-DnI4CwIS.js";
20
- import { n as minimalSetup, t as esm_default, u as CopyClipboardIcon } from "./esm-Bcbo0Yvz.js";
20
+ import { n as minimalSetup, t as esm_default, u as CopyClipboardIcon } from "./esm-CxoKu9RN.js";
21
21
  import { t as isEmpty_default } from "./isEmpty-CI9akcsL.js";
22
22
  import { C as useEvent_default, n as useTheme, v as useStore } from "./useTheme-5GTtjXjy.js";
23
- import { $ as ViewPlugin, At as Prec, Dt as EditorState, Ft as StateField, Lt as Transaction, Ot as Facet, Pt as StateEffect, Y as Decoration, Z as EditorView, dt as keymap, et as WidgetType, ut as hoverTooltip } from "./dist-N1lm7LVK.js";
24
- import { n as acceptCompletion, o as closeCompletion, r as autocompletion } from "./dist-DqweMfpO.js";
23
+ import { $ as ViewPlugin, At as Prec, Dt as EditorState, Ft as StateField, Lt as Transaction, Ot as Facet, Pt as StateEffect, Y as Decoration, Z as EditorView, dt as keymap, et as WidgetType, ut as hoverTooltip } from "./dist-C4EV3aDt.js";
24
+ import { n as acceptCompletion, o as closeCompletion, r as autocompletion } from "./dist-BYr4a-wE.js";
25
25
  import "./main-sxFlUO_N.js";
26
- import { a as markdown } from "./dist-B771Ewvn.js";
27
- import "./dist-mpvRA2Bc.js";
28
- import "./dist-TuFHGVp2.js";
29
- import "./dist-Bc-mOFlk.js";
30
- import "./dist-D2nC1On3.js";
26
+ import { a as markdown } from "./dist-CSiTW5NO.js";
27
+ import "./dist-BFe8Nc_2.js";
28
+ import "./dist-Cm4SOB1A.js";
29
+ import "./dist-BrJQDkv_.js";
30
+ import "./dist-C16JG-Ok.js";
31
31
  import "./purify.es-Co_dANLh.js";
32
32
  import { n as ErrorBanner } from "./error-banner-D-KBGvBj.js";
33
33
  import { t as useAsyncData } from "./useAsyncData-BtHYXgXF.js";
@@ -1,5 +1,5 @@
1
- import { B as tags, J as parseMixed, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
2
- import { n as html } from "./dist-mpvRA2Bc.js";
1
+ import { B as tags, J as parseMixed, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
+ import { n as html } from "./dist-BFe8Nc_2.js";
3
3
  var castOpen = 1, HeredocString = 2, interpolatedStringContent = 263, EscapeSequence = 3, afterInterpolation = 264, automaticSemicolon = 265, eof = 266, abstract = 4, and = 5, array = 6, as = 7, Boolean = 8, _break = 9, _case = 10, _catch = 11, clone = 12, _const = 13, _continue = 14, _default = 15, declare = 16, _do = 17, echo = 18, _else = 19, elseif = 20, enddeclare = 21, endfor = 22, endforeach = 23, endif = 24, endswitch = 25, endwhile = 26, _enum = 27, _extends = 28, final = 29, _finally = 30, fn = 31, _for = 32, foreach = 33, from = 34, _function = 35, global = 36, goto = 37, _if = 38, _implements = 39, include = 40, include_once = 41, _instanceof = 42, insteadof = 43, _interface = 44, list = 45, match = 46, namespace = 47, _new = 48, _null = 49, or = 50, print = 51, _require = 52, require_once = 53, _return = 54, _switch = 55, _throw = 56, trait = 57, _try = 58, unset = 59, use = 60, _var = 61, Visibility = 62, keywordMap = {
4
4
  abstract,
5
5
  and,
@@ -1,4 +1,4 @@
1
- import { B as tags, O as indentNodeProp, S as foldInside, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
1
+ import { B as tags, O as indentNodeProp, S as foldInside, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
2
  var spec_Keyword = {
3
3
  __proto__: null,
4
4
  anyref: 34,
@@ -1,4 +1,4 @@
1
- import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
1
+ import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
2
  var closureParamDelim = 1, tpOpen = 2, tpClose = 3, RawString = 4, Float = 5, _b = 98, _e = 101, _f = 102, _r = 114, _E = 69, Zero = 48, Dot = 46, Plus = 43, Minus = 45, Hash = 35, Quote = 34, Pipe = 124, LessThan = 60, GreaterThan = 62;
3
3
  function isNum(h) {
4
4
  return h >= 48 && h <= 57;
@@ -1,6 +1,6 @@
1
- import { B as tags, Et as EditorSelection, I as syntaxTree, J as parseMixed, O as indentNodeProp, Z as EditorView, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
2
- import { r as cssLanguage, t as css } from "./dist-TuFHGVp2.js";
3
- import { c as typescriptLanguage, i as jsxLanguage, n as javascript, r as javascriptLanguage, s as tsxLanguage } from "./dist-Bc-mOFlk.js";
1
+ import { B as tags, Et as EditorSelection, I as syntaxTree, J as parseMixed, O as indentNodeProp, Z as EditorView, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
+ import { r as cssLanguage, t as css } from "./dist-Cm4SOB1A.js";
3
+ import { c as typescriptLanguage, i as jsxLanguage, n as javascript, r as javascriptLanguage, s as tsxLanguage } from "./dist-BrJQDkv_.js";
4
4
  var scriptText = 54, StartCloseScriptTag = 1, styleText = 55, StartCloseStyleTag = 2, textareaText = 56, StartCloseTextareaTag = 3, EndTag = 4, SelfClosingEndTag = 5, StartTag = 6, StartScriptTag = 7, StartStyleTag = 8, StartTextareaTag = 9, StartSelfClosingTag = 10, StartCloseTag = 11, NoMatchStartCloseTag = 12, MismatchedStartCloseTag = 13, missingCloseTag = 57, IncompleteCloseTag = 14, commentContent$1 = 58, Element = 20, TagName = 22, Attribute = 23, AttributeName = 24, AttributeValue = 26, UnquotedAttributeValue = 27, ScriptText = 28, StyleText = 31, TextareaText = 34, OpenTag = 36, CloseTag = 37, Dialect_noMatch = 0, Dialect_selfClosing = 1, selfClosers$1 = {
5
5
  area: true,
6
6
  base: true,
@@ -0,0 +1,5 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import { n as javaLanguage, t as java } from "./dist-aW74oyUt.js";
3
+ export {
4
+ java
5
+ };
@@ -0,0 +1,5 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import { n as rustLanguage, t as rust } from "./dist-B5thW2rT.js";
3
+ export {
4
+ rust
5
+ };
@@ -1,4 +1,4 @@
1
- import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-N1lm7LVK.js";
1
+ import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-C4EV3aDt.js";
2
2
  var RawString = 1, templateArgsEndFallback = 2, MacroName = 3, R = 82, L = 76, u = 117, U = 85, a = 97, z = 122, A = 65, Z = 90, Underscore = 95, Zero = 48, Quote = 34, ParenL = 40, ParenR = 41, Space = 32, GreaterThan = 62, rawString = new ExternalTokenizer((y) => {
3
3
  if (y.next == L || y.next == U ? y.advance() : y.next == u && (y.advance(), y.next == Zero + 8 && y.advance()), y.next != R || (y.advance(), y.next != Quote)) return;
4
4
  y.advance();
@@ -1,5 +1,5 @@
1
- import { B as tags, Et as EditorSelection, I as syntaxTree, J as parseMixed, O as indentNodeProp, Z as EditorView, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
2
- import { n as html } from "./dist-mpvRA2Bc.js";
1
+ import { B as tags, Et as EditorSelection, I as syntaxTree, J as parseMixed, O as indentNodeProp, Z as EditorView, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
+ import { n as html } from "./dist-BFe8Nc_2.js";
3
3
  var interpolationStart = 1, tagStart = 2, endTagStart = 3, text = 180, endrawTagStart = 4, rawText = 181, endcommentTagStart = 5, commentText = 182, InlineComment = 6;
4
4
  function wordChar(_) {
5
5
  return _ >= 65 && _ <= 90 || _ >= 97 && _ <= 122;
@@ -1,4 +1,4 @@
1
- import { $ as ViewPlugin, At as Prec, Bt as combineConfig, Et as EditorSelection, Ft as StateField, I as syntaxTree, It as Text, Lt as Transaction, Nt as RangeValue, Ot as Facet, Pt as StateEffect, Rt as codePointAt, Ut as fromCodePoint, X as Direction, Y as Decoration, Z as EditorView, at as getTooltip, dt as keymap, et as WidgetType, j as indentUnit, jt as RangeSet, kt as MapMode, pt as logException, wt as CharCategory, xt as Annotation, yt as showTooltip, zt as codePointSize } from "./dist-N1lm7LVK.js";
1
+ import { $ as ViewPlugin, At as Prec, Bt as combineConfig, Et as EditorSelection, Ft as StateField, I as syntaxTree, It as Text, Lt as Transaction, Nt as RangeValue, Ot as Facet, Pt as StateEffect, Rt as codePointAt, Ut as fromCodePoint, X as Direction, Y as Decoration, Z as EditorView, at as getTooltip, dt as keymap, et as WidgetType, j as indentUnit, jt as RangeSet, kt as MapMode, pt as logException, wt as CharCategory, xt as Annotation, yt as showTooltip, zt as codePointSize } from "./dist-C4EV3aDt.js";
2
2
  var CompletionContext = class {
3
3
  constructor(i8, N, P, F) {
4
4
  this.state = i8, this.pos = N, this.explicit = P, this.view = F, this.abortListeners = [], this.abortOnDocChange = false;
@@ -0,0 +1,5 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import { n as yamlLanguage, t as yaml } from "./dist-CQ3XmGIH.js";
3
+ export {
4
+ yaml
5
+ };
@@ -1,5 +1,5 @@
1
- import { B as tags, Et as EditorSelection, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, P as sublanguageProp, S as foldInside, V as IterMode, Z as EditorView, _ as defineLanguageFacet, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-N1lm7LVK.js";
2
- import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-DqweMfpO.js";
1
+ import { B as tags, Et as EditorSelection, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, P as sublanguageProp, S as foldInside, V as IterMode, Z as EditorView, _ as defineLanguageFacet, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-C4EV3aDt.js";
2
+ import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-BYr4a-wE.js";
3
3
  var noSemi = 315, noSemiType = 316, incdec = 1, incdecPrefix = 2, questionDot = 3, JSXStartTag = 4, insertSemi = 317, spaces = 319, newline = 320, LineComment = 5, BlockComment = 6, Dialect_jsx = 0, space = [
4
4
  9,
5
5
  10,
@@ -0,0 +1,8 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import "./dist-BFe8Nc_2.js";
3
+ import "./dist-Cm4SOB1A.js";
4
+ import "./dist-BrJQDkv_.js";
5
+ import { n as vueLanguage, t as vue } from "./dist-Dk13KZ54.js";
6
+ export {
7
+ vue
8
+ };
@@ -1,5 +1,5 @@
1
- import { B as tags, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, S as foldInside, V as IterMode, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
2
- import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-DqweMfpO.js";
1
+ import { B as tags, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, S as foldInside, V as IterMode, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
+ import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-BYr4a-wE.js";
3
3
  var printKeyword = 1, indent = 194, dedent = 195, newline$1 = 196, blankLineStart = 197, newlineBracketed = 198, eof = 199, stringContent = 200, Escape = 2, replacementStart = 3, stringEnd = 201, ParenL = 24, ParenthesizedExpression = 25, TupleExpression = 49, ComprehensionExpression = 50, BracketL = 55, ArrayExpression = 56, ArrayComprehensionExpression = 57, BraceL = 59, DictionaryExpression = 60, DictionaryComprehensionExpression = 61, SetExpression = 62, SetComprehensionExpression = 63, ArgList = 65, subscript = 238, String$1 = 71, stringStart = 241, stringStartD = 242, stringStartL = 243, stringStartLD = 244, stringStartR = 245, stringStartRD = 246, stringStartRL = 247, stringStartRLD = 248, FormatString = 72, stringStartF = 249, stringStartFD = 250, stringStartFL = 251, stringStartFLD = 252, stringStartFR = 253, stringStartFRD = 254, stringStartFRL = 255, stringStartFRLD = 256, FormatReplacement = 73, nestedFormatReplacement = 77, importList = 263, TypeParamList = 112, ParamList = 130, SequencePattern = 151, MappingPattern = 152, PatternArgList = 155, newline = 10, carriageReturn = 13, space = 32, tab = 9, hash = 35, parenOpen = 40, dot = 46, braceOpen = 123, braceClose = 125, singleQuote = 39, doubleQuote = 34, backslash = 92, letter_o = 111, letter_x = 120, letter_N = 78, letter_u = 117, letter_U = 85, bracketed = /* @__PURE__ */ new Set([
4
4
  ParenthesizedExpression,
5
5
  TupleExpression,
@@ -695,10 +695,10 @@ var SectionIter = class {
695
695
  let E, D;
696
696
  return this.empty ? E = D = w.mapPos(this.from, T) : (E = w.mapPos(this.from, 1), D = w.mapPos(this.to, -1)), E == this.from && D == this.to ? this : new e6(E, D, this.flags);
697
697
  }
698
- extend(e64, w = e64, T = 0) {
699
- if (e64 <= this.anchor && w >= this.anchor) return EditorSelection.range(e64, w, void 0, void 0, T);
700
- let E = Math.abs(e64 - this.anchor) > Math.abs(w - this.anchor) ? e64 : w;
701
- return EditorSelection.range(this.anchor, E, void 0, void 0, T);
698
+ extend(e64, w = e64) {
699
+ if (e64 <= this.anchor && w >= this.anchor) return EditorSelection.range(e64, w);
700
+ let T = Math.abs(e64 - this.anchor) > Math.abs(w - this.anchor) ? e64 : w;
701
+ return EditorSelection.range(this.anchor, T);
702
702
  }
703
703
  eq(e64, w = false) {
704
704
  return this.anchor == e64.anchor && this.head == e64.head && this.goalColumn == e64.goalColumn && (!w || !this.empty || this.assoc == e64.assoc);
@@ -766,9 +766,9 @@ var SectionIter = class {
766
766
  static cursor(e64, w = 0, T, E) {
767
767
  return SelectionRange.create(e64, e64, (w == 0 ? 0 : w < 0 ? 8 : 16) | (T == null ? 7 : Math.min(6, T)) | (E ?? 16777215) << 6);
768
768
  }
769
- static range(e64, w, T, E, D) {
770
- let O = (T ?? 16777215) << 6 | (E == null ? 7 : Math.min(6, E));
771
- return !D && e64 != w && (D = w < e64 ? 1 : -1), w < e64 ? SelectionRange.create(w, e64, 48 | O) : SelectionRange.create(e64, w, (D ? D < 0 ? 8 : 16 : 0) | O);
769
+ static range(e64, w, T, E) {
770
+ let D = (T ?? 16777215) << 6 | (E == null ? 7 : Math.min(6, E));
771
+ return w < e64 ? SelectionRange.create(w, e64, 48 | D) : SelectionRange.create(e64, w, (w > e64 ? 8 : 0) | D);
772
772
  }
773
773
  static normalized(w, T = 0) {
774
774
  let E = w[T];
@@ -2003,7 +2003,7 @@ var WidgetType = class {
2003
2003
  eq(e64) {
2004
2004
  return false;
2005
2005
  }
2006
- updateDOM(e64, w, T) {
2006
+ updateDOM(e64, w) {
2007
2007
  return false;
2008
2008
  }
2009
2009
  compare(e64) {
@@ -3329,7 +3329,7 @@ var TileCache = class {
3329
3329
  O = 1, D = 0;
3330
3330
  }
3331
3331
  let k = E[D];
3332
- if (!this.reused.has(k) && (O == 0 ? k.widget.compare(e64) : k.widget.constructor == e64.constructor && e64.updateDOM(k.dom, this.view, k.widget))) return E.splice(D, 1), D < this.index[0] && this.index[0]--, k.widget == e64 && k.length == w && (k.flags & 497) == T ? (this.reused.set(k, 1), k) : (this.reused.set(k, 2), new WidgetTile(k.dom, w, e64, k.flags & -498 | T));
3332
+ if (!this.reused.has(k) && (O == 0 ? k.widget.compare(e64) : k.widget.constructor == e64.constructor && e64.updateDOM(k.dom, this.view))) return E.splice(D, 1), D < this.index[0] && this.index[0]--, k.widget == e64 && k.length == w && (k.flags & 497) == T ? (this.reused.set(k, 1), k) : (this.reused.set(k, 2), new WidgetTile(k.dom, w, e64, k.flags & -498 | T));
3333
3333
  }
3334
3334
  }
3335
3335
  reuse(e64) {
@@ -3766,7 +3766,7 @@ var BreakWidget = /* @__PURE__ */ new class extends WidgetType {
3766
3766
  } catch (e65) {
3767
3767
  logException(this.view.state, e65, "scroll handler");
3768
3768
  }
3769
- let { range: w } = e64, T = this.coordsAt(w.head, w.assoc ?? (w.empty ? 0 : w.head > w.anchor ? -1 : 1)), E;
3769
+ let { range: w } = e64, T = this.coordsAt(w.head, w.empty ? w.assoc : w.head > w.anchor ? -1 : 1), E;
3770
3770
  if (!T) return;
3771
3771
  !w.empty && (E = this.coordsAt(w.anchor, w.anchor > w.head ? -1 : 1)) && (T = {
3772
3772
  left: Math.min(T.left, E.left),
@@ -3987,22 +3987,17 @@ function byGroup(e64, w, T) {
3987
3987
  function moveVertically(e64, w, T, E) {
3988
3988
  let D = w.head, O = T ? 1 : -1;
3989
3989
  if (D == (T ? e64.state.doc.length : 0)) return EditorSelection.cursor(D, w.assoc);
3990
- let k = w.goalColumn, A, j = e64.contentDOM.getBoundingClientRect(), M = e64.coordsAtPos(D, w.assoc || ((w.empty ? T : w.head == w.from) ? 1 : -1)), N = e64.documentTop;
3990
+ let k = w.goalColumn, A, j = e64.contentDOM.getBoundingClientRect(), M = e64.coordsAtPos(D, (w.empty ? w.assoc : 0) || (T ? 1 : -1)), N = e64.documentTop;
3991
3991
  if (M) k ?? (k = M.left - j.left), A = O < 0 ? M.top : M.bottom;
3992
3992
  else {
3993
3993
  let w2 = e64.viewState.lineBlockAt(D);
3994
3994
  k ?? (k = Math.min(j.right - j.left, e64.defaultCharacterWidth * (D - w2.from))), A = (O < 0 ? w2.top : w2.bottom) + N;
3995
3995
  }
3996
- let P = j.left + k, F = e64.viewState.heightOracle.textHeight >> 1, I = E ?? F;
3997
- for (let w2 = 0; ; w2 += F) {
3998
- let E2 = A + (I + w2) * O, D2 = posAtCoords(e64, {
3999
- x: P,
4000
- y: E2
4001
- }, false, O);
4002
- if (T ? E2 > j.bottom : E2 < j.top) return EditorSelection.cursor(D2.pos, D2.assoc);
4003
- let M2 = e64.coordsAtPos(D2.pos, D2.assoc), N2 = M2 ? (M2.top + M2.bottom) / 2 : 0;
4004
- if (!M2 || (T ? N2 > A : N2 < A)) return EditorSelection.cursor(D2.pos, D2.assoc, void 0, k);
4005
- }
3996
+ let P = j.left + k, F = E ?? e64.viewState.heightOracle.textHeight >> 1, I = posAtCoords(e64, {
3997
+ x: P,
3998
+ y: A + F * O
3999
+ }, false, O);
4000
+ return EditorSelection.cursor(I.pos, I.assoc, void 0, k);
4006
4001
  }
4007
4002
  function skipAtomicRanges(e64, w, T) {
4008
4003
  for (; ; ) {
@@ -4103,15 +4098,13 @@ var InlineCoordsScan = class {
4103
4098
  let I = w(F);
4104
4099
  if (I) for (let w2 = 0; w2 < I.length; w2++) {
4105
4100
  let D2 = I[w2], P3 = 0;
4106
- if (!(D2.width == 0 && I.length > 1)) {
4107
- if (D2.bottom < this.y) (!k || k.bottom < D2.bottom) && (k = D2), P3 = 1;
4108
- else if (D2.top > this.y) (!A || A.top > D2.top) && (A = D2), P3 = -1;
4109
- else {
4110
- let e65 = D2.left > this.x ? this.x - D2.left : D2.right < this.x ? this.x - D2.right : 0, w3 = Math.abs(e65);
4111
- w3 < M && (j = F, M = w3, N = D2), e65 && (P3 = e65 < 0 == (this.baseDir == Direction.LTR) ? -1 : 1);
4112
- }
4113
- P3 == -1 && (!O || this.baseDirAt(e64[F], 1)) ? E = F : P3 == 1 && (!O || this.baseDirAt(e64[F + 1], -1)) && (T = F + 1);
4101
+ if (D2.bottom < this.y) (!k || k.bottom < D2.bottom) && (k = D2), P3 = 1;
4102
+ else if (D2.top > this.y) (!A || A.top > D2.top) && (A = D2), P3 = -1;
4103
+ else {
4104
+ let e65 = D2.left > this.x ? this.x - D2.left : D2.right < this.x ? this.x - D2.right : 0, w3 = Math.abs(e65);
4105
+ w3 < M && (j = F, M = w3, N = D2), e65 && (P3 = e65 < 0 == (this.baseDir == Direction.LTR) ? -1 : 1);
4114
4106
  }
4107
+ P3 == -1 && (!O || this.baseDirAt(e64[F], 1)) ? E = F : P3 == 1 && (!O || this.baseDirAt(e64[F + 1], -1)) && (T = F + 1);
4115
4108
  }
4116
4109
  }
4117
4110
  if (!N) {
@@ -4227,22 +4220,18 @@ var DOMPoint = class {
4227
4220
  }, DOMChange = class {
4228
4221
  constructor(e64, w, T, E) {
4229
4222
  this.typeOver = E, this.bounds = null, this.text = "", this.domChanged = w > -1;
4230
- let { impreciseHead: D, impreciseAnchor: O } = e64.docView, k = e64.state.selection;
4223
+ let { impreciseHead: D, impreciseAnchor: O } = e64.docView;
4231
4224
  if (e64.state.readOnly && w > -1) this.newSel = null;
4232
4225
  else if (w > -1 && (this.bounds = domBoundsAround(e64.docView.tile, w, T, 0))) {
4233
4226
  let w2 = D || O ? [] : selectionPoints(e64), T2 = new DOMReader(w2, e64);
4234
4227
  T2.readRange(this.bounds.startDOM, this.bounds.endDOM), this.text = T2.text, this.newSel = selectionFromPoints(w2, this.bounds.from);
4235
4228
  } else {
4236
- let w2 = e64.observer.selectionRange, T2 = D && D.node == w2.focusNode && D.offset == w2.focusOffset || !contains(e64.contentDOM, w2.focusNode) ? k.main.head : e64.docView.posFromDOM(w2.focusNode, w2.focusOffset), E2 = O && O.node == w2.anchorNode && O.offset == w2.anchorOffset || !contains(e64.contentDOM, w2.anchorNode) ? k.main.anchor : e64.docView.posFromDOM(w2.anchorNode, w2.anchorOffset), A = e64.viewport;
4237
- if ((browser.ios || browser.chrome) && k.main.empty && T2 != E2 && (A.from > 0 || A.to < e64.state.doc.length)) {
4238
- let w3 = Math.min(T2, E2), D2 = Math.max(T2, E2), O2 = A.from - w3, k2 = A.to - D2;
4239
- (O2 == 0 || O2 == 1 || w3 == 0) && (k2 == 0 || k2 == -1 || D2 == e64.state.doc.length) && (T2 = 0, E2 = e64.state.doc.length);
4229
+ let w2 = e64.observer.selectionRange, T2 = D && D.node == w2.focusNode && D.offset == w2.focusOffset || !contains(e64.contentDOM, w2.focusNode) ? e64.state.selection.main.head : e64.docView.posFromDOM(w2.focusNode, w2.focusOffset), E2 = O && O.node == w2.anchorNode && O.offset == w2.anchorOffset || !contains(e64.contentDOM, w2.anchorNode) ? e64.state.selection.main.anchor : e64.docView.posFromDOM(w2.anchorNode, w2.anchorOffset), k = e64.viewport;
4230
+ if ((browser.ios || browser.chrome) && e64.state.selection.main.empty && T2 != E2 && (k.from > 0 || k.to < e64.state.doc.length)) {
4231
+ let w3 = Math.min(T2, E2), D2 = Math.max(T2, E2), O2 = k.from - w3, A = k.to - D2;
4232
+ (O2 == 0 || O2 == 1 || w3 == 0) && (A == 0 || A == -1 || D2 == e64.state.doc.length) && (T2 = 0, E2 = e64.state.doc.length);
4240
4233
  }
4241
- if (e64.inputState.composing > -1 && k.ranges.length > 1) this.newSel = k.replaceRange(EditorSelection.range(E2, T2));
4242
- else if (e64.lineWrapping && E2 == T2 && !(k.main.empty && k.main.head == T2) && e64.inputState.lastTouchTime > Date.now() - 100) {
4243
- let w3 = e64.coordsAtPos(T2, -1), E3 = 0;
4244
- w3 && (E3 = e64.inputState.lastTouchY <= w3.bottom ? -1 : 1), this.newSel = EditorSelection.create([EditorSelection.cursor(T2, E3)]);
4245
- } else this.newSel = EditorSelection.single(E2, T2);
4234
+ e64.inputState.composing > -1 && e64.state.selection.ranges.length > 1 ? this.newSel = e64.state.selection.replaceRange(EditorSelection.range(E2, T2)) : this.newSel = EditorSelection.single(E2, T2);
4246
4235
  }
4247
4236
  }
4248
4237
  };
@@ -4415,7 +4404,7 @@ var InputState = class {
4415
4404
  this.lastSelectionOrigin = e64, this.lastSelectionTime = Date.now();
4416
4405
  }
4417
4406
  constructor(e64) {
4418
- this.view = e64, this.lastKeyCode = 0, this.lastKeyTime = 0, this.lastTouchTime = 0, this.lastTouchX = 0, this.lastTouchY = 0, this.lastFocusTime = 0, this.lastScrollTop = 0, this.lastScrollLeft = 0, this.lastWheelEvent = 0, this.pendingIOSKey = void 0, this.tabFocusMode = -1, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastContextMenu = 0, this.scrollHandlers = [], this.handlers = /* @__PURE__ */ Object.create(null), this.composing = -1, this.compositionFirstChange = null, this.compositionEndedAt = 0, this.compositionPendingKey = false, this.compositionPendingChange = false, this.insertingText = "", this.insertingTextAt = 0, this.mouseSelection = null, this.draggedContent = null, this.handleEvent = this.handleEvent.bind(this), this.notifiedFocused = e64.hasFocus, browser.safari && e64.contentDOM.addEventListener("input", () => null), browser.gecko && firefoxCopyCutHack(e64.contentDOM.ownerDocument);
4407
+ this.view = e64, this.lastKeyCode = 0, this.lastKeyTime = 0, this.lastTouchTime = 0, this.lastFocusTime = 0, this.lastScrollTop = 0, this.lastScrollLeft = 0, this.lastWheelEvent = 0, this.pendingIOSKey = void 0, this.tabFocusMode = -1, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastContextMenu = 0, this.scrollHandlers = [], this.handlers = /* @__PURE__ */ Object.create(null), this.composing = -1, this.compositionFirstChange = null, this.compositionEndedAt = 0, this.compositionPendingKey = false, this.compositionPendingChange = false, this.insertingText = "", this.insertingTextAt = 0, this.mouseSelection = null, this.draggedContent = null, this.handleEvent = this.handleEvent.bind(this), this.notifiedFocused = e64.hasFocus, browser.safari && e64.contentDOM.addEventListener("input", () => null), browser.gecko && firefoxCopyCutHack(e64.contentDOM.ownerDocument);
4419
4408
  }
4420
4409
  handleEvent(e64) {
4421
4410
  !eventBelongsToEditor(this.view, e64) || this.ignoreDuringComposition(e64) || e64.type == "keydown" && this.keydown(e64) || (this.view.updateState == 0 ? this.runHandlers(e64.type, e64) : Promise.resolve().then(() => this.runHandlers(e64.type, e64)));
@@ -4446,7 +4435,7 @@ var InputState = class {
4446
4435
  if (this.lastKeyCode = e64.keyCode, this.lastKeyTime = Date.now(), e64.keyCode == 9 && this.tabFocusMode > -1 && (!this.tabFocusMode || Date.now() <= this.tabFocusMode)) return true;
4447
4436
  if (this.tabFocusMode > 0 && e64.keyCode != 27 && modifierCodes.indexOf(e64.keyCode) < 0 && (this.tabFocusMode = -1), browser.android && browser.chrome && !e64.synthetic && (e64.keyCode == 13 || e64.keyCode == 8)) return this.view.observer.delayAndroidKey(e64.key, e64.keyCode), true;
4448
4437
  let w;
4449
- return browser.ios && !e64.synthetic && !e64.altKey && !e64.metaKey && !e64.shiftKey && ((w = PendingKeys.find((w2) => w2.keyCode == e64.keyCode)) && !e64.ctrlKey || EmacsyPendingKeys.indexOf(e64.key) > -1 && e64.ctrlKey) ? (this.pendingIOSKey = w || e64, setTimeout(() => this.flushIOSKey(), 250), true) : (e64.keyCode != 229 && this.view.observer.forceFlush(), false);
4438
+ return browser.ios && !e64.synthetic && !e64.altKey && !e64.metaKey && ((w = PendingKeys.find((w2) => w2.keyCode == e64.keyCode)) && !e64.ctrlKey || EmacsyPendingKeys.indexOf(e64.key) > -1 && e64.ctrlKey && !e64.shiftKey) ? (this.pendingIOSKey = w || e64, setTimeout(() => this.flushIOSKey(), 250), true) : (e64.keyCode != 229 && this.view.observer.forceFlush(), false);
4450
4439
  }
4451
4440
  flushIOSKey(e64) {
4452
4441
  let w = this.pendingIOSKey;
@@ -4662,8 +4651,7 @@ observers.scroll = (e64) => {
4662
4651
  }, observers.wheel = observers.mousewheel = (e64) => {
4663
4652
  e64.inputState.lastWheelEvent = Date.now();
4664
4653
  }, handlers.keydown = (e64, w) => (e64.inputState.setSelectionOrigin("select"), w.keyCode == 27 && e64.inputState.tabFocusMode != 0 && (e64.inputState.tabFocusMode = Date.now() + 2e3), false), observers.touchstart = (e64, w) => {
4665
- let T = e64.inputState, E = w.targetTouches[0];
4666
- T.lastTouchTime = Date.now(), E && (T.lastTouchX = E.clientX, T.lastTouchY = E.clientY), T.setSelectionOrigin("select.pointer");
4654
+ e64.inputState.lastTouchTime = Date.now(), e64.inputState.setSelectionOrigin("select.pointer");
4667
4655
  }, observers.touchmove = (e64) => {
4668
4656
  e64.inputState.setSelectionOrigin("select.pointer");
4669
4657
  }, handlers.mousedown = (e64, w) => {
@@ -4712,9 +4700,9 @@ function basicMouseSelection(e64, w) {
4712
4700
  }, false), j, M = rangeForClick(e64, A.pos, A.assoc, E);
4713
4701
  if (T.pos != A.pos && !O) {
4714
4702
  let w3 = rangeForClick(e64, T.pos, T.assoc, E), D2 = Math.min(w3.from, M.from), O2 = Math.max(w3.to, M.to);
4715
- M = D2 < M.from ? EditorSelection.range(D2, O2, M.assoc) : EditorSelection.range(O2, D2, M.assoc);
4703
+ M = D2 < M.from ? EditorSelection.range(D2, O2) : EditorSelection.range(O2, D2);
4716
4704
  }
4717
- return O ? D.replaceRange(D.main.extend(M.from, M.to, M.assoc)) : k && E == 1 && D.ranges.length > 1 && (j = removeRangeAround(D, A.pos)) ? j : k ? D.addRange(M) : EditorSelection.create([M]);
4705
+ return O ? D.replaceRange(D.main.extend(M.from, M.to)) : k && E == 1 && D.ranges.length > 1 && (j = removeRangeAround(D, A.pos)) ? j : k ? D.addRange(M) : EditorSelection.create([M]);
4718
4706
  }
4719
4707
  };
4720
4708
  }
@@ -5762,21 +5750,6 @@ var baseTheme$1$1 = /* @__PURE__ */ buildTheme("." + baseThemeID, {
5762
5750
  },
5763
5751
  ".cm-cursor": { display: "none" },
5764
5752
  "&dark .cm-cursor": { borderLeftColor: "#ddd" },
5765
- ".cm-selectionHandle": {
5766
- backgroundColor: "currentColor",
5767
- width: "1.5px"
5768
- },
5769
- ".cm-selectionHandle-start::before, .cm-selectionHandle-end::before": {
5770
- content: '""',
5771
- backgroundColor: "inherit",
5772
- borderRadius: "50%",
5773
- width: "8px",
5774
- height: "8px",
5775
- position: "absolute",
5776
- left: "-3.25px"
5777
- },
5778
- ".cm-selectionHandle-start::before": { top: "-8px" },
5779
- ".cm-selectionHandle-end::before": { bottom: "-8px" },
5780
5753
  ".cm-dropCursor": { position: "absolute" },
5781
5754
  "&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor": { display: "block" },
5782
5755
  ".cm-iso": { unicodeBidi: "isolate" },
@@ -6910,8 +6883,7 @@ function layer(e64) {
6910
6883
  var selectionConfig = /* @__PURE__ */ Facet.define({ combine(e64) {
6911
6884
  return combineConfig(e64, {
6912
6885
  cursorBlinkRate: 1200,
6913
- drawRangeCursor: true,
6914
- iosSelectionHandles: true
6886
+ drawRangeCursor: true
6915
6887
  }, {
6916
6888
  cursorBlinkRate: (e65, w) => Math.min(e65, w),
6917
6889
  drawRangeCursor: (e65, w) => e65 || w
@@ -6935,8 +6907,8 @@ var cursorLayer = /* @__PURE__ */ layer({
6935
6907
  let { state: w } = e64, T = w.facet(selectionConfig), E = [];
6936
6908
  for (let D of w.selection.ranges) {
6937
6909
  let O = D == w.selection.main;
6938
- if (D.empty || T.drawRangeCursor && !(O && browser.ios && T.iosSelectionHandles)) {
6939
- let w2 = O ? "cm-cursor cm-cursor-primary" : "cm-cursor cm-cursor-secondary", T2 = D.empty ? D : EditorSelection.cursor(D.head, D.assoc);
6910
+ if (D.empty || T.drawRangeCursor) {
6911
+ let w2 = O ? "cm-cursor cm-cursor-primary" : "cm-cursor cm-cursor-secondary", T2 = D.empty ? D : EditorSelection.cursor(D.head, D.head > D.anchor ? -1 : 1);
6940
6912
  for (let D2 of RectangleMarker.forRange(e64, w2, T2)) E.push(D2);
6941
6913
  }
6942
6914
  }
@@ -6958,13 +6930,7 @@ function setBlinkRate(e64, w) {
6958
6930
  var selectionLayer = /* @__PURE__ */ layer({
6959
6931
  above: false,
6960
6932
  markers(e64) {
6961
- let w = [], { main: T, ranges: E } = e64.state.selection;
6962
- for (let T2 of E) if (!T2.empty) for (let E2 of RectangleMarker.forRange(e64, "cm-selectionBackground", T2)) w.push(E2);
6963
- if (browser.ios && !T.empty && e64.state.facet(selectionConfig).iosSelectionHandles) {
6964
- for (let E2 of RectangleMarker.forRange(e64, "cm-selectionHandle cm-selectionHandle-start", EditorSelection.cursor(T.from, 1))) w.push(E2);
6965
- for (let E2 of RectangleMarker.forRange(e64, "cm-selectionHandle cm-selectionHandle-end", EditorSelection.cursor(T.to, 1))) w.push(E2);
6966
- }
6967
- return w;
6933
+ return e64.state.selection.ranges.map((w) => w.empty ? [] : RectangleMarker.forRange(e64, "cm-selectionBackground", w)).reduce((e65, w) => e65.concat(w));
6968
6934
  },
6969
6935
  update(e64, w) {
6970
6936
  return e64.docChanged || e64.selectionSet || e64.viewportChanged || configChanged(e64);
@@ -0,0 +1,5 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import { i as pythonLanguage, n as localCompletionSource, r as python, t as globalCompletion } from "./dist-C16JG-Ok.js";
3
+ export {
4
+ python
5
+ };
@@ -0,0 +1,8 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import "./dist-BFe8Nc_2.js";
3
+ import "./dist-Cm4SOB1A.js";
4
+ import "./dist-BrJQDkv_.js";
5
+ import { i as liquidLanguage, n as liquid, r as liquidCompletionSource, t as closePercentBrace } from "./dist-BLrc9iNb.js";
6
+ export {
7
+ liquid
8
+ };
@@ -1,4 +1,4 @@
1
- import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
1
+ import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
2
  var jsonHighlighting = styleTags({
3
3
  String: tags.string,
4
4
  Number: tags.number,
@@ -1,5 +1,5 @@
1
- import "./dist-N1lm7LVK.js";
2
- import { i as snippets, n as goLanguage, r as localCompletionSource, t as go } from "./dist-DNSJBJI7.js";
1
+ import "./dist-C4EV3aDt.js";
2
+ import { i as snippets, n as goLanguage, r as localCompletionSource, t as go } from "./dist-DbyoYfBn.js";
3
3
  export {
4
4
  go
5
5
  };
@@ -0,0 +1,5 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import { n as jsonLanguage, t as json } from "./dist-CGH6Jw-c.js";
3
+ export {
4
+ json
5
+ };
@@ -1,4 +1,4 @@
1
- import { B as tags, O as indentNodeProp, S as foldInside, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
1
+ import { B as tags, O as indentNodeProp, S as foldInside, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
2
  var blockEnd = 63, eof = 64, DirectiveEnd = 1, DocEnd = 2, sequenceStartMark = 3, sequenceContinueMark = 4, explicitMapStartMark = 5, explicitMapContinueMark = 6, flowMapMark = 7, mapStartMark = 65, mapContinueMark = 66, Literal = 8, QuotedLiteral = 9, Anchor = 10, Alias = 11, Tag = 12, BlockLiteralContent = 13, BracketL = 19, FlowSequence = 20, Colon = 29, BraceL = 33, FlowMapping = 34, BlockLiteralHeader = 47, type_Top = 0, type_Seq = 1, type_Map = 2, type_Flow = 3, type_Lit = 4, Context = class {
3
3
  constructor(v, q, J) {
4
4
  this.parent = v, this.depth = q, this.type = J, this.hash = (v ? v.hash + v.hash << 8 : 0) + q + (q << 4) + J;
@@ -1,6 +1,6 @@
1
- import { At as Prec, B as tags, Dt as EditorState, Et as EditorSelection, H as NodeProp, I as syntaxTree, J as parseMixed, K as Parser, M as languageDataProp, O as indentNodeProp, R as Tag, T as foldService, U as NodeSet, Vt as countColumn, W as NodeType, Z as EditorView, _ as defineLanguageFacet, c as Language, d as ParseContext, dt as keymap, j as indentUnit, l as LanguageDescription, q as Tree, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
2
- import { t as CompletionContext } from "./dist-DqweMfpO.js";
3
- import { n as html, r as htmlCompletionSource } from "./dist-mpvRA2Bc.js";
1
+ import { At as Prec, B as tags, Dt as EditorState, Et as EditorSelection, H as NodeProp, I as syntaxTree, J as parseMixed, K as Parser, M as languageDataProp, O as indentNodeProp, R as Tag, T as foldService, U as NodeSet, Vt as countColumn, W as NodeType, Z as EditorView, _ as defineLanguageFacet, c as Language, d as ParseContext, dt as keymap, j as indentUnit, l as LanguageDescription, q as Tree, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
+ import { t as CompletionContext } from "./dist-BYr4a-wE.js";
3
+ import { n as html, r as htmlCompletionSource } from "./dist-BFe8Nc_2.js";
4
4
  var CompositeBlock = class l {
5
5
  static create(R, z, B, V, H) {
6
6
  return new l(R, z, B, V + (V << 8) + R + (z << 4) | 0, H, [], []);
@@ -0,0 +1,6 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import "./dist-Cm4SOB1A.js";
3
+ import { n as lessCompletionSource, r as lessLanguage, t as less } from "./dist-CxczluAk.js";
4
+ export {
5
+ less
6
+ };
@@ -1,5 +1,5 @@
1
- import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
2
- import { i as defineCSSCompletionSource } from "./dist-TuFHGVp2.js";
1
+ import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
+ import { i as defineCSSCompletionSource } from "./dist-Cm4SOB1A.js";
3
3
  var indent = 168, dedent = 169, descendantOp = 170, InterpolationEnd = 1, InterpolationContinue = 2, Unit = 3, callee = 171, identifier = 172, VariableName = 4, queryIdentifier = 173, InterpolationStart = 5, newline = 174, blankLineStart = 175, eof = 176, whitespace = 177, LineComment = 6, Comment = 7, IndentedMixin = 8, IndentedInclude = 9, Dialect_indented = 0, space = [
4
4
  9,
5
5
  10,
@@ -0,0 +1,5 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import { i as defineCSSCompletionSource, n as cssCompletionSource, r as cssLanguage, t as css } from "./dist-Cm4SOB1A.js";
3
+ export {
4
+ css
5
+ };
@@ -1,4 +1,4 @@
1
- import { B as tags$1, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, S as foldInside, V as IterMode, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
1
+ import { B as tags$1, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, S as foldInside, V as IterMode, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
2
  var descendantOp = 122, Unit = 1, identifier$1 = 123, callee = 124, VariableName = 2, queryIdentifier = 125, queryVariableName = 3, QueryCallee = 4, space = [
3
3
  9,
4
4
  10,
@@ -1,5 +1,5 @@
1
- import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
2
- import { i as defineCSSCompletionSource } from "./dist-TuFHGVp2.js";
1
+ import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
+ import { i as defineCSSCompletionSource } from "./dist-Cm4SOB1A.js";
3
3
  var descendantOp = 110, Unit = 1, openArgList = 2, space = [
4
4
  9,
5
5
  10,
@@ -0,0 +1,5 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import { n as cppLanguage, t as cpp } from "./dist-BJvk9DSp.js";
3
+ export {
4
+ cpp
5
+ };
@@ -1,5 +1,5 @@
1
- import { B as tags, I as syntaxTree, O as indentNodeProp, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
2
- import { l as ifNotIn, s as completeFromList } from "./dist-DqweMfpO.js";
1
+ import { B as tags, I as syntaxTree, O as indentNodeProp, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
+ import { l as ifNotIn, s as completeFromList } from "./dist-BYr4a-wE.js";
3
3
  var whitespace = 36, LineComment = 1, BlockComment = 2, String$1 = 3, Number = 4, Bool = 5, Null = 6, ParenL = 7, ParenR = 8, BraceL = 9, BraceR = 10, BracketL = 11, BracketR = 12, Semi = 13, Dot = 14, Operator = 15, Punctuation = 16, SpecialVar = 17, Identifier = 18, QuotedIdentifier = 19, Keyword = 20, Type = 21, Bits = 22, Bytes = 23, Builtin = 24;
4
4
  function isAlpha(h3) {
5
5
  return h3 >= 65 && h3 <= 90 || h3 >= 97 && h3 <= 122 || h3 >= 48 && h3 <= 57;
@@ -0,0 +1,8 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import "./dist-BFe8Nc_2.js";
3
+ import "./dist-Cm4SOB1A.js";
4
+ import "./dist-BrJQDkv_.js";
5
+ import { n as phpLanguage, t as php } from "./dist-1-E4bC9V.js";
6
+ export {
7
+ php
8
+ };
@@ -1,5 +1,5 @@
1
- import { B as tags, Et as EditorSelection, I as syntaxTree, J as parseMixed, O as indentNodeProp, Z as EditorView, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-N1lm7LVK.js";
2
- import { n as html } from "./dist-mpvRA2Bc.js";
1
+ import { B as tags, Et as EditorSelection, I as syntaxTree, J as parseMixed, O as indentNodeProp, Z as EditorView, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-C4EV3aDt.js";
2
+ import { n as html } from "./dist-BFe8Nc_2.js";
3
3
  var interpolationStart = 1, commentTagStart = 2, tagStart = 3, text = 155, endrawTagStart = 4, rawText = 156;
4
4
  function wordChar(h) {
5
5
  return h >= 65 && h <= 90 || h >= 97 && h <= 122;
@@ -1,8 +1,8 @@
1
- import "./dist-N1lm7LVK.js";
2
- import { a as markdown, c as pasteURLAsLink, i as insertNewlineContinueMarkupCommand, n as deleteMarkupBackward, o as markdownKeymap, r as insertNewlineContinueMarkup, s as markdownLanguage, t as commonmarkLanguage } from "./dist-B771Ewvn.js";
3
- import "./dist-mpvRA2Bc.js";
4
- import "./dist-TuFHGVp2.js";
5
- import "./dist-Bc-mOFlk.js";
1
+ import "./dist-C4EV3aDt.js";
2
+ import { a as markdown, c as pasteURLAsLink, i as insertNewlineContinueMarkupCommand, n as deleteMarkupBackward, o as markdownKeymap, r as insertNewlineContinueMarkup, s as markdownLanguage, t as commonmarkLanguage } from "./dist-CSiTW5NO.js";
3
+ import "./dist-BFe8Nc_2.js";
4
+ import "./dist-Cm4SOB1A.js";
5
+ import "./dist-BrJQDkv_.js";
6
6
  export {
7
7
  markdown
8
8
  };
@@ -0,0 +1,6 @@
1
+ import "./dist-C4EV3aDt.js";
2
+ import "./dist-Cm4SOB1A.js";
3
+ import { n as sassCompletionSource, r as sassLanguage, t as sass } from "./dist-CYuoqvce.js";
4
+ export {
5
+ sass
6
+ };