@suveren/gateway 0.18.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/suveren-gateway.js +26 -1
- package/content/guides/3-mandates.md +1 -0
- package/dist/control-plane/index.mjs +132 -12
- package/dist/mcp-server/chunk-JUFH4SKS.mjs +639 -0
- package/dist/mcp-server/http.mjs +1592 -190
- package/dist/mcp-server/report-verify-cli.mjs +171 -0
- package/dist/ui/assets/index-78vuGrVE.js +111 -0
- package/dist/ui/assets/{index-y1OFeYnS.css → index-Dfh38n-b.css} +1 -1
- package/dist/ui/index.html +2 -2
- package/node_modules/dayjs/.editorconfig +7 -0
- package/node_modules/dayjs/CHANGELOG.md +1022 -0
- package/node_modules/dayjs/LICENSE +21 -0
- package/node_modules/dayjs/README.md +186 -0
- package/node_modules/dayjs/dayjs.min.js +1 -0
- package/node_modules/dayjs/esm/constant.js +25 -0
- package/node_modules/dayjs/esm/index.d.ts +429 -0
- package/node_modules/dayjs/esm/index.js +541 -0
- package/node_modules/dayjs/esm/locale/af.js +39 -0
- package/node_modules/dayjs/esm/locale/am.js +40 -0
- package/node_modules/dayjs/esm/locale/ar-dz.js +41 -0
- package/node_modules/dayjs/esm/locale/ar-iq.js +42 -0
- package/node_modules/dayjs/esm/locale/ar-kw.js +41 -0
- package/node_modules/dayjs/esm/locale/ar-ly.js +27 -0
- package/node_modules/dayjs/esm/locale/ar-ma.js +42 -0
- package/node_modules/dayjs/esm/locale/ar-sa.js +41 -0
- package/node_modules/dayjs/esm/locale/ar-tn.js +42 -0
- package/node_modules/dayjs/esm/locale/ar.js +81 -0
- package/node_modules/dayjs/esm/locale/az.js +39 -0
- package/node_modules/dayjs/esm/locale/be.js +102 -0
- package/node_modules/dayjs/esm/locale/bg.js +55 -0
- package/node_modules/dayjs/esm/locale/bi.js +39 -0
- package/node_modules/dayjs/esm/locale/bm.js +39 -0
- package/node_modules/dayjs/esm/locale/bn-bd.js +81 -0
- package/node_modules/dayjs/esm/locale/bn.js +72 -0
- package/node_modules/dayjs/esm/locale/bo.js +38 -0
- package/node_modules/dayjs/esm/locale/br.js +93 -0
- package/node_modules/dayjs/esm/locale/bs.js +24 -0
- package/node_modules/dayjs/esm/locale/ca.js +44 -0
- package/node_modules/dayjs/esm/locale/cs.js +120 -0
- package/node_modules/dayjs/esm/locale/cv.js +24 -0
- package/node_modules/dayjs/esm/locale/cy.js +39 -0
- package/node_modules/dayjs/esm/locale/da.js +40 -0
- package/node_modules/dayjs/esm/locale/de-at.js +63 -0
- package/node_modules/dayjs/esm/locale/de-ch.js +63 -0
- package/node_modules/dayjs/esm/locale/de.js +64 -0
- package/node_modules/dayjs/esm/locale/dv.js +39 -0
- package/node_modules/dayjs/esm/locale/el.js +39 -0
- package/node_modules/dayjs/esm/locale/en-au.js +41 -0
- package/node_modules/dayjs/esm/locale/en-ca.js +38 -0
- package/node_modules/dayjs/esm/locale/en-gb.js +42 -0
- package/node_modules/dayjs/esm/locale/en-ie.js +39 -0
- package/node_modules/dayjs/esm/locale/en-il.js +38 -0
- package/node_modules/dayjs/esm/locale/en-in.js +42 -0
- package/node_modules/dayjs/esm/locale/en-nz.js +41 -0
- package/node_modules/dayjs/esm/locale/en-sg.js +39 -0
- package/node_modules/dayjs/esm/locale/en-tt.js +42 -0
- package/node_modules/dayjs/esm/locale/en.js +12 -0
- package/node_modules/dayjs/esm/locale/eo.js +39 -0
- package/node_modules/dayjs/esm/locale/es-do.js +39 -0
- package/node_modules/dayjs/esm/locale/es-mx.js +38 -0
- package/node_modules/dayjs/esm/locale/es-pr.js +39 -0
- package/node_modules/dayjs/esm/locale/es-us.js +38 -0
- package/node_modules/dayjs/esm/locale/es.js +39 -0
- package/node_modules/dayjs/esm/locale/et.js +65 -0
- package/node_modules/dayjs/esm/locale/eu.js +43 -0
- package/node_modules/dayjs/esm/locale/fa.js +39 -0
- package/node_modules/dayjs/esm/locale/fi.js +88 -0
- package/node_modules/dayjs/esm/locale/fo.js +39 -0
- package/node_modules/dayjs/esm/locale/fr-ca.js +38 -0
- package/node_modules/dayjs/esm/locale/fr-ch.js +39 -0
- package/node_modules/dayjs/esm/locale/fr.js +41 -0
- package/node_modules/dayjs/esm/locale/fy.js +39 -0
- package/node_modules/dayjs/esm/locale/ga.js +39 -0
- package/node_modules/dayjs/esm/locale/gd.js +39 -0
- package/node_modules/dayjs/esm/locale/gl.js +39 -0
- package/node_modules/dayjs/esm/locale/gom-latn.js +25 -0
- package/node_modules/dayjs/esm/locale/gu.js +38 -0
- package/node_modules/dayjs/esm/locale/he.js +78 -0
- package/node_modules/dayjs/esm/locale/hi.js +38 -0
- package/node_modules/dayjs/esm/locale/hr.js +53 -0
- package/node_modules/dayjs/esm/locale/ht.js +38 -0
- package/node_modules/dayjs/esm/locale/hu.js +61 -0
- package/node_modules/dayjs/esm/locale/hy-am.js +39 -0
- package/node_modules/dayjs/esm/locale/id.js +39 -0
- package/node_modules/dayjs/esm/locale/index.d.ts +11 -0
- package/node_modules/dayjs/esm/locale/is.js +68 -0
- package/node_modules/dayjs/esm/locale/it-ch.js +39 -0
- package/node_modules/dayjs/esm/locale/it.js +39 -0
- package/node_modules/dayjs/esm/locale/ja.js +45 -0
- package/node_modules/dayjs/esm/locale/jv.js +39 -0
- package/node_modules/dayjs/esm/locale/ka.js +39 -0
- package/node_modules/dayjs/esm/locale/kk.js +39 -0
- package/node_modules/dayjs/esm/locale/km.js +42 -0
- package/node_modules/dayjs/esm/locale/kn.js +38 -0
- package/node_modules/dayjs/esm/locale/ko.js +45 -0
- package/node_modules/dayjs/esm/locale/ku.js +77 -0
- package/node_modules/dayjs/esm/locale/ky.js +39 -0
- package/node_modules/dayjs/esm/locale/lb.js +24 -0
- package/node_modules/dayjs/esm/locale/lo.js +38 -0
- package/node_modules/dayjs/esm/locale/lt.js +70 -0
- package/node_modules/dayjs/esm/locale/lv.js +39 -0
- package/node_modules/dayjs/esm/locale/me.js +24 -0
- package/node_modules/dayjs/esm/locale/mi.js +39 -0
- package/node_modules/dayjs/esm/locale/mk.js +39 -0
- package/node_modules/dayjs/esm/locale/ml.js +38 -0
- package/node_modules/dayjs/esm/locale/mn.js +38 -0
- package/node_modules/dayjs/esm/locale/mr.js +23 -0
- package/node_modules/dayjs/esm/locale/ms-my.js +39 -0
- package/node_modules/dayjs/esm/locale/ms.js +39 -0
- package/node_modules/dayjs/esm/locale/mt.js +39 -0
- package/node_modules/dayjs/esm/locale/my.js +39 -0
- package/node_modules/dayjs/esm/locale/nb.js +40 -0
- package/node_modules/dayjs/esm/locale/ne.js +40 -0
- package/node_modules/dayjs/esm/locale/nl-be.js +39 -0
- package/node_modules/dayjs/esm/locale/nl.js +40 -0
- package/node_modules/dayjs/esm/locale/nn.js +39 -0
- package/node_modules/dayjs/esm/locale/oc-lnc.js +39 -0
- package/node_modules/dayjs/esm/locale/pa-in.js +38 -0
- package/node_modules/dayjs/esm/locale/pl.js +87 -0
- package/node_modules/dayjs/esm/locale/pt-br.js +38 -0
- package/node_modules/dayjs/esm/locale/pt.js +40 -0
- package/node_modules/dayjs/esm/locale/rn.js +39 -0
- package/node_modules/dayjs/esm/locale/ro.js +39 -0
- package/node_modules/dayjs/esm/locale/ru.js +99 -0
- package/node_modules/dayjs/esm/locale/rw.js +35 -0
- package/node_modules/dayjs/esm/locale/sd.js +39 -0
- package/node_modules/dayjs/esm/locale/se.js +39 -0
- package/node_modules/dayjs/esm/locale/si.js +38 -0
- package/node_modules/dayjs/esm/locale/sk.js +121 -0
- package/node_modules/dayjs/esm/locale/sl.js +141 -0
- package/node_modules/dayjs/esm/locale/sq.js +39 -0
- package/node_modules/dayjs/esm/locale/sr-cyrl.js +74 -0
- package/node_modules/dayjs/esm/locale/sr.js +74 -0
- package/node_modules/dayjs/esm/locale/ss.js +39 -0
- package/node_modules/dayjs/esm/locale/sv-fi.js +46 -0
- package/node_modules/dayjs/esm/locale/sv.js +44 -0
- package/node_modules/dayjs/esm/locale/sw.js +39 -0
- package/node_modules/dayjs/esm/locale/ta.js +38 -0
- package/node_modules/dayjs/esm/locale/te.js +38 -0
- package/node_modules/dayjs/esm/locale/tet.js +39 -0
- package/node_modules/dayjs/esm/locale/tg.js +39 -0
- package/node_modules/dayjs/esm/locale/th.js +38 -0
- package/node_modules/dayjs/esm/locale/tk.js +39 -0
- package/node_modules/dayjs/esm/locale/tl-ph.js +39 -0
- package/node_modules/dayjs/esm/locale/tlh.js +24 -0
- package/node_modules/dayjs/esm/locale/tr.js +39 -0
- package/node_modules/dayjs/esm/locale/types.d.ts +33 -0
- package/node_modules/dayjs/esm/locale/tzl.js +24 -0
- package/node_modules/dayjs/esm/locale/tzm-latn.js +39 -0
- package/node_modules/dayjs/esm/locale/tzm.js +39 -0
- package/node_modules/dayjs/esm/locale/ug-cn.js +39 -0
- package/node_modules/dayjs/esm/locale/uk.js +77 -0
- package/node_modules/dayjs/esm/locale/ur.js +39 -0
- package/node_modules/dayjs/esm/locale/uz-latn.js +39 -0
- package/node_modules/dayjs/esm/locale/uz.js +39 -0
- package/node_modules/dayjs/esm/locale/vi.js +43 -0
- package/node_modules/dayjs/esm/locale/x-pseudo.js +39 -0
- package/node_modules/dayjs/esm/locale/yo.js +39 -0
- package/node_modules/dayjs/esm/locale/zh-cn.js +67 -0
- package/node_modules/dayjs/esm/locale/zh-hk.js +65 -0
- package/node_modules/dayjs/esm/locale/zh-tw.js +65 -0
- package/node_modules/dayjs/esm/locale/zh.js +67 -0
- package/node_modules/dayjs/esm/plugin/advancedFormat/index.d.ts +4 -0
- package/node_modules/dayjs/esm/plugin/advancedFormat/index.js +66 -0
- package/node_modules/dayjs/esm/plugin/arraySupport/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/arraySupport/index.js +33 -0
- package/node_modules/dayjs/esm/plugin/badMutable/index.d.ts +4 -0
- package/node_modules/dayjs/esm/plugin/badMutable/index.js +61 -0
- package/node_modules/dayjs/esm/plugin/bigIntSupport/index.d.ts +11 -0
- package/node_modules/dayjs/esm/plugin/bigIntSupport/index.js +32 -0
- package/node_modules/dayjs/esm/plugin/buddhistEra/index.d.ts +4 -0
- package/node_modules/dayjs/esm/plugin/buddhistEra/index.js +21 -0
- package/node_modules/dayjs/esm/plugin/calendar/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/calendar/index.js +32 -0
- package/node_modules/dayjs/esm/plugin/customParseFormat/index.d.ts +8 -0
- package/node_modules/dayjs/esm/plugin/customParseFormat/index.js +333 -0
- package/node_modules/dayjs/esm/plugin/dayOfYear/index.d.ts +11 -0
- package/node_modules/dayjs/esm/plugin/dayOfYear/index.js +9 -0
- package/node_modules/dayjs/esm/plugin/devHelper/index.d.ts +4 -0
- package/node_modules/dayjs/esm/plugin/devHelper/index.js +50 -0
- package/node_modules/dayjs/esm/plugin/duration/index.d.ts +88 -0
- package/node_modules/dayjs/esm/plugin/duration/index.js +357 -0
- package/node_modules/dayjs/esm/plugin/isBetween/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/isBetween/index.js +10 -0
- package/node_modules/dayjs/esm/plugin/isLeapYear/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/isLeapYear/index.js +7 -0
- package/node_modules/dayjs/esm/plugin/isMoment/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/isMoment/index.js +5 -0
- package/node_modules/dayjs/esm/plugin/isSameOrAfter/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/isSameOrAfter/index.js +5 -0
- package/node_modules/dayjs/esm/plugin/isSameOrBefore/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/isSameOrBefore/index.js +5 -0
- package/node_modules/dayjs/esm/plugin/isToday/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/isToday/index.js +9 -0
- package/node_modules/dayjs/esm/plugin/isTomorrow/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/isTomorrow/index.js +9 -0
- package/node_modules/dayjs/esm/plugin/isYesterday/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/isYesterday/index.js +9 -0
- package/node_modules/dayjs/esm/plugin/isoWeek/index.d.ts +27 -0
- package/node_modules/dayjs/esm/plugin/isoWeek/index.js +57 -0
- package/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.js +15 -0
- package/node_modules/dayjs/esm/plugin/localeData/index.d.ts +44 -0
- package/node_modules/dayjs/esm/plugin/localeData/index.js +114 -0
- package/node_modules/dayjs/esm/plugin/localizedFormat/index.d.ts +4 -0
- package/node_modules/dayjs/esm/plugin/localizedFormat/index.js +20 -0
- package/node_modules/dayjs/esm/plugin/localizedFormat/utils.js +20 -0
- package/node_modules/dayjs/esm/plugin/minMax/index.d.ts +22 -0
- package/node_modules/dayjs/esm/plugin/minMax/index.js +39 -0
- package/node_modules/dayjs/esm/plugin/negativeYear/index.d.ts +4 -0
- package/node_modules/dayjs/esm/plugin/negativeYear/index.js +36 -0
- package/node_modules/dayjs/esm/plugin/objectSupport/index.d.ts +48 -0
- package/node_modules/dayjs/esm/plugin/objectSupport/index.js +97 -0
- package/node_modules/dayjs/esm/plugin/pluralGetSet/index.d.ts +44 -0
- package/node_modules/dayjs/esm/plugin/pluralGetSet/index.js +7 -0
- package/node_modules/dayjs/esm/plugin/preParsePostFormat/index.d.ts +4 -0
- package/node_modules/dayjs/esm/plugin/preParsePostFormat/index.js +40 -0
- package/node_modules/dayjs/esm/plugin/quarterOfYear/index.d.ts +26 -0
- package/node_modules/dayjs/esm/plugin/quarterOfYear/index.js +41 -0
- package/node_modules/dayjs/esm/plugin/relativeTime/index.d.ts +24 -0
- package/node_modules/dayjs/esm/plugin/relativeTime/index.js +130 -0
- package/node_modules/dayjs/esm/plugin/timezone/index.d.ts +20 -0
- package/node_modules/dayjs/esm/plugin/timezone/index.js +205 -0
- package/node_modules/dayjs/esm/plugin/toArray/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/toArray/index.js +7 -0
- package/node_modules/dayjs/esm/plugin/toObject/index.d.ts +20 -0
- package/node_modules/dayjs/esm/plugin/toObject/index.js +15 -0
- package/node_modules/dayjs/esm/plugin/updateLocale/index.d.ts +8 -0
- package/node_modules/dayjs/esm/plugin/updateLocale/index.js +18 -0
- package/node_modules/dayjs/esm/plugin/utc/index.d.ts +19 -0
- package/node_modules/dayjs/esm/plugin/utc/index.js +188 -0
- package/node_modules/dayjs/esm/plugin/weekOfYear/index.d.ts +12 -0
- package/node_modules/dayjs/esm/plugin/weekOfYear/index.js +44 -0
- package/node_modules/dayjs/esm/plugin/weekYear/index.d.ts +10 -0
- package/node_modules/dayjs/esm/plugin/weekYear/index.js +19 -0
- package/node_modules/dayjs/esm/plugin/weekday/index.d.ts +12 -0
- package/node_modules/dayjs/esm/plugin/weekday/index.js +15 -0
- package/node_modules/dayjs/esm/utils.js +58 -0
- package/node_modules/dayjs/index.d.ts +429 -0
- package/node_modules/dayjs/locale/af.js +1 -0
- package/node_modules/dayjs/locale/am.js +1 -0
- package/node_modules/dayjs/locale/ar-dz.js +1 -0
- package/node_modules/dayjs/locale/ar-iq.js +1 -0
- package/node_modules/dayjs/locale/ar-kw.js +1 -0
- package/node_modules/dayjs/locale/ar-ly.js +1 -0
- package/node_modules/dayjs/locale/ar-ma.js +1 -0
- package/node_modules/dayjs/locale/ar-sa.js +1 -0
- package/node_modules/dayjs/locale/ar-tn.js +1 -0
- package/node_modules/dayjs/locale/ar.js +1 -0
- package/node_modules/dayjs/locale/az.js +1 -0
- package/node_modules/dayjs/locale/be.js +1 -0
- package/node_modules/dayjs/locale/bg.js +1 -0
- package/node_modules/dayjs/locale/bi.js +1 -0
- package/node_modules/dayjs/locale/bm.js +1 -0
- package/node_modules/dayjs/locale/bn-bd.js +1 -0
- package/node_modules/dayjs/locale/bn.js +1 -0
- package/node_modules/dayjs/locale/bo.js +1 -0
- package/node_modules/dayjs/locale/br.js +1 -0
- package/node_modules/dayjs/locale/bs.js +1 -0
- package/node_modules/dayjs/locale/ca.js +1 -0
- package/node_modules/dayjs/locale/cs.js +1 -0
- package/node_modules/dayjs/locale/cv.js +1 -0
- package/node_modules/dayjs/locale/cy.js +1 -0
- package/node_modules/dayjs/locale/da.js +1 -0
- package/node_modules/dayjs/locale/de-at.js +1 -0
- package/node_modules/dayjs/locale/de-ch.js +1 -0
- package/node_modules/dayjs/locale/de.js +1 -0
- package/node_modules/dayjs/locale/dv.js +1 -0
- package/node_modules/dayjs/locale/el.js +1 -0
- package/node_modules/dayjs/locale/en-au.js +1 -0
- package/node_modules/dayjs/locale/en-ca.js +1 -0
- package/node_modules/dayjs/locale/en-gb.js +1 -0
- package/node_modules/dayjs/locale/en-ie.js +1 -0
- package/node_modules/dayjs/locale/en-il.js +1 -0
- package/node_modules/dayjs/locale/en-in.js +1 -0
- package/node_modules/dayjs/locale/en-nz.js +1 -0
- package/node_modules/dayjs/locale/en-sg.js +1 -0
- package/node_modules/dayjs/locale/en-tt.js +1 -0
- package/node_modules/dayjs/locale/en.js +1 -0
- package/node_modules/dayjs/locale/eo.js +1 -0
- package/node_modules/dayjs/locale/es-do.js +1 -0
- package/node_modules/dayjs/locale/es-mx.js +1 -0
- package/node_modules/dayjs/locale/es-pr.js +1 -0
- package/node_modules/dayjs/locale/es-us.js +1 -0
- package/node_modules/dayjs/locale/es.js +1 -0
- package/node_modules/dayjs/locale/et.js +1 -0
- package/node_modules/dayjs/locale/eu.js +1 -0
- package/node_modules/dayjs/locale/fa.js +1 -0
- package/node_modules/dayjs/locale/fi.js +1 -0
- package/node_modules/dayjs/locale/fo.js +1 -0
- package/node_modules/dayjs/locale/fr-ca.js +1 -0
- package/node_modules/dayjs/locale/fr-ch.js +1 -0
- package/node_modules/dayjs/locale/fr.js +1 -0
- package/node_modules/dayjs/locale/fy.js +1 -0
- package/node_modules/dayjs/locale/ga.js +1 -0
- package/node_modules/dayjs/locale/gd.js +1 -0
- package/node_modules/dayjs/locale/gl.js +1 -0
- package/node_modules/dayjs/locale/gom-latn.js +1 -0
- package/node_modules/dayjs/locale/gu.js +1 -0
- package/node_modules/dayjs/locale/he.js +1 -0
- package/node_modules/dayjs/locale/hi.js +1 -0
- package/node_modules/dayjs/locale/hr.js +1 -0
- package/node_modules/dayjs/locale/ht.js +1 -0
- package/node_modules/dayjs/locale/hu.js +1 -0
- package/node_modules/dayjs/locale/hy-am.js +1 -0
- package/node_modules/dayjs/locale/id.js +1 -0
- package/node_modules/dayjs/locale/index.d.ts +11 -0
- package/node_modules/dayjs/locale/is.js +1 -0
- package/node_modules/dayjs/locale/it-ch.js +1 -0
- package/node_modules/dayjs/locale/it.js +1 -0
- package/node_modules/dayjs/locale/ja.js +1 -0
- package/node_modules/dayjs/locale/jv.js +1 -0
- package/node_modules/dayjs/locale/ka.js +1 -0
- package/node_modules/dayjs/locale/kk.js +1 -0
- package/node_modules/dayjs/locale/km.js +1 -0
- package/node_modules/dayjs/locale/kn.js +1 -0
- package/node_modules/dayjs/locale/ko.js +1 -0
- package/node_modules/dayjs/locale/ku.js +1 -0
- package/node_modules/dayjs/locale/ky.js +1 -0
- package/node_modules/dayjs/locale/lb.js +1 -0
- package/node_modules/dayjs/locale/lo.js +1 -0
- package/node_modules/dayjs/locale/lt.js +1 -0
- package/node_modules/dayjs/locale/lv.js +1 -0
- package/node_modules/dayjs/locale/me.js +1 -0
- package/node_modules/dayjs/locale/mi.js +1 -0
- package/node_modules/dayjs/locale/mk.js +1 -0
- package/node_modules/dayjs/locale/ml.js +1 -0
- package/node_modules/dayjs/locale/mn.js +1 -0
- package/node_modules/dayjs/locale/mr.js +1 -0
- package/node_modules/dayjs/locale/ms-my.js +1 -0
- package/node_modules/dayjs/locale/ms.js +1 -0
- package/node_modules/dayjs/locale/mt.js +1 -0
- package/node_modules/dayjs/locale/my.js +1 -0
- package/node_modules/dayjs/locale/nb.js +1 -0
- package/node_modules/dayjs/locale/ne.js +1 -0
- package/node_modules/dayjs/locale/nl-be.js +1 -0
- package/node_modules/dayjs/locale/nl.js +1 -0
- package/node_modules/dayjs/locale/nn.js +1 -0
- package/node_modules/dayjs/locale/oc-lnc.js +1 -0
- package/node_modules/dayjs/locale/pa-in.js +1 -0
- package/node_modules/dayjs/locale/pl.js +1 -0
- package/node_modules/dayjs/locale/pt-br.js +1 -0
- package/node_modules/dayjs/locale/pt.js +1 -0
- package/node_modules/dayjs/locale/rn.js +1 -0
- package/node_modules/dayjs/locale/ro.js +1 -0
- package/node_modules/dayjs/locale/ru.js +1 -0
- package/node_modules/dayjs/locale/rw.js +1 -0
- package/node_modules/dayjs/locale/sd.js +1 -0
- package/node_modules/dayjs/locale/se.js +1 -0
- package/node_modules/dayjs/locale/si.js +1 -0
- package/node_modules/dayjs/locale/sk.js +1 -0
- package/node_modules/dayjs/locale/sl.js +1 -0
- package/node_modules/dayjs/locale/sq.js +1 -0
- package/node_modules/dayjs/locale/sr-cyrl.js +1 -0
- package/node_modules/dayjs/locale/sr.js +1 -0
- package/node_modules/dayjs/locale/ss.js +1 -0
- package/node_modules/dayjs/locale/sv-fi.js +1 -0
- package/node_modules/dayjs/locale/sv.js +1 -0
- package/node_modules/dayjs/locale/sw.js +1 -0
- package/node_modules/dayjs/locale/ta.js +1 -0
- package/node_modules/dayjs/locale/te.js +1 -0
- package/node_modules/dayjs/locale/tet.js +1 -0
- package/node_modules/dayjs/locale/tg.js +1 -0
- package/node_modules/dayjs/locale/th.js +1 -0
- package/node_modules/dayjs/locale/tk.js +1 -0
- package/node_modules/dayjs/locale/tl-ph.js +1 -0
- package/node_modules/dayjs/locale/tlh.js +1 -0
- package/node_modules/dayjs/locale/tr.js +1 -0
- package/node_modules/dayjs/locale/types.d.ts +33 -0
- package/node_modules/dayjs/locale/tzl.js +1 -0
- package/node_modules/dayjs/locale/tzm-latn.js +1 -0
- package/node_modules/dayjs/locale/tzm.js +1 -0
- package/node_modules/dayjs/locale/ug-cn.js +1 -0
- package/node_modules/dayjs/locale/uk.js +1 -0
- package/node_modules/dayjs/locale/ur.js +1 -0
- package/node_modules/dayjs/locale/uz-latn.js +1 -0
- package/node_modules/dayjs/locale/uz.js +1 -0
- package/node_modules/dayjs/locale/vi.js +1 -0
- package/node_modules/dayjs/locale/x-pseudo.js +1 -0
- package/node_modules/dayjs/locale/yo.js +1 -0
- package/node_modules/dayjs/locale/zh-cn.js +1 -0
- package/node_modules/dayjs/locale/zh-hk.js +1 -0
- package/node_modules/dayjs/locale/zh-tw.js +1 -0
- package/node_modules/dayjs/locale/zh.js +1 -0
- package/node_modules/dayjs/locale.json +1 -0
- package/node_modules/dayjs/package.json +86 -0
- package/node_modules/dayjs/plugin/advancedFormat.d.ts +4 -0
- package/node_modules/dayjs/plugin/advancedFormat.js +1 -0
- package/node_modules/dayjs/plugin/arraySupport.d.ts +10 -0
- package/node_modules/dayjs/plugin/arraySupport.js +1 -0
- package/node_modules/dayjs/plugin/badMutable.d.ts +4 -0
- package/node_modules/dayjs/plugin/badMutable.js +1 -0
- package/node_modules/dayjs/plugin/bigIntSupport.d.ts +11 -0
- package/node_modules/dayjs/plugin/bigIntSupport.js +1 -0
- package/node_modules/dayjs/plugin/buddhistEra.d.ts +4 -0
- package/node_modules/dayjs/plugin/buddhistEra.js +1 -0
- package/node_modules/dayjs/plugin/calendar.d.ts +10 -0
- package/node_modules/dayjs/plugin/calendar.js +1 -0
- package/node_modules/dayjs/plugin/customParseFormat.d.ts +8 -0
- package/node_modules/dayjs/plugin/customParseFormat.js +1 -0
- package/node_modules/dayjs/plugin/dayOfYear.d.ts +11 -0
- package/node_modules/dayjs/plugin/dayOfYear.js +1 -0
- package/node_modules/dayjs/plugin/devHelper.d.ts +4 -0
- package/node_modules/dayjs/plugin/devHelper.js +1 -0
- package/node_modules/dayjs/plugin/duration.d.ts +88 -0
- package/node_modules/dayjs/plugin/duration.js +1 -0
- package/node_modules/dayjs/plugin/isBetween.d.ts +10 -0
- package/node_modules/dayjs/plugin/isBetween.js +1 -0
- package/node_modules/dayjs/plugin/isLeapYear.d.ts +10 -0
- package/node_modules/dayjs/plugin/isLeapYear.js +1 -0
- package/node_modules/dayjs/plugin/isMoment.d.ts +10 -0
- package/node_modules/dayjs/plugin/isMoment.js +1 -0
- package/node_modules/dayjs/plugin/isSameOrAfter.d.ts +10 -0
- package/node_modules/dayjs/plugin/isSameOrAfter.js +1 -0
- package/node_modules/dayjs/plugin/isSameOrBefore.d.ts +10 -0
- package/node_modules/dayjs/plugin/isSameOrBefore.js +1 -0
- package/node_modules/dayjs/plugin/isToday.d.ts +10 -0
- package/node_modules/dayjs/plugin/isToday.js +1 -0
- package/node_modules/dayjs/plugin/isTomorrow.d.ts +10 -0
- package/node_modules/dayjs/plugin/isTomorrow.js +1 -0
- package/node_modules/dayjs/plugin/isYesterday.d.ts +10 -0
- package/node_modules/dayjs/plugin/isYesterday.js +1 -0
- package/node_modules/dayjs/plugin/isoWeek.d.ts +27 -0
- package/node_modules/dayjs/plugin/isoWeek.js +1 -0
- package/node_modules/dayjs/plugin/isoWeeksInYear.d.ts +10 -0
- package/node_modules/dayjs/plugin/isoWeeksInYear.js +1 -0
- package/node_modules/dayjs/plugin/localeData.d.ts +44 -0
- package/node_modules/dayjs/plugin/localeData.js +1 -0
- package/node_modules/dayjs/plugin/localizedFormat.d.ts +4 -0
- package/node_modules/dayjs/plugin/localizedFormat.js +1 -0
- package/node_modules/dayjs/plugin/minMax.d.ts +22 -0
- package/node_modules/dayjs/plugin/minMax.js +1 -0
- package/node_modules/dayjs/plugin/negativeYear.d.ts +4 -0
- package/node_modules/dayjs/plugin/negativeYear.js +1 -0
- package/node_modules/dayjs/plugin/objectSupport.d.ts +48 -0
- package/node_modules/dayjs/plugin/objectSupport.js +1 -0
- package/node_modules/dayjs/plugin/pluralGetSet.d.ts +44 -0
- package/node_modules/dayjs/plugin/pluralGetSet.js +1 -0
- package/node_modules/dayjs/plugin/preParsePostFormat.d.ts +4 -0
- package/node_modules/dayjs/plugin/preParsePostFormat.js +1 -0
- package/node_modules/dayjs/plugin/quarterOfYear.d.ts +26 -0
- package/node_modules/dayjs/plugin/quarterOfYear.js +1 -0
- package/node_modules/dayjs/plugin/relativeTime.d.ts +24 -0
- package/node_modules/dayjs/plugin/relativeTime.js +1 -0
- package/node_modules/dayjs/plugin/timezone.d.ts +20 -0
- package/node_modules/dayjs/plugin/timezone.js +1 -0
- package/node_modules/dayjs/plugin/toArray.d.ts +10 -0
- package/node_modules/dayjs/plugin/toArray.js +1 -0
- package/node_modules/dayjs/plugin/toObject.d.ts +20 -0
- package/node_modules/dayjs/plugin/toObject.js +1 -0
- package/node_modules/dayjs/plugin/updateLocale.d.ts +8 -0
- package/node_modules/dayjs/plugin/updateLocale.js +1 -0
- package/node_modules/dayjs/plugin/utc.d.ts +19 -0
- package/node_modules/dayjs/plugin/utc.js +1 -0
- package/node_modules/dayjs/plugin/weekOfYear.d.ts +12 -0
- package/node_modules/dayjs/plugin/weekOfYear.js +1 -0
- package/node_modules/dayjs/plugin/weekYear.d.ts +10 -0
- package/node_modules/dayjs/plugin/weekYear.js +1 -0
- package/node_modules/dayjs/plugin/weekday.d.ts +12 -0
- package/node_modules/dayjs/plugin/weekday.js +1 -0
- package/node_modules/deepmerge/.editorconfig +7 -0
- package/node_modules/deepmerge/.eslintcache +1 -0
- package/node_modules/deepmerge/changelog.md +167 -0
- package/node_modules/deepmerge/dist/cjs.js +133 -0
- package/node_modules/deepmerge/dist/umd.js +139 -0
- package/node_modules/deepmerge/index.d.ts +20 -0
- package/node_modules/deepmerge/index.js +106 -0
- package/node_modules/deepmerge/license.txt +21 -0
- package/node_modules/deepmerge/package.json +42 -0
- package/node_modules/deepmerge/readme.md +264 -0
- package/node_modules/deepmerge/rollup.config.js +22 -0
- package/node_modules/dom-serializer/LICENSE +7 -0
- package/node_modules/dom-serializer/README.md +115 -0
- package/node_modules/dom-serializer/dist/foreign-names.d.ts +11 -0
- package/node_modules/dom-serializer/dist/foreign-names.d.ts.map +1 -0
- package/node_modules/dom-serializer/dist/foreign-names.js +15 -0
- package/node_modules/dom-serializer/dist/foreign-names.js.map +1 -0
- package/node_modules/dom-serializer/dist/index.d.ts +72 -0
- package/node_modules/dom-serializer/dist/index.d.ts.map +1 -0
- package/node_modules/dom-serializer/dist/index.js +173 -0
- package/node_modules/dom-serializer/dist/index.js.map +1 -0
- package/node_modules/dom-serializer/package.json +69 -0
- package/node_modules/dom-serializer/src/foreign-names.ts +19 -0
- package/node_modules/dom-serializer/src/index.ts +315 -0
- package/node_modules/domelementtype/LICENSE +11 -0
- package/node_modules/domelementtype/dist/index.d.ts +48 -0
- package/node_modules/domelementtype/dist/index.d.ts.map +1 -0
- package/node_modules/domelementtype/dist/index.js +60 -0
- package/node_modules/domelementtype/package.json +59 -0
- package/node_modules/domelementtype/readme.md +1 -0
- package/node_modules/domhandler/LICENSE +11 -0
- package/node_modules/domhandler/dist/index.d.ts +79 -0
- package/node_modules/domhandler/dist/index.d.ts.map +1 -0
- package/node_modules/domhandler/dist/index.js +155 -0
- package/node_modules/domhandler/dist/node.d.ts +264 -0
- package/node_modules/domhandler/dist/node.d.ts.map +1 -0
- package/node_modules/domhandler/dist/node.js +359 -0
- package/node_modules/domhandler/package.json +65 -0
- package/node_modules/domhandler/readme.md +86 -0
- package/node_modules/domutils/LICENSE +11 -0
- package/node_modules/domutils/dist/feeds.d.ts +71 -0
- package/node_modules/domutils/dist/feeds.d.ts.map +1 -0
- package/node_modules/domutils/dist/feeds.js +180 -0
- package/node_modules/domutils/dist/feeds.js.map +1 -0
- package/node_modules/domutils/dist/helpers.d.ts +59 -0
- package/node_modules/domutils/dist/helpers.d.ts.map +1 -0
- package/node_modules/domutils/dist/helpers.js +136 -0
- package/node_modules/domutils/dist/helpers.js.map +1 -0
- package/node_modules/domutils/dist/index.d.ts +8 -0
- package/node_modules/domutils/dist/index.d.ts.map +1 -0
- package/node_modules/domutils/dist/index.js +8 -0
- package/node_modules/domutils/dist/index.js.map +1 -0
- package/node_modules/domutils/dist/legacy.d.ts +79 -0
- package/node_modules/domutils/dist/legacy.d.ts.map +1 -0
- package/node_modules/domutils/dist/legacy.js +152 -0
- package/node_modules/domutils/dist/legacy.js.map +1 -0
- package/node_modules/domutils/dist/manipulation.d.ts +49 -0
- package/node_modules/domutils/dist/manipulation.d.ts.map +1 -0
- package/node_modules/domutils/dist/manipulation.js +138 -0
- package/node_modules/domutils/dist/manipulation.js.map +1 -0
- package/node_modules/domutils/dist/querying.d.ts +54 -0
- package/node_modules/domutils/dist/querying.d.ts.map +1 -0
- package/node_modules/domutils/dist/querying.js +129 -0
- package/node_modules/domutils/dist/querying.js.map +1 -0
- package/node_modules/domutils/dist/stringify.d.ts +46 -0
- package/node_modules/domutils/dist/stringify.d.ts.map +1 -0
- package/node_modules/domutils/dist/stringify.js +81 -0
- package/node_modules/domutils/dist/stringify.js.map +1 -0
- package/node_modules/domutils/dist/traversal.d.ts +74 -0
- package/node_modules/domutils/dist/traversal.d.ts.map +1 -0
- package/node_modules/domutils/dist/traversal.js +105 -0
- package/node_modules/domutils/dist/traversal.js.map +1 -0
- package/node_modules/domutils/package.json +69 -0
- package/node_modules/domutils/readme.md +25 -0
- package/node_modules/domutils/src/__snapshots__/feeds.spec.ts.snap +103 -0
- package/node_modules/domutils/src/feeds.ts +301 -0
- package/node_modules/domutils/src/helpers.ts +154 -0
- package/node_modules/domutils/src/index.ts +7 -0
- package/node_modules/domutils/src/legacy.ts +224 -0
- package/node_modules/domutils/src/manipulation.ts +156 -0
- package/node_modules/domutils/src/querying.ts +172 -0
- package/node_modules/domutils/src/stringify.ts +90 -0
- package/node_modules/domutils/src/traversal.ts +132 -0
- package/node_modules/entities/LICENSE +11 -0
- package/node_modules/entities/dist/decode-codepoint.d.ts +28 -0
- package/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
- package/node_modules/entities/dist/decode-codepoint.js +61 -0
- package/node_modules/entities/dist/decode-codepoint.js.map +1 -0
- package/node_modules/entities/dist/decode.d.ts +227 -0
- package/node_modules/entities/dist/decode.d.ts.map +1 -0
- package/node_modules/entities/dist/decode.js +1132 -0
- package/node_modules/entities/dist/decode.js.map +1 -0
- package/node_modules/entities/dist/encode.d.ts +26 -0
- package/node_modules/entities/dist/encode.d.ts.map +1 -0
- package/node_modules/entities/dist/encode.js +295 -0
- package/node_modules/entities/dist/encode.js.map +1 -0
- package/node_modules/entities/dist/escape.d.ts +60 -0
- package/node_modules/entities/dist/escape.d.ts.map +1 -0
- package/node_modules/entities/dist/escape.js +172 -0
- package/node_modules/entities/dist/escape.js.map +1 -0
- package/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
- package/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/entities/dist/generated/decode-data-html.js +5 -0
- package/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
- package/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/entities/dist/generated/decode-data-xml.js +7 -0
- package/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
- package/node_modules/entities/dist/generated/encode-html.d.ts +3 -0
- package/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
- package/node_modules/entities/dist/generated/encode-html.js +3 -0
- package/node_modules/entities/dist/generated/encode-html.js.map +1 -0
- package/node_modules/entities/dist/index.d.ts +89 -0
- package/node_modules/entities/dist/index.d.ts.map +1 -0
- package/node_modules/entities/dist/index.js +87 -0
- package/node_modules/entities/dist/index.js.map +1 -0
- package/node_modules/entities/dist/internal/bin-trie-flags.d.ts +48 -0
- package/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
- package/node_modules/entities/dist/internal/bin-trie-flags.js +49 -0
- package/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
- package/node_modules/entities/dist/internal/decode-shared.d.ts +38 -0
- package/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
- package/node_modules/entities/dist/internal/decode-shared.js +195 -0
- package/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
- package/node_modules/entities/package.json +83 -0
- package/node_modules/entities/readme.md +131 -0
- package/node_modules/entities/src/decode-codepoint.ts +69 -0
- package/node_modules/entities/src/decode.ts +1368 -0
- package/node_modules/entities/src/encode.ts +337 -0
- package/node_modules/entities/src/escape.ts +187 -0
- package/node_modules/entities/src/generated/decode-data-html.ts +12 -0
- package/node_modules/entities/src/generated/decode-data-xml.ts +7 -0
- package/node_modules/entities/src/generated/encode-html.ts +3 -0
- package/node_modules/entities/src/index.ts +160 -0
- package/node_modules/entities/src/internal/bin-trie-flags.ts +47 -0
- package/node_modules/entities/src/internal/decode-shared.ts +209 -0
- package/node_modules/escape-string-regexp/index.d.ts +18 -0
- package/node_modules/escape-string-regexp/index.js +13 -0
- package/node_modules/escape-string-regexp/license +9 -0
- package/node_modules/escape-string-regexp/package.json +38 -0
- package/node_modules/escape-string-regexp/readme.md +34 -0
- package/node_modules/express-rate-limit/dist/index.cjs +9 -7
- package/node_modules/express-rate-limit/dist/index.mjs +9 -7
- package/node_modules/express-rate-limit/package.json +9 -9
- package/node_modules/htmlparser2/LICENSE +18 -0
- package/node_modules/htmlparser2/README.md +257 -0
- package/node_modules/htmlparser2/dist/Parser.d.ts +257 -0
- package/node_modules/htmlparser2/dist/Parser.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/Parser.js +644 -0
- package/node_modules/htmlparser2/dist/Parser.js.map +1 -0
- package/node_modules/htmlparser2/dist/Tokenizer.d.ts +194 -0
- package/node_modules/htmlparser2/dist/Tokenizer.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/Tokenizer.js +1056 -0
- package/node_modules/htmlparser2/dist/Tokenizer.js.map +1 -0
- package/node_modules/htmlparser2/dist/WebWritableStream.d.ts +24 -0
- package/node_modules/htmlparser2/dist/WebWritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/WebWritableStream.js +44 -0
- package/node_modules/htmlparser2/dist/WebWritableStream.js.map +1 -0
- package/node_modules/htmlparser2/dist/WritableStream.d.ts +14 -0
- package/node_modules/htmlparser2/dist/WritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/WritableStream.js +32 -0
- package/node_modules/htmlparser2/dist/WritableStream.js.map +1 -0
- package/node_modules/htmlparser2/dist/index.d.ts +34 -0
- package/node_modules/htmlparser2/dist/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/index.js +46 -0
- package/node_modules/htmlparser2/dist/index.js.map +1 -0
- package/node_modules/htmlparser2/package.json +86 -0
- package/node_modules/htmlparser2/src/Parser.ts +823 -0
- package/node_modules/htmlparser2/src/Tokenizer.ts +1150 -0
- package/node_modules/htmlparser2/src/WebWritableStream.ts +47 -0
- package/node_modules/htmlparser2/src/WritableStream.ts +42 -0
- package/node_modules/htmlparser2/src/index.ts +86 -0
- package/node_modules/launder/.travis.yml +4 -0
- package/node_modules/launder/CHANGELOG.md +80 -0
- package/node_modules/launder/LICENSE.md +7 -0
- package/node_modules/launder/README.md +177 -0
- package/node_modules/launder/eslint.config.js +6 -0
- package/node_modules/launder/index.js +538 -0
- package/node_modules/launder/logos/logo-box-madefor.png +0 -0
- package/node_modules/launder/package.json +38 -0
- package/node_modules/launder/test/test.js +775 -0
- package/node_modules/nanoid/LICENSE +20 -0
- package/node_modules/nanoid/README.md +39 -0
- package/node_modules/nanoid/async/index.browser.cjs +43 -0
- package/node_modules/nanoid/async/index.browser.js +43 -0
- package/node_modules/nanoid/async/index.cjs +47 -0
- package/node_modules/nanoid/async/index.d.cts +56 -0
- package/node_modules/nanoid/async/index.d.ts +56 -0
- package/node_modules/nanoid/async/index.js +47 -0
- package/node_modules/nanoid/async/index.native.js +38 -0
- package/node_modules/nanoid/async/package.json +12 -0
- package/node_modules/nanoid/bin/nanoid.cjs +55 -0
- package/node_modules/nanoid/index.browser.cjs +45 -0
- package/node_modules/nanoid/index.browser.js +45 -0
- package/node_modules/nanoid/index.cjs +63 -0
- package/node_modules/nanoid/index.d.cts +91 -0
- package/node_modules/nanoid/index.d.ts +91 -0
- package/node_modules/nanoid/index.js +63 -0
- package/node_modules/nanoid/nanoid.js +1 -0
- package/node_modules/nanoid/non-secure/index.cjs +24 -0
- package/node_modules/nanoid/non-secure/index.d.ts +33 -0
- package/node_modules/nanoid/non-secure/index.js +24 -0
- package/node_modules/nanoid/non-secure/package.json +6 -0
- package/node_modules/nanoid/package.json +89 -0
- package/node_modules/nanoid/url-alphabet/index.cjs +4 -0
- package/node_modules/nanoid/url-alphabet/index.js +4 -0
- package/node_modules/nanoid/url-alphabet/package.json +6 -0
- package/node_modules/parse-srcset/.jscs.json +83 -0
- package/node_modules/parse-srcset/.jshintrc +15 -0
- package/node_modules/parse-srcset/.npmignore +8 -0
- package/node_modules/parse-srcset/LICENSE +22 -0
- package/node_modules/parse-srcset/README.md +19 -0
- package/node_modules/parse-srcset/package.json +25 -0
- package/node_modules/parse-srcset/src/parse-srcset.js +330 -0
- package/node_modules/parse-srcset/tests/he.js +329 -0
- package/node_modules/parse-srcset/tests/intern.js +74 -0
- package/node_modules/parse-srcset/tests/unit/ps.js +345 -0
- package/node_modules/picocolors/LICENSE +15 -0
- package/node_modules/picocolors/README.md +21 -0
- package/node_modules/picocolors/package.json +25 -0
- package/node_modules/picocolors/picocolors.browser.js +4 -0
- package/node_modules/picocolors/picocolors.d.ts +5 -0
- package/node_modules/picocolors/picocolors.js +75 -0
- package/node_modules/picocolors/types.d.ts +51 -0
- package/node_modules/postcss/LICENSE +20 -0
- package/node_modules/postcss/README.md +27 -0
- package/node_modules/postcss/lib/at-rule.d.ts +139 -0
- package/node_modules/postcss/lib/at-rule.js +25 -0
- package/node_modules/postcss/lib/comment.d.ts +67 -0
- package/node_modules/postcss/lib/comment.js +13 -0
- package/node_modules/postcss/lib/container.d.ts +474 -0
- package/node_modules/postcss/lib/container.js +494 -0
- package/node_modules/postcss/lib/css-syntax-error.d.ts +247 -0
- package/node_modules/postcss/lib/css-syntax-error.js +133 -0
- package/node_modules/postcss/lib/declaration.d.ts +150 -0
- package/node_modules/postcss/lib/declaration.js +24 -0
- package/node_modules/postcss/lib/document.d.ts +68 -0
- package/node_modules/postcss/lib/document.js +33 -0
- package/node_modules/postcss/lib/fromJSON.d.ts +9 -0
- package/node_modules/postcss/lib/fromJSON.js +107 -0
- package/node_modules/postcss/lib/input.d.ts +226 -0
- package/node_modules/postcss/lib/input.js +282 -0
- package/node_modules/postcss/lib/lazy-result.d.ts +189 -0
- package/node_modules/postcss/lib/lazy-result.js +626 -0
- package/node_modules/postcss/lib/list.d.ts +60 -0
- package/node_modules/postcss/lib/list.js +79 -0
- package/node_modules/postcss/lib/map-generator.js +383 -0
- package/node_modules/postcss/lib/no-work-result.d.ts +45 -0
- package/node_modules/postcss/lib/no-work-result.js +137 -0
- package/node_modules/postcss/lib/node.d.ts +555 -0
- package/node_modules/postcss/lib/node.js +494 -0
- package/node_modules/postcss/lib/parse.d.ts +9 -0
- package/node_modules/postcss/lib/parse.js +42 -0
- package/node_modules/postcss/lib/parser.js +626 -0
- package/node_modules/postcss/lib/postcss.d.mts +66 -0
- package/node_modules/postcss/lib/postcss.d.ts +464 -0
- package/node_modules/postcss/lib/postcss.js +101 -0
- package/node_modules/postcss/lib/postcss.mjs +30 -0
- package/node_modules/postcss/lib/previous-map.d.ts +80 -0
- package/node_modules/postcss/lib/previous-map.js +176 -0
- package/node_modules/postcss/lib/processor.d.ts +114 -0
- package/node_modules/postcss/lib/processor.js +67 -0
- package/node_modules/postcss/lib/result.d.ts +204 -0
- package/node_modules/postcss/lib/result.js +42 -0
- package/node_modules/postcss/lib/root.d.ts +86 -0
- package/node_modules/postcss/lib/root.js +76 -0
- package/node_modules/postcss/lib/rule.d.ts +126 -0
- package/node_modules/postcss/lib/rule.js +27 -0
- package/node_modules/postcss/lib/stringifier.d.ts +45 -0
- package/node_modules/postcss/lib/stringifier.js +457 -0
- package/node_modules/postcss/lib/stringify.d.ts +9 -0
- package/node_modules/postcss/lib/stringify.js +69 -0
- package/node_modules/postcss/lib/symbols.js +5 -0
- package/node_modules/postcss/lib/terminal-highlight.js +70 -0
- package/node_modules/postcss/lib/tokenize.js +270 -0
- package/node_modules/postcss/lib/warn-once.js +13 -0
- package/node_modules/postcss/lib/warning.d.ts +146 -0
- package/node_modules/postcss/lib/warning.js +47 -0
- package/node_modules/postcss/package.json +88 -0
- package/node_modules/sanitize-html/LICENSE +7 -0
- package/node_modules/sanitize-html/README.md +877 -0
- package/node_modules/sanitize-html/index.js +1255 -0
- package/node_modules/sanitize-html/package.json +49 -0
- package/node_modules/source-map-js/LICENSE +28 -0
- package/node_modules/source-map-js/README.md +765 -0
- package/node_modules/source-map-js/lib/array-set.js +121 -0
- package/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/node_modules/source-map-js/lib/base64.js +67 -0
- package/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/node_modules/source-map-js/lib/quick-sort.js +141 -0
- package/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
- package/node_modules/source-map-js/lib/source-map-consumer.js +1236 -0
- package/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
- package/node_modules/source-map-js/lib/source-map-generator.js +446 -0
- package/node_modules/source-map-js/lib/source-node.d.ts +1 -0
- package/node_modules/source-map-js/lib/source-node.js +420 -0
- package/node_modules/source-map-js/lib/util.js +594 -0
- package/node_modules/source-map-js/package.json +71 -0
- package/node_modules/source-map-js/source-map.d.ts +104 -0
- package/node_modules/source-map-js/source-map.js +8 -0
- package/package.json +5 -1
- package/dist/ui/assets/index-BKgX8_Zh.js +0 -111
|
@@ -0,0 +1,644 @@
|
|
|
1
|
+
const { fromCodePoint } = String;
|
|
2
|
+
import Tokenizer, { QuoteType } from "./Tokenizer.js";
|
|
3
|
+
const formTags = new Set([
|
|
4
|
+
"input",
|
|
5
|
+
"option",
|
|
6
|
+
"optgroup",
|
|
7
|
+
"select",
|
|
8
|
+
"button",
|
|
9
|
+
"datalist",
|
|
10
|
+
"textarea",
|
|
11
|
+
]);
|
|
12
|
+
const pTag = new Set(["p"]);
|
|
13
|
+
const headingTags = new Set(["h1", "h2", "h3", "h4", "h5", "h6", "p"]);
|
|
14
|
+
const tableSectionTags = new Set(["thead", "tbody"]);
|
|
15
|
+
const ddtTags = new Set(["dd", "dt"]);
|
|
16
|
+
const rtpTags = new Set(["rt", "rp"]);
|
|
17
|
+
const openImpliesClose = new Map([
|
|
18
|
+
["tr", new Set(["tr", "th", "td"])],
|
|
19
|
+
["th", new Set(["th"])],
|
|
20
|
+
["td", new Set(["thead", "th", "td"])],
|
|
21
|
+
["body", new Set(["head", "link", "script"])],
|
|
22
|
+
["a", new Set(["a"])],
|
|
23
|
+
["li", new Set(["li"])],
|
|
24
|
+
["p", pTag],
|
|
25
|
+
["h1", headingTags],
|
|
26
|
+
["h2", headingTags],
|
|
27
|
+
["h3", headingTags],
|
|
28
|
+
["h4", headingTags],
|
|
29
|
+
["h5", headingTags],
|
|
30
|
+
["h6", headingTags],
|
|
31
|
+
["select", formTags],
|
|
32
|
+
["input", formTags],
|
|
33
|
+
["output", formTags],
|
|
34
|
+
["button", formTags],
|
|
35
|
+
["datalist", formTags],
|
|
36
|
+
["textarea", formTags],
|
|
37
|
+
["option", new Set(["option"])],
|
|
38
|
+
["optgroup", new Set(["optgroup", "option"])],
|
|
39
|
+
["dd", ddtTags],
|
|
40
|
+
["dt", ddtTags],
|
|
41
|
+
["address", pTag],
|
|
42
|
+
["article", pTag],
|
|
43
|
+
["aside", pTag],
|
|
44
|
+
["blockquote", pTag],
|
|
45
|
+
["details", pTag],
|
|
46
|
+
["div", pTag],
|
|
47
|
+
["dl", pTag],
|
|
48
|
+
["fieldset", pTag],
|
|
49
|
+
["figcaption", pTag],
|
|
50
|
+
["figure", pTag],
|
|
51
|
+
["footer", pTag],
|
|
52
|
+
["form", pTag],
|
|
53
|
+
["header", pTag],
|
|
54
|
+
["hr", pTag],
|
|
55
|
+
["main", pTag],
|
|
56
|
+
["nav", pTag],
|
|
57
|
+
["ol", pTag],
|
|
58
|
+
["pre", pTag],
|
|
59
|
+
["section", pTag],
|
|
60
|
+
["table", pTag],
|
|
61
|
+
["ul", pTag],
|
|
62
|
+
["rt", rtpTags],
|
|
63
|
+
["rp", rtpTags],
|
|
64
|
+
["tbody", tableSectionTags],
|
|
65
|
+
["tfoot", tableSectionTags],
|
|
66
|
+
]);
|
|
67
|
+
const DOCUMENT_TYPE = "doctype";
|
|
68
|
+
const voidElements = new Set([
|
|
69
|
+
"area",
|
|
70
|
+
"base",
|
|
71
|
+
"basefont",
|
|
72
|
+
"br",
|
|
73
|
+
"col",
|
|
74
|
+
"command",
|
|
75
|
+
"embed",
|
|
76
|
+
"frame",
|
|
77
|
+
"hr",
|
|
78
|
+
"img",
|
|
79
|
+
"input",
|
|
80
|
+
"isindex",
|
|
81
|
+
"keygen",
|
|
82
|
+
"link",
|
|
83
|
+
"meta",
|
|
84
|
+
"param",
|
|
85
|
+
"source",
|
|
86
|
+
"track",
|
|
87
|
+
"wbr",
|
|
88
|
+
]);
|
|
89
|
+
const foreignContextElements = new Set(["math", "svg"]);
|
|
90
|
+
/**
|
|
91
|
+
* Elements that can be used to integrate HTML content within foreign namespaces (e.g., SVG or MathML).
|
|
92
|
+
*
|
|
93
|
+
* Entries must use the SVG-adjusted casing (e.g. "foreignObject" not
|
|
94
|
+
* "foreignobject") since they are compared against adjusted tag names.
|
|
95
|
+
*/
|
|
96
|
+
const htmlIntegrationElements = new Set([
|
|
97
|
+
"mi",
|
|
98
|
+
"mo",
|
|
99
|
+
"mn",
|
|
100
|
+
"ms",
|
|
101
|
+
"mtext",
|
|
102
|
+
"annotation-xml",
|
|
103
|
+
"foreignObject",
|
|
104
|
+
"desc",
|
|
105
|
+
"title",
|
|
106
|
+
]);
|
|
107
|
+
const svgTagNameAdjustments = new Map([
|
|
108
|
+
["altglyph", "altGlyph"],
|
|
109
|
+
["altglyphdef", "altGlyphDef"],
|
|
110
|
+
["altglyphitem", "altGlyphItem"],
|
|
111
|
+
["animatecolor", "animateColor"],
|
|
112
|
+
["animatemotion", "animateMotion"],
|
|
113
|
+
["animatetransform", "animateTransform"],
|
|
114
|
+
["clippath", "clipPath"],
|
|
115
|
+
["feblend", "feBlend"],
|
|
116
|
+
["fecolormatrix", "feColorMatrix"],
|
|
117
|
+
["fecomponenttransfer", "feComponentTransfer"],
|
|
118
|
+
["fecomposite", "feComposite"],
|
|
119
|
+
["feconvolvematrix", "feConvolveMatrix"],
|
|
120
|
+
["fediffuselighting", "feDiffuseLighting"],
|
|
121
|
+
["fedisplacementmap", "feDisplacementMap"],
|
|
122
|
+
["fedistantlight", "feDistantLight"],
|
|
123
|
+
["fedropshadow", "feDropShadow"],
|
|
124
|
+
["feflood", "feFlood"],
|
|
125
|
+
["fefunca", "feFuncA"],
|
|
126
|
+
["fefuncb", "feFuncB"],
|
|
127
|
+
["fefuncg", "feFuncG"],
|
|
128
|
+
["fefuncr", "feFuncR"],
|
|
129
|
+
["fegaussianblur", "feGaussianBlur"],
|
|
130
|
+
["feimage", "feImage"],
|
|
131
|
+
["femerge", "feMerge"],
|
|
132
|
+
["femergenode", "feMergeNode"],
|
|
133
|
+
["femorphology", "feMorphology"],
|
|
134
|
+
["feoffset", "feOffset"],
|
|
135
|
+
["fepointlight", "fePointLight"],
|
|
136
|
+
["fespecularlighting", "feSpecularLighting"],
|
|
137
|
+
["fespotlight", "feSpotLight"],
|
|
138
|
+
["fetile", "feTile"],
|
|
139
|
+
["feturbulence", "feTurbulence"],
|
|
140
|
+
["foreignobject", "foreignObject"],
|
|
141
|
+
["glyphref", "glyphRef"],
|
|
142
|
+
["lineargradient", "linearGradient"],
|
|
143
|
+
["radialgradient", "radialGradient"],
|
|
144
|
+
["textpath", "textPath"],
|
|
145
|
+
]);
|
|
146
|
+
var ForeignContext;
|
|
147
|
+
(function (ForeignContext) {
|
|
148
|
+
ForeignContext[ForeignContext["None"] = 0] = "None";
|
|
149
|
+
ForeignContext[ForeignContext["Svg"] = 1] = "Svg";
|
|
150
|
+
ForeignContext[ForeignContext["MathML"] = 2] = "MathML";
|
|
151
|
+
})(ForeignContext || (ForeignContext = {}));
|
|
152
|
+
const reNameEnd = /\s|\//;
|
|
153
|
+
/**
|
|
154
|
+
* Incremental parser implementation.
|
|
155
|
+
*/
|
|
156
|
+
export class Parser {
|
|
157
|
+
options;
|
|
158
|
+
/** The start index of the last event. */
|
|
159
|
+
startIndex = 0;
|
|
160
|
+
/** The end index of the last event. */
|
|
161
|
+
endIndex = 0;
|
|
162
|
+
/**
|
|
163
|
+
* Store the start index of the current open tag,
|
|
164
|
+
* so we can update the start index for attributes.
|
|
165
|
+
*/
|
|
166
|
+
openTagStart = 0;
|
|
167
|
+
tagname = "";
|
|
168
|
+
attribname = "";
|
|
169
|
+
attribvalue = "";
|
|
170
|
+
attribs = null;
|
|
171
|
+
stack = [];
|
|
172
|
+
foreignContext;
|
|
173
|
+
cbs;
|
|
174
|
+
lowerCaseTagNames;
|
|
175
|
+
lowerCaseAttributeNames;
|
|
176
|
+
recognizeSelfClosing;
|
|
177
|
+
/** We are parsing HTML. Inverse of the `xmlMode` option. */
|
|
178
|
+
htmlMode;
|
|
179
|
+
tokenizer;
|
|
180
|
+
buffers = [];
|
|
181
|
+
bufferOffset = 0;
|
|
182
|
+
/** The index of the last written buffer. Used when resuming after a `pause()`. */
|
|
183
|
+
writeIndex = 0;
|
|
184
|
+
/** Indicates whether the parser has finished running / `.end` has been called. */
|
|
185
|
+
ended = false;
|
|
186
|
+
constructor(cbs, options = {}) {
|
|
187
|
+
this.options = options;
|
|
188
|
+
this.cbs = cbs ?? {};
|
|
189
|
+
this.htmlMode = !this.options.xmlMode;
|
|
190
|
+
this.lowerCaseTagNames = options.lowerCaseTags ?? this.htmlMode;
|
|
191
|
+
this.lowerCaseAttributeNames =
|
|
192
|
+
options.lowerCaseAttributeNames ?? this.htmlMode;
|
|
193
|
+
this.recognizeSelfClosing =
|
|
194
|
+
options.recognizeSelfClosing ?? !this.htmlMode;
|
|
195
|
+
this.tokenizer = new (options.Tokenizer ?? Tokenizer)(this.options, this);
|
|
196
|
+
this.foreignContext = [ForeignContext.None];
|
|
197
|
+
this.cbs.onparserinit?.(this);
|
|
198
|
+
}
|
|
199
|
+
// Tokenizer event handlers
|
|
200
|
+
/**
|
|
201
|
+
* @param start Start index for the current parser event.
|
|
202
|
+
* @param endIndex End index for the current parser event.
|
|
203
|
+
* @internal
|
|
204
|
+
*/
|
|
205
|
+
ontext(start, endIndex) {
|
|
206
|
+
const data = this.getSlice(start, endIndex);
|
|
207
|
+
this.endIndex = endIndex - 1;
|
|
208
|
+
this.cbs.ontext?.(data);
|
|
209
|
+
this.startIndex = endIndex;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* @param cp Current Unicode code point.
|
|
213
|
+
* @param endIndex End index for the current parser event.
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
ontextentity(cp, endIndex) {
|
|
217
|
+
this.endIndex = endIndex - 1;
|
|
218
|
+
this.cbs.ontext?.(fromCodePoint(cp));
|
|
219
|
+
this.startIndex = endIndex;
|
|
220
|
+
}
|
|
221
|
+
/** @internal */
|
|
222
|
+
isInForeignContext() {
|
|
223
|
+
return this.foreignContext[0] !== ForeignContext.None;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Checks if the current tag is a void element. Override this if you want
|
|
227
|
+
* to specify your own additional void elements.
|
|
228
|
+
* @param name Name of the pseudo selector.
|
|
229
|
+
*/
|
|
230
|
+
isVoidElement(name) {
|
|
231
|
+
return this.htmlMode && voidElements.has(name);
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Read a tag name from the buffer.
|
|
235
|
+
*
|
|
236
|
+
* When `lowerCaseTagNames` is enabled (the default in HTML mode), the name
|
|
237
|
+
* is lowercased and may be adjusted for SVG casing or the `image` → `img`
|
|
238
|
+
* alias.
|
|
239
|
+
* @param start Start index of the tag name in the buffer.
|
|
240
|
+
* @param endIndex End index of the tag name in the buffer.
|
|
241
|
+
*/
|
|
242
|
+
readTagName(start, endIndex) {
|
|
243
|
+
const name = this.lowerCaseTagNames
|
|
244
|
+
? this.getSlice(start, endIndex).toLowerCase()
|
|
245
|
+
: this.getSlice(start, endIndex);
|
|
246
|
+
if (!(this.lowerCaseTagNames && this.htmlMode)) {
|
|
247
|
+
return name;
|
|
248
|
+
}
|
|
249
|
+
if (this.foreignContext[0] === ForeignContext.Svg) {
|
|
250
|
+
return svgTagNameAdjustments.get(name) ?? name;
|
|
251
|
+
}
|
|
252
|
+
/*
|
|
253
|
+
* Closing tags for SVG elements inside HTML integration points
|
|
254
|
+
* (e.g. </foreignObject> while inside its own content) need case
|
|
255
|
+
* adjustment so the name matches what was pushed to the stack.
|
|
256
|
+
* `foreignContext.length > 1` means a foreign ancestor exists —
|
|
257
|
+
* the base [None] entry plus at least one pushed context.
|
|
258
|
+
*/
|
|
259
|
+
if (this.foreignContext.length > 1) {
|
|
260
|
+
const adjusted = svgTagNameAdjustments.get(name);
|
|
261
|
+
if (adjusted !== undefined && this.stack.includes(adjusted)) {
|
|
262
|
+
return adjusted;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
if (!this.isInForeignContext()) {
|
|
266
|
+
return name === "image" ? "img" : name;
|
|
267
|
+
}
|
|
268
|
+
return name;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* @param start Start index for the current parser event.
|
|
272
|
+
* @param endIndex End index for the current parser event.
|
|
273
|
+
* @internal
|
|
274
|
+
*/
|
|
275
|
+
onopentagname(start, endIndex) {
|
|
276
|
+
this.endIndex = endIndex;
|
|
277
|
+
this.emitOpenTag(this.readTagName(start, endIndex));
|
|
278
|
+
}
|
|
279
|
+
emitOpenTag(name) {
|
|
280
|
+
this.openTagStart = this.startIndex;
|
|
281
|
+
this.tagname = name;
|
|
282
|
+
/*
|
|
283
|
+
* The spec ignores a second <form> when one is already open.
|
|
284
|
+
* Setting tagname to "" suppresses all downstream effects: attribs
|
|
285
|
+
* stays null so endOpenTag is a no-op, and closeCurrentTag can't
|
|
286
|
+
* match "" on the stack.
|
|
287
|
+
*/
|
|
288
|
+
if (this.htmlMode && name === "form" && this.stack.includes("form")) {
|
|
289
|
+
this.tagname = "";
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
const impliesClose = this.htmlMode && openImpliesClose.get(name);
|
|
293
|
+
if (impliesClose) {
|
|
294
|
+
while (this.stack.length > 0 && impliesClose.has(this.stack[0])) {
|
|
295
|
+
this.popElement(true);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
if (!this.isVoidElement(name)) {
|
|
299
|
+
this.stack.unshift(name);
|
|
300
|
+
if (this.htmlMode) {
|
|
301
|
+
if (name === "svg") {
|
|
302
|
+
this.foreignContext.unshift(ForeignContext.Svg);
|
|
303
|
+
}
|
|
304
|
+
else if (name === "math") {
|
|
305
|
+
this.foreignContext.unshift(ForeignContext.MathML);
|
|
306
|
+
}
|
|
307
|
+
else if (htmlIntegrationElements.has(name)) {
|
|
308
|
+
this.foreignContext.unshift(ForeignContext.None);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
this.cbs.onopentagname?.(name);
|
|
313
|
+
if (this.cbs.onopentag)
|
|
314
|
+
this.attribs = {};
|
|
315
|
+
}
|
|
316
|
+
endOpenTag(isImplied) {
|
|
317
|
+
this.startIndex = this.openTagStart;
|
|
318
|
+
if (this.attribs) {
|
|
319
|
+
this.cbs.onopentag?.(this.tagname, this.attribs, isImplied);
|
|
320
|
+
this.attribs = null;
|
|
321
|
+
}
|
|
322
|
+
if (this.cbs.onclosetag && this.isVoidElement(this.tagname)) {
|
|
323
|
+
this.cbs.onclosetag(this.tagname, true);
|
|
324
|
+
}
|
|
325
|
+
this.tagname = "";
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* @param endIndex End index for the current parser event.
|
|
329
|
+
* @internal
|
|
330
|
+
*/
|
|
331
|
+
onopentagend(endIndex) {
|
|
332
|
+
this.endIndex = endIndex;
|
|
333
|
+
this.endOpenTag(false);
|
|
334
|
+
// Set `startIndex` for next node
|
|
335
|
+
this.startIndex = endIndex + 1;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* @param start Start index for the current parser event.
|
|
339
|
+
* @param endIndex End index for the current parser event.
|
|
340
|
+
* @internal
|
|
341
|
+
*/
|
|
342
|
+
onclosetag(start, endIndex) {
|
|
343
|
+
this.endIndex = endIndex;
|
|
344
|
+
const name = this.readTagName(start, endIndex);
|
|
345
|
+
if (!this.isVoidElement(name)) {
|
|
346
|
+
const pos = this.stack.indexOf(name);
|
|
347
|
+
if (pos !== -1) {
|
|
348
|
+
for (let index = 0; index < pos; index++) {
|
|
349
|
+
this.popElement(true);
|
|
350
|
+
}
|
|
351
|
+
this.popElement(false);
|
|
352
|
+
}
|
|
353
|
+
else if (this.htmlMode && name === "p") {
|
|
354
|
+
// Implicit open before close
|
|
355
|
+
this.emitOpenTag("p");
|
|
356
|
+
this.closeCurrentTag(true);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
else if (this.htmlMode && name === "br") {
|
|
360
|
+
// We can't use `emitOpenTag` for implicit open, as `br` would be implicitly closed.
|
|
361
|
+
this.cbs.onopentagname?.("br");
|
|
362
|
+
this.cbs.onopentag?.("br", {}, true);
|
|
363
|
+
this.cbs.onclosetag?.("br", false);
|
|
364
|
+
}
|
|
365
|
+
// Set `startIndex` for next node
|
|
366
|
+
this.startIndex = endIndex + 1;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* @param endIndex End index for the current parser event.
|
|
370
|
+
* @internal
|
|
371
|
+
*/
|
|
372
|
+
onselfclosingtag(endIndex) {
|
|
373
|
+
this.endIndex = endIndex;
|
|
374
|
+
if (this.recognizeSelfClosing || this.isInForeignContext()) {
|
|
375
|
+
this.closeCurrentTag(false);
|
|
376
|
+
// Set `startIndex` for next node
|
|
377
|
+
this.startIndex = endIndex + 1;
|
|
378
|
+
}
|
|
379
|
+
else {
|
|
380
|
+
// Ignore the fact that the tag is self-closing.
|
|
381
|
+
this.onopentagend(endIndex);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Pop the top element off the stack, emit a close event, and maintain
|
|
386
|
+
* the foreign context stack.
|
|
387
|
+
* @param implied Whether this close is implied (not from an explicit end tag).
|
|
388
|
+
*/
|
|
389
|
+
popElement(implied) {
|
|
390
|
+
// biome-ignore lint/style/noNonNullAssertion: The element is guaranteed to exist.
|
|
391
|
+
const element = this.stack.shift();
|
|
392
|
+
if (this.htmlMode &&
|
|
393
|
+
(foreignContextElements.has(element) ||
|
|
394
|
+
htmlIntegrationElements.has(element))) {
|
|
395
|
+
this.foreignContext.shift();
|
|
396
|
+
}
|
|
397
|
+
this.cbs.onclosetag?.(element, implied);
|
|
398
|
+
}
|
|
399
|
+
closeCurrentTag(isOpenImplied) {
|
|
400
|
+
const name = this.tagname;
|
|
401
|
+
this.endOpenTag(isOpenImplied);
|
|
402
|
+
// Self-closing tags will be on the top of the stack
|
|
403
|
+
if (this.stack[0] === name) {
|
|
404
|
+
this.popElement(!isOpenImplied);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* @param start Start index for the current parser event.
|
|
409
|
+
* @param endIndex End index for the current parser event.
|
|
410
|
+
* @internal
|
|
411
|
+
*/
|
|
412
|
+
onattribname(start, endIndex) {
|
|
413
|
+
this.startIndex = start;
|
|
414
|
+
const name = this.getSlice(start, endIndex);
|
|
415
|
+
this.attribname = this.lowerCaseAttributeNames
|
|
416
|
+
? name.toLowerCase()
|
|
417
|
+
: name;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* @param start Start index for the current parser event.
|
|
421
|
+
* @param endIndex End index for the current parser event.
|
|
422
|
+
* @internal
|
|
423
|
+
*/
|
|
424
|
+
onattribdata(start, endIndex) {
|
|
425
|
+
this.attribvalue += this.getSlice(start, endIndex);
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* @param cp Current Unicode code point.
|
|
429
|
+
* @internal
|
|
430
|
+
*/
|
|
431
|
+
onattribentity(cp) {
|
|
432
|
+
this.attribvalue += fromCodePoint(cp);
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* @param quote Quote type used for the current attribute.
|
|
436
|
+
* @param endIndex End index for the current parser event.
|
|
437
|
+
* @internal
|
|
438
|
+
*/
|
|
439
|
+
onattribend(quote, endIndex) {
|
|
440
|
+
this.endIndex = endIndex;
|
|
441
|
+
this.cbs.onattribute?.(this.attribname, this.attribvalue, quote === QuoteType.Double
|
|
442
|
+
? '"'
|
|
443
|
+
: quote === QuoteType.Single
|
|
444
|
+
? "'"
|
|
445
|
+
: quote === QuoteType.NoValue
|
|
446
|
+
? undefined
|
|
447
|
+
: null);
|
|
448
|
+
if (this.attribs && !Object.hasOwn(this.attribs, this.attribname)) {
|
|
449
|
+
this.attribs[this.attribname] = this.attribvalue;
|
|
450
|
+
}
|
|
451
|
+
this.attribvalue = "";
|
|
452
|
+
}
|
|
453
|
+
getInstructionName(value) {
|
|
454
|
+
const index = value.search(reNameEnd);
|
|
455
|
+
let name = index < 0 ? value : value.substr(0, index);
|
|
456
|
+
if (this.lowerCaseTagNames) {
|
|
457
|
+
name = name.toLowerCase();
|
|
458
|
+
}
|
|
459
|
+
return name;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* @param start Start index for the current parser event.
|
|
463
|
+
* @param endIndex End index for the current parser event.
|
|
464
|
+
* @internal
|
|
465
|
+
*/
|
|
466
|
+
ondeclaration(start, endIndex) {
|
|
467
|
+
this.endIndex = endIndex;
|
|
468
|
+
const value = this.getSlice(start, endIndex);
|
|
469
|
+
if (this.cbs.onprocessinginstruction) {
|
|
470
|
+
/*
|
|
471
|
+
* In HTML mode, ondeclaration is only reached for DOCTYPE
|
|
472
|
+
* (the tokenizer routes everything else to bogus comments).
|
|
473
|
+
*/
|
|
474
|
+
const name = this.htmlMode
|
|
475
|
+
? this.lowerCaseTagNames
|
|
476
|
+
? DOCUMENT_TYPE
|
|
477
|
+
: value.slice(0, DOCUMENT_TYPE.length)
|
|
478
|
+
: this.getInstructionName(value);
|
|
479
|
+
this.cbs.onprocessinginstruction(`!${name}`, `!${value}`);
|
|
480
|
+
}
|
|
481
|
+
// Set `startIndex` for next node
|
|
482
|
+
this.startIndex = endIndex + 1;
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* @param start Start index for the current parser event.
|
|
486
|
+
* @param endIndex End index for the current parser event.
|
|
487
|
+
* @internal
|
|
488
|
+
*/
|
|
489
|
+
onprocessinginstruction(start, endIndex) {
|
|
490
|
+
this.endIndex = endIndex;
|
|
491
|
+
const value = this.getSlice(start, endIndex);
|
|
492
|
+
if (this.cbs.onprocessinginstruction) {
|
|
493
|
+
const name = this.getInstructionName(value);
|
|
494
|
+
this.cbs.onprocessinginstruction(`?${name}`, `?${value}`);
|
|
495
|
+
}
|
|
496
|
+
// Set `startIndex` for next node
|
|
497
|
+
this.startIndex = endIndex + 1;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* @param start Start index for the current parser event.
|
|
501
|
+
* @param endIndex End index for the current parser event.
|
|
502
|
+
* @param offset Offset applied when computing parser indices.
|
|
503
|
+
* @internal
|
|
504
|
+
*/
|
|
505
|
+
oncomment(start, endIndex, offset) {
|
|
506
|
+
this.endIndex = endIndex;
|
|
507
|
+
this.cbs.oncomment?.(this.getSlice(start, endIndex - offset));
|
|
508
|
+
this.cbs.oncommentend?.();
|
|
509
|
+
// Set `startIndex` for next node
|
|
510
|
+
this.startIndex = endIndex + 1;
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* @param start Start index for the current parser event.
|
|
514
|
+
* @param endIndex End index for the current parser event.
|
|
515
|
+
* @param offset Offset applied when computing parser indices.
|
|
516
|
+
* @internal
|
|
517
|
+
*/
|
|
518
|
+
oncdata(start, endIndex, offset) {
|
|
519
|
+
this.endIndex = endIndex;
|
|
520
|
+
const value = this.getSlice(start, endIndex - offset);
|
|
521
|
+
if (!this.htmlMode || this.options.recognizeCDATA) {
|
|
522
|
+
this.cbs.oncdatastart?.();
|
|
523
|
+
this.cbs.ontext?.(value);
|
|
524
|
+
this.cbs.oncdataend?.();
|
|
525
|
+
}
|
|
526
|
+
else if (this.isInForeignContext()) {
|
|
527
|
+
this.cbs.ontext?.(value);
|
|
528
|
+
}
|
|
529
|
+
else {
|
|
530
|
+
this.cbs.oncomment?.(`[CDATA[${value}]]`);
|
|
531
|
+
this.cbs.oncommentend?.();
|
|
532
|
+
}
|
|
533
|
+
// Set `startIndex` for next node
|
|
534
|
+
this.startIndex = endIndex + 1;
|
|
535
|
+
}
|
|
536
|
+
/** @internal */
|
|
537
|
+
onend() {
|
|
538
|
+
if (this.cbs.onclosetag) {
|
|
539
|
+
// Set the end index for all remaining tags
|
|
540
|
+
this.endIndex = this.startIndex;
|
|
541
|
+
for (let index = 0; index < this.stack.length; index++) {
|
|
542
|
+
this.cbs.onclosetag(this.stack[index], true);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
this.cbs.onend?.();
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* Resets the parser to a blank state, ready to parse a new HTML document
|
|
549
|
+
*/
|
|
550
|
+
reset() {
|
|
551
|
+
this.cbs.onreset?.();
|
|
552
|
+
this.tokenizer.reset();
|
|
553
|
+
this.tagname = "";
|
|
554
|
+
this.attribname = "";
|
|
555
|
+
this.attribvalue = "";
|
|
556
|
+
this.attribs = null;
|
|
557
|
+
this.stack.length = 0;
|
|
558
|
+
this.startIndex = 0;
|
|
559
|
+
this.endIndex = 0;
|
|
560
|
+
this.cbs.onparserinit?.(this);
|
|
561
|
+
this.buffers.length = 0;
|
|
562
|
+
this.foreignContext.length = 0;
|
|
563
|
+
this.foreignContext.unshift(ForeignContext.None);
|
|
564
|
+
this.bufferOffset = 0;
|
|
565
|
+
this.writeIndex = 0;
|
|
566
|
+
this.ended = false;
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* Resets the parser, then parses a complete document and
|
|
570
|
+
* pushes it to the handler.
|
|
571
|
+
* @param data Document to parse.
|
|
572
|
+
*/
|
|
573
|
+
parseComplete(data) {
|
|
574
|
+
this.reset();
|
|
575
|
+
this.end(data);
|
|
576
|
+
}
|
|
577
|
+
getSlice(start, end) {
|
|
578
|
+
if (start === end) {
|
|
579
|
+
return "";
|
|
580
|
+
}
|
|
581
|
+
while (start - this.bufferOffset >= this.buffers[0].length) {
|
|
582
|
+
this.shiftBuffer();
|
|
583
|
+
}
|
|
584
|
+
let slice = this.buffers[0].slice(start - this.bufferOffset, end - this.bufferOffset);
|
|
585
|
+
while (end - this.bufferOffset > this.buffers[0].length) {
|
|
586
|
+
this.shiftBuffer();
|
|
587
|
+
slice += this.buffers[0].slice(0, end - this.bufferOffset);
|
|
588
|
+
}
|
|
589
|
+
return slice;
|
|
590
|
+
}
|
|
591
|
+
shiftBuffer() {
|
|
592
|
+
this.bufferOffset += this.buffers[0].length;
|
|
593
|
+
this.writeIndex--;
|
|
594
|
+
this.buffers.shift();
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* Parses a chunk of data and calls the corresponding callbacks.
|
|
598
|
+
* @param chunk Chunk to parse.
|
|
599
|
+
*/
|
|
600
|
+
write(chunk) {
|
|
601
|
+
if (this.ended) {
|
|
602
|
+
this.cbs.onerror?.(new Error(".write() after done!"));
|
|
603
|
+
return;
|
|
604
|
+
}
|
|
605
|
+
this.buffers.push(chunk);
|
|
606
|
+
if (this.tokenizer.running) {
|
|
607
|
+
this.tokenizer.write(chunk);
|
|
608
|
+
this.writeIndex++;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* Parses the end of the buffer and clears the stack, calls onend.
|
|
613
|
+
* @param chunk Optional final chunk to parse.
|
|
614
|
+
*/
|
|
615
|
+
end(chunk) {
|
|
616
|
+
if (this.ended) {
|
|
617
|
+
this.cbs.onerror?.(new Error(".end() after done!"));
|
|
618
|
+
return;
|
|
619
|
+
}
|
|
620
|
+
if (chunk)
|
|
621
|
+
this.write(chunk);
|
|
622
|
+
this.ended = true;
|
|
623
|
+
this.tokenizer.end();
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* Pauses parsing. The parser won't emit events until `resume` is called.
|
|
627
|
+
*/
|
|
628
|
+
pause() {
|
|
629
|
+
this.tokenizer.pause();
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* Resumes parsing after `pause` was called.
|
|
633
|
+
*/
|
|
634
|
+
resume() {
|
|
635
|
+
this.tokenizer.resume();
|
|
636
|
+
while (this.tokenizer.running &&
|
|
637
|
+
this.writeIndex < this.buffers.length) {
|
|
638
|
+
this.tokenizer.write(this.buffers[this.writeIndex++]);
|
|
639
|
+
}
|
|
640
|
+
if (this.ended)
|
|
641
|
+
this.tokenizer.end();
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
//# sourceMappingURL=Parser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Parser.js","sourceRoot":"","sources":["../src/Parser.ts"],"names":[],"mappings":"AAAA,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;AAEjC,OAAO,SAAS,EAAE,EAAkB,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEtE,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC;IACrB,OAAO;IACP,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,UAAU;CACb,CAAC,CAAC;AACH,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAC5B,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;AACvE,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC,CA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