@zeniai/web-components 4.4.70 → 4.4.71-beta0AN
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/Editor-CbBxvSmp.js +919 -0
- package/dist/{SessionTimeoutPopup-BKNhya21.js → SessionTimeoutPopup-BMerO3g4.js} +112074 -113753
- package/dist/TaskDescriptionEditor-DyTyMxvk.js +700 -0
- package/dist/apple-wallet-DMr790ZM.js +19 -0
- package/dist/bank-verification-HpVi21UA.js +5 -0
- package/dist/cockpit.esm.js +1198 -1199
- package/dist/components/common/lazyLottie.d.ts +8 -0
- package/dist/components/common/lazyReactPdf.d.ts +13 -0
- package/dist/components/common/lazySvg.d.ts +17 -0
- package/dist/components/formElements/autoCompleteSingleSelectField/AutoCompleteSingleSelectField.d.ts +3 -1
- package/dist/components/formElements/singleSelectPickerField/SingleSelectPickerField.d.ts +2 -0
- package/dist/components/invoicing/createInvoice/InvoicingCreateInvoicePage.d.ts +3 -1
- package/dist/components/invoicing/subscriptionForm/InvoicingSubscriptionFormPage.d.ts +3 -1
- package/dist/components/invoicing/subscriptionForm/subscriptionForm.shared.d.ts +4 -0
- package/dist/components/settingsPage/Integrations/components/integrationLogos.d.ts +2874 -12
- package/dist/index.esm.js +139 -139
- package/dist/mcdonalds-logo-BTFuGR4i.js +5 -0
- package/dist/mercury-logo-Xd1WsXHh.js +5 -0
- package/dist/mercury-logo-dark-WebeUx9w.js +5 -0
- package/dist/more-providers-avatars-Dt7HPmCt.js +5 -0
- package/dist/netsuite-logo-Dp53a_wk.js +5 -0
- package/dist/netsuite-logo-dark-C53BYo7C.js +5 -0
- package/dist/paypal-logo-RhbjaD58.js +5 -0
- package/dist/paypal-logo-dark-_jTZA_FH.js +5 -0
- package/dist/phone-otp-DI7iHM2C.js +7 -0
- package/dist/subway-logo-B-Kc0fke.js +5 -0
- package/dist/underline-BNKkE4Fr.js +223 -0
- package/dist/vendor-@stripe-stripe-js-BmvP0myE.js +108 -0
- package/dist/vendor-react-lottie-player-Qhg4gMF8.js +174 -0
- package/dist/zeni-card-trust-BpxZYDve.js +5 -0
- package/dist/zeni-thanksgiving-logo-full-BLmLHEXd.js +5 -0
- package/package.json +6 -8
- package/dist/SessionTimeoutPopup-D12fxo7a.cjs +0 -92815
- package/dist/assets/illustrative/ai-cfo.svg +0 -13
- package/dist/assets/illustrative/rewardsEmailTemplate/business-banking-icon.svg +0 -21
- package/dist/assets/illustrative/rewardsEmailTemplate/cards-icon.svg +0 -11
- package/dist/assets/interface/ai-icon-color-selected-filled-small.svg +0 -27
- package/dist/assets/interface/ai-icon-color-selected-small.svg +0 -20
- package/dist/assets/interface/ai-icon-selected-filled-plain.svg +0 -5
- package/dist/assets/interface/arrow-2-left.svg +0 -4
- package/dist/assets/interface/autofill-3.svg +0 -3
- package/dist/assets/interface/graph-trend.svg +0 -11
- package/dist/assets/interface/growth-round.svg +0 -5
- package/dist/assets/interface/saving-money-egg.svg +0 -15
- package/dist/assets/interface/treasury-thumbnail.png +0 -0
- package/dist/assets/logos/gmail-logo.svg +0 -20
- package/dist/assets/logos/microsoft365-logo.svg +0 -25
- package/dist/assets/oldicons/promoPages/usp-line.svg +0 -3
- package/dist/cockpit.cjs.js +0 -5805
- package/dist/index.cjs.js +0 -1
- package/dist/vendor-@babel-runtime-_D8QudKm.cjs +0 -4
- package/dist/vendor-@floating-ui-core-Dyvby5gX.cjs +0 -1
- package/dist/vendor-@floating-ui-dom-CexqkosJ.cjs +0 -1
- package/dist/vendor-@floating-ui-utils-sUr78tUz.cjs +0 -1
- package/dist/vendor-@popperjs-core-Da5z8R8_.cjs +0 -1
- package/dist/vendor-@react-oauth-google-RY6l5Pdi.cjs +0 -1
- package/dist/vendor-@statsig-client-core-CcuuGlfw.cjs +0 -1
- package/dist/vendor-@statsig-js-client-C6n1oYZG.cjs +0 -1
- package/dist/vendor-@statsig-react-bindings-DVuaLZfm.cjs +0 -1
- package/dist/vendor-@ungap-structured-clone-BSqP9FP7.cjs +0 -1
- package/dist/vendor-@zeniai-client-epic-state-DWdyw6ma.cjs +0 -1
- package/dist/vendor-autosuggest-highlight-BrLUL75m.cjs +0 -1
- package/dist/vendor-bail-CPU4onRe.cjs +0 -1
- package/dist/vendor-big.js-BfsYTtpv.cjs +0 -1
- package/dist/vendor-browser-image-compression-BZPRtRQ2.cjs +0 -20
- package/dist/vendor-ccount-B3JMtXU-.cjs +0 -1
- package/dist/vendor-clsx-CAED27AB.cjs +0 -1
- package/dist/vendor-color-BlJDv7Qx.cjs +0 -1
- package/dist/vendor-color-convert-DNxf_t0v.cjs +0 -1
- package/dist/vendor-color-name-DMfyNIC_.cjs +0 -1
- package/dist/vendor-color-string-DlngRZWO.cjs +0 -1
- package/dist/vendor-comma-separated-tokens-CM2uar_0.cjs +0 -1
- package/dist/vendor-countries-list-DdDJCIea.cjs +0 -1
- package/dist/vendor-country-flag-icons-CaT9dyG0.cjs +0 -1
- package/dist/vendor-cross-fetch-BcrCP3uC.cjs +0 -2
- package/dist/vendor-decode-named-character-reference-CpsLJx05.cjs +0 -1
- package/dist/vendor-devlop-IYc_KfOj.cjs +0 -1
- package/dist/vendor-escape-string-regexp-CXe2COqk.cjs +0 -1
- package/dist/vendor-estree-util-is-identifier-name-DqXb06tQ.cjs +0 -1
- package/dist/vendor-extend-Xv02IcfV.cjs +0 -1
- package/dist/vendor-fast-deep-equal-xp5wgv1k.cjs +0 -1
- package/dist/vendor-hast-util-to-jsx-runtime-Cn0tASh-.cjs +0 -1
- package/dist/vendor-hast-util-whitespace-B7YrIln0.cjs +0 -1
- package/dist/vendor-html-url-attributes-B55Ir3vo.cjs +0 -1
- package/dist/vendor-inline-style-parser-BwLpyraz.cjs +0 -2
- package/dist/vendor-input-format-B4RKCxE4.cjs +0 -3
- package/dist/vendor-is-arrayish-DfXUb1DJ.cjs +0 -1
- package/dist/vendor-is-plain-obj-DH-Kh8FX.cjs +0 -1
- package/dist/vendor-js-file-download-Cbb6agEb.cjs +0 -1
- package/dist/vendor-libphonenumber-js-DkZ7WT-u.cjs +0 -13
- package/dist/vendor-lodash-CNz95YDD.cjs +0 -1
- package/dist/vendor-lodash.debounce-C9YP0rOk.cjs +0 -1
- package/dist/vendor-longest-streak-CpfJ7Pkv.cjs +0 -1
- package/dist/vendor-lottie-web-Cnpvoe-Q.cjs +0 -2
- package/dist/vendor-markdown-table-BIbVC1pY.cjs +0 -2
- package/dist/vendor-mdast-util-find-and-replace-BqOMYvvg.cjs +0 -1
- package/dist/vendor-mdast-util-from-markdown-DmcqmoHq.cjs +0 -1
- package/dist/vendor-mdast-util-gfm-DYVYZtQo.cjs +0 -1
- package/dist/vendor-mdast-util-gfm-autolink-literal-B7Jk_6Zc.cjs +0 -1
- package/dist/vendor-mdast-util-gfm-footnote-BqZr5GmF.cjs +0 -2
- package/dist/vendor-mdast-util-gfm-strikethrough-DkmBmVZz.cjs +0 -1
- package/dist/vendor-mdast-util-gfm-table-GRkZEL2K.cjs +0 -3
- package/dist/vendor-mdast-util-gfm-task-list-item-COkL7umh.cjs +0 -1
- package/dist/vendor-mdast-util-phrasing-B3pE6Gyd.cjs +0 -1
- package/dist/vendor-mdast-util-to-hast-DZGTy4jY.cjs +0 -11
- package/dist/vendor-mdast-util-to-markdown-CFDJSkr8.cjs +0 -12
- package/dist/vendor-mdast-util-to-string-epeputJu.cjs +0 -1
- package/dist/vendor-memoize-one-DetCWhre.cjs +0 -1
- package/dist/vendor-micromark-QT1lJ_9G.cjs +0 -3
- package/dist/vendor-micromark-core-commonmark-CHMYvCou.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-DOHEv_Ow.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-autolink-literal-BIi53Rt2.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-footnote-CuTbB2_e.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-strikethrough-CcuQ-v4I.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-table-CoYdjDBk.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-tagfilter-Dyvby5gX.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-task-list-item-eGtf7dwN.cjs +0 -1
- package/dist/vendor-micromark-factory-destination-DODxvNwQ.cjs +0 -1
- package/dist/vendor-micromark-factory-label-DRCYHbTp.cjs +0 -1
- package/dist/vendor-micromark-factory-space-BxE8R4nI.cjs +0 -1
- package/dist/vendor-micromark-factory-title-HTScd-95.cjs +0 -1
- package/dist/vendor-micromark-factory-whitespace-Cfovfawt.cjs +0 -1
- package/dist/vendor-micromark-util-character-ThpXZ0p5.cjs +0 -1
- package/dist/vendor-micromark-util-chunked-CCaF1jRh.cjs +0 -1
- package/dist/vendor-micromark-util-classify-character-BXzv_u9-.cjs +0 -1
- package/dist/vendor-micromark-util-combine-extensions-ymdtWEAr.cjs +0 -1
- package/dist/vendor-micromark-util-decode-numeric-character-reference-sKQehvtv.cjs +0 -1
- package/dist/vendor-micromark-util-decode-string-Coo2FPbM.cjs +0 -1
- package/dist/vendor-micromark-util-encode-Dyvby5gX.cjs +0 -1
- package/dist/vendor-micromark-util-html-tag-name-BqwwRvi2.cjs +0 -1
- package/dist/vendor-micromark-util-normalize-identifier-CZzRW9lF.cjs +0 -1
- package/dist/vendor-micromark-util-resolve-all-B1vkj8Lj.cjs +0 -1
- package/dist/vendor-micromark-util-sanitize-uri-fWsohj9C.cjs +0 -1
- package/dist/vendor-micromark-util-subtokenize-B5hanNMp.cjs +0 -1
- package/dist/vendor-object-assign-5rXDT7QN.cjs +0 -1
- package/dist/vendor-prop-types-D7ILSZ36.cjs +0 -2
- package/dist/vendor-property-information-B58jd_xz.cjs +0 -1
- package/dist/vendor-react-CzqSQR9J.cjs +0 -14
- package/dist/vendor-react-circular-progressbar-BnDuoTgW.cjs +0 -6
- package/dist/vendor-react-datepicker-GIiaQhgI.cjs +0 -2
- package/dist/vendor-react-draggable-rHHMjzs1.cjs +0 -3
- package/dist/vendor-react-error-boundary-DUjnAjoQ.cjs +0 -1
- package/dist/vendor-react-fast-compare-DjJCSAPj.cjs +0 -1
- package/dist/vendor-react-google-autocomplete-Du5iErAd.cjs +0 -2
- package/dist/vendor-react-hook-form-DowHtP8_.cjs +0 -1
- package/dist/vendor-react-is-DK4cIQ7j.cjs +0 -1
- package/dist/vendor-react-lottie-player-Cwb-Xhoz.cjs +0 -1
- package/dist/vendor-react-lottie-player-DcNoEdGF.js +0 -155
- package/dist/vendor-react-markdown-sVAdj9xV.cjs +0 -1
- package/dist/vendor-react-merge-refs-Daoz85kW.cjs +0 -1
- package/dist/vendor-react-number-format-QGmN0d2v.cjs +0 -7
- package/dist/vendor-react-onclickoutside-CjoT6SX4.cjs +0 -1
- package/dist/vendor-react-phone-number-input-BBnFN-wD.cjs +0 -4
- package/dist/vendor-react-popper-DEi6sOBD.cjs +0 -1
- package/dist/vendor-react-select-DufBhudz.cjs +0 -4
- package/dist/vendor-react-virtualized-auto-sizer-DS8s5Nqf.cjs +0 -1
- package/dist/vendor-react-vtree-CtDSz2Mv.cjs +0 -1
- package/dist/vendor-react-webcam-CPpkXthK.cjs +0 -1
- package/dist/vendor-react-window-CuU_qzaW.cjs +0 -1
- package/dist/vendor-react-window-infinite-loader-CdyCIjx6.cjs +0 -1
- package/dist/vendor-remark-gfm-Bou12kJi.cjs +0 -1
- package/dist/vendor-remark-parse-BYKtvo5n.cjs +0 -1
- package/dist/vendor-remark-rehype-CuqXXG-2.cjs +0 -1
- package/dist/vendor-rfdc-sZ2eP5eF.cjs +0 -1
- package/dist/vendor-simple-swizzle-BNELyqz6.cjs +0 -1
- package/dist/vendor-space-separated-tokens-0etuzMC1.cjs +0 -1
- package/dist/vendor-style-to-js-CUjGi3ge.cjs +0 -1
- package/dist/vendor-style-to-object--fzklQoy.cjs +0 -1
- package/dist/vendor-trim-lines-BO73c4j-.cjs +0 -1
- package/dist/vendor-trough-CZIkZM5d.cjs +0 -1
- package/dist/vendor-unified-hdBFtaBE.cjs +0 -1
- package/dist/vendor-unist-util-is-C5fG5pIe.cjs +0 -1
- package/dist/vendor-unist-util-position-DsgljCtl.cjs +0 -1
- package/dist/vendor-unist-util-stringify-position-DfmUoPWR.cjs +0 -1
- package/dist/vendor-unist-util-visit-Cyg51Aas.cjs +0 -1
- package/dist/vendor-unist-util-visit-parents-BFfGpcYZ.cjs +0 -1
- package/dist/vendor-us-bank-account-validator-DOz5Vc9n.cjs +0 -1
- package/dist/vendor-use-isomorphic-layout-effect-CkGv31zs.cjs +0 -1
- package/dist/vendor-use-resize-observer-FgrE0mfc.cjs +0 -1
- package/dist/vendor-utils-CN5UYrS0.cjs +0 -1
- package/dist/vendor-vfile-DagMcMZP.cjs +0 -1
- package/dist/vendor-vfile-message-DB4fwBOw.cjs +0 -1
- package/dist/vendor-warning-FOT2NNRo.cjs +0 -1
- package/dist/vendor-zwitch-Dyvby5gX.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const Be=require("./vendor-micromark-util-decode-numeric-character-reference-sKQehvtv.cjs"),Ce=require("./vendor-micromark-util-decode-string-Coo2FPbM.cjs"),T=require("./vendor-micromark-util-normalize-identifier-CZzRW9lF.cjs"),Pe=require("./vendor-decode-named-character-reference-CpsLJx05.cjs"),E=require("./vendor-micromark-QT1lJ_9G.cjs"),I=require("./vendor-unist-util-stringify-position-DfmUoPWR.cjs"),ze=require("./vendor-mdast-util-to-string-epeputJu.cjs"),O={}.hasOwnProperty;function Me(o,r,l){return r&&typeof r=="object"&&(l=r,r=void 0),He(l)(E.postprocess(E.parse(l).document().write(E.preprocess()(o,r,!0))))}function He(o){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(L),autolinkProtocol:p,autolinkEmail:p,atxHeading:s(z),blockQuote:s(xe),characterEscape:p,characterReference:p,codeFenced:s(P),codeFencedFenceInfo:h,codeFencedFenceMeta:h,codeIndented:s(P,h),codeText:s(ye,h),codeTextData:p,data:p,codeFlowValue:p,definition:s(Se),definitionDestinationString:h,definitionLabelString:h,definitionTitleString:h,emphasis:s(be),hardBreakEscape:s(M),hardBreakTrailing:s(M),htmlFlow:s(H,h),htmlFlowData:p,htmlText:s(H,h),htmlTextData:p,image:s(we),label:h,link:s(L),listItem:s(Ie),listItemValue:j,listOrdered:s(D,Q),listUnordered:s(D),paragraph:s(Te),reference:ue,referenceString:h,resourceDestinationString:h,resourceTitleString:h,setextHeading:s(z),strong:s(Ee),thematicBreak:s(Re)},exit:{atxHeading:c(),atxHeadingSequence:X,autolink:c(),autolinkEmail:me,autolinkProtocol:ge,blockQuote:c(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:C,characterReferenceMarkerNumeric:C,characterReferenceValue:pe,characterReference:ke,codeFenced:c(W),codeFencedFence:A,codeFencedFenceInfo:_,codeFencedFenceMeta:v,codeFlowValue:k,codeIndented:c($),codeText:c(re),codeTextData:k,data:k,definition:c(),definitionDestinationString:K,definitionLabelString:G,definitionTitleString:J,emphasis:c(),hardBreakEscape:c(B),hardBreakTrailing:c(B),htmlFlow:c(ne),htmlFlowData:k,htmlText:c(ie),htmlTextData:k,image:c(se),label:oe,labelText:ce,lineEnding:te,link:c(ae),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:fe,resourceDestinationString:le,resourceTitleString:de,resource:he,setextHeading:c(ee),setextHeadingLineSequence:Z,setextHeadingText:Y,strong:c(),thematicBreak:c()}};U(r,(o||{}).mdastExtensions||[]);const l={};return d;function d(e){let t={type:"root",children:[]};const n={stack:[t],tokenStack:[],config:r,enter:F,exit:R,buffer:h,resume:N,data:l},i=[];let a=-1;for(;++a<e.length;)if(e[a][1].type==="listOrdered"||e[a][1].type==="listUnordered")if(e[a][0]==="enter")i.push(a);else{const f=i.pop();a=V(e,f,a)}for(a=-1;++a<e.length;){const f=r[e[a][0]];O.call(f,e[a][1].type)&&f[e[a][1].type].call(Object.assign({sliceSerialize:e[a][2].sliceSerialize},n),e[a][1])}if(n.tokenStack.length>0){const f=n.tokenStack[n.tokenStack.length-1];(f[1]||q).call(n,void 0,f[0])}for(t.position={start:x(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:x(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},a=-1;++a<r.transforms.length;)t=r.transforms[a](t)||t;return t}function V(e,t,n){let i=t-1,a=-1,f=!1,y,g,b,w;for(;++i<=n;){const u=e[i];switch(u[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{u[0]==="enter"?a++:a--,w=void 0;break}case"lineEndingBlank":{u[0]==="enter"&&(y&&!w&&!a&&!b&&(b=i),w=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:w=void 0}if(!a&&u[0]==="enter"&&u[1].type==="listItemPrefix"||a===-1&&u[0]==="exit"&&(u[1].type==="listUnordered"||u[1].type==="listOrdered")){if(y){let S=i;for(g=void 0;S--;){const m=e[S];if(m[1].type==="lineEnding"||m[1].type==="lineEndingBlank"){if(m[0]==="exit")continue;g&&(e[g][1].type="lineEndingBlank",f=!0),m[1].type="lineEnding",g=S}else if(!(m[1].type==="linePrefix"||m[1].type==="blockQuotePrefix"||m[1].type==="blockQuotePrefixWhitespace"||m[1].type==="blockQuoteMarker"||m[1].type==="listItemIndent"))break}b&&(!g||b<g)&&(y._spread=!0),y.end=Object.assign({},g?e[g][1].start:u[1].end),e.splice(g||i,0,["exit",y,u[2]]),i++,n++}if(u[1].type==="listItemPrefix"){const S={type:"listItem",_spread:!1,start:Object.assign({},u[1].start),end:void 0};y=S,e.splice(i,0,["enter",S,u[2]]),i++,n++,b=void 0,w=!0}}}return e[t][1]._spread=f,n}function s(e,t){return n;function n(i){F.call(this,e(i),i),t&&t.call(this,i)}}function h(){this.stack.push({type:"fragment",children:[]})}function F(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:x(t.start),end:void 0}}function c(e){return t;function t(n){e&&e.call(this,n),R.call(this,n)}}function R(e,t){const n=this.stack.pop(),i=this.tokenStack.pop();if(i)i[0].type!==e.type&&(t?t.call(this,e,i[0]):(i[1]||q).call(this,e,i[0]));else throw new Error("Cannot close `"+e.type+"` ("+I.stringifyPosition({start:e.start,end:e.end})+"): it’s not open");n.position.end=x(e.end)}function N(){return ze.toString(this.stack.pop())}function Q(){this.data.expectingFirstListItemValue=!0}function j(e){if(this.data.expectingFirstListItemValue){const t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function _(){const e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function v(){const e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function A(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function W(){const e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function $(){const e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}function G(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=T.normalizeIdentifier(this.sliceSerialize(e)).toLowerCase()}function J(){const e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function K(){const e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function X(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function Y(){this.data.setextHeadingSlurpLineEnding=!0}function Z(e){const t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function p(e){const n=this.stack[this.stack.length-1].children;let i=n[n.length-1];(!i||i.type!=="text")&&(i=Fe(),i.position={start:x(e.start),end:void 0},n.push(i)),this.stack.push(i)}function k(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=x(e.end)}function te(e){const t=this.stack[this.stack.length-1];if(this.data.atHardBreak){const n=t.children[t.children.length-1];n.position.end=x(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(t.type)&&(p.call(this,e),k.call(this,e))}function B(){this.data.atHardBreak=!0}function ne(){const e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ie(){const e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function re(){const e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ae(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function se(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function ce(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Ce.decodeString(t),n.identifier=T.normalizeIdentifier(t).toLowerCase()}function oe(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,n.type==="link"){const i=e.children;n.children=i}else n.alt=t}function le(){const e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function de(){const e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function he(){this.data.inReference=void 0}function ue(){this.data.referenceType="collapsed"}function fe(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=T.normalizeIdentifier(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function C(e){this.data.characterReferenceType=e.type}function pe(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let i;n?(i=Be.decodeNumericCharacterReference(t,n==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):i=Pe.decodeNamedCharacterReference(t);const a=this.stack[this.stack.length-1];a.value+=i}function ke(e){const t=this.stack.pop();t.position.end=x(e.end)}function ge(e){k.call(this,e);const t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function me(e){k.call(this,e);const t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)}function xe(){return{type:"blockquote",children:[]}}function P(){return{type:"code",lang:null,meta:null,value:""}}function ye(){return{type:"inlineCode",value:""}}function Se(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function be(){return{type:"emphasis",children:[]}}function z(){return{type:"heading",depth:0,children:[]}}function M(){return{type:"break"}}function H(){return{type:"html",value:""}}function we(){return{type:"image",title:null,url:"",alt:null}}function L(){return{type:"link",title:null,url:"",children:[]}}function D(e){return{type:"list",ordered:e.type==="listOrdered",start:null,spread:e._spread,children:[]}}function Ie(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function Te(){return{type:"paragraph",children:[]}}function Ee(){return{type:"strong",children:[]}}function Fe(){return{type:"text",value:""}}function Re(){return{type:"thematicBreak"}}}function x(o){return{line:o.line,column:o.column,offset:o.offset}}function U(o,r){let l=-1;for(;++l<r.length;){const d=r[l];Array.isArray(d)?U(o,d):Le(o,d)}}function Le(o,r){let l;for(l in r)if(O.call(r,l))switch(l){case"canContainEols":{const d=r[l];d&&o[l].push(...d);break}case"transforms":{const d=r[l];d&&o[l].push(...d);break}case"enter":case"exit":{const d=r[l];d&&Object.assign(o[l],d);break}}}function q(o,r){throw o?new Error("Cannot close `"+o.type+"` ("+I.stringifyPosition({start:o.start,end:o.end})+"): a different token (`"+r.type+"`, "+I.stringifyPosition({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+I.stringifyPosition({start:r.start,end:r.end})+") is still open")}exports.fromMarkdown=Me;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const r=require("./vendor-mdast-util-gfm-autolink-literal-B7Jk_6Zc.cjs"),t=require("./vendor-mdast-util-gfm-footnote-BqZr5GmF.cjs"),n=require("./vendor-mdast-util-gfm-strikethrough-DkmBmVZz.cjs"),e=require("./vendor-mdast-util-gfm-table-GRkZEL2K.cjs"),m=require("./vendor-mdast-util-gfm-task-list-item-COkL7umh.cjs");function a(){return[r.gfmAutolinkLiteralFromMarkdown(),t.gfmFootnoteFromMarkdown(),n.gfmStrikethroughFromMarkdown(),e.gfmTableFromMarkdown(),m.gfmTaskListItemFromMarkdown()]}function i(o){return{extensions:[r.gfmAutolinkLiteralToMarkdown(),t.gfmFootnoteToMarkdown(o),n.gfmStrikethroughToMarkdown(),e.gfmTableToMarkdown(o),m.gfmTaskListItemToMarkdown()]}}exports.gfmFromMarkdown=a;exports.gfmToMarkdown=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const f=require("./vendor-ccount-B3JMtXU-.cjs"),d=require("./vendor-devlop-IYc_KfOj.cjs"),k=require("./vendor-micromark-util-character-ThpXZ0p5.cjs"),p=require("./vendor-mdast-util-find-and-replace-BqOMYvvg.cjs"),a="phrasing",u=["autolink","link","image","label"];function g(){return{transforms:[y],enter:{literalAutolink:w,literalAutolinkEmail:c,literalAutolinkHttp:c,literalAutolinkWww:c},exit:{literalAutolink:v,literalAutolinkEmail:L,literalAutolinkHttp:x,literalAutolinkWww:m}}}function A(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:a,notInConstruct:u},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:a,notInConstruct:u},{character:":",before:"[ps]",after:"\\/",inConstruct:a,notInConstruct:u}]}}function w(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function c(t){this.config.enter.autolinkProtocol.call(this,t)}function x(t){this.config.exit.autolinkProtocol.call(this,t)}function m(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];d.ok(e.type==="link"),e.url="http://"+this.sliceSerialize(t)}function L(t){this.config.exit.autolinkEmail.call(this,t)}function v(t){this.exit(t)}function y(t){p.findAndReplace(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,P],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),C]],{ignore:["link","linkReference"]})}function P(t,e,n,i,o){let l="";if(!h(o)||(/^w/i.test(e)&&(n=e+n,e="",l="http://"),!E(n)))return!1;const r=M(n+i);if(!r[0])return!1;const s={type:"link",title:null,url:l+e+r[0],children:[{type:"text",value:e+r[0]}]};return r[1]?[s,{type:"text",value:r[1]}]:s}function C(t,e,n,i){return!h(i,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+n,children:[{type:"text",value:e+"@"+n}]}}function E(t){const e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function M(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let n=e[0],i=n.indexOf(")");const o=f.ccount(t,"(");let l=f.ccount(t,")");for(;i!==-1&&o>l;)t+=n.slice(0,i+1),n=n.slice(i+1),i=n.indexOf(")"),l++;return[t,n]}function h(t,e){const n=t.input.charCodeAt(t.index-1);return(t.index===0||k.unicodeWhitespace(n)||k.unicodePunctuation(n))&&(!e||n!==47)}exports.gfmAutolinkLiteralFromMarkdown=g;exports.gfmAutolinkLiteralToMarkdown=A;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("./vendor-devlop-IYc_KfOj.cjs"),s=require("./vendor-micromark-util-normalize-identifier-CZzRW9lF.cjs");u.peek=S;function F(){this.buffer()}function d(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function b(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function D(e){const n=this.resume(),t=this.stack[this.stack.length-1];a.ok(t.type==="footnoteReference"),t.identifier=s.normalizeIdentifier(this.sliceSerialize(e)).toLowerCase(),t.label=n}function v(e){this.exit(e)}function x(e){const n=this.resume(),t=this.stack[this.stack.length-1];a.ok(t.type==="footnoteDefinition"),t.identifier=s.normalizeIdentifier(this.sliceSerialize(e)).toLowerCase(),t.label=n}function C(e){this.exit(e)}function S(){return"["}function u(e,n,t,r){const l=t.createTracker(r);let o=l.move("[^");const c=t.enter("footnoteReference"),i=t.enter("reference");return o+=l.move(t.safe(t.associationId(e),{after:"]",before:o})),i(),c(),o+=l.move("]"),o}function p(){return{enter:{gfmFootnoteCallString:F,gfmFootnoteCall:d,gfmFootnoteDefinitionLabelString:k,gfmFootnoteDefinition:b},exit:{gfmFootnoteCallString:D,gfmFootnoteCall:v,gfmFootnoteDefinitionLabelString:x,gfmFootnoteDefinition:C}}}function L(e){let n=!1;return e&&e.firstLineBlank&&(n=!0),{handlers:{footnoteDefinition:t,footnoteReference:u},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function t(r,l,o,c){const i=o.createTracker(c);let f=i.move("[^");const g=o.enter("footnoteDefinition"),h=o.enter("label");return f+=i.move(o.safe(o.associationId(r),{before:f,after:"]"})),h(),f+=i.move("]:"),r.children&&r.children.length>0&&(i.shift(4),f+=i.move((n?`
|
|
2
|
-
`:" ")+o.indentLines(o.containerFlow(r,i.current()),n?m:w))),g(),f}}function w(e,n,t){return n===0?e:m(e,n,t)}function m(e,n,t){return(t?"":" ")+e}exports.gfmFootnoteFromMarkdown=p;exports.gfmFootnoteToMarkdown=L;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const u=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];o.peek=g;function c(){return{canContainEols:["delete"],enter:{strikethrough:s},exit:{strikethrough:k}}}function a(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:u}],handlers:{delete:o}}}function s(t){this.enter({type:"delete",children:[]},t)}function k(t){this.exit(t)}function o(t,l,r,i){const n=r.createTracker(i),h=r.enter("strikethrough");let e=n.move("~~");return e+=r.containerPhrasing(t,{...n.current(),before:e,after:"~"}),e+=n.move("~~"),h(),e}function g(){return"~"}exports.gfmStrikethroughFromMarkdown=c;exports.gfmStrikethroughToMarkdown=a;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";const m=require("./vendor-devlop-IYc_KfOj.cjs"),v=require("./vendor-markdown-table-BIbVC1pY.cjs"),R=require("./vendor-mdast-util-to-markdown-CFDJSkr8.cjs");function D(){return{enter:{table:M,tableData:g,tableHeader:g,tableRow:_},exit:{codeText:q,table:y,tableData:u,tableHeader:u,tableRow:u}}}function M(e){const l=e._align;this.enter({type:"table",align:l.map(function(c){return c==="none"?null:c}),children:[]},e),this.data.inTable=!0}function y(e){this.exit(e),this.data.inTable=void 0}function _(e){this.enter({type:"tableRow",children:[]},e)}function u(e){this.exit(e)}function g(e){this.enter({type:"tableCell",children:[]},e)}function q(e){let l=this.resume();this.data.inTable&&(l=l.replace(/\\([\\|])/g,A));const c=this.stack[this.stack.length-1];m.ok(c.type==="inlineCode"),c.value=l,this.exit(e)}function A(e,l){return l==="|"?l:e}function B(e){const l=e||{},c=l.tableCellPadding,T=l.tablePipeAlign,w=l.stringLength,d=c?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
2
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:C,tableCell:b,tableRow:x}};function C(t,r,a,n){return h(k(t,a,n),t.align)}function x(t,r,a,n){const i=f(t,a,n),o=h([i]);return o.slice(0,o.indexOf(`
|
|
3
|
-
`))}function b(t,r,a,n){const i=a.enter("tableCell"),o=a.enter("phrasing"),s=a.containerPhrasing(t,{...n,before:d,after:d});return o(),i(),s}function h(t,r){return v.markdownTable(t,{align:r,alignDelimiters:T,padding:c,stringLength:w})}function k(t,r,a){const n=t.children;let i=-1;const o=[],s=r.enter("table");for(;++i<n.length;)o[i]=f(n[i],r,a);return s(),o}function f(t,r,a){const n=t.children;let i=-1;const o=[],s=r.enter("tableRow");for(;++i<n.length;)o[i]=b(n[i],t,r,a);return s(),o}function p(t,r,a){let n=R.handle.inlineCode(t,r,a);return a.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&")),n}}exports.gfmTableFromMarkdown=D;exports.gfmTableToMarkdown=B;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const k=require("./vendor-devlop-IYc_KfOj.cjs"),f=require("./vendor-mdast-util-to-markdown-CFDJSkr8.cjs");function u(){return{exit:{taskListCheckValueChecked:h,taskListCheckValueUnchecked:h,paragraph:m}}}function d(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:g}}}function h(i){const e=this.stack[this.stack.length-2];k.ok(e.type==="listItem"),e.checked=i.type==="taskListCheckValueChecked"}function m(i){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const s=this.stack[this.stack.length-1];k.ok(s.type==="paragraph");const t=s.children[0];if(t&&t.type==="text"){const a=e.children;let n=-1,r;for(;++n<a.length;){const c=a[n];if(c.type==="paragraph"){r=c;break}}r===s&&(t.value=t.value.slice(1),t.value.length===0?s.children.shift():s.position&&t.position&&typeof t.position.start.offset=="number"&&(t.position.start.column++,t.position.start.offset++,s.position.start=Object.assign({},t.position.start)))}}this.exit(i)}function g(i,e,s,t){const a=i.children[0],n=typeof i.checked=="boolean"&&a&&a.type==="paragraph",r="["+(i.checked?"x":" ")+"] ",c=s.createTracker(t);n&&c.move(r);let o=f.handle.listItem(i,e,s,{...t,...c.current()});return n&&(o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),o;function l(p){return p+r}}exports.gfmTaskListItemFromMarkdown=u;exports.gfmTaskListItemToMarkdown=d;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./vendor-unist-util-is-C5fG5pIe.cjs"),t=e.convert(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);exports.phrasing=t;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";const v=require("./vendor-@ungap-structured-clone-BSqP9FP7.cjs"),N=require("./vendor-micromark-util-sanitize-uri-fWsohj9C.cjs"),w=require("./vendor-unist-util-position-DsgljCtl.cjs"),B=require("./vendor-trim-lines-BO73c4j-.cjs"),L=require("./vendor-unist-util-visit-Cyg51Aas.cjs");function A(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)}function I(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:`
|
|
2
|
-
`}]}function S(t,e){const n=e.value?e.value+`
|
|
3
|
-
`:"",r={},l=e.lang?e.lang.split(/\s+/):[];l.length>0&&(r.className=["language-"+l[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return e.meta&&(i.data={meta:e.meta}),t.patch(e,i),i=t.applyData(e,i),i={type:"element",tagName:"pre",properties:{},children:[i]},t.patch(e,i),i}function P(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function O(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function R(t,e){const n=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=String(e.identifier).toUpperCase(),l=N.normalizeUri(r.toLowerCase()),i=t.footnoteOrder.indexOf(r);let o,p=t.footnoteCounts.get(r);p===void 0?(p=0,t.footnoteOrder.push(r),o=t.footnoteOrder.length):o=i+1,p+=1,t.footnoteCounts.set(r,p);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+l,id:n+"fnref-"+l+(p>1?"-"+p:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};t.patch(e,u);const y={type:"element",tagName:"sup",properties:{},children:[u]};return t.patch(e,y),t.applyData(e,y)}function q(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function z(t,e){if(t.options.allowDangerousHtml){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}}function C(t,e){const n=e.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+r}];const l=t.all(e),i=l[0];i&&i.type==="text"?i.value="["+i.value:l.unshift({type:"text",value:"["});const o=l[l.length-1];return o&&o.type==="text"?o.value+=r:l.push({type:"text",value:r}),l}function T(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return C(t,e);const l={src:N.normalizeUri(r.url||""),alt:e.alt};r.title!==null&&r.title!==void 0&&(l.title=r.title);const i={type:"element",tagName:"img",properties:l,children:[]};return t.patch(e,i),t.applyData(e,i)}function F(t,e){const n={src:N.normalizeUri(e.url)};e.alt!==null&&e.alt!==void 0&&(n.alt=e.alt),e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,r),t.applyData(e,r)}function H(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,r),t.applyData(e,r)}function M(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return C(t,e);const l={href:N.normalizeUri(r.url||"")};r.title!==null&&r.title!==void 0&&(l.title=r.title);const i={type:"element",tagName:"a",properties:l,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function _(t,e){const n={href:N.normalizeUri(e.url)};e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function V(t,e,n){const r=t.all(e),l=n?j(n):U(e),i={},o=[];if(typeof e.checked=="boolean"){const a=r[0];let c;a&&a.type==="element"&&a.tagName==="p"?c=a:(c={type:"element",tagName:"p",properties:{},children:[]},r.unshift(c)),c.children.length>0&&c.children.unshift({type:"text",value:" "}),c.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let p=-1;for(;++p<r.length;){const a=r[p];(l||p!==0||a.type!=="element"||a.tagName!=="p")&&o.push({type:"text",value:`
|
|
4
|
-
`}),a.type==="element"&&a.tagName==="p"&&!l?o.push(...a.children):o.push(a)}const u=r[r.length-1];u&&(l||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:`
|
|
5
|
-
`});const y={type:"element",tagName:"li",properties:i,children:o};return t.patch(e,y),t.applyData(e,y)}function j(t){let e=!1;if(t.type==="list"){e=t.spread||!1;const n=t.children;let r=-1;for(;!e&&++r<n.length;)e=U(n[r])}return e}function U(t){const e=t.spread;return e??t.children.length>1}function E(t,e){const n={},r=t.all(e);let l=-1;for(typeof e.start=="number"&&e.start!==1&&(n.start=e.start);++l<r.length;){const o=r[l];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:e.ordered?"ol":"ul",properties:n,children:t.wrap(r,!0)};return t.patch(e,i),t.applyData(e,i)}function $(t,e){const n={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function G(t,e){const n={type:"root",children:t.wrap(t.all(e))};return t.patch(e,n),t.applyData(e,n)}function J(t,e){const n={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function K(t,e){const n=t.all(e),r=n.shift(),l=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:t.wrap([r],!0)};t.patch(e.children[0],o),l.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},p=w.pointStart(e.children[1]),u=w.pointEnd(e.children[e.children.length-1]);p&&u&&(o.position={start:p,end:u}),l.push(o)}const i={type:"element",tagName:"table",properties:{},children:t.wrap(l,!0)};return t.patch(e,i),t.applyData(e,i)}function Q(t,e,n){const r=n?n.children:void 0,i=(r?r.indexOf(e):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,p=o?o.length:e.children.length;let u=-1;const y=[];for(;++u<p;){const c=e.children[u],h={},f=o?o[u]:void 0;f&&(h.align=f);let s={type:"element",tagName:i,properties:h,children:[]};c&&(s.children=t.all(c),t.patch(c,s),s=t.applyData(c,s)),y.push(s)}const a={type:"element",tagName:"tr",properties:{},children:t.wrap(y,!0)};return t.patch(e,a),t.applyData(e,a)}function W(t,e){const n={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function X(t,e){const n={type:"text",value:B.trimLines(String(e.value))};return t.patch(e,n),t.applyData(e,n)}function Y(t,e){const n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)}const Z={blockquote:A,break:I,code:S,delete:P,emphasis:O,footnoteReference:R,heading:q,html:z,imageReference:T,image:F,inlineCode:H,linkReference:M,link:_,listItem:V,list:E,paragraph:$,root:G,strong:J,table:K,tableCell:W,tableRow:Q,text:X,thematicBreak:Y,toml:b,yaml:b,definition:b,footnoteDefinition:b};function b(){}function ee(t,e){const n=[{type:"text",value:"↩"}];return e>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),n}function te(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function ne(t){const e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",n=t.options.footnoteBackContent||ee,r=t.options.footnoteBackLabel||te,l=t.options.footnoteLabel||"Footnotes",i=t.options.footnoteLabelTagName||"h2",o=t.options.footnoteLabelProperties||{className:["sr-only"]},p=[];let u=-1;for(;++u<t.footnoteOrder.length;){const y=t.footnoteById.get(t.footnoteOrder[u]);if(!y)continue;const a=t.all(y),c=String(y.identifier).toUpperCase(),h=N.normalizeUri(c.toLowerCase());let f=0;const s=[],g=t.footnoteCounts.get(c);for(;g!==void 0&&++f<=g;){s.length>0&&s.push({type:"text",value:" "});let m=typeof n=="string"?n:n(u,f);typeof m=="string"&&(m={type:"text",value:m}),s.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+h+(f>1?"-"+f:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,f),className:["data-footnote-backref"]},children:Array.isArray(m)?m:[m]})}const d=a[a.length-1];if(d&&d.type==="element"&&d.tagName==="p"){const m=d.children[d.children.length-1];m&&m.type==="text"?m.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...s)}else a.push(...s);const x={type:"element",tagName:"li",properties:{id:e+"fn-"+h},children:t.wrap(a,!0)};t.patch(y,x),p.push(x)}if(p.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...v.structuredClone(o),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:`
|
|
6
|
-
`},{type:"element",tagName:"ol",properties:{},children:t.wrap(p,!0)},{type:"text",value:`
|
|
7
|
-
`}]}}const k={}.hasOwnProperty,re={};function le(t,e){const n=e||re,r=new Map,l=new Map,i=new Map,o={...Z,...n.handlers},p={all:y,applyData:ae,definitionById:r,footnoteById:l,footnoteCounts:i,footnoteOrder:[],handlers:o,one:u,options:n,patch:ie,wrap:pe};return L.visit(t,function(a){if(a.type==="definition"||a.type==="footnoteDefinition"){const c=a.type==="definition"?r:l,h=String(a.identifier).toUpperCase();c.has(h)||c.set(h,a)}}),p;function u(a,c){const h=a.type,f=p.handlers[h];if(k.call(p.handlers,h)&&f)return f(p,a,c);if(p.options.passThrough&&p.options.passThrough.includes(h)){if("children"in a){const{children:g,...d}=a,x=v.structuredClone(d);return x.children=p.all(a),x}return v.structuredClone(a)}return(p.options.unknownHandler||oe)(p,a,c)}function y(a){const c=[];if("children"in a){const h=a.children;let f=-1;for(;++f<h.length;){const s=p.one(h[f],a);if(s){if(f&&h[f-1].type==="break"&&(!Array.isArray(s)&&s.type==="text"&&(s.value=D(s.value)),!Array.isArray(s)&&s.type==="element")){const g=s.children[0];g&&g.type==="text"&&(g.value=D(g.value))}Array.isArray(s)?c.push(...s):c.push(s)}}}return c}}function ie(t,e){t.position&&(e.position=w.position(t))}function ae(t,e){let n=e;if(t&&t.data){const r=t.data.hName,l=t.data.hChildren,i=t.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&i&&Object.assign(n.properties,v.structuredClone(i)),"children"in n&&n.children&&l!==null&&l!==void 0&&(n.children=l)}return n}function oe(t,e){const n=e.data||{},r="value"in e&&!(k.call(n,"hProperties")||k.call(n,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function pe(t,e){const n=[];let r=-1;for(e&&n.push({type:"text",value:`
|
|
8
|
-
`});++r<t.length;)r&&n.push({type:"text",value:`
|
|
9
|
-
`}),n.push(t[r]);return e&&t.length>0&&n.push({type:"text",value:`
|
|
10
|
-
`}),n}function D(t){let e=0,n=t.charCodeAt(e);for(;n===9||n===32;)e++,n=t.charCodeAt(e);return t.slice(e)}function ce(t,e){const n=le(t,e),r=n.one(t,void 0),l=ne(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return l&&i.children.push({type:"text",value:`
|
|
11
|
-
`},l),i}exports.toHast=ce;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";const L=require("./vendor-longest-streak-CpfJ7Pkv.cjs"),b=require("./vendor-micromark-util-classify-character-BXzv_u9-.cjs"),R=require("./vendor-unist-util-visit-Cyg51Aas.cjs"),w=require("./vendor-mdast-util-to-string-epeputJu.cjs"),z=require("./vendor-unist-util-visit-parents-BFfGpcYZ.cjs"),F=require("./vendor-mdast-util-phrasing-B3pE6Gyd.cjs");function O(r,n,e,l){const c=e.enter("blockquote"),s=e.createTracker(l);s.move("> "),s.shift(2);const o=e.indentLines(e.containerFlow(r,s.current()),B);return c(),o}function B(r,n,e){return">"+(e?"":" ")+r}function M(r,n){return x(r,n.inConstruct,!0)&&!x(r,n.notInConstruct,!1)}function x(r,n,e){if(typeof n=="string"&&(n=[n]),!n||n.length===0)return e;let l=-1;for(;++l<n.length;)if(r.includes(n[l]))return!0;return!1}function g(r,n,e,l){let c=-1;for(;++c<e.unsafe.length;)if(e.unsafe[c].character===`
|
|
2
|
-
`&&M(e.stack,e.unsafe[c]))return/[ \t]/.test(l.before)?"":" ";return`\\
|
|
3
|
-
`}function U(r,n){return!!(n.options.fences===!1&&r.value&&!r.lang&&/[^ \r\n]/.test(r.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(r.value))}function $(r){const n=r.options.fence||"`";if(n!=="`"&&n!=="~")throw new Error("Cannot serialize code with `"+n+"` for `options.fence`, expected `` ` `` or `~`");return n}function Q(r,n,e,l){const c=$(e),s=r.value||"",o=c==="`"?"GraveAccent":"Tilde";if(U(r,e)){const a=e.enter("codeIndented"),h=e.indentLines(s,H);return a(),h}const u=e.createTracker(l),t=c.repeat(Math.max(L.longestStreak(s,c)+1,3)),i=e.enter("codeFenced");let f=u.move(t);if(r.lang){const a=e.enter(`codeFencedLang${o}`);f+=u.move(e.safe(r.lang,{before:f,after:" ",encode:["`"],...u.current()})),a()}if(r.lang&&r.meta){const a=e.enter(`codeFencedMeta${o}`);f+=u.move(" "),f+=u.move(e.safe(r.meta,{before:f,after:`
|
|
4
|
-
`,encode:["`"],...u.current()})),a()}return f+=u.move(`
|
|
5
|
-
`),s&&(f+=u.move(s+`
|
|
6
|
-
`)),f+=u.move(t),i(),f}function H(r,n,e){return(e?"":" ")+r}function p(r){const n=r.options.quote||'"';if(n!=='"'&&n!=="'")throw new Error("Cannot serialize title with `"+n+"` for `options.quote`, expected `\"`, or `'`");return n}function K(r,n,e,l){const c=p(e),s=c==='"'?"Quote":"Apostrophe",o=e.enter("definition");let u=e.enter("label");const t=e.createTracker(l);let i=t.move("[");return i+=t.move(e.safe(e.associationId(r),{before:i,after:"]",...t.current()})),i+=t.move("]: "),u(),!r.url||/[\0- \u007F]/.test(r.url)?(u=e.enter("destinationLiteral"),i+=t.move("<"),i+=t.move(e.safe(r.url,{before:i,after:">",...t.current()})),i+=t.move(">")):(u=e.enter("destinationRaw"),i+=t.move(e.safe(r.url,{before:i,after:r.title?" ":`
|
|
7
|
-
`,...t.current()}))),u(),r.title&&(u=e.enter(`title${s}`),i+=t.move(" "+c),i+=t.move(e.safe(r.title,{before:i,after:c,...t.current()})),i+=t.move(c),u()),o(),i}function V(r){const n=r.options.emphasis||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize emphasis with `"+n+"` for `options.emphasis`, expected `*`, or `_`");return n}function d(r){return"&#x"+r.toString(16).toUpperCase()+";"}function k(r,n,e){const l=b.classifyCharacter(r),c=b.classifyCharacter(n);return l===void 0?c===void 0?e==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:c===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:l===1?c===void 0?{inside:!1,outside:!1}:c===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:c===void 0?{inside:!1,outside:!1}:c===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}C.peek=D;function C(r,n,e,l){const c=V(e),s=e.enter("emphasis"),o=e.createTracker(l),u=o.move(c);let t=o.move(e.containerPhrasing(r,{after:c,before:u,...o.current()}));const i=t.charCodeAt(0),f=k(l.before.charCodeAt(l.before.length-1),i,c);f.inside&&(t=d(i)+t.slice(1));const a=t.charCodeAt(t.length-1),h=k(l.after.charCodeAt(0),a,c);h.inside&&(t=t.slice(0,-1)+d(a));const m=o.move(c);return s(),e.attentionEncodeSurroundingInfo={after:h.outside,before:f.outside},u+t+m}function D(r,n,e){return e.options.emphasis||"*"}function G(r,n){let e=!1;return R.visit(r,function(l){if("value"in l&&/\r?\n|\r/.test(l.value)||l.type==="break")return e=!0,z.EXIT}),!!((!r.depth||r.depth<3)&&w.toString(r)&&(n.options.setext||e))}function W(r,n,e,l){const c=Math.max(Math.min(6,r.depth||1),1),s=e.createTracker(l);if(G(r,e)){const f=e.enter("headingSetext"),a=e.enter("phrasing"),h=e.containerPhrasing(r,{...s.current(),before:`
|
|
8
|
-
`,after:`
|
|
9
|
-
`});return a(),f(),h+`
|
|
10
|
-
`+(c===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(`
|
|
11
|
-
`))+1))}const o="#".repeat(c),u=e.enter("headingAtx"),t=e.enter("phrasing");s.move(o+" ");let i=e.containerPhrasing(r,{before:"# ",after:`
|
|
12
|
-
`,...s.current()});return/^[\t ]/.test(i)&&(i=d(i.charCodeAt(0))+i.slice(1)),i=i?o+" "+i:o,e.options.closeAtx&&(i+=" "+o),t(),u(),i}_.peek=X;function _(r){return r.value||""}function X(){return"<"}I.peek=j;function I(r,n,e,l){const c=p(e),s=c==='"'?"Quote":"Apostrophe",o=e.enter("image");let u=e.enter("label");const t=e.createTracker(l);let i=t.move("![");return i+=t.move(e.safe(r.alt,{before:i,after:"]",...t.current()})),i+=t.move("]("),u(),!r.url&&r.title||/[\0- \u007F]/.test(r.url)?(u=e.enter("destinationLiteral"),i+=t.move("<"),i+=t.move(e.safe(r.url,{before:i,after:">",...t.current()})),i+=t.move(">")):(u=e.enter("destinationRaw"),i+=t.move(e.safe(r.url,{before:i,after:r.title?" ":")",...t.current()}))),u(),r.title&&(u=e.enter(`title${s}`),i+=t.move(" "+c),i+=t.move(e.safe(r.title,{before:i,after:c,...t.current()})),i+=t.move(c),u()),i+=t.move(")"),o(),i}function j(){return"!"}P.peek=J;function P(r,n,e,l){const c=r.referenceType,s=e.enter("imageReference");let o=e.enter("label");const u=e.createTracker(l);let t=u.move("![");const i=e.safe(r.alt,{before:t,after:"]",...u.current()});t+=u.move(i+"]["),o();const f=e.stack;e.stack=[],o=e.enter("reference");const a=e.safe(e.associationId(r),{before:t,after:"]",...u.current()});return o(),e.stack=f,s(),c==="full"||!i||i!==a?t+=u.move(a+"]"):c==="shortcut"?t=t.slice(0,-1):t+=u.move("]"),t}function J(){return"!"}A.peek=N;function A(r,n,e){let l=r.value||"",c="`",s=-1;for(;new RegExp("(^|[^`])"+c+"([^`]|$)").test(l);)c+="`";for(/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^`|`$/.test(l))&&(l=" "+l+" ");++s<e.unsafe.length;){const o=e.unsafe[s],u=e.compilePattern(o);let t;if(o.atBreak)for(;t=u.exec(l);){let i=t.index;l.charCodeAt(i)===10&&l.charCodeAt(i-1)===13&&i--,l=l.slice(0,i)+" "+l.slice(t.index+1)}}return c+l+c}function N(){return"`"}function S(r,n){const e=w.toString(r);return!!(!n.options.resourceLink&&r.url&&!r.title&&r.children&&r.children.length===1&&r.children[0].type==="text"&&(e===r.url||"mailto:"+e===r.url)&&/^[a-z][a-z+.-]+:/i.test(r.url)&&!/[\0- <>\u007F]/.test(r.url))}T.peek=Y;function T(r,n,e,l){const c=p(e),s=c==='"'?"Quote":"Apostrophe",o=e.createTracker(l);let u,t;if(S(r,e)){const f=e.stack;e.stack=[],u=e.enter("autolink");let a=o.move("<");return a+=o.move(e.containerPhrasing(r,{before:a,after:">",...o.current()})),a+=o.move(">"),u(),e.stack=f,a}u=e.enter("link"),t=e.enter("label");let i=o.move("[");return i+=o.move(e.containerPhrasing(r,{before:i,after:"](",...o.current()})),i+=o.move("]("),t(),!r.url&&r.title||/[\0- \u007F]/.test(r.url)?(t=e.enter("destinationLiteral"),i+=o.move("<"),i+=o.move(e.safe(r.url,{before:i,after:">",...o.current()})),i+=o.move(">")):(t=e.enter("destinationRaw"),i+=o.move(e.safe(r.url,{before:i,after:r.title?" ":")",...o.current()}))),t(),r.title&&(t=e.enter(`title${s}`),i+=o.move(" "+c),i+=o.move(e.safe(r.title,{before:i,after:c,...o.current()})),i+=o.move(c),t()),i+=o.move(")"),u(),i}function Y(r,n,e){return S(r,e)?"<":"["}E.peek=Z;function E(r,n,e,l){const c=r.referenceType,s=e.enter("linkReference");let o=e.enter("label");const u=e.createTracker(l);let t=u.move("[");const i=e.containerPhrasing(r,{before:t,after:"]",...u.current()});t+=u.move(i+"]["),o();const f=e.stack;e.stack=[],o=e.enter("reference");const a=e.safe(e.associationId(r),{before:t,after:"]",...u.current()});return o(),e.stack=f,s(),c==="full"||!i||i!==a?t+=u.move(a+"]"):c==="shortcut"?t=t.slice(0,-1):t+=u.move("]"),t}function Z(){return"["}function v(r){const n=r.options.bullet||"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bullet`, expected `*`, `+`, or `-`");return n}function ee(r){const n=v(r),e=r.options.bulletOther;if(!e)return n==="*"?"-":"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(e===n)throw new Error("Expected `bullet` (`"+n+"`) and `bulletOther` (`"+e+"`) to be different");return e}function re(r){const n=r.options.bulletOrdered||".";if(n!=="."&&n!==")")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOrdered`, expected `.` or `)`");return n}function q(r){const n=r.options.rule||"*";if(n!=="*"&&n!=="-"&&n!=="_")throw new Error("Cannot serialize rules with `"+n+"` for `options.rule`, expected `*`, `-`, or `_`");return n}function ne(r,n,e,l){const c=e.enter("list"),s=e.bulletCurrent;let o=r.ordered?re(e):v(e);const u=r.ordered?o==="."?")":".":ee(e);let t=n&&e.bulletLastUsed?o===e.bulletLastUsed:!1;if(!r.ordered){const f=r.children?r.children[0]:void 0;if((o==="*"||o==="-")&&f&&(!f.children||!f.children[0])&&e.stack[e.stack.length-1]==="list"&&e.stack[e.stack.length-2]==="listItem"&&e.stack[e.stack.length-3]==="list"&&e.stack[e.stack.length-4]==="listItem"&&e.indexStack[e.indexStack.length-1]===0&&e.indexStack[e.indexStack.length-2]===0&&e.indexStack[e.indexStack.length-3]===0&&(t=!0),q(e)===o&&f){let a=-1;for(;++a<r.children.length;){const h=r.children[a];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){t=!0;break}}}}t&&(o=u),e.bulletCurrent=o;const i=e.containerFlow(r,l);return e.bulletLastUsed=o,e.bulletCurrent=s,c(),i}function te(r){const n=r.options.listItemIndent||"one";if(n!=="tab"&&n!=="one"&&n!=="mixed")throw new Error("Cannot serialize items with `"+n+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return n}function ie(r,n,e,l){const c=te(e);let s=e.bulletCurrent||v(e);n&&n.type==="list"&&n.ordered&&(s=(typeof n.start=="number"&&n.start>-1?n.start:1)+(e.options.incrementListMarker===!1?0:n.children.indexOf(r))+s);let o=s.length+1;(c==="tab"||c==="mixed"&&(n&&n.type==="list"&&n.spread||r.spread))&&(o=Math.ceil(o/4)*4);const u=e.createTracker(l);u.move(s+" ".repeat(o-s.length)),u.shift(o);const t=e.enter("listItem"),i=e.indentLines(e.containerFlow(r,u.current()),f);return t(),i;function f(a,h,m){return h?(m?"":" ".repeat(o))+a:(m?s:s+" ".repeat(o-s.length))+a}}function oe(r,n,e,l){const c=e.enter("paragraph"),s=e.enter("phrasing"),o=e.containerPhrasing(r,l);return s(),c(),o}function ce(r,n,e,l){return(r.children.some(function(o){return F.phrasing(o)})?e.containerPhrasing:e.containerFlow).call(e,r,l)}function le(r){const n=r.options.strong||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize strong with `"+n+"` for `options.strong`, expected `*`, or `_`");return n}y.peek=ue;function y(r,n,e,l){const c=le(e),s=e.enter("strong"),o=e.createTracker(l),u=o.move(c+c);let t=o.move(e.containerPhrasing(r,{after:c,before:u,...o.current()}));const i=t.charCodeAt(0),f=k(l.before.charCodeAt(l.before.length-1),i,c);f.inside&&(t=d(i)+t.slice(1));const a=t.charCodeAt(t.length-1),h=k(l.after.charCodeAt(0),a,c);h.inside&&(t=t.slice(0,-1)+d(a));const m=o.move(c+c);return s(),e.attentionEncodeSurroundingInfo={after:h.outside,before:f.outside},u+t+m}function ue(r,n,e){return e.options.strong||"*"}function se(r,n,e,l){return e.safe(r.value,l)}function fe(r){const n=r.options.ruleRepetition||3;if(n<3)throw new Error("Cannot serialize rules with repetition `"+n+"` for `options.ruleRepetition`, expected `3` or more");return n}function ae(r,n,e){const l=(q(e)+(e.options.ruleSpaces?" ":"")).repeat(fe(e));return e.options.ruleSpaces?l.slice(0,-1):l}const he={blockquote:O,break:g,code:Q,definition:K,emphasis:C,hardBreak:g,heading:W,html:_,image:I,imageReference:P,inlineCode:A,link:T,linkReference:E,list:ne,listItem:ie,paragraph:oe,root:ce,strong:y,text:se,thematicBreak:ae};exports.handle=he;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const f={};function s(t,r){const n=f,i=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,o=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return c(t,i,o)}function c(t,r,n){if(l(t)){if("value"in t)return t.type==="html"&&!n?"":t.value;if(r&&"alt"in t&&t.alt)return t.alt;if("children"in t)return e(t.children,r,n)}return Array.isArray(t)?e(t,r,n):""}function e(t,r,n){const i=[];let o=-1;for(;++o<t.length;)i[o]=c(t[o],r,n);return i.join("")}function l(t){return!!(t&&typeof t=="object")}exports.toString=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var i=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function m(e,r){return!!(e===r||i(e)&&i(r))}function h(e,r){if(e.length!==r.length)return!1;for(var t=0;t<e.length;t++)if(!m(e[t],r[t]))return!1;return!0}function g(e,r){r===void 0&&(r=h);var t=null;function a(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];if(t&&t.lastThis===this&&r(n,t.lastArgs))return t.lastResult;var f=e.apply(this,n);return t={lastResult:f,lastArgs:n,lastThis:this},f}return a.clear=function(){t=null},a}var o=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function c(e,r){return!!(e===r||o(e)&&o(r))}function v(e,r){if(e.length!==r.length)return!1;for(var t=0;t<e.length;t++)if(!c(e[t],r[t]))return!1;return!0}function N(e,r){r===void 0&&(r=v);var t,a=[],n,u=!1;function f(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];return u&&t===this&&r(l,a)||(n=e.apply(this,l),u=!0,t=this,a=l),n}return f}exports.memoizeOne=g;exports.memoizeOne$1=N;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";const tn=require("./vendor-micromark-util-combine-extensions-ymdtWEAr.cjs"),H=require("./vendor-micromark-factory-space-BxE8R4nI.cjs"),Q=require("./vendor-micromark-util-character-ThpXZ0p5.cjs"),j=require("./vendor-micromark-util-chunked-CCaF1jRh.cjs"),u=require("./vendor-micromark-core-commonmark-CHMYvCou.cjs"),rn=require("./vendor-micromark-util-resolve-all-B1vkj8Lj.cjs"),on=require("./vendor-micromark-util-subtokenize-B5hanNMp.cjs"),ln={tokenize:sn};function sn(n){const t=n.attempt(this.parser.constructs.contentInitial,e,o);let r;return t;function e(c){if(c===null){n.consume(c);return}return n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),H.factorySpace(n,t,"linePrefix")}function o(c){return n.enter("paragraph"),i(c)}function i(c){const h=n.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=h),r=h,s(c)}function s(c){if(c===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(c);return}return Q.markdownLineEnding(c)?(n.consume(c),n.exit("chunkText"),i):(n.consume(c),s)}}const un={tokenize:cn},V={tokenize:an};function cn(n){const t=this,r=[];let e=0,o,i,s;return c;function c(a){if(e<r.length){const w=r[e];return t.containerState=w[1],n.attempt(w[0].continuation,h,l)(a)}return l(a)}function h(a){if(e++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&z();const w=t.events.length;let b=w,m;for(;b--;)if(t.events[b][0]==="exit"&&t.events[b][1].type==="chunkFlow"){m=t.events[b][1].end;break}S(e);let C=w;for(;C<t.events.length;)t.events[C][1].end={...m},C++;return j.splice(t.events,b+1,0,t.events.slice(w)),t.events.length=C,l(a)}return c(a)}function l(a){if(e===r.length){if(!o)return k(a);if(o.currentConstruct&&o.currentConstruct.concrete)return I(a);t.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},n.check(V,p,x)(a)}function p(a){return o&&z(),S(e),k(a)}function x(a){return t.parser.lazy[t.now().line]=e!==r.length,s=t.now().offset,I(a)}function k(a){return t.containerState={},n.attempt(V,v,I)(a)}function v(a){return e++,r.push([t.currentConstruct,t.containerState]),k(a)}function I(a){if(a===null){o&&z(),S(0),n.consume(a);return}return o=o||t.parser.flow(t.now()),n.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:i}),B(a)}function B(a){if(a===null){M(n.exit("chunkFlow"),!0),S(0),n.consume(a);return}return Q.markdownLineEnding(a)?(n.consume(a),M(n.exit("chunkFlow")),e=0,t.interrupt=void 0,c):(n.consume(a),B)}function M(a,w){const b=t.sliceStream(a);if(w&&b.push(null),a.previous=i,i&&(i.next=a),i=a,o.defineSkip(a.start),o.write(b),t.parser.lazy[a.start.line]){let m=o.events.length;for(;m--;)if(o.events[m][1].start.offset<s&&(!o.events[m][1].end||o.events[m][1].end.offset>s))return;const C=t.events.length;let E=C,O,A;for(;E--;)if(t.events[E][0]==="exit"&&t.events[E][1].type==="chunkFlow"){if(O){A=t.events[E][1].end;break}O=!0}for(S(e),m=C;m<t.events.length;)t.events[m][1].end={...A},m++;j.splice(t.events,E+1,0,t.events.slice(C)),t.events.length=m}}function S(a){let w=r.length;for(;w-- >a;){const b=r[w];t.containerState=b[1],b[0].exit.call(t,n)}r.length=a}function z(){o.write([null]),i=void 0,o=void 0,t.containerState._closeFlow=void 0}}function an(n,t,r){return H.factorySpace(n,n.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const fn={tokenize:dn};function dn(n){const t=this,r=n.attempt(u.blankLine,e,n.attempt(this.parser.constructs.flowInitial,o,H.factorySpace(n,n.attempt(this.parser.constructs.flow,o,n.attempt(u.content,o)),"linePrefix")));return r;function e(i){if(i===null){n.consume(i);return}return n.enter("lineEndingBlank"),n.consume(i),n.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function o(i){if(i===null){n.consume(i);return}return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),t.currentConstruct=void 0,r}}const hn={resolveAll:Y()},pn=X("string"),xn=X("text");function X(n){return{resolveAll:Y(n==="text"?kn:void 0),tokenize:t};function t(r){const e=this,o=this.parser.constructs[n],i=r.attempt(o,s,c);return s;function s(p){return l(p)?i(p):c(p)}function c(p){if(p===null){r.consume(p);return}return r.enter("data"),r.consume(p),h}function h(p){return l(p)?(r.exit("data"),i(p)):(r.consume(p),h)}function l(p){if(p===null)return!0;const x=o[p];let k=-1;if(x)for(;++k<x.length;){const v=x[k];if(!v.previous||v.previous.call(e,e.previous))return!0}return!1}}}function Y(n){return t;function t(r,e){let o=-1,i;for(;++o<=r.length;)i===void 0?r[o]&&r[o][1].type==="data"&&(i=o,o++):(!r[o]||r[o][1].type!=="data")&&(o!==i+2&&(r[i][1].end=r[o-1][1].end,r.splice(i+2,o-i-2),o=i+2),i=void 0);return n?n(r,e):r}}function kn(n,t){let r=0;for(;++r<=n.length;)if((r===n.length||n[r][1].type==="lineEnding")&&n[r-1][1].type==="data"){const e=n[r-1][1],o=t.sliceStream(e);let i=o.length,s=-1,c=0,h;for(;i--;){const l=o[i];if(typeof l=="string"){for(s=l.length;l.charCodeAt(s-1)===32;)c++,s--;if(s)break;s=-1}else if(l===-2)h=!0,c++;else if(l!==-1){i++;break}}if(t._contentTypeTextTrailing&&r===n.length&&(c=0),c){const l={type:r===n.length||h||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:e.start._bufferIndex+s,_index:e.start._index+i,line:e.end.line,column:e.end.column-c,offset:e.end.offset-c},end:{...e.end}};e.end={...l.start},e.start.offset===e.end.offset?Object.assign(e,l):(n.splice(r,0,["enter",l,t],["exit",l,t]),r+=2)}r++}return n}const mn={42:u.list,43:u.list,45:u.list,48:u.list,49:u.list,50:u.list,51:u.list,52:u.list,53:u.list,54:u.list,55:u.list,56:u.list,57:u.list,62:u.blockQuote},gn={91:u.definition},wn={[-2]:u.codeIndented,[-1]:u.codeIndented,32:u.codeIndented},bn={35:u.headingAtx,42:u.thematicBreak,45:[u.setextUnderline,u.thematicBreak],60:u.htmlFlow,61:u.setextUnderline,95:u.thematicBreak,96:u.codeFenced,126:u.codeFenced},Cn={38:u.characterReference,92:u.characterEscape},vn={[-5]:u.lineEnding,[-4]:u.lineEnding,[-3]:u.lineEnding,33:u.labelStartImage,38:u.characterReference,42:u.attention,60:[u.autolink,u.htmlText],91:u.labelStartLink,92:[u.hardBreakEscape,u.characterEscape],93:u.labelEnd,95:u.attention,96:u.codeText},_n={null:[u.attention,hn]},yn={null:[42,95]},In={null:[]},Sn=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:yn,contentInitial:gn,disable:In,document:mn,flow:bn,flowInitial:wn,insideSpan:_n,string:Cn,text:vn},Symbol.toStringTag,{value:"Module"}));function En(n,t,r){let e={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const o={},i=[];let s=[],c=[];const h={attempt:C(b),check:C(m),consume:z,enter:a,exit:w,interrupt:C(m,{interrupt:!0})},l={code:null,containerState:{},defineSkip:B,events:[],now:I,parser:n,previous:null,sliceSerialize:k,sliceStream:v,write:x};let p=t.tokenize.call(l,h);return t.resolveAll&&i.push(t),l;function x(f){return s=j.push(s,f),M(),s[s.length-1]!==null?[]:(E(t,0),l.events=rn.resolveAll(i,l.events,l),l.events)}function k(f,d){return Tn(v(f),d)}function v(f){return An(s,f)}function I(){const{_bufferIndex:f,_index:d,line:_,column:y,offset:F}=e;return{_bufferIndex:f,_index:d,line:_,column:y,offset:F}}function B(f){o[f.line]=f.column,A()}function M(){let f;for(;e._index<s.length;){const d=s[e._index];if(typeof d=="string")for(f=e._index,e._bufferIndex<0&&(e._bufferIndex=0);e._index===f&&e._bufferIndex<d.length;)S(d.charCodeAt(e._bufferIndex));else S(d)}}function S(f){p=p(f)}function z(f){Q.markdownLineEnding(f)?(e.line++,e.column=1,e.offset+=f===-3?2:1,A()):f!==-1&&(e.column++,e.offset++),e._bufferIndex<0?e._index++:(e._bufferIndex++,e._bufferIndex===s[e._index].length&&(e._bufferIndex=-1,e._index++)),l.previous=f}function a(f,d){const _=d||{};return _.type=f,_.start=I(),l.events.push(["enter",_,l]),c.push(_),_}function w(f){const d=c.pop();return d.end=I(),l.events.push(["exit",d,l]),d}function b(f,d){E(f,d.from)}function m(f,d){d.restore()}function C(f,d){return _;function _(y,F,P){let R,q,G,N;return Array.isArray(y)?$(y):"tokenize"in y?$([y]):Z(y);function Z(g){return D;function D(T){const L=T!==null&&g[T],U=T!==null&&g.null,en=[...Array.isArray(L)?L:L?[L]:[],...Array.isArray(U)?U:U?[U]:[]];return $(en)(T)}}function $(g){return R=g,q=0,g.length===0?P:J(g[q])}function J(g){return D;function D(T){return N=O(),G=g,g.partial||(l.currentConstruct=g),g.name&&l.parser.constructs.disable.null.includes(g.name)?K():g.tokenize.call(d?Object.assign(Object.create(l),d):l,h,nn,K)(T)}}function nn(g){return f(G,N),F}function K(g){return N.restore(),++q<R.length?J(R[q]):P}}}function E(f,d){f.resolveAll&&!i.includes(f)&&i.push(f),f.resolve&&j.splice(l.events,d,l.events.length-d,f.resolve(l.events.slice(d),l)),f.resolveTo&&(l.events=f.resolveTo(l.events,l))}function O(){const f=I(),d=l.previous,_=l.currentConstruct,y=l.events.length,F=Array.from(c);return{from:y,restore:P};function P(){e=f,l.previous=d,l.currentConstruct=_,l.events.length=y,c=F,A()}}function A(){e.line in o&&e.column<2&&(e.column=o[e.line],e.offset+=o[e.line]-1)}}function An(n,t){const r=t.start._index,e=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let s;if(r===o)s=[n[r].slice(e,i)];else{if(s=n.slice(r,o),e>-1){const c=s[0];typeof c=="string"?s[0]=c.slice(e):s.shift()}i>0&&s.push(n[o].slice(0,i))}return s}function Tn(n,t){let r=-1;const e=[];let o;for(;++r<n.length;){const i=n[r];let s;if(typeof i=="string")s=i;else switch(i){case-5:{s="\r";break}case-4:{s=`
|
|
2
|
-
`;break}case-3:{s=`\r
|
|
3
|
-
`;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&o)continue;s=" ";break}default:s=String.fromCharCode(i)}o=i===-2,e.push(s)}return e.join("")}function zn(n){const t=n||{},e={constructs:tn.combineExtensions([Sn,...t.extensions||[]]),content:o(ln),defined:[],document:o(un),flow:o(fn),lazy:{},string:o(pn),text:o(xn)};return e;function o(i){return s;function s(c){return En(e,i,c)}}}function Fn(n){for(;!on.subtokenize(n););return n}const W=/[\0\t\n\r]/g;function Bn(){let n=1,t="",r=!0,e;return o;function o(i,s,c){const h=[];let l,p,x,k,v;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(s||void 0).decode(i)),x=0,t="",r&&(i.charCodeAt(0)===65279&&x++,r=void 0);x<i.length;){if(W.lastIndex=x,l=W.exec(i),k=l&&l.index!==void 0?l.index:i.length,v=i.charCodeAt(k),!l){t=i.slice(x);break}if(v===10&&x===k&&e)h.push(-3),e=void 0;else switch(e&&(h.push(-5),e=void 0),x<k&&(h.push(i.slice(x,k)),n+=k-x),v){case 0:{h.push(65533),n++;break}case 9:{for(p=Math.ceil(n/4)*4,h.push(-2);n++<p;)h.push(-1);break}case 10:{h.push(-4),n=1;break}default:e=!0,n=1}x=k+1}return c&&(e&&h.push(-5),t&&h.push(t),h.push(null)),h}}exports.parse=zn;exports.postprocess=Fn;exports.preprocess=Bn;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const b=require("./vendor-micromark-util-chunked-CCaF1jRh.cjs"),X=require("./vendor-micromark-util-classify-character-BXzv_u9-.cjs"),$=require("./vendor-micromark-util-resolve-all-B1vkj8Lj.cjs"),k=require("./vendor-micromark-util-character-ThpXZ0p5.cjs"),E=require("./vendor-micromark-factory-space-BxE8R4nI.cjs"),ln=require("./vendor-decode-named-character-reference-CpsLJx05.cjs"),on=require("./vendor-micromark-util-subtokenize-B5hanNMp.cjs"),v=require("./vendor-micromark-factory-destination-DODxvNwQ.cjs"),nn=require("./vendor-micromark-factory-label-DRCYHbTp.cjs"),rn=require("./vendor-micromark-factory-title-HTScd-95.cjs"),Q=require("./vendor-micromark-factory-whitespace-Cfovfawt.cjs"),J=require("./vendor-micromark-util-normalize-identifier-CZzRW9lF.cjs"),G=require("./vendor-micromark-util-html-tag-name-BqwwRvi2.cjs"),mn={name:"attention",resolveAll:sn,tokenize:pn};function sn(n,a){let t=-1,r,l,o,u,m,g,c,h;for(;++t<n.length;)if(n[t][0]==="enter"&&n[t][1].type==="attentionSequence"&&n[t][1]._close){for(r=t;r--;)if(n[r][0]==="exit"&&n[r][1].type==="attentionSequence"&&n[r][1]._open&&a.sliceSerialize(n[r][1]).charCodeAt(0)===a.sliceSerialize(n[t][1]).charCodeAt(0)){if((n[r][1]._close||n[t][1]._open)&&(n[t][1].end.offset-n[t][1].start.offset)%3&&!((n[r][1].end.offset-n[r][1].start.offset+n[t][1].end.offset-n[t][1].start.offset)%3))continue;g=n[r][1].end.offset-n[r][1].start.offset>1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const p={...n[r][1].end},S={...n[t][1].start};Y(p,-g),Y(S,g),u={type:g>1?"strongSequence":"emphasisSequence",start:p,end:{...n[r][1].end}},m={type:g>1?"strongSequence":"emphasisSequence",start:{...n[t][1].start},end:S},o={type:g>1?"strongText":"emphasisText",start:{...n[r][1].end},end:{...n[t][1].start}},l={type:g>1?"strong":"emphasis",start:{...u.start},end:{...m.end}},n[r][1].end={...u.start},n[t][1].start={...m.end},c=[],n[r][1].end.offset-n[r][1].start.offset&&(c=b.push(c,[["enter",n[r][1],a],["exit",n[r][1],a]])),c=b.push(c,[["enter",l,a],["enter",u,a],["exit",u,a],["enter",o,a]]),c=b.push(c,$.resolveAll(a.parser.constructs.insideSpan.null,n.slice(r+1,t),a)),c=b.push(c,[["exit",o,a],["enter",m,a],["exit",m,a],["exit",l,a]]),n[t][1].end.offset-n[t][1].start.offset?(h=2,c=b.push(c,[["enter",n[t][1],a],["exit",n[t][1],a]])):h=0,b.splice(n,r-1,t-r+3,c),t=r+c.length-h-2;break}}for(t=-1;++t<n.length;)n[t][1].type==="attentionSequence"&&(n[t][1].type="data");return n}function pn(n,a){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,l=X.classifyCharacter(r);let o;return u;function u(g){return o=g,n.enter("attentionSequence"),m(g)}function m(g){if(g===o)return n.consume(g),m;const c=n.exit("attentionSequence"),h=X.classifyCharacter(g),p=!h||h===2&&l||t.includes(g),S=!l||l===2&&h||t.includes(r);return c._open=!!(o===42?p:p&&(l||!S)),c._close=!!(o===42?S:S&&(h||!p)),a(g)}}function Y(n,a){n.column+=a,n.offset+=a,n._bufferIndex+=a}const kn={name:"autolink",tokenize:cn};function cn(n,a,t){let r=0;return l;function l(s){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(s),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),o}function o(s){return k.asciiAlpha(s)?(n.consume(s),u):s===64?t(s):c(s)}function u(s){return s===43||s===45||s===46||k.asciiAlphanumeric(s)?(r=1,m(s)):c(s)}function m(s){return s===58?(n.consume(s),r=0,g):(s===43||s===45||s===46||k.asciiAlphanumeric(s))&&r++<32?(n.consume(s),m):(r=0,c(s))}function g(s){return s===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(s),n.exit("autolinkMarker"),n.exit("autolink"),a):s===null||s===32||s===60||k.asciiControl(s)?t(s):(n.consume(s),g)}function c(s){return s===64?(n.consume(s),h):k.asciiAtext(s)?(n.consume(s),c):t(s)}function h(s){return k.asciiAlphanumeric(s)?p(s):t(s)}function p(s){return s===46?(n.consume(s),r=0,h):s===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(s),n.exit("autolinkMarker"),n.exit("autolink"),a):S(s)}function S(s){if((s===45||k.asciiAlphanumeric(s))&&r++<63){const z=s===45?S:p;return n.consume(s),z}return t(s)}}const d={partial:!0,tokenize:hn};function hn(n,a,t){return r;function r(o){return k.markdownSpace(o)?E.factorySpace(n,l,"linePrefix")(o):l(o)}function l(o){return o===null||k.markdownLineEnding(o)?a(o):t(o)}}const tn={continuation:{tokenize:gn},exit:Sn,name:"blockQuote",tokenize:xn};function xn(n,a,t){const r=this;return l;function l(u){if(u===62){const m=r.containerState;return m.open||(n.enter("blockQuote",{_container:!0}),m.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(u),n.exit("blockQuoteMarker"),o}return t(u)}function o(u){return k.markdownSpace(u)?(n.enter("blockQuotePrefixWhitespace"),n.consume(u),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),a):(n.exit("blockQuotePrefix"),a(u))}}function gn(n,a,t){const r=this;return l;function l(u){return k.markdownSpace(u)?E.factorySpace(n,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):o(u)}function o(u){return n.attempt(tn,a,t)(u)}}function Sn(n){n.exit("blockQuote")}const wn={name:"characterEscape",tokenize:En};function En(n,a,t){return r;function r(o){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(o),n.exit("escapeMarker"),l}function l(o){return k.asciiPunctuation(o)?(n.enter("characterEscapeValue"),n.consume(o),n.exit("characterEscapeValue"),n.exit("characterEscape"),a):t(o)}}const yn={name:"characterReference",tokenize:zn};function zn(n,a,t){const r=this;let l=0,o,u;return m;function m(p){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(p),n.exit("characterReferenceMarker"),g}function g(p){return p===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(p),n.exit("characterReferenceMarkerNumeric"),c):(n.enter("characterReferenceValue"),o=31,u=k.asciiAlphanumeric,h(p))}function c(p){return p===88||p===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(p),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),o=6,u=k.asciiHexDigit,h):(n.enter("characterReferenceValue"),o=7,u=k.asciiDigit,h(p))}function h(p){if(p===59&&l){const S=n.exit("characterReferenceValue");return u===k.asciiAlphanumeric&&!ln.decodeNamedCharacterReference(r.sliceSerialize(S))?t(p):(n.enter("characterReferenceMarker"),n.consume(p),n.exit("characterReferenceMarker"),n.exit("characterReference"),a)}return u(p)&&l++<o?(n.consume(p),h):t(p)}}const Z={partial:!0,tokenize:fn},bn={concrete:!0,name:"codeFenced",tokenize:Ln};function Ln(n,a,t){const r=this,l={partial:!0,tokenize:R};let o=0,u=0,m;return g;function g(x){return c(x)}function c(x){const L=r.events[r.events.length-1];return o=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,m=x,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),h(x)}function h(x){return x===m?(u++,n.consume(x),h):u<3?t(x):(n.exit("codeFencedFenceSequence"),k.markdownSpace(x)?E.factorySpace(n,p,"whitespace")(x):p(x))}function p(x){return x===null||k.markdownLineEnding(x)?(n.exit("codeFencedFence"),r.interrupt?a(x):n.check(Z,F,q)(x)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),S(x))}function S(x){return x===null||k.markdownLineEnding(x)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),p(x)):k.markdownSpace(x)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),E.factorySpace(n,s,"whitespace")(x)):x===96&&x===m?t(x):(n.consume(x),S)}function s(x){return x===null||k.markdownLineEnding(x)?p(x):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),z(x))}function z(x){return x===null||k.markdownLineEnding(x)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),p(x)):x===96&&x===m?t(x):(n.consume(x),z)}function F(x){return n.attempt(l,q,D)(x)}function D(x){return n.enter("lineEnding"),n.consume(x),n.exit("lineEnding"),_}function _(x){return o>0&&k.markdownSpace(x)?E.factorySpace(n,I,"linePrefix",o+1)(x):I(x)}function I(x){return x===null||k.markdownLineEnding(x)?n.check(Z,F,q)(x):(n.enter("codeFlowValue"),f(x))}function f(x){return x===null||k.markdownLineEnding(x)?(n.exit("codeFlowValue"),I(x)):(n.consume(x),f)}function q(x){return n.exit("codeFenced"),a(x)}function R(x,L,M){let A=0;return P;function P(w){return x.enter("lineEnding"),x.consume(w),x.exit("lineEnding"),O}function O(w){return x.enter("codeFencedFence"),k.markdownSpace(w)?E.factorySpace(x,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):y(w)}function y(w){return w===m?(x.enter("codeFencedFenceSequence"),T(w)):M(w)}function T(w){return w===m?(A++,x.consume(w),T):A>=u?(x.exit("codeFencedFenceSequence"),k.markdownSpace(w)?E.factorySpace(x,H,"whitespace")(w):H(w)):M(w)}function H(w){return w===null||k.markdownLineEnding(w)?(x.exit("codeFencedFence"),L(w)):M(w)}}}function fn(n,a,t){const r=this;return l;function l(u){return u===null?t(u):(n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),o)}function o(u){return r.parser.lazy[r.now().line]?t(u):a(u)}}const An={name:"codeIndented",tokenize:Fn},Cn={partial:!0,tokenize:In};function Fn(n,a,t){const r=this;return l;function l(c){return n.enter("codeIndented"),E.factorySpace(n,o,"linePrefix",5)(c)}function o(c){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?u(c):t(c)}function u(c){return c===null?g(c):k.markdownLineEnding(c)?n.attempt(Cn,u,g)(c):(n.enter("codeFlowValue"),m(c))}function m(c){return c===null||k.markdownLineEnding(c)?(n.exit("codeFlowValue"),u(c)):(n.consume(c),m)}function g(c){return n.exit("codeIndented"),a(c)}}function In(n,a,t){const r=this;return l;function l(u){return r.parser.lazy[r.now().line]?t(u):k.markdownLineEnding(u)?(n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),l):E.factorySpace(n,o,"linePrefix",5)(u)}function o(u){const m=r.events[r.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?a(u):k.markdownLineEnding(u)?l(u):t(u)}}const Tn={name:"codeText",previous:Bn,resolve:Mn,tokenize:qn};function Mn(n){let a=n.length-4,t=3,r,l;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[a][1].type==="lineEnding"||n[a][1].type==="space")){for(r=t;++r<a;)if(n[r][1].type==="codeTextData"){n[t][1].type="codeTextPadding",n[a][1].type="codeTextPadding",t+=2,a-=2;break}}for(r=t-1,a++;++r<=a;)l===void 0?r!==a&&n[r][1].type!=="lineEnding"&&(l=r):(r===a||n[r][1].type==="lineEnding")&&(n[l][1].type="codeTextData",r!==l+2&&(n[l][1].end=n[r-1][1].end,n.splice(l+2,r-l-2),a-=r-l-2,r=l+2),l=void 0);return n}function Bn(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function qn(n,a,t){let r=0,l,o;return u;function u(p){return n.enter("codeText"),n.enter("codeTextSequence"),m(p)}function m(p){return p===96?(n.consume(p),r++,m):(n.exit("codeTextSequence"),g(p))}function g(p){return p===null?t(p):p===32?(n.enter("space"),n.consume(p),n.exit("space"),g):p===96?(o=n.enter("codeTextSequence"),l=0,h(p)):k.markdownLineEnding(p)?(n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),g):(n.enter("codeTextData"),c(p))}function c(p){return p===null||p===32||p===96||k.markdownLineEnding(p)?(n.exit("codeTextData"),g(p)):(n.consume(p),c)}function h(p){return p===96?(n.consume(p),l++,h):l===r?(n.exit("codeTextSequence"),n.exit("codeText"),a(p)):(o.type="codeTextData",c(p))}}const Pn={resolve:Dn,tokenize:Rn},On={partial:!0,tokenize:Hn};function Dn(n){return on.subtokenize(n),n}function Rn(n,a){let t;return r;function r(m){return n.enter("content"),t=n.enter("chunkContent",{contentType:"content"}),l(m)}function l(m){return m===null?o(m):k.markdownLineEnding(m)?n.check(On,u,o)(m):(n.consume(m),l)}function o(m){return n.exit("chunkContent"),n.exit("content"),a(m)}function u(m){return n.consume(m),n.exit("chunkContent"),t.next=n.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,l}}function Hn(n,a,t){const r=this;return l;function l(u){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),E.factorySpace(n,o,"linePrefix")}function o(u){if(u===null||k.markdownLineEnding(u))return t(u);const m=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?a(u):n.interrupt(r.parser.constructs.flow,t,a)(u)}}const Nn={name:"definition",tokenize:_n},Vn={partial:!0,tokenize:Qn};function _n(n,a,t){const r=this;let l;return o;function o(s){return n.enter("definition"),u(s)}function u(s){return nn.factoryLabel.call(r,n,m,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(s)}function m(s){return l=J.normalizeIdentifier(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),s===58?(n.enter("definitionMarker"),n.consume(s),n.exit("definitionMarker"),g):t(s)}function g(s){return k.markdownLineEndingOrSpace(s)?Q.factoryWhitespace(n,c)(s):c(s)}function c(s){return v.factoryDestination(n,h,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(s)}function h(s){return n.attempt(Vn,p,p)(s)}function p(s){return k.markdownSpace(s)?E.factorySpace(n,S,"whitespace")(s):S(s)}function S(s){return s===null||k.markdownLineEnding(s)?(n.exit("definition"),r.parser.defined.push(l),a(s)):t(s)}}function Qn(n,a,t){return r;function r(m){return k.markdownLineEndingOrSpace(m)?Q.factoryWhitespace(n,l)(m):t(m)}function l(m){return rn.factoryTitle(n,o,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(m)}function o(m){return k.markdownSpace(m)?E.factorySpace(n,u,"whitespace")(m):u(m)}function u(m){return m===null||k.markdownLineEnding(m)?a(m):t(m)}}const Un={name:"hardBreakEscape",tokenize:Wn};function Wn(n,a,t){return r;function r(o){return n.enter("hardBreakEscape"),n.consume(o),l}function l(o){return k.markdownLineEnding(o)?(n.exit("hardBreakEscape"),a(o)):t(o)}}const dn={name:"headingAtx",resolve:jn,tokenize:Gn};function jn(n,a){let t=n.length-2,r=3,l,o;return n[r][1].type==="whitespace"&&(r+=2),t-2>r&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&n[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(l={type:"atxHeadingText",start:n[r][1].start,end:n[t][1].end},o={type:"chunkText",start:n[r][1].start,end:n[t][1].end,contentType:"text"},b.splice(n,r,t-r+1,[["enter",l,a],["enter",o,a],["exit",o,a],["exit",l,a]])),n}function Gn(n,a,t){let r=0;return l;function l(h){return n.enter("atxHeading"),o(h)}function o(h){return n.enter("atxHeadingSequence"),u(h)}function u(h){return h===35&&r++<6?(n.consume(h),u):h===null||k.markdownLineEndingOrSpace(h)?(n.exit("atxHeadingSequence"),m(h)):t(h)}function m(h){return h===35?(n.enter("atxHeadingSequence"),g(h)):h===null||k.markdownLineEnding(h)?(n.exit("atxHeading"),a(h)):k.markdownSpace(h)?E.factorySpace(n,m,"whitespace")(h):(n.enter("atxHeadingText"),c(h))}function g(h){return h===35?(n.consume(h),g):(n.exit("atxHeadingSequence"),m(h))}function c(h){return h===null||h===35||k.markdownLineEndingOrSpace(h)?(n.exit("atxHeadingText"),m(h)):(n.consume(h),c)}}const Jn={concrete:!0,name:"htmlFlow",resolveTo:Yn,tokenize:Zn},Kn={partial:!0,tokenize:vn},Xn={partial:!0,tokenize:$n};function Yn(n){let a=n.length;for(;a--&&!(n[a][0]==="enter"&&n[a][1].type==="htmlFlow"););return a>1&&n[a-2][1].type==="linePrefix"&&(n[a][1].start=n[a-2][1].start,n[a+1][1].start=n[a-2][1].start,n.splice(a-2,2)),n}function Zn(n,a,t){const r=this;let l,o,u,m,g;return c;function c(i){return h(i)}function h(i){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(i),p}function p(i){return i===33?(n.consume(i),S):i===47?(n.consume(i),o=!0,F):i===63?(n.consume(i),l=3,r.interrupt?a:e):k.asciiAlpha(i)?(n.consume(i),u=String.fromCharCode(i),D):t(i)}function S(i){return i===45?(n.consume(i),l=2,s):i===91?(n.consume(i),l=5,m=0,z):k.asciiAlpha(i)?(n.consume(i),l=4,r.interrupt?a:e):t(i)}function s(i){return i===45?(n.consume(i),r.interrupt?a:e):t(i)}function z(i){const V="CDATA[";return i===V.charCodeAt(m++)?(n.consume(i),m===V.length?r.interrupt?a:y:z):t(i)}function F(i){return k.asciiAlpha(i)?(n.consume(i),u=String.fromCharCode(i),D):t(i)}function D(i){if(i===null||i===47||i===62||k.markdownLineEndingOrSpace(i)){const V=i===47,an=u.toLowerCase();return!V&&!o&&G.htmlRawNames.includes(an)?(l=1,r.interrupt?a(i):y(i)):G.htmlBlockNames.includes(u.toLowerCase())?(l=6,V?(n.consume(i),_):r.interrupt?a(i):y(i)):(l=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(i):o?I(i):f(i))}return i===45||k.asciiAlphanumeric(i)?(n.consume(i),u+=String.fromCharCode(i),D):t(i)}function _(i){return i===62?(n.consume(i),r.interrupt?a:y):t(i)}function I(i){return k.markdownSpace(i)?(n.consume(i),I):P(i)}function f(i){return i===47?(n.consume(i),P):i===58||i===95||k.asciiAlpha(i)?(n.consume(i),q):k.markdownSpace(i)?(n.consume(i),f):P(i)}function q(i){return i===45||i===46||i===58||i===95||k.asciiAlphanumeric(i)?(n.consume(i),q):R(i)}function R(i){return i===61?(n.consume(i),x):k.markdownSpace(i)?(n.consume(i),R):f(i)}function x(i){return i===null||i===60||i===61||i===62||i===96?t(i):i===34||i===39?(n.consume(i),g=i,L):k.markdownSpace(i)?(n.consume(i),x):M(i)}function L(i){return i===g?(n.consume(i),g=null,A):i===null||k.markdownLineEnding(i)?t(i):(n.consume(i),L)}function M(i){return i===null||i===34||i===39||i===47||i===60||i===61||i===62||i===96||k.markdownLineEndingOrSpace(i)?R(i):(n.consume(i),M)}function A(i){return i===47||i===62||k.markdownSpace(i)?f(i):t(i)}function P(i){return i===62?(n.consume(i),O):t(i)}function O(i){return i===null||k.markdownLineEnding(i)?y(i):k.markdownSpace(i)?(n.consume(i),O):t(i)}function y(i){return i===45&&l===2?(n.consume(i),B):i===60&&l===1?(n.consume(i),C):i===62&&l===4?(n.consume(i),N):i===63&&l===3?(n.consume(i),e):i===93&&l===5?(n.consume(i),W):k.markdownLineEnding(i)&&(l===6||l===7)?(n.exit("htmlFlowData"),n.check(Kn,j,T)(i)):i===null||k.markdownLineEnding(i)?(n.exit("htmlFlowData"),T(i)):(n.consume(i),y)}function T(i){return n.check(Xn,H,j)(i)}function H(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),w}function w(i){return i===null||k.markdownLineEnding(i)?T(i):(n.enter("htmlFlowData"),y(i))}function B(i){return i===45?(n.consume(i),e):y(i)}function C(i){return i===47?(n.consume(i),u="",U):y(i)}function U(i){if(i===62){const V=u.toLowerCase();return G.htmlRawNames.includes(V)?(n.consume(i),N):y(i)}return k.asciiAlpha(i)&&u.length<8?(n.consume(i),u+=String.fromCharCode(i),U):y(i)}function W(i){return i===93?(n.consume(i),e):y(i)}function e(i){return i===62?(n.consume(i),N):i===45&&l===2?(n.consume(i),e):y(i)}function N(i){return i===null||k.markdownLineEnding(i)?(n.exit("htmlFlowData"),j(i)):(n.consume(i),N)}function j(i){return n.exit("htmlFlow"),a(i)}}function $n(n,a,t){const r=this;return l;function l(u){return k.markdownLineEnding(u)?(n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),o):t(u)}function o(u){return r.parser.lazy[r.now().line]?t(u):a(u)}}function vn(n,a,t){return r;function r(l){return n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),n.attempt(d,a,t)}}const nr={name:"htmlText",tokenize:rr};function rr(n,a,t){const r=this;let l,o,u;return m;function m(e){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(e),g}function g(e){return e===33?(n.consume(e),c):e===47?(n.consume(e),R):e===63?(n.consume(e),f):k.asciiAlpha(e)?(n.consume(e),M):t(e)}function c(e){return e===45?(n.consume(e),h):e===91?(n.consume(e),o=0,z):k.asciiAlpha(e)?(n.consume(e),I):t(e)}function h(e){return e===45?(n.consume(e),s):t(e)}function p(e){return e===null?t(e):e===45?(n.consume(e),S):k.markdownLineEnding(e)?(u=p,C(e)):(n.consume(e),p)}function S(e){return e===45?(n.consume(e),s):p(e)}function s(e){return e===62?B(e):e===45?S(e):p(e)}function z(e){const N="CDATA[";return e===N.charCodeAt(o++)?(n.consume(e),o===N.length?F:z):t(e)}function F(e){return e===null?t(e):e===93?(n.consume(e),D):k.markdownLineEnding(e)?(u=F,C(e)):(n.consume(e),F)}function D(e){return e===93?(n.consume(e),_):F(e)}function _(e){return e===62?B(e):e===93?(n.consume(e),_):F(e)}function I(e){return e===null||e===62?B(e):k.markdownLineEnding(e)?(u=I,C(e)):(n.consume(e),I)}function f(e){return e===null?t(e):e===63?(n.consume(e),q):k.markdownLineEnding(e)?(u=f,C(e)):(n.consume(e),f)}function q(e){return e===62?B(e):f(e)}function R(e){return k.asciiAlpha(e)?(n.consume(e),x):t(e)}function x(e){return e===45||k.asciiAlphanumeric(e)?(n.consume(e),x):L(e)}function L(e){return k.markdownLineEnding(e)?(u=L,C(e)):k.markdownSpace(e)?(n.consume(e),L):B(e)}function M(e){return e===45||k.asciiAlphanumeric(e)?(n.consume(e),M):e===47||e===62||k.markdownLineEndingOrSpace(e)?A(e):t(e)}function A(e){return e===47?(n.consume(e),B):e===58||e===95||k.asciiAlpha(e)?(n.consume(e),P):k.markdownLineEnding(e)?(u=A,C(e)):k.markdownSpace(e)?(n.consume(e),A):B(e)}function P(e){return e===45||e===46||e===58||e===95||k.asciiAlphanumeric(e)?(n.consume(e),P):O(e)}function O(e){return e===61?(n.consume(e),y):k.markdownLineEnding(e)?(u=O,C(e)):k.markdownSpace(e)?(n.consume(e),O):A(e)}function y(e){return e===null||e===60||e===61||e===62||e===96?t(e):e===34||e===39?(n.consume(e),l=e,T):k.markdownLineEnding(e)?(u=y,C(e)):k.markdownSpace(e)?(n.consume(e),y):(n.consume(e),H)}function T(e){return e===l?(n.consume(e),l=void 0,w):e===null?t(e):k.markdownLineEnding(e)?(u=T,C(e)):(n.consume(e),T)}function H(e){return e===null||e===34||e===39||e===60||e===61||e===96?t(e):e===47||e===62||k.markdownLineEndingOrSpace(e)?A(e):(n.consume(e),H)}function w(e){return e===47||e===62||k.markdownLineEndingOrSpace(e)?A(e):t(e)}function B(e){return e===62?(n.consume(e),n.exit("htmlTextData"),n.exit("htmlText"),a):t(e)}function C(e){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(e),n.exit("lineEnding"),U}function U(e){return k.markdownSpace(e)?E.factorySpace(n,W,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):W(e)}function W(e){return n.enter("htmlTextData"),u(e)}}const K={name:"labelEnd",resolveAll:ur,resolveTo:ar,tokenize:lr},tr={tokenize:or},er={tokenize:mr},ir={tokenize:sr};function ur(n){let a=-1;const t=[];for(;++a<n.length;){const r=n[a][1];if(t.push(n[a]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const l=r.type==="labelImage"?4:2;r.type="data",a+=l}}return n.length!==t.length&&b.splice(n,0,n.length,t),n}function ar(n,a){let t=n.length,r=0,l,o,u,m;for(;t--;)if(l=n[t][1],o){if(l.type==="link"||l.type==="labelLink"&&l._inactive)break;n[t][0]==="enter"&&l.type==="labelLink"&&(l._inactive=!0)}else if(u){if(n[t][0]==="enter"&&(l.type==="labelImage"||l.type==="labelLink")&&!l._balanced&&(o=t,l.type!=="labelLink")){r=2;break}}else l.type==="labelEnd"&&(u=t);const g={type:n[o][1].type==="labelLink"?"link":"image",start:{...n[o][1].start},end:{...n[n.length-1][1].end}},c={type:"label",start:{...n[o][1].start},end:{...n[u][1].end}},h={type:"labelText",start:{...n[o+r+2][1].end},end:{...n[u-2][1].start}};return m=[["enter",g,a],["enter",c,a]],m=b.push(m,n.slice(o+1,o+r+3)),m=b.push(m,[["enter",h,a]]),m=b.push(m,$.resolveAll(a.parser.constructs.insideSpan.null,n.slice(o+r+4,u-3),a)),m=b.push(m,[["exit",h,a],n[u-2],n[u-1],["exit",c,a]]),m=b.push(m,n.slice(u+1)),m=b.push(m,[["exit",g,a]]),b.splice(n,o,n.length,m),n}function lr(n,a,t){const r=this;let l=r.events.length,o,u;for(;l--;)if((r.events[l][1].type==="labelImage"||r.events[l][1].type==="labelLink")&&!r.events[l][1]._balanced){o=r.events[l][1];break}return m;function m(S){return o?o._inactive?p(S):(u=r.parser.defined.includes(J.normalizeIdentifier(r.sliceSerialize({start:o.end,end:r.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(S),n.exit("labelMarker"),n.exit("labelEnd"),g):t(S)}function g(S){return S===40?n.attempt(tr,h,u?h:p)(S):S===91?n.attempt(er,h,u?c:p)(S):u?h(S):p(S)}function c(S){return n.attempt(ir,h,p)(S)}function h(S){return a(S)}function p(S){return o._balanced=!0,t(S)}}function or(n,a,t){return r;function r(p){return n.enter("resource"),n.enter("resourceMarker"),n.consume(p),n.exit("resourceMarker"),l}function l(p){return k.markdownLineEndingOrSpace(p)?Q.factoryWhitespace(n,o)(p):o(p)}function o(p){return p===41?h(p):v.factoryDestination(n,u,m,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function u(p){return k.markdownLineEndingOrSpace(p)?Q.factoryWhitespace(n,g)(p):h(p)}function m(p){return t(p)}function g(p){return p===34||p===39||p===40?rn.factoryTitle(n,c,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):h(p)}function c(p){return k.markdownLineEndingOrSpace(p)?Q.factoryWhitespace(n,h)(p):h(p)}function h(p){return p===41?(n.enter("resourceMarker"),n.consume(p),n.exit("resourceMarker"),n.exit("resource"),a):t(p)}}function mr(n,a,t){const r=this;return l;function l(m){return nn.factoryLabel.call(r,n,o,u,"reference","referenceMarker","referenceString")(m)}function o(m){return r.parser.defined.includes(J.normalizeIdentifier(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?a(m):t(m)}function u(m){return t(m)}}function sr(n,a,t){return r;function r(o){return n.enter("reference"),n.enter("referenceMarker"),n.consume(o),n.exit("referenceMarker"),l}function l(o){return o===93?(n.enter("referenceMarker"),n.consume(o),n.exit("referenceMarker"),n.exit("reference"),a):t(o)}}const pr={name:"labelStartImage",resolveAll:K.resolveAll,tokenize:kr};function kr(n,a,t){const r=this;return l;function l(m){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(m),n.exit("labelImageMarker"),o}function o(m){return m===91?(n.enter("labelMarker"),n.consume(m),n.exit("labelMarker"),n.exit("labelImage"),u):t(m)}function u(m){return m===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(m):a(m)}}const cr={name:"labelStartLink",resolveAll:K.resolveAll,tokenize:hr};function hr(n,a,t){const r=this;return l;function l(u){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(u),n.exit("labelMarker"),n.exit("labelLink"),o}function o(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(u):a(u)}}const xr={name:"lineEnding",tokenize:gr};function gr(n,a){return t;function t(r){return n.enter("lineEnding"),n.consume(r),n.exit("lineEnding"),E.factorySpace(n,a,"linePrefix")}}const en={name:"thematicBreak",tokenize:Sr};function Sr(n,a,t){let r=0,l;return o;function o(c){return n.enter("thematicBreak"),u(c)}function u(c){return l=c,m(c)}function m(c){return c===l?(n.enter("thematicBreakSequence"),g(c)):r>=3&&(c===null||k.markdownLineEnding(c))?(n.exit("thematicBreak"),a(c)):t(c)}function g(c){return c===l?(n.consume(c),r++,g):(n.exit("thematicBreakSequence"),k.markdownSpace(c)?E.factorySpace(n,m,"whitespace")(c):m(c))}}const un={continuation:{tokenize:zr},exit:Lr,name:"list",tokenize:yr},wr={partial:!0,tokenize:fr},Er={partial:!0,tokenize:br};function yr(n,a,t){const r=this,l=r.events[r.events.length-1];let o=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,u=0;return m;function m(s){const z=r.containerState.type||(s===42||s===43||s===45?"listUnordered":"listOrdered");if(z==="listUnordered"?!r.containerState.marker||s===r.containerState.marker:k.asciiDigit(s)){if(r.containerState.type||(r.containerState.type=z,n.enter(z,{_container:!0})),z==="listUnordered")return n.enter("listItemPrefix"),s===42||s===45?n.check(en,t,c)(s):c(s);if(!r.interrupt||s===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),g(s)}return t(s)}function g(s){return k.asciiDigit(s)&&++u<10?(n.consume(s),g):(!r.interrupt||u<2)&&(r.containerState.marker?s===r.containerState.marker:s===41||s===46)?(n.exit("listItemValue"),c(s)):t(s)}function c(s){return n.enter("listItemMarker"),n.consume(s),n.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||s,n.check(d,r.interrupt?t:h,n.attempt(wr,S,p))}function h(s){return r.containerState.initialBlankLine=!0,o++,S(s)}function p(s){return k.markdownSpace(s)?(n.enter("listItemPrefixWhitespace"),n.consume(s),n.exit("listItemPrefixWhitespace"),S):t(s)}function S(s){return r.containerState.size=o+r.sliceSerialize(n.exit("listItemPrefix"),!0).length,a(s)}}function zr(n,a,t){const r=this;return r.containerState._closeFlow=void 0,n.check(d,l,o);function l(m){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,E.factorySpace(n,a,"listItemIndent",r.containerState.size+1)(m)}function o(m){return r.containerState.furtherBlankLines||!k.markdownSpace(m)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,u(m)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n.attempt(Er,a,u)(m))}function u(m){return r.containerState._closeFlow=!0,r.interrupt=void 0,E.factorySpace(n,n.attempt(un,a,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(m)}}function br(n,a,t){const r=this;return E.factorySpace(n,l,"listItemIndent",r.containerState.size+1);function l(o){const u=r.events[r.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===r.containerState.size?a(o):t(o)}}function Lr(n){n.exit(this.containerState.type)}function fr(n,a,t){const r=this;return E.factorySpace(n,l,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function l(o){const u=r.events[r.events.length-1];return!k.markdownSpace(o)&&u&&u[1].type==="listItemPrefixWhitespace"?a(o):t(o)}}const Ar={name:"setextUnderline",resolveTo:Cr,tokenize:Fr};function Cr(n,a){let t=n.length,r,l,o;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){r=t;break}n[t][1].type==="paragraph"&&(l=t)}else n[t][1].type==="content"&&n.splice(t,1),!o&&n[t][1].type==="definition"&&(o=t);const u={type:"setextHeading",start:{...n[r][1].start},end:{...n[n.length-1][1].end}};return n[l][1].type="setextHeadingText",o?(n.splice(l,0,["enter",u,a]),n.splice(o+1,0,["exit",n[r][1],a]),n[r][1].end={...n[o][1].end}):n[r][1]=u,n.push(["exit",u,a]),n}function Fr(n,a,t){const r=this;let l;return o;function o(c){let h=r.events.length,p;for(;h--;)if(r.events[h][1].type!=="lineEnding"&&r.events[h][1].type!=="linePrefix"&&r.events[h][1].type!=="content"){p=r.events[h][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(n.enter("setextHeadingLine"),l=c,u(c)):t(c)}function u(c){return n.enter("setextHeadingLineSequence"),m(c)}function m(c){return c===l?(n.consume(c),m):(n.exit("setextHeadingLineSequence"),k.markdownSpace(c)?E.factorySpace(n,g,"lineSuffix")(c):g(c))}function g(c){return c===null||k.markdownLineEnding(c)?(n.exit("setextHeadingLine"),a(c)):t(c)}}exports.attention=mn;exports.autolink=kn;exports.blankLine=d;exports.blockQuote=tn;exports.characterEscape=wn;exports.characterReference=yn;exports.codeFenced=bn;exports.codeIndented=An;exports.codeText=Tn;exports.content=Pn;exports.definition=Nn;exports.hardBreakEscape=Un;exports.headingAtx=dn;exports.htmlFlow=Jn;exports.htmlText=nr;exports.labelEnd=K;exports.labelStartImage=pr;exports.labelStartLink=cr;exports.lineEnding=xr;exports.list=un;exports.setextUnderline=Ar;exports.thematicBreak=en;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const r=require("./vendor-micromark-util-combine-extensions-ymdtWEAr.cjs"),o=require("./vendor-micromark-extension-gfm-autolink-literal-BIi53Rt2.cjs"),n=require("./vendor-micromark-extension-gfm-footnote-CuTbB2_e.cjs"),t=require("./vendor-micromark-extension-gfm-strikethrough-CcuQ-v4I.cjs"),i=require("./vendor-micromark-extension-gfm-table-CoYdjDBk.cjs"),m=require("./vendor-micromark-extension-gfm-task-list-item-eGtf7dwN.cjs");function s(e){return r.combineExtensions([o.gfmAutolinkLiteral(),n.gfmFootnote(),t.gfmStrikethrough(e),i.gfmTable(),m.gfmTaskListItem()])}exports.gfm=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./vendor-micromark-util-character-ThpXZ0p5.cjs"),D={tokenize:y,partial:!0},x={tokenize:H,partial:!0},L={tokenize:R,partial:!0},P={tokenize:U,partial:!0},C={tokenize:q,partial:!0},S={name:"wwwAutolink",tokenize:T,previous:v},W={name:"protocolAutolink",tokenize:_,previous:E},A={name:"emailAutolink",tokenize:O,previous:I},p={};function b(){return{text:p}}let f=48;for(;f<123;)p[f]=A,f++,f===58?f=65:f===91&&(f=97);p[43]=A;p[45]=A;p[46]=A;p[95]=A;p[72]=[A,W];p[104]=[A,W];p[87]=[A,S];p[119]=[A,S];function O(n,m,l){const u=this;let a,e;return t;function t(i){return!h(i)||!I.call(u,u.previous)||g(u.events)?l(i):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),r(i))}function r(i){return h(i)?(n.consume(i),r):i===64?(n.consume(i),k):l(i)}function k(i){return i===46?n.check(C,w,s)(i):i===45||i===95||o.asciiAlphanumeric(i)?(e=!0,n.consume(i),k):w(i)}function s(i){return n.consume(i),a=!0,k}function w(i){return e&&a&&o.asciiAlpha(u.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),m(i)):l(i)}}function T(n,m,l){const u=this;return a;function a(t){return t!==87&&t!==119||!v.call(u,u.previous)||g(u.events)?l(t):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(D,n.attempt(x,n.attempt(L,e),l),l)(t))}function e(t){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),m(t)}}function _(n,m,l){const u=this;let a="",e=!1;return t;function t(i){return(i===72||i===104)&&E.call(u,u.previous)&&!g(u.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),a+=String.fromCodePoint(i),n.consume(i),r):l(i)}function r(i){if(o.asciiAlpha(i)&&a.length<5)return a+=String.fromCodePoint(i),n.consume(i),r;if(i===58){const z=a.toLowerCase();if(z==="http"||z==="https")return n.consume(i),k}return l(i)}function k(i){return i===47?(n.consume(i),e?s:(e=!0,k)):l(i)}function s(i){return i===null||o.asciiControl(i)||o.markdownLineEndingOrSpace(i)||o.unicodeWhitespace(i)||o.unicodePunctuation(i)?l(i):n.attempt(x,n.attempt(L,w),l)(i)}function w(i){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),m(i)}}function y(n,m,l){let u=0;return a;function a(t){return(t===87||t===119)&&u<3?(u++,n.consume(t),a):t===46&&u===3?(n.consume(t),e):l(t)}function e(t){return t===null?l(t):m(t)}}function H(n,m,l){let u,a,e;return t;function t(s){return s===46||s===95?n.check(P,k,r)(s):s===null||o.markdownLineEndingOrSpace(s)||o.unicodeWhitespace(s)||s!==45&&o.unicodePunctuation(s)?k(s):(e=!0,n.consume(s),t)}function r(s){return s===95?u=!0:(a=u,u=void 0),n.consume(s),t}function k(s){return a||u||!e?l(s):m(s)}}function R(n,m){let l=0,u=0;return a;function a(t){return t===40?(l++,n.consume(t),a):t===41&&u<l?e(t):t===33||t===34||t===38||t===39||t===41||t===42||t===44||t===46||t===58||t===59||t===60||t===63||t===93||t===95||t===126?n.check(P,m,e)(t):t===null||o.markdownLineEndingOrSpace(t)||o.unicodeWhitespace(t)?m(t):(n.consume(t),a)}function e(t){return t===41&&u++,n.consume(t),a}}function U(n,m,l){return u;function u(r){return r===33||r===34||r===39||r===41||r===42||r===44||r===46||r===58||r===59||r===63||r===95||r===126?(n.consume(r),u):r===38?(n.consume(r),e):r===93?(n.consume(r),a):r===60||r===null||o.markdownLineEndingOrSpace(r)||o.unicodeWhitespace(r)?m(r):l(r)}function a(r){return r===null||r===40||r===91||o.markdownLineEndingOrSpace(r)||o.unicodeWhitespace(r)?m(r):u(r)}function e(r){return o.asciiAlpha(r)?t(r):l(r)}function t(r){return r===59?(n.consume(r),u):o.asciiAlpha(r)?(n.consume(r),t):l(r)}}function q(n,m,l){return u;function u(e){return n.consume(e),a}function a(e){return o.asciiAlphanumeric(e)?l(e):m(e)}}function v(n){return n===null||n===40||n===42||n===95||n===91||n===93||n===126||o.markdownLineEndingOrSpace(n)}function E(n){return!o.asciiAlpha(n)}function I(n){return!(n===47||h(n))}function h(n){return n===43||n===45||n===46||n===95||o.asciiAlphanumeric(n)}function g(n){let m=n.length,l=!1;for(;m--;){const u=n[m][1];if((u.type==="labelLink"||u.type==="labelImage")&&!u._balanced){l=!0;break}if(u._gfmAutolinkLiteralWalkedInto){l=!1;break}}return n.length>0&&!l&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),l}exports.gfmAutolinkLiteral=b;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const b=require("./vendor-micromark-factory-space-BxE8R4nI.cjs"),s=require("./vendor-micromark-util-character-ThpXZ0p5.cjs"),p=require("./vendor-micromark-util-normalize-identifier-CZzRW9lF.cjs"),C=require("./vendor-micromark-core-commonmark-CHMYvCou.cjs"),S={tokenize:O,partial:!0};function d(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:z,continuation:{tokenize:D},exit:x}},text:{91:{name:"gfmFootnoteCall",tokenize:y},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:M,resolveTo:L}}}}function M(n,o,t){const r=this;let u=r.events.length;const l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;u--;){const m=r.events[u][1];if(m.type==="labelImage"){a=m;break}if(m.type==="gfmFootnoteCall"||m.type==="labelLink"||m.type==="label"||m.type==="image"||m.type==="link")break}return f;function f(m){if(!a||!a._balanced)return t(m);const g=p.normalizeIdentifier(r.sliceSerialize({start:a.end,end:r.now()}));return g.codePointAt(0)!==94||!l.includes(g.slice(1))?t(m):(n.enter("gfmFootnoteCallLabelMarker"),n.consume(m),n.exit("gfmFootnoteCallLabelMarker"),o(m))}}function L(n,o){let t=n.length;for(;t--;)if(n[t][1].type==="labelImage"&&n[t][0]==="enter"){n[t][1];break}n[t+1][1].type="data",n[t+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},n[t+3][1].start),end:Object.assign({},n[n.length-1][1].end)},u={type:"gfmFootnoteCallMarker",start:Object.assign({},n[t+3][1].end),end:Object.assign({},n[t+3][1].end)};u.end.column++,u.end.offset++,u.end._bufferIndex++;const l={type:"gfmFootnoteCallString",start:Object.assign({},u.end),end:Object.assign({},n[n.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},f=[n[t+1],n[t+2],["enter",r,o],n[t+3],n[t+4],["enter",u,o],["exit",u,o],["enter",l,o],["enter",a,o],["exit",a,o],["exit",l,o],n[n.length-2],n[n.length-1],["exit",r,o]];return n.splice(t,n.length-t+1,...f),n}function y(n,o,t){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l=0,a;return f;function f(i){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(i),n.exit("gfmFootnoteCallLabelMarker"),m}function m(i){return i!==94?t(i):(n.enter("gfmFootnoteCallMarker"),n.consume(i),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",g)}function g(i){if(l>999||i===93&&!a||i===null||i===91||s.markdownLineEndingOrSpace(i))return t(i);if(i===93){n.exit("chunkString");const F=n.exit("gfmFootnoteCallString");return u.includes(p.normalizeIdentifier(r.sliceSerialize(F)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(i),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),o):t(i)}return s.markdownLineEndingOrSpace(i)||(a=!0),l++,n.consume(i),i===92?k:g}function k(i){return i===91||i===92||i===93?(n.consume(i),l++,g):g(i)}}function z(n,o,t){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l,a=0,f;return m;function m(e){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(e),n.exit("gfmFootnoteDefinitionLabelMarker"),g}function g(e){return e===94?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(e),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",k):t(e)}function k(e){if(a>999||e===93&&!f||e===null||e===91||s.markdownLineEndingOrSpace(e))return t(e);if(e===93){n.exit("chunkString");const h=n.exit("gfmFootnoteDefinitionLabelString");return l=p.normalizeIdentifier(r.sliceSerialize(h)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(e),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),F}return s.markdownLineEndingOrSpace(e)||(f=!0),a++,n.consume(e),e===92?i:k}function i(e){return e===91||e===92||e===93?(n.consume(e),a++,k):k(e)}function F(e){return e===58?(n.enter("definitionMarker"),n.consume(e),n.exit("definitionMarker"),u.includes(l)||u.push(l),b.factorySpace(n,c,"gfmFootnoteDefinitionWhitespace")):t(e)}function c(e){return o(e)}}function D(n,o,t){return n.check(C.blankLine,o,n.attempt(S,o,t))}function x(n){n.exit("gfmFootnoteDefinition")}function O(n,o,t){const r=this;return b.factorySpace(n,u,"gfmFootnoteDefinitionIndent",5);function u(l){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?o(l):t(l)}}exports.gfmFootnote=d;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const g=require("./vendor-micromark-util-chunked-CCaF1jRh.cjs"),k=require("./vendor-micromark-util-classify-character-BXzv_u9-.cjs"),d=require("./vendor-micromark-util-resolve-all-B1vkj8Lj.cjs");function q(y){let h=(y||{}).singleTilde;const p={name:"strikethrough",tokenize:m,resolveAll:S};return h==null&&(h=!0),{text:{126:p},insideSpan:{null:[p]},attentionMarkers:{null:[126]}};function S(r,i){let e=-1;for(;++e<r.length;)if(r[e][0]==="enter"&&r[e][1].type==="strikethroughSequenceTemporary"&&r[e][1]._close){let t=e;for(;t--;)if(r[t][0]==="exit"&&r[t][1].type==="strikethroughSequenceTemporary"&&r[t][1]._open&&r[e][1].end.offset-r[e][1].start.offset===r[t][1].end.offset-r[t][1].start.offset){r[e][1].type="strikethroughSequence",r[t][1].type="strikethroughSequence";const u={type:"strikethrough",start:Object.assign({},r[t][1].start),end:Object.assign({},r[e][1].end)},s={type:"strikethroughText",start:Object.assign({},r[t][1].end),end:Object.assign({},r[e][1].start)},o=[["enter",u,i],["enter",r[t][1],i],["exit",r[t][1],i],["enter",s,i]],l=i.parser.constructs.insideSpan.null;l&&g.splice(o,o.length,0,d.resolveAll(l,r.slice(t+1,e),i)),g.splice(o,o.length,0,[["exit",s,i],["enter",r[e][1],i],["exit",r[e][1],i],["exit",u,i]]),g.splice(r,t-1,e-t+3,o),e=t+o.length-2;break}}for(e=-1;++e<r.length;)r[e][1].type==="strikethroughSequenceTemporary"&&(r[e][1].type="data");return r}function m(r,i,e){const t=this.previous,u=this.events;let s=0;return o;function o(n){return t===126&&u[u.length-1][1].type!=="characterEscape"?e(n):(r.enter("strikethroughSequenceTemporary"),l(n))}function l(n){const a=k.classifyCharacter(t);if(n===126)return s>1?e(n):(r.consume(n),s++,l);if(s<2&&!h)return e(n);const f=r.exit("strikethroughSequenceTemporary"),c=k.classifyCharacter(n);return f._open=!c||c===2&&!!a,f._close=!a||a===2&&!!c,i(n)}}}exports.gfmStrikethrough=q;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const k=require("./vendor-micromark-factory-space-BxE8R4nI.cjs"),f=require("./vendor-micromark-util-character-ThpXZ0p5.cjs");class P{constructor(){this.map=[]}add(i,n,r){I(this,i,n,r)}consume(i){if(this.map.sort(function(l,u){return l[0]-u[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(i.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),i.length=this.map[n][0];r.push(i.slice()),i.length=0;let a=r.pop();for(;a;){for(const l of a)i.push(l);a=r.pop()}this.map.length=0}}function I(t,i,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<t.map.length;){if(t.map[a][0]===i){t.map[a][1]+=n,t.map[a][2].push(...r);return}a+=1}t.map.push([i,n,r])}}function N(t,i){let n=!1;const r=[];for(;i<t.length;){const a=t[i];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(t[i+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(t[i-1][1].type==="tableDelimiterMarker"){const l=r.length-1;r[l]=r[l]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);i+=1}return r}function q(){return{flow:{null:{name:"table",tokenize:x,resolveAll:U}}}}function x(t,i,n){const r=this;let a=0,l=0,u;return d;function d(e){let g=r.events.length-1;for(;g>-1;){const L=r.events[g][1].type;if(L==="lineEnding"||L==="linePrefix")g--;else break}const B=g>-1?r.events[g][1].type:null,H=B==="tableHead"||B==="tableRow"?F:h;return H===F&&r.parser.lazy[r.now().line]?n(e):H(e)}function h(e){return t.enter("tableHead"),t.enter("tableRow"),o(e)}function o(e){return e===124||(u=!0,l+=1),p(e)}function p(e){return e===null?n(e):f.markdownLineEnding(e)?l>1?(l=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),w):n(e):f.markdownSpace(e)?k.factorySpace(t,p,"whitespace")(e):(l+=1,u&&(u=!1,a+=1),e===124?(t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),u=!0,p):(t.enter("data"),m(e)))}function m(e){return e===null||e===124||f.markdownLineEndingOrSpace(e)?(t.exit("data"),p(e)):(t.consume(e),e===92?b:m)}function b(e){return e===92||e===124?(t.consume(e),m):m(e)}function w(e){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(e):(t.enter("tableDelimiterRow"),u=!1,f.markdownSpace(e)?k.factorySpace(t,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):s(e))}function s(e){return e===45||e===58?j(e):e===124?(u=!0,t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),O):D(e)}function O(e){return f.markdownSpace(e)?k.factorySpace(t,j,"whitespace")(e):j(e)}function j(e){return e===58?(l+=1,u=!0,t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),T):e===45?(l+=1,T(e)):e===null||f.markdownLineEnding(e)?E(e):D(e)}function T(e){return e===45?(t.enter("tableDelimiterFiller"),C(e)):D(e)}function C(e){return e===45?(t.consume(e),C):e===58?(u=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),A):(t.exit("tableDelimiterFiller"),A(e))}function A(e){return f.markdownSpace(e)?k.factorySpace(t,E,"whitespace")(e):E(e)}function E(e){return e===124?s(e):e===null||f.markdownLineEnding(e)?!u||a!==l?D(e):(t.exit("tableDelimiterRow"),t.exit("tableHead"),i(e)):D(e)}function D(e){return n(e)}function F(e){return t.enter("tableRow"),R(e)}function R(e){return e===124?(t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),R):e===null||f.markdownLineEnding(e)?(t.exit("tableRow"),i(e)):f.markdownSpace(e)?k.factorySpace(t,R,"whitespace")(e):(t.enter("data"),S(e))}function S(e){return e===null||e===124||f.markdownLineEndingOrSpace(e)?(t.exit("data"),R(e)):(t.consume(e),e===92?z:S)}function z(e){return e===92||e===124?(t.consume(e),S):S(e)}}function U(t,i){let n=-1,r=!0,a=0,l=[0,0,0,0],u=[0,0,0,0],d=!1,h=0,o,p,m;const b=new P;for(;++n<t.length;){const w=t[n],s=w[1];w[0]==="enter"?s.type==="tableHead"?(d=!1,h!==0&&(M(b,i,h,o,p),p=void 0,h=0),o={type:"table",start:Object.assign({},s.start),end:Object.assign({},s.end)},b.add(n,0,[["enter",o,i]])):s.type==="tableRow"||s.type==="tableDelimiterRow"?(r=!0,m=void 0,l=[0,0,0,0],u=[0,n+1,0,0],d&&(d=!1,p={type:"tableBody",start:Object.assign({},s.start),end:Object.assign({},s.end)},b.add(n,0,[["enter",p,i]])),a=s.type==="tableDelimiterRow"?2:p?3:1):a&&(s.type==="data"||s.type==="tableDelimiterMarker"||s.type==="tableDelimiterFiller")?(r=!1,u[2]===0&&(l[1]!==0&&(u[0]=u[1],m=v(b,i,l,a,void 0,m),l=[0,0,0,0]),u[2]=n)):s.type==="tableCellDivider"&&(r?r=!1:(l[1]!==0&&(u[0]=u[1],m=v(b,i,l,a,void 0,m)),l=u,u=[l[1],n,0,0])):s.type==="tableHead"?(d=!0,h=n):s.type==="tableRow"||s.type==="tableDelimiterRow"?(h=n,l[1]!==0?(u[0]=u[1],m=v(b,i,l,a,n,m)):u[1]!==0&&(m=v(b,i,u,a,n,m)),a=0):a&&(s.type==="data"||s.type==="tableDelimiterMarker"||s.type==="tableDelimiterFiller")&&(u[3]=n)}for(h!==0&&M(b,i,h,o,p),b.consume(i.events),n=-1;++n<i.events.length;){const w=i.events[n];w[0]==="enter"&&w[1].type==="table"&&(w[1]._align=N(i.events,n))}return t}function v(t,i,n,r,a,l){const u=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",d="tableContent";n[0]!==0&&(l.end=Object.assign({},y(i.events,n[0])),t.add(n[0],0,[["exit",l,i]]));const h=y(i.events,n[1]);if(l={type:u,start:Object.assign({},h),end:Object.assign({},h)},t.add(n[1],0,[["enter",l,i]]),n[2]!==0){const o=y(i.events,n[2]),p=y(i.events,n[3]),m={type:d,start:Object.assign({},o),end:Object.assign({},p)};if(t.add(n[2],0,[["enter",m,i]]),r!==2){const b=i.events[n[2]],w=i.events[n[3]];if(b[1].end=Object.assign({},w[1].end),b[1].type="chunkText",b[1].contentType="text",n[3]>n[2]+1){const s=n[2]+1,O=n[3]-n[2]-1;t.add(s,O,[])}}t.add(n[3]+1,0,[["exit",m,i]])}return a!==void 0&&(l.end=Object.assign({},y(i.events,a)),t.add(a,0,[["exit",l,i]]),l=void 0),l}function M(t,i,n,r,a){const l=[],u=y(i.events,n);a&&(a.end=Object.assign({},u),l.push(["exit",a,i])),r.end=Object.assign({},u),l.push(["exit",r,i]),t.add(n+1,0,l)}function y(t,i){const n=t[i],r=n[0]==="enter"?"start":"end";return n[1][r]}exports.gfmTable=q;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const h=require("./vendor-micromark-factory-space-BxE8R4nI.cjs"),k=require("./vendor-micromark-util-character-ThpXZ0p5.cjs"),C={name:"tasklistCheck",tokenize:l};function m(){return{text:{91:C}}}function l(n,i,r){const a=this;return e;function e(t){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?r(t):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(t),n.exit("taskListCheckMarker"),u)}function u(t){return k.markdownLineEndingOrSpace(t)?(n.enter("taskListCheckValueUnchecked"),n.consume(t),n.exit("taskListCheckValueUnchecked"),s):t===88||t===120?(n.enter("taskListCheckValueChecked"),n.consume(t),n.exit("taskListCheckValueChecked"),s):r(t)}function s(t){return t===93?(n.enter("taskListCheckMarker"),n.consume(t),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),c):r(t)}function c(t){return k.markdownLineEnding(t)?i(t):k.markdownSpace(t)?n.check({tokenize:L},i,r)(t):r(t)}}function L(n,i,r){return h.factorySpace(n,a,"whitespace");function a(e){return e===null?r(e):i(e)}}exports.gfmTaskListItem=m;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const l=require("./vendor-micromark-util-character-ThpXZ0p5.cjs");function L(r,g,S,u,h,t,E,m,w){const C=w||Number.POSITIVE_INFINITY;let a=0;return N;function N(n){return n===60?(r.enter(u),r.enter(h),r.enter(t),r.consume(n),r.exit(t),I):n===null||n===32||n===41||l.asciiControl(n)?S(n):(r.enter(u),r.enter(E),r.enter(m),r.enter("chunkString",{contentType:"string"}),i(n))}function I(n){return n===62?(r.enter(t),r.consume(n),r.exit(t),r.exit(h),r.exit(u),g):(r.enter(m),r.enter("chunkString",{contentType:"string"}),x(n))}function x(n){return n===62?(r.exit("chunkString"),r.exit(m),I(n)):n===null||n===60||l.markdownLineEnding(n)?S(n):(r.consume(n),n===92?b:x)}function b(n){return n===60||n===62||n===92?(r.consume(n),x):x(n)}function i(n){return!a&&(n===null||n===41||l.markdownLineEndingOrSpace(n))?(r.exit("chunkString"),r.exit(m),r.exit(E),r.exit(u),g(n)):a<C&&n===40?(r.consume(n),a++,i):n===41?(r.consume(n),a--,i):n===null||n===32||n===40||l.asciiControl(n)?S(n):(r.consume(n),n===92?D:i)}function D(n){return n===40||n===41||n===92?(r.consume(n),i):i(n)}}exports.factoryDestination=L;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const g=require("./vendor-micromark-util-character-ThpXZ0p5.cjs");function L(r,h,o,m,i,x){const E=this;let t=0,l;return b;function b(n){return r.enter(m),r.enter(i),r.consume(n),r.exit(i),r.enter(x),a}function a(n){return t>999||n===null||n===91||n===93&&!l||n===94&&!t&&"_hiddenFootnoteSupport"in E.parser.constructs?o(n):n===93?(r.exit(x),r.enter(i),r.consume(n),r.exit(i),r.exit(m),h):g.markdownLineEnding(n)?(r.enter("lineEnding"),r.consume(n),r.exit("lineEnding"),a):(r.enter("chunkString",{contentType:"string"}),u(n))}function u(n){return n===null||n===91||n===93||g.markdownLineEnding(n)||t++>999?(r.exit("chunkString"),a(n)):(r.consume(n),l||(l=!g.markdownSpace(n)),n===92?k:u)}function k(n){return n===91||n===92||n===93?(r.consume(n),t++,u):u(n)}}exports.factoryLabel=L;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("./vendor-micromark-util-character-ThpXZ0p5.cjs");function s(t,n,i,e){const c=e?e-1:Number.POSITIVE_INFINITY;let o=0;return m;function m(r){return a.markdownSpace(r)?(t.enter(i),u(r)):n(r)}function u(r){return a.markdownSpace(r)&&o++<c?(t.consume(r),u):(t.exit(i),n(r))}}exports.factorySpace=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./vendor-micromark-factory-space-BxE8R4nI.cjs"),k=require("./vendor-micromark-util-character-ThpXZ0p5.cjs");function q(r,E,l,g,t,m){let i;return S;function S(n){return n===34||n===39||n===40?(r.enter(g),r.enter(t),r.consume(n),r.exit(t),i=n===40?41:n,x):l(n)}function x(n){return n===i?(r.enter(t),r.consume(n),r.exit(t),r.exit(g),E):(r.enter(m),a(n))}function a(n){return n===i?(r.exit(m),x(i)):n===null?l(n):k.markdownLineEnding(n)?(r.enter("lineEnding"),r.consume(n),r.exit("lineEnding"),o.factorySpace(r,a,"linePrefix")):(r.enter("chunkString",{contentType:"string"}),u(n))}function u(n){return n===i||n===null||k.markdownLineEnding(n)?(r.exit("chunkString"),a(n)):(r.consume(n),n===92?h:u)}function h(n){return n===i||n===92?(r.consume(n),u):u(n)}}exports.factoryTitle=q;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const u=require("./vendor-micromark-factory-space-BxE8R4nI.cjs"),t=require("./vendor-micromark-util-character-ThpXZ0p5.cjs");function c(n,a){let i;return e;function e(r){return t.markdownLineEnding(r)?(n.enter("lineEnding"),n.consume(r),n.exit("lineEnding"),i=!0,e):t.markdownSpace(r)?u.factorySpace(n,e,i?"linePrefix":"lineSuffix")(r):a(r)}}exports.factoryWhitespace=c;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const a=i(/[A-Za-z]/),u=i(/[\dA-Za-z]/),r=i(/[#-'*+\--9=?A-Z^-~]/);function s(n){return n!==null&&(n<32||n===127)}const e=i(/\d/),o=i(/[\dA-Fa-f]/),l=i(/[!-/:-@[-`{-~]/);function p(n){return n!==null&&n<-2}function g(n){return n!==null&&(n<0||n===32)}function A(n){return n===-2||n===-1||n===32}const d=i(new RegExp("\\p{P}|\\p{S}","u")),h=i(/\s/);function i(n){return c;function c(t){return t!==null&&t>-1&&n.test(String.fromCharCode(t))}}exports.asciiAlpha=a;exports.asciiAlphanumeric=u;exports.asciiAtext=r;exports.asciiControl=s;exports.asciiDigit=e;exports.asciiHexDigit=o;exports.asciiPunctuation=l;exports.markdownLineEnding=p;exports.markdownLineEndingOrSpace=g;exports.markdownSpace=A;exports.unicodePunctuation=d;exports.unicodeWhitespace=h;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function p(c,n,h,l){const u=c.length;let f=0,e;if(n<0?n=-n>u?0:u+n:n=n>u?u:n,h=h>0?h:0,l.length<1e4)e=Array.from(l),e.unshift(n,h),c.splice(...e);else for(h&&c.splice(n,h);f<l.length;)e=l.slice(f,f+1e4),e.unshift(n,0),c.splice(...e),f+=1e4,n+=1e4}function i(c,n){return c.length>0?(p(c,c.length,0,n),c):n}exports.push=i;exports.splice=p;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const i=require("./vendor-micromark-util-character-ThpXZ0p5.cjs");function n(r){if(r===null||i.markdownLineEndingOrSpace(r)||i.unicodeWhitespace(r))return 1;if(i.unicodePunctuation(r))return 2}exports.classifyCharacter=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const l=require("./vendor-micromark-util-chunked-CCaF1jRh.cjs"),a={}.hasOwnProperty;function f(e){const t={};let n=-1;for(;++n<e.length;)u(t,e[n]);return t}function u(e,t){let n;for(n in t){const i=(a.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let o;if(s)for(o in s){a.call(i,o)||(i[o]=[]);const r=s[o];h(i[o],Array.isArray(r)?r:r?[r]:[])}}}function h(e,t){let n=-1;const c=[];for(;++n<t.length;)(t[n].add==="after"?e:c).push(t[n]);l.splice(e,0,0,c)}exports.combineExtensions=f;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function t(r,c){const e=Number.parseInt(r,c);return e<9||e===11||e>13&&e<32||e>126&&e<160||e>55295&&e<57344||e>64975&&e<65008||(e&65535)===65535||(e&65535)===65534||e>1114111?"�":String.fromCodePoint(e)}exports.decodeNumericCharacterReference=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./vendor-decode-named-character-reference-CpsLJx05.cjs"),a=require("./vendor-micromark-util-decode-numeric-character-reference-sKQehvtv.cjs"),o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function i(r){return r.replace(o,h)}function h(r,c,e){if(c)return c;if(e.charCodeAt(0)===35){const d=e.charCodeAt(1),t=d===120||d===88;return a.decodeNumericCharacterReference(e.slice(t?2:1),t?16:10)}return n.decodeNamedCharacterReference(e)||r}exports.decodeString=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=["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"],t=["pre","script","style","textarea"];exports.htmlBlockNames=e;exports.htmlRawNames=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}exports.normalizeIdentifier=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function n(i,e,s){const o=[];let r=-1;for(;++r<i.length;){const l=i[r].resolveAll;l&&!o.includes(l)&&(e=l(e,s),o.push(l))}return e}exports.resolveAll=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("./vendor-micromark-util-character-ThpXZ0p5.cjs");function h(i){const s=[];let r=-1,n=0,o=0;for(;++r<i.length;){const e=i.charCodeAt(r);let t="";if(e===37&&a.asciiAlphanumeric(i.charCodeAt(r+1))&&a.asciiAlphanumeric(i.charCodeAt(r+2)))o=2;else if(e<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(e))||(t=String.fromCharCode(e));else if(e>55295&&e<57344){const c=i.charCodeAt(r+1);e<56320&&c>56319&&c<57344?(t=String.fromCharCode(e,c),o=1):t="�"}else t=String.fromCharCode(e);t&&(s.push(i.slice(n,r),encodeURIComponent(t)),n=r+o+1,t=""),o&&(r+=o,o=0)}return s.join("")+i.slice(n)}exports.normalizeUri=h;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const N=require("./vendor-micromark-util-chunked-CCaF1jRh.cjs");class _{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,e){const s=e??Number.POSITIVE_INFINITY;return s<this.left.length?this.left.slice(t,s):t>this.left.length?this.right.slice(this.right.length-s+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-s+this.left.length).reverse())}splice(t,e,s){const f=e||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-f,Number.POSITIVE_INFINITY);return s&&I(this.left,s),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),I(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),I(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const e=this.left.splice(t,Number.POSITIVE_INFINITY);I(this.right,e.reverse())}else{const e=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);I(this.left,e.reverse())}}}function I(g,t){let e=0;if(t.length<1e4)g.push(...t);else for(;e<t.length;)g.push(...t.slice(e,e+1e4)),e+=1e4}function y(g){const t={};let e=-1,s,f,i,h,u,l,c;const o=new _(g);for(;++e<o.length;){for(;e in t;)e=t[e];if(s=o.get(e),e&&s[1].type==="chunkFlow"&&o.get(e-1)[1].type==="listItemPrefix"&&(l=s[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(s[0]==="enter")s[1].contentType&&(Object.assign(t,b(o,e)),e=t[e],c=!0);else if(s[1]._container){for(i=e,f=void 0;i--;)if(h=o.get(i),h[1].type==="lineEnding"||h[1].type==="lineEndingBlank")h[0]==="enter"&&(f&&(o.get(f)[1].type="lineEndingBlank"),h[1].type="lineEnding",f=i);else if(!(h[1].type==="linePrefix"||h[1].type==="listItemIndent"))break;f&&(s[1].end={...o.get(f)[1].start},u=o.slice(f,e),u.unshift(s),o.splice(f,e-f+1,u))}}return N.splice(g,0,Number.POSITIVE_INFINITY,o.slice(0)),!c}function b(g,t){const e=g.get(t)[1],s=g.get(t)[2];let f=t-1;const i=[];let h=e._tokenizer;h||(h=s.parser[e.contentType](e.start),e._contentTypeTextTrailing&&(h._contentTypeTextTrailing=!0));const u=h.events,l=[],c={};let o,m,r=-1,n=e,a=0,d=0;const p=[d];for(;n;){for(;g.get(++f)[1]!==n;);i.push(f),n._tokenizer||(o=s.sliceStream(n),n.next||o.push(null),m&&h.defineSkip(n.start),n._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=!0),h.write(o),n._isInFirstContentOfListItem&&(h._gfmTasklistFirstContentOfListItem=void 0)),m=n,n=n.next}for(n=e;++r<u.length;)u[r][0]==="exit"&&u[r-1][0]==="enter"&&u[r][1].type===u[r-1][1].type&&u[r][1].start.line!==u[r][1].end.line&&(d=r+1,p.push(d),n._tokenizer=void 0,n.previous=void 0,n=n.next);for(h.events=[],n?(n._tokenizer=void 0,n.previous=void 0):p.pop(),r=p.length;r--;){const k=u.slice(p[r],p[r+1]),T=i.pop();l.push([T,T+k.length-1]),g.splice(T,2,k)}for(l.reverse(),r=-1;++r<l.length;)c[a+l[r][0]]=a+l[r][1],a+=l[r][1]-l[r][0]-1;return c}exports.subtokenize=y;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var i,f;function g(){if(f)return i;f=1;var u=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function O(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function j(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var s={},r=0;r<10;r++)s["_"+String.fromCharCode(r)]=r;var a=Object.getOwnPropertyNames(s).map(function(e){return s[e]});if(a.join("")!=="0123456789")return!1;var t={};return"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),Object.keys(Object.assign({},t)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return i=j()?Object.assign:function(n,s){for(var r,a=O(n),t,e=1;e<arguments.length;e++){r=Object(arguments[e]);for(var c in r)b.call(r,c)&&(a[c]=r[c]);if(u){t=u(r);for(var o=0;o<t.length;o++)l.call(r,t[o])&&(a[t[o]]=r[t[o]])}}return a},i}exports.requireObjectAssign=g;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const ye=require("./vendor-react-CzqSQR9J.cjs"),Z=require("./vendor-react-is-DK4cIQ7j.cjs"),ve=require("./vendor-object-assign-5rXDT7QN.cjs");var m={exports:{}},D,J;function M(){if(J)return D;J=1;var O="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return D=O,D}var Y,z;function $(){return z||(z=1,Y=Function.call.bind(Object.prototype.hasOwnProperty)),Y}var U,X;function de(){if(X)return U;X=1;var O=function(){};if(process.env.NODE_ENV!=="production"){var I=M(),l={},p=$();O=function(y){var P="Warning: "+y;typeof console<"u"&&console.error(P);try{throw new Error(P)}catch{}}}function h(y,P,E,R,_){if(process.env.NODE_ENV!=="production"){for(var w in y)if(p(y,w)){var T;try{if(typeof y[w]!="function"){var x=Error((R||"React class")+": "+E+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}T=y[w](P,w,R,E,null,I)}catch(W){T=W}if(T&&!(T instanceof Error)&&O((R||"React class")+": type specification of "+E+" `"+w+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof T+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),T instanceof Error&&!(T.message in l)){l[T.message]=!0;var j=_?_():"";O("Failed "+E+" type: "+T.message+(j??""))}}}}return h.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(l={})},U=h,U}var B,G;function le(){if(G)return B;G=1;var O=Z.requireReactIs(),I=ve.requireObjectAssign(),l=M(),p=$(),h=de(),y=function(){};process.env.NODE_ENV!=="production"&&(y=function(E){var R="Warning: "+E;typeof console<"u"&&console.error(R);try{throw new Error(R)}catch{}});function P(){return null}return B=function(E,R){var _=typeof Symbol=="function"&&Symbol.iterator,w="@@iterator";function T(e){var r=e&&(_&&e[_]||e[w]);if(typeof r=="function")return r}var x="<<anonymous>>",j={array:q("array"),bigint:q("bigint"),bool:q("boolean"),func:q("function"),number:q("number"),object:q("object"),string:q("string"),symbol:q("symbol"),any:F(),arrayOf:N,element:ee(),elementType:re(),instanceOf:ne,node:oe(),objectOf:ie,oneOf:te,oneOfType:ae,shape:ue,exact:se};function W(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function v(e,r){this.message=e,this.data=r&&typeof r=="object"?r:{},this.stack=""}v.prototype=Error.prototype;function g(e){if(process.env.NODE_ENV!=="production")var r={},o=0;function i(u,t,a,s,c,f,b){if(s=s||x,f=f||a,b!==l){if(R){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var A=s+":"+a;!r[A]&&o<3&&(y("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+s+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[A]=!0,o++)}}return t[a]==null?u?t[a]===null?new v("The "+c+" `"+f+"` is marked as required "+("in `"+s+"`, but its value is `null`.")):new v("The "+c+" `"+f+"` is marked as required in "+("`"+s+"`, but its value is `undefined`.")):null:e(t,a,s,c,f)}var n=i.bind(null,!1);return n.isRequired=i.bind(null,!0),n}function q(e){function r(o,i,n,u,t,a){var s=o[i],c=S(s);if(c!==e){var f=C(s);return new v("Invalid "+u+" `"+t+"` of type "+("`"+f+"` supplied to `"+n+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return g(r)}function F(){return g(P)}function N(e){function r(o,i,n,u,t){if(typeof e!="function")return new v("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var a=o[i];if(!Array.isArray(a)){var s=S(a);return new v("Invalid "+u+" `"+t+"` of type "+("`"+s+"` supplied to `"+n+"`, expected an array."))}for(var c=0;c<a.length;c++){var f=e(a,c,n,u,t+"["+c+"]",l);if(f instanceof Error)return f}return null}return g(r)}function ee(){function e(r,o,i,n,u){var t=r[o];if(!E(t)){var a=S(t);return new v("Invalid "+n+" `"+u+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement."))}return null}return g(e)}function re(){function e(r,o,i,n,u){var t=r[o];if(!O.isValidElementType(t)){var a=S(t);return new v("Invalid "+n+" `"+u+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement type."))}return null}return g(e)}function ne(e){function r(o,i,n,u,t){if(!(o[i]instanceof e)){var a=e.name||x,s=pe(o[i]);return new v("Invalid "+u+" `"+t+"` of type "+("`"+s+"` supplied to `"+n+"`, expected ")+("instance of `"+a+"`."))}return null}return g(r)}function te(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&(arguments.length>1?y("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):y("Invalid argument supplied to oneOf, expected an array.")),P;function r(o,i,n,u,t){for(var a=o[i],s=0;s<e.length;s++)if(W(a,e[s]))return null;var c=JSON.stringify(e,function(b,d){var A=C(d);return A==="symbol"?String(d):d});return new v("Invalid "+u+" `"+t+"` of value `"+String(a)+"` "+("supplied to `"+n+"`, expected one of "+c+"."))}return g(r)}function ie(e){function r(o,i,n,u,t){if(typeof e!="function")return new v("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var a=o[i],s=S(a);if(s!=="object")return new v("Invalid "+u+" `"+t+"` of type "+("`"+s+"` supplied to `"+n+"`, expected an object."));for(var c in a)if(p(a,c)){var f=e(a,c,n,u,t+"."+c,l);if(f instanceof Error)return f}return null}return g(r)}function ae(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&y("Invalid argument supplied to oneOfType, expected an instance of array."),P;for(var r=0;r<e.length;r++){var o=e[r];if(typeof o!="function")return y("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ce(o)+" at index "+r+"."),P}function i(n,u,t,a,s){for(var c=[],f=0;f<e.length;f++){var b=e[f],d=b(n,u,t,a,s,l);if(d==null)return null;d.data&&p(d.data,"expectedType")&&c.push(d.data.expectedType)}var A=c.length>0?", expected one of type ["+c.join(", ")+"]":"";return new v("Invalid "+a+" `"+s+"` supplied to "+("`"+t+"`"+A+"."))}return g(i)}function oe(){function e(r,o,i,n,u){return k(r[o])?null:new v("Invalid "+n+" `"+u+"` supplied to "+("`"+i+"`, expected a ReactNode."))}return g(e)}function H(e,r,o,i,n){return new v((e||"React class")+": "+r+" type `"+o+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+n+"`.")}function ue(e){function r(o,i,n,u,t){var a=o[i],s=S(a);if(s!=="object")return new v("Invalid "+u+" `"+t+"` of type `"+s+"` "+("supplied to `"+n+"`, expected `object`."));for(var c in e){var f=e[c];if(typeof f!="function")return H(n,u,t,c,C(f));var b=f(a,c,n,u,t+"."+c,l);if(b)return b}return null}return g(r)}function se(e){function r(o,i,n,u,t){var a=o[i],s=S(a);if(s!=="object")return new v("Invalid "+u+" `"+t+"` of type `"+s+"` "+("supplied to `"+n+"`, expected `object`."));var c=I({},o[i],e);for(var f in c){var b=e[f];if(p(e,f)&&typeof b!="function")return H(n,u,t,f,C(b));if(!b)return new v("Invalid "+u+" `"+t+"` key `"+f+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(o[i],null," ")+`
|
|
2
|
-
Valid keys: `+JSON.stringify(Object.keys(e),null," "));var d=b(a,f,n,u,t+"."+f,l);if(d)return d}return null}return g(r)}function k(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(k);if(e===null||E(e))return!0;var r=T(e);if(r){var o=r.call(e),i;if(r!==e.entries){for(;!(i=o.next()).done;)if(!k(i.value))return!1}else for(;!(i=o.next()).done;){var n=i.value;if(n&&!k(n[1]))return!1}}else return!1;return!0;default:return!1}}function fe(e,r){return e==="symbol"?!0:r?r["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&r instanceof Symbol:!1}function S(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":fe(r,e)?"symbol":r}function C(e){if(typeof e>"u"||e===null)return""+e;var r=S(e);if(r==="object"){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function ce(e){var r=C(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}function pe(e){return!e.constructor||!e.constructor.name?x:e.constructor.name}return j.checkPropTypes=h,j.resetWarningCache=h.resetWarningCache,j.PropTypes=j,j},B}var L,K;function he(){if(K)return L;K=1;var O=M();function I(){}function l(){}return l.resetWarningCache=I,L=function(){function p(P,E,R,_,w,T){if(T!==O){var x=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw x.name="Invariant Violation",x}}p.isRequired=p;function h(){return p}var y={array:p,bigint:p,bool:p,func:p,number:p,object:p,string:p,symbol:p,any:p,arrayOf:h,element:p,elementType:p,instanceOf:h,node:p,objectOf:h,oneOf:h,oneOfType:h,shape:h,exact:h,checkPropTypes:l,resetWarningCache:I};return y.PropTypes=y,y},L}var Q;function V(){if(Q)return m.exports;if(Q=1,process.env.NODE_ENV!=="production"){var O=Z.requireReactIs(),I=!0;m.exports=le()(O.isElement,I)}else m.exports=he()();return m.exports}var Te=V();const ge=ye.getDefaultExportFromCjs(Te);exports.PropTypes=ge;exports.requirePropTypes=V;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";class f{constructor(e,a,u){this.normal=a,this.property=e,u&&(this.space=u)}}f.prototype.normal={};f.prototype.property={};f.prototype.space=void 0;function w(o,e){const a={},u={};for(const p of o)Object.assign(a,p.property),Object.assign(u,p.normal);return new f(a,u,e)}function v(o){return o.toLowerCase()}class i{constructor(e,a){this.attribute=a,this.property=e}}i.prototype.attribute="";i.prototype.booleanish=!1;i.prototype.boolean=!1;i.prototype.commaOrSpaceSeparated=!1;i.prototype.commaSeparated=!1;i.prototype.defined=!1;i.prototype.mustUseProperty=!1;i.prototype.number=!1;i.prototype.overloadedBoolean=!1;i.prototype.property="";i.prototype.spaceSeparated=!1;i.prototype.space=void 0;let T=0;const l=g(),r=g(),k=g(),n=g(),t=g(),h=g(),c=g();function g(){return 2**++T}const S=Object.freeze(Object.defineProperty({__proto__:null,boolean:l,booleanish:r,commaOrSpaceSeparated:c,commaSeparated:h,number:n,overloadedBoolean:k,spaceSeparated:t},Symbol.toStringTag,{value:"Module"})),y=Object.keys(S);class b extends i{constructor(e,a,u,p){let s=-1;if(super(e,a),x(this,"space",p),typeof u=="number")for(;++s<y.length;){const d=y[s];x(this,y[s],(u&S[d])===S[d])}}}b.prototype.defined=!0;function x(o,e,a){a&&(o[e]=a)}function m(o){const e={},a={};for(const[u,p]of Object.entries(o.properties)){const s=new b(u,o.transform(o.attributes||{},u),p,o.space);o.mustUseProperty&&o.mustUseProperty.includes(u)&&(s.mustUseProperty=!0),e[u]=s,a[v(u)]=u,a[v(s.attribute)]=u}return new f(e,a,o.space)}const L=m({properties:{ariaActiveDescendant:null,ariaAtomic:r,ariaAutoComplete:null,ariaBusy:r,ariaChecked:r,ariaColCount:n,ariaColIndex:n,ariaColSpan:n,ariaControls:t,ariaCurrent:null,ariaDescribedBy:t,ariaDetails:null,ariaDisabled:r,ariaDropEffect:t,ariaErrorMessage:null,ariaExpanded:r,ariaFlowTo:t,ariaGrabbed:r,ariaHasPopup:null,ariaHidden:r,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:t,ariaLevel:n,ariaLive:null,ariaModal:r,ariaMultiLine:r,ariaMultiSelectable:r,ariaOrientation:null,ariaOwns:t,ariaPlaceholder:null,ariaPosInSet:n,ariaPressed:r,ariaReadOnly:r,ariaRelevant:null,ariaRequired:r,ariaRoleDescription:t,ariaRowCount:n,ariaRowIndex:n,ariaRowSpan:n,ariaSelected:r,ariaSetSize:n,ariaSort:null,ariaValueMax:n,ariaValueMin:n,ariaValueNow:n,ariaValueText:null,role:null},transform(o,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function P(o,e){return e in o?o[e]:e}function D(o,e){return P(o,e.toLowerCase())}const A=m({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:t,accessKey:t,action:null,allow:null,allowFullScreen:l,allowPaymentRequest:l,allowUserMedia:l,alt:null,as:null,async:l,autoCapitalize:null,autoComplete:t,autoFocus:l,autoPlay:l,blocking:t,capture:null,charSet:null,checked:l,cite:null,className:t,cols:n,colSpan:null,content:null,contentEditable:r,controls:l,controlsList:t,coords:n|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:l,defer:l,dir:null,dirName:null,disabled:l,download:k,draggable:r,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:l,formTarget:null,headers:t,height:n,hidden:k,high:n,href:null,hrefLang:null,htmlFor:t,httpEquiv:t,id:null,imageSizes:null,imageSrcSet:null,inert:l,inputMode:null,integrity:null,is:null,isMap:l,itemId:null,itemProp:t,itemRef:t,itemScope:l,itemType:t,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:l,low:n,manifest:null,max:null,maxLength:n,media:null,method:null,min:null,minLength:n,multiple:l,muted:l,name:null,nonce:null,noModule:l,noValidate:l,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:l,optimum:n,pattern:null,ping:t,placeholder:null,playsInline:l,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:l,referrerPolicy:null,rel:t,required:l,reversed:l,rows:n,rowSpan:n,sandbox:t,scope:null,scoped:l,seamless:l,selected:l,shadowRootClonable:l,shadowRootDelegatesFocus:l,shadowRootMode:null,shape:null,size:n,sizes:null,slot:null,span:n,spellCheck:r,src:null,srcDoc:null,srcLang:null,srcSet:null,start:n,step:null,style:null,tabIndex:n,target:null,title:null,translate:null,type:null,typeMustMatch:l,useMap:null,value:r,width:n,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:t,axis:null,background:null,bgColor:null,border:n,borderColor:null,bottomMargin:n,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:l,declare:l,event:null,face:null,frame:null,frameBorder:null,hSpace:n,leftMargin:n,link:null,longDesc:null,lowSrc:null,marginHeight:n,marginWidth:n,noResize:l,noHref:l,noShade:l,noWrap:l,object:null,profile:null,prompt:null,rev:null,rightMargin:n,rules:null,scheme:null,scrolling:r,standby:null,summary:null,text:null,topMargin:n,valueType:null,version:null,vAlign:null,vLink:null,vSpace:n,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:l,disableRemotePlayback:l,prefix:null,property:null,results:n,security:null,unselectable:null},space:"html",transform:D}),E=m({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:c,accentHeight:n,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:n,amplitude:n,arabicForm:null,ascent:n,attributeName:null,attributeType:null,azimuth:n,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:n,by:null,calcMode:null,capHeight:n,className:t,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:n,diffuseConstant:n,direction:null,display:null,dur:null,divisor:n,dominantBaseline:null,download:l,dx:null,dy:null,edgeMode:null,editable:null,elevation:n,enableBackground:null,end:null,event:null,exponent:n,externalResourcesRequired:null,fill:null,fillOpacity:n,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:n,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:n,horizOriginX:n,horizOriginY:n,id:null,ideographic:n,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:n,k:n,k1:n,k2:n,k3:n,k4:n,kernelMatrix:c,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:n,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:n,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:n,overlineThickness:n,paintOrder:null,panose1:null,path:null,pathLength:n,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:t,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:n,pointsAtY:n,pointsAtZ:n,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:c,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:c,rev:c,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:c,requiredFeatures:c,requiredFonts:c,requiredFormats:c,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:n,specularExponent:n,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:n,strikethroughThickness:n,string:null,stroke:null,strokeDashArray:c,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:n,strokeOpacity:n,strokeWidth:null,style:null,surfaceScale:n,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:c,tabIndex:n,tableValues:null,target:null,targetX:n,targetY:n,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:c,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:n,underlineThickness:n,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:n,values:null,vAlphabetic:n,vMathematical:n,vectorEffect:null,vHanging:n,vIdeographic:n,version:null,vertAdvY:n,vertOriginX:n,vertOriginY:n,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:n,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:P}),M=m({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(o,e){return"xlink:"+e.slice(5).toLowerCase()}}),O=m({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:D}),R=m({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(o,e){return"xml:"+e.slice(3).toLowerCase()}}),U={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},z=/[A-Z]/g,C=/-[a-z]/g,I=/^data[-\w.:]+$/i;function B(o,e){const a=v(e);let u=e,p=i;if(a in o.normal)return o.property[o.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&I.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(C,F);u="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!C.test(s)){let d=s.replace(z,H);d.charAt(0)!=="-"&&(d="-"+d),e="data"+d}}p=b}return new p(u,e)}function H(o){return"-"+o.toLowerCase()}function F(o){return o.charAt(1).toUpperCase()}const V=w([L,A,M,O,R],"html"),j=w([L,E,M,O,R],"svg");exports.find=B;exports.hastToReact=U;exports.html=V;exports.svg=j;
|