@skaldapp/runtime 2.1.15 → 3.0.1
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/.vite/manifest.json +1 -1
- package/dist/assets/{ajv-6LTVMkJm.js → ajv-CCSUDSPF.js} +4 -4
- package/dist/assets/index-BVC3NhMD.js +1 -0
- package/dist/assets/index-CVgv0UIC.js +13 -0
- package/dist/assets/index-Dj5fPfJC.css +1 -0
- package/dist/assets/{markdown-_SAtLVYN.js → markdown-CbRm-X1a.js} +1 -1
- package/dist/assets/{unocss-wbhtH-LB.js → unocss-CKN2tBWS.js} +2 -3
- package/dist/index.html +7 -7
- package/package.json +5 -6
- package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/assets/index-CZLKtUYQ.css +0 -1
- package/dist/assets/index-E6kLr8kt.js +0 -22
- /package/dist/assets/{loader-sfc.esm-browser.prod-2.4.11.js → loader-sfc.esm-browser.prod-2.4.12.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import"https://cdn.jsdelivr.net/npm/katex/dist/katex-swap.min.css";pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#f3f3f3;color:#444}.hljs-comment{color:#697070}.hljs-tag,.hljs-punctuation{color:#444a}.hljs-tag .hljs-name,.hljs-tag .hljs-attr{color:#444}.hljs-keyword,.hljs-attribute,.hljs-selector-tag,.hljs-meta .hljs-keyword,.hljs-doctag,.hljs-name{font-weight:700}.hljs-type,.hljs-string,.hljs-number,.hljs-selector-id,.hljs-selector-class,.hljs-quote,.hljs-template-tag,.hljs-deletion{color:#800}.hljs-title,.hljs-section{color:#800;font-weight:700}.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr,.hljs-operator,.hljs-selector-pseudo{color:#ab5656}.hljs-literal{color:#695}.hljs-built_in,.hljs-bullet,.hljs-code,.hljs-addition{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}[un-cloak]{display:none}img.emoji{height:1em;width:1em;margin:0 .05em 0 .1em;vertical-align:-.1em;display:inline-block}:root,:host{--spacing: .25rem;--text-9xl-fontSize: 8rem;--text-9xl-lineHeight: 1;--font-sans: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family: var(--font-sans);--default-monoFont-family: var(--font-mono)}*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );font-feature-settings:var(--default-font-featureSettings, normal);font-variation-settings:var(--default-font-variationSettings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var( --default-monoFont-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );font-feature-settings:var(--default-monoFont-featureSettings, normal);font-variation-settings:var(--default-monoFont-variationSettings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden~=until-found])){display:none!important}.text-9xl{font-size:var(--text-9xl-fontSize);line-height:var(--un-leading, var(--text-9xl-lineHeight))}.text-center{text-align:center}.grid{display:grid}.inset-0{inset:calc(var(--spacing) * 0)}.place-items-center{place-items:center}.absolute{position:absolute}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as getAugmentedNamespace,b as bufferExports,a as getDefaultExportFromCjs}from"./ajv-
|
|
1
|
+
import{g as getAugmentedNamespace,b as bufferExports,a as getDefaultExportFromCjs}from"./ajv-CCSUDSPF.js";import{r as renderToString,P as ParseError}from"./katex-UTpUfKgT.js";const attr_name$1="[a-zA-Z_:@][a-zA-Z0-9:._-]*",attribute$1="(?:\\s+"+attr_name$1+`(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)`,open_tag$1="<[A-Za-z][A-Za-z0-9\\-]*"+attribute$1+"*\\s*\\/?>",HTML_TAG_RE$1=new RegExp("^(?:"+open_tag$1+"|<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>|<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),HTML_OPEN_CLOSE_TAG_RE$1=new RegExp("^(?:"+open_tag$1+"|<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>)"),HTML_SELF_CLOSING_TAG_RE=new RegExp("^<[A-Za-z][A-Za-z0-9\\-]*"+attribute$1+"*\\s*\\/>"),HTML_OPEN_AND_CLOSE_TAG_IN_THE_SAME_LINE_RE=new RegExp("^<([A-Za-z][A-Za-z0-9\\-]*)"+attribute$1+"*\\s*>.*<\\/\\1\\s*>"),TAGS_BLOCK=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],TAGS_INLINE=["a","abbr","acronym","audio","b","bdi","bdo","big","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","label","map","mark","meter","noscript","object","output","picture","progress","q","ruby","s","samp","script","select","slot","small","span","strong","sub","sup","svg","template","textarea","time","u","tt","var","video","wbr"],TAGS_VUE_RESERVED=["template","component","transition","transition-group","keep-alive","slot","teleport"],createHtmlSequences=({blockTags:e,inlineTags:r})=>{const n=[...e,...TAGS_BLOCK],t=[...r,...TAGS_INLINE.filter(c=>!TAGS_VUE_RESERVED.includes(c))];return[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+n.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp("^</?(?!("+t.join("|")+")(?![\\w-]))[A-Za-z][A-Za-z0-9\\-]*(?=(\\s|/?>|$))"),/^$/,!0],[new RegExp(HTML_OPEN_CLOSE_TAG_RE$1.source+"\\s*$"),/^$/,!1]]},createHtmlBlockRule=e=>{const r=createHtmlSequences(e);return(n,t,o,c)=>{let h,F,V,Q=n.bMarks[t]+n.tShift[t],X=n.eMarks[t];if(n.sCount[t]-n.blkIndent>=4||!n.md.options.html||n.src.charCodeAt(Q)!==60)return!1;for(V=n.src.slice(Q,X),h=0;h<r.length&&!r[h][0].test(V);h++);if(h===r.length)return!1;if(c)return r[h][2];if(h===6){const re=V.match(HTML_SELF_CLOSING_TAG_RE)??V.match(HTML_OPEN_AND_CLOSE_TAG_IN_THE_SAME_LINE_RE);if(re){n.line=t+1;let te=n.push("html_inline","",0);return te.content=re[0],te.map=[t,n.line],te=n.push("inline","",0),te.content=V.slice(re[0].length),te.map=[t,n.line],te.children=[],!0}}if(F=t+1,!r[h][1].test(V)){for(;F<o&&!(n.sCount[F]<n.blkIndent);F++)if(Q=n.bMarks[F]+n.tShift[F],X=n.eMarks[F],V=n.src.slice(Q,X),r[h][1].test(V)){V.length!==0&&F++;break}}n.line=F;const ee=n.push("html_block","",0);return ee.map=[t,F],ee.content=n.getLines(t,F,n.blkIndent,!0),!0}},isLetter$1=e=>{const r=e|32;return r>=97&&r<=122},htmlInlineRule=(e,r)=>{const{pos:n}=e;if(!e.md.options.html)return!1;const t=e.posMax;if(e.src.charCodeAt(n)!==60||n+2>=t)return!1;const o=e.src.charCodeAt(n+1);if(o!==33&&o!==63&&o!==47&&!isLetter$1(o))return!1;const c=e.src.slice(n).match(HTML_TAG_RE$1);if(!c)return!1;if(!r){const h=e.push("html_inline","",0);h.content=e.src.slice(n,n+c[0].length)}return e.pos+=c[0].length,!0},componentPlugin=(e,{blockTags:r=[],inlineTags:n=[]}={})=>{const t=createHtmlBlockRule({blockTags:r,inlineTags:n});e.block.ruler.at("html_block",t,{alt:["paragraph","reference","blockquote"]}),e.inline.ruler.at("html_inline",htmlInlineRule)},__viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(__viteBrowserExternal$1);var kindOf,hasRequiredKindOf;function requireKindOf(){if(hasRequiredKindOf)return kindOf;hasRequiredKindOf=1;var e=Object.prototype.toString;kindOf=function(ee){if(ee===void 0)return"undefined";if(ee===null)return"null";var re=typeof ee;if(re==="boolean")return"boolean";if(re==="string")return"string";if(re==="number")return"number";if(re==="symbol")return"symbol";if(re==="function")return h(ee)?"generatorfunction":"function";if(n(ee))return"array";if(Q(ee))return"buffer";if(V(ee))return"arguments";if(o(ee))return"date";if(t(ee))return"error";if(c(ee))return"regexp";switch(r(ee)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(F(ee))return"generator";switch(re=e.call(ee),re){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return re.slice(8,-1).toLowerCase().replace(/\s/g,"")};function r(X){return typeof X.constructor=="function"?X.constructor.name:null}function n(X){return Array.isArray?Array.isArray(X):X instanceof Array}function t(X){return X instanceof Error||typeof X.message=="string"&&X.constructor&&typeof X.constructor.stackTraceLimit=="number"}function o(X){return X instanceof Date?!0:typeof X.toDateString=="function"&&typeof X.getDate=="function"&&typeof X.setDate=="function"}function c(X){return X instanceof RegExp?!0:typeof X.flags=="string"&&typeof X.ignoreCase=="boolean"&&typeof X.multiline=="boolean"&&typeof X.global=="boolean"}function h(X,ee){return r(X)==="GeneratorFunction"}function F(X){return typeof X.throw=="function"&&typeof X.return=="function"&&typeof X.next=="function"}function V(X){try{if(typeof X.length=="number"&&typeof X.callee=="function")return!0}catch(ee){if(ee.message.indexOf("callee")!==-1)return!0}return!1}function Q(X){return X.constructor&&typeof X.constructor.isBuffer=="function"?X.constructor.isBuffer(X):!1}return kindOf}var isExtendable,hasRequiredIsExtendable;function requireIsExtendable(){return hasRequiredIsExtendable||(hasRequiredIsExtendable=1,isExtendable=function(r){return typeof r<"u"&&r!==null&&(typeof r=="object"||typeof r=="function")}),isExtendable}var extendShallow,hasRequiredExtendShallow;function requireExtendShallow(){if(hasRequiredExtendShallow)return extendShallow;hasRequiredExtendShallow=1;var e=requireIsExtendable();extendShallow=function(o){e(o)||(o={});for(var c=arguments.length,h=1;h<c;h++){var F=arguments[h];e(F)&&r(o,F)}return o};function r(t,o){for(var c in o)n(o,c)&&(t[c]=o[c])}function n(t,o){return Object.prototype.hasOwnProperty.call(t,o)}return extendShallow}var sectionMatter,hasRequiredSectionMatter;function requireSectionMatter(){if(hasRequiredSectionMatter)return sectionMatter;hasRequiredSectionMatter=1;var e=requireKindOf(),r=requireExtendShallow();sectionMatter=function(V,Q){typeof Q=="function"&&(Q={parse:Q});var X=t(V),ee={section_delimiter:"---",parse:h},re=r({},ee,Q),te=re.section_delimiter,ne=X.content.split(/\r?\n/),ce=null,le=c(),be=[],xe=[];function me(qe){X.content=qe,ce=[],be=[]}function ye(qe){xe.length&&(le.key=o(xe[0],te),le.content=qe,re.parse(le,ce),ce.push(le),le=c(),be=[],xe=[])}for(var ge=0;ge<ne.length;ge++){var Ee=ne[ge],ve=xe.length,we=Ee.trim();if(n(we,te)){if(we.length===3&&ge!==0){if(ve===0||ve===2){be.push(Ee);continue}xe.push(we),le.data=be.join(`
|
|
2
2
|
`),be=[];continue}ce===null&&me(be.join(`
|
|
3
3
|
`)),ve===2&&ye(be.join(`
|
|
4
4
|
`)),xe.push(we);continue}be.push(Ee)}return ce===null?me(be.join(`
|