@mxtommy/kip 3.0.0-beta.56 → 3.0.0-beta.57
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 +1 -1
- package/public/3rdpartylicenses.txt +26 -26
- package/public/{chunk-VAI6O7FL.js → chunk-2OFCK2BA.js} +1 -1
- package/public/{chunk-K6CVCRP6.js → chunk-6IUIZ6JS.js} +1 -1
- package/public/{chunk-A5KUITG3.js → chunk-6YS6KKWU.js} +7 -7
- package/public/{chunk-WOM4OJLF.js → chunk-BJPF6NLN.js} +1 -1
- package/public/{chunk-CSBRGURZ.js → chunk-BOGRJVHC.js} +1 -1
- package/public/{chunk-KQMUXQYI.js → chunk-C4PHSWKL.js} +4 -4
- package/public/{chunk-HZ4UYXWI.js → chunk-C6WLNOPX.js} +1 -1
- package/public/{chunk-TISPCIMV.js → chunk-D2ESVYD4.js} +1 -1
- package/public/{chunk-B5URLEHZ.js → chunk-DDIXC2QV.js} +1 -1
- package/public/{chunk-AWVKFZ7Y.js → chunk-EKSUH6GM.js} +1 -1
- package/public/chunk-EVFF32JA.js +2 -0
- package/public/{chunk-WLCSJBDC.js → chunk-EVTQS5CY.js} +1 -1
- package/public/{chunk-LPBHB3RS.js → chunk-F7V4F53Y.js} +1 -1
- package/public/{chunk-UR3KXLST.js → chunk-FLLHR7W7.js} +1 -1
- package/public/{chunk-SQOJ5H45.js → chunk-GKGB2HVS.js} +1 -1
- package/public/{chunk-4JG6EJKV.js → chunk-HLZGJGDB.js} +1 -1
- package/public/{chunk-R3K5QGKO.js → chunk-KDVWVRB6.js} +1 -1
- package/public/{chunk-EBNNLHAB.js → chunk-LLHUJADH.js} +1 -1
- package/public/chunk-OSBNFJU6.js +1 -0
- package/public/{chunk-OJ3NCJQB.js → chunk-PIBJWRT7.js} +1 -1
- package/public/{chunk-VT6BPJPI.js → chunk-QOS7ZNYF.js} +1 -1
- package/public/{chunk-ZHFEBQZT.js → chunk-T4XUSXSP.js} +1 -1
- package/public/chunk-US44UWGI.js +1 -0
- package/public/chunk-XNHRDAFK.js +1 -0
- package/public/{chunk-ND3ANN5P.js → chunk-XTKNNUKG.js} +1 -1
- package/public/index.html +1 -1
- package/public/{main-IFVDHRFO.js → main-5WSEZBCV.js} +2 -2
- package/public/chunk-6IHME7RV.js +0 -1
- package/public/chunk-DEXNB6NC.js +0 -1
- package/public/chunk-EQBOKLCQ.js +0 -1
- package/public/chunk-YTIAZ6HG.js +0 -2
package/package.json
CHANGED
|
@@ -597,6 +597,32 @@ maintained libraries used by this software which have their own
|
|
|
597
597
|
licenses; we recommend you read them, as their terms may differ from the
|
|
598
598
|
terms above.
|
|
599
599
|
|
|
600
|
+
--------------------------------------------------------------------------------
|
|
601
|
+
Package: @angular/core
|
|
602
|
+
License: "MIT"
|
|
603
|
+
|
|
604
|
+
The MIT License
|
|
605
|
+
|
|
606
|
+
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
|
607
|
+
|
|
608
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
609
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
610
|
+
in the Software without restriction, including without limitation the rights
|
|
611
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
612
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
613
|
+
furnished to do so, subject to the following conditions:
|
|
614
|
+
|
|
615
|
+
The above copyright notice and this permission notice shall be included in
|
|
616
|
+
all copies or substantial portions of the Software.
|
|
617
|
+
|
|
618
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
619
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
620
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
621
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
622
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
623
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
624
|
+
THE SOFTWARE.
|
|
625
|
+
|
|
600
626
|
--------------------------------------------------------------------------------
|
|
601
627
|
Package: rxjs
|
|
602
628
|
License: "Apache-2.0"
|
|
@@ -804,32 +830,6 @@ License: "Apache-2.0"
|
|
|
804
830
|
limitations under the License.
|
|
805
831
|
|
|
806
832
|
|
|
807
|
-
--------------------------------------------------------------------------------
|
|
808
|
-
Package: @angular/core
|
|
809
|
-
License: "MIT"
|
|
810
|
-
|
|
811
|
-
The MIT License
|
|
812
|
-
|
|
813
|
-
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
|
814
|
-
|
|
815
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
816
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
817
|
-
in the Software without restriction, including without limitation the rights
|
|
818
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
819
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
820
|
-
furnished to do so, subject to the following conditions:
|
|
821
|
-
|
|
822
|
-
The above copyright notice and this permission notice shall be included in
|
|
823
|
-
all copies or substantial portions of the Software.
|
|
824
|
-
|
|
825
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
826
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
827
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
828
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
829
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
830
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
831
|
-
THE SOFTWARE.
|
|
832
|
-
|
|
833
833
|
--------------------------------------------------------------------------------
|
|
834
834
|
Package: @angular/forms
|
|
835
835
|
License: "MIT"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-OSBNFJU6.js";import{g as l}from"./chunk-D2ESVYD4.js";import"./chunk-SGYCFQGT.js";import{a as g}from"./chunk-PIBJWRT7.js";import"./chunk-XTKNNUKG.js";import{g as a,l as r}from"./chunk-C4PHSWKL.js";import{Hb as s,ua as t}from"./chunk-6YS6KKWU.js";var v=(()=>{class o{dialog=t(l);auth=t(r);appService=t(g);appSettingsService=t(a);connectionConfig=null;ngOnInit(){this.connectionConfig=this.appSettingsService.getConnectionConfig(),this.openUserCredentialModal("Sign in failed: Incorrect user/password. Enter valide credentials or access the Confifuration/Settings menu, validate the server URL or/and disable the user Sign in option")}openUserCredentialModal(e){this.dialog.open(c,{disableClose:!0,data:{user:this.connectionConfig.loginName,password:this.connectionConfig.loginPassword,error:e}}).afterClosed().subscribe(i=>{i===void 0||!i||(this.connectionConfig.loginName=i.user,this.connectionConfig.loginPassword=i.password,this.appSettingsService.setConnectionConfig(this.connectionConfig),this.serverLogin())})}serverLogin(e){this.auth.login({usr:this.connectionConfig.loginName,pwd:this.connectionConfig.loginPassword,newUrl:e}).then(n=>{this.appSettingsService.reloadApp()}).catch(n=>{n.status==401?(this.openUserCredentialModal("Sign in failed: Invalide user/password. Enter valide credentials"),console.log("[Setting-SignalK Component] Sign in failed: "+n.error.message)):n.status==404?(this.appService.sendSnackbarNotification("Sign in failed: Login API not found at URL. See connection detail status in Configuration/Settings",5e3,!1),console.log("[Setting-SignalK Component] Sign in failed: "+n.error.message)):n.status==0?(this.appService.sendSnackbarNotification("Sign in failed: Cannot reach server at Signal K URL. See connection detail status in Configuration/Settings",5e3,!1),console.log("[Setting-SignalK Component] Sign in failed: Cannot reach server at Signal K URL:"+n.message)):(this.appService.sendSnackbarNotification("Unknown authentication failure: "+JSON.stringify(n),5e3,!1),console.log("[Setting-SignalK Component] Unknown login error response: "+JSON.stringify(n)))})}static \u0275fac=function(n){return new(n||o)};static \u0275cmp=s({type:o,selectors:[["app-widget-login"]],decls:0,vars:0,template:function(n,i){},encapsulation:2})}return o})();export{v as WidgetLoginComponent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Et}from"./chunk-
|
|
1
|
+
import{g as Et}from"./chunk-BOGRJVHC.js";import{$a as bt,Bb as W,Be as Ht,Cc as Rt,Da as dt,Dc as St,Dd as It,Ea as Y,Fa as X,Ga as mt,H as ot,Hb as N,Hd as Pt,Ib as Ie,Id as At,J as L,Jb as Ee,K as at,Ka as Re,Md as Ot,Me as qt,Nb as Pe,Nc as De,Oa as E,Oe as Ut,Pa as Se,Q as lt,Qc as Le,R as ct,Rc as $e,Re as fe,Sd as Ne,Ta as z,U as ut,Ud as Dt,Ue as Vt,Wa as ft,Wb as yt,Wc as ie,Xb as K,Yb as Ae,_a as gt,_b as J,_c as se,a as f,ac as wt,b as T,cc as vt,ce as Lt,da as ht,de as $t,eb as kt,ed as ze,f as rt,fa as $,fe as zt,g as he,ga as G,ha as pe,hc as P,ic as B,jc as Oe,je as Nt,ke as Be,m as C,nc as Mt,oa as pt,pa as Te,pb as _t,pc as F,qc as j,qe as Bt,ra as w,rc as ee,re as Ft,sc as H,t as Z,ta as I,td as Ct,te as jt,ua as g,ub as Q,uc as me,vc as Tt,wb as Ce,wc as te,xc as ne,yb as xt,z as Me,zb as de,zd as A,ze as Fe}from"./chunk-6YS6KKWU.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,`
|