@mxtommy/kip 3.8.2 → 3.9.0-beta.3
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/CHANGELOG.md +3 -2
- package/package.json +1 -1
- package/public/3rdpartylicenses.txt +0 -26
- package/public/{chunk-SIMUFQFG.js → chunk-4JJLPUET.js} +1 -1
- package/public/chunk-5I4RHHVN.js +11 -0
- package/public/{chunk-WD5WD3GY.js → chunk-CQXWGD3T.js} +1 -1
- package/public/chunk-K22CSA3Y.js +1 -0
- package/public/{chunk-OPPBJYH7.js → chunk-Q2Y75POI.js} +1 -1
- package/public/{chunk-KPQDHC2Z.js → chunk-QJ7KN34C.js} +1 -1
- package/public/{chunk-ZWNGAG3P.js → chunk-RRTCHHRC.js} +1 -1
- package/public/{chunk-7BMBGIZI.js → chunk-S3HDPCXO.js} +1 -1
- package/public/chunk-TXPLRBW5.js +2 -0
- package/public/chunk-VHFBF47T.js +1 -0
- package/public/{chunk-4WFDZ6FH.js → chunk-YP4L5CLU.js} +1 -1
- package/public/chunk-YRM4OGRD.js +2 -0
- package/public/index.html +1 -1
- package/public/main-Z53UATGE.js +64 -0
- package/public/chunk-7VNHJHIE.js +0 -1
- package/public/chunk-FYMQ3PE4.js +0 -1
- package/public/chunk-GQ3O7IYU.js +0 -11
- package/public/chunk-SMXTNO74.js +0 -2
- package/public/chunk-TE3Z6IE7.js +0 -2
- package/public/main-ZQQ2KBG6.js +0 -237
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# v 3.8.2
|
|
2
|
-
|
|
2
|
+
# Improvements
|
|
3
3
|
* Faster app loading with local font and font swap support
|
|
4
4
|
* Linux/RPi UI cleanup with removal of unnecessary scroll bars in multiple pages
|
|
5
5
|
* Increased mobile Wake Lock support
|
|
6
|
+
* Help component active page marker
|
|
6
7
|
## Fixes
|
|
7
|
-
*
|
|
8
|
+
* Dashboard card Drag & Drop and Long Press event collision preventing dashboard reordering in Chromium.
|
|
8
9
|
# v 3.8.1
|
|
9
10
|
## Improvements
|
|
10
11
|
* Expose option to invert pitch and roll axes in Horizon gauge widget
|
package/package.json
CHANGED
|
@@ -49,32 +49,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
49
49
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
50
50
|
SOFTWARE.
|
|
51
51
|
|
|
52
|
-
--------------------------------------------------------------------------------
|
|
53
|
-
Package: hammerjs
|
|
54
|
-
License: "MIT"
|
|
55
|
-
|
|
56
|
-
The MIT License (MIT)
|
|
57
|
-
|
|
58
|
-
Copyright (C) 2011-2014 by Jorik Tangelder (Eight Media)
|
|
59
|
-
|
|
60
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
61
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
62
|
-
in the Software without restriction, including without limitation the rights
|
|
63
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
64
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
65
|
-
furnished to do so, subject to the following conditions:
|
|
66
|
-
|
|
67
|
-
The above copyright notice and this permission notice shall be included in
|
|
68
|
-
all copies or substantial portions of the Software.
|
|
69
|
-
|
|
70
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
71
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
72
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
73
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
74
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
75
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
76
|
-
THE SOFTWARE.
|
|
77
|
-
|
|
78
52
|
--------------------------------------------------------------------------------
|
|
79
53
|
Package: gridstack
|
|
80
54
|
License: "MIT"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as $t}from"./chunk-TXPLRBW5.js";import{$b as Pe,$d as Ae,$e as Gt,A as st,Aa as q,Ab as xt,Ac as Dt,Ba as dt,Be as Ut,Ce as Xt,Da as A,Db as yt,Ea as Te,Ee as Yt,Fb as C,Gb as Ce,Hb as wt,I as ot,Id as E,K as O,Kd as At,Ke as ze,L as at,Mc as Oe,Me as Vt,Na as mt,Qa as L,Qb as vt,Qd as Lt,R as lt,Ra as ft,Rb as Y,Rd as zt,S as ct,Sb as Mt,Sd as Nt,Tb as Tt,V as ut,Va as gt,Xc as Ot,Xe as Zt,Yb as Rt,Zb as Ie,_b as Ee,_e as Ne,a as m,ac as V,b as S,bc as ue,be as Bt,cf as Qt,da as ht,ed as K,ef as Wt,f as rt,fa as oe,g as se,ga as j,gb as bt,gc as St,ha as ae,hc as Ct,hf as Kt,ic as De,id as J,jc as he,kc as z,lb as U,lc as Z,le as Ft,m as v,mc as N,me as jt,nb as Re,nc as pe,oa as pt,oc as It,oe as Ht,pa as Me,pb as _t,pc as G,qb as le,qc as Q,ra as y,rb as kt,sa as M,sb as X,se as qt,t as F,ta as f,te as Le,wb as $,wc as W,we as $e,xb as Se,yb as ce,yc as Et,za as H,zc as Pt}from"./chunk-35L7BBBD.js";function He(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var D=He();function sn(r){D=r}var ne={exec:()=>null};function g(r,i=""){let t=typeof r=="string"?r:r.source,e={replace:(n,s)=>{let o=typeof s=="string"?s:s.source;return o=o.replace(x.caret,"$1"),t=t.replace(n,o),e},getRegex:()=>new RegExp(t,i)};return e}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:r=>new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}#`),htmlBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}<(?:[a-z].*>|!--)`,"i")},Mn=/^(?:[ \t]*(?:\n|$))+/,Tn=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Rn=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,ie=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Sn=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,qe=/(?:[*+-]|\d{1,9}[.)])/,on=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,an=g(on).replace(/bull/g,qe).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(),Cn=g(on).replace(/bull/g,qe).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(),Ue=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,In=/^[^\n]+/,Xe=/(?!\s*\])(?:\\.|[^\[\]\\])+/,En=g(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Xe).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Pn=g(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,qe).getRegex(),be="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",Ye=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Dn=g("^ {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",Ye).replace("tag",be).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ln=g(Ue).replace("hr",ie).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",be).getRegex(),On=g(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ln).getRegex(),Ve={blockquote:On,code:Tn,def:En,fences:Rn,heading:Sn,hr:ie,html:Dn,lheading:an,list:Pn,newline:Mn,paragraph:ln,table:ne,text:In},Jt=g("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ie).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",be).getRegex(),An=S(m({},Ve),{lheading:Cn,table:Jt,paragraph:g(Ue).replace("hr",ie).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Jt).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",be).getRegex()}),Ln=S(m({},Ve),{html:g(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ye).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:ne,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:g(Ue).replace("hr",ie).replace("heading",` *#{1,6} *[^
|
|
2
2
|
]`).replace("lheading",an).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),$n=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,zn=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,cn=/^( {2,}|\\)\n(?!\s*$)/,Nn=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,_e=/[\p{P}\p{S}]/u,Ze=/[\s\p{P}\p{S}]/u,un=/[^\s\p{P}\p{S}]/u,Bn=g(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Ze).getRegex(),hn=/(?!~)[\p{P}\p{S}]/u,Fn=/(?!~)[\s\p{P}\p{S}]/u,jn=/(?:[^\s\p{P}\p{S}]|~)/u,Hn=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,pn=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,qn=g(pn,"u").replace(/punct/g,_e).getRegex(),Un=g(pn,"u").replace(/punct/g,hn).getRegex(),dn="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Xn=g(dn,"gu").replace(/notPunctSpace/g,un).replace(/punctSpace/g,Ze).replace(/punct/g,_e).getRegex(),Yn=g(dn,"gu").replace(/notPunctSpace/g,jn).replace(/punctSpace/g,Fn).replace(/punct/g,hn).getRegex(),Vn=g("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,un).replace(/punctSpace/g,Ze).replace(/punct/g,_e).getRegex(),Zn=g(/\\(punct)/,"gu").replace(/punct/g,_e).getRegex(),Gn=g(/^<(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(),Qn=g(Ye).replace("(?:-->|$)","-->").getRegex(),Wn=g("^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",Qn).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),fe=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Kn=g(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",fe).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),mn=g(/^!?\[(label)\]\[(ref)\]/).replace("label",fe).replace("ref",Xe).getRegex(),fn=g(/^!?\[(ref)\](?:\[\])?/).replace("ref",Xe).getRegex(),Jn=g("reflink|nolink(?!\\()","g").replace("reflink",mn).replace("nolink",fn).getRegex(),Ge={_backpedal:ne,anyPunctuation:Zn,autolink:Gn,blockSkip:Hn,br:cn,code:zn,del:ne,emStrongLDelim:qn,emStrongRDelimAst:Xn,emStrongRDelimUnd:Vn,escape:$n,link:Kn,nolink:fn,punctuation:Bn,reflink:mn,reflinkSearch:Jn,tag:Wn,text:Nn,url:ne},ei=S(m({},Ge),{link:g(/^!?\[(label)\]\((.*?)\)/).replace("label",fe).getRegex(),reflink:g(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",fe).getRegex()}),Be=S(m({},Ge),{emStrongRDelimAst:Yn,emStrongLDelim:Un,url:g(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),ti=S(m({},Be),{br:g(cn).replace("{2,}","*").getRegex(),text:g(Be.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),de={normal:Ve,gfm:An,pedantic:Ln},ee={normal:Ge,gfm:Be,breaks:ti,pedantic:ei},ni={"&":"&","<":"<",">":">",'"':""","'":"'"},en=r=>ni[r];function w(r,i){if(i){if(x.escapeTest.test(r))return r.replace(x.escapeReplace,en)}else if(x.escapeTestNoEncode.test(r))return r.replace(x.escapeReplaceNoEncode,en);return r}function tn(r){try{r=encodeURI(r).replace(x.percentDecode,"%")}catch{return null}return r}function nn(r,i){let t=r.replace(x.findPipe,(s,o,a)=>{let c=!1,l=o;for(;--l>=0&&a[l]==="\\";)c=!c;return c?"|":" |"}),e=t.split(x.splitPipe),n=0;if(e[0].trim()||e.shift(),e.length>0&&!e.at(-1)?.trim()&&e.pop(),i)if(e.length>i)e.splice(i);else for(;e.length<i;)e.push("");for(;n<e.length;n++)e[n]=e[n].trim().replace(x.slashPipe,"|");return e}function te(r,i,t){let e=r.length;if(e===0)return"";let n=0;for(;n<e;){let s=r.charAt(e-n-1);if(s===i&&!t)n++;else if(s!==i&&t)n++;else break}return r.slice(0,e-n)}function ii(r,i){if(r.indexOf(i[1])===-1)return-1;let t=0;for(let e=0;e<r.length;e++)if(r[e]==="\\")e++;else if(r[e]===i[0])t++;else if(r[e]===i[1]&&(t--,t<0))return e;return t>0?-2:-1}function rn(r,i,t,e,n){let s=i.href,o=i.title||null,a=r[1].replace(n.other.outputLinkReplace,"$1");e.state.inLink=!0;let c={type:r[0].charAt(0)==="!"?"image":"link",raw:t,href:s,title:o,text:a,tokens:e.inlineTokens(a)};return e.state.inLink=!1,c}function ri(r,i,t){let e=r.match(t.other.indentCodeCompensation);if(e===null)return i;let n=e[1];return i.split(`
|
|
3
3
|
`).map(s=>{let o=s.match(t.other.beginningSpace);if(o===null)return s;let[a]=o;return a.length>=n.length?s.slice(n.length):s}).join(`
|
|
4
4
|
`)}var ge=class{options;rules;lexer;constructor(r){this.options=r||D}space(r){let i=this.rules.block.newline.exec(r);if(i&&i[0].length>0)return{type:"space",raw:i[0]}}code(r){let i=this.rules.block.code.exec(r);if(i){let t=i[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:this.options.pedantic?t:te(t,`
|