@mxtommy/kip 3.0.1 → 3.0.2-beta.10
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/package.json +5 -5
- package/public/{chunk-ZV2B2T7U.js → chunk-5BPL4ALQ.js} +1 -1
- package/public/{chunk-I4OS4G3O.js → chunk-6GQG5XJB.js} +6 -6
- package/public/{chunk-YUTPM75L.js → chunk-6NIOBZZL.js} +1 -1
- package/public/{chunk-L7UKAWLY.js → chunk-7OTNT2GF.js} +1 -1
- package/public/{chunk-RPKF2WTO.js → chunk-AGPPRVTP.js} +1 -1
- package/public/{chunk-HGGZHPEL.js → chunk-AHFD2AA5.js} +6 -6
- package/public/{chunk-KWKWZAZX.js → chunk-AMD2VMMN.js} +1 -1
- package/public/{chunk-EQRZHWPP.js → chunk-DQ7JK5BR.js} +1 -1
- package/public/{chunk-NYV2LWVP.js → chunk-FCC7GNHD.js} +1 -1
- package/public/{chunk-TZDJ5EHM.js → chunk-FFCTE2U5.js} +1 -1
- package/public/{chunk-M2JB3XFU.js → chunk-FMVUDX5R.js} +1 -1
- package/public/chunk-JIJMSRKJ.js +18 -0
- package/public/{chunk-OBBHCFRU.js → chunk-KDLBNAYX.js} +1 -1
- package/public/{chunk-KMMN237T.js → chunk-LMRTNYJV.js} +1 -1
- package/public/{chunk-6YW4QM26.js → chunk-LTMJXHF3.js} +1 -1
- package/public/{chunk-RDGFD5GJ.js → chunk-MCACXEYY.js} +1 -1
- package/public/{chunk-Z4VURE4A.js → chunk-NGZ4CXLB.js} +1 -1
- package/public/{chunk-VBAR3X2R.js → chunk-OG77M7OV.js} +1 -1
- package/public/chunk-P6HL5GN3.js +2 -0
- package/public/{chunk-73JFSZOI.js → chunk-R6LBKFPA.js} +6 -6
- package/public/{chunk-ZACGYWMT.js → chunk-RCSPPHLA.js} +1 -1
- package/public/{chunk-M5DGTFVK.js → chunk-RNM4H3MR.js} +1 -1
- package/public/chunk-TBWAHZQI.js +1 -0
- package/public/{chunk-R42HCTYK.js → chunk-VIHODUV4.js} +1 -1
- package/public/{chunk-5XHGHOGP.js → chunk-WJMKCVFQ.js} +1 -1
- package/public/{chunk-UC4KBAC2.js → chunk-YQQFIIO5.js} +1 -1
- package/public/index.html +1 -1
- package/public/{main-25XXBQ7S.js → main-XCFHCLKV.js} +138 -15
- package/public/chunk-BWCVGK73.js +0 -2
- package/public/chunk-FVY2LG57.js +0 -18
- package/public/chunk-NLMWDEFP.js +0 -1
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mxtommy/kip",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2-beta.10",
|
|
4
4
|
"description": "An advanced and versatile marine instrumentation package to display Signal K data.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Thomas St.Pierre, David Godin"
|
|
8
8
|
},
|
|
9
9
|
"contributors": [
|
|
10
|
-
{
|
|
11
|
-
"name": "Thomas St.Pierre",
|
|
12
|
-
"email": "thomas@samoht.ca"
|
|
13
|
-
},
|
|
14
10
|
{
|
|
15
11
|
"name": "David Godin",
|
|
16
12
|
"email": "godind@hotmail.com"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "Thomas St.Pierre",
|
|
16
|
+
"email": "thomas@samoht.ca"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
19
|
"homepage": "https://github.com/mxtommy/Kip",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Et}from"./chunk-
|
|
1
|
+
import{g as Et}from"./chunk-VIHODUV4.js";import{$a as bt,$b as J,$c as se,Ad as A,Ae as Fe,Bb as W,Ce as Ht,Da as dt,Dc as Rt,Ea as Y,Ec as St,Ed as It,Fa as X,Ga as mt,H as ot,Hb as N,Ib as Ie,Id as Pt,J as L,Jb as Ee,Jd as At,K as at,Ka as Re,Nb as Pe,Nd as Ot,Ne as qt,Oa as E,Oc as De,Pa as Se,Pe as Ut,Q as lt,R as ct,Rc as Le,Sc as $e,Se as fe,Ta as z,Td as Ne,U as ut,Vd as Dt,Ve as Vt,Wa as ft,Xb as yt,Xc as ie,Yb as K,Zb as Ae,_a as gt,a as f,b as T,bc as wt,da as ht,dc as vt,de as Lt,eb as kt,ee as $t,f as rt,fa as $,fd as ze,g as he,ga as G,ge as zt,ha as pe,ic as P,jc as B,kc as Oe,ke as Nt,le as Be,m as C,oa as pt,oc as Mt,pa as Te,pb as _t,qc as F,ra as w,rc as j,re as Bt,sc as ee,se as Ft,t as Z,ta as I,tc as H,ua as g,ub as Q,ud as Ct,ue as jt,vc as me,wb as Ce,wc as Tt,xc as te,yb as xt,yc as ne,z as Me,zb as de}from"./chunk-JIJMSRKJ.js";function qe(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var D=qe();function Wt(a){D=a}var ae={exec:()=>null};function b(a,i=""){let e=typeof a=="string"?a:a.source,t={replace:(n,s)=>{let r=typeof s=="string"?s:s.source;return r=r.replace(x.caret,"$1"),e=e.replace(n,r),t},getRegex:()=>new RegExp(e,i)};return t}var x={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:a=>new RegExp(`^( {0,3}${a})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:a=>new RegExp(`^ {0,${Math.min(3,a-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:a=>new RegExp(`^ {0,${Math.min(3,a-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:a=>new RegExp(`^ {0,${Math.min(3,a-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:a=>new RegExp(`^ {0,${Math.min(3,a-1)}}#`),htmlBeginRegex:a=>new RegExp(`^ {0,${Math.min(3,a-1)}}<(?:[a-z].*>|!--)`,"i")},kn=/^(?:[ \t]*(?:\n|$))+/,_n=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,xn=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,ce=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,yn=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ue=/(?:[*+-]|\d{1,9}[.)])/,Kt=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Jt=b(Kt).replace(/bull/g,Ue).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),wn=b(Kt).replace(/bull/g,Ue).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Ve=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,vn=/^[^\n]+/,Ze=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Mn=b(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ze).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Tn=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ue).getRegex(),ke="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ge=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Rn=b("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Ge).replace("tag",ke).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),en=b(Ve).replace("hr",ce).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ke).getRegex(),Sn=b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",en).getRegex(),Ye={blockquote:Sn,code:_n,def:Mn,fences:xn,heading:yn,hr:ce,html:Rn,lheading:Jt,list:Tn,newline:kn,paragraph:en,table:ae,text:vn},Zt=b("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ce).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ke).getRegex(),Cn=T(f({},Ye),{lheading:wn,table:Zt,paragraph:b(Ve).replace("hr",ce).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Zt).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ke).getRegex()}),In=T(f({},Ye),{html:b(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ge).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ae,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(Ve).replace("hr",ce).replace("heading",` *#{1,6} *[^
|
|
2
2
|
]`).replace("lheading",Jt).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),En=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Pn=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,tn=/^( {2,}|\\)\n(?!\s*$)/,An=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,_e=/[\p{P}\p{S}]/u,Xe=/[\s\p{P}\p{S}]/u,nn=/[^\s\p{P}\p{S}]/u,On=b(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Xe).getRegex(),sn=/(?!~)[\p{P}\p{S}]/u,Dn=/(?!~)[\s\p{P}\p{S}]/u,Ln=/(?:[^\s\p{P}\p{S}]|~)/u,$n=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,rn=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,zn=b(rn,"u").replace(/punct/g,_e).getRegex(),Nn=b(rn,"u").replace(/punct/g,sn).getRegex(),on="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Bn=b(on,"gu").replace(/notPunctSpace/g,nn).replace(/punctSpace/g,Xe).replace(/punct/g,_e).getRegex(),Fn=b(on,"gu").replace(/notPunctSpace/g,Ln).replace(/punctSpace/g,Dn).replace(/punct/g,sn).getRegex(),jn=b("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,nn).replace(/punctSpace/g,Xe).replace(/punct/g,_e).getRegex(),Hn=b(/\\(punct)/,"gu").replace(/punct/g,_e).getRegex(),qn=b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Un=b(Ge).replace("(?:-->|$)","-->").getRegex(),Vn=b("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Un).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),be=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Zn=b(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",be).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),an=b(/^!?\[(label)\]\[(ref)\]/).replace("label",be).replace("ref",Ze).getRegex(),ln=b(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ze).getRegex(),Gn=b("reflink|nolink(?!\\()","g").replace("reflink",an).replace("nolink",ln).getRegex(),Qe={_backpedal:ae,anyPunctuation:Hn,autolink:qn,blockSkip:$n,br:tn,code:Pn,del:ae,emStrongLDelim:zn,emStrongRDelimAst:Bn,emStrongRDelimUnd:jn,escape:En,link:Zn,nolink:ln,punctuation:On,reflink:an,reflinkSearch:Gn,tag:Vn,text:An,url:ae},Yn=T(f({},Qe),{link:b(/^!?\[(label)\]\((.*?)\)/).replace("label",be).getRegex(),reflink:b(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",be).getRegex()}),je=T(f({},Qe),{emStrongRDelimAst:Fn,emStrongLDelim:Nn,url:b(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Xn=T(f({},je),{br:b(tn).replace("{2,}","*").getRegex(),text:b(je.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),ge={normal:Ye,gfm:Cn,pedantic:In},re={normal:Qe,gfm:je,breaks:Xn,pedantic:Yn},Qn={"&":"&","<":"<",">":">",'"':""","'":"'"},Gt=a=>Qn[a];function R(a,i){if(i){if(x.escapeTest.test(a))return a.replace(x.escapeReplace,Gt)}else if(x.escapeTestNoEncode.test(a))return a.replace(x.escapeReplaceNoEncode,Gt);return a}function Yt(a){try{a=encodeURI(a).replace(x.percentDecode,"%")}catch{return null}return a}function Xt(a,i){let e=a.replace(x.findPipe,(s,r,o)=>{let l=!1,c=r;for(;--c>=0&&o[c]==="\\";)l=!l;return l?"|":" |"}),t=e.split(x.splitPipe),n=0;if(t[0].trim()||t.shift(),t.length>0&&!t.at(-1)?.trim()&&t.pop(),i)if(t.length>i)t.splice(i);else for(;t.length<i;)t.push("");for(;n<t.length;n++)t[n]=t[n].trim().replace(x.slashPipe,"|");return t}function oe(a,i,e){let t=a.length;if(t===0)return"";let n=0;for(;n<t&&a.charAt(t-n-1)===i;)n++;return a.slice(0,t-n)}function Wn(a,i){if(a.indexOf(i[1])===-1)return-1;let e=0;for(let t=0;t<a.length;t++)if(a[t]==="\\")t++;else if(a[t]===i[0])e++;else if(a[t]===i[1]&&(e--,e<0))return t;return-1}function Qt(a,i,e,t,n){let s=i.href,r=i.title||null,o=a[1].replace(n.other.outputLinkReplace,"$1");if(a[0].charAt(0)!=="!"){t.state.inLink=!0;let l={type:"link",raw:e,href:s,title:r,text:o,tokens:t.inlineTokens(o)};return t.state.inLink=!1,l}return{type:"image",raw:e,href:s,title:r,text:o}}function Kn(a,i,e){let t=a.match(e.other.indentCodeCompensation);if(t===null)return i;let n=t[1];return i.split(`
|
|
3
3
|
`).map(s=>{let r=s.match(e.other.beginningSpace);if(r===null)return s;let[o]=r;return o.length>=n.length?s.slice(n.length):s}).join(`
|
|
4
4
|
`)}var U=class{options;rules;lexer;constructor(i){this.options=i||D}space(i){let e=this.rules.block.newline.exec(i);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(i){let e=this.rules.block.code.exec(i);if(e){let t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:oe(t,`
|