@tempots/beatui 0.53.0 → 0.54.0

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.
Files changed (105) hide show
  1. package/dist/{2019-BiSy3dQP.cjs → 2019-5RIscTOv.cjs} +1 -1
  2. package/dist/{2019-Djx2f_nO.js → 2019-i1LHsYdK.js} +2 -2
  3. package/dist/{2020-BgJxYgaO.cjs → 2020-DeCezjWf.cjs} +1 -1
  4. package/dist/{2020-C1wOj1GM.js → 2020-S7qY95wq.js} +2 -2
  5. package/dist/{ar-BEbbig_x.cjs → ar-BqnDsD9v.cjs} +1 -1
  6. package/dist/{ar-Djuleurf.js → ar-DrBp_VwJ.js} +7 -12
  7. package/dist/auth/index.cjs.js +1 -1
  8. package/dist/auth/index.es.js +353 -360
  9. package/dist/{de-E8u7Hbc0.js → de-B5oZoraI.js} +5 -10
  10. package/dist/{de-Br3MCGtv.cjs → de-C_N0wtxQ.cjs} +1 -1
  11. package/dist/{es-BN0iaBgJ.js → es-DRc5dc_G.js} +1 -6
  12. package/dist/{es-CAwGEj_N.cjs → es-JnLMDtzg.cjs} +1 -1
  13. package/dist/{fa-3Qfo8ZXh.js → fa-B0VDVs5B.js} +6 -11
  14. package/dist/{fa-CEz8tGnY.cjs → fa-BC16IdRL.cjs} +1 -1
  15. package/dist/{fr-Dbn62iEL.cjs → fr-BupZ6YnU.cjs} +1 -1
  16. package/dist/{fr-D1ndk0A5.js → fr-DXlfWwI6.js} +8 -13
  17. package/dist/{he-CIV7rntE.js → he-BX-Az8As.js} +8 -13
  18. package/dist/{he-OtaTg9wg.cjs → he-C-aQ2yoO.cjs} +1 -1
  19. package/dist/{hi-CnbarThz.cjs → hi-L3y3Aedb.cjs} +1 -1
  20. package/dist/{hi-tzWREPMb.js → hi-w4uL7LN1.js} +8 -13
  21. package/dist/{index-nRXzduHm.cjs → index-B7gVxeO9.cjs} +1 -1
  22. package/dist/{index-CBT2SLat.js → index-BI5w0jSz.js} +223 -224
  23. package/dist/{index-B9y4N11q.js → index-BnQvOXw8.js} +3019 -3004
  24. package/dist/{index-ClFVnBUS.cjs → index-Bv2gn_kV.cjs} +3 -3
  25. package/dist/{index-BjQW8AsK.cjs → index-CFOxIBGJ.cjs} +12 -12
  26. package/dist/{index-KPHFBjQB.cjs → index-CKyH3jwP.cjs} +1 -1
  27. package/dist/{index-TiMfhF1U.cjs → index-C_71zSeN.cjs} +1 -1
  28. package/dist/index-CkNcU-jd.cjs +8 -0
  29. package/dist/{index-qWS4IYZX.js → index-CyoxPiTg.js} +1 -1
  30. package/dist/{index-UMbs0jPr.js → index-DKwuTFYj.js} +377 -378
  31. package/dist/{index-DDhLWdaz.js → index-DNUXf4K4.js} +1 -1
  32. package/dist/{index-CAeOFdez.js → index-DjShJtXp.js} +1 -1
  33. package/dist/index.cjs.js +4 -4
  34. package/dist/index.es.js +2413 -2522
  35. package/dist/{it-1Hy_Ay2j.js → it-BCKQ5Tu8.js} +6 -11
  36. package/dist/{it-FOaX_rku.cjs → it-CnHaoq-X.cjs} +1 -1
  37. package/dist/{ja-C7_PK2VE.js → ja-DC47Nkza.js} +13 -18
  38. package/dist/{ja-DW4_3EWp.cjs → ja-DpDF4IgX.cjs} +1 -1
  39. package/dist/json-schema/index.cjs.js +1 -1
  40. package/dist/json-schema/index.es.js +1 -1
  41. package/dist/{ko-C-jXKweM.cjs → ko-BMmVJHzm.cjs} +1 -1
  42. package/dist/{ko-BDOp6dFE.js → ko-ejUHA0Sw.js} +8 -13
  43. package/dist/markdown/index.cjs.js +1 -1
  44. package/dist/markdown/index.es.js +1 -1
  45. package/dist/{modal-BBaPJhi-.js → modal-CKyUdeEz.js} +54 -58
  46. package/dist/modal-rou7pM0r.cjs +1 -0
  47. package/dist/{nl-CF5W2Rt4.js → nl-WjgpPUel.js} +6 -11
  48. package/dist/{nl-Ui8TT45t.cjs → nl-viDlnQWK.cjs} +1 -1
  49. package/dist/{notice-DTTyRbwh.js → notice-BS0d903Q.js} +385 -387
  50. package/dist/notice-MF7whf3_.cjs +2 -0
  51. package/dist/{pl-oLzT5Ole.js → pl-Cw4CYjK_.js} +3 -8
  52. package/dist/{pl-8PM7rn2L.cjs → pl-Vrfv_fGt.cjs} +1 -1
  53. package/dist/prosemirror/index.cjs.js +1 -1
  54. package/dist/prosemirror/index.es.js +1 -1
  55. package/dist/{pt-Bb0T3Cx1.js → pt-B4Rh_ZBF.js} +10 -15
  56. package/dist/{pt-kRRsG9-4.cjs → pt-CxQV74vS.cjs} +1 -1
  57. package/dist/{ru-C5AMF9a6.cjs → ru-BB3GRr_J.cjs} +1 -1
  58. package/dist/{ru-DwLv1myc.js → ru-DFHsLJ9b.js} +14 -19
  59. package/dist/{toolbar-D_LSJCtv.js → toolbar-D2J_NkKD.js} +1 -1
  60. package/dist/{toolbar-D6_MB1QI.cjs → toolbar-DRdm9W7H.cjs} +1 -1
  61. package/dist/{tr-DBQNjaPN.js → tr-Dbktyawl.js} +7 -12
  62. package/dist/{tr-BwgU2BAj.cjs → tr-mBiHcEl1.cjs} +1 -1
  63. package/dist/{translations-CG5-f9U8.js → translations-CaTkLRHu.js} +85 -93
  64. package/dist/{translations-t57jdjWu.js → translations-CpTeFtvW.js} +1 -1
  65. package/dist/{translations-D77sU1Wl.cjs → translations-ggnrzaCG.cjs} +1 -1
  66. package/dist/translations-h_OJS1Ut.cjs +1 -0
  67. package/dist/types/components/data/icon.d.ts +1 -1
  68. package/dist/types/components/data/page-drop-zone.d.ts +1 -1
  69. package/dist/types/components/data/unstyled-drop-zone.d.ts +1 -1
  70. package/dist/types/components/form/input/create-nullable-string-input.d.ts +24 -0
  71. package/dist/types/components/form/input/create-temporal-input.d.ts +54 -0
  72. package/dist/types/components/form/input/nullable-email-input.d.ts +1 -2
  73. package/dist/types/components/form/input/nullable-password-input.d.ts +1 -2
  74. package/dist/types/components/form/input/nullable-plain-date-input.d.ts +19 -3
  75. package/dist/types/components/form/input/nullable-plain-date-time-input.d.ts +19 -3
  76. package/dist/types/components/form/input/nullable-plain-time-input.d.ts +19 -3
  77. package/dist/types/components/form/input/nullable-plain-year-month-input.d.ts +19 -3
  78. package/dist/types/components/form/input/nullable-text-area.d.ts +6 -4
  79. package/dist/types/components/form/input/nullable-text-input.d.ts +3 -4
  80. package/dist/types/components/form/input/nullable-url-input.d.ts +1 -2
  81. package/dist/types/components/form/input/nullable-uuid-input.d.ts +1 -2
  82. package/dist/types/components/form/input/plain-date-input.d.ts +19 -3
  83. package/dist/types/components/form/input/plain-date-time-input.d.ts +19 -3
  84. package/dist/types/components/form/input/plain-time-input.d.ts +19 -3
  85. package/dist/types/components/form/input/plain-year-month-input.d.ts +19 -3
  86. package/dist/types/components/json-schema/controls/shared-utils.d.ts +8 -0
  87. package/dist/types/components/json-schema/schema-conditionals.d.ts +26 -0
  88. package/dist/types/components/json-schema/schema-context.d.ts +4 -107
  89. package/dist/types/components/json-schema/schema-merge.d.ts +9 -0
  90. package/dist/types/components/json-schema/schema-types.d.ts +85 -0
  91. package/dist/{ur-s32jv4mP.cjs → ur-CZ5sgUP1.cjs} +1 -1
  92. package/dist/{ur-BmK_ieRn.js → ur-Cqh7AYnd.js} +9 -14
  93. package/dist/utils-U1aNOU3o.cjs +1 -0
  94. package/dist/utils-w_vUChhV.js +2454 -0
  95. package/dist/{vi-DK0Fj95H.js → vi-CLBp2oaY.js} +11 -16
  96. package/dist/{vi-B4qRKlRd.cjs → vi-Ki_Urj_E.cjs} +1 -1
  97. package/dist/{zh-CUEpc9yf.cjs → zh-C78OkbS0.cjs} +1 -1
  98. package/dist/{zh-Db8COSme.js → zh-CT4aGkgD.js} +8 -13
  99. package/package.json +5 -4
  100. package/dist/index-ClqyVDXY.cjs +0 -8
  101. package/dist/modal-O7QoP7Zv.cjs +0 -1
  102. package/dist/notice-DLDzwKkw.cjs +0 -2
  103. package/dist/translations-BAk3j4bi.cjs +0 -1
  104. package/dist/utils-CYMdxKSM.js +0 -2516
  105. package/dist/utils-DI_H4_Gm.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index-ClFVnBUS.cjs"),K={tokenize:rt,partial:!0},q={tokenize:at,partial:!0},U={tokenize:lt,partial:!0},V={tokenize:ut,partial:!0},v={tokenize:ot,partial:!0},G={name:"wwwAutolink",tokenize:nt,previous:J},$={name:"protocolAutolink",tokenize:it,previous:Q},d={name:"emailAutolink",tokenize:et,previous:X},w={};function tt(){return{text:w}}let S=48;for(;S<123;)w[S]=d,S++,S===58?S=65:S===91&&(S=97);w[43]=d;w[45]=d;w[46]=d;w[95]=d;w[72]=[d,$];w[104]=[d,$];w[87]=[d,G];w[119]=[d,G];function et(t,i,e){const r=this;let s,h;return n;function n(a){return!O(a)||!X.call(r,r.previous)||T(r.events)?e(a):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),u(a))}function u(a){return O(a)?(t.consume(a),u):a===64?(t.consume(a),o):e(a)}function o(a){return a===46?t.check(v,p,g)(a):a===45||a===95||f.asciiAlphanumeric(a)?(h=!0,t.consume(a),o):p(a)}function g(a){return t.consume(a),s=!0,o}function p(a){return h&&s&&f.asciiAlpha(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),i(a)):e(a)}}function nt(t,i,e){const r=this;return s;function s(n){return n!==87&&n!==119||!J.call(r,r.previous)||T(r.events)?e(n):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(K,t.attempt(q,t.attempt(U,h),e),e)(n))}function h(n){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),i(n)}}function it(t,i,e){const r=this;let s="",h=!1;return n;function n(a){return(a===72||a===104)&&Q.call(r,r.previous)&&!T(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),s+=String.fromCodePoint(a),t.consume(a),u):e(a)}function u(a){if(f.asciiAlpha(a)&&s.length<5)return s+=String.fromCodePoint(a),t.consume(a),u;if(a===58){const b=s.toLowerCase();if(b==="http"||b==="https")return t.consume(a),o}return e(a)}function o(a){return a===47?(t.consume(a),h?g:(h=!0,o)):e(a)}function g(a){return a===null||f.asciiControl(a)||f.markdownLineEndingOrSpace(a)||f.unicodeWhitespace(a)||f.unicodePunctuation(a)?e(a):t.attempt(q,t.attempt(U,p),e)(a)}function p(a){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),i(a)}}function rt(t,i,e){let r=0;return s;function s(n){return(n===87||n===119)&&r<3?(r++,t.consume(n),s):n===46&&r===3?(t.consume(n),h):e(n)}function h(n){return n===null?e(n):i(n)}}function at(t,i,e){let r,s,h;return n;function n(g){return g===46||g===95?t.check(V,o,u)(g):g===null||f.markdownLineEndingOrSpace(g)||f.unicodeWhitespace(g)||g!==45&&f.unicodePunctuation(g)?o(g):(h=!0,t.consume(g),n)}function u(g){return g===95?r=!0:(s=r,r=void 0),t.consume(g),n}function o(g){return s||r||!h?e(g):i(g)}}function lt(t,i){let e=0,r=0;return s;function s(n){return n===40?(e++,t.consume(n),s):n===41&&r<e?h(n):n===33||n===34||n===38||n===39||n===41||n===42||n===44||n===46||n===58||n===59||n===60||n===63||n===93||n===95||n===126?t.check(V,i,h)(n):n===null||f.markdownLineEndingOrSpace(n)||f.unicodeWhitespace(n)?i(n):(t.consume(n),s)}function h(n){return n===41&&r++,t.consume(n),s}}function ut(t,i,e){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(t.consume(u),r):u===38?(t.consume(u),h):u===93?(t.consume(u),s):u===60||u===null||f.markdownLineEndingOrSpace(u)||f.unicodeWhitespace(u)?i(u):e(u)}function s(u){return u===null||u===40||u===91||f.markdownLineEndingOrSpace(u)||f.unicodeWhitespace(u)?i(u):r(u)}function h(u){return f.asciiAlpha(u)?n(u):e(u)}function n(u){return u===59?(t.consume(u),r):f.asciiAlpha(u)?(t.consume(u),n):e(u)}}function ot(t,i,e){return r;function r(h){return t.consume(h),s}function s(h){return f.asciiAlphanumeric(h)?e(h):i(h)}}function J(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||f.markdownLineEndingOrSpace(t)}function Q(t){return!f.asciiAlpha(t)}function X(t){return!(t===47||O(t))}function O(t){return t===43||t===45||t===46||t===95||f.asciiAlphanumeric(t)}function T(t){let i=t.length,e=!1;for(;i--;){const r=t[i][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){e=!0;break}if(r._gfmAutolinkLiteralWalkedInto){e=!1;break}}return t.length>0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}function st(){return{exit:{literalAutolinkEmail:mt,literalAutolinkHttp:gt,literalAutolinkWww:ht}}}function ht(t){R.call(this,t,"http://")}function mt(t){R.call(this,t,"mailto:")}function gt(t){R.call(this,t)}function R(t,i){const e=this.sliceSerialize(t);this.tag('<a href="'+f.sanitizeUri((i||"")+e)+'">'),this.raw(this.encode(e)),this.tag("</a>")}const ft={tokenize:yt,partial:!0};function pt(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:wt,continuation:{tokenize:Dt},exit:dt}},text:{91:{name:"gfmFootnoteCall",tokenize:ct},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:bt,resolveTo:kt}}}}function bt(t,i,e){const r=this;let s=r.events.length;const h=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let n;for(;s--;){const o=r.events[s][1];if(o.type==="labelImage"){n=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return u;function u(o){if(!n||!n._balanced)return e(o);const g=f.normalizeIdentifier(r.sliceSerialize({start:n.end,end:r.now()}));return g.codePointAt(0)!==94||!h.includes(g.slice(1))?e(o):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(o),t.exit("gfmFootnoteCallLabelMarker"),i(o))}}function kt(t,i){let e=t.length;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){t[e][1];break}t[e+1][1].type="data",t[e+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},t[e+3][1].start),end:Object.assign({},t[t.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const h={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},t[t.length-1][1].start)},n={type:"chunkString",contentType:"string",start:Object.assign({},h.start),end:Object.assign({},h.end)},u=[t[e+1],t[e+2],["enter",r,i],t[e+3],t[e+4],["enter",s,i],["exit",s,i],["enter",h,i],["enter",n,i],["exit",n,i],["exit",h,i],t[t.length-2],t[t.length-1],["exit",r,i]];return t.splice(e,t.length-e+1,...u),t}function ct(t,i,e){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let h=0,n;return u;function u(a){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(a),t.exit("gfmFootnoteCallLabelMarker"),o}function o(a){return a!==94?e(a):(t.enter("gfmFootnoteCallMarker"),t.consume(a),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",g)}function g(a){if(h>999||a===93&&!n||a===null||a===91||f.markdownLineEndingOrSpace(a))return e(a);if(a===93){t.exit("chunkString");const b=t.exit("gfmFootnoteCallString");return s.includes(f.normalizeIdentifier(r.sliceSerialize(b)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(a),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),i):e(a)}return f.markdownLineEndingOrSpace(a)||(n=!0),h++,t.consume(a),a===92?p:g}function p(a){return a===91||a===92||a===93?(t.consume(a),h++,g):g(a)}}function wt(t,i,e){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let h,n=0,u;return o;function o(m){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(m),t.exit("gfmFootnoteDefinitionLabelMarker"),g}function g(m){return m===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(m),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",p):e(m)}function p(m){if(n>999||m===93&&!u||m===null||m===91||f.markdownLineEndingOrSpace(m))return e(m);if(m===93){t.exit("chunkString");const c=t.exit("gfmFootnoteDefinitionLabelString");return h=f.normalizeIdentifier(r.sliceSerialize(c)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(m),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),b}return f.markdownLineEndingOrSpace(m)||(u=!0),n++,t.consume(m),m===92?a:p}function a(m){return m===91||m===92||m===93?(t.consume(m),n++,p):p(m)}function b(m){return m===58?(t.enter("definitionMarker"),t.consume(m),t.exit("definitionMarker"),s.includes(h)||s.push(h),f.factorySpace(t,k,"gfmFootnoteDefinitionWhitespace")):e(m)}function k(m){return i(m)}}function Dt(t,i,e){return t.check(f.blankLine,i,t.attempt(ft,i,e))}function dt(t){t.exit("gfmFootnoteDefinition")}function yt(t,i,e){const r=this;return f.factorySpace(t,s,"gfmFootnoteDefinitionIndent",5);function s(h){const n=r.events[r.events.length-1];return n&&n[1].type==="gfmFootnoteDefinitionIndent"&&n[2].sliceSerialize(n[1],!0).length===4?i(h):e(h)}}const St={}.hasOwnProperty,Ct={};function At(t,i){return"Back to reference "+(t+1)+(i>1?"-"+i:"")}function Ft(t){const i=t||Ct,e=i.label||"Footnotes",r=i.labelTagName||"h2",s=i.labelAttributes===null||i.labelAttributes===void 0?'class="sr-only"':i.labelAttributes,h=i.backLabel||At,n=i.clobberPrefix===null||i.clobberPrefix===void 0?"user-content-":i.clobberPrefix;return{enter:{gfmFootnoteDefinition(){this.getData("tightStack").push(!1)},gfmFootnoteDefinitionLabelString(){this.buffer()},gfmFootnoteCallString(){this.buffer()}},exit:{gfmFootnoteDefinition(){let u=this.getData("gfmFootnoteDefinitions");const o=this.getData("gfmFootnoteDefinitionStack"),g=this.getData("tightStack"),p=o.pop(),a=this.resume();u||this.setData("gfmFootnoteDefinitions",u={}),St.call(u,p)||(u[p]=a),g.pop(),this.setData("slurpOneLineEnding",!0),this.setData("lastWasTag")},gfmFootnoteDefinitionLabelString(u){let o=this.getData("gfmFootnoteDefinitionStack");o||this.setData("gfmFootnoteDefinitionStack",o=[]),o.push(f.normalizeIdentifier(this.sliceSerialize(u))),this.resume(),this.buffer()},gfmFootnoteCallString(u){let o=this.getData("gfmFootnoteCallOrder"),g=this.getData("gfmFootnoteCallCounts");const p=f.normalizeIdentifier(this.sliceSerialize(u));let a;this.resume(),o||this.setData("gfmFootnoteCallOrder",o=[]),g||this.setData("gfmFootnoteCallCounts",g={});const b=o.indexOf(p),k=f.sanitizeUri(p.toLowerCase());b===-1?(o.push(p),g[p]=1,a=o.length):(g[p]++,a=b+1);const m=g[p];this.tag('<sup><a href="#'+n+"fn-"+k+'" id="'+n+"fnref-"+k+(m>1?"-"+m:"")+'" data-footnote-ref="" aria-describedby="footnote-label">'+String(a)+"</a></sup>")},null(){const u=this.getData("gfmFootnoteCallOrder")||[],o=this.getData("gfmFootnoteCallCounts")||{},g=this.getData("gfmFootnoteDefinitions")||{};let p=-1;for(u.length>0&&(this.lineEndingIfNeeded(),this.tag('<section data-footnotes="" class="footnotes"><'+r+' id="footnote-label"'+(s?" "+s:"")+">"),this.raw(this.encode(e)),this.tag("</"+r+">"),this.lineEndingIfNeeded(),this.tag("<ol>"));++p<u.length;){const a=u[p],b=f.sanitizeUri(a.toLowerCase());let k=0;const m=[];for(;++k<=o[a];)m.push('<a href="#'+n+"fnref-"+b+(k>1?"-"+k:"")+'" data-footnote-backref="" aria-label="'+this.encode(typeof h=="string"?h:h(p,k))+'" class="data-footnote-backref">↩'+(k>1?"<sup>"+k+"</sup>":"")+"</a>");const c=m.join(" ");let D=!1;this.lineEndingIfNeeded(),this.tag('<li id="'+n+"fn-"+b+'">'),this.lineEndingIfNeeded(),this.tag(g[a].replace(/<\/p>(?:\r?\n|\r)?$/,function(y){return D=!0," "+c+y})),D||(this.lineEndingIfNeeded(),this.tag(c)),this.lineEndingIfNeeded(),this.tag("</li>")}u.length>0&&(this.lineEndingIfNeeded(),this.tag("</ol>"),this.lineEndingIfNeeded(),this.tag("</section>"))}}}}function Lt(){return{enter:{strikethrough(){this.tag("<del>")}},exit:{strikethrough(){this.tag("</del>")}}}}function xt(t){let e=(t||{}).singleTilde;const r={name:"strikethrough",tokenize:h,resolveAll:s};return e==null&&(e=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function s(n,u){let o=-1;for(;++o<n.length;)if(n[o][0]==="enter"&&n[o][1].type==="strikethroughSequenceTemporary"&&n[o][1]._close){let g=o;for(;g--;)if(n[g][0]==="exit"&&n[g][1].type==="strikethroughSequenceTemporary"&&n[g][1]._open&&n[o][1].end.offset-n[o][1].start.offset===n[g][1].end.offset-n[g][1].start.offset){n[o][1].type="strikethroughSequence",n[g][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},n[g][1].start),end:Object.assign({},n[o][1].end)},a={type:"strikethroughText",start:Object.assign({},n[g][1].end),end:Object.assign({},n[o][1].start)},b=[["enter",p,u],["enter",n[g][1],u],["exit",n[g][1],u],["enter",a,u]],k=u.parser.constructs.insideSpan.null;k&&f.splice(b,b.length,0,f.resolveAll(k,n.slice(g+1,o),u)),f.splice(b,b.length,0,[["exit",a,u],["enter",n[o][1],u],["exit",n[o][1],u],["exit",p,u]]),f.splice(n,g-1,o-g+3,b),o=g+b.length-2;break}}for(o=-1;++o<n.length;)n[o][1].type==="strikethroughSequenceTemporary"&&(n[o][1].type="data");return n}function h(n,u,o){const g=this.previous,p=this.events;let a=0;return b;function b(m){return g===126&&p[p.length-1][1].type!=="characterEscape"?o(m):(n.enter("strikethroughSequenceTemporary"),k(m))}function k(m){const c=f.classifyCharacter(g);if(m===126)return a>1?o(m):(n.consume(m),a++,k);if(a<2&&!e)return o(m);const D=n.exit("strikethroughSequenceTemporary"),y=f.classifyCharacter(m);return D._open=!y||y===2&&!!c,D._close=!c||c===2&&!!y,u(m)}}}const I={none:"",left:' align="left"',right:' align="right"',center:' align="center"'};function zt(){return{enter:{table(t){const i=t._align;this.lineEndingIfNeeded(),this.tag("<table>"),this.setData("tableAlign",i)},tableBody(){this.tag("<tbody>")},tableData(){const t=this.getData("tableAlign"),i=this.getData("tableColumn"),e=I[t[i]];e===void 0?this.buffer():(this.lineEndingIfNeeded(),this.tag("<td"+e+">"))},tableHead(){this.lineEndingIfNeeded(),this.tag("<thead>")},tableHeader(){const t=this.getData("tableAlign"),i=this.getData("tableColumn"),e=I[t[i]];this.lineEndingIfNeeded(),this.tag("<th"+e+">")},tableRow(){this.setData("tableColumn",0),this.lineEndingIfNeeded(),this.tag("<tr>")}},exit:{codeTextData(t){let i=this.sliceSerialize(t);this.getData("tableAlign")&&(i=i.replace(/\\([\\|])/g,Et)),this.raw(this.encode(i))},table(){this.setData("tableAlign"),this.setData("slurpAllLineEndings"),this.lineEndingIfNeeded(),this.tag("</table>")},tableBody(){this.lineEndingIfNeeded(),this.tag("</tbody>")},tableData(){const t=this.getData("tableAlign"),i=this.getData("tableColumn");i in t?(this.tag("</td>"),this.setData("tableColumn",i+1)):this.resume()},tableHead(){this.lineEndingIfNeeded(),this.tag("</thead>")},tableHeader(){const t=this.getData("tableColumn");this.tag("</th>"),this.setData("tableColumn",t+1)},tableRow(){const t=this.getData("tableAlign");let i=this.getData("tableColumn");for(;i<t.length;)this.lineEndingIfNeeded(),this.tag("<td"+I[t[i]]+"></td>"),i++;this.setData("tableColumn",i),this.lineEndingIfNeeded(),this.tag("</tr>")}}}}function Et(t,i){return i==="|"?i:t}class It{constructor(){this.map=[]}add(i,e,r){Ot(this,i,e,r)}consume(i){if(this.map.sort(function(h,n){return h[0]-n[0]}),this.map.length===0)return;let e=this.map.length;const r=[];for(;e>0;)e-=1,r.push(i.slice(this.map[e][0]+this.map[e][1]),this.map[e][2]),i.length=this.map[e][0];r.push(i.slice()),i.length=0;let s=r.pop();for(;s;){for(const h of s)i.push(h);s=r.pop()}this.map.length=0}}function Ot(t,i,e,r){let s=0;if(!(e===0&&r.length===0)){for(;s<t.map.length;){if(t.map[s][0]===i){t.map[s][1]+=e,t.map[s][2].push(...r);return}s+=1}t.map.push([i,e,r])}}function Tt(t,i){let e=!1;const r=[];for(;i<t.length;){const s=t[i];if(e){if(s[0]==="enter")s[1].type==="tableContent"&&r.push(t[i+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(t[i-1][1].type==="tableDelimiterMarker"){const h=r.length-1;r[h]=r[h]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(e=!0);i+=1}return r}function Rt(){return{flow:{null:{name:"table",tokenize:Mt,resolveAll:Pt}}}}function Mt(t,i,e){const r=this;let s=0,h=0,n;return u;function u(l){let F=r.events.length-1;for(;F>-1;){const B=r.events[F][1].type;if(B==="lineEnding"||B==="linePrefix")F--;else break}const H=F>-1?r.events[F][1].type:null,N=H==="tableHead"||H==="tableRow"?j:o;return N===j&&r.parser.lazy[r.now().line]?e(l):N(l)}function o(l){return t.enter("tableHead"),t.enter("tableRow"),g(l)}function g(l){return l===124||(n=!0,h+=1),p(l)}function p(l){return l===null?e(l):f.markdownLineEnding(l)?h>1?(h=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),k):e(l):f.markdownSpace(l)?f.factorySpace(t,p,"whitespace")(l):(h+=1,n&&(n=!1,s+=1),l===124?(t.enter("tableCellDivider"),t.consume(l),t.exit("tableCellDivider"),n=!0,p):(t.enter("data"),a(l)))}function a(l){return l===null||l===124||f.markdownLineEndingOrSpace(l)?(t.exit("data"),p(l)):(t.consume(l),l===92?b:a)}function b(l){return l===92||l===124?(t.consume(l),a):a(l)}function k(l){return r.interrupt=!1,r.parser.lazy[r.now().line]?e(l):(t.enter("tableDelimiterRow"),n=!1,f.markdownSpace(l)?f.factorySpace(t,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):m(l))}function m(l){return l===45||l===58?D(l):l===124?(n=!0,t.enter("tableCellDivider"),t.consume(l),t.exit("tableCellDivider"),c):A(l)}function c(l){return f.markdownSpace(l)?f.factorySpace(t,D,"whitespace")(l):D(l)}function D(l){return l===58?(h+=1,n=!0,t.enter("tableDelimiterMarker"),t.consume(l),t.exit("tableDelimiterMarker"),y):l===45?(h+=1,y(l)):l===null||f.markdownLineEnding(l)?E(l):A(l)}function y(l){return l===45?(t.enter("tableDelimiterFiller"),M(l)):A(l)}function M(l){return l===45?(t.consume(l),M):l===58?(n=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(l),t.exit("tableDelimiterMarker"),P):(t.exit("tableDelimiterFiller"),P(l))}function P(l){return f.markdownSpace(l)?f.factorySpace(t,E,"whitespace")(l):E(l)}function E(l){return l===124?m(l):l===null||f.markdownLineEnding(l)?!n||s!==h?A(l):(t.exit("tableDelimiterRow"),t.exit("tableHead"),i(l)):A(l)}function A(l){return e(l)}function j(l){return t.enter("tableRow"),L(l)}function L(l){return l===124?(t.enter("tableCellDivider"),t.consume(l),t.exit("tableCellDivider"),L):l===null||f.markdownLineEnding(l)?(t.exit("tableRow"),i(l)):f.markdownSpace(l)?f.factorySpace(t,L,"whitespace")(l):(t.enter("data"),x(l))}function x(l){return l===null||l===124||f.markdownLineEndingOrSpace(l)?(t.exit("data"),L(l)):(t.consume(l),l===92?Z:x)}function Z(l){return l===92||l===124?(t.consume(l),x):x(l)}}function Pt(t,i){let e=-1,r=!0,s=0,h=[0,0,0,0],n=[0,0,0,0],u=!1,o=0,g,p,a;const b=new It;for(;++e<t.length;){const k=t[e],m=k[1];k[0]==="enter"?m.type==="tableHead"?(u=!1,o!==0&&(W(b,i,o,g,p),p=void 0,o=0),g={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},b.add(e,0,[["enter",g,i]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(r=!0,a=void 0,h=[0,0,0,0],n=[0,e+1,0,0],u&&(u=!1,p={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},b.add(e,0,[["enter",p,i]])),s=m.type==="tableDelimiterRow"?2:p?3:1):s&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(r=!1,n[2]===0&&(h[1]!==0&&(n[0]=n[1],a=z(b,i,h,s,void 0,a),h=[0,0,0,0]),n[2]=e)):m.type==="tableCellDivider"&&(r?r=!1:(h[1]!==0&&(n[0]=n[1],a=z(b,i,h,s,void 0,a)),h=n,n=[h[1],e,0,0])):m.type==="tableHead"?(u=!0,o=e):m.type==="tableRow"||m.type==="tableDelimiterRow"?(o=e,h[1]!==0?(n[0]=n[1],a=z(b,i,h,s,e,a)):n[1]!==0&&(a=z(b,i,n,s,e,a)),s=0):s&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(n[3]=e)}for(o!==0&&W(b,i,o,g,p),b.consume(i.events),e=-1;++e<i.events.length;){const k=i.events[e];k[0]==="enter"&&k[1].type==="table"&&(k[1]._align=Tt(i.events,e))}return t}function z(t,i,e,r,s,h){const n=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";e[0]!==0&&(h.end=Object.assign({},C(i.events,e[0])),t.add(e[0],0,[["exit",h,i]]));const o=C(i.events,e[1]);if(h={type:n,start:Object.assign({},o),end:Object.assign({},o)},t.add(e[1],0,[["enter",h,i]]),e[2]!==0){const g=C(i.events,e[2]),p=C(i.events,e[3]),a={type:u,start:Object.assign({},g),end:Object.assign({},p)};if(t.add(e[2],0,[["enter",a,i]]),r!==2){const b=i.events[e[2]],k=i.events[e[3]];if(b[1].end=Object.assign({},k[1].end),b[1].type="chunkText",b[1].contentType="text",e[3]>e[2]+1){const m=e[2]+1,c=e[3]-e[2]-1;t.add(m,c,[])}}t.add(e[3]+1,0,[["exit",a,i]])}return s!==void 0&&(h.end=Object.assign({},C(i.events,s)),t.add(s,0,[["exit",h,i]]),h=void 0),h}function W(t,i,e,r,s){const h=[],n=C(i.events,e);s&&(s.end=Object.assign({},n),h.push(["exit",s,i])),r.end=Object.assign({},n),h.push(["exit",r,i]),t.add(e+1,0,h)}function C(t,i){const e=t[i],r=e[0]==="enter"?"start":"end";return e[1][r]}const Y=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|title|textarea|xmp)(?=[\t\n\f\r />])/gi,jt=new RegExp("^"+Y.source,"i");function Ht(){return{exit:{htmlFlowData(t){_.call(this,t,Y)},htmlTextData(t){_.call(this,t,jt)}}}}function _(t,i){let e=this.sliceSerialize(t);this.options.allowDangerousHtml&&(e=e.replace(i,"&lt;$1$2")),this.raw(this.encode(e))}function Nt(){return{enter:{taskListCheck(){this.tag('<input type="checkbox" disabled="" ')}},exit:{taskListCheck(){this.tag("/>")},taskListCheckValueChecked(){this.tag('checked="" ')}}}}const Bt={name:"tasklistCheck",tokenize:_t};function Wt(){return{text:{91:Bt}}}function _t(t,i,e){const r=this;return s;function s(o){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?e(o):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),h)}function h(o){return f.markdownLineEndingOrSpace(o)?(t.enter("taskListCheckValueUnchecked"),t.consume(o),t.exit("taskListCheckValueUnchecked"),n):o===88||o===120?(t.enter("taskListCheckValueChecked"),t.consume(o),t.exit("taskListCheckValueChecked"),n):e(o)}function n(o){return o===93?(t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),u):e(o)}function u(o){return f.markdownLineEnding(o)?i(o):f.markdownSpace(o)?t.check({tokenize:qt},i,e)(o):e(o)}}function qt(t,i,e){return f.factorySpace(t,r,"whitespace");function r(s){return s===null?e(s):i(s)}}function Ut(t){return f.combineExtensions([tt(),pt(),xt(t),Rt(),Wt()])}function Vt(t){return f.combineHtmlExtensions([st(),Ft(t),Lt(),zt(),Ht(),Nt()])}exports.gfm=Ut;exports.gfmHtml=Vt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index-Bv2gn_kV.cjs"),K={tokenize:rt,partial:!0},q={tokenize:at,partial:!0},U={tokenize:lt,partial:!0},V={tokenize:ut,partial:!0},v={tokenize:ot,partial:!0},G={name:"wwwAutolink",tokenize:nt,previous:J},$={name:"protocolAutolink",tokenize:it,previous:Q},d={name:"emailAutolink",tokenize:et,previous:X},w={};function tt(){return{text:w}}let S=48;for(;S<123;)w[S]=d,S++,S===58?S=65:S===91&&(S=97);w[43]=d;w[45]=d;w[46]=d;w[95]=d;w[72]=[d,$];w[104]=[d,$];w[87]=[d,G];w[119]=[d,G];function et(t,i,e){const r=this;let s,h;return n;function n(a){return!O(a)||!X.call(r,r.previous)||T(r.events)?e(a):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),u(a))}function u(a){return O(a)?(t.consume(a),u):a===64?(t.consume(a),o):e(a)}function o(a){return a===46?t.check(v,p,g)(a):a===45||a===95||f.asciiAlphanumeric(a)?(h=!0,t.consume(a),o):p(a)}function g(a){return t.consume(a),s=!0,o}function p(a){return h&&s&&f.asciiAlpha(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),i(a)):e(a)}}function nt(t,i,e){const r=this;return s;function s(n){return n!==87&&n!==119||!J.call(r,r.previous)||T(r.events)?e(n):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(K,t.attempt(q,t.attempt(U,h),e),e)(n))}function h(n){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),i(n)}}function it(t,i,e){const r=this;let s="",h=!1;return n;function n(a){return(a===72||a===104)&&Q.call(r,r.previous)&&!T(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),s+=String.fromCodePoint(a),t.consume(a),u):e(a)}function u(a){if(f.asciiAlpha(a)&&s.length<5)return s+=String.fromCodePoint(a),t.consume(a),u;if(a===58){const b=s.toLowerCase();if(b==="http"||b==="https")return t.consume(a),o}return e(a)}function o(a){return a===47?(t.consume(a),h?g:(h=!0,o)):e(a)}function g(a){return a===null||f.asciiControl(a)||f.markdownLineEndingOrSpace(a)||f.unicodeWhitespace(a)||f.unicodePunctuation(a)?e(a):t.attempt(q,t.attempt(U,p),e)(a)}function p(a){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),i(a)}}function rt(t,i,e){let r=0;return s;function s(n){return(n===87||n===119)&&r<3?(r++,t.consume(n),s):n===46&&r===3?(t.consume(n),h):e(n)}function h(n){return n===null?e(n):i(n)}}function at(t,i,e){let r,s,h;return n;function n(g){return g===46||g===95?t.check(V,o,u)(g):g===null||f.markdownLineEndingOrSpace(g)||f.unicodeWhitespace(g)||g!==45&&f.unicodePunctuation(g)?o(g):(h=!0,t.consume(g),n)}function u(g){return g===95?r=!0:(s=r,r=void 0),t.consume(g),n}function o(g){return s||r||!h?e(g):i(g)}}function lt(t,i){let e=0,r=0;return s;function s(n){return n===40?(e++,t.consume(n),s):n===41&&r<e?h(n):n===33||n===34||n===38||n===39||n===41||n===42||n===44||n===46||n===58||n===59||n===60||n===63||n===93||n===95||n===126?t.check(V,i,h)(n):n===null||f.markdownLineEndingOrSpace(n)||f.unicodeWhitespace(n)?i(n):(t.consume(n),s)}function h(n){return n===41&&r++,t.consume(n),s}}function ut(t,i,e){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(t.consume(u),r):u===38?(t.consume(u),h):u===93?(t.consume(u),s):u===60||u===null||f.markdownLineEndingOrSpace(u)||f.unicodeWhitespace(u)?i(u):e(u)}function s(u){return u===null||u===40||u===91||f.markdownLineEndingOrSpace(u)||f.unicodeWhitespace(u)?i(u):r(u)}function h(u){return f.asciiAlpha(u)?n(u):e(u)}function n(u){return u===59?(t.consume(u),r):f.asciiAlpha(u)?(t.consume(u),n):e(u)}}function ot(t,i,e){return r;function r(h){return t.consume(h),s}function s(h){return f.asciiAlphanumeric(h)?e(h):i(h)}}function J(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||f.markdownLineEndingOrSpace(t)}function Q(t){return!f.asciiAlpha(t)}function X(t){return!(t===47||O(t))}function O(t){return t===43||t===45||t===46||t===95||f.asciiAlphanumeric(t)}function T(t){let i=t.length,e=!1;for(;i--;){const r=t[i][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){e=!0;break}if(r._gfmAutolinkLiteralWalkedInto){e=!1;break}}return t.length>0&&!e&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),e}function st(){return{exit:{literalAutolinkEmail:mt,literalAutolinkHttp:gt,literalAutolinkWww:ht}}}function ht(t){R.call(this,t,"http://")}function mt(t){R.call(this,t,"mailto:")}function gt(t){R.call(this,t)}function R(t,i){const e=this.sliceSerialize(t);this.tag('<a href="'+f.sanitizeUri((i||"")+e)+'">'),this.raw(this.encode(e)),this.tag("</a>")}const ft={tokenize:yt,partial:!0};function pt(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:wt,continuation:{tokenize:Dt},exit:dt}},text:{91:{name:"gfmFootnoteCall",tokenize:ct},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:bt,resolveTo:kt}}}}function bt(t,i,e){const r=this;let s=r.events.length;const h=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let n;for(;s--;){const o=r.events[s][1];if(o.type==="labelImage"){n=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return u;function u(o){if(!n||!n._balanced)return e(o);const g=f.normalizeIdentifier(r.sliceSerialize({start:n.end,end:r.now()}));return g.codePointAt(0)!==94||!h.includes(g.slice(1))?e(o):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(o),t.exit("gfmFootnoteCallLabelMarker"),i(o))}}function kt(t,i){let e=t.length;for(;e--;)if(t[e][1].type==="labelImage"&&t[e][0]==="enter"){t[e][1];break}t[e+1][1].type="data",t[e+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},t[e+3][1].start),end:Object.assign({},t[t.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},t[e+3][1].end),end:Object.assign({},t[e+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const h={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},t[t.length-1][1].start)},n={type:"chunkString",contentType:"string",start:Object.assign({},h.start),end:Object.assign({},h.end)},u=[t[e+1],t[e+2],["enter",r,i],t[e+3],t[e+4],["enter",s,i],["exit",s,i],["enter",h,i],["enter",n,i],["exit",n,i],["exit",h,i],t[t.length-2],t[t.length-1],["exit",r,i]];return t.splice(e,t.length-e+1,...u),t}function ct(t,i,e){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let h=0,n;return u;function u(a){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(a),t.exit("gfmFootnoteCallLabelMarker"),o}function o(a){return a!==94?e(a):(t.enter("gfmFootnoteCallMarker"),t.consume(a),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",g)}function g(a){if(h>999||a===93&&!n||a===null||a===91||f.markdownLineEndingOrSpace(a))return e(a);if(a===93){t.exit("chunkString");const b=t.exit("gfmFootnoteCallString");return s.includes(f.normalizeIdentifier(r.sliceSerialize(b)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(a),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),i):e(a)}return f.markdownLineEndingOrSpace(a)||(n=!0),h++,t.consume(a),a===92?p:g}function p(a){return a===91||a===92||a===93?(t.consume(a),h++,g):g(a)}}function wt(t,i,e){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let h,n=0,u;return o;function o(m){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(m),t.exit("gfmFootnoteDefinitionLabelMarker"),g}function g(m){return m===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(m),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",p):e(m)}function p(m){if(n>999||m===93&&!u||m===null||m===91||f.markdownLineEndingOrSpace(m))return e(m);if(m===93){t.exit("chunkString");const c=t.exit("gfmFootnoteDefinitionLabelString");return h=f.normalizeIdentifier(r.sliceSerialize(c)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(m),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),b}return f.markdownLineEndingOrSpace(m)||(u=!0),n++,t.consume(m),m===92?a:p}function a(m){return m===91||m===92||m===93?(t.consume(m),n++,p):p(m)}function b(m){return m===58?(t.enter("definitionMarker"),t.consume(m),t.exit("definitionMarker"),s.includes(h)||s.push(h),f.factorySpace(t,k,"gfmFootnoteDefinitionWhitespace")):e(m)}function k(m){return i(m)}}function Dt(t,i,e){return t.check(f.blankLine,i,t.attempt(ft,i,e))}function dt(t){t.exit("gfmFootnoteDefinition")}function yt(t,i,e){const r=this;return f.factorySpace(t,s,"gfmFootnoteDefinitionIndent",5);function s(h){const n=r.events[r.events.length-1];return n&&n[1].type==="gfmFootnoteDefinitionIndent"&&n[2].sliceSerialize(n[1],!0).length===4?i(h):e(h)}}const St={}.hasOwnProperty,Ct={};function At(t,i){return"Back to reference "+(t+1)+(i>1?"-"+i:"")}function Ft(t){const i=t||Ct,e=i.label||"Footnotes",r=i.labelTagName||"h2",s=i.labelAttributes===null||i.labelAttributes===void 0?'class="sr-only"':i.labelAttributes,h=i.backLabel||At,n=i.clobberPrefix===null||i.clobberPrefix===void 0?"user-content-":i.clobberPrefix;return{enter:{gfmFootnoteDefinition(){this.getData("tightStack").push(!1)},gfmFootnoteDefinitionLabelString(){this.buffer()},gfmFootnoteCallString(){this.buffer()}},exit:{gfmFootnoteDefinition(){let u=this.getData("gfmFootnoteDefinitions");const o=this.getData("gfmFootnoteDefinitionStack"),g=this.getData("tightStack"),p=o.pop(),a=this.resume();u||this.setData("gfmFootnoteDefinitions",u={}),St.call(u,p)||(u[p]=a),g.pop(),this.setData("slurpOneLineEnding",!0),this.setData("lastWasTag")},gfmFootnoteDefinitionLabelString(u){let o=this.getData("gfmFootnoteDefinitionStack");o||this.setData("gfmFootnoteDefinitionStack",o=[]),o.push(f.normalizeIdentifier(this.sliceSerialize(u))),this.resume(),this.buffer()},gfmFootnoteCallString(u){let o=this.getData("gfmFootnoteCallOrder"),g=this.getData("gfmFootnoteCallCounts");const p=f.normalizeIdentifier(this.sliceSerialize(u));let a;this.resume(),o||this.setData("gfmFootnoteCallOrder",o=[]),g||this.setData("gfmFootnoteCallCounts",g={});const b=o.indexOf(p),k=f.sanitizeUri(p.toLowerCase());b===-1?(o.push(p),g[p]=1,a=o.length):(g[p]++,a=b+1);const m=g[p];this.tag('<sup><a href="#'+n+"fn-"+k+'" id="'+n+"fnref-"+k+(m>1?"-"+m:"")+'" data-footnote-ref="" aria-describedby="footnote-label">'+String(a)+"</a></sup>")},null(){const u=this.getData("gfmFootnoteCallOrder")||[],o=this.getData("gfmFootnoteCallCounts")||{},g=this.getData("gfmFootnoteDefinitions")||{};let p=-1;for(u.length>0&&(this.lineEndingIfNeeded(),this.tag('<section data-footnotes="" class="footnotes"><'+r+' id="footnote-label"'+(s?" "+s:"")+">"),this.raw(this.encode(e)),this.tag("</"+r+">"),this.lineEndingIfNeeded(),this.tag("<ol>"));++p<u.length;){const a=u[p],b=f.sanitizeUri(a.toLowerCase());let k=0;const m=[];for(;++k<=o[a];)m.push('<a href="#'+n+"fnref-"+b+(k>1?"-"+k:"")+'" data-footnote-backref="" aria-label="'+this.encode(typeof h=="string"?h:h(p,k))+'" class="data-footnote-backref">↩'+(k>1?"<sup>"+k+"</sup>":"")+"</a>");const c=m.join(" ");let D=!1;this.lineEndingIfNeeded(),this.tag('<li id="'+n+"fn-"+b+'">'),this.lineEndingIfNeeded(),this.tag(g[a].replace(/<\/p>(?:\r?\n|\r)?$/,function(y){return D=!0," "+c+y})),D||(this.lineEndingIfNeeded(),this.tag(c)),this.lineEndingIfNeeded(),this.tag("</li>")}u.length>0&&(this.lineEndingIfNeeded(),this.tag("</ol>"),this.lineEndingIfNeeded(),this.tag("</section>"))}}}}function Lt(){return{enter:{strikethrough(){this.tag("<del>")}},exit:{strikethrough(){this.tag("</del>")}}}}function xt(t){let e=(t||{}).singleTilde;const r={name:"strikethrough",tokenize:h,resolveAll:s};return e==null&&(e=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function s(n,u){let o=-1;for(;++o<n.length;)if(n[o][0]==="enter"&&n[o][1].type==="strikethroughSequenceTemporary"&&n[o][1]._close){let g=o;for(;g--;)if(n[g][0]==="exit"&&n[g][1].type==="strikethroughSequenceTemporary"&&n[g][1]._open&&n[o][1].end.offset-n[o][1].start.offset===n[g][1].end.offset-n[g][1].start.offset){n[o][1].type="strikethroughSequence",n[g][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},n[g][1].start),end:Object.assign({},n[o][1].end)},a={type:"strikethroughText",start:Object.assign({},n[g][1].end),end:Object.assign({},n[o][1].start)},b=[["enter",p,u],["enter",n[g][1],u],["exit",n[g][1],u],["enter",a,u]],k=u.parser.constructs.insideSpan.null;k&&f.splice(b,b.length,0,f.resolveAll(k,n.slice(g+1,o),u)),f.splice(b,b.length,0,[["exit",a,u],["enter",n[o][1],u],["exit",n[o][1],u],["exit",p,u]]),f.splice(n,g-1,o-g+3,b),o=g+b.length-2;break}}for(o=-1;++o<n.length;)n[o][1].type==="strikethroughSequenceTemporary"&&(n[o][1].type="data");return n}function h(n,u,o){const g=this.previous,p=this.events;let a=0;return b;function b(m){return g===126&&p[p.length-1][1].type!=="characterEscape"?o(m):(n.enter("strikethroughSequenceTemporary"),k(m))}function k(m){const c=f.classifyCharacter(g);if(m===126)return a>1?o(m):(n.consume(m),a++,k);if(a<2&&!e)return o(m);const D=n.exit("strikethroughSequenceTemporary"),y=f.classifyCharacter(m);return D._open=!y||y===2&&!!c,D._close=!c||c===2&&!!y,u(m)}}}const I={none:"",left:' align="left"',right:' align="right"',center:' align="center"'};function zt(){return{enter:{table(t){const i=t._align;this.lineEndingIfNeeded(),this.tag("<table>"),this.setData("tableAlign",i)},tableBody(){this.tag("<tbody>")},tableData(){const t=this.getData("tableAlign"),i=this.getData("tableColumn"),e=I[t[i]];e===void 0?this.buffer():(this.lineEndingIfNeeded(),this.tag("<td"+e+">"))},tableHead(){this.lineEndingIfNeeded(),this.tag("<thead>")},tableHeader(){const t=this.getData("tableAlign"),i=this.getData("tableColumn"),e=I[t[i]];this.lineEndingIfNeeded(),this.tag("<th"+e+">")},tableRow(){this.setData("tableColumn",0),this.lineEndingIfNeeded(),this.tag("<tr>")}},exit:{codeTextData(t){let i=this.sliceSerialize(t);this.getData("tableAlign")&&(i=i.replace(/\\([\\|])/g,Et)),this.raw(this.encode(i))},table(){this.setData("tableAlign"),this.setData("slurpAllLineEndings"),this.lineEndingIfNeeded(),this.tag("</table>")},tableBody(){this.lineEndingIfNeeded(),this.tag("</tbody>")},tableData(){const t=this.getData("tableAlign"),i=this.getData("tableColumn");i in t?(this.tag("</td>"),this.setData("tableColumn",i+1)):this.resume()},tableHead(){this.lineEndingIfNeeded(),this.tag("</thead>")},tableHeader(){const t=this.getData("tableColumn");this.tag("</th>"),this.setData("tableColumn",t+1)},tableRow(){const t=this.getData("tableAlign");let i=this.getData("tableColumn");for(;i<t.length;)this.lineEndingIfNeeded(),this.tag("<td"+I[t[i]]+"></td>"),i++;this.setData("tableColumn",i),this.lineEndingIfNeeded(),this.tag("</tr>")}}}}function Et(t,i){return i==="|"?i:t}class It{constructor(){this.map=[]}add(i,e,r){Ot(this,i,e,r)}consume(i){if(this.map.sort(function(h,n){return h[0]-n[0]}),this.map.length===0)return;let e=this.map.length;const r=[];for(;e>0;)e-=1,r.push(i.slice(this.map[e][0]+this.map[e][1]),this.map[e][2]),i.length=this.map[e][0];r.push(i.slice()),i.length=0;let s=r.pop();for(;s;){for(const h of s)i.push(h);s=r.pop()}this.map.length=0}}function Ot(t,i,e,r){let s=0;if(!(e===0&&r.length===0)){for(;s<t.map.length;){if(t.map[s][0]===i){t.map[s][1]+=e,t.map[s][2].push(...r);return}s+=1}t.map.push([i,e,r])}}function Tt(t,i){let e=!1;const r=[];for(;i<t.length;){const s=t[i];if(e){if(s[0]==="enter")s[1].type==="tableContent"&&r.push(t[i+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(t[i-1][1].type==="tableDelimiterMarker"){const h=r.length-1;r[h]=r[h]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(e=!0);i+=1}return r}function Rt(){return{flow:{null:{name:"table",tokenize:Mt,resolveAll:Pt}}}}function Mt(t,i,e){const r=this;let s=0,h=0,n;return u;function u(l){let F=r.events.length-1;for(;F>-1;){const B=r.events[F][1].type;if(B==="lineEnding"||B==="linePrefix")F--;else break}const H=F>-1?r.events[F][1].type:null,N=H==="tableHead"||H==="tableRow"?j:o;return N===j&&r.parser.lazy[r.now().line]?e(l):N(l)}function o(l){return t.enter("tableHead"),t.enter("tableRow"),g(l)}function g(l){return l===124||(n=!0,h+=1),p(l)}function p(l){return l===null?e(l):f.markdownLineEnding(l)?h>1?(h=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),k):e(l):f.markdownSpace(l)?f.factorySpace(t,p,"whitespace")(l):(h+=1,n&&(n=!1,s+=1),l===124?(t.enter("tableCellDivider"),t.consume(l),t.exit("tableCellDivider"),n=!0,p):(t.enter("data"),a(l)))}function a(l){return l===null||l===124||f.markdownLineEndingOrSpace(l)?(t.exit("data"),p(l)):(t.consume(l),l===92?b:a)}function b(l){return l===92||l===124?(t.consume(l),a):a(l)}function k(l){return r.interrupt=!1,r.parser.lazy[r.now().line]?e(l):(t.enter("tableDelimiterRow"),n=!1,f.markdownSpace(l)?f.factorySpace(t,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):m(l))}function m(l){return l===45||l===58?D(l):l===124?(n=!0,t.enter("tableCellDivider"),t.consume(l),t.exit("tableCellDivider"),c):A(l)}function c(l){return f.markdownSpace(l)?f.factorySpace(t,D,"whitespace")(l):D(l)}function D(l){return l===58?(h+=1,n=!0,t.enter("tableDelimiterMarker"),t.consume(l),t.exit("tableDelimiterMarker"),y):l===45?(h+=1,y(l)):l===null||f.markdownLineEnding(l)?E(l):A(l)}function y(l){return l===45?(t.enter("tableDelimiterFiller"),M(l)):A(l)}function M(l){return l===45?(t.consume(l),M):l===58?(n=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(l),t.exit("tableDelimiterMarker"),P):(t.exit("tableDelimiterFiller"),P(l))}function P(l){return f.markdownSpace(l)?f.factorySpace(t,E,"whitespace")(l):E(l)}function E(l){return l===124?m(l):l===null||f.markdownLineEnding(l)?!n||s!==h?A(l):(t.exit("tableDelimiterRow"),t.exit("tableHead"),i(l)):A(l)}function A(l){return e(l)}function j(l){return t.enter("tableRow"),L(l)}function L(l){return l===124?(t.enter("tableCellDivider"),t.consume(l),t.exit("tableCellDivider"),L):l===null||f.markdownLineEnding(l)?(t.exit("tableRow"),i(l)):f.markdownSpace(l)?f.factorySpace(t,L,"whitespace")(l):(t.enter("data"),x(l))}function x(l){return l===null||l===124||f.markdownLineEndingOrSpace(l)?(t.exit("data"),L(l)):(t.consume(l),l===92?Z:x)}function Z(l){return l===92||l===124?(t.consume(l),x):x(l)}}function Pt(t,i){let e=-1,r=!0,s=0,h=[0,0,0,0],n=[0,0,0,0],u=!1,o=0,g,p,a;const b=new It;for(;++e<t.length;){const k=t[e],m=k[1];k[0]==="enter"?m.type==="tableHead"?(u=!1,o!==0&&(W(b,i,o,g,p),p=void 0,o=0),g={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},b.add(e,0,[["enter",g,i]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(r=!0,a=void 0,h=[0,0,0,0],n=[0,e+1,0,0],u&&(u=!1,p={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},b.add(e,0,[["enter",p,i]])),s=m.type==="tableDelimiterRow"?2:p?3:1):s&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(r=!1,n[2]===0&&(h[1]!==0&&(n[0]=n[1],a=z(b,i,h,s,void 0,a),h=[0,0,0,0]),n[2]=e)):m.type==="tableCellDivider"&&(r?r=!1:(h[1]!==0&&(n[0]=n[1],a=z(b,i,h,s,void 0,a)),h=n,n=[h[1],e,0,0])):m.type==="tableHead"?(u=!0,o=e):m.type==="tableRow"||m.type==="tableDelimiterRow"?(o=e,h[1]!==0?(n[0]=n[1],a=z(b,i,h,s,e,a)):n[1]!==0&&(a=z(b,i,n,s,e,a)),s=0):s&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(n[3]=e)}for(o!==0&&W(b,i,o,g,p),b.consume(i.events),e=-1;++e<i.events.length;){const k=i.events[e];k[0]==="enter"&&k[1].type==="table"&&(k[1]._align=Tt(i.events,e))}return t}function z(t,i,e,r,s,h){const n=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";e[0]!==0&&(h.end=Object.assign({},C(i.events,e[0])),t.add(e[0],0,[["exit",h,i]]));const o=C(i.events,e[1]);if(h={type:n,start:Object.assign({},o),end:Object.assign({},o)},t.add(e[1],0,[["enter",h,i]]),e[2]!==0){const g=C(i.events,e[2]),p=C(i.events,e[3]),a={type:u,start:Object.assign({},g),end:Object.assign({},p)};if(t.add(e[2],0,[["enter",a,i]]),r!==2){const b=i.events[e[2]],k=i.events[e[3]];if(b[1].end=Object.assign({},k[1].end),b[1].type="chunkText",b[1].contentType="text",e[3]>e[2]+1){const m=e[2]+1,c=e[3]-e[2]-1;t.add(m,c,[])}}t.add(e[3]+1,0,[["exit",a,i]])}return s!==void 0&&(h.end=Object.assign({},C(i.events,s)),t.add(s,0,[["exit",h,i]]),h=void 0),h}function W(t,i,e,r,s){const h=[],n=C(i.events,e);s&&(s.end=Object.assign({},n),h.push(["exit",s,i])),r.end=Object.assign({},n),h.push(["exit",r,i]),t.add(e+1,0,h)}function C(t,i){const e=t[i],r=e[0]==="enter"?"start":"end";return e[1][r]}const Y=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|title|textarea|xmp)(?=[\t\n\f\r />])/gi,jt=new RegExp("^"+Y.source,"i");function Ht(){return{exit:{htmlFlowData(t){_.call(this,t,Y)},htmlTextData(t){_.call(this,t,jt)}}}}function _(t,i){let e=this.sliceSerialize(t);this.options.allowDangerousHtml&&(e=e.replace(i,"&lt;$1$2")),this.raw(this.encode(e))}function Nt(){return{enter:{taskListCheck(){this.tag('<input type="checkbox" disabled="" ')}},exit:{taskListCheck(){this.tag("/>")},taskListCheckValueChecked(){this.tag('checked="" ')}}}}const Bt={name:"tasklistCheck",tokenize:_t};function Wt(){return{text:{91:Bt}}}function _t(t,i,e){const r=this;return s;function s(o){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?e(o):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),h)}function h(o){return f.markdownLineEndingOrSpace(o)?(t.enter("taskListCheckValueUnchecked"),t.consume(o),t.exit("taskListCheckValueUnchecked"),n):o===88||o===120?(t.enter("taskListCheckValueChecked"),t.consume(o),t.exit("taskListCheckValueChecked"),n):e(o)}function n(o){return o===93?(t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),u):e(o)}function u(o){return f.markdownLineEnding(o)?i(o):f.markdownSpace(o)?t.check({tokenize:qt},i,e)(o):e(o)}}function qt(t,i,e){return f.factorySpace(t,r,"whitespace");function r(s){return s===null?e(s):i(s)}}function Ut(t){return f.combineExtensions([tt(),pt(),xt(t),Rt(),Wt()])}function Vt(t){return f.combineHtmlExtensions([st(),Ft(t),Lt(),zt(),Ht(),Nt()])}exports.gfm=Ut;exports.gfmHtml=Vt;
