@marimo-team/islands 0.25.2-dev34 → 0.25.2-dev35

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 (138) hide show
  1. package/dist/{ErrorBoundary-CjuUwKqG.js → ErrorBoundary-ChAoG2uk.js} +1 -1
  2. package/dist/{any-language-editor-dqxlUDlT.js → any-language-editor-DJ2MRREE.js} +2 -2
  3. package/dist/{apl-BYaaig9_.js → apl-GEW9-ZP1.js} +1 -1
  4. package/dist/{asciiarmor-GKQFJXQG.js → asciiarmor-BWNxzkG7.js} +1 -1
  5. package/dist/{asn1-BsSb7HP5.js → asn1-Bcn2QutK.js} +1 -1
  6. package/dist/{asterisk-B3I8SNb5.js → asterisk-lE36-hJK.js} +1 -1
  7. package/dist/{brainfuck-DXjk3bQe.js → brainfuck-BQCYDheZ.js} +1 -1
  8. package/dist/{cells-BUbzm9iX.js → cells-DxsypDZK.js} +265 -265
  9. package/dist/{chat-ui-DJpsSmlB.js → chat-ui-Co3Bmh7f.js} +32 -32
  10. package/dist/{clike-E2lFbGVj.js → clike-CxK9W55Z.js} +1 -1
  11. package/dist/{clojure-Dn_K4RlK.js → clojure-Dzcvwpxk.js} +1 -1
  12. package/dist/{cmake-DpN2Top5.js → cmake-DYr-71zp.js} +1 -1
  13. package/dist/{cobol-Chf22-GM.js → cobol-DC3g37Kq.js} +1 -1
  14. package/dist/{code-visibility-k7uH6Nw_.js → code-visibility-C7R_-ZiT.js} +2 -2
  15. package/dist/{coffeescript-BVe1OiD9.js → coffeescript-C-eFwH5N.js} +1 -1
  16. package/dist/{common-4mpjRYCR.js → common-CiW9HRfO.js} +5 -5
  17. package/dist/{commonlisp-DxoBG7fU.js → commonlisp-CyaNXrJR.js} +1 -1
  18. package/dist/{crystal-DCM3yc4r.js → crystal-ih5ax5tQ.js} +1 -1
  19. package/dist/{css-DkZ9mMyI.js → css-CN_wP7_R.js} +1 -1
  20. package/dist/{cypher-Drw_8U5I.js → cypher-CqGRcmZo.js} +1 -1
  21. package/dist/{d-CsVGcKMF.js → d-Cj0sOW2z.js} +1 -1
  22. package/dist/{data-grid-overlay-editor-BDfsrG59.js → data-grid-overlay-editor-BSk6h0Se.js} +1 -1
  23. package/dist/{diff-CBikYCUF.js → diff-B_hUkiat.js} +1 -1
  24. package/dist/{dist-Df0wKI0F.js → dist-BK4Oj99o.js} +1 -1
  25. package/dist/{dist-BVGtK7Ht.js → dist-BLfKmR-l.js} +1 -1
  26. package/dist/{dist-B8D7McG3.js → dist-BMQf5zIS.js} +46 -46
  27. package/dist/{dist-C2KzV-vf.js → dist-BorMD-uX.js} +2 -2
  28. package/dist/{dist-Cs2FijYk.js → dist-BuaRHxOc.js} +2 -2
  29. package/dist/{dist-DPcEtqmG.js → dist-Bvs24R_E.js} +47 -47
  30. package/dist/{dist-lA1Cttkb.js → dist-C8fAKSH1.js} +41 -41
  31. package/dist/{dist-DszxuxS1.js → dist-CLdpGQVr.js} +2 -2
  32. package/dist/{dist-CO1AwwG_.js → dist-CN8zI-XC.js} +209 -209
  33. package/dist/{dist-D1PpnuZB.js → dist-CN_BeG2I.js} +1 -1
  34. package/dist/{dist-CPGxfVGX.js → dist-CSJ0MDRw.js} +1 -1
  35. package/dist/{dist-Cm3iAFMD.js → dist-CSbh1PNP.js} +3 -3
  36. package/dist/{dist-9x1ZRe-e.js → dist-Cg7gzw-a.js} +2 -2
  37. package/dist/{dist-B1vYLK28.js → dist-CkTTIdBe.js} +345 -345
  38. package/dist/{dist-BRxfaJgs.js → dist-CrSP_H1M.js} +296 -296
  39. package/dist/{dist-C2wDlYdD.js → dist-D-wwqlzJ.js} +2 -2
  40. package/dist/{dist-BtKIs9N-.js → dist-D6d86eNJ.js} +1 -1
  41. package/dist/{dist-DHOTQar0.js → dist-DBtSl3sf.js} +1 -1
  42. package/dist/{dist-KzZ7WELx.js → dist-DiDibOYr.js} +120 -120
  43. package/dist/{dist-Kxgjxakw.js → dist-DoE4XJBC.js} +1277 -1222
  44. package/dist/{dist-BHCHt1NI.js → dist-F8Ep36rk.js} +1 -1
  45. package/dist/{dist-C8xMLVYi.js → dist-OR1OnN-y.js} +44 -44
  46. package/dist/{dist-1HDa70oE.js → dist-PXYI_yuP.js} +3 -3
  47. package/dist/{dist-CMh_W4y4.js → dist-diIx5qJW.js} +2 -2
  48. package/dist/{dockerfile-DJnSntVB.js → dockerfile-D0VKN500.js} +2 -2
  49. package/dist/{dtd-BHa4v0Bn.js → dtd-B8FGSWWe.js} +1 -1
  50. package/dist/{dylan-BypL2Zz8.js → dylan-DbIBYIrw.js} +1 -1
  51. package/dist/{ebnf-5guncNu-.js → ebnf-D-YbYLdk.js} +1 -1
  52. package/dist/{ecl-iRcVIKYZ.js → ecl-DBmkdWAd.js} +1 -1
  53. package/dist/{eiffel-BEqF9aU4.js → eiffel-CcWSDDzK.js} +1 -1
  54. package/dist/{elm-DYcfNE9c.js → elm-MC-b8a6C.js} +1 -1
  55. package/dist/{erlang-BtAuIoF0.js → erlang-AdO1-xtV.js} +1 -1
  56. package/dist/{error-entries-B9WBDeky.js → error-entries-xDl6bkdA.js} +1 -1
  57. package/dist/{esm-BElI3qKH.js → esm-D2gTsXEV.js} +579 -579
  58. package/dist/{esm-h8f7-1CJ.js → esm-DAVrGVKP.js} +378 -372
  59. package/dist/{factor-3nzOwLuN.js → factor-Ys-13HOP.js} +2 -2
  60. package/dist/{fcl-C90TGnJJ.js → fcl-DnwditDr.js} +1 -1
  61. package/dist/{feedback-button-DZggNDbL.js → feedback-button-FrFcb6OR.js} +4 -4
  62. package/dist/{forth-DEaRrLUi.js → forth-DiMuIXFe.js} +1 -1
  63. package/dist/{fortran-Bv6JRUjY.js → fortran-hkrF2eM4.js} +1 -1
  64. package/dist/{gas-JNerWj3-.js → gas-DlhqN9k8.js} +1 -1
  65. package/dist/{gherkin-CSrl-H70.js → gherkin-0SlhEZ3t.js} +1 -1
  66. package/dist/{glide-data-editor-BegnOMmt.js → glide-data-editor-CuoQJ61m.js} +3 -3
  67. package/dist/{globals-CB-fmndK.js → globals-k8-_3_Ks.js} +1 -1
  68. package/dist/{groovy-X7euO_vE.js → groovy-YhcTMyvX.js} +1 -1
  69. package/dist/{haskell-C48Z70Az.js → haskell-CodLxrtT.js} +1 -1
  70. package/dist/{haxe-CAUWMmwR.js → haxe-CiRWNFkH.js} +1 -1
  71. package/dist/{html-to-image-Btymxku9.js → html-to-image-Da6rA8p1.js} +3 -3
  72. package/dist/{http-BrSBnhDH.js → http-Bh6HhdNR.js} +1 -1
  73. package/dist/{idl-BXuPleZv.js → idl-DZgBq75I.js} +1 -1
  74. package/dist/{javascript-B4EPWJf_.js → javascript-BfNytHiM.js} +1 -1
  75. package/dist/{julia-ke9Kh8b7.js → julia--tLIAG7q.js} +1 -1
  76. package/dist/{livescript-Ce4uqGAC.js → livescript-CVPfYnY_.js} +1 -1
  77. package/dist/{lua-D6fti_Jk.js → lua-4Fa-T-qq.js} +1 -1
  78. package/dist/main.js +17 -17
  79. package/dist/{mathematica-DcEpZ3Vj.js → mathematica-CtYAy6GG.js} +1 -1
  80. package/dist/{mbox-DFBbOu0X.js → mbox-D0w9Ah1C.js} +1 -1
  81. package/dist/{mirc-CqeibO3N.js → mirc-De9aSAZM.js} +1 -1
  82. package/dist/{mllike-D54QZYTP.js → mllike-BbugeaY_.js} +1 -1
  83. package/dist/{modelica-DuML2-8V.js → modelica-BjJwWw1F.js} +1 -1
  84. package/dist/{mscgen-CJmKwp3b.js → mscgen-DwiRH5ma.js} +1 -1
  85. package/dist/{mumps-DaVgFtkd.js → mumps--plbDM9o.js} +1 -1
  86. package/dist/{nginx-BXN1rqI0.js → nginx-C4Df7REc.js} +1 -1
  87. package/dist/{nsis-CMfRqf0V.js → nsis-fiiOqLc3.js} +7 -7
  88. package/dist/{ntriples-BiOGlMDR.js → ntriples-jV77I4k8.js} +1 -1
  89. package/dist/{number-overlay-editor-CWW-erPa.js → number-overlay-editor-E35zNlPn.js} +1 -1
  90. package/dist/{octave-CgVnzxKk.js → octave-Cztd01tF.js} +1 -1
  91. package/dist/{oz-B2mky97X.js → oz-Bl8o3BDl.js} +1 -1
  92. package/dist/{pascal-BoZhBf6s.js → pascal-BO5JqysR.js} +1 -1
  93. package/dist/{perl-DjzMqXtt.js → perl-Drlh9s6m.js} +1 -1
  94. package/dist/{pig-B2mB-01d.js → pig-BWGR8wZw.js} +1 -1
  95. package/dist/{powershell-D0zT88Aj.js → powershell-DT99xlz_.js} +1 -1
  96. package/dist/{process-output-CTQmCUD0.js → process-output-_4TxDper.js} +2 -2
  97. package/dist/{properties-3_5qCgOj.js → properties-Q-rkxld0.js} +1 -1
  98. package/dist/{protobuf-Dgoxfi1H.js → protobuf-DKyWZbs7.js} +1 -1
  99. package/dist/{pug-CNRdd8oG.js → pug-42ZJUbEC.js} +2 -2
  100. package/dist/{puppet-DzILxZfz.js → puppet-B4UozHhh.js} +1 -1
  101. package/dist/{python-AfVdMn_l.js → python-DREjAV__.js} +1 -1
  102. package/dist/{q-C6p-CGWh.js → q-Bi63IpBO.js} +1 -1
  103. package/dist/{r-CzKF1D2X.js → r-DSwXWKMR.js} +1 -1
  104. package/dist/{reveal-component-D-XnLLNE.js → reveal-component-CgKwVd08.js} +3 -3
  105. package/dist/{rpm-Bx7FkjTO.js → rpm-DPb1DeKM.js} +1 -1
  106. package/dist/{ruby-BMzgq2bf.js → ruby-U7fZA4DP.js} +2 -2
  107. package/dist/{sas-ClGVnK3F.js → sas-CLk1JpTn.js} +1 -1
  108. package/dist/{scheme-C0MXqXep.js → scheme-CT-2k2Tl.js} +1 -1
  109. package/dist/{shell-CiQZv6oG.js → shell-BLO7fcsk.js} +1 -1
  110. package/dist/{sieve-BiIMePvV.js → sieve-nG3C7WNH.js} +1 -1
  111. package/dist/{simple-mode-8ETW2RS6.js → simple-mode-C683Q7or.js} +1 -1
  112. package/dist/{smalltalk-9-llftyG.js → smalltalk-BROcZybA.js} +1 -1
  113. package/dist/{solr-CxCKEuwq.js → solr-mVltHNc5.js} +1 -1
  114. package/dist/{sparql-BRmy7pzx.js → sparql-Cv1Ksr4v.js} +1 -1
  115. package/dist/{spreadsheet-UCNUIGsn.js → spreadsheet-BwTnp5K_.js} +1 -1
  116. package/dist/{sql-D0hSGZ-H.js → sql-CjLt0122.js} +1 -1
  117. package/dist/{stex-UeT_Aofp.js → stex-Btf3omL8.js} +1 -1
  118. package/dist/{stylus-Fi4waA2H.js → stylus-Dt4VvLXL.js} +1 -1
  119. package/dist/{swift-NqPyaBye.js → swift-DHsn_CVI.js} +1 -1
  120. package/dist/{tcl-B4f0xfmM.js → tcl-CV0OLBOl.js} +1 -1
  121. package/dist/{textile-CnNbnPTe.js → textile-D320oKVM.js} +1 -1
  122. package/dist/{tiddlywiki-CSGSOg38.js → tiddlywiki-BVVNvfy4.js} +1 -1
  123. package/dist/{tiki-9F02WBA6.js → tiki-BF2aDPlB.js} +1 -1
  124. package/dist/{toml-AesZ6RBt.js → toml-CaUN7UHo.js} +1 -1
  125. package/dist/{troff-DlfvveK1.js → troff-DQUFcClZ.js} +1 -1
  126. package/dist/{ttcn--YVSkGs_.js → ttcn-CQL1duJS.js} +1 -1
  127. package/dist/{ttcn-cfg-Bb1Knl_J.js → ttcn-cfg-BMmEFJPu.js} +1 -1
  128. package/dist/{turtle-DC24v1bz.js → turtle-C3esgsRr.js} +1 -1
  129. package/dist/{vb-Dpc8vhvF.js → vb-RK1eDXRl.js} +1 -1
  130. package/dist/{vbscript-B-Y1XnZe.js → vbscript-BCOeM0de.js} +1 -1
  131. package/dist/{velocity-DHMu9kc-.js → velocity-CZKOFbOI.js} +1 -1
  132. package/dist/{verilog-DhiEaoUl.js → verilog-DqQTzVn8.js} +1 -1
  133. package/dist/{vhdl-D4X23YKO.js → vhdl-vQr2bfmi.js} +1 -1
  134. package/dist/{webidl-SyzNxWpJ.js → webidl-DzX7N40e.js} +1 -1
  135. package/dist/{xquery-BC2R4Hk6.js → xquery-Cw_Q_hGR.js} +1 -1
  136. package/dist/{yacas-DLNXPMmH.js → yacas-DiC4jJBE.js} +1 -1
  137. package/dist/{z80-CDXWHOO6.js → z80-CUOQDEJO.js} +1 -1
  138. package/package.json +6 -6
