@abyss-project/commons-front-core 1.0.108 → 1.0.110
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/dist/components/Spotlight/InternalProjectCard/InternalProjectCard.component.d.ts +2 -2
- package/dist/components/Spotlight/ProjectCard/ProjectCard.component.d.ts +0 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +6 -6
- package/dist/{index-x-wS80uU.js → index-13qJQSEL.js} +2 -2
- package/dist/{index-DgbjyLnz.js → index-9_tr_Bvo.js} +4 -4
- package/dist/{index-BF4-2neQ.js → index-BAU2w_gR.js} +51 -51
- package/dist/{index-BQhOMl9Z.js → index-BG2a87vL.js} +4 -4
- package/dist/{index-BAGULs-R.js → index-BGq_qqIm.js} +2 -2
- package/dist/{index-UhtzQEUo.js → index-BMGFj9gc.js} +10 -10
- package/dist/{index-B8fTDeWY.js → index-BP6XXhaw.js} +1 -1
- package/dist/{index-WL31BKiF.js → index-Br9_hdVE.js} +4 -4
- package/dist/index-C5nX2YsP.js +121812 -0
- package/dist/{index-DE3a_EYy.js → index-CCg3Uumy.js} +44 -44
- package/dist/{index-g5eihZUt.js → index-D1nKKAcT.js} +23 -23
- package/dist/{index-DAke9VoO.js → index-D73AgZIV.js} +2 -2
- package/dist/{index-iD8hyfuz.js → index-DGcHxV3u.js} +9 -9
- package/dist/{index-CsmsDnOu.js → index-DPiHM4DO.js} +2 -2
- package/dist/{index-vCJVca-f.js → index-DUVsHcbW.js} +3 -3
- package/dist/{index-DzsnPLjs.js → index-DymzJGKK.js} +2 -2
- package/dist/{index-BfwN0P_G.js → index-EooXtAwR.js} +3 -3
- package/dist/{index-Dw-1MZIy.js → index-R4U3cj34.js} +22 -22
- package/dist/{index-CTkDyBGW.js → index-hl87KN9D.js} +3 -3
- package/dist/{index-s1A0V9yr.js → index-kyTu6UbD.js} +11 -11
- package/dist/{index-DPUOnyML.js → index-lcQSie8w.js} +2 -2
- package/dist/{index-BcLvpaZu.js → index-pt5GUut7.js} +19 -19
- package/dist/index.js +62 -62
- package/dist/translations/en.d.ts +3 -3
- package/dist/translations/fr.d.ts +3 -3
- package/dist/{web-BuN85rHE.js → web-BkQriXG8.js} +1 -1
- package/package.json +1 -1
- package/dist/apl-B2DGVGxc-Dd6D39pP.js +0 -76
- package/dist/asciiarmor-2LVJmxlE-CAn4gnoC.js +0 -34
- package/dist/asn1-jKiBa2Ya-xsKwdyq9.js +0 -95
- package/dist/asterisk-DS281yxp-B5eTWk_B.js +0 -271
- package/dist/brainfuck-C_p9pTT8-DKVQ9poL.js +0 -34
- package/dist/clike-DGTaUp48-DkV8rRT_.js +0 -620
- package/dist/clojure-CCKyeQKf-N9sg777Z.js +0 -800
- package/dist/cmake-CuaCgAKt-BbEgXraO.js +0 -28
- package/dist/cobol-BlTKFDRj-CHCoWafp.js +0 -72
- package/dist/coffeescript-BVCvwO8I-Z15ai5ac.js +0 -179
- package/dist/commonlisp-D_kxz07b-Ce7sn14o.js +0 -75
- package/dist/crystal-D309uH6_-DS6LrXoE.js +0 -217
- package/dist/css-BkF-NPzE-DiJu9Nkd.js +0 -1553
- package/dist/cypher-BMq4Fwjl-Ml-omWgp.js +0 -68
- package/dist/d-BZcgY6La-KCW6-bIm.js +0 -127
- package/dist/diff-Cg9d_RX2-C01qBVFc.js +0 -18
- package/dist/dockerfile-DIy8NleC-zvrZVUI3.js +0 -194
- package/dist/dtd-CtLokQ-U-DCbNdeIA.js +0 -84
- package/dist/dylan-QYeExnWK-DIUVpsct.js +0 -234
- package/dist/ebnf-DUPDuY4r-7HIXKmWn.js +0 -78
- package/dist/ecl-CiXN-g_D-DOI-W0if.js +0 -121
- package/dist/eiffel-yQhjl4T1-DIX8Ceq1.js +0 -110
- package/dist/elm-CNT9vbN0-BcYlydpO.js +0 -108
- package/dist/erlang-CFOYdy9e-DULXsFZl.js +0 -487
- package/dist/factor-DDOC7X6P-a90yMx--.js +0 -65
- package/dist/fcl-CPC2WYrI-CuXG3fcK.js +0 -103
- package/dist/forth-BmxRyE9S-BcFwWpeL.js +0 -60
- package/dist/fortran-9bvPyrOW-CuLcq-Iu.js +0 -442
- package/dist/gas-cpmYfFX2-sZgGhMxB.js +0 -183
- package/dist/gherkin-CJuwpceU-BRrr8yjO.js +0 -34
- package/dist/groovy-DZeT_VM--CmF8wcSo.js +0 -146
- package/dist/haskell-Bvt3Qq1t-C11r0WKv.js +0 -375
- package/dist/haxe-70NVW1pR-CM27SfgM.js +0 -359
- package/dist/http-D9LttvKF-j9E8oQ7o.js +0 -44
- package/dist/idl-B6TRFYjl-B6TRFYjl.js +0 -947
- package/dist/index-B14RbiEn-SbE4_PjO.js +0 -1873
- package/dist/index-BA8yeGwv-EjfwM2RT.js +0 -94
- package/dist/index-BETrOVsk-BrPZref6.js +0 -1307
- package/dist/index-BQEFWHAK-BRj2FO4q.js +0 -289
- package/dist/index-BY78NlEG-CoZHdTvy.js +0 -270
- package/dist/index-BvOqbsN7-BIEquq7s.js +0 -301
- package/dist/index-C45OcgOF-BUF2A1Sy.js +0 -554
- package/dist/index-CBWuJrqZ-e0CLc0JQ.js +0 -552
- package/dist/index-CJM8jWOp-22a2l_xL.js +0 -74
- package/dist/index-CO7ezVmf-zOGvcbYD.js +0 -953
- package/dist/index-CR8BSxWs-CKlyuRa2.js +0 -309
- package/dist/index-CZW8-tYE.js +0 -242508
- package/dist/index-Cdko0XF5-CKVTXanF.js +0 -342
- package/dist/index-D7MUQuNp-ByqAp03Z.js +0 -251
- package/dist/index-DM9UpwmO-Ctutmn_p.js +0 -960
- package/dist/index-D_UWbF-c-huGXgVrA.js +0 -612
- package/dist/index-DanGpNPV-_dcep_gx.js +0 -76
- package/dist/index-DewhIjKz-Dr8nkE-G.js +0 -101
- package/dist/index-FA_vVn10-D6hhYiFH.js +0 -157
- package/dist/index-P-0Saucc-DgOebb9I.js +0 -136
- package/dist/index-Vdv6L1m9-DszB5Ab4.js +0 -59
- package/dist/index-keAzzQcB-DVMei1x9.js +0 -138
- package/dist/javascript-C2yteZeJ-gF7C_gzn.js +0 -691
- package/dist/jinja2-DnB6dQmV-CsKNIZ4H.js +0 -154
- package/dist/julia-DpvXAuO6-Bk_IfD8X.js +0 -241
- package/dist/livescript-CanGTf8u-Cx6PrvS4.js +0 -272
- package/dist/lua-XplVlWi_-8f8obHzY.js +0 -217
- package/dist/mathematica-jaRHnSxC-B83gQsL2.js +0 -35
- package/dist/mbox-BctzC1hL-Hg5U2B4l.js +0 -76
- package/dist/mirc-CFBPAOaF-CfzSSk9W.js +0 -72
- package/dist/mllike-BSnXJBGA-Ao1NpT2u.js +0 -272
- package/dist/modelica-vUgVs--1-BObVpYBg.js +0 -93
- package/dist/mscgen-Cpl0NYLN-DqNArLGH.js +0 -104
- package/dist/mumps-CQoS1kWX-CkTUOQnt.js +0 -25
- package/dist/nginx-zDPm3Z74-DJk4KP7N.js +0 -87
- package/dist/nsis-fePjrhq7-B3y3WwWy.js +0 -62
- package/dist/ntriples-CsNjv2QF-C4aZn3EO.js +0 -79
- package/dist/octave-C8PmmSRH-DM5vTWlU.js +0 -143
- package/dist/oz-Ce8aN8oE-BcJM4SVy.js +0 -151
- package/dist/pascal-De0D6mP7-D7DGFFKL.js +0 -77
- package/dist/perl-B4bSCe1C-6aIa2glS.js +0 -915
- package/dist/pig-D24Z8EXi-BD-qt5FU.js +0 -54
- package/dist/powershell-DkYVfTzP-Blt1Rodi.js +0 -249
- package/dist/properties-Dn9wna3M-EOOwnCnk.js +0 -26
- package/dist/protobuf-BPIjwpzm-DAButU8_.js +0 -49
- package/dist/pug-CwAQJzGR-DCCI1gT4.js +0 -248
- package/dist/puppet-nyd4dhjf-CGzH5dsa.js +0 -45
- package/dist/python-BkR3uSy8-CjDnyp3B.js +0 -313
- package/dist/q-DXjKs-tC-R9FTvsDo.js +0 -83
- package/dist/r-LKEuhEGI-BFQhJnTP.js +0 -104
- package/dist/rpm-IznJm2Xc-CbZqrWCM.js +0 -57
- package/dist/ruby-CcYfvIk6-DzPSfSGo.js +0 -228
- package/dist/sas-7E8yHoCW-D726Uzkw.js +0 -105
- package/dist/scheme-DjibxsNh-Bp5gVFkm.js +0 -124
- package/dist/shell-C0C2sNA_-BTeYg6ir.js +0 -182
- package/dist/sieve-Bwz7vjP5-Cw8iTBf7.js +0 -72
- package/dist/simple-mode-B0dvCdAA-CbwPI_jC.js +0 -89
- package/dist/smalltalk-Bhddl2pB-B7URiJSp.js +0 -48
- package/dist/solr-BNlsLglM-BM2OpfTI.js +0 -41
- package/dist/sparql-FarWu_Gb-FN_uQNd4.js +0 -197
- package/dist/spreadsheet-C-cy4P5N-5CSTwVYq.js +0 -49
- package/dist/sql-CfG5lQ3l-Bd4dgm_8.js +0 -278
- package/dist/stex-Du4h4KAU-QOov_zHj.js +0 -129
- package/dist/stylus-CAdqWld3-BcRBbBxD.js +0 -250
- package/dist/swift-DSxqR9R6-2Hz4NOoF.js +0 -230
- package/dist/tcl-xfoLljhY-DAZBRGQI.js +0 -81
- package/dist/textile-D1AWE-pc-DuiIfEnb.js +0 -295
- package/dist/tiddlywiki-5wqsXtSk-WuF_8VUv.js +0 -155
- package/dist/tiki-__Kn3CeS-CWcR9ib_.js +0 -181
- package/dist/toml-BHiuTcfn-BjoUNlY3.js +0 -47
- package/dist/troff-D2UO-fKf-DVoIzS-O.js +0 -35
- package/dist/ttcn-Bsa4sfRm-hoy08sYQ.js +0 -123
- package/dist/ttcn-cfg-Bac_acMi-DaC4kQpd.js +0 -88
- package/dist/turtle-xwJUxoPV-fs94wdNM.js +0 -80
- package/dist/vb-c2kQGd6--DU726qF0.js +0 -74
- package/dist/vbscript-1f_Dhg5H-DriA32xD.js +0 -324
- package/dist/velocity-DJd0pTTC-BG368IR6.js +0 -96
- package/dist/verilog-CiS1jyi5-giQA8J-e.js +0 -259
- package/dist/vhdl-T9HkrbI2-BJ8LEDog.js +0 -106
- package/dist/web-CYC80mDV-DBhCuCsT.js +0 -18
- package/dist/webidl-CjfDENEo-BM8KXKJ5.js +0 -155
- package/dist/xquery-BUQdORAS-Dop2JBoj.js +0 -422
- package/dist/yacas-C0absKBh-B82QJ76F.js +0 -73
- package/dist/z80-Pki2zAjW-B0IQoIbR.js +0 -61
|
@@ -6,8 +6,8 @@ interface ProjectCardProps {
|
|
|
6
6
|
onEdit?: (project: ProjectWithMetrics) => void;
|
|
7
7
|
onDelete?: (project: ProjectWithMetrics) => void;
|
|
8
8
|
pathToProjectDetails: string;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
bannerUrl?: string;
|
|
10
|
+
logoUrl?: string;
|
|
11
11
|
}
|
|
12
12
|
declare const InternalProjectCard: React.FC<ProjectCardProps>;
|
|
13
13
|
export default InternalProjectCard;
|
|
@@ -330,9 +330,9 @@ export declare const translations: {
|
|
|
330
330
|
project: {
|
|
331
331
|
'not-published': string;
|
|
332
332
|
status: {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
333
|
+
STARTING: string;
|
|
334
|
+
COMPLETED: string;
|
|
335
|
+
DEPRECATED: string;
|
|
336
336
|
};
|
|
337
337
|
link: {
|
|
338
338
|
none: {
|
|
@@ -910,9 +910,9 @@ export declare const translations: {
|
|
|
910
910
|
project: {
|
|
911
911
|
'not-published': string;
|
|
912
912
|
status: {
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
913
|
+
STARTING: string;
|
|
914
|
+
COMPLETED: string;
|
|
915
|
+
DEPRECATED: string;
|
|
916
916
|
};
|
|
917
917
|
link: {
|
|
918
918
|
none: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as r } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { L as r } from "./index-BP6XXhaw.js";
|
|
2
|
+
import { s as e, t as O, a as s, L as X, i as l, f as Y, c as $, g as S, h as o, j as t } from "./index-C5nX2YsP.js";
|
|
3
3
|
const Z = e({
|
|
4
4
|
null: O.null,
|
|
5
5
|
instanceof: O.operatorKeyword,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as w, E as p, a as Y } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { L as w, E as p, a as Y } from "./index-BP6XXhaw.js";
|
|
2
|
+
import { s as x, t as r, a as q, L as j, e as G, i as R, f as T, c as E, j as _, N as C, I as U } from "./index-C5nX2YsP.js";
|
|
3
3
|
const V = 122, g = 1, Z = 123, W = 124, b = 2, N = 125, I = 3, F = 4, X = [
|
|
4
4
|
9,
|
|
5
5
|
10,
|
|
@@ -873,7 +873,7 @@ function Se(e, t) {
|
|
|
873
873
|
let O = (i = e.parent) === null || i === void 0 ? void 0 : i.firstChild;
|
|
874
874
|
return (O == null ? void 0 : O.name) != "Callee" ? !1 : t.sliceString(O.from, O.to) == "var";
|
|
875
875
|
}
|
|
876
|
-
const $ = /* @__PURE__ */ new
|
|
876
|
+
const $ = /* @__PURE__ */ new C(), ge = ["Declaration"];
|
|
877
877
|
function he(e) {
|
|
878
878
|
for (let t = e; ; ) {
|
|
879
879
|
if (t.type.isTop)
|
|
@@ -939,7 +939,7 @@ const fe = (e) => (t) => {
|
|
|
939
939
|
Declaration: /* @__PURE__ */ E()
|
|
940
940
|
}),
|
|
941
941
|
/* @__PURE__ */ T.add({
|
|
942
|
-
"Block KeyframeList":
|
|
942
|
+
"Block KeyframeList": _
|
|
943
943
|
})
|
|
944
944
|
]
|
|
945
945
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { html as kt, htmlCompletionSource as Lt } from "./index-
|
|
1
|
+
import { P as nt, m as j, n as v, T as st, o as Ae, s as Be, p as it, t as c, q as E, r as ot, L as le, u as at, v as lt, w as ht, x as ft, e as _, l as P, y as T, z as ut, f as Ie, i as dt, A as pt, C as ct, B as mt, D as he, F as gt } from "./index-C5nX2YsP.js";
|
|
2
|
+
import { html as kt, htmlCompletionSource as Lt } from "./index-Br9_hdVE.js";
|
|
3
3
|
class $ {
|
|
4
4
|
static create(e, r, n, s, i) {
|
|
5
5
|
let o = s + (s << 8) + e + (r << 4) | 0;
|
|
@@ -30,7 +30,7 @@ class bt {
|
|
|
30
30
|
this.start = e, this.content = r, this.marks = [], this.parsers = [];
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
class
|
|
33
|
+
class wt {
|
|
34
34
|
constructor() {
|
|
35
35
|
this.text = "", this.baseIndent = 0, this.basePos = 0, this.depth = 0, this.markers = [], this.pos = 0, this.indent = 0, this.next = -1;
|
|
36
36
|
}
|
|
@@ -247,7 +247,7 @@ function I(t, e, r) {
|
|
|
247
247
|
let n = t.length - 1;
|
|
248
248
|
n >= 0 && t[n].to == e && t[n].type == u.CodeText ? t[n].to = r : t.push(g(u.CodeText, e, r));
|
|
249
249
|
}
|
|
250
|
-
const
|
|
250
|
+
const F = {
|
|
251
251
|
LinkReference: void 0,
|
|
252
252
|
IndentedCode(t, e) {
|
|
253
253
|
let r = e.baseIndent + 4;
|
|
@@ -363,7 +363,7 @@ const X = {
|
|
|
363
363
|
SetextHeading: void 0
|
|
364
364
|
// Specifies relative precedence for block-continue function
|
|
365
365
|
};
|
|
366
|
-
class
|
|
366
|
+
class St {
|
|
367
367
|
constructor(e) {
|
|
368
368
|
this.stage = 0, this.elts = [], this.pos = 0, this.start = e.start, this.advance(e.content);
|
|
369
369
|
}
|
|
@@ -388,7 +388,7 @@ class wt {
|
|
|
388
388
|
if (this.stage == -1)
|
|
389
389
|
return -1;
|
|
390
390
|
if (this.stage == 0) {
|
|
391
|
-
if (!this.nextStage(
|
|
391
|
+
if (!this.nextStage(Ue(e, this.pos, this.start, !0)))
|
|
392
392
|
return -1;
|
|
393
393
|
if (e.charCodeAt(this.pos) != 58)
|
|
394
394
|
return this.stage = -1;
|
|
@@ -399,19 +399,19 @@ class wt {
|
|
|
399
399
|
} else if (this.stage == 2) {
|
|
400
400
|
let r = O(e, this.pos), n = 0;
|
|
401
401
|
if (r > this.pos) {
|
|
402
|
-
let s =
|
|
402
|
+
let s = qe(e, r, this.start);
|
|
403
403
|
if (s) {
|
|
404
|
-
let i =
|
|
404
|
+
let i = U(e, s.to - this.start);
|
|
405
405
|
i > 0 && (this.nextStage(s), n = i);
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
return n || (n =
|
|
408
|
+
return n || (n = U(e, this.pos)), n > 0 && n < e.length ? n : -1;
|
|
409
409
|
} else
|
|
410
|
-
return
|
|
410
|
+
return U(e, this.pos);
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function U(t, e) {
|
|
415
415
|
for (; e < t.length; e++) {
|
|
416
416
|
let r = t.charCodeAt(e);
|
|
417
417
|
if (r == 10)
|
|
@@ -438,7 +438,7 @@ class Ct {
|
|
|
438
438
|
}
|
|
439
439
|
const Te = {
|
|
440
440
|
LinkReference(t, e) {
|
|
441
|
-
return e.content.charCodeAt(0) == 91 ? new
|
|
441
|
+
return e.content.charCodeAt(0) == 91 ? new St(e) : null;
|
|
442
442
|
},
|
|
443
443
|
SetextHeading() {
|
|
444
444
|
return new Ct();
|
|
@@ -457,7 +457,7 @@ class Bt {
|
|
|
457
457
|
@internal
|
|
458
458
|
*/
|
|
459
459
|
constructor(e, r, n, s) {
|
|
460
|
-
this.parser = e, this.input = r, this.ranges = s, this.line = new
|
|
460
|
+
this.parser = e, this.input = r, this.ranges = s, this.line = new wt(), this.atEnd = !1, this.reusePlaceholders = /* @__PURE__ */ new Map(), this.stoppedAt = null, this.rangeI = 0, this.to = s[s.length - 1].to, this.lineStart = this.absoluteLineStart = this.absoluteLineEnd = s[0].from, this.block = $.create(u.Document, 0, this.lineStart, 0, 0), this.stack = [this.block], this.fragments = n.length ? new Ht(n, r) : null, this.readLine();
|
|
461
461
|
}
|
|
462
462
|
get parsedPos() {
|
|
463
463
|
return this.absoluteLineStart;
|
|
@@ -676,13 +676,13 @@ class Bt {
|
|
|
676
676
|
this.addNode(this.buffer.writeElements(r, -e.start).finish(u.Paragraph, e.content.length), e.start);
|
|
677
677
|
}
|
|
678
678
|
elt(e, r, n, s) {
|
|
679
|
-
return typeof e == "string" ? g(this.parser.getNodeType(e), r, n, s) : new
|
|
679
|
+
return typeof e == "string" ? g(this.parser.getNodeType(e), r, n, s) : new Xe(e, r);
|
|
680
680
|
}
|
|
681
681
|
/**
|
|
682
682
|
@internal
|
|
683
683
|
*/
|
|
684
684
|
get buffer() {
|
|
685
|
-
return new
|
|
685
|
+
return new Fe(this.parser.nodeSet);
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
function ze(t, e, r, n, s) {
|
|
@@ -700,7 +700,7 @@ function ze(t, e, r, n, s) {
|
|
|
700
700
|
}
|
|
701
701
|
return f(r.to + n, !1), new E(r.type, o, a, r.to + n - l, r.tree ? r.tree.propValues : void 0);
|
|
702
702
|
}
|
|
703
|
-
class
|
|
703
|
+
class q extends nt {
|
|
704
704
|
/**
|
|
705
705
|
@internal
|
|
706
706
|
*/
|
|
@@ -727,11 +727,11 @@ class U extends nt {
|
|
|
727
727
|
s = Object.assign({}, s);
|
|
728
728
|
let d = n.types.slice(), m;
|
|
729
729
|
for (let L of r.defineNodes) {
|
|
730
|
-
let { name: k, block:
|
|
730
|
+
let { name: k, block: w, composite: S, style: b } = typeof L == "string" ? { name: L } : L;
|
|
731
731
|
if (d.some((B) => B.name == k))
|
|
732
732
|
continue;
|
|
733
|
-
|
|
734
|
-
let A = d.length, M =
|
|
733
|
+
S && (s[d.length] = (B, tt, rt) => S(tt, rt, B.value));
|
|
734
|
+
let A = d.length, M = S ? ["Block", "BlockContext"] : w ? A >= u.ATXHeading1 && A <= u.SetextHeading2 ? ["Block", "LeafBlock", "Heading"] : ["Block", "LeafBlock"] : void 0;
|
|
735
735
|
d.push(j.define({
|
|
736
736
|
id: A,
|
|
737
737
|
name: k,
|
|
@@ -751,7 +751,7 @@ class U extends nt {
|
|
|
751
751
|
if (m > -1)
|
|
752
752
|
i[m] = d.parse, o[m] = d.leaf;
|
|
753
753
|
else {
|
|
754
|
-
let L = d.before ?
|
|
754
|
+
let L = d.before ? X(a, d.before) : d.after ? X(a, d.after) + 1 : a.length - 1;
|
|
755
755
|
i.splice(L, 0, d.parse), o.splice(L, 0, d.leaf), a.splice(L, 0, d.name);
|
|
756
756
|
}
|
|
757
757
|
d.endLeaf && h.push(d.endLeaf);
|
|
@@ -762,11 +762,11 @@ class U extends nt {
|
|
|
762
762
|
if (m > -1)
|
|
763
763
|
l[m] = d.parse;
|
|
764
764
|
else {
|
|
765
|
-
let L = d.before ?
|
|
765
|
+
let L = d.before ? X(f, d.before) : d.after ? X(f, d.after) + 1 : f.length - 1;
|
|
766
766
|
l.splice(L, 0, d.parse), f.splice(L, 0, d.name);
|
|
767
767
|
}
|
|
768
768
|
}
|
|
769
|
-
return r.wrap && (p = p.concat(r.wrap)), new
|
|
769
|
+
return r.wrap && (p = p.concat(r.wrap)), new q(n, i, o, a, h, s, l, f, p);
|
|
770
770
|
}
|
|
771
771
|
/**
|
|
772
772
|
@internal
|
|
@@ -823,7 +823,7 @@ function Y(t) {
|
|
|
823
823
|
wrap: s ? i ? (o, a, l, f) => s(i(o, a, l, f), a, l, f) : s : i
|
|
824
824
|
};
|
|
825
825
|
}
|
|
826
|
-
function
|
|
826
|
+
function X(t, e) {
|
|
827
827
|
let r = t.indexOf(e);
|
|
828
828
|
if (r < 0)
|
|
829
829
|
throw new RangeError(`Position specified relative to unknown parser ${e}`);
|
|
@@ -838,7 +838,7 @@ for (let t = 1, e; e = u[t]; t++)
|
|
|
838
838
|
top: e == "Document"
|
|
839
839
|
});
|
|
840
840
|
const N = [];
|
|
841
|
-
class
|
|
841
|
+
class Fe {
|
|
842
842
|
constructor(e) {
|
|
843
843
|
this.nodeSet = e, this.content = [], this.nodes = [];
|
|
844
844
|
}
|
|
@@ -878,10 +878,10 @@ class z {
|
|
|
878
878
|
@internal
|
|
879
879
|
*/
|
|
880
880
|
toTree(e) {
|
|
881
|
-
return new
|
|
881
|
+
return new Fe(e).writeElements(this.children, -this.from).finish(this.type, this.to - this.from);
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
|
-
class
|
|
884
|
+
class Xe {
|
|
885
885
|
constructor(e, r) {
|
|
886
886
|
this.tree = e, this.from = r;
|
|
887
887
|
}
|
|
@@ -1033,9 +1033,9 @@ function It(t, e, r, n, s) {
|
|
|
1033
1033
|
let { text: i } = t, o = t.char(s), a = s;
|
|
1034
1034
|
if (e.unshift(g(u.LinkMark, n, n + (r == u.Image ? 2 : 1))), e.push(g(u.LinkMark, s - 1, s)), o == 40) {
|
|
1035
1035
|
let l = t.skipSpace(s + 1), f = _e(i, l - t.offset, t.offset), h;
|
|
1036
|
-
f && (l = t.skipSpace(f.to), l != f.to && (h =
|
|
1036
|
+
f && (l = t.skipSpace(f.to), l != f.to && (h = qe(i, l - t.offset, t.offset), h && (l = t.skipSpace(h.to)))), t.char(l) == 41 && (e.push(g(u.LinkMark, s, s + 1)), a = l + 1, f && e.push(f), h && e.push(h), e.push(g(u.LinkMark, l, a)));
|
|
1037
1037
|
} else if (o == 91) {
|
|
1038
|
-
let l =
|
|
1038
|
+
let l = Ue(i, s - t.offset, t.offset, !1);
|
|
1039
1039
|
l && (e.push(l), a = l.to);
|
|
1040
1040
|
}
|
|
1041
1041
|
return g(r, n, a, e);
|
|
@@ -1069,7 +1069,7 @@ function _e(t, e, r) {
|
|
|
1069
1069
|
return i > e ? g(u.URL, e + r, i + r) : i == t.length ? null : !1;
|
|
1070
1070
|
}
|
|
1071
1071
|
}
|
|
1072
|
-
function
|
|
1072
|
+
function qe(t, e, r) {
|
|
1073
1073
|
let n = t.charCodeAt(e);
|
|
1074
1074
|
if (n != 39 && n != 34 && n != 40)
|
|
1075
1075
|
return !1;
|
|
@@ -1086,7 +1086,7 @@ function Ue(t, e, r) {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
return null;
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function Ue(t, e, r, n) {
|
|
1090
1090
|
for (let s = !1, i = e + 1, o = Math.min(t.length, i + 999); i < o; i++) {
|
|
1091
1091
|
let a = t.charCodeAt(i);
|
|
1092
1092
|
if (s)
|
|
@@ -1233,7 +1233,7 @@ class Et {
|
|
|
1233
1233
|
return O(this.text, e - this.offset) + this.offset;
|
|
1234
1234
|
}
|
|
1235
1235
|
elt(e, r, n, s) {
|
|
1236
|
-
return typeof e == "string" ? g(this.parser.getNodeType(e), r, n, s) : new
|
|
1236
|
+
return typeof e == "string" ? g(this.parser.getNodeType(e), r, n, s) : new Xe(e, r);
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
1239
|
function ee(t, e) {
|
|
@@ -1344,7 +1344,7 @@ const Pt = Be({
|
|
|
1344
1344
|
"CodeInfo LinkLabel": c.labelName,
|
|
1345
1345
|
LinkTitle: c.string,
|
|
1346
1346
|
Paragraph: c.content
|
|
1347
|
-
}), vt = new
|
|
1347
|
+
}), vt = new q(new Ae(De).extend(Pt), Object.keys(F).map((t) => F[t]), Object.keys(F).map((t) => Te[t]), Object.keys(F), xt, Ee, Object.keys(Q).map((t) => Q[t]), Object.keys(Q), []);
|
|
1348
1348
|
function Nt(t, e, r) {
|
|
1349
1349
|
let n = [];
|
|
1350
1350
|
for (let s = t.firstChild, i = e; ; s = s.nextSibling) {
|
|
@@ -1482,22 +1482,22 @@ const Dt = {
|
|
|
1482
1482
|
},
|
|
1483
1483
|
after: "SetextHeading"
|
|
1484
1484
|
}]
|
|
1485
|
-
}, ge = /(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy, ke = /[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,
|
|
1486
|
-
function
|
|
1485
|
+
}, ge = /(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy, ke = /[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy, Ft = /[\w-]+\.[\w-]+($|\/)/, Le = /[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy, be = /\/[a-zA-Z\d@.]+/gy;
|
|
1486
|
+
function we(t, e, r, n) {
|
|
1487
1487
|
let s = 0;
|
|
1488
1488
|
for (let i = e; i < r; i++)
|
|
1489
1489
|
t[i] == n && s++;
|
|
1490
1490
|
return s;
|
|
1491
1491
|
}
|
|
1492
|
-
function
|
|
1492
|
+
function Xt(t, e) {
|
|
1493
1493
|
ke.lastIndex = e;
|
|
1494
1494
|
let r = ke.exec(t);
|
|
1495
|
-
if (!r ||
|
|
1495
|
+
if (!r || Ft.exec(r[0])[0].indexOf("_") > -1)
|
|
1496
1496
|
return -1;
|
|
1497
1497
|
let n = e + r[0].length;
|
|
1498
1498
|
for (; ; ) {
|
|
1499
1499
|
let s = t[n - 1], i;
|
|
1500
|
-
if (/[?!.,:*_~]/.test(s) || s == ")" &&
|
|
1500
|
+
if (/[?!.,:*_~]/.test(s) || s == ")" && we(t, e, n, ")") > we(t, e, n, "("))
|
|
1501
1501
|
n--;
|
|
1502
1502
|
else if (s == ";" && (i = /&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e, n))))
|
|
1503
1503
|
n = e + i.index;
|
|
@@ -1506,7 +1506,7 @@ function Ft(t, e) {
|
|
|
1506
1506
|
}
|
|
1507
1507
|
return n;
|
|
1508
1508
|
}
|
|
1509
|
-
function
|
|
1509
|
+
function Se(t, e) {
|
|
1510
1510
|
Le.lastIndex = e;
|
|
1511
1511
|
let r = Le.exec(t);
|
|
1512
1512
|
if (!r)
|
|
@@ -1526,11 +1526,11 @@ const $t = {
|
|
|
1526
1526
|
if (!s)
|
|
1527
1527
|
return -1;
|
|
1528
1528
|
if (s[1] || s[2]) {
|
|
1529
|
-
if (i =
|
|
1529
|
+
if (i = Xt(t.text, n + s[0].length), i > -1 && t.hasOpenLink) {
|
|
1530
1530
|
let o = /([^\[\]]|\[[^\]]*\])*/.exec(t.text.slice(n, i));
|
|
1531
1531
|
i = n + o[0].length;
|
|
1532
1532
|
}
|
|
1533
|
-
} else s[3] ? i =
|
|
1533
|
+
} else s[3] ? i = Se(t.text, n) : (i = Se(t.text, n + s[0].length), i > -1 && s[0] == "xmpp:" && (be.lastIndex = i, s = be.exec(t.text), s && (i = s.index + s[0].length)));
|
|
1534
1534
|
return i < 0 ? -1 : (t.addElement(t.elt("URL", r, i + t.offset)), i + t.offset);
|
|
1535
1535
|
}
|
|
1536
1536
|
}]
|
|
@@ -1559,7 +1559,7 @@ const _t = {
|
|
|
1559
1559
|
name: "Superscript",
|
|
1560
1560
|
parse: Ge(94, "Superscript", "SuperscriptMark")
|
|
1561
1561
|
}]
|
|
1562
|
-
},
|
|
1562
|
+
}, qt = {
|
|
1563
1563
|
defineNodes: [
|
|
1564
1564
|
{ name: "Subscript", style: c.special(c.content) },
|
|
1565
1565
|
{ name: "SubscriptMark", style: c.processingInstruction }
|
|
@@ -1568,7 +1568,7 @@ const _t = {
|
|
|
1568
1568
|
name: "Subscript",
|
|
1569
1569
|
parse: Ge(126, "Subscript", "SubscriptMark")
|
|
1570
1570
|
}]
|
|
1571
|
-
},
|
|
1571
|
+
}, Ut = {
|
|
1572
1572
|
defineNodes: [{ name: "Emoji", style: c.character }],
|
|
1573
1573
|
parseInline: [{
|
|
1574
1574
|
name: "Emoji",
|
|
@@ -1620,7 +1620,7 @@ const Gt = /* @__PURE__ */ ot.of((t, e, r) => {
|
|
|
1620
1620
|
function oe(t) {
|
|
1621
1621
|
return new ht(Ve, t, [], "markdown");
|
|
1622
1622
|
}
|
|
1623
|
-
const Vt = /* @__PURE__ */ oe(Je), Kt = /* @__PURE__ */ Je.configure([jt,
|
|
1623
|
+
const Vt = /* @__PURE__ */ oe(Je), Kt = /* @__PURE__ */ Je.configure([jt, qt, _t, Ut, {
|
|
1624
1624
|
props: [
|
|
1625
1625
|
/* @__PURE__ */ Ie.add({
|
|
1626
1626
|
Table: (t, e) => ({ from: e.doc.lineAt(t.from).to, to: t.to })
|
|
@@ -1726,8 +1726,8 @@ const Yt = ({ state: t, dispatch: e }) => {
|
|
|
1726
1726
|
return s = { range: o };
|
|
1727
1727
|
let p = a >= h.to - h.spaceAfter.length && !/\S/.test(l.text.slice(h.to));
|
|
1728
1728
|
if (h.item && p) {
|
|
1729
|
-
let
|
|
1730
|
-
if (
|
|
1729
|
+
let w = h.node.firstChild, S = h.node.getChild("ListItem", "ListItem");
|
|
1730
|
+
if (w.to >= a || S && S.to < a || l.from > 0 && !/[^\s>]/.test(n.lineAt(l.from - 1).text)) {
|
|
1731
1731
|
let b = f.length > 1 ? f[f.length - 2] : null, A, M = "";
|
|
1732
1732
|
b && b.item ? (A = l.from + b.from, M = b.marker(n, 1)) : A = l.from + (b ? b.to : 0);
|
|
1733
1733
|
let B = [{ from: A, to: a, insert: M }];
|
|
@@ -1741,10 +1741,10 @@ const Yt = ({ state: t, dispatch: e }) => {
|
|
|
1741
1741
|
}
|
|
1742
1742
|
}
|
|
1743
1743
|
if (h.node.name == "Blockquote" && p && l.from) {
|
|
1744
|
-
let
|
|
1745
|
-
if (
|
|
1744
|
+
let w = n.lineAt(l.from - 1), S = />\s*$/.exec(w.text);
|
|
1745
|
+
if (S && S.index == h.from) {
|
|
1746
1746
|
let b = t.changes([
|
|
1747
|
-
{ from:
|
|
1747
|
+
{ from: w.from + S.index, to: w.to },
|
|
1748
1748
|
{ from: l.from + h.from, to: l.to }
|
|
1749
1749
|
]);
|
|
1750
1750
|
return { range: o.map(b), changes: b };
|
|
@@ -1754,8 +1754,8 @@ const Yt = ({ state: t, dispatch: e }) => {
|
|
|
1754
1754
|
h.node.name == "OrderedList" && G(h.item, n, d);
|
|
1755
1755
|
let m = h.item && h.item.from < l.from, L = "";
|
|
1756
1756
|
if (!m || /^[\s\d.)\-+*>]*/.exec(l.text)[0].length >= h.to)
|
|
1757
|
-
for (let
|
|
1758
|
-
L +=
|
|
1757
|
+
for (let w = 0, S = f.length - 1; w <= S; w++)
|
|
1758
|
+
L += w == S && !m ? f[w].marker(n, 1) : f[w].blank(w < S ? T(l.text, 4, f[w + 1].from) - L.length : null);
|
|
1759
1759
|
let k = a;
|
|
1760
1760
|
for (; k > l.from && /\s/.test(l.text.charAt(k - l.from - 1)); )
|
|
1761
1761
|
k--;
|
|
@@ -1831,7 +1831,7 @@ const tr = ({ state: t, dispatch: e }) => {
|
|
|
1831
1831
|
], et = /* @__PURE__ */ kt({ matchClosingTags: !1 });
|
|
1832
1832
|
function ar(t = {}) {
|
|
1833
1833
|
let { codeLanguages: e, defaultCodeLanguage: r, addKeymap: n = !0, base: { parser: s } = Vt, completeHTMLTags: i = !0, htmlTagLanguage: o = et } = t;
|
|
1834
|
-
if (!(s instanceof
|
|
1834
|
+
if (!(s instanceof q))
|
|
1835
1835
|
throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");
|
|
1836
1836
|
let a = t.extensions ? [t.extensions] : [], l = [o.support, Gt], f;
|
|
1837
1837
|
r instanceof le ? (l.push(r.support), f = r.language) : r && (f = r);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { html as m } from "./index-
|
|
3
|
-
import { javascriptLanguage as b } from "./index-
|
|
4
|
-
import { L as S, a as r } from "./index-
|
|
1
|
+
import { a as p, L as u, p as n, s as l, t as e } from "./index-C5nX2YsP.js";
|
|
2
|
+
import { html as m } from "./index-Br9_hdVE.js";
|
|
3
|
+
import { javascriptLanguage as b } from "./index-R4U3cj34.js";
|
|
4
|
+
import { L as S, a as r } from "./index-BP6XXhaw.js";
|
|
5
5
|
const c = /* @__PURE__ */ S.deserialize({
|
|
6
6
|
version: 14,
|
|
7
7
|
states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as W, E as i, C as B } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { L as W, E as i, C as B } from "./index-BP6XXhaw.js";
|
|
2
|
+
import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, g as v, j as N } from "./index-C5nX2YsP.js";
|
|
3
3
|
const c = 63, D = 64, j = 1, A = 2, y = 3, H = 4, Z = 5, F = 6, I = 7, z = 65, K = 66, J = 8, OO = 9, eO = 10, aO = 11, rO = 12, V = 13, tO = 19, nO = 20, oO = 29, PO = 33, QO = 34, sO = 47, lO = 0, T = 1, g = 2, d = 3, m = 4;
|
|
4
4
|
class s {
|
|
5
5
|
constructor(e, a, r) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as n } from "./index-
|
|
3
|
-
const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 },
|
|
1
|
+
import { a as O, L as r, i as b, f as s, s as a, g as t, j as P, t as e } from "./index-C5nX2YsP.js";
|
|
2
|
+
import { L as n } from "./index-BP6XXhaw.js";
|
|
3
|
+
const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 }, i = /* @__PURE__ */ n.deserialize({
|
|
4
4
|
version: 14,
|
|
5
5
|
states: "!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",
|
|
6
6
|
stateData: "!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",
|
|
@@ -20,20 +20,20 @@ const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34,
|
|
|
20
20
|
topRules: { Module: [0, 3] },
|
|
21
21
|
specialized: [{ term: 9, get: (o) => S[o] || -1 }],
|
|
22
22
|
tokenPrec: 0
|
|
23
|
-
}),
|
|
23
|
+
}), Q = /* @__PURE__ */ O.define({
|
|
24
24
|
name: "wast",
|
|
25
|
-
parser: /* @__PURE__ */
|
|
25
|
+
parser: /* @__PURE__ */ i.configure({
|
|
26
26
|
props: [
|
|
27
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ b.add({
|
|
28
28
|
App: /* @__PURE__ */ t({ closing: ")", align: !1 })
|
|
29
29
|
}),
|
|
30
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ s.add({
|
|
31
31
|
App: P,
|
|
32
32
|
BlockComment(o) {
|
|
33
33
|
return { from: o.from + 2, to: o.to - 2 };
|
|
34
34
|
}
|
|
35
35
|
}),
|
|
36
|
-
/* @__PURE__ */
|
|
36
|
+
/* @__PURE__ */ a({
|
|
37
37
|
Keyword: e.keyword,
|
|
38
38
|
Type: e.typeName,
|
|
39
39
|
Number: e.number,
|
|
@@ -51,9 +51,9 @@ const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34,
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
function l() {
|
|
54
|
-
return new r(
|
|
54
|
+
return new r(Q);
|
|
55
55
|
}
|
|
56
56
|
export {
|
|
57
57
|
l as wast,
|
|
58
|
-
|
|
58
|
+
Q as wastLanguage
|
|
59
59
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { L as be, E as $, C as Pe } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
import { cssLanguage as J, css as _e } from "./index-
|
|
4
|
-
import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-
|
|
1
|
+
import { L as be, E as $, C as Pe } from "./index-BP6XXhaw.js";
|
|
2
|
+
import { p as xe, s as Te, t as h, E as Ve, a as we, L as ye, e as K, l as ve, i as Xe, f as ke, G as $e } from "./index-C5nX2YsP.js";
|
|
3
|
+
import { cssLanguage as J, css as _e } from "./index-9_tr_Bvo.js";
|
|
4
|
+
import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-R4U3cj34.js";
|
|
5
5
|
const Ye = 54, Me = 1, Re = 55, Ee = 2, Ze = 56, Be = 3, z = 4, ze = 5, X = 6, ee = 7, te = 8, ae = 9, le = 10, We = 11, De = 12, Ne = 13, _ = 57, Ge = 14, W = 58, re = 20, Ie = 22, ne = 23, je = 24, Y = 26, se = 27, Ue = 28, Le = 31, Fe = 34, He = 36, Ke = 37, Je = 0, et = 1, tt = {
|
|
6
6
|
area: !0,
|
|
7
7
|
base: !0,
|