@@ -1 +1 @@
1
- "use strict";const m=require("./index-ClqyVDXY.cjs");var R={},_={},O;function H(){if(O)return _;O=1,Object.defineProperty(_,"__esModule",{value:!0}),_.dynamicAnchor=void 0;const e=m.requireCodegen(),r=m.requireNames(),n=m.requireCompile(),l=m.requireRef(),o={keyword:"$dynamicAnchor",schemaType:"string",code:i=>t(i,i.schema)};function t(i,v){const{gen:s,it:d}=i;d.schemaEnv.root.dynamicAnchors[v]=!0;const y=(0,e._)`${r.default.dynamicAnchors}${(0,e.getProperty)(v)}`,a=d.errSchemaPath==="#"?d.validateName:u(i);s.if((0,e._)`!${y}`,()=>s.assign(y,a))}_.dynamicAnchor=t;function u(i){const{schemaEnv:v,schema:s,self:d}=i.it,{root:y,baseId:a,localRefs:f,meta:p}=v.root,{schemaId:S}=d.opts,c=new n.SchemaEnv({schema:s,schemaId:S,root:y,baseId:a,localRefs:f,meta:p});return n.compileSchema.call(d,c),(0,l.getValidate)(i,c)}return _.default=o,_}var q={},C;function J(){if(C)return q;C=1,Object.defineProperty(q,"__esModule",{value:!0}),q.dynamicRef=void 0;const e=m.requireCodegen(),r=m.requireNames(),n=m.requireRef(),l={keyword:"$dynamicRef",schemaType:"string",code:t=>o(t,t.schema)};function o(t,u){const{gen:i,keyword:v,it:s}=t;if(u[0]!=="#")throw new Error(`"${v}" only supports hash fragment reference`);const d=u.slice(1);if(s.allErrors)y();else{const f=i.let("valid",!1);y(f),t.ok(f)}function y(f){if(s.schemaEnv.root.dynamicAnchors[d]){const p=i.let("_v",(0,e._)`${r.default.dynamicAnchors}${(0,e.getProperty)(d)}`);i.if(p,a(p,f),a(s.validateName,f))}else a(s.validateName,f)()}function a(f,p){return p?()=>i.block(()=>{(0,n.callRef)(t,f),i.let(p,!0)}):()=>(0,n.callRef)(t,f)}}return q.dynamicRef=o,q.default=l,q}var $={},N;function K(){if(N)return $;N=1,Object.defineProperty($,"__esModule",{value:!0});const e=H(),r=m.requireUtil(),n={keyword:"$recursiveAnchor",schemaType:"boolean",code(l){l.schema?(0,e.dynamicAnchor)(l,""):(0,r.checkStrictMode)(l.it,"$recursiveAnchor: false is ignored")}};return $.default=n,$}var b={},I;function Q(){if(I)return b;I=1,Object.defineProperty(b,"__esModule",{value:!0});const e=J(),r={keyword:"$recursiveRef",schemaType:"string",code:n=>(0,e.dynamicRef)(n,n.schema)};return b.default=r,b}var U;function W(){if(U)return R;U=1,Object.defineProperty(R,"__esModule",{value:!0});const e=H(),r=J(),n=K(),l=Q(),o=[e.default,r.default,n.default,l.default];return R.default=o,R}var P={},g={},E;function X(){if(E)return g;E=1,Object.defineProperty(g,"__esModule",{value:!0});const e=m.requireDependencies(),r={keyword:"dependentRequired",type:"object",schemaType:"object",error:e.error,code:n=>(0,e.validatePropertyDeps)(n)};return g.default=r,g}var j={},V;function Y(){if(V)return j;V=1,Object.defineProperty(j,"__esModule",{value:!0});const e=m.requireDependencies(),r={keyword:"dependentSchemas",type:"object",schemaType:"object",code:n=>(0,e.validateSchemaDeps)(n)};return j.default=r,j}var k={},L;function Z(){if(L)return k;L=1,Object.defineProperty(k,"__esModule",{value:!0});const e=m.requireUtil(),r={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:n,parentSchema:l,it:o}){l.contains===void 0&&(0,e.checkStrictMode)(o,`"${n}" without "contains" is ignored`)}};return k.default=r,k}var z;function x(){if(z)return P;z=1,Object.defineProperty(P,"__esModule",{value:!0});const e=X(),r=Y(),n=Z(),l=[e.default,r.default,n.default];return P.default=l,P}var w={},A={},B;function ee(){if(B)return A;B=1,Object.defineProperty(A,"__esModule",{value:!0});const e=m.requireCodegen(),r=m.requireUtil(),n=m.requireNames(),o={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:t})=>(0,e._)`{unevaluatedProperty: ${t.unevaluatedProperty}}`},code(t){const{gen:u,schema:i,data:v,errsCount:s,it:d}=t;if(!s)throw new Error("ajv implementation error");const{allErrors:y,props:a}=d;a instanceof e.Name?u.if((0,e._)`${a} !== true`,()=>u.forIn("key",v,c=>u.if(p(a,c),()=>f(c)))):a!==!0&&u.forIn("key",v,c=>a===void 0?f(c):u.if(S(a,c),()=>f(c))),d.props=!0,t.ok((0,e._)`${s} === ${n.default.errors}`);function f(c){if(i===!1){t.setParams({unevaluatedProperty:c}),t.error(),y||u.break();return}if(!(0,r.alwaysValidSchema)(d,i)){const h=u.name("valid");t.subschema({keyword:"unevaluatedProperties",dataProp:c,dataPropType:r.Type.Str},h),y||u.if((0,e.not)(h),()=>u.break())}}function p(c,h){return(0,e._)`!${c} || !${c}[${h}]`}function S(c,h){const T=[];for(const M in c)c[M]===!0&&T.push((0,e._)`${h} !== ${M}`);return(0,e.and)(...T)}}};return A.default=o,A}var D={},F;function re(){if(F)return D;F=1,Object.defineProperty(D,"__esModule",{value:!0});const e=m.requireCodegen(),r=m.requireUtil(),l={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:o}})=>(0,e.str)`must NOT have more than ${o} items`,params:({params:{len:o}})=>(0,e._)`{limit: ${o}}`},code(o){const{gen:t,schema:u,data:i,it:v}=o,s=v.items||0;if(s===!0)return;const d=t.const("len",(0,e._)`${i}.length`);if(u===!1)o.setParams({len:s}),o.fail((0,e._)`${d} > ${s}`);else if(typeof u=="object"&&!(0,r.alwaysValidSchema)(v,u)){const a=t.var("valid",(0,e._)`${d} <= ${s}`);t.if((0,e.not)(a),()=>y(a,s)),o.ok(a)}v.items=!0;function y(a,f){t.forRange("i",f,d,p=>{o.subschema({keyword:"unevaluatedItems",dataProp:p,dataPropType:r.Type.Num},a),v.allErrors||t.if((0,e.not)(a),()=>t.break())})}}};return D.default=l,D}var G;function ne(){if(G)return w;G=1,Object.defineProperty(w,"__esModule",{value:!0});const e=ee(),r=re(),n=[e.default,r.default];return w.default=n,w}exports.requireDynamic=W;exports.requireNext=x;exports.requireUnevaluated=ne;
1
+ "use strict";const m=require("./index-CkNcU-jd.cjs");var R={},_={},O;function H(){if(O)return _;O=1,Object.defineProperty(_,"__esModule",{value:!0}),_.dynamicAnchor=void 0;const e=m.requireCodegen(),r=m.requireNames(),n=m.requireCompile(),l=m.requireRef(),o={keyword:"$dynamicAnchor",schemaType:"string",code:i=>t(i,i.schema)};function t(i,v){const{gen:s,it:d}=i;d.schemaEnv.root.dynamicAnchors[v]=!0;const y=(0,e._)`${r.default.dynamicAnchors}${(0,e.getProperty)(v)}`,a=d.errSchemaPath==="#"?d.validateName:u(i);s.if((0,e._)`!${y}`,()=>s.assign(y,a))}_.dynamicAnchor=t;function u(i){const{schemaEnv:v,schema:s,self:d}=i.it,{root:y,baseId:a,localRefs:f,meta:p}=v.root,{schemaId:S}=d.opts,c=new n.SchemaEnv({schema:s,schemaId:S,root:y,baseId:a,localRefs:f,meta:p});return n.compileSchema.call(d,c),(0,l.getValidate)(i,c)}return _.default=o,_}var q={},C;function J(){if(C)return q;C=1,Object.defineProperty(q,"__esModule",{value:!0}),q.dynamicRef=void 0;const e=m.requireCodegen(),r=m.requireNames(),n=m.requireRef(),l={keyword:"$dynamicRef",schemaType:"string",code:t=>o(t,t.schema)};function o(t,u){const{gen:i,keyword:v,it:s}=t;if(u[0]!=="#")throw new Error(`"${v}" only supports hash fragment reference`);const d=u.slice(1);if(s.allErrors)y();else{const f=i.let("valid",!1);y(f),t.ok(f)}function y(f){if(s.schemaEnv.root.dynamicAnchors[d]){const p=i.let("_v",(0,e._)`${r.default.dynamicAnchors}${(0,e.getProperty)(d)}`);i.if(p,a(p,f),a(s.validateName,f))}else a(s.validateName,f)()}function a(f,p){return p?()=>i.block(()=>{(0,n.callRef)(t,f),i.let(p,!0)}):()=>(0,n.callRef)(t,f)}}return q.dynamicRef=o,q.default=l,q}var $={},N;function K(){if(N)return $;N=1,Object.defineProperty($,"__esModule",{value:!0});const e=H(),r=m.requireUtil(),n={keyword:"$recursiveAnchor",schemaType:"boolean",code(l){l.schema?(0,e.dynamicAnchor)(l,""):(0,r.checkStrictMode)(l.it,"$recursiveAnchor: false is ignored")}};return $.default=n,$}var b={},I;function Q(){if(I)return b;I=1,Object.defineProperty(b,"__esModule",{value:!0});const e=J(),r={keyword:"$recursiveRef",schemaType:"string",code:n=>(0,e.dynamicRef)(n,n.schema)};return b.default=r,b}var U;function W(){if(U)return R;U=1,Object.defineProperty(R,"__esModule",{value:!0});const e=H(),r=J(),n=K(),l=Q(),o=[e.default,r.default,n.default,l.default];return R.default=o,R}var P={},g={},E;function X(){if(E)return g;E=1,Object.defineProperty(g,"__esModule",{value:!0});const e=m.requireDependencies(),r={keyword:"dependentRequired",type:"object",schemaType:"object",error:e.error,code:n=>(0,e.validatePropertyDeps)(n)};return g.default=r,g}var j={},V;function Y(){if(V)return j;V=1,Object.defineProperty(j,"__esModule",{value:!0});const e=m.requireDependencies(),r={keyword:"dependentSchemas",type:"object",schemaType:"object",code:n=>(0,e.validateSchemaDeps)(n)};return j.default=r,j}var k={},L;function Z(){if(L)return k;L=1,Object.defineProperty(k,"__esModule",{value:!0});const e=m.requireUtil(),r={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:n,parentSchema:l,it:o}){l.contains===void 0&&(0,e.checkStrictMode)(o,`"${n}" without "contains" is ignored`)}};return k.default=r,k}var z;function x(){if(z)return P;z=1,Object.defineProperty(P,"__esModule",{value:!0});const e=X(),r=Y(),n=Z(),l=[e.default,r.default,n.default];return P.default=l,P}var w={},A={},B;function ee(){if(B)return A;B=1,Object.defineProperty(A,"__esModule",{value:!0});const e=m.requireCodegen(),r=m.requireUtil(),n=m.requireNames(),o={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:t})=>(0,e._)`{unevaluatedProperty: ${t.unevaluatedProperty}}`},code(t){const{gen:u,schema:i,data:v,errsCount:s,it:d}=t;if(!s)throw new Error("ajv implementation error");const{allErrors:y,props:a}=d;a instanceof e.Name?u.if((0,e._)`${a} !== true`,()=>u.forIn("key",v,c=>u.if(p(a,c),()=>f(c)))):a!==!0&&u.forIn("key",v,c=>a===void 0?f(c):u.if(S(a,c),()=>f(c))),d.props=!0,t.ok((0,e._)`${s} === ${n.default.errors}`);function f(c){if(i===!1){t.setParams({unevaluatedProperty:c}),t.error(),y||u.break();return}if(!(0,r.alwaysValidSchema)(d,i)){const h=u.name("valid");t.subschema({keyword:"unevaluatedProperties",dataProp:c,dataPropType:r.Type.Str},h),y||u.if((0,e.not)(h),()=>u.break())}}function p(c,h){return(0,e._)`!${c} || !${c}[${h}]`}function S(c,h){const T=[];for(const M in c)c[M]===!0&&T.push((0,e._)`${h} !== ${M}`);return(0,e.and)(...T)}}};return A.default=o,A}var D={},F;function re(){if(F)return D;F=1,Object.defineProperty(D,"__esModule",{value:!0});const e=m.requireCodegen(),r=m.requireUtil(),l={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:o}})=>(0,e.str)`must NOT have more than ${o} items`,params:({params:{len:o}})=>(0,e._)`{limit: ${o}}`},code(o){const{gen:t,schema:u,data:i,it:v}=o,s=v.items||0;if(s===!0)return;const d=t.const("len",(0,e._)`${i}.length`);if(u===!1)o.setParams({len:s}),o.fail((0,e._)`${d} > ${s}`);else if(typeof u=="object"&&!(0,r.alwaysValidSchema)(v,u)){const a=t.var("valid",(0,e._)`${d} <= ${s}`);t.if((0,e.not)(a),()=>y(a,s)),o.ok(a)}v.items=!0;function y(a,f){t.forRange("i",f,d,p=>{o.subschema({keyword:"unevaluatedItems",dataProp:p,dataPropType:r.Type.Num},a),v.allErrors||t.if((0,e.not)(a),()=>t.break())})}}};return D.default=l,D}var G;function ne(){if(G)return w;G=1,Object.defineProperty(w,"__esModule",{value:!0});const e=ee(),r=re(),n=[e.default,r.default];return w.default=n,w}exports.requireDynamic=W;exports.requireNext=x;exports.requireUnevaluated=ne;