@@ -1,6 +1,6 @@
1
1
  import { r as e } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { $ as t, H as n, I as r, O as i, V as a, X as o, i as s, kt as c, n as l, r as u, s as d, u as f, v as p, w as m } from "./dist-Kxgjxakw.js";
3
- import { n as h } from "./dist-B8D7McG3.js";
2
+ import { $ as t, At as n, H as r, I as i, O as a, V as o, X as s, i as c, n as l, r as u, s as d, u as f, v as p, w as m } from "./dist-DoE4XJBC.js";
3
+ import { n as h } from "./dist-BMQf5zIS.js";
4
4
  //#region ../node_modules/.pnpm/@codemirror+lang-jinja@6.0.0/node_modules/@codemirror/lang-jinja/dist/index.js
5
5
  var g = /* @__PURE__ */ e({
6
6
  closePercentBrace: () => z,
@@ -213,7 +213,7 @@ var E = /*@__PURE__*/ T("endraw", S, x), D = {
213
213
  3,
214
214
  4,
215
215
  5,
216
- /*@__PURE__*/ new s("b~RPstU~XP#q#r[~aO$Q~~", 17, 173)
216
+ /*@__PURE__*/ new c("b~RPstU~XP#q#r[~aO$Q~~", 17, 173)
217
217
  ],
218
218
  topRules: { Template: [0, 5] },
219
219
  specialized: [{
@@ -233,35 +233,35 @@ function A(e, t) {
233
233
  }
234
234
  var j = /*@__PURE__*/ A("abs attr batch capitalize center default dictsort escape filesizeformat first float forceescape format groupby indent int items join last length list lower map max min pprint random reject rejectattr replace reverse round safe select selectattr slice sort string striptags sum title tojson trim truncate unique upper urlencode urlize wordcount wordwrap xmlattr", "function"), M = /*@__PURE__*/ A("boolean callable defined divisibleby eq escaped even filter float ge gt in integer iterable le lower lt mapping ne none number odd sameas sequence string test undefined upper range lipsum dict joiner namespace", "function"), N = /*@__PURE__*/ A("loop super self true false varargs kwargs caller name arguments catch_kwargs catch_varargs caller", "keyword"), P = /*@__PURE__*/ M.concat(N), F = /*@__PURE__*/ A("raw endraw filter endfilter trans pluralize endtrans with endwith autoescape endautoescape if elif else endif for endfor call endcall block endblock set endset macro endmacro import include break continue debug do extends", "keyword");
235
235
  function I(e) {
236
- let { state: t, pos: n } = e, i = r(t).resolveInner(n, -1).enterUnfinishedNodesBefore(n), a = i.childBefore(n)?.name || i.name;
237
- if (i.name == "FilterName") return {
236
+ let { state: t, pos: n } = e, r = i(t).resolveInner(n, -1).enterUnfinishedNodesBefore(n), a = r.childBefore(n)?.name || r.name;
237
+ if (r.name == "FilterName") return {
238
238
  type: "filter",
239
- node: i
239
+ node: r
240
240
  };
241
241
  if (e.explicit && (a == "FilterOp" || a == "filter")) return { type: "filter" };
242
- if (i.name == "TagName") return {
242
+ if (r.name == "TagName") return {
243
243
  type: "tag",
244
- node: i
244
+ node: r
245
245
  };
246
246
  if (e.explicit && a == "{%") return { type: "tag" };
247
- if (i.name == "PropertyName" && i.parent.name == "MemberExpression") return {
247
+ if (r.name == "PropertyName" && r.parent.name == "MemberExpression") return {
248
248
  type: "prop",
249
- node: i,
250
- target: i.parent
249
+ node: r,
250
+ target: r.parent
251
251
  };
252
- if (i.name == "." && i.parent.name == "MemberExpression") return {
252
+ if (r.name == "." && r.parent.name == "MemberExpression") return {
253
253
  type: "prop",
254
- target: i.parent
254
+ target: r.parent
255
255
  };
256
- if (i.name == "MemberExpression" && a == ".") return {
256
+ if (r.name == "MemberExpression" && a == ".") return {
257
257
  type: "prop",
258
- target: i
258
+ target: r
259
259
  };
260
- if (i.name == "VariableName") return {
260
+ if (r.name == "VariableName") return {
261
261
  type: "expr",
262
- from: i.from
262
+ from: r.from
263
263
  };
264
- if (i.name == "Comment" || i.name == "StringLiteral" || i.name == "NumberLiteral") return null;
264
+ if (r.name == "Comment" || r.name == "StringLiteral" || r.name == "NumberLiteral") return null;
265
265
  let o = e.matchBefore(/[\w\u00c0-\uffff]+$/);
266
266
  return o ? {
267
267
  type: "expr",
@@ -297,13 +297,13 @@ function R(e = {}) {
297
297
  } : null;
298
298
  };
299
299
  }
300
- var z = /*@__PURE__*/ t.inputHandler.of((e, t, n, r) => r != "%" || t != n || e.state.doc.sliceString(t - 1, n + 1) != "{}" ? !1 : (e.dispatch(e.state.changeByRange((e) => ({
300
+ var z = /*@__PURE__*/ t.inputHandler.of((e, t, r, i) => i != "%" || t != r || e.state.doc.sliceString(t - 1, r + 1) != "{}" ? !1 : (e.dispatch(e.state.changeByRange((e) => ({
301
301
  changes: {
302
302
  from: e.from,
303
303
  to: e.to,
304
304
  insert: "%%"
305
305
  },
306
- range: c.cursor(e.from + 1)
306
+ range: n.cursor(e.from + 1)
307
307
  })), {
308
308
  scrollIntoView: !0,
309
309
  userEvent: "input.type"
@@ -317,33 +317,33 @@ function B(e) {
317
317
  var V = /*@__PURE__*/ d.define({
318
318
  name: "jinja",
319
319
  parser: /*@__PURE__*/ k.configure({ props: [
320
- /*@__PURE__*/ a({
321
- "TagName raw endraw filter endfilter as trans pluralize endtrans with endwith autoescape endautoescape": n.keyword,
322
- "required scoped recursive with without context ignore missing": n.modifier,
323
- self: n.self,
324
- "loop super": /*@__PURE__*/ n.standard(n.variableName),
325
- "if elif else endif for endfor call endcall": n.controlKeyword,
326
- "block endblock set endset macro endmacro import from include": n.definitionKeyword,
327
- "Comment/...": n.blockComment,
328
- VariableName: n.variableName,
329
- Definition: /*@__PURE__*/ n.definition(n.variableName),
330
- PropertyName: n.propertyName,
331
- FilterName: /*@__PURE__*/ n.special(n.variableName),
332
- ArithOp: n.arithmeticOperator,
333
- AssignOp: n.definitionOperator,
334
- "not and or": n.logicOperator,
335
- CompareOp: n.compareOperator,
336
- "in is": n.operatorKeyword,
337
- "FilterOp ConcatOp": n.operator,
338
- StringLiteral: n.string,
339
- NumberLiteral: n.number,
340
- BooleanLiteral: n.bool,
341
- "{% %} {# #} {{ }} { }": n.brace,
342
- "( )": n.paren,
343
- ".": n.derefOperator,
344
- ": , .": n.punctuation
320
+ /*@__PURE__*/ o({
321
+ "TagName raw endraw filter endfilter as trans pluralize endtrans with endwith autoescape endautoescape": r.keyword,
322
+ "required scoped recursive with without context ignore missing": r.modifier,
323
+ self: r.self,
324
+ "loop super": /*@__PURE__*/ r.standard(r.variableName),
325
+ "if elif else endif for endfor call endcall": r.controlKeyword,
326
+ "block endblock set endset macro endmacro import from include": r.definitionKeyword,
327
+ "Comment/...": r.blockComment,
328
+ VariableName: r.variableName,
329
+ Definition: /*@__PURE__*/ r.definition(r.variableName),
330
+ PropertyName: r.propertyName,
331
+ FilterName: /*@__PURE__*/ r.special(r.variableName),
332
+ ArithOp: r.arithmeticOperator,
333
+ AssignOp: r.definitionOperator,
334
+ "not and or": r.logicOperator,
335
+ CompareOp: r.compareOperator,
336
+ "in is": r.operatorKeyword,
337
+ "FilterOp ConcatOp": r.operator,
338
+ StringLiteral: r.string,
339
+ NumberLiteral: r.number,
340
+ BooleanLiteral: r.bool,
341
+ "{% %} {# #} {{ }} { }": r.brace,
342
+ "( )": r.paren,
343
+ ".": r.derefOperator,
344
+ ": , .": r.punctuation
345
345
  }),
346
- /*@__PURE__*/ i.add({
346
+ /*@__PURE__*/ a.add({
347
347
  Tag: /*@__PURE__*/ p({ closing: "%}" }),
348
348
  "IfStatement ForStatement": /*@__PURE__*/ B(/^\s*(\{%-?\s*)?(endif|endfor|else|elif)\b/),
349
349
  Statement: /*@__PURE__*/ B(/^\s*(\{%-?\s*)?end\w/)
@@ -359,7 +359,7 @@ var V = /*@__PURE__*/ d.define({
359
359
  languageData: { indentOnInput: /^\s*{%-?\s*(?:end|elif|else)$/ }
360
360
  }), H = /*@__PURE__*/ h();
361
361
  function U(e) {
362
- return V.configure({ wrap: o((t) => t.type.isTop ? {
362
+ return V.configure({ wrap: s((t) => t.type.isTop ? {
363
363
  parser: e.parser,
364
364
  overlay: (e) => e.name == "Text" || e.name == "RawText"
365
365
  } : null) }, "jinja");
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { $ as t, H as n, I as r, O as i, V as a, kt as o, m as s, n as c, r as l, s as u, t as d, u as f, w as p } from "./dist-Kxgjxakw.js";
2
+ import { $ as t, At as n, H as r, I as i, O as a, V as o, m as s, n as c, r as l, s as u, t as d, u as f, w as p } from "./dist-DoE4XJBC.js";
3
3
  //#region ../node_modules/.pnpm/@lezer+xml@1.0.6/node_modules/@lezer/xml/dist/index.js
4
4
  var m = 1, h = 2, g = 3, _ = 4, v = 5, y = 36, b = 37, x = 38, S = 11, C = 13;
5
5
  function w(e) {
@@ -59,19 +59,19 @@ function N(e, t) {
59
59
  r && n.acceptToken(e);
60
60
  });
61
61
  }
62
- var P = N(y, "-->"), F = N(b, "?>"), I = N(x, "]]>"), L = a({
63
- Text: n.content,
64
- "StartTag StartCloseTag EndTag SelfCloseEndTag": n.angleBracket,
65
- TagName: n.tagName,
66
- "MismatchedCloseTag/TagName": [n.tagName, n.invalid],
67
- AttributeName: n.attributeName,
68
- AttributeValue: n.attributeValue,
69
- Is: n.definitionOperator,
70
- "EntityReference CharacterReference": n.character,
71
- Comment: n.blockComment,
72
- ProcessingInst: n.processingInstruction,
73
- DoctypeDecl: n.documentMeta,
74
- Cdata: n.special(n.string)
62
+ var P = N(y, "-->"), F = N(b, "?>"), I = N(x, "]]>"), L = o({
63
+ Text: r.content,
64
+ "StartTag StartCloseTag EndTag SelfCloseEndTag": r.angleBracket,
65
+ TagName: r.tagName,
66
+ "MismatchedCloseTag/TagName": [r.tagName, r.invalid],
67
+ AttributeName: r.attributeName,
68
+ AttributeValue: r.attributeValue,
69
+ Is: r.definitionOperator,
70
+ "EntityReference CharacterReference": r.character,
71
+ Comment: r.blockComment,
72
+ ProcessingInst: r.processingInstruction,
73
+ DoctypeDecl: r.documentMeta,
74
+ Cdata: r.special(r.string)
75
75
  }), R = l.deserialize({
76
76
  version: 14,
77
77
  states: ",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(hO#tO'#CnO(vO&jO'#CnOOOO1G.q1G.qO)UOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO)^O#tO,59YOOOO,59Y,59YOOOO'#C{'#C{O)lO&jO,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.tOOOO-E6y-E6y",
@@ -149,11 +149,11 @@ function U(e) {
149
149
  return null;
150
150
  }
151
151
  function W(e, t) {
152
- let n = r(e).resolveInner(t, -1), i = null;
153
- for (let e = n; !i && e.parent; e = e.parent) (e.name == "OpenTag" || e.name == "CloseTag" || e.name == "SelfClosingTag" || e.name == "MismatchedCloseTag") && (i = e);
154
- if (i && (i.to > t || i.lastChild.type.isError)) {
155
- let e = i.parent;
156
- if (n.name == "TagName") return i.name == "CloseTag" || i.name == "MismatchedCloseTag" ? {
152
+ let n = i(e).resolveInner(t, -1), r = null;
153
+ for (let e = n; !r && e.parent; e = e.parent) (e.name == "OpenTag" || e.name == "CloseTag" || e.name == "SelfClosingTag" || e.name == "MismatchedCloseTag") && (r = e);
154
+ if (r && (r.to > t || r.lastChild.type.isError)) {
155
+ let e = r.parent;
156
+ if (n.name == "TagName") return r.name == "CloseTag" || r.name == "MismatchedCloseTag" ? {
157
157
  type: "closeTag",
158
158
  from: n.from,
159
159
  context: e
@@ -165,30 +165,30 @@ function W(e, t) {
165
165
  if (n.name == "AttributeName") return {
166
166
  type: "attrName",
167
167
  from: n.from,
168
- context: i
168
+ context: r
169
169
  };
170
170
  if (n.name == "AttributeValue") return {
171
171
  type: "attrValue",
172
172
  from: n.from,
173
- context: i
173
+ context: r
174
174
  };
175
- let r = n == i || n.name == "Attribute" ? n.childBefore(t) : n;
176
- return r?.name == "StartTag" ? {
175
+ let i = n == r || n.name == "Attribute" ? n.childBefore(t) : n;
176
+ return i?.name == "StartTag" ? {
177
177
  type: "openTag",
178
178
  from: t,
179
179
  context: U(e)
180
- } : r?.name == "StartCloseTag" && r.to <= t ? {
180
+ } : i?.name == "StartCloseTag" && i.to <= t ? {
181
181
  type: "closeTag",
182
182
  from: t,
183
183
  context: e
184
- } : r?.name == "Is" ? {
184
+ } : i?.name == "Is" ? {
185
185
  type: "attrValue",
186
186
  from: t,
187
- context: i
188
- } : r ? {
187
+ context: r
188
+ } : i ? {
189
189
  type: "attrName",
190
190
  from: t,
191
- context: i
191
+ context: r
192
192
  } : null;
193
193
  }
194
194
  if (n.name == "StartCloseTag") return {
@@ -309,7 +309,7 @@ function Y(e, t) {
309
309
  var X = /*@__PURE__*/ u.define({
310
310
  name: "xml",
311
311
  parser: /*@__PURE__*/ R.configure({ props: [
312
- /*@__PURE__*/ i.add({
312
+ /*@__PURE__*/ a.add({
313
313
  Element(e) {
314
314
  let t = /^\s*<\//.test(e.textAfter);
315
315
  return e.lineIndent(e.node.from) + (t ? 0 : e.unit);
@@ -344,12 +344,12 @@ function Q(e, t, n = e.length) {
344
344
  let r = t.firstChild, i = r && r.getChild("TagName");
345
345
  return i ? e.sliceString(i.from, Math.min(i.to, n)) : "";
346
346
  }
347
- var $ = /*@__PURE__*/ t.inputHandler.of((e, t, n, i, a) => {
348
- if (e.composing || e.state.readOnly || t != n || i != ">" && i != "/" || !X.isActiveAt(e.state, t, -1)) return !1;
349
- let s = a(), { state: c } = s, l = c.changeByRange((e) => {
350
- let { head: t } = e, n = c.doc.sliceString(t - 1, t) == i, a = r(c).resolveInner(t, -1), s;
351
- if (n && i == ">" && a.name == "EndTag") {
352
- let n = a.parent;
347
+ var $ = /*@__PURE__*/ t.inputHandler.of((e, t, r, a, o) => {
348
+ if (e.composing || e.state.readOnly || t != r || a != ">" && a != "/" || !X.isActiveAt(e.state, t, -1)) return !1;
349
+ let s = o(), { state: c } = s, l = c.changeByRange((e) => {
350
+ let { head: t } = e, r = c.doc.sliceString(t - 1, t) == a, o = i(c).resolveInner(t, -1), s;
351
+ if (r && a == ">" && o.name == "EndTag") {
352
+ let n = o.parent;
353
353
  if (n.parent?.lastChild?.name != "CloseTag" && (s = Q(c.doc, n.parent, t))) return {
354
354
  range: e,
355
355
  changes: {
@@ -358,16 +358,16 @@ var $ = /*@__PURE__*/ t.inputHandler.of((e, t, n, i, a) => {
358
358
  insert: `</${s}>`
359
359
  }
360
360
  };
361
- } else if (n && i == "/" && a.name == "StartCloseTag") {
362
- let e = a.parent;
363
- if (a.from == t - 2 && e.lastChild?.name != "CloseTag" && (s = Q(c.doc, e, t))) {
364
- let e = t + +(c.doc.sliceString(t, t + 1) === ">"), n = `${s}>`;
361
+ } else if (r && a == "/" && o.name == "StartCloseTag") {
362
+ let e = o.parent;
363
+ if (o.from == t - 2 && e.lastChild?.name != "CloseTag" && (s = Q(c.doc, e, t))) {
364
+ let e = t + +(c.doc.sliceString(t, t + 1) === ">"), r = `${s}>`;
365
365
  return {
366
- range: o.cursor(t + n.length, -1),
366
+ range: n.cursor(t + r.length, -1),
367
367
  changes: {
368
368
  from: t,
369
369
  to: e,
370
- insert: n
370
+ insert: r
371
371
  }
372
372
  };
373
373
  }
@@ -1,6 +1,6 @@
1
1
  import { r as e } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { H as t, O as n, S as r, V as i, h as a, n as o, r as s, s as ee, t as te, u as c, w as l } from "./dist-Kxgjxakw.js";
3
- import { r as u } from "./dist-D1PpnuZB.js";
2
+ import { H as t, O as n, S as r, V as i, h as a, n as o, r as s, s as ee, t as te, u as c, w as l } from "./dist-DoE4XJBC.js";
3
+ import { r as u } from "./dist-CN_BeG2I.js";
4
4
  //#region ../node_modules/.pnpm/@lezer+sass@1.1.0/node_modules/@lezer/sass/dist/index.js
5
5
  var d = 168, f = 169, ne = 170, re = 1, p = 2, m = 3, h = 171, g = 172, _ = 4, v = 173, y = 5, b = 174, x = 175, S = 176, C = 177, w = 6, T = 7, E = 8, D = 9, O = 0, k = [
6
6
  9,