From e406e234f983cc0e6de913507c459f3e3a8c7113 Mon Sep 17 00:00:00 2001 From: Matthew McKinnon Date: Wed, 17 Sep 2025 22:45:25 +1000 Subject: [PATCH] chore: update packages to latest versions --- assets/js/clipboard/clipboard.js | 890 ++ assets/js/dayjs/locale/af.js | 1 + assets/js/dayjs/locale/am.js | 1 + assets/js/dayjs/locale/ar-dz.js | 1 + assets/js/dayjs/locale/ar-iq.js | 1 + assets/js/dayjs/locale/ar-kw.js | 1 + assets/js/dayjs/locale/ar-ly.js | 1 + assets/js/dayjs/locale/ar-ma.js | 1 + assets/js/dayjs/locale/ar-sa.js | 1 + assets/js/dayjs/locale/ar-tn.js | 1 + assets/js/dayjs/locale/ar.js | 1 + assets/js/dayjs/locale/az.js | 1 + assets/js/dayjs/locale/be.js | 1 + assets/js/dayjs/locale/bg.js | 1 + assets/js/dayjs/locale/bi.js | 1 + assets/js/dayjs/locale/bm.js | 1 + assets/js/dayjs/locale/bn-bd.js | 1 + assets/js/dayjs/locale/bn.js | 1 + assets/js/dayjs/locale/bo.js | 1 + assets/js/dayjs/locale/br.js | 1 + assets/js/dayjs/locale/bs.js | 1 + assets/js/dayjs/locale/ca.js | 1 + assets/js/dayjs/locale/cs.js | 1 + assets/js/dayjs/locale/cv.js | 1 + assets/js/dayjs/locale/cy.js | 1 + assets/js/dayjs/locale/da.js | 1 + assets/js/dayjs/locale/de-at.js | 1 + assets/js/dayjs/locale/de-ch.js | 1 + assets/js/dayjs/locale/de.js | 1 + assets/js/dayjs/locale/dv.js | 1 + assets/js/dayjs/locale/el.js | 1 + assets/js/dayjs/locale/en-au.js | 1 + assets/js/dayjs/locale/en-ca.js | 1 + assets/js/dayjs/locale/en-gb.js | 1 + assets/js/dayjs/locale/en-ie.js | 1 + assets/js/dayjs/locale/en-il.js | 1 + assets/js/dayjs/locale/en-in.js | 1 + assets/js/dayjs/locale/en-nz.js | 1 + assets/js/dayjs/locale/en-sg.js | 1 + assets/js/dayjs/locale/en-tt.js | 1 + assets/js/dayjs/locale/eo.js | 1 + assets/js/dayjs/locale/es-do.js | 1 + assets/js/dayjs/locale/es-mx.js | 1 + assets/js/dayjs/locale/es-pr.js | 1 + assets/js/dayjs/locale/es-us.js | 1 + assets/js/dayjs/locale/es.js | 1 + assets/js/dayjs/locale/et.js | 1 + assets/js/dayjs/locale/eu.js | 1 + assets/js/dayjs/locale/fa.js | 1 + assets/js/dayjs/locale/fi.js | 1 + assets/js/dayjs/locale/fo.js | 1 + assets/js/dayjs/locale/fr-ca.js | 1 + assets/js/dayjs/locale/fr-ch.js | 1 + assets/js/dayjs/locale/fr.js | 1 + assets/js/dayjs/locale/fy.js | 1 + assets/js/dayjs/locale/ga.js | 1 + assets/js/dayjs/locale/gd.js | 1 + assets/js/dayjs/locale/gl.js | 1 + assets/js/dayjs/locale/gom-latn.js | 1 + assets/js/dayjs/locale/gu.js | 1 + assets/js/dayjs/locale/he.js | 1 + assets/js/dayjs/locale/hi.js | 1 + assets/js/dayjs/locale/hr.js | 1 + assets/js/dayjs/locale/ht.js | 1 + assets/js/dayjs/locale/hu.js | 1 + assets/js/dayjs/locale/hy-am.js | 1 + assets/js/dayjs/locale/id.js | 1 + assets/js/dayjs/locale/index.d.ts | 11 + assets/js/dayjs/locale/is.js | 1 + assets/js/dayjs/locale/it-ch.js | 1 + assets/js/dayjs/locale/it.js | 1 + assets/js/dayjs/locale/ja.js | 1 + assets/js/dayjs/locale/jv.js | 1 + assets/js/dayjs/locale/ka.js | 1 + assets/js/dayjs/locale/kk.js | 1 + assets/js/dayjs/locale/km.js | 1 + assets/js/dayjs/locale/kn.js | 1 + assets/js/dayjs/locale/ko.js | 1 + assets/js/dayjs/locale/ku.js | 1 + assets/js/dayjs/locale/ky.js | 1 + assets/js/dayjs/locale/lb.js | 1 + assets/js/dayjs/locale/lo.js | 1 + assets/js/dayjs/locale/lt.js | 1 + assets/js/dayjs/locale/lv.js | 1 + assets/js/dayjs/locale/me.js | 1 + assets/js/dayjs/locale/mi.js | 1 + assets/js/dayjs/locale/mk.js | 1 + assets/js/dayjs/locale/ml.js | 1 + assets/js/dayjs/locale/mn.js | 1 + assets/js/dayjs/locale/mr.js | 1 + assets/js/dayjs/locale/ms-my.js | 1 + assets/js/dayjs/locale/ms.js | 1 + assets/js/dayjs/locale/mt.js | 1 + assets/js/dayjs/locale/my.js | 1 + assets/js/dayjs/locale/nb.js | 1 + assets/js/dayjs/locale/ne.js | 1 + assets/js/dayjs/locale/nl-be.js | 1 + assets/js/dayjs/locale/nl.js | 1 + assets/js/dayjs/locale/nn.js | 1 + assets/js/dayjs/locale/oc-lnc.js | 1 + assets/js/dayjs/locale/pa-in.js | 1 + assets/js/dayjs/locale/pl.js | 1 + assets/js/dayjs/locale/pt-br.js | 1 + assets/js/dayjs/locale/pt.js | 1 + assets/js/dayjs/locale/rn.js | 1 + assets/js/dayjs/locale/ro.js | 1 + assets/js/dayjs/locale/ru.js | 1 + assets/js/dayjs/locale/rw.js | 1 + assets/js/dayjs/locale/sd.js | 1 + assets/js/dayjs/locale/se.js | 1 + assets/js/dayjs/locale/si.js | 1 + assets/js/dayjs/locale/sk.js | 1 + assets/js/dayjs/locale/sl.js | 1 + assets/js/dayjs/locale/sq.js | 1 + assets/js/dayjs/locale/sr-cyrl.js | 1 + assets/js/dayjs/locale/sr.js | 1 + assets/js/dayjs/locale/ss.js | 1 + assets/js/dayjs/locale/sv-fi.js | 1 + assets/js/dayjs/locale/sv.js | 1 + assets/js/dayjs/locale/sw.js | 1 + assets/js/dayjs/locale/ta.js | 1 + assets/js/dayjs/locale/te.js | 1 + assets/js/dayjs/locale/tet.js | 1 + assets/js/dayjs/locale/tg.js | 1 + assets/js/dayjs/locale/th.js | 1 + assets/js/dayjs/locale/tk.js | 1 + assets/js/dayjs/locale/tl-ph.js | 1 + assets/js/dayjs/locale/tlh.js | 1 + assets/js/dayjs/locale/tr.js | 1 + assets/js/dayjs/locale/types.d.ts | 33 + assets/js/dayjs/locale/tzl.js | 1 + assets/js/dayjs/locale/tzm-latn.js | 1 + assets/js/dayjs/locale/tzm.js | 1 + assets/js/dayjs/locale/ug-cn.js | 1 + assets/js/dayjs/locale/uk.js | 1 + assets/js/dayjs/locale/ur.js | 1 + assets/js/dayjs/locale/uz-latn.js | 1 + assets/js/dayjs/locale/uz.js | 1 + assets/js/dayjs/locale/vi.js | 1 + assets/js/dayjs/locale/x-pseudo.js | 1 + assets/js/dayjs/locale/yo.js | 1 + assets/js/dayjs/locale/zh-cn.js | 1 + assets/js/dayjs/locale/zh-hk.js | 1 + assets/js/dayjs/locale/zh-tw.js | 1 + assets/js/dayjs/locale/zh.js | 1 + assets/js/dayjs/plugin/advancedFormat.d.ts | 4 + assets/js/dayjs/plugin/advancedFormat.js | 1 + assets/js/dayjs/plugin/arraySupport.d.ts | 10 + assets/js/dayjs/plugin/arraySupport.js | 1 + assets/js/dayjs/plugin/badMutable.d.ts | 4 + assets/js/dayjs/plugin/badMutable.js | 1 + assets/js/dayjs/plugin/bigIntSupport.d.ts | 11 + assets/js/dayjs/plugin/bigIntSupport.js | 1 + assets/js/dayjs/plugin/buddhistEra.d.ts | 4 + assets/js/dayjs/plugin/buddhistEra.js | 1 + assets/js/dayjs/plugin/calendar.d.ts | 10 + assets/js/dayjs/plugin/calendar.js | 1 + assets/js/dayjs/plugin/customParseFormat.d.ts | 8 + assets/js/dayjs/plugin/customParseFormat.js | 1 + assets/js/dayjs/plugin/dayOfYear.d.ts | 11 + assets/js/dayjs/plugin/dayOfYear.js | 1 + assets/js/dayjs/plugin/devHelper.d.ts | 4 + assets/js/dayjs/plugin/devHelper.js | 1 + assets/js/dayjs/plugin/duration.d.ts | 88 + assets/js/dayjs/plugin/duration.js | 1 + assets/js/dayjs/plugin/isBetween.d.ts | 10 + assets/js/dayjs/plugin/isBetween.js | 1 + assets/js/dayjs/plugin/isLeapYear.d.ts | 10 + assets/js/dayjs/plugin/isLeapYear.js | 1 + assets/js/dayjs/plugin/isMoment.d.ts | 10 + assets/js/dayjs/plugin/isMoment.js | 1 + assets/js/dayjs/plugin/isSameOrAfter.d.ts | 10 + assets/js/dayjs/plugin/isSameOrAfter.js | 1 + assets/js/dayjs/plugin/isSameOrBefore.d.ts | 10 + assets/js/dayjs/plugin/isSameOrBefore.js | 1 + assets/js/dayjs/plugin/isToday.d.ts | 10 + assets/js/dayjs/plugin/isToday.js | 1 + assets/js/dayjs/plugin/isTomorrow.d.ts | 10 + assets/js/dayjs/plugin/isTomorrow.js | 1 + assets/js/dayjs/plugin/isYesterday.d.ts | 10 + assets/js/dayjs/plugin/isYesterday.js | 1 + assets/js/dayjs/plugin/isoWeek.d.ts | 27 + assets/js/dayjs/plugin/isoWeek.js | 1 + assets/js/dayjs/plugin/isoWeeksInYear.d.ts | 10 + assets/js/dayjs/plugin/isoWeeksInYear.js | 1 + assets/js/dayjs/plugin/localeData.d.ts | 44 + assets/js/dayjs/plugin/localeData.js | 1 + assets/js/dayjs/plugin/localizedFormat.d.ts | 4 + assets/js/dayjs/plugin/minMax.d.ts | 22 + assets/js/dayjs/plugin/minMax.js | 1 + assets/js/dayjs/plugin/negativeYear.d.ts | 4 + assets/js/dayjs/plugin/negativeYear.js | 1 + assets/js/dayjs/plugin/objectSupport.d.ts | 48 + assets/js/dayjs/plugin/objectSupport.js | 1 + assets/js/dayjs/plugin/pluralGetSet.d.ts | 44 + assets/js/dayjs/plugin/pluralGetSet.js | 1 + .../js/dayjs/plugin/preParsePostFormat.d.ts | 4 + assets/js/dayjs/plugin/preParsePostFormat.js | 1 + assets/js/dayjs/plugin/quarterOfYear.d.ts | 26 + assets/js/dayjs/plugin/quarterOfYear.js | 1 + assets/js/dayjs/plugin/relativeTime.d.ts | 24 + assets/js/dayjs/plugin/timezone.d.ts | 20 + assets/js/dayjs/plugin/timezone.js | 1 + assets/js/dayjs/plugin/toArray.d.ts | 10 + assets/js/dayjs/plugin/toArray.js | 1 + assets/js/dayjs/plugin/toObject.d.ts | 20 + assets/js/dayjs/plugin/toObject.js | 1 + assets/js/dayjs/plugin/updateLocale.d.ts | 8 + assets/js/dayjs/plugin/updateLocale.js | 1 + assets/js/dayjs/plugin/utc.d.ts | 19 + assets/js/dayjs/plugin/utc.js | 1 + assets/js/dayjs/plugin/weekOfYear.d.ts | 12 + assets/js/dayjs/plugin/weekOfYear.js | 1 + assets/js/dayjs/plugin/weekYear.d.ts | 10 + assets/js/dayjs/plugin/weekYear.js | 1 + assets/js/dayjs/plugin/weekday.d.ts | 12 + assets/js/dayjs/plugin/weekday.js | 1 + .../fortawesome-fontawesome-free/css/all.css | 10663 ++++++++++++++++ .../css/all.min.css | 9 + .../css/brands.css | 2219 ++++ .../css/brands.min.css | 6 + .../css/fontawesome.css | 8361 ++++++++++++ .../css/fontawesome.min.css | 8 + .../css/regular.css | 31 + .../css/regular.min.css | 6 + .../css/solid.css | 31 + .../css/solid.min.css | 6 + .../css/svg-with-js.css | 553 + .../css/svg-with-js.min.css | 6 + .../fortawesome-fontawesome-free/css/svg.css | 179 + .../css/svg.min.css | 6 + .../css/v4-font-face.css | 27 + .../css/v4-font-face.min.css | 6 + .../css/v4-shims.css | 2818 ++++ .../css/v4-shims.min.css | 6 + .../css/v5-font-face.css | 23 + .../css/v5-font-face.min.css | 6 + .../fontawesome.js | 3604 ++++++ .../webfonts/fa-brands-400.woff2 | Bin 0 -> 101180 bytes .../webfonts/fa-regular-400.woff2 | Bin 0 -> 19000 bytes .../webfonts/fa-solid-900.woff2 | Bin 0 -> 113260 bytes .../webfonts/fa-v4compatibility.woff2 | Bin 0 -> 4056 bytes assets/js/glightbox/glightbox.min.js | 1 + assets/js/lato-font/css/lato-font.css | 147 + assets/js/lato-font/css/lato-font.min.css | 3 + assets/js/lato-font/lato-font.css | 147 + assets/js/lazysizes/lazysizes.js | 814 ++ assets/js/mermaid/dist/mermaid.min.js | 1071 +- assets/js/mermaid/mermaid.core.mjs | 1358 ++ assets/js/tocbot/index.js | 5 + assets/js/tocbot/tocbot.cjs | 1398 ++ package-lock.json | 333 +- 252 files changed, 34804 insertions(+), 760 deletions(-) create mode 100644 assets/js/clipboard/clipboard.js create mode 100644 assets/js/dayjs/locale/af.js create mode 100644 assets/js/dayjs/locale/am.js create mode 100644 assets/js/dayjs/locale/ar-dz.js create mode 100644 assets/js/dayjs/locale/ar-iq.js create mode 100644 assets/js/dayjs/locale/ar-kw.js create mode 100644 assets/js/dayjs/locale/ar-ly.js create mode 100644 assets/js/dayjs/locale/ar-ma.js create mode 100644 assets/js/dayjs/locale/ar-sa.js create mode 100644 assets/js/dayjs/locale/ar-tn.js create mode 100644 assets/js/dayjs/locale/ar.js create mode 100644 assets/js/dayjs/locale/az.js create mode 100644 assets/js/dayjs/locale/be.js create mode 100644 assets/js/dayjs/locale/bg.js create mode 100644 assets/js/dayjs/locale/bi.js create mode 100644 assets/js/dayjs/locale/bm.js create mode 100644 assets/js/dayjs/locale/bn-bd.js create mode 100644 assets/js/dayjs/locale/bn.js create mode 100644 assets/js/dayjs/locale/bo.js create mode 100644 assets/js/dayjs/locale/br.js create mode 100644 assets/js/dayjs/locale/bs.js create mode 100644 assets/js/dayjs/locale/ca.js create mode 100644 assets/js/dayjs/locale/cs.js create mode 100644 assets/js/dayjs/locale/cv.js create mode 100644 assets/js/dayjs/locale/cy.js create mode 100644 assets/js/dayjs/locale/da.js create mode 100644 assets/js/dayjs/locale/de-at.js create mode 100644 assets/js/dayjs/locale/de-ch.js create mode 100644 assets/js/dayjs/locale/de.js create mode 100644 assets/js/dayjs/locale/dv.js create mode 100644 assets/js/dayjs/locale/el.js create mode 100644 assets/js/dayjs/locale/en-au.js create mode 100644 assets/js/dayjs/locale/en-ca.js create mode 100644 assets/js/dayjs/locale/en-gb.js create mode 100644 assets/js/dayjs/locale/en-ie.js create mode 100644 assets/js/dayjs/locale/en-il.js create mode 100644 assets/js/dayjs/locale/en-in.js create mode 100644 assets/js/dayjs/locale/en-nz.js create mode 100644 assets/js/dayjs/locale/en-sg.js create mode 100644 assets/js/dayjs/locale/en-tt.js create mode 100644 assets/js/dayjs/locale/eo.js create mode 100644 assets/js/dayjs/locale/es-do.js create mode 100644 assets/js/dayjs/locale/es-mx.js create mode 100644 assets/js/dayjs/locale/es-pr.js create mode 100644 assets/js/dayjs/locale/es-us.js create mode 100644 assets/js/dayjs/locale/es.js create mode 100644 assets/js/dayjs/locale/et.js create mode 100644 assets/js/dayjs/locale/eu.js create mode 100644 assets/js/dayjs/locale/fa.js create mode 100644 assets/js/dayjs/locale/fi.js create mode 100644 assets/js/dayjs/locale/fo.js create mode 100644 assets/js/dayjs/locale/fr-ca.js create mode 100644 assets/js/dayjs/locale/fr-ch.js create mode 100644 assets/js/dayjs/locale/fr.js create mode 100644 assets/js/dayjs/locale/fy.js create mode 100644 assets/js/dayjs/locale/ga.js create mode 100644 assets/js/dayjs/locale/gd.js create mode 100644 assets/js/dayjs/locale/gl.js create mode 100644 assets/js/dayjs/locale/gom-latn.js create mode 100644 assets/js/dayjs/locale/gu.js create mode 100644 assets/js/dayjs/locale/he.js create mode 100644 assets/js/dayjs/locale/hi.js create mode 100644 assets/js/dayjs/locale/hr.js create mode 100644 assets/js/dayjs/locale/ht.js create mode 100644 assets/js/dayjs/locale/hu.js create mode 100644 assets/js/dayjs/locale/hy-am.js create mode 100644 assets/js/dayjs/locale/id.js create mode 100644 assets/js/dayjs/locale/index.d.ts create mode 100644 assets/js/dayjs/locale/is.js create mode 100644 assets/js/dayjs/locale/it-ch.js create mode 100644 assets/js/dayjs/locale/it.js create mode 100644 assets/js/dayjs/locale/ja.js create mode 100644 assets/js/dayjs/locale/jv.js create mode 100644 assets/js/dayjs/locale/ka.js create mode 100644 assets/js/dayjs/locale/kk.js create mode 100644 assets/js/dayjs/locale/km.js create mode 100644 assets/js/dayjs/locale/kn.js create mode 100644 assets/js/dayjs/locale/ko.js create mode 100644 assets/js/dayjs/locale/ku.js create mode 100644 assets/js/dayjs/locale/ky.js create mode 100644 assets/js/dayjs/locale/lb.js create mode 100644 assets/js/dayjs/locale/lo.js create mode 100644 assets/js/dayjs/locale/lt.js create mode 100644 assets/js/dayjs/locale/lv.js create mode 100644 assets/js/dayjs/locale/me.js create mode 100644 assets/js/dayjs/locale/mi.js create mode 100644 assets/js/dayjs/locale/mk.js create mode 100644 assets/js/dayjs/locale/ml.js create mode 100644 assets/js/dayjs/locale/mn.js create mode 100644 assets/js/dayjs/locale/mr.js create mode 100644 assets/js/dayjs/locale/ms-my.js create mode 100644 assets/js/dayjs/locale/ms.js create mode 100644 assets/js/dayjs/locale/mt.js create mode 100644 assets/js/dayjs/locale/my.js create mode 100644 assets/js/dayjs/locale/nb.js create mode 100644 assets/js/dayjs/locale/ne.js create mode 100644 assets/js/dayjs/locale/nl-be.js create mode 100644 assets/js/dayjs/locale/nl.js create mode 100644 assets/js/dayjs/locale/nn.js create mode 100644 assets/js/dayjs/locale/oc-lnc.js create mode 100644 assets/js/dayjs/locale/pa-in.js create mode 100644 assets/js/dayjs/locale/pl.js create mode 100644 assets/js/dayjs/locale/pt-br.js create mode 100644 assets/js/dayjs/locale/pt.js create mode 100644 assets/js/dayjs/locale/rn.js create mode 100644 assets/js/dayjs/locale/ro.js create mode 100644 assets/js/dayjs/locale/ru.js create mode 100644 assets/js/dayjs/locale/rw.js create mode 100644 assets/js/dayjs/locale/sd.js create mode 100644 assets/js/dayjs/locale/se.js create mode 100644 assets/js/dayjs/locale/si.js create mode 100644 assets/js/dayjs/locale/sk.js create mode 100644 assets/js/dayjs/locale/sl.js create mode 100644 assets/js/dayjs/locale/sq.js create mode 100644 assets/js/dayjs/locale/sr-cyrl.js create mode 100644 assets/js/dayjs/locale/sr.js create mode 100644 assets/js/dayjs/locale/ss.js create mode 100644 assets/js/dayjs/locale/sv-fi.js create mode 100644 assets/js/dayjs/locale/sv.js create mode 100644 assets/js/dayjs/locale/sw.js create mode 100644 assets/js/dayjs/locale/ta.js create mode 100644 assets/js/dayjs/locale/te.js create mode 100644 assets/js/dayjs/locale/tet.js create mode 100644 assets/js/dayjs/locale/tg.js create mode 100644 assets/js/dayjs/locale/th.js create mode 100644 assets/js/dayjs/locale/tk.js create mode 100644 assets/js/dayjs/locale/tl-ph.js create mode 100644 assets/js/dayjs/locale/tlh.js create mode 100644 assets/js/dayjs/locale/tr.js create mode 100644 assets/js/dayjs/locale/types.d.ts create mode 100644 assets/js/dayjs/locale/tzl.js create mode 100644 assets/js/dayjs/locale/tzm-latn.js create mode 100644 assets/js/dayjs/locale/tzm.js create mode 100644 assets/js/dayjs/locale/ug-cn.js create mode 100644 assets/js/dayjs/locale/uk.js create mode 100644 assets/js/dayjs/locale/ur.js create mode 100644 assets/js/dayjs/locale/uz-latn.js create mode 100644 assets/js/dayjs/locale/uz.js create mode 100644 assets/js/dayjs/locale/vi.js create mode 100644 assets/js/dayjs/locale/x-pseudo.js create mode 100644 assets/js/dayjs/locale/yo.js create mode 100644 assets/js/dayjs/locale/zh-cn.js create mode 100644 assets/js/dayjs/locale/zh-hk.js create mode 100644 assets/js/dayjs/locale/zh-tw.js create mode 100644 assets/js/dayjs/locale/zh.js create mode 100644 assets/js/dayjs/plugin/advancedFormat.d.ts create mode 100644 assets/js/dayjs/plugin/advancedFormat.js create mode 100755 assets/js/dayjs/plugin/arraySupport.d.ts create mode 100644 assets/js/dayjs/plugin/arraySupport.js create mode 100644 assets/js/dayjs/plugin/badMutable.d.ts create mode 100644 assets/js/dayjs/plugin/badMutable.js create mode 100644 assets/js/dayjs/plugin/bigIntSupport.d.ts create mode 100644 assets/js/dayjs/plugin/bigIntSupport.js create mode 100644 assets/js/dayjs/plugin/buddhistEra.d.ts create mode 100644 assets/js/dayjs/plugin/buddhistEra.js create mode 100644 assets/js/dayjs/plugin/calendar.d.ts create mode 100644 assets/js/dayjs/plugin/calendar.js create mode 100644 assets/js/dayjs/plugin/customParseFormat.d.ts create mode 100644 assets/js/dayjs/plugin/customParseFormat.js create mode 100644 assets/js/dayjs/plugin/dayOfYear.d.ts create mode 100644 assets/js/dayjs/plugin/dayOfYear.js create mode 100644 assets/js/dayjs/plugin/devHelper.d.ts create mode 100644 assets/js/dayjs/plugin/devHelper.js create mode 100644 assets/js/dayjs/plugin/duration.d.ts create mode 100644 assets/js/dayjs/plugin/duration.js create mode 100644 assets/js/dayjs/plugin/isBetween.d.ts create mode 100644 assets/js/dayjs/plugin/isBetween.js create mode 100644 assets/js/dayjs/plugin/isLeapYear.d.ts create mode 100644 assets/js/dayjs/plugin/isLeapYear.js create mode 100644 assets/js/dayjs/plugin/isMoment.d.ts create mode 100644 assets/js/dayjs/plugin/isMoment.js create mode 100644 assets/js/dayjs/plugin/isSameOrAfter.d.ts create mode 100644 assets/js/dayjs/plugin/isSameOrAfter.js create mode 100644 assets/js/dayjs/plugin/isSameOrBefore.d.ts create mode 100644 assets/js/dayjs/plugin/isSameOrBefore.js create mode 100644 assets/js/dayjs/plugin/isToday.d.ts create mode 100644 assets/js/dayjs/plugin/isToday.js create mode 100644 assets/js/dayjs/plugin/isTomorrow.d.ts create mode 100644 assets/js/dayjs/plugin/isTomorrow.js create mode 100644 assets/js/dayjs/plugin/isYesterday.d.ts create mode 100644 assets/js/dayjs/plugin/isYesterday.js create mode 100644 assets/js/dayjs/plugin/isoWeek.d.ts create mode 100644 assets/js/dayjs/plugin/isoWeek.js create mode 100644 assets/js/dayjs/plugin/isoWeeksInYear.d.ts create mode 100644 assets/js/dayjs/plugin/isoWeeksInYear.js create mode 100644 assets/js/dayjs/plugin/localeData.d.ts create mode 100644 assets/js/dayjs/plugin/localeData.js create mode 100644 assets/js/dayjs/plugin/localizedFormat.d.ts create mode 100644 assets/js/dayjs/plugin/minMax.d.ts create mode 100644 assets/js/dayjs/plugin/minMax.js create mode 100644 assets/js/dayjs/plugin/negativeYear.d.ts create mode 100644 assets/js/dayjs/plugin/negativeYear.js create mode 100755 assets/js/dayjs/plugin/objectSupport.d.ts create mode 100644 assets/js/dayjs/plugin/objectSupport.js create mode 100644 assets/js/dayjs/plugin/pluralGetSet.d.ts create mode 100644 assets/js/dayjs/plugin/pluralGetSet.js create mode 100644 assets/js/dayjs/plugin/preParsePostFormat.d.ts create mode 100644 assets/js/dayjs/plugin/preParsePostFormat.js create mode 100644 assets/js/dayjs/plugin/quarterOfYear.d.ts create mode 100644 assets/js/dayjs/plugin/quarterOfYear.js create mode 100644 assets/js/dayjs/plugin/relativeTime.d.ts create mode 100644 assets/js/dayjs/plugin/timezone.d.ts create mode 100644 assets/js/dayjs/plugin/timezone.js create mode 100644 assets/js/dayjs/plugin/toArray.d.ts create mode 100644 assets/js/dayjs/plugin/toArray.js create mode 100644 assets/js/dayjs/plugin/toObject.d.ts create mode 100644 assets/js/dayjs/plugin/toObject.js create mode 100644 assets/js/dayjs/plugin/updateLocale.d.ts create mode 100644 assets/js/dayjs/plugin/updateLocale.js create mode 100644 assets/js/dayjs/plugin/utc.d.ts create mode 100644 assets/js/dayjs/plugin/utc.js create mode 100644 assets/js/dayjs/plugin/weekOfYear.d.ts create mode 100644 assets/js/dayjs/plugin/weekOfYear.js create mode 100644 assets/js/dayjs/plugin/weekYear.d.ts create mode 100644 assets/js/dayjs/plugin/weekYear.js create mode 100644 assets/js/dayjs/plugin/weekday.d.ts create mode 100644 assets/js/dayjs/plugin/weekday.js create mode 100644 assets/js/fortawesome-fontawesome-free/css/all.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/all.min.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/brands.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/brands.min.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/fontawesome.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/fontawesome.min.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/regular.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/regular.min.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/solid.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/solid.min.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/svg-with-js.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/svg-with-js.min.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/svg.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/svg.min.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/v4-font-face.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/v4-font-face.min.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/v4-shims.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/v4-shims.min.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/v5-font-face.css create mode 100644 assets/js/fortawesome-fontawesome-free/css/v5-font-face.min.css create mode 100644 assets/js/fortawesome-fontawesome-free/fontawesome.js create mode 100644 assets/js/fortawesome-fontawesome-free/webfonts/fa-brands-400.woff2 create mode 100644 assets/js/fortawesome-fontawesome-free/webfonts/fa-regular-400.woff2 create mode 100644 assets/js/fortawesome-fontawesome-free/webfonts/fa-solid-900.woff2 create mode 100644 assets/js/fortawesome-fontawesome-free/webfonts/fa-v4compatibility.woff2 create mode 100644 assets/js/glightbox/glightbox.min.js create mode 100644 assets/js/lato-font/css/lato-font.css create mode 100644 assets/js/lato-font/css/lato-font.min.css create mode 100644 assets/js/lato-font/lato-font.css create mode 100644 assets/js/lazysizes/lazysizes.js create mode 100644 assets/js/mermaid/mermaid.core.mjs create mode 100644 assets/js/tocbot/index.js create mode 100644 assets/js/tocbot/tocbot.cjs diff --git a/assets/js/clipboard/clipboard.js b/assets/js/clipboard/clipboard.js new file mode 100644 index 0000000..aeb826f --- /dev/null +++ b/assets/js/clipboard/clipboard.js @@ -0,0 +1,890 @@ +/*! + * clipboard.js v2.0.11 + * https://clipboardjs.com/ + * + * Licensed MIT © Zeno Rocha + */ +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(); + else if(typeof define === 'function' && define.amd) + define([], factory); + else if(typeof exports === 'object') + exports["ClipboardJS"] = factory(); + else + root["ClipboardJS"] = factory(); +})(this, function() { +return /******/ (function() { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ 686: +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "default": function() { return /* binding */ clipboard; } +}); + +// EXTERNAL MODULE: ./node_modules/tiny-emitter/index.js +var tiny_emitter = __webpack_require__(279); +var tiny_emitter_default = /*#__PURE__*/__webpack_require__.n(tiny_emitter); +// EXTERNAL MODULE: ./node_modules/good-listener/src/listen.js +var listen = __webpack_require__(370); +var listen_default = /*#__PURE__*/__webpack_require__.n(listen); +// EXTERNAL MODULE: ./node_modules/select/src/select.js +var src_select = __webpack_require__(817); +var select_default = /*#__PURE__*/__webpack_require__.n(src_select); +;// CONCATENATED MODULE: ./src/common/command.js +/** + * Executes a given operation type. + * @param {String} type + * @return {Boolean} + */ +function command(type) { + try { + return document.execCommand(type); + } catch (err) { + return false; + } +} +;// CONCATENATED MODULE: ./src/actions/cut.js + + +/** + * Cut action wrapper. + * @param {String|HTMLElement} target + * @return {String} + */ + +var ClipboardActionCut = function ClipboardActionCut(target) { + var selectedText = select_default()(target); + command('cut'); + return selectedText; +}; + +/* harmony default export */ var actions_cut = (ClipboardActionCut); +;// CONCATENATED MODULE: ./src/common/create-fake-element.js +/** + * Creates a fake textarea element with a value. + * @param {String} value + * @return {HTMLElement} + */ +function createFakeElement(value) { + var isRTL = document.documentElement.getAttribute('dir') === 'rtl'; + var fakeElement = document.createElement('textarea'); // Prevent zooming on iOS + + fakeElement.style.fontSize = '12pt'; // Reset box model + + fakeElement.style.border = '0'; + fakeElement.style.padding = '0'; + fakeElement.style.margin = '0'; // Move element out of screen horizontally + + fakeElement.style.position = 'absolute'; + fakeElement.style[isRTL ? 'right' : 'left'] = '-9999px'; // Move element to the same position vertically + + var yPosition = window.pageYOffset || document.documentElement.scrollTop; + fakeElement.style.top = "".concat(yPosition, "px"); + fakeElement.setAttribute('readonly', ''); + fakeElement.value = value; + return fakeElement; +} +;// CONCATENATED MODULE: ./src/actions/copy.js + + + +/** + * Create fake copy action wrapper using a fake element. + * @param {String} target + * @param {Object} options + * @return {String} + */ + +var fakeCopyAction = function fakeCopyAction(value, options) { + var fakeElement = createFakeElement(value); + options.container.appendChild(fakeElement); + var selectedText = select_default()(fakeElement); + command('copy'); + fakeElement.remove(); + return selectedText; +}; +/** + * Copy action wrapper. + * @param {String|HTMLElement} target + * @param {Object} options + * @return {String} + */ + + +var ClipboardActionCopy = function ClipboardActionCopy(target) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { + container: document.body + }; + var selectedText = ''; + + if (typeof target === 'string') { + selectedText = fakeCopyAction(target, options); + } else if (target instanceof HTMLInputElement && !['text', 'search', 'url', 'tel', 'password'].includes(target === null || target === void 0 ? void 0 : target.type)) { + // If input type doesn't support `setSelectionRange`. Simulate it. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange + selectedText = fakeCopyAction(target.value, options); + } else { + selectedText = select_default()(target); + command('copy'); + } + + return selectedText; +}; + +/* harmony default export */ var actions_copy = (ClipboardActionCopy); +;// CONCATENATED MODULE: ./src/actions/default.js +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + + + +/** + * Inner function which performs selection from either `text` or `target` + * properties and then executes copy or cut operations. + * @param {Object} options + */ + +var ClipboardActionDefault = function ClipboardActionDefault() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + // Defines base properties passed from constructor. + var _options$action = options.action, + action = _options$action === void 0 ? 'copy' : _options$action, + container = options.container, + target = options.target, + text = options.text; // Sets the `action` to be performed which can be either 'copy' or 'cut'. + + if (action !== 'copy' && action !== 'cut') { + throw new Error('Invalid "action" value, use either "copy" or "cut"'); + } // Sets the `target` property using an element that will be have its content copied. + + + if (target !== undefined) { + if (target && _typeof(target) === 'object' && target.nodeType === 1) { + if (action === 'copy' && target.hasAttribute('disabled')) { + throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute'); + } + + if (action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) { + throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes'); + } + } else { + throw new Error('Invalid "target" value, use a valid Element'); + } + } // Define selection strategy based on `text` property. + + + if (text) { + return actions_copy(text, { + container: container + }); + } // Defines which selection strategy based on `target` property. + + + if (target) { + return action === 'cut' ? actions_cut(target) : actions_copy(target, { + container: container + }); + } +}; + +/* harmony default export */ var actions_default = (ClipboardActionDefault); +;// CONCATENATED MODULE: ./src/clipboard.js +function clipboard_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { clipboard_typeof = function _typeof(obj) { return typeof obj; }; } else { clipboard_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return clipboard_typeof(obj); } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (clipboard_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + + + + + + +/** + * Helper function to retrieve attribute value. + * @param {String} suffix + * @param {Element} element + */ + +function getAttributeValue(suffix, element) { + var attribute = "data-clipboard-".concat(suffix); + + if (!element.hasAttribute(attribute)) { + return; + } + + return element.getAttribute(attribute); +} +/** + * Base class which takes one or more elements, adds event listeners to them, + * and instantiates a new `ClipboardAction` on each click. + */ + + +var Clipboard = /*#__PURE__*/function (_Emitter) { + _inherits(Clipboard, _Emitter); + + var _super = _createSuper(Clipboard); + + /** + * @param {String|HTMLElement|HTMLCollection|NodeList} trigger + * @param {Object} options + */ + function Clipboard(trigger, options) { + var _this; + + _classCallCheck(this, Clipboard); + + _this = _super.call(this); + + _this.resolveOptions(options); + + _this.listenClick(trigger); + + return _this; + } + /** + * Defines if attributes would be resolved using internal setter functions + * or custom functions that were passed in the constructor. + * @param {Object} options + */ + + + _createClass(Clipboard, [{ + key: "resolveOptions", + value: function resolveOptions() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + this.action = typeof options.action === 'function' ? options.action : this.defaultAction; + this.target = typeof options.target === 'function' ? options.target : this.defaultTarget; + this.text = typeof options.text === 'function' ? options.text : this.defaultText; + this.container = clipboard_typeof(options.container) === 'object' ? options.container : document.body; + } + /** + * Adds a click event listener to the passed trigger. + * @param {String|HTMLElement|HTMLCollection|NodeList} trigger + */ + + }, { + key: "listenClick", + value: function listenClick(trigger) { + var _this2 = this; + + this.listener = listen_default()(trigger, 'click', function (e) { + return _this2.onClick(e); + }); + } + /** + * Defines a new `ClipboardAction` on each click event. + * @param {Event} e + */ + + }, { + key: "onClick", + value: function onClick(e) { + var trigger = e.delegateTarget || e.currentTarget; + var action = this.action(trigger) || 'copy'; + var text = actions_default({ + action: action, + container: this.container, + target: this.target(trigger), + text: this.text(trigger) + }); // Fires an event based on the copy operation result. + + this.emit(text ? 'success' : 'error', { + action: action, + text: text, + trigger: trigger, + clearSelection: function clearSelection() { + if (trigger) { + trigger.focus(); + } + + window.getSelection().removeAllRanges(); + } + }); + } + /** + * Default `action` lookup function. + * @param {Element} trigger + */ + + }, { + key: "defaultAction", + value: function defaultAction(trigger) { + return getAttributeValue('action', trigger); + } + /** + * Default `target` lookup function. + * @param {Element} trigger + */ + + }, { + key: "defaultTarget", + value: function defaultTarget(trigger) { + var selector = getAttributeValue('target', trigger); + + if (selector) { + return document.querySelector(selector); + } + } + /** + * Allow fire programmatically a copy action + * @param {String|HTMLElement} target + * @param {Object} options + * @returns Text copied. + */ + + }, { + key: "defaultText", + + /** + * Default `text` lookup function. + * @param {Element} trigger + */ + value: function defaultText(trigger) { + return getAttributeValue('text', trigger); + } + /** + * Destroy lifecycle. + */ + + }, { + key: "destroy", + value: function destroy() { + this.listener.destroy(); + } + }], [{ + key: "copy", + value: function copy(target) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { + container: document.body + }; + return actions_copy(target, options); + } + /** + * Allow fire programmatically a cut action + * @param {String|HTMLElement} target + * @returns Text cutted. + */ + + }, { + key: "cut", + value: function cut(target) { + return actions_cut(target); + } + /** + * Returns the support of the given action, or all actions if no action is + * given. + * @param {String} [action] + */ + + }, { + key: "isSupported", + value: function isSupported() { + var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut']; + var actions = typeof action === 'string' ? [action] : action; + var support = !!document.queryCommandSupported; + actions.forEach(function (action) { + support = support && !!document.queryCommandSupported(action); + }); + return support; + } + }]); + + return Clipboard; +}((tiny_emitter_default())); + +/* harmony default export */ var clipboard = (Clipboard); + +/***/ }), + +/***/ 828: +/***/ (function(module) { + +var DOCUMENT_NODE_TYPE = 9; + +/** + * A polyfill for Element.matches() + */ +if (typeof Element !== 'undefined' && !Element.prototype.matches) { + var proto = Element.prototype; + + proto.matches = proto.matchesSelector || + proto.mozMatchesSelector || + proto.msMatchesSelector || + proto.oMatchesSelector || + proto.webkitMatchesSelector; +} + +/** + * Finds the closest parent that matches a selector. + * + * @param {Element} element + * @param {String} selector + * @return {Function} + */ +function closest (element, selector) { + while (element && element.nodeType !== DOCUMENT_NODE_TYPE) { + if (typeof element.matches === 'function' && + element.matches(selector)) { + return element; + } + element = element.parentNode; + } +} + +module.exports = closest; + + +/***/ }), + +/***/ 438: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var closest = __webpack_require__(828); + +/** + * Delegates event to a selector. + * + * @param {Element} element + * @param {String} selector + * @param {String} type + * @param {Function} callback + * @param {Boolean} useCapture + * @return {Object} + */ +function _delegate(element, selector, type, callback, useCapture) { + var listenerFn = listener.apply(this, arguments); + + element.addEventListener(type, listenerFn, useCapture); + + return { + destroy: function() { + element.removeEventListener(type, listenerFn, useCapture); + } + } +} + +/** + * Delegates event to a selector. + * + * @param {Element|String|Array} [elements] + * @param {String} selector + * @param {String} type + * @param {Function} callback + * @param {Boolean} useCapture + * @return {Object} + */ +function delegate(elements, selector, type, callback, useCapture) { + // Handle the regular Element usage + if (typeof elements.addEventListener === 'function') { + return _delegate.apply(null, arguments); + } + + // Handle Element-less usage, it defaults to global delegation + if (typeof type === 'function') { + // Use `document` as the first parameter, then apply arguments + // This is a short way to .unshift `arguments` without running into deoptimizations + return _delegate.bind(null, document).apply(null, arguments); + } + + // Handle Selector-based usage + if (typeof elements === 'string') { + elements = document.querySelectorAll(elements); + } + + // Handle Array-like based usage + return Array.prototype.map.call(elements, function (element) { + return _delegate(element, selector, type, callback, useCapture); + }); +} + +/** + * Finds closest match and invokes callback. + * + * @param {Element} element + * @param {String} selector + * @param {String} type + * @param {Function} callback + * @return {Function} + */ +function listener(element, selector, type, callback) { + return function(e) { + e.delegateTarget = closest(e.target, selector); + + if (e.delegateTarget) { + callback.call(element, e); + } + } +} + +module.exports = delegate; + + +/***/ }), + +/***/ 879: +/***/ (function(__unused_webpack_module, exports) { + +/** + * Check if argument is a HTML element. + * + * @param {Object} value + * @return {Boolean} + */ +exports.node = function(value) { + return value !== undefined + && value instanceof HTMLElement + && value.nodeType === 1; +}; + +/** + * Check if argument is a list of HTML elements. + * + * @param {Object} value + * @return {Boolean} + */ +exports.nodeList = function(value) { + var type = Object.prototype.toString.call(value); + + return value !== undefined + && (type === '[object NodeList]' || type === '[object HTMLCollection]') + && ('length' in value) + && (value.length === 0 || exports.node(value[0])); +}; + +/** + * Check if argument is a string. + * + * @param {Object} value + * @return {Boolean} + */ +exports.string = function(value) { + return typeof value === 'string' + || value instanceof String; +}; + +/** + * Check if argument is a function. + * + * @param {Object} value + * @return {Boolean} + */ +exports.fn = function(value) { + var type = Object.prototype.toString.call(value); + + return type === '[object Function]'; +}; + + +/***/ }), + +/***/ 370: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var is = __webpack_require__(879); +var delegate = __webpack_require__(438); + +/** + * Validates all params and calls the right + * listener function based on its target type. + * + * @param {String|HTMLElement|HTMLCollection|NodeList} target + * @param {String} type + * @param {Function} callback + * @return {Object} + */ +function listen(target, type, callback) { + if (!target && !type && !callback) { + throw new Error('Missing required arguments'); + } + + if (!is.string(type)) { + throw new TypeError('Second argument must be a String'); + } + + if (!is.fn(callback)) { + throw new TypeError('Third argument must be a Function'); + } + + if (is.node(target)) { + return listenNode(target, type, callback); + } + else if (is.nodeList(target)) { + return listenNodeList(target, type, callback); + } + else if (is.string(target)) { + return listenSelector(target, type, callback); + } + else { + throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList'); + } +} + +/** + * Adds an event listener to a HTML element + * and returns a remove listener function. + * + * @param {HTMLElement} node + * @param {String} type + * @param {Function} callback + * @return {Object} + */ +function listenNode(node, type, callback) { + node.addEventListener(type, callback); + + return { + destroy: function() { + node.removeEventListener(type, callback); + } + } +} + +/** + * Add an event listener to a list of HTML elements + * and returns a remove listener function. + * + * @param {NodeList|HTMLCollection} nodeList + * @param {String} type + * @param {Function} callback + * @return {Object} + */ +function listenNodeList(nodeList, type, callback) { + Array.prototype.forEach.call(nodeList, function(node) { + node.addEventListener(type, callback); + }); + + return { + destroy: function() { + Array.prototype.forEach.call(nodeList, function(node) { + node.removeEventListener(type, callback); + }); + } + } +} + +/** + * Add an event listener to a selector + * and returns a remove listener function. + * + * @param {String} selector + * @param {String} type + * @param {Function} callback + * @return {Object} + */ +function listenSelector(selector, type, callback) { + return delegate(document.body, selector, type, callback); +} + +module.exports = listen; + + +/***/ }), + +/***/ 817: +/***/ (function(module) { + +function select(element) { + var selectedText; + + if (element.nodeName === 'SELECT') { + element.focus(); + + selectedText = element.value; + } + else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') { + var isReadOnly = element.hasAttribute('readonly'); + + if (!isReadOnly) { + element.setAttribute('readonly', ''); + } + + element.select(); + element.setSelectionRange(0, element.value.length); + + if (!isReadOnly) { + element.removeAttribute('readonly'); + } + + selectedText = element.value; + } + else { + if (element.hasAttribute('contenteditable')) { + element.focus(); + } + + var selection = window.getSelection(); + var range = document.createRange(); + + range.selectNodeContents(element); + selection.removeAllRanges(); + selection.addRange(range); + + selectedText = selection.toString(); + } + + return selectedText; +} + +module.exports = select; + + +/***/ }), + +/***/ 279: +/***/ (function(module) { + +function E () { + // Keep this empty so it's easier to inherit from + // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3) +} + +E.prototype = { + on: function (name, callback, ctx) { + var e = this.e || (this.e = {}); + + (e[name] || (e[name] = [])).push({ + fn: callback, + ctx: ctx + }); + + return this; + }, + + once: function (name, callback, ctx) { + var self = this; + function listener () { + self.off(name, listener); + callback.apply(ctx, arguments); + }; + + listener._ = callback + return this.on(name, listener, ctx); + }, + + emit: function (name) { + var data = [].slice.call(arguments, 1); + var evtArr = ((this.e || (this.e = {}))[name] || []).slice(); + var i = 0; + var len = evtArr.length; + + for (i; i < len; i++) { + evtArr[i].fn.apply(evtArr[i].ctx, data); + } + + return this; + }, + + off: function (name, callback) { + var e = this.e || (this.e = {}); + var evts = e[name]; + var liveEvents = []; + + if (evts && callback) { + for (var i = 0, len = evts.length; i < len; i++) { + if (evts[i].fn !== callback && evts[i].fn._ !== callback) + liveEvents.push(evts[i]); + } + } + + // Remove event from queue to prevent memory leak + // Suggested by https://github.com/lazd + // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910 + + (liveEvents.length) + ? e[name] = liveEvents + : delete e[name]; + + return this; + } +}; + +module.exports = E; +module.exports.TinyEmitter = E; + + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ if(__webpack_module_cache__[moduleId]) { +/******/ return __webpack_module_cache__[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/compat get default export */ +/******/ !function() { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function() { return module['default']; } : +/******/ function() { return module; }; +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ }(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ !function() { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = function(exports, definition) { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ }(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ !function() { +/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } +/******/ }(); +/******/ +/************************************************************************/ +/******/ // module exports must be returned from runtime so entry inlining is disabled +/******/ // startup +/******/ // Load entry module and return exports +/******/ return __webpack_require__(686); +/******/ })() +.default; +}); \ No newline at end of file diff --git a/assets/js/dayjs/locale/af.js b/assets/js/dayjs/locale/af.js new file mode 100644 index 0000000..62c75e4 --- /dev/null +++ b/assets/js/dayjs/locale/af.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_af=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),t={name:"af",weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),weekStart:1,weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/am.js b/assets/js/dayjs/locale/am.js new file mode 100644 index 0000000..7b588a8 --- /dev/null +++ b/assets/js/dayjs/locale/am.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_am=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"am",weekdays:"እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysShort:"እሑድ_ሰኞ_ማክሰ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysMin:"እሑ_ሰኞ_ማክ_ረቡ_ሐሙ_አር_ቅዳ".split("_"),months:"ጃንዋሪ_ፌብሯሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር".split("_"),monthsShort:"ጃንዋ_ፌብሯ_ማርች_ኤፕሪ_ሜይ_ጁን_ጁላይ_ኦገስ_ሴፕቴ_ኦክቶ_ኖቬም_ዲሴም".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"በ%s",past:"%s በፊት",s:"ጥቂት ሰከንዶች",m:"አንድ ደቂቃ",mm:"%d ደቂቃዎች",h:"አንድ ሰዓት",hh:"%d ሰዓታት",d:"አንድ ቀን",dd:"%d ቀናት",M:"አንድ ወር",MM:"%d ወራት",y:"አንድ ዓመት",yy:"%d ዓመታት"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM D ፣ YYYY",LLL:"MMMM D ፣ YYYY HH:mm",LLLL:"dddd ፣ MMMM D ፣ YYYY HH:mm"},ordinal:function(e){return e+"ኛ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ar-dz.js b/assets/js/dayjs/locale/ar-dz.js new file mode 100644 index 0000000..5522790 --- /dev/null +++ b/assets/js/dayjs/locale/ar-dz.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_dz=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-dz",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ar-iq.js b/assets/js/dayjs/locale/ar-iq.js new file mode 100644 index 0000000..07e8c71 --- /dev/null +++ b/assets/js/dayjs/locale/ar-iq.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar_iq=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ar-iq",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ar-kw.js b/assets/js/dayjs/locale/ar-kw.js new file mode 100644 index 0000000..a876ca0 --- /dev/null +++ b/assets/js/dayjs/locale/ar-kw.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_kw=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-kw",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ar-ly.js b/assets/js/dayjs/locale/ar-ly.js new file mode 100644 index 0000000..9dbe09b --- /dev/null +++ b/assets/js/dayjs/locale/ar-ly.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_ly=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"ar-ly",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:6,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},meridiem:function(_){return _>12?"م":"ص"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ar-ma.js b/assets/js/dayjs/locale/ar-ma.js new file mode 100644 index 0000000..dbb77cc --- /dev/null +++ b/assets/js/dayjs/locale/ar-ma.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar_ma=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ar-ma",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekStart:6,weekdaysShort:"احد_إثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ar-sa.js b/assets/js/dayjs/locale/ar-sa.js new file mode 100644 index 0000000..9c2c0d4 --- /dev/null +++ b/assets/js/dayjs/locale/ar-sa.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_sa=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-sa",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ar-tn.js b/assets/js/dayjs/locale/ar-tn.js new file mode 100644 index 0000000..944b46d --- /dev/null +++ b/assets/js/dayjs/locale/ar-tn.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar_tn=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ar-tn",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ar.js b/assets/js/dayjs/locale/ar.js new file mode 100644 index 0000000..517c49e --- /dev/null +++ b/assets/js/dayjs/locale/ar.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),d={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},o={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:r,monthsShort:r,weekStart:6,meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return _[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return d[e]})).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return n.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/az.js b/assets/js/dayjs/locale/az.js new file mode 100644 index 0000000..d63ed1f --- /dev/null +++ b/assets/js/dayjs/locale/az.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_az=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var _=e(a),t={name:"az",weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},ordinal:function(a){return a}};return _.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/be.js b/assets/js/dayjs/locale/be.js new file mode 100644 index 0000000..704a87d --- /dev/null +++ b/assets/js/dayjs/locale/be.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_be=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"be",weekdays:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),months:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),weekStart:1,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/bg.js b/assets/js/dayjs/locale/bg.js new file mode 100644 index 0000000..89ddeff --- /dev/null +++ b/assets/js/dayjs/locale/bg.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bg=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(e){var _=e%100;if(_>10&&_<20)return e+"-ти";var t=e%10;return 1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/bi.js b/assets/js/dayjs/locale/bi.js new file mode 100644 index 0000000..e457dff --- /dev/null +++ b/assets/js/dayjs/locale/bi.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bi=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),_={name:"bi",weekdays:"Sande_Mande_Tusde_Wenesde_Tosde_Fraede_Sarade".split("_"),months:"Januari_Februari_Maj_Eprel_Mei_Jun_Julae_Okis_Septemba_Oktoba_Novemba_Disemba".split("_"),weekStart:1,weekdaysShort:"San_Man_Tus_Wen_Tos_Frae_Sar".split("_"),monthsShort:"Jan_Feb_Maj_Epr_Mai_Jun_Jul_Oki_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"San_Ma_Tu_We_To_Fr_Sar".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"lo %s",past:"%s bifo",s:"sam seken",m:"wan minit",mm:"%d minit",h:"wan haoa",hh:"%d haoa",d:"wan dei",dd:"%d dei",M:"wan manis",MM:"%d manis",y:"wan yia",yy:"%d yia"}};return n.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/bm.js b/assets/js/dayjs/locale/bm.js new file mode 100644 index 0000000..3c4fbdd --- /dev/null +++ b/assets/js/dayjs/locale/bm.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_bm=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var l=e(a),t={name:"bm",weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),weekStart:1,weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"}};return l.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/bn-bd.js b/assets/js/dayjs/locale/bn-bd.js new file mode 100644 index 0000000..ae76f9f --- /dev/null +++ b/assets/js/dayjs/locale/bn-bd.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bn_bd=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),n={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},d={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r={name:"bn-bd",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),weekStart:0,preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return d[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return n[e]}))},ordinal:function(e){var t=["ই","লা","রা","ঠা","শে"],_=e%100;return"["+e+(t[(_-20)%10]||t[_]||t[0])+"]"},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY খ্রিস্টাব্দ",LL:"D MMMM YYYY খ্রিস্টাব্দ",LLL:"D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়",LLLL:"dddd, D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়"},meridiem:function(e){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return _.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/bn.js b/assets/js/dayjs/locale/bn.js new file mode 100644 index 0000000..30ffa02 --- /dev/null +++ b/assets/js/dayjs/locale/bn.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bn=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),n={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},d={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},o={name:"bn",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return d[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return n[e]}))},ordinal:function(e){return e},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return t.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/bo.js b/assets/js/dayjs/locale/bo.js new file mode 100644 index 0000000..92bb7cc --- /dev/null +++ b/assets/js/dayjs/locale/bo.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_bo=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"bo",weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་དང་པོ_ཟླ་གཉིས་པ_ཟླ་གསུམ་པ_ཟླ་བཞི་པ_ཟླ་ལྔ་པ_ཟླ་དྲུག་པ_ཟླ་བདུན་པ_ཟླ་བརྒྱད་པ_ཟླ་དགུ་པ_ཟླ་བཅུ་པ_ཟླ་བཅུ་གཅིག་པ_ཟླ་བཅུ་གཉིས་པ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ལ་",past:"%s སྔོན་ལ་",s:"ཏོག་ཙམ་",m:"སྐར་མ་གཅིག་",mm:"སྐར་མ་ %d",h:"ཆུ་ཚོད་གཅིག་",hh:"ཆུ་ཚོད་ %d",d:"ཉིན་གཅིག་",dd:"ཉིན་ %d",M:"ཟླ་བ་གཅིག་",MM:"ཟླ་བ་ %d",y:"ལོ་གཅིག་",yy:"ལོ་ %d"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/br.js b/assets/js/dayjs/locale/br.js new file mode 100644 index 0000000..0b2317f --- /dev/null +++ b/assets/js/dayjs/locale/br.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_br=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=n(e);function r(e){return e>9?r(e%10):e}function t(e,n,u){return e+" "+function(e,n){return 2===n?function(e){return{m:"v",b:"v",d:"z"}[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[u],e)}var o={name:"br",weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),weekStart:1,weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},meridiem:function(e){return e<12?"a.m.":"g.m."}};return u.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/bs.js b/assets/js/dayjs/locale/bs.js new file mode 100644 index 0000000..25dcd6d --- /dev/null +++ b/assets/js/dayjs/locale/bs.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bs=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),a={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return _.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ca.js b/assets/js/dayjs/locale/ca.js new file mode 100644 index 0000000..1614cc2 --- /dev/null +++ b/assets/js/dayjs/locale/ca.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ca=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=s(e),_={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return""+e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/cs.js b/assets/js/dayjs/locale/cs.js new file mode 100644 index 0000000..43bddb9 --- /dev/null +++ b/assets/js/dayjs/locale/cs.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_cs=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e);function s(e){return e>1&&e<5&&1!=~~(e/10)}function r(e,n,t,r){var d=e+" ";switch(t){case"s":return n||r?"pár sekund":"pár sekundami";case"m":return n?"minuta":r?"minutu":"minutou";case"mm":return n||r?d+(s(e)?"minuty":"minut"):d+"minutami";case"h":return n?"hodina":r?"hodinu":"hodinou";case"hh":return n||r?d+(s(e)?"hodiny":"hodin"):d+"hodinami";case"d":return n||r?"den":"dnem";case"dd":return n||r?d+(s(e)?"dny":"dní"):d+"dny";case"M":return n||r?"měsíc":"měsícem";case"MM":return n||r?d+(s(e)?"měsíce":"měsíců"):d+"měsíci";case"y":return n||r?"rok":"rokem";case"yy":return n||r?d+(s(e)?"roky":"let"):d+"lety"}}var d={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/cv.js b/assets/js/dayjs/locale/cv.js new file mode 100644 index 0000000..a30efe0 --- /dev/null +++ b/assets/js/dayjs/locale/cv.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_cv=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"cv",weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),weekStart:1,weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/cy.js b/assets/js/dayjs/locale/cy.js new file mode 100644 index 0000000..ee1910f --- /dev/null +++ b/assets/js/dayjs/locale/cy.js @@ -0,0 +1 @@ +!function(d,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(d="undefined"!=typeof globalThis?globalThis:d||self).dayjs_locale_cy=e(d.dayjs)}(this,(function(d){"use strict";function e(d){return d&&"object"==typeof d&&"default"in d?d:{default:d}}var _=e(d),a={name:"cy",weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),weekStart:1,weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),ordinal:function(d){return d},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"}};return _.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/da.js b/assets/js/dayjs/locale/da.js new file mode 100644 index 0000000..f196072 --- /dev/null +++ b/assets/js/dayjs/locale/da.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_da=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=t(e),a={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};return d.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/de-at.js b/assets/js/dayjs/locale/de-at.js new file mode 100644 index 0000000..ca51ef5 --- /dev/null +++ b/assets/js/dayjs/locale/de-at.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_de_at=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function a(e,n,t){var a=i[t];return Array.isArray(a)&&(a=a[n?0:1]),a.replace("%d",e)}var r={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/de-ch.js b/assets/js/dayjs/locale/de-ch.js new file mode 100644 index 0000000..3fef218 --- /dev/null +++ b/assets/js/dayjs/locale/de-ch.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_de_ch=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function i(e,n,t){var i=a[t];return Array.isArray(i)&&(i=i[n?0:1]),i.replace("%d",e)}var r={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/de.js b/assets/js/dayjs/locale/de.js new file mode 100644 index 0000000..35f05ec --- /dev/null +++ b/assets/js/dayjs/locale/de.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_de=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function i(e,n,t){var i=a[t];return Array.isArray(i)&&(i=i[n?0:1]),i.replace("%d",e)}var r={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/dv.js b/assets/js/dayjs/locale/dv.js new file mode 100644 index 0000000..b0bd8f9 --- /dev/null +++ b/assets/js/dayjs/locale/dv.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_dv=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"dv",weekdays:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),months:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekStart:7,weekdaysShort:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),monthsShort:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/el.js b/assets/js/dayjs/locale/el.js new file mode 100644 index 0000000..1488034 --- /dev/null +++ b/assets/js/dayjs/locale/el.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_el=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"el",weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),months:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ".split("_"),ordinal:function(e){return e},weekStart:1,relativeTime:{future:"σε %s",past:"πριν %s",s:"μερικά δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένα μήνα",MM:"%d μήνες",y:"ένα χρόνο",yy:"%d χρόνια"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/en-au.js b/assets/js/dayjs/locale/en-au.js new file mode 100644 index 0000000..a14c890 --- /dev/null +++ b/assets/js/dayjs/locale/en-au.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_au=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(e){var a=["th","st","nd","rd"],t=e%100;return"["+e+(a[(t-20)%10]||a[t]||a[0])+"]"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/en-ca.js b/assets/js/dayjs/locale/en-ca.js new file mode 100644 index 0000000..bf76621 --- /dev/null +++ b/assets/js/dayjs/locale/en-ca.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_ca=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=a(e),t={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return _.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/en-gb.js b/assets/js/dayjs/locale/en-gb.js new file mode 100644 index 0000000..7fc7c3f --- /dev/null +++ b/assets/js/dayjs/locale/en-gb.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_gb=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],t=e%100;return"["+e+(a[(t-20)%10]||a[t]||a[0])+"]"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/en-ie.js b/assets/js/dayjs/locale/en-ie.js new file mode 100644 index 0000000..b0ad3f9 --- /dev/null +++ b/assets/js/dayjs/locale/en-ie.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_ie=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-ie",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/en-il.js b/assets/js/dayjs/locale/en-il.js new file mode 100644 index 0000000..d8bea62 --- /dev/null +++ b/assets/js/dayjs/locale/en-il.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_il=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=a(e),t={name:"en-il",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return _.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/en-in.js b/assets/js/dayjs/locale/en-in.js new file mode 100644 index 0000000..af8cff3 --- /dev/null +++ b/assets/js/dayjs/locale/en-in.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_in=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),n={name:"en-in",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],t=e%100;return"["+e+(a[(t-20)%10]||a[t]||a[0])+"]"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/en-nz.js b/assets/js/dayjs/locale/en-nz.js new file mode 100644 index 0000000..058abbe --- /dev/null +++ b/assets/js/dayjs/locale/en-nz.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_nz=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),n={name:"en-nz",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){var a=["th","st","nd","rd"],t=e%100;return"["+e+(a[(t-20)%10]||a[t]||a[0])+"]"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/en-sg.js b/assets/js/dayjs/locale/en-sg.js new file mode 100644 index 0000000..787fa84 --- /dev/null +++ b/assets/js/dayjs/locale/en-sg.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_sg=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-sg",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/en-tt.js b/assets/js/dayjs/locale/en-tt.js new file mode 100644 index 0000000..afc4d36 --- /dev/null +++ b/assets/js/dayjs/locale/en-tt.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_tt=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),_={name:"en-tt",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}};return a.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/eo.js b/assets/js/dayjs/locale/eo.js new file mode 100644 index 0000000..2dcbe01 --- /dev/null +++ b/assets/js/dayjs/locale/eo.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_eo=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(e),t={name:"eo",weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"}};return a.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/es-do.js b/assets/js/dayjs/locale/es-do.js new file mode 100644 index 0000000..07907ad --- /dev/null +++ b/assets/js/dayjs/locale/es-do.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_do=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es-do",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekStart:1,relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/es-mx.js b/assets/js/dayjs/locale/es-mx.js new file mode 100644 index 0000000..f865a2d --- /dev/null +++ b/assets/js/dayjs/locale/es-mx.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_mx=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/es-pr.js b/assets/js/dayjs/locale/es-pr.js new file mode 100644 index 0000000..56fdeb4 --- /dev/null +++ b/assets/js/dayjs/locale/es-pr.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_pr=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es-pr",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/es-us.js b/assets/js/dayjs/locale/es-us.js new file mode 100644 index 0000000..35f5535 --- /dev/null +++ b/assets/js/dayjs/locale/es-us.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_us=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=s(e),d={name:"es-us",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return o.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/es.js b/assets/js/dayjs/locale/es.js new file mode 100644 index 0000000..eb33b81 --- /dev/null +++ b/assets/js/dayjs/locale/es.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/et.js b/assets/js/dayjs/locale/et.js new file mode 100644 index 0000000..4158d13 --- /dev/null +++ b/assets/js/dayjs/locale/et.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_et=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e);function u(e,a,t,u){var s={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return a?(s[t][2]?s[t][2]:s[t][1]).replace("%d",e):(u?s[t][0]:s[t][1]).replace("%d",e)}var s={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:u,m:u,mm:u,h:u,hh:u,d:u,dd:"%d päeva",M:u,MM:u,y:u,yy:u},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return t.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/eu.js b/assets/js/dayjs/locale/eu.js new file mode 100644 index 0000000..ed8e228 --- /dev/null +++ b/assets/js/dayjs/locale/eu.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_eu=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=e(a),l={name:"eu",weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),weekStart:1,weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"}};return t.default.locale(l,null,!0),l})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/fa.js b/assets/js/dayjs/locale/fa.js new file mode 100644 index 0000000..648bb4e --- /dev/null +++ b/assets/js/dayjs/locale/fa.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_fa=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"fa",weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekStart:6,months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/fi.js b/assets/js/dayjs/locale/fi.js new file mode 100644 index 0000000..2681ebd --- /dev/null +++ b/assets/js/dayjs/locale/fi.js @@ -0,0 +1 @@ +!function(u,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(u="undefined"!=typeof globalThis?globalThis:u||self).dayjs_locale_fi=e(u.dayjs)}(this,(function(u){"use strict";function e(u){return u&&"object"==typeof u&&"default"in u?u:{default:u}}var t=e(u);function n(u,e,t,n){var i={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},a={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},s=n&&!e?a:i,_=s[t];return u<10?_.replace("%d",s.numbers[u]):_.replace("%d",u)}var i={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(u){return u+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};return t.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/fo.js b/assets/js/dayjs/locale/fo.js new file mode 100644 index 0000000..ff6f8d8 --- /dev/null +++ b/assets/js/dayjs/locale/fo.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fo=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),r={name:"fo",weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),weekStart:1,weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"}};return a.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/fr-ca.js b/assets/js/dayjs/locale/fr-ca.js new file mode 100644 index 0000000..9cc0d03 --- /dev/null +++ b/assets/js/dayjs/locale/fr-ca.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fr_ca=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(e),_={name:"fr-ca",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return i.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/fr-ch.js b/assets/js/dayjs/locale/fr-ch.js new file mode 100644 index 0000000..1308de9 --- /dev/null +++ b/assets/js/dayjs/locale/fr-ch.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fr_ch=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(e),_={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return i.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/fr.js b/assets/js/dayjs/locale/fr.js new file mode 100644 index 0000000..8c42be4 --- /dev/null +++ b/assets/js/dayjs/locale/fr.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fr=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return t.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/fy.js b/assets/js/dayjs/locale/fy.js new file mode 100644 index 0000000..291dd5f --- /dev/null +++ b/assets/js/dayjs/locale/fy.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fy=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(e),t={name:"fy",weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),weekStart:1,weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ga.js b/assets/js/dayjs/locale/ga.js new file mode 100644 index 0000000..2f28861 --- /dev/null +++ b/assets/js/dayjs/locale/ga.js @@ -0,0 +1 @@ +!function(a,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],i):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_ga=i(a.dayjs)}(this,(function(a){"use strict";function i(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var e=i(a),n={name:"ga",weekdays:"Dé Domhnaigh_Dé Luain_Dé Máirt_Dé Céadaoin_Déardaoin_Dé hAoine_Dé Sathairn".split("_"),months:"Eanáir_Feabhra_Márta_Aibreán_Bealtaine_Meitheamh_Iúil_Lúnasa_Meán Fómhair_Deireadh Fómhair_Samhain_Nollaig".split("_"),weekStart:1,weekdaysShort:"Dom_Lua_Mái_Céa_Déa_Aoi_Sat".split("_"),monthsShort:"Ean_Fea_Már_Aib_Beal_Mei_Iúil_Lún_MFómh_DFómh_Samh_Noll".split("_"),weekdaysMin:"Do_Lu_Má_Cé_Dé_Ao_Sa".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"}};return e.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/gd.js b/assets/js/dayjs/locale/gd.js new file mode 100644 index 0000000..c7e47ab --- /dev/null +++ b/assets/js/dayjs/locale/gd.js @@ -0,0 +1 @@ +!function(a,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],i):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_gd=i(a.dayjs)}(this,(function(a){"use strict";function i(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var n=i(a),e={name:"gd",weekdays:"Didòmhnaich_Diluain_Dimàirt_Diciadain_Diardaoin_Dihaoine_Disathairne".split("_"),months:"Am Faoilleach_An Gearran_Am Màrt_An Giblean_An Cèitean_An t-Ògmhios_An t-Iuchar_An Lùnastal_An t-Sultain_An Dàmhair_An t-Samhain_An Dùbhlachd".split("_"),weekStart:1,weekdaysShort:"Did_Dil_Dim_Dic_Dia_Dih_Dis".split("_"),monthsShort:"Faoi_Gear_Màrt_Gibl_Cèit_Ògmh_Iuch_Lùn_Sult_Dàmh_Samh_Dùbh".split("_"),weekdaysMin:"Dò_Lu_Mà_Ci_Ar_Ha_Sa".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"}};return n.default.locale(e,null,!0),e})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/gl.js b/assets/js/dayjs/locale/gl.js new file mode 100644 index 0000000..f5cf483 --- /dev/null +++ b/assets/js/dayjs/locale/gl.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_gl=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"gl",weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/gom-latn.js b/assets/js/dayjs/locale/gom-latn.js new file mode 100644 index 0000000..1596618 --- /dev/null +++ b/assets/js/dayjs/locale/gom-latn.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_gom_latn=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),_={name:"gom-latn",weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),weekStart:1,weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"}};return a.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/gu.js b/assets/js/dayjs/locale/gu.js new file mode 100644 index 0000000..f42a17c --- /dev/null +++ b/assets/js/dayjs/locale/gu.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_gu=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"gu",weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/he.js b/assets/js/dayjs/locale/he.js new file mode 100644 index 0000000..3e4062e --- /dev/null +++ b/assets/js/dayjs/locale/he.js @@ -0,0 +1 @@ +!function(Y,M){"object"==typeof exports&&"undefined"!=typeof module?module.exports=M(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],M):(Y="undefined"!=typeof globalThis?globalThis:Y||self).dayjs_locale_he=M(Y.dayjs)}(this,(function(Y){"use strict";function M(Y){return Y&&"object"==typeof Y&&"default"in Y?Y:{default:Y}}var d=M(Y),e={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function _(Y,M,d){return(e[d+(2===Y?"2":"")]||e[d]).replace("%d",Y)}var l={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},ordinal:function(Y){return Y},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};return d.default.locale(l,null,!0),l})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/hi.js b/assets/js/dayjs/locale/hi.js new file mode 100644 index 0000000..9dca3cf --- /dev/null +++ b/assets/js/dayjs/locale/hi.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_hi=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/hr.js b/assets/js/dayjs/locale/hr.js new file mode 100644 index 0000000..12e8387 --- /dev/null +++ b/assets/js/dayjs/locale/hr.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_hr=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),s="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),n="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),_=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,o=function(e,a){return _.test(a)?s[e.month()]:n[e.month()]};o.s=n,o.f=s;var i={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:o,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(e){return e+"."}};return t.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ht.js b/assets/js/dayjs/locale/ht.js new file mode 100644 index 0000000..3b2d9a3 --- /dev/null +++ b/assets/js/dayjs/locale/ht.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ht=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=n(e),a={name:"ht",weekdays:"dimanch_lendi_madi_mèkredi_jedi_vandredi_samdi".split("_"),months:"janvye_fevriye_mas_avril_me_jen_jiyè_out_septanm_oktòb_novanm_desanm".split("_"),weekdaysShort:"dim._len._mad._mèk._jed._van._sam.".split("_"),monthsShort:"jan._fev._mas_avr._me_jen_jiyè._out_sept._okt._nov._des.".split("_"),weekdaysMin:"di_le_ma_mè_je_va_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"nan %s",past:"sa gen %s",s:"kèk segond",m:"yon minit",mm:"%d minit",h:"inèdtan",hh:"%d zè",d:"yon jou",dd:"%d jou",M:"yon mwa",MM:"%d mwa",y:"yon ane",yy:"%d ane"}};return d.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/hu.js b/assets/js/dayjs/locale/hu.js new file mode 100644 index 0000000..e2aff04 --- /dev/null +++ b/assets/js/dayjs/locale/hu.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_hu=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),r={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(e,n,t,r){return"néhány másodperc"+(r||n?"":"e")},m:function(e,n,t,r){return"egy perc"+(r||n?"":"e")},mm:function(e,n,t,r){return e+" perc"+(r||n?"":"e")},h:function(e,n,t,r){return"egy "+(r||n?"óra":"órája")},hh:function(e,n,t,r){return e+" "+(r||n?"óra":"órája")},d:function(e,n,t,r){return"egy "+(r||n?"nap":"napja")},dd:function(e,n,t,r){return e+" "+(r||n?"nap":"napja")},M:function(e,n,t,r){return"egy "+(r||n?"hónap":"hónapja")},MM:function(e,n,t,r){return e+" "+(r||n?"hónap":"hónapja")},y:function(e,n,t,r){return"egy "+(r||n?"év":"éve")},yy:function(e,n,t,r){return e+" "+(r||n?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/hy-am.js b/assets/js/dayjs/locale/hy-am.js new file mode 100644 index 0000000..44daa15 --- /dev/null +++ b/assets/js/dayjs/locale/hy-am.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_hy_am=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"hy-am",weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),months:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),weekStart:1,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/id.js b/assets/js/dayjs/locale/id.js new file mode 100644 index 0000000..0637a65 --- /dev/null +++ b/assets/js/dayjs/locale/id.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_id=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/index.d.ts b/assets/js/dayjs/locale/index.d.ts new file mode 100644 index 0000000..bd2dca2 --- /dev/null +++ b/assets/js/dayjs/locale/index.d.ts @@ -0,0 +1,11 @@ +/// + +declare module 'dayjs/locale/*' { + namespace locale { + interface Locale extends ILocale {} + } + + const locale: locale.Locale + + export = locale +} diff --git a/assets/js/dayjs/locale/is.js b/assets/js/dayjs/locale/is.js new file mode 100644 index 0000000..de6799b --- /dev/null +++ b/assets/js/dayjs/locale/is.js @@ -0,0 +1 @@ +!function(u,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],r):(u="undefined"!=typeof globalThis?globalThis:u||self).dayjs_locale_is=r(u.dayjs)}(this,(function(u){"use strict";function r(u){return u&&"object"==typeof u&&"default"in u?u:{default:u}}var n=r(u),e={s:["nokkrar sekúndur","nokkrar sekúndur","nokkrum sekúndum"],m:["mínúta","mínútu","mínútu"],mm:["mínútur","mínútur","mínútum"],h:["klukkustund","klukkustund","klukkustund"],hh:["klukkustundir","klukkustundir","klukkustundum"],d:["dagur","dag","degi"],dd:["dagar","daga","dögum"],M:["mánuður","mánuð","mánuði"],MM:["mánuðir","mánuði","mánuðum"],y:["ár","ár","ári"],yy:["ár","ár","árum"]};function t(u,r,n,t){var a=function(u,r,n,t){var a=t?0:n?1:2,d=2===u.length&&r%10==1?u[0]:u,m=e[d][a];return 1===u.length?m:"%d "+m}(n,u,t,r);return a.replace("%d",u)}var a={name:"is",weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),weekStart:1,weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),ordinal:function(u){return u},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/it-ch.js b/assets/js/dayjs/locale/it-ch.js new file mode 100644 index 0000000..7e1c92f --- /dev/null +++ b/assets/js/dayjs/locale/it-ch.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_it_ch=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=o(e),t={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/it.js b/assets/js/dayjs/locale/it.js new file mode 100644 index 0000000..2ddf44b --- /dev/null +++ b/assets/js/dayjs/locale/it.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_it=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e),n={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"º"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ja.js b/assets/js/dayjs/locale/ja.js new file mode 100644 index 0000000..cd52f36 --- /dev/null +++ b/assets/js/dayjs/locale/ja.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ja=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/jv.js b/assets/js/dayjs/locale/jv.js new file mode 100644 index 0000000..7566308 --- /dev/null +++ b/assets/js/dayjs/locale/jv.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_jv=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),_={name:"jv",weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),weekStart:1,weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ka.js b/assets/js/dayjs/locale/ka.js new file mode 100644 index 0000000..7b2ce53 --- /dev/null +++ b/assets/js/dayjs/locale/ka.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ka=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ka",weekdays:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"%s შემდეგ",past:"%s წინ",s:"წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათის",d:"დღეს",dd:"%d დღის განმავლობაში",M:"თვის",MM:"%d თვის",y:"წელი",yy:"%d წლის"},ordinal:function(_){return _}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/kk.js b/assets/js/dayjs/locale/kk.js new file mode 100644 index 0000000..a2f17a3 --- /dev/null +++ b/assets/js/dayjs/locale/kk.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_kk=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"kk",weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekStart:1,relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/km.js b/assets/js/dayjs/locale/km.js new file mode 100644 index 0000000..528923e --- /dev/null +++ b/assets/js/dayjs/locale/km.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_km=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"km",weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekStart:1,weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/kn.js b/assets/js/dayjs/locale/kn.js new file mode 100644 index 0000000..e040eba --- /dev/null +++ b/assets/js/dayjs/locale/kn.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_kn=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"kn",weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ko.js b/assets/js/dayjs/locale/ko.js new file mode 100644 index 0000000..cfe8b37 --- /dev/null +++ b/assets/js/dayjs/locale/ko.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ko=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=_(e),t={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return d.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ku.js b/assets/js/dayjs/locale/ku.js new file mode 100644 index 0000000..cd98fc2 --- /dev/null +++ b/assets/js/dayjs/locale/ku.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("dayjs")):"function"==typeof define&&define.amd?define(["exports","dayjs"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ku={},e.dayjs)}(this,(function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t),d={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},o={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},u=["کانوونی دووەم","شوبات","ئادار","نیسان","ئایار","حوزەیران","تەممووز","ئاب","ئەیلوول","تشرینی یەکەم","تشرینی دووەم","کانوونی یەکەم"],i={name:"ku",months:u,monthsShort:u,weekdays:"یەکشەممە_دووشەممە_سێشەممە_چوارشەممە_پێنجشەممە_هەینی_شەممە".split("_"),weekdaysShort:"یەکشەم_دووشەم_سێشەم_چوارشەم_پێنجشەم_هەینی_شەممە".split("_"),weekStart:6,weekdaysMin:"ی_د_س_چ_پ_هـ_ش".split("_"),preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return o[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return d[e]})).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiem:function(e){return e<12?"پ.ن":"د.ن"},relativeTime:{future:"لە %s",past:"لەمەوپێش %s",s:"چەند چرکەیەک",m:"یەک خولەک",mm:"%d خولەک",h:"یەک کاتژمێر",hh:"%d کاتژمێر",d:"یەک ڕۆژ",dd:"%d ڕۆژ",M:"یەک مانگ",MM:"%d مانگ",y:"یەک ساڵ",yy:"%d ساڵ"}};r.default.locale(i,null,!0),e.default=i,e.englishToArabicNumbersMap=d,Object.defineProperty(e,"__esModule",{value:!0})})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ky.js b/assets/js/dayjs/locale/ky.js new file mode 100644 index 0000000..1fdc40e --- /dev/null +++ b/assets/js/dayjs/locale/ky.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ky=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ky",weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),weekStart:1,weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/lb.js b/assets/js/dayjs/locale/lb.js new file mode 100644 index 0000000..b6895f2 --- /dev/null +++ b/assets/js/dayjs/locale/lb.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_lb=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),n={name:"lb",weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),weekStart:1,weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/lo.js b/assets/js/dayjs/locale/lo.js new file mode 100644 index 0000000..1bf09d1 --- /dev/null +++ b/assets/js/dayjs/locale/lo.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_lo=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"lo",weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/lt.js b/assets/js/dayjs/locale/lt.js new file mode 100644 index 0000000..52f2225 --- /dev/null +++ b/assets/js/dayjs/locale/lt.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_lt=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=s(e),d="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),a="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),l=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,M=function(e,s){return l.test(s)?d[e.month()]:a[e.month()]};M.s=a,M.f=d;var t={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:M,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/lv.js b/assets/js/dayjs/locale/lv.js new file mode 100644 index 0000000..98fc126 --- /dev/null +++ b/assets/js/dayjs/locale/lv.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_lv=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=s(e),d={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minūtes",mm:"%d minūtēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneša",MM:"%d mēnešiem",y:"gada",yy:"%d gadiem"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/me.js b/assets/js/dayjs/locale/me.js new file mode 100644 index 0000000..ecb22ae --- /dev/null +++ b/assets/js/dayjs/locale/me.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_me=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),a={name:"me",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return _.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/mi.js b/assets/js/dayjs/locale/mi.js new file mode 100644 index 0000000..1b328f0 --- /dev/null +++ b/assets/js/dayjs/locale/mi.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_mi=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(e),t={name:"mi",weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),weekStart:1,weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/mk.js b/assets/js/dayjs/locale/mk.js new file mode 100644 index 0000000..0f2ece1 --- /dev/null +++ b/assets/js/dayjs/locale/mk.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_mk=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ml.js b/assets/js/dayjs/locale/ml.js new file mode 100644 index 0000000..8e7db4f --- /dev/null +++ b/assets/js/dayjs/locale/ml.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ml=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ml",weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/mn.js b/assets/js/dayjs/locale/mn.js new file mode 100644 index 0000000..4de299b --- /dev/null +++ b/assets/js/dayjs/locale/mn.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_mn=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"mn",weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},relativeTime:{future:"%s",past:"%s",s:"саяхан",m:"м",mm:"%dм",h:"1ц",hh:"%dц",d:"1ө",dd:"%dө",M:"1с",MM:"%dс",y:"1ж",yy:"%dж"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/mr.js b/assets/js/dayjs/locale/mr.js new file mode 100644 index 0000000..af6bb3a --- /dev/null +++ b/assets/js/dayjs/locale/mr.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_mr=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"mr",weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ms-my.js b/assets/js/dayjs/locale/ms-my.js new file mode 100644 index 0000000..1917d7a --- /dev/null +++ b/assets/js/dayjs/locale/ms-my.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ms_my=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"ms-my",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),weekStart:1,weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ms.js b/assets/js/dayjs/locale/ms.js new file mode 100644 index 0000000..be4f88e --- /dev/null +++ b/assets/js/dayjs/locale/ms.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ms=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),s={name:"ms",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH.mm",LLLL:"dddd, D MMMM YYYY HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return t.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/mt.js b/assets/js/dayjs/locale/mt.js new file mode 100644 index 0000000..43d481a --- /dev/null +++ b/assets/js/dayjs/locale/mt.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_mt=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),i={name:"mt",weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),weekStart:1,weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"}};return a.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/my.js b/assets/js/dayjs/locale/my.js new file mode 100644 index 0000000..95adead --- /dev/null +++ b/assets/js/dayjs/locale/my.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_my=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"my",weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),weekStart:1,weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/nb.js b/assets/js/dayjs/locale/nb.js new file mode 100644 index 0000000..ece1f31 --- /dev/null +++ b/assets/js/dayjs/locale/nb.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nb=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),a={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ne.js b/assets/js/dayjs/locale/ne.js new file mode 100644 index 0000000..3d166bc --- /dev/null +++ b/assets/js/dayjs/locale/ne.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ne=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ne",weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),relativeTime:{future:"%s पछि",past:"%s अघि",s:"सेकेन्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"घन्टा",hh:"%d घन्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक वर्ष",yy:"%d वर्ष"},ordinal:function(e){return(""+e).replace(/\d/g,(function(e){return"०१२३४५६७८९"[e]}))},formats:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/nl-be.js b/assets/js/dayjs/locale/nl-be.js new file mode 100644 index 0000000..7a2f60f --- /dev/null +++ b/assets/js/dayjs/locale/nl-be.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nl_be=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),d={name:"nl-be",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),weekStart:1,weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"}};return n.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/nl.js b/assets/js/dayjs/locale/nl.js new file mode 100644 index 0000000..47e789f --- /dev/null +++ b/assets/js/dayjs/locale/nl.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nl=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=a(e),n={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return d.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/nn.js b/assets/js/dayjs/locale/nn.js new file mode 100644 index 0000000..eba3c24 --- /dev/null +++ b/assets/js/dayjs/locale/nn.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nn=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),a={name:"nn",weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eitt minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månadar",y:"eitt år",yy:"%d år"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/oc-lnc.js b/assets/js/dayjs/locale/oc-lnc.js new file mode 100644 index 0000000..12e162c --- /dev/null +++ b/assets/js/dayjs/locale/oc-lnc.js @@ -0,0 +1 @@ +!function(e,d){"object"==typeof exports&&"undefined"!=typeof module?module.exports=d(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],d):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_oc_lnc=d(e.dayjs)}(this,(function(e){"use strict";function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=d(e),s={name:"oc-lnc",weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"Dg_Dl_Dm_Dc_Dj_Dv_Ds".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),months:"genièr_febrièr_març_abrial_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),monthsShort:"gen_feb_març_abr_mai_junh_julh_ago_set_oct_nov_dec".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},ordinal:function(e){return e+"º"}};return n.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/pa-in.js b/assets/js/dayjs/locale/pa-in.js new file mode 100644 index 0000000..4ee3884 --- /dev/null +++ b/assets/js/dayjs/locale/pa-in.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_pa_in=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"pa-in",weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/pl.js b/assets/js/dayjs/locale/pl.js new file mode 100644 index 0000000..3f5148c --- /dev/null +++ b/assets/js/dayjs/locale/pl.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_pl=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=t(e);function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function n(e,t,i){var n=e+" ";switch(i){case"m":return t?"minuta":"minutę";case"mm":return n+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(a(e)?"godziny":"godzin");case"MM":return n+(a(e)?"miesiące":"miesięcy");case"yy":return n+(a(e)?"lata":"lat")}}var r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),_="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),s=/D MMMM/,d=function(e,t){return s.test(t)?r[e.month()]:_[e.month()]};d.s=_,d.f=r;var o={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:d,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return i.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/pt-br.js b/assets/js/dayjs/locale/pt-br.js new file mode 100644 index 0000000..629c2f1 --- /dev/null +++ b/assets/js/dayjs/locale/pt-br.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_pt_br=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(e),s={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return a.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/pt.js b/assets/js/dayjs/locale/pt.js new file mode 100644 index 0000000..91652e8 --- /dev/null +++ b/assets/js/dayjs/locale/pt.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_pt=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=a(e),t={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return o.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/rn.js b/assets/js/dayjs/locale/rn.js new file mode 100644 index 0000000..a093364 --- /dev/null +++ b/assets/js/dayjs/locale/rn.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_rn=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=e(a),u={name:"rn",weekdays:"Ku wa Mungu_Ku wa Mbere_Ku wa Kabiri_Ku wa Gatatu_Ku wa Kane_Ku wa Gatanu_Ku wa Gatandatu".split("_"),weekdaysShort:"Kngu_Kmbr_Kbri_Ktat_Kkan_Ktan_Kdat".split("_"),weekdaysMin:"K7_K1_K2_K3_K4_K5_K6".split("_"),months:"Nzero_Ruhuhuma_Ntwarante_Ndamukiza_Rusama_Ruhenshi_Mukakaro_Myandagaro_Nyakanga_Gitugutu_Munyonyo_Kigarama".split("_"),monthsShort:"Nzer_Ruhuh_Ntwar_Ndam_Rus_Ruhen_Muk_Myand_Nyak_Git_Muny_Kig".split("_"),weekStart:1,ordinal:function(a){return a},relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(u,null,!0),u})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ro.js b/assets/js/dayjs/locale/ro.js new file mode 100644 index 0000000..445af3d --- /dev/null +++ b/assets/js/dayjs/locale/ro.js @@ -0,0 +1 @@ +!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],i):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ro=i(e.dayjs)}(this,(function(e){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=i(e),_={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"peste %s",past:"acum %s",s:"câteva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(e){return e}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ru.js b/assets/js/dayjs/locale/ru.js new file mode 100644 index 0000000..f896790 --- /dev/null +++ b/assets/js/dayjs/locale/ru.js @@ -0,0 +1 @@ +!function(_,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ru=t(_.dayjs)}(this,(function(_){"use strict";function t(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var e=t(_),n="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),s="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),r="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),o="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),i=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(_,t,e){var n,s;return"m"===e?t?"минута":"минуту":_+" "+(n=+_,s={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[e].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}var u=function(_,t){return i.test(t)?n[_.month()]:s[_.month()]};u.s=s,u.f=n;var a=function(_,t){return i.test(t)?r[_.month()]:o[_.month()]};a.s=o,a.f=r;var m={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:u,monthsShort:a,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:d,mm:d,h:"час",hh:d,d:"день",dd:d,M:"месяц",MM:d,y:"год",yy:d},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};return e.default.locale(m,null,!0),m})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/rw.js b/assets/js/dayjs/locale/rw.js new file mode 100644 index 0000000..bf4c280 --- /dev/null +++ b/assets/js/dayjs/locale/rw.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_rw=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var u=e(a),t={name:"rw",weekdays:"Ku Cyumweru_Kuwa Mbere_Kuwa Kabiri_Kuwa Gatatu_Kuwa Kane_Kuwa Gatanu_Kuwa Gatandatu".split("_"),months:"Mutarama_Gashyantare_Werurwe_Mata_Gicurasi_Kamena_Nyakanga_Kanama_Nzeri_Ukwakira_Ugushyingo_Ukuboza".split("_"),relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(a){return a}};return u.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/sd.js b/assets/js/dayjs/locale/sd.js new file mode 100644 index 0000000..b1e1ee4 --- /dev/null +++ b/assets/js/dayjs/locale/sd.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_sd=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"sd",weekdays:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),months:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekStart:1,weekdaysShort:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),monthsShort:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekdaysMin:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/se.js b/assets/js/dayjs/locale/se.js new file mode 100644 index 0000000..2cbb224 --- /dev/null +++ b/assets/js/dayjs/locale/se.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_se=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),t={name:"se",weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),weekStart:1,weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/si.js b/assets/js/dayjs/locale/si.js new file mode 100644 index 0000000..216ae8a --- /dev/null +++ b/assets/js/dayjs/locale/si.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_si=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"si",weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),months:"දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),monthsShort:"දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),ordinal:function(_){return _},formats:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"විනාඩිය",mm:"විනාඩි %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/sk.js b/assets/js/dayjs/locale/sk.js new file mode 100644 index 0000000..b2707e3 --- /dev/null +++ b/assets/js/dayjs/locale/sk.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sk=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,o){var a=e+" ";switch(n){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?a+(r(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?a+(r(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?a+(r(e)?"dni":"dní"):a+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?a+(r(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?a+(r(e)?"roky":"rokov"):a+"rokmi"}}var a={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/sl.js b/assets/js/dayjs/locale/sl.js new file mode 100644 index 0000000..162d2ec --- /dev/null +++ b/assets/js/dayjs/locale/sl.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sl=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e);function r(e){return e%100==2}function a(e){return e%100==3||e%100==4}function s(e,n,t,s){var m=e+" ";switch(t){case"s":return n||s?"nekaj sekund":"nekaj sekundami";case"m":return n?"ena minuta":"eno minuto";case"mm":return r(e)?m+(n||s?"minuti":"minutama"):a(e)?m+(n||s?"minute":"minutami"):m+(n||s?"minut":"minutami");case"h":return n?"ena ura":"eno uro";case"hh":return r(e)?m+(n||s?"uri":"urama"):a(e)?m+(n||s?"ure":"urami"):m+(n||s?"ur":"urami");case"d":return n||s?"en dan":"enim dnem";case"dd":return r(e)?m+(n||s?"dneva":"dnevoma"):m+(n||s?"dni":"dnevi");case"M":return n||s?"en mesec":"enim mesecem";case"MM":return r(e)?m+(n||s?"meseca":"mesecema"):a(e)?m+(n||s?"mesece":"meseci"):m+(n||s?"mesecev":"meseci");case"y":return n||s?"eno leto":"enim letom";case"yy":return r(e)?m+(n||s?"leti":"letoma"):a(e)?m+(n||s?"leta":"leti"):m+(n||s?"let":"leti")}}var m={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"čez %s",past:"pred %s",s:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s}};return t.default.locale(m,null,!0),m})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/sq.js b/assets/js/dayjs/locale/sq.js new file mode 100644 index 0000000..99bca9a --- /dev/null +++ b/assets/js/dayjs/locale/sq.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sq=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),n={name:"sq",weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),weekStart:1,weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"}};return _.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/sr-cyrl.js b/assets/js/dayjs/locale/sr-cyrl.js new file mode 100644 index 0000000..90daeeb --- /dev/null +++ b/assets/js/dayjs/locale/sr-cyrl.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sr_cyrl=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e),a={words:{m:["један минут","једног минута"],mm:["%d минут","%d минута","%d минута"],h:["један сат","једног сата"],hh:["%d сат","%d сата","%d сати"],d:["један дан","једног дана"],dd:["%d дан","%d дана","%d дана"],M:["један месец","једног месеца"],MM:["%d месец","%d месеца","%d месеци"],y:["једну годину","једне године"],yy:["%d годину","%d године","%d година"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,r,d){var i=a.words[r];if(1===r.length)return"y"===r&&t?"једна година":d||t?i[0]:i[1];var m=a.correctGrammarCase(e,i);return"yy"===r&&t&&"%d годину"===m?e+" година":m.replace("%d",e)}},d={name:"sr-cyrl",weekdays:"Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота".split("_"),weekdaysShort:"Нед._Пон._Уто._Сре._Чет._Пет._Суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),months:"Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар".split("_"),monthsShort:"Јан._Феб._Мар._Апр._Мај_Јун_Јул_Авг._Сеп._Окт._Нов._Дец.".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return r.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/sr.js b/assets/js/dayjs/locale/sr.js new file mode 100644 index 0000000..35a5b55 --- /dev/null +++ b/assets/js/dayjs/locale/sr.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sr=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),r={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,a,d){var n=r.words[a];if(1===a.length)return"y"===a&&t?"jedna godina":d||t?n[0]:n[1];var i=r.correctGrammarCase(e,n);return"yy"===a&&t&&"%d godinu"===i?e+" godina":i.replace("%d",e)}},d={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:r.relativeTimeFormatter,mm:r.relativeTimeFormatter,h:r.relativeTimeFormatter,hh:r.relativeTimeFormatter,d:r.relativeTimeFormatter,dd:r.relativeTimeFormatter,M:r.relativeTimeFormatter,MM:r.relativeTimeFormatter,y:r.relativeTimeFormatter,yy:r.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return a.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ss.js b/assets/js/dayjs/locale/ss.js new file mode 100644 index 0000000..4df16a5 --- /dev/null +++ b/assets/js/dayjs/locale/ss.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ss=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(e),i={name:"ss",weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),weekStart:1,weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"}};return a.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/sv-fi.js b/assets/js/dayjs/locale/sv-fi.js new file mode 100644 index 0000000..5b2f8af --- /dev/null +++ b/assets/js/dayjs/locale/sv-fi.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sv_fi=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),d={name:"sv-fi",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY, [kl.] HH.mm",LLLL:"dddd, D. MMMM YYYY, [kl.] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [kl.] HH.mm",llll:"ddd, D. MMM YYYY, [kl.] HH.mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return a.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/sv.js b/assets/js/dayjs/locale/sv.js new file mode 100644 index 0000000..16e6d37 --- /dev/null +++ b/assets/js/dayjs/locale/sv.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sv=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),d={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return a.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/sw.js b/assets/js/dayjs/locale/sw.js new file mode 100644 index 0000000..a13bd44 --- /dev/null +++ b/assets/js/dayjs/locale/sw.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_sw=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var i=e(a),t={name:"sw",weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekStart:1,ordinal:function(a){return a},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ta.js b/assets/js/dayjs/locale/ta.js new file mode 100644 index 0000000..406cf13 --- /dev/null +++ b/assets/js/dayjs/locale/ta.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ta=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ta",weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/te.js b/assets/js/dayjs/locale/te.js new file mode 100644 index 0000000..c7593db --- /dev/null +++ b/assets/js/dayjs/locale/te.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_te=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"te",weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/tet.js b/assets/js/dayjs/locale/tet.js new file mode 100644 index 0000000..aec6f68 --- /dev/null +++ b/assets/js/dayjs/locale/tet.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tet=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=t(e),a={name:"tet",weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),weekStart:1,weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"}};return u.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/tg.js b/assets/js/dayjs/locale/tg.js new file mode 100644 index 0000000..7643103 --- /dev/null +++ b/assets/js/dayjs/locale/tg.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_tg=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"tg",weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/th.js b/assets/js/dayjs/locale/th.js new file mode 100644 index 0000000..185d4eb --- /dev/null +++ b/assets/js/dayjs/locale/th.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_th=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"th",weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"},ordinal:function(_){return _+"."}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/tk.js b/assets/js/dayjs/locale/tk.js new file mode 100644 index 0000000..1e737b5 --- /dev/null +++ b/assets/js/dayjs/locale/tk.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tk=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),_={name:"tk",weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e){return e+"."}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/tl-ph.js b/assets/js/dayjs/locale/tl-ph.js new file mode 100644 index 0000000..885f8a9 --- /dev/null +++ b/assets/js/dayjs/locale/tl-ph.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tl_ph=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),t={name:"tl-ph",weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),weekStart:1,weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/tlh.js b/assets/js/dayjs/locale/tlh.js new file mode 100644 index 0000000..03d8996 --- /dev/null +++ b/assets/js/dayjs/locale/tlh.js @@ -0,0 +1 @@ +!function(a,j){"object"==typeof exports&&"undefined"!=typeof module?module.exports=j(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],j):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_tlh=j(a.dayjs)}(this,(function(a){"use strict";function j(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=j(a),e={name:"tlh",weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),weekStart:1,weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(e,null,!0),e})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/tr.js b/assets/js/dayjs/locale/tr.js new file mode 100644 index 0000000..9c7844a --- /dev/null +++ b/assets/js/dayjs/locale/tr.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_tr=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=e(a),_={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/types.d.ts b/assets/js/dayjs/locale/types.d.ts new file mode 100644 index 0000000..2c24a64 --- /dev/null +++ b/assets/js/dayjs/locale/types.d.ts @@ -0,0 +1,33 @@ +declare interface ILocale { + name: string + weekdays?: string[] + months?: string[] + weekStart?: number + weekdaysShort?: string[] + monthsShort?: string[] + weekdaysMin?: string[] + ordinal?: (n: number) => number | string + formats: Partial<{ + LT: string + LTS: string + L: string + LL: string + LLL: string + LLLL: string + }> + relativeTime: Partial<{ + future: string + past: string + s: string + m: string + mm: string + h: string + hh: string + d: string + dd: string + M: string + MM: string + y: string + yy: string + }> +} diff --git a/assets/js/dayjs/locale/tzl.js b/assets/js/dayjs/locale/tzl.js new file mode 100644 index 0000000..2b1d598 --- /dev/null +++ b/assets/js/dayjs/locale/tzl.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tzl=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),a={name:"tzl",weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),weekStart:1,weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"}};return t.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/tzm-latn.js b/assets/js/dayjs/locale/tzm-latn.js new file mode 100644 index 0000000..3f7cdd4 --- /dev/null +++ b/assets/js/dayjs/locale/tzm-latn.js @@ -0,0 +1 @@ +!function(a,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_tzm_latn=s(a.dayjs)}(this,(function(a){"use strict";function s(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var n=s(a),i={name:"tzm-latn",weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekStart:6,weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"}};return n.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/tzm.js b/assets/js/dayjs/locale/tzm.js new file mode 100644 index 0000000..e4c4031 --- /dev/null +++ b/assets/js/dayjs/locale/tzm.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_tzm=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"tzm",weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekStart:6,weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ug-cn.js b/assets/js/dayjs/locale/ug-cn.js new file mode 100644 index 0000000..995c3b3 --- /dev/null +++ b/assets/js/dayjs/locale/ug-cn.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ug_cn=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ug-cn",weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekStart:1,weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/uk.js b/assets/js/dayjs/locale/uk.js new file mode 100644 index 0000000..537afb1 --- /dev/null +++ b/assets/js/dayjs/locale/uk.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_uk=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),s="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),n="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),o=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(_,e,t){var s,n;return"m"===t?e?"хвилина":"хвилину":"h"===t?e?"година":"годину":_+" "+(s=+_,n={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[t].split("_"),s%10==1&&s%100!=11?n[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?n[1]:n[2])}var i=function(_,e){return o.test(e)?s[_.month()]:n[_.month()]};i.s=n,i.f=s;var r={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:i,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:d,mm:d,h:d,hh:d,d:"день",dd:d,M:"місяць",MM:d,y:"рік",yy:d},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/ur.js b/assets/js/dayjs/locale/ur.js new file mode 100644 index 0000000..4f83c8b --- /dev/null +++ b/assets/js/dayjs/locale/ur.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ur=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ur",weekdays:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),months:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekStart:1,weekdaysShort:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),monthsShort:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekdaysMin:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/uz-latn.js b/assets/js/dayjs/locale/uz-latn.js new file mode 100644 index 0000000..a8ebab4 --- /dev/null +++ b/assets/js/dayjs/locale/uz-latn.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_uz_latn=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var _=e(a),n={name:"uz-latn",weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),weekStart:1,weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Yaqin %s ichida",past:"%s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"}};return _.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/uz.js b/assets/js/dayjs/locale/uz.js new file mode 100644 index 0000000..f6992b1 --- /dev/null +++ b/assets/js/dayjs/locale/uz.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_uz=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"uz",weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Якин %s ичида",past:"%s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/vi.js b/assets/js/dayjs/locale/vi.js new file mode 100644 index 0000000..ee33954 --- /dev/null +++ b/assets/js/dayjs/locale/vi.js @@ -0,0 +1 @@ +!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_vi=n(t.dayjs)}(this,(function(t){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var h=n(t),_={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}};return h.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/x-pseudo.js b/assets/js/dayjs/locale/x-pseudo.js new file mode 100644 index 0000000..c1215d6 --- /dev/null +++ b/assets/js/dayjs/locale/x-pseudo.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_x_pseudo=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),d={name:"x-pseudo",weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),weekStart:1,weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"}};return _.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/yo.js b/assets/js/dayjs/locale/yo.js new file mode 100644 index 0000000..b12b37b --- /dev/null +++ b/assets/js/dayjs/locale/yo.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_yo=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),a={name:"yo",weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),weekStart:1,weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"}};return t.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/zh-cn.js b/assets/js/dayjs/locale/zh-cn.js new file mode 100644 index 0000000..21cf228 --- /dev/null +++ b/assets/js/dayjs/locale/zh-cn.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_zh_cn=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,_){return"W"===_?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,_){var t=100*e+_;return t<600?"凌晨":t<900?"早上":t<1100?"上午":t<1300?"中午":t<1800?"下午":"晚上"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/zh-hk.js b/assets/js/dayjs/locale/zh-hk.js new file mode 100644 index 0000000..dd389f9 --- /dev/null +++ b/assets/js/dayjs/locale/zh-hk.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_zh_hk=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var d=e(_),t={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,e){return"W"===e?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"},meridiem:function(_,e){var d=100*_+e;return d<600?"凌晨":d<900?"早上":d<1100?"上午":d<1300?"中午":d<1800?"下午":"晚上"}};return d.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/zh-tw.js b/assets/js/dayjs/locale/zh-tw.js new file mode 100644 index 0000000..5970f17 --- /dev/null +++ b/assets/js/dayjs/locale/zh-tw.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_zh_tw=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,e){return"W"===e?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(_,e){var t=100*_+e;return t<600?"凌晨":t<900?"早上":t<1100?"上午":t<1300?"中午":t<1800?"下午":"晚上"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/locale/zh.js b/assets/js/dayjs/locale/zh.js new file mode 100644 index 0000000..2e80015 --- /dev/null +++ b/assets/js/dayjs/locale/zh.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_zh=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"zh",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,_){return"W"===_?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s后",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,_){var t=100*e+_;return t<600?"凌晨":t<900?"早上":t<1100?"上午":t<1300?"中午":t<1800?"下午":"晚上"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/advancedFormat.d.ts b/assets/js/dayjs/plugin/advancedFormat.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/assets/js/dayjs/plugin/advancedFormat.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/assets/js/dayjs/plugin/advancedFormat.js b/assets/js/dayjs/plugin/advancedFormat.js new file mode 100644 index 0000000..88d62e7 --- /dev/null +++ b/assets/js/dayjs/plugin/advancedFormat.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_advancedFormat=t()}(this,(function(){"use strict";return function(e,t){var r=t.prototype,n=r.format;r.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return n.bind(this)(e);var s=this.$utils(),a=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return r.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return r.ordinal(t.week(),"W");case"w":case"ww":return s.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return s.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return s.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return n.bind(this)(a)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/arraySupport.d.ts b/assets/js/dayjs/plugin/arraySupport.d.ts new file mode 100755 index 0000000..e4e44b2 --- /dev/null +++ b/assets/js/dayjs/plugin/arraySupport.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare module 'dayjs' { + interface ConfigTypeMap { + arraySupport: [number?, number?, number?, number?, number?, number?, number?] + } +} + +declare const plugin: PluginFunc +export = plugin diff --git a/assets/js/dayjs/plugin/arraySupport.js b/assets/js/dayjs/plugin/arraySupport.js new file mode 100644 index 0000000..b16675f --- /dev/null +++ b/assets/js/dayjs/plugin/arraySupport.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_arraySupport=t()}(this,(function(){"use strict";return function(e,t,n){var o=t.prototype,i=function(e){var t=e.date,o=e.utc;return Array.isArray(t)?o?t.length?new Date(Date.UTC.apply(null,t)):new Date:1===t.length?n(String(t[0])).toDate():new(Function.prototype.bind.apply(Date,[null].concat(t))):t},a=o.parse;o.parse=function(e){e.date=i.bind(this)(e),a.bind(this)(e)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/badMutable.d.ts b/assets/js/dayjs/plugin/badMutable.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/assets/js/dayjs/plugin/badMutable.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/assets/js/dayjs/plugin/badMutable.js b/assets/js/dayjs/plugin/badMutable.js new file mode 100644 index 0000000..68270cc --- /dev/null +++ b/assets/js/dayjs/plugin/badMutable.js @@ -0,0 +1 @@ +!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_badMutable=i()}(this,(function(){"use strict";return function(t,i){var n=i.prototype;n.$g=function(t,i,n){return this.$utils().u(t)?this[i]:this.$set(n,t)},n.set=function(t,i){return this.$set(t,i)};var e=n.startOf;n.startOf=function(t,i){return this.$d=e.bind(this)(t,i).toDate(),this.init(),this};var s=n.add;n.add=function(t,i){return this.$d=s.bind(this)(t,i).toDate(),this.init(),this};var o=n.locale;n.locale=function(t,i){return t?(this.$L=o.bind(this)(t,i).$L,this):this.$L};var r=n.daysInMonth;n.daysInMonth=function(){return r.bind(this.clone())()};var u=n.isSame;n.isSame=function(t,i){return u.bind(this.clone())(t,i)};var f=n.isBefore;n.isBefore=function(t,i){return f.bind(this.clone())(t,i)};var d=n.isAfter;n.isAfter=function(t,i){return d.bind(this.clone())(t,i)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/bigIntSupport.d.ts b/assets/js/dayjs/plugin/bigIntSupport.d.ts new file mode 100644 index 0000000..d9f2f39 --- /dev/null +++ b/assets/js/dayjs/plugin/bigIntSupport.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs' + +declare module 'dayjs' { + interface ConfigTypeMap { + bigIntSupport: BigInt + } + export function unix(t: BigInt): Dayjs +} + +declare const plugin: PluginFunc +export = plugin diff --git a/assets/js/dayjs/plugin/bigIntSupport.js b/assets/js/dayjs/plugin/bigIntSupport.js new file mode 100644 index 0000000..0c7efac --- /dev/null +++ b/assets/js/dayjs/plugin/bigIntSupport.js @@ -0,0 +1 @@ +!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs_plugin_bigIntSupport=e()}(this,(function(){"use strict";var n=function(n){return"bigint"==typeof n};return function(e,t,i){var o=t.prototype,u=function(e){var t=e.date;return n(t)?Number(t):t},r=o.parse;o.parse=function(n){n.date=u.bind(this)(n),r.bind(this)(n)};var f=i.unix;i.unix=function(e){var t=n(e)?Number(e):e;return f(t)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/buddhistEra.d.ts b/assets/js/dayjs/plugin/buddhistEra.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/assets/js/dayjs/plugin/buddhistEra.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/assets/js/dayjs/plugin/buddhistEra.js b/assets/js/dayjs/plugin/buddhistEra.js new file mode 100644 index 0000000..58b137c --- /dev/null +++ b/assets/js/dayjs/plugin/buddhistEra.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_buddhistEra=e()}(this,(function(){"use strict";return function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/(\[[^\]]+])|BBBB|BB/g,(function(t,n){var i,o=String(e.$y+543),f="BB"===t?[o.slice(-2),2]:[o,4];return n||(i=e.$utils()).s.apply(i,f.concat(["0"]))}));return i.bind(this)(n)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/calendar.d.ts b/assets/js/dayjs/plugin/calendar.d.ts new file mode 100644 index 0000000..a8d064f --- /dev/null +++ b/assets/js/dayjs/plugin/calendar.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + calendar(referenceTime?: ConfigType, formats?: object): string + } +} diff --git a/assets/js/dayjs/plugin/calendar.js b/assets/js/dayjs/plugin/calendar.js new file mode 100644 index 0000000..c577098 --- /dev/null +++ b/assets/js/dayjs/plugin/calendar.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_calendar=t()}(this,(function(){"use strict";return function(e,t,a){var n="h:mm A",d={lastDay:"[Yesterday at] "+n,sameDay:"[Today at] "+n,nextDay:"[Tomorrow at] "+n,nextWeek:"dddd [at] "+n,lastWeek:"[Last] dddd [at] "+n,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var n=t||this.$locale().calendar||d,o=a(e||void 0).startOf("d"),s=this.diff(o,"d",!0),i="sameElse",f=s<-6?i:s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":i,l=n[f]||d[f];return"function"==typeof l?l.call(this,a()):this.format(l)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/customParseFormat.d.ts b/assets/js/dayjs/plugin/customParseFormat.d.ts new file mode 100644 index 0000000..1b41c0d --- /dev/null +++ b/assets/js/dayjs/plugin/customParseFormat.d.ts @@ -0,0 +1,8 @@ +import { PluginFunc } from 'dayjs' + +declare interface PluginOptions { + parseTwoDigitYear?: (yearString: string) => number +} + +declare const plugin: PluginFunc +export = plugin diff --git a/assets/js/dayjs/plugin/customParseFormat.js b/assets/js/dayjs/plugin/customParseFormat.js new file mode 100644 index 0000000..10a806e --- /dev/null +++ b/assets/js/dayjs/plugin/customParseFormat.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_customParseFormat=t()}(this,(function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,s={},a=function(e){return(e=+e)+(e>68?1900:2e3)};var f=function(e){return function(t){this[e]=+t}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],u=function(e){var t=s[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=s.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},c={A:[o,function(e){this.afternoon=d(e,!1)}],a:[o,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,f("seconds")],ss:[i,f("seconds")],m:[i,f("minutes")],mm:[i,f("minutes")],H:[i,f("hours")],h:[i,f("hours")],HH:[i,f("hours")],hh:[i,f("hours")],D:[i,f("day")],DD:[r,f("day")],Do:[o,function(e){var t=s.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[i,f("week")],ww:[r,f("week")],M:[i,f("month")],MM:[r,f("month")],MMM:[o,function(e){var t=u("months"),n=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[o,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,f("year")],YY:[r,function(e){this.year=a(e)}],YYYY:[/\d{4}/,f("year")],Z:h,ZZ:h};function l(n){var r,i;r=n,i=s&&s.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),a=o.length,f=0;f-1)return new Date(("X"===t?1e3:1)*e);var i=l(t)(e),o=i.year,s=i.month,a=i.day,f=i.hours,h=i.minutes,u=i.seconds,d=i.milliseconds,c=i.zone,m=i.week,M=new Date,Y=a||(o||s?1:M.getDate()),p=o||M.getFullYear(),v=0;o&&!s||(v=s>0?s-1:M.getMonth());var D,w=f||0,g=h||0,y=u||0,L=d||0;return c?new Date(Date.UTC(p,v,Y,w,g,y,L+60*c.offset*1e3)):n?new Date(Date.UTC(p,v,Y,w,g,y,L)):(D=new Date(p,v,Y,w,g,y,L),m&&(D=r(D).week(m).toDate()),D)}catch(e){return new Date("")}}(t,a,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(a)&&(this.$d=new Date("")),s={}}else if(a instanceof Array)for(var c=a.length,m=1;m<=c;m+=1){o[1]=a[m-1];var M=n.apply(this,o);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===c&&(this.$d=new Date(""))}else i.call(this,e)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/dayOfYear.d.ts b/assets/js/dayjs/plugin/dayOfYear.d.ts new file mode 100644 index 0000000..4fd6601 --- /dev/null +++ b/assets/js/dayjs/plugin/dayOfYear.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + dayOfYear(): number + dayOfYear(value: number): Dayjs + } +} diff --git a/assets/js/dayjs/plugin/dayOfYear.js b/assets/js/dayjs/plugin/dayOfYear.js new file mode 100644 index 0000000..4a57000 --- /dev/null +++ b/assets/js/dayjs/plugin/dayOfYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_dayOfYear=t()}(this,(function(){"use strict";return function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/devHelper.d.ts b/assets/js/dayjs/plugin/devHelper.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/assets/js/dayjs/plugin/devHelper.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/assets/js/dayjs/plugin/devHelper.js b/assets/js/dayjs/plugin/devHelper.js new file mode 100644 index 0000000..a3f6daf --- /dev/null +++ b/assets/js/dayjs/plugin/devHelper.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_devHelper=t()}(this,(function(){"use strict";return function(e,t,o){if(!process||"production"!==process.env.NODE_ENV){var s=t.prototype,n=s.parse;s.parse=function(e){var t=e.date;return"string"==typeof t&&13===t.length&&console.warn("To parse a Unix timestamp like "+t+", you should pass it as a Number. https://day.js.org/docs/en/parse/unix-timestamp-milliseconds"),"number"==typeof t&&4===String(t).length&&console.warn("Guessing you may want to parse the Year "+t+", you should pass it as a String "+t+", not a Number. Otherwise, "+t+" will be treated as a Unix timestamp"),e.args.length>=2&&!o.p.customParseFormat&&console.warn("To parse a date-time string like "+t+" using the given format, you should enable customParseFormat plugin first. https://day.js.org/docs/en/parse/string-format"),n.bind(this)(e)};var a=o.locale;o.locale=function(e,t,s){return void 0===t&&"string"==typeof e&&(o.Ls[e]||console.warn("Guessing you may want to use locale "+e+", you have to load it before using it. https://day.js.org/docs/en/i18n/loading-into-nodejs")),a(e,t,s)}}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/duration.d.ts b/assets/js/dayjs/plugin/duration.d.ts new file mode 100644 index 0000000..9675a80 --- /dev/null +++ b/assets/js/dayjs/plugin/duration.d.ts @@ -0,0 +1,88 @@ +import { PluginFunc } from 'dayjs' +import { OpUnitType, UnitTypeLongPlural } from 'dayjs'; + +declare const plugin: PluginFunc +export as namespace plugin; +export = plugin + +declare namespace plugin { + /** + * @deprecated Please use more strict types + */ + type DurationInputType = string | number | object + /** + * @deprecated Please use more strict types + */ + type DurationAddType = number | object | Duration + + type DurationUnitsObjectType = Partial<{ + [unit in Exclude | "weeks"]: number + }>; + type DurationUnitType = Exclude + type CreateDurationType = + ((units: DurationUnitsObjectType) => Duration) + & ((time: number, unit?: DurationUnitType) => Duration) + & ((ISO_8601: string) => Duration) + type AddDurationType = CreateDurationType & ((duration: Duration) => Duration) + + interface Duration { + new (input: string | number | object, unit?: string, locale?: string): Duration + + clone(): Duration + + humanize(withSuffix?: boolean): string + + milliseconds(): number + asMilliseconds(): number + + seconds(): number + asSeconds(): number + + minutes(): number + asMinutes(): number + + hours(): number + asHours(): number + + days(): number + asDays(): number + + weeks(): number + asWeeks(): number + + months(): number + asMonths(): number + + years(): number + asYears(): number + + as(unit: DurationUnitType): number + + get(unit: DurationUnitType): number + + add: AddDurationType + + subtract: AddDurationType + + toJSON(): string + + toISOString(): string + + format(formatStr?: string): string + + locale(locale: string): Duration + } +} + +declare module 'dayjs' { + interface Dayjs { + add(duration: plugin.Duration): Dayjs + subtract(duration: plugin.Duration): Dayjs + } + + /** + * @param time If unit is not present, time treated as number of milliseconds + */ + export const duration: plugin.CreateDurationType; + export function isDuration(d: any): d is plugin.Duration +} \ No newline at end of file diff --git a/assets/js/dayjs/plugin/duration.js b/assets/js/dayjs/plugin/duration.js new file mode 100644 index 0000000..4578f06 --- /dev/null +++ b/assets/js/dayjs/plugin/duration.js @@ -0,0 +1 @@ +!function(t,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof define&&define.amd?define(s):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_duration=s()}(this,(function(){"use strict";var t,s,n=1e3,i=6e4,e=36e5,r=864e5,o=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=31536e6,d=2628e6,a=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,h={years:u,months:d,days:r,hours:e,minutes:i,seconds:n,milliseconds:1,weeks:6048e5},c=function(t){return t instanceof g},f=function(t,s,n){return new g(t,n,s.$l)},m=function(t){return s.p(t)+"s"},l=function(t){return t<0},$=function(t){return l(t)?Math.ceil(t):Math.floor(t)},y=function(t){return Math.abs(t)},v=function(t,s){return t?l(t)?{negative:!0,format:""+y(t)+s}:{negative:!1,format:""+t+s}:{negative:!1,format:""}},g=function(){function l(t,s,n){var i=this;if(this.$d={},this.$l=n,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),s)return f(t*h[m(s)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach((function(s){i.$d[m(s)]=t[s]})),this.calMilliseconds(),this;if("string"==typeof t){var e=t.match(a);if(e){var r=e.slice(2).map((function(t){return null!=t?Number(t):0}));return this.$d.years=r[0],this.$d.months=r[1],this.$d.weeks=r[2],this.$d.days=r[3],this.$d.hours=r[4],this.$d.minutes=r[5],this.$d.seconds=r[6],this.calMilliseconds(),this}}return this}var y=l.prototype;return y.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce((function(s,n){return s+(t.$d[n]||0)*h[n]}),0)},y.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=$(t/u),t%=u,this.$d.months=$(t/d),t%=d,this.$d.days=$(t/r),t%=r,this.$d.hours=$(t/e),t%=e,this.$d.minutes=$(t/i),t%=i,this.$d.seconds=$(t/n),t%=n,this.$d.milliseconds=t},y.toISOString=function(){var t=v(this.$d.years,"Y"),s=v(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var i=v(n,"D"),e=v(this.$d.hours,"H"),r=v(this.$d.minutes,"M"),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var u=v(o,"S"),d=t.negative||s.negative||i.negative||e.negative||r.negative||u.negative,a=e.format||r.format||u.format?"T":"",h=(d?"-":"")+"P"+t.format+s.format+i.format+a+e.format+r.format+u.format;return"P"===h||"-P"===h?"P0D":h},y.toJSON=function(){return this.toISOString()},y.format=function(t){var n=t||"YYYY-MM-DDTHH:mm:ss",i={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return n.replace(o,(function(t,s){return s||String(i[t])}))},y.as=function(t){return this.$ms/h[m(t)]},y.get=function(t){var s=this.$ms,n=m(t);return"milliseconds"===n?s%=1e3:s="weeks"===n?$(s/h[n]):this.$d[n],s||0},y.add=function(t,s,n){var i;return i=s?t*h[m(s)]:c(t)?t.$ms:f(t,this).$ms,f(this.$ms+i*(n?-1:1),this)},y.subtract=function(t,s){return this.add(t,s,!0)},y.locale=function(t){var s=this.clone();return s.$l=t,s},y.clone=function(){return f(this.$ms,this)},y.humanize=function(s){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!s)},y.valueOf=function(){return this.asMilliseconds()},y.milliseconds=function(){return this.get("milliseconds")},y.asMilliseconds=function(){return this.as("milliseconds")},y.seconds=function(){return this.get("seconds")},y.asSeconds=function(){return this.as("seconds")},y.minutes=function(){return this.get("minutes")},y.asMinutes=function(){return this.as("minutes")},y.hours=function(){return this.get("hours")},y.asHours=function(){return this.as("hours")},y.days=function(){return this.get("days")},y.asDays=function(){return this.as("days")},y.weeks=function(){return this.get("weeks")},y.asWeeks=function(){return this.as("weeks")},y.months=function(){return this.get("months")},y.asMonths=function(){return this.as("months")},y.years=function(){return this.get("years")},y.asYears=function(){return this.as("years")},l}(),p=function(t,s,n){return t.add(s.years()*n,"y").add(s.months()*n,"M").add(s.days()*n,"d").add(s.hours()*n,"h").add(s.minutes()*n,"m").add(s.seconds()*n,"s").add(s.milliseconds()*n,"ms")};return function(n,i,e){t=e,s=e().$utils(),e.duration=function(t,s){var n=e.locale();return f(t,{$l:n},s)},e.isDuration=c;var r=i.prototype.add,o=i.prototype.subtract;i.prototype.add=function(t,s){return c(t)?p(this,t,1):r.bind(this)(t,s)},i.prototype.subtract=function(t,s){return c(t)?p(this,t,-1):o.bind(this)(t,s)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/isBetween.d.ts b/assets/js/dayjs/plugin/isBetween.d.ts new file mode 100644 index 0000000..431fff8 --- /dev/null +++ b/assets/js/dayjs/plugin/isBetween.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isBetween(a: ConfigType, b: ConfigType, c?: OpUnitType | null, d?: '()' | '[]' | '[)' | '(]'): boolean + } +} diff --git a/assets/js/dayjs/plugin/isBetween.js b/assets/js/dayjs/plugin/isBetween.js new file mode 100644 index 0000000..68046cb --- /dev/null +++ b/assets/js/dayjs/plugin/isBetween.js @@ -0,0 +1 @@ +!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isBetween=i()}(this,(function(){"use strict";return function(e,i,t){i.prototype.isBetween=function(e,i,s,f){var n=t(e),o=t(i),r="("===(f=f||"()")[0],u=")"===f[1];return(r?this.isAfter(n,s):!this.isBefore(n,s))&&(u?this.isBefore(o,s):!this.isAfter(o,s))||(r?this.isBefore(n,s):!this.isAfter(n,s))&&(u?this.isAfter(o,s):!this.isBefore(o,s))}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/isLeapYear.d.ts b/assets/js/dayjs/plugin/isLeapYear.d.ts new file mode 100644 index 0000000..5be7409 --- /dev/null +++ b/assets/js/dayjs/plugin/isLeapYear.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isLeapYear(): boolean + } +} diff --git a/assets/js/dayjs/plugin/isLeapYear.js b/assets/js/dayjs/plugin/isLeapYear.js new file mode 100644 index 0000000..030bd46 --- /dev/null +++ b/assets/js/dayjs/plugin/isLeapYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isLeapYear=t()}(this,(function(){"use strict";return function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/isMoment.d.ts b/assets/js/dayjs/plugin/isMoment.d.ts new file mode 100644 index 0000000..dac24f6 --- /dev/null +++ b/assets/js/dayjs/plugin/isMoment.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + + export function isMoment(input: any): boolean + +} diff --git a/assets/js/dayjs/plugin/isMoment.js b/assets/js/dayjs/plugin/isMoment.js new file mode 100644 index 0000000..be26412 --- /dev/null +++ b/assets/js/dayjs/plugin/isMoment.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isMoment=n()}(this,(function(){"use strict";return function(e,n,t){t.isMoment=function(e){return t.isDayjs(e)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/isSameOrAfter.d.ts b/assets/js/dayjs/plugin/isSameOrAfter.d.ts new file mode 100644 index 0000000..916bc80 --- /dev/null +++ b/assets/js/dayjs/plugin/isSameOrAfter.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isSameOrAfter(date?: ConfigType, unit?: OpUnitType): boolean + } +} diff --git a/assets/js/dayjs/plugin/isSameOrAfter.js b/assets/js/dayjs/plugin/isSameOrAfter.js new file mode 100644 index 0000000..76f8a33 --- /dev/null +++ b/assets/js/dayjs/plugin/isSameOrAfter.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrAfter=t()}(this,(function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/isSameOrBefore.d.ts b/assets/js/dayjs/plugin/isSameOrBefore.d.ts new file mode 100644 index 0000000..d52b095 --- /dev/null +++ b/assets/js/dayjs/plugin/isSameOrBefore.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isSameOrBefore(date?: ConfigType, unit?: OpUnitType): boolean + } +} diff --git a/assets/js/dayjs/plugin/isSameOrBefore.js b/assets/js/dayjs/plugin/isSameOrBefore.js new file mode 100644 index 0000000..57a767e --- /dev/null +++ b/assets/js/dayjs/plugin/isSameOrBefore.js @@ -0,0 +1 @@ +!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrBefore=i()}(this,(function(){"use strict";return function(e,i){i.prototype.isSameOrBefore=function(e,i){return this.isSame(e,i)||this.isBefore(e,i)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/isToday.d.ts b/assets/js/dayjs/plugin/isToday.d.ts new file mode 100644 index 0000000..04ac581 --- /dev/null +++ b/assets/js/dayjs/plugin/isToday.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isToday(): boolean + } +} diff --git a/assets/js/dayjs/plugin/isToday.js b/assets/js/dayjs/plugin/isToday.js new file mode 100644 index 0000000..ee9f9cd --- /dev/null +++ b/assets/js/dayjs/plugin/isToday.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isToday=o()}(this,(function(){"use strict";return function(e,o,t){o.prototype.isToday=function(){var e="YYYY-MM-DD",o=t();return this.format(e)===o.format(e)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/isTomorrow.d.ts b/assets/js/dayjs/plugin/isTomorrow.d.ts new file mode 100644 index 0000000..08110b6 --- /dev/null +++ b/assets/js/dayjs/plugin/isTomorrow.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isTomorrow(): boolean + } +} diff --git a/assets/js/dayjs/plugin/isTomorrow.js b/assets/js/dayjs/plugin/isTomorrow.js new file mode 100644 index 0000000..ca85044 --- /dev/null +++ b/assets/js/dayjs/plugin/isTomorrow.js @@ -0,0 +1 @@ +!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(o="undefined"!=typeof globalThis?globalThis:o||self).dayjs_plugin_isTomorrow=e()}(this,(function(){"use strict";return function(o,e,t){e.prototype.isTomorrow=function(){var o="YYYY-MM-DD",e=t().add(1,"day");return this.format(o)===e.format(o)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/isYesterday.d.ts b/assets/js/dayjs/plugin/isYesterday.d.ts new file mode 100644 index 0000000..2d8ae9e --- /dev/null +++ b/assets/js/dayjs/plugin/isYesterday.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isYesterday(): boolean + } +} diff --git a/assets/js/dayjs/plugin/isYesterday.js b/assets/js/dayjs/plugin/isYesterday.js new file mode 100644 index 0000000..b63b68a --- /dev/null +++ b/assets/js/dayjs/plugin/isYesterday.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isYesterday=t()}(this,(function(){"use strict";return function(e,t,n){t.prototype.isYesterday=function(){var e="YYYY-MM-DD",t=n().subtract(1,"day");return this.format(e)===t.format(e)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/isoWeek.d.ts b/assets/js/dayjs/plugin/isoWeek.d.ts new file mode 100644 index 0000000..3f4d88f --- /dev/null +++ b/assets/js/dayjs/plugin/isoWeek.d.ts @@ -0,0 +1,27 @@ +import { PluginFunc, OpUnitType, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +type ISOUnitType = OpUnitType | 'isoWeek'; + +declare module 'dayjs' { + interface Dayjs { + isoWeekYear(): number + isoWeek(): number + isoWeek(value: number): Dayjs + + isoWeekday(): number + isoWeekday(value: number): Dayjs + + startOf(unit: ISOUnitType): Dayjs + + endOf(unit: ISOUnitType): Dayjs + + isSame(date?: ConfigType, unit?: ISOUnitType): boolean + + isBefore(date?: ConfigType, unit?: ISOUnitType): boolean + + isAfter(date?: ConfigType, unit?: ISOUnitType): boolean + } +} diff --git a/assets/js/dayjs/plugin/isoWeek.js b/assets/js/dayjs/plugin/isoWeek.js new file mode 100644 index 0000000..202ade7 --- /dev/null +++ b/assets/js/dayjs/plugin/isoWeek.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isoWeek=t()}(this,(function(){"use strict";var e="day";return function(t,i,s){var a=function(t){return t.add(4-t.isoWeekday(),e)},d=i.prototype;d.isoWeekYear=function(){return a(this).year()},d.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),e);var i,d,n,o,r=a(this),u=(i=this.isoWeekYear(),d=this.$u,n=(d?s.utc:s)().year(i).startOf("year"),o=4-n.isoWeekday(),n.isoWeekday()>4&&(o+=7),n.add(o,e));return r.diff(u,"week")+1},d.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var n=d.startOf;d.startOf=function(e,t){var i=this.$utils(),s=!!i.u(t)||t;return"isoweek"===i.p(e)?s?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):n.bind(this)(e,t)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/isoWeeksInYear.d.ts b/assets/js/dayjs/plugin/isoWeeksInYear.d.ts new file mode 100644 index 0000000..2bc02cd --- /dev/null +++ b/assets/js/dayjs/plugin/isoWeeksInYear.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isoWeeksInYear(): number + } +} diff --git a/assets/js/dayjs/plugin/isoWeeksInYear.js b/assets/js/dayjs/plugin/isoWeeksInYear.js new file mode 100644 index 0000000..2bd20cd --- /dev/null +++ b/assets/js/dayjs/plugin/isoWeeksInYear.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isoWeeksInYear=n()}(this,(function(){"use strict";return function(e,n){n.prototype.isoWeeksInYear=function(){var e=this.isLeapYear(),n=this.endOf("y").day();return 4===n||e&&5===n?53:52}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/localeData.d.ts b/assets/js/dayjs/plugin/localeData.d.ts new file mode 100644 index 0000000..ae9e557 --- /dev/null +++ b/assets/js/dayjs/plugin/localeData.d.ts @@ -0,0 +1,44 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + type WeekdayNames = [string, string, string, string, string, string, string]; + type MonthNames = [string, string, string, string, string, string, string, string, string, string, string, string]; + + interface InstanceLocaleDataReturn { + firstDayOfWeek(): number; + weekdays(instance?: Dayjs): WeekdayNames; + weekdaysShort(instance?: Dayjs): WeekdayNames; + weekdaysMin(instance?: Dayjs): WeekdayNames; + months(instance?: Dayjs): MonthNames; + monthsShort(instance?: Dayjs): MonthNames; + longDateFormat(format: string): string; + meridiem(hour?: number, minute?: number, isLower?: boolean): string; + ordinal(n: number): string + } + + interface GlobalLocaleDataReturn { + firstDayOfWeek(): number; + weekdays(): WeekdayNames; + weekdaysShort(): WeekdayNames; + weekdaysMin(): WeekdayNames; + months(): MonthNames; + monthsShort(): MonthNames; + longDateFormat(format: string): string; + meridiem(hour?: number, minute?: number, isLower?: boolean): string; + ordinal(n: number): string + } + + interface Dayjs { + localeData(): InstanceLocaleDataReturn; + } + + export function weekdays(localOrder?: boolean): WeekdayNames; + export function weekdaysShort(localOrder?: boolean): WeekdayNames; + export function weekdaysMin(localOrder?: boolean): WeekdayNames; + export function monthsShort(): MonthNames; + export function months(): MonthNames; + export function localeData(): GlobalLocaleDataReturn; +} diff --git a/assets/js/dayjs/plugin/localeData.js b/assets/js/dayjs/plugin/localeData.js new file mode 100644 index 0000000..55e01ee --- /dev/null +++ b/assets/js/dayjs/plugin/localeData.js @@ -0,0 +1 @@ +!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs_plugin_localeData=e()}(this,(function(){"use strict";return function(n,e,t){var r=e.prototype,o=function(n){return n&&(n.indexOf?n:n.s)},u=function(n,e,t,r,u){var i=n.name?n:n.$locale(),a=o(i[e]),s=o(i[t]),f=a||s.map((function(n){return n.slice(0,r)}));if(!u)return f;var d=i.weekStart;return f.map((function(n,e){return f[(e+(d||0))%7]}))},i=function(){return t.Ls[t.locale()]},a=function(n,e){return n.formats[e]||function(n){return n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,e,t){return e||t.slice(1)}))}(n.formats[e.toUpperCase()])},s=function(){var n=this;return{months:function(e){return e?e.format("MMMM"):u(n,"months")},monthsShort:function(e){return e?e.format("MMM"):u(n,"monthsShort","months",3)},firstDayOfWeek:function(){return n.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):u(n,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):u(n,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):u(n,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(n.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},t.localeData=function(){var n=i();return{firstDayOfWeek:function(){return n.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(e){return a(n,e)},meridiem:n.meridiem,ordinal:n.ordinal}},t.months=function(){return u(i(),"months")},t.monthsShort=function(){return u(i(),"monthsShort","months",3)},t.weekdays=function(n){return u(i(),"weekdays",null,null,n)},t.weekdaysShort=function(n){return u(i(),"weekdaysShort","weekdays",3,n)},t.weekdaysMin=function(n){return u(i(),"weekdaysMin","weekdays",2,n)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/localizedFormat.d.ts b/assets/js/dayjs/plugin/localizedFormat.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/assets/js/dayjs/plugin/localizedFormat.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/assets/js/dayjs/plugin/minMax.d.ts b/assets/js/dayjs/plugin/minMax.d.ts new file mode 100644 index 0000000..7d0827f --- /dev/null +++ b/assets/js/dayjs/plugin/minMax.d.ts @@ -0,0 +1,22 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + export function max(dayjs: [Dayjs, ...Dayjs[]]): Dayjs + export function max(noDates: never[]): null + export function max(maybeDates: Dayjs[]): Dayjs | null + + export function max(...dayjs: [Dayjs, ...Dayjs[]]): Dayjs + export function max(...noDates: never[]): null + export function max(...maybeDates: Dayjs[]): Dayjs | null + + export function min(dayjs: [Dayjs, ...Dayjs[]]): Dayjs + export function min(noDates: never[]): null + export function min(maybeDates: Dayjs[]): Dayjs | null + + export function min(...dayjs: [Dayjs, ...Dayjs[]]): Dayjs + export function min(...noDates: never[]): null + export function min(...maybeDates: Dayjs[]): Dayjs | null +} diff --git a/assets/js/dayjs/plugin/minMax.js b/assets/js/dayjs/plugin/minMax.js new file mode 100644 index 0000000..ce06314 --- /dev/null +++ b/assets/js/dayjs/plugin/minMax.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_minMax=n()}(this,(function(){"use strict";return function(e,n,t){var i=function(e,n){if(!n||!n.length||1===n.length&&!n[0]||1===n.length&&Array.isArray(n[0])&&!n[0].length)return null;var t;1===n.length&&n[0].length>0&&(n=n[0]);t=(n=n.filter((function(e){return e})))[0];for(var i=1;i=0?1:a.date()),s=u.year||a.year(),d=u.month>=0?u.month:u.year||u.day?0:a.month(),f=u.hour||0,b=u.minute||0,h=u.second||0,y=u.millisecond||0;return o?new Date(Date.UTC(s,d,c,f,b,h,y)):new Date(s,d,c,f,b,h,y)}return r},o=i.parse;i.parse=function(t){t.date=r.bind(this)(t),o.bind(this)(t)};var u=i.set,a=i.add,c=i.subtract,s=function(t,n,e,i){void 0===i&&(i=1);var r=Object.keys(n),o=this;return r.forEach((function(e){o=t.bind(o)(n[e]*i,e)})),o};i.set=function(t,n){return n=void 0===n?t:n,"Object"===t.constructor.name?s.bind(this)((function(t,n){return u.bind(this)(n,t)}),n,t):u.bind(this)(t,n)},i.add=function(t,n){return"Object"===t.constructor.name?s.bind(this)(a,t,n):a.bind(this)(t,n)},i.subtract=function(t,n){return"Object"===t.constructor.name?s.bind(this)(a,t,n,-1):c.bind(this)(t,n)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/pluralGetSet.d.ts b/assets/js/dayjs/plugin/pluralGetSet.d.ts new file mode 100644 index 0000000..ab2d89a --- /dev/null +++ b/assets/js/dayjs/plugin/pluralGetSet.d.ts @@ -0,0 +1,44 @@ +import { PluginFunc, UnitType, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + years(): number + + years(value: number): Dayjs + + months(): number + + months(value: number): Dayjs + + dates(): number + + dates(value: number): Dayjs + + weeks(): number + + weeks(value: number): Dayjs + + days(): number + + days(value: number): Dayjs + + hours(): number + + hours(value: number): Dayjs + + minutes(): number + + minutes(value: number): Dayjs + + seconds(): number + + seconds(value: number): Dayjs + + milliseconds(): number + + milliseconds(value: number): Dayjs + } +} diff --git a/assets/js/dayjs/plugin/pluralGetSet.js b/assets/js/dayjs/plugin/pluralGetSet.js new file mode 100644 index 0000000..d758494 --- /dev/null +++ b/assets/js/dayjs/plugin/pluralGetSet.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_pluralGetSet=o()}(this,(function(){"use strict";return function(e,o){var s=o.prototype;["milliseconds","seconds","minutes","hours","days","weeks","isoWeeks","months","quarters","years","dates"].forEach((function(e){s[e]=s[e.replace(/s$/,"")]}))}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/preParsePostFormat.d.ts b/assets/js/dayjs/plugin/preParsePostFormat.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/assets/js/dayjs/plugin/preParsePostFormat.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/assets/js/dayjs/plugin/preParsePostFormat.js b/assets/js/dayjs/plugin/preParsePostFormat.js new file mode 100644 index 0000000..5611d10 --- /dev/null +++ b/assets/js/dayjs/plugin/preParsePostFormat.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_preParsePostFormat=e()}(this,(function(){"use strict";return function(t,e){var o=e.prototype.parse;e.prototype.parse=function(t){if("string"==typeof t.date){var e=this.$locale();t.date=e&&e.preparse?e.preparse(t.date):t.date}return o.bind(this)(t)};var r=e.prototype.format;e.prototype.format=function(){for(var t=arguments.length,e=new Array(t),o=0;o number + thresholds?: RelativeTimeThreshold[] +} + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + fromNow(withoutSuffix?: boolean): string + from(compared: ConfigType, withoutSuffix?: boolean): string + toNow(withoutSuffix?: boolean): string + to(compared: ConfigType, withoutSuffix?: boolean): string + } +} diff --git a/assets/js/dayjs/plugin/timezone.d.ts b/assets/js/dayjs/plugin/timezone.d.ts new file mode 100644 index 0000000..049bb08 --- /dev/null +++ b/assets/js/dayjs/plugin/timezone.d.ts @@ -0,0 +1,20 @@ +import { PluginFunc, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + tz(timezone?: string, keepLocalTime?: boolean): Dayjs + offsetName(type?: 'short' | 'long'): string | undefined + } + + interface DayjsTimezone { + (date?: ConfigType, timezone?: string): Dayjs + (date: ConfigType, format: string, timezone?: string): Dayjs + guess(): string + setDefault(timezone?: string): void + } + + const tz: DayjsTimezone +} diff --git a/assets/js/dayjs/plugin/timezone.js b/assets/js/dayjs/plugin/timezone.js new file mode 100644 index 0000000..280a2bf --- /dev/null +++ b/assets/js/dayjs/plugin/timezone.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_timezone=e()}(this,(function(){"use strict";var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var r,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t),r=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",o=t+"|"+i,r=e[o];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[o]=r),r}(n,i);return r.formatToParts(o)},u=function(e,n){for(var i=a(e,n),r=[],u=0;u=0&&(r[c]=parseInt(m,10))}var d=r[3],l=24===d?0:d,h=r[0]+"-"+r[1]+"-"+r[2]+" "+l+":"+r[4]+":"+r[5]+":000",v=+e;return(o.utc(h).valueOf()-(v-=v%1e3))/6e4},f=i.prototype;f.tz=function(t,e){void 0===t&&(t=r);var n,i=this.utcOffset(),a=this.toDate(),u=a.toLocaleString("en-US",{timeZone:t}),f=Math.round((a-new Date(u))/1e3/60),s=15*-Math.round(a.getTimezoneOffset()/15)-f;if(!Number(s))n=this.utcOffset(0,e);else if(n=o(u,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(s,!0),e){var m=n.utcOffset();n=n.add(i-m,"minute")}return n.$x.$timezone=t,n},f.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return n&&n.value};var s=f.startOf;f.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return s.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||r,f=u(+o(),a);if("string"!=typeof t)return o(t).tz(a);var s=function(t,e,n){var i=t-60*e*1e3,o=u(i,n);if(e===o)return[i,e];var r=u(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,i).valueOf(),f,a),m=s[0],c=s[1],d=o(m).utcOffset(c);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){r=t}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/toArray.d.ts b/assets/js/dayjs/plugin/toArray.d.ts new file mode 100644 index 0000000..45f1f0c --- /dev/null +++ b/assets/js/dayjs/plugin/toArray.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + toArray(): number[] + } +} diff --git a/assets/js/dayjs/plugin/toArray.js b/assets/js/dayjs/plugin/toArray.js new file mode 100644 index 0000000..ac06750 --- /dev/null +++ b/assets/js/dayjs/plugin/toArray.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_toArray=e()}(this,(function(){"use strict";return function(t,e){e.prototype.toArray=function(){return[this.$y,this.$M,this.$D,this.$H,this.$m,this.$s,this.$ms]}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/toObject.d.ts b/assets/js/dayjs/plugin/toObject.d.ts new file mode 100644 index 0000000..ca12aaf --- /dev/null +++ b/assets/js/dayjs/plugin/toObject.d.ts @@ -0,0 +1,20 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +interface DayjsObject { + years: number + months: number + date: number + hours: number + minutes: number + seconds: number + milliseconds: number +} + +declare module 'dayjs' { + interface Dayjs { + toObject(): DayjsObject + } +} diff --git a/assets/js/dayjs/plugin/toObject.js b/assets/js/dayjs/plugin/toObject.js new file mode 100644 index 0000000..573b49e --- /dev/null +++ b/assets/js/dayjs/plugin/toObject.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_toObject=e()}(this,(function(){"use strict";return function(t,e){e.prototype.toObject=function(){return{years:this.$y,months:this.$M,date:this.$D,hours:this.$H,minutes:this.$m,seconds:this.$s,milliseconds:this.$ms}}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/updateLocale.d.ts b/assets/js/dayjs/plugin/updateLocale.d.ts new file mode 100644 index 0000000..ef1c01d --- /dev/null +++ b/assets/js/dayjs/plugin/updateLocale.d.ts @@ -0,0 +1,8 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + export function updateLocale(localeName: string, customConfig: Record): Record +} diff --git a/assets/js/dayjs/plugin/updateLocale.js b/assets/js/dayjs/plugin/updateLocale.js new file mode 100644 index 0000000..811d9e9 --- /dev/null +++ b/assets/js/dayjs/plugin/updateLocale.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_updateLocale=n()}(this,(function(){"use strict";return function(e,n,t){t.updateLocale=function(e,n){var o=t.Ls[e];if(o)return(n?Object.keys(n):[]).forEach((function(e){o[e]=n[e]})),o}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/utc.d.ts b/assets/js/dayjs/plugin/utc.d.ts new file mode 100644 index 0000000..544ea4e --- /dev/null +++ b/assets/js/dayjs/plugin/utc.d.ts @@ -0,0 +1,19 @@ +import { PluginFunc, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + + utc(keepLocalTime?: boolean): Dayjs + + local(): Dayjs + + isUTC(): boolean + + utcOffset(offset: number | string, keepLocalTime?: boolean): Dayjs + } + + export function utc(config?: ConfigType, format?: string, strict?: boolean): Dayjs +} diff --git a/assets/js/dayjs/plugin/utc.js b/assets/js/dayjs/plugin/utc.js new file mode 100644 index 0000000..3aad99b --- /dev/null +++ b/assets/js/dayjs/plugin/utc.js @@ -0,0 +1 @@ +!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_utc=i()}(this,(function(){"use strict";var t="minute",i=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var r=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),r.call(this,t)};var o=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else o.call(this)};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if("string"==typeof s&&(s=function(t){void 0===t&&(t="");var s=t.match(i);if(!s)return null;var f=(""+s[0]).match(e)||["-",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:"+"===n?u:-u}(s),null===s))return this;var u=Math.abs(s)<=16?60*s:s;if(0===u)return this.utc(f);var r=this.clone();if(f)return r.$offset=u,r.$u=!1,r;var o=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(r=this.local().add(u+o,t)).$offset=u,r.$x.$localOffset=o,r};var h=u.format;u.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return"s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/weekOfYear.d.ts b/assets/js/dayjs/plugin/weekOfYear.d.ts new file mode 100644 index 0000000..d988014 --- /dev/null +++ b/assets/js/dayjs/plugin/weekOfYear.d.ts @@ -0,0 +1,12 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + week(): number + + week(value : number): Dayjs + } +} diff --git a/assets/js/dayjs/plugin/weekOfYear.js b/assets/js/dayjs/plugin/weekOfYear.js new file mode 100644 index 0000000..7e234c4 --- /dev/null +++ b/assets/js/dayjs/plugin/weekOfYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekOfYear=t()}(this,(function(){"use strict";var e="week",t="year";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),o=this.diff(a,e,!0);return o<0?r(this).startOf("week").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/weekYear.d.ts b/assets/js/dayjs/plugin/weekYear.d.ts new file mode 100644 index 0000000..df25331 --- /dev/null +++ b/assets/js/dayjs/plugin/weekYear.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + weekYear(): number + } +} diff --git a/assets/js/dayjs/plugin/weekYear.js b/assets/js/dayjs/plugin/weekYear.js new file mode 100644 index 0000000..d90d137 --- /dev/null +++ b/assets/js/dayjs/plugin/weekYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekYear=t()}(this,(function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}})); \ No newline at end of file diff --git a/assets/js/dayjs/plugin/weekday.d.ts b/assets/js/dayjs/plugin/weekday.d.ts new file mode 100644 index 0000000..87a8025 --- /dev/null +++ b/assets/js/dayjs/plugin/weekday.d.ts @@ -0,0 +1,12 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + weekday(): number + + weekday(value: number): Dayjs + } +} diff --git a/assets/js/dayjs/plugin/weekday.js b/assets/js/dayjs/plugin/weekday.js new file mode 100644 index 0000000..ae2276b --- /dev/null +++ b/assets/js/dayjs/plugin/weekday.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekday=t()}(this,(function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,i=this.$W,n=(i li { + position: relative; +} + +.fa-li { + inset-inline-start: calc(-1 * var(--fa-li-width, 2em)); + position: absolute; + text-align: center; + width: var(--fa-li-width, 2em); + line-height: inherit; +} + +/* Heads Up: Bordered Icons will not be supported in the future! + - This feature will be deprecated in the next major release of Font Awesome (v8)! + - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8. +*/ +/* Notes: +* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size) +* --@{v.$css-prefix}-border-padding = + ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment) + ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon) +*/ +.fa-border { + border-color: var(--fa-border-color, #eee); + border-radius: var(--fa-border-radius, 0.1em); + border-style: var(--fa-border-style, solid); + border-width: var(--fa-border-width, 0.0625em); + box-sizing: var(--fa-border-box-sizing, content-box); + padding: var(--fa-border-padding, 0.1875em 0.25em); +} + +.fa-pull-left, +.fa-pull-start { + float: inline-start; + margin-inline-end: var(--fa-pull-margin, 0.3em); +} + +.fa-pull-right, +.fa-pull-end { + float: inline-end; + margin-inline-start: var(--fa-pull-margin, 0.3em); +} + +.fa-beat { + animation-name: fa-beat; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-bounce { + animation-name: fa-bounce; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); +} + +.fa-fade { + animation-name: fa-fade; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-beat-fade { + animation-name: fa-beat-fade; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-flip { + animation-name: fa-flip; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-shake { + animation-name: fa-shake; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin { + animation-name: fa-spin; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 2s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin-reverse { + --fa-animation-direction: reverse; +} + +.fa-pulse, +.fa-spin-pulse { + animation-name: fa-spin; + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, steps(8)); +} + +@media (prefers-reduced-motion: reduce) { + .fa-beat, + .fa-bounce, + .fa-fade, + .fa-beat-fade, + .fa-flip, + .fa-pulse, + .fa-shake, + .fa-spin, + .fa-spin-pulse { + animation: none !important; + transition: none !important; + } +} +@keyframes fa-beat { + 0%, 90% { + transform: scale(1); + } + 45% { + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@keyframes fa-bounce { + 0% { + transform: scale(1, 1) translateY(0); + } + 10% { + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + transform: scale(1, 1) translateY(0); + } + 100% { + transform: scale(1, 1) translateY(0); + } +} +@keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + transform: scale(1); + } + 50% { + opacity: 1; + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@keyframes fa-flip { + 50% { + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@keyframes fa-shake { + 0% { + transform: rotate(-15deg); + } + 4% { + transform: rotate(15deg); + } + 8%, 24% { + transform: rotate(-18deg); + } + 12%, 28% { + transform: rotate(18deg); + } + 16% { + transform: rotate(-22deg); + } + 20% { + transform: rotate(22deg); + } + 32% { + transform: rotate(-12deg); + } + 36% { + transform: rotate(12deg); + } + 40%, 100% { + transform: rotate(0deg); + } +} +@keyframes fa-spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +.fa-rotate-90 { + transform: rotate(90deg); +} + +.fa-rotate-180 { + transform: rotate(180deg); +} + +.fa-rotate-270 { + transform: rotate(270deg); +} + +.fa-flip-horizontal { + transform: scale(-1, 1); +} + +.fa-flip-vertical { + transform: scale(1, -1); +} + +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical { + transform: scale(-1, -1); +} + +.fa-rotate-by { + transform: rotate(var(--fa-rotate-angle, 0)); +} + +.fa-stack { + display: inline-block; + height: 2em; + line-height: 2em; + position: relative; + vertical-align: middle; + width: 2.5em; +} + +.fa-stack-1x, +.fa-stack-2x { + --fa-width: 100%; + inset: 0; + position: absolute; + text-align: center; + width: var(--fa-width); + z-index: var(--fa-stack-z-index, auto); +} + +.fa-stack-1x { + line-height: inherit; +} + +.fa-stack-2x { + font-size: 2em; +} + +.fa-inverse { + color: var(--fa-inverse, #fff); +} + +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ + +.fa-0 { + --fa: "\30 "; +} + +.fa-1 { + --fa: "\31 "; +} + +.fa-2 { + --fa: "\32 "; +} + +.fa-3 { + --fa: "\33 "; +} + +.fa-4 { + --fa: "\34 "; +} + +.fa-5 { + --fa: "\35 "; +} + +.fa-6 { + --fa: "\36 "; +} + +.fa-7 { + --fa: "\37 "; +} + +.fa-8 { + --fa: "\38 "; +} + +.fa-9 { + --fa: "\39 "; +} + +.fa-exclamation { + --fa: "\!"; +} + +.fa-hashtag { + --fa: "\#"; +} + +.fa-dollar-sign { + --fa: "\$"; +} + +.fa-dollar { + --fa: "\$"; +} + +.fa-usd { + --fa: "\$"; +} + +.fa-percent { + --fa: "\%"; +} + +.fa-percentage { + --fa: "\%"; +} + +.fa-asterisk { + --fa: "\*"; +} + +.fa-plus { + --fa: "\+"; +} + +.fa-add { + --fa: "\+"; +} + +.fa-less-than { + --fa: "\<"; +} + +.fa-equals { + --fa: "\="; +} + +.fa-greater-than { + --fa: "\>"; +} + +.fa-question { + --fa: "\?"; +} + +.fa-at { + --fa: "\@"; +} + +.fa-a { + --fa: "A"; +} + +.fa-b { + --fa: "B"; +} + +.fa-c { + --fa: "C"; +} + +.fa-d { + --fa: "D"; +} + +.fa-e { + --fa: "E"; +} + +.fa-f { + --fa: "F"; +} + +.fa-g { + --fa: "G"; +} + +.fa-h { + --fa: "H"; +} + +.fa-i { + --fa: "I"; +} + +.fa-j { + --fa: "J"; +} + +.fa-k { + --fa: "K"; +} + +.fa-l { + --fa: "L"; +} + +.fa-m { + --fa: "M"; +} + +.fa-n { + --fa: "N"; +} + +.fa-o { + --fa: "O"; +} + +.fa-p { + --fa: "P"; +} + +.fa-q { + --fa: "Q"; +} + +.fa-r { + --fa: "R"; +} + +.fa-s { + --fa: "S"; +} + +.fa-t { + --fa: "T"; +} + +.fa-u { + --fa: "U"; +} + +.fa-v { + --fa: "V"; +} + +.fa-w { + --fa: "W"; +} + +.fa-x { + --fa: "X"; +} + +.fa-y { + --fa: "Y"; +} + +.fa-z { + --fa: "Z"; +} + +.fa-faucet { + --fa: "\e005"; +} + +.fa-faucet-drip { + --fa: "\e006"; +} + +.fa-house-chimney-window { + --fa: "\e00d"; +} + +.fa-house-signal { + --fa: "\e012"; +} + +.fa-temperature-arrow-down { + --fa: "\e03f"; +} + +.fa-temperature-down { + --fa: "\e03f"; +} + +.fa-temperature-arrow-up { + --fa: "\e040"; +} + +.fa-temperature-up { + --fa: "\e040"; +} + +.fa-trailer { + --fa: "\e041"; +} + +.fa-bacteria { + --fa: "\e059"; +} + +.fa-bacterium { + --fa: "\e05a"; +} + +.fa-box-tissue { + --fa: "\e05b"; +} + +.fa-hand-holding-medical { + --fa: "\e05c"; +} + +.fa-hand-sparkles { + --fa: "\e05d"; +} + +.fa-hands-bubbles { + --fa: "\e05e"; +} + +.fa-hands-wash { + --fa: "\e05e"; +} + +.fa-handshake-slash { + --fa: "\e060"; +} + +.fa-handshake-alt-slash { + --fa: "\e060"; +} + +.fa-handshake-simple-slash { + --fa: "\e060"; +} + +.fa-head-side-cough { + --fa: "\e061"; +} + +.fa-head-side-cough-slash { + --fa: "\e062"; +} + +.fa-head-side-mask { + --fa: "\e063"; +} + +.fa-head-side-virus { + --fa: "\e064"; +} + +.fa-house-chimney-user { + --fa: "\e065"; +} + +.fa-house-laptop { + --fa: "\e066"; +} + +.fa-laptop-house { + --fa: "\e066"; +} + +.fa-lungs-virus { + --fa: "\e067"; +} + +.fa-people-arrows { + --fa: "\e068"; +} + +.fa-people-arrows-left-right { + --fa: "\e068"; +} + +.fa-plane-slash { + --fa: "\e069"; +} + +.fa-pump-medical { + --fa: "\e06a"; +} + +.fa-pump-soap { + --fa: "\e06b"; +} + +.fa-shield-virus { + --fa: "\e06c"; +} + +.fa-sink { + --fa: "\e06d"; +} + +.fa-soap { + --fa: "\e06e"; +} + +.fa-stopwatch-20 { + --fa: "\e06f"; +} + +.fa-shop-slash { + --fa: "\e070"; +} + +.fa-store-alt-slash { + --fa: "\e070"; +} + +.fa-store-slash { + --fa: "\e071"; +} + +.fa-toilet-paper-slash { + --fa: "\e072"; +} + +.fa-users-slash { + --fa: "\e073"; +} + +.fa-virus { + --fa: "\e074"; +} + +.fa-virus-slash { + --fa: "\e075"; +} + +.fa-viruses { + --fa: "\e076"; +} + +.fa-vest { + --fa: "\e085"; +} + +.fa-vest-patches { + --fa: "\e086"; +} + +.fa-arrow-trend-down { + --fa: "\e097"; +} + +.fa-arrow-trend-up { + --fa: "\e098"; +} + +.fa-arrow-up-from-bracket { + --fa: "\e09a"; +} + +.fa-austral-sign { + --fa: "\e0a9"; +} + +.fa-baht-sign { + --fa: "\e0ac"; +} + +.fa-bitcoin-sign { + --fa: "\e0b4"; +} + +.fa-bolt-lightning { + --fa: "\e0b7"; +} + +.fa-book-bookmark { + --fa: "\e0bb"; +} + +.fa-camera-rotate { + --fa: "\e0d8"; +} + +.fa-cedi-sign { + --fa: "\e0df"; +} + +.fa-chart-column { + --fa: "\e0e3"; +} + +.fa-chart-gantt { + --fa: "\e0e4"; +} + +.fa-clapperboard { + --fa: "\e131"; +} + +.fa-clover { + --fa: "\e139"; +} + +.fa-code-compare { + --fa: "\e13a"; +} + +.fa-code-fork { + --fa: "\e13b"; +} + +.fa-code-pull-request { + --fa: "\e13c"; +} + +.fa-colon-sign { + --fa: "\e140"; +} + +.fa-cruzeiro-sign { + --fa: "\e152"; +} + +.fa-display { + --fa: "\e163"; +} + +.fa-dong-sign { + --fa: "\e169"; +} + +.fa-elevator { + --fa: "\e16d"; +} + +.fa-filter-circle-xmark { + --fa: "\e17b"; +} + +.fa-florin-sign { + --fa: "\e184"; +} + +.fa-folder-closed { + --fa: "\e185"; +} + +.fa-franc-sign { + --fa: "\e18f"; +} + +.fa-guarani-sign { + --fa: "\e19a"; +} + +.fa-gun { + --fa: "\e19b"; +} + +.fa-hands-clapping { + --fa: "\e1a8"; +} + +.fa-house-user { + --fa: "\e1b0"; +} + +.fa-home-user { + --fa: "\e1b0"; +} + +.fa-indian-rupee-sign { + --fa: "\e1bc"; +} + +.fa-indian-rupee { + --fa: "\e1bc"; +} + +.fa-inr { + --fa: "\e1bc"; +} + +.fa-kip-sign { + --fa: "\e1c4"; +} + +.fa-lari-sign { + --fa: "\e1c8"; +} + +.fa-litecoin-sign { + --fa: "\e1d3"; +} + +.fa-manat-sign { + --fa: "\e1d5"; +} + +.fa-mask-face { + --fa: "\e1d7"; +} + +.fa-mill-sign { + --fa: "\e1ed"; +} + +.fa-money-bills { + --fa: "\e1f3"; +} + +.fa-naira-sign { + --fa: "\e1f6"; +} + +.fa-notdef { + --fa: "\e1fe"; +} + +.fa-panorama { + --fa: "\e209"; +} + +.fa-peseta-sign { + --fa: "\e221"; +} + +.fa-peso-sign { + --fa: "\e222"; +} + +.fa-plane-up { + --fa: "\e22d"; +} + +.fa-rupiah-sign { + --fa: "\e23d"; +} + +.fa-stairs { + --fa: "\e289"; +} + +.fa-timeline { + --fa: "\e29c"; +} + +.fa-truck-front { + --fa: "\e2b7"; +} + +.fa-turkish-lira-sign { + --fa: "\e2bb"; +} + +.fa-try { + --fa: "\e2bb"; +} + +.fa-turkish-lira { + --fa: "\e2bb"; +} + +.fa-vault { + --fa: "\e2c5"; +} + +.fa-wand-magic-sparkles { + --fa: "\e2ca"; +} + +.fa-magic-wand-sparkles { + --fa: "\e2ca"; +} + +.fa-wheat-awn { + --fa: "\e2cd"; +} + +.fa-wheat-alt { + --fa: "\e2cd"; +} + +.fa-wheelchair-move { + --fa: "\e2ce"; +} + +.fa-wheelchair-alt { + --fa: "\e2ce"; +} + +.fa-bangladeshi-taka-sign { + --fa: "\e2e6"; +} + +.fa-bowl-rice { + --fa: "\e2eb"; +} + +.fa-person-pregnant { + --fa: "\e31e"; +} + +.fa-house-chimney { + --fa: "\e3af"; +} + +.fa-home-lg { + --fa: "\e3af"; +} + +.fa-house-crack { + --fa: "\e3b1"; +} + +.fa-house-medical { + --fa: "\e3b2"; +} + +.fa-cent-sign { + --fa: "\e3f5"; +} + +.fa-plus-minus { + --fa: "\e43c"; +} + +.fa-sailboat { + --fa: "\e445"; +} + +.fa-section { + --fa: "\e447"; +} + +.fa-shrimp { + --fa: "\e448"; +} + +.fa-brazilian-real-sign { + --fa: "\e46c"; +} + +.fa-chart-simple { + --fa: "\e473"; +} + +.fa-diagram-next { + --fa: "\e476"; +} + +.fa-diagram-predecessor { + --fa: "\e477"; +} + +.fa-diagram-successor { + --fa: "\e47a"; +} + +.fa-earth-oceania { + --fa: "\e47b"; +} + +.fa-globe-oceania { + --fa: "\e47b"; +} + +.fa-bug-slash { + --fa: "\e490"; +} + +.fa-file-circle-plus { + --fa: "\e494"; +} + +.fa-shop-lock { + --fa: "\e4a5"; +} + +.fa-virus-covid { + --fa: "\e4a8"; +} + +.fa-virus-covid-slash { + --fa: "\e4a9"; +} + +.fa-anchor-circle-check { + --fa: "\e4aa"; +} + +.fa-anchor-circle-exclamation { + --fa: "\e4ab"; +} + +.fa-anchor-circle-xmark { + --fa: "\e4ac"; +} + +.fa-anchor-lock { + --fa: "\e4ad"; +} + +.fa-arrow-down-up-across-line { + --fa: "\e4af"; +} + +.fa-arrow-down-up-lock { + --fa: "\e4b0"; +} + +.fa-arrow-right-to-city { + --fa: "\e4b3"; +} + +.fa-arrow-up-from-ground-water { + --fa: "\e4b5"; +} + +.fa-arrow-up-from-water-pump { + --fa: "\e4b6"; +} + +.fa-arrow-up-right-dots { + --fa: "\e4b7"; +} + +.fa-arrows-down-to-line { + --fa: "\e4b8"; +} + +.fa-arrows-down-to-people { + --fa: "\e4b9"; +} + +.fa-arrows-left-right-to-line { + --fa: "\e4ba"; +} + +.fa-arrows-spin { + --fa: "\e4bb"; +} + +.fa-arrows-split-up-and-left { + --fa: "\e4bc"; +} + +.fa-arrows-to-circle { + --fa: "\e4bd"; +} + +.fa-arrows-to-dot { + --fa: "\e4be"; +} + +.fa-arrows-to-eye { + --fa: "\e4bf"; +} + +.fa-arrows-turn-right { + --fa: "\e4c0"; +} + +.fa-arrows-turn-to-dots { + --fa: "\e4c1"; +} + +.fa-arrows-up-to-line { + --fa: "\e4c2"; +} + +.fa-bore-hole { + --fa: "\e4c3"; +} + +.fa-bottle-droplet { + --fa: "\e4c4"; +} + +.fa-bottle-water { + --fa: "\e4c5"; +} + +.fa-bowl-food { + --fa: "\e4c6"; +} + +.fa-boxes-packing { + --fa: "\e4c7"; +} + +.fa-bridge { + --fa: "\e4c8"; +} + +.fa-bridge-circle-check { + --fa: "\e4c9"; +} + +.fa-bridge-circle-exclamation { + --fa: "\e4ca"; +} + +.fa-bridge-circle-xmark { + --fa: "\e4cb"; +} + +.fa-bridge-lock { + --fa: "\e4cc"; +} + +.fa-bridge-water { + --fa: "\e4ce"; +} + +.fa-bucket { + --fa: "\e4cf"; +} + +.fa-bugs { + --fa: "\e4d0"; +} + +.fa-building-circle-arrow-right { + --fa: "\e4d1"; +} + +.fa-building-circle-check { + --fa: "\e4d2"; +} + +.fa-building-circle-exclamation { + --fa: "\e4d3"; +} + +.fa-building-circle-xmark { + --fa: "\e4d4"; +} + +.fa-building-flag { + --fa: "\e4d5"; +} + +.fa-building-lock { + --fa: "\e4d6"; +} + +.fa-building-ngo { + --fa: "\e4d7"; +} + +.fa-building-shield { + --fa: "\e4d8"; +} + +.fa-building-un { + --fa: "\e4d9"; +} + +.fa-building-user { + --fa: "\e4da"; +} + +.fa-building-wheat { + --fa: "\e4db"; +} + +.fa-burst { + --fa: "\e4dc"; +} + +.fa-car-on { + --fa: "\e4dd"; +} + +.fa-car-tunnel { + --fa: "\e4de"; +} + +.fa-child-combatant { + --fa: "\e4e0"; +} + +.fa-child-rifle { + --fa: "\e4e0"; +} + +.fa-children { + --fa: "\e4e1"; +} + +.fa-circle-nodes { + --fa: "\e4e2"; +} + +.fa-clipboard-question { + --fa: "\e4e3"; +} + +.fa-cloud-showers-water { + --fa: "\e4e4"; +} + +.fa-computer { + --fa: "\e4e5"; +} + +.fa-cubes-stacked { + --fa: "\e4e6"; +} + +.fa-envelope-circle-check { + --fa: "\e4e8"; +} + +.fa-explosion { + --fa: "\e4e9"; +} + +.fa-ferry { + --fa: "\e4ea"; +} + +.fa-file-circle-exclamation { + --fa: "\e4eb"; +} + +.fa-file-circle-minus { + --fa: "\e4ed"; +} + +.fa-file-circle-question { + --fa: "\e4ef"; +} + +.fa-file-shield { + --fa: "\e4f0"; +} + +.fa-fire-burner { + --fa: "\e4f1"; +} + +.fa-fish-fins { + --fa: "\e4f2"; +} + +.fa-flask-vial { + --fa: "\e4f3"; +} + +.fa-glass-water { + --fa: "\e4f4"; +} + +.fa-glass-water-droplet { + --fa: "\e4f5"; +} + +.fa-group-arrows-rotate { + --fa: "\e4f6"; +} + +.fa-hand-holding-hand { + --fa: "\e4f7"; +} + +.fa-handcuffs { + --fa: "\e4f8"; +} + +.fa-hands-bound { + --fa: "\e4f9"; +} + +.fa-hands-holding-child { + --fa: "\e4fa"; +} + +.fa-hands-holding-circle { + --fa: "\e4fb"; +} + +.fa-heart-circle-bolt { + --fa: "\e4fc"; +} + +.fa-heart-circle-check { + --fa: "\e4fd"; +} + +.fa-heart-circle-exclamation { + --fa: "\e4fe"; +} + +.fa-heart-circle-minus { + --fa: "\e4ff"; +} + +.fa-heart-circle-plus { + --fa: "\e500"; +} + +.fa-heart-circle-xmark { + --fa: "\e501"; +} + +.fa-helicopter-symbol { + --fa: "\e502"; +} + +.fa-helmet-un { + --fa: "\e503"; +} + +.fa-hill-avalanche { + --fa: "\e507"; +} + +.fa-hill-rockslide { + --fa: "\e508"; +} + +.fa-house-circle-check { + --fa: "\e509"; +} + +.fa-house-circle-exclamation { + --fa: "\e50a"; +} + +.fa-house-circle-xmark { + --fa: "\e50b"; +} + +.fa-house-fire { + --fa: "\e50c"; +} + +.fa-house-flag { + --fa: "\e50d"; +} + +.fa-house-flood-water { + --fa: "\e50e"; +} + +.fa-house-flood-water-circle-arrow-right { + --fa: "\e50f"; +} + +.fa-house-lock { + --fa: "\e510"; +} + +.fa-house-medical-circle-check { + --fa: "\e511"; +} + +.fa-house-medical-circle-exclamation { + --fa: "\e512"; +} + +.fa-house-medical-circle-xmark { + --fa: "\e513"; +} + +.fa-house-medical-flag { + --fa: "\e514"; +} + +.fa-house-tsunami { + --fa: "\e515"; +} + +.fa-jar { + --fa: "\e516"; +} + +.fa-jar-wheat { + --fa: "\e517"; +} + +.fa-jet-fighter-up { + --fa: "\e518"; +} + +.fa-jug-detergent { + --fa: "\e519"; +} + +.fa-kitchen-set { + --fa: "\e51a"; +} + +.fa-land-mine-on { + --fa: "\e51b"; +} + +.fa-landmark-flag { + --fa: "\e51c"; +} + +.fa-laptop-file { + --fa: "\e51d"; +} + +.fa-lines-leaning { + --fa: "\e51e"; +} + +.fa-location-pin-lock { + --fa: "\e51f"; +} + +.fa-locust { + --fa: "\e520"; +} + +.fa-magnifying-glass-arrow-right { + --fa: "\e521"; +} + +.fa-magnifying-glass-chart { + --fa: "\e522"; +} + +.fa-mars-and-venus-burst { + --fa: "\e523"; +} + +.fa-mask-ventilator { + --fa: "\e524"; +} + +.fa-mattress-pillow { + --fa: "\e525"; +} + +.fa-mobile-retro { + --fa: "\e527"; +} + +.fa-money-bill-transfer { + --fa: "\e528"; +} + +.fa-money-bill-trend-up { + --fa: "\e529"; +} + +.fa-money-bill-wheat { + --fa: "\e52a"; +} + +.fa-mosquito { + --fa: "\e52b"; +} + +.fa-mosquito-net { + --fa: "\e52c"; +} + +.fa-mound { + --fa: "\e52d"; +} + +.fa-mountain-city { + --fa: "\e52e"; +} + +.fa-mountain-sun { + --fa: "\e52f"; +} + +.fa-oil-well { + --fa: "\e532"; +} + +.fa-people-group { + --fa: "\e533"; +} + +.fa-people-line { + --fa: "\e534"; +} + +.fa-people-pulling { + --fa: "\e535"; +} + +.fa-people-robbery { + --fa: "\e536"; +} + +.fa-people-roof { + --fa: "\e537"; +} + +.fa-person-arrow-down-to-line { + --fa: "\e538"; +} + +.fa-person-arrow-up-from-line { + --fa: "\e539"; +} + +.fa-person-breastfeeding { + --fa: "\e53a"; +} + +.fa-person-burst { + --fa: "\e53b"; +} + +.fa-person-cane { + --fa: "\e53c"; +} + +.fa-person-chalkboard { + --fa: "\e53d"; +} + +.fa-person-circle-check { + --fa: "\e53e"; +} + +.fa-person-circle-exclamation { + --fa: "\e53f"; +} + +.fa-person-circle-minus { + --fa: "\e540"; +} + +.fa-person-circle-plus { + --fa: "\e541"; +} + +.fa-person-circle-question { + --fa: "\e542"; +} + +.fa-person-circle-xmark { + --fa: "\e543"; +} + +.fa-person-dress-burst { + --fa: "\e544"; +} + +.fa-person-drowning { + --fa: "\e545"; +} + +.fa-person-falling { + --fa: "\e546"; +} + +.fa-person-falling-burst { + --fa: "\e547"; +} + +.fa-person-half-dress { + --fa: "\e548"; +} + +.fa-person-harassing { + --fa: "\e549"; +} + +.fa-person-military-pointing { + --fa: "\e54a"; +} + +.fa-person-military-rifle { + --fa: "\e54b"; +} + +.fa-person-military-to-person { + --fa: "\e54c"; +} + +.fa-person-rays { + --fa: "\e54d"; +} + +.fa-person-rifle { + --fa: "\e54e"; +} + +.fa-person-shelter { + --fa: "\e54f"; +} + +.fa-person-walking-arrow-loop-left { + --fa: "\e551"; +} + +.fa-person-walking-arrow-right { + --fa: "\e552"; +} + +.fa-person-walking-dashed-line-arrow-right { + --fa: "\e553"; +} + +.fa-person-walking-luggage { + --fa: "\e554"; +} + +.fa-plane-circle-check { + --fa: "\e555"; +} + +.fa-plane-circle-exclamation { + --fa: "\e556"; +} + +.fa-plane-circle-xmark { + --fa: "\e557"; +} + +.fa-plane-lock { + --fa: "\e558"; +} + +.fa-plate-wheat { + --fa: "\e55a"; +} + +.fa-plug-circle-bolt { + --fa: "\e55b"; +} + +.fa-plug-circle-check { + --fa: "\e55c"; +} + +.fa-plug-circle-exclamation { + --fa: "\e55d"; +} + +.fa-plug-circle-minus { + --fa: "\e55e"; +} + +.fa-plug-circle-plus { + --fa: "\e55f"; +} + +.fa-plug-circle-xmark { + --fa: "\e560"; +} + +.fa-ranking-star { + --fa: "\e561"; +} + +.fa-road-barrier { + --fa: "\e562"; +} + +.fa-road-bridge { + --fa: "\e563"; +} + +.fa-road-circle-check { + --fa: "\e564"; +} + +.fa-road-circle-exclamation { + --fa: "\e565"; +} + +.fa-road-circle-xmark { + --fa: "\e566"; +} + +.fa-road-lock { + --fa: "\e567"; +} + +.fa-road-spikes { + --fa: "\e568"; +} + +.fa-rug { + --fa: "\e569"; +} + +.fa-sack-xmark { + --fa: "\e56a"; +} + +.fa-school-circle-check { + --fa: "\e56b"; +} + +.fa-school-circle-exclamation { + --fa: "\e56c"; +} + +.fa-school-circle-xmark { + --fa: "\e56d"; +} + +.fa-school-flag { + --fa: "\e56e"; +} + +.fa-school-lock { + --fa: "\e56f"; +} + +.fa-sheet-plastic { + --fa: "\e571"; +} + +.fa-shield-cat { + --fa: "\e572"; +} + +.fa-shield-dog { + --fa: "\e573"; +} + +.fa-shield-heart { + --fa: "\e574"; +} + +.fa-square-nfi { + --fa: "\e576"; +} + +.fa-square-person-confined { + --fa: "\e577"; +} + +.fa-square-virus { + --fa: "\e578"; +} + +.fa-staff-snake { + --fa: "\e579"; +} + +.fa-rod-asclepius { + --fa: "\e579"; +} + +.fa-rod-snake { + --fa: "\e579"; +} + +.fa-staff-aesculapius { + --fa: "\e579"; +} + +.fa-sun-plant-wilt { + --fa: "\e57a"; +} + +.fa-tarp { + --fa: "\e57b"; +} + +.fa-tarp-droplet { + --fa: "\e57c"; +} + +.fa-tent { + --fa: "\e57d"; +} + +.fa-tent-arrow-down-to-line { + --fa: "\e57e"; +} + +.fa-tent-arrow-left-right { + --fa: "\e57f"; +} + +.fa-tent-arrow-turn-left { + --fa: "\e580"; +} + +.fa-tent-arrows-down { + --fa: "\e581"; +} + +.fa-tents { + --fa: "\e582"; +} + +.fa-toilet-portable { + --fa: "\e583"; +} + +.fa-toilets-portable { + --fa: "\e584"; +} + +.fa-tower-cell { + --fa: "\e585"; +} + +.fa-tower-observation { + --fa: "\e586"; +} + +.fa-tree-city { + --fa: "\e587"; +} + +.fa-trowel { + --fa: "\e589"; +} + +.fa-trowel-bricks { + --fa: "\e58a"; +} + +.fa-truck-arrow-right { + --fa: "\e58b"; +} + +.fa-truck-droplet { + --fa: "\e58c"; +} + +.fa-truck-field { + --fa: "\e58d"; +} + +.fa-truck-field-un { + --fa: "\e58e"; +} + +.fa-truck-plane { + --fa: "\e58f"; +} + +.fa-users-between-lines { + --fa: "\e591"; +} + +.fa-users-line { + --fa: "\e592"; +} + +.fa-users-rays { + --fa: "\e593"; +} + +.fa-users-rectangle { + --fa: "\e594"; +} + +.fa-users-viewfinder { + --fa: "\e595"; +} + +.fa-vial-circle-check { + --fa: "\e596"; +} + +.fa-vial-virus { + --fa: "\e597"; +} + +.fa-wheat-awn-circle-exclamation { + --fa: "\e598"; +} + +.fa-worm { + --fa: "\e599"; +} + +.fa-xmarks-lines { + --fa: "\e59a"; +} + +.fa-child-dress { + --fa: "\e59c"; +} + +.fa-child-reaching { + --fa: "\e59d"; +} + +.fa-file-circle-check { + --fa: "\e5a0"; +} + +.fa-file-circle-xmark { + --fa: "\e5a1"; +} + +.fa-person-through-window { + --fa: "\e5a9"; +} + +.fa-plant-wilt { + --fa: "\e5aa"; +} + +.fa-stapler { + --fa: "\e5af"; +} + +.fa-train-tram { + --fa: "\e5b4"; +} + +.fa-table-cells-column-lock { + --fa: "\e678"; +} + +.fa-table-cells-row-lock { + --fa: "\e67a"; +} + +.fa-web-awesome { + --fa: "\e682"; +} + +.fa-thumbtack-slash { + --fa: "\e68f"; +} + +.fa-thumb-tack-slash { + --fa: "\e68f"; +} + +.fa-table-cells-row-unlock { + --fa: "\e691"; +} + +.fa-chart-diagram { + --fa: "\e695"; +} + +.fa-comment-nodes { + --fa: "\e696"; +} + +.fa-file-fragment { + --fa: "\e697"; +} + +.fa-file-half-dashed { + --fa: "\e698"; +} + +.fa-hexagon-nodes { + --fa: "\e699"; +} + +.fa-hexagon-nodes-bolt { + --fa: "\e69a"; +} + +.fa-square-binary { + --fa: "\e69b"; +} + +.fa-pentagon { + --fa: "\e790"; +} + +.fa-non-binary { + --fa: "\e807"; +} + +.fa-spiral { + --fa: "\e80a"; +} + +.fa-mobile-vibrate { + --fa: "\e816"; +} + +.fa-single-quote-left { + --fa: "\e81b"; +} + +.fa-single-quote-right { + --fa: "\e81c"; +} + +.fa-bus-side { + --fa: "\e81d"; +} + +.fa-septagon { + --fa: "\e820"; +} + +.fa-heptagon { + --fa: "\e820"; +} + +.fa-martini-glass-empty { + --fa: "\f000"; +} + +.fa-glass-martini { + --fa: "\f000"; +} + +.fa-music { + --fa: "\f001"; +} + +.fa-magnifying-glass { + --fa: "\f002"; +} + +.fa-search { + --fa: "\f002"; +} + +.fa-heart { + --fa: "\f004"; +} + +.fa-star { + --fa: "\f005"; +} + +.fa-user { + --fa: "\f007"; +} + +.fa-user-alt { + --fa: "\f007"; +} + +.fa-user-large { + --fa: "\f007"; +} + +.fa-film { + --fa: "\f008"; +} + +.fa-film-alt { + --fa: "\f008"; +} + +.fa-film-simple { + --fa: "\f008"; +} + +.fa-table-cells-large { + --fa: "\f009"; +} + +.fa-th-large { + --fa: "\f009"; +} + +.fa-table-cells { + --fa: "\f00a"; +} + +.fa-th { + --fa: "\f00a"; +} + +.fa-table-list { + --fa: "\f00b"; +} + +.fa-th-list { + --fa: "\f00b"; +} + +.fa-check { + --fa: "\f00c"; +} + +.fa-xmark { + --fa: "\f00d"; +} + +.fa-close { + --fa: "\f00d"; +} + +.fa-multiply { + --fa: "\f00d"; +} + +.fa-remove { + --fa: "\f00d"; +} + +.fa-times { + --fa: "\f00d"; +} + +.fa-magnifying-glass-plus { + --fa: "\f00e"; +} + +.fa-search-plus { + --fa: "\f00e"; +} + +.fa-magnifying-glass-minus { + --fa: "\f010"; +} + +.fa-search-minus { + --fa: "\f010"; +} + +.fa-power-off { + --fa: "\f011"; +} + +.fa-signal { + --fa: "\f012"; +} + +.fa-signal-5 { + --fa: "\f012"; +} + +.fa-signal-perfect { + --fa: "\f012"; +} + +.fa-gear { + --fa: "\f013"; +} + +.fa-cog { + --fa: "\f013"; +} + +.fa-house { + --fa: "\f015"; +} + +.fa-home { + --fa: "\f015"; +} + +.fa-home-alt { + --fa: "\f015"; +} + +.fa-home-lg-alt { + --fa: "\f015"; +} + +.fa-clock { + --fa: "\f017"; +} + +.fa-clock-four { + --fa: "\f017"; +} + +.fa-road { + --fa: "\f018"; +} + +.fa-download { + --fa: "\f019"; +} + +.fa-inbox { + --fa: "\f01c"; +} + +.fa-arrow-rotate-right { + --fa: "\f01e"; +} + +.fa-arrow-right-rotate { + --fa: "\f01e"; +} + +.fa-arrow-rotate-forward { + --fa: "\f01e"; +} + +.fa-redo { + --fa: "\f01e"; +} + +.fa-arrows-rotate { + --fa: "\f021"; +} + +.fa-refresh { + --fa: "\f021"; +} + +.fa-sync { + --fa: "\f021"; +} + +.fa-rectangle-list { + --fa: "\f022"; +} + +.fa-list-alt { + --fa: "\f022"; +} + +.fa-lock { + --fa: "\f023"; +} + +.fa-flag { + --fa: "\f024"; +} + +.fa-headphones { + --fa: "\f025"; +} + +.fa-headphones-alt { + --fa: "\f025"; +} + +.fa-headphones-simple { + --fa: "\f025"; +} + +.fa-volume-off { + --fa: "\f026"; +} + +.fa-volume-low { + --fa: "\f027"; +} + +.fa-volume-down { + --fa: "\f027"; +} + +.fa-volume-high { + --fa: "\f028"; +} + +.fa-volume-up { + --fa: "\f028"; +} + +.fa-qrcode { + --fa: "\f029"; +} + +.fa-barcode { + --fa: "\f02a"; +} + +.fa-tag { + --fa: "\f02b"; +} + +.fa-tags { + --fa: "\f02c"; +} + +.fa-book { + --fa: "\f02d"; +} + +.fa-bookmark { + --fa: "\f02e"; +} + +.fa-print { + --fa: "\f02f"; +} + +.fa-camera { + --fa: "\f030"; +} + +.fa-camera-alt { + --fa: "\f030"; +} + +.fa-font { + --fa: "\f031"; +} + +.fa-bold { + --fa: "\f032"; +} + +.fa-italic { + --fa: "\f033"; +} + +.fa-text-height { + --fa: "\f034"; +} + +.fa-text-width { + --fa: "\f035"; +} + +.fa-align-left { + --fa: "\f036"; +} + +.fa-align-center { + --fa: "\f037"; +} + +.fa-align-right { + --fa: "\f038"; +} + +.fa-align-justify { + --fa: "\f039"; +} + +.fa-list { + --fa: "\f03a"; +} + +.fa-list-squares { + --fa: "\f03a"; +} + +.fa-outdent { + --fa: "\f03b"; +} + +.fa-dedent { + --fa: "\f03b"; +} + +.fa-indent { + --fa: "\f03c"; +} + +.fa-video { + --fa: "\f03d"; +} + +.fa-video-camera { + --fa: "\f03d"; +} + +.fa-image { + --fa: "\f03e"; +} + +.fa-location-pin { + --fa: "\f041"; +} + +.fa-map-marker { + --fa: "\f041"; +} + +.fa-circle-half-stroke { + --fa: "\f042"; +} + +.fa-adjust { + --fa: "\f042"; +} + +.fa-droplet { + --fa: "\f043"; +} + +.fa-tint { + --fa: "\f043"; +} + +.fa-pen-to-square { + --fa: "\f044"; +} + +.fa-edit { + --fa: "\f044"; +} + +.fa-arrows-up-down-left-right { + --fa: "\f047"; +} + +.fa-arrows { + --fa: "\f047"; +} + +.fa-backward-step { + --fa: "\f048"; +} + +.fa-step-backward { + --fa: "\f048"; +} + +.fa-backward-fast { + --fa: "\f049"; +} + +.fa-fast-backward { + --fa: "\f049"; +} + +.fa-backward { + --fa: "\f04a"; +} + +.fa-play { + --fa: "\f04b"; +} + +.fa-pause { + --fa: "\f04c"; +} + +.fa-stop { + --fa: "\f04d"; +} + +.fa-forward { + --fa: "\f04e"; +} + +.fa-forward-fast { + --fa: "\f050"; +} + +.fa-fast-forward { + --fa: "\f050"; +} + +.fa-forward-step { + --fa: "\f051"; +} + +.fa-step-forward { + --fa: "\f051"; +} + +.fa-eject { + --fa: "\f052"; +} + +.fa-chevron-left { + --fa: "\f053"; +} + +.fa-chevron-right { + --fa: "\f054"; +} + +.fa-circle-plus { + --fa: "\f055"; +} + +.fa-plus-circle { + --fa: "\f055"; +} + +.fa-circle-minus { + --fa: "\f056"; +} + +.fa-minus-circle { + --fa: "\f056"; +} + +.fa-circle-xmark { + --fa: "\f057"; +} + +.fa-times-circle { + --fa: "\f057"; +} + +.fa-xmark-circle { + --fa: "\f057"; +} + +.fa-circle-check { + --fa: "\f058"; +} + +.fa-check-circle { + --fa: "\f058"; +} + +.fa-circle-question { + --fa: "\f059"; +} + +.fa-question-circle { + --fa: "\f059"; +} + +.fa-circle-info { + --fa: "\f05a"; +} + +.fa-info-circle { + --fa: "\f05a"; +} + +.fa-crosshairs { + --fa: "\f05b"; +} + +.fa-ban { + --fa: "\f05e"; +} + +.fa-cancel { + --fa: "\f05e"; +} + +.fa-arrow-left { + --fa: "\f060"; +} + +.fa-arrow-right { + --fa: "\f061"; +} + +.fa-arrow-up { + --fa: "\f062"; +} + +.fa-arrow-down { + --fa: "\f063"; +} + +.fa-share { + --fa: "\f064"; +} + +.fa-mail-forward { + --fa: "\f064"; +} + +.fa-expand { + --fa: "\f065"; +} + +.fa-compress { + --fa: "\f066"; +} + +.fa-minus { + --fa: "\f068"; +} + +.fa-subtract { + --fa: "\f068"; +} + +.fa-circle-exclamation { + --fa: "\f06a"; +} + +.fa-exclamation-circle { + --fa: "\f06a"; +} + +.fa-gift { + --fa: "\f06b"; +} + +.fa-leaf { + --fa: "\f06c"; +} + +.fa-fire { + --fa: "\f06d"; +} + +.fa-eye { + --fa: "\f06e"; +} + +.fa-eye-slash { + --fa: "\f070"; +} + +.fa-triangle-exclamation { + --fa: "\f071"; +} + +.fa-exclamation-triangle { + --fa: "\f071"; +} + +.fa-warning { + --fa: "\f071"; +} + +.fa-plane { + --fa: "\f072"; +} + +.fa-calendar-days { + --fa: "\f073"; +} + +.fa-calendar-alt { + --fa: "\f073"; +} + +.fa-shuffle { + --fa: "\f074"; +} + +.fa-random { + --fa: "\f074"; +} + +.fa-comment { + --fa: "\f075"; +} + +.fa-magnet { + --fa: "\f076"; +} + +.fa-chevron-up { + --fa: "\f077"; +} + +.fa-chevron-down { + --fa: "\f078"; +} + +.fa-retweet { + --fa: "\f079"; +} + +.fa-cart-shopping { + --fa: "\f07a"; +} + +.fa-shopping-cart { + --fa: "\f07a"; +} + +.fa-folder { + --fa: "\f07b"; +} + +.fa-folder-blank { + --fa: "\f07b"; +} + +.fa-folder-open { + --fa: "\f07c"; +} + +.fa-arrows-up-down { + --fa: "\f07d"; +} + +.fa-arrows-v { + --fa: "\f07d"; +} + +.fa-arrows-left-right { + --fa: "\f07e"; +} + +.fa-arrows-h { + --fa: "\f07e"; +} + +.fa-chart-bar { + --fa: "\f080"; +} + +.fa-bar-chart { + --fa: "\f080"; +} + +.fa-camera-retro { + --fa: "\f083"; +} + +.fa-key { + --fa: "\f084"; +} + +.fa-gears { + --fa: "\f085"; +} + +.fa-cogs { + --fa: "\f085"; +} + +.fa-comments { + --fa: "\f086"; +} + +.fa-star-half { + --fa: "\f089"; +} + +.fa-arrow-right-from-bracket { + --fa: "\f08b"; +} + +.fa-sign-out { + --fa: "\f08b"; +} + +.fa-thumbtack { + --fa: "\f08d"; +} + +.fa-thumb-tack { + --fa: "\f08d"; +} + +.fa-arrow-up-right-from-square { + --fa: "\f08e"; +} + +.fa-external-link { + --fa: "\f08e"; +} + +.fa-arrow-right-to-bracket { + --fa: "\f090"; +} + +.fa-sign-in { + --fa: "\f090"; +} + +.fa-trophy { + --fa: "\f091"; +} + +.fa-upload { + --fa: "\f093"; +} + +.fa-lemon { + --fa: "\f094"; +} + +.fa-phone { + --fa: "\f095"; +} + +.fa-square-phone { + --fa: "\f098"; +} + +.fa-phone-square { + --fa: "\f098"; +} + +.fa-unlock { + --fa: "\f09c"; +} + +.fa-credit-card { + --fa: "\f09d"; +} + +.fa-credit-card-alt { + --fa: "\f09d"; +} + +.fa-rss { + --fa: "\f09e"; +} + +.fa-feed { + --fa: "\f09e"; +} + +.fa-hard-drive { + --fa: "\f0a0"; +} + +.fa-hdd { + --fa: "\f0a0"; +} + +.fa-bullhorn { + --fa: "\f0a1"; +} + +.fa-certificate { + --fa: "\f0a3"; +} + +.fa-hand-point-right { + --fa: "\f0a4"; +} + +.fa-hand-point-left { + --fa: "\f0a5"; +} + +.fa-hand-point-up { + --fa: "\f0a6"; +} + +.fa-hand-point-down { + --fa: "\f0a7"; +} + +.fa-circle-arrow-left { + --fa: "\f0a8"; +} + +.fa-arrow-circle-left { + --fa: "\f0a8"; +} + +.fa-circle-arrow-right { + --fa: "\f0a9"; +} + +.fa-arrow-circle-right { + --fa: "\f0a9"; +} + +.fa-circle-arrow-up { + --fa: "\f0aa"; +} + +.fa-arrow-circle-up { + --fa: "\f0aa"; +} + +.fa-circle-arrow-down { + --fa: "\f0ab"; +} + +.fa-arrow-circle-down { + --fa: "\f0ab"; +} + +.fa-globe { + --fa: "\f0ac"; +} + +.fa-wrench { + --fa: "\f0ad"; +} + +.fa-list-check { + --fa: "\f0ae"; +} + +.fa-tasks { + --fa: "\f0ae"; +} + +.fa-filter { + --fa: "\f0b0"; +} + +.fa-briefcase { + --fa: "\f0b1"; +} + +.fa-up-down-left-right { + --fa: "\f0b2"; +} + +.fa-arrows-alt { + --fa: "\f0b2"; +} + +.fa-users { + --fa: "\f0c0"; +} + +.fa-link { + --fa: "\f0c1"; +} + +.fa-chain { + --fa: "\f0c1"; +} + +.fa-cloud { + --fa: "\f0c2"; +} + +.fa-flask { + --fa: "\f0c3"; +} + +.fa-scissors { + --fa: "\f0c4"; +} + +.fa-cut { + --fa: "\f0c4"; +} + +.fa-copy { + --fa: "\f0c5"; +} + +.fa-paperclip { + --fa: "\f0c6"; +} + +.fa-floppy-disk { + --fa: "\f0c7"; +} + +.fa-save { + --fa: "\f0c7"; +} + +.fa-square { + --fa: "\f0c8"; +} + +.fa-bars { + --fa: "\f0c9"; +} + +.fa-navicon { + --fa: "\f0c9"; +} + +.fa-list-ul { + --fa: "\f0ca"; +} + +.fa-list-dots { + --fa: "\f0ca"; +} + +.fa-list-ol { + --fa: "\f0cb"; +} + +.fa-list-1-2 { + --fa: "\f0cb"; +} + +.fa-list-numeric { + --fa: "\f0cb"; +} + +.fa-strikethrough { + --fa: "\f0cc"; +} + +.fa-underline { + --fa: "\f0cd"; +} + +.fa-table { + --fa: "\f0ce"; +} + +.fa-wand-magic { + --fa: "\f0d0"; +} + +.fa-magic { + --fa: "\f0d0"; +} + +.fa-truck { + --fa: "\f0d1"; +} + +.fa-money-bill { + --fa: "\f0d6"; +} + +.fa-caret-down { + --fa: "\f0d7"; +} + +.fa-caret-up { + --fa: "\f0d8"; +} + +.fa-caret-left { + --fa: "\f0d9"; +} + +.fa-caret-right { + --fa: "\f0da"; +} + +.fa-table-columns { + --fa: "\f0db"; +} + +.fa-columns { + --fa: "\f0db"; +} + +.fa-sort { + --fa: "\f0dc"; +} + +.fa-unsorted { + --fa: "\f0dc"; +} + +.fa-sort-down { + --fa: "\f0dd"; +} + +.fa-sort-desc { + --fa: "\f0dd"; +} + +.fa-sort-up { + --fa: "\f0de"; +} + +.fa-sort-asc { + --fa: "\f0de"; +} + +.fa-envelope { + --fa: "\f0e0"; +} + +.fa-arrow-rotate-left { + --fa: "\f0e2"; +} + +.fa-arrow-left-rotate { + --fa: "\f0e2"; +} + +.fa-arrow-rotate-back { + --fa: "\f0e2"; +} + +.fa-arrow-rotate-backward { + --fa: "\f0e2"; +} + +.fa-undo { + --fa: "\f0e2"; +} + +.fa-gavel { + --fa: "\f0e3"; +} + +.fa-legal { + --fa: "\f0e3"; +} + +.fa-bolt { + --fa: "\f0e7"; +} + +.fa-zap { + --fa: "\f0e7"; +} + +.fa-sitemap { + --fa: "\f0e8"; +} + +.fa-umbrella { + --fa: "\f0e9"; +} + +.fa-paste { + --fa: "\f0ea"; +} + +.fa-file-clipboard { + --fa: "\f0ea"; +} + +.fa-lightbulb { + --fa: "\f0eb"; +} + +.fa-arrow-right-arrow-left { + --fa: "\f0ec"; +} + +.fa-exchange { + --fa: "\f0ec"; +} + +.fa-cloud-arrow-down { + --fa: "\f0ed"; +} + +.fa-cloud-download { + --fa: "\f0ed"; +} + +.fa-cloud-download-alt { + --fa: "\f0ed"; +} + +.fa-cloud-arrow-up { + --fa: "\f0ee"; +} + +.fa-cloud-upload { + --fa: "\f0ee"; +} + +.fa-cloud-upload-alt { + --fa: "\f0ee"; +} + +.fa-user-doctor { + --fa: "\f0f0"; +} + +.fa-user-md { + --fa: "\f0f0"; +} + +.fa-stethoscope { + --fa: "\f0f1"; +} + +.fa-suitcase { + --fa: "\f0f2"; +} + +.fa-bell { + --fa: "\f0f3"; +} + +.fa-mug-saucer { + --fa: "\f0f4"; +} + +.fa-coffee { + --fa: "\f0f4"; +} + +.fa-hospital { + --fa: "\f0f8"; +} + +.fa-hospital-alt { + --fa: "\f0f8"; +} + +.fa-hospital-wide { + --fa: "\f0f8"; +} + +.fa-truck-medical { + --fa: "\f0f9"; +} + +.fa-ambulance { + --fa: "\f0f9"; +} + +.fa-suitcase-medical { + --fa: "\f0fa"; +} + +.fa-medkit { + --fa: "\f0fa"; +} + +.fa-jet-fighter { + --fa: "\f0fb"; +} + +.fa-fighter-jet { + --fa: "\f0fb"; +} + +.fa-beer-mug-empty { + --fa: "\f0fc"; +} + +.fa-beer { + --fa: "\f0fc"; +} + +.fa-square-h { + --fa: "\f0fd"; +} + +.fa-h-square { + --fa: "\f0fd"; +} + +.fa-square-plus { + --fa: "\f0fe"; +} + +.fa-plus-square { + --fa: "\f0fe"; +} + +.fa-angles-left { + --fa: "\f100"; +} + +.fa-angle-double-left { + --fa: "\f100"; +} + +.fa-angles-right { + --fa: "\f101"; +} + +.fa-angle-double-right { + --fa: "\f101"; +} + +.fa-angles-up { + --fa: "\f102"; +} + +.fa-angle-double-up { + --fa: "\f102"; +} + +.fa-angles-down { + --fa: "\f103"; +} + +.fa-angle-double-down { + --fa: "\f103"; +} + +.fa-angle-left { + --fa: "\f104"; +} + +.fa-angle-right { + --fa: "\f105"; +} + +.fa-angle-up { + --fa: "\f106"; +} + +.fa-angle-down { + --fa: "\f107"; +} + +.fa-laptop { + --fa: "\f109"; +} + +.fa-tablet-button { + --fa: "\f10a"; +} + +.fa-mobile-button { + --fa: "\f10b"; +} + +.fa-quote-left { + --fa: "\f10d"; +} + +.fa-quote-left-alt { + --fa: "\f10d"; +} + +.fa-quote-right { + --fa: "\f10e"; +} + +.fa-quote-right-alt { + --fa: "\f10e"; +} + +.fa-spinner { + --fa: "\f110"; +} + +.fa-circle { + --fa: "\f111"; +} + +.fa-face-smile { + --fa: "\f118"; +} + +.fa-smile { + --fa: "\f118"; +} + +.fa-face-frown { + --fa: "\f119"; +} + +.fa-frown { + --fa: "\f119"; +} + +.fa-face-meh { + --fa: "\f11a"; +} + +.fa-meh { + --fa: "\f11a"; +} + +.fa-gamepad { + --fa: "\f11b"; +} + +.fa-keyboard { + --fa: "\f11c"; +} + +.fa-flag-checkered { + --fa: "\f11e"; +} + +.fa-terminal { + --fa: "\f120"; +} + +.fa-code { + --fa: "\f121"; +} + +.fa-reply-all { + --fa: "\f122"; +} + +.fa-mail-reply-all { + --fa: "\f122"; +} + +.fa-location-arrow { + --fa: "\f124"; +} + +.fa-crop { + --fa: "\f125"; +} + +.fa-code-branch { + --fa: "\f126"; +} + +.fa-link-slash { + --fa: "\f127"; +} + +.fa-chain-broken { + --fa: "\f127"; +} + +.fa-chain-slash { + --fa: "\f127"; +} + +.fa-unlink { + --fa: "\f127"; +} + +.fa-info { + --fa: "\f129"; +} + +.fa-superscript { + --fa: "\f12b"; +} + +.fa-subscript { + --fa: "\f12c"; +} + +.fa-eraser { + --fa: "\f12d"; +} + +.fa-puzzle-piece { + --fa: "\f12e"; +} + +.fa-microphone { + --fa: "\f130"; +} + +.fa-microphone-slash { + --fa: "\f131"; +} + +.fa-shield { + --fa: "\f132"; +} + +.fa-shield-blank { + --fa: "\f132"; +} + +.fa-calendar { + --fa: "\f133"; +} + +.fa-fire-extinguisher { + --fa: "\f134"; +} + +.fa-rocket { + --fa: "\f135"; +} + +.fa-circle-chevron-left { + --fa: "\f137"; +} + +.fa-chevron-circle-left { + --fa: "\f137"; +} + +.fa-circle-chevron-right { + --fa: "\f138"; +} + +.fa-chevron-circle-right { + --fa: "\f138"; +} + +.fa-circle-chevron-up { + --fa: "\f139"; +} + +.fa-chevron-circle-up { + --fa: "\f139"; +} + +.fa-circle-chevron-down { + --fa: "\f13a"; +} + +.fa-chevron-circle-down { + --fa: "\f13a"; +} + +.fa-anchor { + --fa: "\f13d"; +} + +.fa-unlock-keyhole { + --fa: "\f13e"; +} + +.fa-unlock-alt { + --fa: "\f13e"; +} + +.fa-bullseye { + --fa: "\f140"; +} + +.fa-ellipsis { + --fa: "\f141"; +} + +.fa-ellipsis-h { + --fa: "\f141"; +} + +.fa-ellipsis-vertical { + --fa: "\f142"; +} + +.fa-ellipsis-v { + --fa: "\f142"; +} + +.fa-square-rss { + --fa: "\f143"; +} + +.fa-rss-square { + --fa: "\f143"; +} + +.fa-circle-play { + --fa: "\f144"; +} + +.fa-play-circle { + --fa: "\f144"; +} + +.fa-ticket { + --fa: "\f145"; +} + +.fa-square-minus { + --fa: "\f146"; +} + +.fa-minus-square { + --fa: "\f146"; +} + +.fa-arrow-turn-up { + --fa: "\f148"; +} + +.fa-level-up { + --fa: "\f148"; +} + +.fa-arrow-turn-down { + --fa: "\f149"; +} + +.fa-level-down { + --fa: "\f149"; +} + +.fa-square-check { + --fa: "\f14a"; +} + +.fa-check-square { + --fa: "\f14a"; +} + +.fa-square-pen { + --fa: "\f14b"; +} + +.fa-pen-square { + --fa: "\f14b"; +} + +.fa-pencil-square { + --fa: "\f14b"; +} + +.fa-square-arrow-up-right { + --fa: "\f14c"; +} + +.fa-external-link-square { + --fa: "\f14c"; +} + +.fa-share-from-square { + --fa: "\f14d"; +} + +.fa-share-square { + --fa: "\f14d"; +} + +.fa-compass { + --fa: "\f14e"; +} + +.fa-square-caret-down { + --fa: "\f150"; +} + +.fa-caret-square-down { + --fa: "\f150"; +} + +.fa-square-caret-up { + --fa: "\f151"; +} + +.fa-caret-square-up { + --fa: "\f151"; +} + +.fa-square-caret-right { + --fa: "\f152"; +} + +.fa-caret-square-right { + --fa: "\f152"; +} + +.fa-euro-sign { + --fa: "\f153"; +} + +.fa-eur { + --fa: "\f153"; +} + +.fa-euro { + --fa: "\f153"; +} + +.fa-sterling-sign { + --fa: "\f154"; +} + +.fa-gbp { + --fa: "\f154"; +} + +.fa-pound-sign { + --fa: "\f154"; +} + +.fa-rupee-sign { + --fa: "\f156"; +} + +.fa-rupee { + --fa: "\f156"; +} + +.fa-yen-sign { + --fa: "\f157"; +} + +.fa-cny { + --fa: "\f157"; +} + +.fa-jpy { + --fa: "\f157"; +} + +.fa-rmb { + --fa: "\f157"; +} + +.fa-yen { + --fa: "\f157"; +} + +.fa-ruble-sign { + --fa: "\f158"; +} + +.fa-rouble { + --fa: "\f158"; +} + +.fa-rub { + --fa: "\f158"; +} + +.fa-ruble { + --fa: "\f158"; +} + +.fa-won-sign { + --fa: "\f159"; +} + +.fa-krw { + --fa: "\f159"; +} + +.fa-won { + --fa: "\f159"; +} + +.fa-file { + --fa: "\f15b"; +} + +.fa-file-lines { + --fa: "\f15c"; +} + +.fa-file-alt { + --fa: "\f15c"; +} + +.fa-file-text { + --fa: "\f15c"; +} + +.fa-arrow-down-a-z { + --fa: "\f15d"; +} + +.fa-sort-alpha-asc { + --fa: "\f15d"; +} + +.fa-sort-alpha-down { + --fa: "\f15d"; +} + +.fa-arrow-up-a-z { + --fa: "\f15e"; +} + +.fa-sort-alpha-up { + --fa: "\f15e"; +} + +.fa-arrow-down-wide-short { + --fa: "\f160"; +} + +.fa-sort-amount-asc { + --fa: "\f160"; +} + +.fa-sort-amount-down { + --fa: "\f160"; +} + +.fa-arrow-up-wide-short { + --fa: "\f161"; +} + +.fa-sort-amount-up { + --fa: "\f161"; +} + +.fa-arrow-down-1-9 { + --fa: "\f162"; +} + +.fa-sort-numeric-asc { + --fa: "\f162"; +} + +.fa-sort-numeric-down { + --fa: "\f162"; +} + +.fa-arrow-up-1-9 { + --fa: "\f163"; +} + +.fa-sort-numeric-up { + --fa: "\f163"; +} + +.fa-thumbs-up { + --fa: "\f164"; +} + +.fa-thumbs-down { + --fa: "\f165"; +} + +.fa-arrow-down-long { + --fa: "\f175"; +} + +.fa-long-arrow-down { + --fa: "\f175"; +} + +.fa-arrow-up-long { + --fa: "\f176"; +} + +.fa-long-arrow-up { + --fa: "\f176"; +} + +.fa-arrow-left-long { + --fa: "\f177"; +} + +.fa-long-arrow-left { + --fa: "\f177"; +} + +.fa-arrow-right-long { + --fa: "\f178"; +} + +.fa-long-arrow-right { + --fa: "\f178"; +} + +.fa-person-dress { + --fa: "\f182"; +} + +.fa-female { + --fa: "\f182"; +} + +.fa-person { + --fa: "\f183"; +} + +.fa-male { + --fa: "\f183"; +} + +.fa-sun { + --fa: "\f185"; +} + +.fa-moon { + --fa: "\f186"; +} + +.fa-box-archive { + --fa: "\f187"; +} + +.fa-archive { + --fa: "\f187"; +} + +.fa-bug { + --fa: "\f188"; +} + +.fa-square-caret-left { + --fa: "\f191"; +} + +.fa-caret-square-left { + --fa: "\f191"; +} + +.fa-circle-dot { + --fa: "\f192"; +} + +.fa-dot-circle { + --fa: "\f192"; +} + +.fa-wheelchair { + --fa: "\f193"; +} + +.fa-lira-sign { + --fa: "\f195"; +} + +.fa-shuttle-space { + --fa: "\f197"; +} + +.fa-space-shuttle { + --fa: "\f197"; +} + +.fa-square-envelope { + --fa: "\f199"; +} + +.fa-envelope-square { + --fa: "\f199"; +} + +.fa-building-columns { + --fa: "\f19c"; +} + +.fa-bank { + --fa: "\f19c"; +} + +.fa-institution { + --fa: "\f19c"; +} + +.fa-museum { + --fa: "\f19c"; +} + +.fa-university { + --fa: "\f19c"; +} + +.fa-graduation-cap { + --fa: "\f19d"; +} + +.fa-mortar-board { + --fa: "\f19d"; +} + +.fa-language { + --fa: "\f1ab"; +} + +.fa-fax { + --fa: "\f1ac"; +} + +.fa-building { + --fa: "\f1ad"; +} + +.fa-child { + --fa: "\f1ae"; +} + +.fa-paw { + --fa: "\f1b0"; +} + +.fa-cube { + --fa: "\f1b2"; +} + +.fa-cubes { + --fa: "\f1b3"; +} + +.fa-recycle { + --fa: "\f1b8"; +} + +.fa-car { + --fa: "\f1b9"; +} + +.fa-automobile { + --fa: "\f1b9"; +} + +.fa-taxi { + --fa: "\f1ba"; +} + +.fa-cab { + --fa: "\f1ba"; +} + +.fa-tree { + --fa: "\f1bb"; +} + +.fa-database { + --fa: "\f1c0"; +} + +.fa-file-pdf { + --fa: "\f1c1"; +} + +.fa-file-word { + --fa: "\f1c2"; +} + +.fa-file-excel { + --fa: "\f1c3"; +} + +.fa-file-powerpoint { + --fa: "\f1c4"; +} + +.fa-file-image { + --fa: "\f1c5"; +} + +.fa-file-zipper { + --fa: "\f1c6"; +} + +.fa-file-archive { + --fa: "\f1c6"; +} + +.fa-file-audio { + --fa: "\f1c7"; +} + +.fa-file-video { + --fa: "\f1c8"; +} + +.fa-file-code { + --fa: "\f1c9"; +} + +.fa-life-ring { + --fa: "\f1cd"; +} + +.fa-circle-notch { + --fa: "\f1ce"; +} + +.fa-paper-plane { + --fa: "\f1d8"; +} + +.fa-clock-rotate-left { + --fa: "\f1da"; +} + +.fa-history { + --fa: "\f1da"; +} + +.fa-heading { + --fa: "\f1dc"; +} + +.fa-header { + --fa: "\f1dc"; +} + +.fa-paragraph { + --fa: "\f1dd"; +} + +.fa-sliders { + --fa: "\f1de"; +} + +.fa-sliders-h { + --fa: "\f1de"; +} + +.fa-share-nodes { + --fa: "\f1e0"; +} + +.fa-share-alt { + --fa: "\f1e0"; +} + +.fa-square-share-nodes { + --fa: "\f1e1"; +} + +.fa-share-alt-square { + --fa: "\f1e1"; +} + +.fa-bomb { + --fa: "\f1e2"; +} + +.fa-futbol { + --fa: "\f1e3"; +} + +.fa-futbol-ball { + --fa: "\f1e3"; +} + +.fa-soccer-ball { + --fa: "\f1e3"; +} + +.fa-tty { + --fa: "\f1e4"; +} + +.fa-teletype { + --fa: "\f1e4"; +} + +.fa-binoculars { + --fa: "\f1e5"; +} + +.fa-plug { + --fa: "\f1e6"; +} + +.fa-newspaper { + --fa: "\f1ea"; +} + +.fa-wifi { + --fa: "\f1eb"; +} + +.fa-wifi-3 { + --fa: "\f1eb"; +} + +.fa-wifi-strong { + --fa: "\f1eb"; +} + +.fa-calculator { + --fa: "\f1ec"; +} + +.fa-bell-slash { + --fa: "\f1f6"; +} + +.fa-trash { + --fa: "\f1f8"; +} + +.fa-copyright { + --fa: "\f1f9"; +} + +.fa-eye-dropper { + --fa: "\f1fb"; +} + +.fa-eye-dropper-empty { + --fa: "\f1fb"; +} + +.fa-eyedropper { + --fa: "\f1fb"; +} + +.fa-paintbrush { + --fa: "\f1fc"; +} + +.fa-paint-brush { + --fa: "\f1fc"; +} + +.fa-cake-candles { + --fa: "\f1fd"; +} + +.fa-birthday-cake { + --fa: "\f1fd"; +} + +.fa-cake { + --fa: "\f1fd"; +} + +.fa-chart-area { + --fa: "\f1fe"; +} + +.fa-area-chart { + --fa: "\f1fe"; +} + +.fa-chart-pie { + --fa: "\f200"; +} + +.fa-pie-chart { + --fa: "\f200"; +} + +.fa-chart-line { + --fa: "\f201"; +} + +.fa-line-chart { + --fa: "\f201"; +} + +.fa-toggle-off { + --fa: "\f204"; +} + +.fa-toggle-on { + --fa: "\f205"; +} + +.fa-bicycle { + --fa: "\f206"; +} + +.fa-bus { + --fa: "\f207"; +} + +.fa-closed-captioning { + --fa: "\f20a"; +} + +.fa-shekel-sign { + --fa: "\f20b"; +} + +.fa-ils { + --fa: "\f20b"; +} + +.fa-shekel { + --fa: "\f20b"; +} + +.fa-sheqel { + --fa: "\f20b"; +} + +.fa-sheqel-sign { + --fa: "\f20b"; +} + +.fa-cart-plus { + --fa: "\f217"; +} + +.fa-cart-arrow-down { + --fa: "\f218"; +} + +.fa-diamond { + --fa: "\f219"; +} + +.fa-ship { + --fa: "\f21a"; +} + +.fa-user-secret { + --fa: "\f21b"; +} + +.fa-motorcycle { + --fa: "\f21c"; +} + +.fa-street-view { + --fa: "\f21d"; +} + +.fa-heart-pulse { + --fa: "\f21e"; +} + +.fa-heartbeat { + --fa: "\f21e"; +} + +.fa-venus { + --fa: "\f221"; +} + +.fa-mars { + --fa: "\f222"; +} + +.fa-mercury { + --fa: "\f223"; +} + +.fa-mars-and-venus { + --fa: "\f224"; +} + +.fa-transgender { + --fa: "\f225"; +} + +.fa-transgender-alt { + --fa: "\f225"; +} + +.fa-venus-double { + --fa: "\f226"; +} + +.fa-mars-double { + --fa: "\f227"; +} + +.fa-venus-mars { + --fa: "\f228"; +} + +.fa-mars-stroke { + --fa: "\f229"; +} + +.fa-mars-stroke-up { + --fa: "\f22a"; +} + +.fa-mars-stroke-v { + --fa: "\f22a"; +} + +.fa-mars-stroke-right { + --fa: "\f22b"; +} + +.fa-mars-stroke-h { + --fa: "\f22b"; +} + +.fa-neuter { + --fa: "\f22c"; +} + +.fa-genderless { + --fa: "\f22d"; +} + +.fa-server { + --fa: "\f233"; +} + +.fa-user-plus { + --fa: "\f234"; +} + +.fa-user-xmark { + --fa: "\f235"; +} + +.fa-user-times { + --fa: "\f235"; +} + +.fa-bed { + --fa: "\f236"; +} + +.fa-train { + --fa: "\f238"; +} + +.fa-train-subway { + --fa: "\f239"; +} + +.fa-subway { + --fa: "\f239"; +} + +.fa-battery-full { + --fa: "\f240"; +} + +.fa-battery { + --fa: "\f240"; +} + +.fa-battery-5 { + --fa: "\f240"; +} + +.fa-battery-three-quarters { + --fa: "\f241"; +} + +.fa-battery-4 { + --fa: "\f241"; +} + +.fa-battery-half { + --fa: "\f242"; +} + +.fa-battery-3 { + --fa: "\f242"; +} + +.fa-battery-quarter { + --fa: "\f243"; +} + +.fa-battery-2 { + --fa: "\f243"; +} + +.fa-battery-empty { + --fa: "\f244"; +} + +.fa-battery-0 { + --fa: "\f244"; +} + +.fa-arrow-pointer { + --fa: "\f245"; +} + +.fa-mouse-pointer { + --fa: "\f245"; +} + +.fa-i-cursor { + --fa: "\f246"; +} + +.fa-object-group { + --fa: "\f247"; +} + +.fa-object-ungroup { + --fa: "\f248"; +} + +.fa-note-sticky { + --fa: "\f249"; +} + +.fa-sticky-note { + --fa: "\f249"; +} + +.fa-clone { + --fa: "\f24d"; +} + +.fa-scale-balanced { + --fa: "\f24e"; +} + +.fa-balance-scale { + --fa: "\f24e"; +} + +.fa-hourglass-start { + --fa: "\f251"; +} + +.fa-hourglass-1 { + --fa: "\f251"; +} + +.fa-hourglass-half { + --fa: "\f252"; +} + +.fa-hourglass-2 { + --fa: "\f252"; +} + +.fa-hourglass-end { + --fa: "\f253"; +} + +.fa-hourglass-3 { + --fa: "\f253"; +} + +.fa-hourglass { + --fa: "\f254"; +} + +.fa-hourglass-empty { + --fa: "\f254"; +} + +.fa-hand-back-fist { + --fa: "\f255"; +} + +.fa-hand-rock { + --fa: "\f255"; +} + +.fa-hand { + --fa: "\f256"; +} + +.fa-hand-paper { + --fa: "\f256"; +} + +.fa-hand-scissors { + --fa: "\f257"; +} + +.fa-hand-lizard { + --fa: "\f258"; +} + +.fa-hand-spock { + --fa: "\f259"; +} + +.fa-hand-pointer { + --fa: "\f25a"; +} + +.fa-hand-peace { + --fa: "\f25b"; +} + +.fa-trademark { + --fa: "\f25c"; +} + +.fa-registered { + --fa: "\f25d"; +} + +.fa-tv { + --fa: "\f26c"; +} + +.fa-television { + --fa: "\f26c"; +} + +.fa-tv-alt { + --fa: "\f26c"; +} + +.fa-calendar-plus { + --fa: "\f271"; +} + +.fa-calendar-minus { + --fa: "\f272"; +} + +.fa-calendar-xmark { + --fa: "\f273"; +} + +.fa-calendar-times { + --fa: "\f273"; +} + +.fa-calendar-check { + --fa: "\f274"; +} + +.fa-industry { + --fa: "\f275"; +} + +.fa-map-pin { + --fa: "\f276"; +} + +.fa-signs-post { + --fa: "\f277"; +} + +.fa-map-signs { + --fa: "\f277"; +} + +.fa-map { + --fa: "\f279"; +} + +.fa-message { + --fa: "\f27a"; +} + +.fa-comment-alt { + --fa: "\f27a"; +} + +.fa-circle-pause { + --fa: "\f28b"; +} + +.fa-pause-circle { + --fa: "\f28b"; +} + +.fa-circle-stop { + --fa: "\f28d"; +} + +.fa-stop-circle { + --fa: "\f28d"; +} + +.fa-bag-shopping { + --fa: "\f290"; +} + +.fa-shopping-bag { + --fa: "\f290"; +} + +.fa-basket-shopping { + --fa: "\f291"; +} + +.fa-shopping-basket { + --fa: "\f291"; +} + +.fa-universal-access { + --fa: "\f29a"; +} + +.fa-person-walking-with-cane { + --fa: "\f29d"; +} + +.fa-blind { + --fa: "\f29d"; +} + +.fa-audio-description { + --fa: "\f29e"; +} + +.fa-phone-volume { + --fa: "\f2a0"; +} + +.fa-volume-control-phone { + --fa: "\f2a0"; +} + +.fa-braille { + --fa: "\f2a1"; +} + +.fa-ear-listen { + --fa: "\f2a2"; +} + +.fa-assistive-listening-systems { + --fa: "\f2a2"; +} + +.fa-hands-asl-interpreting { + --fa: "\f2a3"; +} + +.fa-american-sign-language-interpreting { + --fa: "\f2a3"; +} + +.fa-asl-interpreting { + --fa: "\f2a3"; +} + +.fa-hands-american-sign-language-interpreting { + --fa: "\f2a3"; +} + +.fa-ear-deaf { + --fa: "\f2a4"; +} + +.fa-deaf { + --fa: "\f2a4"; +} + +.fa-deafness { + --fa: "\f2a4"; +} + +.fa-hard-of-hearing { + --fa: "\f2a4"; +} + +.fa-hands { + --fa: "\f2a7"; +} + +.fa-sign-language { + --fa: "\f2a7"; +} + +.fa-signing { + --fa: "\f2a7"; +} + +.fa-eye-low-vision { + --fa: "\f2a8"; +} + +.fa-low-vision { + --fa: "\f2a8"; +} + +.fa-font-awesome { + --fa: "\f2b4"; +} + +.fa-font-awesome-flag { + --fa: "\f2b4"; +} + +.fa-font-awesome-logo-full { + --fa: "\f2b4"; +} + +.fa-handshake { + --fa: "\f2b5"; +} + +.fa-handshake-alt { + --fa: "\f2b5"; +} + +.fa-handshake-simple { + --fa: "\f2b5"; +} + +.fa-envelope-open { + --fa: "\f2b6"; +} + +.fa-address-book { + --fa: "\f2b9"; +} + +.fa-contact-book { + --fa: "\f2b9"; +} + +.fa-address-card { + --fa: "\f2bb"; +} + +.fa-contact-card { + --fa: "\f2bb"; +} + +.fa-vcard { + --fa: "\f2bb"; +} + +.fa-circle-user { + --fa: "\f2bd"; +} + +.fa-user-circle { + --fa: "\f2bd"; +} + +.fa-id-badge { + --fa: "\f2c1"; +} + +.fa-id-card { + --fa: "\f2c2"; +} + +.fa-drivers-license { + --fa: "\f2c2"; +} + +.fa-temperature-full { + --fa: "\f2c7"; +} + +.fa-temperature-4 { + --fa: "\f2c7"; +} + +.fa-thermometer-4 { + --fa: "\f2c7"; +} + +.fa-thermometer-full { + --fa: "\f2c7"; +} + +.fa-temperature-three-quarters { + --fa: "\f2c8"; +} + +.fa-temperature-3 { + --fa: "\f2c8"; +} + +.fa-thermometer-3 { + --fa: "\f2c8"; +} + +.fa-thermometer-three-quarters { + --fa: "\f2c8"; +} + +.fa-temperature-half { + --fa: "\f2c9"; +} + +.fa-temperature-2 { + --fa: "\f2c9"; +} + +.fa-thermometer-2 { + --fa: "\f2c9"; +} + +.fa-thermometer-half { + --fa: "\f2c9"; +} + +.fa-temperature-quarter { + --fa: "\f2ca"; +} + +.fa-temperature-1 { + --fa: "\f2ca"; +} + +.fa-thermometer-1 { + --fa: "\f2ca"; +} + +.fa-thermometer-quarter { + --fa: "\f2ca"; +} + +.fa-temperature-empty { + --fa: "\f2cb"; +} + +.fa-temperature-0 { + --fa: "\f2cb"; +} + +.fa-thermometer-0 { + --fa: "\f2cb"; +} + +.fa-thermometer-empty { + --fa: "\f2cb"; +} + +.fa-shower { + --fa: "\f2cc"; +} + +.fa-bath { + --fa: "\f2cd"; +} + +.fa-bathtub { + --fa: "\f2cd"; +} + +.fa-podcast { + --fa: "\f2ce"; +} + +.fa-window-maximize { + --fa: "\f2d0"; +} + +.fa-window-minimize { + --fa: "\f2d1"; +} + +.fa-window-restore { + --fa: "\f2d2"; +} + +.fa-square-xmark { + --fa: "\f2d3"; +} + +.fa-times-square { + --fa: "\f2d3"; +} + +.fa-xmark-square { + --fa: "\f2d3"; +} + +.fa-microchip { + --fa: "\f2db"; +} + +.fa-snowflake { + --fa: "\f2dc"; +} + +.fa-spoon { + --fa: "\f2e5"; +} + +.fa-utensil-spoon { + --fa: "\f2e5"; +} + +.fa-utensils { + --fa: "\f2e7"; +} + +.fa-cutlery { + --fa: "\f2e7"; +} + +.fa-rotate-left { + --fa: "\f2ea"; +} + +.fa-rotate-back { + --fa: "\f2ea"; +} + +.fa-rotate-backward { + --fa: "\f2ea"; +} + +.fa-undo-alt { + --fa: "\f2ea"; +} + +.fa-trash-can { + --fa: "\f2ed"; +} + +.fa-trash-alt { + --fa: "\f2ed"; +} + +.fa-rotate { + --fa: "\f2f1"; +} + +.fa-sync-alt { + --fa: "\f2f1"; +} + +.fa-stopwatch { + --fa: "\f2f2"; +} + +.fa-right-from-bracket { + --fa: "\f2f5"; +} + +.fa-sign-out-alt { + --fa: "\f2f5"; +} + +.fa-right-to-bracket { + --fa: "\f2f6"; +} + +.fa-sign-in-alt { + --fa: "\f2f6"; +} + +.fa-rotate-right { + --fa: "\f2f9"; +} + +.fa-redo-alt { + --fa: "\f2f9"; +} + +.fa-rotate-forward { + --fa: "\f2f9"; +} + +.fa-poo { + --fa: "\f2fe"; +} + +.fa-images { + --fa: "\f302"; +} + +.fa-pencil { + --fa: "\f303"; +} + +.fa-pencil-alt { + --fa: "\f303"; +} + +.fa-pen { + --fa: "\f304"; +} + +.fa-pen-clip { + --fa: "\f305"; +} + +.fa-pen-alt { + --fa: "\f305"; +} + +.fa-octagon { + --fa: "\f306"; +} + +.fa-down-long { + --fa: "\f309"; +} + +.fa-long-arrow-alt-down { + --fa: "\f309"; +} + +.fa-left-long { + --fa: "\f30a"; +} + +.fa-long-arrow-alt-left { + --fa: "\f30a"; +} + +.fa-right-long { + --fa: "\f30b"; +} + +.fa-long-arrow-alt-right { + --fa: "\f30b"; +} + +.fa-up-long { + --fa: "\f30c"; +} + +.fa-long-arrow-alt-up { + --fa: "\f30c"; +} + +.fa-hexagon { + --fa: "\f312"; +} + +.fa-file-pen { + --fa: "\f31c"; +} + +.fa-file-edit { + --fa: "\f31c"; +} + +.fa-maximize { + --fa: "\f31e"; +} + +.fa-expand-arrows-alt { + --fa: "\f31e"; +} + +.fa-clipboard { + --fa: "\f328"; +} + +.fa-left-right { + --fa: "\f337"; +} + +.fa-arrows-alt-h { + --fa: "\f337"; +} + +.fa-up-down { + --fa: "\f338"; +} + +.fa-arrows-alt-v { + --fa: "\f338"; +} + +.fa-alarm-clock { + --fa: "\f34e"; +} + +.fa-circle-down { + --fa: "\f358"; +} + +.fa-arrow-alt-circle-down { + --fa: "\f358"; +} + +.fa-circle-left { + --fa: "\f359"; +} + +.fa-arrow-alt-circle-left { + --fa: "\f359"; +} + +.fa-circle-right { + --fa: "\f35a"; +} + +.fa-arrow-alt-circle-right { + --fa: "\f35a"; +} + +.fa-circle-up { + --fa: "\f35b"; +} + +.fa-arrow-alt-circle-up { + --fa: "\f35b"; +} + +.fa-up-right-from-square { + --fa: "\f35d"; +} + +.fa-external-link-alt { + --fa: "\f35d"; +} + +.fa-square-up-right { + --fa: "\f360"; +} + +.fa-external-link-square-alt { + --fa: "\f360"; +} + +.fa-right-left { + --fa: "\f362"; +} + +.fa-exchange-alt { + --fa: "\f362"; +} + +.fa-repeat { + --fa: "\f363"; +} + +.fa-code-commit { + --fa: "\f386"; +} + +.fa-code-merge { + --fa: "\f387"; +} + +.fa-desktop { + --fa: "\f390"; +} + +.fa-desktop-alt { + --fa: "\f390"; +} + +.fa-gem { + --fa: "\f3a5"; +} + +.fa-turn-down { + --fa: "\f3be"; +} + +.fa-level-down-alt { + --fa: "\f3be"; +} + +.fa-turn-up { + --fa: "\f3bf"; +} + +.fa-level-up-alt { + --fa: "\f3bf"; +} + +.fa-lock-open { + --fa: "\f3c1"; +} + +.fa-location-dot { + --fa: "\f3c5"; +} + +.fa-map-marker-alt { + --fa: "\f3c5"; +} + +.fa-microphone-lines { + --fa: "\f3c9"; +} + +.fa-microphone-alt { + --fa: "\f3c9"; +} + +.fa-mobile-screen-button { + --fa: "\f3cd"; +} + +.fa-mobile-alt { + --fa: "\f3cd"; +} + +.fa-mobile { + --fa: "\f3ce"; +} + +.fa-mobile-android { + --fa: "\f3ce"; +} + +.fa-mobile-phone { + --fa: "\f3ce"; +} + +.fa-mobile-screen { + --fa: "\f3cf"; +} + +.fa-mobile-android-alt { + --fa: "\f3cf"; +} + +.fa-money-bill-1 { + --fa: "\f3d1"; +} + +.fa-money-bill-alt { + --fa: "\f3d1"; +} + +.fa-phone-slash { + --fa: "\f3dd"; +} + +.fa-image-portrait { + --fa: "\f3e0"; +} + +.fa-portrait { + --fa: "\f3e0"; +} + +.fa-reply { + --fa: "\f3e5"; +} + +.fa-mail-reply { + --fa: "\f3e5"; +} + +.fa-shield-halved { + --fa: "\f3ed"; +} + +.fa-shield-alt { + --fa: "\f3ed"; +} + +.fa-tablet-screen-button { + --fa: "\f3fa"; +} + +.fa-tablet-alt { + --fa: "\f3fa"; +} + +.fa-tablet { + --fa: "\f3fb"; +} + +.fa-tablet-android { + --fa: "\f3fb"; +} + +.fa-ticket-simple { + --fa: "\f3ff"; +} + +.fa-ticket-alt { + --fa: "\f3ff"; +} + +.fa-rectangle-xmark { + --fa: "\f410"; +} + +.fa-rectangle-times { + --fa: "\f410"; +} + +.fa-times-rectangle { + --fa: "\f410"; +} + +.fa-window-close { + --fa: "\f410"; +} + +.fa-down-left-and-up-right-to-center { + --fa: "\f422"; +} + +.fa-compress-alt { + --fa: "\f422"; +} + +.fa-up-right-and-down-left-from-center { + --fa: "\f424"; +} + +.fa-expand-alt { + --fa: "\f424"; +} + +.fa-baseball-bat-ball { + --fa: "\f432"; +} + +.fa-baseball { + --fa: "\f433"; +} + +.fa-baseball-ball { + --fa: "\f433"; +} + +.fa-basketball { + --fa: "\f434"; +} + +.fa-basketball-ball { + --fa: "\f434"; +} + +.fa-bowling-ball { + --fa: "\f436"; +} + +.fa-chess { + --fa: "\f439"; +} + +.fa-chess-bishop { + --fa: "\f43a"; +} + +.fa-chess-board { + --fa: "\f43c"; +} + +.fa-chess-king { + --fa: "\f43f"; +} + +.fa-chess-knight { + --fa: "\f441"; +} + +.fa-chess-pawn { + --fa: "\f443"; +} + +.fa-chess-queen { + --fa: "\f445"; +} + +.fa-chess-rook { + --fa: "\f447"; +} + +.fa-dumbbell { + --fa: "\f44b"; +} + +.fa-football { + --fa: "\f44e"; +} + +.fa-football-ball { + --fa: "\f44e"; +} + +.fa-golf-ball-tee { + --fa: "\f450"; +} + +.fa-golf-ball { + --fa: "\f450"; +} + +.fa-hockey-puck { + --fa: "\f453"; +} + +.fa-broom-ball { + --fa: "\f458"; +} + +.fa-quidditch { + --fa: "\f458"; +} + +.fa-quidditch-broom-ball { + --fa: "\f458"; +} + +.fa-square-full { + --fa: "\f45c"; +} + +.fa-table-tennis-paddle-ball { + --fa: "\f45d"; +} + +.fa-ping-pong-paddle-ball { + --fa: "\f45d"; +} + +.fa-table-tennis { + --fa: "\f45d"; +} + +.fa-volleyball { + --fa: "\f45f"; +} + +.fa-volleyball-ball { + --fa: "\f45f"; +} + +.fa-hand-dots { + --fa: "\f461"; +} + +.fa-allergies { + --fa: "\f461"; +} + +.fa-bandage { + --fa: "\f462"; +} + +.fa-band-aid { + --fa: "\f462"; +} + +.fa-box { + --fa: "\f466"; +} + +.fa-boxes-stacked { + --fa: "\f468"; +} + +.fa-boxes { + --fa: "\f468"; +} + +.fa-boxes-alt { + --fa: "\f468"; +} + +.fa-briefcase-medical { + --fa: "\f469"; +} + +.fa-fire-flame-simple { + --fa: "\f46a"; +} + +.fa-burn { + --fa: "\f46a"; +} + +.fa-capsules { + --fa: "\f46b"; +} + +.fa-clipboard-check { + --fa: "\f46c"; +} + +.fa-clipboard-list { + --fa: "\f46d"; +} + +.fa-person-dots-from-line { + --fa: "\f470"; +} + +.fa-diagnoses { + --fa: "\f470"; +} + +.fa-dna { + --fa: "\f471"; +} + +.fa-dolly { + --fa: "\f472"; +} + +.fa-dolly-box { + --fa: "\f472"; +} + +.fa-cart-flatbed { + --fa: "\f474"; +} + +.fa-dolly-flatbed { + --fa: "\f474"; +} + +.fa-file-medical { + --fa: "\f477"; +} + +.fa-file-waveform { + --fa: "\f478"; +} + +.fa-file-medical-alt { + --fa: "\f478"; +} + +.fa-kit-medical { + --fa: "\f479"; +} + +.fa-first-aid { + --fa: "\f479"; +} + +.fa-circle-h { + --fa: "\f47e"; +} + +.fa-hospital-symbol { + --fa: "\f47e"; +} + +.fa-id-card-clip { + --fa: "\f47f"; +} + +.fa-id-card-alt { + --fa: "\f47f"; +} + +.fa-notes-medical { + --fa: "\f481"; +} + +.fa-pallet { + --fa: "\f482"; +} + +.fa-pills { + --fa: "\f484"; +} + +.fa-prescription-bottle { + --fa: "\f485"; +} + +.fa-prescription-bottle-medical { + --fa: "\f486"; +} + +.fa-prescription-bottle-alt { + --fa: "\f486"; +} + +.fa-bed-pulse { + --fa: "\f487"; +} + +.fa-procedures { + --fa: "\f487"; +} + +.fa-truck-fast { + --fa: "\f48b"; +} + +.fa-shipping-fast { + --fa: "\f48b"; +} + +.fa-smoking { + --fa: "\f48d"; +} + +.fa-syringe { + --fa: "\f48e"; +} + +.fa-tablets { + --fa: "\f490"; +} + +.fa-thermometer { + --fa: "\f491"; +} + +.fa-vial { + --fa: "\f492"; +} + +.fa-vials { + --fa: "\f493"; +} + +.fa-warehouse { + --fa: "\f494"; +} + +.fa-weight-scale { + --fa: "\f496"; +} + +.fa-weight { + --fa: "\f496"; +} + +.fa-x-ray { + --fa: "\f497"; +} + +.fa-box-open { + --fa: "\f49e"; +} + +.fa-comment-dots { + --fa: "\f4ad"; +} + +.fa-commenting { + --fa: "\f4ad"; +} + +.fa-comment-slash { + --fa: "\f4b3"; +} + +.fa-couch { + --fa: "\f4b8"; +} + +.fa-circle-dollar-to-slot { + --fa: "\f4b9"; +} + +.fa-donate { + --fa: "\f4b9"; +} + +.fa-dove { + --fa: "\f4ba"; +} + +.fa-hand-holding { + --fa: "\f4bd"; +} + +.fa-hand-holding-heart { + --fa: "\f4be"; +} + +.fa-hand-holding-dollar { + --fa: "\f4c0"; +} + +.fa-hand-holding-usd { + --fa: "\f4c0"; +} + +.fa-hand-holding-droplet { + --fa: "\f4c1"; +} + +.fa-hand-holding-water { + --fa: "\f4c1"; +} + +.fa-hands-holding { + --fa: "\f4c2"; +} + +.fa-handshake-angle { + --fa: "\f4c4"; +} + +.fa-hands-helping { + --fa: "\f4c4"; +} + +.fa-parachute-box { + --fa: "\f4cd"; +} + +.fa-people-carry-box { + --fa: "\f4ce"; +} + +.fa-people-carry { + --fa: "\f4ce"; +} + +.fa-piggy-bank { + --fa: "\f4d3"; +} + +.fa-ribbon { + --fa: "\f4d6"; +} + +.fa-route { + --fa: "\f4d7"; +} + +.fa-seedling { + --fa: "\f4d8"; +} + +.fa-sprout { + --fa: "\f4d8"; +} + +.fa-sign-hanging { + --fa: "\f4d9"; +} + +.fa-sign { + --fa: "\f4d9"; +} + +.fa-face-smile-wink { + --fa: "\f4da"; +} + +.fa-smile-wink { + --fa: "\f4da"; +} + +.fa-tape { + --fa: "\f4db"; +} + +.fa-truck-ramp-box { + --fa: "\f4de"; +} + +.fa-truck-loading { + --fa: "\f4de"; +} + +.fa-truck-moving { + --fa: "\f4df"; +} + +.fa-video-slash { + --fa: "\f4e2"; +} + +.fa-wine-glass { + --fa: "\f4e3"; +} + +.fa-user-astronaut { + --fa: "\f4fb"; +} + +.fa-user-check { + --fa: "\f4fc"; +} + +.fa-user-clock { + --fa: "\f4fd"; +} + +.fa-user-gear { + --fa: "\f4fe"; +} + +.fa-user-cog { + --fa: "\f4fe"; +} + +.fa-user-pen { + --fa: "\f4ff"; +} + +.fa-user-edit { + --fa: "\f4ff"; +} + +.fa-user-group { + --fa: "\f500"; +} + +.fa-user-friends { + --fa: "\f500"; +} + +.fa-user-graduate { + --fa: "\f501"; +} + +.fa-user-lock { + --fa: "\f502"; +} + +.fa-user-minus { + --fa: "\f503"; +} + +.fa-user-ninja { + --fa: "\f504"; +} + +.fa-user-shield { + --fa: "\f505"; +} + +.fa-user-slash { + --fa: "\f506"; +} + +.fa-user-alt-slash { + --fa: "\f506"; +} + +.fa-user-large-slash { + --fa: "\f506"; +} + +.fa-user-tag { + --fa: "\f507"; +} + +.fa-user-tie { + --fa: "\f508"; +} + +.fa-users-gear { + --fa: "\f509"; +} + +.fa-users-cog { + --fa: "\f509"; +} + +.fa-scale-unbalanced { + --fa: "\f515"; +} + +.fa-balance-scale-left { + --fa: "\f515"; +} + +.fa-scale-unbalanced-flip { + --fa: "\f516"; +} + +.fa-balance-scale-right { + --fa: "\f516"; +} + +.fa-blender { + --fa: "\f517"; +} + +.fa-book-open { + --fa: "\f518"; +} + +.fa-tower-broadcast { + --fa: "\f519"; +} + +.fa-broadcast-tower { + --fa: "\f519"; +} + +.fa-broom { + --fa: "\f51a"; +} + +.fa-chalkboard { + --fa: "\f51b"; +} + +.fa-blackboard { + --fa: "\f51b"; +} + +.fa-chalkboard-user { + --fa: "\f51c"; +} + +.fa-chalkboard-teacher { + --fa: "\f51c"; +} + +.fa-church { + --fa: "\f51d"; +} + +.fa-coins { + --fa: "\f51e"; +} + +.fa-compact-disc { + --fa: "\f51f"; +} + +.fa-crow { + --fa: "\f520"; +} + +.fa-crown { + --fa: "\f521"; +} + +.fa-dice { + --fa: "\f522"; +} + +.fa-dice-five { + --fa: "\f523"; +} + +.fa-dice-four { + --fa: "\f524"; +} + +.fa-dice-one { + --fa: "\f525"; +} + +.fa-dice-six { + --fa: "\f526"; +} + +.fa-dice-three { + --fa: "\f527"; +} + +.fa-dice-two { + --fa: "\f528"; +} + +.fa-divide { + --fa: "\f529"; +} + +.fa-door-closed { + --fa: "\f52a"; +} + +.fa-door-open { + --fa: "\f52b"; +} + +.fa-feather { + --fa: "\f52d"; +} + +.fa-frog { + --fa: "\f52e"; +} + +.fa-gas-pump { + --fa: "\f52f"; +} + +.fa-glasses { + --fa: "\f530"; +} + +.fa-greater-than-equal { + --fa: "\f532"; +} + +.fa-helicopter { + --fa: "\f533"; +} + +.fa-infinity { + --fa: "\f534"; +} + +.fa-kiwi-bird { + --fa: "\f535"; +} + +.fa-less-than-equal { + --fa: "\f537"; +} + +.fa-memory { + --fa: "\f538"; +} + +.fa-microphone-lines-slash { + --fa: "\f539"; +} + +.fa-microphone-alt-slash { + --fa: "\f539"; +} + +.fa-money-bill-wave { + --fa: "\f53a"; +} + +.fa-money-bill-1-wave { + --fa: "\f53b"; +} + +.fa-money-bill-wave-alt { + --fa: "\f53b"; +} + +.fa-money-check { + --fa: "\f53c"; +} + +.fa-money-check-dollar { + --fa: "\f53d"; +} + +.fa-money-check-alt { + --fa: "\f53d"; +} + +.fa-not-equal { + --fa: "\f53e"; +} + +.fa-palette { + --fa: "\f53f"; +} + +.fa-square-parking { + --fa: "\f540"; +} + +.fa-parking { + --fa: "\f540"; +} + +.fa-diagram-project { + --fa: "\f542"; +} + +.fa-project-diagram { + --fa: "\f542"; +} + +.fa-receipt { + --fa: "\f543"; +} + +.fa-robot { + --fa: "\f544"; +} + +.fa-ruler { + --fa: "\f545"; +} + +.fa-ruler-combined { + --fa: "\f546"; +} + +.fa-ruler-horizontal { + --fa: "\f547"; +} + +.fa-ruler-vertical { + --fa: "\f548"; +} + +.fa-school { + --fa: "\f549"; +} + +.fa-screwdriver { + --fa: "\f54a"; +} + +.fa-shoe-prints { + --fa: "\f54b"; +} + +.fa-skull { + --fa: "\f54c"; +} + +.fa-ban-smoking { + --fa: "\f54d"; +} + +.fa-smoking-ban { + --fa: "\f54d"; +} + +.fa-store { + --fa: "\f54e"; +} + +.fa-shop { + --fa: "\f54f"; +} + +.fa-store-alt { + --fa: "\f54f"; +} + +.fa-bars-staggered { + --fa: "\f550"; +} + +.fa-reorder { + --fa: "\f550"; +} + +.fa-stream { + --fa: "\f550"; +} + +.fa-stroopwafel { + --fa: "\f551"; +} + +.fa-toolbox { + --fa: "\f552"; +} + +.fa-shirt { + --fa: "\f553"; +} + +.fa-t-shirt { + --fa: "\f553"; +} + +.fa-tshirt { + --fa: "\f553"; +} + +.fa-person-walking { + --fa: "\f554"; +} + +.fa-walking { + --fa: "\f554"; +} + +.fa-wallet { + --fa: "\f555"; +} + +.fa-face-angry { + --fa: "\f556"; +} + +.fa-angry { + --fa: "\f556"; +} + +.fa-archway { + --fa: "\f557"; +} + +.fa-book-atlas { + --fa: "\f558"; +} + +.fa-atlas { + --fa: "\f558"; +} + +.fa-award { + --fa: "\f559"; +} + +.fa-delete-left { + --fa: "\f55a"; +} + +.fa-backspace { + --fa: "\f55a"; +} + +.fa-bezier-curve { + --fa: "\f55b"; +} + +.fa-bong { + --fa: "\f55c"; +} + +.fa-brush { + --fa: "\f55d"; +} + +.fa-bus-simple { + --fa: "\f55e"; +} + +.fa-bus-alt { + --fa: "\f55e"; +} + +.fa-cannabis { + --fa: "\f55f"; +} + +.fa-check-double { + --fa: "\f560"; +} + +.fa-martini-glass-citrus { + --fa: "\f561"; +} + +.fa-cocktail { + --fa: "\f561"; +} + +.fa-bell-concierge { + --fa: "\f562"; +} + +.fa-concierge-bell { + --fa: "\f562"; +} + +.fa-cookie { + --fa: "\f563"; +} + +.fa-cookie-bite { + --fa: "\f564"; +} + +.fa-crop-simple { + --fa: "\f565"; +} + +.fa-crop-alt { + --fa: "\f565"; +} + +.fa-tachograph-digital { + --fa: "\f566"; +} + +.fa-digital-tachograph { + --fa: "\f566"; +} + +.fa-face-dizzy { + --fa: "\f567"; +} + +.fa-dizzy { + --fa: "\f567"; +} + +.fa-compass-drafting { + --fa: "\f568"; +} + +.fa-drafting-compass { + --fa: "\f568"; +} + +.fa-drum { + --fa: "\f569"; +} + +.fa-drum-steelpan { + --fa: "\f56a"; +} + +.fa-feather-pointed { + --fa: "\f56b"; +} + +.fa-feather-alt { + --fa: "\f56b"; +} + +.fa-file-contract { + --fa: "\f56c"; +} + +.fa-file-arrow-down { + --fa: "\f56d"; +} + +.fa-file-download { + --fa: "\f56d"; +} + +.fa-file-export { + --fa: "\f56e"; +} + +.fa-arrow-right-from-file { + --fa: "\f56e"; +} + +.fa-file-import { + --fa: "\f56f"; +} + +.fa-arrow-right-to-file { + --fa: "\f56f"; +} + +.fa-file-invoice { + --fa: "\f570"; +} + +.fa-file-invoice-dollar { + --fa: "\f571"; +} + +.fa-file-prescription { + --fa: "\f572"; +} + +.fa-file-signature { + --fa: "\f573"; +} + +.fa-file-arrow-up { + --fa: "\f574"; +} + +.fa-file-upload { + --fa: "\f574"; +} + +.fa-fill { + --fa: "\f575"; +} + +.fa-fill-drip { + --fa: "\f576"; +} + +.fa-fingerprint { + --fa: "\f577"; +} + +.fa-fish { + --fa: "\f578"; +} + +.fa-face-flushed { + --fa: "\f579"; +} + +.fa-flushed { + --fa: "\f579"; +} + +.fa-face-frown-open { + --fa: "\f57a"; +} + +.fa-frown-open { + --fa: "\f57a"; +} + +.fa-martini-glass { + --fa: "\f57b"; +} + +.fa-glass-martini-alt { + --fa: "\f57b"; +} + +.fa-earth-africa { + --fa: "\f57c"; +} + +.fa-globe-africa { + --fa: "\f57c"; +} + +.fa-earth-americas { + --fa: "\f57d"; +} + +.fa-earth { + --fa: "\f57d"; +} + +.fa-earth-america { + --fa: "\f57d"; +} + +.fa-globe-americas { + --fa: "\f57d"; +} + +.fa-earth-asia { + --fa: "\f57e"; +} + +.fa-globe-asia { + --fa: "\f57e"; +} + +.fa-face-grimace { + --fa: "\f57f"; +} + +.fa-grimace { + --fa: "\f57f"; +} + +.fa-face-grin { + --fa: "\f580"; +} + +.fa-grin { + --fa: "\f580"; +} + +.fa-face-grin-wide { + --fa: "\f581"; +} + +.fa-grin-alt { + --fa: "\f581"; +} + +.fa-face-grin-beam { + --fa: "\f582"; +} + +.fa-grin-beam { + --fa: "\f582"; +} + +.fa-face-grin-beam-sweat { + --fa: "\f583"; +} + +.fa-grin-beam-sweat { + --fa: "\f583"; +} + +.fa-face-grin-hearts { + --fa: "\f584"; +} + +.fa-grin-hearts { + --fa: "\f584"; +} + +.fa-face-grin-squint { + --fa: "\f585"; +} + +.fa-grin-squint { + --fa: "\f585"; +} + +.fa-face-grin-squint-tears { + --fa: "\f586"; +} + +.fa-grin-squint-tears { + --fa: "\f586"; +} + +.fa-face-grin-stars { + --fa: "\f587"; +} + +.fa-grin-stars { + --fa: "\f587"; +} + +.fa-face-grin-tears { + --fa: "\f588"; +} + +.fa-grin-tears { + --fa: "\f588"; +} + +.fa-face-grin-tongue { + --fa: "\f589"; +} + +.fa-grin-tongue { + --fa: "\f589"; +} + +.fa-face-grin-tongue-squint { + --fa: "\f58a"; +} + +.fa-grin-tongue-squint { + --fa: "\f58a"; +} + +.fa-face-grin-tongue-wink { + --fa: "\f58b"; +} + +.fa-grin-tongue-wink { + --fa: "\f58b"; +} + +.fa-face-grin-wink { + --fa: "\f58c"; +} + +.fa-grin-wink { + --fa: "\f58c"; +} + +.fa-grip { + --fa: "\f58d"; +} + +.fa-grid-horizontal { + --fa: "\f58d"; +} + +.fa-grip-horizontal { + --fa: "\f58d"; +} + +.fa-grip-vertical { + --fa: "\f58e"; +} + +.fa-grid-vertical { + --fa: "\f58e"; +} + +.fa-headset { + --fa: "\f590"; +} + +.fa-highlighter { + --fa: "\f591"; +} + +.fa-hot-tub-person { + --fa: "\f593"; +} + +.fa-hot-tub { + --fa: "\f593"; +} + +.fa-hotel { + --fa: "\f594"; +} + +.fa-joint { + --fa: "\f595"; +} + +.fa-face-kiss { + --fa: "\f596"; +} + +.fa-kiss { + --fa: "\f596"; +} + +.fa-face-kiss-beam { + --fa: "\f597"; +} + +.fa-kiss-beam { + --fa: "\f597"; +} + +.fa-face-kiss-wink-heart { + --fa: "\f598"; +} + +.fa-kiss-wink-heart { + --fa: "\f598"; +} + +.fa-face-laugh { + --fa: "\f599"; +} + +.fa-laugh { + --fa: "\f599"; +} + +.fa-face-laugh-beam { + --fa: "\f59a"; +} + +.fa-laugh-beam { + --fa: "\f59a"; +} + +.fa-face-laugh-squint { + --fa: "\f59b"; +} + +.fa-laugh-squint { + --fa: "\f59b"; +} + +.fa-face-laugh-wink { + --fa: "\f59c"; +} + +.fa-laugh-wink { + --fa: "\f59c"; +} + +.fa-cart-flatbed-suitcase { + --fa: "\f59d"; +} + +.fa-luggage-cart { + --fa: "\f59d"; +} + +.fa-map-location { + --fa: "\f59f"; +} + +.fa-map-marked { + --fa: "\f59f"; +} + +.fa-map-location-dot { + --fa: "\f5a0"; +} + +.fa-map-marked-alt { + --fa: "\f5a0"; +} + +.fa-marker { + --fa: "\f5a1"; +} + +.fa-medal { + --fa: "\f5a2"; +} + +.fa-face-meh-blank { + --fa: "\f5a4"; +} + +.fa-meh-blank { + --fa: "\f5a4"; +} + +.fa-face-rolling-eyes { + --fa: "\f5a5"; +} + +.fa-meh-rolling-eyes { + --fa: "\f5a5"; +} + +.fa-monument { + --fa: "\f5a6"; +} + +.fa-mortar-pestle { + --fa: "\f5a7"; +} + +.fa-paint-roller { + --fa: "\f5aa"; +} + +.fa-passport { + --fa: "\f5ab"; +} + +.fa-pen-fancy { + --fa: "\f5ac"; +} + +.fa-pen-nib { + --fa: "\f5ad"; +} + +.fa-pen-ruler { + --fa: "\f5ae"; +} + +.fa-pencil-ruler { + --fa: "\f5ae"; +} + +.fa-plane-arrival { + --fa: "\f5af"; +} + +.fa-plane-departure { + --fa: "\f5b0"; +} + +.fa-prescription { + --fa: "\f5b1"; +} + +.fa-face-sad-cry { + --fa: "\f5b3"; +} + +.fa-sad-cry { + --fa: "\f5b3"; +} + +.fa-face-sad-tear { + --fa: "\f5b4"; +} + +.fa-sad-tear { + --fa: "\f5b4"; +} + +.fa-van-shuttle { + --fa: "\f5b6"; +} + +.fa-shuttle-van { + --fa: "\f5b6"; +} + +.fa-signature { + --fa: "\f5b7"; +} + +.fa-face-smile-beam { + --fa: "\f5b8"; +} + +.fa-smile-beam { + --fa: "\f5b8"; +} + +.fa-solar-panel { + --fa: "\f5ba"; +} + +.fa-spa { + --fa: "\f5bb"; +} + +.fa-splotch { + --fa: "\f5bc"; +} + +.fa-spray-can { + --fa: "\f5bd"; +} + +.fa-stamp { + --fa: "\f5bf"; +} + +.fa-star-half-stroke { + --fa: "\f5c0"; +} + +.fa-star-half-alt { + --fa: "\f5c0"; +} + +.fa-suitcase-rolling { + --fa: "\f5c1"; +} + +.fa-face-surprise { + --fa: "\f5c2"; +} + +.fa-surprise { + --fa: "\f5c2"; +} + +.fa-swatchbook { + --fa: "\f5c3"; +} + +.fa-person-swimming { + --fa: "\f5c4"; +} + +.fa-swimmer { + --fa: "\f5c4"; +} + +.fa-water-ladder { + --fa: "\f5c5"; +} + +.fa-ladder-water { + --fa: "\f5c5"; +} + +.fa-swimming-pool { + --fa: "\f5c5"; +} + +.fa-droplet-slash { + --fa: "\f5c7"; +} + +.fa-tint-slash { + --fa: "\f5c7"; +} + +.fa-face-tired { + --fa: "\f5c8"; +} + +.fa-tired { + --fa: "\f5c8"; +} + +.fa-tooth { + --fa: "\f5c9"; +} + +.fa-umbrella-beach { + --fa: "\f5ca"; +} + +.fa-weight-hanging { + --fa: "\f5cd"; +} + +.fa-wine-glass-empty { + --fa: "\f5ce"; +} + +.fa-wine-glass-alt { + --fa: "\f5ce"; +} + +.fa-spray-can-sparkles { + --fa: "\f5d0"; +} + +.fa-air-freshener { + --fa: "\f5d0"; +} + +.fa-apple-whole { + --fa: "\f5d1"; +} + +.fa-apple-alt { + --fa: "\f5d1"; +} + +.fa-atom { + --fa: "\f5d2"; +} + +.fa-bone { + --fa: "\f5d7"; +} + +.fa-book-open-reader { + --fa: "\f5da"; +} + +.fa-book-reader { + --fa: "\f5da"; +} + +.fa-brain { + --fa: "\f5dc"; +} + +.fa-car-rear { + --fa: "\f5de"; +} + +.fa-car-alt { + --fa: "\f5de"; +} + +.fa-car-battery { + --fa: "\f5df"; +} + +.fa-battery-car { + --fa: "\f5df"; +} + +.fa-car-burst { + --fa: "\f5e1"; +} + +.fa-car-crash { + --fa: "\f5e1"; +} + +.fa-car-side { + --fa: "\f5e4"; +} + +.fa-charging-station { + --fa: "\f5e7"; +} + +.fa-diamond-turn-right { + --fa: "\f5eb"; +} + +.fa-directions { + --fa: "\f5eb"; +} + +.fa-draw-polygon { + --fa: "\f5ee"; +} + +.fa-vector-polygon { + --fa: "\f5ee"; +} + +.fa-laptop-code { + --fa: "\f5fc"; +} + +.fa-layer-group { + --fa: "\f5fd"; +} + +.fa-location-crosshairs { + --fa: "\f601"; +} + +.fa-location { + --fa: "\f601"; +} + +.fa-lungs { + --fa: "\f604"; +} + +.fa-microscope { + --fa: "\f610"; +} + +.fa-oil-can { + --fa: "\f613"; +} + +.fa-poop { + --fa: "\f619"; +} + +.fa-shapes { + --fa: "\f61f"; +} + +.fa-triangle-circle-square { + --fa: "\f61f"; +} + +.fa-star-of-life { + --fa: "\f621"; +} + +.fa-gauge { + --fa: "\f624"; +} + +.fa-dashboard { + --fa: "\f624"; +} + +.fa-gauge-med { + --fa: "\f624"; +} + +.fa-tachometer-alt-average { + --fa: "\f624"; +} + +.fa-gauge-high { + --fa: "\f625"; +} + +.fa-tachometer-alt { + --fa: "\f625"; +} + +.fa-tachometer-alt-fast { + --fa: "\f625"; +} + +.fa-gauge-simple { + --fa: "\f629"; +} + +.fa-gauge-simple-med { + --fa: "\f629"; +} + +.fa-tachometer-average { + --fa: "\f629"; +} + +.fa-gauge-simple-high { + --fa: "\f62a"; +} + +.fa-tachometer { + --fa: "\f62a"; +} + +.fa-tachometer-fast { + --fa: "\f62a"; +} + +.fa-teeth { + --fa: "\f62e"; +} + +.fa-teeth-open { + --fa: "\f62f"; +} + +.fa-masks-theater { + --fa: "\f630"; +} + +.fa-theater-masks { + --fa: "\f630"; +} + +.fa-traffic-light { + --fa: "\f637"; +} + +.fa-truck-monster { + --fa: "\f63b"; +} + +.fa-truck-pickup { + --fa: "\f63c"; +} + +.fa-rectangle-ad { + --fa: "\f641"; +} + +.fa-ad { + --fa: "\f641"; +} + +.fa-ankh { + --fa: "\f644"; +} + +.fa-book-bible { + --fa: "\f647"; +} + +.fa-bible { + --fa: "\f647"; +} + +.fa-business-time { + --fa: "\f64a"; +} + +.fa-briefcase-clock { + --fa: "\f64a"; +} + +.fa-city { + --fa: "\f64f"; +} + +.fa-comment-dollar { + --fa: "\f651"; +} + +.fa-comments-dollar { + --fa: "\f653"; +} + +.fa-cross { + --fa: "\f654"; +} + +.fa-dharmachakra { + --fa: "\f655"; +} + +.fa-envelope-open-text { + --fa: "\f658"; +} + +.fa-folder-minus { + --fa: "\f65d"; +} + +.fa-folder-plus { + --fa: "\f65e"; +} + +.fa-filter-circle-dollar { + --fa: "\f662"; +} + +.fa-funnel-dollar { + --fa: "\f662"; +} + +.fa-gopuram { + --fa: "\f664"; +} + +.fa-hamsa { + --fa: "\f665"; +} + +.fa-bahai { + --fa: "\f666"; +} + +.fa-haykal { + --fa: "\f666"; +} + +.fa-jedi { + --fa: "\f669"; +} + +.fa-book-journal-whills { + --fa: "\f66a"; +} + +.fa-journal-whills { + --fa: "\f66a"; +} + +.fa-kaaba { + --fa: "\f66b"; +} + +.fa-khanda { + --fa: "\f66d"; +} + +.fa-landmark { + --fa: "\f66f"; +} + +.fa-envelopes-bulk { + --fa: "\f674"; +} + +.fa-mail-bulk { + --fa: "\f674"; +} + +.fa-menorah { + --fa: "\f676"; +} + +.fa-mosque { + --fa: "\f678"; +} + +.fa-om { + --fa: "\f679"; +} + +.fa-spaghetti-monster-flying { + --fa: "\f67b"; +} + +.fa-pastafarianism { + --fa: "\f67b"; +} + +.fa-peace { + --fa: "\f67c"; +} + +.fa-place-of-worship { + --fa: "\f67f"; +} + +.fa-square-poll-vertical { + --fa: "\f681"; +} + +.fa-poll { + --fa: "\f681"; +} + +.fa-square-poll-horizontal { + --fa: "\f682"; +} + +.fa-poll-h { + --fa: "\f682"; +} + +.fa-person-praying { + --fa: "\f683"; +} + +.fa-pray { + --fa: "\f683"; +} + +.fa-hands-praying { + --fa: "\f684"; +} + +.fa-praying-hands { + --fa: "\f684"; +} + +.fa-book-quran { + --fa: "\f687"; +} + +.fa-quran { + --fa: "\f687"; +} + +.fa-magnifying-glass-dollar { + --fa: "\f688"; +} + +.fa-search-dollar { + --fa: "\f688"; +} + +.fa-magnifying-glass-location { + --fa: "\f689"; +} + +.fa-search-location { + --fa: "\f689"; +} + +.fa-socks { + --fa: "\f696"; +} + +.fa-square-root-variable { + --fa: "\f698"; +} + +.fa-square-root-alt { + --fa: "\f698"; +} + +.fa-star-and-crescent { + --fa: "\f699"; +} + +.fa-star-of-david { + --fa: "\f69a"; +} + +.fa-synagogue { + --fa: "\f69b"; +} + +.fa-scroll-torah { + --fa: "\f6a0"; +} + +.fa-torah { + --fa: "\f6a0"; +} + +.fa-torii-gate { + --fa: "\f6a1"; +} + +.fa-vihara { + --fa: "\f6a7"; +} + +.fa-volume-xmark { + --fa: "\f6a9"; +} + +.fa-volume-mute { + --fa: "\f6a9"; +} + +.fa-volume-times { + --fa: "\f6a9"; +} + +.fa-yin-yang { + --fa: "\f6ad"; +} + +.fa-blender-phone { + --fa: "\f6b6"; +} + +.fa-book-skull { + --fa: "\f6b7"; +} + +.fa-book-dead { + --fa: "\f6b7"; +} + +.fa-campground { + --fa: "\f6bb"; +} + +.fa-cat { + --fa: "\f6be"; +} + +.fa-chair { + --fa: "\f6c0"; +} + +.fa-cloud-moon { + --fa: "\f6c3"; +} + +.fa-cloud-sun { + --fa: "\f6c4"; +} + +.fa-cow { + --fa: "\f6c8"; +} + +.fa-dice-d20 { + --fa: "\f6cf"; +} + +.fa-dice-d6 { + --fa: "\f6d1"; +} + +.fa-dog { + --fa: "\f6d3"; +} + +.fa-dragon { + --fa: "\f6d5"; +} + +.fa-drumstick-bite { + --fa: "\f6d7"; +} + +.fa-dungeon { + --fa: "\f6d9"; +} + +.fa-file-csv { + --fa: "\f6dd"; +} + +.fa-hand-fist { + --fa: "\f6de"; +} + +.fa-fist-raised { + --fa: "\f6de"; +} + +.fa-ghost { + --fa: "\f6e2"; +} + +.fa-hammer { + --fa: "\f6e3"; +} + +.fa-hanukiah { + --fa: "\f6e6"; +} + +.fa-hat-wizard { + --fa: "\f6e8"; +} + +.fa-person-hiking { + --fa: "\f6ec"; +} + +.fa-hiking { + --fa: "\f6ec"; +} + +.fa-hippo { + --fa: "\f6ed"; +} + +.fa-horse { + --fa: "\f6f0"; +} + +.fa-house-chimney-crack { + --fa: "\f6f1"; +} + +.fa-house-damage { + --fa: "\f6f1"; +} + +.fa-hryvnia-sign { + --fa: "\f6f2"; +} + +.fa-hryvnia { + --fa: "\f6f2"; +} + +.fa-mask { + --fa: "\f6fa"; +} + +.fa-mountain { + --fa: "\f6fc"; +} + +.fa-network-wired { + --fa: "\f6ff"; +} + +.fa-otter { + --fa: "\f700"; +} + +.fa-ring { + --fa: "\f70b"; +} + +.fa-person-running { + --fa: "\f70c"; +} + +.fa-running { + --fa: "\f70c"; +} + +.fa-scroll { + --fa: "\f70e"; +} + +.fa-skull-crossbones { + --fa: "\f714"; +} + +.fa-slash { + --fa: "\f715"; +} + +.fa-spider { + --fa: "\f717"; +} + +.fa-toilet-paper { + --fa: "\f71e"; +} + +.fa-toilet-paper-alt { + --fa: "\f71e"; +} + +.fa-toilet-paper-blank { + --fa: "\f71e"; +} + +.fa-tractor { + --fa: "\f722"; +} + +.fa-user-injured { + --fa: "\f728"; +} + +.fa-vr-cardboard { + --fa: "\f729"; +} + +.fa-wand-sparkles { + --fa: "\f72b"; +} + +.fa-wind { + --fa: "\f72e"; +} + +.fa-wine-bottle { + --fa: "\f72f"; +} + +.fa-cloud-meatball { + --fa: "\f73b"; +} + +.fa-cloud-moon-rain { + --fa: "\f73c"; +} + +.fa-cloud-rain { + --fa: "\f73d"; +} + +.fa-cloud-showers-heavy { + --fa: "\f740"; +} + +.fa-cloud-sun-rain { + --fa: "\f743"; +} + +.fa-democrat { + --fa: "\f747"; +} + +.fa-flag-usa { + --fa: "\f74d"; +} + +.fa-hurricane { + --fa: "\f751"; +} + +.fa-landmark-dome { + --fa: "\f752"; +} + +.fa-landmark-alt { + --fa: "\f752"; +} + +.fa-meteor { + --fa: "\f753"; +} + +.fa-person-booth { + --fa: "\f756"; +} + +.fa-poo-storm { + --fa: "\f75a"; +} + +.fa-poo-bolt { + --fa: "\f75a"; +} + +.fa-rainbow { + --fa: "\f75b"; +} + +.fa-republican { + --fa: "\f75e"; +} + +.fa-smog { + --fa: "\f75f"; +} + +.fa-temperature-high { + --fa: "\f769"; +} + +.fa-temperature-low { + --fa: "\f76b"; +} + +.fa-cloud-bolt { + --fa: "\f76c"; +} + +.fa-thunderstorm { + --fa: "\f76c"; +} + +.fa-tornado { + --fa: "\f76f"; +} + +.fa-volcano { + --fa: "\f770"; +} + +.fa-check-to-slot { + --fa: "\f772"; +} + +.fa-vote-yea { + --fa: "\f772"; +} + +.fa-water { + --fa: "\f773"; +} + +.fa-baby { + --fa: "\f77c"; +} + +.fa-baby-carriage { + --fa: "\f77d"; +} + +.fa-carriage-baby { + --fa: "\f77d"; +} + +.fa-biohazard { + --fa: "\f780"; +} + +.fa-blog { + --fa: "\f781"; +} + +.fa-calendar-day { + --fa: "\f783"; +} + +.fa-calendar-week { + --fa: "\f784"; +} + +.fa-candy-cane { + --fa: "\f786"; +} + +.fa-carrot { + --fa: "\f787"; +} + +.fa-cash-register { + --fa: "\f788"; +} + +.fa-minimize { + --fa: "\f78c"; +} + +.fa-compress-arrows-alt { + --fa: "\f78c"; +} + +.fa-dumpster { + --fa: "\f793"; +} + +.fa-dumpster-fire { + --fa: "\f794"; +} + +.fa-ethernet { + --fa: "\f796"; +} + +.fa-gifts { + --fa: "\f79c"; +} + +.fa-champagne-glasses { + --fa: "\f79f"; +} + +.fa-glass-cheers { + --fa: "\f79f"; +} + +.fa-whiskey-glass { + --fa: "\f7a0"; +} + +.fa-glass-whiskey { + --fa: "\f7a0"; +} + +.fa-earth-europe { + --fa: "\f7a2"; +} + +.fa-globe-europe { + --fa: "\f7a2"; +} + +.fa-grip-lines { + --fa: "\f7a4"; +} + +.fa-grip-lines-vertical { + --fa: "\f7a5"; +} + +.fa-guitar { + --fa: "\f7a6"; +} + +.fa-heart-crack { + --fa: "\f7a9"; +} + +.fa-heart-broken { + --fa: "\f7a9"; +} + +.fa-holly-berry { + --fa: "\f7aa"; +} + +.fa-horse-head { + --fa: "\f7ab"; +} + +.fa-icicles { + --fa: "\f7ad"; +} + +.fa-igloo { + --fa: "\f7ae"; +} + +.fa-mitten { + --fa: "\f7b5"; +} + +.fa-mug-hot { + --fa: "\f7b6"; +} + +.fa-radiation { + --fa: "\f7b9"; +} + +.fa-circle-radiation { + --fa: "\f7ba"; +} + +.fa-radiation-alt { + --fa: "\f7ba"; +} + +.fa-restroom { + --fa: "\f7bd"; +} + +.fa-satellite { + --fa: "\f7bf"; +} + +.fa-satellite-dish { + --fa: "\f7c0"; +} + +.fa-sd-card { + --fa: "\f7c2"; +} + +.fa-sim-card { + --fa: "\f7c4"; +} + +.fa-person-skating { + --fa: "\f7c5"; +} + +.fa-skating { + --fa: "\f7c5"; +} + +.fa-person-skiing { + --fa: "\f7c9"; +} + +.fa-skiing { + --fa: "\f7c9"; +} + +.fa-person-skiing-nordic { + --fa: "\f7ca"; +} + +.fa-skiing-nordic { + --fa: "\f7ca"; +} + +.fa-sleigh { + --fa: "\f7cc"; +} + +.fa-comment-sms { + --fa: "\f7cd"; +} + +.fa-sms { + --fa: "\f7cd"; +} + +.fa-person-snowboarding { + --fa: "\f7ce"; +} + +.fa-snowboarding { + --fa: "\f7ce"; +} + +.fa-snowman { + --fa: "\f7d0"; +} + +.fa-snowplow { + --fa: "\f7d2"; +} + +.fa-tenge-sign { + --fa: "\f7d7"; +} + +.fa-tenge { + --fa: "\f7d7"; +} + +.fa-toilet { + --fa: "\f7d8"; +} + +.fa-screwdriver-wrench { + --fa: "\f7d9"; +} + +.fa-tools { + --fa: "\f7d9"; +} + +.fa-cable-car { + --fa: "\f7da"; +} + +.fa-tram { + --fa: "\f7da"; +} + +.fa-fire-flame-curved { + --fa: "\f7e4"; +} + +.fa-fire-alt { + --fa: "\f7e4"; +} + +.fa-bacon { + --fa: "\f7e5"; +} + +.fa-book-medical { + --fa: "\f7e6"; +} + +.fa-bread-slice { + --fa: "\f7ec"; +} + +.fa-cheese { + --fa: "\f7ef"; +} + +.fa-house-chimney-medical { + --fa: "\f7f2"; +} + +.fa-clinic-medical { + --fa: "\f7f2"; +} + +.fa-clipboard-user { + --fa: "\f7f3"; +} + +.fa-comment-medical { + --fa: "\f7f5"; +} + +.fa-crutch { + --fa: "\f7f7"; +} + +.fa-disease { + --fa: "\f7fa"; +} + +.fa-egg { + --fa: "\f7fb"; +} + +.fa-folder-tree { + --fa: "\f802"; +} + +.fa-burger { + --fa: "\f805"; +} + +.fa-hamburger { + --fa: "\f805"; +} + +.fa-hand-middle-finger { + --fa: "\f806"; +} + +.fa-helmet-safety { + --fa: "\f807"; +} + +.fa-hard-hat { + --fa: "\f807"; +} + +.fa-hat-hard { + --fa: "\f807"; +} + +.fa-hospital-user { + --fa: "\f80d"; +} + +.fa-hotdog { + --fa: "\f80f"; +} + +.fa-ice-cream { + --fa: "\f810"; +} + +.fa-laptop-medical { + --fa: "\f812"; +} + +.fa-pager { + --fa: "\f815"; +} + +.fa-pepper-hot { + --fa: "\f816"; +} + +.fa-pizza-slice { + --fa: "\f818"; +} + +.fa-sack-dollar { + --fa: "\f81d"; +} + +.fa-book-tanakh { + --fa: "\f827"; +} + +.fa-tanakh { + --fa: "\f827"; +} + +.fa-bars-progress { + --fa: "\f828"; +} + +.fa-tasks-alt { + --fa: "\f828"; +} + +.fa-trash-arrow-up { + --fa: "\f829"; +} + +.fa-trash-restore { + --fa: "\f829"; +} + +.fa-trash-can-arrow-up { + --fa: "\f82a"; +} + +.fa-trash-restore-alt { + --fa: "\f82a"; +} + +.fa-user-nurse { + --fa: "\f82f"; +} + +.fa-wave-square { + --fa: "\f83e"; +} + +.fa-person-biking { + --fa: "\f84a"; +} + +.fa-biking { + --fa: "\f84a"; +} + +.fa-border-all { + --fa: "\f84c"; +} + +.fa-border-none { + --fa: "\f850"; +} + +.fa-border-top-left { + --fa: "\f853"; +} + +.fa-border-style { + --fa: "\f853"; +} + +.fa-person-digging { + --fa: "\f85e"; +} + +.fa-digging { + --fa: "\f85e"; +} + +.fa-fan { + --fa: "\f863"; +} + +.fa-icons { + --fa: "\f86d"; +} + +.fa-heart-music-camera-bolt { + --fa: "\f86d"; +} + +.fa-phone-flip { + --fa: "\f879"; +} + +.fa-phone-alt { + --fa: "\f879"; +} + +.fa-square-phone-flip { + --fa: "\f87b"; +} + +.fa-phone-square-alt { + --fa: "\f87b"; +} + +.fa-photo-film { + --fa: "\f87c"; +} + +.fa-photo-video { + --fa: "\f87c"; +} + +.fa-text-slash { + --fa: "\f87d"; +} + +.fa-remove-format { + --fa: "\f87d"; +} + +.fa-arrow-down-z-a { + --fa: "\f881"; +} + +.fa-sort-alpha-desc { + --fa: "\f881"; +} + +.fa-sort-alpha-down-alt { + --fa: "\f881"; +} + +.fa-arrow-up-z-a { + --fa: "\f882"; +} + +.fa-sort-alpha-up-alt { + --fa: "\f882"; +} + +.fa-arrow-down-short-wide { + --fa: "\f884"; +} + +.fa-sort-amount-desc { + --fa: "\f884"; +} + +.fa-sort-amount-down-alt { + --fa: "\f884"; +} + +.fa-arrow-up-short-wide { + --fa: "\f885"; +} + +.fa-sort-amount-up-alt { + --fa: "\f885"; +} + +.fa-arrow-down-9-1 { + --fa: "\f886"; +} + +.fa-sort-numeric-desc { + --fa: "\f886"; +} + +.fa-sort-numeric-down-alt { + --fa: "\f886"; +} + +.fa-arrow-up-9-1 { + --fa: "\f887"; +} + +.fa-sort-numeric-up-alt { + --fa: "\f887"; +} + +.fa-spell-check { + --fa: "\f891"; +} + +.fa-voicemail { + --fa: "\f897"; +} + +.fa-hat-cowboy { + --fa: "\f8c0"; +} + +.fa-hat-cowboy-side { + --fa: "\f8c1"; +} + +.fa-computer-mouse { + --fa: "\f8cc"; +} + +.fa-mouse { + --fa: "\f8cc"; +} + +.fa-radio { + --fa: "\f8d7"; +} + +.fa-record-vinyl { + --fa: "\f8d9"; +} + +.fa-walkie-talkie { + --fa: "\f8ef"; +} + +.fa-caravan { + --fa: "\f8ff"; +} +:root, :host { + --fa-family-brands: "Font Awesome 7 Brands"; + --fa-font-brands: normal 400 1em/1 var(--fa-family-brands); +} + +@font-face { + font-family: "Font Awesome 7 Brands"; + font-style: normal; + font-weight: 400; + font-display: block; + src: url("../webfonts/fa-brands-400.woff2"); +} +.fab, +.fa-brands, +.fa-classic.fa-brands { + --fa-family: var(--fa-family-brands); + --fa-style: 400; +} + +.fa-firefox-browser { + --fa: "\e007"; +} + +.fa-ideal { + --fa: "\e013"; +} + +.fa-microblog { + --fa: "\e01a"; +} + +.fa-square-pied-piper { + --fa: "\e01e"; +} + +.fa-pied-piper-square { + --fa: "\e01e"; +} + +.fa-unity { + --fa: "\e049"; +} + +.fa-dailymotion { + --fa: "\e052"; +} + +.fa-square-instagram { + --fa: "\e055"; +} + +.fa-instagram-square { + --fa: "\e055"; +} + +.fa-mixer { + --fa: "\e056"; +} + +.fa-shopify { + --fa: "\e057"; +} + +.fa-deezer { + --fa: "\e077"; +} + +.fa-edge-legacy { + --fa: "\e078"; +} + +.fa-google-pay { + --fa: "\e079"; +} + +.fa-rust { + --fa: "\e07a"; +} + +.fa-tiktok { + --fa: "\e07b"; +} + +.fa-unsplash { + --fa: "\e07c"; +} + +.fa-cloudflare { + --fa: "\e07d"; +} + +.fa-guilded { + --fa: "\e07e"; +} + +.fa-hive { + --fa: "\e07f"; +} + +.fa-42-group { + --fa: "\e080"; +} + +.fa-innosoft { + --fa: "\e080"; +} + +.fa-instalod { + --fa: "\e081"; +} + +.fa-octopus-deploy { + --fa: "\e082"; +} + +.fa-perbyte { + --fa: "\e083"; +} + +.fa-uncharted { + --fa: "\e084"; +} + +.fa-watchman-monitoring { + --fa: "\e087"; +} + +.fa-wodu { + --fa: "\e088"; +} + +.fa-wirsindhandwerk { + --fa: "\e2d0"; +} + +.fa-wsh { + --fa: "\e2d0"; +} + +.fa-bots { + --fa: "\e340"; +} + +.fa-cmplid { + --fa: "\e360"; +} + +.fa-bilibili { + --fa: "\e3d9"; +} + +.fa-golang { + --fa: "\e40f"; +} + +.fa-pix { + --fa: "\e43a"; +} + +.fa-sitrox { + --fa: "\e44a"; +} + +.fa-hashnode { + --fa: "\e499"; +} + +.fa-meta { + --fa: "\e49b"; +} + +.fa-padlet { + --fa: "\e4a0"; +} + +.fa-nfc-directional { + --fa: "\e530"; +} + +.fa-nfc-symbol { + --fa: "\e531"; +} + +.fa-screenpal { + --fa: "\e570"; +} + +.fa-space-awesome { + --fa: "\e5ac"; +} + +.fa-square-font-awesome { + --fa: "\e5ad"; +} + +.fa-square-gitlab { + --fa: "\e5ae"; +} + +.fa-gitlab-square { + --fa: "\e5ae"; +} + +.fa-odysee { + --fa: "\e5c6"; +} + +.fa-stubber { + --fa: "\e5c7"; +} + +.fa-debian { + --fa: "\e60b"; +} + +.fa-shoelace { + --fa: "\e60c"; +} + +.fa-threads { + --fa: "\e618"; +} + +.fa-square-threads { + --fa: "\e619"; +} + +.fa-square-x-twitter { + --fa: "\e61a"; +} + +.fa-x-twitter { + --fa: "\e61b"; +} + +.fa-opensuse { + --fa: "\e62b"; +} + +.fa-letterboxd { + --fa: "\e62d"; +} + +.fa-square-letterboxd { + --fa: "\e62e"; +} + +.fa-mintbit { + --fa: "\e62f"; +} + +.fa-google-scholar { + --fa: "\e63b"; +} + +.fa-brave { + --fa: "\e63c"; +} + +.fa-brave-reverse { + --fa: "\e63d"; +} + +.fa-pixiv { + --fa: "\e640"; +} + +.fa-upwork { + --fa: "\e641"; +} + +.fa-webflow { + --fa: "\e65c"; +} + +.fa-signal-messenger { + --fa: "\e663"; +} + +.fa-bluesky { + --fa: "\e671"; +} + +.fa-jxl { + --fa: "\e67b"; +} + +.fa-square-upwork { + --fa: "\e67c"; +} + +.fa-web-awesome { + --fa: "\e682"; +} + +.fa-square-web-awesome { + --fa: "\e683"; +} + +.fa-square-web-awesome-stroke { + --fa: "\e684"; +} + +.fa-dart-lang { + --fa: "\e693"; +} + +.fa-flutter { + --fa: "\e694"; +} + +.fa-files-pinwheel { + --fa: "\e69f"; +} + +.fa-css { + --fa: "\e6a2"; +} + +.fa-square-bluesky { + --fa: "\e6a3"; +} + +.fa-openai { + --fa: "\e7cf"; +} + +.fa-square-linkedin { + --fa: "\e7d0"; +} + +.fa-cash-app { + --fa: "\e7d4"; +} + +.fa-disqus { + --fa: "\e7d5"; +} + +.fa-eleventy { + --fa: "\e7d6"; +} + +.fa-11ty { + --fa: "\e7d6"; +} + +.fa-kakao-talk { + --fa: "\e7d7"; +} + +.fa-linktree { + --fa: "\e7d8"; +} + +.fa-notion { + --fa: "\e7d9"; +} + +.fa-pandora { + --fa: "\e7da"; +} + +.fa-pixelfed { + --fa: "\e7db"; +} + +.fa-tidal { + --fa: "\e7dc"; +} + +.fa-vsco { + --fa: "\e7dd"; +} + +.fa-w3c { + --fa: "\e7de"; +} + +.fa-lumon { + --fa: "\e7e2"; +} + +.fa-lumon-drop { + --fa: "\e7e3"; +} + +.fa-square-figma { + --fa: "\e7e4"; +} + +.fa-tex { + --fa: "\e7ff"; +} + +.fa-duolingo { + --fa: "\e812"; +} + +.fa-square-twitter { + --fa: "\f081"; +} + +.fa-twitter-square { + --fa: "\f081"; +} + +.fa-square-facebook { + --fa: "\f082"; +} + +.fa-facebook-square { + --fa: "\f082"; +} + +.fa-linkedin { + --fa: "\f08c"; +} + +.fa-square-github { + --fa: "\f092"; +} + +.fa-github-square { + --fa: "\f092"; +} + +.fa-twitter { + --fa: "\f099"; +} + +.fa-facebook { + --fa: "\f09a"; +} + +.fa-github { + --fa: "\f09b"; +} + +.fa-pinterest { + --fa: "\f0d2"; +} + +.fa-square-pinterest { + --fa: "\f0d3"; +} + +.fa-pinterest-square { + --fa: "\f0d3"; +} + +.fa-square-google-plus { + --fa: "\f0d4"; +} + +.fa-google-plus-square { + --fa: "\f0d4"; +} + +.fa-google-plus-g { + --fa: "\f0d5"; +} + +.fa-linkedin-in { + --fa: "\f0e1"; +} + +.fa-github-alt { + --fa: "\f113"; +} + +.fa-maxcdn { + --fa: "\f136"; +} + +.fa-html5 { + --fa: "\f13b"; +} + +.fa-css3 { + --fa: "\f13c"; +} + +.fa-btc { + --fa: "\f15a"; +} + +.fa-youtube { + --fa: "\f167"; +} + +.fa-xing { + --fa: "\f168"; +} + +.fa-square-xing { + --fa: "\f169"; +} + +.fa-xing-square { + --fa: "\f169"; +} + +.fa-dropbox { + --fa: "\f16b"; +} + +.fa-stack-overflow { + --fa: "\f16c"; +} + +.fa-instagram { + --fa: "\f16d"; +} + +.fa-flickr { + --fa: "\f16e"; +} + +.fa-adn { + --fa: "\f170"; +} + +.fa-bitbucket { + --fa: "\f171"; +} + +.fa-tumblr { + --fa: "\f173"; +} + +.fa-square-tumblr { + --fa: "\f174"; +} + +.fa-tumblr-square { + --fa: "\f174"; +} + +.fa-apple { + --fa: "\f179"; +} + +.fa-windows { + --fa: "\f17a"; +} + +.fa-android { + --fa: "\f17b"; +} + +.fa-linux { + --fa: "\f17c"; +} + +.fa-dribbble { + --fa: "\f17d"; +} + +.fa-skype { + --fa: "\f17e"; +} + +.fa-foursquare { + --fa: "\f180"; +} + +.fa-trello { + --fa: "\f181"; +} + +.fa-gratipay { + --fa: "\f184"; +} + +.fa-vk { + --fa: "\f189"; +} + +.fa-weibo { + --fa: "\f18a"; +} + +.fa-renren { + --fa: "\f18b"; +} + +.fa-pagelines { + --fa: "\f18c"; +} + +.fa-stack-exchange { + --fa: "\f18d"; +} + +.fa-square-vimeo { + --fa: "\f194"; +} + +.fa-vimeo-square { + --fa: "\f194"; +} + +.fa-slack { + --fa: "\f198"; +} + +.fa-slack-hash { + --fa: "\f198"; +} + +.fa-wordpress { + --fa: "\f19a"; +} + +.fa-openid { + --fa: "\f19b"; +} + +.fa-yahoo { + --fa: "\f19e"; +} + +.fa-google { + --fa: "\f1a0"; +} + +.fa-reddit { + --fa: "\f1a1"; +} + +.fa-square-reddit { + --fa: "\f1a2"; +} + +.fa-reddit-square { + --fa: "\f1a2"; +} + +.fa-stumbleupon-circle { + --fa: "\f1a3"; +} + +.fa-stumbleupon { + --fa: "\f1a4"; +} + +.fa-delicious { + --fa: "\f1a5"; +} + +.fa-digg { + --fa: "\f1a6"; +} + +.fa-pied-piper-pp { + --fa: "\f1a7"; +} + +.fa-pied-piper-alt { + --fa: "\f1a8"; +} + +.fa-drupal { + --fa: "\f1a9"; +} + +.fa-joomla { + --fa: "\f1aa"; +} + +.fa-behance { + --fa: "\f1b4"; +} + +.fa-square-behance { + --fa: "\f1b5"; +} + +.fa-behance-square { + --fa: "\f1b5"; +} + +.fa-steam { + --fa: "\f1b6"; +} + +.fa-square-steam { + --fa: "\f1b7"; +} + +.fa-steam-square { + --fa: "\f1b7"; +} + +.fa-spotify { + --fa: "\f1bc"; +} + +.fa-deviantart { + --fa: "\f1bd"; +} + +.fa-soundcloud { + --fa: "\f1be"; +} + +.fa-vine { + --fa: "\f1ca"; +} + +.fa-codepen { + --fa: "\f1cb"; +} + +.fa-jsfiddle { + --fa: "\f1cc"; +} + +.fa-rebel { + --fa: "\f1d0"; +} + +.fa-empire { + --fa: "\f1d1"; +} + +.fa-square-git { + --fa: "\f1d2"; +} + +.fa-git-square { + --fa: "\f1d2"; +} + +.fa-git { + --fa: "\f1d3"; +} + +.fa-hacker-news { + --fa: "\f1d4"; +} + +.fa-tencent-weibo { + --fa: "\f1d5"; +} + +.fa-qq { + --fa: "\f1d6"; +} + +.fa-weixin { + --fa: "\f1d7"; +} + +.fa-slideshare { + --fa: "\f1e7"; +} + +.fa-twitch { + --fa: "\f1e8"; +} + +.fa-yelp { + --fa: "\f1e9"; +} + +.fa-paypal { + --fa: "\f1ed"; +} + +.fa-google-wallet { + --fa: "\f1ee"; +} + +.fa-cc-visa { + --fa: "\f1f0"; +} + +.fa-cc-mastercard { + --fa: "\f1f1"; +} + +.fa-cc-discover { + --fa: "\f1f2"; +} + +.fa-cc-amex { + --fa: "\f1f3"; +} + +.fa-cc-paypal { + --fa: "\f1f4"; +} + +.fa-cc-stripe { + --fa: "\f1f5"; +} + +.fa-lastfm { + --fa: "\f202"; +} + +.fa-square-lastfm { + --fa: "\f203"; +} + +.fa-lastfm-square { + --fa: "\f203"; +} + +.fa-ioxhost { + --fa: "\f208"; +} + +.fa-angellist { + --fa: "\f209"; +} + +.fa-buysellads { + --fa: "\f20d"; +} + +.fa-connectdevelop { + --fa: "\f20e"; +} + +.fa-dashcube { + --fa: "\f210"; +} + +.fa-forumbee { + --fa: "\f211"; +} + +.fa-leanpub { + --fa: "\f212"; +} + +.fa-sellsy { + --fa: "\f213"; +} + +.fa-shirtsinbulk { + --fa: "\f214"; +} + +.fa-simplybuilt { + --fa: "\f215"; +} + +.fa-skyatlas { + --fa: "\f216"; +} + +.fa-pinterest-p { + --fa: "\f231"; +} + +.fa-whatsapp { + --fa: "\f232"; +} + +.fa-viacoin { + --fa: "\f237"; +} + +.fa-medium { + --fa: "\f23a"; +} + +.fa-medium-m { + --fa: "\f23a"; +} + +.fa-y-combinator { + --fa: "\f23b"; +} + +.fa-optin-monster { + --fa: "\f23c"; +} + +.fa-opencart { + --fa: "\f23d"; +} + +.fa-expeditedssl { + --fa: "\f23e"; +} + +.fa-cc-jcb { + --fa: "\f24b"; +} + +.fa-cc-diners-club { + --fa: "\f24c"; +} + +.fa-creative-commons { + --fa: "\f25e"; +} + +.fa-gg { + --fa: "\f260"; +} + +.fa-gg-circle { + --fa: "\f261"; +} + +.fa-odnoklassniki { + --fa: "\f263"; +} + +.fa-square-odnoklassniki { + --fa: "\f264"; +} + +.fa-odnoklassniki-square { + --fa: "\f264"; +} + +.fa-get-pocket { + --fa: "\f265"; +} + +.fa-wikipedia-w { + --fa: "\f266"; +} + +.fa-safari { + --fa: "\f267"; +} + +.fa-chrome { + --fa: "\f268"; +} + +.fa-firefox { + --fa: "\f269"; +} + +.fa-opera { + --fa: "\f26a"; +} + +.fa-internet-explorer { + --fa: "\f26b"; +} + +.fa-contao { + --fa: "\f26d"; +} + +.fa-500px { + --fa: "\f26e"; +} + +.fa-amazon { + --fa: "\f270"; +} + +.fa-houzz { + --fa: "\f27c"; +} + +.fa-vimeo-v { + --fa: "\f27d"; +} + +.fa-black-tie { + --fa: "\f27e"; +} + +.fa-fonticons { + --fa: "\f280"; +} + +.fa-reddit-alien { + --fa: "\f281"; +} + +.fa-edge { + --fa: "\f282"; +} + +.fa-codiepie { + --fa: "\f284"; +} + +.fa-modx { + --fa: "\f285"; +} + +.fa-fort-awesome { + --fa: "\f286"; +} + +.fa-usb { + --fa: "\f287"; +} + +.fa-product-hunt { + --fa: "\f288"; +} + +.fa-mixcloud { + --fa: "\f289"; +} + +.fa-scribd { + --fa: "\f28a"; +} + +.fa-bluetooth { + --fa: "\f293"; +} + +.fa-bluetooth-b { + --fa: "\f294"; +} + +.fa-gitlab { + --fa: "\f296"; +} + +.fa-wpbeginner { + --fa: "\f297"; +} + +.fa-wpforms { + --fa: "\f298"; +} + +.fa-envira { + --fa: "\f299"; +} + +.fa-glide { + --fa: "\f2a5"; +} + +.fa-glide-g { + --fa: "\f2a6"; +} + +.fa-viadeo { + --fa: "\f2a9"; +} + +.fa-square-viadeo { + --fa: "\f2aa"; +} + +.fa-viadeo-square { + --fa: "\f2aa"; +} + +.fa-snapchat { + --fa: "\f2ab"; +} + +.fa-snapchat-ghost { + --fa: "\f2ab"; +} + +.fa-square-snapchat { + --fa: "\f2ad"; +} + +.fa-snapchat-square { + --fa: "\f2ad"; +} + +.fa-pied-piper { + --fa: "\f2ae"; +} + +.fa-first-order { + --fa: "\f2b0"; +} + +.fa-yoast { + --fa: "\f2b1"; +} + +.fa-themeisle { + --fa: "\f2b2"; +} + +.fa-google-plus { + --fa: "\f2b3"; +} + +.fa-font-awesome { + --fa: "\f2b4"; +} + +.fa-font-awesome-flag { + --fa: "\f2b4"; +} + +.fa-font-awesome-logo-full { + --fa: "\f2b4"; +} + +.fa-linode { + --fa: "\f2b8"; +} + +.fa-quora { + --fa: "\f2c4"; +} + +.fa-free-code-camp { + --fa: "\f2c5"; +} + +.fa-telegram { + --fa: "\f2c6"; +} + +.fa-telegram-plane { + --fa: "\f2c6"; +} + +.fa-bandcamp { + --fa: "\f2d5"; +} + +.fa-grav { + --fa: "\f2d6"; +} + +.fa-etsy { + --fa: "\f2d7"; +} + +.fa-imdb { + --fa: "\f2d8"; +} + +.fa-ravelry { + --fa: "\f2d9"; +} + +.fa-sellcast { + --fa: "\f2da"; +} + +.fa-superpowers { + --fa: "\f2dd"; +} + +.fa-wpexplorer { + --fa: "\f2de"; +} + +.fa-meetup { + --fa: "\f2e0"; +} + +.fa-square-font-awesome-stroke { + --fa: "\f35c"; +} + +.fa-font-awesome-alt { + --fa: "\f35c"; +} + +.fa-accessible-icon { + --fa: "\f368"; +} + +.fa-accusoft { + --fa: "\f369"; +} + +.fa-adversal { + --fa: "\f36a"; +} + +.fa-affiliatetheme { + --fa: "\f36b"; +} + +.fa-algolia { + --fa: "\f36c"; +} + +.fa-amilia { + --fa: "\f36d"; +} + +.fa-angrycreative { + --fa: "\f36e"; +} + +.fa-app-store { + --fa: "\f36f"; +} + +.fa-app-store-ios { + --fa: "\f370"; +} + +.fa-apper { + --fa: "\f371"; +} + +.fa-asymmetrik { + --fa: "\f372"; +} + +.fa-audible { + --fa: "\f373"; +} + +.fa-avianex { + --fa: "\f374"; +} + +.fa-aws { + --fa: "\f375"; +} + +.fa-bimobject { + --fa: "\f378"; +} + +.fa-bitcoin { + --fa: "\f379"; +} + +.fa-bity { + --fa: "\f37a"; +} + +.fa-blackberry { + --fa: "\f37b"; +} + +.fa-blogger { + --fa: "\f37c"; +} + +.fa-blogger-b { + --fa: "\f37d"; +} + +.fa-buromobelexperte { + --fa: "\f37f"; +} + +.fa-centercode { + --fa: "\f380"; +} + +.fa-cloudscale { + --fa: "\f383"; +} + +.fa-cloudsmith { + --fa: "\f384"; +} + +.fa-cloudversify { + --fa: "\f385"; +} + +.fa-cpanel { + --fa: "\f388"; +} + +.fa-css3-alt { + --fa: "\f38b"; +} + +.fa-cuttlefish { + --fa: "\f38c"; +} + +.fa-d-and-d { + --fa: "\f38d"; +} + +.fa-deploydog { + --fa: "\f38e"; +} + +.fa-deskpro { + --fa: "\f38f"; +} + +.fa-digital-ocean { + --fa: "\f391"; +} + +.fa-discord { + --fa: "\f392"; +} + +.fa-discourse { + --fa: "\f393"; +} + +.fa-dochub { + --fa: "\f394"; +} + +.fa-docker { + --fa: "\f395"; +} + +.fa-draft2digital { + --fa: "\f396"; +} + +.fa-square-dribbble { + --fa: "\f397"; +} + +.fa-dribbble-square { + --fa: "\f397"; +} + +.fa-dyalog { + --fa: "\f399"; +} + +.fa-earlybirds { + --fa: "\f39a"; +} + +.fa-erlang { + --fa: "\f39d"; +} + +.fa-facebook-f { + --fa: "\f39e"; +} + +.fa-facebook-messenger { + --fa: "\f39f"; +} + +.fa-firstdraft { + --fa: "\f3a1"; +} + +.fa-fonticons-fi { + --fa: "\f3a2"; +} + +.fa-fort-awesome-alt { + --fa: "\f3a3"; +} + +.fa-freebsd { + --fa: "\f3a4"; +} + +.fa-gitkraken { + --fa: "\f3a6"; +} + +.fa-gofore { + --fa: "\f3a7"; +} + +.fa-goodreads { + --fa: "\f3a8"; +} + +.fa-goodreads-g { + --fa: "\f3a9"; +} + +.fa-google-drive { + --fa: "\f3aa"; +} + +.fa-google-play { + --fa: "\f3ab"; +} + +.fa-gripfire { + --fa: "\f3ac"; +} + +.fa-grunt { + --fa: "\f3ad"; +} + +.fa-gulp { + --fa: "\f3ae"; +} + +.fa-square-hacker-news { + --fa: "\f3af"; +} + +.fa-hacker-news-square { + --fa: "\f3af"; +} + +.fa-hire-a-helper { + --fa: "\f3b0"; +} + +.fa-hotjar { + --fa: "\f3b1"; +} + +.fa-hubspot { + --fa: "\f3b2"; +} + +.fa-itunes { + --fa: "\f3b4"; +} + +.fa-itunes-note { + --fa: "\f3b5"; +} + +.fa-jenkins { + --fa: "\f3b6"; +} + +.fa-joget { + --fa: "\f3b7"; +} + +.fa-js { + --fa: "\f3b8"; +} + +.fa-square-js { + --fa: "\f3b9"; +} + +.fa-js-square { + --fa: "\f3b9"; +} + +.fa-keycdn { + --fa: "\f3ba"; +} + +.fa-kickstarter { + --fa: "\f3bb"; +} + +.fa-square-kickstarter { + --fa: "\f3bb"; +} + +.fa-kickstarter-k { + --fa: "\f3bc"; +} + +.fa-laravel { + --fa: "\f3bd"; +} + +.fa-line { + --fa: "\f3c0"; +} + +.fa-lyft { + --fa: "\f3c3"; +} + +.fa-magento { + --fa: "\f3c4"; +} + +.fa-medapps { + --fa: "\f3c6"; +} + +.fa-medrt { + --fa: "\f3c8"; +} + +.fa-microsoft { + --fa: "\f3ca"; +} + +.fa-mix { + --fa: "\f3cb"; +} + +.fa-mizuni { + --fa: "\f3cc"; +} + +.fa-monero { + --fa: "\f3d0"; +} + +.fa-napster { + --fa: "\f3d2"; +} + +.fa-node-js { + --fa: "\f3d3"; +} + +.fa-npm { + --fa: "\f3d4"; +} + +.fa-ns8 { + --fa: "\f3d5"; +} + +.fa-nutritionix { + --fa: "\f3d6"; +} + +.fa-page4 { + --fa: "\f3d7"; +} + +.fa-palfed { + --fa: "\f3d8"; +} + +.fa-patreon { + --fa: "\f3d9"; +} + +.fa-periscope { + --fa: "\f3da"; +} + +.fa-phabricator { + --fa: "\f3db"; +} + +.fa-phoenix-framework { + --fa: "\f3dc"; +} + +.fa-playstation { + --fa: "\f3df"; +} + +.fa-pushed { + --fa: "\f3e1"; +} + +.fa-python { + --fa: "\f3e2"; +} + +.fa-red-river { + --fa: "\f3e3"; +} + +.fa-wpressr { + --fa: "\f3e4"; +} + +.fa-rendact { + --fa: "\f3e4"; +} + +.fa-replyd { + --fa: "\f3e6"; +} + +.fa-resolving { + --fa: "\f3e7"; +} + +.fa-rocketchat { + --fa: "\f3e8"; +} + +.fa-rockrms { + --fa: "\f3e9"; +} + +.fa-schlix { + --fa: "\f3ea"; +} + +.fa-searchengin { + --fa: "\f3eb"; +} + +.fa-servicestack { + --fa: "\f3ec"; +} + +.fa-sistrix { + --fa: "\f3ee"; +} + +.fa-speakap { + --fa: "\f3f3"; +} + +.fa-staylinked { + --fa: "\f3f5"; +} + +.fa-steam-symbol { + --fa: "\f3f6"; +} + +.fa-sticker-mule { + --fa: "\f3f7"; +} + +.fa-studiovinari { + --fa: "\f3f8"; +} + +.fa-supple { + --fa: "\f3f9"; +} + +.fa-uber { + --fa: "\f402"; +} + +.fa-uikit { + --fa: "\f403"; +} + +.fa-uniregistry { + --fa: "\f404"; +} + +.fa-untappd { + --fa: "\f405"; +} + +.fa-ussunnah { + --fa: "\f407"; +} + +.fa-vaadin { + --fa: "\f408"; +} + +.fa-viber { + --fa: "\f409"; +} + +.fa-vimeo { + --fa: "\f40a"; +} + +.fa-vnv { + --fa: "\f40b"; +} + +.fa-square-whatsapp { + --fa: "\f40c"; +} + +.fa-whatsapp-square { + --fa: "\f40c"; +} + +.fa-whmcs { + --fa: "\f40d"; +} + +.fa-wordpress-simple { + --fa: "\f411"; +} + +.fa-xbox { + --fa: "\f412"; +} + +.fa-yandex { + --fa: "\f413"; +} + +.fa-yandex-international { + --fa: "\f414"; +} + +.fa-apple-pay { + --fa: "\f415"; +} + +.fa-cc-apple-pay { + --fa: "\f416"; +} + +.fa-fly { + --fa: "\f417"; +} + +.fa-node { + --fa: "\f419"; +} + +.fa-osi { + --fa: "\f41a"; +} + +.fa-react { + --fa: "\f41b"; +} + +.fa-autoprefixer { + --fa: "\f41c"; +} + +.fa-less { + --fa: "\f41d"; +} + +.fa-sass { + --fa: "\f41e"; +} + +.fa-vuejs { + --fa: "\f41f"; +} + +.fa-angular { + --fa: "\f420"; +} + +.fa-aviato { + --fa: "\f421"; +} + +.fa-ember { + --fa: "\f423"; +} + +.fa-gitter { + --fa: "\f426"; +} + +.fa-hooli { + --fa: "\f427"; +} + +.fa-strava { + --fa: "\f428"; +} + +.fa-stripe { + --fa: "\f429"; +} + +.fa-stripe-s { + --fa: "\f42a"; +} + +.fa-typo3 { + --fa: "\f42b"; +} + +.fa-amazon-pay { + --fa: "\f42c"; +} + +.fa-cc-amazon-pay { + --fa: "\f42d"; +} + +.fa-ethereum { + --fa: "\f42e"; +} + +.fa-korvue { + --fa: "\f42f"; +} + +.fa-elementor { + --fa: "\f430"; +} + +.fa-square-youtube { + --fa: "\f431"; +} + +.fa-youtube-square { + --fa: "\f431"; +} + +.fa-flipboard { + --fa: "\f44d"; +} + +.fa-hips { + --fa: "\f452"; +} + +.fa-php { + --fa: "\f457"; +} + +.fa-quinscape { + --fa: "\f459"; +} + +.fa-readme { + --fa: "\f4d5"; +} + +.fa-java { + --fa: "\f4e4"; +} + +.fa-pied-piper-hat { + --fa: "\f4e5"; +} + +.fa-creative-commons-by { + --fa: "\f4e7"; +} + +.fa-creative-commons-nc { + --fa: "\f4e8"; +} + +.fa-creative-commons-nc-eu { + --fa: "\f4e9"; +} + +.fa-creative-commons-nc-jp { + --fa: "\f4ea"; +} + +.fa-creative-commons-nd { + --fa: "\f4eb"; +} + +.fa-creative-commons-pd { + --fa: "\f4ec"; +} + +.fa-creative-commons-pd-alt { + --fa: "\f4ed"; +} + +.fa-creative-commons-remix { + --fa: "\f4ee"; +} + +.fa-creative-commons-sa { + --fa: "\f4ef"; +} + +.fa-creative-commons-sampling { + --fa: "\f4f0"; +} + +.fa-creative-commons-sampling-plus { + --fa: "\f4f1"; +} + +.fa-creative-commons-share { + --fa: "\f4f2"; +} + +.fa-creative-commons-zero { + --fa: "\f4f3"; +} + +.fa-ebay { + --fa: "\f4f4"; +} + +.fa-keybase { + --fa: "\f4f5"; +} + +.fa-mastodon { + --fa: "\f4f6"; +} + +.fa-r-project { + --fa: "\f4f7"; +} + +.fa-researchgate { + --fa: "\f4f8"; +} + +.fa-teamspeak { + --fa: "\f4f9"; +} + +.fa-first-order-alt { + --fa: "\f50a"; +} + +.fa-fulcrum { + --fa: "\f50b"; +} + +.fa-galactic-republic { + --fa: "\f50c"; +} + +.fa-galactic-senate { + --fa: "\f50d"; +} + +.fa-jedi-order { + --fa: "\f50e"; +} + +.fa-mandalorian { + --fa: "\f50f"; +} + +.fa-old-republic { + --fa: "\f510"; +} + +.fa-phoenix-squadron { + --fa: "\f511"; +} + +.fa-sith { + --fa: "\f512"; +} + +.fa-trade-federation { + --fa: "\f513"; +} + +.fa-wolf-pack-battalion { + --fa: "\f514"; +} + +.fa-hornbill { + --fa: "\f592"; +} + +.fa-mailchimp { + --fa: "\f59e"; +} + +.fa-megaport { + --fa: "\f5a3"; +} + +.fa-nimblr { + --fa: "\f5a8"; +} + +.fa-rev { + --fa: "\f5b2"; +} + +.fa-shopware { + --fa: "\f5b5"; +} + +.fa-squarespace { + --fa: "\f5be"; +} + +.fa-themeco { + --fa: "\f5c6"; +} + +.fa-weebly { + --fa: "\f5cc"; +} + +.fa-wix { + --fa: "\f5cf"; +} + +.fa-ello { + --fa: "\f5f1"; +} + +.fa-hackerrank { + --fa: "\f5f7"; +} + +.fa-kaggle { + --fa: "\f5fa"; +} + +.fa-markdown { + --fa: "\f60f"; +} + +.fa-neos { + --fa: "\f612"; +} + +.fa-zhihu { + --fa: "\f63f"; +} + +.fa-alipay { + --fa: "\f642"; +} + +.fa-the-red-yeti { + --fa: "\f69d"; +} + +.fa-critical-role { + --fa: "\f6c9"; +} + +.fa-d-and-d-beyond { + --fa: "\f6ca"; +} + +.fa-dev { + --fa: "\f6cc"; +} + +.fa-fantasy-flight-games { + --fa: "\f6dc"; +} + +.fa-wizards-of-the-coast { + --fa: "\f730"; +} + +.fa-think-peaks { + --fa: "\f731"; +} + +.fa-reacteurope { + --fa: "\f75d"; +} + +.fa-artstation { + --fa: "\f77a"; +} + +.fa-atlassian { + --fa: "\f77b"; +} + +.fa-canadian-maple-leaf { + --fa: "\f785"; +} + +.fa-centos { + --fa: "\f789"; +} + +.fa-confluence { + --fa: "\f78d"; +} + +.fa-dhl { + --fa: "\f790"; +} + +.fa-diaspora { + --fa: "\f791"; +} + +.fa-fedex { + --fa: "\f797"; +} + +.fa-fedora { + --fa: "\f798"; +} + +.fa-figma { + --fa: "\f799"; +} + +.fa-intercom { + --fa: "\f7af"; +} + +.fa-invision { + --fa: "\f7b0"; +} + +.fa-jira { + --fa: "\f7b1"; +} + +.fa-mendeley { + --fa: "\f7b3"; +} + +.fa-raspberry-pi { + --fa: "\f7bb"; +} + +.fa-redhat { + --fa: "\f7bc"; +} + +.fa-sketch { + --fa: "\f7c6"; +} + +.fa-sourcetree { + --fa: "\f7d3"; +} + +.fa-suse { + --fa: "\f7d6"; +} + +.fa-ubuntu { + --fa: "\f7df"; +} + +.fa-ups { + --fa: "\f7e0"; +} + +.fa-usps { + --fa: "\f7e1"; +} + +.fa-yarn { + --fa: "\f7e3"; +} + +.fa-airbnb { + --fa: "\f834"; +} + +.fa-battle-net { + --fa: "\f835"; +} + +.fa-bootstrap { + --fa: "\f836"; +} + +.fa-buffer { + --fa: "\f837"; +} + +.fa-chromecast { + --fa: "\f838"; +} + +.fa-evernote { + --fa: "\f839"; +} + +.fa-itch-io { + --fa: "\f83a"; +} + +.fa-salesforce { + --fa: "\f83b"; +} + +.fa-speaker-deck { + --fa: "\f83c"; +} + +.fa-symfony { + --fa: "\f83d"; +} + +.fa-waze { + --fa: "\f83f"; +} + +.fa-yammer { + --fa: "\f840"; +} + +.fa-git-alt { + --fa: "\f841"; +} + +.fa-stackpath { + --fa: "\f842"; +} + +.fa-cotton-bureau { + --fa: "\f89e"; +} + +.fa-buy-n-large { + --fa: "\f8a6"; +} + +.fa-mdb { + --fa: "\f8ca"; +} + +.fa-orcid { + --fa: "\f8d2"; +} + +.fa-swift { + --fa: "\f8e1"; +} + +.fa-umbraco { + --fa: "\f8e8"; +}:root, :host { + --fa-family-classic: "Font Awesome 7 Free"; + --fa-font-regular: normal 400 1em/1 var(--fa-family-classic); + /* deprecated: this older custom property will be removed next major release */ + --fa-style-family-classic: var(--fa-family-classic); +} + +@font-face { + font-family: "Font Awesome 7 Free"; + font-style: normal; + font-weight: 400; + font-display: block; + src: url("../webfonts/fa-regular-400.woff2"); +} +.far { + --fa-family: var(--fa-family-classic); + --fa-style: 400; +} + +.fa-classic { + --fa-family: var(--fa-family-classic); +} + +.fa-regular { + --fa-style: 400; +}:root, :host { + --fa-family-classic: "Font Awesome 7 Free"; + --fa-font-solid: normal 900 1em/1 var(--fa-family-classic); + /* deprecated: this older custom property will be removed next major release */ + --fa-style-family-classic: var(--fa-family-classic); +} + +@font-face { + font-family: "Font Awesome 7 Free"; + font-style: normal; + font-weight: 900; + font-display: block; + src: url("../webfonts/fa-solid-900.woff2"); +} +.fas { + --fa-family: var(--fa-family-classic); + --fa-style: 900; +} + +.fa-classic { + --fa-family: var(--fa-family-classic); +} + +.fa-solid { + --fa-style: 900; +}@font-face { + font-family: "Font Awesome 5 Brands"; + font-display: block; + font-weight: 400; + src: url("../webfonts/fa-brands-400.woff2") format("woff2"); +} +@font-face { + font-family: "Font Awesome 5 Free"; + font-display: block; + font-weight: 900; + src: url("../webfonts/fa-solid-900.woff2") format("woff2"); +} +@font-face { + font-family: "Font Awesome 5 Free"; + font-display: block; + font-weight: 400; + src: url("../webfonts/fa-regular-400.woff2") format("woff2"); +}@font-face { + font-family: "FontAwesome"; + font-display: block; + src: url("../webfonts/fa-solid-900.woff2") format("woff2"); +} +@font-face { + font-family: "FontAwesome"; + font-display: block; + src: url("../webfonts/fa-brands-400.woff2") format("woff2"); +} +@font-face { + font-family: "FontAwesome"; + font-display: block; + src: url("../webfonts/fa-regular-400.woff2") format("woff2"); + unicode-range: U+F003, U+F006, U+F014, U+F016-F017, U+F01A-F01B, U+F01D, U+F022, U+F03E, U+F044, U+F046, U+F05C-F05D, U+F06E, U+F070, U+F087-F088, U+F08A, U+F094, U+F096-F097, U+F09D, U+F0A0, U+F0A2, U+F0A4-F0A7, U+F0C5, U+F0C7, U+F0E5-F0E6, U+F0EB, U+F0F6-F0F8, U+F10C, U+F114-F115, U+F118-F11A, U+F11C-F11D, U+F133, U+F147, U+F14E, U+F150-F152, U+F185-F186, U+F18E, U+F190-F192, U+F196, U+F1C1-F1C9, U+F1D9, U+F1DB, U+F1E3, U+F1EA, U+F1F7, U+F1F9, U+F20A, U+F247-F248, U+F24A, U+F24D, U+F255-F25B, U+F25D, U+F271-F274, U+F278, U+F27B, U+F28C, U+F28E, U+F29C, U+F2B5, U+F2B7, U+F2BA, U+F2BC, U+F2BE, U+F2C0-F2C1, U+F2C3, U+F2D0, U+F2D2, U+F2D4, U+F2DC; +} +@font-face { + font-family: "FontAwesome"; + font-display: block; + src: url("../webfonts/fa-v4compatibility.woff2") format("woff2"); + unicode-range: U+F041, U+F047, U+F065-F066, U+F07D-F07E, U+F080, U+F08B, U+F08E, U+F090, U+F09A, U+F0AC, U+F0AE, U+F0B2, U+F0D0, U+F0D6, U+F0E4, U+F0EC, U+F10A-F10B, U+F123, U+F13E, U+F148-F149, U+F14C, U+F156, U+F15E, U+F160-F161, U+F163, U+F175-F178, U+F195, U+F1F8, U+F219, U+F27A; +} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/all.min.css b/assets/js/fortawesome-fontawesome-free/css/all.min.css new file mode 100644 index 0000000..3332dd1 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/all.min.css @@ -0,0 +1,9 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +.fa,.fa-brands,.fa-classic,.fa-regular,.fa-solid,.fab,.far,.fas{--_fa-family:var(--fa-family,var(--fa-style-family,"Font Awesome 7 Free"));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:var(--fa-display,inline-block);font-family:var(--_fa-family);font-feature-settings:normal;font-style:normal;font-synthesis:none;font-variant:normal;font-weight:var(--fa-style,900);line-height:1;text-align:center;text-rendering:auto;width:var(--fa-width,1.25em)}:is(.fas,.far,.fab,.fa-solid,.fa-regular,.fa-brands,.fa-classic,.fa):before{content:var(--fa)/""}@supports not (content:""/""){:is(.fas,.far,.fab,.fa-solid,.fa-regular,.fa-brands,.fa-classic,.fa):before{content:var(--fa)}}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-width-auto{--fa-width:auto}.fa-fw,.fa-width-fixed{--fa-width:1.25em}.fa-ul{list-style-type:none;margin-inline-start:var(--fa-li-margin,2.5em);padding-inline-start:0}.fa-ul>li{position:relative}.fa-li{inset-inline-start:calc(var(--fa-li-width, 2em)*-1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius,.1em);border:var(--fa-border-width,.0625em) var(--fa-border-style,solid) var(--fa-border-color,#eee);box-sizing:var(--fa-border-box-sizing,content-box);padding:var(--fa-border-padding,.1875em .25em)}.fa-pull-left,.fa-pull-start{float:inline-start;margin-inline-end:var(--fa-pull-margin,.3em)}.fa-pull-end,.fa-pull-right{float:inline-end;margin-inline-start:var(--fa-pull-margin,.3em)}.fa-beat{animation-name:fa-beat;animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{animation-name:fa-bounce;animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{animation-name:fa-fade;animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade,.fa-fade{animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s)}.fa-beat-fade{animation-name:fa-beat-fade;animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{animation-name:fa-flip;animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{animation-name:fa-shake;animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,linear)}.fa-shake,.fa-spin{animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal)}.fa-spin{animation-name:fa-spin;animation-duration:var(--fa-animation-duration,2s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{animation-name:fa-spin;animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{animation:none!important;transition:none!important}}@keyframes fa-beat{0%,90%{transform:scale(1)}45%{transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-bounce{0%{transform:scale(1) translateY(0)}10%{transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{transform:scale(1) translateY(0)}to{transform:scale(1) translateY(0)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);transform:scale(1)}50%{opacity:1;transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-flip{50%{transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-shake{0%{transform:rotate(-15deg)}4%{transform:rotate(15deg)}8%,24%{transform:rotate(-18deg)}12%,28%{transform:rotate(18deg)}16%{transform:rotate(-22deg)}20%{transform:rotate(22deg)}32%{transform:rotate(-12deg)}36%{transform:rotate(12deg)}40%,to{transform:rotate(0deg)}}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{transform:rotate(90deg)}.fa-rotate-180{transform:rotate(180deg)}.fa-rotate-270{transform:rotate(270deg)}.fa-flip-horizontal{transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}.fa-rotate-by{transform:rotate(var(--fa-rotate-angle,0))}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{--fa-width:100%;inset:0;position:absolute;text-align:center;width:var(--fa-width);z-index:var(--fa-stack-z-index,auto)}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:var(--fa-inverse,#fff)} + +.fa-0{--fa:"\30 "}.fa-1{--fa:"\31 "}.fa-2{--fa:"\32 "}.fa-3{--fa:"\33 "}.fa-4{--fa:"\34 "}.fa-5{--fa:"\35 "}.fa-6{--fa:"\36 "}.fa-7{--fa:"\37 "}.fa-8{--fa:"\38 "}.fa-9{--fa:"\39 "}.fa-exclamation{--fa:"\!"}.fa-hashtag{--fa:"\#"}.fa-dollar,.fa-dollar-sign,.fa-usd{--fa:"\$"}.fa-percent,.fa-percentage{--fa:"\%"}.fa-asterisk{--fa:"\*"}.fa-add,.fa-plus{--fa:"\+"}.fa-less-than{--fa:"\<"}.fa-equals{--fa:"\="}.fa-greater-than{--fa:"\>"}.fa-question{--fa:"\?"}.fa-at{--fa:"\@"}.fa-a{--fa:"A"}.fa-b{--fa:"B"}.fa-c{--fa:"C"}.fa-d{--fa:"D"}.fa-e{--fa:"E"}.fa-f{--fa:"F"}.fa-g{--fa:"G"}.fa-h{--fa:"H"}.fa-i{--fa:"I"}.fa-j{--fa:"J"}.fa-k{--fa:"K"}.fa-l{--fa:"L"}.fa-m{--fa:"M"}.fa-n{--fa:"N"}.fa-o{--fa:"O"}.fa-p{--fa:"P"}.fa-q{--fa:"Q"}.fa-r{--fa:"R"}.fa-s{--fa:"S"}.fa-t{--fa:"T"}.fa-u{--fa:"U"}.fa-v{--fa:"V"}.fa-w{--fa:"W"}.fa-x{--fa:"X"}.fa-y{--fa:"Y"}.fa-z{--fa:"Z"}.fa-faucet{--fa:"\e005"}.fa-faucet-drip{--fa:"\e006"}.fa-house-chimney-window{--fa:"\e00d"}.fa-house-signal{--fa:"\e012"}.fa-temperature-arrow-down,.fa-temperature-down{--fa:"\e03f"}.fa-temperature-arrow-up,.fa-temperature-up{--fa:"\e040"}.fa-trailer{--fa:"\e041"}.fa-bacteria{--fa:"\e059"}.fa-bacterium{--fa:"\e05a"}.fa-box-tissue{--fa:"\e05b"}.fa-hand-holding-medical{--fa:"\e05c"}.fa-hand-sparkles{--fa:"\e05d"}.fa-hands-bubbles,.fa-hands-wash{--fa:"\e05e"}.fa-handshake-alt-slash,.fa-handshake-simple-slash,.fa-handshake-slash{--fa:"\e060"}.fa-head-side-cough{--fa:"\e061"}.fa-head-side-cough-slash{--fa:"\e062"}.fa-head-side-mask{--fa:"\e063"}.fa-head-side-virus{--fa:"\e064"}.fa-house-chimney-user{--fa:"\e065"}.fa-house-laptop,.fa-laptop-house{--fa:"\e066"}.fa-lungs-virus{--fa:"\e067"}.fa-people-arrows,.fa-people-arrows-left-right{--fa:"\e068"}.fa-plane-slash{--fa:"\e069"}.fa-pump-medical{--fa:"\e06a"}.fa-pump-soap{--fa:"\e06b"}.fa-shield-virus{--fa:"\e06c"}.fa-sink{--fa:"\e06d"}.fa-soap{--fa:"\e06e"}.fa-stopwatch-20{--fa:"\e06f"}.fa-shop-slash,.fa-store-alt-slash{--fa:"\e070"}.fa-store-slash{--fa:"\e071"}.fa-toilet-paper-slash{--fa:"\e072"}.fa-users-slash{--fa:"\e073"}.fa-virus{--fa:"\e074"}.fa-virus-slash{--fa:"\e075"}.fa-viruses{--fa:"\e076"}.fa-vest{--fa:"\e085"}.fa-vest-patches{--fa:"\e086"}.fa-arrow-trend-down{--fa:"\e097"}.fa-arrow-trend-up{--fa:"\e098"}.fa-arrow-up-from-bracket{--fa:"\e09a"}.fa-austral-sign{--fa:"\e0a9"}.fa-baht-sign{--fa:"\e0ac"}.fa-bitcoin-sign{--fa:"\e0b4"}.fa-bolt-lightning{--fa:"\e0b7"}.fa-book-bookmark{--fa:"\e0bb"}.fa-camera-rotate{--fa:"\e0d8"}.fa-cedi-sign{--fa:"\e0df"}.fa-chart-column{--fa:"\e0e3"}.fa-chart-gantt{--fa:"\e0e4"}.fa-clapperboard{--fa:"\e131"}.fa-clover{--fa:"\e139"}.fa-code-compare{--fa:"\e13a"}.fa-code-fork{--fa:"\e13b"}.fa-code-pull-request{--fa:"\e13c"}.fa-colon-sign{--fa:"\e140"}.fa-cruzeiro-sign{--fa:"\e152"}.fa-display{--fa:"\e163"}.fa-dong-sign{--fa:"\e169"}.fa-elevator{--fa:"\e16d"}.fa-filter-circle-xmark{--fa:"\e17b"}.fa-florin-sign{--fa:"\e184"}.fa-folder-closed{--fa:"\e185"}.fa-franc-sign{--fa:"\e18f"}.fa-guarani-sign{--fa:"\e19a"}.fa-gun{--fa:"\e19b"}.fa-hands-clapping{--fa:"\e1a8"}.fa-home-user,.fa-house-user{--fa:"\e1b0"}.fa-indian-rupee,.fa-indian-rupee-sign,.fa-inr{--fa:"\e1bc"}.fa-kip-sign{--fa:"\e1c4"}.fa-lari-sign{--fa:"\e1c8"}.fa-litecoin-sign{--fa:"\e1d3"}.fa-manat-sign{--fa:"\e1d5"}.fa-mask-face{--fa:"\e1d7"}.fa-mill-sign{--fa:"\e1ed"}.fa-money-bills{--fa:"\e1f3"}.fa-naira-sign{--fa:"\e1f6"}.fa-notdef{--fa:"\e1fe"}.fa-panorama{--fa:"\e209"}.fa-peseta-sign{--fa:"\e221"}.fa-peso-sign{--fa:"\e222"}.fa-plane-up{--fa:"\e22d"}.fa-rupiah-sign{--fa:"\e23d"}.fa-stairs{--fa:"\e289"}.fa-timeline{--fa:"\e29c"}.fa-truck-front{--fa:"\e2b7"}.fa-try,.fa-turkish-lira,.fa-turkish-lira-sign{--fa:"\e2bb"}.fa-vault{--fa:"\e2c5"}.fa-magic-wand-sparkles,.fa-wand-magic-sparkles{--fa:"\e2ca"}.fa-wheat-alt,.fa-wheat-awn{--fa:"\e2cd"}.fa-wheelchair-alt,.fa-wheelchair-move{--fa:"\e2ce"}.fa-bangladeshi-taka-sign{--fa:"\e2e6"}.fa-bowl-rice{--fa:"\e2eb"}.fa-person-pregnant{--fa:"\e31e"}.fa-home-lg,.fa-house-chimney{--fa:"\e3af"}.fa-house-crack{--fa:"\e3b1"}.fa-house-medical{--fa:"\e3b2"}.fa-cent-sign{--fa:"\e3f5"}.fa-plus-minus{--fa:"\e43c"}.fa-sailboat{--fa:"\e445"}.fa-section{--fa:"\e447"}.fa-shrimp{--fa:"\e448"}.fa-brazilian-real-sign{--fa:"\e46c"}.fa-chart-simple{--fa:"\e473"}.fa-diagram-next{--fa:"\e476"}.fa-diagram-predecessor{--fa:"\e477"}.fa-diagram-successor{--fa:"\e47a"}.fa-earth-oceania,.fa-globe-oceania{--fa:"\e47b"}.fa-bug-slash{--fa:"\e490"}.fa-file-circle-plus{--fa:"\e494"}.fa-shop-lock{--fa:"\e4a5"}.fa-virus-covid{--fa:"\e4a8"}.fa-virus-covid-slash{--fa:"\e4a9"}.fa-anchor-circle-check{--fa:"\e4aa"}.fa-anchor-circle-exclamation{--fa:"\e4ab"}.fa-anchor-circle-xmark{--fa:"\e4ac"}.fa-anchor-lock{--fa:"\e4ad"}.fa-arrow-down-up-across-line{--fa:"\e4af"}.fa-arrow-down-up-lock{--fa:"\e4b0"}.fa-arrow-right-to-city{--fa:"\e4b3"}.fa-arrow-up-from-ground-water{--fa:"\e4b5"}.fa-arrow-up-from-water-pump{--fa:"\e4b6"}.fa-arrow-up-right-dots{--fa:"\e4b7"}.fa-arrows-down-to-line{--fa:"\e4b8"}.fa-arrows-down-to-people{--fa:"\e4b9"}.fa-arrows-left-right-to-line{--fa:"\e4ba"}.fa-arrows-spin{--fa:"\e4bb"}.fa-arrows-split-up-and-left{--fa:"\e4bc"}.fa-arrows-to-circle{--fa:"\e4bd"}.fa-arrows-to-dot{--fa:"\e4be"}.fa-arrows-to-eye{--fa:"\e4bf"}.fa-arrows-turn-right{--fa:"\e4c0"}.fa-arrows-turn-to-dots{--fa:"\e4c1"}.fa-arrows-up-to-line{--fa:"\e4c2"}.fa-bore-hole{--fa:"\e4c3"}.fa-bottle-droplet{--fa:"\e4c4"}.fa-bottle-water{--fa:"\e4c5"}.fa-bowl-food{--fa:"\e4c6"}.fa-boxes-packing{--fa:"\e4c7"}.fa-bridge{--fa:"\e4c8"}.fa-bridge-circle-check{--fa:"\e4c9"}.fa-bridge-circle-exclamation{--fa:"\e4ca"}.fa-bridge-circle-xmark{--fa:"\e4cb"}.fa-bridge-lock{--fa:"\e4cc"}.fa-bridge-water{--fa:"\e4ce"}.fa-bucket{--fa:"\e4cf"}.fa-bugs{--fa:"\e4d0"}.fa-building-circle-arrow-right{--fa:"\e4d1"}.fa-building-circle-check{--fa:"\e4d2"}.fa-building-circle-exclamation{--fa:"\e4d3"}.fa-building-circle-xmark{--fa:"\e4d4"}.fa-building-flag{--fa:"\e4d5"}.fa-building-lock{--fa:"\e4d6"}.fa-building-ngo{--fa:"\e4d7"}.fa-building-shield{--fa:"\e4d8"}.fa-building-un{--fa:"\e4d9"}.fa-building-user{--fa:"\e4da"}.fa-building-wheat{--fa:"\e4db"}.fa-burst{--fa:"\e4dc"}.fa-car-on{--fa:"\e4dd"}.fa-car-tunnel{--fa:"\e4de"}.fa-child-combatant,.fa-child-rifle{--fa:"\e4e0"}.fa-children{--fa:"\e4e1"}.fa-circle-nodes{--fa:"\e4e2"}.fa-clipboard-question{--fa:"\e4e3"}.fa-cloud-showers-water{--fa:"\e4e4"}.fa-computer{--fa:"\e4e5"}.fa-cubes-stacked{--fa:"\e4e6"}.fa-envelope-circle-check{--fa:"\e4e8"}.fa-explosion{--fa:"\e4e9"}.fa-ferry{--fa:"\e4ea"}.fa-file-circle-exclamation{--fa:"\e4eb"}.fa-file-circle-minus{--fa:"\e4ed"}.fa-file-circle-question{--fa:"\e4ef"}.fa-file-shield{--fa:"\e4f0"}.fa-fire-burner{--fa:"\e4f1"}.fa-fish-fins{--fa:"\e4f2"}.fa-flask-vial{--fa:"\e4f3"}.fa-glass-water{--fa:"\e4f4"}.fa-glass-water-droplet{--fa:"\e4f5"}.fa-group-arrows-rotate{--fa:"\e4f6"}.fa-hand-holding-hand{--fa:"\e4f7"}.fa-handcuffs{--fa:"\e4f8"}.fa-hands-bound{--fa:"\e4f9"}.fa-hands-holding-child{--fa:"\e4fa"}.fa-hands-holding-circle{--fa:"\e4fb"}.fa-heart-circle-bolt{--fa:"\e4fc"}.fa-heart-circle-check{--fa:"\e4fd"}.fa-heart-circle-exclamation{--fa:"\e4fe"}.fa-heart-circle-minus{--fa:"\e4ff"}.fa-heart-circle-plus{--fa:"\e500"}.fa-heart-circle-xmark{--fa:"\e501"}.fa-helicopter-symbol{--fa:"\e502"}.fa-helmet-un{--fa:"\e503"}.fa-hill-avalanche{--fa:"\e507"}.fa-hill-rockslide{--fa:"\e508"}.fa-house-circle-check{--fa:"\e509"}.fa-house-circle-exclamation{--fa:"\e50a"}.fa-house-circle-xmark{--fa:"\e50b"}.fa-house-fire{--fa:"\e50c"}.fa-house-flag{--fa:"\e50d"}.fa-house-flood-water{--fa:"\e50e"}.fa-house-flood-water-circle-arrow-right{--fa:"\e50f"}.fa-house-lock{--fa:"\e510"}.fa-house-medical-circle-check{--fa:"\e511"}.fa-house-medical-circle-exclamation{--fa:"\e512"}.fa-house-medical-circle-xmark{--fa:"\e513"}.fa-house-medical-flag{--fa:"\e514"}.fa-house-tsunami{--fa:"\e515"}.fa-jar{--fa:"\e516"}.fa-jar-wheat{--fa:"\e517"}.fa-jet-fighter-up{--fa:"\e518"}.fa-jug-detergent{--fa:"\e519"}.fa-kitchen-set{--fa:"\e51a"}.fa-land-mine-on{--fa:"\e51b"}.fa-landmark-flag{--fa:"\e51c"}.fa-laptop-file{--fa:"\e51d"}.fa-lines-leaning{--fa:"\e51e"}.fa-location-pin-lock{--fa:"\e51f"}.fa-locust{--fa:"\e520"}.fa-magnifying-glass-arrow-right{--fa:"\e521"}.fa-magnifying-glass-chart{--fa:"\e522"}.fa-mars-and-venus-burst{--fa:"\e523"}.fa-mask-ventilator{--fa:"\e524"}.fa-mattress-pillow{--fa:"\e525"}.fa-mobile-retro{--fa:"\e527"}.fa-money-bill-transfer{--fa:"\e528"}.fa-money-bill-trend-up{--fa:"\e529"}.fa-money-bill-wheat{--fa:"\e52a"}.fa-mosquito{--fa:"\e52b"}.fa-mosquito-net{--fa:"\e52c"}.fa-mound{--fa:"\e52d"}.fa-mountain-city{--fa:"\e52e"}.fa-mountain-sun{--fa:"\e52f"}.fa-oil-well{--fa:"\e532"}.fa-people-group{--fa:"\e533"}.fa-people-line{--fa:"\e534"}.fa-people-pulling{--fa:"\e535"}.fa-people-robbery{--fa:"\e536"}.fa-people-roof{--fa:"\e537"}.fa-person-arrow-down-to-line{--fa:"\e538"}.fa-person-arrow-up-from-line{--fa:"\e539"}.fa-person-breastfeeding{--fa:"\e53a"}.fa-person-burst{--fa:"\e53b"}.fa-person-cane{--fa:"\e53c"}.fa-person-chalkboard{--fa:"\e53d"}.fa-person-circle-check{--fa:"\e53e"}.fa-person-circle-exclamation{--fa:"\e53f"}.fa-person-circle-minus{--fa:"\e540"}.fa-person-circle-plus{--fa:"\e541"}.fa-person-circle-question{--fa:"\e542"}.fa-person-circle-xmark{--fa:"\e543"}.fa-person-dress-burst{--fa:"\e544"}.fa-person-drowning{--fa:"\e545"}.fa-person-falling{--fa:"\e546"}.fa-person-falling-burst{--fa:"\e547"}.fa-person-half-dress{--fa:"\e548"}.fa-person-harassing{--fa:"\e549"}.fa-person-military-pointing{--fa:"\e54a"}.fa-person-military-rifle{--fa:"\e54b"}.fa-person-military-to-person{--fa:"\e54c"}.fa-person-rays{--fa:"\e54d"}.fa-person-rifle{--fa:"\e54e"}.fa-person-shelter{--fa:"\e54f"}.fa-person-walking-arrow-loop-left{--fa:"\e551"}.fa-person-walking-arrow-right{--fa:"\e552"}.fa-person-walking-dashed-line-arrow-right{--fa:"\e553"}.fa-person-walking-luggage{--fa:"\e554"}.fa-plane-circle-check{--fa:"\e555"}.fa-plane-circle-exclamation{--fa:"\e556"}.fa-plane-circle-xmark{--fa:"\e557"}.fa-plane-lock{--fa:"\e558"}.fa-plate-wheat{--fa:"\e55a"}.fa-plug-circle-bolt{--fa:"\e55b"}.fa-plug-circle-check{--fa:"\e55c"}.fa-plug-circle-exclamation{--fa:"\e55d"}.fa-plug-circle-minus{--fa:"\e55e"}.fa-plug-circle-plus{--fa:"\e55f"}.fa-plug-circle-xmark{--fa:"\e560"}.fa-ranking-star{--fa:"\e561"}.fa-road-barrier{--fa:"\e562"}.fa-road-bridge{--fa:"\e563"}.fa-road-circle-check{--fa:"\e564"}.fa-road-circle-exclamation{--fa:"\e565"}.fa-road-circle-xmark{--fa:"\e566"}.fa-road-lock{--fa:"\e567"}.fa-road-spikes{--fa:"\e568"}.fa-rug{--fa:"\e569"}.fa-sack-xmark{--fa:"\e56a"}.fa-school-circle-check{--fa:"\e56b"}.fa-school-circle-exclamation{--fa:"\e56c"}.fa-school-circle-xmark{--fa:"\e56d"}.fa-school-flag{--fa:"\e56e"}.fa-school-lock{--fa:"\e56f"}.fa-sheet-plastic{--fa:"\e571"}.fa-shield-cat{--fa:"\e572"}.fa-shield-dog{--fa:"\e573"}.fa-shield-heart{--fa:"\e574"}.fa-square-nfi{--fa:"\e576"}.fa-square-person-confined{--fa:"\e577"}.fa-square-virus{--fa:"\e578"}.fa-rod-asclepius,.fa-rod-snake,.fa-staff-aesculapius,.fa-staff-snake{--fa:"\e579"}.fa-sun-plant-wilt{--fa:"\e57a"}.fa-tarp{--fa:"\e57b"}.fa-tarp-droplet{--fa:"\e57c"}.fa-tent{--fa:"\e57d"}.fa-tent-arrow-down-to-line{--fa:"\e57e"}.fa-tent-arrow-left-right{--fa:"\e57f"}.fa-tent-arrow-turn-left{--fa:"\e580"}.fa-tent-arrows-down{--fa:"\e581"}.fa-tents{--fa:"\e582"}.fa-toilet-portable{--fa:"\e583"}.fa-toilets-portable{--fa:"\e584"}.fa-tower-cell{--fa:"\e585"}.fa-tower-observation{--fa:"\e586"}.fa-tree-city{--fa:"\e587"}.fa-trowel{--fa:"\e589"}.fa-trowel-bricks{--fa:"\e58a"}.fa-truck-arrow-right{--fa:"\e58b"}.fa-truck-droplet{--fa:"\e58c"}.fa-truck-field{--fa:"\e58d"}.fa-truck-field-un{--fa:"\e58e"}.fa-truck-plane{--fa:"\e58f"}.fa-users-between-lines{--fa:"\e591"}.fa-users-line{--fa:"\e592"}.fa-users-rays{--fa:"\e593"}.fa-users-rectangle{--fa:"\e594"}.fa-users-viewfinder{--fa:"\e595"}.fa-vial-circle-check{--fa:"\e596"}.fa-vial-virus{--fa:"\e597"}.fa-wheat-awn-circle-exclamation{--fa:"\e598"}.fa-worm{--fa:"\e599"}.fa-xmarks-lines{--fa:"\e59a"}.fa-child-dress{--fa:"\e59c"}.fa-child-reaching{--fa:"\e59d"}.fa-file-circle-check{--fa:"\e5a0"}.fa-file-circle-xmark{--fa:"\e5a1"}.fa-person-through-window{--fa:"\e5a9"}.fa-plant-wilt{--fa:"\e5aa"}.fa-stapler{--fa:"\e5af"}.fa-train-tram{--fa:"\e5b4"}.fa-table-cells-column-lock{--fa:"\e678"}.fa-table-cells-row-lock{--fa:"\e67a"}.fa-thumb-tack-slash,.fa-thumbtack-slash{--fa:"\e68f"}.fa-table-cells-row-unlock{--fa:"\e691"}.fa-chart-diagram{--fa:"\e695"}.fa-comment-nodes{--fa:"\e696"}.fa-file-fragment{--fa:"\e697"}.fa-file-half-dashed{--fa:"\e698"}.fa-hexagon-nodes{--fa:"\e699"}.fa-hexagon-nodes-bolt{--fa:"\e69a"}.fa-square-binary{--fa:"\e69b"}.fa-pentagon{--fa:"\e790"}.fa-non-binary{--fa:"\e807"}.fa-spiral{--fa:"\e80a"}.fa-mobile-vibrate{--fa:"\e816"}.fa-single-quote-left{--fa:"\e81b"}.fa-single-quote-right{--fa:"\e81c"}.fa-bus-side{--fa:"\e81d"}.fa-heptagon,.fa-septagon{--fa:"\e820"}.fa-glass-martini,.fa-martini-glass-empty{--fa:"\f000"}.fa-music{--fa:"\f001"}.fa-magnifying-glass,.fa-search{--fa:"\f002"}.fa-heart{--fa:"\f004"}.fa-star{--fa:"\f005"}.fa-user,.fa-user-alt,.fa-user-large{--fa:"\f007"}.fa-film,.fa-film-alt,.fa-film-simple{--fa:"\f008"}.fa-table-cells-large,.fa-th-large{--fa:"\f009"}.fa-table-cells,.fa-th{--fa:"\f00a"}.fa-table-list,.fa-th-list{--fa:"\f00b"}.fa-check{--fa:"\f00c"}.fa-close,.fa-multiply,.fa-remove,.fa-times,.fa-xmark{--fa:"\f00d"}.fa-magnifying-glass-plus,.fa-search-plus{--fa:"\f00e"}.fa-magnifying-glass-minus,.fa-search-minus{--fa:"\f010"}.fa-power-off{--fa:"\f011"}.fa-signal,.fa-signal-5,.fa-signal-perfect{--fa:"\f012"}.fa-cog,.fa-gear{--fa:"\f013"}.fa-home,.fa-home-alt,.fa-home-lg-alt,.fa-house{--fa:"\f015"}.fa-clock,.fa-clock-four{--fa:"\f017"}.fa-road{--fa:"\f018"}.fa-download{--fa:"\f019"}.fa-inbox{--fa:"\f01c"}.fa-arrow-right-rotate,.fa-arrow-rotate-forward,.fa-arrow-rotate-right,.fa-redo{--fa:"\f01e"}.fa-arrows-rotate,.fa-refresh,.fa-sync{--fa:"\f021"}.fa-list-alt,.fa-rectangle-list{--fa:"\f022"}.fa-lock{--fa:"\f023"}.fa-flag{--fa:"\f024"}.fa-headphones,.fa-headphones-alt,.fa-headphones-simple{--fa:"\f025"}.fa-volume-off{--fa:"\f026"}.fa-volume-down,.fa-volume-low{--fa:"\f027"}.fa-volume-high,.fa-volume-up{--fa:"\f028"}.fa-qrcode{--fa:"\f029"}.fa-barcode{--fa:"\f02a"}.fa-tag{--fa:"\f02b"}.fa-tags{--fa:"\f02c"}.fa-book{--fa:"\f02d"}.fa-bookmark{--fa:"\f02e"}.fa-print{--fa:"\f02f"}.fa-camera,.fa-camera-alt{--fa:"\f030"}.fa-font{--fa:"\f031"}.fa-bold{--fa:"\f032"}.fa-italic{--fa:"\f033"}.fa-text-height{--fa:"\f034"}.fa-text-width{--fa:"\f035"}.fa-align-left{--fa:"\f036"}.fa-align-center{--fa:"\f037"}.fa-align-right{--fa:"\f038"}.fa-align-justify{--fa:"\f039"}.fa-list,.fa-list-squares{--fa:"\f03a"}.fa-dedent,.fa-outdent{--fa:"\f03b"}.fa-indent{--fa:"\f03c"}.fa-video,.fa-video-camera{--fa:"\f03d"}.fa-image{--fa:"\f03e"}.fa-location-pin,.fa-map-marker{--fa:"\f041"}.fa-adjust,.fa-circle-half-stroke{--fa:"\f042"}.fa-droplet,.fa-tint{--fa:"\f043"}.fa-edit,.fa-pen-to-square{--fa:"\f044"}.fa-arrows,.fa-arrows-up-down-left-right{--fa:"\f047"}.fa-backward-step,.fa-step-backward{--fa:"\f048"}.fa-backward-fast,.fa-fast-backward{--fa:"\f049"}.fa-backward{--fa:"\f04a"}.fa-play{--fa:"\f04b"}.fa-pause{--fa:"\f04c"}.fa-stop{--fa:"\f04d"}.fa-forward{--fa:"\f04e"}.fa-fast-forward,.fa-forward-fast{--fa:"\f050"}.fa-forward-step,.fa-step-forward{--fa:"\f051"}.fa-eject{--fa:"\f052"}.fa-chevron-left{--fa:"\f053"}.fa-chevron-right{--fa:"\f054"}.fa-circle-plus,.fa-plus-circle{--fa:"\f055"}.fa-circle-minus,.fa-minus-circle{--fa:"\f056"}.fa-circle-xmark,.fa-times-circle,.fa-xmark-circle{--fa:"\f057"}.fa-check-circle,.fa-circle-check{--fa:"\f058"}.fa-circle-question,.fa-question-circle{--fa:"\f059"}.fa-circle-info,.fa-info-circle{--fa:"\f05a"}.fa-crosshairs{--fa:"\f05b"}.fa-ban,.fa-cancel{--fa:"\f05e"}.fa-arrow-left{--fa:"\f060"}.fa-arrow-right{--fa:"\f061"}.fa-arrow-up{--fa:"\f062"}.fa-arrow-down{--fa:"\f063"}.fa-mail-forward,.fa-share{--fa:"\f064"}.fa-expand{--fa:"\f065"}.fa-compress{--fa:"\f066"}.fa-minus,.fa-subtract{--fa:"\f068"}.fa-circle-exclamation,.fa-exclamation-circle{--fa:"\f06a"}.fa-gift{--fa:"\f06b"}.fa-leaf{--fa:"\f06c"}.fa-fire{--fa:"\f06d"}.fa-eye{--fa:"\f06e"}.fa-eye-slash{--fa:"\f070"}.fa-exclamation-triangle,.fa-triangle-exclamation,.fa-warning{--fa:"\f071"}.fa-plane{--fa:"\f072"}.fa-calendar-alt,.fa-calendar-days{--fa:"\f073"}.fa-random,.fa-shuffle{--fa:"\f074"}.fa-comment{--fa:"\f075"}.fa-magnet{--fa:"\f076"}.fa-chevron-up{--fa:"\f077"}.fa-chevron-down{--fa:"\f078"}.fa-retweet{--fa:"\f079"}.fa-cart-shopping,.fa-shopping-cart{--fa:"\f07a"}.fa-folder,.fa-folder-blank{--fa:"\f07b"}.fa-folder-open{--fa:"\f07c"}.fa-arrows-up-down,.fa-arrows-v{--fa:"\f07d"}.fa-arrows-h,.fa-arrows-left-right{--fa:"\f07e"}.fa-bar-chart,.fa-chart-bar{--fa:"\f080"}.fa-camera-retro{--fa:"\f083"}.fa-key{--fa:"\f084"}.fa-cogs,.fa-gears{--fa:"\f085"}.fa-comments{--fa:"\f086"}.fa-star-half{--fa:"\f089"}.fa-arrow-right-from-bracket,.fa-sign-out{--fa:"\f08b"}.fa-thumb-tack,.fa-thumbtack{--fa:"\f08d"}.fa-arrow-up-right-from-square,.fa-external-link{--fa:"\f08e"}.fa-arrow-right-to-bracket,.fa-sign-in{--fa:"\f090"}.fa-trophy{--fa:"\f091"}.fa-upload{--fa:"\f093"}.fa-lemon{--fa:"\f094"}.fa-phone{--fa:"\f095"}.fa-phone-square,.fa-square-phone{--fa:"\f098"}.fa-unlock{--fa:"\f09c"}.fa-credit-card,.fa-credit-card-alt{--fa:"\f09d"}.fa-feed,.fa-rss{--fa:"\f09e"}.fa-hard-drive,.fa-hdd{--fa:"\f0a0"}.fa-bullhorn{--fa:"\f0a1"}.fa-certificate{--fa:"\f0a3"}.fa-hand-point-right{--fa:"\f0a4"}.fa-hand-point-left{--fa:"\f0a5"}.fa-hand-point-up{--fa:"\f0a6"}.fa-hand-point-down{--fa:"\f0a7"}.fa-arrow-circle-left,.fa-circle-arrow-left{--fa:"\f0a8"}.fa-arrow-circle-right,.fa-circle-arrow-right{--fa:"\f0a9"}.fa-arrow-circle-up,.fa-circle-arrow-up{--fa:"\f0aa"}.fa-arrow-circle-down,.fa-circle-arrow-down{--fa:"\f0ab"}.fa-globe{--fa:"\f0ac"}.fa-wrench{--fa:"\f0ad"}.fa-list-check,.fa-tasks{--fa:"\f0ae"}.fa-filter{--fa:"\f0b0"}.fa-briefcase{--fa:"\f0b1"}.fa-arrows-alt,.fa-up-down-left-right{--fa:"\f0b2"}.fa-users{--fa:"\f0c0"}.fa-chain,.fa-link{--fa:"\f0c1"}.fa-cloud{--fa:"\f0c2"}.fa-flask{--fa:"\f0c3"}.fa-cut,.fa-scissors{--fa:"\f0c4"}.fa-copy{--fa:"\f0c5"}.fa-paperclip{--fa:"\f0c6"}.fa-floppy-disk,.fa-save{--fa:"\f0c7"}.fa-square{--fa:"\f0c8"}.fa-bars,.fa-navicon{--fa:"\f0c9"}.fa-list-dots,.fa-list-ul{--fa:"\f0ca"}.fa-list-1-2,.fa-list-numeric,.fa-list-ol{--fa:"\f0cb"}.fa-strikethrough{--fa:"\f0cc"}.fa-underline{--fa:"\f0cd"}.fa-table{--fa:"\f0ce"}.fa-magic,.fa-wand-magic{--fa:"\f0d0"}.fa-truck{--fa:"\f0d1"}.fa-money-bill{--fa:"\f0d6"}.fa-caret-down{--fa:"\f0d7"}.fa-caret-up{--fa:"\f0d8"}.fa-caret-left{--fa:"\f0d9"}.fa-caret-right{--fa:"\f0da"}.fa-columns,.fa-table-columns{--fa:"\f0db"}.fa-sort,.fa-unsorted{--fa:"\f0dc"}.fa-sort-desc,.fa-sort-down{--fa:"\f0dd"}.fa-sort-asc,.fa-sort-up{--fa:"\f0de"}.fa-envelope{--fa:"\f0e0"}.fa-arrow-left-rotate,.fa-arrow-rotate-back,.fa-arrow-rotate-backward,.fa-arrow-rotate-left,.fa-undo{--fa:"\f0e2"}.fa-gavel,.fa-legal{--fa:"\f0e3"}.fa-bolt,.fa-zap{--fa:"\f0e7"}.fa-sitemap{--fa:"\f0e8"}.fa-umbrella{--fa:"\f0e9"}.fa-file-clipboard,.fa-paste{--fa:"\f0ea"}.fa-lightbulb{--fa:"\f0eb"}.fa-arrow-right-arrow-left,.fa-exchange{--fa:"\f0ec"}.fa-cloud-arrow-down,.fa-cloud-download,.fa-cloud-download-alt{--fa:"\f0ed"}.fa-cloud-arrow-up,.fa-cloud-upload,.fa-cloud-upload-alt{--fa:"\f0ee"}.fa-user-doctor,.fa-user-md{--fa:"\f0f0"}.fa-stethoscope{--fa:"\f0f1"}.fa-suitcase{--fa:"\f0f2"}.fa-bell{--fa:"\f0f3"}.fa-coffee,.fa-mug-saucer{--fa:"\f0f4"}.fa-hospital,.fa-hospital-alt,.fa-hospital-wide{--fa:"\f0f8"}.fa-ambulance,.fa-truck-medical{--fa:"\f0f9"}.fa-medkit,.fa-suitcase-medical{--fa:"\f0fa"}.fa-fighter-jet,.fa-jet-fighter{--fa:"\f0fb"}.fa-beer,.fa-beer-mug-empty{--fa:"\f0fc"}.fa-h-square,.fa-square-h{--fa:"\f0fd"}.fa-plus-square,.fa-square-plus{--fa:"\f0fe"}.fa-angle-double-left,.fa-angles-left{--fa:"\f100"}.fa-angle-double-right,.fa-angles-right{--fa:"\f101"}.fa-angle-double-up,.fa-angles-up{--fa:"\f102"}.fa-angle-double-down,.fa-angles-down{--fa:"\f103"}.fa-angle-left{--fa:"\f104"}.fa-angle-right{--fa:"\f105"}.fa-angle-up{--fa:"\f106"}.fa-angle-down{--fa:"\f107"}.fa-laptop{--fa:"\f109"}.fa-tablet-button{--fa:"\f10a"}.fa-mobile-button{--fa:"\f10b"}.fa-quote-left,.fa-quote-left-alt{--fa:"\f10d"}.fa-quote-right,.fa-quote-right-alt{--fa:"\f10e"}.fa-spinner{--fa:"\f110"}.fa-circle{--fa:"\f111"}.fa-face-smile,.fa-smile{--fa:"\f118"}.fa-face-frown,.fa-frown{--fa:"\f119"}.fa-face-meh,.fa-meh{--fa:"\f11a"}.fa-gamepad{--fa:"\f11b"}.fa-keyboard{--fa:"\f11c"}.fa-flag-checkered{--fa:"\f11e"}.fa-terminal{--fa:"\f120"}.fa-code{--fa:"\f121"}.fa-mail-reply-all,.fa-reply-all{--fa:"\f122"}.fa-location-arrow{--fa:"\f124"}.fa-crop{--fa:"\f125"}.fa-code-branch{--fa:"\f126"}.fa-chain-broken,.fa-chain-slash,.fa-link-slash,.fa-unlink{--fa:"\f127"}.fa-info{--fa:"\f129"}.fa-superscript{--fa:"\f12b"}.fa-subscript{--fa:"\f12c"}.fa-eraser{--fa:"\f12d"}.fa-puzzle-piece{--fa:"\f12e"}.fa-microphone{--fa:"\f130"}.fa-microphone-slash{--fa:"\f131"}.fa-shield,.fa-shield-blank{--fa:"\f132"}.fa-calendar{--fa:"\f133"}.fa-fire-extinguisher{--fa:"\f134"}.fa-rocket{--fa:"\f135"}.fa-chevron-circle-left,.fa-circle-chevron-left{--fa:"\f137"}.fa-chevron-circle-right,.fa-circle-chevron-right{--fa:"\f138"}.fa-chevron-circle-up,.fa-circle-chevron-up{--fa:"\f139"}.fa-chevron-circle-down,.fa-circle-chevron-down{--fa:"\f13a"}.fa-anchor{--fa:"\f13d"}.fa-unlock-alt,.fa-unlock-keyhole{--fa:"\f13e"}.fa-bullseye{--fa:"\f140"}.fa-ellipsis,.fa-ellipsis-h{--fa:"\f141"}.fa-ellipsis-v,.fa-ellipsis-vertical{--fa:"\f142"}.fa-rss-square,.fa-square-rss{--fa:"\f143"}.fa-circle-play,.fa-play-circle{--fa:"\f144"}.fa-ticket{--fa:"\f145"}.fa-minus-square,.fa-square-minus{--fa:"\f146"}.fa-arrow-turn-up,.fa-level-up{--fa:"\f148"}.fa-arrow-turn-down,.fa-level-down{--fa:"\f149"}.fa-check-square,.fa-square-check{--fa:"\f14a"}.fa-pen-square,.fa-pencil-square,.fa-square-pen{--fa:"\f14b"}.fa-external-link-square,.fa-square-arrow-up-right{--fa:"\f14c"}.fa-share-from-square,.fa-share-square{--fa:"\f14d"}.fa-compass{--fa:"\f14e"}.fa-caret-square-down,.fa-square-caret-down{--fa:"\f150"}.fa-caret-square-up,.fa-square-caret-up{--fa:"\f151"}.fa-caret-square-right,.fa-square-caret-right{--fa:"\f152"}.fa-eur,.fa-euro,.fa-euro-sign{--fa:"\f153"}.fa-gbp,.fa-pound-sign,.fa-sterling-sign{--fa:"\f154"}.fa-rupee,.fa-rupee-sign{--fa:"\f156"}.fa-cny,.fa-jpy,.fa-rmb,.fa-yen,.fa-yen-sign{--fa:"\f157"}.fa-rouble,.fa-rub,.fa-ruble,.fa-ruble-sign{--fa:"\f158"}.fa-krw,.fa-won,.fa-won-sign{--fa:"\f159"}.fa-file{--fa:"\f15b"}.fa-file-alt,.fa-file-lines,.fa-file-text{--fa:"\f15c"}.fa-arrow-down-a-z,.fa-sort-alpha-asc,.fa-sort-alpha-down{--fa:"\f15d"}.fa-arrow-up-a-z,.fa-sort-alpha-up{--fa:"\f15e"}.fa-arrow-down-wide-short,.fa-sort-amount-asc,.fa-sort-amount-down{--fa:"\f160"}.fa-arrow-up-wide-short,.fa-sort-amount-up{--fa:"\f161"}.fa-arrow-down-1-9,.fa-sort-numeric-asc,.fa-sort-numeric-down{--fa:"\f162"}.fa-arrow-up-1-9,.fa-sort-numeric-up{--fa:"\f163"}.fa-thumbs-up{--fa:"\f164"}.fa-thumbs-down{--fa:"\f165"}.fa-arrow-down-long,.fa-long-arrow-down{--fa:"\f175"}.fa-arrow-up-long,.fa-long-arrow-up{--fa:"\f176"}.fa-arrow-left-long,.fa-long-arrow-left{--fa:"\f177"}.fa-arrow-right-long,.fa-long-arrow-right{--fa:"\f178"}.fa-female,.fa-person-dress{--fa:"\f182"}.fa-male,.fa-person{--fa:"\f183"}.fa-sun{--fa:"\f185"}.fa-moon{--fa:"\f186"}.fa-archive,.fa-box-archive{--fa:"\f187"}.fa-bug{--fa:"\f188"}.fa-caret-square-left,.fa-square-caret-left{--fa:"\f191"}.fa-circle-dot,.fa-dot-circle{--fa:"\f192"}.fa-wheelchair{--fa:"\f193"}.fa-lira-sign{--fa:"\f195"}.fa-shuttle-space,.fa-space-shuttle{--fa:"\f197"}.fa-envelope-square,.fa-square-envelope{--fa:"\f199"}.fa-bank,.fa-building-columns,.fa-institution,.fa-museum,.fa-university{--fa:"\f19c"}.fa-graduation-cap,.fa-mortar-board{--fa:"\f19d"}.fa-language{--fa:"\f1ab"}.fa-fax{--fa:"\f1ac"}.fa-building{--fa:"\f1ad"}.fa-child{--fa:"\f1ae"}.fa-paw{--fa:"\f1b0"}.fa-cube{--fa:"\f1b2"}.fa-cubes{--fa:"\f1b3"}.fa-recycle{--fa:"\f1b8"}.fa-automobile,.fa-car{--fa:"\f1b9"}.fa-cab,.fa-taxi{--fa:"\f1ba"}.fa-tree{--fa:"\f1bb"}.fa-database{--fa:"\f1c0"}.fa-file-pdf{--fa:"\f1c1"}.fa-file-word{--fa:"\f1c2"}.fa-file-excel{--fa:"\f1c3"}.fa-file-powerpoint{--fa:"\f1c4"}.fa-file-image{--fa:"\f1c5"}.fa-file-archive,.fa-file-zipper{--fa:"\f1c6"}.fa-file-audio{--fa:"\f1c7"}.fa-file-video{--fa:"\f1c8"}.fa-file-code{--fa:"\f1c9"}.fa-life-ring{--fa:"\f1cd"}.fa-circle-notch{--fa:"\f1ce"}.fa-paper-plane{--fa:"\f1d8"}.fa-clock-rotate-left,.fa-history{--fa:"\f1da"}.fa-header,.fa-heading{--fa:"\f1dc"}.fa-paragraph{--fa:"\f1dd"}.fa-sliders,.fa-sliders-h{--fa:"\f1de"}.fa-share-alt,.fa-share-nodes{--fa:"\f1e0"}.fa-share-alt-square,.fa-square-share-nodes{--fa:"\f1e1"}.fa-bomb{--fa:"\f1e2"}.fa-futbol,.fa-futbol-ball,.fa-soccer-ball{--fa:"\f1e3"}.fa-teletype,.fa-tty{--fa:"\f1e4"}.fa-binoculars{--fa:"\f1e5"}.fa-plug{--fa:"\f1e6"}.fa-newspaper{--fa:"\f1ea"}.fa-wifi,.fa-wifi-3,.fa-wifi-strong{--fa:"\f1eb"}.fa-calculator{--fa:"\f1ec"}.fa-bell-slash{--fa:"\f1f6"}.fa-trash{--fa:"\f1f8"}.fa-copyright{--fa:"\f1f9"}.fa-eye-dropper,.fa-eye-dropper-empty,.fa-eyedropper{--fa:"\f1fb"}.fa-paint-brush,.fa-paintbrush{--fa:"\f1fc"}.fa-birthday-cake,.fa-cake,.fa-cake-candles{--fa:"\f1fd"}.fa-area-chart,.fa-chart-area{--fa:"\f1fe"}.fa-chart-pie,.fa-pie-chart{--fa:"\f200"}.fa-chart-line,.fa-line-chart{--fa:"\f201"}.fa-toggle-off{--fa:"\f204"}.fa-toggle-on{--fa:"\f205"}.fa-bicycle{--fa:"\f206"}.fa-bus{--fa:"\f207"}.fa-closed-captioning{--fa:"\f20a"}.fa-ils,.fa-shekel,.fa-shekel-sign,.fa-sheqel,.fa-sheqel-sign{--fa:"\f20b"}.fa-cart-plus{--fa:"\f217"}.fa-cart-arrow-down{--fa:"\f218"}.fa-diamond{--fa:"\f219"}.fa-ship{--fa:"\f21a"}.fa-user-secret{--fa:"\f21b"}.fa-motorcycle{--fa:"\f21c"}.fa-street-view{--fa:"\f21d"}.fa-heart-pulse,.fa-heartbeat{--fa:"\f21e"}.fa-venus{--fa:"\f221"}.fa-mars{--fa:"\f222"}.fa-mercury{--fa:"\f223"}.fa-mars-and-venus{--fa:"\f224"}.fa-transgender,.fa-transgender-alt{--fa:"\f225"}.fa-venus-double{--fa:"\f226"}.fa-mars-double{--fa:"\f227"}.fa-venus-mars{--fa:"\f228"}.fa-mars-stroke{--fa:"\f229"}.fa-mars-stroke-up,.fa-mars-stroke-v{--fa:"\f22a"}.fa-mars-stroke-h,.fa-mars-stroke-right{--fa:"\f22b"}.fa-neuter{--fa:"\f22c"}.fa-genderless{--fa:"\f22d"}.fa-server{--fa:"\f233"}.fa-user-plus{--fa:"\f234"}.fa-user-times,.fa-user-xmark{--fa:"\f235"}.fa-bed{--fa:"\f236"}.fa-train{--fa:"\f238"}.fa-subway,.fa-train-subway{--fa:"\f239"}.fa-battery,.fa-battery-5,.fa-battery-full{--fa:"\f240"}.fa-battery-4,.fa-battery-three-quarters{--fa:"\f241"}.fa-battery-3,.fa-battery-half{--fa:"\f242"}.fa-battery-2,.fa-battery-quarter{--fa:"\f243"}.fa-battery-0,.fa-battery-empty{--fa:"\f244"}.fa-arrow-pointer,.fa-mouse-pointer{--fa:"\f245"}.fa-i-cursor{--fa:"\f246"}.fa-object-group{--fa:"\f247"}.fa-object-ungroup{--fa:"\f248"}.fa-note-sticky,.fa-sticky-note{--fa:"\f249"}.fa-clone{--fa:"\f24d"}.fa-balance-scale,.fa-scale-balanced{--fa:"\f24e"}.fa-hourglass-1,.fa-hourglass-start{--fa:"\f251"}.fa-hourglass-2,.fa-hourglass-half{--fa:"\f252"}.fa-hourglass-3,.fa-hourglass-end{--fa:"\f253"}.fa-hourglass,.fa-hourglass-empty{--fa:"\f254"}.fa-hand-back-fist,.fa-hand-rock{--fa:"\f255"}.fa-hand,.fa-hand-paper{--fa:"\f256"}.fa-hand-scissors{--fa:"\f257"}.fa-hand-lizard{--fa:"\f258"}.fa-hand-spock{--fa:"\f259"}.fa-hand-pointer{--fa:"\f25a"}.fa-hand-peace{--fa:"\f25b"}.fa-trademark{--fa:"\f25c"}.fa-registered{--fa:"\f25d"}.fa-television,.fa-tv,.fa-tv-alt{--fa:"\f26c"}.fa-calendar-plus{--fa:"\f271"}.fa-calendar-minus{--fa:"\f272"}.fa-calendar-times,.fa-calendar-xmark{--fa:"\f273"}.fa-calendar-check{--fa:"\f274"}.fa-industry{--fa:"\f275"}.fa-map-pin{--fa:"\f276"}.fa-map-signs,.fa-signs-post{--fa:"\f277"}.fa-map{--fa:"\f279"}.fa-comment-alt,.fa-message{--fa:"\f27a"}.fa-circle-pause,.fa-pause-circle{--fa:"\f28b"}.fa-circle-stop,.fa-stop-circle{--fa:"\f28d"}.fa-bag-shopping,.fa-shopping-bag{--fa:"\f290"}.fa-basket-shopping,.fa-shopping-basket{--fa:"\f291"}.fa-universal-access{--fa:"\f29a"}.fa-blind,.fa-person-walking-with-cane{--fa:"\f29d"}.fa-audio-description{--fa:"\f29e"}.fa-phone-volume,.fa-volume-control-phone{--fa:"\f2a0"}.fa-braille{--fa:"\f2a1"}.fa-assistive-listening-systems,.fa-ear-listen{--fa:"\f2a2"}.fa-american-sign-language-interpreting,.fa-asl-interpreting,.fa-hands-american-sign-language-interpreting,.fa-hands-asl-interpreting{--fa:"\f2a3"}.fa-deaf,.fa-deafness,.fa-ear-deaf,.fa-hard-of-hearing{--fa:"\f2a4"}.fa-hands,.fa-sign-language,.fa-signing{--fa:"\f2a7"}.fa-eye-low-vision,.fa-low-vision{--fa:"\f2a8"}.fa-handshake,.fa-handshake-alt,.fa-handshake-simple{--fa:"\f2b5"}.fa-envelope-open{--fa:"\f2b6"}.fa-address-book,.fa-contact-book{--fa:"\f2b9"}.fa-address-card,.fa-contact-card,.fa-vcard{--fa:"\f2bb"}.fa-circle-user,.fa-user-circle{--fa:"\f2bd"}.fa-id-badge{--fa:"\f2c1"}.fa-drivers-license,.fa-id-card{--fa:"\f2c2"}.fa-temperature-4,.fa-temperature-full,.fa-thermometer-4,.fa-thermometer-full{--fa:"\f2c7"}.fa-temperature-3,.fa-temperature-three-quarters,.fa-thermometer-3,.fa-thermometer-three-quarters{--fa:"\f2c8"}.fa-temperature-2,.fa-temperature-half,.fa-thermometer-2,.fa-thermometer-half{--fa:"\f2c9"}.fa-temperature-1,.fa-temperature-quarter,.fa-thermometer-1,.fa-thermometer-quarter{--fa:"\f2ca"}.fa-temperature-0,.fa-temperature-empty,.fa-thermometer-0,.fa-thermometer-empty{--fa:"\f2cb"}.fa-shower{--fa:"\f2cc"}.fa-bath,.fa-bathtub{--fa:"\f2cd"}.fa-podcast{--fa:"\f2ce"}.fa-window-maximize{--fa:"\f2d0"}.fa-window-minimize{--fa:"\f2d1"}.fa-window-restore{--fa:"\f2d2"}.fa-square-xmark,.fa-times-square,.fa-xmark-square{--fa:"\f2d3"}.fa-microchip{--fa:"\f2db"}.fa-snowflake{--fa:"\f2dc"}.fa-spoon,.fa-utensil-spoon{--fa:"\f2e5"}.fa-cutlery,.fa-utensils{--fa:"\f2e7"}.fa-rotate-back,.fa-rotate-backward,.fa-rotate-left,.fa-undo-alt{--fa:"\f2ea"}.fa-trash-alt,.fa-trash-can{--fa:"\f2ed"}.fa-rotate,.fa-sync-alt{--fa:"\f2f1"}.fa-stopwatch{--fa:"\f2f2"}.fa-right-from-bracket,.fa-sign-out-alt{--fa:"\f2f5"}.fa-right-to-bracket,.fa-sign-in-alt{--fa:"\f2f6"}.fa-redo-alt,.fa-rotate-forward,.fa-rotate-right{--fa:"\f2f9"}.fa-poo{--fa:"\f2fe"}.fa-images{--fa:"\f302"}.fa-pencil,.fa-pencil-alt{--fa:"\f303"}.fa-pen{--fa:"\f304"}.fa-pen-alt,.fa-pen-clip{--fa:"\f305"}.fa-octagon{--fa:"\f306"}.fa-down-long,.fa-long-arrow-alt-down{--fa:"\f309"}.fa-left-long,.fa-long-arrow-alt-left{--fa:"\f30a"}.fa-long-arrow-alt-right,.fa-right-long{--fa:"\f30b"}.fa-long-arrow-alt-up,.fa-up-long{--fa:"\f30c"}.fa-hexagon{--fa:"\f312"}.fa-file-edit,.fa-file-pen{--fa:"\f31c"}.fa-expand-arrows-alt,.fa-maximize{--fa:"\f31e"}.fa-clipboard{--fa:"\f328"}.fa-arrows-alt-h,.fa-left-right{--fa:"\f337"}.fa-arrows-alt-v,.fa-up-down{--fa:"\f338"}.fa-alarm-clock{--fa:"\f34e"}.fa-arrow-alt-circle-down,.fa-circle-down{--fa:"\f358"}.fa-arrow-alt-circle-left,.fa-circle-left{--fa:"\f359"}.fa-arrow-alt-circle-right,.fa-circle-right{--fa:"\f35a"}.fa-arrow-alt-circle-up,.fa-circle-up{--fa:"\f35b"}.fa-external-link-alt,.fa-up-right-from-square{--fa:"\f35d"}.fa-external-link-square-alt,.fa-square-up-right{--fa:"\f360"}.fa-exchange-alt,.fa-right-left{--fa:"\f362"}.fa-repeat{--fa:"\f363"}.fa-code-commit{--fa:"\f386"}.fa-code-merge{--fa:"\f387"}.fa-desktop,.fa-desktop-alt{--fa:"\f390"}.fa-gem{--fa:"\f3a5"}.fa-level-down-alt,.fa-turn-down{--fa:"\f3be"}.fa-level-up-alt,.fa-turn-up{--fa:"\f3bf"}.fa-lock-open{--fa:"\f3c1"}.fa-location-dot,.fa-map-marker-alt{--fa:"\f3c5"}.fa-microphone-alt,.fa-microphone-lines{--fa:"\f3c9"}.fa-mobile-alt,.fa-mobile-screen-button{--fa:"\f3cd"}.fa-mobile,.fa-mobile-android,.fa-mobile-phone{--fa:"\f3ce"}.fa-mobile-android-alt,.fa-mobile-screen{--fa:"\f3cf"}.fa-money-bill-1,.fa-money-bill-alt{--fa:"\f3d1"}.fa-phone-slash{--fa:"\f3dd"}.fa-image-portrait,.fa-portrait{--fa:"\f3e0"}.fa-mail-reply,.fa-reply{--fa:"\f3e5"}.fa-shield-alt,.fa-shield-halved{--fa:"\f3ed"}.fa-tablet-alt,.fa-tablet-screen-button{--fa:"\f3fa"}.fa-tablet,.fa-tablet-android{--fa:"\f3fb"}.fa-ticket-alt,.fa-ticket-simple{--fa:"\f3ff"}.fa-rectangle-times,.fa-rectangle-xmark,.fa-times-rectangle,.fa-window-close{--fa:"\f410"}.fa-compress-alt,.fa-down-left-and-up-right-to-center{--fa:"\f422"}.fa-expand-alt,.fa-up-right-and-down-left-from-center{--fa:"\f424"}.fa-baseball-bat-ball{--fa:"\f432"}.fa-baseball,.fa-baseball-ball{--fa:"\f433"}.fa-basketball,.fa-basketball-ball{--fa:"\f434"}.fa-bowling-ball{--fa:"\f436"}.fa-chess{--fa:"\f439"}.fa-chess-bishop{--fa:"\f43a"}.fa-chess-board{--fa:"\f43c"}.fa-chess-king{--fa:"\f43f"}.fa-chess-knight{--fa:"\f441"}.fa-chess-pawn{--fa:"\f443"}.fa-chess-queen{--fa:"\f445"}.fa-chess-rook{--fa:"\f447"}.fa-dumbbell{--fa:"\f44b"}.fa-football,.fa-football-ball{--fa:"\f44e"}.fa-golf-ball,.fa-golf-ball-tee{--fa:"\f450"}.fa-hockey-puck{--fa:"\f453"}.fa-broom-ball,.fa-quidditch,.fa-quidditch-broom-ball{--fa:"\f458"}.fa-square-full{--fa:"\f45c"}.fa-ping-pong-paddle-ball,.fa-table-tennis,.fa-table-tennis-paddle-ball{--fa:"\f45d"}.fa-volleyball,.fa-volleyball-ball{--fa:"\f45f"}.fa-allergies,.fa-hand-dots{--fa:"\f461"}.fa-band-aid,.fa-bandage{--fa:"\f462"}.fa-box{--fa:"\f466"}.fa-boxes,.fa-boxes-alt,.fa-boxes-stacked{--fa:"\f468"}.fa-briefcase-medical{--fa:"\f469"}.fa-burn,.fa-fire-flame-simple{--fa:"\f46a"}.fa-capsules{--fa:"\f46b"}.fa-clipboard-check{--fa:"\f46c"}.fa-clipboard-list{--fa:"\f46d"}.fa-diagnoses,.fa-person-dots-from-line{--fa:"\f470"}.fa-dna{--fa:"\f471"}.fa-dolly,.fa-dolly-box{--fa:"\f472"}.fa-cart-flatbed,.fa-dolly-flatbed{--fa:"\f474"}.fa-file-medical{--fa:"\f477"}.fa-file-medical-alt,.fa-file-waveform{--fa:"\f478"}.fa-first-aid,.fa-kit-medical{--fa:"\f479"}.fa-circle-h,.fa-hospital-symbol{--fa:"\f47e"}.fa-id-card-alt,.fa-id-card-clip{--fa:"\f47f"}.fa-notes-medical{--fa:"\f481"}.fa-pallet{--fa:"\f482"}.fa-pills{--fa:"\f484"}.fa-prescription-bottle{--fa:"\f485"}.fa-prescription-bottle-alt,.fa-prescription-bottle-medical{--fa:"\f486"}.fa-bed-pulse,.fa-procedures{--fa:"\f487"}.fa-shipping-fast,.fa-truck-fast{--fa:"\f48b"}.fa-smoking{--fa:"\f48d"}.fa-syringe{--fa:"\f48e"}.fa-tablets{--fa:"\f490"}.fa-thermometer{--fa:"\f491"}.fa-vial{--fa:"\f492"}.fa-vials{--fa:"\f493"}.fa-warehouse{--fa:"\f494"}.fa-weight,.fa-weight-scale{--fa:"\f496"}.fa-x-ray{--fa:"\f497"}.fa-box-open{--fa:"\f49e"}.fa-comment-dots,.fa-commenting{--fa:"\f4ad"}.fa-comment-slash{--fa:"\f4b3"}.fa-couch{--fa:"\f4b8"}.fa-circle-dollar-to-slot,.fa-donate{--fa:"\f4b9"}.fa-dove{--fa:"\f4ba"}.fa-hand-holding{--fa:"\f4bd"}.fa-hand-holding-heart{--fa:"\f4be"}.fa-hand-holding-dollar,.fa-hand-holding-usd{--fa:"\f4c0"}.fa-hand-holding-droplet,.fa-hand-holding-water{--fa:"\f4c1"}.fa-hands-holding{--fa:"\f4c2"}.fa-hands-helping,.fa-handshake-angle{--fa:"\f4c4"}.fa-parachute-box{--fa:"\f4cd"}.fa-people-carry,.fa-people-carry-box{--fa:"\f4ce"}.fa-piggy-bank{--fa:"\f4d3"}.fa-ribbon{--fa:"\f4d6"}.fa-route{--fa:"\f4d7"}.fa-seedling,.fa-sprout{--fa:"\f4d8"}.fa-sign,.fa-sign-hanging{--fa:"\f4d9"}.fa-face-smile-wink,.fa-smile-wink{--fa:"\f4da"}.fa-tape{--fa:"\f4db"}.fa-truck-loading,.fa-truck-ramp-box{--fa:"\f4de"}.fa-truck-moving{--fa:"\f4df"}.fa-video-slash{--fa:"\f4e2"}.fa-wine-glass{--fa:"\f4e3"}.fa-user-astronaut{--fa:"\f4fb"}.fa-user-check{--fa:"\f4fc"}.fa-user-clock{--fa:"\f4fd"}.fa-user-cog,.fa-user-gear{--fa:"\f4fe"}.fa-user-edit,.fa-user-pen{--fa:"\f4ff"}.fa-user-friends,.fa-user-group{--fa:"\f500"}.fa-user-graduate{--fa:"\f501"}.fa-user-lock{--fa:"\f502"}.fa-user-minus{--fa:"\f503"}.fa-user-ninja{--fa:"\f504"}.fa-user-shield{--fa:"\f505"}.fa-user-alt-slash,.fa-user-large-slash,.fa-user-slash{--fa:"\f506"}.fa-user-tag{--fa:"\f507"}.fa-user-tie{--fa:"\f508"}.fa-users-cog,.fa-users-gear{--fa:"\f509"}.fa-balance-scale-left,.fa-scale-unbalanced{--fa:"\f515"}.fa-balance-scale-right,.fa-scale-unbalanced-flip{--fa:"\f516"}.fa-blender{--fa:"\f517"}.fa-book-open{--fa:"\f518"}.fa-broadcast-tower,.fa-tower-broadcast{--fa:"\f519"}.fa-broom{--fa:"\f51a"}.fa-blackboard,.fa-chalkboard{--fa:"\f51b"}.fa-chalkboard-teacher,.fa-chalkboard-user{--fa:"\f51c"}.fa-church{--fa:"\f51d"}.fa-coins{--fa:"\f51e"}.fa-compact-disc{--fa:"\f51f"}.fa-crow{--fa:"\f520"}.fa-crown{--fa:"\f521"}.fa-dice{--fa:"\f522"}.fa-dice-five{--fa:"\f523"}.fa-dice-four{--fa:"\f524"}.fa-dice-one{--fa:"\f525"}.fa-dice-six{--fa:"\f526"}.fa-dice-three{--fa:"\f527"}.fa-dice-two{--fa:"\f528"}.fa-divide{--fa:"\f529"}.fa-door-closed{--fa:"\f52a"}.fa-door-open{--fa:"\f52b"}.fa-feather{--fa:"\f52d"}.fa-frog{--fa:"\f52e"}.fa-gas-pump{--fa:"\f52f"}.fa-glasses{--fa:"\f530"}.fa-greater-than-equal{--fa:"\f532"}.fa-helicopter{--fa:"\f533"}.fa-infinity{--fa:"\f534"}.fa-kiwi-bird{--fa:"\f535"}.fa-less-than-equal{--fa:"\f537"}.fa-memory{--fa:"\f538"}.fa-microphone-alt-slash,.fa-microphone-lines-slash{--fa:"\f539"}.fa-money-bill-wave{--fa:"\f53a"}.fa-money-bill-1-wave,.fa-money-bill-wave-alt{--fa:"\f53b"}.fa-money-check{--fa:"\f53c"}.fa-money-check-alt,.fa-money-check-dollar{--fa:"\f53d"}.fa-not-equal{--fa:"\f53e"}.fa-palette{--fa:"\f53f"}.fa-parking,.fa-square-parking{--fa:"\f540"}.fa-diagram-project,.fa-project-diagram{--fa:"\f542"}.fa-receipt{--fa:"\f543"}.fa-robot{--fa:"\f544"}.fa-ruler{--fa:"\f545"}.fa-ruler-combined{--fa:"\f546"}.fa-ruler-horizontal{--fa:"\f547"}.fa-ruler-vertical{--fa:"\f548"}.fa-school{--fa:"\f549"}.fa-screwdriver{--fa:"\f54a"}.fa-shoe-prints{--fa:"\f54b"}.fa-skull{--fa:"\f54c"}.fa-ban-smoking,.fa-smoking-ban{--fa:"\f54d"}.fa-store{--fa:"\f54e"}.fa-shop,.fa-store-alt{--fa:"\f54f"}.fa-bars-staggered,.fa-reorder,.fa-stream{--fa:"\f550"}.fa-stroopwafel{--fa:"\f551"}.fa-toolbox{--fa:"\f552"}.fa-shirt,.fa-t-shirt,.fa-tshirt{--fa:"\f553"}.fa-person-walking,.fa-walking{--fa:"\f554"}.fa-wallet{--fa:"\f555"}.fa-angry,.fa-face-angry{--fa:"\f556"}.fa-archway{--fa:"\f557"}.fa-atlas,.fa-book-atlas{--fa:"\f558"}.fa-award{--fa:"\f559"}.fa-backspace,.fa-delete-left{--fa:"\f55a"}.fa-bezier-curve{--fa:"\f55b"}.fa-bong{--fa:"\f55c"}.fa-brush{--fa:"\f55d"}.fa-bus-alt,.fa-bus-simple{--fa:"\f55e"}.fa-cannabis{--fa:"\f55f"}.fa-check-double{--fa:"\f560"}.fa-cocktail,.fa-martini-glass-citrus{--fa:"\f561"}.fa-bell-concierge,.fa-concierge-bell{--fa:"\f562"}.fa-cookie{--fa:"\f563"}.fa-cookie-bite{--fa:"\f564"}.fa-crop-alt,.fa-crop-simple{--fa:"\f565"}.fa-digital-tachograph,.fa-tachograph-digital{--fa:"\f566"}.fa-dizzy,.fa-face-dizzy{--fa:"\f567"}.fa-compass-drafting,.fa-drafting-compass{--fa:"\f568"}.fa-drum{--fa:"\f569"}.fa-drum-steelpan{--fa:"\f56a"}.fa-feather-alt,.fa-feather-pointed{--fa:"\f56b"}.fa-file-contract{--fa:"\f56c"}.fa-file-arrow-down,.fa-file-download{--fa:"\f56d"}.fa-arrow-right-from-file,.fa-file-export{--fa:"\f56e"}.fa-arrow-right-to-file,.fa-file-import{--fa:"\f56f"}.fa-file-invoice{--fa:"\f570"}.fa-file-invoice-dollar{--fa:"\f571"}.fa-file-prescription{--fa:"\f572"}.fa-file-signature{--fa:"\f573"}.fa-file-arrow-up,.fa-file-upload{--fa:"\f574"}.fa-fill{--fa:"\f575"}.fa-fill-drip{--fa:"\f576"}.fa-fingerprint{--fa:"\f577"}.fa-fish{--fa:"\f578"}.fa-face-flushed,.fa-flushed{--fa:"\f579"}.fa-face-frown-open,.fa-frown-open{--fa:"\f57a"}.fa-glass-martini-alt,.fa-martini-glass{--fa:"\f57b"}.fa-earth-africa,.fa-globe-africa{--fa:"\f57c"}.fa-earth,.fa-earth-america,.fa-earth-americas,.fa-globe-americas{--fa:"\f57d"}.fa-earth-asia,.fa-globe-asia{--fa:"\f57e"}.fa-face-grimace,.fa-grimace{--fa:"\f57f"}.fa-face-grin,.fa-grin{--fa:"\f580"}.fa-face-grin-wide,.fa-grin-alt{--fa:"\f581"}.fa-face-grin-beam,.fa-grin-beam{--fa:"\f582"}.fa-face-grin-beam-sweat,.fa-grin-beam-sweat{--fa:"\f583"}.fa-face-grin-hearts,.fa-grin-hearts{--fa:"\f584"}.fa-face-grin-squint,.fa-grin-squint{--fa:"\f585"}.fa-face-grin-squint-tears,.fa-grin-squint-tears{--fa:"\f586"}.fa-face-grin-stars,.fa-grin-stars{--fa:"\f587"}.fa-face-grin-tears,.fa-grin-tears{--fa:"\f588"}.fa-face-grin-tongue,.fa-grin-tongue{--fa:"\f589"}.fa-face-grin-tongue-squint,.fa-grin-tongue-squint{--fa:"\f58a"}.fa-face-grin-tongue-wink,.fa-grin-tongue-wink{--fa:"\f58b"}.fa-face-grin-wink,.fa-grin-wink{--fa:"\f58c"}.fa-grid-horizontal,.fa-grip,.fa-grip-horizontal{--fa:"\f58d"}.fa-grid-vertical,.fa-grip-vertical{--fa:"\f58e"}.fa-headset{--fa:"\f590"}.fa-highlighter{--fa:"\f591"}.fa-hot-tub,.fa-hot-tub-person{--fa:"\f593"}.fa-hotel{--fa:"\f594"}.fa-joint{--fa:"\f595"}.fa-face-kiss,.fa-kiss{--fa:"\f596"}.fa-face-kiss-beam,.fa-kiss-beam{--fa:"\f597"}.fa-face-kiss-wink-heart,.fa-kiss-wink-heart{--fa:"\f598"}.fa-face-laugh,.fa-laugh{--fa:"\f599"}.fa-face-laugh-beam,.fa-laugh-beam{--fa:"\f59a"}.fa-face-laugh-squint,.fa-laugh-squint{--fa:"\f59b"}.fa-face-laugh-wink,.fa-laugh-wink{--fa:"\f59c"}.fa-cart-flatbed-suitcase,.fa-luggage-cart{--fa:"\f59d"}.fa-map-location,.fa-map-marked{--fa:"\f59f"}.fa-map-location-dot,.fa-map-marked-alt{--fa:"\f5a0"}.fa-marker{--fa:"\f5a1"}.fa-medal{--fa:"\f5a2"}.fa-face-meh-blank,.fa-meh-blank{--fa:"\f5a4"}.fa-face-rolling-eyes,.fa-meh-rolling-eyes{--fa:"\f5a5"}.fa-monument{--fa:"\f5a6"}.fa-mortar-pestle{--fa:"\f5a7"}.fa-paint-roller{--fa:"\f5aa"}.fa-passport{--fa:"\f5ab"}.fa-pen-fancy{--fa:"\f5ac"}.fa-pen-nib{--fa:"\f5ad"}.fa-pen-ruler,.fa-pencil-ruler{--fa:"\f5ae"}.fa-plane-arrival{--fa:"\f5af"}.fa-plane-departure{--fa:"\f5b0"}.fa-prescription{--fa:"\f5b1"}.fa-face-sad-cry,.fa-sad-cry{--fa:"\f5b3"}.fa-face-sad-tear,.fa-sad-tear{--fa:"\f5b4"}.fa-shuttle-van,.fa-van-shuttle{--fa:"\f5b6"}.fa-signature{--fa:"\f5b7"}.fa-face-smile-beam,.fa-smile-beam{--fa:"\f5b8"}.fa-solar-panel{--fa:"\f5ba"}.fa-spa{--fa:"\f5bb"}.fa-splotch{--fa:"\f5bc"}.fa-spray-can{--fa:"\f5bd"}.fa-stamp{--fa:"\f5bf"}.fa-star-half-alt,.fa-star-half-stroke{--fa:"\f5c0"}.fa-suitcase-rolling{--fa:"\f5c1"}.fa-face-surprise,.fa-surprise{--fa:"\f5c2"}.fa-swatchbook{--fa:"\f5c3"}.fa-person-swimming,.fa-swimmer{--fa:"\f5c4"}.fa-ladder-water,.fa-swimming-pool,.fa-water-ladder{--fa:"\f5c5"}.fa-droplet-slash,.fa-tint-slash{--fa:"\f5c7"}.fa-face-tired,.fa-tired{--fa:"\f5c8"}.fa-tooth{--fa:"\f5c9"}.fa-umbrella-beach{--fa:"\f5ca"}.fa-weight-hanging{--fa:"\f5cd"}.fa-wine-glass-alt,.fa-wine-glass-empty{--fa:"\f5ce"}.fa-air-freshener,.fa-spray-can-sparkles{--fa:"\f5d0"}.fa-apple-alt,.fa-apple-whole{--fa:"\f5d1"}.fa-atom{--fa:"\f5d2"}.fa-bone{--fa:"\f5d7"}.fa-book-open-reader,.fa-book-reader{--fa:"\f5da"}.fa-brain{--fa:"\f5dc"}.fa-car-alt,.fa-car-rear{--fa:"\f5de"}.fa-battery-car,.fa-car-battery{--fa:"\f5df"}.fa-car-burst,.fa-car-crash{--fa:"\f5e1"}.fa-car-side{--fa:"\f5e4"}.fa-charging-station{--fa:"\f5e7"}.fa-diamond-turn-right,.fa-directions{--fa:"\f5eb"}.fa-draw-polygon,.fa-vector-polygon{--fa:"\f5ee"}.fa-laptop-code{--fa:"\f5fc"}.fa-layer-group{--fa:"\f5fd"}.fa-location,.fa-location-crosshairs{--fa:"\f601"}.fa-lungs{--fa:"\f604"}.fa-microscope{--fa:"\f610"}.fa-oil-can{--fa:"\f613"}.fa-poop{--fa:"\f619"}.fa-shapes,.fa-triangle-circle-square{--fa:"\f61f"}.fa-star-of-life{--fa:"\f621"}.fa-dashboard,.fa-gauge,.fa-gauge-med,.fa-tachometer-alt-average{--fa:"\f624"}.fa-gauge-high,.fa-tachometer-alt,.fa-tachometer-alt-fast{--fa:"\f625"}.fa-gauge-simple,.fa-gauge-simple-med,.fa-tachometer-average{--fa:"\f629"}.fa-gauge-simple-high,.fa-tachometer,.fa-tachometer-fast{--fa:"\f62a"}.fa-teeth{--fa:"\f62e"}.fa-teeth-open{--fa:"\f62f"}.fa-masks-theater,.fa-theater-masks{--fa:"\f630"}.fa-traffic-light{--fa:"\f637"}.fa-truck-monster{--fa:"\f63b"}.fa-truck-pickup{--fa:"\f63c"}.fa-ad,.fa-rectangle-ad{--fa:"\f641"}.fa-ankh{--fa:"\f644"}.fa-bible,.fa-book-bible{--fa:"\f647"}.fa-briefcase-clock,.fa-business-time{--fa:"\f64a"}.fa-city{--fa:"\f64f"}.fa-comment-dollar{--fa:"\f651"}.fa-comments-dollar{--fa:"\f653"}.fa-cross{--fa:"\f654"}.fa-dharmachakra{--fa:"\f655"}.fa-envelope-open-text{--fa:"\f658"}.fa-folder-minus{--fa:"\f65d"}.fa-folder-plus{--fa:"\f65e"}.fa-filter-circle-dollar,.fa-funnel-dollar{--fa:"\f662"}.fa-gopuram{--fa:"\f664"}.fa-hamsa{--fa:"\f665"}.fa-bahai,.fa-haykal{--fa:"\f666"}.fa-jedi{--fa:"\f669"}.fa-book-journal-whills,.fa-journal-whills{--fa:"\f66a"}.fa-kaaba{--fa:"\f66b"}.fa-khanda{--fa:"\f66d"}.fa-landmark{--fa:"\f66f"}.fa-envelopes-bulk,.fa-mail-bulk{--fa:"\f674"}.fa-menorah{--fa:"\f676"}.fa-mosque{--fa:"\f678"}.fa-om{--fa:"\f679"}.fa-pastafarianism,.fa-spaghetti-monster-flying{--fa:"\f67b"}.fa-peace{--fa:"\f67c"}.fa-place-of-worship{--fa:"\f67f"}.fa-poll,.fa-square-poll-vertical{--fa:"\f681"}.fa-poll-h,.fa-square-poll-horizontal{--fa:"\f682"}.fa-person-praying,.fa-pray{--fa:"\f683"}.fa-hands-praying,.fa-praying-hands{--fa:"\f684"}.fa-book-quran,.fa-quran{--fa:"\f687"}.fa-magnifying-glass-dollar,.fa-search-dollar{--fa:"\f688"}.fa-magnifying-glass-location,.fa-search-location{--fa:"\f689"}.fa-socks{--fa:"\f696"}.fa-square-root-alt,.fa-square-root-variable{--fa:"\f698"}.fa-star-and-crescent{--fa:"\f699"}.fa-star-of-david{--fa:"\f69a"}.fa-synagogue{--fa:"\f69b"}.fa-scroll-torah,.fa-torah{--fa:"\f6a0"}.fa-torii-gate{--fa:"\f6a1"}.fa-vihara{--fa:"\f6a7"}.fa-volume-mute,.fa-volume-times,.fa-volume-xmark{--fa:"\f6a9"}.fa-yin-yang{--fa:"\f6ad"}.fa-blender-phone{--fa:"\f6b6"}.fa-book-dead,.fa-book-skull{--fa:"\f6b7"}.fa-campground{--fa:"\f6bb"}.fa-cat{--fa:"\f6be"}.fa-chair{--fa:"\f6c0"}.fa-cloud-moon{--fa:"\f6c3"}.fa-cloud-sun{--fa:"\f6c4"}.fa-cow{--fa:"\f6c8"}.fa-dice-d20{--fa:"\f6cf"}.fa-dice-d6{--fa:"\f6d1"}.fa-dog{--fa:"\f6d3"}.fa-dragon{--fa:"\f6d5"}.fa-drumstick-bite{--fa:"\f6d7"}.fa-dungeon{--fa:"\f6d9"}.fa-file-csv{--fa:"\f6dd"}.fa-fist-raised,.fa-hand-fist{--fa:"\f6de"}.fa-ghost{--fa:"\f6e2"}.fa-hammer{--fa:"\f6e3"}.fa-hanukiah{--fa:"\f6e6"}.fa-hat-wizard{--fa:"\f6e8"}.fa-hiking,.fa-person-hiking{--fa:"\f6ec"}.fa-hippo{--fa:"\f6ed"}.fa-horse{--fa:"\f6f0"}.fa-house-chimney-crack,.fa-house-damage{--fa:"\f6f1"}.fa-hryvnia,.fa-hryvnia-sign{--fa:"\f6f2"}.fa-mask{--fa:"\f6fa"}.fa-mountain{--fa:"\f6fc"}.fa-network-wired{--fa:"\f6ff"}.fa-otter{--fa:"\f700"}.fa-ring{--fa:"\f70b"}.fa-person-running,.fa-running{--fa:"\f70c"}.fa-scroll{--fa:"\f70e"}.fa-skull-crossbones{--fa:"\f714"}.fa-slash{--fa:"\f715"}.fa-spider{--fa:"\f717"}.fa-toilet-paper,.fa-toilet-paper-alt,.fa-toilet-paper-blank{--fa:"\f71e"}.fa-tractor{--fa:"\f722"}.fa-user-injured{--fa:"\f728"}.fa-vr-cardboard{--fa:"\f729"}.fa-wand-sparkles{--fa:"\f72b"}.fa-wind{--fa:"\f72e"}.fa-wine-bottle{--fa:"\f72f"}.fa-cloud-meatball{--fa:"\f73b"}.fa-cloud-moon-rain{--fa:"\f73c"}.fa-cloud-rain{--fa:"\f73d"}.fa-cloud-showers-heavy{--fa:"\f740"}.fa-cloud-sun-rain{--fa:"\f743"}.fa-democrat{--fa:"\f747"}.fa-flag-usa{--fa:"\f74d"}.fa-hurricane{--fa:"\f751"}.fa-landmark-alt,.fa-landmark-dome{--fa:"\f752"}.fa-meteor{--fa:"\f753"}.fa-person-booth{--fa:"\f756"}.fa-poo-bolt,.fa-poo-storm{--fa:"\f75a"}.fa-rainbow{--fa:"\f75b"}.fa-republican{--fa:"\f75e"}.fa-smog{--fa:"\f75f"}.fa-temperature-high{--fa:"\f769"}.fa-temperature-low{--fa:"\f76b"}.fa-cloud-bolt,.fa-thunderstorm{--fa:"\f76c"}.fa-tornado{--fa:"\f76f"}.fa-volcano{--fa:"\f770"}.fa-check-to-slot,.fa-vote-yea{--fa:"\f772"}.fa-water{--fa:"\f773"}.fa-baby{--fa:"\f77c"}.fa-baby-carriage,.fa-carriage-baby{--fa:"\f77d"}.fa-biohazard{--fa:"\f780"}.fa-blog{--fa:"\f781"}.fa-calendar-day{--fa:"\f783"}.fa-calendar-week{--fa:"\f784"}.fa-candy-cane{--fa:"\f786"}.fa-carrot{--fa:"\f787"}.fa-cash-register{--fa:"\f788"}.fa-compress-arrows-alt,.fa-minimize{--fa:"\f78c"}.fa-dumpster{--fa:"\f793"}.fa-dumpster-fire{--fa:"\f794"}.fa-ethernet{--fa:"\f796"}.fa-gifts{--fa:"\f79c"}.fa-champagne-glasses,.fa-glass-cheers{--fa:"\f79f"}.fa-glass-whiskey,.fa-whiskey-glass{--fa:"\f7a0"}.fa-earth-europe,.fa-globe-europe{--fa:"\f7a2"}.fa-grip-lines{--fa:"\f7a4"}.fa-grip-lines-vertical{--fa:"\f7a5"}.fa-guitar{--fa:"\f7a6"}.fa-heart-broken,.fa-heart-crack{--fa:"\f7a9"}.fa-holly-berry{--fa:"\f7aa"}.fa-horse-head{--fa:"\f7ab"}.fa-icicles{--fa:"\f7ad"}.fa-igloo{--fa:"\f7ae"}.fa-mitten{--fa:"\f7b5"}.fa-mug-hot{--fa:"\f7b6"}.fa-radiation{--fa:"\f7b9"}.fa-circle-radiation,.fa-radiation-alt{--fa:"\f7ba"}.fa-restroom{--fa:"\f7bd"}.fa-satellite{--fa:"\f7bf"}.fa-satellite-dish{--fa:"\f7c0"}.fa-sd-card{--fa:"\f7c2"}.fa-sim-card{--fa:"\f7c4"}.fa-person-skating,.fa-skating{--fa:"\f7c5"}.fa-person-skiing,.fa-skiing{--fa:"\f7c9"}.fa-person-skiing-nordic,.fa-skiing-nordic{--fa:"\f7ca"}.fa-sleigh{--fa:"\f7cc"}.fa-comment-sms,.fa-sms{--fa:"\f7cd"}.fa-person-snowboarding,.fa-snowboarding{--fa:"\f7ce"}.fa-snowman{--fa:"\f7d0"}.fa-snowplow{--fa:"\f7d2"}.fa-tenge,.fa-tenge-sign{--fa:"\f7d7"}.fa-toilet{--fa:"\f7d8"}.fa-screwdriver-wrench,.fa-tools{--fa:"\f7d9"}.fa-cable-car,.fa-tram{--fa:"\f7da"}.fa-fire-alt,.fa-fire-flame-curved{--fa:"\f7e4"}.fa-bacon{--fa:"\f7e5"}.fa-book-medical{--fa:"\f7e6"}.fa-bread-slice{--fa:"\f7ec"}.fa-cheese{--fa:"\f7ef"}.fa-clinic-medical,.fa-house-chimney-medical{--fa:"\f7f2"}.fa-clipboard-user{--fa:"\f7f3"}.fa-comment-medical{--fa:"\f7f5"}.fa-crutch{--fa:"\f7f7"}.fa-disease{--fa:"\f7fa"}.fa-egg{--fa:"\f7fb"}.fa-folder-tree{--fa:"\f802"}.fa-burger,.fa-hamburger{--fa:"\f805"}.fa-hand-middle-finger{--fa:"\f806"}.fa-hard-hat,.fa-hat-hard,.fa-helmet-safety{--fa:"\f807"}.fa-hospital-user{--fa:"\f80d"}.fa-hotdog{--fa:"\f80f"}.fa-ice-cream{--fa:"\f810"}.fa-laptop-medical{--fa:"\f812"}.fa-pager{--fa:"\f815"}.fa-pepper-hot{--fa:"\f816"}.fa-pizza-slice{--fa:"\f818"}.fa-sack-dollar{--fa:"\f81d"}.fa-book-tanakh,.fa-tanakh{--fa:"\f827"}.fa-bars-progress,.fa-tasks-alt{--fa:"\f828"}.fa-trash-arrow-up,.fa-trash-restore{--fa:"\f829"}.fa-trash-can-arrow-up,.fa-trash-restore-alt{--fa:"\f82a"}.fa-user-nurse{--fa:"\f82f"}.fa-wave-square{--fa:"\f83e"}.fa-biking,.fa-person-biking{--fa:"\f84a"}.fa-border-all{--fa:"\f84c"}.fa-border-none{--fa:"\f850"}.fa-border-style,.fa-border-top-left{--fa:"\f853"}.fa-digging,.fa-person-digging{--fa:"\f85e"}.fa-fan{--fa:"\f863"}.fa-heart-music-camera-bolt,.fa-icons{--fa:"\f86d"}.fa-phone-alt,.fa-phone-flip{--fa:"\f879"}.fa-phone-square-alt,.fa-square-phone-flip{--fa:"\f87b"}.fa-photo-film,.fa-photo-video{--fa:"\f87c"}.fa-remove-format,.fa-text-slash{--fa:"\f87d"}.fa-arrow-down-z-a,.fa-sort-alpha-desc,.fa-sort-alpha-down-alt{--fa:"\f881"}.fa-arrow-up-z-a,.fa-sort-alpha-up-alt{--fa:"\f882"}.fa-arrow-down-short-wide,.fa-sort-amount-desc,.fa-sort-amount-down-alt{--fa:"\f884"}.fa-arrow-up-short-wide,.fa-sort-amount-up-alt{--fa:"\f885"}.fa-arrow-down-9-1,.fa-sort-numeric-desc,.fa-sort-numeric-down-alt{--fa:"\f886"}.fa-arrow-up-9-1,.fa-sort-numeric-up-alt{--fa:"\f887"}.fa-spell-check{--fa:"\f891"}.fa-voicemail{--fa:"\f897"}.fa-hat-cowboy{--fa:"\f8c0"}.fa-hat-cowboy-side{--fa:"\f8c1"}.fa-computer-mouse,.fa-mouse{--fa:"\f8cc"}.fa-radio{--fa:"\f8d7"}.fa-record-vinyl{--fa:"\f8d9"}.fa-walkie-talkie{--fa:"\f8ef"}.fa-caravan{--fa:"\f8ff"} +:host,:root{--fa-family-brands:"Font Awesome 7 Brands";--fa-font-brands:normal 400 1em/1 var(--fa-family-brands)}@font-face{font-family:"Font Awesome 7 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.woff2)}.fa-brands,.fa-classic.fa-brands,.fab{--fa-family:var(--fa-family-brands);--fa-style:400}.fa-firefox-browser{--fa:"\e007"}.fa-ideal{--fa:"\e013"}.fa-microblog{--fa:"\e01a"}.fa-pied-piper-square,.fa-square-pied-piper{--fa:"\e01e"}.fa-unity{--fa:"\e049"}.fa-dailymotion{--fa:"\e052"}.fa-instagram-square,.fa-square-instagram{--fa:"\e055"}.fa-mixer{--fa:"\e056"}.fa-shopify{--fa:"\e057"}.fa-deezer{--fa:"\e077"}.fa-edge-legacy{--fa:"\e078"}.fa-google-pay{--fa:"\e079"}.fa-rust{--fa:"\e07a"}.fa-tiktok{--fa:"\e07b"}.fa-unsplash{--fa:"\e07c"}.fa-cloudflare{--fa:"\e07d"}.fa-guilded{--fa:"\e07e"}.fa-hive{--fa:"\e07f"}.fa-42-group,.fa-innosoft{--fa:"\e080"}.fa-instalod{--fa:"\e081"}.fa-octopus-deploy{--fa:"\e082"}.fa-perbyte{--fa:"\e083"}.fa-uncharted{--fa:"\e084"}.fa-watchman-monitoring{--fa:"\e087"}.fa-wodu{--fa:"\e088"}.fa-wirsindhandwerk,.fa-wsh{--fa:"\e2d0"}.fa-bots{--fa:"\e340"}.fa-cmplid{--fa:"\e360"}.fa-bilibili{--fa:"\e3d9"}.fa-golang{--fa:"\e40f"}.fa-pix{--fa:"\e43a"}.fa-sitrox{--fa:"\e44a"}.fa-hashnode{--fa:"\e499"}.fa-meta{--fa:"\e49b"}.fa-padlet{--fa:"\e4a0"}.fa-nfc-directional{--fa:"\e530"}.fa-nfc-symbol{--fa:"\e531"}.fa-screenpal{--fa:"\e570"}.fa-space-awesome{--fa:"\e5ac"}.fa-square-font-awesome{--fa:"\e5ad"}.fa-gitlab-square,.fa-square-gitlab{--fa:"\e5ae"}.fa-odysee{--fa:"\e5c6"}.fa-stubber{--fa:"\e5c7"}.fa-debian{--fa:"\e60b"}.fa-shoelace{--fa:"\e60c"}.fa-threads{--fa:"\e618"}.fa-square-threads{--fa:"\e619"}.fa-square-x-twitter{--fa:"\e61a"}.fa-x-twitter{--fa:"\e61b"}.fa-opensuse{--fa:"\e62b"}.fa-letterboxd{--fa:"\e62d"}.fa-square-letterboxd{--fa:"\e62e"}.fa-mintbit{--fa:"\e62f"}.fa-google-scholar{--fa:"\e63b"}.fa-brave{--fa:"\e63c"}.fa-brave-reverse{--fa:"\e63d"}.fa-pixiv{--fa:"\e640"}.fa-upwork{--fa:"\e641"}.fa-webflow{--fa:"\e65c"}.fa-signal-messenger{--fa:"\e663"}.fa-bluesky{--fa:"\e671"}.fa-jxl{--fa:"\e67b"}.fa-square-upwork{--fa:"\e67c"}.fa-web-awesome{--fa:"\e682"}.fa-square-web-awesome{--fa:"\e683"}.fa-square-web-awesome-stroke{--fa:"\e684"}.fa-dart-lang{--fa:"\e693"}.fa-flutter{--fa:"\e694"}.fa-files-pinwheel{--fa:"\e69f"}.fa-css{--fa:"\e6a2"}.fa-square-bluesky{--fa:"\e6a3"}.fa-openai{--fa:"\e7cf"}.fa-square-linkedin{--fa:"\e7d0"}.fa-cash-app{--fa:"\e7d4"}.fa-disqus{--fa:"\e7d5"}.fa-11ty,.fa-eleventy{--fa:"\e7d6"}.fa-kakao-talk{--fa:"\e7d7"}.fa-linktree{--fa:"\e7d8"}.fa-notion{--fa:"\e7d9"}.fa-pandora{--fa:"\e7da"}.fa-pixelfed{--fa:"\e7db"}.fa-tidal{--fa:"\e7dc"}.fa-vsco{--fa:"\e7dd"}.fa-w3c{--fa:"\e7de"}.fa-lumon{--fa:"\e7e2"}.fa-lumon-drop{--fa:"\e7e3"}.fa-square-figma{--fa:"\e7e4"}.fa-tex{--fa:"\e7ff"}.fa-duolingo{--fa:"\e812"}.fa-square-twitter,.fa-twitter-square{--fa:"\f081"}.fa-facebook-square,.fa-square-facebook{--fa:"\f082"}.fa-linkedin{--fa:"\f08c"}.fa-github-square,.fa-square-github{--fa:"\f092"}.fa-twitter{--fa:"\f099"}.fa-facebook{--fa:"\f09a"}.fa-github{--fa:"\f09b"}.fa-pinterest{--fa:"\f0d2"}.fa-pinterest-square,.fa-square-pinterest{--fa:"\f0d3"}.fa-google-plus-square,.fa-square-google-plus{--fa:"\f0d4"}.fa-google-plus-g{--fa:"\f0d5"}.fa-linkedin-in{--fa:"\f0e1"}.fa-github-alt{--fa:"\f113"}.fa-maxcdn{--fa:"\f136"}.fa-html5{--fa:"\f13b"}.fa-css3{--fa:"\f13c"}.fa-btc{--fa:"\f15a"}.fa-youtube{--fa:"\f167"}.fa-xing{--fa:"\f168"}.fa-square-xing,.fa-xing-square{--fa:"\f169"}.fa-dropbox{--fa:"\f16b"}.fa-stack-overflow{--fa:"\f16c"}.fa-instagram{--fa:"\f16d"}.fa-flickr{--fa:"\f16e"}.fa-adn{--fa:"\f170"}.fa-bitbucket{--fa:"\f171"}.fa-tumblr{--fa:"\f173"}.fa-square-tumblr,.fa-tumblr-square{--fa:"\f174"}.fa-apple{--fa:"\f179"}.fa-windows{--fa:"\f17a"}.fa-android{--fa:"\f17b"}.fa-linux{--fa:"\f17c"}.fa-dribbble{--fa:"\f17d"}.fa-skype{--fa:"\f17e"}.fa-foursquare{--fa:"\f180"}.fa-trello{--fa:"\f181"}.fa-gratipay{--fa:"\f184"}.fa-vk{--fa:"\f189"}.fa-weibo{--fa:"\f18a"}.fa-renren{--fa:"\f18b"}.fa-pagelines{--fa:"\f18c"}.fa-stack-exchange{--fa:"\f18d"}.fa-square-vimeo,.fa-vimeo-square{--fa:"\f194"}.fa-slack,.fa-slack-hash{--fa:"\f198"}.fa-wordpress{--fa:"\f19a"}.fa-openid{--fa:"\f19b"}.fa-yahoo{--fa:"\f19e"}.fa-google{--fa:"\f1a0"}.fa-reddit{--fa:"\f1a1"}.fa-reddit-square,.fa-square-reddit{--fa:"\f1a2"}.fa-stumbleupon-circle{--fa:"\f1a3"}.fa-stumbleupon{--fa:"\f1a4"}.fa-delicious{--fa:"\f1a5"}.fa-digg{--fa:"\f1a6"}.fa-pied-piper-pp{--fa:"\f1a7"}.fa-pied-piper-alt{--fa:"\f1a8"}.fa-drupal{--fa:"\f1a9"}.fa-joomla{--fa:"\f1aa"}.fa-behance{--fa:"\f1b4"}.fa-behance-square,.fa-square-behance{--fa:"\f1b5"}.fa-steam{--fa:"\f1b6"}.fa-square-steam,.fa-steam-square{--fa:"\f1b7"}.fa-spotify{--fa:"\f1bc"}.fa-deviantart{--fa:"\f1bd"}.fa-soundcloud{--fa:"\f1be"}.fa-vine{--fa:"\f1ca"}.fa-codepen{--fa:"\f1cb"}.fa-jsfiddle{--fa:"\f1cc"}.fa-rebel{--fa:"\f1d0"}.fa-empire{--fa:"\f1d1"}.fa-git-square,.fa-square-git{--fa:"\f1d2"}.fa-git{--fa:"\f1d3"}.fa-hacker-news{--fa:"\f1d4"}.fa-tencent-weibo{--fa:"\f1d5"}.fa-qq{--fa:"\f1d6"}.fa-weixin{--fa:"\f1d7"}.fa-slideshare{--fa:"\f1e7"}.fa-twitch{--fa:"\f1e8"}.fa-yelp{--fa:"\f1e9"}.fa-paypal{--fa:"\f1ed"}.fa-google-wallet{--fa:"\f1ee"}.fa-cc-visa{--fa:"\f1f0"}.fa-cc-mastercard{--fa:"\f1f1"}.fa-cc-discover{--fa:"\f1f2"}.fa-cc-amex{--fa:"\f1f3"}.fa-cc-paypal{--fa:"\f1f4"}.fa-cc-stripe{--fa:"\f1f5"}.fa-lastfm{--fa:"\f202"}.fa-lastfm-square,.fa-square-lastfm{--fa:"\f203"}.fa-ioxhost{--fa:"\f208"}.fa-angellist{--fa:"\f209"}.fa-buysellads{--fa:"\f20d"}.fa-connectdevelop{--fa:"\f20e"}.fa-dashcube{--fa:"\f210"}.fa-forumbee{--fa:"\f211"}.fa-leanpub{--fa:"\f212"}.fa-sellsy{--fa:"\f213"}.fa-shirtsinbulk{--fa:"\f214"}.fa-simplybuilt{--fa:"\f215"}.fa-skyatlas{--fa:"\f216"}.fa-pinterest-p{--fa:"\f231"}.fa-whatsapp{--fa:"\f232"}.fa-viacoin{--fa:"\f237"}.fa-medium,.fa-medium-m{--fa:"\f23a"}.fa-y-combinator{--fa:"\f23b"}.fa-optin-monster{--fa:"\f23c"}.fa-opencart{--fa:"\f23d"}.fa-expeditedssl{--fa:"\f23e"}.fa-cc-jcb{--fa:"\f24b"}.fa-cc-diners-club{--fa:"\f24c"}.fa-creative-commons{--fa:"\f25e"}.fa-gg{--fa:"\f260"}.fa-gg-circle{--fa:"\f261"}.fa-odnoklassniki{--fa:"\f263"}.fa-odnoklassniki-square,.fa-square-odnoklassniki{--fa:"\f264"}.fa-get-pocket{--fa:"\f265"}.fa-wikipedia-w{--fa:"\f266"}.fa-safari{--fa:"\f267"}.fa-chrome{--fa:"\f268"}.fa-firefox{--fa:"\f269"}.fa-opera{--fa:"\f26a"}.fa-internet-explorer{--fa:"\f26b"}.fa-contao{--fa:"\f26d"}.fa-500px{--fa:"\f26e"}.fa-amazon{--fa:"\f270"}.fa-houzz{--fa:"\f27c"}.fa-vimeo-v{--fa:"\f27d"}.fa-black-tie{--fa:"\f27e"}.fa-fonticons{--fa:"\f280"}.fa-reddit-alien{--fa:"\f281"}.fa-edge{--fa:"\f282"}.fa-codiepie{--fa:"\f284"}.fa-modx{--fa:"\f285"}.fa-fort-awesome{--fa:"\f286"}.fa-usb{--fa:"\f287"}.fa-product-hunt{--fa:"\f288"}.fa-mixcloud{--fa:"\f289"}.fa-scribd{--fa:"\f28a"}.fa-bluetooth{--fa:"\f293"}.fa-bluetooth-b{--fa:"\f294"}.fa-gitlab{--fa:"\f296"}.fa-wpbeginner{--fa:"\f297"}.fa-wpforms{--fa:"\f298"}.fa-envira{--fa:"\f299"}.fa-glide{--fa:"\f2a5"}.fa-glide-g{--fa:"\f2a6"}.fa-viadeo{--fa:"\f2a9"}.fa-square-viadeo,.fa-viadeo-square{--fa:"\f2aa"}.fa-snapchat,.fa-snapchat-ghost{--fa:"\f2ab"}.fa-snapchat-square,.fa-square-snapchat{--fa:"\f2ad"}.fa-pied-piper{--fa:"\f2ae"}.fa-first-order{--fa:"\f2b0"}.fa-yoast{--fa:"\f2b1"}.fa-themeisle{--fa:"\f2b2"}.fa-google-plus{--fa:"\f2b3"}.fa-font-awesome,.fa-font-awesome-flag,.fa-font-awesome-logo-full{--fa:"\f2b4"}.fa-linode{--fa:"\f2b8"}.fa-quora{--fa:"\f2c4"}.fa-free-code-camp{--fa:"\f2c5"}.fa-telegram,.fa-telegram-plane{--fa:"\f2c6"}.fa-bandcamp{--fa:"\f2d5"}.fa-grav{--fa:"\f2d6"}.fa-etsy{--fa:"\f2d7"}.fa-imdb{--fa:"\f2d8"}.fa-ravelry{--fa:"\f2d9"}.fa-sellcast{--fa:"\f2da"}.fa-superpowers{--fa:"\f2dd"}.fa-wpexplorer{--fa:"\f2de"}.fa-meetup{--fa:"\f2e0"}.fa-font-awesome-alt,.fa-square-font-awesome-stroke{--fa:"\f35c"}.fa-accessible-icon{--fa:"\f368"}.fa-accusoft{--fa:"\f369"}.fa-adversal{--fa:"\f36a"}.fa-affiliatetheme{--fa:"\f36b"}.fa-algolia{--fa:"\f36c"}.fa-amilia{--fa:"\f36d"}.fa-angrycreative{--fa:"\f36e"}.fa-app-store{--fa:"\f36f"}.fa-app-store-ios{--fa:"\f370"}.fa-apper{--fa:"\f371"}.fa-asymmetrik{--fa:"\f372"}.fa-audible{--fa:"\f373"}.fa-avianex{--fa:"\f374"}.fa-aws{--fa:"\f375"}.fa-bimobject{--fa:"\f378"}.fa-bitcoin{--fa:"\f379"}.fa-bity{--fa:"\f37a"}.fa-blackberry{--fa:"\f37b"}.fa-blogger{--fa:"\f37c"}.fa-blogger-b{--fa:"\f37d"}.fa-buromobelexperte{--fa:"\f37f"}.fa-centercode{--fa:"\f380"}.fa-cloudscale{--fa:"\f383"}.fa-cloudsmith{--fa:"\f384"}.fa-cloudversify{--fa:"\f385"}.fa-cpanel{--fa:"\f388"}.fa-css3-alt{--fa:"\f38b"}.fa-cuttlefish{--fa:"\f38c"}.fa-d-and-d{--fa:"\f38d"}.fa-deploydog{--fa:"\f38e"}.fa-deskpro{--fa:"\f38f"}.fa-digital-ocean{--fa:"\f391"}.fa-discord{--fa:"\f392"}.fa-discourse{--fa:"\f393"}.fa-dochub{--fa:"\f394"}.fa-docker{--fa:"\f395"}.fa-draft2digital{--fa:"\f396"}.fa-dribbble-square,.fa-square-dribbble{--fa:"\f397"}.fa-dyalog{--fa:"\f399"}.fa-earlybirds{--fa:"\f39a"}.fa-erlang{--fa:"\f39d"}.fa-facebook-f{--fa:"\f39e"}.fa-facebook-messenger{--fa:"\f39f"}.fa-firstdraft{--fa:"\f3a1"}.fa-fonticons-fi{--fa:"\f3a2"}.fa-fort-awesome-alt{--fa:"\f3a3"}.fa-freebsd{--fa:"\f3a4"}.fa-gitkraken{--fa:"\f3a6"}.fa-gofore{--fa:"\f3a7"}.fa-goodreads{--fa:"\f3a8"}.fa-goodreads-g{--fa:"\f3a9"}.fa-google-drive{--fa:"\f3aa"}.fa-google-play{--fa:"\f3ab"}.fa-gripfire{--fa:"\f3ac"}.fa-grunt{--fa:"\f3ad"}.fa-gulp{--fa:"\f3ae"}.fa-hacker-news-square,.fa-square-hacker-news{--fa:"\f3af"}.fa-hire-a-helper{--fa:"\f3b0"}.fa-hotjar{--fa:"\f3b1"}.fa-hubspot{--fa:"\f3b2"}.fa-itunes{--fa:"\f3b4"}.fa-itunes-note{--fa:"\f3b5"}.fa-jenkins{--fa:"\f3b6"}.fa-joget{--fa:"\f3b7"}.fa-js{--fa:"\f3b8"}.fa-js-square,.fa-square-js{--fa:"\f3b9"}.fa-keycdn{--fa:"\f3ba"}.fa-kickstarter,.fa-square-kickstarter{--fa:"\f3bb"}.fa-kickstarter-k{--fa:"\f3bc"}.fa-laravel{--fa:"\f3bd"}.fa-line{--fa:"\f3c0"}.fa-lyft{--fa:"\f3c3"}.fa-magento{--fa:"\f3c4"}.fa-medapps{--fa:"\f3c6"}.fa-medrt{--fa:"\f3c8"}.fa-microsoft{--fa:"\f3ca"}.fa-mix{--fa:"\f3cb"}.fa-mizuni{--fa:"\f3cc"}.fa-monero{--fa:"\f3d0"}.fa-napster{--fa:"\f3d2"}.fa-node-js{--fa:"\f3d3"}.fa-npm{--fa:"\f3d4"}.fa-ns8{--fa:"\f3d5"}.fa-nutritionix{--fa:"\f3d6"}.fa-page4{--fa:"\f3d7"}.fa-palfed{--fa:"\f3d8"}.fa-patreon{--fa:"\f3d9"}.fa-periscope{--fa:"\f3da"}.fa-phabricator{--fa:"\f3db"}.fa-phoenix-framework{--fa:"\f3dc"}.fa-playstation{--fa:"\f3df"}.fa-pushed{--fa:"\f3e1"}.fa-python{--fa:"\f3e2"}.fa-red-river{--fa:"\f3e3"}.fa-rendact,.fa-wpressr{--fa:"\f3e4"}.fa-replyd{--fa:"\f3e6"}.fa-resolving{--fa:"\f3e7"}.fa-rocketchat{--fa:"\f3e8"}.fa-rockrms{--fa:"\f3e9"}.fa-schlix{--fa:"\f3ea"}.fa-searchengin{--fa:"\f3eb"}.fa-servicestack{--fa:"\f3ec"}.fa-sistrix{--fa:"\f3ee"}.fa-speakap{--fa:"\f3f3"}.fa-staylinked{--fa:"\f3f5"}.fa-steam-symbol{--fa:"\f3f6"}.fa-sticker-mule{--fa:"\f3f7"}.fa-studiovinari{--fa:"\f3f8"}.fa-supple{--fa:"\f3f9"}.fa-uber{--fa:"\f402"}.fa-uikit{--fa:"\f403"}.fa-uniregistry{--fa:"\f404"}.fa-untappd{--fa:"\f405"}.fa-ussunnah{--fa:"\f407"}.fa-vaadin{--fa:"\f408"}.fa-viber{--fa:"\f409"}.fa-vimeo{--fa:"\f40a"}.fa-vnv{--fa:"\f40b"}.fa-square-whatsapp,.fa-whatsapp-square{--fa:"\f40c"}.fa-whmcs{--fa:"\f40d"}.fa-wordpress-simple{--fa:"\f411"}.fa-xbox{--fa:"\f412"}.fa-yandex{--fa:"\f413"}.fa-yandex-international{--fa:"\f414"}.fa-apple-pay{--fa:"\f415"}.fa-cc-apple-pay{--fa:"\f416"}.fa-fly{--fa:"\f417"}.fa-node{--fa:"\f419"}.fa-osi{--fa:"\f41a"}.fa-react{--fa:"\f41b"}.fa-autoprefixer{--fa:"\f41c"}.fa-less{--fa:"\f41d"}.fa-sass{--fa:"\f41e"}.fa-vuejs{--fa:"\f41f"}.fa-angular{--fa:"\f420"}.fa-aviato{--fa:"\f421"}.fa-ember{--fa:"\f423"}.fa-gitter{--fa:"\f426"}.fa-hooli{--fa:"\f427"}.fa-strava{--fa:"\f428"}.fa-stripe{--fa:"\f429"}.fa-stripe-s{--fa:"\f42a"}.fa-typo3{--fa:"\f42b"}.fa-amazon-pay{--fa:"\f42c"}.fa-cc-amazon-pay{--fa:"\f42d"}.fa-ethereum{--fa:"\f42e"}.fa-korvue{--fa:"\f42f"}.fa-elementor{--fa:"\f430"}.fa-square-youtube,.fa-youtube-square{--fa:"\f431"}.fa-flipboard{--fa:"\f44d"}.fa-hips{--fa:"\f452"}.fa-php{--fa:"\f457"}.fa-quinscape{--fa:"\f459"}.fa-readme{--fa:"\f4d5"}.fa-java{--fa:"\f4e4"}.fa-pied-piper-hat{--fa:"\f4e5"}.fa-creative-commons-by{--fa:"\f4e7"}.fa-creative-commons-nc{--fa:"\f4e8"}.fa-creative-commons-nc-eu{--fa:"\f4e9"}.fa-creative-commons-nc-jp{--fa:"\f4ea"}.fa-creative-commons-nd{--fa:"\f4eb"}.fa-creative-commons-pd{--fa:"\f4ec"}.fa-creative-commons-pd-alt{--fa:"\f4ed"}.fa-creative-commons-remix{--fa:"\f4ee"}.fa-creative-commons-sa{--fa:"\f4ef"}.fa-creative-commons-sampling{--fa:"\f4f0"}.fa-creative-commons-sampling-plus{--fa:"\f4f1"}.fa-creative-commons-share{--fa:"\f4f2"}.fa-creative-commons-zero{--fa:"\f4f3"}.fa-ebay{--fa:"\f4f4"}.fa-keybase{--fa:"\f4f5"}.fa-mastodon{--fa:"\f4f6"}.fa-r-project{--fa:"\f4f7"}.fa-researchgate{--fa:"\f4f8"}.fa-teamspeak{--fa:"\f4f9"}.fa-first-order-alt{--fa:"\f50a"}.fa-fulcrum{--fa:"\f50b"}.fa-galactic-republic{--fa:"\f50c"}.fa-galactic-senate{--fa:"\f50d"}.fa-jedi-order{--fa:"\f50e"}.fa-mandalorian{--fa:"\f50f"}.fa-old-republic{--fa:"\f510"}.fa-phoenix-squadron{--fa:"\f511"}.fa-sith{--fa:"\f512"}.fa-trade-federation{--fa:"\f513"}.fa-wolf-pack-battalion{--fa:"\f514"}.fa-hornbill{--fa:"\f592"}.fa-mailchimp{--fa:"\f59e"}.fa-megaport{--fa:"\f5a3"}.fa-nimblr{--fa:"\f5a8"}.fa-rev{--fa:"\f5b2"}.fa-shopware{--fa:"\f5b5"}.fa-squarespace{--fa:"\f5be"}.fa-themeco{--fa:"\f5c6"}.fa-weebly{--fa:"\f5cc"}.fa-wix{--fa:"\f5cf"}.fa-ello{--fa:"\f5f1"}.fa-hackerrank{--fa:"\f5f7"}.fa-kaggle{--fa:"\f5fa"}.fa-markdown{--fa:"\f60f"}.fa-neos{--fa:"\f612"}.fa-zhihu{--fa:"\f63f"}.fa-alipay{--fa:"\f642"}.fa-the-red-yeti{--fa:"\f69d"}.fa-critical-role{--fa:"\f6c9"}.fa-d-and-d-beyond{--fa:"\f6ca"}.fa-dev{--fa:"\f6cc"}.fa-fantasy-flight-games{--fa:"\f6dc"}.fa-wizards-of-the-coast{--fa:"\f730"}.fa-think-peaks{--fa:"\f731"}.fa-reacteurope{--fa:"\f75d"}.fa-artstation{--fa:"\f77a"}.fa-atlassian{--fa:"\f77b"}.fa-canadian-maple-leaf{--fa:"\f785"}.fa-centos{--fa:"\f789"}.fa-confluence{--fa:"\f78d"}.fa-dhl{--fa:"\f790"}.fa-diaspora{--fa:"\f791"}.fa-fedex{--fa:"\f797"}.fa-fedora{--fa:"\f798"}.fa-figma{--fa:"\f799"}.fa-intercom{--fa:"\f7af"}.fa-invision{--fa:"\f7b0"}.fa-jira{--fa:"\f7b1"}.fa-mendeley{--fa:"\f7b3"}.fa-raspberry-pi{--fa:"\f7bb"}.fa-redhat{--fa:"\f7bc"}.fa-sketch{--fa:"\f7c6"}.fa-sourcetree{--fa:"\f7d3"}.fa-suse{--fa:"\f7d6"}.fa-ubuntu{--fa:"\f7df"}.fa-ups{--fa:"\f7e0"}.fa-usps{--fa:"\f7e1"}.fa-yarn{--fa:"\f7e3"}.fa-airbnb{--fa:"\f834"}.fa-battle-net{--fa:"\f835"}.fa-bootstrap{--fa:"\f836"}.fa-buffer{--fa:"\f837"}.fa-chromecast{--fa:"\f838"}.fa-evernote{--fa:"\f839"}.fa-itch-io{--fa:"\f83a"}.fa-salesforce{--fa:"\f83b"}.fa-speaker-deck{--fa:"\f83c"}.fa-symfony{--fa:"\f83d"}.fa-waze{--fa:"\f83f"}.fa-yammer{--fa:"\f840"}.fa-git-alt{--fa:"\f841"}.fa-stackpath{--fa:"\f842"}.fa-cotton-bureau{--fa:"\f89e"}.fa-buy-n-large{--fa:"\f8a6"}.fa-mdb{--fa:"\f8ca"}.fa-orcid{--fa:"\f8d2"}.fa-swift{--fa:"\f8e1"}.fa-umbraco{--fa:"\f8e8"}:host,:root{--fa-font-regular:normal 400 1em/1 var(--fa-family-classic)}@font-face{font-family:"Font Awesome 7 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.woff2)}.far{--fa-family:var(--fa-family-classic)}.fa-regular,.far{--fa-style:400}:host,:root{--fa-family-classic:"Font Awesome 7 Free";--fa-font-solid:normal 900 1em/1 var(--fa-family-classic);--fa-style-family-classic:var(--fa-family-classic)}@font-face{font-family:"Font Awesome 7 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2)}.fas{--fa-style:900}.fa-classic,.fas{--fa-family:var(--fa-family-classic)}.fa-solid{--fa-style:900}@font-face{font-family:"Font Awesome 5 Brands";font-display:block;font-weight:400;src:url(../webfonts/fa-brands-400.woff2) format("woff2")}@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:900;src:url(../webfonts/fa-solid-900.woff2) format("woff2")}@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:400;src:url(../webfonts/fa-regular-400.woff2) format("woff2")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-brands-400.woff2) format("woff2")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2");unicode-range:u+f003,u+f006,u+f014,u+f016-f017,u+f01a-f01b,u+f01d,u+f022,u+f03e,u+f044,u+f046,u+f05c-f05d,u+f06e,u+f070,u+f087-f088,u+f08a,u+f094,u+f096-f097,u+f09d,u+f0a0,u+f0a2,u+f0a4-f0a7,u+f0c5,u+f0c7,u+f0e5-f0e6,u+f0eb,u+f0f6-f0f8,u+f10c,u+f114-f115,u+f118-f11a,u+f11c-f11d,u+f133,u+f147,u+f14e,u+f150-f152,u+f185-f186,u+f18e,u+f190-f192,u+f196,u+f1c1-f1c9,u+f1d9,u+f1db,u+f1e3,u+f1ea,u+f1f7,u+f1f9,u+f20a,u+f247-f248,u+f24a,u+f24d,u+f255-f25b,u+f25d,u+f271-f274,u+f278,u+f27b,u+f28c,u+f28e,u+f29c,u+f2b5,u+f2b7,u+f2ba,u+f2bc,u+f2be,u+f2c0-f2c1,u+f2c3,u+f2d0,u+f2d2,u+f2d4,u+f2dc}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-v4compatibility.woff2) format("woff2");unicode-range:u+f041,u+f047,u+f065-f066,u+f07d-f07e,u+f080,u+f08b,u+f08e,u+f090,u+f09a,u+f0ac,u+f0ae,u+f0b2,u+f0d0,u+f0d6,u+f0e4,u+f0ec,u+f10a-f10b,u+f123,u+f13e,u+f148-f149,u+f14c,u+f156,u+f15e,u+f160-f161,u+f163,u+f175-f178,u+f195,u+f1f8,u+f219,u+f27a} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/brands.css b/assets/js/fortawesome-fontawesome-free/css/brands.css new file mode 100644 index 0000000..6606fbb --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/brands.css @@ -0,0 +1,2219 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +:root, :host { + --fa-family-brands: "Font Awesome 7 Brands"; + --fa-font-brands: normal 400 1em/1 var(--fa-family-brands); +} + +@font-face { + font-family: "Font Awesome 7 Brands"; + font-style: normal; + font-weight: 400; + font-display: block; + src: url("../webfonts/fa-brands-400.woff2"); +} +.fab, +.fa-brands, +.fa-classic.fa-brands { + --fa-family: var(--fa-family-brands); + --fa-style: 400; +} + +.fa-firefox-browser { + --fa: "\e007"; +} + +.fa-ideal { + --fa: "\e013"; +} + +.fa-microblog { + --fa: "\e01a"; +} + +.fa-square-pied-piper { + --fa: "\e01e"; +} + +.fa-pied-piper-square { + --fa: "\e01e"; +} + +.fa-unity { + --fa: "\e049"; +} + +.fa-dailymotion { + --fa: "\e052"; +} + +.fa-square-instagram { + --fa: "\e055"; +} + +.fa-instagram-square { + --fa: "\e055"; +} + +.fa-mixer { + --fa: "\e056"; +} + +.fa-shopify { + --fa: "\e057"; +} + +.fa-deezer { + --fa: "\e077"; +} + +.fa-edge-legacy { + --fa: "\e078"; +} + +.fa-google-pay { + --fa: "\e079"; +} + +.fa-rust { + --fa: "\e07a"; +} + +.fa-tiktok { + --fa: "\e07b"; +} + +.fa-unsplash { + --fa: "\e07c"; +} + +.fa-cloudflare { + --fa: "\e07d"; +} + +.fa-guilded { + --fa: "\e07e"; +} + +.fa-hive { + --fa: "\e07f"; +} + +.fa-42-group { + --fa: "\e080"; +} + +.fa-innosoft { + --fa: "\e080"; +} + +.fa-instalod { + --fa: "\e081"; +} + +.fa-octopus-deploy { + --fa: "\e082"; +} + +.fa-perbyte { + --fa: "\e083"; +} + +.fa-uncharted { + --fa: "\e084"; +} + +.fa-watchman-monitoring { + --fa: "\e087"; +} + +.fa-wodu { + --fa: "\e088"; +} + +.fa-wirsindhandwerk { + --fa: "\e2d0"; +} + +.fa-wsh { + --fa: "\e2d0"; +} + +.fa-bots { + --fa: "\e340"; +} + +.fa-cmplid { + --fa: "\e360"; +} + +.fa-bilibili { + --fa: "\e3d9"; +} + +.fa-golang { + --fa: "\e40f"; +} + +.fa-pix { + --fa: "\e43a"; +} + +.fa-sitrox { + --fa: "\e44a"; +} + +.fa-hashnode { + --fa: "\e499"; +} + +.fa-meta { + --fa: "\e49b"; +} + +.fa-padlet { + --fa: "\e4a0"; +} + +.fa-nfc-directional { + --fa: "\e530"; +} + +.fa-nfc-symbol { + --fa: "\e531"; +} + +.fa-screenpal { + --fa: "\e570"; +} + +.fa-space-awesome { + --fa: "\e5ac"; +} + +.fa-square-font-awesome { + --fa: "\e5ad"; +} + +.fa-square-gitlab { + --fa: "\e5ae"; +} + +.fa-gitlab-square { + --fa: "\e5ae"; +} + +.fa-odysee { + --fa: "\e5c6"; +} + +.fa-stubber { + --fa: "\e5c7"; +} + +.fa-debian { + --fa: "\e60b"; +} + +.fa-shoelace { + --fa: "\e60c"; +} + +.fa-threads { + --fa: "\e618"; +} + +.fa-square-threads { + --fa: "\e619"; +} + +.fa-square-x-twitter { + --fa: "\e61a"; +} + +.fa-x-twitter { + --fa: "\e61b"; +} + +.fa-opensuse { + --fa: "\e62b"; +} + +.fa-letterboxd { + --fa: "\e62d"; +} + +.fa-square-letterboxd { + --fa: "\e62e"; +} + +.fa-mintbit { + --fa: "\e62f"; +} + +.fa-google-scholar { + --fa: "\e63b"; +} + +.fa-brave { + --fa: "\e63c"; +} + +.fa-brave-reverse { + --fa: "\e63d"; +} + +.fa-pixiv { + --fa: "\e640"; +} + +.fa-upwork { + --fa: "\e641"; +} + +.fa-webflow { + --fa: "\e65c"; +} + +.fa-signal-messenger { + --fa: "\e663"; +} + +.fa-bluesky { + --fa: "\e671"; +} + +.fa-jxl { + --fa: "\e67b"; +} + +.fa-square-upwork { + --fa: "\e67c"; +} + +.fa-web-awesome { + --fa: "\e682"; +} + +.fa-square-web-awesome { + --fa: "\e683"; +} + +.fa-square-web-awesome-stroke { + --fa: "\e684"; +} + +.fa-dart-lang { + --fa: "\e693"; +} + +.fa-flutter { + --fa: "\e694"; +} + +.fa-files-pinwheel { + --fa: "\e69f"; +} + +.fa-css { + --fa: "\e6a2"; +} + +.fa-square-bluesky { + --fa: "\e6a3"; +} + +.fa-openai { + --fa: "\e7cf"; +} + +.fa-square-linkedin { + --fa: "\e7d0"; +} + +.fa-cash-app { + --fa: "\e7d4"; +} + +.fa-disqus { + --fa: "\e7d5"; +} + +.fa-eleventy { + --fa: "\e7d6"; +} + +.fa-11ty { + --fa: "\e7d6"; +} + +.fa-kakao-talk { + --fa: "\e7d7"; +} + +.fa-linktree { + --fa: "\e7d8"; +} + +.fa-notion { + --fa: "\e7d9"; +} + +.fa-pandora { + --fa: "\e7da"; +} + +.fa-pixelfed { + --fa: "\e7db"; +} + +.fa-tidal { + --fa: "\e7dc"; +} + +.fa-vsco { + --fa: "\e7dd"; +} + +.fa-w3c { + --fa: "\e7de"; +} + +.fa-lumon { + --fa: "\e7e2"; +} + +.fa-lumon-drop { + --fa: "\e7e3"; +} + +.fa-square-figma { + --fa: "\e7e4"; +} + +.fa-tex { + --fa: "\e7ff"; +} + +.fa-duolingo { + --fa: "\e812"; +} + +.fa-square-twitter { + --fa: "\f081"; +} + +.fa-twitter-square { + --fa: "\f081"; +} + +.fa-square-facebook { + --fa: "\f082"; +} + +.fa-facebook-square { + --fa: "\f082"; +} + +.fa-linkedin { + --fa: "\f08c"; +} + +.fa-square-github { + --fa: "\f092"; +} + +.fa-github-square { + --fa: "\f092"; +} + +.fa-twitter { + --fa: "\f099"; +} + +.fa-facebook { + --fa: "\f09a"; +} + +.fa-github { + --fa: "\f09b"; +} + +.fa-pinterest { + --fa: "\f0d2"; +} + +.fa-square-pinterest { + --fa: "\f0d3"; +} + +.fa-pinterest-square { + --fa: "\f0d3"; +} + +.fa-square-google-plus { + --fa: "\f0d4"; +} + +.fa-google-plus-square { + --fa: "\f0d4"; +} + +.fa-google-plus-g { + --fa: "\f0d5"; +} + +.fa-linkedin-in { + --fa: "\f0e1"; +} + +.fa-github-alt { + --fa: "\f113"; +} + +.fa-maxcdn { + --fa: "\f136"; +} + +.fa-html5 { + --fa: "\f13b"; +} + +.fa-css3 { + --fa: "\f13c"; +} + +.fa-btc { + --fa: "\f15a"; +} + +.fa-youtube { + --fa: "\f167"; +} + +.fa-xing { + --fa: "\f168"; +} + +.fa-square-xing { + --fa: "\f169"; +} + +.fa-xing-square { + --fa: "\f169"; +} + +.fa-dropbox { + --fa: "\f16b"; +} + +.fa-stack-overflow { + --fa: "\f16c"; +} + +.fa-instagram { + --fa: "\f16d"; +} + +.fa-flickr { + --fa: "\f16e"; +} + +.fa-adn { + --fa: "\f170"; +} + +.fa-bitbucket { + --fa: "\f171"; +} + +.fa-tumblr { + --fa: "\f173"; +} + +.fa-square-tumblr { + --fa: "\f174"; +} + +.fa-tumblr-square { + --fa: "\f174"; +} + +.fa-apple { + --fa: "\f179"; +} + +.fa-windows { + --fa: "\f17a"; +} + +.fa-android { + --fa: "\f17b"; +} + +.fa-linux { + --fa: "\f17c"; +} + +.fa-dribbble { + --fa: "\f17d"; +} + +.fa-skype { + --fa: "\f17e"; +} + +.fa-foursquare { + --fa: "\f180"; +} + +.fa-trello { + --fa: "\f181"; +} + +.fa-gratipay { + --fa: "\f184"; +} + +.fa-vk { + --fa: "\f189"; +} + +.fa-weibo { + --fa: "\f18a"; +} + +.fa-renren { + --fa: "\f18b"; +} + +.fa-pagelines { + --fa: "\f18c"; +} + +.fa-stack-exchange { + --fa: "\f18d"; +} + +.fa-square-vimeo { + --fa: "\f194"; +} + +.fa-vimeo-square { + --fa: "\f194"; +} + +.fa-slack { + --fa: "\f198"; +} + +.fa-slack-hash { + --fa: "\f198"; +} + +.fa-wordpress { + --fa: "\f19a"; +} + +.fa-openid { + --fa: "\f19b"; +} + +.fa-yahoo { + --fa: "\f19e"; +} + +.fa-google { + --fa: "\f1a0"; +} + +.fa-reddit { + --fa: "\f1a1"; +} + +.fa-square-reddit { + --fa: "\f1a2"; +} + +.fa-reddit-square { + --fa: "\f1a2"; +} + +.fa-stumbleupon-circle { + --fa: "\f1a3"; +} + +.fa-stumbleupon { + --fa: "\f1a4"; +} + +.fa-delicious { + --fa: "\f1a5"; +} + +.fa-digg { + --fa: "\f1a6"; +} + +.fa-pied-piper-pp { + --fa: "\f1a7"; +} + +.fa-pied-piper-alt { + --fa: "\f1a8"; +} + +.fa-drupal { + --fa: "\f1a9"; +} + +.fa-joomla { + --fa: "\f1aa"; +} + +.fa-behance { + --fa: "\f1b4"; +} + +.fa-square-behance { + --fa: "\f1b5"; +} + +.fa-behance-square { + --fa: "\f1b5"; +} + +.fa-steam { + --fa: "\f1b6"; +} + +.fa-square-steam { + --fa: "\f1b7"; +} + +.fa-steam-square { + --fa: "\f1b7"; +} + +.fa-spotify { + --fa: "\f1bc"; +} + +.fa-deviantart { + --fa: "\f1bd"; +} + +.fa-soundcloud { + --fa: "\f1be"; +} + +.fa-vine { + --fa: "\f1ca"; +} + +.fa-codepen { + --fa: "\f1cb"; +} + +.fa-jsfiddle { + --fa: "\f1cc"; +} + +.fa-rebel { + --fa: "\f1d0"; +} + +.fa-empire { + --fa: "\f1d1"; +} + +.fa-square-git { + --fa: "\f1d2"; +} + +.fa-git-square { + --fa: "\f1d2"; +} + +.fa-git { + --fa: "\f1d3"; +} + +.fa-hacker-news { + --fa: "\f1d4"; +} + +.fa-tencent-weibo { + --fa: "\f1d5"; +} + +.fa-qq { + --fa: "\f1d6"; +} + +.fa-weixin { + --fa: "\f1d7"; +} + +.fa-slideshare { + --fa: "\f1e7"; +} + +.fa-twitch { + --fa: "\f1e8"; +} + +.fa-yelp { + --fa: "\f1e9"; +} + +.fa-paypal { + --fa: "\f1ed"; +} + +.fa-google-wallet { + --fa: "\f1ee"; +} + +.fa-cc-visa { + --fa: "\f1f0"; +} + +.fa-cc-mastercard { + --fa: "\f1f1"; +} + +.fa-cc-discover { + --fa: "\f1f2"; +} + +.fa-cc-amex { + --fa: "\f1f3"; +} + +.fa-cc-paypal { + --fa: "\f1f4"; +} + +.fa-cc-stripe { + --fa: "\f1f5"; +} + +.fa-lastfm { + --fa: "\f202"; +} + +.fa-square-lastfm { + --fa: "\f203"; +} + +.fa-lastfm-square { + --fa: "\f203"; +} + +.fa-ioxhost { + --fa: "\f208"; +} + +.fa-angellist { + --fa: "\f209"; +} + +.fa-buysellads { + --fa: "\f20d"; +} + +.fa-connectdevelop { + --fa: "\f20e"; +} + +.fa-dashcube { + --fa: "\f210"; +} + +.fa-forumbee { + --fa: "\f211"; +} + +.fa-leanpub { + --fa: "\f212"; +} + +.fa-sellsy { + --fa: "\f213"; +} + +.fa-shirtsinbulk { + --fa: "\f214"; +} + +.fa-simplybuilt { + --fa: "\f215"; +} + +.fa-skyatlas { + --fa: "\f216"; +} + +.fa-pinterest-p { + --fa: "\f231"; +} + +.fa-whatsapp { + --fa: "\f232"; +} + +.fa-viacoin { + --fa: "\f237"; +} + +.fa-medium { + --fa: "\f23a"; +} + +.fa-medium-m { + --fa: "\f23a"; +} + +.fa-y-combinator { + --fa: "\f23b"; +} + +.fa-optin-monster { + --fa: "\f23c"; +} + +.fa-opencart { + --fa: "\f23d"; +} + +.fa-expeditedssl { + --fa: "\f23e"; +} + +.fa-cc-jcb { + --fa: "\f24b"; +} + +.fa-cc-diners-club { + --fa: "\f24c"; +} + +.fa-creative-commons { + --fa: "\f25e"; +} + +.fa-gg { + --fa: "\f260"; +} + +.fa-gg-circle { + --fa: "\f261"; +} + +.fa-odnoklassniki { + --fa: "\f263"; +} + +.fa-square-odnoklassniki { + --fa: "\f264"; +} + +.fa-odnoklassniki-square { + --fa: "\f264"; +} + +.fa-get-pocket { + --fa: "\f265"; +} + +.fa-wikipedia-w { + --fa: "\f266"; +} + +.fa-safari { + --fa: "\f267"; +} + +.fa-chrome { + --fa: "\f268"; +} + +.fa-firefox { + --fa: "\f269"; +} + +.fa-opera { + --fa: "\f26a"; +} + +.fa-internet-explorer { + --fa: "\f26b"; +} + +.fa-contao { + --fa: "\f26d"; +} + +.fa-500px { + --fa: "\f26e"; +} + +.fa-amazon { + --fa: "\f270"; +} + +.fa-houzz { + --fa: "\f27c"; +} + +.fa-vimeo-v { + --fa: "\f27d"; +} + +.fa-black-tie { + --fa: "\f27e"; +} + +.fa-fonticons { + --fa: "\f280"; +} + +.fa-reddit-alien { + --fa: "\f281"; +} + +.fa-edge { + --fa: "\f282"; +} + +.fa-codiepie { + --fa: "\f284"; +} + +.fa-modx { + --fa: "\f285"; +} + +.fa-fort-awesome { + --fa: "\f286"; +} + +.fa-usb { + --fa: "\f287"; +} + +.fa-product-hunt { + --fa: "\f288"; +} + +.fa-mixcloud { + --fa: "\f289"; +} + +.fa-scribd { + --fa: "\f28a"; +} + +.fa-bluetooth { + --fa: "\f293"; +} + +.fa-bluetooth-b { + --fa: "\f294"; +} + +.fa-gitlab { + --fa: "\f296"; +} + +.fa-wpbeginner { + --fa: "\f297"; +} + +.fa-wpforms { + --fa: "\f298"; +} + +.fa-envira { + --fa: "\f299"; +} + +.fa-glide { + --fa: "\f2a5"; +} + +.fa-glide-g { + --fa: "\f2a6"; +} + +.fa-viadeo { + --fa: "\f2a9"; +} + +.fa-square-viadeo { + --fa: "\f2aa"; +} + +.fa-viadeo-square { + --fa: "\f2aa"; +} + +.fa-snapchat { + --fa: "\f2ab"; +} + +.fa-snapchat-ghost { + --fa: "\f2ab"; +} + +.fa-square-snapchat { + --fa: "\f2ad"; +} + +.fa-snapchat-square { + --fa: "\f2ad"; +} + +.fa-pied-piper { + --fa: "\f2ae"; +} + +.fa-first-order { + --fa: "\f2b0"; +} + +.fa-yoast { + --fa: "\f2b1"; +} + +.fa-themeisle { + --fa: "\f2b2"; +} + +.fa-google-plus { + --fa: "\f2b3"; +} + +.fa-font-awesome { + --fa: "\f2b4"; +} + +.fa-font-awesome-flag { + --fa: "\f2b4"; +} + +.fa-font-awesome-logo-full { + --fa: "\f2b4"; +} + +.fa-linode { + --fa: "\f2b8"; +} + +.fa-quora { + --fa: "\f2c4"; +} + +.fa-free-code-camp { + --fa: "\f2c5"; +} + +.fa-telegram { + --fa: "\f2c6"; +} + +.fa-telegram-plane { + --fa: "\f2c6"; +} + +.fa-bandcamp { + --fa: "\f2d5"; +} + +.fa-grav { + --fa: "\f2d6"; +} + +.fa-etsy { + --fa: "\f2d7"; +} + +.fa-imdb { + --fa: "\f2d8"; +} + +.fa-ravelry { + --fa: "\f2d9"; +} + +.fa-sellcast { + --fa: "\f2da"; +} + +.fa-superpowers { + --fa: "\f2dd"; +} + +.fa-wpexplorer { + --fa: "\f2de"; +} + +.fa-meetup { + --fa: "\f2e0"; +} + +.fa-square-font-awesome-stroke { + --fa: "\f35c"; +} + +.fa-font-awesome-alt { + --fa: "\f35c"; +} + +.fa-accessible-icon { + --fa: "\f368"; +} + +.fa-accusoft { + --fa: "\f369"; +} + +.fa-adversal { + --fa: "\f36a"; +} + +.fa-affiliatetheme { + --fa: "\f36b"; +} + +.fa-algolia { + --fa: "\f36c"; +} + +.fa-amilia { + --fa: "\f36d"; +} + +.fa-angrycreative { + --fa: "\f36e"; +} + +.fa-app-store { + --fa: "\f36f"; +} + +.fa-app-store-ios { + --fa: "\f370"; +} + +.fa-apper { + --fa: "\f371"; +} + +.fa-asymmetrik { + --fa: "\f372"; +} + +.fa-audible { + --fa: "\f373"; +} + +.fa-avianex { + --fa: "\f374"; +} + +.fa-aws { + --fa: "\f375"; +} + +.fa-bimobject { + --fa: "\f378"; +} + +.fa-bitcoin { + --fa: "\f379"; +} + +.fa-bity { + --fa: "\f37a"; +} + +.fa-blackberry { + --fa: "\f37b"; +} + +.fa-blogger { + --fa: "\f37c"; +} + +.fa-blogger-b { + --fa: "\f37d"; +} + +.fa-buromobelexperte { + --fa: "\f37f"; +} + +.fa-centercode { + --fa: "\f380"; +} + +.fa-cloudscale { + --fa: "\f383"; +} + +.fa-cloudsmith { + --fa: "\f384"; +} + +.fa-cloudversify { + --fa: "\f385"; +} + +.fa-cpanel { + --fa: "\f388"; +} + +.fa-css3-alt { + --fa: "\f38b"; +} + +.fa-cuttlefish { + --fa: "\f38c"; +} + +.fa-d-and-d { + --fa: "\f38d"; +} + +.fa-deploydog { + --fa: "\f38e"; +} + +.fa-deskpro { + --fa: "\f38f"; +} + +.fa-digital-ocean { + --fa: "\f391"; +} + +.fa-discord { + --fa: "\f392"; +} + +.fa-discourse { + --fa: "\f393"; +} + +.fa-dochub { + --fa: "\f394"; +} + +.fa-docker { + --fa: "\f395"; +} + +.fa-draft2digital { + --fa: "\f396"; +} + +.fa-square-dribbble { + --fa: "\f397"; +} + +.fa-dribbble-square { + --fa: "\f397"; +} + +.fa-dyalog { + --fa: "\f399"; +} + +.fa-earlybirds { + --fa: "\f39a"; +} + +.fa-erlang { + --fa: "\f39d"; +} + +.fa-facebook-f { + --fa: "\f39e"; +} + +.fa-facebook-messenger { + --fa: "\f39f"; +} + +.fa-firstdraft { + --fa: "\f3a1"; +} + +.fa-fonticons-fi { + --fa: "\f3a2"; +} + +.fa-fort-awesome-alt { + --fa: "\f3a3"; +} + +.fa-freebsd { + --fa: "\f3a4"; +} + +.fa-gitkraken { + --fa: "\f3a6"; +} + +.fa-gofore { + --fa: "\f3a7"; +} + +.fa-goodreads { + --fa: "\f3a8"; +} + +.fa-goodreads-g { + --fa: "\f3a9"; +} + +.fa-google-drive { + --fa: "\f3aa"; +} + +.fa-google-play { + --fa: "\f3ab"; +} + +.fa-gripfire { + --fa: "\f3ac"; +} + +.fa-grunt { + --fa: "\f3ad"; +} + +.fa-gulp { + --fa: "\f3ae"; +} + +.fa-square-hacker-news { + --fa: "\f3af"; +} + +.fa-hacker-news-square { + --fa: "\f3af"; +} + +.fa-hire-a-helper { + --fa: "\f3b0"; +} + +.fa-hotjar { + --fa: "\f3b1"; +} + +.fa-hubspot { + --fa: "\f3b2"; +} + +.fa-itunes { + --fa: "\f3b4"; +} + +.fa-itunes-note { + --fa: "\f3b5"; +} + +.fa-jenkins { + --fa: "\f3b6"; +} + +.fa-joget { + --fa: "\f3b7"; +} + +.fa-js { + --fa: "\f3b8"; +} + +.fa-square-js { + --fa: "\f3b9"; +} + +.fa-js-square { + --fa: "\f3b9"; +} + +.fa-keycdn { + --fa: "\f3ba"; +} + +.fa-kickstarter { + --fa: "\f3bb"; +} + +.fa-square-kickstarter { + --fa: "\f3bb"; +} + +.fa-kickstarter-k { + --fa: "\f3bc"; +} + +.fa-laravel { + --fa: "\f3bd"; +} + +.fa-line { + --fa: "\f3c0"; +} + +.fa-lyft { + --fa: "\f3c3"; +} + +.fa-magento { + --fa: "\f3c4"; +} + +.fa-medapps { + --fa: "\f3c6"; +} + +.fa-medrt { + --fa: "\f3c8"; +} + +.fa-microsoft { + --fa: "\f3ca"; +} + +.fa-mix { + --fa: "\f3cb"; +} + +.fa-mizuni { + --fa: "\f3cc"; +} + +.fa-monero { + --fa: "\f3d0"; +} + +.fa-napster { + --fa: "\f3d2"; +} + +.fa-node-js { + --fa: "\f3d3"; +} + +.fa-npm { + --fa: "\f3d4"; +} + +.fa-ns8 { + --fa: "\f3d5"; +} + +.fa-nutritionix { + --fa: "\f3d6"; +} + +.fa-page4 { + --fa: "\f3d7"; +} + +.fa-palfed { + --fa: "\f3d8"; +} + +.fa-patreon { + --fa: "\f3d9"; +} + +.fa-periscope { + --fa: "\f3da"; +} + +.fa-phabricator { + --fa: "\f3db"; +} + +.fa-phoenix-framework { + --fa: "\f3dc"; +} + +.fa-playstation { + --fa: "\f3df"; +} + +.fa-pushed { + --fa: "\f3e1"; +} + +.fa-python { + --fa: "\f3e2"; +} + +.fa-red-river { + --fa: "\f3e3"; +} + +.fa-wpressr { + --fa: "\f3e4"; +} + +.fa-rendact { + --fa: "\f3e4"; +} + +.fa-replyd { + --fa: "\f3e6"; +} + +.fa-resolving { + --fa: "\f3e7"; +} + +.fa-rocketchat { + --fa: "\f3e8"; +} + +.fa-rockrms { + --fa: "\f3e9"; +} + +.fa-schlix { + --fa: "\f3ea"; +} + +.fa-searchengin { + --fa: "\f3eb"; +} + +.fa-servicestack { + --fa: "\f3ec"; +} + +.fa-sistrix { + --fa: "\f3ee"; +} + +.fa-speakap { + --fa: "\f3f3"; +} + +.fa-staylinked { + --fa: "\f3f5"; +} + +.fa-steam-symbol { + --fa: "\f3f6"; +} + +.fa-sticker-mule { + --fa: "\f3f7"; +} + +.fa-studiovinari { + --fa: "\f3f8"; +} + +.fa-supple { + --fa: "\f3f9"; +} + +.fa-uber { + --fa: "\f402"; +} + +.fa-uikit { + --fa: "\f403"; +} + +.fa-uniregistry { + --fa: "\f404"; +} + +.fa-untappd { + --fa: "\f405"; +} + +.fa-ussunnah { + --fa: "\f407"; +} + +.fa-vaadin { + --fa: "\f408"; +} + +.fa-viber { + --fa: "\f409"; +} + +.fa-vimeo { + --fa: "\f40a"; +} + +.fa-vnv { + --fa: "\f40b"; +} + +.fa-square-whatsapp { + --fa: "\f40c"; +} + +.fa-whatsapp-square { + --fa: "\f40c"; +} + +.fa-whmcs { + --fa: "\f40d"; +} + +.fa-wordpress-simple { + --fa: "\f411"; +} + +.fa-xbox { + --fa: "\f412"; +} + +.fa-yandex { + --fa: "\f413"; +} + +.fa-yandex-international { + --fa: "\f414"; +} + +.fa-apple-pay { + --fa: "\f415"; +} + +.fa-cc-apple-pay { + --fa: "\f416"; +} + +.fa-fly { + --fa: "\f417"; +} + +.fa-node { + --fa: "\f419"; +} + +.fa-osi { + --fa: "\f41a"; +} + +.fa-react { + --fa: "\f41b"; +} + +.fa-autoprefixer { + --fa: "\f41c"; +} + +.fa-less { + --fa: "\f41d"; +} + +.fa-sass { + --fa: "\f41e"; +} + +.fa-vuejs { + --fa: "\f41f"; +} + +.fa-angular { + --fa: "\f420"; +} + +.fa-aviato { + --fa: "\f421"; +} + +.fa-ember { + --fa: "\f423"; +} + +.fa-gitter { + --fa: "\f426"; +} + +.fa-hooli { + --fa: "\f427"; +} + +.fa-strava { + --fa: "\f428"; +} + +.fa-stripe { + --fa: "\f429"; +} + +.fa-stripe-s { + --fa: "\f42a"; +} + +.fa-typo3 { + --fa: "\f42b"; +} + +.fa-amazon-pay { + --fa: "\f42c"; +} + +.fa-cc-amazon-pay { + --fa: "\f42d"; +} + +.fa-ethereum { + --fa: "\f42e"; +} + +.fa-korvue { + --fa: "\f42f"; +} + +.fa-elementor { + --fa: "\f430"; +} + +.fa-square-youtube { + --fa: "\f431"; +} + +.fa-youtube-square { + --fa: "\f431"; +} + +.fa-flipboard { + --fa: "\f44d"; +} + +.fa-hips { + --fa: "\f452"; +} + +.fa-php { + --fa: "\f457"; +} + +.fa-quinscape { + --fa: "\f459"; +} + +.fa-readme { + --fa: "\f4d5"; +} + +.fa-java { + --fa: "\f4e4"; +} + +.fa-pied-piper-hat { + --fa: "\f4e5"; +} + +.fa-creative-commons-by { + --fa: "\f4e7"; +} + +.fa-creative-commons-nc { + --fa: "\f4e8"; +} + +.fa-creative-commons-nc-eu { + --fa: "\f4e9"; +} + +.fa-creative-commons-nc-jp { + --fa: "\f4ea"; +} + +.fa-creative-commons-nd { + --fa: "\f4eb"; +} + +.fa-creative-commons-pd { + --fa: "\f4ec"; +} + +.fa-creative-commons-pd-alt { + --fa: "\f4ed"; +} + +.fa-creative-commons-remix { + --fa: "\f4ee"; +} + +.fa-creative-commons-sa { + --fa: "\f4ef"; +} + +.fa-creative-commons-sampling { + --fa: "\f4f0"; +} + +.fa-creative-commons-sampling-plus { + --fa: "\f4f1"; +} + +.fa-creative-commons-share { + --fa: "\f4f2"; +} + +.fa-creative-commons-zero { + --fa: "\f4f3"; +} + +.fa-ebay { + --fa: "\f4f4"; +} + +.fa-keybase { + --fa: "\f4f5"; +} + +.fa-mastodon { + --fa: "\f4f6"; +} + +.fa-r-project { + --fa: "\f4f7"; +} + +.fa-researchgate { + --fa: "\f4f8"; +} + +.fa-teamspeak { + --fa: "\f4f9"; +} + +.fa-first-order-alt { + --fa: "\f50a"; +} + +.fa-fulcrum { + --fa: "\f50b"; +} + +.fa-galactic-republic { + --fa: "\f50c"; +} + +.fa-galactic-senate { + --fa: "\f50d"; +} + +.fa-jedi-order { + --fa: "\f50e"; +} + +.fa-mandalorian { + --fa: "\f50f"; +} + +.fa-old-republic { + --fa: "\f510"; +} + +.fa-phoenix-squadron { + --fa: "\f511"; +} + +.fa-sith { + --fa: "\f512"; +} + +.fa-trade-federation { + --fa: "\f513"; +} + +.fa-wolf-pack-battalion { + --fa: "\f514"; +} + +.fa-hornbill { + --fa: "\f592"; +} + +.fa-mailchimp { + --fa: "\f59e"; +} + +.fa-megaport { + --fa: "\f5a3"; +} + +.fa-nimblr { + --fa: "\f5a8"; +} + +.fa-rev { + --fa: "\f5b2"; +} + +.fa-shopware { + --fa: "\f5b5"; +} + +.fa-squarespace { + --fa: "\f5be"; +} + +.fa-themeco { + --fa: "\f5c6"; +} + +.fa-weebly { + --fa: "\f5cc"; +} + +.fa-wix { + --fa: "\f5cf"; +} + +.fa-ello { + --fa: "\f5f1"; +} + +.fa-hackerrank { + --fa: "\f5f7"; +} + +.fa-kaggle { + --fa: "\f5fa"; +} + +.fa-markdown { + --fa: "\f60f"; +} + +.fa-neos { + --fa: "\f612"; +} + +.fa-zhihu { + --fa: "\f63f"; +} + +.fa-alipay { + --fa: "\f642"; +} + +.fa-the-red-yeti { + --fa: "\f69d"; +} + +.fa-critical-role { + --fa: "\f6c9"; +} + +.fa-d-and-d-beyond { + --fa: "\f6ca"; +} + +.fa-dev { + --fa: "\f6cc"; +} + +.fa-fantasy-flight-games { + --fa: "\f6dc"; +} + +.fa-wizards-of-the-coast { + --fa: "\f730"; +} + +.fa-think-peaks { + --fa: "\f731"; +} + +.fa-reacteurope { + --fa: "\f75d"; +} + +.fa-artstation { + --fa: "\f77a"; +} + +.fa-atlassian { + --fa: "\f77b"; +} + +.fa-canadian-maple-leaf { + --fa: "\f785"; +} + +.fa-centos { + --fa: "\f789"; +} + +.fa-confluence { + --fa: "\f78d"; +} + +.fa-dhl { + --fa: "\f790"; +} + +.fa-diaspora { + --fa: "\f791"; +} + +.fa-fedex { + --fa: "\f797"; +} + +.fa-fedora { + --fa: "\f798"; +} + +.fa-figma { + --fa: "\f799"; +} + +.fa-intercom { + --fa: "\f7af"; +} + +.fa-invision { + --fa: "\f7b0"; +} + +.fa-jira { + --fa: "\f7b1"; +} + +.fa-mendeley { + --fa: "\f7b3"; +} + +.fa-raspberry-pi { + --fa: "\f7bb"; +} + +.fa-redhat { + --fa: "\f7bc"; +} + +.fa-sketch { + --fa: "\f7c6"; +} + +.fa-sourcetree { + --fa: "\f7d3"; +} + +.fa-suse { + --fa: "\f7d6"; +} + +.fa-ubuntu { + --fa: "\f7df"; +} + +.fa-ups { + --fa: "\f7e0"; +} + +.fa-usps { + --fa: "\f7e1"; +} + +.fa-yarn { + --fa: "\f7e3"; +} + +.fa-airbnb { + --fa: "\f834"; +} + +.fa-battle-net { + --fa: "\f835"; +} + +.fa-bootstrap { + --fa: "\f836"; +} + +.fa-buffer { + --fa: "\f837"; +} + +.fa-chromecast { + --fa: "\f838"; +} + +.fa-evernote { + --fa: "\f839"; +} + +.fa-itch-io { + --fa: "\f83a"; +} + +.fa-salesforce { + --fa: "\f83b"; +} + +.fa-speaker-deck { + --fa: "\f83c"; +} + +.fa-symfony { + --fa: "\f83d"; +} + +.fa-waze { + --fa: "\f83f"; +} + +.fa-yammer { + --fa: "\f840"; +} + +.fa-git-alt { + --fa: "\f841"; +} + +.fa-stackpath { + --fa: "\f842"; +} + +.fa-cotton-bureau { + --fa: "\f89e"; +} + +.fa-buy-n-large { + --fa: "\f8a6"; +} + +.fa-mdb { + --fa: "\f8ca"; +} + +.fa-orcid { + --fa: "\f8d2"; +} + +.fa-swift { + --fa: "\f8e1"; +} + +.fa-umbraco { + --fa: "\f8e8"; +} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/brands.min.css b/assets/js/fortawesome-fontawesome-free/css/brands.min.css new file mode 100644 index 0000000..12fc8ee --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/brands.min.css @@ -0,0 +1,6 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +:host,:root{--fa-family-brands:"Font Awesome 7 Brands";--fa-font-brands:normal 400 1em/1 var(--fa-family-brands)}@font-face{font-family:"Font Awesome 7 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.woff2)}.fa-brands,.fa-classic.fa-brands,.fab{--fa-family:var(--fa-family-brands);--fa-style:400}.fa-firefox-browser{--fa:"\e007"}.fa-ideal{--fa:"\e013"}.fa-microblog{--fa:"\e01a"}.fa-pied-piper-square,.fa-square-pied-piper{--fa:"\e01e"}.fa-unity{--fa:"\e049"}.fa-dailymotion{--fa:"\e052"}.fa-instagram-square,.fa-square-instagram{--fa:"\e055"}.fa-mixer{--fa:"\e056"}.fa-shopify{--fa:"\e057"}.fa-deezer{--fa:"\e077"}.fa-edge-legacy{--fa:"\e078"}.fa-google-pay{--fa:"\e079"}.fa-rust{--fa:"\e07a"}.fa-tiktok{--fa:"\e07b"}.fa-unsplash{--fa:"\e07c"}.fa-cloudflare{--fa:"\e07d"}.fa-guilded{--fa:"\e07e"}.fa-hive{--fa:"\e07f"}.fa-42-group,.fa-innosoft{--fa:"\e080"}.fa-instalod{--fa:"\e081"}.fa-octopus-deploy{--fa:"\e082"}.fa-perbyte{--fa:"\e083"}.fa-uncharted{--fa:"\e084"}.fa-watchman-monitoring{--fa:"\e087"}.fa-wodu{--fa:"\e088"}.fa-wirsindhandwerk,.fa-wsh{--fa:"\e2d0"}.fa-bots{--fa:"\e340"}.fa-cmplid{--fa:"\e360"}.fa-bilibili{--fa:"\e3d9"}.fa-golang{--fa:"\e40f"}.fa-pix{--fa:"\e43a"}.fa-sitrox{--fa:"\e44a"}.fa-hashnode{--fa:"\e499"}.fa-meta{--fa:"\e49b"}.fa-padlet{--fa:"\e4a0"}.fa-nfc-directional{--fa:"\e530"}.fa-nfc-symbol{--fa:"\e531"}.fa-screenpal{--fa:"\e570"}.fa-space-awesome{--fa:"\e5ac"}.fa-square-font-awesome{--fa:"\e5ad"}.fa-gitlab-square,.fa-square-gitlab{--fa:"\e5ae"}.fa-odysee{--fa:"\e5c6"}.fa-stubber{--fa:"\e5c7"}.fa-debian{--fa:"\e60b"}.fa-shoelace{--fa:"\e60c"}.fa-threads{--fa:"\e618"}.fa-square-threads{--fa:"\e619"}.fa-square-x-twitter{--fa:"\e61a"}.fa-x-twitter{--fa:"\e61b"}.fa-opensuse{--fa:"\e62b"}.fa-letterboxd{--fa:"\e62d"}.fa-square-letterboxd{--fa:"\e62e"}.fa-mintbit{--fa:"\e62f"}.fa-google-scholar{--fa:"\e63b"}.fa-brave{--fa:"\e63c"}.fa-brave-reverse{--fa:"\e63d"}.fa-pixiv{--fa:"\e640"}.fa-upwork{--fa:"\e641"}.fa-webflow{--fa:"\e65c"}.fa-signal-messenger{--fa:"\e663"}.fa-bluesky{--fa:"\e671"}.fa-jxl{--fa:"\e67b"}.fa-square-upwork{--fa:"\e67c"}.fa-web-awesome{--fa:"\e682"}.fa-square-web-awesome{--fa:"\e683"}.fa-square-web-awesome-stroke{--fa:"\e684"}.fa-dart-lang{--fa:"\e693"}.fa-flutter{--fa:"\e694"}.fa-files-pinwheel{--fa:"\e69f"}.fa-css{--fa:"\e6a2"}.fa-square-bluesky{--fa:"\e6a3"}.fa-openai{--fa:"\e7cf"}.fa-square-linkedin{--fa:"\e7d0"}.fa-cash-app{--fa:"\e7d4"}.fa-disqus{--fa:"\e7d5"}.fa-11ty,.fa-eleventy{--fa:"\e7d6"}.fa-kakao-talk{--fa:"\e7d7"}.fa-linktree{--fa:"\e7d8"}.fa-notion{--fa:"\e7d9"}.fa-pandora{--fa:"\e7da"}.fa-pixelfed{--fa:"\e7db"}.fa-tidal{--fa:"\e7dc"}.fa-vsco{--fa:"\e7dd"}.fa-w3c{--fa:"\e7de"}.fa-lumon{--fa:"\e7e2"}.fa-lumon-drop{--fa:"\e7e3"}.fa-square-figma{--fa:"\e7e4"}.fa-tex{--fa:"\e7ff"}.fa-duolingo{--fa:"\e812"}.fa-square-twitter,.fa-twitter-square{--fa:"\f081"}.fa-facebook-square,.fa-square-facebook{--fa:"\f082"}.fa-linkedin{--fa:"\f08c"}.fa-github-square,.fa-square-github{--fa:"\f092"}.fa-twitter{--fa:"\f099"}.fa-facebook{--fa:"\f09a"}.fa-github{--fa:"\f09b"}.fa-pinterest{--fa:"\f0d2"}.fa-pinterest-square,.fa-square-pinterest{--fa:"\f0d3"}.fa-google-plus-square,.fa-square-google-plus{--fa:"\f0d4"}.fa-google-plus-g{--fa:"\f0d5"}.fa-linkedin-in{--fa:"\f0e1"}.fa-github-alt{--fa:"\f113"}.fa-maxcdn{--fa:"\f136"}.fa-html5{--fa:"\f13b"}.fa-css3{--fa:"\f13c"}.fa-btc{--fa:"\f15a"}.fa-youtube{--fa:"\f167"}.fa-xing{--fa:"\f168"}.fa-square-xing,.fa-xing-square{--fa:"\f169"}.fa-dropbox{--fa:"\f16b"}.fa-stack-overflow{--fa:"\f16c"}.fa-instagram{--fa:"\f16d"}.fa-flickr{--fa:"\f16e"}.fa-adn{--fa:"\f170"}.fa-bitbucket{--fa:"\f171"}.fa-tumblr{--fa:"\f173"}.fa-square-tumblr,.fa-tumblr-square{--fa:"\f174"}.fa-apple{--fa:"\f179"}.fa-windows{--fa:"\f17a"}.fa-android{--fa:"\f17b"}.fa-linux{--fa:"\f17c"}.fa-dribbble{--fa:"\f17d"}.fa-skype{--fa:"\f17e"}.fa-foursquare{--fa:"\f180"}.fa-trello{--fa:"\f181"}.fa-gratipay{--fa:"\f184"}.fa-vk{--fa:"\f189"}.fa-weibo{--fa:"\f18a"}.fa-renren{--fa:"\f18b"}.fa-pagelines{--fa:"\f18c"}.fa-stack-exchange{--fa:"\f18d"}.fa-square-vimeo,.fa-vimeo-square{--fa:"\f194"}.fa-slack,.fa-slack-hash{--fa:"\f198"}.fa-wordpress{--fa:"\f19a"}.fa-openid{--fa:"\f19b"}.fa-yahoo{--fa:"\f19e"}.fa-google{--fa:"\f1a0"}.fa-reddit{--fa:"\f1a1"}.fa-reddit-square,.fa-square-reddit{--fa:"\f1a2"}.fa-stumbleupon-circle{--fa:"\f1a3"}.fa-stumbleupon{--fa:"\f1a4"}.fa-delicious{--fa:"\f1a5"}.fa-digg{--fa:"\f1a6"}.fa-pied-piper-pp{--fa:"\f1a7"}.fa-pied-piper-alt{--fa:"\f1a8"}.fa-drupal{--fa:"\f1a9"}.fa-joomla{--fa:"\f1aa"}.fa-behance{--fa:"\f1b4"}.fa-behance-square,.fa-square-behance{--fa:"\f1b5"}.fa-steam{--fa:"\f1b6"}.fa-square-steam,.fa-steam-square{--fa:"\f1b7"}.fa-spotify{--fa:"\f1bc"}.fa-deviantart{--fa:"\f1bd"}.fa-soundcloud{--fa:"\f1be"}.fa-vine{--fa:"\f1ca"}.fa-codepen{--fa:"\f1cb"}.fa-jsfiddle{--fa:"\f1cc"}.fa-rebel{--fa:"\f1d0"}.fa-empire{--fa:"\f1d1"}.fa-git-square,.fa-square-git{--fa:"\f1d2"}.fa-git{--fa:"\f1d3"}.fa-hacker-news{--fa:"\f1d4"}.fa-tencent-weibo{--fa:"\f1d5"}.fa-qq{--fa:"\f1d6"}.fa-weixin{--fa:"\f1d7"}.fa-slideshare{--fa:"\f1e7"}.fa-twitch{--fa:"\f1e8"}.fa-yelp{--fa:"\f1e9"}.fa-paypal{--fa:"\f1ed"}.fa-google-wallet{--fa:"\f1ee"}.fa-cc-visa{--fa:"\f1f0"}.fa-cc-mastercard{--fa:"\f1f1"}.fa-cc-discover{--fa:"\f1f2"}.fa-cc-amex{--fa:"\f1f3"}.fa-cc-paypal{--fa:"\f1f4"}.fa-cc-stripe{--fa:"\f1f5"}.fa-lastfm{--fa:"\f202"}.fa-lastfm-square,.fa-square-lastfm{--fa:"\f203"}.fa-ioxhost{--fa:"\f208"}.fa-angellist{--fa:"\f209"}.fa-buysellads{--fa:"\f20d"}.fa-connectdevelop{--fa:"\f20e"}.fa-dashcube{--fa:"\f210"}.fa-forumbee{--fa:"\f211"}.fa-leanpub{--fa:"\f212"}.fa-sellsy{--fa:"\f213"}.fa-shirtsinbulk{--fa:"\f214"}.fa-simplybuilt{--fa:"\f215"}.fa-skyatlas{--fa:"\f216"}.fa-pinterest-p{--fa:"\f231"}.fa-whatsapp{--fa:"\f232"}.fa-viacoin{--fa:"\f237"}.fa-medium,.fa-medium-m{--fa:"\f23a"}.fa-y-combinator{--fa:"\f23b"}.fa-optin-monster{--fa:"\f23c"}.fa-opencart{--fa:"\f23d"}.fa-expeditedssl{--fa:"\f23e"}.fa-cc-jcb{--fa:"\f24b"}.fa-cc-diners-club{--fa:"\f24c"}.fa-creative-commons{--fa:"\f25e"}.fa-gg{--fa:"\f260"}.fa-gg-circle{--fa:"\f261"}.fa-odnoklassniki{--fa:"\f263"}.fa-odnoklassniki-square,.fa-square-odnoklassniki{--fa:"\f264"}.fa-get-pocket{--fa:"\f265"}.fa-wikipedia-w{--fa:"\f266"}.fa-safari{--fa:"\f267"}.fa-chrome{--fa:"\f268"}.fa-firefox{--fa:"\f269"}.fa-opera{--fa:"\f26a"}.fa-internet-explorer{--fa:"\f26b"}.fa-contao{--fa:"\f26d"}.fa-500px{--fa:"\f26e"}.fa-amazon{--fa:"\f270"}.fa-houzz{--fa:"\f27c"}.fa-vimeo-v{--fa:"\f27d"}.fa-black-tie{--fa:"\f27e"}.fa-fonticons{--fa:"\f280"}.fa-reddit-alien{--fa:"\f281"}.fa-edge{--fa:"\f282"}.fa-codiepie{--fa:"\f284"}.fa-modx{--fa:"\f285"}.fa-fort-awesome{--fa:"\f286"}.fa-usb{--fa:"\f287"}.fa-product-hunt{--fa:"\f288"}.fa-mixcloud{--fa:"\f289"}.fa-scribd{--fa:"\f28a"}.fa-bluetooth{--fa:"\f293"}.fa-bluetooth-b{--fa:"\f294"}.fa-gitlab{--fa:"\f296"}.fa-wpbeginner{--fa:"\f297"}.fa-wpforms{--fa:"\f298"}.fa-envira{--fa:"\f299"}.fa-glide{--fa:"\f2a5"}.fa-glide-g{--fa:"\f2a6"}.fa-viadeo{--fa:"\f2a9"}.fa-square-viadeo,.fa-viadeo-square{--fa:"\f2aa"}.fa-snapchat,.fa-snapchat-ghost{--fa:"\f2ab"}.fa-snapchat-square,.fa-square-snapchat{--fa:"\f2ad"}.fa-pied-piper{--fa:"\f2ae"}.fa-first-order{--fa:"\f2b0"}.fa-yoast{--fa:"\f2b1"}.fa-themeisle{--fa:"\f2b2"}.fa-google-plus{--fa:"\f2b3"}.fa-font-awesome,.fa-font-awesome-flag,.fa-font-awesome-logo-full{--fa:"\f2b4"}.fa-linode{--fa:"\f2b8"}.fa-quora{--fa:"\f2c4"}.fa-free-code-camp{--fa:"\f2c5"}.fa-telegram,.fa-telegram-plane{--fa:"\f2c6"}.fa-bandcamp{--fa:"\f2d5"}.fa-grav{--fa:"\f2d6"}.fa-etsy{--fa:"\f2d7"}.fa-imdb{--fa:"\f2d8"}.fa-ravelry{--fa:"\f2d9"}.fa-sellcast{--fa:"\f2da"}.fa-superpowers{--fa:"\f2dd"}.fa-wpexplorer{--fa:"\f2de"}.fa-meetup{--fa:"\f2e0"}.fa-font-awesome-alt,.fa-square-font-awesome-stroke{--fa:"\f35c"}.fa-accessible-icon{--fa:"\f368"}.fa-accusoft{--fa:"\f369"}.fa-adversal{--fa:"\f36a"}.fa-affiliatetheme{--fa:"\f36b"}.fa-algolia{--fa:"\f36c"}.fa-amilia{--fa:"\f36d"}.fa-angrycreative{--fa:"\f36e"}.fa-app-store{--fa:"\f36f"}.fa-app-store-ios{--fa:"\f370"}.fa-apper{--fa:"\f371"}.fa-asymmetrik{--fa:"\f372"}.fa-audible{--fa:"\f373"}.fa-avianex{--fa:"\f374"}.fa-aws{--fa:"\f375"}.fa-bimobject{--fa:"\f378"}.fa-bitcoin{--fa:"\f379"}.fa-bity{--fa:"\f37a"}.fa-blackberry{--fa:"\f37b"}.fa-blogger{--fa:"\f37c"}.fa-blogger-b{--fa:"\f37d"}.fa-buromobelexperte{--fa:"\f37f"}.fa-centercode{--fa:"\f380"}.fa-cloudscale{--fa:"\f383"}.fa-cloudsmith{--fa:"\f384"}.fa-cloudversify{--fa:"\f385"}.fa-cpanel{--fa:"\f388"}.fa-css3-alt{--fa:"\f38b"}.fa-cuttlefish{--fa:"\f38c"}.fa-d-and-d{--fa:"\f38d"}.fa-deploydog{--fa:"\f38e"}.fa-deskpro{--fa:"\f38f"}.fa-digital-ocean{--fa:"\f391"}.fa-discord{--fa:"\f392"}.fa-discourse{--fa:"\f393"}.fa-dochub{--fa:"\f394"}.fa-docker{--fa:"\f395"}.fa-draft2digital{--fa:"\f396"}.fa-dribbble-square,.fa-square-dribbble{--fa:"\f397"}.fa-dyalog{--fa:"\f399"}.fa-earlybirds{--fa:"\f39a"}.fa-erlang{--fa:"\f39d"}.fa-facebook-f{--fa:"\f39e"}.fa-facebook-messenger{--fa:"\f39f"}.fa-firstdraft{--fa:"\f3a1"}.fa-fonticons-fi{--fa:"\f3a2"}.fa-fort-awesome-alt{--fa:"\f3a3"}.fa-freebsd{--fa:"\f3a4"}.fa-gitkraken{--fa:"\f3a6"}.fa-gofore{--fa:"\f3a7"}.fa-goodreads{--fa:"\f3a8"}.fa-goodreads-g{--fa:"\f3a9"}.fa-google-drive{--fa:"\f3aa"}.fa-google-play{--fa:"\f3ab"}.fa-gripfire{--fa:"\f3ac"}.fa-grunt{--fa:"\f3ad"}.fa-gulp{--fa:"\f3ae"}.fa-hacker-news-square,.fa-square-hacker-news{--fa:"\f3af"}.fa-hire-a-helper{--fa:"\f3b0"}.fa-hotjar{--fa:"\f3b1"}.fa-hubspot{--fa:"\f3b2"}.fa-itunes{--fa:"\f3b4"}.fa-itunes-note{--fa:"\f3b5"}.fa-jenkins{--fa:"\f3b6"}.fa-joget{--fa:"\f3b7"}.fa-js{--fa:"\f3b8"}.fa-js-square,.fa-square-js{--fa:"\f3b9"}.fa-keycdn{--fa:"\f3ba"}.fa-kickstarter,.fa-square-kickstarter{--fa:"\f3bb"}.fa-kickstarter-k{--fa:"\f3bc"}.fa-laravel{--fa:"\f3bd"}.fa-line{--fa:"\f3c0"}.fa-lyft{--fa:"\f3c3"}.fa-magento{--fa:"\f3c4"}.fa-medapps{--fa:"\f3c6"}.fa-medrt{--fa:"\f3c8"}.fa-microsoft{--fa:"\f3ca"}.fa-mix{--fa:"\f3cb"}.fa-mizuni{--fa:"\f3cc"}.fa-monero{--fa:"\f3d0"}.fa-napster{--fa:"\f3d2"}.fa-node-js{--fa:"\f3d3"}.fa-npm{--fa:"\f3d4"}.fa-ns8{--fa:"\f3d5"}.fa-nutritionix{--fa:"\f3d6"}.fa-page4{--fa:"\f3d7"}.fa-palfed{--fa:"\f3d8"}.fa-patreon{--fa:"\f3d9"}.fa-periscope{--fa:"\f3da"}.fa-phabricator{--fa:"\f3db"}.fa-phoenix-framework{--fa:"\f3dc"}.fa-playstation{--fa:"\f3df"}.fa-pushed{--fa:"\f3e1"}.fa-python{--fa:"\f3e2"}.fa-red-river{--fa:"\f3e3"}.fa-rendact,.fa-wpressr{--fa:"\f3e4"}.fa-replyd{--fa:"\f3e6"}.fa-resolving{--fa:"\f3e7"}.fa-rocketchat{--fa:"\f3e8"}.fa-rockrms{--fa:"\f3e9"}.fa-schlix{--fa:"\f3ea"}.fa-searchengin{--fa:"\f3eb"}.fa-servicestack{--fa:"\f3ec"}.fa-sistrix{--fa:"\f3ee"}.fa-speakap{--fa:"\f3f3"}.fa-staylinked{--fa:"\f3f5"}.fa-steam-symbol{--fa:"\f3f6"}.fa-sticker-mule{--fa:"\f3f7"}.fa-studiovinari{--fa:"\f3f8"}.fa-supple{--fa:"\f3f9"}.fa-uber{--fa:"\f402"}.fa-uikit{--fa:"\f403"}.fa-uniregistry{--fa:"\f404"}.fa-untappd{--fa:"\f405"}.fa-ussunnah{--fa:"\f407"}.fa-vaadin{--fa:"\f408"}.fa-viber{--fa:"\f409"}.fa-vimeo{--fa:"\f40a"}.fa-vnv{--fa:"\f40b"}.fa-square-whatsapp,.fa-whatsapp-square{--fa:"\f40c"}.fa-whmcs{--fa:"\f40d"}.fa-wordpress-simple{--fa:"\f411"}.fa-xbox{--fa:"\f412"}.fa-yandex{--fa:"\f413"}.fa-yandex-international{--fa:"\f414"}.fa-apple-pay{--fa:"\f415"}.fa-cc-apple-pay{--fa:"\f416"}.fa-fly{--fa:"\f417"}.fa-node{--fa:"\f419"}.fa-osi{--fa:"\f41a"}.fa-react{--fa:"\f41b"}.fa-autoprefixer{--fa:"\f41c"}.fa-less{--fa:"\f41d"}.fa-sass{--fa:"\f41e"}.fa-vuejs{--fa:"\f41f"}.fa-angular{--fa:"\f420"}.fa-aviato{--fa:"\f421"}.fa-ember{--fa:"\f423"}.fa-gitter{--fa:"\f426"}.fa-hooli{--fa:"\f427"}.fa-strava{--fa:"\f428"}.fa-stripe{--fa:"\f429"}.fa-stripe-s{--fa:"\f42a"}.fa-typo3{--fa:"\f42b"}.fa-amazon-pay{--fa:"\f42c"}.fa-cc-amazon-pay{--fa:"\f42d"}.fa-ethereum{--fa:"\f42e"}.fa-korvue{--fa:"\f42f"}.fa-elementor{--fa:"\f430"}.fa-square-youtube,.fa-youtube-square{--fa:"\f431"}.fa-flipboard{--fa:"\f44d"}.fa-hips{--fa:"\f452"}.fa-php{--fa:"\f457"}.fa-quinscape{--fa:"\f459"}.fa-readme{--fa:"\f4d5"}.fa-java{--fa:"\f4e4"}.fa-pied-piper-hat{--fa:"\f4e5"}.fa-creative-commons-by{--fa:"\f4e7"}.fa-creative-commons-nc{--fa:"\f4e8"}.fa-creative-commons-nc-eu{--fa:"\f4e9"}.fa-creative-commons-nc-jp{--fa:"\f4ea"}.fa-creative-commons-nd{--fa:"\f4eb"}.fa-creative-commons-pd{--fa:"\f4ec"}.fa-creative-commons-pd-alt{--fa:"\f4ed"}.fa-creative-commons-remix{--fa:"\f4ee"}.fa-creative-commons-sa{--fa:"\f4ef"}.fa-creative-commons-sampling{--fa:"\f4f0"}.fa-creative-commons-sampling-plus{--fa:"\f4f1"}.fa-creative-commons-share{--fa:"\f4f2"}.fa-creative-commons-zero{--fa:"\f4f3"}.fa-ebay{--fa:"\f4f4"}.fa-keybase{--fa:"\f4f5"}.fa-mastodon{--fa:"\f4f6"}.fa-r-project{--fa:"\f4f7"}.fa-researchgate{--fa:"\f4f8"}.fa-teamspeak{--fa:"\f4f9"}.fa-first-order-alt{--fa:"\f50a"}.fa-fulcrum{--fa:"\f50b"}.fa-galactic-republic{--fa:"\f50c"}.fa-galactic-senate{--fa:"\f50d"}.fa-jedi-order{--fa:"\f50e"}.fa-mandalorian{--fa:"\f50f"}.fa-old-republic{--fa:"\f510"}.fa-phoenix-squadron{--fa:"\f511"}.fa-sith{--fa:"\f512"}.fa-trade-federation{--fa:"\f513"}.fa-wolf-pack-battalion{--fa:"\f514"}.fa-hornbill{--fa:"\f592"}.fa-mailchimp{--fa:"\f59e"}.fa-megaport{--fa:"\f5a3"}.fa-nimblr{--fa:"\f5a8"}.fa-rev{--fa:"\f5b2"}.fa-shopware{--fa:"\f5b5"}.fa-squarespace{--fa:"\f5be"}.fa-themeco{--fa:"\f5c6"}.fa-weebly{--fa:"\f5cc"}.fa-wix{--fa:"\f5cf"}.fa-ello{--fa:"\f5f1"}.fa-hackerrank{--fa:"\f5f7"}.fa-kaggle{--fa:"\f5fa"}.fa-markdown{--fa:"\f60f"}.fa-neos{--fa:"\f612"}.fa-zhihu{--fa:"\f63f"}.fa-alipay{--fa:"\f642"}.fa-the-red-yeti{--fa:"\f69d"}.fa-critical-role{--fa:"\f6c9"}.fa-d-and-d-beyond{--fa:"\f6ca"}.fa-dev{--fa:"\f6cc"}.fa-fantasy-flight-games{--fa:"\f6dc"}.fa-wizards-of-the-coast{--fa:"\f730"}.fa-think-peaks{--fa:"\f731"}.fa-reacteurope{--fa:"\f75d"}.fa-artstation{--fa:"\f77a"}.fa-atlassian{--fa:"\f77b"}.fa-canadian-maple-leaf{--fa:"\f785"}.fa-centos{--fa:"\f789"}.fa-confluence{--fa:"\f78d"}.fa-dhl{--fa:"\f790"}.fa-diaspora{--fa:"\f791"}.fa-fedex{--fa:"\f797"}.fa-fedora{--fa:"\f798"}.fa-figma{--fa:"\f799"}.fa-intercom{--fa:"\f7af"}.fa-invision{--fa:"\f7b0"}.fa-jira{--fa:"\f7b1"}.fa-mendeley{--fa:"\f7b3"}.fa-raspberry-pi{--fa:"\f7bb"}.fa-redhat{--fa:"\f7bc"}.fa-sketch{--fa:"\f7c6"}.fa-sourcetree{--fa:"\f7d3"}.fa-suse{--fa:"\f7d6"}.fa-ubuntu{--fa:"\f7df"}.fa-ups{--fa:"\f7e0"}.fa-usps{--fa:"\f7e1"}.fa-yarn{--fa:"\f7e3"}.fa-airbnb{--fa:"\f834"}.fa-battle-net{--fa:"\f835"}.fa-bootstrap{--fa:"\f836"}.fa-buffer{--fa:"\f837"}.fa-chromecast{--fa:"\f838"}.fa-evernote{--fa:"\f839"}.fa-itch-io{--fa:"\f83a"}.fa-salesforce{--fa:"\f83b"}.fa-speaker-deck{--fa:"\f83c"}.fa-symfony{--fa:"\f83d"}.fa-waze{--fa:"\f83f"}.fa-yammer{--fa:"\f840"}.fa-git-alt{--fa:"\f841"}.fa-stackpath{--fa:"\f842"}.fa-cotton-bureau{--fa:"\f89e"}.fa-buy-n-large{--fa:"\f8a6"}.fa-mdb{--fa:"\f8ca"}.fa-orcid{--fa:"\f8d2"}.fa-swift{--fa:"\f8e1"}.fa-umbraco{--fa:"\f8e8"} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/fontawesome.css b/assets/js/fortawesome-fontawesome-free/css/fontawesome.css new file mode 100644 index 0000000..4c765dd --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/fontawesome.css @@ -0,0 +1,8361 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +.fa-solid, +.fa-regular, +.fa-brands, +.fa-classic, +.fas, +.far, +.fab, +.fa { + --_fa-family: var(--fa-family, var(--fa-style-family, "Font Awesome 7 Free")); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + display: var(--fa-display, inline-block); + font-family: var(--_fa-family); + font-feature-settings: normal; + font-style: normal; + font-synthesis: none; + font-variant: normal; + font-weight: var(--fa-style, 900); + line-height: 1; + text-align: center; + text-rendering: auto; + width: var(--fa-width, 1.25em); +} + +:is(.fas, +.far, +.fab, +.fa-solid, +.fa-regular, +.fa-brands, +.fa-classic, +.fa)::before { + content: var(--fa)/""; +} + +@supports not (content: ""/"") { + :is(.fas, + .far, + .fab, + .fa-solid, + .fa-regular, + .fa-brands, + .fa-classic, + .fa)::before { + content: var(--fa); + } +} +.fa-1x { + font-size: 1em; +} + +.fa-2x { + font-size: 2em; +} + +.fa-3x { + font-size: 3em; +} + +.fa-4x { + font-size: 4em; +} + +.fa-5x { + font-size: 5em; +} + +.fa-6x { + font-size: 6em; +} + +.fa-7x { + font-size: 7em; +} + +.fa-8x { + font-size: 8em; +} + +.fa-9x { + font-size: 9em; +} + +.fa-10x { + font-size: 10em; +} + +.fa-2xs { + font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-xs { + font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-sm { + font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-lg { + font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-xl { + font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-2xl { + font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-width-auto { + --fa-width: auto; +} + +.fa-fw, +.fa-width-fixed { + --fa-width: 1.25em; +} + +.fa-ul { + list-style-type: none; + margin-inline-start: var(--fa-li-margin, 2.5em); + padding-inline-start: 0; +} +.fa-ul > li { + position: relative; +} + +.fa-li { + inset-inline-start: calc(-1 * var(--fa-li-width, 2em)); + position: absolute; + text-align: center; + width: var(--fa-li-width, 2em); + line-height: inherit; +} + +/* Heads Up: Bordered Icons will not be supported in the future! + - This feature will be deprecated in the next major release of Font Awesome (v8)! + - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8. +*/ +/* Notes: +* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size) +* --@{v.$css-prefix}-border-padding = + ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment) + ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon) +*/ +.fa-border { + border-color: var(--fa-border-color, #eee); + border-radius: var(--fa-border-radius, 0.1em); + border-style: var(--fa-border-style, solid); + border-width: var(--fa-border-width, 0.0625em); + box-sizing: var(--fa-border-box-sizing, content-box); + padding: var(--fa-border-padding, 0.1875em 0.25em); +} + +.fa-pull-left, +.fa-pull-start { + float: inline-start; + margin-inline-end: var(--fa-pull-margin, 0.3em); +} + +.fa-pull-right, +.fa-pull-end { + float: inline-end; + margin-inline-start: var(--fa-pull-margin, 0.3em); +} + +.fa-beat { + animation-name: fa-beat; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-bounce { + animation-name: fa-bounce; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); +} + +.fa-fade { + animation-name: fa-fade; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-beat-fade { + animation-name: fa-beat-fade; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-flip { + animation-name: fa-flip; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-shake { + animation-name: fa-shake; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin { + animation-name: fa-spin; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 2s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin-reverse { + --fa-animation-direction: reverse; +} + +.fa-pulse, +.fa-spin-pulse { + animation-name: fa-spin; + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, steps(8)); +} + +@media (prefers-reduced-motion: reduce) { + .fa-beat, + .fa-bounce, + .fa-fade, + .fa-beat-fade, + .fa-flip, + .fa-pulse, + .fa-shake, + .fa-spin, + .fa-spin-pulse { + animation: none !important; + transition: none !important; + } +} +@keyframes fa-beat { + 0%, 90% { + transform: scale(1); + } + 45% { + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@keyframes fa-bounce { + 0% { + transform: scale(1, 1) translateY(0); + } + 10% { + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + transform: scale(1, 1) translateY(0); + } + 100% { + transform: scale(1, 1) translateY(0); + } +} +@keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + transform: scale(1); + } + 50% { + opacity: 1; + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@keyframes fa-flip { + 50% { + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@keyframes fa-shake { + 0% { + transform: rotate(-15deg); + } + 4% { + transform: rotate(15deg); + } + 8%, 24% { + transform: rotate(-18deg); + } + 12%, 28% { + transform: rotate(18deg); + } + 16% { + transform: rotate(-22deg); + } + 20% { + transform: rotate(22deg); + } + 32% { + transform: rotate(-12deg); + } + 36% { + transform: rotate(12deg); + } + 40%, 100% { + transform: rotate(0deg); + } +} +@keyframes fa-spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +.fa-rotate-90 { + transform: rotate(90deg); +} + +.fa-rotate-180 { + transform: rotate(180deg); +} + +.fa-rotate-270 { + transform: rotate(270deg); +} + +.fa-flip-horizontal { + transform: scale(-1, 1); +} + +.fa-flip-vertical { + transform: scale(1, -1); +} + +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical { + transform: scale(-1, -1); +} + +.fa-rotate-by { + transform: rotate(var(--fa-rotate-angle, 0)); +} + +.fa-stack { + display: inline-block; + height: 2em; + line-height: 2em; + position: relative; + vertical-align: middle; + width: 2.5em; +} + +.fa-stack-1x, +.fa-stack-2x { + --fa-width: 100%; + inset: 0; + position: absolute; + text-align: center; + width: var(--fa-width); + z-index: var(--fa-stack-z-index, auto); +} + +.fa-stack-1x { + line-height: inherit; +} + +.fa-stack-2x { + font-size: 2em; +} + +.fa-inverse { + color: var(--fa-inverse, #fff); +} + +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ + +.fa-0 { + --fa: "\30 "; +} + +.fa-1 { + --fa: "\31 "; +} + +.fa-2 { + --fa: "\32 "; +} + +.fa-3 { + --fa: "\33 "; +} + +.fa-4 { + --fa: "\34 "; +} + +.fa-5 { + --fa: "\35 "; +} + +.fa-6 { + --fa: "\36 "; +} + +.fa-7 { + --fa: "\37 "; +} + +.fa-8 { + --fa: "\38 "; +} + +.fa-9 { + --fa: "\39 "; +} + +.fa-exclamation { + --fa: "\!"; +} + +.fa-hashtag { + --fa: "\#"; +} + +.fa-dollar-sign { + --fa: "\$"; +} + +.fa-dollar { + --fa: "\$"; +} + +.fa-usd { + --fa: "\$"; +} + +.fa-percent { + --fa: "\%"; +} + +.fa-percentage { + --fa: "\%"; +} + +.fa-asterisk { + --fa: "\*"; +} + +.fa-plus { + --fa: "\+"; +} + +.fa-add { + --fa: "\+"; +} + +.fa-less-than { + --fa: "\<"; +} + +.fa-equals { + --fa: "\="; +} + +.fa-greater-than { + --fa: "\>"; +} + +.fa-question { + --fa: "\?"; +} + +.fa-at { + --fa: "\@"; +} + +.fa-a { + --fa: "A"; +} + +.fa-b { + --fa: "B"; +} + +.fa-c { + --fa: "C"; +} + +.fa-d { + --fa: "D"; +} + +.fa-e { + --fa: "E"; +} + +.fa-f { + --fa: "F"; +} + +.fa-g { + --fa: "G"; +} + +.fa-h { + --fa: "H"; +} + +.fa-i { + --fa: "I"; +} + +.fa-j { + --fa: "J"; +} + +.fa-k { + --fa: "K"; +} + +.fa-l { + --fa: "L"; +} + +.fa-m { + --fa: "M"; +} + +.fa-n { + --fa: "N"; +} + +.fa-o { + --fa: "O"; +} + +.fa-p { + --fa: "P"; +} + +.fa-q { + --fa: "Q"; +} + +.fa-r { + --fa: "R"; +} + +.fa-s { + --fa: "S"; +} + +.fa-t { + --fa: "T"; +} + +.fa-u { + --fa: "U"; +} + +.fa-v { + --fa: "V"; +} + +.fa-w { + --fa: "W"; +} + +.fa-x { + --fa: "X"; +} + +.fa-y { + --fa: "Y"; +} + +.fa-z { + --fa: "Z"; +} + +.fa-faucet { + --fa: "\e005"; +} + +.fa-faucet-drip { + --fa: "\e006"; +} + +.fa-house-chimney-window { + --fa: "\e00d"; +} + +.fa-house-signal { + --fa: "\e012"; +} + +.fa-temperature-arrow-down { + --fa: "\e03f"; +} + +.fa-temperature-down { + --fa: "\e03f"; +} + +.fa-temperature-arrow-up { + --fa: "\e040"; +} + +.fa-temperature-up { + --fa: "\e040"; +} + +.fa-trailer { + --fa: "\e041"; +} + +.fa-bacteria { + --fa: "\e059"; +} + +.fa-bacterium { + --fa: "\e05a"; +} + +.fa-box-tissue { + --fa: "\e05b"; +} + +.fa-hand-holding-medical { + --fa: "\e05c"; +} + +.fa-hand-sparkles { + --fa: "\e05d"; +} + +.fa-hands-bubbles { + --fa: "\e05e"; +} + +.fa-hands-wash { + --fa: "\e05e"; +} + +.fa-handshake-slash { + --fa: "\e060"; +} + +.fa-handshake-alt-slash { + --fa: "\e060"; +} + +.fa-handshake-simple-slash { + --fa: "\e060"; +} + +.fa-head-side-cough { + --fa: "\e061"; +} + +.fa-head-side-cough-slash { + --fa: "\e062"; +} + +.fa-head-side-mask { + --fa: "\e063"; +} + +.fa-head-side-virus { + --fa: "\e064"; +} + +.fa-house-chimney-user { + --fa: "\e065"; +} + +.fa-house-laptop { + --fa: "\e066"; +} + +.fa-laptop-house { + --fa: "\e066"; +} + +.fa-lungs-virus { + --fa: "\e067"; +} + +.fa-people-arrows { + --fa: "\e068"; +} + +.fa-people-arrows-left-right { + --fa: "\e068"; +} + +.fa-plane-slash { + --fa: "\e069"; +} + +.fa-pump-medical { + --fa: "\e06a"; +} + +.fa-pump-soap { + --fa: "\e06b"; +} + +.fa-shield-virus { + --fa: "\e06c"; +} + +.fa-sink { + --fa: "\e06d"; +} + +.fa-soap { + --fa: "\e06e"; +} + +.fa-stopwatch-20 { + --fa: "\e06f"; +} + +.fa-shop-slash { + --fa: "\e070"; +} + +.fa-store-alt-slash { + --fa: "\e070"; +} + +.fa-store-slash { + --fa: "\e071"; +} + +.fa-toilet-paper-slash { + --fa: "\e072"; +} + +.fa-users-slash { + --fa: "\e073"; +} + +.fa-virus { + --fa: "\e074"; +} + +.fa-virus-slash { + --fa: "\e075"; +} + +.fa-viruses { + --fa: "\e076"; +} + +.fa-vest { + --fa: "\e085"; +} + +.fa-vest-patches { + --fa: "\e086"; +} + +.fa-arrow-trend-down { + --fa: "\e097"; +} + +.fa-arrow-trend-up { + --fa: "\e098"; +} + +.fa-arrow-up-from-bracket { + --fa: "\e09a"; +} + +.fa-austral-sign { + --fa: "\e0a9"; +} + +.fa-baht-sign { + --fa: "\e0ac"; +} + +.fa-bitcoin-sign { + --fa: "\e0b4"; +} + +.fa-bolt-lightning { + --fa: "\e0b7"; +} + +.fa-book-bookmark { + --fa: "\e0bb"; +} + +.fa-camera-rotate { + --fa: "\e0d8"; +} + +.fa-cedi-sign { + --fa: "\e0df"; +} + +.fa-chart-column { + --fa: "\e0e3"; +} + +.fa-chart-gantt { + --fa: "\e0e4"; +} + +.fa-clapperboard { + --fa: "\e131"; +} + +.fa-clover { + --fa: "\e139"; +} + +.fa-code-compare { + --fa: "\e13a"; +} + +.fa-code-fork { + --fa: "\e13b"; +} + +.fa-code-pull-request { + --fa: "\e13c"; +} + +.fa-colon-sign { + --fa: "\e140"; +} + +.fa-cruzeiro-sign { + --fa: "\e152"; +} + +.fa-display { + --fa: "\e163"; +} + +.fa-dong-sign { + --fa: "\e169"; +} + +.fa-elevator { + --fa: "\e16d"; +} + +.fa-filter-circle-xmark { + --fa: "\e17b"; +} + +.fa-florin-sign { + --fa: "\e184"; +} + +.fa-folder-closed { + --fa: "\e185"; +} + +.fa-franc-sign { + --fa: "\e18f"; +} + +.fa-guarani-sign { + --fa: "\e19a"; +} + +.fa-gun { + --fa: "\e19b"; +} + +.fa-hands-clapping { + --fa: "\e1a8"; +} + +.fa-house-user { + --fa: "\e1b0"; +} + +.fa-home-user { + --fa: "\e1b0"; +} + +.fa-indian-rupee-sign { + --fa: "\e1bc"; +} + +.fa-indian-rupee { + --fa: "\e1bc"; +} + +.fa-inr { + --fa: "\e1bc"; +} + +.fa-kip-sign { + --fa: "\e1c4"; +} + +.fa-lari-sign { + --fa: "\e1c8"; +} + +.fa-litecoin-sign { + --fa: "\e1d3"; +} + +.fa-manat-sign { + --fa: "\e1d5"; +} + +.fa-mask-face { + --fa: "\e1d7"; +} + +.fa-mill-sign { + --fa: "\e1ed"; +} + +.fa-money-bills { + --fa: "\e1f3"; +} + +.fa-naira-sign { + --fa: "\e1f6"; +} + +.fa-notdef { + --fa: "\e1fe"; +} + +.fa-panorama { + --fa: "\e209"; +} + +.fa-peseta-sign { + --fa: "\e221"; +} + +.fa-peso-sign { + --fa: "\e222"; +} + +.fa-plane-up { + --fa: "\e22d"; +} + +.fa-rupiah-sign { + --fa: "\e23d"; +} + +.fa-stairs { + --fa: "\e289"; +} + +.fa-timeline { + --fa: "\e29c"; +} + +.fa-truck-front { + --fa: "\e2b7"; +} + +.fa-turkish-lira-sign { + --fa: "\e2bb"; +} + +.fa-try { + --fa: "\e2bb"; +} + +.fa-turkish-lira { + --fa: "\e2bb"; +} + +.fa-vault { + --fa: "\e2c5"; +} + +.fa-wand-magic-sparkles { + --fa: "\e2ca"; +} + +.fa-magic-wand-sparkles { + --fa: "\e2ca"; +} + +.fa-wheat-awn { + --fa: "\e2cd"; +} + +.fa-wheat-alt { + --fa: "\e2cd"; +} + +.fa-wheelchair-move { + --fa: "\e2ce"; +} + +.fa-wheelchair-alt { + --fa: "\e2ce"; +} + +.fa-bangladeshi-taka-sign { + --fa: "\e2e6"; +} + +.fa-bowl-rice { + --fa: "\e2eb"; +} + +.fa-person-pregnant { + --fa: "\e31e"; +} + +.fa-house-chimney { + --fa: "\e3af"; +} + +.fa-home-lg { + --fa: "\e3af"; +} + +.fa-house-crack { + --fa: "\e3b1"; +} + +.fa-house-medical { + --fa: "\e3b2"; +} + +.fa-cent-sign { + --fa: "\e3f5"; +} + +.fa-plus-minus { + --fa: "\e43c"; +} + +.fa-sailboat { + --fa: "\e445"; +} + +.fa-section { + --fa: "\e447"; +} + +.fa-shrimp { + --fa: "\e448"; +} + +.fa-brazilian-real-sign { + --fa: "\e46c"; +} + +.fa-chart-simple { + --fa: "\e473"; +} + +.fa-diagram-next { + --fa: "\e476"; +} + +.fa-diagram-predecessor { + --fa: "\e477"; +} + +.fa-diagram-successor { + --fa: "\e47a"; +} + +.fa-earth-oceania { + --fa: "\e47b"; +} + +.fa-globe-oceania { + --fa: "\e47b"; +} + +.fa-bug-slash { + --fa: "\e490"; +} + +.fa-file-circle-plus { + --fa: "\e494"; +} + +.fa-shop-lock { + --fa: "\e4a5"; +} + +.fa-virus-covid { + --fa: "\e4a8"; +} + +.fa-virus-covid-slash { + --fa: "\e4a9"; +} + +.fa-anchor-circle-check { + --fa: "\e4aa"; +} + +.fa-anchor-circle-exclamation { + --fa: "\e4ab"; +} + +.fa-anchor-circle-xmark { + --fa: "\e4ac"; +} + +.fa-anchor-lock { + --fa: "\e4ad"; +} + +.fa-arrow-down-up-across-line { + --fa: "\e4af"; +} + +.fa-arrow-down-up-lock { + --fa: "\e4b0"; +} + +.fa-arrow-right-to-city { + --fa: "\e4b3"; +} + +.fa-arrow-up-from-ground-water { + --fa: "\e4b5"; +} + +.fa-arrow-up-from-water-pump { + --fa: "\e4b6"; +} + +.fa-arrow-up-right-dots { + --fa: "\e4b7"; +} + +.fa-arrows-down-to-line { + --fa: "\e4b8"; +} + +.fa-arrows-down-to-people { + --fa: "\e4b9"; +} + +.fa-arrows-left-right-to-line { + --fa: "\e4ba"; +} + +.fa-arrows-spin { + --fa: "\e4bb"; +} + +.fa-arrows-split-up-and-left { + --fa: "\e4bc"; +} + +.fa-arrows-to-circle { + --fa: "\e4bd"; +} + +.fa-arrows-to-dot { + --fa: "\e4be"; +} + +.fa-arrows-to-eye { + --fa: "\e4bf"; +} + +.fa-arrows-turn-right { + --fa: "\e4c0"; +} + +.fa-arrows-turn-to-dots { + --fa: "\e4c1"; +} + +.fa-arrows-up-to-line { + --fa: "\e4c2"; +} + +.fa-bore-hole { + --fa: "\e4c3"; +} + +.fa-bottle-droplet { + --fa: "\e4c4"; +} + +.fa-bottle-water { + --fa: "\e4c5"; +} + +.fa-bowl-food { + --fa: "\e4c6"; +} + +.fa-boxes-packing { + --fa: "\e4c7"; +} + +.fa-bridge { + --fa: "\e4c8"; +} + +.fa-bridge-circle-check { + --fa: "\e4c9"; +} + +.fa-bridge-circle-exclamation { + --fa: "\e4ca"; +} + +.fa-bridge-circle-xmark { + --fa: "\e4cb"; +} + +.fa-bridge-lock { + --fa: "\e4cc"; +} + +.fa-bridge-water { + --fa: "\e4ce"; +} + +.fa-bucket { + --fa: "\e4cf"; +} + +.fa-bugs { + --fa: "\e4d0"; +} + +.fa-building-circle-arrow-right { + --fa: "\e4d1"; +} + +.fa-building-circle-check { + --fa: "\e4d2"; +} + +.fa-building-circle-exclamation { + --fa: "\e4d3"; +} + +.fa-building-circle-xmark { + --fa: "\e4d4"; +} + +.fa-building-flag { + --fa: "\e4d5"; +} + +.fa-building-lock { + --fa: "\e4d6"; +} + +.fa-building-ngo { + --fa: "\e4d7"; +} + +.fa-building-shield { + --fa: "\e4d8"; +} + +.fa-building-un { + --fa: "\e4d9"; +} + +.fa-building-user { + --fa: "\e4da"; +} + +.fa-building-wheat { + --fa: "\e4db"; +} + +.fa-burst { + --fa: "\e4dc"; +} + +.fa-car-on { + --fa: "\e4dd"; +} + +.fa-car-tunnel { + --fa: "\e4de"; +} + +.fa-child-combatant { + --fa: "\e4e0"; +} + +.fa-child-rifle { + --fa: "\e4e0"; +} + +.fa-children { + --fa: "\e4e1"; +} + +.fa-circle-nodes { + --fa: "\e4e2"; +} + +.fa-clipboard-question { + --fa: "\e4e3"; +} + +.fa-cloud-showers-water { + --fa: "\e4e4"; +} + +.fa-computer { + --fa: "\e4e5"; +} + +.fa-cubes-stacked { + --fa: "\e4e6"; +} + +.fa-envelope-circle-check { + --fa: "\e4e8"; +} + +.fa-explosion { + --fa: "\e4e9"; +} + +.fa-ferry { + --fa: "\e4ea"; +} + +.fa-file-circle-exclamation { + --fa: "\e4eb"; +} + +.fa-file-circle-minus { + --fa: "\e4ed"; +} + +.fa-file-circle-question { + --fa: "\e4ef"; +} + +.fa-file-shield { + --fa: "\e4f0"; +} + +.fa-fire-burner { + --fa: "\e4f1"; +} + +.fa-fish-fins { + --fa: "\e4f2"; +} + +.fa-flask-vial { + --fa: "\e4f3"; +} + +.fa-glass-water { + --fa: "\e4f4"; +} + +.fa-glass-water-droplet { + --fa: "\e4f5"; +} + +.fa-group-arrows-rotate { + --fa: "\e4f6"; +} + +.fa-hand-holding-hand { + --fa: "\e4f7"; +} + +.fa-handcuffs { + --fa: "\e4f8"; +} + +.fa-hands-bound { + --fa: "\e4f9"; +} + +.fa-hands-holding-child { + --fa: "\e4fa"; +} + +.fa-hands-holding-circle { + --fa: "\e4fb"; +} + +.fa-heart-circle-bolt { + --fa: "\e4fc"; +} + +.fa-heart-circle-check { + --fa: "\e4fd"; +} + +.fa-heart-circle-exclamation { + --fa: "\e4fe"; +} + +.fa-heart-circle-minus { + --fa: "\e4ff"; +} + +.fa-heart-circle-plus { + --fa: "\e500"; +} + +.fa-heart-circle-xmark { + --fa: "\e501"; +} + +.fa-helicopter-symbol { + --fa: "\e502"; +} + +.fa-helmet-un { + --fa: "\e503"; +} + +.fa-hill-avalanche { + --fa: "\e507"; +} + +.fa-hill-rockslide { + --fa: "\e508"; +} + +.fa-house-circle-check { + --fa: "\e509"; +} + +.fa-house-circle-exclamation { + --fa: "\e50a"; +} + +.fa-house-circle-xmark { + --fa: "\e50b"; +} + +.fa-house-fire { + --fa: "\e50c"; +} + +.fa-house-flag { + --fa: "\e50d"; +} + +.fa-house-flood-water { + --fa: "\e50e"; +} + +.fa-house-flood-water-circle-arrow-right { + --fa: "\e50f"; +} + +.fa-house-lock { + --fa: "\e510"; +} + +.fa-house-medical-circle-check { + --fa: "\e511"; +} + +.fa-house-medical-circle-exclamation { + --fa: "\e512"; +} + +.fa-house-medical-circle-xmark { + --fa: "\e513"; +} + +.fa-house-medical-flag { + --fa: "\e514"; +} + +.fa-house-tsunami { + --fa: "\e515"; +} + +.fa-jar { + --fa: "\e516"; +} + +.fa-jar-wheat { + --fa: "\e517"; +} + +.fa-jet-fighter-up { + --fa: "\e518"; +} + +.fa-jug-detergent { + --fa: "\e519"; +} + +.fa-kitchen-set { + --fa: "\e51a"; +} + +.fa-land-mine-on { + --fa: "\e51b"; +} + +.fa-landmark-flag { + --fa: "\e51c"; +} + +.fa-laptop-file { + --fa: "\e51d"; +} + +.fa-lines-leaning { + --fa: "\e51e"; +} + +.fa-location-pin-lock { + --fa: "\e51f"; +} + +.fa-locust { + --fa: "\e520"; +} + +.fa-magnifying-glass-arrow-right { + --fa: "\e521"; +} + +.fa-magnifying-glass-chart { + --fa: "\e522"; +} + +.fa-mars-and-venus-burst { + --fa: "\e523"; +} + +.fa-mask-ventilator { + --fa: "\e524"; +} + +.fa-mattress-pillow { + --fa: "\e525"; +} + +.fa-mobile-retro { + --fa: "\e527"; +} + +.fa-money-bill-transfer { + --fa: "\e528"; +} + +.fa-money-bill-trend-up { + --fa: "\e529"; +} + +.fa-money-bill-wheat { + --fa: "\e52a"; +} + +.fa-mosquito { + --fa: "\e52b"; +} + +.fa-mosquito-net { + --fa: "\e52c"; +} + +.fa-mound { + --fa: "\e52d"; +} + +.fa-mountain-city { + --fa: "\e52e"; +} + +.fa-mountain-sun { + --fa: "\e52f"; +} + +.fa-oil-well { + --fa: "\e532"; +} + +.fa-people-group { + --fa: "\e533"; +} + +.fa-people-line { + --fa: "\e534"; +} + +.fa-people-pulling { + --fa: "\e535"; +} + +.fa-people-robbery { + --fa: "\e536"; +} + +.fa-people-roof { + --fa: "\e537"; +} + +.fa-person-arrow-down-to-line { + --fa: "\e538"; +} + +.fa-person-arrow-up-from-line { + --fa: "\e539"; +} + +.fa-person-breastfeeding { + --fa: "\e53a"; +} + +.fa-person-burst { + --fa: "\e53b"; +} + +.fa-person-cane { + --fa: "\e53c"; +} + +.fa-person-chalkboard { + --fa: "\e53d"; +} + +.fa-person-circle-check { + --fa: "\e53e"; +} + +.fa-person-circle-exclamation { + --fa: "\e53f"; +} + +.fa-person-circle-minus { + --fa: "\e540"; +} + +.fa-person-circle-plus { + --fa: "\e541"; +} + +.fa-person-circle-question { + --fa: "\e542"; +} + +.fa-person-circle-xmark { + --fa: "\e543"; +} + +.fa-person-dress-burst { + --fa: "\e544"; +} + +.fa-person-drowning { + --fa: "\e545"; +} + +.fa-person-falling { + --fa: "\e546"; +} + +.fa-person-falling-burst { + --fa: "\e547"; +} + +.fa-person-half-dress { + --fa: "\e548"; +} + +.fa-person-harassing { + --fa: "\e549"; +} + +.fa-person-military-pointing { + --fa: "\e54a"; +} + +.fa-person-military-rifle { + --fa: "\e54b"; +} + +.fa-person-military-to-person { + --fa: "\e54c"; +} + +.fa-person-rays { + --fa: "\e54d"; +} + +.fa-person-rifle { + --fa: "\e54e"; +} + +.fa-person-shelter { + --fa: "\e54f"; +} + +.fa-person-walking-arrow-loop-left { + --fa: "\e551"; +} + +.fa-person-walking-arrow-right { + --fa: "\e552"; +} + +.fa-person-walking-dashed-line-arrow-right { + --fa: "\e553"; +} + +.fa-person-walking-luggage { + --fa: "\e554"; +} + +.fa-plane-circle-check { + --fa: "\e555"; +} + +.fa-plane-circle-exclamation { + --fa: "\e556"; +} + +.fa-plane-circle-xmark { + --fa: "\e557"; +} + +.fa-plane-lock { + --fa: "\e558"; +} + +.fa-plate-wheat { + --fa: "\e55a"; +} + +.fa-plug-circle-bolt { + --fa: "\e55b"; +} + +.fa-plug-circle-check { + --fa: "\e55c"; +} + +.fa-plug-circle-exclamation { + --fa: "\e55d"; +} + +.fa-plug-circle-minus { + --fa: "\e55e"; +} + +.fa-plug-circle-plus { + --fa: "\e55f"; +} + +.fa-plug-circle-xmark { + --fa: "\e560"; +} + +.fa-ranking-star { + --fa: "\e561"; +} + +.fa-road-barrier { + --fa: "\e562"; +} + +.fa-road-bridge { + --fa: "\e563"; +} + +.fa-road-circle-check { + --fa: "\e564"; +} + +.fa-road-circle-exclamation { + --fa: "\e565"; +} + +.fa-road-circle-xmark { + --fa: "\e566"; +} + +.fa-road-lock { + --fa: "\e567"; +} + +.fa-road-spikes { + --fa: "\e568"; +} + +.fa-rug { + --fa: "\e569"; +} + +.fa-sack-xmark { + --fa: "\e56a"; +} + +.fa-school-circle-check { + --fa: "\e56b"; +} + +.fa-school-circle-exclamation { + --fa: "\e56c"; +} + +.fa-school-circle-xmark { + --fa: "\e56d"; +} + +.fa-school-flag { + --fa: "\e56e"; +} + +.fa-school-lock { + --fa: "\e56f"; +} + +.fa-sheet-plastic { + --fa: "\e571"; +} + +.fa-shield-cat { + --fa: "\e572"; +} + +.fa-shield-dog { + --fa: "\e573"; +} + +.fa-shield-heart { + --fa: "\e574"; +} + +.fa-square-nfi { + --fa: "\e576"; +} + +.fa-square-person-confined { + --fa: "\e577"; +} + +.fa-square-virus { + --fa: "\e578"; +} + +.fa-staff-snake { + --fa: "\e579"; +} + +.fa-rod-asclepius { + --fa: "\e579"; +} + +.fa-rod-snake { + --fa: "\e579"; +} + +.fa-staff-aesculapius { + --fa: "\e579"; +} + +.fa-sun-plant-wilt { + --fa: "\e57a"; +} + +.fa-tarp { + --fa: "\e57b"; +} + +.fa-tarp-droplet { + --fa: "\e57c"; +} + +.fa-tent { + --fa: "\e57d"; +} + +.fa-tent-arrow-down-to-line { + --fa: "\e57e"; +} + +.fa-tent-arrow-left-right { + --fa: "\e57f"; +} + +.fa-tent-arrow-turn-left { + --fa: "\e580"; +} + +.fa-tent-arrows-down { + --fa: "\e581"; +} + +.fa-tents { + --fa: "\e582"; +} + +.fa-toilet-portable { + --fa: "\e583"; +} + +.fa-toilets-portable { + --fa: "\e584"; +} + +.fa-tower-cell { + --fa: "\e585"; +} + +.fa-tower-observation { + --fa: "\e586"; +} + +.fa-tree-city { + --fa: "\e587"; +} + +.fa-trowel { + --fa: "\e589"; +} + +.fa-trowel-bricks { + --fa: "\e58a"; +} + +.fa-truck-arrow-right { + --fa: "\e58b"; +} + +.fa-truck-droplet { + --fa: "\e58c"; +} + +.fa-truck-field { + --fa: "\e58d"; +} + +.fa-truck-field-un { + --fa: "\e58e"; +} + +.fa-truck-plane { + --fa: "\e58f"; +} + +.fa-users-between-lines { + --fa: "\e591"; +} + +.fa-users-line { + --fa: "\e592"; +} + +.fa-users-rays { + --fa: "\e593"; +} + +.fa-users-rectangle { + --fa: "\e594"; +} + +.fa-users-viewfinder { + --fa: "\e595"; +} + +.fa-vial-circle-check { + --fa: "\e596"; +} + +.fa-vial-virus { + --fa: "\e597"; +} + +.fa-wheat-awn-circle-exclamation { + --fa: "\e598"; +} + +.fa-worm { + --fa: "\e599"; +} + +.fa-xmarks-lines { + --fa: "\e59a"; +} + +.fa-child-dress { + --fa: "\e59c"; +} + +.fa-child-reaching { + --fa: "\e59d"; +} + +.fa-file-circle-check { + --fa: "\e5a0"; +} + +.fa-file-circle-xmark { + --fa: "\e5a1"; +} + +.fa-person-through-window { + --fa: "\e5a9"; +} + +.fa-plant-wilt { + --fa: "\e5aa"; +} + +.fa-stapler { + --fa: "\e5af"; +} + +.fa-train-tram { + --fa: "\e5b4"; +} + +.fa-table-cells-column-lock { + --fa: "\e678"; +} + +.fa-table-cells-row-lock { + --fa: "\e67a"; +} + +.fa-web-awesome { + --fa: "\e682"; +} + +.fa-thumbtack-slash { + --fa: "\e68f"; +} + +.fa-thumb-tack-slash { + --fa: "\e68f"; +} + +.fa-table-cells-row-unlock { + --fa: "\e691"; +} + +.fa-chart-diagram { + --fa: "\e695"; +} + +.fa-comment-nodes { + --fa: "\e696"; +} + +.fa-file-fragment { + --fa: "\e697"; +} + +.fa-file-half-dashed { + --fa: "\e698"; +} + +.fa-hexagon-nodes { + --fa: "\e699"; +} + +.fa-hexagon-nodes-bolt { + --fa: "\e69a"; +} + +.fa-square-binary { + --fa: "\e69b"; +} + +.fa-pentagon { + --fa: "\e790"; +} + +.fa-non-binary { + --fa: "\e807"; +} + +.fa-spiral { + --fa: "\e80a"; +} + +.fa-mobile-vibrate { + --fa: "\e816"; +} + +.fa-single-quote-left { + --fa: "\e81b"; +} + +.fa-single-quote-right { + --fa: "\e81c"; +} + +.fa-bus-side { + --fa: "\e81d"; +} + +.fa-septagon { + --fa: "\e820"; +} + +.fa-heptagon { + --fa: "\e820"; +} + +.fa-martini-glass-empty { + --fa: "\f000"; +} + +.fa-glass-martini { + --fa: "\f000"; +} + +.fa-music { + --fa: "\f001"; +} + +.fa-magnifying-glass { + --fa: "\f002"; +} + +.fa-search { + --fa: "\f002"; +} + +.fa-heart { + --fa: "\f004"; +} + +.fa-star { + --fa: "\f005"; +} + +.fa-user { + --fa: "\f007"; +} + +.fa-user-alt { + --fa: "\f007"; +} + +.fa-user-large { + --fa: "\f007"; +} + +.fa-film { + --fa: "\f008"; +} + +.fa-film-alt { + --fa: "\f008"; +} + +.fa-film-simple { + --fa: "\f008"; +} + +.fa-table-cells-large { + --fa: "\f009"; +} + +.fa-th-large { + --fa: "\f009"; +} + +.fa-table-cells { + --fa: "\f00a"; +} + +.fa-th { + --fa: "\f00a"; +} + +.fa-table-list { + --fa: "\f00b"; +} + +.fa-th-list { + --fa: "\f00b"; +} + +.fa-check { + --fa: "\f00c"; +} + +.fa-xmark { + --fa: "\f00d"; +} + +.fa-close { + --fa: "\f00d"; +} + +.fa-multiply { + --fa: "\f00d"; +} + +.fa-remove { + --fa: "\f00d"; +} + +.fa-times { + --fa: "\f00d"; +} + +.fa-magnifying-glass-plus { + --fa: "\f00e"; +} + +.fa-search-plus { + --fa: "\f00e"; +} + +.fa-magnifying-glass-minus { + --fa: "\f010"; +} + +.fa-search-minus { + --fa: "\f010"; +} + +.fa-power-off { + --fa: "\f011"; +} + +.fa-signal { + --fa: "\f012"; +} + +.fa-signal-5 { + --fa: "\f012"; +} + +.fa-signal-perfect { + --fa: "\f012"; +} + +.fa-gear { + --fa: "\f013"; +} + +.fa-cog { + --fa: "\f013"; +} + +.fa-house { + --fa: "\f015"; +} + +.fa-home { + --fa: "\f015"; +} + +.fa-home-alt { + --fa: "\f015"; +} + +.fa-home-lg-alt { + --fa: "\f015"; +} + +.fa-clock { + --fa: "\f017"; +} + +.fa-clock-four { + --fa: "\f017"; +} + +.fa-road { + --fa: "\f018"; +} + +.fa-download { + --fa: "\f019"; +} + +.fa-inbox { + --fa: "\f01c"; +} + +.fa-arrow-rotate-right { + --fa: "\f01e"; +} + +.fa-arrow-right-rotate { + --fa: "\f01e"; +} + +.fa-arrow-rotate-forward { + --fa: "\f01e"; +} + +.fa-redo { + --fa: "\f01e"; +} + +.fa-arrows-rotate { + --fa: "\f021"; +} + +.fa-refresh { + --fa: "\f021"; +} + +.fa-sync { + --fa: "\f021"; +} + +.fa-rectangle-list { + --fa: "\f022"; +} + +.fa-list-alt { + --fa: "\f022"; +} + +.fa-lock { + --fa: "\f023"; +} + +.fa-flag { + --fa: "\f024"; +} + +.fa-headphones { + --fa: "\f025"; +} + +.fa-headphones-alt { + --fa: "\f025"; +} + +.fa-headphones-simple { + --fa: "\f025"; +} + +.fa-volume-off { + --fa: "\f026"; +} + +.fa-volume-low { + --fa: "\f027"; +} + +.fa-volume-down { + --fa: "\f027"; +} + +.fa-volume-high { + --fa: "\f028"; +} + +.fa-volume-up { + --fa: "\f028"; +} + +.fa-qrcode { + --fa: "\f029"; +} + +.fa-barcode { + --fa: "\f02a"; +} + +.fa-tag { + --fa: "\f02b"; +} + +.fa-tags { + --fa: "\f02c"; +} + +.fa-book { + --fa: "\f02d"; +} + +.fa-bookmark { + --fa: "\f02e"; +} + +.fa-print { + --fa: "\f02f"; +} + +.fa-camera { + --fa: "\f030"; +} + +.fa-camera-alt { + --fa: "\f030"; +} + +.fa-font { + --fa: "\f031"; +} + +.fa-bold { + --fa: "\f032"; +} + +.fa-italic { + --fa: "\f033"; +} + +.fa-text-height { + --fa: "\f034"; +} + +.fa-text-width { + --fa: "\f035"; +} + +.fa-align-left { + --fa: "\f036"; +} + +.fa-align-center { + --fa: "\f037"; +} + +.fa-align-right { + --fa: "\f038"; +} + +.fa-align-justify { + --fa: "\f039"; +} + +.fa-list { + --fa: "\f03a"; +} + +.fa-list-squares { + --fa: "\f03a"; +} + +.fa-outdent { + --fa: "\f03b"; +} + +.fa-dedent { + --fa: "\f03b"; +} + +.fa-indent { + --fa: "\f03c"; +} + +.fa-video { + --fa: "\f03d"; +} + +.fa-video-camera { + --fa: "\f03d"; +} + +.fa-image { + --fa: "\f03e"; +} + +.fa-location-pin { + --fa: "\f041"; +} + +.fa-map-marker { + --fa: "\f041"; +} + +.fa-circle-half-stroke { + --fa: "\f042"; +} + +.fa-adjust { + --fa: "\f042"; +} + +.fa-droplet { + --fa: "\f043"; +} + +.fa-tint { + --fa: "\f043"; +} + +.fa-pen-to-square { + --fa: "\f044"; +} + +.fa-edit { + --fa: "\f044"; +} + +.fa-arrows-up-down-left-right { + --fa: "\f047"; +} + +.fa-arrows { + --fa: "\f047"; +} + +.fa-backward-step { + --fa: "\f048"; +} + +.fa-step-backward { + --fa: "\f048"; +} + +.fa-backward-fast { + --fa: "\f049"; +} + +.fa-fast-backward { + --fa: "\f049"; +} + +.fa-backward { + --fa: "\f04a"; +} + +.fa-play { + --fa: "\f04b"; +} + +.fa-pause { + --fa: "\f04c"; +} + +.fa-stop { + --fa: "\f04d"; +} + +.fa-forward { + --fa: "\f04e"; +} + +.fa-forward-fast { + --fa: "\f050"; +} + +.fa-fast-forward { + --fa: "\f050"; +} + +.fa-forward-step { + --fa: "\f051"; +} + +.fa-step-forward { + --fa: "\f051"; +} + +.fa-eject { + --fa: "\f052"; +} + +.fa-chevron-left { + --fa: "\f053"; +} + +.fa-chevron-right { + --fa: "\f054"; +} + +.fa-circle-plus { + --fa: "\f055"; +} + +.fa-plus-circle { + --fa: "\f055"; +} + +.fa-circle-minus { + --fa: "\f056"; +} + +.fa-minus-circle { + --fa: "\f056"; +} + +.fa-circle-xmark { + --fa: "\f057"; +} + +.fa-times-circle { + --fa: "\f057"; +} + +.fa-xmark-circle { + --fa: "\f057"; +} + +.fa-circle-check { + --fa: "\f058"; +} + +.fa-check-circle { + --fa: "\f058"; +} + +.fa-circle-question { + --fa: "\f059"; +} + +.fa-question-circle { + --fa: "\f059"; +} + +.fa-circle-info { + --fa: "\f05a"; +} + +.fa-info-circle { + --fa: "\f05a"; +} + +.fa-crosshairs { + --fa: "\f05b"; +} + +.fa-ban { + --fa: "\f05e"; +} + +.fa-cancel { + --fa: "\f05e"; +} + +.fa-arrow-left { + --fa: "\f060"; +} + +.fa-arrow-right { + --fa: "\f061"; +} + +.fa-arrow-up { + --fa: "\f062"; +} + +.fa-arrow-down { + --fa: "\f063"; +} + +.fa-share { + --fa: "\f064"; +} + +.fa-mail-forward { + --fa: "\f064"; +} + +.fa-expand { + --fa: "\f065"; +} + +.fa-compress { + --fa: "\f066"; +} + +.fa-minus { + --fa: "\f068"; +} + +.fa-subtract { + --fa: "\f068"; +} + +.fa-circle-exclamation { + --fa: "\f06a"; +} + +.fa-exclamation-circle { + --fa: "\f06a"; +} + +.fa-gift { + --fa: "\f06b"; +} + +.fa-leaf { + --fa: "\f06c"; +} + +.fa-fire { + --fa: "\f06d"; +} + +.fa-eye { + --fa: "\f06e"; +} + +.fa-eye-slash { + --fa: "\f070"; +} + +.fa-triangle-exclamation { + --fa: "\f071"; +} + +.fa-exclamation-triangle { + --fa: "\f071"; +} + +.fa-warning { + --fa: "\f071"; +} + +.fa-plane { + --fa: "\f072"; +} + +.fa-calendar-days { + --fa: "\f073"; +} + +.fa-calendar-alt { + --fa: "\f073"; +} + +.fa-shuffle { + --fa: "\f074"; +} + +.fa-random { + --fa: "\f074"; +} + +.fa-comment { + --fa: "\f075"; +} + +.fa-magnet { + --fa: "\f076"; +} + +.fa-chevron-up { + --fa: "\f077"; +} + +.fa-chevron-down { + --fa: "\f078"; +} + +.fa-retweet { + --fa: "\f079"; +} + +.fa-cart-shopping { + --fa: "\f07a"; +} + +.fa-shopping-cart { + --fa: "\f07a"; +} + +.fa-folder { + --fa: "\f07b"; +} + +.fa-folder-blank { + --fa: "\f07b"; +} + +.fa-folder-open { + --fa: "\f07c"; +} + +.fa-arrows-up-down { + --fa: "\f07d"; +} + +.fa-arrows-v { + --fa: "\f07d"; +} + +.fa-arrows-left-right { + --fa: "\f07e"; +} + +.fa-arrows-h { + --fa: "\f07e"; +} + +.fa-chart-bar { + --fa: "\f080"; +} + +.fa-bar-chart { + --fa: "\f080"; +} + +.fa-camera-retro { + --fa: "\f083"; +} + +.fa-key { + --fa: "\f084"; +} + +.fa-gears { + --fa: "\f085"; +} + +.fa-cogs { + --fa: "\f085"; +} + +.fa-comments { + --fa: "\f086"; +} + +.fa-star-half { + --fa: "\f089"; +} + +.fa-arrow-right-from-bracket { + --fa: "\f08b"; +} + +.fa-sign-out { + --fa: "\f08b"; +} + +.fa-thumbtack { + --fa: "\f08d"; +} + +.fa-thumb-tack { + --fa: "\f08d"; +} + +.fa-arrow-up-right-from-square { + --fa: "\f08e"; +} + +.fa-external-link { + --fa: "\f08e"; +} + +.fa-arrow-right-to-bracket { + --fa: "\f090"; +} + +.fa-sign-in { + --fa: "\f090"; +} + +.fa-trophy { + --fa: "\f091"; +} + +.fa-upload { + --fa: "\f093"; +} + +.fa-lemon { + --fa: "\f094"; +} + +.fa-phone { + --fa: "\f095"; +} + +.fa-square-phone { + --fa: "\f098"; +} + +.fa-phone-square { + --fa: "\f098"; +} + +.fa-unlock { + --fa: "\f09c"; +} + +.fa-credit-card { + --fa: "\f09d"; +} + +.fa-credit-card-alt { + --fa: "\f09d"; +} + +.fa-rss { + --fa: "\f09e"; +} + +.fa-feed { + --fa: "\f09e"; +} + +.fa-hard-drive { + --fa: "\f0a0"; +} + +.fa-hdd { + --fa: "\f0a0"; +} + +.fa-bullhorn { + --fa: "\f0a1"; +} + +.fa-certificate { + --fa: "\f0a3"; +} + +.fa-hand-point-right { + --fa: "\f0a4"; +} + +.fa-hand-point-left { + --fa: "\f0a5"; +} + +.fa-hand-point-up { + --fa: "\f0a6"; +} + +.fa-hand-point-down { + --fa: "\f0a7"; +} + +.fa-circle-arrow-left { + --fa: "\f0a8"; +} + +.fa-arrow-circle-left { + --fa: "\f0a8"; +} + +.fa-circle-arrow-right { + --fa: "\f0a9"; +} + +.fa-arrow-circle-right { + --fa: "\f0a9"; +} + +.fa-circle-arrow-up { + --fa: "\f0aa"; +} + +.fa-arrow-circle-up { + --fa: "\f0aa"; +} + +.fa-circle-arrow-down { + --fa: "\f0ab"; +} + +.fa-arrow-circle-down { + --fa: "\f0ab"; +} + +.fa-globe { + --fa: "\f0ac"; +} + +.fa-wrench { + --fa: "\f0ad"; +} + +.fa-list-check { + --fa: "\f0ae"; +} + +.fa-tasks { + --fa: "\f0ae"; +} + +.fa-filter { + --fa: "\f0b0"; +} + +.fa-briefcase { + --fa: "\f0b1"; +} + +.fa-up-down-left-right { + --fa: "\f0b2"; +} + +.fa-arrows-alt { + --fa: "\f0b2"; +} + +.fa-users { + --fa: "\f0c0"; +} + +.fa-link { + --fa: "\f0c1"; +} + +.fa-chain { + --fa: "\f0c1"; +} + +.fa-cloud { + --fa: "\f0c2"; +} + +.fa-flask { + --fa: "\f0c3"; +} + +.fa-scissors { + --fa: "\f0c4"; +} + +.fa-cut { + --fa: "\f0c4"; +} + +.fa-copy { + --fa: "\f0c5"; +} + +.fa-paperclip { + --fa: "\f0c6"; +} + +.fa-floppy-disk { + --fa: "\f0c7"; +} + +.fa-save { + --fa: "\f0c7"; +} + +.fa-square { + --fa: "\f0c8"; +} + +.fa-bars { + --fa: "\f0c9"; +} + +.fa-navicon { + --fa: "\f0c9"; +} + +.fa-list-ul { + --fa: "\f0ca"; +} + +.fa-list-dots { + --fa: "\f0ca"; +} + +.fa-list-ol { + --fa: "\f0cb"; +} + +.fa-list-1-2 { + --fa: "\f0cb"; +} + +.fa-list-numeric { + --fa: "\f0cb"; +} + +.fa-strikethrough { + --fa: "\f0cc"; +} + +.fa-underline { + --fa: "\f0cd"; +} + +.fa-table { + --fa: "\f0ce"; +} + +.fa-wand-magic { + --fa: "\f0d0"; +} + +.fa-magic { + --fa: "\f0d0"; +} + +.fa-truck { + --fa: "\f0d1"; +} + +.fa-money-bill { + --fa: "\f0d6"; +} + +.fa-caret-down { + --fa: "\f0d7"; +} + +.fa-caret-up { + --fa: "\f0d8"; +} + +.fa-caret-left { + --fa: "\f0d9"; +} + +.fa-caret-right { + --fa: "\f0da"; +} + +.fa-table-columns { + --fa: "\f0db"; +} + +.fa-columns { + --fa: "\f0db"; +} + +.fa-sort { + --fa: "\f0dc"; +} + +.fa-unsorted { + --fa: "\f0dc"; +} + +.fa-sort-down { + --fa: "\f0dd"; +} + +.fa-sort-desc { + --fa: "\f0dd"; +} + +.fa-sort-up { + --fa: "\f0de"; +} + +.fa-sort-asc { + --fa: "\f0de"; +} + +.fa-envelope { + --fa: "\f0e0"; +} + +.fa-arrow-rotate-left { + --fa: "\f0e2"; +} + +.fa-arrow-left-rotate { + --fa: "\f0e2"; +} + +.fa-arrow-rotate-back { + --fa: "\f0e2"; +} + +.fa-arrow-rotate-backward { + --fa: "\f0e2"; +} + +.fa-undo { + --fa: "\f0e2"; +} + +.fa-gavel { + --fa: "\f0e3"; +} + +.fa-legal { + --fa: "\f0e3"; +} + +.fa-bolt { + --fa: "\f0e7"; +} + +.fa-zap { + --fa: "\f0e7"; +} + +.fa-sitemap { + --fa: "\f0e8"; +} + +.fa-umbrella { + --fa: "\f0e9"; +} + +.fa-paste { + --fa: "\f0ea"; +} + +.fa-file-clipboard { + --fa: "\f0ea"; +} + +.fa-lightbulb { + --fa: "\f0eb"; +} + +.fa-arrow-right-arrow-left { + --fa: "\f0ec"; +} + +.fa-exchange { + --fa: "\f0ec"; +} + +.fa-cloud-arrow-down { + --fa: "\f0ed"; +} + +.fa-cloud-download { + --fa: "\f0ed"; +} + +.fa-cloud-download-alt { + --fa: "\f0ed"; +} + +.fa-cloud-arrow-up { + --fa: "\f0ee"; +} + +.fa-cloud-upload { + --fa: "\f0ee"; +} + +.fa-cloud-upload-alt { + --fa: "\f0ee"; +} + +.fa-user-doctor { + --fa: "\f0f0"; +} + +.fa-user-md { + --fa: "\f0f0"; +} + +.fa-stethoscope { + --fa: "\f0f1"; +} + +.fa-suitcase { + --fa: "\f0f2"; +} + +.fa-bell { + --fa: "\f0f3"; +} + +.fa-mug-saucer { + --fa: "\f0f4"; +} + +.fa-coffee { + --fa: "\f0f4"; +} + +.fa-hospital { + --fa: "\f0f8"; +} + +.fa-hospital-alt { + --fa: "\f0f8"; +} + +.fa-hospital-wide { + --fa: "\f0f8"; +} + +.fa-truck-medical { + --fa: "\f0f9"; +} + +.fa-ambulance { + --fa: "\f0f9"; +} + +.fa-suitcase-medical { + --fa: "\f0fa"; +} + +.fa-medkit { + --fa: "\f0fa"; +} + +.fa-jet-fighter { + --fa: "\f0fb"; +} + +.fa-fighter-jet { + --fa: "\f0fb"; +} + +.fa-beer-mug-empty { + --fa: "\f0fc"; +} + +.fa-beer { + --fa: "\f0fc"; +} + +.fa-square-h { + --fa: "\f0fd"; +} + +.fa-h-square { + --fa: "\f0fd"; +} + +.fa-square-plus { + --fa: "\f0fe"; +} + +.fa-plus-square { + --fa: "\f0fe"; +} + +.fa-angles-left { + --fa: "\f100"; +} + +.fa-angle-double-left { + --fa: "\f100"; +} + +.fa-angles-right { + --fa: "\f101"; +} + +.fa-angle-double-right { + --fa: "\f101"; +} + +.fa-angles-up { + --fa: "\f102"; +} + +.fa-angle-double-up { + --fa: "\f102"; +} + +.fa-angles-down { + --fa: "\f103"; +} + +.fa-angle-double-down { + --fa: "\f103"; +} + +.fa-angle-left { + --fa: "\f104"; +} + +.fa-angle-right { + --fa: "\f105"; +} + +.fa-angle-up { + --fa: "\f106"; +} + +.fa-angle-down { + --fa: "\f107"; +} + +.fa-laptop { + --fa: "\f109"; +} + +.fa-tablet-button { + --fa: "\f10a"; +} + +.fa-mobile-button { + --fa: "\f10b"; +} + +.fa-quote-left { + --fa: "\f10d"; +} + +.fa-quote-left-alt { + --fa: "\f10d"; +} + +.fa-quote-right { + --fa: "\f10e"; +} + +.fa-quote-right-alt { + --fa: "\f10e"; +} + +.fa-spinner { + --fa: "\f110"; +} + +.fa-circle { + --fa: "\f111"; +} + +.fa-face-smile { + --fa: "\f118"; +} + +.fa-smile { + --fa: "\f118"; +} + +.fa-face-frown { + --fa: "\f119"; +} + +.fa-frown { + --fa: "\f119"; +} + +.fa-face-meh { + --fa: "\f11a"; +} + +.fa-meh { + --fa: "\f11a"; +} + +.fa-gamepad { + --fa: "\f11b"; +} + +.fa-keyboard { + --fa: "\f11c"; +} + +.fa-flag-checkered { + --fa: "\f11e"; +} + +.fa-terminal { + --fa: "\f120"; +} + +.fa-code { + --fa: "\f121"; +} + +.fa-reply-all { + --fa: "\f122"; +} + +.fa-mail-reply-all { + --fa: "\f122"; +} + +.fa-location-arrow { + --fa: "\f124"; +} + +.fa-crop { + --fa: "\f125"; +} + +.fa-code-branch { + --fa: "\f126"; +} + +.fa-link-slash { + --fa: "\f127"; +} + +.fa-chain-broken { + --fa: "\f127"; +} + +.fa-chain-slash { + --fa: "\f127"; +} + +.fa-unlink { + --fa: "\f127"; +} + +.fa-info { + --fa: "\f129"; +} + +.fa-superscript { + --fa: "\f12b"; +} + +.fa-subscript { + --fa: "\f12c"; +} + +.fa-eraser { + --fa: "\f12d"; +} + +.fa-puzzle-piece { + --fa: "\f12e"; +} + +.fa-microphone { + --fa: "\f130"; +} + +.fa-microphone-slash { + --fa: "\f131"; +} + +.fa-shield { + --fa: "\f132"; +} + +.fa-shield-blank { + --fa: "\f132"; +} + +.fa-calendar { + --fa: "\f133"; +} + +.fa-fire-extinguisher { + --fa: "\f134"; +} + +.fa-rocket { + --fa: "\f135"; +} + +.fa-circle-chevron-left { + --fa: "\f137"; +} + +.fa-chevron-circle-left { + --fa: "\f137"; +} + +.fa-circle-chevron-right { + --fa: "\f138"; +} + +.fa-chevron-circle-right { + --fa: "\f138"; +} + +.fa-circle-chevron-up { + --fa: "\f139"; +} + +.fa-chevron-circle-up { + --fa: "\f139"; +} + +.fa-circle-chevron-down { + --fa: "\f13a"; +} + +.fa-chevron-circle-down { + --fa: "\f13a"; +} + +.fa-anchor { + --fa: "\f13d"; +} + +.fa-unlock-keyhole { + --fa: "\f13e"; +} + +.fa-unlock-alt { + --fa: "\f13e"; +} + +.fa-bullseye { + --fa: "\f140"; +} + +.fa-ellipsis { + --fa: "\f141"; +} + +.fa-ellipsis-h { + --fa: "\f141"; +} + +.fa-ellipsis-vertical { + --fa: "\f142"; +} + +.fa-ellipsis-v { + --fa: "\f142"; +} + +.fa-square-rss { + --fa: "\f143"; +} + +.fa-rss-square { + --fa: "\f143"; +} + +.fa-circle-play { + --fa: "\f144"; +} + +.fa-play-circle { + --fa: "\f144"; +} + +.fa-ticket { + --fa: "\f145"; +} + +.fa-square-minus { + --fa: "\f146"; +} + +.fa-minus-square { + --fa: "\f146"; +} + +.fa-arrow-turn-up { + --fa: "\f148"; +} + +.fa-level-up { + --fa: "\f148"; +} + +.fa-arrow-turn-down { + --fa: "\f149"; +} + +.fa-level-down { + --fa: "\f149"; +} + +.fa-square-check { + --fa: "\f14a"; +} + +.fa-check-square { + --fa: "\f14a"; +} + +.fa-square-pen { + --fa: "\f14b"; +} + +.fa-pen-square { + --fa: "\f14b"; +} + +.fa-pencil-square { + --fa: "\f14b"; +} + +.fa-square-arrow-up-right { + --fa: "\f14c"; +} + +.fa-external-link-square { + --fa: "\f14c"; +} + +.fa-share-from-square { + --fa: "\f14d"; +} + +.fa-share-square { + --fa: "\f14d"; +} + +.fa-compass { + --fa: "\f14e"; +} + +.fa-square-caret-down { + --fa: "\f150"; +} + +.fa-caret-square-down { + --fa: "\f150"; +} + +.fa-square-caret-up { + --fa: "\f151"; +} + +.fa-caret-square-up { + --fa: "\f151"; +} + +.fa-square-caret-right { + --fa: "\f152"; +} + +.fa-caret-square-right { + --fa: "\f152"; +} + +.fa-euro-sign { + --fa: "\f153"; +} + +.fa-eur { + --fa: "\f153"; +} + +.fa-euro { + --fa: "\f153"; +} + +.fa-sterling-sign { + --fa: "\f154"; +} + +.fa-gbp { + --fa: "\f154"; +} + +.fa-pound-sign { + --fa: "\f154"; +} + +.fa-rupee-sign { + --fa: "\f156"; +} + +.fa-rupee { + --fa: "\f156"; +} + +.fa-yen-sign { + --fa: "\f157"; +} + +.fa-cny { + --fa: "\f157"; +} + +.fa-jpy { + --fa: "\f157"; +} + +.fa-rmb { + --fa: "\f157"; +} + +.fa-yen { + --fa: "\f157"; +} + +.fa-ruble-sign { + --fa: "\f158"; +} + +.fa-rouble { + --fa: "\f158"; +} + +.fa-rub { + --fa: "\f158"; +} + +.fa-ruble { + --fa: "\f158"; +} + +.fa-won-sign { + --fa: "\f159"; +} + +.fa-krw { + --fa: "\f159"; +} + +.fa-won { + --fa: "\f159"; +} + +.fa-file { + --fa: "\f15b"; +} + +.fa-file-lines { + --fa: "\f15c"; +} + +.fa-file-alt { + --fa: "\f15c"; +} + +.fa-file-text { + --fa: "\f15c"; +} + +.fa-arrow-down-a-z { + --fa: "\f15d"; +} + +.fa-sort-alpha-asc { + --fa: "\f15d"; +} + +.fa-sort-alpha-down { + --fa: "\f15d"; +} + +.fa-arrow-up-a-z { + --fa: "\f15e"; +} + +.fa-sort-alpha-up { + --fa: "\f15e"; +} + +.fa-arrow-down-wide-short { + --fa: "\f160"; +} + +.fa-sort-amount-asc { + --fa: "\f160"; +} + +.fa-sort-amount-down { + --fa: "\f160"; +} + +.fa-arrow-up-wide-short { + --fa: "\f161"; +} + +.fa-sort-amount-up { + --fa: "\f161"; +} + +.fa-arrow-down-1-9 { + --fa: "\f162"; +} + +.fa-sort-numeric-asc { + --fa: "\f162"; +} + +.fa-sort-numeric-down { + --fa: "\f162"; +} + +.fa-arrow-up-1-9 { + --fa: "\f163"; +} + +.fa-sort-numeric-up { + --fa: "\f163"; +} + +.fa-thumbs-up { + --fa: "\f164"; +} + +.fa-thumbs-down { + --fa: "\f165"; +} + +.fa-arrow-down-long { + --fa: "\f175"; +} + +.fa-long-arrow-down { + --fa: "\f175"; +} + +.fa-arrow-up-long { + --fa: "\f176"; +} + +.fa-long-arrow-up { + --fa: "\f176"; +} + +.fa-arrow-left-long { + --fa: "\f177"; +} + +.fa-long-arrow-left { + --fa: "\f177"; +} + +.fa-arrow-right-long { + --fa: "\f178"; +} + +.fa-long-arrow-right { + --fa: "\f178"; +} + +.fa-person-dress { + --fa: "\f182"; +} + +.fa-female { + --fa: "\f182"; +} + +.fa-person { + --fa: "\f183"; +} + +.fa-male { + --fa: "\f183"; +} + +.fa-sun { + --fa: "\f185"; +} + +.fa-moon { + --fa: "\f186"; +} + +.fa-box-archive { + --fa: "\f187"; +} + +.fa-archive { + --fa: "\f187"; +} + +.fa-bug { + --fa: "\f188"; +} + +.fa-square-caret-left { + --fa: "\f191"; +} + +.fa-caret-square-left { + --fa: "\f191"; +} + +.fa-circle-dot { + --fa: "\f192"; +} + +.fa-dot-circle { + --fa: "\f192"; +} + +.fa-wheelchair { + --fa: "\f193"; +} + +.fa-lira-sign { + --fa: "\f195"; +} + +.fa-shuttle-space { + --fa: "\f197"; +} + +.fa-space-shuttle { + --fa: "\f197"; +} + +.fa-square-envelope { + --fa: "\f199"; +} + +.fa-envelope-square { + --fa: "\f199"; +} + +.fa-building-columns { + --fa: "\f19c"; +} + +.fa-bank { + --fa: "\f19c"; +} + +.fa-institution { + --fa: "\f19c"; +} + +.fa-museum { + --fa: "\f19c"; +} + +.fa-university { + --fa: "\f19c"; +} + +.fa-graduation-cap { + --fa: "\f19d"; +} + +.fa-mortar-board { + --fa: "\f19d"; +} + +.fa-language { + --fa: "\f1ab"; +} + +.fa-fax { + --fa: "\f1ac"; +} + +.fa-building { + --fa: "\f1ad"; +} + +.fa-child { + --fa: "\f1ae"; +} + +.fa-paw { + --fa: "\f1b0"; +} + +.fa-cube { + --fa: "\f1b2"; +} + +.fa-cubes { + --fa: "\f1b3"; +} + +.fa-recycle { + --fa: "\f1b8"; +} + +.fa-car { + --fa: "\f1b9"; +} + +.fa-automobile { + --fa: "\f1b9"; +} + +.fa-taxi { + --fa: "\f1ba"; +} + +.fa-cab { + --fa: "\f1ba"; +} + +.fa-tree { + --fa: "\f1bb"; +} + +.fa-database { + --fa: "\f1c0"; +} + +.fa-file-pdf { + --fa: "\f1c1"; +} + +.fa-file-word { + --fa: "\f1c2"; +} + +.fa-file-excel { + --fa: "\f1c3"; +} + +.fa-file-powerpoint { + --fa: "\f1c4"; +} + +.fa-file-image { + --fa: "\f1c5"; +} + +.fa-file-zipper { + --fa: "\f1c6"; +} + +.fa-file-archive { + --fa: "\f1c6"; +} + +.fa-file-audio { + --fa: "\f1c7"; +} + +.fa-file-video { + --fa: "\f1c8"; +} + +.fa-file-code { + --fa: "\f1c9"; +} + +.fa-life-ring { + --fa: "\f1cd"; +} + +.fa-circle-notch { + --fa: "\f1ce"; +} + +.fa-paper-plane { + --fa: "\f1d8"; +} + +.fa-clock-rotate-left { + --fa: "\f1da"; +} + +.fa-history { + --fa: "\f1da"; +} + +.fa-heading { + --fa: "\f1dc"; +} + +.fa-header { + --fa: "\f1dc"; +} + +.fa-paragraph { + --fa: "\f1dd"; +} + +.fa-sliders { + --fa: "\f1de"; +} + +.fa-sliders-h { + --fa: "\f1de"; +} + +.fa-share-nodes { + --fa: "\f1e0"; +} + +.fa-share-alt { + --fa: "\f1e0"; +} + +.fa-square-share-nodes { + --fa: "\f1e1"; +} + +.fa-share-alt-square { + --fa: "\f1e1"; +} + +.fa-bomb { + --fa: "\f1e2"; +} + +.fa-futbol { + --fa: "\f1e3"; +} + +.fa-futbol-ball { + --fa: "\f1e3"; +} + +.fa-soccer-ball { + --fa: "\f1e3"; +} + +.fa-tty { + --fa: "\f1e4"; +} + +.fa-teletype { + --fa: "\f1e4"; +} + +.fa-binoculars { + --fa: "\f1e5"; +} + +.fa-plug { + --fa: "\f1e6"; +} + +.fa-newspaper { + --fa: "\f1ea"; +} + +.fa-wifi { + --fa: "\f1eb"; +} + +.fa-wifi-3 { + --fa: "\f1eb"; +} + +.fa-wifi-strong { + --fa: "\f1eb"; +} + +.fa-calculator { + --fa: "\f1ec"; +} + +.fa-bell-slash { + --fa: "\f1f6"; +} + +.fa-trash { + --fa: "\f1f8"; +} + +.fa-copyright { + --fa: "\f1f9"; +} + +.fa-eye-dropper { + --fa: "\f1fb"; +} + +.fa-eye-dropper-empty { + --fa: "\f1fb"; +} + +.fa-eyedropper { + --fa: "\f1fb"; +} + +.fa-paintbrush { + --fa: "\f1fc"; +} + +.fa-paint-brush { + --fa: "\f1fc"; +} + +.fa-cake-candles { + --fa: "\f1fd"; +} + +.fa-birthday-cake { + --fa: "\f1fd"; +} + +.fa-cake { + --fa: "\f1fd"; +} + +.fa-chart-area { + --fa: "\f1fe"; +} + +.fa-area-chart { + --fa: "\f1fe"; +} + +.fa-chart-pie { + --fa: "\f200"; +} + +.fa-pie-chart { + --fa: "\f200"; +} + +.fa-chart-line { + --fa: "\f201"; +} + +.fa-line-chart { + --fa: "\f201"; +} + +.fa-toggle-off { + --fa: "\f204"; +} + +.fa-toggle-on { + --fa: "\f205"; +} + +.fa-bicycle { + --fa: "\f206"; +} + +.fa-bus { + --fa: "\f207"; +} + +.fa-closed-captioning { + --fa: "\f20a"; +} + +.fa-shekel-sign { + --fa: "\f20b"; +} + +.fa-ils { + --fa: "\f20b"; +} + +.fa-shekel { + --fa: "\f20b"; +} + +.fa-sheqel { + --fa: "\f20b"; +} + +.fa-sheqel-sign { + --fa: "\f20b"; +} + +.fa-cart-plus { + --fa: "\f217"; +} + +.fa-cart-arrow-down { + --fa: "\f218"; +} + +.fa-diamond { + --fa: "\f219"; +} + +.fa-ship { + --fa: "\f21a"; +} + +.fa-user-secret { + --fa: "\f21b"; +} + +.fa-motorcycle { + --fa: "\f21c"; +} + +.fa-street-view { + --fa: "\f21d"; +} + +.fa-heart-pulse { + --fa: "\f21e"; +} + +.fa-heartbeat { + --fa: "\f21e"; +} + +.fa-venus { + --fa: "\f221"; +} + +.fa-mars { + --fa: "\f222"; +} + +.fa-mercury { + --fa: "\f223"; +} + +.fa-mars-and-venus { + --fa: "\f224"; +} + +.fa-transgender { + --fa: "\f225"; +} + +.fa-transgender-alt { + --fa: "\f225"; +} + +.fa-venus-double { + --fa: "\f226"; +} + +.fa-mars-double { + --fa: "\f227"; +} + +.fa-venus-mars { + --fa: "\f228"; +} + +.fa-mars-stroke { + --fa: "\f229"; +} + +.fa-mars-stroke-up { + --fa: "\f22a"; +} + +.fa-mars-stroke-v { + --fa: "\f22a"; +} + +.fa-mars-stroke-right { + --fa: "\f22b"; +} + +.fa-mars-stroke-h { + --fa: "\f22b"; +} + +.fa-neuter { + --fa: "\f22c"; +} + +.fa-genderless { + --fa: "\f22d"; +} + +.fa-server { + --fa: "\f233"; +} + +.fa-user-plus { + --fa: "\f234"; +} + +.fa-user-xmark { + --fa: "\f235"; +} + +.fa-user-times { + --fa: "\f235"; +} + +.fa-bed { + --fa: "\f236"; +} + +.fa-train { + --fa: "\f238"; +} + +.fa-train-subway { + --fa: "\f239"; +} + +.fa-subway { + --fa: "\f239"; +} + +.fa-battery-full { + --fa: "\f240"; +} + +.fa-battery { + --fa: "\f240"; +} + +.fa-battery-5 { + --fa: "\f240"; +} + +.fa-battery-three-quarters { + --fa: "\f241"; +} + +.fa-battery-4 { + --fa: "\f241"; +} + +.fa-battery-half { + --fa: "\f242"; +} + +.fa-battery-3 { + --fa: "\f242"; +} + +.fa-battery-quarter { + --fa: "\f243"; +} + +.fa-battery-2 { + --fa: "\f243"; +} + +.fa-battery-empty { + --fa: "\f244"; +} + +.fa-battery-0 { + --fa: "\f244"; +} + +.fa-arrow-pointer { + --fa: "\f245"; +} + +.fa-mouse-pointer { + --fa: "\f245"; +} + +.fa-i-cursor { + --fa: "\f246"; +} + +.fa-object-group { + --fa: "\f247"; +} + +.fa-object-ungroup { + --fa: "\f248"; +} + +.fa-note-sticky { + --fa: "\f249"; +} + +.fa-sticky-note { + --fa: "\f249"; +} + +.fa-clone { + --fa: "\f24d"; +} + +.fa-scale-balanced { + --fa: "\f24e"; +} + +.fa-balance-scale { + --fa: "\f24e"; +} + +.fa-hourglass-start { + --fa: "\f251"; +} + +.fa-hourglass-1 { + --fa: "\f251"; +} + +.fa-hourglass-half { + --fa: "\f252"; +} + +.fa-hourglass-2 { + --fa: "\f252"; +} + +.fa-hourglass-end { + --fa: "\f253"; +} + +.fa-hourglass-3 { + --fa: "\f253"; +} + +.fa-hourglass { + --fa: "\f254"; +} + +.fa-hourglass-empty { + --fa: "\f254"; +} + +.fa-hand-back-fist { + --fa: "\f255"; +} + +.fa-hand-rock { + --fa: "\f255"; +} + +.fa-hand { + --fa: "\f256"; +} + +.fa-hand-paper { + --fa: "\f256"; +} + +.fa-hand-scissors { + --fa: "\f257"; +} + +.fa-hand-lizard { + --fa: "\f258"; +} + +.fa-hand-spock { + --fa: "\f259"; +} + +.fa-hand-pointer { + --fa: "\f25a"; +} + +.fa-hand-peace { + --fa: "\f25b"; +} + +.fa-trademark { + --fa: "\f25c"; +} + +.fa-registered { + --fa: "\f25d"; +} + +.fa-tv { + --fa: "\f26c"; +} + +.fa-television { + --fa: "\f26c"; +} + +.fa-tv-alt { + --fa: "\f26c"; +} + +.fa-calendar-plus { + --fa: "\f271"; +} + +.fa-calendar-minus { + --fa: "\f272"; +} + +.fa-calendar-xmark { + --fa: "\f273"; +} + +.fa-calendar-times { + --fa: "\f273"; +} + +.fa-calendar-check { + --fa: "\f274"; +} + +.fa-industry { + --fa: "\f275"; +} + +.fa-map-pin { + --fa: "\f276"; +} + +.fa-signs-post { + --fa: "\f277"; +} + +.fa-map-signs { + --fa: "\f277"; +} + +.fa-map { + --fa: "\f279"; +} + +.fa-message { + --fa: "\f27a"; +} + +.fa-comment-alt { + --fa: "\f27a"; +} + +.fa-circle-pause { + --fa: "\f28b"; +} + +.fa-pause-circle { + --fa: "\f28b"; +} + +.fa-circle-stop { + --fa: "\f28d"; +} + +.fa-stop-circle { + --fa: "\f28d"; +} + +.fa-bag-shopping { + --fa: "\f290"; +} + +.fa-shopping-bag { + --fa: "\f290"; +} + +.fa-basket-shopping { + --fa: "\f291"; +} + +.fa-shopping-basket { + --fa: "\f291"; +} + +.fa-universal-access { + --fa: "\f29a"; +} + +.fa-person-walking-with-cane { + --fa: "\f29d"; +} + +.fa-blind { + --fa: "\f29d"; +} + +.fa-audio-description { + --fa: "\f29e"; +} + +.fa-phone-volume { + --fa: "\f2a0"; +} + +.fa-volume-control-phone { + --fa: "\f2a0"; +} + +.fa-braille { + --fa: "\f2a1"; +} + +.fa-ear-listen { + --fa: "\f2a2"; +} + +.fa-assistive-listening-systems { + --fa: "\f2a2"; +} + +.fa-hands-asl-interpreting { + --fa: "\f2a3"; +} + +.fa-american-sign-language-interpreting { + --fa: "\f2a3"; +} + +.fa-asl-interpreting { + --fa: "\f2a3"; +} + +.fa-hands-american-sign-language-interpreting { + --fa: "\f2a3"; +} + +.fa-ear-deaf { + --fa: "\f2a4"; +} + +.fa-deaf { + --fa: "\f2a4"; +} + +.fa-deafness { + --fa: "\f2a4"; +} + +.fa-hard-of-hearing { + --fa: "\f2a4"; +} + +.fa-hands { + --fa: "\f2a7"; +} + +.fa-sign-language { + --fa: "\f2a7"; +} + +.fa-signing { + --fa: "\f2a7"; +} + +.fa-eye-low-vision { + --fa: "\f2a8"; +} + +.fa-low-vision { + --fa: "\f2a8"; +} + +.fa-font-awesome { + --fa: "\f2b4"; +} + +.fa-font-awesome-flag { + --fa: "\f2b4"; +} + +.fa-font-awesome-logo-full { + --fa: "\f2b4"; +} + +.fa-handshake { + --fa: "\f2b5"; +} + +.fa-handshake-alt { + --fa: "\f2b5"; +} + +.fa-handshake-simple { + --fa: "\f2b5"; +} + +.fa-envelope-open { + --fa: "\f2b6"; +} + +.fa-address-book { + --fa: "\f2b9"; +} + +.fa-contact-book { + --fa: "\f2b9"; +} + +.fa-address-card { + --fa: "\f2bb"; +} + +.fa-contact-card { + --fa: "\f2bb"; +} + +.fa-vcard { + --fa: "\f2bb"; +} + +.fa-circle-user { + --fa: "\f2bd"; +} + +.fa-user-circle { + --fa: "\f2bd"; +} + +.fa-id-badge { + --fa: "\f2c1"; +} + +.fa-id-card { + --fa: "\f2c2"; +} + +.fa-drivers-license { + --fa: "\f2c2"; +} + +.fa-temperature-full { + --fa: "\f2c7"; +} + +.fa-temperature-4 { + --fa: "\f2c7"; +} + +.fa-thermometer-4 { + --fa: "\f2c7"; +} + +.fa-thermometer-full { + --fa: "\f2c7"; +} + +.fa-temperature-three-quarters { + --fa: "\f2c8"; +} + +.fa-temperature-3 { + --fa: "\f2c8"; +} + +.fa-thermometer-3 { + --fa: "\f2c8"; +} + +.fa-thermometer-three-quarters { + --fa: "\f2c8"; +} + +.fa-temperature-half { + --fa: "\f2c9"; +} + +.fa-temperature-2 { + --fa: "\f2c9"; +} + +.fa-thermometer-2 { + --fa: "\f2c9"; +} + +.fa-thermometer-half { + --fa: "\f2c9"; +} + +.fa-temperature-quarter { + --fa: "\f2ca"; +} + +.fa-temperature-1 { + --fa: "\f2ca"; +} + +.fa-thermometer-1 { + --fa: "\f2ca"; +} + +.fa-thermometer-quarter { + --fa: "\f2ca"; +} + +.fa-temperature-empty { + --fa: "\f2cb"; +} + +.fa-temperature-0 { + --fa: "\f2cb"; +} + +.fa-thermometer-0 { + --fa: "\f2cb"; +} + +.fa-thermometer-empty { + --fa: "\f2cb"; +} + +.fa-shower { + --fa: "\f2cc"; +} + +.fa-bath { + --fa: "\f2cd"; +} + +.fa-bathtub { + --fa: "\f2cd"; +} + +.fa-podcast { + --fa: "\f2ce"; +} + +.fa-window-maximize { + --fa: "\f2d0"; +} + +.fa-window-minimize { + --fa: "\f2d1"; +} + +.fa-window-restore { + --fa: "\f2d2"; +} + +.fa-square-xmark { + --fa: "\f2d3"; +} + +.fa-times-square { + --fa: "\f2d3"; +} + +.fa-xmark-square { + --fa: "\f2d3"; +} + +.fa-microchip { + --fa: "\f2db"; +} + +.fa-snowflake { + --fa: "\f2dc"; +} + +.fa-spoon { + --fa: "\f2e5"; +} + +.fa-utensil-spoon { + --fa: "\f2e5"; +} + +.fa-utensils { + --fa: "\f2e7"; +} + +.fa-cutlery { + --fa: "\f2e7"; +} + +.fa-rotate-left { + --fa: "\f2ea"; +} + +.fa-rotate-back { + --fa: "\f2ea"; +} + +.fa-rotate-backward { + --fa: "\f2ea"; +} + +.fa-undo-alt { + --fa: "\f2ea"; +} + +.fa-trash-can { + --fa: "\f2ed"; +} + +.fa-trash-alt { + --fa: "\f2ed"; +} + +.fa-rotate { + --fa: "\f2f1"; +} + +.fa-sync-alt { + --fa: "\f2f1"; +} + +.fa-stopwatch { + --fa: "\f2f2"; +} + +.fa-right-from-bracket { + --fa: "\f2f5"; +} + +.fa-sign-out-alt { + --fa: "\f2f5"; +} + +.fa-right-to-bracket { + --fa: "\f2f6"; +} + +.fa-sign-in-alt { + --fa: "\f2f6"; +} + +.fa-rotate-right { + --fa: "\f2f9"; +} + +.fa-redo-alt { + --fa: "\f2f9"; +} + +.fa-rotate-forward { + --fa: "\f2f9"; +} + +.fa-poo { + --fa: "\f2fe"; +} + +.fa-images { + --fa: "\f302"; +} + +.fa-pencil { + --fa: "\f303"; +} + +.fa-pencil-alt { + --fa: "\f303"; +} + +.fa-pen { + --fa: "\f304"; +} + +.fa-pen-clip { + --fa: "\f305"; +} + +.fa-pen-alt { + --fa: "\f305"; +} + +.fa-octagon { + --fa: "\f306"; +} + +.fa-down-long { + --fa: "\f309"; +} + +.fa-long-arrow-alt-down { + --fa: "\f309"; +} + +.fa-left-long { + --fa: "\f30a"; +} + +.fa-long-arrow-alt-left { + --fa: "\f30a"; +} + +.fa-right-long { + --fa: "\f30b"; +} + +.fa-long-arrow-alt-right { + --fa: "\f30b"; +} + +.fa-up-long { + --fa: "\f30c"; +} + +.fa-long-arrow-alt-up { + --fa: "\f30c"; +} + +.fa-hexagon { + --fa: "\f312"; +} + +.fa-file-pen { + --fa: "\f31c"; +} + +.fa-file-edit { + --fa: "\f31c"; +} + +.fa-maximize { + --fa: "\f31e"; +} + +.fa-expand-arrows-alt { + --fa: "\f31e"; +} + +.fa-clipboard { + --fa: "\f328"; +} + +.fa-left-right { + --fa: "\f337"; +} + +.fa-arrows-alt-h { + --fa: "\f337"; +} + +.fa-up-down { + --fa: "\f338"; +} + +.fa-arrows-alt-v { + --fa: "\f338"; +} + +.fa-alarm-clock { + --fa: "\f34e"; +} + +.fa-circle-down { + --fa: "\f358"; +} + +.fa-arrow-alt-circle-down { + --fa: "\f358"; +} + +.fa-circle-left { + --fa: "\f359"; +} + +.fa-arrow-alt-circle-left { + --fa: "\f359"; +} + +.fa-circle-right { + --fa: "\f35a"; +} + +.fa-arrow-alt-circle-right { + --fa: "\f35a"; +} + +.fa-circle-up { + --fa: "\f35b"; +} + +.fa-arrow-alt-circle-up { + --fa: "\f35b"; +} + +.fa-up-right-from-square { + --fa: "\f35d"; +} + +.fa-external-link-alt { + --fa: "\f35d"; +} + +.fa-square-up-right { + --fa: "\f360"; +} + +.fa-external-link-square-alt { + --fa: "\f360"; +} + +.fa-right-left { + --fa: "\f362"; +} + +.fa-exchange-alt { + --fa: "\f362"; +} + +.fa-repeat { + --fa: "\f363"; +} + +.fa-code-commit { + --fa: "\f386"; +} + +.fa-code-merge { + --fa: "\f387"; +} + +.fa-desktop { + --fa: "\f390"; +} + +.fa-desktop-alt { + --fa: "\f390"; +} + +.fa-gem { + --fa: "\f3a5"; +} + +.fa-turn-down { + --fa: "\f3be"; +} + +.fa-level-down-alt { + --fa: "\f3be"; +} + +.fa-turn-up { + --fa: "\f3bf"; +} + +.fa-level-up-alt { + --fa: "\f3bf"; +} + +.fa-lock-open { + --fa: "\f3c1"; +} + +.fa-location-dot { + --fa: "\f3c5"; +} + +.fa-map-marker-alt { + --fa: "\f3c5"; +} + +.fa-microphone-lines { + --fa: "\f3c9"; +} + +.fa-microphone-alt { + --fa: "\f3c9"; +} + +.fa-mobile-screen-button { + --fa: "\f3cd"; +} + +.fa-mobile-alt { + --fa: "\f3cd"; +} + +.fa-mobile { + --fa: "\f3ce"; +} + +.fa-mobile-android { + --fa: "\f3ce"; +} + +.fa-mobile-phone { + --fa: "\f3ce"; +} + +.fa-mobile-screen { + --fa: "\f3cf"; +} + +.fa-mobile-android-alt { + --fa: "\f3cf"; +} + +.fa-money-bill-1 { + --fa: "\f3d1"; +} + +.fa-money-bill-alt { + --fa: "\f3d1"; +} + +.fa-phone-slash { + --fa: "\f3dd"; +} + +.fa-image-portrait { + --fa: "\f3e0"; +} + +.fa-portrait { + --fa: "\f3e0"; +} + +.fa-reply { + --fa: "\f3e5"; +} + +.fa-mail-reply { + --fa: "\f3e5"; +} + +.fa-shield-halved { + --fa: "\f3ed"; +} + +.fa-shield-alt { + --fa: "\f3ed"; +} + +.fa-tablet-screen-button { + --fa: "\f3fa"; +} + +.fa-tablet-alt { + --fa: "\f3fa"; +} + +.fa-tablet { + --fa: "\f3fb"; +} + +.fa-tablet-android { + --fa: "\f3fb"; +} + +.fa-ticket-simple { + --fa: "\f3ff"; +} + +.fa-ticket-alt { + --fa: "\f3ff"; +} + +.fa-rectangle-xmark { + --fa: "\f410"; +} + +.fa-rectangle-times { + --fa: "\f410"; +} + +.fa-times-rectangle { + --fa: "\f410"; +} + +.fa-window-close { + --fa: "\f410"; +} + +.fa-down-left-and-up-right-to-center { + --fa: "\f422"; +} + +.fa-compress-alt { + --fa: "\f422"; +} + +.fa-up-right-and-down-left-from-center { + --fa: "\f424"; +} + +.fa-expand-alt { + --fa: "\f424"; +} + +.fa-baseball-bat-ball { + --fa: "\f432"; +} + +.fa-baseball { + --fa: "\f433"; +} + +.fa-baseball-ball { + --fa: "\f433"; +} + +.fa-basketball { + --fa: "\f434"; +} + +.fa-basketball-ball { + --fa: "\f434"; +} + +.fa-bowling-ball { + --fa: "\f436"; +} + +.fa-chess { + --fa: "\f439"; +} + +.fa-chess-bishop { + --fa: "\f43a"; +} + +.fa-chess-board { + --fa: "\f43c"; +} + +.fa-chess-king { + --fa: "\f43f"; +} + +.fa-chess-knight { + --fa: "\f441"; +} + +.fa-chess-pawn { + --fa: "\f443"; +} + +.fa-chess-queen { + --fa: "\f445"; +} + +.fa-chess-rook { + --fa: "\f447"; +} + +.fa-dumbbell { + --fa: "\f44b"; +} + +.fa-football { + --fa: "\f44e"; +} + +.fa-football-ball { + --fa: "\f44e"; +} + +.fa-golf-ball-tee { + --fa: "\f450"; +} + +.fa-golf-ball { + --fa: "\f450"; +} + +.fa-hockey-puck { + --fa: "\f453"; +} + +.fa-broom-ball { + --fa: "\f458"; +} + +.fa-quidditch { + --fa: "\f458"; +} + +.fa-quidditch-broom-ball { + --fa: "\f458"; +} + +.fa-square-full { + --fa: "\f45c"; +} + +.fa-table-tennis-paddle-ball { + --fa: "\f45d"; +} + +.fa-ping-pong-paddle-ball { + --fa: "\f45d"; +} + +.fa-table-tennis { + --fa: "\f45d"; +} + +.fa-volleyball { + --fa: "\f45f"; +} + +.fa-volleyball-ball { + --fa: "\f45f"; +} + +.fa-hand-dots { + --fa: "\f461"; +} + +.fa-allergies { + --fa: "\f461"; +} + +.fa-bandage { + --fa: "\f462"; +} + +.fa-band-aid { + --fa: "\f462"; +} + +.fa-box { + --fa: "\f466"; +} + +.fa-boxes-stacked { + --fa: "\f468"; +} + +.fa-boxes { + --fa: "\f468"; +} + +.fa-boxes-alt { + --fa: "\f468"; +} + +.fa-briefcase-medical { + --fa: "\f469"; +} + +.fa-fire-flame-simple { + --fa: "\f46a"; +} + +.fa-burn { + --fa: "\f46a"; +} + +.fa-capsules { + --fa: "\f46b"; +} + +.fa-clipboard-check { + --fa: "\f46c"; +} + +.fa-clipboard-list { + --fa: "\f46d"; +} + +.fa-person-dots-from-line { + --fa: "\f470"; +} + +.fa-diagnoses { + --fa: "\f470"; +} + +.fa-dna { + --fa: "\f471"; +} + +.fa-dolly { + --fa: "\f472"; +} + +.fa-dolly-box { + --fa: "\f472"; +} + +.fa-cart-flatbed { + --fa: "\f474"; +} + +.fa-dolly-flatbed { + --fa: "\f474"; +} + +.fa-file-medical { + --fa: "\f477"; +} + +.fa-file-waveform { + --fa: "\f478"; +} + +.fa-file-medical-alt { + --fa: "\f478"; +} + +.fa-kit-medical { + --fa: "\f479"; +} + +.fa-first-aid { + --fa: "\f479"; +} + +.fa-circle-h { + --fa: "\f47e"; +} + +.fa-hospital-symbol { + --fa: "\f47e"; +} + +.fa-id-card-clip { + --fa: "\f47f"; +} + +.fa-id-card-alt { + --fa: "\f47f"; +} + +.fa-notes-medical { + --fa: "\f481"; +} + +.fa-pallet { + --fa: "\f482"; +} + +.fa-pills { + --fa: "\f484"; +} + +.fa-prescription-bottle { + --fa: "\f485"; +} + +.fa-prescription-bottle-medical { + --fa: "\f486"; +} + +.fa-prescription-bottle-alt { + --fa: "\f486"; +} + +.fa-bed-pulse { + --fa: "\f487"; +} + +.fa-procedures { + --fa: "\f487"; +} + +.fa-truck-fast { + --fa: "\f48b"; +} + +.fa-shipping-fast { + --fa: "\f48b"; +} + +.fa-smoking { + --fa: "\f48d"; +} + +.fa-syringe { + --fa: "\f48e"; +} + +.fa-tablets { + --fa: "\f490"; +} + +.fa-thermometer { + --fa: "\f491"; +} + +.fa-vial { + --fa: "\f492"; +} + +.fa-vials { + --fa: "\f493"; +} + +.fa-warehouse { + --fa: "\f494"; +} + +.fa-weight-scale { + --fa: "\f496"; +} + +.fa-weight { + --fa: "\f496"; +} + +.fa-x-ray { + --fa: "\f497"; +} + +.fa-box-open { + --fa: "\f49e"; +} + +.fa-comment-dots { + --fa: "\f4ad"; +} + +.fa-commenting { + --fa: "\f4ad"; +} + +.fa-comment-slash { + --fa: "\f4b3"; +} + +.fa-couch { + --fa: "\f4b8"; +} + +.fa-circle-dollar-to-slot { + --fa: "\f4b9"; +} + +.fa-donate { + --fa: "\f4b9"; +} + +.fa-dove { + --fa: "\f4ba"; +} + +.fa-hand-holding { + --fa: "\f4bd"; +} + +.fa-hand-holding-heart { + --fa: "\f4be"; +} + +.fa-hand-holding-dollar { + --fa: "\f4c0"; +} + +.fa-hand-holding-usd { + --fa: "\f4c0"; +} + +.fa-hand-holding-droplet { + --fa: "\f4c1"; +} + +.fa-hand-holding-water { + --fa: "\f4c1"; +} + +.fa-hands-holding { + --fa: "\f4c2"; +} + +.fa-handshake-angle { + --fa: "\f4c4"; +} + +.fa-hands-helping { + --fa: "\f4c4"; +} + +.fa-parachute-box { + --fa: "\f4cd"; +} + +.fa-people-carry-box { + --fa: "\f4ce"; +} + +.fa-people-carry { + --fa: "\f4ce"; +} + +.fa-piggy-bank { + --fa: "\f4d3"; +} + +.fa-ribbon { + --fa: "\f4d6"; +} + +.fa-route { + --fa: "\f4d7"; +} + +.fa-seedling { + --fa: "\f4d8"; +} + +.fa-sprout { + --fa: "\f4d8"; +} + +.fa-sign-hanging { + --fa: "\f4d9"; +} + +.fa-sign { + --fa: "\f4d9"; +} + +.fa-face-smile-wink { + --fa: "\f4da"; +} + +.fa-smile-wink { + --fa: "\f4da"; +} + +.fa-tape { + --fa: "\f4db"; +} + +.fa-truck-ramp-box { + --fa: "\f4de"; +} + +.fa-truck-loading { + --fa: "\f4de"; +} + +.fa-truck-moving { + --fa: "\f4df"; +} + +.fa-video-slash { + --fa: "\f4e2"; +} + +.fa-wine-glass { + --fa: "\f4e3"; +} + +.fa-user-astronaut { + --fa: "\f4fb"; +} + +.fa-user-check { + --fa: "\f4fc"; +} + +.fa-user-clock { + --fa: "\f4fd"; +} + +.fa-user-gear { + --fa: "\f4fe"; +} + +.fa-user-cog { + --fa: "\f4fe"; +} + +.fa-user-pen { + --fa: "\f4ff"; +} + +.fa-user-edit { + --fa: "\f4ff"; +} + +.fa-user-group { + --fa: "\f500"; +} + +.fa-user-friends { + --fa: "\f500"; +} + +.fa-user-graduate { + --fa: "\f501"; +} + +.fa-user-lock { + --fa: "\f502"; +} + +.fa-user-minus { + --fa: "\f503"; +} + +.fa-user-ninja { + --fa: "\f504"; +} + +.fa-user-shield { + --fa: "\f505"; +} + +.fa-user-slash { + --fa: "\f506"; +} + +.fa-user-alt-slash { + --fa: "\f506"; +} + +.fa-user-large-slash { + --fa: "\f506"; +} + +.fa-user-tag { + --fa: "\f507"; +} + +.fa-user-tie { + --fa: "\f508"; +} + +.fa-users-gear { + --fa: "\f509"; +} + +.fa-users-cog { + --fa: "\f509"; +} + +.fa-scale-unbalanced { + --fa: "\f515"; +} + +.fa-balance-scale-left { + --fa: "\f515"; +} + +.fa-scale-unbalanced-flip { + --fa: "\f516"; +} + +.fa-balance-scale-right { + --fa: "\f516"; +} + +.fa-blender { + --fa: "\f517"; +} + +.fa-book-open { + --fa: "\f518"; +} + +.fa-tower-broadcast { + --fa: "\f519"; +} + +.fa-broadcast-tower { + --fa: "\f519"; +} + +.fa-broom { + --fa: "\f51a"; +} + +.fa-chalkboard { + --fa: "\f51b"; +} + +.fa-blackboard { + --fa: "\f51b"; +} + +.fa-chalkboard-user { + --fa: "\f51c"; +} + +.fa-chalkboard-teacher { + --fa: "\f51c"; +} + +.fa-church { + --fa: "\f51d"; +} + +.fa-coins { + --fa: "\f51e"; +} + +.fa-compact-disc { + --fa: "\f51f"; +} + +.fa-crow { + --fa: "\f520"; +} + +.fa-crown { + --fa: "\f521"; +} + +.fa-dice { + --fa: "\f522"; +} + +.fa-dice-five { + --fa: "\f523"; +} + +.fa-dice-four { + --fa: "\f524"; +} + +.fa-dice-one { + --fa: "\f525"; +} + +.fa-dice-six { + --fa: "\f526"; +} + +.fa-dice-three { + --fa: "\f527"; +} + +.fa-dice-two { + --fa: "\f528"; +} + +.fa-divide { + --fa: "\f529"; +} + +.fa-door-closed { + --fa: "\f52a"; +} + +.fa-door-open { + --fa: "\f52b"; +} + +.fa-feather { + --fa: "\f52d"; +} + +.fa-frog { + --fa: "\f52e"; +} + +.fa-gas-pump { + --fa: "\f52f"; +} + +.fa-glasses { + --fa: "\f530"; +} + +.fa-greater-than-equal { + --fa: "\f532"; +} + +.fa-helicopter { + --fa: "\f533"; +} + +.fa-infinity { + --fa: "\f534"; +} + +.fa-kiwi-bird { + --fa: "\f535"; +} + +.fa-less-than-equal { + --fa: "\f537"; +} + +.fa-memory { + --fa: "\f538"; +} + +.fa-microphone-lines-slash { + --fa: "\f539"; +} + +.fa-microphone-alt-slash { + --fa: "\f539"; +} + +.fa-money-bill-wave { + --fa: "\f53a"; +} + +.fa-money-bill-1-wave { + --fa: "\f53b"; +} + +.fa-money-bill-wave-alt { + --fa: "\f53b"; +} + +.fa-money-check { + --fa: "\f53c"; +} + +.fa-money-check-dollar { + --fa: "\f53d"; +} + +.fa-money-check-alt { + --fa: "\f53d"; +} + +.fa-not-equal { + --fa: "\f53e"; +} + +.fa-palette { + --fa: "\f53f"; +} + +.fa-square-parking { + --fa: "\f540"; +} + +.fa-parking { + --fa: "\f540"; +} + +.fa-diagram-project { + --fa: "\f542"; +} + +.fa-project-diagram { + --fa: "\f542"; +} + +.fa-receipt { + --fa: "\f543"; +} + +.fa-robot { + --fa: "\f544"; +} + +.fa-ruler { + --fa: "\f545"; +} + +.fa-ruler-combined { + --fa: "\f546"; +} + +.fa-ruler-horizontal { + --fa: "\f547"; +} + +.fa-ruler-vertical { + --fa: "\f548"; +} + +.fa-school { + --fa: "\f549"; +} + +.fa-screwdriver { + --fa: "\f54a"; +} + +.fa-shoe-prints { + --fa: "\f54b"; +} + +.fa-skull { + --fa: "\f54c"; +} + +.fa-ban-smoking { + --fa: "\f54d"; +} + +.fa-smoking-ban { + --fa: "\f54d"; +} + +.fa-store { + --fa: "\f54e"; +} + +.fa-shop { + --fa: "\f54f"; +} + +.fa-store-alt { + --fa: "\f54f"; +} + +.fa-bars-staggered { + --fa: "\f550"; +} + +.fa-reorder { + --fa: "\f550"; +} + +.fa-stream { + --fa: "\f550"; +} + +.fa-stroopwafel { + --fa: "\f551"; +} + +.fa-toolbox { + --fa: "\f552"; +} + +.fa-shirt { + --fa: "\f553"; +} + +.fa-t-shirt { + --fa: "\f553"; +} + +.fa-tshirt { + --fa: "\f553"; +} + +.fa-person-walking { + --fa: "\f554"; +} + +.fa-walking { + --fa: "\f554"; +} + +.fa-wallet { + --fa: "\f555"; +} + +.fa-face-angry { + --fa: "\f556"; +} + +.fa-angry { + --fa: "\f556"; +} + +.fa-archway { + --fa: "\f557"; +} + +.fa-book-atlas { + --fa: "\f558"; +} + +.fa-atlas { + --fa: "\f558"; +} + +.fa-award { + --fa: "\f559"; +} + +.fa-delete-left { + --fa: "\f55a"; +} + +.fa-backspace { + --fa: "\f55a"; +} + +.fa-bezier-curve { + --fa: "\f55b"; +} + +.fa-bong { + --fa: "\f55c"; +} + +.fa-brush { + --fa: "\f55d"; +} + +.fa-bus-simple { + --fa: "\f55e"; +} + +.fa-bus-alt { + --fa: "\f55e"; +} + +.fa-cannabis { + --fa: "\f55f"; +} + +.fa-check-double { + --fa: "\f560"; +} + +.fa-martini-glass-citrus { + --fa: "\f561"; +} + +.fa-cocktail { + --fa: "\f561"; +} + +.fa-bell-concierge { + --fa: "\f562"; +} + +.fa-concierge-bell { + --fa: "\f562"; +} + +.fa-cookie { + --fa: "\f563"; +} + +.fa-cookie-bite { + --fa: "\f564"; +} + +.fa-crop-simple { + --fa: "\f565"; +} + +.fa-crop-alt { + --fa: "\f565"; +} + +.fa-tachograph-digital { + --fa: "\f566"; +} + +.fa-digital-tachograph { + --fa: "\f566"; +} + +.fa-face-dizzy { + --fa: "\f567"; +} + +.fa-dizzy { + --fa: "\f567"; +} + +.fa-compass-drafting { + --fa: "\f568"; +} + +.fa-drafting-compass { + --fa: "\f568"; +} + +.fa-drum { + --fa: "\f569"; +} + +.fa-drum-steelpan { + --fa: "\f56a"; +} + +.fa-feather-pointed { + --fa: "\f56b"; +} + +.fa-feather-alt { + --fa: "\f56b"; +} + +.fa-file-contract { + --fa: "\f56c"; +} + +.fa-file-arrow-down { + --fa: "\f56d"; +} + +.fa-file-download { + --fa: "\f56d"; +} + +.fa-file-export { + --fa: "\f56e"; +} + +.fa-arrow-right-from-file { + --fa: "\f56e"; +} + +.fa-file-import { + --fa: "\f56f"; +} + +.fa-arrow-right-to-file { + --fa: "\f56f"; +} + +.fa-file-invoice { + --fa: "\f570"; +} + +.fa-file-invoice-dollar { + --fa: "\f571"; +} + +.fa-file-prescription { + --fa: "\f572"; +} + +.fa-file-signature { + --fa: "\f573"; +} + +.fa-file-arrow-up { + --fa: "\f574"; +} + +.fa-file-upload { + --fa: "\f574"; +} + +.fa-fill { + --fa: "\f575"; +} + +.fa-fill-drip { + --fa: "\f576"; +} + +.fa-fingerprint { + --fa: "\f577"; +} + +.fa-fish { + --fa: "\f578"; +} + +.fa-face-flushed { + --fa: "\f579"; +} + +.fa-flushed { + --fa: "\f579"; +} + +.fa-face-frown-open { + --fa: "\f57a"; +} + +.fa-frown-open { + --fa: "\f57a"; +} + +.fa-martini-glass { + --fa: "\f57b"; +} + +.fa-glass-martini-alt { + --fa: "\f57b"; +} + +.fa-earth-africa { + --fa: "\f57c"; +} + +.fa-globe-africa { + --fa: "\f57c"; +} + +.fa-earth-americas { + --fa: "\f57d"; +} + +.fa-earth { + --fa: "\f57d"; +} + +.fa-earth-america { + --fa: "\f57d"; +} + +.fa-globe-americas { + --fa: "\f57d"; +} + +.fa-earth-asia { + --fa: "\f57e"; +} + +.fa-globe-asia { + --fa: "\f57e"; +} + +.fa-face-grimace { + --fa: "\f57f"; +} + +.fa-grimace { + --fa: "\f57f"; +} + +.fa-face-grin { + --fa: "\f580"; +} + +.fa-grin { + --fa: "\f580"; +} + +.fa-face-grin-wide { + --fa: "\f581"; +} + +.fa-grin-alt { + --fa: "\f581"; +} + +.fa-face-grin-beam { + --fa: "\f582"; +} + +.fa-grin-beam { + --fa: "\f582"; +} + +.fa-face-grin-beam-sweat { + --fa: "\f583"; +} + +.fa-grin-beam-sweat { + --fa: "\f583"; +} + +.fa-face-grin-hearts { + --fa: "\f584"; +} + +.fa-grin-hearts { + --fa: "\f584"; +} + +.fa-face-grin-squint { + --fa: "\f585"; +} + +.fa-grin-squint { + --fa: "\f585"; +} + +.fa-face-grin-squint-tears { + --fa: "\f586"; +} + +.fa-grin-squint-tears { + --fa: "\f586"; +} + +.fa-face-grin-stars { + --fa: "\f587"; +} + +.fa-grin-stars { + --fa: "\f587"; +} + +.fa-face-grin-tears { + --fa: "\f588"; +} + +.fa-grin-tears { + --fa: "\f588"; +} + +.fa-face-grin-tongue { + --fa: "\f589"; +} + +.fa-grin-tongue { + --fa: "\f589"; +} + +.fa-face-grin-tongue-squint { + --fa: "\f58a"; +} + +.fa-grin-tongue-squint { + --fa: "\f58a"; +} + +.fa-face-grin-tongue-wink { + --fa: "\f58b"; +} + +.fa-grin-tongue-wink { + --fa: "\f58b"; +} + +.fa-face-grin-wink { + --fa: "\f58c"; +} + +.fa-grin-wink { + --fa: "\f58c"; +} + +.fa-grip { + --fa: "\f58d"; +} + +.fa-grid-horizontal { + --fa: "\f58d"; +} + +.fa-grip-horizontal { + --fa: "\f58d"; +} + +.fa-grip-vertical { + --fa: "\f58e"; +} + +.fa-grid-vertical { + --fa: "\f58e"; +} + +.fa-headset { + --fa: "\f590"; +} + +.fa-highlighter { + --fa: "\f591"; +} + +.fa-hot-tub-person { + --fa: "\f593"; +} + +.fa-hot-tub { + --fa: "\f593"; +} + +.fa-hotel { + --fa: "\f594"; +} + +.fa-joint { + --fa: "\f595"; +} + +.fa-face-kiss { + --fa: "\f596"; +} + +.fa-kiss { + --fa: "\f596"; +} + +.fa-face-kiss-beam { + --fa: "\f597"; +} + +.fa-kiss-beam { + --fa: "\f597"; +} + +.fa-face-kiss-wink-heart { + --fa: "\f598"; +} + +.fa-kiss-wink-heart { + --fa: "\f598"; +} + +.fa-face-laugh { + --fa: "\f599"; +} + +.fa-laugh { + --fa: "\f599"; +} + +.fa-face-laugh-beam { + --fa: "\f59a"; +} + +.fa-laugh-beam { + --fa: "\f59a"; +} + +.fa-face-laugh-squint { + --fa: "\f59b"; +} + +.fa-laugh-squint { + --fa: "\f59b"; +} + +.fa-face-laugh-wink { + --fa: "\f59c"; +} + +.fa-laugh-wink { + --fa: "\f59c"; +} + +.fa-cart-flatbed-suitcase { + --fa: "\f59d"; +} + +.fa-luggage-cart { + --fa: "\f59d"; +} + +.fa-map-location { + --fa: "\f59f"; +} + +.fa-map-marked { + --fa: "\f59f"; +} + +.fa-map-location-dot { + --fa: "\f5a0"; +} + +.fa-map-marked-alt { + --fa: "\f5a0"; +} + +.fa-marker { + --fa: "\f5a1"; +} + +.fa-medal { + --fa: "\f5a2"; +} + +.fa-face-meh-blank { + --fa: "\f5a4"; +} + +.fa-meh-blank { + --fa: "\f5a4"; +} + +.fa-face-rolling-eyes { + --fa: "\f5a5"; +} + +.fa-meh-rolling-eyes { + --fa: "\f5a5"; +} + +.fa-monument { + --fa: "\f5a6"; +} + +.fa-mortar-pestle { + --fa: "\f5a7"; +} + +.fa-paint-roller { + --fa: "\f5aa"; +} + +.fa-passport { + --fa: "\f5ab"; +} + +.fa-pen-fancy { + --fa: "\f5ac"; +} + +.fa-pen-nib { + --fa: "\f5ad"; +} + +.fa-pen-ruler { + --fa: "\f5ae"; +} + +.fa-pencil-ruler { + --fa: "\f5ae"; +} + +.fa-plane-arrival { + --fa: "\f5af"; +} + +.fa-plane-departure { + --fa: "\f5b0"; +} + +.fa-prescription { + --fa: "\f5b1"; +} + +.fa-face-sad-cry { + --fa: "\f5b3"; +} + +.fa-sad-cry { + --fa: "\f5b3"; +} + +.fa-face-sad-tear { + --fa: "\f5b4"; +} + +.fa-sad-tear { + --fa: "\f5b4"; +} + +.fa-van-shuttle { + --fa: "\f5b6"; +} + +.fa-shuttle-van { + --fa: "\f5b6"; +} + +.fa-signature { + --fa: "\f5b7"; +} + +.fa-face-smile-beam { + --fa: "\f5b8"; +} + +.fa-smile-beam { + --fa: "\f5b8"; +} + +.fa-solar-panel { + --fa: "\f5ba"; +} + +.fa-spa { + --fa: "\f5bb"; +} + +.fa-splotch { + --fa: "\f5bc"; +} + +.fa-spray-can { + --fa: "\f5bd"; +} + +.fa-stamp { + --fa: "\f5bf"; +} + +.fa-star-half-stroke { + --fa: "\f5c0"; +} + +.fa-star-half-alt { + --fa: "\f5c0"; +} + +.fa-suitcase-rolling { + --fa: "\f5c1"; +} + +.fa-face-surprise { + --fa: "\f5c2"; +} + +.fa-surprise { + --fa: "\f5c2"; +} + +.fa-swatchbook { + --fa: "\f5c3"; +} + +.fa-person-swimming { + --fa: "\f5c4"; +} + +.fa-swimmer { + --fa: "\f5c4"; +} + +.fa-water-ladder { + --fa: "\f5c5"; +} + +.fa-ladder-water { + --fa: "\f5c5"; +} + +.fa-swimming-pool { + --fa: "\f5c5"; +} + +.fa-droplet-slash { + --fa: "\f5c7"; +} + +.fa-tint-slash { + --fa: "\f5c7"; +} + +.fa-face-tired { + --fa: "\f5c8"; +} + +.fa-tired { + --fa: "\f5c8"; +} + +.fa-tooth { + --fa: "\f5c9"; +} + +.fa-umbrella-beach { + --fa: "\f5ca"; +} + +.fa-weight-hanging { + --fa: "\f5cd"; +} + +.fa-wine-glass-empty { + --fa: "\f5ce"; +} + +.fa-wine-glass-alt { + --fa: "\f5ce"; +} + +.fa-spray-can-sparkles { + --fa: "\f5d0"; +} + +.fa-air-freshener { + --fa: "\f5d0"; +} + +.fa-apple-whole { + --fa: "\f5d1"; +} + +.fa-apple-alt { + --fa: "\f5d1"; +} + +.fa-atom { + --fa: "\f5d2"; +} + +.fa-bone { + --fa: "\f5d7"; +} + +.fa-book-open-reader { + --fa: "\f5da"; +} + +.fa-book-reader { + --fa: "\f5da"; +} + +.fa-brain { + --fa: "\f5dc"; +} + +.fa-car-rear { + --fa: "\f5de"; +} + +.fa-car-alt { + --fa: "\f5de"; +} + +.fa-car-battery { + --fa: "\f5df"; +} + +.fa-battery-car { + --fa: "\f5df"; +} + +.fa-car-burst { + --fa: "\f5e1"; +} + +.fa-car-crash { + --fa: "\f5e1"; +} + +.fa-car-side { + --fa: "\f5e4"; +} + +.fa-charging-station { + --fa: "\f5e7"; +} + +.fa-diamond-turn-right { + --fa: "\f5eb"; +} + +.fa-directions { + --fa: "\f5eb"; +} + +.fa-draw-polygon { + --fa: "\f5ee"; +} + +.fa-vector-polygon { + --fa: "\f5ee"; +} + +.fa-laptop-code { + --fa: "\f5fc"; +} + +.fa-layer-group { + --fa: "\f5fd"; +} + +.fa-location-crosshairs { + --fa: "\f601"; +} + +.fa-location { + --fa: "\f601"; +} + +.fa-lungs { + --fa: "\f604"; +} + +.fa-microscope { + --fa: "\f610"; +} + +.fa-oil-can { + --fa: "\f613"; +} + +.fa-poop { + --fa: "\f619"; +} + +.fa-shapes { + --fa: "\f61f"; +} + +.fa-triangle-circle-square { + --fa: "\f61f"; +} + +.fa-star-of-life { + --fa: "\f621"; +} + +.fa-gauge { + --fa: "\f624"; +} + +.fa-dashboard { + --fa: "\f624"; +} + +.fa-gauge-med { + --fa: "\f624"; +} + +.fa-tachometer-alt-average { + --fa: "\f624"; +} + +.fa-gauge-high { + --fa: "\f625"; +} + +.fa-tachometer-alt { + --fa: "\f625"; +} + +.fa-tachometer-alt-fast { + --fa: "\f625"; +} + +.fa-gauge-simple { + --fa: "\f629"; +} + +.fa-gauge-simple-med { + --fa: "\f629"; +} + +.fa-tachometer-average { + --fa: "\f629"; +} + +.fa-gauge-simple-high { + --fa: "\f62a"; +} + +.fa-tachometer { + --fa: "\f62a"; +} + +.fa-tachometer-fast { + --fa: "\f62a"; +} + +.fa-teeth { + --fa: "\f62e"; +} + +.fa-teeth-open { + --fa: "\f62f"; +} + +.fa-masks-theater { + --fa: "\f630"; +} + +.fa-theater-masks { + --fa: "\f630"; +} + +.fa-traffic-light { + --fa: "\f637"; +} + +.fa-truck-monster { + --fa: "\f63b"; +} + +.fa-truck-pickup { + --fa: "\f63c"; +} + +.fa-rectangle-ad { + --fa: "\f641"; +} + +.fa-ad { + --fa: "\f641"; +} + +.fa-ankh { + --fa: "\f644"; +} + +.fa-book-bible { + --fa: "\f647"; +} + +.fa-bible { + --fa: "\f647"; +} + +.fa-business-time { + --fa: "\f64a"; +} + +.fa-briefcase-clock { + --fa: "\f64a"; +} + +.fa-city { + --fa: "\f64f"; +} + +.fa-comment-dollar { + --fa: "\f651"; +} + +.fa-comments-dollar { + --fa: "\f653"; +} + +.fa-cross { + --fa: "\f654"; +} + +.fa-dharmachakra { + --fa: "\f655"; +} + +.fa-envelope-open-text { + --fa: "\f658"; +} + +.fa-folder-minus { + --fa: "\f65d"; +} + +.fa-folder-plus { + --fa: "\f65e"; +} + +.fa-filter-circle-dollar { + --fa: "\f662"; +} + +.fa-funnel-dollar { + --fa: "\f662"; +} + +.fa-gopuram { + --fa: "\f664"; +} + +.fa-hamsa { + --fa: "\f665"; +} + +.fa-bahai { + --fa: "\f666"; +} + +.fa-haykal { + --fa: "\f666"; +} + +.fa-jedi { + --fa: "\f669"; +} + +.fa-book-journal-whills { + --fa: "\f66a"; +} + +.fa-journal-whills { + --fa: "\f66a"; +} + +.fa-kaaba { + --fa: "\f66b"; +} + +.fa-khanda { + --fa: "\f66d"; +} + +.fa-landmark { + --fa: "\f66f"; +} + +.fa-envelopes-bulk { + --fa: "\f674"; +} + +.fa-mail-bulk { + --fa: "\f674"; +} + +.fa-menorah { + --fa: "\f676"; +} + +.fa-mosque { + --fa: "\f678"; +} + +.fa-om { + --fa: "\f679"; +} + +.fa-spaghetti-monster-flying { + --fa: "\f67b"; +} + +.fa-pastafarianism { + --fa: "\f67b"; +} + +.fa-peace { + --fa: "\f67c"; +} + +.fa-place-of-worship { + --fa: "\f67f"; +} + +.fa-square-poll-vertical { + --fa: "\f681"; +} + +.fa-poll { + --fa: "\f681"; +} + +.fa-square-poll-horizontal { + --fa: "\f682"; +} + +.fa-poll-h { + --fa: "\f682"; +} + +.fa-person-praying { + --fa: "\f683"; +} + +.fa-pray { + --fa: "\f683"; +} + +.fa-hands-praying { + --fa: "\f684"; +} + +.fa-praying-hands { + --fa: "\f684"; +} + +.fa-book-quran { + --fa: "\f687"; +} + +.fa-quran { + --fa: "\f687"; +} + +.fa-magnifying-glass-dollar { + --fa: "\f688"; +} + +.fa-search-dollar { + --fa: "\f688"; +} + +.fa-magnifying-glass-location { + --fa: "\f689"; +} + +.fa-search-location { + --fa: "\f689"; +} + +.fa-socks { + --fa: "\f696"; +} + +.fa-square-root-variable { + --fa: "\f698"; +} + +.fa-square-root-alt { + --fa: "\f698"; +} + +.fa-star-and-crescent { + --fa: "\f699"; +} + +.fa-star-of-david { + --fa: "\f69a"; +} + +.fa-synagogue { + --fa: "\f69b"; +} + +.fa-scroll-torah { + --fa: "\f6a0"; +} + +.fa-torah { + --fa: "\f6a0"; +} + +.fa-torii-gate { + --fa: "\f6a1"; +} + +.fa-vihara { + --fa: "\f6a7"; +} + +.fa-volume-xmark { + --fa: "\f6a9"; +} + +.fa-volume-mute { + --fa: "\f6a9"; +} + +.fa-volume-times { + --fa: "\f6a9"; +} + +.fa-yin-yang { + --fa: "\f6ad"; +} + +.fa-blender-phone { + --fa: "\f6b6"; +} + +.fa-book-skull { + --fa: "\f6b7"; +} + +.fa-book-dead { + --fa: "\f6b7"; +} + +.fa-campground { + --fa: "\f6bb"; +} + +.fa-cat { + --fa: "\f6be"; +} + +.fa-chair { + --fa: "\f6c0"; +} + +.fa-cloud-moon { + --fa: "\f6c3"; +} + +.fa-cloud-sun { + --fa: "\f6c4"; +} + +.fa-cow { + --fa: "\f6c8"; +} + +.fa-dice-d20 { + --fa: "\f6cf"; +} + +.fa-dice-d6 { + --fa: "\f6d1"; +} + +.fa-dog { + --fa: "\f6d3"; +} + +.fa-dragon { + --fa: "\f6d5"; +} + +.fa-drumstick-bite { + --fa: "\f6d7"; +} + +.fa-dungeon { + --fa: "\f6d9"; +} + +.fa-file-csv { + --fa: "\f6dd"; +} + +.fa-hand-fist { + --fa: "\f6de"; +} + +.fa-fist-raised { + --fa: "\f6de"; +} + +.fa-ghost { + --fa: "\f6e2"; +} + +.fa-hammer { + --fa: "\f6e3"; +} + +.fa-hanukiah { + --fa: "\f6e6"; +} + +.fa-hat-wizard { + --fa: "\f6e8"; +} + +.fa-person-hiking { + --fa: "\f6ec"; +} + +.fa-hiking { + --fa: "\f6ec"; +} + +.fa-hippo { + --fa: "\f6ed"; +} + +.fa-horse { + --fa: "\f6f0"; +} + +.fa-house-chimney-crack { + --fa: "\f6f1"; +} + +.fa-house-damage { + --fa: "\f6f1"; +} + +.fa-hryvnia-sign { + --fa: "\f6f2"; +} + +.fa-hryvnia { + --fa: "\f6f2"; +} + +.fa-mask { + --fa: "\f6fa"; +} + +.fa-mountain { + --fa: "\f6fc"; +} + +.fa-network-wired { + --fa: "\f6ff"; +} + +.fa-otter { + --fa: "\f700"; +} + +.fa-ring { + --fa: "\f70b"; +} + +.fa-person-running { + --fa: "\f70c"; +} + +.fa-running { + --fa: "\f70c"; +} + +.fa-scroll { + --fa: "\f70e"; +} + +.fa-skull-crossbones { + --fa: "\f714"; +} + +.fa-slash { + --fa: "\f715"; +} + +.fa-spider { + --fa: "\f717"; +} + +.fa-toilet-paper { + --fa: "\f71e"; +} + +.fa-toilet-paper-alt { + --fa: "\f71e"; +} + +.fa-toilet-paper-blank { + --fa: "\f71e"; +} + +.fa-tractor { + --fa: "\f722"; +} + +.fa-user-injured { + --fa: "\f728"; +} + +.fa-vr-cardboard { + --fa: "\f729"; +} + +.fa-wand-sparkles { + --fa: "\f72b"; +} + +.fa-wind { + --fa: "\f72e"; +} + +.fa-wine-bottle { + --fa: "\f72f"; +} + +.fa-cloud-meatball { + --fa: "\f73b"; +} + +.fa-cloud-moon-rain { + --fa: "\f73c"; +} + +.fa-cloud-rain { + --fa: "\f73d"; +} + +.fa-cloud-showers-heavy { + --fa: "\f740"; +} + +.fa-cloud-sun-rain { + --fa: "\f743"; +} + +.fa-democrat { + --fa: "\f747"; +} + +.fa-flag-usa { + --fa: "\f74d"; +} + +.fa-hurricane { + --fa: "\f751"; +} + +.fa-landmark-dome { + --fa: "\f752"; +} + +.fa-landmark-alt { + --fa: "\f752"; +} + +.fa-meteor { + --fa: "\f753"; +} + +.fa-person-booth { + --fa: "\f756"; +} + +.fa-poo-storm { + --fa: "\f75a"; +} + +.fa-poo-bolt { + --fa: "\f75a"; +} + +.fa-rainbow { + --fa: "\f75b"; +} + +.fa-republican { + --fa: "\f75e"; +} + +.fa-smog { + --fa: "\f75f"; +} + +.fa-temperature-high { + --fa: "\f769"; +} + +.fa-temperature-low { + --fa: "\f76b"; +} + +.fa-cloud-bolt { + --fa: "\f76c"; +} + +.fa-thunderstorm { + --fa: "\f76c"; +} + +.fa-tornado { + --fa: "\f76f"; +} + +.fa-volcano { + --fa: "\f770"; +} + +.fa-check-to-slot { + --fa: "\f772"; +} + +.fa-vote-yea { + --fa: "\f772"; +} + +.fa-water { + --fa: "\f773"; +} + +.fa-baby { + --fa: "\f77c"; +} + +.fa-baby-carriage { + --fa: "\f77d"; +} + +.fa-carriage-baby { + --fa: "\f77d"; +} + +.fa-biohazard { + --fa: "\f780"; +} + +.fa-blog { + --fa: "\f781"; +} + +.fa-calendar-day { + --fa: "\f783"; +} + +.fa-calendar-week { + --fa: "\f784"; +} + +.fa-candy-cane { + --fa: "\f786"; +} + +.fa-carrot { + --fa: "\f787"; +} + +.fa-cash-register { + --fa: "\f788"; +} + +.fa-minimize { + --fa: "\f78c"; +} + +.fa-compress-arrows-alt { + --fa: "\f78c"; +} + +.fa-dumpster { + --fa: "\f793"; +} + +.fa-dumpster-fire { + --fa: "\f794"; +} + +.fa-ethernet { + --fa: "\f796"; +} + +.fa-gifts { + --fa: "\f79c"; +} + +.fa-champagne-glasses { + --fa: "\f79f"; +} + +.fa-glass-cheers { + --fa: "\f79f"; +} + +.fa-whiskey-glass { + --fa: "\f7a0"; +} + +.fa-glass-whiskey { + --fa: "\f7a0"; +} + +.fa-earth-europe { + --fa: "\f7a2"; +} + +.fa-globe-europe { + --fa: "\f7a2"; +} + +.fa-grip-lines { + --fa: "\f7a4"; +} + +.fa-grip-lines-vertical { + --fa: "\f7a5"; +} + +.fa-guitar { + --fa: "\f7a6"; +} + +.fa-heart-crack { + --fa: "\f7a9"; +} + +.fa-heart-broken { + --fa: "\f7a9"; +} + +.fa-holly-berry { + --fa: "\f7aa"; +} + +.fa-horse-head { + --fa: "\f7ab"; +} + +.fa-icicles { + --fa: "\f7ad"; +} + +.fa-igloo { + --fa: "\f7ae"; +} + +.fa-mitten { + --fa: "\f7b5"; +} + +.fa-mug-hot { + --fa: "\f7b6"; +} + +.fa-radiation { + --fa: "\f7b9"; +} + +.fa-circle-radiation { + --fa: "\f7ba"; +} + +.fa-radiation-alt { + --fa: "\f7ba"; +} + +.fa-restroom { + --fa: "\f7bd"; +} + +.fa-satellite { + --fa: "\f7bf"; +} + +.fa-satellite-dish { + --fa: "\f7c0"; +} + +.fa-sd-card { + --fa: "\f7c2"; +} + +.fa-sim-card { + --fa: "\f7c4"; +} + +.fa-person-skating { + --fa: "\f7c5"; +} + +.fa-skating { + --fa: "\f7c5"; +} + +.fa-person-skiing { + --fa: "\f7c9"; +} + +.fa-skiing { + --fa: "\f7c9"; +} + +.fa-person-skiing-nordic { + --fa: "\f7ca"; +} + +.fa-skiing-nordic { + --fa: "\f7ca"; +} + +.fa-sleigh { + --fa: "\f7cc"; +} + +.fa-comment-sms { + --fa: "\f7cd"; +} + +.fa-sms { + --fa: "\f7cd"; +} + +.fa-person-snowboarding { + --fa: "\f7ce"; +} + +.fa-snowboarding { + --fa: "\f7ce"; +} + +.fa-snowman { + --fa: "\f7d0"; +} + +.fa-snowplow { + --fa: "\f7d2"; +} + +.fa-tenge-sign { + --fa: "\f7d7"; +} + +.fa-tenge { + --fa: "\f7d7"; +} + +.fa-toilet { + --fa: "\f7d8"; +} + +.fa-screwdriver-wrench { + --fa: "\f7d9"; +} + +.fa-tools { + --fa: "\f7d9"; +} + +.fa-cable-car { + --fa: "\f7da"; +} + +.fa-tram { + --fa: "\f7da"; +} + +.fa-fire-flame-curved { + --fa: "\f7e4"; +} + +.fa-fire-alt { + --fa: "\f7e4"; +} + +.fa-bacon { + --fa: "\f7e5"; +} + +.fa-book-medical { + --fa: "\f7e6"; +} + +.fa-bread-slice { + --fa: "\f7ec"; +} + +.fa-cheese { + --fa: "\f7ef"; +} + +.fa-house-chimney-medical { + --fa: "\f7f2"; +} + +.fa-clinic-medical { + --fa: "\f7f2"; +} + +.fa-clipboard-user { + --fa: "\f7f3"; +} + +.fa-comment-medical { + --fa: "\f7f5"; +} + +.fa-crutch { + --fa: "\f7f7"; +} + +.fa-disease { + --fa: "\f7fa"; +} + +.fa-egg { + --fa: "\f7fb"; +} + +.fa-folder-tree { + --fa: "\f802"; +} + +.fa-burger { + --fa: "\f805"; +} + +.fa-hamburger { + --fa: "\f805"; +} + +.fa-hand-middle-finger { + --fa: "\f806"; +} + +.fa-helmet-safety { + --fa: "\f807"; +} + +.fa-hard-hat { + --fa: "\f807"; +} + +.fa-hat-hard { + --fa: "\f807"; +} + +.fa-hospital-user { + --fa: "\f80d"; +} + +.fa-hotdog { + --fa: "\f80f"; +} + +.fa-ice-cream { + --fa: "\f810"; +} + +.fa-laptop-medical { + --fa: "\f812"; +} + +.fa-pager { + --fa: "\f815"; +} + +.fa-pepper-hot { + --fa: "\f816"; +} + +.fa-pizza-slice { + --fa: "\f818"; +} + +.fa-sack-dollar { + --fa: "\f81d"; +} + +.fa-book-tanakh { + --fa: "\f827"; +} + +.fa-tanakh { + --fa: "\f827"; +} + +.fa-bars-progress { + --fa: "\f828"; +} + +.fa-tasks-alt { + --fa: "\f828"; +} + +.fa-trash-arrow-up { + --fa: "\f829"; +} + +.fa-trash-restore { + --fa: "\f829"; +} + +.fa-trash-can-arrow-up { + --fa: "\f82a"; +} + +.fa-trash-restore-alt { + --fa: "\f82a"; +} + +.fa-user-nurse { + --fa: "\f82f"; +} + +.fa-wave-square { + --fa: "\f83e"; +} + +.fa-person-biking { + --fa: "\f84a"; +} + +.fa-biking { + --fa: "\f84a"; +} + +.fa-border-all { + --fa: "\f84c"; +} + +.fa-border-none { + --fa: "\f850"; +} + +.fa-border-top-left { + --fa: "\f853"; +} + +.fa-border-style { + --fa: "\f853"; +} + +.fa-person-digging { + --fa: "\f85e"; +} + +.fa-digging { + --fa: "\f85e"; +} + +.fa-fan { + --fa: "\f863"; +} + +.fa-icons { + --fa: "\f86d"; +} + +.fa-heart-music-camera-bolt { + --fa: "\f86d"; +} + +.fa-phone-flip { + --fa: "\f879"; +} + +.fa-phone-alt { + --fa: "\f879"; +} + +.fa-square-phone-flip { + --fa: "\f87b"; +} + +.fa-phone-square-alt { + --fa: "\f87b"; +} + +.fa-photo-film { + --fa: "\f87c"; +} + +.fa-photo-video { + --fa: "\f87c"; +} + +.fa-text-slash { + --fa: "\f87d"; +} + +.fa-remove-format { + --fa: "\f87d"; +} + +.fa-arrow-down-z-a { + --fa: "\f881"; +} + +.fa-sort-alpha-desc { + --fa: "\f881"; +} + +.fa-sort-alpha-down-alt { + --fa: "\f881"; +} + +.fa-arrow-up-z-a { + --fa: "\f882"; +} + +.fa-sort-alpha-up-alt { + --fa: "\f882"; +} + +.fa-arrow-down-short-wide { + --fa: "\f884"; +} + +.fa-sort-amount-desc { + --fa: "\f884"; +} + +.fa-sort-amount-down-alt { + --fa: "\f884"; +} + +.fa-arrow-up-short-wide { + --fa: "\f885"; +} + +.fa-sort-amount-up-alt { + --fa: "\f885"; +} + +.fa-arrow-down-9-1 { + --fa: "\f886"; +} + +.fa-sort-numeric-desc { + --fa: "\f886"; +} + +.fa-sort-numeric-down-alt { + --fa: "\f886"; +} + +.fa-arrow-up-9-1 { + --fa: "\f887"; +} + +.fa-sort-numeric-up-alt { + --fa: "\f887"; +} + +.fa-spell-check { + --fa: "\f891"; +} + +.fa-voicemail { + --fa: "\f897"; +} + +.fa-hat-cowboy { + --fa: "\f8c0"; +} + +.fa-hat-cowboy-side { + --fa: "\f8c1"; +} + +.fa-computer-mouse { + --fa: "\f8cc"; +} + +.fa-mouse { + --fa: "\f8cc"; +} + +.fa-radio { + --fa: "\f8d7"; +} + +.fa-record-vinyl { + --fa: "\f8d9"; +} + +.fa-walkie-talkie { + --fa: "\f8ef"; +} + +.fa-caravan { + --fa: "\f8ff"; +} diff --git a/assets/js/fortawesome-fontawesome-free/css/fontawesome.min.css b/assets/js/fortawesome-fontawesome-free/css/fontawesome.min.css new file mode 100644 index 0000000..954184f --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/fontawesome.min.css @@ -0,0 +1,8 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +.fa,.fa-brands,.fa-classic,.fa-regular,.fa-solid,.fab,.far,.fas{--_fa-family:var(--fa-family,var(--fa-style-family,"Font Awesome 7 Free"));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:var(--fa-display,inline-block);font-family:var(--_fa-family);font-feature-settings:normal;font-style:normal;font-synthesis:none;font-variant:normal;font-weight:var(--fa-style,900);line-height:1;text-align:center;text-rendering:auto;width:var(--fa-width,1.25em)}:is(.fas,.far,.fab,.fa-solid,.fa-regular,.fa-brands,.fa-classic,.fa):before{content:var(--fa)/""}@supports not (content:""/""){:is(.fas,.far,.fab,.fa-solid,.fa-regular,.fa-brands,.fa-classic,.fa):before{content:var(--fa)}}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-width-auto{--fa-width:auto}.fa-fw,.fa-width-fixed{--fa-width:1.25em}.fa-ul{list-style-type:none;margin-inline-start:var(--fa-li-margin,2.5em);padding-inline-start:0}.fa-ul>li{position:relative}.fa-li{inset-inline-start:calc(var(--fa-li-width, 2em)*-1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius,.1em);border:var(--fa-border-width,.0625em) var(--fa-border-style,solid) var(--fa-border-color,#eee);box-sizing:var(--fa-border-box-sizing,content-box);padding:var(--fa-border-padding,.1875em .25em)}.fa-pull-left,.fa-pull-start{float:inline-start;margin-inline-end:var(--fa-pull-margin,.3em)}.fa-pull-end,.fa-pull-right{float:inline-end;margin-inline-start:var(--fa-pull-margin,.3em)}.fa-beat{animation-name:fa-beat;animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{animation-name:fa-bounce;animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{animation-name:fa-fade;animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade,.fa-fade{animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s)}.fa-beat-fade{animation-name:fa-beat-fade;animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{animation-name:fa-flip;animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{animation-name:fa-shake;animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,linear)}.fa-shake,.fa-spin{animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal)}.fa-spin{animation-name:fa-spin;animation-duration:var(--fa-animation-duration,2s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{animation-name:fa-spin;animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{animation:none!important;transition:none!important}}@keyframes fa-beat{0%,90%{transform:scale(1)}45%{transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-bounce{0%{transform:scale(1) translateY(0)}10%{transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{transform:scale(1) translateY(0)}to{transform:scale(1) translateY(0)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);transform:scale(1)}50%{opacity:1;transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-flip{50%{transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-shake{0%{transform:rotate(-15deg)}4%{transform:rotate(15deg)}8%,24%{transform:rotate(-18deg)}12%,28%{transform:rotate(18deg)}16%{transform:rotate(-22deg)}20%{transform:rotate(22deg)}32%{transform:rotate(-12deg)}36%{transform:rotate(12deg)}40%,to{transform:rotate(0deg)}}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{transform:rotate(90deg)}.fa-rotate-180{transform:rotate(180deg)}.fa-rotate-270{transform:rotate(270deg)}.fa-flip-horizontal{transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}.fa-rotate-by{transform:rotate(var(--fa-rotate-angle,0))}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{--fa-width:100%;inset:0;position:absolute;text-align:center;width:var(--fa-width);z-index:var(--fa-stack-z-index,auto)}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:var(--fa-inverse,#fff)} + +.fa-0{--fa:"\30 "}.fa-1{--fa:"\31 "}.fa-2{--fa:"\32 "}.fa-3{--fa:"\33 "}.fa-4{--fa:"\34 "}.fa-5{--fa:"\35 "}.fa-6{--fa:"\36 "}.fa-7{--fa:"\37 "}.fa-8{--fa:"\38 "}.fa-9{--fa:"\39 "}.fa-exclamation{--fa:"\!"}.fa-hashtag{--fa:"\#"}.fa-dollar,.fa-dollar-sign,.fa-usd{--fa:"\$"}.fa-percent,.fa-percentage{--fa:"\%"}.fa-asterisk{--fa:"\*"}.fa-add,.fa-plus{--fa:"\+"}.fa-less-than{--fa:"\<"}.fa-equals{--fa:"\="}.fa-greater-than{--fa:"\>"}.fa-question{--fa:"\?"}.fa-at{--fa:"\@"}.fa-a{--fa:"A"}.fa-b{--fa:"B"}.fa-c{--fa:"C"}.fa-d{--fa:"D"}.fa-e{--fa:"E"}.fa-f{--fa:"F"}.fa-g{--fa:"G"}.fa-h{--fa:"H"}.fa-i{--fa:"I"}.fa-j{--fa:"J"}.fa-k{--fa:"K"}.fa-l{--fa:"L"}.fa-m{--fa:"M"}.fa-n{--fa:"N"}.fa-o{--fa:"O"}.fa-p{--fa:"P"}.fa-q{--fa:"Q"}.fa-r{--fa:"R"}.fa-s{--fa:"S"}.fa-t{--fa:"T"}.fa-u{--fa:"U"}.fa-v{--fa:"V"}.fa-w{--fa:"W"}.fa-x{--fa:"X"}.fa-y{--fa:"Y"}.fa-z{--fa:"Z"}.fa-faucet{--fa:"\e005"}.fa-faucet-drip{--fa:"\e006"}.fa-house-chimney-window{--fa:"\e00d"}.fa-house-signal{--fa:"\e012"}.fa-temperature-arrow-down,.fa-temperature-down{--fa:"\e03f"}.fa-temperature-arrow-up,.fa-temperature-up{--fa:"\e040"}.fa-trailer{--fa:"\e041"}.fa-bacteria{--fa:"\e059"}.fa-bacterium{--fa:"\e05a"}.fa-box-tissue{--fa:"\e05b"}.fa-hand-holding-medical{--fa:"\e05c"}.fa-hand-sparkles{--fa:"\e05d"}.fa-hands-bubbles,.fa-hands-wash{--fa:"\e05e"}.fa-handshake-alt-slash,.fa-handshake-simple-slash,.fa-handshake-slash{--fa:"\e060"}.fa-head-side-cough{--fa:"\e061"}.fa-head-side-cough-slash{--fa:"\e062"}.fa-head-side-mask{--fa:"\e063"}.fa-head-side-virus{--fa:"\e064"}.fa-house-chimney-user{--fa:"\e065"}.fa-house-laptop,.fa-laptop-house{--fa:"\e066"}.fa-lungs-virus{--fa:"\e067"}.fa-people-arrows,.fa-people-arrows-left-right{--fa:"\e068"}.fa-plane-slash{--fa:"\e069"}.fa-pump-medical{--fa:"\e06a"}.fa-pump-soap{--fa:"\e06b"}.fa-shield-virus{--fa:"\e06c"}.fa-sink{--fa:"\e06d"}.fa-soap{--fa:"\e06e"}.fa-stopwatch-20{--fa:"\e06f"}.fa-shop-slash,.fa-store-alt-slash{--fa:"\e070"}.fa-store-slash{--fa:"\e071"}.fa-toilet-paper-slash{--fa:"\e072"}.fa-users-slash{--fa:"\e073"}.fa-virus{--fa:"\e074"}.fa-virus-slash{--fa:"\e075"}.fa-viruses{--fa:"\e076"}.fa-vest{--fa:"\e085"}.fa-vest-patches{--fa:"\e086"}.fa-arrow-trend-down{--fa:"\e097"}.fa-arrow-trend-up{--fa:"\e098"}.fa-arrow-up-from-bracket{--fa:"\e09a"}.fa-austral-sign{--fa:"\e0a9"}.fa-baht-sign{--fa:"\e0ac"}.fa-bitcoin-sign{--fa:"\e0b4"}.fa-bolt-lightning{--fa:"\e0b7"}.fa-book-bookmark{--fa:"\e0bb"}.fa-camera-rotate{--fa:"\e0d8"}.fa-cedi-sign{--fa:"\e0df"}.fa-chart-column{--fa:"\e0e3"}.fa-chart-gantt{--fa:"\e0e4"}.fa-clapperboard{--fa:"\e131"}.fa-clover{--fa:"\e139"}.fa-code-compare{--fa:"\e13a"}.fa-code-fork{--fa:"\e13b"}.fa-code-pull-request{--fa:"\e13c"}.fa-colon-sign{--fa:"\e140"}.fa-cruzeiro-sign{--fa:"\e152"}.fa-display{--fa:"\e163"}.fa-dong-sign{--fa:"\e169"}.fa-elevator{--fa:"\e16d"}.fa-filter-circle-xmark{--fa:"\e17b"}.fa-florin-sign{--fa:"\e184"}.fa-folder-closed{--fa:"\e185"}.fa-franc-sign{--fa:"\e18f"}.fa-guarani-sign{--fa:"\e19a"}.fa-gun{--fa:"\e19b"}.fa-hands-clapping{--fa:"\e1a8"}.fa-home-user,.fa-house-user{--fa:"\e1b0"}.fa-indian-rupee,.fa-indian-rupee-sign,.fa-inr{--fa:"\e1bc"}.fa-kip-sign{--fa:"\e1c4"}.fa-lari-sign{--fa:"\e1c8"}.fa-litecoin-sign{--fa:"\e1d3"}.fa-manat-sign{--fa:"\e1d5"}.fa-mask-face{--fa:"\e1d7"}.fa-mill-sign{--fa:"\e1ed"}.fa-money-bills{--fa:"\e1f3"}.fa-naira-sign{--fa:"\e1f6"}.fa-notdef{--fa:"\e1fe"}.fa-panorama{--fa:"\e209"}.fa-peseta-sign{--fa:"\e221"}.fa-peso-sign{--fa:"\e222"}.fa-plane-up{--fa:"\e22d"}.fa-rupiah-sign{--fa:"\e23d"}.fa-stairs{--fa:"\e289"}.fa-timeline{--fa:"\e29c"}.fa-truck-front{--fa:"\e2b7"}.fa-try,.fa-turkish-lira,.fa-turkish-lira-sign{--fa:"\e2bb"}.fa-vault{--fa:"\e2c5"}.fa-magic-wand-sparkles,.fa-wand-magic-sparkles{--fa:"\e2ca"}.fa-wheat-alt,.fa-wheat-awn{--fa:"\e2cd"}.fa-wheelchair-alt,.fa-wheelchair-move{--fa:"\e2ce"}.fa-bangladeshi-taka-sign{--fa:"\e2e6"}.fa-bowl-rice{--fa:"\e2eb"}.fa-person-pregnant{--fa:"\e31e"}.fa-home-lg,.fa-house-chimney{--fa:"\e3af"}.fa-house-crack{--fa:"\e3b1"}.fa-house-medical{--fa:"\e3b2"}.fa-cent-sign{--fa:"\e3f5"}.fa-plus-minus{--fa:"\e43c"}.fa-sailboat{--fa:"\e445"}.fa-section{--fa:"\e447"}.fa-shrimp{--fa:"\e448"}.fa-brazilian-real-sign{--fa:"\e46c"}.fa-chart-simple{--fa:"\e473"}.fa-diagram-next{--fa:"\e476"}.fa-diagram-predecessor{--fa:"\e477"}.fa-diagram-successor{--fa:"\e47a"}.fa-earth-oceania,.fa-globe-oceania{--fa:"\e47b"}.fa-bug-slash{--fa:"\e490"}.fa-file-circle-plus{--fa:"\e494"}.fa-shop-lock{--fa:"\e4a5"}.fa-virus-covid{--fa:"\e4a8"}.fa-virus-covid-slash{--fa:"\e4a9"}.fa-anchor-circle-check{--fa:"\e4aa"}.fa-anchor-circle-exclamation{--fa:"\e4ab"}.fa-anchor-circle-xmark{--fa:"\e4ac"}.fa-anchor-lock{--fa:"\e4ad"}.fa-arrow-down-up-across-line{--fa:"\e4af"}.fa-arrow-down-up-lock{--fa:"\e4b0"}.fa-arrow-right-to-city{--fa:"\e4b3"}.fa-arrow-up-from-ground-water{--fa:"\e4b5"}.fa-arrow-up-from-water-pump{--fa:"\e4b6"}.fa-arrow-up-right-dots{--fa:"\e4b7"}.fa-arrows-down-to-line{--fa:"\e4b8"}.fa-arrows-down-to-people{--fa:"\e4b9"}.fa-arrows-left-right-to-line{--fa:"\e4ba"}.fa-arrows-spin{--fa:"\e4bb"}.fa-arrows-split-up-and-left{--fa:"\e4bc"}.fa-arrows-to-circle{--fa:"\e4bd"}.fa-arrows-to-dot{--fa:"\e4be"}.fa-arrows-to-eye{--fa:"\e4bf"}.fa-arrows-turn-right{--fa:"\e4c0"}.fa-arrows-turn-to-dots{--fa:"\e4c1"}.fa-arrows-up-to-line{--fa:"\e4c2"}.fa-bore-hole{--fa:"\e4c3"}.fa-bottle-droplet{--fa:"\e4c4"}.fa-bottle-water{--fa:"\e4c5"}.fa-bowl-food{--fa:"\e4c6"}.fa-boxes-packing{--fa:"\e4c7"}.fa-bridge{--fa:"\e4c8"}.fa-bridge-circle-check{--fa:"\e4c9"}.fa-bridge-circle-exclamation{--fa:"\e4ca"}.fa-bridge-circle-xmark{--fa:"\e4cb"}.fa-bridge-lock{--fa:"\e4cc"}.fa-bridge-water{--fa:"\e4ce"}.fa-bucket{--fa:"\e4cf"}.fa-bugs{--fa:"\e4d0"}.fa-building-circle-arrow-right{--fa:"\e4d1"}.fa-building-circle-check{--fa:"\e4d2"}.fa-building-circle-exclamation{--fa:"\e4d3"}.fa-building-circle-xmark{--fa:"\e4d4"}.fa-building-flag{--fa:"\e4d5"}.fa-building-lock{--fa:"\e4d6"}.fa-building-ngo{--fa:"\e4d7"}.fa-building-shield{--fa:"\e4d8"}.fa-building-un{--fa:"\e4d9"}.fa-building-user{--fa:"\e4da"}.fa-building-wheat{--fa:"\e4db"}.fa-burst{--fa:"\e4dc"}.fa-car-on{--fa:"\e4dd"}.fa-car-tunnel{--fa:"\e4de"}.fa-child-combatant,.fa-child-rifle{--fa:"\e4e0"}.fa-children{--fa:"\e4e1"}.fa-circle-nodes{--fa:"\e4e2"}.fa-clipboard-question{--fa:"\e4e3"}.fa-cloud-showers-water{--fa:"\e4e4"}.fa-computer{--fa:"\e4e5"}.fa-cubes-stacked{--fa:"\e4e6"}.fa-envelope-circle-check{--fa:"\e4e8"}.fa-explosion{--fa:"\e4e9"}.fa-ferry{--fa:"\e4ea"}.fa-file-circle-exclamation{--fa:"\e4eb"}.fa-file-circle-minus{--fa:"\e4ed"}.fa-file-circle-question{--fa:"\e4ef"}.fa-file-shield{--fa:"\e4f0"}.fa-fire-burner{--fa:"\e4f1"}.fa-fish-fins{--fa:"\e4f2"}.fa-flask-vial{--fa:"\e4f3"}.fa-glass-water{--fa:"\e4f4"}.fa-glass-water-droplet{--fa:"\e4f5"}.fa-group-arrows-rotate{--fa:"\e4f6"}.fa-hand-holding-hand{--fa:"\e4f7"}.fa-handcuffs{--fa:"\e4f8"}.fa-hands-bound{--fa:"\e4f9"}.fa-hands-holding-child{--fa:"\e4fa"}.fa-hands-holding-circle{--fa:"\e4fb"}.fa-heart-circle-bolt{--fa:"\e4fc"}.fa-heart-circle-check{--fa:"\e4fd"}.fa-heart-circle-exclamation{--fa:"\e4fe"}.fa-heart-circle-minus{--fa:"\e4ff"}.fa-heart-circle-plus{--fa:"\e500"}.fa-heart-circle-xmark{--fa:"\e501"}.fa-helicopter-symbol{--fa:"\e502"}.fa-helmet-un{--fa:"\e503"}.fa-hill-avalanche{--fa:"\e507"}.fa-hill-rockslide{--fa:"\e508"}.fa-house-circle-check{--fa:"\e509"}.fa-house-circle-exclamation{--fa:"\e50a"}.fa-house-circle-xmark{--fa:"\e50b"}.fa-house-fire{--fa:"\e50c"}.fa-house-flag{--fa:"\e50d"}.fa-house-flood-water{--fa:"\e50e"}.fa-house-flood-water-circle-arrow-right{--fa:"\e50f"}.fa-house-lock{--fa:"\e510"}.fa-house-medical-circle-check{--fa:"\e511"}.fa-house-medical-circle-exclamation{--fa:"\e512"}.fa-house-medical-circle-xmark{--fa:"\e513"}.fa-house-medical-flag{--fa:"\e514"}.fa-house-tsunami{--fa:"\e515"}.fa-jar{--fa:"\e516"}.fa-jar-wheat{--fa:"\e517"}.fa-jet-fighter-up{--fa:"\e518"}.fa-jug-detergent{--fa:"\e519"}.fa-kitchen-set{--fa:"\e51a"}.fa-land-mine-on{--fa:"\e51b"}.fa-landmark-flag{--fa:"\e51c"}.fa-laptop-file{--fa:"\e51d"}.fa-lines-leaning{--fa:"\e51e"}.fa-location-pin-lock{--fa:"\e51f"}.fa-locust{--fa:"\e520"}.fa-magnifying-glass-arrow-right{--fa:"\e521"}.fa-magnifying-glass-chart{--fa:"\e522"}.fa-mars-and-venus-burst{--fa:"\e523"}.fa-mask-ventilator{--fa:"\e524"}.fa-mattress-pillow{--fa:"\e525"}.fa-mobile-retro{--fa:"\e527"}.fa-money-bill-transfer{--fa:"\e528"}.fa-money-bill-trend-up{--fa:"\e529"}.fa-money-bill-wheat{--fa:"\e52a"}.fa-mosquito{--fa:"\e52b"}.fa-mosquito-net{--fa:"\e52c"}.fa-mound{--fa:"\e52d"}.fa-mountain-city{--fa:"\e52e"}.fa-mountain-sun{--fa:"\e52f"}.fa-oil-well{--fa:"\e532"}.fa-people-group{--fa:"\e533"}.fa-people-line{--fa:"\e534"}.fa-people-pulling{--fa:"\e535"}.fa-people-robbery{--fa:"\e536"}.fa-people-roof{--fa:"\e537"}.fa-person-arrow-down-to-line{--fa:"\e538"}.fa-person-arrow-up-from-line{--fa:"\e539"}.fa-person-breastfeeding{--fa:"\e53a"}.fa-person-burst{--fa:"\e53b"}.fa-person-cane{--fa:"\e53c"}.fa-person-chalkboard{--fa:"\e53d"}.fa-person-circle-check{--fa:"\e53e"}.fa-person-circle-exclamation{--fa:"\e53f"}.fa-person-circle-minus{--fa:"\e540"}.fa-person-circle-plus{--fa:"\e541"}.fa-person-circle-question{--fa:"\e542"}.fa-person-circle-xmark{--fa:"\e543"}.fa-person-dress-burst{--fa:"\e544"}.fa-person-drowning{--fa:"\e545"}.fa-person-falling{--fa:"\e546"}.fa-person-falling-burst{--fa:"\e547"}.fa-person-half-dress{--fa:"\e548"}.fa-person-harassing{--fa:"\e549"}.fa-person-military-pointing{--fa:"\e54a"}.fa-person-military-rifle{--fa:"\e54b"}.fa-person-military-to-person{--fa:"\e54c"}.fa-person-rays{--fa:"\e54d"}.fa-person-rifle{--fa:"\e54e"}.fa-person-shelter{--fa:"\e54f"}.fa-person-walking-arrow-loop-left{--fa:"\e551"}.fa-person-walking-arrow-right{--fa:"\e552"}.fa-person-walking-dashed-line-arrow-right{--fa:"\e553"}.fa-person-walking-luggage{--fa:"\e554"}.fa-plane-circle-check{--fa:"\e555"}.fa-plane-circle-exclamation{--fa:"\e556"}.fa-plane-circle-xmark{--fa:"\e557"}.fa-plane-lock{--fa:"\e558"}.fa-plate-wheat{--fa:"\e55a"}.fa-plug-circle-bolt{--fa:"\e55b"}.fa-plug-circle-check{--fa:"\e55c"}.fa-plug-circle-exclamation{--fa:"\e55d"}.fa-plug-circle-minus{--fa:"\e55e"}.fa-plug-circle-plus{--fa:"\e55f"}.fa-plug-circle-xmark{--fa:"\e560"}.fa-ranking-star{--fa:"\e561"}.fa-road-barrier{--fa:"\e562"}.fa-road-bridge{--fa:"\e563"}.fa-road-circle-check{--fa:"\e564"}.fa-road-circle-exclamation{--fa:"\e565"}.fa-road-circle-xmark{--fa:"\e566"}.fa-road-lock{--fa:"\e567"}.fa-road-spikes{--fa:"\e568"}.fa-rug{--fa:"\e569"}.fa-sack-xmark{--fa:"\e56a"}.fa-school-circle-check{--fa:"\e56b"}.fa-school-circle-exclamation{--fa:"\e56c"}.fa-school-circle-xmark{--fa:"\e56d"}.fa-school-flag{--fa:"\e56e"}.fa-school-lock{--fa:"\e56f"}.fa-sheet-plastic{--fa:"\e571"}.fa-shield-cat{--fa:"\e572"}.fa-shield-dog{--fa:"\e573"}.fa-shield-heart{--fa:"\e574"}.fa-square-nfi{--fa:"\e576"}.fa-square-person-confined{--fa:"\e577"}.fa-square-virus{--fa:"\e578"}.fa-rod-asclepius,.fa-rod-snake,.fa-staff-aesculapius,.fa-staff-snake{--fa:"\e579"}.fa-sun-plant-wilt{--fa:"\e57a"}.fa-tarp{--fa:"\e57b"}.fa-tarp-droplet{--fa:"\e57c"}.fa-tent{--fa:"\e57d"}.fa-tent-arrow-down-to-line{--fa:"\e57e"}.fa-tent-arrow-left-right{--fa:"\e57f"}.fa-tent-arrow-turn-left{--fa:"\e580"}.fa-tent-arrows-down{--fa:"\e581"}.fa-tents{--fa:"\e582"}.fa-toilet-portable{--fa:"\e583"}.fa-toilets-portable{--fa:"\e584"}.fa-tower-cell{--fa:"\e585"}.fa-tower-observation{--fa:"\e586"}.fa-tree-city{--fa:"\e587"}.fa-trowel{--fa:"\e589"}.fa-trowel-bricks{--fa:"\e58a"}.fa-truck-arrow-right{--fa:"\e58b"}.fa-truck-droplet{--fa:"\e58c"}.fa-truck-field{--fa:"\e58d"}.fa-truck-field-un{--fa:"\e58e"}.fa-truck-plane{--fa:"\e58f"}.fa-users-between-lines{--fa:"\e591"}.fa-users-line{--fa:"\e592"}.fa-users-rays{--fa:"\e593"}.fa-users-rectangle{--fa:"\e594"}.fa-users-viewfinder{--fa:"\e595"}.fa-vial-circle-check{--fa:"\e596"}.fa-vial-virus{--fa:"\e597"}.fa-wheat-awn-circle-exclamation{--fa:"\e598"}.fa-worm{--fa:"\e599"}.fa-xmarks-lines{--fa:"\e59a"}.fa-child-dress{--fa:"\e59c"}.fa-child-reaching{--fa:"\e59d"}.fa-file-circle-check{--fa:"\e5a0"}.fa-file-circle-xmark{--fa:"\e5a1"}.fa-person-through-window{--fa:"\e5a9"}.fa-plant-wilt{--fa:"\e5aa"}.fa-stapler{--fa:"\e5af"}.fa-train-tram{--fa:"\e5b4"}.fa-table-cells-column-lock{--fa:"\e678"}.fa-table-cells-row-lock{--fa:"\e67a"}.fa-web-awesome{--fa:"\e682"}.fa-thumb-tack-slash,.fa-thumbtack-slash{--fa:"\e68f"}.fa-table-cells-row-unlock{--fa:"\e691"}.fa-chart-diagram{--fa:"\e695"}.fa-comment-nodes{--fa:"\e696"}.fa-file-fragment{--fa:"\e697"}.fa-file-half-dashed{--fa:"\e698"}.fa-hexagon-nodes{--fa:"\e699"}.fa-hexagon-nodes-bolt{--fa:"\e69a"}.fa-square-binary{--fa:"\e69b"}.fa-pentagon{--fa:"\e790"}.fa-non-binary{--fa:"\e807"}.fa-spiral{--fa:"\e80a"}.fa-mobile-vibrate{--fa:"\e816"}.fa-single-quote-left{--fa:"\e81b"}.fa-single-quote-right{--fa:"\e81c"}.fa-bus-side{--fa:"\e81d"}.fa-heptagon,.fa-septagon{--fa:"\e820"}.fa-glass-martini,.fa-martini-glass-empty{--fa:"\f000"}.fa-music{--fa:"\f001"}.fa-magnifying-glass,.fa-search{--fa:"\f002"}.fa-heart{--fa:"\f004"}.fa-star{--fa:"\f005"}.fa-user,.fa-user-alt,.fa-user-large{--fa:"\f007"}.fa-film,.fa-film-alt,.fa-film-simple{--fa:"\f008"}.fa-table-cells-large,.fa-th-large{--fa:"\f009"}.fa-table-cells,.fa-th{--fa:"\f00a"}.fa-table-list,.fa-th-list{--fa:"\f00b"}.fa-check{--fa:"\f00c"}.fa-close,.fa-multiply,.fa-remove,.fa-times,.fa-xmark{--fa:"\f00d"}.fa-magnifying-glass-plus,.fa-search-plus{--fa:"\f00e"}.fa-magnifying-glass-minus,.fa-search-minus{--fa:"\f010"}.fa-power-off{--fa:"\f011"}.fa-signal,.fa-signal-5,.fa-signal-perfect{--fa:"\f012"}.fa-cog,.fa-gear{--fa:"\f013"}.fa-home,.fa-home-alt,.fa-home-lg-alt,.fa-house{--fa:"\f015"}.fa-clock,.fa-clock-four{--fa:"\f017"}.fa-road{--fa:"\f018"}.fa-download{--fa:"\f019"}.fa-inbox{--fa:"\f01c"}.fa-arrow-right-rotate,.fa-arrow-rotate-forward,.fa-arrow-rotate-right,.fa-redo{--fa:"\f01e"}.fa-arrows-rotate,.fa-refresh,.fa-sync{--fa:"\f021"}.fa-list-alt,.fa-rectangle-list{--fa:"\f022"}.fa-lock{--fa:"\f023"}.fa-flag{--fa:"\f024"}.fa-headphones,.fa-headphones-alt,.fa-headphones-simple{--fa:"\f025"}.fa-volume-off{--fa:"\f026"}.fa-volume-down,.fa-volume-low{--fa:"\f027"}.fa-volume-high,.fa-volume-up{--fa:"\f028"}.fa-qrcode{--fa:"\f029"}.fa-barcode{--fa:"\f02a"}.fa-tag{--fa:"\f02b"}.fa-tags{--fa:"\f02c"}.fa-book{--fa:"\f02d"}.fa-bookmark{--fa:"\f02e"}.fa-print{--fa:"\f02f"}.fa-camera,.fa-camera-alt{--fa:"\f030"}.fa-font{--fa:"\f031"}.fa-bold{--fa:"\f032"}.fa-italic{--fa:"\f033"}.fa-text-height{--fa:"\f034"}.fa-text-width{--fa:"\f035"}.fa-align-left{--fa:"\f036"}.fa-align-center{--fa:"\f037"}.fa-align-right{--fa:"\f038"}.fa-align-justify{--fa:"\f039"}.fa-list,.fa-list-squares{--fa:"\f03a"}.fa-dedent,.fa-outdent{--fa:"\f03b"}.fa-indent{--fa:"\f03c"}.fa-video,.fa-video-camera{--fa:"\f03d"}.fa-image{--fa:"\f03e"}.fa-location-pin,.fa-map-marker{--fa:"\f041"}.fa-adjust,.fa-circle-half-stroke{--fa:"\f042"}.fa-droplet,.fa-tint{--fa:"\f043"}.fa-edit,.fa-pen-to-square{--fa:"\f044"}.fa-arrows,.fa-arrows-up-down-left-right{--fa:"\f047"}.fa-backward-step,.fa-step-backward{--fa:"\f048"}.fa-backward-fast,.fa-fast-backward{--fa:"\f049"}.fa-backward{--fa:"\f04a"}.fa-play{--fa:"\f04b"}.fa-pause{--fa:"\f04c"}.fa-stop{--fa:"\f04d"}.fa-forward{--fa:"\f04e"}.fa-fast-forward,.fa-forward-fast{--fa:"\f050"}.fa-forward-step,.fa-step-forward{--fa:"\f051"}.fa-eject{--fa:"\f052"}.fa-chevron-left{--fa:"\f053"}.fa-chevron-right{--fa:"\f054"}.fa-circle-plus,.fa-plus-circle{--fa:"\f055"}.fa-circle-minus,.fa-minus-circle{--fa:"\f056"}.fa-circle-xmark,.fa-times-circle,.fa-xmark-circle{--fa:"\f057"}.fa-check-circle,.fa-circle-check{--fa:"\f058"}.fa-circle-question,.fa-question-circle{--fa:"\f059"}.fa-circle-info,.fa-info-circle{--fa:"\f05a"}.fa-crosshairs{--fa:"\f05b"}.fa-ban,.fa-cancel{--fa:"\f05e"}.fa-arrow-left{--fa:"\f060"}.fa-arrow-right{--fa:"\f061"}.fa-arrow-up{--fa:"\f062"}.fa-arrow-down{--fa:"\f063"}.fa-mail-forward,.fa-share{--fa:"\f064"}.fa-expand{--fa:"\f065"}.fa-compress{--fa:"\f066"}.fa-minus,.fa-subtract{--fa:"\f068"}.fa-circle-exclamation,.fa-exclamation-circle{--fa:"\f06a"}.fa-gift{--fa:"\f06b"}.fa-leaf{--fa:"\f06c"}.fa-fire{--fa:"\f06d"}.fa-eye{--fa:"\f06e"}.fa-eye-slash{--fa:"\f070"}.fa-exclamation-triangle,.fa-triangle-exclamation,.fa-warning{--fa:"\f071"}.fa-plane{--fa:"\f072"}.fa-calendar-alt,.fa-calendar-days{--fa:"\f073"}.fa-random,.fa-shuffle{--fa:"\f074"}.fa-comment{--fa:"\f075"}.fa-magnet{--fa:"\f076"}.fa-chevron-up{--fa:"\f077"}.fa-chevron-down{--fa:"\f078"}.fa-retweet{--fa:"\f079"}.fa-cart-shopping,.fa-shopping-cart{--fa:"\f07a"}.fa-folder,.fa-folder-blank{--fa:"\f07b"}.fa-folder-open{--fa:"\f07c"}.fa-arrows-up-down,.fa-arrows-v{--fa:"\f07d"}.fa-arrows-h,.fa-arrows-left-right{--fa:"\f07e"}.fa-bar-chart,.fa-chart-bar{--fa:"\f080"}.fa-camera-retro{--fa:"\f083"}.fa-key{--fa:"\f084"}.fa-cogs,.fa-gears{--fa:"\f085"}.fa-comments{--fa:"\f086"}.fa-star-half{--fa:"\f089"}.fa-arrow-right-from-bracket,.fa-sign-out{--fa:"\f08b"}.fa-thumb-tack,.fa-thumbtack{--fa:"\f08d"}.fa-arrow-up-right-from-square,.fa-external-link{--fa:"\f08e"}.fa-arrow-right-to-bracket,.fa-sign-in{--fa:"\f090"}.fa-trophy{--fa:"\f091"}.fa-upload{--fa:"\f093"}.fa-lemon{--fa:"\f094"}.fa-phone{--fa:"\f095"}.fa-phone-square,.fa-square-phone{--fa:"\f098"}.fa-unlock{--fa:"\f09c"}.fa-credit-card,.fa-credit-card-alt{--fa:"\f09d"}.fa-feed,.fa-rss{--fa:"\f09e"}.fa-hard-drive,.fa-hdd{--fa:"\f0a0"}.fa-bullhorn{--fa:"\f0a1"}.fa-certificate{--fa:"\f0a3"}.fa-hand-point-right{--fa:"\f0a4"}.fa-hand-point-left{--fa:"\f0a5"}.fa-hand-point-up{--fa:"\f0a6"}.fa-hand-point-down{--fa:"\f0a7"}.fa-arrow-circle-left,.fa-circle-arrow-left{--fa:"\f0a8"}.fa-arrow-circle-right,.fa-circle-arrow-right{--fa:"\f0a9"}.fa-arrow-circle-up,.fa-circle-arrow-up{--fa:"\f0aa"}.fa-arrow-circle-down,.fa-circle-arrow-down{--fa:"\f0ab"}.fa-globe{--fa:"\f0ac"}.fa-wrench{--fa:"\f0ad"}.fa-list-check,.fa-tasks{--fa:"\f0ae"}.fa-filter{--fa:"\f0b0"}.fa-briefcase{--fa:"\f0b1"}.fa-arrows-alt,.fa-up-down-left-right{--fa:"\f0b2"}.fa-users{--fa:"\f0c0"}.fa-chain,.fa-link{--fa:"\f0c1"}.fa-cloud{--fa:"\f0c2"}.fa-flask{--fa:"\f0c3"}.fa-cut,.fa-scissors{--fa:"\f0c4"}.fa-copy{--fa:"\f0c5"}.fa-paperclip{--fa:"\f0c6"}.fa-floppy-disk,.fa-save{--fa:"\f0c7"}.fa-square{--fa:"\f0c8"}.fa-bars,.fa-navicon{--fa:"\f0c9"}.fa-list-dots,.fa-list-ul{--fa:"\f0ca"}.fa-list-1-2,.fa-list-numeric,.fa-list-ol{--fa:"\f0cb"}.fa-strikethrough{--fa:"\f0cc"}.fa-underline{--fa:"\f0cd"}.fa-table{--fa:"\f0ce"}.fa-magic,.fa-wand-magic{--fa:"\f0d0"}.fa-truck{--fa:"\f0d1"}.fa-money-bill{--fa:"\f0d6"}.fa-caret-down{--fa:"\f0d7"}.fa-caret-up{--fa:"\f0d8"}.fa-caret-left{--fa:"\f0d9"}.fa-caret-right{--fa:"\f0da"}.fa-columns,.fa-table-columns{--fa:"\f0db"}.fa-sort,.fa-unsorted{--fa:"\f0dc"}.fa-sort-desc,.fa-sort-down{--fa:"\f0dd"}.fa-sort-asc,.fa-sort-up{--fa:"\f0de"}.fa-envelope{--fa:"\f0e0"}.fa-arrow-left-rotate,.fa-arrow-rotate-back,.fa-arrow-rotate-backward,.fa-arrow-rotate-left,.fa-undo{--fa:"\f0e2"}.fa-gavel,.fa-legal{--fa:"\f0e3"}.fa-bolt,.fa-zap{--fa:"\f0e7"}.fa-sitemap{--fa:"\f0e8"}.fa-umbrella{--fa:"\f0e9"}.fa-file-clipboard,.fa-paste{--fa:"\f0ea"}.fa-lightbulb{--fa:"\f0eb"}.fa-arrow-right-arrow-left,.fa-exchange{--fa:"\f0ec"}.fa-cloud-arrow-down,.fa-cloud-download,.fa-cloud-download-alt{--fa:"\f0ed"}.fa-cloud-arrow-up,.fa-cloud-upload,.fa-cloud-upload-alt{--fa:"\f0ee"}.fa-user-doctor,.fa-user-md{--fa:"\f0f0"}.fa-stethoscope{--fa:"\f0f1"}.fa-suitcase{--fa:"\f0f2"}.fa-bell{--fa:"\f0f3"}.fa-coffee,.fa-mug-saucer{--fa:"\f0f4"}.fa-hospital,.fa-hospital-alt,.fa-hospital-wide{--fa:"\f0f8"}.fa-ambulance,.fa-truck-medical{--fa:"\f0f9"}.fa-medkit,.fa-suitcase-medical{--fa:"\f0fa"}.fa-fighter-jet,.fa-jet-fighter{--fa:"\f0fb"}.fa-beer,.fa-beer-mug-empty{--fa:"\f0fc"}.fa-h-square,.fa-square-h{--fa:"\f0fd"}.fa-plus-square,.fa-square-plus{--fa:"\f0fe"}.fa-angle-double-left,.fa-angles-left{--fa:"\f100"}.fa-angle-double-right,.fa-angles-right{--fa:"\f101"}.fa-angle-double-up,.fa-angles-up{--fa:"\f102"}.fa-angle-double-down,.fa-angles-down{--fa:"\f103"}.fa-angle-left{--fa:"\f104"}.fa-angle-right{--fa:"\f105"}.fa-angle-up{--fa:"\f106"}.fa-angle-down{--fa:"\f107"}.fa-laptop{--fa:"\f109"}.fa-tablet-button{--fa:"\f10a"}.fa-mobile-button{--fa:"\f10b"}.fa-quote-left,.fa-quote-left-alt{--fa:"\f10d"}.fa-quote-right,.fa-quote-right-alt{--fa:"\f10e"}.fa-spinner{--fa:"\f110"}.fa-circle{--fa:"\f111"}.fa-face-smile,.fa-smile{--fa:"\f118"}.fa-face-frown,.fa-frown{--fa:"\f119"}.fa-face-meh,.fa-meh{--fa:"\f11a"}.fa-gamepad{--fa:"\f11b"}.fa-keyboard{--fa:"\f11c"}.fa-flag-checkered{--fa:"\f11e"}.fa-terminal{--fa:"\f120"}.fa-code{--fa:"\f121"}.fa-mail-reply-all,.fa-reply-all{--fa:"\f122"}.fa-location-arrow{--fa:"\f124"}.fa-crop{--fa:"\f125"}.fa-code-branch{--fa:"\f126"}.fa-chain-broken,.fa-chain-slash,.fa-link-slash,.fa-unlink{--fa:"\f127"}.fa-info{--fa:"\f129"}.fa-superscript{--fa:"\f12b"}.fa-subscript{--fa:"\f12c"}.fa-eraser{--fa:"\f12d"}.fa-puzzle-piece{--fa:"\f12e"}.fa-microphone{--fa:"\f130"}.fa-microphone-slash{--fa:"\f131"}.fa-shield,.fa-shield-blank{--fa:"\f132"}.fa-calendar{--fa:"\f133"}.fa-fire-extinguisher{--fa:"\f134"}.fa-rocket{--fa:"\f135"}.fa-chevron-circle-left,.fa-circle-chevron-left{--fa:"\f137"}.fa-chevron-circle-right,.fa-circle-chevron-right{--fa:"\f138"}.fa-chevron-circle-up,.fa-circle-chevron-up{--fa:"\f139"}.fa-chevron-circle-down,.fa-circle-chevron-down{--fa:"\f13a"}.fa-anchor{--fa:"\f13d"}.fa-unlock-alt,.fa-unlock-keyhole{--fa:"\f13e"}.fa-bullseye{--fa:"\f140"}.fa-ellipsis,.fa-ellipsis-h{--fa:"\f141"}.fa-ellipsis-v,.fa-ellipsis-vertical{--fa:"\f142"}.fa-rss-square,.fa-square-rss{--fa:"\f143"}.fa-circle-play,.fa-play-circle{--fa:"\f144"}.fa-ticket{--fa:"\f145"}.fa-minus-square,.fa-square-minus{--fa:"\f146"}.fa-arrow-turn-up,.fa-level-up{--fa:"\f148"}.fa-arrow-turn-down,.fa-level-down{--fa:"\f149"}.fa-check-square,.fa-square-check{--fa:"\f14a"}.fa-pen-square,.fa-pencil-square,.fa-square-pen{--fa:"\f14b"}.fa-external-link-square,.fa-square-arrow-up-right{--fa:"\f14c"}.fa-share-from-square,.fa-share-square{--fa:"\f14d"}.fa-compass{--fa:"\f14e"}.fa-caret-square-down,.fa-square-caret-down{--fa:"\f150"}.fa-caret-square-up,.fa-square-caret-up{--fa:"\f151"}.fa-caret-square-right,.fa-square-caret-right{--fa:"\f152"}.fa-eur,.fa-euro,.fa-euro-sign{--fa:"\f153"}.fa-gbp,.fa-pound-sign,.fa-sterling-sign{--fa:"\f154"}.fa-rupee,.fa-rupee-sign{--fa:"\f156"}.fa-cny,.fa-jpy,.fa-rmb,.fa-yen,.fa-yen-sign{--fa:"\f157"}.fa-rouble,.fa-rub,.fa-ruble,.fa-ruble-sign{--fa:"\f158"}.fa-krw,.fa-won,.fa-won-sign{--fa:"\f159"}.fa-file{--fa:"\f15b"}.fa-file-alt,.fa-file-lines,.fa-file-text{--fa:"\f15c"}.fa-arrow-down-a-z,.fa-sort-alpha-asc,.fa-sort-alpha-down{--fa:"\f15d"}.fa-arrow-up-a-z,.fa-sort-alpha-up{--fa:"\f15e"}.fa-arrow-down-wide-short,.fa-sort-amount-asc,.fa-sort-amount-down{--fa:"\f160"}.fa-arrow-up-wide-short,.fa-sort-amount-up{--fa:"\f161"}.fa-arrow-down-1-9,.fa-sort-numeric-asc,.fa-sort-numeric-down{--fa:"\f162"}.fa-arrow-up-1-9,.fa-sort-numeric-up{--fa:"\f163"}.fa-thumbs-up{--fa:"\f164"}.fa-thumbs-down{--fa:"\f165"}.fa-arrow-down-long,.fa-long-arrow-down{--fa:"\f175"}.fa-arrow-up-long,.fa-long-arrow-up{--fa:"\f176"}.fa-arrow-left-long,.fa-long-arrow-left{--fa:"\f177"}.fa-arrow-right-long,.fa-long-arrow-right{--fa:"\f178"}.fa-female,.fa-person-dress{--fa:"\f182"}.fa-male,.fa-person{--fa:"\f183"}.fa-sun{--fa:"\f185"}.fa-moon{--fa:"\f186"}.fa-archive,.fa-box-archive{--fa:"\f187"}.fa-bug{--fa:"\f188"}.fa-caret-square-left,.fa-square-caret-left{--fa:"\f191"}.fa-circle-dot,.fa-dot-circle{--fa:"\f192"}.fa-wheelchair{--fa:"\f193"}.fa-lira-sign{--fa:"\f195"}.fa-shuttle-space,.fa-space-shuttle{--fa:"\f197"}.fa-envelope-square,.fa-square-envelope{--fa:"\f199"}.fa-bank,.fa-building-columns,.fa-institution,.fa-museum,.fa-university{--fa:"\f19c"}.fa-graduation-cap,.fa-mortar-board{--fa:"\f19d"}.fa-language{--fa:"\f1ab"}.fa-fax{--fa:"\f1ac"}.fa-building{--fa:"\f1ad"}.fa-child{--fa:"\f1ae"}.fa-paw{--fa:"\f1b0"}.fa-cube{--fa:"\f1b2"}.fa-cubes{--fa:"\f1b3"}.fa-recycle{--fa:"\f1b8"}.fa-automobile,.fa-car{--fa:"\f1b9"}.fa-cab,.fa-taxi{--fa:"\f1ba"}.fa-tree{--fa:"\f1bb"}.fa-database{--fa:"\f1c0"}.fa-file-pdf{--fa:"\f1c1"}.fa-file-word{--fa:"\f1c2"}.fa-file-excel{--fa:"\f1c3"}.fa-file-powerpoint{--fa:"\f1c4"}.fa-file-image{--fa:"\f1c5"}.fa-file-archive,.fa-file-zipper{--fa:"\f1c6"}.fa-file-audio{--fa:"\f1c7"}.fa-file-video{--fa:"\f1c8"}.fa-file-code{--fa:"\f1c9"}.fa-life-ring{--fa:"\f1cd"}.fa-circle-notch{--fa:"\f1ce"}.fa-paper-plane{--fa:"\f1d8"}.fa-clock-rotate-left,.fa-history{--fa:"\f1da"}.fa-header,.fa-heading{--fa:"\f1dc"}.fa-paragraph{--fa:"\f1dd"}.fa-sliders,.fa-sliders-h{--fa:"\f1de"}.fa-share-alt,.fa-share-nodes{--fa:"\f1e0"}.fa-share-alt-square,.fa-square-share-nodes{--fa:"\f1e1"}.fa-bomb{--fa:"\f1e2"}.fa-futbol,.fa-futbol-ball,.fa-soccer-ball{--fa:"\f1e3"}.fa-teletype,.fa-tty{--fa:"\f1e4"}.fa-binoculars{--fa:"\f1e5"}.fa-plug{--fa:"\f1e6"}.fa-newspaper{--fa:"\f1ea"}.fa-wifi,.fa-wifi-3,.fa-wifi-strong{--fa:"\f1eb"}.fa-calculator{--fa:"\f1ec"}.fa-bell-slash{--fa:"\f1f6"}.fa-trash{--fa:"\f1f8"}.fa-copyright{--fa:"\f1f9"}.fa-eye-dropper,.fa-eye-dropper-empty,.fa-eyedropper{--fa:"\f1fb"}.fa-paint-brush,.fa-paintbrush{--fa:"\f1fc"}.fa-birthday-cake,.fa-cake,.fa-cake-candles{--fa:"\f1fd"}.fa-area-chart,.fa-chart-area{--fa:"\f1fe"}.fa-chart-pie,.fa-pie-chart{--fa:"\f200"}.fa-chart-line,.fa-line-chart{--fa:"\f201"}.fa-toggle-off{--fa:"\f204"}.fa-toggle-on{--fa:"\f205"}.fa-bicycle{--fa:"\f206"}.fa-bus{--fa:"\f207"}.fa-closed-captioning{--fa:"\f20a"}.fa-ils,.fa-shekel,.fa-shekel-sign,.fa-sheqel,.fa-sheqel-sign{--fa:"\f20b"}.fa-cart-plus{--fa:"\f217"}.fa-cart-arrow-down{--fa:"\f218"}.fa-diamond{--fa:"\f219"}.fa-ship{--fa:"\f21a"}.fa-user-secret{--fa:"\f21b"}.fa-motorcycle{--fa:"\f21c"}.fa-street-view{--fa:"\f21d"}.fa-heart-pulse,.fa-heartbeat{--fa:"\f21e"}.fa-venus{--fa:"\f221"}.fa-mars{--fa:"\f222"}.fa-mercury{--fa:"\f223"}.fa-mars-and-venus{--fa:"\f224"}.fa-transgender,.fa-transgender-alt{--fa:"\f225"}.fa-venus-double{--fa:"\f226"}.fa-mars-double{--fa:"\f227"}.fa-venus-mars{--fa:"\f228"}.fa-mars-stroke{--fa:"\f229"}.fa-mars-stroke-up,.fa-mars-stroke-v{--fa:"\f22a"}.fa-mars-stroke-h,.fa-mars-stroke-right{--fa:"\f22b"}.fa-neuter{--fa:"\f22c"}.fa-genderless{--fa:"\f22d"}.fa-server{--fa:"\f233"}.fa-user-plus{--fa:"\f234"}.fa-user-times,.fa-user-xmark{--fa:"\f235"}.fa-bed{--fa:"\f236"}.fa-train{--fa:"\f238"}.fa-subway,.fa-train-subway{--fa:"\f239"}.fa-battery,.fa-battery-5,.fa-battery-full{--fa:"\f240"}.fa-battery-4,.fa-battery-three-quarters{--fa:"\f241"}.fa-battery-3,.fa-battery-half{--fa:"\f242"}.fa-battery-2,.fa-battery-quarter{--fa:"\f243"}.fa-battery-0,.fa-battery-empty{--fa:"\f244"}.fa-arrow-pointer,.fa-mouse-pointer{--fa:"\f245"}.fa-i-cursor{--fa:"\f246"}.fa-object-group{--fa:"\f247"}.fa-object-ungroup{--fa:"\f248"}.fa-note-sticky,.fa-sticky-note{--fa:"\f249"}.fa-clone{--fa:"\f24d"}.fa-balance-scale,.fa-scale-balanced{--fa:"\f24e"}.fa-hourglass-1,.fa-hourglass-start{--fa:"\f251"}.fa-hourglass-2,.fa-hourglass-half{--fa:"\f252"}.fa-hourglass-3,.fa-hourglass-end{--fa:"\f253"}.fa-hourglass,.fa-hourglass-empty{--fa:"\f254"}.fa-hand-back-fist,.fa-hand-rock{--fa:"\f255"}.fa-hand,.fa-hand-paper{--fa:"\f256"}.fa-hand-scissors{--fa:"\f257"}.fa-hand-lizard{--fa:"\f258"}.fa-hand-spock{--fa:"\f259"}.fa-hand-pointer{--fa:"\f25a"}.fa-hand-peace{--fa:"\f25b"}.fa-trademark{--fa:"\f25c"}.fa-registered{--fa:"\f25d"}.fa-television,.fa-tv,.fa-tv-alt{--fa:"\f26c"}.fa-calendar-plus{--fa:"\f271"}.fa-calendar-minus{--fa:"\f272"}.fa-calendar-times,.fa-calendar-xmark{--fa:"\f273"}.fa-calendar-check{--fa:"\f274"}.fa-industry{--fa:"\f275"}.fa-map-pin{--fa:"\f276"}.fa-map-signs,.fa-signs-post{--fa:"\f277"}.fa-map{--fa:"\f279"}.fa-comment-alt,.fa-message{--fa:"\f27a"}.fa-circle-pause,.fa-pause-circle{--fa:"\f28b"}.fa-circle-stop,.fa-stop-circle{--fa:"\f28d"}.fa-bag-shopping,.fa-shopping-bag{--fa:"\f290"}.fa-basket-shopping,.fa-shopping-basket{--fa:"\f291"}.fa-universal-access{--fa:"\f29a"}.fa-blind,.fa-person-walking-with-cane{--fa:"\f29d"}.fa-audio-description{--fa:"\f29e"}.fa-phone-volume,.fa-volume-control-phone{--fa:"\f2a0"}.fa-braille{--fa:"\f2a1"}.fa-assistive-listening-systems,.fa-ear-listen{--fa:"\f2a2"}.fa-american-sign-language-interpreting,.fa-asl-interpreting,.fa-hands-american-sign-language-interpreting,.fa-hands-asl-interpreting{--fa:"\f2a3"}.fa-deaf,.fa-deafness,.fa-ear-deaf,.fa-hard-of-hearing{--fa:"\f2a4"}.fa-hands,.fa-sign-language,.fa-signing{--fa:"\f2a7"}.fa-eye-low-vision,.fa-low-vision{--fa:"\f2a8"}.fa-font-awesome,.fa-font-awesome-flag,.fa-font-awesome-logo-full{--fa:"\f2b4"}.fa-handshake,.fa-handshake-alt,.fa-handshake-simple{--fa:"\f2b5"}.fa-envelope-open{--fa:"\f2b6"}.fa-address-book,.fa-contact-book{--fa:"\f2b9"}.fa-address-card,.fa-contact-card,.fa-vcard{--fa:"\f2bb"}.fa-circle-user,.fa-user-circle{--fa:"\f2bd"}.fa-id-badge{--fa:"\f2c1"}.fa-drivers-license,.fa-id-card{--fa:"\f2c2"}.fa-temperature-4,.fa-temperature-full,.fa-thermometer-4,.fa-thermometer-full{--fa:"\f2c7"}.fa-temperature-3,.fa-temperature-three-quarters,.fa-thermometer-3,.fa-thermometer-three-quarters{--fa:"\f2c8"}.fa-temperature-2,.fa-temperature-half,.fa-thermometer-2,.fa-thermometer-half{--fa:"\f2c9"}.fa-temperature-1,.fa-temperature-quarter,.fa-thermometer-1,.fa-thermometer-quarter{--fa:"\f2ca"}.fa-temperature-0,.fa-temperature-empty,.fa-thermometer-0,.fa-thermometer-empty{--fa:"\f2cb"}.fa-shower{--fa:"\f2cc"}.fa-bath,.fa-bathtub{--fa:"\f2cd"}.fa-podcast{--fa:"\f2ce"}.fa-window-maximize{--fa:"\f2d0"}.fa-window-minimize{--fa:"\f2d1"}.fa-window-restore{--fa:"\f2d2"}.fa-square-xmark,.fa-times-square,.fa-xmark-square{--fa:"\f2d3"}.fa-microchip{--fa:"\f2db"}.fa-snowflake{--fa:"\f2dc"}.fa-spoon,.fa-utensil-spoon{--fa:"\f2e5"}.fa-cutlery,.fa-utensils{--fa:"\f2e7"}.fa-rotate-back,.fa-rotate-backward,.fa-rotate-left,.fa-undo-alt{--fa:"\f2ea"}.fa-trash-alt,.fa-trash-can{--fa:"\f2ed"}.fa-rotate,.fa-sync-alt{--fa:"\f2f1"}.fa-stopwatch{--fa:"\f2f2"}.fa-right-from-bracket,.fa-sign-out-alt{--fa:"\f2f5"}.fa-right-to-bracket,.fa-sign-in-alt{--fa:"\f2f6"}.fa-redo-alt,.fa-rotate-forward,.fa-rotate-right{--fa:"\f2f9"}.fa-poo{--fa:"\f2fe"}.fa-images{--fa:"\f302"}.fa-pencil,.fa-pencil-alt{--fa:"\f303"}.fa-pen{--fa:"\f304"}.fa-pen-alt,.fa-pen-clip{--fa:"\f305"}.fa-octagon{--fa:"\f306"}.fa-down-long,.fa-long-arrow-alt-down{--fa:"\f309"}.fa-left-long,.fa-long-arrow-alt-left{--fa:"\f30a"}.fa-long-arrow-alt-right,.fa-right-long{--fa:"\f30b"}.fa-long-arrow-alt-up,.fa-up-long{--fa:"\f30c"}.fa-hexagon{--fa:"\f312"}.fa-file-edit,.fa-file-pen{--fa:"\f31c"}.fa-expand-arrows-alt,.fa-maximize{--fa:"\f31e"}.fa-clipboard{--fa:"\f328"}.fa-arrows-alt-h,.fa-left-right{--fa:"\f337"}.fa-arrows-alt-v,.fa-up-down{--fa:"\f338"}.fa-alarm-clock{--fa:"\f34e"}.fa-arrow-alt-circle-down,.fa-circle-down{--fa:"\f358"}.fa-arrow-alt-circle-left,.fa-circle-left{--fa:"\f359"}.fa-arrow-alt-circle-right,.fa-circle-right{--fa:"\f35a"}.fa-arrow-alt-circle-up,.fa-circle-up{--fa:"\f35b"}.fa-external-link-alt,.fa-up-right-from-square{--fa:"\f35d"}.fa-external-link-square-alt,.fa-square-up-right{--fa:"\f360"}.fa-exchange-alt,.fa-right-left{--fa:"\f362"}.fa-repeat{--fa:"\f363"}.fa-code-commit{--fa:"\f386"}.fa-code-merge{--fa:"\f387"}.fa-desktop,.fa-desktop-alt{--fa:"\f390"}.fa-gem{--fa:"\f3a5"}.fa-level-down-alt,.fa-turn-down{--fa:"\f3be"}.fa-level-up-alt,.fa-turn-up{--fa:"\f3bf"}.fa-lock-open{--fa:"\f3c1"}.fa-location-dot,.fa-map-marker-alt{--fa:"\f3c5"}.fa-microphone-alt,.fa-microphone-lines{--fa:"\f3c9"}.fa-mobile-alt,.fa-mobile-screen-button{--fa:"\f3cd"}.fa-mobile,.fa-mobile-android,.fa-mobile-phone{--fa:"\f3ce"}.fa-mobile-android-alt,.fa-mobile-screen{--fa:"\f3cf"}.fa-money-bill-1,.fa-money-bill-alt{--fa:"\f3d1"}.fa-phone-slash{--fa:"\f3dd"}.fa-image-portrait,.fa-portrait{--fa:"\f3e0"}.fa-mail-reply,.fa-reply{--fa:"\f3e5"}.fa-shield-alt,.fa-shield-halved{--fa:"\f3ed"}.fa-tablet-alt,.fa-tablet-screen-button{--fa:"\f3fa"}.fa-tablet,.fa-tablet-android{--fa:"\f3fb"}.fa-ticket-alt,.fa-ticket-simple{--fa:"\f3ff"}.fa-rectangle-times,.fa-rectangle-xmark,.fa-times-rectangle,.fa-window-close{--fa:"\f410"}.fa-compress-alt,.fa-down-left-and-up-right-to-center{--fa:"\f422"}.fa-expand-alt,.fa-up-right-and-down-left-from-center{--fa:"\f424"}.fa-baseball-bat-ball{--fa:"\f432"}.fa-baseball,.fa-baseball-ball{--fa:"\f433"}.fa-basketball,.fa-basketball-ball{--fa:"\f434"}.fa-bowling-ball{--fa:"\f436"}.fa-chess{--fa:"\f439"}.fa-chess-bishop{--fa:"\f43a"}.fa-chess-board{--fa:"\f43c"}.fa-chess-king{--fa:"\f43f"}.fa-chess-knight{--fa:"\f441"}.fa-chess-pawn{--fa:"\f443"}.fa-chess-queen{--fa:"\f445"}.fa-chess-rook{--fa:"\f447"}.fa-dumbbell{--fa:"\f44b"}.fa-football,.fa-football-ball{--fa:"\f44e"}.fa-golf-ball,.fa-golf-ball-tee{--fa:"\f450"}.fa-hockey-puck{--fa:"\f453"}.fa-broom-ball,.fa-quidditch,.fa-quidditch-broom-ball{--fa:"\f458"}.fa-square-full{--fa:"\f45c"}.fa-ping-pong-paddle-ball,.fa-table-tennis,.fa-table-tennis-paddle-ball{--fa:"\f45d"}.fa-volleyball,.fa-volleyball-ball{--fa:"\f45f"}.fa-allergies,.fa-hand-dots{--fa:"\f461"}.fa-band-aid,.fa-bandage{--fa:"\f462"}.fa-box{--fa:"\f466"}.fa-boxes,.fa-boxes-alt,.fa-boxes-stacked{--fa:"\f468"}.fa-briefcase-medical{--fa:"\f469"}.fa-burn,.fa-fire-flame-simple{--fa:"\f46a"}.fa-capsules{--fa:"\f46b"}.fa-clipboard-check{--fa:"\f46c"}.fa-clipboard-list{--fa:"\f46d"}.fa-diagnoses,.fa-person-dots-from-line{--fa:"\f470"}.fa-dna{--fa:"\f471"}.fa-dolly,.fa-dolly-box{--fa:"\f472"}.fa-cart-flatbed,.fa-dolly-flatbed{--fa:"\f474"}.fa-file-medical{--fa:"\f477"}.fa-file-medical-alt,.fa-file-waveform{--fa:"\f478"}.fa-first-aid,.fa-kit-medical{--fa:"\f479"}.fa-circle-h,.fa-hospital-symbol{--fa:"\f47e"}.fa-id-card-alt,.fa-id-card-clip{--fa:"\f47f"}.fa-notes-medical{--fa:"\f481"}.fa-pallet{--fa:"\f482"}.fa-pills{--fa:"\f484"}.fa-prescription-bottle{--fa:"\f485"}.fa-prescription-bottle-alt,.fa-prescription-bottle-medical{--fa:"\f486"}.fa-bed-pulse,.fa-procedures{--fa:"\f487"}.fa-shipping-fast,.fa-truck-fast{--fa:"\f48b"}.fa-smoking{--fa:"\f48d"}.fa-syringe{--fa:"\f48e"}.fa-tablets{--fa:"\f490"}.fa-thermometer{--fa:"\f491"}.fa-vial{--fa:"\f492"}.fa-vials{--fa:"\f493"}.fa-warehouse{--fa:"\f494"}.fa-weight,.fa-weight-scale{--fa:"\f496"}.fa-x-ray{--fa:"\f497"}.fa-box-open{--fa:"\f49e"}.fa-comment-dots,.fa-commenting{--fa:"\f4ad"}.fa-comment-slash{--fa:"\f4b3"}.fa-couch{--fa:"\f4b8"}.fa-circle-dollar-to-slot,.fa-donate{--fa:"\f4b9"}.fa-dove{--fa:"\f4ba"}.fa-hand-holding{--fa:"\f4bd"}.fa-hand-holding-heart{--fa:"\f4be"}.fa-hand-holding-dollar,.fa-hand-holding-usd{--fa:"\f4c0"}.fa-hand-holding-droplet,.fa-hand-holding-water{--fa:"\f4c1"}.fa-hands-holding{--fa:"\f4c2"}.fa-hands-helping,.fa-handshake-angle{--fa:"\f4c4"}.fa-parachute-box{--fa:"\f4cd"}.fa-people-carry,.fa-people-carry-box{--fa:"\f4ce"}.fa-piggy-bank{--fa:"\f4d3"}.fa-ribbon{--fa:"\f4d6"}.fa-route{--fa:"\f4d7"}.fa-seedling,.fa-sprout{--fa:"\f4d8"}.fa-sign,.fa-sign-hanging{--fa:"\f4d9"}.fa-face-smile-wink,.fa-smile-wink{--fa:"\f4da"}.fa-tape{--fa:"\f4db"}.fa-truck-loading,.fa-truck-ramp-box{--fa:"\f4de"}.fa-truck-moving{--fa:"\f4df"}.fa-video-slash{--fa:"\f4e2"}.fa-wine-glass{--fa:"\f4e3"}.fa-user-astronaut{--fa:"\f4fb"}.fa-user-check{--fa:"\f4fc"}.fa-user-clock{--fa:"\f4fd"}.fa-user-cog,.fa-user-gear{--fa:"\f4fe"}.fa-user-edit,.fa-user-pen{--fa:"\f4ff"}.fa-user-friends,.fa-user-group{--fa:"\f500"}.fa-user-graduate{--fa:"\f501"}.fa-user-lock{--fa:"\f502"}.fa-user-minus{--fa:"\f503"}.fa-user-ninja{--fa:"\f504"}.fa-user-shield{--fa:"\f505"}.fa-user-alt-slash,.fa-user-large-slash,.fa-user-slash{--fa:"\f506"}.fa-user-tag{--fa:"\f507"}.fa-user-tie{--fa:"\f508"}.fa-users-cog,.fa-users-gear{--fa:"\f509"}.fa-balance-scale-left,.fa-scale-unbalanced{--fa:"\f515"}.fa-balance-scale-right,.fa-scale-unbalanced-flip{--fa:"\f516"}.fa-blender{--fa:"\f517"}.fa-book-open{--fa:"\f518"}.fa-broadcast-tower,.fa-tower-broadcast{--fa:"\f519"}.fa-broom{--fa:"\f51a"}.fa-blackboard,.fa-chalkboard{--fa:"\f51b"}.fa-chalkboard-teacher,.fa-chalkboard-user{--fa:"\f51c"}.fa-church{--fa:"\f51d"}.fa-coins{--fa:"\f51e"}.fa-compact-disc{--fa:"\f51f"}.fa-crow{--fa:"\f520"}.fa-crown{--fa:"\f521"}.fa-dice{--fa:"\f522"}.fa-dice-five{--fa:"\f523"}.fa-dice-four{--fa:"\f524"}.fa-dice-one{--fa:"\f525"}.fa-dice-six{--fa:"\f526"}.fa-dice-three{--fa:"\f527"}.fa-dice-two{--fa:"\f528"}.fa-divide{--fa:"\f529"}.fa-door-closed{--fa:"\f52a"}.fa-door-open{--fa:"\f52b"}.fa-feather{--fa:"\f52d"}.fa-frog{--fa:"\f52e"}.fa-gas-pump{--fa:"\f52f"}.fa-glasses{--fa:"\f530"}.fa-greater-than-equal{--fa:"\f532"}.fa-helicopter{--fa:"\f533"}.fa-infinity{--fa:"\f534"}.fa-kiwi-bird{--fa:"\f535"}.fa-less-than-equal{--fa:"\f537"}.fa-memory{--fa:"\f538"}.fa-microphone-alt-slash,.fa-microphone-lines-slash{--fa:"\f539"}.fa-money-bill-wave{--fa:"\f53a"}.fa-money-bill-1-wave,.fa-money-bill-wave-alt{--fa:"\f53b"}.fa-money-check{--fa:"\f53c"}.fa-money-check-alt,.fa-money-check-dollar{--fa:"\f53d"}.fa-not-equal{--fa:"\f53e"}.fa-palette{--fa:"\f53f"}.fa-parking,.fa-square-parking{--fa:"\f540"}.fa-diagram-project,.fa-project-diagram{--fa:"\f542"}.fa-receipt{--fa:"\f543"}.fa-robot{--fa:"\f544"}.fa-ruler{--fa:"\f545"}.fa-ruler-combined{--fa:"\f546"}.fa-ruler-horizontal{--fa:"\f547"}.fa-ruler-vertical{--fa:"\f548"}.fa-school{--fa:"\f549"}.fa-screwdriver{--fa:"\f54a"}.fa-shoe-prints{--fa:"\f54b"}.fa-skull{--fa:"\f54c"}.fa-ban-smoking,.fa-smoking-ban{--fa:"\f54d"}.fa-store{--fa:"\f54e"}.fa-shop,.fa-store-alt{--fa:"\f54f"}.fa-bars-staggered,.fa-reorder,.fa-stream{--fa:"\f550"}.fa-stroopwafel{--fa:"\f551"}.fa-toolbox{--fa:"\f552"}.fa-shirt,.fa-t-shirt,.fa-tshirt{--fa:"\f553"}.fa-person-walking,.fa-walking{--fa:"\f554"}.fa-wallet{--fa:"\f555"}.fa-angry,.fa-face-angry{--fa:"\f556"}.fa-archway{--fa:"\f557"}.fa-atlas,.fa-book-atlas{--fa:"\f558"}.fa-award{--fa:"\f559"}.fa-backspace,.fa-delete-left{--fa:"\f55a"}.fa-bezier-curve{--fa:"\f55b"}.fa-bong{--fa:"\f55c"}.fa-brush{--fa:"\f55d"}.fa-bus-alt,.fa-bus-simple{--fa:"\f55e"}.fa-cannabis{--fa:"\f55f"}.fa-check-double{--fa:"\f560"}.fa-cocktail,.fa-martini-glass-citrus{--fa:"\f561"}.fa-bell-concierge,.fa-concierge-bell{--fa:"\f562"}.fa-cookie{--fa:"\f563"}.fa-cookie-bite{--fa:"\f564"}.fa-crop-alt,.fa-crop-simple{--fa:"\f565"}.fa-digital-tachograph,.fa-tachograph-digital{--fa:"\f566"}.fa-dizzy,.fa-face-dizzy{--fa:"\f567"}.fa-compass-drafting,.fa-drafting-compass{--fa:"\f568"}.fa-drum{--fa:"\f569"}.fa-drum-steelpan{--fa:"\f56a"}.fa-feather-alt,.fa-feather-pointed{--fa:"\f56b"}.fa-file-contract{--fa:"\f56c"}.fa-file-arrow-down,.fa-file-download{--fa:"\f56d"}.fa-arrow-right-from-file,.fa-file-export{--fa:"\f56e"}.fa-arrow-right-to-file,.fa-file-import{--fa:"\f56f"}.fa-file-invoice{--fa:"\f570"}.fa-file-invoice-dollar{--fa:"\f571"}.fa-file-prescription{--fa:"\f572"}.fa-file-signature{--fa:"\f573"}.fa-file-arrow-up,.fa-file-upload{--fa:"\f574"}.fa-fill{--fa:"\f575"}.fa-fill-drip{--fa:"\f576"}.fa-fingerprint{--fa:"\f577"}.fa-fish{--fa:"\f578"}.fa-face-flushed,.fa-flushed{--fa:"\f579"}.fa-face-frown-open,.fa-frown-open{--fa:"\f57a"}.fa-glass-martini-alt,.fa-martini-glass{--fa:"\f57b"}.fa-earth-africa,.fa-globe-africa{--fa:"\f57c"}.fa-earth,.fa-earth-america,.fa-earth-americas,.fa-globe-americas{--fa:"\f57d"}.fa-earth-asia,.fa-globe-asia{--fa:"\f57e"}.fa-face-grimace,.fa-grimace{--fa:"\f57f"}.fa-face-grin,.fa-grin{--fa:"\f580"}.fa-face-grin-wide,.fa-grin-alt{--fa:"\f581"}.fa-face-grin-beam,.fa-grin-beam{--fa:"\f582"}.fa-face-grin-beam-sweat,.fa-grin-beam-sweat{--fa:"\f583"}.fa-face-grin-hearts,.fa-grin-hearts{--fa:"\f584"}.fa-face-grin-squint,.fa-grin-squint{--fa:"\f585"}.fa-face-grin-squint-tears,.fa-grin-squint-tears{--fa:"\f586"}.fa-face-grin-stars,.fa-grin-stars{--fa:"\f587"}.fa-face-grin-tears,.fa-grin-tears{--fa:"\f588"}.fa-face-grin-tongue,.fa-grin-tongue{--fa:"\f589"}.fa-face-grin-tongue-squint,.fa-grin-tongue-squint{--fa:"\f58a"}.fa-face-grin-tongue-wink,.fa-grin-tongue-wink{--fa:"\f58b"}.fa-face-grin-wink,.fa-grin-wink{--fa:"\f58c"}.fa-grid-horizontal,.fa-grip,.fa-grip-horizontal{--fa:"\f58d"}.fa-grid-vertical,.fa-grip-vertical{--fa:"\f58e"}.fa-headset{--fa:"\f590"}.fa-highlighter{--fa:"\f591"}.fa-hot-tub,.fa-hot-tub-person{--fa:"\f593"}.fa-hotel{--fa:"\f594"}.fa-joint{--fa:"\f595"}.fa-face-kiss,.fa-kiss{--fa:"\f596"}.fa-face-kiss-beam,.fa-kiss-beam{--fa:"\f597"}.fa-face-kiss-wink-heart,.fa-kiss-wink-heart{--fa:"\f598"}.fa-face-laugh,.fa-laugh{--fa:"\f599"}.fa-face-laugh-beam,.fa-laugh-beam{--fa:"\f59a"}.fa-face-laugh-squint,.fa-laugh-squint{--fa:"\f59b"}.fa-face-laugh-wink,.fa-laugh-wink{--fa:"\f59c"}.fa-cart-flatbed-suitcase,.fa-luggage-cart{--fa:"\f59d"}.fa-map-location,.fa-map-marked{--fa:"\f59f"}.fa-map-location-dot,.fa-map-marked-alt{--fa:"\f5a0"}.fa-marker{--fa:"\f5a1"}.fa-medal{--fa:"\f5a2"}.fa-face-meh-blank,.fa-meh-blank{--fa:"\f5a4"}.fa-face-rolling-eyes,.fa-meh-rolling-eyes{--fa:"\f5a5"}.fa-monument{--fa:"\f5a6"}.fa-mortar-pestle{--fa:"\f5a7"}.fa-paint-roller{--fa:"\f5aa"}.fa-passport{--fa:"\f5ab"}.fa-pen-fancy{--fa:"\f5ac"}.fa-pen-nib{--fa:"\f5ad"}.fa-pen-ruler,.fa-pencil-ruler{--fa:"\f5ae"}.fa-plane-arrival{--fa:"\f5af"}.fa-plane-departure{--fa:"\f5b0"}.fa-prescription{--fa:"\f5b1"}.fa-face-sad-cry,.fa-sad-cry{--fa:"\f5b3"}.fa-face-sad-tear,.fa-sad-tear{--fa:"\f5b4"}.fa-shuttle-van,.fa-van-shuttle{--fa:"\f5b6"}.fa-signature{--fa:"\f5b7"}.fa-face-smile-beam,.fa-smile-beam{--fa:"\f5b8"}.fa-solar-panel{--fa:"\f5ba"}.fa-spa{--fa:"\f5bb"}.fa-splotch{--fa:"\f5bc"}.fa-spray-can{--fa:"\f5bd"}.fa-stamp{--fa:"\f5bf"}.fa-star-half-alt,.fa-star-half-stroke{--fa:"\f5c0"}.fa-suitcase-rolling{--fa:"\f5c1"}.fa-face-surprise,.fa-surprise{--fa:"\f5c2"}.fa-swatchbook{--fa:"\f5c3"}.fa-person-swimming,.fa-swimmer{--fa:"\f5c4"}.fa-ladder-water,.fa-swimming-pool,.fa-water-ladder{--fa:"\f5c5"}.fa-droplet-slash,.fa-tint-slash{--fa:"\f5c7"}.fa-face-tired,.fa-tired{--fa:"\f5c8"}.fa-tooth{--fa:"\f5c9"}.fa-umbrella-beach{--fa:"\f5ca"}.fa-weight-hanging{--fa:"\f5cd"}.fa-wine-glass-alt,.fa-wine-glass-empty{--fa:"\f5ce"}.fa-air-freshener,.fa-spray-can-sparkles{--fa:"\f5d0"}.fa-apple-alt,.fa-apple-whole{--fa:"\f5d1"}.fa-atom{--fa:"\f5d2"}.fa-bone{--fa:"\f5d7"}.fa-book-open-reader,.fa-book-reader{--fa:"\f5da"}.fa-brain{--fa:"\f5dc"}.fa-car-alt,.fa-car-rear{--fa:"\f5de"}.fa-battery-car,.fa-car-battery{--fa:"\f5df"}.fa-car-burst,.fa-car-crash{--fa:"\f5e1"}.fa-car-side{--fa:"\f5e4"}.fa-charging-station{--fa:"\f5e7"}.fa-diamond-turn-right,.fa-directions{--fa:"\f5eb"}.fa-draw-polygon,.fa-vector-polygon{--fa:"\f5ee"}.fa-laptop-code{--fa:"\f5fc"}.fa-layer-group{--fa:"\f5fd"}.fa-location,.fa-location-crosshairs{--fa:"\f601"}.fa-lungs{--fa:"\f604"}.fa-microscope{--fa:"\f610"}.fa-oil-can{--fa:"\f613"}.fa-poop{--fa:"\f619"}.fa-shapes,.fa-triangle-circle-square{--fa:"\f61f"}.fa-star-of-life{--fa:"\f621"}.fa-dashboard,.fa-gauge,.fa-gauge-med,.fa-tachometer-alt-average{--fa:"\f624"}.fa-gauge-high,.fa-tachometer-alt,.fa-tachometer-alt-fast{--fa:"\f625"}.fa-gauge-simple,.fa-gauge-simple-med,.fa-tachometer-average{--fa:"\f629"}.fa-gauge-simple-high,.fa-tachometer,.fa-tachometer-fast{--fa:"\f62a"}.fa-teeth{--fa:"\f62e"}.fa-teeth-open{--fa:"\f62f"}.fa-masks-theater,.fa-theater-masks{--fa:"\f630"}.fa-traffic-light{--fa:"\f637"}.fa-truck-monster{--fa:"\f63b"}.fa-truck-pickup{--fa:"\f63c"}.fa-ad,.fa-rectangle-ad{--fa:"\f641"}.fa-ankh{--fa:"\f644"}.fa-bible,.fa-book-bible{--fa:"\f647"}.fa-briefcase-clock,.fa-business-time{--fa:"\f64a"}.fa-city{--fa:"\f64f"}.fa-comment-dollar{--fa:"\f651"}.fa-comments-dollar{--fa:"\f653"}.fa-cross{--fa:"\f654"}.fa-dharmachakra{--fa:"\f655"}.fa-envelope-open-text{--fa:"\f658"}.fa-folder-minus{--fa:"\f65d"}.fa-folder-plus{--fa:"\f65e"}.fa-filter-circle-dollar,.fa-funnel-dollar{--fa:"\f662"}.fa-gopuram{--fa:"\f664"}.fa-hamsa{--fa:"\f665"}.fa-bahai,.fa-haykal{--fa:"\f666"}.fa-jedi{--fa:"\f669"}.fa-book-journal-whills,.fa-journal-whills{--fa:"\f66a"}.fa-kaaba{--fa:"\f66b"}.fa-khanda{--fa:"\f66d"}.fa-landmark{--fa:"\f66f"}.fa-envelopes-bulk,.fa-mail-bulk{--fa:"\f674"}.fa-menorah{--fa:"\f676"}.fa-mosque{--fa:"\f678"}.fa-om{--fa:"\f679"}.fa-pastafarianism,.fa-spaghetti-monster-flying{--fa:"\f67b"}.fa-peace{--fa:"\f67c"}.fa-place-of-worship{--fa:"\f67f"}.fa-poll,.fa-square-poll-vertical{--fa:"\f681"}.fa-poll-h,.fa-square-poll-horizontal{--fa:"\f682"}.fa-person-praying,.fa-pray{--fa:"\f683"}.fa-hands-praying,.fa-praying-hands{--fa:"\f684"}.fa-book-quran,.fa-quran{--fa:"\f687"}.fa-magnifying-glass-dollar,.fa-search-dollar{--fa:"\f688"}.fa-magnifying-glass-location,.fa-search-location{--fa:"\f689"}.fa-socks{--fa:"\f696"}.fa-square-root-alt,.fa-square-root-variable{--fa:"\f698"}.fa-star-and-crescent{--fa:"\f699"}.fa-star-of-david{--fa:"\f69a"}.fa-synagogue{--fa:"\f69b"}.fa-scroll-torah,.fa-torah{--fa:"\f6a0"}.fa-torii-gate{--fa:"\f6a1"}.fa-vihara{--fa:"\f6a7"}.fa-volume-mute,.fa-volume-times,.fa-volume-xmark{--fa:"\f6a9"}.fa-yin-yang{--fa:"\f6ad"}.fa-blender-phone{--fa:"\f6b6"}.fa-book-dead,.fa-book-skull{--fa:"\f6b7"}.fa-campground{--fa:"\f6bb"}.fa-cat{--fa:"\f6be"}.fa-chair{--fa:"\f6c0"}.fa-cloud-moon{--fa:"\f6c3"}.fa-cloud-sun{--fa:"\f6c4"}.fa-cow{--fa:"\f6c8"}.fa-dice-d20{--fa:"\f6cf"}.fa-dice-d6{--fa:"\f6d1"}.fa-dog{--fa:"\f6d3"}.fa-dragon{--fa:"\f6d5"}.fa-drumstick-bite{--fa:"\f6d7"}.fa-dungeon{--fa:"\f6d9"}.fa-file-csv{--fa:"\f6dd"}.fa-fist-raised,.fa-hand-fist{--fa:"\f6de"}.fa-ghost{--fa:"\f6e2"}.fa-hammer{--fa:"\f6e3"}.fa-hanukiah{--fa:"\f6e6"}.fa-hat-wizard{--fa:"\f6e8"}.fa-hiking,.fa-person-hiking{--fa:"\f6ec"}.fa-hippo{--fa:"\f6ed"}.fa-horse{--fa:"\f6f0"}.fa-house-chimney-crack,.fa-house-damage{--fa:"\f6f1"}.fa-hryvnia,.fa-hryvnia-sign{--fa:"\f6f2"}.fa-mask{--fa:"\f6fa"}.fa-mountain{--fa:"\f6fc"}.fa-network-wired{--fa:"\f6ff"}.fa-otter{--fa:"\f700"}.fa-ring{--fa:"\f70b"}.fa-person-running,.fa-running{--fa:"\f70c"}.fa-scroll{--fa:"\f70e"}.fa-skull-crossbones{--fa:"\f714"}.fa-slash{--fa:"\f715"}.fa-spider{--fa:"\f717"}.fa-toilet-paper,.fa-toilet-paper-alt,.fa-toilet-paper-blank{--fa:"\f71e"}.fa-tractor{--fa:"\f722"}.fa-user-injured{--fa:"\f728"}.fa-vr-cardboard{--fa:"\f729"}.fa-wand-sparkles{--fa:"\f72b"}.fa-wind{--fa:"\f72e"}.fa-wine-bottle{--fa:"\f72f"}.fa-cloud-meatball{--fa:"\f73b"}.fa-cloud-moon-rain{--fa:"\f73c"}.fa-cloud-rain{--fa:"\f73d"}.fa-cloud-showers-heavy{--fa:"\f740"}.fa-cloud-sun-rain{--fa:"\f743"}.fa-democrat{--fa:"\f747"}.fa-flag-usa{--fa:"\f74d"}.fa-hurricane{--fa:"\f751"}.fa-landmark-alt,.fa-landmark-dome{--fa:"\f752"}.fa-meteor{--fa:"\f753"}.fa-person-booth{--fa:"\f756"}.fa-poo-bolt,.fa-poo-storm{--fa:"\f75a"}.fa-rainbow{--fa:"\f75b"}.fa-republican{--fa:"\f75e"}.fa-smog{--fa:"\f75f"}.fa-temperature-high{--fa:"\f769"}.fa-temperature-low{--fa:"\f76b"}.fa-cloud-bolt,.fa-thunderstorm{--fa:"\f76c"}.fa-tornado{--fa:"\f76f"}.fa-volcano{--fa:"\f770"}.fa-check-to-slot,.fa-vote-yea{--fa:"\f772"}.fa-water{--fa:"\f773"}.fa-baby{--fa:"\f77c"}.fa-baby-carriage,.fa-carriage-baby{--fa:"\f77d"}.fa-biohazard{--fa:"\f780"}.fa-blog{--fa:"\f781"}.fa-calendar-day{--fa:"\f783"}.fa-calendar-week{--fa:"\f784"}.fa-candy-cane{--fa:"\f786"}.fa-carrot{--fa:"\f787"}.fa-cash-register{--fa:"\f788"}.fa-compress-arrows-alt,.fa-minimize{--fa:"\f78c"}.fa-dumpster{--fa:"\f793"}.fa-dumpster-fire{--fa:"\f794"}.fa-ethernet{--fa:"\f796"}.fa-gifts{--fa:"\f79c"}.fa-champagne-glasses,.fa-glass-cheers{--fa:"\f79f"}.fa-glass-whiskey,.fa-whiskey-glass{--fa:"\f7a0"}.fa-earth-europe,.fa-globe-europe{--fa:"\f7a2"}.fa-grip-lines{--fa:"\f7a4"}.fa-grip-lines-vertical{--fa:"\f7a5"}.fa-guitar{--fa:"\f7a6"}.fa-heart-broken,.fa-heart-crack{--fa:"\f7a9"}.fa-holly-berry{--fa:"\f7aa"}.fa-horse-head{--fa:"\f7ab"}.fa-icicles{--fa:"\f7ad"}.fa-igloo{--fa:"\f7ae"}.fa-mitten{--fa:"\f7b5"}.fa-mug-hot{--fa:"\f7b6"}.fa-radiation{--fa:"\f7b9"}.fa-circle-radiation,.fa-radiation-alt{--fa:"\f7ba"}.fa-restroom{--fa:"\f7bd"}.fa-satellite{--fa:"\f7bf"}.fa-satellite-dish{--fa:"\f7c0"}.fa-sd-card{--fa:"\f7c2"}.fa-sim-card{--fa:"\f7c4"}.fa-person-skating,.fa-skating{--fa:"\f7c5"}.fa-person-skiing,.fa-skiing{--fa:"\f7c9"}.fa-person-skiing-nordic,.fa-skiing-nordic{--fa:"\f7ca"}.fa-sleigh{--fa:"\f7cc"}.fa-comment-sms,.fa-sms{--fa:"\f7cd"}.fa-person-snowboarding,.fa-snowboarding{--fa:"\f7ce"}.fa-snowman{--fa:"\f7d0"}.fa-snowplow{--fa:"\f7d2"}.fa-tenge,.fa-tenge-sign{--fa:"\f7d7"}.fa-toilet{--fa:"\f7d8"}.fa-screwdriver-wrench,.fa-tools{--fa:"\f7d9"}.fa-cable-car,.fa-tram{--fa:"\f7da"}.fa-fire-alt,.fa-fire-flame-curved{--fa:"\f7e4"}.fa-bacon{--fa:"\f7e5"}.fa-book-medical{--fa:"\f7e6"}.fa-bread-slice{--fa:"\f7ec"}.fa-cheese{--fa:"\f7ef"}.fa-clinic-medical,.fa-house-chimney-medical{--fa:"\f7f2"}.fa-clipboard-user{--fa:"\f7f3"}.fa-comment-medical{--fa:"\f7f5"}.fa-crutch{--fa:"\f7f7"}.fa-disease{--fa:"\f7fa"}.fa-egg{--fa:"\f7fb"}.fa-folder-tree{--fa:"\f802"}.fa-burger,.fa-hamburger{--fa:"\f805"}.fa-hand-middle-finger{--fa:"\f806"}.fa-hard-hat,.fa-hat-hard,.fa-helmet-safety{--fa:"\f807"}.fa-hospital-user{--fa:"\f80d"}.fa-hotdog{--fa:"\f80f"}.fa-ice-cream{--fa:"\f810"}.fa-laptop-medical{--fa:"\f812"}.fa-pager{--fa:"\f815"}.fa-pepper-hot{--fa:"\f816"}.fa-pizza-slice{--fa:"\f818"}.fa-sack-dollar{--fa:"\f81d"}.fa-book-tanakh,.fa-tanakh{--fa:"\f827"}.fa-bars-progress,.fa-tasks-alt{--fa:"\f828"}.fa-trash-arrow-up,.fa-trash-restore{--fa:"\f829"}.fa-trash-can-arrow-up,.fa-trash-restore-alt{--fa:"\f82a"}.fa-user-nurse{--fa:"\f82f"}.fa-wave-square{--fa:"\f83e"}.fa-biking,.fa-person-biking{--fa:"\f84a"}.fa-border-all{--fa:"\f84c"}.fa-border-none{--fa:"\f850"}.fa-border-style,.fa-border-top-left{--fa:"\f853"}.fa-digging,.fa-person-digging{--fa:"\f85e"}.fa-fan{--fa:"\f863"}.fa-heart-music-camera-bolt,.fa-icons{--fa:"\f86d"}.fa-phone-alt,.fa-phone-flip{--fa:"\f879"}.fa-phone-square-alt,.fa-square-phone-flip{--fa:"\f87b"}.fa-photo-film,.fa-photo-video{--fa:"\f87c"}.fa-remove-format,.fa-text-slash{--fa:"\f87d"}.fa-arrow-down-z-a,.fa-sort-alpha-desc,.fa-sort-alpha-down-alt{--fa:"\f881"}.fa-arrow-up-z-a,.fa-sort-alpha-up-alt{--fa:"\f882"}.fa-arrow-down-short-wide,.fa-sort-amount-desc,.fa-sort-amount-down-alt{--fa:"\f884"}.fa-arrow-up-short-wide,.fa-sort-amount-up-alt{--fa:"\f885"}.fa-arrow-down-9-1,.fa-sort-numeric-desc,.fa-sort-numeric-down-alt{--fa:"\f886"}.fa-arrow-up-9-1,.fa-sort-numeric-up-alt{--fa:"\f887"}.fa-spell-check{--fa:"\f891"}.fa-voicemail{--fa:"\f897"}.fa-hat-cowboy{--fa:"\f8c0"}.fa-hat-cowboy-side{--fa:"\f8c1"}.fa-computer-mouse,.fa-mouse{--fa:"\f8cc"}.fa-radio{--fa:"\f8d7"}.fa-record-vinyl{--fa:"\f8d9"}.fa-walkie-talkie{--fa:"\f8ef"}.fa-caravan{--fa:"\f8ff"} diff --git a/assets/js/fortawesome-fontawesome-free/css/regular.css b/assets/js/fortawesome-fontawesome-free/css/regular.css new file mode 100644 index 0000000..f5ae783 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/regular.css @@ -0,0 +1,31 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +:root, :host { + --fa-family-classic: "Font Awesome 7 Free"; + --fa-font-regular: normal 400 1em/1 var(--fa-family-classic); + /* deprecated: this older custom property will be removed next major release */ + --fa-style-family-classic: var(--fa-family-classic); +} + +@font-face { + font-family: "Font Awesome 7 Free"; + font-style: normal; + font-weight: 400; + font-display: block; + src: url("../webfonts/fa-regular-400.woff2"); +} +.far { + --fa-family: var(--fa-family-classic); + --fa-style: 400; +} + +.fa-classic { + --fa-family: var(--fa-family-classic); +} + +.fa-regular { + --fa-style: 400; +} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/regular.min.css b/assets/js/fortawesome-fontawesome-free/css/regular.min.css new file mode 100644 index 0000000..3398e26 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/regular.min.css @@ -0,0 +1,6 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +:host,:root{--fa-family-classic:"Font Awesome 7 Free";--fa-font-regular:normal 400 1em/1 var(--fa-family-classic);--fa-style-family-classic:var(--fa-family-classic)}@font-face{font-family:"Font Awesome 7 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.woff2)}.far{--fa-style:400}.fa-classic,.far{--fa-family:var(--fa-family-classic)}.fa-regular{--fa-style:400} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/solid.css b/assets/js/fortawesome-fontawesome-free/css/solid.css new file mode 100644 index 0000000..e8631a9 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/solid.css @@ -0,0 +1,31 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +:root, :host { + --fa-family-classic: "Font Awesome 7 Free"; + --fa-font-solid: normal 900 1em/1 var(--fa-family-classic); + /* deprecated: this older custom property will be removed next major release */ + --fa-style-family-classic: var(--fa-family-classic); +} + +@font-face { + font-family: "Font Awesome 7 Free"; + font-style: normal; + font-weight: 900; + font-display: block; + src: url("../webfonts/fa-solid-900.woff2"); +} +.fas { + --fa-family: var(--fa-family-classic); + --fa-style: 900; +} + +.fa-classic { + --fa-family: var(--fa-family-classic); +} + +.fa-solid { + --fa-style: 900; +} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/solid.min.css b/assets/js/fortawesome-fontawesome-free/css/solid.min.css new file mode 100644 index 0000000..77fbb11 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/solid.min.css @@ -0,0 +1,6 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +:host,:root{--fa-family-classic:"Font Awesome 7 Free";--fa-font-solid:normal 900 1em/1 var(--fa-family-classic);--fa-style-family-classic:var(--fa-family-classic)}@font-face{font-family:"Font Awesome 7 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2)}.fas{--fa-style:900}.fa-classic,.fas{--fa-family:var(--fa-family-classic)}.fa-solid{--fa-style:900} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/svg-with-js.css b/assets/js/fortawesome-fontawesome-free/css/svg-with-js.css new file mode 100644 index 0000000..c233330 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/svg-with-js.css @@ -0,0 +1,553 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +:root, :host { + --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free"; + --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free"; + --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro"; + --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro"; + --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone"; + --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone"; + --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone"; + --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone"; + --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands"; + --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp"; + --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp"; + --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp"; + --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp"; + --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone"; + --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone"; + --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone"; + --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone"; + --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab"; + --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press"; + --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard"; + --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint"; + --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog"; + --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo"; + --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch"; + --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly"; + --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill"; + --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo"; + --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel"; +} + +.svg-inline--fa { + box-sizing: content-box; + display: var(--fa-display, inline-block); + height: 1em; + overflow: visible; + vertical-align: -0.125em; + width: var(--fa-width, 1.25em); +} +.svg-inline--fa.fa-2xs { + vertical-align: 0.1em; +} +.svg-inline--fa.fa-xs { + vertical-align: 0em; +} +.svg-inline--fa.fa-sm { + vertical-align: -0.0714285714em; +} +.svg-inline--fa.fa-lg { + vertical-align: -0.2em; +} +.svg-inline--fa.fa-xl { + vertical-align: -0.25em; +} +.svg-inline--fa.fa-2xl { + vertical-align: -0.3125em; +} +.svg-inline--fa.fa-pull-left, +.svg-inline--fa .fa-pull-start { + float: inline-start; + margin-inline-end: var(--fa-pull-margin, 0.3em); +} +.svg-inline--fa.fa-pull-right, +.svg-inline--fa .fa-pull-end { + float: inline-end; + margin-inline-start: var(--fa-pull-margin, 0.3em); +} +.svg-inline--fa.fa-li { + width: var(--fa-li-width, 2em); + inset-inline-start: calc(-1 * var(--fa-li-width, 2em)); + inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */ +} + +.fa-layers-counter, .fa-layers-text { + display: inline-block; + position: absolute; + text-align: center; +} + +.fa-layers { + display: inline-block; + height: 1em; + position: relative; + text-align: center; + vertical-align: -0.125em; + width: var(--fa-width, 1.25em); +} +.fa-layers .svg-inline--fa { + inset: 0; + margin: auto; + position: absolute; + transform-origin: center center; +} + +.fa-layers-text { + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + transform-origin: center center; +} + +.fa-layers-counter { + background-color: var(--fa-counter-background-color, #ff253a); + border-radius: var(--fa-counter-border-radius, 1em); + box-sizing: border-box; + color: var(--fa-inverse, #fff); + line-height: var(--fa-counter-line-height, 1); + max-width: var(--fa-counter-max-width, 5em); + min-width: var(--fa-counter-min-width, 1.5em); + overflow: hidden; + padding: var(--fa-counter-padding, 0.25em 0.5em); + right: var(--fa-right, 0); + text-overflow: ellipsis; + top: var(--fa-top, 0); + transform: scale(var(--fa-counter-scale, 0.25)); + transform-origin: top right; +} + +.fa-layers-bottom-right { + bottom: var(--fa-bottom, 0); + right: var(--fa-right, 0); + top: auto; + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: bottom right; +} + +.fa-layers-bottom-left { + bottom: var(--fa-bottom, 0); + left: var(--fa-left, 0); + right: auto; + top: auto; + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: bottom left; +} + +.fa-layers-top-right { + top: var(--fa-top, 0); + right: var(--fa-right, 0); + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: top right; +} + +.fa-layers-top-left { + left: var(--fa-left, 0); + right: auto; + top: var(--fa-top, 0); + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: top left; +} + +.fa-1x { + font-size: 1em; +} + +.fa-2x { + font-size: 2em; +} + +.fa-3x { + font-size: 3em; +} + +.fa-4x { + font-size: 4em; +} + +.fa-5x { + font-size: 5em; +} + +.fa-6x { + font-size: 6em; +} + +.fa-7x { + font-size: 7em; +} + +.fa-8x { + font-size: 8em; +} + +.fa-9x { + font-size: 9em; +} + +.fa-10x { + font-size: 10em; +} + +.fa-2xs { + font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-xs { + font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-sm { + font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-lg { + font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-xl { + font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-2xl { + font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */ + line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */ + vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ +} + +.fa-width-auto { + --fa-width: auto; +} + +.fa-fw, +.fa-width-fixed { + --fa-width: 1.25em; +} + +.fa-ul { + list-style-type: none; + margin-inline-start: var(--fa-li-margin, 2.5em); + padding-inline-start: 0; +} +.fa-ul > li { + position: relative; +} + +.fa-li { + inset-inline-start: calc(-1 * var(--fa-li-width, 2em)); + position: absolute; + text-align: center; + width: var(--fa-li-width, 2em); + line-height: inherit; +} + +/* Heads Up: Bordered Icons will not be supported in the future! + - This feature will be deprecated in the next major release of Font Awesome (v8)! + - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8. +*/ +/* Notes: +* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size) +* --@{v.$css-prefix}-border-padding = + ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment) + ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon) +*/ +.fa-border { + border-color: var(--fa-border-color, #eee); + border-radius: var(--fa-border-radius, 0.1em); + border-style: var(--fa-border-style, solid); + border-width: var(--fa-border-width, 0.0625em); + box-sizing: var(--fa-border-box-sizing, content-box); + padding: var(--fa-border-padding, 0.1875em 0.25em); +} + +.fa-pull-left, +.fa-pull-start { + float: inline-start; + margin-inline-end: var(--fa-pull-margin, 0.3em); +} + +.fa-pull-right, +.fa-pull-end { + float: inline-end; + margin-inline-start: var(--fa-pull-margin, 0.3em); +} + +.fa-beat { + animation-name: fa-beat; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-bounce { + animation-name: fa-bounce; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); +} + +.fa-fade { + animation-name: fa-fade; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-beat-fade { + animation-name: fa-beat-fade; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-flip { + animation-name: fa-flip; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-shake { + animation-name: fa-shake; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin { + animation-name: fa-spin; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 2s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin-reverse { + --fa-animation-direction: reverse; +} + +.fa-pulse, +.fa-spin-pulse { + animation-name: fa-spin; + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, steps(8)); +} + +@media (prefers-reduced-motion: reduce) { + .fa-beat, + .fa-bounce, + .fa-fade, + .fa-beat-fade, + .fa-flip, + .fa-pulse, + .fa-shake, + .fa-spin, + .fa-spin-pulse { + animation: none !important; + transition: none !important; + } +} +@keyframes fa-beat { + 0%, 90% { + transform: scale(1); + } + 45% { + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@keyframes fa-bounce { + 0% { + transform: scale(1, 1) translateY(0); + } + 10% { + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + transform: scale(1, 1) translateY(0); + } + 100% { + transform: scale(1, 1) translateY(0); + } +} +@keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + transform: scale(1); + } + 50% { + opacity: 1; + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@keyframes fa-flip { + 50% { + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@keyframes fa-shake { + 0% { + transform: rotate(-15deg); + } + 4% { + transform: rotate(15deg); + } + 8%, 24% { + transform: rotate(-18deg); + } + 12%, 28% { + transform: rotate(18deg); + } + 16% { + transform: rotate(-22deg); + } + 20% { + transform: rotate(22deg); + } + 32% { + transform: rotate(-12deg); + } + 36% { + transform: rotate(12deg); + } + 40%, 100% { + transform: rotate(0deg); + } +} +@keyframes fa-spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +.fa-rotate-90 { + transform: rotate(90deg); +} + +.fa-rotate-180 { + transform: rotate(180deg); +} + +.fa-rotate-270 { + transform: rotate(270deg); +} + +.fa-flip-horizontal { + transform: scale(-1, 1); +} + +.fa-flip-vertical { + transform: scale(1, -1); +} + +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical { + transform: scale(-1, -1); +} + +.fa-rotate-by { + transform: rotate(var(--fa-rotate-angle, 0)); +} + +.svg-inline--fa .fa-primary { + fill: var(--fa-primary-color, currentColor); + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa .fa-secondary { + fill: var(--fa-secondary-color, currentColor); + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-primary { + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-secondary { + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa mask .fa-primary, +.svg-inline--fa mask .fa-secondary { + fill: black; +} + +.svg-inline--fa.fa-inverse { + fill: var(--fa-inverse, #fff); +} + +.fa-stack { + display: inline-block; + height: 2em; + line-height: 2em; + position: relative; + vertical-align: middle; + width: 2.5em; +} + +.fa-inverse { + color: var(--fa-inverse, #fff); +} + +.svg-inline--fa.fa-stack-1x { + --fa-width: 1.25em; + height: 1em; + width: var(--fa-width); +} +.svg-inline--fa.fa-stack-2x { + --fa-width: 2.5em; + height: 2em; + width: var(--fa-width); +} + +.fa-stack-1x, +.fa-stack-2x { + inset: 0; + margin: auto; + position: absolute; + z-index: var(--fa-stack-z-index, auto); +} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/svg-with-js.min.css b/assets/js/fortawesome-fontawesome-free/css/svg-with-js.min.css new file mode 100644 index 0000000..2729fb9 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/svg-with-js.min.css @@ -0,0 +1,6 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +:host,:root{--fa-font-solid:normal 900 1em/1 "Font Awesome 7 Free";--fa-font-regular:normal 400 1em/1 "Font Awesome 7 Free";--fa-font-light:normal 300 1em/1 "Font Awesome 7 Pro";--fa-font-thin:normal 100 1em/1 "Font Awesome 7 Pro";--fa-font-duotone:normal 900 1em/1 "Font Awesome 7 Duotone";--fa-font-duotone-regular:normal 400 1em/1 "Font Awesome 7 Duotone";--fa-font-duotone-light:normal 300 1em/1 "Font Awesome 7 Duotone";--fa-font-duotone-thin:normal 100 1em/1 "Font Awesome 7 Duotone";--fa-font-brands:normal 400 1em/1 "Font Awesome 7 Brands";--fa-font-sharp-solid:normal 900 1em/1 "Font Awesome 7 Sharp";--fa-font-sharp-regular:normal 400 1em/1 "Font Awesome 7 Sharp";--fa-font-sharp-light:normal 300 1em/1 "Font Awesome 7 Sharp";--fa-font-sharp-thin:normal 100 1em/1 "Font Awesome 7 Sharp";--fa-font-sharp-duotone-solid:normal 900 1em/1 "Font Awesome 7 Sharp Duotone";--fa-font-sharp-duotone-regular:normal 400 1em/1 "Font Awesome 7 Sharp Duotone";--fa-font-sharp-duotone-light:normal 300 1em/1 "Font Awesome 7 Sharp Duotone";--fa-font-sharp-duotone-thin:normal 100 1em/1 "Font Awesome 7 Sharp Duotone";--fa-font-slab-regular:normal 400 1em/1 "Font Awesome 7 Slab";--fa-font-slab-press-regular:normal 400 1em/1 "Font Awesome 7 Slab Press";--fa-font-whiteboard-semibold:normal 600 1em/1 "Font Awesome 7 Whiteboard";--fa-font-thumbprint-light:normal 300 1em/1 "Font Awesome 7 Thumbprint";--fa-font-notdog-solid:normal 900 1em/1 "Font Awesome 7 Notdog";--fa-font-notdog-duo-solid:normal 900 1em/1 "Font Awesome 7 Notdog Duo";--fa-font-etch-solid:normal 900 1em/1 "Font Awesome 7 Etch";--fa-font-jelly-regular:normal 400 1em/1 "Font Awesome 7 Jelly";--fa-font-jelly-fill-regular:normal 400 1em/1 "Font Awesome 7 Jelly Fill";--fa-font-jelly-duo-regular:normal 400 1em/1 "Font Awesome 7 Jelly Duo";--fa-font-chisel-regular:normal 400 1em/1 "Font Awesome 7 Chisel"}.svg-inline--fa{box-sizing:content-box;display:var(--fa-display,inline-block);height:1em;overflow:visible;vertical-align:-.125em;width:var(--fa-width,1.25em)}.svg-inline--fa.fa-2xs{vertical-align:.1em}.svg-inline--fa.fa-xs{vertical-align:0}.svg-inline--fa.fa-sm{vertical-align:-.0714285714em}.svg-inline--fa.fa-lg{vertical-align:-.2em}.svg-inline--fa.fa-xl{vertical-align:-.25em}.svg-inline--fa.fa-2xl{vertical-align:-.3125em}.svg-inline--fa.fa-pull-left,.svg-inline--fa .fa-pull-start{float:inline-start;margin-inline-end:var(--fa-pull-margin,.3em)}.svg-inline--fa .fa-pull-end,.svg-inline--fa.fa-pull-right{float:inline-end;margin-inline-start:var(--fa-pull-margin,.3em)}.svg-inline--fa.fa-li{width:var(--fa-li-width,2em);inset-inline-start:calc(var(--fa-li-width, 2em)*-1);inset-block-start:.25em}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:var(--fa-width,1.25em)}.fa-layers .svg-inline--fa{inset:0;margin:auto;position:absolute;transform-origin:center center}.fa-layers-text{left:50%;top:50%;transform:translate(-50%,-50%);transform-origin:center center}.fa-layers-counter{background-color:var(--fa-counter-background-color,#ff253a);border-radius:var(--fa-counter-border-radius,1em);box-sizing:border-box;color:var(--fa-inverse,#fff);line-height:var(--fa-counter-line-height,1);max-width:var(--fa-counter-max-width,5em);min-width:var(--fa-counter-min-width,1.5em);overflow:hidden;padding:var(--fa-counter-padding,.25em .5em);right:var(--fa-right,0);text-overflow:ellipsis;top:var(--fa-top,0);transform:scale(var(--fa-counter-scale,.25));transform-origin:top right}.fa-layers-bottom-right{bottom:var(--fa-bottom,0);right:var(--fa-right,0);top:auto;transform:scale(var(--fa-layers-scale,.25));transform-origin:bottom right}.fa-layers-bottom-left{bottom:var(--fa-bottom,0);left:var(--fa-left,0);right:auto;top:auto;transform:scale(var(--fa-layers-scale,.25));transform-origin:bottom left}.fa-layers-top-right{top:var(--fa-top,0);right:var(--fa-right,0);transform:scale(var(--fa-layers-scale,.25));transform-origin:top right}.fa-layers-top-left{left:var(--fa-left,0);right:auto;top:var(--fa-top,0);transform:scale(var(--fa-layers-scale,.25));transform-origin:top left}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-width-auto{--fa-width:auto}.fa-fw,.fa-width-fixed{--fa-width:1.25em}.fa-ul{list-style-type:none;margin-inline-start:var(--fa-li-margin,2.5em);padding-inline-start:0}.fa-ul>li{position:relative}.fa-li{inset-inline-start:calc(var(--fa-li-width, 2em)*-1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius,.1em);border:var(--fa-border-width,.0625em) var(--fa-border-style,solid) var(--fa-border-color,#eee);box-sizing:var(--fa-border-box-sizing,content-box);padding:var(--fa-border-padding,.1875em .25em)}.fa-pull-left,.fa-pull-start{float:inline-start;margin-inline-end:var(--fa-pull-margin,.3em)}.fa-pull-end,.fa-pull-right{float:inline-end;margin-inline-start:var(--fa-pull-margin,.3em)}.fa-beat{animation-name:fa-beat;animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{animation-name:fa-bounce;animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{animation-name:fa-fade;animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade,.fa-fade{animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s)}.fa-beat-fade{animation-name:fa-beat-fade;animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{animation-name:fa-flip;animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{animation-name:fa-shake;animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,linear)}.fa-shake,.fa-spin{animation-delay:var(--fa-animation-delay,0s);animation-direction:var(--fa-animation-direction,normal)}.fa-spin{animation-name:fa-spin;animation-duration:var(--fa-animation-duration,2s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{animation-name:fa-spin;animation-direction:var(--fa-animation-direction,normal);animation-duration:var(--fa-animation-duration,1s);animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{animation:none!important;transition:none!important}}@keyframes fa-beat{0%,90%{transform:scale(1)}45%{transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-bounce{0%{transform:scale(1) translateY(0)}10%{transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{transform:scale(1) translateY(0)}to{transform:scale(1) translateY(0)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);transform:scale(1)}50%{opacity:1;transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-flip{50%{transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-shake{0%{transform:rotate(-15deg)}4%{transform:rotate(15deg)}8%,24%{transform:rotate(-18deg)}12%,28%{transform:rotate(18deg)}16%{transform:rotate(-22deg)}20%{transform:rotate(22deg)}32%{transform:rotate(-12deg)}36%{transform:rotate(12deg)}40%,to{transform:rotate(0deg)}}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{transform:rotate(90deg)}.fa-rotate-180{transform:rotate(180deg)}.fa-rotate-270{transform:rotate(270deg)}.fa-flip-horizontal{transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}.fa-rotate-by{transform:rotate(var(--fa-rotate-angle,0))}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa .fa-secondary,.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.svg-inline--fa.fa-inverse{fill:var(--fa-inverse,#fff)}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-inverse{color:var(--fa-inverse,#fff)}.svg-inline--fa.fa-stack-1x{--fa-width:1.25em;height:1em;width:var(--fa-width)}.svg-inline--fa.fa-stack-2x{--fa-width:2.5em;height:2em;width:var(--fa-width)}.fa-stack-1x,.fa-stack-2x{inset:0;margin:auto;position:absolute;z-index:var(--fa-stack-z-index,auto)} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/svg.css b/assets/js/fortawesome-fontawesome-free/css/svg.css new file mode 100644 index 0000000..9c2542d --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/svg.css @@ -0,0 +1,179 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +:root, :host { + --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free"; + --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free"; + --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro"; + --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro"; + --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone"; + --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone"; + --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone"; + --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone"; + --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands"; + --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp"; + --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp"; + --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp"; + --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp"; + --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone"; + --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone"; + --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone"; + --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone"; + --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab"; + --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press"; + --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard"; + --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint"; + --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog"; + --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo"; + --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch"; + --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly"; + --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill"; + --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo"; + --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel"; +} + +.svg-inline--fa { + box-sizing: content-box; + display: var(--fa-display, inline-block); + height: 1em; + overflow: visible; + vertical-align: -0.125em; + width: var(--fa-width, 1.25em); +} +.svg-inline--fa.fa-2xs { + vertical-align: 0.1em; +} +.svg-inline--fa.fa-xs { + vertical-align: 0em; +} +.svg-inline--fa.fa-sm { + vertical-align: -0.0714285714em; +} +.svg-inline--fa.fa-lg { + vertical-align: -0.2em; +} +.svg-inline--fa.fa-xl { + vertical-align: -0.25em; +} +.svg-inline--fa.fa-2xl { + vertical-align: -0.3125em; +} +.svg-inline--fa.fa-li { + width: var(--fa-li-width, 2em); + inset-inline-start: calc(-1 * var(--fa-li-width, 2em)); + inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */ +} + +.fa-layers-counter, .fa-layers-text { + display: inline-block; + position: absolute; + text-align: center; +} + +.fa-layers { + display: inline-block; + height: 1em; + position: relative; + text-align: center; + vertical-align: -0.125em; + width: var(--fa-width, 1.25em); +} +.fa-layers .svg-inline--fa { + inset: 0; + margin: auto; + position: absolute; + transform-origin: center center; +} + +.fa-layers-text { + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + transform-origin: center center; +} + +.fa-layers-counter { + background-color: var(--fa-counter-background-color, #ff253a); + border-radius: var(--fa-counter-border-radius, 1em); + box-sizing: border-box; + color: var(--fa-inverse, #fff); + line-height: var(--fa-counter-line-height, 1); + max-width: var(--fa-counter-max-width, 5em); + min-width: var(--fa-counter-min-width, 1.5em); + overflow: hidden; + padding: var(--fa-counter-padding, 0.25em 0.5em); + right: var(--fa-right, 0); + text-overflow: ellipsis; + top: var(--fa-top, 0); + transform: scale(var(--fa-counter-scale, 0.25)); + transform-origin: top right; +} + +.fa-layers-bottom-right { + bottom: var(--fa-bottom, 0); + right: var(--fa-right, 0); + top: auto; + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: bottom right; +} + +.fa-layers-bottom-left { + bottom: var(--fa-bottom, 0); + left: var(--fa-left, 0); + right: auto; + top: auto; + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: bottom left; +} + +.fa-layers-top-right { + top: var(--fa-top, 0); + right: var(--fa-right, 0); + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: top right; +} + +.fa-layers-top-left { + left: var(--fa-left, 0); + right: auto; + top: var(--fa-top, 0); + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: top left; +} + +.svg-inline--fa .fa-primary { + fill: var(--fa-primary-color, currentColor); + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa .fa-secondary { + fill: var(--fa-secondary-color, currentColor); + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-primary { + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-secondary { + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa mask .fa-primary, +.svg-inline--fa mask .fa-secondary { + fill: black; +} + +.svg-inline--fa.fa-inverse { + fill: var(--fa-inverse, #fff); +} + +.fa-stack-1x, +.fa-stack-2x { + inset: 0; + margin: auto; + position: absolute; + z-index: var(--fa-stack-z-index, auto); +} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/svg.min.css b/assets/js/fortawesome-fontawesome-free/css/svg.min.css new file mode 100644 index 0000000..6e9fef2 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/svg.min.css @@ -0,0 +1,6 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +:host,:root{--fa-font-solid:normal 900 1em/1 "Font Awesome 7 Free";--fa-font-regular:normal 400 1em/1 "Font Awesome 7 Free";--fa-font-light:normal 300 1em/1 "Font Awesome 7 Pro";--fa-font-thin:normal 100 1em/1 "Font Awesome 7 Pro";--fa-font-duotone:normal 900 1em/1 "Font Awesome 7 Duotone";--fa-font-duotone-regular:normal 400 1em/1 "Font Awesome 7 Duotone";--fa-font-duotone-light:normal 300 1em/1 "Font Awesome 7 Duotone";--fa-font-duotone-thin:normal 100 1em/1 "Font Awesome 7 Duotone";--fa-font-brands:normal 400 1em/1 "Font Awesome 7 Brands";--fa-font-sharp-solid:normal 900 1em/1 "Font Awesome 7 Sharp";--fa-font-sharp-regular:normal 400 1em/1 "Font Awesome 7 Sharp";--fa-font-sharp-light:normal 300 1em/1 "Font Awesome 7 Sharp";--fa-font-sharp-thin:normal 100 1em/1 "Font Awesome 7 Sharp";--fa-font-sharp-duotone-solid:normal 900 1em/1 "Font Awesome 7 Sharp Duotone";--fa-font-sharp-duotone-regular:normal 400 1em/1 "Font Awesome 7 Sharp Duotone";--fa-font-sharp-duotone-light:normal 300 1em/1 "Font Awesome 7 Sharp Duotone";--fa-font-sharp-duotone-thin:normal 100 1em/1 "Font Awesome 7 Sharp Duotone";--fa-font-slab-regular:normal 400 1em/1 "Font Awesome 7 Slab";--fa-font-slab-press-regular:normal 400 1em/1 "Font Awesome 7 Slab Press";--fa-font-whiteboard-semibold:normal 600 1em/1 "Font Awesome 7 Whiteboard";--fa-font-thumbprint-light:normal 300 1em/1 "Font Awesome 7 Thumbprint";--fa-font-notdog-solid:normal 900 1em/1 "Font Awesome 7 Notdog";--fa-font-notdog-duo-solid:normal 900 1em/1 "Font Awesome 7 Notdog Duo";--fa-font-etch-solid:normal 900 1em/1 "Font Awesome 7 Etch";--fa-font-jelly-regular:normal 400 1em/1 "Font Awesome 7 Jelly";--fa-font-jelly-fill-regular:normal 400 1em/1 "Font Awesome 7 Jelly Fill";--fa-font-jelly-duo-regular:normal 400 1em/1 "Font Awesome 7 Jelly Duo";--fa-font-chisel-regular:normal 400 1em/1 "Font Awesome 7 Chisel"}.svg-inline--fa{box-sizing:content-box;display:var(--fa-display,inline-block);height:1em;overflow:visible;vertical-align:-.125em;width:var(--fa-width,1.25em)}.svg-inline--fa.fa-2xs{vertical-align:.1em}.svg-inline--fa.fa-xs{vertical-align:0}.svg-inline--fa.fa-sm{vertical-align:-.0714285714em}.svg-inline--fa.fa-lg{vertical-align:-.2em}.svg-inline--fa.fa-xl{vertical-align:-.25em}.svg-inline--fa.fa-2xl{vertical-align:-.3125em}.svg-inline--fa.fa-li{width:var(--fa-li-width,2em);inset-inline-start:calc(var(--fa-li-width, 2em)*-1);inset-block-start:.25em}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:var(--fa-width,1.25em)}.fa-layers .svg-inline--fa{inset:0;margin:auto;position:absolute;transform-origin:center center}.fa-layers-text{left:50%;top:50%;transform:translate(-50%,-50%);transform-origin:center center}.fa-layers-counter{background-color:var(--fa-counter-background-color,#ff253a);border-radius:var(--fa-counter-border-radius,1em);box-sizing:border-box;color:var(--fa-inverse,#fff);line-height:var(--fa-counter-line-height,1);max-width:var(--fa-counter-max-width,5em);min-width:var(--fa-counter-min-width,1.5em);overflow:hidden;padding:var(--fa-counter-padding,.25em .5em);right:var(--fa-right,0);text-overflow:ellipsis;top:var(--fa-top,0);transform:scale(var(--fa-counter-scale,.25));transform-origin:top right}.fa-layers-bottom-right{bottom:var(--fa-bottom,0);right:var(--fa-right,0);top:auto;transform:scale(var(--fa-layers-scale,.25));transform-origin:bottom right}.fa-layers-bottom-left{bottom:var(--fa-bottom,0);left:var(--fa-left,0);right:auto;top:auto;transform:scale(var(--fa-layers-scale,.25));transform-origin:bottom left}.fa-layers-top-right{top:var(--fa-top,0);right:var(--fa-right,0);transform:scale(var(--fa-layers-scale,.25));transform-origin:top right}.fa-layers-top-left{left:var(--fa-left,0);right:auto;top:var(--fa-top,0);transform:scale(var(--fa-layers-scale,.25));transform-origin:top left}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa .fa-secondary,.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.svg-inline--fa.fa-inverse{fill:var(--fa-inverse,#fff)}.fa-stack-1x,.fa-stack-2x{inset:0;margin:auto;position:absolute;z-index:var(--fa-stack-z-index,auto)} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/v4-font-face.css b/assets/js/fortawesome-fontawesome-free/css/v4-font-face.css new file mode 100644 index 0000000..fc1933a --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/v4-font-face.css @@ -0,0 +1,27 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +@font-face { + font-family: "FontAwesome"; + font-display: block; + src: url("../webfonts/fa-solid-900.woff2") format("woff2"); +} +@font-face { + font-family: "FontAwesome"; + font-display: block; + src: url("../webfonts/fa-brands-400.woff2") format("woff2"); +} +@font-face { + font-family: "FontAwesome"; + font-display: block; + src: url("../webfonts/fa-regular-400.woff2") format("woff2"); + unicode-range: U+F003, U+F006, U+F014, U+F016-F017, U+F01A-F01B, U+F01D, U+F022, U+F03E, U+F044, U+F046, U+F05C-F05D, U+F06E, U+F070, U+F087-F088, U+F08A, U+F094, U+F096-F097, U+F09D, U+F0A0, U+F0A2, U+F0A4-F0A7, U+F0C5, U+F0C7, U+F0E5-F0E6, U+F0EB, U+F0F6-F0F8, U+F10C, U+F114-F115, U+F118-F11A, U+F11C-F11D, U+F133, U+F147, U+F14E, U+F150-F152, U+F185-F186, U+F18E, U+F190-F192, U+F196, U+F1C1-F1C9, U+F1D9, U+F1DB, U+F1E3, U+F1EA, U+F1F7, U+F1F9, U+F20A, U+F247-F248, U+F24A, U+F24D, U+F255-F25B, U+F25D, U+F271-F274, U+F278, U+F27B, U+F28C, U+F28E, U+F29C, U+F2B5, U+F2B7, U+F2BA, U+F2BC, U+F2BE, U+F2C0-F2C1, U+F2C3, U+F2D0, U+F2D2, U+F2D4, U+F2DC; +} +@font-face { + font-family: "FontAwesome"; + font-display: block; + src: url("../webfonts/fa-v4compatibility.woff2") format("woff2"); + unicode-range: U+F041, U+F047, U+F065-F066, U+F07D-F07E, U+F080, U+F08B, U+F08E, U+F090, U+F09A, U+F0AC, U+F0AE, U+F0B2, U+F0D0, U+F0D6, U+F0E4, U+F0EC, U+F10A-F10B, U+F123, U+F13E, U+F148-F149, U+F14C, U+F156, U+F15E, U+F160-F161, U+F163, U+F175-F178, U+F195, U+F1F8, U+F219, U+F27A; +} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/v4-font-face.min.css b/assets/js/fortawesome-fontawesome-free/css/v4-font-face.min.css new file mode 100644 index 0000000..ed3ed55 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/v4-font-face.min.css @@ -0,0 +1,6 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-brands-400.woff2) format("woff2")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2");unicode-range:u+f003,u+f006,u+f014,u+f016-f017,u+f01a-f01b,u+f01d,u+f022,u+f03e,u+f044,u+f046,u+f05c-f05d,u+f06e,u+f070,u+f087-f088,u+f08a,u+f094,u+f096-f097,u+f09d,u+f0a0,u+f0a2,u+f0a4-f0a7,u+f0c5,u+f0c7,u+f0e5-f0e6,u+f0eb,u+f0f6-f0f8,u+f10c,u+f114-f115,u+f118-f11a,u+f11c-f11d,u+f133,u+f147,u+f14e,u+f150-f152,u+f185-f186,u+f18e,u+f190-f192,u+f196,u+f1c1-f1c9,u+f1d9,u+f1db,u+f1e3,u+f1ea,u+f1f7,u+f1f9,u+f20a,u+f247-f248,u+f24a,u+f24d,u+f255-f25b,u+f25d,u+f271-f274,u+f278,u+f27b,u+f28c,u+f28e,u+f29c,u+f2b5,u+f2b7,u+f2ba,u+f2bc,u+f2be,u+f2c0-f2c1,u+f2c3,u+f2d0,u+f2d2,u+f2d4,u+f2dc}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-v4compatibility.woff2) format("woff2");unicode-range:u+f041,u+f047,u+f065-f066,u+f07d-f07e,u+f080,u+f08b,u+f08e,u+f090,u+f09a,u+f0ac,u+f0ae,u+f0b2,u+f0d0,u+f0d6,u+f0e4,u+f0ec,u+f10a-f10b,u+f123,u+f13e,u+f148-f149,u+f14c,u+f156,u+f15e,u+f160-f161,u+f163,u+f175-f178,u+f195,u+f1f8,u+f219,u+f27a} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/v4-shims.css b/assets/js/fortawesome-fontawesome-free/css/v4-shims.css new file mode 100644 index 0000000..312ccfa --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/v4-shims.css @@ -0,0 +1,2818 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +.fa.fa-glass { + --fa: "\f000"; +} + +.fa.fa-envelope-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-envelope-o { + --fa: "\f0e0"; +} + +.fa.fa-star-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-star-o { + --fa: "\f005"; +} + +.fa.fa-remove { + --fa: "\f00d"; +} + +.fa.fa-close { + --fa: "\f00d"; +} + +.fa.fa-gear { + --fa: "\f013"; +} + +.fa.fa-trash-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-trash-o { + --fa: "\f2ed"; +} + +.fa.fa-home { + --fa: "\f015"; +} + +.fa.fa-file-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-o { + --fa: "\f15b"; +} + +.fa.fa-clock-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-clock-o { + --fa: "\f017"; +} + +.fa.fa-arrow-circle-o-down { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-arrow-circle-o-down { + --fa: "\f358"; +} + +.fa.fa-arrow-circle-o-up { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-arrow-circle-o-up { + --fa: "\f35b"; +} + +.fa.fa-play-circle-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-play-circle-o { + --fa: "\f144"; +} + +.fa.fa-repeat { + --fa: "\f01e"; +} + +.fa.fa-rotate-right { + --fa: "\f01e"; +} + +.fa.fa-refresh { + --fa: "\f021"; +} + +.fa.fa-list-alt { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-list-alt { + --fa: "\f022"; +} + +.fa.fa-dedent { + --fa: "\f03b"; +} + +.fa.fa-video-camera { + --fa: "\f03d"; +} + +.fa.fa-picture-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-picture-o { + --fa: "\f03e"; +} + +.fa.fa-photo { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-photo { + --fa: "\f03e"; +} + +.fa.fa-image { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-image { + --fa: "\f03e"; +} + +.fa.fa-map-marker { + --fa: "\f3c5"; +} + +.fa.fa-pencil-square-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-pencil-square-o { + --fa: "\f044"; +} + +.fa.fa-edit { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-edit { + --fa: "\f044"; +} + +.fa.fa-share-square-o { + --fa: "\f14d"; +} + +.fa.fa-check-square-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-check-square-o { + --fa: "\f14a"; +} + +.fa.fa-arrows { + --fa: "\f0b2"; +} + +.fa.fa-times-circle-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-times-circle-o { + --fa: "\f057"; +} + +.fa.fa-check-circle-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-check-circle-o { + --fa: "\f058"; +} + +.fa.fa-mail-forward { + --fa: "\f064"; +} + +.fa.fa-expand { + --fa: "\f424"; +} + +.fa.fa-compress { + --fa: "\f422"; +} + +.fa.fa-eye { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-eye-slash { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-warning { + --fa: "\f071"; +} + +.fa.fa-calendar { + --fa: "\f073"; +} + +.fa.fa-arrows-v { + --fa: "\f338"; +} + +.fa.fa-arrows-h { + --fa: "\f337"; +} + +.fa.fa-bar-chart { + --fa: "\e0e3"; +} + +.fa.fa-bar-chart-o { + --fa: "\e0e3"; +} + +.fa.fa-twitter-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-twitter-square { + --fa: "\f081"; +} + +.fa.fa-facebook-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-facebook-square { + --fa: "\f082"; +} + +.fa.fa-gears { + --fa: "\f085"; +} + +.fa.fa-thumbs-o-up { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-thumbs-o-up { + --fa: "\f164"; +} + +.fa.fa-thumbs-o-down { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-thumbs-o-down { + --fa: "\f165"; +} + +.fa.fa-heart-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-heart-o { + --fa: "\f004"; +} + +.fa.fa-sign-out { + --fa: "\f2f5"; +} + +.fa.fa-linkedin-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-linkedin-square { + --fa: "\f08c"; +} + +.fa.fa-thumb-tack { + --fa: "\f08d"; +} + +.fa.fa-external-link { + --fa: "\f35d"; +} + +.fa.fa-sign-in { + --fa: "\f2f6"; +} + +.fa.fa-github-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-github-square { + --fa: "\f092"; +} + +.fa.fa-lemon-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-lemon-o { + --fa: "\f094"; +} + +.fa.fa-square-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-square-o { + --fa: "\f0c8"; +} + +.fa.fa-bookmark-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-bookmark-o { + --fa: "\f02e"; +} + +.fa.fa-twitter { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-facebook { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-facebook { + --fa: "\f39e"; +} + +.fa.fa-facebook-f { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-facebook-f { + --fa: "\f39e"; +} + +.fa.fa-github { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-credit-card { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-feed { + --fa: "\f09e"; +} + +.fa.fa-hdd-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hdd-o { + --fa: "\f0a0"; +} + +.fa.fa-hand-o-right { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-o-right { + --fa: "\f0a4"; +} + +.fa.fa-hand-o-left { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-o-left { + --fa: "\f0a5"; +} + +.fa.fa-hand-o-up { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-o-up { + --fa: "\f0a6"; +} + +.fa.fa-hand-o-down { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-o-down { + --fa: "\f0a7"; +} + +.fa.fa-globe { + --fa: "\f57d"; +} + +.fa.fa-tasks { + --fa: "\f828"; +} + +.fa.fa-arrows-alt { + --fa: "\f31e"; +} + +.fa.fa-group { + --fa: "\f0c0"; +} + +.fa.fa-chain { + --fa: "\f0c1"; +} + +.fa.fa-cut { + --fa: "\f0c4"; +} + +.fa.fa-files-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-files-o { + --fa: "\f0c5"; +} + +.fa.fa-floppy-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-floppy-o { + --fa: "\f0c7"; +} + +.fa.fa-save { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-save { + --fa: "\f0c7"; +} + +.fa.fa-navicon { + --fa: "\f0c9"; +} + +.fa.fa-reorder { + --fa: "\f0c9"; +} + +.fa.fa-magic { + --fa: "\e2ca"; +} + +.fa.fa-pinterest { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-pinterest-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-pinterest-square { + --fa: "\f0d3"; +} + +.fa.fa-google-plus-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-google-plus-square { + --fa: "\f0d4"; +} + +.fa.fa-google-plus { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-google-plus { + --fa: "\f0d5"; +} + +.fa.fa-money { + --fa: "\f3d1"; +} + +.fa.fa-unsorted { + --fa: "\f0dc"; +} + +.fa.fa-sort-desc { + --fa: "\f0dd"; +} + +.fa.fa-sort-asc { + --fa: "\f0de"; +} + +.fa.fa-linkedin { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-linkedin { + --fa: "\f0e1"; +} + +.fa.fa-rotate-left { + --fa: "\f0e2"; +} + +.fa.fa-legal { + --fa: "\f0e3"; +} + +.fa.fa-tachometer { + --fa: "\f625"; +} + +.fa.fa-dashboard { + --fa: "\f625"; +} + +.fa.fa-comment-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-comment-o { + --fa: "\f075"; +} + +.fa.fa-comments-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-comments-o { + --fa: "\f086"; +} + +.fa.fa-flash { + --fa: "\f0e7"; +} + +.fa.fa-clipboard { + --fa: "\f0ea"; +} + +.fa.fa-lightbulb-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-lightbulb-o { + --fa: "\f0eb"; +} + +.fa.fa-exchange { + --fa: "\f362"; +} + +.fa.fa-cloud-download { + --fa: "\f0ed"; +} + +.fa.fa-cloud-upload { + --fa: "\f0ee"; +} + +.fa.fa-bell-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-bell-o { + --fa: "\f0f3"; +} + +.fa.fa-cutlery { + --fa: "\f2e7"; +} + +.fa.fa-file-text-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-text-o { + --fa: "\f15c"; +} + +.fa.fa-building-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-building-o { + --fa: "\f1ad"; +} + +.fa.fa-hospital-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hospital-o { + --fa: "\f0f8"; +} + +.fa.fa-tablet { + --fa: "\f3fa"; +} + +.fa.fa-mobile { + --fa: "\f3cd"; +} + +.fa.fa-mobile-phone { + --fa: "\f3cd"; +} + +.fa.fa-circle-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-circle-o { + --fa: "\f111"; +} + +.fa.fa-mail-reply { + --fa: "\f3e5"; +} + +.fa.fa-github-alt { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-folder-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-folder-o { + --fa: "\f07b"; +} + +.fa.fa-folder-open-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-folder-open-o { + --fa: "\f07c"; +} + +.fa.fa-smile-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-smile-o { + --fa: "\f118"; +} + +.fa.fa-frown-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-frown-o { + --fa: "\f119"; +} + +.fa.fa-meh-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-meh-o { + --fa: "\f11a"; +} + +.fa.fa-keyboard-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-keyboard-o { + --fa: "\f11c"; +} + +.fa.fa-flag-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-flag-o { + --fa: "\f024"; +} + +.fa.fa-mail-reply-all { + --fa: "\f122"; +} + +.fa.fa-star-half-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-star-half-o { + --fa: "\f5c0"; +} + +.fa.fa-star-half-empty { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-star-half-empty { + --fa: "\f5c0"; +} + +.fa.fa-star-half-full { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-star-half-full { + --fa: "\f5c0"; +} + +.fa.fa-code-fork { + --fa: "\f126"; +} + +.fa.fa-chain-broken { + --fa: "\f127"; +} + +.fa.fa-unlink { + --fa: "\f127"; +} + +.fa.fa-calendar-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-calendar-o { + --fa: "\f133"; +} + +.fa.fa-maxcdn { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-html5 { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-css3 { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-unlock-alt { + --fa: "\f09c"; +} + +.fa.fa-minus-square-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-minus-square-o { + --fa: "\f146"; +} + +.fa.fa-level-up { + --fa: "\f3bf"; +} + +.fa.fa-level-down { + --fa: "\f3be"; +} + +.fa.fa-pencil-square { + --fa: "\f14b"; +} + +.fa.fa-external-link-square { + --fa: "\f360"; +} + +.fa.fa-compass { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-caret-square-o-down { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-caret-square-o-down { + --fa: "\f150"; +} + +.fa.fa-toggle-down { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-toggle-down { + --fa: "\f150"; +} + +.fa.fa-caret-square-o-up { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-caret-square-o-up { + --fa: "\f151"; +} + +.fa.fa-toggle-up { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-toggle-up { + --fa: "\f151"; +} + +.fa.fa-caret-square-o-right { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-caret-square-o-right { + --fa: "\f152"; +} + +.fa.fa-toggle-right { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-toggle-right { + --fa: "\f152"; +} + +.fa.fa-eur { + --fa: "\f153"; +} + +.fa.fa-euro { + --fa: "\f153"; +} + +.fa.fa-gbp { + --fa: "\f154"; +} + +.fa.fa-usd { + --fa: "\$"; +} + +.fa.fa-dollar { + --fa: "\$"; +} + +.fa.fa-inr { + --fa: "\e1bc"; +} + +.fa.fa-rupee { + --fa: "\e1bc"; +} + +.fa.fa-jpy { + --fa: "\f157"; +} + +.fa.fa-cny { + --fa: "\f157"; +} + +.fa.fa-rmb { + --fa: "\f157"; +} + +.fa.fa-yen { + --fa: "\f157"; +} + +.fa.fa-rub { + --fa: "\f158"; +} + +.fa.fa-ruble { + --fa: "\f158"; +} + +.fa.fa-rouble { + --fa: "\f158"; +} + +.fa.fa-krw { + --fa: "\f159"; +} + +.fa.fa-won { + --fa: "\f159"; +} + +.fa.fa-btc { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-bitcoin { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-bitcoin { + --fa: "\f15a"; +} + +.fa.fa-file-text { + --fa: "\f15c"; +} + +.fa.fa-sort-alpha-asc { + --fa: "\f15d"; +} + +.fa.fa-sort-alpha-desc { + --fa: "\f881"; +} + +.fa.fa-sort-amount-asc { + --fa: "\f884"; +} + +.fa.fa-sort-amount-desc { + --fa: "\f160"; +} + +.fa.fa-sort-numeric-asc { + --fa: "\f162"; +} + +.fa.fa-sort-numeric-desc { + --fa: "\f886"; +} + +.fa.fa-youtube-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-youtube-square { + --fa: "\f431"; +} + +.fa.fa-youtube { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-xing { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-xing-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-xing-square { + --fa: "\f169"; +} + +.fa.fa-youtube-play { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-youtube-play { + --fa: "\f167"; +} + +.fa.fa-dropbox { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-stack-overflow { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-instagram { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-flickr { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-adn { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-bitbucket { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-bitbucket-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-bitbucket-square { + --fa: "\f171"; +} + +.fa.fa-tumblr { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-tumblr-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-tumblr-square { + --fa: "\f174"; +} + +.fa.fa-long-arrow-down { + --fa: "\f309"; +} + +.fa.fa-long-arrow-up { + --fa: "\f30c"; +} + +.fa.fa-long-arrow-left { + --fa: "\f30a"; +} + +.fa.fa-long-arrow-right { + --fa: "\f30b"; +} + +.fa.fa-apple { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-windows { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-android { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-linux { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-dribbble { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-skype { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-foursquare { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-trello { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-gratipay { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-gittip { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-gittip { + --fa: "\f184"; +} + +.fa.fa-sun-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-sun-o { + --fa: "\f185"; +} + +.fa.fa-moon-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-moon-o { + --fa: "\f186"; +} + +.fa.fa-vk { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-weibo { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-renren { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-pagelines { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-stack-exchange { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-arrow-circle-o-right { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-arrow-circle-o-right { + --fa: "\f35a"; +} + +.fa.fa-arrow-circle-o-left { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-arrow-circle-o-left { + --fa: "\f359"; +} + +.fa.fa-caret-square-o-left { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-caret-square-o-left { + --fa: "\f191"; +} + +.fa.fa-toggle-left { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-toggle-left { + --fa: "\f191"; +} + +.fa.fa-dot-circle-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-dot-circle-o { + --fa: "\f192"; +} + +.fa.fa-vimeo-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-vimeo-square { + --fa: "\f194"; +} + +.fa.fa-try { + --fa: "\e2bb"; +} + +.fa.fa-turkish-lira { + --fa: "\e2bb"; +} + +.fa.fa-plus-square-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-plus-square-o { + --fa: "\f0fe"; +} + +.fa.fa-slack { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-wordpress { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-openid { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-institution { + --fa: "\f19c"; +} + +.fa.fa-bank { + --fa: "\f19c"; +} + +.fa.fa-mortar-board { + --fa: "\f19d"; +} + +.fa.fa-yahoo { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-google { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-reddit { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-reddit-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-reddit-square { + --fa: "\f1a2"; +} + +.fa.fa-stumbleupon-circle { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-stumbleupon { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-delicious { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-digg { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-pied-piper-pp { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-pied-piper-alt { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-drupal { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-joomla { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-behance { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-behance-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-behance-square { + --fa: "\f1b5"; +} + +.fa.fa-steam { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-steam-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-steam-square { + --fa: "\f1b7"; +} + +.fa.fa-automobile { + --fa: "\f1b9"; +} + +.fa.fa-cab { + --fa: "\f1ba"; +} + +.fa.fa-spotify { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-deviantart { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-soundcloud { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-file-pdf-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-pdf-o { + --fa: "\f1c1"; +} + +.fa.fa-file-word-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-word-o { + --fa: "\f1c2"; +} + +.fa.fa-file-excel-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-excel-o { + --fa: "\f1c3"; +} + +.fa.fa-file-powerpoint-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-powerpoint-o { + --fa: "\f1c4"; +} + +.fa.fa-file-image-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-image-o { + --fa: "\f1c5"; +} + +.fa.fa-file-photo-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-photo-o { + --fa: "\f1c5"; +} + +.fa.fa-file-picture-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-picture-o { + --fa: "\f1c5"; +} + +.fa.fa-file-archive-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-archive-o { + --fa: "\f1c6"; +} + +.fa.fa-file-zip-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-zip-o { + --fa: "\f1c6"; +} + +.fa.fa-file-audio-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-audio-o { + --fa: "\f1c7"; +} + +.fa.fa-file-sound-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-sound-o { + --fa: "\f1c7"; +} + +.fa.fa-file-video-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-video-o { + --fa: "\f1c8"; +} + +.fa.fa-file-movie-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-movie-o { + --fa: "\f1c8"; +} + +.fa.fa-file-code-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-file-code-o { + --fa: "\f1c9"; +} + +.fa.fa-vine { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-codepen { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-jsfiddle { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-life-bouy { + --fa: "\f1cd"; +} + +.fa.fa-life-buoy { + --fa: "\f1cd"; +} + +.fa.fa-life-saver { + --fa: "\f1cd"; +} + +.fa.fa-support { + --fa: "\f1cd"; +} + +.fa.fa-circle-o-notch { + --fa: "\f1ce"; +} + +.fa.fa-rebel { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-ra { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-ra { + --fa: "\f1d0"; +} + +.fa.fa-resistance { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-resistance { + --fa: "\f1d0"; +} + +.fa.fa-empire { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-ge { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-ge { + --fa: "\f1d1"; +} + +.fa.fa-git-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-git-square { + --fa: "\f1d2"; +} + +.fa.fa-git { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-hacker-news { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-y-combinator-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-y-combinator-square { + --fa: "\f1d4"; +} + +.fa.fa-yc-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-yc-square { + --fa: "\f1d4"; +} + +.fa.fa-tencent-weibo { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-qq { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-weixin { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-wechat { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-wechat { + --fa: "\f1d7"; +} + +.fa.fa-send { + --fa: "\f1d8"; +} + +.fa.fa-paper-plane-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-paper-plane-o { + --fa: "\f1d8"; +} + +.fa.fa-send-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-send-o { + --fa: "\f1d8"; +} + +.fa.fa-circle-thin { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-circle-thin { + --fa: "\f111"; +} + +.fa.fa-header { + --fa: "\f1dc"; +} + +.fa.fa-futbol-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-futbol-o { + --fa: "\f1e3"; +} + +.fa.fa-soccer-ball-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-soccer-ball-o { + --fa: "\f1e3"; +} + +.fa.fa-slideshare { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-twitch { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-yelp { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-newspaper-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-newspaper-o { + --fa: "\f1ea"; +} + +.fa.fa-paypal { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-google-wallet { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-cc-visa { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-cc-mastercard { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-cc-discover { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-cc-amex { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-cc-paypal { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-cc-stripe { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-bell-slash-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-bell-slash-o { + --fa: "\f1f6"; +} + +.fa.fa-trash { + --fa: "\f2ed"; +} + +.fa.fa-copyright { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-eyedropper { + --fa: "\f1fb"; +} + +.fa.fa-area-chart { + --fa: "\f1fe"; +} + +.fa.fa-pie-chart { + --fa: "\f200"; +} + +.fa.fa-line-chart { + --fa: "\f201"; +} + +.fa.fa-lastfm { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-lastfm-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-lastfm-square { + --fa: "\f203"; +} + +.fa.fa-ioxhost { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-angellist { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-cc { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-cc { + --fa: "\f20a"; +} + +.fa.fa-ils { + --fa: "\f20b"; +} + +.fa.fa-shekel { + --fa: "\f20b"; +} + +.fa.fa-sheqel { + --fa: "\f20b"; +} + +.fa.fa-buysellads { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-connectdevelop { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-dashcube { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-forumbee { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-leanpub { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-sellsy { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-shirtsinbulk { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-simplybuilt { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-skyatlas { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-diamond { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-diamond { + --fa: "\f3a5"; +} + +.fa.fa-transgender { + --fa: "\f224"; +} + +.fa.fa-intersex { + --fa: "\f224"; +} + +.fa.fa-transgender-alt { + --fa: "\f225"; +} + +.fa.fa-facebook-official { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-facebook-official { + --fa: "\f09a"; +} + +.fa.fa-pinterest-p { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-whatsapp { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-hotel { + --fa: "\f236"; +} + +.fa.fa-viacoin { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-medium { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-y-combinator { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-yc { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-yc { + --fa: "\f23b"; +} + +.fa.fa-optin-monster { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-opencart { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-expeditedssl { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-battery-4 { + --fa: "\f240"; +} + +.fa.fa-battery { + --fa: "\f240"; +} + +.fa.fa-battery-3 { + --fa: "\f241"; +} + +.fa.fa-battery-2 { + --fa: "\f242"; +} + +.fa.fa-battery-1 { + --fa: "\f243"; +} + +.fa.fa-battery-0 { + --fa: "\f244"; +} + +.fa.fa-object-group { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-object-ungroup { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-sticky-note-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-sticky-note-o { + --fa: "\f249"; +} + +.fa.fa-cc-jcb { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-cc-diners-club { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-clone { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hourglass-o { + --fa: "\f254"; +} + +.fa.fa-hourglass-1 { + --fa: "\f251"; +} + +.fa.fa-hourglass-2 { + --fa: "\f252"; +} + +.fa.fa-hourglass-3 { + --fa: "\f253"; +} + +.fa.fa-hand-rock-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-rock-o { + --fa: "\f255"; +} + +.fa.fa-hand-grab-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-grab-o { + --fa: "\f255"; +} + +.fa.fa-hand-paper-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-paper-o { + --fa: "\f256"; +} + +.fa.fa-hand-stop-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-stop-o { + --fa: "\f256"; +} + +.fa.fa-hand-scissors-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-scissors-o { + --fa: "\f257"; +} + +.fa.fa-hand-lizard-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-lizard-o { + --fa: "\f258"; +} + +.fa.fa-hand-spock-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-spock-o { + --fa: "\f259"; +} + +.fa.fa-hand-pointer-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-pointer-o { + --fa: "\f25a"; +} + +.fa.fa-hand-peace-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-hand-peace-o { + --fa: "\f25b"; +} + +.fa.fa-registered { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-creative-commons { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-gg { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-gg-circle { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-odnoklassniki { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-odnoklassniki-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-odnoklassniki-square { + --fa: "\f264"; +} + +.fa.fa-get-pocket { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-wikipedia-w { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-safari { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-chrome { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-firefox { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-opera { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-internet-explorer { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-television { + --fa: "\f26c"; +} + +.fa.fa-contao { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-500px { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-amazon { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-calendar-plus-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-calendar-plus-o { + --fa: "\f271"; +} + +.fa.fa-calendar-minus-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-calendar-minus-o { + --fa: "\f272"; +} + +.fa.fa-calendar-times-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-calendar-times-o { + --fa: "\f273"; +} + +.fa.fa-calendar-check-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-calendar-check-o { + --fa: "\f274"; +} + +.fa.fa-map-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-map-o { + --fa: "\f279"; +} + +.fa.fa-commenting { + --fa: "\f4ad"; +} + +.fa.fa-commenting-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-commenting-o { + --fa: "\f4ad"; +} + +.fa.fa-houzz { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-vimeo { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-vimeo { + --fa: "\f27d"; +} + +.fa.fa-black-tie { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-fonticons { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-reddit-alien { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-edge { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-credit-card-alt { + --fa: "\f09d"; +} + +.fa.fa-codiepie { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-modx { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-fort-awesome { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-usb { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-product-hunt { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-mixcloud { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-scribd { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-pause-circle-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-pause-circle-o { + --fa: "\f28b"; +} + +.fa.fa-stop-circle-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-stop-circle-o { + --fa: "\f28d"; +} + +.fa.fa-bluetooth { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-bluetooth-b { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-gitlab { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-wpbeginner { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-wpforms { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-envira { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-wheelchair-alt { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-wheelchair-alt { + --fa: "\f368"; +} + +.fa.fa-question-circle-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-question-circle-o { + --fa: "\f059"; +} + +.fa.fa-volume-control-phone { + --fa: "\f2a0"; +} + +.fa.fa-asl-interpreting { + --fa: "\f2a3"; +} + +.fa.fa-deafness { + --fa: "\f2a4"; +} + +.fa.fa-hard-of-hearing { + --fa: "\f2a4"; +} + +.fa.fa-glide { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-glide-g { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-signing { + --fa: "\f2a7"; +} + +.fa.fa-viadeo { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-viadeo-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-viadeo-square { + --fa: "\f2aa"; +} + +.fa.fa-snapchat { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-snapchat-ghost { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-snapchat-ghost { + --fa: "\f2ab"; +} + +.fa.fa-snapchat-square { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-snapchat-square { + --fa: "\f2ad"; +} + +.fa.fa-pied-piper { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-first-order { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-yoast { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-themeisle { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-google-plus-official { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-google-plus-official { + --fa: "\f2b3"; +} + +.fa.fa-google-plus-circle { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-google-plus-circle { + --fa: "\f2b3"; +} + +.fa.fa-font-awesome { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-fa { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-fa { + --fa: "\f2b4"; +} + +.fa.fa-handshake-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-handshake-o { + --fa: "\f2b5"; +} + +.fa.fa-envelope-open-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-envelope-open-o { + --fa: "\f2b6"; +} + +.fa.fa-linode { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-address-book-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-address-book-o { + --fa: "\f2b9"; +} + +.fa.fa-vcard { + --fa: "\f2bb"; +} + +.fa.fa-address-card-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-address-card-o { + --fa: "\f2bb"; +} + +.fa.fa-vcard-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-vcard-o { + --fa: "\f2bb"; +} + +.fa.fa-user-circle-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-user-circle-o { + --fa: "\f2bd"; +} + +.fa.fa-user-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-user-o { + --fa: "\f007"; +} + +.fa.fa-id-badge { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-drivers-license { + --fa: "\f2c2"; +} + +.fa.fa-id-card-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-id-card-o { + --fa: "\f2c2"; +} + +.fa.fa-drivers-license-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-drivers-license-o { + --fa: "\f2c2"; +} + +.fa.fa-quora { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-free-code-camp { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-telegram { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-thermometer-4 { + --fa: "\f2c7"; +} + +.fa.fa-thermometer { + --fa: "\f2c7"; +} + +.fa.fa-thermometer-3 { + --fa: "\f2c8"; +} + +.fa.fa-thermometer-2 { + --fa: "\f2c9"; +} + +.fa.fa-thermometer-1 { + --fa: "\f2ca"; +} + +.fa.fa-thermometer-0 { + --fa: "\f2cb"; +} + +.fa.fa-bathtub { + --fa: "\f2cd"; +} + +.fa.fa-s15 { + --fa: "\f2cd"; +} + +.fa.fa-window-maximize { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-window-restore { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-times-rectangle { + --fa: "\f410"; +} + +.fa.fa-window-close-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-window-close-o { + --fa: "\f410"; +} + +.fa.fa-times-rectangle-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-times-rectangle-o { + --fa: "\f410"; +} + +.fa.fa-bandcamp { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-grav { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-etsy { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-imdb { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-ravelry { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-eercast { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-eercast { + --fa: "\f2da"; +} + +.fa.fa-snowflake-o { + font-family: "Font Awesome 7 Free"; + font-weight: 400; +} + +.fa.fa-snowflake-o { + --fa: "\f2dc"; +} + +.fa.fa-superpowers { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-wpexplorer { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} + +.fa.fa-meetup { + font-family: "Font Awesome 7 Brands"; + font-weight: 400; +} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/v4-shims.min.css b/assets/js/fortawesome-fontawesome-free/css/v4-shims.min.css new file mode 100644 index 0000000..5b8b8a2 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/v4-shims.min.css @@ -0,0 +1,6 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +.fa.fa-glass{--fa:"\f000"}.fa.fa-envelope-o{--fa:"\f0e0"}.fa.fa-envelope-o,.fa.fa-star-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-star-o{--fa:"\f005"}.fa.fa-close,.fa.fa-remove{--fa:"\f00d"}.fa.fa-gear{--fa:"\f013"}.fa.fa-trash-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f2ed"}.fa.fa-home{--fa:"\f015"}.fa.fa-file-o{--fa:"\f15b"}.fa.fa-clock-o,.fa.fa-file-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-clock-o{--fa:"\f017"}.fa.fa-arrow-circle-o-down{--fa:"\f358"}.fa.fa-arrow-circle-o-down,.fa.fa-arrow-circle-o-up{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-arrow-circle-o-up{--fa:"\f35b"}.fa.fa-play-circle-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f144"}.fa.fa-repeat,.fa.fa-rotate-right{--fa:"\f01e"}.fa.fa-refresh{--fa:"\f021"}.fa.fa-list-alt{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f022"}.fa.fa-dedent{--fa:"\f03b"}.fa.fa-video-camera{--fa:"\f03d"}.fa.fa-picture-o{--fa:"\f03e"}.fa.fa-photo,.fa.fa-picture-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-photo{--fa:"\f03e"}.fa.fa-image{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f03e"}.fa.fa-map-marker{--fa:"\f3c5"}.fa.fa-pencil-square-o{--fa:"\f044"}.fa.fa-edit,.fa.fa-pencil-square-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-edit{--fa:"\f044"}.fa.fa-share-square-o{--fa:"\f14d"}.fa.fa-check-square-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f14a"}.fa.fa-arrows{--fa:"\f0b2"}.fa.fa-times-circle-o{--fa:"\f057"}.fa.fa-check-circle-o,.fa.fa-times-circle-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-check-circle-o{--fa:"\f058"}.fa.fa-mail-forward{--fa:"\f064"}.fa.fa-expand{--fa:"\f424"}.fa.fa-compress{--fa:"\f422"}.fa.fa-eye,.fa.fa-eye-slash{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-warning{--fa:"\f071"}.fa.fa-calendar{--fa:"\f073"}.fa.fa-arrows-v{--fa:"\f338"}.fa.fa-arrows-h{--fa:"\f337"}.fa.fa-bar-chart,.fa.fa-bar-chart-o{--fa:"\e0e3"}.fa.fa-twitter-square{--fa:"\f081"}.fa.fa-facebook-square,.fa.fa-twitter-square{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-facebook-square{--fa:"\f082"}.fa.fa-gears{--fa:"\f085"}.fa.fa-thumbs-o-up{--fa:"\f164"}.fa.fa-thumbs-o-down,.fa.fa-thumbs-o-up{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-thumbs-o-down{--fa:"\f165"}.fa.fa-heart-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f004"}.fa.fa-sign-out{--fa:"\f2f5"}.fa.fa-linkedin-square{font-family:"Font Awesome 7 Brands";font-weight:400;--fa:"\f08c"}.fa.fa-thumb-tack{--fa:"\f08d"}.fa.fa-external-link{--fa:"\f35d"}.fa.fa-sign-in{--fa:"\f2f6"}.fa.fa-github-square{font-family:"Font Awesome 7 Brands";font-weight:400;--fa:"\f092"}.fa.fa-lemon-o{--fa:"\f094"}.fa.fa-lemon-o,.fa.fa-square-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-square-o{--fa:"\f0c8"}.fa.fa-bookmark-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f02e"}.fa.fa-facebook,.fa.fa-twitter{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-facebook{--fa:"\f39e"}.fa.fa-facebook-f{--fa:"\f39e"}.fa.fa-facebook-f,.fa.fa-github{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-credit-card{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-feed{--fa:"\f09e"}.fa.fa-hdd-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f0a0"}.fa.fa-hand-o-right{--fa:"\f0a4"}.fa.fa-hand-o-left,.fa.fa-hand-o-right{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-hand-o-left{--fa:"\f0a5"}.fa.fa-hand-o-up{--fa:"\f0a6"}.fa.fa-hand-o-down,.fa.fa-hand-o-up{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-hand-o-down{--fa:"\f0a7"}.fa.fa-globe{--fa:"\f57d"}.fa.fa-tasks{--fa:"\f828"}.fa.fa-arrows-alt{--fa:"\f31e"}.fa.fa-group{--fa:"\f0c0"}.fa.fa-chain{--fa:"\f0c1"}.fa.fa-cut{--fa:"\f0c4"}.fa.fa-files-o{--fa:"\f0c5"}.fa.fa-files-o,.fa.fa-floppy-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-floppy-o{--fa:"\f0c7"}.fa.fa-save{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f0c7"}.fa.fa-navicon,.fa.fa-reorder{--fa:"\f0c9"}.fa.fa-magic{--fa:"\e2ca"}.fa.fa-pinterest,.fa.fa-pinterest-square{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-pinterest-square{--fa:"\f0d3"}.fa.fa-google-plus-square{--fa:"\f0d4"}.fa.fa-google-plus,.fa.fa-google-plus-square{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-google-plus{--fa:"\f0d5"}.fa.fa-money{--fa:"\f3d1"}.fa.fa-unsorted{--fa:"\f0dc"}.fa.fa-sort-desc{--fa:"\f0dd"}.fa.fa-sort-asc{--fa:"\f0de"}.fa.fa-linkedin{font-family:"Font Awesome 7 Brands";font-weight:400;--fa:"\f0e1"}.fa.fa-rotate-left{--fa:"\f0e2"}.fa.fa-legal{--fa:"\f0e3"}.fa.fa-dashboard,.fa.fa-tachometer{--fa:"\f625"}.fa.fa-comment-o{--fa:"\f075"}.fa.fa-comment-o,.fa.fa-comments-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-comments-o{--fa:"\f086"}.fa.fa-flash{--fa:"\f0e7"}.fa.fa-clipboard{--fa:"\f0ea"}.fa.fa-lightbulb-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f0eb"}.fa.fa-exchange{--fa:"\f362"}.fa.fa-cloud-download{--fa:"\f0ed"}.fa.fa-cloud-upload{--fa:"\f0ee"}.fa.fa-bell-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f0f3"}.fa.fa-cutlery{--fa:"\f2e7"}.fa.fa-file-text-o{--fa:"\f15c"}.fa.fa-building-o,.fa.fa-file-text-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-building-o{--fa:"\f1ad"}.fa.fa-hospital-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f0f8"}.fa.fa-tablet{--fa:"\f3fa"}.fa.fa-mobile,.fa.fa-mobile-phone{--fa:"\f3cd"}.fa.fa-circle-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f111"}.fa.fa-mail-reply{--fa:"\f3e5"}.fa.fa-github-alt{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-folder-o{--fa:"\f07b"}.fa.fa-folder-o,.fa.fa-folder-open-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-folder-open-o{--fa:"\f07c"}.fa.fa-smile-o{--fa:"\f118"}.fa.fa-frown-o,.fa.fa-smile-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-frown-o{--fa:"\f119"}.fa.fa-meh-o{--fa:"\f11a"}.fa.fa-keyboard-o,.fa.fa-meh-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-keyboard-o{--fa:"\f11c"}.fa.fa-flag-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f024"}.fa.fa-mail-reply-all{--fa:"\f122"}.fa.fa-star-half-o{--fa:"\f5c0"}.fa.fa-star-half-empty,.fa.fa-star-half-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-star-half-empty{--fa:"\f5c0"}.fa.fa-star-half-full{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f5c0"}.fa.fa-code-fork{--fa:"\f126"}.fa.fa-chain-broken,.fa.fa-unlink{--fa:"\f127"}.fa.fa-calendar-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f133"}.fa.fa-css3,.fa.fa-html5,.fa.fa-maxcdn{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-unlock-alt{--fa:"\f09c"}.fa.fa-minus-square-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f146"}.fa.fa-level-up{--fa:"\f3bf"}.fa.fa-level-down{--fa:"\f3be"}.fa.fa-pencil-square{--fa:"\f14b"}.fa.fa-external-link-square{--fa:"\f360"}.fa.fa-compass{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-caret-square-o-down{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f150"}.fa.fa-toggle-down{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f150"}.fa.fa-caret-square-o-up{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f151"}.fa.fa-toggle-up{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f151"}.fa.fa-caret-square-o-right{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f152"}.fa.fa-toggle-right{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f152"}.fa.fa-eur,.fa.fa-euro{--fa:"\f153"}.fa.fa-gbp{--fa:"\f154"}.fa.fa-dollar,.fa.fa-usd{--fa:"\$"}.fa.fa-inr,.fa.fa-rupee{--fa:"\e1bc"}.fa.fa-cny,.fa.fa-jpy,.fa.fa-rmb,.fa.fa-yen{--fa:"\f157"}.fa.fa-rouble,.fa.fa-rub,.fa.fa-ruble{--fa:"\f158"}.fa.fa-krw,.fa.fa-won{--fa:"\f159"}.fa.fa-bitcoin,.fa.fa-btc{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-bitcoin{--fa:"\f15a"}.fa.fa-file-text{--fa:"\f15c"}.fa.fa-sort-alpha-asc{--fa:"\f15d"}.fa.fa-sort-alpha-desc{--fa:"\f881"}.fa.fa-sort-amount-asc{--fa:"\f884"}.fa.fa-sort-amount-desc{--fa:"\f160"}.fa.fa-sort-numeric-asc{--fa:"\f162"}.fa.fa-sort-numeric-desc{--fa:"\f886"}.fa.fa-youtube-square{--fa:"\f431"}.fa.fa-xing,.fa.fa-xing-square,.fa.fa-youtube,.fa.fa-youtube-square{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-xing-square{--fa:"\f169"}.fa.fa-youtube-play{--fa:"\f167"}.fa.fa-adn,.fa.fa-bitbucket,.fa.fa-bitbucket-square,.fa.fa-dropbox,.fa.fa-flickr,.fa.fa-instagram,.fa.fa-stack-overflow,.fa.fa-youtube-play{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-bitbucket-square{--fa:"\f171"}.fa.fa-tumblr,.fa.fa-tumblr-square{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-tumblr-square{--fa:"\f174"}.fa.fa-long-arrow-down{--fa:"\f309"}.fa.fa-long-arrow-up{--fa:"\f30c"}.fa.fa-long-arrow-left{--fa:"\f30a"}.fa.fa-long-arrow-right{--fa:"\f30b"}.fa.fa-android,.fa.fa-apple,.fa.fa-dribbble,.fa.fa-foursquare,.fa.fa-gittip,.fa.fa-gratipay,.fa.fa-linux,.fa.fa-skype,.fa.fa-trello,.fa.fa-windows{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-gittip{--fa:"\f184"}.fa.fa-sun-o{--fa:"\f185"}.fa.fa-moon-o,.fa.fa-sun-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-moon-o{--fa:"\f186"}.fa.fa-pagelines,.fa.fa-renren,.fa.fa-stack-exchange,.fa.fa-vk,.fa.fa-weibo{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-arrow-circle-o-right{--fa:"\f35a"}.fa.fa-arrow-circle-o-left,.fa.fa-arrow-circle-o-right{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-arrow-circle-o-left{--fa:"\f359"}.fa.fa-caret-square-o-left{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f191"}.fa.fa-toggle-left{--fa:"\f191"}.fa.fa-dot-circle-o,.fa.fa-toggle-left{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-dot-circle-o{--fa:"\f192"}.fa.fa-vimeo-square{font-family:"Font Awesome 7 Brands";font-weight:400;--fa:"\f194"}.fa.fa-try,.fa.fa-turkish-lira{--fa:"\e2bb"}.fa.fa-plus-square-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f0fe"}.fa.fa-openid,.fa.fa-slack,.fa.fa-wordpress{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-bank,.fa.fa-institution{--fa:"\f19c"}.fa.fa-mortar-board{--fa:"\f19d"}.fa.fa-google,.fa.fa-reddit,.fa.fa-reddit-square,.fa.fa-yahoo{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-reddit-square{--fa:"\f1a2"}.fa.fa-behance,.fa.fa-behance-square,.fa.fa-delicious,.fa.fa-digg,.fa.fa-drupal,.fa.fa-joomla,.fa.fa-pied-piper-alt,.fa.fa-pied-piper-pp,.fa.fa-stumbleupon,.fa.fa-stumbleupon-circle{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-behance-square{--fa:"\f1b5"}.fa.fa-steam,.fa.fa-steam-square{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-steam-square{--fa:"\f1b7"}.fa.fa-automobile{--fa:"\f1b9"}.fa.fa-cab{--fa:"\f1ba"}.fa.fa-deviantart,.fa.fa-soundcloud,.fa.fa-spotify{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-file-pdf-o{--fa:"\f1c1"}.fa.fa-file-pdf-o,.fa.fa-file-word-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-file-word-o{--fa:"\f1c2"}.fa.fa-file-excel-o{--fa:"\f1c3"}.fa.fa-file-excel-o,.fa.fa-file-powerpoint-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-file-powerpoint-o{--fa:"\f1c4"}.fa.fa-file-image-o{--fa:"\f1c5"}.fa.fa-file-image-o,.fa.fa-file-photo-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-file-photo-o{--fa:"\f1c5"}.fa.fa-file-picture-o{--fa:"\f1c5"}.fa.fa-file-archive-o,.fa.fa-file-picture-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-file-archive-o{--fa:"\f1c6"}.fa.fa-file-zip-o{--fa:"\f1c6"}.fa.fa-file-audio-o,.fa.fa-file-zip-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-file-audio-o{--fa:"\f1c7"}.fa.fa-file-sound-o{--fa:"\f1c7"}.fa.fa-file-sound-o,.fa.fa-file-video-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-file-video-o{--fa:"\f1c8"}.fa.fa-file-movie-o{--fa:"\f1c8"}.fa.fa-file-code-o,.fa.fa-file-movie-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-file-code-o{--fa:"\f1c9"}.fa.fa-codepen,.fa.fa-jsfiddle,.fa.fa-vine{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-life-bouy,.fa.fa-life-buoy,.fa.fa-life-saver,.fa.fa-support{--fa:"\f1cd"}.fa.fa-circle-o-notch{--fa:"\f1ce"}.fa.fa-ra,.fa.fa-rebel{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-ra{--fa:"\f1d0"}.fa.fa-resistance{--fa:"\f1d0"}.fa.fa-empire,.fa.fa-ge,.fa.fa-resistance{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-ge{--fa:"\f1d1"}.fa.fa-git-square{--fa:"\f1d2"}.fa.fa-git,.fa.fa-git-square,.fa.fa-hacker-news,.fa.fa-y-combinator-square{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-y-combinator-square{--fa:"\f1d4"}.fa.fa-yc-square{--fa:"\f1d4"}.fa.fa-qq,.fa.fa-tencent-weibo,.fa.fa-wechat,.fa.fa-weixin,.fa.fa-yc-square{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-wechat{--fa:"\f1d7"}.fa.fa-send{--fa:"\f1d8"}.fa.fa-paper-plane-o{--fa:"\f1d8"}.fa.fa-paper-plane-o,.fa.fa-send-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-send-o{--fa:"\f1d8"}.fa.fa-circle-thin{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f111"}.fa.fa-header{--fa:"\f1dc"}.fa.fa-futbol-o{--fa:"\f1e3"}.fa.fa-futbol-o,.fa.fa-soccer-ball-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-soccer-ball-o{--fa:"\f1e3"}.fa.fa-slideshare,.fa.fa-twitch,.fa.fa-yelp{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-newspaper-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f1ea"}.fa.fa-cc-amex,.fa.fa-cc-discover,.fa.fa-cc-mastercard,.fa.fa-cc-paypal,.fa.fa-cc-stripe,.fa.fa-cc-visa,.fa.fa-google-wallet,.fa.fa-paypal{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-bell-slash-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f1f6"}.fa.fa-trash{--fa:"\f2ed"}.fa.fa-copyright{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-eyedropper{--fa:"\f1fb"}.fa.fa-area-chart{--fa:"\f1fe"}.fa.fa-pie-chart{--fa:"\f200"}.fa.fa-line-chart{--fa:"\f201"}.fa.fa-lastfm,.fa.fa-lastfm-square{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-lastfm-square{--fa:"\f203"}.fa.fa-angellist,.fa.fa-ioxhost{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-cc{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f20a"}.fa.fa-ils,.fa.fa-shekel,.fa.fa-sheqel{--fa:"\f20b"}.fa.fa-buysellads,.fa.fa-connectdevelop,.fa.fa-dashcube,.fa.fa-forumbee,.fa.fa-leanpub,.fa.fa-sellsy,.fa.fa-shirtsinbulk,.fa.fa-simplybuilt,.fa.fa-skyatlas{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-diamond{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f3a5"}.fa.fa-intersex,.fa.fa-transgender{--fa:"\f224"}.fa.fa-transgender-alt{--fa:"\f225"}.fa.fa-facebook-official{--fa:"\f09a"}.fa.fa-facebook-official,.fa.fa-pinterest-p,.fa.fa-whatsapp{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-hotel{--fa:"\f236"}.fa.fa-medium,.fa.fa-viacoin,.fa.fa-y-combinator,.fa.fa-yc{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-yc{--fa:"\f23b"}.fa.fa-expeditedssl,.fa.fa-opencart,.fa.fa-optin-monster{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-battery,.fa.fa-battery-4{--fa:"\f240"}.fa.fa-battery-3{--fa:"\f241"}.fa.fa-battery-2{--fa:"\f242"}.fa.fa-battery-1{--fa:"\f243"}.fa.fa-battery-0{--fa:"\f244"}.fa.fa-object-group,.fa.fa-object-ungroup,.fa.fa-sticky-note-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-sticky-note-o{--fa:"\f249"}.fa.fa-cc-diners-club,.fa.fa-cc-jcb{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-clone{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-hourglass-o{--fa:"\f254"}.fa.fa-hourglass-1{--fa:"\f251"}.fa.fa-hourglass-2{--fa:"\f252"}.fa.fa-hourglass-3{--fa:"\f253"}.fa.fa-hand-rock-o{--fa:"\f255"}.fa.fa-hand-grab-o,.fa.fa-hand-rock-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-hand-grab-o{--fa:"\f255"}.fa.fa-hand-paper-o{--fa:"\f256"}.fa.fa-hand-paper-o,.fa.fa-hand-stop-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-hand-stop-o{--fa:"\f256"}.fa.fa-hand-scissors-o{--fa:"\f257"}.fa.fa-hand-lizard-o,.fa.fa-hand-scissors-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-hand-lizard-o{--fa:"\f258"}.fa.fa-hand-spock-o{--fa:"\f259"}.fa.fa-hand-pointer-o,.fa.fa-hand-spock-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-hand-pointer-o{--fa:"\f25a"}.fa.fa-hand-peace-o{--fa:"\f25b"}.fa.fa-hand-peace-o,.fa.fa-registered{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-creative-commons,.fa.fa-gg,.fa.fa-gg-circle,.fa.fa-odnoklassniki,.fa.fa-odnoklassniki-square{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-odnoklassniki-square{--fa:"\f264"}.fa.fa-chrome,.fa.fa-firefox,.fa.fa-get-pocket,.fa.fa-internet-explorer,.fa.fa-opera,.fa.fa-safari,.fa.fa-wikipedia-w{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-television{--fa:"\f26c"}.fa.fa-500px,.fa.fa-amazon,.fa.fa-contao{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-calendar-plus-o{--fa:"\f271"}.fa.fa-calendar-minus-o,.fa.fa-calendar-plus-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-calendar-minus-o{--fa:"\f272"}.fa.fa-calendar-times-o{--fa:"\f273"}.fa.fa-calendar-check-o,.fa.fa-calendar-times-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-calendar-check-o{--fa:"\f274"}.fa.fa-map-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f279"}.fa.fa-commenting{--fa:"\f4ad"}.fa.fa-commenting-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f4ad"}.fa.fa-houzz,.fa.fa-vimeo{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-vimeo{--fa:"\f27d"}.fa.fa-black-tie,.fa.fa-edge,.fa.fa-fonticons,.fa.fa-reddit-alien{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-credit-card-alt{--fa:"\f09d"}.fa.fa-codiepie,.fa.fa-fort-awesome,.fa.fa-mixcloud,.fa.fa-modx,.fa.fa-product-hunt,.fa.fa-scribd,.fa.fa-usb{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-pause-circle-o{--fa:"\f28b"}.fa.fa-pause-circle-o,.fa.fa-stop-circle-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-stop-circle-o{--fa:"\f28d"}.fa.fa-bluetooth,.fa.fa-bluetooth-b,.fa.fa-envira,.fa.fa-gitlab,.fa.fa-wheelchair-alt,.fa.fa-wpbeginner,.fa.fa-wpforms{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-wheelchair-alt{--fa:"\f368"}.fa.fa-question-circle-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f059"}.fa.fa-volume-control-phone{--fa:"\f2a0"}.fa.fa-asl-interpreting{--fa:"\f2a3"}.fa.fa-deafness,.fa.fa-hard-of-hearing{--fa:"\f2a4"}.fa.fa-glide,.fa.fa-glide-g{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-signing{--fa:"\f2a7"}.fa.fa-viadeo,.fa.fa-viadeo-square{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-viadeo-square{--fa:"\f2aa"}.fa.fa-snapchat,.fa.fa-snapchat-ghost{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-snapchat-ghost{--fa:"\f2ab"}.fa.fa-snapchat-square{--fa:"\f2ad"}.fa.fa-first-order,.fa.fa-google-plus-official,.fa.fa-pied-piper,.fa.fa-snapchat-square,.fa.fa-themeisle,.fa.fa-yoast{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-google-plus-official{--fa:"\f2b3"}.fa.fa-google-plus-circle{--fa:"\f2b3"}.fa.fa-fa,.fa.fa-font-awesome,.fa.fa-google-plus-circle{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-fa{--fa:"\f2b4"}.fa.fa-handshake-o{--fa:"\f2b5"}.fa.fa-envelope-open-o,.fa.fa-handshake-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-envelope-open-o{--fa:"\f2b6"}.fa.fa-linode{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-address-book-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f2b9"}.fa.fa-vcard{--fa:"\f2bb"}.fa.fa-address-card-o{--fa:"\f2bb"}.fa.fa-address-card-o,.fa.fa-vcard-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-vcard-o{--fa:"\f2bb"}.fa.fa-user-circle-o{--fa:"\f2bd"}.fa.fa-user-circle-o,.fa.fa-user-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-user-o{--fa:"\f007"}.fa.fa-id-badge{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-drivers-license{--fa:"\f2c2"}.fa.fa-id-card-o{--fa:"\f2c2"}.fa.fa-drivers-license-o,.fa.fa-id-card-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-drivers-license-o{--fa:"\f2c2"}.fa.fa-free-code-camp,.fa.fa-quora,.fa.fa-telegram{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-thermometer,.fa.fa-thermometer-4{--fa:"\f2c7"}.fa.fa-thermometer-3{--fa:"\f2c8"}.fa.fa-thermometer-2{--fa:"\f2c9"}.fa.fa-thermometer-1{--fa:"\f2ca"}.fa.fa-thermometer-0{--fa:"\f2cb"}.fa.fa-bathtub,.fa.fa-s15{--fa:"\f2cd"}.fa.fa-window-maximize,.fa.fa-window-restore{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-times-rectangle{--fa:"\f410"}.fa.fa-window-close-o{--fa:"\f410"}.fa.fa-times-rectangle-o,.fa.fa-window-close-o{font-family:"Font Awesome 7 Free";font-weight:400}.fa.fa-times-rectangle-o{--fa:"\f410"}.fa.fa-bandcamp,.fa.fa-eercast,.fa.fa-etsy,.fa.fa-grav,.fa.fa-imdb,.fa.fa-ravelry{font-family:"Font Awesome 7 Brands";font-weight:400}.fa.fa-eercast{--fa:"\f2da"}.fa.fa-snowflake-o{font-family:"Font Awesome 7 Free";font-weight:400;--fa:"\f2dc"}.fa.fa-meetup,.fa.fa-superpowers,.fa.fa-wpexplorer{font-family:"Font Awesome 7 Brands";font-weight:400} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/v5-font-face.css b/assets/js/fortawesome-fontawesome-free/css/v5-font-face.css new file mode 100644 index 0000000..e95d3c9 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/v5-font-face.css @@ -0,0 +1,23 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +@font-face { + font-family: "Font Awesome 5 Brands"; + font-display: block; + font-weight: 400; + src: url("../webfonts/fa-brands-400.woff2") format("woff2"); +} +@font-face { + font-family: "Font Awesome 5 Free"; + font-display: block; + font-weight: 900; + src: url("../webfonts/fa-solid-900.woff2") format("woff2"); +} +@font-face { + font-family: "Font Awesome 5 Free"; + font-display: block; + font-weight: 400; + src: url("../webfonts/fa-regular-400.woff2") format("woff2"); +} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/css/v5-font-face.min.css b/assets/js/fortawesome-fontawesome-free/css/v5-font-face.min.css new file mode 100644 index 0000000..013aa6f --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/css/v5-font-face.min.css @@ -0,0 +1,6 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +@font-face{font-family:"Font Awesome 5 Brands";font-display:block;font-weight:400;src:url(../webfonts/fa-brands-400.woff2) format("woff2")}@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:900;src:url(../webfonts/fa-solid-900.woff2) format("woff2")}@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:400;src:url(../webfonts/fa-regular-400.woff2) format("woff2")} \ No newline at end of file diff --git a/assets/js/fortawesome-fontawesome-free/fontawesome.js b/assets/js/fortawesome-fontawesome-free/fontawesome.js new file mode 100644 index 0000000..3b01a40 --- /dev/null +++ b/assets/js/fortawesome-fontawesome-free/fontawesome.js @@ -0,0 +1,3604 @@ +/*! + * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2025 Fonticons, Inc. + */ +(function () { + 'use strict'; + + function _arrayLikeToArray(r, a) { + (null == a || a > r.length) && (a = r.length); + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; + return n; + } + function _arrayWithHoles(r) { + if (Array.isArray(r)) return r; + } + function _arrayWithoutHoles(r) { + if (Array.isArray(r)) return _arrayLikeToArray(r); + } + function _classCallCheck(a, n) { + if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); + } + function _defineProperties(e, r) { + for (var t = 0; t < r.length; t++) { + var o = r[t]; + o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); + } + } + function _createClass(e, r, t) { + return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { + writable: !1 + }), e; + } + function _createForOfIteratorHelper(r, e) { + var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (!t) { + if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { + t && (r = t); + var n = 0, + F = function () {}; + return { + s: F, + n: function () { + return n >= r.length ? { + done: !0 + } : { + done: !1, + value: r[n++] + }; + }, + e: function (r) { + throw r; + }, + f: F + }; + } + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + var o, + a = !0, + u = !1; + return { + s: function () { + t = t.call(r); + }, + n: function () { + var r = t.next(); + return a = r.done, r; + }, + e: function (r) { + u = !0, o = r; + }, + f: function () { + try { + a || null == t.return || t.return(); + } finally { + if (u) throw o; + } + } + }; + } + function _defineProperty(e, r, t) { + return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { + value: t, + enumerable: !0, + configurable: !0, + writable: !0 + }) : e[r] = t, e; + } + function _inherits(t, e) { + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: !0, + configurable: !0 + } + }), Object.defineProperty(t, "prototype", { + writable: !1 + }), e && _setPrototypeOf(t, e); + } + function _iterableToArray(r) { + if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); + } + function _iterableToArrayLimit(r, l) { + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (null != t) { + var e, + n, + i, + u, + a = [], + f = !0, + o = !1; + try { + if (i = (t = t.call(r)).next, 0 === l) { + if (Object(t) !== t) return; + f = !1; + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); + } catch (r) { + o = !0, n = r; + } finally { + try { + if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; + } finally { + if (o) throw n; + } + } + return a; + } + } + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + function ownKeys(e, r) { + var t = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var o = Object.getOwnPropertySymbols(e); + r && (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), t.push.apply(t, o); + } + return t; + } + function _objectSpread2(e) { + for (var r = 1; r < arguments.length; r++) { + var t = null != arguments[r] ? arguments[r] : {}; + r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { + _defineProperty(e, r, t[r]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { + Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); + }); + } + return e; + } + function _setPrototypeOf(t, e) { + return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { + return t.__proto__ = e, t; + }, _setPrototypeOf(t, e); + } + function _slicedToArray(r, e) { + return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); + } + function _toConsumableArray(r) { + return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); + } + function _toPrimitive(t, r) { + if ("object" != typeof t || !t) return t; + var e = t[Symbol.toPrimitive]; + if (void 0 !== e) { + var i = e.call(t, r || "default"); + if ("object" != typeof i) return i; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return ("string" === r ? String : Number)(t); + } + function _toPropertyKey(t) { + var i = _toPrimitive(t, "string"); + return "symbol" == typeof i ? i : i + ""; + } + function _typeof(o) { + "@babel/helpers - typeof"; + + return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { + return typeof o; + } : function (o) { + return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; + }, _typeof(o); + } + function _unsupportedIterableToArray(r, a) { + if (r) { + if ("string" == typeof r) return _arrayLikeToArray(r, a); + var t = {}.toString.call(r).slice(8, -1); + return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; + } + } + function _wrapRegExp() { + _wrapRegExp = function (e, r) { + return new BabelRegExp(e, void 0, r); + }; + var e = RegExp.prototype, + r = new WeakMap(); + function BabelRegExp(e, t, p) { + var o = RegExp(e, t); + return r.set(o, p || r.get(e)), _setPrototypeOf(o, BabelRegExp.prototype); + } + function buildGroups(e, t) { + var p = r.get(t); + return Object.keys(p).reduce(function (r, t) { + var o = p[t]; + if ("number" == typeof o) r[t] = e[o];else { + for (var i = 0; void 0 === e[o[i]] && i + 1 < o.length;) i++; + r[t] = e[o[i]]; + } + return r; + }, Object.create(null)); + } + return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (r) { + var t = e.exec.call(this, r); + if (t) { + t.groups = buildGroups(t, this); + var p = t.indices; + p && (p.groups = buildGroups(p, this)); + } + return t; + }, BabelRegExp.prototype[Symbol.replace] = function (t, p) { + if ("string" == typeof p) { + var o = r.get(this); + return e[Symbol.replace].call(this, t, p.replace(/\$<([^>]+)(>|$)/g, function (e, r, t) { + if ("" === t) return e; + var p = o[r]; + return Array.isArray(p) ? "$" + p.join("$") : "number" == typeof p ? "$" + p : ""; + })); + } + if ("function" == typeof p) { + var i = this; + return e[Symbol.replace].call(this, t, function () { + var e = arguments; + return "object" != typeof e[e.length - 1] && (e = [].slice.call(e)).push(buildGroups(e, i)), p.apply(this, e); + }); + } + return e[Symbol.replace].call(this, t, p); + }, _wrapRegExp.apply(this, arguments); + } + + var noop = function noop() {}; + var _WINDOW = {}; + var _DOCUMENT = {}; + var _MUTATION_OBSERVER = null; + var _PERFORMANCE = { + mark: noop, + measure: noop + }; + try { + if (typeof window !== 'undefined') _WINDOW = window; + if (typeof document !== 'undefined') _DOCUMENT = document; + if (typeof MutationObserver !== 'undefined') _MUTATION_OBSERVER = MutationObserver; + if (typeof performance !== 'undefined') _PERFORMANCE = performance; + } catch (e) {} // eslint-disable-line no-empty + + var _ref = _WINDOW.navigator || {}, + _ref$userAgent = _ref.userAgent, + userAgent = _ref$userAgent === void 0 ? '' : _ref$userAgent; + var WINDOW = _WINDOW; + var DOCUMENT = _DOCUMENT; + var MUTATION_OBSERVER = _MUTATION_OBSERVER; + var PERFORMANCE = _PERFORMANCE; + var IS_BROWSER = !!WINDOW.document; + var IS_DOM = !!DOCUMENT.documentElement && !!DOCUMENT.head && typeof DOCUMENT.addEventListener === 'function' && typeof DOCUMENT.createElement === 'function'; + var IS_IE = ~userAgent.indexOf('MSIE') || ~userAgent.indexOf('Trident/'); + + var _so; + var K = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, + W = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Slab Press|Slab|Whiteboard)?.*/i; + var z = { + classic: { + fa: "solid", + fas: "solid", + "fa-solid": "solid", + far: "regular", + "fa-regular": "regular", + fal: "light", + "fa-light": "light", + fat: "thin", + "fa-thin": "thin", + fab: "brands", + "fa-brands": "brands" + }, + duotone: { + fa: "solid", + fad: "solid", + "fa-solid": "solid", + "fa-duotone": "solid", + fadr: "regular", + "fa-regular": "regular", + fadl: "light", + "fa-light": "light", + fadt: "thin", + "fa-thin": "thin" + }, + sharp: { + fa: "solid", + fass: "solid", + "fa-solid": "solid", + fasr: "regular", + "fa-regular": "regular", + fasl: "light", + "fa-light": "light", + fast: "thin", + "fa-thin": "thin" + }, + "sharp-duotone": { + fa: "solid", + fasds: "solid", + "fa-solid": "solid", + fasdr: "regular", + "fa-regular": "regular", + fasdl: "light", + "fa-light": "light", + fasdt: "thin", + "fa-thin": "thin" + }, + slab: { + "fa-regular": "regular", + faslr: "regular" + }, + "slab-press": { + "fa-regular": "regular", + faslpr: "regular" + }, + thumbprint: { + "fa-light": "light", + fatl: "light" + }, + whiteboard: { + "fa-semibold": "semibold", + fawsb: "semibold" + }, + notdog: { + "fa-solid": "solid", + fans: "solid" + }, + "notdog-duo": { + "fa-solid": "solid", + fands: "solid" + }, + etch: { + "fa-solid": "solid", + faes: "solid" + }, + jelly: { + "fa-regular": "regular", + fajr: "regular" + }, + "jelly-fill": { + "fa-regular": "regular", + fajfr: "regular" + }, + "jelly-duo": { + "fa-regular": "regular", + fajdr: "regular" + }, + chisel: { + "fa-regular": "regular", + facr: "regular" + } + }, + O = { + GROUP: "duotone-group", + SWAP_OPACITY: "swap-opacity", + PRIMARY: "primary", + SECONDARY: "secondary" + }, + G = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press"]; + var a = "classic", + o = "duotone", + d = "sharp", + t = "sharp-duotone", + i = "chisel", + n = "etch", + h = "jelly", + s = "jelly-duo", + f = "jelly-fill", + g = "notdog", + l = "notdog-duo", + u = "slab", + p = "slab-press", + e = "thumbprint", + w = "whiteboard", + m = "Classic", + y = "Duotone", + x = "Sharp", + c = "Sharp Duotone", + I = "Chisel", + b = "Etch", + F = "Jelly", + v = "Jelly Duo", + S = "Jelly Fill", + A = "Notdog", + P = "Notdog Duo", + j = "Slab", + B = "Slab Press", + N = "Thumbprint", + k = "Whiteboard", + oo = [a, o, d, t, i, n, h, s, f, g, l, u, p, e, w], + so = (_so = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_so, a, m), o, y), d, x), t, c), i, I), n, b), h, F), s, v), f, S), g, A), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_so, l, P), u, j), p, B), e, N), w, k)); + var io = { + classic: { + 900: "fas", + 400: "far", + normal: "far", + 300: "fal", + 100: "fat" + }, + duotone: { + 900: "fad", + 400: "fadr", + 300: "fadl", + 100: "fadt" + }, + sharp: { + 900: "fass", + 400: "fasr", + 300: "fasl", + 100: "fast" + }, + "sharp-duotone": { + 900: "fasds", + 400: "fasdr", + 300: "fasdl", + 100: "fasdt" + }, + slab: { + 400: "faslr" + }, + "slab-press": { + 400: "faslpr" + }, + whiteboard: { + 600: "fawsb" + }, + thumbprint: { + 300: "fatl" + }, + notdog: { + 900: "fans" + }, + "notdog-duo": { + 900: "fands" + }, + etch: { + 900: "faes" + }, + chisel: { + 400: "facr" + }, + jelly: { + 400: "fajr" + }, + "jelly-fill": { + 400: "fajfr" + }, + "jelly-duo": { + 400: "fajdr" + } + }; + var Bo = { + "Font Awesome 7 Free": { + 900: "fas", + 400: "far" + }, + "Font Awesome 7 Pro": { + 900: "fas", + 400: "far", + normal: "far", + 300: "fal", + 100: "fat" + }, + "Font Awesome 7 Brands": { + 400: "fab", + normal: "fab" + }, + "Font Awesome 7 Duotone": { + 900: "fad", + 400: "fadr", + normal: "fadr", + 300: "fadl", + 100: "fadt" + }, + "Font Awesome 7 Sharp": { + 900: "fass", + 400: "fasr", + normal: "fasr", + 300: "fasl", + 100: "fast" + }, + "Font Awesome 7 Sharp Duotone": { + 900: "fasds", + 400: "fasdr", + normal: "fasdr", + 300: "fasdl", + 100: "fasdt" + }, + "Font Awesome 7 Jelly": { + 400: "fajr", + normal: "fajr" + }, + "Font Awesome 7 Jelly Fill": { + 400: "fajfr", + normal: "fajfr" + }, + "Font Awesome 7 Jelly Duo": { + 400: "fajdr", + normal: "fajdr" + }, + "Font Awesome 7 Slab": { + 400: "faslr", + normal: "faslr" + }, + "Font Awesome 7 Slab Press": { + 400: "faslpr", + normal: "faslpr" + }, + "Font Awesome 7 Thumbprint": { + 300: "fatl", + normal: "fatl" + }, + "Font Awesome 7 Notdog": { + 900: "fans", + normal: "fans" + }, + "Font Awesome 7 Notdog Duo": { + 900: "fands", + normal: "fands" + }, + "Font Awesome 7 Etch": { + 900: "faes", + normal: "faes" + }, + "Font Awesome 7 Chisel": { + 400: "facr", + normal: "facr" + }, + "Font Awesome 7 Whiteboard": { + 600: "fawsb", + normal: "fawsb" + } + }; + var Co = new Map([["classic", { + defaultShortPrefixId: "fas", + defaultStyleId: "solid", + styleIds: ["solid", "regular", "light", "thin", "brands"], + futureStyleIds: [], + defaultFontWeight: 900 + }], ["duotone", { + defaultShortPrefixId: "fad", + defaultStyleId: "solid", + styleIds: ["solid", "regular", "light", "thin"], + futureStyleIds: [], + defaultFontWeight: 900 + }], ["sharp", { + defaultShortPrefixId: "fass", + defaultStyleId: "solid", + styleIds: ["solid", "regular", "light", "thin"], + futureStyleIds: [], + defaultFontWeight: 900 + }], ["sharp-duotone", { + defaultShortPrefixId: "fasds", + defaultStyleId: "solid", + styleIds: ["solid", "regular", "light", "thin"], + futureStyleIds: [], + defaultFontWeight: 900 + }], ["chisel", { + defaultShortPrefixId: "facr", + defaultStyleId: "regular", + styleIds: ["regular"], + futureStyleIds: [], + defaultFontWeight: 400 + }], ["etch", { + defaultShortPrefixId: "faes", + defaultStyleId: "solid", + styleIds: ["solid"], + futureStyleIds: [], + defaultFontWeight: 900 + }], ["jelly", { + defaultShortPrefixId: "fajr", + defaultStyleId: "regular", + styleIds: ["regular"], + futureStyleIds: [], + defaultFontWeight: 400 + }], ["jelly-duo", { + defaultShortPrefixId: "fajdr", + defaultStyleId: "regular", + styleIds: ["regular"], + futureStyleIds: [], + defaultFontWeight: 400 + }], ["jelly-fill", { + defaultShortPrefixId: "fajfr", + defaultStyleId: "regular", + styleIds: ["regular"], + futureStyleIds: [], + defaultFontWeight: 400 + }], ["notdog", { + defaultShortPrefixId: "fans", + defaultStyleId: "solid", + styleIds: ["solid"], + futureStyleIds: [], + defaultFontWeight: 900 + }], ["notdog-duo", { + defaultShortPrefixId: "fands", + defaultStyleId: "solid", + styleIds: ["solid"], + futureStyleIds: [], + defaultFontWeight: 900 + }], ["slab", { + defaultShortPrefixId: "faslr", + defaultStyleId: "regular", + styleIds: ["regular"], + futureStyleIds: [], + defaultFontWeight: 400 + }], ["slab-press", { + defaultShortPrefixId: "faslpr", + defaultStyleId: "regular", + styleIds: ["regular"], + futureStyleIds: [], + defaultFontWeight: 400 + }], ["thumbprint", { + defaultShortPrefixId: "fatl", + defaultStyleId: "light", + styleIds: ["light"], + futureStyleIds: [], + defaultFontWeight: 300 + }], ["whiteboard", { + defaultShortPrefixId: "fawsb", + defaultStyleId: "semibold", + styleIds: ["semibold"], + futureStyleIds: [], + defaultFontWeight: 600 + }]]), + Ro = { + chisel: { + regular: "facr" + }, + classic: { + brands: "fab", + light: "fal", + regular: "far", + solid: "fas", + thin: "fat" + }, + duotone: { + light: "fadl", + regular: "fadr", + solid: "fad", + thin: "fadt" + }, + etch: { + solid: "faes" + }, + jelly: { + regular: "fajr" + }, + "jelly-duo": { + regular: "fajdr" + }, + "jelly-fill": { + regular: "fajfr" + }, + notdog: { + solid: "fans" + }, + "notdog-duo": { + solid: "fands" + }, + sharp: { + light: "fasl", + regular: "fasr", + solid: "fass", + thin: "fast" + }, + "sharp-duotone": { + light: "fasdl", + regular: "fasdr", + solid: "fasds", + thin: "fasdt" + }, + slab: { + regular: "faslr" + }, + "slab-press": { + regular: "faslpr" + }, + thumbprint: { + light: "fatl" + }, + whiteboard: { + semibold: "fawsb" + } + }; + var zo = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], + Oo = { + kit: { + fak: "kit", + "fa-kit": "kit" + }, + "kit-duotone": { + fakd: "kit-duotone", + "fa-kit-duotone": "kit-duotone" + } + }, + Go = ["kit"]; + var D = "kit", + r = "kit-duotone", + T = "Kit", + C = "Kit Duotone", + qo = _defineProperty(_defineProperty({}, D, T), r, C); + var Xo = { + kit: { + "fa-kit": "fak" + }, + "kit-duotone": { + "fa-kit-duotone": "fakd" + } + }; + var lt = { + "Font Awesome Kit": { + 400: "fak", + normal: "fak" + }, + "Font Awesome Kit Duotone": { + 400: "fakd", + normal: "fakd" + } + }, + et = { + kit: { + fak: "fa-kit" + }, + "kit-duotone": { + fakd: "fa-kit-duotone" + } + }; + var dt = { + kit: { + kit: "fak" + }, + "kit-duotone": { + "kit-duotone": "fakd" + } + }; + + var _fl; + var l$1 = { + GROUP: "duotone-group", + SWAP_OPACITY: "swap-opacity", + PRIMARY: "primary", + SECONDARY: "secondary" + }, + i$1 = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press"]; + var f$1 = "classic", + a$1 = "duotone", + n$1 = "sharp", + t$1 = "sharp-duotone", + h$1 = "chisel", + g$1 = "etch", + u$1 = "jelly", + s$1 = "jelly-duo", + p$1 = "jelly-fill", + y$1 = "notdog", + e$1 = "notdog-duo", + m$1 = "slab", + c$1 = "slab-press", + r$1 = "thumbprint", + w$1 = "whiteboard", + x$1 = "Classic", + I$1 = "Duotone", + b$1 = "Sharp", + F$1 = "Sharp Duotone", + v$1 = "Chisel", + S$1 = "Etch", + A$1 = "Jelly", + j$1 = "Jelly Duo", + P$1 = "Jelly Fill", + B$1 = "Notdog", + k$1 = "Notdog Duo", + N$1 = "Slab", + D$1 = "Slab Press", + C$1 = "Thumbprint", + T$1 = "Whiteboard", + fl = (_fl = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_fl, f$1, x$1), a$1, I$1), n$1, b$1), t$1, F$1), h$1, v$1), g$1, S$1), u$1, A$1), s$1, j$1), p$1, P$1), y$1, B$1), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_fl, e$1, k$1), m$1, N$1), c$1, D$1), r$1, C$1), w$1, T$1)); + var L = "kit", + d$1 = "kit-duotone", + R$1 = "Kit", + W$1 = "Kit Duotone", + lo$1 = _defineProperty(_defineProperty({}, L, R$1), d$1, W$1); + var zo$1 = { + classic: { + "fa-brands": "fab", + "fa-duotone": "fad", + "fa-light": "fal", + "fa-regular": "far", + "fa-solid": "fas", + "fa-thin": "fat" + }, + duotone: { + "fa-regular": "fadr", + "fa-light": "fadl", + "fa-thin": "fadt" + }, + sharp: { + "fa-solid": "fass", + "fa-regular": "fasr", + "fa-light": "fasl", + "fa-thin": "fast" + }, + "sharp-duotone": { + "fa-solid": "fasds", + "fa-regular": "fasdr", + "fa-light": "fasdl", + "fa-thin": "fasdt" + }, + slab: { + "fa-regular": "faslr" + }, + "slab-press": { + "fa-regular": "faslpr" + }, + whiteboard: { + "fa-semibold": "fawsb" + }, + thumbprint: { + "fa-light": "fatl" + }, + notdog: { + "fa-solid": "fans" + }, + "notdog-duo": { + "fa-solid": "fands" + }, + etch: { + "fa-solid": "faes" + }, + jelly: { + "fa-regular": "fajr" + }, + "jelly-fill": { + "fa-regular": "fajfr" + }, + "jelly-duo": { + "fa-regular": "fajdr" + }, + chisel: { + "fa-regular": "facr" + } + }, + J$1 = { + classic: ["fas", "far", "fal", "fat", "fad"], + duotone: ["fadr", "fadl", "fadt"], + sharp: ["fass", "fasr", "fasl", "fast"], + "sharp-duotone": ["fasds", "fasdr", "fasdl", "fasdt"], + slab: ["faslr"], + "slab-press": ["faslpr"], + whiteboard: ["fawsb"], + thumbprint: ["fatl"], + notdog: ["fans"], + "notdog-duo": ["fands"], + etch: ["faes"], + jelly: ["fajr"], + "jelly-fill": ["fajfr"], + "jelly-duo": ["fajdr"], + chisel: ["facr"] + }, + Go$1 = { + classic: { + fab: "fa-brands", + fad: "fa-duotone", + fal: "fa-light", + far: "fa-regular", + fas: "fa-solid", + fat: "fa-thin" + }, + duotone: { + fadr: "fa-regular", + fadl: "fa-light", + fadt: "fa-thin" + }, + sharp: { + fass: "fa-solid", + fasr: "fa-regular", + fasl: "fa-light", + fast: "fa-thin" + }, + "sharp-duotone": { + fasds: "fa-solid", + fasdr: "fa-regular", + fasdl: "fa-light", + fasdt: "fa-thin" + }, + slab: { + faslr: "fa-regular" + }, + "slab-press": { + faslpr: "fa-regular" + }, + whiteboard: { + fawsb: "fa-semibold" + }, + thumbprint: { + fatl: "fa-light" + }, + notdog: { + fans: "fa-solid" + }, + "notdog-duo": { + fands: "fa-solid" + }, + etch: { + faes: "fa-solid" + }, + jelly: { + fajr: "fa-regular" + }, + "jelly-fill": { + fajfr: "fa-regular" + }, + "jelly-duo": { + fajdr: "fa-regular" + }, + chisel: { + facr: "fa-regular" + } + }, + E$1 = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], + $o$1 = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fajr", "fajfr", "fajdr", "facr"].concat(i$1, E$1), + _$1 = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], + K$1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], + M$1 = K$1.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), + O$1 = ["aw", "fw", "pull-left", "pull-right"], + Ho$1 = [].concat(_toConsumableArray(Object.keys(J$1)), _$1, O$1, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", l$1.GROUP, l$1.SWAP_OPACITY, l$1.PRIMARY, l$1.SECONDARY]).concat(K$1.map(function (o) { + return "".concat(o, "x"); + })).concat(M$1.map(function (o) { + return "w-".concat(o); + })); + var oa = { + "Font Awesome 5 Free": { + 900: "fas", + 400: "far" + }, + "Font Awesome 5 Pro": { + 900: "fas", + 400: "far", + normal: "far", + 300: "fal" + }, + "Font Awesome 5 Brands": { + 400: "fab", + normal: "fab" + }, + "Font Awesome 5 Duotone": { + 900: "fad" + } + }; + + var NAMESPACE_IDENTIFIER = '___FONT_AWESOME___'; + var UNITS_IN_GRID = 16; + var DEFAULT_CSS_PREFIX = 'fa'; + var DEFAULT_REPLACEMENT_CLASS = 'svg-inline--fa'; + var DATA_FA_I2SVG = 'data-fa-i2svg'; + var DATA_FA_PSEUDO_ELEMENT = 'data-fa-pseudo-element'; + var DATA_FA_PSEUDO_ELEMENT_PENDING = 'data-fa-pseudo-element-pending'; + var DATA_PREFIX = 'data-prefix'; + var DATA_ICON = 'data-icon'; + var HTML_CLASS_I2SVG_BASE_CLASS = 'fontawesome-i2svg'; + var MUTATION_APPROACH_ASYNC = 'async'; + var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ['HTML', 'HEAD', 'STYLE', 'SCRIPT']; + var PSEUDO_ELEMENTS = ['::before', '::after', ':before', ':after']; + var PRODUCTION = function () { + try { + return "production" === 'production'; + } catch (e$$1) { + return false; + } + }(); + function familyProxy(obj) { + // Defaults to the classic family if family is not available + return new Proxy(obj, { + get: function get(target, prop) { + return prop in target ? target[prop] : target[a]; + } + }); + } + var _PREFIX_TO_STYLE = _objectSpread2({}, z); + + // We changed FACSSClassesToStyleId in the icons repo to be canonical and as such, "classic" family does not have any + // duotone styles. But we do still need duotone in _PREFIX_TO_STYLE below, so we are manually adding + // {'fa-duotone': 'duotone'} + _PREFIX_TO_STYLE[a] = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, { + 'fa-duotone': 'duotone' + }), z[a]), Oo['kit']), Oo['kit-duotone']); + var PREFIX_TO_STYLE = familyProxy(_PREFIX_TO_STYLE); + var _STYLE_TO_PREFIX = _objectSpread2({}, Ro); + + // We changed FAStyleIdToShortPrefixId in the icons repo to be canonical and as such, "classic" family does not have any + // duotone styles. But we do still need duotone in _STYLE_TO_PREFIX below, so we are manually adding {duotone: 'fad'} + _STYLE_TO_PREFIX[a] = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, { + duotone: 'fad' + }), _STYLE_TO_PREFIX[a]), dt['kit']), dt['kit-duotone']); + var STYLE_TO_PREFIX = familyProxy(_STYLE_TO_PREFIX); + var _PREFIX_TO_LONG_STYLE = _objectSpread2({}, Go$1); + _PREFIX_TO_LONG_STYLE[a] = _objectSpread2(_objectSpread2({}, _PREFIX_TO_LONG_STYLE[a]), et['kit']); + var PREFIX_TO_LONG_STYLE = familyProxy(_PREFIX_TO_LONG_STYLE); + var _LONG_STYLE_TO_PREFIX = _objectSpread2({}, zo$1); + _LONG_STYLE_TO_PREFIX[a] = _objectSpread2(_objectSpread2({}, _LONG_STYLE_TO_PREFIX[a]), Xo['kit']); + var LONG_STYLE_TO_PREFIX = familyProxy(_LONG_STYLE_TO_PREFIX); + var ICON_SELECTION_SYNTAX_PATTERN = K; + var LAYERS_TEXT_CLASSNAME = 'fa-layers-text'; + var FONT_FAMILY_PATTERN = W; + var _FONT_WEIGHT_TO_PREFIX = _objectSpread2({}, io); + var FONT_WEIGHT_TO_PREFIX = familyProxy(_FONT_WEIGHT_TO_PREFIX); + var ATTRIBUTES_WATCHED_FOR_MUTATION = ['class', 'data-prefix', 'data-icon', 'data-fa-transform', 'data-fa-mask']; + var DUOTONE_CLASSES = O; + var RESERVED_CLASSES = [].concat(_toConsumableArray(Go), _toConsumableArray(Ho$1)); + + var initial = WINDOW.FontAwesomeConfig || {}; + function getAttrConfig(attr) { + var element = DOCUMENT.querySelector('script[' + attr + ']'); + if (element) { + return element.getAttribute(attr); + } + } + function coerce(val) { + // Getting an empty string will occur if the attribute is set on the HTML tag but without a value + // We'll assume that this is an indication that it should be toggled to true + if (val === '') return true; + if (val === 'false') return false; + if (val === 'true') return true; + return val; + } + if (DOCUMENT && typeof DOCUMENT.querySelector === 'function') { + var attrs = [['data-family-prefix', 'familyPrefix'], ['data-css-prefix', 'cssPrefix'], ['data-family-default', 'familyDefault'], ['data-style-default', 'styleDefault'], ['data-replacement-class', 'replacementClass'], ['data-auto-replace-svg', 'autoReplaceSvg'], ['data-auto-add-css', 'autoAddCss'], ['data-search-pseudo-elements', 'searchPseudoElements'], ['data-search-pseudo-elements-warnings', 'searchPseudoElementsWarnings'], ['data-search-pseudo-elements-full-scan', 'searchPseudoElementsFullScan'], ['data-observe-mutations', 'observeMutations'], ['data-mutate-approach', 'mutateApproach'], ['data-keep-original-source', 'keepOriginalSource'], ['data-measure-performance', 'measurePerformance'], ['data-show-missing-icons', 'showMissingIcons']]; + attrs.forEach(function (_ref) { + var _ref2 = _slicedToArray(_ref, 2), + attr = _ref2[0], + key = _ref2[1]; + var val = coerce(getAttrConfig(attr)); + if (val !== undefined && val !== null) { + initial[key] = val; + } + }); + } + var _default = { + styleDefault: 'solid', + familyDefault: a, + cssPrefix: DEFAULT_CSS_PREFIX, + replacementClass: DEFAULT_REPLACEMENT_CLASS, + autoReplaceSvg: true, + autoAddCss: true, + searchPseudoElements: false, + searchPseudoElementsWarnings: true, + searchPseudoElementsFullScan: false, + observeMutations: true, + mutateApproach: 'async', + keepOriginalSource: true, + measurePerformance: false, + showMissingIcons: true + }; + + // familyPrefix is deprecated but we must still support it if present + if (initial.familyPrefix) { + initial.cssPrefix = initial.familyPrefix; + } + var _config = _objectSpread2(_objectSpread2({}, _default), initial); + if (!_config.autoReplaceSvg) _config.observeMutations = false; + var config = {}; + Object.keys(_default).forEach(function (key) { + Object.defineProperty(config, key, { + enumerable: true, + set: function set(val) { + _config[key] = val; + _onChangeCb.forEach(function (cb) { + return cb(config); + }); + }, + get: function get() { + return _config[key]; + } + }); + }); + + // familyPrefix is deprecated as of 6.2.0 and should be removed in 7.0.0 + Object.defineProperty(config, 'familyPrefix', { + enumerable: true, + set: function set(val) { + _config.cssPrefix = val; + _onChangeCb.forEach(function (cb) { + return cb(config); + }); + }, + get: function get() { + return _config.cssPrefix; + } + }); + WINDOW.FontAwesomeConfig = config; + var _onChangeCb = []; + function onChange(cb) { + _onChangeCb.push(cb); + return function () { + _onChangeCb.splice(_onChangeCb.indexOf(cb), 1); + }; + } + + var d$2 = UNITS_IN_GRID; + var meaninglessTransform = { + size: 16, + x: 0, + y: 0, + rotate: 0, + flipX: false, + flipY: false + }; + function bunker(fn) { + try { + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + fn.apply(void 0, args); + } catch (e) { + if (!PRODUCTION) { + throw e; + } + } + } + function insertCss(css) { + if (!css || !IS_DOM) { + return; + } + var style = DOCUMENT.createElement('style'); + style.setAttribute('type', 'text/css'); + style.innerHTML = css; + var headChildren = DOCUMENT.head.childNodes; + var beforeChild = null; + for (var i = headChildren.length - 1; i > -1; i--) { + var child = headChildren[i]; + var tagName = (child.tagName || '').toUpperCase(); + if (['STYLE', 'LINK'].indexOf(tagName) > -1) { + beforeChild = child; + } + } + DOCUMENT.head.insertBefore(style, beforeChild); + return css; + } + var idPool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; + function nextUniqueId() { + var size = 12; + var id = ''; + while (size-- > 0) { + id += idPool[Math.random() * 62 | 0]; + } + return id; + } + function toArray(obj) { + var array = []; + for (var i = (obj || []).length >>> 0; i--;) { + array[i] = obj[i]; + } + return array; + } + function classArray(node) { + if (node.classList) { + return toArray(node.classList); + } else { + return (node.getAttribute('class') || '').split(' ').filter(function (i) { + return i; + }); + } + } + function htmlEscape(str) { + return "".concat(str).replace(/&/g, '&').replace(/"/g, '"').replace(/'/g, ''').replace(//g, '>'); + } + function joinAttributes(attributes) { + return Object.keys(attributes || {}).reduce(function (acc, attributeName) { + return acc + "".concat(attributeName, "=\"").concat(htmlEscape(attributes[attributeName]), "\" "); + }, '').trim(); + } + function joinStyles(styles) { + return Object.keys(styles || {}).reduce(function (acc, styleName) { + return acc + "".concat(styleName, ": ").concat(styles[styleName].trim(), ";"); + }, ''); + } + function transformIsMeaningful(transform) { + return transform.size !== meaninglessTransform.size || transform.x !== meaninglessTransform.x || transform.y !== meaninglessTransform.y || transform.rotate !== meaninglessTransform.rotate || transform.flipX || transform.flipY; + } + function transformForSvg(_ref) { + var transform = _ref.transform, + containerWidth = _ref.containerWidth, + iconWidth = _ref.iconWidth; + var outer = { + transform: "translate(".concat(containerWidth / 2, " 256)") + }; + var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") "); + var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") "); + var innerRotate = "rotate(".concat(transform.rotate, " 0 0)"); + var inner = { + transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate) + }; + var path = { + transform: "translate(".concat(iconWidth / 2 * -1, " -256)") + }; + return { + outer: outer, + inner: inner, + path: path + }; + } + function transformForCss(_ref2) { + var transform = _ref2.transform, + _ref2$width = _ref2.width, + width = _ref2$width === void 0 ? UNITS_IN_GRID : _ref2$width, + _ref2$height = _ref2.height, + height = _ref2$height === void 0 ? UNITS_IN_GRID : _ref2$height, + _ref2$startCentered = _ref2.startCentered, + startCentered = _ref2$startCentered === void 0 ? false : _ref2$startCentered; + var val = ''; + if (startCentered && IS_IE) { + val += "translate(".concat(transform.x / d$2 - width / 2, "em, ").concat(transform.y / d$2 - height / 2, "em) "); + } else if (startCentered) { + val += "translate(calc(-50% + ".concat(transform.x / d$2, "em), calc(-50% + ").concat(transform.y / d$2, "em)) "); + } else { + val += "translate(".concat(transform.x / d$2, "em, ").concat(transform.y / d$2, "em) "); + } + val += "scale(".concat(transform.size / d$2 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / d$2 * (transform.flipY ? -1 : 1), ") "); + val += "rotate(".concat(transform.rotate, "deg) "); + return val; + } + + var baseStyles = ":root, :host {\n --fa-font-solid: normal 900 1em/1 \"Font Awesome 7 Free\";\n --fa-font-regular: normal 400 1em/1 \"Font Awesome 7 Free\";\n --fa-font-light: normal 300 1em/1 \"Font Awesome 7 Pro\";\n --fa-font-thin: normal 100 1em/1 \"Font Awesome 7 Pro\";\n --fa-font-duotone: normal 900 1em/1 \"Font Awesome 7 Duotone\";\n --fa-font-duotone-regular: normal 400 1em/1 \"Font Awesome 7 Duotone\";\n --fa-font-duotone-light: normal 300 1em/1 \"Font Awesome 7 Duotone\";\n --fa-font-duotone-thin: normal 100 1em/1 \"Font Awesome 7 Duotone\";\n --fa-font-brands: normal 400 1em/1 \"Font Awesome 7 Brands\";\n --fa-font-sharp-solid: normal 900 1em/1 \"Font Awesome 7 Sharp\";\n --fa-font-sharp-regular: normal 400 1em/1 \"Font Awesome 7 Sharp\";\n --fa-font-sharp-light: normal 300 1em/1 \"Font Awesome 7 Sharp\";\n --fa-font-sharp-thin: normal 100 1em/1 \"Font Awesome 7 Sharp\";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 \"Font Awesome 7 Sharp Duotone\";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 \"Font Awesome 7 Sharp Duotone\";\n --fa-font-sharp-duotone-light: normal 300 1em/1 \"Font Awesome 7 Sharp Duotone\";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 \"Font Awesome 7 Sharp Duotone\";\n --fa-font-slab-regular: normal 400 1em/1 \"Font Awesome 7 Slab\";\n --fa-font-slab-press-regular: normal 400 1em/1 \"Font Awesome 7 Slab Press\";\n --fa-font-whiteboard-semibold: normal 600 1em/1 \"Font Awesome 7 Whiteboard\";\n --fa-font-thumbprint-light: normal 300 1em/1 \"Font Awesome 7 Thumbprint\";\n --fa-font-notdog-solid: normal 900 1em/1 \"Font Awesome 7 Notdog\";\n --fa-font-notdog-duo-solid: normal 900 1em/1 \"Font Awesome 7 Notdog Duo\";\n --fa-font-etch-solid: normal 900 1em/1 \"Font Awesome 7 Etch\";\n --fa-font-jelly-regular: normal 400 1em/1 \"Font Awesome 7 Jelly\";\n --fa-font-jelly-fill-regular: normal 400 1em/1 \"Font Awesome 7 Jelly Fill\";\n --fa-font-jelly-duo-regular: normal 400 1em/1 \"Font Awesome 7 Jelly Duo\";\n --fa-font-chisel-regular: normal 400 1em/1 \"Font Awesome 7 Chisel\";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}"; + + function css() { + var dcp = DEFAULT_CSS_PREFIX; + var drc = DEFAULT_REPLACEMENT_CLASS; + var fp = config.cssPrefix; + var rc = config.replacementClass; + var s = baseStyles; + if (fp !== dcp || rc !== drc) { + var dPatt = new RegExp("\\.".concat(dcp, "\\-"), 'g'); + var customPropPatt = new RegExp("\\--".concat(dcp, "\\-"), 'g'); + var rPatt = new RegExp("\\.".concat(drc), 'g'); + s = s.replace(dPatt, ".".concat(fp, "-")).replace(customPropPatt, "--".concat(fp, "-")).replace(rPatt, ".".concat(rc)); + } + return s; + } + var _cssInserted = false; + function ensureCss() { + if (config.autoAddCss && !_cssInserted) { + insertCss(css()); + _cssInserted = true; + } + } + var InjectCSS = { + mixout: function mixout() { + return { + dom: { + css: css, + insertCss: ensureCss + } + }; + }, + hooks: function hooks() { + return { + beforeDOMElementCreation: function beforeDOMElementCreation() { + ensureCss(); + }, + beforeI2svg: function beforeI2svg() { + ensureCss(); + } + }; + } + }; + + var w$2 = WINDOW || {}; + if (!w$2[NAMESPACE_IDENTIFIER]) w$2[NAMESPACE_IDENTIFIER] = {}; + if (!w$2[NAMESPACE_IDENTIFIER].styles) w$2[NAMESPACE_IDENTIFIER].styles = {}; + if (!w$2[NAMESPACE_IDENTIFIER].hooks) w$2[NAMESPACE_IDENTIFIER].hooks = {}; + if (!w$2[NAMESPACE_IDENTIFIER].shims) w$2[NAMESPACE_IDENTIFIER].shims = []; + var namespace = w$2[NAMESPACE_IDENTIFIER]; + + var functions = []; + var _listener = function listener() { + DOCUMENT.removeEventListener('DOMContentLoaded', _listener); + loaded = 1; + functions.map(function (fn) { + return fn(); + }); + }; + var loaded = false; + if (IS_DOM) { + loaded = (DOCUMENT.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(DOCUMENT.readyState); + if (!loaded) DOCUMENT.addEventListener('DOMContentLoaded', _listener); + } + function domready (fn) { + if (!IS_DOM) return; + loaded ? setTimeout(fn, 0) : functions.push(fn); + } + + function toHtml(abstractNodes) { + var tag = abstractNodes.tag, + _abstractNodes$attrib = abstractNodes.attributes, + attributes = _abstractNodes$attrib === void 0 ? {} : _abstractNodes$attrib, + _abstractNodes$childr = abstractNodes.children, + children = _abstractNodes$childr === void 0 ? [] : _abstractNodes$childr; + if (typeof abstractNodes === 'string') { + return htmlEscape(abstractNodes); + } else { + return "<".concat(tag, " ").concat(joinAttributes(attributes), ">").concat(children.map(toHtml).join(''), ""); + } + } + + function iconFromMapping(mapping, prefix, iconName) { + if (mapping && mapping[prefix] && mapping[prefix][iconName]) { + return { + prefix: prefix, + iconName: iconName, + icon: mapping[prefix][iconName] + }; + } + } + + /** + * Internal helper to bind a function known to have 4 arguments + * to a given context. + */ + var bindInternal4 = function bindInternal4(func, thisContext) { + return function (a, b, c, d) { + return func.call(thisContext, a, b, c, d); + }; + }; + + /** + * # Reduce + * + * A fast object `.reduce()` implementation. + * + * @param {Object} subject The object to reduce over. + * @param {Function} fn The reducer function. + * @param {mixed} initialValue The initial value for the reducer, defaults to subject[0]. + * @param {Object} thisContext The context for the reducer. + * @return {mixed} The final result. + */ + var reduce = function fastReduceObject(subject, fn, initialValue, thisContext) { + var keys = Object.keys(subject), + length = keys.length, + iterator = thisContext !== undefined ? bindInternal4(fn, thisContext) : fn, + i, + key, + result; + if (initialValue === undefined) { + i = 1; + result = subject[keys[0]]; + } else { + i = 0; + result = initialValue; + } + for (; i < length; i++) { + key = keys[i]; + result = iterator(result, subject[key], key, subject); + } + return result; + }; + + /** + * Return hexadecimal string for a unicode character + * Returns `null` when more than one character (not bytes!) are passed + * For example: 'K' → '7B' + */ + function toHex(unicode) { + if (_toConsumableArray(unicode).length !== 1) return null; + return unicode.codePointAt(0).toString(16); + } + + function normalizeIcons(icons) { + return Object.keys(icons).reduce(function (acc, iconName) { + var icon = icons[iconName]; + var expanded = !!icon.icon; + if (expanded) { + acc[icon.iconName] = icon.icon; + } else { + acc[iconName] = icon; + } + return acc; + }, {}); + } + function defineIcons(prefix, icons) { + var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var _params$skipHooks = params.skipHooks, + skipHooks = _params$skipHooks === void 0 ? false : _params$skipHooks; + var normalized = normalizeIcons(icons); + if (typeof namespace.hooks.addPack === 'function' && !skipHooks) { + namespace.hooks.addPack(prefix, normalizeIcons(icons)); + } else { + namespace.styles[prefix] = _objectSpread2(_objectSpread2({}, namespace.styles[prefix] || {}), normalized); + } + + /** + * Font Awesome 4 used the prefix of `fa` for all icons. With the introduction + * of new styles we needed to differentiate between them. Prefix `fa` is now an alias + * for `fas` so we'll ease the upgrade process for our users by automatically defining + * this as well. + */ + if (prefix === 'fas') { + defineIcons('fa', icons); + } + } + + var MONO = 0x1; + var DUO = 0x2; + + // New v7 compatible matchers using the style attribute to determine layer membership + var modernMatches = [[DUO, /*#__PURE__*/_wrapRegExp(/path opacity="([^"]*)".*d="([^"]*)".*path.*d="([^"]*)"/, { + d2: 2, + d1: 3 + })], [DUO, /*#__PURE__*/_wrapRegExp(/path opacity="([^"]*)".*d="([^"]*)"/, { + d2: 2 + })], [MONO, /*#__PURE__*/_wrapRegExp(/path fill="currentColor".*d="([^"]+)"/, { + d1: 1 + })]]; + + // Old <= v6 matchers, these should rarely get used. + // + // Why are there so many? Over the lifecycle of version 5 and 6 we modified the + // syntax for our source SVG files several times. These patterns match the + // historical record and attempt to handle backwards-compatibility in rare edge + // cases (loading version 6 SVG source files using the version 7 SVG parser) + var legacyMatches = [[DUO, /*#__PURE__*/_wrapRegExp(/path class="([^"]*secondary[^"]*)".*d="([^"]+)".*path class="([^"]*primary[^"]*)".*d="([^"]+)"/, { + attr2: 1, + d2: 2, + attr1: 3, + d1: 4 + })], [DUO, /*#__PURE__*/_wrapRegExp(/path class="([^"]*primary[^"]*)".*d="([^"]+)".*path class="([^"]*secondary[^"]*)".*d="([^"]+)"/, { + attr1: 1, + d1: 2, + attr2: 3, + d2: 4 + })], [DUO, /*#__PURE__*/_wrapRegExp(/path class="([^"]*primary[^"]*)".*d="([^"]+)"/, { + attr1: 1, + d1: 2 + })], [DUO, /*#__PURE__*/_wrapRegExp(/path class="([^"]*secondary[^"]*)".*d="([^"]+)"/, { + attr2: 1, + d2: 2 + })], [DUO, /*#__PURE__*/_wrapRegExp(/path d="([^"]+)".*class="([^"]*secondary[^"]*)".*path d="([^"]+)".*class="([^"]*primary[^"]*)"/, { + d2: 1, + attr2: 2, + d1: 3, + attr1: 4 + })], [DUO, /*#__PURE__*/_wrapRegExp(/path d="([^"]+)".*class="([^"]*primary[^"]*)".*path d="([^"]+)".*class="([^"]*secondary[^"]*)"/, { + d1: 1, + attr1: 2, + d2: 3, + attr2: 4 + })], [DUO, /*#__PURE__*/_wrapRegExp(/path d="([^"]+)".*class="([^"]*primary[^"]*)"/, { + d1: 1, + attr1: 2 + })], [DUO, /*#__PURE__*/_wrapRegExp(/path d="([^"]+)".*class="([^"]*secondary[^"]*)"/, { + d2: 1, + attr2: 2 + })], [DUO, /*#__PURE__*/_wrapRegExp(/path d="([^"]+)".*path d="([^"]+)"/, { + d1: 1, + d2: 2 + })], [MONO, /*#__PURE__*/_wrapRegExp(/path d="([^"]+)"/, { + d1: 1 + })], [MONO, /*#__PURE__*/_wrapRegExp(/path style="([^"]+)".*d="([^"]+)"/, { + attr1: 1, + d1: 2 + })]]; + + var styles = namespace.styles, + shims = namespace.shims; + var FAMILY_NAMES = Object.keys(PREFIX_TO_LONG_STYLE); + var PREFIXES_FOR_FAMILY = FAMILY_NAMES.reduce(function (acc, familyId) { + acc[familyId] = Object.keys(PREFIX_TO_LONG_STYLE[familyId]); + return acc; + }, {}); + var _defaultUsablePrefix = null; + var _byUnicode = {}; + var _byLigature = {}; + var _byOldName = {}; + var _byOldUnicode = {}; + var _byAlias = {}; + function isReserved(name) { + return ~RESERVED_CLASSES.indexOf(name); + } + function getIconName(cssPrefix, cls) { + var parts = cls.split('-'); + var prefix = parts[0]; + var iconName = parts.slice(1).join('-'); + if (prefix === cssPrefix && iconName !== '' && !isReserved(iconName)) { + return iconName; + } else { + return null; + } + } + var build = function build() { + var lookup = function lookup(reducer) { + return reduce(styles, function (o$$1, style, prefix) { + o$$1[prefix] = reduce(style, reducer, {}); + return o$$1; + }, {}); + }; + _byUnicode = lookup(function (acc, icon, iconName) { + if (icon[3]) { + acc[icon[3]] = iconName; + } + if (icon[2]) { + var aliases = icon[2].filter(function (a$$1) { + return typeof a$$1 === 'number'; + }); + aliases.forEach(function (alias) { + acc[alias.toString(16)] = iconName; + }); + } + return acc; + }); + _byLigature = lookup(function (acc, icon, iconName) { + acc[iconName] = iconName; + if (icon[2]) { + var aliases = icon[2].filter(function (a$$1) { + return typeof a$$1 === 'string'; + }); + aliases.forEach(function (alias) { + acc[alias] = iconName; + }); + } + return acc; + }); + _byAlias = lookup(function (acc, icon, iconName) { + var aliases = icon[2]; + acc[iconName] = iconName; + aliases.forEach(function (alias) { + acc[alias] = iconName; + }); + return acc; + }); + + // If we have a Kit, we can't determine if regular is available since we + // could be auto-fetching it. We'll have to assume that it is available. + var hasRegular = 'far' in styles || config.autoFetchSvg; + var shimLookups = reduce(shims, function (acc, shim) { + var maybeNameMaybeUnicode = shim[0]; + var prefix = shim[1]; + var iconName = shim[2]; + if (prefix === 'far' && !hasRegular) { + prefix = 'fas'; + } + if (typeof maybeNameMaybeUnicode === 'string') { + acc.names[maybeNameMaybeUnicode] = { + prefix: prefix, + iconName: iconName + }; + } + if (typeof maybeNameMaybeUnicode === 'number') { + acc.unicodes[maybeNameMaybeUnicode.toString(16)] = { + prefix: prefix, + iconName: iconName + }; + } + return acc; + }, { + names: {}, + unicodes: {} + }); + _byOldName = shimLookups.names; + _byOldUnicode = shimLookups.unicodes; + _defaultUsablePrefix = getCanonicalPrefix(config.styleDefault, { + family: config.familyDefault + }); + }; + onChange(function (c$$1) { + _defaultUsablePrefix = getCanonicalPrefix(c$$1.styleDefault, { + family: config.familyDefault + }); + }); + build(); + function byUnicode(prefix, unicode) { + return (_byUnicode[prefix] || {})[unicode]; + } + function byLigature(prefix, ligature) { + return (_byLigature[prefix] || {})[ligature]; + } + function byAlias(prefix, alias) { + return (_byAlias[prefix] || {})[alias]; + } + function byOldName(name) { + return _byOldName[name] || { + prefix: null, + iconName: null + }; + } + function byOldUnicode(unicode) { + var oldUnicode = _byOldUnicode[unicode]; + var newUnicode = byUnicode('fas', unicode); + return oldUnicode || (newUnicode ? { + prefix: 'fas', + iconName: newUnicode + } : null) || { + prefix: null, + iconName: null + }; + } + function getDefaultUsablePrefix() { + return _defaultUsablePrefix; + } + var emptyCanonicalIcon = function emptyCanonicalIcon() { + return { + prefix: null, + iconName: null, + rest: [] + }; + }; + function getFamilyId(values) { + var family = a; + var famProps = FAMILY_NAMES.reduce(function (acc, familyId) { + acc[familyId] = "".concat(config.cssPrefix, "-").concat(familyId); + return acc; + }, {}); + oo.forEach(function (familyId) { + if (values.includes(famProps[familyId]) || values.some(function (v$$1) { + return PREFIXES_FOR_FAMILY[familyId].includes(v$$1); + })) { + family = familyId; + } + }); + return family; + } + function getCanonicalPrefix(styleOrPrefix) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _params$family = params.family, + family = _params$family === void 0 ? a : _params$family; + var style = PREFIX_TO_STYLE[family][styleOrPrefix]; + + // handles the exception of passing in only a family of 'duotone' with no style + if (family === o && !styleOrPrefix) { + return 'fad'; + } + var prefix = STYLE_TO_PREFIX[family][styleOrPrefix] || STYLE_TO_PREFIX[family][style]; + var defined = styleOrPrefix in namespace.styles ? styleOrPrefix : null; + var result = prefix || defined || null; + return result; + } + function moveNonFaClassesToRest(classNames) { + var rest = []; + var iconName = null; + classNames.forEach(function (cls) { + var result = getIconName(config.cssPrefix, cls); + if (result) { + iconName = result; + } else if (cls) { + rest.push(cls); + } + }); + return { + iconName: iconName, + rest: rest + }; + } + function sortedUniqueValues(arr) { + return arr.sort().filter(function (value, index, arr) { + return arr.indexOf(value) === index; + }); + } + var _faCombinedClasses = $o$1.concat(zo); + function getCanonicalIcon(values) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _params$skipLookups = params.skipLookups, + skipLookups = _params$skipLookups === void 0 ? false : _params$skipLookups; + var givenPrefix = null; + var faStyleOrFamilyClasses = sortedUniqueValues(values.filter(function (cls) { + return _faCombinedClasses.includes(cls); + })); + var nonStyleOrFamilyClasses = sortedUniqueValues(values.filter(function (cls) { + return !_faCombinedClasses.includes(cls); + })); + var faStyles = faStyleOrFamilyClasses.filter(function (cls) { + givenPrefix = cls; + return !G.includes(cls); + }); + var _faStyles = _slicedToArray(faStyles, 1), + _faStyles$ = _faStyles[0], + styleFromValues = _faStyles$ === void 0 ? null : _faStyles$; + var family = getFamilyId(faStyleOrFamilyClasses); + var canonical = _objectSpread2(_objectSpread2({}, moveNonFaClassesToRest(nonStyleOrFamilyClasses)), {}, { + prefix: getCanonicalPrefix(styleFromValues, { + family: family + }) + }); + return _objectSpread2(_objectSpread2(_objectSpread2({}, canonical), getDefaultCanonicalPrefix({ + values: values, + family: family, + styles: styles, + config: config, + canonical: canonical, + givenPrefix: givenPrefix + })), applyShimAndAlias(skipLookups, givenPrefix, canonical)); + } + function applyShimAndAlias(skipLookups, givenPrefix, canonical) { + var prefix = canonical.prefix, + iconName = canonical.iconName; + if (skipLookups || !prefix || !iconName) { + return { + prefix: prefix, + iconName: iconName + }; + } + var shim = givenPrefix === 'fa' ? byOldName(iconName) : {}; + var aliasIconName = byAlias(prefix, iconName); + iconName = shim.iconName || aliasIconName || iconName; + prefix = shim.prefix || prefix; + if (prefix === 'far' && !styles['far'] && styles['fas'] && !config.autoFetchSvg) { + // Allow a fallback from the regular style to solid if regular is not available + // but only if we aren't auto-fetching SVGs + prefix = 'fas'; + } + return { + prefix: prefix, + iconName: iconName + }; + } + var newCanonicalFamilies = oo.filter(function (familyId) { + return familyId !== a || familyId !== o; + }); + var newCanonicalStyles = Object.keys(Go$1).filter(function (key) { + return key !== a; + }).map(function (key) { + return Object.keys(Go$1[key]); + }).flat(); + function getDefaultCanonicalPrefix(prefixOptions) { + var values = prefixOptions.values, + family = prefixOptions.family, + canonical = prefixOptions.canonical, + _prefixOptions$givenP = prefixOptions.givenPrefix, + givenPrefix = _prefixOptions$givenP === void 0 ? '' : _prefixOptions$givenP, + _prefixOptions$styles = prefixOptions.styles, + styles = _prefixOptions$styles === void 0 ? {} : _prefixOptions$styles, + _prefixOptions$config = prefixOptions.config, + config$$1 = _prefixOptions$config === void 0 ? {} : _prefixOptions$config; + var isDuotoneFamily = family === o; + var valuesHasDuotone = values.includes('fa-duotone') || values.includes('fad'); + var defaultFamilyIsDuotone = config$$1.familyDefault === 'duotone'; + var canonicalPrefixIsDuotone = canonical.prefix === 'fad' || canonical.prefix === 'fa-duotone'; + if (!isDuotoneFamily && (valuesHasDuotone || defaultFamilyIsDuotone || canonicalPrefixIsDuotone)) { + canonical.prefix = 'fad'; + } + if (values.includes('fa-brands') || values.includes('fab')) { + canonical.prefix = 'fab'; + } + if (!canonical.prefix && newCanonicalFamilies.includes(family)) { + var validPrefix = Object.keys(styles).find(function (key) { + return newCanonicalStyles.includes(key); + }); + if (validPrefix || config$$1.autoFetchSvg) { + var defaultPrefix = Co.get(family).defaultShortPrefixId; + canonical.prefix = defaultPrefix; + canonical.iconName = byAlias(canonical.prefix, canonical.iconName) || canonical.iconName; + } + } + if (canonical.prefix === 'fa' || givenPrefix === 'fa') { + // The fa prefix is not canonical. So if it has made it through until this point + // we will shift it to the correct prefix. + canonical.prefix = getDefaultUsablePrefix() || 'fas'; + } + return canonical; + } + + var Library = /*#__PURE__*/function () { + function Library() { + _classCallCheck(this, Library); + this.definitions = {}; + } + return _createClass(Library, [{ + key: "add", + value: function add() { + var _this = this; + for (var _len = arguments.length, definitions = new Array(_len), _key = 0; _key < _len; _key++) { + definitions[_key] = arguments[_key]; + } + var additions = definitions.reduce(this._pullDefinitions, {}); + Object.keys(additions).forEach(function (key) { + _this.definitions[key] = _objectSpread2(_objectSpread2({}, _this.definitions[key] || {}), additions[key]); + defineIcons(key, additions[key]); + + // To keep support for older Classic styles, also add longer prefixes + var longPrefix = PREFIX_TO_LONG_STYLE[a][key]; + if (longPrefix) defineIcons(longPrefix, additions[key]); + build(); + }); + } + }, { + key: "reset", + value: function reset() { + this.definitions = {}; + } + }, { + key: "_pullDefinitions", + value: function _pullDefinitions(additions, definition) { + var normalized = definition.prefix && definition.iconName && definition.icon ? { + 0: definition + } : definition; + Object.keys(normalized).map(function (key) { + var _normalized$key = normalized[key], + prefix = _normalized$key.prefix, + iconName = _normalized$key.iconName, + icon = _normalized$key.icon; + var aliases = icon[2]; + if (!additions[prefix]) additions[prefix] = {}; + if (aliases.length > 0) { + aliases.forEach(function (alias) { + if (typeof alias === 'string') { + additions[prefix][alias] = icon; + } + }); + } + additions[prefix][iconName] = icon; + }); + return additions; + } + }]); + }(); + + var _plugins = []; + var _hooks = {}; + var providers = {}; + var defaultProviderKeys = Object.keys(providers); + function registerPlugins(nextPlugins, _ref) { + var obj = _ref.mixoutsTo; + _plugins = nextPlugins; + _hooks = {}; + Object.keys(providers).forEach(function (k) { + if (defaultProviderKeys.indexOf(k) === -1) { + delete providers[k]; + } + }); + _plugins.forEach(function (plugin) { + var mixout = plugin.mixout ? plugin.mixout() : {}; + Object.keys(mixout).forEach(function (tk) { + if (typeof mixout[tk] === 'function') { + obj[tk] = mixout[tk]; + } + if (_typeof(mixout[tk]) === 'object') { + Object.keys(mixout[tk]).forEach(function (sk) { + if (!obj[tk]) { + obj[tk] = {}; + } + obj[tk][sk] = mixout[tk][sk]; + }); + } + }); + if (plugin.hooks) { + var hooks = plugin.hooks(); + Object.keys(hooks).forEach(function (hook) { + if (!_hooks[hook]) { + _hooks[hook] = []; + } + _hooks[hook].push(hooks[hook]); + }); + } + if (plugin.provides) { + plugin.provides(providers); + } + }); + return obj; + } + function chainHooks(hook, accumulator) { + for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { + args[_key - 2] = arguments[_key]; + } + var hookFns = _hooks[hook] || []; + hookFns.forEach(function (hookFn) { + accumulator = hookFn.apply(null, [accumulator].concat(args)); + }); + return accumulator; + } + function callHooks(hook) { + for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { + args[_key2 - 1] = arguments[_key2]; + } + var hookFns = _hooks[hook] || []; + hookFns.forEach(function (hookFn) { + hookFn.apply(null, args); + }); + return undefined; + } + function callProvided() { + var hook = arguments[0]; + var args = Array.prototype.slice.call(arguments, 1); + return providers[hook] ? providers[hook].apply(null, args) : undefined; + } + + function findIconDefinition(iconLookup) { + if (iconLookup.prefix === 'fa') { + iconLookup.prefix = 'fas'; + } + var iconName = iconLookup.iconName; + var prefix = iconLookup.prefix || getDefaultUsablePrefix(); + if (!iconName) return; + iconName = byAlias(prefix, iconName) || iconName; + return iconFromMapping(library.definitions, prefix, iconName) || iconFromMapping(namespace.styles, prefix, iconName); + } + var library = new Library(); + var noAuto = function noAuto() { + config.autoReplaceSvg = false; + config.observeMutations = false; + callHooks('noAuto'); + }; + var dom = { + i2svg: function i2svg() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + if (IS_DOM) { + callHooks('beforeI2svg', params); + callProvided('pseudoElements2svg', params); + return callProvided('i2svg', params); + } else { + return Promise.reject(new Error('Operation requires a DOM of some kind.')); + } + }, + watch: function watch() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var autoReplaceSvgRoot = params.autoReplaceSvgRoot; + if (config.autoReplaceSvg === false) { + config.autoReplaceSvg = true; + } + config.observeMutations = true; + domready(function () { + autoReplace({ + autoReplaceSvgRoot: autoReplaceSvgRoot + }); + callHooks('watch', params); + }); + } + }; + var parse = { + icon: function icon(_icon) { + if (_icon === null) { + return null; + } + if (_typeof(_icon) === 'object' && _icon.prefix && _icon.iconName) { + return { + prefix: _icon.prefix, + iconName: byAlias(_icon.prefix, _icon.iconName) || _icon.iconName + }; + } + if (Array.isArray(_icon) && _icon.length === 2) { + var iconName = _icon[1].indexOf('fa-') === 0 ? _icon[1].slice(3) : _icon[1]; + var prefix = getCanonicalPrefix(_icon[0]); + return { + prefix: prefix, + iconName: byAlias(prefix, iconName) || iconName + }; + } + if (typeof _icon === 'string' && (_icon.indexOf("".concat(config.cssPrefix, "-")) > -1 || _icon.match(ICON_SELECTION_SYNTAX_PATTERN))) { + var canonicalIcon = getCanonicalIcon(_icon.split(' '), { + skipLookups: true + }); + return { + prefix: canonicalIcon.prefix || getDefaultUsablePrefix(), + iconName: byAlias(canonicalIcon.prefix, canonicalIcon.iconName) || canonicalIcon.iconName + }; + } + if (typeof _icon === 'string') { + var _prefix = getDefaultUsablePrefix(); + return { + prefix: _prefix, + iconName: byAlias(_prefix, _icon) || _icon + }; + } + } + }; + var api = { + noAuto: noAuto, + config: config, + dom: dom, + parse: parse, + library: library, + findIconDefinition: findIconDefinition, + toHtml: toHtml + }; + var autoReplace = function autoReplace() { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var _params$autoReplaceSv = params.autoReplaceSvgRoot, + autoReplaceSvgRoot = _params$autoReplaceSv === void 0 ? DOCUMENT : _params$autoReplaceSv; + if ((Object.keys(namespace.styles).length > 0 || config.autoFetchSvg) && IS_DOM && config.autoReplaceSvg) api.dom.i2svg({ + node: autoReplaceSvgRoot + }); + }; + function bootstrap() { + if (IS_BROWSER) { + if (!WINDOW.FontAwesome) { + WINDOW.FontAwesome = api; + } + domready(function () { + autoReplace(); + callHooks('bootstrap'); + }); + } + namespace.hooks = _objectSpread2(_objectSpread2({}, namespace.hooks), {}, { + addPack: function addPack(prefix, icons) { + namespace.styles[prefix] = _objectSpread2(_objectSpread2({}, namespace.styles[prefix] || {}), icons); + build(); + autoReplace(); + }, + addPacks: function addPacks(packs) { + packs.forEach(function (_ref) { + var _ref2 = _slicedToArray(_ref, 2), + prefix = _ref2[0], + icons = _ref2[1]; + namespace.styles[prefix] = _objectSpread2(_objectSpread2({}, namespace.styles[prefix] || {}), icons); + }); + build(); + autoReplace(); + }, + addShims: function addShims(shims) { + var _namespace$shims; + (_namespace$shims = namespace.shims).push.apply(_namespace$shims, _toConsumableArray(shims)); + build(); + autoReplace(); + } + }); + } + + function domVariants(val, abstractCreator) { + Object.defineProperty(val, 'abstract', { + get: abstractCreator + }); + Object.defineProperty(val, 'html', { + get: function get() { + return val.abstract.map(function (a) { + return toHtml(a); + }); + } + }); + Object.defineProperty(val, 'node', { + get: function get() { + if (!IS_DOM) return undefined; + var container = DOCUMENT.createElement('div'); + container.innerHTML = val.html; + return container.children; + } + }); + return val; + } + + function asIcon (_ref) { + var children = _ref.children, + main = _ref.main, + mask = _ref.mask, + attributes = _ref.attributes, + styles = _ref.styles, + transform = _ref.transform; + if (transformIsMeaningful(transform) && main.found && !mask.found) { + var width = main.width, + height = main.height; + var offset = { + x: width / height / 2, + y: 0.5 + }; + attributes['style'] = joinStyles(_objectSpread2(_objectSpread2({}, styles), {}, { + 'transform-origin': "".concat(offset.x + transform.x / 16, "em ").concat(offset.y + transform.y / 16, "em") + })); + } + return [{ + tag: 'svg', + attributes: attributes, + children: children + }]; + } + + function asSymbol (_ref) { + var prefix = _ref.prefix, + iconName = _ref.iconName, + children = _ref.children, + attributes = _ref.attributes, + symbol = _ref.symbol; + var id = symbol === true ? "".concat(prefix, "-").concat(config.cssPrefix, "-").concat(iconName) : symbol; + return [{ + tag: 'svg', + attributes: { + style: 'display: none;' + }, + children: [{ + tag: 'symbol', + attributes: _objectSpread2(_objectSpread2({}, attributes), {}, { + id: id + }), + children: children + }] + }]; + } + + // If any of these attributes are present, don't assume the icon is decorative + function isLabeled(attributes) { + var labels = ['aria-label', 'aria-labelledby', 'title', 'role']; + return labels.some(function (label) { + return label in attributes; + }); + } + function makeInlineSvgAbstract(params) { + var _params$icons = params.icons, + main = _params$icons.main, + mask = _params$icons.mask, + prefix = params.prefix, + iconName = params.iconName, + transform = params.transform, + symbol = params.symbol, + maskId = params.maskId, + extra = params.extra, + _params$watchable = params.watchable, + watchable = _params$watchable === void 0 ? false : _params$watchable; + var _ref = mask.found ? mask : main, + width = _ref.width, + height = _ref.height; + var attrClass = [config.replacementClass, iconName ? "".concat(config.cssPrefix, "-").concat(iconName) : ''].filter(function (c) { + return extra.classes.indexOf(c) === -1; + }).filter(function (c) { + return c !== '' || !!c; + }).concat(extra.classes).join(' '); + var content = { + children: [], + attributes: _objectSpread2(_objectSpread2({}, extra.attributes), {}, { + 'data-prefix': prefix, + 'data-icon': iconName, + 'class': attrClass, + 'role': extra.attributes.role || 'img', + 'viewBox': "0 0 ".concat(width, " ").concat(height) + }) + }; + if (!isLabeled(extra.attributes) && !extra.attributes['aria-hidden']) { + content.attributes['aria-hidden'] = 'true'; + } + if (watchable) { + content.attributes[DATA_FA_I2SVG] = ''; + } + var args = _objectSpread2(_objectSpread2({}, content), {}, { + prefix: prefix, + iconName: iconName, + main: main, + mask: mask, + maskId: maskId, + transform: transform, + symbol: symbol, + styles: _objectSpread2({}, extra.styles) + }); + var _ref2 = mask.found && main.found ? callProvided('generateAbstractMask', args) || { + children: [], + attributes: {} + } : callProvided('generateAbstractIcon', args) || { + children: [], + attributes: {} + }, + children = _ref2.children, + attributes = _ref2.attributes; + args.children = children; + args.attributes = attributes; + if (symbol) { + return asSymbol(args); + } else { + return asIcon(args); + } + } + function makeLayersTextAbstract(params) { + var content = params.content, + width = params.width, + height = params.height, + transform = params.transform, + extra = params.extra, + _params$watchable2 = params.watchable, + watchable = _params$watchable2 === void 0 ? false : _params$watchable2; + var attributes = _objectSpread2(_objectSpread2({}, extra.attributes), {}, { + class: extra.classes.join(' ') + }); + if (watchable) { + attributes[DATA_FA_I2SVG] = ''; + } + var styles = _objectSpread2({}, extra.styles); + if (transformIsMeaningful(transform)) { + styles['transform'] = transformForCss({ + transform: transform, + startCentered: true, + width: width, + height: height + }); + styles['-webkit-transform'] = styles['transform']; + } + var styleString = joinStyles(styles); + if (styleString.length > 0) { + attributes['style'] = styleString; + } + var val = []; + val.push({ + tag: 'span', + attributes: attributes, + children: [content] + }); + return val; + } + function makeLayersCounterAbstract(params) { + var content = params.content, + extra = params.extra; + var attributes = _objectSpread2(_objectSpread2({}, extra.attributes), {}, { + class: extra.classes.join(' ') + }); + var styleString = joinStyles(extra.styles); + if (styleString.length > 0) { + attributes['style'] = styleString; + } + var val = []; + val.push({ + tag: 'span', + attributes: attributes, + children: [content] + }); + return val; + } + + var styles$1 = namespace.styles; + function asFoundIcon(icon) { + var width = icon[0]; + var height = icon[1]; + var _icon$slice = icon.slice(4), + _icon$slice2 = _slicedToArray(_icon$slice, 1), + vectorData = _icon$slice2[0]; + var element = null; + if (Array.isArray(vectorData)) { + element = { + tag: 'g', + attributes: { + class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.GROUP) + }, + children: [{ + tag: 'path', + attributes: { + class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.SECONDARY), + fill: 'currentColor', + d: vectorData[0] + } + }, { + tag: 'path', + attributes: { + class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.PRIMARY), + fill: 'currentColor', + d: vectorData[1] + } + }] + }; + } else { + element = { + tag: 'path', + attributes: { + fill: 'currentColor', + d: vectorData + } + }; + } + return { + found: true, + width: width, + height: height, + icon: element + }; + } + var missingIconResolutionMixin = { + found: false, + width: 512, + height: 512 + }; + function maybeNotifyMissing(iconName, prefix) { + if (!PRODUCTION && !config.showMissingIcons && iconName) { + console.error("Icon with name \"".concat(iconName, "\" and prefix \"").concat(prefix, "\" is missing.")); + } + } + function findIcon(iconName, prefix) { + var givenPrefix = prefix; + if (prefix === 'fa' && config.styleDefault !== null) { + prefix = getDefaultUsablePrefix(); + } + return new Promise(function (resolve, reject) { + if (givenPrefix === 'fa') { + var shim = byOldName(iconName) || {}; + iconName = shim.iconName || iconName; + prefix = shim.prefix || prefix; + } + if (iconName && prefix && styles$1[prefix] && styles$1[prefix][iconName]) { + var icon = styles$1[prefix][iconName]; + return resolve(asFoundIcon(icon)); + } + maybeNotifyMissing(iconName, prefix); + resolve(_objectSpread2(_objectSpread2({}, missingIconResolutionMixin), {}, { + icon: config.showMissingIcons && iconName ? callProvided('missingIconAbstract') || {} : {} + })); + }); + } + + var noop$1 = function noop() {}; + var p$2 = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMANCE.measure ? PERFORMANCE : { + mark: noop$1, + measure: noop$1 + }; + var preamble = "FA \"7.0.1\""; + var begin = function begin(name) { + p$2.mark("".concat(preamble, " ").concat(name, " begins")); + return function () { + return end(name); + }; + }; + var end = function end(name) { + p$2.mark("".concat(preamble, " ").concat(name, " ends")); + p$2.measure("".concat(preamble, " ").concat(name), "".concat(preamble, " ").concat(name, " begins"), "".concat(preamble, " ").concat(name, " ends")); + }; + var perf = { + begin: begin, + end: end + }; + + var noop$2 = function noop() {}; + function isWatched(node) { + var i2svg = node.getAttribute ? node.getAttribute(DATA_FA_I2SVG) : null; + return typeof i2svg === 'string'; + } + function hasPrefixAndIcon(node) { + var prefix = node.getAttribute ? node.getAttribute(DATA_PREFIX) : null; + var icon = node.getAttribute ? node.getAttribute(DATA_ICON) : null; + return prefix && icon; + } + function hasBeenReplaced(node) { + return node && node.classList && node.classList.contains && node.classList.contains(config.replacementClass); + } + function getMutator() { + if (config.autoReplaceSvg === true) { + return mutators.replace; + } + var mutator = mutators[config.autoReplaceSvg]; + return mutator || mutators.replace; + } + function createElementNS(tag) { + return DOCUMENT.createElementNS('http://www.w3.org/2000/svg', tag); + } + function createElement(tag) { + return DOCUMENT.createElement(tag); + } + function convertSVG(abstractObj) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _params$ceFn = params.ceFn, + ceFn = _params$ceFn === void 0 ? abstractObj.tag === 'svg' ? createElementNS : createElement : _params$ceFn; + if (typeof abstractObj === 'string') { + return DOCUMENT.createTextNode(abstractObj); + } + var tag = ceFn(abstractObj.tag); + Object.keys(abstractObj.attributes || []).forEach(function (key) { + tag.setAttribute(key, abstractObj.attributes[key]); + }); + var children = abstractObj.children || []; + children.forEach(function (child) { + tag.appendChild(convertSVG(child, { + ceFn: ceFn + })); + }); + return tag; + } + function nodeAsComment(node) { + var comment = " ".concat(node.outerHTML, " "); + /* BEGIN.ATTRIBUTION */ + comment = "".concat(comment, "Font Awesome fontawesome.com "); + /* END.ATTRIBUTION */ + return comment; + } + var mutators = { + replace: function replace(mutation) { + var node = mutation[0]; + if (node.parentNode) { + mutation[1].forEach(function (abstract) { + node.parentNode.insertBefore(convertSVG(abstract), node); + }); + if (node.getAttribute(DATA_FA_I2SVG) === null && config.keepOriginalSource) { + var comment = DOCUMENT.createComment(nodeAsComment(node)); + node.parentNode.replaceChild(comment, node); + } else { + node.remove(); + } + } + }, + nest: function nest(mutation) { + var node = mutation[0]; + var abstract = mutation[1]; + + // If we already have a replaced node we do not want to continue nesting within it. + // Short-circuit to the standard replacement + if (~classArray(node).indexOf(config.replacementClass)) { + return mutators.replace(mutation); + } + var forSvg = new RegExp("".concat(config.cssPrefix, "-.*")); + delete abstract[0].attributes.id; + if (abstract[0].attributes.class) { + var splitClasses = abstract[0].attributes.class.split(' ').reduce(function (acc, cls) { + if (cls === config.replacementClass || cls.match(forSvg)) { + acc.toSvg.push(cls); + } else { + acc.toNode.push(cls); + } + return acc; + }, { + toNode: [], + toSvg: [] + }); + abstract[0].attributes.class = splitClasses.toSvg.join(' '); + if (splitClasses.toNode.length === 0) { + node.removeAttribute('class'); + } else { + node.setAttribute('class', splitClasses.toNode.join(' ')); + } + } + var newInnerHTML = abstract.map(function (a) { + return toHtml(a); + }).join('\n'); + node.setAttribute(DATA_FA_I2SVG, ''); + node.innerHTML = newInnerHTML; + } + }; + function performOperationSync(op) { + op(); + } + function perform(mutations, callback) { + var callbackFunction = typeof callback === 'function' ? callback : noop$2; + if (mutations.length === 0) { + callbackFunction(); + } else { + var frame = performOperationSync; + if (config.mutateApproach === MUTATION_APPROACH_ASYNC) { + frame = WINDOW.requestAnimationFrame || performOperationSync; + } + frame(function () { + var mutator = getMutator(); + var mark = perf.begin('mutate'); + mutations.map(mutator); + mark(); + callbackFunction(); + }); + } + } + var disabled = false; + function disableObservation() { + disabled = true; + } + function enableObservation() { + disabled = false; + } + var mo = null; + function observe(options) { + if (!MUTATION_OBSERVER) { + return; + } + if (!config.observeMutations) { + return; + } + var _options$treeCallback = options.treeCallback, + treeCallback = _options$treeCallback === void 0 ? noop$2 : _options$treeCallback, + _options$nodeCallback = options.nodeCallback, + nodeCallback = _options$nodeCallback === void 0 ? noop$2 : _options$nodeCallback, + _options$pseudoElemen = options.pseudoElementsCallback, + pseudoElementsCallback = _options$pseudoElemen === void 0 ? noop$2 : _options$pseudoElemen, + _options$observeMutat = options.observeMutationsRoot, + observeMutationsRoot = _options$observeMutat === void 0 ? DOCUMENT : _options$observeMutat; + mo = new MUTATION_OBSERVER(function (objects) { + if (disabled) return; + var defaultPrefix = getDefaultUsablePrefix(); + toArray(objects).forEach(function (mutationRecord) { + if (mutationRecord.type === 'childList' && mutationRecord.addedNodes.length > 0 && !isWatched(mutationRecord.addedNodes[0])) { + if (config.searchPseudoElements) { + pseudoElementsCallback(mutationRecord.target); + } + treeCallback(mutationRecord.target); + } + if (mutationRecord.type === 'attributes' && mutationRecord.target.parentNode && config.searchPseudoElements) { + pseudoElementsCallback([mutationRecord.target], true); + } + if (mutationRecord.type === 'attributes' && isWatched(mutationRecord.target) && ~ATTRIBUTES_WATCHED_FOR_MUTATION.indexOf(mutationRecord.attributeName)) { + if (mutationRecord.attributeName === 'class' && hasPrefixAndIcon(mutationRecord.target)) { + var _getCanonicalIcon = getCanonicalIcon(classArray(mutationRecord.target)), + prefix = _getCanonicalIcon.prefix, + iconName = _getCanonicalIcon.iconName; + mutationRecord.target.setAttribute(DATA_PREFIX, prefix || defaultPrefix); + if (iconName) mutationRecord.target.setAttribute(DATA_ICON, iconName); + } else if (hasBeenReplaced(mutationRecord.target)) { + nodeCallback(mutationRecord.target); + } + } + }); + }); + if (!IS_DOM) return; + mo.observe(observeMutationsRoot, { + childList: true, + attributes: true, + characterData: true, + subtree: true + }); + } + function disconnect() { + if (!mo) return; + mo.disconnect(); + } + + function styleParser (node) { + var style = node.getAttribute('style'); + var val = []; + if (style) { + val = style.split(';').reduce(function (acc, style) { + var styles = style.split(':'); + var prop = styles[0]; + var value = styles.slice(1); + if (prop && value.length > 0) { + acc[prop] = value.join(':').trim(); + } + return acc; + }, {}); + } + return val; + } + + function classParser (node) { + var existingPrefix = node.getAttribute('data-prefix'); + var existingIconName = node.getAttribute('data-icon'); + var innerText = node.innerText !== undefined ? node.innerText.trim() : ''; + var val = getCanonicalIcon(classArray(node)); + if (!val.prefix) { + val.prefix = getDefaultUsablePrefix(); + } + if (existingPrefix && existingIconName) { + val.prefix = existingPrefix; + val.iconName = existingIconName; + } + if (val.iconName && val.prefix) { + return val; + } + if (val.prefix && innerText.length > 0) { + val.iconName = byLigature(val.prefix, node.innerText) || byUnicode(val.prefix, toHex(node.innerText)); + } + if (!val.iconName && config.autoFetchSvg && node.firstChild && node.firstChild.nodeType === Node.TEXT_NODE) { + val.iconName = node.firstChild.data; + } + return val; + } + + function attributesParser (node) { + var extraAttributes = toArray(node.attributes).reduce(function (acc, attr) { + if (acc.name !== 'class' && acc.name !== 'style') { + acc[attr.name] = attr.value; + } + return acc; + }, {}); + return extraAttributes; + } + + function blankMeta() { + return { + iconName: null, + prefix: null, + transform: meaninglessTransform, + symbol: false, + mask: { + iconName: null, + prefix: null, + rest: [] + }, + maskId: null, + extra: { + classes: [], + styles: {}, + attributes: {} + } + }; + } + function parseMeta(node) { + var parser = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { + styleParser: true + }; + var _classParser = classParser(node), + iconName = _classParser.iconName, + prefix = _classParser.prefix, + extraClasses = _classParser.rest; + var extraAttributes = attributesParser(node); + var pluginMeta = chainHooks('parseNodeAttributes', {}, node); + var extraStyles = parser.styleParser ? styleParser(node) : []; + return _objectSpread2({ + iconName: iconName, + prefix: prefix, + transform: meaninglessTransform, + mask: { + iconName: null, + prefix: null, + rest: [] + }, + maskId: null, + symbol: false, + extra: { + classes: extraClasses, + styles: extraStyles, + attributes: extraAttributes + } + }, pluginMeta); + } + + var styles$2 = namespace.styles; + function generateMutation(node) { + var nodeMeta = config.autoReplaceSvg === 'nest' ? parseMeta(node, { + styleParser: false + }) : parseMeta(node); + if (~nodeMeta.extra.classes.indexOf(LAYERS_TEXT_CLASSNAME)) { + return callProvided('generateLayersText', node, nodeMeta); + } else { + return callProvided('generateSvgReplacementMutation', node, nodeMeta); + } + } + function getKnownPrefixes() { + return [].concat(_toConsumableArray(zo), _toConsumableArray($o$1)); + } + function onTree(root) { + var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; + if (!IS_DOM) return Promise.resolve(); + var htmlClassList = DOCUMENT.documentElement.classList; + var hclAdd = function hclAdd(suffix) { + return htmlClassList.add("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix)); + }; + var hclRemove = function hclRemove(suffix) { + return htmlClassList.remove("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix)); + }; + var prefixes = config.autoFetchSvg ? getKnownPrefixes() : G.concat(Object.keys(styles$2)); + if (!prefixes.includes('fa')) { + prefixes.push('fa'); + } + var prefixesDomQuery = [".".concat(LAYERS_TEXT_CLASSNAME, ":not([").concat(DATA_FA_I2SVG, "])")].concat(prefixes.map(function (p$$1) { + return ".".concat(p$$1, ":not([").concat(DATA_FA_I2SVG, "])"); + })).join(', '); + if (prefixesDomQuery.length === 0) { + return Promise.resolve(); + } + var candidates = []; + try { + candidates = toArray(root.querySelectorAll(prefixesDomQuery)); + } catch (e$$1) { + // noop + } + if (candidates.length > 0) { + hclAdd('pending'); + hclRemove('complete'); + } else { + return Promise.resolve(); + } + var mark = perf.begin('onTree'); + var mutations = candidates.reduce(function (acc, node) { + try { + var mutation = generateMutation(node); + if (mutation) { + acc.push(mutation); + } + } catch (e$$1) { + if (!PRODUCTION) { + if (e$$1.name === 'MissingIcon') { + console.error(e$$1); + } + } + } + return acc; + }, []); + return new Promise(function (resolve, reject) { + Promise.all(mutations).then(function (resolvedMutations) { + perform(resolvedMutations, function () { + hclAdd('active'); + hclAdd('complete'); + hclRemove('pending'); + if (typeof callback === 'function') callback(); + mark(); + resolve(); + }); + }).catch(function (e$$1) { + mark(); + reject(e$$1); + }); + }); + } + function onNode(node) { + var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; + generateMutation(node).then(function (mutation) { + if (mutation) { + perform([mutation], callback); + } + }); + } + function resolveIcons(next) { + return function (maybeIconDefinition) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var iconDefinition = (maybeIconDefinition || {}).icon ? maybeIconDefinition : findIconDefinition(maybeIconDefinition || {}); + var mask = params.mask; + if (mask) { + mask = (mask || {}).icon ? mask : findIconDefinition(mask || {}); + } + return next(iconDefinition, _objectSpread2(_objectSpread2({}, params), {}, { + mask: mask + })); + }; + } + var render = function render(iconDefinition) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _params$transform = params.transform, + transform = _params$transform === void 0 ? meaninglessTransform : _params$transform, + _params$symbol = params.symbol, + symbol = _params$symbol === void 0 ? false : _params$symbol, + _params$mask = params.mask, + mask = _params$mask === void 0 ? null : _params$mask, + _params$maskId = params.maskId, + maskId = _params$maskId === void 0 ? null : _params$maskId, + _params$classes = params.classes, + classes = _params$classes === void 0 ? [] : _params$classes, + _params$attributes = params.attributes, + attributes = _params$attributes === void 0 ? {} : _params$attributes, + _params$styles = params.styles, + styles = _params$styles === void 0 ? {} : _params$styles; + if (!iconDefinition) return; + var prefix = iconDefinition.prefix, + iconName = iconDefinition.iconName, + icon = iconDefinition.icon; + return domVariants(_objectSpread2({ + type: 'icon' + }, iconDefinition), function () { + callHooks('beforeDOMElementCreation', { + iconDefinition: iconDefinition, + params: params + }); + return makeInlineSvgAbstract({ + icons: { + main: asFoundIcon(icon), + mask: mask ? asFoundIcon(mask.icon) : { + found: false, + width: null, + height: null, + icon: {} + } + }, + prefix: prefix, + iconName: iconName, + transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform), + symbol: symbol, + maskId: maskId, + extra: { + attributes: attributes, + styles: styles, + classes: classes + } + }); + }); + }; + var ReplaceElements = { + mixout: function mixout() { + return { + icon: resolveIcons(render) + }; + }, + hooks: function hooks() { + return { + mutationObserverCallbacks: function mutationObserverCallbacks(accumulator) { + accumulator.treeCallback = onTree; + accumulator.nodeCallback = onNode; + return accumulator; + } + }; + }, + provides: function provides(providers$$1) { + providers$$1.i2svg = function (params) { + var _params$node = params.node, + node = _params$node === void 0 ? DOCUMENT : _params$node, + _params$callback = params.callback, + callback = _params$callback === void 0 ? function () {} : _params$callback; + return onTree(node, callback); + }; + providers$$1.generateSvgReplacementMutation = function (node, nodeMeta) { + var iconName = nodeMeta.iconName, + prefix = nodeMeta.prefix, + transform = nodeMeta.transform, + symbol = nodeMeta.symbol, + mask = nodeMeta.mask, + maskId = nodeMeta.maskId, + extra = nodeMeta.extra; + return new Promise(function (resolve, reject) { + Promise.all([findIcon(iconName, prefix), mask.iconName ? findIcon(mask.iconName, mask.prefix) : Promise.resolve({ + found: false, + width: 512, + height: 512, + icon: {} + })]).then(function (_ref) { + var _ref2 = _slicedToArray(_ref, 2), + main = _ref2[0], + mask = _ref2[1]; + resolve([node, makeInlineSvgAbstract({ + icons: { + main: main, + mask: mask + }, + prefix: prefix, + iconName: iconName, + transform: transform, + symbol: symbol, + maskId: maskId, + extra: extra, + watchable: true + })]); + }).catch(reject); + }); + }; + providers$$1.generateAbstractIcon = function (_ref3) { + var children = _ref3.children, + attributes = _ref3.attributes, + main = _ref3.main, + transform = _ref3.transform, + styles = _ref3.styles; + var styleString = joinStyles(styles); + if (styleString.length > 0) { + attributes['style'] = styleString; + } + var nextChild; + if (transformIsMeaningful(transform)) { + nextChild = callProvided('generateAbstractTransformGrouping', { + main: main, + transform: transform, + containerWidth: main.width, + iconWidth: main.width + }); + } + children.push(nextChild || main.icon); + return { + children: children, + attributes: attributes + }; + }; + } + }; + + var Layers = { + mixout: function mixout() { + return { + layer: function layer(assembler) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _params$classes = params.classes, + classes = _params$classes === void 0 ? [] : _params$classes; + return domVariants({ + type: 'layer' + }, function () { + callHooks('beforeDOMElementCreation', { + assembler: assembler, + params: params + }); + var children = []; + assembler(function (args) { + Array.isArray(args) ? args.map(function (a) { + children = children.concat(a.abstract); + }) : children = children.concat(args.abstract); + }); + return [{ + tag: 'span', + attributes: { + class: ["".concat(config.cssPrefix, "-layers")].concat(_toConsumableArray(classes)).join(' ') + }, + children: children + }]; + }); + } + }; + } + }; + + var LayersCounter = { + mixout: function mixout() { + return { + counter: function counter(content) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _params$title = params.title, + title = _params$title === void 0 ? null : _params$title, + _params$classes = params.classes, + classes = _params$classes === void 0 ? [] : _params$classes, + _params$attributes = params.attributes, + attributes = _params$attributes === void 0 ? {} : _params$attributes, + _params$styles = params.styles, + styles = _params$styles === void 0 ? {} : _params$styles; + return domVariants({ + type: 'counter', + content: content + }, function () { + callHooks('beforeDOMElementCreation', { + content: content, + params: params + }); + return makeLayersCounterAbstract({ + content: content.toString(), + title: title, + extra: { + attributes: attributes, + styles: styles, + classes: ["".concat(config.cssPrefix, "-layers-counter")].concat(_toConsumableArray(classes)) + } + }); + }); + } + }; + } + }; + + var LayersText = { + mixout: function mixout() { + return { + text: function text(content) { + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _params$transform = params.transform, + transform = _params$transform === void 0 ? meaninglessTransform : _params$transform, + _params$classes = params.classes, + classes = _params$classes === void 0 ? [] : _params$classes, + _params$attributes = params.attributes, + attributes = _params$attributes === void 0 ? {} : _params$attributes, + _params$styles = params.styles, + styles = _params$styles === void 0 ? {} : _params$styles; + return domVariants({ + type: 'text', + content: content + }, function () { + callHooks('beforeDOMElementCreation', { + content: content, + params: params + }); + return makeLayersTextAbstract({ + content: content, + transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform), + extra: { + attributes: attributes, + styles: styles, + classes: ["".concat(config.cssPrefix, "-layers-text")].concat(_toConsumableArray(classes)) + } + }); + }); + } + }; + }, + provides: function provides(providers$$1) { + providers$$1.generateLayersText = function (node, nodeMeta) { + var transform = nodeMeta.transform, + extra = nodeMeta.extra; + var width = null; + var height = null; + if (IS_IE) { + var computedFontSize = parseInt(getComputedStyle(node).fontSize, 10); + var boundingClientRect = node.getBoundingClientRect(); + width = boundingClientRect.width / computedFontSize; + height = boundingClientRect.height / computedFontSize; + } + return Promise.resolve([node, makeLayersTextAbstract({ + content: node.innerHTML, + width: width, + height: height, + transform: transform, + extra: extra, + watchable: true + })]); + }; + } + }; + + var CLEAN_CONTENT_PATTERN = new RegExp("\"", 'ug'); + var SECONDARY_UNICODE_RANGE = [1105920, 1112319]; + var _FONT_FAMILY_WEIGHT_TO_PREFIX = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, { + FontAwesome: { + normal: 'fas', + 400: 'fas' + } + }), Bo), oa), lt); + var FONT_FAMILY_WEIGHT_TO_PREFIX = Object.keys(_FONT_FAMILY_WEIGHT_TO_PREFIX).reduce(function (acc, key) { + acc[key.toLowerCase()] = _FONT_FAMILY_WEIGHT_TO_PREFIX[key]; + return acc; + }, {}); + var FONT_FAMILY_WEIGHT_FALLBACK = Object.keys(FONT_FAMILY_WEIGHT_TO_PREFIX).reduce(function (acc, fontFamily) { + var weights = FONT_FAMILY_WEIGHT_TO_PREFIX[fontFamily]; + acc[fontFamily] = weights[900] || _toConsumableArray(Object.entries(weights))[0][1]; + return acc; + }, {}); + + // Return hex value of *first* character in `content` + function hexValueFromContent(content) { + var cleaned = content.replace(CLEAN_CONTENT_PATTERN, ''); + return toHex(_toConsumableArray(cleaned)[0] || ''); + } + + // Check if it's a secondary Duotone layer, by checking if: + // - Unicode value in `content` is repeated + // - Unicode value in `content` is above 0x10000 + // - The "ss01" font feature is enabled on the `content` + function isSecondaryLayer(styles) { + var hasStylisticSet = styles.getPropertyValue('font-feature-settings').includes('ss01'); + var content = styles.getPropertyValue('content'); + var cleaned = content.replace(CLEAN_CONTENT_PATTERN, ''); + var codePoint = cleaned.codePointAt(0); + var isPrependTen = codePoint >= SECONDARY_UNICODE_RANGE[0] && codePoint <= SECONDARY_UNICODE_RANGE[1]; + var isDoubled = cleaned.length === 2 ? cleaned[0] === cleaned[1] : false; + return isPrependTen || isDoubled || hasStylisticSet; + } + function getPrefix(fontFamily, fontWeight) { + var fontFamilySanitized = fontFamily.replace(/^['"]|['"]$/g, '').toLowerCase(); + var fontWeightInteger = parseInt(fontWeight); + var fontWeightSanitized = isNaN(fontWeightInteger) ? 'normal' : fontWeightInteger; + return (FONT_FAMILY_WEIGHT_TO_PREFIX[fontFamilySanitized] || {})[fontWeightSanitized] || FONT_FAMILY_WEIGHT_FALLBACK[fontFamilySanitized]; + } + function replaceForPosition(node, position) { + var pendingAttribute = "".concat(DATA_FA_PSEUDO_ELEMENT_PENDING).concat(position.replace(':', '-')); + return new Promise(function (resolve, reject) { + if (node.getAttribute(pendingAttribute) !== null) { + // This node is already being processed + return resolve(); + } + var children = toArray(node.children); + var alreadyProcessedPseudoElement = children.filter(function (c$$1) { + return c$$1.getAttribute(DATA_FA_PSEUDO_ELEMENT) === position; + })[0]; + var styles = WINDOW.getComputedStyle(node, position); + var fontFamily = styles.getPropertyValue('font-family'); + var fontFamilyMatch = fontFamily.match(FONT_FAMILY_PATTERN); + var fontWeight = styles.getPropertyValue('font-weight'); + var content = styles.getPropertyValue('content'); + if (alreadyProcessedPseudoElement && !fontFamilyMatch) { + // If we've already processed it but the current computed style does not result in a font-family, + // that probably means that a class name that was previously present to make the icon has been + // removed. So we now should delete the icon. + node.removeChild(alreadyProcessedPseudoElement); + return resolve(); + } else if (fontFamilyMatch && content !== 'none' && content !== '') { + var _content = styles.getPropertyValue('content'); + var prefix = getPrefix(fontFamily, fontWeight); + var hexValue = hexValueFromContent(_content); + var isV4 = fontFamilyMatch[0].startsWith('FontAwesome'); + var isSecondary = isSecondaryLayer(styles); + var iconName = byUnicode(prefix, hexValue); + var iconIdentifier = iconName; + if (isV4) { + var iconName4 = byOldUnicode(hexValue); + if (iconName4.iconName && iconName4.prefix) { + iconName = iconName4.iconName; + prefix = iconName4.prefix; + } + } + + // Only convert the pseudo element in this ::before/::after position into an icon if we haven't + // already done so with the same prefix and iconName + if (iconName && !isSecondary && (!alreadyProcessedPseudoElement || alreadyProcessedPseudoElement.getAttribute(DATA_PREFIX) !== prefix || alreadyProcessedPseudoElement.getAttribute(DATA_ICON) !== iconIdentifier)) { + node.setAttribute(pendingAttribute, iconIdentifier); + if (alreadyProcessedPseudoElement) { + // Delete the old one, since we're replacing it with a new one + node.removeChild(alreadyProcessedPseudoElement); + } + var meta = blankMeta(); + var extra = meta.extra; + extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position; + findIcon(iconName, prefix).then(function (main) { + var abstract = makeInlineSvgAbstract(_objectSpread2(_objectSpread2({}, meta), {}, { + icons: { + main: main, + mask: emptyCanonicalIcon() + }, + prefix: prefix, + iconName: iconIdentifier, + extra: extra, + watchable: true + })); + var element = DOCUMENT.createElementNS('http://www.w3.org/2000/svg', 'svg'); + if (position === '::before') { + node.insertBefore(element, node.firstChild); + } else { + node.appendChild(element); + } + element.outerHTML = abstract.map(function (a$$1) { + return toHtml(a$$1); + }).join('\n'); + node.removeAttribute(pendingAttribute); + resolve(); + }).catch(reject); + } else { + resolve(); + } + } else { + resolve(); + } + }); + } + function replace(node) { + return Promise.all([replaceForPosition(node, '::before'), replaceForPosition(node, '::after')]); + } + function processable(node) { + return node.parentNode !== document.head && !~TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS.indexOf(node.tagName.toUpperCase()) && !node.getAttribute(DATA_FA_PSEUDO_ELEMENT) && (!node.parentNode || node.parentNode.tagName !== 'svg'); + } + var hasPseudoElement = function hasPseudoElement(selector) { + return !!selector && PSEUDO_ELEMENTS.some(function (pseudoSelector) { + return selector.includes(pseudoSelector); + }); + }; + + // Return selectors from all available stylesheets that have + // pseudo-elements defined. + var parseCSSRuleForPseudos = function parseCSSRuleForPseudos(selectorText) { + if (!selectorText) return []; + var selectorSet = new Set(); + var selectors = selectorText.split(/,(?![^()]*\))/).map(function (s$$1) { + return s$$1.trim(); + }); + selectors = selectors.flatMap(function (selector) { + return selector.includes('(') ? selector : selector.split(',').map(function (s$$1) { + return s$$1.trim(); + }); + }); + var _iterator = _createForOfIteratorHelper(selectors), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var selector = _step.value; + if (hasPseudoElement(selector)) { + // Remove pseudo-elements from the selector + var selectorWithoutPseudo = PSEUDO_ELEMENTS.reduce(function (acc, pseudoSelector) { + return acc.replace(pseudoSelector, ''); + }, selector); + if (selectorWithoutPseudo !== '' && selectorWithoutPseudo !== '*') { + selectorSet.add(selectorWithoutPseudo); + } + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + return selectorSet; + }; + function searchPseudoElements(root) { + var useAsNodeList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + if (!IS_DOM) return; + var nodeList; + if (useAsNodeList) { + nodeList = root; + } else if (config.searchPseudoElementsFullScan) { + nodeList = root.querySelectorAll('*'); + } else { + // Get elements that have pseudo elements defined in the CSS + var selectorSet = new Set(); + var _iterator2 = _createForOfIteratorHelper(document.styleSheets), + _step2; + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var stylesheet = _step2.value; + try { + var _iterator3 = _createForOfIteratorHelper(stylesheet.cssRules), + _step3; + try { + for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { + var rule = _step3.value; + var parsedSelectors = parseCSSRuleForPseudos(rule.selectorText); + var _iterator4 = _createForOfIteratorHelper(parsedSelectors), + _step4; + try { + for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { + var selector = _step4.value; + selectorSet.add(selector); + } + } catch (err) { + _iterator4.e(err); + } finally { + _iterator4.f(); + } + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + } catch (e$$1) { + if (config.searchPseudoElementsWarnings) { + console.warn("Font Awesome: cannot parse stylesheet: ".concat(stylesheet.href, " (").concat(e$$1.message, ")\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin=\"anonymous\" to the , enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.")); + } + } + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + if (!selectorSet.size) return; + var cleanSelectors = Array.from(selectorSet).join(', '); + try { + nodeList = root.querySelectorAll(cleanSelectors); + } catch (_unused) {} // eslint-disable-line no-empty + } + return new Promise(function (resolve, reject) { + var operations = toArray(nodeList).filter(processable).map(replace); + var end = perf.begin('searchPseudoElements'); + disableObservation(); + Promise.all(operations).then(function () { + end(); + enableObservation(); + resolve(); + }).catch(function () { + end(); + enableObservation(); + reject(); + }); + }); + } + var PseudoElements = { + hooks: function hooks() { + return { + mutationObserverCallbacks: function mutationObserverCallbacks(accumulator) { + accumulator.pseudoElementsCallback = searchPseudoElements; + return accumulator; + } + }; + }, + provides: function provides(providers) { + providers.pseudoElements2svg = function (params) { + var _params$node = params.node, + node = _params$node === void 0 ? DOCUMENT : _params$node; + if (config.searchPseudoElements) { + searchPseudoElements(node); + } + }; + } + }; + + var _unwatched = false; + var MutationObserver$1 = { + mixout: function mixout() { + return { + dom: { + unwatch: function unwatch() { + disableObservation(); + _unwatched = true; + } + } + }; + }, + hooks: function hooks() { + return { + bootstrap: function bootstrap() { + observe(chainHooks('mutationObserverCallbacks', {})); + }, + noAuto: function noAuto() { + disconnect(); + }, + watch: function watch(params) { + var observeMutationsRoot = params.observeMutationsRoot; + if (_unwatched) { + enableObservation(); + } else { + observe(chainHooks('mutationObserverCallbacks', { + observeMutationsRoot: observeMutationsRoot + })); + } + } + }; + } + }; + + var parseTransformString = function parseTransformString(transformString) { + var transform = { + size: 16, + x: 0, + y: 0, + flipX: false, + flipY: false, + rotate: 0 + }; + return transformString.toLowerCase().split(' ').reduce(function (acc, n) { + var parts = n.toLowerCase().split('-'); + var first = parts[0]; + var rest = parts.slice(1).join('-'); + if (first && rest === 'h') { + acc.flipX = true; + return acc; + } + if (first && rest === 'v') { + acc.flipY = true; + return acc; + } + rest = parseFloat(rest); + if (isNaN(rest)) { + return acc; + } + switch (first) { + case 'grow': + acc.size = acc.size + rest; + break; + case 'shrink': + acc.size = acc.size - rest; + break; + case 'left': + acc.x = acc.x - rest; + break; + case 'right': + acc.x = acc.x + rest; + break; + case 'up': + acc.y = acc.y - rest; + break; + case 'down': + acc.y = acc.y + rest; + break; + case 'rotate': + acc.rotate = acc.rotate + rest; + break; + } + return acc; + }, transform); + }; + var PowerTransforms = { + mixout: function mixout() { + return { + parse: { + transform: function transform(transformString) { + return parseTransformString(transformString); + } + } + }; + }, + hooks: function hooks() { + return { + parseNodeAttributes: function parseNodeAttributes(accumulator, node) { + var transformString = node.getAttribute('data-fa-transform'); + if (transformString) { + accumulator.transform = parseTransformString(transformString); + } + return accumulator; + } + }; + }, + provides: function provides(providers) { + providers.generateAbstractTransformGrouping = function (_ref) { + var main = _ref.main, + transform = _ref.transform, + containerWidth = _ref.containerWidth, + iconWidth = _ref.iconWidth; + var outer = { + transform: "translate(".concat(containerWidth / 2, " 256)") + }; + var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") "); + var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") "); + var innerRotate = "rotate(".concat(transform.rotate, " 0 0)"); + var inner = { + transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate) + }; + var path = { + transform: "translate(".concat(iconWidth / 2 * -1, " -256)") + }; + var operations = { + outer: outer, + inner: inner, + path: path + }; + return { + tag: 'g', + attributes: _objectSpread2({}, operations.outer), + children: [{ + tag: 'g', + attributes: _objectSpread2({}, operations.inner), + children: [{ + tag: main.icon.tag, + children: main.icon.children, + attributes: _objectSpread2(_objectSpread2({}, main.icon.attributes), operations.path) + }] + }] + }; + }; + } + }; + + var ALL_SPACE = { + x: 0, + y: 0, + width: '100%', + height: '100%' + }; + function fillBlack(abstract) { + var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; + if (abstract.attributes && (abstract.attributes.fill || force)) { + abstract.attributes.fill = 'black'; + } + return abstract; + } + function deGroup(abstract) { + if (abstract.tag === 'g') { + return abstract.children; + } else { + return [abstract]; + } + } + var Masks = { + hooks: function hooks() { + return { + parseNodeAttributes: function parseNodeAttributes(accumulator, node) { + var maskData = node.getAttribute('data-fa-mask'); + var mask = !maskData ? emptyCanonicalIcon() : getCanonicalIcon(maskData.split(' ').map(function (i) { + return i.trim(); + })); + if (!mask.prefix) { + mask.prefix = getDefaultUsablePrefix(); + } + accumulator.mask = mask; + accumulator.maskId = node.getAttribute('data-fa-mask-id'); + return accumulator; + } + }; + }, + provides: function provides(providers) { + providers.generateAbstractMask = function (_ref) { + var children = _ref.children, + attributes = _ref.attributes, + main = _ref.main, + mask = _ref.mask, + explicitMaskId = _ref.maskId, + transform = _ref.transform; + var mainWidth = main.width, + mainPath = main.icon; + var maskWidth = mask.width, + maskPath = mask.icon; + var trans = transformForSvg({ + transform: transform, + containerWidth: maskWidth, + iconWidth: mainWidth + }); + var maskRect = { + tag: 'rect', + attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, { + fill: 'white' + }) + }; + var maskInnerGroupChildrenMixin = mainPath.children ? { + children: mainPath.children.map(fillBlack) + } : {}; + var maskInnerGroup = { + tag: 'g', + attributes: _objectSpread2({}, trans.inner), + children: [fillBlack(_objectSpread2({ + tag: mainPath.tag, + attributes: _objectSpread2(_objectSpread2({}, mainPath.attributes), trans.path) + }, maskInnerGroupChildrenMixin))] + }; + var maskOuterGroup = { + tag: 'g', + attributes: _objectSpread2({}, trans.outer), + children: [maskInnerGroup] + }; + var maskId = "mask-".concat(explicitMaskId || nextUniqueId()); + var clipId = "clip-".concat(explicitMaskId || nextUniqueId()); + var maskTag = { + tag: 'mask', + attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, { + id: maskId, + maskUnits: 'userSpaceOnUse', + maskContentUnits: 'userSpaceOnUse' + }), + children: [maskRect, maskOuterGroup] + }; + var defs = { + tag: 'defs', + children: [{ + tag: 'clipPath', + attributes: { + id: clipId + }, + children: deGroup(maskPath) + }, maskTag] + }; + children.push(defs, { + tag: 'rect', + attributes: _objectSpread2({ + 'fill': 'currentColor', + 'clip-path': "url(#".concat(clipId, ")"), + 'mask': "url(#".concat(maskId, ")") + }, ALL_SPACE) + }); + return { + children: children, + attributes: attributes + }; + }; + } + }; + + var MissingIconIndicator = { + provides: function provides(providers) { + var reduceMotion = false; + if (WINDOW.matchMedia) { + reduceMotion = WINDOW.matchMedia('(prefers-reduced-motion: reduce)').matches; + } + providers.missingIconAbstract = function () { + var gChildren = []; + var FILL = { + fill: 'currentColor' + }; + var ANIMATION_BASE = { + attributeType: 'XML', + repeatCount: 'indefinite', + dur: '2s' + }; + + // Ring + gChildren.push({ + tag: 'path', + attributes: _objectSpread2(_objectSpread2({}, FILL), {}, { + d: 'M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z' + }) + }); + var OPACITY_ANIMATE = _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, { + attributeName: 'opacity' + }); + var dot = { + tag: 'circle', + attributes: _objectSpread2(_objectSpread2({}, FILL), {}, { + cx: '256', + cy: '364', + r: '28' + }), + children: [] + }; + if (!reduceMotion) { + dot.children.push({ + tag: 'animate', + attributes: _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, { + attributeName: 'r', + values: '28;14;28;28;14;28;' + }) + }, { + tag: 'animate', + attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, { + values: '1;0;1;1;0;1;' + }) + }); + } + gChildren.push(dot); + gChildren.push({ + tag: 'path', + attributes: _objectSpread2(_objectSpread2({}, FILL), {}, { + opacity: '1', + d: 'M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z' + }), + children: reduceMotion ? [] : [{ + tag: 'animate', + attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, { + values: '1;0;0;0;0;1;' + }) + }] + }); + if (!reduceMotion) { + // Exclamation + gChildren.push({ + tag: 'path', + attributes: _objectSpread2(_objectSpread2({}, FILL), {}, { + opacity: '0', + d: 'M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z' + }), + children: [{ + tag: 'animate', + attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, { + values: '0;0;1;1;0;0;' + }) + }] + }); + } + return { + tag: 'g', + attributes: { + class: 'missing' + }, + children: gChildren + }; + }; + } + }; + + var SvgSymbols = { + hooks: function hooks() { + return { + parseNodeAttributes: function parseNodeAttributes(accumulator, node) { + var symbolData = node.getAttribute('data-fa-symbol'); + var symbol = symbolData === null ? false : symbolData === '' ? true : symbolData; + accumulator['symbol'] = symbol; + return accumulator; + } + }; + } + }; + + var plugins = [InjectCSS, ReplaceElements, Layers, LayersCounter, LayersText, PseudoElements, MutationObserver$1, PowerTransforms, Masks, MissingIconIndicator, SvgSymbols]; + + registerPlugins(plugins, { + mixoutsTo: api + }); + bunker(bootstrap); + +}()); diff --git a/assets/js/fortawesome-fontawesome-free/webfonts/fa-brands-400.woff2 b/assets/js/fortawesome-fontawesome-free/webfonts/fa-brands-400.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..8bd3453bdb7d47336f4bc9b3fb976247a270ca13 GIT binary patch literal 101180 zcmV(?K-a%_Pew9NR8&s@0gF5U2><{90*a&n0gCejfCB&k00000000000000000000 z00001HUcCB1_odQkO&2c9RQ422OtfJ?nk9jMR5by0=5MezNgznfFD|`R%-U6kXCSB z(lY}#fz<-R|NnnlQW@cDdYUu^VB1aAf27J`XquUrbIgLps8TkAu(seZHW|F|_`J*~ zQwE_xA<#9(;Rin%dSM}N5K17Fz;RmDARjrM*Y2ph;uTKbz=Xhrz=XhFYZN&B!WY&z zV~h1U@ zkRFVxe^uxIE^yd34EhLs5?$Xg2oz9@Q6SDW3p%`Qm~@3;CB9DJ!U72%64ly=!91m0d5mNB3*>|2WW0x>~^&U|Hc<4@*Z=TW*=L=IV>r+H$QlCSs96nE1WEXq z6K_^ENG-L*10R@|TwrV2+m%sP?@#-Wx~hX@@)t$#0|yZy+B=c~QH0hNgMnr95}pr` zn8#qYn3k0YZLj%=hr(?Q#@+Y;1G3d->B*Ud=b!)O{I9H)uleKuS^Hk)73%OPTB?`@ z2q9=hY$nOr-FG|_5hqB{1d~$Q0xeLWMrob;nYT`IUj80col{K*7~iM9z1n}NN?-cZ z{{mvN4&gdRkR^*R(ExRy?g74+MPQ2U*s%lr!V64qcU(30|EZ<^|LCl>2a}$EBDxF- z8(5Nsjm5i)yP%nbmhD)!V>{u?^!Oua;P2P>GmBq2qF1x?{v&Y{m$n%j%9id4;Ab?De&`tAm_>P~4&mZ#P&<_0&0O9-ofB)-i%Xq7!|2p1iQJ_qO z5_6zbs0V&;9;DnAmD~~YW&;C&|Nqb0{%fywzWlrYW@Gd-3L{CAwCEaUfQdarv<0m` zFcOegid8Sr7a8}hb%f{3R{j4cx!DqwQk1XKkUXX%J;Zb2KzCJUfV*#Sh=`1Ys;=&8 zI_DA$5R0RYAdQWL{+GW#|NpHSF$|{+?*m)F-er6TE|3n28aGuf&diat78h@zZdSL% zSLY#seuVt^Ikg3p6An*_S{Ht~v>k9dBn7N`eZRN~GbQII%>MsU^=o@y6+{-O9}1A# zzo?%|9YK2nJ8vmX2yxZ3owG;1R{^LhfIt;UivTH;02K&GG6_Hw2~aXY**Y}sZl?~i zev&=O{+$yEK>89%>01CL+aw)CP;y(O{f{VF|FkH%V^XJV{|PBBLtLiSX0~I=9h^G* zPhQS;-HYWcXBkr14OMiZ_F4^D05te`CQGzD!Vcw9Z#4p02$Ik17TK)Nm~qOOL$QKS zuu4MVZ;)+%;wwN2KB|h3>O& zW+S$7D3s6Aj~-IMH{g5#C1TMIKMuV0#K82cZ6p>E8Tcd{^hZQaW(s)fDf*w+j9%w` zBU%8deo&1w%fKE4bn`grLV2jKDn^j-K+KS1Juno<%d8ymSp<_Xbv?nm@n=ViQuqXI z0;q_5SaF$q@I*ermDw_z7jas;?GAVdAJ^SVC1v2^ypR@k4>~yD3LsEcHaPfY;9ZYfgN@%>64Q5DckIw1rFK!YU&hv;D|~#J zSuIQ9LnJsIZ5ZVvzHFrpv<|BYxt-%_7+nuh3>mR%c3a3T1i_-1l~YL(ns>?lHi_S! zTA2t1;8+mr-pHXuK$(C@qXdF73ruUeP{>sa!pCNzk^ltf>7LLDNhaAmWljp$=Ftu< zbp!#qw^bmlss$E1rcl_rDTvBt3Y8^9aJf4qbjAWF*`dS<5Z`+dU865JJJy#6?Rvd1 zrTN&+!MSm#j2N89#-zS)hPzQ=;GPq2&XjGbtY0~vSH|Cf-M!HZFRRgHG(RD>7ZB(_ z{@rZ0nggtUDz^>9|7cNLb}trxuKjX)VcNLSZbxP<)eMQA9M-Ckr0o&}47=ltI$~|k z=k;pQHCjo~;K=yDmoN>olo#y>|M0&qMfJ4Nr@XeLt!O8-*R?mdtJ^)7*M1AXiod!u zNDSJp6R#VtzrS8{W4>v*8NIpawU-Q19=wH!aHP!;tJP@J)d#O0zZ!h??Y^hZUbx17 zv}bty1$?Y^j36QI%#3V+~C{X^vGrEv;&; zFbP(#>#`L9@Ku(*eexO}sI~DJrpzn%PzzzTMl;t>;nI0biyXngTT~J!5x{1!vJO=*HVTdtagt zmxPAUA2PGwvN{Lz`kf0K(ctreJ{6u_Dd`Wy(d{R6v z?iF{7ibS2Fc2S-vj<`eAh$4|Dx{2vTCht+#ht*Ndm$j{42Pc_6u;lYlK2=#T*YV@|*#>&#%pwr5tKndo# zm@_J+nN%VU8hjqQYgA(+L(H$fTduq8(*N-J4}b5UuzLC8*|Yu`7k`KUao>hDBVN;# z`7x`7mjy}`VJCxBl8M8IhntJVMEL%+qvGVS@S-HPtUvY30f!&-X`12;NVd)D+W&DE z{SdBgI~aHs(6gaWfq^F72~B@0Lm?#}1q8-`1f$pXAUd1^h`#QM|BCRy>PnZ!Y_$=(L3?65Qt@PNp0HKoQZ|5Glt8 zP|s$lD}wt09|KtID)DB(3YSga7$3O;4u~_kB~G09{Fs3P2nhP7)J>k*@w$>d!)@FN zl-7U2H{fW3Aj%Ni-ELvL4>|}R{NS3xqxf-GAyc4ESUK8O_#Si(COk5-zX=QzuIdBv zfk~p8Mam)bqzs|*m^!Uhboc02Ga%e|&tpP2=jqmUUVY57`LxX9(>Z>LpT8&I$ps31 zEMmFH!!H`bb#+nfL~*9Y^IIr^Cz&Jdz4V`#(bff-H)d~dNY?3P$M#Xqz;cUPreK?* z+lt4oRNFaaca)D(<)(VK8t!T(m(+T76E*f~W^3QTLDk`{^Qx|O8&lqGV<&EWbPr8P zH1U~9TTPy@Zhc!!@!VAImEDQHn6_!t1ufl-q;{C;wONrJTo1nm>m|Fe*+I?WY%$Ni z`2l^kVAmGLw#}mS^(VD+iv!whNsOf>Teh|@`!1ucmJj%T*otFTCT$hH!&Wb~w#~ZR z)_<_!l#NGhT4{67wv6xcwr6zSjv02|wX4h^&70(?>=4GU(~wyw?{|!uc$|RgI`@My`AITWbfNI zgp}jM4IlSxSlz~b%ILyAlb!Kj&_?97`BJj4%KrTM|HZO`wW9=eebk)Zqs4-;=ID@5oM&7g27d+C#m7cJ*}S4Re`G ze~w!vL&@A-dco6^7cpaFFL|$H3SmAq-w6$}1YY25!Ho#&Scvu}bw}uNVY3%LtLq|P zEvmHbqQ@0v&-0r#@*j|K|4%%V)Djy+xyp) zzf7HA+J?>W>hxx{_gc^M^&aTWX2(fo;aiR<9R2M(*1zMk z(Mu;H{Mfkj^ZRiZeA~W@@lEuzX}@^3-zCc~SM}MIO|EvjR=?|}HoH-_o7(;~;B@Po zJGHwT^e^t4J}YyT<;zn+hed>e_LKXRaJG_f{k z<9yopf}*4FW9OU7fZz-6sne~K_!{e3^t2|)JGsXO&4Dm1L( zoYdh1nxU;-LBqfTg_qqDD&d*2w7gB&5U;ZJE4`0;V0U)K-|YDLg-0=`4&QI~K3lv7 zFn;joNEc_PtO5ROn{Z9ZuR`TPxOUn??Qy>f-+Zh_*ZAy+QB{-4 zOc?645OJ3{Eu!()8}vfnQ0c~N)nNHdR^m#NW~8b|48$@!qWgt2=UVr81_W8*Q4x+- zmj6A2N@*xEZ?+{I-OI=yMKDc=HsLXB%eK&(Jq;E$Ol;aVtV-IzBrULvil$;8JIuDI zlhpz8hPbn1Kic0E44RctPz;P1O~R;*@mPHjYj)upSQa;lnnaVup^f$ruhMODEJ0iT6Ce) zbmu7e7I;0^HSzs=cn!y(0hA(Kx@kC=e-sP0Lp(YS#I@kP=lQX48M;Fk2rPWgN5F=& z3q9T-|HYj+AXBB~E-=JwSZ2$qBv58qD|H!BLtdpRG+!-v3_j#tiYXe(iD+VoT?gNf zBPYPuZPh?`i#iWTPh~Rombqc~;YN>c&e0q60UDbOED41OrH7?XmJr6IWzEmWYz3uN zZMXw^Vco9awuW)pq2;f_mI%SK5!UX=+pD*zFjDbV!yBkI%ibkB$v;HhxZX#QwOm zn|N$HGypFP!4!dg(`f>Prphq2^!2oF(tn{*L_Y%v@nm{!RZP_)0w6?QqK?pVU&Go}IH9K?_ zHd`1h%}rUsRTW`*Dl1%s7)1>jRy&P^Uy-u3SVaX#uXRnhw6?WFO#X-dLqxZ2ua9>e znH>@5FDRom78J%Bg5V7+1aNm>wZP42CER<5fS>>WL7RB@@F;P0R5gVD(cqI5hMEA3 zrG@M*!ko-d>%gC|mM=8rVn+50F{tTlV@^QD-~Mu!iR8@wz>P#vXc_`2bgJ<6vT`~; zD8rI=x7!U9Y^#oqhf{MNQ%t<3*oZo4s778E1*+xTEKOAPq)aRNk3RXs7ZqT${nd)j z|JhmhPlE4zbKG8Xuc6-x5nd7C`rhdonk)`%LC*Y~Ui<+uu08tn&sK4TPdSO|LjVq1 zS96-IAJ{o4W`Bu4i1emdp{IBELkgK>I#U>FO#Vei{ual;M5DI?56v~70$cfYM%;*f zOOcTulsc4aCyx@cjO17A+fc7AZWlxa$W_<4k+Ol}yTu8V zR|PHCxwCP^T{l;{zf4h;myRw}v>m?uBKvA?gLBB%KO!1! z1ox-iMhA-%kM3+fBj)Q5U;ln8AEX%Q_G1(92eR=x9W`Nn&Tn$XU|KAX{~W#u#>hF~ z+f-47Dxhm+Sym9$d6keeuy^Gp^q8wK!CyJw-ViQpb)(>tx{3uhH>J=udxI>%FT#Ws zAvr2TDAg)t1e8PA!~n!EPw^&4N8A;AVhtDlc8z{-xaL#9Wvd&!hoKwdDWjr)978gT zFv|}xsEZf&^+fn+Rb9X&zOo8jw-qZu70I6agsdQ~iVUJ$COiRDTeuRY>dRQcm&a;J zv@tdP3JR_u;8-3b;2(o^yd6&*eQeaZl#^gNYBUT_H8x14NQG6aRnWF&>EyW8-B@7H z+YHJyj1xamG}tt^snUeeC*wB&*rn+y0{#Ie5Z1W%^BEC$H~Mk8=?yHW+i?d7r}rp^ zPm%;j$)fQJfWL|fgbX-UvT1{jpvvPs0fcSeO?R)aF~kV3{Q+6PpV%>!em9;X{9{Sh zKJdNBg5;CC22d?lxYz`d&Y@P^R&~V5Y8?7t57yOHO+$>7#=-*&bjkQ6fGR(UD>Cao zwTd(OnG&@E$S7eBR9cYenm7fN&S#u*Uj)JJ40|1-)(k*^9aN2nRR9Q6J!MqO%>tEo z7vrP|LXgP-G_yb?pp`dal1Ka_8Yexll)dSQ zADO@k!Z3j{2aduLi~wa-Oiam@tRn9K5R_KhI5Kr+xDNz&yL}A|AOJ#mjj?(t;6KWt z1o~1e3pBA}T$~6jo`*G1gQ>^@TO_Vki*Yp(0Sg|Lai>KISY7R4zu40%fc%zcc_6*I z03!geeCC3H?^NCwX4wazQYk_Ca>X17fJuPNR?O)PrGobrAb`xSaO;!NT9ka-XsucvQUXV~~byTZY z0|*gKY9@HkmH@)8!@)8l$lDbHvrBd^NHL1piVCU|L5ep3RfZtx2tQro*jk1{Go7Ql zLec1G9SSw8aE*W+Lz{r+iF~RbnVnN^#(qGWN}EM&_mqEb0WUqkP(L5!8E3i%3V6@~z*9G(8uzoZ0V*c)peFWEE zt@DkO(06lVS75yJ-mhMMyYciugp0bOu#|c<<&k<&5{eYU7+IO0BXol|yLM`a>d(6~;^B zO`XMA-JN8d6o%$F;%QH9xkKibllgK9eLGmb@z=L#uU}j|T4BBQEIz4#j}BF>h;hl9 zmZrrCqiGnM ze;gCChNQ}J3UWFxQfPH1KEW>1{59DDbe6V!lTqwUOWX+UA0O0l#0WS^3o{Zc)>F|z z^^!QZ{O>;yXet6-3IIbMv@|Jt&1H27NAAnf;0Z$*EThsXa3*d=_DXh$No3?mR`=3VF$5-_Rzgw#D$W#Dq5SunGrya#>=UST}ng1c7W1 zLAArT!^yVOvKd-Ccn8E$PMqB!vqF_Elbo$NP0^S%g2mWsG4M89#a}-o5M)QW)hc!A zMp*$C>)KecS5jO9;3{<;VdAV=7b)vDU}cI3ECd??He9PW$tMDJV0?OQ=!3J9(ehXZ zGK6(N?R33%gtkyKt=G}mm^PyhLaknxUC^#~D{WM@6`FCKrHx_gMJx=to=fULS+JI} zNG!2PT~KWihZW8a68Q)fq+vaV&ehC16$v*} zqhD@&KDS$*>l?fO@C#CzqnnNiGd;6n9nD+5+US^!O?$hXnCNtOgKmNv-=gNlsK_#p z-dE9@aQ3h3M^RI^`fl5I(V9{^8EY6$YW+D!pjrL-g>R!hf3bh?2>bmX{jhup0q5Bj zejBu2X=Dj4v*moOY$tdM=fNU&FowQ^AB2%BpjnMc2gyJ2A~H3_uk-9?{=MfJ&r)*y53kqqPZC7kVp_QOvJ6EoUG#py5$E(R0c4M z)`X{?{-@P!3my7tTaj+4)lA2*E@6j#6m@Iz6Zt~5>#KDWLk}XnnGIv~1j7F4wW&48;_@=T+EGtVx^#h&W-*h1lw^)61@%j=BuI=SWKpDi8_QrnS?}DnDF0(E1PZJ0HO~JypLTNP zEf2U3oKlMhvqJ<7@R!3A|~CqqNlUA(iAV7*l$p2xs;Z75Nds&R;xgr1a55(-e6l1g8+E~aX6+l(I+3$Hj~ z6-f)z=n1hUwM_6$nvyt$ZrYMs8Y5W)S(eywaV|5{_Y;2kn#vYfMCb$70a{ra^n23Z zMU#sCLw*Q4cjGEcRT2BS761Pua5wk|{r}waOwa8k17?2rW1~MIb@I5rEHC`;l|m6F z1c2SM2IOLjP!U&#CfrNQ^nZuP=(_-{eQGrEPalb4b1u^e@Mqtt7Bp^+X7qJ{3wW}m z6$j2eaqN;q%#>*XedQy+V?ncy1wJvzo!3Vkw)0dI6pv{;wgc0oLk9$zktp+ku*l5e z;w!O3hCu17KCSq~Xv<@X4Zv|kx?loHS4?|BoP=pV(yN$21_aY6(yzEoq)%{-A#oZe zgWM0{ahanV?0`KtjE-#!N(MU~=3IO3UMi4YiDS#$P`@&?gzD*AlMs8Qo85Ub zPjSs+AeH5NbxbBub~p#0Fdf4iLP1b8h!&!lL-1ZyC1Wc*p1Vk4pX>vSi)D6eLhdsI zp=fR_cvs|+^*4yI=>tVmg2{B&r25c?4d9Y`3ppTm6ul_cQ$zQkjg?rGtkjKEr`KS8~~Dp-x9{R`|qc1UP-u? z0FSN-8CA^|cv|`p{^orFW8npX=^1a4yG^H7$$S$ND+E%RqCX5W58 zmrUwXFv+Jeha)#dTfx&h-6a@Pxb+aJgBy`H?g?LY#1)Tm_JvpsEpr!g=yGc>dH=%{ z(s2*Ut9|_YLJbK^F(5@*lBd~^nnOuRCOZzxv@V;Y@5Y3g#H#@h#ohcyd?0(Brqy{^ zQpAo;OxSjb@j+1;aWR&y?5*U=gUFDcI5r@BP)wPFJUBx34Gc;m9z=f4&#~Cvz|59` zXQ#(v{@5PuhY~w8tf;Oi12L0s&&*LJE0@3xo2}>v{;x;-G?E|Wv4U@(}%_!bGmTDa<@D)w?L9Fw$hz#w&=9ax+{xy$ovXaTea)} z&$l`{&S`wd`)E}C3Hk1u_zn2}2fDo4(R`*+n`DXkIjlog=vlfs#PJ;p2dd3$Xin-= z3dLFxxysjBRaKB=NwWpXXLXJWuXltBBR~Ti4;yNfC z8mv1v)#XEUgyFdL!HLn8K{_-Z3X&GCFEYE_6b~`b&_I=?@uv_e(i_@8?a6M*C18%A zp}3teXv4dC==+(XB8&M3b+8=^iC!1E2cXu`hc3&F-Wz5x>FA(tzPXv^oL2pZ^%PoW zG|vijl#SiASZXeJ7DA78D^I5^GBe)P)KnR$xV;b!W$mg%G$Kzwjnwo5nNIoCPYNS# zw4+)LpL~M$Tc)g{VyOWZ-BwwnA9|z>`RPXt3_j%iGJbp-rJw-6lI(HeLa6&!G&9qZ z52YQi!r^>au zH~o-*CHg_iwh&7YZZVY!> zQx?Z@i2W<&!hetE%w=Ty$;>_6Ap*@)Afoz7AQe;6d)=*9hEX5hYmn1vGW;Nq~<8a@3l2M z6^4a)$5u9MAM_t{-*oh0ZC-*`&ZGyu&?CIxQ4j-?gLDR*x_L&du}eW{7=G8#^0Mj> zv5qs9B{4!UT50=X?n@pN`1o{V6C}bULs!JonEZLn6>=# z1c$wd;5DrU$w_D}f$?Y9q#=XmW;>oCT&OR22`m>Ei!(G9!>zj{piJTzt*Jtpb+kay z%{Y<(SAwGukeTRWW$#WV;`v&m3d|JRiOKq$=h_h|)maY!4U~0;45JbvcGX&V+)m$M zac*RE^5O&=C-x`t5YE2r;9i6IL*rh{;L-WR%I%IHlICqKUe41iDIoY(5`yuzi6m%lguL9t#a zObmmZIC8Mq%J3s#1I+NI>7kL7ERuVQE}U>Imt^is>0Fqwt&VLH8a5DQgF8Mzr`~Im zj_akxAzk3BD>3Mdd!7MHM}4zJgBxc&0g0PT5Gsv#=UI%%*KS=x z{#M5dzgQD|nTv$a?A>gGHBHlVU05hA_hm$yltihHYD^1wp{Z-wPU~C3MXO?g#8v@1 zJ-PY^m=e5vAa^}P)h-*;fOxKrH7vIYtp(Uj%LnX?@nxZ+>xl=OuidbBI9w2#AKl~_{0(y~JjKkREFg+C zO-E~O?9LzzM>$trzkk|fT>L%zwr~}9`=@sqcSwK7lM|sk%9mEtdmcIprumHMXO{Fj z(4SLD_{jXKSb$kxDhd|MDPk){q_7v;8g(TqKyA;M{355c$z0rOP-AgJ)?N0jgqFJw z>j2baMmaaf(sTb2REx1;A7fd!CI3b=u3#IKUOQaya9H#N+51nq zzJ_VL+SY)>M%SQ@idBSeSD^?9qj8vebZes<99X%^UU+B}g2b(u{A0;q8m#g?8vVt2 zJcG3`?l&vM;`H`EUTF00t?+gUjc)F$#zTtpQA=Kql&2JvNyRQZffhh37vsI0fZP^?ox1=SLz36Q zII_-IeElHqm;!|WQmf5Z>|3+t~+f2oW0R)V{r8A>0AI98bZKNx$piwS`YsE6YmW!uODH##4>0M-d2;h8k~A<9ZW`V9FjHRz_~Y0gBes*D4df( zcH^BzI^k#qq#wmvIw2)y_(^AI@JmF$@_tX^N_)K5j}e~E@?SsXk&5^6@)bbkw`C#_ z6VB0tJEm1NC|6D!7}O}Mz%^Uy63EP{O#|5Hdymc z^Vqu!ic~L-AOr_w-6Jwjv;1LfKITKlyIz_TrTUa`ot~UPsCm>^M-*lRIB-?BICI2X zUn^rI4zA8qp0O5m39QaC-ZWqEd)08rKvS7UCKDn|@y~^$<`LQlL7EcLb^ji`WKSKq z<)JC?KB%iwGnUi&xaPedbh*ryqoOuujRB^Q+ks9(Fz3T!I1@UNeirpr&I#8A)hsT^ zVGxpOaZikH(Z#0RoxH%FJF#F7tB7S|f|zOKkL&*FTk0iStTEWxc4TR1sYnRve0jNi z1PG8ITysAm^g7L+asFKCR3=E!;qiLCAQE!wy;Q`7&FZ_$%LyPP?WGl*TYM`-S-cyL zf@hJeblS8jKnQ5MIff^3rQ??uJ}&l@;S^e0qzgb8{3cHW6h+OLydG`7B?JlvTrjcg zgor_EJs_8SNIy7!-XGd9qeY()XGx7T^O;M55P;z3^ZVl??8LGI1dr_PHG;z;y4+<) zz$TCVfLbzw_}n*mpcs&4tWu&_8 zFVBAtupZMuT-qhgND+rL00h_M*=KAU>cYhYa1b_06B5kKVKFNWMoKZ_e2Ovi+SJLS zu_nYk7hYR)F5djl=uvN_0|`I?Lg?Cg>vWqBPt&s|_VQ{-@Tfbk^<&LXMwHGA@ZijMIBgyr;Z+Ms9rCRZ%#vg3ugPPZsHUy#G zYOuuI+C1z;>)bS9Tt4OvtGP0@^V4u9HGNuV8Xfm(1rl6JO^u5;{+Pc0oHGOrYyM+l z00Kmd8IoJqS74__EAIY`)@h0pP&IJ~+0T!FK1m8-E}Iku z?QAsaVX-%k7sL{JN_!8zTH?7TAPS0FR8Aq*%e5kJxYstuPeU_wnjVNr$MpaRVB5Bh z%?-)wxnkL#=b#yfH8y~@QY$2E1X19Uvv4cnF3Xk5rvsG2C`-_+cJoOE7lqmFo{nxN z(VYo6JJ<~XN#S?`O~|NmwcP|vO)r%pN~%_rn|NvtjM`4HM7KiOqwI(YF~wb@fkGDh zIhZC50~8}3q|~w)!w}zuUe-}CJy$Cda$Ux(b7Cn5sk74{)@`f`V@f9SdG>&?9EHs0 zz=^CZ2_Px9$t;;GuHvHN_=!{JiDguSI7)ri?bOLg6>^%Gg}`AsUs+Uv$;=!ESShW_ z`@|W{f_{pnxZTJ)@Y`X-X?9^&JxvYf6aT5%>$R?%8fc98jPT-LgQih`?>pZoD{`$OeNHEB&I9~Ryf-$=>_cj`MA;iW1hu>X;GO>_xm0 z*r;u^aCj5h0@2*h4Gb8a5d?|n069J@K1={KZIatDk>o zcMXq2)QnmzN3#+s)o!K-UL!LGuTZyI~&D zcC*KYm6?Hx%0MT|Cu@ zv&9x*GT44``o0B+q(xR9!^^v;Lo`Y=hc=L{-7x?ql0V&dT0#Ojf^Kk&qi)R>XY=JU z%jLyFDQ6pZSO&>=V(0fsNfy$;#QYD7-&r_|+h%jU@2c{hUQl;?+nCbR?d8pJPri+R zV;@gm{Q*LEcp1GcZG$nP5H-{@WYTQ_C+G=B@GA#NGe-V8(tnncf*`0ZqgNMnE^WfuD7bKK7hUjJ3f zJl21kr$VRStG40sIj-Zu7xKd(K=1IK?i<7i^TIGdO?6a>%JAF$im$-qv<*iGNKb1n z>FyTy74i-4yfnSXXKzdTQ(~YRpIwMI@XWY&cC6W$j1f3VT3cu>tVa}7q@i(#z*nD# zj?ac|w-Q}(nV!GhujZI>BFRFPqoT^kV}atsP3t^CQR)Be!L-Zt_PS9#fusGa=b&jl}2J1lrY?pemE=hsWa zyaC#07w>8PP4V8bH9-M#8n83M!!$>$(D%o5MMNo8Lg$ zx)!+e;ts|*hoX<|TnSRFIAeG(7g5uUJg{pLh+mgkNlWQ$K~NQArp4v@2-WLDUBJf( zF0?bQEyC_~nwg4O4aw8T%vTGULH+Ru?VQfO98OA4w|#r0Tg|t4hC^_}vgTR+*WWk3 zbSFg`#&rFYe_j;eUrc9)#i1S>Uc|FAwMsJs80@~%D@|4@-7!a_!N1sv0sNESF9|S> z^CcoZ#HMflpbXk4674$215Cjd^XoQ7ceX4}POmRR&fMwKi>;vjYA8EQLI%unN2E@# zJ85wAvRn|gRcXn?a?uSMUd1eupe}~j=&1mNshz}?;1uK+yq7F>6)A5Y#*mOJ0^;j%xBL__TGbDc0Va2?P;56 z>up>|0+n1$oJTN%^Q4LLKo+mc(UD@ufeK^-8<}LpJS?5U!*owIa{1!M&jLqprJ{l%r@C0Jg|H`|0&RBwZ~p{XN7yv9g!;z;H=0&x+HspUB7JajxHCrO z7F6cl?aPFu^2$~Gs`MC&=jm}`S)XGSqL*Yg%>K@|7EaB_m<)dIslos5lV!n_)}h$) z+;1DJ?s<7mbsZ0|=_MijEiQ)s?>5bf|MZhRC;4KUF!f)AF@MLYABe^JDvwc5PKvTn z%MXXD)1>e1WCQKTYpbOA?ra^2R^~Hiet0Z9I=tzZ&LVw0RVS$W;8gNAKF`byuUu!y ztNDOdr+=LlQkOUi6}?u~lzr_hXW_m32EYAV<%B6d8I}EE%-hdQQS93Ki;zj^%oE7IgS0{qEu?S@2ea2YJKcy(m1Xe`hfh! zlX|0Rr)D>>{LdUrW2WY=+^}CHHr1V=l`tI_H zAR%`u%D01bq&wOO508zdV3_fUe9vAVkFqDDUzZU!s1o`Q9D(!*k7N*hxkEIuWEsuT zX~>hdreSqVTp{*3-U7=%zk5@dhZ}}5*(Vr82LnBZ+Y7l;`dw+5mQ>KN>^^0IQ{zb_ zhsR|dbw8Y6eSV^+VooQq-u>}Dhs*yv*{K~`|`u`J`|Z%?_h{o>mCc^FplIg z5VhXD;V|vWdP5!E8LQ-2aF@h=y%4@fD7ACVEF{Xz74fYB#=+Ksk|Rb4G7b_mP5F1^>Awd6(*GAYsyCg4+3z z59PpBk13K;vELPyo-rZi|JA@w9jTR?v@#O%)J};Asg;BGH z4J$KqEa}2yJ7WgKR%T|%=$K4R3>p$IB!ggttOGSucJdzmsa&CnS}_d$gw28s+U-`O zhfl_i7V1uEX>>BO;tt|ohQ_WugAewNmaHg< zBFdIb$Z)c<3$D`g5qcIqU^SRi#PWeU{o)Jd`Sr<}hS_tFjk zJV3+0@-gbU!ccxE@>XOVUR>{dT&I_U_ zi~)Bn>TiEggEjvs?@P#rx#}VHt~f z#tV;Mr(wfucyui&C&~~ zG7Rb#{#&--umy|NgjwvTtjDb%Nawe zL6b4rj93~n!&_hDJF%C4CM{wpg-nCKWH_pTXh%HYbr%JVs3VAk4sA3V?4StOw$t#w zZIP^JVC=K%&?ESLC6h|Xf|-l&5NZ*l^3P^8{8C;C7&6>-us z2NH6F!{Pj7kouZQ?Twc4A<;woHdT8EjEQ( zZe(NEi~cjDIoou*%YE9v0p4bmwF-Xk)Ss_a6v|rC1^xa0l<23wMit1Ce$OzhT)A;5 zro-a)nLd3`pClPkPf}zal$Y{6xn4Q4R}||!`2;8@549BQgrjnbgxTs49F}J2n6}BO zqp0+$RVHW+dm~9aR<&H#k?eQFCy&XV1TQP9C9NN!g<6fRm$mHGg6)^5C`0?JCI=eWK)YOWr|!yJ2(2-m`bibFD~}@-$r`9@M0AB=3Gz;uN0T+>$ zm)x+D>lF;3bb}$~H?kL*I2$A4EGt|BKxKIjDXqX4r{QEStgCS96FzA=b&aeL$a3Z! z4~U4*HiVUy9Y~?GP`m%Q2CghyaN;}FjEuG*9+i?U{2XlVycmoECm2MCzNdN(3kDHRRgZ3RhNZul5$EX*8~XxU{K z&ycrq19JDHkYrf@^y~gr{xG^(@%9M*eztW#pEkPg(jKF)Jg04>dJ9Z=t2N|+YmHQB zt}J9>gDgh(cB}L1Un`jMkK7s}>P3VP5nuxf8RCR%Vl)O13_5G)ukKK-w9B)Fm|3cx zW3L`RySR*=w!3wH5!lp!YGknPej)D#e9t=m+Uq^O^``pYT(iIw!)w`Oa|MHg7XMdd zSLI#(;<~pbas2&*Z#HtDy_w`EaMh_l;2=10cX#ArJmchHO@&2rvmCxI_#D@B@Z(uD zgc@FhxP1}}2>BjrQ?5)rh z<`Xuh3p$$3F40bFn+_zVcEZ0AcUy}KWD@i1)WF}_Oz0{gT}-5=soPo-?=$>0-Umw4 zI|RJLm7MpCKDE&?VrGXNo{%at;&5nHm|5v=lsc+%m|%ca>?yKPli790CAzA5yuXQL z??>oy5TUoG+pUff>LM6m6*E&AKxymDO3Q-VFlag`Z+5E=nN3ubT~MCZhZP*Rb#HS7 zc3qh4F6mgBa;&CF>;f(f*Y*(Tm8_s!&sqq}u!Fu1^a--2s4>5vjs@McQ?@{TIlL5b zW1Z8HCD^~1KJ?)47SCxeF@gA~gQcv_kal~skR2$Y63bm>myX)9>K?_^R4 zM4&$85aU~H0fe2`?WS@saU}OK)>qQeG=VZ!*Bf?e?%AdSAiH&?0MT<=sHM;vYMB=R zMAlNhFfbq$Qorf}kR-rJ5`gJZfezH9X8>H=*Z^jSx}hcedjYkhSz5v)0*Gq}JI?}C z+!RArv+o(+aUG|9g5K1iwr)&^hh-x1T1E8Wc$2|;onx*!?&$KKh1dwjS73C>%@P?f zgW4)=r2gtkEHWKidk@nJE)q+Sbb2J2Mth`G-ZpJ0ffP1aZrXz6D{U&brd0%*sdQyx z4~n3X4v{zwkh%zgsms9>S6Tgk5Vqh{05RztmRdjdNIRRx!kTzVptDpJ4877N0mw9v zk=xutWx1b|ge&T*O?OqVMvzz&gEmiGR1OH#d;)|>I2Mb65oil+Mi;=i%R90V5l3YyG|n%HH`NM$t(YMICYYm8+bJ-Fq4T>1T0{P_g=YmHVD zpeqH{@$yop+Y&K3Q|QWVRIdihA&VB5zt?K8Ts4U8jTtljU2$6sVy0y=x}F8$YNnv5 zRS1Hx!G-!Cv{e<2PcA)e_IDY?*Opu!jdv@JW}oY;;$x=Tzw>Y6Z_sU~hW7{Gdq-93(;!G-g} zBhGjL1y!F%@;9m^O9{p(;>_T$9>= zu2dSP<{B7Jm!_3D>NZgt&YOfBx?Y-0CuRm@i>T9sq6IyBKCFhWvH;n4Vb1Te%4G{> zZlL9=u;+S-C}rsvYnUxsp-T1J1-QK?eAfxL&xu1D&3-|WmE(asK;l!eKZ~cnf6V%{4H*M(O>lusr_j)3W#|Dano&y4*(fVQkAa zU>`=m;VgIm0GP7$CakrExJV&&R=kv?gx+A#=UC!?f1zPybfq-BxwdeSI6T}Ru8c5) zQhUU9NDbvupn)hHip+2<+r+Mbgsqn@@NG7;>U4VF?M!9+5rYFRsPF9V6`}0u&1OwBi2bkW?`1RO%{uV zK^>Tljkb?|aafEAKvpq||6=3&9g-2pNE54*MR}kNE#Uv8jL?mJW_KcyzrwB-8X<}M zWtk29euV6^N?Rr>{bD~J=2(1Iie8k&8IK-Cvgh$!tsdqjG+RIzg1BKAw4wY^q^j$4mwDaN;v9=$jhWb1Cz z$EC~Ci1T`-iCr1o;NCVWmy2;B<)tIi?bW(TACD{{ee$u`MK6c~xaB0w5^SH5O1Bu8 zW9$Wz-OiEOqO}undt92$xEVF!cDrXvaP64NB|WfwJON=V$)M53#2F;j zCo1h?VmSt`LugNLDJ{sIQgg4yiE;d_RNS%`*nZFsbX6ObhEtM3`p*LLykg=OHlEIi z*GcMWhNG8}{CuQD^(2nMr1Qe!UN=ZNdIYKFiP6I51gWs1M5VOA?Fs3%2g%3=u1R}; zZj}y-tsR`%mRc0YVaSr_d!9|~mv{U|o-WwCp3h51r4=`lb{)9ON$|d-UAbAT<#G9v z6nb{uNSND+&)woCwKV&L#X{P4!)+4yKWX2e>!4}WwHi}B>sh{O6Za3-!U_Kb`;EX9z5o1CB9_O03@<~^-^gXX zcC9>tZA2!KOIo3$;;s54QFug%*buDDVY6vAXi{&SK}T85`v_sNc4-2WnQ`EnPHrO~FXT{URC z z2Mf+Iz*QR~A(o?Y9r(uyWif}H4t3@=2lO~)Aqpfw&=~Cw`;#D>*MtQ|b!qFpH->{Ht z2JO#$ls>GHR5Qx74cNv+;`x;9Q98hK}X#4$!YNbCiiB!p1zk|qIQjWNjQ za=JG;O!|4p4>IJ)Aqfk1O4>jJL{gXxs|RIYbV!p8RVtI}Q%LsO7=%kGF)IjN%{s9m z6-lzM;hChPX@B4PJGFF=91Sl9o5wij(eY3Up(`)wv2fvXG33yF~t8Flstv{f zJ@s5Jvg{y#YV$bK*S^e_RhZ-+OqB@t_FiMkuR%k5r!}Zz+><-V(T1l|VvU0SQMXTy zyK|k+&UVf5Fl_w5c5Tn&Wrv(|F7p#N=(ru7``JOL*-v(K7H-%_+(C}W*Bd)B15o28 z8h{*ZpYMq~68?sEjor{VPZU|+#+yo&wNwk}gP41#Z;@vR-s5A?sowexnE_k9GWzHu+yhBb`OqR#O{F zVKntmfP>lsV}-me-xlWKx1^v7p`6$lbTJv%U2V4{S#R z$s=eJ8+u^A>Q!wDyzGCtbdR!80J|dG!$B0!+ynE0;l6xFtpKwAe|Vrwg>0@lB&ZY{ zTP&s;M4f;c314CsYI=ats(?Fx#QiVIZD_>`P<=KU-wP!+gaK*HmF5~PvWmdvoKeX$ z(28%72&50uUM?T{8L|Kr%90t7mI*a`@t6o9kc2`?1h!9>@U4)f5cm>8HemyoKvE`n zjJZV~Jji@e{x}qf^K&FkhVxlSfZ=}z)e!B;{QRfMU7(6+o&X=hDC8Xc#K&+TcrWY_ zY^mvY$Ws7s19h%e#53S!2CkaVAR{vc0bg8Pa(#i|7tC#L}2s+c=>V=e+Qa?~)$knYn4tb~@)zEC) ztl+k`%{s?pd108@3lY%ZsvneNWOhQXZqAb`tD*U}U18}lvD`Yg4j%7JQ|Wa6g|dAW z1apE{D29hmGDy@GZA8|@CT{w(EvB*B)fEETad4Ol*kgGDF!8ls4F-~vwPg>@R|5wi z3PbF%eeBG5wxoFV*^Adi7n^K6LCaj$QvL9cckG@(WO1pf>?hR|%OD__c;C_%-QJ zBH5MD=}Bl0yi&kfoUnI}>#m*20Pml2BX?&voKXq zGG=Fhz3xVaLMu_@i-1seAuSm3wl<5ptGwczCBXLt=>VpMQqA%rIbaw=b}^x0tYK82 zVW!*)uo*%nT-==z(6Y`F5rK>d-zlOFBaxCE$M0sz3P_cM)lymJ13YXV&*;&PE%5|C zS--f&0kbnp@6e$QYa&2rJBNMY{;7Nq;L?=W<;Gy9)nCXC*If0*3F^-0^ql6BtgN649N*G)Mv_i@*umLK?T%#lcc?AWRcjWkM;QGEf#`0+`B zPl-kn_9#O1z2#l|s|6fkvqYd94b>=ILzQ zc%E=YV>TK>v07#I1~}zYO=Y#lNTjbaw5YsbnrXRZ4$HGc2A$P)JcSuepOWyZgLEkP z9`R>-A^6$)+?SBIu=AhF%feXuc%Hx}&Pu=I!rHZ9!&`92ZJeF+6nO5c^{(<|e80wf zz#SKkPKEOXohO%Y*QX~u1$xQ)9yyP9QwBgTiYWlz`C}7upyi#Zh{GvM1V`t%oonii@)453Q& z0&1q^4Fp&4>=XWJ!Ant|yW|d9pOY;hA31RfPOLTxRM)94Ky@l(Ks9Yjhsj3&p1c5l zlvU(b3oI2J4M&vtS&aZS2So=!*zHkF4_vM+$q4RP~ zmUKY>QF;G@bS)ikdKL)MOu%WEmxtd_}7L?Xo zjV}2v+nnbGK}T^7l3;*H>NthBupY1;%Fix3i!;QFB1n6sZSDVe(b;@wqj^n(@ zFDc{nvDQ#Oh5g)~soMd$i>-i#s35gck~`Q2cnw8{%X>E2Ec?x_C|BX`*}$f4 ztvsZkBzQ|sAiR%yGNuG?f1l0QanBcT>;I|vFC{M>Csf}6+{xdr*H3~Cf4w%9n4=5Ku?JhV1#3J%PXhRt z8>0}+Z3TlGhpgv*;Cz(61f9WlE9j&4Fn|AFQNQQ#L2pzYv{s3BW2knc96DL7nTpr5 z_TtHl;;2$}g?JZKp@(jW4}>KX(jsjlJ7B!FkQDuyCDkXk)yefqiT;x?okL$$kdlcy~0;kD#TcPbq`AFZbcJ*M)5vK!Ukv_ldUp= zgbWCyEE?((WyGR(eTWts>=tqF{eT>pZ*+$RVQ4pChnFuF;%Og4Wn^*WBAdATdASKz zJl_4r0Yc2hKIS)US0Z9h!PuR<%H>7733go^HP_t5Xt_QG2barJ8{b|#M+B`jsS_=v zMeYLCLKX|F$Wo~z5u7qg&Q%sSMx0%pM16-R`33BgCdbIQVqE9kTs1ZaASZbNPdW)U zRvnKFtjsOS0}JPkbJ*uyoMZE7JjTjOv~Ui<&+{DWJCA*-1G%spdljdJE6#{KjVtCf zVbP20RR@jr^Y3v3*fzeGuE6a#>g@;{;rGmSVjJIcR*LA$_1(xrG;Lhr2$*oM6jbUY zfzME2sLC9ibunNlINNg-Ie z91t`oz7F;^f<^kXgU2gD1;%?nLHpJ*=TE)Q00nmIq>vw^MN}IabxXSpRJQ?SWLhM+ zs+(O~Egcby)J(86<18IJDlHTALSR1l>oX>q4p(<|_*}l}6LR11;jxEcJch4F{3K|~ zX1KW2(fJ(yp-c(%*~4rLMocXEhD(!jg-A^bwHzWj&Ra7|l7 z$8zyF98K2`Laxl2yu8AKXWRf^BMs@VNV?##;B!6C!9;z!az-GC;RKTbAF5Dn_qt5G znwte3m~_02%3MJ7d_A4K1Cu$nYoT%#VW4?Tm|^Rt2}xQnPKmQH?`|dzoNrE+9TZo! zde`MC-dRh8RSY{i`7pivHTnE7=6pTY5Rbj_x$6wetkql+TWD-e1W&NjU!~i)YxDeF z+VOA_!0NU!WrBIC??ygLg~D<)tdK#i(_?(fWBQRK-x1VUoz6QVoOym8!Oxt(Tr z^9Xo6{=G%WJLvwedL0tOFOqm^j3Ub+gPuU$3cb4*Ye(!)hy8wjlWL-Zw8+qPu zZ&<89tdA$!v~=GGcKA0SUun3oVznJVACk<&ar4n{5Wq1?l1tb6{h zjMmq>@lvP^IKS3DJSWM5^yxeqHR})B8N%-4%xUZKuihHd`xGaw-JKXu`=ilflYOFf z-OiEDEps06%{V?N7H)WWxS>P#?9?HxW2Z`~ONW!UUJ1MB_&0uiGg~VY)=p@9Sqnofwl3t{*4|0EmsRO_o!5cO*QI~-Ow%st`p&g+jSDT-Qdcy~ zY22B1&7~MqzuMCoKiZ{UNKbAbwi`ht4qu}>J?wr{gjW%W~lS``wU}IM~m$G zvm2!>~qI!u2NvpDh|O?%_NCM z`nzO~yUNiRq8y_o;735`iB|%O%D}FckiNYa%!tGplAo9cPiUK-?d-2F;T+2LpRZ{t5%bLb@MuMNcSE>l^R2?KQKAk6=q zy<}SpR0NryVNw2?+rxWI+V4J;XL4VIXdig*&czBxoAoa>Z*T+Lp8mDVHa%q0H+tr6 zUi|TteZEv|;rLitL`dB59wb_cU&W@}~qZ-I?7Xo+Fv1BcNP}ec=r2r(YxI2^Bd43fLj zdNND?<;D4Lkd-CM#k+&5S)LPb0S&5*bD%D0MCC~Q9(ZU|oq|f~*R46IR%8ir3#hTs z=>kBy_aF0#Oqi^g@Az5?SF7e9S%@l=w^6p+3n^hoZfa`MwUzH7WzKRcV9ikVMpb$~0?4@DBuGq|H5#mbh z`yL(v^lquXm$DXxQQ#1FhzfZp4}P!D(72>O`_DSOrH#I&F{jnbo{uNP(=Y8DQpsO> z_Oy#+Q+ust6cv1l-x4M#kI&BV`0?w$5r0mc<&CE#J{`&B|Ku87HqVL-i1f(u8d0UD z=%S~5Xr=4RPI;wjihk3QQ`70xu&nM;PeVM- zSeWN!yV5Pv)PP8OUI?tFBg!ui} z;eWm{8a3&l{zeqr$)L@1W5H*~iqf?Fjjgv2GO@6gH%Q6+)y%oJr61jA(th@HAC99E zjaBPg{nNkgg}LKLN{Grz^n(?<=dBNanNorb8pL}f`yAhvT_rD3Q%qG{#6koyigC5ITbgKgW#o^}PZF z+K?#!rU2a)nY|)iGf$pA#diq%ugv;vnM^5Jb?o2S)26~g;%2&{v%$#p6h$ADy0%C+ zWo@s-(pCfmwquU|-qE0CquX2G4ti);^75R+zmxj*sKErj;j5-sX4CX+c+bSJ(bzDX zaHnoGn_INZ{w`uT4XihWS#T4ucDtJ&Lx`0wa^8_1x*JVp!25{il3>*_$>6E4a9hMm zEFdTMD#mduiaRQrTY{TQ#vzF+;c#3Z$T7)5$-q`Jxm~PgB$^rS6LCzAA#~-etymAR z<+5z&kCA(|Y~Jb7Ek>zJsN{0J4~4hbuEE42XoW|!z-<&dZg%@)k;Xndk$ z)$tK(`ok{UP}K;tQB%}v?-*U8n}OGh^u+iLitkFCBq>bHGAgWqeBCTe`L3qx%DC@4 zJQBuB`#Uqv#4XnqG2~b)w8Fvvj{LiYtBe{&6}E;Y>I5MEe?R1K!>P0zuFI`UfTCBt zaNm2vN1tU4cy%=K@_NN?OAbNIJ5dKtBCmCQSf~h?C6VZ;QQ=(}Z8g?SdQB7 z>@9tawo1*@u=Hw8>kidwy=e6e_;X~E_B@a8fT;6I&w)Qi{)Yq_H)IS_Muuz}cEp8k z=*DR9YtqYfb?6VLz7Y%m{H$9dJxPVCUU|G~3*NhuMtYxQy04A5-^GicSK!d0&B?#? z_I7RZCmi3e*@mhOzJPRFJmpTt5EjOCQBbZ7y}_G9vr)#ZQH^opgls>meuE8>cL&V^ zZbiGz0kE{$w#hug-Gz@+x_(vq0OTYc7PW1PUcpb;JKY;(YHqg#-|^$U@6A85|CYUu zzF+HdfUh-&Ysj>sf|<@R>DmMYEA8&Ug;i=MT>+@15vz}OkZoBmXf9ucWCd|`(*qmS znoRDf(BEmgWC?M85n{@)Z^{^eOweiB+NIPU+Ar&+^*UoaF;vXgLD)RB5QSP?3)wDxQ0>TGMapf&ro%kk zdf7wVk!bU#-E!!nWi?C&Hkj|9vZARHMH-8EaSLU53wQLwsFm+1hD$jG9tS-+kD|Mi zEmC4Ks@wvK1N(~;;vg&j$mcFsl5EHggLa{&5|s!EE&`(Cg*%SNq|+)R;Q?cx_2XL% zQaE7M$(cmBMwExM6}R_D-WNW^NQq203Co1iG%GDFJ&!Hf4SWH#;|+7ZK&BdnG2voF zqpjJ^@$Sd2(lCbOtc$p;C@M!;o|E<{Bc~~!&Gh$D}lbVXv6U^+`3QvI} zBGgl^$5A8YhKAD<1-8>tHqd4gPLpnw=ual=Zv#)2t8k(G90@o=Jv8AnJbHc2ejg{| zkU9fkmAf=*zm$mBrFM7ErBD-wRYKN-QUV%hxi4E-_ykc%JWiRX7{DT+5)ui%#UR3S zkQ0&MKkhytL!x?iEgO2I{XqBMexEhJeGQ(QBaf!FY=MGG*j>uKnzS|7L zqvB7A%R1}PLrSSi`t6kuh4uT28tP#8d2gi2iw7;Tg3QQO#6j0)OovlGRLB*ZF(E#u zn>4fEj(1|vu)xMQy<9?BX;6CB#jzC9=8P@wAj<1?7;mhY6=REzuo=}Swm)GMYCvvlaxJGs9_Wn3 zot7_@@%7K82P}D}4ly_TBT~n2rnLdF%dQ}FD5VS}<1U{aAXN>QN>#}cQ0uZLJbXdi z)ebNXr@TVH_WIIVu!Lvl(+-yHeQki+x4d-;BG`BA3@h^0cxm`yg2@M8=-DK^yC+4$ zIbls^=q-r)kncTDer+#@8;`Sj8|gh($6HZz4^@~dbzX6GNhR{8xYM;o+8ZQg3S~}w zuHFPnq{e*cGXf?Z%Rv^ozHW3r-1QB4&7t$d{rm{Fy%z@k0XJ>Db5}kqZUuf``@i0% zm6qA@=(B|E!ohxXk@ixE+dy&m7(^Nm3#z&=qOuKZp$zZl#8(3za(LGNv`t4 z@teMF;Y)JmkPK>3?j^9m1A9;@;;+i1?$qZk1UKtT2AQ0h+~kVSQM(?^_GYs?!$M{i zEdz0*#b|g!IAH?FCap3Uaw&otr`4~}0wz6*1-VPe1Zy?7p(X-R)Ml7QH(e(ymb!T0 z71W6b>n6y37@3&Hn*cDOHft9k5Kr^s?wq^=QJoHGx^`2nWco%|MJH2L?I}<$UF*t~3bHLgj;=1SD_ITx>Y;J~!r6o4(-jFk3`^I=gPQqMY zOfepGE5>yei@Uq3%4Ah};%}D^ZVcIoKG^=F|BoGZ2>64vX^!t3zRA*@c_ zDOU-c*?~J1;L6|qjrHNw9AvV2o|)pgJ01YwPyy|Mu%arhqVKLaOOK*68y9d>B4?hs3d9(P0RmdsoTz z=nsS=8;jG7YMf7gZuBv%@DfPf%rxO^fCqS>lUP9T6Fvtc^!C^Ti8r#bP)0Hi)ftS6 zI8zhltVYB4_cO#iF%}T^ad}0U|3=6!$xFB=?RRA*sLs2dIl^5y1387H7^aUNeQ4^v zO69p;cSVfS+Hi+Zlxwk*PACB^5)7-=L4*#IqjUQ7zP zrFm$$TT96%SwvP`ZQ_sN3lYt>3DWg+B&iom30mb2pitDbhv_I!H)w%97sG+@xfAg3 zg**a7OiO$P6qbwa3I%_3RzC+9*aQYmngCj~@NYm~lJ*6))B`WY2x3jyh=;;>w3*xm zho*~D;`jaTQ>lLD{gYo~Gxs2nGPPEM36=}<4nDhxQ-<%9PlTx#PWQ;oG+&TCV91)6 zQDVk=TBeF$Rap2-|BbK_H%@(Bd=i@wu*RiCL$7t7C1V8YS<^Du6%m0z^*09!=1{q` zR>f--AC(2`g;%9SW+CT>v#BAY4`HCV$!}x1 zNN5K~Mcy(j4W7RTFv0a#uRbH5z^mWnA+Yzw_Q8fx4~W;v7erNfnlG3FLY6Iv%^w(hDms4c&;|dBg_)O7H40KC%-6@? zww=S-@OAu<_%8be$uT`G7Muh1VlgL2{PPZEn3Xh6t|-43X3nTz&Uz&dy(*AqG{2>^ zKjM!PFU3DApFqNsn2cs1kNpA+ZA**40elF;%DWmcGE44uM172%(zcm485&BbJakJ3 zMj)9iST=YMZh03Rfc^3VVg;A^*$Fzr>LiWO&HDg)9z5RKmIyKGp+cy2d7HtP>m)2- z3vO;@NIzzEM#zN8o9t9ZYcHcQfB^;eP`^;IB6&%;w7=Xm0=*^ycOv|WyIFQDfE>zH z>^IJ6)CB~`287Y3lX5$+hS$V@;}B~c!L+qNHo^Y}YtAZ62+#o>P60$t63{`p)wmvC z+CXTW2EbWsEzK_xeAiPhYodZavsbIZdy?UjM{DD5?llYrVwMrMgeXkLC|~DD-5v#wjt1g3U4D_qZqFei6z@+rWJ)e3*O> z6mlrLNacE2nkJ3AdN>5yZG8il)?SQOgCpLgxD@-UqggOqP&7*&llvA1uXi$*Ri#!G zGqdT3KR?l|Y#)Ob^?hd18=KMBH$Lj#!IqxsGl3)QrN}qtsGzQV&OalJ@a0lCqp#NM zumuK-^=-09oOh9+9;zPHG27ViLbWgk&t4I~A%~-IEY_~T!YL#md(u&5V(2(**avPw z?%+7|t;6jpe7^!a-8w|g(zkF&vzxKN*P(tE{)NoEg4;3Btz?%`F%fbRXU4%2{EyjM zlqxDJEtfuA%~n&ZBjK^)PdyiYDTZgNt{ZAJxM`aEU0-{6JR)drkeVoEtyC30L?74>NYLk2gE+)S zZU2PD%kMor9>I59-%O#d#Jye}i>-k@%p*{JHLRhz+U<<$fDu2QHo{#47o0|wtAz&6 zXO3Te`GAj&)YVrtK@vGCAUI(xG=ME{9@_tyTe(&;iZ&49I9O}qf@ z{j+qL$Dp-!Q5nJ_i}%i{(h3HfDvIX0d$lzjCOEcb!EXN}%AUQloZNcyME%gxCjemtKk$qpDs|)J=MpeBDzo} zWrDUOoz4CQUjY}Amj?@`Nfpa=mCJS*@zf!S;%;4UaCZl|=UTRar(50NwN9v=bUn|w zdk2K@xEi^P--OH)n-UUIlWN3wNX3X^hwnIR?1Si?+ zUs(#az>mI7CX14K`R+?qlt`(oma8)sf|gp@W<0i5s(+IEU@p&7kdv$dON|-lz}`=u zg&yU)*a#*P&%5RgzX43&3{Qjy2vgYuVXV6jvZ)%@K+rVnB>-sziY2$e(|;(ikOPo} zSpczDP>@>y`eMRaM+A&y1ilYghN%Z(+A0gPFV6tH4d^t10OY@msm&5WJJb?#l6>SX z@P>Xetm5IFz=AB8-QaJq1i?5LR>bbV(|-a*xi034g@A1-#hQ4Sr~!a6H0pk+8|5z~XW|CzdeHX#<&jY6%lZjph6?M#U!g z5_IGf;J=6+tG`L&oSd_loA@ytFk3Cu^VuKRgUJ8XTNZ73{4nRwxw=}l zQ6YjSE%eDvmX3V;-YGG_tp3E>@dcyz9lo<{@Dq)SH=%daQLdM&zUt<1d`QD77<@pnPm*VhVcuEDSJFUT# z&5onJa*XPV=lGOFk4er8d_r}K%EqHw(?{Y!bVufZ3!ll)U`Ltuz9-?~bke#Hm(ZU3 z$)b)Hs!#q|kJ4L9T&l$*bi7efHR%Lr2$>z!GGJh#`0o5Wt5W_(&`N$r*f>3XI7HzZ zTpvM~v#kv|K{%*cTj-HqatZu$xOS&}`zadOr#u3xrSh1p5?5sf)>?KeB9$M^MH`%r zUv*1Di3CT-_y%%hEff4;>7#Wi&$05~$}7Tx;i30rD;>Y><8(Sok7HtBddz#!=G&A~ zmSe`CrW(gkxoU}Jo2^`WU;O3tXE$x7o)$^ZQ4UknWPzO+tHu!~V~Fgv;jlrp&RKM7 zym*wc?fP&~jCn0n?iM6p^lkJ^Qb%}%+15p?%a@F?Nte_XyK#z^+7U56?5(sgA8ltB0C~Qhm3`)Iw$5fxAz}Hgn9fWbMEf zszjy(hrjIREv6Xv)oc4ivczaLUJ!D_7$C`W3^Y?U=dsC1W)n}Kp!OpOsK1+QEYO=b zBn?M|Q#6s}aa&Q$d0c4ZpX9F#gMNLoI zN`5~Gt(C^LjT!%z2`5@Rg2A{vl!r?X(3 zPc-;+hqS><$bl!E28AC-cHt9PX8ZLd+2NA8a5HT*U}T^|hs`!H2E#Q0A})cruo^rr zM~I@!wG@N4M-X-#2W%}iWFwefu)tN#+z2#w8~+$VelT2nJAfD>rldO@IBmLpHMvY( zbq`57OQF6|tek_2q7UrO6a2MRUb8r02R&XoC25UmAbK+uM8AQFVu692U%V!MAK6KD z1@kvK08**6%32TPpib;@bxVWoj_xy+5>MQ@`Oj6P1Ghz!SOTih0z1U{2qsTB3S&aN z+~gha;$m*^gY~=2U$LiOTQeRboLz>@jt;NivT49wVdQ!dyOmn-6&p!Ax?!ovQ}y^{ z3XE!B4T&r46u}vf={Jk@|04d5*sK#DkvKE{YYC2;hu6BjOS5avEiP^y?{p4Ol~f!R z#wcrrSMj@3B_C!M_h(p-&pG1wSLW>k-Y(u{ zDsDn`RD~$^w!AI>!U}Yh%>T%EYgJz%UH}es&CyUFTRrghar~v;8I3cf>0*70b>U`7 zGq-Y}d>quJ5i)wku8|D9HQ9;;xK$^Bw_N@lUS-JYr#Rzyam4YU%mmdu9>!boV9(#- zY)2iWb^}I``;@pFP(#}KvKVumOQkvt`4iH$1-pIoYT>|{m8f1YJh@ojNmvV(kqwyB zG;1PeUDYU9RGe**%@Z#skD+bI1T@#p>J?f_T`~v66D=nylwCjd{u(`Rii@?pxN1gry)!Y2Naw~gK<{69#L3UmIa}pifjNU#D;JX zOBP6fy;90pl`H@ylnvn`_-Ct_pSuL_jh0hYrbG`y9py{nf3qo%O4XJ~l^@T4TQM!E zXM*CXsHWJLMvXKZ2u`oHkR1S^zum?fLTCPS3S@PBDvVr*6BxoEU;+rEUO-=q-E!$;eD)O)iBlwQWgb} ztIb)|bX^RyawUOz0E@&%RP}_-Gd=`paZlj9T%61K*d0|Gz#dJbU^*f>_b4Nd?LXlR zKs{z1VW<+yr;ZcONi$Ea7$jBffR4lvxKalQMTS6F(UdI}Ulx>_k7|!No}Hqglh+9$ zAWz#@oqTUO_Rt-XmASp@@luCW1ahjP1g2;ph&mlKxF=yL=f)v)IV@KiHLfNPfI@%K zcknis)P?7WH(JUfP7d!X^3dmY^Jd8XC;SX%UVrMUJh{bTXUvPOxS;r61$Q-h(Dt-= z-!~p&AzS#j2{ZukHBQP#nL~<-MwZt%)VAvd)YO^}MV&AF(92oNzUP@Nx0Qr|W3mzs zZVJ_fSVAFC1zA+})HZQTGM&Q_>nDZ}Hs@bejH>Xmy~ppYwp~!RUc<%exVk2OK>mU5 zA5z&BnV(o!hJ?@>JYav$28e+jyd;1b2ie|F@rGlj4ylq(J_>vjs4LanAmH^RNdd?k zh8rPSN&xq<9%X<+nWO`Xq|XawEXtF9EzUo@>DV439cR$OCA^9%F7Y!oC#-+jWY8NS zctLjuI`h#4Ik!Dixb=Zyt`xNCyJCUtNz(op6iQm@=wn%e!DVl@i>Kc)jZEq{t1R`; z0;ZsI9<{eoWfg1Po+=gKaLuZY7JHyF57J()f)T@E@l^*#L_AS$GBc}omWa{XPO@j= zo-+|%NAf$tCWLv21XetBDN2QyaWQ1nL!V|X+;Q_T%VcNjGJ}e0)hQBAgpJ}uY6%?Q zL%{ELHhc~lq3XjjMkBWqCTPk^kTQzYL};mj1n3=bUs7}j^qn2TPrGa0Ce6p?V}NI$ z^|gQZ+$Gjtjtlo+rx7Q2qQ6#4#AyuAzz%UnQ*+ye~B|7s<8AjFBv zauli+#Wzhq-jK`D!UOEtg?-vq}0W;;GLqaZXZDXX6Iqe#dj``!9zN+x*QaZ^DZlh3s_ zD?TJd>)Z(5%KNUUSC;VphyDY=FY7Dhw!QkN3*`0HW;#Vl5D6cbd@xA8iG&#*34{yp6&>+*( z*Y)j#;*j_*%^?W^1D3-IK-3Ud{14da23k{ z9Ft#=vJsUz3(~2Pgl- z*=`c)@m=BOroP>jS%Erc3$)df5z$AZnJVlofaM%k2G(ydb=AefO`(Ypl;nX7FzVrc?^v8q>FYlpm@_uadbq zJ8}XNTh36>PrFN^Hbvm}W=j}@I+M4A^Jg}nlGhn}y}1q3>FBnGn#_iODCj2hSp&`6 zp6%0R>b60ohO&kXz=379B*y9Qxg+dz!rfF3w#X6+g?V80)rJlauH_Je)hmTBfPI&f z6X9~4X}%B3T~|PVd@Y}yj{byl z^yY2oj&!(X>5Icx>O>5o=WY{QX;4YKHOQodCe834D7lu2H1@9kBiBIBPG2K;(0(o& znZU~aubk_SCR2&mL8 z3q6MEsPa1BRG`(e2;JmdwSDrC~965ISj9ARR_Kp(G&Ek z1wny*EU~=*IX=ZIO}tC*@vNNGf6Dg(?YsXTB$Pj+mOfH(t2gObDmd_0wP7?bBmy$? z;U6U3n{;c$W>{CPD!dgKRzqc!|D|D0086_{Zm)5%BOu$9-h9OnwYji`+j({60z4AT56%KmCf>5KXUano1-W z)Yb{LxdmV9?q_)LB3_#ZzdiTy4|snW>=~kLqqrGD%>~MS**&k_bUl4 zY*l)4N-d_=U4q!&lAl<@rqbhW_B}{jeFP@HHNT+0Vj2 zL}23y=#EY}F-*h6GvLwpnCRGN@y|}exN4T$rNm|Mg>Tf^^(HNzi~5dS^L=z6iK{UB zfypNP?b2K%hCz!KuKh*sJq3ngSte1?fe{JN(fPoz6sK3s-_Wc)$X{rK5kvdyvIlgm zh&dTP7D$&d#mS0~K_pC1{1X~cm&s>*@O1hyTI%&CF-%poP}^nDgV59_QHOPT*kiyd zaGx-nYylzWJ?5aJn`>~Nj*Zj$kf$f@Rd$QWlR?qRs2*fg_rnw`+TrTn>Wk_@GsUEM z1P>z~Pf3%`=U7)f@n(1}KKNSWMH%ozF=e|~F_XD-&xXTl6}Oy|gIN`l!hO*Wa@I;i%@IC{m_HV0*i`s60{VmF|rzjrh9D~0^Il-BpS_VzXJ5HLa4H`}eODxJ^_aEcP%|-1<%lUpe#|C(I zc_X3$9rQ!Jj-%R=q&7ApA4-Ey+L}-+Z&;NMm)a!XxjIEcY7B4i&IvdEKdioZXP=Cr z^`h*9m^6|lV z9dU9n#ajo2Xx@6ztY3hvQ$%8*>jY;(gO~35g^lW(@gMC+~ zJ>kA40~~VWv+3dVO0|_Pf4`8rsL!X7cUh5dr`CqqhMi?ymbc3&>!Pl`pAIaIHG$3r zf9~Lo5~$6I=X1+yQN8)RCZ3kVoVE4`@cYs%Ab3TA%2wrz^BKDm?i$;|xvYMd7s40M z3T>sN_&1)__wf1Rt=pcE4nGqQ?G$OzO0DO2!%MEC}|3H{YlU`O*AfPm+F9=iLF z>qo?=WVY!`LNygjL7g{sQsNRjU*+vH_!%kfQW(qe>v#b--Z*Iw1Y!IMLl9nT%Q3ij zKXs(MPV{A72Aej1Y%SrR*3#)$8=?Em=(TAjd{HQI{V+z^YV8Z$0t#K<@!@rvw(nr- z1Mf)x52P+_7^MegI^#2@Y2~% z@L+Q_z-VIcma&;stSi=Z%=fP+0or4JkG;UJT)44i2Z)V=QR=WcsP{HSMOp2cP8Yl4 zv|BWhnP_eqx6T9?zZ^mSAn~scPKA2Vg6e~Pxd-H+*6#1$Bie=6qWcCJKc(Ik=-dIC zE=trz-k^ctl2ZV$fRuY{j}0I(`a(xB} zgr?BTT!7$}*TLKBqqoIJ3ji*OKvhI~Z7?}o0OTOT+hP|f0XlRnuugUZb0i&fJ18Wq zn*}o{asXOW{d^c#C4=pA;HcDTPpIfc+#@7{+o}_QeuHmXQ$=6DQ#w=XZ8;=-NSTT|KDTOsRv6Gt$~(D|38z?w`=sR@v~&!+Pj&p0=sbNStM+#zADp%51X} zw0bS1{#4EeLb$|-<$PhWEFbbSw3%LB^{n!JxjsUVeDV8{Qm>xDuK6op`U&%kPuqoi zpPond4I{M{e5;(NCn;BYtB*=$hiM$yr)P`2K*N2kBKHcjyJr@L+2#D5!fa~B$S3Io zfvXh3V%Ayl?Xipor?`$nL(`};55(&0=pr9pXOn=>zFnh3w_UqJf{ah7y#$#u>{Ykr#$ug){De;c%Xky;)np;e zw2?L7G_K7NHoR&I=yAF}Xs9W(zS`ZjE~ufkR?tjEI&G~%b#=0)&1&a8GK$h{)Ouk- zrxg`J7Rs}H4-=7|xM@2J4*cyn!gU+X0#I#f70OC^Sf%i1W^8I_JlLQ++to0QT1SI= zWno4K0#8Cw<9co8@VHlKUB7Qu0F}rVo6`g>gks?+2TAf3$`KEr$p^sYXU{$$F5?+x z&oMpnjbT%mU}ue@lur&T*3~D=ls=wjfF1|=C3~PpTeh|X$?SCF;v*M|FCu4 z=iP&Y_Zpwlw`|k_xikV-dYA`fk?HGnPh<1bM`t-&`t){f0S2{Eklrw8a^ezzn9O_U z;PP6Bqof60gsBqYnX*28tG{w_QWzW#JZb0xJMu#R>GhLaaO#aW52F#fQ7Kn~8%mQ>r18dq+~?M$CswZBlWs&R~iA<8g_$wr)8B zoo`%3j=3XB&8rh%gR5=UDEP)$vjOw&txAWH$MWo8U2!#06z7mWOPHv_@_kJEB8P{lDC)qm5^-ZX4L}|_uj4pS#};SOqm| zSh4Zz@UG*CQAJT$ccM3w2G{aq=LJEPWXM3}5lQ^S@6Y5nB5~uDjmLk~$A1hKT43_) z$4H-S%f5RqPlQwVy23Zt6fQ|?8Mf@Cj!jHy^Tru#pmjI73liE@K=fe-qC*$0jGcdj z%Jh!H(_FHIlST6%ZTgGJAAO`xi6 zHV;AUl~yaF^yT4T*)W*o*Efjw}n@VjcYsLSKrC1~`P5hk7@nZb!kwX{I)g`r7xqUmUg=J;o)FxzSW8ocr z{4s=ETq(emjpN)LDw+A++BDdnFP|*J&9FA})f4UKSnO+)=~OZ7N7u~E@gMxc1ik)b zGM!@3mwB@rXe~|*lJxlqZmW}yHvk-7eaC!>?J0@XL8lPKi01aPk;_(625$Yt{Y%2H z;oduL0N;5h-Bf;?%qR3R((HZ(r>5GzVC2p?dsUTxadb}{zc7B~5>eBpbQLrVo$f-Y ziW(A{HbE?&Yo6|5IoO2nTT@{9n$dN4U^CzKJaDt;_&9kxpby>(OdqPQqy?pazGy?^ zs;v=;Wih$NV3z9SAo>S#AHp9T+$Z>h*LZ?6>b3rf@Flx+;;iD8;Z@4j?L5nZrN<`Y zx?I~Y-O^Pp{D6%pXaz0q+lO*l{rL}DuuRYQJp^HzW+~!WD%|qIgoU__q6REKi<)@= zy{$vRdGuNXrK+bvE&zvebcwI&qM_1J!v}_AI{QjF7P7}h?c5byCQvGW!#SWi& z0!0G$x!3~DwX8`rV;R3UR~~)YY4>!@@(e*y41hOn|rRh`%T9D0D?FG1t$fSVIR{3R??Py&7$RVb?& zr6!pwYPGqxM&*|>QVcOu;S)uPD9MRfU$r;5O~Q`eIyL;K0o=7WfcHKmcuc_Ev&3_| zPD7uukXn@qQi@V4GzD8u=(QRXpQIm1pN|fwsVOSZO7` zQp)@pvEG_jWGL?BR0X*P+9{=ll1;T-0IQ%ywn=SC8Q2-OO?U59wl1YTA#4bzd=?65 zHx-Kl)6}TNLIPnx9?}CVGbcN0Ln&O& za;oxdqr}__UOOZyiV2ZW_PiAUb_bClKaSx6A&-Iq(dfb?SfaW3wP8}MoE>-^X8wS| z(f|@ue$DbvL;mAr))jas;`A$E$HDi_k8s=lghhsY`y9;fc8?)YWvXNMsd1(}$&vK2 zNX1gl4O9MehHMdVr&&#{VV`}le|u#ND4s@LS~%vAeIHN@=@$VrN`fRCZ8KJ|r>V&i zTqq(PyEyDRCBNq^-2bYmr1)^x%bf$^RyxP>5S%zZe#pQ=J75mdR8AvPgKGvuKng(M zWu_%pfSsTiu+tlh`eyl;reOcd8mFsaqcYhBB`}7x*kC0AUYj&XR7xpRJTskkG4lW} zDCIIx{Pq>3i8QRiR zQK8d`q%(XSq_+-}KKbjH!NjERZ(38HZTEa%6SjZT7t`1|!$bWK?bDn1)2&~F22T=8 zq$~Sr>`D$e1~(UXt6+Cg;L>Fmr76+|M<1NsYhlB-<2!?!%-?I@kz?@G4_96GbEtG* z_K6?4yt#2F%5>D`7u4k;{&$f_Mqsk?=FR(@@vk&aL>!zv(DB07`K`m&vk4Xu&(Le` zr{pOjFF9M#N<)&9PJ6>R9T0=`*Et3SidylJb*O!E+@j@(XgRh%y?uI&`Jj-vE^QED zi`II*O`Hd1xubx;Sk(g{`7SW#HQfot~;$)Qd+k=x5vmMc19iy^Pb9+A~ z?N2u4HxkrayXr8&WKA-6mJs>f@GV>4?sPegv{Fwrv|IP_y(a$IB693edNm(Cp{?y- zYr{nN7UtC5(mSqVtBzv>r*Oo4CR|#2I_|5?$$Ap;0&P>N->&zb zqPwfMYBa3fTbe^^bCgM-;YNAWe2CcDp4Y$-r_<2#E~`Bij{%T0;rINIkQtT`EK&zf z7Au6d%UyY}k>7{^A#q#Dg-b(YtM|x%^Qlj}BFmuLza2ka2X17NpjI2ODv*K`OU7TX=P z6>{woezK$zp|}|>EfNfF*JmnGin8xwC*vLzw{4i|(6m2T@*R@2BMeH>=Tf;)o;;qFrShykxj|eiI*q zV~^sM4R(ph%8IM>BcJ?1%0F5B?&+(n4n?kS;N}j4ZY9aT^#nt4na3kv&|Pzy=5xZ@ zRO(8|Prsc{G~HiRxl*vG7JUA=KNZ&UN&8H+>H9^LoBYV%meBYIff}U7ffQ39g7OAA zzy32UL8gEhgwp=LjH7s?F5kWPs;qu3Jhmy!!Wjlv6cKjQ@-0j{g=|rwL65Y1 zBw*S$17s4;YtVqaR>q}|jwW()+k`_)W*A4+IcC z!!>MV2M`>PPXX#F>?VB+O)eo@{srzyKlMkXx=K=;ky4E6kkkxIUKe~}=|dX(qy}lq zkUqp~le`>QBDDNWI^EW+k2I%sL&g9(=DwF-Ij9Raf+lf@R97;-zHQ1|yk)L(AnU(M&^4OBiXtTYKODgvr(6T_66gZfivJGq^<+q}{Sqq1G2h zK7);w4kNRbcZqfyReJ)nccSc<* z%Jg(1*JC;cnT2WECS4f1qoXc$?(Pf5n02!`EW+r#x!Uz0dtgC={f)9cMM%j{Y>Ts?k>Ccx%Zg+4zt442YtKbxVc}Pt;1>`nVQiH zTXPoSdtt=vu+vHUEbW?2oH2~{pcA*ykla^iJ_ZU7iUS*i%)?0y9#ecC&vAA59foG; zz#vIjB5CR6Rl1+OAhaUvkSxHD*pHl0ccN!3-ZqYdbn1`nhX%ePn%bZ)#=a8vRw!F~ zkQvv|cZG8a)|2&aKX_6;Qy%Be+N6yOBiMaqqvJJFnSN>#mDxD!oc~y+qwiAfbA9J< zQRP#P;$jBW4JQ6cKZsGENf6_;M($pmp;ho;TF`@Q(c?)KTCbz&an-qRKo@Rd{F0S@ z3MYlqxqFEvGAR~Ps4~FFlOp>75+?{YAd_}sKPcf^4=p*4=26nb@LA~eR8Gc#J)Vt( z55*Sn7eIiK&*GQ{qr{f_DHSod+MvWK7)+?D{F|%{c5#*DgD)pK((l&&slFKd@$KxAjvKCD-fnS<` zPYygh`H#m$u)S0769Weym_j;Ci_gWY*BzvRbmD(ybSP&HMuic>5WJqDyZVP44M+Yq zqebp#EX>&nUEv#mTlf&P)7YU4y>T4R9ftDo{$6|e_>feFqtHH`j63c)$HzPyENiWu zPo5;?Y^XrHSdqONp;Z6B8yKE&Y3dR?hjF%nSLVuscABOQV2LDP7wS1eS3&hci z_~k*Kmp7#B$D4-gXhD1{R4>Y!`q+H*8JCizP-%&VU}3$h7Q#I$VpS*2G-5?3!)r1A#v$!+ znRd8%Ism8J)J+3#YN8Cc*s?4&(h2u|BS(>Cot%etSr3^o35>#zPax$e*5-aKT1H$K81=a-UZ zz1yC@F|{3TlG>-+C9>lWE>UnKwc8jRV{rA^i;qvC=6~?M)@8Q#w=#W9xtN?@aOJ4m zWkF6smszGtI5N~Y70Yelvm@#}o_C&%MD{9fPoiCXLmOOTw8Nlem~YZ|QHSWaH- zbk!V_$R#TJMH;5~`{M~`;K;4kDY=Z^Ka(A>aWQ#D2BA#@*7rQ;j&txRIYrI5>G&?%!i}&;)Djsj10EcQ&iKhpdt?e8f5p{_eVE(hfQBi- zW6k?K12^JVE|ZFS?Q^PM6<&OE*YA>bST;2jE4h{X)N;n&Z_@>JU#@3lGXCd91Dluq zC**BXA5K)H@shi%>S3s9m>du-Wcoyh7tf&!LKmO7x}Z@%8Rx#zY54?hThS>Kd&y5Z z2gh0;^e-Uji=2>X#m+MZrDkFzEh+W{Ji&^m&Bxjq52p_P zORArjYEHny+x5kU-Fx<&=Pq@hq-Ug}Dpq5I0%jSB!TTQ#FS5L%au|U!FO4!Bt9`uR zxevpxmrV@?i6_&6$HuaD-X-p`b}rffIkDe!kH@u#b;GY4V!pH0lbM+YN0m{wN~rV| zof5H?{tI#h;wSw(H7<7z{YR#R5JQHr4(}|&8GDOrC+-9o63p{0T43Y)$&pGoa?&_B z;TfniQ!Pcs`igf5jK|fMSl7s^8=Jw{NfSkx&<_%x1=}TGO_9vlAHl zZQJPDz3z>5dg_^&j{<${441IM8sX6U zO}-F=0*^>7q|iz!4DGVEm5|F~3zBuo3ugVQ_j||`V?ZA+jCRor{)<;<@rKoKINdjV z5F3p~-h-LjC!8r+S{^woC(fb;F6@DMpL~9YAq8SI|+{KzfpLiCo}L~u1%VQ4OT zHb%bKEs|-;Yh+V?c>SL689vj0r2>N%YO-@SRBlK)$3^NGsz`(i<5zNjY&52WzjW8oh}bYXP79au%R(4^%uEEMf) z;|`pPTZ?R+27pqyL=;GRTG%s}>0NK=-`}4ex8or4lyjX)5^0|B@ ze0YAkJksXxe)69x|1`^gQP(Wa`pA!bPzH^z3r*x+fk^p*4p z211+ZX_A*Yqb4NX?j}Gm)Nu>NxG7Jn8e9XBg&I@U3k!{H59Or6XhX(v%Dh9(S7{SH zDem$WJ4MIbRTynDY8h?rCendAxachxQ6cRPjZSrL88#QW&rK^^T?zeGx5lcw?Arwm zrIiYTd6&M}@!nW)PSud2Cv_-j(}P=}+@x_|FGfJMveS^w9$MRcL*L$S`-R+Y%hp+S zZ~9x~0&n8uNN2ZsnHXk$;&e!DqfOwB5CP^f=GdoxKm^tj^C6luWED3jNEnA;;-qys zvzg*sVan^my9G9h<(~_sQ4c-(SqB%IP5A2cO!|R=}%fizjAf zY~!v1BQ&5O`y*517K!d@Xo+Al?_3)H;Fm3Wj`)+b*h*`={(l6z_|6X$mS`myjn z&TrmyuG**68!4o1X|!qA+eVjS&5rtwUsytQA*7Wx*N;0)Z5dSi3JVKtPJfOuprX|9 z)Su3d^^RFxsh0H;`cfKAHo#L$mQ13gF^P;i9|-W#b{n5&w7^jBgI~)DmNqMy&?f^t za*s#dq7Q4QI^+oa^zqRXWiKOjP{2DY?|gQHs@v5MxRrX_%vAEg=qS|@QAT=-w?_@E z+a-4uRadHJ3fJ$IgHsTsMUu|()Iqs#07_j=^#rfy;&vaXVlw7{Vl$iLO&{*ggH;XE zFvZIQ*c}JI5f@{Mt53<)D#Y?sEEN`CgMPcXv|&SdXxLcj-^Aiw(zK>HwV1kutGgxg z`@S2o`v_i6ha1&XSmEvtyy*mUZOaC5O=}w5;lyhl&|Bq{O}H-&PhAx$O8R+~2V=1Q zG8&=Ok3Hs=!}3A}trK|&q+Fc1bMlCgv9Fn@hUx}befcl9nV+W>szs*c zM5uAfA!wuWw`_I03{I+9zYgDrCN{bT>PcyxA)IayYU|PM0^3iI?StKTpxc$pwVlc? zMx-)da8M5;5u#o&0fb_)AR3qr9FUwV3m98me@AC_{*C^qAcbH;P&r8=p@^g|TWE4p zB!q~xE4@CI@MU&OH8xu= zfhYH0Kp(&mZ50w&wv8CX{J>ZbFAi-#Ve8W8x4(~cP@9?v!gaGET38i*qUP;x^+l=` zEHacV4Q5W?oY{7o7A*Tzc|Hlz=WUKbDGq2Ly&GRpocx`jk7>sp&^_6DWD)5@3Gn3G zM$z}XxWle5eEzndnF}~=HWRq(S~ftdXpTr7rKt?=sh_?je^!pBi$Iw6b5cN>Z~;sR zgf1C~2wl$s*p?^Y8y3qpU|ddkZ8C@p+L}+6SIcQj`a`iYxyRkpYr^+)_urE{LC3Ab z28HpW!wzu&<(*I3u!FuCIv&{~rXjzpJ*f^k{rezl432~22NK{N?drke zy~r1>gnS-zCZXJ;(Wep}N|uyTv_FCVOvx`t^J}>FCakx7-6ZauMRUDrk}z{*BwdW# zI5r}^E#gX$?qUhv!i7n^K9Q2?N_pEP5k`4ASQ8cy*OM+MN9Ipi5(HoQ?sAm>FljO3 z`ZP)+T-W0FMYkr8)JKB*4E)$T3Dvzp?is6pNTy!K7vEM?1uo4Sq-;Xn+H*dutm+75Q?!&0VqX@#Z?r zw;BhBCuqs3XR)v`j=oxMHY0dK8soitfl zsjE~0m(d1z-1s^=QA;gt4={G5`OyB3nD1u?n-3(e=SC|8cihfT3x0hFdU1+hMvZVe zp9FKQtaX;mblz{5E11@wyxr>sKrgY6rQtE7Z``?dOi@j%%tFFJ%mOQR<~AK*HF1de z?qK-zqQ^J;M`K5DMB_C$oJIx4Fm@ZKKJ|KfpESYvrEFxOXFjD99+9(|f~7O7Du|+J zTE;3u2t>2l#=zWd1iNJ{5ejm8pqR|;Ru-oA6EDta4YzR`03&QO;51A}F{diz9cjw7 znsCK$oT+z-Q&O6kW<4G$Rd6OmqmrXLlimRSP+aK3%4{Phr?btJG zI*a@vGDp5MIm=OH-Y`3dvf5oXBY?85Jb+{71)}!SkbrAC)j$g$xatr9NkVIcE97sz3vDo>iB`fN6%=+tPzLp7dXK{^bCv@<(6}QbVDmSu35gQ-Ci~ zt}m5M(388lP-E9c$lP;HBwC`mQ-lNBXun@DW2F&tl0~ND9#Y%|dz2S|k2Qc_|I=cpLB=HqBU>{5oKh2qkAiq!q{|8yAGLeq6Pnh#NHtRFJewe1qYdCy zL2a`}*hx-;bxCK#AzG@di6JaSR^b-#?bRLBo2}sEfUGq$-Yh)_nNE8p_PU_4KcG%h zcto(ppON*f`TAO+u{9_2B;vwZ_XClBf5j=MESuI(;5(6IeZ4*vzVoG9@Ghfo7Ca1k zm_$ENEt0=Me9+WNn#<{IXXVIRv-D&>vl%_1@8|qpWLD}RgPmo^&+{c+Fjt3nuQ#;q zw9PA%W;BL9j|0E+B8zaS4~|AApA3e%83hh@G(1GJQSgJxGZQ^6(wtKz&9aon&2f&D z<#9M3nbz|-jZjVUxQx-&$rVf{d#-Tp9w=bmot*A z`@)U_BrR}W09sn4emz4TxEVQ1eMATNAeI6onfflkY4KOL-E#tW2*Yf|Z28!&i!Qaq zY%`6o%P!C*V)Na`n*v#CndbB^-vqKmOuukYw>Y%aNk<^!ChgT`}v?5z6RTu z=JL_{u1T@o{2AfXg51GjYRoQQ{f*fR;#%L`KI!76m++wWyzwYKzo~1y=)D*3ne2G1 zi(h_;`8omj;x$`eu9o@!E#Im-7XRIMvWNfXr;c3kzh1<;-G;}FK^<0T*(>~BY>N;s z2EcZre%=Zc8}R${iR`8~Bjl^&u-8vAy9=dI1Qy>%VTW)H_E`&U&vWu1RCUe z8ti3K5=4d2_+SLm-ojh`=>Gtp#>>!|$lZVqo#;FR%a{lsFr89Nj>`26?V)j zL1^z)eWWSseP1&)x4Q1+L2k#D?S_QWhQ8Sby0}e^CJs6!8W%?!LEXkJ(fX6Eot=G8 z#R+w>1?05M6{EApjBz>I1WcP3A^XL9<2zcJs40$RLhCiIg--e=8{Ce4Qa=AP!a3Gi zv7BO=5!=(^ByC+fKmQiSr^zSKw0X(2e)Xl1LtSkJZCa*^36stVgO@7ljw(KQQDsrN zH}}bk*!$t&mraLx=C&tu=b3iQ%0{hWHSlh&`Rmt%$T;>3@7?HU_q9*gl2N?gQH%KJ zB^)eIw=ZgZW3l3Cdu3|{F5JB#BdJ>cUv;I|IsmhCjaD{wM&DIpjyT))47wc3vKM1 zQfdB;eQMP4sPk;(z+Y}uHSRfy#wX-RaO@PTS*~3leR6(+u&}htjc|To(*(PAdWOb5 z6F7JE%dae!EUa>{%{>Ru(Ke~ieSGo-;=2&D9cfvuKlsHlu3thpRC7`VaIV~#M3c?G zu^V#jJNR>fTFm;672sVla+>`Ki5OPDmYrFVO>yH7ZKcCj%b(9#r;o-JCF}03+l})d8zh zn;TmJhNCku=@%z=Y}RNS=h>13XbsSBmcEJT*O!eKi4&5za{E)71k?;k+tE*iWFb1olG z6L53k=OQHK+oA43IGuLTEu~9^hsM6TQvReE8|$0v2^ac**=65>g{n(hB>SojR2PqP z;-=C=3KpeZ0nNT@h(u&?9Ed&apbtETmAnS&Awe}+PSjbPRTETSm!-lZQ?Gq1`lnRS z#HX952$w$jy?VZ-oMTYWfwkl>F+bUF&b4%B)@y_;F8aiYkm}eMvA*FD}=?f z5n|PfptA|6+EWYZQ)Oef2J?azO}`xGG&$

#=>qMNT^$KE+l|WLY(JYE!Ab*+2CR z+B`y;{*6H#EtLi{h!kIhOz^3ep`$Q+8V}AG>+KvZ&)_`UAAXCR;?B$7fwA@Ao*aXj z;&la%?ZZ=RXI2Wwjcw^wJ)GxX`)`(C7x!zAcR2ELn0Y*CL5w9+&>nlNf=IUr=$=Zb z?3od!cNRAD>h?~T4ySHX4d?LI{R@H58Z+=P-1&{JBzYd&HJ*UI@?wQ@&P+_1Q2h86 z=7FNdmn`V$<9w^l-38f#%TYbTYdo-GqJ}5FZW}(+_UQsSAwJ!nREg!JzTxa*J)e-9 zsh3PZoiXpl=&FC*yyt4H*y5m zphxQGW9R|C4M1y4!s&q23qu)hlq*BJ@`7CM1vvLgh5>KCSc^6ybH!x0-akKtcVMu* z<6^(3dc&K;J17$#X*1iJdmG+fdC!*)l)x6rn9B{ck1LRIZ)(1r5t=$ZGDYERHD4gl z4R4=(?2iaJr;Tkk*1F(ql-+Jrm56f3V8@3h)eC!l#Vc4WG?JZF1f!%HcF#~x6h#So zP4N!M*^u~~%iOZ)%8&-LX4^HiFU!^3gQKie=T&wji%6d~u1iw7J0n>&^h?|)WVZ`d zMU}&!6PCJ;<=_(t|Bl@0k^L(qa1H$)aqf~}ePeOr;Gj3XWUt{Jk_oTWn{~5VhNDh~ zJW?MookvTz;P}_z*dgg|_>V}*VVJq4V69}&o~nozj>Ea9qG#AUB-NGq>+Kb@+do{M}zDtj;@{dqvm zadCpt_XPsYpQr^sp&q&d1{mHghe%Tl0ZGRJi280Io`$?3s0zlQ27c-z0%ufp0>2_( z&?e435vn*hiW;J=rr4piB5iwF^(RO|-ro4miym%H1>$Iox%7RACl1IRL?;AgtmE*AlMPaNXd-wHxBvkWh$^iL$l}~E$ypM&>>zo1;v@W^Rv4fofvEC_WR0aVb3m61kmrvU zk0S+PyxVHxiVxAL;9$!x=YuT?6-%4~(73h^*{CYYN*AC84Kv{O!iMNFSwUaumq*F| zEBn{Xqz5qH+iEFveYBD{spWXZcZ{CyeYZW^z*}uc)l~<@>&*Tinlwgi) zcOOJ%B%ea7zZJAX99bs6I<-_FwbV7US{<6cu}Qy*yhhdx8=oD_(7^3G01P=wtuL%F1{`Q9+CXI^t$yL3D3>+ zxCmdgcOSj883;XDc*nF9`Lohxmu2L!#HSZzhk^yBFM}u;qb_0e(Fq67$3544y_gH78pmcFc9`lfp*~y?8D(stj z^Da=luD!u|VKmDFbaJV#Y7|Z$oUe&XZyVjQ|Bvjgi{X^kpCV6w;zvz!>b9-$*9`_d zIe|U=b52hj^fI*j`J%-7_DqU?xv&)#YU(=R;`*O<4W@imNPqaZ##FV^yBhw&?$dOD z*1JE~#}bIG|03^B7lS>E(f@+sGH?jNs=5Fj7(2`0G_Uq(3m^t(Ai(nOTBa-$yx$4 z12KP@GMnmq&hH8x7frbhmI-gXpPeGlk!#cMHFkq-mz*7WEX9^5FmuOvC|m~GAL2SV zM0$%6g!`CTM-;t)55Z~1N9=>9!k|fNNeP3{`9I28Ci)x&CEiOYgpZbU>V_GwK<*6| zXQ)DasX4k>Gxo&*&XMe}&4oV3=1%j^e5$J*Dq8wf-KJ+E;Bs^-z;5cA0hin44YHV& zD;qYiUJD~!e%6F?MO}x}WvaFYoSy2N@E9piiQ}f!m{Q|+vPuYtkNh+#?IpmIa@)~r zR=W*8w_4Q4E~*ZyJc_IMu=^^J;lUZuV>5s|NSEgU4Y9h?5x54<@_u(&!)0IGbHBkr z-<vp+97&c>A!wmV?e7#U~C!7ul z^D^Q=m?-xG3v6X`57E&LH=x@mkM(O7%$)y@xTVTZcxt%=v9VGfE=~H`5sAcO^Yvl8 z3)RL$YtP5Mk1Djt7m58Jd2Cyk)5Qfk-C@^U!S3)2PM?qT_ItRV=V!zfIMxcj7IP+m zSQTjj-BA2hauzO^78Sd`m_{U-RmfQ%zGMvDPJO#@P|UnFEvOs%Si^M!{{i`1lx>Dc z(D#ojVr9acEbJj9%*Ryg&)LdADf4@w$||I;1L2=aA^tjMCi&i7I$K#F*<;Twm=i7UFIjAs=l&eDaZu-=u9uCrf*Y)+)qXM5Xl+sazD`D= zQ#G#nR9~z@OM9tEeBwE6@k;+~*=bp~KD!V-sHXNo$@6P3pES#CxsjtdU6R|T*2d&A z?tfG+gKDa_0{7W|?_;8iUa7f@tO8U~F%<NS+{=KY~Z$iJS@;v zn|uSMovcnK)(vMkOf@TR-~+ORKt(yrYMi8V*6T%_M^MTtWB?@dH4)r$pG+xYgD7Hc zb*r|0-_J^D(Jwmc*1o&vsG3tde#;wuj1P?H8`(2yxO}9(VvfmQO==F=;kshIA3tD~ zYf}w&S&LU@3FHgba-~QV04tS%F$hX5aH8m}fZam1uZ6@31Vp;VD2}~LV;SRbNgMym zg{&m!tq*($MRono;tZ|>!-M@62Ah89TKyu*j<2T95=(y$5t=@*H?k%UP4vYg&mvHcK&4=yUtk zc0`}@p^#y-YdU0f5}(@*+bL~pbd=?l=fx>y^;t}hh1XOfOXet_y;}(Sen9jffvu^^ zo+wpS#!%6<-mu7h&Iu?eOI_epD$p{-MU1Y-%Ae8KLy#%m6}XVi=RzUM45}H~f}F?c z%lsCp=@iZ(F6!VKIE!)&$ih9Ybx7k^lc$0R;;jg?s!&0jsd>nImqg-xaP~zE88snN zo%Y0wz=AGmAWaI0sVd?Wpn`2p43fgBY%^oo2S@8~zAb+AL%|CmLf7~K&8Nlg9c_Iw zdHR494GontCB{;*2G}j*9;<%`vs5UFwEKh^Ap3yX_uim-r~=W0Scu+6bY4Rr5~H1~ z4B{~%y07Arb{k=Zzb$&K?>rfje_J9R%3BX_Lzv}VU>^{ryM`zc*;khlxlW82b$RAm zPNB6QU`1l}k2gNKA1EQ3&%-VAT50n4@TTr`?+4u;$StsuIQ{Y_qZ;@3h@uBR{Z;rK zT+`F>pMKbH;e>s})lQY+bQ64+yf&cQ#W;_OP@atndPNCG*^i0L94`NLj5irVeq!71 z2-k7+K;9P44Tjz(CpcMaj?pkRxqE+rxRY(cHfk7yZtVBgYz zqViYYoNu7AQXZ+*yW4y=FeEKKyOlMZRA;sRK(1<;|f2P3H@j z-v4It4y@+xbc^;VPwFUlfNubTA6{W`y3V#0&x+6TZR1ae zw}12LKSb1AoNf5CN)_&HtqiW`7FnEW?=a^~PIY20;DRC4s!!@S>C@}w_-b#F<^AYR zCnr&~VU4-Xjia`=_BS+fYNO#KS~85}A`2X>YJeX0%kJO?29qwh$j3 zPlJjQ+uI)mHagqUNPWK?3x}3g%rhM}T?J}nmKic_*!t+p&*=V`XC|QB%i{RiTTyhz zHZDuuFg)q3KthVOl}>+kzi}Na8Dvc4)%pCiab`WyZ#-ASV|(M6@H^IihaGRSDTj)8 z;zyKJx_1z*TZ4wF9||=_om50l&wBN4eRCm4Z)s)AKNah=E6xQwPTNByl5dG{bICe2 zdU{FQr67B>ajVR#3r4a61NF%yLwn7_>D>aqBSY06UtT?Kt)bKlT8*uHb-hLH_r!;i znbhAbc{wpM zG6@2ccI$2)Es>QXg04_etq-p(#m$AbUvxK zG4Z!0x+V4#O<83-!k{^;hh5Yivti)3=ixXJZHB>Dv#`zfNs>6$zug#FX&ACMr=nASa(YERaq^ z2><-2Gpxq`6@Q&AGTN;}oJ-$}BL1%c9Ur5zMeVwyzxH;jq11e8hh9eTlMgO$gNyiN ze^_H+(yLEX=0yH)ilGX`+pmpYp*#za7y2I5kyx<>K7-X$urpFK3}*Tz8HT9+&SN!X zL%4bdSRTu}oIo(a1zZEH5u`MoUiEgDa7SI}HE(wTYWj>`eanlu!`<(uW$Oy2uwmqy zI-OnluGL~$7`8Gg%9tN_rl@pmt2Q|kXH>=1ZXBIp|Bh!_EmF+3w9if(QS0Ch4(`MB z`my7oyaqFi?y5-u)~+n*b2`9+nqDw0k?AkwRQH2;SLT4h(Z}z<8kf<_xw+(3I{cq} zXH1r?shCV+i{<$X->Tq99u5x$LkvfpgTBq7>d_NwWK|Cbn-AB06`>tpJs$PA=%w{* z1D`Tzuv|pKokm&g);#%b`*oW%bygtc`S4<|g%d5EvFjme;5ccN__;2{+f+H-e8dffoo=G?V9J~Gdu?nL1M70GZ)OBe zA+a{@ndsPm|Kwo}u8yi*s?Wj+a;2O&XJn?W#57^RGe-0 z>2j`J-FNA;c@?h=!P6|${i+Ohn6sO%ziIT_59}HIH3p&j{l#1?EZR0-S&r7QT_V^q zil0BXhy`w3$co2$7X?J$}>t z9BA{d4GU7dl{_twR1OBE*3W~Ure=j0$k`VAXowl!=QooZWkt+<=eaeqe%nd&T1rrD zuMEzRNAX!iq50;yvtVpeO#(mOJ7>UXynm9=V!>L%WUKk{id9mncM2X9+h%OY8e)~+ zoGrFsr8gJrb5K=KdUGRN$o2bA&emX&oTRp15qZetQ-b5lJU6(n)p(u%37M~tll*5P zE9>Z5tVOZt<0=LXJ^7gc-{Chcf70GHVuv{qyX=QK);ix_6ZW;Vn5xu;=bAzc?M zxbj=NrJ19lspk+1n@iggzWyiOBP)18^O{>c{ou?-W}7$=mQx#u#N01pv=P!kSa8GA zBa!}u8b6?Gd5m|R{0dNt?XEyv{S)Vd5p8e(7fNPHSPc` zeFM)U|HiJ*%LUMgmv;b9;~KEYV)`*qnc#AcqmJ9n~{A@MpgwmCLY4T*BluOovjiJ?;1x-hwPp5e6-PmkBkN>Q3r(=cOXsR!D6g4etZ!-x9LR5 zt@_pa3H=~iKBRvUFD`$VJjQ8}AHkbdphpe1$!ykpv_OjB(hQG~b+r^#8;nSwPlBdr z!_3S}KzCIK$u+1sAi>qt%1S|4(cv6Vn*2-CKC#(kX9wc*U<*s#5lI_|Kb)SH_We@d zse8TR{AH4s3^Mrbs>xDksBN}>0i4ZI3#@aj$J1&LUrPz@BC1HC50L->2Qgj@^C8(R zLm5CF9xdTaf4m$vteBw-$udG6DUK`SW8EX6#%Kdgud1@b=sLHulx|Sfl2mwQ)e6%` z!+qHS2)Go?Kw>`)>J?jkd|uYld@o1?7FGoSy%y_smZF6r^s_~kEPegD)Uv?Oo>=W+ z<(P(irK#CDa{lYXmR-+~8EFlFnBX1_#)M9@O9Ka?Fc{R4#&EBX@U3B~bK^6)A zE`Ur)Dqd!2k3du=q{1yQEk`(rg*V~2vi?lHIWq;4u=Javh1D_6_NJdB03=G5Ozjpo zMJ94ir2se`RWck|m2**UAZEs%%MeHnOCB_(I7wz6cqTupzE3e-hE$y=Y05(0iu9Z{ zH7R37`~Y|<2>2=B%R^N&iAl}b&{}(^tjF21bhvg6xU>BQYp4m5L_s7vKjp55zSb*u zrrpquwe)w;xH?)u=ZZW4bXArb(8Xo7Z3rKoY6%yu4@4c3_X@NJW{E9PC?(AB5=@#l zG0|9-Yut8~48SPWecW23iKDXWIST%EjsN@dZ9j+R|Md?!95{)t#`b_Yoy9aspxJjR z2U~ah(GH7?zrEA#qh)9`UUVQQ2AfKURnjyR6kPu!=Prweo_0q%{NB(DJ)|{_s(t2I znO)X4`)Lb8{eX3TLkB)*H5rB`2X3yM$zwbRnmn?gV^Qzg0dYCN`>shPolpoR=ZMU9+V_$Z4PE*-q7}6 z@Lu@rdh?l+0k0Dn0bBvaQ4K8Kx%VPx2ul6#nSWawzay8qLNhXf5>mnS6D(|zG=_sk zGR2*tIR!vQ#G0ZEMRC+f2EipQL=L<*-*HYd+%{qxOF$%QjW6P8=AO$1v?LK zX{C7x5V97c(hGc2*Te9UVz|^8ezO!*TH~rEq3d0!@oXv zI*X}}FSRZ^%qyL2f{6QCvO8zT@L#;Jv`-vkcqurBxGf|BkoN{l{*WqO9gtk{JgKDv zc8g)qwro_kUmv!~%?vK5M|6~0F=KcZ^u>P1*k@d4m+RGSPpk|C@jBn;;=)(eahX8Q zAE)-5Wj$aJnRnu8ehx50L(Bq9aA{1jeDn`j!2wUkn-BPVF`_M3{=v+IM3^`c431Rr z#?QQ`C06BY-qhH3&rioE@D|*eJqK)lU?RYT5@U=;4xHjU*6E7>a;|^hYv|4Ba{6H( z?H}C?9r<|)_sjLkK^N@P{t}KL=nj950v4nOznUj+6o0#I=Li?0@)T z{en2xv~Rwh#@_M=tJMIhrP-AV-Js-`ctk=4#sbLB{nmV*Kt&*MPr`4;W+cOCrg$iN>W>Q5-lw~z! zar&i>sf&bGC)>{9o#nXpE-sFurGbmh8fPfA5xX;fT741PTCFV?_Is=U&SdzX^ z?82S716tedE;=R}rixIGC3N_R>dv(@9|Hjy!v7{sF${14is8aGI zIGx{1U$uB0wn`Pmefq{~2Dih~sDXmI;|e@H9kQ<@V0DWuf?Y2>6af{BmWQ98!~Tis z8+HZGUJ3~9ZW2FiNh=d|^Aul64xSNS<7UFdO}YXEOA;;ej@(@o&#&7I#($GXBg@X7>xr%AFzD$jqyWs1bw{EX zuUwwoyti%)W4Zc{I*&d9EGOOJBt1DmNZLwsUJNGRE^19u-f-xy4vAw7bR*WPmh+|MZ z6mp9liS4p25t8_lk`;262!I;HsnH7ZsVoT%`Q z8eRb|kM&3Bm_MWwQb$12uP(gDjGp5vBQ;aUCT?{zh8G>;`<}Zrq3nwX4RjF;7v#|0A_AWOo2rg-7c}f3=W8z`Ro8DM^&8B%bGlTwLLzV5Paqa z-oR8#Oln9`x-_6){%(CHzcLQ%NFnTLv7`BhMb>2G_2uWwZ)l1yf6saaJBgB*vc#s5 z;o5(pk6?4W44wO_3$vTff8IOen=gxR74Ia8KpdJ{5A7ZgVD;IK-+y7|uqxU=bq<+SawzW{E z4*T2H+Y)NF_X3MBaSqu;9 zQgGdDQ>3x;m_}@!j`;{%8S0FXYcUeGr8ZJr*3wC<5ZYC324%|g4`3eYnHlgoW`p5L zzP0(fu)Ot37?YaO4cE<+;Q=Wpc0d1y+Fw0rgF7XDbuEqYKf`Y4Y04OS(6WPc+Lr~< z+N=VdEk>NrSrX3VCMK%?n$ zBk_ToNvVGP4qJ`$(QwGF4WHUxPiQQ?u4t&G>R^FL`dU`k|n&B8{_MQL}lry4e zbxi#XtxNALN2x@nwBm~(CpMXkyIf)R^YNBb!24eNCrKZjX^Hp=dHE_h4<>M`;B6iX zrSi~fh)3ljxhYs+heNSK_zOV=v@`{wptKzNP@Du)p%c60uGRaz1Ej`=m6-f7AZ9;Y zNt((V=Qr=o{>kU34{^R=zw_xlfH;)Agm=qy>*n&rg7} zcb&O|Y}TzOwsBzo3UU5`UkAHHNvctCW~$r;-U&X##4v>~c=ieo+#(}JcC%L!g~P{;rCBx&+^%U?LGgJ{2knMSZ}!4y9F9ASrGz~D$60uRl)@zgrv>k$$h0VQwx&WTSL!5 z>Eo0HJo%(7l*h#*;ya}8YE$s~p7^Z+;uUn=e#0GzcEKQSZi10ojKfw9+$W92T&cqN zWww9r@%}EF-thOSbTXXYx27o|YUKAM)$ff5)drl7pCr|5%^4~5 zxG@XlX+P6<7k^U;QoR&HRI&e^Wbs*X{C7_+SQfDec33aT2vu8r|R<3cXHh1HHuDYreBco=U0Vg%o^_Gf5hy*b6pbr_TD<`O9366#hPU?kLLNyt#wF;2j>HIbFGLQLfU@ z+>5n2=QYoGYi9cL^z0O!&V_$o!(p`x5ss@Bzwm7cOF!3?>6bAlia;cl;sQt~_uf{A z&`a|qsaX~$Rpfcti$DK`TXfnN{zU_aMH?f6DE*>$%7pmG9Xu?nb(Tmu{e*8C{ARiWX-vFxDP?{3!(h%>Hy3p)st>(F~6aGM&ZIC%3WSn|l$%jTYk ztf@(rWt=GX)3Sqkq5ih*14>9u0jgJ((P+#(>rWoM##C$-u0K5gn!r@Xc~ydF57N3q zz7bdcG3%0N&hLTO+8`!igxYG{uzARC#dTc6jGDC`k?!oIaORBFfL5~7(3DK&ITSg+ zpRSi*#A2&UK`ovexVH@3zB$v{0`u5mss zf^FSe59X~yF+zY!5`$U8e{XXR*5B;T6xyUd@DY4WHa4K$Y-!hE8|&+nM{I7szIe34 zx$Yk>+VapBmiLwciguWsAEMp5IqpKZ723`Mf9T|%+M*)l^Q6LDsT~d9=AoAR$a+Rr zoZ=})*jOgZ85*W<=L^hm-6uPWt;JQjN77boEVE%_p_;kPHDGCPJVNX8a+$%={T*8X zl1Zx)MT9;Hgkx$OQ0^;bmu}t>%#s#e`Fz+~$XZck1sW3y1=`sb%boc3x8CI2dPW8I z+tafizPhzb4W?BkbELt0;^J~FMrBQhz(c(l2sFgQj9Coy zXnRxIBsdBDVq6SCom46BSp5trPW`?i;^ba8h!)DfkoX5$&RE9=vDhZ#0 zZ{vOLQ6-$8KAPY*T-KGa^tP<#prj}&gQ_+PZ*LLNb>4MY-7$-bp7$&Cjf>T?hTlr- zv_qxuT*@Q3ww>E0yuz8W4q@qaX*IZ%r!0`KS#kdn6-TX_9%<3#iel+aMhMK^VG7wb zXY~NZRJqcy&V2kZ?;|;N@~kW#yVEt{nBICUn#*C+B2{0^x%k{%5lmyw922C|Ru}j~ ztdL%nl}1AwR#8X6$)}=$VI6lL5b?yvkKVI@la`2}(-YfulAe%rSronJRe4=$52}(wDpA=`?C4e4>o*pE+s^6MbI!zG z8_r6ttW}^zznBoe-udq)O-mTMTZOz~+~zH#UI;mc{#u=95vv# z*Y=zhQu2F6hm7~M>ca_5UVcRcHEHYPkuVdtD`POS?9Ypk;Y_6^G45ME7;#%obx0W8 zq#$fojj)2+3I>IY6;_{FN_)_Vohq_>y{-_4N4odz`=DQ$>Sg+s-GeF*bN>+W=ktX@>QOP(5{qHfbp6V%nVm=+*k zpQf9*kO#vtgmx;nX=BA|Bu}39_HCw_(~7an{0EUXTBxj`1x?EFE)q10TS@4O#t*?b^nKsNO|1%zGlJs>4bw@C<9+RqseCC~*Wtoh6t z)GjR+SQmeK1Ay!sr%&CQwNTCi))xQ3{Ov%>rKrkffZ12-0OWkevy7Yp;?89~zUVLx(g-DT<@ruSQ55B=K=QHD* zsDe4b$k8&$Z`2#3HhF~hic!4sm#LvY$c?Y#-cc0D*&0IsFmr+7*7~b+a*4&SaPn*B zX^ZTn0Tarlp{(2PI|;VU$0|1fgWSWt$APbIbu4E8mVU>l%I)@b$bWsN4D3xdcByS< zRmx>e$23#lQb?^>+ewNqFcs_%DZ;6c2fG|pPg$P`5Xt_?gl%-|`S8bUuU^J70DBVA zJgE1@<`-IfLMLWyrUeGrEg?63dgn2cS)At13*5sSs)nD>f3_^;3FfckSA-?s+H_OG z4u?_EuEKB_`OceY3;phpD}dgCY(}pH9$q3acMNp2NUnQng>q}Rqz+izQ1#gZQmM$e ziiGXbg>V~Lz;^V7{R49Sg=Nk-HM!ePqlV^&D0e6*6SV!pp54+VjJ!!+01MARO+N88 zZERA59-V8bh$y`!QU`)?)`6&9PBc9%pi9;5kZ_k53fE+*+Y1U0ydm9HV{_!=Sk3I1 zPXviAt{Ng5LZdQZ;AV&w`+)RIeW!774Vdfnabq`BD{32BN7WG$@{rO3BnJtgzVA0^ z{mdMC3@h+*662|&s>$t!M96J#R8#mn`9Zx6HD>a!oE%~2u|dL9eS?ujXPK3%YdA2b zr7kMp5l4CP*VQImeB6FF#GqdUsw&#Z#Re)F>++FHU9vIibCxer`{G^EUx5)(Q`zFQ z!W5y#D2p<5AM9E~*!cOXI_ot1&*jVAwsZ%>7DDBu#+TH;XCAmdy!p!~dIzo!vt4Q- z<>KLOc}uu{J5g7DNGe3Hf%O;rqr0>fnZDt|nZKO5U0B9M5Ia=XPfuF#yyzl_XL_V6 zv`~Y>p^c8&(wuq!tK&CkrpbvF%+j6X>$ZF#{<1Kwrnvl~WuEorLwfIQ$Ny3XbT7L+p^q!8H9c>lOtj;h5~t!xZOGQ!)U~Rs zAUl?cUgXn>bk%dgDmppJuG0wzy8whS(N8l@> zuf)$1w$_jDV-V{0$DFhxqs8$Vz8;zQxHQZQUr@F1)X!I07zmRj<6|%>g|wa+q@xh1 zpU~!d*wgc-hWM$cdQfPGICo&5$yjRT8|Kkl&uzu6toCiasPYOAY+m8LZ&S6hP^G(JXFoh#u|pSHCiS%x z;03QN0yg;IvC=XZw#66Byib3Msq|HtY~H!tVPb_;+(#k0bcj@^|8xhtlDG72O+I&TqK-cAjtNnVOv6|6H=ASr`TR~_b=uCKXVNedy; z(%M~$sS;vH6})mic@T14Xy!2kwSN7S*iWqz+yHLZbSl%ygH79EfsD8&uXG%uW@zZF%%KZ;l4X!s%`L7VXuyr9xeqtgNyRxYFt_@4RUg#} zP;i$HIRaryS0$S2O05Y%+AtR01@Kcl3`pyydI_iHS%yL@GTWlG)a+4|n@}4jwb8qp zFd;@895|O)C3y~6NvlO$*^oE9TlVb5j)`9tbehd1KC^98Z-_6bIpmaj6EOhhi|WU+ zHj?w)M7nlo0=LeRh7VaT7dB1b+G@?J-|+vGCWfLeDX1)l0w!|*-e{6pc=IX*W_eD+ z7W#Bq!X>q73@$rI*KkNsz62!E<)oZ@Z^jhklyb>7z^HhI)9gyHgwvtffUO8+qJ>F& z9I2SOEeMU-CIppNUPZtY%j?33&=DX8IZZ6&DM4S){g%kk%Xn(EpyI>qKsbQe9sAi` z-L#oFWIlee+5y>uAzr($`8ui{nrf&ZT`(kA(k*&KC!IKIfPTT0rBg~}P1TEuFjd`C zL76!1WxYh$D0@Z#8symPId@rEFOXJBo)Lm3@djcqA?ga}C=s1{b#B|YNC($|dU7FG z{)=t|kv2qq9=+`XLg|tr&&8LOJVzR|fBgA(30wd8%7=vdvp4O4m*VEf3Ag{_ieAD` za_nCa_`_v^b6%56bq($=9j*7cGxb(@OSpnt&E}kWffKDadWSeP`0QkXyh0++ zJ3+_3)-eyDJC-p#md|3clvEdVYL?aojbzzN(lx{5`EWr3M!4i1IhuFa8`NR@djut@*jISVNq+UXb_ja@y!(92a( zv4}2eYo!JEYf&5XXwjLg530<5C7l{)Zm0rAfIqoW^bwLLX>~tGfa#V7vIloXPzQi}XKRCk3_{(T6iAW)-?eKExhRyJJ)i(} z0q)-4tPvChX9y{JSeg8bKo;LpM*ot3%$S&Oed}NTOXlTCzh~pa zH-G-EKl?l|<>MuW*}L_eQ&Vee|LQ3_J9)6yqY@v@x)R@bkl$w6#%6On<)*R+?{`nQ zYk%~1b6gruU-Ld~=Bb8MfvfGr#p7%dDcPoAXT62Nf8AK0QS()2dzdSa!ft_cx$7(6 zo8i3v>FLD{C{s;Ps)@#(^VS7VE=DglYw*FTn<}*Q{$yF8Eo{^-pvm{WOd!hWicOeb zEGc|l=?k|aE+0NK#Y)9o$TwQ?uu*l?P+u=)0ra3d_nlFM2Hc+ssuc=_^(hG@bca zV5RZ$y=QO2B(Wfg>;cmFqJGzLo;%ruOrkQMwtd-NC1@-CypCW>E+H0wI%-x@ZQ-4> z?lJciU+nk)VNzyj9RO!6(XH*Pvl5%?g}?0Z?-9^82mH(5pRlC6W=4RC$ws?c!t)xv zd-MipXYW^7q;=l7$|83dk^Z`#s4ppV&fT=-dvC$A7%!$3XN|zRJt=65KAg+?V0Hr* zzdKp+lu?Dj)XYf28MhBPSg zs7{y6E&IN9tXc)dbmFA2tn?4+0;V3TsA}}wSHD82zF7#7mTj#@+vUMe!#j@ejst79 zX~LZEN)(>QqIXf>dR($UFJ2wvN-esJ1kgnt(+sUrG#T|BpH^R`$Zeo+wE6&u_-dm1 z-MqB|cQclTd{tQd7481dQ_q!vea+RV+dyl>GA1FC=fFmJIuXV8Rk^04!7;R(A&xc+ zTP4P}@9eZ_nH}-XAd~9RFf8G&jb@-z*B>sWu6)KLkU3|{(>hM-lO73DZ|HNYw0z8!%@SVa zsk-#qO%ce(TtN#eM_)^={+ueG;b?{d%z*MZarNvC#^mk;^x3oT@?;?V8%W2zDJpmZ zq>sW$g%R7rypy6QG;VMP4$9vE4I&m}h@_h=Q9I0K@f2#T9?Dqp^Z?EvBQJn27qHcIMM zDZb5(xONFEUkVS$1CAM&hFWRcIq=)wsX=K~Ld+!g!U8qiFmV7tMz+)^L};ClBn196 z`~7yuJmU4~kq0vWVoj{L(ZGm;=#9-XnfKmzXy=MY`qinT6d$vl3V1TxFotRtI?vD-q_maiuuaqhK;dI zKm!OtY`XY(LNs6ABz|-muvpp}!IEL3O?;wQ1ycBtw5qVFk4 z{_9AQbtvwq7NsfJr0qS7*0$}TviZmPR&|2feG*DnoSQZai?eE4;d7agmQxW$aPskHL5}tAgal24zBtl zmaw!&)dntUZ0+Ij7(;~RxS9>%S6xv zdSi|}*2OC47sJ{yW}Z6+NiAcq5?;gyEkHM=y>y`iDc_40yP(#bu%C;dsm7><%?ZNbn@Q*Daei``} zS!T=oJW0rP+?v3h9e8>d)b}BC{j`iE%7%1gkKx^FrMF$0Gh|;bD*BQ8qH&&={uXIS zl%yi$eP%jON==Sr6`{IIa+fIXGt${8fegtmL28N8)-1jx$*q8USTf_3)&^m(I?JqZd`i@FJxiI zl?r%LuFnnDB?G~mp%rAn{M!4Vc`$PRd=_+Bdp-%*sZ|F4hXwq$em%C*)Y&>XeVbnfUO1 zpG?aGM|q8YSx7EUwhT7fq$acHc1yHZCf4vGx{}+DJ%`6`6^c1*Ex8+0((7E(7n=_c z&&BFYP2kf}#=gd@Drhq@<8i2M$(4U0vmKc)S$W;E^4}C*hLL|`p4oJ9oxy;+ccMRY zHX9OQz}g*fx~RGa zuD^?WD0(hH{N8{O^VvKh1$wprE`igfQa@4DGj4KuRa?^$mjs8CnyW)bSFRvb;s}zT z0QtOjpu5;{5T`#AtxCDv9@Q%=(DL$^!&TTgymRi2@Yd8Y1zAr{2uLs>elKH*TXzO7 zuaaIXI33<_@$5I8&-T6GH#dMxi&L@AuYBcQmH+72Z#<6YExlSYVavLj8P90*mHeWI+JbH}@O-P|g!_=n ze1N<5`hGLAli};uGMlTR?abl*6;E3_7xoM3gB1H6Q+(>jhgbnv0-E<>vg4JqK>?0_v1ZA!l=$(R%qy7T_f=OC**jZ<*k8^n_5As`T!e zNL;JdNJ4iraRjHZjUm%TDx#35hK=#j40kbqyS$J#zxdx&iTT?1M5gNxKPmYm)qi+? zG?dc8{|4CO^Yjg|TKNZ{fAQD9S-qg;Y8Pn%@X0 zJhUwm*Y;y}7S<;qHv`pfX}^V_U)sy%tD`tKg~sbp?wM$65siEW_rp+I2nl*#)RO{8 z78Fk@`yuSDpxU`=-78yK5ce4*yI6`p3jtPEU5(^7!#^(LwK9+`wN9zFOHGB8SHW5! zwK*Ca3rc|-pM(3W#FCBW*e*lZ?j}TH3%*WW=-(WVd%T$M8nT0#!3Tx!B%C?57lyII zJCNtK9FtUu72J=TVDI5vb8*@E0Y;{enB5a9G5eFYpo?MP5?K3nLso!YhlX$v6)QlO zCIp@!I`RvmLROMvVD{vUM}ShO`~q)yLJ}lleld#>fshxA&Drvr1MnOwU>Paa(vC|X zFkt}I$eB-?rmNM^incKh?5lfx&69{c4p0*hf?K8i*ov8)U+0H)BMjBlsY&quo zvwBzl1W*v@UIpSCz=HP-z&8L(`HHw5=uj|=)8&J}{nj0;zR%7P)^`QoS3iCI8#T4` zfeg3^Lv_+krLEI%;((MU5pStP_N9<`=*jc?^(p)_L#gyzUO9n}ZP2e`@taf9(oPrq zFy%467$5JE))||H!|Yh_G0DPB@(zH8fKXB6-%f$k)1m)RuBaa3vQI;XL}4@nSyT=v zk1C@9lU;5zB#?)6SGBr@@l6w_Q5IOSjv$Fhr!}y(vv;%sCVd+%gGaxeu0o6cCM`lh zpQ0P_ktDYABLh75Y-2}x8z8dEsvJ?0N?x%X6DOxiW3}%kvkz0%1tT6iG>kmO`w2yJM2o**?;rDWkm zOKl$W_r}2?)yOTI9*H59a)Z9@YizWn8>H?FZg|bK>AZ!>JQ)Csn=_Y%&P*vHDP()j zyhdw6qhe57(PqrBiciC@QL21q15XXl(Ck&hghUx*)hxnjTCUe3hVXf0FYD3{)TTol zQ&rIhz_hU^OI_)}{NwysTzV~DFe1Fy^cz-kx?XG1Me$!Tb+UgVr$ z?szT>`N%4C2(y}ItGGe#GTJC!E=z2fD4U(Ze+7BI9bag%pRUhf=Oz?o>@(3W>68(6 zqx$`6S5wH(`al9<*KCEo!um37{*WvYX6y5eTm!Fp z@>}HEe<+V4I6KUL0y*A>7ZOgVODTd?YaGr$aPciKf-^DC#?I&)EaAsa-lQ{N4Y%OB zM0_DM2-=urc$tjV>8h>*5SD*Od`c}=yh^bOLRaV@JD$vA>CeI2f5R_;Dm8fG$7a|fVo#&psn@m^#;B_F1sE- zt1cYx^XS-GVM8!#$f4vtvuF zk@caiVbI9+`rcaZdz4_Oj(E|r_M7GbAfIs4;#xgt=Lw|){b^|61}TA4M|_V=gzXDb z@f1*m;%(P`LNLh(_J@-pEA??bUqOhIRkB5XV!k1v3{LmE0e}Q{tLq%VbmZ5tm1f}! zI6}23N;E2=YBnVSY=7`uA%UKuMi7bZ3}ML8ly@g-4p(()nPOyiMBiD^|Ezfo#JvB# zChkr``E_x30&e+!#~gJ|4H${*r;TkMTGvx2R3}^^+2{Osc|05Cgk4tJaAE8D%X5ci zPHqAS7asjR*h`pazH4}uijNJtJA)&S|M-(6XEPxl7K*@PdrE9W0{FB}aqcSu)F*X8 z8}&ru-1p)5zU!9`53qO$fl_vUWeBHU$2XKNoBsNOliaC)ER1mc4h7F=VEc!+VPe7p zbXRmZ`7wZUIwUL1PbfIK7@DNgWE#%%Y->@%#x9-htD}E+^_w%fF{OuA=ECcc@@+U- zFMgM_RRoh^IOHbTd)gF6cUR^>SzM@L=5`oUVgHh}rBduI?3)P_n#}#W&bIMHyC;3M zlXu|!wD&gG6_tn+(8^*p#t~l_D--HHl}N1X=)QBCZ&DIFvJ)+d_5P~-@PJ6wF2K$0 zWXk8zs#PKK+hY?1Zl(mLedx=>F%P)%o2*v0!V-~50)bgi*GWE|8(RFC)Rwr+VFu<* zae#sVZ&qYUW;_T*>F0$AkxxM6WnC8DkU{}LNj6+@Wszs4-;mxwB17D1 zS%A3f5}Go|%ODbIO*~K5BnkVH?}10M?n+AkXx1E~o174AT|U9Q|6p}-NvLh;7cFX2ZqI48UcTJ5V(<9uJvp?T4f$aB05i4I6Ms&diQ!v6u-hAOr$osxh` zMukcQ1{JG}{X+i**#jPYaP+SEBu@8}2M7?-CAcg0l5j|;EVd?&Dg8(sONb-NfR+A8 zrtQ@Sw!(Qj3EKE;&JJG1|2QEExA9gyAmF4cC z4L=ikM4RG*q9jTJ)Re|PHBeY_$`j-+!F-vfdwPOr$y5E1H)J0SS?mSPDRG}2FmK=x({cEd`XIh$dP&eR6vI=JhftX}47@(%qT^bRbwce;YM&rcskDi`T ze%(d#KaPynL>1dgt{|r@3@wL;H@!EvbrXX5u4m?OSCX!WK&aODGlZJLf!BhslV@5V zI+6`}E%3pC9sx$|CqAwYu4*+4%MX0MaZ#M)SjDPIfSRONM9k4#EeAhHmEt<5cjTwS zUsqo_QQkMKLDY&nXJLE0qq3G{HlD^+`7$@}O6nQvH>F*8s3d}+hSny9b5du(eI2Lo zWSgcDW!4*60~BMF<7pTzL+Ai5*IdbL(x@Jr7Op=v1Hl?vrW6Rvx$}BSu_R=i#Hqy+ zVW~VsG3DLEmI1$>#I+4##CA=z5wj)HLN|32f>v140(di#C!nk6qqV5F`c6&!V@#;o z+JxW@T!K7`>npwoTzG5LC2s+n^SK8ot5_Y=1TwpcE*uB=Ark)zqm`S!U4cQ6l{E(rGit6%7Bass#Ne)s*y_)y;hl>kOnGh3uJ_&p(94dk~0~H z^Gd}7G6V1&mLNU!2@i1no}67xF%T{E9Vft(tQ&Qsu9za}OtD{tL*n#uh)=yQq_#Ov zFR3xaIAcv3eB>`I7U0WP-oqD9CpW6aYqv0_tQcp*U|0uZO7m$tFwH(2O#yPX9(SWh zTh7KDb>58u%V{~$j&=7<5{c{;xU$(Y$lU-^nFbJClXb`{+AWUpyBtA(C$-2dqWn5U z55m1Dh=~}X$|4}k9Kk$IOR@!&YgtDSBMpNXfS@9M2)-eJ{A(L|VE%JM6f*x)<$!bV z86v6}qNbM!0)rNTvM~5`hykimb%68#d2VcJyJ<9TbX_Zew*MT46t;7ZoJZW;w87e) zPMUyo+O7=?q-!9N65?r^H^Pi6Z-1b3Du?ckn(2l7w)t;kJo>FruDMlA5CUzrMKOfI9W7yU%izEmX$_jPFltGQ7l*+>OAEUh zOz6RFv^s%!Xae*;9=KDG-&mq0iLb}VSdg`}K^L+rWp8Q}GpdGnk$Y5p7+i&XSdB{6 zZM~hvBfWMYIYwN?vILCj;Edow$zK0#*WNIQvhdKc)FMQ|bn&8!3(95vXeEGNnk_U* z6I35tMhWwc8{J}U&?C4pq!vn);j%?AhM{yB(|h1KhE&fl1wHf)Cp>pjpq6D0gsJ#C zM#4c|vH-yhb`=UjL)Dg`7D|5x3&q~8rp^ciFrIdUKqAn@7MkUJ!RE+bCFF<*GCIX@u%zEdoJ!U*aMk$_l?1zIKCMl7>YY!ISdlBI5&`MTKPS2 zMPOR*EZX?#*E$LLtJ;$A$QFeT30$ZQ<9uF%^s^yY$@OO>gNsO~F#>Ug;`&Ed)E4)h z17X_J0pEs|(qi%Q*k6LDH)yTLW3NEC%{iAAy|C^L8V6ExG{2FL3#QTo)vYv@m=}O$ z1`VECS__fbLA%1TFi0}mis@~h(UB7KsJh)kQJd`qUjsvc_2op>e^TcShBAh;z@!)< zsO-xs^g2wdn zuezdz>Sc8nA=!ybEsk5GH)nll6YJ^Y1cBzNDnaQ$a1Om=mb$7;fXVkKf54|rf{DhAESTKF!`V3?@Q`+CW-P$pg{>=HU=hHexN34Hyu?rYRnF=}E4vu5J zn{1;EE&IR5gA}UBl7 z?>+;wZS5i!^z-W6ATBP0bqK>ys!~{9o{8aNOegs0O-}^qZBIz`BujE6!Vz%2$de2e zX*l+uP&2Dg1++TL?X<%pKlf)5Ob21uIXi8qw(kGPi4@aDD1+=Q*~1^Sr_CvB8g(?d zR(WbM019uI`yo^JYcXnoOM01_2NUMeWsnn(<;E@GNcS6X=nm+Os((s3X7;-1z{V^xp z`_^U;*!6t+v7m?3W<8*?N_rzKN|;B~&oA*80MoW?!5+Kw^n{$cQ;CDIUlBbt#|-h% zMdWmx`4~WwIlr2My)wwChQ(l7P+vzkfQ8KpFoj<0q9EbX;Z>cR;w!&#r%DV@fNFjSY?p&bunnzwDHlw<4tHHB7cN-g2L0SYSDJ~ z;Y#6o`_LOYhEZEom4Z%;p#~$Cfw0)+V6VZ?eDmdf5|En_}G|=EW01-aJrzW2FeS072;2i9~ zjml4lJYh*Ux_4?J=*rNMcC>TXCPLklvb+1hUXsNv>6`#} z^3{QM;*Ia-c&!R>3P-dKGH*KT8u_gaP(+0lqm4=|D=Ps?XX+w99QjElpovDSa%oyE zjGn7vVL4mYjZj8ZP9)^8uGl7&G_ARK$VIuJi`N)dBrc@c8e(a79!;BS(R4&tfWfsR zE?9!BXer7Oz@OdtKEF>#(SdCG(RSP?fe=N=w8!E+8%XP3b=-y~9!h=tUvN zTnM*aQCV=9R3w0-d9q=RKYo<@uKjK5AoC=BK4pG93qT=&eWV*u>xj!7M4kWYIskCz zfwy46m`@~tKX9z`BakbU-~#X!`=#qhW=JM7#f8M9bEY zU=Sevs!w4xRvQvPtDAGUOVibI@4Ea-8^N!hJ)7XVbq>Jp@ah~d*3B$Q0R6j~EdU&{wbbB!D`Y9yf1~7q)e}Y;w4YJ~}R06K76XZ<1_) z-RI#Q*qN_i5&^r3+l^;bET&586O*;CHPUzq9q8xlw}(Pu$X_%HU?fQg(5pKoTrHJ$ zuBy7Z5n0yJ55i$jU1+@Wg zwb&R0mS74wXm&<|HJQ*U>WxhyfJ;uW$ztg&VgMA)s2!kNT5L!F3#-*auWL3&)qs=U z;_+J*7-spUoHeWbDuzn}KXP2cL}aoI9F@1+*o;R07%xt244cy$F_4^yuP+SsaudMK zOaE;%;H#2aV_oX@0#zT?Fir9p*p#^13j01RBTxjclkN|Wjiayv?3He#U34nIp9H;p zTPG`s%T*qDRxamH%|-^XYNw2Vq8S&lMv-dQsDG;((&(z^bKE4`PS?+RE*feF#;An! zGDuf3TaR%TRUg&&q8@cv50AA7Q!zK^6T~fX7xo7s?kl_vPAJvV0H8ER2c%xQtNVaH$oMNyeRNhHufP#1_uEX%|a?(ggU`H#O5r=uJ z*k`Lp z({TA`3JEr@qn_NIepC(dM&*m?sbe~-^gKiGum46yeocJ+Zoj_0u$;XTE&&LHtq9m3>L? zGw-{f%1@n*yz%G4p9v;LWA9OP@1e9*rWjH7SB1@TwrG&^KsF1rBB?@c=$1tNLk#eC zcakg{Cye&#xo7K*(eZco4jwh$BLV+ep<(NjWjGF#{*us$#~@r0nb(6Wva6DmXcJ7b zs!d>r!ZtE78b3x0TaW-zXA1LH-QPt>9H!v>>~#LVa~U5mr)Sz_eY7WJBTv&4_2sL{ z4R`0jl0(RrjX!WiftYDoee5iU$NolG@nu@RMlAeb2T<5C9Wf6NE03J8EM{%kU&Oko zOPf3!*_J(_)IX+FI7V~D;COz?I}$P3j9rQ?+MP~q-=vu9#jir+3br|EU0;xRL3Ts2Jl ze0BmkHcY)?%rX3_^oYM++^KK?&UXb9;DmV{2Q3%Q( zN}s1MNLjipaFCLX8k3ENhmH^hPq_H~`-A=AKp;r7Z}P}Oi^Vt!+6NO2FJd_nt|)Mp zLD&>ovQ1nokKgchJw4LG*j-t9`se4e^I4h@$yhD1I*+QAXG&?u~a3`9?Az zK8Ep_HOt9t_naKh;FAD32sh^4rQehV?{j~JXo=gQR66Dnb9_>VmIaRexcHJ5*?M0D zz0_M8qn!I`<&{Y_+LT%G7Nyb10xwvdBnQPL6Kri3Jp7bb^CE1IM|MMe)vn?UB^pZ2 zo0ryY&I<9CHQ|lSRnFOzX1n8r2#Fo4c5lL2moDKd(tX9}WxWz2nmd<&jEuMcAz<8T zh>v!#4alOI%J%TxPY=Uz|wXDvdyPxH`6KRp)#!L`2wqEj4C=FFQkd)5hXhVGIhAAGI31$Jt zPRn^0qExnVfXWghL-Ni;>3h6?fi}^!)pWCX+t{#l6i1rZi(QeW+~yn2`f&a#G!O(D zNd>ntqm20i&>jXq*v-HIA|$9NbNtSHr>qGWBAS)wODEakj1v-@gxsULGdz#Yz=wga z`Tc3QVHL+dbexJx1{8!{itx#;*VZQ?9yjmj4~ZpFr4pcM39mng|7Fc9JQf+1tMJla zR^IKuyMBHqSQj{QjIzYSAA9GHWA;?o3k03wKo4S)yp1Y<>E(r8|Dp?h>=z*nIQgzb zG;K=ck}V>`uL*8iW@TCiqsDpHD#e*ci?_7GjLSvuc#mMSp(YzaN2d$-FC`82Tpg@V zztxBC@7_?L3=4Idr@IvpC)71)i(I0*0exWLcjfd#B83DZw}dh&J0$+Woqx2* zKK@AE3as`xt^?M*FFwE*pHyoZ+WI*6B5fG4|7r);mUE~*Z@L+KMUyp3);!{7Mr3{t z;*WM~Tg<+d5rTJ#|5Y6T7S&z6x_>Auh7k7v6kZjL& z_`8MFLtP=wg3pQqH?ud)HQY4o(Avsj(neidH|<+cw-A&tE3D7po0>__?jaRJ@O40c zV#91j+wdjfH5F~GVHS2e&7b>7v@_xUEZ0+L&S{Jw{JRta~$Ci_6s-O4^SfWx1+RI>0H>;uEHyII>{X9doHS2~?`h3Y=I5;PM?uy@ZaMz;mm&jmRGZ( z4V?=K`y+0pbumAJ?br*;LsC^IFYJcs_1bG4YLQ=qU!C{dtnb5gd9+WFm1VldMR2B^G_q^!x~vyteR1laFA7g?$LC)I`rS$m4MgWlXY&+{xtF8 z|JlWthfHqY&BOongug%9&!VFJmC5Occ9@g!>)o?c2%2cf=TS%e=gHEQaoG?7e0cUp zC(PXMwm+r37j4&dU@m(K|A9TfwdGfI;+{fCS-!9lgTZ@W`m>R8Y-NtD7cLiETYQl; ze!s`U(61%2gE~(@5(Nzx@R1*vP)bkwH2Ar&0k!>cWl5Ih9`?t9X7iQ&vX32AuGR9H z?E5$&A#p34rG=9N+pC1M^qz;`+Ku}1s=EMX=bxvH7Zuwa12#M+`M%j8@p8JA4ztV$ zqpQ4%rv{##&R`IWLS0=YLv^`!Sg>i$`FfC5v{r3jNen75Wsk3aCPW6pSxDmhvB2V7 zbFP?>wk`6EW*p+CXW(*ZrfNgEw@!$e;gcnXwQu7D;%pr8o5y%lR3E(1AmIm``UpBF z{Fp?bX8N7CiZXTe^7u4`MebxF9ES{wAN7R@K%(@}uZVr%@xy!W>=D1l&5m(&{7)&y z{JA@kFMPAIzHWmVhE}v2OcK_7D69Yd-jO0nU-|+?3WD8*zRy-M26Czd2|JWrmwju3%sK}Z=5Y+ zkDPdZqkR8w%J=aI56;qo4JM=yVUKhgU8S{)lw`yYwAY{eIF<9aM-Mk3yuILSc3NzK zbGhO6G4~ue>^x{!Hr08I(yYP;JK0+)N@O1Qs>(SfW=m!KT1Lsy>Gq;7-b;s5*(~Zz zwA1Ada?_#ru~+-{TZdC*FN3HS!FE(C9h<68W-v|4V|)#Szc&omr~kMTjxLc*4!Fqe zR;d#5hh=|&Nk$z!0oQju)Hk(*4$(qWOElCTlhU9QnB*QtJC;F5wWjJ7{BImrf4J`$ zAq4T)v#3a;&W+df@!08_|6qxx4sGi(EJ0?nPn2i-WUF|_3fkR7 zxNT;U1@NEer-THZ%)(J036pTx^TmMNOLQU&$hc*TYR@bruDsEBl_J@3M;-IfI&xri zZsWiq$?Tl?9vRDU!=G^RFviY2aMVeG{b(i?ZWI}z9s(@#F~5z#B`e>Q1mVjdFy>f& zAR7rIP`OTlb{_itP`J9Q$0bb#DIoY1t%#4g!xunKDY_-xPXXR44kJHYj!Ef7PSbVB zDj3{uj7Z1ZxnzQa(uWLUzIaWz>;G|l;$Ib1dxSTn+V!bhi#4jvKQxdLb9p9K^nok5 z&<#wg{E58Z5AoautdbK2^2R*FelZX{qR2B*#EBq>M1hz{@VvQlT=q3#Pcg(1 z;lZxXib%%aU8rb9wrs`L6KJEJXRvQmu98)YB?J_Z{~~-3P7F2SAXF>>gKho44m+;_ zrf(X;Lal6p@O?veEZhn{5-$SeWH(Se1VcQu>k;~v$R8Slp^BU^kUP@=+~)b;5$#r? zT2&R_D8?}@{)MR1gjB0&#C6CobPM&@P(RE(YEZo@6A7?ymfu2qNT^ci>T|Rzm= zz0R)fdiXqi%cC;l@PP;L=B8MihL@ma68?nflr><1-DDHw3l81T2`7e2|CQ2uV4w(N z4tFOy5IO`;RMVy#&RuHl3T{NXK7R!oy4IT{{W9_&)X}5!G))v$s#-ZQ8V=Q{0V8l4 z8$p#Tgh5FX)}!Iu$BsG#OVBoQIfXI`g@dR4La^u9LK|lQ2Sfo2^_E2cX41ffS3&-i zYuQ|8b#5VZ{ysN=cRH_pYTjq&rz{KaWgjl2urXIj*K&z~!&TH0HvSv#I%cebe&@Yw zii6v8l?9BLgLL!m3&L`|=y?m5{=~6;B)`v6Zt6G9O2cw#cVQp{FU2)he*SAY#hLJi_(G zy{b=)GwD?qFx)h#gPg8=Ea;^jG&-Q#R;geBf#K@HcMa57ksji*VoKkLG32piD+%bg zI>~f&vIer7#w4I_v zYGir7kl=gD6G!+t6|o2Mi+lp(q|n(@`(_QFN?DBNY07)RJ~lo7IWHfM2WRcalSYr%msNb603Dv|)<4DJnEbeaM@ zJX;fpK>>1#eM|UDMr5nN?#xj4p9bD_|EwmASNoreKNc_rJR6g>r}ZxzSAE!WnDS2QB#d!^SBq_%yF5*|eh9-)pB}!*Z#7LjI2(-Y z2Xll^T0fv-v2xf$AXIVk-`esCutK&2u7L9!AIKNbi%rE&18aQGV2qyrr~diZP+K5% zZPGRV)U$XEof(?R3s$qua4&b#3N28=U&~@)s|x?cCZO@`-$9XGAgq+10hiF_9r)b< z2N#P_9QBq^b!K$)5ueIT^+gJYf6E${qlM|OWArn^mK%dphi;EyTQ+R|tw0F)of`dZ z;metR5?WxOm0Hri_l7(X={Q#55YDq2@&efR@>>U_vDA9Aw;=)Ad0nGSA`_5U@RYWc z%j-F+@s0YM=WNqt$U*kQ9usZ+JV2MCx|hD0Z|0&S4L8(Tuln0R&G zB*a@M$svIxv8P1q$O%||cK9B7k?K6Mw6-{^cqYp4(Zv9w=0#2+4$Jx2AqD#hay6AOYDZ8+YA*)wev5`8&mHV~QhqW#XAy|>d=|%*H@U1;Np5zAgemX6r z*t%`-pu6mt&%S=FUD3u=CgJruvJcrUxkujHAN!#TsdStom655Aq-jn2$L6jy^_0fU z)L5nVItF9S!AjQe9B5zRg5N1Vhe2bmQ8}lsk*A_k75z@*{1{IpdB7#HQI-2|25l-U zC^b@G@5o>c+LnGy4+?V1^nWHorCrFJD@c`}e^bM3{uO`DZ5~Z!&eHt-G}IDot3Ios zFZ}OMwi(}ZqY$)|I5|-f1 zWi(i`e4Jp_M%)@hO-UGeAr@rffgffiNyT%DRl!_8?qnEadUxNmyE(WYiIW&TEMxI< zTms0^e8sHA)LLnC-ZfIKT}N>6i0@O)xz6vw7$iVq`>nCcwSBTv4~kZ+UGg<`9x;b2 zzu*nh6X2@Yk)CNB>Tg06=jI2NMn%8Q_}ArgeXDTj^`GrO5AZYhVZZkWa`*;sqMEYv z=F-0TUg^uvFroC=40ctAEky#-)iO!vKIjt6TvJ4j3t)4X zjf#pj7m$~S3u|DnGD=1X^8l%GA9!qDIjCUG8g%6D#s!4zv0gR7JPab-N7xhlk&g=p z+aYUm`9ogSiSYn{xNt{zSdX;`UvTHiNxKGB{*qU6zyqWLNgko(<)JkvQT-{p5y$xM zzB8o`TC$Sk!MulV#5b5tngbNKV5gd?K2RU@RJ626QCBvZ&yfvKRuor}SkMBi$Z;M0 z^?m=)Pgsu^E2(Mj&)bg==b&3seOhKUiJ7x)RxooW=iSh?20UfG_V zk6_F8!k&X+_PT{-tz}ItHnvVQ;E|Qy60X&`o*=DiSxl(P5f=?Kuboysq$ueZ9mL9U zRRzelU3VKuW*QO)hS|hu#ehn=03av}j{ctQ6X7mgal>yDMEueijS1qxtNkA&AE!?r zj4l9@ghyJ_5*}LHy1CO84W8~kv3MTW{mDht9M|0z;4;2>MemXaaq#=a1MG^{P<4vL zNd-%BeP_m%-aSm&2Z1BR_e{fCF-xEdJgEyf!dQ$J5gqG#fD>>k2B^Wj&Pd!pLk3l( zLXv7Jl>YvnU5btzEwNy#0o@+g8GN&|9dVgH`exGxGzrLH1|q~@dk5I!UVQZQ0}CIW z=@gvEE*T*41rwr(s7eYpDq-R+LmZ%M_Rb)cDl;5e&0a9WWwvI`iM($=F7y=Ce!RZNbDFCZ!enM>Up&(m_=|4M%DwQf4^lB$$ zZJRgH)|)vZ`mJ?1*vU>{Z7nxAnA?U#ZPuZM-fRJ_c`1ZcPxXWjzIjDb>7}FDb};}I zRhUvvLfvG1z}RG}Vf;&OwH7r3(qxk5dMdyb)|hDliLWY3Rv158LK1CzJ)u%#r^$4U z<%wb{kk<)4*K@5Df;&Cf1<`o42ViD%7YAac;4-YwmXVMZMM_Ub*fcxYH1bO(m&mkvUC^hXeVv4RYKwj0v>Y6X$*JY{7Qd<+~?8#hdzS9K@^8H23s zXL^SF;A1eInSBCT7c*GJqfv?Y{X~;15kkW^M=N5}qH zD={=FGh!|3u)P^e!#L9-1l#kP(dBrAvE1fnB(A9ph^f&Hg}W6~GpqH~6-*x4tWc5) ze$?iYlY7f-Msuk{#YS5P#K;9)>V_6U*u-4-Ya|79TdSqbAu7H)L55h34#kR4m?R7s z%mge>!k^QvnX9RNHvSFf6hdFOazeWMYT2ROx7tzdwJ3t>)ld)y!^aHP2)acjjm*+; ziA$^L7UIlk7!igS0?0q09IsmP_|?qGqgAG!EqIY_YsBRXc_*ScfMhC1dEYC>azQ@Vy{(!nAi(*@%^8(RK1H?|rm~!*?X)gLe<<+7X0zzr6!& zwGAxwsw=Fv*$U5HDCxMD!E~w=shhvE|J`FOOS`#oSIj(x8xIXP2)7uy}yInk7(e*N2@GbjWIcdK@5R3G5i6C|^Hd~E|rp)P#_E_L*^}3f! zh-L1G?m+W0R8kz<*rNf5)IvfSzqvVa7E+f2eKELQSwdBS=1I-VypmeL3G^<3I1Ej^;y5-Mc6MpQlg$8;-BuAU2s$nu*s?~)l&nH+ zF5iWQm*p zv^=80gG{p9>`#{)m(M=E|L%z{u5GKV+c*79C5Ws`TCf+}4D21DJD8E_7f~7ptiEER zr^M$h>~YD2^LDHggOj^&;oh{@D?6Y{MjhabF}=~&q&AjHX-svA#>$kKDiMlMx=+1Hx0szl~Zf=s=s`ANJXUOi&xo$sQ-#_seyj>pgSW$P1K>Ff9 zXIdxE+qGQ)(@23MOWUX$8S_)kQ3YkfjO{_N znrhxXK)brtm3DQyp3mgG_O-K(zFDE9C3~hdFPTMi8TaGSeBDExK{2K4(VqFpMi3zl z1G7#h6}kc+of?u!i7pKIM=q37)`lDKr&wr4}B`(ni~00YhZuKxJRlU1D?R|)$?~o zToVo{ypv>n)IG&sY?4ZL*@|DrZ_xFCfE!DP?Aj8KVmZRWcvTe5xYVi;gm}Z|b`rJu zTv)`^ttU+lQG3wnExo`&#+D^ple;S7>wwsV649mxn~I>1mx+Ix;v#B8>KgSLa>vy! zih_Y@qCuWeWn&r@Of!1f%GM<7j%xp* zqg4x$j;ceR4403-+c|czTAE8Lp|I?$*nj#;dYPANdxfU2=Vp!Pfp#W)vk>>?tPGocS zin7fbF*EY3Ne?4dFd&{q+^*355mm`a4gecES?(OrZSpJbb|==}U4f4oKE3(?(HZK3SzVcZ~-(#hN|~c%TyGZkKwP;`CjtK(!tua@IEa zh&&2j7bue$xkYllPU}o^JuMk0l_i2x2(hx_W69d{Cdt;R&ZB}q za;!Mn)eJR32U-n}n^FzaWxkABQ=^TAgLpzo6*FsJ)tYVbUK#nmvv*&JW4rV--vODB zq6F2J6FlD@MbB#JrW~NuL5{G$OL1pKlBK9_Gf+6A@irTV8WnRQ)uYB(#tJ_XbiOR- zC6%QTouEyXfR&(M8u7HUR(##O(5i`}dv4~1l1Ml7bGwuS?vee9nsX)|c(et-e2_`M z;YNOlkX$?WM_MypuCqtQb%Km#I;-Mgt$kM=$2;*w(nt@CNj|P`7B9L=Ve;4pg7uV8I#G45&dAZ z+AOg)c(i-G!b)^K+*(xXQ5wgr*3vkOsB5Jz6>`9Oa#V0ES@1sPwA z4yT;k*X$lR{KCFf(k-9x_|o{9`#!7d)f4>$*c9tq7t2FWGHKiRro*C(4mJzpeR*GJAqiD&3fQd!$aK2-ET%4r8pbaB)hw&&I} z)bwz^Ava3XvKT{L}47XK{uMn;M!jXW?RlA!F8TjM3c3)%JuXz0>B{ z;+4^oZt$qktC$EQIk^Z5B!DDfT`BOtSXtTzk5W*2l)%iA4|}wTcWL3EXtu$;2HxiQ zc1vp4p?Nwk_ZdDDX7yK*YelZ9$kI5488X+uJztqxKKfrwL6@fEHEfY^W7bp`MpSrk z%BkPS+~s^9JS$lhi<*#(M15J1q}oNhD>(^MJ;jftp+b&?)upDRX$Y-~8%wN;6i5qWQX#t{ap*sh%0zeG+26Nzo$t#;mGUqo$S@zRgfQ z?>Uj~YC{V;7JSzCeg1L&QB>#0g!`GFZ16_A*Y(?&TrYxd^%_^TD;?}=1#ov z*E-}bOvP7uR&htaDLFWRXdpZz868Wi=oyIzG7zNNL#HEI2_v(m`;1&z6+04J5lqQ~ z$9KI|*jwuRze-YCGDh(XYsN^aehpJH!fasaCT3kI<5F@VO-RwjN?!amS=PioD=RfY zKRntQaa9v*L1}6&EQo^TD~qwi0_zXX#^Ak1e;DG>*so3MGgx8v&UUUH%^ozDUmbq% zIP?z<{qLe&Mal*a9Y@8+%wFgzL+uqgUByHTgSHq6Lm5w?qT$e^D4B3wNq{uyf073; z!1(zWyzM?q_dUPw=V&>r`PUA(qSV(N59aKvmbd0QSk=20|6v*3BRG^-bSq1uXFi85C^59rc+8z=cU5^URgr!2k0M9ROKU zXK3m{bx_43%`+@1V*S+g8lCHG)a@)}j&@|%b^}1j<1<#XF;n!s!7T%X-eK)~0+M!D z80}CLD-UG=6y`n!ATv)Y5bVMx@Oa~D582Dwyu-Yzpy`It!4~VZNs&=u{L~ajmY%i| zSyLPxv`DYH0U-SG8LgR^DT-chk0Zn0y54z=+`a>ob*6IYN>Strik_LwLgslWBUGnq zObhDSHZ(BZx^6sNtF^7c7X*&*J1f+~`hbGlkNz9mSs|F+S{D%(%Qw|6!Qto#6y-g} z{g0;SOn@B2JkwMS45x}kfNIIivYDa^mSrWQ*`{;)6<6)B)CgRoHb?kjO-=4?esp*t z{u-zBT6?oTM{DtXd)33caQ4^wJ_g`3^-%%f|4Yb%wi*Tmbe5be365FEP{VXwZCk+A zO;y8i%2;?PX6|wW1%)aqsCuQi3+ygVFWkR=fea%jM~dy&aFd-MLQj6{^ad_Ue>(G% zEdu&0MFYSW;_o*|kQP8=>)kypT1#2jy8J`F8z}%FwvquenRZ~YlC=Z9pmhB1wdTJf z@D<;P1pcN9L-{Tm`gxgZmWV?I+h~-$0cWd?&7vBnRvvvTV<5*sjeU|*QT1|&Ta2A& z&QR64fl8UVWPp7at^y!CWyKD>!8%?vSs=SdScsuim2zaAT*>X+)uV-r7%<)=ikYO% zBvO=4fl)FzIJ{wPU`mMKd0r>xq=P(HEWtf)7C8)MnTG~|wE8mz=CBob;5s7!Nt-sk zNl+OTpn2;tTS4kRsOk)o$m1ZeC>tM-;gtA{ZO`B$Q~E`YgTZuR_Q1uj4ENq;Lj%R#vo&$YOBdBO z`NIcnHAEN8!p>n%Jk=iyUQ}_a{8v`cnAPsN1-eO_^D%iwrPmIY`#o#FyoCDlC)W)8 z80@K3{mzDfloBeX6O*i(L$lIWd(@YI{6H1(Q!;kO0s!D#VAy+u(Q1NQTRTI zWxVlFR_mwxQ>tYp9Ai&VC3tu9_!+FF)6LGnrsAV9jX{LoO+75r``UstPe*X-=`;e> z9@-30>>=l1f-|*-Nxg{%vEHg!UeY4|p0ltxekiBleOcp za1F^Lt|agMQHph|e+}m{;6qvtvf99VNFGK~GI&=Os9&OQwD1)!c6J+0DHC@jLo zHQ+_O>v?H}6?e_GLandDAy}749-tUSEl(f%X@;p-DX@CI?7sJYNI|kFld06)~xv=3O zS77Ix-g{XbtXO2Ts45u)dA*G#L>tEZBV*e36G&Z5jw2eIf`@rwEx*xg>h`Y->8yv{LX&~)QJSjr_A*lscvqt2 zXf&!!KvN^@5v^neFT|v(WFkjIu0UIo_J~g6Lg3+u%4H&xqLQyUOWQ;TjXWJtrB{ps z400nLN94H%i(UV6Mw?4jNigUoS%|Q|X^~L$gjt7FtPBBFHI#4YWCrO@HAaSlN))ji zJvUOz;5F?Nbj>6{Lof`gD+C96zZ>XDQkmTe?oU@^_jvApq_$;nfPc3xdG=uJOo0GNWl8$v#750tIBN(c_LRs*%QLA?J6!EjKfg@K)Ml%;4XIe1KBt`ID! z&)bNu_K+WZ@A#VVE$+P$eoKs?7ljT&o=A5pXxMbtdrF=md{}!TW~l0i210JXVkodg z+A=_4*G0_2CNrIj*kudTS(Ysq<=2>K%s!7@_6*U-dF;aFx1*t(=j9iDhw4{*ar4!K zraLb{7C#%f_J7Nsftp+4=W_#%{-x^yP9!-cj&?L0#H}MAmj5XK-~5IcO3bc?55M|l zGa`QVM|ufk(!qcW{=jY<1OEgd`H$s40KrQ&<~ZBg2yn5C+u0|-Yk!I!o4OL{kA7z% z01Ph{ZOOTPMO~99QAH}R*9sNlP2j|^bR8-xiI5AzZ@3x}0~{CzH83+nI9$^wrVu}_ zLmvpJ!2uDd)Z`Slz7Mhs5Q8K{h zG4ioh3$gOH&^(#bu1c4|r3RP%muOBO%tVn+G&3ylS^dMO!9SitvlR%o%={Q?rVD0ji5x^35MGHan#TEPnm?_trTQI}yTH(tw-8cngj-;V}(&u1$LKXnM z)@3U-4-aOl`S?xn3$lp}pJUpprJHaQfb5D)#{N2xs{4RQs^$aqy0ksl^*oSqmB4$; z0okV4HvuIW)UaVW{Z=S#QYRA1l0!Xm0zsOjgriJyzf?9UL}n4}En-EGP~8A%s1%aw?rcGP9GG!j#wCDvS>1&$CEwT{&|y1{r{E5)Z?O)6V1CxBu?sX< z+@atNpzT>}Hb(5Lr%m4hINwjdi)Y^j&|Iez6#w3!>QJqK)$~g{;bj2uJSPCTVVY#x zx-OoQ03OuK1gi9%mqgI3N$UP4m30RtA%Isu=Pc203h?$(*#Zzik}=yV=lBBd2Z4Vg zQ_*m+xWsSW)&dx>PXZe3zA6OpW#9!ntjOg$Z8c)OcUKn6e8-8vd!P~n@OS!x1hDWm zL9JLF+pLk%GVJ@yIh+&iyT2jFxK}#cMbkh$BcZVd&GHRkP!t@X zL!fq2JW}6suU@#!9#iEZfSoVfr#w;o*k=)4=g9uciw?4T6FY=ICmy~_PIKpExWtau zc4m@qkzLq?(T)E9pDm|*U%v^})7MkA(Vhq3^4%*>jPuh2Sr5l@U$C-c94BmBCi^k3 zEmaTSi75yVTsvBpw!iP|g=bAL=?86HIFFY%mkVzMqiXt)^KSx6xRqH4W&wxzW>|5x z4Rs{cb*hO|E46M(kMQ9{9u{LeH$hcU3SA1WkWnX!S(;`s&S;oanc%{^9GFd2Y0RH} z>q!GwPXfrq73}lopSr`ZU;cewPPk?He?GTiw{{rsx4*#ROjH7o`I631l9n4l_^Bd< zA4onPHr?(UyALXpNgI{|KLj99HI zi5BaINT@yu%exX%Y2J~xEqx{B(uzZM9(07702`FTL{S$Hzjq#m*0>uN!X8nwdB*xK2)V*VlFh5WoTK_0>E4 zCGGL`@RTEk;v(tyI*wha!qJY2ZVas9Oq-{i;VkR$1n9ez} z+=<+McFp%rq#TCzhc}!b%CU##!+!FiiyiayFaEX9&RAWB%S5DV)j1ttux9`D&-p@s zviJ5xquGqUUWb0FQ)yxdE-=D_ zCi*=&S_Avg-4)Zny689j;Gx{s#%|itNi4~c5dP32uJ6lllO8@#|1e$a@F0iFKig~j zbfHR{{9(;?ezX7f2M}>94uXlFiKV(Jg0RR*wvL_1;~eTbs1Hd$$Ne7nO?-ZToP-D} z!9N}@X(8HQ{N-QFIAd9nzsC2kLiIqpVZAO-K!Sw8r?UL&^2_}vEZzywU}G2%vI{D~ zufzOUzPb!&b%+legb`;wXYLcQ57+l)C{Ks&KoQ&y#{4a*7Qy@-aZ{OuIM=XSH0Dmr zI<-XAe3ko}pwRQ?Tcw#w)TM75^JKQ2nL5igcjEsh$AvV@H=xsy^aXu+vTdd7;?t`O z`W)Nb0D}DkGl#mD3rK-E*iec)kie4G=^niFtyUy7St6}z$M!YadvBjrFZ>}#QEYBE z7{N+y#i1ZBMveU7OC-qNfasTh?9QV^h{=ezED4{c)0d?95Gnlfy~^OEoc~zxDfDgM z{fw^jZ9KE+0u{D|IaD_+c9N8t5*>%-^=U_v5vp~x5!*#QDs2-^QGY`rL)On7n_abV zetxH2>9vz`Z;KPP<~pLa4>rQ3OmW7$EGjr;OHLDl$w3A``N~(neKvlPh!~Hw&5z8< z5}@IcnNMN}mt1FJ+w09ND+wd53=< zjt*rXP-p#l>XIdwz=K!|a-=NZ_XgPssTiz~Dm!UJV{cVgZyX&b)BMnaCZ`};bn*19 z=Zm*Ke(TSFo=h?2rqYt!%t7q9;Rkr+rsK3z57WsyP*8nMv7E`s9yc~2uGp#sc*+Xl zFSxRnDD6V%Wt;E82C3o;van?TD;cdshrsf3?z}bQLtK5IX>FfvK+f`NI5OjIZ6MPO z9<2N(@4Qu=zsZ=@nq$~@gjF_TTcMdCg~0!Y0?4cw+f-xkn(e+*MRavk%v@-v7=BNg z2FN%W{P8%?nl@h51A0-z+x0(R=yUPz{u_rJ;+J}E8?c#T18>;#PtLhxj-s;kA6*Fh z0=v4O{*%*(lScrVRsri2eiwPgD<$uj~OY!)yb`HYX3j0E5P}{RmwMXXWQ%p zQlu}wyQ0V6nE5B{#r1k_2wW03FRA=reUkB{$Xi%gTr?um-8n(P$r;$4Rx-K&SW%c+ zLEf=wD+muSvO8rocU$1q^SU2t8-2*;0iYxwaY(lNAImQ+WBXud2MD`@%aqG>P49%j z{8QUo{pwnvIQvb~lCM^9PyX?K{Z9ago9WAQ-q!JXaa=&|Z|LS$QYk~2tA8+^cYvJN z*YAG3@K0X4d1Nf9xT+iqv9^!Dwu{w#!8{v{v|7%LwN(Xo=rA04dO>2s%eVu3yn!`> zbXhn1C(CGq|GOZmXUD-xb1o2oW;p|xnc>*X68yYZ%~-b z1)Ol*j0nrg0K#_j6?fc}G#kH(J-2Ky)YS0OTpAp-NyUAv&eR4VWee9cbc6|2u&Ym{ zYh^yG`+$elVrby$B@XJgi?2lrlx;v+9efsPB>2bQVX_p#vf+5%5>%j;?cV}XG&z8H zDFA983`NcJJDNbLvix%;*&mKy@Y*BGTtK5{ljJI1eW*YDT{Kv0#wQr{X9JcopZS2El4IM5q+FA;=gq#T6Qt9PEQPGr zyrAM{8Nd&d!uYC68$JvlecDefSD&Y%0O8(SM*}=3#Y5a?K=#+nAl|hYk9n%CA?n!- znUrU0yb93H7i;VwYyFYc%VXB;t=SdcST}CHsKBv!vX(P%Fxn(Qt54Xls{MPPevwZs z5iiC2HW){q9Lgg;1Lzfh2S9i&-Hg9ll)bUd@P7x+xOM>GZ2y0jd%_U=zt%L;+DTVY8p z7s$=iY?O$PmkU5DDT3hD9nVu#0ojW>Kmf+5!*RqTT3}`Zb9^-vu;|hv;APs4Kk@hu zF`60bG^?Pf#VVt@Lp$|J=~(U;=S0;l6~v_!8zgg=f>*^5zMIJy)%Ub-*5+*6dzdSZBX9^6n}OA{!>HX9a_)nRSL z42v|0!zj%R>(iu}lum6i3Lb_uvz@j7EN|cBN>>N`!W(rRMt-L+##earV&8#xzqjv^ zXI~!0pTa%NFTx|x-J3!ZMYMvG0AmZ+rnG4}%sDD88f$wX zbzENo@klM8Y7NtYpL5FXmobCy0av}I7d4%$P z+?*iRsboxACs7(aFQR5gN&&>8p=eo!>*mhGiWUNUHsf=5#|Y@XQy#KpoILBP1Zq7s z1og8X7){8ihj^P7InF>l&xr0Vfa|NRj1FkO<)!3$5ULc?#fsFH3Mo=mDVG_x(hxzP z8!!TXx3(T|SD(_#Dp>+9p!IXw}*#~Hp zX{4+jAWK2;F$LAeJ$$0o&%~QV>fbUexcHMFn0NU1e_yFI7MKH+w=OEi4d>G@3+L3B z{wLT80@YHm7a;lj5eP~gn0!Yll0{%zNs5G zWMn!nB+th25I&sazXLSlqT&2nz~2H%da7_sb|)JBV&&l777OSXIj7?d1oFk|qSN63 z$QQZmcE=)hZY_nmMfFu-EI@2Jj*OCCWdN4RFTW8+uvdl<(j+B~KGhrFgPrmq%OCvz}MAI0VQ7{bm|JOcNfm%__uzW zmoD9RRyVO!I%-h>*oH+24Jj(e_;&4A0+eIRh;~VcZT&BI9Nh?OG#c3<3v9$`mZi++ zJ%w+cT`|ezh?BmS##TGZgYQ@o17C#X_|JR@1srfscD@Ql? z$P|JtvmOzIzjD4ZW&N9f&gK1c4uLX9jqC!F2&-G}MnbFJkl>%q01k6XIG2-+K<<8T zJlK``f>Vl%FCw#ARsKTBqc=Pk%w{6|=?^c`kCp$F$nUTV9Ody*O0c>ctKs@=@4%CX zl^AW)1~bx^?_bRDL)y$}>-C3BfHFU%CE(Dd?P4!ropv))T3WBbmDwU-S1U-?-HaS+ zG2<+Oiu|?oe(uNUL5k`=)*H>>xATeRcs;Zk;PTBuOx?;D&cpaCWTxU^9m}^vw1K*C zv7=!iXiW9hC0WH)VF_K{+P(k|!Y)N&4h;3I5YIU!z(J_Sk^#cdW@!~c0GW9P96ZG4 z2oU-cC+-Lb&nai&PY;RbEJ=U_QM3C;1Oj8snqUOZ0SH}sUW+3L!3J<}nsQXYVR4IR z#Q*~M?%U0sW3?y%0V!~h%?d2R^DJ3m4nk$}gm^bsfZ#bvR)8RCt_2R$i#Axar~!l^ z)q4RP;DR_$E&w6QQmP{ez7MQc#DIh()v5yoCQ}#0wAXfqcvm+*Xz#$mVvs=qf}}v5 z?7G2fE{-7ddbaL>gOI5UjKCu0UJ(c&kDdWSuSu2y5WuFEVFWAHM$K*+L&Dd~mlF(u zy@@L0H+Pn@W&?OIvomJww{@lOZl$ku!w<&jkUoU84%hOw^e-V^Cllc18!ljLuTv$# zzoMF%0UKs)qesUl7dad;DUbT;!O!#VwL*c9Hju0Qr$*KnFOx3Wet_G82Rp0|S&`FH}1Ro)$ z<K&_piO1JW=ewmHEY6srTrvgXY-8(HQ1sPs_~ySLgMTAQw!?J~Tob zSaO`5BewYQ^@aC-!A<0;NF=b<+$i47Icdk!u_iIy%{}d!N<&mb*r|#8cYHcooqQZH z#&9*Ak>HvNKp>aqJj1n(F@lM0X^{{zY5jTfwpuLOA%_@%5dD&>00eg7?QiaUcn_2O z12-}}IGKQ5U$X*5jH6QV!ze~thCsm|pRUp)6u*A-Nn@e=mlW!9WR$bP%+d3E{>z1E zl00Izw!030S%Z({Yq=v>>55vbkvO^%j;QKv8K0Rcfn0x|zlExERXHq*#$?%MzQy3^7CbV46Z(>W9(s zWn)a%V2rfOjpwl&KQ1OQG!8dCLj^i|3ttvM*-XLk1Z-w?$I$P8$E)AQLRrEKGA(S@ z`mj(g0f6enSx78@ z$0|WprVU{u+U^9)%v6#)#J6nPb?sS;;NTBZqY|MR7fY~g|GAsTGO4A8Wx2m{J8 z0_Oy_x1O-z3`;;UDiS8dh6!weAP)%vh={ym0vr>FP1O^C1ZV<#Ah4k%K3BxVKwmyzmkl$Cb1$*0e~F-{v>^ zZ|OmJ$AR|DbrR?@1KjIj=QdNe_Zx#GeZ5)Hz^b$%b*N>v5hGT?&;bQLm1EcHiiD#lg z^nL!D%Ia#pPmJ?HTyc)1dL|qjtZ%I~8_kV?{%KTH5IV8LbeE=S3h~_fMTZ9u)F&NO0~)eRao3Vuy|7Mvgav>C;R9s zeCZ8Dn_1owhWqP5GTaJQO{*D2Tdf(XW(wv;DLmUjP?DR%u3kugI&be4zl1a&Ax39K>vO!& z*U`k<$!f(@15mG#KARGl*c-E)y#jQ$){{$z24!L~O7rAYtvnf^zbcB9%}BP^E-|^r z?3VYKgeFaaZDs7wH7)LuetuXI@aoF{FfTgU3|B@x-!_Mri*@xopnQs~b*d+lJ(dT4 zL+Yw=qvy_<+Hy#mS2S6KY^N?EJ`R$_19n~dHn_RFelTU)^|YdB3YB72sARk`BA%&X zY~9?NB}h3nPny`w6G0MXIEdawT=-Fzq3`$+{~%*1R%M4;-k+Dgd9|o&B8fCYG-KHV z_;ONLH|`y1;W6t4Mk4%Kcq;$H3oFV&h_-8d4eoCLC>6k0N`-<uzOz-#p=c$`9-8-CKM)1*TmN)kK@&^n5u*K_mJq=8mkf(A#kg8w z@LybK^yK<#jtOBWW)7nHl{g7)f6}!rn#q&dFI5Bh59Uc8*jm)(5wxo2Q2_jl)*%Ov z^@<4~7XKBA4G2*D2j>+)(EH9HApauQ+Hzm6phM9`U?XEZn0MTpC|_O}MFQvuB()Cb z>r{wKKAnoomuCGoZ=}|W5(e4J1mOqIyZ$UTtVfRq<7hM*>N*lRe>$Gs047CFqqg=e z(zHN^AyNmia1kW(Y-QghE@#YUm9RCBj~!C%8O-p$<7|(7{XCiw8fDHS4Gl6-`xfA* zkZ)uuF_FRTQfmwjrMqF(-_5>(Rt#R3r0sVr?|;pYn=4L+Q$!NCRraw< zV%A!*TDvK_1Dx4VpsX77g!%3d&?F_Ke1?*Tz-#yvqzu909m`d?+)}9H&jf{>vExSo zlEnK$xw_=MXjKV0tFAYnvF)~#LY4370jqe(3!iq|ZE9bb8>;Qd^^DBRC8}$USn=`q z_f+LCnVJsc{k^5g$mWZ}nNsB|>3U^-ZCjKor<~s-9UZoN8z(-buNXf{;1kcp@>r%u z&t0QqK-Pe~H0abDax9noz#ov8fJ9uSIO%$}4X@7+T@PL_9hHayyEfo47^c+=BD@9U z`lWK^23CUIn{XM-D94(q1a^4@d;t;o&RJf!rWiU5w_#L?BM3xs5Fu1o>0c!kcT|1` zgyJYaGz|kCXLiu<4rCIV@*@{_>{&-)$rsaVckF1HuJ(nxuc^5u8> ze`y-<4Vg*EDotIRYNB$&m^kHH{P5}=sjH@eDqC0_5Z{5$0a1zA-%)RwZoK^K%IF6M zfBn8~fZwqk2Y~0f;0c!t!(9B2J_GYycd%cKhsR70&s|3dv;WK4duTj{^V~Fv@Nh1F zmV{}{{{($7jOWTjeJf!6TA4Nge|-}L27lFZ`WTexxW}<_;7uFoOF;u!7^MKALZrs%=$6iGxe7L3#7yS(N=^3x{Tqk{Vm!zk z;^xD1iXohTcR?t@=RPeW5~S~W-O+k2sR^MBS=U2o=U#h>Z9kx}b8)*#Ik`@@XoI7n z_8^K;CM^kj!OpRknHa3`p7UwiPDmlfOn7 z8Q6W900fB;i2V7k@XBk`E}6vS`g{bOw5Wr8x|Rboi-u)_%+0_MX5)2a2>N=h5dqR` z3geOqV(GoQIs$P=-TQ*W9IU)ka2mr%H$1v&F&PkG$NCAVKK;=~!VFG$oarozb_IBSSZ;C9pST`4psuOpN9-phdGgCX z)r zA$iP7BzI~ID>q$)^u6-9mDYdMujg@XgYoD+yvfG;_S$Yr|99rDS9!Q-$b)$aMREzY zNPj|5MJoWPN++!r`x=CSFS1j|7Zo#eZLy$srqcOnjy|Ej4l&nwg89oos^37v(T`{G z$C&jm#DUO|q;9_TrksIBTK(Ub6i_oJw?UFhdbKQq{5ww@hiJQt6c8Sh>!5PC9Q^pJ zAOG~rQnpz(Rt1!_>e>lfs>QZ%(^$wJBC}G?%HhesY||7Cq$%Ef8HuVY7NQCwD)F}O z+JuU45u#(&w<>3+qlH3DD-m?&S|?!lCpx?cix#Odqaw;EoJX6&&^H-x&Q|F+r1M<- z?n>oC!~J(6$!*Mj`HEkb(*4KZdVsp+>hSAp=6T|Bw8MfzdF=xikJs*yXE^2Fc$VrVCP`w?Pj=$O!#^fYn^~}P_&0u-T9HwKT_`qXnb zijNYHcPJw;GM%gl6B%K8jYE)qyW7yn^PP@7^|)(=qw5uqow;JCo0pwMsEe-zy)1er zr`Bbo?R=4iZb&^ZoR$YgqtXu;|;xbo3nmS)IT5h@t2UW+HWB4ZAEgM_EeS$EFMSVd2L$BO^#cH-LUPi7SomKA* zL3oV!+q-vMbx-@_g+YJwviv)QdEe`eFTVYoKcG$UzNhfxc^n#iHIOM(2HYo^t;Y>xLSw@j<2x(mhx=11ENXLFPh;bz^j<(MTAsCjdIGsQWg zTy$})nd6vHYSs*6hBPLkuU-vf2N^Qri#4URuiY{uRHO=LXxi$htT*4i`wu_yN@EzP zHs5G}`?pU|yqThO;m2Pw1kUbdBjGLPuH**hpI^RJcEr^;qqvny6^G;3%v*`kM)+dfe_Z7TD)5!FyXZPl@>TW$p&kp$er*buU z?Al9KR?j9$gibKbw{3I^(O|FOY(gieJwIqq&|5!<2Rm4u-MoXmXOv%vVy!=S;y=bnMEC#|F0XJ3qAbnL9ugO(Ev_--Q5zVT&K_% zL;%MQ-2ey4y^4Ge_;gY%55R|KyDmIl$E62;MINu;9}V}> zGm@S1E_A(f{LaeFza%`b@_zn-SRO~-W;BJ?`pI+0CtrFc#YI{qIGIvr{p2n^JaOGQ zAL;Hmf5Bc|UtSuQ>E$81*rk;_!PV#q@t&Fhn3<93W@fyNpm;GY(0K34g({6p+M(o^ z+6keR>Lh8}&5e`T$h+-&pxOGgXu)cZLdGuZL79?-spX8NHjlOE)TR{{tpH|;l%Z!z z<@5Mf8F;s|kz}=Q1gu&r5OXu=%lz;D&Yrhghi6_-t1(#w6Z#BL4PVz;&50A&ap2ux z5+|OoTLV4F`P&)~wMLu!8E>%agMRN)ztZs4ANq&0?f-<$PwP(~u2@|E^-i^Xz^r-Y zp*aoym?F9*txl9ytsyzK+%cVB*OfM(%BFPKbWIFqJ(dIct+(~wipSKC@xa$M%Kyf@ z&KK|hN8^va!PDv1oouurwsR+QjQWz+p6q1&F@zS{a-+$|G87&;XWw??0%lLfQ>^8A zqIdhS3>proR;-;{(Ie2WwD)SPwfx8<^YAOlE^D>Qrw0@wzZT>D526p=>>#0LE3&gU z3`wu@^^07-uxdHnPhFsovX`(L^bX$lkI~-#Mf+5PF4?2_(FWCC)n^|HQ*Fh;oNc6T zleu=#%LdGgwqg4;5H#RgRxVh8g6b zXrVm+agY9Q%+e~w-qFB|r$vhVSEs?bVW}6i{i79sY13GKTM(XpdmZvp3;rz{ZIF%* zfVEab2p^!k>Ost(2tO_=$c#CpIQ)TJ?wdvY2zcw&4_3t8FNM3`d~9C>xtGOjku(|0 zf8)7*3eVK1w9Oc_&Ft1D=$DL+-MqA5iG-(|?rWv+I++Q;w992!?bj&=aDK0L(m;(- z+%z*7PS>#=DCMkKk8a*{JqLbo*VgDg7wr4f61$HvVg?G@3tm4Ify4d(UCYNrB*?ff1DeSPZn`ktMYL4?7vUK2!2*DYbB!HqS8>qqJ=Jon-sRF2zN6{k>9-{mFZv@gNBu>XQ8Oy749qKU-_B}yVZVu&uov{R zWCv;%?Qun^UpehS*_~DJD{N4|iXM`XN>>JeNQTPG6DZ{-Y;u$;zO`v!eC(UOdIs8v zRa+rewrXl%YhAe}Tzt>3JX{`paPY0`?rM#0RJ$o4HrvrmknsL5??>$~xv>?G7XxH} z6RC55by&^pYSx5+B#Ny^j})7~*gxifhW~A^Z|$u7IwoIvXB+NRdo=A~VoVFI756CZ zvkxDkb@9KP+owE3dm|pNh%F>HnnRr1@nq2GUc?i--9gN2iHwxYrm@}^$pi2&c`d$G zYer42CFXAX^E)4!3pftmdg*$810$M8(phD#E%dt6S=WBb*=$e)7~8ZBlW$`0T^tnS;gG<#}v4Yel!VJCa#dv{49ndREm`%@)z`A zO#q|4`UoeRowyUSZl+FR6R<366F(};oVFT*Wh&a1#`%+zsTy!C*~dYymfbz_XWH{k z3mxm|lgk6h3vS>C8!%%P2y$|M4r zs-M7NCTr}2tWC#S5JQHYy)}-(&dcVm&?X>T2wuZ9GD@q)5$N8m^-0U@Nce|Fb60}P zFli8O44O7HcMhB$dY*%0o#HVax`YRpjs=nK2#?`f4&lYIT^l0#P~NO}>R7J$+|+dw zh@3qgaGQph1ioqY1MawHQ~DwEp|}7C{p^j+h0{&LGa}B8@1tEw0GeS>@7wFsC zC{t=D7c%#kUr52&Q*ssRv1 z47&6&0r{zv!NgSFps8Ky+QI~b@h}Fz9n1RwWaLJ~Om1Z3KvEztn7y>l1!U;KH8*=^ z-!!h`ER`hN1F{@kFS{0A#O1{z_dpQ;>hC%e?=X+}UTX;dG%f1>wj(Vecg#a^Ua_8; zmT9DMEV;s5kvCYTqHQ|E|?4x|N^Wu1!L{FV3RMn_(mlVbJ_=C~G3gPe*B zB=T!UfnyhWVs?2(#~60W8oNK%LZq|Km@$lYDhV{w{>jq7HhNoIpd%Wa+l2z??8eO7 zX88E$?_BSExHPfTz4Hq^`u?4K%GkeR$~fbJPpykCwo^a(n;Fy09(L6xMMqwpj4}EP zx6>2iGG5-<5AcTrFJk@U!wj>VD~8Pw&Hcz%0J2tyE zn6b$987*^N{9eXB>+JnPEfK)>!D+R90O82U%uLzDALF@nA^Yrk={K zEpO~Wj%?D}XyKSXx(L&w>pn-s!Uqian-urtnG#`M zt?!dnREf?&4Yddffbj5C&_dh07G|Ia<8ie!)7Zim8DKx9wr1uHB$ATZbzm%D@Gy;Q zWZZn3|2^};&&;*UHG#=4c-VI1?Qnm~s7RpdE4)1mSXi#@oc-u*%#hbfLA^^ICswwA z>!y`yBFSWn$C?8`kbeaOEq=U;31u%vVH@2ZMAlJ6sMM5Lh0rK>r3~RvT|E6zDPj&r@9$XZ<(Iq$ zR)#Cr6NO$3wfBkuLs^%>Qv%5WY?WkwMJ}R~72!F^Z-fDAWCd3XI~KJ;VQy%4VcPH5 zVB|)D@Q8pUcxb9ufZXzgzHQ)oeHeIxT2{cZDl1nSdv2t{IFhf1+q(^*Q+(`Z_6fzGPyi3QfaeN?h8Jy(th(8L(9)bE~;e?q(`yBix&iSzZ{niZ?8 z@(i-*PnrsGOf`AKHNkTgvNt@=sQ|01kb(j06#v-Qr? z-3rf4gny>5a6SRwb=rv)wp;KaAXi66LeSaB4QFQ4{N%xne$KHLkH6FJ3+qT@*+KM+ zi4zq3G&4&mI@bjZwJORAnpRY~hDvf%5aY~x_V!bphzDo-3)VaDT%Hk+O7WP;@p460aK~ zDfGVrAPukwE%+x5f81NFZ(Y3DyoS@RH*pI<`l zZx;|L;yatCPzCbHnm4Ecf`kJCRhQK)qSOVULo^hw3eYWevJa1oLVn4+{s3apYaeBT zBi`kCouyJ9^Zmr+s9_PW++NP@kn`UHx4icb)--th1OZH>`|&p(6X?kRD60sRKrY0N z4r;qF-Jr^1--rMDItw=L|o)x4dg`vejC(a(W6>7tn`N6rz2n540BN_-REMX7

4O1lx}X;L;~Z{+>p^Zn(cMFX`gptQJg)!o0z6R_=uaVSj3tEMeJX!^%*+%uT> zl<_w1{bYEM9$W1ntSlu+>F!y2hMiKng$#$go7t@BbnB|m`j&1yAwZVJD8r-v@DIGD zcs>05rMDN#MUX^i9yO!h~2JXG%uuKuuy6-92Tkp^;{a~r;eIEs{uU2$NS;@T;= zVu9>*ZV!Rlbqs<3KBtQ(+!#@%8hHifaX6%>dLV(D$FHCKdo0&D(N55bR z5mOp<CiQXr)38qcw_> zL{;lplo##=KVfs`-`BJ8h5c(Z6To2+T`nD`IZ}Lv`c+?bkp69M!KxObgbS@Hu?c3Z z25~Hu?ju4O5d#I%O|jaRv0Q=B!8uh`V>4KRd=WCbq7T<4Q7)5!h$dkIlt;M3Ge(WfDWKR1AaP18HoYXro>c2aF|Z!6tr1h`Vce)ug%7trxn%Weze$%xwk!kib4 zHIrm_9)P>qk-m%C323OSzNS#O{7aJTowe9cH&W>bL|GLvWSOFZ=0(I4&w zsdzRBg#KKBQQsK6w~-9@CBM{8a``h&v&f4DvH#nM)!@L)d0 zKe~UhS3UzyW*;#wwF=CZP8vb39A#e3yrNY-Qiq&`7F=^TeB>r$`9!r&@AX@Fu-(sK zSsu$HvM8srBN6Ezi$ejs9N_~S-ii+WT|32_HC2HsJ;*(1!q_Chp7-hu+Vt2X*)4e$ zF5FvvYYYgNcqZ{6PxxW`3Y8o=iNU cW7DJEL(go?1X9>hk0*H1{=a^=8v_FX0BE+xq5uE@ literal 0 HcmV?d00001 diff --git a/assets/js/fortawesome-fontawesome-free/webfonts/fa-regular-400.woff2 b/assets/js/fortawesome-fontawesome-free/webfonts/fa-regular-400.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..c3fba9e7b4522938911ff6a6f71f9a8de46aa88c GIT binary patch literal 19000 zcmV(^K-Ir@Pew9NR8&s@07^Ij2><{90J|mt07>ryfCB&k00000000000000000000 z00001HUcCB1_odQg(wAx1puiS2OtfCz5#`jT{Ws(Gm+~~I7(G(&EKOa;jHK=>SAUU z3h@7bPEKSDb_4KQR?uLWEmB%K5rj=;aZ(D-DBG(W+V*&Ay7r0CT?DC+?W)vduF+65 zOR(7%y@lZ8!RIp>n%>Z{-I%z#HhU8(sh-q zue}S0AiMp&NODcE)Dyh_|2qG3Xs@-0L$^vtEf9TR+vA6N&yp=$w#Wj!BGdd60IHI% zO4BFsy-s#-FktQP9Y~Mx7>BeNgs@ANO!TjJYHGYPQJ-T+Rd_QFIK?fiymg7T;1ozD z-X5V!yhp49&UJL$vJSsU$1VGaRltDvzjE1sLpS0?%(`~_A)tr-8qnpcl9V9nO3GAb z3JYv5yG;$#ey{s8uKuiMvnS}kZg&+PN(N1?5d@7#^5*YON5S`fKh!dCs@`f=)9U~b zNFkA-jWPi!G5|($0Qml@EB~KQr~hACD_`^H|73AHcbS!Nn?t(ONy9i**x12fu)r8Z z7pTmPW=7hh8EIxDiYUznThJZ*8oAUor8}MYHquFF;+SInHREya^wL=ngmZNC(0?DQ;5}? zwR0t_^0=rxuG}kh&TXTnRp(kwXZ4kN-r6wB6YIncUkGs>Qc;qM#Z`45KfCe5EvE^E zwfN(gHip_??AlR4#ewbqb*LqJIjQ|I8*ms7c=P%*1p=tG0|0Sx-|;#H0C4{BD0<+u z{6GJj1KG$s0SX`y30l^fc}Aer%Ac;u1TLz!Ngx^*@q=DXH)WT+Zxfav3ymQXJpoj5 zq`Hvh_VxhX`)J6uIa4>@tz2{ zDG}b~%+_`dh_KVF8$On01Il#?)s_-s+Y&kRc7hf}b_#h+JC#2C>@*xqv(wq5)h>q# z*cmKw%&tTapCZ-cNY?0!iYP?@j>J>g2|^;@PN5oBb}HZat)0f1aI@1T=bLspw)o%9 z5Sf8pi8bYFq&ku`$cr+AJ|)uL(ChM|#4M|iOv9VxFC1VStv7IX8rSai3!R~5J}9%pqMRJ4jCUMqzXG?_Wl_zn62O$QdS5)XsL>1Nl*Ym zf{|b?3TC!oJ;?=}<3he@6#;A5^3ZmeAy=L<1=6KTlQ-HFNz5Xw7{u@t3p!Fdja-1~ zaD}r}#!hrear%^;q=lKv=weBtXev_HV1`g>luSt=k;x1QkUgbBc~V}=F;DIYrAtar zu#l9>t)j-^Nv|beiR% z?biE;+pk`{a`(;0Pv1t!adLv3B)`X>@m@$NYI$uJ`n~VpdGO@II#kxRSKqn$YF!^GVz|J(JhagpEXOiLXd zqa!`n$`BQE*>qK!DpiGqRK5#Sd;#hC9CJ|I4`!dV*O%GFtWCRgv<}$_IHj{OANuvA zcA}gs%CpP2e9F7L%CpQx=^2<^jUBpS*X*iTKAkZY918wypWCPQcDQnkMH5eW!y(3r z2V7tkTUgFgj?jN<+{pmnA=lIod}<#}JFRS>Tn&`634@>D7&E!Y9rEx5h{VY_Gn<$! zah=MdVe=mXMt~3j zPe4d)=z|6gj(B*caplTdv}ko=#AqZY)2knB}K8#HkQ2|HSeU8{O2_S z#()WZ!x0oI5>lchnlfc^W|~RXvr(921Snv^2{eNR_W~nEEGG~FD!hFG0!Yt>5D*z< zytqL#KHR_n0!2Wk0(2lt10sM--;gs30%bt93seGG9O>s)Jsshu+mB#YplVw&N^l`*o-&l5YUIbcthu( z%Q&tC3?c6Zj3M7#b)r9_^4y}NJ^&@?HVgL3AZ&ygR0P67pU5kpKQnUuRG z%{+DMR-sp~a(()F_hOVT?6i}wv#y#kHxXDULr-p`t)HUi`#DN?-h0pApg{q~jSK7v zl$+lO1j#UCBN*nGC&Ya7h4JGjT%bUaf(45Z`i%)AArUX1OoCFSq{_bKP@zJL1`Rkm zbV${?I(6xirh9c8FhJb_hon2~uuMlCmF3tv=D6dsomeNFbW%>Aas_9cL37qQxz0N; z&mH&Vd*Fc@FT5a|9|#o52qjP~Bc>ZAV9%ZsfBs5Eicw~xjjHA@0@X4qw?PAS>S`D> zmQF;ZmKQH|eE6t0!wd~(nWfPjb2JeXYgVO-xt(@unM(*{$mp{`tBigMq{~?NMjNC` z)vipr4mCP;>Cr>cVgpv#V54>RJ79w&j@aakGd4TtoGo(&fvqyh2+)B^Z?b8H(j=xfN@L zfi+;QwM^}>LyP_P<2dCMLuZ|(w&WqHsE!oe@CqW*FFFrNb$i%&LS=r12|@$Zmr3kX!e zBCal-7e4j&HE#7^Kit;c>GIzmN4M=Qs{QJh>*aXwhl$VNvqQsM(^Ye?)-LT_9UtAb zOt2EzXE~MJncV+)C%=E1yTDHHRKLM6#7NO7$=Fq>A$(}2Wp>nDV*c5p#d5Kgm(?@t zA{z~x0b7~9yu)rMic_1jq4R*tWmglCwrI%hao_22*>l3{^l z9KYFnTao0IteKpg+-W(aTwDyYH!s68jyaMnod0HS_6@hMH#g5N@Bf0mU{cm)XVFnS zuf(S`vaG!PRM}GX)lt>@HKN*eb^jcr_k?kq{H^|Z?e|??$p7!X-M;H_rTK5Kp7q)p zereoND$N^9w;K-xI2g436i1+0b@<&U^vli6>Muc!20K$9* zG++!wA!0_FbQh5SG9>*3`0e#q%E8md zx4f<3{k3a%xtzl5N5@MHbj3M$OPSnXNh9PFLkYI26m}Y`5 zrg5SmD^Z>pFx~~@i;&c)5EgP=hazB_2<#0X;Y1p$0K;*0C_rQ!9}vd0y$uZ9rHYi% zWT8Y3PQK0;w-Q&XBp2x9BqXnPS%znqg5(=rU6dqZRo+^B@dcb1fuswYI#iI1P(nBy zQL;@EOIRj7*1%e?S0ifdCA9c%i>5Q;6F!Zh5Bg#p;V43fe@PUah$B9!9A*85cu{fY zc&3WJ(+VWR!6v)DfCh9Q<#2scFkzT zv}tAvJySXl1`rTQCcL>@=R&g8gREg2hBf1054)Vhv#BuTi?el9LCgSJC3f;J+8L9H zTKRf#=nu4Q&j17MUJy#Ml_oXxh=N|ZZtFj?KE}!9r~2g+oNoW(>D>zR12ho#9rpme z0w(W|Nkmbhsg`slzH?9hWk)k*F@sn9qOkeDKT z#-LM%$hG{mp`hGER(9Hmv=F$XE2tS8BVj3YJu5ADs`&ThnjherV_Y45?jPg?$af`| zu6rl0kcI+nuHn=^FBhP|xh~|>o0ZGLB+$f)sLMs%?V#lVb{Pd$sI3YsKKm+xmK6lk z&qBuJq>-PU#CnuP#h|1yQ08TdxfjTkz4nZEtd*aIsZ$%mOkwVL@}q6T8{;s4mZF$! z&qG@8)-UjP3fb;#z0b5w|5EN_dtaD-$EBQ*rcg`RZm`X~o=}pjP=jQhjg!MVn_y?- zazU zJi~_5R${o7&U{MT^42qi{HUr-{qIszzsErilg%>AIT}rnyk3kaqtPN=ZXd=)&XbowWU-j>4IuIJ6Z_!b54G$NB zO&A-;(ZY(=m9>bQRm}}BvODBV4>K7t-B!kr03U9V9`)#>TZ^>^{hNBj!KPE=rHzxd zUwL+u%NtleY3@rbFPz>E=jc1`zp-xk;_~SH4wEN7rLqgYH}fNx&#>vS#n(8q?_x48 zU`U*#33?AYlS_kD)pzD!Lb)ARzc~MtdrmoDs&1&+>?@C<#fvY!y#-CoH9GB^8~zkH zzH_`C7=7xm&K^DIp!c{u7nE(NhfA&)9V+j2Lq@H-`RHUJipiqzDb=GbJB9-<24MML+a7H=zQt&mhRJcUwp}B7tWr}0{-qN zIn-2@8UCVsqgn3Rxt6W|)EGAMCf~4ZY8QQB?>{j(=8yRl!`78|1luIp<$)E@@Ek6d z;ssKPzUr&Ujo6=R*@8uc)i4d7y2xx@s1he8!QjD*$vXpU)!%#UBbOyy`R6@qm(Uqb zbi{lVqx0LBtX=SL^*NK1>*ptDh+^`;5(-yLm@z>f|zJ9Y961RjFIJ+A@`12jL>!q&$?rp_~le zY%}pbUn_DAvbGBzT?xX4*Y(t#?2Gc10?LFhq-G2flYuht0gGdE5VmuAvj0w(8cA6* zdYdi`-nf~#1aS6qmX1#b)RswHp!*PBo+cF^xKo%8oyl_s1^vZW{=@HII(?Nv-^6eC ztta7-f_`0||@Yx2QD;`IueL^PVXrqVabt8fT1SGt_$^88dm}{&R=97~T$KyZaRF z4*}G2FC40*<h6Ba*;aY_u%)^U&CvEhi1fw$JJ z`^4qnSbLp+06hHr4?d6LLsiy>L35Eu8qaqkHA8okPk6jr?RjXr7f~(OoC3XFGYSlt zqAIYt%&4-L?lFGd@_D;|D){cy_5)pR!KvrqsFH^cq;YSmjm2gyM%3gLV+dWxBj9zd zLemF~&2*Q11KhZF+ZiKD6to^)sS3H?`D1n6W%r7Bp{w_ZJVKq zV`{nMueYz(06mLPl1FQ*G!K}gE9@)Jv0~^452sUp62?FH!(&*@%9k0S<*81e-aXXo zCsaJZXyVjv1+MjO`FraZfcOVLtX)lc#-7$2=yZbFEkkzFF&`}{7ny+K%L-Fs?9OLS zzu^YvGC%*!xg(0tEV5G3Q2jr)==|j0pRQR`Vws;#ZhO6?)m6E) zh;yd!431 z(iS)YDE56Kj)nEuL2=TCTVTizp@o=I z1CLm=v15eGC0fU`E}KTMl6{03QG*$b*iq3l(K?NjmWEsiPJqrhpEit(Rm6(|Q2Kte z9T)t>-xXvDU+>xToy!y`$3?X-yL<$&PTm}B{(%-Z=4zcR=Jhem9soY_ma7_OO>*!$ z3ORBV`A}5JRm?C}Y{4#(i4KulO@ZFTa&YfmU$8nCucxcUor+UKyrz?~g84yUI|_*q zNY2>0QAo`&p0OE8Hxf!6H^%#`X>!hmd>o~SDKfxD`PbM3?t(qXftM*)=MNP_rvf2# zF8RO}sxWNOhm-+K8Lu*Hl8aLjFDyJ{IA|=DjdQRNSccDd`J{IMv3hJG)j*vuL0IK9V!G?z(6+Fe0Qd`Aat{N}ITyN-Q<~IMz_)?A z^uhgte2nqJ)fzXCFSkeubrQ=nsfH_T0Sy{uq)dV-<2i*jvpY_au(%%LM18q)=a(*P zc=Pytg{0AyEn_a|*Pm&Fb%U2Wwgyi*$YaJfxC2*xPxcjDo%+G&4iSy>+5$uZNw{`` zq#`a8!~&vO9C0AvEyRH6vyN=Q>wd#sx_hwDN+9vtD!W1B8pPp-(e2X@z?}1a3ow(Txcm zFWbZetTTN11fL>ryD=6-!iEn@!&r)Lj*su6Kj2C(0Nx;yoO6<$ITwnOF@VY=lVzQa zv%@;1Ni(t2(tRlo>(DZ&aCBqG!eaNZ)>$+_simva*NjzMebUbH^A_U6&2ne~dXTsQ zE6*qpyt?dPgtf#6J#@KynAIq()+85f)BB+Y3f8^n&xAEtp0+RW+c$@xf8!PrvI~=h z_-MteS%qfkQZaV3=^~!Or%8f?b7UA{BN$8JJkmc*K?0AR!j1js1g~z z$g{6reV%qljA|v65U&^?f1?V~?ZIn)RX$hHOQ?(HPgZQNgBH#NOQ2&_>||_OtpIB&o#{M_LCG7ft^JO|5pH@mpYM0T&jai>#Nh zr@K0up}(E@uA`NF{xp3qIDyl>W(!u0ut>CGQ_IY5a-$AwM&;*wpNVFMZk!AG$`ux< zkkhwQ3mJJ`1;v{AOlMp{-0TOaJzp8QO%aSWBd#-fTVKb`WRmlFj)=_E&@Dr>|I+yw zDI)@$H{>|~yh#(PM-^)k{v;5vSbCr0dxo?UVEVKIy3hCB?7FstI4!rz8!0ENAvam% zSj8U8DW|*+lmn8+{bWw29opNh?O6B> ztfTmlVv@%YltOcUh&)=AIVLtmp=sKdo$#}nQtyypWie|JJgZ8I;xz9XsI@+0o|t@j z^ktWen05akLNb(3;~pV#%6$M&h{4~xZbhO^iCl|!|2A?RVBh}MC zi3OLQMBPK~f=da~XuBU^9ggaK8p{z`H=9rvY=vYppOH|rIP@*Q)R-c&w8IPgn| zV#wy!navd#X|bf8qTKPb<>QZ*!LCKXQ2X+dP&M?5Inj_+mE1-QJ*75r8nznPTM+&d z%QT)nU~4Zdxci72(aC2isc+r~e8C5MSq-T+cJf4xvz$@N?oAsJP+9?eOgeY<=NH|2 zqHRKg#eCmtlp2~BWvn4~Jw!LMN^%3Y;gVmLPZw0}tqvpDVvtTE8SXfE*ml{;25KS; z+yRScXE%&B5Gn~Fn*)|dd(4mC{Bdr!hklfV?SND3eDpLIo%sbEs{ zbnvTHv+L9 zN~>!woY%U8a-y?=9-0Zaej6rR*-X+VR&Z$Z2D)zi>I(OTId+Ap3VtSUlXXrE(^3oTh#4`JO})`ku4HIGiMES zi(;XnD}`bSw9ev8Gg5!YwU3lRMW7pbRXEB90VEp~)hUobz-oOIpdNXUdO{D-i11jR z%S@~%j*p*1=9Hw+q(S1`|H;p0$p0hK$tXneM%&QZd#OpLc`(^m#V0YRFtB~c~S`&l2bmzFE=t?L`<^MrLZ+$ID?IA z{I3E_^|`NL8FgKFjQ=A4@g#Q4*~-JPa<3dJHgIi&c%lfYgJuhxl=#gU9b0l2Th*e1 zWF)!JD6QZx*XU!c;ZJ$53R`K}TfDc%@ZX7vE@?9Sy9f9EP$Z6Qg6vNEdk>+A5Lt|# zzjOZ@r1*jph5M_}^KV2P;i3|MA0~U9xXq37aKDFt50i{JUj~HxB8P?X`}?PiW7vPh zKCH=uN03;V^Tr7!%O03745%~yLB?7fG;+Ut0^M8H>SpQm6OnDGjE}(_F8p>t(d2pG zIy?n$j$gB29{ApzOLLqTqu68{jilz1B7z=LQLOP~)6G5kHt^ez&-{H$Q7v^SkVH^6 zTB|LKWGD7i-}k>KDOsA5?3BqetzIkVCS5+EAk?WgM_hA6M?!zf&55QABz;XCbF2=m z3dtm)KO04*sKGv*SBaf;hlLIj_YcMx*Fc?>nA!s(4G9^PX;4c+ zq4S=WhiF0Hu!4fsUw-|YZvHx5hV`WL>}we!JVY7sYYyYpbij#4mQN>K^t)_UH#zv60xR2Xl0o)r5sMw zq~fqBGiD9-gErRz%4Tu+fL*O`_2CDR+j2cf@fl>_{x<&5B2ihJ=Q>mYBS3KE_>Ga;|h=h zm8BX-8sGycbosV^y&OZe!+z057P6VFqkkg2aHh|KX|_yUQL+@;1h06QqJ?@gG@F^5 z#_Ovhelxhl$6mF`EmPFj15;SyD@LUeqJg*dU$1Yh6b_4gVqe$*k(uhK<{0)tyOe#nkR{1aNHImEm{dopNW>2cD)EBp-1G zk@j*Nob6stZ&fQ7i|5rIIP70mSp*Ps}Fb z0RR1!WQ`rf6B(btr^_sin_Rs(wK6%C?$f&y2h)h3*d#(hKER*F+d)LrVmh4Zka>tS zs8`%6o|e<$KHJF4k)hB%dx++o;rchvLASWS?+3;Z`d|l8zFLQo%-Y03wiZ>SQCOFG z{7N_D3g`>EKS0Q*W2HKE*EY9^m|T|@^Z%lAB3yetAFP0?sZ22xs8UyW@EV%^VV=gE z{|7OJWu_5Tw9*;wc4IU)?ik|p1PP-h5%n#LE)*vI!jL-VBV!0-IaZkXA9}nprh;kI zrDc2`W@x%OtDfWT@Mqz4+$7ntn(-OnHC`pV(JaykU6t6aB^D9mNnkCpOB-}uVJ)Wh zHL?qI_d50x*?JO4tI(nk_5nzFoC?sP1!88haWAPWE?_OylcjwsC_nF;B$W^_j)0%c zPkObr)O_H~gauSb;W%dUUX}&D3f=UIaNquWkR{5!tc==E1U2^zXRBc*9$CkV-`-)N zbb}G2A9-W0qc8>fAhAC@e-t?6U<9FD<}@+!YW>P)=aX_f!0TciPx1~;_4XXiR`UdTyWN6z;w^9Qp!>F2wf1%2^EZS| zzP|V#?8JY0@jH0)wrFm?6mRQt(q*4@bU~SS1!(avso7vGc^46aX(4spiF?OuQ6YCv z)=kPl<8gQdPvBU5s5Qo-y70wHRA>pBxIWz3j6qtx{%Yon?s8#q^?$&xc zXx=6k55z~$%Z}l26%H@+dQRJ6acaHYaO~M(6u>v1bXJFaicy(*Z+X?1yrAV(f0#MX zYcB(l@xCzirHXO~r2touRy_-RJL#ZwTfXb`4HWIe*LkG;az^m(0KHm^2FEVbG))>Z zPUWXt{g|y1vKRFMb@}(U$FL%`bk=x23}8PLnNON_?z%43@ssB5FvDn&RV3vHm7 zSzXl76UN#SiCCRm4O1;;EV|rT%J~dX=!bPXOj5HEuf*7xM6Ye|2UUG=pxkY zn4ZfWx4UlaV5WI#@(k!An^bUGJc~96qlDGvtFtXWyTR?Bad@_TC9i=|l1dz7^5j42 z)LE-kgGL&fscl+eN5$IVYI;&dJF#MY-2&oJ&o`58ZosPz8W5&3ZeDww*Ir{aJLx^h zjJyO!iFq43`b<^VpjmEoPh%>k1I@Bq$}P<^_zZ4e{cv*$l9tBQX)#Mm+|DZxcEF9* zXJ(htb_wjM1f=C#`uHqHJKKQ0OJ#B6>Sx-My-jxo@V4qXI>*`*-eysIMmH~lC+XjV zd?})SKekNHtefN&zOq?zh11rSRhvxN24PzVZh$#Ly6eXZ{d%w@@qK(J#I)d2qYzi> z)V;%pyQnnduEJ-H1E-CE6&%vGh8Z)3VWbd56~PR4qAL;83oaL!8%YW1O>5EM**|az ztbRml%pULo@D*78=)x-LAC3Ev8HUPL4u7g}In$3uw-Uj`+-T;VD|?EX1F0v)J|76} zJ{e1#t0aN$tC(JNJna(5Mp6jIL3p^{YcDi|TBmP0yhl3iGCK~jQA*bReSfQzVUUiJ z3&vO0u3f#qDQH3+K=j7Js`(Ln^L-#8$wi9L_`@+|`icc7-%=a??gVW?f71^1zp9)1M?N7eOkf^Zt5C|M9a0r>3x)t+bmRY%zC`1 zf!16dYk1QXK>gKq`u6;~fB}+X)L_Nezqo?EaJ7FeKm#5@%qXj>!pIm6j~ul}j1=e+ zT0cI$gs#zGoAcQRH~}8{)6oxwMWRREzk6FHI#YUIj@GjCjKRrH)JHd`&u@?$QJqD? zF?7+%z@VOE2_j;h_zX1mK_nwS zE+QaGkTaF7KWOuFBEBIgWUU7940p@ay3}0NjL$#M98&HQPnKC zPC$$trSX?E;_vp7A5?ikAROSNUH*Ns!6paCgl+f24DIGdfJ3 zZwORTc_dETyS{2L?_57_mN$=664EjK9^#QpbT8@qWGJr6y& z_@1x<*o9}Ct813LNAtwt^}!b7Gq3ITA%^|*9HsHk{qf~xhg7^R+6*6$t4rV5CMm>- zimL>dc?3p4==qTWRo90O&k>;6kx5cWnvSXj@AGK-oBqQO{>sPBL5@ec6j0G%cv~O{lR%1BQCndyKqS6E{MMMINVb1J9GyY_WS!zUgl#fe@dZMxz zjoce85Djx?5V1>JRL~5B5+W6lig>r3gpi9uilo+7wTEHa%I48OAJaxHO95S~g|`H# z4@GSe04LJG_J!pJ77m>Cx+EF)I=SG(Kgms2**FU;-egu_rGgS-tDDM7<@M+V(m5XR zG_}w%Wn2F#o4SVC-Ue^|j^ou|@W1Rr0Z(mixi|YMJOQ326)M+^z);>KOc^p48G`92 zZOkO)>vG_`0zGEg_T_b2T)atkgqs6lOyjx_8X1N2Zbdag^*x+>CmZq;)N>Yr`Ne8E z=b>Q!Z@*pPA~(|8+oc@cU)Jq=F8I!ub@ir=rNL2x62wez3ywb;1DttJK;jDK!rcqo z5ZqDn`+6>&q0_Xac<&DY8Kex+Fm(gAPsbciv`+HRqvEY_+_Ot^kH0vDCQ5_N6 z1Yf~1g05l^JrI!$-F~(GXK95cHLo31#{x%P2w5Nbv(XPEcL)PAdc63V8;6zAy1TKy zLvnBt+vyskG@-BYFx&8jtMLAeDxz6cvr0{(Dy4IVRJIoD3iF_o50MoZiIXGkx2jRL zXgrVU)asbe+pm~S9Q9AsRdM<6^)Ea(CK?K(nq=_@yIik3d!;PVA6DLD=d#9>4-B zL>wz9(oKRTRERm&P%D$ec9lFzZY$NNcT+VC3P)aLd3Sc=xw0Ith{@Q(#Ly$s>%XSY z)7<3w!Py?B)t)_cES{G!)>`a(3?b(=X>GY;a*7f--E>ey@RPyelxi-=q=lTCmTiK2o`z^q=RoAP z%%^}Th-=Le1aY#%ofi?(lHk3`}@cL}C^WQW_r*VxESC3|hk#82FD7onyV;GGm$O|ZWpgCh;t8ok%DPGY53*T8ukPbx=6Tl$hY*AdT< zz0%06VlcGFLxV4fVj&N1k5IR$08+W}TRMEVGF!Gt<}naea|c*JjN{33+MW)v88?sTa- z51OFd)9$W1u&+;i-Qwb z$6vqz$Dz_yg+vy@AvZhwFR#v+A(M&O8YBFui3k%>e#}Lh%8l7nM!v7Ya)8D5h@{X) z6Xs7l*bRp64S6@^o#3j>jV)kOHF39sZB}!ll96&Tt81K&0bRKYV z{l9YGAni{i;{(P|IZ3>JiG&@Te(udc{bd5ClmVNX*NX}|C5|^W&Tr_fOBfM@ble-f zB+Dq@6`h@b1^TiIr!LZ{8yJt$SwK6%Hi3ZaZ|dM<71>FFUa6)LE^p*c+9n}7Q|^|< z%joJZa2JoPpyOj`12eBR{n{`y8g?T+yn;ZY()$JEfT_D3-a0^|1izYT03*;3eT7fP zd9#*BD0JsImb+(M^?ThPaYCYp4;dJFrK;^Z>=CT(&K~-XuYd?jDNzL%iwNy z?LyU7oD|1AG?<(u+zI;Hj@aS@Q6JzZOtw)nG+GSQ@456w26?DW=*#^E&079Xzu92!7H*)xfywv?l%B&|~B66;hTN zWCuAlHLb)$2jHBbkN2yJep4sM89MIbkpsZTT)n#d*SEC+pRm_!?N#Y|$4zorq;DUJ zWe~=BXEe8MOy4Oe19Q&~g8yK%l0-<`%uTX!kz~-ep~KWOk&B60=TxFZZ&&k@6)poG zzX(vZ{=|BV3}VjL89BIirs_^=Y8E!uO{_pEfjxK7GYusn%yu}R=e3fkEJKm<*d{O~ zuL6S%lLK#!gK2Zn4rQdmr`5J+@2jWrRee_E)t2V%W4+kP+rrh^Y`fw5oN{1rPiFf0 z*4)Hfm@>PA7wLvGYcLN!_g=uvd4+yZb#!;jKr7;z&e*Ks9KVYuKDT?l%?ovJ*{Vk2 zE|OIR66HvUpqUO$jiKba-Y_okc`!M3eQBc_sG;3rAE3r{tu0hDuZtRpB^hw^(SBeS zcUp3tqu@Pbn_Rb>9~&tBY0o`y;r8}Rar!tpM#n9j?kdgR%&%#~_8XB+FB`}RW+ zf#L@Fsh6m6CHp*6TO9xOSAK#^=C7NEba>{;*~a8c`(+qw?8N;M?>_}ZCmD#Bc19pkGhqRB*u;5v|Cxg$eCJaOBR3Z{Cgw@!pT~2|8Sv#QxWND04wdh)nV-(W;)!4{UEiV<@R9s${ zNEpVllPeWM$wksDJ}|`A*^Z1 z64*(KszM*V0$W?i*pQ8?QzRm;Fm@PB%Kyhm<7+;Z}SHD%)N0`>6tsVa|{s_gicq}2TD?lt4~AHn%)AZPZKnv zNVzY&1K-$M;FYmdt|}}@--r5u8-HZFsh_h6?0a^zUQ-llt%4GwiFg6DJW2u~-(a*L z*_RU_W!l?{10I-?~rhwCxM zSF3#n#Hql#`hi_NCrb)cYA33C613M;^$Myh?oNZs7Rgl-n_T=aV?qO|djW9)+ZVuN=y#5M3 z06?7`o1O0%)~PX-oSrTKi=Y$6+@>G#(dS@|5F>q{4IN_>a8rk&*lViIf^9S3sCDDh zJP{f*r4@Gk*`b}U&ksg+v)n|INV8{q03@k z7dU)WS-XFa57T+VHW88Pjg{FdUtUu;0;wp-FzZd2mSA%w&p38xAW|2ne zwJe9Cc6CrWQH$;bQJGe0s*HQ66AapIpvLaHAkcSoNqu{DnHN~8AyXqq?$WlznnQ+8 zHhgLY;!+Xm1T5za&fiZljZC=|oB(Z45kfk+hm&Rb?t@&^B;6p`l`{?(-h<_sfod0x z^+;I3gbZsU4QRb>0#;YaFvv-?d5~E3P%J`2p-qGoLyOf688Kp#pXi>eK`)xBa_|U) zvT?VbdHLq~dY@sFyrb~8qO;TMeZvjz3=J_hs57lv;L;UUlf2Vt>%#6Y^@?V3piCU9w*-hgs5MG zlu|tp09CqZBXe@h?2g$&S3us%Nbs{%@t8|%?jvi+mT_SDog?Lx4JU^>)j1mwfR4TDPuCMgge(9?{8R>Gc?%t@%51&d+JdykMGuVr>B>Uv`@QM7Nk@>gpElF)S*FGQ{JBsIjrEAwa&p=E?Tr7 zU+e{MmMYs7U39AV{_(|#cYyNhV9Y@YHDGl6vZBbs#;iP23y$#saco+!Wh${#4%QW zPmOz#jvgi3?${@=C7ve(TKdp3sKm2m2T7Xq;L&mvMc;6R)#BbWN8xC|<_-wvzD3M% z7yke&3O$bGs#$|=E~1#XN~EG?6FB>&W7J7nkObRw3eEvw@gAb`DnyUNGB9iihZ1po z;>J#ML3m&M76ARi2-vKc_LaBc*;aw3y7^g$^x}(?H;hxbxw~8-9@y;~%eG`_17-_C z6-BJ2L6KK+Ch2nElwuP3hEeY@+E~w5j~1xK!7?CA!AKnO9RK#JA$g5_$i^T(3JCJ3#@#iiEdTzAp_n zY|uAQ?RAF;ccc+VT?sX-c;io|hjJfc+fG_*9+#CyF%>kRcW?Rv`;Sl7PnngNJiXa) zFxu%(V$d4Rl3{=xgxsg-H~M0ojML{`3fl-p$THk%jCv3-d4u}+MMXbd+$}RTZ<>@Z z&>VHP*h=`!4~?LdlucOdeaS{yGj|jSM&U z1KGBymDxK~PGh}>xMmbfAgrazP*#Ji#-(;ptTNOVb2D^k2H|)XtOGsr+T^L{G1p89 zrHqw;D#w{HC|gB|>6&XGVQO1qeHF_LnGuM~Su7QVe0HI>Y#H$T%yurt$<%FO3Y`9P zO$N@n^QJrR;6Tlv7Zm+m8^o9B)9T+JxRR*wF*>%btt|pWzrDXil`_3*D0Otl=|kVW z;s>O5%|{oUQ|c6?+i{7Y`rAK+zwOgP`!b_M|FN_S9DO?e;on`ey84IR=!C&|Ikq)2 z!xu+qXE=WR==6AT@Jkm=y7n>Nm-x>N@tDhvhN+Y?lW6`snv|%dgcMV*@GwtNwF(Ks zW*#&n`m59Zbjl=KcdASflT?zV_l)^85}-f4~2z!MT?s$rH43+AXkyr`Y;QG&4>M;hbqzVz;~ z+#z(;y2@(f`7dXY>PRPQOeT)ZF=HA>`cOg+OQB-~JE+g7%8E(;+>MSuIn+(t)O)~+ z?Hp58bU~tlh~0^M)YidymSXv-Q58aLDeuFks=4A7Aa0vW{&Fr~jY~Q%L+a1n$E95SI{dLF>l7a4kUEEUBd!nQ zdi^A6+^^>sppg;b`3I3FY(cy^9YbEDXflK*$C^yj+U6k#_O&qE2@NEJT=v#CO<`YBM;dsBps>spt}V^}zIT@_CQkpkf4HTwbos*0V;(`! zWJ}(1;@n>xemZ`}71s%CZ<=rL&g?l$S9v1>3@%EtxSIc|oO(o3kzbsv>P0gj7=yaq z;lk`6>)ms&{I-Ld$~x{gv?Zu}iyX+Bw8bk+bARByY+5L}SBpWdX@znLdFdiXR?s6O zC*bl}jLkG(ALRQw^VOaq+q$8XEji$aI&2bc>x9qOO@bn|V#(CidiQ(pzub8|=Ya>* z-!HZO)R!|IXMfut{$5%}eJ9;1V+O~~W(kR6sUzwBO7xuC9Or;RnL8Lx)Pz49)d4nQ)S7cn}icDGHQ264WjvN-wBa{`T0u| zOD0V#99h8dWXiwrrQd*R!~jdQ3!aaNp=YmA!?YLaB=+U{eN>!f$^Y=ksOgm7BjsPQ z#P{-#`O-dmu6ETg1e%Fue|2Jyl*?drRDFV2^w&{<*+qHyi8+ba&D9Fw0l8F5aB1YU zQ+7s?kU?-W*XdCHOlp#6yj28B4~0_Z@Q!!=&^~baQ7(pOckE!jMYQ)b<&V5(wV7 zt<%7^9~pF;F@$!eHM*aAX50}zif6a^H+htzx2pMCaKCYll>5rGJ+ijM`P;&S+F=PR zA^m=`D{HhpKV3c+R$zJ+eSr}gAmYm8y!i-#!RB0>O)Kl4aRszWnpBxdOn@;OZaDwC z75rZABji&OM~VD$Cv7-!PbRxJ{86?1I7Fb$|tFa4IVIRFo;kjL}n2x7%7YvypT zGtkUd$GhX?sX5=l402#O{IaZ}+7EkA-5Z-086ViG^R+ zg#ih>_Rb?_MBDg_$V8Quso})^NR%pLe8`%k3asAGni`+l-u4|{}c z<@e7qMoDxl^U~thFQDWIEZy14Vg60B+$u*a^N)}rJLPjw;&pDl)ukwDQVNW6lHZ@F z&CHL)Q|&IZRWL7}o~o?cQ40icfaKrP*SBm7&w)yN40g^XitVVWVRwy jal~#3YD5;Qf@-9eEif@0ZPs|2x)Lq*;{R2v3<{91kFAG0lFjufCB&k00000000000000000000 z00001HUcCB1_odQtN;aw0sw)P76%{=kUms%GvMh8B&sDTb;sl zeB>IoO@rdy4rhDgZ-pH?Kq_n;AYituoBaR(|NsC0uS+Jf)H@j@TeiU=K%SAN>DG4X z`fY<+OmNG^Yt#W=cx-41l_E??wwuy^Ue+>?3-UZVk2@@e84Y?MT{w}uXi!N5Qn$yz z2`B8s2H7PI*DSi8C5whBPUHbeRF#TZ_>a)7+Iks<*q;Y^kT%7`8576uJoG9*-qxzZ z(}f;>QZzO)HX|F?y!;{`eD>MJXT0FT#zt<)x!t0Bqr%2Y(P%4JQ^K0?I(XxuljCnu zyD5iNV-yV5Vd_Ohs|O7QSZqBmZAad_Z~1Jc z%!PCBZrFChPK=6Y#dnO6zbbMJO8116u+dB@Qsj@*f(zf}p`XT;tDd^3;ilp5;_G2N zZ>2WW9_Q=!mhbr6(|@>Jl?@yIvqe=K=MP76^=EfHRm(_*?MbjEYT(impXe$?TqTE6 zruHRPPTeHu9jU6q$ZVeXPVVmR(0t6ue0=z2ZXj@TKs zRXX48vUI1l13Uh^9pBQOZrk7f-j1iV9iVj{?qyE*tW`}vX3XS7j)m;0S1(>=4AVV+ zyv#u?ysIA(j4a4#%;vINbf5?$v@4*bf8$uG!jWEd#KxQee6X$z|NmU=&XleeM)-l- zw)JVG34PSgn9l$8F=$M5bXs;==#K*Tf8SL9tMHY-p8toKJV==W*qZCc0S8PnNU|1a zX79`_kjMgaY>r|MI6x($%{d#Zm%S^xGzG04TBSqPqZd&D77_o5dF1fDnU?|&5Bw1L z`?UtsX@Sr>9d9S1tMcWo_^J9lHC?AU9DBzr1D+O1F&#X`HF)q~{t>T9u-#JJf)D1| z?qidB5dX99$LG_1Rd3xr*KlN*YYtKOG++TIR3$$`0fwXqMTj0`MORPH0>bh4lWBaH z+W+46pZ&izBZlD|!~TZHhV#7#K;2hOf>KqTvmtq{%$b>sawYD~hoC@JDp5<_SNHM< z0>kT$cmwmiQkZqJ0v_4w3nV1&{eS*d*MDWL`O+W%1EGsH#e>I8|BXyXq^OZW%|-EBaD;o2e#(2~tfZkXW*ynqmIxF1qA zmg%QoK}yfD3j$SQ*>|D<$~i?vj8_x34087ilx^_;{eFI_RkejVTDQ%r|CD#T#OUdBwqR%nNV4BEI$;>%jB>&zk<%Uh96n zzw_TdA}^t0)F1{?CPbVP^GQMyAPHgvGspo(6puJDC#e}Vc?~tE;&;}%{rkSu{I=%- z6p)nNa*|@HP(7yY9w_@qd^&ou0h5%%uHi>n9>!IV(+YXsJNbzBl9^xvND!F-C;#qv+fo|fBQtsB1lg|k3Hiq%+o&2(g?o_+fp^7qc55f1pzot|caw+AA>wbmAe zZMQ5-AUpVfe>#2s)VJNT%pu(C5Ahg{5ssjU#~XNR?NR-p1HVx=BZLTnGsl`O<-xT_ zZJsDxrfegGXa^^Lh{+iL|8dVx_qBDz`W6I0S$_)NOw?nG*Jzh?k@65W0K^k#$$Ykl z;>&*Z@0@_6%;GhGN)iIE-GBSlH~C&MuibT}S4h(=IA=v9h)DQ{c}61>w>RQfX9Cav z=A#_%FlKlJ5%~o9NRSXZb?MSgHoLxvAX;U$lms33W9?h2zvo##?W3XDsVFGQ49wVG zhpbtPYwzrRZ)?GVMUX0%U!FWO$xMQW=&VkJ{mr)jzfK4S8*EB|gkpn>TA7i^y{!5F z#pRsaw{8DdrAiAbUA09EN+8Q5nMo%19-{8wh8NoK*JRjaGd_d{;tVGqlC|!1cT(HT zfI&JweZ@ItZ+vX-AsJSkRRW{Oeovrpuecara54`*zm!67Hq=!7@&;k-qX9D5``s!S z_;$JPcYKSxx}c6BI!2cPY4O(p{ibNCq4B00S`mC+_$00?tk>dHvcX!}2B}hugOjE` zred9s@-%zX86R_rJUGOKDa^@%0U2(+TBx+!jFMD%qlwCcGpjCZft>5ADpyqa9 zcRh@+)UfY|e(o{P1x<(+l87mOLob?411$(1JOa{2O-uW^ppcw+^f@zy#Olj12;Y`H z$|sm1jK!L!-8l>7XjG!%UDH)smE|a76!hO4twoRYRpq(gZNu&e$W9X_`GF0POXe8E z9TM2$ER*~Foy+~cpxVw$mKk%Sp`=gL_hb}Z5M4!_fHy%*8~}cvBNzo?*^CtdOV*X! z6wz}*GnANf%1tn;l9quQcwLVuM+K|?miD&Rua7|91@mJ~+@~E_rVrjG>}C$W%I@Ym z+JDxS?0VI(tNq}7%6-%bW+W5jNA>XZ;QV`nlYpc0gQW^GiU!5ZqSYsGdxG++rOql_ zBoOW;GW6n3hyq({y=t6KKHi$j!7o$R zt2$Y)m_+JjseLlCo1lx)&*kJ3tk)T0d4T_nTV8Ok3Ak-AbR#NH;C}YuXn>O#=wl8# zV^PeqZxxSgx1#uT>z@d25kN$SRBfNmHp@%7SU~xYd_%9v>{JQi4QQ{SR}x=93Rbnv z)G%V6)#!Ev%D^c?A~8xJ`ansNU{MYkpHcod$muXr{No)PK!~6$GDKowjwtHd5CORy zGNCXc#)%jPP$HJ%;9|p(n->o^NcgUI9{Ap?KxrTQ9={VElul9orj;LZ_7w}LUJfMi3=qcj zzrqTp3S3<{k$f@vYduN8I<&c$*}xAVxA68AGTeE70=}@r*MML5!)6KW!q{8r3x(#{ z!||*fXvtnGr|Zd)$94rQcxShMT=25uSBDKO;Bj+9NaxTy}W(qIFm}FGnlMp0hixC|9@ILp-3!|%KWYD9GqQz`WFO( ziH?b$Ntj85DbJK?GiEJ2;mo_3V+MzYM@Gk=nty4QZ={t%>Kp4kA8QZFp(7{Q5K_4v z{(8#X&)34`nwu9wYALFw8)90v<9a^7PhGio<=H9K?o!Kf>V%!95i4E6JWrHsGY8syRvKgk^y-h zvL!|!`G$D%DW{5BM%aYI%jeQkP<1c#O*|NFis@!sVx@I)OPMy&fhYBe8LYVtJ@msA zvfci8dJ!Z=bG#r*^0a*Z#h1^oZ*K4Ai{;AGwW=Yk1G79oNEgceQ%9cR5pi74U+lVe z>)yk2`F*)RUKmbNq9p4EIIb6!-Sp+b^Rx5IyII~LW;&i9WcsFNW-BX~7)>`!ITUI%iW$1p@_JYw5+_6>W0?nxWu%Kocz+t+NKt* z+IQ^Iy;uKme!0qxbhybDTIocq^%}*-Cnl$+hjQ`@%i7qoTYWoqyvLW372WmYarx}Q zv(wktgVi>Ot42n|_4B3v;qj^Y<>RZJ{)FKK!%vr6S9h=DXf!|j&F}v3rz4zZB`=O*6}4loOz3!=XJR%b3-m5ZuPiRBDBG+6ii&(=a6Snqj~QyS-o+K`01bAMay^CcM8f@o!|KNku7d@ z^QASinD|~oI5!wHavGKg3I?0`C7ZAJQDTInv^9jwX1x}DZoezF_k9`Fc*4$07qUlM zVhZ)HIZaPL%3G?bzg+aVtIQXQNEm17pOB0i@>laYulNSv*sHwxxBO1N3vd27WKroh znYl&t9*d-}8+7ibPg>$~Wkg{aEz*(s3l4S^aOz*$0LR6*6`IBi!cQ-~GxzsAM&4nt44J z*=L(|7A3*yq#2?7a`Ma-G(URn$i#{#?z-el@4fQU3r{?-;kKP^2%6; z%&W7Wd71B87t)8`FR0YSqmSO&x`o3nM-J@RvSH1NW#Nc~n2-P;4;Kf3g3*xRcmp5E zx?QKWU#|`8VYk|&-9qgTnZ(2`6BrL;39lF_bHf%iZ)jl{9PrmUuM~PNlXpa$#tw=4qh{3YE+HN*;RP3!hWDtWTerq;8m(=+O68_zCX&W8@-01j$H544R{%TzD2&oJP5s zvpgNWRahjhAm=5Vdtuu$WKJv;AoF^zx4b9${z_?8f1lU=dfsnV)5*BC@pr_b<3jJ> z_iJl&85F?(n`%tKJy*`1I#HTQO!Y_5a8fCUHk-+yQ7L2+9*aT240@efrI1SpzktsH zY!+pZc=$YS*Yr?i&1ANgz z$tFeyx*Aq2nRnEpbR}Y73sfFBExL9wz7+3LK zrMo+dL-K2&Eot<^!%a2V#CNSv{$?sc!^f~qc?`+%!+??=ha!-7kT(!($U96Zqy|z0 zSun3)0q4LO6i(g0TLnN5NDHJ19Dvk-9-td&4w`~hpfz{|IfL{;x*!#hDaZsQ4?+W` z0o_aXP~aQB2qsV#!kge0A^Z)Y8^F)$0MvmC8w#gd-UfC-7LaoV9v+ZmI!lHbu|bOG zNv6mdV3Be>YBh)v%xR5H?MrJgQZO>=lrfMPC-_VC0BSSoVEAD86icpUaszPJz$q&c zf^W?}SPwZ!OrtGrqftCWmC2w2!RIkv&2niB;o{4;(C?mHL}B=pQ3L%$87Bg8Uf?lX zZsjiMK_olq01kc zQ|LG=c1hO_PkDcxzB`hp?&dUD|2}5@ADRCO5*&dd#XPreEx32Da2}O2Dr3=JQOYu_B!Fc@ zl{uE-c1&dfac*2loF0j1EO;TjBEkp%=I91^8SOi`8BFnx&zW~#i$ELC|6 zv);=1uzSl&a5Ulh#56v9x(N_4NRXf<@4VA6!j@J@l5|CilnXLsT#lYq6#DeR888sb zkf8`hj6^eLEM_be(f~~?mq$2o(7_`fJmWb&%FzL9;&-(kfBtR+2yiV>pbJ5QocraM ztBG?tI|wCGfF{X>VnCDB>vxbP%cX4DWaY?lD_5>NdGg#(z9O${Tu^$zg;%CX=|3(m zJ>rt99o|x>s!`)fyLNNa;fc_f`_5TTzsgNKP!%k^UU~!XRnBA7#v#|PNz9$fRs6r= z5feiMc*ygLpq~m12m&G!4jfX0s~iQ0;H{p44<9`uL_QCRbw@~%au_m;T*yO?0)@Ow z=@@$J^)O>LGeXJ&U=g`TYOl!q~#byIet{>%K**xDiF$vaGeq9g3sImVHr<6O8p!Goup#fWjM zc=2wNFW>Eol)FQvD)*^X>jCvfJZQ|CH*G-r%C3DsI&|pQK5}0j$9WDTemm!|@*Mk< z-Ef9rg2W5zXlT;)j-KzN{NzN3ix7IkM6&~z!cm%Z-m+x#Rjh=+N|gequDu}$aNh01 zFCIJu3lJbgv}mE=;KC$Gjqv{qG2Q?NT*Uei3m2|9lqkicMK1vprbs$bAfxD#2g6bd zFd&IEm@uWoLMQ_HY5hIjUrxxS%qZDN+YSubOx1Yu{*g<1sW&49FOkPlIjc08Zc~jp4&*fdC;> z#7LMAsUlxMjJ)6p5TjTEJVVEF=oQogVhqc#FkxYb6)S9PIDH>3ZLb<`g^qw2&oN|- z_YvrE@;qKA-Ml5jhd2oVq`VhIfr4;~pkOq76g%41gpSV=>4#A=)fW~rIdhXQK%ip3 zgesjVMYe!g%*qCM#3d^y!LkMf1RaSI)k>DEPMUP}N>yl7rAq5mTS2K&t4&k1COdQ) z(qq(^5epWK^`cuXSu)J=ph9N)xRBMB1tq$m;q$WB}QB|S1yg0kchQmDuq zbsD_WsF8?f%|yG!rBy4jZgXkZPP{u@(`AuCcl4wr^y($)w=q&COj9&tMv!GIRPERS z_0K=*P*5}+I;82;nGY^q`RLXyoq2ThDRa;tOmyMEXNVLj6Ljd9V!*%*7cS=W!lIM6 z@h)Wn3d)Kuebx*avh&3k_Dq@iHvX1M1PGukI6_iC#E9WASqd@%Ir%F`I&^ZWDeF5ae12-~(L`sbe{`}QR}awNrr|B?EikLJzO0r}vE48(|KB10w% zHEP)yG0MS=SuQs0@^Ir(K)`cF-g>K)C^2QENvj}7P9+5jswh)dO`Wux*C%s&_=;Ov+KTlqM^W|%ZzaYaxgc*Z?Feyo@ zDOs}pBov=MX}*2a{rhJqC^A)5*%}&*7M+kTqqBoOw&+Z9`IW;DD-Q$JCrT z2X*O^hHKX}-MNp0GXGbI?n@B_meSxV_@NN**uI}a{M#D>8>$cmafTXFq#7ttYI^3G zHhT0rIPvHbBxp#2gb`)R##E`A(4b*TiY(q zsiZOzfd-vNUv&@GSug0Z&2}!xDW^%DD_67Ja+@pg&wn@(P{6n)PMijbB~BxfC3BNe z#*q2r%m`Ch;ZUcjqB*|u%I76&s+rEztCymyt|?4+-Q!n1^(@Hft#^L=>G$%nJKzL? z!3L*z!-fUlQ72AKn2=(+=_&cnIB{vNxjF2!=;iBwmc4wn&xRN7W~;5S*-ks7hTV4O zM)upEQ@H42sCC`-Z?wD@prft#0^6z9;J|@Ih|nnt6m~FTBu6^w;hb7(V=gGDJep}v zryp%Ezvg4^A7r=|&X{GMJni$#Z~jb}F!iE}njFO!zaS{ND{}S-ea1&^uP2Yh)A7F<) zG{A+c5ngx`7X0wXMFbHHsh7kF2vVeKkRki?{F1j*K~bQviZaTf{ZctSocEa%RoG)6 z&Mv1D%(&v3A6z~sGQH~6XmMYAP)K23Pl=KN$|+AhR8pCDQKhP%8a1<^pblxJHI(|= z*OAhJ+_H%yEIp^_&Yp(PEJo6lhdFQ=gFQ9-?N~ln{!V91Dz=F*kL=-V@N+@AL z2O`8oE3dpEO@8^4gQALt4#gFZD@v5$S6%gjr@HD!ire6s*Qim`kH4Sod)e&tq-m{n z{H?Rj;Yqh{fIs~iQ}38(-fXjzlDXz4MGGwqRTf(u^6s7!w@{%*tk0dV#08Wq;H$YR zkSnzB${ad$A7Q|t1_XkFfKZ1ClO~*SriqK|gcpJc<{F429<5QK^5s5r!W1=XCTP*p zMu*NP^yuke!i43=!5s$<@A2Xlh7TVV{P?*MARx#~FUfo34LdT)jF#k*o7?l}4^42v z6GV97Ly*WK$2~E{%ss$^kD3q=x+Io3Pn1;B*eOMdH_}R*Kglk8K~YXQ(>3JXT%85SYva6 z&qRCq$enb?7?^5mc(mE(=;3dFhcf%^&s`jJFn4y+$%3$Z_m#ib8~%PP-|J0Jy;~ml zugBf?u+z?zbdetSpU2(xxO*NKJTFG7@2&WX`PGd)9(o-o!}=O1w6 zrbU{x*B=?LFmh#`;31dX1pRRcrIpr#GHu#e=+UFaHP>lfOfj>gQcInmC{W;9ojP!h z8igBebS$ya#yswBdUgQ`Y0_SMqbn4YrhDK-zQYbjxMRn>oOCj0aMsyy=e+Y#?cO?p za^L;@(L)cj5uZn2IT3(6_kWZY9(jza;KAqXQl+BQP{Z^PTkeLxlXm`qPataZHCJ!SABS_<4hD&ssQwoRVJ8wnk zfwbzfyGj9dc4&mhU|>J_bUOnsP+g1E7zV3-zK@Ru1T?glYL@Ok*J)!ZdG=4~3IG7z z%HRk3RC8JPg!Bm{JbYPR*#Pk!thKp7Sqsbu>t;n9s$Ws%dRGkVK9{!QY^|+?WDP5c zb=ozp6#jX&veIwwSNki&ehD3|tVmHSM{u4Uth~_q)xQd_FFn*M%C@J{u*xQ?n6D~R zYpPAE*|6F+q26_Td<)UQMnfizyxxs{>WUFL)HF*oZ!Mr&Mroz^v?ig7wVBs8Q#+XU zwK~|XqgY2e{ndF&mmJ*;bm!9}Z#_x!T`#6q^iEzM+a~nYTR)w4^zYgL$EFOjGdRc) z7ej*$v)^#s{EUz=(q^LstKDe4U>n2S;l?SpWxV$$;I+1iD)pPxV6w9*8Jnt5vuR1D zb8H4q(VMB(fLSJ+&D4N7q2}&vK0%Wfcx=(f9xV=C9Hgeji`Bn`w_QrymvkuEb1Bc; zk(wfHUHZI?JejVRs9K7$Y|C<_6}MKNST$_*jJ2xP71{u?F~TM#oBM1DvvtxoXWQ%S zII}Cv?)Tdx)q}lJ+lN!-_AB(@K)r)a4*hm`$B_p||2k&qc(I!Z-E85OLAQyx-Nzm0 z?z(Z0j(hjrujIjT54m}`+9L%Xo!jG>MR>x|lLMY=_H?gjf<61wb5)-Iwik%{@5Mnc z<$76fuP9gNRfWAy7}6V$-op2Guy<0uYq$5fJNJHu51f6d>Lc8JOxc}JkUlN-nY+)m z_k~!yzRLE^sBd$87vg)j`@xSUewy^NzF&UsSNYccF1tU#zYd?kZ@;u6ovwP$NKn^1 zN8h>gHZGL9IOsB!D;usscf;ei#HZmM%P;-Qn|D<%Ox}$GT7|OyeCIEIe-rsf^7)rG zbnd^^PydSoJOZr>`rLPV9tiD&DS>u}jZxchA&tP>L12Y25m5qSS0oF_h>&lNlAtkE zsh&BbRzb6Yb{bs``g9Do7)>$hjhVYeEPYrrumxdvABSlRI9GAS;2yzCj_)h}<_Qv1 z;d#)6tUK^x(@Q_E(!KWETY<9nPPcZ#KZz(z6suce*~Do`fFx~6DUt3c^PDWfoel16@y@Zo`wFdLc9`egz`mguy6;MD?FV}i z`^gz%4ov;yI6f!oismfP!d&!1aUGjmREKl_*vvd=%ix*JYmax;e28k8uT2&6)2(m* z@0%7Nv_Pt^1*PqmbV$K4Az?z*7e<-u!YNPTqPqmETm-!RMgC}YQMBh#*`ld0y{p9- zU0Tb7f2nz~5>+hDuxs)6OR%nC2*~MFuteJSm(&(gvf)x>>X7<#Y2+c7ZriC${bdTE689aEo4%aZ4-a?T?ZVE5)innaRrWE~l$iIJdY;tIk!$ zt0q@ttkzPUoqDG=cy_hMAE7jvubH{zwd8l9HBy_EcI|bjm$^=s4s=k-pS zu|B1?*YDlE0X@H|Hwd2iIbC@>80(qU7Q z^=?|MDzgISpyq|QK-l&c?Yr2LegC#>+R9dF?(-!zx78Q-t3_)+w~pKKHkcZ<>A5Y6 zW^5yeB+YgIaO>VKX4&@qq2jj>w&9@7q417Ab>nz=Cj|NL^mXMsBRjWNoy+b5?=KXhv?$b^I@DY9}9@H)l^>Gq6jEiI3kYM9^ z-aXz+{OS|HFN~m{=X8Vu_d+1VUXoPq6}#6Nd&5)P-ilv!4}@P5c{fqQ z3f@Pa%j}AFGo2crMyJbIxX*~`y$VG?cm{Hz7-r6hy9CC%zDUhPwxgK_b;hi4=FdaU z;#X6%6bU)2&lSy@yKpxAvnB1?*GG19?2CLG^n=q+D-I?c$2nEc8M_rOigSJ09k=gu zCv0;bnsv`p@Y1{DEzgH&z8I%p;QWX~2tZ$8e6xab{9;=$(2x+*g+eM6#v@#CFv1EJ zfnUZVfz!JDZWg6lylDBwaFsMTUtMBr7bjTh;yKD*f?i7y-zz7r!cbh4LE|yjSSFB8)Z_d#!}J$d&4Z zQkJINWfeYctuntkRX(a^)wrw{TA{kQ)f;uH!BZobCJxQ~Yr(BStMl5pn$aG<4w43S zX0MB`-@5hn5bDL#$G(2P{uxNxZ;oIa#3;=W^@b_S-5-_y7?IxS`_?z6+^z8^6NM&I zP5m& zZ8Zo@Mx@=*h<&<2>NGO*7Lor!AwA0H<)Ui#EDp86XykiD+lcNLdiWSf>K&s{_n2ld z8)AvT8jQ^syDg57<0S7ESKPQo8pMOZJAkhoKYRkbtrKjYkagEyOzh>4*1ekY`rccU zy`!mxus#u0q7lUMh`W<0Az3tOjP}W5O-`tD@=sGBs*U0&N{v($sluo^f|gB#zFL~e zKA6#>-AB@@r~SPPI@SBc()o04TlLw2Uhwp>gEO$1;qw|9X)reSMVbi#Q<|AkwaDC( z1==iM)XBj^uH*?;Y7-;7)J-ETi7Yn>xmS)9~46U>FG18%9@op``` zO3sU{8Q$sh(d>e6;{4cZoxft+0{#eWSrBv4f^mgZ30)Fq1;)4tydFftM5&4v9h|H~ zvA5!kmq6VegpEW{5}xE2QeH_dk?t%bTIT0vqm?TsZTZqID15gPi3XMGt_-MHxugmX zmE5bs2(DUdHISy&HmWmUy94F>GC9T7muXC1NVAQiKrVd<( z?v|pl-RXyNZ|wow|DrvSyhc1U`c{V_*f~%bq+yuYr{66sci6LV;)hF8A3Txa6V;5M z9^nI`YQ!cZA*uvvIkHORe^B_LJVVuo`uS+=T0mQcE*pK)80ae-A5#P7uVW#r z6>HttsN2NeKMt)HaQ+*Yb(6Rw#`C6sc+2pmj^DK>0u=-e_gtrGLa|;@c$w~%^Ioep zzqjv8@s5VD(?lqHAo`csF!5RvIV59AWlx%?=E;Z!pR8tErQ0tlqyZnLKFU zIF-jA8NhdQ)kXkf>-7^V^ zG6o%$EHF5puM=r$FQN1}DcVXV3wA))FC`^1HpoC)NzuZNcRl63@J<~r10~qE~ z5V~enSUw9n7^066J$K{M*XqKe-e0fO8iPN=3Ft`Q0CcEgy9Ne^Va@mkOb|r#^iXrg zVWk+QR&C>c5kSH?fe2@yB5bzMZfUA*dqx6nzzd=lEC1%NP1#gyx*!g0M098Q{D_}d zaA9riAIUkf`NLN)EG;0^0;W#A5Smc8+yhHgb^UgCN-D;%-SRmwdNxZ;K9<3@(B!fG zjlugj^M9g>fv`jhA+aWXdUf)(a65*dw6BTn_lIw)&LjDre=x+tUUmFz^sJI8-Yz4W z;zD$rWjH|0CM!bCgt@SNhZ1avxQaH>|Nelv7D7*wifprH#)zQjjh2kIHDKF3n|a>5 zkj-$gS5xOx%+UK~WxSkfp+UF7APT!3VN03q*kElTm-{kAcAI8GB(>FJ4D#YdA`PSv zvWC*$dAw2})da)1c*(7ct9KMIcBxbhV8C}`3KjZmxWE!n`Ny^X50ifN?&OivEll#< zj|>=sioCoZsi{ETxAc(#K?tu%T6~pKUIdcAFN*NU;_tEONrk(_8YC9~T_8xqEDd7W z$<6@swdN+;bKJ+o%m4oTV@np*0dc-1+}-ip9+o~jnUr&qBwH_Ljn&ONO9j}C=@a&f z&|oxm+1xPlpjCA9-7gI)J)ZZ~sDbB^|0SIpkO=<%=3wP?3$T=sbk+IdLB;uwzbhzb5Fbq`pX*d2t zmU9|k@*1dsMtGLsxxRjsr$-dTo28knj7Ci(8|s8!HiuD*ChUG!10hbkq2I0 z%naMC>+5z*XoK&FvIJjQ)iwOGs!fHf`I$c*{)$_96By-zRawtnl#WRR6jJgsX97Z5 zmKTr}v44W@)T}JM)8Ni8w)%TwQF zP=;<9u%$B;NG_)YU=X7omV8+BkZ@ckoS?j=VUz?CzFB#dS6m(6tm{bCT&&h9p5T@bXT6a(CW%aHPHFTZHYzGAsy& zC{qDJiayn=(h>_ZuqM_()qYfc>{nFq>fKuKuiUuF{^qOu>q_qz8oa7Re9PUE36qGH z=94a$S`U3Ws)&@&T>q?oi1^g{@#P!n(PjuBi^hi7fO5^#Sgacc-iU0wh_|Y&D@^h#-ko{W z|Gy!8_Qce1e3}9Dz{hd?eBjc?rY)Me==uxWYV5D&ZKGoN;~xhra|z|L=#okEShTgl zH@w#&+s5a~7&Lp*jD?oS#4N03V;7VghWhGeqH?w(0Wz;N%d(XGAhU;{z10+|%Z#Ym zbHveFOk0E1?2KWH5BN?0t*eu~TZA;nGchf)CGmStzoZE2RQu@vkNf@;C?$lbp*Rj6 zsc5|o2XKa0LQcEHZZWy)S;vHCw4`n>qThQhN|!4Y98(v77G#nNoIV^IO)rpiHcP3* zQpekHy5MuKJ{-0%3m6uJI&IJfCj_6afqimEXis+bV$Uuc{k^0DGW_?5B!wap5pXidbPQ1 ztnWnsNfgzUi`9hrEr^+hqGf2bh>3}~cO|m)3-T-Y@8wM_?bx0s&-uc8-}9dseB}wV z)i5dug~|cXEhB(h2-om)9(W?}?dNJEeadl1$T{Ua6a(Q=VW!?E#cqg*Hs4pm1&F9ml!eS@ml$4nBP?FCR%xvtGAmgwvbVAfoC#R-| z3apmqC2j7J*Cjf5g?XgaK0lC8p&K0$w9{jTarZ5p@v?Uf=mCEQ-#8;_N76Pmpjm7R zz5ISv7zBmkq)9Q_jT~rDIbl{F>~ima1JKvD%4e2!Sk1(aHeXWU9=od>9i?E9HkJ>9 z%qV41@ve)4)cw^*K)J{x^qWM)GKKEo%Tg8Y;rGK0wVmac7K?b;Y_GAPs<^-)h7Coi zAv8euC>+7Kjv4(t#ww1s^lM^ibXchJ)o@FN;0*Ab=*QJd2ox$;&>e$Y7InsOLdaY| z!9CrfRC2@Jl0UTqaU(_LI6dG!EH)xyQ**;Gq?!rOU4dvGG5&?3gIbWO+cvswy?tr8KQZsI~j&oc@(@6I04<=Xu-0TYnmAn~9x)}C$B0Jtv15dl;ft7qwn{G8pgrz^z20G=G>ODiy@nrO|7B z9=&eV3pF%`hcsq$W=%+Ilmw(xLCeXgM5WD2#Yjq5!G;1`1Zc_?R{VFMRg37-l&WWD z6u=Iq8^gspORQcLq*I?>*>3?qS6rhuIId)r#CZpFF}}9mxd>nHI?t}LLex;|B&}=H zsO1^vOr2)&O%+DgRO{xCm4za1C!9bqNRi0IO@xSz&w4E!4w6L`R}o^MD&)uqwt(C= z5sMf>2eE?m*i-P{o*QHn*BbEM`g&0=Kp#VS^esuZMZo|=Yd zA1N$c-drlf6E80HMU-P~o~j7)AqR5w4Y^X!PB=YHSt#WJ!g8Zr1;nV6UKmCdNUPDN zodW~qQq6w>Ow)%d`nRkKMjA=JLOv7sMS+sol7eVxbi?S-Y8^nIfh}?-+VJHwuSG_$ zKUNm8h}AlP#S$;{irqlp2qY~QVg+GhCvFlEL1! zZSz#6c_hM9)Igun9V?5p9kE)Q#A2>D14c(kx&y(-J&>(~NldCjN*~^0At6@S#e_%` zPbQ4>*kdF5Md+jEZ>|)7{@hZwqDZ2P)Pe&$Ae+K=V0-|EF@3IO+{FbjE80re;T#$_ zJ4Q8A^(duZL7=CQa|>cc!&vuri}9}r@424G@GF&Z6+yO0yMUB^#i+dZN!72`KkVvI zSz8UDnnkI-q00)@%$|4M@)ckX%ng~-otG(_y&oPnB2@IES!Fq6C9c*`?0RD$aW48( zCUk?Ss>um&qFe8`E(T}dUYNh0!l-Qx4kZJdO&Uf7)^da3RHtIvQaSVBcdWM1?~skX zpuGp(c68axTQ($mLNRO5p<6dgVLz}LCyU`-GWQQ|K4mY)390l2Pcyzh0Qk7%3ZS46 zIr0Ot^G9k8idrxv2w4c&ySDWqd8A+gm=9YO7_(ET3tmY{#gL)uQXw=(V%3Nj)d+ZMLOrZgimZUz2%{Pvr;rHxe~(oc8pb@-NjSYyu?7OQ(k1dq zO6JKMP_=MUd! z3>}i@0{ipf(U$nz#qn!#`Ml(oSyu{IXdo05? zDy60jKCz672r>wuIZ!ey2)GdZwdO8>s@w5(J-1Yko9nTod3$P~6C%M@MrDiz@!}(y z5so4$GK}>f*AEPmpbj3rTRSq%76@r=`^?((*>-Kdq^%`wfgs}p9+{AnQT1f;@XyhfXb5G|Zs z_!{6w!39I_k!rnU^(HjU;rMAf1PG}5mB#zOa_}KhcRf^+L`M5|%?%?BvWL?0LtQ?I z2xtU*v+*dWcRGqD%Z66$_}N`v#M%bD(zt6q$1Z@FXcLEqV{rS5nrjFY@#cTS)n7y; z92YRU>xC$yyqJk{@@dk>ly~Gq?bq54n7pm$9*A1sR#=MBpu8F21T^~cj`WJ7H3TXU z+kLIp$)f-*K+?Z@omZ)gBu}ueQ_wOmz+zuVBGbc}-Y9w~mEFQ*vz|%I*`P^3HbyA* zgH+p()s?Yy{CIHnk4L**#7JG0EOYo>MBBZCa`y0`Y_W^MyZdgp=3U?@;o1b@Lye58 zkUv*N=h2g0vhyl+k>m;1bsX6$4i-OfN(%4u%~Iu(*#RHfQ<(D6*%u_1MNmV*q{d%? z4N1ZgQc++31w;)V&w{V_VehZ%%<`EL__v?m<}%?0IQj>fWW=`F<;jd;t6qvBR6xf( zTU$^<;RR7raRP5{{g;@d0{kgChAj@9hs!Q-{Qw0&DGO+pUhH;Klb;V)0P(DgJv58? zYxXy*+)Ae~ma;kx3kMJqRlotzS;<06kE(X{YRv1_0e3o3IC|1XOv3SnHrLfCrcF?H z8#A270eyA<129`^%WPbdIOzz6j~Py_FsW-BotEfT7#! zy797!Ajn?d#X7GsZ&p~#tG!e)ZI;RQ_oXJJCqG$jh1nF{uv?l|(Xqt=&d>Q4?2aUx z!>uSnMRZ^!pK3sJh-LLFrO+>v8Kq5U^GcH#3RP&bA{5DNUNz6*l*ULWwxN|b+8CeY z--A%7QN9K!5d=z8YFG)a5+OUa*y~)W6wrBHF33J=u`0K=5v8##3Ib3Gchn=2*y!+2 z4t6nJTt!^oPVI9l9ugN4mD{>y#NnkE02S8!-lfW6siNhQsX1eAU$l&Kc=wLK2SNmj zI)V&)uQvxSBE}Yu7HW|n+L+)Byl(z?2#JaKZMJ{LkzRY#4me@md@Ng{^)Lt;@=otm zTSr-y6+rVq_IVKtO)y3mqN5EjrmS{R#io(A06XrD-c&`=mcD{G$UC=2M>OBq8(?O0 zap_^6_~v%M$H>T?zF6{g?$U7`esUoE3O!;Ri^gMU=y5Jy$Xq`4IBcI2Sb1ztF`2lrUJArk=F#r^>lQP;x*t41IqnV3UBivmEF z5H+q*NYSsu9fZQiW(iUVZVFjE;au)U9KlFMjQxNGNl=H#R)JHU%8%Nr62iAB3W(Nz!sP{EtJS557roMiqG6(R@sPSazPw{1x8{TH3b4cnQtxaG-#8lJf1J@vm0 z#?R)dNA6w5#PJ^9q%Y))mC#s zu2rZR5fqf0#sdgr`jSdE!bfo#CU!gQkwBnypa|A%ebMNAD9nOoL9Kz-O{0Qu0H=j2 zm5(%^e{t+*931TWJHHd+ar{g?LL!*^bsA#-tC$1D&_o;n zmM97s?*azY9S=aD)Rn@eN_=wVd^!vvlz^WTo6XHRY;FWNAaGs=mU7hpSVx1DLOk!J{4ThVq5pS%RP0>Hy4(rDWZ$)3j?1MOwHxp(!E zJ(!Pdizq1{_|AKHP$E%D>;4QQQoNgz6xmJ}ztY@j#785v(-5#-? z#g0Kv;{MCUeRhA1J^L)JFkD>FiL}THymR@7Fe*nh>UZw6CYTQV%ixj404Cdaprbh^ z2Myuk0v{oIk|JgppiONNTzGWwTqKTZ!H23@9=-l=^ijp1tDez2Jeqb)+DT%i+;$Np z373=A{YeDlwrg7O)o6r6<*~rV53%ueQWszp(T;G>e*|PCFf**J`dp?g;ju+6Xn>O8 zy4efbVOi5d>I!>hW9;vY&#{CL3hr;z6GckcJbqA!~ zuF3F-e*n&C-f|113FrIs_pe~~n~4^d{DuPhH>t(uc{?eVf&h9|aJogm>Ezx2{&f3K z6w;B%It9T-spL${?bn03)idch_J8|@4F!V@Q^mBfveSf_nIFpB!27xZj{k7r=FgZ) zcaP~5Uz{au$^GRIS6`4KOZIOIym|5l(rG^bctArs6ji6D<@I0MFTp~*-j+D<+$I7y z=3D!T2)?-Jqee|SRkjwvs885@2-zYF%M4jj#ta|SX~en?T?{(hPm=>HRR}xp-7YAo{K-?TakjAC1+b4a6EqulV>*z zjTDJPSZj#o34QaAqpbrnt3qKbZDhc_uAdkSxM?i5(^dp*R`-ww|kCvDOwB~ z!IMqqQ1v3JBO7i2Ujsv*?*k?R(t(*7Iuy)|Zct$pL6BZ7)|UGq?;8ifo%x&zQ{_&8 zpNfG@5Z)-6Y3E1|H$#X})v60NQm(0o_u8no1VddqfR5KL9dN-DexznZ| zF02=(-4M0~cX}2{{x?x&@W-K>L!Z2^k#M3rRJw!=69?Mo8?OP6;5}E3aHC@dD3(+(T@rNUhc+g(;Rz!nBTi8&C^_=G zEbC$A=%3tOck(eT&w6mA&-`*eu)p2@j8*L6xj_?r&||+EHAyh)-@5}2{j`Aip7CpE zCrp0<`3lo75fWzIWRMQIb-F_DIiMDxrpNv~K3KtXhuf`o`ij7n#ZaEe8cOUS4(YYt>prg3l?2M@yO z%<`0BLgTpys21he*u`3-+DcQ5eh`02Q;Q$Xyn@Ukj! z$PkoPDSQj(|7RajJ7wR@O*C+y)7;z%;||ixkbTxr`}}5NDIsG~qVW(?j!CQ-AEEM$ z>zS<2!s(;leJEK&eE~;kDZ2#fZ82&I{f#YzN!WphmgW9J#~R%C-gZCE3!V4g5My-8 z|89GCgG8d-E(i36u|BH4zCgQ2g6?Hnx?B`F6Xw!(J>rQ1h3})885K9CjAHep!=(>& zb8_&Ob`1(wD=!_FB5J`NuB>heVRYJ+QK;z(3KMcoh+w6zR7d9QjL<|qgdSlijAPY? zXT-=v6(w>j=BYUvQxTvIVLlX@j#9iENYFqYgo|H>NtP|2Wtp%t~0cT4t z0ZqT~=9a1#FtDyI_7;JOrCE-lIA%j%#(8Zli?VrfFIl`=vMw7*xX(D0)^yYfX-3LI z_?r{Qm3_%1SH%0S-?;C=nmba|duM?fM zPw((CcqV7mx#bE8`Qn7PVKqQyvv-e8$_PFsk5M|F(r#D-oTd%0)@i_JXn;+)G=4(K zJ9(1VsJuJOXVyh8&DuAfcO=Czwe$@!vW zf|&Pw>yv|D){5krt)98`S?OfQlG`IC4?Mo+PvD%w-^Rmh4tdMhP|atGNuDmQn_I;` zQ`!Jecm&OE(btr8NO?v%2t*gjpXhBbkvx!PACh7hwE+@g#bDy>GMAqRtnfA;WFm0v zHtPwB=hlL8(@3-oo0@OM6{mUiAo!kU_4j%B6Yt+SvECZ@R#~1^=B} zVWZ#PT0A|i$ecnau$paJQMS3U=R}L|XDQFpDlDuh)i9=`#77KZlJ%t0hQ6FLRD9Eb zB3cPS-B;D)7hm2ZP?1S%^kLc0babuPj5t0X%txw2(QVJ@6!VB9;3baX_3HYv!sixU zmh7>%?mT%B28K*prtL8AlZ;a}3gs2~4 zY|Yg|jymj~NJ45alr2I}RV?Y~%!UhD^eXst4@T{bGHCZ~EDAOOxwN@~E10RoG&pt# zQXx~g9c7{g7=KYb9yp~UsZ#hIMi_lo6vFuYwSg~KSd3h9J3^sJ+1=|r{~~m%1W#(` zi>A-4s!|eTS5#qR7mTgo@IfgZBOaOT#vDPR7`6&d1@IBbLcwE;);BA!1$D%;f+?M? zj!lY!h2Q<p*6awoD2oG*As!H~NZrRMx44=U?pm zn{jA7e}tFWu1y=UP>+yF=eP(()x2br+kDTn>$L>u|APj_mGUhxi^MdhV5)muxt8HpF8`{LtX$wd^dUqr5#O~g( ze{OK)TIr9I%JYrVANU=Z)zigQf5Ycr{Pm2`ps zP0;%eJT93F1|PJfGz5Xr>!`BNl29J~RPbVZr5?wJR$)rz@nhS$GEjt&Mb0`sEcTh% zx6tHakJV#q5etpd26##a{O$ykEjFUomE{pQ68Zqe6Sd{V*H<1@b-#!&eS`OX#a{cL zA575Ux%nX>R3bc5mFboJqj66h?dVqp&CVq{uR-a#AyU5TpbJJky>#`*=iTpLguTw7 zVnQtUi5@C#Rid$;X*D!z*e$a`ZD9$?(YDCtDHI#)Hi3etyF<0fd@6G|8X22S%x%Mf zIqV{&u!)ie|H`C#B+{dgv`%*j#KjObU>Ifg3nl00z)3-r+=xJxCEDH=nEq|;L&8LIb!Rk4_-a(NZA{awARnNidN&nQTb|~kr+!j8}tA< z(KQ2O6)fQ9;P1iJ(Q}0)?$et4`Entw^6d0`*LWNC>cw%0yQyKFRMY=%kwe9a79Ak zsO#~J-G<{h?FU`jg5f=%8dopeG4NcwY z)DHN|IwZ_VpyHrEtr<}3T>j903w(WR`1V!d0=9K5=p-3g8HX$|OWnfKl+97sD~yG% z(s0O%pz>bRZX+(cUi5Iq=TqH(%#J&1X@(A86lRklQmdO7d^X_sE;`HQRq4Mi&z^nL zf8{RjO0?&EK-fcs+Npt>Hdx;U!J6y2@Cjf&Jx0%iO%Kn%P_KXaneDlw?^ztfoBn=} ze`RxJU-~y17<^?*;oe8vkK9o{>&DQN3Z{XOy*Z)s4zvW4jlJE&lLvvx2ldv8$5PTo zvacDbsph_6%lQoO{6Si71@4~w>7N~qK~uihumiM?$9nddMOgqb#!SA?_68*b2C6;& zZLi|J4e5U%FA0|2W_EeXH_(B!NF`d=$CRt3eH6p=E@$F2H+ROSIj|dahd=(f1YDLu zbB4@f>}nf&q%rtRM@UCDdc&B(^`giajYeR;e^~lAf%ss$3&^oYgb5Zw-T=|hHw^p7%1I>1*Tkw&n%CYgLj8pR}+{gy7*Ve z$AZb?cnwdUl~7~9s_xG1H-pm7Lm z=cpkub9A3ZXG^x!878fvc{D=APvHM9Z%x>o?0bcz-1IyoYUBh#)wPM{H4?V`FK3+L zVW>Vwbyx{?=vo9vEZs3*f$w=Q83mJYAddeYsYJyA)cx_F1=>O^Edns5u8;`)KLb9# z48_;C-lKa2+@{csEVf%d0yO)YM@Fri!|eRN*UbPQ^8SGun@(R^W{gROA|_^&7XRp@ zz`{vXtxzc_J~aeI4zd_dTPUImd&94s$HEPGrQK?@x45#@qfqSUD*7)T*)-!989M7Nf1BCNc3FF`j39R&rR#g% z?Fqd4SuiH|&N@~JupE49duORkqgJBDP_;&*=%UHr#E($BaOp>L7`oQ;2H3C$YADpF z6`;PpYh_{VQB{h3Q;~CL<>s5j#WEM18~S~{PEI+)cXdSu?oS&??rACC8yT;P{8k*! zC-k-3<~shI05t{^bf}mkU_W39lCTC>eHYx%M}v`FRmK_62Ux>6IfLQLu;CL}UE%cI z0~jI%Dy?dKbOZbwt~wZbf#nvCH;X7|45+bd+mRAbm}^n1x$%_4J9kIoeVP9|6-;-x^rkq+^)z0Uz9#(}l!-;!U zD9Pgo6trk+_6v#dwsgdh!zf7<5!k83;WMtxSX)_-fyRNY6P!D}2vKh2crJ3lVrCiF zDg-uctG6Td>7dL&XDi7Sp+5R3&Bm7F29Bjk_RUj&N-r$i3^2((sI$?4U!39+k2ZxI zW5`vf=^SJWbx|~)L3|eWgW_&llaTvZEh(E+-9C`h4g-4=Ve#e6YSlh+2d?Bg^r9j& zjE9$Ib4Ynl5}F{EfcE7->dcBfqJ$8?yp* zM_(b9vKwh8NldRKO90BHEYOrhvT3{z(qcXAs;H5iK~olpI8VqY%TQ$a9YDX0gIyNaz?nTf}L*33s z^O*}h#OI&v9<77JG=*KHy87pKe!-R*Je7hCR`{!>)(B6&!QVg9I*qzT`zPlk2!+V+ zquakq*LkQWmwI~BW?u zn)<4``9Db>LY-1NLU9B!H>K>esafK{d7zg;QE_J93DwGn=5BxyKLQ;bn7CS-6QOww7XkKNwlEWP{~>X zNs!`~1N}Mi3{_)kj*8I~dXFw?5VtF7fR-9v#`Z$M%wbOdo4eNzMK38RwKy=;Om7^* zCfTf7$w2Q@Wi*rV)T-GkbamaxD6POBjo{T!ym%VZV}x618fnRX`h*YP@P2|PNgK0+ z&*|6@{e!~sDv>f?ZSn2Qpz$erFAV-gyvmm=!5QKL3RGZ*LRYWqJ=uRhI;?>#)97G- z#W%phi_`6ltpk9MaPnVW-U{0hHf7A`#Iw_2iMT<^wpD(>)NyKIBMG)Dm}Z`1Z?e{e z7bIXNeYQ{(LE)={{H7)mY|8k;c0~|!5u8H(wDx<@at>0cYK+ErFWCGomegiF2B4TX z8({}8)gI6FU{QrXCtIhQ19t{*;{&0Z_`reS(14A)aNP0c#gR8RKG$r@2GEYK+sACX!wNPq6M3$iJlIIMOaS&#|)_iIT-c*K!SG)J#K zY@ZX_X&MzY>AF;6V%yd2n+>|MiV@fJTvDQ|l0}ve)XWL~7x)1AZ~0FRvhjYIGd|$< zd;~76&%B;;Qw%+RS=c==w%eUQM|m1B*L7~{c{R54@)B={bGp}$)Qz?Xx-FXF%4$ZW z>4h=}v&l##P&{<7;)RB(+ifq7h(Gt%e)m-?(?GgBuGjQS&|L*^6^Vlz-XmY1EO4qu zu@8U1M%ynbnOq(25%7@N-G;m*!DHoY$HQ>3$GT&<+@g>L@ERy?5_jmt_=evB@uHI* zIDSjK5=$0xlFPV@NzvvxXXef5vzHL>&A(QQTaHIRg9(hOJ~SLuQ9QA!Uswb&fOj_CZ6 z{lVbO!~3rWV2HARwv^HAkY84GO*Ht3&e6xk)CmVJ)d^wdK8wV+g(*pvly#A6nM%y- zY6qH9r8){O-zd#>?@+b804;*122v3!{=%l2i3Ye6*2b1AXzGU_YZDOc(UY2_N`!R*l#v{3uF-_Xbf^|3wciI5&}Ic1l2RrlynZi46IW%hU;{tonLv4s9G ziaIqpiX;=D;_Q+wJe^Z6Y-RAPHmGiJw4be27Az}9pS35kf^^i=QgQe`Oa-k~kti!x z$q;1OJZZIujg@6o#Kl#(Z~@M71;rxsORkKoivCiiyzd#y_c!$0L`vWZ7SfOcQnLXm zZ;<|2z02)WFI(mHLPqp*Ic!Kb+Ed6x6X1W63C%RmuN7|G~X zwsS^}1JSJcKqrDW6;>hs?Y;wz(^?SL)sr<=Li30}byYdo!TI(~rL=NV20I$%3S?E|QWJ3x-Z9R4l)sX|W=$Q(0YxkisF zRo6+)-XGquGnY!lkL^@|$imv}%gXQx+C1Gey1#i&{O7|b-X0Vd37KTI40-2o?v%K6 zOCc8&bbBP--4#B?{{h7$n#VB!JaVT=o*UB4UkRYrh5AZMm?t$%L(bbLw1wmxy}}Cp zU3$(&a)$TAIfGs)ve?gqj28vi#UnTXV;gRt%Wt^FU}aDZps48ZWfAel$|=vE^}??Z z6;nP~On~bsVM&^`@H}c1)SMtjQ=5hnnsyQiHfD954p2!Bx~AC$lBjl=+- zSgWI|qr+Z|X%@VP92kJbht<>bZp(;w)?I{>t?>kPdAgRn8o^}oq1BFO$3YejCjrR$ z>osq1#vM%#O@OpNkYR@d?eKj>y|Zp3M#Vr%#N<{8f=fkboSb(S*Z6C*=+;T#6vSQ( z2F+Gl&>WL!k>$|2kuvD{yy|7uE0vq$o~M>Dk=X(0MguEqHUUViG~ZkuK7mPqJa(|# zo7yZayqIfsRc|FIEUx>>wxhq#4)ubVgs^H$j(RwbqB&h0f#_@JGpNQ@n46py{`C3` z^dD?dUqS{~u-=<j@5P8IjD+&Nw(|{bD1x%_~wIoF6 z5DD08k|gL1TVz$|ysYT;ok!NT{LXRoAkxY9_gaw^zLavm*LAO#?mDK#A_HD{h|jeU#?Gl1E&#Szc5G-@?Y^ z&D$+~lQtr18_RR)j289q9->;o7M@ERLsbo{t(bWYBG$3+4bn;SG52CqYplOyFjb>M z-?X`~Z-5DN;g0|b98O+7@;gV~o=G1zl2#>+JJgf+6%CYOmOxd3OX8Y!N+6is6tzpR z2iaTnX4;7koPR|i`&%wW7=y}bNt*KfDx59eRxPV;BDG)(h)r|Y@; zq6O!|iH7o^>UM>l$|dG^a}wZp;bEyUqifvTL%F77fHD+SmvD5=t+vHU+{cKFrDyNc zKxkgr2#2{~R+<%@(~v)a!};saX<>o3keumQF9DOdH0K@|Fps0bCbhCp(9yS25Tx!Y zf~vb!DH-4SmS#e5j2(C7IQCs@9fs$5(J9m5uW}!jVs5`fZ?w!Pc-%i|WF#KDvN#2i z1UdAJ4_-!P$BbalFwu4R=>GJ&QkjWJpd5i6qG-8h3`l#>LQR+-knYSik>Y(X%+*4W z2Uh_Gtdo= zI_-1zVpMKp&&A&cv0+xGEA>lw&)PnM1F~lxNy|@7`LcJ^yLmBrdR2LgLi9K@gL}+7 z_@lDrBvO%Yt+B%Va(8O2ck3Mwr0C3XBn>{(uD##`&z=sJZ|wL0+rvBw3? zunvOf6y-#u5;_pVvJe#%Gp&;v5at4)0vH&EXARtZ^v?~Up{y2Fq~v8KR5tdY3=Wmn ze$7mPl1dQ5g|sJlBLqeb*{70nzwlkW2l?xG%~;Oo^o$)n+hX+@chH7l#Ib-euI6^)PJG6B9 z`%tsZO8R^(8tZojYCMY|N1g`jj_=|d=%Z^fE@9xRR22x2#jI*9hKu*@9b*FS!>i9x zj$3ci zY9HbpVh?3UYo%x=c@12+!zsv>W)o?~&FmUZ+Cz zB&(d9n_bqknwBmdMHj;%^ozbe z9V}I#LsS6$Az@{o6#;ZUNTGNIVnGY=6y-XZ5D$-PjBc(5^iAtks<3{#=66a*%JV2jTLb!B1pC>v5a=m+gvZY1?yFCw81li_NUp6tAK?e}$ z{Vvhih?=7(o2M4_KG}R*l9vtLI&+4O*1Ws3)1-`h8p;*C1B;{>bB{bKHpk56C={x^ zXyA%OCR~YtasUs(YNAFWBKgW%EO`Zg=rK|yJ!R(0*~>>84$z-So#YRQa2;K~-0IKM zD^8thL(L_JY5JbRRG7c*fQSg_;T+2~l5nI@ugEHO=%wMtu9}0|NQ8rGDmO6bdgVQh z77z7@N!>Ym*~`^&Hw?P8)oDkpnR@ESjbCWOyKe8lM4f&C`Z-Ht6}=96pYJwuxKm|v zuk(xd=!dw5#){I@Al6SAn{-vs5$653Y0&(|U5r_{`Jn2x(Ec^HNIn1*N?R8zATCc` z{$$Mg9|9dOHtQWC)_Q^T;53?=GIh<72IDb6-8UZWbgiW0qn4ptCmtAN6aA)C3s|Ze zn{7S_FRAT1?(Z?GG;QVroE@xsm-R_h+{p} zvmBA#n5Cf3Rdv|-syRnQ^*w&LA9XIb+#;TTbX(b1G=`=!J1pvLoNX8yK735C4i8$1 znqidaVG$qhXJ#S^s$=oMjKkTLIZ9fmy0}BLxF6K%efZciXT5El4JiO)&*7WHov)Pacx8D zCQr_dE=)Z$%leg>6@Pn(*Sty94{>%)uT15cJzK9xRQs@H(8FOO)*b|#_zWOc(ga;9 zS|F+>Lm*2EF39dXcDxn(*el-4GP;dhFt zUkSwBTwR!bA)ke2S!d6qNuO&mHoAVJ_1Zb%zb&kLHHL8(#yh?n{qQgD=NpQ#GwA~K zcX&ga5t`j*|7QsF0Gg^`W;eV_DM{Y^eE4ahZDpe7kfr}z;vH1>eE2D!?RVQ2eKB3y zqgbU-3MxQUp{CHn-PM~+DGZ`ZkQlpMTLjH6Uq%t*p}}x&d<1vDbQdIbvMT+nGUh>@ zMkrrX&j@ttQsv%;5K2Yfa2s% z4ND2r`voue_*I!+nI7FMY@WIPaG4kIw27LCgc2W%HVl_~Ks8Iu$q8j?E=|Si=VDx1xk+JI z1K}TB@C!_O41lZ3z64ADggjek$9gEDi<1o0M98yT^DKzYZ<X@q(#aXmYrWtdM z9ifG67mh62(#?~eKJNvvi!_rntwi*o&GQt@H_?xI={n{@Qx%>@jsDO0_;luHA99Ep zHY&OI6g@|kzYjs0fyA!aYp{Gvy=AXLrAG}X9qoKc(rjd32@*(_q}fe!{v2EA{}R2C z)J~Qb>st}#z&r(;6gLAkmyXenK#dy2cSnBy+06TSgx?Id>2qIkdaS7Zfk*cAvV-&4 z=;2XZ+DaZ<@}7bgS$;f64~^nHtA`6#y3#0l3%uD>C{*{lu89=)J+ZvDRAajDKA>w>M$Q(l zsa?TX`oQ$|;&MRuIBd}pZv(Lpt-=MEZo>2&`FzC8MA4Za+U|?j3Qlk4P2NEWjWA#A zB@Qjo_R7b`jk9TRZQ8ydWdD|OwhZKq#{MSNW4gUL=dZ0z%2>(Gje~lx^eb|kZN_7Y zw-152nYXVe0`uDm1W1>V-B~d_)a^a7&7|K*iGKfri6qw#<@a-FQcSktiA62p$IA9L zq$12Pl2>|z>=T0)y2Bm8kkb@8c*@pPG^H!N3}7`7kP*>35bG6iu4lXLKW3fxF(!5s2%! zq4T9AW3}p^>^2fIzgYK;nw{T*s|?${7o$Gi_3a)6ORpynnzy3Q1mr}Z;0=E^Eu|~Q zQ-Tv@uiRFpL0CZc)$Mu$AnjMQ{oq6S`B3GYA6V!neq(7`G(2$U>@G4%44tK-w@F#>ef+32MMDk4y~dr!9N8Y+!O}$S z`$lk##&ALbVu;dZ-QBVS=sbru1D2c2sd|dcJuwg_2m@x-_VBP=U^f=k z9{S;k-C3^u90SVvJ@dP{PBngjdMJA5^@go}{^BBLH|>-IN31bPNL$0U059Kv_*Jh4 zZ4_|p!YV1^OMNOd7@=#$$^TT>4Q2?*s9RWMaO)a}FXl7{JSYFD+MGdZz*Fi)(KU67 z!B7R*YO?AJ&Z(zoCw%kA{vc>kT#9x0OvM=A0UV>=jJ2n;jNzV_#!)_Qu22hy&U3&4 z^nmc{-DkwOro!EeEkn)=L8~T=mL)H^m3WLu*l35<;0)33MM=gTy^9O`l4vms-ex5T z8$CFG(D2l7x!J=p^fFE_CAKyH=qY^zC1gD8DizBlcq)tFnL!z>GYYFz;5w5dB_|$V z4A`k_VIJxae0(M2*tp+$xI%?vm&*U9$jtWg%ELYT%gw3_wOTJ#8oQ@Y%8^#zrQd4P z4E5iT4~UmRL|opb`2~k?#SrwBBV9r&g`)f~)aa?E3C6b~O$sEa=30dq`|ZVN-J-Q1 zuc?WChvtag>m&@t^2b{h2TDDv4=+Yt3{fl=P6Gm|;(jkyR}yjvSZ(Mf{=0$g_u{lw zOSebZ-sX+Qe_mkrZv0lCct#Z7)*iF}<^HsUh_kD#MJQagS%dBW;r=p3)Neg|Ae#8F z#+@aMe}+Gt`^3T?jOs|>)h;ys$(;)@JIn=!%W&S0zjhE&AZhkUli~g_`zL@$8}$0X=?d_zm-n zTdsv%Ry4z{m@OL~>nOUwq@4qAqp_f;SIJne#(ThHnP)Sh{eH@*9UT%Q| zV3bt*V15lE8K&@ z&1k~fjj$PP5w}QLx7v>wn#FH?c~WKl_2R^;P30YDJ0;wQ)scq0BsAdYIY>^Q8bu%C zGKj+Y+@t#!j`JeptDJ^uLL|1a#_S;`=zI=Azcy@vzrU%da2`xG1SdcdXgu+e0mvK? z<$MxUG%*d1MJ5ExuC8IMDpTVyx|41}+$xWmf6!JBi}B!C`839k+jhX^_l!(Gu3j?^ zVwsAaHvRf8uwd2=Cj{0FnPPWV7%V?LEYLfL=rZc2?0q;Wtzj_R1GV_pOJAiu5K|Hdf4z+ zz|o)Xhr$C`J!3~y@pSk7gc}R)nyzIeZD;fJU*2vZGKobRUB?p?Jkx@zPOTTy#S`i~ zG2kg^2kuYt?F%1mr@|hHo@$Vihidg#uGRK{gr{q&9==4_EhZFvrB}q717~)>v25j# zCU>)(X!=ZH+n1P>FUIYJ5nTZ|(w?;Zrt1|{P%k}NWRl~%6Xmv?R^**HWS16- zPFKtkxRiyJB&VU5RoRZw$ZrWSHQbOXtO(J-;_=q0=}lY!Hu}1#fal%Iv96F5=|pV9I|c?;E=}sZ$M>U4l8%4?KdDFzF5_2x9W$D6T(<-<&HCe-8y2}TFirieS#!Z2iKUcu+)?_Y`EZV?Oi(nbhdi$$-+lP+EbjE9$- zk+25KYkJN~@bWoWL!#Fn!C0qTiQi^03;^}~y74x5RHFnKG&4O7Pn?y5l^As1jNhynDGqE&U9Ax&DqL*4P%j)l$G zXvH<@*7x>VrqMQ^7KxsA4(cUS7RK@JhHpR=TEG90+ ze$F_Y%`^Jb0NiByEL3g&9PBzbg)U!qr-DP}fd=EE`JA)TImR%iT5aR}bhvF%8dtFS zQdczyj2||a3J|B>*Di{VRwsGvNeTu~9kbp`<~OB~Us<+IO~@m`ehtU6x3oFQx#`^g z_PzyyTc&om+>!jx@DDma={f{G)JVw`1wyWJOdbo&JI_#m5hVdr9l=&y;)$tKf2ihh zO#7xjHaI*z?QSugySO~=5eT@-GD0xY2qeubPb?OhNYDQ3iz2b-4%t9D!+dTRM8nP( z6Fyy6`~==UE$55g^Y&HO&=`n(gA*-LOcgb^rG+hqPKo}R9smZM>SEPLXJV1*Pa#Mb zrekw8;K65osR_X;ccF-E zV)OL&7&~uvnj2+O#4y-OqYx4#(Nxtx)CJQH31%F6lqdMJ%0UXmi|zzKY$6sPa`hs9 z)+l~Q$pU%I%Rq3$rvRF-htnEacY4FMy~i8|{s@>bFL?u{sSSSSD4?R$-A4}epUdZ{ zIhr@zz=P?)BMu8&9?2NZFG3kb^WVs!`Vsjw7AO_(fQZWoQ{_DTHT%sy3#uuO;_| zr~B0N9!w7OSz{4C`=T{;h405~3W6H`?5IOOZ6UrY4pf{a?_%_HtZr=#*moU#34Tqx z1zF9} zD&=Uq+;BF!AU!hMC!Rr}*_u7fe6&8*@o?c)dLFvEdR7Q|YV%Srx8f_@k3remHk%G! z$6j6N0r+0o^q@-X)mNIT$@D|8AN>IZZrkqD{Blh}lEP#7Jk)pfZSiLt@CBHww5MZ; zHKNNAZt{?FI;3rcWD>HhgN84FWG-!hhKqk};08KL!1L7A7q%X=4(6Za3o4whx*dFF zRHlPp+70K7^M9ARJKs&t-khn1|Qr znbUN~`tc(cDR8Be}U zc>nAQr1_wxP$6nOz(6YP%nzPD+R@lkWSQ(7#+?uGfBZ3{iSi|9`d8s>%a1k`|E4@7 zLo?K_SOpB<@$mqoU3oRWPe7VHVS>RV=nYcy}o|=ks<}n6(w+s!>?nGGZ z3vZB!RO_IH7&=SiC0CO9vR$ciyT=$b)`j8T&=;3@9(3H!Ld!P+J)~?2AjFa7n+R9n4foPo#n+A*?**6B= zH2*Y;r^bbk71v{T(0}RLJxC4H*xcLQd&Uj4=DJS_7ePNL^nyL%*p7q*)oC(=Xr6p} zV1TrZ$Mq{N!--|VNd1HxFSVvl$ME*^)rzP1{G>*@=3h%77;~DT(r$59Zt&T`t}_b~ zY9KC;ji5Zqu`#UL&On93JJ%gbq4|%L>7(QiNtdcjZT@kZDW8EoQ-5lecFNW&@D9oQ zDCK%c7H9>iZSFs((z?r8o%Wwa6)k7fB^NTVNT>aoccm-S8$=*bQ+?WG4pLF*WCxO7 zpm=1p4BxcRTIJ2slfrvV z^;%&h^IIxoUi%kp!0L*w=h*w^s%7~K)5%CR`yMu#*Z%U|ac>^A-B>4`&irB%Yd+~O zxJqS)=SwwnGvGuaIVq85>DZg&&gPRIy|>z#M_e=Mx2Q{?@>HYspxVbWa#*2)Qn65S zk=A4K+4v2ANkSP;E@uc(E_sA%VE5JZRfdaC5;+n_s?+2~(;n8{hTBV^Ch=F=9Rom& zvse?}Be%jy5ZFN@y`?jPQcB$45kLw2069z395PNSVX)^Xwb3>Bax&W5mHV=)A^!k*Xa+n(fiyID| zLDt#Get~R~qnTtP5m`BL{oC|shI76GOn!dtcBEG6*a8-Q@^r^+fq1Sms>K(h_91y;dH>iYPi*KpQGISKsL1l*xxHA85j!zvPyqra}zsm>25Wbsk8rJVWK4P$-*F!CMX8GmcYEd>(#RBw(lC6xfXavlY5?+2BPuZk`JZOjU+;By1MfEgckAJFN` z$`s3=E}2Kk&uT+P>8rL57=b}+S1TULXH76v!8jMPB~?y{0VJOjJUGcn58H=!wY@6s za;l(=miVlYqnE~G`9iG#y}%Q-2Pl&=yNLKqjutUAWQ zcvwI_MD1T&wbbDt^P=x%&noBFEdc+Cj6>TIFZ3llVq{35<26@fMImehTgRm{%YC&) z&gbH}i;|xm8$*+F^6Ng#P-L(7;E7E}^{(BoU=}|J8LZ@#0k>d!xwDC-rjz_{IPyd* zvmOnxvPvoP4%7d{_?mCeeB5DSBNJ|NE$97E0LPUp9-j58tHF_boSLF17QY((2->C) zYLqmvx1&>^cy_WTOc-(QqRpHm7rGUbxS4agD6`aj!GNu8T|*{P*)E{Giw7Z5((=`D z7D%e!*$G+I++8xqt1~&@4rS(LMl?}>Zn+7#$QR41b2OA(-K=Sr=1O4?2FAQ8Og02{ zVBV6on{_kqns?bJ!NHPOLI0cfCx(^M4HGn#Hjug=(P}>CjaBSZpfiiuYM5Nwmx@?h zU~7%q)z9aRzhTE5ei$fY$JRrPES*XaJrP?v(R32^#1b3du+a9kl5-0N-b{L@^!fc8 zb81XeZ7@_fpZ{^7Yt{bqzryF>ja~tLGNftAo;@-;v%7{f(g0_bOiwor(reP8{Rde8 z5!)sQ0)7XZBalmBMzI7TgwR)mMl#Ub#^T7-_x$=7 zOk1|$Mq)@>)nYMR=b*itqi?Y-5JV#VHlWc`^h%w2N6}Yz+LN)ooWqW?85nutSF&Dg^!7Cc&K-GKb_6bymRx@_5PVOI57VHnQ}W!X~Ub zUWImND$*PvD;m|_8C=jVos!kdBy9oV-TD-XM9D(5%A~i!VS97Z-d7_+>5W(j6M5YML}B z%V{pmbBz8Qu>?9$zj8zv3DT|#+O=)uG$yNpYa1z0mj}Eg?t{e`(Y*N>T}DsNFfE@3 zVjJGt4#|}-?b@{`5%U%^x-PZ2H3d0LmJrCbsPWc$a3MKO@ndueoysFogGC$B-$6WY zvlbm!ks`4P8SuEyjtxQyu~$qwrKm-i(1skgNmr$me|gkJ(0wl@*4@GkkpMfVnTX^; zESr;89CAnP0LL{-wddseOH0qT2*73%eu8?@@h7|vBGKLqjN450V6Bf4+G+hIAQq>^N~da0!eTbgG|_j^zJVqrm$O2QD*ljKzGpCHXB|XG7IFxA znU73xH1n~+&P9MIX{iJ|fd&g2pQVDA@}F^?qo{B=6jEbQuWqG)T5GNU@IL$2pu?jrU%z!xqesB?mjzf742o`{v}mi^SSgv znIG46uiAQzLhPSEv&;&UKf^&Gw%<^Q6bZ-j{`&l>FYnzS6HiSD|Icg`ul~t2~zRtb&JREAtGhQ=>7w%2<@&C@qo!MpB(!QtTH z`3?kIyK!bN2b3{5Vy#k8c`+fL!fMr6aICvXw=|`qXE;48; z$90Cv-E?0qdYnlqz5x1rv%u>q)Em(im6#kBvZYdrjrklo2j!M`z|~{TYjJd5MPU@p zRJEa<%7!pa_%u;3qb-=O?Je*%x4>*cTpT7fJa>$5-+%qNT79&F!JcKYHN-8f$#lgV z;Pm_dz4vjH|E@kk^y_7}A}W}SAJ^+Wu4V9kdh!Qt$4}J{|MTD%iV|;x+i~-$tjymV zWUPUA#)?%Pq>h+8If=9h(F^TWF2&?TJHSe`1?Q^y1M6O+MPW-hOFqm*&9?K|s_oCv z!pj79mxYE}VSWnx+y5Y=C|Cih`BihOEiL#M07PF8qCP4uI0Mu^c`N?Q?C5wqSo!?e zdKD$3G=OypR@TfPCzw8Vltp=RCnk|TxR8{M)k zsET;eYRE#7DKd&u++Euu*&R>@aYzyg7+Ji05z*lXm8L#hcqSE2+gs4;RX7}P%2A1; z!#{@lHf1nnSj6JYdum=R<+s*E#G!sKq6AI|_E)8Q`GXszOq!yyV?v5wsf1mG0lu*l z`%q3*E6scBQXDCHM9mt=F;$wCgCY=&)D{p@RGeE&2z}rJL$2w}6r{gy6SpK6H0+b| zY4V1qX}ja0|2fY82<0J9ixPc)nI5;`tuu)Hy-;ddyut_*#0rhkBR_w~-~d5Wz3p97 zxG)s{d&i6iUKh3Y<`+>r_CIFxQL5dUoi)cRgWF{S!N zUKzhNWndd)f!-wz&EWIaQ9ct@sK=`5#!Krl=hd59B#< zt@J`0U{1~T*))rMwKC1`Xhy`dje7>y7?t5NMCpr9Es{Dur!>_$v@sA%-IMo+aea;X zDx%q<~$Y9M5X>4ZM(~SCSO2X%8 z9}+JDIhC)Y5gcck1TYkeB;B7(QF8-FEViKmR*Zmt?OfvKiilGuJQbY`hSLASd)IO0 z;P)lp0roT_pQmNemfz^eJIVdG+5cwfTKxtsj5q1KrX@ojSyJ zK^h+rL9-}L({66{m9Q)ojL>e^!JgpJcA)V__yQD;cBW@Msq1xgCxVWajlr?w-j+c# ziesSll)^fdLmxeFD|N}eBH`oH2T(1ZPU6^;RCoEGtcPtHBlaB&Nh(($@E1ei6)^^}LPMfHSO#((X;w@n45-;~-52tbv0F^^u zt!MmUWCf~YS4hcpEPnoF@D4RJAO2uSQqLg$4l-(RYMD$4eVS7$`e$|vcDK@8`>?U( zmuO1pxjolhG9ht?*Mga+toC`*tXx?>&7oH$tVv{#ir>ve`_eEU<+$W3hdmdJDS=M5 z0;b+Rl7PfQq#rOe+FkQ~*i)HE&KD(Pfv)OL%%Sm?BYMlWff>f`tRmqpE|D)uX(vZd zB2#qoegZ9>#_{v@#!9ahJ(>aeAoAeuaQF@@n&5LRcf9Wo$1)Z8LmrbSt)le3>>ebg zg8%_$gUHm$uG0%+d-GH#XcU%#McS2r2XBI@ER|e%K~ASXQ$xz)m2@?@2^#<0C33+f0%-qZdh4_{p9tQT$a$Q z;OKRdSn{)Wj8xo0c!b%qM^q#9HsQC&X9l}2Fm#njHv$$H`wSCCq{WSO6T+!vd*-q? z2E$?Km&codup6n7^(aczWf4`Kl9L|B9IVVrxE&~=#q%>xY>cAa1=#$KRiq>M-~oYv z(v?ASfoe~{4>tyoTAPIHib1q@n0@og)4(ksg9GMW~GYSn-~7L$&;LWO#^Ce zrrNNwlnGLcr!s@VHYtHZ-Gc#DU#koWrXADjJjlXIE(OxGp768hQ>}Q#K9@cPO~?kb zZWsB`+y>|{dpBWnfp>mZqcUOGzI$(v;_dU*ik~$k8Z_d}v}*wGL#eufWn%YAX+Ccz zUOU$|u6C|@_p?dHxyTT9`^4{n2mW0UZi1XWN*o1+LLkH*bSXrhNjZp1L#B)moB z(<+9iCYG;HRgvBF%ZYyuZ48=0pqNCGZVEdce{;%kFw4mB_h0**d5w$_?`7~T#ReB&{! zMpMK!lGbhA4mf!xl_|o!B|p_}53NR)g-cc(@o5{ zcgihFBS=kci25@jEqb~^+-rZ9|Q)a$S6l?EAaT@%qA)b}`@{n13&c-R`7 zJC;#_&L^cS#o5W^-6>8$xn!c9Z+=YEZfDH@SnrFR$X>0|OdnptRn;vU))Ao^`uR+5L3Y(xfLq zPES^(X>)l33=aXYW($*fw$bovp z@WF3n`hN4I?!&{GG+dWcvQEbbv4yUhD7vj{Ikg3GqhHzqul$H^B#1oihQXS#sg@q! zeGsd`&Qs8I<3=~hmlk|~G6r1+`nAbC96Sm!6xLw@t2;`w5Nai&!4+wTlznU5gvk{y zq>(VE{hG0Wn;U)t{@}{?DwaGgc&WJpHQ}fhXFa)|T}neRk|KsA){zs)YY~>3S~cces&(%MGA$l*Owsi8Y1kNpoKb_P$(I1ou&f@wkWoQ0iD{22Kk40FxoK~H0T?^ zkuwfsVq%4) zK3WoglY>~l79ZB^H^;wKZ?JBNa1c2z6v>#!vGm{U^N{_q{@88s1sz1vT|c&<_8eml z`c?>rmgJuT6c3zM`C3!&7>lhAXeBD@GtNpHU06U=HO20G$FQ=GZby-Fs{AYk+qd4p zWofw>vd{C`M*&8TVymS)m7LV~L8mQP)~tY>1X+y=kd}?_dXV$=P^IUI+d4E8zU)t5 znREaPIjT^w?hATD(qx*LQ?WfrA_PQRG|!l*0=QF0>Ku}}MR+D1%?%1cuIHL!Mtd?8 ze6rw*bHcH6wD|oU{-{Zzsun(!m?FGs^#VkV#c^!(AaK0a zZ806d^dN-SW?8rt_?D--rk9k#`0_BE7|j|~^T*!RWBcXK{1&V3IT4-=&xg2(H$q9S zky8pS>~M;ZHa6Sl7M11UkV0S_Mk~+w7*&o2l@t+oe0os0_8M$rXkym;Ir3!@SgI(+ zU|z_t=*>`qd8rR6;%X+59}I)0x+VF^CQrz9H`@cigAgu2PtzAltyH)|-fJ@{Xv)SL zT1u1YM@lf~#()ET)>^D}UWAAvD@cLI{EHv@8i=KBXu#AEfmgXbRV^~nxzw(ZH6BAF z6T1;KCx_M`9#mu6qWKECxkc%t{3$Ie#fr_F;IOC}Qe__}P7}B>IqBB@Nn7yr+7Uge zJRLkpcnxR|!+Fln`XcfByj#YISK!yDCVz*Fznk(EOt)}lmt~o-aS9+asZJW`-s+vj z?8F;1JFW1x$iMzXZ3c#h(iy@cJ7w zZp}Y_Mm**QHO(G6_Z|rhm26^d0G;@m8Jt&ky>ng54E~sKIR>hUT-lNOntwESzbN-Y z_-KU%zhs=n<*#H-G+ztWBp!8UX6)pkAZL{V|D&|cS2M!dU2#2fJ9Doia=S`Px!q{i z8wYu;4im=xalOX;JdKXt^!JPfJf1E*4)h=>deJcEK+MD_26q#%$`Rl1`GT$hfz9k~ z!+;^ktc39=@ax;MI8yH}!}}FXKjH}qn`*rJ0lkA}ZLfe&0oUlC)unB0v|&0eOav5O3}d(cHULsnUi@G)z3n1OuiNzVmd=X5+? zYOjX1?`D_#tRF;Qv^)AO&iseFa`5Q35oQETUIGATg$(}(4-{WK*4{|-FVM)yZGV?_ z7<}j!e8bS3ogb8%H%31yW=XU5fti&swq$upI=B2LSLhj7jE+k-nT1J}2GN}>jD8~Q zzbf=)XI^i+dSKr-*gd;DT5&^~=lV;L_<;v%oDP|o;eq&npDr1iR$zglj`)+OVjf|!sfo2@v=`* zAw$m!BTCW()~m#G=hE~X>H%>p{qZ%sF(qp0YI|}nSw3UC7~NU>t|zD0E#Y?FZUY~w zBeSdBcQd(mI`t>Ak5(rg#UMR68L=Dpubudqjxp$PLO&*4BUa;ejmNU4|4?5V6y!Nt z6pr+Bgzz9i?Vhc&z4`0;>7T_J9*WuuP@6)TH|7|GH z`<)- zTf9Q)E@okiBY|b|_#Ls7+vwt!*Rbjc-iY~glwdpxTOX0z^6(w&c*@tTXQdQ9zGI5Q zX`#o|&gUQ)qo3GL4HLa$ae;$-yq>X%eo_9ijMORkJp6~HQojvPsg5TRPvpR(g7#lr z_O4+E`^4oF_L{>Dv6*29bVY5wVo|o~FHKJ5-2zqjaot|$y6r@$(#7@V=x(b}Wm2)5 zqVQ^KsPA}~sZTOklay9O2ffFq^ey(*g?DU0>k5`^ddb(ol(}q=019Ro2F0846LdG` zm%cy$Q58W`xB?n-V4wP=aD^`c9|&K1q!0fl#5B!wH?!q|2`x?koK81hMx7&;agc&C zCkHvT9R$8?w_8m>mg5?E$FS?&MZ_#3D|F>s?4nCZ(lqN>+E0PH?|l@!e39qEBAPPb zO?1MiX}WjDE%}@FZ3Y;^%K);OMbOb zuLuZybMPO|FW;!@^fFO#Y>c0sO-&D8LHXzePzHz>G_W*m&8QqN0&US$9*2Ns*g`bk zhb1Pa=5?Oqel9cIWAD*!(}ENc zG+?ql*gb)OLQ;?dN%l$nrAKDTH7V?xFPfX`61cl3kc zPOMo#8B?!F^OGD3h0Fwh4Sq%_3({*Wu6K zOmww)fYnT}`CK>2XE_f@CH(S#0*>L8jHX|BO^6hag@9Ni)9jR2$j&ugC}BC z)l}vJ7*YFHY%W8gNg*dl(ij4sD)n(MKl^vH^2D&j}D zMi*rsk@J6tE}mIgpANHhvze^7F9yp`ugUY_%xUg!g^nS;luBCz@Z0}rFrIaYZ zb7m7_Q&R_5%#rEp$eWTw+MN>ZN}xyzihnIeoaB`_MtizmZ=_-M{2IyO9bNSu(Vn7l~Wto&22-*Ehu97YeU`Z1az96D%>OC9E|Re$k``;1sqNu z7pHW_=Z-eWQsyffS3M6pAYP-Trwyf*(wBIUZ0@wUSup{_@Cn%bg~R(~w^nHo7xaVI zIm~S6s#J}NqCn=mvM?Tu4u8iH1wr)L=kmz(GFJaIe z@4IX-nD(%z#fCTcGN?9o0-gQ*i9b2Fw?e`&bLI;PRxbHpsK1|Uk`5EZ4cg2X9o6T2 z;T_M;!$XJm*%|I$#e$w20m9RyMf+S;beKE4rI034zfC}n2`3gh%)-JGZlD$>;|{+S zYDR6+4)&DUP7Z{Z`On<{>Y-P7vJcc);35+>?ZKzR`1C5SVd9j+^omnI2l+Xwn*i~j zxMOe&tRGO<0p`5Z9cuFkP-u=vTx9h>T4~>2dwLP<`-khI5fz^_pzCcfm$UvZ*C2G;^A8)7shRwZ0ZF48LDwNxN2!c%dUb6txG zdQZ8xgU9h>0=30WV{1Bq(Z(;x>4VySgK~82=&}u&oss zkmsoWeo(CbEKt(v{d_#Jk4LMFD1)pI-ZChM>*tZn<9FhfXpGKF8}P8SbQwiCUyVtg%ysGM4^`{2 z5F<}S|8U3=>2uOdz5$Kj54{lpHF=W2!_P{drVdr_LY98#V1*8yUAZ+tec;}>nDy|u zSg?fU^MVxpCWHBi9YuyGAtKWm{ z%%{QpI-UjW54;{O%2fZGd`w5z0@H*Mc@~OU@%)j>EIO9Ww#vmVxbcnn8=(_${HdZI zGKyvkW>w}3?TDI7MLQ_sZ{8KKmr0f2nF3*V!{>M5y)U-BXN^V5?p_hDt)3$|AB;Dp z(_#s$rWn}g)ZpDhn6aUn`J2i3{@hi`4uiy(d@EUkxL3QUCsn*Eytg)XxwDSRaNoy zU_$7}!CHm={cWr8z5}SW@d`CBztm z)gX45UFXOB6$d<^vOq82DEgp~RyGYM!#+0tCzb%g|WR`cY5OY3aB z&@!|O+Own$#qkC_J}p(HtBlgoo2 z_UsOSW*H0th3mj9##tIvWMc1=sKnO|nf>~}CNn?Ut+=qWEO6ebQQp$tU@lLjHtGF3 zrC=>gKX7K%D$#z$g?EEhV@bHVwV-9(V%oFhH6YTMXQt(ers*D`* zTi!VSU;oU%ymw_W)$JV$^e%DozNb)Ei#GI!h}h)d;0oSqxqWCqG^h>dr8`*KJ`ch` zu!kFfQV~r=fP&&$rxFOlO-)Bu+E6I@Xhd|#wW`UU-u)&F*kR4FVlvKx&C}j4jB=-> z(V+%vV|pS!7gZHCnZoe+yck@h;mbxtefvM;Ya){RwtZFnIkBL)Ji~Y?;U6w{eVlu1 zL-ov`3$}jCBixvJTsEyYYBcqeSRBw#I=T(|_BJ#$-+RK_XL>Br$%4)YI`vRnF27HD zSLqHd<6IM_>8!%RhIJ6Z5V~Nn+l8ZF+zi+YIkrRenYoj*zW4f9n-jMBDEw1wOKcg| zEx!9m%QWg2?Vp^BARHo}k4lalv{ho~{GeBtak69s7jnO#rYl~W30*#+M2&}PO419> z*ew5r!P9_EF_P)uF!!EF=Tbb^NcMJ{Ut>#pT_87eVG}kzzmDmEaw&DeKvQTRhvB?h zZbV+IjH@V$=$-E(=nUTei?c>0KL(nb1*zuw=XHG-sN6>BvfFKvLK1hl`Eq+520gt> z0KI8X-l5`D2wi>*;W;I&zDZk|zBv4>Rb6yl8rvP+5NQ7MdD6ZsFEl>(&5< zW!R!oL#B+5HkFw9Q~f49g87JKW>H^N6@A)Bfi?`~S`yB+EKD09&79^KP%(JhE&pJu z9?@~#J73a0t+?U6t;e#KxP12oEM)EEVQP6~Tsi<8KEtTyPWJt!GwM3f(=-fLpPU;ikr2Qm-aF7iaFpl8l={2L$k&k zfJ>&ADzL>CPSs3%)(?INyvzmT#MISy{9A)4-H@i8ieoBJ;qbge*I);#D0-KpOJrrL zZI?T-2mvH0Zj|gIYZqQpgUd@kEbuvqR=#fVNj+X6)|46}FE-WdRaxvF5e}L%&s3)XRz<6XVeW4|9r3y^4&B#zBE--(`+!@k6YMj^nSg*gAI7$ynx)ZG(*bPxB*L9LNprI1T9tN1e6NFTM7oqX)zq z)IyCOidFetcPfZh0LCix)5+q&8f5dIGp{Z%Vg*P`rsM3_&zTWkJxT8KRsrgKf%+r@ z0wnA1_HguYhjgE;7qnACz@IL^+IL|v$jK1Oc~8gO{iq$StgvH(O~i(+&R58Fyw9c~XM{R*v|H4^$>%aT!@6;FTx4iEdGxbDb)>b@# z%MOu|S6;+76zpCE>`1SA>KcWP-&t)Wy%^~D0*~YI~Lm^EU{>m6Lz-2<;zQ10YBkCR%$D(j#6tIyzD;p+w_4=yKuc2Srj>-PnPNPtFk^) zcW)qOh7*Rf-x)8Fo`@cPmC)mbmIs%EnDP{r+>@7X9?qVVhKZFI)Y)%oJ|7G2YD3J@ z%uLC%Q{;D7MV$kWZ#0?K3tINiq6%!cW;YNM=^#cn>aKNG@4P1^>Y!lCjZF_*U{h}) zE&h~Kxw~xeQ?l_$^r+7n7y>=T9SybLHa6`WepXH}+6OYOLP zLWn$G3eY>fRF%m@$~Jjxsu0Xw>I#0Z0KvYQE-dIY*pCGU$18@C-Dxxc=0OJdt;8uA zuQ|8twZZqVOqM5vQ$+QVHXxmnN@=?ha#pW~28_~?0zF>DX)?oI*PN;tIkam${?=k`5kI#=JE)1K_XzEbkIS|_dA zeP6}tH*aVYs{W;1b-#+R1=mGBU+yENV0(YOUtMGn;ang}D0lsSzxL#vrckZuh{#@n zg-NglGq;9?0n1ZksC4o&!(Xn*AiN{c3LoKE7yJ^1>~+W?U^ePFMpqYQcQc=xLN=cF zzQMfO!tLX`f9BgmnJ+vb6J+v6bz>dI#;9xTRe3Jtp({##=Q*+HZ4&t0BKb!Uvg@!6 z0f``y$C^dSim^njS5e&G;C7eV=Zr>%!It}cl;-OigBZ!6J=JLKt%YBvu`!zi`mG2* zdjsnVLCShY*AWS;Jat@#T_oItOX2H&qMs*=0cu8t0Yd98OsW9X6~e_J)V%e7=a0%k zP8o^VD~p214ILm;{W7qd`Ymtt1$ka!d{I&FwySr=aw+)u?gyZb59$<2p0vuc6HrK& z4vLLb1>noe*`H^uKO0D}mWNQc8_~E<1-J1|US4bR@<-=gP1PM*7h?iy*p{F~Nt>Tr zC693zUOV{={Yo=*I*4OafZ0&ALdgAvJ`|ow$gwWKlsatH2FIuiUx)%K>%j#!JW0q$ z9`DJ}nHm^8bH=h^%j5#nT$IZgn1KwBFVT$1<<7MHY|#a>p~Ba9r=os^85o2r_J4B0 z#VTkoG`@fO!7qk3_p*!TO%v$50bY~!mn3$Al<&tHq)v$Xd~Q>?1d_ZQbV+Z$!iC5W zQwGUM;%*CRwkbn842c(|fH!(XfoQC`SVtIVBE~C>VEjpJo+OnKT(;mp?}m&qv63+! z$?Y(1rdxv>Rc`msTSjsGFie7h#6L-i%0?Qbq9g zD_bQO76|<%)Q&6u7pL-QU5c4nugZX}U_n16R7d#|B1#r1-rR^EhFceKw~1E+n`@Vw zMK>;MfwSSxJ<8U$D6_79-mSgZw8O+T-_$CAaku-ssnU zuVaNSUwV_tib#{3al(J0i9F^)mv*3Zc0wqi(Gy|Q=fh4rp}(kr)hF@n63;m`&Y;mN zwh=PH3=HCj3DS_pw$@)Xn>HoNw+*J&aa34h+llYAwVb)R05SaDSyRu=s>?U`4nNd~ zz%ft&Y2f?A>dl!M8UgZk&S(H_oRS8o8&6-!W8xHiXRe-V+`I#Y`#mPrE?cOzmlA^E z42ZMlLpdS+N>L-}vpkQ6T%>uB13Fl1S;DCPJcxoz+rx!eSKp3|3*HO`h{VZPOAW=NM$u1HbnorDi*&c~2RfsN*VS z?_EH>i&`=_0urFx9w>o4eyB|sY=uLIB*hDx?Z&&r9CH%g^9&o!sDQ zek&=DM}gct?rDUBM}sLA!{<$eV)TDL2WtQtVd;0MSDBcau{}4w&pkl(7HC>7?dF)( zmylAR&}vk*9>7-z%d5ey{e~U91doe(=K$M%7X`b=&$WQ_0!wh_ezn+$G`qc)DYmYg zWWr|7;31PVfUzA;%ThB!=BF5K+QMXBEU=5h%`-sbt?>4a*8Y0Jc|QDBLbzujZxBO* z4F*?x`KGhf%YVr{pZ(VI%MKdKTk7Tq3WsfD8$?r=sN$6M@^){csappD?u&PoHTKsL z%~!tikAKwjvahUP#~Q_LUZK?Y!;{xe=aGB1UlHJf8DTrA?>*SI%~`XJd^;>r+I#ZJ z?sFkK>W;fAT>QwT52fQ;gH2t%LaBS~bo4IM!VLG=&^~%ik7VbKzon?Zo-fb1kvkPb zl*hoMMnoj7W94n}?CRx&P+WLBR7P};qE&{+CE^2Z4uQ4iwS;F>4R{pR5dja_F^@=ySaFkW^yVnr6T zLB0v4I+hH?m0vA9Y^iJ)5Do!fnS6#3g^L zRNJN6N%Gg{EH7H#u9JMZ^MiiGuhdzcian=DUipmCk>UP`gfP~1*RED~W4;UW#^lZo zgcDL6@`QZy7zqOjQ!(15Dm(Wx?=h@f;F*20~l$PM4K%O9RIgHvc&`?AUfkYf!lp5M0~iDk?|7e->>Fm&_Ig zxmQw=c}vE&^>a)v?i{>Ar!s4Va@_ln{7z8)NAR+uR$}Sjz&Zo_P&LW|s5(fm7Oh_J z|1Q6Z=SM~TAno-41s`pf0#`Rc$JeYz+qcOJhX}Sc>@;uHx7Kq2BYBWqr>2Hu9F^Xpsx`e6X@|Z?AGW3WIu&>VT(c`7n^LTfN9N^!9OItP{=fzTC0+gW_kFl|Q43tgoS}FL9Mfp~`70 z^V1#o1$uALSti3nu41xMzM+I9E|pi$n8uhtMbf=;x*WZb$j*E*mC0{Z(y(_DlCYnM zgh_~mTj&j=I8;I|Z6_pg{_?G@-b>5s$8_psy;Uq(R0YNQ!8T&SO7CLPy_8fEXM3LP zby-3XXJ(-|?;s@koKjh+nB8X@yz~)xsa4w47vZk4_~Qc6@R)>92W0`qM&CHx^I=26 zJ${MM%xpr0LD*L-BH=H+5Wf9K=U@?MuGb<^HdJ!7ZHzzMgzdakdoB_-qP2@=z)rmc z64d*vkX<_0ZPhtSb0@M~NWAjS;TCDxuW=OIP{|(R-gPQFu#ogNwOafuk!+SmM)>L3 zoVo$<3)w8cUnDX@YXvS_9hwv&dy_Xce*BBD&uU{pm9FH0&v0cbd5JA?d5Fni=QLY1 zt5kyR#fBpi!-s1_M*#dqCNh7Wk6dE{OgR5`+!>{&mSiH4t%-mM3A3JtN5RL_e_B)% zkt3s$kERw70{$P+5Jyu-T%5SKNQ9jA(}yYnG!^#?mkQtaQ3Wal9wN~M;9LX|#Ays{ zg;;Ju7197Al`yMOM%zo`$r$ko1@0a(b@OZa_3cEo7NFB$*n{O_8}4CIGIzde6Q!wi8tu*Q%VOm; zB1T`urj%n~z^D^9hKgyt6L(HgcKXii88D{8LFdbwV>64CbZ;pqS5+sF%5cywwNgkcEcxXE@`K8vQ8(R@yL>m@+w|0q8PE@X6qnKQ zoF`8zU;KJ>C3ji3{fKx_r>$*5x;uAKE_Kvb#kug3aB%N;{>8QFMjA}If9hvP%%PFO zCtRy>PmGP5S?)hG8L8cF$1>r%BGCw&UBCFY)Z*J&4T1HZfGN}NM*i(qfI z$Rf8l@L^aNl^1fcdbY6qZd-JIK~4bg$)HgTrI$I{g<3iaFXw6u;WZXLGpa^akG}^` zix@iEE-~P$v{ek$N^v>t_5&Qz1#eh}VHMo2n%R!no*HJm8(SP+V@o1@t-{<@)?8Tu z%3@UYcMU^p@tXYx!p}3rmmNa4xeEtoX(3eb{kCd%YH%aN2a;5I_v?ZA%WzW3>3L|V zsJE1Tlxn9Zb_@O(u#&aVE<>1fvyIRlsS~Hs3dbjL4ZvUjDoO-rZW4;u0}oL;2y}xq zaBDK?d3!&7*)HcRfMozjK)An1XpN{x@MKLF5f#TwLx5xyKGvOzgqs?O6q{wVhwe$r zNin=$No8KdtXJc2n1+`0&R$%Lp9(k6_g;uKy&__2QQ5BNX=c zdkiL~aa=WJ$6C>w6pIe*VkFFg_BE42nx-KGA#Ie#ZWYRv;i&K4rt0Oi0k`4@ugVcM z$3>KKa{ux( zIC=AE$o&2=#7#22f+}`J&z%tC zMVIytz;Yq;D)jk9cPP<+c&}ryenP-ef`BJg8xm&WkUz)nhz06yxt|NH;(oCGEx4pC z$12?DE6))}FONEJ%xjU|lcSeMZR-^_1udzR5-epBt>Gd+>6k{AqH{Ori&k?~C9o{p zNyUn&!Zw1HeM=#Zi5U|N%02Rdn7@v~^SVrMxCpp?K~yiwC{0munKjI9KiXD=SsFug z0JY~Co}z*5^>D*L*kuy)^|@Uam!P)|I;~f^mbfN43X&|wJ9mue(KM;vw}9Yfc`Ljf zmUl&wSK|nWIxKABrg1&bV^UF86BK>ss}$;bdKJzrtI4U0>2-3+$9g30CML(cYmHS3 zs>Hz_Dq7v(^e;3oV>-V!*(MvV&m=VgulEq#$N`jXf7~>wAp~*jQov)P4Kx(etFHVB zOQ9-sL0O4t6SCo80roo@!}y{a!9|sbEeE%l zAYWeB*e>ky-N9y+3x@8joP%~Zv%!=LM$b1o$KqWh`^W>Tvij?xQ7yM>Ty+$;9MKw8 z=5Tj#q(dyblD7|!iry3!_$E`y$R}JA=VZV+evDAlF6v)VXPg1{>*p4PF7M!&BnlNX zxY(N;%uo&T&@9h{<&whVBWdE(Ss>g8kaq~0PHhvJRxLnFqfyCGkd|slJCZ6>I5Y)I zcwtu}4yr0IA4lW3Vz;Pd8bCf2R-wzc2+=QFz|}FABWle-%&+SSOEuY|f33Bq8Oh1- z-6BtjAehF6l6B}=96su7sb++u?@$YiN?n@@(cg)EiCWzmbSUJp0fy92Sk_x{3Cx{3 zl*WE83(;h?73}%wLGUG@dDK7!V&lyNmvm|llFf=|@ir)0J&#an9-4*dd%ZqcRu zLUSi-8`kNQL+jPP1@{#&2OhBD>M;NyZ)WIMA8VfshQ+x2*L!s~OA)!L8V0q9Mq>^Q zMl9>oSk%RV8NdSA9s7_(6{<}5m~4Tql*Ysa<<+&^Fe)Ka z>W@^vLt^h>5g&Kw%eoIvV=Useav3M_e=!3f<(2)jX-uz86%jvNFS8ezbFj*>3U` zvy=vM3n6aVnUW0*vX~@s3f4f7itD9ds|*flvun{a3!a2^q_C$0ygVqx0d`9Pw+?=&iQvRr4K0h%K{-LzeeA)Ce{hn$SfI?vj8 zVBkfZivq9eL>+0QKu4_=<4rAVAWEe*#13a z3;8^5(bWx6Tokp%o_>g0Aj1MZyP)uk)YNRX!5IyV-tTP7K1#Z z*e5$A9iNqRr#&ve!K$YZ#v;BpdcjIFEtg3&DUIw+3x zwTF==6^tLdetNY-j8bW3qNp8!>?W78RTc@l1*zJC(${YRugLO>-;U*80iJQIQ>pW( zOqsG_xr|wueNhbl0?pO7MA5i^duE85I+zthEZB9gub}QA$#s~0QE3BH#Bm2}NUV%6 z9NXK=gA-d~X@47x5Y$lMPX|wf#&LKy^l4waWWg(s2AkAnpM7naDm!953M@dlH&5OT zgs_P7HFW{uih$c@uHJ3@U_Nj1u)koO0U=OmHt_WPoxmCf8mtIDbz#k&gvLel%I+@= zoldqc9eR3a{ztO|aJ=2QY0mlP4E{#njT|pAMnE771Dvud4L>OW8MS&zjH$Unwdcm% zDjhd%K*%j4rJT#ULSD%p#K0JH^w>i+arpA!d)w!qaLc>ydwr7`>{cT!p`C;|i8BPZ z@9zzxp>uagadYwVME!Z?bk~>r){SG-o!dhwjGP$}Z+)+`wCe6oy`f}ob=sm?1|+#? z=-SMR{#ilnY1DMX?R$_LM&59LNZ=b=4#ZT{pv@5CHmpkz#Mk`)gAMuSv+D@o$8PP}J?7*a#F$tX$D zqeG@)>+MSpj#4nx)Qv#C4^c^nGK9xPqUL#j_S<|iZ~E8wJv8Ft)!khKKZw^$Y(u!| z#b>rl2hKs>#JVIu*pYc+xj;uMAO^c=M!fHm>O-;3p(7lf6MGYLYhNjT*sofG=%97V zg^2D|xlm;^TgX)@S>wi&cGdssN>_cmYxKU@+me*IEK6SOJnJT1COAh-E-yRcsFdeP zyksghQndr%m#trj0Z^|NRDS2Yurl5au9d))8m_kfGgx{!H`<)h>}L)B)8_UA>Z((`EW zYvuid@P4+{J_x@!5+cZ&o5KU`lM;^V7;+Conh%!T0IUfqN^HnOq_0T$wxn7Y%x@&3 z<{~S+2}n4Z$Bm_`adF_qdSZxEDN$Pw;-nI1*dcHsiK$mvArRjHQjjifWK-+&=P`(q z6=Vxw2}L=;-=Q6NVS$*TxfYnOqmk30GFA?O>;;ISYgOPv98!>^x?OfjLZ1&CwN~W= z%;HjGYX|D)O=3_t55#!18VmDO)RE^7$W2XDVM7iYk*dsehW zBrou^Jgz}JV}08CS|F6MtWh^vo$#zwUFK5>%Y9##T95+=*IHM+#&ru7N4S(^wp5DKAbu7IPfFK%uShhlFpcf$i?;@Sfh zDz`D3EADBRR>QT&go;LLN4C+9;FzOuu>+S>gwJ3$FY+*>(?sFsx8bd*wJHT|^^P$1 zjW%~oToW`(awI}Q;>dV<*9D77n_b5%x#K(_5>fL35z#4PA_S?qN-Z@wek;6OCy;eX zGO+maaaUMJX4O%7+qK#{mEYr{Y$4i45l1UKMgpB`Ey7*PVrvmcTQ>%!kd2qPE400;e}(T^3|3}fLl$49QaOa>4u@z+v#l%n z4WNujTPYH3>uq5aZ8C4{xHifrg$SS0AtJ__>w>vhTN##;J1z#|NYq0}M6_&LB-{BT znJ~!ojpKYm!^_l5y&pORDqxv{0-Ym=K$ycmBcf!A?DBh9rgE9q?DfbI;({+&8ofhD zew?@J-oBM?R$iSc#iR^5Lx-Sc2AwgbvP5>})p|wp;NRfX@NzeV-`15~4PS7%Vi;hn)+6w{RdN6p?58}sHi-_1#LF8N{e1H)0Zrj%LIlvS4FUCLjI2cI2!Z%$OL zp{S)he806mb?<=5?U?^Em}Mxc)+kWA$-n6GXrHSPL7kP0;A!FNdX%QL$=!T4+S_lf zzvXgO`_KJ!#Y~?Hiw=J{-A()6d@~+5}*{a7RCV)eyxJTZ*4?*8D2- zYOWfG@^r^w`0#PpL~XqskRn+PMXhv#dx%8pK}{gS{d+wm3zAx~6~pvYR8)&jqANsy zBZPa2oMMa0bXk-!kYc&A1Tv|DOGL_hAr+-@jeX~#0T}$*13r~Xl!I@^xLcac0X=9$ z_I}p3aObGFD7%M79QvUxr66)~Q7sM4l#;doTDHiXb=jsd<;(7C;=Me-x}@hT`w!)W z+4Rwy6HC+0WBa2izmfeBm2}3rI#82=H2D&!_f<;GdI?yaK$o{bZd5O>>}x_mRIbI7 zKxeHe9Umhp2Wiv!z4`UUYJXSt@?B8#J6t?=0kG6Vj==fK&2e)mGi**i&#=2cO`6s#;I>_XBlYD@Cy zbxnBnr*G%o@f#LtOlojQ3%M>Ev}+f7UJCEg)!Xaq6%?F2Z&&Y1T|3qN#7MtJ#Q}N6 zSJZQf)#}l@xtF^jWt*#C!0&*(nrufQZs&uZ`}u=G!C*p-JRzNE)9s?0Xir`ppLs;d z!(<(RE&bzj`;?-p9S}v?ZscGQ<}-}bCPNN^mUVb+L0=3M@&TG*?}60R9QH5_NaW0| zR%%>R`OZubkJwTNI>OQQ;OgS&4FZw6MOQVWQ*#qdv$$XYpe3FMENJf$1cjv%h}Eb)x6}l`H*qR zr1Pv$z2X)H5>})}X(lBT|}_LWpXehmpR^dA<<<1-Evqp1c34 zt1Z-u$9;d{LUMJgX=*&Rt34a%>>r-F4JvXG$&IMzqKGhu69ZBaRrA%Dnc-jm?3l~S z3)#L<+`Vq!Zh!LhAv!nQ%a;1lnF)1k9mm-p}Wu$SDN|HCYw+1M{Qe}1ST=)6WT)3>KdBc|qSpYcIGc1W#Ar3P4nt|8CEnjJJ#)Y~ z>o!z0rSohL$DKr5z$8@7yY5?H9z==fBLLl$7QJ409h`EK1hkc*!sNDHG4V2?=V0|( z!D_fD=aA=AVpgmq?aCz8WTApM&JT}(D!PS<4NJ4@E^(TV<{45cT%JT3*zJL z5Im)s!n3+f4?KvZvh!9%3~pAtP8(a)9Q%|63RvagMG}Lpu}Fa&N3;ujAMQp4F2=DM zgv2>sId(JU94O!bX3JO~h^dFCxk7`p%4^O&u`f%yICp*gT_8*SvqAl1n3inKG z>0(5bO94IkJxTjcVCM$PMMojpAUI60`2GmX(@UPnl%kqiB5Rzm?Lq|@e0R$*2&VAb zFbR4gROG`~l|URpIQGf(p!*I135bFq^oxWeR!8Juevvl11dAgA2%sX`7ZT;8 zf-9iR^U9BCV^!YBC~h6BSV*woUA#aqZY-xf#df7lg4lP|R-8Kj*6j^J4!;x`@OB9nGq82LW+^5b$&+sdLdluXR?vpL>viRgS!4`-gvQXYsjd6fA(nG04#N@ zV{CYwc(aK0?2jKb1TZ~V?|Y^Z*@;MxqT6=IR8>>~JR78}|`HD6IY?7Q2e z8ev3ct_*{)f}$hv+YXhBJ6D;L2InKYYPyNnCEk8jUJM}E7F%#kR0AX z%nh=WfLdx8M&dY5H3tamRYI3j$ka^eAr*{6aTE$WkhGK_i@w_dv8c&78m6Aq4s^lg zDJ5qDX9W}w{0a;B`K)~~O8mVICS5S_twY8fX%eNQj$Jp9-otG09pNVMf9O**tm z-5GrnC5-^=(ufb%G5(tpipXa zWBkEU)mmymCabiDla?5j(j(twyJrPhDm|ATT^5!U8+=3zHOsQpKHE@wv9)Cg=V z^z5!Vh(grrw_wsadXTLJPd!y=PB>cvKD<6g*U#YRp{iTGBM;4Fiq|zs2@m%#vRS$`0wEVuJ;_@~4AVm@Ays?IW7GvQ=cdv2h7P)jH65V2NPi15W{& zHBpO>M#*nA8E9;?8gG~RJmJQu50Ra^5SpWx%R!|_OX$Q9D|g)E(`v4FP_VB{0~(Hs z94)ty(~vLwS_`z0ljRz67G&+vuv_s#Pd%R8i4ooh*l3ZwK^GNTQ(L&tA$nUHsuYoF zX+?z{l#YthDiTv=yHFg6p&OPVxrtax`27HJbd}e*dWaZ<5Kg7V8z#fqYK~SusMvFGCd71>;n$-1_~wK4(4w~$1_ ztQ5{($9lHZzapHApyXsR3oX;6yNapOq>gZO{VT$`@XK$1tkapMc5}fm#uuQxm7r}t z4_l9HF310O->#40~t&;mr!^y=o* z;W{Ij)f2{>tMzDzJ!zD27JPrUp7p|~Py(~L?C-m9%Imw~%?oCexQ97SuFYpGvN!6k z19Udaa{4<9`&C--22&^z)m0H@96XZ8*r)x)r^SWEVcf5GR|wIUWsVWES2MLnTkTCa zJQ8rT_U=%ORY?Vz6CU#vddbK=u=pgxB@XzRMlC$H&MkNGSywZk_K^9(Wru2}mcG8Y zZw|xUvI0F*x8sr|4}hCCZuA6;h!JlCpj!e-)2vzJgI$4vqwZ^ z8jc-jk`O$lt`}O*#3mE==r6t=%vm=$u*O}ggt)Fok#79FZVjzX{}xn6U;|FaDd7Db zuRG0;L@4ZSO2-ojZ&7E~KF6AxIPAUzj~!VRMm)Q07XzO%YNv!W9A_A50Q##}3ydj5hT%&I zPQ5?Rx%Q<5Or=&ABuI3YAtcL`L9v^BvQ97!u7BkQpTEih%eC^eZj{_+!ppkyH_X%w z8n++1&*XCFEazDe8I?72Baxoi8YK-;RV*#m+o>^I7mfB+_f+fbXA8@G5f`!(`lcd@ zRboZsk^_M}Xvm`-oJ_V=rBV2nHfu*RAG-bh!*jD1DDNj!msCgAGt2ynI z&`Zg_YOHTVyWu&J;oj3XdiJ}`>^0lAg0~L`LRAruaF2k_iIBwBpoAcvdxQ9$xT+;1 zd_w>}hakfCqfzdnV}Q|1+8LZ5qLJk#@VH454!mvY5-4)4=% z?YU|dukjkKxDNGhw6&EJJ0_lddyj{z!+7eij_8Z#u}ogX%H{GQlTKV z4nuH4$SA_Nk=>rf9QGtCa6p57!pj+>aN1ggLtgvCTVMuWR`KAqB2=+dG%4O$)drY$ zX9ogb$XK=G64KyN5xu0&Xa+GEuY&;m>hbISqZX0y zBURlaqj=Awu3AL?C-vP>cW{^CbVPvkm#9FcB_Nn7BBx$7O?U^)&F{YEABy%KsxP9@ zkB!^NWc-mYHqE;E#jS8HDS)0ETD0~O>?;i_Ps1o3I1ZPD=}F|*y-~#HOIK^-9wMZw zP&ue~ni1P{P#od?Yn>n=gWvB$7aR&6?{R5jhB8= zr-a*w<&v?N{LUE1&IS(weNQ!8Rt%=c6#TJ00=IW5U^gge%$hDaTD9SI6$E!H^uz}p z7iG=fo^ZDtluGKYH-~Adme&~5B^r^4(Anw5qGOSO)+&{- zE$`=3JES!b$dB^f?5Cc$pzBVNaI=hEkkE9jtLI znmVYMu8p{E?AnSU>JgCAy@la(+|jPPj%u9Ih)u-l0Mg$cgNBok79^@moprNcedh>~ zPOl`blh-6)-+squyYtxO)r7nJfV9A70~~I8<$_e5n^LO>LM=AiTPbYxEntv`L%& z+*M!@C74#NgBJER)p-(Fmxjlj$WlXu{xxehpt=QlA6Ddf@pp;?_Im7lXtu?OSqhK2 zX$%Ca%yQYeve)z1uF9hxuR>Ox>F(RRAA{j(%3x(>3@$!LE=AVhKydQ--sksK%S0MU zKestk0@?)gzw$R1U{ambF~a;J1AZOmg!LR;<4*QOi_cy5v>;sHH3C654}o&s!BmfX z>v7^W(gkxUY~Y_x@hyT!HP4jNZx29*l!r8FaAIsW z7{eA|37u7VG>c|Govz#22jJ-A=$Ox|*!+cj@%p%`7XwoTKBR0;?r(sS_;6K_{kq8XN5!eG+LMZ6clp0LXQz zNTmY2=7y6la1e`hrg3avIwdcvhOQF9@_?6Ahir`6p+qvCV*5QxZcc)ZvKzl@YzEHr z^o`onCDyT=UZx%{vIbm&hTOzmYz6j`7guuOtL``7?qSZo?0q`gP1MDg+M}aNmc0;8 z;(yO5ag}2G(F6QGVhjRUL^}`Iupmd?4MHq7x>&v)1;VrE{^`mtV?Ju z_`aOb54E#~=v^kAl>w}j{KM4j;M|FxO9iK=Qa{5gcKS^J=XsTGdhTd!yax{Vklt8l zjon!p>e@(Q;^z|M2|?bwkS2=XZq%vEGoJSo)%c5_gEAwhNo>SfSy|Pwp?@yyLfr|x z(^x0Mzf?PPs5i5yw;kmJ4bPYnlQ_>=QR17YW@!_JS9P(V&Pq*58tnJy*)#~}$l)fv zqww}CIMU5#rIAllRQ7q3Vq4j%WG^*G<74|Y(Aun9OWT4qD!5{e`^x8{yD{K$&5-Gh zdm?E%=x|@YP!#+2z;|DC;tPjWD4-T_otof)K5thBK_6iU1T%U}z$Z$JfCPnG&&OA7 ziKKB4*`R%Yk6tA{WcPgNqIxoXmUQ(3;^O$P+^IZP)_Z#V`?w?6O zI0=p-kqO#g1EH7mxb?NmvS-HLor)m3Ya%^Rw$~9yKu;qVd-@z@%4rYniL3w(Sccw$ z<|qvDcFkLWxerpF37veK(|!%*Ca(yDl6+c!-y^<0u_1Va<$oP5o_ zYfr-II+S9KRthXKg^nJJeJ19iMqZs#t4jfDZ(0t6+NEG#UB@W2 zzS7Ts&R4N3N^kyP%dp1+)JCmp9U*Cp5Que;S~n;32OA;I=2>6E@PPhNl6yx_-z-RzqtxaS(->lC@vF)wdYv330aGaxQ5J9 zQ#f?~$c-u@(L_rJWS5OLIQJo&K18*OrnX>?)vm%1cTxJ0Yj?D4%?&Kqb~5_S$iJ>^YZeu=wi5z;c)*x54Rk91A{^AC=RL?AUFzdH=*G-|4?8Z zkCg56B*O%>A}Dt^=%FZLa>tu{#u#>|c0@%edD=w9EkzLf%gFHU(DqZ<*5~*C$rY)x zg9x&(;WlS z$1|X1ylEeIpwwj^2C73aib|7x;v=F#=d=ecD_ldnKlvTxAUmOP;LP*#p^%pqoYB~Y z8n{NPx#vT2Q2kBHyZ-Av^mt z=4I@1MjdKOwe86ADj&HG0jGs6ixYu+`{Hz+DhrXGtTL-XSzi}@6jw@WzU8+8>d>LJ z#T1~sf4c)71q;_VGu!)_RZ(tpA$m`cw+z5BljI)*r_gydKu#v((uJp>AazNPWWp2b zW#PTprq$@HXGZ>aH_EQtim2rC&2#$7-e$c+f8>HKWO1cc4y(tNpga!+$~Gnb9NN?T zr32qezDiMNMz{ZBbq}>L05;NSLe?q__Hs}P^^m4?$ypCkI3`{oY=Tu~6OPpi61ySn zi$>celeRG)6P)eA6=o2Kx3&`QL@yhA6)K^Jf5CDZ!tE#YodA~=efvPXE`?CvUh+_v zeq`q;x}#|*V)p106&W__(8VGsnmMw$3}wQjA3cl-9h;ceIGI0x1kmQicX|5^jhYcR zhB`8woY_APZvijyaLnFva>EnLeJXSu26hoglp%6CTMVye70MNFFGk}_G3NQ>%Q*M? z(4HX*bvbHuew?F9YHGvUvEwvmWQNShc0~O@YW>vhRU0tNt`jitj^E7HGM@{c;QxLd z9`We*TsY~sHs)DV=iva_q_-J1!@)s8Dt)?_K4fg^{qbwYDZKx5HQ~}mL=DFC?A}=# zcvlck^X|^Q{zGe5H-?*<8tZIb-KXK$AHBb8k&C|mI2n@DUN3##{_I9Yt#SEB`6>Hz zzj}Q>Ae(%ea$`2 z7T0og?;}{se%!r;SmkRE`py5Ld7X#Xn>!57K90vZ$BfqOaKrxQrHcQM3|@-!CMvog zB#*tmxC@c9q`>Boh6A&3^Scf>4!umvf=HwL?V3l zdtiU&j*pqS-2=1|jCQ+i2SRhp`AcON@~N%xfERwAD@LN=BfVG^@l?t#pB{nUTC3S_ zeh(Ex(OK)46OQTu&=(YWgTD_aW8L%0uc>T*_#$S-StcP{e+Px0|fVPrk&75hD9dGa(QmdM;O}E4EGDj6oZnteijgUNtWR z(A0y^iK1=1TyzU|R8EZ=-282=W4QeK*#(^uvZeHPYEaI)TZ+3O%9*bkc%#-e6>bHH z`-h}naP&$1RuLvCL`TSxMtd6d8_-+-cQ^MfqSvk8{_qGE{Pz0X9KMQzY5r8ZCWFov zb>74oUwT@|o`MOcw_oxhx19NnyJqp##ajk>3QKtPaWv!ny<~0EXA%%h5~H^`+S7sv zn3xX72DfS<<{5`NH{P0r5*BRle+}l>%!J*qpvR~p>oZ=CEpu3lFQnzqfi$s`^HmzN z`*Tc7^UX+T^Q1{SXe*;_I8OXS={XYz!Os>YmPt-VSu%yKjJQBAg32pP8kj1gR;mmn zq@p(-;u>3&MMGqIH=Dl2Giw07-#~*)jhdq6>H_PbSgalV0 z2kfAK=0mEgFV#}#9{sb{HsFWy%)8B~3zk#m6VHPEzulw@obLm!`38I$8gA9`f9I?% z2Yfe#wmSPR?B?55^djCW{fNqhpoc@O877a?WDP==QO4c#K=qikICPmKmvNQ#^Eyjt zHs}Mi*P#7qS?!~SirJ7PCd^XyG1HLMDIMNJi2`|L=~Jzg5FPr-K4T*j*`Y!jeUC?{ zQQEBX!S5U#%9Q}&s9gPEeVoyQhXjNdURvQ)13DRLop_;~v1_5T^(=~rAz4KqMV(+S zLDl`B@=VWDZB0jbL7nnN7K2>`hpk$AJ+eaLx0^jT8-85U=E#>$i=eHSjm6yP{w;q1 zPCUC>EyW@5^0v%1z0t9D7>)ON_B%*G*LT(t3 zi-2MCERBeGI^4zsp*+Pym6~2MzlvCufw}QzEg<#;ihWJ_8L=aH38~bD< z?QMj}mowkN7st|htenAdd59ZSox#4Ix@~1MJ+ht0-Ea5a9{q=uoV3n1i~?-*=x}Zm zpMagdvi+@V3eNvlJvvD@U95r*oL`nYV*TXV_9b&8oIM||m~zX)1mwA*Y&7=Pi!=KY zuyK3#Foc*Y%hn*^S4H1oe(!IOZnC{E&QNdMLlYkocS-{=Jc93fI_y8 zCaBPRcNlGnrZOgKTC;RZ4^CFvyEK13gh*lM!hRHn?D5_Am>GT3f5AA4*NfwXye{iz zmAYdV3-7$k{hPz>#?{yaqwoz=vMIviICDNIuzFtASTt~beBL+zQ~P6Q_d;1<6s0=Aqb*{lb$&nW1Ce?5TBTh3g_a?(8E{C-SmrpPS+MWj><@-US zq_{;KMqPPGlMQ%vvV6@&Y02;?Pux)zPrmv6)em`bHeQFxpSpQWOnfXD$##V?iYK<_ z_r06rS_jNtdL=qmWh*ES?!;Q)s1qfSSh;e;Rq#(M_Sh^avnecP943LZH?@AT=h_k) zyM>n!Ov%N9qP24HHva6C$TIpG?Q(F-sA`ctHJel-v8bqB)VD=Ebq*)^UeCL9{Pc%lw4d30@2_8EBSRM)Its zpN<*ysluetm(NmF;SHE?JPa zEQ#1^L=~86q)IQ@Skcwy$s$dTqOljfjlgm$5{3+^$}M^;Xv{znI>+g3Wo(5?hB6gQ z?F`E9Bq|RVqaQz>Cnu(~m)*|DbkEoUXA45fye0r)r#DVw}4ayAUn+VF>)=JprPsOy#)vICyWcc^NRO zh&X_GFPZRy8p2ENQdI51X#o+`AqrclvPnD+I>yG<%L`|~d%9?2gQ_X4=_PJg&c8Oz z2x`#CG4Wsc56q%FWcw4TE@$7)Y;8PzvAv>CqKF~iO$OhTkPNz^7~woiR|mu(7oT`r>lyBUGF$|e z6siXmUF+GJoSeI0%7>e!o}%#b>oCp3`Wng6=Aynp`2ARMf8zcQXh%8SIxHuWq0R7j zdSRS!pv_y!l6WW2a?+S}-Dh9USmly5W=?E)Fby!-2ecW`>R3PpJTyJ$zN#($CQKco zog~`R#$~nDfwzuk&@9v;Yfg~ZaGxwgk_5}yn}k_bs5;Cmpd_!oE?KCUp2%muNX^2S zPh1+GtbhNv>SLScyrhcFxe?6|t;6-_Z<5|nh79%d>d7=E%o5*6Fs8RJKX&%MheXvGgilb$Jc6fqo0pnWU#M`Nz-0`~kkMQmicK zNYNN}+v*&{^npNK?M_-P!+F_1|gs9}4o5lr7TMNsr+{ zKNbAGt2BDFJ)CSQy6=hB2>tO3w;ka>UmxY6BTr@e1o=NXtE#FllZ>cAM=eCtr1WdV ztgF0tSel@tpkeIXID#S^$3W2)sInElmuB{akIn-siwNRi%NCXgR zl9+@F`L9>1WHls59&-Y?H2;Htz)H6O{?kG2}Fr%w6DLOY}qlmkl>KD?XQocCG9eqL&nl$;^i9u zHF}fiotMgE&P#+V&~@^pB8%#Rh0OD4OK+;_td$$$2Q)SbRz@k@ii%>&aObMjNiL*N z&lb9ok}=2s?SA^<&O3}>*Er)pR*!q7dV}Lka)Jkeqso*3B?l8X4zha7Cf&3iA+25g z513P$^aDKc$wz$YFLZNmaK^uBjPoS2!b?J%#@~^!jB%49DqV8|F!rW+! zyVa!?_wgM#^fP}OU^jlG0xUlSxp$TwFJm%wr3h4|Xpn-Zn;m9-NEWV6l=W~Z`u zE%^VQZF^Ohzq3a6G(~(t6`rYPbGSa*J8Y;cw}>jY0`)FvEuw7?G{xUzamWU9G#T2S z^9}71sl!^siZm?gfjsmvFi@ob)j2;g`V3Zamb5=CM(7CzP@PD--z@x^oYHWV!&$<)!JT{6_ou5Ty_8 zADc6~C;bTF!d&E1@{OQrj8PYSIrk^Ye!XlJt`IrlKoWu6v?MU)WKxcyXJW?dm zUNUb)HF-qG3IHy_vY?4dXuF)kQ#>tO)D6q{V3=;sVBpZh-FSbzBVO=)ev zCbpJfed42NAsWC4ZbE=Nz;YjMp=HXxwD(329o|o{{EoXGLIs^P>WQMtU}0t^19=*C z?Zi66sAHRqAyU?HCMnU=khHT$s3r#YnP2Rl3OC|~a~HBZC|s2lo~TO9m=%wsU#Z7` zYYzqkft@TcsuIZ~bl62dIUk9+$G*`mZNz?e({++AoG@D2G++ z@gf|q6WZ-WLCilV@T0EE8o4i!BhGk61Wl$QoMj_NzC{i@{j0glbd1qG@Is}@GlDfF znldXAO_6NxgxFir zspWGZ|H^k~x z5GwS3s|&#UI|04Nh}s8>k8<43(nAdyY715}r)kNW-)_%d+vT~};QBd#t&yy-8w>{M zHD0Dr;^-bwUFY)&40}8|$Ss-A&%)Lw@(K26wy*7T%!1Q@u&un}CL`g-Igf{3reNbU zs2_x`C#YP@Rs?Y|=S_X6r-%L2Nf=`64m3$)AaQS+1%J*wZQNM1t|0Fh+ZRF<^unht z1V`sTn^hn_9q#2W2W41l1TO((X8l_`fueAEK&$|?_O@7uR0@>OKn4SnMoea(hPRLO zM%`rm`k%=6Wq3M;M7JA=PyMDL)`3}Janj;1<2BRVOh@Q5Fc=UsxQkOMs#^qFL;bfK zga;6XWXYU33jI~hBg;U~t@xJRj8CzcsXWtU#9$Iwxlo$tFCOMol>>ksaI|#|s=w-+sa00%P%E zK4Zvj3&+S{(tU&2Ym>?lK*S$NZTzrA$lCD3Hk7E<-Ug}yD~7YbM7CuMI@4QkEo{WP z<5$@}unv}_EW1bLeVj8)le*L9(F*(Vo|fmA@ewcF1Un03Q~Nz>84UnQK(@cp%0JdU z@@rsmxfffeLX%n@{D#s)TFRxG$`!A0grv+sU35!YGwD_a=9y@=eg*Y0XK%4t+8I$7 zE(@PVd)Y4uU-rphC5EIWvK!oV|Mm9HJJ1hw+4nl2M|U@|&8r{0y~9ttO|&%kHabcf zUFZI-)Maq_?*2$#P51*FFJGw6mVIEQmt#Fk0dnM$-X9?y$Lc?zy$3iX+AM?f-tSeL zcx2)(!m35mQVrd`MeQTN+Xqg1OOyAO%D0mcA5$PbzOt5w`wGfP;+I^Bq~gvU+%x)CSn%ZGgMUqW942KBp3lkmUu1yr@K z`I7w3zkX8_=IA?x2AVCJIt8eDO>_9JScc1H=b(CNfMY(Q0((*6Rj?A=7<3qpp-egn zl@kkbtSWIxknK1~Wkq`;j|gm|+8fJN#q*Z$*mJG6vjeHdB6n1z|78rKk59i>4T{fw&>hh}6`s=TYxFB6EWMnm#cL4DxM zq$~*M6)$EVGesfqx>wPVFKi0Zq7ZS^fehiYg-NJ-wAqhpA#Biu%*Z)*;oMCHn|V}m z#Mt^bsA2Obp1ng|-iUTi8AtZi@2kT3DMX0eGv_`x|J4fR=`|>iSMv>jb)*Q=yLIEM zf-?#wJIMif2N&Q6KVO~u6 zl)ao}(9%B-#N(z~h^XFxza}auC@hbL?PdtjNlK)g`cUjLpV!Z6jpHyYPKtVsDu<8h z7l=CN^*XCLe4w>-Fkw+G3=l-AAlp9LlDpR~rb%I2zj(uoV_dx9D~)_8vMtUv<_=>v z>)wIkRi)Z=?5)DqXc~ydMYMef=u*XC-J;F%n4%21t3;exXdTM@k7v$2HI21_wjdbY z8C|f1QIHe`E&%879myv{lmRu%3Y2_wX`aT~J*$dhsg1Lb?Qwzw1-VDb1oSn5S zZf+$%17S-kFk2eXGjvCba(_{X>TdvtP7NOV3&uDOizMfYR5t~eSCOp%ALVsZX6u`? z`U6}s)f$gqSw$eyXwQfOH=hC#gmGLOoeW^v_kq<@%d*3pmFsL!c42QUw#TK7(8E%c zchsbPPC5&rCL15Q{J1-Byn)u%a%@M0<%X328ul2B%d~HN%*Rieo?d;y@1`m968r(f z&@R^jIm1OSJm$~WYkd4i*zOGI{79k-78N=?=O&22QrE8+U3vN3ZB3_KT|Q}kUBS@r zRB30x>4!JJ+S#Gva%T`>mcQ`^hB4+a+_`9_7TaztDyy+JcHs?6s+?}kvTzuJfQ0NA zE!c6X6|K|dRDs(CmdxnKIeZKsmkbQ(Gqc5B2#5x|^#x%J&tJkD@Wx!7t|^CwQvGFi ziJB5r#J->@PEIS8q5mUguzMKmobt$abzqEQdupW&$xYobMzERLf2Cl-RAcY zQj9ezNIWM_0*QN_aqQr`r7cVRtsP4pkUVrP+=tSZ^7TvHExSjz(MGt}uex7TntjfjKEf^?$rx@i%Ay)?4g(-w zHK8|@w)>3s-Y_Y5py7SMy9x>ow3UGlJhK+?__B0KT&hX*yQw6^OQC!1dy-zb3Rlt} zr47C3caVIDNvfY)fu7UAB)~Ausa5j4hVa{xD2yvV-OjCoc z=btX3Xp;VUkoR^J-%LN6Z+J@YFli@#;_4aVc4i`Dh)8Yeut0Ul1HtOlq)sk7$5YmE z3vP3#T?ox+oNTd$M#ocViWZp!a2}CRtGgiZ1}@x!kw|9-NqxT0Co#jJ?sXB`4FI8o zNq%aa^YbNVCAJ1HwyTG%DqE$)xRjOjZQ{`ll#8_`r6TC&*Mnzj( zH!u8G@9g>IZQZI=z>cq(nsC0!w6?S76H?Z%YsF*rZL-Gg(YZOIDc*B8K@%u9Ba~3QUji^^Z?&Cn#o8 zQN#!3sb2EbvmB6VJGD#mlA`KtCKeC3A*XHT3Wl`n*VzbHY6esGC5;V`#fPc)YT!j6 zRdVSz;KMtDxx!;pNi07AakYll=6=+nDHd@QZ1wA}oP6mFWqzQ^09xviNUZYBOjepI zTi{91sH#Gh@mIjsJM1ctbxR1-OaVnGq5;ySR+GqhcX>7ZE|n_=^|+v1FQ{uZG#ZdB z!Wt?rWQ%Dl^LgTY#Y%M^t`Q+yaj}Fg)HJJwG*1u0=2dIB?O{ZJR3uWp zpCpS3n-oz;TX+pJKWI?fDui84X=@Oi5DVItyHMF1wR}7Z`zQoI2>4ML-i1PozzwO3 zI=|+iuz7$d=kRLTyp=&lhqdOTt`mq7ad)CXV@f(#dpTRS@bgAGB=dT@uIGnt*B!6I zKoeY_SgQ8n<7T8*JDzyiGQ6x)@Lht&=P0iCBk6oreQ_%e66b{HI`Y+k+83dSctKz8 zrmvxES_ke;ZJnv@dgfaBAr$PFm%D2NsEJ8#IvziboL?f3281jkkF%-6J4)u5v&B9t zzj4!At-ylq3wQi41HN*nPH@d8BWzaFS@{frSP#e8FX%MeRkTOkNf~jSttGG%kP2>w zwslA*S7*T3&D}$f>j{MrG7{ciP+qTjF~RnhE$l{e?4f9iX2=7Bye_nhME%wd zq0O&LUZcouZIPDm%DZ(LYenT)RKCgHK2OrdiW$wJ$evB_6*{P-IO)^0%? zXbas6x5dTm%x#IXEP>s^bGJdj=0%et~*|4z-tj-3urcB|7hMTEB8pS%3YghqMgm8qvYtaQ&fET`mUVrna#tImyf=5dp5r|eea9dlZ;bmtjn zyU~^oP~s4#5s^hxeqBf=;8(FjlTM+jZ*=c$zIh5Q&y;9h<8e<4qbG?j4AnBj7Vte6 z5gyQ6s$HyOt>nrw`Zl`UgVJNl6S*|cwl%KTP`r1e^=waw0eaeZu%%wuN~K`iKlc<9 zJ!QGV7!FX$)ekI(4d3x!X#Q|s0px^jdJUoS)w9x>)zpicTOGQ_b>n<+n|yMqCAZ1sh}C0fiiJjD zb3Z=km=ci|3l^x3DN_m?O!l}MI$Rh`;WfbWds%l(x{G0O>P|Cf-^1jHsj)T1LxZqa zh390&Y$usaZX3s(EkP3)3+-;q6M_~j`7oGbU0XH6`xl&RKHllmGiLluGj`Q4fEcXH zLYYqb%-ZzHHaB0=){>&cM2mudz+RIfa@aO!6ZgFmx#&-qsFqIVVhV9kXJ`tE|XXFFFec3+n#yimE3A2 z{nw5;*a;0mi=J8gb=)jc8V1rJs@sq0T}V5sN|W%%d0|1B#jCezu}VnZzjnr&2LR%S za#d^-bYPVQJcGsNwRPs`s5_q1g~_~^moANL*|87<5)bA1EOx=_a1c-bDI?YWQ|~d& zm%d<2Z#4fgd%-?3Gdq>PE%tvwbJ4OHKD)%t>uWZ-V0d+Kzavc<$>d-};Dt$$ z5zu?+>+9`;9uEpnWLdIeI6P)MlN%64L zrVR!17(ZJre+{Z|v;Xj*s(Faq+HW9EExxI@fcc?pae#<~i>$TZy=PU54S&d* z4|k+FqmztpymTedL1#)g%psy?IUYU_dWp}z4?8h4cAHR`AiFTql4xhzXG-%ew;QS5 zb|F#O*iZ$wRW%mTmNB_61S^r6(0*YvzGEA$FrmH5wlgWoYGAUpuvY3~hfL;WMCP(u z?Pm$$xgKM>L97??diq;dLo(&!>oCXk0CIS^5s^P%A(iS_R;zsOnSi(q3e!Eyj@kj{f_s*>IerDLAWFvcoOSx<`xNgU-q{a zx%YdYbhPe~-6-U$cIPO~?7+ z>J(f$_7St=9Nz$P5GlT-M3*TeV;Z0BW~39v9?6!zhLLf)OX;#eGslcQ>T&~AU`sP_Id6c9j|}4ETF#Qv(1Z>1gbI)$6K1gFIGLZCAYa- z5%_JbU*{%Z-hxeG$`>2CG%Q}-CQOh>d4q>IOPzEG5gBFT61&d~@8C9A~e=eTxR@0}sCUo@NnxZ1`ILNK9 z&rO4;0M}zsF^HVVyya1}GjIlzI$>b5m6t+QiKitlp3`Iv1kviJ!IXs@<|cEfAi}Gm z_rd-up-wxr9@K6Rb90o@pDo{9+V`x8+j&SVmW8VNWOyW^JE}-M6pzq+v_Ub3l@7`1u-K+iUH%-$lCMJea)kq{a&MZ!bxSw;O5eehec+3&@ zsYR=zbrfeTFCnWAq-_7Rq@9CP3r_F8csVRX{{EH8$*=h8m(1v)V6T{2O{tl70x_(_ zY~Fc{;Sfmhz-iTSbJo+GLE1VQtZdhT^P0GsctsqNGn1MYmUvX~%`Ri6!Fy1HSHkyc zhA`UZri{2>j~qtjSCNe@Xef+C#l<@{LI8G9fx!*mBb;GDIJOs%KBjDez!w4r8bCC z7Ud?82`nSnT(5IthPkng$fh^AR0_W2@O|OZ^J1r@L(x zP6$LELbJ9uth$++>NweDcVnHnV1Msj_*E*;r&7CgvdL)b7S@i=`M_72wWn6CMGZI0 zMB($n_<<$W6j#VaW>Mi1=A`m`%cYYtO4mW?C?9!~0QaedXw^AwWBOw1o%&xyx}JBs zCkp#|1@@Xtceo$Jc&*3K63T+{o5Ev*)z_Hm8{_@R^wNd(8wNb<_QHe4tb>HMHljyc z`z_c8)g74iHSko_VBZjm9*kHHXck-y;j4A@lYU!G_4DzrLHpA5WKhx~%b_tyMb~D_ zICu95Z=9yVJN&nj%46j;`sSm9hchmF?tydf-+#{-!a5y8L>zM7IbeV9bmLFx#fkl2 zp4GT(o_BU(p4tzWkL`C|g5F)V8-IRvQ?UU1DbzR*cu!oUAJ)^w z!0gev`!tELWq(a93ulj9Q zRj@QUl4Yj5E%c?K4BKA@QXEbeSt_C6q!b#z`H?2P$l7K&^yQ>eB_jh(O^URF!h}#k zcW3yEIS%>D&M8XHnT;)K3zgx=EG+XP+XMJA|8kOkg~`;)B(FnCCXzuPp?K|RF^MfS zKG-U)R$b&ogr1+aQ1FSa7blJwsfeX~m-cnbdvH;TTSXpPv5R>361HgG>kb~AxF=Gg znm}{){U2Q!2sQ_6vH}yyF;pE6V6T*4@RgYXi!|7_9>xQ8R9-vZh&SKt?s8?dZ;IvD zo?xmbic=ZEqdP!ydSmk+Mk(9OzZcNzF@LO{X=8b*US#RW~`c z*v+C7pW1ceydTc)cD@BM$!jq8V6r~l)(=edotkqEeu}MA=<0hK?85kR|1C6pv(S7B z0Sj}wq%bvEKv;EC?bJvK0$$75l^B&Jjqu zf;M;^G0eSf`oX7Tu~unrDY8o9JrmA51qrE|hxK0De29_opF1o-21E0F8Ju@D?=fK+ z3oVN!ze88v$CG&clK@L?DI_Q~2dY!rYM~lH97%Obh>Y{EHqFcxN+Lifm{27YL%6`ZBOCBJOmAP%b@Q0hVo$Vx-lo!?rqO(ycT?5A`+hDCECzYAF6PV%B)P1Mz9kQ(P#Y;mOh zziPvDyyD^~hbE}eMMXs=p2Ge)UKZxSni(X@^`eFZA`de`9&~$C351U^lZyzS^G=o0 zoXYn1Hcl$$100ycC4TZqw54GYlV11haKUg|vr{iOm*@QMBXO~h`*b9Qs`>2L>}9hs zOL6ZYTVs9>5 zTUbkl*pMQIm9T+*E;iL}ifvA+a}B^pLa@)gMnF!DNfOP|IVxjZGNZK( zrBoPEpjc`1CzHq?Kwf13MIsc%?qwrM*7%B?22tobpLBV~Y6{t_P_B_|Q5t=YbTOi7 zOEPNLm?CnU+ky#nfA{+3s2s;|svRRva2bOtbsjq6j4xHtrOBzdw9H$~8ha@Bty&e0 z@o6a4I#S@v!YaXaq>QsI)MTkFw~D2Kb-e{`$1Ic2i#?~QHiP#^mOwX0kQ%2-o|5x8 zrY&2?5-Dlw(jjd_oZ5$k*)4}9Jx1Mh8^bEkXuCa1qYRw94>o6%CJ7#Gg5O=aI*-%d z>=7QC28i4leyJQJWE$PzBPJ7wm}XGT!_R;R47@>=N1b5Q`N7A=pqpqd0mww!nZi$v}5`u;j) zlocBf_Z<%FD@1JZfWD;Wu|ZgtB*kU1NlQ}x~zIJo0^=G9mTSlF%dH5@5Wi&w&!cS@E#g`NdhW3W5~ip ziX`^bN5P6`cY>;1b$NS@oJmz`eU@>r0ASPn}sVZSWPNnGq#;FwDgB||Hn$aO@qwSW0fR(NU?Dd`&Fy1O;%gwx zr0M91vPi;$g4+Lbs>M-#Eefcp5O#)e)I|^7s|qS*!mrX2C_8Qq+=J|%3F>ZTt3;Po zDkWA9V|B{CG(#%8drS*!aZ%?F^cWZ73g(6_Qbr96>=*?}?qatqfv$E?iy2BeRXrmP zxAM_#78o|@?m7_a&*1DpT@Zym2jaSm95Y%?l{etlL*}2}p$5!mm`r64gy92okL+t8 zLKt!Tag7@vO_A?1(5#KnqgX<#3hzF5^rD8~%dxu&#(Qc}4|X#__$A)NFw~y&rPprQ zjBNvm=}_OUe}h;{mK{U5Vo@`V$m(VI6SNMHH*}U|XsQX)=6W+sVmWF2a70Txp9Ed4 zt&xe>X`Nn-YH1LF@JZoLe5wz8H62`rBMP!*9y74;Z;NRWSq~L8`s|U*G+)bXdyHQQr328^R^J8xNTI^5E=)(B6c?;g*?a;os z)o~^NB7KB3`K$;m9tcb)iy=vh1izA3 zqR`x>Dl}@%M&--|ntSzfL>H(MphA&W`&)deF~pmi5*}-w15yv4hINQd#oBwC2a|}ZNa|Z zuh`0L)ZRsx^8}qb1-s*}nV?svV3$5P=It~a!bVVJE}C78^NU7x z=P!YHFWN9R>@R|nzMSH_bmGMO>Ae8K-Tv;LdZ0dZUADK+)y$F`3uZK)J0Msar9lbi zNR>02N$l)`!<8tuz)XL;-yjYej!t{!&yYW(Ad#R2iQA4}6W8y0h$W;AqA z=OupeG%^~TaWuz23zj)K-|N&{ndPxy#h8K*cHM7Wsbb&}C_cTtmC}tQ>E7bcCS$%d zV%ewJdq$U5xi0A=!=tfZzBxKqwyQ`7(QH9E>yGUn-wb+N_2hu|)t{u#taQ;7Dx}#Z zca8D)v*EDw6}|%SZoBKEGkA)bLu_gRh$1ynv19*BpHer`V7;2EImDJm)_-ZMn~!)AEjkMq8&h!qsWR3ZscQPP-u`JRu^MTc)&p9jHVT22zeR~ zWt(t?NCLn?F6_rsm?W-Z&8VYAd=ujCZei%6dFX9zp}TB8qgRC!wP^$$?S8ekQ`0{e zu5t&);v@4lwR21U0xy*AvuW-KNKQ1n(UZw(gl4IDbN(OwV$ElO;1>_YcnZ7z}>?xFGQ7tzJjbV^y431C3&+R@PQKvf?6_1%8L zaOygnp7B~Dl^!e$ZhR{HD9wIbBtxZ&MQC)6%Bo=7$3*Lh7Ml=so$ah}+pKnT@j#p`!g9OPh(bOUS zYhQBD@Xitks}enf-@SRWo>1HF25!vhuA^}2arV&iMqV)uQL|*ook{N<%HF@h*wppK z%{f}L-X_|zc`1Hu|Hw#b#Kna>ANCt%DA!T2S<)~KK(yeDB|dJkH}6!ZBpWH1MpkM5 z0@!I;)>DW?ZL8ahq(wmszG4&Ngj(sWNsUY=s)rtr_Tw>R$1nz%%& z!e;Nv??EemM9TFcB>?9m;uU*CKN7_5n2+*)Y~!EiKGs3;kmNnvC%YT`NV|Oc+HXfZ z!WOc+Hr48PK$hFqjD?4*=p2VAj$Pxwib9nfcUX0mGUf0j7ErreU+&;`4trArNhSx8 zJwf}>ES|;6T0d_?M6_y_+(jhtG)e{_<|+yn@PIPaZ2NLg;w!I`m#JAaJF=aR6s!X2E)IQV}=ss7zUckXgq*`nJwclU8WA4E=0Cl zf5sJg(N9Skz7i{4L*9xZ$&wx>;}f(Fp&^AB17Bl9^NCFaA7=meN>A`l-)JYv>f)_ha|>XT)^guRpxN;0}j}60^uQqN|0^9$={H}R(}W-$e>s8 zNIdoPQ-dgIycVgRrCGnjxbHBv2PCKIr2X+<$hEFZmKMzvSei3_`Jy-5X?g9u#VhRQ zxq3eHl3D4+xCDRbyMpG}5qFh-pf;WU_;a`ygZ)7`Sv31Ub4D;oNToyAqIVc|hqKr1 z4|mfRq0hr&ZqihPlQ--d2 zBy-y^6gmr)NSo7uehDR+{)p&eBn)&${nql0MYUUdZAo%~B#|R#we$ z;Y7shPNb28SM}Z3!_GQVpo~GEmAvrvF;Bc)g&uk5udw<<4kdW!&UD&}8#Z7`j#0*u zTLt>7t>Dis{ja!GV{S$4zpsxrQ**FFmD;^A{h%NlzY2^Uryv7Qv7+Qy1aonYKI}o7Z=^GXq7Jdo10=lzjnp&;&Mlq`rIAFqZiVCN(*N7po zjEV^~ty|=&A9TmaPkA$&2XjImQKB|K_6^bFZuNC+;j^soguL8QtdAukI%Hp>h;a!a zQ>Y)u)crf&LUUFJYzMldtS}^LGX^b3-nJm=4-Cb-9UlOSAt+a#xPm94zvpZV4|;H? zvu6dk<~hbr5mmnJ=4jR&frTneet{u0RIR^y8CY-5xbI)JHOJ$i52bIYQm7EB`d#Hf z#w8EpHclMB{38u_W>g#Tsxnyc*-{31zRI^YbD8WGOkzEP6gFjP7w~9rd+;azgxDe& zEDdzyr+4mLh6>LVdcB{A{Rox915db5Ts>iL2+h0Bog)s#n|1l$R%wb!f0fgJ@r*8) zVV5#cMSGtbnY71X=|#~dYD03au_0ES9sOnexFq=%ep0))r*CcMS`7RQ}Gj_I)D{Z0r<)js?}d zaHaZ|7lG2#Q|Esh!5f{ZWNIgxGp;1yH1?%Pa_TRL=2jQ$Eflyml$5XkMA&y$!Cq+;vwfg*{&_V z9fH#<6dMHJ2RoM{s_YwB}MxOz8dHshOEr1YJl@xKAyH^$`ZsZ7|`j zA}%?rFJBpC{&RvC=F6%|76_;+E&H%V?lN6^px@((o6~;9xYij(3E5y=ZnNwzlRbQv z#3~KB%g3~doWc~d zKRXF88Do04yL%*!u@iUuYsM7ro~`dVwl94mpKe3Oa+1V5M~6^74+6#Xjg?@bv3R-h)iRZAj%8 z(xIYgv~f8735mgddyMLk@mI2edpBuqdU3%Q2l`c@S=r)ogsWhBxIV6NbcV2sOCnvD zr%ES!1wnA!%9y{C|0loNGrR>}Qmp8b36&geK~@)g;yxC6a1i+7ZL|Z`&fbV6dRbOS zvlh2L;=*|F^qO}(rBIsjA5Q1>6fXPqv-j^@ID=s~%Zl*Y^M~qI)1E}ALj}Um`L}Ph z-@dJ}gOB_-ELM=aJAQ?9Y-4wfAy5=9lp*wQAZnUwr{c&M6ab>L^`{{8q(xX0Z3xI8 z+Q&QeVSs&%o(1+UNXAxMEwxrWV2Y~8Chur3$UUK5&7`Y{+}^+Ioz~ma%%j)cy_nBA z+%z0q-|)?+`9TH(_99GDR9e`bVVPO*mA;?O-2Iok2aFuE9BlcP78ESLh>n%ku`Oz*L%KQo`*ffE>=K%nZ6FUVKA~ zYkXWmYh|8pX)$zkuYt!yF>(TY@4V@pe9ru6IKxiO#_TcTd%H^0J6!tUt=N_#kQHS% zww_d(4$QF#WL}XnJRL=oeoSp$Edrt>^rwMBX$&nB*W zC#pU}P;q$O*~`m&MmnI4DyyhsagLpDPeSRUT)K4ehuSd&`4TR0Y)n|Vq~uG@jv{g7 zmDx>DLX9o1xQ$8p*|)awwR_|j^87;rZ5%YjKZWM&U=2KH`Td*IhM>lV~}b( zKboDPPrdr-$HGSw)k7&akuqrftuL-vR|&*4aNyU}9MtQX4Eb_px9fSJeSaYmb>2DL z4DWl(MOWF-HBffNj&6`FR#dldUfUO>h5kVsr(3e(HQx!y3jw8*Iu&SoE?ELlB~^iv zLRO3js`DG(in9%^GLvOb9uE~sNZbY9y5}q zH$h-<>gfd!DX^}1Y6R_Ccgsbw(H9GYJ$Y-osx>Qogz|iWaMhQ25QO1%} ziQ#}2LE)1@MpO}nQr{Uns{hL{v?tD>l=t}Nw53Lgx5Z#u^dBY5A9a_&M3fVc18)Gj zMkT&}9bDVt_@@is5EaI*o##}m=fKy|NQf-S<_AnGr|=cH zM&3%;lCsYmT;gw8#QY8g(!AIQRg<1uq38VrN2&;yny*dQnlh(&_{@IxghBBTpd7Xw zgFO(Hi9}*s<1{O1L*MJGgE?1e*ERjNlwr#OfOB}m-?=GVCFcu5irkszvA6vUq?all z4O7Lgr_|kkiw4Xt8dMU?1be7CuE6?uqF=f;Ss&@Zo>AC zoyE1Q&@}j2i4SHcUleNFi+kUAC3uNB##iO|w~q6cedd~APk1D|<$jn{I9jKDh~AOyp< zfXC^tD&SGjBE9D{;KwFS>@f)6oub%(;Vc0vwIhTSDqm{P?bAvbrRj-o)^U#?pA1MC z?n9L_D$9=}`J!@Z0Vt)h5OU;)nlTocxBzG>OozISb`qC5QZEQcF)oebqIpR$##Adv zHB1}c;a}O{Un)vuQFv~5nG&<*bPQOVMRVl~Ui3*EEpjfK->zk~#XJ}+Y0^YEB z21_crcK!04uZUgiO|SS86t7{S^gAz?%l&GL-duld4zTmh)QvDLqpd>Bk8HqU>+kK$ z>+W{K!P-g-El9f9L$%^E6^L=cAK43lotdOWidL+1%6gV^0%-k}N`Ie<5lh983>*#) zB-e=%D094hrm1M;M8V*!aScqx6-J>PT+TQGNIJCz(s{4=ZN z9SdBC((WPP;yW-0_#>=OCtG)(km1O*wtJBMPM*;=y=NQOWrMSe8>YNkrHA$dd@fhlrrwCmdyctp zxm>P_BUo=L(AQ^m7k8|-$Y-wCO^%-xm}}kl{=yQ(jaZOH3Tu6+K&E{^QN^sCLYZ|~ zQnDwBW`Ic)fI?u$gSC28ZE6|0ikD177{@0B8m_R~frk%L#-W<^6gh+;GAWQ-58M^c@a;S#}5{vSl z#dqP?Ng%7am2Q(aEboR(b{(v)?FF$jzFv(PGAGB@AQn<%(xPw9+_CR~qutx>141z| z1{Uy~q)|zoU(8&?q2_QRBci4~5i8m)${`m{4LP?A#IE-r zW&#p@ZY&YerNu2lKVoVICj7m0Lr-}BvMXz6Z?;op+cs>PgENp-Nxy0f%@7Vjh5$@~ z67ZgTW`{v$aq}aSeRx}*ld}`*yJ@;Sth+8nk$SqdYqx~m3RC0k7zO+~5dxeL4n4-n zZuXmwK@Ei?cr{*KVS0LcFW%#B9G-ZyQjr$Xlt+V%)O;x+)v{t*i{c7U&3v%HXFh#C zR!{;K9hlVu*umMg%Ix`I8SGLg$vF3anrL-&oqZ_SpXH=;)sGiOZhXGS64Q=4;1qL+ zVrq%EK)NBr{XI>#ZYJ_Db*LOgpT$&cLOj+fwy&Ew%)i@PEC@vf{0v5yr3iv?@gcBC zNXO&CuCd4xd+a`(>S1 z5Yi&ZJl15+{Z~4!mJC_=`u0h$0)=vm^g5;FLH8PoU~f7H7=Vr!;;V`%ik>3KtP6$o zig!eErC63eQffqwoK&w@i6>SM;(Sj27O^!W z46~y1Y!2~}DrK=;xo3hCo!IKMqXX09&W)3THZvc zv!-bP|C!HWv>f%^lOL4Df4h_N$rUG=OR52>w{_PP3z$wW@nH3#Us;ZlVn{3c)%?LN z7qyted&XR6HJ^x2H@Sm->f^!_?gWIvI0}SNDO06)fOw;Y51f(viinw_CNl5|WOC{z z!5eJAD%?J*fbSfK9I73=zRys8$7XpGftGc0VnHX1a=1LGTLY-O5v+Pl|H={TSS5I8 zKMdyVSIvai$$)~c?$d_&^j1CNF7BgVa51@TKz;ARf^QH0HO^8WBmV5p%qRDK3!}V7 z{y2BWBN+3>xn1y?LIkb6)EhW0AtO701%XXHo?0p4eDg$|MxsatOA>@Btd6Bb>B~21 zxq~;B-=0C8TgXE8X0}&^))oKt#c?N2YPxezWvwejuX;3l@+Yi|0E9A=L>cbN#_{PA|6YR)?;n8xKZK2PrT+#HxhaGzyFa%YGUzW8*-aK z<*JeRIr3$gTCe4=OF{4jHGUS7*K@@@9;Wrkt7dCG>Q{p)EQkQE+i|$#rYBnK9*R2P z@N_ux<8IrczBPzabK8(tJ+we|?43e}E!Hy~ka14sQGLG#6>;lI7>0x+qj>s$F6o=I zoyVYqPIBtkQZua{cQd+OAkHoEwTr324wXd&ruPg;BC`I77t_`1oizn8WQ~`Rdf0=?gh9=$Uxt z%lhzsr;A9C$6yKjm1LIXm>}5=7~-z8*h4lv0E8$AKCr*y+k^ zO=$7{>J0;Hza%SOZ}~7fW8(rvrbHbX7e6YdJtTYrSaq4sDaML%(G8mrpQRGDYDqD$ zS;by(dro+;sR#mBK*TS#ujdP9jM}DAKq;Go-_B7+*SCI=TdZ5vWLcLJADhg1fSpkB zesdI56yTJ893UrBa_RMw67mc^3p$EdzlFl5l92yLBkt5tVrO* zyw{aij-nru48`rs8nzhBvB(bl2*{#P>g#d-Ie0K-EntZ|Pn3SqL__g{$2$DkO z20@1$G~A(doPdu|r=1YyH!05Gn@^7>%pE}P7)>vIbNr5xF70o}E?h6&JJcM5<^Wo2 zuj5M}X~&hO>SXl`=(1kyT3bCir*S>3k2v-otFSBcF`(U5M_+@Qx58@{F%P`Evjd)d zSWfmnte-}x^73_uEAgEyq&jSFD+GOjGeR{jFaZ@*r>diL&C z;jOna-m5m3rhLT+z^s6gxUNsHvlN#*(^^oedt^%WQ0L#JXakQs@fwe8M0kaNbrPpK ze1qv|b87Q2#KTc4ABtgfG)^fwVGMSHU8P1KAvQB934KqsIyxlL@^0Hoh#_1I3<;Ae zn8K}ZG8<-^v3Cf{%GD=j8%;HdF40{r_HNTfcGSi8)8f{mp!fG~v+gUx9sA;dl~c*G zN1ni!>ju-LF~rB+-4zWf|L+bM8=s!|jaHDl?UkF=GMoaTGV$@p5PEWO>e5=+Tu~9_ zIz);B6*pBlz8|paD|rX}P+T(_Vg>%-RBI0jl`)K7HCE;Th_##n2in=|#^l|~@>5R! zx@+8x{?L$s?>}dT2g3c@HvW%xYQ%9I2fhvZCKz1ig~Nyc%D??MBN^mJM@&yBZrGT_ za@4{M!F))`l|rYE&?{rvCoi#v06{>$za585+p!pBmO~*)4}vHtQjj)yfl1flndOt- z`<7`SlbJ{ASL13-CxogrLfPHwyhgxV@6AyhfJjSK98BhiOLziGDM{vm>kKj~!Lq&u zhGMw+{Y$s>#v;#P*H+3%e+j?e-2q+Cj}jLDW-maNqfLuM7^GIx@(RSBh|fJxSo){7 zHwQ}}jME?Mv((>jW?`lFmi!v}8Y|d#e^_G^N)&eYvgIC96P%{tuB#Z6HX(I_Lu|yW z5>nQSOj;l~vQ;a9bJ52<9gsl8nyf?R!{bKA4< z0XKqRppQ=p!cj}{LFCZd%WBWwFO)(Du5!XaAHO4nqNe!C<0w5zS{X?ID6iq!Xc6^* zzVf4Tu_z^cRvoGkL8GHZ5t`fH_AR9u!sYLN3S~G4FQoOwSt^8A(kgOFb-5t!Dom0{ zZ!c8HtCS*p?Oo)(1gLpk6ttZ}N#SZyobl>nwn3U=OJPelvq5;8+4Dpu_@pVTzj;HI zt<5LAD7tbH%2u(jP*KX_pk8`RFB zwh1jSUK2ukq1t&S4_J1!q%NMUA`-<^OY8P>1cBk)2k|eI9S`@2l`88s%OScc8Jk;xklJw|)chMbVePy*m z%QfKEsOh=b>}$l-GHc~llqd=Wb2of!-<(97KDGxB%(h!?LW=n9eokd@MhJY{Ft3}@ z1k(Lo=Pd%g-_YoX8oO+SWLM}6C-)-YEF+QPdBrl&|K4^1k2fXNtdCy~$ac2&0(5PD z|IIJaqo3V;a^kJMKjY68Z3bhRHq)MD7P>Y;F6JUXq~eSsJe(D&uXg-=^|mhZQ?4Pq z-Ian2IGXD38H20bzI=y{b%zbUVXVOO^P4cj*-XD$oJT9~K`xyR>^ef~5*@4}f{K1B zDI9-6UcCF>f2temFgAMW{LJ@O3H4)+A;&zMY(-&FRPI0{9hU9f`bCPfQXn=VHS?umkeWl;lv5 zH>YoY>Qmr|kl}DE(j`1NLaak}a(>bwQj`fO>NaTBP~x@w(0)??3m3;UhW(ivGy5Fz z1J4g`Ejy7UW=>1bE%gCcAV6*24B^0gv3ciDal8mI-D>ic*D`~(S@i_OzJ;70cb^0&X6;+}DU1mJ5f)S` zC=rFXFwTddHuqvaw4xT10^L>Tb|7hG3eX7_41QtG>}8z5eNnBurg8lwQzX*qo-qkx z!i#rd1QL`ib%xNC6Jja5Ciwo^_OKc8s0#s6sftaEo^{vGUF1Jj)GR~aahI39g%n82 zTn7)XTDJ2HUXjLF$25&kcEvbPcr%%B`uk0M2GCH@^T%$l$t7*&lU$V(lGbzV_49~} zb6qt+0o^Tu%$`~Kx#6m&XL?aw+4Ef-WUhKr;yuqoW==!p_L1(}bw|bxEe@9fc_<%y zr|TAmm$rezU&awwkcj|D&_OFODv;*ewAhdQd3Vv#NNzKYQICA4JL#eMfet19(hRR< zK^?;2+te#~i~tyf!3tENd9p}i4f&HQq%|fFTx%cn*0RZ4l-X|<^ir~%Lpog0nR z2fD6=%VL}K&^)2?5?B{PgiunM$Ww%odR^ei=^^cC#dTID7zc_nOWF?Von4`WE0cYQ zaiH51>4Jq!2Y(9Bk=~?KwB#ygdr}>|k_o7yZh=&rF_C6UYUeCL4hl7kDfM#cG_vhV z6&@hbRDFjs*EQ`6RQ>5Hh1auohxh9V)IpgRt6#ACS1f+WT7&oJ2`oLPEvml8FLZw2 zA?-8+PtZrzI3D3-c!~!k2M%L-4ah~q!m%x5T76C_Gk21CP**A*855i>t_gN=G*b=@ z=RA5y5HRk-6u4wt8*vQmcO{xk@_)9bbKSC4{L}%7b?cmKx_*(zCBkJBa@vH8K#yc` zN=-y*T9-00YhaxAj38SJ0I$o$+w$MN5^+pDV&;&jowJ{7hil-S+R5Yn$8_>| zgB2|cdtnByjKOP{YcF0_#1wa{71L)hxTeSDxrtNf;dA(ffwVv8&9&kD7(W8Bwys*m zdCs>BX`{}#CR;&{tNdzTE^4b$5Bb)3wjP=(eDOqdO|#Lxp=ep?m5>iJq^GuP(c>Vs z_p|fC3%6Ju80r6|h6u%kfs09seb@$AIzsl4&n(Wg@VlBPpBCr9`ww8C&0ooajNK!A zjNFe#hdzs})j8?Pf@Sb5%L8f#0O~jFQC-Qt;0^m-It-@z17Dzg)46t=l-RCmMVM85qzPDx zMXv#SGX~f!9izz17+4aWIH_*&@6kp;i?XP|edm7_DL9@&H;{hjqZxl)`S3%H&M+$V z7eq2_9e!QXV3z%#B}33g|RDY&P6I`dPL&!lsR z6W%#(QHcb`MO1V1=Q~HcTCHKB(h^(cMKDuY1pj~Od36`zUMrg=<^>Q^ zCsy{|?>dRb0m+P~EV91;)xUjTr&oLhL>d+B2X65tUB3(C;}i~e>|%sPUaB2BW$3(5 zkr!$YQCv#r&^eAI{GS5K3vutbaTqTTa|hbY%py|7rtlgUw3JR@D~aAVPfT16JV-)& zOpSv|H$3qo+Dx zSI*)6xK;Lj<3AL{f9*lN)3NNay-vT#75I+hvhTIIZvcv2e&yYq7`lvPc{9nHGowy6~Uhn2wRtDcMHgRmCiBi%FC2B&atHbQ#-|FtJbmPbsJLZVt!2C%y4j|GQq7s*YAXpG_sv*Hzy6n)a6{TNpESZfn! zEYN`E1IFlwK3_IY$L<+M;^-89MH9u_ys!yEb`=&Oq}{C#cjVITbaP)9l_KWr9RbDR z7FxI0E>e-utaG{EgR?S7Pqq}yX}jYa`@Z;U5Yi;qCU984UL<|})ev3}!B-y0Y^hn= zLmd+k^-Fs;+st~~!+E}Q^lC>xSNQ51KaC*3@S@<)W{2I_KNVJ;23Zne^UDye)tTQR zDo&O2ICYuSP6yzjjdh!$UVqpVF5pbfgK}ECuxyvQbG?FX-K3$rTl4$2*q+wWJ?bli zRIs}Uoy4fxr2fzdN^(Ah{Fp;mO&*SzWT4k56!RQoA-)aqDOGQ5V?w;Z9d2?rOEuyIkYMz(`%(9aQfS=>&a&Z;C{CCf=qrLvvXFgmKa z?g@tPwYm*g@SF){v`2guU^S*SUPC6+9QX)iqr+)Nw%d+Ao%r!g>OQi; zJ#E15Gp!t+GrJMo!oKn9<-uGt2sv-_9F$2wtXo!p(EG)Oo2c_p0*QcV%n7z51>i(N ziiWlO6|A3D*mWA8r~yvzLg5ja^ubrYDqNjykrkNW3 zVOm`p%8Ure+cS3m+umykMg}$!2HH-~Bx2y`>Qh97hC*LHM7=n2M;tGD*>hp~oe#c3 zv7qeMmsWm9n$Z-Q+ix6KqVDk=!9c#2EAS1rYOxlBQm5cNzVtOiVwblyqQ183 zE?uCa{tTmN5YcT2bTXvfzbRYzCo4}UU`((zdC0rEi7#7Y z-Sm|DM3tC?j}OLdmy_DV8qFu$5yJ{b@5Kd@}v7W zT`*v7HpXUmG_pfsCn6*1QjuKBuxQUvB5Jf-Q!FIIZyyyhj(L2pK?l-rZ_(f&@!9yO zme3HHe*P!q{a{MzC+BGXeWBCi<}h`_`U;cZfR1QVX^nLH2Z%!oewMP0<4-E|{nX*u z^xXkc+0%o#beY#jkM6xgj7F z?;B5m;_%jZl*#s_rAn6)?ILfBYzR2V$oE}H*>o#+ilI&xuOYgU#=9BGO$&ZGjJamn ziIY2FpKpuX;aOl~m2rDnmOp!5fQ+$jZiGVLkSj0Otc7Tbx-yxK;&40&qJ?op58-i7 z$&XA)TrGMgzMJi6_k8q}8I3ic(+F9fV5TcdcmvGXK^?)pwdM>}DJU7zarQS?(pY<< zz@1_w8ol-H$2e^4OeWSRt8pDAiK{45CE#^2=N@&F&{{@ih*Itm(%dFX!LSI;IT~MN zU$l2`PQPQYf*%?Et}3q!92vWLGk!pM@COGn1VL53zbPvyFwC&8tA8uZJ40QCHWJZ; z5?0{54@-9+X3;%SWX!$!Tq3e3vzfKifHDjDp;Y{{OtUk<*sd>t;XhTew$;)4 z(IH^}SP{fQ@H>uRYL{}=h#k^Or6~^d`e26%i#Io~8H>32xy*8r2C5s6l0PmR5lVt` z9i%5>t&^cVNhKy4UiNh=HuJak3CNC?2pzXbtnqCFzh7}J5wkU66M&D_$rXJYKE9x2 z$pc;xv10mAR|R3&ln8g(zWBjqq&hsQd0p#k@A@0z9t_+`NV9CZ-z+)u_GecORiB`F z_57cjKz!+&{>{8@?UZNdlzD!Bq<3auiYQa$qHJE@kM!Tow@LLE&A$8PA>F~s)X3@A zARugL;!tQf{APX1+yZZ2j$AH?LLyM(mQYGpP&#G8$xH3x>JE4y+^Mwo*?GR3T-WWm zt#$vS8PIV1e>_YLwQCFRSn!adhlYdzyAh(E6P>l`p{Mqn>3##QQ83a}R^ZJ>Oq|f% z*j_zABeE7%!b0Vo^>^dM2<;nzV&;vu2=6%VWM45R4w0o+QIo&pnu~ z@MZQd>h7in~4wG07Aw?^-*_A;@-{pNx(0*BAoM^ti*C~KbP z?|zM0i%$Nz%2^*b0y{t(&`8# zowyv1?o{P4@*dPIY^Iv`N_?>;y+M7c%V7&Mg85QCsBns*(XCE7Ou(bYp&VacYF+w>^$P&ow%WkAZf13vF- z)!j_p6tiJO2hLy_50<)^QK6p>2kt&H=DY9HSgEZV$C}5V|Ll-gsv=fTr)EZ*D3*t7 z*iVu3@ZH_33{T0XI-uIR@%gA@KP6@W^?c=1Yj7oT!jTvA$mE_7tlp@W*)X&R{;qlc z_Q9hk@c&_n7B7-*$_~0W_4xIcfQ9ljpz_T$59n4}g0l7KCvgz-6l1 zV-I&Mbipz!d8iuudYes;U9Gggs3T+~kE@r`9bY(sv51mLX4mEG{7U^iRVaQ)9=JIB zH~Pu^rQ-G17TkaTIul6Ld(V_f_ghB|3UA z8NoHXUWEqWCr{o3#>UkMoTMF83L2E2Aa>JAz7iOHTxIl|a$EQC#k^~mQOeUMou(_) z(oF3Stv@nR ze~j~ErIi};SJz_5JU#qRL(LPZdOat5QeyMUG~!FLW5G`jX8P@FtY?WIM=Fx%3J zR~FzUOkd2Z=Zu3L@@=QcmU)b}Dezdz((U@O?LOO4C0qw7JM<0cgjWy>Gqs?55 z3xkN*RLDzy|2Jgj6*+;;-0YRG%5W`#pmXdRYjpa?#)#vRqo}9@)sEJK)!%Mpd*ZEZ2oz!htE6-{z{c6grM>j#@~818WFDjVesJ zwhl{DiimVj#`6x#QW}f2FX8$2A^9CauG&J%*ja6{V$vmCTyUGQQur29Dvgw=JlExn zwvm~Q3(NIbco56$)dK7UG?pF_%eJ!{OpcOcbG__Gm*Gcc;dK{MG6a_#N#UVzKZ6W> zo)AaW^sRpB61Ja%J~hdaztxKH->Dg|6UXjYGjut8D2tLo&f}Pnwx3Esv>znFfv;J> zniCanv$;y~i2&)AWZrs5lUGl)Np{_UPS&a20E7LsRv^Q50NdP(Xmnx&&4$rBglt;X zvAQmmHVV0GrPJ-z5k zrMI6^ChdWL{y1ARVD)LsIPCvlVi(`TFH?FleEMZdA(Br@l~##7v3F$v7kfxeoo$k# zWZh|Om;L`~qWti)x z?sr~|A0FyWoZO8+Yf{v!V7RHjn9p#R$~rrz-z#bJYn~2Vn>>eLEmeJZMmerD#sI{cb2 z6pz?O@^1!aZ_Y}mf9dfv>luqQs{^DadG`PCBY#Q+A;`{Amma$gFk}45$NmHn0 zUOU|3y{L(bHSFYv)ahVKBxsx7ees}fUB7?Dg`qrQf}@&plEbG{Co(wLo&-KomsVs> zgnTXmJyE!NV!ouk9v-nybc&$E=B~uy5Pg!~JyrM)`8;usb5N_bNT0cy96Z`OGY>Ew6)VWbrQy1H_(um5ZSM%cz^ITc;XXn{j?+Y;t{;d>mN{xWAZxLyES%#+SW(LwyQiR~&E#9(l934#yx5s-{Cm?9MO9!XrN?;s#@1un}vES-AIzFbZ;fJmJ_jpNLG1BR#0mx5d@?W z3Y8(A)5pi7p<3iUB85+OyXsOeCsmicF2ztb#f7G;;^ijju{@r38;I`znJf7}E|$fp zmPScQAFHP5&xCQzR**8$Dj4wf;pAWHw)w6@g$g83@pFt(QKEjOy(@HL&&r!A0C16)#1>=t~at#Lh6_Ye{)EW=>_WQ+4%$GI39ljBI;n> zw5G_*(}X2Ps=}Wh7m~aj9*tjZtrs7^e!-*>`d1+7TUEIy*S(j2R1P=A{$P`~*y=|c zlMm({X;&LU;qx36&UK@f6{6v;>&zKKK;3&!V#sXB-oeLHMU@zRfIf$8^nw)%;IfsG zia{kThAXVJoQF0c9&V>Gm*A3=5SD!5YS8iZ42Gu3Y;lYb009^rSxz_bX$cS!5NTn}$JY)zuJ1UUq_f26XHkE(Muu1g*&$o!MLjRxFbv zN*g4sD^|3?AcR(>eEk!Gg36>oDakj>#ktqIzuy57SJ)qd)fYxpfGk&XR~}7Qa0L^c zl+gQO^+hp<@ZJep=Hc-U2{!>$s@#=n=k?ayA~5}Yx3$U1>)@*NtK!v7x;D(UF8V}K zs+^EN*g>_8dFEvGRE%bazCV}!l{-TY%UIx`0alk-xGny3`BmIEnazjckYi4A2oBgJ z5$G7_n~?4}sjoc}f$^D;(oby+acTE2Y;K87%dsfswlY^-2t47ceZvDTxVi1X2V|75BHeUB1r{k}_&p|C5 z{y$tLvmtI#`I|c>o%63 zk7jo-!QUVSsHlo}7MLc@GHzc-Z?TIg8-2L)#Pa6_*~apD5vt%m5WYoqg*>PX-Qo)% zR`9?G`Ju2^@Yj3%D6_;G9&-g-YE5W|k|jSz7+i8^1kw5T%k$vu{5?FWG0&0BI$eGg zu3W~9zM4vg(|&9Rj7{HMJgjka^qc-WM)XtA$$54V7o4srQwuDJ8(C#h-nJ7<|2_B& zzFFK$NU82qPvwJ~?JrGj@51-iY@1zdCnYDpx|&^0kY!UDMi3@f0t&9{L>)Uv@${zI zGNy3;Vj6JZ9Yh<~!Kvnw0mI_(Tv9@>%2vZSc0#Mu-q&0DdmtZraW#dx&b##loc>?O z3L#uhiUFTlMw4T+wvRwkcdkV&L8*)zsCR?GbRABpdr#)o;D?*NxwubpR-^^{t8ssg zsg{z-vZ5JV`Yhl{(6st;pC87Sg;;&dWk{L!hx@uqQ;;IHwiKw6egmrP{f~#>wQ


8HJvF1e)|;_g)dbjwsfus_?O|ZC@oYuBv^QXu+col- zM*_mK9`$A64aYlKhMSWxeTy_?cf)|ocX>90KDh|nHR^5xJ_*$(O^t!Dh!q(997ek# zN@1C3*aM;|8;lW#jW$tfe!m*{Bi1w}2w%_VL`WeSn@k<)4Iv1Bl8DEqbp*dHkCGG| zQ9iE9wB8@wu(cYtw$xcau7wkObaBG4n`$^s~jYsSHAE1crW)LirC9FG>wikbsqC0 z9xTAo8;b2sxPfxltW1AlMEsJn4~V*8YEXIZ8OtmW{x?2^1L*@>XkqcVh3n zL&{`dvpH>{lhs+|Fh!@MDJQG4VaVArx~yOP8|Ru{G35U*xu?#p_UQ?eJG}^{qvivx zr#p~J-Y3qw#%$lsHS75V$bmFmG_F6DHS0^1;XMJlmqlpmh&WZ`yz3Y8QG88vhM!%c zJC67-I>WvYcmc8^c)5oPp=W)!c};fN#V^{SvQ=tix2KNZmmkC1;r<+apYN?sez^`E zIB>Ta+1-nI%9y2Dx`sisrKJX(YKK5N9z|B6FN}_;XZu14)DF)Gy6h9-bf=}LA?Z2- zjRWufqO3zG-gIq?8mepc|F;8Sc6aIaC;93iF}bTc#s|p%eR)p24z%^WYC?~jO!`&~ zGWN2F)O}bcmfaBP@qk{6BYtoezK2Td3GoVg&9Yp?INScNBYsG zw={h6Y2pVr^M9&}qsvLml3Jm38h8&nA_75=iS9DCj{|Morp)mAaET6ENaWzc&^f+tE9c_26jnOTdv@Px_!WA7^zuhpRb%0E zu62zowFp!%-BI|sONXolW)xYrkmNwAS!kN?uOIwthlk7+aFt(eZk z@ak3aLwuU1c1!|NS6dYQ5yuinDbq?}C9+4# z!{rb74X3uX4b<6EGQW4AQ||vHVyIRR;Ekm+nqi-_bZTXL`+UyM-6Q?_*Np90uZNcP zu)a^f=XPb(XHV>!`Mt01KVaWt{nhprO4IN9AO2JMW%o6{zoc~{u ziqlnfU}!MU%bzmPTG3?)%vN;@QTf}Yy{qc$0nMZja|x_v^NkDJvc?(2BC~XF|E8)A zpvZ=IB~Usa@)44in8YC5_6;}^+BD7*_4jMgs+v{Qg@Q2muWs+QOwNP7-_-{<5yzQC zSC0;@XOMQlMRsat{tI0B?d~C0$#)G?T4XhAIj+BLaeDWcDhEfufO2y?cb2K zF#B0Eg02ZE8PSoNm`YE}nlu8Mfh=+$i_b;{(eqMUK+am(mBo?VyXKu;CbJ_vG1v$% zm*)v}APBEeTim%4p|yZawk^slcUq;M;5T+h5ruNZTmnmo#{*?AqQgMar?C?3{V)X6D>K1CvZ~1J(OD6 zs7?ZBY2u|!$;B3s7E~u|`}P~cT>(byJ{;LL6afk@ur7O4GjLJy_{$0voZ~lh@`P)y zd>pcQOy+jElvsPxii3#IE)H`olkF(j!h7JeMeMQhKitWS^YsKOTd9@^(xMq@XCWG~ zNjs(zU*EX#<;L2QoLi?N;sIXFmn2acicr0K3#F5}2GTk-BLITUPaI0>JiFS`eV%(> zAcZJ~IePppWnV;nZ(X44`rq*xt>qj$=8)Ta;^=zZo-y{!eM3cN<9Er&QZFlhn4nvy zWs1-%;Hw|y*!##qQ`rLSI9OU*sK-&%`h=1}-L`LNYk{Qq%WRL7L<7>w>lMN?M5lLw z*aGMMkTzwU>sI;5sphu(s?@tha5OodrG%fX|K-k|{dBwW$l~oZM^^1T;O3{uZ&8xX zE~*3gEpn-L5XI%7u3`3fPIhp`YE`HM)~y7|ZEx-3N&|n znu2u(1t$R<^wUk#+(jIr>n@JQmZb)vsKH_h-Y!6m+$OT#C zIUa6}l!Q42zko|*1sTZ%Q=TQxR*X_$<`s_L*+^LeL7r!cvqwaYVCI#~9DMT%^{{iQ ziz1C1#|s~7W-jnhzzc2oQZ6@mjA2C}$^6NIo38omd%9gzbw6^r$S56P5E=b0`ozTN zqFMJPF>YNOUh+Xef|I!xUWbBvwBLd!E!^v6>|2#%QnSvXs5y`__kUVpOd6Gi%UNRF}W>mI%XC_T2_NoU}|B5+bPV3I4sfm&5 z@VIC$6*jF*A1W!uOXgX%!@vG;gRebgDntNA>%pSn;Dr-i)Nu72CibX^APy& z?vz7DNLQx7vhwsV_{s(EDDxA-zdJ7HhM5kHg5TT5AUmBqsa%j_5rtPUuMsxJi|dEE z@pMg}xR9yn4Z4wazfqJ#_92Q!I$*OjN8w&kZb7X)f5AU7Y*1zUDsBZ#@(ju0ln ze8y!IsPL1#$bQ>E+BcHg=qbVor;KnzluB(%4own+8k*tMHPCG<4}w%U)e?u~h=E;m zLM1lOGf5z%*Dw{;*qWOl*g*%o@E2kVnF=pl1zB(4FfR5l4 zi&QU^Pq<1POhzoNC~P6S4PX_H=AL3=sf7gVx#e6fjA?EU>p4@}&8{tVm;v#PvbOmU zr^zjdUa{e~unP+#T0j_U@$X~`IDhwvj=M^d&%d(YtXc^-2~+i*c!1Ukn@Yt3#o@=eTGOZLht=k}<;xdo zNUOD&O*CorI7eL*sC+W-yTzKcQqno`pfMSxFAf*}E1erq6Q(6kO83aw+4t2vhDFaN zDV@$d;RGM4TdfhNjKDUP{7Z8bat*TmnOJ#rj$=5}jFhW#4qe3@+C4!TCI#+oAIJV9oCyt_bxfNPpA2bJnX zC6Gm)HywPQT(K{_g@v575|sB*$H)N%;G3$2&0KA3xN=`MO%Ajf`Xs$!*S2y9Xydt? zVCapobYoj~nnGYGp+qPYY$Pp{-Wr-LlRO5euM}_~K?C;JBy4^GbqX8=ukG-_k=!22 zY)3NoP4}shb-gQO$CMWDeKdSD7psfU6uswsI&xCuC)c`yr8 zX<;~Dr+o7?E352bh^HtH!etmPMMbYZ-(4@m_*%dkO8nHpLSqNg^ItN|62oO~W_2zH zMp$#)k4_g((8I$!MifonNMKlV0p_gI>aInkT3=H3j#0*sb!GWSEp4>&#Jm;fls0W> zYER%q-L7>O_aZdc7L>D6nP5m}XuX=sG7RW+9B)qsM<6q)LFYuax9?COOwX&^w_`q7 zZMesRZZ?8|jKs%-Jx#`QyD#~BX99Usx0^@O4u6SRD_|@#q!hGUI}L7vO|`eojboi^ zu_PD*Wd#tkjTwlpsexX(>D=^}>u*K3A7s}S z87-?8mBHIa@si7|0@Zdz6CP)@LM?8#n5z5U;wxykiyPK8R=r3fc%t8R@SGiCyvNzB$LJ?L50=_|;0!V;}ARLN$SNeQ5B_SazhpA{;8a z|8+{^HL}yg6Tbz%DHuN5Z!BznL$c$~|BIKxugBJ*$cN1$> zGICJ4HC9ub;56wFf-p(Z%X|_E@Cz(viU9bhC%olc#~k zw|y@pom6v=mqw=fPPC#o5JhlnvJCa6TgRGlEHmW&vA?}H?>aRoAERMC6rsSCUR>n*vq%ET+3{o&L z65AnQ89cHwXYr`tOiO-AF*60&Y^tTFQVMFqdmMn(F42OhTJeCrk23`Mrx3Or!TT!C4dnCc|g6TOxZFu$;3rPQg& z;v(Kb%|wB)DeD1Wo~O{YH7MXocGG=?b!|Uc*9X#b+R10|wX4gSuQs1-_f^Z`M3W(m zXOhQPekAJ}a&X_v@VVvNc(ooqZ!vJPfgOeC@E#I2Gnd#Gv3C-Kbk@%F+Hr7jwujjQn0&6I8`m0*ag;D=~ z4DZKDBOg`^uvDs-J#VeW>AP`-QmnfNStPpRx(s-2%+*H1X;s~NY!6E?Q6z-obZ=vQ6{>QbUewh%B+vAz6VAC;yoak2qO-27npsx&mX0>l~xq#Bfz{ z1uuN)SgY6s3(wZ^qK5$7a~w*H7Ku^Kl>|d9a*57n=(xvwo)=OAn3{tF!cbwzg1Nse7pVRB zKML*ulQ+Hh<&{rH*r;_8w-rih17-$RL#}{w`HH(^2E|TbuUQ#}3NLVI1eg|8d8q8u z(Rw8!-x*Ic4OQ5cKT2!%qlXZ-QZADn+S=vX&H)d8c=IQxie3bmtnwVKaUh&=UIS6q zRgKa(5n5DviCs1jku@uTQP*{eS(_*+@Ir=D8)=69t~%OPS?9^{m9@xw@b6tby^n|B z;@9@i1(n^?-4=aNSl<&omA()JB#rhpD89!>lVr?cX!M4B>mq|O$3Q>Z!MWJmn;aeU z*Ru6E;Hd~P$k>pyQPCRKyqAupQ93ay%vjYGT;KFO0(|MS<{lxEU1?l$RsTace-+G` z26JiXYAJq*_P^6S0<#@O`@8kVg5=*2lRIt&NZye_d-qZV(Ez?_3b!ZcyaeC00u~6I zA$^Ky-`hzz2ktd!-*aFG7`_MW1i>Y+3FvDVc~6#i#3C)FR$%!z^oLAtx4;z$&VsYV z@Eg#+xHLcK`$a#yUYxaH=ZikW=gpMS&O12IB2IWA^&hS?j7P^c|kh6&vl z3f+4Kdk#kFhP|3NX*!5vz>&slOK9%Ki5B=!mDLwBiJW0UGnyvvP&?shVF>O)o3j1x1Y8O5u$usH*c9c!OA;T6K-ZVvc&*q@{KBb4iJwKx8#SgL=awkjgg62G?s#PomxO9vBI>rvdH# zMlOml*twfi!2{i`cw}IofM^hL(aif51AVb+jsnZh)`7n z(dA!`wNs>j{---+ylb)7FF(1Xpn4~Enqnk-7`|V{?o>=%@q*K5&MI4)Ho}~TBEAkN zV~#1#eXAl?aeJtMhpz!5kH!kIPm`(aw#G{5K0e;(*m9XAwk#bt6GTIzvvr5-qFc*b0$@&k1h9XzGG6^?i|3DN?ZBQ8OJ zv&1E&!6li9beecH^Hryzh*QJ{<|c#5gFE*PV~xIFY88UYBj|L~V0f4Y1}@qQ#zmwd zpz>FOtslQT!-UHC(Ee6ae&b6eLLHqCejT=@MN*z%q&7q%NzmJe-d^9hmK{K%&qV>> z^YTBRc(u~o<9Bu4%+=F)vhLzzyK{KG&mWx*gng*_tD+8>h${YwD{;-Z=B`ju)6*B* zi#z0p>vly`iPZQudewA#BEv>o4|!iVf)zMHJyl_iTr>4qdvyf+@u?x!DRSc^`02<~ zVr@_>nFp3UfKu;D_7b*eW0Qbjvd#^33XeB_v3Sd}uJBQwgr)%yGHv4<2iF_y%1CMn z25vi#NRwF_0d!L3G>l@1!XnwsPO5Ts3#5rm2vDueN&$k(yp&)<71uEgL8Y|>!*w2q zT7z0SvkqKr>IPW{H<^m5>jf7DQgRWdOPMW=oAY;dCTTTSdg+l!i8`76#Oj67uoF$? z8@PfKcD^HP12I%1li7M3ts&*pmFN+|Eji*oIZJ4%w2VuLJ%N}jCX=FyOqh(-2B*A- z>otR&V5N1hJUSfF%AQD&kT7K85*^gwc$Ma}n4~Jykd0U;3IK#DCB51#=RSrJ*w4oX z6qBuKp>tTME^3AiXsca_8A>bPpmMbbk!#YW#He&JK{KQt3wU83<;*x#w)GI5)Mpkz zNO6nwifB>FC7b%7Pdq|GI*3j{bTY*{Qv&P&=lPMrz*KDu)6&*BP)eq4oo$fGP19~b zQpKm?X*nLeNv1+_2^;Ts=A;)nYUAkGj`5xodARkqn-X`@) zPrqBa`~QIBK=5w5*kk$3N%yhljvs+vr_b)|GT=riEs?Y>e1)pY1LNj|$Jy5ev#mE@ z{gi#X6}^_~wvC7i%je-%-q?Je8Qz|TrMy%!EDihS2L2jEM3Y#&b_r2D!p&aa0?{ra z_Vb`M2d$rvxa*c>D>?xex<{J20U*3RPAOESs&e4f#miOjOe z>V4>3fMGa_0=*BDs-^;}AEB@Acdz#$FHGb~(5pw5hvFZ))e{1lY(4kM=4Xr(KM5M& zU{UQQen&VyGM2mndHyn@E)flMm5(R^U3a^2-s(t3^jY%jrvz3Vl7=!FeeP>e@!ed^ zj(o>I8W6u9V5{Q4p7y)@2f&YR%jMbnQ z=-(usr=pIq<2psO3lnY%d8#-Q=+hzC37;cLQ-$s%x{Yv3i7qXI^~o_%G(pyrxkk@6-` zHBbLX2DIuESY^BI}=`p-4L z-3Z5#aqgz5iSI0%z+mWs(}av(xd9v>fLi2meZ9P9s8U0#t32!W#THQ29%XN#%Qn}1 z2b|cwe|3q%Wn};9?qY(7MkPM zo3EHy^*A?20sX`Y<{BvR^K={L*jBKt!>~wlv3fi2kxjr|dcA~=RFVM>Iq}BF(4{1c z88TZ?81^nGMc@B@hV%)2bQun@Ss8;$B1t3;a+}?HC*9z3tc?{zm-ouC2Z$Q;cD^9! z3!g7cGwggM8-JPLE}~L&^#><_iQv4r748E>7jg)m2QHjf*m)cZxG#KxvwhwgGX*y3 zAq5o|VFk43p;?hRf3g^O-M82BL0u>u?+<=*6WEKJ;CECBCqQqt$SgU!)@-^HyRp$p zp@3@I4cPQ2_mI@vUJiDGWwPGO-?&x(!F?jzp1WQ{^buY8&0U@x+{8#@jP0CPYV)mj z80(iwJqPk6ymK#`Z#%wHgvmTr0}lqZ`6U`R<5R#3SIa`h!(G}LKbLeAzoDF&i~09? zZ8OtO<7F94z#%&KT5Q!L>Uy$2MNE`;#rAD(4~D(-i^{mZq&lpbFlK(OaDs|TlwZWD z6e#)-9IT!T(||6}$yrJ*JXi%uLojlqWW7!(`rQUsd^RN)9fNs6_o%{_+@#i)B4-JZ zO=cNqfU!r3sfu!my;T}x$LK7Sg2OSc@(L}B7+xew8Q>~oW|ECJ1NI*SHnMaA1zEfQ zQEX|I0x2E_HO(5d@T)FcRNBW5pJ{ZFW zlX3zpFueKF?-VMeG*4W}V^}}=eJ>LqB?6Bw=+(JX88|-dmJ?le7lt1Oe)KV9p$;Xkk6 z3cam7ucVh=t%RneLCthXjYD}@lAlj>E!;En z^FTBIE_g*I5UtrlG;s(J)w&~ugrHdbP%At^{ym=1K3Nb5RZoc_uCU^}d-!!spZMnX zw^5C6{@j|ODwe;HiNW2Utdi@XG*(2m<+enzd`^qZB9aq2K!Pv)EYZ%?zzr`+JT}EV zKayAWFBL}Vl9TfhE{vuC#xN((sc+zFTBnOBf{LJIu>$vOc+mFBtz8jHmOy!&3@U+E zBl^+~4e~U+nj$??=P5cYiePSb9F^oiJQ}!DCDQ#JDFJ4goxgeb?qxm1@EMonHYImq z`7#28JSO1;UQr~e#NO_0Zp~$S>6QIAR5EH-6-+--C-B>a=sdR0u5~%@Xc>P|#u3HB z;{0Qw1wkIl!lFu$7`%S5H)bUzr6N^HkClmOt(0Owuf`jX!iY1_nX?^ksJ$m)(bq7zVuxxuh z2Oh)gPxA#+nP60dUIWOi+4G|28z^W9EQvt!CPUHD0=I}d+O!p#T1z?hmZ5;hu=bQd zQ(vk&OEFo@Fx>$av)_m?ISsHYCkW5jqZ<)1CEdsv#b(lb4E@1fl#qSgLJAPRX@P%O zBes7|$Kk=^R>-#(`Qlc$4F+@DnqXrcAez)MI6Z#AFG053Z+bW_dD>&PE6H)YWmByq zm6PLUhd?OT7NQ`51eoe|z{9|iXIX~sZuInc29poJFrBk|6!MGoKJ_P#ybVAk5m9%V z^SLCs<99=1pwApz5#Bj(7&oOo05tw%VLJ^zhI8u`U)M8fXM9mMp1OqOC7VAKS&TE) z`0p z7inV;e`Vhh&Mtllnxjg$b{3(L|;hH~!joO}AY=X#ye zrsM2qxq}5p!3!*gJn)zPNN>!{$Fl~Zvrr(%B~QMNQ0C*=L|36nA-jkQ-Uc|o@m*oQ zdEd_y4c1-i;fO5FHUs+$*(i2-Q5YB|tRC$b6G=G8Cj>GFt+$t42LS#TAx(ZsXw5-y ziQAnF+&CmSsp!fh)F)!}P1S&^4~?=4ZFQyx=N#VMYCxB&qjs%gK~SZ$w}a!qLyqz= z=nh@ye`&wlKs(Zh@~^Zs1&1#)g@Gpo{nmk(hiQKfPC0j#L3Ccq2unbu?ovBKHg;-R z57opdtB%l=fCfMhppBBU;-Bs0`U+g%NBH)Kubx|$4;8r}S(dQ*V=MfF_b65^w4g-6 zXjL`}Ii@gNDeqCM2(U6Pz{)!lazuVU6Ar%827&3R0%nbsZ)qSR@TU@?!2B zu0-6c$J9eiXKUVUn}q~~1A9twSJ&h%4BzGjS+FcNe*y)6_WcU?RFe`;A{j(idEqEd z^?8M%A{Y9LrFo!X?>dd!AzIW~(4z0QpijmsS|DbHMH`B4d=UT3n_W(XqB7mVcqr*+=1zQ^7l7#toxm4(w*8e7@Qqc`|v{tvw!;&Ki-zGaG-lw?Z zHkOHQ)S*rqNgVA3V*yXIb;yE6$}k17ziA7G`Tz`-Mh4H$Q>h-gkh15~guWrP0KE`X zm2lT-7*gGicR+$nmoBdvL(1dP+p7!=4%sa{A3rsNw^(_xRFJCe+w=1k8^^c0R{`JR zhRp+k_Z?iU_6k|)gVot7QoSuc zuXggqqGe+;SzH4JJUqh)*Nk_<(t?8wO^{n*Y=#1fIj||>f)N%j;v$+D;WHly2%n9{ zk2G@GzOYPY`S#(>4wU;_;=v)13)XWM9!WvugDcZI#TV*_*B0XQw3MWf&)b{>36oT) zO~SYYR>YF7&<%~Xs5Qdw7PjhPpg%)l$%uF(IIEy>AN53dmf-R^edwFz&X%~LdA;zR zBfo5zhG(fc6?$*)5bwDMKoalUAU~gs|CCqQb%j-(=D>^JSwIn$_!DWUK@0!HovU?5lNTCC%1H zeX8E`v9@%d`_{9|g0R$3uvseL_XT}o)*r~>_GOls5-%0JI>oZ#Ae`n#HrPBa`%!lo zIZc6h-E$B8-)HN;-Y^2F0FL5|4?)Ao+}6cjXhmXWZX zxA2;5SoxdOnuR&v5sbTJ2Xe=Rqq*utoD!`g?HeMTynpv0dwxZa zZ%zW>=|D5Rsg|Ad1{QS*XB>EwNI(;1a$?zenL1@bg=(69M z=(@7e(gWfxg)BInj2a-2s7D?E@5v!&mBNqon*}*cga108Z&mLWc4DIR&okifCb@07Ksqih6NJ2SnE4lPu`~vjEdi~^-2}?v0GNM zVd_j3kss*lI8<10y&~pA&Vx~@8y6id?>EB;ZsMY7Q=C`g0{`LUIg!a_t9#FrxFRl} z+tRu~V^WPYy=x!{Lk*+ zCKUZ7`m&~W@P(ar1%@R0aY=WA-j~T5qBM2tDhjrSn;&2u=@MB}DU>c0-4J^LC_^{IZIDyw6=QH}Bd7UMRBe4j3FAPbyARZjl5aait#5a5>E5M*{6N#w- zYOvVo%U0M=aU-;;9lpretz^;!=1-d=I<=r=Xiz~P;AHmCI>~DC=~Sm?{V626Oz_OfJse=Wq2$f3@19jU7}XU+FJ3jfC7?mINaN7EZ2v)fPf)|;m< z_c%HFr>PK*Gqr0n36J+&E#&fz%CPH+#USP0?&sR=gabW~ZWr7?GCjB7LEgU8Tbhbh z#bV%sT#BtJ_g9`jd$z(M9Cp&7KGd!43L_VZOHJ|MsLyYVmdfT^5Du${!o^x3n!Znxf9^Y0u+S63`u_B2aglT7k&4BhmaH(6! zs=sUPKn3qrBicUz?UsCoiMGJf6x@j7F=0PDs`s4s15?0Mlzjoh{?xa}7S3hmmR=FjupQQW)NaNN7r z=pDVYgux#!rM6#Eig!VFJ!4pIkbq-|`<6RSTDPwH0n%Xq(L}H~I>BcFo#7Dm(pB7; zF(hhZf~gV-Fi~hZ?_#f(C|-b2GX36k0={OK(f|;(-vK12X`JJqZG6&(gH2i|7`TG~ z5#tgQ9KdPX>|5xRx-M`_2`T3oBDsEJgwQc*e7B^Abue_*aU+zb!z7w!pzrvnqc@g2 zVEFFs_h@RubY$TIM3hU+@;L7=u!l5_p#XNP#u)36y|;AIwPEzdD!)kUJfrXGlLm|i zUWD1kxC);P^3Openi^@*{vyB#1-9!He16ab5=_Mn^lB%6*&U!;ITa~vQfUP~z z*z;na0QmEXXO55I>f#?`Cc3bpjPL-SD;1FNC|aEbEBw4d<)LK08wnMQlGy7+hBW`9 zHZ(}N=PgBE0xC|B+VT!+OAT#7<(xavttd!pGhcoZ)@&Mr-c$!I_8h=aa_#e)jg}+J zsKIpjJ%Cb~P7EBen8&s{k3y8@Me87_p$H}PRM=Mcc<#AZ_YjzloqFW5E z!FR`5dT^v^xdV(71itM`Fi&~yA-UzyG${9z>kMTRgOXo&4#^gJS#y5c#rHx}5oAC^ z4JeDz3J*6>MPV6xS;P_R-i7Bg@r!`ru)8sOF(2`3aOyL3d>{bxT2_j}F24tkf0Gmz zug~ps1~5S3Jw3!aP7It}nZ$P%LlEc5quvKOVAB3PW$ivSPXaT{$PD$9a76bF{bBQAc6pXFr=5n+EY}s5Bz@f3Dy%|YC3aZLp6y4wD?ovD|M!Vv$=oiJ| z)E4VZ+^$@(0D2FUL7=GBUBUMyglrR>k#pCHZE0NL2nquRvVyM83I4!ejVx`S)UgKh zybLmrr3Rhy5j6aef?DULKxzlh8X2R@N00Ui>d*rL6V;&! z^6H}y!Q&FX!qkO-pwF`>-C$P57?`8BSXDv#+_Z8D2F(^;77GYBtHNrIYF=ELJ_~E4 zEj0X8EruyA^{UcTGVAGoZvoEc(!A)YJc=>48DjeAV(qz0?;9zbwxwXDo;&0sEf)={ zDx^LVyN7|YiBoPwi}yT|&2HVUKqk9wb_@zsf^9U+P$Ii{oPl6+MH|#h48N)(wi-4X z&o}D%Aho0Yyth;KOwW!(EQFTHB|EXpb%5bU2utIW+o%H>KyQE%NHJN8mrW^?SFpvV zgj1_T$LSia9c;JNt-K8Du8dvx^(?FQc>}C9ZY&&AH`xek8UFp`v4&`8ZPkLh(x(QP zl46B*l!M2CP8z6Aq$36f5+Ta67_t~-K?RY9GEIRoDT)ls2#n8yD1oGA5k~+_AnM3v zh$2dGdQ1K?t}<9(RKR1^-TLaECeNAg?Q@-=(s?=LYd~+Vg+X2s43B#r-Xu8YpoUpl zse!FjB?S;%VF>0!{M!D7VDaM3>kTYcH)gnhOPHht&z7ZOMpAV2E*l^D<=xzoGz}B9 ziW2bIH%Sczt8LE}K{Sx=1AG=6WGl{>*yTFemG5!#P=+#9W@d!EmVAk=SqWjgtp@a- z6VhHK3L#W}ImYfGs?|{bo@(7R!fZ&csH8{c1Cj{rg!qs0n| zSr#G3H=sp#(d_QCFknA~r&UN19B|P{xfAj3vq_WWe`KfsW&IjMNbHf`)V+H2#~lh}E@`ZqXqb1cw678f>mW^Ya%ZIt*x zj_!PW+*!=Z&aay1NnZUNt|^Ur4g%pZprrZpgQwq~RK(}vhn*X7GpH-@`?Ad}%`jLy zDeHfgz&u&iRe#8bQyZ1IFKgnL^~r2?HYo$*RTledqhd|Zov2*ld7|GpE{U#e85|W@ zEqurXF3F@o)1I=Mo*p77&4VMC=VcJAzlir)+F+HEZiQcio8u4Ul3n1NCU1Q1)hW1n zV>Z=KAKK3d1}`+Vp#E|l{R{X0%>41k9t30Yuo$t`g_~T8mn{KR;nYY)S1RH&)rS5^ z@U&jpASIr(@}gQ>mPix6*4YX{8z#$Z%2i)MzM z_!zLeup_C3fisZX(qe|1*+@=M1*bPHvrt+byx(W}mfEsd63nRc|K{$EL$(b>FBdIqahW|6T1b6H zSd#TPxh9&}u=aPLncLh&@wi(EowPZuVpr^WAAu7q1Q0EBBy8E?>Rv|8&f@asVkx-n zIa%eJON)KQ1ZE=%Fh8-sF?xTqOJeLH1nT73MU-Byuzyy5d@!Ws9M+C#_H3_Ip{zDM z>AbkOYkLjI-=Y~na#{h*l6olM@QFKeS z?4H5avyUW|W7VR%tX^NEiY6e_#i7g0kD43Z4GLPfc&O8$;5e8nYpgjneqptZgHLb3 zk)4puQCqGT#+4e38C4N!TPBN}eS=g3`blX@(r<;oM?xcm#YGC_6xu!#p;C%IC!^;x8}h-A$?oy`4A}}O>V$k`V|e>%qF0=f-hQn_CQ9i(h2->@qb>@$jRz-J1{7Yws=8e=1x;bUlxX%J1(J0D?- z&Yj#0eQb@;dK+T%8wkiWSd_m0i|&$f6f}X$WiChssU>1nOVN}h>#DL?$dc8W(8nDG zo!~b=1xnM#0=+350G-|_ESO0=0EJ{+Gxblwxc9Fuh0phg=}`391xCx|s_3uNWAWI2 zCZ~q9C$~n_gt+PTa*Ks=G@*?Bs5W4I2TWF_DvfB^{XGr~ zWC*FL_SrB2UE*-wuK~}=H}UGFL+GqSR_j=r%^<9m$3vZmF>$|dC!D#C7bg}TA}@c3 zGgXKQ!?dZXR=3F}>(&}%$Efo#+85|&libCE;HepKXa#dorG&#mvH}`>iuviG1s=zg zzdiiW6crNc|Kh87Lg-}Q+O5)9Y!ZpLb$2KB0nz0qe#TyRrsr+G+Z;Un!)Nr_8tD`Q zwVr%mS5Uu&A*;P*|E+bTPu#tG@qf}Orz|AwQXZKUCl7q9u5nrev9WI_#D%2F8@xAd zoXEaMFqk)qg5*y*6WCVwox}Qn&r_BF`gq(ujyly6A<5TOgXEQ+{rR`p7Z*-CVQknO z_#F6nRejEBivA?!D9Z9bDg1rxAI!dW)Dy93pjj9nJ{?w0gfJshp>SqI+0E-?Ezv@Hjoeiusy>K-;H4Y%I}kpb}|@Nrv3UZgZ4R+WTIiRxBR)1n*U8Hddx7 z12Y*q^!h2}3CH~MBJgokt)0csRQF&1b;}j*Gex@=0o>l|#w++AK{Z%tfGkx8K#X}N z%Ga-lm$0v$>#{{YP$_Y3?AQX?79z;4ccaszuhmcwwvJ!jXCHoEW9MkZ*;;N z63pu&W#juyZm8W3lE|#GOpiE})#G2_=koI1Grk2`hB|B^SHRuChJs2AC7mb?~^cAY$f_XIb1~1$PIYyr12rjNLZ^4~fuz!Q>E38-!zoM^FDqt3UOOa||4+3bU@)Jz2q`%a zDVV63VMY`3l5i6*1RCGHLi`EQKeFb??d==opQBwyf~jt#Mkz70?~aTkxc!+-r+;ty zTCb6|_!p8nj&7?OcEP4L#?Z0~n9e#3`_1H*ieE`LDbmTL&Pyr&eH8g##&nLv&iR#! zn5wQmyjpQ)9m}Z*p3gRCpkg$ei>`}MLVXm^*L7svdS&1|K`r02*?DrMzhDdn3@Vs5 zolIYR!WI8R(;6|3YMED&`9A_bhS`TR2h3>yBxYk%Q0k|L-c z*so`hX@Z7ORxn&hT{v5(O;cq#&9eajiE?U5U_y;HA=rYe1&%KETVP7Mfo}Neb9}zC zR^(^Usiv`%-{>fL!T#S3=*esH&V4@mY)?R2PsezUjup*n%NB4=gl$_49msm=R}S9I z33pn6n(w6sXU}Ih2YXVYBW)ylB90j2-V^J%=C?ooxhO>s+w~1VHyPneZ?Kl*|B`g~ z#V{ojiXCRkSz^leUkvzH0KtyJ&xCriC61Un!75v?@O9m3ZyFw!&xa4=Toz(XkKyK< zsU1Blw;z$`lZ8+~@w2LY%QhX9w2{}={q}p$Ez;>Ni!)Lm(AVb=8jqtZx4@Qzc z3zbfj1f3(7+-6%C>XJ`d0ohgs`I7cVctnn>7y&K(rlB!vaK7_Z8J2A;^(#CPFZ(M? zJ?b-CQZ^%~8w;bLqaRLPR_5PeFhB!=Ew57~oRo4-9Zz!IntgSZIgM`0COG5d7~r*q z!DsrwSymYAb3*6LrEqAHLF@&2T|@~N6$=WoUGG+8_|esm509w!VMfCHGf4?c7KAC9 zdyvQbpJ#VG%?{!kb$K(UAf#<7lt7(`LRqkR5f*7N)Ixy5U40-fuP9{+fZD?GOs(h) zhleB}I`c@y$ksgYU%yBGRmkdP=hUQd?A>wh2F+S&X0hQ@W@)m$2aoA@3NNR)G=wXZ zaUmtIxPJq@7+a0o7I&dB#x`&IHicWS)NFzjoEA~}sqnB*o+woI=!}m*s%bit36-$?)TDz{=%J2?(V@pw7BLI6ZW zWiji6@54d57BWDw47Y_VJPTyJNr;&^6+axHV_bFXn6^7*V^t{Kcp zK8O>io%p(5I8}#l9~eGpKQM0EmpJq;cX)q)JE4l=v6d^;P-W*yhk3(g`__1!pX=EU#k)*Lb+_jWVB%S6FS#fu*GPxny>b;cbiM+rM=WQD z-DW^2SbO2nyn+-Ct3*JpS-;-DpeJZ~clz4|RDEX_3nvwmXaH=@xbdj3BOm(4UJMA! zRU;f)F5nCUyT8)xG=ntW*w8dKDf#b?3uj0x0L7rr54M)BPiPN>Qp9Mko;x-NKIot^ z&g_^ToZLO@`K#3%8#~Js5zz}rA|u@|afsNZQO-xSE&9f!KG>|ygsCElqi=PH`oH}} zG~)C_QhadMcW6-GKC5d0o=*?cCIUb{>(V-4R(6zznFtHm1*5hstr$Va0D{uUguXCg zO<}cozd9vP@oOQ{k%wU{RXVYR`?@H&EM+5|KQ_l-o3yLD@@hT!*n+<*>xAZusZr4M?Q_ ztMJFf6OZX=0V)*njse(ntP|@!R>K?@cD-DVejblTgL@B}G!Elx%O?G-9e?1!m^O2S zW&e8h01r-Ju#JMIJIZ*ePu~sRej8?U52t2pKA-}om?;Za!^w$+7sD+SR1Lr}cj>tw z^c7c_Jqnhxvy}%sd%2DhXoNm1=kJC}Eac1TL@yGTZBf;WS`;56;rn1)#RxSX2l@HB zf|Z$F7!*v>GdTY%&n&1?;nNvp?Cq)K#JZ2i`*V|LPjGOc`OV22SY9Uh>L>IN@79OE zB-|etGs9P_u+{ZHwpX1gGDNYG}^zVEg3W$s=cQ{M7wcggM?-1WtfA9 z!F2eYH>kIPA{mmyP3;82QXPpHq8{Ik2cR!X$R(fViOZ>X@yQ(0cK1S;vpqAVNb5E&p{1fpMh<=_wd+WpX$+MEMv{=1ea zQe_kkWk7S=&^*6XV|7x8arN89l6~W-eH~+FOdFzQd&~Cqpn@U9z`b^ zt))>4xfe-5T|V2+r{orb!uz|V#m(157bw=BsR56tZA6U*s&9TOmMhJ^(1PB z)f<2P7KnV?~~J^g=UOm{X!C=yILfc zogY~k4-7yl)<6*V6f3xE=|?x~1A}@$?C8PuUqe{jEHO*X+GHJ??Sip*Qk;dN=-+$3ChgsN-lx!4Q&G6+w<-t06%)9_^!#*t8wF4h$HAL}KDe{^lp>v85@o z9M6zko1epJAFYFCn50Uo3Hgg3p!dtEiP$;r*E}>wI?;)M!wOfRumX?`OmvsKwN6sM ziia4Z2mVC3W3ehS*cU*STGn_s53u#};yCAep9T)^-td>giTxmz)02oAAqa~t)x+^* z>7@@nQABa;1TP48%KHT+!%&JOUb}k!-Zq7$CT|#Itu+xel~s7}@93ZE$e><+fDy+B z-mIP`Bx1BRCo#A8&}{{VBG~fuQ1?PN6RbBW|Eg8#F&~aR2Clm*8i#Fp)0gT=OE5RA zF&_##`V;he57=7|mosLm(R&y>EKo~FxLJ97f-w*!{C|){K&;xlS8T!RQ7ZCLR(0(} z3?prF7)okoL`G2`bd`-jRBz`Z$X6JkR)zA_)7{mU^8nVh`Na5Ts$JOuGS-?(V(tRq z2x@yk16i%~;b08An*vYO%XtyTQ(}G%R|!(Dv~W4MvslZbDgnkVR+jqWgCZg3g@MQt z-%xQrX6Pqx0fVtFBq8?1^M%i(F01keeVc7Hk7Atgg$RhF=zpI~bTtesj7|-&_-kM^ zSkEH5eRYSZQkuLkx|Zj`Ug>zRyR(F~nqcG{krs9_CI3~YDt_SwF#b*Tqm!b*XX#}M zg__a`Q0%l3aq5r*U>AOF%53V3^zv8U$C5+KrJFZ{-641z`@GvRvHN1Y$72=j0;~vi z+MtrL#0ASnYn(hul%0_L8>iFdmJc%Nh9i_uS;UOi4tGTb^2<+9{ z1V&sr7ax>Tz86dnoiEV|0R2%d!+nd_u2PkUQ;RKC7L9RmZU(G=up*EgQB2;jEwd|O zb!T~;JeLhV0#Op!_AaovE7iT9OK$4B`66tLdT#n3#j`viV`-vePFSuG;gEvkR@PBxdT{nusni~dzddSk5{ zZrF?cEz5Cy!_Hmk+C3lMZTZSB7;WXah7a*w>HEhVn|=7=_zkkBY3%f?cVAtDB7R~l z)?xh(8S7ztP3#tJbiKe8e?Z>@js&P@cC5| zk#*57dF%if5HlEh8sy=9ZajsjK-MEyB@zAARiezw&J@F{HBNfL z^@G0lJuwh)54Npr|C#|ftAx*;xmG@aRqyo57P;2@vDE1La5tg&srw;Jae$f<)&1%^ zx}XeDg*I>z6oZR6fUX#CIk$)!P7^?1z6*NRewjMAA}Z%v++Hd? z%&AA^(MP$~gKz)k&1;eqE8Dh>g0~ghalx-#=gds05h}R9t5mZOeXXlvVfhwNkFAUU zo9Ns!(wyjsesZ=@W;D4K`a3@A&;0Y>#)p}Ne6DniS=`Rbh%@zwn$vz_OyhXu8{iya z`Qp{<5hD>Ak4)!$35=gDW1j~G(435R{UgMAvd{dg+zNXjI;P4ORi%1r@ex-}$r&TJ z$!r|3jlWO)-JigO*zn!$GvshN0KzLbI-s8Z)}`UnUre5iVVR`R_LSRtLraUk5}#&Q z(&-z2jp*cfu~|Vp!-&JtiZXzxDq$eCC~tfkT;v}_P2xXR--1*|vBV;{)i|Cx|Ndm! zB4mp!Z7tj{jn(TCtj?te#i@d%C|?<=2mZlyh1Lq>5kPTerMw`1vERtu#Upx_U;M}= zl_?*}bN{4lEk(nil#-fz1P2eX$4Uy!{>t;KFRYG>CZQ+iPYjF47EP-WLrdFq2GhxsxLhOQ;^T-BvD=xr*;5@-Yp zRb{6Ax`|P`|FDNirJSj`tHouPwcxiyIWcGOXV7l{pr*=WKBgvjDck4CYE(2W_VQ%I znU>e=-7QG9x=&mCrB$VOvyzxXt7KNRJ;$e-s@(>|dO&<%kp8-S9J1J?3Sa$=a`@jL z$L-NgRR?Bgtm?y+#0Uf4v{k{IBtwhTamj1eYCkzkd?Zexia?*y@FrPFB8F}MjA z!p8ip+w_ov`FGR8B1(Iz!XXq@L2lSLZ@LMCph#jm^YFWyc+=?MywY70fVZqoH73_p7u$ukSM28bEE8^zMU~YacB{ zX*f7-@&nA|@snyF>9~fpWti`6-2C$s@A%AjO8C_W_s7g6WQEj^eFCy%a$TWh{)55e zUIo=!(u`)yOy!gw_}Szq%QQJQ?SQeW3m|yR_p<(=7W>NBLZ5)vD?tO0BZt3}jjw=2 zz_@1Uz3w(8e10Z#*plUdWMMacGV-`ZXBR+aP^+V1xYfyqcqcGTgu`U%Y)Y73UyK;n z<;GapvS^JWQlx4)EtuXY|6cw8cUOh5gsdaRthkqYsp-6?*XuKsZZVKx&|TVos=(f}7AM;&IXBGZwAdcQ>aQ z-=73HD(=g}#xfrn9GJxWS6FUFutTzXl%-(%Zt%m=>4xsSUS+Ie7+&gRGdznDgUQ_m zajS_;gfarSf!YOnS23*xp%`xFpE)r=ynM?90!BO&MI2j|T zjN#0r4PMPSz~eTRuJ)u5=n1XxpsT&2Ep-x(;xH84L3m}_fCtM;UPJ0UzScR$LdKMa zf!f~V$AfVxlpIx;B5Oushz4?xnYIwB0#m)}?<;n81hGlLU`i=_0E@`4Hx)5B<)G{nEb7mqp;am{Mr3<2Di8aT4_k^RY4%r?FT;U)ZD;%DmQoPSU-2ZyQpFHe{83AE3p zwrI?L{EpTPf`r32H?J7O*oOTnLskk!DUsRw9mDVUfTtDh+xl&afQPOwsTTb8k*VjV zr1O0=9l@9U1^=tOYurI{c76tYLYc={wJqT|M5OkCvLXg9Xx(=MYZ<|`5}tPjWh`cyD^`+x?Vk@X8`t~ zY*d4xJjqe7z0BE+*bo`QMN^>Rz-6XOr7_$3l5G{}#`(JozzME8Pb?yB1vsxYY*gVs zKOUZE+PMmHQDd)PFeezhJlb81Qpd{jJuH@1R`}sfwQZm*9uaU=(;x8>PEZB^oxq_D z;-I?74w!&i9y?C>l=HLQR>=P?`cSm{f=`B_dC5?yk0`pi@1vn+e09EsNFt8C_M%x>ainE3h3 zl1xV4u*;kb-P)p|~kXWX!)eDm3!vC(5-*`zlAlZOz)==jsr7!FAeUo9wuy2PIc9I{*_-A>j zSRR^#Iwk7tTiCFmQ;wA7cyuDE?m}`*+V+)1DJQgr5mg0@YKxGA=#S!IX@w>`4H`$m zPkSj1*UR^ zQ&V2=YMs{m@ahHW=`5u@IRwrI|M+12xs!}|JFR50?zj|IiJvRM<#I&aP!^3iCR}Y=0nIp!w8w~xKxCe-x4x-N1*z>GG;_BqvU9** zLBw-iUoBjAi{3lLQ|3D4@2r6TfTTs=5}c9Tvj?bx)ECig(ag!QBtjvjnEzX7352#; s|4(Oe6Vk$Ts*h=7PV6juNEI}~-!M!}HD@JVP}rg(Y!g<{903t2`01uG^fCB&k00000000000000000000 z00001HUcCB1_odQfgA;heE@*EHp>F2=DJKDBSjdA`1M?5^T{{4Y3%Cy1Che|6(k~ z7a)}%8AYI?m=sqt8nFdMplYiK6p+lh0=npScV^G(-aJAa{(Dlf)chYXg^A+E|O)-^Tv|Z?cX~}&=#7%Uo-9B!(1^bOZ+pDt#FJ^ zWMA`l^XDJ!0q^A|IUwGiShmUfd7es<4gG+5R;|30j!7h4C3MBCGo#YdAc$)NzhqMVpYCA@b2avWQ1dQ?BpN zotb=N{~8bp|00dB&F&pu3(sT{=-GZEm}Djs!4_tCFi)egbmXOo_c(-kf|F1#E{XFC zmq}T1MT$+hDguR@;+5c*07TtS!+v1mx=YzvzKVkr=E%+;xF3&LiMa-pf-p~YaxtGO zCt`upkYX2uViR^H%N4cPWakZEh!<2eR^0-I9D_a(>z42Xvx@ysnn7b@U>rBN5+XO| zzZ@J>5!LD;LpM5ls~Z28kI>wwFzT@kVoEp$!Bib#i9bLVl!U9C9vU<;(w{+Qm+Fq4 z%gSoXYHO;VeHGP67LW~VZ2UWxy_RD6*eS!PZP$<*Msevj`A&QA0&t|Q$ znJo>0J`U1TB2&m=>OGZbsLCm>Q7e}jx$Qq02Mp%2f8oAG5OPNGj%k%G@pRLm_bH!) zWt8ts1DuE4O3!OdrYz}ug2oinKwMI@&9>U*AMs%y z@dJ9MoK>mg3M`(z!7@`#7q2*jh^t-I3N4UwSWn$6C z*;F2`PSXQg=t! zBIQ&@y;}ZT*$K(=Cs7ZV)+S3hTAkvojG1veY141s-En+Q$%RQ==F9bYSM_R>J-NTL z%vTt~3LSm;<%eUBJow0lN8^vpYZ|Ig)%L_+{!`73Pt`p=R^Ix|`}zToq@k-hAn7aF!mvP4g$e{U1sExq3{A&WKT#>?nRJgjmu(OOs8ad--(v;rC-1_&Dt9f zQwPuFd&7=v(xK-Kp_H(!CPwlN=kk0~FVqT1^XC+LO5UvD3eZWNk(E4;66ON2=tZPC zmqKrX5z(7jzMo8{fuV%Zkl}XfJjU%rWu=hvJEsx41!?j@jJR}(=VAoXW3mwmGq}Xy z(jpPlCcKCq4|J6KV7vc8;Uwoifb>jsliWrsVG;MP;Rsy-f$Eb`S_lsal5O z)JC05bDx~cHrLu|txy7z?Z$(|VQwZ*Ux}M5^IE5wRBc24;Ed*yow18|q&RVFvUf1E zW~m`gdq?RuX#2U&n2X?kY6kFav}&$qtC37%hH!OARZ#&THi1Q}I}+Nku6%@K`dX+> zjcTvXX?wU)Rbj|VOCifdEpGvQ+gJn_KV{px9x*7(7p=&LB9uO>=IbzWUbeMoX@(Q| zuIr>Mux+yDVuUSMsM!M=K?Jv9&0*?AKiy1ZP^1NWWsp6qH%a6x(sGct(8FB1btjU;ys_(&vB2bYC3cW4g$TUmTD2**De*qlF<6r!L!9^awe|%b+rBI5K8<7i` zZWD!VUpz)&J>+Bpq~{W7`xVbaU@PI+$;tn!Zo#q*Ti^=ZiFa$6&tk}1{Zqs!`UJr1 z;&Y&!qIPYXN~vJbfw2;lLC{WN^>SJjM17fP$Byryb*lY^U6ynpjs0JI+(l0G;rS+4 z{iM}^RGn+uan8PMS3k8MWSGf*bA$ zh(d`d;EVg&>T zr8EZ5$9zbUAS4D>Z?(hxBN)5_!T2Dp8%bH`434az6-OwZg2X_r`&=VKz)jQt7RsY?^j#&TV zAN}D*{$Bl2H8Z;n4iOS_LA#Xk4d>^#1~0_f1y(s!J%r!}FuaT-OlTMs zZmo|ZCt__xjHMJKV#8p`_!0qV$;?wgjJn|G(2#7gk_ywT^KGO5+ig+%ZN}FmCYc-7 z+R>MCebL|p7PAyv9zBBbchQCf%r2(;az)bdr!N*pMNphJKVr@;%@O(Ki5{Ed>Xc4! zfUx!U_Bmyc*WTrluLQuPz34q|@FYY9yXYMNks>dzaRh>=1ig7TD?y;$?wk5nVlBtb zYm6O{drCCSEbV9ze_eKU@s0LK!&=hJ@?~iFcTW(Me>qQ(7P*jc^JiNFlQs z5tT-S9_dip1`DDK5IspIoOXUjCTZd}Vm2X2;6l==De8!b**UQTqx<4rq8ZLyfw%L@ zAeNI44e2qc8D&=?pL-(R;Ai8p<#Qb3?E-CQ%O?~M_&#hw-sdSR6QPinQ-@{j!z)LH z!buMNOM#sy3s)cJAH)|OhQnX9#q*&)gmM1t*%tGC9KO*eppo`*!tD}q!Ww40QAlUE z@}frh+zBr=2qeHXOy$t{)|u<0VKimMds7{QR9#p^2gVI~L@fAD`OOj&2slW~cTKJl z1S@)22$?T$Y$rvW10{p4@5u4umCH<>91uuyRh@4;-v%$MxUkQKO$pR{9>CT~^zp}# zlE23ktLKm@4>(4A@dZ_}7p|Fb!5J`MJVIL%TCi$`Px@@VOSp+&~$D24SuUSiEMDv(W)1zG40q-Im+ZESN zqUJ)_%ieRhCA6IDP2Jmg>UC0_(C$rQ)_ z07XKi8nZ8q9CGIxOs{%k!EWpVE!YKR8?_aTs%EuAs@*BOM|WuVp1FQUuVrPYuez3= zD;UV8Y^gd_LhG;@tu4ka#5R-Fp*;TtzGA+|1_G1{qvEJIDqodH8xh;BQLxu4*G5ya z!+X8J&o!*0etFM#z}#+JTaMOXxIdRJ(VZ<%(u%XU)Vzr^K#Y50tiNm_u2v>Ex7-4% zXpsY+^<9Kx6kJM+gR@v3BG?j-4`&=|p==_JQ9)swhYjdS#MWE)>9ogm&qe!5z2Rb3 zCj#sUg;B-3v+j^eUxtfVb*|ZF3Liv*lhReix?0Y9zu3Dgqb4|)+^G7Z{G&?tk&0!{ z!*c2R&YDPKXW&9esFp7&2x(pS zrA+&S=kqFmZ@PnfUZ~^`2bD5A0B_j)YC$+3mSVB9k#Jy>&jo;j-y0DY^-}B4m;@%8 zP=u{u&Z0&J{zB>Pa69H&dY(mcfC=#F9t~M>VRhK~_a(LrXg#B;xAk$D_b*D~Q zQp&(;^gq6Me8iAWA|!W>?~wNAFw2d|32s3w KX>zv900RIdsjx`^ literal 0 HcmV?d00001 diff --git a/assets/js/glightbox/glightbox.min.js b/assets/js/glightbox/glightbox.min.js new file mode 100644 index 0000000..8577e3c --- /dev/null +++ b/assets/js/glightbox/glightbox.min.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).GLightbox=t()}(this,(function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=e[l]=e[l]||[],s={all:n,evt:null,found:null};return t&&i&&M(n)>0&&r(n,(function(e,n){if(e.eventName==t&&e.fn.toString()==i.toString())return s.found=!0,s.evt=n,!1})),s}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.onElement,n=t.withCallback,s=t.avoidDuplicate,l=void 0===s||s,o=t.once,h=void 0!==o&&o,d=t.useCapture,c=void 0!==d&&d,u=arguments.length>2?arguments[2]:void 0,g=i||[];function v(e){C(n)&&n.call(u,e,this),h&&v.destroy()}return k(g)&&(g=document.querySelectorAll(g)),v.destroy=function(){r(g,(function(t){var i=a(t,e,v);i.found&&i.all.splice(i.evt,1),t.removeEventListener&&t.removeEventListener(e,v,c)}))},r(g,(function(t){var i=a(t,e,v);(t.addEventListener&&l&&!i.found||!l)&&(t.addEventListener(e,v,c),i.all.push({eventName:e,fn:v}))})),v}function d(e,t){r(t.split(" "),(function(t){return e.classList.add(t)}))}function c(e,t){r(t.split(" "),(function(t){return e.classList.remove(t)}))}function u(e,t){return e.classList.contains(t)}function g(e,t){for(;e!==document.body;){if(!(e=e.parentElement))return!1;if("function"==typeof e.matches?e.matches(t):e.msMatchesSelector(t))return e}}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||""===t)return!1;if("none"===t)return C(i)&&i(),!1;var n=b(),s=t.split(" ");r(s,(function(t){d(e,"g"+t)})),h(n,{onElement:e,avoidDuplicate:!1,once:!0,withCallback:function(e,t){r(s,(function(e){c(t,"g"+e)})),C(i)&&i()}})}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""===t)return e.style.webkitTransform="",e.style.MozTransform="",e.style.msTransform="",e.style.OTransform="",e.style.transform="",!1;e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t,e.style.transform=t}function p(e){e.style.display="block"}function m(e){e.style.display="none"}function y(e){var t=document.createDocumentFragment(),i=document.createElement("div");for(i.innerHTML=e;i.firstChild;)t.appendChild(i.firstChild);return t}function x(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function b(){var e,t=document.createElement("fakeelement"),i={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(e in i)if(void 0!==t.style[e])return i[e]}function S(e,t,i,n){if(e())t();else{var s;i||(i=100);var l=setInterval((function(){e()&&(clearInterval(l),s&&clearTimeout(s),t())}),i);n&&(s=setTimeout((function(){clearInterval(l)}),n))}}function w(e,t,i){if(O(e))console.error("Inject assets error");else if(C(t)&&(i=t,t=!1),k(t)&&t in window)C(i)&&i();else{var n;if(-1!==e.indexOf(".css")){if((n=document.querySelectorAll('link[href="'+e+'"]'))&&n.length>0)return void(C(i)&&i());var s=document.getElementsByTagName("head")[0],l=s.querySelectorAll('link[rel="stylesheet"]'),o=document.createElement("link");return o.rel="stylesheet",o.type="text/css",o.href=e,o.media="all",l?s.insertBefore(o,l[0]):s.appendChild(o),void(C(i)&&i())}if((n=document.querySelectorAll('script[src="'+e+'"]'))&&n.length>0){if(C(i)){if(k(t))return S((function(){return void 0!==window[t]}),(function(){i()})),!1;i()}}else{var r=document.createElement("script");r.type="text/javascript",r.src=e,r.onload=function(){if(C(i)){if(k(t))return S((function(){return void 0!==window[t]}),(function(){i()})),!1;i()}},document.body.appendChild(r)}}}function T(){return"navigator"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function C(e){return"function"==typeof e}function k(e){return"string"==typeof e}function E(e){return!(!e||!e.nodeType||1!=e.nodeType)}function A(e){return Array.isArray(e)}function L(e){return e&&e.length&&isFinite(e.length)}function I(e){return"object"===s(e)&&null!=e&&!C(e)&&!A(e)}function O(e){return null==e}function P(e,t){return null!==e&&hasOwnProperty.call(e,t)}function M(e){if(I(e)){if(e.keys)return e.keys().length;var t=0;for(var i in e)P(e,i)&&t++;return t}return e.length}function z(e){return!isNaN(parseFloat(e))&&isFinite(e)}function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=document.querySelectorAll(".gbtn[data-taborder]:not(.disabled)");if(!t.length)return!1;if(1==t.length)return t[0];"string"==typeof e&&(e=parseInt(e));var i=[];r(t,(function(e){i.push(e.getAttribute("data-taborder"))}));var n=Math.max.apply(Math,i.map((function(e){return parseInt(e)}))),s=e<0?1:e+1;s>n&&(s="1");var l=i.filter((function(e){return e>=parseInt(s)})),o=l.sort()[0];return document.querySelector('.gbtn[data-taborder="'.concat(o,'"]'))}function Y(e){if(e.events.hasOwnProperty("keyboard"))return!1;e.events.keyboard=h("keydown",{onElement:window,withCallback:function(t,i){var n=(t=t||window.event).keyCode;if(9==n){var s=document.querySelector(".gbtn.focused");if(!s){var l=!(!document.activeElement||!document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase();if("input"==l||"textarea"==l||"button"==l)return}t.preventDefault();var o=document.querySelectorAll(".gbtn[data-taborder]");if(!o||o.length<=0)return;if(!s){var r=X();return void(r&&(r.focus(),d(r,"focused")))}var a=X(s.getAttribute("data-taborder"));c(s,"focused"),a&&(a.focus(),d(a,"focused"))}39==n&&e.nextSlide(),37==n&&e.prevSlide(),27==n&&e.close()}})}var q=i((function t(i,n){var s=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(e(this,t),this.img=i,this.slide=n,this.onclose=l,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener("mousedown",(function(e){return s.dragStart(e)}),!1),this.img.addEventListener("mouseup",(function(e){return s.dragEnd(e)}),!1),this.img.addEventListener("mousemove",(function(e){return s.drag(e)}),!1),this.img.addEventListener("click",(function(e){return s.slide.classList.contains("dragging-nav")?(s.zoomOut(),!1):s.zoomedIn?void(s.zoomedIn&&!s.dragging&&s.zoomOut()):s.zoomIn()}),!1),this.img.setZoomEvents=!0}),[{key:"zoomIn",value:function(){var e=this.widowWidth();if(!(this.zoomedIn||e<=768)){var t=this.img;if(t.setAttribute("data-style",t.getAttribute("style")),t.style.maxWidth=t.naturalWidth+"px",t.style.maxHeight=t.naturalHeight+"px",t.naturalWidth>e){var i=e/2-t.naturalWidth/2;this.setTranslate(this.img.parentNode,i,0)}this.slide.classList.add("zoomed"),this.zoomedIn=!0}}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&"function"==typeof this.onclose&&this.onclose()}},{key:"dragStart",value:function(e){e.preventDefault(),this.zoomedIn?("touchstart"===e.type?(this.initialX=e.touches[0].clientX-this.xOffset,this.initialY=e.touches[0].clientY-this.yOffset):(this.initialX=e.clientX-this.xOffset,this.initialY=e.clientY-this.yOffset),e.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))):this.active=!1}},{key:"dragEnd",value:function(e){var t=this;e.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout((function(){t.dragging=!1,t.img.isDragging=!1,t.img.classList.remove("dragging")}),100)}},{key:"drag",value:function(e){this.active&&(e.preventDefault(),"touchmove"===e.type?(this.currentX=e.touches[0].clientX-this.initialX,this.currentY=e.touches[0].clientY-this.initialY):(this.currentX=e.clientX-this.initialX,this.currentY=e.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(e){if(this.zoomedIn){var t=e.clientX-this.img.naturalWidth/2,i=e.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,t,i)}}},{key:"setTranslate",value:function(e,t,i){e.style.transform="translate3d("+t+"px, "+i+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),N=i((function t(){var i=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t);var s=n.dragEl,l=n.toleranceX,o=void 0===l?40:l,r=n.toleranceY,a=void 0===r?65:r,h=n.slide,d=void 0===h?null:h,c=n.instance,u=void 0===c?null:c;this.el=s,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=o,this.toleranceY=a,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=d,this.instance=u,this.el.addEventListener("mousedown",(function(e){return i.dragStart(e)}),!1),this.el.addEventListener("mouseup",(function(e){return i.dragEnd(e)}),!1),this.el.addEventListener("mousemove",(function(e){return i.drag(e)}),!1)}),[{key:"dragStart",value:function(e){if(this.slide.classList.contains("zoomed"))this.active=!1;else{"touchstart"===e.type?(this.initialX=e.touches[0].clientX-this.xOffset,this.initialY=e.touches[0].clientY-this.yOffset):(this.initialX=e.clientX-this.xOffset,this.initialY=e.clientY-this.yOffset);var t=e.target.nodeName.toLowerCase();e.target.classList.contains("nodrag")||g(e.target,".nodrag")||-1!==["input","select","textarea","button","a"].indexOf(t)?this.active=!1:(e.preventDefault(),(e.target===this.el||"img"!==t&&g(e.target,".gslide-inline"))&&(this.active=!0,this.el.classList.add("dragging"),this.dragContainer=g(e.target,".ginner-container")))}}},{key:"dragEnd",value:function(e){var t=this;e&&e.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,"right"==this.doSlideChange&&this.instance.prevSlide(),"left"==this.doSlideChange&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout((function(){t.instance.preventOutsideClick=!1,t.toleranceReached=!1,t.lastDirection=null,t.dragging=!1,t.el.isDragging=!1,t.el.classList.remove("dragging"),t.slide.classList.remove("dragging-nav"),t.dragContainer.style.transform="",t.dragContainer.style.transition=""}),100)}},{key:"drag",value:function(e){if(this.active){e.preventDefault(),this.slide.classList.add("dragging-nav"),"touchmove"===e.type?(this.currentX=e.touches[0].clientX-this.initialX,this.currentY=e.touches[0].clientY-this.initialY):(this.currentX=e.clientX-this.initialX,this.currentY=e.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var t=Math.abs(this.currentX),i=Math.abs(this.currentY);if(t>0&&t>=Math.abs(this.currentY)&&(!this.lastDirection||"x"==this.lastDirection)){this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0);var n=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&n&&(this.doSlideChange=n),this.instance.settings.dragAutoSnap&&n)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),"right"==n&&this.instance.prevSlide(),void("left"==n&&this.instance.nextSlide())}if(this.toleranceY>0&&i>0&&i>=t&&(!this.lastDirection||"y"==this.lastDirection)){this.xOffset=0,this.lastDirection="y",this.setTranslate(this.dragContainer,0,this.currentY);var s=this.shouldClose();return!this.instance.settings.dragAutoSnap&&s&&(this.doSlideClose=!0),void(this.instance.settings.dragAutoSnap&&s&&this.instance.close())}}}},{key:"shouldChange",value:function(){var e=!1;if(Math.abs(this.currentX)>=this.toleranceX){var t=this.currentX>0?"right":"left";("left"==t&&this.slide!==this.slide.parentNode.lastChild||"right"==t&&this.slide!==this.slide.parentNode.firstChild)&&(e=t)}return e}},{key:"shouldClose",value:function(){var e=!1;return Math.abs(this.currentY)>=this.toleranceY&&(e=!0),e}},{key:"setTranslate",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.style.transition=n?"all .2s ease":"",e.style.transform="translate3d(".concat(t,"px, ").concat(i,"px, 0)")}}]);function D(e,t,i,n){var s=e.querySelector(".gslide-media"),l=new Image,o="gSlideTitle_"+i,r="gSlideDesc_"+i;l.addEventListener("load",(function(){C(n)&&n()}),!1),l.src=t.href,""!=t.sizes&&""!=t.srcset&&(l.sizes=t.sizes,l.srcset=t.srcset),l.alt="",O(t.alt)||""===t.alt||(l.alt=t.alt),""!==t.title&&l.setAttribute("aria-labelledby",o),""!==t.description&&l.setAttribute("aria-describedby",r),t.hasOwnProperty("_hasCustomWidth")&&t._hasCustomWidth&&(l.style.width=t.width),t.hasOwnProperty("_hasCustomHeight")&&t._hasCustomHeight&&(l.style.height=t.height),s.insertBefore(l,s.firstChild)}function _(e,t,i,n){var s=this,l=e.querySelector(".ginner-container"),o="gvideo"+i,r=e.querySelector(".gslide-media"),a=this.getAllPlayers();d(l,"gvideo-container"),r.insertBefore(y('
'),r.firstChild);var h=e.querySelector(".gvideo-wrapper");w(this.settings.plyr.css,"Plyr");var c=t.href,u=null==t?void 0:t.videoProvider,g=!1;r.style.maxWidth=t.width,w(this.settings.plyr.js,"Plyr",(function(){if(!u&&c.match(/vimeo\.com\/([0-9]*)/)&&(u="vimeo"),!u&&(c.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||c.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||c.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||c.match(/(youtube\.com|youtube-nocookie\.com)\/shorts\/([a-zA-Z0-9\-_]+)/))&&(u="youtube"),"local"===u||!u){u="local";var l='")}var r=g||y('
'));d(h,"".concat(u,"-video gvideo")),h.appendChild(r),h.setAttribute("data-id",o),h.setAttribute("data-index",i);var v=P(s.settings.plyr,"config")?s.settings.plyr.config:{},f=new Plyr("#"+o,v);f.on("ready",(function(e){a[o]=e.detail.plyr,C(n)&&n()})),S((function(){return e.querySelector("iframe")&&"true"==e.querySelector("iframe").dataset.ready}),(function(){s.resize(e)})),f.on("enterfullscreen",W),f.on("exitfullscreen",W)}))}function W(e){var t=g(e.target,".gslide-media");"enterfullscreen"===e.type&&d(t,"fullscreen"),"exitfullscreen"===e.type&&c(t,"fullscreen")}function B(e,t,i,n){var s,l=this,o=e.querySelector(".gslide-media"),r=!(!P(t,"href")||!t.href)&&t.href.split("#").pop().trim(),a=!(!P(t,"content")||!t.content)&&t.content;if(a&&(k(a)&&(s=y('
'.concat(a,"
"))),E(a))){"none"==a.style.display&&(a.style.display="block");var c=document.createElement("div");c.className="ginlined-content",c.appendChild(a),s=c}if(r){var u=document.getElementById(r);if(!u)return!1;var g=u.cloneNode(!0);g.style.height=t.height,g.style.maxWidth=t.width,d(g,"ginlined-content"),s=g}if(!s)return console.error("Unable to append inline slide content",t),!1;o.style.height=t.height,o.style.width=t.width,o.appendChild(s),this.events["inlineclose"+r]=h("click",{onElement:o.querySelectorAll(".gtrigger-close"),withCallback:function(e){e.preventDefault(),l.close()}}),C(n)&&n()}function H(e,t,i,n){var s=e.querySelector(".gslide-media"),l=function(e){var t=e.url,i=e.allow,n=e.callback,s=e.appendTo,l=document.createElement("iframe");return l.className="vimeo-video gvideo",l.src=t,l.style.width="100%",l.style.height="100%",i&&l.setAttribute("allow",i),l.onload=function(){l.onload=null,d(l,"node-ready"),C(n)&&n()},s&&s.appendChild(l),l}({url:t.href,callback:n});s.parentNode.style.maxWidth=t.width,s.parentNode.style.height=t.height,s.appendChild(l)}var j=i((function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.defaults={href:"",sizes:"",srcset:"",title:"",type:"",videoProvider:"",description:"",alt:"",descPosition:"bottom",effect:"",width:"",height:"",content:!1,zoomable:!0,draggable:!0},I(i)&&(this.defaults=o(this.defaults,i))}),[{key:"sourceType",value:function(e){var t=e;return null!==(e=e.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/)?"image":e.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||e.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||e.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||e.match(/(youtube\.com|youtube-nocookie\.com)\/shorts\/([a-zA-Z0-9\-_]+)/)||e.match(/vimeo\.com\/([0-9]*)/)||null!==e.match(/\.(mp4|ogg|webm|mov)/)?"video":null!==e.match(/\.(mp3|wav|wma|aac|ogg)/)?"audio":e.indexOf("#")>-1&&""!==t.split("#").pop().trim()?"inline":e.indexOf("goajax=true")>-1?"ajax":"external"}},{key:"parseConfig",value:function(e,t){var i=this,n=o({descPosition:t.descPosition},this.defaults);if(I(e)&&!E(e)){P(e,"type")||(P(e,"content")&&e.content?e.type="inline":P(e,"href")&&(e.type=this.sourceType(e.href)));var s=o(n,e);return this.setSize(s,t),s}var l="",a=e.getAttribute("data-glightbox"),h=e.nodeName.toLowerCase();if("a"===h&&(l=e.href),"img"===h&&(l=e.src,n.alt=e.alt),n.href=l,r(n,(function(s,l){P(t,l)&&"width"!==l&&(n[l]=t[l]);var o=e.dataset[l];O(o)||(n[l]=i.sanitizeValue(o))})),n.content&&(n.type="inline"),!n.type&&l&&(n.type=this.sourceType(l)),O(a)){if(!n.title&&"a"==h){var d=e.title;O(d)||""===d||(n.title=d)}if(!n.title&&"img"==h){var c=e.alt;O(c)||""===c||(n.title=c)}}else{var u=[];r(n,(function(e,t){u.push(";\\s?"+t)})),u=u.join("\\s?:|"),""!==a.trim()&&r(n,(function(e,t){var s=a,l=new RegExp("s?"+t+"s?:s?(.*?)("+u+"s?:|$)"),o=s.match(l);if(o&&o.length&&o[1]){var r=o[1].trim().replace(/;\s*$/,"");n[t]=i.sanitizeValue(r)}}))}if(n.description&&"."===n.description.substring(0,1)){var g;try{g=document.querySelector(n.description).innerHTML}catch(e){if(!(e instanceof DOMException))throw e}g&&(n.description=g)}if(!n.description){var v=e.querySelector(".glightbox-desc");v&&(n.description=v.innerHTML)}return this.setSize(n,t,e),this.slideConfig=n,n}},{key:"setSize",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n="video"==e.type?this.checkSize(t.videosWidth):this.checkSize(t.width),s=this.checkSize(t.height);return e.width=P(e,"width")&&""!==e.width?this.checkSize(e.width):n,e.height=P(e,"height")&&""!==e.height?this.checkSize(e.height):s,i&&"image"==e.type&&(e._hasCustomWidth=!!i.dataset.width,e._hasCustomHeight=!!i.dataset.height),e}},{key:"checkSize",value:function(e){return z(e)?"".concat(e,"px"):e}},{key:"sanitizeValue",value:function(e){return"true"!==e&&"false"!==e?e:"true"===e}}]),V=i((function t(i,n,s){e(this,t),this.element=i,this.instance=n,this.index=s}),[{key:"setContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(u(t,"loaded"))return!1;var n=this.instance.settings,s=this.slideConfig,l=T();C(n.beforeSlideLoad)&&n.beforeSlideLoad({index:this.index,slide:t,player:!1});var o=s.type,r=s.descPosition,a=t.querySelector(".gslide-media"),h=t.querySelector(".gslide-title"),c=t.querySelector(".gslide-desc"),g=t.querySelector(".gdesc-inner"),v=i,f="gSlideTitle_"+this.index,p="gSlideDesc_"+this.index;if(C(n.afterSlideLoad)&&(v=function(){C(i)&&i(),n.afterSlideLoad({index:e.index,slide:t,player:e.instance.getSlidePlayerInstance(e.index)})}),""==s.title&&""==s.description?g&&g.parentNode.parentNode.removeChild(g.parentNode):(h&&""!==s.title?(h.id=f,h.innerHTML=s.title):h.parentNode.removeChild(h),c&&""!==s.description?(c.id=p,l&&n.moreLength>0?(s.smallDescription=this.slideShortDesc(s.description,n.moreLength,n.moreText),c.innerHTML=s.smallDescription,this.descriptionEvents(c,s)):c.innerHTML=s.description):c.parentNode.removeChild(c),d(a.parentNode,"desc-".concat(r)),d(g.parentNode,"description-".concat(r))),d(a,"gslide-".concat(o)),d(t,"loaded"),"video"!==o){if("external"!==o)return"inline"===o?(B.apply(this.instance,[t,s,this.index,v]),void(s.draggable&&new N({dragEl:t.querySelector(".gslide-inline"),toleranceX:n.dragToleranceX,toleranceY:n.dragToleranceY,slide:t,instance:this.instance}))):void("image"!==o?C(v)&&v():D(t,s,this.index,(function(){var i=t.querySelector("img");s.draggable&&new N({dragEl:i,toleranceX:n.dragToleranceX,toleranceY:n.dragToleranceY,slide:t,instance:e.instance}),s.zoomable&&i.naturalWidth>i.offsetWidth&&(d(i,"zoomable"),new q(i,t,(function(){e.instance.resize()}))),C(v)&&v()})));H.apply(this,[t,s,this.index,v])}else _.apply(this.instance,[t,s,this.index,v])}},{key:"slideShortDesc",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=document.createElement("div");n.innerHTML=e;var s=n.innerText,l=i;if((e=s.trim()).length<=t)return e;var o=e.substr(0,t-1);return l?(n=null,o+'... '+i+""):o}},{key:"descriptionEvents",value:function(e,t){var i=this,n=e.querySelector(".desc-more");if(!n)return!1;h("click",{onElement:n,withCallback:function(e,n){e.preventDefault();var s=document.body,l=g(n,".gslide-desc");if(!l)return!1;l.innerHTML=t.description,d(s,"gdesc-open");var o=h("click",{onElement:[s,g(l,".gslide-description")],withCallback:function(e,n){"a"!==e.target.nodeName.toLowerCase()&&(c(s,"gdesc-open"),d(s,"gdesc-closed"),l.innerHTML=t.smallDescription,i.descriptionEvents(l,t),setTimeout((function(){c(s,"gdesc-closed")}),400),o.destroy())}})}})}},{key:"create",value:function(){return y(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){E(this.element)||this.element.hasOwnProperty("draggable")||(this.element.draggable=this.instance.settings.draggable);var e=new j(this.instance.settings.slideExtraAttributes);return this.slideConfig=e.parseConfig(this.element,this.instance.settings),this.slideConfig}}]);function F(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function R(e,t){var i=function(e,t){var i=F(e)*F(t);if(0===i)return 0;var n=function(e,t){return e.x*t.x+e.y*t.y}(e,t)/i;return n>1&&(n=1),Math.acos(n)}(e,t);return function(e,t){return e.x*t.y-t.x*e.y}(e,t)>0&&(i*=-1),180*i/Math.PI}var G=i((function t(i){e(this,t),this.handlers=[],this.el=i}),[{key:"add",value:function(e){this.handlers.push(e)}},{key:"del",value:function(e){e||(this.handlers=[]);for(var t=this.handlers.length;t>=0;t--)this.handlers[t]===e&&this.handlers.splice(t,1)}},{key:"dispatch",value:function(){for(var e=0,t=this.handlers.length;e=0)console.log("ignore drag for this touched element",e.target.nodeName.toLowerCase());else{this.now=Date.now(),this.x1=e.touches[0].pageX,this.y1=e.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(e,this.element),null!==this.preTapPosition.x&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var t=this.preV;if(e.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var i={x:e.touches[1].pageX-this.x1,y:e.touches[1].pageY-this.y1};t.x=i.x,t.y=i.y,this.pinchStartLen=F(t),this.multipointStart.dispatch(e,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout(function(){this.longTap.dispatch(e,this.element),this._preventTap=!0}.bind(this),750)}}},{key:"move",value:function(e){if(e.touches){var t=this.preV,i=e.touches.length,n=e.touches[0].pageX,s=e.touches[0].pageY;if(this.isDoubleTap=!1,i>1){var l=e.touches[1].pageX,o=e.touches[1].pageY,r={x:e.touches[1].pageX-n,y:e.touches[1].pageY-s};null!==t.x&&(this.pinchStartLen>0&&(e.zoom=F(r)/this.pinchStartLen,this.pinch.dispatch(e,this.element)),e.angle=R(r,t),this.rotate.dispatch(e,this.element)),t.x=r.x,t.y=r.y,null!==this.x2&&null!==this.sx2?(e.deltaX=(n-this.x2+l-this.sx2)/2,e.deltaY=(s-this.y2+o-this.sy2)/2):(e.deltaX=0,e.deltaY=0),this.twoFingerPressMove.dispatch(e,this.element),this.sx2=l,this.sy2=o}else{if(null!==this.x2){e.deltaX=n-this.x2,e.deltaY=s-this.y2;var a=Math.abs(this.x1-this.x2),h=Math.abs(this.y1-this.y2);(a>10||h>10)&&(this._preventTap=!0)}else e.deltaX=0,e.deltaY=0;this.pressMove.dispatch(e,this.element)}this.touchMove.dispatch(e,this.element),this._cancelLongTap(),this.x2=n,this.y2=s,i>1&&e.preventDefault()}}},{key:"end",value:function(e){if(e.changedTouches){this._cancelLongTap();var t=this;e.touches.length<2&&(this.multipointEnd.dispatch(e,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(e.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout((function(){t.swipe.dispatch(e,t.element)}),0)):(this.tapTimeout=setTimeout((function(){t._preventTap||t.tap.dispatch(e,t.element),t.isDoubleTap&&(t.doubleTap.dispatch(e,t.element),t.isDoubleTap=!1)}),0),t.isDoubleTap||(t.singleTapTimeout=setTimeout((function(){t.singleTap.dispatch(e,t.element)}),250))),this.touchEnd.dispatch(e,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}}},{key:"cancelAll",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:"cancel",value:function(e){this.cancelAll(),this.touchCancel.dispatch(e,this.element)}},{key:"_cancelLongTap",value:function(){clearTimeout(this.longTapTimeout)}},{key:"_cancelSingleTap",value:function(){clearTimeout(this.singleTapTimeout)}},{key:"_swipeDirection",value:function(e,t,i,n){return Math.abs(e-t)>=Math.abs(i-n)?e-t>0?"Left":"Right":i-n>0?"Up":"Down"}},{key:"on",value:function(e,t){this[e]&&this[e].add(t)}},{key:"off",value:function(e,t){this[e]&&this[e].del(t)}},{key:"destroy",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}}]);function $(e){var t=function(){var e,t=document.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in i)if(void 0!==t.style[e])return i[e]}(),i=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,n=u(e,"gslide-media")?e:e.querySelector(".gslide-media"),s=g(n,".ginner-container"),l=e.querySelector(".gslide-description");i>769&&(n=s),d(n,"greset"),f(n,"translate3d(0, 0, 0)"),h(t,{onElement:n,once:!0,withCallback:function(e,t){c(n,"greset")}}),n.style.opacity="",l&&(l.style.opacity="")}function J(e){if(e.events.hasOwnProperty("touch"))return!1;var t,i,n,s=x(),l=s.width,o=s.height,r=!1,a=null,h=null,v=null,p=!1,m=1,y=1,b=!1,S=!1,w=null,T=null,C=null,k=null,E=0,A=0,L=!1,I=!1,O={},P={},M=0,z=0,X=document.getElementById("glightbox-slider"),Y=document.querySelector(".goverlay"),q=new U(X,{touchStart:function(t){if(r=!0,(u(t.targetTouches[0].target,"ginner-container")||g(t.targetTouches[0].target,".gslide-desc")||"a"==t.targetTouches[0].target.nodeName.toLowerCase())&&(r=!1),g(t.targetTouches[0].target,".gslide-inline")&&!u(t.targetTouches[0].target.parentNode,"gslide-inline")&&(r=!1),r){if(P=t.targetTouches[0],O.pageX=t.targetTouches[0].pageX,O.pageY=t.targetTouches[0].pageY,M=t.targetTouches[0].clientX,z=t.targetTouches[0].clientY,a=e.activeSlide,h=a.querySelector(".gslide-media"),n=a.querySelector(".gslide-inline"),v=null,u(h,"gslide-image")&&(v=h.querySelector("img")),(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>769&&(h=a.querySelector(".ginner-container")),c(Y,"greset"),t.pageX>20&&t.pageXo){var a=O.pageX-P.pageX;if(Math.abs(a)<=13)return!1}p=!0;var d,c=s.targetTouches[0].clientX,u=s.targetTouches[0].clientY,g=M-c,m=z-u;if(Math.abs(g)>Math.abs(m)?(L=!1,I=!0):(I=!1,L=!0),t=P.pageX-O.pageX,E=100*t/l,i=P.pageY-O.pageY,A=100*i/o,L&&v&&(d=1-Math.abs(i)/o,Y.style.opacity=d,e.settings.touchFollowAxis&&(E=0)),I&&(d=1-Math.abs(t)/l,h.style.opacity=d,e.settings.touchFollowAxis&&(A=0)),!v)return f(h,"translate3d(".concat(E,"%, 0, 0)"));f(h,"translate3d(".concat(E,"%, ").concat(A,"%, 0)"))}},touchEnd:function(){if(r){if(p=!1,S||b)return C=w,void(k=T);var t=Math.abs(parseInt(A)),i=Math.abs(parseInt(E));if(!(t>29&&v))return t<29&&i<25?(d(Y,"greset"),Y.style.opacity=1,$(h)):void 0;e.close()}},multipointEnd:function(){setTimeout((function(){b=!1}),50)},multipointStart:function(){b=!0,m=y||1},pinch:function(e){if(!v||p)return!1;b=!0,v.scaleX=v.scaleY=m*e.zoom;var t=m*e.zoom;if(S=!0,t<=1)return S=!1,t=1,k=null,C=null,w=null,T=null,void v.setAttribute("style","");t>4.5&&(t=4.5),v.style.transform="scale3d(".concat(t,", ").concat(t,", 1)"),y=t},pressMove:function(e){if(S&&!b){var t=P.pageX-O.pageX,i=P.pageY-O.pageY;C&&(t+=C),k&&(i+=k),w=t,T=i;var n="translate3d(".concat(t,"px, ").concat(i,"px, 0)");y&&(n+=" scale3d(".concat(y,", ").concat(y,", 1)")),f(v,n)}},swipe:function(t){if(!S)if(b)b=!1;else{if("Left"==t.direction){if(e.index==e.elements.length-1)return $(h);e.nextSlide()}if("Right"==t.direction){if(0==e.index)return $(h);e.prevSlide()}}}});e.events.touch=q}var K=T(),Q=null!==T()||void 0!==document.createTouch||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints,ee=document.getElementsByTagName("html")[0],te={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.12/plyr.css",js:"https://cdn.plyr.io/3.6.12/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'',next:' ',prev:''},slideHTML:'
\n
\n
\n
\n
\n
\n
\n

\n
\n
\n
\n
\n
\n
',lightboxHTML:''},ie=i((function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.customOptions=i,this.settings=o(te,i),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1}),[{key:"init",value:function(){var e=this,t=this.getSelector();t&&(this.baseEvents=h("click",{onElement:t,withCallback:function(t,i){t.preventDefault(),e.open(i)}})),this.elements=this.getElements()}},{key:"open",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(0===this.elements.length)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null;var i=z(t)?t:this.settings.startAt;if(E(e)){var n=e.getAttribute("data-gallery");n&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,n)),O(i)&&(i=this.getElementIndex(e))<0&&(i=0)}z(i)||(i=0),this.build(),v(this.overlay,"none"===this.settings.openEffect?"none":this.settings.cssEfects.fade.in);var s=document.body,l=window.innerWidth-document.documentElement.clientWidth;if(l>0){var o=document.createElement("style");o.type="text/css",o.className="gcss-styles",o.innerText=".gscrollbar-fixer {margin-right: ".concat(l,"px}"),document.head.appendChild(o),d(s,"gscrollbar-fixer")}d(s,"glightbox-open"),d(ee,"glightbox-open"),K&&(d(document.body,"glightbox-mobile"),this.settings.slideEffect="slide"),this.showSlide(i,!0),1===this.elements.length?(d(this.prevButton,"glightbox-button-hidden"),d(this.nextButton,"glightbox-button-hidden")):(c(this.prevButton,"glightbox-button-hidden"),c(this.nextButton,"glightbox-button-hidden")),this.lightboxOpen=!0,this.trigger("open"),C(this.settings.onOpen)&&this.settings.onOpen(),Q&&this.settings.touchNavigation&&J(this),this.settings.keyboardNavigation&&Y(this)}},{key:"openAt",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.open(null,e)}},{key:"showSlide",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];p(this.loader),this.index=parseInt(t);var n=this.slidesContainer.querySelector(".current");n&&c(n,"current"),this.slideAnimateOut();var s=this.slidesContainer.querySelectorAll(".gslide")[t];if(u(s,"loaded"))this.slideAnimateIn(s,i),m(this.loader);else{p(this.loader);var l=this.elements[t],o={index:this.index,slide:s,slideNode:s,slideConfig:l.slideConfig,slideIndex:this.index,trigger:l.node,player:null};this.trigger("slide_before_load",o),l.instance.setContent(s,(function(){m(e.loader),e.resize(),e.slideAnimateIn(s,i),e.trigger("slide_after_load",o)}))}this.slideDescription=s.querySelector(".gslide-description"),this.slideDescriptionContained=this.slideDescription&&u(this.slideDescription.parentNode,"gslide-media"),this.settings.preload&&(this.preloadSlide(t+1),this.preloadSlide(t-1)),this.updateNavigationClasses(),this.activeSlide=s}},{key:"preloadSlide",value:function(e){var t=this;if(e<0||e>this.elements.length-1)return!1;if(O(this.elements[e]))return!1;var i=this.slidesContainer.querySelectorAll(".gslide")[e];if(u(i,"loaded"))return!1;var n=this.elements[e],s=n.type,l={index:e,slide:i,slideNode:i,slideConfig:n.slideConfig,slideIndex:e,trigger:n.node,player:null};this.trigger("slide_before_load",l),"video"===s||"external"===s?setTimeout((function(){n.instance.setContent(i,(function(){t.trigger("slide_after_load",l)}))}),200):n.instance.setContent(i,(function(){t.trigger("slide_after_load",l)}))}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(e<0||e>this.elements.length-1))return!1;e<0?e=this.elements.length-1:e>=this.elements.length&&(e=0),this.showSlide(e)}},{key:"insertSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;t<0&&(t=this.elements.length);var i=new V(e,this,t),n=i.getConfig(),s=o({},n),l=i.create(),r=this.elements.length-1;s.index=t,s.node=!1,s.instance=i,s.slideConfig=n,this.elements.splice(t,0,s);var a=null,h=null;if(this.slidesContainer){if(t>r)this.slidesContainer.appendChild(l);else{var d=this.slidesContainer.querySelectorAll(".gslide")[t];this.slidesContainer.insertBefore(l,d)}(this.settings.preload&&0==this.index&&0==t||this.index-1==t||this.index+1==t)&&this.preloadSlide(t),0===this.index&&0===t&&(this.index=1),this.updateNavigationClasses(),a=this.slidesContainer.querySelectorAll(".gslide")[t],h=this.getSlidePlayerInstance(t),s.slideNode=a}this.trigger("slide_inserted",{index:t,slide:a,slideNode:a,slideConfig:n,slideIndex:t,trigger:null,player:h}),C(this.settings.slideInserted)&&this.settings.slideInserted({index:t,slide:a,player:h})}},{key:"removeSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(e<0||e>this.elements.length-1)return!1;var t=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[e];t&&(this.getActiveSlideIndex()==e&&(e==this.elements.length-1?this.prevSlide():this.nextSlide()),t.parentNode.removeChild(t)),this.elements.splice(e,1),this.trigger("slide_removed",e),C(this.settings.slideRemoved)&&this.settings.slideRemoved(e)}},{key:"slideAnimateIn",value:function(e,t){var i=this,n=e.querySelector(".gslide-media"),s=e.querySelector(".gslide-description"),l={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:O(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:O(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},o={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};if(n.offsetWidth>0&&s&&(m(s),s.style.display=""),c(e,this.effectsClasses),t)v(e,this.settings.cssEfects[this.settings.openEffect].in,(function(){i.settings.autoplayVideos&&i.slidePlayerPlay(e),i.trigger("slide_changed",{prev:l,current:o}),C(i.settings.afterSlideChange)&&i.settings.afterSlideChange.apply(i,[l,o])}));else{var r=this.settings.slideEffect,a="none"!==r?this.settings.cssEfects[r].in:r;this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(a=this.settings.cssEfects.slideBack.in),v(e,a,(function(){i.settings.autoplayVideos&&i.slidePlayerPlay(e),i.trigger("slide_changed",{prev:l,current:o}),C(i.settings.afterSlideChange)&&i.settings.afterSlideChange.apply(i,[l,o])}))}setTimeout((function(){i.resize(e)}),100),d(e,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var e=this.prevActiveSlide;c(e,this.effectsClasses),d(e,"prev");var t=this.settings.slideEffect,i="none"!==t?this.settings.cssEfects[t].out:t;this.slidePlayerPause(e),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:O(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:O(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),C(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(i=this.settings.cssEfects.slideBack.out),v(e,i,(function(){var t=e.querySelector(".ginner-container"),i=e.querySelector(".gslide-media"),n=e.querySelector(".gslide-description");t.style.transform="",i.style.transform="",c(i,"greset"),i.style.opacity="",n&&(n.style.opacity=""),c(e,"prev")}))}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(e){var t="gvideo"+e,i=this.getAllPlayers();return!(!P(i,t)||!i[t])&&i[t]}},{key:"stopSlideVideo",value:function(e){if(E(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}console.log("stopSlideVideo is deprecated, use slidePlayerPause");var i=this.getSlidePlayerInstance(e);i&&i.playing&&i.pause()}},{key:"slidePlayerPause",value:function(e){if(E(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}var i=this.getSlidePlayerInstance(e);i&&i.playing&&i.pause()}},{key:"playSlideVideo",value:function(e){if(E(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}console.log("playSlideVideo is deprecated, use slidePlayerPlay");var i=this.getSlidePlayerInstance(e);i&&!i.playing&&i.play()}},{key:"slidePlayerPlay",value:function(e){var t;if(!K||null!==(t=this.settings.plyr.config)&&void 0!==t&&t.muted){if(E(e)){var i=e.querySelector(".gvideo-wrapper");i&&(e=i.getAttribute("data-index"))}var n=this.getSlidePlayerInstance(e);n&&!n.playing&&(n.play(),this.settings.autofocusVideos&&n.elements.container.focus())}}},{key:"setElements",value:function(e){var t=this;this.settings.elements=!1;var i=[];e&&e.length&&r(e,(function(e,n){var s=new V(e,t,n),l=s.getConfig(),r=o({},l);r.slideConfig=l,r.instance=s,r.index=n,i.push(r)})),this.elements=i,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length&&(r(this.elements,(function(){var e=y(t.settings.slideHTML);t.slidesContainer.appendChild(e)})),this.showSlide(0,!0)))}},{key:"getElementIndex",value:function(e){var t=!1;return r(this.elements,(function(i,n){if(P(i,"node")&&i.node==e)return t=n,!0})),t}},{key:"getElements",value:function(){var e=this,t=[];this.elements=this.elements?this.elements:[],!O(this.settings.elements)&&A(this.settings.elements)&&this.settings.elements.length&&r(this.settings.elements,(function(i,n){var s=new V(i,e,n),l=s.getConfig(),r=o({},l);r.node=!1,r.index=n,r.instance=s,r.slideConfig=l,t.push(r)}));var i=!1;return this.getSelector()&&(i=document.querySelectorAll(this.getSelector())),i?(r(i,(function(i,n){var s=new V(i,e,n),l=s.getConfig(),r=o({},l);r.node=i,r.index=n,r.instance=s,r.slideConfig=l,r.gallery=i.getAttribute("data-gallery"),t.push(r)})),t):t}},{key:"getGalleryElements",value:function(e,t){return e.filter((function(e){return e.gallery==t}))}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&"data-"==this.settings.selector.substring(0,5)?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var e=[];for(var t in this.settings.cssEfects)if(this.settings.cssEfects.hasOwnProperty(t)){var i=this.settings.cssEfects[t];e.push("g".concat(i.in)),e.push("g".concat(i.out))}return e.join(" ")}},{key:"build",value:function(){var e=this;if(this.built)return!1;var t=document.body.childNodes,i=[];r(t,(function(e){e.parentNode==document.body&&"#"!==e.nodeName.charAt(0)&&e.hasAttribute&&!e.hasAttribute("aria-hidden")&&(i.push(e),e.setAttribute("aria-hidden","true"))}));var n=P(this.settings.svg,"next")?this.settings.svg.next:"",s=P(this.settings.svg,"prev")?this.settings.svg.prev:"",l=P(this.settings.svg,"close")?this.settings.svg.close:"",o=this.settings.lightboxHTML;o=y(o=(o=(o=o.replace(/{nextSVG}/g,n)).replace(/{prevSVG}/g,s)).replace(/{closeSVG}/g,l)),document.body.appendChild(o);var a=document.getElementById("glightbox-body");this.modal=a;var c=a.querySelector(".gclose");this.prevButton=a.querySelector(".gprev"),this.nextButton=a.querySelector(".gnext"),this.overlay=a.querySelector(".goverlay"),this.loader=a.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=i,this.events={},d(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&c&&(this.events.close=h("click",{onElement:c,withCallback:function(t,i){t.preventDefault(),e.close()}})),c&&!this.settings.closeButton&&c.parentNode.removeChild(c),this.nextButton&&(this.events.next=h("click",{onElement:this.nextButton,withCallback:function(t,i){t.preventDefault(),e.nextSlide()}})),this.prevButton&&(this.events.prev=h("click",{onElement:this.prevButton,withCallback:function(t,i){t.preventDefault(),e.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=h("click",{onElement:a,withCallback:function(t,i){e.preventOutsideClick||u(document.body,"glightbox-mobile")||g(t.target,".ginner-container")||g(t.target,".gbtn")||u(t.target,"gnext")||u(t.target,"gprev")||e.close()}})),r(this.elements,(function(t,i){e.slidesContainer.appendChild(t.instance.create()),t.slideNode=e.slidesContainer.querySelectorAll(".gslide")[i]})),Q&&d(document.body,"glightbox-touch"),this.events.resize=h("resize",{onElement:window,withCallback:function(){e.resize()}}),this.built=!0}},{key:"resize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if((e=e||this.activeSlide)&&!u(e,"zoomed")){var t=x(),i=e.querySelector(".gvideo-wrapper"),n=e.querySelector(".gslide-image"),s=this.slideDescription,l=t.width,o=t.height;if(l<=768?d(document.body,"glightbox-mobile"):c(document.body,"glightbox-mobile"),i||n){var r=!1;if(s&&(u(s,"description-bottom")||u(s,"description-top"))&&!u(s,"gabsolute")&&(r=!0),n)if(l<=768)n.querySelector("img");else if(r){var a,h,g=s.offsetHeight,v=n.querySelector("img"),f=null===(a=this.elements[this.index])||void 0===a?void 0:a.node,p="100vh";f&&(p=null!==(h=f.getAttribute("data-height"))&&void 0!==h?h:p),v.setAttribute("style","max-height: calc(".concat(p," - ").concat(g,"px)")),s.setAttribute("style","max-width: ".concat(v.offsetWidth,"px;"))}if(i){var m=P(this.settings.plyr.config,"ratio")?this.settings.plyr.config.ratio:"";if(!m){var y=i.clientWidth,b=i.clientHeight,S=y/b;m="".concat(y/S,":").concat(b/S)}var w=m.split(":"),T=this.settings.videosWidth,C=this.settings.videosWidth,k=(C=z(T)||-1!==T.indexOf("px")?parseInt(T):-1!==T.indexOf("vw")?l*parseInt(T)/100:-1!==T.indexOf("vh")?o*parseInt(T)/100:-1!==T.indexOf("%")?l*parseInt(T)/100:parseInt(i.clientWidth))/(parseInt(w[0])/parseInt(w[1]));if(k=Math.floor(k),r&&(o-=s.offsetHeight),C>l||k>o||oC){var E=i.offsetWidth,A=i.offsetHeight,L=o/A,I={width:E*L,height:A*L};i.parentNode.setAttribute("style","max-width: ".concat(I.width,"px")),r&&s.setAttribute("style","max-width: ".concat(I.width,"px;"))}else i.parentNode.style.maxWidth="".concat(T),r&&s.setAttribute("style","max-width: ".concat(T,";"))}}}}},{key:"reload",value:function(){this.init()}},{key:"updateNavigationClasses",value:function(){var e=this.loop();c(this.nextButton,"disabled"),c(this.prevButton,"disabled"),0==this.index&&this.elements.length-1==0?(d(this.prevButton,"disabled"),d(this.nextButton,"disabled")):0!==this.index||e?this.index!==this.elements.length-1||e||d(this.nextButton,"disabled"):d(this.prevButton,"disabled")}},{key:"loop",value:function(){var e=P(this.settings,"loopAtEnd")?this.settings.loopAtEnd:null;return e=P(this.settings,"loop")?this.settings.loop:e,e}},{key:"close",value:function(){var e=this;if(!this.lightboxOpen){if(this.events){for(var t in this.events)this.events.hasOwnProperty(t)&&this.events[t].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&r(this.bodyHiddenChildElms,(function(e){e.removeAttribute("aria-hidden")})),d(this.modal,"glightbox-closing"),v(this.overlay,"none"==this.settings.openEffect?"none":this.settings.cssEfects.fade.out),v(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,(function(){if(e.activeSlide=null,e.prevActiveSlideIndex=null,e.prevActiveSlide=null,e.built=!1,e.events){for(var t in e.events)e.events.hasOwnProperty(t)&&e.events[t].destroy();e.events=null}var i=document.body;c(ee,"glightbox-open"),c(i,"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"),e.modal.parentNode.removeChild(e.modal),e.trigger("close"),C(e.settings.onClose)&&e.settings.onClose();var n=document.querySelector(".gcss-styles");n&&n.parentNode.removeChild(n),e.lightboxOpen=!1,e.closing=null}))}},{key:"destroy",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:"on",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||!C(t))throw new TypeError("Event name and callback must be defined");this.apiEvents.push({evt:e,once:i,callback:t})}},{key:"once",value:function(e,t){this.on(e,t,!0)}},{key:"trigger",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=[];r(this.apiEvents,(function(t,s){var l=t.evt,o=t.once,r=t.callback;l==e&&(r(i),o&&n.push(s))})),n.length&&r(n,(function(e){return t.apiEvents.splice(e,1)}))}},{key:"clearAllEvents",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:"version",value:function(){return"3.3.1"}}]);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new ie(e);return t.init(),t}})); \ No newline at end of file diff --git a/assets/js/lato-font/css/lato-font.css b/assets/js/lato-font/css/lato-font.css new file mode 100644 index 0000000..240ad3f --- /dev/null +++ b/assets/js/lato-font/css/lato-font.css @@ -0,0 +1,147 @@ +/*! + Lato font. +*/ +/* Lato (hairline, regular) */ +@font-face { + font-family: Lato; + font-weight: 100; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-hairline/lato-hairline.woff2") format("woff2"), url("../fonts/lato-hairline/lato-hairline.woff") format("woff"); +} +/* Lato (hairline, italic) */ +@font-face { + font-family: Lato; + font-weight: 100; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-hairline-italic/lato-hairline-italic.woff2") format("woff2"), url("../fonts/lato-hairline-italic/lato-hairline-italic.woff") format("woff"); +} +/* Lato (thin, regular) */ +@font-face { + font-family: Lato; + font-weight: 200; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-thin/lato-thin.woff2") format("woff2"), url("../fonts/lato-thin/lato-thin.woff") format("woff"); +} +/* Lato (thin, italic) */ +@font-face { + font-family: Lato; + font-weight: 200; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-thin-italic/lato-thin-italic.woff2") format("woff2"), url("../fonts/lato-thin-italic/lato-thin-italic.woff") format("woff"); +} +/* Lato (light, regular) */ +@font-face { + font-family: Lato; + font-weight: 300; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-light/lato-light.woff2") format("woff2"), url("../fonts/lato-light/lato-light.woff") format("woff"); +} +/* Lato (light, italic) */ +@font-face { + font-family: Lato; + font-weight: 300; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-light-italic/lato-light-italic.woff2") format("woff2"), url("../fonts/lato-light-italic/lato-light-italic.woff") format("woff"); +} +/* Lato (normal, regular) */ +@font-face { + font-family: Lato; + font-weight: 400; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-normal/lato-normal.woff2") format("woff2"), url("../fonts/lato-normal/lato-normal.woff") format("woff"); +} +/* Lato (normal, italic) */ +@font-face { + font-family: Lato; + font-weight: 400; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-normal-italic/lato-normal-italic.woff2") format("woff2"), url("../fonts/lato-normal-italic/lato-normal-italic.woff") format("woff"); +} +/* Lato (medium, regular) */ +@font-face { + font-family: "Lato Medium"; + font-weight: 400; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-medium/lato-medium.woff2") format("woff2"), url("../fonts/lato-medium/lato-medium.woff") format("woff"); +} +/* Lato (medium, italic) */ +@font-face { + font-family: "Lato Medium"; + font-weight: 400; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-medium-italic/lato-medium-italic.woff2") format("woff2"), url("../fonts/lato-medium-italic/lato-medium-italic.woff") format("woff"); +} +/* Lato (semibold, regular) */ +@font-face { + font-family: Lato; + font-weight: 500; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-semibold/lato-semibold.woff2") format("woff2"), url("../fonts/lato-semibold/lato-semibold.woff") format("woff"); +} +/* Lato (semibold, italic) */ +@font-face { + font-family: Lato; + font-weight: 500; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-semibold-italic/lato-semibold-italic.woff2") format("woff2"), url("../fonts/lato-semibold-italic/lato-semibold-italic.woff") format("woff"); +} +/* Lato (bold, regular) */ +@font-face { + font-family: Lato; + font-weight: 600; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-bold/lato-bold.woff2") format("woff2"), url("../fonts/lato-bold/lato-bold.woff") format("woff"); +} +/* Lato (bold, italic) */ +@font-face { + font-family: Lato; + font-weight: 600; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-bold-italic/lato-bold-italic.woff2") format("woff2"), url("../fonts/lato-bold-italic/lato-bold-italic.woff") format("woff"); +} +/* Lato (heavy, regular) */ +@font-face { + font-family: Lato; + font-weight: 800; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-heavy/lato-heavy.woff2") format("woff2"), url("../fonts/lato-heavy/lato-heavy.woff") format("woff"); +} +/* Lato (heavy, italic) */ +@font-face { + font-family: Lato; + font-weight: 800; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-heavy-italic/lato-heavy-italic.woff2") format("woff2"), url("../fonts/lato-heavy-italic/lato-heavy-italic.woff") format("woff"); +} +/* Lato (black, regular) */ +@font-face { + font-family: Lato; + font-weight: 900; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-black/lato-black.woff2") format("woff2"), url("../fonts/lato-black/lato-black.woff") format("woff"); +} +/* Lato (black, italic) */ +@font-face { + font-family: Lato; + font-weight: 900; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-black-italic/lato-black-italic.woff2") format("woff2"), url("../fonts/lato-black-italic/lato-black-italic.woff") format("woff"); +} diff --git a/assets/js/lato-font/css/lato-font.min.css b/assets/js/lato-font/css/lato-font.min.css new file mode 100644 index 0000000..7ab95a9 --- /dev/null +++ b/assets/js/lato-font/css/lato-font.min.css @@ -0,0 +1,3 @@ +/*! + Lato font. +*/@font-face{font-family:Lato;font-weight:100;font-style:normal;text-rendering:optimizeLegibility;src:url(../fonts/lato-hairline/lato-hairline.woff2) format("woff2"),url(../fonts/lato-hairline/lato-hairline.woff) format("woff")}@font-face{font-family:Lato;font-weight:100;font-style:italic;text-rendering:optimizeLegibility;src:url(../fonts/lato-hairline-italic/lato-hairline-italic.woff2) format("woff2"),url(../fonts/lato-hairline-italic/lato-hairline-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:200;font-style:normal;text-rendering:optimizeLegibility;src:url(../fonts/lato-thin/lato-thin.woff2) format("woff2"),url(../fonts/lato-thin/lato-thin.woff) format("woff")}@font-face{font-family:Lato;font-weight:200;font-style:italic;text-rendering:optimizeLegibility;src:url(../fonts/lato-thin-italic/lato-thin-italic.woff2) format("woff2"),url(../fonts/lato-thin-italic/lato-thin-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:300;font-style:normal;text-rendering:optimizeLegibility;src:url(../fonts/lato-light/lato-light.woff2) format("woff2"),url(../fonts/lato-light/lato-light.woff) format("woff")}@font-face{font-family:Lato;font-weight:300;font-style:italic;text-rendering:optimizeLegibility;src:url(../fonts/lato-light-italic/lato-light-italic.woff2) format("woff2"),url(../fonts/lato-light-italic/lato-light-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:400;font-style:normal;text-rendering:optimizeLegibility;src:url(../fonts/lato-normal/lato-normal.woff2) format("woff2"),url(../fonts/lato-normal/lato-normal.woff) format("woff")}@font-face{font-family:Lato;font-weight:400;font-style:italic;text-rendering:optimizeLegibility;src:url(../fonts/lato-normal-italic/lato-normal-italic.woff2) format("woff2"),url(../fonts/lato-normal-italic/lato-normal-italic.woff) format("woff")}@font-face{font-family:"Lato Medium";font-weight:400;font-style:normal;text-rendering:optimizeLegibility;src:url(../fonts/lato-medium/lato-medium.woff2) format("woff2"),url(../fonts/lato-medium/lato-medium.woff) format("woff")}@font-face{font-family:"Lato Medium";font-weight:400;font-style:italic;text-rendering:optimizeLegibility;src:url(../fonts/lato-medium-italic/lato-medium-italic.woff2) format("woff2"),url(../fonts/lato-medium-italic/lato-medium-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:500;font-style:normal;text-rendering:optimizeLegibility;src:url(../fonts/lato-semibold/lato-semibold.woff2) format("woff2"),url(../fonts/lato-semibold/lato-semibold.woff) format("woff")}@font-face{font-family:Lato;font-weight:500;font-style:italic;text-rendering:optimizeLegibility;src:url(../fonts/lato-semibold-italic/lato-semibold-italic.woff2) format("woff2"),url(../fonts/lato-semibold-italic/lato-semibold-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:600;font-style:normal;text-rendering:optimizeLegibility;src:url(../fonts/lato-bold/lato-bold.woff2) format("woff2"),url(../fonts/lato-bold/lato-bold.woff) format("woff")}@font-face{font-family:Lato;font-weight:600;font-style:italic;text-rendering:optimizeLegibility;src:url(../fonts/lato-bold-italic/lato-bold-italic.woff2) format("woff2"),url(../fonts/lato-bold-italic/lato-bold-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:800;font-style:normal;text-rendering:optimizeLegibility;src:url(../fonts/lato-heavy/lato-heavy.woff2) format("woff2"),url(../fonts/lato-heavy/lato-heavy.woff) format("woff")}@font-face{font-family:Lato;font-weight:800;font-style:italic;text-rendering:optimizeLegibility;src:url(../fonts/lato-heavy-italic/lato-heavy-italic.woff2) format("woff2"),url(../fonts/lato-heavy-italic/lato-heavy-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:900;font-style:normal;text-rendering:optimizeLegibility;src:url(../fonts/lato-black/lato-black.woff2) format("woff2"),url(../fonts/lato-black/lato-black.woff) format("woff")}@font-face{font-family:Lato;font-weight:900;font-style:italic;text-rendering:optimizeLegibility;src:url(../fonts/lato-black-italic/lato-black-italic.woff2) format("woff2"),url(../fonts/lato-black-italic/lato-black-italic.woff) format("woff")} \ No newline at end of file diff --git a/assets/js/lato-font/lato-font.css b/assets/js/lato-font/lato-font.css new file mode 100644 index 0000000..240ad3f --- /dev/null +++ b/assets/js/lato-font/lato-font.css @@ -0,0 +1,147 @@ +/*! + Lato font. +*/ +/* Lato (hairline, regular) */ +@font-face { + font-family: Lato; + font-weight: 100; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-hairline/lato-hairline.woff2") format("woff2"), url("../fonts/lato-hairline/lato-hairline.woff") format("woff"); +} +/* Lato (hairline, italic) */ +@font-face { + font-family: Lato; + font-weight: 100; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-hairline-italic/lato-hairline-italic.woff2") format("woff2"), url("../fonts/lato-hairline-italic/lato-hairline-italic.woff") format("woff"); +} +/* Lato (thin, regular) */ +@font-face { + font-family: Lato; + font-weight: 200; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-thin/lato-thin.woff2") format("woff2"), url("../fonts/lato-thin/lato-thin.woff") format("woff"); +} +/* Lato (thin, italic) */ +@font-face { + font-family: Lato; + font-weight: 200; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-thin-italic/lato-thin-italic.woff2") format("woff2"), url("../fonts/lato-thin-italic/lato-thin-italic.woff") format("woff"); +} +/* Lato (light, regular) */ +@font-face { + font-family: Lato; + font-weight: 300; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-light/lato-light.woff2") format("woff2"), url("../fonts/lato-light/lato-light.woff") format("woff"); +} +/* Lato (light, italic) */ +@font-face { + font-family: Lato; + font-weight: 300; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-light-italic/lato-light-italic.woff2") format("woff2"), url("../fonts/lato-light-italic/lato-light-italic.woff") format("woff"); +} +/* Lato (normal, regular) */ +@font-face { + font-family: Lato; + font-weight: 400; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-normal/lato-normal.woff2") format("woff2"), url("../fonts/lato-normal/lato-normal.woff") format("woff"); +} +/* Lato (normal, italic) */ +@font-face { + font-family: Lato; + font-weight: 400; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-normal-italic/lato-normal-italic.woff2") format("woff2"), url("../fonts/lato-normal-italic/lato-normal-italic.woff") format("woff"); +} +/* Lato (medium, regular) */ +@font-face { + font-family: "Lato Medium"; + font-weight: 400; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-medium/lato-medium.woff2") format("woff2"), url("../fonts/lato-medium/lato-medium.woff") format("woff"); +} +/* Lato (medium, italic) */ +@font-face { + font-family: "Lato Medium"; + font-weight: 400; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-medium-italic/lato-medium-italic.woff2") format("woff2"), url("../fonts/lato-medium-italic/lato-medium-italic.woff") format("woff"); +} +/* Lato (semibold, regular) */ +@font-face { + font-family: Lato; + font-weight: 500; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-semibold/lato-semibold.woff2") format("woff2"), url("../fonts/lato-semibold/lato-semibold.woff") format("woff"); +} +/* Lato (semibold, italic) */ +@font-face { + font-family: Lato; + font-weight: 500; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-semibold-italic/lato-semibold-italic.woff2") format("woff2"), url("../fonts/lato-semibold-italic/lato-semibold-italic.woff") format("woff"); +} +/* Lato (bold, regular) */ +@font-face { + font-family: Lato; + font-weight: 600; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-bold/lato-bold.woff2") format("woff2"), url("../fonts/lato-bold/lato-bold.woff") format("woff"); +} +/* Lato (bold, italic) */ +@font-face { + font-family: Lato; + font-weight: 600; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-bold-italic/lato-bold-italic.woff2") format("woff2"), url("../fonts/lato-bold-italic/lato-bold-italic.woff") format("woff"); +} +/* Lato (heavy, regular) */ +@font-face { + font-family: Lato; + font-weight: 800; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-heavy/lato-heavy.woff2") format("woff2"), url("../fonts/lato-heavy/lato-heavy.woff") format("woff"); +} +/* Lato (heavy, italic) */ +@font-face { + font-family: Lato; + font-weight: 800; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-heavy-italic/lato-heavy-italic.woff2") format("woff2"), url("../fonts/lato-heavy-italic/lato-heavy-italic.woff") format("woff"); +} +/* Lato (black, regular) */ +@font-face { + font-family: Lato; + font-weight: 900; + font-style: normal; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-black/lato-black.woff2") format("woff2"), url("../fonts/lato-black/lato-black.woff") format("woff"); +} +/* Lato (black, italic) */ +@font-face { + font-family: Lato; + font-weight: 900; + font-style: italic; + text-rendering: optimizeLegibility; + src: url("../fonts/lato-black-italic/lato-black-italic.woff2") format("woff2"), url("../fonts/lato-black-italic/lato-black-italic.woff") format("woff"); +} diff --git a/assets/js/lazysizes/lazysizes.js b/assets/js/lazysizes/lazysizes.js new file mode 100644 index 0000000..23a3f75 --- /dev/null +++ b/assets/js/lazysizes/lazysizes.js @@ -0,0 +1,814 @@ +(function(window, factory) { + var lazySizes = factory(window, window.document, Date); + window.lazySizes = lazySizes; + if(typeof module == 'object' && module.exports){ + module.exports = lazySizes; + } +}(typeof window != 'undefined' ? + window : {}, +/** + * import("./types/global") + * @typedef { import("./types/lazysizes-config").LazySizesConfigPartial } LazySizesConfigPartial + */ +function l(window, document, Date) { // Pass in the window Date function also for SSR because the Date class can be lost + 'use strict'; + /*jshint eqnull:true */ + + var lazysizes, + /** + * @type { LazySizesConfigPartial } + */ + lazySizesCfg; + + (function(){ + var prop; + + var lazySizesDefaults = { + lazyClass: 'lazyload', + loadedClass: 'lazyloaded', + loadingClass: 'lazyloading', + preloadClass: 'lazypreload', + errorClass: 'lazyerror', + //strictClass: 'lazystrict', + autosizesClass: 'lazyautosizes', + fastLoadedClass: 'ls-is-cached', + iframeLoadMode: 0, + srcAttr: 'data-src', + srcsetAttr: 'data-srcset', + sizesAttr: 'data-sizes', + //preloadAfterLoad: false, + minSize: 40, + customMedia: {}, + init: true, + expFactor: 1.5, + hFac: 0.8, + loadMode: 2, + loadHidden: true, + ricTimeout: 0, + throttleDelay: 125, + }; + + lazySizesCfg = window.lazySizesConfig || window.lazysizesConfig || {}; + + for(prop in lazySizesDefaults){ + if(!(prop in lazySizesCfg)){ + lazySizesCfg[prop] = lazySizesDefaults[prop]; + } + } + })(); + + if (!document || !document.getElementsByClassName) { + return { + init: function () {}, + /** + * @type { LazySizesConfigPartial } + */ + cfg: lazySizesCfg, + /** + * @type { true } + */ + noSupport: true, + }; + } + + var docElem = document.documentElement; + + var supportPicture = window.HTMLPictureElement; + + var _addEventListener = 'addEventListener'; + + var _getAttribute = 'getAttribute'; + + /** + * Update to bind to window because 'this' becomes null during SSR + * builds. + */ + var addEventListener = window[_addEventListener].bind(window); + + var setTimeout = window.setTimeout; + + var requestAnimationFrame = window.requestAnimationFrame || setTimeout; + + var requestIdleCallback = window.requestIdleCallback; + + var regPicture = /^picture$/i; + + var loadEvents = ['load', 'error', 'lazyincluded', '_lazyloaded']; + + var regClassCache = {}; + + var forEach = Array.prototype.forEach; + + /** + * @param ele {Element} + * @param cls {string} + */ + var hasClass = function(ele, cls) { + if(!regClassCache[cls]){ + regClassCache[cls] = new RegExp('(\\s|^)'+cls+'(\\s|$)'); + } + return regClassCache[cls].test(ele[_getAttribute]('class') || '') && regClassCache[cls]; + }; + + /** + * @param ele {Element} + * @param cls {string} + */ + var addClass = function(ele, cls) { + if (!hasClass(ele, cls)){ + ele.setAttribute('class', (ele[_getAttribute]('class') || '').trim() + ' ' + cls); + } + }; + + /** + * @param ele {Element} + * @param cls {string} + */ + var removeClass = function(ele, cls) { + var reg; + if ((reg = hasClass(ele,cls))) { + ele.setAttribute('class', (ele[_getAttribute]('class') || '').replace(reg, ' ')); + } + }; + + var addRemoveLoadEvents = function(dom, fn, add){ + var action = add ? _addEventListener : 'removeEventListener'; + if(add){ + addRemoveLoadEvents(dom, fn); + } + loadEvents.forEach(function(evt){ + dom[action](evt, fn); + }); + }; + + /** + * @param elem { Element } + * @param name { string } + * @param detail { any } + * @param noBubbles { boolean } + * @param noCancelable { boolean } + * @returns { CustomEvent } + */ + var triggerEvent = function(elem, name, detail, noBubbles, noCancelable){ + var event = document.createEvent('Event'); + + if(!detail){ + detail = {}; + } + + detail.instance = lazysizes; + + event.initEvent(name, !noBubbles, !noCancelable); + + event.detail = detail; + + elem.dispatchEvent(event); + return event; + }; + + var updatePolyfill = function (el, full){ + var polyfill; + if( !supportPicture && ( polyfill = (window.picturefill || lazySizesCfg.pf) ) ){ + if(full && full.src && !el[_getAttribute]('srcset')){ + el.setAttribute('srcset', full.src); + } + polyfill({reevaluate: true, elements: [el]}); + } else if(full && full.src){ + el.src = full.src; + } + }; + + var getCSS = function (elem, style){ + return (getComputedStyle(elem, null) || {})[style]; + }; + + /** + * + * @param elem { Element } + * @param parent { Element } + * @param [width] {number} + * @returns {number} + */ + var getWidth = function(elem, parent, width){ + width = width || elem.offsetWidth; + + while(width < lazySizesCfg.minSize && parent && !elem._lazysizesWidth){ + width = parent.offsetWidth; + parent = parent.parentNode; + } + + return width; + }; + + var rAF = (function(){ + var running, waiting; + var firstFns = []; + var secondFns = []; + var fns = firstFns; + + var run = function(){ + var runFns = fns; + + fns = firstFns.length ? secondFns : firstFns; + + running = true; + waiting = false; + + while(runFns.length){ + runFns.shift()(); + } + + running = false; + }; + + var rafBatch = function(fn, queue){ + if(running && !queue){ + fn.apply(this, arguments); + } else { + fns.push(fn); + + if(!waiting){ + waiting = true; + (document.hidden ? setTimeout : requestAnimationFrame)(run); + } + } + }; + + rafBatch._lsFlush = run; + + return rafBatch; + })(); + + var rAFIt = function(fn, simple){ + return simple ? + function() { + rAF(fn); + } : + function(){ + var that = this; + var args = arguments; + rAF(function(){ + fn.apply(that, args); + }); + } + ; + }; + + var throttle = function(fn){ + var running; + var lastTime = 0; + var gDelay = lazySizesCfg.throttleDelay; + var rICTimeout = lazySizesCfg.ricTimeout; + var run = function(){ + running = false; + lastTime = Date.now(); + fn(); + }; + var idleCallback = requestIdleCallback && rICTimeout > 49 ? + function(){ + requestIdleCallback(run, {timeout: rICTimeout}); + + if(rICTimeout !== lazySizesCfg.ricTimeout){ + rICTimeout = lazySizesCfg.ricTimeout; + } + } : + rAFIt(function(){ + setTimeout(run); + }, true) + ; + + return function(isPriority){ + var delay; + + if((isPriority = isPriority === true)){ + rICTimeout = 33; + } + + if(running){ + return; + } + + running = true; + + delay = gDelay - (Date.now() - lastTime); + + if(delay < 0){ + delay = 0; + } + + if(isPriority || delay < 9){ + idleCallback(); + } else { + setTimeout(idleCallback, delay); + } + }; + }; + + //based on http://modernjavascript.blogspot.de/2013/08/building-better-debounce.html + var debounce = function(func) { + var timeout, timestamp; + var wait = 99; + var run = function(){ + timeout = null; + func(); + }; + var later = function() { + var last = Date.now() - timestamp; + + if (last < wait) { + setTimeout(later, wait - last); + } else { + (requestIdleCallback || run)(run); + } + }; + + return function() { + timestamp = Date.now(); + + if (!timeout) { + timeout = setTimeout(later, wait); + } + }; + }; + + var loader = (function(){ + var preloadElems, isCompleted, resetPreloadingTimer, loadMode, started; + + var eLvW, elvH, eLtop, eLleft, eLright, eLbottom, isBodyHidden; + + var regImg = /^img$/i; + var regIframe = /^iframe$/i; + + var supportScroll = ('onscroll' in window) && !(/(gle|ing)bot/.test(navigator.userAgent)); + + var shrinkExpand = 0; + var currentExpand = 0; + + var isLoading = 0; + var lowRuns = -1; + + var resetPreloading = function(e){ + isLoading--; + if(!e || isLoading < 0 || !e.target){ + isLoading = 0; + } + }; + + var isVisible = function (elem) { + if (isBodyHidden == null) { + isBodyHidden = getCSS(document.body, 'visibility') == 'hidden'; + } + + return isBodyHidden || !(getCSS(elem.parentNode, 'visibility') == 'hidden' && getCSS(elem, 'visibility') == 'hidden'); + }; + + var isNestedVisible = function(elem, elemExpand){ + var outerRect; + var parent = elem; + var visible = isVisible(elem); + + eLtop -= elemExpand; + eLbottom += elemExpand; + eLleft -= elemExpand; + eLright += elemExpand; + + while(visible && (parent = parent.offsetParent) && parent != document.body && parent != docElem){ + visible = ((getCSS(parent, 'opacity') || 1) > 0); + + if(visible && getCSS(parent, 'overflow') != 'visible'){ + outerRect = parent.getBoundingClientRect(); + visible = eLright > outerRect.left && + eLleft < outerRect.right && + eLbottom > outerRect.top - 1 && + eLtop < outerRect.bottom + 1 + ; + } + } + + return visible; + }; + + var checkElements = function() { + var eLlen, i, rect, autoLoadElem, loadedSomething, elemExpand, elemNegativeExpand, elemExpandVal, + beforeExpandVal, defaultExpand, preloadExpand, hFac; + var lazyloadElems = lazysizes.elements; + + if((loadMode = lazySizesCfg.loadMode) && isLoading < 8 && (eLlen = lazyloadElems.length)){ + + i = 0; + + lowRuns++; + + for(; i < eLlen; i++){ + + if(!lazyloadElems[i] || lazyloadElems[i]._lazyRace){continue;} + + if(!supportScroll || (lazysizes.prematureUnveil && lazysizes.prematureUnveil(lazyloadElems[i]))){unveilElement(lazyloadElems[i]);continue;} + + if(!(elemExpandVal = lazyloadElems[i][_getAttribute]('data-expand')) || !(elemExpand = elemExpandVal * 1)){ + elemExpand = currentExpand; + } + + if (!defaultExpand) { + defaultExpand = (!lazySizesCfg.expand || lazySizesCfg.expand < 1) ? + docElem.clientHeight > 500 && docElem.clientWidth > 500 ? 500 : 370 : + lazySizesCfg.expand; + + lazysizes._defEx = defaultExpand; + + preloadExpand = defaultExpand * lazySizesCfg.expFactor; + hFac = lazySizesCfg.hFac; + isBodyHidden = null; + + if(currentExpand < preloadExpand && isLoading < 1 && lowRuns > 2 && loadMode > 2 && !document.hidden){ + currentExpand = preloadExpand; + lowRuns = 0; + } else if(loadMode > 1 && lowRuns > 1 && isLoading < 6){ + currentExpand = defaultExpand; + } else { + currentExpand = shrinkExpand; + } + } + + if(beforeExpandVal !== elemExpand){ + eLvW = innerWidth + (elemExpand * hFac); + elvH = innerHeight + elemExpand; + elemNegativeExpand = elemExpand * -1; + beforeExpandVal = elemExpand; + } + + rect = lazyloadElems[i].getBoundingClientRect(); + + if ((eLbottom = rect.bottom) >= elemNegativeExpand && + (eLtop = rect.top) <= elvH && + (eLright = rect.right) >= elemNegativeExpand * hFac && + (eLleft = rect.left) <= eLvW && + (eLbottom || eLright || eLleft || eLtop) && + (lazySizesCfg.loadHidden || isVisible(lazyloadElems[i])) && + ((isCompleted && isLoading < 3 && !elemExpandVal && (loadMode < 3 || lowRuns < 4)) || isNestedVisible(lazyloadElems[i], elemExpand))){ + unveilElement(lazyloadElems[i]); + loadedSomething = true; + if(isLoading > 9){break;} + } else if(!loadedSomething && isCompleted && !autoLoadElem && + isLoading < 4 && lowRuns < 4 && loadMode > 2 && + (preloadElems[0] || lazySizesCfg.preloadAfterLoad) && + (preloadElems[0] || (!elemExpandVal && ((eLbottom || eLright || eLleft || eLtop) || lazyloadElems[i][_getAttribute](lazySizesCfg.sizesAttr) != 'auto')))){ + autoLoadElem = preloadElems[0] || lazyloadElems[i]; + } + } + + if(autoLoadElem && !loadedSomething){ + unveilElement(autoLoadElem); + } + } + }; + + var throttledCheckElements = throttle(checkElements); + + var switchLoadingClass = function(e){ + var elem = e.target; + + if (elem._lazyCache) { + delete elem._lazyCache; + return; + } + + resetPreloading(e); + addClass(elem, lazySizesCfg.loadedClass); + removeClass(elem, lazySizesCfg.loadingClass); + addRemoveLoadEvents(elem, rafSwitchLoadingClass); + triggerEvent(elem, 'lazyloaded'); + }; + var rafedSwitchLoadingClass = rAFIt(switchLoadingClass); + var rafSwitchLoadingClass = function(e){ + rafedSwitchLoadingClass({target: e.target}); + }; + + var changeIframeSrc = function(elem, src){ + var loadMode = elem.getAttribute('data-load-mode') || lazySizesCfg.iframeLoadMode; + + // loadMode can be also a string! + if (loadMode == 0) { + elem.contentWindow.location.replace(src); + } else if (loadMode == 1) { + elem.src = src; + } + }; + + var handleSources = function(source){ + var customMedia; + + var sourceSrcset = source[_getAttribute](lazySizesCfg.srcsetAttr); + + if( (customMedia = lazySizesCfg.customMedia[source[_getAttribute]('data-media') || source[_getAttribute]('media')]) ){ + source.setAttribute('media', customMedia); + } + + if(sourceSrcset){ + source.setAttribute('srcset', sourceSrcset); + } + }; + + var lazyUnveil = rAFIt(function (elem, detail, isAuto, sizes, isImg){ + var src, srcset, parent, isPicture, event, firesLoad; + + if(!(event = triggerEvent(elem, 'lazybeforeunveil', detail)).defaultPrevented){ + + if(sizes){ + if(isAuto){ + addClass(elem, lazySizesCfg.autosizesClass); + } else { + elem.setAttribute('sizes', sizes); + } + } + + srcset = elem[_getAttribute](lazySizesCfg.srcsetAttr); + src = elem[_getAttribute](lazySizesCfg.srcAttr); + + if(isImg) { + parent = elem.parentNode; + isPicture = parent && regPicture.test(parent.nodeName || ''); + } + + firesLoad = detail.firesLoad || (('src' in elem) && (srcset || src || isPicture)); + + event = {target: elem}; + + addClass(elem, lazySizesCfg.loadingClass); + + if(firesLoad){ + clearTimeout(resetPreloadingTimer); + resetPreloadingTimer = setTimeout(resetPreloading, 2500); + addRemoveLoadEvents(elem, rafSwitchLoadingClass, true); + } + + if(isPicture){ + forEach.call(parent.getElementsByTagName('source'), handleSources); + } + + if(srcset){ + elem.setAttribute('srcset', srcset); + } else if(src && !isPicture){ + if(regIframe.test(elem.nodeName)){ + changeIframeSrc(elem, src); + } else { + elem.src = src; + } + } + + if(isImg && (srcset || isPicture)){ + updatePolyfill(elem, {src: src}); + } + } + + if(elem._lazyRace){ + delete elem._lazyRace; + } + removeClass(elem, lazySizesCfg.lazyClass); + + rAF(function(){ + // Part of this can be removed as soon as this fix is older: https://bugs.chromium.org/p/chromium/issues/detail?id=7731 (2015) + var isLoaded = elem.complete && elem.naturalWidth > 1; + + if( !firesLoad || isLoaded){ + if (isLoaded) { + addClass(elem, lazySizesCfg.fastLoadedClass); + } + switchLoadingClass(event); + elem._lazyCache = true; + setTimeout(function(){ + if ('_lazyCache' in elem) { + delete elem._lazyCache; + } + }, 9); + } + if (elem.loading == 'lazy') { + isLoading--; + } + }, true); + }); + + /** + * + * @param elem { Element } + */ + var unveilElement = function (elem){ + if (elem._lazyRace) {return;} + var detail; + + var isImg = regImg.test(elem.nodeName); + + //allow using sizes="auto", but don't use. it's invalid. Use data-sizes="auto" or a valid value for sizes instead (i.e.: sizes="80vw") + var sizes = isImg && (elem[_getAttribute](lazySizesCfg.sizesAttr) || elem[_getAttribute]('sizes')); + var isAuto = sizes == 'auto'; + + if( (isAuto || !isCompleted) && isImg && (elem[_getAttribute]('src') || elem.srcset) && !elem.complete && !hasClass(elem, lazySizesCfg.errorClass) && hasClass(elem, lazySizesCfg.lazyClass)){return;} + + detail = triggerEvent(elem, 'lazyunveilread').detail; + + if(isAuto){ + autoSizer.updateElem(elem, true, elem.offsetWidth); + } + + elem._lazyRace = true; + isLoading++; + + lazyUnveil(elem, detail, isAuto, sizes, isImg); + }; + + var afterScroll = debounce(function(){ + lazySizesCfg.loadMode = 3; + throttledCheckElements(); + }); + + var altLoadmodeScrollListner = function(){ + if(lazySizesCfg.loadMode == 3){ + lazySizesCfg.loadMode = 2; + } + afterScroll(); + }; + + var onload = function(){ + if(isCompleted){return;} + if(Date.now() - started < 999){ + setTimeout(onload, 999); + return; + } + + + isCompleted = true; + + lazySizesCfg.loadMode = 3; + + throttledCheckElements(); + + addEventListener('scroll', altLoadmodeScrollListner, true); + }; + + return { + _: function(){ + started = Date.now(); + + lazysizes.elements = document.getElementsByClassName(lazySizesCfg.lazyClass); + preloadElems = document.getElementsByClassName(lazySizesCfg.lazyClass + ' ' + lazySizesCfg.preloadClass); + + addEventListener('scroll', throttledCheckElements, true); + + addEventListener('resize', throttledCheckElements, true); + + addEventListener('pageshow', function (e) { + if (e.persisted) { + var loadingElements = document.querySelectorAll('.' + lazySizesCfg.loadingClass); + + if (loadingElements.length && loadingElements.forEach) { + requestAnimationFrame(function () { + loadingElements.forEach( function (img) { + if (img.complete) { + unveilElement(img); + } + }); + }); + } + } + }); + + if(window.MutationObserver){ + new MutationObserver( throttledCheckElements ).observe( docElem, {childList: true, subtree: true, attributes: true} ); + } else { + docElem[_addEventListener]('DOMNodeInserted', throttledCheckElements, true); + docElem[_addEventListener]('DOMAttrModified', throttledCheckElements, true); + setInterval(throttledCheckElements, 999); + } + + addEventListener('hashchange', throttledCheckElements, true); + + //, 'fullscreenchange' + ['focus', 'mouseover', 'click', 'load', 'transitionend', 'animationend'].forEach(function(name){ + document[_addEventListener](name, throttledCheckElements, true); + }); + + if((/d$|^c/.test(document.readyState))){ + onload(); + } else { + addEventListener('load', onload); + document[_addEventListener]('DOMContentLoaded', throttledCheckElements); + setTimeout(onload, 20000); + } + + if(lazysizes.elements.length){ + checkElements(); + rAF._lsFlush(); + } else { + throttledCheckElements(); + } + }, + checkElems: throttledCheckElements, + unveil: unveilElement, + _aLSL: altLoadmodeScrollListner, + }; + })(); + + + var autoSizer = (function(){ + var autosizesElems; + + var sizeElement = rAFIt(function(elem, parent, event, width){ + var sources, i, len; + elem._lazysizesWidth = width; + width += 'px'; + + elem.setAttribute('sizes', width); + + if(regPicture.test(parent.nodeName || '')){ + sources = parent.getElementsByTagName('source'); + for(i = 0, len = sources.length; i < len; i++){ + sources[i].setAttribute('sizes', width); + } + } + + if(!event.detail.dataAttr){ + updatePolyfill(elem, event.detail); + } + }); + /** + * + * @param elem {Element} + * @param dataAttr + * @param [width] { number } + */ + var getSizeElement = function (elem, dataAttr, width){ + var event; + var parent = elem.parentNode; + + if(parent){ + width = getWidth(elem, parent, width); + event = triggerEvent(elem, 'lazybeforesizes', {width: width, dataAttr: !!dataAttr}); + + if(!event.defaultPrevented){ + width = event.detail.width; + + if(width && width !== elem._lazysizesWidth){ + sizeElement(elem, parent, event, width); + } + } + } + }; + + var updateElementsSizes = function(){ + var i; + var len = autosizesElems.length; + if(len){ + i = 0; + + for(; i < len; i++){ + getSizeElement(autosizesElems[i]); + } + } + }; + + var debouncedUpdateElementsSizes = debounce(updateElementsSizes); + + return { + _: function(){ + autosizesElems = document.getElementsByClassName(lazySizesCfg.autosizesClass); + addEventListener('resize', debouncedUpdateElementsSizes); + }, + checkElems: debouncedUpdateElementsSizes, + updateElem: getSizeElement + }; + })(); + + var init = function(){ + if(!init.i && document.getElementsByClassName){ + init.i = true; + autoSizer._(); + loader._(); + } + }; + + setTimeout(function(){ + if(lazySizesCfg.init){ + init(); + } + }); + + lazysizes = { + /** + * @type { LazySizesConfigPartial } + */ + cfg: lazySizesCfg, + autoSizer: autoSizer, + loader: loader, + init: init, + uP: updatePolyfill, + aC: addClass, + rC: removeClass, + hC: hasClass, + fire: triggerEvent, + gW: getWidth, + rAF: rAF, + }; + + return lazysizes; +} +)); diff --git a/assets/js/mermaid/dist/mermaid.min.js b/assets/js/mermaid/dist/mermaid.min.js index c19866c..3f0ebc6 100644 --- a/assets/js/mermaid/dist/mermaid.min.js +++ b/assets/js/mermaid/dist/mermaid.min.js @@ -1,5 +1,5 @@ -"use strict";var __esbuild_esm_mermaid_nm;(__esbuild_esm_mermaid_nm||={}).mermaid=(()=>{var Jxe=Object.create;var Sy=Object.defineProperty;var ebe=Object.getOwnPropertyDescriptor;var tbe=Object.getOwnPropertyNames;var rbe=Object.getPrototypeOf,nbe=Object.prototype.hasOwnProperty;var o=(t,e)=>Sy(t,"name",{value:e,configurable:!0});var N=(t,e)=>()=>(t&&(e=t(t=0)),e);var Ii=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),hr=(t,e)=>{for(var r in e)Sy(t,r,{get:e[r],enumerable:!0})},z4=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tbe(e))!nbe.call(t,i)&&i!==r&&Sy(t,i,{get:()=>e[i],enumerable:!(n=ebe(e,i))||n.enumerable});return t},Sr=(t,e,r)=>(z4(t,e,"default"),r&&z4(r,e,"default")),Sa=(t,e,r)=>(r=t!=null?Jxe(rbe(t)):{},z4(e||!t||!t.__esModule?Sy(r,"default",{value:t,enumerable:!0}):r,t)),ibe=t=>z4(Sy({},"__esModule",{value:!0}),t);var abe,a0,GC,h$,G4=N(()=>{"use strict";abe=Object.freeze({left:0,top:0,width:16,height:16}),a0=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),GC=Object.freeze({...abe,...a0}),h$=Object.freeze({...GC,body:"",hidden:!1})});var sbe,f$,d$=N(()=>{"use strict";G4();sbe=Object.freeze({width:null,height:null}),f$=Object.freeze({...sbe,...a0})});var VC,V4,p$=N(()=>{"use strict";VC=o((t,e,r,n="")=>{let i=t.split(":");if(t.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let l=i.pop(),u=i.pop(),h={provider:i.length>0?i[0]:n,prefix:u,name:l};return e&&!V4(h)?null:h}let a=i[0],s=a.split("-");if(s.length>1){let l={provider:n,prefix:s.shift(),name:s.join("-")};return e&&!V4(l)?null:l}if(r&&n===""){let l={provider:n,prefix:"",name:a};return e&&!V4(l,r)?null:l}return null},"stringToIcon"),V4=o((t,e)=>t?!!((e&&t.prefix===""||t.prefix)&&t.name):!1,"validateIconName")});function m$(t,e){let r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);let n=((t.rotate||0)+(e.rotate||0))%4;return n&&(r.rotate=n),r}var g$=N(()=>{"use strict";o(m$,"mergeIconTransformations")});function UC(t,e){let r=m$(t,e);for(let n in h$)n in a0?n in t&&!(n in r)&&(r[n]=a0[n]):n in e?r[n]=e[n]:n in t&&(r[n]=t[n]);return r}var y$=N(()=>{"use strict";G4();g$();o(UC,"mergeIconData")});function v$(t,e){let r=t.icons,n=t.aliases||Object.create(null),i=Object.create(null);function a(s){if(r[s])return i[s]=[];if(!(s in i)){i[s]=null;let l=n[s]&&n[s].parent,u=l&&a(l);u&&(i[s]=[l].concat(u))}return i[s]}return o(a,"resolve"),(e||Object.keys(r).concat(Object.keys(n))).forEach(a),i}var x$=N(()=>{"use strict";o(v$,"getIconsTree")});function b$(t,e,r){let n=t.icons,i=t.aliases||Object.create(null),a={};function s(l){a=UC(n[l]||i[l],a)}return o(s,"parse"),s(e),r.forEach(s),UC(t,a)}function HC(t,e){if(t.icons[e])return b$(t,e,[]);let r=v$(t,[e])[e];return r?b$(t,e,r):null}var T$=N(()=>{"use strict";y$();x$();o(b$,"internalGetIconData");o(HC,"getIconData")});function WC(t,e,r){if(e===1)return t;if(r=r||100,typeof t=="number")return Math.ceil(t*e*r)/r;if(typeof t!="string")return t;let n=t.split(obe);if(n===null||!n.length)return t;let i=[],a=n.shift(),s=lbe.test(a);for(;;){if(s){let l=parseFloat(a);isNaN(l)?i.push(a):i.push(Math.ceil(l*e*r)/r)}else i.push(a);if(a=n.shift(),a===void 0)return i.join("");s=!s}}var obe,lbe,w$=N(()=>{"use strict";obe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,lbe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;o(WC,"calculateSize")});function cbe(t,e="defs"){let r="",n=t.indexOf("<"+e);for(;n>=0;){let i=t.indexOf(">",n),a=t.indexOf("",a);if(s===-1)break;r+=t.slice(i+1,a).trim(),t=t.slice(0,n).trim()+t.slice(s+1)}return{defs:r,content:t}}function ube(t,e){return t?""+t+""+e:e}function k$(t,e,r){let n=cbe(t);return ube(n.defs,e+n.content+r)}var E$=N(()=>{"use strict";o(cbe,"splitSVGDefs");o(ube,"mergeDefsAndContent");o(k$,"wrapSVGContent")});function qC(t,e){let r={...GC,...t},n={...f$,...e},i={left:r.left,top:r.top,width:r.width,height:r.height},a=r.body;[r,n].forEach(y=>{let v=[],x=y.hFlip,b=y.vFlip,T=y.rotate;x?b?T+=2:(v.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),v.push("scale(-1 1)"),i.top=i.left=0):b&&(v.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),v.push("scale(1 -1)"),i.top=i.left=0);let C;switch(T<0&&(T-=Math.floor(T/4)*4),T=T%4,T){case 1:C=i.height/2+i.top,v.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:v.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:C=i.width/2+i.left,v.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}T%2===1&&(i.left!==i.top&&(C=i.left,i.left=i.top,i.top=C),i.width!==i.height&&(C=i.width,i.width=i.height,i.height=C)),v.length&&(a=k$(a,'',""))});let s=n.width,l=n.height,u=i.width,h=i.height,f,d;s===null?(d=l===null?"1em":l==="auto"?h:l,f=WC(d,u/h)):(f=s==="auto"?u:s,d=l===null?WC(f,h/u):l==="auto"?h:l);let p={},m=o((y,v)=>{hbe(v)||(p[y]=v.toString())},"setAttr");m("width",f),m("height",d);let g=[i.left,i.top,u,h];return p.viewBox=g.join(" "),{attributes:p,viewBox:g,body:a}}var hbe,S$=N(()=>{"use strict";G4();d$();w$();E$();hbe=o(t=>t==="unset"||t==="undefined"||t==="none","isUnsetKeyword");o(qC,"iconToSVG")});function YC(t,e=dbe){let r=[],n;for(;n=fbe.exec(t);)r.push(n[1]);if(!r.length)return t;let i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(a=>{let s=typeof e=="function"?e(a):e+(pbe++).toString(),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+s+i+"$3")}),t=t.replace(new RegExp(i,"g"),""),t}var fbe,dbe,pbe,C$=N(()=>{"use strict";fbe=/\sid="(\S+)"/g,dbe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16),pbe=0;o(YC,"replaceIDs")});function XC(t,e){let r=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let n in e)r+=" "+n+'="'+e[n]+'"';return'"+t+""}var A$=N(()=>{"use strict";o(XC,"iconToHTML")});var D$=Ii((hat,_$)=>{"use strict";var s0=1e3,o0=s0*60,l0=o0*60,Xf=l0*24,mbe=Xf*7,gbe=Xf*365.25;_$.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return ybe(t);if(r==="number"&&isFinite(t))return e.long?xbe(t):vbe(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function ybe(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*gbe;case"weeks":case"week":case"w":return r*mbe;case"days":case"day":case"d":return r*Xf;case"hours":case"hour":case"hrs":case"hr":case"h":return r*l0;case"minutes":case"minute":case"mins":case"min":case"m":return r*o0;case"seconds":case"second":case"secs":case"sec":case"s":return r*s0;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(ybe,"parse");function vbe(t){var e=Math.abs(t);return e>=Xf?Math.round(t/Xf)+"d":e>=l0?Math.round(t/l0)+"h":e>=o0?Math.round(t/o0)+"m":e>=s0?Math.round(t/s0)+"s":t+"ms"}o(vbe,"fmtShort");function xbe(t){var e=Math.abs(t);return e>=Xf?U4(t,e,Xf,"day"):e>=l0?U4(t,e,l0,"hour"):e>=o0?U4(t,e,o0,"minute"):e>=s0?U4(t,e,s0,"second"):t+" ms"}o(xbe,"fmtLong");function U4(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(U4,"plural")});var R$=Ii((dat,L$)=>{"use strict";function bbe(t){r.debug=r,r.default=r,r.coerce=u,r.disable=s,r.enable=i,r.enabled=l,r.humanize=D$(),r.destroy=h,Object.keys(t).forEach(f=>{r[f]=t[f]}),r.names=[],r.skips=[],r.formatters={};function e(f){let d=0;for(let p=0;p{if(E==="%%")return"%";C++;let A=r.formatters[_];if(typeof A=="function"){let D=v[C];E=A.call(x,D),v.splice(C,1),C--}return E}),r.formatArgs.call(x,v),(x.log||r.log).apply(x,v)}return o(y,"debug"),y.namespace=f,y.useColors=r.useColors(),y.color=r.selectColor(f),y.extend=n,y.destroy=r.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:o(()=>p!==null?p:(m!==r.namespaces&&(m=r.namespaces,g=r.enabled(f)),g),"get"),set:o(v=>{p=v},"set")}),typeof r.init=="function"&&r.init(y),y}o(r,"createDebug");function n(f,d){let p=r(this.namespace+(typeof d>"u"?":":d)+f);return p.log=this.log,p}o(n,"extend");function i(f){r.save(f),r.namespaces=f,r.names=[],r.skips=[];let d=(typeof f=="string"?f:"").trim().replace(" ",",").split(",").filter(Boolean);for(let p of d)p[0]==="-"?r.skips.push(p.slice(1)):r.names.push(p)}o(i,"enable");function a(f,d){let p=0,m=0,g=-1,y=0;for(;p"-"+d)].join(",");return r.enable(""),f}o(s,"disable");function l(f){for(let d of r.skips)if(a(f,d))return!1;for(let d of r.names)if(a(f,d))return!0;return!1}o(l,"enabled");function u(f){return f instanceof Error?f.stack||f.message:f}o(u,"coerce");function h(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o(h,"destroy"),r.enable(r.load()),r}o(bbe,"setup");L$.exports=bbe});var N$=Ii((Ys,H4)=>{"use strict";Ys.formatArgs=wbe;Ys.save=kbe;Ys.load=Ebe;Ys.useColors=Tbe;Ys.storage=Sbe();Ys.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Ys.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Tbe(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(Tbe,"useColors");function wbe(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+H4.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(wbe,"formatArgs");Ys.log=console.debug||console.log||(()=>{});function kbe(t){try{t?Ys.storage.setItem("debug",t):Ys.storage.removeItem("debug")}catch{}}o(kbe,"save");function Ebe(){let t;try{t=Ys.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(Ebe,"load");function Sbe(){try{return localStorage}catch{}}o(Sbe,"localstorage");H4.exports=R$()(Ys);var{formatters:Cbe}=H4.exports;Cbe.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var yat,M$=N(()=>{"use strict";p$();T$();S$();C$();A$();yat=Sa(N$(),1)});var jC,Gn,c0=N(()=>{"use strict";jC=o((t,e,{depth:r=2,clobber:n=!1}={})=>{let i={depth:r,clobber:n};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(a=>jC(t,a,i)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(a=>{t.includes(a)||t.push(a)}),t):t===void 0||r<=0?t!=null&&typeof t=="object"&&typeof e=="object"?Object.assign(t,e):e:(e!==void 0&&typeof t=="object"&&typeof e=="object"&&Object.keys(e).forEach(a=>{typeof e[a]=="object"&&(t[a]===void 0||typeof t[a]=="object")?(t[a]===void 0&&(t[a]=Array.isArray(e[a])?[]:{}),t[a]=jC(t[a],e[a],{depth:r-1,clobber:n})):(n||typeof t[a]!="object"&&typeof e[a]!="object")&&(t[a]=e[a])}),t)},"assignWithDepth"),Gn=jC});var W4=Ii((KC,QC)=>{"use strict";(function(t,e){typeof KC=="object"&&typeof QC<"u"?QC.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=e()})(KC,function(){"use strict";var t=1e3,e=6e4,r=36e5,n="millisecond",i="second",a="minute",s="hour",l="day",u="week",h="month",f="quarter",d="year",p="date",m="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:o(function(k){var L=["th","st","nd","rd"],S=k%100;return"["+k+(L[(S-20)%10]||L[S]||L[0])+"]"},"ordinal")},x=o(function(k,L,S){var I=String(k);return!I||I.length>=L?k:""+Array(L+1-I.length).join(S)+k},"m"),b={s:x,z:o(function(k){var L=-k.utcOffset(),S=Math.abs(L),I=Math.floor(S/60),M=S%60;return(L<=0?"+":"-")+x(I,2,"0")+":"+x(M,2,"0")},"z"),m:o(function k(L,S){if(L.date()1)return k(B[0])}else{var F=L.name;C[F]=L,M=F}return!I&&M&&(T=M),M||!I&&T},"t"),A=o(function(k,L){if(E(k))return k.clone();var S=typeof L=="object"?L:{};return S.date=k,S.args=arguments,new O(S)},"O"),D=b;D.l=_,D.i=E,D.w=function(k,L){return A(k,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var O=function(){function k(S){this.$L=_(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[w]=!0}o(k,"M");var L=k.prototype;return L.parse=function(S){this.$d=function(I){var M=I.date,P=I.utc;if(M===null)return new Date(NaN);if(D.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var B=M.match(g);if(B){var F=B[2]-1||0,z=(B[7]||"0").substring(0,3);return P?new Date(Date.UTC(B[1],F,B[3]||1,B[4]||0,B[5]||0,B[6]||0,z)):new Date(B[1],F,B[3]||1,B[4]||0,B[5]||0,B[6]||0,z)}}return new Date(M)}(S),this.init()},L.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},L.$utils=function(){return D},L.isValid=function(){return this.$d.toString()!==m},L.isSame=function(S,I){var M=A(S);return this.startOf(I)<=M&&M<=this.endOf(I)},L.isAfter=function(S,I){return A(S){"use strict";I$=Sa(W4(),1),ru={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},X={trace:o((...t)=>{},"trace"),debug:o((...t)=>{},"debug"),info:o((...t)=>{},"info"),warn:o((...t)=>{},"warn"),error:o((...t)=>{},"error"),fatal:o((...t)=>{},"fatal")},Cy=o(function(t="fatal"){let e=ru.fatal;typeof t=="string"?t.toLowerCase()in ru&&(e=ru[t]):typeof t=="number"&&(e=t),X.trace=()=>{},X.debug=()=>{},X.info=()=>{},X.warn=()=>{},X.error=()=>{},X.fatal=()=>{},e<=ru.fatal&&(X.fatal=console.error?console.error.bind(console,To("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",To("FATAL"))),e<=ru.error&&(X.error=console.error?console.error.bind(console,To("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",To("ERROR"))),e<=ru.warn&&(X.warn=console.warn?console.warn.bind(console,To("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",To("WARN"))),e<=ru.info&&(X.info=console.info?console.info.bind(console,To("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",To("INFO"))),e<=ru.debug&&(X.debug=console.debug?console.debug.bind(console,To("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",To("DEBUG"))),e<=ru.trace&&(X.trace=console.debug?console.debug.bind(console,To("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",To("TRACE")))},"setLogLevel"),To=o(t=>`%c${(0,I$.default)().format("ss.SSS")} : ${t} : `,"format")});var q4,O$,P$=N(()=>{"use strict";q4={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:o(t=>t>=255?255:t<0?0:t,"r"),g:o(t=>t>=255?255:t<0?0:t,"g"),b:o(t=>t>=255?255:t<0?0:t,"b"),h:o(t=>t%360,"h"),s:o(t=>t>=100?100:t<0?0:t,"s"),l:o(t=>t>=100?100:t<0?0:t,"l"),a:o(t=>t>=1?1:t<0?0:t,"a")},toLinear:o(t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},"toLinear"),hue2rgb:o((t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<.16666666666666666?t+(e-t)*6*r:r<.5?e:r<.6666666666666666?t+(e-t)*(.6666666666666666-r)*6:t),"hue2rgb"),hsl2rgb:o(({h:t,s:e,l:r},n)=>{if(!e)return r*2.55;t/=360,e/=100,r/=100;let i=r<.5?r*(1+e):r+e-r*e,a=2*r-i;switch(n){case"r":return q4.hue2rgb(a,i,t+.3333333333333333)*255;case"g":return q4.hue2rgb(a,i,t)*255;case"b":return q4.hue2rgb(a,i,t-.3333333333333333)*255}},"hsl2rgb"),rgb2hsl:o(({r:t,g:e,b:r},n)=>{t/=255,e/=255,r/=255;let i=Math.max(t,e,r),a=Math.min(t,e,r),s=(i+a)/2;if(n==="l")return s*100;if(i===a)return 0;let l=i-a,u=s>.5?l/(2-i-a):l/(i+a);if(n==="s")return u*100;switch(i){case t:return((e-r)/l+(e{"use strict";Abe={clamp:o((t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),"clamp"),round:o(t=>Math.round(t*1e10)/1e10,"round")},B$=Abe});var _be,$$,z$=N(()=>{"use strict";_be={dec2hex:o(t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`},"dec2hex")},$$=_be});var Dbe,jt,Yl=N(()=>{"use strict";P$();F$();z$();Dbe={channel:O$,lang:B$,unit:$$},jt=Dbe});var nu,Oi,Ay=N(()=>{"use strict";Yl();nu={};for(let t=0;t<=255;t++)nu[t]=jt.unit.dec2hex(t);Oi={ALL:0,RGB:1,HSL:2}});var ZC,G$,V$=N(()=>{"use strict";Ay();ZC=class{static{o(this,"Type")}constructor(){this.type=Oi.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=Oi.ALL}is(e){return this.type===e}},G$=ZC});var JC,U$,H$=N(()=>{"use strict";Yl();V$();Ay();JC=class{static{o(this,"Channels")}constructor(e,r){this.color=r,this.changed=!1,this.data=e,this.type=new G$}set(e,r){return this.color=r,this.changed=!1,this.data=e,this.type.type=Oi.ALL,this}_ensureHSL(){let e=this.data,{h:r,s:n,l:i}=e;r===void 0&&(e.h=jt.channel.rgb2hsl(e,"h")),n===void 0&&(e.s=jt.channel.rgb2hsl(e,"s")),i===void 0&&(e.l=jt.channel.rgb2hsl(e,"l"))}_ensureRGB(){let e=this.data,{r,g:n,b:i}=e;r===void 0&&(e.r=jt.channel.hsl2rgb(e,"r")),n===void 0&&(e.g=jt.channel.hsl2rgb(e,"g")),i===void 0&&(e.b=jt.channel.hsl2rgb(e,"b"))}get r(){let e=this.data,r=e.r;return!this.type.is(Oi.HSL)&&r!==void 0?r:(this._ensureHSL(),jt.channel.hsl2rgb(e,"r"))}get g(){let e=this.data,r=e.g;return!this.type.is(Oi.HSL)&&r!==void 0?r:(this._ensureHSL(),jt.channel.hsl2rgb(e,"g"))}get b(){let e=this.data,r=e.b;return!this.type.is(Oi.HSL)&&r!==void 0?r:(this._ensureHSL(),jt.channel.hsl2rgb(e,"b"))}get h(){let e=this.data,r=e.h;return!this.type.is(Oi.RGB)&&r!==void 0?r:(this._ensureRGB(),jt.channel.rgb2hsl(e,"h"))}get s(){let e=this.data,r=e.s;return!this.type.is(Oi.RGB)&&r!==void 0?r:(this._ensureRGB(),jt.channel.rgb2hsl(e,"s"))}get l(){let e=this.data,r=e.l;return!this.type.is(Oi.RGB)&&r!==void 0?r:(this._ensureRGB(),jt.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(Oi.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(Oi.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(Oi.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(Oi.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(Oi.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(Oi.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}},U$=JC});var Lbe,sh,_y=N(()=>{"use strict";H$();Lbe=new U$({r:0,g:0,b:0,a:0},"transparent"),sh=Lbe});var W$,jf,e7=N(()=>{"use strict";_y();Ay();W$={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:o(t=>{if(t.charCodeAt(0)!==35)return;let e=t.match(W$.re);if(!e)return;let r=e[1],n=parseInt(r,16),i=r.length,a=i%4===0,s=i>4,l=s?1:17,u=s?8:4,h=a?0:-1,f=s?255:15;return sh.set({r:(n>>u*(h+3)&f)*l,g:(n>>u*(h+2)&f)*l,b:(n>>u*(h+1)&f)*l,a:a?(n&f)*l/255:1},t)},"parse"),stringify:o(t=>{let{r:e,g:r,b:n,a:i}=t;return i<1?`#${nu[Math.round(e)]}${nu[Math.round(r)]}${nu[Math.round(n)]}${nu[Math.round(i*255)]}`:`#${nu[Math.round(e)]}${nu[Math.round(r)]}${nu[Math.round(n)]}`},"stringify")},jf=W$});var Y4,Dy,q$=N(()=>{"use strict";Yl();_y();Y4={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:o(t=>{let e=t.match(Y4.hueRe);if(e){let[,r,n]=e;switch(n){case"grad":return jt.channel.clamp.h(parseFloat(r)*.9);case"rad":return jt.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return jt.channel.clamp.h(parseFloat(r)*360)}}return jt.channel.clamp.h(parseFloat(t))},"_hue2deg"),parse:o(t=>{let e=t.charCodeAt(0);if(e!==104&&e!==72)return;let r=t.match(Y4.re);if(!r)return;let[,n,i,a,s,l]=r;return sh.set({h:Y4._hue2deg(n),s:jt.channel.clamp.s(parseFloat(i)),l:jt.channel.clamp.l(parseFloat(a)),a:s?jt.channel.clamp.a(l?parseFloat(s)/100:parseFloat(s)):1},t)},"parse"),stringify:o(t=>{let{h:e,s:r,l:n,a:i}=t;return i<1?`hsla(${jt.lang.round(e)}, ${jt.lang.round(r)}%, ${jt.lang.round(n)}%, ${i})`:`hsl(${jt.lang.round(e)}, ${jt.lang.round(r)}%, ${jt.lang.round(n)}%)`},"stringify")},Dy=Y4});var X4,t7,Y$=N(()=>{"use strict";e7();X4={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:o(t=>{t=t.toLowerCase();let e=X4.colors[t];if(e)return jf.parse(e)},"parse"),stringify:o(t=>{let e=jf.stringify(t);for(let r in X4.colors)if(X4.colors[r]===e)return r},"stringify")},t7=X4});var X$,Ly,j$=N(()=>{"use strict";Yl();_y();X$={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:o(t=>{let e=t.charCodeAt(0);if(e!==114&&e!==82)return;let r=t.match(X$.re);if(!r)return;let[,n,i,a,s,l,u,h,f]=r;return sh.set({r:jt.channel.clamp.r(i?parseFloat(n)*2.55:parseFloat(n)),g:jt.channel.clamp.g(s?parseFloat(a)*2.55:parseFloat(a)),b:jt.channel.clamp.b(u?parseFloat(l)*2.55:parseFloat(l)),a:h?jt.channel.clamp.a(f?parseFloat(h)/100:parseFloat(h)):1},t)},"parse"),stringify:o(t=>{let{r:e,g:r,b:n,a:i}=t;return i<1?`rgba(${jt.lang.round(e)}, ${jt.lang.round(r)}, ${jt.lang.round(n)}, ${jt.lang.round(i)})`:`rgb(${jt.lang.round(e)}, ${jt.lang.round(r)}, ${jt.lang.round(n)})`},"stringify")},Ly=X$});var Rbe,Pi,iu=N(()=>{"use strict";e7();q$();Y$();j$();Ay();Rbe={format:{keyword:t7,hex:jf,rgb:Ly,rgba:Ly,hsl:Dy,hsla:Dy},parse:o(t=>{if(typeof t!="string")return t;let e=jf.parse(t)||Ly.parse(t)||Dy.parse(t)||t7.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},"parse"),stringify:o(t=>!t.changed&&t.color?t.color:t.type.is(Oi.HSL)||t.data.r===void 0?Dy.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?Ly.stringify(t):jf.stringify(t),"stringify")},Pi=Rbe});var Nbe,j4,r7=N(()=>{"use strict";Yl();iu();Nbe=o((t,e)=>{let r=Pi.parse(t);for(let n in e)r[n]=jt.channel.clamp[n](e[n]);return Pi.stringify(r)},"change"),j4=Nbe});var Mbe,Ya,n7=N(()=>{"use strict";Yl();_y();iu();r7();Mbe=o((t,e,r=0,n=1)=>{if(typeof t!="number")return j4(t,{a:e});let i=sh.set({r:jt.channel.clamp.r(t),g:jt.channel.clamp.g(e),b:jt.channel.clamp.b(r),a:jt.channel.clamp.a(n)});return Pi.stringify(i)},"rgba"),Ya=Mbe});var Ibe,Kf,K$=N(()=>{"use strict";Yl();iu();Ibe=o((t,e)=>jt.lang.round(Pi.parse(t)[e]),"channel"),Kf=Ibe});var Obe,Q$,Z$=N(()=>{"use strict";Yl();iu();Obe=o(t=>{let{r:e,g:r,b:n}=Pi.parse(t),i=.2126*jt.channel.toLinear(e)+.7152*jt.channel.toLinear(r)+.0722*jt.channel.toLinear(n);return jt.lang.round(i)},"luminance"),Q$=Obe});var Pbe,J$,ez=N(()=>{"use strict";Z$();Pbe=o(t=>Q$(t)>=.5,"isLight"),J$=Pbe});var Bbe,sa,tz=N(()=>{"use strict";ez();Bbe=o(t=>!J$(t),"isDark"),sa=Bbe});var Fbe,K4,i7=N(()=>{"use strict";Yl();iu();Fbe=o((t,e,r)=>{let n=Pi.parse(t),i=n[e],a=jt.channel.clamp[e](i+r);return i!==a&&(n[e]=a),Pi.stringify(n)},"adjustChannel"),K4=Fbe});var $be,Lt,rz=N(()=>{"use strict";i7();$be=o((t,e)=>K4(t,"l",e),"lighten"),Lt=$be});var zbe,Ot,nz=N(()=>{"use strict";i7();zbe=o((t,e)=>K4(t,"l",-e),"darken"),Ot=zbe});var Gbe,Me,iz=N(()=>{"use strict";iu();r7();Gbe=o((t,e)=>{let r=Pi.parse(t),n={};for(let i in e)e[i]&&(n[i]=r[i]+e[i]);return j4(t,n)},"adjust"),Me=Gbe});var Vbe,az,sz=N(()=>{"use strict";iu();n7();Vbe=o((t,e,r=50)=>{let{r:n,g:i,b:a,a:s}=Pi.parse(t),{r:l,g:u,b:h,a:f}=Pi.parse(e),d=r/100,p=d*2-1,m=s-f,y=((p*m===-1?p:(p+m)/(1+p*m))+1)/2,v=1-y,x=n*y+l*v,b=i*y+u*v,T=a*y+h*v,C=s*d+f*(1-d);return Ya(x,b,T,C)},"mix"),az=Vbe});var Ube,wt,oz=N(()=>{"use strict";iu();sz();Ube=o((t,e=100)=>{let r=Pi.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,az(r,t,e)},"invert"),wt=Ube});var lz=N(()=>{"use strict";n7();K$();tz();rz();nz();iz();oz()});var Xs=N(()=>{"use strict";lz()});var oh,lh,Ry=N(()=>{"use strict";oh="#ffffff",lh="#f2f2f2"});var Ei,u0=N(()=>{"use strict";Xs();Ei=o((t,e)=>e?Me(t,{s:-40,l:10}):Me(t,{s:-40,l:-10}),"mkBorder")});var s7,cz,uz=N(()=>{"use strict";Xs();Ry();u0();s7=class{static{o(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||Me(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||Me(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Ei(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Ei(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Ei(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Ei(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||wt(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||wt(this.tertiaryColor),this.lineColor=this.lineColor||wt(this.background),this.arrowheadColor=this.arrowheadColor||wt(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Ot(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Ot(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||wt(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||Lt(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||"navy",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||Ot(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Ot(this.mainBkg,10)):(this.rowOdd=this.rowOdd||Lt(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||Lt(this.mainBkg,5)),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Me(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Me(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Me(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Me(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Me(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Me(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||Me(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Me(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Me(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},cz=o(t=>{let e=new s7;return e.calculate(t),e},"getThemeVariables")});var o7,hz,fz=N(()=>{"use strict";Xs();u0();o7=class{static{o(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=Lt(this.primaryColor,16),this.tertiaryColor=Me(this.primaryColor,{h:-160}),this.primaryBorderColor=wt(this.background),this.secondaryBorderColor=Ei(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ei(this.tertiaryColor,this.darkMode),this.primaryTextColor=wt(this.primaryColor),this.secondaryTextColor=wt(this.secondaryColor),this.tertiaryTextColor=wt(this.tertiaryColor),this.lineColor=wt(this.background),this.textColor=wt(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=Lt(wt("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=Ya(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=Ot("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=Ot(this.sectionBkgColor,10),this.taskBorderColor=Ya(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Ya(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||Lt(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Ot(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=Lt(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=Lt(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=Lt(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Me(this.primaryColor,{h:64}),this.fillType3=Me(this.secondaryColor,{h:64}),this.fillType4=Me(this.primaryColor,{h:-64}),this.fillType5=Me(this.secondaryColor,{h:-64}),this.fillType6=Me(this.primaryColor,{h:128}),this.fillType7=Me(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Me(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Me(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Me(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Me(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Me(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Me(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Me(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Me(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Me(this.primaryColor,{h:330});for(let e=0;e{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},hz=o(t=>{let e=new o7;return e.calculate(t),e},"getThemeVariables")});var l7,ch,Ny=N(()=>{"use strict";Xs();u0();Ry();l7=class{static{o(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=Me(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=Me(this.primaryColor,{h:-160}),this.primaryBorderColor=Ei(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ei(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ei(this.tertiaryColor,this.darkMode),this.primaryTextColor=wt(this.primaryColor),this.secondaryTextColor=wt(this.secondaryColor),this.tertiaryTextColor=wt(this.tertiaryColor),this.lineColor=wt(this.background),this.textColor=wt(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.sectionBkgColor=Ya(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="navy",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd="calculated",this.rowEven="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Me(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Me(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Me(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Me(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Me(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Me(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Me(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Me(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Me(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Ot(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Ot(this.tertiaryColor,40);for(let e=0;e{this[n]==="calculated"&&(this[n]=void 0)}),typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},ch=o(t=>{let e=new l7;return e.calculate(t),e},"getThemeVariables")});var c7,dz,pz=N(()=>{"use strict";Xs();Ry();u0();c7=class{static{o(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=Lt("#cde498",10),this.primaryBorderColor=Ei(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ei(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ei(this.tertiaryColor,this.darkMode),this.primaryTextColor=wt(this.primaryColor),this.secondaryTextColor=wt(this.secondaryColor),this.tertiaryTextColor=wt(this.primaryColor),this.lineColor=wt(this.background),this.textColor=wt(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=Ot(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Me(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Me(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Me(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Me(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Me(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Me(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Me(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Me(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Me(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Ot(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Ot(this.tertiaryColor,40);for(let e=0;e{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},dz=o(t=>{let e=new c7;return e.calculate(t),e},"getThemeVariables")});var u7,mz,gz=N(()=>{"use strict";Xs();u0();Ry();u7=class{static{o(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=Lt(this.contrast,55),this.background="#ffffff",this.tertiaryColor=Me(this.primaryColor,{h:-160}),this.primaryBorderColor=Ei(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ei(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ei(this.tertiaryColor,this.darkMode),this.primaryTextColor=wt(this.primaryColor),this.secondaryTextColor=wt(this.secondaryColor),this.tertiaryTextColor=wt(this.tertiaryColor),this.lineColor=wt(this.background),this.textColor=wt(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||Lt(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=Lt(this.contrast,55),this.border2=this.contrast,this.actorBorder=Lt(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let e=0;e{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},mz=o(t=>{let e=new u7;return e.calculate(t),e},"getThemeVariables")});var wo,Q4=N(()=>{"use strict";uz();fz();Ny();pz();gz();wo={base:{getThemeVariables:cz},dark:{getThemeVariables:hz},default:{getThemeVariables:ch},forest:{getThemeVariables:dz},neutral:{getThemeVariables:mz}}});var ll,yz=N(()=>{"use strict";ll={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200,inheritDir:!1},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,maxLabelWidth:360,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],titleColor:"",titleFontFamily:'"trebuchet ms", verdana, arial, sans-serif',titleFontSize:"4ex"},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,nodeSpacing:140,rankSpacing:80,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showDataLabel:!1,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1}});var vz,xz,bz,lr,Ca=N(()=>{"use strict";Q4();yz();vz={...ll,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF",forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES"},themeCSS:void 0,themeVariables:wo.default.getThemeVariables(),sequence:{...ll.sequence,messageFont:o(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:o(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:o(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...ll.gantt,tickInterval:void 0,useWidth:void 0},c4:{...ll.c4,useWidth:void 0,personFont:o(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...ll.flowchart,inheritDir:!1},external_personFont:o(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:o(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:o(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:o(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:o(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:o(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:o(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:o(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:o(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:o(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:o(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:o(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:o(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:o(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:o(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:o(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:o(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:o(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:o(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:o(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:o(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...ll.pie,useWidth:984},xyChart:{...ll.xyChart,useWidth:void 0},requirement:{...ll.requirement,useWidth:void 0},packet:{...ll.packet},radar:{...ll.radar},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","}},xz=o((t,e="")=>Object.keys(t).reduce((r,n)=>Array.isArray(t[n])?r:typeof t[n]=="object"&&t[n]!==null?[...r,e+n,...xz(t[n],"")]:[...r,e+n],[]),"keyify"),bz=new Set(xz(vz,"")),lr=vz});var h0,Hbe,h7=N(()=>{"use strict";Ca();yt();h0=o(t=>{if(X.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>h0(e));return}for(let e of Object.keys(t)){if(X.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!bz.has(e)||t[e]==null){X.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){X.debug("sanitizing object",e),h0(t[e]);continue}let r=["themeCSS","fontFamily","altFontFamily"];for(let n of r)e.includes(n)&&(X.debug("sanitizing css option",e),t[e]=Hbe(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}X.debug("After sanitization",t)}},"sanitizeDirective"),Hbe=o(t=>{let e=0,r=0;for(let n of t){if(e{"use strict";c0();yt();Q4();Ca();h7();uh=Object.freeze(lr),bs=Gn({},uh),f0=[],My=Gn({},uh),Z4=o((t,e)=>{let r=Gn({},t),n={};for(let i of e)Sz(i),n=Gn(n,i);if(r=Gn(r,n),n.theme&&n.theme in wo){let i=Gn({},wz),a=Gn(i.themeVariables||{},n.themeVariables);r.theme&&r.theme in wo&&(r.themeVariables=wo[r.theme].getThemeVariables(a))}return My=r,Az(My),My},"updateCurrentConfig"),f7=o(t=>(bs=Gn({},uh),bs=Gn(bs,t),t.theme&&wo[t.theme]&&(bs.themeVariables=wo[t.theme].getThemeVariables(t.themeVariables)),Z4(bs,f0),bs),"setSiteConfig"),kz=o(t=>{wz=Gn({},t)},"saveConfigFromInitialize"),Ez=o(t=>(bs=Gn(bs,t),Z4(bs,f0),bs),"updateSiteConfig"),d7=o(()=>Gn({},bs),"getSiteConfig"),J4=o(t=>(Az(t),Gn(My,t),Qt()),"setConfig"),Qt=o(()=>Gn({},My),"getConfig"),Sz=o(t=>{t&&(["secure",...bs.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(X.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{typeof t[e]=="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],typeof t[e]=="object"&&Sz(t[e])}))},"sanitize"),Cz=o(t=>{h0(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),f0.push(t),Z4(bs,f0)},"addDirective"),Iy=o((t=bs)=>{f0=[],Z4(t,f0)},"reset"),Wbe={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},Tz={},qbe=o(t=>{Tz[t]||(X.warn(Wbe[t]),Tz[t]=!0)},"issueWarning"),Az=o(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&qbe("LAZY_LOAD_DEPRECATED")},"checkConfig")});function Ka(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:r3;_z&&_z(t,null);let n=e.length;for(;n--;){let i=e[n];if(typeof i=="string"){let a=r(i);a!==i&&(Ybe(e)||(e[n]=a),i=a)}t[i]=!0}return t}function t4e(t){for(let e=0;e0&&arguments[0]!==void 0?arguments[0]:f4e(),e=o(Dt=>Gz(Dt),"DOMPurify");if(e.version="3.2.5",e.removed=[],!t||!t.document||t.document.nodeType!==$y.document||!t.Element)return e.isSupported=!1,e;let{document:r}=t,n=r,i=n.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:u,NodeFilter:h,NamedNodeMap:f=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:p,trustedTypes:m}=t,g=u.prototype,y=Fy(g,"cloneNode"),v=Fy(g,"remove"),x=Fy(g,"nextSibling"),b=Fy(g,"childNodes"),T=Fy(g,"parentNode");if(typeof s=="function"){let Dt=r.createElement("template");Dt.content&&Dt.content.ownerDocument&&(r=Dt.content.ownerDocument)}let C,w="",{implementation:E,createNodeIterator:_,createDocumentFragment:A,getElementsByTagName:D}=r,{importNode:O}=n,R=Pz();e.isSupported=typeof Bz=="function"&&typeof T=="function"&&E&&E.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:k,ERB_EXPR:L,TMPLIT_EXPR:S,DATA_ATTR:I,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:P,ATTR_WHITESPACE:B,CUSTOM_ELEMENT:F}=Oz,{IS_ALLOWED_URI:z}=Oz,$=null,U=Ar({},[...Rz,...m7,...g7,...y7,...Nz]),K=null,ee=Ar({},[...Mz,...v7,...Iz,...t3]),Y=Object.seal(Fz(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ce=null,Z=null,ue=!0,Q=!0,j=!1,ne=!0,te=!1,he=!0,le=!1,J=!1,Se=!1,se=!1,ae=!1,Oe=!1,ye=!0,Be=!1,He="user-content-",ze=!0,Le=!1,Ie={},xe=null,q=Ar({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),de=null,ie=Ar({},["audio","video","img","source","image","track"]),oe=null,V=Ar({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Te="http://www.w3.org/1998/Math/MathML",W="http://www.w3.org/2000/svg",pe="http://www.w3.org/1999/xhtml",ve=pe,Pe=!1,_e=null,be=Ar({},[Te,W,pe],p7),Ve=Ar({},["mi","mo","mn","ms","mtext"]),De=Ar({},["annotation-xml"]),Ye=Ar({},["title","style","font","a","script"]),at=null,Rt=["application/xhtml+xml","text/html"],st="text/html",Ue=null,ut=null,We=r.createElement("form"),lt=o(function(Ce){return Ce instanceof RegExp||Ce instanceof Function},"isRegexOrFunction"),Xt=o(function(){let Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ut&&ut===Ce)){if((!Ce||typeof Ce!="object")&&(Ce={}),Ce=Qf(Ce),at=Rt.indexOf(Ce.PARSER_MEDIA_TYPE)===-1?st:Ce.PARSER_MEDIA_TYPE,Ue=at==="application/xhtml+xml"?p7:r3,$=cl(Ce,"ALLOWED_TAGS")?Ar({},Ce.ALLOWED_TAGS,Ue):U,K=cl(Ce,"ALLOWED_ATTR")?Ar({},Ce.ALLOWED_ATTR,Ue):ee,_e=cl(Ce,"ALLOWED_NAMESPACES")?Ar({},Ce.ALLOWED_NAMESPACES,p7):be,oe=cl(Ce,"ADD_URI_SAFE_ATTR")?Ar(Qf(V),Ce.ADD_URI_SAFE_ATTR,Ue):V,de=cl(Ce,"ADD_DATA_URI_TAGS")?Ar(Qf(ie),Ce.ADD_DATA_URI_TAGS,Ue):ie,xe=cl(Ce,"FORBID_CONTENTS")?Ar({},Ce.FORBID_CONTENTS,Ue):q,ce=cl(Ce,"FORBID_TAGS")?Ar({},Ce.FORBID_TAGS,Ue):{},Z=cl(Ce,"FORBID_ATTR")?Ar({},Ce.FORBID_ATTR,Ue):{},Ie=cl(Ce,"USE_PROFILES")?Ce.USE_PROFILES:!1,ue=Ce.ALLOW_ARIA_ATTR!==!1,Q=Ce.ALLOW_DATA_ATTR!==!1,j=Ce.ALLOW_UNKNOWN_PROTOCOLS||!1,ne=Ce.ALLOW_SELF_CLOSE_IN_ATTR!==!1,te=Ce.SAFE_FOR_TEMPLATES||!1,he=Ce.SAFE_FOR_XML!==!1,le=Ce.WHOLE_DOCUMENT||!1,se=Ce.RETURN_DOM||!1,ae=Ce.RETURN_DOM_FRAGMENT||!1,Oe=Ce.RETURN_TRUSTED_TYPE||!1,Se=Ce.FORCE_BODY||!1,ye=Ce.SANITIZE_DOM!==!1,Be=Ce.SANITIZE_NAMED_PROPS||!1,ze=Ce.KEEP_CONTENT!==!1,Le=Ce.IN_PLACE||!1,z=Ce.ALLOWED_URI_REGEXP||$z,ve=Ce.NAMESPACE||pe,Ve=Ce.MATHML_TEXT_INTEGRATION_POINTS||Ve,De=Ce.HTML_INTEGRATION_POINTS||De,Y=Ce.CUSTOM_ELEMENT_HANDLING||{},Ce.CUSTOM_ELEMENT_HANDLING&<(Ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Y.tagNameCheck=Ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Ce.CUSTOM_ELEMENT_HANDLING&<(Ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Y.attributeNameCheck=Ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Ce.CUSTOM_ELEMENT_HANDLING&&typeof Ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Y.allowCustomizedBuiltInElements=Ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),te&&(Q=!1),ae&&(se=!0),Ie&&($=Ar({},Nz),K=[],Ie.html===!0&&(Ar($,Rz),Ar(K,Mz)),Ie.svg===!0&&(Ar($,m7),Ar(K,v7),Ar(K,t3)),Ie.svgFilters===!0&&(Ar($,g7),Ar(K,v7),Ar(K,t3)),Ie.mathMl===!0&&(Ar($,y7),Ar(K,Iz),Ar(K,t3))),Ce.ADD_TAGS&&($===U&&($=Qf($)),Ar($,Ce.ADD_TAGS,Ue)),Ce.ADD_ATTR&&(K===ee&&(K=Qf(K)),Ar(K,Ce.ADD_ATTR,Ue)),Ce.ADD_URI_SAFE_ATTR&&Ar(oe,Ce.ADD_URI_SAFE_ATTR,Ue),Ce.FORBID_CONTENTS&&(xe===q&&(xe=Qf(xe)),Ar(xe,Ce.FORBID_CONTENTS,Ue)),ze&&($["#text"]=!0),le&&Ar($,["html","head","body"]),$.table&&(Ar($,["tbody"]),delete ce.tbody),Ce.TRUSTED_TYPES_POLICY){if(typeof Ce.TRUSTED_TYPES_POLICY.createHTML!="function")throw By('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Ce.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw By('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');C=Ce.TRUSTED_TYPES_POLICY,w=C.createHTML("")}else C===void 0&&(C=d4e(m,i)),C!==null&&typeof w=="string"&&(w=C.createHTML(""));ja&&ja(Ce),ut=Ce}},"_parseConfig"),Tt=Ar({},[...m7,...g7,...r4e]),Mt=Ar({},[...y7,...n4e]),bt=o(function(Ce){let tt=T(Ce);(!tt||!tt.tagName)&&(tt={namespaceURI:ve,tagName:"template"});let Ct=r3(Ce.tagName),yr=r3(tt.tagName);return _e[Ce.namespaceURI]?Ce.namespaceURI===W?tt.namespaceURI===pe?Ct==="svg":tt.namespaceURI===Te?Ct==="svg"&&(yr==="annotation-xml"||Ve[yr]):!!Tt[Ct]:Ce.namespaceURI===Te?tt.namespaceURI===pe?Ct==="math":tt.namespaceURI===W?Ct==="math"&&De[yr]:!!Mt[Ct]:Ce.namespaceURI===pe?tt.namespaceURI===W&&!De[yr]||tt.namespaceURI===Te&&!Ve[yr]?!1:!Mt[Ct]&&(Ye[Ct]||!Tt[Ct]):!!(at==="application/xhtml+xml"&&_e[Ce.namespaceURI]):!1},"_checkValidNamespace"),ht=o(function(Ce){Oy(e.removed,{element:Ce});try{T(Ce).removeChild(Ce)}catch{v(Ce)}},"_forceRemove"),St=o(function(Ce,tt){try{Oy(e.removed,{attribute:tt.getAttributeNode(Ce),from:tt})}catch{Oy(e.removed,{attribute:null,from:tt})}if(tt.removeAttribute(Ce),Ce==="is")if(se||ae)try{ht(tt)}catch{}else try{tt.setAttribute(Ce,"")}catch{}},"_removeAttribute"),ft=o(function(Ce){let tt=null,Ct=null;if(Se)Ce=""+Ce;else{let gn=Lz(Ce,/^[\r\n\t ]+/);Ct=gn&&gn[0]}at==="application/xhtml+xml"&&ve===pe&&(Ce=''+Ce+"");let yr=C?C.createHTML(Ce):Ce;if(ve===pe)try{tt=new p().parseFromString(yr,at)}catch{}if(!tt||!tt.documentElement){tt=E.createDocument(ve,"template",null);try{tt.documentElement.innerHTML=Pe?w:yr}catch{}}let tn=tt.body||tt.documentElement;return Ce&&Ct&&tn.insertBefore(r.createTextNode(Ct),tn.childNodes[0]||null),ve===pe?D.call(tt,le?"html":"body")[0]:le?tt.documentElement:tn},"_initDocument"),vt=o(function(Ce){return _.call(Ce.ownerDocument||Ce,Ce,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},"_createNodeIterator"),nt=o(function(Ce){return Ce instanceof d&&(typeof Ce.nodeName!="string"||typeof Ce.textContent!="string"||typeof Ce.removeChild!="function"||!(Ce.attributes instanceof f)||typeof Ce.removeAttribute!="function"||typeof Ce.setAttribute!="function"||typeof Ce.namespaceURI!="string"||typeof Ce.insertBefore!="function"||typeof Ce.hasChildNodes!="function")},"_isClobbered"),dn=o(function(Ce){return typeof l=="function"&&Ce instanceof l},"_isNode");function kt(Dt,Ce,tt){e3(Dt,Ct=>{Ct.call(e,Ce,tt,ut)})}o(kt,"_executeHooks");let In=o(function(Ce){let tt=null;if(kt(R.beforeSanitizeElements,Ce,null),nt(Ce))return ht(Ce),!0;let Ct=Ue(Ce.nodeName);if(kt(R.uponSanitizeElement,Ce,{tagName:Ct,allowedTags:$}),Ce.hasChildNodes()&&!dn(Ce.firstElementChild)&&Xa(/<[/\w!]/g,Ce.innerHTML)&&Xa(/<[/\w!]/g,Ce.textContent)||Ce.nodeType===$y.progressingInstruction||he&&Ce.nodeType===$y.comment&&Xa(/<[/\w]/g,Ce.data))return ht(Ce),!0;if(!$[Ct]||ce[Ct]){if(!ce[Ct]&&Nr(Ct)&&(Y.tagNameCheck instanceof RegExp&&Xa(Y.tagNameCheck,Ct)||Y.tagNameCheck instanceof Function&&Y.tagNameCheck(Ct)))return!1;if(ze&&!xe[Ct]){let yr=T(Ce)||Ce.parentNode,tn=b(Ce)||Ce.childNodes;if(tn&&yr){let gn=tn.length;for(let Qr=gn-1;Qr>=0;--Qr){let Mi=y(tn[Qr],!0);Mi.__removalCount=(Ce.__removalCount||0)+1,yr.insertBefore(Mi,x(Ce))}}}return ht(Ce),!0}return Ce instanceof u&&!bt(Ce)||(Ct==="noscript"||Ct==="noembed"||Ct==="noframes")&&Xa(/<\/no(script|embed|frames)/i,Ce.innerHTML)?(ht(Ce),!0):(te&&Ce.nodeType===$y.text&&(tt=Ce.textContent,e3([k,L,S],yr=>{tt=Py(tt,yr," ")}),Ce.textContent!==tt&&(Oy(e.removed,{element:Ce.cloneNode()}),Ce.textContent=tt)),kt(R.afterSanitizeElements,Ce,null),!1)},"_sanitizeElements"),en=o(function(Ce,tt,Ct){if(ye&&(tt==="id"||tt==="name")&&(Ct in r||Ct in We))return!1;if(!(Q&&!Z[tt]&&Xa(I,tt))){if(!(ue&&Xa(M,tt))){if(!K[tt]||Z[tt]){if(!(Nr(Ce)&&(Y.tagNameCheck instanceof RegExp&&Xa(Y.tagNameCheck,Ce)||Y.tagNameCheck instanceof Function&&Y.tagNameCheck(Ce))&&(Y.attributeNameCheck instanceof RegExp&&Xa(Y.attributeNameCheck,tt)||Y.attributeNameCheck instanceof Function&&Y.attributeNameCheck(tt))||tt==="is"&&Y.allowCustomizedBuiltInElements&&(Y.tagNameCheck instanceof RegExp&&Xa(Y.tagNameCheck,Ct)||Y.tagNameCheck instanceof Function&&Y.tagNameCheck(Ct))))return!1}else if(!oe[tt]){if(!Xa(z,Py(Ct,B,""))){if(!((tt==="src"||tt==="xlink:href"||tt==="href")&&Ce!=="script"&&Zbe(Ct,"data:")===0&&de[Ce])){if(!(j&&!Xa(P,Py(Ct,B,"")))){if(Ct)return!1}}}}}}return!0},"_isValidAttribute"),Nr=o(function(Ce){return Ce!=="annotation-xml"&&Lz(Ce,F)},"_isBasicCustomElement"),Mr=o(function(Ce){kt(R.beforeSanitizeAttributes,Ce,null);let{attributes:tt}=Ce;if(!tt||nt(Ce))return;let Ct={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:K,forceKeepAttr:void 0},yr=tt.length;for(;yr--;){let tn=tt[yr],{name:gn,namespaceURI:Qr,value:Mi}=tn,Zn=Ue(gn),En=gn==="value"?Mi:Jbe(Mi);if(Ct.attrName=Zn,Ct.attrValue=En,Ct.keepAttr=!0,Ct.forceKeepAttr=void 0,kt(R.uponSanitizeAttribute,Ce,Ct),En=Ct.attrValue,Be&&(Zn==="id"||Zn==="name")&&(St(gn,Ce),En=He+En),he&&Xa(/((--!?|])>)|<\/(style|title)/i,En)){St(gn,Ce);continue}if(Ct.forceKeepAttr||(St(gn,Ce),!Ct.keepAttr))continue;if(!ne&&Xa(/\/>/i,En)){St(gn,Ce);continue}te&&e3([k,L,S],et=>{En=Py(En,et," ")});let Ur=Ue(Ce.nodeName);if(en(Ur,Zn,En)){if(C&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!Qr)switch(m.getAttributeType(Ur,Zn)){case"TrustedHTML":{En=C.createHTML(En);break}case"TrustedScriptURL":{En=C.createScriptURL(En);break}}try{Qr?Ce.setAttributeNS(Qr,gn,En):Ce.setAttribute(gn,En),nt(Ce)?ht(Ce):Dz(e.removed)}catch{}}}kt(R.afterSanitizeAttributes,Ce,null)},"_sanitizeAttributes"),On=o(function Dt(Ce){let tt=null,Ct=vt(Ce);for(kt(R.beforeSanitizeShadowDOM,Ce,null);tt=Ct.nextNode();)kt(R.uponSanitizeShadowNode,tt,null),In(tt),Mr(tt),tt.content instanceof a&&Dt(tt.content);kt(R.afterSanitizeShadowDOM,Ce,null)},"_sanitizeShadowDOM");return e.sanitize=function(Dt){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=null,Ct=null,yr=null,tn=null;if(Pe=!Dt,Pe&&(Dt=""),typeof Dt!="string"&&!dn(Dt))if(typeof Dt.toString=="function"){if(Dt=Dt.toString(),typeof Dt!="string")throw By("dirty is not a string, aborting")}else throw By("toString is not a function");if(!e.isSupported)return Dt;if(J||Xt(Ce),e.removed=[],typeof Dt=="string"&&(Le=!1),Le){if(Dt.nodeName){let Mi=Ue(Dt.nodeName);if(!$[Mi]||ce[Mi])throw By("root node is forbidden and cannot be sanitized in-place")}}else if(Dt instanceof l)tt=ft(""),Ct=tt.ownerDocument.importNode(Dt,!0),Ct.nodeType===$y.element&&Ct.nodeName==="BODY"||Ct.nodeName==="HTML"?tt=Ct:tt.appendChild(Ct);else{if(!se&&!te&&!le&&Dt.indexOf("<")===-1)return C&&Oe?C.createHTML(Dt):Dt;if(tt=ft(Dt),!tt)return se?null:Oe?w:""}tt&&Se&&ht(tt.firstChild);let gn=vt(Le?Dt:tt);for(;yr=gn.nextNode();)In(yr),Mr(yr),yr.content instanceof a&&On(yr.content);if(Le)return Dt;if(se){if(ae)for(tn=A.call(tt.ownerDocument);tt.firstChild;)tn.appendChild(tt.firstChild);else tn=tt;return(K.shadowroot||K.shadowrootmode)&&(tn=O.call(n,tn,!0)),tn}let Qr=le?tt.outerHTML:tt.innerHTML;return le&&$["!doctype"]&&tt.ownerDocument&&tt.ownerDocument.doctype&&tt.ownerDocument.doctype.name&&Xa(zz,tt.ownerDocument.doctype.name)&&(Qr=" -`+Qr),te&&e3([k,L,S],Mi=>{Qr=Py(Qr,Mi," ")}),C&&Oe?C.createHTML(Qr):Qr},e.setConfig=function(){let Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Xt(Dt),J=!0},e.clearConfig=function(){ut=null,J=!1},e.isValidAttribute=function(Dt,Ce,tt){ut||Xt({});let Ct=Ue(Dt),yr=Ue(Ce);return en(Ct,yr,tt)},e.addHook=function(Dt,Ce){typeof Ce=="function"&&Oy(R[Dt],Ce)},e.removeHook=function(Dt,Ce){if(Ce!==void 0){let tt=Kbe(R[Dt],Ce);return tt===-1?void 0:Qbe(R[Dt],tt,1)[0]}return Dz(R[Dt])},e.removeHooks=function(Dt){R[Dt]=[]},e.removeAllHooks=function(){R=Pz()},e}var Bz,_z,Ybe,Xbe,jbe,ja,ko,Fz,x7,b7,e3,Kbe,Dz,Oy,Qbe,r3,p7,Lz,Py,Zbe,Jbe,cl,Xa,By,Rz,m7,g7,r4e,y7,n4e,Nz,Mz,v7,Iz,t3,i4e,a4e,s4e,o4e,l4e,$z,c4e,u4e,zz,h4e,Oz,$y,f4e,d4e,Pz,hh,T7=N(()=>{"use strict";({entries:Bz,setPrototypeOf:_z,isFrozen:Ybe,getPrototypeOf:Xbe,getOwnPropertyDescriptor:jbe}=Object),{freeze:ja,seal:ko,create:Fz}=Object,{apply:x7,construct:b7}=typeof Reflect<"u"&&Reflect;ja||(ja=o(function(e){return e},"freeze"));ko||(ko=o(function(e){return e},"seal"));x7||(x7=o(function(e,r,n){return e.apply(r,n)},"apply"));b7||(b7=o(function(e,r){return new e(...r)},"construct"));e3=Ka(Array.prototype.forEach),Kbe=Ka(Array.prototype.lastIndexOf),Dz=Ka(Array.prototype.pop),Oy=Ka(Array.prototype.push),Qbe=Ka(Array.prototype.splice),r3=Ka(String.prototype.toLowerCase),p7=Ka(String.prototype.toString),Lz=Ka(String.prototype.match),Py=Ka(String.prototype.replace),Zbe=Ka(String.prototype.indexOf),Jbe=Ka(String.prototype.trim),cl=Ka(Object.prototype.hasOwnProperty),Xa=Ka(RegExp.prototype.test),By=e4e(TypeError);o(Ka,"unapply");o(e4e,"unconstruct");o(Ar,"addToSet");o(t4e,"cleanArray");o(Qf,"clone");o(Fy,"lookupGetter");Rz=ja(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),m7=ja(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),g7=ja(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),r4e=ja(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),y7=ja(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),n4e=ja(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Nz=ja(["#text"]),Mz=ja(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),v7=ja(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Iz=ja(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),t3=ja(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),i4e=ko(/\{\{[\w\W]*|[\w\W]*\}\}/gm),a4e=ko(/<%[\w\W]*|[\w\W]*%>/gm),s4e=ko(/\$\{[\w\W]*/gm),o4e=ko(/^data-[\-\w.\u00B7-\uFFFF]+$/),l4e=ko(/^aria-[\-\w]+$/),$z=ko(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),c4e=ko(/^(?:\w+script|data):/i),u4e=ko(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),zz=ko(/^html$/i),h4e=ko(/^[a-z][.\w]*(-[.\w]+)+$/i),Oz=Object.freeze({__proto__:null,ARIA_ATTR:l4e,ATTR_WHITESPACE:u4e,CUSTOM_ELEMENT:h4e,DATA_ATTR:o4e,DOCTYPE_NAME:zz,ERB_EXPR:a4e,IS_ALLOWED_URI:$z,IS_SCRIPT_OR_DATA:c4e,MUSTACHE_EXPR:i4e,TMPLIT_EXPR:s4e}),$y={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},f4e=o(function(){return typeof window>"u"?null:window},"getGlobal"),d4e=o(function(e,r){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null,i="data-tt-policy-suffix";r&&r.hasAttribute(i)&&(n=r.getAttribute(i));let a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}},"_createTrustedTypesPolicy"),Pz=o(function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},"_createHooksMap");o(Gz,"createDOMPurify");hh=Gz()});var xV={};hr(xV,{ParseError:()=>mt,SETTINGS_SCHEMA:()=>Uy,__defineFunction:()=>Nt,__defineMacro:()=>fe,__defineSymbol:()=>G,__domTree:()=>vV,__parse:()=>pV,__renderToDomTree:()=>D3,__renderToHTMLTree:()=>gV,__setFontMetrics:()=>TG,default:()=>i5e,render:()=>uA,renderToString:()=>dV,version:()=>yV});function b4e(t){return String(t).replace(x4e,e=>v4e[e])}function E4e(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}function R4e(t){for(var e=0;e=i[0]&&t<=i[1])return r.name}return null}function bG(t){for(var e=0;e=p3[e]&&t<=p3[e+1])return!0;return!1}function TG(t,e){Kl[t]=e}function X7(t,e,r){if(!Kl[e])throw new Error("Font metrics not found for font: "+e+".");var n=t.charCodeAt(0),i=Kl[e][n];if(!i&&t[0]in Uz&&(n=Uz[t[0]].charCodeAt(0),i=Kl[e][n]),!i&&r==="text"&&bG(n)&&(i=Kl[e][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}function V4e(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!w7[e]){var r=w7[e]={cssEmPerMu:n3.quad[e]/18};for(var n in n3)n3.hasOwnProperty(n)&&(r[n]=n3[n][e])}return w7[e]}function qz(t){if(t instanceof ws)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function Y4e(t){if(t instanceof ed)return t;throw new Error("Expected span but got "+String(t)+".")}function G(t,e,r,n,i,a){Cn[t][i]={font:e,group:r,replace:n},a&&n&&(Cn[t][n]=Cn[t][i])}function Nt(t){for(var{type:e,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=t,l={type:e,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},u=0;u0&&(a.push(u3(s,e)),s=[]),a.push(n[l]));s.length>0&&a.push(u3(s,e));var h;r?(h=u3(Bi(r,e,!0)),h.classes=["tag"],a.push(h)):i&&a.push(i);var f=cu(["katex-html"],a);if(f.setAttribute("aria-hidden","true"),h){var d=h.children[0];d.style.height=Et(f.height+f.depth),f.depth&&(d.style.verticalAlign=Et(-f.depth))}return f}function MG(t){return new Jf(t)}function S7(t){if(!t)return!1;if(t.type==="mi"&&t.children.length===1){var e=t.children[0];return e instanceof So&&e.text==="."}else if(t.type==="mo"&&t.children.length===1&&t.getAttribute("separator")==="true"&&t.getAttribute("lspace")==="0em"&&t.getAttribute("rspace")==="0em"){var r=t.children[0];return r instanceof So&&r.text===","}else return!1}function Qz(t,e,r,n,i){var a=ks(t,r),s;a.length===1&&a[0]instanceof Qa&&er.contains(["mrow","mtable"],a[0].type)?s=a[0]:s=new dt.MathNode("mrow",a);var l=new dt.MathNode("annotation",[new dt.TextNode(e)]);l.setAttribute("encoding","application/x-tex");var u=new dt.MathNode("semantics",[s,l]),h=new dt.MathNode("math",[u]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&h.setAttribute("display","block");var f=i?"katex":"katex-mathml";return Fe.makeSpan([f],[h])}function xr(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function Z7(t){var e=S3(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function S3(t){return t&&(t.type==="atom"||j4e.hasOwnProperty(t.type))?t:null}function BG(t,e){var r=Bi(t.body,e,!0);return S3e([t.mclass],r,e)}function FG(t,e){var r,n=ks(t.body,e);return t.mclass==="minner"?r=new dt.MathNode("mpadded",n):t.mclass==="mord"?t.isCharacterBox?(r=n[0],r.type="mi"):r=new dt.MathNode("mi",n):(t.isCharacterBox?(r=n[0],r.type="mo"):r=new dt.MathNode("mo",n),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}function _3e(t,e,r){var n=C3e[t];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[e[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[a],[]),l=r.callFunction("\\\\cdright",[e[1]],[]),u={type:"ordgroup",mode:"math",body:[i,s,l]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var h={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[h],[])}default:return{type:"textord",text:" ",mode:"math"}}}function D3e(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new mt("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var n=[],i=[n],a=0;a-1))if("<>AV".indexOf(h)>-1)for(var d=0;d<2;d++){for(var p=!0,m=u+1;mAV=|." after @',s[u]);var g=_3e(h,f,t),y={type:"styling",body:[g],mode:"math",style:"display"};n.push(y),l=Zz()}a%2===0?n.push(l):n.shift(),n=[],i.push(n)}t.gullet.endGroup(),t.gullet.endGroup();var v=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:v,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}function A3(t,e){var r=S3(t);if(r&&er.contains(V3e,r.text))return r;throw r?new mt("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new mt("Invalid delimiter type '"+t.type+"'",t)}function tG(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}function Zl(t){for(var{type:e,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=t,l={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},u=0;u1||!f)&&y.pop(),x.length{"use strict";js=class t{static{o(this,"SourceLocation")}constructor(e,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=n}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new t(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}},Co=class t{static{o(this,"Token")}constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new t(r,js.range(this,e))}},mt=class t{static{o(this,"ParseError")}constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+e,i,a,s=r&&r.loc;if(s&&s.start<=s.end){var l=s.lexer.input;i=s.start,a=s.end,i===l.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var u=l.slice(i,a).replace(/[^]/g,"$&\u0332"),h;i>15?h="\u2026"+l.slice(i-15,i):h=l.slice(0,i);var f;a+15":">","<":"<",'"':""","'":"'"},x4e=/[&><"']/g;o(b4e,"escape");xG=o(function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},"getBaseElem"),T4e=o(function(e){var r=xG(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},"isCharacterBox"),w4e=o(function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},"assert"),k4e=o(function(e){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},"protocolFromUrl"),er={contains:p4e,deflt:m4e,escape:b4e,hyphenate:y4e,getBaseElem:xG,isCharacterBox:T4e,protocolFromUrl:k4e},Uy={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:o(t=>"#"+t,"cliProcessor")},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:o((t,e)=>(e.push(t),e),"cliProcessor")},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:o(t=>Math.max(0,t),"processor"),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:o(t=>Math.max(0,t),"processor"),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:o(t=>Math.max(0,t),"processor"),cli:"-e, --max-expand ",cliProcessor:o(t=>t==="Infinity"?1/0:parseInt(t),"cliProcessor")},globalGroup:{type:"boolean",cli:!1}};o(E4e,"getDefaultValue");Wy=class{static{o(this,"Settings")}constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in Uy)if(Uy.hasOwnProperty(r)){var n=Uy[r];this[r]=e[r]!==void 0?n.processor?n.processor(e[r]):e[r]:E4e(n)}}reportNonstrict(e,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(e,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new mt("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,n){var i=this.strict;if(typeof i=="function")try{i=i(e,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=er.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}},Xl=class{static{o(this,"Style")}constructor(e,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=n}sup(){return jl[S4e[this.id]]}sub(){return jl[C4e[this.id]]}fracNum(){return jl[A4e[this.id]]}fracDen(){return jl[_4e[this.id]]}cramp(){return jl[D4e[this.id]]}text(){return jl[L4e[this.id]]}isTight(){return this.size>=2}},Y7=0,m3=1,m0=2,ou=3,qy=4,Eo=5,g0=6,Za=7,jl=[new Xl(Y7,0,!1),new Xl(m3,0,!0),new Xl(m0,1,!1),new Xl(ou,1,!0),new Xl(qy,2,!1),new Xl(Eo,2,!0),new Xl(g0,3,!1),new Xl(Za,3,!0)],S4e=[qy,Eo,qy,Eo,g0,Za,g0,Za],C4e=[Eo,Eo,Eo,Eo,Za,Za,Za,Za],A4e=[m0,ou,qy,Eo,g0,Za,g0,Za],_4e=[ou,ou,Eo,Eo,Za,Za,Za,Za],D4e=[m3,m3,ou,ou,Eo,Eo,Za,Za],L4e=[Y7,m3,m0,ou,m0,ou,m0,ou],rr={DISPLAY:jl[Y7],TEXT:jl[m0],SCRIPT:jl[qy],SCRIPTSCRIPT:jl[g0]},O7=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];o(R4e,"scriptFromCodepoint");p3=[];O7.forEach(t=>t.blocks.forEach(e=>p3.push(...e)));o(bG,"supportedCodepoint");p0=80,N4e=o(function(e,r){return"M95,"+(622+e+r)+` +"use strict";var __esbuild_esm_mermaid_nm;(__esbuild_esm_mermaid_nm||={}).mermaid=(()=>{var gbe=Object.create;var Cy=Object.defineProperty;var ybe=Object.getOwnPropertyDescriptor;var vbe=Object.getOwnPropertyNames;var xbe=Object.getPrototypeOf,bbe=Object.prototype.hasOwnProperty;var o=(t,e)=>Cy(t,"name",{value:e,configurable:!0});var N=(t,e)=>()=>(t&&(e=t(t=0)),e);var Aa=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ur=(t,e)=>{for(var r in e)Cy(t,r,{get:e[r],enumerable:!0})},H4=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vbe(e))!bbe.call(t,i)&&i!==r&&Cy(t,i,{get:()=>e[i],enumerable:!(n=ybe(e,i))||n.enumerable});return t},Sr=(t,e,r)=>(H4(t,e,"default"),r&&H4(r,e,"default")),ja=(t,e,r)=>(r=t!=null?gbe(xbe(t)):{},H4(e||!t||!t.__esModule?Cy(r,"default",{value:t,enumerable:!0}):r,t)),Tbe=t=>H4(Cy({},"__esModule",{value:!0}),t);var wbe,d0,jC,w$,W4=N(()=>{"use strict";wbe=Object.freeze({left:0,top:0,width:16,height:16}),d0=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),jC=Object.freeze({...wbe,...d0}),w$=Object.freeze({...jC,body:"",hidden:!1})});var kbe,k$,E$=N(()=>{"use strict";W4();kbe=Object.freeze({width:null,height:null}),k$=Object.freeze({...kbe,...d0})});var KC,q4,S$=N(()=>{"use strict";KC=o((t,e,r,n="")=>{let i=t.split(":");if(t.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let l=i.pop(),u=i.pop(),h={provider:i.length>0?i[0]:n,prefix:u,name:l};return e&&!q4(h)?null:h}let a=i[0],s=a.split("-");if(s.length>1){let l={provider:n,prefix:s.shift(),name:s.join("-")};return e&&!q4(l)?null:l}if(r&&n===""){let l={provider:n,prefix:"",name:a};return e&&!q4(l,r)?null:l}return null},"stringToIcon"),q4=o((t,e)=>t?!!((e&&t.prefix===""||t.prefix)&&t.name):!1,"validateIconName")});function C$(t,e){let r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);let n=((t.rotate||0)+(e.rotate||0))%4;return n&&(r.rotate=n),r}var A$=N(()=>{"use strict";o(C$,"mergeIconTransformations")});function QC(t,e){let r=C$(t,e);for(let n in w$)n in d0?n in t&&!(n in r)&&(r[n]=d0[n]):n in e?r[n]=e[n]:n in t&&(r[n]=t[n]);return r}var _$=N(()=>{"use strict";W4();A$();o(QC,"mergeIconData")});function D$(t,e){let r=t.icons,n=t.aliases||Object.create(null),i=Object.create(null);function a(s){if(r[s])return i[s]=[];if(!(s in i)){i[s]=null;let l=n[s]&&n[s].parent,u=l&&a(l);u&&(i[s]=[l].concat(u))}return i[s]}return o(a,"resolve"),(e||Object.keys(r).concat(Object.keys(n))).forEach(a),i}var L$=N(()=>{"use strict";o(D$,"getIconsTree")});function R$(t,e,r){let n=t.icons,i=t.aliases||Object.create(null),a={};function s(l){a=QC(n[l]||i[l],a)}return o(s,"parse"),s(e),r.forEach(s),QC(t,a)}function ZC(t,e){if(t.icons[e])return R$(t,e,[]);let r=D$(t,[e])[e];return r?R$(t,e,r):null}var N$=N(()=>{"use strict";_$();L$();o(R$,"internalGetIconData");o(ZC,"getIconData")});function JC(t,e,r){if(e===1)return t;if(r=r||100,typeof t=="number")return Math.ceil(t*e*r)/r;if(typeof t!="string")return t;let n=t.split(Ebe);if(n===null||!n.length)return t;let i=[],a=n.shift(),s=Sbe.test(a);for(;;){if(s){let l=parseFloat(a);isNaN(l)?i.push(a):i.push(Math.ceil(l*e*r)/r)}else i.push(a);if(a=n.shift(),a===void 0)return i.join("");s=!s}}var Ebe,Sbe,M$=N(()=>{"use strict";Ebe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Sbe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;o(JC,"calculateSize")});function Cbe(t,e="defs"){let r="",n=t.indexOf("<"+e);for(;n>=0;){let i=t.indexOf(">",n),a=t.indexOf("",a);if(s===-1)break;r+=t.slice(i+1,a).trim(),t=t.slice(0,n).trim()+t.slice(s+1)}return{defs:r,content:t}}function Abe(t,e){return t?""+t+""+e:e}function I$(t,e,r){let n=Cbe(t);return Abe(n.defs,e+n.content+r)}var O$=N(()=>{"use strict";o(Cbe,"splitSVGDefs");o(Abe,"mergeDefsAndContent");o(I$,"wrapSVGContent")});function e7(t,e){let r={...jC,...t},n={...k$,...e},i={left:r.left,top:r.top,width:r.width,height:r.height},a=r.body;[r,n].forEach(y=>{let x=[],v=y.hFlip,b=y.vFlip,T=y.rotate;v?b?T+=2:(x.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),x.push("scale(-1 1)"),i.top=i.left=0):b&&(x.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),x.push("scale(1 -1)"),i.top=i.left=0);let S;switch(T<0&&(T-=Math.floor(T/4)*4),T=T%4,T){case 1:S=i.height/2+i.top,x.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:x.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:S=i.width/2+i.left,x.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}T%2===1&&(i.left!==i.top&&(S=i.left,i.left=i.top,i.top=S),i.width!==i.height&&(S=i.width,i.width=i.height,i.height=S)),x.length&&(a=I$(a,'',""))});let s=n.width,l=n.height,u=i.width,h=i.height,f,d;s===null?(d=l===null?"1em":l==="auto"?h:l,f=JC(d,u/h)):(f=s==="auto"?u:s,d=l===null?JC(f,h/u):l==="auto"?h:l);let p={},m=o((y,x)=>{_be(x)||(p[y]=x.toString())},"setAttr");m("width",f),m("height",d);let g=[i.left,i.top,u,h];return p.viewBox=g.join(" "),{attributes:p,viewBox:g,body:a}}var _be,P$=N(()=>{"use strict";W4();E$();M$();O$();_be=o(t=>t==="unset"||t==="undefined"||t==="none","isUnsetKeyword");o(e7,"iconToSVG")});function t7(t,e=Lbe){let r=[],n;for(;n=Dbe.exec(t);)r.push(n[1]);if(!r.length)return t;let i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(a=>{let s=typeof e=="function"?e(a):e+(Rbe++).toString(),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+s+i+"$3")}),t=t.replace(new RegExp(i,"g"),""),t}var Dbe,Lbe,Rbe,B$=N(()=>{"use strict";Dbe=/\sid="(\S+)"/g,Lbe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16),Rbe=0;o(t7,"replaceIDs")});function r7(t,e){let r=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let n in e)r+=" "+n+'="'+e[n]+'"';return'"+t+""}var F$=N(()=>{"use strict";o(r7,"iconToHTML")});var $$=N(()=>{"use strict";S$();N$();P$();B$();F$()});var n7,Dn,p0=N(()=>{"use strict";n7=o((t,e,{depth:r=2,clobber:n=!1}={})=>{let i={depth:r,clobber:n};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(a=>n7(t,a,i)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(a=>{t.includes(a)||t.push(a)}),t):t===void 0||r<=0?t!=null&&typeof t=="object"&&typeof e=="object"?Object.assign(t,e):e:(e!==void 0&&typeof t=="object"&&typeof e=="object"&&Object.keys(e).forEach(a=>{typeof e[a]=="object"&&(t[a]===void 0||typeof t[a]=="object")?(t[a]===void 0&&(t[a]=Array.isArray(e[a])?[]:{}),t[a]=n7(t[a],e[a],{depth:r-1,clobber:n})):(n||typeof t[a]!="object"&&typeof e[a]!="object")&&(t[a]=e[a])}),t)},"assignWithDepth"),Dn=n7});var Y4=Aa((i7,a7)=>{"use strict";(function(t,e){typeof i7=="object"&&typeof a7<"u"?a7.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=e()})(i7,function(){"use strict";var t=1e3,e=6e4,r=36e5,n="millisecond",i="second",a="minute",s="hour",l="day",u="week",h="month",f="quarter",d="year",p="date",m="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,x={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:o(function(k){var L=["th","st","nd","rd"],C=k%100;return"["+k+(L[(C-20)%10]||L[C]||L[0])+"]"},"ordinal")},v=o(function(k,L,C){var I=String(k);return!I||I.length>=L?k:""+Array(L+1-I.length).join(C)+k},"m"),b={s:v,z:o(function(k){var L=-k.utcOffset(),C=Math.abs(L),I=Math.floor(C/60),M=C%60;return(L<=0?"+":"-")+v(I,2,"0")+":"+v(M,2,"0")},"z"),m:o(function k(L,C){if(L.date()1)return k(B[0])}else{var F=L.name;S[F]=L,M=F}return!I&&M&&(T=M),M||!I&&T},"t"),A=o(function(k,L){if(E(k))return k.clone();var C=typeof L=="object"?L:{};return C.date=k,C.args=arguments,new O(C)},"O"),D=b;D.l=_,D.i=E,D.w=function(k,L){return A(k,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var O=function(){function k(C){this.$L=_(C.locale,null,!0),this.parse(C),this.$x=this.$x||C.x||{},this[w]=!0}o(k,"M");var L=k.prototype;return L.parse=function(C){this.$d=function(I){var M=I.date,P=I.utc;if(M===null)return new Date(NaN);if(D.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var B=M.match(g);if(B){var F=B[2]-1||0,G=(B[7]||"0").substring(0,3);return P?new Date(Date.UTC(B[1],F,B[3]||1,B[4]||0,B[5]||0,B[6]||0,G)):new Date(B[1],F,B[3]||1,B[4]||0,B[5]||0,B[6]||0,G)}}return new Date(M)}(C),this.init()},L.init=function(){var C=this.$d;this.$y=C.getFullYear(),this.$M=C.getMonth(),this.$D=C.getDate(),this.$W=C.getDay(),this.$H=C.getHours(),this.$m=C.getMinutes(),this.$s=C.getSeconds(),this.$ms=C.getMilliseconds()},L.$utils=function(){return D},L.isValid=function(){return this.$d.toString()!==m},L.isSame=function(C,I){var M=A(C);return this.startOf(I)<=M&&M<=this.endOf(I)},L.isAfter=function(C,I){return A(C){"use strict";G$=ja(Y4(),1),nu={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},X={trace:o((...t)=>{},"trace"),debug:o((...t)=>{},"debug"),info:o((...t)=>{},"info"),warn:o((...t)=>{},"warn"),error:o((...t)=>{},"error"),fatal:o((...t)=>{},"fatal")},Ay=o(function(t="fatal"){let e=nu.fatal;typeof t=="string"?t.toLowerCase()in nu&&(e=nu[t]):typeof t=="number"&&(e=t),X.trace=()=>{},X.debug=()=>{},X.info=()=>{},X.warn=()=>{},X.error=()=>{},X.fatal=()=>{},e<=nu.fatal&&(X.fatal=console.error?console.error.bind(console,ko("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",ko("FATAL"))),e<=nu.error&&(X.error=console.error?console.error.bind(console,ko("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",ko("ERROR"))),e<=nu.warn&&(X.warn=console.warn?console.warn.bind(console,ko("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",ko("WARN"))),e<=nu.info&&(X.info=console.info?console.info.bind(console,ko("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",ko("INFO"))),e<=nu.debug&&(X.debug=console.debug?console.debug.bind(console,ko("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",ko("DEBUG"))),e<=nu.trace&&(X.trace=console.debug?console.debug.bind(console,ko("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",ko("TRACE")))},"setLogLevel"),ko=o(t=>`%c${(0,G$.default)().format("ss.SSS")} : ${t} : `,"format")});var X4,z$,V$=N(()=>{"use strict";X4={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:o(t=>t>=255?255:t<0?0:t,"r"),g:o(t=>t>=255?255:t<0?0:t,"g"),b:o(t=>t>=255?255:t<0?0:t,"b"),h:o(t=>t%360,"h"),s:o(t=>t>=100?100:t<0?0:t,"s"),l:o(t=>t>=100?100:t<0?0:t,"l"),a:o(t=>t>=1?1:t<0?0:t,"a")},toLinear:o(t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},"toLinear"),hue2rgb:o((t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<.16666666666666666?t+(e-t)*6*r:r<.5?e:r<.6666666666666666?t+(e-t)*(.6666666666666666-r)*6:t),"hue2rgb"),hsl2rgb:o(({h:t,s:e,l:r},n)=>{if(!e)return r*2.55;t/=360,e/=100,r/=100;let i=r<.5?r*(1+e):r+e-r*e,a=2*r-i;switch(n){case"r":return X4.hue2rgb(a,i,t+.3333333333333333)*255;case"g":return X4.hue2rgb(a,i,t)*255;case"b":return X4.hue2rgb(a,i,t-.3333333333333333)*255}},"hsl2rgb"),rgb2hsl:o(({r:t,g:e,b:r},n)=>{t/=255,e/=255,r/=255;let i=Math.max(t,e,r),a=Math.min(t,e,r),s=(i+a)/2;if(n==="l")return s*100;if(i===a)return 0;let l=i-a,u=s>.5?l/(2-i-a):l/(i+a);if(n==="s")return u*100;switch(i){case t:return((e-r)/l+(e{"use strict";Nbe={clamp:o((t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),"clamp"),round:o(t=>Math.round(t*1e10)/1e10,"round")},U$=Nbe});var Mbe,W$,q$=N(()=>{"use strict";Mbe={dec2hex:o(t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`},"dec2hex")},W$=Mbe});var Ibe,jt,Yl=N(()=>{"use strict";V$();H$();q$();Ibe={channel:z$,lang:U$,unit:W$},jt=Ibe});var iu,Ii,_y=N(()=>{"use strict";Yl();iu={};for(let t=0;t<=255;t++)iu[t]=jt.unit.dec2hex(t);Ii={ALL:0,RGB:1,HSL:2}});var s7,Y$,X$=N(()=>{"use strict";_y();s7=class{static{o(this,"Type")}constructor(){this.type=Ii.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=Ii.ALL}is(e){return this.type===e}},Y$=s7});var o7,j$,K$=N(()=>{"use strict";Yl();X$();_y();o7=class{static{o(this,"Channels")}constructor(e,r){this.color=r,this.changed=!1,this.data=e,this.type=new Y$}set(e,r){return this.color=r,this.changed=!1,this.data=e,this.type.type=Ii.ALL,this}_ensureHSL(){let e=this.data,{h:r,s:n,l:i}=e;r===void 0&&(e.h=jt.channel.rgb2hsl(e,"h")),n===void 0&&(e.s=jt.channel.rgb2hsl(e,"s")),i===void 0&&(e.l=jt.channel.rgb2hsl(e,"l"))}_ensureRGB(){let e=this.data,{r,g:n,b:i}=e;r===void 0&&(e.r=jt.channel.hsl2rgb(e,"r")),n===void 0&&(e.g=jt.channel.hsl2rgb(e,"g")),i===void 0&&(e.b=jt.channel.hsl2rgb(e,"b"))}get r(){let e=this.data,r=e.r;return!this.type.is(Ii.HSL)&&r!==void 0?r:(this._ensureHSL(),jt.channel.hsl2rgb(e,"r"))}get g(){let e=this.data,r=e.g;return!this.type.is(Ii.HSL)&&r!==void 0?r:(this._ensureHSL(),jt.channel.hsl2rgb(e,"g"))}get b(){let e=this.data,r=e.b;return!this.type.is(Ii.HSL)&&r!==void 0?r:(this._ensureHSL(),jt.channel.hsl2rgb(e,"b"))}get h(){let e=this.data,r=e.h;return!this.type.is(Ii.RGB)&&r!==void 0?r:(this._ensureRGB(),jt.channel.rgb2hsl(e,"h"))}get s(){let e=this.data,r=e.s;return!this.type.is(Ii.RGB)&&r!==void 0?r:(this._ensureRGB(),jt.channel.rgb2hsl(e,"s"))}get l(){let e=this.data,r=e.l;return!this.type.is(Ii.RGB)&&r!==void 0?r:(this._ensureRGB(),jt.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(Ii.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(Ii.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(Ii.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(Ii.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(Ii.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(Ii.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}},j$=o7});var Obe,ch,Dy=N(()=>{"use strict";K$();Obe=new j$({r:0,g:0,b:0,a:0},"transparent"),ch=Obe});var Q$,nd,l7=N(()=>{"use strict";Dy();_y();Q$={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:o(t=>{if(t.charCodeAt(0)!==35)return;let e=t.match(Q$.re);if(!e)return;let r=e[1],n=parseInt(r,16),i=r.length,a=i%4===0,s=i>4,l=s?1:17,u=s?8:4,h=a?0:-1,f=s?255:15;return ch.set({r:(n>>u*(h+3)&f)*l,g:(n>>u*(h+2)&f)*l,b:(n>>u*(h+1)&f)*l,a:a?(n&f)*l/255:1},t)},"parse"),stringify:o(t=>{let{r:e,g:r,b:n,a:i}=t;return i<1?`#${iu[Math.round(e)]}${iu[Math.round(r)]}${iu[Math.round(n)]}${iu[Math.round(i*255)]}`:`#${iu[Math.round(e)]}${iu[Math.round(r)]}${iu[Math.round(n)]}`},"stringify")},nd=Q$});var j4,Ly,Z$=N(()=>{"use strict";Yl();Dy();j4={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:o(t=>{let e=t.match(j4.hueRe);if(e){let[,r,n]=e;switch(n){case"grad":return jt.channel.clamp.h(parseFloat(r)*.9);case"rad":return jt.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return jt.channel.clamp.h(parseFloat(r)*360)}}return jt.channel.clamp.h(parseFloat(t))},"_hue2deg"),parse:o(t=>{let e=t.charCodeAt(0);if(e!==104&&e!==72)return;let r=t.match(j4.re);if(!r)return;let[,n,i,a,s,l]=r;return ch.set({h:j4._hue2deg(n),s:jt.channel.clamp.s(parseFloat(i)),l:jt.channel.clamp.l(parseFloat(a)),a:s?jt.channel.clamp.a(l?parseFloat(s)/100:parseFloat(s)):1},t)},"parse"),stringify:o(t=>{let{h:e,s:r,l:n,a:i}=t;return i<1?`hsla(${jt.lang.round(e)}, ${jt.lang.round(r)}%, ${jt.lang.round(n)}%, ${i})`:`hsl(${jt.lang.round(e)}, ${jt.lang.round(r)}%, ${jt.lang.round(n)}%)`},"stringify")},Ly=j4});var K4,c7,J$=N(()=>{"use strict";l7();K4={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:o(t=>{t=t.toLowerCase();let e=K4.colors[t];if(e)return nd.parse(e)},"parse"),stringify:o(t=>{let e=nd.stringify(t);for(let r in K4.colors)if(K4.colors[r]===e)return r},"stringify")},c7=K4});var eG,Ry,tG=N(()=>{"use strict";Yl();Dy();eG={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:o(t=>{let e=t.charCodeAt(0);if(e!==114&&e!==82)return;let r=t.match(eG.re);if(!r)return;let[,n,i,a,s,l,u,h,f]=r;return ch.set({r:jt.channel.clamp.r(i?parseFloat(n)*2.55:parseFloat(n)),g:jt.channel.clamp.g(s?parseFloat(a)*2.55:parseFloat(a)),b:jt.channel.clamp.b(u?parseFloat(l)*2.55:parseFloat(l)),a:h?jt.channel.clamp.a(f?parseFloat(h)/100:parseFloat(h)):1},t)},"parse"),stringify:o(t=>{let{r:e,g:r,b:n,a:i}=t;return i<1?`rgba(${jt.lang.round(e)}, ${jt.lang.round(r)}, ${jt.lang.round(n)}, ${jt.lang.round(i)})`:`rgb(${jt.lang.round(e)}, ${jt.lang.round(r)}, ${jt.lang.round(n)})`},"stringify")},Ry=eG});var Pbe,Oi,au=N(()=>{"use strict";l7();Z$();J$();tG();_y();Pbe={format:{keyword:c7,hex:nd,rgb:Ry,rgba:Ry,hsl:Ly,hsla:Ly},parse:o(t=>{if(typeof t!="string")return t;let e=nd.parse(t)||Ry.parse(t)||Ly.parse(t)||c7.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},"parse"),stringify:o(t=>!t.changed&&t.color?t.color:t.type.is(Ii.HSL)||t.data.r===void 0?Ly.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?Ry.stringify(t):nd.stringify(t),"stringify")},Oi=Pbe});var Bbe,Q4,u7=N(()=>{"use strict";Yl();au();Bbe=o((t,e)=>{let r=Oi.parse(t);for(let n in e)r[n]=jt.channel.clamp[n](e[n]);return Oi.stringify(r)},"change"),Q4=Bbe});var Fbe,Ka,h7=N(()=>{"use strict";Yl();Dy();au();u7();Fbe=o((t,e,r=0,n=1)=>{if(typeof t!="number")return Q4(t,{a:e});let i=ch.set({r:jt.channel.clamp.r(t),g:jt.channel.clamp.g(e),b:jt.channel.clamp.b(r),a:jt.channel.clamp.a(n)});return Oi.stringify(i)},"rgba"),Ka=Fbe});var $be,id,rG=N(()=>{"use strict";Yl();au();$be=o((t,e)=>jt.lang.round(Oi.parse(t)[e]),"channel"),id=$be});var Gbe,nG,iG=N(()=>{"use strict";Yl();au();Gbe=o(t=>{let{r:e,g:r,b:n}=Oi.parse(t),i=.2126*jt.channel.toLinear(e)+.7152*jt.channel.toLinear(r)+.0722*jt.channel.toLinear(n);return jt.lang.round(i)},"luminance"),nG=Gbe});var zbe,aG,sG=N(()=>{"use strict";iG();zbe=o(t=>nG(t)>=.5,"isLight"),aG=zbe});var Vbe,sa,oG=N(()=>{"use strict";sG();Vbe=o(t=>!aG(t),"isDark"),sa=Vbe});var Ube,Z4,f7=N(()=>{"use strict";Yl();au();Ube=o((t,e,r)=>{let n=Oi.parse(t),i=n[e],a=jt.channel.clamp[e](i+r);return i!==a&&(n[e]=a),Oi.stringify(n)},"adjustChannel"),Z4=Ube});var Hbe,Lt,lG=N(()=>{"use strict";f7();Hbe=o((t,e)=>Z4(t,"l",e),"lighten"),Lt=Hbe});var Wbe,Ot,cG=N(()=>{"use strict";f7();Wbe=o((t,e)=>Z4(t,"l",-e),"darken"),Ot=Wbe});var qbe,Ie,uG=N(()=>{"use strict";au();u7();qbe=o((t,e)=>{let r=Oi.parse(t),n={};for(let i in e)e[i]&&(n[i]=r[i]+e[i]);return Q4(t,n)},"adjust"),Ie=qbe});var Ybe,hG,fG=N(()=>{"use strict";au();h7();Ybe=o((t,e,r=50)=>{let{r:n,g:i,b:a,a:s}=Oi.parse(t),{r:l,g:u,b:h,a:f}=Oi.parse(e),d=r/100,p=d*2-1,m=s-f,y=((p*m===-1?p:(p+m)/(1+p*m))+1)/2,x=1-y,v=n*y+l*x,b=i*y+u*x,T=a*y+h*x,S=s*d+f*(1-d);return Ka(v,b,T,S)},"mix"),hG=Ybe});var Xbe,wt,dG=N(()=>{"use strict";au();fG();Xbe=o((t,e=100)=>{let r=Oi.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,hG(r,t,e)},"invert"),wt=Xbe});var pG=N(()=>{"use strict";h7();rG();oG();lG();cG();uG();dG()});var Qs=N(()=>{"use strict";pG()});var uh,hh,Ny=N(()=>{"use strict";uh="#ffffff",hh="#f2f2f2"});var Ei,m0=N(()=>{"use strict";Qs();Ei=o((t,e)=>e?Ie(t,{s:-40,l:10}):Ie(t,{s:-40,l:-10}),"mkBorder")});var p7,mG,gG=N(()=>{"use strict";Qs();Ny();m0();p7=class{static{o(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||Ie(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||Ie(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Ei(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Ei(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Ei(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Ei(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||wt(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||wt(this.tertiaryColor),this.lineColor=this.lineColor||wt(this.background),this.arrowheadColor=this.arrowheadColor||wt(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Ot(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Ot(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||wt(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||Lt(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||"navy",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||Ot(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Ot(this.mainBkg,10)):(this.rowOdd=this.rowOdd||Lt(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||Lt(this.mainBkg,5)),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Ie(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Ie(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Ie(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Ie(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Ie(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Ie(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||Ie(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Ie(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Ie(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},mG=o(t=>{let e=new p7;return e.calculate(t),e},"getThemeVariables")});var m7,yG,vG=N(()=>{"use strict";Qs();m0();m7=class{static{o(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=Lt(this.primaryColor,16),this.tertiaryColor=Ie(this.primaryColor,{h:-160}),this.primaryBorderColor=wt(this.background),this.secondaryBorderColor=Ei(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ei(this.tertiaryColor,this.darkMode),this.primaryTextColor=wt(this.primaryColor),this.secondaryTextColor=wt(this.secondaryColor),this.tertiaryTextColor=wt(this.tertiaryColor),this.lineColor=wt(this.background),this.textColor=wt(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=Lt(wt("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=Ka(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=Ot("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=Ot(this.sectionBkgColor,10),this.taskBorderColor=Ka(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Ka(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||Lt(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Ot(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=Lt(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=Lt(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=Lt(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Ie(this.primaryColor,{h:64}),this.fillType3=Ie(this.secondaryColor,{h:64}),this.fillType4=Ie(this.primaryColor,{h:-64}),this.fillType5=Ie(this.secondaryColor,{h:-64}),this.fillType6=Ie(this.primaryColor,{h:128}),this.fillType7=Ie(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Ie(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Ie(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Ie(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Ie(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Ie(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Ie(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Ie(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Ie(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Ie(this.primaryColor,{h:330});for(let e=0;e{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},yG=o(t=>{let e=new m7;return e.calculate(t),e},"getThemeVariables")});var g7,fh,My=N(()=>{"use strict";Qs();m0();Ny();g7=class{static{o(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=Ie(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=Ie(this.primaryColor,{h:-160}),this.primaryBorderColor=Ei(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ei(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ei(this.tertiaryColor,this.darkMode),this.primaryTextColor=wt(this.primaryColor),this.secondaryTextColor=wt(this.secondaryColor),this.tertiaryTextColor=wt(this.tertiaryColor),this.lineColor=wt(this.background),this.textColor=wt(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.sectionBkgColor=Ka(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="navy",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd="calculated",this.rowEven="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Ie(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Ie(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Ie(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Ie(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Ie(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Ie(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Ie(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Ie(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Ie(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Ot(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Ot(this.tertiaryColor,40);for(let e=0;e{this[n]==="calculated"&&(this[n]=void 0)}),typeof e!="object"){this.updateColors();return}let r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},fh=o(t=>{let e=new g7;return e.calculate(t),e},"getThemeVariables")});var y7,xG,bG=N(()=>{"use strict";Qs();Ny();m0();y7=class{static{o(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=Lt("#cde498",10),this.primaryBorderColor=Ei(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ei(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ei(this.tertiaryColor,this.darkMode),this.primaryTextColor=wt(this.primaryColor),this.secondaryTextColor=wt(this.secondaryColor),this.tertiaryTextColor=wt(this.primaryColor),this.lineColor=wt(this.background),this.textColor=wt(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=Ot(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Ie(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Ie(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Ie(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Ie(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Ie(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Ie(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Ie(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Ie(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Ie(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Ot(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Ot(this.tertiaryColor,40);for(let e=0;e{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},xG=o(t=>{let e=new y7;return e.calculate(t),e},"getThemeVariables")});var v7,TG,wG=N(()=>{"use strict";Qs();m0();Ny();v7=class{static{o(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=Lt(this.contrast,55),this.background="#ffffff",this.tertiaryColor=Ie(this.primaryColor,{h:-160}),this.primaryBorderColor=Ei(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ei(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ei(this.tertiaryColor,this.darkMode),this.primaryTextColor=wt(this.primaryColor),this.secondaryTextColor=wt(this.secondaryColor),this.tertiaryTextColor=wt(this.tertiaryColor),this.lineColor=wt(this.background),this.textColor=wt(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||Lt(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=Lt(this.contrast,55),this.border2=this.contrast,this.actorBorder=Lt(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let e=0;e{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}},TG=o(t=>{let e=new v7;return e.calculate(t),e},"getThemeVariables")});var Eo,J4=N(()=>{"use strict";gG();vG();My();bG();wG();Eo={base:{getThemeVariables:mG},dark:{getThemeVariables:yG},default:{getThemeVariables:fh},forest:{getThemeVariables:xG},neutral:{getThemeVariables:TG}}});var ul,kG=N(()=>{"use strict";ul={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200,inheritDir:!1},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,maxLabelWidth:360,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],titleColor:"",titleFontFamily:'"trebuchet ms", verdana, arial, sans-serif',titleFontSize:"4ex"},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,nodeSpacing:140,rankSpacing:80,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showDataLabel:!1,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200,layoutAlgorithm:"cose-bilkent"},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1}});var EG,SG,CG,lr,_a=N(()=>{"use strict";J4();kG();EG={...ul,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF",forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES"},themeCSS:void 0,themeVariables:Eo.default.getThemeVariables(),sequence:{...ul.sequence,messageFont:o(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:o(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:o(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...ul.gantt,tickInterval:void 0,useWidth:void 0},c4:{...ul.c4,useWidth:void 0,personFont:o(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...ul.flowchart,inheritDir:!1},external_personFont:o(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:o(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:o(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:o(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:o(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:o(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:o(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:o(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:o(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:o(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:o(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:o(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:o(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:o(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:o(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:o(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:o(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:o(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:o(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:o(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:o(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...ul.pie,useWidth:984},xyChart:{...ul.xyChart,useWidth:void 0},requirement:{...ul.requirement,useWidth:void 0},packet:{...ul.packet},radar:{...ul.radar},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","}},SG=o((t,e="")=>Object.keys(t).reduce((r,n)=>Array.isArray(t[n])?r:typeof t[n]=="object"&&t[n]!==null?[...r,e+n,...SG(t[n],"")]:[...r,e+n],[]),"keyify"),CG=new Set(SG(EG,"")),lr=EG});var g0,jbe,x7=N(()=>{"use strict";_a();pt();g0=o(t=>{if(X.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>g0(e));return}for(let e of Object.keys(t)){if(X.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!CG.has(e)||t[e]==null){X.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){X.debug("sanitizing object",e),g0(t[e]);continue}let r=["themeCSS","fontFamily","altFontFamily"];for(let n of r)e.includes(n)&&(X.debug("sanitizing css option",e),t[e]=jbe(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}X.debug("After sanitization",t)}},"sanitizeDirective"),jbe=o(t=>{let e=0,r=0;for(let n of t){if(e{"use strict";p0();pt();J4();_a();x7();dh=Object.freeze(lr),ks=Dn({},dh),ad=[],Iy=Dn({},dh),t3=o((t,e)=>{let r=Dn({},t),n={};for(let i of e)LG(i),n=Dn(n,i);if(r=Dn(r,n),n.theme&&n.theme in Eo){let i=Dn({},e3),a=Dn(i.themeVariables||{},n.themeVariables);r.theme&&r.theme in Eo&&(r.themeVariables=Eo[r.theme].getThemeVariables(a))}return Iy=r,NG(Iy),Iy},"updateCurrentConfig"),b7=o(t=>(ks=Dn({},dh),ks=Dn(ks,t),t.theme&&Eo[t.theme]&&(ks.themeVariables=Eo[t.theme].getThemeVariables(t.themeVariables)),t3(ks,ad),ks),"setSiteConfig"),_G=o(t=>{e3=Dn({},t)},"saveConfigFromInitialize"),DG=o(t=>(ks=Dn(ks,t),t3(ks,ad),ks),"updateSiteConfig"),T7=o(()=>Dn({},ks),"getSiteConfig"),r3=o(t=>(NG(t),Dn(Iy,t),Qt()),"setConfig"),Qt=o(()=>Dn({},Iy),"getConfig"),LG=o(t=>{t&&(["secure",...ks.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(X.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{typeof t[e]=="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],typeof t[e]=="object"&&LG(t[e])}))},"sanitize"),RG=o(t=>{g0(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),ad.push(t),t3(ks,ad)},"addDirective"),Oy=o((t=ks)=>{ad=[],t3(t,ad)},"reset"),Kbe={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},AG={},Qbe=o(t=>{AG[t]||(X.warn(Kbe[t]),AG[t]=!0)},"issueWarning"),NG=o(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&Qbe("LAZY_LOAD_DEPRECATED")},"checkConfig"),MG=o(()=>{let t={};e3&&(t=Dn(t,e3));for(let e of ad)t=Dn(t,e);return t},"getUserDefinedConfig")});function Ja(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:a3;IG&&IG(t,null);let n=e.length;for(;n--;){let i=e[n];if(typeof i=="string"){let a=r(i);a!==i&&(Zbe(e)||(e[n]=a),i=a)}t[i]=!0}return t}function s4e(t){for(let e=0;e0&&arguments[0]!==void 0?arguments[0]:y4e(),e=o(Dt=>YG(Dt),"DOMPurify");if(e.version="3.2.5",e.removed=[],!t||!t.document||t.document.nodeType!==Gy.document||!t.Element)return e.isSupported=!1,e;let{document:r}=t,n=r,i=n.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:u,NodeFilter:h,NamedNodeMap:f=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:p,trustedTypes:m}=t,g=u.prototype,y=$y(g,"cloneNode"),x=$y(g,"remove"),v=$y(g,"nextSibling"),b=$y(g,"childNodes"),T=$y(g,"parentNode");if(typeof s=="function"){let Dt=r.createElement("template");Dt.content&&Dt.content.ownerDocument&&(r=Dt.content.ownerDocument)}let S,w="",{implementation:E,createNodeIterator:_,createDocumentFragment:A,getElementsByTagName:D}=r,{importNode:O}=n,R=VG();e.isSupported=typeof UG=="function"&&typeof T=="function"&&E&&E.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:k,ERB_EXPR:L,TMPLIT_EXPR:C,DATA_ATTR:I,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:P,ATTR_WHITESPACE:B,CUSTOM_ELEMENT:F}=zG,{IS_ALLOWED_URI:G}=zG,$=null,U=Ar({},[...BG,...k7,...E7,...S7,...FG]),K=null,ne=Ar({},[...$G,...C7,...GG,...i3]),j=Object.seal(HG(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),le=null,Z=null,ce=!0,Q=!0,ee=!1,te=!0,re=!1,he=!0,J=!1,ye=!1,se=!1,Se=!1,W=!1,Oe=!1,ve=!0,Pe=!1,qe="user-content-",Ge=!0,Ne=!1,Me={},be=null,q=Ar({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),fe=null,ae=Ar({},["audio","video","img","source","image","track"]),oe=null,V=Ar({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),xe="http://www.w3.org/1998/Math/MathML",Y="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml",me=de,Be=!1,_e=null,Te=Ar({},[xe,Y,de],w7),Ue=Ar({},["mi","mo","mn","ms","mtext"]),De=Ar({},["annotation-xml"]),Qe=Ar({},["title","style","font","a","script"]),ot=null,Gt=["application/xhtml+xml","text/html"],Ze="text/html",Ve=null,ht=null,Ye=r.createElement("form"),ct=o(function(Ce){return Ce instanceof RegExp||Ce instanceof Function},"isRegexOrFunction"),Yt=o(function(){let Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ht&&ht===Ce)){if((!Ce||typeof Ce!="object")&&(Ce={}),Ce=sd(Ce),ot=Gt.indexOf(Ce.PARSER_MEDIA_TYPE)===-1?Ze:Ce.PARSER_MEDIA_TYPE,Ve=ot==="application/xhtml+xml"?w7:a3,$=hl(Ce,"ALLOWED_TAGS")?Ar({},Ce.ALLOWED_TAGS,Ve):U,K=hl(Ce,"ALLOWED_ATTR")?Ar({},Ce.ALLOWED_ATTR,Ve):ne,_e=hl(Ce,"ALLOWED_NAMESPACES")?Ar({},Ce.ALLOWED_NAMESPACES,w7):Te,oe=hl(Ce,"ADD_URI_SAFE_ATTR")?Ar(sd(V),Ce.ADD_URI_SAFE_ATTR,Ve):V,fe=hl(Ce,"ADD_DATA_URI_TAGS")?Ar(sd(ae),Ce.ADD_DATA_URI_TAGS,Ve):ae,be=hl(Ce,"FORBID_CONTENTS")?Ar({},Ce.FORBID_CONTENTS,Ve):q,le=hl(Ce,"FORBID_TAGS")?Ar({},Ce.FORBID_TAGS,Ve):{},Z=hl(Ce,"FORBID_ATTR")?Ar({},Ce.FORBID_ATTR,Ve):{},Me=hl(Ce,"USE_PROFILES")?Ce.USE_PROFILES:!1,ce=Ce.ALLOW_ARIA_ATTR!==!1,Q=Ce.ALLOW_DATA_ATTR!==!1,ee=Ce.ALLOW_UNKNOWN_PROTOCOLS||!1,te=Ce.ALLOW_SELF_CLOSE_IN_ATTR!==!1,re=Ce.SAFE_FOR_TEMPLATES||!1,he=Ce.SAFE_FOR_XML!==!1,J=Ce.WHOLE_DOCUMENT||!1,Se=Ce.RETURN_DOM||!1,W=Ce.RETURN_DOM_FRAGMENT||!1,Oe=Ce.RETURN_TRUSTED_TYPE||!1,se=Ce.FORCE_BODY||!1,ve=Ce.SANITIZE_DOM!==!1,Pe=Ce.SANITIZE_NAMED_PROPS||!1,Ge=Ce.KEEP_CONTENT!==!1,Ne=Ce.IN_PLACE||!1,G=Ce.ALLOWED_URI_REGEXP||WG,me=Ce.NAMESPACE||de,Ue=Ce.MATHML_TEXT_INTEGRATION_POINTS||Ue,De=Ce.HTML_INTEGRATION_POINTS||De,j=Ce.CUSTOM_ELEMENT_HANDLING||{},Ce.CUSTOM_ELEMENT_HANDLING&&ct(Ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(j.tagNameCheck=Ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Ce.CUSTOM_ELEMENT_HANDLING&&ct(Ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(j.attributeNameCheck=Ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Ce.CUSTOM_ELEMENT_HANDLING&&typeof Ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(j.allowCustomizedBuiltInElements=Ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),re&&(Q=!1),W&&(Se=!0),Me&&($=Ar({},FG),K=[],Me.html===!0&&(Ar($,BG),Ar(K,$G)),Me.svg===!0&&(Ar($,k7),Ar(K,C7),Ar(K,i3)),Me.svgFilters===!0&&(Ar($,E7),Ar(K,C7),Ar(K,i3)),Me.mathMl===!0&&(Ar($,S7),Ar(K,GG),Ar(K,i3))),Ce.ADD_TAGS&&($===U&&($=sd($)),Ar($,Ce.ADD_TAGS,Ve)),Ce.ADD_ATTR&&(K===ne&&(K=sd(K)),Ar(K,Ce.ADD_ATTR,Ve)),Ce.ADD_URI_SAFE_ATTR&&Ar(oe,Ce.ADD_URI_SAFE_ATTR,Ve),Ce.FORBID_CONTENTS&&(be===q&&(be=sd(be)),Ar(be,Ce.FORBID_CONTENTS,Ve)),Ge&&($["#text"]=!0),J&&Ar($,["html","head","body"]),$.table&&(Ar($,["tbody"]),delete le.tbody),Ce.TRUSTED_TYPES_POLICY){if(typeof Ce.TRUSTED_TYPES_POLICY.createHTML!="function")throw Fy('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Ce.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Fy('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=Ce.TRUSTED_TYPES_POLICY,w=S.createHTML("")}else S===void 0&&(S=v4e(m,i)),S!==null&&typeof w=="string"&&(w=S.createHTML(""));Za&&Za(Ce),ht=Ce}},"_parseConfig"),Tt=Ar({},[...k7,...E7,...o4e]),Mt=Ar({},[...S7,...l4e]),bt=o(function(Ce){let nt=T(Ce);(!nt||!nt.tagName)&&(nt={namespaceURI:me,tagName:"template"});let Ct=a3(Ce.tagName),yr=a3(nt.tagName);return _e[Ce.namespaceURI]?Ce.namespaceURI===Y?nt.namespaceURI===de?Ct==="svg":nt.namespaceURI===xe?Ct==="svg"&&(yr==="annotation-xml"||Ue[yr]):!!Tt[Ct]:Ce.namespaceURI===xe?nt.namespaceURI===de?Ct==="math":nt.namespaceURI===Y?Ct==="math"&&De[yr]:!!Mt[Ct]:Ce.namespaceURI===de?nt.namespaceURI===Y&&!De[yr]||nt.namespaceURI===xe&&!Ue[yr]?!1:!Mt[Ct]&&(Qe[Ct]||!Tt[Ct]):!!(ot==="application/xhtml+xml"&&_e[Ce.namespaceURI]):!1},"_checkValidNamespace"),ft=o(function(Ce){Py(e.removed,{element:Ce});try{T(Ce).removeChild(Ce)}catch{x(Ce)}},"_forceRemove"),St=o(function(Ce,nt){try{Py(e.removed,{attribute:nt.getAttributeNode(Ce),from:nt})}catch{Py(e.removed,{attribute:null,from:nt})}if(nt.removeAttribute(Ce),Ce==="is")if(Se||W)try{ft(nt)}catch{}else try{nt.setAttribute(Ce,"")}catch{}},"_removeAttribute"),dt=o(function(Ce){let nt=null,Ct=null;if(se)Ce=""+Ce;else{let yn=PG(Ce,/^[\r\n\t ]+/);Ct=yn&&yn[0]}ot==="application/xhtml+xml"&&me===de&&(Ce=''+Ce+"");let yr=S?S.createHTML(Ce):Ce;if(me===de)try{nt=new p().parseFromString(yr,ot)}catch{}if(!nt||!nt.documentElement){nt=E.createDocument(me,"template",null);try{nt.documentElement.innerHTML=Be?w:yr}catch{}}let rn=nt.body||nt.documentElement;return Ce&&Ct&&rn.insertBefore(r.createTextNode(Ct),rn.childNodes[0]||null),me===de?D.call(nt,J?"html":"body")[0]:J?nt.documentElement:rn},"_initDocument"),vt=o(function(Ce){return _.call(Ce.ownerDocument||Ce,Ce,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},"_createNodeIterator"),at=o(function(Ce){return Ce instanceof d&&(typeof Ce.nodeName!="string"||typeof Ce.textContent!="string"||typeof Ce.removeChild!="function"||!(Ce.attributes instanceof f)||typeof Ce.removeAttribute!="function"||typeof Ce.setAttribute!="function"||typeof Ce.namespaceURI!="string"||typeof Ce.insertBefore!="function"||typeof Ce.hasChildNodes!="function")},"_isClobbered"),pn=o(function(Ce){return typeof l=="function"&&Ce instanceof l},"_isNode");function kt(Dt,Ce,nt){n3(Dt,Ct=>{Ct.call(e,Ce,nt,ht)})}o(kt,"_executeHooks");let Fn=o(function(Ce){let nt=null;if(kt(R.beforeSanitizeElements,Ce,null),at(Ce))return ft(Ce),!0;let Ct=Ve(Ce.nodeName);if(kt(R.uponSanitizeElement,Ce,{tagName:Ct,allowedTags:$}),Ce.hasChildNodes()&&!pn(Ce.firstElementChild)&&Qa(/<[/\w!]/g,Ce.innerHTML)&&Qa(/<[/\w!]/g,Ce.textContent)||Ce.nodeType===Gy.progressingInstruction||he&&Ce.nodeType===Gy.comment&&Qa(/<[/\w]/g,Ce.data))return ft(Ce),!0;if(!$[Ct]||le[Ct]){if(!le[Ct]&&Nr(Ct)&&(j.tagNameCheck instanceof RegExp&&Qa(j.tagNameCheck,Ct)||j.tagNameCheck instanceof Function&&j.tagNameCheck(Ct)))return!1;if(Ge&&!be[Ct]){let yr=T(Ce)||Ce.parentNode,rn=b(Ce)||Ce.childNodes;if(rn&&yr){let yn=rn.length;for(let Zr=yn-1;Zr>=0;--Zr){let Mi=y(rn[Zr],!0);Mi.__removalCount=(Ce.__removalCount||0)+1,yr.insertBefore(Mi,v(Ce))}}}return ft(Ce),!0}return Ce instanceof u&&!bt(Ce)||(Ct==="noscript"||Ct==="noembed"||Ct==="noframes")&&Qa(/<\/no(script|embed|frames)/i,Ce.innerHTML)?(ft(Ce),!0):(re&&Ce.nodeType===Gy.text&&(nt=Ce.textContent,n3([k,L,C],yr=>{nt=By(nt,yr," ")}),Ce.textContent!==nt&&(Py(e.removed,{element:Ce.cloneNode()}),Ce.textContent=nt)),kt(R.afterSanitizeElements,Ce,null),!1)},"_sanitizeElements"),tn=o(function(Ce,nt,Ct){if(ve&&(nt==="id"||nt==="name")&&(Ct in r||Ct in Ye))return!1;if(!(Q&&!Z[nt]&&Qa(I,nt))){if(!(ce&&Qa(M,nt))){if(!K[nt]||Z[nt]){if(!(Nr(Ce)&&(j.tagNameCheck instanceof RegExp&&Qa(j.tagNameCheck,Ce)||j.tagNameCheck instanceof Function&&j.tagNameCheck(Ce))&&(j.attributeNameCheck instanceof RegExp&&Qa(j.attributeNameCheck,nt)||j.attributeNameCheck instanceof Function&&j.attributeNameCheck(nt))||nt==="is"&&j.allowCustomizedBuiltInElements&&(j.tagNameCheck instanceof RegExp&&Qa(j.tagNameCheck,Ct)||j.tagNameCheck instanceof Function&&j.tagNameCheck(Ct))))return!1}else if(!oe[nt]){if(!Qa(G,By(Ct,B,""))){if(!((nt==="src"||nt==="xlink:href"||nt==="href")&&Ce!=="script"&&n4e(Ct,"data:")===0&&fe[Ce])){if(!(ee&&!Qa(P,By(Ct,B,"")))){if(Ct)return!1}}}}}}return!0},"_isValidAttribute"),Nr=o(function(Ce){return Ce!=="annotation-xml"&&PG(Ce,F)},"_isBasicCustomElement"),Mr=o(function(Ce){kt(R.beforeSanitizeAttributes,Ce,null);let{attributes:nt}=Ce;if(!nt||at(Ce))return;let Ct={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:K,forceKeepAttr:void 0},yr=nt.length;for(;yr--;){let rn=nt[yr],{name:yn,namespaceURI:Zr,value:Mi}=rn,ti=Ve(yn),An=yn==="value"?Mi:i4e(Mi);if(Ct.attrName=ti,Ct.attrValue=An,Ct.keepAttr=!0,Ct.forceKeepAttr=void 0,kt(R.uponSanitizeAttribute,Ce,Ct),An=Ct.attrValue,Pe&&(ti==="id"||ti==="name")&&(St(yn,Ce),An=qe+An),he&&Qa(/((--!?|])>)|<\/(style|title)/i,An)){St(yn,Ce);continue}if(Ct.forceKeepAttr||(St(yn,Ce),!Ct.keepAttr))continue;if(!te&&Qa(/\/>/i,An)){St(yn,Ce);continue}re&&n3([k,L,C],tt=>{An=By(An,tt," ")});let Hr=Ve(Ce.nodeName);if(tn(Hr,ti,An)){if(S&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!Zr)switch(m.getAttributeType(Hr,ti)){case"TrustedHTML":{An=S.createHTML(An);break}case"TrustedScriptURL":{An=S.createScriptURL(An);break}}try{Zr?Ce.setAttributeNS(Zr,yn,An):Ce.setAttribute(yn,An),at(Ce)?ft(Ce):OG(e.removed)}catch{}}}kt(R.afterSanitizeAttributes,Ce,null)},"_sanitizeAttributes"),$n=o(function Dt(Ce){let nt=null,Ct=vt(Ce);for(kt(R.beforeSanitizeShadowDOM,Ce,null);nt=Ct.nextNode();)kt(R.uponSanitizeShadowNode,nt,null),Fn(nt),Mr(nt),nt.content instanceof a&&Dt(nt.content);kt(R.afterSanitizeShadowDOM,Ce,null)},"_sanitizeShadowDOM");return e.sanitize=function(Dt){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},nt=null,Ct=null,yr=null,rn=null;if(Be=!Dt,Be&&(Dt=""),typeof Dt!="string"&&!pn(Dt))if(typeof Dt.toString=="function"){if(Dt=Dt.toString(),typeof Dt!="string")throw Fy("dirty is not a string, aborting")}else throw Fy("toString is not a function");if(!e.isSupported)return Dt;if(ye||Yt(Ce),e.removed=[],typeof Dt=="string"&&(Ne=!1),Ne){if(Dt.nodeName){let Mi=Ve(Dt.nodeName);if(!$[Mi]||le[Mi])throw Fy("root node is forbidden and cannot be sanitized in-place")}}else if(Dt instanceof l)nt=dt(""),Ct=nt.ownerDocument.importNode(Dt,!0),Ct.nodeType===Gy.element&&Ct.nodeName==="BODY"||Ct.nodeName==="HTML"?nt=Ct:nt.appendChild(Ct);else{if(!Se&&!re&&!J&&Dt.indexOf("<")===-1)return S&&Oe?S.createHTML(Dt):Dt;if(nt=dt(Dt),!nt)return Se?null:Oe?w:""}nt&&se&&ft(nt.firstChild);let yn=vt(Ne?Dt:nt);for(;yr=yn.nextNode();)Fn(yr),Mr(yr),yr.content instanceof a&&$n(yr.content);if(Ne)return Dt;if(Se){if(W)for(rn=A.call(nt.ownerDocument);nt.firstChild;)rn.appendChild(nt.firstChild);else rn=nt;return(K.shadowroot||K.shadowrootmode)&&(rn=O.call(n,rn,!0)),rn}let Zr=J?nt.outerHTML:nt.innerHTML;return J&&$["!doctype"]&&nt.ownerDocument&&nt.ownerDocument.doctype&&nt.ownerDocument.doctype.name&&Qa(qG,nt.ownerDocument.doctype.name)&&(Zr=" +`+Zr),re&&n3([k,L,C],Mi=>{Zr=By(Zr,Mi," ")}),S&&Oe?S.createHTML(Zr):Zr},e.setConfig=function(){let Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Yt(Dt),ye=!0},e.clearConfig=function(){ht=null,ye=!1},e.isValidAttribute=function(Dt,Ce,nt){ht||Yt({});let Ct=Ve(Dt),yr=Ve(Ce);return tn(Ct,yr,nt)},e.addHook=function(Dt,Ce){typeof Ce=="function"&&Py(R[Dt],Ce)},e.removeHook=function(Dt,Ce){if(Ce!==void 0){let nt=t4e(R[Dt],Ce);return nt===-1?void 0:r4e(R[Dt],nt,1)[0]}return OG(R[Dt])},e.removeHooks=function(Dt){R[Dt]=[]},e.removeAllHooks=function(){R=VG()},e}var UG,IG,Zbe,Jbe,e4e,Za,So,HG,A7,_7,n3,t4e,OG,Py,r4e,a3,w7,PG,By,n4e,i4e,hl,Qa,Fy,BG,k7,E7,o4e,S7,l4e,FG,$G,C7,GG,i3,c4e,u4e,h4e,f4e,d4e,WG,p4e,m4e,qG,g4e,zG,Gy,y4e,v4e,VG,ph,D7=N(()=>{"use strict";({entries:UG,setPrototypeOf:IG,isFrozen:Zbe,getPrototypeOf:Jbe,getOwnPropertyDescriptor:e4e}=Object),{freeze:Za,seal:So,create:HG}=Object,{apply:A7,construct:_7}=typeof Reflect<"u"&&Reflect;Za||(Za=o(function(e){return e},"freeze"));So||(So=o(function(e){return e},"seal"));A7||(A7=o(function(e,r,n){return e.apply(r,n)},"apply"));_7||(_7=o(function(e,r){return new e(...r)},"construct"));n3=Ja(Array.prototype.forEach),t4e=Ja(Array.prototype.lastIndexOf),OG=Ja(Array.prototype.pop),Py=Ja(Array.prototype.push),r4e=Ja(Array.prototype.splice),a3=Ja(String.prototype.toLowerCase),w7=Ja(String.prototype.toString),PG=Ja(String.prototype.match),By=Ja(String.prototype.replace),n4e=Ja(String.prototype.indexOf),i4e=Ja(String.prototype.trim),hl=Ja(Object.prototype.hasOwnProperty),Qa=Ja(RegExp.prototype.test),Fy=a4e(TypeError);o(Ja,"unapply");o(a4e,"unconstruct");o(Ar,"addToSet");o(s4e,"cleanArray");o(sd,"clone");o($y,"lookupGetter");BG=Za(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),k7=Za(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),E7=Za(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),o4e=Za(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),S7=Za(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),l4e=Za(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),FG=Za(["#text"]),$G=Za(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),C7=Za(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),GG=Za(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),i3=Za(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),c4e=So(/\{\{[\w\W]*|[\w\W]*\}\}/gm),u4e=So(/<%[\w\W]*|[\w\W]*%>/gm),h4e=So(/\$\{[\w\W]*/gm),f4e=So(/^data-[\-\w.\u00B7-\uFFFF]+$/),d4e=So(/^aria-[\-\w]+$/),WG=So(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),p4e=So(/^(?:\w+script|data):/i),m4e=So(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),qG=So(/^html$/i),g4e=So(/^[a-z][.\w]*(-[.\w]+)+$/i),zG=Object.freeze({__proto__:null,ARIA_ATTR:d4e,ATTR_WHITESPACE:m4e,CUSTOM_ELEMENT:g4e,DATA_ATTR:f4e,DOCTYPE_NAME:qG,ERB_EXPR:u4e,IS_ALLOWED_URI:WG,IS_SCRIPT_OR_DATA:p4e,MUSTACHE_EXPR:c4e,TMPLIT_EXPR:h4e}),Gy={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},y4e=o(function(){return typeof window>"u"?null:window},"getGlobal"),v4e=o(function(e,r){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null,i="data-tt-policy-suffix";r&&r.hasAttribute(i)&&(n=r.getAttribute(i));let a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}},"_createTrustedTypesPolicy"),VG=o(function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},"_createHooksMap");o(YG,"createDOMPurify");ph=YG()});var SV={};ur(SV,{ParseError:()=>gt,SETTINGS_SCHEMA:()=>Hy,__defineFunction:()=>Rt,__defineMacro:()=>ue,__defineSymbol:()=>z,__domTree:()=>EV,__parse:()=>bV,__renderToDomTree:()=>N3,__renderToHTMLTree:()=>wV,__setFontMetrics:()=>Az,default:()=>c5e,render:()=>vA,renderToString:()=>xV,version:()=>kV});function S4e(t){return String(t).replace(E4e,e=>k4e[e])}function D4e(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}function P4e(t){for(var e=0;e=i[0]&&t<=i[1])return r.name}return null}function Cz(t){for(var e=0;e=y3[e]&&t<=y3[e+1])return!0;return!1}function Az(t,e){Kl[t]=e}function rA(t,e,r){if(!Kl[e])throw new Error("Font metrics not found for font: "+e+".");var n=t.charCodeAt(0),i=Kl[e][n];if(!i&&t[0]in jG&&(n=jG[t[0]].charCodeAt(0),i=Kl[e][n]),!i&&r==="text"&&Cz(n)&&(i=Kl[e][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}function Y4e(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!L7[e]){var r=L7[e]={cssEmPerMu:s3.quad[e]/18};for(var n in s3)s3.hasOwnProperty(n)&&(r[n]=s3[n][e])}return L7[e]}function ZG(t){if(t instanceof Ss)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function Z4e(t){if(t instanceof cd)return t;throw new Error("Expected span but got "+String(t)+".")}function z(t,e,r,n,i,a){Ln[t][i]={font:e,group:r,replace:n},a&&n&&(Ln[t][n]=Ln[t][i])}function Rt(t){for(var{type:e,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=t,l={type:e,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},u=0;u0&&(a.push(d3(s,e)),s=[]),a.push(n[l]));s.length>0&&a.push(d3(s,e));var h;r?(h=d3(Pi(r,e,!0)),h.classes=["tag"],a.push(h)):i&&a.push(i);var f=uu(["katex-html"],a);if(f.setAttribute("aria-hidden","true"),h){var d=h.children[0];d.style.height=Et(f.height+f.depth),f.depth&&(d.style.verticalAlign=Et(-f.depth))}return f}function $z(t){return new ld(t)}function M7(t){if(!t)return!1;if(t.type==="mi"&&t.children.length===1){var e=t.children[0];return e instanceof Ao&&e.text==="."}else if(t.type==="mo"&&t.children.length===1&&t.getAttribute("separator")==="true"&&t.getAttribute("lspace")==="0em"&&t.getAttribute("rspace")==="0em"){var r=t.children[0];return r instanceof Ao&&r.text===","}else return!1}function nz(t,e,r,n,i){var a=Cs(t,r),s;a.length===1&&a[0]instanceof es&&er.contains(["mrow","mtable"],a[0].type)?s=a[0]:s=new mt.MathNode("mrow",a);var l=new mt.MathNode("annotation",[new mt.TextNode(e)]);l.setAttribute("encoding","application/x-tex");var u=new mt.MathNode("semantics",[s,l]),h=new mt.MathNode("math",[u]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&h.setAttribute("display","block");var f=i?"katex":"katex-mathml";return Fe.makeSpan([f],[h])}function xr(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function sA(t){var e=_3(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function _3(t){return t&&(t.type==="atom"||e3e.hasOwnProperty(t.type))?t:null}function Uz(t,e){var r=Pi(t.body,e,!0);return L3e([t.mclass],r,e)}function Hz(t,e){var r,n=Cs(t.body,e);return t.mclass==="minner"?r=new mt.MathNode("mpadded",n):t.mclass==="mord"?t.isCharacterBox?(r=n[0],r.type="mi"):r=new mt.MathNode("mi",n):(t.isCharacterBox?(r=n[0],r.type="mo"):r=new mt.MathNode("mo",n),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}function M3e(t,e,r){var n=R3e[t];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[e[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[a],[]),l=r.callFunction("\\\\cdright",[e[1]],[]),u={type:"ordgroup",mode:"math",body:[i,s,l]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var h={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[h],[])}default:return{type:"textord",text:" ",mode:"math"}}}function I3e(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new gt("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var n=[],i=[n],a=0;a-1))if("<>AV".indexOf(h)>-1)for(var d=0;d<2;d++){for(var p=!0,m=u+1;mAV=|." after @',s[u]);var g=M3e(h,f,t),y={type:"styling",body:[g],mode:"math",style:"display"};n.push(y),l=iz()}a%2===0?n.push(l):n.shift(),n=[],i.push(n)}t.gullet.endGroup(),t.gullet.endGroup();var x=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:x,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}function L3(t,e){var r=_3(t);if(r&&er.contains(Y3e,r.text))return r;throw r?new gt("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new gt("Invalid delimiter type '"+t.type+"'",t)}function oz(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}function Zl(t){for(var{type:e,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=t,l={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},u=0;u1||!f)&&y.pop(),v.length{"use strict";Zs=class t{static{o(this,"SourceLocation")}constructor(e,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=n}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new t(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}},_o=class t{static{o(this,"Token")}constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new t(r,Zs.range(this,e))}},gt=class t{static{o(this,"ParseError")}constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+e,i,a,s=r&&r.loc;if(s&&s.start<=s.end){var l=s.lexer.input;i=s.start,a=s.end,i===l.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var u=l.slice(i,a).replace(/[^]/g,"$&\u0332"),h;i>15?h="\u2026"+l.slice(i-15,i):h=l.slice(0,i);var f;a+15":">","<":"<",'"':""","'":"'"},E4e=/[&><"']/g;o(S4e,"escape");Sz=o(function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},"getBaseElem"),C4e=o(function(e){var r=Sz(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},"isCharacterBox"),A4e=o(function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},"assert"),_4e=o(function(e){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},"protocolFromUrl"),er={contains:x4e,deflt:b4e,escape:S4e,hyphenate:w4e,getBaseElem:Sz,isCharacterBox:C4e,protocolFromUrl:_4e},Hy={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:o(t=>"#"+t,"cliProcessor")},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:o((t,e)=>(e.push(t),e),"cliProcessor")},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:o(t=>Math.max(0,t),"processor"),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:o(t=>Math.max(0,t),"processor"),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:o(t=>Math.max(0,t),"processor"),cli:"-e, --max-expand ",cliProcessor:o(t=>t==="Infinity"?1/0:parseInt(t),"cliProcessor")},globalGroup:{type:"boolean",cli:!1}};o(D4e,"getDefaultValue");qy=class{static{o(this,"Settings")}constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in Hy)if(Hy.hasOwnProperty(r)){var n=Hy[r];this[r]=e[r]!==void 0?n.processor?n.processor(e[r]):e[r]:D4e(n)}}reportNonstrict(e,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(e,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new gt("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,n){var i=this.strict;if(typeof i=="function")try{i=i(e,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=er.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}},Xl=class{static{o(this,"Style")}constructor(e,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=n}sup(){return jl[L4e[this.id]]}sub(){return jl[R4e[this.id]]}fracNum(){return jl[N4e[this.id]]}fracDen(){return jl[M4e[this.id]]}cramp(){return jl[I4e[this.id]]}text(){return jl[O4e[this.id]]}isTight(){return this.size>=2}},tA=0,v3=1,x0=2,lu=3,Yy=4,Co=5,b0=6,ts=7,jl=[new Xl(tA,0,!1),new Xl(v3,0,!0),new Xl(x0,1,!1),new Xl(lu,1,!0),new Xl(Yy,2,!1),new Xl(Co,2,!0),new Xl(b0,3,!1),new Xl(ts,3,!0)],L4e=[Yy,Co,Yy,Co,b0,ts,b0,ts],R4e=[Co,Co,Co,Co,ts,ts,ts,ts],N4e=[x0,lu,Yy,Co,b0,ts,b0,ts],M4e=[lu,lu,Co,Co,ts,ts,ts,ts],I4e=[v3,v3,lu,lu,Co,Co,ts,ts],O4e=[tA,v3,x0,lu,x0,lu,x0,lu],nr={DISPLAY:jl[tA],TEXT:jl[x0],SCRIPT:jl[Yy],SCRIPTSCRIPT:jl[b0]},U7=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];o(P4e,"scriptFromCodepoint");y3=[];U7.forEach(t=>t.blocks.forEach(e=>y3.push(...e)));o(Cz,"supportedCodepoint");v0=80,B4e=o(function(e,r){return"M95,"+(622+e+r)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 @@ -10,7 +10,7 @@ c5.3,-9.3,12,-14,20,-14 H400000v`+(40+e)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z -M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},"sqrtMain"),M4e=o(function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119 +M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},"sqrtMain"),F4e=o(function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+e/2.084+" -"+e+` @@ -20,7 +20,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5, c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z -M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},"sqrtSize1"),I4e=o(function(e,r){return"M983 "+(10+e+r)+` +M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},"sqrtSize1"),$4e=o(function(e,r){return"M983 "+(10+e+r)+` l`+e/3.13+" -"+e+` c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 @@ -29,7 +29,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z -M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},"sqrtSize2"),O4e=o(function(e,r){return"M424,"+(2398+e+r)+` +M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},"sqrtSize2"),G4e=o(function(e,r){return"M424,"+(2398+e+r)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 @@ -39,18 +39,18 @@ v`+(40+e)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+r+` -h400000v`+(40+e)+"h-400000z"},"sqrtSize3"),P4e=o(function(e,r){return"M473,"+(2713+e+r)+` +h400000v`+(40+e)+"h-400000z"},"sqrtSize3"),z4e=o(function(e,r){return"M473,"+(2713+e+r)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, -606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},"sqrtSize4"),B4e=o(function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},"phasePath"),F4e=o(function(e,r,n){var i=n-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+` +606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},"sqrtSize4"),V4e=o(function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},"phasePath"),U4e=o(function(e,r,n){var i=n-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+` H742v`+i+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 -219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},"sqrtTall"),$4e=o(function(e,r,n){r=1e3*r;var i="";switch(e){case"sqrtMain":i=N4e(r,p0);break;case"sqrtSize1":i=M4e(r,p0);break;case"sqrtSize2":i=I4e(r,p0);break;case"sqrtSize3":i=O4e(r,p0);break;case"sqrtSize4":i=P4e(r,p0);break;case"sqrtTall":i=F4e(r,p0,n)}return i},"sqrtPath"),z4e=o(function(e,r){switch(e){case"\u239C":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"\u2223":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"\u2225":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"\u239F":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"\u23A2":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"\u23A5":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"\u23AA":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"\u23D0":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"\u2016":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},"innerPath"),Vz={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},"sqrtTall"),H4e=o(function(e,r,n){r=1e3*r;var i="";switch(e){case"sqrtMain":i=B4e(r,v0);break;case"sqrtSize1":i=F4e(r,v0);break;case"sqrtSize2":i=$4e(r,v0);break;case"sqrtSize3":i=G4e(r,v0);break;case"sqrtSize4":i=z4e(r,v0);break;case"sqrtTall":i=U4e(r,v0,n)}return i},"sqrtPath"),W4e=o(function(e,r){switch(e){case"\u239C":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"\u2223":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"\u2225":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"\u239F":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"\u23A2":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"\u23A5":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"\u23AA":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"\u23D0":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"\u2016":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},"innerPath"),XG={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 @@ -225,7 +225,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z` c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},G4e=o(function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84 +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},q4e=o(function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 @@ -253,24 +253,24 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},"tallDelim"),Jf=class{static{o(this,"DocumentFragment")}constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return er.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;rr.toText(),"toText");return this.children.map(e).join("")}},Kl={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},n3={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Uz={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};o(TG,"setFontMetrics");o(X7,"getCharacterMetrics");w7={};o(V4e,"getGlobalMetrics");U4e=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Hz=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Wz=o(function(e,r){return r.size<2?e:U4e[e-1][r.size-1]},"sizeAtStyle"),g3=class t{static{o(this,"Options")}constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||t.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=Hz[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return new t(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Wz(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:Hz[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=Wz(t.BASESIZE,e);return this.size===r&&this.textSize===t.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=V4e(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};g3.BASESIZE=6;P7={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},H4e={ex:!0,em:!0,mu:!0},wG=o(function(e){return typeof e!="string"&&(e=e.unit),e in P7||e in H4e||e==="ex"},"validUnit"),ri=o(function(e,r){var n;if(e.unit in P7)n=P7[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,e.unit==="ex")n=i.fontMetrics().xHeight;else if(e.unit==="em")n=i.fontMetrics().quad;else throw new mt("Invalid unit: '"+e.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*n,r.maxSize)},"calculateSize"),Et=o(function(e){return+e.toFixed(4)+"em"},"makeEm"),ph=o(function(e){return e.filter(r=>r).join(" ")},"createClass"),kG=o(function(e,r,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},"initNode"),EG=o(function(e){var r=document.createElement(e);r.className=ph(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var a=0;a/=\x00-\x1f]/,SG=o(function(e){var r="<"+e;this.classes.length&&(r+=' class="'+er.escape(ph(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=er.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+er.escape(n)+'"');for(var a in this.attributes)if(this.attributes.hasOwnProperty(a)){if(W4e.test(a))throw new mt("Invalid attribute name '"+a+"'");r+=" "+a+'="'+er.escape(this.attributes[a])+'"'}r+=">";for(var s=0;s",r},"toMarkup"),ed=class{static{o(this,"Span")}constructor(e,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,kG.call(this,e,n,i),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return er.contains(this.classes,e)}toNode(){return EG.call(this,"span")}toMarkup(){return SG.call(this,"span")}},Yy=class{static{o(this,"Anchor")}constructor(e,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,kG.call(this,r,i),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return er.contains(this.classes,e)}toNode(){return EG.call(this,"a")}toMarkup(){return SG.call(this,"a")}},B7=class{static{o(this,"Img")}constructor(e,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return er.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e=''+er.escape(this.alt)+'0&&(r=document.createElement("span"),r.style.marginRight=Et(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=ph(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=er.hyphenate(i)+":"+this.style[i]+";");n&&(e=!0,r+=' style="'+er.escape(n)+'"');var a=er.escape(this.text);return e?(r+=">",r+=a,r+="",r):a}},hl=class{static{o(this,"SvgNode")}constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i':''}},Xy=class{static{o(this,"LineNode")}constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var e="","\\gt",!0);G(H,re,Ee,"\u2208","\\in",!0);G(H,re,Ee,"\uE020","\\@not");G(H,re,Ee,"\u2282","\\subset",!0);G(H,re,Ee,"\u2283","\\supset",!0);G(H,re,Ee,"\u2286","\\subseteq",!0);G(H,re,Ee,"\u2287","\\supseteq",!0);G(H,ke,Ee,"\u2288","\\nsubseteq",!0);G(H,ke,Ee,"\u2289","\\nsupseteq",!0);G(H,re,Ee,"\u22A8","\\models");G(H,re,Ee,"\u2190","\\leftarrow",!0);G(H,re,Ee,"\u2264","\\le");G(H,re,Ee,"\u2264","\\leq",!0);G(H,re,Ee,"<","\\lt",!0);G(H,re,Ee,"\u2192","\\rightarrow",!0);G(H,re,Ee,"\u2192","\\to");G(H,ke,Ee,"\u2271","\\ngeq",!0);G(H,ke,Ee,"\u2270","\\nleq",!0);G(H,re,hu,"\xA0","\\ ");G(H,re,hu,"\xA0","\\space");G(H,re,hu,"\xA0","\\nobreakspace");G(it,re,hu,"\xA0","\\ ");G(it,re,hu,"\xA0"," ");G(it,re,hu,"\xA0","\\space");G(it,re,hu,"\xA0","\\nobreakspace");G(H,re,hu,null,"\\nobreak");G(H,re,hu,null,"\\allowbreak");G(H,re,k3,",",",");G(H,re,k3,";",";");G(H,ke,It,"\u22BC","\\barwedge",!0);G(H,ke,It,"\u22BB","\\veebar",!0);G(H,re,It,"\u2299","\\odot",!0);G(H,re,It,"\u2295","\\oplus",!0);G(H,re,It,"\u2297","\\otimes",!0);G(H,re,Re,"\u2202","\\partial",!0);G(H,re,It,"\u2298","\\oslash",!0);G(H,ke,It,"\u229A","\\circledcirc",!0);G(H,ke,It,"\u22A1","\\boxdot",!0);G(H,re,It,"\u25B3","\\bigtriangleup");G(H,re,It,"\u25BD","\\bigtriangledown");G(H,re,It,"\u2020","\\dagger");G(H,re,It,"\u22C4","\\diamond");G(H,re,It,"\u22C6","\\star");G(H,re,It,"\u25C3","\\triangleleft");G(H,re,It,"\u25B9","\\triangleright");G(H,re,Ks,"{","\\{");G(it,re,Re,"{","\\{");G(it,re,Re,"{","\\textbraceleft");G(H,re,Ja,"}","\\}");G(it,re,Re,"}","\\}");G(it,re,Re,"}","\\textbraceright");G(H,re,Ks,"{","\\lbrace");G(H,re,Ja,"}","\\rbrace");G(H,re,Ks,"[","\\lbrack",!0);G(it,re,Re,"[","\\lbrack",!0);G(H,re,Ja,"]","\\rbrack",!0);G(it,re,Re,"]","\\rbrack",!0);G(H,re,Ks,"(","\\lparen",!0);G(H,re,Ja,")","\\rparen",!0);G(it,re,Re,"<","\\textless",!0);G(it,re,Re,">","\\textgreater",!0);G(H,re,Ks,"\u230A","\\lfloor",!0);G(H,re,Ja,"\u230B","\\rfloor",!0);G(H,re,Ks,"\u2308","\\lceil",!0);G(H,re,Ja,"\u2309","\\rceil",!0);G(H,re,Re,"\\","\\backslash");G(H,re,Re,"\u2223","|");G(H,re,Re,"\u2223","\\vert");G(it,re,Re,"|","\\textbar",!0);G(H,re,Re,"\u2225","\\|");G(H,re,Re,"\u2225","\\Vert");G(it,re,Re,"\u2225","\\textbardbl");G(it,re,Re,"~","\\textasciitilde");G(it,re,Re,"\\","\\textbackslash");G(it,re,Re,"^","\\textasciicircum");G(H,re,Ee,"\u2191","\\uparrow",!0);G(H,re,Ee,"\u21D1","\\Uparrow",!0);G(H,re,Ee,"\u2193","\\downarrow",!0);G(H,re,Ee,"\u21D3","\\Downarrow",!0);G(H,re,Ee,"\u2195","\\updownarrow",!0);G(H,re,Ee,"\u21D5","\\Updownarrow",!0);G(H,re,Si,"\u2210","\\coprod");G(H,re,Si,"\u22C1","\\bigvee");G(H,re,Si,"\u22C0","\\bigwedge");G(H,re,Si,"\u2A04","\\biguplus");G(H,re,Si,"\u22C2","\\bigcap");G(H,re,Si,"\u22C3","\\bigcup");G(H,re,Si,"\u222B","\\int");G(H,re,Si,"\u222B","\\intop");G(H,re,Si,"\u222C","\\iint");G(H,re,Si,"\u222D","\\iiint");G(H,re,Si,"\u220F","\\prod");G(H,re,Si,"\u2211","\\sum");G(H,re,Si,"\u2A02","\\bigotimes");G(H,re,Si,"\u2A01","\\bigoplus");G(H,re,Si,"\u2A00","\\bigodot");G(H,re,Si,"\u222E","\\oint");G(H,re,Si,"\u222F","\\oiint");G(H,re,Si,"\u2230","\\oiiint");G(H,re,Si,"\u2A06","\\bigsqcup");G(H,re,Si,"\u222B","\\smallint");G(it,re,y0,"\u2026","\\textellipsis");G(H,re,y0,"\u2026","\\mathellipsis");G(it,re,y0,"\u2026","\\ldots",!0);G(H,re,y0,"\u2026","\\ldots",!0);G(H,re,y0,"\u22EF","\\@cdots",!0);G(H,re,y0,"\u22F1","\\ddots",!0);G(H,re,Re,"\u22EE","\\varvdots");G(it,re,Re,"\u22EE","\\varvdots");G(H,re,Vn,"\u02CA","\\acute");G(H,re,Vn,"\u02CB","\\grave");G(H,re,Vn,"\xA8","\\ddot");G(H,re,Vn,"~","\\tilde");G(H,re,Vn,"\u02C9","\\bar");G(H,re,Vn,"\u02D8","\\breve");G(H,re,Vn,"\u02C7","\\check");G(H,re,Vn,"^","\\hat");G(H,re,Vn,"\u20D7","\\vec");G(H,re,Vn,"\u02D9","\\dot");G(H,re,Vn,"\u02DA","\\mathring");G(H,re,tr,"\uE131","\\@imath");G(H,re,tr,"\uE237","\\@jmath");G(H,re,Re,"\u0131","\u0131");G(H,re,Re,"\u0237","\u0237");G(it,re,Re,"\u0131","\\i",!0);G(it,re,Re,"\u0237","\\j",!0);G(it,re,Re,"\xDF","\\ss",!0);G(it,re,Re,"\xE6","\\ae",!0);G(it,re,Re,"\u0153","\\oe",!0);G(it,re,Re,"\xF8","\\o",!0);G(it,re,Re,"\xC6","\\AE",!0);G(it,re,Re,"\u0152","\\OE",!0);G(it,re,Re,"\xD8","\\O",!0);G(it,re,Vn,"\u02CA","\\'");G(it,re,Vn,"\u02CB","\\`");G(it,re,Vn,"\u02C6","\\^");G(it,re,Vn,"\u02DC","\\~");G(it,re,Vn,"\u02C9","\\=");G(it,re,Vn,"\u02D8","\\u");G(it,re,Vn,"\u02D9","\\.");G(it,re,Vn,"\xB8","\\c");G(it,re,Vn,"\u02DA","\\r");G(it,re,Vn,"\u02C7","\\v");G(it,re,Vn,"\xA8",'\\"');G(it,re,Vn,"\u02DD","\\H");G(it,re,Vn,"\u25EF","\\textcircled");CG={"--":!0,"---":!0,"``":!0,"''":!0};G(it,re,Re,"\u2013","--",!0);G(it,re,Re,"\u2013","\\textendash");G(it,re,Re,"\u2014","---",!0);G(it,re,Re,"\u2014","\\textemdash");G(it,re,Re,"\u2018","`",!0);G(it,re,Re,"\u2018","\\textquoteleft");G(it,re,Re,"\u2019","'",!0);G(it,re,Re,"\u2019","\\textquoteright");G(it,re,Re,"\u201C","``",!0);G(it,re,Re,"\u201C","\\textquotedblleft");G(it,re,Re,"\u201D","''",!0);G(it,re,Re,"\u201D","\\textquotedblright");G(H,re,Re,"\xB0","\\degree",!0);G(it,re,Re,"\xB0","\\degree");G(it,re,Re,"\xB0","\\textdegree",!0);G(H,re,Re,"\xA3","\\pounds");G(H,re,Re,"\xA3","\\mathsterling",!0);G(it,re,Re,"\xA3","\\pounds");G(it,re,Re,"\xA3","\\textsterling",!0);G(H,ke,Re,"\u2720","\\maltese");G(it,ke,Re,"\u2720","\\maltese");Yz='0123456789/@."';for(i3=0;i30)return ul(a,h,i,r,s.concat(f));if(u){var d,p;if(u==="boldsymbol"){var m=Z4e(a,i,r,s,n);d=m.fontName,p=[m.fontClass]}else l?(d=DG[u].fontName,p=[u]):(d=c3(u,r.fontWeight,r.fontShape),p=[u,r.fontWeight,r.fontShape]);if(E3(a,d,i).metrics)return ul(a,d,i,r,s.concat(p));if(CG.hasOwnProperty(a)&&d.slice(0,10)==="Typewriter"){for(var g=[],y=0;y{if(ph(t.classes)!==ph(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in t.style)if(t.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;for(var i in e.style)if(e.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;return!0},"canCombine"),t3e=o(t=>{for(var e=0;er&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>i&&(i=s.maxFontSize)}e.height=r,e.depth=n,e.maxFontSize=i},"sizeElementFromChildren"),Ts=o(function(e,r,n,i){var a=new ed(e,r,n,i);return j7(a),a},"makeSpan"),AG=o((t,e,r,n)=>new ed(t,e,r,n),"makeSvgSpan"),r3e=o(function(e,r,n){var i=Ts([e],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=Et(i.height),i.maxFontSize=1,i},"makeLineSpan"),n3e=o(function(e,r,n,i){var a=new Yy(e,r,n,i);return j7(a),a},"makeAnchor"),_G=o(function(e){var r=new Jf(e);return j7(r),r},"makeFragment"),i3e=o(function(e,r){return e instanceof Jf?Ts([],[e],r):e},"wrapFragment"),a3e=o(function(e){if(e.positionType==="individualShift"){for(var r=e.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,s=1;s{var r=Ts(["mspace"],[],e),n=ri(t,e);return r.style.marginRight=Et(n),r},"makeGlue"),c3=o(function(e,r,n){var i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}var a;return r==="textbf"&&n==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",i+"-"+a},"retrieveTextFontName"),DG={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},LG={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},l3e=o(function(e,r){var[n,i,a]=LG[e],s=new Ql(n),l=new hl([s],{width:Et(i),height:Et(a),style:"width:"+Et(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),u=AG(["overlay"],[l],r);return u.height=a,u.style.height=Et(a),u.style.width=Et(i),u},"staticSvg"),Fe={fontMap:DG,makeSymbol:ul,mathsym:Q4e,makeSpan:Ts,makeSvgSpan:AG,makeLineSpan:r3e,makeAnchor:n3e,makeFragment:_G,wrapFragment:i3e,makeVList:s3e,makeOrd:J4e,makeGlue:o3e,staticSvg:l3e,svgData:LG,tryCombineChars:t3e},ti={number:3,unit:"mu"},Zf={number:4,unit:"mu"},su={number:5,unit:"mu"},c3e={mord:{mop:ti,mbin:Zf,mrel:su,minner:ti},mop:{mord:ti,mop:ti,mrel:su,minner:ti},mbin:{mord:Zf,mop:Zf,mopen:Zf,minner:Zf},mrel:{mord:su,mop:su,mopen:su,minner:su},mopen:{},mclose:{mop:ti,mbin:Zf,mrel:su,minner:ti},mpunct:{mord:ti,mop:ti,mrel:su,mopen:ti,mclose:ti,mpunct:ti,minner:ti},minner:{mord:ti,mop:ti,mbin:Zf,mrel:su,mopen:ti,mpunct:ti,minner:ti}},u3e={mord:{mop:ti},mop:{mord:ti,mop:ti},mbin:{},mrel:{},mopen:{},mclose:{mop:ti},mpunct:{},minner:{mop:ti}},RG={},v3={},x3={};o(Nt,"defineFunction");o(td,"defineFunctionBuilders");b3=o(function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},"normalizeArgument"),mi=o(function(e){return e.type==="ordgroup"?e.body:[e]},"ordargument"),cu=Fe.makeSpan,h3e=["leftmost","mbin","mopen","mrel","mop","mpunct"],f3e=["rightmost","mrel","mclose","mpunct"],d3e={display:rr.DISPLAY,text:rr.TEXT,script:rr.SCRIPT,scriptscript:rr.SCRIPTSCRIPT},p3e={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Bi=o(function(e,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],s=0;s{var v=y.classes[0],x=g.classes[0];v==="mbin"&&er.contains(f3e,x)?y.classes[0]="mord":x==="mbin"&&er.contains(h3e,v)&&(g.classes[0]="mord")},{node:d},p,m),Kz(a,(g,y)=>{var v=$7(y),x=$7(g),b=v&&x?g.hasClass("mtight")?u3e[v][x]:c3e[v][x]:null;if(b)return Fe.makeGlue(b,h)},{node:d},p,m),a},"buildExpression"),Kz=o(function t(e,r,n,i,a){i&&e.push(i);for(var s=0;sp=>{e.splice(d+1,0,p),s++})(s)}i&&e.pop()},"traverseNonSpaceNodes"),NG=o(function(e){return e instanceof Jf||e instanceof Yy||e instanceof ed&&e.hasClass("enclosing")?e:null},"checkPartialGroup"),m3e=o(function t(e,r){var n=NG(e);if(n){var i=n.children;if(i.length){if(r==="right")return t(i[i.length-1],"right");if(r==="left")return t(i[0],"left")}}return e},"getOutermostNode"),$7=o(function(e,r){return e?(r&&(e=m3e(e,r)),p3e[e.classes[0]]||null):null},"getTypeOfDomTree"),jy=o(function(e,r){var n=["nulldelimiter"].concat(e.baseSizingClasses());return cu(r.concat(n))},"makeNullDelimiter"),Fr=o(function(e,r,n){if(!e)return cu();if(v3[e.type]){var i=v3[e.type](e,r);if(n&&r.size!==n.size){i=cu(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new mt("Got group of unknown type: '"+e.type+"'")},"buildGroup");o(u3,"buildHTMLUnbreakable");o(z7,"buildHTML");o(MG,"newDocumentFragment");Qa=class{static{o(this,"MathNode")}constructor(e,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=ph(this.classes));for(var n=0;n0&&(e+=' class ="'+er.escape(ph(this.classes))+'"'),e+=">";for(var n=0;n",e}toText(){return this.children.map(e=>e.toText()).join("")}},So=class{static{o(this,"TextNode")}constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return er.escape(this.toText())}toText(){return this.text}},G7=class{static{o(this,"SpaceNode")}constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",Et(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},dt={MathNode:Qa,TextNode:So,SpaceNode:G7,newDocumentFragment:MG},Ao=o(function(e,r,n){return Cn[r][e]&&Cn[r][e].replace&&e.charCodeAt(0)!==55349&&!(CG.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=Cn[r][e].replace),new dt.TextNode(e)},"makeText"),K7=o(function(e){return e.length===1?e[0]:new dt.MathNode("mrow",e)},"makeRow"),Q7=o(function(e,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var i=e.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var a=e.text;if(er.contains(["\\imath","\\jmath"],a))return null;Cn[i][a]&&Cn[i][a].replace&&(a=Cn[i][a].replace);var s=Fe.fontMap[n].fontName;return X7(a,s,i)?Fe.fontMap[n].variant:null},"getVariant");o(S7,"isNumberPunctuation");ks=o(function(e,r,n){if(e.length===1){var i=yn(e[0],r);return n&&i instanceof Qa&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],s,l=0;l=1&&(s.type==="mn"||S7(s))){var h=u.children[0];h instanceof Qa&&h.type==="mn"&&(h.children=[...s.children,...h.children],a.pop())}else if(s.type==="mi"&&s.children.length===1){var f=s.children[0];if(f instanceof So&&f.text==="\u0338"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var d=u.children[0];d instanceof So&&d.text.length>0&&(d.text=d.text.slice(0,1)+"\u0338"+d.text.slice(1),a.pop())}}}a.push(u),s=u}return a},"buildExpression"),mh=o(function(e,r,n){return K7(ks(e,r,n))},"buildExpressionRow"),yn=o(function(e,r){if(!e)return new dt.MathNode("mrow");if(x3[e.type]){var n=x3[e.type](e,r);return n}else throw new mt("Got group of unknown type: '"+e.type+"'")},"buildGroup");o(Qz,"buildMathML");IG=o(function(e){return new g3({style:e.displayMode?rr.DISPLAY:rr.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},"optionsFromSettings"),OG=o(function(e,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),e=Fe.makeSpan(n,[e])}return e},"displayWrap"),g3e=o(function(e,r,n){var i=IG(n),a;if(n.output==="mathml")return Qz(e,r,i,n.displayMode,!0);if(n.output==="html"){var s=z7(e,i);a=Fe.makeSpan(["katex"],[s])}else{var l=Qz(e,r,i,n.displayMode,!1),u=z7(e,i);a=Fe.makeSpan(["katex"],[l,u])}return OG(a,n)},"buildTree"),y3e=o(function(e,r,n){var i=IG(n),a=z7(e,i),s=Fe.makeSpan(["katex"],[a]);return OG(s,n)},"buildHTMLTree"),v3e={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},x3e=o(function(e){var r=new dt.MathNode("mo",[new dt.TextNode(v3e[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},"mathMLnode"),b3e={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},T3e=o(function(e){return e.type==="ordgroup"?e.body.length:1},"groupLength"),w3e=o(function(e,r){function n(){var l=4e5,u=e.label.slice(1);if(er.contains(["widehat","widecheck","widetilde","utilde"],u)){var h=e,f=T3e(h.base),d,p,m;if(f>5)u==="widehat"||u==="widecheck"?(d=420,l=2364,m=.42,p=u+"4"):(d=312,l=2340,m=.34,p="tilde4");else{var g=[1,1,2,2,3,3][f];u==="widehat"||u==="widecheck"?(l=[0,1062,2364,2364,2364][g],d=[0,239,300,360,420][g],m=[0,.24,.3,.3,.36,.42][g],p=u+g):(l=[0,600,1033,2339,2340][g],d=[0,260,286,306,312][g],m=[0,.26,.286,.3,.306,.34][g],p="tilde"+g)}var y=new Ql(p),v=new hl([y],{width:"100%",height:Et(m),viewBox:"0 0 "+l+" "+d,preserveAspectRatio:"none"});return{span:Fe.makeSvgSpan([],[v],r),minWidth:0,height:m}}else{var x=[],b=b3e[u],[T,C,w]=b,E=w/1e3,_=T.length,A,D;if(_===1){var O=b[3];A=["hide-tail"],D=[O]}else if(_===2)A=["halfarrow-left","halfarrow-right"],D=["xMinYMin","xMaxYMin"];else if(_===3)A=["brace-left","brace-center","brace-right"],D=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+_+" children.");for(var R=0;R<_;R++){var k=new Ql(T[R]),L=new hl([k],{width:"400em",height:Et(E),viewBox:"0 0 "+l+" "+w,preserveAspectRatio:D[R]+" slice"}),S=Fe.makeSvgSpan([A[R]],[L],r);if(_===1)return{span:S,minWidth:C,height:E};S.style.height=Et(E),x.push(S)}return{span:Fe.makeSpan(["stretchy"],x,r),minWidth:C,height:E}}}o(n,"buildSvgSpan_");var{span:i,minWidth:a,height:s}=n();return i.height=s,i.style.height=Et(s),a>0&&(i.style.minWidth=Et(a)),i},"svgSpan"),k3e=o(function(e,r,n,i,a){var s,l=e.height+e.depth+n+i;if(/fbox|color|angl/.test(r)){if(s=Fe.makeSpan(["stretchy",r],[],a),r==="fbox"){var u=a.color&&a.getColor();u&&(s.style.borderColor=u)}}else{var h=[];/^[bx]cancel$/.test(r)&&h.push(new Xy({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&h.push(new Xy({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var f=new hl(h,{width:"100%",height:Et(l)});s=Fe.makeSvgSpan([],[f],a)}return s.height=l,s.style.height=Et(l),s},"encloseSpan"),uu={encloseSpan:k3e,mathMLnode:x3e,svgSpan:w3e};o(xr,"assertNodeType");o(Z7,"assertSymbolNodeType");o(S3,"checkSymbolNodeType");J7=o((t,e)=>{var r,n,i;t&&t.type==="supsub"?(n=xr(t.base,"accent"),r=n.base,t.base=r,i=Y4e(Fr(t,e)),t.base=n):(n=xr(t,"accent"),r=n.base);var a=Fr(r,e.havingCrampedStyle()),s=n.isShifty&&er.isCharacterBox(r),l=0;if(s){var u=er.getBaseElem(r),h=Fr(u,e.havingCrampedStyle());l=qz(h).skew}var f=n.label==="\\c",d=f?a.height+a.depth:Math.min(a.height,e.fontMetrics().xHeight),p;if(n.isStretchy)p=uu.svgSpan(n,e),p=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+Et(2*l)+")",marginLeft:Et(2*l)}:void 0}]},e);else{var m,g;n.label==="\\vec"?(m=Fe.staticSvg("vec",e),g=Fe.svgData.vec[1]):(m=Fe.makeOrd({mode:n.mode,text:n.label},e,"textord"),m=qz(m),m.italic=0,g=m.width,f&&(d+=m.depth)),p=Fe.makeSpan(["accent-body"],[m]);var y=n.label==="\\textcircled";y&&(p.classes.push("accent-full"),d=a.height);var v=l;y||(v-=g/2),p.style.left=Et(v),n.label==="\\textcircled"&&(p.style.top=".2em"),p=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-d},{type:"elem",elem:p}]},e)}var x=Fe.makeSpan(["mord","accent"],[p],e);return i?(i.children[0]=x,i.height=Math.max(x.height,i.height),i.classes[0]="mord",i):x},"htmlBuilder$a"),PG=o((t,e)=>{var r=t.isStretchy?uu.mathMLnode(t.label):new dt.MathNode("mo",[Ao(t.label,t.mode)]),n=new dt.MathNode("mover",[yn(t.base,e),r]);return n.setAttribute("accent","true"),n},"mathmlBuilder$9"),E3e=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));Nt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:o((t,e)=>{var r=b3(e[0]),n=!E3e.test(t.funcName),i=!n||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:n,isShifty:i,base:r}},"handler"),htmlBuilder:J7,mathmlBuilder:PG});Nt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:o((t,e)=>{var r=e[0],n=t.parser.mode;return n==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},"handler"),htmlBuilder:J7,mathmlBuilder:PG});Nt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},"handler"),htmlBuilder:o((t,e)=>{var r=Fr(t.base,e),n=uu.svgSpan(t,e),i=t.label==="\\utilde"?.12:0,a=Fe.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},e);return Fe.makeSpan(["mord","accentunder"],[a],e)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=uu.mathMLnode(t.label),n=new dt.MathNode("munder",[yn(t.base,e),r]);return n.setAttribute("accentunder","true"),n},"mathmlBuilder")});h3=o(t=>{var e=new dt.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e},"paddedNode");Nt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:n,funcName:i}=t;return{type:"xArrow",mode:n.mode,label:i,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,n=e.havingStyle(r.sup()),i=Fe.wrapFragment(Fr(t.body,n,e),e),a=t.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var s;t.below&&(n=e.havingStyle(r.sub()),s=Fe.wrapFragment(Fr(t.below,n,e),e),s.classes.push(a+"-arrow-pad"));var l=uu.svgSpan(t,e),u=-e.fontMetrics().axisHeight+.5*l.height,h=-e.fontMetrics().axisHeight-.5*l.height-.111;(i.depth>.25||t.label==="\\xleftequilibrium")&&(h-=i.depth);var f;if(s){var d=-e.fontMetrics().axisHeight+s.height+.5*l.height+.111;f=Fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:l,shift:u},{type:"elem",elem:s,shift:d}]},e)}else f=Fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:l,shift:u}]},e);return f.children[0].children[0].children[1].classes.push("svg-align"),Fe.makeSpan(["mrel","x-arrow"],[f],e)},mathmlBuilder(t,e){var r=uu.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(t.body){var i=h3(yn(t.body,e));if(t.below){var a=h3(yn(t.below,e));n=new dt.MathNode("munderover",[r,a,i])}else n=new dt.MathNode("mover",[r,i])}else if(t.below){var s=h3(yn(t.below,e));n=new dt.MathNode("munder",[r,s])}else n=h3(),n=new dt.MathNode("mover",[r,n]);return n}});S3e=Fe.makeSpan;o(BG,"htmlBuilder$9");o(FG,"mathmlBuilder$8");Nt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:mi(i),isCharacterBox:er.isCharacterBox(i)}},htmlBuilder:BG,mathmlBuilder:FG});C3=o(t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"},"binrelClass");Nt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:C3(e[0]),body:mi(e[1]),isCharacterBox:er.isCharacterBox(e[1])}}});Nt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:n}=t,i=e[1],a=e[0],s;n!=="\\stackrel"?s=C3(i):s="mrel";var l={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:mi(i)},u={type:"supsub",mode:a.mode,base:l,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:s,body:[u],isCharacterBox:er.isCharacterBox(u)}},htmlBuilder:BG,mathmlBuilder:FG});Nt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:C3(e[0]),body:mi(e[0])}},htmlBuilder(t,e){var r=Bi(t.body,e,!0),n=Fe.makeSpan([t.mclass],r,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(t,e){var r=ks(t.body,e),n=new dt.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});C3e={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Zz=o(()=>({type:"styling",body:[],mode:"math",style:"display"}),"newCell"),Jz=o(t=>t.type==="textord"&&t.text==="@","isStartOfArrow"),A3e=o((t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e,"isLabelEnd");o(_3e,"cdArrow");o(D3e,"parseCD");Nt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),n=Fe.wrapFragment(Fr(t.label,r,e),e);return n.classes.push("cd-label-"+t.side),n.style.bottom=Et(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(t,e){var r=new dt.MathNode("mrow",[yn(t.label,e)]);return r=new dt.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new dt.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});Nt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=Fe.wrapFragment(Fr(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new dt.MathNode("mrow",[yn(t.fragment,e)])}});Nt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,n=xr(e[0],"ordgroup"),i=n.body,a="",s=0;s=1114111)throw new mt("\\@char with invalid code point "+a);return u<=65535?h=String.fromCharCode(u):(u-=65536,h=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:h}}});$G=o((t,e)=>{var r=Bi(t.body,e.withColor(t.color),!1);return Fe.makeFragment(r)},"htmlBuilder$8"),zG=o((t,e)=>{var r=ks(t.body,e.withColor(t.color)),n=new dt.MathNode("mstyle",r);return n.setAttribute("mathcolor",t.color),n},"mathmlBuilder$7");Nt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,n=xr(e[0],"color-token").color,i=e[1];return{type:"color",mode:r.mode,color:n,body:mi(i)}},htmlBuilder:$G,mathmlBuilder:zG});Nt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:n}=t,i=xr(e[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:$G,mathmlBuilder:zG});Nt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:n}=t,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&xr(i,"size").value}},htmlBuilder(t,e){var r=Fe.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=Et(ri(t.size,e)))),r},mathmlBuilder(t,e){var r=new dt.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",Et(ri(t.size,e)))),r}});V7={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},GG=o(t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new mt("Expected a control sequence",t);return e},"checkControlSequence"),L3e=o(t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},"getRHS"),VG=o((t,e,r,n)=>{var i=t.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,i,n)},"letCommand");Nt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var n=e.fetch();if(V7[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=V7[n.text]),xr(e.parseFunction(),"internal");throw new mt("Invalid token after macro prefix",n)}});Nt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=e.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new mt("Expected a control sequence",n);for(var a=0,s,l=[[]];e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){s=e.gullet.future(),l[a].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new mt('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new mt('Argument number "'+n.text+'" out of order');a++,l.push([])}else{if(n.text==="EOF")throw new mt("Expected a macro definition");l[a].push(n.text)}var{tokens:u}=e.gullet.consumeArg();return s&&u.unshift(s),(r==="\\edef"||r==="\\xdef")&&(u=e.gullet.expandTokens(u),u.reverse()),e.gullet.macros.set(i,{tokens:u,numArgs:a,delimiters:l},r===V7[r]),{type:"internal",mode:e.mode}}});Nt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=GG(e.gullet.popToken());e.gullet.consumeSpaces();var i=L3e(e);return VG(e,n,i,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});Nt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=GG(e.gullet.popToken()),i=e.gullet.popToken(),a=e.gullet.popToken();return VG(e,n,a,r==="\\\\globalfuture"),e.gullet.pushToken(a),e.gullet.pushToken(i),{type:"internal",mode:e.mode}}});Vy=o(function(e,r,n){var i=Cn.math[e]&&Cn.math[e].replace,a=X7(i||e,r,n);if(!a)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return a},"getMetrics"),eA=o(function(e,r,n,i){var a=n.havingBaseStyle(r),s=Fe.makeSpan(i.concat(a.sizingClasses(n)),[e],n),l=a.sizeMultiplier/n.sizeMultiplier;return s.height*=l,s.depth*=l,s.maxFontSize=a.sizeMultiplier,s},"styleWrap"),UG=o(function(e,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Et(a),e.height-=a,e.depth+=a},"centerSpan"),R3e=o(function(e,r,n,i,a,s){var l=Fe.makeSymbol(e,"Main-Regular",a,i),u=eA(l,r,i,s);return n&&UG(u,i,r),u},"makeSmallDelim"),N3e=o(function(e,r,n,i){return Fe.makeSymbol(e,"Size"+r+"-Regular",n,i)},"mathrmSize"),HG=o(function(e,r,n,i,a,s){var l=N3e(e,r,a,i),u=eA(Fe.makeSpan(["delimsizing","size"+r],[l],i),rr.TEXT,i,s);return n&&UG(u,i,rr.TEXT),u},"makeLargeDelim"),C7=o(function(e,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=Fe.makeSpan(["delimsizinginner",i],[Fe.makeSpan([],[Fe.makeSymbol(e,r,n)])]);return{type:"elem",elem:a}},"makeGlyphSpan"),A7=o(function(e,r,n){var i=Kl["Size4-Regular"][e.charCodeAt(0)]?Kl["Size4-Regular"][e.charCodeAt(0)][4]:Kl["Size1-Regular"][e.charCodeAt(0)][4],a=new Ql("inner",z4e(e,Math.round(1e3*r))),s=new hl([a],{width:Et(i),height:Et(r),style:"width:"+Et(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),l=Fe.makeSvgSpan([],[s],n);return l.height=r,l.style.height=Et(r),l.style.width=Et(i),{type:"elem",elem:l}},"makeInner"),U7=.008,f3={type:"kern",size:-1*U7},M3e=["|","\\lvert","\\rvert","\\vert"],I3e=["\\|","\\lVert","\\rVert","\\Vert"],WG=o(function(e,r,n,i,a,s){var l,u,h,f,d="",p=0;l=h=f=e,u=null;var m="Size1-Regular";e==="\\uparrow"?h=f="\u23D0":e==="\\Uparrow"?h=f="\u2016":e==="\\downarrow"?l=h="\u23D0":e==="\\Downarrow"?l=h="\u2016":e==="\\updownarrow"?(l="\\uparrow",h="\u23D0",f="\\downarrow"):e==="\\Updownarrow"?(l="\\Uparrow",h="\u2016",f="\\Downarrow"):er.contains(M3e,e)?(h="\u2223",d="vert",p=333):er.contains(I3e,e)?(h="\u2225",d="doublevert",p=556):e==="["||e==="\\lbrack"?(l="\u23A1",h="\u23A2",f="\u23A3",m="Size4-Regular",d="lbrack",p=667):e==="]"||e==="\\rbrack"?(l="\u23A4",h="\u23A5",f="\u23A6",m="Size4-Regular",d="rbrack",p=667):e==="\\lfloor"||e==="\u230A"?(h=l="\u23A2",f="\u23A3",m="Size4-Regular",d="lfloor",p=667):e==="\\lceil"||e==="\u2308"?(l="\u23A1",h=f="\u23A2",m="Size4-Regular",d="lceil",p=667):e==="\\rfloor"||e==="\u230B"?(h=l="\u23A5",f="\u23A6",m="Size4-Regular",d="rfloor",p=667):e==="\\rceil"||e==="\u2309"?(l="\u23A4",h=f="\u23A5",m="Size4-Regular",d="rceil",p=667):e==="("||e==="\\lparen"?(l="\u239B",h="\u239C",f="\u239D",m="Size4-Regular",d="lparen",p=875):e===")"||e==="\\rparen"?(l="\u239E",h="\u239F",f="\u23A0",m="Size4-Regular",d="rparen",p=875):e==="\\{"||e==="\\lbrace"?(l="\u23A7",u="\u23A8",f="\u23A9",h="\u23AA",m="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(l="\u23AB",u="\u23AC",f="\u23AD",h="\u23AA",m="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(l="\u23A7",f="\u23A9",h="\u23AA",m="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(l="\u23AB",f="\u23AD",h="\u23AA",m="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(l="\u23A7",f="\u23AD",h="\u23AA",m="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(l="\u23AB",f="\u23A9",h="\u23AA",m="Size4-Regular");var g=Vy(l,m,a),y=g.height+g.depth,v=Vy(h,m,a),x=v.height+v.depth,b=Vy(f,m,a),T=b.height+b.depth,C=0,w=1;if(u!==null){var E=Vy(u,m,a);C=E.height+E.depth,w=2}var _=y+T+C,A=Math.max(0,Math.ceil((r-_)/(w*x))),D=_+A*w*x,O=i.fontMetrics().axisHeight;n&&(O*=i.sizeMultiplier);var R=D/2-O,k=[];if(d.length>0){var L=D-y-T,S=Math.round(D*1e3),I=G4e(d,Math.round(L*1e3)),M=new Ql(d,I),P=(p/1e3).toFixed(3)+"em",B=(S/1e3).toFixed(3)+"em",F=new hl([M],{width:P,height:B,viewBox:"0 0 "+p+" "+S}),z=Fe.makeSvgSpan([],[F],i);z.height=S/1e3,z.style.width=P,z.style.height=B,k.push({type:"elem",elem:z})}else{if(k.push(C7(f,m,a)),k.push(f3),u===null){var $=D-y-T+2*U7;k.push(A7(h,$,i))}else{var U=(D-y-T-C)/2+2*U7;k.push(A7(h,U,i)),k.push(f3),k.push(C7(u,m,a)),k.push(f3),k.push(A7(h,U,i))}k.push(f3),k.push(C7(l,m,a))}var K=i.havingBaseStyle(rr.TEXT),ee=Fe.makeVList({positionType:"bottom",positionData:R,children:k},K);return eA(Fe.makeSpan(["delimsizing","mult"],[ee],K),rr.TEXT,i,s)},"makeStackedDelim"),_7=80,D7=.08,L7=o(function(e,r,n,i,a){var s=$4e(e,i,n),l=new Ql(e,s),u=new hl([l],{width:"400em",height:Et(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Fe.makeSvgSpan(["hide-tail"],[u],a)},"sqrtSvg"),O3e=o(function(e,r){var n=r.havingBaseSizing(),i=jG("\\surd",e*n.sizeMultiplier,XG,n),a=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),l,u=0,h=0,f=0,d;return i.type==="small"?(f=1e3+1e3*s+_7,e<1?a=1:e<1.4&&(a=.7),u=(1+s+D7)/a,h=(1+s)/a,l=L7("sqrtMain",u,f,s,r),l.style.minWidth="0.853em",d=.833/a):i.type==="large"?(f=(1e3+_7)*Hy[i.size],h=(Hy[i.size]+s)/a,u=(Hy[i.size]+s+D7)/a,l=L7("sqrtSize"+i.size,u,f,s,r),l.style.minWidth="1.02em",d=1/a):(u=e+s+D7,h=e+s,f=Math.floor(1e3*e+s)+_7,l=L7("sqrtTall",u,f,s,r),l.style.minWidth="0.742em",d=1.056),l.height=h,l.style.height=Et(u),{span:l,advanceWidth:d,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*a}},"makeSqrtImage"),qG=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],P3e=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],YG=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Hy=[0,1.2,1.8,2.4,3],B3e=o(function(e,r,n,i,a){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),er.contains(qG,e)||er.contains(YG,e))return HG(e,r,!1,n,i,a);if(er.contains(P3e,e))return WG(e,Hy[r],!1,n,i,a);throw new mt("Illegal delimiter: '"+e+"'")},"makeSizedDelim"),F3e=[{type:"small",style:rr.SCRIPTSCRIPT},{type:"small",style:rr.SCRIPT},{type:"small",style:rr.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],$3e=[{type:"small",style:rr.SCRIPTSCRIPT},{type:"small",style:rr.SCRIPT},{type:"small",style:rr.TEXT},{type:"stack"}],XG=[{type:"small",style:rr.SCRIPTSCRIPT},{type:"small",style:rr.SCRIPT},{type:"small",style:rr.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],z3e=o(function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},"delimTypeToFont"),jG=o(function(e,r,n,i){for(var a=Math.min(2,3-i.style.size),s=a;sr)return n[s]}return n[n.length-1]},"traverseSequence"),KG=o(function(e,r,n,i,a,s){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var l;er.contains(YG,e)?l=F3e:er.contains(qG,e)?l=XG:l=$3e;var u=jG(e,r,l,i);return u.type==="small"?R3e(e,u.style,n,i,a,s):u.type==="large"?HG(e,u.size,n,i,a,s):WG(e,r,n,i,a,s)},"makeCustomSizedDelim"),G3e=o(function(e,r,n,i,a,s){var l=i.fontMetrics().axisHeight*i.sizeMultiplier,u=901,h=5/i.fontMetrics().ptPerEm,f=Math.max(r-l,n+l),d=Math.max(f/500*u,2*f-h);return KG(e,d,!0,i,a,s)},"makeLeftRightDelim"),lu={sqrtImage:O3e,sizedDelim:B3e,sizeToMaxHeight:Hy,customSizedDelim:KG,leftRightDelim:G3e},eG={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},V3e=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];o(A3,"checkDelimiter");Nt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:o((t,e)=>{var r=A3(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:eG[t.funcName].size,mclass:eG[t.funcName].mclass,delim:r.text}},"handler"),htmlBuilder:o((t,e)=>t.delim==="."?Fe.makeSpan([t.mclass]):lu.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),"htmlBuilder"),mathmlBuilder:o(t=>{var e=[];t.delim!=="."&&e.push(Ao(t.delim,t.mode));var r=new dt.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=Et(lu.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r},"mathmlBuilder")});o(tG,"assertParsed");Nt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:o((t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new mt("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:A3(e[0],t).text,color:r}},"handler")});Nt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:o((t,e)=>{var r=A3(e[0],t),n=t.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=xr(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},"handler"),htmlBuilder:o((t,e)=>{tG(t);for(var r=Bi(t.body,e,!0,["mopen","mclose"]),n=0,i=0,a=!1,s=0;s{tG(t);var r=ks(t.body,e);if(t.left!=="."){var n=new dt.MathNode("mo",[Ao(t.left,t.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(t.right!=="."){var i=new dt.MathNode("mo",[Ao(t.right,t.mode)]);i.setAttribute("fence","true"),t.rightColor&&i.setAttribute("mathcolor",t.rightColor),r.push(i)}return K7(r)},"mathmlBuilder")});Nt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:o((t,e)=>{var r=A3(e[0],t);if(!t.parser.leftrightDepth)throw new mt("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},"handler"),htmlBuilder:o((t,e)=>{var r;if(t.delim===".")r=jy(e,[]);else{r=lu.sizedDelim(t.delim,1,e,t.mode,[]);var n={delim:t.delim,options:e};r.isMiddle=n}return r},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?Ao("|","text"):Ao(t.delim,t.mode),n=new dt.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n},"mathmlBuilder")});tA=o((t,e)=>{var r=Fe.wrapFragment(Fr(t.body,e),e),n=t.label.slice(1),i=e.sizeMultiplier,a,s=0,l=er.isCharacterBox(t.body);if(n==="sout")a=Fe.makeSpan(["stretchy","sout"]),a.height=e.fontMetrics().defaultRuleThickness/i,s=-.5*e.fontMetrics().xHeight;else if(n==="phase"){var u=ri({number:.6,unit:"pt"},e),h=ri({number:.35,unit:"ex"},e),f=e.havingBaseSizing();i=i/f.sizeMultiplier;var d=r.height+r.depth+u+h;r.style.paddingLeft=Et(d/2+u);var p=Math.floor(1e3*d*i),m=B4e(p),g=new hl([new Ql("phase",m)],{width:"400em",height:Et(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});a=Fe.makeSvgSpan(["hide-tail"],[g],e),a.style.height=Et(d),s=r.depth+u+h}else{/cancel/.test(n)?l||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var y=0,v=0,x=0;/box/.test(n)?(x=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),y=e.fontMetrics().fboxsep+(n==="colorbox"?0:x),v=y):n==="angl"?(x=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),y=4*x,v=Math.max(0,.25-r.depth)):(y=l?.2:0,v=y),a=uu.encloseSpan(r,n,y,v,e),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=Et(x)):n==="angl"&&x!==.049&&(a.style.borderTopWidth=Et(x),a.style.borderRightWidth=Et(x)),s=r.depth+v,t.backgroundColor&&(a.style.backgroundColor=t.backgroundColor,t.borderColor&&(a.style.borderColor=t.borderColor))}var b;if(t.backgroundColor)b=Fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:s},{type:"elem",elem:r,shift:0}]},e);else{var T=/cancel|phase/.test(n)?["svg-align"]:[];b=Fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:T}]},e)}return/cancel/.test(n)&&(b.height=r.height,b.depth=r.depth),/cancel/.test(n)&&!l?Fe.makeSpan(["mord","cancel-lap"],[b],e):Fe.makeSpan(["mord"],[b],e)},"htmlBuilder$7"),rA=o((t,e)=>{var r=0,n=new dt.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[yn(t.body,e)]);switch(t.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var i=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(t.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&n.setAttribute("mathbackground",t.backgroundColor),n},"mathmlBuilder$6");Nt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:n,funcName:i}=t,a=xr(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:s}},htmlBuilder:tA,mathmlBuilder:rA});Nt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:n,funcName:i}=t,a=xr(e[0],"color-token").color,s=xr(e[1],"color-token").color,l=e[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:s,borderColor:a,body:l}},htmlBuilder:tA,mathmlBuilder:rA});Nt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});Nt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:tA,mathmlBuilder:rA});Nt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});QG={};o(Zl,"defineEnvironment");ZG={};o(fe,"defineMacro");o(rG,"getHLines");_3=o(t=>{var e=t.parser.settings;if(!e.displayMode)throw new mt("{"+t.envName+"} can be used only in display mode.")},"validateAmsEnvironmentContext");o(nA,"getAutoTag");o(gh,"parseArray");o(iA,"dCellStyle");Jl=o(function(e,r){var n,i,a=e.body.length,s=e.hLinesBeforeRow,l=0,u=new Array(a),h=[],f=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),d=1/r.fontMetrics().ptPerEm,p=5*d;if(e.colSeparationType&&e.colSeparationType==="small"){var m=r.havingStyle(rr.SCRIPT).sizeMultiplier;p=.2778*(m/r.sizeMultiplier)}var g=e.colSeparationType==="CD"?ri({number:3,unit:"ex"},r):12*d,y=3*d,v=e.arraystretch*g,x=.7*v,b=.3*v,T=0;function C(ae){for(var Oe=0;Oe0&&(T+=.25),h.push({pos:T,isDashed:ae[Oe]})}for(o(C,"setHLinePos"),C(s[0]),n=0;n0&&(R+=b,_ae))for(n=0;n=l)){var Z=void 0;(i>0||e.hskipBeforeAndAfter)&&(Z=er.deflt(U.pregap,p),Z!==0&&(I=Fe.makeSpan(["arraycolsep"],[]),I.style.width=Et(Z),S.push(I)));var ue=[];for(n=0;n0){for(var te=Fe.makeLineSpan("hline",r,f),he=Fe.makeLineSpan("hdashline",r,f),le=[{type:"elem",elem:u,shift:0}];h.length>0;){var J=h.pop(),Se=J.pos-k;J.isDashed?le.push({type:"elem",elem:he,shift:Se}):le.push({type:"elem",elem:te,shift:Se})}u=Fe.makeVList({positionType:"individualShift",children:le},r)}if(P.length===0)return Fe.makeSpan(["mord"],[u],r);var se=Fe.makeVList({positionType:"individualShift",children:P},r);return se=Fe.makeSpan(["tag"],[se],r),Fe.makeFragment([u,se])},"htmlBuilder"),U3e={c:"center ",l:"left ",r:"right "},ec=o(function(e,r){for(var n=[],i=new dt.MathNode("mtd",[],["mtr-glue"]),a=new dt.MathNode("mtd",[],["mml-eqn-num"]),s=0;s0){var g=e.cols,y="",v=!1,x=0,b=g.length;g[0].type==="separator"&&(p+="top ",x=1),g[g.length-1].type==="separator"&&(p+="bottom ",b-=1);for(var T=x;T0?"left ":"",p+=A[A.length-1].length>0?"right ":"";for(var D=1;D-1?"alignat":"align",a=e.envName==="split",s=gh(e.parser,{cols:n,addJot:!0,autoTag:a?void 0:nA(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display"),l,u=0,h={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var f="",d=0;d0&&m&&(v=1),n[g]={type:"align",align:y,pregap:v,postgap:0}}return s.colSeparationType=m?"align":"alignat",s},"alignedHandler");Zl({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=S3(e[0]),n=r?[e[0]]:xr(e[0],"ordgroup").body,i=n.map(function(s){var l=Z7(s),u=l.text;if("lcr".indexOf(u)!==-1)return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new mt("Unknown column alignment: "+u,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return gh(t.parser,a,iA(t.envName))},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var i=t.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new mt("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=gh(t.parser,n,iA(t.envName)),s=Math.max(0,...a.body.map(l=>l.length));return a.cols=new Array(s).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[a],left:e[0],right:e[1],rightColor:void 0}:a},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=gh(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=S3(e[0]),n=r?[e[0]]:xr(e[0],"ordgroup").body,i=n.map(function(s){var l=Z7(s),u=l.text;if("lc".indexOf(u)!==-1)return{type:"align",align:u};throw new mt("Unknown column alignment: "+u,s)});if(i.length>1)throw new mt("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=gh(t.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new mt("{subarray} can contain only one column");return a},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=gh(t.parser,e,iA(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:JG,htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){er.contains(["gather","gather*"],t.envName)&&_3(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:nA(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return gh(t.parser,e,"display")},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:JG,htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){_3(t);var e={autoTag:nA(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return gh(t.parser,e,"display")},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["CD"],props:{numArgs:0},handler(t){return _3(t),D3e(t.parser)},htmlBuilder:Jl,mathmlBuilder:ec});fe("\\nonumber","\\gdef\\@eqnsw{0}");fe("\\notag","\\nonumber");Nt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new mt(t.funcName+" valid only within array environment")}});nG=QG;Nt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];if(i.type!=="ordgroup")throw new mt("Invalid environment name",i);for(var a="",s=0;s{var r=t.font,n=e.withFont(r);return Fr(t.body,n)},"htmlBuilder$5"),tV=o((t,e)=>{var r=t.font,n=e.withFont(r);return yn(t.body,n)},"mathmlBuilder$4"),iG={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Nt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=b3(e[0]),a=n;return a in iG&&(a=iG[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},"handler"),htmlBuilder:eV,mathmlBuilder:tV});Nt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:o((t,e)=>{var{parser:r}=t,n=e[0],i=er.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:C3(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}},"handler")});Nt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:o((t,e)=>{var{parser:r,funcName:n,breakOnTokenText:i}=t,{mode:a}=r,s=r.parseExpression(!0,i),l="math"+n.slice(1);return{type:"font",mode:a,font:l,body:{type:"ordgroup",mode:r.mode,body:s}}},"handler"),htmlBuilder:eV,mathmlBuilder:tV});rV=o((t,e)=>{var r=e;return t==="display"?r=r.id>=rr.SCRIPT.id?r.text():rr.DISPLAY:t==="text"&&r.size===rr.DISPLAY.size?r=rr.TEXT:t==="script"?r=rr.SCRIPT:t==="scriptscript"&&(r=rr.SCRIPTSCRIPT),r},"adjustStyle"),aA=o((t,e)=>{var r=rV(t.size,e.style),n=r.fracNum(),i=r.fracDen(),a;a=e.havingStyle(n);var s=Fr(t.numer,a,e);if(t.continued){var l=8.5/e.fontMetrics().ptPerEm,u=3.5/e.fontMetrics().ptPerEm;s.height=s.height0?g=3*p:g=7*p,y=e.fontMetrics().denom1):(d>0?(m=e.fontMetrics().num2,g=p):(m=e.fontMetrics().num3,g=3*p),y=e.fontMetrics().denom2);var v;if(f){var b=e.fontMetrics().axisHeight;m-s.depth-(b+.5*d){var r=new dt.MathNode("mfrac",[yn(t.numer,e),yn(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var n=ri(t.barSize,e);r.setAttribute("linethickness",Et(n))}var i=rV(t.size,e.style);if(i.size!==e.style.size){r=new dt.MathNode("mstyle",[r]);var a=i.size===rr.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var s=[];if(t.leftDelim!=null){var l=new dt.MathNode("mo",[new dt.TextNode(t.leftDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}if(s.push(r),t.rightDelim!=null){var u=new dt.MathNode("mo",[new dt.TextNode(t.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),s.push(u)}return K7(s)}return r},"mathmlBuilder$3");Nt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0],a=e[1],s,l=null,u=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,l="(",u=")";break;case"\\\\bracefrac":s=!1,l="\\{",u="\\}";break;case"\\\\brackfrac":s=!1,l="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:s,leftDelim:l,rightDelim:u,size:h,barSize:null}},"handler"),htmlBuilder:aA,mathmlBuilder:sA});Nt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0],a=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}},"handler")});Nt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:n}=t,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:i,token:n}}});aG=["display","text","script","scriptscript"],sG=o(function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r},"delimFromValue");Nt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,n=e[4],i=e[5],a=b3(e[0]),s=a.type==="atom"&&a.family==="open"?sG(a.text):null,l=b3(e[1]),u=l.type==="atom"&&l.family==="close"?sG(l.text):null,h=xr(e[2],"size"),f,d=null;h.isBlank?f=!0:(d=h.value,f=d.number>0);var p="auto",m=e[3];if(m.type==="ordgroup"){if(m.body.length>0){var g=xr(m.body[0],"textord");p=aG[Number(g.text)]}}else m=xr(m,"textord"),p=aG[Number(m.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:f,barSize:d,leftDelim:s,rightDelim:u,size:p}},htmlBuilder:aA,mathmlBuilder:sA});Nt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:n,token:i}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:xr(e[0],"size").value,token:i}}});Nt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0],a=w4e(xr(e[1],"infix").size),s=e[2],l=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:s,continued:!1,hasBarLine:l,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},"handler"),htmlBuilder:aA,mathmlBuilder:sA});nV=o((t,e)=>{var r=e.style,n,i;t.type==="supsub"?(n=t.sup?Fr(t.sup,e.havingStyle(r.sup()),e):Fr(t.sub,e.havingStyle(r.sub()),e),i=xr(t.base,"horizBrace")):i=xr(t,"horizBrace");var a=Fr(i.base,e.havingBaseStyle(rr.DISPLAY)),s=uu.svgSpan(i,e),l;if(i.isOver?(l=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},e),l.children[0].children[0].children[1].classes.push("svg-align")):(l=Fe.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},e),l.children[0].children[0].children[0].classes.push("svg-align")),n){var u=Fe.makeSpan(["mord",i.isOver?"mover":"munder"],[l],e);i.isOver?l=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]},e):l=Fe.makeVList({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]},e)}return Fe.makeSpan(["mord",i.isOver?"mover":"munder"],[l],e)},"htmlBuilder$3"),H3e=o((t,e)=>{var r=uu.mathMLnode(t.label);return new dt.MathNode(t.isOver?"mover":"munder",[yn(t.base,e),r])},"mathmlBuilder$2");Nt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:e[0]}},htmlBuilder:nV,mathmlBuilder:H3e});Nt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t,n=e[1],i=xr(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:mi(n)}:r.formatUnsupportedCmd("\\href")},"handler"),htmlBuilder:o((t,e)=>{var r=Bi(t.body,e,!1);return Fe.makeAnchor(t.href,[],r,e)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=mh(t.body,e);return r instanceof Qa||(r=new Qa("mrow",[r])),r.setAttribute("href",t.href),r},"mathmlBuilder")});Nt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t,n=xr(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a{var{parser:r,funcName:n,token:i}=t,a=xr(e[0],"raw").string,s=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l,u={};switch(n){case"\\htmlClass":u.class=a,l={command:"\\htmlClass",class:a};break;case"\\htmlId":u.id=a,l={command:"\\htmlId",id:a};break;case"\\htmlStyle":u.style=a,l={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var h=a.split(","),f=0;f{var r=Bi(t.body,e,!1),n=["enclosing"];t.attributes.class&&n.push(...t.attributes.class.trim().split(/\s+/));var i=Fe.makeSpan(n,r,e);for(var a in t.attributes)a!=="class"&&t.attributes.hasOwnProperty(a)&&i.setAttribute(a,t.attributes[a]);return i},"htmlBuilder"),mathmlBuilder:o((t,e)=>mh(t.body,e),"mathmlBuilder")});Nt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:mi(e[0]),mathml:mi(e[1])}},"handler"),htmlBuilder:o((t,e)=>{var r=Bi(t.html,e,!1);return Fe.makeFragment(r)},"htmlBuilder"),mathmlBuilder:o((t,e)=>mh(t.mathml,e),"mathmlBuilder")});R7=o(function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new mt("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!wG(n))throw new mt("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n},"sizeData");Nt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:o((t,e,r)=>{var{parser:n}=t,i={number:0,unit:"em"},a={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0])for(var u=xr(r[0],"raw").string,h=u.split(","),f=0;f{var r=ri(t.height,e),n=0;t.totalheight.number>0&&(n=ri(t.totalheight,e)-r);var i=0;t.width.number>0&&(i=ri(t.width,e));var a={height:Et(r+n)};i>0&&(a.width=Et(i)),n>0&&(a.verticalAlign=Et(-n));var s=new B7(t.src,t.alt,a);return s.height=r,s.depth=n,s},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=new dt.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var n=ri(t.height,e),i=0;if(t.totalheight.number>0&&(i=ri(t.totalheight,e)-n,r.setAttribute("valign",Et(-i))),r.setAttribute("height",Et(n+i)),t.width.number>0){var a=ri(t.width,e);r.setAttribute("width",Et(a))}return r.setAttribute("src",t.src),r},"mathmlBuilder")});Nt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,i=xr(e[0],"size");if(r.settings.strict){var a=n[1]==="m",s=i.value.unit==="mu";a?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(t,e){return Fe.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=ri(t.dimension,e);return new dt.SpaceNode(r)}});Nt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},"handler"),htmlBuilder:o((t,e)=>{var r;t.alignment==="clap"?(r=Fe.makeSpan([],[Fr(t.body,e)]),r=Fe.makeSpan(["inner"],[r],e)):r=Fe.makeSpan(["inner"],[Fr(t.body,e)]);var n=Fe.makeSpan(["fix"],[]),i=Fe.makeSpan([t.alignment],[r,n],e),a=Fe.makeSpan(["strut"]);return a.style.height=Et(i.height+i.depth),i.depth&&(a.style.verticalAlign=Et(-i.depth)),i.children.unshift(a),i=Fe.makeSpan(["thinbox"],[i],e),Fe.makeSpan(["mord","vbox"],[i],e)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=new dt.MathNode("mpadded",[yn(t.body,e)]);if(t.alignment!=="rlap"){var n=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r},"mathmlBuilder")});Nt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:n}=t,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",s=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:s}}});Nt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new mt("Mismatched "+t.funcName)}});oG=o((t,e)=>{switch(e.style.size){case rr.DISPLAY.size:return t.display;case rr.TEXT.size:return t.text;case rr.SCRIPT.size:return t.script;case rr.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}},"chooseMathStyle");Nt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:o((t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:mi(e[0]),text:mi(e[1]),script:mi(e[2]),scriptscript:mi(e[3])}},"handler"),htmlBuilder:o((t,e)=>{var r=oG(t,e),n=Bi(r,e,!1);return Fe.makeFragment(n)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=oG(t,e);return mh(r,e)},"mathmlBuilder")});iV=o((t,e,r,n,i,a,s)=>{t=Fe.makeSpan([],[t]);var l=r&&er.isCharacterBox(r),u,h;if(e){var f=Fr(e,n.havingStyle(i.sup()),n);h={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-f.depth)}}if(r){var d=Fr(r,n.havingStyle(i.sub()),n);u={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-d.height)}}var p;if(h&&u){var m=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+t.depth+s;p=Fe.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Et(-a)},{type:"kern",size:u.kern},{type:"elem",elem:t},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Et(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(u){var g=t.height-s;p=Fe.makeVList({positionType:"top",positionData:g,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Et(-a)},{type:"kern",size:u.kern},{type:"elem",elem:t}]},n)}else if(h){var y=t.depth+s;p=Fe.makeVList({positionType:"bottom",positionData:y,children:[{type:"elem",elem:t},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Et(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return t;var v=[p];if(u&&a!==0&&!l){var x=Fe.makeSpan(["mspace"],[],n);x.style.marginRight=Et(a),v.unshift(x)}return Fe.makeSpan(["mop","op-limits"],v,n)},"assembleSupSub"),aV=["\\smallint"],v0=o((t,e)=>{var r,n,i=!1,a;t.type==="supsub"?(r=t.sup,n=t.sub,a=xr(t.base,"op"),i=!0):a=xr(t,"op");var s=e.style,l=!1;s.size===rr.DISPLAY.size&&a.symbol&&!er.contains(aV,a.name)&&(l=!0);var u;if(a.symbol){var h=l?"Size2-Regular":"Size1-Regular",f="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(f=a.name.slice(1),a.name=f==="oiint"?"\\iint":"\\iiint"),u=Fe.makeSymbol(a.name,h,"math",e,["mop","op-symbol",l?"large-op":"small-op"]),f.length>0){var d=u.italic,p=Fe.staticSvg(f+"Size"+(l?"2":"1"),e);u=Fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:p,shift:l?.08:0}]},e),a.name="\\"+f,u.classes.unshift("mop"),u.italic=d}}else if(a.body){var m=Bi(a.body,e,!0);m.length===1&&m[0]instanceof ws?(u=m[0],u.classes[0]="mop"):u=Fe.makeSpan(["mop"],m,e)}else{for(var g=[],y=1;y{var r;if(t.symbol)r=new Qa("mo",[Ao(t.name,t.mode)]),er.contains(aV,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new Qa("mo",ks(t.body,e));else{r=new Qa("mi",[new So(t.name.slice(1))]);var n=new Qa("mo",[Ao("\u2061","text")]);t.parentIsSupSub?r=new Qa("mrow",[r,n]):r=MG([r,n])}return r},"mathmlBuilder$1"),W3e={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Nt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=n;return i.length===1&&(i=W3e[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},"handler"),htmlBuilder:v0,mathmlBuilder:Ky});Nt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:o((t,e)=>{var{parser:r}=t,n=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mi(n)}},"handler"),htmlBuilder:v0,mathmlBuilder:Ky});q3e={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Nt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:v0,mathmlBuilder:Ky});Nt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:v0,mathmlBuilder:Ky});Nt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,n=r;return n.length===1&&(n=q3e[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:v0,mathmlBuilder:Ky});sV=o((t,e)=>{var r,n,i=!1,a;t.type==="supsub"?(r=t.sup,n=t.sub,a=xr(t.base,"operatorname"),i=!0):a=xr(t,"operatorname");var s;if(a.body.length>0){for(var l=a.body.map(d=>{var p=d.text;return typeof p=="string"?{type:"textord",mode:d.mode,text:p}:d}),u=Bi(l,e.withFont("mathrm"),!0),h=0;h{for(var r=ks(t.body,e.withFont("mathrm")),n=!0,i=0;if.toText()).join("");r=[new dt.TextNode(l)]}var u=new dt.MathNode("mi",r);u.setAttribute("mathvariant","normal");var h=new dt.MathNode("mo",[Ao("\u2061","text")]);return t.parentIsSupSub?new dt.MathNode("mrow",[u,h]):dt.newDocumentFragment([u,h])},"mathmlBuilder");Nt({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"operatorname",mode:r.mode,body:mi(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},"handler"),htmlBuilder:sV,mathmlBuilder:Y3e});fe("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");td({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?Fe.makeFragment(Bi(t.body,e,!1)):Fe.makeSpan(["mord"],Bi(t.body,e,!0),e)},mathmlBuilder(t,e){return mh(t.body,e,!0)}});Nt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,n=e[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(t,e){var r=Fr(t.body,e.havingCrampedStyle()),n=Fe.makeLineSpan("overline-line",e),i=e.fontMetrics().defaultRuleThickness,a=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},e);return Fe.makeSpan(["mord","overline"],[a],e)},mathmlBuilder(t,e){var r=new dt.MathNode("mo",[new dt.TextNode("\u203E")]);r.setAttribute("stretchy","true");var n=new dt.MathNode("mover",[yn(t.body,e),r]);return n.setAttribute("accent","true"),n}});Nt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t,n=e[0];return{type:"phantom",mode:r.mode,body:mi(n)}},"handler"),htmlBuilder:o((t,e)=>{var r=Bi(t.body,e.withPhantom(),!1);return Fe.makeFragment(r)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=ks(t.body,e);return new dt.MathNode("mphantom",r)},"mathmlBuilder")});Nt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t,n=e[0];return{type:"hphantom",mode:r.mode,body:n}},"handler"),htmlBuilder:o((t,e)=>{var r=Fe.makeSpan([],[Fr(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n{var r=ks(mi(t.body),e),n=new dt.MathNode("mphantom",r),i=new dt.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i},"mathmlBuilder")});Nt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t,n=e[0];return{type:"vphantom",mode:r.mode,body:n}},"handler"),htmlBuilder:o((t,e)=>{var r=Fe.makeSpan(["inner"],[Fr(t.body,e.withPhantom())]),n=Fe.makeSpan(["fix"],[]);return Fe.makeSpan(["mord","rlap"],[r,n],e)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=ks(mi(t.body),e),n=new dt.MathNode("mphantom",r),i=new dt.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i},"mathmlBuilder")});Nt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,n=xr(e[0],"size").value,i=e[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(t,e){var r=Fr(t.body,e),n=ri(t.dy,e);return Fe.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new dt.MathNode("mpadded",[yn(t.body,e)]),n=t.dy.number+t.dy.unit;return r.setAttribute("voffset",n),r}});Nt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});Nt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(t,e,r){var{parser:n}=t,i=r[0],a=xr(e[0],"size"),s=xr(e[1],"size");return{type:"rule",mode:n.mode,shift:i&&xr(i,"size").value,width:a.value,height:s.value}},htmlBuilder(t,e){var r=Fe.makeSpan(["mord","rule"],[],e),n=ri(t.width,e),i=ri(t.height,e),a=t.shift?ri(t.shift,e):0;return r.style.borderRightWidth=Et(n),r.style.borderTopWidth=Et(i),r.style.bottom=Et(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=ri(t.width,e),n=ri(t.height,e),i=t.shift?ri(t.shift,e):0,a=e.color&&e.getColor()||"black",s=new dt.MathNode("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",Et(r)),s.setAttribute("height",Et(n));var l=new dt.MathNode("mpadded",[s]);return i>=0?l.setAttribute("height",Et(i)):(l.setAttribute("height",Et(i)),l.setAttribute("depth",Et(-i))),l.setAttribute("voffset",Et(i)),l}});o(oV,"sizingGroup");lG=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],X3e=o((t,e)=>{var r=e.havingSize(t.size);return oV(t.body,r,e)},"htmlBuilder");Nt({type:"sizing",names:lG,props:{numArgs:0,allowedInText:!0},handler:o((t,e)=>{var{breakOnTokenText:r,funcName:n,parser:i}=t,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:lG.indexOf(n)+1,body:a}},"handler"),htmlBuilder:X3e,mathmlBuilder:o((t,e)=>{var r=e.havingSize(t.size),n=ks(t.body,r),i=new dt.MathNode("mstyle",n);return i.setAttribute("mathsize",Et(r.sizeMultiplier)),i},"mathmlBuilder")});Nt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:o((t,e,r)=>{var{parser:n}=t,i=!1,a=!1,s=r[0]&&xr(r[0],"ordgroup");if(s)for(var l="",u=0;u{var r=Fe.makeSpan([],[Fr(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var n=0;n{var r=new dt.MathNode("mpadded",[yn(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r},"mathmlBuilder")});Nt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:n}=t,i=r[0],a=e[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(t,e){var r=Fr(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=Fe.wrapFragment(r,e);var n=e.fontMetrics(),i=n.defaultRuleThickness,a=i;e.style.idr.height+r.depth+s&&(s=(s+d-r.height-r.depth)/2);var p=u.height-r.height-s-h;r.style.paddingLeft=Et(f);var m=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+p)},{type:"elem",elem:u},{type:"kern",size:h}]},e);if(t.index){var g=e.havingStyle(rr.SCRIPTSCRIPT),y=Fr(t.index,g,e),v=.6*(m.height-m.depth),x=Fe.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:y}]},e),b=Fe.makeSpan(["root"],[x]);return Fe.makeSpan(["mord","sqrt"],[b,m],e)}else return Fe.makeSpan(["mord","sqrt"],[m],e)},mathmlBuilder(t,e){var{body:r,index:n}=t;return n?new dt.MathNode("mroot",[yn(r,e),yn(n,e)]):new dt.MathNode("msqrt",[yn(r,e)])}});cG={display:rr.DISPLAY,text:rr.TEXT,script:rr.SCRIPT,scriptscript:rr.SCRIPTSCRIPT};Nt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:n,parser:i}=t,a=i.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:s,body:a}},htmlBuilder(t,e){var r=cG[t.style],n=e.havingStyle(r).withFont("");return oV(t.body,n,e)},mathmlBuilder(t,e){var r=cG[t.style],n=e.havingStyle(r),i=ks(t.body,n),a=new dt.MathNode("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},l=s[t.style];return a.setAttribute("scriptlevel",l[0]),a.setAttribute("displaystyle",l[1]),a}});j3e=o(function(e,r){var n=e.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===rr.DISPLAY.size||n.alwaysHandleSupSub);return i?v0:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===rr.DISPLAY.size||n.limits);return a?sV:null}else{if(n.type==="accent")return er.isCharacterBox(n.base)?J7:null;if(n.type==="horizBrace"){var s=!e.sub;return s===n.isOver?nV:null}else return null}else return null},"htmlBuilderDelegate");td({type:"supsub",htmlBuilder(t,e){var r=j3e(t,e);if(r)return r(t,e);var{base:n,sup:i,sub:a}=t,s=Fr(n,e),l,u,h=e.fontMetrics(),f=0,d=0,p=n&&er.isCharacterBox(n);if(i){var m=e.havingStyle(e.style.sup());l=Fr(i,m,e),p||(f=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/e.sizeMultiplier)}if(a){var g=e.havingStyle(e.style.sub());u=Fr(a,g,e),p||(d=s.depth+g.fontMetrics().subDrop*g.sizeMultiplier/e.sizeMultiplier)}var y;e.style===rr.DISPLAY?y=h.sup1:e.style.cramped?y=h.sup3:y=h.sup2;var v=e.sizeMultiplier,x=Et(.5/h.ptPerEm/v),b=null;if(u){var T=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(s instanceof ws||T)&&(b=Et(-s.italic))}var C;if(l&&u){f=Math.max(f,y,l.depth+.25*h.xHeight),d=Math.max(d,h.sub2);var w=h.defaultRuleThickness,E=4*w;if(f-l.depth-(u.height-d)0&&(f+=_,d-=_)}var A=[{type:"elem",elem:u,shift:d,marginRight:x,marginLeft:b},{type:"elem",elem:l,shift:-f,marginRight:x}];C=Fe.makeVList({positionType:"individualShift",children:A},e)}else if(u){d=Math.max(d,h.sub1,u.height-.8*h.xHeight);var D=[{type:"elem",elem:u,marginLeft:b,marginRight:x}];C=Fe.makeVList({positionType:"shift",positionData:d,children:D},e)}else if(l)f=Math.max(f,y,l.depth+.25*h.xHeight),C=Fe.makeVList({positionType:"shift",positionData:-f,children:[{type:"elem",elem:l,marginRight:x}]},e);else throw new Error("supsub must have either sup or sub.");var O=$7(s,"right")||"mord";return Fe.makeSpan([O],[s,Fe.makeSpan(["msupsub"],[C])],e)},mathmlBuilder(t,e){var r=!1,n,i;t.base&&t.base.type==="horizBrace"&&(i=!!t.sup,i===t.base.isOver&&(r=!0,n=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var a=[yn(t.base,e)];t.sub&&a.push(yn(t.sub,e)),t.sup&&a.push(yn(t.sup,e));var s;if(r)s=n?"mover":"munder";else if(t.sub)if(t.sup){var h=t.base;h&&h.type==="op"&&h.limits&&e.style===rr.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(e.style===rr.DISPLAY||h.limits)?s="munderover":s="msubsup"}else{var u=t.base;u&&u.type==="op"&&u.limits&&(e.style===rr.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||e.style===rr.DISPLAY)?s="munder":s="msub"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===rr.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===rr.DISPLAY)?s="mover":s="msup"}return new dt.MathNode(s,a)}});td({type:"atom",htmlBuilder(t,e){return Fe.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new dt.MathNode("mo",[Ao(t.text,t.mode)]);if(t.family==="bin"){var n=Q7(t,e);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});lV={mi:"italic",mn:"normal",mtext:"normal"};td({type:"mathord",htmlBuilder(t,e){return Fe.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new dt.MathNode("mi",[Ao(t.text,t.mode,e)]),n=Q7(t,e)||"italic";return n!==lV[r.type]&&r.setAttribute("mathvariant",n),r}});td({type:"textord",htmlBuilder(t,e){return Fe.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Ao(t.text,t.mode,e),n=Q7(t,e)||"normal",i;return t.mode==="text"?i=new dt.MathNode("mtext",[r]):/[0-9]/.test(t.text)?i=new dt.MathNode("mn",[r]):t.text==="\\prime"?i=new dt.MathNode("mo",[r]):i=new dt.MathNode("mi",[r]),n!==lV[i.type]&&i.setAttribute("mathvariant",n),i}});N7={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},M7={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};td({type:"spacing",htmlBuilder(t,e){if(M7.hasOwnProperty(t.text)){var r=M7[t.text].className||"";if(t.mode==="text"){var n=Fe.makeOrd(t,e,"textord");return n.classes.push(r),n}else return Fe.makeSpan(["mspace",r],[Fe.mathsym(t.text,t.mode,e)],e)}else{if(N7.hasOwnProperty(t.text))return Fe.makeSpan(["mspace",N7[t.text]],[],e);throw new mt('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(M7.hasOwnProperty(t.text))r=new dt.MathNode("mtext",[new dt.TextNode("\xA0")]);else{if(N7.hasOwnProperty(t.text))return new dt.MathNode("mspace");throw new mt('Unknown type of space "'+t.text+'"')}return r}});uG=o(()=>{var t=new dt.MathNode("mtd",[]);return t.setAttribute("width","50%"),t},"pad");td({type:"tag",mathmlBuilder(t,e){var r=new dt.MathNode("mtable",[new dt.MathNode("mtr",[uG(),new dt.MathNode("mtd",[mh(t.body,e)]),uG(),new dt.MathNode("mtd",[mh(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});hG={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},fG={"\\textbf":"textbf","\\textmd":"textmd"},K3e={"\\textit":"textit","\\textup":"textup"},dG=o((t,e)=>{var r=t.font;if(r){if(hG[r])return e.withTextFontFamily(hG[r]);if(fG[r])return e.withTextFontWeight(fG[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(K3e[r])},"optionsWithFont");Nt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"text",mode:r.mode,body:mi(i),font:n}},htmlBuilder(t,e){var r=dG(t,e),n=Bi(t.body,r,!0);return Fe.makeSpan(["mord","text"],n,r)},mathmlBuilder(t,e){var r=dG(t,e);return mh(t.body,r)}});Nt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=Fr(t.body,e),n=Fe.makeLineSpan("underline-line",e),i=e.fontMetrics().defaultRuleThickness,a=Fe.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},e);return Fe.makeSpan(["mord","underline"],[a],e)},mathmlBuilder(t,e){var r=new dt.MathNode("mo",[new dt.TextNode("\u203E")]);r.setAttribute("stretchy","true");var n=new dt.MathNode("munder",[yn(t.body,e),r]);return n.setAttribute("accentunder","true"),n}});Nt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=Fr(t.body,e),n=e.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return Fe.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new dt.MathNode("mpadded",[yn(t.body,e)],["vcenter"])}});Nt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new mt("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=pG(t),n=[],i=e.havingStyle(e.style.text()),a=0;at.body.replace(/ /g,t.star?"\u2423":"\xA0"),"makeVerb"),dh=RG,cV=`[ \r - ]`,Q3e="\\\\[a-zA-Z@]+",Z3e="\\\\[^\uD800-\uDFFF]",J3e="("+Q3e+")"+cV+"*",e5e=`\\\\( +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},"tallDelim"),ld=class{static{o(this,"DocumentFragment")}constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return er.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;rr.toText(),"toText");return this.children.map(e).join("")}},Kl={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},s3={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},jG={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};o(Az,"setFontMetrics");o(rA,"getCharacterMetrics");L7={};o(Y4e,"getGlobalMetrics");X4e=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],KG=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],QG=o(function(e,r){return r.size<2?e:X4e[e-1][r.size-1]},"sizeAtStyle"),x3=class t{static{o(this,"Options")}constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||t.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=KG[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return new t(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:QG(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:KG[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=QG(t.BASESIZE,e);return this.size===r&&this.textSize===t.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Y4e(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};x3.BASESIZE=6;H7={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},j4e={ex:!0,em:!0,mu:!0},_z=o(function(e){return typeof e!="string"&&(e=e.unit),e in H7||e in j4e||e==="ex"},"validUnit"),ii=o(function(e,r){var n;if(e.unit in H7)n=H7[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,e.unit==="ex")n=i.fontMetrics().xHeight;else if(e.unit==="em")n=i.fontMetrics().quad;else throw new gt("Invalid unit: '"+e.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*n,r.maxSize)},"calculateSize"),Et=o(function(e){return+e.toFixed(4)+"em"},"makeEm"),yh=o(function(e){return e.filter(r=>r).join(" ")},"createClass"),Dz=o(function(e,r,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},"initNode"),Lz=o(function(e){var r=document.createElement(e);r.className=yh(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var a=0;a/=\x00-\x1f]/,Rz=o(function(e){var r="<"+e;this.classes.length&&(r+=' class="'+er.escape(yh(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=er.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+er.escape(n)+'"');for(var a in this.attributes)if(this.attributes.hasOwnProperty(a)){if(K4e.test(a))throw new gt("Invalid attribute name '"+a+"'");r+=" "+a+'="'+er.escape(this.attributes[a])+'"'}r+=">";for(var s=0;s",r},"toMarkup"),cd=class{static{o(this,"Span")}constructor(e,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Dz.call(this,e,n,i),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return er.contains(this.classes,e)}toNode(){return Lz.call(this,"span")}toMarkup(){return Rz.call(this,"span")}},Xy=class{static{o(this,"Anchor")}constructor(e,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Dz.call(this,r,i),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return er.contains(this.classes,e)}toNode(){return Lz.call(this,"a")}toMarkup(){return Rz.call(this,"a")}},W7=class{static{o(this,"Img")}constructor(e,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return er.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e=''+er.escape(this.alt)+'0&&(r=document.createElement("span"),r.style.marginRight=Et(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=yh(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=er.hyphenate(i)+":"+this.style[i]+";");n&&(e=!0,r+=' style="'+er.escape(n)+'"');var a=er.escape(this.text);return e?(r+=">",r+=a,r+="",r):a}},dl=class{static{o(this,"SvgNode")}constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i':''}},jy=class{static{o(this,"LineNode")}constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var e="","\\gt",!0);z(H,ie,Ee,"\u2208","\\in",!0);z(H,ie,Ee,"\uE020","\\@not");z(H,ie,Ee,"\u2282","\\subset",!0);z(H,ie,Ee,"\u2283","\\supset",!0);z(H,ie,Ee,"\u2286","\\subseteq",!0);z(H,ie,Ee,"\u2287","\\supseteq",!0);z(H,ke,Ee,"\u2288","\\nsubseteq",!0);z(H,ke,Ee,"\u2289","\\nsupseteq",!0);z(H,ie,Ee,"\u22A8","\\models");z(H,ie,Ee,"\u2190","\\leftarrow",!0);z(H,ie,Ee,"\u2264","\\le");z(H,ie,Ee,"\u2264","\\leq",!0);z(H,ie,Ee,"<","\\lt",!0);z(H,ie,Ee,"\u2192","\\rightarrow",!0);z(H,ie,Ee,"\u2192","\\to");z(H,ke,Ee,"\u2271","\\ngeq",!0);z(H,ke,Ee,"\u2270","\\nleq",!0);z(H,ie,fu,"\xA0","\\ ");z(H,ie,fu,"\xA0","\\space");z(H,ie,fu,"\xA0","\\nobreakspace");z(st,ie,fu,"\xA0","\\ ");z(st,ie,fu,"\xA0"," ");z(st,ie,fu,"\xA0","\\space");z(st,ie,fu,"\xA0","\\nobreakspace");z(H,ie,fu,null,"\\nobreak");z(H,ie,fu,null,"\\allowbreak");z(H,ie,C3,",",",");z(H,ie,C3,";",";");z(H,ke,It,"\u22BC","\\barwedge",!0);z(H,ke,It,"\u22BB","\\veebar",!0);z(H,ie,It,"\u2299","\\odot",!0);z(H,ie,It,"\u2295","\\oplus",!0);z(H,ie,It,"\u2297","\\otimes",!0);z(H,ie,Le,"\u2202","\\partial",!0);z(H,ie,It,"\u2298","\\oslash",!0);z(H,ke,It,"\u229A","\\circledcirc",!0);z(H,ke,It,"\u22A1","\\boxdot",!0);z(H,ie,It,"\u25B3","\\bigtriangleup");z(H,ie,It,"\u25BD","\\bigtriangledown");z(H,ie,It,"\u2020","\\dagger");z(H,ie,It,"\u22C4","\\diamond");z(H,ie,It,"\u22C6","\\star");z(H,ie,It,"\u25C3","\\triangleleft");z(H,ie,It,"\u25B9","\\triangleright");z(H,ie,Js,"{","\\{");z(st,ie,Le,"{","\\{");z(st,ie,Le,"{","\\textbraceleft");z(H,ie,rs,"}","\\}");z(st,ie,Le,"}","\\}");z(st,ie,Le,"}","\\textbraceright");z(H,ie,Js,"{","\\lbrace");z(H,ie,rs,"}","\\rbrace");z(H,ie,Js,"[","\\lbrack",!0);z(st,ie,Le,"[","\\lbrack",!0);z(H,ie,rs,"]","\\rbrack",!0);z(st,ie,Le,"]","\\rbrack",!0);z(H,ie,Js,"(","\\lparen",!0);z(H,ie,rs,")","\\rparen",!0);z(st,ie,Le,"<","\\textless",!0);z(st,ie,Le,">","\\textgreater",!0);z(H,ie,Js,"\u230A","\\lfloor",!0);z(H,ie,rs,"\u230B","\\rfloor",!0);z(H,ie,Js,"\u2308","\\lceil",!0);z(H,ie,rs,"\u2309","\\rceil",!0);z(H,ie,Le,"\\","\\backslash");z(H,ie,Le,"\u2223","|");z(H,ie,Le,"\u2223","\\vert");z(st,ie,Le,"|","\\textbar",!0);z(H,ie,Le,"\u2225","\\|");z(H,ie,Le,"\u2225","\\Vert");z(st,ie,Le,"\u2225","\\textbardbl");z(st,ie,Le,"~","\\textasciitilde");z(st,ie,Le,"\\","\\textbackslash");z(st,ie,Le,"^","\\textasciicircum");z(H,ie,Ee,"\u2191","\\uparrow",!0);z(H,ie,Ee,"\u21D1","\\Uparrow",!0);z(H,ie,Ee,"\u2193","\\downarrow",!0);z(H,ie,Ee,"\u21D3","\\Downarrow",!0);z(H,ie,Ee,"\u2195","\\updownarrow",!0);z(H,ie,Ee,"\u21D5","\\Updownarrow",!0);z(H,ie,Si,"\u2210","\\coprod");z(H,ie,Si,"\u22C1","\\bigvee");z(H,ie,Si,"\u22C0","\\bigwedge");z(H,ie,Si,"\u2A04","\\biguplus");z(H,ie,Si,"\u22C2","\\bigcap");z(H,ie,Si,"\u22C3","\\bigcup");z(H,ie,Si,"\u222B","\\int");z(H,ie,Si,"\u222B","\\intop");z(H,ie,Si,"\u222C","\\iint");z(H,ie,Si,"\u222D","\\iiint");z(H,ie,Si,"\u220F","\\prod");z(H,ie,Si,"\u2211","\\sum");z(H,ie,Si,"\u2A02","\\bigotimes");z(H,ie,Si,"\u2A01","\\bigoplus");z(H,ie,Si,"\u2A00","\\bigodot");z(H,ie,Si,"\u222E","\\oint");z(H,ie,Si,"\u222F","\\oiint");z(H,ie,Si,"\u2230","\\oiiint");z(H,ie,Si,"\u2A06","\\bigsqcup");z(H,ie,Si,"\u222B","\\smallint");z(st,ie,T0,"\u2026","\\textellipsis");z(H,ie,T0,"\u2026","\\mathellipsis");z(st,ie,T0,"\u2026","\\ldots",!0);z(H,ie,T0,"\u2026","\\ldots",!0);z(H,ie,T0,"\u22EF","\\@cdots",!0);z(H,ie,T0,"\u22F1","\\ddots",!0);z(H,ie,Le,"\u22EE","\\varvdots");z(st,ie,Le,"\u22EE","\\varvdots");z(H,ie,qn,"\u02CA","\\acute");z(H,ie,qn,"\u02CB","\\grave");z(H,ie,qn,"\xA8","\\ddot");z(H,ie,qn,"~","\\tilde");z(H,ie,qn,"\u02C9","\\bar");z(H,ie,qn,"\u02D8","\\breve");z(H,ie,qn,"\u02C7","\\check");z(H,ie,qn,"^","\\hat");z(H,ie,qn,"\u20D7","\\vec");z(H,ie,qn,"\u02D9","\\dot");z(H,ie,qn,"\u02DA","\\mathring");z(H,ie,rr,"\uE131","\\@imath");z(H,ie,rr,"\uE237","\\@jmath");z(H,ie,Le,"\u0131","\u0131");z(H,ie,Le,"\u0237","\u0237");z(st,ie,Le,"\u0131","\\i",!0);z(st,ie,Le,"\u0237","\\j",!0);z(st,ie,Le,"\xDF","\\ss",!0);z(st,ie,Le,"\xE6","\\ae",!0);z(st,ie,Le,"\u0153","\\oe",!0);z(st,ie,Le,"\xF8","\\o",!0);z(st,ie,Le,"\xC6","\\AE",!0);z(st,ie,Le,"\u0152","\\OE",!0);z(st,ie,Le,"\xD8","\\O",!0);z(st,ie,qn,"\u02CA","\\'");z(st,ie,qn,"\u02CB","\\`");z(st,ie,qn,"\u02C6","\\^");z(st,ie,qn,"\u02DC","\\~");z(st,ie,qn,"\u02C9","\\=");z(st,ie,qn,"\u02D8","\\u");z(st,ie,qn,"\u02D9","\\.");z(st,ie,qn,"\xB8","\\c");z(st,ie,qn,"\u02DA","\\r");z(st,ie,qn,"\u02C7","\\v");z(st,ie,qn,"\xA8",'\\"');z(st,ie,qn,"\u02DD","\\H");z(st,ie,qn,"\u25EF","\\textcircled");Nz={"--":!0,"---":!0,"``":!0,"''":!0};z(st,ie,Le,"\u2013","--",!0);z(st,ie,Le,"\u2013","\\textendash");z(st,ie,Le,"\u2014","---",!0);z(st,ie,Le,"\u2014","\\textemdash");z(st,ie,Le,"\u2018","`",!0);z(st,ie,Le,"\u2018","\\textquoteleft");z(st,ie,Le,"\u2019","'",!0);z(st,ie,Le,"\u2019","\\textquoteright");z(st,ie,Le,"\u201C","``",!0);z(st,ie,Le,"\u201C","\\textquotedblleft");z(st,ie,Le,"\u201D","''",!0);z(st,ie,Le,"\u201D","\\textquotedblright");z(H,ie,Le,"\xB0","\\degree",!0);z(st,ie,Le,"\xB0","\\degree");z(st,ie,Le,"\xB0","\\textdegree",!0);z(H,ie,Le,"\xA3","\\pounds");z(H,ie,Le,"\xA3","\\mathsterling",!0);z(st,ie,Le,"\xA3","\\pounds");z(st,ie,Le,"\xA3","\\textsterling",!0);z(H,ke,Le,"\u2720","\\maltese");z(st,ke,Le,"\u2720","\\maltese");JG='0123456789/@."';for(o3=0;o30)return fl(a,h,i,r,s.concat(f));if(u){var d,p;if(u==="boldsymbol"){var m=n3e(a,i,r,s,n);d=m.fontName,p=[m.fontClass]}else l?(d=Oz[u].fontName,p=[u]):(d=f3(u,r.fontWeight,r.fontShape),p=[u,r.fontWeight,r.fontShape]);if(A3(a,d,i).metrics)return fl(a,d,i,r,s.concat(p));if(Nz.hasOwnProperty(a)&&d.slice(0,10)==="Typewriter"){for(var g=[],y=0;y{if(yh(t.classes)!==yh(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in t.style)if(t.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;for(var i in e.style)if(e.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;return!0},"canCombine"),s3e=o(t=>{for(var e=0;er&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>i&&(i=s.maxFontSize)}e.height=r,e.depth=n,e.maxFontSize=i},"sizeElementFromChildren"),Es=o(function(e,r,n,i){var a=new cd(e,r,n,i);return nA(a),a},"makeSpan"),Mz=o((t,e,r,n)=>new cd(t,e,r,n),"makeSvgSpan"),o3e=o(function(e,r,n){var i=Es([e],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=Et(i.height),i.maxFontSize=1,i},"makeLineSpan"),l3e=o(function(e,r,n,i){var a=new Xy(e,r,n,i);return nA(a),a},"makeAnchor"),Iz=o(function(e){var r=new ld(e);return nA(r),r},"makeFragment"),c3e=o(function(e,r){return e instanceof ld?Es([],[e],r):e},"wrapFragment"),u3e=o(function(e){if(e.positionType==="individualShift"){for(var r=e.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,s=1;s{var r=Es(["mspace"],[],e),n=ii(t,e);return r.style.marginRight=Et(n),r},"makeGlue"),f3=o(function(e,r,n){var i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}var a;return r==="textbf"&&n==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",i+"-"+a},"retrieveTextFontName"),Oz={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Pz={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},d3e=o(function(e,r){var[n,i,a]=Pz[e],s=new Ql(n),l=new dl([s],{width:Et(i),height:Et(a),style:"width:"+Et(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),u=Mz(["overlay"],[l],r);return u.height=a,u.style.height=Et(a),u.style.width=Et(i),u},"staticSvg"),Fe={fontMap:Oz,makeSymbol:fl,mathsym:r3e,makeSpan:Es,makeSvgSpan:Mz,makeLineSpan:o3e,makeAnchor:l3e,makeFragment:Iz,wrapFragment:c3e,makeVList:h3e,makeOrd:i3e,makeGlue:f3e,staticSvg:d3e,svgData:Pz,tryCombineChars:s3e},ni={number:3,unit:"mu"},od={number:4,unit:"mu"},ou={number:5,unit:"mu"},p3e={mord:{mop:ni,mbin:od,mrel:ou,minner:ni},mop:{mord:ni,mop:ni,mrel:ou,minner:ni},mbin:{mord:od,mop:od,mopen:od,minner:od},mrel:{mord:ou,mop:ou,mopen:ou,minner:ou},mopen:{},mclose:{mop:ni,mbin:od,mrel:ou,minner:ni},mpunct:{mord:ni,mop:ni,mrel:ou,mopen:ni,mclose:ni,mpunct:ni,minner:ni},minner:{mord:ni,mop:ni,mbin:od,mrel:ou,mopen:ni,mpunct:ni,minner:ni}},m3e={mord:{mop:ni},mop:{mord:ni,mop:ni},mbin:{},mrel:{},mopen:{},mclose:{mop:ni},mpunct:{},minner:{mop:ni}},Bz={},T3={},w3={};o(Rt,"defineFunction");o(ud,"defineFunctionBuilders");k3=o(function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},"normalizeArgument"),yi=o(function(e){return e.type==="ordgroup"?e.body:[e]},"ordargument"),uu=Fe.makeSpan,g3e=["leftmost","mbin","mopen","mrel","mop","mpunct"],y3e=["rightmost","mrel","mclose","mpunct"],v3e={display:nr.DISPLAY,text:nr.TEXT,script:nr.SCRIPT,scriptscript:nr.SCRIPTSCRIPT},x3e={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Pi=o(function(e,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],s=0;s{var x=y.classes[0],v=g.classes[0];x==="mbin"&&er.contains(y3e,v)?y.classes[0]="mord":v==="mbin"&&er.contains(g3e,x)&&(g.classes[0]="mord")},{node:d},p,m),rz(a,(g,y)=>{var x=Y7(y),v=Y7(g),b=x&&v?g.hasClass("mtight")?m3e[x][v]:p3e[x][v]:null;if(b)return Fe.makeGlue(b,h)},{node:d},p,m),a},"buildExpression"),rz=o(function t(e,r,n,i,a){i&&e.push(i);for(var s=0;sp=>{e.splice(d+1,0,p),s++})(s)}i&&e.pop()},"traverseNonSpaceNodes"),Fz=o(function(e){return e instanceof ld||e instanceof Xy||e instanceof cd&&e.hasClass("enclosing")?e:null},"checkPartialGroup"),b3e=o(function t(e,r){var n=Fz(e);if(n){var i=n.children;if(i.length){if(r==="right")return t(i[i.length-1],"right");if(r==="left")return t(i[0],"left")}}return e},"getOutermostNode"),Y7=o(function(e,r){return e?(r&&(e=b3e(e,r)),x3e[e.classes[0]]||null):null},"getTypeOfDomTree"),Ky=o(function(e,r){var n=["nulldelimiter"].concat(e.baseSizingClasses());return uu(r.concat(n))},"makeNullDelimiter"),$r=o(function(e,r,n){if(!e)return uu();if(T3[e.type]){var i=T3[e.type](e,r);if(n&&r.size!==n.size){i=uu(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new gt("Got group of unknown type: '"+e.type+"'")},"buildGroup");o(d3,"buildHTMLUnbreakable");o(X7,"buildHTML");o($z,"newDocumentFragment");es=class{static{o(this,"MathNode")}constructor(e,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=yh(this.classes));for(var n=0;n0&&(e+=' class ="'+er.escape(yh(this.classes))+'"'),e+=">";for(var n=0;n",e}toText(){return this.children.map(e=>e.toText()).join("")}},Ao=class{static{o(this,"TextNode")}constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return er.escape(this.toText())}toText(){return this.text}},j7=class{static{o(this,"SpaceNode")}constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",Et(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},mt={MathNode:es,TextNode:Ao,SpaceNode:j7,newDocumentFragment:$z},Do=o(function(e,r,n){return Ln[r][e]&&Ln[r][e].replace&&e.charCodeAt(0)!==55349&&!(Nz.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=Ln[r][e].replace),new mt.TextNode(e)},"makeText"),iA=o(function(e){return e.length===1?e[0]:new mt.MathNode("mrow",e)},"makeRow"),aA=o(function(e,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var i=e.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var a=e.text;if(er.contains(["\\imath","\\jmath"],a))return null;Ln[i][a]&&Ln[i][a].replace&&(a=Ln[i][a].replace);var s=Fe.fontMap[n].fontName;return rA(a,s,i)?Fe.fontMap[n].variant:null},"getVariant");o(M7,"isNumberPunctuation");Cs=o(function(e,r,n){if(e.length===1){var i=vn(e[0],r);return n&&i instanceof es&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],s,l=0;l=1&&(s.type==="mn"||M7(s))){var h=u.children[0];h instanceof es&&h.type==="mn"&&(h.children=[...s.children,...h.children],a.pop())}else if(s.type==="mi"&&s.children.length===1){var f=s.children[0];if(f instanceof Ao&&f.text==="\u0338"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var d=u.children[0];d instanceof Ao&&d.text.length>0&&(d.text=d.text.slice(0,1)+"\u0338"+d.text.slice(1),a.pop())}}}a.push(u),s=u}return a},"buildExpression"),vh=o(function(e,r,n){return iA(Cs(e,r,n))},"buildExpressionRow"),vn=o(function(e,r){if(!e)return new mt.MathNode("mrow");if(w3[e.type]){var n=w3[e.type](e,r);return n}else throw new gt("Got group of unknown type: '"+e.type+"'")},"buildGroup");o(nz,"buildMathML");Gz=o(function(e){return new x3({style:e.displayMode?nr.DISPLAY:nr.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},"optionsFromSettings"),zz=o(function(e,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),e=Fe.makeSpan(n,[e])}return e},"displayWrap"),T3e=o(function(e,r,n){var i=Gz(n),a;if(n.output==="mathml")return nz(e,r,i,n.displayMode,!0);if(n.output==="html"){var s=X7(e,i);a=Fe.makeSpan(["katex"],[s])}else{var l=nz(e,r,i,n.displayMode,!1),u=X7(e,i);a=Fe.makeSpan(["katex"],[l,u])}return zz(a,n)},"buildTree"),w3e=o(function(e,r,n){var i=Gz(n),a=X7(e,i),s=Fe.makeSpan(["katex"],[a]);return zz(s,n)},"buildHTMLTree"),k3e={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},E3e=o(function(e){var r=new mt.MathNode("mo",[new mt.TextNode(k3e[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},"mathMLnode"),S3e={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},C3e=o(function(e){return e.type==="ordgroup"?e.body.length:1},"groupLength"),A3e=o(function(e,r){function n(){var l=4e5,u=e.label.slice(1);if(er.contains(["widehat","widecheck","widetilde","utilde"],u)){var h=e,f=C3e(h.base),d,p,m;if(f>5)u==="widehat"||u==="widecheck"?(d=420,l=2364,m=.42,p=u+"4"):(d=312,l=2340,m=.34,p="tilde4");else{var g=[1,1,2,2,3,3][f];u==="widehat"||u==="widecheck"?(l=[0,1062,2364,2364,2364][g],d=[0,239,300,360,420][g],m=[0,.24,.3,.3,.36,.42][g],p=u+g):(l=[0,600,1033,2339,2340][g],d=[0,260,286,306,312][g],m=[0,.26,.286,.3,.306,.34][g],p="tilde"+g)}var y=new Ql(p),x=new dl([y],{width:"100%",height:Et(m),viewBox:"0 0 "+l+" "+d,preserveAspectRatio:"none"});return{span:Fe.makeSvgSpan([],[x],r),minWidth:0,height:m}}else{var v=[],b=S3e[u],[T,S,w]=b,E=w/1e3,_=T.length,A,D;if(_===1){var O=b[3];A=["hide-tail"],D=[O]}else if(_===2)A=["halfarrow-left","halfarrow-right"],D=["xMinYMin","xMaxYMin"];else if(_===3)A=["brace-left","brace-center","brace-right"],D=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+_+" children.");for(var R=0;R<_;R++){var k=new Ql(T[R]),L=new dl([k],{width:"400em",height:Et(E),viewBox:"0 0 "+l+" "+w,preserveAspectRatio:D[R]+" slice"}),C=Fe.makeSvgSpan([A[R]],[L],r);if(_===1)return{span:C,minWidth:S,height:E};C.style.height=Et(E),v.push(C)}return{span:Fe.makeSpan(["stretchy"],v,r),minWidth:S,height:E}}}o(n,"buildSvgSpan_");var{span:i,minWidth:a,height:s}=n();return i.height=s,i.style.height=Et(s),a>0&&(i.style.minWidth=Et(a)),i},"svgSpan"),_3e=o(function(e,r,n,i,a){var s,l=e.height+e.depth+n+i;if(/fbox|color|angl/.test(r)){if(s=Fe.makeSpan(["stretchy",r],[],a),r==="fbox"){var u=a.color&&a.getColor();u&&(s.style.borderColor=u)}}else{var h=[];/^[bx]cancel$/.test(r)&&h.push(new jy({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&h.push(new jy({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var f=new dl(h,{width:"100%",height:Et(l)});s=Fe.makeSvgSpan([],[f],a)}return s.height=l,s.style.height=Et(l),s},"encloseSpan"),hu={encloseSpan:_3e,mathMLnode:E3e,svgSpan:A3e};o(xr,"assertNodeType");o(sA,"assertSymbolNodeType");o(_3,"checkSymbolNodeType");oA=o((t,e)=>{var r,n,i;t&&t.type==="supsub"?(n=xr(t.base,"accent"),r=n.base,t.base=r,i=Z4e($r(t,e)),t.base=n):(n=xr(t,"accent"),r=n.base);var a=$r(r,e.havingCrampedStyle()),s=n.isShifty&&er.isCharacterBox(r),l=0;if(s){var u=er.getBaseElem(r),h=$r(u,e.havingCrampedStyle());l=ZG(h).skew}var f=n.label==="\\c",d=f?a.height+a.depth:Math.min(a.height,e.fontMetrics().xHeight),p;if(n.isStretchy)p=hu.svgSpan(n,e),p=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+Et(2*l)+")",marginLeft:Et(2*l)}:void 0}]},e);else{var m,g;n.label==="\\vec"?(m=Fe.staticSvg("vec",e),g=Fe.svgData.vec[1]):(m=Fe.makeOrd({mode:n.mode,text:n.label},e,"textord"),m=ZG(m),m.italic=0,g=m.width,f&&(d+=m.depth)),p=Fe.makeSpan(["accent-body"],[m]);var y=n.label==="\\textcircled";y&&(p.classes.push("accent-full"),d=a.height);var x=l;y||(x-=g/2),p.style.left=Et(x),n.label==="\\textcircled"&&(p.style.top=".2em"),p=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-d},{type:"elem",elem:p}]},e)}var v=Fe.makeSpan(["mord","accent"],[p],e);return i?(i.children[0]=v,i.height=Math.max(v.height,i.height),i.classes[0]="mord",i):v},"htmlBuilder$a"),Vz=o((t,e)=>{var r=t.isStretchy?hu.mathMLnode(t.label):new mt.MathNode("mo",[Do(t.label,t.mode)]),n=new mt.MathNode("mover",[vn(t.base,e),r]);return n.setAttribute("accent","true"),n},"mathmlBuilder$9"),D3e=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));Rt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:o((t,e)=>{var r=k3(e[0]),n=!D3e.test(t.funcName),i=!n||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:n,isShifty:i,base:r}},"handler"),htmlBuilder:oA,mathmlBuilder:Vz});Rt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:o((t,e)=>{var r=e[0],n=t.parser.mode;return n==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},"handler"),htmlBuilder:oA,mathmlBuilder:Vz});Rt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},"handler"),htmlBuilder:o((t,e)=>{var r=$r(t.base,e),n=hu.svgSpan(t,e),i=t.label==="\\utilde"?.12:0,a=Fe.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},e);return Fe.makeSpan(["mord","accentunder"],[a],e)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=hu.mathMLnode(t.label),n=new mt.MathNode("munder",[vn(t.base,e),r]);return n.setAttribute("accentunder","true"),n},"mathmlBuilder")});p3=o(t=>{var e=new mt.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e},"paddedNode");Rt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:n,funcName:i}=t;return{type:"xArrow",mode:n.mode,label:i,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,n=e.havingStyle(r.sup()),i=Fe.wrapFragment($r(t.body,n,e),e),a=t.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var s;t.below&&(n=e.havingStyle(r.sub()),s=Fe.wrapFragment($r(t.below,n,e),e),s.classes.push(a+"-arrow-pad"));var l=hu.svgSpan(t,e),u=-e.fontMetrics().axisHeight+.5*l.height,h=-e.fontMetrics().axisHeight-.5*l.height-.111;(i.depth>.25||t.label==="\\xleftequilibrium")&&(h-=i.depth);var f;if(s){var d=-e.fontMetrics().axisHeight+s.height+.5*l.height+.111;f=Fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:l,shift:u},{type:"elem",elem:s,shift:d}]},e)}else f=Fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:l,shift:u}]},e);return f.children[0].children[0].children[1].classes.push("svg-align"),Fe.makeSpan(["mrel","x-arrow"],[f],e)},mathmlBuilder(t,e){var r=hu.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(t.body){var i=p3(vn(t.body,e));if(t.below){var a=p3(vn(t.below,e));n=new mt.MathNode("munderover",[r,a,i])}else n=new mt.MathNode("mover",[r,i])}else if(t.below){var s=p3(vn(t.below,e));n=new mt.MathNode("munder",[r,s])}else n=p3(),n=new mt.MathNode("mover",[r,n]);return n}});L3e=Fe.makeSpan;o(Uz,"htmlBuilder$9");o(Hz,"mathmlBuilder$8");Rt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:yi(i),isCharacterBox:er.isCharacterBox(i)}},htmlBuilder:Uz,mathmlBuilder:Hz});D3=o(t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"},"binrelClass");Rt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:D3(e[0]),body:yi(e[1]),isCharacterBox:er.isCharacterBox(e[1])}}});Rt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:n}=t,i=e[1],a=e[0],s;n!=="\\stackrel"?s=D3(i):s="mrel";var l={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:yi(i)},u={type:"supsub",mode:a.mode,base:l,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:s,body:[u],isCharacterBox:er.isCharacterBox(u)}},htmlBuilder:Uz,mathmlBuilder:Hz});Rt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:D3(e[0]),body:yi(e[0])}},htmlBuilder(t,e){var r=Pi(t.body,e,!0),n=Fe.makeSpan([t.mclass],r,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(t,e){var r=Cs(t.body,e),n=new mt.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});R3e={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},iz=o(()=>({type:"styling",body:[],mode:"math",style:"display"}),"newCell"),az=o(t=>t.type==="textord"&&t.text==="@","isStartOfArrow"),N3e=o((t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e,"isLabelEnd");o(M3e,"cdArrow");o(I3e,"parseCD");Rt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),n=Fe.wrapFragment($r(t.label,r,e),e);return n.classes.push("cd-label-"+t.side),n.style.bottom=Et(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(t,e){var r=new mt.MathNode("mrow",[vn(t.label,e)]);return r=new mt.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new mt.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});Rt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=Fe.wrapFragment($r(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new mt.MathNode("mrow",[vn(t.fragment,e)])}});Rt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,n=xr(e[0],"ordgroup"),i=n.body,a="",s=0;s=1114111)throw new gt("\\@char with invalid code point "+a);return u<=65535?h=String.fromCharCode(u):(u-=65536,h=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:h}}});Wz=o((t,e)=>{var r=Pi(t.body,e.withColor(t.color),!1);return Fe.makeFragment(r)},"htmlBuilder$8"),qz=o((t,e)=>{var r=Cs(t.body,e.withColor(t.color)),n=new mt.MathNode("mstyle",r);return n.setAttribute("mathcolor",t.color),n},"mathmlBuilder$7");Rt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,n=xr(e[0],"color-token").color,i=e[1];return{type:"color",mode:r.mode,color:n,body:yi(i)}},htmlBuilder:Wz,mathmlBuilder:qz});Rt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:n}=t,i=xr(e[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:Wz,mathmlBuilder:qz});Rt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:n}=t,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&xr(i,"size").value}},htmlBuilder(t,e){var r=Fe.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=Et(ii(t.size,e)))),r},mathmlBuilder(t,e){var r=new mt.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",Et(ii(t.size,e)))),r}});K7={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Yz=o(t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new gt("Expected a control sequence",t);return e},"checkControlSequence"),O3e=o(t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},"getRHS"),Xz=o((t,e,r,n)=>{var i=t.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,i,n)},"letCommand");Rt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var n=e.fetch();if(K7[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=K7[n.text]),xr(e.parseFunction(),"internal");throw new gt("Invalid token after macro prefix",n)}});Rt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=e.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new gt("Expected a control sequence",n);for(var a=0,s,l=[[]];e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){s=e.gullet.future(),l[a].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new gt('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new gt('Argument number "'+n.text+'" out of order');a++,l.push([])}else{if(n.text==="EOF")throw new gt("Expected a macro definition");l[a].push(n.text)}var{tokens:u}=e.gullet.consumeArg();return s&&u.unshift(s),(r==="\\edef"||r==="\\xdef")&&(u=e.gullet.expandTokens(u),u.reverse()),e.gullet.macros.set(i,{tokens:u,numArgs:a,delimiters:l},r===K7[r]),{type:"internal",mode:e.mode}}});Rt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=Yz(e.gullet.popToken());e.gullet.consumeSpaces();var i=O3e(e);return Xz(e,n,i,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});Rt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=Yz(e.gullet.popToken()),i=e.gullet.popToken(),a=e.gullet.popToken();return Xz(e,n,a,r==="\\\\globalfuture"),e.gullet.pushToken(a),e.gullet.pushToken(i),{type:"internal",mode:e.mode}}});Uy=o(function(e,r,n){var i=Ln.math[e]&&Ln.math[e].replace,a=rA(i||e,r,n);if(!a)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return a},"getMetrics"),lA=o(function(e,r,n,i){var a=n.havingBaseStyle(r),s=Fe.makeSpan(i.concat(a.sizingClasses(n)),[e],n),l=a.sizeMultiplier/n.sizeMultiplier;return s.height*=l,s.depth*=l,s.maxFontSize=a.sizeMultiplier,s},"styleWrap"),jz=o(function(e,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Et(a),e.height-=a,e.depth+=a},"centerSpan"),P3e=o(function(e,r,n,i,a,s){var l=Fe.makeSymbol(e,"Main-Regular",a,i),u=lA(l,r,i,s);return n&&jz(u,i,r),u},"makeSmallDelim"),B3e=o(function(e,r,n,i){return Fe.makeSymbol(e,"Size"+r+"-Regular",n,i)},"mathrmSize"),Kz=o(function(e,r,n,i,a,s){var l=B3e(e,r,a,i),u=lA(Fe.makeSpan(["delimsizing","size"+r],[l],i),nr.TEXT,i,s);return n&&jz(u,i,nr.TEXT),u},"makeLargeDelim"),I7=o(function(e,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=Fe.makeSpan(["delimsizinginner",i],[Fe.makeSpan([],[Fe.makeSymbol(e,r,n)])]);return{type:"elem",elem:a}},"makeGlyphSpan"),O7=o(function(e,r,n){var i=Kl["Size4-Regular"][e.charCodeAt(0)]?Kl["Size4-Regular"][e.charCodeAt(0)][4]:Kl["Size1-Regular"][e.charCodeAt(0)][4],a=new Ql("inner",W4e(e,Math.round(1e3*r))),s=new dl([a],{width:Et(i),height:Et(r),style:"width:"+Et(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),l=Fe.makeSvgSpan([],[s],n);return l.height=r,l.style.height=Et(r),l.style.width=Et(i),{type:"elem",elem:l}},"makeInner"),Q7=.008,m3={type:"kern",size:-1*Q7},F3e=["|","\\lvert","\\rvert","\\vert"],$3e=["\\|","\\lVert","\\rVert","\\Vert"],Qz=o(function(e,r,n,i,a,s){var l,u,h,f,d="",p=0;l=h=f=e,u=null;var m="Size1-Regular";e==="\\uparrow"?h=f="\u23D0":e==="\\Uparrow"?h=f="\u2016":e==="\\downarrow"?l=h="\u23D0":e==="\\Downarrow"?l=h="\u2016":e==="\\updownarrow"?(l="\\uparrow",h="\u23D0",f="\\downarrow"):e==="\\Updownarrow"?(l="\\Uparrow",h="\u2016",f="\\Downarrow"):er.contains(F3e,e)?(h="\u2223",d="vert",p=333):er.contains($3e,e)?(h="\u2225",d="doublevert",p=556):e==="["||e==="\\lbrack"?(l="\u23A1",h="\u23A2",f="\u23A3",m="Size4-Regular",d="lbrack",p=667):e==="]"||e==="\\rbrack"?(l="\u23A4",h="\u23A5",f="\u23A6",m="Size4-Regular",d="rbrack",p=667):e==="\\lfloor"||e==="\u230A"?(h=l="\u23A2",f="\u23A3",m="Size4-Regular",d="lfloor",p=667):e==="\\lceil"||e==="\u2308"?(l="\u23A1",h=f="\u23A2",m="Size4-Regular",d="lceil",p=667):e==="\\rfloor"||e==="\u230B"?(h=l="\u23A5",f="\u23A6",m="Size4-Regular",d="rfloor",p=667):e==="\\rceil"||e==="\u2309"?(l="\u23A4",h=f="\u23A5",m="Size4-Regular",d="rceil",p=667):e==="("||e==="\\lparen"?(l="\u239B",h="\u239C",f="\u239D",m="Size4-Regular",d="lparen",p=875):e===")"||e==="\\rparen"?(l="\u239E",h="\u239F",f="\u23A0",m="Size4-Regular",d="rparen",p=875):e==="\\{"||e==="\\lbrace"?(l="\u23A7",u="\u23A8",f="\u23A9",h="\u23AA",m="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(l="\u23AB",u="\u23AC",f="\u23AD",h="\u23AA",m="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(l="\u23A7",f="\u23A9",h="\u23AA",m="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(l="\u23AB",f="\u23AD",h="\u23AA",m="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(l="\u23A7",f="\u23AD",h="\u23AA",m="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(l="\u23AB",f="\u23A9",h="\u23AA",m="Size4-Regular");var g=Uy(l,m,a),y=g.height+g.depth,x=Uy(h,m,a),v=x.height+x.depth,b=Uy(f,m,a),T=b.height+b.depth,S=0,w=1;if(u!==null){var E=Uy(u,m,a);S=E.height+E.depth,w=2}var _=y+T+S,A=Math.max(0,Math.ceil((r-_)/(w*v))),D=_+A*w*v,O=i.fontMetrics().axisHeight;n&&(O*=i.sizeMultiplier);var R=D/2-O,k=[];if(d.length>0){var L=D-y-T,C=Math.round(D*1e3),I=q4e(d,Math.round(L*1e3)),M=new Ql(d,I),P=(p/1e3).toFixed(3)+"em",B=(C/1e3).toFixed(3)+"em",F=new dl([M],{width:P,height:B,viewBox:"0 0 "+p+" "+C}),G=Fe.makeSvgSpan([],[F],i);G.height=C/1e3,G.style.width=P,G.style.height=B,k.push({type:"elem",elem:G})}else{if(k.push(I7(f,m,a)),k.push(m3),u===null){var $=D-y-T+2*Q7;k.push(O7(h,$,i))}else{var U=(D-y-T-S)/2+2*Q7;k.push(O7(h,U,i)),k.push(m3),k.push(I7(u,m,a)),k.push(m3),k.push(O7(h,U,i))}k.push(m3),k.push(I7(l,m,a))}var K=i.havingBaseStyle(nr.TEXT),ne=Fe.makeVList({positionType:"bottom",positionData:R,children:k},K);return lA(Fe.makeSpan(["delimsizing","mult"],[ne],K),nr.TEXT,i,s)},"makeStackedDelim"),P7=80,B7=.08,F7=o(function(e,r,n,i,a){var s=H4e(e,i,n),l=new Ql(e,s),u=new dl([l],{width:"400em",height:Et(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Fe.makeSvgSpan(["hide-tail"],[u],a)},"sqrtSvg"),G3e=o(function(e,r){var n=r.havingBaseSizing(),i=tV("\\surd",e*n.sizeMultiplier,eV,n),a=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),l,u=0,h=0,f=0,d;return i.type==="small"?(f=1e3+1e3*s+P7,e<1?a=1:e<1.4&&(a=.7),u=(1+s+B7)/a,h=(1+s)/a,l=F7("sqrtMain",u,f,s,r),l.style.minWidth="0.853em",d=.833/a):i.type==="large"?(f=(1e3+P7)*Wy[i.size],h=(Wy[i.size]+s)/a,u=(Wy[i.size]+s+B7)/a,l=F7("sqrtSize"+i.size,u,f,s,r),l.style.minWidth="1.02em",d=1/a):(u=e+s+B7,h=e+s,f=Math.floor(1e3*e+s)+P7,l=F7("sqrtTall",u,f,s,r),l.style.minWidth="0.742em",d=1.056),l.height=h,l.style.height=Et(u),{span:l,advanceWidth:d,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*a}},"makeSqrtImage"),Zz=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],z3e=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Jz=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Wy=[0,1.2,1.8,2.4,3],V3e=o(function(e,r,n,i,a){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),er.contains(Zz,e)||er.contains(Jz,e))return Kz(e,r,!1,n,i,a);if(er.contains(z3e,e))return Qz(e,Wy[r],!1,n,i,a);throw new gt("Illegal delimiter: '"+e+"'")},"makeSizedDelim"),U3e=[{type:"small",style:nr.SCRIPTSCRIPT},{type:"small",style:nr.SCRIPT},{type:"small",style:nr.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],H3e=[{type:"small",style:nr.SCRIPTSCRIPT},{type:"small",style:nr.SCRIPT},{type:"small",style:nr.TEXT},{type:"stack"}],eV=[{type:"small",style:nr.SCRIPTSCRIPT},{type:"small",style:nr.SCRIPT},{type:"small",style:nr.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],W3e=o(function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},"delimTypeToFont"),tV=o(function(e,r,n,i){for(var a=Math.min(2,3-i.style.size),s=a;sr)return n[s]}return n[n.length-1]},"traverseSequence"),rV=o(function(e,r,n,i,a,s){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var l;er.contains(Jz,e)?l=U3e:er.contains(Zz,e)?l=eV:l=H3e;var u=tV(e,r,l,i);return u.type==="small"?P3e(e,u.style,n,i,a,s):u.type==="large"?Kz(e,u.size,n,i,a,s):Qz(e,r,n,i,a,s)},"makeCustomSizedDelim"),q3e=o(function(e,r,n,i,a,s){var l=i.fontMetrics().axisHeight*i.sizeMultiplier,u=901,h=5/i.fontMetrics().ptPerEm,f=Math.max(r-l,n+l),d=Math.max(f/500*u,2*f-h);return rV(e,d,!0,i,a,s)},"makeLeftRightDelim"),cu={sqrtImage:G3e,sizedDelim:V3e,sizeToMaxHeight:Wy,customSizedDelim:rV,leftRightDelim:q3e},sz={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Y3e=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];o(L3,"checkDelimiter");Rt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:o((t,e)=>{var r=L3(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:sz[t.funcName].size,mclass:sz[t.funcName].mclass,delim:r.text}},"handler"),htmlBuilder:o((t,e)=>t.delim==="."?Fe.makeSpan([t.mclass]):cu.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),"htmlBuilder"),mathmlBuilder:o(t=>{var e=[];t.delim!=="."&&e.push(Do(t.delim,t.mode));var r=new mt.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=Et(cu.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r},"mathmlBuilder")});o(oz,"assertParsed");Rt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:o((t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new gt("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:L3(e[0],t).text,color:r}},"handler")});Rt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:o((t,e)=>{var r=L3(e[0],t),n=t.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=xr(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},"handler"),htmlBuilder:o((t,e)=>{oz(t);for(var r=Pi(t.body,e,!0,["mopen","mclose"]),n=0,i=0,a=!1,s=0;s{oz(t);var r=Cs(t.body,e);if(t.left!=="."){var n=new mt.MathNode("mo",[Do(t.left,t.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(t.right!=="."){var i=new mt.MathNode("mo",[Do(t.right,t.mode)]);i.setAttribute("fence","true"),t.rightColor&&i.setAttribute("mathcolor",t.rightColor),r.push(i)}return iA(r)},"mathmlBuilder")});Rt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:o((t,e)=>{var r=L3(e[0],t);if(!t.parser.leftrightDepth)throw new gt("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},"handler"),htmlBuilder:o((t,e)=>{var r;if(t.delim===".")r=Ky(e,[]);else{r=cu.sizedDelim(t.delim,1,e,t.mode,[]);var n={delim:t.delim,options:e};r.isMiddle=n}return r},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?Do("|","text"):Do(t.delim,t.mode),n=new mt.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n},"mathmlBuilder")});cA=o((t,e)=>{var r=Fe.wrapFragment($r(t.body,e),e),n=t.label.slice(1),i=e.sizeMultiplier,a,s=0,l=er.isCharacterBox(t.body);if(n==="sout")a=Fe.makeSpan(["stretchy","sout"]),a.height=e.fontMetrics().defaultRuleThickness/i,s=-.5*e.fontMetrics().xHeight;else if(n==="phase"){var u=ii({number:.6,unit:"pt"},e),h=ii({number:.35,unit:"ex"},e),f=e.havingBaseSizing();i=i/f.sizeMultiplier;var d=r.height+r.depth+u+h;r.style.paddingLeft=Et(d/2+u);var p=Math.floor(1e3*d*i),m=V4e(p),g=new dl([new Ql("phase",m)],{width:"400em",height:Et(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});a=Fe.makeSvgSpan(["hide-tail"],[g],e),a.style.height=Et(d),s=r.depth+u+h}else{/cancel/.test(n)?l||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var y=0,x=0,v=0;/box/.test(n)?(v=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),y=e.fontMetrics().fboxsep+(n==="colorbox"?0:v),x=y):n==="angl"?(v=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),y=4*v,x=Math.max(0,.25-r.depth)):(y=l?.2:0,x=y),a=hu.encloseSpan(r,n,y,x,e),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=Et(v)):n==="angl"&&v!==.049&&(a.style.borderTopWidth=Et(v),a.style.borderRightWidth=Et(v)),s=r.depth+x,t.backgroundColor&&(a.style.backgroundColor=t.backgroundColor,t.borderColor&&(a.style.borderColor=t.borderColor))}var b;if(t.backgroundColor)b=Fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:s},{type:"elem",elem:r,shift:0}]},e);else{var T=/cancel|phase/.test(n)?["svg-align"]:[];b=Fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:T}]},e)}return/cancel/.test(n)&&(b.height=r.height,b.depth=r.depth),/cancel/.test(n)&&!l?Fe.makeSpan(["mord","cancel-lap"],[b],e):Fe.makeSpan(["mord"],[b],e)},"htmlBuilder$7"),uA=o((t,e)=>{var r=0,n=new mt.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[vn(t.body,e)]);switch(t.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var i=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(t.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&n.setAttribute("mathbackground",t.backgroundColor),n},"mathmlBuilder$6");Rt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:n,funcName:i}=t,a=xr(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:s}},htmlBuilder:cA,mathmlBuilder:uA});Rt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:n,funcName:i}=t,a=xr(e[0],"color-token").color,s=xr(e[1],"color-token").color,l=e[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:s,borderColor:a,body:l}},htmlBuilder:cA,mathmlBuilder:uA});Rt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});Rt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:cA,mathmlBuilder:uA});Rt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});nV={};o(Zl,"defineEnvironment");iV={};o(ue,"defineMacro");o(lz,"getHLines");R3=o(t=>{var e=t.parser.settings;if(!e.displayMode)throw new gt("{"+t.envName+"} can be used only in display mode.")},"validateAmsEnvironmentContext");o(hA,"getAutoTag");o(xh,"parseArray");o(fA,"dCellStyle");Jl=o(function(e,r){var n,i,a=e.body.length,s=e.hLinesBeforeRow,l=0,u=new Array(a),h=[],f=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),d=1/r.fontMetrics().ptPerEm,p=5*d;if(e.colSeparationType&&e.colSeparationType==="small"){var m=r.havingStyle(nr.SCRIPT).sizeMultiplier;p=.2778*(m/r.sizeMultiplier)}var g=e.colSeparationType==="CD"?ii({number:3,unit:"ex"},r):12*d,y=3*d,x=e.arraystretch*g,v=.7*x,b=.3*x,T=0;function S(W){for(var Oe=0;Oe0&&(T+=.25),h.push({pos:T,isDashed:W[Oe]})}for(o(S,"setHLinePos"),S(s[0]),n=0;n0&&(R+=b,_W))for(n=0;n=l)){var Z=void 0;(i>0||e.hskipBeforeAndAfter)&&(Z=er.deflt(U.pregap,p),Z!==0&&(I=Fe.makeSpan(["arraycolsep"],[]),I.style.width=Et(Z),C.push(I)));var ce=[];for(n=0;n0){for(var re=Fe.makeLineSpan("hline",r,f),he=Fe.makeLineSpan("hdashline",r,f),J=[{type:"elem",elem:u,shift:0}];h.length>0;){var ye=h.pop(),se=ye.pos-k;ye.isDashed?J.push({type:"elem",elem:he,shift:se}):J.push({type:"elem",elem:re,shift:se})}u=Fe.makeVList({positionType:"individualShift",children:J},r)}if(P.length===0)return Fe.makeSpan(["mord"],[u],r);var Se=Fe.makeVList({positionType:"individualShift",children:P},r);return Se=Fe.makeSpan(["tag"],[Se],r),Fe.makeFragment([u,Se])},"htmlBuilder"),X3e={c:"center ",l:"left ",r:"right "},ec=o(function(e,r){for(var n=[],i=new mt.MathNode("mtd",[],["mtr-glue"]),a=new mt.MathNode("mtd",[],["mml-eqn-num"]),s=0;s0){var g=e.cols,y="",x=!1,v=0,b=g.length;g[0].type==="separator"&&(p+="top ",v=1),g[g.length-1].type==="separator"&&(p+="bottom ",b-=1);for(var T=v;T0?"left ":"",p+=A[A.length-1].length>0?"right ":"";for(var D=1;D-1?"alignat":"align",a=e.envName==="split",s=xh(e.parser,{cols:n,addJot:!0,autoTag:a?void 0:hA(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display"),l,u=0,h={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var f="",d=0;d0&&m&&(x=1),n[g]={type:"align",align:y,pregap:x,postgap:0}}return s.colSeparationType=m?"align":"alignat",s},"alignedHandler");Zl({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=_3(e[0]),n=r?[e[0]]:xr(e[0],"ordgroup").body,i=n.map(function(s){var l=sA(s),u=l.text;if("lcr".indexOf(u)!==-1)return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new gt("Unknown column alignment: "+u,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return xh(t.parser,a,fA(t.envName))},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var i=t.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new gt("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=xh(t.parser,n,fA(t.envName)),s=Math.max(0,...a.body.map(l=>l.length));return a.cols=new Array(s).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[a],left:e[0],right:e[1],rightColor:void 0}:a},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=xh(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=_3(e[0]),n=r?[e[0]]:xr(e[0],"ordgroup").body,i=n.map(function(s){var l=sA(s),u=l.text;if("lc".indexOf(u)!==-1)return{type:"align",align:u};throw new gt("Unknown column alignment: "+u,s)});if(i.length>1)throw new gt("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=xh(t.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new gt("{subarray} can contain only one column");return a},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=xh(t.parser,e,fA(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:aV,htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){er.contains(["gather","gather*"],t.envName)&&R3(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:hA(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return xh(t.parser,e,"display")},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:aV,htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){R3(t);var e={autoTag:hA(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return xh(t.parser,e,"display")},htmlBuilder:Jl,mathmlBuilder:ec});Zl({type:"array",names:["CD"],props:{numArgs:0},handler(t){return R3(t),I3e(t.parser)},htmlBuilder:Jl,mathmlBuilder:ec});ue("\\nonumber","\\gdef\\@eqnsw{0}");ue("\\notag","\\nonumber");Rt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new gt(t.funcName+" valid only within array environment")}});cz=nV;Rt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];if(i.type!=="ordgroup")throw new gt("Invalid environment name",i);for(var a="",s=0;s{var r=t.font,n=e.withFont(r);return $r(t.body,n)},"htmlBuilder$5"),oV=o((t,e)=>{var r=t.font,n=e.withFont(r);return vn(t.body,n)},"mathmlBuilder$4"),uz={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Rt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=k3(e[0]),a=n;return a in uz&&(a=uz[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},"handler"),htmlBuilder:sV,mathmlBuilder:oV});Rt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:o((t,e)=>{var{parser:r}=t,n=e[0],i=er.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:D3(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}},"handler")});Rt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:o((t,e)=>{var{parser:r,funcName:n,breakOnTokenText:i}=t,{mode:a}=r,s=r.parseExpression(!0,i),l="math"+n.slice(1);return{type:"font",mode:a,font:l,body:{type:"ordgroup",mode:r.mode,body:s}}},"handler"),htmlBuilder:sV,mathmlBuilder:oV});lV=o((t,e)=>{var r=e;return t==="display"?r=r.id>=nr.SCRIPT.id?r.text():nr.DISPLAY:t==="text"&&r.size===nr.DISPLAY.size?r=nr.TEXT:t==="script"?r=nr.SCRIPT:t==="scriptscript"&&(r=nr.SCRIPTSCRIPT),r},"adjustStyle"),dA=o((t,e)=>{var r=lV(t.size,e.style),n=r.fracNum(),i=r.fracDen(),a;a=e.havingStyle(n);var s=$r(t.numer,a,e);if(t.continued){var l=8.5/e.fontMetrics().ptPerEm,u=3.5/e.fontMetrics().ptPerEm;s.height=s.height0?g=3*p:g=7*p,y=e.fontMetrics().denom1):(d>0?(m=e.fontMetrics().num2,g=p):(m=e.fontMetrics().num3,g=3*p),y=e.fontMetrics().denom2);var x;if(f){var b=e.fontMetrics().axisHeight;m-s.depth-(b+.5*d){var r=new mt.MathNode("mfrac",[vn(t.numer,e),vn(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var n=ii(t.barSize,e);r.setAttribute("linethickness",Et(n))}var i=lV(t.size,e.style);if(i.size!==e.style.size){r=new mt.MathNode("mstyle",[r]);var a=i.size===nr.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var s=[];if(t.leftDelim!=null){var l=new mt.MathNode("mo",[new mt.TextNode(t.leftDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}if(s.push(r),t.rightDelim!=null){var u=new mt.MathNode("mo",[new mt.TextNode(t.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),s.push(u)}return iA(s)}return r},"mathmlBuilder$3");Rt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0],a=e[1],s,l=null,u=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,l="(",u=")";break;case"\\\\bracefrac":s=!1,l="\\{",u="\\}";break;case"\\\\brackfrac":s=!1,l="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:s,leftDelim:l,rightDelim:u,size:h,barSize:null}},"handler"),htmlBuilder:dA,mathmlBuilder:pA});Rt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0],a=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}},"handler")});Rt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:n}=t,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:i,token:n}}});hz=["display","text","script","scriptscript"],fz=o(function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r},"delimFromValue");Rt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,n=e[4],i=e[5],a=k3(e[0]),s=a.type==="atom"&&a.family==="open"?fz(a.text):null,l=k3(e[1]),u=l.type==="atom"&&l.family==="close"?fz(l.text):null,h=xr(e[2],"size"),f,d=null;h.isBlank?f=!0:(d=h.value,f=d.number>0);var p="auto",m=e[3];if(m.type==="ordgroup"){if(m.body.length>0){var g=xr(m.body[0],"textord");p=hz[Number(g.text)]}}else m=xr(m,"textord"),p=hz[Number(m.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:f,barSize:d,leftDelim:s,rightDelim:u,size:p}},htmlBuilder:dA,mathmlBuilder:pA});Rt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:n,token:i}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:xr(e[0],"size").value,token:i}}});Rt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0],a=A4e(xr(e[1],"infix").size),s=e[2],l=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:s,continued:!1,hasBarLine:l,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},"handler"),htmlBuilder:dA,mathmlBuilder:pA});cV=o((t,e)=>{var r=e.style,n,i;t.type==="supsub"?(n=t.sup?$r(t.sup,e.havingStyle(r.sup()),e):$r(t.sub,e.havingStyle(r.sub()),e),i=xr(t.base,"horizBrace")):i=xr(t,"horizBrace");var a=$r(i.base,e.havingBaseStyle(nr.DISPLAY)),s=hu.svgSpan(i,e),l;if(i.isOver?(l=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},e),l.children[0].children[0].children[1].classes.push("svg-align")):(l=Fe.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},e),l.children[0].children[0].children[0].classes.push("svg-align")),n){var u=Fe.makeSpan(["mord",i.isOver?"mover":"munder"],[l],e);i.isOver?l=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]},e):l=Fe.makeVList({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]},e)}return Fe.makeSpan(["mord",i.isOver?"mover":"munder"],[l],e)},"htmlBuilder$3"),j3e=o((t,e)=>{var r=hu.mathMLnode(t.label);return new mt.MathNode(t.isOver?"mover":"munder",[vn(t.base,e),r])},"mathmlBuilder$2");Rt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:e[0]}},htmlBuilder:cV,mathmlBuilder:j3e});Rt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t,n=e[1],i=xr(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:yi(n)}:r.formatUnsupportedCmd("\\href")},"handler"),htmlBuilder:o((t,e)=>{var r=Pi(t.body,e,!1);return Fe.makeAnchor(t.href,[],r,e)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=vh(t.body,e);return r instanceof es||(r=new es("mrow",[r])),r.setAttribute("href",t.href),r},"mathmlBuilder")});Rt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t,n=xr(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a{var{parser:r,funcName:n,token:i}=t,a=xr(e[0],"raw").string,s=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l,u={};switch(n){case"\\htmlClass":u.class=a,l={command:"\\htmlClass",class:a};break;case"\\htmlId":u.id=a,l={command:"\\htmlId",id:a};break;case"\\htmlStyle":u.style=a,l={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var h=a.split(","),f=0;f{var r=Pi(t.body,e,!1),n=["enclosing"];t.attributes.class&&n.push(...t.attributes.class.trim().split(/\s+/));var i=Fe.makeSpan(n,r,e);for(var a in t.attributes)a!=="class"&&t.attributes.hasOwnProperty(a)&&i.setAttribute(a,t.attributes[a]);return i},"htmlBuilder"),mathmlBuilder:o((t,e)=>vh(t.body,e),"mathmlBuilder")});Rt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:yi(e[0]),mathml:yi(e[1])}},"handler"),htmlBuilder:o((t,e)=>{var r=Pi(t.html,e,!1);return Fe.makeFragment(r)},"htmlBuilder"),mathmlBuilder:o((t,e)=>vh(t.mathml,e),"mathmlBuilder")});$7=o(function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new gt("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!_z(n))throw new gt("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n},"sizeData");Rt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:o((t,e,r)=>{var{parser:n}=t,i={number:0,unit:"em"},a={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0])for(var u=xr(r[0],"raw").string,h=u.split(","),f=0;f{var r=ii(t.height,e),n=0;t.totalheight.number>0&&(n=ii(t.totalheight,e)-r);var i=0;t.width.number>0&&(i=ii(t.width,e));var a={height:Et(r+n)};i>0&&(a.width=Et(i)),n>0&&(a.verticalAlign=Et(-n));var s=new W7(t.src,t.alt,a);return s.height=r,s.depth=n,s},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=new mt.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var n=ii(t.height,e),i=0;if(t.totalheight.number>0&&(i=ii(t.totalheight,e)-n,r.setAttribute("valign",Et(-i))),r.setAttribute("height",Et(n+i)),t.width.number>0){var a=ii(t.width,e);r.setAttribute("width",Et(a))}return r.setAttribute("src",t.src),r},"mathmlBuilder")});Rt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,i=xr(e[0],"size");if(r.settings.strict){var a=n[1]==="m",s=i.value.unit==="mu";a?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(t,e){return Fe.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=ii(t.dimension,e);return new mt.SpaceNode(r)}});Rt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},"handler"),htmlBuilder:o((t,e)=>{var r;t.alignment==="clap"?(r=Fe.makeSpan([],[$r(t.body,e)]),r=Fe.makeSpan(["inner"],[r],e)):r=Fe.makeSpan(["inner"],[$r(t.body,e)]);var n=Fe.makeSpan(["fix"],[]),i=Fe.makeSpan([t.alignment],[r,n],e),a=Fe.makeSpan(["strut"]);return a.style.height=Et(i.height+i.depth),i.depth&&(a.style.verticalAlign=Et(-i.depth)),i.children.unshift(a),i=Fe.makeSpan(["thinbox"],[i],e),Fe.makeSpan(["mord","vbox"],[i],e)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=new mt.MathNode("mpadded",[vn(t.body,e)]);if(t.alignment!=="rlap"){var n=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r},"mathmlBuilder")});Rt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:n}=t,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",s=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:s}}});Rt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new gt("Mismatched "+t.funcName)}});dz=o((t,e)=>{switch(e.style.size){case nr.DISPLAY.size:return t.display;case nr.TEXT.size:return t.text;case nr.SCRIPT.size:return t.script;case nr.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}},"chooseMathStyle");Rt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:o((t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:yi(e[0]),text:yi(e[1]),script:yi(e[2]),scriptscript:yi(e[3])}},"handler"),htmlBuilder:o((t,e)=>{var r=dz(t,e),n=Pi(r,e,!1);return Fe.makeFragment(n)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=dz(t,e);return vh(r,e)},"mathmlBuilder")});uV=o((t,e,r,n,i,a,s)=>{t=Fe.makeSpan([],[t]);var l=r&&er.isCharacterBox(r),u,h;if(e){var f=$r(e,n.havingStyle(i.sup()),n);h={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-f.depth)}}if(r){var d=$r(r,n.havingStyle(i.sub()),n);u={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-d.height)}}var p;if(h&&u){var m=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+t.depth+s;p=Fe.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Et(-a)},{type:"kern",size:u.kern},{type:"elem",elem:t},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Et(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(u){var g=t.height-s;p=Fe.makeVList({positionType:"top",positionData:g,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Et(-a)},{type:"kern",size:u.kern},{type:"elem",elem:t}]},n)}else if(h){var y=t.depth+s;p=Fe.makeVList({positionType:"bottom",positionData:y,children:[{type:"elem",elem:t},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Et(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return t;var x=[p];if(u&&a!==0&&!l){var v=Fe.makeSpan(["mspace"],[],n);v.style.marginRight=Et(a),x.unshift(v)}return Fe.makeSpan(["mop","op-limits"],x,n)},"assembleSupSub"),hV=["\\smallint"],w0=o((t,e)=>{var r,n,i=!1,a;t.type==="supsub"?(r=t.sup,n=t.sub,a=xr(t.base,"op"),i=!0):a=xr(t,"op");var s=e.style,l=!1;s.size===nr.DISPLAY.size&&a.symbol&&!er.contains(hV,a.name)&&(l=!0);var u;if(a.symbol){var h=l?"Size2-Regular":"Size1-Regular",f="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(f=a.name.slice(1),a.name=f==="oiint"?"\\iint":"\\iiint"),u=Fe.makeSymbol(a.name,h,"math",e,["mop","op-symbol",l?"large-op":"small-op"]),f.length>0){var d=u.italic,p=Fe.staticSvg(f+"Size"+(l?"2":"1"),e);u=Fe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:p,shift:l?.08:0}]},e),a.name="\\"+f,u.classes.unshift("mop"),u.italic=d}}else if(a.body){var m=Pi(a.body,e,!0);m.length===1&&m[0]instanceof Ss?(u=m[0],u.classes[0]="mop"):u=Fe.makeSpan(["mop"],m,e)}else{for(var g=[],y=1;y{var r;if(t.symbol)r=new es("mo",[Do(t.name,t.mode)]),er.contains(hV,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new es("mo",Cs(t.body,e));else{r=new es("mi",[new Ao(t.name.slice(1))]);var n=new es("mo",[Do("\u2061","text")]);t.parentIsSupSub?r=new es("mrow",[r,n]):r=$z([r,n])}return r},"mathmlBuilder$1"),K3e={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Rt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=n;return i.length===1&&(i=K3e[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},"handler"),htmlBuilder:w0,mathmlBuilder:Qy});Rt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:o((t,e)=>{var{parser:r}=t,n=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:yi(n)}},"handler"),htmlBuilder:w0,mathmlBuilder:Qy});Q3e={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Rt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:w0,mathmlBuilder:Qy});Rt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:w0,mathmlBuilder:Qy});Rt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,n=r;return n.length===1&&(n=Q3e[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:w0,mathmlBuilder:Qy});fV=o((t,e)=>{var r,n,i=!1,a;t.type==="supsub"?(r=t.sup,n=t.sub,a=xr(t.base,"operatorname"),i=!0):a=xr(t,"operatorname");var s;if(a.body.length>0){for(var l=a.body.map(d=>{var p=d.text;return typeof p=="string"?{type:"textord",mode:d.mode,text:p}:d}),u=Pi(l,e.withFont("mathrm"),!0),h=0;h{for(var r=Cs(t.body,e.withFont("mathrm")),n=!0,i=0;if.toText()).join("");r=[new mt.TextNode(l)]}var u=new mt.MathNode("mi",r);u.setAttribute("mathvariant","normal");var h=new mt.MathNode("mo",[Do("\u2061","text")]);return t.parentIsSupSub?new mt.MathNode("mrow",[u,h]):mt.newDocumentFragment([u,h])},"mathmlBuilder");Rt({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:o((t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"operatorname",mode:r.mode,body:yi(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},"handler"),htmlBuilder:fV,mathmlBuilder:Z3e});ue("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");ud({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?Fe.makeFragment(Pi(t.body,e,!1)):Fe.makeSpan(["mord"],Pi(t.body,e,!0),e)},mathmlBuilder(t,e){return vh(t.body,e,!0)}});Rt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,n=e[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(t,e){var r=$r(t.body,e.havingCrampedStyle()),n=Fe.makeLineSpan("overline-line",e),i=e.fontMetrics().defaultRuleThickness,a=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},e);return Fe.makeSpan(["mord","overline"],[a],e)},mathmlBuilder(t,e){var r=new mt.MathNode("mo",[new mt.TextNode("\u203E")]);r.setAttribute("stretchy","true");var n=new mt.MathNode("mover",[vn(t.body,e),r]);return n.setAttribute("accent","true"),n}});Rt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t,n=e[0];return{type:"phantom",mode:r.mode,body:yi(n)}},"handler"),htmlBuilder:o((t,e)=>{var r=Pi(t.body,e.withPhantom(),!1);return Fe.makeFragment(r)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=Cs(t.body,e);return new mt.MathNode("mphantom",r)},"mathmlBuilder")});Rt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t,n=e[0];return{type:"hphantom",mode:r.mode,body:n}},"handler"),htmlBuilder:o((t,e)=>{var r=Fe.makeSpan([],[$r(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n{var r=Cs(yi(t.body),e),n=new mt.MathNode("mphantom",r),i=new mt.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i},"mathmlBuilder")});Rt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:o((t,e)=>{var{parser:r}=t,n=e[0];return{type:"vphantom",mode:r.mode,body:n}},"handler"),htmlBuilder:o((t,e)=>{var r=Fe.makeSpan(["inner"],[$r(t.body,e.withPhantom())]),n=Fe.makeSpan(["fix"],[]);return Fe.makeSpan(["mord","rlap"],[r,n],e)},"htmlBuilder"),mathmlBuilder:o((t,e)=>{var r=Cs(yi(t.body),e),n=new mt.MathNode("mphantom",r),i=new mt.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i},"mathmlBuilder")});Rt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,n=xr(e[0],"size").value,i=e[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(t,e){var r=$r(t.body,e),n=ii(t.dy,e);return Fe.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new mt.MathNode("mpadded",[vn(t.body,e)]),n=t.dy.number+t.dy.unit;return r.setAttribute("voffset",n),r}});Rt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});Rt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(t,e,r){var{parser:n}=t,i=r[0],a=xr(e[0],"size"),s=xr(e[1],"size");return{type:"rule",mode:n.mode,shift:i&&xr(i,"size").value,width:a.value,height:s.value}},htmlBuilder(t,e){var r=Fe.makeSpan(["mord","rule"],[],e),n=ii(t.width,e),i=ii(t.height,e),a=t.shift?ii(t.shift,e):0;return r.style.borderRightWidth=Et(n),r.style.borderTopWidth=Et(i),r.style.bottom=Et(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=ii(t.width,e),n=ii(t.height,e),i=t.shift?ii(t.shift,e):0,a=e.color&&e.getColor()||"black",s=new mt.MathNode("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",Et(r)),s.setAttribute("height",Et(n));var l=new mt.MathNode("mpadded",[s]);return i>=0?l.setAttribute("height",Et(i)):(l.setAttribute("height",Et(i)),l.setAttribute("depth",Et(-i))),l.setAttribute("voffset",Et(i)),l}});o(dV,"sizingGroup");pz=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],J3e=o((t,e)=>{var r=e.havingSize(t.size);return dV(t.body,r,e)},"htmlBuilder");Rt({type:"sizing",names:pz,props:{numArgs:0,allowedInText:!0},handler:o((t,e)=>{var{breakOnTokenText:r,funcName:n,parser:i}=t,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:pz.indexOf(n)+1,body:a}},"handler"),htmlBuilder:J3e,mathmlBuilder:o((t,e)=>{var r=e.havingSize(t.size),n=Cs(t.body,r),i=new mt.MathNode("mstyle",n);return i.setAttribute("mathsize",Et(r.sizeMultiplier)),i},"mathmlBuilder")});Rt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:o((t,e,r)=>{var{parser:n}=t,i=!1,a=!1,s=r[0]&&xr(r[0],"ordgroup");if(s)for(var l="",u=0;u{var r=Fe.makeSpan([],[$r(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var n=0;n{var r=new mt.MathNode("mpadded",[vn(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r},"mathmlBuilder")});Rt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:n}=t,i=r[0],a=e[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(t,e){var r=$r(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=Fe.wrapFragment(r,e);var n=e.fontMetrics(),i=n.defaultRuleThickness,a=i;e.style.idr.height+r.depth+s&&(s=(s+d-r.height-r.depth)/2);var p=u.height-r.height-s-h;r.style.paddingLeft=Et(f);var m=Fe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+p)},{type:"elem",elem:u},{type:"kern",size:h}]},e);if(t.index){var g=e.havingStyle(nr.SCRIPTSCRIPT),y=$r(t.index,g,e),x=.6*(m.height-m.depth),v=Fe.makeVList({positionType:"shift",positionData:-x,children:[{type:"elem",elem:y}]},e),b=Fe.makeSpan(["root"],[v]);return Fe.makeSpan(["mord","sqrt"],[b,m],e)}else return Fe.makeSpan(["mord","sqrt"],[m],e)},mathmlBuilder(t,e){var{body:r,index:n}=t;return n?new mt.MathNode("mroot",[vn(r,e),vn(n,e)]):new mt.MathNode("msqrt",[vn(r,e)])}});mz={display:nr.DISPLAY,text:nr.TEXT,script:nr.SCRIPT,scriptscript:nr.SCRIPTSCRIPT};Rt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:n,parser:i}=t,a=i.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:s,body:a}},htmlBuilder(t,e){var r=mz[t.style],n=e.havingStyle(r).withFont("");return dV(t.body,n,e)},mathmlBuilder(t,e){var r=mz[t.style],n=e.havingStyle(r),i=Cs(t.body,n),a=new mt.MathNode("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},l=s[t.style];return a.setAttribute("scriptlevel",l[0]),a.setAttribute("displaystyle",l[1]),a}});e5e=o(function(e,r){var n=e.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===nr.DISPLAY.size||n.alwaysHandleSupSub);return i?w0:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===nr.DISPLAY.size||n.limits);return a?fV:null}else{if(n.type==="accent")return er.isCharacterBox(n.base)?oA:null;if(n.type==="horizBrace"){var s=!e.sub;return s===n.isOver?cV:null}else return null}else return null},"htmlBuilderDelegate");ud({type:"supsub",htmlBuilder(t,e){var r=e5e(t,e);if(r)return r(t,e);var{base:n,sup:i,sub:a}=t,s=$r(n,e),l,u,h=e.fontMetrics(),f=0,d=0,p=n&&er.isCharacterBox(n);if(i){var m=e.havingStyle(e.style.sup());l=$r(i,m,e),p||(f=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/e.sizeMultiplier)}if(a){var g=e.havingStyle(e.style.sub());u=$r(a,g,e),p||(d=s.depth+g.fontMetrics().subDrop*g.sizeMultiplier/e.sizeMultiplier)}var y;e.style===nr.DISPLAY?y=h.sup1:e.style.cramped?y=h.sup3:y=h.sup2;var x=e.sizeMultiplier,v=Et(.5/h.ptPerEm/x),b=null;if(u){var T=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(s instanceof Ss||T)&&(b=Et(-s.italic))}var S;if(l&&u){f=Math.max(f,y,l.depth+.25*h.xHeight),d=Math.max(d,h.sub2);var w=h.defaultRuleThickness,E=4*w;if(f-l.depth-(u.height-d)0&&(f+=_,d-=_)}var A=[{type:"elem",elem:u,shift:d,marginRight:v,marginLeft:b},{type:"elem",elem:l,shift:-f,marginRight:v}];S=Fe.makeVList({positionType:"individualShift",children:A},e)}else if(u){d=Math.max(d,h.sub1,u.height-.8*h.xHeight);var D=[{type:"elem",elem:u,marginLeft:b,marginRight:v}];S=Fe.makeVList({positionType:"shift",positionData:d,children:D},e)}else if(l)f=Math.max(f,y,l.depth+.25*h.xHeight),S=Fe.makeVList({positionType:"shift",positionData:-f,children:[{type:"elem",elem:l,marginRight:v}]},e);else throw new Error("supsub must have either sup or sub.");var O=Y7(s,"right")||"mord";return Fe.makeSpan([O],[s,Fe.makeSpan(["msupsub"],[S])],e)},mathmlBuilder(t,e){var r=!1,n,i;t.base&&t.base.type==="horizBrace"&&(i=!!t.sup,i===t.base.isOver&&(r=!0,n=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var a=[vn(t.base,e)];t.sub&&a.push(vn(t.sub,e)),t.sup&&a.push(vn(t.sup,e));var s;if(r)s=n?"mover":"munder";else if(t.sub)if(t.sup){var h=t.base;h&&h.type==="op"&&h.limits&&e.style===nr.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(e.style===nr.DISPLAY||h.limits)?s="munderover":s="msubsup"}else{var u=t.base;u&&u.type==="op"&&u.limits&&(e.style===nr.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||e.style===nr.DISPLAY)?s="munder":s="msub"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===nr.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===nr.DISPLAY)?s="mover":s="msup"}return new mt.MathNode(s,a)}});ud({type:"atom",htmlBuilder(t,e){return Fe.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new mt.MathNode("mo",[Do(t.text,t.mode)]);if(t.family==="bin"){var n=aA(t,e);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});pV={mi:"italic",mn:"normal",mtext:"normal"};ud({type:"mathord",htmlBuilder(t,e){return Fe.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new mt.MathNode("mi",[Do(t.text,t.mode,e)]),n=aA(t,e)||"italic";return n!==pV[r.type]&&r.setAttribute("mathvariant",n),r}});ud({type:"textord",htmlBuilder(t,e){return Fe.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Do(t.text,t.mode,e),n=aA(t,e)||"normal",i;return t.mode==="text"?i=new mt.MathNode("mtext",[r]):/[0-9]/.test(t.text)?i=new mt.MathNode("mn",[r]):t.text==="\\prime"?i=new mt.MathNode("mo",[r]):i=new mt.MathNode("mi",[r]),n!==pV[i.type]&&i.setAttribute("mathvariant",n),i}});G7={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},z7={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ud({type:"spacing",htmlBuilder(t,e){if(z7.hasOwnProperty(t.text)){var r=z7[t.text].className||"";if(t.mode==="text"){var n=Fe.makeOrd(t,e,"textord");return n.classes.push(r),n}else return Fe.makeSpan(["mspace",r],[Fe.mathsym(t.text,t.mode,e)],e)}else{if(G7.hasOwnProperty(t.text))return Fe.makeSpan(["mspace",G7[t.text]],[],e);throw new gt('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(z7.hasOwnProperty(t.text))r=new mt.MathNode("mtext",[new mt.TextNode("\xA0")]);else{if(G7.hasOwnProperty(t.text))return new mt.MathNode("mspace");throw new gt('Unknown type of space "'+t.text+'"')}return r}});gz=o(()=>{var t=new mt.MathNode("mtd",[]);return t.setAttribute("width","50%"),t},"pad");ud({type:"tag",mathmlBuilder(t,e){var r=new mt.MathNode("mtable",[new mt.MathNode("mtr",[gz(),new mt.MathNode("mtd",[vh(t.body,e)]),gz(),new mt.MathNode("mtd",[vh(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});yz={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},vz={"\\textbf":"textbf","\\textmd":"textmd"},t5e={"\\textit":"textit","\\textup":"textup"},xz=o((t,e)=>{var r=t.font;if(r){if(yz[r])return e.withTextFontFamily(yz[r]);if(vz[r])return e.withTextFontWeight(vz[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(t5e[r])},"optionsWithFont");Rt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"text",mode:r.mode,body:yi(i),font:n}},htmlBuilder(t,e){var r=xz(t,e),n=Pi(t.body,r,!0);return Fe.makeSpan(["mord","text"],n,r)},mathmlBuilder(t,e){var r=xz(t,e);return vh(t.body,r)}});Rt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=$r(t.body,e),n=Fe.makeLineSpan("underline-line",e),i=e.fontMetrics().defaultRuleThickness,a=Fe.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},e);return Fe.makeSpan(["mord","underline"],[a],e)},mathmlBuilder(t,e){var r=new mt.MathNode("mo",[new mt.TextNode("\u203E")]);r.setAttribute("stretchy","true");var n=new mt.MathNode("munder",[vn(t.body,e),r]);return n.setAttribute("accentunder","true"),n}});Rt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=$r(t.body,e),n=e.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return Fe.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new mt.MathNode("mpadded",[vn(t.body,e)],["vcenter"])}});Rt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new gt("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=bz(t),n=[],i=e.havingStyle(e.style.text()),a=0;at.body.replace(/ /g,t.star?"\u2423":"\xA0"),"makeVerb"),gh=Bz,mV=`[ \r + ]`,r5e="\\\\[a-zA-Z@]+",n5e="\\\\[^\uD800-\uDFFF]",i5e="("+r5e+")"+mV+"*",a5e=`\\\\( |[ \r ]+ -?)[ \r ]*`,H7="[\u0300-\u036F]",t5e=new RegExp(H7+"+$"),r5e="("+cV+"+)|"+(e5e+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(H7+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(H7+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+J3e)+("|"+Z3e+")"),T3=class{static{o(this,"Lexer")}constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(r5e,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new Co("EOF",new js(this,r,r));var n=this.tokenRegex.exec(e);if(n===null||n.index!==r)throw new mt("Unexpected character: '"+e[r]+"'",new Co(e[r],new js(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=e.indexOf(` -`,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new Co(i,new js(this,r,this.tokenRegex.lastIndex))}},W7=class{static{o(this,"Namespace")}constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new mt("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(e)&&(a[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}},n5e=ZG;fe("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});fe("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});fe("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});fe("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});fe("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});fe("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");fe("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});mG={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};fe("\\char",function(t){var e=t.popToken(),r,n="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")n=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new mt("\\char` missing argument");n=e.text.charCodeAt(0)}else r=10;if(r){if(n=mG[e.text],n==null||n>=r)throw new mt("Invalid base-"+r+" digit "+e.text);for(var i;(i=mG[t.future().text])!=null&&i{var i=t.consumeArg().tokens;if(i.length!==1)throw new mt("\\newcommand's first argument must be a macro name");var a=i[0].text,s=t.isDefined(a);if(s&&!e)throw new mt("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!s&&!r)throw new mt("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var l=0;if(i=t.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var u="",h=t.expandNextToken();h.text!=="]"&&h.text!=="EOF";)u+=h.text,h=t.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new mt("Invalid number of arguments: "+u);l=parseInt(u),i=t.consumeArg().tokens}return s&&n||t.macros.set(a,{tokens:i,numArgs:l}),""},"newcommand");fe("\\newcommand",t=>oA(t,!1,!0,!1));fe("\\renewcommand",t=>oA(t,!0,!1,!1));fe("\\providecommand",t=>oA(t,!0,!0,!0));fe("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});fe("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});fe("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),dh[r],Cn.math[r],Cn.text[r]),""});fe("\\bgroup","{");fe("\\egroup","}");fe("~","\\nobreakspace");fe("\\lq","`");fe("\\rq","'");fe("\\aa","\\r a");fe("\\AA","\\r A");fe("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");fe("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");fe("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");fe("\u212C","\\mathscr{B}");fe("\u2130","\\mathscr{E}");fe("\u2131","\\mathscr{F}");fe("\u210B","\\mathscr{H}");fe("\u2110","\\mathscr{I}");fe("\u2112","\\mathscr{L}");fe("\u2133","\\mathscr{M}");fe("\u211B","\\mathscr{R}");fe("\u212D","\\mathfrak{C}");fe("\u210C","\\mathfrak{H}");fe("\u2128","\\mathfrak{Z}");fe("\\Bbbk","\\Bbb{k}");fe("\xB7","\\cdotp");fe("\\llap","\\mathllap{\\textrm{#1}}");fe("\\rlap","\\mathrlap{\\textrm{#1}}");fe("\\clap","\\mathclap{\\textrm{#1}}");fe("\\mathstrut","\\vphantom{(}");fe("\\underbar","\\underline{\\text{#1}}");fe("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');fe("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");fe("\\ne","\\neq");fe("\u2260","\\neq");fe("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");fe("\u2209","\\notin");fe("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");fe("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");fe("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");fe("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");fe("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");fe("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");fe("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");fe("\u27C2","\\perp");fe("\u203C","\\mathclose{!\\mkern-0.8mu!}");fe("\u220C","\\notni");fe("\u231C","\\ulcorner");fe("\u231D","\\urcorner");fe("\u231E","\\llcorner");fe("\u231F","\\lrcorner");fe("\xA9","\\copyright");fe("\xAE","\\textregistered");fe("\uFE0F","\\textregistered");fe("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');fe("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');fe("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');fe("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');fe("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");fe("\u22EE","\\vdots");fe("\\varGamma","\\mathit{\\Gamma}");fe("\\varDelta","\\mathit{\\Delta}");fe("\\varTheta","\\mathit{\\Theta}");fe("\\varLambda","\\mathit{\\Lambda}");fe("\\varXi","\\mathit{\\Xi}");fe("\\varPi","\\mathit{\\Pi}");fe("\\varSigma","\\mathit{\\Sigma}");fe("\\varUpsilon","\\mathit{\\Upsilon}");fe("\\varPhi","\\mathit{\\Phi}");fe("\\varPsi","\\mathit{\\Psi}");fe("\\varOmega","\\mathit{\\Omega}");fe("\\substack","\\begin{subarray}{c}#1\\end{subarray}");fe("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");fe("\\boxed","\\fbox{$\\displaystyle{#1}$}");fe("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");fe("\\implies","\\DOTSB\\;\\Longrightarrow\\;");fe("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");fe("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");fe("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");gG={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};fe("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in gG?e=gG[r]:(r.slice(0,4)==="\\not"||r in Cn.math&&er.contains(["bin","rel"],Cn.math[r].group))&&(e="\\dotsb"),e});lA={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};fe("\\dotso",function(t){var e=t.future().text;return e in lA?"\\ldots\\,":"\\ldots"});fe("\\dotsc",function(t){var e=t.future().text;return e in lA&&e!==","?"\\ldots\\,":"\\ldots"});fe("\\cdots",function(t){var e=t.future().text;return e in lA?"\\@cdots\\,":"\\@cdots"});fe("\\dotsb","\\cdots");fe("\\dotsm","\\cdots");fe("\\dotsi","\\!\\cdots");fe("\\dotsx","\\ldots\\,");fe("\\DOTSI","\\relax");fe("\\DOTSB","\\relax");fe("\\DOTSX","\\relax");fe("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");fe("\\,","\\tmspace+{3mu}{.1667em}");fe("\\thinspace","\\,");fe("\\>","\\mskip{4mu}");fe("\\:","\\tmspace+{4mu}{.2222em}");fe("\\medspace","\\:");fe("\\;","\\tmspace+{5mu}{.2777em}");fe("\\thickspace","\\;");fe("\\!","\\tmspace-{3mu}{.1667em}");fe("\\negthinspace","\\!");fe("\\negmedspace","\\tmspace-{4mu}{.2222em}");fe("\\negthickspace","\\tmspace-{5mu}{.277em}");fe("\\enspace","\\kern.5em ");fe("\\enskip","\\hskip.5em\\relax");fe("\\quad","\\hskip1em\\relax");fe("\\qquad","\\hskip2em\\relax");fe("\\tag","\\@ifstar\\tag@literal\\tag@paren");fe("\\tag@paren","\\tag@literal{({#1})}");fe("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new mt("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});fe("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");fe("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");fe("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");fe("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");fe("\\newline","\\\\\\relax");fe("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");uV=Et(Kl["Main-Regular"][84][1]-.7*Kl["Main-Regular"][65][1]);fe("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+uV+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");fe("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+uV+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");fe("\\hspace","\\@ifstar\\@hspacer\\@hspace");fe("\\@hspace","\\hskip #1\\relax");fe("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");fe("\\ordinarycolon",":");fe("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");fe("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');fe("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');fe("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');fe("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');fe("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');fe("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');fe("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');fe("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');fe("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');fe("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');fe("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');fe("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');fe("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');fe("\u2237","\\dblcolon");fe("\u2239","\\eqcolon");fe("\u2254","\\coloneqq");fe("\u2255","\\eqqcolon");fe("\u2A74","\\Coloneqq");fe("\\ratio","\\vcentcolon");fe("\\coloncolon","\\dblcolon");fe("\\colonequals","\\coloneqq");fe("\\coloncolonequals","\\Coloneqq");fe("\\equalscolon","\\eqqcolon");fe("\\equalscoloncolon","\\Eqqcolon");fe("\\colonminus","\\coloneq");fe("\\coloncolonminus","\\Coloneq");fe("\\minuscolon","\\eqcolon");fe("\\minuscoloncolon","\\Eqcolon");fe("\\coloncolonapprox","\\Colonapprox");fe("\\coloncolonsim","\\Colonsim");fe("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");fe("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");fe("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");fe("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");fe("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");fe("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");fe("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");fe("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");fe("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");fe("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");fe("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");fe("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");fe("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");fe("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");fe("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");fe("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");fe("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");fe("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");fe("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");fe("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");fe("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");fe("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");fe("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");fe("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");fe("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");fe("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");fe("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");fe("\\imath","\\html@mathml{\\@imath}{\u0131}");fe("\\jmath","\\html@mathml{\\@jmath}{\u0237}");fe("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");fe("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");fe("\u27E6","\\llbracket");fe("\u27E7","\\rrbracket");fe("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");fe("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");fe("\u2983","\\lBrace");fe("\u2984","\\rBrace");fe("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");fe("\u29B5","\\minuso");fe("\\darr","\\downarrow");fe("\\dArr","\\Downarrow");fe("\\Darr","\\Downarrow");fe("\\lang","\\langle");fe("\\rang","\\rangle");fe("\\uarr","\\uparrow");fe("\\uArr","\\Uparrow");fe("\\Uarr","\\Uparrow");fe("\\N","\\mathbb{N}");fe("\\R","\\mathbb{R}");fe("\\Z","\\mathbb{Z}");fe("\\alef","\\aleph");fe("\\alefsym","\\aleph");fe("\\Alpha","\\mathrm{A}");fe("\\Beta","\\mathrm{B}");fe("\\bull","\\bullet");fe("\\Chi","\\mathrm{X}");fe("\\clubs","\\clubsuit");fe("\\cnums","\\mathbb{C}");fe("\\Complex","\\mathbb{C}");fe("\\Dagger","\\ddagger");fe("\\diamonds","\\diamondsuit");fe("\\empty","\\emptyset");fe("\\Epsilon","\\mathrm{E}");fe("\\Eta","\\mathrm{H}");fe("\\exist","\\exists");fe("\\harr","\\leftrightarrow");fe("\\hArr","\\Leftrightarrow");fe("\\Harr","\\Leftrightarrow");fe("\\hearts","\\heartsuit");fe("\\image","\\Im");fe("\\infin","\\infty");fe("\\Iota","\\mathrm{I}");fe("\\isin","\\in");fe("\\Kappa","\\mathrm{K}");fe("\\larr","\\leftarrow");fe("\\lArr","\\Leftarrow");fe("\\Larr","\\Leftarrow");fe("\\lrarr","\\leftrightarrow");fe("\\lrArr","\\Leftrightarrow");fe("\\Lrarr","\\Leftrightarrow");fe("\\Mu","\\mathrm{M}");fe("\\natnums","\\mathbb{N}");fe("\\Nu","\\mathrm{N}");fe("\\Omicron","\\mathrm{O}");fe("\\plusmn","\\pm");fe("\\rarr","\\rightarrow");fe("\\rArr","\\Rightarrow");fe("\\Rarr","\\Rightarrow");fe("\\real","\\Re");fe("\\reals","\\mathbb{R}");fe("\\Reals","\\mathbb{R}");fe("\\Rho","\\mathrm{P}");fe("\\sdot","\\cdot");fe("\\sect","\\S");fe("\\spades","\\spadesuit");fe("\\sub","\\subset");fe("\\sube","\\subseteq");fe("\\supe","\\supseteq");fe("\\Tau","\\mathrm{T}");fe("\\thetasym","\\vartheta");fe("\\weierp","\\wp");fe("\\Zeta","\\mathrm{Z}");fe("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");fe("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");fe("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");fe("\\bra","\\mathinner{\\langle{#1}|}");fe("\\ket","\\mathinner{|{#1}\\rangle}");fe("\\braket","\\mathinner{\\langle{#1}\\rangle}");fe("\\Bra","\\left\\langle#1\\right|");fe("\\Ket","\\left|#1\\right\\rangle");hV=o(t=>e=>{var r=e.consumeArg().tokens,n=e.consumeArg().tokens,i=e.consumeArg().tokens,a=e.consumeArg().tokens,s=e.macros.get("|"),l=e.macros.get("\\|");e.macros.beginGroup();var u=o(d=>p=>{t&&(p.macros.set("|",s),i.length&&p.macros.set("\\|",l));var m=d;if(!d&&i.length){var g=p.future();g.text==="|"&&(p.popToken(),m=!0)}return{tokens:m?i:n,numArgs:0}},"midMacro");e.macros.set("|",u(!1)),i.length&&e.macros.set("\\|",u(!0));var h=e.consumeArg().tokens,f=e.expandTokens([...a,...h,...r]);return e.macros.endGroup(),{tokens:f.reverse(),numArgs:0}},"braketHelper");fe("\\bra@ket",hV(!1));fe("\\bra@set",hV(!0));fe("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");fe("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");fe("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");fe("\\angln","{\\angl n}");fe("\\blue","\\textcolor{##6495ed}{#1}");fe("\\orange","\\textcolor{##ffa500}{#1}");fe("\\pink","\\textcolor{##ff00af}{#1}");fe("\\red","\\textcolor{##df0030}{#1}");fe("\\green","\\textcolor{##28ae7b}{#1}");fe("\\gray","\\textcolor{gray}{#1}");fe("\\purple","\\textcolor{##9d38bd}{#1}");fe("\\blueA","\\textcolor{##ccfaff}{#1}");fe("\\blueB","\\textcolor{##80f6ff}{#1}");fe("\\blueC","\\textcolor{##63d9ea}{#1}");fe("\\blueD","\\textcolor{##11accd}{#1}");fe("\\blueE","\\textcolor{##0c7f99}{#1}");fe("\\tealA","\\textcolor{##94fff5}{#1}");fe("\\tealB","\\textcolor{##26edd5}{#1}");fe("\\tealC","\\textcolor{##01d1c1}{#1}");fe("\\tealD","\\textcolor{##01a995}{#1}");fe("\\tealE","\\textcolor{##208170}{#1}");fe("\\greenA","\\textcolor{##b6ffb0}{#1}");fe("\\greenB","\\textcolor{##8af281}{#1}");fe("\\greenC","\\textcolor{##74cf70}{#1}");fe("\\greenD","\\textcolor{##1fab54}{#1}");fe("\\greenE","\\textcolor{##0d923f}{#1}");fe("\\goldA","\\textcolor{##ffd0a9}{#1}");fe("\\goldB","\\textcolor{##ffbb71}{#1}");fe("\\goldC","\\textcolor{##ff9c39}{#1}");fe("\\goldD","\\textcolor{##e07d10}{#1}");fe("\\goldE","\\textcolor{##a75a05}{#1}");fe("\\redA","\\textcolor{##fca9a9}{#1}");fe("\\redB","\\textcolor{##ff8482}{#1}");fe("\\redC","\\textcolor{##f9685d}{#1}");fe("\\redD","\\textcolor{##e84d39}{#1}");fe("\\redE","\\textcolor{##bc2612}{#1}");fe("\\maroonA","\\textcolor{##ffbde0}{#1}");fe("\\maroonB","\\textcolor{##ff92c6}{#1}");fe("\\maroonC","\\textcolor{##ed5fa6}{#1}");fe("\\maroonD","\\textcolor{##ca337c}{#1}");fe("\\maroonE","\\textcolor{##9e034e}{#1}");fe("\\purpleA","\\textcolor{##ddd7ff}{#1}");fe("\\purpleB","\\textcolor{##c6b9fc}{#1}");fe("\\purpleC","\\textcolor{##aa87ff}{#1}");fe("\\purpleD","\\textcolor{##7854ab}{#1}");fe("\\purpleE","\\textcolor{##543b78}{#1}");fe("\\mintA","\\textcolor{##f5f9e8}{#1}");fe("\\mintB","\\textcolor{##edf2df}{#1}");fe("\\mintC","\\textcolor{##e0e5cc}{#1}");fe("\\grayA","\\textcolor{##f6f7f7}{#1}");fe("\\grayB","\\textcolor{##f0f1f2}{#1}");fe("\\grayC","\\textcolor{##e3e5e6}{#1}");fe("\\grayD","\\textcolor{##d6d8da}{#1}");fe("\\grayE","\\textcolor{##babec2}{#1}");fe("\\grayF","\\textcolor{##888d93}{#1}");fe("\\grayG","\\textcolor{##626569}{#1}");fe("\\grayH","\\textcolor{##3b3e40}{#1}");fe("\\grayI","\\textcolor{##21242c}{#1}");fe("\\kaBlue","\\textcolor{##314453}{#1}");fe("\\kaGreen","\\textcolor{##71B307}{#1}");fV={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},q7=class{static{o(this,"MacroExpander")}constructor(e,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(e),this.macros=new W7(n5e,r.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new T3(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,n,i;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new Co("EOF",n.loc)),this.pushTokens(i),r.range(n,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],n=e&&e.length>0;n||this.consumeSpaces();var i=this.future(),a,s=0,l=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++s;else if(a.text==="}"){if(--s,s===-1)throw new mt("Extra }",a)}else if(a.text==="EOF")throw new mt("Unexpected end of input in a macro argument, expected '"+(e&&n?e[l]:"}")+"'",a);if(e&&n)if((s===0||s===1&&e[l]==="{")&&a.text===e[l]){if(++l,l===e.length){r.splice(-l,l);break}}else l=0}while(s!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new mt("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;ithis.settings.maxExpand)throw new mt("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||e&&i.unexpandable){if(e&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new mt("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var a=i.tokens,s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var l=a.length-1;l>=0;--l){var u=a[l];if(u.text==="#"){if(l===0)throw new mt("Incomplete placeholder at end of macro body",u);if(u=a[--l],u.text==="#")a.splice(l+1,1);else if(/^[1-9]$/.test(u.text))a.splice(l,2,...s[+u.text-1]);else throw new mt("Not a valid argument number",u)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Co(e)]):void 0}expandTokens(e){var r=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(n=>n.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var s=i.replace(/##/g,"");s.indexOf("#"+(a+1))!==-1;)++a;for(var l=new T3(i,this.settings),u=[],h=l.lex();h.text!=="EOF";)u.push(h),h=l.lex();u.reverse();var f={tokens:u,numArgs:a};return f}return i}isDefined(e){return this.macros.has(e)||dh.hasOwnProperty(e)||Cn.math.hasOwnProperty(e)||Cn.text.hasOwnProperty(e)||fV.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:dh.hasOwnProperty(e)&&!dh[e].primitive}},yG=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,d3=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),I7={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},vG={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},w3=class t{static{o(this,"Parser")}constructor(e,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new q7(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new mt("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Co("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(e,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(t.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||e&&dh[i.text]&&dh[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var r=-1,n,i=0;i=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var l=Cn[this.mode][r].group,u=js.range(e),h;if(X4e.hasOwnProperty(l)){var f=l;h={type:"atom",mode:this.mode,family:f,loc:u,text:r}}else h={type:l,mode:this.mode,loc:u,text:r};s=h}else if(r.charCodeAt(0)>=128)this.settings.strict&&(bG(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:js.range(e),text:r};else return null;if(this.consume(),a)for(var d=0;d{e.tagName==="A"&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),hh.addHook("afterSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener"))})}var rd,a5e,s5e,kV,TV,ar,l5e,c5e,u5e,h5e,EV,fu,mr,f5e,d5e,tc,hA,p5e,m5e,wV,L3,gi,nd,g5e,yh,Ze,dr=N(()=>{"use strict";T7();rd=//gi,a5e=o(t=>t?EV(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),s5e=(()=>{let t=!1;return()=>{t||(o5e(),t=!0)}})();o(o5e,"setupDompurifyHooks");kV=o(t=>(s5e(),hh.sanitize(t)),"removeScript"),TV=o((t,e)=>{if(e.flowchart?.htmlLabels!==!1){let r=e.securityLevel;r==="antiscript"||r==="strict"?t=kV(t):r!=="loose"&&(t=EV(t),t=t.replace(//g,">"),t=t.replace(/=/g,"="),t=h5e(t))}return t},"sanitizeMore"),ar=o((t,e)=>t&&(e.dompurifyConfig?t=hh.sanitize(TV(t,e),e.dompurifyConfig).toString():t=hh.sanitize(TV(t,e),{FORBID_TAGS:["style"]}).toString(),t),"sanitizeText"),l5e=o((t,e)=>typeof t=="string"?ar(t,e):t.flat().map(r=>ar(r,e)),"sanitizeTextOrArray"),c5e=o(t=>rd.test(t),"hasBreaks"),u5e=o(t=>t.split(rd),"splitBreaks"),h5e=o(t=>t.replace(/#br#/g,"
"),"placeholderToBreak"),EV=o(t=>t.replace(rd,"#br#"),"breakToPlaceholder"),fu=o(t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=CSS.escape(e)),e},"getUrl"),mr=o(t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),f5e=o(function(...t){let e=t.filter(r=>!isNaN(r));return Math.max(...e)},"getMax"),d5e=o(function(...t){let e=t.filter(r=>!isNaN(r));return Math.min(...e)},"getMin"),tc=o(function(t){let e=t.split(/(,)/),r=[];for(let n=0;n0&&n+1Math.max(0,t.split(e).length-1),"countOccurrence"),p5e=o((t,e)=>{let r=hA(t,"~"),n=hA(e,"~");return r===1&&n===1},"shouldCombineSets"),m5e=o(t=>{let e=hA(t,"~"),r=!1;if(e<=1)return t;e%2!==0&&t.startsWith("~")&&(t=t.substring(1),r=!0);let n=[...t],i=n.indexOf("~"),a=n.lastIndexOf("~");for(;i!==-1&&a!==-1&&i!==a;)n[i]="<",n[a]=">",i=n.indexOf("~"),a=n.lastIndexOf("~");return r&&n.unshift("~"),n.join("")},"processSet"),wV=o(()=>window.MathMLElement!==void 0,"isMathMLSupported"),L3=/\$\$(.*)\$\$/g,gi=o(t=>(t.match(L3)?.length??0)>0,"hasKatex"),nd=o(async(t,e)=>{let r=document.createElement("div");r.innerHTML=await yh(t,e),r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",document.querySelector("body")?.insertAdjacentElement("beforeend",r);let i={width:r.clientWidth,height:r.clientHeight};return r.remove(),i},"calculateMathMLDimensions"),g5e=o(async(t,e)=>{if(!gi(t))return t;if(!(wV()||e.legacyMathML||e.forceLegacyMathML))return t.replace(L3,"MathML is unsupported in this environment.");{let{default:r}=await Promise.resolve().then(()=>(bV(),xV)),n=e.forceLegacyMathML||!wV()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(rd).map(i=>gi(i)?`
${i}
`:`
${i}
`).join("").replace(L3,(i,a)=>r.renderToString(a,{throwOnError:!0,displayMode:!0,output:n}).replace(/\n/g," ").replace(//g,""))}return t.replace(L3,"Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.")},"renderKatexUnsanitized"),yh=o(async(t,e)=>ar(await g5e(t,e),e),"renderKatexSanitized"),Ze={getRows:a5e,sanitizeText:ar,sanitizeTextOrArray:l5e,hasBreaks:c5e,splitBreaks:u5e,lineBreakRegex:rd,removeScript:kV,getUrl:fu,evaluate:mr,getMax:f5e,getMin:d5e}});var dA,fA,SV,R3,CV,AV,Es,rc=N(()=>{"use strict";M$();Jn();dr();yt();dA={body:'?',height:80,width:80},fA=new Map,SV=new Map,R3=o(t=>{for(let e of t){if(!e.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(X.debug("Registering icon pack:",e.name),"loader"in e)SV.set(e.name,e.loader);else if("icons"in e)fA.set(e.name,e.icons);else throw X.error("Invalid icon loader:",e),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),CV=o(async(t,e)=>{let r=VC(t,!0,e!==void 0);if(!r)throw new Error(`Invalid icon name: ${t}`);let n=r.prefix||e;if(!n)throw new Error(`Icon name must contain a prefix: ${t}`);let i=fA.get(n);if(!i){let s=SV.get(n);if(!s)throw new Error(`Icon set not found: ${r.prefix}`);try{i={...await s(),prefix:n},fA.set(n,i)}catch(l){throw X.error(l),new Error(`Failed to load icon set: ${r.prefix}`)}}let a=HC(i,r.name);if(!a)throw new Error(`Icon not found: ${t}`);return a},"getRegisteredIconData"),AV=o(async t=>{try{return await CV(t),!0}catch{return!1}},"isIconAvailable"),Es=o(async(t,e,r)=>{let n;try{n=await CV(t,e?.fallbackPrefix)}catch(s){X.error(s),n=dA}let i=qC(n,e),a=XC(YC(i.body),{...i.attributes,...r});return ar(a,Qt())},"getIconSVG")});function N3(t){for(var e=[],r=1;r0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(e)&&(a[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}},l5e=iV;ue("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});ue("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});ue("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});ue("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});ue("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});ue("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");ue("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});Tz={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ue("\\char",function(t){var e=t.popToken(),r,n="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")n=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new gt("\\char` missing argument");n=e.text.charCodeAt(0)}else r=10;if(r){if(n=Tz[e.text],n==null||n>=r)throw new gt("Invalid base-"+r+" digit "+e.text);for(var i;(i=Tz[t.future().text])!=null&&i{var i=t.consumeArg().tokens;if(i.length!==1)throw new gt("\\newcommand's first argument must be a macro name");var a=i[0].text,s=t.isDefined(a);if(s&&!e)throw new gt("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!s&&!r)throw new gt("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var l=0;if(i=t.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var u="",h=t.expandNextToken();h.text!=="]"&&h.text!=="EOF";)u+=h.text,h=t.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new gt("Invalid number of arguments: "+u);l=parseInt(u),i=t.consumeArg().tokens}return s&&n||t.macros.set(a,{tokens:i,numArgs:l}),""},"newcommand");ue("\\newcommand",t=>mA(t,!1,!0,!1));ue("\\renewcommand",t=>mA(t,!0,!1,!1));ue("\\providecommand",t=>mA(t,!0,!0,!0));ue("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});ue("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});ue("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),gh[r],Ln.math[r],Ln.text[r]),""});ue("\\bgroup","{");ue("\\egroup","}");ue("~","\\nobreakspace");ue("\\lq","`");ue("\\rq","'");ue("\\aa","\\r a");ue("\\AA","\\r A");ue("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");ue("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");ue("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");ue("\u212C","\\mathscr{B}");ue("\u2130","\\mathscr{E}");ue("\u2131","\\mathscr{F}");ue("\u210B","\\mathscr{H}");ue("\u2110","\\mathscr{I}");ue("\u2112","\\mathscr{L}");ue("\u2133","\\mathscr{M}");ue("\u211B","\\mathscr{R}");ue("\u212D","\\mathfrak{C}");ue("\u210C","\\mathfrak{H}");ue("\u2128","\\mathfrak{Z}");ue("\\Bbbk","\\Bbb{k}");ue("\xB7","\\cdotp");ue("\\llap","\\mathllap{\\textrm{#1}}");ue("\\rlap","\\mathrlap{\\textrm{#1}}");ue("\\clap","\\mathclap{\\textrm{#1}}");ue("\\mathstrut","\\vphantom{(}");ue("\\underbar","\\underline{\\text{#1}}");ue("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');ue("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");ue("\\ne","\\neq");ue("\u2260","\\neq");ue("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");ue("\u2209","\\notin");ue("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");ue("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");ue("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");ue("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");ue("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");ue("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");ue("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");ue("\u27C2","\\perp");ue("\u203C","\\mathclose{!\\mkern-0.8mu!}");ue("\u220C","\\notni");ue("\u231C","\\ulcorner");ue("\u231D","\\urcorner");ue("\u231E","\\llcorner");ue("\u231F","\\lrcorner");ue("\xA9","\\copyright");ue("\xAE","\\textregistered");ue("\uFE0F","\\textregistered");ue("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');ue("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');ue("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');ue("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');ue("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");ue("\u22EE","\\vdots");ue("\\varGamma","\\mathit{\\Gamma}");ue("\\varDelta","\\mathit{\\Delta}");ue("\\varTheta","\\mathit{\\Theta}");ue("\\varLambda","\\mathit{\\Lambda}");ue("\\varXi","\\mathit{\\Xi}");ue("\\varPi","\\mathit{\\Pi}");ue("\\varSigma","\\mathit{\\Sigma}");ue("\\varUpsilon","\\mathit{\\Upsilon}");ue("\\varPhi","\\mathit{\\Phi}");ue("\\varPsi","\\mathit{\\Psi}");ue("\\varOmega","\\mathit{\\Omega}");ue("\\substack","\\begin{subarray}{c}#1\\end{subarray}");ue("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");ue("\\boxed","\\fbox{$\\displaystyle{#1}$}");ue("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");ue("\\implies","\\DOTSB\\;\\Longrightarrow\\;");ue("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");ue("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");ue("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");wz={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ue("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in wz?e=wz[r]:(r.slice(0,4)==="\\not"||r in Ln.math&&er.contains(["bin","rel"],Ln.math[r].group))&&(e="\\dotsb"),e});gA={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ue("\\dotso",function(t){var e=t.future().text;return e in gA?"\\ldots\\,":"\\ldots"});ue("\\dotsc",function(t){var e=t.future().text;return e in gA&&e!==","?"\\ldots\\,":"\\ldots"});ue("\\cdots",function(t){var e=t.future().text;return e in gA?"\\@cdots\\,":"\\@cdots"});ue("\\dotsb","\\cdots");ue("\\dotsm","\\cdots");ue("\\dotsi","\\!\\cdots");ue("\\dotsx","\\ldots\\,");ue("\\DOTSI","\\relax");ue("\\DOTSB","\\relax");ue("\\DOTSX","\\relax");ue("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");ue("\\,","\\tmspace+{3mu}{.1667em}");ue("\\thinspace","\\,");ue("\\>","\\mskip{4mu}");ue("\\:","\\tmspace+{4mu}{.2222em}");ue("\\medspace","\\:");ue("\\;","\\tmspace+{5mu}{.2777em}");ue("\\thickspace","\\;");ue("\\!","\\tmspace-{3mu}{.1667em}");ue("\\negthinspace","\\!");ue("\\negmedspace","\\tmspace-{4mu}{.2222em}");ue("\\negthickspace","\\tmspace-{5mu}{.277em}");ue("\\enspace","\\kern.5em ");ue("\\enskip","\\hskip.5em\\relax");ue("\\quad","\\hskip1em\\relax");ue("\\qquad","\\hskip2em\\relax");ue("\\tag","\\@ifstar\\tag@literal\\tag@paren");ue("\\tag@paren","\\tag@literal{({#1})}");ue("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new gt("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});ue("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");ue("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");ue("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");ue("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");ue("\\newline","\\\\\\relax");ue("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");gV=Et(Kl["Main-Regular"][84][1]-.7*Kl["Main-Regular"][65][1]);ue("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+gV+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");ue("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+gV+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");ue("\\hspace","\\@ifstar\\@hspacer\\@hspace");ue("\\@hspace","\\hskip #1\\relax");ue("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");ue("\\ordinarycolon",":");ue("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");ue("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');ue("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');ue("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');ue("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');ue("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');ue("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');ue("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');ue("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');ue("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');ue("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');ue("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');ue("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');ue("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');ue("\u2237","\\dblcolon");ue("\u2239","\\eqcolon");ue("\u2254","\\coloneqq");ue("\u2255","\\eqqcolon");ue("\u2A74","\\Coloneqq");ue("\\ratio","\\vcentcolon");ue("\\coloncolon","\\dblcolon");ue("\\colonequals","\\coloneqq");ue("\\coloncolonequals","\\Coloneqq");ue("\\equalscolon","\\eqqcolon");ue("\\equalscoloncolon","\\Eqqcolon");ue("\\colonminus","\\coloneq");ue("\\coloncolonminus","\\Coloneq");ue("\\minuscolon","\\eqcolon");ue("\\minuscoloncolon","\\Eqcolon");ue("\\coloncolonapprox","\\Colonapprox");ue("\\coloncolonsim","\\Colonsim");ue("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");ue("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");ue("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");ue("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");ue("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");ue("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");ue("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");ue("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");ue("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");ue("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");ue("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");ue("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");ue("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");ue("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");ue("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");ue("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");ue("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");ue("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");ue("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");ue("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");ue("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");ue("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");ue("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");ue("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");ue("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");ue("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");ue("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");ue("\\imath","\\html@mathml{\\@imath}{\u0131}");ue("\\jmath","\\html@mathml{\\@jmath}{\u0237}");ue("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");ue("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");ue("\u27E6","\\llbracket");ue("\u27E7","\\rrbracket");ue("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");ue("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");ue("\u2983","\\lBrace");ue("\u2984","\\rBrace");ue("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");ue("\u29B5","\\minuso");ue("\\darr","\\downarrow");ue("\\dArr","\\Downarrow");ue("\\Darr","\\Downarrow");ue("\\lang","\\langle");ue("\\rang","\\rangle");ue("\\uarr","\\uparrow");ue("\\uArr","\\Uparrow");ue("\\Uarr","\\Uparrow");ue("\\N","\\mathbb{N}");ue("\\R","\\mathbb{R}");ue("\\Z","\\mathbb{Z}");ue("\\alef","\\aleph");ue("\\alefsym","\\aleph");ue("\\Alpha","\\mathrm{A}");ue("\\Beta","\\mathrm{B}");ue("\\bull","\\bullet");ue("\\Chi","\\mathrm{X}");ue("\\clubs","\\clubsuit");ue("\\cnums","\\mathbb{C}");ue("\\Complex","\\mathbb{C}");ue("\\Dagger","\\ddagger");ue("\\diamonds","\\diamondsuit");ue("\\empty","\\emptyset");ue("\\Epsilon","\\mathrm{E}");ue("\\Eta","\\mathrm{H}");ue("\\exist","\\exists");ue("\\harr","\\leftrightarrow");ue("\\hArr","\\Leftrightarrow");ue("\\Harr","\\Leftrightarrow");ue("\\hearts","\\heartsuit");ue("\\image","\\Im");ue("\\infin","\\infty");ue("\\Iota","\\mathrm{I}");ue("\\isin","\\in");ue("\\Kappa","\\mathrm{K}");ue("\\larr","\\leftarrow");ue("\\lArr","\\Leftarrow");ue("\\Larr","\\Leftarrow");ue("\\lrarr","\\leftrightarrow");ue("\\lrArr","\\Leftrightarrow");ue("\\Lrarr","\\Leftrightarrow");ue("\\Mu","\\mathrm{M}");ue("\\natnums","\\mathbb{N}");ue("\\Nu","\\mathrm{N}");ue("\\Omicron","\\mathrm{O}");ue("\\plusmn","\\pm");ue("\\rarr","\\rightarrow");ue("\\rArr","\\Rightarrow");ue("\\Rarr","\\Rightarrow");ue("\\real","\\Re");ue("\\reals","\\mathbb{R}");ue("\\Reals","\\mathbb{R}");ue("\\Rho","\\mathrm{P}");ue("\\sdot","\\cdot");ue("\\sect","\\S");ue("\\spades","\\spadesuit");ue("\\sub","\\subset");ue("\\sube","\\subseteq");ue("\\supe","\\supseteq");ue("\\Tau","\\mathrm{T}");ue("\\thetasym","\\vartheta");ue("\\weierp","\\wp");ue("\\Zeta","\\mathrm{Z}");ue("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");ue("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");ue("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");ue("\\bra","\\mathinner{\\langle{#1}|}");ue("\\ket","\\mathinner{|{#1}\\rangle}");ue("\\braket","\\mathinner{\\langle{#1}\\rangle}");ue("\\Bra","\\left\\langle#1\\right|");ue("\\Ket","\\left|#1\\right\\rangle");yV=o(t=>e=>{var r=e.consumeArg().tokens,n=e.consumeArg().tokens,i=e.consumeArg().tokens,a=e.consumeArg().tokens,s=e.macros.get("|"),l=e.macros.get("\\|");e.macros.beginGroup();var u=o(d=>p=>{t&&(p.macros.set("|",s),i.length&&p.macros.set("\\|",l));var m=d;if(!d&&i.length){var g=p.future();g.text==="|"&&(p.popToken(),m=!0)}return{tokens:m?i:n,numArgs:0}},"midMacro");e.macros.set("|",u(!1)),i.length&&e.macros.set("\\|",u(!0));var h=e.consumeArg().tokens,f=e.expandTokens([...a,...h,...r]);return e.macros.endGroup(),{tokens:f.reverse(),numArgs:0}},"braketHelper");ue("\\bra@ket",yV(!1));ue("\\bra@set",yV(!0));ue("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");ue("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");ue("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");ue("\\angln","{\\angl n}");ue("\\blue","\\textcolor{##6495ed}{#1}");ue("\\orange","\\textcolor{##ffa500}{#1}");ue("\\pink","\\textcolor{##ff00af}{#1}");ue("\\red","\\textcolor{##df0030}{#1}");ue("\\green","\\textcolor{##28ae7b}{#1}");ue("\\gray","\\textcolor{gray}{#1}");ue("\\purple","\\textcolor{##9d38bd}{#1}");ue("\\blueA","\\textcolor{##ccfaff}{#1}");ue("\\blueB","\\textcolor{##80f6ff}{#1}");ue("\\blueC","\\textcolor{##63d9ea}{#1}");ue("\\blueD","\\textcolor{##11accd}{#1}");ue("\\blueE","\\textcolor{##0c7f99}{#1}");ue("\\tealA","\\textcolor{##94fff5}{#1}");ue("\\tealB","\\textcolor{##26edd5}{#1}");ue("\\tealC","\\textcolor{##01d1c1}{#1}");ue("\\tealD","\\textcolor{##01a995}{#1}");ue("\\tealE","\\textcolor{##208170}{#1}");ue("\\greenA","\\textcolor{##b6ffb0}{#1}");ue("\\greenB","\\textcolor{##8af281}{#1}");ue("\\greenC","\\textcolor{##74cf70}{#1}");ue("\\greenD","\\textcolor{##1fab54}{#1}");ue("\\greenE","\\textcolor{##0d923f}{#1}");ue("\\goldA","\\textcolor{##ffd0a9}{#1}");ue("\\goldB","\\textcolor{##ffbb71}{#1}");ue("\\goldC","\\textcolor{##ff9c39}{#1}");ue("\\goldD","\\textcolor{##e07d10}{#1}");ue("\\goldE","\\textcolor{##a75a05}{#1}");ue("\\redA","\\textcolor{##fca9a9}{#1}");ue("\\redB","\\textcolor{##ff8482}{#1}");ue("\\redC","\\textcolor{##f9685d}{#1}");ue("\\redD","\\textcolor{##e84d39}{#1}");ue("\\redE","\\textcolor{##bc2612}{#1}");ue("\\maroonA","\\textcolor{##ffbde0}{#1}");ue("\\maroonB","\\textcolor{##ff92c6}{#1}");ue("\\maroonC","\\textcolor{##ed5fa6}{#1}");ue("\\maroonD","\\textcolor{##ca337c}{#1}");ue("\\maroonE","\\textcolor{##9e034e}{#1}");ue("\\purpleA","\\textcolor{##ddd7ff}{#1}");ue("\\purpleB","\\textcolor{##c6b9fc}{#1}");ue("\\purpleC","\\textcolor{##aa87ff}{#1}");ue("\\purpleD","\\textcolor{##7854ab}{#1}");ue("\\purpleE","\\textcolor{##543b78}{#1}");ue("\\mintA","\\textcolor{##f5f9e8}{#1}");ue("\\mintB","\\textcolor{##edf2df}{#1}");ue("\\mintC","\\textcolor{##e0e5cc}{#1}");ue("\\grayA","\\textcolor{##f6f7f7}{#1}");ue("\\grayB","\\textcolor{##f0f1f2}{#1}");ue("\\grayC","\\textcolor{##e3e5e6}{#1}");ue("\\grayD","\\textcolor{##d6d8da}{#1}");ue("\\grayE","\\textcolor{##babec2}{#1}");ue("\\grayF","\\textcolor{##888d93}{#1}");ue("\\grayG","\\textcolor{##626569}{#1}");ue("\\grayH","\\textcolor{##3b3e40}{#1}");ue("\\grayI","\\textcolor{##21242c}{#1}");ue("\\kaBlue","\\textcolor{##314453}{#1}");ue("\\kaGreen","\\textcolor{##71B307}{#1}");vV={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},eA=class{static{o(this,"MacroExpander")}constructor(e,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(e),this.macros=new J7(l5e,r.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new E3(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,n,i;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new _o("EOF",n.loc)),this.pushTokens(i),r.range(n,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],n=e&&e.length>0;n||this.consumeSpaces();var i=this.future(),a,s=0,l=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++s;else if(a.text==="}"){if(--s,s===-1)throw new gt("Extra }",a)}else if(a.text==="EOF")throw new gt("Unexpected end of input in a macro argument, expected '"+(e&&n?e[l]:"}")+"'",a);if(e&&n)if((s===0||s===1&&e[l]==="{")&&a.text===e[l]){if(++l,l===e.length){r.splice(-l,l);break}}else l=0}while(s!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new gt("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;ithis.settings.maxExpand)throw new gt("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||e&&i.unexpandable){if(e&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new gt("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var a=i.tokens,s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var l=a.length-1;l>=0;--l){var u=a[l];if(u.text==="#"){if(l===0)throw new gt("Incomplete placeholder at end of macro body",u);if(u=a[--l],u.text==="#")a.splice(l+1,1);else if(/^[1-9]$/.test(u.text))a.splice(l,2,...s[+u.text-1]);else throw new gt("Not a valid argument number",u)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new _o(e)]):void 0}expandTokens(e){var r=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(n=>n.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var s=i.replace(/##/g,"");s.indexOf("#"+(a+1))!==-1;)++a;for(var l=new E3(i,this.settings),u=[],h=l.lex();h.text!=="EOF";)u.push(h),h=l.lex();u.reverse();var f={tokens:u,numArgs:a};return f}return i}isDefined(e){return this.macros.has(e)||gh.hasOwnProperty(e)||Ln.math.hasOwnProperty(e)||Ln.text.hasOwnProperty(e)||vV.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:gh.hasOwnProperty(e)&&!gh[e].primitive}},kz=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,g3=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),V7={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},Ez={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},S3=class t{static{o(this,"Parser")}constructor(e,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new eA(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new gt("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new _o("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(e,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(t.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||e&&gh[i.text]&&gh[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var r=-1,n,i=0;i=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var l=Ln[this.mode][r].group,u=Zs.range(e),h;if(J4e.hasOwnProperty(l)){var f=l;h={type:"atom",mode:this.mode,family:f,loc:u,text:r}}else h={type:l,mode:this.mode,loc:u,text:r};s=h}else if(r.charCodeAt(0)>=128)this.settings.strict&&(Cz(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:Zs.range(e),text:r};else return null;if(this.consume(),a)for(var d=0;d{e.tagName==="A"&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),ph.addHook("afterSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener"))})}var hd,u5e,h5e,DV,AV,ar,d5e,p5e,m5e,g5e,LV,du,mr,y5e,v5e,tc,xA,x5e,b5e,_V,M3,xn,fd,T5e,bh,Je,dr=N(()=>{"use strict";D7();hd=//gi,u5e=o(t=>t?LV(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),h5e=(()=>{let t=!1;return()=>{t||(f5e(),t=!0)}})();o(f5e,"setupDompurifyHooks");DV=o(t=>(h5e(),ph.sanitize(t)),"removeScript"),AV=o((t,e)=>{if(e.flowchart?.htmlLabels!==!1){let r=e.securityLevel;r==="antiscript"||r==="strict"?t=DV(t):r!=="loose"&&(t=LV(t),t=t.replace(//g,">"),t=t.replace(/=/g,"="),t=g5e(t))}return t},"sanitizeMore"),ar=o((t,e)=>t&&(e.dompurifyConfig?t=ph.sanitize(AV(t,e),e.dompurifyConfig).toString():t=ph.sanitize(AV(t,e),{FORBID_TAGS:["style"]}).toString(),t),"sanitizeText"),d5e=o((t,e)=>typeof t=="string"?ar(t,e):t.flat().map(r=>ar(r,e)),"sanitizeTextOrArray"),p5e=o(t=>hd.test(t),"hasBreaks"),m5e=o(t=>t.split(hd),"splitBreaks"),g5e=o(t=>t.replace(/#br#/g,"
"),"placeholderToBreak"),LV=o(t=>t.replace(hd,"#br#"),"breakToPlaceholder"),du=o(t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=CSS.escape(e)),e},"getUrl"),mr=o(t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),y5e=o(function(...t){let e=t.filter(r=>!isNaN(r));return Math.max(...e)},"getMax"),v5e=o(function(...t){let e=t.filter(r=>!isNaN(r));return Math.min(...e)},"getMin"),tc=o(function(t){let e=t.split(/(,)/),r=[];for(let n=0;n0&&n+1Math.max(0,t.split(e).length-1),"countOccurrence"),x5e=o((t,e)=>{let r=xA(t,"~"),n=xA(e,"~");return r===1&&n===1},"shouldCombineSets"),b5e=o(t=>{let e=xA(t,"~"),r=!1;if(e<=1)return t;e%2!==0&&t.startsWith("~")&&(t=t.substring(1),r=!0);let n=[...t],i=n.indexOf("~"),a=n.lastIndexOf("~");for(;i!==-1&&a!==-1&&i!==a;)n[i]="<",n[a]=">",i=n.indexOf("~"),a=n.lastIndexOf("~");return r&&n.unshift("~"),n.join("")},"processSet"),_V=o(()=>window.MathMLElement!==void 0,"isMathMLSupported"),M3=/\$\$(.*)\$\$/g,xn=o(t=>(t.match(M3)?.length??0)>0,"hasKatex"),fd=o(async(t,e)=>{let r=document.createElement("div");r.innerHTML=await bh(t,e),r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",document.querySelector("body")?.insertAdjacentElement("beforeend",r);let i={width:r.clientWidth,height:r.clientHeight};return r.remove(),i},"calculateMathMLDimensions"),T5e=o(async(t,e)=>{if(!xn(t))return t;if(!(_V()||e.legacyMathML||e.forceLegacyMathML))return t.replace(M3,"MathML is unsupported in this environment.");{let{default:r}=await Promise.resolve().then(()=>(CV(),SV)),n=e.forceLegacyMathML||!_V()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(hd).map(i=>xn(i)?`
${i}
`:`
${i}
`).join("").replace(M3,(i,a)=>r.renderToString(a,{throwOnError:!0,displayMode:!0,output:n}).replace(/\n/g," ").replace(//g,""))}return t.replace(M3,"Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.")},"renderKatexUnsanitized"),bh=o(async(t,e)=>ar(await T5e(t,e),e),"renderKatexSanitized"),Je={getRows:u5e,sanitizeText:ar,sanitizeTextOrArray:d5e,hasBreaks:p5e,splitBreaks:m5e,lineBreakRegex:hd,removeScript:DV,getUrl:du,evaluate:mr,getMax:y5e,getMin:v5e}});var TA,bA,RV,I3,NV,MV,As,rc=N(()=>{"use strict";$$();Wn();dr();pt();TA={body:'?',height:80,width:80},bA=new Map,RV=new Map,I3=o(t=>{for(let e of t){if(!e.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(X.debug("Registering icon pack:",e.name),"loader"in e)RV.set(e.name,e.loader);else if("icons"in e)bA.set(e.name,e.icons);else throw X.error("Invalid icon loader:",e),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),NV=o(async(t,e)=>{let r=KC(t,!0,e!==void 0);if(!r)throw new Error(`Invalid icon name: ${t}`);let n=r.prefix||e;if(!n)throw new Error(`Icon name must contain a prefix: ${t}`);let i=bA.get(n);if(!i){let s=RV.get(n);if(!s)throw new Error(`Icon set not found: ${r.prefix}`);try{i={...await s(),prefix:n},bA.set(n,i)}catch(l){throw X.error(l),new Error(`Failed to load icon set: ${r.prefix}`)}}let a=ZC(i,r.name);if(!a)throw new Error(`Icon not found: ${t}`);return a},"getRegisteredIconData"),MV=o(async t=>{try{return await NV(t),!0}catch{return!1}},"isIconAvailable"),As=o(async(t,e,r)=>{let n;try{n=await NV(t,e?.fallbackPrefix)}catch(s){X.error(s),n=TA}let i=e7(n,e),a=r7(t7(i.body),{...i.attributes,...r});return ar(a,Qt())},"getIconSVG")});function O3(t){for(var e=[],r=1;r{"use strict";o(N3,"dedent")});var M3,id,_V,I3=N(()=>{"use strict";M3=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,id=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,_V=/\s*%%.*\n/gm});var x0,mA=N(()=>{"use strict";x0=class extends Error{static{o(this,"UnknownDiagramError")}constructor(e){super(e),this.name="UnknownDiagramError"}}});var du,b0,Qy,gA,DV,ad=N(()=>{"use strict";yt();I3();mA();du={},b0=o(function(t,e){t=t.replace(M3,"").replace(id,"").replace(_V,` -`);for(let[r,{detector:n}]of Object.entries(du))if(n(t,e))return r;throw new x0(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),Qy=o((...t)=>{for(let{id:e,detector:r,loader:n}of t)gA(e,r,n)},"registerLazyLoadedDiagrams"),gA=o((t,e,r)=>{du[t]&&X.warn(`Detector with key ${t} already exists. Overwriting.`),du[t]={detector:e,loader:r},X.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),DV=o(t=>du[t].loader,"getDiagramLoader")});var Zy,LV,yA=N(()=>{"use strict";Zy=function(){var t=o(function(ze,Le,Ie,xe){for(Ie=Ie||{},xe=ze.length;xe--;Ie[ze[xe]]=Le);return Ie},"o"),e=[1,24],r=[1,25],n=[1,26],i=[1,27],a=[1,28],s=[1,63],l=[1,64],u=[1,65],h=[1,66],f=[1,67],d=[1,68],p=[1,69],m=[1,29],g=[1,30],y=[1,31],v=[1,32],x=[1,33],b=[1,34],T=[1,35],C=[1,36],w=[1,37],E=[1,38],_=[1,39],A=[1,40],D=[1,41],O=[1,42],R=[1,43],k=[1,44],L=[1,45],S=[1,46],I=[1,47],M=[1,48],P=[1,50],B=[1,51],F=[1,52],z=[1,53],$=[1,54],U=[1,55],K=[1,56],ee=[1,57],Y=[1,58],ce=[1,59],Z=[1,60],ue=[14,42],Q=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],j=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ne=[1,82],te=[1,83],he=[1,84],le=[1,85],J=[12,14,42],Se=[12,14,33,42],se=[12,14,33,42,76,77,79,80],ae=[12,33],Oe=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ye={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:o(function(Le,Ie,xe,q,de,ie,oe){var V=ie.length-1;switch(de){case 3:q.setDirection("TB");break;case 4:q.setDirection("BT");break;case 5:q.setDirection("RL");break;case 6:q.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:q.setC4Type(ie[V-3]);break;case 19:q.setTitle(ie[V].substring(6)),this.$=ie[V].substring(6);break;case 20:q.setAccDescription(ie[V].substring(15)),this.$=ie[V].substring(15);break;case 21:this.$=ie[V].trim(),q.setTitle(this.$);break;case 22:case 23:this.$=ie[V].trim(),q.setAccDescription(this.$);break;case 28:ie[V].splice(2,0,"ENTERPRISE"),q.addPersonOrSystemBoundary(...ie[V]),this.$=ie[V];break;case 29:ie[V].splice(2,0,"SYSTEM"),q.addPersonOrSystemBoundary(...ie[V]),this.$=ie[V];break;case 30:q.addPersonOrSystemBoundary(...ie[V]),this.$=ie[V];break;case 31:ie[V].splice(2,0,"CONTAINER"),q.addContainerBoundary(...ie[V]),this.$=ie[V];break;case 32:q.addDeploymentNode("node",...ie[V]),this.$=ie[V];break;case 33:q.addDeploymentNode("nodeL",...ie[V]),this.$=ie[V];break;case 34:q.addDeploymentNode("nodeR",...ie[V]),this.$=ie[V];break;case 35:q.popBoundaryParseStack();break;case 39:q.addPersonOrSystem("person",...ie[V]),this.$=ie[V];break;case 40:q.addPersonOrSystem("external_person",...ie[V]),this.$=ie[V];break;case 41:q.addPersonOrSystem("system",...ie[V]),this.$=ie[V];break;case 42:q.addPersonOrSystem("system_db",...ie[V]),this.$=ie[V];break;case 43:q.addPersonOrSystem("system_queue",...ie[V]),this.$=ie[V];break;case 44:q.addPersonOrSystem("external_system",...ie[V]),this.$=ie[V];break;case 45:q.addPersonOrSystem("external_system_db",...ie[V]),this.$=ie[V];break;case 46:q.addPersonOrSystem("external_system_queue",...ie[V]),this.$=ie[V];break;case 47:q.addContainer("container",...ie[V]),this.$=ie[V];break;case 48:q.addContainer("container_db",...ie[V]),this.$=ie[V];break;case 49:q.addContainer("container_queue",...ie[V]),this.$=ie[V];break;case 50:q.addContainer("external_container",...ie[V]),this.$=ie[V];break;case 51:q.addContainer("external_container_db",...ie[V]),this.$=ie[V];break;case 52:q.addContainer("external_container_queue",...ie[V]),this.$=ie[V];break;case 53:q.addComponent("component",...ie[V]),this.$=ie[V];break;case 54:q.addComponent("component_db",...ie[V]),this.$=ie[V];break;case 55:q.addComponent("component_queue",...ie[V]),this.$=ie[V];break;case 56:q.addComponent("external_component",...ie[V]),this.$=ie[V];break;case 57:q.addComponent("external_component_db",...ie[V]),this.$=ie[V];break;case 58:q.addComponent("external_component_queue",...ie[V]),this.$=ie[V];break;case 60:q.addRel("rel",...ie[V]),this.$=ie[V];break;case 61:q.addRel("birel",...ie[V]),this.$=ie[V];break;case 62:q.addRel("rel_u",...ie[V]),this.$=ie[V];break;case 63:q.addRel("rel_d",...ie[V]),this.$=ie[V];break;case 64:q.addRel("rel_l",...ie[V]),this.$=ie[V];break;case 65:q.addRel("rel_r",...ie[V]),this.$=ie[V];break;case 66:q.addRel("rel_b",...ie[V]),this.$=ie[V];break;case 67:ie[V].splice(0,1),q.addRel("rel",...ie[V]),this.$=ie[V];break;case 68:q.updateElStyle("update_el_style",...ie[V]),this.$=ie[V];break;case 69:q.updateRelStyle("update_rel_style",...ie[V]),this.$=ie[V];break;case 70:q.updateLayoutConfig("update_layout_config",...ie[V]),this.$=ie[V];break;case 71:this.$=[ie[V]];break;case 72:ie[V].unshift(ie[V-1]),this.$=ie[V];break;case 73:case 75:this.$=ie[V].trim();break;case 74:let Te={};Te[ie[V-1].trim()]=ie[V].trim(),this.$=Te;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:r,24:n,26:i,28:a,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:v,48:x,49:b,50:T,51:C,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:S,62:I,63:M,64:P,65:B,66:F,67:z,68:$,69:U,70:K,71:ee,72:Y,73:ce,74:Z},{13:70,19:20,20:21,21:22,22:e,23:r,24:n,26:i,28:a,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:v,48:x,49:b,50:T,51:C,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:S,62:I,63:M,64:P,65:B,66:F,67:z,68:$,69:U,70:K,71:ee,72:Y,73:ce,74:Z},{13:71,19:20,20:21,21:22,22:e,23:r,24:n,26:i,28:a,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:v,48:x,49:b,50:T,51:C,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:S,62:I,63:M,64:P,65:B,66:F,67:z,68:$,69:U,70:K,71:ee,72:Y,73:ce,74:Z},{13:72,19:20,20:21,21:22,22:e,23:r,24:n,26:i,28:a,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:v,48:x,49:b,50:T,51:C,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:S,62:I,63:M,64:P,65:B,66:F,67:z,68:$,69:U,70:K,71:ee,72:Y,73:ce,74:Z},{13:73,19:20,20:21,21:22,22:e,23:r,24:n,26:i,28:a,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:v,48:x,49:b,50:T,51:C,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:S,62:I,63:M,64:P,65:B,66:F,67:z,68:$,69:U,70:K,71:ee,72:Y,73:ce,74:Z},{14:[1,74]},t(ue,[2,13],{43:23,29:49,30:61,32:62,20:75,34:s,36:l,37:u,38:h,39:f,40:d,41:p,44:m,45:g,46:y,47:v,48:x,49:b,50:T,51:C,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:S,62:I,63:M,64:P,65:B,66:F,67:z,68:$,69:U,70:K,71:ee,72:Y,73:ce,74:Z}),t(ue,[2,14]),t(Q,[2,16],{12:[1,76]}),t(ue,[2,36],{12:[1,77]}),t(j,[2,19]),t(j,[2,20]),{25:[1,78]},{27:[1,79]},t(j,[2,23]),{35:80,75:81,76:ne,77:te,79:he,80:le},{35:86,75:81,76:ne,77:te,79:he,80:le},{35:87,75:81,76:ne,77:te,79:he,80:le},{35:88,75:81,76:ne,77:te,79:he,80:le},{35:89,75:81,76:ne,77:te,79:he,80:le},{35:90,75:81,76:ne,77:te,79:he,80:le},{35:91,75:81,76:ne,77:te,79:he,80:le},{35:92,75:81,76:ne,77:te,79:he,80:le},{35:93,75:81,76:ne,77:te,79:he,80:le},{35:94,75:81,76:ne,77:te,79:he,80:le},{35:95,75:81,76:ne,77:te,79:he,80:le},{35:96,75:81,76:ne,77:te,79:he,80:le},{35:97,75:81,76:ne,77:te,79:he,80:le},{35:98,75:81,76:ne,77:te,79:he,80:le},{35:99,75:81,76:ne,77:te,79:he,80:le},{35:100,75:81,76:ne,77:te,79:he,80:le},{35:101,75:81,76:ne,77:te,79:he,80:le},{35:102,75:81,76:ne,77:te,79:he,80:le},{35:103,75:81,76:ne,77:te,79:he,80:le},{35:104,75:81,76:ne,77:te,79:he,80:le},t(J,[2,59]),{35:105,75:81,76:ne,77:te,79:he,80:le},{35:106,75:81,76:ne,77:te,79:he,80:le},{35:107,75:81,76:ne,77:te,79:he,80:le},{35:108,75:81,76:ne,77:te,79:he,80:le},{35:109,75:81,76:ne,77:te,79:he,80:le},{35:110,75:81,76:ne,77:te,79:he,80:le},{35:111,75:81,76:ne,77:te,79:he,80:le},{35:112,75:81,76:ne,77:te,79:he,80:le},{35:113,75:81,76:ne,77:te,79:he,80:le},{35:114,75:81,76:ne,77:te,79:he,80:le},{35:115,75:81,76:ne,77:te,79:he,80:le},{20:116,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:v,48:x,49:b,50:T,51:C,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:S,62:I,63:M,64:P,65:B,66:F,67:z,68:$,69:U,70:K,71:ee,72:Y,73:ce,74:Z},{12:[1,118],33:[1,117]},{35:119,75:81,76:ne,77:te,79:he,80:le},{35:120,75:81,76:ne,77:te,79:he,80:le},{35:121,75:81,76:ne,77:te,79:he,80:le},{35:122,75:81,76:ne,77:te,79:he,80:le},{35:123,75:81,76:ne,77:te,79:he,80:le},{35:124,75:81,76:ne,77:te,79:he,80:le},{35:125,75:81,76:ne,77:te,79:he,80:le},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(ue,[2,15]),t(Q,[2,17],{21:22,19:130,22:e,23:r,24:n,26:i,28:a}),t(ue,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:r,24:n,26:i,28:a,34:s,36:l,37:u,38:h,39:f,40:d,41:p,44:m,45:g,46:y,47:v,48:x,49:b,50:T,51:C,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:S,62:I,63:M,64:P,65:B,66:F,67:z,68:$,69:U,70:K,71:ee,72:Y,73:ce,74:Z}),t(j,[2,21]),t(j,[2,22]),t(J,[2,39]),t(Se,[2,71],{75:81,35:132,76:ne,77:te,79:he,80:le}),t(se,[2,73]),{78:[1,133]},t(se,[2,75]),t(se,[2,76]),t(J,[2,40]),t(J,[2,41]),t(J,[2,42]),t(J,[2,43]),t(J,[2,44]),t(J,[2,45]),t(J,[2,46]),t(J,[2,47]),t(J,[2,48]),t(J,[2,49]),t(J,[2,50]),t(J,[2,51]),t(J,[2,52]),t(J,[2,53]),t(J,[2,54]),t(J,[2,55]),t(J,[2,56]),t(J,[2,57]),t(J,[2,58]),t(J,[2,60]),t(J,[2,61]),t(J,[2,62]),t(J,[2,63]),t(J,[2,64]),t(J,[2,65]),t(J,[2,66]),t(J,[2,67]),t(J,[2,68]),t(J,[2,69]),t(J,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(ae,[2,28]),t(ae,[2,29]),t(ae,[2,30]),t(ae,[2,31]),t(ae,[2,32]),t(ae,[2,33]),t(ae,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Q,[2,18]),t(ue,[2,38]),t(Se,[2,72]),t(se,[2,74]),t(J,[2,24]),t(J,[2,35]),t(Oe,[2,25]),t(Oe,[2,26],{12:[1,138]}),t(Oe,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:o(function(Le,Ie){if(Ie.recoverable)this.trace(Le);else{var xe=new Error(Le);throw xe.hash=Ie,xe}},"parseError"),parse:o(function(Le){var Ie=this,xe=[0],q=[],de=[null],ie=[],oe=this.table,V="",Te=0,W=0,pe=0,ve=2,Pe=1,_e=ie.slice.call(arguments,1),be=Object.create(this.lexer),Ve={yy:{}};for(var De in this.yy)Object.prototype.hasOwnProperty.call(this.yy,De)&&(Ve.yy[De]=this.yy[De]);be.setInput(Le,Ve.yy),Ve.yy.lexer=be,Ve.yy.parser=this,typeof be.yylloc>"u"&&(be.yylloc={});var Ye=be.yylloc;ie.push(Ye);var at=be.options&&be.options.ranges;typeof Ve.yy.parseError=="function"?this.parseError=Ve.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Rt(nt){xe.length=xe.length-2*nt,de.length=de.length-nt,ie.length=ie.length-nt}o(Rt,"popStack");function st(){var nt;return nt=q.pop()||be.lex()||Pe,typeof nt!="number"&&(nt instanceof Array&&(q=nt,nt=q.pop()),nt=Ie.symbols_[nt]||nt),nt}o(st,"lex");for(var Ue,ut,We,lt,Xt,Tt,Mt={},bt,ht,St,ft;;){if(We=xe[xe.length-1],this.defaultActions[We]?lt=this.defaultActions[We]:((Ue===null||typeof Ue>"u")&&(Ue=st()),lt=oe[We]&&oe[We][Ue]),typeof lt>"u"||!lt.length||!lt[0]){var vt="";ft=[];for(bt in oe[We])this.terminals_[bt]&&bt>ve&&ft.push("'"+this.terminals_[bt]+"'");be.showPosition?vt="Parse error on line "+(Te+1)+`: -`+be.showPosition()+` -Expecting `+ft.join(", ")+", got '"+(this.terminals_[Ue]||Ue)+"'":vt="Parse error on line "+(Te+1)+": Unexpected "+(Ue==Pe?"end of input":"'"+(this.terminals_[Ue]||Ue)+"'"),this.parseError(vt,{text:be.match,token:this.terminals_[Ue]||Ue,line:be.yylineno,loc:Ye,expected:ft})}if(lt[0]instanceof Array&<.length>1)throw new Error("Parse Error: multiple actions possible at state: "+We+", token: "+Ue);switch(lt[0]){case 1:xe.push(Ue),de.push(be.yytext),ie.push(be.yylloc),xe.push(lt[1]),Ue=null,ut?(Ue=ut,ut=null):(W=be.yyleng,V=be.yytext,Te=be.yylineno,Ye=be.yylloc,pe>0&&pe--);break;case 2:if(ht=this.productions_[lt[1]][1],Mt.$=de[de.length-ht],Mt._$={first_line:ie[ie.length-(ht||1)].first_line,last_line:ie[ie.length-1].last_line,first_column:ie[ie.length-(ht||1)].first_column,last_column:ie[ie.length-1].last_column},at&&(Mt._$.range=[ie[ie.length-(ht||1)].range[0],ie[ie.length-1].range[1]]),Tt=this.performAction.apply(Mt,[V,W,Te,Ve.yy,lt[1],de,ie].concat(_e)),typeof Tt<"u")return Tt;ht&&(xe=xe.slice(0,-1*ht*2),de=de.slice(0,-1*ht),ie=ie.slice(0,-1*ht)),xe.push(this.productions_[lt[1]][0]),de.push(Mt.$),ie.push(Mt._$),St=oe[xe[xe.length-2]][xe[xe.length-1]],xe.push(St);break;case 3:return!0}}return!0},"parse")},Be=function(){var ze={EOF:1,parseError:o(function(Ie,xe){if(this.yy.parser)this.yy.parser.parseError(Ie,xe);else throw new Error(Ie)},"parseError"),setInput:o(function(Le,Ie){return this.yy=Ie||this.yy||{},this._input=Le,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var Le=this._input[0];this.yytext+=Le,this.yyleng++,this.offset++,this.match+=Le,this.matched+=Le;var Ie=Le.match(/(?:\r\n?|\n).*/g);return Ie?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Le},"input"),unput:o(function(Le){var Ie=Le.length,xe=Le.split(/(?:\r\n?|\n)/g);this._input=Le+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ie),this.offset-=Ie;var q=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),xe.length-1&&(this.yylineno-=xe.length-1);var de=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:xe?(xe.length===q.length?this.yylloc.first_column:0)+q[q.length-xe.length].length-xe[0].length:this.yylloc.first_column-Ie},this.options.ranges&&(this.yylloc.range=[de[0],de[0]+this.yyleng-Ie]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(Le){this.unput(this.match.slice(Le))},"less"),pastInput:o(function(){var Le=this.matched.substr(0,this.matched.length-this.match.length);return(Le.length>20?"...":"")+Le.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var Le=this.match;return Le.length<20&&(Le+=this._input.substr(0,20-Le.length)),(Le.substr(0,20)+(Le.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var Le=this.pastInput(),Ie=new Array(Le.length+1).join("-");return Le+this.upcomingInput()+` -`+Ie+"^"},"showPosition"),test_match:o(function(Le,Ie){var xe,q,de;if(this.options.backtrack_lexer&&(de={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(de.yylloc.range=this.yylloc.range.slice(0))),q=Le[0].match(/(?:\r\n?|\n).*/g),q&&(this.yylineno+=q.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:q?q[q.length-1].length-q[q.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Le[0].length},this.yytext+=Le[0],this.match+=Le[0],this.matches=Le,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Le[0].length),this.matched+=Le[0],xe=this.performAction.call(this,this.yy,this,Ie,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),xe)return xe;if(this._backtrack){for(var ie in de)this[ie]=de[ie];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Le,Ie,xe,q;this._more||(this.yytext="",this.match="");for(var de=this._currentRules(),ie=0;ieIe[0].length)){if(Ie=xe,q=ie,this.options.backtrack_lexer){if(Le=this.test_match(xe,de[ie]),Le!==!1)return Le;if(this._backtrack){Ie=!1;continue}else return!1}else if(!this.options.flex)break}return Ie?(Le=this.test_match(Ie,de[q]),Le!==!1?Le:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var Ie=this.next();return Ie||this.lex()},"lex"),begin:o(function(Ie){this.conditionStack.push(Ie)},"begin"),popState:o(function(){var Ie=this.conditionStack.length-1;return Ie>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(Ie){return Ie=this.conditionStack.length-1-Math.abs(Ie||0),Ie>=0?this.conditionStack[Ie]:"INITIAL"},"topState"),pushState:o(function(Ie){this.begin(Ie)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:o(function(Ie,xe,q,de){var ie=de;switch(q){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),26;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;break;case 23:return this.begin("person"),44;break;case 24:return this.begin("system_ext_queue"),51;break;case 25:return this.begin("system_ext_db"),50;break;case 26:return this.begin("system_ext"),49;break;case 27:return this.begin("system_queue"),48;break;case 28:return this.begin("system_db"),47;break;case 29:return this.begin("system"),46;break;case 30:return this.begin("boundary"),37;break;case 31:return this.begin("enterprise_boundary"),34;break;case 32:return this.begin("system_boundary"),36;break;case 33:return this.begin("container_ext_queue"),57;break;case 34:return this.begin("container_ext_db"),56;break;case 35:return this.begin("container_ext"),55;break;case 36:return this.begin("container_queue"),54;break;case 37:return this.begin("container_db"),53;break;case 38:return this.begin("container"),52;break;case 39:return this.begin("container_boundary"),38;break;case 40:return this.begin("component_ext_queue"),63;break;case 41:return this.begin("component_ext_db"),62;break;case 42:return this.begin("component_ext"),61;break;case 43:return this.begin("component_queue"),60;break;case 44:return this.begin("component_db"),59;break;case 45:return this.begin("component"),58;break;case 46:return this.begin("node"),39;break;case 47:return this.begin("node"),39;break;case 48:return this.begin("node_l"),40;break;case 49:return this.begin("node_r"),41;break;case 50:return this.begin("rel"),64;break;case 51:return this.begin("birel"),65;break;case 52:return this.begin("rel_u"),66;break;case 53:return this.begin("rel_u"),66;break;case 54:return this.begin("rel_d"),67;break;case 55:return this.begin("rel_d"),67;break;case 56:return this.begin("rel_l"),68;break;case 57:return this.begin("rel_l"),68;break;case 58:return this.begin("rel_r"),69;break;case 59:return this.begin("rel_r"),69;break;case 60:return this.begin("rel_b"),70;break;case 61:return this.begin("rel_index"),71;break;case 62:return this.begin("update_el_style"),72;break;case 63:return this.begin("update_rel_style"),73;break;case 64:return this.begin("update_layout_config"),74;break;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";break;case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";break;case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return ze}();ye.lexer=Be;function He(){this.yy={}}return o(He,"Parser"),He.prototype=ye,ye.Parser=He,new He}();Zy.parser=Zy;LV=Zy});var y5e,v5e,hn,_o,yi=N(()=>{"use strict";yt();y5e=o(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),v5e=o(function(t,e,r){let n=new Map;return r?(n.set("width","100%"),n.set("style",`max-width: ${e}px;`)):(n.set("height",t),n.set("width",e)),n},"calculateSvgSizeAttrs"),hn=o(function(t,e,r,n){let i=v5e(e,r,n);y5e(t,i)},"configureSvgSize"),_o=o(function(t,e,r,n){let i=e.node().getBBox(),a=i.width,s=i.height;X.info(`SVG bounds: ${a}x${s}`,i);let l=0,u=0;X.info(`Graph bounds: ${l}x${u}`,t),l=a+r*2,u=s+r*2,X.info(`Calculated bounds: ${l}x${u}`),hn(e,u,l,n);let h=`${i.x-r} ${i.y-r} ${i.width+2*r} ${i.height+2*r}`;e.attr("viewBox",h)},"setupGraphViewbox")});var O3,x5e,RV,NV,vA=N(()=>{"use strict";yt();O3={},x5e=o((t,e,r)=>{let n="";return t in O3&&O3[t]?n=O3[t](r):X.warn(`No theme found for ${t}`),` & { +`)),s+=d+n[u+1]}),s}var wA=N(()=>{"use strict";o(O3,"dedent")});var P3,dd,IV,B3=N(()=>{"use strict";P3=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,dd=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,IV=/\s*%%.*\n/gm});var k0,kA=N(()=>{"use strict";k0=class extends Error{static{o(this,"UnknownDiagramError")}constructor(e){super(e),this.name="UnknownDiagramError"}}});var pu,E0,Zy,EA,OV,pd=N(()=>{"use strict";pt();B3();kA();pu={},E0=o(function(t,e){t=t.replace(P3,"").replace(dd,"").replace(IV,` +`);for(let[r,{detector:n}]of Object.entries(pu))if(n(t,e))return r;throw new k0(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),Zy=o((...t)=>{for(let{id:e,detector:r,loader:n}of t)EA(e,r,n)},"registerLazyLoadedDiagrams"),EA=o((t,e,r)=>{pu[t]&&X.warn(`Detector with key ${t} already exists. Overwriting.`),pu[t]={detector:e,loader:r},X.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),OV=o(t=>pu[t].loader,"getDiagramLoader")});var Jy,PV,SA=N(()=>{"use strict";Jy=function(){var t=o(function(Ge,Ne,Me,be){for(Me=Me||{},be=Ge.length;be--;Me[Ge[be]]=Ne);return Me},"o"),e=[1,24],r=[1,25],n=[1,26],i=[1,27],a=[1,28],s=[1,63],l=[1,64],u=[1,65],h=[1,66],f=[1,67],d=[1,68],p=[1,69],m=[1,29],g=[1,30],y=[1,31],x=[1,32],v=[1,33],b=[1,34],T=[1,35],S=[1,36],w=[1,37],E=[1,38],_=[1,39],A=[1,40],D=[1,41],O=[1,42],R=[1,43],k=[1,44],L=[1,45],C=[1,46],I=[1,47],M=[1,48],P=[1,50],B=[1,51],F=[1,52],G=[1,53],$=[1,54],U=[1,55],K=[1,56],ne=[1,57],j=[1,58],le=[1,59],Z=[1,60],ce=[14,42],Q=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ee=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],te=[1,82],re=[1,83],he=[1,84],J=[1,85],ye=[12,14,42],se=[12,14,33,42],Se=[12,14,33,42,76,77,79,80],W=[12,33],Oe=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ve={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:o(function(Ne,Me,be,q,fe,ae,oe){var V=ae.length-1;switch(fe){case 3:q.setDirection("TB");break;case 4:q.setDirection("BT");break;case 5:q.setDirection("RL");break;case 6:q.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:q.setC4Type(ae[V-3]);break;case 19:q.setTitle(ae[V].substring(6)),this.$=ae[V].substring(6);break;case 20:q.setAccDescription(ae[V].substring(15)),this.$=ae[V].substring(15);break;case 21:this.$=ae[V].trim(),q.setTitle(this.$);break;case 22:case 23:this.$=ae[V].trim(),q.setAccDescription(this.$);break;case 28:ae[V].splice(2,0,"ENTERPRISE"),q.addPersonOrSystemBoundary(...ae[V]),this.$=ae[V];break;case 29:ae[V].splice(2,0,"SYSTEM"),q.addPersonOrSystemBoundary(...ae[V]),this.$=ae[V];break;case 30:q.addPersonOrSystemBoundary(...ae[V]),this.$=ae[V];break;case 31:ae[V].splice(2,0,"CONTAINER"),q.addContainerBoundary(...ae[V]),this.$=ae[V];break;case 32:q.addDeploymentNode("node",...ae[V]),this.$=ae[V];break;case 33:q.addDeploymentNode("nodeL",...ae[V]),this.$=ae[V];break;case 34:q.addDeploymentNode("nodeR",...ae[V]),this.$=ae[V];break;case 35:q.popBoundaryParseStack();break;case 39:q.addPersonOrSystem("person",...ae[V]),this.$=ae[V];break;case 40:q.addPersonOrSystem("external_person",...ae[V]),this.$=ae[V];break;case 41:q.addPersonOrSystem("system",...ae[V]),this.$=ae[V];break;case 42:q.addPersonOrSystem("system_db",...ae[V]),this.$=ae[V];break;case 43:q.addPersonOrSystem("system_queue",...ae[V]),this.$=ae[V];break;case 44:q.addPersonOrSystem("external_system",...ae[V]),this.$=ae[V];break;case 45:q.addPersonOrSystem("external_system_db",...ae[V]),this.$=ae[V];break;case 46:q.addPersonOrSystem("external_system_queue",...ae[V]),this.$=ae[V];break;case 47:q.addContainer("container",...ae[V]),this.$=ae[V];break;case 48:q.addContainer("container_db",...ae[V]),this.$=ae[V];break;case 49:q.addContainer("container_queue",...ae[V]),this.$=ae[V];break;case 50:q.addContainer("external_container",...ae[V]),this.$=ae[V];break;case 51:q.addContainer("external_container_db",...ae[V]),this.$=ae[V];break;case 52:q.addContainer("external_container_queue",...ae[V]),this.$=ae[V];break;case 53:q.addComponent("component",...ae[V]),this.$=ae[V];break;case 54:q.addComponent("component_db",...ae[V]),this.$=ae[V];break;case 55:q.addComponent("component_queue",...ae[V]),this.$=ae[V];break;case 56:q.addComponent("external_component",...ae[V]),this.$=ae[V];break;case 57:q.addComponent("external_component_db",...ae[V]),this.$=ae[V];break;case 58:q.addComponent("external_component_queue",...ae[V]),this.$=ae[V];break;case 60:q.addRel("rel",...ae[V]),this.$=ae[V];break;case 61:q.addRel("birel",...ae[V]),this.$=ae[V];break;case 62:q.addRel("rel_u",...ae[V]),this.$=ae[V];break;case 63:q.addRel("rel_d",...ae[V]),this.$=ae[V];break;case 64:q.addRel("rel_l",...ae[V]),this.$=ae[V];break;case 65:q.addRel("rel_r",...ae[V]),this.$=ae[V];break;case 66:q.addRel("rel_b",...ae[V]),this.$=ae[V];break;case 67:ae[V].splice(0,1),q.addRel("rel",...ae[V]),this.$=ae[V];break;case 68:q.updateElStyle("update_el_style",...ae[V]),this.$=ae[V];break;case 69:q.updateRelStyle("update_rel_style",...ae[V]),this.$=ae[V];break;case 70:q.updateLayoutConfig("update_layout_config",...ae[V]),this.$=ae[V];break;case 71:this.$=[ae[V]];break;case 72:ae[V].unshift(ae[V-1]),this.$=ae[V];break;case 73:case 75:this.$=ae[V].trim();break;case 74:let xe={};xe[ae[V-1].trim()]=ae[V].trim(),this.$=xe;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:r,24:n,26:i,28:a,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:x,48:v,49:b,50:T,51:S,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:C,62:I,63:M,64:P,65:B,66:F,67:G,68:$,69:U,70:K,71:ne,72:j,73:le,74:Z},{13:70,19:20,20:21,21:22,22:e,23:r,24:n,26:i,28:a,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:x,48:v,49:b,50:T,51:S,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:C,62:I,63:M,64:P,65:B,66:F,67:G,68:$,69:U,70:K,71:ne,72:j,73:le,74:Z},{13:71,19:20,20:21,21:22,22:e,23:r,24:n,26:i,28:a,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:x,48:v,49:b,50:T,51:S,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:C,62:I,63:M,64:P,65:B,66:F,67:G,68:$,69:U,70:K,71:ne,72:j,73:le,74:Z},{13:72,19:20,20:21,21:22,22:e,23:r,24:n,26:i,28:a,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:x,48:v,49:b,50:T,51:S,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:C,62:I,63:M,64:P,65:B,66:F,67:G,68:$,69:U,70:K,71:ne,72:j,73:le,74:Z},{13:73,19:20,20:21,21:22,22:e,23:r,24:n,26:i,28:a,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:x,48:v,49:b,50:T,51:S,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:C,62:I,63:M,64:P,65:B,66:F,67:G,68:$,69:U,70:K,71:ne,72:j,73:le,74:Z},{14:[1,74]},t(ce,[2,13],{43:23,29:49,30:61,32:62,20:75,34:s,36:l,37:u,38:h,39:f,40:d,41:p,44:m,45:g,46:y,47:x,48:v,49:b,50:T,51:S,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:C,62:I,63:M,64:P,65:B,66:F,67:G,68:$,69:U,70:K,71:ne,72:j,73:le,74:Z}),t(ce,[2,14]),t(Q,[2,16],{12:[1,76]}),t(ce,[2,36],{12:[1,77]}),t(ee,[2,19]),t(ee,[2,20]),{25:[1,78]},{27:[1,79]},t(ee,[2,23]),{35:80,75:81,76:te,77:re,79:he,80:J},{35:86,75:81,76:te,77:re,79:he,80:J},{35:87,75:81,76:te,77:re,79:he,80:J},{35:88,75:81,76:te,77:re,79:he,80:J},{35:89,75:81,76:te,77:re,79:he,80:J},{35:90,75:81,76:te,77:re,79:he,80:J},{35:91,75:81,76:te,77:re,79:he,80:J},{35:92,75:81,76:te,77:re,79:he,80:J},{35:93,75:81,76:te,77:re,79:he,80:J},{35:94,75:81,76:te,77:re,79:he,80:J},{35:95,75:81,76:te,77:re,79:he,80:J},{35:96,75:81,76:te,77:re,79:he,80:J},{35:97,75:81,76:te,77:re,79:he,80:J},{35:98,75:81,76:te,77:re,79:he,80:J},{35:99,75:81,76:te,77:re,79:he,80:J},{35:100,75:81,76:te,77:re,79:he,80:J},{35:101,75:81,76:te,77:re,79:he,80:J},{35:102,75:81,76:te,77:re,79:he,80:J},{35:103,75:81,76:te,77:re,79:he,80:J},{35:104,75:81,76:te,77:re,79:he,80:J},t(ye,[2,59]),{35:105,75:81,76:te,77:re,79:he,80:J},{35:106,75:81,76:te,77:re,79:he,80:J},{35:107,75:81,76:te,77:re,79:he,80:J},{35:108,75:81,76:te,77:re,79:he,80:J},{35:109,75:81,76:te,77:re,79:he,80:J},{35:110,75:81,76:te,77:re,79:he,80:J},{35:111,75:81,76:te,77:re,79:he,80:J},{35:112,75:81,76:te,77:re,79:he,80:J},{35:113,75:81,76:te,77:re,79:he,80:J},{35:114,75:81,76:te,77:re,79:he,80:J},{35:115,75:81,76:te,77:re,79:he,80:J},{20:116,29:49,30:61,32:62,34:s,36:l,37:u,38:h,39:f,40:d,41:p,43:23,44:m,45:g,46:y,47:x,48:v,49:b,50:T,51:S,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:C,62:I,63:M,64:P,65:B,66:F,67:G,68:$,69:U,70:K,71:ne,72:j,73:le,74:Z},{12:[1,118],33:[1,117]},{35:119,75:81,76:te,77:re,79:he,80:J},{35:120,75:81,76:te,77:re,79:he,80:J},{35:121,75:81,76:te,77:re,79:he,80:J},{35:122,75:81,76:te,77:re,79:he,80:J},{35:123,75:81,76:te,77:re,79:he,80:J},{35:124,75:81,76:te,77:re,79:he,80:J},{35:125,75:81,76:te,77:re,79:he,80:J},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(ce,[2,15]),t(Q,[2,17],{21:22,19:130,22:e,23:r,24:n,26:i,28:a}),t(ce,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:r,24:n,26:i,28:a,34:s,36:l,37:u,38:h,39:f,40:d,41:p,44:m,45:g,46:y,47:x,48:v,49:b,50:T,51:S,52:w,53:E,54:_,55:A,56:D,57:O,58:R,59:k,60:L,61:C,62:I,63:M,64:P,65:B,66:F,67:G,68:$,69:U,70:K,71:ne,72:j,73:le,74:Z}),t(ee,[2,21]),t(ee,[2,22]),t(ye,[2,39]),t(se,[2,71],{75:81,35:132,76:te,77:re,79:he,80:J}),t(Se,[2,73]),{78:[1,133]},t(Se,[2,75]),t(Se,[2,76]),t(ye,[2,40]),t(ye,[2,41]),t(ye,[2,42]),t(ye,[2,43]),t(ye,[2,44]),t(ye,[2,45]),t(ye,[2,46]),t(ye,[2,47]),t(ye,[2,48]),t(ye,[2,49]),t(ye,[2,50]),t(ye,[2,51]),t(ye,[2,52]),t(ye,[2,53]),t(ye,[2,54]),t(ye,[2,55]),t(ye,[2,56]),t(ye,[2,57]),t(ye,[2,58]),t(ye,[2,60]),t(ye,[2,61]),t(ye,[2,62]),t(ye,[2,63]),t(ye,[2,64]),t(ye,[2,65]),t(ye,[2,66]),t(ye,[2,67]),t(ye,[2,68]),t(ye,[2,69]),t(ye,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(W,[2,28]),t(W,[2,29]),t(W,[2,30]),t(W,[2,31]),t(W,[2,32]),t(W,[2,33]),t(W,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Q,[2,18]),t(ce,[2,38]),t(se,[2,72]),t(Se,[2,74]),t(ye,[2,24]),t(ye,[2,35]),t(Oe,[2,25]),t(Oe,[2,26],{12:[1,138]}),t(Oe,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:o(function(Ne,Me){if(Me.recoverable)this.trace(Ne);else{var be=new Error(Ne);throw be.hash=Me,be}},"parseError"),parse:o(function(Ne){var Me=this,be=[0],q=[],fe=[null],ae=[],oe=this.table,V="",xe=0,Y=0,de=0,me=2,Be=1,_e=ae.slice.call(arguments,1),Te=Object.create(this.lexer),Ue={yy:{}};for(var De in this.yy)Object.prototype.hasOwnProperty.call(this.yy,De)&&(Ue.yy[De]=this.yy[De]);Te.setInput(Ne,Ue.yy),Ue.yy.lexer=Te,Ue.yy.parser=this,typeof Te.yylloc>"u"&&(Te.yylloc={});var Qe=Te.yylloc;ae.push(Qe);var ot=Te.options&&Te.options.ranges;typeof Ue.yy.parseError=="function"?this.parseError=Ue.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Gt(at){be.length=be.length-2*at,fe.length=fe.length-at,ae.length=ae.length-at}o(Gt,"popStack");function Ze(){var at;return at=q.pop()||Te.lex()||Be,typeof at!="number"&&(at instanceof Array&&(q=at,at=q.pop()),at=Me.symbols_[at]||at),at}o(Ze,"lex");for(var Ve,ht,Ye,ct,Yt,Tt,Mt={},bt,ft,St,dt;;){if(Ye=be[be.length-1],this.defaultActions[Ye]?ct=this.defaultActions[Ye]:((Ve===null||typeof Ve>"u")&&(Ve=Ze()),ct=oe[Ye]&&oe[Ye][Ve]),typeof ct>"u"||!ct.length||!ct[0]){var vt="";dt=[];for(bt in oe[Ye])this.terminals_[bt]&&bt>me&&dt.push("'"+this.terminals_[bt]+"'");Te.showPosition?vt="Parse error on line "+(xe+1)+`: +`+Te.showPosition()+` +Expecting `+dt.join(", ")+", got '"+(this.terminals_[Ve]||Ve)+"'":vt="Parse error on line "+(xe+1)+": Unexpected "+(Ve==Be?"end of input":"'"+(this.terminals_[Ve]||Ve)+"'"),this.parseError(vt,{text:Te.match,token:this.terminals_[Ve]||Ve,line:Te.yylineno,loc:Qe,expected:dt})}if(ct[0]instanceof Array&&ct.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ye+", token: "+Ve);switch(ct[0]){case 1:be.push(Ve),fe.push(Te.yytext),ae.push(Te.yylloc),be.push(ct[1]),Ve=null,ht?(Ve=ht,ht=null):(Y=Te.yyleng,V=Te.yytext,xe=Te.yylineno,Qe=Te.yylloc,de>0&&de--);break;case 2:if(ft=this.productions_[ct[1]][1],Mt.$=fe[fe.length-ft],Mt._$={first_line:ae[ae.length-(ft||1)].first_line,last_line:ae[ae.length-1].last_line,first_column:ae[ae.length-(ft||1)].first_column,last_column:ae[ae.length-1].last_column},ot&&(Mt._$.range=[ae[ae.length-(ft||1)].range[0],ae[ae.length-1].range[1]]),Tt=this.performAction.apply(Mt,[V,Y,xe,Ue.yy,ct[1],fe,ae].concat(_e)),typeof Tt<"u")return Tt;ft&&(be=be.slice(0,-1*ft*2),fe=fe.slice(0,-1*ft),ae=ae.slice(0,-1*ft)),be.push(this.productions_[ct[1]][0]),fe.push(Mt.$),ae.push(Mt._$),St=oe[be[be.length-2]][be[be.length-1]],be.push(St);break;case 3:return!0}}return!0},"parse")},Pe=function(){var Ge={EOF:1,parseError:o(function(Me,be){if(this.yy.parser)this.yy.parser.parseError(Me,be);else throw new Error(Me)},"parseError"),setInput:o(function(Ne,Me){return this.yy=Me||this.yy||{},this._input=Ne,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var Ne=this._input[0];this.yytext+=Ne,this.yyleng++,this.offset++,this.match+=Ne,this.matched+=Ne;var Me=Ne.match(/(?:\r\n?|\n).*/g);return Me?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Ne},"input"),unput:o(function(Ne){var Me=Ne.length,be=Ne.split(/(?:\r\n?|\n)/g);this._input=Ne+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Me),this.offset-=Me;var q=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),be.length-1&&(this.yylineno-=be.length-1);var fe=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:be?(be.length===q.length?this.yylloc.first_column:0)+q[q.length-be.length].length-be[0].length:this.yylloc.first_column-Me},this.options.ranges&&(this.yylloc.range=[fe[0],fe[0]+this.yyleng-Me]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(Ne){this.unput(this.match.slice(Ne))},"less"),pastInput:o(function(){var Ne=this.matched.substr(0,this.matched.length-this.match.length);return(Ne.length>20?"...":"")+Ne.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var Ne=this.match;return Ne.length<20&&(Ne+=this._input.substr(0,20-Ne.length)),(Ne.substr(0,20)+(Ne.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var Ne=this.pastInput(),Me=new Array(Ne.length+1).join("-");return Ne+this.upcomingInput()+` +`+Me+"^"},"showPosition"),test_match:o(function(Ne,Me){var be,q,fe;if(this.options.backtrack_lexer&&(fe={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(fe.yylloc.range=this.yylloc.range.slice(0))),q=Ne[0].match(/(?:\r\n?|\n).*/g),q&&(this.yylineno+=q.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:q?q[q.length-1].length-q[q.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Ne[0].length},this.yytext+=Ne[0],this.match+=Ne[0],this.matches=Ne,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Ne[0].length),this.matched+=Ne[0],be=this.performAction.call(this,this.yy,this,Me,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),be)return be;if(this._backtrack){for(var ae in fe)this[ae]=fe[ae];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Ne,Me,be,q;this._more||(this.yytext="",this.match="");for(var fe=this._currentRules(),ae=0;aeMe[0].length)){if(Me=be,q=ae,this.options.backtrack_lexer){if(Ne=this.test_match(be,fe[ae]),Ne!==!1)return Ne;if(this._backtrack){Me=!1;continue}else return!1}else if(!this.options.flex)break}return Me?(Ne=this.test_match(Me,fe[q]),Ne!==!1?Ne:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var Me=this.next();return Me||this.lex()},"lex"),begin:o(function(Me){this.conditionStack.push(Me)},"begin"),popState:o(function(){var Me=this.conditionStack.length-1;return Me>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(Me){return Me=this.conditionStack.length-1-Math.abs(Me||0),Me>=0?this.conditionStack[Me]:"INITIAL"},"topState"),pushState:o(function(Me){this.begin(Me)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:o(function(Me,be,q,fe){var ae=fe;switch(q){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),26;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;break;case 23:return this.begin("person"),44;break;case 24:return this.begin("system_ext_queue"),51;break;case 25:return this.begin("system_ext_db"),50;break;case 26:return this.begin("system_ext"),49;break;case 27:return this.begin("system_queue"),48;break;case 28:return this.begin("system_db"),47;break;case 29:return this.begin("system"),46;break;case 30:return this.begin("boundary"),37;break;case 31:return this.begin("enterprise_boundary"),34;break;case 32:return this.begin("system_boundary"),36;break;case 33:return this.begin("container_ext_queue"),57;break;case 34:return this.begin("container_ext_db"),56;break;case 35:return this.begin("container_ext"),55;break;case 36:return this.begin("container_queue"),54;break;case 37:return this.begin("container_db"),53;break;case 38:return this.begin("container"),52;break;case 39:return this.begin("container_boundary"),38;break;case 40:return this.begin("component_ext_queue"),63;break;case 41:return this.begin("component_ext_db"),62;break;case 42:return this.begin("component_ext"),61;break;case 43:return this.begin("component_queue"),60;break;case 44:return this.begin("component_db"),59;break;case 45:return this.begin("component"),58;break;case 46:return this.begin("node"),39;break;case 47:return this.begin("node"),39;break;case 48:return this.begin("node_l"),40;break;case 49:return this.begin("node_r"),41;break;case 50:return this.begin("rel"),64;break;case 51:return this.begin("birel"),65;break;case 52:return this.begin("rel_u"),66;break;case 53:return this.begin("rel_u"),66;break;case 54:return this.begin("rel_d"),67;break;case 55:return this.begin("rel_d"),67;break;case 56:return this.begin("rel_l"),68;break;case 57:return this.begin("rel_l"),68;break;case 58:return this.begin("rel_r"),69;break;case 59:return this.begin("rel_r"),69;break;case 60:return this.begin("rel_b"),70;break;case 61:return this.begin("rel_index"),71;break;case 62:return this.begin("update_el_style"),72;break;case 63:return this.begin("update_rel_style"),73;break;case 64:return this.begin("update_layout_config"),74;break;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";break;case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";break;case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return Ge}();ve.lexer=Pe;function qe(){this.yy={}}return o(qe,"Parser"),qe.prototype=ve,ve.Parser=qe,new qe}();Jy.parser=Jy;PV=Jy});var w5e,k5e,fn,nc,Ci=N(()=>{"use strict";pt();w5e=o(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),k5e=o(function(t,e,r){let n=new Map;return r?(n.set("width","100%"),n.set("style",`max-width: ${e}px;`)):(n.set("height",t),n.set("width",e)),n},"calculateSvgSizeAttrs"),fn=o(function(t,e,r,n){let i=k5e(e,r,n);w5e(t,i)},"configureSvgSize"),nc=o(function(t,e,r,n){let i=e.node().getBBox(),a=i.width,s=i.height;X.info(`SVG bounds: ${a}x${s}`,i);let l=0,u=0;X.info(`Graph bounds: ${l}x${u}`,t),l=a+r*2,u=s+r*2,X.info(`Calculated bounds: ${l}x${u}`),fn(e,u,l,n);let h=`${i.x-r} ${i.y-r} ${i.width+2*r} ${i.height+2*r}`;e.attr("viewBox",h)},"setupGraphViewbox")});var F3,E5e,BV,FV,CA=N(()=>{"use strict";pt();F3={},E5e=o((t,e,r)=>{let n="";return t in F3&&F3[t]?n=F3[t](r):X.warn(`No theme found for ${t}`),` & { font-family: ${r.fontFamily}; font-size: ${r.fontSize}; fill: ${r.textColor} @@ -346,49 +346,49 @@ Expecting `+ft.join(", ")+", got '"+(this.terminals_[Ue]||Ue)+"'":vt="Parse erro ${n} ${e} -`},"getStyles"),RV=o((t,e)=>{e!==void 0&&(O3[t]=e)},"addStylesForDiagram"),NV=x5e});var Jy={};hr(Jy,{clear:()=>wr,getAccDescription:()=>Lr,getAccTitle:()=>_r,getDiagramTitle:()=>Rr,setAccDescription:()=>Dr,setAccTitle:()=>Cr,setDiagramTitle:()=>Ir});var xA,bA,TA,wA,wr,Cr,_r,Dr,Lr,Ir,Rr,ci=N(()=>{"use strict";dr();Jn();xA="",bA="",TA="",wA=o(t=>ar(t,Qt()),"sanitizeText"),wr=o(()=>{xA="",TA="",bA=""},"clear"),Cr=o(t=>{xA=wA(t).replace(/^\s+/g,"")},"setAccTitle"),_r=o(()=>xA,"getAccTitle"),Dr=o(t=>{TA=wA(t).replace(/\n\s+/g,` -`)},"setAccDescription"),Lr=o(()=>TA,"getAccDescription"),Ir=o(t=>{bA=wA(t)},"setDiagramTitle"),Rr=o(()=>bA,"getDiagramTitle")});var MV,b5e,ge,ev,B3,tv,EA,T5e,P3,sd,rv,kA,qt=N(()=>{"use strict";ad();yt();Jn();dr();yi();vA();ci();MV=X,b5e=Cy,ge=Qt,ev=J4,B3=uh,tv=o(t=>ar(t,ge()),"sanitizeText"),EA=_o,T5e=o(()=>Jy,"getCommonDb"),P3={},sd=o((t,e,r)=>{P3[t]&&MV.warn(`Diagram with id ${t} already registered. Overwriting.`),P3[t]=e,r&&gA(t,r),RV(t,e.styles),e.injectUtils?.(MV,b5e,ge,tv,EA,T5e(),()=>{})},"registerDiagram"),rv=o(t=>{if(t in P3)return P3[t];throw new kA(t)},"getDiagram"),kA=class extends Error{static{o(this,"DiagramNotFoundError")}constructor(e){super(`Diagram ${e} not found.`)}}});var dl,vh,es,fl,nc,nv,SA,CA,F3,$3,IV,w5e,k5e,E5e,S5e,C5e,A5e,_5e,D5e,L5e,R5e,N5e,M5e,I5e,O5e,P5e,B5e,F5e,OV,$5e,z5e,PV,G5e,V5e,U5e,H5e,xh,W5e,q5e,Y5e,X5e,j5e,iv,AA=N(()=>{"use strict";qt();dr();ci();dl=[],vh=[""],es="global",fl="",nc=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],nv=[],SA="",CA=!1,F3=4,$3=2,w5e=o(function(){return IV},"getC4Type"),k5e=o(function(t){IV=ar(t,ge())},"setC4Type"),E5e=o(function(t,e,r,n,i,a,s,l,u){if(t==null||e===void 0||e===null||r===void 0||r===null||n===void 0||n===null)return;let h={},f=nv.find(d=>d.from===e&&d.to===r);if(f?h=f:nv.push(h),h.type=t,h.from=e,h.to=r,h.label={text:n},i==null)h.techn={text:""};else if(typeof i=="object"){let[d,p]=Object.entries(i)[0];h[d]={text:p}}else h.techn={text:i};if(a==null)h.descr={text:""};else if(typeof a=="object"){let[d,p]=Object.entries(a)[0];h[d]={text:p}}else h.descr={text:a};if(typeof s=="object"){let[d,p]=Object.entries(s)[0];h[d]=p}else h.sprite=s;if(typeof l=="object"){let[d,p]=Object.entries(l)[0];h[d]=p}else h.tags=l;if(typeof u=="object"){let[d,p]=Object.entries(u)[0];h[d]=p}else h.link=u;h.wrap=xh()},"addRel"),S5e=o(function(t,e,r,n,i,a,s){if(e===null||r===null)return;let l={},u=dl.find(h=>h.alias===e);if(u&&e===u.alias?l=u:(l.alias=e,dl.push(l)),r==null?l.label={text:""}:l.label={text:r},n==null)l.descr={text:""};else if(typeof n=="object"){let[h,f]=Object.entries(n)[0];l[h]={text:f}}else l.descr={text:n};if(typeof i=="object"){let[h,f]=Object.entries(i)[0];l[h]=f}else l.sprite=i;if(typeof a=="object"){let[h,f]=Object.entries(a)[0];l[h]=f}else l.tags=a;if(typeof s=="object"){let[h,f]=Object.entries(s)[0];l[h]=f}else l.link=s;l.typeC4Shape={text:t},l.parentBoundary=es,l.wrap=xh()},"addPersonOrSystem"),C5e=o(function(t,e,r,n,i,a,s,l){if(e===null||r===null)return;let u={},h=dl.find(f=>f.alias===e);if(h&&e===h.alias?u=h:(u.alias=e,dl.push(u)),r==null?u.label={text:""}:u.label={text:r},n==null)u.techn={text:""};else if(typeof n=="object"){let[f,d]=Object.entries(n)[0];u[f]={text:d}}else u.techn={text:n};if(i==null)u.descr={text:""};else if(typeof i=="object"){let[f,d]=Object.entries(i)[0];u[f]={text:d}}else u.descr={text:i};if(typeof a=="object"){let[f,d]=Object.entries(a)[0];u[f]=d}else u.sprite=a;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];u[f]=d}else u.tags=s;if(typeof l=="object"){let[f,d]=Object.entries(l)[0];u[f]=d}else u.link=l;u.wrap=xh(),u.typeC4Shape={text:t},u.parentBoundary=es},"addContainer"),A5e=o(function(t,e,r,n,i,a,s,l){if(e===null||r===null)return;let u={},h=dl.find(f=>f.alias===e);if(h&&e===h.alias?u=h:(u.alias=e,dl.push(u)),r==null?u.label={text:""}:u.label={text:r},n==null)u.techn={text:""};else if(typeof n=="object"){let[f,d]=Object.entries(n)[0];u[f]={text:d}}else u.techn={text:n};if(i==null)u.descr={text:""};else if(typeof i=="object"){let[f,d]=Object.entries(i)[0];u[f]={text:d}}else u.descr={text:i};if(typeof a=="object"){let[f,d]=Object.entries(a)[0];u[f]=d}else u.sprite=a;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];u[f]=d}else u.tags=s;if(typeof l=="object"){let[f,d]=Object.entries(l)[0];u[f]=d}else u.link=l;u.wrap=xh(),u.typeC4Shape={text:t},u.parentBoundary=es},"addComponent"),_5e=o(function(t,e,r,n,i){if(t===null||e===null)return;let a={},s=nc.find(l=>l.alias===t);if(s&&t===s.alias?a=s:(a.alias=t,nc.push(a)),e==null?a.label={text:""}:a.label={text:e},r==null)a.type={text:"system"};else if(typeof r=="object"){let[l,u]=Object.entries(r)[0];a[l]={text:u}}else a.type={text:r};if(typeof n=="object"){let[l,u]=Object.entries(n)[0];a[l]=u}else a.tags=n;if(typeof i=="object"){let[l,u]=Object.entries(i)[0];a[l]=u}else a.link=i;a.parentBoundary=es,a.wrap=xh(),fl=es,es=t,vh.push(fl)},"addPersonOrSystemBoundary"),D5e=o(function(t,e,r,n,i){if(t===null||e===null)return;let a={},s=nc.find(l=>l.alias===t);if(s&&t===s.alias?a=s:(a.alias=t,nc.push(a)),e==null?a.label={text:""}:a.label={text:e},r==null)a.type={text:"container"};else if(typeof r=="object"){let[l,u]=Object.entries(r)[0];a[l]={text:u}}else a.type={text:r};if(typeof n=="object"){let[l,u]=Object.entries(n)[0];a[l]=u}else a.tags=n;if(typeof i=="object"){let[l,u]=Object.entries(i)[0];a[l]=u}else a.link=i;a.parentBoundary=es,a.wrap=xh(),fl=es,es=t,vh.push(fl)},"addContainerBoundary"),L5e=o(function(t,e,r,n,i,a,s,l){if(e===null||r===null)return;let u={},h=nc.find(f=>f.alias===e);if(h&&e===h.alias?u=h:(u.alias=e,nc.push(u)),r==null?u.label={text:""}:u.label={text:r},n==null)u.type={text:"node"};else if(typeof n=="object"){let[f,d]=Object.entries(n)[0];u[f]={text:d}}else u.type={text:n};if(i==null)u.descr={text:""};else if(typeof i=="object"){let[f,d]=Object.entries(i)[0];u[f]={text:d}}else u.descr={text:i};if(typeof s=="object"){let[f,d]=Object.entries(s)[0];u[f]=d}else u.tags=s;if(typeof l=="object"){let[f,d]=Object.entries(l)[0];u[f]=d}else u.link=l;u.nodeType=t,u.parentBoundary=es,u.wrap=xh(),fl=es,es=e,vh.push(fl)},"addDeploymentNode"),R5e=o(function(){es=fl,vh.pop(),fl=vh.pop(),vh.push(fl)},"popBoundaryParseStack"),N5e=o(function(t,e,r,n,i,a,s,l,u,h,f){let d=dl.find(p=>p.alias===e);if(!(d===void 0&&(d=nc.find(p=>p.alias===e),d===void 0))){if(r!=null)if(typeof r=="object"){let[p,m]=Object.entries(r)[0];d[p]=m}else d.bgColor=r;if(n!=null)if(typeof n=="object"){let[p,m]=Object.entries(n)[0];d[p]=m}else d.fontColor=n;if(i!=null)if(typeof i=="object"){let[p,m]=Object.entries(i)[0];d[p]=m}else d.borderColor=i;if(a!=null)if(typeof a=="object"){let[p,m]=Object.entries(a)[0];d[p]=m}else d.shadowing=a;if(s!=null)if(typeof s=="object"){let[p,m]=Object.entries(s)[0];d[p]=m}else d.shape=s;if(l!=null)if(typeof l=="object"){let[p,m]=Object.entries(l)[0];d[p]=m}else d.sprite=l;if(u!=null)if(typeof u=="object"){let[p,m]=Object.entries(u)[0];d[p]=m}else d.techn=u;if(h!=null)if(typeof h=="object"){let[p,m]=Object.entries(h)[0];d[p]=m}else d.legendText=h;if(f!=null)if(typeof f=="object"){let[p,m]=Object.entries(f)[0];d[p]=m}else d.legendSprite=f}},"updateElStyle"),M5e=o(function(t,e,r,n,i,a,s){let l=nv.find(u=>u.from===e&&u.to===r);if(l!==void 0){if(n!=null)if(typeof n=="object"){let[u,h]=Object.entries(n)[0];l[u]=h}else l.textColor=n;if(i!=null)if(typeof i=="object"){let[u,h]=Object.entries(i)[0];l[u]=h}else l.lineColor=i;if(a!=null)if(typeof a=="object"){let[u,h]=Object.entries(a)[0];l[u]=parseInt(h)}else l.offsetX=parseInt(a);if(s!=null)if(typeof s=="object"){let[u,h]=Object.entries(s)[0];l[u]=parseInt(h)}else l.offsetY=parseInt(s)}},"updateRelStyle"),I5e=o(function(t,e,r){let n=F3,i=$3;if(typeof e=="object"){let a=Object.values(e)[0];n=parseInt(a)}else n=parseInt(e);if(typeof r=="object"){let a=Object.values(r)[0];i=parseInt(a)}else i=parseInt(r);n>=1&&(F3=n),i>=1&&($3=i)},"updateLayoutConfig"),O5e=o(function(){return F3},"getC4ShapeInRow"),P5e=o(function(){return $3},"getC4BoundaryInRow"),B5e=o(function(){return es},"getCurrentBoundaryParse"),F5e=o(function(){return fl},"getParentBoundaryParse"),OV=o(function(t){return t==null?dl:dl.filter(e=>e.parentBoundary===t)},"getC4ShapeArray"),$5e=o(function(t){return dl.find(e=>e.alias===t)},"getC4Shape"),z5e=o(function(t){return Object.keys(OV(t))},"getC4ShapeKeys"),PV=o(function(t){return t==null?nc:nc.filter(e=>e.parentBoundary===t)},"getBoundaries"),G5e=PV,V5e=o(function(){return nv},"getRels"),U5e=o(function(){return SA},"getTitle"),H5e=o(function(t){CA=t},"setWrap"),xh=o(function(){return CA},"autoWrap"),W5e=o(function(){dl=[],nc=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],fl="",es="global",vh=[""],nv=[],vh=[""],SA="",CA=!1,F3=4,$3=2},"clear"),q5e={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},Y5e={FILLED:0,OPEN:1},X5e={LEFTOF:0,RIGHTOF:1,OVER:2},j5e=o(function(t){SA=ar(t,ge())},"setTitle"),iv={addPersonOrSystem:S5e,addPersonOrSystemBoundary:_5e,addContainer:C5e,addContainerBoundary:D5e,addComponent:A5e,addDeploymentNode:L5e,popBoundaryParseStack:R5e,addRel:E5e,updateElStyle:N5e,updateRelStyle:M5e,updateLayoutConfig:I5e,autoWrap:xh,setWrap:H5e,getC4ShapeArray:OV,getC4Shape:$5e,getC4ShapeKeys:z5e,getBoundaries:PV,getBoundarys:G5e,getCurrentBoundaryParse:B5e,getParentBoundaryParse:F5e,getRels:V5e,getTitle:U5e,getC4Type:w5e,getC4ShapeInRow:O5e,getC4BoundaryInRow:P5e,setAccTitle:Cr,getAccTitle:_r,getAccDescription:Lr,setAccDescription:Dr,getConfig:o(()=>ge().c4,"getConfig"),clear:W5e,LINETYPE:q5e,ARROWTYPE:Y5e,PLACEMENT:X5e,setTitle:j5e,setC4Type:k5e}});function od(t,e){return t==null||e==null?NaN:te?1:t>=e?0:NaN}var _A=N(()=>{"use strict";o(od,"ascending")});function DA(t,e){return t==null||e==null?NaN:et?1:e>=t?0:NaN}var BV=N(()=>{"use strict";o(DA,"descending")});function ld(t){let e,r,n;t.length!==2?(e=od,r=o((l,u)=>od(t(l),u),"compare2"),n=o((l,u)=>t(l)-u,"delta")):(e=t===od||t===DA?t:K5e,r=t,n=t);function i(l,u,h=0,f=l.length){if(h>>1;r(l[d],u)<0?h=d+1:f=d}while(h>>1;r(l[d],u)<=0?h=d+1:f=d}while(hh&&n(l[d-1],u)>-n(l[d],u)?d-1:d}return o(s,"center"),{left:i,center:s,right:a}}function K5e(){return 0}var LA=N(()=>{"use strict";_A();BV();o(ld,"bisector");o(K5e,"zero")});function RA(t){return t===null?NaN:+t}var FV=N(()=>{"use strict";o(RA,"number")});var $V,zV,Q5e,Z5e,NA,GV=N(()=>{"use strict";_A();LA();FV();$V=ld(od),zV=$V.right,Q5e=$V.left,Z5e=ld(RA).center,NA=zV});function VV({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):r}function J5e({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}function eTe({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}function tTe(t){return t!==null&&typeof t=="object"?t.valueOf():t}var T0,UV=N(()=>{"use strict";T0=class extends Map{static{o(this,"InternMap")}constructor(e,r=tTe){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),e!=null)for(let[n,i]of e)this.set(n,i)}get(e){return super.get(VV(this,e))}has(e){return super.has(VV(this,e))}set(e,r){return super.set(J5e(this,e),r)}delete(e){return super.delete(eTe(this,e))}};o(VV,"intern_get");o(J5e,"intern_set");o(eTe,"intern_delete");o(tTe,"keyof")});function z3(t,e,r){let n=(e-t)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),s=a>=rTe?10:a>=nTe?5:a>=iTe?2:1,l,u,h;return i<0?(h=Math.pow(10,-i)/s,l=Math.round(t*h),u=Math.round(e*h),l/he&&--u,h=-h):(h=Math.pow(10,i)*s,l=Math.round(t/h),u=Math.round(e/h),l*he&&--u),u0))return[];if(t===e)return[t];let n=e=i))return[];let l=a-i+1,u=new Array(l);if(n)if(s<0)for(let h=0;h{"use strict";rTe=Math.sqrt(50),nTe=Math.sqrt(10),iTe=Math.sqrt(2);o(z3,"tickSpec");o(G3,"ticks");o(av,"tickIncrement");o(w0,"tickStep")});function V3(t,e){let r;if(e===void 0)for(let n of t)n!=null&&(r=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r=i)&&(r=i)}return r}var WV=N(()=>{"use strict";o(V3,"max")});function U3(t,e){let r;if(e===void 0)for(let n of t)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}return r}var qV=N(()=>{"use strict";o(U3,"min")});function H3(t,e,r){t=+t,e=+e,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((e-t)/r))|0,a=new Array(i);++n{"use strict";o(H3,"range")});var bh=N(()=>{"use strict";GV();LA();WV();qV();YV();HV();UV()});function MA(t){return t}var XV=N(()=>{"use strict";o(MA,"default")});function aTe(t){return"translate("+t+",0)"}function sTe(t){return"translate(0,"+t+")"}function oTe(t){return e=>+t(e)}function lTe(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function cTe(){return!this.__axis}function KV(t,e){var r=[],n=null,i=null,a=6,s=6,l=3,u=typeof window<"u"&&window.devicePixelRatio>1?0:.5,h=t===q3||t===W3?-1:1,f=t===W3||t===IA?"x":"y",d=t===q3||t===OA?aTe:sTe;function p(m){var g=n??(e.ticks?e.ticks.apply(e,r):e.domain()),y=i??(e.tickFormat?e.tickFormat.apply(e,r):MA),v=Math.max(a,0)+l,x=e.range(),b=+x[0]+u,T=+x[x.length-1]+u,C=(e.bandwidth?lTe:oTe)(e.copy(),u),w=m.selection?m.selection():m,E=w.selectAll(".domain").data([null]),_=w.selectAll(".tick").data(g,e).order(),A=_.exit(),D=_.enter().append("g").attr("class","tick"),O=_.select("line"),R=_.select("text");E=E.merge(E.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),_=_.merge(D),O=O.merge(D.append("line").attr("stroke","currentColor").attr(f+"2",h*a)),R=R.merge(D.append("text").attr("fill","currentColor").attr(f,h*v).attr("dy",t===q3?"0em":t===OA?"0.71em":"0.32em")),m!==w&&(E=E.transition(m),_=_.transition(m),O=O.transition(m),R=R.transition(m),A=A.transition(m).attr("opacity",jV).attr("transform",function(k){return isFinite(k=C(k))?d(k+u):this.getAttribute("transform")}),D.attr("opacity",jV).attr("transform",function(k){var L=this.parentNode.__axis;return d((L&&isFinite(L=L(k))?L:C(k))+u)})),A.remove(),E.attr("d",t===W3||t===IA?s?"M"+h*s+","+b+"H"+u+"V"+T+"H"+h*s:"M"+u+","+b+"V"+T:s?"M"+b+","+h*s+"V"+u+"H"+T+"V"+h*s:"M"+b+","+u+"H"+T),_.attr("opacity",1).attr("transform",function(k){return d(C(k)+u)}),O.attr(f+"2",h*a),R.attr(f,h*v).text(y),w.filter(cTe).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===IA?"start":t===W3?"end":"middle"),w.each(function(){this.__axis=C})}return o(p,"axis"),p.scale=function(m){return arguments.length?(e=m,p):e},p.ticks=function(){return r=Array.from(arguments),p},p.tickArguments=function(m){return arguments.length?(r=m==null?[]:Array.from(m),p):r.slice()},p.tickValues=function(m){return arguments.length?(n=m==null?null:Array.from(m),p):n&&n.slice()},p.tickFormat=function(m){return arguments.length?(i=m,p):i},p.tickSize=function(m){return arguments.length?(a=s=+m,p):a},p.tickSizeInner=function(m){return arguments.length?(a=+m,p):a},p.tickSizeOuter=function(m){return arguments.length?(s=+m,p):s},p.tickPadding=function(m){return arguments.length?(l=+m,p):l},p.offset=function(m){return arguments.length?(u=+m,p):u},p}function PA(t){return KV(q3,t)}function BA(t){return KV(OA,t)}var q3,IA,OA,W3,jV,QV=N(()=>{"use strict";XV();q3=1,IA=2,OA=3,W3=4,jV=1e-6;o(aTe,"translateX");o(sTe,"translateY");o(oTe,"number");o(lTe,"center");o(cTe,"entering");o(KV,"axis");o(PA,"axisTop");o(BA,"axisBottom")});var ZV=N(()=>{"use strict";QV()});function eU(){for(var t=0,e=arguments.length,r={},n;t=0&&(n=r.slice(i+1),r=r.slice(0,i)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:n}})}function fTe(t,e){for(var r=0,n=t.length,i;r{"use strict";uTe={value:o(()=>{},"value")};o(eU,"dispatch");o(Y3,"Dispatch");o(hTe,"parseTypenames");Y3.prototype=eU.prototype={constructor:Y3,on:o(function(t,e){var r=this._,n=hTe(t+"",r),i,a=-1,s=n.length;if(arguments.length<2){for(;++a0)for(var r=new Array(i),n=0,i,a;n{"use strict";tU()});var X3,zA,GA=N(()=>{"use strict";X3="http://www.w3.org/1999/xhtml",zA={svg:"http://www.w3.org/2000/svg",xhtml:X3,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}});function ic(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),zA.hasOwnProperty(e)?{space:zA[e],local:t}:t}var j3=N(()=>{"use strict";GA();o(ic,"default")});function dTe(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===X3&&e.documentElement.namespaceURI===X3?e.createElement(t):e.createElementNS(r,t)}}function pTe(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function sv(t){var e=ic(t);return(e.local?pTe:dTe)(e)}var VA=N(()=>{"use strict";j3();GA();o(dTe,"creatorInherit");o(pTe,"creatorFixed");o(sv,"default")});function mTe(){}function Th(t){return t==null?mTe:function(){return this.querySelector(t)}}var K3=N(()=>{"use strict";o(mTe,"none");o(Th,"default")});function UA(t){typeof t!="function"&&(t=Th(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i{"use strict";pl();K3();o(UA,"default")});function HA(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}var nU=N(()=>{"use strict";o(HA,"array")});function gTe(){return[]}function k0(t){return t==null?gTe:function(){return this.querySelectorAll(t)}}var WA=N(()=>{"use strict";o(gTe,"empty");o(k0,"default")});function yTe(t){return function(){return HA(t.apply(this,arguments))}}function qA(t){typeof t=="function"?t=yTe(t):t=k0(t);for(var e=this._groups,r=e.length,n=[],i=[],a=0;a{"use strict";pl();nU();WA();o(yTe,"arrayAll");o(qA,"default")});function E0(t){return function(){return this.matches(t)}}function Q3(t){return function(e){return e.matches(t)}}var ov=N(()=>{"use strict";o(E0,"default");o(Q3,"childMatcher")});function xTe(t){return function(){return vTe.call(this.children,t)}}function bTe(){return this.firstElementChild}function YA(t){return this.select(t==null?bTe:xTe(typeof t=="function"?t:Q3(t)))}var vTe,aU=N(()=>{"use strict";ov();vTe=Array.prototype.find;o(xTe,"childFind");o(bTe,"childFirst");o(YA,"default")});function wTe(){return Array.from(this.children)}function kTe(t){return function(){return TTe.call(this.children,t)}}function XA(t){return this.selectAll(t==null?wTe:kTe(typeof t=="function"?t:Q3(t)))}var TTe,sU=N(()=>{"use strict";ov();TTe=Array.prototype.filter;o(wTe,"children");o(kTe,"childrenFilter");o(XA,"default")});function jA(t){typeof t!="function"&&(t=E0(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i{"use strict";pl();ov();o(jA,"default")});function lv(t){return new Array(t.length)}var KA=N(()=>{"use strict";o(lv,"default")});function QA(){return new ui(this._enter||this._groups.map(lv),this._parents)}function cv(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}var ZA=N(()=>{"use strict";KA();pl();o(QA,"default");o(cv,"EnterNode");cv.prototype={constructor:cv,appendChild:o(function(t){return this._parent.insertBefore(t,this._next)},"appendChild"),insertBefore:o(function(t,e){return this._parent.insertBefore(t,e)},"insertBefore"),querySelector:o(function(t){return this._parent.querySelector(t)},"querySelector"),querySelectorAll:o(function(t){return this._parent.querySelectorAll(t)},"querySelectorAll")}});function JA(t){return function(){return t}}var lU=N(()=>{"use strict";o(JA,"default")});function ETe(t,e,r,n,i,a){for(var s=0,l,u=e.length,h=a.length;s=T&&(T=b+1);!(w=v[T])&&++T{"use strict";pl();ZA();lU();o(ETe,"bindIndex");o(STe,"bindKey");o(CTe,"datum");o(e8,"default");o(ATe,"arraylike")});function t8(){return new ui(this._exit||this._groups.map(lv),this._parents)}var uU=N(()=>{"use strict";KA();pl();o(t8,"default")});function r8(t,e,r){var n=this.enter(),i=this,a=this.exit();return typeof t=="function"?(n=t(n),n&&(n=n.selection())):n=n.append(t+""),e!=null&&(i=e(i),i&&(i=i.selection())),r==null?a.remove():r(a),n&&i?n.merge(i).order():i}var hU=N(()=>{"use strict";o(r8,"default")});function n8(t){for(var e=t.selection?t.selection():t,r=this._groups,n=e._groups,i=r.length,a=n.length,s=Math.min(i,a),l=new Array(i),u=0;u{"use strict";pl();o(n8,"default")});function i8(){for(var t=this._groups,e=-1,r=t.length;++e=0;)(s=n[i])&&(a&&s.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(s,a),a=s);return this}var dU=N(()=>{"use strict";o(i8,"default")});function a8(t){t||(t=_Te);function e(d,p){return d&&p?t(d.__data__,p.__data__):!d-!p}o(e,"compareNode");for(var r=this._groups,n=r.length,i=new Array(n),a=0;ae?1:t>=e?0:NaN}var pU=N(()=>{"use strict";pl();o(a8,"default");o(_Te,"ascending")});function s8(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}var mU=N(()=>{"use strict";o(s8,"default")});function o8(){return Array.from(this)}var gU=N(()=>{"use strict";o(o8,"default")});function l8(){for(var t=this._groups,e=0,r=t.length;e{"use strict";o(l8,"default")});function c8(){let t=0;for(let e of this)++t;return t}var vU=N(()=>{"use strict";o(c8,"default")});function u8(){return!this.node()}var xU=N(()=>{"use strict";o(u8,"default")});function h8(t){for(var e=this._groups,r=0,n=e.length;r{"use strict";o(h8,"default")});function DTe(t){return function(){this.removeAttribute(t)}}function LTe(t){return function(){this.removeAttributeNS(t.space,t.local)}}function RTe(t,e){return function(){this.setAttribute(t,e)}}function NTe(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function MTe(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function ITe(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function f8(t,e){var r=ic(t);if(arguments.length<2){var n=this.node();return r.local?n.getAttributeNS(r.space,r.local):n.getAttribute(r)}return this.each((e==null?r.local?LTe:DTe:typeof e=="function"?r.local?ITe:MTe:r.local?NTe:RTe)(r,e))}var TU=N(()=>{"use strict";j3();o(DTe,"attrRemove");o(LTe,"attrRemoveNS");o(RTe,"attrConstant");o(NTe,"attrConstantNS");o(MTe,"attrFunction");o(ITe,"attrFunctionNS");o(f8,"default")});function uv(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}var d8=N(()=>{"use strict";o(uv,"default")});function OTe(t){return function(){this.style.removeProperty(t)}}function PTe(t,e,r){return function(){this.style.setProperty(t,e,r)}}function BTe(t,e,r){return function(){var n=e.apply(this,arguments);n==null?this.style.removeProperty(t):this.style.setProperty(t,n,r)}}function p8(t,e,r){return arguments.length>1?this.each((e==null?OTe:typeof e=="function"?BTe:PTe)(t,e,r??"")):wh(this.node(),t)}function wh(t,e){return t.style.getPropertyValue(e)||uv(t).getComputedStyle(t,null).getPropertyValue(e)}var m8=N(()=>{"use strict";d8();o(OTe,"styleRemove");o(PTe,"styleConstant");o(BTe,"styleFunction");o(p8,"default");o(wh,"styleValue")});function FTe(t){return function(){delete this[t]}}function $Te(t,e){return function(){this[t]=e}}function zTe(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function g8(t,e){return arguments.length>1?this.each((e==null?FTe:typeof e=="function"?zTe:$Te)(t,e)):this.node()[t]}var wU=N(()=>{"use strict";o(FTe,"propertyRemove");o($Te,"propertyConstant");o(zTe,"propertyFunction");o(g8,"default")});function kU(t){return t.trim().split(/^|\s+/)}function y8(t){return t.classList||new EU(t)}function EU(t){this._node=t,this._names=kU(t.getAttribute("class")||"")}function SU(t,e){for(var r=y8(t),n=-1,i=e.length;++n{"use strict";o(kU,"classArray");o(y8,"classList");o(EU,"ClassList");EU.prototype={add:o(function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},"add"),remove:o(function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},"remove"),contains:o(function(t){return this._names.indexOf(t)>=0},"contains")};o(SU,"classedAdd");o(CU,"classedRemove");o(GTe,"classedTrue");o(VTe,"classedFalse");o(UTe,"classedFunction");o(v8,"default")});function HTe(){this.textContent=""}function WTe(t){return function(){this.textContent=t}}function qTe(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function x8(t){return arguments.length?this.each(t==null?HTe:(typeof t=="function"?qTe:WTe)(t)):this.node().textContent}var _U=N(()=>{"use strict";o(HTe,"textRemove");o(WTe,"textConstant");o(qTe,"textFunction");o(x8,"default")});function YTe(){this.innerHTML=""}function XTe(t){return function(){this.innerHTML=t}}function jTe(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function b8(t){return arguments.length?this.each(t==null?YTe:(typeof t=="function"?jTe:XTe)(t)):this.node().innerHTML}var DU=N(()=>{"use strict";o(YTe,"htmlRemove");o(XTe,"htmlConstant");o(jTe,"htmlFunction");o(b8,"default")});function KTe(){this.nextSibling&&this.parentNode.appendChild(this)}function T8(){return this.each(KTe)}var LU=N(()=>{"use strict";o(KTe,"raise");o(T8,"default")});function QTe(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function w8(){return this.each(QTe)}var RU=N(()=>{"use strict";o(QTe,"lower");o(w8,"default")});function k8(t){var e=typeof t=="function"?t:sv(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}var NU=N(()=>{"use strict";VA();o(k8,"default")});function ZTe(){return null}function E8(t,e){var r=typeof t=="function"?t:sv(t),n=e==null?ZTe:typeof e=="function"?e:Th(e);return this.select(function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)})}var MU=N(()=>{"use strict";VA();K3();o(ZTe,"constantNull");o(E8,"default")});function JTe(){var t=this.parentNode;t&&t.removeChild(this)}function S8(){return this.each(JTe)}var IU=N(()=>{"use strict";o(JTe,"remove");o(S8,"default")});function ewe(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function twe(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function C8(t){return this.select(t?twe:ewe)}var OU=N(()=>{"use strict";o(ewe,"selection_cloneShallow");o(twe,"selection_cloneDeep");o(C8,"default")});function A8(t){return arguments.length?this.property("__data__",t):this.node().__data__}var PU=N(()=>{"use strict";o(A8,"default")});function rwe(t){return function(e){t.call(this,e,this.__data__)}}function nwe(t){return t.trim().split(/^|\s+/).map(function(e){var r="",n=e.indexOf(".");return n>=0&&(r=e.slice(n+1),e=e.slice(0,n)),{type:e,name:r}})}function iwe(t){return function(){var e=this.__on;if(e){for(var r=0,n=-1,i=e.length,a;r{"use strict";o(rwe,"contextListener");o(nwe,"parseTypenames");o(iwe,"onRemove");o(awe,"onAdd");o(_8,"default")});function FU(t,e,r){var n=uv(t),i=n.CustomEvent;typeof i=="function"?i=new i(e,r):(i=n.document.createEvent("Event"),r?(i.initEvent(e,r.bubbles,r.cancelable),i.detail=r.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function swe(t,e){return function(){return FU(this,t,e)}}function owe(t,e){return function(){return FU(this,t,e.apply(this,arguments))}}function D8(t,e){return this.each((typeof e=="function"?owe:swe)(t,e))}var $U=N(()=>{"use strict";d8();o(FU,"dispatchEvent");o(swe,"dispatchConstant");o(owe,"dispatchFunction");o(D8,"default")});function*L8(){for(var t=this._groups,e=0,r=t.length;e{"use strict";o(L8,"default")});function ui(t,e){this._groups=t,this._parents=e}function GU(){return new ui([[document.documentElement]],R8)}function lwe(){return this}var R8,pu,pl=N(()=>{"use strict";rU();iU();aU();sU();oU();cU();ZA();uU();hU();fU();dU();pU();mU();gU();yU();vU();xU();bU();TU();m8();wU();AU();_U();DU();LU();RU();NU();MU();IU();OU();PU();BU();$U();zU();R8=[null];o(ui,"Selection");o(GU,"selection");o(lwe,"selection_selection");ui.prototype=GU.prototype={constructor:ui,select:UA,selectAll:qA,selectChild:YA,selectChildren:XA,filter:jA,data:e8,enter:QA,exit:t8,join:r8,merge:n8,selection:lwe,order:i8,sort:a8,call:s8,nodes:o8,node:l8,size:c8,empty:u8,each:h8,attr:f8,style:p8,property:g8,classed:v8,text:x8,html:b8,raise:T8,lower:w8,append:k8,insert:E8,remove:S8,clone:C8,datum:A8,on:_8,dispatch:D8,[Symbol.iterator]:L8};pu=GU});function Ge(t){return typeof t=="string"?new ui([[document.querySelector(t)]],[document.documentElement]):new ui([[t]],R8)}var VU=N(()=>{"use strict";pl();o(Ge,"default")});var ml=N(()=>{"use strict";ov();j3();VU();pl();K3();WA();m8()});var UU=N(()=>{"use strict"});function kh(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function S0(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}var N8=N(()=>{"use strict";o(kh,"default");o(S0,"extend")});function Eh(){}function WU(){return this.rgb().formatHex()}function gwe(){return this.rgb().formatHex8()}function ywe(){return ZU(this).formatHsl()}function qU(){return this.rgb().formatRgb()}function yl(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=cwe.exec(t))?(r=e[1].length,e=parseInt(e[1],16),r===6?YU(e):r===3?new oa(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):r===8?Z3(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):r===4?Z3(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=uwe.exec(t))?new oa(e[1],e[2],e[3],1):(e=hwe.exec(t))?new oa(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=fwe.exec(t))?Z3(e[1],e[2],e[3],e[4]):(e=dwe.exec(t))?Z3(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=pwe.exec(t))?KU(e[1],e[2]/100,e[3]/100,1):(e=mwe.exec(t))?KU(e[1],e[2]/100,e[3]/100,e[4]):HU.hasOwnProperty(t)?YU(HU[t]):t==="transparent"?new oa(NaN,NaN,NaN,0):null}function YU(t){return new oa(t>>16&255,t>>8&255,t&255,1)}function Z3(t,e,r,n){return n<=0&&(t=e=r=NaN),new oa(t,e,r,n)}function I8(t){return t instanceof Eh||(t=yl(t)),t?(t=t.rgb(),new oa(t.r,t.g,t.b,t.opacity)):new oa}function A0(t,e,r,n){return arguments.length===1?I8(t):new oa(t,e,r,n??1)}function oa(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function XU(){return`#${cd(this.r)}${cd(this.g)}${cd(this.b)}`}function vwe(){return`#${cd(this.r)}${cd(this.g)}${cd(this.b)}${cd((isNaN(this.opacity)?1:this.opacity)*255)}`}function jU(){let t=t5(this.opacity);return`${t===1?"rgb(":"rgba("}${ud(this.r)}, ${ud(this.g)}, ${ud(this.b)}${t===1?")":`, ${t})`}`}function t5(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ud(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function cd(t){return t=ud(t),(t<16?"0":"")+t.toString(16)}function KU(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new gl(t,e,r,n)}function ZU(t){if(t instanceof gl)return new gl(t.h,t.s,t.l,t.opacity);if(t instanceof Eh||(t=yl(t)),!t)return new gl;if(t instanceof gl)return t;t=t.rgb();var e=t.r/255,r=t.g/255,n=t.b/255,i=Math.min(e,r,n),a=Math.max(e,r,n),s=NaN,l=a-i,u=(a+i)/2;return l?(e===a?s=(r-n)/l+(r0&&u<1?0:s,new gl(s,l,u,t.opacity)}function JU(t,e,r,n){return arguments.length===1?ZU(t):new gl(t,e,r,n??1)}function gl(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function QU(t){return t=(t||0)%360,t<0?t+360:t}function J3(t){return Math.max(0,Math.min(1,t||0))}function M8(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}var hv,e5,C0,fv,ac,cwe,uwe,hwe,fwe,dwe,pwe,mwe,HU,O8=N(()=>{"use strict";N8();o(Eh,"Color");hv=.7,e5=1/hv,C0="\\s*([+-]?\\d+)\\s*",fv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ac="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",cwe=/^#([0-9a-f]{3,8})$/,uwe=new RegExp(`^rgb\\(${C0},${C0},${C0}\\)$`),hwe=new RegExp(`^rgb\\(${ac},${ac},${ac}\\)$`),fwe=new RegExp(`^rgba\\(${C0},${C0},${C0},${fv}\\)$`),dwe=new RegExp(`^rgba\\(${ac},${ac},${ac},${fv}\\)$`),pwe=new RegExp(`^hsl\\(${fv},${ac},${ac}\\)$`),mwe=new RegExp(`^hsla\\(${fv},${ac},${ac},${fv}\\)$`),HU={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};kh(Eh,yl,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:WU,formatHex:WU,formatHex8:gwe,formatHsl:ywe,formatRgb:qU,toString:qU});o(WU,"color_formatHex");o(gwe,"color_formatHex8");o(ywe,"color_formatHsl");o(qU,"color_formatRgb");o(yl,"color");o(YU,"rgbn");o(Z3,"rgba");o(I8,"rgbConvert");o(A0,"rgb");o(oa,"Rgb");kh(oa,A0,S0(Eh,{brighter(t){return t=t==null?e5:Math.pow(e5,t),new oa(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?hv:Math.pow(hv,t),new oa(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new oa(ud(this.r),ud(this.g),ud(this.b),t5(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:XU,formatHex:XU,formatHex8:vwe,formatRgb:jU,toString:jU}));o(XU,"rgb_formatHex");o(vwe,"rgb_formatHex8");o(jU,"rgb_formatRgb");o(t5,"clampa");o(ud,"clampi");o(cd,"hex");o(KU,"hsla");o(ZU,"hslConvert");o(JU,"hsl");o(gl,"Hsl");kh(gl,JU,S0(Eh,{brighter(t){return t=t==null?e5:Math.pow(e5,t),new gl(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?hv:Math.pow(hv,t),new gl(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new oa(M8(t>=240?t-240:t+120,i,n),M8(t,i,n),M8(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new gl(QU(this.h),J3(this.s),J3(this.l),t5(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=t5(this.opacity);return`${t===1?"hsl(":"hsla("}${QU(this.h)}, ${J3(this.s)*100}%, ${J3(this.l)*100}%${t===1?")":`, ${t})`}`}}));o(QU,"clamph");o(J3,"clampt");o(M8,"hsl2rgb")});var eH,tH,rH=N(()=>{"use strict";eH=Math.PI/180,tH=180/Math.PI});function lH(t){if(t instanceof sc)return new sc(t.l,t.a,t.b,t.opacity);if(t instanceof mu)return cH(t);t instanceof oa||(t=I8(t));var e=$8(t.r),r=$8(t.g),n=$8(t.b),i=P8((.2225045*e+.7168786*r+.0606169*n)/iH),a,s;return e===r&&r===n?a=s=i:(a=P8((.4360747*e+.3850649*r+.1430804*n)/nH),s=P8((.0139322*e+.0971045*r+.7141733*n)/aH)),new sc(116*i-16,500*(a-i),200*(i-s),t.opacity)}function z8(t,e,r,n){return arguments.length===1?lH(t):new sc(t,e,r,n??1)}function sc(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}function P8(t){return t>xwe?Math.pow(t,1/3):t/oH+sH}function B8(t){return t>_0?t*t*t:oH*(t-sH)}function F8(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function $8(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function bwe(t){if(t instanceof mu)return new mu(t.h,t.c,t.l,t.opacity);if(t instanceof sc||(t=lH(t)),t.a===0&&t.b===0)return new mu(NaN,0{"use strict";N8();O8();rH();r5=18,nH=.96422,iH=1,aH=.82521,sH=4/29,_0=6/29,oH=3*_0*_0,xwe=_0*_0*_0;o(lH,"labConvert");o(z8,"lab");o(sc,"Lab");kh(sc,z8,S0(Eh,{brighter(t){return new sc(this.l+r5*(t??1),this.a,this.b,this.opacity)},darker(t){return new sc(this.l-r5*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=nH*B8(e),t=iH*B8(t),r=aH*B8(r),new oa(F8(3.1338561*e-1.6168667*t-.4906146*r),F8(-.9787684*e+1.9161415*t+.033454*r),F8(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}}));o(P8,"xyz2lab");o(B8,"lab2xyz");o(F8,"lrgb2rgb");o($8,"rgb2lrgb");o(bwe,"hclConvert");o(dv,"hcl");o(mu,"Hcl");o(cH,"hcl2lab");kh(mu,dv,S0(Eh,{brighter(t){return new mu(this.h,this.c,this.l+r5*(t??1),this.opacity)},darker(t){return new mu(this.h,this.c,this.l-r5*(t??1),this.opacity)},rgb(){return cH(this).rgb()}}))});var D0=N(()=>{"use strict";O8();uH()});function G8(t,e,r,n,i){var a=t*t,s=a*t;return((1-3*t+3*a-s)*e+(4-6*a+3*s)*r+(1+3*t+3*a-3*s)*n+s*i)/6}function V8(t){var e=t.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),i=t[n],a=t[n+1],s=n>0?t[n-1]:2*i-a,l=n{"use strict";o(G8,"basis");o(V8,"default")});function H8(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),i=t[(n+e-1)%e],a=t[n%e],s=t[(n+1)%e],l=t[(n+2)%e];return G8((r-n/e)*e,i,a,s,l)}}var hH=N(()=>{"use strict";U8();o(H8,"default")});var L0,W8=N(()=>{"use strict";L0=o(t=>()=>t,"default")});function fH(t,e){return function(r){return t+r*e}}function Twe(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}function dH(t,e){var r=e-t;return r?fH(t,r>180||r<-180?r-360*Math.round(r/360):r):L0(isNaN(t)?e:t)}function pH(t){return(t=+t)==1?gu:function(e,r){return r-e?Twe(e,r,t):L0(isNaN(e)?r:e)}}function gu(t,e){var r=e-t;return r?fH(t,r):L0(isNaN(t)?e:t)}var q8=N(()=>{"use strict";W8();o(fH,"linear");o(Twe,"exponential");o(dH,"hue");o(pH,"gamma");o(gu,"nogamma")});function mH(t){return function(e){var r=e.length,n=new Array(r),i=new Array(r),a=new Array(r),s,l;for(s=0;s{"use strict";D0();U8();hH();q8();hd=o(function t(e){var r=pH(e);function n(i,a){var s=r((i=A0(i)).r,(a=A0(a)).r),l=r(i.g,a.g),u=r(i.b,a.b),h=gu(i.opacity,a.opacity);return function(f){return i.r=s(f),i.g=l(f),i.b=u(f),i.opacity=h(f),i+""}}return o(n,"rgb"),n.gamma=t,n},"rgbGamma")(1);o(mH,"rgbSpline");wwe=mH(V8),kwe=mH(H8)});function X8(t,e){e||(e=[]);var r=t?Math.min(e.length,t.length):0,n=e.slice(),i;return function(a){for(i=0;i{"use strict";o(X8,"default");o(gH,"isNumberArray")});function vH(t,e){var r=e?e.length:0,n=t?Math.min(r,t.length):0,i=new Array(n),a=new Array(r),s;for(s=0;s{"use strict";n5();o(vH,"genericArray")});function j8(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}var bH=N(()=>{"use strict";o(j8,"default")});function Xi(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var pv=N(()=>{"use strict";o(Xi,"default")});function K8(t,e){var r={},n={},i;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(i in e)i in t?r[i]=Sh(t[i],e[i]):n[i]=e[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var TH=N(()=>{"use strict";n5();o(K8,"default")});function Ewe(t){return function(){return t}}function Swe(t){return function(e){return t(e)+""}}function R0(t,e){var r=Z8.lastIndex=Q8.lastIndex=0,n,i,a,s=-1,l=[],u=[];for(t=t+"",e=e+"";(n=Z8.exec(t))&&(i=Q8.exec(e));)(a=i.index)>r&&(a=e.slice(r,a),l[s]?l[s]+=a:l[++s]=a),(n=n[0])===(i=i[0])?l[s]?l[s]+=i:l[++s]=i:(l[++s]=null,u.push({i:s,x:Xi(n,i)})),r=Q8.lastIndex;return r{"use strict";pv();Z8=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Q8=new RegExp(Z8.source,"g");o(Ewe,"zero");o(Swe,"one");o(R0,"default")});function Sh(t,e){var r=typeof e,n;return e==null||r==="boolean"?L0(e):(r==="number"?Xi:r==="string"?(n=yl(e))?(e=n,hd):R0:e instanceof yl?hd:e instanceof Date?j8:gH(e)?X8:Array.isArray(e)?vH:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?K8:Xi)(t,e)}var n5=N(()=>{"use strict";D0();Y8();xH();bH();pv();TH();J8();W8();yH();o(Sh,"default")});function i5(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}var wH=N(()=>{"use strict";o(i5,"default")});function s5(t,e,r,n,i,a){var s,l,u;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(u=t*r+e*n)&&(r-=t*u,n-=e*u),(l=Math.sqrt(r*r+n*n))&&(r/=l,n/=l,u/=l),t*n{"use strict";kH=180/Math.PI,a5={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};o(s5,"default")});function SH(t){let e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?a5:s5(e.a,e.b,e.c,e.d,e.e,e.f)}function CH(t){return t==null?a5:(o5||(o5=document.createElementNS("http://www.w3.org/2000/svg","g")),o5.setAttribute("transform",t),(t=o5.transform.baseVal.consolidate())?(t=t.matrix,s5(t.a,t.b,t.c,t.d,t.e,t.f)):a5)}var o5,AH=N(()=>{"use strict";EH();o(SH,"parseCss");o(CH,"parseSvg")});function _H(t,e,r,n){function i(h){return h.length?h.pop()+" ":""}o(i,"pop");function a(h,f,d,p,m,g){if(h!==d||f!==p){var y=m.push("translate(",null,e,null,r);g.push({i:y-4,x:Xi(h,d)},{i:y-2,x:Xi(f,p)})}else(d||p)&&m.push("translate("+d+e+p+r)}o(a,"translate");function s(h,f,d,p){h!==f?(h-f>180?f+=360:f-h>180&&(h+=360),p.push({i:d.push(i(d)+"rotate(",null,n)-2,x:Xi(h,f)})):f&&d.push(i(d)+"rotate("+f+n)}o(s,"rotate");function l(h,f,d,p){h!==f?p.push({i:d.push(i(d)+"skewX(",null,n)-2,x:Xi(h,f)}):f&&d.push(i(d)+"skewX("+f+n)}o(l,"skewX");function u(h,f,d,p,m,g){if(h!==d||f!==p){var y=m.push(i(m)+"scale(",null,",",null,")");g.push({i:y-4,x:Xi(h,d)},{i:y-2,x:Xi(f,p)})}else(d!==1||p!==1)&&m.push(i(m)+"scale("+d+","+p+")")}return o(u,"scale"),function(h,f){var d=[],p=[];return h=t(h),f=t(f),a(h.translateX,h.translateY,f.translateX,f.translateY,d,p),s(h.rotate,f.rotate,d,p),l(h.skewX,f.skewX,d,p),u(h.scaleX,h.scaleY,f.scaleX,f.scaleY,d,p),h=f=null,function(m){for(var g=-1,y=p.length,v;++g{"use strict";pv();AH();o(_H,"interpolateTransform");e_=_H(SH,"px, ","px)","deg)"),t_=_H(CH,", ",")",")")});function LH(t){return function(e,r){var n=t((e=dv(e)).h,(r=dv(r)).h),i=gu(e.c,r.c),a=gu(e.l,r.l),s=gu(e.opacity,r.opacity);return function(l){return e.h=n(l),e.c=i(l),e.l=a(l),e.opacity=s(l),e+""}}}var r_,Cwe,RH=N(()=>{"use strict";D0();q8();o(LH,"hcl");r_=LH(dH),Cwe=LH(gu)});var N0=N(()=>{"use strict";n5();pv();wH();J8();DH();Y8();RH()});function bv(){return fd||(IH(Awe),fd=vv.now()+u5)}function Awe(){fd=0}function xv(){this._call=this._time=this._next=null}function h5(t,e,r){var n=new xv;return n.restart(t,e,r),n}function OH(){bv(),++M0;for(var t=l5,e;t;)(e=fd-t._time)>=0&&t._call.call(void 0,e),t=t._next;--M0}function NH(){fd=(c5=vv.now())+u5,M0=gv=0;try{OH()}finally{M0=0,Dwe(),fd=0}}function _we(){var t=vv.now(),e=t-c5;e>MH&&(u5-=e,c5=t)}function Dwe(){for(var t,e=l5,r,n=1/0;e;)e._call?(n>e._time&&(n=e._time),t=e,e=e._next):(r=e._next,e._next=null,e=t?t._next=r:l5=r);yv=t,n_(n)}function n_(t){if(!M0){gv&&(gv=clearTimeout(gv));var e=t-fd;e>24?(t<1/0&&(gv=setTimeout(NH,t-vv.now()-u5)),mv&&(mv=clearInterval(mv))):(mv||(c5=vv.now(),mv=setInterval(_we,MH)),M0=1,IH(NH))}}var M0,gv,mv,MH,l5,yv,c5,fd,u5,vv,IH,i_=N(()=>{"use strict";M0=0,gv=0,mv=0,MH=1e3,c5=0,fd=0,u5=0,vv=typeof performance=="object"&&performance.now?performance:Date,IH=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};o(bv,"now");o(Awe,"clearNow");o(xv,"Timer");xv.prototype=h5.prototype={constructor:xv,restart:o(function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?bv():+r)+(e==null?0:+e),!this._next&&yv!==this&&(yv?yv._next=this:l5=this,yv=this),this._call=t,this._time=r,n_()},"restart"),stop:o(function(){this._call&&(this._call=null,this._time=1/0,n_())},"stop")};o(h5,"timer");o(OH,"timerFlush");o(NH,"wake");o(_we,"poke");o(Dwe,"nap");o(n_,"sleep")});function Tv(t,e,r){var n=new xv;return e=e==null?0:+e,n.restart(i=>{n.stop(),t(i+e)},e,r),n}var PH=N(()=>{"use strict";i_();o(Tv,"default")});var f5=N(()=>{"use strict";i_();PH()});function yu(t,e,r,n,i,a){var s=t.__transition;if(!s)t.__transition={};else if(r in s)return;Nwe(t,r,{name:e,index:n,group:i,on:Lwe,tween:Rwe,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:$H})}function kv(t,e){var r=Fi(t,e);if(r.state>$H)throw new Error("too late; already scheduled");return r}function la(t,e){var r=Fi(t,e);if(r.state>d5)throw new Error("too late; already running");return r}function Fi(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function Nwe(t,e,r){var n=t.__transition,i;n[e]=r,r.timer=h5(a,0,r.time);function a(h){r.state=BH,r.timer.restart(s,r.delay,r.time),r.delay<=h&&s(h-r.delay)}o(a,"schedule");function s(h){var f,d,p,m;if(r.state!==BH)return u();for(f in n)if(m=n[f],m.name===r.name){if(m.state===d5)return Tv(s);m.state===FH?(m.state=wv,m.timer.stop(),m.on.call("interrupt",t,t.__data__,m.index,m.group),delete n[f]):+f{"use strict";$A();f5();Lwe=FA("start","end","cancel","interrupt"),Rwe=[],$H=0,BH=1,p5=2,d5=3,FH=4,m5=5,wv=6;o(yu,"default");o(kv,"init");o(la,"set");o(Fi,"get");o(Nwe,"create")});function Ev(t,e){var r=t.__transition,n,i,a=!0,s;if(r){e=e==null?null:e+"";for(s in r){if((n=r[s]).name!==e){a=!1;continue}i=n.state>p5&&n.state{"use strict";Ss();o(Ev,"default")});function a_(t){return this.each(function(){Ev(this,t)})}var GH=N(()=>{"use strict";zH();o(a_,"default")});function Mwe(t,e){var r,n;return function(){var i=la(this,t),a=i.tween;if(a!==r){n=r=a;for(var s=0,l=n.length;s{"use strict";Ss();o(Mwe,"tweenRemove");o(Iwe,"tweenFunction");o(s_,"default");o(I0,"tweenValue")});function Cv(t,e){var r;return(typeof e=="number"?Xi:e instanceof yl?hd:(r=yl(e))?(e=r,hd):R0)(t,e)}var o_=N(()=>{"use strict";D0();N0();o(Cv,"default")});function Owe(t){return function(){this.removeAttribute(t)}}function Pwe(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Bwe(t,e,r){var n,i=r+"",a;return function(){var s=this.getAttribute(t);return s===i?null:s===n?a:a=e(n=s,r)}}function Fwe(t,e,r){var n,i=r+"",a;return function(){var s=this.getAttributeNS(t.space,t.local);return s===i?null:s===n?a:a=e(n=s,r)}}function $we(t,e,r){var n,i,a;return function(){var s,l=r(this),u;return l==null?void this.removeAttribute(t):(s=this.getAttribute(t),u=l+"",s===u?null:s===n&&u===i?a:(i=u,a=e(n=s,l)))}}function zwe(t,e,r){var n,i,a;return function(){var s,l=r(this),u;return l==null?void this.removeAttributeNS(t.space,t.local):(s=this.getAttributeNS(t.space,t.local),u=l+"",s===u?null:s===n&&u===i?a:(i=u,a=e(n=s,l)))}}function l_(t,e){var r=ic(t),n=r==="transform"?t_:Cv;return this.attrTween(t,typeof e=="function"?(r.local?zwe:$we)(r,n,I0(this,"attr."+t,e)):e==null?(r.local?Pwe:Owe)(r):(r.local?Fwe:Bwe)(r,n,e))}var VH=N(()=>{"use strict";N0();ml();Sv();o_();o(Owe,"attrRemove");o(Pwe,"attrRemoveNS");o(Bwe,"attrConstant");o(Fwe,"attrConstantNS");o($we,"attrFunction");o(zwe,"attrFunctionNS");o(l_,"default")});function Gwe(t,e){return function(r){this.setAttribute(t,e.call(this,r))}}function Vwe(t,e){return function(r){this.setAttributeNS(t.space,t.local,e.call(this,r))}}function Uwe(t,e){var r,n;function i(){var a=e.apply(this,arguments);return a!==n&&(r=(n=a)&&Vwe(t,a)),r}return o(i,"tween"),i._value=e,i}function Hwe(t,e){var r,n;function i(){var a=e.apply(this,arguments);return a!==n&&(r=(n=a)&&Gwe(t,a)),r}return o(i,"tween"),i._value=e,i}function c_(t,e){var r="attr."+t;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;var n=ic(t);return this.tween(r,(n.local?Uwe:Hwe)(n,e))}var UH=N(()=>{"use strict";ml();o(Gwe,"attrInterpolate");o(Vwe,"attrInterpolateNS");o(Uwe,"attrTweenNS");o(Hwe,"attrTween");o(c_,"default")});function Wwe(t,e){return function(){kv(this,t).delay=+e.apply(this,arguments)}}function qwe(t,e){return e=+e,function(){kv(this,t).delay=e}}function u_(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Wwe:qwe)(e,t)):Fi(this.node(),e).delay}var HH=N(()=>{"use strict";Ss();o(Wwe,"delayFunction");o(qwe,"delayConstant");o(u_,"default")});function Ywe(t,e){return function(){la(this,t).duration=+e.apply(this,arguments)}}function Xwe(t,e){return e=+e,function(){la(this,t).duration=e}}function h_(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Ywe:Xwe)(e,t)):Fi(this.node(),e).duration}var WH=N(()=>{"use strict";Ss();o(Ywe,"durationFunction");o(Xwe,"durationConstant");o(h_,"default")});function jwe(t,e){if(typeof e!="function")throw new Error;return function(){la(this,t).ease=e}}function f_(t){var e=this._id;return arguments.length?this.each(jwe(e,t)):Fi(this.node(),e).ease}var qH=N(()=>{"use strict";Ss();o(jwe,"easeConstant");o(f_,"default")});function Kwe(t,e){return function(){var r=e.apply(this,arguments);if(typeof r!="function")throw new Error;la(this,t).ease=r}}function d_(t){if(typeof t!="function")throw new Error;return this.each(Kwe(this._id,t))}var YH=N(()=>{"use strict";Ss();o(Kwe,"easeVarying");o(d_,"default")});function p_(t){typeof t!="function"&&(t=E0(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i{"use strict";ml();dd();o(p_,"default")});function m_(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,r=t._groups,n=e.length,i=r.length,a=Math.min(n,i),s=new Array(n),l=0;l{"use strict";dd();o(m_,"default")});function Qwe(t){return(t+"").trim().split(/^|\s+/).every(function(e){var r=e.indexOf(".");return r>=0&&(e=e.slice(0,r)),!e||e==="start"})}function Zwe(t,e,r){var n,i,a=Qwe(e)?kv:la;return function(){var s=a(this,t),l=s.on;l!==n&&(i=(n=l).copy()).on(e,r),s.on=i}}function g_(t,e){var r=this._id;return arguments.length<2?Fi(this.node(),r).on.on(t):this.each(Zwe(r,t,e))}var KH=N(()=>{"use strict";Ss();o(Qwe,"start");o(Zwe,"onFunction");o(g_,"default")});function Jwe(t){return function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}}function y_(){return this.on("end.remove",Jwe(this._id))}var QH=N(()=>{"use strict";o(Jwe,"removeFunction");o(y_,"default")});function v_(t){var e=this._name,r=this._id;typeof t!="function"&&(t=Th(t));for(var n=this._groups,i=n.length,a=new Array(i),s=0;s{"use strict";ml();dd();Ss();o(v_,"default")});function x_(t){var e=this._name,r=this._id;typeof t!="function"&&(t=k0(t));for(var n=this._groups,i=n.length,a=[],s=[],l=0;l{"use strict";ml();dd();Ss();o(x_,"default")});function b_(){return new eke(this._groups,this._parents)}var eke,eW=N(()=>{"use strict";ml();eke=pu.prototype.constructor;o(b_,"default")});function tke(t,e){var r,n,i;return function(){var a=wh(this,t),s=(this.style.removeProperty(t),wh(this,t));return a===s?null:a===r&&s===n?i:i=e(r=a,n=s)}}function tW(t){return function(){this.style.removeProperty(t)}}function rke(t,e,r){var n,i=r+"",a;return function(){var s=wh(this,t);return s===i?null:s===n?a:a=e(n=s,r)}}function nke(t,e,r){var n,i,a;return function(){var s=wh(this,t),l=r(this),u=l+"";return l==null&&(u=l=(this.style.removeProperty(t),wh(this,t))),s===u?null:s===n&&u===i?a:(i=u,a=e(n=s,l))}}function ike(t,e){var r,n,i,a="style."+e,s="end."+a,l;return function(){var u=la(this,t),h=u.on,f=u.value[a]==null?l||(l=tW(e)):void 0;(h!==r||i!==f)&&(n=(r=h).copy()).on(s,i=f),u.on=n}}function T_(t,e,r){var n=(t+="")=="transform"?e_:Cv;return e==null?this.styleTween(t,tke(t,n)).on("end.style."+t,tW(t)):typeof e=="function"?this.styleTween(t,nke(t,n,I0(this,"style."+t,e))).each(ike(this._id,t)):this.styleTween(t,rke(t,n,e),r).on("end.style."+t,null)}var rW=N(()=>{"use strict";N0();ml();Ss();Sv();o_();o(tke,"styleNull");o(tW,"styleRemove");o(rke,"styleConstant");o(nke,"styleFunction");o(ike,"styleMaybeRemove");o(T_,"default")});function ake(t,e,r){return function(n){this.style.setProperty(t,e.call(this,n),r)}}function ske(t,e,r){var n,i;function a(){var s=e.apply(this,arguments);return s!==i&&(n=(i=s)&&ake(t,s,r)),n}return o(a,"tween"),a._value=e,a}function w_(t,e,r){var n="style."+(t+="");if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;return this.tween(n,ske(t,e,r??""))}var nW=N(()=>{"use strict";o(ake,"styleInterpolate");o(ske,"styleTween");o(w_,"default")});function oke(t){return function(){this.textContent=t}}function lke(t){return function(){var e=t(this);this.textContent=e??""}}function k_(t){return this.tween("text",typeof t=="function"?lke(I0(this,"text",t)):oke(t==null?"":t+""))}var iW=N(()=>{"use strict";Sv();o(oke,"textConstant");o(lke,"textFunction");o(k_,"default")});function cke(t){return function(e){this.textContent=t.call(this,e)}}function uke(t){var e,r;function n(){var i=t.apply(this,arguments);return i!==r&&(e=(r=i)&&cke(i)),e}return o(n,"tween"),n._value=t,n}function E_(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,uke(t))}var aW=N(()=>{"use strict";o(cke,"textInterpolate");o(uke,"textTween");o(E_,"default")});function S_(){for(var t=this._name,e=this._id,r=g5(),n=this._groups,i=n.length,a=0;a{"use strict";dd();Ss();o(S_,"default")});function C_(){var t,e,r=this,n=r._id,i=r.size();return new Promise(function(a,s){var l={value:s},u={value:o(function(){--i===0&&a()},"value")};r.each(function(){var h=la(this,n),f=h.on;f!==t&&(e=(t=f).copy(),e._.cancel.push(l),e._.interrupt.push(l),e._.end.push(u)),h.on=e}),i===0&&a()})}var oW=N(()=>{"use strict";Ss();o(C_,"default")});function ts(t,e,r,n){this._groups=t,this._parents=e,this._name=r,this._id=n}function lW(t){return pu().transition(t)}function g5(){return++hke}var hke,vu,dd=N(()=>{"use strict";ml();VH();UH();HH();WH();qH();YH();XH();jH();KH();QH();ZH();JH();eW();rW();nW();iW();aW();sW();Sv();oW();hke=0;o(ts,"Transition");o(lW,"transition");o(g5,"newId");vu=pu.prototype;ts.prototype=lW.prototype={constructor:ts,select:v_,selectAll:x_,selectChild:vu.selectChild,selectChildren:vu.selectChildren,filter:p_,merge:m_,selection:b_,transition:S_,call:vu.call,nodes:vu.nodes,node:vu.node,size:vu.size,empty:vu.empty,each:vu.each,on:g_,attr:l_,attrTween:c_,style:T_,styleTween:w_,text:k_,textTween:E_,remove:y_,tween:s_,delay:u_,duration:h_,ease:f_,easeVarying:d_,end:C_,[Symbol.iterator]:vu[Symbol.iterator]}});function y5(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var cW=N(()=>{"use strict";o(y5,"cubicInOut")});var A_=N(()=>{"use strict";cW()});function dke(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return r}function __(t){var e,r;t instanceof ts?(e=t._id,t=t._name):(e=g5(),(r=fke).time=bv(),t=t==null?null:t+"");for(var n=this._groups,i=n.length,a=0;a{"use strict";dd();Ss();A_();f5();fke={time:null,delay:0,duration:250,ease:y5};o(dke,"inherit");o(__,"default")});var hW=N(()=>{"use strict";ml();GH();uW();pu.prototype.interrupt=a_;pu.prototype.transition=__});var v5=N(()=>{"use strict";hW()});var fW=N(()=>{"use strict"});var dW=N(()=>{"use strict"});var pW=N(()=>{"use strict"});function mW(t){return[+t[0],+t[1]]}function pke(t){return[mW(t[0]),mW(t[1])]}function D_(t){return{type:t}}var ugt,hgt,fgt,dgt,pgt,mgt,gW=N(()=>{"use strict";v5();fW();dW();pW();({abs:ugt,max:hgt,min:fgt}=Math);o(mW,"number1");o(pke,"number2");dgt={name:"x",handles:["w","e"].map(D_),input:o(function(t,e){return t==null?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},"input"),output:o(function(t){return t&&[t[0][0],t[1][0]]},"output")},pgt={name:"y",handles:["n","s"].map(D_),input:o(function(t,e){return t==null?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},"input"),output:o(function(t){return t&&[t[0][1],t[1][1]]},"output")},mgt={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(D_),input:o(function(t){return t==null?null:pke(t)},"input"),output:o(function(t){return t},"output")};o(D_,"type")});var yW=N(()=>{"use strict";gW()});function vW(t){this._+=t[0];for(let e=1,r=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return vW;let r=10**e;return function(n){this._+=n[0];for(let i=1,a=n.length;i{"use strict";L_=Math.PI,R_=2*L_,pd=1e-6,mke=R_-pd;o(vW,"append");o(gke,"appendRound");md=class{static{o(this,"Path")}constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?vW:gke(e)}moveTo(e,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,r){this._append`L${this._x1=+e},${this._y1=+r}`}quadraticCurveTo(e,r,n,i){this._append`Q${+e},${+r},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(e,r,n,i,a,s){this._append`C${+e},${+r},${+n},${+i},${this._x1=+a},${this._y1=+s}`}arcTo(e,r,n,i,a){if(e=+e,r=+r,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let s=this._x1,l=this._y1,u=n-e,h=i-r,f=s-e,d=l-r,p=f*f+d*d;if(this._x1===null)this._append`M${this._x1=e},${this._y1=r}`;else if(p>pd)if(!(Math.abs(d*u-h*f)>pd)||!a)this._append`L${this._x1=e},${this._y1=r}`;else{let m=n-s,g=i-l,y=u*u+h*h,v=m*m+g*g,x=Math.sqrt(y),b=Math.sqrt(p),T=a*Math.tan((L_-Math.acos((y+p-v)/(2*x*b)))/2),C=T/b,w=T/x;Math.abs(C-1)>pd&&this._append`L${e+C*f},${r+C*d}`,this._append`A${a},${a},0,0,${+(d*m>f*g)},${this._x1=e+w*u},${this._y1=r+w*h}`}}arc(e,r,n,i,a,s){if(e=+e,r=+r,n=+n,s=!!s,n<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(i),u=n*Math.sin(i),h=e+l,f=r+u,d=1^s,p=s?i-a:a-i;this._x1===null?this._append`M${h},${f}`:(Math.abs(this._x1-h)>pd||Math.abs(this._y1-f)>pd)&&this._append`L${h},${f}`,n&&(p<0&&(p=p%R_+R_),p>mke?this._append`A${n},${n},0,1,${d},${e-l},${r-u}A${n},${n},0,1,${d},${this._x1=h},${this._y1=f}`:p>pd&&this._append`A${n},${n},0,${+(p>=L_)},${d},${this._x1=e+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(e,r,n,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}};o(xW,"path");xW.prototype=md.prototype});var N_=N(()=>{"use strict";bW()});var TW=N(()=>{"use strict"});var wW=N(()=>{"use strict"});var kW=N(()=>{"use strict"});var EW=N(()=>{"use strict"});var SW=N(()=>{"use strict"});var CW=N(()=>{"use strict"});var AW=N(()=>{"use strict"});function M_(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function gd(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}var Av=N(()=>{"use strict";o(M_,"default");o(gd,"formatDecimalParts")});function vl(t){return t=gd(Math.abs(t)),t?t[1]:NaN}var _v=N(()=>{"use strict";Av();o(vl,"default")});function I_(t,e){return function(r,n){for(var i=r.length,a=[],s=0,l=t[0],u=0;i>0&&l>0&&(u+l+1>n&&(l=Math.max(1,n-u)),a.push(r.substring(i-=l,i+l)),!((u+=l+1)>n));)l=t[s=(s+1)%t.length];return a.reverse().join(e)}}var _W=N(()=>{"use strict";o(I_,"default")});function O_(t){return function(e){return e.replace(/[0-9]/g,function(r){return t[+r]})}}var DW=N(()=>{"use strict";o(O_,"default")});function Ch(t){if(!(e=yke.exec(t)))throw new Error("invalid format: "+t);var e;return new x5({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function x5(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}var yke,P_=N(()=>{"use strict";yke=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;o(Ch,"formatSpecifier");Ch.prototype=x5.prototype;o(x5,"FormatSpecifier");x5.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type}});function B_(t){e:for(var e=t.length,r=1,n=-1,i;r0&&(n=0);break}return n>0?t.slice(0,n)+t.slice(i+1):t}var LW=N(()=>{"use strict";o(B_,"default")});function $_(t,e){var r=gd(t,e);if(!r)return t+"";var n=r[0],i=r[1],a=i-(F_=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=n.length;return a===s?n:a>s?n+new Array(a-s+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+gd(t,Math.max(0,e+a-1))[0]}var F_,z_=N(()=>{"use strict";Av();o($_,"default")});function b5(t,e){var r=gd(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}var RW=N(()=>{"use strict";Av();o(b5,"default")});var G_,NW=N(()=>{"use strict";Av();z_();RW();G_={"%":o((t,e)=>(t*100).toFixed(e),"%"),b:o(t=>Math.round(t).toString(2),"b"),c:o(t=>t+"","c"),d:M_,e:o((t,e)=>t.toExponential(e),"e"),f:o((t,e)=>t.toFixed(e),"f"),g:o((t,e)=>t.toPrecision(e),"g"),o:o(t=>Math.round(t).toString(8),"o"),p:o((t,e)=>b5(t*100,e),"p"),r:b5,s:$_,X:o(t=>Math.round(t).toString(16).toUpperCase(),"X"),x:o(t=>Math.round(t).toString(16),"x")}});function T5(t){return t}var MW=N(()=>{"use strict";o(T5,"default")});function V_(t){var e=t.grouping===void 0||t.thousands===void 0?T5:I_(IW.call(t.grouping,Number),t.thousands+""),r=t.currency===void 0?"":t.currency[0]+"",n=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",a=t.numerals===void 0?T5:O_(IW.call(t.numerals,String)),s=t.percent===void 0?"%":t.percent+"",l=t.minus===void 0?"\u2212":t.minus+"",u=t.nan===void 0?"NaN":t.nan+"";function h(d){d=Ch(d);var p=d.fill,m=d.align,g=d.sign,y=d.symbol,v=d.zero,x=d.width,b=d.comma,T=d.precision,C=d.trim,w=d.type;w==="n"?(b=!0,w="g"):G_[w]||(T===void 0&&(T=12),C=!0,w="g"),(v||p==="0"&&m==="=")&&(v=!0,p="0",m="=");var E=y==="$"?r:y==="#"&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",_=y==="$"?n:/[%p]/.test(w)?s:"",A=G_[w],D=/[defgprs%]/.test(w);T=T===void 0?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,T)):Math.max(0,Math.min(20,T));function O(R){var k=E,L=_,S,I,M;if(w==="c")L=A(R)+L,R="";else{R=+R;var P=R<0||1/R<0;if(R=isNaN(R)?u:A(Math.abs(R),T),C&&(R=B_(R)),P&&+R==0&&g!=="+"&&(P=!1),k=(P?g==="("?g:l:g==="-"||g==="("?"":g)+k,L=(w==="s"?OW[8+F_/3]:"")+L+(P&&g==="("?")":""),D){for(S=-1,I=R.length;++SM||M>57){L=(M===46?i+R.slice(S+1):R.slice(S))+L,R=R.slice(0,S);break}}}b&&!v&&(R=e(R,1/0));var B=k.length+R.length+L.length,F=B>1)+k+R+L+F.slice(B);break;default:R=F+k+R+L;break}return a(R)}return o(O,"format"),O.toString=function(){return d+""},O}o(h,"newFormat");function f(d,p){var m=h((d=Ch(d),d.type="f",d)),g=Math.max(-8,Math.min(8,Math.floor(vl(p)/3)))*3,y=Math.pow(10,-g),v=OW[8+g/3];return function(x){return m(y*x)+v}}return o(f,"formatPrefix"),{format:h,formatPrefix:f}}var IW,OW,PW=N(()=>{"use strict";_v();_W();DW();P_();LW();NW();z_();MW();IW=Array.prototype.map,OW=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];o(V_,"default")});function U_(t){return w5=V_(t),oc=w5.format,k5=w5.formatPrefix,w5}var w5,oc,k5,BW=N(()=>{"use strict";PW();U_({thousands:",",grouping:[3],currency:["$",""]});o(U_,"defaultLocale")});function E5(t){return Math.max(0,-vl(Math.abs(t)))}var FW=N(()=>{"use strict";_v();o(E5,"default")});function S5(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(vl(e)/3)))*3-vl(Math.abs(t)))}var $W=N(()=>{"use strict";_v();o(S5,"default")});function C5(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,vl(e)-vl(t))+1}var zW=N(()=>{"use strict";_v();o(C5,"default")});var H_=N(()=>{"use strict";BW();P_();FW();$W();zW()});var GW=N(()=>{"use strict"});function vke(t){var e=0,r=t.children,n=r&&r.length;if(!n)e=1;else for(;--n>=0;)e+=r[n].value;t.value=e}function W_(){return this.eachAfter(vke)}var VW=N(()=>{"use strict";o(vke,"count");o(W_,"default")});function q_(t,e){let r=-1;for(let n of this)t.call(e,n,++r,this);return this}var UW=N(()=>{"use strict";o(q_,"default")});function Y_(t,e){for(var r=this,n=[r],i,a,s=-1;r=n.pop();)if(t.call(e,r,++s,this),i=r.children)for(a=i.length-1;a>=0;--a)n.push(i[a]);return this}var HW=N(()=>{"use strict";o(Y_,"default")});function X_(t,e){for(var r=this,n=[r],i=[],a,s,l,u=-1;r=n.pop();)if(i.push(r),a=r.children)for(s=0,l=a.length;s{"use strict";o(X_,"default")});function j_(t,e){let r=-1;for(let n of this)if(t.call(e,n,++r,this))return n}var qW=N(()=>{"use strict";o(j_,"default")});function K_(t){return this.eachAfter(function(e){for(var r=+t(e.data)||0,n=e.children,i=n&&n.length;--i>=0;)r+=n[i].value;e.value=r})}var YW=N(()=>{"use strict";o(K_,"default")});function Q_(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}var XW=N(()=>{"use strict";o(Q_,"default")});function Z_(t){for(var e=this,r=xke(e,t),n=[e];e!==r;)e=e.parent,n.push(e);for(var i=n.length;t!==r;)n.splice(i,0,t),t=t.parent;return n}function xke(t,e){if(t===e)return t;var r=t.ancestors(),n=e.ancestors(),i=null;for(t=r.pop(),e=n.pop();t===e;)i=t,t=r.pop(),e=n.pop();return i}var jW=N(()=>{"use strict";o(Z_,"default");o(xke,"leastCommonAncestor")});function J_(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}var KW=N(()=>{"use strict";o(J_,"default")});function eD(){return Array.from(this)}var QW=N(()=>{"use strict";o(eD,"default")});function tD(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}var ZW=N(()=>{"use strict";o(tD,"default")});function rD(){var t=this,e=[];return t.each(function(r){r!==t&&e.push({source:r.parent,target:r})}),e}var JW=N(()=>{"use strict";o(rD,"default")});function*nD(){var t=this,e,r=[t],n,i,a;do for(e=r.reverse(),r=[];t=e.pop();)if(yield t,n=t.children)for(i=0,a=n.length;i{"use strict";o(nD,"default")});function O0(t,e){t instanceof Map?(t=[void 0,t],e===void 0&&(e=wke)):e===void 0&&(e=Tke);for(var r=new Dv(t),n,i=[r],a,s,l,u;n=i.pop();)if((s=e(n.data))&&(u=(s=Array.from(s)).length))for(n.children=s,l=u-1;l>=0;--l)i.push(a=s[l]=new Dv(s[l])),a.parent=n,a.depth=n.depth+1;return r.eachBefore(Eke)}function bke(){return O0(this).eachBefore(kke)}function Tke(t){return t.children}function wke(t){return Array.isArray(t)?t[1]:null}function kke(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function Eke(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function Dv(t){this.data=t,this.depth=this.height=0,this.parent=null}var tq=N(()=>{"use strict";VW();UW();HW();WW();qW();YW();XW();jW();KW();QW();ZW();JW();eq();o(O0,"hierarchy");o(bke,"node_copy");o(Tke,"objectChildren");o(wke,"mapChildren");o(kke,"copyData");o(Eke,"computeHeight");o(Dv,"Node");Dv.prototype=O0.prototype={constructor:Dv,count:W_,each:q_,eachAfter:X_,eachBefore:Y_,find:j_,sum:K_,sort:Q_,path:Z_,ancestors:J_,descendants:eD,leaves:tD,links:rD,copy:bke,[Symbol.iterator]:nD}});function rq(t){if(typeof t!="function")throw new Error;return t}var nq=N(()=>{"use strict";o(rq,"required")});function P0(){return 0}function yd(t){return function(){return t}}var iq=N(()=>{"use strict";o(P0,"constantZero");o(yd,"default")});function iD(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}var aq=N(()=>{"use strict";o(iD,"default")});function aD(t,e,r,n,i){for(var a=t.children,s,l=-1,u=a.length,h=t.value&&(n-e)/t.value;++l{"use strict";o(aD,"default")});function sD(t,e,r,n,i){for(var a=t.children,s,l=-1,u=a.length,h=t.value&&(i-r)/t.value;++l{"use strict";o(sD,"default")});function Cke(t,e,r,n,i,a){for(var s=[],l=e.children,u,h,f=0,d=0,p=l.length,m,g,y=e.value,v,x,b,T,C,w,E;fb&&(b=h),E=v*v*w,T=Math.max(b/E,E/x),T>C){v-=h;break}C=T}s.push(u={value:v,dice:m{"use strict";sq();oq();Ske=(1+Math.sqrt(5))/2;o(Cke,"squarifyRatio");lq=o(function t(e){function r(n,i,a,s,l){Cke(e,n,i,a,s,l)}return o(r,"squarify"),r.ratio=function(n){return t((n=+n)>1?n:1)},r},"custom")(Ske)});function A5(){var t=lq,e=!1,r=1,n=1,i=[0],a=P0,s=P0,l=P0,u=P0,h=P0;function f(p){return p.x0=p.y0=0,p.x1=r,p.y1=n,p.eachBefore(d),i=[0],e&&p.eachBefore(iD),p}o(f,"treemap");function d(p){var m=i[p.depth],g=p.x0+m,y=p.y0+m,v=p.x1-m,x=p.y1-m;v{"use strict";aq();cq();nq();iq();o(A5,"default")});var hq=N(()=>{"use strict";tq();uq()});var fq=N(()=>{"use strict"});var dq=N(()=>{"use strict"});function Ah(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}var Lv=N(()=>{"use strict";o(Ah,"initRange")});function Qs(){var t=new T0,e=[],r=[],n=oD;function i(a){let s=t.get(a);if(s===void 0){if(n!==oD)return n;t.set(a,s=e.push(a)-1)}return r[s%r.length]}return o(i,"scale"),i.domain=function(a){if(!arguments.length)return e.slice();e=[],t=new T0;for(let s of a)t.has(s)||t.set(s,e.push(s)-1);return i},i.range=function(a){return arguments.length?(r=Array.from(a),i):r.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return Qs(e,r).unknown(n)},Ah.apply(i,arguments),i}var oD,lD=N(()=>{"use strict";bh();Lv();oD=Symbol("implicit");o(Qs,"ordinal")});function B0(){var t=Qs().unknown(void 0),e=t.domain,r=t.range,n=0,i=1,a,s,l=!1,u=0,h=0,f=.5;delete t.unknown;function d(){var p=e().length,m=i{"use strict";bh();Lv();lD();o(B0,"band")});function cD(t){return function(){return t}}var mq=N(()=>{"use strict";o(cD,"constants")});function uD(t){return+t}var gq=N(()=>{"use strict";o(uD,"number")});function F0(t){return t}function hD(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:cD(isNaN(e)?NaN:.5)}function Ake(t,e){var r;return t>e&&(r=t,t=e,e=r),function(n){return Math.max(t,Math.min(e,n))}}function _ke(t,e,r){var n=t[0],i=t[1],a=e[0],s=e[1];return i2?Dke:_ke,u=h=null,d}o(f,"rescale");function d(p){return p==null||isNaN(p=+p)?a:(u||(u=l(t.map(n),e,r)))(n(s(p)))}return o(d,"scale"),d.invert=function(p){return s(i((h||(h=l(e,t.map(n),Xi)))(p)))},d.domain=function(p){return arguments.length?(t=Array.from(p,uD),f()):t.slice()},d.range=function(p){return arguments.length?(e=Array.from(p),f()):e.slice()},d.rangeRound=function(p){return e=Array.from(p),r=i5,f()},d.clamp=function(p){return arguments.length?(s=p?!0:F0,f()):s!==F0},d.interpolate=function(p){return arguments.length?(r=p,f()):r},d.unknown=function(p){return arguments.length?(a=p,d):a},function(p,m){return n=p,i=m,f()}}function Rv(){return Lke()(F0,F0)}var yq,fD=N(()=>{"use strict";bh();N0();mq();gq();yq=[0,1];o(F0,"identity");o(hD,"normalize");o(Ake,"clamper");o(_ke,"bimap");o(Dke,"polymap");o(_5,"copy");o(Lke,"transformer");o(Rv,"continuous")});function dD(t,e,r,n){var i=w0(t,e,r),a;switch(n=Ch(n??",f"),n.type){case"s":{var s=Math.max(Math.abs(t),Math.abs(e));return n.precision==null&&!isNaN(a=S5(i,s))&&(n.precision=a),k5(n,s)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=C5(i,Math.max(Math.abs(t),Math.abs(e))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=E5(i))&&(n.precision=a-(n.type==="%")*2);break}}return oc(n)}var vq=N(()=>{"use strict";bh();H_();o(dD,"tickFormat")});function Rke(t){var e=t.domain;return t.ticks=function(r){var n=e();return G3(n[0],n[n.length-1],r??10)},t.tickFormat=function(r,n){var i=e();return dD(i[0],i[i.length-1],r??10,n)},t.nice=function(r){r==null&&(r=10);var n=e(),i=0,a=n.length-1,s=n[i],l=n[a],u,h,f=10;for(l0;){if(h=av(s,l,r),h===u)return n[i]=s,n[a]=l,e(n);if(h>0)s=Math.floor(s/h)*h,l=Math.ceil(l/h)*h;else if(h<0)s=Math.ceil(s*h)/h,l=Math.floor(l*h)/h;else break;u=h}return t},t}function xl(){var t=Rv();return t.copy=function(){return _5(t,xl())},Ah.apply(t,arguments),Rke(t)}var xq=N(()=>{"use strict";bh();fD();Lv();vq();o(Rke,"linearish");o(xl,"linear")});function pD(t,e){t=t.slice();var r=0,n=t.length-1,i=t[r],a=t[n],s;return a{"use strict";o(pD,"nice")});function vn(t,e,r,n){function i(a){return t(a=arguments.length===0?new Date:new Date(+a)),a}return o(i,"interval"),i.floor=a=>(t(a=new Date(+a)),a),i.ceil=a=>(t(a=new Date(a-1)),e(a,1),t(a),a),i.round=a=>{let s=i(a),l=i.ceil(a);return a-s(e(a=new Date(+a),s==null?1:Math.floor(s)),a),i.range=(a,s,l)=>{let u=[];if(a=i.ceil(a),l=l==null?1:Math.floor(l),!(a0))return u;let h;do u.push(h=new Date(+a)),e(a,l),t(a);while(hvn(s=>{if(s>=s)for(;t(s),!a(s);)s.setTime(s-1)},(s,l)=>{if(s>=s)if(l<0)for(;++l<=0;)for(;e(s,-1),!a(s););else for(;--l>=0;)for(;e(s,1),!a(s););}),r&&(i.count=(a,s)=>(mD.setTime(+a),gD.setTime(+s),t(mD),t(gD),Math.floor(r(mD,gD))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?s=>n(s)%a===0:s=>i.count(0,s)%a===0):i)),i}var mD,gD,xu=N(()=>{"use strict";mD=new Date,gD=new Date;o(vn,"timeInterval")});var lc,Tq,yD=N(()=>{"use strict";xu();lc=vn(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);lc.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?vn(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):lc);Tq=lc.range});var Zs,wq,vD=N(()=>{"use strict";xu();Zs=vn(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*1e3)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds()),wq=Zs.range});var bu,Nke,D5,Mke,xD=N(()=>{"use strict";xu();bu=vn(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3)},(t,e)=>{t.setTime(+t+e*6e4)},(t,e)=>(e-t)/6e4,t=>t.getMinutes()),Nke=bu.range,D5=vn(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*6e4)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes()),Mke=D5.range});var Tu,Ike,L5,Oke,bD=N(()=>{"use strict";xu();Tu=vn(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3-t.getMinutes()*6e4)},(t,e)=>{t.setTime(+t+e*36e5)},(t,e)=>(e-t)/36e5,t=>t.getHours()),Ike=Tu.range,L5=vn(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*36e5)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours()),Oke=L5.range});var Do,Pke,Mv,Bke,R5,Fke,TD=N(()=>{"use strict";xu();Do=vn(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1),Pke=Do.range,Mv=vn(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1),Bke=Mv.range,R5=vn(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5)),Fke=R5.range});function bd(t){return vn(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,r)=>{e.setDate(e.getDate()+r*7)},(e,r)=>(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5)}function Td(t){return vn(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r*7)},(e,r)=>(r-e)/6048e5)}var bl,_h,N5,M5,uc,I5,O5,Eq,$ke,zke,Gke,Vke,Uke,Hke,wd,$0,Sq,Cq,Dh,Aq,_q,Dq,Wke,qke,Yke,Xke,jke,Kke,wD=N(()=>{"use strict";xu();o(bd,"timeWeekday");bl=bd(0),_h=bd(1),N5=bd(2),M5=bd(3),uc=bd(4),I5=bd(5),O5=bd(6),Eq=bl.range,$ke=_h.range,zke=N5.range,Gke=M5.range,Vke=uc.range,Uke=I5.range,Hke=O5.range;o(Td,"utcWeekday");wd=Td(0),$0=Td(1),Sq=Td(2),Cq=Td(3),Dh=Td(4),Aq=Td(5),_q=Td(6),Dq=wd.range,Wke=$0.range,qke=Sq.range,Yke=Cq.range,Xke=Dh.range,jke=Aq.range,Kke=_q.range});var wu,Qke,P5,Zke,kD=N(()=>{"use strict";xu();wu=vn(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth()),Qke=wu.range,P5=vn(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth()),Zke=P5.range});var Js,Jke,Tl,eEe,ED=N(()=>{"use strict";xu();Js=vn(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());Js.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:vn(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)});Jke=Js.range,Tl=vn(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());Tl.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:vn(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)});eEe=Tl.range});function Rq(t,e,r,n,i,a){let s=[[Zs,1,1e3],[Zs,5,5*1e3],[Zs,15,15*1e3],[Zs,30,30*1e3],[a,1,6e4],[a,5,5*6e4],[a,15,15*6e4],[a,30,30*6e4],[i,1,36e5],[i,3,3*36e5],[i,6,6*36e5],[i,12,12*36e5],[n,1,864e5],[n,2,2*864e5],[r,1,6048e5],[e,1,2592e6],[e,3,3*2592e6],[t,1,31536e6]];function l(h,f,d){let p=fv).right(s,p);if(m===s.length)return t.every(w0(h/31536e6,f/31536e6,d));if(m===0)return lc.every(Math.max(w0(h,f,d),1));let[g,y]=s[p/s[m-1][2]{"use strict";bh();yD();vD();xD();bD();TD();wD();kD();ED();o(Rq,"ticker");[rEe,nEe]=Rq(Tl,P5,wd,R5,L5,D5),[SD,CD]=Rq(Js,wu,bl,Do,Tu,bu)});var B5=N(()=>{"use strict";yD();vD();xD();bD();TD();wD();kD();ED();Nq()});function AD(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function _D(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Iv(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}function DD(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,a=t.days,s=t.shortDays,l=t.months,u=t.shortMonths,h=Ov(i),f=Pv(i),d=Ov(a),p=Pv(a),m=Ov(s),g=Pv(s),y=Ov(l),v=Pv(l),x=Ov(u),b=Pv(u),T={a:P,A:B,b:F,B:z,c:null,d:Fq,e:Fq,f:CEe,g:PEe,G:FEe,H:kEe,I:EEe,j:SEe,L:Uq,m:AEe,M:_Ee,p:$,q:U,Q:Gq,s:Vq,S:DEe,u:LEe,U:REe,V:NEe,w:MEe,W:IEe,x:null,X:null,y:OEe,Y:BEe,Z:$Ee,"%":zq},C={a:K,A:ee,b:Y,B:ce,c:null,d:$q,e:$q,f:UEe,g:JEe,G:tSe,H:zEe,I:GEe,j:VEe,L:Wq,m:HEe,M:WEe,p:Z,q:ue,Q:Gq,s:Vq,S:qEe,u:YEe,U:XEe,V:jEe,w:KEe,W:QEe,x:null,X:null,y:ZEe,Y:eSe,Z:rSe,"%":zq},w={a:O,A:R,b:k,B:L,c:S,d:Pq,e:Pq,f:xEe,g:Oq,G:Iq,H:Bq,I:Bq,j:mEe,L:vEe,m:pEe,M:gEe,p:D,q:dEe,Q:TEe,s:wEe,S:yEe,u:lEe,U:cEe,V:uEe,w:oEe,W:hEe,x:I,X:M,y:Oq,Y:Iq,Z:fEe,"%":bEe};T.x=E(r,T),T.X=E(n,T),T.c=E(e,T),C.x=E(r,C),C.X=E(n,C),C.c=E(e,C);function E(Q,j){return function(ne){var te=[],he=-1,le=0,J=Q.length,Se,se,ae;for(ne instanceof Date||(ne=new Date(+ne));++he53)return null;"w"in te||(te.w=1),"Z"in te?(le=_D(Iv(te.y,0,1)),J=le.getUTCDay(),le=J>4||J===0?$0.ceil(le):$0(le),le=Mv.offset(le,(te.V-1)*7),te.y=le.getUTCFullYear(),te.m=le.getUTCMonth(),te.d=le.getUTCDate()+(te.w+6)%7):(le=AD(Iv(te.y,0,1)),J=le.getDay(),le=J>4||J===0?_h.ceil(le):_h(le),le=Do.offset(le,(te.V-1)*7),te.y=le.getFullYear(),te.m=le.getMonth(),te.d=le.getDate()+(te.w+6)%7)}else("W"in te||"U"in te)&&("w"in te||(te.w="u"in te?te.u%7:"W"in te?1:0),J="Z"in te?_D(Iv(te.y,0,1)).getUTCDay():AD(Iv(te.y,0,1)).getDay(),te.m=0,te.d="W"in te?(te.w+6)%7+te.W*7-(J+5)%7:te.w+te.U*7-(J+6)%7);return"Z"in te?(te.H+=te.Z/100|0,te.M+=te.Z%100,_D(te)):AD(te)}}o(_,"newParse");function A(Q,j,ne,te){for(var he=0,le=j.length,J=ne.length,Se,se;he=J)return-1;if(Se=j.charCodeAt(he++),Se===37){if(Se=j.charAt(he++),se=w[Se in Mq?j.charAt(he++):Se],!se||(te=se(Q,ne,te))<0)return-1}else if(Se!=ne.charCodeAt(te++))return-1}return te}o(A,"parseSpecifier");function D(Q,j,ne){var te=h.exec(j.slice(ne));return te?(Q.p=f.get(te[0].toLowerCase()),ne+te[0].length):-1}o(D,"parsePeriod");function O(Q,j,ne){var te=m.exec(j.slice(ne));return te?(Q.w=g.get(te[0].toLowerCase()),ne+te[0].length):-1}o(O,"parseShortWeekday");function R(Q,j,ne){var te=d.exec(j.slice(ne));return te?(Q.w=p.get(te[0].toLowerCase()),ne+te[0].length):-1}o(R,"parseWeekday");function k(Q,j,ne){var te=x.exec(j.slice(ne));return te?(Q.m=b.get(te[0].toLowerCase()),ne+te[0].length):-1}o(k,"parseShortMonth");function L(Q,j,ne){var te=y.exec(j.slice(ne));return te?(Q.m=v.get(te[0].toLowerCase()),ne+te[0].length):-1}o(L,"parseMonth");function S(Q,j,ne){return A(Q,e,j,ne)}o(S,"parseLocaleDateTime");function I(Q,j,ne){return A(Q,r,j,ne)}o(I,"parseLocaleDate");function M(Q,j,ne){return A(Q,n,j,ne)}o(M,"parseLocaleTime");function P(Q){return s[Q.getDay()]}o(P,"formatShortWeekday");function B(Q){return a[Q.getDay()]}o(B,"formatWeekday");function F(Q){return u[Q.getMonth()]}o(F,"formatShortMonth");function z(Q){return l[Q.getMonth()]}o(z,"formatMonth");function $(Q){return i[+(Q.getHours()>=12)]}o($,"formatPeriod");function U(Q){return 1+~~(Q.getMonth()/3)}o(U,"formatQuarter");function K(Q){return s[Q.getUTCDay()]}o(K,"formatUTCShortWeekday");function ee(Q){return a[Q.getUTCDay()]}o(ee,"formatUTCWeekday");function Y(Q){return u[Q.getUTCMonth()]}o(Y,"formatUTCShortMonth");function ce(Q){return l[Q.getUTCMonth()]}o(ce,"formatUTCMonth");function Z(Q){return i[+(Q.getUTCHours()>=12)]}o(Z,"formatUTCPeriod");function ue(Q){return 1+~~(Q.getUTCMonth()/3)}return o(ue,"formatUTCQuarter"),{format:o(function(Q){var j=E(Q+="",T);return j.toString=function(){return Q},j},"format"),parse:o(function(Q){var j=_(Q+="",!1);return j.toString=function(){return Q},j},"parse"),utcFormat:o(function(Q){var j=E(Q+="",C);return j.toString=function(){return Q},j},"utcFormat"),utcParse:o(function(Q){var j=_(Q+="",!0);return j.toString=function(){return Q},j},"utcParse")}}function Hr(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",a=i.length;return n+(a[e.toLowerCase(),r]))}function oEe(t,e,r){var n=ji.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function lEe(t,e,r){var n=ji.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function cEe(t,e,r){var n=ji.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function uEe(t,e,r){var n=ji.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function hEe(t,e,r){var n=ji.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function Iq(t,e,r){var n=ji.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function Oq(t,e,r){var n=ji.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function fEe(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function dEe(t,e,r){var n=ji.exec(e.slice(r,r+1));return n?(t.q=n[0]*3-3,r+n[0].length):-1}function pEe(t,e,r){var n=ji.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function Pq(t,e,r){var n=ji.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function mEe(t,e,r){var n=ji.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function Bq(t,e,r){var n=ji.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function gEe(t,e,r){var n=ji.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function yEe(t,e,r){var n=ji.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function vEe(t,e,r){var n=ji.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function xEe(t,e,r){var n=ji.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function bEe(t,e,r){var n=iEe.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function TEe(t,e,r){var n=ji.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function wEe(t,e,r){var n=ji.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function Fq(t,e){return Hr(t.getDate(),e,2)}function kEe(t,e){return Hr(t.getHours(),e,2)}function EEe(t,e){return Hr(t.getHours()%12||12,e,2)}function SEe(t,e){return Hr(1+Do.count(Js(t),t),e,3)}function Uq(t,e){return Hr(t.getMilliseconds(),e,3)}function CEe(t,e){return Uq(t,e)+"000"}function AEe(t,e){return Hr(t.getMonth()+1,e,2)}function _Ee(t,e){return Hr(t.getMinutes(),e,2)}function DEe(t,e){return Hr(t.getSeconds(),e,2)}function LEe(t){var e=t.getDay();return e===0?7:e}function REe(t,e){return Hr(bl.count(Js(t)-1,t),e,2)}function Hq(t){var e=t.getDay();return e>=4||e===0?uc(t):uc.ceil(t)}function NEe(t,e){return t=Hq(t),Hr(uc.count(Js(t),t)+(Js(t).getDay()===4),e,2)}function MEe(t){return t.getDay()}function IEe(t,e){return Hr(_h.count(Js(t)-1,t),e,2)}function OEe(t,e){return Hr(t.getFullYear()%100,e,2)}function PEe(t,e){return t=Hq(t),Hr(t.getFullYear()%100,e,2)}function BEe(t,e){return Hr(t.getFullYear()%1e4,e,4)}function FEe(t,e){var r=t.getDay();return t=r>=4||r===0?uc(t):uc.ceil(t),Hr(t.getFullYear()%1e4,e,4)}function $Ee(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Hr(e/60|0,"0",2)+Hr(e%60,"0",2)}function $q(t,e){return Hr(t.getUTCDate(),e,2)}function zEe(t,e){return Hr(t.getUTCHours(),e,2)}function GEe(t,e){return Hr(t.getUTCHours()%12||12,e,2)}function VEe(t,e){return Hr(1+Mv.count(Tl(t),t),e,3)}function Wq(t,e){return Hr(t.getUTCMilliseconds(),e,3)}function UEe(t,e){return Wq(t,e)+"000"}function HEe(t,e){return Hr(t.getUTCMonth()+1,e,2)}function WEe(t,e){return Hr(t.getUTCMinutes(),e,2)}function qEe(t,e){return Hr(t.getUTCSeconds(),e,2)}function YEe(t){var e=t.getUTCDay();return e===0?7:e}function XEe(t,e){return Hr(wd.count(Tl(t)-1,t),e,2)}function qq(t){var e=t.getUTCDay();return e>=4||e===0?Dh(t):Dh.ceil(t)}function jEe(t,e){return t=qq(t),Hr(Dh.count(Tl(t),t)+(Tl(t).getUTCDay()===4),e,2)}function KEe(t){return t.getUTCDay()}function QEe(t,e){return Hr($0.count(Tl(t)-1,t),e,2)}function ZEe(t,e){return Hr(t.getUTCFullYear()%100,e,2)}function JEe(t,e){return t=qq(t),Hr(t.getUTCFullYear()%100,e,2)}function eSe(t,e){return Hr(t.getUTCFullYear()%1e4,e,4)}function tSe(t,e){var r=t.getUTCDay();return t=r>=4||r===0?Dh(t):Dh.ceil(t),Hr(t.getUTCFullYear()%1e4,e,4)}function rSe(){return"+0000"}function zq(){return"%"}function Gq(t){return+t}function Vq(t){return Math.floor(+t/1e3)}var Mq,ji,iEe,aEe,Yq=N(()=>{"use strict";B5();o(AD,"localDate");o(_D,"utcDate");o(Iv,"newDate");o(DD,"formatLocale");Mq={"-":"",_:" ",0:"0"},ji=/^\s*\d+/,iEe=/^%/,aEe=/[\\^$*+?|[\]().{}]/g;o(Hr,"pad");o(sEe,"requote");o(Ov,"formatRe");o(Pv,"formatLookup");o(oEe,"parseWeekdayNumberSunday");o(lEe,"parseWeekdayNumberMonday");o(cEe,"parseWeekNumberSunday");o(uEe,"parseWeekNumberISO");o(hEe,"parseWeekNumberMonday");o(Iq,"parseFullYear");o(Oq,"parseYear");o(fEe,"parseZone");o(dEe,"parseQuarter");o(pEe,"parseMonthNumber");o(Pq,"parseDayOfMonth");o(mEe,"parseDayOfYear");o(Bq,"parseHour24");o(gEe,"parseMinutes");o(yEe,"parseSeconds");o(vEe,"parseMilliseconds");o(xEe,"parseMicroseconds");o(bEe,"parseLiteralPercent");o(TEe,"parseUnixTimestamp");o(wEe,"parseUnixTimestampSeconds");o(Fq,"formatDayOfMonth");o(kEe,"formatHour24");o(EEe,"formatHour12");o(SEe,"formatDayOfYear");o(Uq,"formatMilliseconds");o(CEe,"formatMicroseconds");o(AEe,"formatMonthNumber");o(_Ee,"formatMinutes");o(DEe,"formatSeconds");o(LEe,"formatWeekdayNumberMonday");o(REe,"formatWeekNumberSunday");o(Hq,"dISO");o(NEe,"formatWeekNumberISO");o(MEe,"formatWeekdayNumberSunday");o(IEe,"formatWeekNumberMonday");o(OEe,"formatYear");o(PEe,"formatYearISO");o(BEe,"formatFullYear");o(FEe,"formatFullYearISO");o($Ee,"formatZone");o($q,"formatUTCDayOfMonth");o(zEe,"formatUTCHour24");o(GEe,"formatUTCHour12");o(VEe,"formatUTCDayOfYear");o(Wq,"formatUTCMilliseconds");o(UEe,"formatUTCMicroseconds");o(HEe,"formatUTCMonthNumber");o(WEe,"formatUTCMinutes");o(qEe,"formatUTCSeconds");o(YEe,"formatUTCWeekdayNumberMonday");o(XEe,"formatUTCWeekNumberSunday");o(qq,"UTCdISO");o(jEe,"formatUTCWeekNumberISO");o(KEe,"formatUTCWeekdayNumberSunday");o(QEe,"formatUTCWeekNumberMonday");o(ZEe,"formatUTCYear");o(JEe,"formatUTCYearISO");o(eSe,"formatUTCFullYear");o(tSe,"formatUTCFullYearISO");o(rSe,"formatUTCZone");o(zq,"formatLiteralPercent");o(Gq,"formatUnixTimestamp");o(Vq,"formatUnixTimestampSeconds")});function LD(t){return z0=DD(t),kd=z0.format,Xq=z0.parse,jq=z0.utcFormat,Kq=z0.utcParse,z0}var z0,kd,Xq,jq,Kq,Qq=N(()=>{"use strict";Yq();LD({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});o(LD,"defaultLocale")});var RD=N(()=>{"use strict";Qq()});function nSe(t){return new Date(t)}function iSe(t){return t instanceof Date?+t:+new Date(+t)}function Zq(t,e,r,n,i,a,s,l,u,h){var f=Rv(),d=f.invert,p=f.domain,m=h(".%L"),g=h(":%S"),y=h("%I:%M"),v=h("%I %p"),x=h("%a %d"),b=h("%b %d"),T=h("%B"),C=h("%Y");function w(E){return(u(E){"use strict";B5();RD();fD();Lv();bq();o(nSe,"date");o(iSe,"number");o(Zq,"calendar");o(F5,"time")});var eY=N(()=>{"use strict";pq();xq();lD();Jq()});function ND(t){for(var e=t.length/6|0,r=new Array(e),n=0;n{"use strict";o(ND,"default")});var MD,rY=N(()=>{"use strict";tY();MD=ND("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab")});var nY=N(()=>{"use strict";rY()});function Pn(t){return o(function(){return t},"constant")}var $5=N(()=>{"use strict";o(Pn,"default")});function aY(t){return t>1?0:t<-1?G0:Math.acos(t)}function OD(t){return t>=1?Bv:t<=-1?-Bv:Math.asin(t)}var ID,ca,Lh,iY,z5,wl,Ed,Ki,G0,Bv,V0,G5=N(()=>{"use strict";ID=Math.abs,ca=Math.atan2,Lh=Math.cos,iY=Math.max,z5=Math.min,wl=Math.sin,Ed=Math.sqrt,Ki=1e-12,G0=Math.PI,Bv=G0/2,V0=2*G0;o(aY,"acos");o(OD,"asin")});function V5(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(r==null)e=null;else{let n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);e=n}return t},()=>new md(e)}var PD=N(()=>{"use strict";N_();o(V5,"withPath")});function aSe(t){return t.innerRadius}function sSe(t){return t.outerRadius}function oSe(t){return t.startAngle}function lSe(t){return t.endAngle}function cSe(t){return t&&t.padAngle}function uSe(t,e,r,n,i,a,s,l){var u=r-t,h=n-e,f=s-i,d=l-a,p=d*u-f*h;if(!(p*pS*S+I*I&&(A=O,D=R),{cx:A,cy:D,x01:-f,y01:-d,x11:A*(i/w-1),y11:D*(i/w-1)}}function kl(){var t=aSe,e=sSe,r=Pn(0),n=null,i=oSe,a=lSe,s=cSe,l=null,u=V5(h);function h(){var f,d,p=+t.apply(this,arguments),m=+e.apply(this,arguments),g=i.apply(this,arguments)-Bv,y=a.apply(this,arguments)-Bv,v=ID(y-g),x=y>g;if(l||(l=f=u()),mKi))l.moveTo(0,0);else if(v>V0-Ki)l.moveTo(m*Lh(g),m*wl(g)),l.arc(0,0,m,g,y,!x),p>Ki&&(l.moveTo(p*Lh(y),p*wl(y)),l.arc(0,0,p,y,g,x));else{var b=g,T=y,C=g,w=y,E=v,_=v,A=s.apply(this,arguments)/2,D=A>Ki&&(n?+n.apply(this,arguments):Ed(p*p+m*m)),O=z5(ID(m-p)/2,+r.apply(this,arguments)),R=O,k=O,L,S;if(D>Ki){var I=OD(D/p*wl(A)),M=OD(D/m*wl(A));(E-=I*2)>Ki?(I*=x?1:-1,C+=I,w-=I):(E=0,C=w=(g+y)/2),(_-=M*2)>Ki?(M*=x?1:-1,b+=M,T-=M):(_=0,b=T=(g+y)/2)}var P=m*Lh(b),B=m*wl(b),F=p*Lh(w),z=p*wl(w);if(O>Ki){var $=m*Lh(T),U=m*wl(T),K=p*Lh(C),ee=p*wl(C),Y;if(vKi?k>Ki?(L=U5(K,ee,P,B,m,k,x),S=U5($,U,F,z,m,k,x),l.moveTo(L.cx+L.x01,L.cy+L.y01),kKi)||!(E>Ki)?l.lineTo(F,z):R>Ki?(L=U5(F,z,$,U,p,-R,x),S=U5(P,B,K,ee,p,-R,x),l.lineTo(L.cx+L.x01,L.cy+L.y01),R{"use strict";$5();G5();PD();o(aSe,"arcInnerRadius");o(sSe,"arcOuterRadius");o(oSe,"arcStartAngle");o(lSe,"arcEndAngle");o(cSe,"arcPadAngle");o(uSe,"intersect");o(U5,"cornerTangents");o(kl,"default")});function Fv(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}var J2t,BD=N(()=>{"use strict";J2t=Array.prototype.slice;o(Fv,"default")});function oY(t){this._context=t}function ku(t){return new oY(t)}var FD=N(()=>{"use strict";o(oY,"Linear");oY.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._point=0},"lineStart"),lineEnd:o(function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}},"point")};o(ku,"default")});function lY(t){return t[0]}function cY(t){return t[1]}var uY=N(()=>{"use strict";o(lY,"x");o(cY,"y")});function El(t,e){var r=Pn(!0),n=null,i=ku,a=null,s=V5(l);t=typeof t=="function"?t:t===void 0?lY:Pn(t),e=typeof e=="function"?e:e===void 0?cY:Pn(e);function l(u){var h,f=(u=Fv(u)).length,d,p=!1,m;for(n==null&&(a=i(m=s())),h=0;h<=f;++h)!(h{"use strict";BD();$5();FD();PD();uY();o(El,"default")});function $D(t,e){return et?1:e>=t?0:NaN}var fY=N(()=>{"use strict";o($D,"default")});function zD(t){return t}var dY=N(()=>{"use strict";o(zD,"default")});function H5(){var t=zD,e=$D,r=null,n=Pn(0),i=Pn(V0),a=Pn(0);function s(l){var u,h=(l=Fv(l)).length,f,d,p=0,m=new Array(h),g=new Array(h),y=+n.apply(this,arguments),v=Math.min(V0,Math.max(-V0,i.apply(this,arguments)-y)),x,b=Math.min(Math.abs(v)/h,a.apply(this,arguments)),T=b*(v<0?-1:1),C;for(u=0;u0&&(p+=C);for(e!=null?m.sort(function(w,E){return e(g[w],g[E])}):r!=null&&m.sort(function(w,E){return r(l[w],l[E])}),u=0,d=p?(v-h*T)/p:0;u0?C*d:0)+T,g[f]={data:l[f],index:u,value:C,startAngle:y,endAngle:x,padAngle:b};return g}return o(s,"pie"),s.value=function(l){return arguments.length?(t=typeof l=="function"?l:Pn(+l),s):t},s.sortValues=function(l){return arguments.length?(e=l,r=null,s):e},s.sort=function(l){return arguments.length?(r=l,e=null,s):r},s.startAngle=function(l){return arguments.length?(n=typeof l=="function"?l:Pn(+l),s):n},s.endAngle=function(l){return arguments.length?(i=typeof l=="function"?l:Pn(+l),s):i},s.padAngle=function(l){return arguments.length?(a=typeof l=="function"?l:Pn(+l),s):a},s}var pY=N(()=>{"use strict";BD();$5();fY();dY();G5();o(H5,"default")});function $v(t){return new W5(t,!0)}function zv(t){return new W5(t,!1)}var W5,mY=N(()=>{"use strict";W5=class{static{o(this,"Bump")}constructor(e,r){this._context=e,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,r){switch(e=+e,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,r,e,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,e,this._y0,e,r);break}}this._x0=e,this._y0=r}};o($v,"bumpX");o(zv,"bumpY")});function eo(){}var Gv=N(()=>{"use strict";o(eo,"default")});function U0(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function Vv(t){this._context=t}function Lo(t){return new Vv(t)}var Uv=N(()=>{"use strict";o(U0,"point");o(Vv,"Basis");Vv.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 3:U0(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:U0(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e},"point")};o(Lo,"default")});function gY(t){this._context=t}function q5(t){return new gY(t)}var yY=N(()=>{"use strict";Gv();Uv();o(gY,"BasisClosed");gY.prototype={areaStart:eo,areaEnd:eo,lineStart:o(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:U0(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e},"point")};o(q5,"default")});function vY(t){this._context=t}function Y5(t){return new vY(t)}var xY=N(()=>{"use strict";Uv();o(vY,"BasisOpen");vY.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:o(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:U0(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e},"point")};o(Y5,"default")});function bY(t,e){this._basis=new Vv(t),this._beta=e}var GD,TY=N(()=>{"use strict";Uv();o(bY,"Bundle");bY.prototype={lineStart:o(function(){this._x=[],this._y=[],this._basis.lineStart()},"lineStart"),lineEnd:o(function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var n=t[0],i=e[0],a=t[r]-n,s=e[r]-i,l=-1,u;++l<=r;)u=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(n+u*a),this._beta*e[l]+(1-this._beta)*(i+u*s));this._x=this._y=null,this._basis.lineEnd()},"lineEnd"),point:o(function(t,e){this._x.push(+t),this._y.push(+e)},"point")};GD=o(function t(e){function r(n){return e===1?new Vv(n):new bY(n,e)}return o(r,"bundle"),r.beta=function(n){return t(+n)},r},"custom")(.85)});function H0(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function X5(t,e){this._context=t,this._k=(1-e)/6}var Hv,Wv=N(()=>{"use strict";o(H0,"point");o(X5,"Cardinal");X5.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:H0(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:H0(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};Hv=o(function t(e){function r(n){return new X5(n,e)}return o(r,"cardinal"),r.tension=function(n){return t(+n)},r},"custom")(0)});function j5(t,e){this._context=t,this._k=(1-e)/6}var VD,UD=N(()=>{"use strict";Gv();Wv();o(j5,"CardinalClosed");j5.prototype={areaStart:eo,areaEnd:eo,lineStart:o(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:H0(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};VD=o(function t(e){function r(n){return new j5(n,e)}return o(r,"cardinal"),r.tension=function(n){return t(+n)},r},"custom")(0)});function K5(t,e){this._context=t,this._k=(1-e)/6}var HD,WD=N(()=>{"use strict";Wv();o(K5,"CardinalOpen");K5.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:o(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:H0(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};HD=o(function t(e){function r(n){return new K5(n,e)}return o(r,"cardinal"),r.tension=function(n){return t(+n)},r},"custom")(0)});function qv(t,e,r){var n=t._x1,i=t._y1,a=t._x2,s=t._y2;if(t._l01_a>Ki){var l=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*l-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*l-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>Ki){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*h+t._x1*t._l23_2a-e*t._l12_2a)/f,s=(s*h+t._y1*t._l23_2a-r*t._l12_2a)/f}t._context.bezierCurveTo(n,i,a,s,t._x2,t._y2)}function wY(t,e){this._context=t,this._alpha=e}var Yv,Q5=N(()=>{"use strict";G5();Wv();o(qv,"point");o(wY,"CatmullRom");wY.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:qv(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};Yv=o(function t(e){function r(n){return e?new wY(n,e):new X5(n,0)}return o(r,"catmullRom"),r.alpha=function(n){return t(+n)},r},"custom")(.5)});function kY(t,e){this._context=t,this._alpha=e}var qD,EY=N(()=>{"use strict";UD();Gv();Q5();o(kY,"CatmullRomClosed");kY.prototype={areaStart:eo,areaEnd:eo,lineStart:o(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},"lineEnd"),point:o(function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:qv(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};qD=o(function t(e){function r(n){return e?new kY(n,e):new j5(n,0)}return o(r,"catmullRom"),r.alpha=function(n){return t(+n)},r},"custom")(.5)});function SY(t,e){this._context=t,this._alpha=e}var YD,CY=N(()=>{"use strict";WD();Q5();o(SY,"CatmullRomOpen");SY.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:o(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:qv(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};YD=o(function t(e){function r(n){return e?new SY(n,e):new K5(n,0)}return o(r,"catmullRom"),r.alpha=function(n){return t(+n)},r},"custom")(.5)});function AY(t){this._context=t}function Z5(t){return new AY(t)}var _Y=N(()=>{"use strict";Gv();o(AY,"LinearClosed");AY.prototype={areaStart:eo,areaEnd:eo,lineStart:o(function(){this._point=0},"lineStart"),lineEnd:o(function(){this._point&&this._context.closePath()},"lineEnd"),point:o(function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))},"point")};o(Z5,"default")});function DY(t){return t<0?-1:1}function LY(t,e,r){var n=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(n||i<0&&-0),s=(r-t._y1)/(i||n<0&&-0),l=(a*i+s*n)/(n+i);return(DY(a)+DY(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(l))||0}function RY(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function XD(t,e,r){var n=t._x0,i=t._y0,a=t._x1,s=t._y1,l=(a-n)/3;t._context.bezierCurveTo(n+l,i+l*e,a-l,s-l*r,a,s)}function J5(t){this._context=t}function NY(t){this._context=new MY(t)}function MY(t){this._context=t}function Xv(t){return new J5(t)}function jv(t){return new NY(t)}var IY=N(()=>{"use strict";o(DY,"sign");o(LY,"slope3");o(RY,"slope2");o(XD,"point");o(J5,"MonotoneX");J5.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:XD(this,this._t0,RY(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){var r=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,XD(this,RY(this,r=LY(this,t,e)),r);break;default:XD(this,this._t0,r=LY(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}},"point")};o(NY,"MonotoneY");(NY.prototype=Object.create(J5.prototype)).point=function(t,e){J5.prototype.point.call(this,e,t)};o(MY,"ReflectContext");MY.prototype={moveTo:o(function(t,e){this._context.moveTo(e,t)},"moveTo"),closePath:o(function(){this._context.closePath()},"closePath"),lineTo:o(function(t,e){this._context.lineTo(e,t)},"lineTo"),bezierCurveTo:o(function(t,e,r,n,i,a){this._context.bezierCurveTo(e,t,n,r,a,i)},"bezierCurveTo")};o(Xv,"monotoneX");o(jv,"monotoneY")});function PY(t){this._context=t}function OY(t){var e,r=t.length-1,n,i=new Array(r),a=new Array(r),s=new Array(r);for(i[0]=0,a[0]=2,s[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(s[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e{"use strict";o(PY,"Natural");PY.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x=[],this._y=[]},"lineStart"),lineEnd:o(function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),r===2)this._context.lineTo(t[1],e[1]);else for(var n=OY(t),i=OY(e),a=0,s=1;s{"use strict";o(eT,"Step");eT.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x=this._y=NaN,this._point=0},"lineStart"),lineEnd:o(function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}break}}this._x=t,this._y=e},"point")};o(q0,"default");o(Kv,"stepBefore");o(Qv,"stepAfter")});var $Y=N(()=>{"use strict";sY();hY();pY();yY();xY();Uv();mY();TY();UD();WD();Wv();EY();CY();Q5();_Y();FD();IY();BY();FY()});var zY=N(()=>{"use strict"});var GY=N(()=>{"use strict"});function Rh(t,e,r){this.k=t,this.x=e,this.y=r}function KD(t){for(;!t.__zoom;)if(!(t=t.parentNode))return jD;return t.__zoom}var jD,QD=N(()=>{"use strict";o(Rh,"Transform");Rh.prototype={constructor:Rh,scale:o(function(t){return t===1?this:new Rh(this.k*t,this.x,this.y)},"scale"),translate:o(function(t,e){return t===0&e===0?this:new Rh(this.k,this.x+this.k*t,this.y+this.k*e)},"translate"),apply:o(function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},"apply"),applyX:o(function(t){return t*this.k+this.x},"applyX"),applyY:o(function(t){return t*this.k+this.y},"applyY"),invert:o(function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},"invert"),invertX:o(function(t){return(t-this.x)/this.k},"invertX"),invertY:o(function(t){return(t-this.y)/this.k},"invertY"),rescaleX:o(function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},"rescaleX"),rescaleY:o(function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},"rescaleY"),toString:o(function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"},"toString")};jD=new Rh(1,0,0);KD.prototype=Rh.prototype;o(KD,"transform")});var VY=N(()=>{"use strict"});var UY=N(()=>{"use strict";v5();zY();GY();QD();VY()});var HY=N(()=>{"use strict";UY();QD()});var pr=N(()=>{"use strict";bh();ZV();yW();TW();D0();wW();kW();$A();UU();EW();A_();SW();AW();H_();GW();hq();N0();N_();fq();CW();dq();eY();nY();ml();$Y();B5();RD();f5();v5();HY()});var WY=Ii(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.BLANK_URL=Qi.relativeFirstCharacters=Qi.whitespaceEscapeCharsRegex=Qi.urlSchemeRegex=Qi.ctrlCharactersRegex=Qi.htmlCtrlEntityRegex=Qi.htmlEntitiesRegex=Qi.invalidProtocolRegex=void 0;Qi.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;Qi.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;Qi.htmlCtrlEntityRegex=/&(newline|tab);/gi;Qi.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;Qi.urlSchemeRegex=/^.+(:|:)/gim;Qi.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;Qi.relativeFirstCharacters=[".","/"];Qi.BLANK_URL="about:blank"});var Y0=Ii(tT=>{"use strict";Object.defineProperty(tT,"__esModule",{value:!0});tT.sanitizeUrl=void 0;var _a=WY();function hSe(t){return _a.relativeFirstCharacters.indexOf(t[0])>-1}o(hSe,"isRelativeUrlWithoutProtocol");function fSe(t){var e=t.replace(_a.ctrlCharactersRegex,"");return e.replace(_a.htmlEntitiesRegex,function(r,n){return String.fromCharCode(n)})}o(fSe,"decodeHtmlCharacters");function dSe(t){return URL.canParse(t)}o(dSe,"isValidUrl");function qY(t){try{return decodeURIComponent(t)}catch{return t}}o(qY,"decodeURI");function pSe(t){if(!t)return _a.BLANK_URL;var e,r=qY(t.trim());do r=fSe(r).replace(_a.htmlCtrlEntityRegex,"").replace(_a.ctrlCharactersRegex,"").replace(_a.whitespaceEscapeCharsRegex,"").trim(),r=qY(r),e=r.match(_a.ctrlCharactersRegex)||r.match(_a.htmlEntitiesRegex)||r.match(_a.htmlCtrlEntityRegex)||r.match(_a.whitespaceEscapeCharsRegex);while(e&&e.length>0);var n=r;if(!n)return _a.BLANK_URL;if(hSe(n))return n;var i=n.trimStart(),a=i.match(_a.urlSchemeRegex);if(!a)return n;var s=a[0].toLowerCase().trim();if(_a.invalidProtocolRegex.test(s))return _a.BLANK_URL;var l=i.replace(/\\/g,"/");if(s==="mailto:"||s.includes("://"))return l;if(s==="http:"||s==="https:"){if(!dSe(l))return _a.BLANK_URL;var u=new URL(l);return u.protocol=u.protocol.toLowerCase(),u.hostname=u.hostname.toLowerCase(),u.toString()}return l}o(pSe,"sanitizeUrl");tT.sanitizeUrl=pSe});var ZD,Sd,rT,YY,XY,jY,Sl,Zv,Jv=N(()=>{"use strict";ZD=Sa(Y0(),1);dr();Sd=o((t,e)=>{let r=t.append("rect");if(r.attr("x",e.x),r.attr("y",e.y),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("width",e.width),r.attr("height",e.height),e.name&&r.attr("name",e.name),e.rx&&r.attr("rx",e.rx),e.ry&&r.attr("ry",e.ry),e.attrs!==void 0)for(let n in e.attrs)r.attr(n,e.attrs[n]);return e.class&&r.attr("class",e.class),r},"drawRect"),rT=o((t,e)=>{let r={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};Sd(t,r).lower()},"drawBackgroundRect"),YY=o((t,e)=>{let r=e.text.replace(rd," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),e.class&&n.attr("class",e.class);let i=n.append("tspan");return i.attr("x",e.x+e.textMargin*2),i.text(r),n},"drawText"),XY=o((t,e,r,n)=>{let i=t.append("image");i.attr("x",e),i.attr("y",r);let a=(0,ZD.sanitizeUrl)(n);i.attr("xlink:href",a)},"drawImage"),jY=o((t,e,r,n)=>{let i=t.append("use");i.attr("x",e),i.attr("y",r);let a=(0,ZD.sanitizeUrl)(n);i.attr("xlink:href",`#${a}`)},"drawEmbeddedImage"),Sl=o(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),Zv=o(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")});var KY,JD,QY,mSe,gSe,ySe,vSe,xSe,bSe,TSe,wSe,kSe,ESe,SSe,CSe,Eu,Cl,ZY=N(()=>{"use strict";dr();Jv();KY=Sa(Y0(),1),JD=o(function(t,e){return Sd(t,e)},"drawRect"),QY=o(function(t,e,r,n,i,a){let s=t.append("image");s.attr("width",e),s.attr("height",r),s.attr("x",n),s.attr("y",i);let l=a.startsWith("data:image/png;base64")?a:(0,KY.sanitizeUrl)(a);s.attr("xlink:href",l)},"drawImage"),mSe=o((t,e,r)=>{let n=t.append("g"),i=0;for(let a of e){let s=a.textColor?a.textColor:"#444444",l=a.lineColor?a.lineColor:"#444444",u=a.offsetX?parseInt(a.offsetX):0,h=a.offsetY?parseInt(a.offsetY):0,f="";if(i===0){let p=n.append("line");p.attr("x1",a.startPoint.x),p.attr("y1",a.startPoint.y),p.attr("x2",a.endPoint.x),p.attr("y2",a.endPoint.y),p.attr("stroke-width","1"),p.attr("stroke",l),p.style("fill","none"),a.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(a.type==="birel"||a.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)"),i=-1}else{let p=n.append("path");p.attr("fill","none").attr("stroke-width","1").attr("stroke",l).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",a.startPoint.x).replaceAll("starty",a.startPoint.y).replaceAll("controlx",a.startPoint.x+(a.endPoint.x-a.startPoint.x)/2-(a.endPoint.x-a.startPoint.x)/4).replaceAll("controly",a.startPoint.y+(a.endPoint.y-a.startPoint.y)/2).replaceAll("stopx",a.endPoint.x).replaceAll("stopy",a.endPoint.y)),a.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(a.type==="birel"||a.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)")}let d=r.messageFont();Eu(r)(a.label.text,n,Math.min(a.startPoint.x,a.endPoint.x)+Math.abs(a.endPoint.x-a.startPoint.x)/2+u,Math.min(a.startPoint.y,a.endPoint.y)+Math.abs(a.endPoint.y-a.startPoint.y)/2+h,a.label.width,a.label.height,{fill:s},d),a.techn&&a.techn.text!==""&&(d=r.messageFont(),Eu(r)("["+a.techn.text+"]",n,Math.min(a.startPoint.x,a.endPoint.x)+Math.abs(a.endPoint.x-a.startPoint.x)/2+u,Math.min(a.startPoint.y,a.endPoint.y)+Math.abs(a.endPoint.y-a.startPoint.y)/2+r.messageFontSize+5+h,Math.max(a.label.width,a.techn.width),a.techn.height,{fill:s,"font-style":"italic"},d))}},"drawRels"),gSe=o(function(t,e,r){let n=t.append("g"),i=e.bgColor?e.bgColor:"none",a=e.borderColor?e.borderColor:"#444444",s=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1});let u={x:e.x,y:e.y,fill:i,stroke:a,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l};JD(n,u);let h=r.boundaryFont();h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=s,Eu(r)(e.label.text,n,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},h),e.type&&e.type.text!==""&&(h=r.boundaryFont(),h.fontColor=s,Eu(r)(e.type.text,n,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},h)),e.descr&&e.descr.text!==""&&(h=r.boundaryFont(),h.fontSize=h.fontSize-2,h.fontColor=s,Eu(r)(e.descr.text,n,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},h))},"drawBoundary"),ySe=o(function(t,e,r){let n=e.bgColor?e.bgColor:r[e.typeC4Shape.text+"_bg_color"],i=e.borderColor?e.borderColor:r[e.typeC4Shape.text+"_border_color"],a=e.fontColor?e.fontColor:"#FFFFFF",s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(e.typeC4Shape.text){case"person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";break}let l=t.append("g");l.attr("class","person-man");let u=Sl();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":u.x=e.x,u.y=e.y,u.fill=n,u.width=e.width,u.height=e.height,u.stroke=i,u.rx=2.5,u.ry=2.5,u.attrs={"stroke-width":.5},JD(l,u);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":l.append("path").attr("fill",n).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2).replaceAll("height",e.height)),l.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":l.append("path").attr("fill",n).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("width",e.width).replaceAll("half",e.height/2)),l.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",e.x+e.width).replaceAll("starty",e.y).replaceAll("half",e.height/2));break}let h=CSe(r,e.typeC4Shape.text);switch(l.append("text").attr("fill",a).attr("font-family",h.fontFamily).attr("font-size",h.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",e.typeC4Shape.width).attr("x",e.x+e.width/2-e.typeC4Shape.width/2).attr("y",e.y+e.typeC4Shape.Y).text("<<"+e.typeC4Shape.text+">>"),e.typeC4Shape.text){case"person":case"external_person":QY(l,48,48,e.x+e.width/2-24,e.y+e.image.Y,s);break}let f=r[e.typeC4Shape.text+"Font"]();return f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=a,Eu(r)(e.label.text,l,e.x,e.y+e.label.Y,e.width,e.height,{fill:a},f),f=r[e.typeC4Shape.text+"Font"](),f.fontColor=a,e.techn&&e.techn?.text!==""?Eu(r)(e.techn.text,l,e.x,e.y+e.techn.Y,e.width,e.height,{fill:a,"font-style":"italic"},f):e.type&&e.type.text!==""&&Eu(r)(e.type.text,l,e.x,e.y+e.type.Y,e.width,e.height,{fill:a,"font-style":"italic"},f),e.descr&&e.descr.text!==""&&(f=r.personFont(),f.fontColor=a,Eu(r)(e.descr.text,l,e.x,e.y+e.descr.Y,e.width,e.height,{fill:a},f)),e.height},"drawC4Shape"),vSe=o(function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),xSe=o(function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),bSe=o(function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),TSe=o(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},"insertArrowHead"),wSe=o(function(t){t.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},"insertArrowEnd"),kSe=o(function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),ESe=o(function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},"insertDynamicNumber"),SSe=o(function(t){let r=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);r.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),r.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},"insertArrowCrossHead"),CSe=o((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"getC4ShapeFont"),Eu=function(){function t(i,a,s,l,u,h,f){let d=a.append("text").attr("x",s+u/2).attr("y",l+h/2+5).style("text-anchor","middle").text(i);n(d,f)}o(t,"byText");function e(i,a,s,l,u,h,f,d){let{fontSize:p,fontFamily:m,fontWeight:g}=d,y=i.split(Ze.lineBreakRegex);for(let v=0;v{"use strict";ASe=typeof global=="object"&&global&&global.Object===Object&&global,iT=ASe});var _Se,DSe,hi,Ro=N(()=>{"use strict";e9();_Se=typeof self=="object"&&self&&self.Object===Object&&self,DSe=iT||_Se||Function("return this")(),hi=DSe});var LSe,Zi,Cd=N(()=>{"use strict";Ro();LSe=hi.Symbol,Zi=LSe});function MSe(t){var e=RSe.call(t,e2),r=t[e2];try{t[e2]=void 0;var n=!0}catch{}var i=NSe.call(t);return n&&(e?t[e2]=r:delete t[e2]),i}var JY,RSe,NSe,e2,eX,tX=N(()=>{"use strict";Cd();JY=Object.prototype,RSe=JY.hasOwnProperty,NSe=JY.toString,e2=Zi?Zi.toStringTag:void 0;o(MSe,"getRawTag");eX=MSe});function PSe(t){return OSe.call(t)}var ISe,OSe,rX,nX=N(()=>{"use strict";ISe=Object.prototype,OSe=ISe.toString;o(PSe,"objectToString");rX=PSe});function $Se(t){return t==null?t===void 0?FSe:BSe:iX&&iX in Object(t)?eX(t):rX(t)}var BSe,FSe,iX,ua,Su=N(()=>{"use strict";Cd();tX();nX();BSe="[object Null]",FSe="[object Undefined]",iX=Zi?Zi.toStringTag:void 0;o($Se,"baseGetTag");ua=$Se});function zSe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var xn,to=N(()=>{"use strict";o(zSe,"isObject");xn=zSe});function WSe(t){if(!xn(t))return!1;var e=ua(t);return e==VSe||e==USe||e==GSe||e==HSe}var GSe,VSe,USe,HSe,Ci,t2=N(()=>{"use strict";Su();to();GSe="[object AsyncFunction]",VSe="[object Function]",USe="[object GeneratorFunction]",HSe="[object Proxy]";o(WSe,"isFunction");Ci=WSe});var qSe,aT,aX=N(()=>{"use strict";Ro();qSe=hi["__core-js_shared__"],aT=qSe});function YSe(t){return!!sX&&sX in t}var sX,oX,lX=N(()=>{"use strict";aX();sX=function(){var t=/[^.]+$/.exec(aT&&aT.keys&&aT.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();o(YSe,"isMasked");oX=YSe});function KSe(t){if(t!=null){try{return jSe.call(t)}catch{}try{return t+""}catch{}}return""}var XSe,jSe,Cu,t9=N(()=>{"use strict";XSe=Function.prototype,jSe=XSe.toString;o(KSe,"toSource");Cu=KSe});function i6e(t){if(!xn(t)||oX(t))return!1;var e=Ci(t)?n6e:ZSe;return e.test(Cu(t))}var QSe,ZSe,JSe,e6e,t6e,r6e,n6e,cX,uX=N(()=>{"use strict";t2();lX();to();t9();QSe=/[\\^$.*+?()[\]{}|]/g,ZSe=/^\[object .+?Constructor\]$/,JSe=Function.prototype,e6e=Object.prototype,t6e=JSe.toString,r6e=e6e.hasOwnProperty,n6e=RegExp("^"+t6e.call(r6e).replace(QSe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");o(i6e,"baseIsNative");cX=i6e});function a6e(t,e){return t?.[e]}var hX,fX=N(()=>{"use strict";o(a6e,"getValue");hX=a6e});function s6e(t,e){var r=hX(t,e);return cX(r)?r:void 0}var Cs,Nh=N(()=>{"use strict";uX();fX();o(s6e,"getNative");Cs=s6e});var o6e,Au,r2=N(()=>{"use strict";Nh();o6e=Cs(Object,"create"),Au=o6e});function l6e(){this.__data__=Au?Au(null):{},this.size=0}var dX,pX=N(()=>{"use strict";r2();o(l6e,"hashClear");dX=l6e});function c6e(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var mX,gX=N(()=>{"use strict";o(c6e,"hashDelete");mX=c6e});function d6e(t){var e=this.__data__;if(Au){var r=e[t];return r===u6e?void 0:r}return f6e.call(e,t)?e[t]:void 0}var u6e,h6e,f6e,yX,vX=N(()=>{"use strict";r2();u6e="__lodash_hash_undefined__",h6e=Object.prototype,f6e=h6e.hasOwnProperty;o(d6e,"hashGet");yX=d6e});function g6e(t){var e=this.__data__;return Au?e[t]!==void 0:m6e.call(e,t)}var p6e,m6e,xX,bX=N(()=>{"use strict";r2();p6e=Object.prototype,m6e=p6e.hasOwnProperty;o(g6e,"hashHas");xX=g6e});function v6e(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Au&&e===void 0?y6e:e,this}var y6e,TX,wX=N(()=>{"use strict";r2();y6e="__lodash_hash_undefined__";o(v6e,"hashSet");TX=v6e});function X0(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{"use strict";pX();gX();vX();bX();wX();o(X0,"Hash");X0.prototype.clear=dX;X0.prototype.delete=mX;X0.prototype.get=yX;X0.prototype.has=xX;X0.prototype.set=TX;r9=X0});function x6e(){this.__data__=[],this.size=0}var EX,SX=N(()=>{"use strict";o(x6e,"listCacheClear");EX=x6e});function b6e(t,e){return t===e||t!==t&&e!==e}var No,Ad=N(()=>{"use strict";o(b6e,"eq");No=b6e});function T6e(t,e){for(var r=t.length;r--;)if(No(t[r][0],e))return r;return-1}var Mh,n2=N(()=>{"use strict";Ad();o(T6e,"assocIndexOf");Mh=T6e});function E6e(t){var e=this.__data__,r=Mh(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():k6e.call(e,r,1),--this.size,!0}var w6e,k6e,CX,AX=N(()=>{"use strict";n2();w6e=Array.prototype,k6e=w6e.splice;o(E6e,"listCacheDelete");CX=E6e});function S6e(t){var e=this.__data__,r=Mh(e,t);return r<0?void 0:e[r][1]}var _X,DX=N(()=>{"use strict";n2();o(S6e,"listCacheGet");_X=S6e});function C6e(t){return Mh(this.__data__,t)>-1}var LX,RX=N(()=>{"use strict";n2();o(C6e,"listCacheHas");LX=C6e});function A6e(t,e){var r=this.__data__,n=Mh(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var NX,MX=N(()=>{"use strict";n2();o(A6e,"listCacheSet");NX=A6e});function j0(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{"use strict";SX();AX();DX();RX();MX();o(j0,"ListCache");j0.prototype.clear=EX;j0.prototype.delete=CX;j0.prototype.get=_X;j0.prototype.has=LX;j0.prototype.set=NX;Ih=j0});var _6e,Oh,sT=N(()=>{"use strict";Nh();Ro();_6e=Cs(hi,"Map"),Oh=_6e});function D6e(){this.size=0,this.__data__={hash:new r9,map:new(Oh||Ih),string:new r9}}var IX,OX=N(()=>{"use strict";kX();i2();sT();o(D6e,"mapCacheClear");IX=D6e});function L6e(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var PX,BX=N(()=>{"use strict";o(L6e,"isKeyable");PX=L6e});function R6e(t,e){var r=t.__data__;return PX(e)?r[typeof e=="string"?"string":"hash"]:r.map}var Ph,a2=N(()=>{"use strict";BX();o(R6e,"getMapData");Ph=R6e});function N6e(t){var e=Ph(this,t).delete(t);return this.size-=e?1:0,e}var FX,$X=N(()=>{"use strict";a2();o(N6e,"mapCacheDelete");FX=N6e});function M6e(t){return Ph(this,t).get(t)}var zX,GX=N(()=>{"use strict";a2();o(M6e,"mapCacheGet");zX=M6e});function I6e(t){return Ph(this,t).has(t)}var VX,UX=N(()=>{"use strict";a2();o(I6e,"mapCacheHas");VX=I6e});function O6e(t,e){var r=Ph(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}var HX,WX=N(()=>{"use strict";a2();o(O6e,"mapCacheSet");HX=O6e});function K0(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{"use strict";OX();$X();GX();UX();WX();o(K0,"MapCache");K0.prototype.clear=IX;K0.prototype.delete=FX;K0.prototype.get=zX;K0.prototype.has=VX;K0.prototype.set=HX;_d=K0});function n9(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(P6e);var r=o(function(){var n=arguments,i=e?e.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var s=t.apply(this,n);return r.cache=a.set(i,s)||a,s},"memoized");return r.cache=new(n9.Cache||_d),r}var P6e,Q0,i9=N(()=>{"use strict";oT();P6e="Expected a function";o(n9,"memoize");n9.Cache=_d;Q0=n9});function B6e(){this.__data__=new Ih,this.size=0}var qX,YX=N(()=>{"use strict";i2();o(B6e,"stackClear");qX=B6e});function F6e(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var XX,jX=N(()=>{"use strict";o(F6e,"stackDelete");XX=F6e});function $6e(t){return this.__data__.get(t)}var KX,QX=N(()=>{"use strict";o($6e,"stackGet");KX=$6e});function z6e(t){return this.__data__.has(t)}var ZX,JX=N(()=>{"use strict";o(z6e,"stackHas");ZX=z6e});function V6e(t,e){var r=this.__data__;if(r instanceof Ih){var n=r.__data__;if(!Oh||n.length{"use strict";i2();sT();oT();G6e=200;o(V6e,"stackSet");ej=V6e});function Z0(t){var e=this.__data__=new Ih(t);this.size=e.size}var hc,s2=N(()=>{"use strict";i2();YX();jX();QX();JX();tj();o(Z0,"Stack");Z0.prototype.clear=qX;Z0.prototype.delete=XX;Z0.prototype.get=KX;Z0.prototype.has=ZX;Z0.prototype.set=ej;hc=Z0});var U6e,J0,a9=N(()=>{"use strict";Nh();U6e=function(){try{var t=Cs(Object,"defineProperty");return t({},"",{}),t}catch{}}(),J0=U6e});function H6e(t,e,r){e=="__proto__"&&J0?J0(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var fc,em=N(()=>{"use strict";a9();o(H6e,"baseAssignValue");fc=H6e});function W6e(t,e,r){(r!==void 0&&!No(t[e],r)||r===void 0&&!(e in t))&&fc(t,e,r)}var o2,s9=N(()=>{"use strict";em();Ad();o(W6e,"assignMergeValue");o2=W6e});function q6e(t){return function(e,r,n){for(var i=-1,a=Object(e),s=n(e),l=s.length;l--;){var u=s[t?l:++i];if(r(a[u],u,a)===!1)break}return e}}var rj,nj=N(()=>{"use strict";o(q6e,"createBaseFor");rj=q6e});var Y6e,tm,lT=N(()=>{"use strict";nj();Y6e=rj(),tm=Y6e});function j6e(t,e){if(e)return t.slice();var r=t.length,n=sj?sj(r):new t.constructor(r);return t.copy(n),n}var oj,ij,X6e,aj,sj,cT,o9=N(()=>{"use strict";Ro();oj=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ij=oj&&typeof module=="object"&&module&&!module.nodeType&&module,X6e=ij&&ij.exports===oj,aj=X6e?hi.Buffer:void 0,sj=aj?aj.allocUnsafe:void 0;o(j6e,"cloneBuffer");cT=j6e});var K6e,rm,l9=N(()=>{"use strict";Ro();K6e=hi.Uint8Array,rm=K6e});function Q6e(t){var e=new t.constructor(t.byteLength);return new rm(e).set(new rm(t)),e}var nm,uT=N(()=>{"use strict";l9();o(Q6e,"cloneArrayBuffer");nm=Q6e});function Z6e(t,e){var r=e?nm(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var hT,c9=N(()=>{"use strict";uT();o(Z6e,"cloneTypedArray");hT=Z6e});function J6e(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{"use strict";o(J6e,"copyArray");fT=J6e});var lj,eCe,cj,uj=N(()=>{"use strict";to();lj=Object.create,eCe=function(){function t(){}return o(t,"object"),function(e){if(!xn(e))return{};if(lj)return lj(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),cj=eCe});function tCe(t,e){return function(r){return t(e(r))}}var dT,h9=N(()=>{"use strict";o(tCe,"overArg");dT=tCe});var rCe,im,pT=N(()=>{"use strict";h9();rCe=dT(Object.getPrototypeOf,Object),im=rCe});function iCe(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||nCe;return t===r}var nCe,dc,am=N(()=>{"use strict";nCe=Object.prototype;o(iCe,"isPrototype");dc=iCe});function aCe(t){return typeof t.constructor=="function"&&!dc(t)?cj(im(t)):{}}var mT,f9=N(()=>{"use strict";uj();pT();am();o(aCe,"initCloneObject");mT=aCe});function sCe(t){return t!=null&&typeof t=="object"}var ni,Mo=N(()=>{"use strict";o(sCe,"isObjectLike");ni=sCe});function lCe(t){return ni(t)&&ua(t)==oCe}var oCe,d9,hj=N(()=>{"use strict";Su();Mo();oCe="[object Arguments]";o(lCe,"baseIsArguments");d9=lCe});var fj,cCe,uCe,hCe,Al,sm=N(()=>{"use strict";hj();Mo();fj=Object.prototype,cCe=fj.hasOwnProperty,uCe=fj.propertyIsEnumerable,hCe=d9(function(){return arguments}())?d9:function(t){return ni(t)&&cCe.call(t,"callee")&&!uCe.call(t,"callee")},Al=hCe});var fCe,Pt,Un=N(()=>{"use strict";fCe=Array.isArray,Pt=fCe});function pCe(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=dCe}var dCe,om,gT=N(()=>{"use strict";dCe=9007199254740991;o(pCe,"isLength");om=pCe});function mCe(t){return t!=null&&om(t.length)&&!Ci(t)}var fi,Io=N(()=>{"use strict";t2();gT();o(mCe,"isArrayLike");fi=mCe});function gCe(t){return ni(t)&&fi(t)}var Dd,yT=N(()=>{"use strict";Io();Mo();o(gCe,"isArrayLikeObject");Dd=gCe});function yCe(){return!1}var dj,pj=N(()=>{"use strict";o(yCe,"stubFalse");dj=yCe});var yj,mj,vCe,gj,xCe,bCe,_l,lm=N(()=>{"use strict";Ro();pj();yj=typeof exports=="object"&&exports&&!exports.nodeType&&exports,mj=yj&&typeof module=="object"&&module&&!module.nodeType&&module,vCe=mj&&mj.exports===yj,gj=vCe?hi.Buffer:void 0,xCe=gj?gj.isBuffer:void 0,bCe=xCe||dj,_l=bCe});function CCe(t){if(!ni(t)||ua(t)!=TCe)return!1;var e=im(t);if(e===null)return!0;var r=ECe.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&vj.call(r)==SCe}var TCe,wCe,kCe,vj,ECe,SCe,xj,bj=N(()=>{"use strict";Su();pT();Mo();TCe="[object Object]",wCe=Function.prototype,kCe=Object.prototype,vj=wCe.toString,ECe=kCe.hasOwnProperty,SCe=vj.call(Object);o(CCe,"isPlainObject");xj=CCe});function QCe(t){return ni(t)&&om(t.length)&&!!Bn[ua(t)]}var ACe,_Ce,DCe,LCe,RCe,NCe,MCe,ICe,OCe,PCe,BCe,FCe,$Ce,zCe,GCe,VCe,UCe,HCe,WCe,qCe,YCe,XCe,jCe,KCe,Bn,Tj,wj=N(()=>{"use strict";Su();gT();Mo();ACe="[object Arguments]",_Ce="[object Array]",DCe="[object Boolean]",LCe="[object Date]",RCe="[object Error]",NCe="[object Function]",MCe="[object Map]",ICe="[object Number]",OCe="[object Object]",PCe="[object RegExp]",BCe="[object Set]",FCe="[object String]",$Ce="[object WeakMap]",zCe="[object ArrayBuffer]",GCe="[object DataView]",VCe="[object Float32Array]",UCe="[object Float64Array]",HCe="[object Int8Array]",WCe="[object Int16Array]",qCe="[object Int32Array]",YCe="[object Uint8Array]",XCe="[object Uint8ClampedArray]",jCe="[object Uint16Array]",KCe="[object Uint32Array]",Bn={};Bn[VCe]=Bn[UCe]=Bn[HCe]=Bn[WCe]=Bn[qCe]=Bn[YCe]=Bn[XCe]=Bn[jCe]=Bn[KCe]=!0;Bn[ACe]=Bn[_Ce]=Bn[zCe]=Bn[DCe]=Bn[GCe]=Bn[LCe]=Bn[RCe]=Bn[NCe]=Bn[MCe]=Bn[ICe]=Bn[OCe]=Bn[PCe]=Bn[BCe]=Bn[FCe]=Bn[$Ce]=!1;o(QCe,"baseIsTypedArray");Tj=QCe});function ZCe(t){return function(e){return t(e)}}var Oo,Ld=N(()=>{"use strict";o(ZCe,"baseUnary");Oo=ZCe});var kj,l2,JCe,p9,e7e,Po,c2=N(()=>{"use strict";e9();kj=typeof exports=="object"&&exports&&!exports.nodeType&&exports,l2=kj&&typeof module=="object"&&module&&!module.nodeType&&module,JCe=l2&&l2.exports===kj,p9=JCe&&iT.process,e7e=function(){try{var t=l2&&l2.require&&l2.require("util").types;return t||p9&&p9.binding&&p9.binding("util")}catch{}}(),Po=e7e});var Ej,t7e,Bh,u2=N(()=>{"use strict";wj();Ld();c2();Ej=Po&&Po.isTypedArray,t7e=Ej?Oo(Ej):Tj,Bh=t7e});function r7e(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var h2,m9=N(()=>{"use strict";o(r7e,"safeGet");h2=r7e});function a7e(t,e,r){var n=t[e];(!(i7e.call(t,e)&&No(n,r))||r===void 0&&!(e in t))&&fc(t,e,r)}var n7e,i7e,pc,cm=N(()=>{"use strict";em();Ad();n7e=Object.prototype,i7e=n7e.hasOwnProperty;o(a7e,"assignValue");pc=a7e});function s7e(t,e,r,n){var i=!r;r||(r={});for(var a=-1,s=e.length;++a{"use strict";cm();em();o(s7e,"copyObject");Bo=s7e});function o7e(t,e){for(var r=-1,n=Array(t);++r{"use strict";o(o7e,"baseTimes");Sj=o7e});function u7e(t,e){var r=typeof t;return e=e??l7e,!!e&&(r=="number"||r!="symbol"&&c7e.test(t))&&t>-1&&t%1==0&&t{"use strict";l7e=9007199254740991,c7e=/^(?:0|[1-9]\d*)$/;o(u7e,"isIndex");Fh=u7e});function d7e(t,e){var r=Pt(t),n=!r&&Al(t),i=!r&&!n&&_l(t),a=!r&&!n&&!i&&Bh(t),s=r||n||i||a,l=s?Sj(t.length,String):[],u=l.length;for(var h in t)(e||f7e.call(t,h))&&!(s&&(h=="length"||i&&(h=="offset"||h=="parent")||a&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||Fh(h,u)))&&l.push(h);return l}var h7e,f7e,vT,g9=N(()=>{"use strict";Cj();sm();Un();lm();f2();u2();h7e=Object.prototype,f7e=h7e.hasOwnProperty;o(d7e,"arrayLikeKeys");vT=d7e});function p7e(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var Aj,_j=N(()=>{"use strict";o(p7e,"nativeKeysIn");Aj=p7e});function y7e(t){if(!xn(t))return Aj(t);var e=dc(t),r=[];for(var n in t)n=="constructor"&&(e||!g7e.call(t,n))||r.push(n);return r}var m7e,g7e,Dj,Lj=N(()=>{"use strict";to();am();_j();m7e=Object.prototype,g7e=m7e.hasOwnProperty;o(y7e,"baseKeysIn");Dj=y7e});function v7e(t){return fi(t)?vT(t,!0):Dj(t)}var As,$h=N(()=>{"use strict";g9();Lj();Io();o(v7e,"keysIn");As=v7e});function x7e(t){return Bo(t,As(t))}var Rj,Nj=N(()=>{"use strict";Rd();$h();o(x7e,"toPlainObject");Rj=x7e});function b7e(t,e,r,n,i,a,s){var l=h2(t,r),u=h2(e,r),h=s.get(u);if(h){o2(t,r,h);return}var f=a?a(l,u,r+"",t,e,s):void 0,d=f===void 0;if(d){var p=Pt(u),m=!p&&_l(u),g=!p&&!m&&Bh(u);f=u,p||m||g?Pt(l)?f=l:Dd(l)?f=fT(l):m?(d=!1,f=cT(u,!0)):g?(d=!1,f=hT(u,!0)):f=[]:xj(u)||Al(u)?(f=l,Al(l)?f=Rj(l):(!xn(l)||Ci(l))&&(f=mT(u))):d=!1}d&&(s.set(u,f),i(f,u,n,a,s),s.delete(u)),o2(t,r,f)}var Mj,Ij=N(()=>{"use strict";s9();o9();c9();u9();f9();sm();Un();yT();lm();t2();to();bj();u2();m9();Nj();o(b7e,"baseMergeDeep");Mj=b7e});function Oj(t,e,r,n,i){t!==e&&tm(e,function(a,s){if(i||(i=new hc),xn(a))Mj(t,e,s,r,Oj,n,i);else{var l=n?n(h2(t,s),a,s+"",t,e,i):void 0;l===void 0&&(l=a),o2(t,s,l)}},As)}var Pj,Bj=N(()=>{"use strict";s2();s9();lT();Ij();to();$h();m9();o(Oj,"baseMerge");Pj=Oj});function T7e(t){return t}var Ji,_u=N(()=>{"use strict";o(T7e,"identity");Ji=T7e});function w7e(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Fj,$j=N(()=>{"use strict";o(w7e,"apply");Fj=w7e});function k7e(t,e,r){return e=zj(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,a=zj(n.length-e,0),s=Array(a);++i{"use strict";$j();zj=Math.max;o(k7e,"overRest");xT=k7e});function E7e(t){return function(){return t}}var _s,v9=N(()=>{"use strict";o(E7e,"constant");_s=E7e});var S7e,Gj,Vj=N(()=>{"use strict";v9();a9();_u();S7e=J0?function(t,e){return J0(t,"toString",{configurable:!0,enumerable:!1,value:_s(e),writable:!0})}:Ji,Gj=S7e});function D7e(t){var e=0,r=0;return function(){var n=_7e(),i=A7e-(n-r);if(r=n,i>0){if(++e>=C7e)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var C7e,A7e,_7e,Uj,Hj=N(()=>{"use strict";C7e=800,A7e=16,_7e=Date.now;o(D7e,"shortOut");Uj=D7e});var L7e,bT,x9=N(()=>{"use strict";Vj();Hj();L7e=Uj(Gj),bT=L7e});function R7e(t,e){return bT(xT(t,e,Ji),t+"")}var mc,um=N(()=>{"use strict";_u();y9();x9();o(R7e,"baseRest");mc=R7e});function N7e(t,e,r){if(!xn(r))return!1;var n=typeof e;return(n=="number"?fi(r)&&Fh(e,r.length):n=="string"&&e in r)?No(r[e],t):!1}var ro,Nd=N(()=>{"use strict";Ad();Io();f2();to();o(N7e,"isIterateeCall");ro=N7e});function M7e(t){return mc(function(e,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=t.length>3&&typeof a=="function"?(i--,a):void 0,s&&ro(r[0],r[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++n{"use strict";um();Nd();o(M7e,"createAssigner");TT=M7e});var I7e,zh,T9=N(()=>{"use strict";Bj();b9();I7e=TT(function(t,e,r){Pj(t,e,r)}),zh=I7e});function E9(t,e){if(!t)return e;let r=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return O7e[r]??e}function $7e(t,e){let r=t.trim();if(r)return e.securityLevel!=="loose"?(0,Yj.sanitizeUrl)(r):r}function Kj(t,e){return!t||!e?0:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function G7e(t){let e,r=0;t.forEach(i=>{r+=Kj(i,e),e=i});let n=r/2;return S9(t,n)}function V7e(t){return t.length===1?t[0]:G7e(t)}function H7e(t,e,r){let n=structuredClone(r);X.info("our points",n),e!=="start_left"&&e!=="start_right"&&n.reverse();let i=25+t,a=S9(n,i),s=10+t*.5,l=Math.atan2(n[0].y-a.y,n[0].x-a.x),u={x:0,y:0};return e==="start_left"?(u.x=Math.sin(l+Math.PI)*s+(n[0].x+a.x)/2,u.y=-Math.cos(l+Math.PI)*s+(n[0].y+a.y)/2):e==="end_right"?(u.x=Math.sin(l-Math.PI)*s+(n[0].x+a.x)/2-5,u.y=-Math.cos(l-Math.PI)*s+(n[0].y+a.y)/2-5):e==="end_left"?(u.x=Math.sin(l)*s+(n[0].x+a.x)/2-5,u.y=-Math.cos(l)*s+(n[0].y+a.y)/2-5):(u.x=Math.sin(l)*s+(n[0].x+a.x)/2,u.y=-Math.cos(l)*s+(n[0].y+a.y)/2),u}function C9(t){let e="",r="";for(let n of t)n!==void 0&&(n.startsWith("color:")||n.startsWith("text-align:")?r=r+n+";":e=e+n+";");return{style:e,labelStyle:r}}function W7e(t){let e="",r="0123456789abcdef",n=r.length;for(let i=0;iMath.round(parseFloat(a)).toString());return i.includes(r.toString())||i.includes(n.toString())}var Yj,k9,O7e,P7e,B7e,Xj,jj,F7e,z7e,Wj,S9,U7e,qj,A9,_9,q7e,Y7e,D9,X7e,L9,w9,wT,j7e,K7e,Fo,Vt,Qj,ta,Gh,nr=N(()=>{"use strict";Yj=Sa(Y0(),1);pr();dr();h7();yt();ad();c0();i9();T9();I3();k9="\u200B",O7e={curveBasis:Lo,curveBasisClosed:q5,curveBasisOpen:Y5,curveBumpX:$v,curveBumpY:zv,curveBundle:GD,curveCardinalClosed:VD,curveCardinalOpen:HD,curveCardinal:Hv,curveCatmullRomClosed:qD,curveCatmullRomOpen:YD,curveCatmullRom:Yv,curveLinear:ku,curveLinearClosed:Z5,curveMonotoneX:Xv,curveMonotoneY:jv,curveNatural:W0,curveStep:q0,curveStepAfter:Qv,curveStepBefore:Kv},P7e=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,B7e=o(function(t,e){let r=Xj(t,/(?:init\b)|(?:initialize\b)/),n={};if(Array.isArray(r)){let s=r.map(l=>l.args);h0(s),n=Gn(n,[...s])}else n=r.args;if(!n)return;let i=b0(t,e),a="config";return n[a]!==void 0&&(i==="flowchart-v2"&&(i="flowchart"),n[i]=n[a],delete n[a]),n},"detectInit"),Xj=o(function(t,e=null){try{let r=new RegExp(`[%]{2}(?![{]${P7e.source})(?=[}][%]{2}).* -`,"ig");t=t.trim().replace(r,"").replace(/'/gm,'"'),X.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let n,i=[];for(;(n=id.exec(t))!==null;)if(n.index===id.lastIndex&&id.lastIndex++,n&&!e||e&&n[1]?.match(e)||e&&n[2]?.match(e)){let a=n[1]?n[1]:n[2],s=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null;i.push({type:a,args:s})}return i.length===0?{type:t,args:null}:i.length===1?i[0]:i}catch(r){return X.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),jj=o(function(t){return t.replace(id,"")},"removeDirectives"),F7e=o(function(t,e){for(let[r,n]of e.entries())if(n.match(t))return r;return-1},"isSubstringInArray");o(E9,"interpolateToCurve");o($7e,"formatUrl");z7e=o((t,...e)=>{let r=t.split("."),n=r.length-1,i=r[n],a=window;for(let s=0;s{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),S9=o((t,e)=>{let r,n=e;for(let i of t){if(r){let a=Kj(i,r);if(a===0)return r;if(a=1)return{x:i.x,y:i.y};if(s>0&&s<1)return{x:Wj((1-s)*r.x+s*i.x,5),y:Wj((1-s)*r.y+s*i.y,5)}}}r=i}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),U7e=o((t,e,r)=>{X.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let i=S9(e,25),a=t?10:5,s=Math.atan2(e[0].y-i.y,e[0].x-i.x),l={x:0,y:0};return l.x=Math.sin(s)*a+(e[0].x+i.x)/2,l.y=-Math.cos(s)*a+(e[0].y+i.y)/2,l},"calcCardinalityPosition");o(H7e,"calcTerminalLabelPosition");o(C9,"getStylesFromArray");qj=0,A9=o(()=>(qj++,"id-"+Math.random().toString(36).substr(2,12)+"-"+qj),"generateId");o(W7e,"makeRandomHex");_9=o(t=>W7e(t.length),"random"),q7e=o(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),Y7e=o(function(t,e){let r=e.text.replace(Ze.lineBreakRegex," "),[,n]=Fo(e.fontSize),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.style("text-anchor",e.anchor),i.style("font-family",e.fontFamily),i.style("font-size",n),i.style("font-weight",e.fontWeight),i.attr("fill",e.fill),e.class!==void 0&&i.attr("class",e.class);let a=i.append("tspan");return a.attr("x",e.x+e.textMargin*2),a.attr("fill",e.fill),a.text(r),i},"drawSimpleText"),D9=Q0((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},r),Ze.lineBreakRegex.test(t)))return t;let n=t.split(" ").filter(Boolean),i=[],a="";return n.forEach((s,l)=>{let u=ea(`${s} `,r),h=ea(a,r);if(u>e){let{hyphenatedStrings:p,remainingWord:m}=X7e(s,e,"-",r);i.push(a,...p),a=m}else h+u>=e?(i.push(a),a=s):a=[a,s].filter(Boolean).join(" ");l+1===n.length&&i.push(a)}),i.filter(s=>s!=="").join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),X7e=Q0((t,e,r="-",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);let i=[...t],a=[],s="";return i.forEach((l,u)=>{let h=`${s}${l}`;if(ea(h,n)>=e){let d=u+1,p=i.length===d,m=`${h}${r}`;a.push(p?h:m),s=""}else s=h}),{hyphenatedStrings:a,remainingWord:s}},(t,e,r="-",n)=>`${t}${e}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`);o(kT,"calculateTextHeight");o(ea,"calculateTextWidth");L9=Q0((t,e)=>{let{fontSize:r=12,fontFamily:n="Arial",fontWeight:i=400}=e;if(!t)return{width:0,height:0};let[,a]=Fo(r),s=["sans-serif",n],l=t.split(Ze.lineBreakRegex),u=[],h=Ge("body");if(!h.remove)return{width:0,height:0,lineHeight:0};let f=h.append("svg");for(let p of s){let m=0,g={width:0,height:0,lineHeight:0};for(let y of l){let v=q7e();v.text=y||k9;let x=Y7e(f,v).style("font-size",a).style("font-weight",i).style("font-family",p),b=(x._groups||x)[0][0].getBBox();if(b.width===0&&b.height===0)throw new Error("svg element not in render tree");g.width=Math.round(Math.max(g.width,b.width)),m=Math.round(b.height),g.height+=m,g.lineHeight=Math.round(Math.max(g.lineHeight,m))}u.push(g)}f.remove();let d=isNaN(u[1].height)||isNaN(u[1].width)||isNaN(u[1].lineHeight)||u[0].height>u[1].height&&u[0].width>u[1].width&&u[0].lineHeight>u[1].lineHeight?0:1;return u[d]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),w9=class{constructor(e=!1,r){this.count=0;this.count=r?r.length:0,this.next=e?()=>this.count++:()=>Date.now()}static{o(this,"InitIDGenerator")}},j7e=o(function(t){return wT=wT||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),wT.innerHTML=t,unescape(wT.textContent)},"entityDecode");o(R9,"isDetailedError");K7e=o((t,e,r,n)=>{if(!n)return;let i=t.node()?.getBBox();i&&t.append("text").text(n).attr("text-anchor","middle").attr("x",i.x+i.width/2).attr("y",-r).attr("class",e)},"insertTitle"),Fo=o(t=>{if(typeof t=="number")return[t,t+"px"];let e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");o(Fn,"cleanAndMerge");Vt={assignWithDepth:Gn,wrapLabel:D9,calculateTextHeight:kT,calculateTextWidth:ea,calculateTextDimensions:L9,cleanAndMerge:Fn,detectInit:B7e,detectDirective:Xj,isSubstringInArray:F7e,interpolateToCurve:E9,calcLabelPosition:V7e,calcCardinalityPosition:U7e,calcTerminalLabelPosition:H7e,formatUrl:$7e,getStylesFromArray:C9,generateId:A9,random:_9,runFunc:z7e,entityDecode:j7e,insertTitle:K7e,isLabelCoordinateInPath:Q7e,parseFontSize:Fo,InitIDGenerator:w9},Qj=o(function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/#\w+;/g,function(r){let n=r.substring(1,r.length-1);return/^\+?\d+$/.test(n)?"\uFB02\xB0\xB0"+n+"\xB6\xDF":"\uFB02\xB0"+n+"\xB6\xDF"}),e},"encodeEntities"),ta=o(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),Gh=o((t,e,{counter:r=0,prefix:n,suffix:i},a)=>a||`${n?`${n}_`:""}${t}_${e}_${r}${i?`_${i}`:""}`,"getEdgeId");o(ii,"handleUndefinedAttr");o(Q7e,"isLabelCoordinateInPath")});function Dl(t,e,r,n,i){if(!e[t].width)if(r)e[t].text=D9(e[t].text,i,n),e[t].textLines=e[t].text.split(Ze.lineBreakRegex).length,e[t].width=i,e[t].height=kT(e[t].text,n);else{let a=e[t].text.split(Ze.lineBreakRegex);e[t].textLines=a.length;let s=0;e[t].height=0,e[t].width=0;for(let l of a)e[t].width=Math.max(ea(l,n),e[t].width),s=kT(l,n),e[t].height=e[t].height+s}}function rK(t,e,r,n,i){let a=new AT(i);a.data.widthLimit=r.data.widthLimit/Math.min(N9,n.length);for(let[s,l]of n.entries()){let u=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=u,u=l.image.Y+l.image.height);let h=l.wrap&&Ut.wrap,f=ET(Ut);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",Dl("label",l,h,f,a.data.widthLimit),l.label.Y=u+8,u=l.label.Y+l.label.height,l.type&&l.type.text!==""){l.type.text="["+l.type.text+"]";let g=ET(Ut);Dl("type",l,h,g,a.data.widthLimit),l.type.Y=u+5,u=l.type.Y+l.type.height}if(l.descr&&l.descr.text!==""){let g=ET(Ut);g.fontSize=g.fontSize-2,Dl("descr",l,h,g,a.data.widthLimit),l.descr.Y=u+20,u=l.descr.Y+l.descr.height}if(s==0||s%N9===0){let g=r.data.startx+Ut.diagramMarginX,y=r.data.stopy+Ut.diagramMarginY+u;a.setData(g,g,y,y)}else{let g=a.data.stopx!==a.data.startx?a.data.stopx+Ut.diagramMarginX:a.data.startx,y=a.data.starty;a.setData(g,g,y,y)}a.name=l.alias;let d=i.db.getC4ShapeArray(l.alias),p=i.db.getC4ShapeKeys(l.alias);p.length>0&&tK(a,t,d,p),e=l.alias;let m=i.db.getBoundaries(e);m.length>0&&rK(t,e,a,m,i),l.alias!=="global"&&eK(t,l,a),r.data.stopy=Math.max(a.data.stopy+Ut.c4ShapeMargin,r.data.stopy),r.data.stopx=Math.max(a.data.stopx+Ut.c4ShapeMargin,r.data.stopx),ST=Math.max(ST,r.data.stopx),CT=Math.max(CT,r.data.stopy)}}var ST,CT,Jj,N9,Ut,AT,M9,d2,ET,Z7e,eK,tK,Ds,Zj,J7e,eAe,tAe,I9,nK=N(()=>{"use strict";pr();ZY();yt();yA();dr();AA();qt();c0();nr();yi();ST=0,CT=0,Jj=4,N9=2;Zy.yy=iv;Ut={},AT=class{static{o(this,"Bounds")}constructor(e){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,M9(e.db.getConfig())}setData(e,r,n,i){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=r,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=i}updateVal(e,r,n,i){e[r]===void 0?e[r]=n:e[r]=i(n,e[r])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let r=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+e.margin:this.nextData.stopx+e.margin*2,n=r+e.width,i=this.nextData.starty+e.margin*2,a=i+e.height;(r>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>Jj)&&(r=this.nextData.startx+e.margin+Ut.nextLinePaddingX,i=this.nextData.stopy+e.margin*2,this.nextData.stopx=n=r+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=a=i+e.height,this.nextData.cnt=1),e.x=r,e.y=i,this.updateVal(this.data,"startx",r,Math.min),this.updateVal(this.data,"starty",i,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",a,Math.max),this.updateVal(this.nextData,"startx",r,Math.min),this.updateVal(this.nextData,"starty",i,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",a,Math.max)}init(e){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},M9(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}},M9=o(function(t){Gn(Ut,t),t.fontFamily&&(Ut.personFontFamily=Ut.systemFontFamily=Ut.messageFontFamily=t.fontFamily),t.fontSize&&(Ut.personFontSize=Ut.systemFontSize=Ut.messageFontSize=t.fontSize),t.fontWeight&&(Ut.personFontWeight=Ut.systemFontWeight=Ut.messageFontWeight=t.fontWeight)},"setConf"),d2=o((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"c4ShapeFont"),ET=o(t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),"boundaryFont"),Z7e=o(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont");o(Dl,"calcC4ShapeTextWH");eK=o(function(t,e,r){e.x=r.data.startx,e.y=r.data.starty,e.width=r.data.stopx-r.data.startx,e.height=r.data.stopy-r.data.starty,e.label.y=Ut.c4ShapeMargin-35;let n=e.wrap&&Ut.wrap,i=ET(Ut);i.fontSize=i.fontSize+2,i.fontWeight="bold";let a=ea(e.label.text,i);Dl("label",e,n,i,a),Cl.drawBoundary(t,e,Ut)},"drawBoundary"),tK=o(function(t,e,r,n){let i=0;for(let a of n){i=0;let s=r[a],l=d2(Ut,s.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,s.typeC4Shape.width=ea("\xAB"+s.typeC4Shape.text+"\xBB",l),s.typeC4Shape.height=l.fontSize+2,s.typeC4Shape.Y=Ut.c4ShapePadding,i=s.typeC4Shape.Y+s.typeC4Shape.height-4,s.image={width:0,height:0,Y:0},s.typeC4Shape.text){case"person":case"external_person":s.image.width=48,s.image.height=48,s.image.Y=i,i=s.image.Y+s.image.height;break}s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=i,i=s.image.Y+s.image.height);let u=s.wrap&&Ut.wrap,h=Ut.width-Ut.c4ShapePadding*2,f=d2(Ut,s.typeC4Shape.text);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",Dl("label",s,u,f,h),s.label.Y=i+8,i=s.label.Y+s.label.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let m=d2(Ut,s.typeC4Shape.text);Dl("type",s,u,m,h),s.type.Y=i+5,i=s.type.Y+s.type.height}else if(s.techn&&s.techn.text!==""){s.techn.text="["+s.techn.text+"]";let m=d2(Ut,s.techn.text);Dl("techn",s,u,m,h),s.techn.Y=i+5,i=s.techn.Y+s.techn.height}let d=i,p=s.label.width;if(s.descr&&s.descr.text!==""){let m=d2(Ut,s.typeC4Shape.text);Dl("descr",s,u,m,h),s.descr.Y=i+20,i=s.descr.Y+s.descr.height,p=Math.max(s.label.width,s.descr.width),d=i-s.descr.textLines*5}p=p+Ut.c4ShapePadding,s.width=Math.max(s.width||Ut.width,p,Ut.width),s.height=Math.max(s.height||Ut.height,d,Ut.height),s.margin=s.margin||Ut.c4ShapeMargin,t.insert(s),Cl.drawC4Shape(e,s,Ut)}t.bumpLastMargin(Ut.c4ShapeMargin)},"drawC4ShapeArray"),Ds=class{static{o(this,"Point")}constructor(e,r){this.x=e,this.y=r}},Zj=o(function(t,e){let r=t.x,n=t.y,i=e.x,a=e.y,s=r+t.width/2,l=n+t.height/2,u=Math.abs(r-i),h=Math.abs(n-a),f=h/u,d=t.height/t.width,p=null;return n==a&&ri?p=new Ds(r,l):r==i&&na&&(p=new Ds(s,n)),r>i&&n=f?p=new Ds(r,l+f*t.width/2):p=new Ds(s-u/h*t.height/2,n+t.height):r=f?p=new Ds(r+t.width,l+f*t.width/2):p=new Ds(s+u/h*t.height/2,n+t.height):ra?d>=f?p=new Ds(r+t.width,l-f*t.width/2):p=new Ds(s+t.height/2*u/h,n):r>i&&n>a&&(d>=f?p=new Ds(r,l-t.width/2*f):p=new Ds(s-t.height/2*u/h,n)),p},"getIntersectPoint"),J7e=o(function(t,e){let r={x:0,y:0};r.x=e.x+e.width/2,r.y=e.y+e.height/2;let n=Zj(t,r);r.x=t.x+t.width/2,r.y=t.y+t.height/2;let i=Zj(e,r);return{startPoint:n,endPoint:i}},"getIntersectPoints"),eAe=o(function(t,e,r,n){let i=0;for(let a of e){i=i+1;let s=a.wrap&&Ut.wrap,l=Z7e(Ut);n.db.getC4Type()==="C4Dynamic"&&(a.label.text=i+": "+a.label.text);let h=ea(a.label.text,l);Dl("label",a,s,l,h),a.techn&&a.techn.text!==""&&(h=ea(a.techn.text,l),Dl("techn",a,s,l,h)),a.descr&&a.descr.text!==""&&(h=ea(a.descr.text,l),Dl("descr",a,s,l,h));let f=r(a.from),d=r(a.to),p=J7e(f,d);a.startPoint=p.startPoint,a.endPoint=p.endPoint}Cl.drawRels(t,e,Ut)},"drawRels");o(rK,"drawInsideBoundary");tAe=o(function(t,e,r,n){Ut=ge().c4;let i=ge().securityLevel,a;i==="sandbox"&&(a=Ge("#i"+e));let s=i==="sandbox"?Ge(a.nodes()[0].contentDocument.body):Ge("body"),l=n.db;n.db.setWrap(Ut.wrap),Jj=l.getC4ShapeInRow(),N9=l.getC4BoundaryInRow(),X.debug(`C:${JSON.stringify(Ut,null,2)}`);let u=i==="sandbox"?s.select(`[id="${e}"]`):Ge(`[id="${e}"]`);Cl.insertComputerIcon(u),Cl.insertDatabaseIcon(u),Cl.insertClockIcon(u);let h=new AT(n);h.setData(Ut.diagramMarginX,Ut.diagramMarginX,Ut.diagramMarginY,Ut.diagramMarginY),h.data.widthLimit=screen.availWidth,ST=Ut.diagramMarginX,CT=Ut.diagramMarginY;let f=n.db.getTitle(),d=n.db.getBoundaries("");rK(u,"",h,d,n),Cl.insertArrowHead(u),Cl.insertArrowEnd(u),Cl.insertArrowCrossHead(u),Cl.insertArrowFilledHead(u),eAe(u,n.db.getRels(),n.db.getC4Shape,n),h.data.stopx=ST,h.data.stopy=CT;let p=h.data,g=p.stopy-p.starty+2*Ut.diagramMarginY,v=p.stopx-p.startx+2*Ut.diagramMarginX;f&&u.append("text").text(f).attr("x",(p.stopx-p.startx)/2-4*Ut.diagramMarginX).attr("y",p.starty+Ut.diagramMarginY),hn(u,g,v,Ut.useMaxWidth);let x=f?60:0;u.attr("viewBox",p.startx-Ut.diagramMarginX+" -"+(Ut.diagramMarginY+x)+" "+v+" "+(g+x)),X.debug("models:",p)},"draw"),I9={drawPersonOrSystemArray:tK,drawBoundary:eK,setConf:M9,draw:tAe}});var rAe,iK,aK=N(()=>{"use strict";rAe=o(t=>`.person { +`},"getStyles"),BV=o((t,e)=>{e!==void 0&&(F3[t]=e)},"addStylesForDiagram"),FV=E5e});var ev={};ur(ev,{clear:()=>wr,getAccDescription:()=>Lr,getAccTitle:()=>_r,getDiagramTitle:()=>Rr,setAccDescription:()=>Dr,setAccTitle:()=>Cr,setDiagramTitle:()=>Or});var AA,_A,DA,LA,wr,Cr,_r,Dr,Lr,Or,Rr,ui=N(()=>{"use strict";dr();Wn();AA="",_A="",DA="",LA=o(t=>ar(t,Qt()),"sanitizeText"),wr=o(()=>{AA="",DA="",_A=""},"clear"),Cr=o(t=>{AA=LA(t).replace(/^\s+/g,"")},"setAccTitle"),_r=o(()=>AA,"getAccTitle"),Dr=o(t=>{DA=LA(t).replace(/\n\s+/g,` +`)},"setAccDescription"),Lr=o(()=>DA,"getAccDescription"),Or=o(t=>{_A=LA(t)},"setDiagramTitle"),Rr=o(()=>_A,"getDiagramTitle")});var $V,S5e,ge,tv,G3,rv,NA,C5e,$3,md,nv,RA,Xt=N(()=>{"use strict";pd();pt();Wn();dr();Ci();CA();ui();$V=X,S5e=Ay,ge=Qt,tv=r3,G3=dh,rv=o(t=>ar(t,ge()),"sanitizeText"),NA=nc,C5e=o(()=>ev,"getCommonDb"),$3={},md=o((t,e,r)=>{$3[t]&&$V.warn(`Diagram with id ${t} already registered. Overwriting.`),$3[t]=e,r&&EA(t,r),BV(t,e.styles),e.injectUtils?.($V,S5e,ge,rv,NA,C5e(),()=>{})},"registerDiagram"),nv=o(t=>{if(t in $3)return $3[t];throw new RA(t)},"getDiagram"),RA=class extends Error{static{o(this,"DiagramNotFoundError")}constructor(e){super(`Diagram ${e} not found.`)}}});var ml,Th,ns,pl,ic,iv,MA,IA,z3,V3,GV,A5e,_5e,D5e,L5e,R5e,N5e,M5e,I5e,O5e,P5e,B5e,F5e,$5e,G5e,z5e,V5e,U5e,zV,H5e,W5e,VV,q5e,Y5e,X5e,j5e,wh,K5e,Q5e,Z5e,J5e,eTe,av,OA=N(()=>{"use strict";Xt();dr();ui();ml=[],Th=[""],ns="global",pl="",ic=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],iv=[],MA="",IA=!1,z3=4,V3=2,A5e=o(function(){return GV},"getC4Type"),_5e=o(function(t){GV=ar(t,ge())},"setC4Type"),D5e=o(function(t,e,r,n,i,a,s,l,u){if(t==null||e===void 0||e===null||r===void 0||r===null||n===void 0||n===null)return;let h={},f=iv.find(d=>d.from===e&&d.to===r);if(f?h=f:iv.push(h),h.type=t,h.from=e,h.to=r,h.label={text:n},i==null)h.techn={text:""};else if(typeof i=="object"){let[d,p]=Object.entries(i)[0];h[d]={text:p}}else h.techn={text:i};if(a==null)h.descr={text:""};else if(typeof a=="object"){let[d,p]=Object.entries(a)[0];h[d]={text:p}}else h.descr={text:a};if(typeof s=="object"){let[d,p]=Object.entries(s)[0];h[d]=p}else h.sprite=s;if(typeof l=="object"){let[d,p]=Object.entries(l)[0];h[d]=p}else h.tags=l;if(typeof u=="object"){let[d,p]=Object.entries(u)[0];h[d]=p}else h.link=u;h.wrap=wh()},"addRel"),L5e=o(function(t,e,r,n,i,a,s){if(e===null||r===null)return;let l={},u=ml.find(h=>h.alias===e);if(u&&e===u.alias?l=u:(l.alias=e,ml.push(l)),r==null?l.label={text:""}:l.label={text:r},n==null)l.descr={text:""};else if(typeof n=="object"){let[h,f]=Object.entries(n)[0];l[h]={text:f}}else l.descr={text:n};if(typeof i=="object"){let[h,f]=Object.entries(i)[0];l[h]=f}else l.sprite=i;if(typeof a=="object"){let[h,f]=Object.entries(a)[0];l[h]=f}else l.tags=a;if(typeof s=="object"){let[h,f]=Object.entries(s)[0];l[h]=f}else l.link=s;l.typeC4Shape={text:t},l.parentBoundary=ns,l.wrap=wh()},"addPersonOrSystem"),R5e=o(function(t,e,r,n,i,a,s,l){if(e===null||r===null)return;let u={},h=ml.find(f=>f.alias===e);if(h&&e===h.alias?u=h:(u.alias=e,ml.push(u)),r==null?u.label={text:""}:u.label={text:r},n==null)u.techn={text:""};else if(typeof n=="object"){let[f,d]=Object.entries(n)[0];u[f]={text:d}}else u.techn={text:n};if(i==null)u.descr={text:""};else if(typeof i=="object"){let[f,d]=Object.entries(i)[0];u[f]={text:d}}else u.descr={text:i};if(typeof a=="object"){let[f,d]=Object.entries(a)[0];u[f]=d}else u.sprite=a;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];u[f]=d}else u.tags=s;if(typeof l=="object"){let[f,d]=Object.entries(l)[0];u[f]=d}else u.link=l;u.wrap=wh(),u.typeC4Shape={text:t},u.parentBoundary=ns},"addContainer"),N5e=o(function(t,e,r,n,i,a,s,l){if(e===null||r===null)return;let u={},h=ml.find(f=>f.alias===e);if(h&&e===h.alias?u=h:(u.alias=e,ml.push(u)),r==null?u.label={text:""}:u.label={text:r},n==null)u.techn={text:""};else if(typeof n=="object"){let[f,d]=Object.entries(n)[0];u[f]={text:d}}else u.techn={text:n};if(i==null)u.descr={text:""};else if(typeof i=="object"){let[f,d]=Object.entries(i)[0];u[f]={text:d}}else u.descr={text:i};if(typeof a=="object"){let[f,d]=Object.entries(a)[0];u[f]=d}else u.sprite=a;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];u[f]=d}else u.tags=s;if(typeof l=="object"){let[f,d]=Object.entries(l)[0];u[f]=d}else u.link=l;u.wrap=wh(),u.typeC4Shape={text:t},u.parentBoundary=ns},"addComponent"),M5e=o(function(t,e,r,n,i){if(t===null||e===null)return;let a={},s=ic.find(l=>l.alias===t);if(s&&t===s.alias?a=s:(a.alias=t,ic.push(a)),e==null?a.label={text:""}:a.label={text:e},r==null)a.type={text:"system"};else if(typeof r=="object"){let[l,u]=Object.entries(r)[0];a[l]={text:u}}else a.type={text:r};if(typeof n=="object"){let[l,u]=Object.entries(n)[0];a[l]=u}else a.tags=n;if(typeof i=="object"){let[l,u]=Object.entries(i)[0];a[l]=u}else a.link=i;a.parentBoundary=ns,a.wrap=wh(),pl=ns,ns=t,Th.push(pl)},"addPersonOrSystemBoundary"),I5e=o(function(t,e,r,n,i){if(t===null||e===null)return;let a={},s=ic.find(l=>l.alias===t);if(s&&t===s.alias?a=s:(a.alias=t,ic.push(a)),e==null?a.label={text:""}:a.label={text:e},r==null)a.type={text:"container"};else if(typeof r=="object"){let[l,u]=Object.entries(r)[0];a[l]={text:u}}else a.type={text:r};if(typeof n=="object"){let[l,u]=Object.entries(n)[0];a[l]=u}else a.tags=n;if(typeof i=="object"){let[l,u]=Object.entries(i)[0];a[l]=u}else a.link=i;a.parentBoundary=ns,a.wrap=wh(),pl=ns,ns=t,Th.push(pl)},"addContainerBoundary"),O5e=o(function(t,e,r,n,i,a,s,l){if(e===null||r===null)return;let u={},h=ic.find(f=>f.alias===e);if(h&&e===h.alias?u=h:(u.alias=e,ic.push(u)),r==null?u.label={text:""}:u.label={text:r},n==null)u.type={text:"node"};else if(typeof n=="object"){let[f,d]=Object.entries(n)[0];u[f]={text:d}}else u.type={text:n};if(i==null)u.descr={text:""};else if(typeof i=="object"){let[f,d]=Object.entries(i)[0];u[f]={text:d}}else u.descr={text:i};if(typeof s=="object"){let[f,d]=Object.entries(s)[0];u[f]=d}else u.tags=s;if(typeof l=="object"){let[f,d]=Object.entries(l)[0];u[f]=d}else u.link=l;u.nodeType=t,u.parentBoundary=ns,u.wrap=wh(),pl=ns,ns=e,Th.push(pl)},"addDeploymentNode"),P5e=o(function(){ns=pl,Th.pop(),pl=Th.pop(),Th.push(pl)},"popBoundaryParseStack"),B5e=o(function(t,e,r,n,i,a,s,l,u,h,f){let d=ml.find(p=>p.alias===e);if(!(d===void 0&&(d=ic.find(p=>p.alias===e),d===void 0))){if(r!=null)if(typeof r=="object"){let[p,m]=Object.entries(r)[0];d[p]=m}else d.bgColor=r;if(n!=null)if(typeof n=="object"){let[p,m]=Object.entries(n)[0];d[p]=m}else d.fontColor=n;if(i!=null)if(typeof i=="object"){let[p,m]=Object.entries(i)[0];d[p]=m}else d.borderColor=i;if(a!=null)if(typeof a=="object"){let[p,m]=Object.entries(a)[0];d[p]=m}else d.shadowing=a;if(s!=null)if(typeof s=="object"){let[p,m]=Object.entries(s)[0];d[p]=m}else d.shape=s;if(l!=null)if(typeof l=="object"){let[p,m]=Object.entries(l)[0];d[p]=m}else d.sprite=l;if(u!=null)if(typeof u=="object"){let[p,m]=Object.entries(u)[0];d[p]=m}else d.techn=u;if(h!=null)if(typeof h=="object"){let[p,m]=Object.entries(h)[0];d[p]=m}else d.legendText=h;if(f!=null)if(typeof f=="object"){let[p,m]=Object.entries(f)[0];d[p]=m}else d.legendSprite=f}},"updateElStyle"),F5e=o(function(t,e,r,n,i,a,s){let l=iv.find(u=>u.from===e&&u.to===r);if(l!==void 0){if(n!=null)if(typeof n=="object"){let[u,h]=Object.entries(n)[0];l[u]=h}else l.textColor=n;if(i!=null)if(typeof i=="object"){let[u,h]=Object.entries(i)[0];l[u]=h}else l.lineColor=i;if(a!=null)if(typeof a=="object"){let[u,h]=Object.entries(a)[0];l[u]=parseInt(h)}else l.offsetX=parseInt(a);if(s!=null)if(typeof s=="object"){let[u,h]=Object.entries(s)[0];l[u]=parseInt(h)}else l.offsetY=parseInt(s)}},"updateRelStyle"),$5e=o(function(t,e,r){let n=z3,i=V3;if(typeof e=="object"){let a=Object.values(e)[0];n=parseInt(a)}else n=parseInt(e);if(typeof r=="object"){let a=Object.values(r)[0];i=parseInt(a)}else i=parseInt(r);n>=1&&(z3=n),i>=1&&(V3=i)},"updateLayoutConfig"),G5e=o(function(){return z3},"getC4ShapeInRow"),z5e=o(function(){return V3},"getC4BoundaryInRow"),V5e=o(function(){return ns},"getCurrentBoundaryParse"),U5e=o(function(){return pl},"getParentBoundaryParse"),zV=o(function(t){return t==null?ml:ml.filter(e=>e.parentBoundary===t)},"getC4ShapeArray"),H5e=o(function(t){return ml.find(e=>e.alias===t)},"getC4Shape"),W5e=o(function(t){return Object.keys(zV(t))},"getC4ShapeKeys"),VV=o(function(t){return t==null?ic:ic.filter(e=>e.parentBoundary===t)},"getBoundaries"),q5e=VV,Y5e=o(function(){return iv},"getRels"),X5e=o(function(){return MA},"getTitle"),j5e=o(function(t){IA=t},"setWrap"),wh=o(function(){return IA},"autoWrap"),K5e=o(function(){ml=[],ic=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],pl="",ns="global",Th=[""],iv=[],Th=[""],MA="",IA=!1,z3=4,V3=2},"clear"),Q5e={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},Z5e={FILLED:0,OPEN:1},J5e={LEFTOF:0,RIGHTOF:1,OVER:2},eTe=o(function(t){MA=ar(t,ge())},"setTitle"),av={addPersonOrSystem:L5e,addPersonOrSystemBoundary:M5e,addContainer:R5e,addContainerBoundary:I5e,addComponent:N5e,addDeploymentNode:O5e,popBoundaryParseStack:P5e,addRel:D5e,updateElStyle:B5e,updateRelStyle:F5e,updateLayoutConfig:$5e,autoWrap:wh,setWrap:j5e,getC4ShapeArray:zV,getC4Shape:H5e,getC4ShapeKeys:W5e,getBoundaries:VV,getBoundarys:q5e,getCurrentBoundaryParse:V5e,getParentBoundaryParse:U5e,getRels:Y5e,getTitle:X5e,getC4Type:A5e,getC4ShapeInRow:G5e,getC4BoundaryInRow:z5e,setAccTitle:Cr,getAccTitle:_r,getAccDescription:Lr,setAccDescription:Dr,getConfig:o(()=>ge().c4,"getConfig"),clear:K5e,LINETYPE:Q5e,ARROWTYPE:Z5e,PLACEMENT:J5e,setTitle:eTe,setC4Type:_5e}});function gd(t,e){return t==null||e==null?NaN:te?1:t>=e?0:NaN}var PA=N(()=>{"use strict";o(gd,"ascending")});function BA(t,e){return t==null||e==null?NaN:et?1:e>=t?0:NaN}var UV=N(()=>{"use strict";o(BA,"descending")});function yd(t){let e,r,n;t.length!==2?(e=gd,r=o((l,u)=>gd(t(l),u),"compare2"),n=o((l,u)=>t(l)-u,"delta")):(e=t===gd||t===BA?t:tTe,r=t,n=t);function i(l,u,h=0,f=l.length){if(h>>1;r(l[d],u)<0?h=d+1:f=d}while(h>>1;r(l[d],u)<=0?h=d+1:f=d}while(hh&&n(l[d-1],u)>-n(l[d],u)?d-1:d}return o(s,"center"),{left:i,center:s,right:a}}function tTe(){return 0}var FA=N(()=>{"use strict";PA();UV();o(yd,"bisector");o(tTe,"zero")});function $A(t){return t===null?NaN:+t}var HV=N(()=>{"use strict";o($A,"number")});var WV,qV,rTe,nTe,GA,YV=N(()=>{"use strict";PA();FA();HV();WV=yd(gd),qV=WV.right,rTe=WV.left,nTe=yd($A).center,GA=qV});function XV({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):r}function iTe({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}function aTe({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}function sTe(t){return t!==null&&typeof t=="object"?t.valueOf():t}var S0,jV=N(()=>{"use strict";S0=class extends Map{static{o(this,"InternMap")}constructor(e,r=sTe){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),e!=null)for(let[n,i]of e)this.set(n,i)}get(e){return super.get(XV(this,e))}has(e){return super.has(XV(this,e))}set(e,r){return super.set(iTe(this,e),r)}delete(e){return super.delete(aTe(this,e))}};o(XV,"intern_get");o(iTe,"intern_set");o(aTe,"intern_delete");o(sTe,"keyof")});function U3(t,e,r){let n=(e-t)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),s=a>=oTe?10:a>=lTe?5:a>=cTe?2:1,l,u,h;return i<0?(h=Math.pow(10,-i)/s,l=Math.round(t*h),u=Math.round(e*h),l/he&&--u,h=-h):(h=Math.pow(10,i)*s,l=Math.round(t/h),u=Math.round(e/h),l*he&&--u),u0))return[];if(t===e)return[t];let n=e=i))return[];let l=a-i+1,u=new Array(l);if(n)if(s<0)for(let h=0;h{"use strict";oTe=Math.sqrt(50),lTe=Math.sqrt(10),cTe=Math.sqrt(2);o(U3,"tickSpec");o(H3,"ticks");o(sv,"tickIncrement");o(C0,"tickStep")});function W3(t,e){let r;if(e===void 0)for(let n of t)n!=null&&(r=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r=i)&&(r=i)}return r}var QV=N(()=>{"use strict";o(W3,"max")});function q3(t,e){let r;if(e===void 0)for(let n of t)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}return r}var ZV=N(()=>{"use strict";o(q3,"min")});function Y3(t,e,r){t=+t,e=+e,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((e-t)/r))|0,a=new Array(i);++n{"use strict";o(Y3,"range")});var kh=N(()=>{"use strict";YV();FA();QV();ZV();JV();KV();jV()});function zA(t){return t}var eU=N(()=>{"use strict";o(zA,"default")});function uTe(t){return"translate("+t+",0)"}function hTe(t){return"translate(0,"+t+")"}function fTe(t){return e=>+t(e)}function dTe(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function pTe(){return!this.__axis}function rU(t,e){var r=[],n=null,i=null,a=6,s=6,l=3,u=typeof window<"u"&&window.devicePixelRatio>1?0:.5,h=t===j3||t===X3?-1:1,f=t===X3||t===VA?"x":"y",d=t===j3||t===UA?uTe:hTe;function p(m){var g=n??(e.ticks?e.ticks.apply(e,r):e.domain()),y=i??(e.tickFormat?e.tickFormat.apply(e,r):zA),x=Math.max(a,0)+l,v=e.range(),b=+v[0]+u,T=+v[v.length-1]+u,S=(e.bandwidth?dTe:fTe)(e.copy(),u),w=m.selection?m.selection():m,E=w.selectAll(".domain").data([null]),_=w.selectAll(".tick").data(g,e).order(),A=_.exit(),D=_.enter().append("g").attr("class","tick"),O=_.select("line"),R=_.select("text");E=E.merge(E.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),_=_.merge(D),O=O.merge(D.append("line").attr("stroke","currentColor").attr(f+"2",h*a)),R=R.merge(D.append("text").attr("fill","currentColor").attr(f,h*x).attr("dy",t===j3?"0em":t===UA?"0.71em":"0.32em")),m!==w&&(E=E.transition(m),_=_.transition(m),O=O.transition(m),R=R.transition(m),A=A.transition(m).attr("opacity",tU).attr("transform",function(k){return isFinite(k=S(k))?d(k+u):this.getAttribute("transform")}),D.attr("opacity",tU).attr("transform",function(k){var L=this.parentNode.__axis;return d((L&&isFinite(L=L(k))?L:S(k))+u)})),A.remove(),E.attr("d",t===X3||t===VA?s?"M"+h*s+","+b+"H"+u+"V"+T+"H"+h*s:"M"+u+","+b+"V"+T:s?"M"+b+","+h*s+"V"+u+"H"+T+"V"+h*s:"M"+b+","+u+"H"+T),_.attr("opacity",1).attr("transform",function(k){return d(S(k)+u)}),O.attr(f+"2",h*a),R.attr(f,h*x).text(y),w.filter(pTe).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===VA?"start":t===X3?"end":"middle"),w.each(function(){this.__axis=S})}return o(p,"axis"),p.scale=function(m){return arguments.length?(e=m,p):e},p.ticks=function(){return r=Array.from(arguments),p},p.tickArguments=function(m){return arguments.length?(r=m==null?[]:Array.from(m),p):r.slice()},p.tickValues=function(m){return arguments.length?(n=m==null?null:Array.from(m),p):n&&n.slice()},p.tickFormat=function(m){return arguments.length?(i=m,p):i},p.tickSize=function(m){return arguments.length?(a=s=+m,p):a},p.tickSizeInner=function(m){return arguments.length?(a=+m,p):a},p.tickSizeOuter=function(m){return arguments.length?(s=+m,p):s},p.tickPadding=function(m){return arguments.length?(l=+m,p):l},p.offset=function(m){return arguments.length?(u=+m,p):u},p}function HA(t){return rU(j3,t)}function WA(t){return rU(UA,t)}var j3,VA,UA,X3,tU,nU=N(()=>{"use strict";eU();j3=1,VA=2,UA=3,X3=4,tU=1e-6;o(uTe,"translateX");o(hTe,"translateY");o(fTe,"number");o(dTe,"center");o(pTe,"entering");o(rU,"axis");o(HA,"axisTop");o(WA,"axisBottom")});var iU=N(()=>{"use strict";nU()});function sU(){for(var t=0,e=arguments.length,r={},n;t=0&&(n=r.slice(i+1),r=r.slice(0,i)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:n}})}function yTe(t,e){for(var r=0,n=t.length,i;r{"use strict";mTe={value:o(()=>{},"value")};o(sU,"dispatch");o(K3,"Dispatch");o(gTe,"parseTypenames");K3.prototype=sU.prototype={constructor:K3,on:o(function(t,e){var r=this._,n=gTe(t+"",r),i,a=-1,s=n.length;if(arguments.length<2){for(;++a0)for(var r=new Array(i),n=0,i,a;n{"use strict";oU()});var Q3,XA,jA=N(()=>{"use strict";Q3="http://www.w3.org/1999/xhtml",XA={svg:"http://www.w3.org/2000/svg",xhtml:Q3,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}});function ac(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),XA.hasOwnProperty(e)?{space:XA[e],local:t}:t}var Z3=N(()=>{"use strict";jA();o(ac,"default")});function vTe(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===Q3&&e.documentElement.namespaceURI===Q3?e.createElement(t):e.createElementNS(r,t)}}function xTe(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function ov(t){var e=ac(t);return(e.local?xTe:vTe)(e)}var KA=N(()=>{"use strict";Z3();jA();o(vTe,"creatorInherit");o(xTe,"creatorFixed");o(ov,"default")});function bTe(){}function Eh(t){return t==null?bTe:function(){return this.querySelector(t)}}var J3=N(()=>{"use strict";o(bTe,"none");o(Eh,"default")});function QA(t){typeof t!="function"&&(t=Eh(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i{"use strict";gl();J3();o(QA,"default")});function ZA(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}var cU=N(()=>{"use strict";o(ZA,"array")});function TTe(){return[]}function A0(t){return t==null?TTe:function(){return this.querySelectorAll(t)}}var JA=N(()=>{"use strict";o(TTe,"empty");o(A0,"default")});function wTe(t){return function(){return ZA(t.apply(this,arguments))}}function e8(t){typeof t=="function"?t=wTe(t):t=A0(t);for(var e=this._groups,r=e.length,n=[],i=[],a=0;a{"use strict";gl();cU();JA();o(wTe,"arrayAll");o(e8,"default")});function _0(t){return function(){return this.matches(t)}}function e5(t){return function(e){return e.matches(t)}}var lv=N(()=>{"use strict";o(_0,"default");o(e5,"childMatcher")});function ETe(t){return function(){return kTe.call(this.children,t)}}function STe(){return this.firstElementChild}function t8(t){return this.select(t==null?STe:ETe(typeof t=="function"?t:e5(t)))}var kTe,hU=N(()=>{"use strict";lv();kTe=Array.prototype.find;o(ETe,"childFind");o(STe,"childFirst");o(t8,"default")});function ATe(){return Array.from(this.children)}function _Te(t){return function(){return CTe.call(this.children,t)}}function r8(t){return this.selectAll(t==null?ATe:_Te(typeof t=="function"?t:e5(t)))}var CTe,fU=N(()=>{"use strict";lv();CTe=Array.prototype.filter;o(ATe,"children");o(_Te,"childrenFilter");o(r8,"default")});function n8(t){typeof t!="function"&&(t=_0(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i{"use strict";gl();lv();o(n8,"default")});function cv(t){return new Array(t.length)}var i8=N(()=>{"use strict";o(cv,"default")});function a8(){return new hi(this._enter||this._groups.map(cv),this._parents)}function uv(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}var s8=N(()=>{"use strict";i8();gl();o(a8,"default");o(uv,"EnterNode");uv.prototype={constructor:uv,appendChild:o(function(t){return this._parent.insertBefore(t,this._next)},"appendChild"),insertBefore:o(function(t,e){return this._parent.insertBefore(t,e)},"insertBefore"),querySelector:o(function(t){return this._parent.querySelector(t)},"querySelector"),querySelectorAll:o(function(t){return this._parent.querySelectorAll(t)},"querySelectorAll")}});function o8(t){return function(){return t}}var pU=N(()=>{"use strict";o(o8,"default")});function DTe(t,e,r,n,i,a){for(var s=0,l,u=e.length,h=a.length;s=T&&(T=b+1);!(w=x[T])&&++T{"use strict";gl();s8();pU();o(DTe,"bindIndex");o(LTe,"bindKey");o(RTe,"datum");o(l8,"default");o(NTe,"arraylike")});function c8(){return new hi(this._exit||this._groups.map(cv),this._parents)}var gU=N(()=>{"use strict";i8();gl();o(c8,"default")});function u8(t,e,r){var n=this.enter(),i=this,a=this.exit();return typeof t=="function"?(n=t(n),n&&(n=n.selection())):n=n.append(t+""),e!=null&&(i=e(i),i&&(i=i.selection())),r==null?a.remove():r(a),n&&i?n.merge(i).order():i}var yU=N(()=>{"use strict";o(u8,"default")});function h8(t){for(var e=t.selection?t.selection():t,r=this._groups,n=e._groups,i=r.length,a=n.length,s=Math.min(i,a),l=new Array(i),u=0;u{"use strict";gl();o(h8,"default")});function f8(){for(var t=this._groups,e=-1,r=t.length;++e=0;)(s=n[i])&&(a&&s.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(s,a),a=s);return this}var xU=N(()=>{"use strict";o(f8,"default")});function d8(t){t||(t=MTe);function e(d,p){return d&&p?t(d.__data__,p.__data__):!d-!p}o(e,"compareNode");for(var r=this._groups,n=r.length,i=new Array(n),a=0;ae?1:t>=e?0:NaN}var bU=N(()=>{"use strict";gl();o(d8,"default");o(MTe,"ascending")});function p8(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}var TU=N(()=>{"use strict";o(p8,"default")});function m8(){return Array.from(this)}var wU=N(()=>{"use strict";o(m8,"default")});function g8(){for(var t=this._groups,e=0,r=t.length;e{"use strict";o(g8,"default")});function y8(){let t=0;for(let e of this)++t;return t}var EU=N(()=>{"use strict";o(y8,"default")});function v8(){return!this.node()}var SU=N(()=>{"use strict";o(v8,"default")});function x8(t){for(var e=this._groups,r=0,n=e.length;r{"use strict";o(x8,"default")});function ITe(t){return function(){this.removeAttribute(t)}}function OTe(t){return function(){this.removeAttributeNS(t.space,t.local)}}function PTe(t,e){return function(){this.setAttribute(t,e)}}function BTe(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function FTe(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function $Te(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function b8(t,e){var r=ac(t);if(arguments.length<2){var n=this.node();return r.local?n.getAttributeNS(r.space,r.local):n.getAttribute(r)}return this.each((e==null?r.local?OTe:ITe:typeof e=="function"?r.local?$Te:FTe:r.local?BTe:PTe)(r,e))}var AU=N(()=>{"use strict";Z3();o(ITe,"attrRemove");o(OTe,"attrRemoveNS");o(PTe,"attrConstant");o(BTe,"attrConstantNS");o(FTe,"attrFunction");o($Te,"attrFunctionNS");o(b8,"default")});function hv(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}var T8=N(()=>{"use strict";o(hv,"default")});function GTe(t){return function(){this.style.removeProperty(t)}}function zTe(t,e,r){return function(){this.style.setProperty(t,e,r)}}function VTe(t,e,r){return function(){var n=e.apply(this,arguments);n==null?this.style.removeProperty(t):this.style.setProperty(t,n,r)}}function w8(t,e,r){return arguments.length>1?this.each((e==null?GTe:typeof e=="function"?VTe:zTe)(t,e,r??"")):Sh(this.node(),t)}function Sh(t,e){return t.style.getPropertyValue(e)||hv(t).getComputedStyle(t,null).getPropertyValue(e)}var k8=N(()=>{"use strict";T8();o(GTe,"styleRemove");o(zTe,"styleConstant");o(VTe,"styleFunction");o(w8,"default");o(Sh,"styleValue")});function UTe(t){return function(){delete this[t]}}function HTe(t,e){return function(){this[t]=e}}function WTe(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function E8(t,e){return arguments.length>1?this.each((e==null?UTe:typeof e=="function"?WTe:HTe)(t,e)):this.node()[t]}var _U=N(()=>{"use strict";o(UTe,"propertyRemove");o(HTe,"propertyConstant");o(WTe,"propertyFunction");o(E8,"default")});function DU(t){return t.trim().split(/^|\s+/)}function S8(t){return t.classList||new LU(t)}function LU(t){this._node=t,this._names=DU(t.getAttribute("class")||"")}function RU(t,e){for(var r=S8(t),n=-1,i=e.length;++n{"use strict";o(DU,"classArray");o(S8,"classList");o(LU,"ClassList");LU.prototype={add:o(function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},"add"),remove:o(function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},"remove"),contains:o(function(t){return this._names.indexOf(t)>=0},"contains")};o(RU,"classedAdd");o(NU,"classedRemove");o(qTe,"classedTrue");o(YTe,"classedFalse");o(XTe,"classedFunction");o(C8,"default")});function jTe(){this.textContent=""}function KTe(t){return function(){this.textContent=t}}function QTe(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function A8(t){return arguments.length?this.each(t==null?jTe:(typeof t=="function"?QTe:KTe)(t)):this.node().textContent}var IU=N(()=>{"use strict";o(jTe,"textRemove");o(KTe,"textConstant");o(QTe,"textFunction");o(A8,"default")});function ZTe(){this.innerHTML=""}function JTe(t){return function(){this.innerHTML=t}}function ewe(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function _8(t){return arguments.length?this.each(t==null?ZTe:(typeof t=="function"?ewe:JTe)(t)):this.node().innerHTML}var OU=N(()=>{"use strict";o(ZTe,"htmlRemove");o(JTe,"htmlConstant");o(ewe,"htmlFunction");o(_8,"default")});function twe(){this.nextSibling&&this.parentNode.appendChild(this)}function D8(){return this.each(twe)}var PU=N(()=>{"use strict";o(twe,"raise");o(D8,"default")});function rwe(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function L8(){return this.each(rwe)}var BU=N(()=>{"use strict";o(rwe,"lower");o(L8,"default")});function R8(t){var e=typeof t=="function"?t:ov(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}var FU=N(()=>{"use strict";KA();o(R8,"default")});function nwe(){return null}function N8(t,e){var r=typeof t=="function"?t:ov(t),n=e==null?nwe:typeof e=="function"?e:Eh(e);return this.select(function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)})}var $U=N(()=>{"use strict";KA();J3();o(nwe,"constantNull");o(N8,"default")});function iwe(){var t=this.parentNode;t&&t.removeChild(this)}function M8(){return this.each(iwe)}var GU=N(()=>{"use strict";o(iwe,"remove");o(M8,"default")});function awe(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function swe(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function I8(t){return this.select(t?swe:awe)}var zU=N(()=>{"use strict";o(awe,"selection_cloneShallow");o(swe,"selection_cloneDeep");o(I8,"default")});function O8(t){return arguments.length?this.property("__data__",t):this.node().__data__}var VU=N(()=>{"use strict";o(O8,"default")});function owe(t){return function(e){t.call(this,e,this.__data__)}}function lwe(t){return t.trim().split(/^|\s+/).map(function(e){var r="",n=e.indexOf(".");return n>=0&&(r=e.slice(n+1),e=e.slice(0,n)),{type:e,name:r}})}function cwe(t){return function(){var e=this.__on;if(e){for(var r=0,n=-1,i=e.length,a;r{"use strict";o(owe,"contextListener");o(lwe,"parseTypenames");o(cwe,"onRemove");o(uwe,"onAdd");o(P8,"default")});function HU(t,e,r){var n=hv(t),i=n.CustomEvent;typeof i=="function"?i=new i(e,r):(i=n.document.createEvent("Event"),r?(i.initEvent(e,r.bubbles,r.cancelable),i.detail=r.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function hwe(t,e){return function(){return HU(this,t,e)}}function fwe(t,e){return function(){return HU(this,t,e.apply(this,arguments))}}function B8(t,e){return this.each((typeof e=="function"?fwe:hwe)(t,e))}var WU=N(()=>{"use strict";T8();o(HU,"dispatchEvent");o(hwe,"dispatchConstant");o(fwe,"dispatchFunction");o(B8,"default")});function*F8(){for(var t=this._groups,e=0,r=t.length;e{"use strict";o(F8,"default")});function hi(t,e){this._groups=t,this._parents=e}function YU(){return new hi([[document.documentElement]],$8)}function dwe(){return this}var $8,mu,gl=N(()=>{"use strict";lU();uU();hU();fU();dU();mU();s8();gU();yU();vU();xU();bU();TU();wU();kU();EU();SU();CU();AU();k8();_U();MU();IU();OU();PU();BU();FU();$U();GU();zU();VU();UU();WU();qU();$8=[null];o(hi,"Selection");o(YU,"selection");o(dwe,"selection_selection");hi.prototype=YU.prototype={constructor:hi,select:QA,selectAll:e8,selectChild:t8,selectChildren:r8,filter:n8,data:l8,enter:a8,exit:c8,join:u8,merge:h8,selection:dwe,order:f8,sort:d8,call:p8,nodes:m8,node:g8,size:y8,empty:v8,each:x8,attr:b8,style:w8,property:E8,classed:C8,text:A8,html:_8,raise:D8,lower:L8,append:R8,insert:N8,remove:M8,clone:I8,datum:O8,on:P8,dispatch:B8,[Symbol.iterator]:F8};mu=YU});function ze(t){return typeof t=="string"?new hi([[document.querySelector(t)]],[document.documentElement]):new hi([[t]],$8)}var XU=N(()=>{"use strict";gl();o(ze,"default")});var yl=N(()=>{"use strict";lv();Z3();XU();gl();J3();JA();k8()});var jU=N(()=>{"use strict"});function Ch(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function D0(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}var G8=N(()=>{"use strict";o(Ch,"default");o(D0,"extend")});function Ah(){}function QU(){return this.rgb().formatHex()}function Twe(){return this.rgb().formatHex8()}function wwe(){return iH(this).formatHsl()}function ZU(){return this.rgb().formatRgb()}function xl(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=pwe.exec(t))?(r=e[1].length,e=parseInt(e[1],16),r===6?JU(e):r===3?new oa(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):r===8?t5(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):r===4?t5(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=mwe.exec(t))?new oa(e[1],e[2],e[3],1):(e=gwe.exec(t))?new oa(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=ywe.exec(t))?t5(e[1],e[2],e[3],e[4]):(e=vwe.exec(t))?t5(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=xwe.exec(t))?rH(e[1],e[2]/100,e[3]/100,1):(e=bwe.exec(t))?rH(e[1],e[2]/100,e[3]/100,e[4]):KU.hasOwnProperty(t)?JU(KU[t]):t==="transparent"?new oa(NaN,NaN,NaN,0):null}function JU(t){return new oa(t>>16&255,t>>8&255,t&255,1)}function t5(t,e,r,n){return n<=0&&(t=e=r=NaN),new oa(t,e,r,n)}function V8(t){return t instanceof Ah||(t=xl(t)),t?(t=t.rgb(),new oa(t.r,t.g,t.b,t.opacity)):new oa}function R0(t,e,r,n){return arguments.length===1?V8(t):new oa(t,e,r,n??1)}function oa(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function eH(){return`#${vd(this.r)}${vd(this.g)}${vd(this.b)}`}function kwe(){return`#${vd(this.r)}${vd(this.g)}${vd(this.b)}${vd((isNaN(this.opacity)?1:this.opacity)*255)}`}function tH(){let t=i5(this.opacity);return`${t===1?"rgb(":"rgba("}${xd(this.r)}, ${xd(this.g)}, ${xd(this.b)}${t===1?")":`, ${t})`}`}function i5(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function xd(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function vd(t){return t=xd(t),(t<16?"0":"")+t.toString(16)}function rH(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new vl(t,e,r,n)}function iH(t){if(t instanceof vl)return new vl(t.h,t.s,t.l,t.opacity);if(t instanceof Ah||(t=xl(t)),!t)return new vl;if(t instanceof vl)return t;t=t.rgb();var e=t.r/255,r=t.g/255,n=t.b/255,i=Math.min(e,r,n),a=Math.max(e,r,n),s=NaN,l=a-i,u=(a+i)/2;return l?(e===a?s=(r-n)/l+(r0&&u<1?0:s,new vl(s,l,u,t.opacity)}function aH(t,e,r,n){return arguments.length===1?iH(t):new vl(t,e,r,n??1)}function vl(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function nH(t){return t=(t||0)%360,t<0?t+360:t}function r5(t){return Math.max(0,Math.min(1,t||0))}function z8(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}var fv,n5,L0,dv,sc,pwe,mwe,gwe,ywe,vwe,xwe,bwe,KU,U8=N(()=>{"use strict";G8();o(Ah,"Color");fv=.7,n5=1/fv,L0="\\s*([+-]?\\d+)\\s*",dv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",sc="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",pwe=/^#([0-9a-f]{3,8})$/,mwe=new RegExp(`^rgb\\(${L0},${L0},${L0}\\)$`),gwe=new RegExp(`^rgb\\(${sc},${sc},${sc}\\)$`),ywe=new RegExp(`^rgba\\(${L0},${L0},${L0},${dv}\\)$`),vwe=new RegExp(`^rgba\\(${sc},${sc},${sc},${dv}\\)$`),xwe=new RegExp(`^hsl\\(${dv},${sc},${sc}\\)$`),bwe=new RegExp(`^hsla\\(${dv},${sc},${sc},${dv}\\)$`),KU={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Ch(Ah,xl,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:QU,formatHex:QU,formatHex8:Twe,formatHsl:wwe,formatRgb:ZU,toString:ZU});o(QU,"color_formatHex");o(Twe,"color_formatHex8");o(wwe,"color_formatHsl");o(ZU,"color_formatRgb");o(xl,"color");o(JU,"rgbn");o(t5,"rgba");o(V8,"rgbConvert");o(R0,"rgb");o(oa,"Rgb");Ch(oa,R0,D0(Ah,{brighter(t){return t=t==null?n5:Math.pow(n5,t),new oa(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?fv:Math.pow(fv,t),new oa(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new oa(xd(this.r),xd(this.g),xd(this.b),i5(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:eH,formatHex:eH,formatHex8:kwe,formatRgb:tH,toString:tH}));o(eH,"rgb_formatHex");o(kwe,"rgb_formatHex8");o(tH,"rgb_formatRgb");o(i5,"clampa");o(xd,"clampi");o(vd,"hex");o(rH,"hsla");o(iH,"hslConvert");o(aH,"hsl");o(vl,"Hsl");Ch(vl,aH,D0(Ah,{brighter(t){return t=t==null?n5:Math.pow(n5,t),new vl(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?fv:Math.pow(fv,t),new vl(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new oa(z8(t>=240?t-240:t+120,i,n),z8(t,i,n),z8(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new vl(nH(this.h),r5(this.s),r5(this.l),i5(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=i5(this.opacity);return`${t===1?"hsl(":"hsla("}${nH(this.h)}, ${r5(this.s)*100}%, ${r5(this.l)*100}%${t===1?")":`, ${t})`}`}}));o(nH,"clamph");o(r5,"clampt");o(z8,"hsl2rgb")});var sH,oH,lH=N(()=>{"use strict";sH=Math.PI/180,oH=180/Math.PI});function pH(t){if(t instanceof oc)return new oc(t.l,t.a,t.b,t.opacity);if(t instanceof gu)return mH(t);t instanceof oa||(t=V8(t));var e=Y8(t.r),r=Y8(t.g),n=Y8(t.b),i=H8((.2225045*e+.7168786*r+.0606169*n)/uH),a,s;return e===r&&r===n?a=s=i:(a=H8((.4360747*e+.3850649*r+.1430804*n)/cH),s=H8((.0139322*e+.0971045*r+.7141733*n)/hH)),new oc(116*i-16,500*(a-i),200*(i-s),t.opacity)}function X8(t,e,r,n){return arguments.length===1?pH(t):new oc(t,e,r,n??1)}function oc(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}function H8(t){return t>Ewe?Math.pow(t,1/3):t/dH+fH}function W8(t){return t>N0?t*t*t:dH*(t-fH)}function q8(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Y8(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Swe(t){if(t instanceof gu)return new gu(t.h,t.c,t.l,t.opacity);if(t instanceof oc||(t=pH(t)),t.a===0&&t.b===0)return new gu(NaN,0{"use strict";G8();U8();lH();a5=18,cH=.96422,uH=1,hH=.82521,fH=4/29,N0=6/29,dH=3*N0*N0,Ewe=N0*N0*N0;o(pH,"labConvert");o(X8,"lab");o(oc,"Lab");Ch(oc,X8,D0(Ah,{brighter(t){return new oc(this.l+a5*(t??1),this.a,this.b,this.opacity)},darker(t){return new oc(this.l-a5*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=cH*W8(e),t=uH*W8(t),r=hH*W8(r),new oa(q8(3.1338561*e-1.6168667*t-.4906146*r),q8(-.9787684*e+1.9161415*t+.033454*r),q8(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}}));o(H8,"xyz2lab");o(W8,"lab2xyz");o(q8,"lrgb2rgb");o(Y8,"rgb2lrgb");o(Swe,"hclConvert");o(pv,"hcl");o(gu,"Hcl");o(mH,"hcl2lab");Ch(gu,pv,D0(Ah,{brighter(t){return new gu(this.h,this.c,this.l+a5*(t??1),this.opacity)},darker(t){return new gu(this.h,this.c,this.l-a5*(t??1),this.opacity)},rgb(){return mH(this).rgb()}}))});var M0=N(()=>{"use strict";U8();gH()});function j8(t,e,r,n,i){var a=t*t,s=a*t;return((1-3*t+3*a-s)*e+(4-6*a+3*s)*r+(1+3*t+3*a-3*s)*n+s*i)/6}function K8(t){var e=t.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),i=t[n],a=t[n+1],s=n>0?t[n-1]:2*i-a,l=n{"use strict";o(j8,"basis");o(K8,"default")});function Z8(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),i=t[(n+e-1)%e],a=t[n%e],s=t[(n+1)%e],l=t[(n+2)%e];return j8((r-n/e)*e,i,a,s,l)}}var yH=N(()=>{"use strict";Q8();o(Z8,"default")});var I0,J8=N(()=>{"use strict";I0=o(t=>()=>t,"default")});function vH(t,e){return function(r){return t+r*e}}function Cwe(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}function xH(t,e){var r=e-t;return r?vH(t,r>180||r<-180?r-360*Math.round(r/360):r):I0(isNaN(t)?e:t)}function bH(t){return(t=+t)==1?yu:function(e,r){return r-e?Cwe(e,r,t):I0(isNaN(e)?r:e)}}function yu(t,e){var r=e-t;return r?vH(t,r):I0(isNaN(t)?e:t)}var e_=N(()=>{"use strict";J8();o(vH,"linear");o(Cwe,"exponential");o(xH,"hue");o(bH,"gamma");o(yu,"nogamma")});function TH(t){return function(e){var r=e.length,n=new Array(r),i=new Array(r),a=new Array(r),s,l;for(s=0;s{"use strict";M0();Q8();yH();e_();bd=o(function t(e){var r=bH(e);function n(i,a){var s=r((i=R0(i)).r,(a=R0(a)).r),l=r(i.g,a.g),u=r(i.b,a.b),h=yu(i.opacity,a.opacity);return function(f){return i.r=s(f),i.g=l(f),i.b=u(f),i.opacity=h(f),i+""}}return o(n,"rgb"),n.gamma=t,n},"rgbGamma")(1);o(TH,"rgbSpline");Awe=TH(K8),_we=TH(Z8)});function r_(t,e){e||(e=[]);var r=t?Math.min(e.length,t.length):0,n=e.slice(),i;return function(a){for(i=0;i{"use strict";o(r_,"default");o(wH,"isNumberArray")});function EH(t,e){var r=e?e.length:0,n=t?Math.min(r,t.length):0,i=new Array(n),a=new Array(r),s;for(s=0;s{"use strict";s5();o(EH,"genericArray")});function n_(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}var CH=N(()=>{"use strict";o(n_,"default")});function Yi(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var mv=N(()=>{"use strict";o(Yi,"default")});function i_(t,e){var r={},n={},i;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(i in e)i in t?r[i]=_h(t[i],e[i]):n[i]=e[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var AH=N(()=>{"use strict";s5();o(i_,"default")});function Dwe(t){return function(){return t}}function Lwe(t){return function(e){return t(e)+""}}function O0(t,e){var r=s_.lastIndex=a_.lastIndex=0,n,i,a,s=-1,l=[],u=[];for(t=t+"",e=e+"";(n=s_.exec(t))&&(i=a_.exec(e));)(a=i.index)>r&&(a=e.slice(r,a),l[s]?l[s]+=a:l[++s]=a),(n=n[0])===(i=i[0])?l[s]?l[s]+=i:l[++s]=i:(l[++s]=null,u.push({i:s,x:Yi(n,i)})),r=a_.lastIndex;return r{"use strict";mv();s_=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a_=new RegExp(s_.source,"g");o(Dwe,"zero");o(Lwe,"one");o(O0,"default")});function _h(t,e){var r=typeof e,n;return e==null||r==="boolean"?I0(e):(r==="number"?Yi:r==="string"?(n=xl(e))?(e=n,bd):O0:e instanceof xl?bd:e instanceof Date?n_:wH(e)?r_:Array.isArray(e)?EH:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?i_:Yi)(t,e)}var s5=N(()=>{"use strict";M0();t_();SH();CH();mv();AH();o_();J8();kH();o(_h,"default")});function o5(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}var _H=N(()=>{"use strict";o(o5,"default")});function c5(t,e,r,n,i,a){var s,l,u;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(u=t*r+e*n)&&(r-=t*u,n-=e*u),(l=Math.sqrt(r*r+n*n))&&(r/=l,n/=l,u/=l),t*n{"use strict";DH=180/Math.PI,l5={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};o(c5,"default")});function RH(t){let e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?l5:c5(e.a,e.b,e.c,e.d,e.e,e.f)}function NH(t){return t==null?l5:(u5||(u5=document.createElementNS("http://www.w3.org/2000/svg","g")),u5.setAttribute("transform",t),(t=u5.transform.baseVal.consolidate())?(t=t.matrix,c5(t.a,t.b,t.c,t.d,t.e,t.f)):l5)}var u5,MH=N(()=>{"use strict";LH();o(RH,"parseCss");o(NH,"parseSvg")});function IH(t,e,r,n){function i(h){return h.length?h.pop()+" ":""}o(i,"pop");function a(h,f,d,p,m,g){if(h!==d||f!==p){var y=m.push("translate(",null,e,null,r);g.push({i:y-4,x:Yi(h,d)},{i:y-2,x:Yi(f,p)})}else(d||p)&&m.push("translate("+d+e+p+r)}o(a,"translate");function s(h,f,d,p){h!==f?(h-f>180?f+=360:f-h>180&&(h+=360),p.push({i:d.push(i(d)+"rotate(",null,n)-2,x:Yi(h,f)})):f&&d.push(i(d)+"rotate("+f+n)}o(s,"rotate");function l(h,f,d,p){h!==f?p.push({i:d.push(i(d)+"skewX(",null,n)-2,x:Yi(h,f)}):f&&d.push(i(d)+"skewX("+f+n)}o(l,"skewX");function u(h,f,d,p,m,g){if(h!==d||f!==p){var y=m.push(i(m)+"scale(",null,",",null,")");g.push({i:y-4,x:Yi(h,d)},{i:y-2,x:Yi(f,p)})}else(d!==1||p!==1)&&m.push(i(m)+"scale("+d+","+p+")")}return o(u,"scale"),function(h,f){var d=[],p=[];return h=t(h),f=t(f),a(h.translateX,h.translateY,f.translateX,f.translateY,d,p),s(h.rotate,f.rotate,d,p),l(h.skewX,f.skewX,d,p),u(h.scaleX,h.scaleY,f.scaleX,f.scaleY,d,p),h=f=null,function(m){for(var g=-1,y=p.length,x;++g{"use strict";mv();MH();o(IH,"interpolateTransform");l_=IH(RH,"px, ","px)","deg)"),c_=IH(NH,", ",")",")")});function PH(t){return function(e,r){var n=t((e=pv(e)).h,(r=pv(r)).h),i=yu(e.c,r.c),a=yu(e.l,r.l),s=yu(e.opacity,r.opacity);return function(l){return e.h=n(l),e.c=i(l),e.l=a(l),e.opacity=s(l),e+""}}}var u_,Rwe,BH=N(()=>{"use strict";M0();e_();o(PH,"hcl");u_=PH(xH),Rwe=PH(yu)});var P0=N(()=>{"use strict";s5();mv();_H();o_();OH();t_();BH()});function Tv(){return Td||(GH(Nwe),Td=xv.now()+d5)}function Nwe(){Td=0}function bv(){this._call=this._time=this._next=null}function p5(t,e,r){var n=new bv;return n.restart(t,e,r),n}function zH(){Tv(),++B0;for(var t=h5,e;t;)(e=Td-t._time)>=0&&t._call.call(void 0,e),t=t._next;--B0}function FH(){Td=(f5=xv.now())+d5,B0=yv=0;try{zH()}finally{B0=0,Iwe(),Td=0}}function Mwe(){var t=xv.now(),e=t-f5;e>$H&&(d5-=e,f5=t)}function Iwe(){for(var t,e=h5,r,n=1/0;e;)e._call?(n>e._time&&(n=e._time),t=e,e=e._next):(r=e._next,e._next=null,e=t?t._next=r:h5=r);vv=t,h_(n)}function h_(t){if(!B0){yv&&(yv=clearTimeout(yv));var e=t-Td;e>24?(t<1/0&&(yv=setTimeout(FH,t-xv.now()-d5)),gv&&(gv=clearInterval(gv))):(gv||(f5=xv.now(),gv=setInterval(Mwe,$H)),B0=1,GH(FH))}}var B0,yv,gv,$H,h5,vv,f5,Td,d5,xv,GH,f_=N(()=>{"use strict";B0=0,yv=0,gv=0,$H=1e3,f5=0,Td=0,d5=0,xv=typeof performance=="object"&&performance.now?performance:Date,GH=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};o(Tv,"now");o(Nwe,"clearNow");o(bv,"Timer");bv.prototype=p5.prototype={constructor:bv,restart:o(function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?Tv():+r)+(e==null?0:+e),!this._next&&vv!==this&&(vv?vv._next=this:h5=this,vv=this),this._call=t,this._time=r,h_()},"restart"),stop:o(function(){this._call&&(this._call=null,this._time=1/0,h_())},"stop")};o(p5,"timer");o(zH,"timerFlush");o(FH,"wake");o(Mwe,"poke");o(Iwe,"nap");o(h_,"sleep")});function wv(t,e,r){var n=new bv;return e=e==null?0:+e,n.restart(i=>{n.stop(),t(i+e)},e,r),n}var VH=N(()=>{"use strict";f_();o(wv,"default")});var m5=N(()=>{"use strict";f_();VH()});function vu(t,e,r,n,i,a){var s=t.__transition;if(!s)t.__transition={};else if(r in s)return;Bwe(t,r,{name:e,index:n,group:i,on:Owe,tween:Pwe,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:WH})}function Ev(t,e){var r=Bi(t,e);if(r.state>WH)throw new Error("too late; already scheduled");return r}function la(t,e){var r=Bi(t,e);if(r.state>g5)throw new Error("too late; already running");return r}function Bi(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function Bwe(t,e,r){var n=t.__transition,i;n[e]=r,r.timer=p5(a,0,r.time);function a(h){r.state=UH,r.timer.restart(s,r.delay,r.time),r.delay<=h&&s(h-r.delay)}o(a,"schedule");function s(h){var f,d,p,m;if(r.state!==UH)return u();for(f in n)if(m=n[f],m.name===r.name){if(m.state===g5)return wv(s);m.state===HH?(m.state=kv,m.timer.stop(),m.on.call("interrupt",t,t.__data__,m.index,m.group),delete n[f]):+f{"use strict";YA();m5();Owe=qA("start","end","cancel","interrupt"),Pwe=[],WH=0,UH=1,y5=2,g5=3,HH=4,v5=5,kv=6;o(vu,"default");o(Ev,"init");o(la,"set");o(Bi,"get");o(Bwe,"create")});function Sv(t,e){var r=t.__transition,n,i,a=!0,s;if(r){e=e==null?null:e+"";for(s in r){if((n=r[s]).name!==e){a=!1;continue}i=n.state>y5&&n.state{"use strict";_s();o(Sv,"default")});function d_(t){return this.each(function(){Sv(this,t)})}var YH=N(()=>{"use strict";qH();o(d_,"default")});function Fwe(t,e){var r,n;return function(){var i=la(this,t),a=i.tween;if(a!==r){n=r=a;for(var s=0,l=n.length;s{"use strict";_s();o(Fwe,"tweenRemove");o($we,"tweenFunction");o(p_,"default");o(F0,"tweenValue")});function Av(t,e){var r;return(typeof e=="number"?Yi:e instanceof xl?bd:(r=xl(e))?(e=r,bd):O0)(t,e)}var m_=N(()=>{"use strict";M0();P0();o(Av,"default")});function Gwe(t){return function(){this.removeAttribute(t)}}function zwe(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Vwe(t,e,r){var n,i=r+"",a;return function(){var s=this.getAttribute(t);return s===i?null:s===n?a:a=e(n=s,r)}}function Uwe(t,e,r){var n,i=r+"",a;return function(){var s=this.getAttributeNS(t.space,t.local);return s===i?null:s===n?a:a=e(n=s,r)}}function Hwe(t,e,r){var n,i,a;return function(){var s,l=r(this),u;return l==null?void this.removeAttribute(t):(s=this.getAttribute(t),u=l+"",s===u?null:s===n&&u===i?a:(i=u,a=e(n=s,l)))}}function Wwe(t,e,r){var n,i,a;return function(){var s,l=r(this),u;return l==null?void this.removeAttributeNS(t.space,t.local):(s=this.getAttributeNS(t.space,t.local),u=l+"",s===u?null:s===n&&u===i?a:(i=u,a=e(n=s,l)))}}function g_(t,e){var r=ac(t),n=r==="transform"?c_:Av;return this.attrTween(t,typeof e=="function"?(r.local?Wwe:Hwe)(r,n,F0(this,"attr."+t,e)):e==null?(r.local?zwe:Gwe)(r):(r.local?Uwe:Vwe)(r,n,e))}var XH=N(()=>{"use strict";P0();yl();Cv();m_();o(Gwe,"attrRemove");o(zwe,"attrRemoveNS");o(Vwe,"attrConstant");o(Uwe,"attrConstantNS");o(Hwe,"attrFunction");o(Wwe,"attrFunctionNS");o(g_,"default")});function qwe(t,e){return function(r){this.setAttribute(t,e.call(this,r))}}function Ywe(t,e){return function(r){this.setAttributeNS(t.space,t.local,e.call(this,r))}}function Xwe(t,e){var r,n;function i(){var a=e.apply(this,arguments);return a!==n&&(r=(n=a)&&Ywe(t,a)),r}return o(i,"tween"),i._value=e,i}function jwe(t,e){var r,n;function i(){var a=e.apply(this,arguments);return a!==n&&(r=(n=a)&&qwe(t,a)),r}return o(i,"tween"),i._value=e,i}function y_(t,e){var r="attr."+t;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;var n=ac(t);return this.tween(r,(n.local?Xwe:jwe)(n,e))}var jH=N(()=>{"use strict";yl();o(qwe,"attrInterpolate");o(Ywe,"attrInterpolateNS");o(Xwe,"attrTweenNS");o(jwe,"attrTween");o(y_,"default")});function Kwe(t,e){return function(){Ev(this,t).delay=+e.apply(this,arguments)}}function Qwe(t,e){return e=+e,function(){Ev(this,t).delay=e}}function v_(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Kwe:Qwe)(e,t)):Bi(this.node(),e).delay}var KH=N(()=>{"use strict";_s();o(Kwe,"delayFunction");o(Qwe,"delayConstant");o(v_,"default")});function Zwe(t,e){return function(){la(this,t).duration=+e.apply(this,arguments)}}function Jwe(t,e){return e=+e,function(){la(this,t).duration=e}}function x_(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Zwe:Jwe)(e,t)):Bi(this.node(),e).duration}var QH=N(()=>{"use strict";_s();o(Zwe,"durationFunction");o(Jwe,"durationConstant");o(x_,"default")});function eke(t,e){if(typeof e!="function")throw new Error;return function(){la(this,t).ease=e}}function b_(t){var e=this._id;return arguments.length?this.each(eke(e,t)):Bi(this.node(),e).ease}var ZH=N(()=>{"use strict";_s();o(eke,"easeConstant");o(b_,"default")});function tke(t,e){return function(){var r=e.apply(this,arguments);if(typeof r!="function")throw new Error;la(this,t).ease=r}}function T_(t){if(typeof t!="function")throw new Error;return this.each(tke(this._id,t))}var JH=N(()=>{"use strict";_s();o(tke,"easeVarying");o(T_,"default")});function w_(t){typeof t!="function"&&(t=_0(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i{"use strict";yl();wd();o(w_,"default")});function k_(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,r=t._groups,n=e.length,i=r.length,a=Math.min(n,i),s=new Array(n),l=0;l{"use strict";wd();o(k_,"default")});function rke(t){return(t+"").trim().split(/^|\s+/).every(function(e){var r=e.indexOf(".");return r>=0&&(e=e.slice(0,r)),!e||e==="start"})}function nke(t,e,r){var n,i,a=rke(e)?Ev:la;return function(){var s=a(this,t),l=s.on;l!==n&&(i=(n=l).copy()).on(e,r),s.on=i}}function E_(t,e){var r=this._id;return arguments.length<2?Bi(this.node(),r).on.on(t):this.each(nke(r,t,e))}var rW=N(()=>{"use strict";_s();o(rke,"start");o(nke,"onFunction");o(E_,"default")});function ike(t){return function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}}function S_(){return this.on("end.remove",ike(this._id))}var nW=N(()=>{"use strict";o(ike,"removeFunction");o(S_,"default")});function C_(t){var e=this._name,r=this._id;typeof t!="function"&&(t=Eh(t));for(var n=this._groups,i=n.length,a=new Array(i),s=0;s{"use strict";yl();wd();_s();o(C_,"default")});function A_(t){var e=this._name,r=this._id;typeof t!="function"&&(t=A0(t));for(var n=this._groups,i=n.length,a=[],s=[],l=0;l{"use strict";yl();wd();_s();o(A_,"default")});function __(){return new ake(this._groups,this._parents)}var ake,sW=N(()=>{"use strict";yl();ake=mu.prototype.constructor;o(__,"default")});function ske(t,e){var r,n,i;return function(){var a=Sh(this,t),s=(this.style.removeProperty(t),Sh(this,t));return a===s?null:a===r&&s===n?i:i=e(r=a,n=s)}}function oW(t){return function(){this.style.removeProperty(t)}}function oke(t,e,r){var n,i=r+"",a;return function(){var s=Sh(this,t);return s===i?null:s===n?a:a=e(n=s,r)}}function lke(t,e,r){var n,i,a;return function(){var s=Sh(this,t),l=r(this),u=l+"";return l==null&&(u=l=(this.style.removeProperty(t),Sh(this,t))),s===u?null:s===n&&u===i?a:(i=u,a=e(n=s,l))}}function cke(t,e){var r,n,i,a="style."+e,s="end."+a,l;return function(){var u=la(this,t),h=u.on,f=u.value[a]==null?l||(l=oW(e)):void 0;(h!==r||i!==f)&&(n=(r=h).copy()).on(s,i=f),u.on=n}}function D_(t,e,r){var n=(t+="")=="transform"?l_:Av;return e==null?this.styleTween(t,ske(t,n)).on("end.style."+t,oW(t)):typeof e=="function"?this.styleTween(t,lke(t,n,F0(this,"style."+t,e))).each(cke(this._id,t)):this.styleTween(t,oke(t,n,e),r).on("end.style."+t,null)}var lW=N(()=>{"use strict";P0();yl();_s();Cv();m_();o(ske,"styleNull");o(oW,"styleRemove");o(oke,"styleConstant");o(lke,"styleFunction");o(cke,"styleMaybeRemove");o(D_,"default")});function uke(t,e,r){return function(n){this.style.setProperty(t,e.call(this,n),r)}}function hke(t,e,r){var n,i;function a(){var s=e.apply(this,arguments);return s!==i&&(n=(i=s)&&uke(t,s,r)),n}return o(a,"tween"),a._value=e,a}function L_(t,e,r){var n="style."+(t+="");if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;return this.tween(n,hke(t,e,r??""))}var cW=N(()=>{"use strict";o(uke,"styleInterpolate");o(hke,"styleTween");o(L_,"default")});function fke(t){return function(){this.textContent=t}}function dke(t){return function(){var e=t(this);this.textContent=e??""}}function R_(t){return this.tween("text",typeof t=="function"?dke(F0(this,"text",t)):fke(t==null?"":t+""))}var uW=N(()=>{"use strict";Cv();o(fke,"textConstant");o(dke,"textFunction");o(R_,"default")});function pke(t){return function(e){this.textContent=t.call(this,e)}}function mke(t){var e,r;function n(){var i=t.apply(this,arguments);return i!==r&&(e=(r=i)&&pke(i)),e}return o(n,"tween"),n._value=t,n}function N_(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,mke(t))}var hW=N(()=>{"use strict";o(pke,"textInterpolate");o(mke,"textTween");o(N_,"default")});function M_(){for(var t=this._name,e=this._id,r=x5(),n=this._groups,i=n.length,a=0;a{"use strict";wd();_s();o(M_,"default")});function I_(){var t,e,r=this,n=r._id,i=r.size();return new Promise(function(a,s){var l={value:s},u={value:o(function(){--i===0&&a()},"value")};r.each(function(){var h=la(this,n),f=h.on;f!==t&&(e=(t=f).copy(),e._.cancel.push(l),e._.interrupt.push(l),e._.end.push(u)),h.on=e}),i===0&&a()})}var dW=N(()=>{"use strict";_s();o(I_,"default")});function is(t,e,r,n){this._groups=t,this._parents=e,this._name=r,this._id=n}function pW(t){return mu().transition(t)}function x5(){return++gke}var gke,xu,wd=N(()=>{"use strict";yl();XH();jH();KH();QH();ZH();JH();eW();tW();rW();nW();iW();aW();sW();lW();cW();uW();hW();fW();Cv();dW();gke=0;o(is,"Transition");o(pW,"transition");o(x5,"newId");xu=mu.prototype;is.prototype=pW.prototype={constructor:is,select:C_,selectAll:A_,selectChild:xu.selectChild,selectChildren:xu.selectChildren,filter:w_,merge:k_,selection:__,transition:M_,call:xu.call,nodes:xu.nodes,node:xu.node,size:xu.size,empty:xu.empty,each:xu.each,on:E_,attr:g_,attrTween:y_,style:D_,styleTween:L_,text:R_,textTween:N_,remove:S_,tween:p_,delay:v_,duration:x_,ease:b_,easeVarying:T_,end:I_,[Symbol.iterator]:xu[Symbol.iterator]}});function b5(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var mW=N(()=>{"use strict";o(b5,"cubicInOut")});var O_=N(()=>{"use strict";mW()});function vke(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return r}function P_(t){var e,r;t instanceof is?(e=t._id,t=t._name):(e=x5(),(r=yke).time=Tv(),t=t==null?null:t+"");for(var n=this._groups,i=n.length,a=0;a{"use strict";wd();_s();O_();m5();yke={time:null,delay:0,duration:250,ease:b5};o(vke,"inherit");o(P_,"default")});var yW=N(()=>{"use strict";yl();YH();gW();mu.prototype.interrupt=d_;mu.prototype.transition=P_});var T5=N(()=>{"use strict";yW()});var vW=N(()=>{"use strict"});var xW=N(()=>{"use strict"});var bW=N(()=>{"use strict"});function TW(t){return[+t[0],+t[1]]}function xke(t){return[TW(t[0]),TW(t[1])]}function B_(t){return{type:t}}var ogt,lgt,cgt,ugt,hgt,fgt,wW=N(()=>{"use strict";T5();vW();xW();bW();({abs:ogt,max:lgt,min:cgt}=Math);o(TW,"number1");o(xke,"number2");ugt={name:"x",handles:["w","e"].map(B_),input:o(function(t,e){return t==null?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},"input"),output:o(function(t){return t&&[t[0][0],t[1][0]]},"output")},hgt={name:"y",handles:["n","s"].map(B_),input:o(function(t,e){return t==null?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},"input"),output:o(function(t){return t&&[t[0][1],t[1][1]]},"output")},fgt={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(B_),input:o(function(t){return t==null?null:xke(t)},"input"),output:o(function(t){return t},"output")};o(B_,"type")});var kW=N(()=>{"use strict";wW()});function EW(t){this._+=t[0];for(let e=1,r=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return EW;let r=10**e;return function(n){this._+=n[0];for(let i=1,a=n.length;i{"use strict";F_=Math.PI,$_=2*F_,kd=1e-6,bke=$_-kd;o(EW,"append");o(Tke,"appendRound");Ed=class{static{o(this,"Path")}constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?EW:Tke(e)}moveTo(e,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,r){this._append`L${this._x1=+e},${this._y1=+r}`}quadraticCurveTo(e,r,n,i){this._append`Q${+e},${+r},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(e,r,n,i,a,s){this._append`C${+e},${+r},${+n},${+i},${this._x1=+a},${this._y1=+s}`}arcTo(e,r,n,i,a){if(e=+e,r=+r,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let s=this._x1,l=this._y1,u=n-e,h=i-r,f=s-e,d=l-r,p=f*f+d*d;if(this._x1===null)this._append`M${this._x1=e},${this._y1=r}`;else if(p>kd)if(!(Math.abs(d*u-h*f)>kd)||!a)this._append`L${this._x1=e},${this._y1=r}`;else{let m=n-s,g=i-l,y=u*u+h*h,x=m*m+g*g,v=Math.sqrt(y),b=Math.sqrt(p),T=a*Math.tan((F_-Math.acos((y+p-x)/(2*v*b)))/2),S=T/b,w=T/v;Math.abs(S-1)>kd&&this._append`L${e+S*f},${r+S*d}`,this._append`A${a},${a},0,0,${+(d*m>f*g)},${this._x1=e+w*u},${this._y1=r+w*h}`}}arc(e,r,n,i,a,s){if(e=+e,r=+r,n=+n,s=!!s,n<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(i),u=n*Math.sin(i),h=e+l,f=r+u,d=1^s,p=s?i-a:a-i;this._x1===null?this._append`M${h},${f}`:(Math.abs(this._x1-h)>kd||Math.abs(this._y1-f)>kd)&&this._append`L${h},${f}`,n&&(p<0&&(p=p%$_+$_),p>bke?this._append`A${n},${n},0,1,${d},${e-l},${r-u}A${n},${n},0,1,${d},${this._x1=h},${this._y1=f}`:p>kd&&this._append`A${n},${n},0,${+(p>=F_)},${d},${this._x1=e+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(e,r,n,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}};o(SW,"path");SW.prototype=Ed.prototype});var G_=N(()=>{"use strict";CW()});var AW=N(()=>{"use strict"});var _W=N(()=>{"use strict"});var DW=N(()=>{"use strict"});var LW=N(()=>{"use strict"});var RW=N(()=>{"use strict"});var NW=N(()=>{"use strict"});var MW=N(()=>{"use strict"});function z_(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function Sd(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}var _v=N(()=>{"use strict";o(z_,"default");o(Sd,"formatDecimalParts")});function bl(t){return t=Sd(Math.abs(t)),t?t[1]:NaN}var Dv=N(()=>{"use strict";_v();o(bl,"default")});function V_(t,e){return function(r,n){for(var i=r.length,a=[],s=0,l=t[0],u=0;i>0&&l>0&&(u+l+1>n&&(l=Math.max(1,n-u)),a.push(r.substring(i-=l,i+l)),!((u+=l+1)>n));)l=t[s=(s+1)%t.length];return a.reverse().join(e)}}var IW=N(()=>{"use strict";o(V_,"default")});function U_(t){return function(e){return e.replace(/[0-9]/g,function(r){return t[+r]})}}var OW=N(()=>{"use strict";o(U_,"default")});function Dh(t){if(!(e=wke.exec(t)))throw new Error("invalid format: "+t);var e;return new w5({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function w5(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}var wke,H_=N(()=>{"use strict";wke=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;o(Dh,"formatSpecifier");Dh.prototype=w5.prototype;o(w5,"FormatSpecifier");w5.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type}});function W_(t){e:for(var e=t.length,r=1,n=-1,i;r0&&(n=0);break}return n>0?t.slice(0,n)+t.slice(i+1):t}var PW=N(()=>{"use strict";o(W_,"default")});function Y_(t,e){var r=Sd(t,e);if(!r)return t+"";var n=r[0],i=r[1],a=i-(q_=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=n.length;return a===s?n:a>s?n+new Array(a-s+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+Sd(t,Math.max(0,e+a-1))[0]}var q_,X_=N(()=>{"use strict";_v();o(Y_,"default")});function k5(t,e){var r=Sd(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}var BW=N(()=>{"use strict";_v();o(k5,"default")});var j_,FW=N(()=>{"use strict";_v();X_();BW();j_={"%":o((t,e)=>(t*100).toFixed(e),"%"),b:o(t=>Math.round(t).toString(2),"b"),c:o(t=>t+"","c"),d:z_,e:o((t,e)=>t.toExponential(e),"e"),f:o((t,e)=>t.toFixed(e),"f"),g:o((t,e)=>t.toPrecision(e),"g"),o:o(t=>Math.round(t).toString(8),"o"),p:o((t,e)=>k5(t*100,e),"p"),r:k5,s:Y_,X:o(t=>Math.round(t).toString(16).toUpperCase(),"X"),x:o(t=>Math.round(t).toString(16),"x")}});function E5(t){return t}var $W=N(()=>{"use strict";o(E5,"default")});function K_(t){var e=t.grouping===void 0||t.thousands===void 0?E5:V_(GW.call(t.grouping,Number),t.thousands+""),r=t.currency===void 0?"":t.currency[0]+"",n=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",a=t.numerals===void 0?E5:U_(GW.call(t.numerals,String)),s=t.percent===void 0?"%":t.percent+"",l=t.minus===void 0?"\u2212":t.minus+"",u=t.nan===void 0?"NaN":t.nan+"";function h(d){d=Dh(d);var p=d.fill,m=d.align,g=d.sign,y=d.symbol,x=d.zero,v=d.width,b=d.comma,T=d.precision,S=d.trim,w=d.type;w==="n"?(b=!0,w="g"):j_[w]||(T===void 0&&(T=12),S=!0,w="g"),(x||p==="0"&&m==="=")&&(x=!0,p="0",m="=");var E=y==="$"?r:y==="#"&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",_=y==="$"?n:/[%p]/.test(w)?s:"",A=j_[w],D=/[defgprs%]/.test(w);T=T===void 0?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,T)):Math.max(0,Math.min(20,T));function O(R){var k=E,L=_,C,I,M;if(w==="c")L=A(R)+L,R="";else{R=+R;var P=R<0||1/R<0;if(R=isNaN(R)?u:A(Math.abs(R),T),S&&(R=W_(R)),P&&+R==0&&g!=="+"&&(P=!1),k=(P?g==="("?g:l:g==="-"||g==="("?"":g)+k,L=(w==="s"?zW[8+q_/3]:"")+L+(P&&g==="("?")":""),D){for(C=-1,I=R.length;++CM||M>57){L=(M===46?i+R.slice(C+1):R.slice(C))+L,R=R.slice(0,C);break}}}b&&!x&&(R=e(R,1/0));var B=k.length+R.length+L.length,F=B>1)+k+R+L+F.slice(B);break;default:R=F+k+R+L;break}return a(R)}return o(O,"format"),O.toString=function(){return d+""},O}o(h,"newFormat");function f(d,p){var m=h((d=Dh(d),d.type="f",d)),g=Math.max(-8,Math.min(8,Math.floor(bl(p)/3)))*3,y=Math.pow(10,-g),x=zW[8+g/3];return function(v){return m(y*v)+x}}return o(f,"formatPrefix"),{format:h,formatPrefix:f}}var GW,zW,VW=N(()=>{"use strict";Dv();IW();OW();H_();PW();FW();X_();$W();GW=Array.prototype.map,zW=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];o(K_,"default")});function Q_(t){return S5=K_(t),lc=S5.format,C5=S5.formatPrefix,S5}var S5,lc,C5,UW=N(()=>{"use strict";VW();Q_({thousands:",",grouping:[3],currency:["$",""]});o(Q_,"defaultLocale")});function A5(t){return Math.max(0,-bl(Math.abs(t)))}var HW=N(()=>{"use strict";Dv();o(A5,"default")});function _5(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(bl(e)/3)))*3-bl(Math.abs(t)))}var WW=N(()=>{"use strict";Dv();o(_5,"default")});function D5(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,bl(e)-bl(t))+1}var qW=N(()=>{"use strict";Dv();o(D5,"default")});var Z_=N(()=>{"use strict";UW();H_();HW();WW();qW()});var YW=N(()=>{"use strict"});function kke(t){var e=0,r=t.children,n=r&&r.length;if(!n)e=1;else for(;--n>=0;)e+=r[n].value;t.value=e}function J_(){return this.eachAfter(kke)}var XW=N(()=>{"use strict";o(kke,"count");o(J_,"default")});function eD(t,e){let r=-1;for(let n of this)t.call(e,n,++r,this);return this}var jW=N(()=>{"use strict";o(eD,"default")});function tD(t,e){for(var r=this,n=[r],i,a,s=-1;r=n.pop();)if(t.call(e,r,++s,this),i=r.children)for(a=i.length-1;a>=0;--a)n.push(i[a]);return this}var KW=N(()=>{"use strict";o(tD,"default")});function rD(t,e){for(var r=this,n=[r],i=[],a,s,l,u=-1;r=n.pop();)if(i.push(r),a=r.children)for(s=0,l=a.length;s{"use strict";o(rD,"default")});function nD(t,e){let r=-1;for(let n of this)if(t.call(e,n,++r,this))return n}var ZW=N(()=>{"use strict";o(nD,"default")});function iD(t){return this.eachAfter(function(e){for(var r=+t(e.data)||0,n=e.children,i=n&&n.length;--i>=0;)r+=n[i].value;e.value=r})}var JW=N(()=>{"use strict";o(iD,"default")});function aD(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}var eq=N(()=>{"use strict";o(aD,"default")});function sD(t){for(var e=this,r=Eke(e,t),n=[e];e!==r;)e=e.parent,n.push(e);for(var i=n.length;t!==r;)n.splice(i,0,t),t=t.parent;return n}function Eke(t,e){if(t===e)return t;var r=t.ancestors(),n=e.ancestors(),i=null;for(t=r.pop(),e=n.pop();t===e;)i=t,t=r.pop(),e=n.pop();return i}var tq=N(()=>{"use strict";o(sD,"default");o(Eke,"leastCommonAncestor")});function oD(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}var rq=N(()=>{"use strict";o(oD,"default")});function lD(){return Array.from(this)}var nq=N(()=>{"use strict";o(lD,"default")});function cD(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}var iq=N(()=>{"use strict";o(cD,"default")});function uD(){var t=this,e=[];return t.each(function(r){r!==t&&e.push({source:r.parent,target:r})}),e}var aq=N(()=>{"use strict";o(uD,"default")});function*hD(){var t=this,e,r=[t],n,i,a;do for(e=r.reverse(),r=[];t=e.pop();)if(yield t,n=t.children)for(i=0,a=n.length;i{"use strict";o(hD,"default")});function $0(t,e){t instanceof Map?(t=[void 0,t],e===void 0&&(e=Ake)):e===void 0&&(e=Cke);for(var r=new Lv(t),n,i=[r],a,s,l,u;n=i.pop();)if((s=e(n.data))&&(u=(s=Array.from(s)).length))for(n.children=s,l=u-1;l>=0;--l)i.push(a=s[l]=new Lv(s[l])),a.parent=n,a.depth=n.depth+1;return r.eachBefore(Dke)}function Ske(){return $0(this).eachBefore(_ke)}function Cke(t){return t.children}function Ake(t){return Array.isArray(t)?t[1]:null}function _ke(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function Dke(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function Lv(t){this.data=t,this.depth=this.height=0,this.parent=null}var oq=N(()=>{"use strict";XW();jW();KW();QW();ZW();JW();eq();tq();rq();nq();iq();aq();sq();o($0,"hierarchy");o(Ske,"node_copy");o(Cke,"objectChildren");o(Ake,"mapChildren");o(_ke,"copyData");o(Dke,"computeHeight");o(Lv,"Node");Lv.prototype=$0.prototype={constructor:Lv,count:J_,each:eD,eachAfter:rD,eachBefore:tD,find:nD,sum:iD,sort:aD,path:sD,ancestors:oD,descendants:lD,leaves:cD,links:uD,copy:Ske,[Symbol.iterator]:hD}});function lq(t){if(typeof t!="function")throw new Error;return t}var cq=N(()=>{"use strict";o(lq,"required")});function G0(){return 0}function Cd(t){return function(){return t}}var uq=N(()=>{"use strict";o(G0,"constantZero");o(Cd,"default")});function fD(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}var hq=N(()=>{"use strict";o(fD,"default")});function dD(t,e,r,n,i){for(var a=t.children,s,l=-1,u=a.length,h=t.value&&(n-e)/t.value;++l{"use strict";o(dD,"default")});function pD(t,e,r,n,i){for(var a=t.children,s,l=-1,u=a.length,h=t.value&&(i-r)/t.value;++l{"use strict";o(pD,"default")});function Rke(t,e,r,n,i,a){for(var s=[],l=e.children,u,h,f=0,d=0,p=l.length,m,g,y=e.value,x,v,b,T,S,w,E;fb&&(b=h),E=x*x*w,T=Math.max(b/E,E/v),T>S){x-=h;break}S=T}s.push(u={value:x,dice:m{"use strict";fq();dq();Lke=(1+Math.sqrt(5))/2;o(Rke,"squarifyRatio");pq=o(function t(e){function r(n,i,a,s,l){Rke(e,n,i,a,s,l)}return o(r,"squarify"),r.ratio=function(n){return t((n=+n)>1?n:1)},r},"custom")(Lke)});function L5(){var t=pq,e=!1,r=1,n=1,i=[0],a=G0,s=G0,l=G0,u=G0,h=G0;function f(p){return p.x0=p.y0=0,p.x1=r,p.y1=n,p.eachBefore(d),i=[0],e&&p.eachBefore(fD),p}o(f,"treemap");function d(p){var m=i[p.depth],g=p.x0+m,y=p.y0+m,x=p.x1-m,v=p.y1-m;x{"use strict";hq();mq();cq();uq();o(L5,"default")});var yq=N(()=>{"use strict";oq();gq()});var vq=N(()=>{"use strict"});var xq=N(()=>{"use strict"});function Lh(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}var Rv=N(()=>{"use strict";o(Lh,"initRange")});function eo(){var t=new S0,e=[],r=[],n=mD;function i(a){let s=t.get(a);if(s===void 0){if(n!==mD)return n;t.set(a,s=e.push(a)-1)}return r[s%r.length]}return o(i,"scale"),i.domain=function(a){if(!arguments.length)return e.slice();e=[],t=new S0;for(let s of a)t.has(s)||t.set(s,e.push(s)-1);return i},i.range=function(a){return arguments.length?(r=Array.from(a),i):r.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return eo(e,r).unknown(n)},Lh.apply(i,arguments),i}var mD,gD=N(()=>{"use strict";kh();Rv();mD=Symbol("implicit");o(eo,"ordinal")});function z0(){var t=eo().unknown(void 0),e=t.domain,r=t.range,n=0,i=1,a,s,l=!1,u=0,h=0,f=.5;delete t.unknown;function d(){var p=e().length,m=i{"use strict";kh();Rv();gD();o(z0,"band")});function yD(t){return function(){return t}}var Tq=N(()=>{"use strict";o(yD,"constants")});function vD(t){return+t}var wq=N(()=>{"use strict";o(vD,"number")});function V0(t){return t}function xD(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:yD(isNaN(e)?NaN:.5)}function Nke(t,e){var r;return t>e&&(r=t,t=e,e=r),function(n){return Math.max(t,Math.min(e,n))}}function Mke(t,e,r){var n=t[0],i=t[1],a=e[0],s=e[1];return i2?Ike:Mke,u=h=null,d}o(f,"rescale");function d(p){return p==null||isNaN(p=+p)?a:(u||(u=l(t.map(n),e,r)))(n(s(p)))}return o(d,"scale"),d.invert=function(p){return s(i((h||(h=l(e,t.map(n),Yi)))(p)))},d.domain=function(p){return arguments.length?(t=Array.from(p,vD),f()):t.slice()},d.range=function(p){return arguments.length?(e=Array.from(p),f()):e.slice()},d.rangeRound=function(p){return e=Array.from(p),r=o5,f()},d.clamp=function(p){return arguments.length?(s=p?!0:V0,f()):s!==V0},d.interpolate=function(p){return arguments.length?(r=p,f()):r},d.unknown=function(p){return arguments.length?(a=p,d):a},function(p,m){return n=p,i=m,f()}}function Nv(){return Oke()(V0,V0)}var kq,bD=N(()=>{"use strict";kh();P0();Tq();wq();kq=[0,1];o(V0,"identity");o(xD,"normalize");o(Nke,"clamper");o(Mke,"bimap");o(Ike,"polymap");o(R5,"copy");o(Oke,"transformer");o(Nv,"continuous")});function TD(t,e,r,n){var i=C0(t,e,r),a;switch(n=Dh(n??",f"),n.type){case"s":{var s=Math.max(Math.abs(t),Math.abs(e));return n.precision==null&&!isNaN(a=_5(i,s))&&(n.precision=a),C5(n,s)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=D5(i,Math.max(Math.abs(t),Math.abs(e))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=A5(i))&&(n.precision=a-(n.type==="%")*2);break}}return lc(n)}var Eq=N(()=>{"use strict";kh();Z_();o(TD,"tickFormat")});function Pke(t){var e=t.domain;return t.ticks=function(r){var n=e();return H3(n[0],n[n.length-1],r??10)},t.tickFormat=function(r,n){var i=e();return TD(i[0],i[i.length-1],r??10,n)},t.nice=function(r){r==null&&(r=10);var n=e(),i=0,a=n.length-1,s=n[i],l=n[a],u,h,f=10;for(l0;){if(h=sv(s,l,r),h===u)return n[i]=s,n[a]=l,e(n);if(h>0)s=Math.floor(s/h)*h,l=Math.ceil(l/h)*h;else if(h<0)s=Math.ceil(s*h)/h,l=Math.floor(l*h)/h;else break;u=h}return t},t}function Tl(){var t=Nv();return t.copy=function(){return R5(t,Tl())},Lh.apply(t,arguments),Pke(t)}var Sq=N(()=>{"use strict";kh();bD();Rv();Eq();o(Pke,"linearish");o(Tl,"linear")});function wD(t,e){t=t.slice();var r=0,n=t.length-1,i=t[r],a=t[n],s;return a{"use strict";o(wD,"nice")});function bn(t,e,r,n){function i(a){return t(a=arguments.length===0?new Date:new Date(+a)),a}return o(i,"interval"),i.floor=a=>(t(a=new Date(+a)),a),i.ceil=a=>(t(a=new Date(a-1)),e(a,1),t(a),a),i.round=a=>{let s=i(a),l=i.ceil(a);return a-s(e(a=new Date(+a),s==null?1:Math.floor(s)),a),i.range=(a,s,l)=>{let u=[];if(a=i.ceil(a),l=l==null?1:Math.floor(l),!(a0))return u;let h;do u.push(h=new Date(+a)),e(a,l),t(a);while(hbn(s=>{if(s>=s)for(;t(s),!a(s);)s.setTime(s-1)},(s,l)=>{if(s>=s)if(l<0)for(;++l<=0;)for(;e(s,-1),!a(s););else for(;--l>=0;)for(;e(s,1),!a(s););}),r&&(i.count=(a,s)=>(kD.setTime(+a),ED.setTime(+s),t(kD),t(ED),Math.floor(r(kD,ED))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?s=>n(s)%a===0:s=>i.count(0,s)%a===0):i)),i}var kD,ED,bu=N(()=>{"use strict";kD=new Date,ED=new Date;o(bn,"timeInterval")});var cc,Aq,SD=N(()=>{"use strict";bu();cc=bn(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);cc.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?bn(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):cc);Aq=cc.range});var to,_q,CD=N(()=>{"use strict";bu();to=bn(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*1e3)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds()),_q=to.range});var Tu,Bke,N5,Fke,AD=N(()=>{"use strict";bu();Tu=bn(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3)},(t,e)=>{t.setTime(+t+e*6e4)},(t,e)=>(e-t)/6e4,t=>t.getMinutes()),Bke=Tu.range,N5=bn(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*6e4)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes()),Fke=N5.range});var wu,$ke,M5,Gke,_D=N(()=>{"use strict";bu();wu=bn(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3-t.getMinutes()*6e4)},(t,e)=>{t.setTime(+t+e*36e5)},(t,e)=>(e-t)/36e5,t=>t.getHours()),$ke=wu.range,M5=bn(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*36e5)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours()),Gke=M5.range});var Lo,zke,Iv,Vke,I5,Uke,DD=N(()=>{"use strict";bu();Lo=bn(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1),zke=Lo.range,Iv=bn(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1),Vke=Iv.range,I5=bn(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5)),Uke=I5.range});function Dd(t){return bn(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,r)=>{e.setDate(e.getDate()+r*7)},(e,r)=>(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5)}function Ld(t){return bn(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r*7)},(e,r)=>(r-e)/6048e5)}var wl,Rh,O5,P5,hc,B5,F5,Lq,Hke,Wke,qke,Yke,Xke,jke,Rd,U0,Rq,Nq,Nh,Mq,Iq,Oq,Kke,Qke,Zke,Jke,eEe,tEe,LD=N(()=>{"use strict";bu();o(Dd,"timeWeekday");wl=Dd(0),Rh=Dd(1),O5=Dd(2),P5=Dd(3),hc=Dd(4),B5=Dd(5),F5=Dd(6),Lq=wl.range,Hke=Rh.range,Wke=O5.range,qke=P5.range,Yke=hc.range,Xke=B5.range,jke=F5.range;o(Ld,"utcWeekday");Rd=Ld(0),U0=Ld(1),Rq=Ld(2),Nq=Ld(3),Nh=Ld(4),Mq=Ld(5),Iq=Ld(6),Oq=Rd.range,Kke=U0.range,Qke=Rq.range,Zke=Nq.range,Jke=Nh.range,eEe=Mq.range,tEe=Iq.range});var ku,rEe,$5,nEe,RD=N(()=>{"use strict";bu();ku=bn(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth()),rEe=ku.range,$5=bn(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth()),nEe=$5.range});var ro,iEe,kl,aEe,ND=N(()=>{"use strict";bu();ro=bn(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());ro.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:bn(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)});iEe=ro.range,kl=bn(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());kl.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:bn(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)});aEe=kl.range});function Bq(t,e,r,n,i,a){let s=[[to,1,1e3],[to,5,5*1e3],[to,15,15*1e3],[to,30,30*1e3],[a,1,6e4],[a,5,5*6e4],[a,15,15*6e4],[a,30,30*6e4],[i,1,36e5],[i,3,3*36e5],[i,6,6*36e5],[i,12,12*36e5],[n,1,864e5],[n,2,2*864e5],[r,1,6048e5],[e,1,2592e6],[e,3,3*2592e6],[t,1,31536e6]];function l(h,f,d){let p=fx).right(s,p);if(m===s.length)return t.every(C0(h/31536e6,f/31536e6,d));if(m===0)return cc.every(Math.max(C0(h,f,d),1));let[g,y]=s[p/s[m-1][2]{"use strict";kh();SD();CD();AD();_D();DD();LD();RD();ND();o(Bq,"ticker");[oEe,lEe]=Bq(kl,$5,Rd,I5,M5,N5),[MD,ID]=Bq(ro,ku,wl,Lo,wu,Tu)});var G5=N(()=>{"use strict";SD();CD();AD();_D();DD();LD();RD();ND();Fq()});function OD(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function PD(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Ov(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}function BD(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,a=t.days,s=t.shortDays,l=t.months,u=t.shortMonths,h=Pv(i),f=Bv(i),d=Pv(a),p=Bv(a),m=Pv(s),g=Bv(s),y=Pv(l),x=Bv(l),v=Pv(u),b=Bv(u),T={a:P,A:B,b:F,B:G,c:null,d:Hq,e:Hq,f:REe,g:zEe,G:UEe,H:_Ee,I:DEe,j:LEe,L:jq,m:NEe,M:MEe,p:$,q:U,Q:Yq,s:Xq,S:IEe,u:OEe,U:PEe,V:BEe,w:FEe,W:$Ee,x:null,X:null,y:GEe,Y:VEe,Z:HEe,"%":qq},S={a:K,A:ne,b:j,B:le,c:null,d:Wq,e:Wq,f:XEe,g:iSe,G:sSe,H:WEe,I:qEe,j:YEe,L:Qq,m:jEe,M:KEe,p:Z,q:ce,Q:Yq,s:Xq,S:QEe,u:ZEe,U:JEe,V:eSe,w:tSe,W:rSe,x:null,X:null,y:nSe,Y:aSe,Z:oSe,"%":qq},w={a:O,A:R,b:k,B:L,c:C,d:Vq,e:Vq,f:EEe,g:zq,G:Gq,H:Uq,I:Uq,j:bEe,L:kEe,m:xEe,M:TEe,p:D,q:vEe,Q:CEe,s:AEe,S:wEe,u:dEe,U:pEe,V:mEe,w:fEe,W:gEe,x:I,X:M,y:zq,Y:Gq,Z:yEe,"%":SEe};T.x=E(r,T),T.X=E(n,T),T.c=E(e,T),S.x=E(r,S),S.X=E(n,S),S.c=E(e,S);function E(Q,ee){return function(te){var re=[],he=-1,J=0,ye=Q.length,se,Se,W;for(te instanceof Date||(te=new Date(+te));++he53)return null;"w"in re||(re.w=1),"Z"in re?(J=PD(Ov(re.y,0,1)),ye=J.getUTCDay(),J=ye>4||ye===0?U0.ceil(J):U0(J),J=Iv.offset(J,(re.V-1)*7),re.y=J.getUTCFullYear(),re.m=J.getUTCMonth(),re.d=J.getUTCDate()+(re.w+6)%7):(J=OD(Ov(re.y,0,1)),ye=J.getDay(),J=ye>4||ye===0?Rh.ceil(J):Rh(J),J=Lo.offset(J,(re.V-1)*7),re.y=J.getFullYear(),re.m=J.getMonth(),re.d=J.getDate()+(re.w+6)%7)}else("W"in re||"U"in re)&&("w"in re||(re.w="u"in re?re.u%7:"W"in re?1:0),ye="Z"in re?PD(Ov(re.y,0,1)).getUTCDay():OD(Ov(re.y,0,1)).getDay(),re.m=0,re.d="W"in re?(re.w+6)%7+re.W*7-(ye+5)%7:re.w+re.U*7-(ye+6)%7);return"Z"in re?(re.H+=re.Z/100|0,re.M+=re.Z%100,PD(re)):OD(re)}}o(_,"newParse");function A(Q,ee,te,re){for(var he=0,J=ee.length,ye=te.length,se,Se;he=ye)return-1;if(se=ee.charCodeAt(he++),se===37){if(se=ee.charAt(he++),Se=w[se in $q?ee.charAt(he++):se],!Se||(re=Se(Q,te,re))<0)return-1}else if(se!=te.charCodeAt(re++))return-1}return re}o(A,"parseSpecifier");function D(Q,ee,te){var re=h.exec(ee.slice(te));return re?(Q.p=f.get(re[0].toLowerCase()),te+re[0].length):-1}o(D,"parsePeriod");function O(Q,ee,te){var re=m.exec(ee.slice(te));return re?(Q.w=g.get(re[0].toLowerCase()),te+re[0].length):-1}o(O,"parseShortWeekday");function R(Q,ee,te){var re=d.exec(ee.slice(te));return re?(Q.w=p.get(re[0].toLowerCase()),te+re[0].length):-1}o(R,"parseWeekday");function k(Q,ee,te){var re=v.exec(ee.slice(te));return re?(Q.m=b.get(re[0].toLowerCase()),te+re[0].length):-1}o(k,"parseShortMonth");function L(Q,ee,te){var re=y.exec(ee.slice(te));return re?(Q.m=x.get(re[0].toLowerCase()),te+re[0].length):-1}o(L,"parseMonth");function C(Q,ee,te){return A(Q,e,ee,te)}o(C,"parseLocaleDateTime");function I(Q,ee,te){return A(Q,r,ee,te)}o(I,"parseLocaleDate");function M(Q,ee,te){return A(Q,n,ee,te)}o(M,"parseLocaleTime");function P(Q){return s[Q.getDay()]}o(P,"formatShortWeekday");function B(Q){return a[Q.getDay()]}o(B,"formatWeekday");function F(Q){return u[Q.getMonth()]}o(F,"formatShortMonth");function G(Q){return l[Q.getMonth()]}o(G,"formatMonth");function $(Q){return i[+(Q.getHours()>=12)]}o($,"formatPeriod");function U(Q){return 1+~~(Q.getMonth()/3)}o(U,"formatQuarter");function K(Q){return s[Q.getUTCDay()]}o(K,"formatUTCShortWeekday");function ne(Q){return a[Q.getUTCDay()]}o(ne,"formatUTCWeekday");function j(Q){return u[Q.getUTCMonth()]}o(j,"formatUTCShortMonth");function le(Q){return l[Q.getUTCMonth()]}o(le,"formatUTCMonth");function Z(Q){return i[+(Q.getUTCHours()>=12)]}o(Z,"formatUTCPeriod");function ce(Q){return 1+~~(Q.getUTCMonth()/3)}return o(ce,"formatUTCQuarter"),{format:o(function(Q){var ee=E(Q+="",T);return ee.toString=function(){return Q},ee},"format"),parse:o(function(Q){var ee=_(Q+="",!1);return ee.toString=function(){return Q},ee},"parse"),utcFormat:o(function(Q){var ee=E(Q+="",S);return ee.toString=function(){return Q},ee},"utcFormat"),utcParse:o(function(Q){var ee=_(Q+="",!0);return ee.toString=function(){return Q},ee},"utcParse")}}function Wr(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",a=i.length;return n+(a[e.toLowerCase(),r]))}function fEe(t,e,r){var n=Xi.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function dEe(t,e,r){var n=Xi.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function pEe(t,e,r){var n=Xi.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function mEe(t,e,r){var n=Xi.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function gEe(t,e,r){var n=Xi.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function Gq(t,e,r){var n=Xi.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function zq(t,e,r){var n=Xi.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function yEe(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function vEe(t,e,r){var n=Xi.exec(e.slice(r,r+1));return n?(t.q=n[0]*3-3,r+n[0].length):-1}function xEe(t,e,r){var n=Xi.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function Vq(t,e,r){var n=Xi.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function bEe(t,e,r){var n=Xi.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function Uq(t,e,r){var n=Xi.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function TEe(t,e,r){var n=Xi.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function wEe(t,e,r){var n=Xi.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function kEe(t,e,r){var n=Xi.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function EEe(t,e,r){var n=Xi.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function SEe(t,e,r){var n=cEe.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function CEe(t,e,r){var n=Xi.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function AEe(t,e,r){var n=Xi.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function Hq(t,e){return Wr(t.getDate(),e,2)}function _Ee(t,e){return Wr(t.getHours(),e,2)}function DEe(t,e){return Wr(t.getHours()%12||12,e,2)}function LEe(t,e){return Wr(1+Lo.count(ro(t),t),e,3)}function jq(t,e){return Wr(t.getMilliseconds(),e,3)}function REe(t,e){return jq(t,e)+"000"}function NEe(t,e){return Wr(t.getMonth()+1,e,2)}function MEe(t,e){return Wr(t.getMinutes(),e,2)}function IEe(t,e){return Wr(t.getSeconds(),e,2)}function OEe(t){var e=t.getDay();return e===0?7:e}function PEe(t,e){return Wr(wl.count(ro(t)-1,t),e,2)}function Kq(t){var e=t.getDay();return e>=4||e===0?hc(t):hc.ceil(t)}function BEe(t,e){return t=Kq(t),Wr(hc.count(ro(t),t)+(ro(t).getDay()===4),e,2)}function FEe(t){return t.getDay()}function $Ee(t,e){return Wr(Rh.count(ro(t)-1,t),e,2)}function GEe(t,e){return Wr(t.getFullYear()%100,e,2)}function zEe(t,e){return t=Kq(t),Wr(t.getFullYear()%100,e,2)}function VEe(t,e){return Wr(t.getFullYear()%1e4,e,4)}function UEe(t,e){var r=t.getDay();return t=r>=4||r===0?hc(t):hc.ceil(t),Wr(t.getFullYear()%1e4,e,4)}function HEe(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Wr(e/60|0,"0",2)+Wr(e%60,"0",2)}function Wq(t,e){return Wr(t.getUTCDate(),e,2)}function WEe(t,e){return Wr(t.getUTCHours(),e,2)}function qEe(t,e){return Wr(t.getUTCHours()%12||12,e,2)}function YEe(t,e){return Wr(1+Iv.count(kl(t),t),e,3)}function Qq(t,e){return Wr(t.getUTCMilliseconds(),e,3)}function XEe(t,e){return Qq(t,e)+"000"}function jEe(t,e){return Wr(t.getUTCMonth()+1,e,2)}function KEe(t,e){return Wr(t.getUTCMinutes(),e,2)}function QEe(t,e){return Wr(t.getUTCSeconds(),e,2)}function ZEe(t){var e=t.getUTCDay();return e===0?7:e}function JEe(t,e){return Wr(Rd.count(kl(t)-1,t),e,2)}function Zq(t){var e=t.getUTCDay();return e>=4||e===0?Nh(t):Nh.ceil(t)}function eSe(t,e){return t=Zq(t),Wr(Nh.count(kl(t),t)+(kl(t).getUTCDay()===4),e,2)}function tSe(t){return t.getUTCDay()}function rSe(t,e){return Wr(U0.count(kl(t)-1,t),e,2)}function nSe(t,e){return Wr(t.getUTCFullYear()%100,e,2)}function iSe(t,e){return t=Zq(t),Wr(t.getUTCFullYear()%100,e,2)}function aSe(t,e){return Wr(t.getUTCFullYear()%1e4,e,4)}function sSe(t,e){var r=t.getUTCDay();return t=r>=4||r===0?Nh(t):Nh.ceil(t),Wr(t.getUTCFullYear()%1e4,e,4)}function oSe(){return"+0000"}function qq(){return"%"}function Yq(t){return+t}function Xq(t){return Math.floor(+t/1e3)}var $q,Xi,cEe,uEe,Jq=N(()=>{"use strict";G5();o(OD,"localDate");o(PD,"utcDate");o(Ov,"newDate");o(BD,"formatLocale");$q={"-":"",_:" ",0:"0"},Xi=/^\s*\d+/,cEe=/^%/,uEe=/[\\^$*+?|[\]().{}]/g;o(Wr,"pad");o(hEe,"requote");o(Pv,"formatRe");o(Bv,"formatLookup");o(fEe,"parseWeekdayNumberSunday");o(dEe,"parseWeekdayNumberMonday");o(pEe,"parseWeekNumberSunday");o(mEe,"parseWeekNumberISO");o(gEe,"parseWeekNumberMonday");o(Gq,"parseFullYear");o(zq,"parseYear");o(yEe,"parseZone");o(vEe,"parseQuarter");o(xEe,"parseMonthNumber");o(Vq,"parseDayOfMonth");o(bEe,"parseDayOfYear");o(Uq,"parseHour24");o(TEe,"parseMinutes");o(wEe,"parseSeconds");o(kEe,"parseMilliseconds");o(EEe,"parseMicroseconds");o(SEe,"parseLiteralPercent");o(CEe,"parseUnixTimestamp");o(AEe,"parseUnixTimestampSeconds");o(Hq,"formatDayOfMonth");o(_Ee,"formatHour24");o(DEe,"formatHour12");o(LEe,"formatDayOfYear");o(jq,"formatMilliseconds");o(REe,"formatMicroseconds");o(NEe,"formatMonthNumber");o(MEe,"formatMinutes");o(IEe,"formatSeconds");o(OEe,"formatWeekdayNumberMonday");o(PEe,"formatWeekNumberSunday");o(Kq,"dISO");o(BEe,"formatWeekNumberISO");o(FEe,"formatWeekdayNumberSunday");o($Ee,"formatWeekNumberMonday");o(GEe,"formatYear");o(zEe,"formatYearISO");o(VEe,"formatFullYear");o(UEe,"formatFullYearISO");o(HEe,"formatZone");o(Wq,"formatUTCDayOfMonth");o(WEe,"formatUTCHour24");o(qEe,"formatUTCHour12");o(YEe,"formatUTCDayOfYear");o(Qq,"formatUTCMilliseconds");o(XEe,"formatUTCMicroseconds");o(jEe,"formatUTCMonthNumber");o(KEe,"formatUTCMinutes");o(QEe,"formatUTCSeconds");o(ZEe,"formatUTCWeekdayNumberMonday");o(JEe,"formatUTCWeekNumberSunday");o(Zq,"UTCdISO");o(eSe,"formatUTCWeekNumberISO");o(tSe,"formatUTCWeekdayNumberSunday");o(rSe,"formatUTCWeekNumberMonday");o(nSe,"formatUTCYear");o(iSe,"formatUTCYearISO");o(aSe,"formatUTCFullYear");o(sSe,"formatUTCFullYearISO");o(oSe,"formatUTCZone");o(qq,"formatLiteralPercent");o(Yq,"formatUnixTimestamp");o(Xq,"formatUnixTimestampSeconds")});function FD(t){return H0=BD(t),Nd=H0.format,eY=H0.parse,tY=H0.utcFormat,rY=H0.utcParse,H0}var H0,Nd,eY,tY,rY,nY=N(()=>{"use strict";Jq();FD({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});o(FD,"defaultLocale")});var $D=N(()=>{"use strict";nY()});function lSe(t){return new Date(t)}function cSe(t){return t instanceof Date?+t:+new Date(+t)}function iY(t,e,r,n,i,a,s,l,u,h){var f=Nv(),d=f.invert,p=f.domain,m=h(".%L"),g=h(":%S"),y=h("%I:%M"),x=h("%I %p"),v=h("%a %d"),b=h("%b %d"),T=h("%B"),S=h("%Y");function w(E){return(u(E){"use strict";G5();$D();bD();Rv();Cq();o(lSe,"date");o(cSe,"number");o(iY,"calendar");o(z5,"time")});var sY=N(()=>{"use strict";bq();Sq();gD();aY()});function GD(t){for(var e=t.length/6|0,r=new Array(e),n=0;n{"use strict";o(GD,"default")});var zD,lY=N(()=>{"use strict";oY();zD=GD("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab")});var cY=N(()=>{"use strict";lY()});function Gn(t){return o(function(){return t},"constant")}var V5=N(()=>{"use strict";o(Gn,"default")});function hY(t){return t>1?0:t<-1?W0:Math.acos(t)}function UD(t){return t>=1?Fv:t<=-1?-Fv:Math.asin(t)}var VD,ca,Mh,uY,U5,El,Md,ji,W0,Fv,q0,H5=N(()=>{"use strict";VD=Math.abs,ca=Math.atan2,Mh=Math.cos,uY=Math.max,U5=Math.min,El=Math.sin,Md=Math.sqrt,ji=1e-12,W0=Math.PI,Fv=W0/2,q0=2*W0;o(hY,"acos");o(UD,"asin")});function W5(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(r==null)e=null;else{let n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);e=n}return t},()=>new Ed(e)}var HD=N(()=>{"use strict";G_();o(W5,"withPath")});function uSe(t){return t.innerRadius}function hSe(t){return t.outerRadius}function fSe(t){return t.startAngle}function dSe(t){return t.endAngle}function pSe(t){return t&&t.padAngle}function mSe(t,e,r,n,i,a,s,l){var u=r-t,h=n-e,f=s-i,d=l-a,p=d*u-f*h;if(!(p*pC*C+I*I&&(A=O,D=R),{cx:A,cy:D,x01:-f,y01:-d,x11:A*(i/w-1),y11:D*(i/w-1)}}function Sl(){var t=uSe,e=hSe,r=Gn(0),n=null,i=fSe,a=dSe,s=pSe,l=null,u=W5(h);function h(){var f,d,p=+t.apply(this,arguments),m=+e.apply(this,arguments),g=i.apply(this,arguments)-Fv,y=a.apply(this,arguments)-Fv,x=VD(y-g),v=y>g;if(l||(l=f=u()),mji))l.moveTo(0,0);else if(x>q0-ji)l.moveTo(m*Mh(g),m*El(g)),l.arc(0,0,m,g,y,!v),p>ji&&(l.moveTo(p*Mh(y),p*El(y)),l.arc(0,0,p,y,g,v));else{var b=g,T=y,S=g,w=y,E=x,_=x,A=s.apply(this,arguments)/2,D=A>ji&&(n?+n.apply(this,arguments):Md(p*p+m*m)),O=U5(VD(m-p)/2,+r.apply(this,arguments)),R=O,k=O,L,C;if(D>ji){var I=UD(D/p*El(A)),M=UD(D/m*El(A));(E-=I*2)>ji?(I*=v?1:-1,S+=I,w-=I):(E=0,S=w=(g+y)/2),(_-=M*2)>ji?(M*=v?1:-1,b+=M,T-=M):(_=0,b=T=(g+y)/2)}var P=m*Mh(b),B=m*El(b),F=p*Mh(w),G=p*El(w);if(O>ji){var $=m*Mh(T),U=m*El(T),K=p*Mh(S),ne=p*El(S),j;if(xji?k>ji?(L=q5(K,ne,P,B,m,k,v),C=q5($,U,F,G,m,k,v),l.moveTo(L.cx+L.x01,L.cy+L.y01),kji)||!(E>ji)?l.lineTo(F,G):R>ji?(L=q5(F,G,$,U,p,-R,v),C=q5(P,B,K,ne,p,-R,v),l.lineTo(L.cx+L.x01,L.cy+L.y01),R{"use strict";V5();H5();HD();o(uSe,"arcInnerRadius");o(hSe,"arcOuterRadius");o(fSe,"arcStartAngle");o(dSe,"arcEndAngle");o(pSe,"arcPadAngle");o(mSe,"intersect");o(q5,"cornerTangents");o(Sl,"default")});function $v(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}var K2t,WD=N(()=>{"use strict";K2t=Array.prototype.slice;o($v,"default")});function dY(t){this._context=t}function Eu(t){return new dY(t)}var qD=N(()=>{"use strict";o(dY,"Linear");dY.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._point=0},"lineStart"),lineEnd:o(function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}},"point")};o(Eu,"default")});function pY(t){return t[0]}function mY(t){return t[1]}var gY=N(()=>{"use strict";o(pY,"x");o(mY,"y")});function Cl(t,e){var r=Gn(!0),n=null,i=Eu,a=null,s=W5(l);t=typeof t=="function"?t:t===void 0?pY:Gn(t),e=typeof e=="function"?e:e===void 0?mY:Gn(e);function l(u){var h,f=(u=$v(u)).length,d,p=!1,m;for(n==null&&(a=i(m=s())),h=0;h<=f;++h)!(h{"use strict";WD();V5();qD();HD();gY();o(Cl,"default")});function YD(t,e){return et?1:e>=t?0:NaN}var vY=N(()=>{"use strict";o(YD,"default")});function XD(t){return t}var xY=N(()=>{"use strict";o(XD,"default")});function Y5(){var t=XD,e=YD,r=null,n=Gn(0),i=Gn(q0),a=Gn(0);function s(l){var u,h=(l=$v(l)).length,f,d,p=0,m=new Array(h),g=new Array(h),y=+n.apply(this,arguments),x=Math.min(q0,Math.max(-q0,i.apply(this,arguments)-y)),v,b=Math.min(Math.abs(x)/h,a.apply(this,arguments)),T=b*(x<0?-1:1),S;for(u=0;u0&&(p+=S);for(e!=null?m.sort(function(w,E){return e(g[w],g[E])}):r!=null&&m.sort(function(w,E){return r(l[w],l[E])}),u=0,d=p?(x-h*T)/p:0;u0?S*d:0)+T,g[f]={data:l[f],index:u,value:S,startAngle:y,endAngle:v,padAngle:b};return g}return o(s,"pie"),s.value=function(l){return arguments.length?(t=typeof l=="function"?l:Gn(+l),s):t},s.sortValues=function(l){return arguments.length?(e=l,r=null,s):e},s.sort=function(l){return arguments.length?(r=l,e=null,s):r},s.startAngle=function(l){return arguments.length?(n=typeof l=="function"?l:Gn(+l),s):n},s.endAngle=function(l){return arguments.length?(i=typeof l=="function"?l:Gn(+l),s):i},s.padAngle=function(l){return arguments.length?(a=typeof l=="function"?l:Gn(+l),s):a},s}var bY=N(()=>{"use strict";WD();V5();vY();xY();H5();o(Y5,"default")});function Gv(t){return new X5(t,!0)}function zv(t){return new X5(t,!1)}var X5,TY=N(()=>{"use strict";X5=class{static{o(this,"Bump")}constructor(e,r){this._context=e,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,r){switch(e=+e,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,r,e,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,e,this._y0,e,r);break}}this._x0=e,this._y0=r}};o(Gv,"bumpX");o(zv,"bumpY")});function no(){}var Vv=N(()=>{"use strict";o(no,"default")});function Y0(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function Uv(t){this._context=t}function Ro(t){return new Uv(t)}var Hv=N(()=>{"use strict";o(Y0,"point");o(Uv,"Basis");Uv.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 3:Y0(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Y0(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e},"point")};o(Ro,"default")});function wY(t){this._context=t}function j5(t){return new wY(t)}var kY=N(()=>{"use strict";Vv();Hv();o(wY,"BasisClosed");wY.prototype={areaStart:no,areaEnd:no,lineStart:o(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Y0(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e},"point")};o(j5,"default")});function EY(t){this._context=t}function K5(t){return new EY(t)}var SY=N(()=>{"use strict";Hv();o(EY,"BasisOpen");EY.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:o(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Y0(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e},"point")};o(K5,"default")});function CY(t,e){this._basis=new Uv(t),this._beta=e}var jD,AY=N(()=>{"use strict";Hv();o(CY,"Bundle");CY.prototype={lineStart:o(function(){this._x=[],this._y=[],this._basis.lineStart()},"lineStart"),lineEnd:o(function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var n=t[0],i=e[0],a=t[r]-n,s=e[r]-i,l=-1,u;++l<=r;)u=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(n+u*a),this._beta*e[l]+(1-this._beta)*(i+u*s));this._x=this._y=null,this._basis.lineEnd()},"lineEnd"),point:o(function(t,e){this._x.push(+t),this._y.push(+e)},"point")};jD=o(function t(e){function r(n){return e===1?new Uv(n):new CY(n,e)}return o(r,"bundle"),r.beta=function(n){return t(+n)},r},"custom")(.85)});function X0(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function Q5(t,e){this._context=t,this._k=(1-e)/6}var Wv,qv=N(()=>{"use strict";o(X0,"point");o(Q5,"Cardinal");Q5.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:X0(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:X0(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};Wv=o(function t(e){function r(n){return new Q5(n,e)}return o(r,"cardinal"),r.tension=function(n){return t(+n)},r},"custom")(0)});function Z5(t,e){this._context=t,this._k=(1-e)/6}var KD,QD=N(()=>{"use strict";Vv();qv();o(Z5,"CardinalClosed");Z5.prototype={areaStart:no,areaEnd:no,lineStart:o(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:X0(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};KD=o(function t(e){function r(n){return new Z5(n,e)}return o(r,"cardinal"),r.tension=function(n){return t(+n)},r},"custom")(0)});function J5(t,e){this._context=t,this._k=(1-e)/6}var ZD,JD=N(()=>{"use strict";qv();o(J5,"CardinalOpen");J5.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:o(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:X0(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};ZD=o(function t(e){function r(n){return new J5(n,e)}return o(r,"cardinal"),r.tension=function(n){return t(+n)},r},"custom")(0)});function Yv(t,e,r){var n=t._x1,i=t._y1,a=t._x2,s=t._y2;if(t._l01_a>ji){var l=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*l-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*l-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>ji){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*h+t._x1*t._l23_2a-e*t._l12_2a)/f,s=(s*h+t._y1*t._l23_2a-r*t._l12_2a)/f}t._context.bezierCurveTo(n,i,a,s,t._x2,t._y2)}function _Y(t,e){this._context=t,this._alpha=e}var Xv,eT=N(()=>{"use strict";H5();qv();o(Yv,"point");o(_Y,"CatmullRom");_Y.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Yv(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};Xv=o(function t(e){function r(n){return e?new _Y(n,e):new Q5(n,0)}return o(r,"catmullRom"),r.alpha=function(n){return t(+n)},r},"custom")(.5)});function DY(t,e){this._context=t,this._alpha=e}var eL,LY=N(()=>{"use strict";QD();Vv();eT();o(DY,"CatmullRomClosed");DY.prototype={areaStart:no,areaEnd:no,lineStart:o(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},"lineEnd"),point:o(function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Yv(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};eL=o(function t(e){function r(n){return e?new DY(n,e):new Z5(n,0)}return o(r,"catmullRom"),r.alpha=function(n){return t(+n)},r},"custom")(.5)});function RY(t,e){this._context=t,this._alpha=e}var tL,NY=N(()=>{"use strict";JD();eT();o(RY,"CatmullRomOpen");RY.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:o(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Yv(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e},"point")};tL=o(function t(e){function r(n){return e?new RY(n,e):new J5(n,0)}return o(r,"catmullRom"),r.alpha=function(n){return t(+n)},r},"custom")(.5)});function MY(t){this._context=t}function tT(t){return new MY(t)}var IY=N(()=>{"use strict";Vv();o(MY,"LinearClosed");MY.prototype={areaStart:no,areaEnd:no,lineStart:o(function(){this._point=0},"lineStart"),lineEnd:o(function(){this._point&&this._context.closePath()},"lineEnd"),point:o(function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))},"point")};o(tT,"default")});function OY(t){return t<0?-1:1}function PY(t,e,r){var n=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(n||i<0&&-0),s=(r-t._y1)/(i||n<0&&-0),l=(a*i+s*n)/(n+i);return(OY(a)+OY(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(l))||0}function BY(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function rL(t,e,r){var n=t._x0,i=t._y0,a=t._x1,s=t._y1,l=(a-n)/3;t._context.bezierCurveTo(n+l,i+l*e,a-l,s-l*r,a,s)}function rT(t){this._context=t}function FY(t){this._context=new $Y(t)}function $Y(t){this._context=t}function jv(t){return new rT(t)}function Kv(t){return new FY(t)}var GY=N(()=>{"use strict";o(OY,"sign");o(PY,"slope3");o(BY,"slope2");o(rL,"point");o(rT,"MonotoneX");rT.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},"lineStart"),lineEnd:o(function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:rL(this,this._t0,BY(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:o(function(t,e){var r=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,rL(this,BY(this,r=PY(this,t,e)),r);break;default:rL(this,this._t0,r=PY(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}},"point")};o(FY,"MonotoneY");(FY.prototype=Object.create(rT.prototype)).point=function(t,e){rT.prototype.point.call(this,e,t)};o($Y,"ReflectContext");$Y.prototype={moveTo:o(function(t,e){this._context.moveTo(e,t)},"moveTo"),closePath:o(function(){this._context.closePath()},"closePath"),lineTo:o(function(t,e){this._context.lineTo(e,t)},"lineTo"),bezierCurveTo:o(function(t,e,r,n,i,a){this._context.bezierCurveTo(e,t,n,r,a,i)},"bezierCurveTo")};o(jv,"monotoneX");o(Kv,"monotoneY")});function VY(t){this._context=t}function zY(t){var e,r=t.length-1,n,i=new Array(r),a=new Array(r),s=new Array(r);for(i[0]=0,a[0]=2,s[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(s[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e{"use strict";o(VY,"Natural");VY.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x=[],this._y=[]},"lineStart"),lineEnd:o(function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),r===2)this._context.lineTo(t[1],e[1]);else for(var n=zY(t),i=zY(e),a=0,s=1;s{"use strict";o(nT,"Step");nT.prototype={areaStart:o(function(){this._line=0},"areaStart"),areaEnd:o(function(){this._line=NaN},"areaEnd"),lineStart:o(function(){this._x=this._y=NaN,this._point=0},"lineStart"),lineEnd:o(function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},"lineEnd"),point:o(function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}break}}this._x=t,this._y=e},"point")};o(K0,"default");o(Qv,"stepBefore");o(Zv,"stepAfter")});var WY=N(()=>{"use strict";fY();yY();bY();kY();SY();Hv();TY();AY();QD();JD();qv();LY();NY();eT();IY();qD();GY();UY();HY()});var qY=N(()=>{"use strict"});var YY=N(()=>{"use strict"});function Ih(t,e,r){this.k=t,this.x=e,this.y=r}function iL(t){for(;!t.__zoom;)if(!(t=t.parentNode))return nL;return t.__zoom}var nL,aL=N(()=>{"use strict";o(Ih,"Transform");Ih.prototype={constructor:Ih,scale:o(function(t){return t===1?this:new Ih(this.k*t,this.x,this.y)},"scale"),translate:o(function(t,e){return t===0&e===0?this:new Ih(this.k,this.x+this.k*t,this.y+this.k*e)},"translate"),apply:o(function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},"apply"),applyX:o(function(t){return t*this.k+this.x},"applyX"),applyY:o(function(t){return t*this.k+this.y},"applyY"),invert:o(function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},"invert"),invertX:o(function(t){return(t-this.x)/this.k},"invertX"),invertY:o(function(t){return(t-this.y)/this.k},"invertY"),rescaleX:o(function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},"rescaleX"),rescaleY:o(function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},"rescaleY"),toString:o(function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"},"toString")};nL=new Ih(1,0,0);iL.prototype=Ih.prototype;o(iL,"transform")});var XY=N(()=>{"use strict"});var jY=N(()=>{"use strict";T5();qY();YY();aL();XY()});var KY=N(()=>{"use strict";jY();aL()});var pr=N(()=>{"use strict";kh();iU();kW();AW();M0();_W();DW();YA();jU();LW();O_();RW();MW();Z_();YW();yq();P0();G_();vq();NW();xq();sY();cY();yl();WY();G5();$D();m5();T5();KY()});var QY=Aa(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.BLANK_URL=Ki.relativeFirstCharacters=Ki.whitespaceEscapeCharsRegex=Ki.urlSchemeRegex=Ki.ctrlCharactersRegex=Ki.htmlCtrlEntityRegex=Ki.htmlEntitiesRegex=Ki.invalidProtocolRegex=void 0;Ki.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;Ki.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;Ki.htmlCtrlEntityRegex=/&(newline|tab);/gi;Ki.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;Ki.urlSchemeRegex=/^.+(:|:)/gim;Ki.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;Ki.relativeFirstCharacters=[".","/"];Ki.BLANK_URL="about:blank"});var Q0=Aa(iT=>{"use strict";Object.defineProperty(iT,"__esModule",{value:!0});iT.sanitizeUrl=void 0;var La=QY();function gSe(t){return La.relativeFirstCharacters.indexOf(t[0])>-1}o(gSe,"isRelativeUrlWithoutProtocol");function ySe(t){var e=t.replace(La.ctrlCharactersRegex,"");return e.replace(La.htmlEntitiesRegex,function(r,n){return String.fromCharCode(n)})}o(ySe,"decodeHtmlCharacters");function vSe(t){return URL.canParse(t)}o(vSe,"isValidUrl");function ZY(t){try{return decodeURIComponent(t)}catch{return t}}o(ZY,"decodeURI");function xSe(t){if(!t)return La.BLANK_URL;var e,r=ZY(t.trim());do r=ySe(r).replace(La.htmlCtrlEntityRegex,"").replace(La.ctrlCharactersRegex,"").replace(La.whitespaceEscapeCharsRegex,"").trim(),r=ZY(r),e=r.match(La.ctrlCharactersRegex)||r.match(La.htmlEntitiesRegex)||r.match(La.htmlCtrlEntityRegex)||r.match(La.whitespaceEscapeCharsRegex);while(e&&e.length>0);var n=r;if(!n)return La.BLANK_URL;if(gSe(n))return n;var i=n.trimStart(),a=i.match(La.urlSchemeRegex);if(!a)return n;var s=a[0].toLowerCase().trim();if(La.invalidProtocolRegex.test(s))return La.BLANK_URL;var l=i.replace(/\\/g,"/");if(s==="mailto:"||s.includes("://"))return l;if(s==="http:"||s==="https:"){if(!vSe(l))return La.BLANK_URL;var u=new URL(l);return u.protocol=u.protocol.toLowerCase(),u.hostname=u.hostname.toLowerCase(),u.toString()}return l}o(xSe,"sanitizeUrl");iT.sanitizeUrl=xSe});var sL,Id,aT,JY,sT,oT,ua,Jv,e2=N(()=>{"use strict";sL=ja(Q0(),1);dr();Id=o((t,e)=>{let r=t.append("rect");if(r.attr("x",e.x),r.attr("y",e.y),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("width",e.width),r.attr("height",e.height),e.name&&r.attr("name",e.name),e.rx&&r.attr("rx",e.rx),e.ry&&r.attr("ry",e.ry),e.attrs!==void 0)for(let n in e.attrs)r.attr(n,e.attrs[n]);return e.class&&r.attr("class",e.class),r},"drawRect"),aT=o((t,e)=>{let r={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};Id(t,r).lower()},"drawBackgroundRect"),JY=o((t,e)=>{let r=e.text.replace(hd," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),e.class&&n.attr("class",e.class);let i=n.append("tspan");return i.attr("x",e.x+e.textMargin*2),i.text(r),n},"drawText"),sT=o((t,e,r,n)=>{let i=t.append("image");i.attr("x",e),i.attr("y",r);let a=(0,sL.sanitizeUrl)(n);i.attr("xlink:href",a)},"drawImage"),oT=o((t,e,r,n)=>{let i=t.append("use");i.attr("x",e),i.attr("y",r);let a=(0,sL.sanitizeUrl)(n);i.attr("xlink:href",`#${a}`)},"drawEmbeddedImage"),ua=o(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),Jv=o(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")});var eX,oL,tX,bSe,TSe,wSe,kSe,ESe,SSe,CSe,ASe,_Se,DSe,LSe,RSe,Su,Al,rX=N(()=>{"use strict";dr();e2();eX=ja(Q0(),1),oL=o(function(t,e){return Id(t,e)},"drawRect"),tX=o(function(t,e,r,n,i,a){let s=t.append("image");s.attr("width",e),s.attr("height",r),s.attr("x",n),s.attr("y",i);let l=a.startsWith("data:image/png;base64")?a:(0,eX.sanitizeUrl)(a);s.attr("xlink:href",l)},"drawImage"),bSe=o((t,e,r)=>{let n=t.append("g"),i=0;for(let a of e){let s=a.textColor?a.textColor:"#444444",l=a.lineColor?a.lineColor:"#444444",u=a.offsetX?parseInt(a.offsetX):0,h=a.offsetY?parseInt(a.offsetY):0,f="";if(i===0){let p=n.append("line");p.attr("x1",a.startPoint.x),p.attr("y1",a.startPoint.y),p.attr("x2",a.endPoint.x),p.attr("y2",a.endPoint.y),p.attr("stroke-width","1"),p.attr("stroke",l),p.style("fill","none"),a.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(a.type==="birel"||a.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)"),i=-1}else{let p=n.append("path");p.attr("fill","none").attr("stroke-width","1").attr("stroke",l).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",a.startPoint.x).replaceAll("starty",a.startPoint.y).replaceAll("controlx",a.startPoint.x+(a.endPoint.x-a.startPoint.x)/2-(a.endPoint.x-a.startPoint.x)/4).replaceAll("controly",a.startPoint.y+(a.endPoint.y-a.startPoint.y)/2).replaceAll("stopx",a.endPoint.x).replaceAll("stopy",a.endPoint.y)),a.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(a.type==="birel"||a.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)")}let d=r.messageFont();Su(r)(a.label.text,n,Math.min(a.startPoint.x,a.endPoint.x)+Math.abs(a.endPoint.x-a.startPoint.x)/2+u,Math.min(a.startPoint.y,a.endPoint.y)+Math.abs(a.endPoint.y-a.startPoint.y)/2+h,a.label.width,a.label.height,{fill:s},d),a.techn&&a.techn.text!==""&&(d=r.messageFont(),Su(r)("["+a.techn.text+"]",n,Math.min(a.startPoint.x,a.endPoint.x)+Math.abs(a.endPoint.x-a.startPoint.x)/2+u,Math.min(a.startPoint.y,a.endPoint.y)+Math.abs(a.endPoint.y-a.startPoint.y)/2+r.messageFontSize+5+h,Math.max(a.label.width,a.techn.width),a.techn.height,{fill:s,"font-style":"italic"},d))}},"drawRels"),TSe=o(function(t,e,r){let n=t.append("g"),i=e.bgColor?e.bgColor:"none",a=e.borderColor?e.borderColor:"#444444",s=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1});let u={x:e.x,y:e.y,fill:i,stroke:a,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l};oL(n,u);let h=r.boundaryFont();h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=s,Su(r)(e.label.text,n,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},h),e.type&&e.type.text!==""&&(h=r.boundaryFont(),h.fontColor=s,Su(r)(e.type.text,n,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},h)),e.descr&&e.descr.text!==""&&(h=r.boundaryFont(),h.fontSize=h.fontSize-2,h.fontColor=s,Su(r)(e.descr.text,n,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},h))},"drawBoundary"),wSe=o(function(t,e,r){let n=e.bgColor?e.bgColor:r[e.typeC4Shape.text+"_bg_color"],i=e.borderColor?e.borderColor:r[e.typeC4Shape.text+"_border_color"],a=e.fontColor?e.fontColor:"#FFFFFF",s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(e.typeC4Shape.text){case"person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";break}let l=t.append("g");l.attr("class","person-man");let u=ua();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":u.x=e.x,u.y=e.y,u.fill=n,u.width=e.width,u.height=e.height,u.stroke=i,u.rx=2.5,u.ry=2.5,u.attrs={"stroke-width":.5},oL(l,u);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":l.append("path").attr("fill",n).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2).replaceAll("height",e.height)),l.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":l.append("path").attr("fill",n).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("width",e.width).replaceAll("half",e.height/2)),l.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",e.x+e.width).replaceAll("starty",e.y).replaceAll("half",e.height/2));break}let h=RSe(r,e.typeC4Shape.text);switch(l.append("text").attr("fill",a).attr("font-family",h.fontFamily).attr("font-size",h.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",e.typeC4Shape.width).attr("x",e.x+e.width/2-e.typeC4Shape.width/2).attr("y",e.y+e.typeC4Shape.Y).text("<<"+e.typeC4Shape.text+">>"),e.typeC4Shape.text){case"person":case"external_person":tX(l,48,48,e.x+e.width/2-24,e.y+e.image.Y,s);break}let f=r[e.typeC4Shape.text+"Font"]();return f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=a,Su(r)(e.label.text,l,e.x,e.y+e.label.Y,e.width,e.height,{fill:a},f),f=r[e.typeC4Shape.text+"Font"](),f.fontColor=a,e.techn&&e.techn?.text!==""?Su(r)(e.techn.text,l,e.x,e.y+e.techn.Y,e.width,e.height,{fill:a,"font-style":"italic"},f):e.type&&e.type.text!==""&&Su(r)(e.type.text,l,e.x,e.y+e.type.Y,e.width,e.height,{fill:a,"font-style":"italic"},f),e.descr&&e.descr.text!==""&&(f=r.personFont(),f.fontColor=a,Su(r)(e.descr.text,l,e.x,e.y+e.descr.Y,e.width,e.height,{fill:a},f)),e.height},"drawC4Shape"),kSe=o(function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),ESe=o(function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),SSe=o(function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),CSe=o(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},"insertArrowHead"),ASe=o(function(t){t.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},"insertArrowEnd"),_Se=o(function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),DSe=o(function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},"insertDynamicNumber"),LSe=o(function(t){let r=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);r.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),r.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},"insertArrowCrossHead"),RSe=o((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"getC4ShapeFont"),Su=function(){function t(i,a,s,l,u,h,f){let d=a.append("text").attr("x",s+u/2).attr("y",l+h/2+5).style("text-anchor","middle").text(i);n(d,f)}o(t,"byText");function e(i,a,s,l,u,h,f,d){let{fontSize:p,fontFamily:m,fontWeight:g}=d,y=i.split(Je.lineBreakRegex);for(let x=0;x{"use strict";NSe=typeof global=="object"&&global&&global.Object===Object&&global,cT=NSe});var MSe,ISe,fi,No=N(()=>{"use strict";lL();MSe=typeof self=="object"&&self&&self.Object===Object&&self,ISe=cT||MSe||Function("return this")(),fi=ISe});var OSe,Qi,Od=N(()=>{"use strict";No();OSe=fi.Symbol,Qi=OSe});function FSe(t){var e=PSe.call(t,t2),r=t[t2];try{t[t2]=void 0;var n=!0}catch{}var i=BSe.call(t);return n&&(e?t[t2]=r:delete t[t2]),i}var nX,PSe,BSe,t2,iX,aX=N(()=>{"use strict";Od();nX=Object.prototype,PSe=nX.hasOwnProperty,BSe=nX.toString,t2=Qi?Qi.toStringTag:void 0;o(FSe,"getRawTag");iX=FSe});function zSe(t){return GSe.call(t)}var $Se,GSe,sX,oX=N(()=>{"use strict";$Se=Object.prototype,GSe=$Se.toString;o(zSe,"objectToString");sX=zSe});function HSe(t){return t==null?t===void 0?USe:VSe:lX&&lX in Object(t)?iX(t):sX(t)}var VSe,USe,lX,ha,Cu=N(()=>{"use strict";Od();aX();oX();VSe="[object Null]",USe="[object Undefined]",lX=Qi?Qi.toStringTag:void 0;o(HSe,"baseGetTag");ha=HSe});function WSe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Tn,io=N(()=>{"use strict";o(WSe,"isObject");Tn=WSe});function KSe(t){if(!Tn(t))return!1;var e=ha(t);return e==YSe||e==XSe||e==qSe||e==jSe}var qSe,YSe,XSe,jSe,Ai,r2=N(()=>{"use strict";Cu();io();qSe="[object AsyncFunction]",YSe="[object Function]",XSe="[object GeneratorFunction]",jSe="[object Proxy]";o(KSe,"isFunction");Ai=KSe});var QSe,uT,cX=N(()=>{"use strict";No();QSe=fi["__core-js_shared__"],uT=QSe});function ZSe(t){return!!uX&&uX in t}var uX,hX,fX=N(()=>{"use strict";cX();uX=function(){var t=/[^.]+$/.exec(uT&&uT.keys&&uT.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();o(ZSe,"isMasked");hX=ZSe});function t6e(t){if(t!=null){try{return e6e.call(t)}catch{}try{return t+""}catch{}}return""}var JSe,e6e,Au,cL=N(()=>{"use strict";JSe=Function.prototype,e6e=JSe.toString;o(t6e,"toSource");Au=t6e});function c6e(t){if(!Tn(t)||hX(t))return!1;var e=Ai(t)?l6e:n6e;return e.test(Au(t))}var r6e,n6e,i6e,a6e,s6e,o6e,l6e,dX,pX=N(()=>{"use strict";r2();fX();io();cL();r6e=/[\\^$.*+?()[\]{}|]/g,n6e=/^\[object .+?Constructor\]$/,i6e=Function.prototype,a6e=Object.prototype,s6e=i6e.toString,o6e=a6e.hasOwnProperty,l6e=RegExp("^"+s6e.call(o6e).replace(r6e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");o(c6e,"baseIsNative");dX=c6e});function u6e(t,e){return t?.[e]}var mX,gX=N(()=>{"use strict";o(u6e,"getValue");mX=u6e});function h6e(t,e){var r=mX(t,e);return dX(r)?r:void 0}var Ds,Oh=N(()=>{"use strict";pX();gX();o(h6e,"getNative");Ds=h6e});var f6e,_u,n2=N(()=>{"use strict";Oh();f6e=Ds(Object,"create"),_u=f6e});function d6e(){this.__data__=_u?_u(null):{},this.size=0}var yX,vX=N(()=>{"use strict";n2();o(d6e,"hashClear");yX=d6e});function p6e(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var xX,bX=N(()=>{"use strict";o(p6e,"hashDelete");xX=p6e});function v6e(t){var e=this.__data__;if(_u){var r=e[t];return r===m6e?void 0:r}return y6e.call(e,t)?e[t]:void 0}var m6e,g6e,y6e,TX,wX=N(()=>{"use strict";n2();m6e="__lodash_hash_undefined__",g6e=Object.prototype,y6e=g6e.hasOwnProperty;o(v6e,"hashGet");TX=v6e});function T6e(t){var e=this.__data__;return _u?e[t]!==void 0:b6e.call(e,t)}var x6e,b6e,kX,EX=N(()=>{"use strict";n2();x6e=Object.prototype,b6e=x6e.hasOwnProperty;o(T6e,"hashHas");kX=T6e});function k6e(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=_u&&e===void 0?w6e:e,this}var w6e,SX,CX=N(()=>{"use strict";n2();w6e="__lodash_hash_undefined__";o(k6e,"hashSet");SX=k6e});function Z0(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{"use strict";vX();bX();wX();EX();CX();o(Z0,"Hash");Z0.prototype.clear=yX;Z0.prototype.delete=xX;Z0.prototype.get=TX;Z0.prototype.has=kX;Z0.prototype.set=SX;uL=Z0});function E6e(){this.__data__=[],this.size=0}var _X,DX=N(()=>{"use strict";o(E6e,"listCacheClear");_X=E6e});function S6e(t,e){return t===e||t!==t&&e!==e}var Mo,Pd=N(()=>{"use strict";o(S6e,"eq");Mo=S6e});function C6e(t,e){for(var r=t.length;r--;)if(Mo(t[r][0],e))return r;return-1}var Ph,i2=N(()=>{"use strict";Pd();o(C6e,"assocIndexOf");Ph=C6e});function D6e(t){var e=this.__data__,r=Ph(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():_6e.call(e,r,1),--this.size,!0}var A6e,_6e,LX,RX=N(()=>{"use strict";i2();A6e=Array.prototype,_6e=A6e.splice;o(D6e,"listCacheDelete");LX=D6e});function L6e(t){var e=this.__data__,r=Ph(e,t);return r<0?void 0:e[r][1]}var NX,MX=N(()=>{"use strict";i2();o(L6e,"listCacheGet");NX=L6e});function R6e(t){return Ph(this.__data__,t)>-1}var IX,OX=N(()=>{"use strict";i2();o(R6e,"listCacheHas");IX=R6e});function N6e(t,e){var r=this.__data__,n=Ph(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var PX,BX=N(()=>{"use strict";i2();o(N6e,"listCacheSet");PX=N6e});function J0(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{"use strict";DX();RX();MX();OX();BX();o(J0,"ListCache");J0.prototype.clear=_X;J0.prototype.delete=LX;J0.prototype.get=NX;J0.prototype.has=IX;J0.prototype.set=PX;Bh=J0});var M6e,Fh,hT=N(()=>{"use strict";Oh();No();M6e=Ds(fi,"Map"),Fh=M6e});function I6e(){this.size=0,this.__data__={hash:new uL,map:new(Fh||Bh),string:new uL}}var FX,$X=N(()=>{"use strict";AX();a2();hT();o(I6e,"mapCacheClear");FX=I6e});function O6e(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var GX,zX=N(()=>{"use strict";o(O6e,"isKeyable");GX=O6e});function P6e(t,e){var r=t.__data__;return GX(e)?r[typeof e=="string"?"string":"hash"]:r.map}var $h,s2=N(()=>{"use strict";zX();o(P6e,"getMapData");$h=P6e});function B6e(t){var e=$h(this,t).delete(t);return this.size-=e?1:0,e}var VX,UX=N(()=>{"use strict";s2();o(B6e,"mapCacheDelete");VX=B6e});function F6e(t){return $h(this,t).get(t)}var HX,WX=N(()=>{"use strict";s2();o(F6e,"mapCacheGet");HX=F6e});function $6e(t){return $h(this,t).has(t)}var qX,YX=N(()=>{"use strict";s2();o($6e,"mapCacheHas");qX=$6e});function G6e(t,e){var r=$h(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}var XX,jX=N(()=>{"use strict";s2();o(G6e,"mapCacheSet");XX=G6e});function em(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{"use strict";$X();UX();WX();YX();jX();o(em,"MapCache");em.prototype.clear=FX;em.prototype.delete=VX;em.prototype.get=HX;em.prototype.has=qX;em.prototype.set=XX;Bd=em});function hL(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(z6e);var r=o(function(){var n=arguments,i=e?e.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var s=t.apply(this,n);return r.cache=a.set(i,s)||a,s},"memoized");return r.cache=new(hL.Cache||Bd),r}var z6e,tm,fL=N(()=>{"use strict";fT();z6e="Expected a function";o(hL,"memoize");hL.Cache=Bd;tm=hL});function V6e(){this.__data__=new Bh,this.size=0}var KX,QX=N(()=>{"use strict";a2();o(V6e,"stackClear");KX=V6e});function U6e(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var ZX,JX=N(()=>{"use strict";o(U6e,"stackDelete");ZX=U6e});function H6e(t){return this.__data__.get(t)}var ej,tj=N(()=>{"use strict";o(H6e,"stackGet");ej=H6e});function W6e(t){return this.__data__.has(t)}var rj,nj=N(()=>{"use strict";o(W6e,"stackHas");rj=W6e});function Y6e(t,e){var r=this.__data__;if(r instanceof Bh){var n=r.__data__;if(!Fh||n.length{"use strict";a2();hT();fT();q6e=200;o(Y6e,"stackSet");ij=Y6e});function rm(t){var e=this.__data__=new Bh(t);this.size=e.size}var fc,o2=N(()=>{"use strict";a2();QX();JX();tj();nj();aj();o(rm,"Stack");rm.prototype.clear=KX;rm.prototype.delete=ZX;rm.prototype.get=ej;rm.prototype.has=rj;rm.prototype.set=ij;fc=rm});var X6e,nm,dL=N(()=>{"use strict";Oh();X6e=function(){try{var t=Ds(Object,"defineProperty");return t({},"",{}),t}catch{}}(),nm=X6e});function j6e(t,e,r){e=="__proto__"&&nm?nm(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var dc,im=N(()=>{"use strict";dL();o(j6e,"baseAssignValue");dc=j6e});function K6e(t,e,r){(r!==void 0&&!Mo(t[e],r)||r===void 0&&!(e in t))&&dc(t,e,r)}var l2,pL=N(()=>{"use strict";im();Pd();o(K6e,"assignMergeValue");l2=K6e});function Q6e(t){return function(e,r,n){for(var i=-1,a=Object(e),s=n(e),l=s.length;l--;){var u=s[t?l:++i];if(r(a[u],u,a)===!1)break}return e}}var sj,oj=N(()=>{"use strict";o(Q6e,"createBaseFor");sj=Q6e});var Z6e,am,dT=N(()=>{"use strict";oj();Z6e=sj(),am=Z6e});function eCe(t,e){if(e)return t.slice();var r=t.length,n=uj?uj(r):new t.constructor(r);return t.copy(n),n}var hj,lj,J6e,cj,uj,pT,mL=N(()=>{"use strict";No();hj=typeof exports=="object"&&exports&&!exports.nodeType&&exports,lj=hj&&typeof module=="object"&&module&&!module.nodeType&&module,J6e=lj&&lj.exports===hj,cj=J6e?fi.Buffer:void 0,uj=cj?cj.allocUnsafe:void 0;o(eCe,"cloneBuffer");pT=eCe});var tCe,sm,gL=N(()=>{"use strict";No();tCe=fi.Uint8Array,sm=tCe});function rCe(t){var e=new t.constructor(t.byteLength);return new sm(e).set(new sm(t)),e}var om,mT=N(()=>{"use strict";gL();o(rCe,"cloneArrayBuffer");om=rCe});function nCe(t,e){var r=e?om(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var gT,yL=N(()=>{"use strict";mT();o(nCe,"cloneTypedArray");gT=nCe});function iCe(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r{"use strict";o(iCe,"copyArray");yT=iCe});var fj,aCe,dj,pj=N(()=>{"use strict";io();fj=Object.create,aCe=function(){function t(){}return o(t,"object"),function(e){if(!Tn(e))return{};if(fj)return fj(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),dj=aCe});function sCe(t,e){return function(r){return t(e(r))}}var vT,xL=N(()=>{"use strict";o(sCe,"overArg");vT=sCe});var oCe,lm,xT=N(()=>{"use strict";xL();oCe=vT(Object.getPrototypeOf,Object),lm=oCe});function cCe(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||lCe;return t===r}var lCe,pc,cm=N(()=>{"use strict";lCe=Object.prototype;o(cCe,"isPrototype");pc=cCe});function uCe(t){return typeof t.constructor=="function"&&!pc(t)?dj(lm(t)):{}}var bT,bL=N(()=>{"use strict";pj();xT();cm();o(uCe,"initCloneObject");bT=uCe});function hCe(t){return t!=null&&typeof t=="object"}var ai,Io=N(()=>{"use strict";o(hCe,"isObjectLike");ai=hCe});function dCe(t){return ai(t)&&ha(t)==fCe}var fCe,TL,mj=N(()=>{"use strict";Cu();Io();fCe="[object Arguments]";o(dCe,"baseIsArguments");TL=dCe});var gj,pCe,mCe,gCe,_l,um=N(()=>{"use strict";mj();Io();gj=Object.prototype,pCe=gj.hasOwnProperty,mCe=gj.propertyIsEnumerable,gCe=TL(function(){return arguments}())?TL:function(t){return ai(t)&&pCe.call(t,"callee")&&!mCe.call(t,"callee")},_l=gCe});var yCe,Pt,Yn=N(()=>{"use strict";yCe=Array.isArray,Pt=yCe});function xCe(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=vCe}var vCe,hm,TT=N(()=>{"use strict";vCe=9007199254740991;o(xCe,"isLength");hm=xCe});function bCe(t){return t!=null&&hm(t.length)&&!Ai(t)}var di,Oo=N(()=>{"use strict";r2();TT();o(bCe,"isArrayLike");di=bCe});function TCe(t){return ai(t)&&di(t)}var Fd,wT=N(()=>{"use strict";Oo();Io();o(TCe,"isArrayLikeObject");Fd=TCe});function wCe(){return!1}var yj,vj=N(()=>{"use strict";o(wCe,"stubFalse");yj=wCe});var Tj,xj,kCe,bj,ECe,SCe,Dl,fm=N(()=>{"use strict";No();vj();Tj=typeof exports=="object"&&exports&&!exports.nodeType&&exports,xj=Tj&&typeof module=="object"&&module&&!module.nodeType&&module,kCe=xj&&xj.exports===Tj,bj=kCe?fi.Buffer:void 0,ECe=bj?bj.isBuffer:void 0,SCe=ECe||yj,Dl=SCe});function RCe(t){if(!ai(t)||ha(t)!=CCe)return!1;var e=lm(t);if(e===null)return!0;var r=DCe.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&wj.call(r)==LCe}var CCe,ACe,_Ce,wj,DCe,LCe,kj,Ej=N(()=>{"use strict";Cu();xT();Io();CCe="[object Object]",ACe=Function.prototype,_Ce=Object.prototype,wj=ACe.toString,DCe=_Ce.hasOwnProperty,LCe=wj.call(Object);o(RCe,"isPlainObject");kj=RCe});function r7e(t){return ai(t)&&hm(t.length)&&!!zn[ha(t)]}var NCe,MCe,ICe,OCe,PCe,BCe,FCe,$Ce,GCe,zCe,VCe,UCe,HCe,WCe,qCe,YCe,XCe,jCe,KCe,QCe,ZCe,JCe,e7e,t7e,zn,Sj,Cj=N(()=>{"use strict";Cu();TT();Io();NCe="[object Arguments]",MCe="[object Array]",ICe="[object Boolean]",OCe="[object Date]",PCe="[object Error]",BCe="[object Function]",FCe="[object Map]",$Ce="[object Number]",GCe="[object Object]",zCe="[object RegExp]",VCe="[object Set]",UCe="[object String]",HCe="[object WeakMap]",WCe="[object ArrayBuffer]",qCe="[object DataView]",YCe="[object Float32Array]",XCe="[object Float64Array]",jCe="[object Int8Array]",KCe="[object Int16Array]",QCe="[object Int32Array]",ZCe="[object Uint8Array]",JCe="[object Uint8ClampedArray]",e7e="[object Uint16Array]",t7e="[object Uint32Array]",zn={};zn[YCe]=zn[XCe]=zn[jCe]=zn[KCe]=zn[QCe]=zn[ZCe]=zn[JCe]=zn[e7e]=zn[t7e]=!0;zn[NCe]=zn[MCe]=zn[WCe]=zn[ICe]=zn[qCe]=zn[OCe]=zn[PCe]=zn[BCe]=zn[FCe]=zn[$Ce]=zn[GCe]=zn[zCe]=zn[VCe]=zn[UCe]=zn[HCe]=!1;o(r7e,"baseIsTypedArray");Sj=r7e});function n7e(t){return function(e){return t(e)}}var Po,$d=N(()=>{"use strict";o(n7e,"baseUnary");Po=n7e});var Aj,c2,i7e,wL,a7e,Bo,u2=N(()=>{"use strict";lL();Aj=typeof exports=="object"&&exports&&!exports.nodeType&&exports,c2=Aj&&typeof module=="object"&&module&&!module.nodeType&&module,i7e=c2&&c2.exports===Aj,wL=i7e&&cT.process,a7e=function(){try{var t=c2&&c2.require&&c2.require("util").types;return t||wL&&wL.binding&&wL.binding("util")}catch{}}(),Bo=a7e});var _j,s7e,Gh,h2=N(()=>{"use strict";Cj();$d();u2();_j=Bo&&Bo.isTypedArray,s7e=_j?Po(_j):Sj,Gh=s7e});function o7e(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var f2,kL=N(()=>{"use strict";o(o7e,"safeGet");f2=o7e});function u7e(t,e,r){var n=t[e];(!(c7e.call(t,e)&&Mo(n,r))||r===void 0&&!(e in t))&&dc(t,e,r)}var l7e,c7e,mc,dm=N(()=>{"use strict";im();Pd();l7e=Object.prototype,c7e=l7e.hasOwnProperty;o(u7e,"assignValue");mc=u7e});function h7e(t,e,r,n){var i=!r;r||(r={});for(var a=-1,s=e.length;++a{"use strict";dm();im();o(h7e,"copyObject");Fo=h7e});function f7e(t,e){for(var r=-1,n=Array(t);++r{"use strict";o(f7e,"baseTimes");Dj=f7e});function m7e(t,e){var r=typeof t;return e=e??d7e,!!e&&(r=="number"||r!="symbol"&&p7e.test(t))&&t>-1&&t%1==0&&t{"use strict";d7e=9007199254740991,p7e=/^(?:0|[1-9]\d*)$/;o(m7e,"isIndex");zh=m7e});function v7e(t,e){var r=Pt(t),n=!r&&_l(t),i=!r&&!n&&Dl(t),a=!r&&!n&&!i&&Gh(t),s=r||n||i||a,l=s?Dj(t.length,String):[],u=l.length;for(var h in t)(e||y7e.call(t,h))&&!(s&&(h=="length"||i&&(h=="offset"||h=="parent")||a&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||zh(h,u)))&&l.push(h);return l}var g7e,y7e,kT,EL=N(()=>{"use strict";Lj();um();Yn();fm();d2();h2();g7e=Object.prototype,y7e=g7e.hasOwnProperty;o(v7e,"arrayLikeKeys");kT=v7e});function x7e(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var Rj,Nj=N(()=>{"use strict";o(x7e,"nativeKeysIn");Rj=x7e});function w7e(t){if(!Tn(t))return Rj(t);var e=pc(t),r=[];for(var n in t)n=="constructor"&&(e||!T7e.call(t,n))||r.push(n);return r}var b7e,T7e,Mj,Ij=N(()=>{"use strict";io();cm();Nj();b7e=Object.prototype,T7e=b7e.hasOwnProperty;o(w7e,"baseKeysIn");Mj=w7e});function k7e(t){return di(t)?kT(t,!0):Mj(t)}var Ls,Vh=N(()=>{"use strict";EL();Ij();Oo();o(k7e,"keysIn");Ls=k7e});function E7e(t){return Fo(t,Ls(t))}var Oj,Pj=N(()=>{"use strict";Gd();Vh();o(E7e,"toPlainObject");Oj=E7e});function S7e(t,e,r,n,i,a,s){var l=f2(t,r),u=f2(e,r),h=s.get(u);if(h){l2(t,r,h);return}var f=a?a(l,u,r+"",t,e,s):void 0,d=f===void 0;if(d){var p=Pt(u),m=!p&&Dl(u),g=!p&&!m&&Gh(u);f=u,p||m||g?Pt(l)?f=l:Fd(l)?f=yT(l):m?(d=!1,f=pT(u,!0)):g?(d=!1,f=gT(u,!0)):f=[]:kj(u)||_l(u)?(f=l,_l(l)?f=Oj(l):(!Tn(l)||Ai(l))&&(f=bT(u))):d=!1}d&&(s.set(u,f),i(f,u,n,a,s),s.delete(u)),l2(t,r,f)}var Bj,Fj=N(()=>{"use strict";pL();mL();yL();vL();bL();um();Yn();wT();fm();r2();io();Ej();h2();kL();Pj();o(S7e,"baseMergeDeep");Bj=S7e});function $j(t,e,r,n,i){t!==e&&am(e,function(a,s){if(i||(i=new fc),Tn(a))Bj(t,e,s,r,$j,n,i);else{var l=n?n(f2(t,s),a,s+"",t,e,i):void 0;l===void 0&&(l=a),l2(t,s,l)}},Ls)}var Gj,zj=N(()=>{"use strict";o2();pL();dT();Fj();io();Vh();kL();o($j,"baseMerge");Gj=$j});function C7e(t){return t}var Zi,Du=N(()=>{"use strict";o(C7e,"identity");Zi=C7e});function A7e(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Vj,Uj=N(()=>{"use strict";o(A7e,"apply");Vj=A7e});function _7e(t,e,r){return e=Hj(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,a=Hj(n.length-e,0),s=Array(a);++i{"use strict";Uj();Hj=Math.max;o(_7e,"overRest");ET=_7e});function D7e(t){return function(){return t}}var Rs,CL=N(()=>{"use strict";o(D7e,"constant");Rs=D7e});var L7e,Wj,qj=N(()=>{"use strict";CL();dL();Du();L7e=nm?function(t,e){return nm(t,"toString",{configurable:!0,enumerable:!1,value:Rs(e),writable:!0})}:Zi,Wj=L7e});function I7e(t){var e=0,r=0;return function(){var n=M7e(),i=N7e-(n-r);if(r=n,i>0){if(++e>=R7e)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var R7e,N7e,M7e,Yj,Xj=N(()=>{"use strict";R7e=800,N7e=16,M7e=Date.now;o(I7e,"shortOut");Yj=I7e});var O7e,ST,AL=N(()=>{"use strict";qj();Xj();O7e=Yj(Wj),ST=O7e});function P7e(t,e){return ST(ET(t,e,Zi),t+"")}var gc,pm=N(()=>{"use strict";Du();SL();AL();o(P7e,"baseRest");gc=P7e});function B7e(t,e,r){if(!Tn(r))return!1;var n=typeof e;return(n=="number"?di(r)&&zh(e,r.length):n=="string"&&e in r)?Mo(r[e],t):!1}var ao,zd=N(()=>{"use strict";Pd();Oo();d2();io();o(B7e,"isIterateeCall");ao=B7e});function F7e(t){return gc(function(e,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=t.length>3&&typeof a=="function"?(i--,a):void 0,s&&ao(r[0],r[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++n{"use strict";pm();zd();o(F7e,"createAssigner");CT=F7e});var $7e,Uh,DL=N(()=>{"use strict";zj();_L();$7e=CT(function(t,e,r){Gj(t,e,r)}),Uh=$7e});function NL(t,e){if(!t)return e;let r=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return G7e[r]??e}function H7e(t,e){let r=t.trim();if(r)return e.securityLevel!=="loose"?(0,Qj.sanitizeUrl)(r):r}function eK(t,e){return!t||!e?0:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function q7e(t){let e,r=0;t.forEach(i=>{r+=eK(i,e),e=i});let n=r/2;return ML(t,n)}function Y7e(t){return t.length===1?t[0]:q7e(t)}function j7e(t,e,r){let n=structuredClone(r);X.info("our points",n),e!=="start_left"&&e!=="start_right"&&n.reverse();let i=25+t,a=ML(n,i),s=10+t*.5,l=Math.atan2(n[0].y-a.y,n[0].x-a.x),u={x:0,y:0};return e==="start_left"?(u.x=Math.sin(l+Math.PI)*s+(n[0].x+a.x)/2,u.y=-Math.cos(l+Math.PI)*s+(n[0].y+a.y)/2):e==="end_right"?(u.x=Math.sin(l-Math.PI)*s+(n[0].x+a.x)/2-5,u.y=-Math.cos(l-Math.PI)*s+(n[0].y+a.y)/2-5):e==="end_left"?(u.x=Math.sin(l)*s+(n[0].x+a.x)/2-5,u.y=-Math.cos(l)*s+(n[0].y+a.y)/2-5):(u.x=Math.sin(l)*s+(n[0].x+a.x)/2,u.y=-Math.cos(l)*s+(n[0].y+a.y)/2),u}function IL(t){let e="",r="";for(let n of t)n!==void 0&&(n.startsWith("color:")||n.startsWith("text-align:")?r=r+n+";":e=e+n+";");return{style:e,labelStyle:r}}function K7e(t){let e="",r="0123456789abcdef",n=r.length;for(let i=0;iMath.round(parseFloat(a)).toString());return i.includes(r.toString())||i.includes(n.toString())}var Qj,RL,G7e,z7e,V7e,Zj,Jj,U7e,W7e,jj,ML,X7e,Kj,OL,PL,Q7e,Z7e,BL,J7e,FL,LL,AT,eAe,tAe,yc,Ht,tK,ea,Hh,tr=N(()=>{"use strict";Qj=ja(Q0(),1);pr();dr();x7();pt();pd();p0();fL();DL();B3();RL="\u200B",G7e={curveBasis:Ro,curveBasisClosed:j5,curveBasisOpen:K5,curveBumpX:Gv,curveBumpY:zv,curveBundle:jD,curveCardinalClosed:KD,curveCardinalOpen:ZD,curveCardinal:Wv,curveCatmullRomClosed:eL,curveCatmullRomOpen:tL,curveCatmullRom:Xv,curveLinear:Eu,curveLinearClosed:tT,curveMonotoneX:jv,curveMonotoneY:Kv,curveNatural:j0,curveStep:K0,curveStepAfter:Zv,curveStepBefore:Qv},z7e=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,V7e=o(function(t,e){let r=Zj(t,/(?:init\b)|(?:initialize\b)/),n={};if(Array.isArray(r)){let s=r.map(l=>l.args);g0(s),n=Dn(n,[...s])}else n=r.args;if(!n)return;let i=E0(t,e),a="config";return n[a]!==void 0&&(i==="flowchart-v2"&&(i="flowchart"),n[i]=n[a],delete n[a]),n},"detectInit"),Zj=o(function(t,e=null){try{let r=new RegExp(`[%]{2}(?![{]${z7e.source})(?=[}][%]{2}).* +`,"ig");t=t.trim().replace(r,"").replace(/'/gm,'"'),X.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let n,i=[];for(;(n=dd.exec(t))!==null;)if(n.index===dd.lastIndex&&dd.lastIndex++,n&&!e||e&&n[1]?.match(e)||e&&n[2]?.match(e)){let a=n[1]?n[1]:n[2],s=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null;i.push({type:a,args:s})}return i.length===0?{type:t,args:null}:i.length===1?i[0]:i}catch(r){return X.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),Jj=o(function(t){return t.replace(dd,"")},"removeDirectives"),U7e=o(function(t,e){for(let[r,n]of e.entries())if(n.match(t))return r;return-1},"isSubstringInArray");o(NL,"interpolateToCurve");o(H7e,"formatUrl");W7e=o((t,...e)=>{let r=t.split("."),n=r.length-1,i=r[n],a=window;for(let s=0;s{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),ML=o((t,e)=>{let r,n=e;for(let i of t){if(r){let a=eK(i,r);if(a===0)return r;if(a=1)return{x:i.x,y:i.y};if(s>0&&s<1)return{x:jj((1-s)*r.x+s*i.x,5),y:jj((1-s)*r.y+s*i.y,5)}}}r=i}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),X7e=o((t,e,r)=>{X.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let i=ML(e,25),a=t?10:5,s=Math.atan2(e[0].y-i.y,e[0].x-i.x),l={x:0,y:0};return l.x=Math.sin(s)*a+(e[0].x+i.x)/2,l.y=-Math.cos(s)*a+(e[0].y+i.y)/2,l},"calcCardinalityPosition");o(j7e,"calcTerminalLabelPosition");o(IL,"getStylesFromArray");Kj=0,OL=o(()=>(Kj++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Kj),"generateId");o(K7e,"makeRandomHex");PL=o(t=>K7e(t.length),"random"),Q7e=o(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),Z7e=o(function(t,e){let r=e.text.replace(Je.lineBreakRegex," "),[,n]=yc(e.fontSize),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.style("text-anchor",e.anchor),i.style("font-family",e.fontFamily),i.style("font-size",n),i.style("font-weight",e.fontWeight),i.attr("fill",e.fill),e.class!==void 0&&i.attr("class",e.class);let a=i.append("tspan");return a.attr("x",e.x+e.textMargin*2),a.attr("fill",e.fill),a.text(r),i},"drawSimpleText"),BL=tm((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},r),Je.lineBreakRegex.test(t)))return t;let n=t.split(" ").filter(Boolean),i=[],a="";return n.forEach((s,l)=>{let u=Ji(`${s} `,r),h=Ji(a,r);if(u>e){let{hyphenatedStrings:p,remainingWord:m}=J7e(s,e,"-",r);i.push(a,...p),a=m}else h+u>=e?(i.push(a),a=s):a=[a,s].filter(Boolean).join(" ");l+1===n.length&&i.push(a)}),i.filter(s=>s!=="").join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),J7e=tm((t,e,r="-",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);let i=[...t],a=[],s="";return i.forEach((l,u)=>{let h=`${s}${l}`;if(Ji(h,n)>=e){let d=u+1,p=i.length===d,m=`${h}${r}`;a.push(p?h:m),s=""}else s=h}),{hyphenatedStrings:a,remainingWord:s}},(t,e,r="-",n)=>`${t}${e}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`);o(_T,"calculateTextHeight");o(Ji,"calculateTextWidth");FL=tm((t,e)=>{let{fontSize:r=12,fontFamily:n="Arial",fontWeight:i=400}=e;if(!t)return{width:0,height:0};let[,a]=yc(r),s=["sans-serif",n],l=t.split(Je.lineBreakRegex),u=[],h=ze("body");if(!h.remove)return{width:0,height:0,lineHeight:0};let f=h.append("svg");for(let p of s){let m=0,g={width:0,height:0,lineHeight:0};for(let y of l){let x=Q7e();x.text=y||RL;let v=Z7e(f,x).style("font-size",a).style("font-weight",i).style("font-family",p),b=(v._groups||v)[0][0].getBBox();if(b.width===0&&b.height===0)throw new Error("svg element not in render tree");g.width=Math.round(Math.max(g.width,b.width)),m=Math.round(b.height),g.height+=m,g.lineHeight=Math.round(Math.max(g.lineHeight,m))}u.push(g)}f.remove();let d=isNaN(u[1].height)||isNaN(u[1].width)||isNaN(u[1].lineHeight)||u[0].height>u[1].height&&u[0].width>u[1].width&&u[0].lineHeight>u[1].lineHeight?0:1;return u[d]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),LL=class{constructor(e=!1,r){this.count=0;this.count=r?r.length:0,this.next=e?()=>this.count++:()=>Date.now()}static{o(this,"InitIDGenerator")}},eAe=o(function(t){return AT=AT||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),AT.innerHTML=t,unescape(AT.textContent)},"entityDecode");o($L,"isDetailedError");tAe=o((t,e,r,n)=>{if(!n)return;let i=t.node()?.getBBox();i&&t.append("text").text(n).attr("text-anchor","middle").attr("x",i.x+i.width/2).attr("y",-r).attr("class",e)},"insertTitle"),yc=o(t=>{if(typeof t=="number")return[t,t+"px"];let e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");o(Vn,"cleanAndMerge");Ht={assignWithDepth:Dn,wrapLabel:BL,calculateTextHeight:_T,calculateTextWidth:Ji,calculateTextDimensions:FL,cleanAndMerge:Vn,detectInit:V7e,detectDirective:Zj,isSubstringInArray:U7e,interpolateToCurve:NL,calcLabelPosition:Y7e,calcCardinalityPosition:X7e,calcTerminalLabelPosition:j7e,formatUrl:H7e,getStylesFromArray:IL,generateId:OL,random:PL,runFunc:W7e,entityDecode:eAe,insertTitle:tAe,isLabelCoordinateInPath:rAe,parseFontSize:yc,InitIDGenerator:LL},tK=o(function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/#\w+;/g,function(r){let n=r.substring(1,r.length-1);return/^\+?\d+$/.test(n)?"\uFB02\xB0\xB0"+n+"\xB6\xDF":"\uFB02\xB0"+n+"\xB6\xDF"}),e},"encodeEntities"),ea=o(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),Hh=o((t,e,{counter:r=0,prefix:n,suffix:i},a)=>a||`${n?`${n}_`:""}${t}_${e}_${r}${i?`_${i}`:""}`,"getEdgeId");o(wn,"handleUndefinedAttr");o(rAe,"isLabelCoordinateInPath")});function Ll(t,e,r,n,i){if(!e[t].width)if(r)e[t].text=BL(e[t].text,i,n),e[t].textLines=e[t].text.split(Je.lineBreakRegex).length,e[t].width=i,e[t].height=_T(e[t].text,n);else{let a=e[t].text.split(Je.lineBreakRegex);e[t].textLines=a.length;let s=0;e[t].height=0,e[t].width=0;for(let l of a)e[t].width=Math.max(Ji(l,n),e[t].width),s=_T(l,n),e[t].height=e[t].height+s}}function sK(t,e,r,n,i){let a=new NT(i);a.data.widthLimit=r.data.widthLimit/Math.min(GL,n.length);for(let[s,l]of n.entries()){let u=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=u,u=l.image.Y+l.image.height);let h=l.wrap&&Wt.wrap,f=DT(Wt);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",Ll("label",l,h,f,a.data.widthLimit),l.label.Y=u+8,u=l.label.Y+l.label.height,l.type&&l.type.text!==""){l.type.text="["+l.type.text+"]";let g=DT(Wt);Ll("type",l,h,g,a.data.widthLimit),l.type.Y=u+5,u=l.type.Y+l.type.height}if(l.descr&&l.descr.text!==""){let g=DT(Wt);g.fontSize=g.fontSize-2,Ll("descr",l,h,g,a.data.widthLimit),l.descr.Y=u+20,u=l.descr.Y+l.descr.height}if(s==0||s%GL===0){let g=r.data.startx+Wt.diagramMarginX,y=r.data.stopy+Wt.diagramMarginY+u;a.setData(g,g,y,y)}else{let g=a.data.stopx!==a.data.startx?a.data.stopx+Wt.diagramMarginX:a.data.startx,y=a.data.starty;a.setData(g,g,y,y)}a.name=l.alias;let d=i.db.getC4ShapeArray(l.alias),p=i.db.getC4ShapeKeys(l.alias);p.length>0&&aK(a,t,d,p),e=l.alias;let m=i.db.getBoundaries(e);m.length>0&&sK(t,e,a,m,i),l.alias!=="global"&&iK(t,l,a),r.data.stopy=Math.max(a.data.stopy+Wt.c4ShapeMargin,r.data.stopy),r.data.stopx=Math.max(a.data.stopx+Wt.c4ShapeMargin,r.data.stopx),LT=Math.max(LT,r.data.stopx),RT=Math.max(RT,r.data.stopy)}}var LT,RT,nK,GL,Wt,NT,zL,p2,DT,nAe,iK,aK,Ns,rK,iAe,aAe,sAe,VL,oK=N(()=>{"use strict";pr();rX();pt();SA();dr();OA();Xt();p0();tr();Ci();LT=0,RT=0,nK=4,GL=2;Jy.yy=av;Wt={},NT=class{static{o(this,"Bounds")}constructor(e){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,zL(e.db.getConfig())}setData(e,r,n,i){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=r,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=i}updateVal(e,r,n,i){e[r]===void 0?e[r]=n:e[r]=i(n,e[r])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let r=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+e.margin:this.nextData.stopx+e.margin*2,n=r+e.width,i=this.nextData.starty+e.margin*2,a=i+e.height;(r>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>nK)&&(r=this.nextData.startx+e.margin+Wt.nextLinePaddingX,i=this.nextData.stopy+e.margin*2,this.nextData.stopx=n=r+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=a=i+e.height,this.nextData.cnt=1),e.x=r,e.y=i,this.updateVal(this.data,"startx",r,Math.min),this.updateVal(this.data,"starty",i,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",a,Math.max),this.updateVal(this.nextData,"startx",r,Math.min),this.updateVal(this.nextData,"starty",i,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",a,Math.max)}init(e){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},zL(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}},zL=o(function(t){Dn(Wt,t),t.fontFamily&&(Wt.personFontFamily=Wt.systemFontFamily=Wt.messageFontFamily=t.fontFamily),t.fontSize&&(Wt.personFontSize=Wt.systemFontSize=Wt.messageFontSize=t.fontSize),t.fontWeight&&(Wt.personFontWeight=Wt.systemFontWeight=Wt.messageFontWeight=t.fontWeight)},"setConf"),p2=o((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"c4ShapeFont"),DT=o(t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),"boundaryFont"),nAe=o(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont");o(Ll,"calcC4ShapeTextWH");iK=o(function(t,e,r){e.x=r.data.startx,e.y=r.data.starty,e.width=r.data.stopx-r.data.startx,e.height=r.data.stopy-r.data.starty,e.label.y=Wt.c4ShapeMargin-35;let n=e.wrap&&Wt.wrap,i=DT(Wt);i.fontSize=i.fontSize+2,i.fontWeight="bold";let a=Ji(e.label.text,i);Ll("label",e,n,i,a),Al.drawBoundary(t,e,Wt)},"drawBoundary"),aK=o(function(t,e,r,n){let i=0;for(let a of n){i=0;let s=r[a],l=p2(Wt,s.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,s.typeC4Shape.width=Ji("\xAB"+s.typeC4Shape.text+"\xBB",l),s.typeC4Shape.height=l.fontSize+2,s.typeC4Shape.Y=Wt.c4ShapePadding,i=s.typeC4Shape.Y+s.typeC4Shape.height-4,s.image={width:0,height:0,Y:0},s.typeC4Shape.text){case"person":case"external_person":s.image.width=48,s.image.height=48,s.image.Y=i,i=s.image.Y+s.image.height;break}s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=i,i=s.image.Y+s.image.height);let u=s.wrap&&Wt.wrap,h=Wt.width-Wt.c4ShapePadding*2,f=p2(Wt,s.typeC4Shape.text);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",Ll("label",s,u,f,h),s.label.Y=i+8,i=s.label.Y+s.label.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let m=p2(Wt,s.typeC4Shape.text);Ll("type",s,u,m,h),s.type.Y=i+5,i=s.type.Y+s.type.height}else if(s.techn&&s.techn.text!==""){s.techn.text="["+s.techn.text+"]";let m=p2(Wt,s.techn.text);Ll("techn",s,u,m,h),s.techn.Y=i+5,i=s.techn.Y+s.techn.height}let d=i,p=s.label.width;if(s.descr&&s.descr.text!==""){let m=p2(Wt,s.typeC4Shape.text);Ll("descr",s,u,m,h),s.descr.Y=i+20,i=s.descr.Y+s.descr.height,p=Math.max(s.label.width,s.descr.width),d=i-s.descr.textLines*5}p=p+Wt.c4ShapePadding,s.width=Math.max(s.width||Wt.width,p,Wt.width),s.height=Math.max(s.height||Wt.height,d,Wt.height),s.margin=s.margin||Wt.c4ShapeMargin,t.insert(s),Al.drawC4Shape(e,s,Wt)}t.bumpLastMargin(Wt.c4ShapeMargin)},"drawC4ShapeArray"),Ns=class{static{o(this,"Point")}constructor(e,r){this.x=e,this.y=r}},rK=o(function(t,e){let r=t.x,n=t.y,i=e.x,a=e.y,s=r+t.width/2,l=n+t.height/2,u=Math.abs(r-i),h=Math.abs(n-a),f=h/u,d=t.height/t.width,p=null;return n==a&&ri?p=new Ns(r,l):r==i&&na&&(p=new Ns(s,n)),r>i&&n=f?p=new Ns(r,l+f*t.width/2):p=new Ns(s-u/h*t.height/2,n+t.height):r=f?p=new Ns(r+t.width,l+f*t.width/2):p=new Ns(s+u/h*t.height/2,n+t.height):ra?d>=f?p=new Ns(r+t.width,l-f*t.width/2):p=new Ns(s+t.height/2*u/h,n):r>i&&n>a&&(d>=f?p=new Ns(r,l-t.width/2*f):p=new Ns(s-t.height/2*u/h,n)),p},"getIntersectPoint"),iAe=o(function(t,e){let r={x:0,y:0};r.x=e.x+e.width/2,r.y=e.y+e.height/2;let n=rK(t,r);r.x=t.x+t.width/2,r.y=t.y+t.height/2;let i=rK(e,r);return{startPoint:n,endPoint:i}},"getIntersectPoints"),aAe=o(function(t,e,r,n){let i=0;for(let a of e){i=i+1;let s=a.wrap&&Wt.wrap,l=nAe(Wt);n.db.getC4Type()==="C4Dynamic"&&(a.label.text=i+": "+a.label.text);let h=Ji(a.label.text,l);Ll("label",a,s,l,h),a.techn&&a.techn.text!==""&&(h=Ji(a.techn.text,l),Ll("techn",a,s,l,h)),a.descr&&a.descr.text!==""&&(h=Ji(a.descr.text,l),Ll("descr",a,s,l,h));let f=r(a.from),d=r(a.to),p=iAe(f,d);a.startPoint=p.startPoint,a.endPoint=p.endPoint}Al.drawRels(t,e,Wt)},"drawRels");o(sK,"drawInsideBoundary");sAe=o(function(t,e,r,n){Wt=ge().c4;let i=ge().securityLevel,a;i==="sandbox"&&(a=ze("#i"+e));let s=i==="sandbox"?ze(a.nodes()[0].contentDocument.body):ze("body"),l=n.db;n.db.setWrap(Wt.wrap),nK=l.getC4ShapeInRow(),GL=l.getC4BoundaryInRow(),X.debug(`C:${JSON.stringify(Wt,null,2)}`);let u=i==="sandbox"?s.select(`[id="${e}"]`):ze(`[id="${e}"]`);Al.insertComputerIcon(u),Al.insertDatabaseIcon(u),Al.insertClockIcon(u);let h=new NT(n);h.setData(Wt.diagramMarginX,Wt.diagramMarginX,Wt.diagramMarginY,Wt.diagramMarginY),h.data.widthLimit=screen.availWidth,LT=Wt.diagramMarginX,RT=Wt.diagramMarginY;let f=n.db.getTitle(),d=n.db.getBoundaries("");sK(u,"",h,d,n),Al.insertArrowHead(u),Al.insertArrowEnd(u),Al.insertArrowCrossHead(u),Al.insertArrowFilledHead(u),aAe(u,n.db.getRels(),n.db.getC4Shape,n),h.data.stopx=LT,h.data.stopy=RT;let p=h.data,g=p.stopy-p.starty+2*Wt.diagramMarginY,x=p.stopx-p.startx+2*Wt.diagramMarginX;f&&u.append("text").text(f).attr("x",(p.stopx-p.startx)/2-4*Wt.diagramMarginX).attr("y",p.starty+Wt.diagramMarginY),fn(u,g,x,Wt.useMaxWidth);let v=f?60:0;u.attr("viewBox",p.startx-Wt.diagramMarginX+" -"+(Wt.diagramMarginY+v)+" "+x+" "+(g+v)),X.debug("models:",p)},"draw"),VL={drawPersonOrSystemArray:aK,drawBoundary:iK,setConf:zL,draw:sAe}});var oAe,lK,cK=N(()=>{"use strict";oAe=o(t=>`.person { stroke: ${t.personBorder}; fill: ${t.personBkg}; } -`,"getStyles"),iK=rAe});var sK={};hr(sK,{diagram:()=>nAe});var nAe,oK=N(()=>{"use strict";yA();AA();nK();aK();nAe={parser:LV,db:iv,renderer:I9,styles:iK,init:o(({c4:t,wrap:e})=>{I9.setConf(t),iv.setWrap(e)},"init")}});function SK(t){return typeof t>"u"||t===null}function oAe(t){return typeof t=="object"&&t!==null}function lAe(t){return Array.isArray(t)?t:SK(t)?[]:[t]}function cAe(t,e){var r,n,i,a;if(e)for(a=Object.keys(e),r=0,n=a.length;rlAe});var lAe,hK=N(()=>{"use strict";SA();OA();oK();cK();lAe={parser:PV,db:av,renderer:VL,styles:lK,init:o(({c4:t,wrap:e})=>{VL.setConf(t),av.setWrap(e)},"init")}});function DK(t){return typeof t>"u"||t===null}function fAe(t){return typeof t=="object"&&t!==null}function dAe(t){return Array.isArray(t)?t:DK(t)?[]:[t]}function pAe(t,e){var r,n,i,a;if(e)for(a=Object.keys(e),r=0,n=a.length;rl&&(a=" ... ",e=n-l+a.length),r-n>l&&(s=" ...",r=n+l-s.length),{str:a+t.slice(e,r).replace(/\t/g,"\u2192")+s,pos:n-e+a.length}}function P9(t,e){return $i.repeat(" ",e-t.length)+t}function vAe(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],a,s=-1;a=r.exec(t.buffer);)i.push(a.index),n.push(a.index+a[0].length),t.position<=a.index&&s<0&&(s=n.length-2);s<0&&(s=n.length-1);var l="",u,h,f=Math.min(t.line+e.linesAfter,i.length).toString().length,d=e.maxLength-(e.indent+f+3);for(u=1;u<=e.linesBefore&&!(s-u<0);u++)h=O9(t.buffer,n[s-u],i[s-u],t.position-(n[s]-n[s-u]),d),l=$i.repeat(" ",e.indent)+P9((t.line-u+1).toString(),f)+" | "+h.str+` -`+l;for(h=O9(t.buffer,n[s],i[s],t.position,d),l+=$i.repeat(" ",e.indent)+P9((t.line+1).toString(),f)+" | "+h.str+` -`,l+=$i.repeat("-",e.indent+f+3+h.pos)+`^ -`,u=1;u<=e.linesAfter&&!(s+u>=i.length);u++)h=O9(t.buffer,n[s+u],i[s+u],t.position-(n[s]-n[s+u]),d),l+=$i.repeat(" ",e.indent)+P9((t.line+u+1).toString(),f)+" | "+h.str+` -`;return l.replace(/\n$/,"")}function wAe(t){var e={};return t!==null&&Object.keys(t).forEach(function(r){t[r].forEach(function(n){e[String(n)]=r})}),e}function kAe(t,e){if(e=e||{},Object.keys(e).forEach(function(r){if(bAe.indexOf(r)===-1)throw new Ls('Unknown option "'+r+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(r){return r},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=wAe(e.styleAliases||null),TAe.indexOf(this.kind)===-1)throw new Ls('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}function uK(t,e){var r=[];return t[e].forEach(function(n){var i=r.length;r.forEach(function(a,s){a.tag===n.tag&&a.kind===n.kind&&a.multi===n.multi&&(i=s)}),r[i]=n}),r}function EAe(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,r;function n(i){i.multi?(t.multi[i.kind].push(i),t.multi.fallback.push(i)):t[i.kind][i.tag]=t.fallback[i.tag]=i}for(o(n,"collectType"),e=0,r=arguments.length;e=0&&(e=e.slice(1)),e===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:r*parseFloat(e,10)}function jAe(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if($i.isNegativeZero(t))return"-0.0";return r=t.toString(10),XAe.test(r)?r.replace("e",".e"):r}function KAe(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||$i.isNegativeZero(t))}function JAe(t){return t===null?!1:_K.exec(t)!==null||DK.exec(t)!==null}function e8e(t){var e,r,n,i,a,s,l,u=0,h=null,f,d,p;if(e=_K.exec(t),e===null&&(e=DK.exec(t)),e===null)throw new Error("Date resolve error");if(r=+e[1],n=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(r,n,i));if(a=+e[4],s=+e[5],l=+e[6],e[7]){for(u=e[7].slice(0,3);u.length<3;)u+="0";u=+u}return e[9]&&(f=+e[10],d=+(e[11]||0),h=(f*60+d)*6e4,e[9]==="-"&&(h=-h)),p=new Date(Date.UTC(r,n,i,a,s,l,u)),h&&p.setTime(p.getTime()-h),p}function t8e(t){return t.toISOString()}function n8e(t){return t==="<<"||t===null}function a8e(t){if(t===null)return!1;var e,r,n=0,i=t.length,a=U9;for(r=0;r64)){if(e<0)return!1;n+=6}return n%8===0}function s8e(t){var e,r,n=t.replace(/[\r\n=]/g,""),i=n.length,a=U9,s=0,l=[];for(e=0;e>16&255),l.push(s>>8&255),l.push(s&255)),s=s<<6|a.indexOf(n.charAt(e));return r=i%4*6,r===0?(l.push(s>>16&255),l.push(s>>8&255),l.push(s&255)):r===18?(l.push(s>>10&255),l.push(s>>2&255)):r===12&&l.push(s>>4&255),new Uint8Array(l)}function o8e(t){var e="",r=0,n,i,a=t.length,s=U9;for(n=0;n>18&63],e+=s[r>>12&63],e+=s[r>>6&63],e+=s[r&63]),r=(r<<8)+t[n];return i=a%3,i===0?(e+=s[r>>18&63],e+=s[r>>12&63],e+=s[r>>6&63],e+=s[r&63]):i===2?(e+=s[r>>10&63],e+=s[r>>4&63],e+=s[r<<2&63],e+=s[64]):i===1&&(e+=s[r>>2&63],e+=s[r<<4&63],e+=s[64],e+=s[64]),e}function l8e(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}function f8e(t){if(t===null)return!0;var e=[],r,n,i,a,s,l=t;for(r=0,n=l.length;r>10)+55296,(t-65536&1023)+56320)}function R8e(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||LK,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function BK(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=xAe(r),new Ls(e,r)}function Zt(t,e){throw BK(t,e)}function LT(t,e){t.onWarning&&t.onWarning.call(null,BK(t,e))}function Vh(t,e,r,n){var i,a,s,l;if(e1&&(t.result+=$i.repeat(` -`,e-1))}function N8e(t,e,r){var n,i,a,s,l,u,h,f,d=t.kind,p=t.result,m;if(m=t.input.charCodeAt(t.position),Rs(m)||fm(m)||m===35||m===38||m===42||m===33||m===124||m===62||m===39||m===34||m===37||m===64||m===96||(m===63||m===45)&&(i=t.input.charCodeAt(t.position+1),Rs(i)||r&&fm(i)))return!1;for(t.kind="scalar",t.result="",a=s=t.position,l=!1;m!==0;){if(m===58){if(i=t.input.charCodeAt(t.position+1),Rs(i)||r&&fm(i))break}else if(m===35){if(n=t.input.charCodeAt(t.position-1),Rs(n))break}else{if(t.position===t.lineStart&&MT(t)||r&&fm(m))break;if(gc(m))if(u=t.line,h=t.lineStart,f=t.lineIndent,Ai(t,!1,-1),t.lineIndent>=e){l=!0,m=t.input.charCodeAt(t.position);continue}else{t.position=s,t.line=u,t.lineStart=h,t.lineIndent=f;break}}l&&(Vh(t,a,s,!1),W9(t,t.line-u),a=s=t.position,l=!1),Id(m)||(s=t.position+1),m=t.input.charCodeAt(++t.position)}return Vh(t,a,s,!1),t.result?!0:(t.kind=d,t.result=p,!1)}function M8e(t,e){var r,n,i;if(r=t.input.charCodeAt(t.position),r!==39)return!1;for(t.kind="scalar",t.result="",t.position++,n=i=t.position;(r=t.input.charCodeAt(t.position))!==0;)if(r===39)if(Vh(t,n,t.position,!0),r=t.input.charCodeAt(++t.position),r===39)n=t.position,t.position++,i=t.position;else return!0;else gc(r)?(Vh(t,n,i,!0),W9(t,Ai(t,!1,e)),n=i=t.position):t.position===t.lineStart&&MT(t)?Zt(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);Zt(t,"unexpected end of the stream within a single quoted scalar")}function I8e(t,e){var r,n,i,a,s,l;if(l=t.input.charCodeAt(t.position),l!==34)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;(l=t.input.charCodeAt(t.position))!==0;){if(l===34)return Vh(t,r,t.position,!0),t.position++,!0;if(l===92){if(Vh(t,r,t.position,!0),l=t.input.charCodeAt(++t.position),gc(l))Ai(t,!1,e);else if(l<256&&OK[l])t.result+=PK[l],t.position++;else if((s=_8e(l))>0){for(i=s,a=0;i>0;i--)l=t.input.charCodeAt(++t.position),(s=A8e(l))>=0?a=(a<<4)+s:Zt(t,"expected hexadecimal character");t.result+=L8e(a),t.position++}else Zt(t,"unknown escape sequence");r=n=t.position}else gc(l)?(Vh(t,r,n,!0),W9(t,Ai(t,!1,e)),r=n=t.position):t.position===t.lineStart&&MT(t)?Zt(t,"unexpected end of the document within a double quoted scalar"):(t.position++,n=t.position)}Zt(t,"unexpected end of the stream within a double quoted scalar")}function O8e(t,e){var r=!0,n,i,a,s=t.tag,l,u=t.anchor,h,f,d,p,m,g=Object.create(null),y,v,x,b;if(b=t.input.charCodeAt(t.position),b===91)f=93,m=!1,l=[];else if(b===123)f=125,m=!0,l={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=l),b=t.input.charCodeAt(++t.position);b!==0;){if(Ai(t,!0,e),b=t.input.charCodeAt(t.position),b===f)return t.position++,t.tag=s,t.anchor=u,t.kind=m?"mapping":"sequence",t.result=l,!0;r?b===44&&Zt(t,"expected the node content, but found ','"):Zt(t,"missed comma between flow collection entries"),v=y=x=null,d=p=!1,b===63&&(h=t.input.charCodeAt(t.position+1),Rs(h)&&(d=p=!0,t.position++,Ai(t,!0,e))),n=t.line,i=t.lineStart,a=t.position,pm(t,e,_T,!1,!0),v=t.tag,y=t.result,Ai(t,!0,e),b=t.input.charCodeAt(t.position),(p||t.line===n)&&b===58&&(d=!0,b=t.input.charCodeAt(++t.position),Ai(t,!0,e),pm(t,e,_T,!1,!0),x=t.result),m?dm(t,l,g,v,y,x,n,i,a):d?l.push(dm(t,null,g,v,y,x,n,i,a)):l.push(y),Ai(t,!0,e),b=t.input.charCodeAt(t.position),b===44?(r=!0,b=t.input.charCodeAt(++t.position)):r=!1}Zt(t,"unexpected end of the stream within a flow collection")}function P8e(t,e){var r,n,i=B9,a=!1,s=!1,l=e,u=0,h=!1,f,d;if(d=t.input.charCodeAt(t.position),d===124)n=!1;else if(d===62)n=!0;else return!1;for(t.kind="scalar",t.result="";d!==0;)if(d=t.input.charCodeAt(++t.position),d===43||d===45)B9===i?i=d===43?hK:k8e:Zt(t,"repeat of a chomping mode identifier");else if((f=D8e(d))>=0)f===0?Zt(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?Zt(t,"repeat of an indentation width identifier"):(l=e+f-1,s=!0);else break;if(Id(d)){do d=t.input.charCodeAt(++t.position);while(Id(d));if(d===35)do d=t.input.charCodeAt(++t.position);while(!gc(d)&&d!==0)}for(;d!==0;){for(H9(t),t.lineIndent=0,d=t.input.charCodeAt(t.position);(!s||t.lineIndentl&&(l=t.lineIndent),gc(d)){u++;continue}if(t.lineIndente)&&u!==0)Zt(t,"bad indentation of a sequence entry");else if(t.lineIndente)&&(v&&(s=t.line,l=t.lineStart,u=t.position),pm(t,e,DT,!0,i)&&(v?g=t.result:y=t.result),v||(dm(t,d,p,m,g,y,s,l,u),m=g=y=null),Ai(t,!0,-1),b=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&b!==0)Zt(t,"bad indentation of a mapping entry");else if(t.lineIndente?u=1:t.lineIndent===e?u=0:t.lineIndente?u=1:t.lineIndent===e?u=0:t.lineIndent tag; it should be "scalar", not "'+t.kind+'"'),d=0,p=t.implicitTypes.length;d"),t.result!==null&&g.kind!==t.kind&&Zt(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+g.kind+'", not "'+t.kind+'"'),g.resolve(t.result,t.tag)?(t.result=g.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):Zt(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||f}function G8e(t){var e=t.position,r,n,i,a=!1,s;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(s=t.input.charCodeAt(t.position))!==0&&(Ai(t,!0,-1),s=t.input.charCodeAt(t.position),!(t.lineIndent>0||s!==37));){for(a=!0,s=t.input.charCodeAt(++t.position),r=t.position;s!==0&&!Rs(s);)s=t.input.charCodeAt(++t.position);for(n=t.input.slice(r,t.position),i=[],n.length<1&&Zt(t,"directive name must not be less than one character in length");s!==0;){for(;Id(s);)s=t.input.charCodeAt(++t.position);if(s===35){do s=t.input.charCodeAt(++t.position);while(s!==0&&!gc(s));break}if(gc(s))break;for(r=t.position;s!==0&&!Rs(s);)s=t.input.charCodeAt(++t.position);i.push(t.input.slice(r,t.position))}s!==0&&H9(t),Uh.call(pK,n)?pK[n](t,n,i):LT(t,'unknown document directive "'+n+'"')}if(Ai(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,Ai(t,!0,-1)):a&&Zt(t,"directives end mark is expected"),pm(t,t.lineIndent-1,DT,!1,!0),Ai(t,!0,-1),t.checkLineBreaks&&S8e.test(t.input.slice(e,t.position))&<(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&MT(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,Ai(t,!0,-1));return}if(t.position"u"&&(r=e,e=null);var n=FK(t,r);if(typeof e!="function")return n;for(var i=0,a=n.length;il&&(a=" ... ",e=n-l+a.length),r-n>l&&(s=" ...",r=n+l-s.length),{str:a+t.slice(e,r).replace(/\t/g,"\u2192")+s,pos:n-e+a.length}}function HL(t,e){return Fi.repeat(" ",e-t.length)+t}function kAe(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],a,s=-1;a=r.exec(t.buffer);)i.push(a.index),n.push(a.index+a[0].length),t.position<=a.index&&s<0&&(s=n.length-2);s<0&&(s=n.length-1);var l="",u,h,f=Math.min(t.line+e.linesAfter,i.length).toString().length,d=e.maxLength-(e.indent+f+3);for(u=1;u<=e.linesBefore&&!(s-u<0);u++)h=UL(t.buffer,n[s-u],i[s-u],t.position-(n[s]-n[s-u]),d),l=Fi.repeat(" ",e.indent)+HL((t.line-u+1).toString(),f)+" | "+h.str+` +`+l;for(h=UL(t.buffer,n[s],i[s],t.position,d),l+=Fi.repeat(" ",e.indent)+HL((t.line+1).toString(),f)+" | "+h.str+` +`,l+=Fi.repeat("-",e.indent+f+3+h.pos)+`^ +`,u=1;u<=e.linesAfter&&!(s+u>=i.length);u++)h=UL(t.buffer,n[s+u],i[s+u],t.position-(n[s]-n[s+u]),d),l+=Fi.repeat(" ",e.indent)+HL((t.line+u+1).toString(),f)+" | "+h.str+` +`;return l.replace(/\n$/,"")}function AAe(t){var e={};return t!==null&&Object.keys(t).forEach(function(r){t[r].forEach(function(n){e[String(n)]=r})}),e}function _Ae(t,e){if(e=e||{},Object.keys(e).forEach(function(r){if(SAe.indexOf(r)===-1)throw new Ms('Unknown option "'+r+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(r){return r},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=AAe(e.styleAliases||null),CAe.indexOf(this.kind)===-1)throw new Ms('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}function pK(t,e){var r=[];return t[e].forEach(function(n){var i=r.length;r.forEach(function(a,s){a.tag===n.tag&&a.kind===n.kind&&a.multi===n.multi&&(i=s)}),r[i]=n}),r}function DAe(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,r;function n(i){i.multi?(t.multi[i.kind].push(i),t.multi.fallback.push(i)):t[i.kind][i.tag]=t.fallback[i.tag]=i}for(o(n,"collectType"),e=0,r=arguments.length;e=0&&(e=e.slice(1)),e===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:r*parseFloat(e,10)}function e8e(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Fi.isNegativeZero(t))return"-0.0";return r=t.toString(10),JAe.test(r)?r.replace("e",".e"):r}function t8e(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||Fi.isNegativeZero(t))}function i8e(t){return t===null?!1:NK.exec(t)!==null||MK.exec(t)!==null}function a8e(t){var e,r,n,i,a,s,l,u=0,h=null,f,d,p;if(e=NK.exec(t),e===null&&(e=MK.exec(t)),e===null)throw new Error("Date resolve error");if(r=+e[1],n=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(r,n,i));if(a=+e[4],s=+e[5],l=+e[6],e[7]){for(u=e[7].slice(0,3);u.length<3;)u+="0";u=+u}return e[9]&&(f=+e[10],d=+(e[11]||0),h=(f*60+d)*6e4,e[9]==="-"&&(h=-h)),p=new Date(Date.UTC(r,n,i,a,s,l,u)),h&&p.setTime(p.getTime()-h),p}function s8e(t){return t.toISOString()}function l8e(t){return t==="<<"||t===null}function u8e(t){if(t===null)return!1;var e,r,n=0,i=t.length,a=QL;for(r=0;r64)){if(e<0)return!1;n+=6}return n%8===0}function h8e(t){var e,r,n=t.replace(/[\r\n=]/g,""),i=n.length,a=QL,s=0,l=[];for(e=0;e>16&255),l.push(s>>8&255),l.push(s&255)),s=s<<6|a.indexOf(n.charAt(e));return r=i%4*6,r===0?(l.push(s>>16&255),l.push(s>>8&255),l.push(s&255)):r===18?(l.push(s>>10&255),l.push(s>>2&255)):r===12&&l.push(s>>4&255),new Uint8Array(l)}function f8e(t){var e="",r=0,n,i,a=t.length,s=QL;for(n=0;n>18&63],e+=s[r>>12&63],e+=s[r>>6&63],e+=s[r&63]),r=(r<<8)+t[n];return i=a%3,i===0?(e+=s[r>>18&63],e+=s[r>>12&63],e+=s[r>>6&63],e+=s[r&63]):i===2?(e+=s[r>>10&63],e+=s[r>>4&63],e+=s[r<<2&63],e+=s[64]):i===1&&(e+=s[r>>2&63],e+=s[r<<4&63],e+=s[64],e+=s[64]),e}function d8e(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}function y8e(t){if(t===null)return!0;var e=[],r,n,i,a,s,l=t;for(r=0,n=l.length;r>10)+55296,(t-65536&1023)+56320)}function P8e(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||IK,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function zK(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=EAe(r),new Ms(e,r)}function Zt(t,e){throw zK(t,e)}function OT(t,e){t.onWarning&&t.onWarning.call(null,zK(t,e))}function Wh(t,e,r,n){var i,a,s,l;if(e1&&(t.result+=Fi.repeat(` +`,e-1))}function B8e(t,e,r){var n,i,a,s,l,u,h,f,d=t.kind,p=t.result,m;if(m=t.input.charCodeAt(t.position),Is(m)||gm(m)||m===35||m===38||m===42||m===33||m===124||m===62||m===39||m===34||m===37||m===64||m===96||(m===63||m===45)&&(i=t.input.charCodeAt(t.position+1),Is(i)||r&&gm(i)))return!1;for(t.kind="scalar",t.result="",a=s=t.position,l=!1;m!==0;){if(m===58){if(i=t.input.charCodeAt(t.position+1),Is(i)||r&&gm(i))break}else if(m===35){if(n=t.input.charCodeAt(t.position-1),Is(n))break}else{if(t.position===t.lineStart&&FT(t)||r&&gm(m))break;if(vc(m))if(u=t.line,h=t.lineStart,f=t.lineIndent,_i(t,!1,-1),t.lineIndent>=e){l=!0,m=t.input.charCodeAt(t.position);continue}else{t.position=s,t.line=u,t.lineStart=h,t.lineIndent=f;break}}l&&(Wh(t,a,s,!1),JL(t,t.line-u),a=s=t.position,l=!1),Ud(m)||(s=t.position+1),m=t.input.charCodeAt(++t.position)}return Wh(t,a,s,!1),t.result?!0:(t.kind=d,t.result=p,!1)}function F8e(t,e){var r,n,i;if(r=t.input.charCodeAt(t.position),r!==39)return!1;for(t.kind="scalar",t.result="",t.position++,n=i=t.position;(r=t.input.charCodeAt(t.position))!==0;)if(r===39)if(Wh(t,n,t.position,!0),r=t.input.charCodeAt(++t.position),r===39)n=t.position,t.position++,i=t.position;else return!0;else vc(r)?(Wh(t,n,i,!0),JL(t,_i(t,!1,e)),n=i=t.position):t.position===t.lineStart&&FT(t)?Zt(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);Zt(t,"unexpected end of the stream within a single quoted scalar")}function $8e(t,e){var r,n,i,a,s,l;if(l=t.input.charCodeAt(t.position),l!==34)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;(l=t.input.charCodeAt(t.position))!==0;){if(l===34)return Wh(t,r,t.position,!0),t.position++,!0;if(l===92){if(Wh(t,r,t.position,!0),l=t.input.charCodeAt(++t.position),vc(l))_i(t,!1,e);else if(l<256&&$K[l])t.result+=GK[l],t.position++;else if((s=M8e(l))>0){for(i=s,a=0;i>0;i--)l=t.input.charCodeAt(++t.position),(s=N8e(l))>=0?a=(a<<4)+s:Zt(t,"expected hexadecimal character");t.result+=O8e(a),t.position++}else Zt(t,"unknown escape sequence");r=n=t.position}else vc(l)?(Wh(t,r,n,!0),JL(t,_i(t,!1,e)),r=n=t.position):t.position===t.lineStart&&FT(t)?Zt(t,"unexpected end of the document within a double quoted scalar"):(t.position++,n=t.position)}Zt(t,"unexpected end of the stream within a double quoted scalar")}function G8e(t,e){var r=!0,n,i,a,s=t.tag,l,u=t.anchor,h,f,d,p,m,g=Object.create(null),y,x,v,b;if(b=t.input.charCodeAt(t.position),b===91)f=93,m=!1,l=[];else if(b===123)f=125,m=!0,l={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=l),b=t.input.charCodeAt(++t.position);b!==0;){if(_i(t,!0,e),b=t.input.charCodeAt(t.position),b===f)return t.position++,t.tag=s,t.anchor=u,t.kind=m?"mapping":"sequence",t.result=l,!0;r?b===44&&Zt(t,"expected the node content, but found ','"):Zt(t,"missed comma between flow collection entries"),x=y=v=null,d=p=!1,b===63&&(h=t.input.charCodeAt(t.position+1),Is(h)&&(d=p=!0,t.position++,_i(t,!0,e))),n=t.line,i=t.lineStart,a=t.position,vm(t,e,MT,!1,!0),x=t.tag,y=t.result,_i(t,!0,e),b=t.input.charCodeAt(t.position),(p||t.line===n)&&b===58&&(d=!0,b=t.input.charCodeAt(++t.position),_i(t,!0,e),vm(t,e,MT,!1,!0),v=t.result),m?ym(t,l,g,x,y,v,n,i,a):d?l.push(ym(t,null,g,x,y,v,n,i,a)):l.push(y),_i(t,!0,e),b=t.input.charCodeAt(t.position),b===44?(r=!0,b=t.input.charCodeAt(++t.position)):r=!1}Zt(t,"unexpected end of the stream within a flow collection")}function z8e(t,e){var r,n,i=WL,a=!1,s=!1,l=e,u=0,h=!1,f,d;if(d=t.input.charCodeAt(t.position),d===124)n=!1;else if(d===62)n=!0;else return!1;for(t.kind="scalar",t.result="";d!==0;)if(d=t.input.charCodeAt(++t.position),d===43||d===45)WL===i?i=d===43?mK:_8e:Zt(t,"repeat of a chomping mode identifier");else if((f=I8e(d))>=0)f===0?Zt(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?Zt(t,"repeat of an indentation width identifier"):(l=e+f-1,s=!0);else break;if(Ud(d)){do d=t.input.charCodeAt(++t.position);while(Ud(d));if(d===35)do d=t.input.charCodeAt(++t.position);while(!vc(d)&&d!==0)}for(;d!==0;){for(ZL(t),t.lineIndent=0,d=t.input.charCodeAt(t.position);(!s||t.lineIndentl&&(l=t.lineIndent),vc(d)){u++;continue}if(t.lineIndente)&&u!==0)Zt(t,"bad indentation of a sequence entry");else if(t.lineIndente)&&(x&&(s=t.line,l=t.lineStart,u=t.position),vm(t,e,IT,!0,i)&&(x?g=t.result:y=t.result),x||(ym(t,d,p,m,g,y,s,l,u),m=g=y=null),_i(t,!0,-1),b=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&b!==0)Zt(t,"bad indentation of a mapping entry");else if(t.lineIndente?u=1:t.lineIndent===e?u=0:t.lineIndente?u=1:t.lineIndent===e?u=0:t.lineIndent tag; it should be "scalar", not "'+t.kind+'"'),d=0,p=t.implicitTypes.length;d"),t.result!==null&&g.kind!==t.kind&&Zt(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+g.kind+'", not "'+t.kind+'"'),g.resolve(t.result,t.tag)?(t.result=g.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):Zt(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||f}function q8e(t){var e=t.position,r,n,i,a=!1,s;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(s=t.input.charCodeAt(t.position))!==0&&(_i(t,!0,-1),s=t.input.charCodeAt(t.position),!(t.lineIndent>0||s!==37));){for(a=!0,s=t.input.charCodeAt(++t.position),r=t.position;s!==0&&!Is(s);)s=t.input.charCodeAt(++t.position);for(n=t.input.slice(r,t.position),i=[],n.length<1&&Zt(t,"directive name must not be less than one character in length");s!==0;){for(;Ud(s);)s=t.input.charCodeAt(++t.position);if(s===35){do s=t.input.charCodeAt(++t.position);while(s!==0&&!vc(s));break}if(vc(s))break;for(r=t.position;s!==0&&!Is(s);)s=t.input.charCodeAt(++t.position);i.push(t.input.slice(r,t.position))}s!==0&&ZL(t),qh.call(vK,n)?vK[n](t,n,i):OT(t,'unknown document directive "'+n+'"')}if(_i(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,_i(t,!0,-1)):a&&Zt(t,"directives end mark is expected"),vm(t,t.lineIndent-1,IT,!1,!0),_i(t,!0,-1),t.checkLineBreaks&&L8e.test(t.input.slice(e,t.position))&&OT(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&FT(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,_i(t,!0,-1));return}if(t.position"u"&&(r=e,e=null);var n=VK(t,r);if(typeof e!="function")return n;for(var i=0,a=n.length;i=55296&&r<=56319&&e+1=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function YK(t){var e=/^\n* /;return e.test(t)}function y_e(t,e,r,n,i,a,s,l){var u,h=0,f=null,d=!1,p=!1,m=n!==-1,g=-1,y=m_e(p2(t,0))&&g_e(p2(t,t.length-1));if(e||s)for(u=0;u=65536?u+=2:u++){if(h=p2(t,u),!v2(h))return hm;y=y&&xK(h,f,l),f=h}else{for(u=0;u=65536?u+=2:u++){if(h=p2(t,u),h===g2)d=!0,m&&(p=p||u-g-1>n&&t[g+1]!==" ",g=u);else if(!v2(h))return hm;y=y&&xK(h,f,l),f=h}p=p||m&&u-g-1>n&&t[g+1]!==" "}return!d&&!p?y&&!s&&!i(t)?XK:a===y2?hm:G9:r>9&&YK(t)?hm:s?a===y2?hm:G9:p?KK:jK}function v_e(t,e,r,n,i){t.dump=function(){if(e.length===0)return t.quotingType===y2?'""':"''";if(!t.noCompatMode&&(l_e.indexOf(e)!==-1||c_e.test(e)))return t.quotingType===y2?'"'+e+'"':"'"+e+"'";var a=t.indent*Math.max(1,r),s=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-a),l=n||t.flowLevel>-1&&r>=t.flowLevel;function u(h){return p_e(t,h)}switch(o(u,"testAmbiguity"),y_e(e,l,t.indent,s,u,t.quotingType,t.forceQuotes&&!n,i)){case XK:return e;case G9:return"'"+e.replace(/'/g,"''")+"'";case jK:return"|"+bK(e,t.indent)+TK(yK(e,a));case KK:return">"+bK(e,t.indent)+TK(yK(x_e(e,s),a));case hm:return'"'+b_e(e)+'"';default:throw new Ls("impossible error: invalid scalar style")}}()}function bK(t,e){var r=YK(t)?String(e):"",n=t[t.length-1]===` +`&&(a+=r),a+=s;return a}function XL(t,e){return` +`+Fi.repeat(" ",t.indent*e)}function x_e(t,e){var r,n,i;for(r=0,n=t.implicitTypes.length;r=55296&&r<=56319&&e+1=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function QK(t){var e=/^\n* /;return e.test(t)}function w_e(t,e,r,n,i,a,s,l){var u,h=0,f=null,d=!1,p=!1,m=n!==-1,g=-1,y=b_e(m2(t,0))&&T_e(m2(t,t.length-1));if(e||s)for(u=0;u=65536?u+=2:u++){if(h=m2(t,u),!x2(h))return mm;y=y&&kK(h,f,l),f=h}else{for(u=0;u=65536?u+=2:u++){if(h=m2(t,u),h===y2)d=!0,m&&(p=p||u-g-1>n&&t[g+1]!==" ",g=u);else if(!x2(h))return mm;y=y&&kK(h,f,l),f=h}p=p||m&&u-g-1>n&&t[g+1]!==" "}return!d&&!p?y&&!s&&!i(t)?ZK:a===v2?mm:jL:r>9&&QK(t)?mm:s?a===v2?mm:jL:p?eQ:JK}function k_e(t,e,r,n,i){t.dump=function(){if(e.length===0)return t.quotingType===v2?'""':"''";if(!t.noCompatMode&&(d_e.indexOf(e)!==-1||p_e.test(e)))return t.quotingType===v2?'"'+e+'"':"'"+e+"'";var a=t.indent*Math.max(1,r),s=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-a),l=n||t.flowLevel>-1&&r>=t.flowLevel;function u(h){return x_e(t,h)}switch(o(u,"testAmbiguity"),w_e(e,l,t.indent,s,u,t.quotingType,t.forceQuotes&&!n,i)){case ZK:return e;case jL:return"'"+e.replace(/'/g,"''")+"'";case JK:return"|"+EK(e,t.indent)+SK(TK(e,a));case eQ:return">"+EK(e,t.indent)+SK(TK(E_e(e,s),a));case mm:return'"'+S_e(e)+'"';default:throw new Ms("impossible error: invalid scalar style")}}()}function EK(t,e){var r=QK(t)?String(e):"",n=t[t.length-1]===` `,i=n&&(t[t.length-2]===` `||t===` `),a=i?"+":n?"":"-";return r+a+` -`}function TK(t){return t[t.length-1]===` -`?t.slice(0,-1):t}function x_e(t,e){for(var r=/(\n+)([^\n]*)/g,n=function(){var h=t.indexOf(` -`);return h=h!==-1?h:t.length,r.lastIndex=h,wK(t.slice(0,h),e)}(),i=t[0]===` +`}function SK(t){return t[t.length-1]===` +`?t.slice(0,-1):t}function E_e(t,e){for(var r=/(\n+)([^\n]*)/g,n=function(){var h=t.indexOf(` +`);return h=h!==-1?h:t.length,r.lastIndex=h,CK(t.slice(0,h),e)}(),i=t[0]===` `||t[0]===" ",a,s;s=r.exec(t);){var l=s[1],u=s[2];a=u[0]===" ",n+=l+(!i&&!a&&u!==""?` -`:"")+wK(u,e),i=a}return n}function wK(t,e){if(t===""||t[0]===" ")return t;for(var r=/ [^ ]/g,n,i=0,a,s=0,l=0,u="";n=r.exec(t);)l=n.index,l-i>e&&(a=s>i?s:l,u+=` +`:"")+CK(u,e),i=a}return n}function CK(t,e){if(t===""||t[0]===" ")return t;for(var r=/ [^ ]/g,n,i=0,a,s=0,l=0,u="";n=r.exec(t);)l=n.index,l-i>e&&(a=s>i?s:l,u+=` `+t.slice(i,a),i=a+1),s=l;return u+=` `,t.length-i>e&&s>i?u+=t.slice(i,s)+` -`+t.slice(s+1):u+=t.slice(i),u.slice(1)}function b_e(t){for(var e="",r=0,n,i=0;i=65536?i+=2:i++)r=p2(t,i),n=La[r],!n&&v2(r)?(e+=t[i],r>=65536&&(e+=t[i+1])):e+=n||h_e(r);return e}function T_e(t,e,r){var n="",i=t.tag,a,s,l;for(a=0,s=r.length;a"u"&&Du(t,e,null,!1,!1))&&(n!==""&&(n+=","+(t.condenseFlow?"":" ")),n+=t.dump);t.tag=i,t.dump="["+n+"]"}function kK(t,e,r,n){var i="",a=t.tag,s,l,u;for(s=0,l=r.length;s"u"&&Du(t,e+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=z9(t,e)),t.dump&&g2===t.dump.charCodeAt(0)?i+="-":i+="- ",i+=t.dump);t.tag=a,t.dump=i||"[]"}function w_e(t,e,r){var n="",i=t.tag,a=Object.keys(r),s,l,u,h,f;for(s=0,l=a.length;s1024&&(f+="? "),f+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),Du(t,e,h,!1,!1)&&(f+=t.dump,n+=f));t.tag=i,t.dump="{"+n+"}"}function k_e(t,e,r,n){var i="",a=t.tag,s=Object.keys(r),l,u,h,f,d,p;if(t.sortKeys===!0)s.sort();else if(typeof t.sortKeys=="function")s.sort(t.sortKeys);else if(t.sortKeys)throw new Ls("sortKeys must be a boolean or a function");for(l=0,u=s.length;l1024,d&&(t.dump&&g2===t.dump.charCodeAt(0)?p+="?":p+="? "),p+=t.dump,d&&(p+=z9(t,e)),Du(t,e+1,f,!0,d)&&(t.dump&&g2===t.dump.charCodeAt(0)?p+=":":p+=": ",p+=t.dump,i+=p));t.tag=a,t.dump=i||"{}"}function EK(t,e,r){var n,i,a,s,l,u;for(i=r?t.explicitTypes:t.implicitTypes,a=0,s=i.length;a tag resolver accepts not "'+u+'" style');t.dump=n}return!0}return!1}function Du(t,e,r,n,i,a,s){t.tag=null,t.dump=r,EK(t,r,!1)||EK(t,r,!0);var l=zK.call(t.dump),u=n,h;n&&(n=t.flowLevel<0||t.flowLevel>e);var f=l==="[object Object]"||l==="[object Array]",d,p;if(f&&(d=t.duplicates.indexOf(r),p=d!==-1),(t.tag!==null&&t.tag!=="?"||p||t.indent!==2&&e>0)&&(i=!1),p&&t.usedDuplicates[d])t.dump="*ref_"+d;else{if(f&&p&&!t.usedDuplicates[d]&&(t.usedDuplicates[d]=!0),l==="[object Object]")n&&Object.keys(t.dump).length!==0?(k_e(t,e,t.dump,i),p&&(t.dump="&ref_"+d+t.dump)):(w_e(t,e,t.dump),p&&(t.dump="&ref_"+d+" "+t.dump));else if(l==="[object Array]")n&&t.dump.length!==0?(t.noArrayIndent&&!s&&e>0?kK(t,e-1,t.dump,i):kK(t,e,t.dump,i),p&&(t.dump="&ref_"+d+t.dump)):(T_e(t,e,t.dump),p&&(t.dump="&ref_"+d+" "+t.dump));else if(l==="[object String]")t.tag!=="?"&&v_e(t,t.dump,e,a,u);else{if(l==="[object Undefined]")return!1;if(t.skipInvalid)return!1;throw new Ls("unacceptable kind of an object to dump "+l)}t.tag!==null&&t.tag!=="?"&&(h=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21"),t.tag[0]==="!"?h="!"+h:h.slice(0,18)==="tag:yaml.org,2002:"?h="!!"+h.slice(18):h="!<"+h+">",t.dump=h+" "+t.dump)}return!0}function E_e(t,e){var r=[],n=[],i,a;for(V9(t,r,n),i=0,a=n.length;i{"use strict";o(SK,"isNothing");o(oAe,"isObject");o(lAe,"toArray");o(cAe,"extend");o(uAe,"repeat");o(hAe,"isNegativeZero");fAe=SK,dAe=oAe,pAe=lAe,mAe=uAe,gAe=hAe,yAe=cAe,$i={isNothing:fAe,isObject:dAe,toArray:pAe,repeat:mAe,isNegativeZero:gAe,extend:yAe};o(CK,"formatError");o(m2,"YAMLException$1");m2.prototype=Object.create(Error.prototype);m2.prototype.constructor=m2;m2.prototype.toString=o(function(e){return this.name+": "+CK(this,e)},"toString");Ls=m2;o(O9,"getLine");o(P9,"padStart");o(vAe,"makeSnippet");xAe=vAe,bAe=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],TAe=["scalar","sequence","mapping"];o(wAe,"compileStyleAliases");o(kAe,"Type$1");Da=kAe;o(uK,"compileList");o(EAe,"compileMap");o(F9,"Schema$1");F9.prototype.extend=o(function(e){var r=[],n=[];if(e instanceof Da)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(r=r.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new Ls("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(a){if(!(a instanceof Da))throw new Ls("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(a.loadKind&&a.loadKind!=="scalar")throw new Ls("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(a.multi)throw new Ls("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(a){if(!(a instanceof Da))throw new Ls("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(F9.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=uK(i,"implicit"),i.compiledExplicit=uK(i,"explicit"),i.compiledTypeMap=EAe(i.compiledImplicit,i.compiledExplicit),i},"extend");SAe=F9,CAe=new Da("tag:yaml.org,2002:str",{kind:"scalar",construct:o(function(t){return t!==null?t:""},"construct")}),AAe=new Da("tag:yaml.org,2002:seq",{kind:"sequence",construct:o(function(t){return t!==null?t:[]},"construct")}),_Ae=new Da("tag:yaml.org,2002:map",{kind:"mapping",construct:o(function(t){return t!==null?t:{}},"construct")}),DAe=new SAe({explicit:[CAe,AAe,_Ae]});o(LAe,"resolveYamlNull");o(RAe,"constructYamlNull");o(NAe,"isNull");MAe=new Da("tag:yaml.org,2002:null",{kind:"scalar",resolve:LAe,construct:RAe,predicate:NAe,represent:{canonical:o(function(){return"~"},"canonical"),lowercase:o(function(){return"null"},"lowercase"),uppercase:o(function(){return"NULL"},"uppercase"),camelcase:o(function(){return"Null"},"camelcase"),empty:o(function(){return""},"empty")},defaultStyle:"lowercase"});o(IAe,"resolveYamlBoolean");o(OAe,"constructYamlBoolean");o(PAe,"isBoolean");BAe=new Da("tag:yaml.org,2002:bool",{kind:"scalar",resolve:IAe,construct:OAe,predicate:PAe,represent:{lowercase:o(function(t){return t?"true":"false"},"lowercase"),uppercase:o(function(t){return t?"TRUE":"FALSE"},"uppercase"),camelcase:o(function(t){return t?"True":"False"},"camelcase")},defaultStyle:"lowercase"});o(FAe,"isHexCode");o($Ae,"isOctCode");o(zAe,"isDecCode");o(GAe,"resolveYamlInteger");o(VAe,"constructYamlInteger");o(UAe,"isInteger");HAe=new Da("tag:yaml.org,2002:int",{kind:"scalar",resolve:GAe,construct:VAe,predicate:UAe,represent:{binary:o(function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:o(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},"octal"),decimal:o(function(t){return t.toString(10)},"decimal"),hexadecimal:o(function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),WAe=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");o(qAe,"resolveYamlFloat");o(YAe,"constructYamlFloat");XAe=/^[-+]?[0-9]+e/;o(jAe,"representYamlFloat");o(KAe,"isFloat");QAe=new Da("tag:yaml.org,2002:float",{kind:"scalar",resolve:qAe,construct:YAe,predicate:KAe,represent:jAe,defaultStyle:"lowercase"}),AK=DAe.extend({implicit:[MAe,BAe,HAe,QAe]}),ZAe=AK,_K=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),DK=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");o(JAe,"resolveYamlTimestamp");o(e8e,"constructYamlTimestamp");o(t8e,"representYamlTimestamp");r8e=new Da("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:JAe,construct:e8e,instanceOf:Date,represent:t8e});o(n8e,"resolveYamlMerge");i8e=new Da("tag:yaml.org,2002:merge",{kind:"scalar",resolve:n8e}),U9=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;o(a8e,"resolveYamlBinary");o(s8e,"constructYamlBinary");o(o8e,"representYamlBinary");o(l8e,"isBinary");c8e=new Da("tag:yaml.org,2002:binary",{kind:"scalar",resolve:a8e,construct:s8e,predicate:l8e,represent:o8e}),u8e=Object.prototype.hasOwnProperty,h8e=Object.prototype.toString;o(f8e,"resolveYamlOmap");o(d8e,"constructYamlOmap");p8e=new Da("tag:yaml.org,2002:omap",{kind:"sequence",resolve:f8e,construct:d8e}),m8e=Object.prototype.toString;o(g8e,"resolveYamlPairs");o(y8e,"constructYamlPairs");v8e=new Da("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:g8e,construct:y8e}),x8e=Object.prototype.hasOwnProperty;o(b8e,"resolveYamlSet");o(T8e,"constructYamlSet");w8e=new Da("tag:yaml.org,2002:set",{kind:"mapping",resolve:b8e,construct:T8e}),LK=ZAe.extend({implicit:[r8e,i8e],explicit:[c8e,p8e,v8e,w8e]}),Uh=Object.prototype.hasOwnProperty,_T=1,RK=2,NK=3,DT=4,B9=1,k8e=2,hK=3,E8e=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,S8e=/[\x85\u2028\u2029]/,C8e=/[,\[\]\{\}]/,MK=/^(?:!|!!|![a-z\-]+!)$/i,IK=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;o(fK,"_class");o(gc,"is_EOL");o(Id,"is_WHITE_SPACE");o(Rs,"is_WS_OR_EOL");o(fm,"is_FLOW_INDICATOR");o(A8e,"fromHexCode");o(_8e,"escapedHexLen");o(D8e,"fromDecimalCode");o(dK,"simpleEscapeSequence");o(L8e,"charFromCodepoint");OK=new Array(256),PK=new Array(256);for(Md=0;Md<256;Md++)OK[Md]=dK(Md)?1:0,PK[Md]=dK(Md);o(R8e,"State$1");o(BK,"generateError");o(Zt,"throwError");o(LT,"throwWarning");pK={YAML:o(function(e,r,n){var i,a,s;e.version!==null&&Zt(e,"duplication of %YAML directive"),n.length!==1&&Zt(e,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&Zt(e,"ill-formed argument of the YAML directive"),a=parseInt(i[1],10),s=parseInt(i[2],10),a!==1&&Zt(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=s<2,s!==1&&s!==2&<(e,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:o(function(e,r,n){var i,a;n.length!==2&&Zt(e,"TAG directive accepts exactly two arguments"),i=n[0],a=n[1],MK.test(i)||Zt(e,"ill-formed tag handle (first argument) of the TAG directive"),Uh.call(e.tagMap,i)&&Zt(e,'there is a previously declared suffix for "'+i+'" tag handle'),IK.test(a)||Zt(e,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch{Zt(e,"tag prefix is malformed: "+a)}e.tagMap[i]=a},"handleTagDirective")};o(Vh,"captureSegment");o(mK,"mergeMappings");o(dm,"storeMappingPair");o(H9,"readLineBreak");o(Ai,"skipSeparationSpace");o(MT,"testDocumentSeparator");o(W9,"writeFoldedLines");o(N8e,"readPlainScalar");o(M8e,"readSingleQuotedScalar");o(I8e,"readDoubleQuotedScalar");o(O8e,"readFlowCollection");o(P8e,"readBlockScalar");o(gK,"readBlockSequence");o(B8e,"readBlockMapping");o(F8e,"readTagProperty");o($8e,"readAnchorProperty");o(z8e,"readAlias");o(pm,"composeNode");o(G8e,"readDocument");o(FK,"loadDocuments");o(V8e,"loadAll$1");o(U8e,"load$1");H8e=V8e,W8e=U8e,$K={loadAll:H8e,load:W8e},zK=Object.prototype.toString,GK=Object.prototype.hasOwnProperty,q9=65279,q8e=9,g2=10,Y8e=13,X8e=32,j8e=33,K8e=34,$9=35,Q8e=37,Z8e=38,J8e=39,e_e=42,VK=44,t_e=45,RT=58,r_e=61,n_e=62,i_e=63,a_e=64,UK=91,HK=93,s_e=96,WK=123,o_e=124,qK=125,La={};La[0]="\\0";La[7]="\\a";La[8]="\\b";La[9]="\\t";La[10]="\\n";La[11]="\\v";La[12]="\\f";La[13]="\\r";La[27]="\\e";La[34]='\\"';La[92]="\\\\";La[133]="\\N";La[160]="\\_";La[8232]="\\L";La[8233]="\\P";l_e=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],c_e=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;o(u_e,"compileStyleMap");o(h_e,"encodeHex");f_e=1,y2=2;o(d_e,"State");o(yK,"indentString");o(z9,"generateNextLine");o(p_e,"testImplicitResolving");o(NT,"isWhitespace");o(v2,"isPrintable");o(vK,"isNsCharOrWhitespace");o(xK,"isPlainSafe");o(m_e,"isPlainSafeFirst");o(g_e,"isPlainSafeLast");o(p2,"codePointAt");o(YK,"needIndentIndicator");XK=1,G9=2,jK=3,KK=4,hm=5;o(y_e,"chooseScalarStyle");o(v_e,"writeScalar");o(bK,"blockHeader");o(TK,"dropEndingNewline");o(x_e,"foldString");o(wK,"foldLine");o(b_e,"escapeString");o(T_e,"writeFlowSequence");o(kK,"writeBlockSequence");o(w_e,"writeFlowMapping");o(k_e,"writeBlockMapping");o(EK,"detectType");o(Du,"writeNode");o(E_e,"getDuplicateReferences");o(V9,"inspectNode");o(S_e,"dump$1");C_e=S_e,A_e={dump:C_e};o(Y9,"renamed");mm=AK,gm=$K.load,_St=$K.loadAll,DSt=A_e.dump,LSt=Y9("safeLoad","load"),RSt=Y9("safeLoadAll","loadAll"),NSt=Y9("safeDump","dump")});function Z9(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function rQ(t){Pd=t}function rn(t,e=""){let r=typeof t=="string"?t:t.source,n={replace:o((i,a)=>{let s=typeof a=="string"?a:a.source;return s=s.replace(rs.caret,"$1"),r=r.replace(i,s),n},"replace"),getRegex:o(()=>new RegExp(r,e),"getRegex")};return n}function yc(t,e){if(e){if(rs.escapeTest.test(t))return t.replace(rs.escapeReplace,ZK)}else if(rs.escapeTestNoEncode.test(t))return t.replace(rs.escapeReplaceNoEncode,ZK);return t}function JK(t){try{t=encodeURI(t).replace(rs.percentDecode,"%")}catch{return null}return t}function eQ(t,e){let r=t.replace(rs.findPipe,(a,s,l)=>{let u=!1,h=s;for(;--h>=0&&l[h]==="\\";)u=!u;return u?"|":" |"}),n=r.split(rs.splitPipe),i=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length0?-2:-1}function tQ(t,e,r,n,i){let a=e.href,s=e.title||null,l=t[1].replace(i.other.outputLinkReplace,"$1");n.state.inLink=!0;let u={type:t[0].charAt(0)==="!"?"image":"link",raw:r,href:a,title:s,text:l,tokens:n.inlineTokens(l)};return n.state.inLink=!1,u}function lDe(t,e,r){let n=t.match(r.other.indentCodeCompensation);if(n===null)return e;let i=n[1];return e.split(` +`+t.slice(s+1):u+=t.slice(i),u.slice(1)}function S_e(t){for(var e="",r=0,n,i=0;i=65536?i+=2:i++)r=m2(t,i),n=Na[r],!n&&x2(r)?(e+=t[i],r>=65536&&(e+=t[i+1])):e+=n||g_e(r);return e}function C_e(t,e,r){var n="",i=t.tag,a,s,l;for(a=0,s=r.length;a"u"&&Lu(t,e,null,!1,!1))&&(n!==""&&(n+=","+(t.condenseFlow?"":" ")),n+=t.dump);t.tag=i,t.dump="["+n+"]"}function AK(t,e,r,n){var i="",a=t.tag,s,l,u;for(s=0,l=r.length;s"u"&&Lu(t,e+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=XL(t,e)),t.dump&&y2===t.dump.charCodeAt(0)?i+="-":i+="- ",i+=t.dump);t.tag=a,t.dump=i||"[]"}function A_e(t,e,r){var n="",i=t.tag,a=Object.keys(r),s,l,u,h,f;for(s=0,l=a.length;s1024&&(f+="? "),f+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),Lu(t,e,h,!1,!1)&&(f+=t.dump,n+=f));t.tag=i,t.dump="{"+n+"}"}function __e(t,e,r,n){var i="",a=t.tag,s=Object.keys(r),l,u,h,f,d,p;if(t.sortKeys===!0)s.sort();else if(typeof t.sortKeys=="function")s.sort(t.sortKeys);else if(t.sortKeys)throw new Ms("sortKeys must be a boolean or a function");for(l=0,u=s.length;l1024,d&&(t.dump&&y2===t.dump.charCodeAt(0)?p+="?":p+="? "),p+=t.dump,d&&(p+=XL(t,e)),Lu(t,e+1,f,!0,d)&&(t.dump&&y2===t.dump.charCodeAt(0)?p+=":":p+=": ",p+=t.dump,i+=p));t.tag=a,t.dump=i||"{}"}function _K(t,e,r){var n,i,a,s,l,u;for(i=r?t.explicitTypes:t.implicitTypes,a=0,s=i.length;a tag resolver accepts not "'+u+'" style');t.dump=n}return!0}return!1}function Lu(t,e,r,n,i,a,s){t.tag=null,t.dump=r,_K(t,r,!1)||_K(t,r,!0);var l=HK.call(t.dump),u=n,h;n&&(n=t.flowLevel<0||t.flowLevel>e);var f=l==="[object Object]"||l==="[object Array]",d,p;if(f&&(d=t.duplicates.indexOf(r),p=d!==-1),(t.tag!==null&&t.tag!=="?"||p||t.indent!==2&&e>0)&&(i=!1),p&&t.usedDuplicates[d])t.dump="*ref_"+d;else{if(f&&p&&!t.usedDuplicates[d]&&(t.usedDuplicates[d]=!0),l==="[object Object]")n&&Object.keys(t.dump).length!==0?(__e(t,e,t.dump,i),p&&(t.dump="&ref_"+d+t.dump)):(A_e(t,e,t.dump),p&&(t.dump="&ref_"+d+" "+t.dump));else if(l==="[object Array]")n&&t.dump.length!==0?(t.noArrayIndent&&!s&&e>0?AK(t,e-1,t.dump,i):AK(t,e,t.dump,i),p&&(t.dump="&ref_"+d+t.dump)):(C_e(t,e,t.dump),p&&(t.dump="&ref_"+d+" "+t.dump));else if(l==="[object String]")t.tag!=="?"&&k_e(t,t.dump,e,a,u);else{if(l==="[object Undefined]")return!1;if(t.skipInvalid)return!1;throw new Ms("unacceptable kind of an object to dump "+l)}t.tag!==null&&t.tag!=="?"&&(h=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21"),t.tag[0]==="!"?h="!"+h:h.slice(0,18)==="tag:yaml.org,2002:"?h="!!"+h.slice(18):h="!<"+h+">",t.dump=h+" "+t.dump)}return!0}function D_e(t,e){var r=[],n=[],i,a;for(KL(t,r,n),i=0,a=n.length;i{"use strict";o(DK,"isNothing");o(fAe,"isObject");o(dAe,"toArray");o(pAe,"extend");o(mAe,"repeat");o(gAe,"isNegativeZero");yAe=DK,vAe=fAe,xAe=dAe,bAe=mAe,TAe=gAe,wAe=pAe,Fi={isNothing:yAe,isObject:vAe,toArray:xAe,repeat:bAe,isNegativeZero:TAe,extend:wAe};o(LK,"formatError");o(g2,"YAMLException$1");g2.prototype=Object.create(Error.prototype);g2.prototype.constructor=g2;g2.prototype.toString=o(function(e){return this.name+": "+LK(this,e)},"toString");Ms=g2;o(UL,"getLine");o(HL,"padStart");o(kAe,"makeSnippet");EAe=kAe,SAe=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],CAe=["scalar","sequence","mapping"];o(AAe,"compileStyleAliases");o(_Ae,"Type$1");Ra=_Ae;o(pK,"compileList");o(DAe,"compileMap");o(qL,"Schema$1");qL.prototype.extend=o(function(e){var r=[],n=[];if(e instanceof Ra)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(r=r.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new Ms("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(a){if(!(a instanceof Ra))throw new Ms("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(a.loadKind&&a.loadKind!=="scalar")throw new Ms("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(a.multi)throw new Ms("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(a){if(!(a instanceof Ra))throw new Ms("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(qL.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=pK(i,"implicit"),i.compiledExplicit=pK(i,"explicit"),i.compiledTypeMap=DAe(i.compiledImplicit,i.compiledExplicit),i},"extend");LAe=qL,RAe=new Ra("tag:yaml.org,2002:str",{kind:"scalar",construct:o(function(t){return t!==null?t:""},"construct")}),NAe=new Ra("tag:yaml.org,2002:seq",{kind:"sequence",construct:o(function(t){return t!==null?t:[]},"construct")}),MAe=new Ra("tag:yaml.org,2002:map",{kind:"mapping",construct:o(function(t){return t!==null?t:{}},"construct")}),IAe=new LAe({explicit:[RAe,NAe,MAe]});o(OAe,"resolveYamlNull");o(PAe,"constructYamlNull");o(BAe,"isNull");FAe=new Ra("tag:yaml.org,2002:null",{kind:"scalar",resolve:OAe,construct:PAe,predicate:BAe,represent:{canonical:o(function(){return"~"},"canonical"),lowercase:o(function(){return"null"},"lowercase"),uppercase:o(function(){return"NULL"},"uppercase"),camelcase:o(function(){return"Null"},"camelcase"),empty:o(function(){return""},"empty")},defaultStyle:"lowercase"});o($Ae,"resolveYamlBoolean");o(GAe,"constructYamlBoolean");o(zAe,"isBoolean");VAe=new Ra("tag:yaml.org,2002:bool",{kind:"scalar",resolve:$Ae,construct:GAe,predicate:zAe,represent:{lowercase:o(function(t){return t?"true":"false"},"lowercase"),uppercase:o(function(t){return t?"TRUE":"FALSE"},"uppercase"),camelcase:o(function(t){return t?"True":"False"},"camelcase")},defaultStyle:"lowercase"});o(UAe,"isHexCode");o(HAe,"isOctCode");o(WAe,"isDecCode");o(qAe,"resolveYamlInteger");o(YAe,"constructYamlInteger");o(XAe,"isInteger");jAe=new Ra("tag:yaml.org,2002:int",{kind:"scalar",resolve:qAe,construct:YAe,predicate:XAe,represent:{binary:o(function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:o(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},"octal"),decimal:o(function(t){return t.toString(10)},"decimal"),hexadecimal:o(function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),KAe=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");o(QAe,"resolveYamlFloat");o(ZAe,"constructYamlFloat");JAe=/^[-+]?[0-9]+e/;o(e8e,"representYamlFloat");o(t8e,"isFloat");r8e=new Ra("tag:yaml.org,2002:float",{kind:"scalar",resolve:QAe,construct:ZAe,predicate:t8e,represent:e8e,defaultStyle:"lowercase"}),RK=IAe.extend({implicit:[FAe,VAe,jAe,r8e]}),n8e=RK,NK=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),MK=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");o(i8e,"resolveYamlTimestamp");o(a8e,"constructYamlTimestamp");o(s8e,"representYamlTimestamp");o8e=new Ra("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:i8e,construct:a8e,instanceOf:Date,represent:s8e});o(l8e,"resolveYamlMerge");c8e=new Ra("tag:yaml.org,2002:merge",{kind:"scalar",resolve:l8e}),QL=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;o(u8e,"resolveYamlBinary");o(h8e,"constructYamlBinary");o(f8e,"representYamlBinary");o(d8e,"isBinary");p8e=new Ra("tag:yaml.org,2002:binary",{kind:"scalar",resolve:u8e,construct:h8e,predicate:d8e,represent:f8e}),m8e=Object.prototype.hasOwnProperty,g8e=Object.prototype.toString;o(y8e,"resolveYamlOmap");o(v8e,"constructYamlOmap");x8e=new Ra("tag:yaml.org,2002:omap",{kind:"sequence",resolve:y8e,construct:v8e}),b8e=Object.prototype.toString;o(T8e,"resolveYamlPairs");o(w8e,"constructYamlPairs");k8e=new Ra("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:T8e,construct:w8e}),E8e=Object.prototype.hasOwnProperty;o(S8e,"resolveYamlSet");o(C8e,"constructYamlSet");A8e=new Ra("tag:yaml.org,2002:set",{kind:"mapping",resolve:S8e,construct:C8e}),IK=n8e.extend({implicit:[o8e,c8e],explicit:[p8e,x8e,k8e,A8e]}),qh=Object.prototype.hasOwnProperty,MT=1,OK=2,PK=3,IT=4,WL=1,_8e=2,mK=3,D8e=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,L8e=/[\x85\u2028\u2029]/,R8e=/[,\[\]\{\}]/,BK=/^(?:!|!!|![a-z\-]+!)$/i,FK=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;o(gK,"_class");o(vc,"is_EOL");o(Ud,"is_WHITE_SPACE");o(Is,"is_WS_OR_EOL");o(gm,"is_FLOW_INDICATOR");o(N8e,"fromHexCode");o(M8e,"escapedHexLen");o(I8e,"fromDecimalCode");o(yK,"simpleEscapeSequence");o(O8e,"charFromCodepoint");$K=new Array(256),GK=new Array(256);for(Vd=0;Vd<256;Vd++)$K[Vd]=yK(Vd)?1:0,GK[Vd]=yK(Vd);o(P8e,"State$1");o(zK,"generateError");o(Zt,"throwError");o(OT,"throwWarning");vK={YAML:o(function(e,r,n){var i,a,s;e.version!==null&&Zt(e,"duplication of %YAML directive"),n.length!==1&&Zt(e,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&Zt(e,"ill-formed argument of the YAML directive"),a=parseInt(i[1],10),s=parseInt(i[2],10),a!==1&&Zt(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=s<2,s!==1&&s!==2&&OT(e,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:o(function(e,r,n){var i,a;n.length!==2&&Zt(e,"TAG directive accepts exactly two arguments"),i=n[0],a=n[1],BK.test(i)||Zt(e,"ill-formed tag handle (first argument) of the TAG directive"),qh.call(e.tagMap,i)&&Zt(e,'there is a previously declared suffix for "'+i+'" tag handle'),FK.test(a)||Zt(e,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch{Zt(e,"tag prefix is malformed: "+a)}e.tagMap[i]=a},"handleTagDirective")};o(Wh,"captureSegment");o(xK,"mergeMappings");o(ym,"storeMappingPair");o(ZL,"readLineBreak");o(_i,"skipSeparationSpace");o(FT,"testDocumentSeparator");o(JL,"writeFoldedLines");o(B8e,"readPlainScalar");o(F8e,"readSingleQuotedScalar");o($8e,"readDoubleQuotedScalar");o(G8e,"readFlowCollection");o(z8e,"readBlockScalar");o(bK,"readBlockSequence");o(V8e,"readBlockMapping");o(U8e,"readTagProperty");o(H8e,"readAnchorProperty");o(W8e,"readAlias");o(vm,"composeNode");o(q8e,"readDocument");o(VK,"loadDocuments");o(Y8e,"loadAll$1");o(X8e,"load$1");j8e=Y8e,K8e=X8e,UK={loadAll:j8e,load:K8e},HK=Object.prototype.toString,WK=Object.prototype.hasOwnProperty,e9=65279,Q8e=9,y2=10,Z8e=13,J8e=32,e_e=33,t_e=34,YL=35,r_e=37,n_e=38,i_e=39,a_e=42,qK=44,s_e=45,PT=58,o_e=61,l_e=62,c_e=63,u_e=64,YK=91,XK=93,h_e=96,jK=123,f_e=124,KK=125,Na={};Na[0]="\\0";Na[7]="\\a";Na[8]="\\b";Na[9]="\\t";Na[10]="\\n";Na[11]="\\v";Na[12]="\\f";Na[13]="\\r";Na[27]="\\e";Na[34]='\\"';Na[92]="\\\\";Na[133]="\\N";Na[160]="\\_";Na[8232]="\\L";Na[8233]="\\P";d_e=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],p_e=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;o(m_e,"compileStyleMap");o(g_e,"encodeHex");y_e=1,v2=2;o(v_e,"State");o(TK,"indentString");o(XL,"generateNextLine");o(x_e,"testImplicitResolving");o(BT,"isWhitespace");o(x2,"isPrintable");o(wK,"isNsCharOrWhitespace");o(kK,"isPlainSafe");o(b_e,"isPlainSafeFirst");o(T_e,"isPlainSafeLast");o(m2,"codePointAt");o(QK,"needIndentIndicator");ZK=1,jL=2,JK=3,eQ=4,mm=5;o(w_e,"chooseScalarStyle");o(k_e,"writeScalar");o(EK,"blockHeader");o(SK,"dropEndingNewline");o(E_e,"foldString");o(CK,"foldLine");o(S_e,"escapeString");o(C_e,"writeFlowSequence");o(AK,"writeBlockSequence");o(A_e,"writeFlowMapping");o(__e,"writeBlockMapping");o(_K,"detectType");o(Lu,"writeNode");o(D_e,"getDuplicateReferences");o(KL,"inspectNode");o(L_e,"dump$1");R_e=L_e,N_e={dump:R_e};o(t9,"renamed");Yh=RK,Xh=UK.load,SSt=UK.loadAll,CSt=N_e.dump,ASt=t9("safeLoad","load"),_St=t9("safeLoadAll","loadAll"),DSt=t9("safeDump","dump")});function a9(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function sQ(t){Wd=t}function nn(t,e=""){let r=typeof t=="string"?t:t.source,n={replace:o((i,a)=>{let s=typeof a=="string"?a:a.source;return s=s.replace(as.caret,"$1"),r=r.replace(i,s),n},"replace"),getRegex:o(()=>new RegExp(r,e),"getRegex")};return n}function xc(t,e){if(e){if(as.escapeTest.test(t))return t.replace(as.escapeReplace,rQ)}else if(as.escapeTestNoEncode.test(t))return t.replace(as.escapeReplaceNoEncode,rQ);return t}function nQ(t){try{t=encodeURI(t).replace(as.percentDecode,"%")}catch{return null}return t}function iQ(t,e){let r=t.replace(as.findPipe,(a,s,l)=>{let u=!1,h=s;for(;--h>=0&&l[h]==="\\";)u=!u;return u?"|":" |"}),n=r.split(as.splitPipe),i=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length0?-2:-1}function aQ(t,e,r,n,i){let a=e.href,s=e.title||null,l=t[1].replace(i.other.outputLinkReplace,"$1");n.state.inLink=!0;let u={type:t[0].charAt(0)==="!"?"image":"link",raw:r,href:a,title:s,text:l,tokens:n.inlineTokens(l)};return n.state.inLink=!1,u}function dDe(t,e,r){let n=t.match(r.other.indentCodeCompensation);if(n===null)return e;let i=n[1];return e.split(` `).map(a=>{let s=a.match(r.other.beginningSpace);if(s===null)return a;let[l]=s;return l.length>=i.length?a.slice(i.length):a}).join(` -`)}function Zr(t,e){return Od.parse(t,e)}var Pd,T2,rs,__e,D_e,L_e,w2,R_e,J9,nQ,iQ,N_e,eL,M_e,tL,I_e,O_e,zT,rL,P_e,aQ,B_e,nL,QK,F_e,$_e,z_e,G_e,sQ,V_e,GT,iL,oQ,U_e,lQ,H_e,W_e,q_e,cQ,Y_e,X_e,uQ,j_e,K_e,Q_e,Z_e,J_e,eDe,tDe,BT,rDe,hQ,fQ,nDe,aL,iDe,j9,aDe,OT,x2,sDe,ZK,FT,Lu,$T,sL,Ru,PT,cDe,Od,ISt,OSt,PSt,BSt,FSt,$St,zSt,dQ=N(()=>{"use strict";o(Z9,"M");Pd=Z9();o(rQ,"H");T2={exec:o(()=>null,"exec")};o(rn,"h");rs={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:o(t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),"listItemRegex"),nextBulletRegex:o(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),"nextBulletRegex"),hrRegex:o(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),"hrRegex"),fencesBeginRegex:o(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),"fencesBeginRegex"),headingBeginRegex:o(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),"headingBeginRegex"),htmlBeginRegex:o(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),"htmlBeginRegex")},__e=/^(?:[ \t]*(?:\n|$))+/,D_e=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,L_e=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,w2=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,R_e=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,J9=/(?:[*+-]|\d{1,9}[.)])/,nQ=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,iQ=rn(nQ).replace(/bull/g,J9).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),N_e=rn(nQ).replace(/bull/g,J9).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),eL=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,M_e=/^[^\n]+/,tL=/(?!\s*\])(?:\\.|[^\[\]\\])+/,I_e=rn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",tL).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),O_e=rn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,J9).getRegex(),zT="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",rL=/|$))/,P_e=rn("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",rL).replace("tag",zT).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),aQ=rn(eL).replace("hr",w2).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",zT).getRegex(),B_e=rn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",aQ).getRegex(),nL={blockquote:B_e,code:D_e,def:I_e,fences:L_e,heading:R_e,hr:w2,html:P_e,lheading:iQ,list:O_e,newline:__e,paragraph:aQ,table:T2,text:M_e},QK=rn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",w2).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",zT).getRegex(),F_e={...nL,lheading:N_e,table:QK,paragraph:rn(eL).replace("hr",w2).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",QK).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",zT).getRegex()},$_e={...nL,html:rn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",rL).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:T2,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:rn(eL).replace("hr",w2).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",iQ).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},z_e=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,G_e=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,sQ=/^( {2,}|\\)\n(?!\s*$)/,V_e=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,cQ=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Y_e=rn(cQ,"u").replace(/punct/g,GT).getRegex(),X_e=rn(cQ,"u").replace(/punct/g,lQ).getRegex(),uQ="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",j_e=rn(uQ,"gu").replace(/notPunctSpace/g,oQ).replace(/punctSpace/g,iL).replace(/punct/g,GT).getRegex(),K_e=rn(uQ,"gu").replace(/notPunctSpace/g,W_e).replace(/punctSpace/g,H_e).replace(/punct/g,lQ).getRegex(),Q_e=rn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,oQ).replace(/punctSpace/g,iL).replace(/punct/g,GT).getRegex(),Z_e=rn(/\\(punct)/,"gu").replace(/punct/g,GT).getRegex(),J_e=rn(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),eDe=rn(rL).replace("(?:-->|$)","-->").getRegex(),tDe=rn("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",eDe).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),BT=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,rDe=rn(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",BT).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),hQ=rn(/^!?\[(label)\]\[(ref)\]/).replace("label",BT).replace("ref",tL).getRegex(),fQ=rn(/^!?\[(ref)\](?:\[\])?/).replace("ref",tL).getRegex(),nDe=rn("reflink|nolink(?!\\()","g").replace("reflink",hQ).replace("nolink",fQ).getRegex(),aL={_backpedal:T2,anyPunctuation:Z_e,autolink:J_e,blockSkip:q_e,br:sQ,code:G_e,del:T2,emStrongLDelim:Y_e,emStrongRDelimAst:j_e,emStrongRDelimUnd:Q_e,escape:z_e,link:rDe,nolink:fQ,punctuation:U_e,reflink:hQ,reflinkSearch:nDe,tag:tDe,text:V_e,url:T2},iDe={...aL,link:rn(/^!?\[(label)\]\((.*?)\)/).replace("label",BT).getRegex(),reflink:rn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",BT).getRegex()},j9={...aL,emStrongRDelimAst:K_e,emStrongLDelim:X_e,url:rn(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},ZK=o(t=>sDe[t],"ge");o(yc,"R");o(JK,"J");o(eQ,"V");o(b2,"A");o(oDe,"fe");o(tQ,"de");o(lDe,"Je");FT=class{static{o(this,"S")}options;rules;lexer;constructor(t){this.options=t||Pd}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let r=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?r:b2(r,` -`)}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let r=e[0],n=lDe(r,e[3]||"",this.rules);return{type:"code",raw:r,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let r=e[2].trim();if(this.rules.other.endingHash.test(r)){let n=b2(r,"#");(this.options.pedantic||!n||this.rules.other.endingSpaceChar.test(n))&&(r=n.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:b2(e[0],` -`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let r=b2(e[0],` +`)}function Jr(t,e){return Hd.parse(t,e)}var Wd,k2,as,M_e,I_e,O_e,E2,P_e,s9,oQ,lQ,B_e,o9,F_e,l9,$_e,G_e,WT,c9,z_e,cQ,V_e,u9,tQ,U_e,H_e,W_e,q_e,uQ,Y_e,qT,h9,hQ,X_e,fQ,j_e,K_e,Q_e,dQ,Z_e,J_e,pQ,eDe,tDe,rDe,nDe,iDe,aDe,sDe,VT,oDe,mQ,gQ,lDe,f9,cDe,r9,uDe,GT,T2,hDe,rQ,UT,Ru,HT,d9,Nu,zT,pDe,Hd,RSt,NSt,MSt,ISt,OSt,PSt,BSt,yQ=N(()=>{"use strict";o(a9,"_getDefaults");Wd=a9();o(sQ,"changeDefaults");k2={exec:o(()=>null,"exec")};o(nn,"edit");as={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:o(t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),"listItemRegex"),nextBulletRegex:o(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),"nextBulletRegex"),hrRegex:o(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),"hrRegex"),fencesBeginRegex:o(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),"fencesBeginRegex"),headingBeginRegex:o(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),"headingBeginRegex"),htmlBeginRegex:o(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),"htmlBeginRegex")},M_e=/^(?:[ \t]*(?:\n|$))+/,I_e=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,O_e=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,E2=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,P_e=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,s9=/(?:[*+-]|\d{1,9}[.)])/,oQ=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,lQ=nn(oQ).replace(/bull/g,s9).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),B_e=nn(oQ).replace(/bull/g,s9).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),o9=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,F_e=/^[^\n]+/,l9=/(?!\s*\])(?:\\.|[^\[\]\\])+/,$_e=nn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",l9).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),G_e=nn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,s9).getRegex(),WT="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",c9=/|$))/,z_e=nn("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",c9).replace("tag",WT).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),cQ=nn(o9).replace("hr",E2).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",WT).getRegex(),V_e=nn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",cQ).getRegex(),u9={blockquote:V_e,code:I_e,def:$_e,fences:O_e,heading:P_e,hr:E2,html:z_e,lheading:lQ,list:G_e,newline:M_e,paragraph:cQ,table:k2,text:F_e},tQ=nn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",E2).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",WT).getRegex(),U_e={...u9,lheading:B_e,table:tQ,paragraph:nn(o9).replace("hr",E2).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",tQ).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",WT).getRegex()},H_e={...u9,html:nn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",c9).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:k2,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:nn(o9).replace("hr",E2).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",lQ).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},W_e=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,q_e=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,uQ=/^( {2,}|\\)\n(?!\s*$)/,Y_e=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,dQ=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Z_e=nn(dQ,"u").replace(/punct/g,qT).getRegex(),J_e=nn(dQ,"u").replace(/punct/g,fQ).getRegex(),pQ="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",eDe=nn(pQ,"gu").replace(/notPunctSpace/g,hQ).replace(/punctSpace/g,h9).replace(/punct/g,qT).getRegex(),tDe=nn(pQ,"gu").replace(/notPunctSpace/g,K_e).replace(/punctSpace/g,j_e).replace(/punct/g,fQ).getRegex(),rDe=nn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,hQ).replace(/punctSpace/g,h9).replace(/punct/g,qT).getRegex(),nDe=nn(/\\(punct)/,"gu").replace(/punct/g,qT).getRegex(),iDe=nn(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),aDe=nn(c9).replace("(?:-->|$)","-->").getRegex(),sDe=nn("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",aDe).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),VT=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,oDe=nn(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",VT).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),mQ=nn(/^!?\[(label)\]\[(ref)\]/).replace("label",VT).replace("ref",l9).getRegex(),gQ=nn(/^!?\[(ref)\](?:\[\])?/).replace("ref",l9).getRegex(),lDe=nn("reflink|nolink(?!\\()","g").replace("reflink",mQ).replace("nolink",gQ).getRegex(),f9={_backpedal:k2,anyPunctuation:nDe,autolink:iDe,blockSkip:Q_e,br:uQ,code:q_e,del:k2,emStrongLDelim:Z_e,emStrongRDelimAst:eDe,emStrongRDelimUnd:rDe,escape:W_e,link:oDe,nolink:gQ,punctuation:X_e,reflink:mQ,reflinkSearch:lDe,tag:sDe,text:Y_e,url:k2},cDe={...f9,link:nn(/^!?\[(label)\]\((.*?)\)/).replace("label",VT).getRegex(),reflink:nn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",VT).getRegex()},r9={...f9,emStrongRDelimAst:tDe,emStrongLDelim:J_e,url:nn(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},rQ=o(t=>hDe[t],"getEscapeReplacement");o(xc,"escape2");o(nQ,"cleanUrl");o(iQ,"splitCells");o(w2,"rtrim");o(fDe,"findClosingBracket");o(aQ,"outputLink");o(dDe,"indentCodeCompensation");UT=class{static{o(this,"_Tokenizer")}options;rules;lexer;constructor(t){this.options=t||Wd}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let r=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?r:w2(r,` +`)}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let r=e[0],n=dDe(r,e[3]||"",this.rules);return{type:"code",raw:r,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let r=e[2].trim();if(this.rules.other.endingHash.test(r)){let n=w2(r,"#");(this.options.pedantic||!n||this.rules.other.endingSpaceChar.test(n))&&(r=n.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:w2(e[0],` +`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let r=w2(e[0],` `).split(` `),n="",i="",a=[];for(;r.length>0;){let s=!1,l=[],u;for(u=0;u1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let a=this.rules.other.listItemRegex(r),s=!1;for(;t;){let u=!1,h="",f="";if(!(e=a.exec(t))||this.rules.block.hr.test(t))break;h=e[0],t=t.substring(h.length);let d=e[2].split(` -`,1)[0].replace(this.rules.other.listReplaceTabs,x=>" ".repeat(3*x.length)),p=t.split(` +`,1)[0].replace(this.rules.other.listReplaceTabs,v=>" ".repeat(3*v.length)),p=t.split(` `,1)[0],m=!d.trim(),g=0;if(this.options.pedantic?(g=2,f=d.trimStart()):m?g=e[1].length+1:(g=e[2].search(this.rules.other.nonSpaceChar),g=g>4?1:g,f=d.slice(g),g+=e[1].length),m&&this.rules.other.blankLine.test(p)&&(h+=p+` -`,t=t.substring(p.length+1),u=!0),!u){let x=this.rules.other.nextBulletRegex(g),b=this.rules.other.hrRegex(g),T=this.rules.other.fencesBeginRegex(g),C=this.rules.other.headingBeginRegex(g),w=this.rules.other.htmlBeginRegex(g);for(;t;){let E=t.split(` -`,1)[0],_;if(p=E,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),_=p):_=p.replace(this.rules.other.tabCharGlobal," "),T.test(p)||C.test(p)||w.test(p)||x.test(p)||b.test(p))break;if(_.search(this.rules.other.nonSpaceChar)>=g||!p.trim())f+=` -`+_.slice(g);else{if(m||d.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||T.test(d)||C.test(d)||b.test(d))break;f+=` +`,t=t.substring(p.length+1),u=!0),!u){let v=this.rules.other.nextBulletRegex(g),b=this.rules.other.hrRegex(g),T=this.rules.other.fencesBeginRegex(g),S=this.rules.other.headingBeginRegex(g),w=this.rules.other.htmlBeginRegex(g);for(;t;){let E=t.split(` +`,1)[0],_;if(p=E,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),_=p):_=p.replace(this.rules.other.tabCharGlobal," "),T.test(p)||S.test(p)||w.test(p)||v.test(p)||b.test(p))break;if(_.search(this.rules.other.nonSpaceChar)>=g||!p.trim())f+=` +`+_.slice(g);else{if(m||d.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||T.test(d)||S.test(d)||b.test(d))break;f+=` `+p}!m&&!p.trim()&&(m=!0),h+=E+` -`,t=t.substring(E.length+1),d=_.slice(g)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(h)&&(s=!0));let y=null,v;this.options.gfm&&(y=this.rules.other.listIsTask.exec(f),y&&(v=y[0]!=="[ ] ",f=f.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:h,task:!!y,checked:v,loose:!1,text:f,tokens:[]}),i.raw+=h}let l=i.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let u=0;ud.type==="space"),f=h.length>0&&h.some(d=>this.rules.other.anyLine.test(d.raw));i.loose=f}if(i.loose)for(let u=0;u({text:l,tokens:this.lexer.inline(l),header:!1,align:a.align[u]})));return a}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let r=e[1].charAt(e[1].length-1)===` -`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:r,tokens:this.lexer.inline(r)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let r=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let a=b2(r.slice(0,-1),"\\");if((r.length-a.length)%2===0)return}else{let a=oDe(e[2],"()");if(a===-2)return;if(a>-1){let s=(e[0].indexOf("!")===0?5:4)+e[1].length+a;e[2]=e[2].substring(0,a),e[0]=e[0].substring(0,s).trim(),e[3]=""}}let n=e[2],i="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(n);a&&(n=a[1],i=a[3])}else i=e[3]?e[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?n=n.slice(1):n=n.slice(1,-1)),tQ(e,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let n=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=e[n.toLowerCase()];if(!i){let a=r[0].charAt(0);return{type:"text",raw:a,text:a}}return tQ(r,i,r[0],this.lexer,this.rules)}}emStrong(t,e,r=""){let n=this.rules.inline.emStrongLDelim.exec(t);if(!(!n||n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[2])||!r||this.rules.inline.punctuation.exec(r))){let i=[...n[0]].length-1,a,s,l=i,u=0,h=n[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(h.lastIndex=0,e=e.slice(-1*t.length+i);(n=h.exec(e))!=null;){if(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!a)continue;if(s=[...a].length,n[3]||n[4]){l+=s;continue}else if((n[5]||n[6])&&i%3&&!((i+s)%3)){u+=s;continue}if(l-=s,l>0)continue;s=Math.min(s,s+l+u);let f=[...n[0]][0].length,d=t.slice(0,i+n.index+f+s);if(Math.min(i,s)%2){let m=d.slice(1,-1);return{type:"em",raw:d,text:m,tokens:this.lexer.inlineTokens(m)}}let p=d.slice(2,-2);return{type:"strong",raw:d,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let r=e[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(r),i=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return n&&i&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:e[0],text:r}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let r,n;return e[2]==="@"?(r=e[1],n="mailto:"+r):(r=e[1],n=r),{type:"link",raw:e[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let r,n;if(e[2]==="@")r=e[0],n="mailto:"+r;else{let i;do i=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(i!==e[0]);r=e[0],e[1]==="www."?n="http://"+e[0]:n=e[0]}return{type:"link",raw:e[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let r=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:r}}}},Lu=class K9{static{o(this,"a")}tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Pd,this.options.tokenizer=this.options.tokenizer||new FT,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:rs,block:OT.normal,inline:x2.normal};this.options.pedantic?(r.block=OT.pedantic,r.inline=x2.pedantic):this.options.gfm&&(r.block=OT.gfm,this.options.breaks?r.inline=x2.breaks:r.inline=x2.gfm),this.tokenizer.rules=r}static get rules(){return{block:OT,inline:x2}}static lex(e,r){return new K9(r).lex(e)}static lexInline(e,r){return new K9(r).inlineTokens(e)}lex(e){e=e.replace(rs.carriageReturn,` -`),this.blockTokens(e,this.tokens);for(let r=0;r(i=s.call({lexer:this},e,r))?(e=e.substring(i.raw.length),r.push(i),!0):!1))continue;if(i=this.tokenizer.space(e)){e=e.substring(i.raw.length);let s=r.at(-1);i.raw.length===1&&s!==void 0?s.raw+=` +`,t=t.substring(E.length+1),d=_.slice(g)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(h)&&(s=!0));let y=null,x;this.options.gfm&&(y=this.rules.other.listIsTask.exec(f),y&&(x=y[0]!=="[ ] ",f=f.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:h,task:!!y,checked:x,loose:!1,text:f,tokens:[]}),i.raw+=h}let l=i.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let u=0;ud.type==="space"),f=h.length>0&&h.some(d=>this.rules.other.anyLine.test(d.raw));i.loose=f}if(i.loose)for(let u=0;u({text:l,tokens:this.lexer.inline(l),header:!1,align:a.align[u]})));return a}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let r=e[1].charAt(e[1].length-1)===` +`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:r,tokens:this.lexer.inline(r)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let r=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let a=w2(r.slice(0,-1),"\\");if((r.length-a.length)%2===0)return}else{let a=fDe(e[2],"()");if(a===-2)return;if(a>-1){let l=(e[0].indexOf("!")===0?5:4)+e[1].length+a;e[2]=e[2].substring(0,a),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let n=e[2],i="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(n);a&&(n=a[1],i=a[3])}else i=e[3]?e[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?n=n.slice(1):n=n.slice(1,-1)),aQ(e,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let n=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=e[n.toLowerCase()];if(!i){let a=r[0].charAt(0);return{type:"text",raw:a,text:a}}return aQ(r,i,r[0],this.lexer,this.rules)}}emStrong(t,e,r=""){let n=this.rules.inline.emStrongLDelim.exec(t);if(!n||n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))return;if(!(n[1]||n[2]||"")||!r||this.rules.inline.punctuation.exec(r)){let a=[...n[0]].length-1,s,l,u=a,h=0,f=n[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(f.lastIndex=0,e=e.slice(-1*t.length+a);(n=f.exec(e))!=null;){if(s=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!s)continue;if(l=[...s].length,n[3]||n[4]){u+=l;continue}else if((n[5]||n[6])&&a%3&&!((a+l)%3)){h+=l;continue}if(u-=l,u>0)continue;l=Math.min(l,l+u+h);let d=[...n[0]][0].length,p=t.slice(0,a+n.index+d+l);if(Math.min(a,l)%2){let g=p.slice(1,-1);return{type:"em",raw:p,text:g,tokens:this.lexer.inlineTokens(g)}}let m=p.slice(2,-2);return{type:"strong",raw:p,text:m,tokens:this.lexer.inlineTokens(m)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let r=e[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(r),i=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return n&&i&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:e[0],text:r}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let r,n;return e[2]==="@"?(r=e[1],n="mailto:"+r):(r=e[1],n=r),{type:"link",raw:e[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let r,n;if(e[2]==="@")r=e[0],n="mailto:"+r;else{let i;do i=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(i!==e[0]);r=e[0],e[1]==="www."?n="http://"+e[0]:n=e[0]}return{type:"link",raw:e[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let r=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:r}}}},Ru=class n9{static{o(this,"__Lexer")}tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Wd,this.options.tokenizer=this.options.tokenizer||new UT,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:as,block:GT.normal,inline:T2.normal};this.options.pedantic?(r.block=GT.pedantic,r.inline=T2.pedantic):this.options.gfm&&(r.block=GT.gfm,this.options.breaks?r.inline=T2.breaks:r.inline=T2.gfm),this.tokenizer.rules=r}static get rules(){return{block:GT,inline:T2}}static lex(e,r){return new n9(r).lex(e)}static lexInline(e,r){return new n9(r).inlineTokens(e)}lex(e){e=e.replace(as.carriageReturn,` +`),this.blockTokens(e,this.tokens);for(let r=0;r(i=s.call({lexer:this},e,r))?(e=e.substring(i.raw.length),r.push(i),!0):!1))continue;if(i=this.tokenizer.space(e)){e=e.substring(i.raw.length);let s=r.at(-1);i.raw.length===1&&s!==void 0?s.raw+=` `:r.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=` `+i.raw,s.text+=` `+i.text,this.inlineQueue.at(-1).src=s.text):r.push(i);continue}if(i=this.tokenizer.fences(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.heading(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.hr(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.blockquote(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.list(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.html(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=` @@ -418,16 +418,16 @@ ${f}`:f;let d=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTo `+i.raw,s.text+=` `+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(i),n=a.length!==e.length,e=e.substring(i.raw.length);continue}if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length);let s=r.at(-1);s?.type==="text"?(s.raw+=` `+i.raw,s.text+=` -`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(i);continue}if(e){let s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,r}inline(e,r=[]){return this.inlineQueue.push({src:e,tokens:r}),r}inlineTokens(e,r=[]){let n=e,i=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)l.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(i=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let a=!1,s="";for(;e;){a||(s=""),a=!1;let l;if(this.options.extensions?.inline?.some(h=>(l=h.call({lexer:this},e,r))?(e=e.substring(l.raw.length),r.push(l),!0):!1))continue;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);let h=r.at(-1);l.type==="text"&&h?.type==="text"?(h.raw+=l.raw,h.text+=l.text):r.push(l);continue}if(l=this.tokenizer.emStrong(e,n,s)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),r.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),r.push(l);continue}let u=e;if(this.options.extensions?.startInline){let h=1/0,f=e.slice(1),d;this.options.extensions.startInline.forEach(p=>{d=p.call({lexer:this},f),typeof d=="number"&&d>=0&&(h=Math.min(h,d))}),h<1/0&&h>=0&&(u=e.substring(0,h+1))}if(l=this.tokenizer.inlineText(u)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(s=l.raw.slice(-1)),a=!0;let h=r.at(-1);h?.type==="text"?(h.raw+=l.raw,h.text+=l.text):r.push(l);continue}if(e){let h="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(h);break}else throw new Error(h)}}return r}},$T=class{static{o(this,"$")}options;parser;constructor(t){this.options=t||Pd}space(t){return""}code({text:t,lang:e,escaped:r}){let n=(e||"").match(rs.notSpaceStart)?.[0],i=t.replace(rs.endingNewline,"")+` -`;return n?'
'+(r?i:yc(i,!0))+`
-`:"
"+(r?i:yc(i,!0))+`
+`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(i);continue}if(e){let s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,r}inline(e,r=[]){return this.inlineQueue.push({src:e,tokens:r}),r}inlineTokens(e,r=[]){let n=e,i=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)l.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(i=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let a=!1,s="";for(;e;){a||(s=""),a=!1;let l;if(this.options.extensions?.inline?.some(h=>(l=h.call({lexer:this},e,r))?(e=e.substring(l.raw.length),r.push(l),!0):!1))continue;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);let h=r.at(-1);l.type==="text"&&h?.type==="text"?(h.raw+=l.raw,h.text+=l.text):r.push(l);continue}if(l=this.tokenizer.emStrong(e,n,s)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),r.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),r.push(l);continue}let u=e;if(this.options.extensions?.startInline){let h=1/0,f=e.slice(1),d;this.options.extensions.startInline.forEach(p=>{d=p.call({lexer:this},f),typeof d=="number"&&d>=0&&(h=Math.min(h,d))}),h<1/0&&h>=0&&(u=e.substring(0,h+1))}if(l=this.tokenizer.inlineText(u)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(s=l.raw.slice(-1)),a=!0;let h=r.at(-1);h?.type==="text"?(h.raw+=l.raw,h.text+=l.text):r.push(l);continue}if(e){let h="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(h);break}else throw new Error(h)}}return r}},HT=class{static{o(this,"_Renderer")}options;parser;constructor(t){this.options=t||Wd}space(t){return""}code({text:t,lang:e,escaped:r}){let n=(e||"").match(as.notSpaceStart)?.[0],i=t.replace(as.endingNewline,"")+` +`;return n?'
'+(r?i:xc(i,!0))+`
+`:"
"+(r?i:xc(i,!0))+`
`}blockquote({tokens:t}){return`
${this.parser.parse(t)}
`}html({text:t}){return t}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)} `}hr(t){return`
`}list(t){let e=t.ordered,r=t.start,n="";for(let s=0;s `+n+" -`}listitem(t){let e="";if(t.task){let r=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=r+" "+yc(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):e+=r+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`
  • ${e}
  • +`}listitem(t){let e="";if(t.task){let r=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=r+" "+xc(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):e+=r+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`
  • ${e}
  • `}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    `}table(t){let e="",r="";for(let i=0;i${n}`),` @@ -436,51 +436,297 @@ ${this.parser.parse(t)} `}tablerow({text:t}){return` ${t} `}tablecell(t){let e=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+` -`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${yc(t,!0)}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:r}){let n=this.parser.parseInline(r),i=JK(t);if(i===null)return n;t=i;let a='",a}image({href:t,title:e,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let i=JK(t);if(i===null)return yc(r);t=i;let a=`${r}{let s=i[a].flat(1/0);r=r.concat(this.walkTokens(s,e))}):i.tokens&&(r=r.concat(this.walkTokens(i.tokens,e)))}}return r}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{let n={...r};if(n.async=this.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){let a=e.renderers[i.name];a?e.renderers[i.name]=function(...s){let l=i.renderer.apply(this,s);return l===!1&&(l=a.apply(this,s)),l}:e.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let a=e[i.level];a?a.unshift(i.tokenizer):e[i.level]=[i.tokenizer],i.start&&(i.level==="block"?e.startBlock?e.startBlock.push(i.start):e.startBlock=[i.start]:i.level==="inline"&&(e.startInline?e.startInline.push(i.start):e.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(e.childTokens[i.name]=i.childTokens)}),n.extensions=e),r.renderer){let i=this.defaults.renderer||new $T(this.defaults);for(let a in r.renderer){if(!(a in i))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;let s=a,l=r.renderer[s],u=i[s];i[s]=(...h)=>{let f=l.apply(i,h);return f===!1&&(f=u.apply(i,h)),f||""}}n.renderer=i}if(r.tokenizer){let i=this.defaults.tokenizer||new FT(this.defaults);for(let a in r.tokenizer){if(!(a in i))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;let s=a,l=r.tokenizer[s],u=i[s];i[s]=(...h)=>{let f=l.apply(i,h);return f===!1&&(f=u.apply(i,h)),f}}n.tokenizer=i}if(r.hooks){let i=this.defaults.hooks||new PT;for(let a in r.hooks){if(!(a in i))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;let s=a,l=r.hooks[s],u=i[s];PT.passThroughHooks.has(a)?i[s]=h=>{if(this.defaults.async)return Promise.resolve(l.call(i,h)).then(d=>u.call(i,d));let f=l.call(i,h);return u.call(i,f)}:i[s]=(...h)=>{let f=l.apply(i,h);return f===!1&&(f=u.apply(i,h)),f}}n.hooks=i}if(r.walkTokens){let i=this.defaults.walkTokens,a=r.walkTokens;n.walkTokens=function(s){let l=[];return l.push(a.call(this,s)),i&&(l=l.concat(i.call(this,s))),l}}this.defaults={...this.defaults,...n}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return Lu.lex(t,e??this.defaults)}parser(t,e){return Ru.parse(t,e??this.defaults)}parseMarkdown(t){return(e,r)=>{let n={...r},i={...this.defaults,...n},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&n.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=t);let s=i.hooks?i.hooks.provideLexer():t?Lu.lex:Lu.lexInline,l=i.hooks?i.hooks.provideParser():t?Ru.parse:Ru.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(e):e).then(u=>s(u,i)).then(u=>i.hooks?i.hooks.processAllTokens(u):u).then(u=>i.walkTokens?Promise.all(this.walkTokens(u,i.walkTokens)).then(()=>u):u).then(u=>l(u,i)).then(u=>i.hooks?i.hooks.postprocess(u):u).catch(a);try{i.hooks&&(e=i.hooks.preprocess(e));let u=s(e,i);i.hooks&&(u=i.hooks.processAllTokens(u)),i.walkTokens&&this.walkTokens(u,i.walkTokens);let h=l(u,i);return i.hooks&&(h=i.hooks.postprocess(h)),h}catch(u){return a(u)}}}onError(t,e){return r=>{if(r.message+=` -Please report this to https://github.com/markedjs/marked.`,t){let n="

    An error occurred:

    "+yc(r.message+"",!0)+"
    ";return e?Promise.resolve(n):n}if(e)return Promise.reject(r);throw r}}},Od=new cDe;o(Zr,"k");Zr.options=Zr.setOptions=function(t){return Od.setOptions(t),Zr.defaults=Od.defaults,rQ(Zr.defaults),Zr};Zr.getDefaults=Z9;Zr.defaults=Pd;Zr.use=function(...t){return Od.use(...t),Zr.defaults=Od.defaults,rQ(Zr.defaults),Zr};Zr.walkTokens=function(t,e){return Od.walkTokens(t,e)};Zr.parseInline=Od.parseInline;Zr.Parser=Ru;Zr.parser=Ru.parse;Zr.Renderer=$T;Zr.TextRenderer=sL;Zr.Lexer=Lu;Zr.lexer=Lu.lex;Zr.Tokenizer=FT;Zr.Hooks=PT;Zr.parse=Zr;ISt=Zr.options,OSt=Zr.setOptions,PSt=Zr.use,BSt=Zr.walkTokens,FSt=Zr.parseInline,$St=Ru.parse,zSt=Lu.lex});function uDe(t,{markdownAutoWrap:e}){let n=t.replace(//g,` +`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${xc(t,!0)}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:r}){let n=this.parser.parseInline(r),i=nQ(t);if(i===null)return n;t=i;let a='
    ",a}image({href:t,title:e,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let i=nQ(t);if(i===null)return xc(r);t=i;let a=`${r}{let s=i[a].flat(1/0);r=r.concat(this.walkTokens(s,e))}):i.tokens&&(r=r.concat(this.walkTokens(i.tokens,e)))}}return r}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{let n={...r};if(n.async=this.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){let a=e.renderers[i.name];a?e.renderers[i.name]=function(...s){let l=i.renderer.apply(this,s);return l===!1&&(l=a.apply(this,s)),l}:e.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let a=e[i.level];a?a.unshift(i.tokenizer):e[i.level]=[i.tokenizer],i.start&&(i.level==="block"?e.startBlock?e.startBlock.push(i.start):e.startBlock=[i.start]:i.level==="inline"&&(e.startInline?e.startInline.push(i.start):e.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(e.childTokens[i.name]=i.childTokens)}),n.extensions=e),r.renderer){let i=this.defaults.renderer||new HT(this.defaults);for(let a in r.renderer){if(!(a in i))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;let s=a,l=r.renderer[s],u=i[s];i[s]=(...h)=>{let f=l.apply(i,h);return f===!1&&(f=u.apply(i,h)),f||""}}n.renderer=i}if(r.tokenizer){let i=this.defaults.tokenizer||new UT(this.defaults);for(let a in r.tokenizer){if(!(a in i))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;let s=a,l=r.tokenizer[s],u=i[s];i[s]=(...h)=>{let f=l.apply(i,h);return f===!1&&(f=u.apply(i,h)),f}}n.tokenizer=i}if(r.hooks){let i=this.defaults.hooks||new zT;for(let a in r.hooks){if(!(a in i))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;let s=a,l=r.hooks[s],u=i[s];zT.passThroughHooks.has(a)?i[s]=h=>{if(this.defaults.async)return Promise.resolve(l.call(i,h)).then(d=>u.call(i,d));let f=l.call(i,h);return u.call(i,f)}:i[s]=(...h)=>{let f=l.apply(i,h);return f===!1&&(f=u.apply(i,h)),f}}n.hooks=i}if(r.walkTokens){let i=this.defaults.walkTokens,a=r.walkTokens;n.walkTokens=function(s){let l=[];return l.push(a.call(this,s)),i&&(l=l.concat(i.call(this,s))),l}}this.defaults={...this.defaults,...n}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return Ru.lex(t,e??this.defaults)}parser(t,e){return Nu.parse(t,e??this.defaults)}parseMarkdown(t){return o((r,n)=>{let i={...n},a={...this.defaults,...i},s=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&i.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof r>"u"||r===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));a.hooks&&(a.hooks.options=a,a.hooks.block=t);let l=a.hooks?a.hooks.provideLexer():t?Ru.lex:Ru.lexInline,u=a.hooks?a.hooks.provideParser():t?Nu.parse:Nu.parseInline;if(a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(r):r).then(h=>l(h,a)).then(h=>a.hooks?a.hooks.processAllTokens(h):h).then(h=>a.walkTokens?Promise.all(this.walkTokens(h,a.walkTokens)).then(()=>h):h).then(h=>u(h,a)).then(h=>a.hooks?a.hooks.postprocess(h):h).catch(s);try{a.hooks&&(r=a.hooks.preprocess(r));let h=l(r,a);a.hooks&&(h=a.hooks.processAllTokens(h)),a.walkTokens&&this.walkTokens(h,a.walkTokens);let f=u(h,a);return a.hooks&&(f=a.hooks.postprocess(f)),f}catch(h){return s(h)}},"parse2")}onError(t,e){return r=>{if(r.message+=` +Please report this to https://github.com/markedjs/marked.`,t){let n="

    An error occurred:

    "+xc(r.message+"",!0)+"
    ";return e?Promise.resolve(n):n}if(e)return Promise.reject(r);throw r}}},Hd=new pDe;o(Jr,"marked");Jr.options=Jr.setOptions=function(t){return Hd.setOptions(t),Jr.defaults=Hd.defaults,sQ(Jr.defaults),Jr};Jr.getDefaults=a9;Jr.defaults=Wd;Jr.use=function(...t){return Hd.use(...t),Jr.defaults=Hd.defaults,sQ(Jr.defaults),Jr};Jr.walkTokens=function(t,e){return Hd.walkTokens(t,e)};Jr.parseInline=Hd.parseInline;Jr.Parser=Nu;Jr.parser=Nu.parse;Jr.Renderer=HT;Jr.TextRenderer=d9;Jr.Lexer=Ru;Jr.lexer=Ru.lex;Jr.Tokenizer=UT;Jr.Hooks=zT;Jr.parse=Jr;RSt=Jr.options,NSt=Jr.setOptions,MSt=Jr.use,ISt=Jr.walkTokens,OSt=Jr.parseInline,PSt=Nu.parse,BSt=Ru.lex});function mDe(t,{markdownAutoWrap:e}){let n=t.replace(//g,` `).replace(/\n{2,}/g,` -`),i=N3(n);return e===!1?i.replace(/ /g," "):i}function pQ(t,e={}){let r=uDe(t,e),n=Zr.lexer(r),i=[[]],a=0;function s(l,u="normal"){l.type==="text"?l.text.split(` -`).forEach((f,d)=>{d!==0&&(a++,i.push([])),f.split(" ").forEach(p=>{p=p.replace(/'/g,"'"),p&&i[a].push({content:p,type:u})})}):l.type==="strong"||l.type==="em"?l.tokens.forEach(h=>{s(h,l.type)}):l.type==="html"&&i[a].push({content:l.text,type:"normal"})}return o(s,"processNode"),n.forEach(l=>{l.type==="paragraph"?l.tokens?.forEach(u=>{s(u)}):l.type==="html"?i[a].push({content:l.text,type:"normal"}):i[a].push({content:l.raw,type:"normal"})}),i}function mQ(t,{markdownAutoWrap:e}={}){let r=Zr.lexer(t);function n(i){return i.type==="text"?e===!1?i.text.replace(/\n */g,"
    ").replace(/ /g," "):i.text.replace(/\n */g,"
    "):i.type==="strong"?`${i.tokens?.map(n).join("")}`:i.type==="em"?`${i.tokens?.map(n).join("")}`:i.type==="paragraph"?`

    ${i.tokens?.map(n).join("")}

    `:i.type==="space"?"":i.type==="html"?`${i.text}`:i.type==="escape"?i.text:(X.warn(`Unsupported markdown: ${i.type}`),i.raw)}return o(n,"output"),r.map(n).join("")}var gQ=N(()=>{"use strict";dQ();pA();yt();o(uDe,"preprocessMarkdown");o(pQ,"markdownToLines");o(mQ,"markdownToHTML")});function hDe(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(e=>e.segment):[...t]}function fDe(t,e){let r=hDe(e.content);return yQ(t,[],r,e.type)}function yQ(t,e,r,n){if(r.length===0)return[{content:e.join(""),type:n},{content:"",type:n}];let[i,...a]=r,s=[...e,i];return t([{content:s.join(""),type:n}])?yQ(t,s,a,n):(e.length===0&&i&&(e.push(i),r.shift()),[{content:e.join(""),type:n},{content:r.join(""),type:n}])}function vQ(t,e){if(t.some(({content:r})=>r.includes(` -`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return oL(t,e)}function oL(t,e,r=[],n=[]){if(t.length===0)return n.length>0&&r.push(n),r.length>0?r:[];let i="";t[0].content===" "&&(i=" ",t.shift());let a=t.shift()??{content:" ",type:"normal"},s=[...n];if(i!==""&&s.push({content:i,type:"normal"}),s.push(a),e(s))return oL(t,e,r,s);if(n.length>0)r.push(n),t.unshift(a);else if(a.content){let[l,u]=fDe(e,a);r.push([l]),u.content&&t.unshift(u)}return oL(t,e,r)}var xQ=N(()=>{"use strict";o(hDe,"splitTextToChars");o(fDe,"splitWordToFitWidth");o(yQ,"splitWordToFitWidthRecursion");o(vQ,"splitLineToFitWidth");o(oL,"splitLineToFitWidthRecursion")});function bQ(t,e){e&&t.attr("style",e)}async function dDe(t,e,r,n,i=!1,a=Qt()){let s=t.append("foreignObject");s.attr("width",`${10*r}px`),s.attr("height",`${10*r}px`);let l=s.append("xhtml:div"),u=gi(e.label)?await yh(e.label.replace(Ze.lineBreakRegex,` -`),a):ar(e.label,a),h=e.isNode?"nodeLabel":"edgeLabel",f=l.append("span");f.html(u),bQ(f,e.labelStyle),f.attr("class",`${h} ${n}`),bQ(l,e.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("line-height","1.5"),l.style("max-width",r+"px"),l.style("text-align","center"),l.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&l.attr("class","labelBkg");let d=l.node().getBoundingClientRect();return d.width===r&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",r+"px"),d=l.node().getBoundingClientRect()),s.node()}function lL(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}function pDe(t,e,r){let n=t.append("text"),i=lL(n,1,e);cL(i,r);let a=i.node().getComputedTextLength();return n.remove(),a}function TQ(t,e,r){let n=t.append("text"),i=lL(n,1,e);cL(i,[{content:r,type:"normal"}]);let a=i.node()?.getBoundingClientRect();return a&&n.remove(),a}function mDe(t,e,r,n=!1){let a=e.append("g"),s=a.insert("rect").attr("class","background").attr("style","stroke: none"),l=a.append("text").attr("y","-10.1"),u=0;for(let h of r){let f=o(p=>pDe(a,1.1,p)<=t,"checkWidth"),d=f(h)?[h]:vQ(h,f);for(let p of d){let m=lL(l,u,1.1);cL(m,p),u++}}if(n){let h=l.node().getBBox(),f=2;return s.attr("x",h.x-f).attr("y",h.y-f).attr("width",h.width+2*f).attr("height",h.height+2*f),a.node()}else return l.node()}function cL(t,e){t.text(""),e.forEach((r,n)=>{let i=t.append("tspan").attr("font-style",r.type==="em"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",r.type==="strong"?"bold":"normal");n===0?i.text(r.content):i.text(" "+r.content)})}async function uL(t,e={}){let r=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(i,a,s)=>(r.push((async()=>{let l=`${a}:${s}`;return await AV(l)?await Es(l,void 0,{class:"label-icon"}):``})()),i));let n=await Promise.all(r);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>n.shift()??"")}var Hn,no=N(()=>{"use strict";pr();dr();yt();gQ();nr();rc();xQ();Jn();o(bQ,"applyStyle");o(dDe,"addHtmlSpan");o(lL,"createTspan");o(pDe,"computeWidthOfText");o(TQ,"computeDimensionOfText");o(mDe,"createFormattedText");o(cL,"updateTextContentAndStyles");o(uL,"replaceIconSubstring");Hn=o(async(t,e="",{style:r="",isTitle:n=!1,classes:i="",useHtmlLabels:a=!0,isNode:s=!0,width:l=200,addSvgBackground:u=!1}={},h)=>{if(X.debug("XYZ createText",e,r,n,i,a,s,"addSvgBackground: ",u),a){let f=mQ(e,h),d=await uL(ta(f),h),p=e.replace(/\\\\/g,"\\"),m={isNode:s,label:gi(e)?p:d,labelStyle:r.replace("fill:","color:")};return await dDe(t,m,l,i,u,h)}else{let f=e.replace(//g,"
    "),d=pQ(f.replace("
    ","
    "),h),p=mDe(l,t,d,e?u:!1);if(s){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));let m=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");Ge(p).attr("style",m)}else{let m=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");Ge(p).select("rect").attr("style",m.replace(/background:/g,"fill:"));let g=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");Ge(p).select("text").attr("style",g)}return p}},"createText")});function zt(t){let e=t.map((r,n)=>`${n===0?"M":"L"}${r.x},${r.y}`);return e.push("Z"),e.join(" ")}function $o(t,e,r,n,i,a){let s=[],u=r-t,h=n-e,f=u/a,d=2*Math.PI/f,p=e+h/2;for(let m=0;m<=50;m++){let g=m/50,y=t+g*u,v=p+i*Math.sin(d*(y-t));s.push({x:y,y:v})}return s}function Bd(t,e,r,n,i,a){let s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let d=0;d{"use strict";no();qt();pr();Ca();dr();nr();pt=o(async(t,e,r)=>{let n,i=e.useHtmlLabels||mr(ge()?.htmlLabels);r?n=r:n="node default";let a=t.insert("g").attr("class",n).attr("id",e.domId||e.id),s=a.insert("g").attr("class","label").attr("style",ii(e.labelStyle)),l;e.label===void 0?l="":l=typeof e.label=="string"?e.label:e.label[0];let u=await Hn(s,ar(ta(l),ge()),{useHtmlLabels:i,width:e.width||ge().flowchart?.wrappingWidth,cssClasses:"markdown-node-label",style:e.labelStyle,addSvgBackground:!!e.icon||!!e.img}),h=u.getBBox(),f=(e?.padding??0)/2;if(i){let d=u.children[0],p=Ge(u),m=d.getElementsByTagName("img");if(m){let g=l.replace(/]*>/g,"").trim()==="";await Promise.all([...m].map(y=>new Promise(v=>{function x(){if(y.style.display="flex",y.style.flexDirection="column",g){let b=ge().fontSize?ge().fontSize:window.getComputedStyle(document.body).fontSize,T=5,[C=lr.fontSize]=Fo(b),w=C*T+"px";y.style.minWidth=w,y.style.maxWidth=w}else y.style.width="100%";v(y)}o(x,"setupImage"),setTimeout(()=>{y.complete&&x()}),y.addEventListener("error",x),y.addEventListener("load",x)})))}h=d.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}return i?s.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"):s.attr("transform","translate(0, "+-h.height/2+")"),e.centerLabel&&s.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),s.insert("rect",":first-child"),{shapeSvg:a,bbox:h,halfPadding:f,label:s}},"labelHelper"),VT=o(async(t,e,r)=>{let n=r.useHtmlLabels||mr(ge()?.flowchart?.htmlLabels),i=t.insert("g").attr("class","label").attr("style",r.labelStyle||""),a=await Hn(i,ar(ta(e),ge()),{useHtmlLabels:n,width:r.width||ge()?.flowchart?.wrappingWidth,style:r.labelStyle,addSvgBackground:!!r.icon||!!r.img}),s=a.getBBox(),l=r.padding/2;if(mr(ge()?.flowchart?.htmlLabels)){let u=a.children[0],h=Ge(a);s=u.getBoundingClientRect(),h.attr("width",s.width),h.attr("height",s.height)}return n?i.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"):i.attr("transform","translate(0, "+-s.height/2+")"),r.centerLabel&&i.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),i.insert("rect",":first-child"),{shapeSvg:t,bbox:s,halfPadding:l,label:i}},"insertLabel"),Ke=o((t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds"),ot=o((t,e)=>(t.look==="handDrawn"?"rough-node":"node")+" "+t.cssClasses+" "+(e||""),"getNodeClasses");o(zt,"createPathFromPoints");o($o,"generateFullSineWavePoints");o(Bd,"generateCirclePoints")});function gDe(t,e){return t.intersect(e)}var wQ,kQ=N(()=>{"use strict";o(gDe,"intersectNode");wQ=gDe});function yDe(t,e,r,n){var i=t.x,a=t.y,s=i-n.x,l=a-n.y,u=Math.sqrt(e*e*l*l+r*r*s*s),h=Math.abs(e*r*s/u);n.x{"use strict";o(yDe,"intersectEllipse");UT=yDe});function vDe(t,e,r){return UT(t,e,e,r)}var EQ,SQ=N(()=>{"use strict";hL();o(vDe,"intersectCircle");EQ=vDe});function xDe(t,e,r,n){var i,a,s,l,u,h,f,d,p,m,g,y,v,x,b;if(i=e.y-t.y,s=t.x-e.x,u=e.x*t.y-t.x*e.y,p=i*r.x+s*r.y+u,m=i*n.x+s*n.y+u,!(p!==0&&m!==0&&CQ(p,m))&&(a=n.y-r.y,l=r.x-n.x,h=n.x*r.y-r.x*n.y,f=a*t.x+l*t.y+h,d=a*e.x+l*e.y+h,!(f!==0&&d!==0&&CQ(f,d))&&(g=i*l-a*s,g!==0)))return y=Math.abs(g/2),v=s*h-l*u,x=v<0?(v-y)/g:(v+y)/g,v=a*u-i*h,b=v<0?(v-y)/g:(v+y)/g,{x,y:b}}function CQ(t,e){return t*e>0}var AQ,_Q=N(()=>{"use strict";o(xDe,"intersectLine");o(CQ,"sameSign");AQ=xDe});function bDe(t,e,r){let n=t.x,i=t.y,a=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;typeof e.forEach=="function"?e.forEach(function(f){s=Math.min(s,f.x),l=Math.min(l,f.y)}):(s=Math.min(s,e.x),l=Math.min(l,e.y));let u=n-t.width/2-s,h=i-t.height/2-l;for(let f=0;f1&&a.sort(function(f,d){let p=f.x-r.x,m=f.y-r.y,g=Math.sqrt(p*p+m*m),y=d.x-r.x,v=d.y-r.y,x=Math.sqrt(y*y+v*v);return g{"use strict";_Q();o(bDe,"intersectPolygon");DQ=bDe});var TDe,Hh,fL=N(()=>{"use strict";TDe=o((t,e)=>{var r=t.x,n=t.y,i=e.x-r,a=e.y-n,s=t.width/2,l=t.height/2,u,h;return Math.abs(a)*s>Math.abs(i)*l?(a<0&&(l=-l),u=a===0?0:l*i/a,h=l):(i<0&&(s=-s),u=s,h=i===0?0:s*a/i),{x:r+u,y:n+h}},"intersectRect"),Hh=TDe});var Xe,Ht=N(()=>{"use strict";kQ();SQ();hL();LQ();fL();Xe={node:wQ,circle:EQ,ellipse:UT,polygon:DQ,rect:Hh}});var RQ,vc,wDe,k2,qe,Qe,kDe,Gt=N(()=>{"use strict";qt();RQ=o(t=>{let{handDrawnSeed:e}=ge();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),vc=o(t=>{let e=wDe([...t.cssCompiledStyles||[],...t.cssStyles||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),wDe=o(t=>{let e=new Map;return t.forEach(r=>{let[n,i]=r.split(":");e.set(n.trim(),i?.trim())}),e},"styles2Map"),k2=o(t=>t==="color"||t==="font-size"||t==="font-family"||t==="font-weight"||t==="font-style"||t==="text-decoration"||t==="text-align"||t==="text-transform"||t==="line-height"||t==="letter-spacing"||t==="word-spacing"||t==="text-shadow"||t==="text-overflow"||t==="white-space"||t==="word-wrap"||t==="word-break"||t==="overflow-wrap"||t==="hyphens","isLabelStyle"),qe=o(t=>{let{stylesArray:e}=vc(t),r=[],n=[],i=[],a=[];return e.forEach(s=>{let l=s[0];k2(l)?r.push(s.join(":")+" !important"):(n.push(s.join(":")+" !important"),l.includes("stroke")&&i.push(s.join(":")+" !important"),l==="fill"&&a.push(s.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:n.join(";"),stylesArray:e,borderStyles:i,backgroundStyles:a}},"styles2String"),Qe=o((t,e)=>{let{themeVariables:r,handDrawnSeed:n}=ge(),{nodeBorder:i,mainBkg:a}=r,{stylesMap:s}=vc(t);return Object.assign({roughness:.7,fill:s.get("fill")||a,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:s.get("stroke")||i,seed:n,strokeWidth:s.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:kDe(s.get("stroke-dasharray"))},e)},"userNodeOverrides"),kDe=o(t=>{if(!t)return[0,0];let e=t.trim().split(/\s+/).map(Number);if(e.length===1){let i=isNaN(e[0])?0:e[0];return[i,i]}let r=isNaN(e[0])?0:e[0],n=isNaN(e[1])?0:e[1];return[r,n]},"getStrokeDashArray")});function dL(t,e,r){if(t&&t.length){let[n,i]=e,a=Math.PI/180*r,s=Math.cos(a),l=Math.sin(a);for(let u of t){let[h,f]=u;u[0]=(h-n)*s-(f-i)*l+n,u[1]=(h-n)*l+(f-i)*s+i}}}function EDe(t,e){return t[0]===e[0]&&t[1]===e[1]}function SDe(t,e,r,n=1){let i=r,a=Math.max(e,.1),s=t[0]&&t[0][0]&&typeof t[0][0]=="number"?[t]:t,l=[0,0];if(i)for(let h of s)dL(h,l,i);let u=function(h,f,d){let p=[];for(let b of h){let T=[...b];EDe(T[0],T[T.length-1])||T.push([T[0][0],T[0][1]]),T.length>2&&p.push(T)}let m=[];f=Math.max(f,.1);let g=[];for(let b of p)for(let T=0;Tb.yminT.ymin?1:b.xT.x?1:b.ymax===T.ymax?0:(b.ymax-T.ymax)/Math.abs(b.ymax-T.ymax)),!g.length)return m;let y=[],v=g[0].ymin,x=0;for(;y.length||g.length;){if(g.length){let b=-1;for(let T=0;Tv);T++)b=T;g.splice(0,b+1).forEach(T=>{y.push({s:v,edge:T})})}if(y=y.filter(b=>!(b.edge.ymax<=v)),y.sort((b,T)=>b.edge.x===T.edge.x?0:(b.edge.x-T.edge.x)/Math.abs(b.edge.x-T.edge.x)),(d!==1||x%f==0)&&y.length>1)for(let b=0;b=y.length)break;let C=y[b].edge,w=y[T].edge;m.push([[Math.round(C.x),v],[Math.round(w.x),v]])}v+=d,y.forEach(b=>{b.edge.x=b.edge.x+d*b.edge.islope}),x++}return m}(s,a,n);if(i){for(let h of s)dL(h,l,-i);(function(h,f,d){let p=[];h.forEach(m=>p.push(...m)),dL(p,f,d)})(u,l,-i)}return u}function A2(t,e){var r;let n=e.hachureAngle+90,i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.round(Math.max(i,.1));let a=1;return e.roughness>=1&&(((r=e.randomizer)===null||r===void 0?void 0:r.next())||Math.random())>.7&&(a=i),SDe(t,i,n,a||1)}function ZT(t){let e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}function mL(t,e){return t.type===e}function DL(t){let e=[],r=function(s){let l=new Array;for(;s!=="";)if(s.match(/^([ \t\r\n,]+)/))s=s.substr(RegExp.$1.length);else if(s.match(/^([aAcChHlLmMqQsStTvVzZ])/))l[l.length]={type:CDe,text:RegExp.$1},s=s.substr(RegExp.$1.length);else{if(!s.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];l[l.length]={type:pL,text:`${parseFloat(RegExp.$1)}`},s=s.substr(RegExp.$1.length)}return l[l.length]={type:NQ,text:""},l}(t),n="BOD",i=0,a=r[i];for(;!mL(a,NQ);){let s=0,l=[];if(n==="BOD"){if(a.text!=="M"&&a.text!=="m")return DL("M0,0"+t);i++,s=HT[a.text],n=a.text}else mL(a,pL)?s=HT[n]:(i++,s=HT[a.text],n=a.text);if(!(i+sf%2?h+r:h+e);a.push({key:"C",data:u}),e=u[4],r=u[5];break}case"Q":a.push({key:"Q",data:[...l]}),e=l[2],r=l[3];break;case"q":{let u=l.map((h,f)=>f%2?h+r:h+e);a.push({key:"Q",data:u}),e=u[2],r=u[3];break}case"A":a.push({key:"A",data:[...l]}),e=l[5],r=l[6];break;case"a":e+=l[5],r+=l[6],a.push({key:"A",data:[l[0],l[1],l[2],l[3],l[4],e,r]});break;case"H":a.push({key:"H",data:[...l]}),e=l[0];break;case"h":e+=l[0],a.push({key:"H",data:[e]});break;case"V":a.push({key:"V",data:[...l]}),r=l[0];break;case"v":r+=l[0],a.push({key:"V",data:[r]});break;case"S":a.push({key:"S",data:[...l]}),e=l[2],r=l[3];break;case"s":{let u=l.map((h,f)=>f%2?h+r:h+e);a.push({key:"S",data:u}),e=u[2],r=u[3];break}case"T":a.push({key:"T",data:[...l]}),e=l[0],r=l[1];break;case"t":e+=l[0],r+=l[1],a.push({key:"T",data:[e,r]});break;case"Z":case"z":a.push({key:"Z",data:[]}),e=n,r=i}return a}function GQ(t){let e=[],r="",n=0,i=0,a=0,s=0,l=0,u=0;for(let{key:h,data:f}of t){switch(h){case"M":e.push({key:"M",data:[...f]}),[n,i]=f,[a,s]=f;break;case"C":e.push({key:"C",data:[...f]}),n=f[4],i=f[5],l=f[2],u=f[3];break;case"L":e.push({key:"L",data:[...f]}),[n,i]=f;break;case"H":n=f[0],e.push({key:"L",data:[n,i]});break;case"V":i=f[0],e.push({key:"L",data:[n,i]});break;case"S":{let d=0,p=0;r==="C"||r==="S"?(d=n+(n-l),p=i+(i-u)):(d=n,p=i),e.push({key:"C",data:[d,p,...f]}),l=f[0],u=f[1],n=f[2],i=f[3];break}case"T":{let[d,p]=f,m=0,g=0;r==="Q"||r==="T"?(m=n+(n-l),g=i+(i-u)):(m=n,g=i);let y=n+2*(m-n)/3,v=i+2*(g-i)/3,x=d+2*(m-d)/3,b=p+2*(g-p)/3;e.push({key:"C",data:[y,v,x,b,d,p]}),l=m,u=g,n=d,i=p;break}case"Q":{let[d,p,m,g]=f,y=n+2*(d-n)/3,v=i+2*(p-i)/3,x=m+2*(d-m)/3,b=g+2*(p-g)/3;e.push({key:"C",data:[y,v,x,b,m,g]}),l=d,u=p,n=m,i=g;break}case"A":{let d=Math.abs(f[0]),p=Math.abs(f[1]),m=f[2],g=f[3],y=f[4],v=f[5],x=f[6];d===0||p===0?(e.push({key:"C",data:[n,i,v,x,v,x]}),n=v,i=x):(n!==v||i!==x)&&(VQ(n,i,v,x,d,p,m,g,y).forEach(function(b){e.push({key:"C",data:b})}),n=v,i=x);break}case"Z":e.push({key:"Z",data:[]}),n=a,i=s}r=h}return e}function E2(t,e,r){return[t*Math.cos(r)-e*Math.sin(r),t*Math.sin(r)+e*Math.cos(r)]}function VQ(t,e,r,n,i,a,s,l,u,h){let f=(d=s,Math.PI*d/180);var d;let p=[],m=0,g=0,y=0,v=0;if(h)[m,g,y,v]=h;else{[t,e]=E2(t,e,-f),[r,n]=E2(r,n,-f);let L=(t-r)/2,S=(e-n)/2,I=L*L/(i*i)+S*S/(a*a);I>1&&(I=Math.sqrt(I),i*=I,a*=I);let M=i*i,P=a*a,B=M*P-M*S*S-P*L*L,F=M*S*S+P*L*L,z=(l===u?-1:1)*Math.sqrt(Math.abs(B/F));y=z*i*S/a+(t+r)/2,v=z*-a*L/i+(e+n)/2,m=Math.asin(parseFloat(((e-v)/a).toFixed(9))),g=Math.asin(parseFloat(((n-v)/a).toFixed(9))),tg&&(m-=2*Math.PI),!u&&g>m&&(g-=2*Math.PI)}let x=g-m;if(Math.abs(x)>120*Math.PI/180){let L=g,S=r,I=n;g=u&&g>m?m+120*Math.PI/180*1:m+120*Math.PI/180*-1,p=VQ(r=y+i*Math.cos(g),n=v+a*Math.sin(g),S,I,i,a,s,0,u,[g,L,y,v])}x=g-m;let b=Math.cos(m),T=Math.sin(m),C=Math.cos(g),w=Math.sin(g),E=Math.tan(x/4),_=4/3*i*E,A=4/3*a*E,D=[t,e],O=[t+_*T,e-A*b],R=[r+_*w,n-A*C],k=[r,n];if(O[0]=2*D[0]-O[0],O[1]=2*D[1]-O[1],h)return[O,R,k].concat(p);{p=[O,R,k].concat(p);let L=[];for(let S=0;S2){let i=[];for(let a=0;a2*Math.PI&&(m=0,g=2*Math.PI);let y=2*Math.PI/u.curveStepCount,v=Math.min(y/2,(g-m)/2),x=FQ(v,h,f,d,p,m,g,1,u);if(!u.disableMultiStroke){let b=FQ(v,h,f,d,p,m,g,1.5,u);x.push(...b)}return s&&(l?x.push(...Wh(h,f,h+d*Math.cos(m),f+p*Math.sin(m),u),...Wh(h,f,h+d*Math.cos(g),f+p*Math.sin(g),u)):x.push({op:"lineTo",data:[h,f]},{op:"lineTo",data:[h+d*Math.cos(m),f+p*Math.sin(m)]})),{type:"path",ops:x}}function OQ(t,e){let r=GQ(zQ(DL(t))),n=[],i=[0,0],a=[0,0];for(let{key:s,data:l}of r)switch(s){case"M":a=[l[0],l[1]],i=[l[0],l[1]];break;case"L":n.push(...Wh(a[0],a[1],l[0],l[1],e)),a=[l[0],l[1]];break;case"C":{let[u,h,f,d,p,m]=l;n.push(...DDe(u,h,f,d,p,m,a,e)),a=[p,m];break}case"Z":n.push(...Wh(a[0],a[1],i[0],i[1],e)),a=[i[0],i[1]]}return{type:"path",ops:n}}function gL(t,e){let r=[];for(let n of t)if(n.length){let i=e.maxRandomnessOffset||0,a=n.length;if(a>2){r.push({op:"move",data:[n[0][0]+sr(i,e),n[0][1]+sr(i,e)]});for(let s=1;s500?.4:-.0016668*u+1.233334;let f=i.maxRandomnessOffset||0;f*f*100>l&&(f=u/10);let d=f/2,p=.2+.2*WQ(i),m=i.bowing*i.maxRandomnessOffset*(n-e)/200,g=i.bowing*i.maxRandomnessOffset*(t-r)/200;m=sr(m,i,h),g=sr(g,i,h);let y=[],v=o(()=>sr(d,i,h),"M"),x=o(()=>sr(f,i,h),"k"),b=i.preserveVertices;return a&&(s?y.push({op:"move",data:[t+(b?0:v()),e+(b?0:v())]}):y.push({op:"move",data:[t+(b?0:sr(f,i,h)),e+(b?0:sr(f,i,h))]})),s?y.push({op:"bcurveTo",data:[m+t+(r-t)*p+v(),g+e+(n-e)*p+v(),m+t+2*(r-t)*p+v(),g+e+2*(n-e)*p+v(),r+(b?0:v()),n+(b?0:v())]}):y.push({op:"bcurveTo",data:[m+t+(r-t)*p+x(),g+e+(n-e)*p+x(),m+t+2*(r-t)*p+x(),g+e+2*(n-e)*p+x(),r+(b?0:x()),n+(b?0:x())]}),y}function WT(t,e,r){if(!t.length)return[];let n=[];n.push([t[0][0]+sr(e,r),t[0][1]+sr(e,r)]),n.push([t[0][0]+sr(e,r),t[0][1]+sr(e,r)]);for(let i=1;i3){let a=[],s=1-r.curveTightness;i.push({op:"move",data:[t[1][0],t[1][1]]});for(let l=1;l+21&&i.push(l)):i.push(l),i.push(t[e+3])}else{let u=t[e+0],h=t[e+1],f=t[e+2],d=t[e+3],p=Fd(u,h,.5),m=Fd(h,f,.5),g=Fd(f,d,.5),y=Fd(p,m,.5),v=Fd(m,g,.5),x=Fd(y,v,.5);CL([u,p,y,x],0,r,i),CL([x,v,g,d],0,r,i)}var a,s;return i}function RDe(t,e){return QT(t,0,t.length,e)}function QT(t,e,r,n,i){let a=i||[],s=t[e],l=t[r-1],u=0,h=1;for(let f=e+1;fu&&(u=d,h=f)}return Math.sqrt(u)>n?(QT(t,e,h+1,n,a),QT(t,h,r,n,a)):(a.length||a.push(s),a.push(l)),a}function yL(t,e=.15,r){let n=[],i=(t.length-1)/3;for(let a=0;a0?QT(n,0,n.length,r):n}var C2,vL,xL,bL,TL,wL,Ns,kL,CDe,pL,NQ,HT,ADe,io,vm,AL,qT,_L,je,Wt=N(()=>{"use strict";o(dL,"t");o(EDe,"e");o(SDe,"s");o(A2,"n");C2=class{static{o(this,"o")}constructor(e){this.helper=e}fillPolygons(e,r){return this._fillPolygons(e,r)}_fillPolygons(e,r){let n=A2(e,r);return{type:"fillSketch",ops:this.renderLines(n,r)}}renderLines(e,r){let n=[];for(let i of e)n.push(...this.helper.doubleLineOps(i[0][0],i[0][1],i[1][0],i[1][1],r));return n}};o(ZT,"a");vL=class extends C2{static{o(this,"h")}fillPolygons(e,r){let n=r.hachureGap;n<0&&(n=4*r.strokeWidth),n=Math.max(n,.1);let i=A2(e,Object.assign({},r,{hachureGap:n})),a=Math.PI/180*r.hachureAngle,s=[],l=.5*n*Math.cos(a),u=.5*n*Math.sin(a);for(let[h,f]of i)ZT([h,f])&&s.push([[h[0]-l,h[1]+u],[...f]],[[h[0]+l,h[1]-u],[...f]]);return{type:"fillSketch",ops:this.renderLines(s,r)}}},xL=class extends C2{static{o(this,"r")}fillPolygons(e,r){let n=this._fillPolygons(e,r),i=Object.assign({},r,{hachureAngle:r.hachureAngle+90}),a=this._fillPolygons(e,i);return n.ops=n.ops.concat(a.ops),n}},bL=class{static{o(this,"i")}constructor(e){this.helper=e}fillPolygons(e,r){let n=A2(e,r=Object.assign({},r,{hachureAngle:0}));return this.dotsOnLines(n,r)}dotsOnLines(e,r){let n=[],i=r.hachureGap;i<0&&(i=4*r.strokeWidth),i=Math.max(i,.1);let a=r.fillWeight;a<0&&(a=r.strokeWidth/2);let s=i/4;for(let l of e){let u=ZT(l),h=u/i,f=Math.ceil(h)-1,d=u-f*i,p=(l[0][0]+l[1][0])/2-i/4,m=Math.min(l[0][1],l[1][1]);for(let g=0;g{let l=ZT(s),u=Math.floor(l/(n+i)),h=(l+i-u*(n+i))/2,f=s[0],d=s[1];f[0]>d[0]&&(f=s[1],d=s[0]);let p=Math.atan((d[1]-f[1])/(d[0]-f[0]));for(let m=0;m{let s=ZT(a),l=Math.round(s/(2*r)),u=a[0],h=a[1];u[0]>h[0]&&(u=a[1],h=a[0]);let f=Math.atan((h[1]-u[1])/(h[0]-u[0]));for(let d=0;d2*Math.PI&&(_=0,A=2*Math.PI);let D=(A-_)/b.curveStepCount,O=[];for(let R=_;R<=A;R+=D)O.push([T+w*Math.cos(R),C+E*Math.sin(R)]);return O.push([T+w*Math.cos(A),C+E*Math.sin(A)]),O.push([T,C]),ym([O],b)}(e,r,n,i,a,s,h));return h.stroke!==io&&f.push(d),this._d("arc",f,h)}curve(e,r){let n=this._o(r),i=[],a=MQ(e,n);if(n.fill&&n.fill!==io)if(n.fillStyle==="solid"){let s=MQ(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(s.ops)})}else{let s=[],l=e;if(l.length){let u=typeof l[0][0]=="number"?[l]:l;for(let h of u)h.length<3?s.push(...h):h.length===3?s.push(...yL($Q([h[0],h[0],h[1],h[2]]),10,(1+n.roughness)/2)):s.push(...yL($Q(h),10,(1+n.roughness)/2))}s.length&&i.push(ym([s],n))}return n.stroke!==io&&i.push(a),this._d("curve",i,n)}polygon(e,r){let n=this._o(r),i=[],a=YT(e,!0,n);return n.fill&&(n.fillStyle==="solid"?i.push(gL([e],n)):i.push(ym([e],n))),n.stroke!==io&&i.push(a),this._d("polygon",i,n)}path(e,r){let n=this._o(r),i=[];if(!e)return this._d("path",i,n);e=(e||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let a=n.fill&&n.fill!=="transparent"&&n.fill!==io,s=n.stroke!==io,l=!!(n.simplification&&n.simplification<1),u=function(f,d,p){let m=GQ(zQ(DL(f))),g=[],y=[],v=[0,0],x=[],b=o(()=>{x.length>=4&&y.push(...yL(x,d)),x=[]},"i"),T=o(()=>{b(),y.length&&(g.push(y),y=[])},"c");for(let{key:w,data:E}of m)switch(w){case"M":T(),v=[E[0],E[1]],y.push(v);break;case"L":b(),y.push([E[0],E[1]]);break;case"C":if(!x.length){let _=y.length?y[y.length-1]:v;x.push([_[0],_[1]])}x.push([E[0],E[1]]),x.push([E[2],E[3]]),x.push([E[4],E[5]]);break;case"Z":b(),y.push([v[0],v[1]])}if(T(),!p)return g;let C=[];for(let w of g){let E=RDe(w,p);E.length&&C.push(E)}return C}(e,1,l?4-4*(n.simplification||1):(1+n.roughness)/2),h=OQ(e,n);if(a)if(n.fillStyle==="solid")if(u.length===1){let f=OQ(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(f.ops)})}else i.push(gL(u,n));else i.push(ym(u,n));return s&&(l?u.forEach(f=>{i.push(YT(f,!1,n))}):i.push(h)),this._d("path",i,n)}opsToPath(e,r){let n="";for(let i of e.ops){let a=typeof r=="number"&&r>=0?i.data.map(s=>+s.toFixed(r)):i.data;switch(i.op){case"move":n+=`M${a[0]} ${a[1]} `;break;case"bcurveTo":n+=`C${a[0]} ${a[1]}, ${a[2]} ${a[3]}, ${a[4]} ${a[5]} `;break;case"lineTo":n+=`L${a[0]} ${a[1]} `}}return n.trim()}toPaths(e){let r=e.sets||[],n=e.options||this.defaultOptions,i=[];for(let a of r){let s=null;switch(a.type){case"path":s={d:this.opsToPath(a),stroke:n.stroke,strokeWidth:n.strokeWidth,fill:io};break;case"fillPath":s={d:this.opsToPath(a),stroke:io,strokeWidth:0,fill:n.fill||io};break;case"fillSketch":s=this.fillSketch(a,n)}s&&i.push(s)}return i}fillSketch(e,r){let n=r.fillWeight;return n<0&&(n=r.strokeWidth/2),{d:this.opsToPath(e),stroke:r.fill||io,strokeWidth:n,fill:io}}_mergedShape(e){return e.filter((r,n)=>n===0||r.op!=="move")}},AL=class{static{o(this,"st")}constructor(e,r){this.canvas=e,this.ctx=this.canvas.getContext("2d"),this.gen=new vm(r)}draw(e){let r=e.sets||[],n=e.options||this.getDefaultOptions(),i=this.ctx,a=e.options.fixedDecimalPlaceDigits;for(let s of r)switch(s.type){case"path":i.save(),i.strokeStyle=n.stroke==="none"?"transparent":n.stroke,i.lineWidth=n.strokeWidth,n.strokeLineDash&&i.setLineDash(n.strokeLineDash),n.strokeLineDashOffset&&(i.lineDashOffset=n.strokeLineDashOffset),this._drawToContext(i,s,a),i.restore();break;case"fillPath":{i.save(),i.fillStyle=n.fill||"";let l=e.shape==="curve"||e.shape==="polygon"||e.shape==="path"?"evenodd":"nonzero";this._drawToContext(i,s,a,l),i.restore();break}case"fillSketch":this.fillSketch(i,s,n)}}fillSketch(e,r,n){let i=n.fillWeight;i<0&&(i=n.strokeWidth/2),e.save(),n.fillLineDash&&e.setLineDash(n.fillLineDash),n.fillLineDashOffset&&(e.lineDashOffset=n.fillLineDashOffset),e.strokeStyle=n.fill||"",e.lineWidth=i,this._drawToContext(e,r,n.fixedDecimalPlaceDigits),e.restore()}_drawToContext(e,r,n,i="nonzero"){e.beginPath();for(let a of r.ops){let s=typeof n=="number"&&n>=0?a.data.map(l=>+l.toFixed(n)):a.data;switch(a.op){case"move":e.moveTo(s[0],s[1]);break;case"bcurveTo":e.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5]);break;case"lineTo":e.lineTo(s[0],s[1])}}r.type==="fillPath"?e.fill(i):e.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(e,r,n,i,a){let s=this.gen.line(e,r,n,i,a);return this.draw(s),s}rectangle(e,r,n,i,a){let s=this.gen.rectangle(e,r,n,i,a);return this.draw(s),s}ellipse(e,r,n,i,a){let s=this.gen.ellipse(e,r,n,i,a);return this.draw(s),s}circle(e,r,n,i){let a=this.gen.circle(e,r,n,i);return this.draw(a),a}linearPath(e,r){let n=this.gen.linearPath(e,r);return this.draw(n),n}polygon(e,r){let n=this.gen.polygon(e,r);return this.draw(n),n}arc(e,r,n,i,a,s,l=!1,u){let h=this.gen.arc(e,r,n,i,a,s,l,u);return this.draw(h),h}curve(e,r){let n=this.gen.curve(e,r);return this.draw(n),n}path(e,r){let n=this.gen.path(e,r);return this.draw(n),n}},qT="http://www.w3.org/2000/svg",_L=class{static{o(this,"ot")}constructor(e,r){this.svg=e,this.gen=new vm(r)}draw(e){let r=e.sets||[],n=e.options||this.getDefaultOptions(),i=this.svg.ownerDocument||window.document,a=i.createElementNS(qT,"g"),s=e.options.fixedDecimalPlaceDigits;for(let l of r){let u=null;switch(l.type){case"path":u=i.createElementNS(qT,"path"),u.setAttribute("d",this.opsToPath(l,s)),u.setAttribute("stroke",n.stroke),u.setAttribute("stroke-width",n.strokeWidth+""),u.setAttribute("fill","none"),n.strokeLineDash&&u.setAttribute("stroke-dasharray",n.strokeLineDash.join(" ").trim()),n.strokeLineDashOffset&&u.setAttribute("stroke-dashoffset",`${n.strokeLineDashOffset}`);break;case"fillPath":u=i.createElementNS(qT,"path"),u.setAttribute("d",this.opsToPath(l,s)),u.setAttribute("stroke","none"),u.setAttribute("stroke-width","0"),u.setAttribute("fill",n.fill||""),e.shape!=="curve"&&e.shape!=="polygon"||u.setAttribute("fill-rule","evenodd");break;case"fillSketch":u=this.fillSketch(i,l,n)}u&&a.appendChild(u)}return a}fillSketch(e,r,n){let i=n.fillWeight;i<0&&(i=n.strokeWidth/2);let a=e.createElementNS(qT,"path");return a.setAttribute("d",this.opsToPath(r,n.fixedDecimalPlaceDigits)),a.setAttribute("stroke",n.fill||""),a.setAttribute("stroke-width",i+""),a.setAttribute("fill","none"),n.fillLineDash&&a.setAttribute("stroke-dasharray",n.fillLineDash.join(" ").trim()),n.fillLineDashOffset&&a.setAttribute("stroke-dashoffset",`${n.fillLineDashOffset}`),a}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(e,r){return this.gen.opsToPath(e,r)}line(e,r,n,i,a){let s=this.gen.line(e,r,n,i,a);return this.draw(s)}rectangle(e,r,n,i,a){let s=this.gen.rectangle(e,r,n,i,a);return this.draw(s)}ellipse(e,r,n,i,a){let s=this.gen.ellipse(e,r,n,i,a);return this.draw(s)}circle(e,r,n,i){let a=this.gen.circle(e,r,n,i);return this.draw(a)}linearPath(e,r){let n=this.gen.linearPath(e,r);return this.draw(n)}polygon(e,r){let n=this.gen.polygon(e,r);return this.draw(n)}arc(e,r,n,i,a,s,l=!1,u){let h=this.gen.arc(e,r,n,i,a,s,l,u);return this.draw(h)}curve(e,r){let n=this.gen.curve(e,r);return this.draw(n)}path(e,r){let n=this.gen.path(e,r);return this.draw(n)}},je={canvas:o((t,e)=>new AL(t,e),"canvas"),svg:o((t,e)=>new _L(t,e),"svg"),generator:o(t=>new vm(t),"generator"),newSeed:o(()=>vm.newSeed(),"newSeed")}});function qQ(t,e){let{labelStyles:r}=qe(e);e.labelStyle=r;let n=ot(e),i=n;n||(i="anchor");let a=t.insert("g").attr("class",i).attr("id",e.domId||e.id),s=1,{cssStyles:l}=e,u=je.svg(a),h=Qe(e,{fill:"black",stroke:"none",fillStyle:"solid"});e.look!=="handDrawn"&&(h.roughness=0);let f=u.circle(0,0,s*2,h),d=a.insert(()=>f,":first-child");return d.attr("class","anchor").attr("style",ii(l)),Ke(e,d),e.intersect=function(p){return X.info("Circle intersect",e,s,p),Xe.circle(e,s,p)},a}var YQ=N(()=>{"use strict";yt();Ft();Ht();Gt();Wt();nr();o(qQ,"anchor")});function XQ(t,e,r,n,i,a,s){let u=(t+r)/2,h=(e+n)/2,f=Math.atan2(n-e,r-t),d=(r-t)/2,p=(n-e)/2,m=d/i,g=p/a,y=Math.sqrt(m**2+g**2);if(y>1)throw new Error("The given radii are too small to create an arc between the points.");let v=Math.sqrt(1-y**2),x=u+v*a*Math.sin(f)*(s?-1:1),b=h-v*i*Math.cos(f)*(s?-1:1),T=Math.atan2((e-b)/a,(t-x)/i),w=Math.atan2((n-b)/a,(r-x)/i)-T;s&&w<0&&(w+=2*Math.PI),!s&&w>0&&(w-=2*Math.PI);let E=[];for(let _=0;_<20;_++){let A=_/19,D=T+A*w,O=x+i*Math.cos(D),R=b+a*Math.sin(D);E.push({x:O,y:R})}return E}async function jQ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=a.width+e.padding+20,l=a.height+e.padding,u=l/2,h=u/(2.5+l/50),{cssStyles:f}=e,d=[{x:s/2,y:-l/2},{x:-s/2,y:-l/2},...XQ(-s/2,-l/2,-s/2,l/2,h,u,!1),{x:s/2,y:l/2},...XQ(s/2,l/2,s/2,-l/2,h,u,!0)],p=je.svg(i),m=Qe(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=zt(d),y=p.path(g,m),v=i.insert(()=>y,":first-child");return v.attr("class","basic label-container"),f&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",n),v.attr("transform",`translate(${h/2}, 0)`),Ke(e,v),e.intersect=function(x){return Xe.polygon(e,d,x)},i}var KQ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(XQ,"generateArcPoints");o(jQ,"bowTieRect")});function Ms(t,e,r,n){return t.insert("polygon",":first-child").attr("points",n.map(function(i){return i.x+","+i.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}var qh=N(()=>{"use strict";o(Ms,"insertPolygonShape")});async function QQ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=a.height+e.padding,l=12,u=a.width+e.padding+l,h=0,f=u,d=-s,p=0,m=[{x:h+l,y:d},{x:f,y:d},{x:f,y:p},{x:h,y:p},{x:h,y:d+l},{x:h+l,y:d}],g,{cssStyles:y}=e;if(e.look==="handDrawn"){let v=je.svg(i),x=Qe(e,{}),b=zt(m),T=v.path(b,x);g=i.insert(()=>T,":first-child").attr("transform",`translate(${-u/2}, ${s/2})`),y&&g.attr("style",y)}else g=Ms(i,u,s,m);return n&&g.attr("style",n),Ke(e,g),e.intersect=function(v){return Xe.polygon(e,m,v)},i}var ZQ=N(()=>{"use strict";Ft();Ht();Gt();Wt();qh();Ft();o(QQ,"card")});function JQ(t,e){let{nodeStyles:r}=qe(e);e.label="";let n=t.insert("g").attr("class",ot(e)).attr("id",e.domId??e.id),{cssStyles:i}=e,a=Math.max(28,e.width??0),s=[{x:0,y:a/2},{x:a/2,y:0},{x:0,y:-a/2},{x:-a/2,y:0}],l=je.svg(n),u=Qe(e,{});e.look!=="handDrawn"&&(u.roughness=0,u.fillStyle="solid");let h=zt(s),f=l.path(h,u),d=n.insert(()=>f,":first-child");return i&&e.look!=="handDrawn"&&d.selectAll("path").attr("style",i),r&&e.look!=="handDrawn"&&d.selectAll("path").attr("style",r),e.width=28,e.height=28,e.intersect=function(p){return Xe.polygon(e,s,p)},n}var eZ=N(()=>{"use strict";Ht();Wt();Gt();Ft();o(JQ,"choice")});async function tZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,halfPadding:s}=await pt(t,e,ot(e)),l=a.width/2+s,u,{cssStyles:h}=e;if(e.look==="handDrawn"){let f=je.svg(i),d=Qe(e,{}),p=f.circle(0,0,l*2,d);u=i.insert(()=>p,":first-child"),u.attr("class","basic label-container").attr("style",ii(h))}else u=i.insert("circle",":first-child").attr("class","basic label-container").attr("style",n).attr("r",l).attr("cx",0).attr("cy",0);return Ke(e,u),e.intersect=function(f){return X.info("Circle intersect",e,l,f),Xe.circle(e,l,f)},i}var rZ=N(()=>{"use strict";yt();Ft();Ht();Gt();Wt();nr();o(tZ,"circle")});function NDe(t){let e=Math.cos(Math.PI/4),r=Math.sin(Math.PI/4),n=t*2,i={x:n/2*e,y:n/2*r},a={x:-(n/2)*e,y:n/2*r},s={x:-(n/2)*e,y:-(n/2)*r},l={x:n/2*e,y:-(n/2)*r};return`M ${a.x},${a.y} L ${l.x},${l.y} - M ${i.x},${i.y} L ${s.x},${s.y}`}function nZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r,e.label="";let i=t.insert("g").attr("class",ot(e)).attr("id",e.domId??e.id),a=Math.max(30,e?.width??0),{cssStyles:s}=e,l=je.svg(i),u=Qe(e,{});e.look!=="handDrawn"&&(u.roughness=0,u.fillStyle="solid");let h=l.circle(0,0,a*2,u),f=NDe(a),d=l.path(f,u),p=i.insert(()=>h,":first-child");return p.insert(()=>d),s&&e.look!=="handDrawn"&&p.selectAll("path").attr("style",s),n&&e.look!=="handDrawn"&&p.selectAll("path").attr("style",n),Ke(e,p),e.intersect=function(m){return X.info("crossedCircle intersect",e,{radius:a,point:m}),Xe.circle(e,a,m)},i}var iZ=N(()=>{"use strict";yt();Ft();Gt();Wt();Ht();o(NDe,"createLine");o(nZ,"crossedCircle")});function Yh(t,e,r,n=100,i=0,a=180){let s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let d=0;dT,":first-child").attr("stroke-opacity",0),C.insert(()=>x,":first-child"),C.attr("class","text"),f&&e.look!=="handDrawn"&&C.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&C.selectAll("path").attr("style",n),C.attr("transform",`translate(${h}, 0)`),s.attr("transform",`translate(${-l/2+h-(a.x-(a.left??0))},${-u/2+(e.padding??0)/2-(a.y-(a.top??0))})`),Ke(e,C),e.intersect=function(w){return Xe.polygon(e,p,w)},i}var sZ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(Yh,"generateCirclePoints");o(aZ,"curlyBraceLeft")});function Xh(t,e,r,n=100,i=0,a=180){let s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let d=0;dT,":first-child").attr("stroke-opacity",0),C.insert(()=>x,":first-child"),C.attr("class","text"),f&&e.look!=="handDrawn"&&C.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&C.selectAll("path").attr("style",n),C.attr("transform",`translate(${-h}, 0)`),s.attr("transform",`translate(${-l/2+(e.padding??0)/2-(a.x-(a.left??0))},${-u/2+(e.padding??0)/2-(a.y-(a.top??0))})`),Ke(e,C),e.intersect=function(w){return Xe.polygon(e,p,w)},i}var lZ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(Xh,"generateCirclePoints");o(oZ,"curlyBraceRight")});function Ra(t,e,r,n=100,i=0,a=180){let s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let d=0;d_,":first-child").attr("stroke-opacity",0),A.insert(()=>b,":first-child"),A.insert(()=>w,":first-child"),A.attr("class","text"),f&&e.look!=="handDrawn"&&A.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&A.selectAll("path").attr("style",n),A.attr("transform",`translate(${h-h/4}, 0)`),s.attr("transform",`translate(${-l/2+(e.padding??0)/2-(a.x-(a.left??0))},${-u/2+(e.padding??0)/2-(a.y-(a.top??0))})`),Ke(e,A),e.intersect=function(D){return Xe.polygon(e,m,D)},i}var uZ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(Ra,"generateCirclePoints");o(cZ,"curlyBraces")});async function hZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=80,l=20,u=Math.max(s,(a.width+(e.padding??0)*2)*1.25,e?.width??0),h=Math.max(l,a.height+(e.padding??0)*2,e?.height??0),f=h/2,{cssStyles:d}=e,p=je.svg(i),m=Qe(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=u,y=h,v=g-f,x=y/4,b=[{x:v,y:0},{x,y:0},{x:0,y:y/2},{x,y},{x:v,y},...Bd(-v,-y/2,f,50,270,90)],T=zt(b),C=p.path(T,m),w=i.insert(()=>C,":first-child");return w.attr("class","basic label-container"),d&&e.look!=="handDrawn"&&w.selectChildren("path").attr("style",d),n&&e.look!=="handDrawn"&&w.selectChildren("path").attr("style",n),w.attr("transform",`translate(${-u/2}, ${-h/2})`),Ke(e,w),e.intersect=function(E){return Xe.polygon(e,b,E)},i}var fZ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(hZ,"curvedTrapezoid")});async function dZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=Math.max(a.width+e.padding,e.width??0),u=l/2,h=u/(2.5+l/50),f=Math.max(a.height+h+e.padding,e.height??0),d,{cssStyles:p}=e;if(e.look==="handDrawn"){let m=je.svg(i),g=IDe(0,0,l,f,u,h),y=ODe(0,h,l,f,u,h),v=m.path(g,Qe(e,{})),x=m.path(y,Qe(e,{fill:"none"}));d=i.insert(()=>x,":first-child"),d=i.insert(()=>v,":first-child"),d.attr("class","basic label-container"),p&&d.attr("style",p)}else{let m=MDe(0,0,l,f,u,h);d=i.insert("path",":first-child").attr("d",m).attr("class","basic label-container").attr("style",ii(p)).attr("style",n)}return d.attr("label-offset-y",h),d.attr("transform",`translate(${-l/2}, ${-(f/2+h)})`),Ke(e,d),s.attr("transform",`translate(${-(a.width/2)-(a.x-(a.left??0))}, ${-(a.height/2)+(e.padding??0)/1.5-(a.y-(a.top??0))})`),e.intersect=function(m){let g=Xe.rect(e,m),y=g.x-(e.x??0);if(u!=0&&(Math.abs(y)<(e.width??0)/2||Math.abs(y)==(e.width??0)/2&&Math.abs(g.y-(e.y??0))>(e.height??0)/2-h)){let v=h*h*(1-y*y/(u*u));v>0&&(v=Math.sqrt(v)),v=h-v,m.y-(e.y??0)>0&&(v=-v),g.y+=v}return g},i}var MDe,IDe,ODe,pZ=N(()=>{"use strict";Ft();Ht();Gt();Wt();nr();MDe=o((t,e,r,n,i,a)=>[`M${t},${e+a}`,`a${i},${a} 0,0,0 ${r},0`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`].join(" "),"createCylinderPathD"),IDe=o((t,e,r,n,i,a)=>[`M${t},${e+a}`,`M${t+r},${e+a}`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`].join(" "),"createOuterCylinderPathD"),ODe=o((t,e,r,n,i,a)=>[`M${t-r/2},${-n/2}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createInnerCylinderPathD");o(dZ,"cylinder")});async function mZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=a.width+e.padding,u=a.height+e.padding,h=u*.2,f=-l/2,d=-u/2-h/2,{cssStyles:p}=e,m=je.svg(i),g=Qe(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let y=[{x:f,y:d+h},{x:-f,y:d+h},{x:-f,y:-d},{x:f,y:-d},{x:f,y:d},{x:-f,y:d},{x:-f,y:d+h}],v=m.polygon(y.map(b=>[b.x,b.y]),g),x=i.insert(()=>v,":first-child");return x.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&x.selectAll("path").attr("style",p),n&&e.look!=="handDrawn"&&x.selectAll("path").attr("style",n),s.attr("transform",`translate(${f+(e.padding??0)/2-(a.x-(a.left??0))}, ${d+h+(e.padding??0)/2-(a.y-(a.top??0))})`),Ke(e,x),e.intersect=function(b){return Xe.rect(e,b)},i}var gZ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(mZ,"dividedRectangle")});async function yZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,halfPadding:s}=await pt(t,e,ot(e)),u=a.width/2+s+5,h=a.width/2+s,f,{cssStyles:d}=e;if(e.look==="handDrawn"){let p=je.svg(i),m=Qe(e,{roughness:.2,strokeWidth:2.5}),g=Qe(e,{roughness:.2,strokeWidth:1.5}),y=p.circle(0,0,u*2,m),v=p.circle(0,0,h*2,g);f=i.insert("g",":first-child"),f.attr("class",ii(e.cssClasses)).attr("style",ii(d)),f.node()?.appendChild(y),f.node()?.appendChild(v)}else{f=i.insert("g",":first-child");let p=f.insert("circle",":first-child"),m=f.insert("circle");f.attr("class","basic label-container").attr("style",n),p.attr("class","outer-circle").attr("style",n).attr("r",u).attr("cx",0).attr("cy",0),m.attr("class","inner-circle").attr("style",n).attr("r",h).attr("cx",0).attr("cy",0)}return Ke(e,f),e.intersect=function(p){return X.info("DoubleCircle intersect",e,u,p),Xe.circle(e,u,p)},i}var vZ=N(()=>{"use strict";yt();Ft();Ht();Gt();Wt();nr();o(yZ,"doublecircle")});function xZ(t,e,{config:{themeVariables:r}}){let{labelStyles:n,nodeStyles:i}=qe(e);e.label="",e.labelStyle=n;let a=t.insert("g").attr("class",ot(e)).attr("id",e.domId??e.id),s=7,{cssStyles:l}=e,u=je.svg(a),{nodeBorder:h}=r,f=Qe(e,{fillStyle:"solid"});e.look!=="handDrawn"&&(f.roughness=0);let d=u.circle(0,0,s*2,f),p=a.insert(()=>d,":first-child");return p.selectAll("path").attr("style",`fill: ${h} !important;`),l&&l.length>0&&e.look!=="handDrawn"&&p.selectAll("path").attr("style",l),i&&e.look!=="handDrawn"&&p.selectAll("path").attr("style",i),Ke(e,p),e.intersect=function(m){return X.info("filledCircle intersect",e,{radius:s,point:m}),Xe.circle(e,s,m)},a}var bZ=N(()=>{"use strict";Wt();yt();Ht();Gt();Ft();o(xZ,"filledCircle")});async function TZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=a.width+(e.padding??0),u=l+a.height,h=l+a.height,f=[{x:0,y:-u},{x:h,y:-u},{x:h/2,y:0}],{cssStyles:d}=e,p=je.svg(i),m=Qe(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=zt(f),y=p.path(g,m),v=i.insert(()=>y,":first-child").attr("transform",`translate(${-u/2}, ${u/2})`);return d&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",d),n&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",n),e.width=l,e.height=u,Ke(e,v),s.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${-u/2+(e.padding??0)/2+(a.y-(a.top??0))})`),e.intersect=function(x){return X.info("Triangle intersect",e,f,x),Xe.polygon(e,f,x)},i}var wZ=N(()=>{"use strict";yt();Ft();Ht();Gt();Wt();Ft();o(TZ,"flippedTriangle")});function kZ(t,e,{dir:r,config:{state:n,themeVariables:i}}){let{nodeStyles:a}=qe(e);e.label="";let s=t.insert("g").attr("class",ot(e)).attr("id",e.domId??e.id),{cssStyles:l}=e,u=Math.max(70,e?.width??0),h=Math.max(10,e?.height??0);r==="LR"&&(u=Math.max(10,e?.width??0),h=Math.max(70,e?.height??0));let f=-1*u/2,d=-1*h/2,p=je.svg(s),m=Qe(e,{stroke:i.lineColor,fill:i.lineColor});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=p.rectangle(f,d,u,h,m),y=s.insert(()=>g,":first-child");l&&e.look!=="handDrawn"&&y.selectAll("path").attr("style",l),a&&e.look!=="handDrawn"&&y.selectAll("path").attr("style",a),Ke(e,y);let v=n?.padding??0;return e.width&&e.height&&(e.width+=v/2||0,e.height+=v/2||0),e.intersect=function(x){return Xe.rect(e,x)},s}var EZ=N(()=>{"use strict";Wt();Ht();Gt();Ft();o(kZ,"forkJoin")});async function SZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let i=80,a=50,{shapeSvg:s,bbox:l}=await pt(t,e,ot(e)),u=Math.max(i,l.width+(e.padding??0)*2,e?.width??0),h=Math.max(a,l.height+(e.padding??0)*2,e?.height??0),f=h/2,{cssStyles:d}=e,p=je.svg(s),m=Qe(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=[{x:-u/2,y:-h/2},{x:u/2-f,y:-h/2},...Bd(-u/2+f,0,f,50,90,270),{x:u/2-f,y:h/2},{x:-u/2,y:h/2}],y=zt(g),v=p.path(y,m),x=s.insert(()=>v,":first-child");return x.attr("class","basic label-container"),d&&e.look!=="handDrawn"&&x.selectChildren("path").attr("style",d),n&&e.look!=="handDrawn"&&x.selectChildren("path").attr("style",n),Ke(e,x),e.intersect=function(b){return X.info("Pill intersect",e,{radius:f,point:b}),Xe.polygon(e,g,b)},s}var CZ=N(()=>{"use strict";yt();Ft();Ht();Gt();Wt();o(SZ,"halfRoundedRectangle")});async function AZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=a.height+(e.padding??0),l=a.width+(e.padding??0)*2.5,{cssStyles:u}=e,h=je.svg(i),f=Qe(e,{});e.look!=="handDrawn"&&(f.roughness=0,f.fillStyle="solid");let d=l/2,p=d/6;d=d+p;let m=s/2,g=m/2,y=d-g,v=[{x:-y,y:-m},{x:0,y:-m},{x:y,y:-m},{x:d,y:0},{x:y,y:m},{x:0,y:m},{x:-y,y:m},{x:-d,y:0}],x=zt(v),b=h.path(x,f),T=i.insert(()=>b,":first-child");return T.attr("class","basic label-container"),u&&e.look!=="handDrawn"&&T.selectChildren("path").attr("style",u),n&&e.look!=="handDrawn"&&T.selectChildren("path").attr("style",n),e.width=l,e.height=s,Ke(e,T),e.intersect=function(C){return Xe.polygon(e,v,C)},i}var _Z=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(AZ,"hexagon")});async function DZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.label="",e.labelStyle=r;let{shapeSvg:i}=await pt(t,e,ot(e)),a=Math.max(30,e?.width??0),s=Math.max(30,e?.height??0),{cssStyles:l}=e,u=je.svg(i),h=Qe(e,{});e.look!=="handDrawn"&&(h.roughness=0,h.fillStyle="solid");let f=[{x:0,y:0},{x:a,y:0},{x:0,y:s},{x:a,y:s}],d=zt(f),p=u.path(d,h),m=i.insert(()=>p,":first-child");return m.attr("class","basic label-container"),l&&e.look!=="handDrawn"&&m.selectChildren("path").attr("style",l),n&&e.look!=="handDrawn"&&m.selectChildren("path").attr("style",n),m.attr("transform",`translate(${-a/2}, ${-s/2})`),Ke(e,m),e.intersect=function(g){return X.info("Pill intersect",e,{points:f}),Xe.polygon(e,f,g)},i}var LZ=N(()=>{"use strict";yt();Ft();Ht();Gt();Wt();o(DZ,"hourglass")});async function RZ(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:i}=qe(e);e.labelStyle=i;let a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:h,bbox:f,label:d}=await pt(t,e,"icon-shape default"),p=e.pos==="t",m=l,g=l,{nodeBorder:y}=r,{stylesMap:v}=vc(e),x=-g/2,b=-m/2,T=e.label?8:0,C=je.svg(h),w=Qe(e,{stroke:"none",fill:"none"});e.look!=="handDrawn"&&(w.roughness=0,w.fillStyle="solid");let E=C.rectangle(x,b,g,m,w),_=Math.max(g,f.width),A=m+f.height+T,D=C.rectangle(-_/2,-A/2,_,A,{...w,fill:"transparent",stroke:"none"}),O=h.insert(()=>E,":first-child"),R=h.insert(()=>D);if(e.icon){let k=h.append("g");k.html(`${await Es(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let L=k.node().getBBox(),S=L.width,I=L.height,M=L.x,P=L.y;k.attr("transform",`translate(${-S/2-M},${p?f.height/2+T/2-I/2-P:-f.height/2-T/2-I/2-P})`),k.attr("style",`color: ${v.get("stroke")??y};`)}return d.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${p?-A/2:A/2-f.height})`),O.attr("transform",`translate(0,${p?f.height/2+T/2:-f.height/2-T/2})`),Ke(e,R),e.intersect=function(k){if(X.info("iconSquare intersect",e,k),!e.label)return Xe.rect(e,k);let L=e.x??0,S=e.y??0,I=e.height??0,M=[];return p?M=[{x:L-f.width/2,y:S-I/2},{x:L+f.width/2,y:S-I/2},{x:L+f.width/2,y:S-I/2+f.height+T},{x:L+g/2,y:S-I/2+f.height+T},{x:L+g/2,y:S+I/2},{x:L-g/2,y:S+I/2},{x:L-g/2,y:S-I/2+f.height+T},{x:L-f.width/2,y:S-I/2+f.height+T}]:M=[{x:L-g/2,y:S-I/2},{x:L+g/2,y:S-I/2},{x:L+g/2,y:S-I/2+m},{x:L+f.width/2,y:S-I/2+m},{x:L+f.width/2/2,y:S+I/2},{x:L-f.width/2,y:S+I/2},{x:L-f.width/2,y:S-I/2+m},{x:L-g/2,y:S-I/2+m}],Xe.polygon(e,M,k)},h}var NZ=N(()=>{"use strict";Wt();yt();rc();Ht();Gt();Ft();o(RZ,"icon")});async function MZ(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:i}=qe(e);e.labelStyle=i;let a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:h,bbox:f,label:d}=await pt(t,e,"icon-shape default"),p=20,m=e.label?8:0,g=e.pos==="t",{nodeBorder:y,mainBkg:v}=r,{stylesMap:x}=vc(e),b=je.svg(h),T=Qe(e,{});e.look!=="handDrawn"&&(T.roughness=0,T.fillStyle="solid");let C=x.get("fill");T.stroke=C??v;let w=h.append("g");e.icon&&w.html(`${await Es(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let E=w.node().getBBox(),_=E.width,A=E.height,D=E.x,O=E.y,R=Math.max(_,A)*Math.SQRT2+p*2,k=b.circle(0,0,R,T),L=Math.max(R,f.width),S=R+f.height+m,I=b.rectangle(-L/2,-S/2,L,S,{...T,fill:"transparent",stroke:"none"}),M=h.insert(()=>k,":first-child"),P=h.insert(()=>I);return w.attr("transform",`translate(${-_/2-D},${g?f.height/2+m/2-A/2-O:-f.height/2-m/2-A/2-O})`),w.attr("style",`color: ${x.get("stroke")??y};`),d.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${g?-S/2:S/2-f.height})`),M.attr("transform",`translate(0,${g?f.height/2+m/2:-f.height/2-m/2})`),Ke(e,P),e.intersect=function(B){return X.info("iconSquare intersect",e,B),Xe.rect(e,B)},h}var IZ=N(()=>{"use strict";Wt();yt();rc();Ht();Gt();Ft();o(MZ,"iconCircle")});var Is,$d=N(()=>{"use strict";Is=o((t,e,r,n,i)=>["M",t+i,e,"H",t+r-i,"A",i,i,0,0,1,t+r,e+i,"V",e+n-i,"A",i,i,0,0,1,t+r-i,e+n,"H",t+i,"A",i,i,0,0,1,t,e+n-i,"V",e+i,"A",i,i,0,0,1,t+i,e,"Z"].join(" "),"createRoundedRectPathD")});async function OZ(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:i}=qe(e);e.labelStyle=i;let a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:h,bbox:f,halfPadding:d,label:p}=await pt(t,e,"icon-shape default"),m=e.pos==="t",g=l+d*2,y=l+d*2,{nodeBorder:v,mainBkg:x}=r,{stylesMap:b}=vc(e),T=-y/2,C=-g/2,w=e.label?8:0,E=je.svg(h),_=Qe(e,{});e.look!=="handDrawn"&&(_.roughness=0,_.fillStyle="solid");let A=b.get("fill");_.stroke=A??x;let D=E.path(Is(T,C,y,g,5),_),O=Math.max(y,f.width),R=g+f.height+w,k=E.rectangle(-O/2,-R/2,O,R,{..._,fill:"transparent",stroke:"none"}),L=h.insert(()=>D,":first-child").attr("class","icon-shape2"),S=h.insert(()=>k);if(e.icon){let I=h.append("g");I.html(`${await Es(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let M=I.node().getBBox(),P=M.width,B=M.height,F=M.x,z=M.y;I.attr("transform",`translate(${-P/2-F},${m?f.height/2+w/2-B/2-z:-f.height/2-w/2-B/2-z})`),I.attr("style",`color: ${b.get("stroke")??v};`)}return p.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${m?-R/2:R/2-f.height})`),L.attr("transform",`translate(0,${m?f.height/2+w/2:-f.height/2-w/2})`),Ke(e,S),e.intersect=function(I){if(X.info("iconSquare intersect",e,I),!e.label)return Xe.rect(e,I);let M=e.x??0,P=e.y??0,B=e.height??0,F=[];return m?F=[{x:M-f.width/2,y:P-B/2},{x:M+f.width/2,y:P-B/2},{x:M+f.width/2,y:P-B/2+f.height+w},{x:M+y/2,y:P-B/2+f.height+w},{x:M+y/2,y:P+B/2},{x:M-y/2,y:P+B/2},{x:M-y/2,y:P-B/2+f.height+w},{x:M-f.width/2,y:P-B/2+f.height+w}]:F=[{x:M-y/2,y:P-B/2},{x:M+y/2,y:P-B/2},{x:M+y/2,y:P-B/2+g},{x:M+f.width/2,y:P-B/2+g},{x:M+f.width/2/2,y:P+B/2},{x:M-f.width/2,y:P+B/2},{x:M-f.width/2,y:P-B/2+g},{x:M-y/2,y:P-B/2+g}],Xe.polygon(e,F,I)},h}var PZ=N(()=>{"use strict";Wt();yt();rc();Ht();Gt();$d();Ft();o(OZ,"iconRounded")});async function BZ(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:i}=qe(e);e.labelStyle=i;let a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:h,bbox:f,halfPadding:d,label:p}=await pt(t,e,"icon-shape default"),m=e.pos==="t",g=l+d*2,y=l+d*2,{nodeBorder:v,mainBkg:x}=r,{stylesMap:b}=vc(e),T=-y/2,C=-g/2,w=e.label?8:0,E=je.svg(h),_=Qe(e,{});e.look!=="handDrawn"&&(_.roughness=0,_.fillStyle="solid");let A=b.get("fill");_.stroke=A??x;let D=E.path(Is(T,C,y,g,.1),_),O=Math.max(y,f.width),R=g+f.height+w,k=E.rectangle(-O/2,-R/2,O,R,{..._,fill:"transparent",stroke:"none"}),L=h.insert(()=>D,":first-child"),S=h.insert(()=>k);if(e.icon){let I=h.append("g");I.html(`${await Es(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let M=I.node().getBBox(),P=M.width,B=M.height,F=M.x,z=M.y;I.attr("transform",`translate(${-P/2-F},${m?f.height/2+w/2-B/2-z:-f.height/2-w/2-B/2-z})`),I.attr("style",`color: ${b.get("stroke")??v};`)}return p.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${m?-R/2:R/2-f.height})`),L.attr("transform",`translate(0,${m?f.height/2+w/2:-f.height/2-w/2})`),Ke(e,S),e.intersect=function(I){if(X.info("iconSquare intersect",e,I),!e.label)return Xe.rect(e,I);let M=e.x??0,P=e.y??0,B=e.height??0,F=[];return m?F=[{x:M-f.width/2,y:P-B/2},{x:M+f.width/2,y:P-B/2},{x:M+f.width/2,y:P-B/2+f.height+w},{x:M+y/2,y:P-B/2+f.height+w},{x:M+y/2,y:P+B/2},{x:M-y/2,y:P+B/2},{x:M-y/2,y:P-B/2+f.height+w},{x:M-f.width/2,y:P-B/2+f.height+w}]:F=[{x:M-y/2,y:P-B/2},{x:M+y/2,y:P-B/2},{x:M+y/2,y:P-B/2+g},{x:M+f.width/2,y:P-B/2+g},{x:M+f.width/2/2,y:P+B/2},{x:M-f.width/2,y:P+B/2},{x:M-f.width/2,y:P-B/2+g},{x:M-y/2,y:P-B/2+g}],Xe.polygon(e,F,I)},h}var FZ=N(()=>{"use strict";Wt();yt();rc();Ht();$d();Gt();Ft();o(BZ,"iconSquare")});async function $Z(t,e,{config:{flowchart:r}}){let n=new Image;n.src=e?.img??"",await n.decode();let i=Number(n.naturalWidth.toString().replace("px","")),a=Number(n.naturalHeight.toString().replace("px",""));e.imageAspectRatio=i/a;let{labelStyles:s}=qe(e);e.labelStyle=s;let l=r?.wrappingWidth;e.defaultWidth=r?.wrappingWidth;let u=Math.max(e.label?l??0:0,e?.assetWidth??i),h=e.constraint==="on"&&e?.assetHeight?e.assetHeight*e.imageAspectRatio:u,f=e.constraint==="on"?h/e.imageAspectRatio:e?.assetHeight??a;e.width=Math.max(h,l??0);let{shapeSvg:d,bbox:p,label:m}=await pt(t,e,"image-shape default"),g=e.pos==="t",y=-h/2,v=-f/2,x=e.label?8:0,b=je.svg(d),T=Qe(e,{});e.look!=="handDrawn"&&(T.roughness=0,T.fillStyle="solid");let C=b.rectangle(y,v,h,f,T),w=Math.max(h,p.width),E=f+p.height+x,_=b.rectangle(-w/2,-E/2,w,E,{...T,fill:"none",stroke:"none"}),A=d.insert(()=>C,":first-child"),D=d.insert(()=>_);if(e.img){let O=d.append("image");O.attr("href",e.img),O.attr("width",h),O.attr("height",f),O.attr("preserveAspectRatio","none"),O.attr("transform",`translate(${-h/2},${g?E/2-f:-E/2})`)}return m.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${g?-f/2-p.height/2-x/2:f/2-p.height/2+x/2})`),A.attr("transform",`translate(0,${g?p.height/2+x/2:-p.height/2-x/2})`),Ke(e,D),e.intersect=function(O){if(X.info("iconSquare intersect",e,O),!e.label)return Xe.rect(e,O);let R=e.x??0,k=e.y??0,L=e.height??0,S=[];return g?S=[{x:R-p.width/2,y:k-L/2},{x:R+p.width/2,y:k-L/2},{x:R+p.width/2,y:k-L/2+p.height+x},{x:R+h/2,y:k-L/2+p.height+x},{x:R+h/2,y:k+L/2},{x:R-h/2,y:k+L/2},{x:R-h/2,y:k-L/2+p.height+x},{x:R-p.width/2,y:k-L/2+p.height+x}]:S=[{x:R-h/2,y:k-L/2},{x:R+h/2,y:k-L/2},{x:R+h/2,y:k-L/2+f},{x:R+p.width/2,y:k-L/2+f},{x:R+p.width/2/2,y:k+L/2},{x:R-p.width/2,y:k+L/2},{x:R-p.width/2,y:k-L/2+f},{x:R-h/2,y:k-L/2+f}],Xe.polygon(e,S,O)},d}var zZ=N(()=>{"use strict";Wt();yt();Ht();Gt();Ft();o($Z,"imageSquare")});async function GZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=[{x:0,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:-3*l/6,y:-l}],h,{cssStyles:f}=e;if(e.look==="handDrawn"){let d=je.svg(i),p=Qe(e,{}),m=zt(u),g=d.path(m,p);h=i.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Ms(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,Ke(e,h),e.intersect=function(d){return Xe.polygon(e,u,d)},i}var VZ=N(()=>{"use strict";Ft();Ht();Gt();Wt();qh();o(GZ,"inv_trapezoid")});async function zd(t,e,r){let{labelStyles:n,nodeStyles:i}=qe(e);e.labelStyle=n;let{shapeSvg:a,bbox:s}=await pt(t,e,ot(e)),l=Math.max(s.width+r.labelPaddingX*2,e?.width||0),u=Math.max(s.height+r.labelPaddingY*2,e?.height||0),h=-l/2,f=-u/2,d,{rx:p,ry:m}=e,{cssStyles:g}=e;if(r?.rx&&r.ry&&(p=r.rx,m=r.ry),e.look==="handDrawn"){let y=je.svg(a),v=Qe(e,{}),x=p||m?y.path(Is(h,f,l,u,p||0),v):y.rectangle(h,f,l,u,v);d=a.insert(()=>x,":first-child"),d.attr("class","basic label-container").attr("style",ii(g))}else d=a.insert("rect",":first-child"),d.attr("class","basic label-container").attr("style",i).attr("rx",ii(p)).attr("ry",ii(m)).attr("x",h).attr("y",f).attr("width",l).attr("height",u);return Ke(e,d),e.intersect=function(y){return Xe.rect(e,y)},a}var _2=N(()=>{"use strict";Ft();Ht();$d();Gt();Wt();nr();o(zd,"drawRect")});async function UZ(t,e){let{shapeSvg:r,bbox:n,label:i}=await pt(t,e,"label"),a=r.insert("rect",":first-child");return a.attr("width",.1).attr("height",.1),r.attr("class","label edgeLabel"),i.attr("transform",`translate(${-(n.width/2)-(n.x-(n.left??0))}, ${-(n.height/2)-(n.y-(n.top??0))})`),Ke(e,a),e.intersect=function(u){return Xe.rect(e,u)},r}var HZ=N(()=>{"use strict";_2();Ft();Ht();o(UZ,"labelRect")});async function WZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=Math.max(a.width+(e.padding??0),e?.width??0),l=Math.max(a.height+(e.padding??0),e?.height??0),u=[{x:0,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:-(3*l)/6,y:-l}],h,{cssStyles:f}=e;if(e.look==="handDrawn"){let d=je.svg(i),p=Qe(e,{}),m=zt(u),g=d.path(m,p);h=i.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Ms(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,Ke(e,h),e.intersect=function(d){return Xe.polygon(e,u,d)},i}var qZ=N(()=>{"use strict";Ft();Ht();Gt();Wt();qh();o(WZ,"lean_left")});async function YZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=Math.max(a.width+(e.padding??0),e?.width??0),l=Math.max(a.height+(e.padding??0),e?.height??0),u=[{x:-3*l/6,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:0,y:-l}],h,{cssStyles:f}=e;if(e.look==="handDrawn"){let d=je.svg(i),p=Qe(e,{}),m=zt(u),g=d.path(m,p);h=i.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Ms(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,Ke(e,h),e.intersect=function(d){return Xe.polygon(e,u,d)},i}var XZ=N(()=>{"use strict";Ft();Ht();Gt();Wt();qh();o(YZ,"lean_right")});function jZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.label="",e.labelStyle=r;let i=t.insert("g").attr("class",ot(e)).attr("id",e.domId??e.id),{cssStyles:a}=e,s=Math.max(35,e?.width??0),l=Math.max(35,e?.height??0),u=7,h=[{x:s,y:0},{x:0,y:l+u/2},{x:s-2*u,y:l+u/2},{x:0,y:2*l},{x:s,y:l-u/2},{x:2*u,y:l-u/2}],f=je.svg(i),d=Qe(e,{});e.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");let p=zt(h),m=f.path(p,d),g=i.insert(()=>m,":first-child");return a&&e.look!=="handDrawn"&&g.selectAll("path").attr("style",a),n&&e.look!=="handDrawn"&&g.selectAll("path").attr("style",n),g.attr("transform",`translate(-${s/2},${-l})`),Ke(e,g),e.intersect=function(y){return X.info("lightningBolt intersect",e,y),Xe.polygon(e,h,y)},i}var KZ=N(()=>{"use strict";yt();Ft();Gt();Wt();Ht();Ft();o(jZ,"lightningBolt")});async function QZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=Math.max(a.width+(e.padding??0),e.width??0),u=l/2,h=u/(2.5+l/50),f=Math.max(a.height+h+(e.padding??0),e.height??0),d=f*.1,p,{cssStyles:m}=e;if(e.look==="handDrawn"){let g=je.svg(i),y=BDe(0,0,l,f,u,h,d),v=FDe(0,h,l,f,u,h),x=Qe(e,{}),b=g.path(y,x),T=g.path(v,x);i.insert(()=>T,":first-child").attr("class","line"),p=i.insert(()=>b,":first-child"),p.attr("class","basic label-container"),m&&p.attr("style",m)}else{let g=PDe(0,0,l,f,u,h,d);p=i.insert("path",":first-child").attr("d",g).attr("class","basic label-container").attr("style",ii(m)).attr("style",n)}return p.attr("label-offset-y",h),p.attr("transform",`translate(${-l/2}, ${-(f/2+h)})`),Ke(e,p),s.attr("transform",`translate(${-(a.width/2)-(a.x-(a.left??0))}, ${-(a.height/2)+h-(a.y-(a.top??0))})`),e.intersect=function(g){let y=Xe.rect(e,g),v=y.x-(e.x??0);if(u!=0&&(Math.abs(v)<(e.width??0)/2||Math.abs(v)==(e.width??0)/2&&Math.abs(y.y-(e.y??0))>(e.height??0)/2-h)){let x=h*h*(1-v*v/(u*u));x>0&&(x=Math.sqrt(x)),x=h-x,g.y-(e.y??0)>0&&(x=-x),y.y+=x}return y},i}var PDe,BDe,FDe,ZZ=N(()=>{"use strict";Ft();Ht();Gt();Wt();nr();PDe=o((t,e,r,n,i,a,s)=>[`M${t},${e+a}`,`a${i},${a} 0,0,0 ${r},0`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`,`M${t},${e+a+s}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createCylinderPathD"),BDe=o((t,e,r,n,i,a,s)=>[`M${t},${e+a}`,`M${t+r},${e+a}`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`,`M${t},${e+a+s}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createOuterCylinderPathD"),FDe=o((t,e,r,n,i,a)=>[`M${t-r/2},${-n/2}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createInnerCylinderPathD");o(QZ,"linedCylinder")});async function JZ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/4,f=u+h,{cssStyles:d}=e,p=je.svg(i),m=Qe(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=[{x:-l/2-l/2*.1,y:-f/2},{x:-l/2-l/2*.1,y:f/2},...$o(-l/2-l/2*.1,f/2,l/2+l/2*.1,f/2,h,.8),{x:l/2+l/2*.1,y:-f/2},{x:-l/2-l/2*.1,y:-f/2},{x:-l/2,y:-f/2},{x:-l/2,y:f/2*1.1},{x:-l/2,y:-f/2}],y=p.polygon(g.map(x=>[x.x,x.y]),m),v=i.insert(()=>y,":first-child");return v.attr("class","basic label-container"),d&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",d),n&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",n),v.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-l/2+(e.padding??0)+l/2*.1/2-(a.x-(a.left??0))},${-u/2+(e.padding??0)-h/2-(a.y-(a.top??0))})`),Ke(e,v),e.intersect=function(x){return Xe.polygon(e,g,x)},i}var eJ=N(()=>{"use strict";Ft();Ht();Wt();Gt();o(JZ,"linedWaveEdgedRect")});async function tJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=5,f=-l/2,d=-u/2,{cssStyles:p}=e,m=je.svg(i),g=Qe(e,{}),y=[{x:f-h,y:d+h},{x:f-h,y:d+u+h},{x:f+l-h,y:d+u+h},{x:f+l-h,y:d+u},{x:f+l,y:d+u},{x:f+l,y:d+u-h},{x:f+l+h,y:d+u-h},{x:f+l+h,y:d-h},{x:f+h,y:d-h},{x:f+h,y:d},{x:f,y:d},{x:f,y:d+h}],v=[{x:f,y:d+h},{x:f+l-h,y:d+h},{x:f+l-h,y:d+u},{x:f+l,y:d+u},{x:f+l,y:d},{x:f,y:d}];e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let x=zt(y),b=m.path(x,g),T=zt(v),C=m.path(T,{...g,fill:"none"}),w=i.insert(()=>C,":first-child");return w.insert(()=>b,":first-child"),w.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",p),n&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",n),s.attr("transform",`translate(${-(a.width/2)-h-(a.x-(a.left??0))}, ${-(a.height/2)+h-(a.y-(a.top??0))})`),Ke(e,w),e.intersect=function(E){return Xe.polygon(e,y,E)},i}var rJ=N(()=>{"use strict";Ft();Gt();Wt();Ht();o(tJ,"multiRect")});async function nJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/4,f=u+h,d=-l/2,p=-f/2,m=5,{cssStyles:g}=e,y=$o(d-m,p+f+m,d+l-m,p+f+m,h,.8),v=y?.[y.length-1],x=[{x:d-m,y:p+m},{x:d-m,y:p+f+m},...y,{x:d+l-m,y:v.y-m},{x:d+l,y:v.y-m},{x:d+l,y:v.y-2*m},{x:d+l+m,y:v.y-2*m},{x:d+l+m,y:p-m},{x:d+m,y:p-m},{x:d+m,y:p},{x:d,y:p},{x:d,y:p+m}],b=[{x:d,y:p+m},{x:d+l-m,y:p+m},{x:d+l-m,y:v.y-m},{x:d+l,y:v.y-m},{x:d+l,y:p},{x:d,y:p}],T=je.svg(i),C=Qe(e,{});e.look!=="handDrawn"&&(C.roughness=0,C.fillStyle="solid");let w=zt(x),E=T.path(w,C),_=zt(b),A=T.path(_,C),D=i.insert(()=>E,":first-child");return D.insert(()=>A),D.attr("class","basic label-container"),g&&e.look!=="handDrawn"&&D.selectAll("path").attr("style",g),n&&e.look!=="handDrawn"&&D.selectAll("path").attr("style",n),D.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-(a.width/2)-m-(a.x-(a.left??0))}, ${-(a.height/2)+m-h/2-(a.y-(a.top??0))})`),Ke(e,D),e.intersect=function(O){return Xe.polygon(e,x,O)},i}var iJ=N(()=>{"use strict";Ft();Ht();Wt();Gt();o(nJ,"multiWaveEdgedRectangle")});async function aJ(t,e,{config:{themeVariables:r}}){let{labelStyles:n,nodeStyles:i}=qe(e);e.labelStyle=n,e.useHtmlLabels||Qt().flowchart?.htmlLabels!==!1||(e.centerLabel=!0);let{shapeSvg:s,bbox:l,label:u}=await pt(t,e,ot(e)),h=Math.max(l.width+(e.padding??0)*2,e?.width??0),f=Math.max(l.height+(e.padding??0)*2,e?.height??0),d=-h/2,p=-f/2,{cssStyles:m}=e,g=je.svg(s),y=Qe(e,{fill:r.noteBkgColor,stroke:r.noteBorderColor});e.look!=="handDrawn"&&(y.roughness=0,y.fillStyle="solid");let v=g.rectangle(d,p,h,f,y),x=s.insert(()=>v,":first-child");return x.attr("class","basic label-container"),m&&e.look!=="handDrawn"&&x.selectAll("path").attr("style",m),i&&e.look!=="handDrawn"&&x.selectAll("path").attr("style",i),u.attr("transform",`translate(${-l.width/2-(l.x-(l.left??0))}, ${-(l.height/2)-(l.y-(l.top??0))})`),Ke(e,x),e.intersect=function(b){return Xe.rect(e,b)},s}var sJ=N(()=>{"use strict";Wt();Ht();Gt();Ft();Jn();o(aJ,"note")});async function oJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=a.width+e.padding,l=a.height+e.padding,u=s+l,h=.5,f=[{x:u/2,y:0},{x:u,y:-u/2},{x:u/2,y:-u},{x:0,y:-u/2}],d,{cssStyles:p}=e;if(e.look==="handDrawn"){let m=je.svg(i),g=Qe(e,{}),y=$De(0,0,u),v=m.path(y,g);d=i.insert(()=>v,":first-child").attr("transform",`translate(${-u/2+h}, ${u/2})`),p&&d.attr("style",p)}else d=Ms(i,u,u,f),d.attr("transform",`translate(${-u/2+h}, ${u/2})`);return n&&d.attr("style",n),Ke(e,d),e.intersect=function(m){return X.debug(`APA12 Intersect called SPLIT -point:`,m,` -node: -`,e,` -res:`,Xe.polygon(e,f,m)),Xe.polygon(e,f,m)},i}var $De,lJ=N(()=>{"use strict";yt();Ft();Ht();Gt();Wt();qh();$De=o((t,e,r)=>[`M${t+r/2},${e}`,`L${t+r},${e-r/2}`,`L${t+r/2},${e-r}`,`L${t},${e-r/2}`,"Z"].join(" "),"createDecisionBoxPathD");o(oJ,"question")});async function cJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=Math.max(a.width+(e.padding??0),e?.width??0),u=Math.max(a.height+(e.padding??0),e?.height??0),h=-l/2,f=-u/2,d=f/2,p=[{x:h+d,y:f},{x:h,y:0},{x:h+d,y:-f},{x:-h,y:-f},{x:-h,y:f}],{cssStyles:m}=e,g=je.svg(i),y=Qe(e,{});e.look!=="handDrawn"&&(y.roughness=0,y.fillStyle="solid");let v=zt(p),x=g.path(v,y),b=i.insert(()=>x,":first-child");return b.attr("class","basic label-container"),m&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",m),n&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",n),b.attr("transform",`translate(${-d/2},0)`),s.attr("transform",`translate(${-d/2-a.width/2-(a.x-(a.left??0))}, ${-(a.height/2)-(a.y-(a.top??0))})`),Ke(e,b),e.intersect=function(T){return Xe.polygon(e,p,T)},i}var uJ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(cJ,"rect_left_inv_arrow")});function zDe(t,e){e&&t.attr("style",e)}async function GDe(t){let e=Ge(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),n=ge(),i=t.label;t.label&&gi(t.label)&&(i=await yh(t.label.replace(Ze.lineBreakRegex,` -`),n));let s='"+i+"";return r.html(ar(s,n)),zDe(r,t.labelStyle),r.style("display","inline-block"),r.style("padding-right","1px"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}var VDe,xc,JT=N(()=>{"use strict";pr();qt();dr();yt();nr();o(zDe,"applyStyle");o(GDe,"addHtmlLabel");VDe=o(async(t,e,r,n)=>{let i=t||"";if(typeof i=="object"&&(i=i[0]),mr(ge().flowchart.htmlLabels)){i=i.replace(/\\n|\n/g,"
    "),X.info("vertexText"+i);let a={isNode:n,label:ta(i).replace(/fa[blrs]?:fa-[\w-]+/g,l=>``),labelStyle:e&&e.replace("fill:","color:")};return await GDe(a)}else{let a=document.createElementNS("http://www.w3.org/2000/svg","text");a.setAttribute("style",e.replace("color:","fill:"));let s=[];typeof i=="string"?s=i.split(/\\n|\n|/gi):Array.isArray(i)?s=i:s=[];for(let l of s){let u=document.createElementNS("http://www.w3.org/2000/svg","tspan");u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),u.setAttribute("dy","1em"),u.setAttribute("x","0"),r?u.setAttribute("class","title-row"):u.setAttribute("class","row"),u.textContent=l.trim(),a.appendChild(u)}return a}},"createLabel"),xc=VDe});async function hJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let i;e.cssClasses?i="node "+e.cssClasses:i="node default";let a=t.insert("g").attr("class",i).attr("id",e.domId||e.id),s=a.insert("g"),l=a.insert("g").attr("class","label").attr("style",n),u=e.description,h=e.label,f=l.node().appendChild(await xc(h,e.labelStyle,!0,!0)),d={width:0,height:0};if(mr(ge()?.flowchart?.htmlLabels)){let A=f.children[0],D=Ge(f);d=A.getBoundingClientRect(),D.attr("width",d.width),D.attr("height",d.height)}X.info("Text 2",u);let p=u||[],m=f.getBBox(),g=l.node().appendChild(await xc(p.join?p.join("
    "):p,e.labelStyle,!0,!0)),y=g.children[0],v=Ge(g);d=y.getBoundingClientRect(),v.attr("width",d.width),v.attr("height",d.height);let x=(e.padding||0)/2;Ge(g).attr("transform","translate( "+(d.width>m.width?0:(m.width-d.width)/2)+", "+(m.height+x+5)+")"),Ge(f).attr("transform","translate( "+(d.width(X.debug("Rough node insert CXC",O),R),":first-child"),E=a.insert(()=>(X.debug("Rough node insert CXC",O),O),":first-child")}else E=s.insert("rect",":first-child"),_=s.insert("line"),E.attr("class","outer title-state").attr("style",n).attr("x",-d.width/2-x).attr("y",-d.height/2-x).attr("width",d.width+(e.padding||0)).attr("height",d.height+(e.padding||0)),_.attr("class","divider").attr("x1",-d.width/2-x).attr("x2",d.width/2+x).attr("y1",-d.height/2-x+m.height+x).attr("y2",-d.height/2-x+m.height+x);return Ke(e,E),e.intersect=function(A){return Xe.rect(e,A)},a}var fJ=N(()=>{"use strict";pr();dr();Ft();JT();Ht();Gt();Wt();qt();$d();yt();o(hJ,"rectWithTitle")});function ew(t,e,r,n,i,a,s){let u=(t+r)/2,h=(e+n)/2,f=Math.atan2(n-e,r-t),d=(r-t)/2,p=(n-e)/2,m=d/i,g=p/a,y=Math.sqrt(m**2+g**2);if(y>1)throw new Error("The given radii are too small to create an arc between the points.");let v=Math.sqrt(1-y**2),x=u+v*a*Math.sin(f)*(s?-1:1),b=h-v*i*Math.cos(f)*(s?-1:1),T=Math.atan2((e-b)/a,(t-x)/i),w=Math.atan2((n-b)/a,(r-x)/i)-T;s&&w<0&&(w+=2*Math.PI),!s&&w>0&&(w-=2*Math.PI);let E=[];for(let _=0;_<20;_++){let A=_/19,D=T+A*w,O=x+i*Math.cos(D),R=b+a*Math.sin(D);E.push({x:O,y:R})}return E}async function dJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=e?.padding??0,l=e?.padding??0,u=(e?.width?e?.width:a.width)+s*2,h=(e?.height?e?.height:a.height)+l*2,f=5,d=5,{cssStyles:p}=e,m=je.svg(i),g=Qe(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let y=[{x:-u/2+d,y:-h/2},{x:u/2-d,y:-h/2},...ew(u/2-d,-h/2,u/2,-h/2+d,f,f,!0),{x:u/2,y:-h/2+d},{x:u/2,y:h/2-d},...ew(u/2,h/2-d,u/2-d,h/2,f,f,!0),{x:u/2-d,y:h/2},{x:-u/2+d,y:h/2},...ew(-u/2+d,h/2,-u/2,h/2-d,f,f,!0),{x:-u/2,y:h/2-d},{x:-u/2,y:-h/2+d},...ew(-u/2,-h/2+d,-u/2+d,-h/2,f,f,!0)],v=zt(y),x=m.path(v,g),b=i.insert(()=>x,":first-child");return b.attr("class","basic label-container outer-path"),p&&e.look!=="handDrawn"&&b.selectChildren("path").attr("style",p),n&&e.look!=="handDrawn"&&b.selectChildren("path").attr("style",n),Ke(e,b),e.intersect=function(T){return Xe.polygon(e,y,T)},i}var pJ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(ew,"generateArcPoints");o(dJ,"roundedRect")});async function mJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=e?.padding??0,u=Math.max(a.width+(e.padding??0)*2,e?.width??0),h=Math.max(a.height+(e.padding??0)*2,e?.height??0),f=-a.width/2-l,d=-a.height/2-l,{cssStyles:p}=e,m=je.svg(i),g=Qe(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let y=[{x:f,y:d},{x:f+u+8,y:d},{x:f+u+8,y:d+h},{x:f-8,y:d+h},{x:f-8,y:d},{x:f,y:d},{x:f,y:d+h}],v=m.polygon(y.map(b=>[b.x,b.y]),g),x=i.insert(()=>v,":first-child");return x.attr("class","basic label-container").attr("style",ii(p)),n&&e.look!=="handDrawn"&&x.selectAll("path").attr("style",n),p&&e.look!=="handDrawn"&&x.selectAll("path").attr("style",n),s.attr("transform",`translate(${-u/2+4+(e.padding??0)-(a.x-(a.left??0))},${-h/2+(e.padding??0)-(a.y-(a.top??0))})`),Ke(e,x),e.intersect=function(b){return Xe.rect(e,b)},i}var gJ=N(()=>{"use strict";Ft();Ht();Gt();Wt();nr();o(mJ,"shadedProcess")});async function yJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=-l/2,f=-u/2,{cssStyles:d}=e,p=je.svg(i),m=Qe(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=[{x:h,y:f},{x:h,y:f+u},{x:h+l,y:f+u},{x:h+l,y:f-u/2}],y=zt(g),v=p.path(y,m),x=i.insert(()=>v,":first-child");return x.attr("class","basic label-container"),d&&e.look!=="handDrawn"&&x.selectChildren("path").attr("style",d),n&&e.look!=="handDrawn"&&x.selectChildren("path").attr("style",n),x.attr("transform",`translate(0, ${u/4})`),s.attr("transform",`translate(${-l/2+(e.padding??0)-(a.x-(a.left??0))}, ${-u/4+(e.padding??0)-(a.y-(a.top??0))})`),Ke(e,x),e.intersect=function(b){return Xe.polygon(e,g,b)},i}var vJ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(yJ,"slopedRect")});async function xJ(t,e){let r={rx:0,ry:0,classes:"",labelPaddingX:(e?.padding||0)*2,labelPaddingY:(e?.padding||0)*1};return zd(t,e,r)}var bJ=N(()=>{"use strict";_2();o(xJ,"squareRect")});async function TJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=a.height+e.padding,l=a.width+s/4+e.padding,u=s/2,{cssStyles:h}=e,f=je.svg(i),d=Qe(e,{});e.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");let p=[{x:-l/2+u,y:-s/2},{x:l/2-u,y:-s/2},...Bd(-l/2+u,0,u,50,90,270),{x:l/2-u,y:s/2},...Bd(l/2-u,0,u,50,270,450)],m=zt(p),g=f.path(m,d),y=i.insert(()=>g,":first-child");return y.attr("class","basic label-container outer-path"),h&&e.look!=="handDrawn"&&y.selectChildren("path").attr("style",h),n&&e.look!=="handDrawn"&&y.selectChildren("path").attr("style",n),Ke(e,y),e.intersect=function(v){return Xe.polygon(e,p,v)},i}var wJ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(TJ,"stadium")});async function kJ(t,e){return zd(t,e,{rx:5,ry:5,classes:"flowchart-node"})}var EJ=N(()=>{"use strict";_2();o(kJ,"state")});function SJ(t,e,{config:{themeVariables:r}}){let{labelStyles:n,nodeStyles:i}=qe(e);e.labelStyle=n;let{cssStyles:a}=e,{lineColor:s,stateBorder:l,nodeBorder:u}=r,h=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),f=je.svg(h),d=Qe(e,{});e.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");let p=f.circle(0,0,14,{...d,stroke:s,strokeWidth:2}),m=l??u,g=f.circle(0,0,5,{...d,fill:m,stroke:m,strokeWidth:2,fillStyle:"solid"}),y=h.insert(()=>p,":first-child");return y.insert(()=>g),a&&y.selectAll("path").attr("style",a),i&&y.selectAll("path").attr("style",i),Ke(e,y),e.intersect=function(v){return Xe.circle(e,7,v)},h}var CJ=N(()=>{"use strict";Wt();Ht();Gt();Ft();o(SJ,"stateEnd")});function AJ(t,e,{config:{themeVariables:r}}){let{lineColor:n}=r,i=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a;if(e.look==="handDrawn"){let l=je.svg(i).circle(0,0,14,RQ(n));a=i.insert(()=>l),a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}else a=i.insert("circle",":first-child"),a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14);return Ke(e,a),e.intersect=function(s){return Xe.circle(e,7,s)},i}var _J=N(()=>{"use strict";Wt();Ht();Gt();Ft();o(AJ,"stateStart")});async function DJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=(e?.padding||0)/2,l=a.width+e.padding,u=a.height+e.padding,h=-a.width/2-s,f=-a.height/2-s,d=[{x:0,y:0},{x:l,y:0},{x:l,y:-u},{x:0,y:-u},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-u},{x:-8,y:-u},{x:-8,y:0}];if(e.look==="handDrawn"){let p=je.svg(i),m=Qe(e,{}),g=p.rectangle(h-8,f,l+16,u,m),y=p.line(h,f,h,f+u,m),v=p.line(h+l,f,h+l,f+u,m);i.insert(()=>y,":first-child"),i.insert(()=>v,":first-child");let x=i.insert(()=>g,":first-child"),{cssStyles:b}=e;x.attr("class","basic label-container").attr("style",ii(b)),Ke(e,x)}else{let p=Ms(i,l,u,d);n&&p.attr("style",n),Ke(e,p)}return e.intersect=function(p){return Xe.polygon(e,d,p)},i}var LJ=N(()=>{"use strict";Ft();Ht();Gt();Wt();qh();nr();o(DJ,"subroutine")});async function RJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,h=-l/2,f=.2*l,d=.2*l,{cssStyles:p}=e,m=je.svg(i),g=Qe(e,{}),y=[{x:u-f/2,y:h},{x:u+s+f/2,y:h},{x:u+s+f/2,y:h+l},{x:u-f/2,y:h+l}],v=[{x:u+s-f/2,y:h+l},{x:u+s+f/2,y:h+l},{x:u+s+f/2,y:h+l-d}];e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let x=zt(y),b=m.path(x,g),T=zt(v),C=m.path(T,{...g,fillStyle:"solid"}),w=i.insert(()=>C,":first-child");return w.insert(()=>b,":first-child"),w.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",p),n&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",n),Ke(e,w),e.intersect=function(E){return Xe.polygon(e,y,E)},i}var NJ=N(()=>{"use strict";Ft();Gt();Wt();Ht();o(RJ,"taggedRect")});async function MJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/4,f=.2*l,d=.2*u,p=u+h,{cssStyles:m}=e,g=je.svg(i),y=Qe(e,{});e.look!=="handDrawn"&&(y.roughness=0,y.fillStyle="solid");let v=[{x:-l/2-l/2*.1,y:p/2},...$o(-l/2-l/2*.1,p/2,l/2+l/2*.1,p/2,h,.8),{x:l/2+l/2*.1,y:-p/2},{x:-l/2-l/2*.1,y:-p/2}],x=-l/2+l/2*.1,b=-p/2-d*.4,T=[{x:x+l-f,y:(b+u)*1.4},{x:x+l,y:b+u-d},{x:x+l,y:(b+u)*.9},...$o(x+l,(b+u)*1.3,x+l-f,(b+u)*1.5,-u*.03,.5)],C=zt(v),w=g.path(C,y),E=zt(T),_=g.path(E,{...y,fillStyle:"solid"}),A=i.insert(()=>_,":first-child");return A.insert(()=>w,":first-child"),A.attr("class","basic label-container"),m&&e.look!=="handDrawn"&&A.selectAll("path").attr("style",m),n&&e.look!=="handDrawn"&&A.selectAll("path").attr("style",n),A.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-l/2+(e.padding??0)-(a.x-(a.left??0))},${-u/2+(e.padding??0)-h/2-(a.y-(a.top??0))})`),Ke(e,A),e.intersect=function(D){return Xe.polygon(e,v,D)},i}var IJ=N(()=>{"use strict";Ft();Ht();Wt();Gt();o(MJ,"taggedWaveEdgedRectangle")});async function OJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=Math.max(a.width+e.padding,e?.width||0),l=Math.max(a.height+e.padding,e?.height||0),u=-s/2,h=-l/2,f=i.insert("rect",":first-child");return f.attr("class","text").attr("style",n).attr("rx",0).attr("ry",0).attr("x",u).attr("y",h).attr("width",s).attr("height",l),Ke(e,f),e.intersect=function(d){return Xe.rect(e,d)},i}var PJ=N(()=>{"use strict";Ft();Ht();Gt();o(OJ,"text")});async function BJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s,halfPadding:l}=await pt(t,e,ot(e)),u=e.look==="neo"?l*2:l,h=a.height+u,f=h/2,d=f/(2.5+h/50),p=a.width+d+u,{cssStyles:m}=e,g;if(e.look==="handDrawn"){let y=je.svg(i),v=HDe(0,0,p,h,d,f),x=WDe(0,0,p,h,d,f),b=y.path(v,Qe(e,{})),T=y.path(x,Qe(e,{fill:"none"}));g=i.insert(()=>T,":first-child"),g=i.insert(()=>b,":first-child"),g.attr("class","basic label-container"),m&&g.attr("style",m)}else{let y=UDe(0,0,p,h,d,f);g=i.insert("path",":first-child").attr("d",y).attr("class","basic label-container").attr("style",ii(m)).attr("style",n),g.attr("class","basic label-container"),m&&g.selectAll("path").attr("style",m),n&&g.selectAll("path").attr("style",n)}return g.attr("label-offset-x",d),g.attr("transform",`translate(${-p/2}, ${h/2} )`),s.attr("transform",`translate(${-(a.width/2)-d-(a.x-(a.left??0))}, ${-(a.height/2)-(a.y-(a.top??0))})`),Ke(e,g),e.intersect=function(y){let v=Xe.rect(e,y),x=v.y-(e.y??0);if(f!=0&&(Math.abs(x)<(e.height??0)/2||Math.abs(x)==(e.height??0)/2&&Math.abs(v.x-(e.x??0))>(e.width??0)/2-d)){let b=d*d*(1-x*x/(f*f));b!=0&&(b=Math.sqrt(Math.abs(b))),b=d-b,y.x-(e.x??0)>0&&(b=-b),v.x+=b}return v},i}var UDe,HDe,WDe,FJ=N(()=>{"use strict";Ft();Gt();Wt();Ht();nr();UDe=o((t,e,r,n,i,a)=>`M${t},${e} +`),i=O3(n);return e===!1?i.replace(/ /g," "):i}function vQ(t,e={}){let r=mDe(t,e),n=Jr.lexer(r),i=[[]],a=0;function s(l,u="normal"){l.type==="text"?l.text.split(` +`).forEach((f,d)=>{d!==0&&(a++,i.push([])),f.split(" ").forEach(p=>{p=p.replace(/'/g,"'"),p&&i[a].push({content:p,type:u})})}):l.type==="strong"||l.type==="em"?l.tokens.forEach(h=>{s(h,l.type)}):l.type==="html"&&i[a].push({content:l.text,type:"normal"})}return o(s,"processNode"),n.forEach(l=>{l.type==="paragraph"?l.tokens?.forEach(u=>{s(u)}):l.type==="html"?i[a].push({content:l.text,type:"normal"}):i[a].push({content:l.raw,type:"normal"})}),i}function xQ(t,{markdownAutoWrap:e}={}){let r=Jr.lexer(t);function n(i){return i.type==="text"?e===!1?i.text.replace(/\n */g,"
    ").replace(/ /g," "):i.text.replace(/\n */g,"
    "):i.type==="strong"?`${i.tokens?.map(n).join("")}`:i.type==="em"?`${i.tokens?.map(n).join("")}`:i.type==="paragraph"?`

    ${i.tokens?.map(n).join("")}

    `:i.type==="space"?"":i.type==="html"?`${i.text}`:i.type==="escape"?i.text:(X.warn(`Unsupported markdown: ${i.type}`),i.raw)}return o(n,"output"),r.map(n).join("")}var bQ=N(()=>{"use strict";yQ();wA();pt();o(mDe,"preprocessMarkdown");o(vQ,"markdownToLines");o(xQ,"markdownToHTML")});function gDe(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(e=>e.segment):[...t]}function yDe(t,e){let r=gDe(e.content);return TQ(t,[],r,e.type)}function TQ(t,e,r,n){if(r.length===0)return[{content:e.join(""),type:n},{content:"",type:n}];let[i,...a]=r,s=[...e,i];return t([{content:s.join(""),type:n}])?TQ(t,s,a,n):(e.length===0&&i&&(e.push(i),r.shift()),[{content:e.join(""),type:n},{content:r.join(""),type:n}])}function wQ(t,e){if(t.some(({content:r})=>r.includes(` +`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return p9(t,e)}function p9(t,e,r=[],n=[]){if(t.length===0)return n.length>0&&r.push(n),r.length>0?r:[];let i="";t[0].content===" "&&(i=" ",t.shift());let a=t.shift()??{content:" ",type:"normal"},s=[...n];if(i!==""&&s.push({content:i,type:"normal"}),s.push(a),e(s))return p9(t,e,r,s);if(n.length>0)r.push(n),t.unshift(a);else if(a.content){let[l,u]=yDe(e,a);r.push([l]),u.content&&t.unshift(u)}return p9(t,e,r)}var kQ=N(()=>{"use strict";o(gDe,"splitTextToChars");o(yDe,"splitWordToFitWidth");o(TQ,"splitWordToFitWidthRecursion");o(wQ,"splitLineToFitWidth");o(p9,"splitLineToFitWidthRecursion")});function EQ(t,e){e&&t.attr("style",e)}async function vDe(t,e,r,n,i=!1,a=Qt()){let s=t.append("foreignObject");s.attr("width",`${10*r}px`),s.attr("height",`${10*r}px`);let l=s.append("xhtml:div"),u=xn(e.label)?await bh(e.label.replace(Je.lineBreakRegex,` +`),a):ar(e.label,a),h=e.isNode?"nodeLabel":"edgeLabel",f=l.append("span");f.html(u),EQ(f,e.labelStyle),f.attr("class",`${h} ${n}`),EQ(l,e.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("line-height","1.5"),l.style("max-width",r+"px"),l.style("text-align","center"),l.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&l.attr("class","labelBkg");let d=l.node().getBoundingClientRect();return d.width===r&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",r+"px"),d=l.node().getBoundingClientRect()),s.node()}function m9(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}function xDe(t,e,r){let n=t.append("text"),i=m9(n,1,e);g9(i,r);let a=i.node().getComputedTextLength();return n.remove(),a}function SQ(t,e,r){let n=t.append("text"),i=m9(n,1,e);g9(i,[{content:r,type:"normal"}]);let a=i.node()?.getBoundingClientRect();return a&&n.remove(),a}function bDe(t,e,r,n=!1){let a=e.append("g"),s=a.insert("rect").attr("class","background").attr("style","stroke: none"),l=a.append("text").attr("y","-10.1"),u=0;for(let h of r){let f=o(p=>xDe(a,1.1,p)<=t,"checkWidth"),d=f(h)?[h]:wQ(h,f);for(let p of d){let m=m9(l,u,1.1);g9(m,p),u++}}if(n){let h=l.node().getBBox(),f=2;return s.attr("x",h.x-f).attr("y",h.y-f).attr("width",h.width+2*f).attr("height",h.height+2*f),a.node()}else return l.node()}function g9(t,e){t.text(""),e.forEach((r,n)=>{let i=t.append("tspan").attr("font-style",r.type==="em"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",r.type==="strong"?"bold":"normal");n===0?i.text(r.content):i.text(" "+r.content)})}async function y9(t,e={}){let r=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(i,a,s)=>(r.push((async()=>{let l=`${a}:${s}`;return await MV(l)?await As(l,void 0,{class:"label-icon"}):``})()),i));let n=await Promise.all(r);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>n.shift()??"")}var pi,$o=N(()=>{"use strict";pr();dr();pt();bQ();tr();rc();kQ();Wn();o(EQ,"applyStyle");o(vDe,"addHtmlSpan");o(m9,"createTspan");o(xDe,"computeWidthOfText");o(SQ,"computeDimensionOfText");o(bDe,"createFormattedText");o(g9,"updateTextContentAndStyles");o(y9,"replaceIconSubstring");pi=o(async(t,e="",{style:r="",isTitle:n=!1,classes:i="",useHtmlLabels:a=!0,isNode:s=!0,width:l=200,addSvgBackground:u=!1}={},h)=>{if(X.debug("XYZ createText",e,r,n,i,a,s,"addSvgBackground: ",u),a){let f=xQ(e,h),d=await y9(ea(f),h),p=e.replace(/\\\\/g,"\\"),m={isNode:s,label:xn(e)?p:d,labelStyle:r.replace("fill:","color:")};return await vDe(t,m,l,i,u,h)}else{let f=e.replace(//g,"
    "),d=vQ(f.replace("
    ","
    "),h),p=bDe(l,t,d,e?u:!1);if(s){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));let m=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");ze(p).attr("style",m)}else{let m=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");ze(p).select("rect").attr("style",m.replace(/background:/g,"fill:"));let g=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");ze(p).select("text").attr("style",g)}return p}},"createText")});function zt(t){let e=t.map((r,n)=>`${n===0?"M":"L"}${r.x},${r.y}`);return e.push("Z"),e.join(" ")}function Go(t,e,r,n,i,a){let s=[],u=r-t,h=n-e,f=u/a,d=2*Math.PI/f,p=e+h/2;for(let m=0;m<=50;m++){let g=m/50,y=t+g*u,x=p+i*Math.sin(d*(y-t));s.push({x:y,y:x})}return s}function qd(t,e,r,n,i,a){let s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let d=0;d{"use strict";$o();Xt();pr();_a();dr();tr();lt=o(async(t,e,r)=>{let n,i=e.useHtmlLabels||mr(ge()?.htmlLabels);r?n=r:n="node default";let a=t.insert("g").attr("class",n).attr("id",e.domId||e.id),s=a.insert("g").attr("class","label").attr("style",wn(e.labelStyle)),l;e.label===void 0?l="":l=typeof e.label=="string"?e.label:e.label[0];let u=await pi(s,ar(ea(l),ge()),{useHtmlLabels:i,width:e.width||ge().flowchart?.wrappingWidth,cssClasses:"markdown-node-label",style:e.labelStyle,addSvgBackground:!!e.icon||!!e.img}),h=u.getBBox(),f=(e?.padding??0)/2;if(i){let d=u.children[0],p=ze(u),m=d.getElementsByTagName("img");if(m){let g=l.replace(/]*>/g,"").trim()==="";await Promise.all([...m].map(y=>new Promise(x=>{function v(){if(y.style.display="flex",y.style.flexDirection="column",g){let b=ge().fontSize?ge().fontSize:window.getComputedStyle(document.body).fontSize,T=5,[S=lr.fontSize]=yc(b),w=S*T+"px";y.style.minWidth=w,y.style.maxWidth=w}else y.style.width="100%";x(y)}o(v,"setupImage"),setTimeout(()=>{y.complete&&v()}),y.addEventListener("error",v),y.addEventListener("load",v)})))}h=d.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}return i?s.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"):s.attr("transform","translate(0, "+-h.height/2+")"),e.centerLabel&&s.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),s.insert("rect",":first-child"),{shapeSvg:a,bbox:h,halfPadding:f,label:s}},"labelHelper"),YT=o(async(t,e,r)=>{let n=r.useHtmlLabels||mr(ge()?.flowchart?.htmlLabels),i=t.insert("g").attr("class","label").attr("style",r.labelStyle||""),a=await pi(i,ar(ea(e),ge()),{useHtmlLabels:n,width:r.width||ge()?.flowchart?.wrappingWidth,style:r.labelStyle,addSvgBackground:!!r.icon||!!r.img}),s=a.getBBox(),l=r.padding/2;if(mr(ge()?.flowchart?.htmlLabels)){let u=a.children[0],h=ze(a);s=u.getBoundingClientRect(),h.attr("width",s.width),h.attr("height",s.height)}return n?i.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"):i.attr("transform","translate(0, "+-s.height/2+")"),r.centerLabel&&i.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),i.insert("rect",":first-child"),{shapeSvg:t,bbox:s,halfPadding:l,label:i}},"insertLabel"),Xe=o((t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds"),rt=o((t,e)=>(t.look==="handDrawn"?"rough-node":"node")+" "+t.cssClasses+" "+(e||""),"getNodeClasses");o(zt,"createPathFromPoints");o(Go,"generateFullSineWavePoints");o(qd,"generateCirclePoints")});function TDe(t,e){return t.intersect(e)}var CQ,AQ=N(()=>{"use strict";o(TDe,"intersectNode");CQ=TDe});function wDe(t,e,r,n){var i=t.x,a=t.y,s=i-n.x,l=a-n.y,u=Math.sqrt(e*e*l*l+r*r*s*s),h=Math.abs(e*r*s/u);n.x{"use strict";o(wDe,"intersectEllipse");XT=wDe});function kDe(t,e,r){return XT(t,e,e,r)}var _Q,DQ=N(()=>{"use strict";v9();o(kDe,"intersectCircle");_Q=kDe});function EDe(t,e,r,n){{let i=e.y-t.y,a=t.x-e.x,s=e.x*t.y-t.x*e.y,l=i*r.x+a*r.y+s,u=i*n.x+a*n.y+s,h=1e-6;if(l!==0&&u!==0&&LQ(l,u))return;let f=n.y-r.y,d=r.x-n.x,p=n.x*r.y-r.x*n.y,m=f*t.x+d*t.y+p,g=f*e.x+d*e.y+p;if(Math.abs(m)0}var RQ,NQ=N(()=>{"use strict";o(EDe,"intersectLine");o(LQ,"sameSign");RQ=EDe});function SDe(t,e,r){let n=t.x,i=t.y,a=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;typeof e.forEach=="function"?e.forEach(function(f){s=Math.min(s,f.x),l=Math.min(l,f.y)}):(s=Math.min(s,e.x),l=Math.min(l,e.y));let u=n-t.width/2-s,h=i-t.height/2-l;for(let f=0;f1&&a.sort(function(f,d){let p=f.x-r.x,m=f.y-r.y,g=Math.sqrt(p*p+m*m),y=d.x-r.x,x=d.y-r.y,v=Math.sqrt(y*y+x*x);return g{"use strict";NQ();o(SDe,"intersectPolygon");MQ=SDe});var CDe,jh,x9=N(()=>{"use strict";CDe=o((t,e)=>{var r=t.x,n=t.y,i=e.x-r,a=e.y-n,s=t.width/2,l=t.height/2,u,h;return Math.abs(a)*s>Math.abs(i)*l?(a<0&&(l=-l),u=a===0?0:l*i/a,h=l):(i<0&&(s=-s),u=s,h=i===0?0:s*a/i),{x:r+u,y:n+h}},"intersectRect"),jh=CDe});var He,Vt=N(()=>{"use strict";AQ();DQ();v9();IQ();x9();He={node:CQ,circle:_Q,ellipse:XT,polygon:MQ,rect:jh}});var OQ,bc,ADe,S2,We,Ke,_De,Ft=N(()=>{"use strict";Xt();OQ=o(t=>{let{handDrawnSeed:e}=ge();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),bc=o(t=>{let e=ADe([...t.cssCompiledStyles||[],...t.cssStyles||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),ADe=o(t=>{let e=new Map;return t.forEach(r=>{let[n,i]=r.split(":");e.set(n.trim(),i?.trim())}),e},"styles2Map"),S2=o(t=>t==="color"||t==="font-size"||t==="font-family"||t==="font-weight"||t==="font-style"||t==="text-decoration"||t==="text-align"||t==="text-transform"||t==="line-height"||t==="letter-spacing"||t==="word-spacing"||t==="text-shadow"||t==="text-overflow"||t==="white-space"||t==="word-wrap"||t==="word-break"||t==="overflow-wrap"||t==="hyphens","isLabelStyle"),We=o(t=>{let{stylesArray:e}=bc(t),r=[],n=[],i=[],a=[];return e.forEach(s=>{let l=s[0];S2(l)?r.push(s.join(":")+" !important"):(n.push(s.join(":")+" !important"),l.includes("stroke")&&i.push(s.join(":")+" !important"),l==="fill"&&a.push(s.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:n.join(";"),stylesArray:e,borderStyles:i,backgroundStyles:a}},"styles2String"),Ke=o((t,e)=>{let{themeVariables:r,handDrawnSeed:n}=ge(),{nodeBorder:i,mainBkg:a}=r,{stylesMap:s}=bc(t);return Object.assign({roughness:.7,fill:s.get("fill")||a,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:s.get("stroke")||i,seed:n,strokeWidth:s.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:_De(s.get("stroke-dasharray"))},e)},"userNodeOverrides"),_De=o(t=>{if(!t)return[0,0];let e=t.trim().split(/\s+/).map(Number);if(e.length===1){let i=isNaN(e[0])?0:e[0];return[i,i]}let r=isNaN(e[0])?0:e[0],n=isNaN(e[1])?0:e[1];return[r,n]},"getStrokeDashArray")});function b9(t,e,r){if(t&&t.length){let[n,i]=e,a=Math.PI/180*r,s=Math.cos(a),l=Math.sin(a);for(let u of t){let[h,f]=u;u[0]=(h-n)*s-(f-i)*l+n,u[1]=(h-n)*l+(f-i)*s+i}}}function DDe(t,e){return t[0]===e[0]&&t[1]===e[1]}function LDe(t,e,r,n=1){let i=r,a=Math.max(e,.1),s=t[0]&&t[0][0]&&typeof t[0][0]=="number"?[t]:t,l=[0,0];if(i)for(let h of s)b9(h,l,i);let u=function(h,f,d){let p=[];for(let b of h){let T=[...b];DDe(T[0],T[T.length-1])||T.push([T[0][0],T[0][1]]),T.length>2&&p.push(T)}let m=[];f=Math.max(f,.1);let g=[];for(let b of p)for(let T=0;Tb.yminT.ymin?1:b.xT.x?1:b.ymax===T.ymax?0:(b.ymax-T.ymax)/Math.abs(b.ymax-T.ymax)),!g.length)return m;let y=[],x=g[0].ymin,v=0;for(;y.length||g.length;){if(g.length){let b=-1;for(let T=0;Tx);T++)b=T;g.splice(0,b+1).forEach(T=>{y.push({s:x,edge:T})})}if(y=y.filter(b=>!(b.edge.ymax<=x)),y.sort((b,T)=>b.edge.x===T.edge.x?0:(b.edge.x-T.edge.x)/Math.abs(b.edge.x-T.edge.x)),(d!==1||v%f==0)&&y.length>1)for(let b=0;b=y.length)break;let S=y[b].edge,w=y[T].edge;m.push([[Math.round(S.x),x],[Math.round(w.x),x]])}x+=d,y.forEach(b=>{b.edge.x=b.edge.x+d*b.edge.islope}),v++}return m}(s,a,n);if(i){for(let h of s)b9(h,l,-i);(function(h,f,d){let p=[];h.forEach(m=>p.push(...m)),b9(p,f,d)})(u,l,-i)}return u}function D2(t,e){var r;let n=e.hachureAngle+90,i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.round(Math.max(i,.1));let a=1;return e.roughness>=1&&(((r=e.randomizer)===null||r===void 0?void 0:r.next())||Math.random())>.7&&(a=i),LDe(t,i,n,a||1)}function nw(t){let e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}function w9(t,e){return t.type===e}function P9(t){let e=[],r=function(s){let l=new Array;for(;s!=="";)if(s.match(/^([ \t\r\n,]+)/))s=s.substr(RegExp.$1.length);else if(s.match(/^([aAcChHlLmMqQsStTvVzZ])/))l[l.length]={type:RDe,text:RegExp.$1},s=s.substr(RegExp.$1.length);else{if(!s.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];l[l.length]={type:T9,text:`${parseFloat(RegExp.$1)}`},s=s.substr(RegExp.$1.length)}return l[l.length]={type:PQ,text:""},l}(t),n="BOD",i=0,a=r[i];for(;!w9(a,PQ);){let s=0,l=[];if(n==="BOD"){if(a.text!=="M"&&a.text!=="m")return P9("M0,0"+t);i++,s=jT[a.text],n=a.text}else w9(a,T9)?s=jT[n]:(i++,s=jT[a.text],n=a.text);if(!(i+sf%2?h+r:h+e);a.push({key:"C",data:u}),e=u[4],r=u[5];break}case"Q":a.push({key:"Q",data:[...l]}),e=l[2],r=l[3];break;case"q":{let u=l.map((h,f)=>f%2?h+r:h+e);a.push({key:"Q",data:u}),e=u[2],r=u[3];break}case"A":a.push({key:"A",data:[...l]}),e=l[5],r=l[6];break;case"a":e+=l[5],r+=l[6],a.push({key:"A",data:[l[0],l[1],l[2],l[3],l[4],e,r]});break;case"H":a.push({key:"H",data:[...l]}),e=l[0];break;case"h":e+=l[0],a.push({key:"H",data:[e]});break;case"V":a.push({key:"V",data:[...l]}),r=l[0];break;case"v":r+=l[0],a.push({key:"V",data:[r]});break;case"S":a.push({key:"S",data:[...l]}),e=l[2],r=l[3];break;case"s":{let u=l.map((h,f)=>f%2?h+r:h+e);a.push({key:"S",data:u}),e=u[2],r=u[3];break}case"T":a.push({key:"T",data:[...l]}),e=l[0],r=l[1];break;case"t":e+=l[0],r+=l[1],a.push({key:"T",data:[e,r]});break;case"Z":case"z":a.push({key:"Z",data:[]}),e=n,r=i}return a}function WQ(t){let e=[],r="",n=0,i=0,a=0,s=0,l=0,u=0;for(let{key:h,data:f}of t){switch(h){case"M":e.push({key:"M",data:[...f]}),[n,i]=f,[a,s]=f;break;case"C":e.push({key:"C",data:[...f]}),n=f[4],i=f[5],l=f[2],u=f[3];break;case"L":e.push({key:"L",data:[...f]}),[n,i]=f;break;case"H":n=f[0],e.push({key:"L",data:[n,i]});break;case"V":i=f[0],e.push({key:"L",data:[n,i]});break;case"S":{let d=0,p=0;r==="C"||r==="S"?(d=n+(n-l),p=i+(i-u)):(d=n,p=i),e.push({key:"C",data:[d,p,...f]}),l=f[0],u=f[1],n=f[2],i=f[3];break}case"T":{let[d,p]=f,m=0,g=0;r==="Q"||r==="T"?(m=n+(n-l),g=i+(i-u)):(m=n,g=i);let y=n+2*(m-n)/3,x=i+2*(g-i)/3,v=d+2*(m-d)/3,b=p+2*(g-p)/3;e.push({key:"C",data:[y,x,v,b,d,p]}),l=m,u=g,n=d,i=p;break}case"Q":{let[d,p,m,g]=f,y=n+2*(d-n)/3,x=i+2*(p-i)/3,v=m+2*(d-m)/3,b=g+2*(p-g)/3;e.push({key:"C",data:[y,x,v,b,m,g]}),l=d,u=p,n=m,i=g;break}case"A":{let d=Math.abs(f[0]),p=Math.abs(f[1]),m=f[2],g=f[3],y=f[4],x=f[5],v=f[6];d===0||p===0?(e.push({key:"C",data:[n,i,x,v,x,v]}),n=x,i=v):(n!==x||i!==v)&&(qQ(n,i,x,v,d,p,m,g,y).forEach(function(b){e.push({key:"C",data:b})}),n=x,i=v);break}case"Z":e.push({key:"Z",data:[]}),n=a,i=s}r=h}return e}function C2(t,e,r){return[t*Math.cos(r)-e*Math.sin(r),t*Math.sin(r)+e*Math.cos(r)]}function qQ(t,e,r,n,i,a,s,l,u,h){let f=(d=s,Math.PI*d/180);var d;let p=[],m=0,g=0,y=0,x=0;if(h)[m,g,y,x]=h;else{[t,e]=C2(t,e,-f),[r,n]=C2(r,n,-f);let L=(t-r)/2,C=(e-n)/2,I=L*L/(i*i)+C*C/(a*a);I>1&&(I=Math.sqrt(I),i*=I,a*=I);let M=i*i,P=a*a,B=M*P-M*C*C-P*L*L,F=M*C*C+P*L*L,G=(l===u?-1:1)*Math.sqrt(Math.abs(B/F));y=G*i*C/a+(t+r)/2,x=G*-a*L/i+(e+n)/2,m=Math.asin(parseFloat(((e-x)/a).toFixed(9))),g=Math.asin(parseFloat(((n-x)/a).toFixed(9))),tg&&(m-=2*Math.PI),!u&&g>m&&(g-=2*Math.PI)}let v=g-m;if(Math.abs(v)>120*Math.PI/180){let L=g,C=r,I=n;g=u&&g>m?m+120*Math.PI/180*1:m+120*Math.PI/180*-1,p=qQ(r=y+i*Math.cos(g),n=x+a*Math.sin(g),C,I,i,a,s,0,u,[g,L,y,x])}v=g-m;let b=Math.cos(m),T=Math.sin(m),S=Math.cos(g),w=Math.sin(g),E=Math.tan(v/4),_=4/3*i*E,A=4/3*a*E,D=[t,e],O=[t+_*T,e-A*b],R=[r+_*w,n-A*S],k=[r,n];if(O[0]=2*D[0]-O[0],O[1]=2*D[1]-O[1],h)return[O,R,k].concat(p);{p=[O,R,k].concat(p);let L=[];for(let C=0;C2){let i=[];for(let a=0;a2*Math.PI&&(m=0,g=2*Math.PI);let y=2*Math.PI/u.curveStepCount,x=Math.min(y/2,(g-m)/2),v=VQ(x,h,f,d,p,m,g,1,u);if(!u.disableMultiStroke){let b=VQ(x,h,f,d,p,m,g,1.5,u);v.push(...b)}return s&&(l?v.push(...Kh(h,f,h+d*Math.cos(m),f+p*Math.sin(m),u),...Kh(h,f,h+d*Math.cos(g),f+p*Math.sin(g),u)):v.push({op:"lineTo",data:[h,f]},{op:"lineTo",data:[h+d*Math.cos(m),f+p*Math.sin(m)]})),{type:"path",ops:v}}function $Q(t,e){let r=WQ(HQ(P9(t))),n=[],i=[0,0],a=[0,0];for(let{key:s,data:l}of r)switch(s){case"M":a=[l[0],l[1]],i=[l[0],l[1]];break;case"L":n.push(...Kh(a[0],a[1],l[0],l[1],e)),a=[l[0],l[1]];break;case"C":{let[u,h,f,d,p,m]=l;n.push(...IDe(u,h,f,d,p,m,a,e)),a=[p,m];break}case"Z":n.push(...Kh(a[0],a[1],i[0],i[1],e)),a=[i[0],i[1]]}return{type:"path",ops:n}}function k9(t,e){let r=[];for(let n of t)if(n.length){let i=e.maxRandomnessOffset||0,a=n.length;if(a>2){r.push({op:"move",data:[n[0][0]+sr(i,e),n[0][1]+sr(i,e)]});for(let s=1;s500?.4:-.0016668*u+1.233334;let f=i.maxRandomnessOffset||0;f*f*100>l&&(f=u/10);let d=f/2,p=.2+.2*jQ(i),m=i.bowing*i.maxRandomnessOffset*(n-e)/200,g=i.bowing*i.maxRandomnessOffset*(t-r)/200;m=sr(m,i,h),g=sr(g,i,h);let y=[],x=o(()=>sr(d,i,h),"M"),v=o(()=>sr(f,i,h),"k"),b=i.preserveVertices;return a&&(s?y.push({op:"move",data:[t+(b?0:x()),e+(b?0:x())]}):y.push({op:"move",data:[t+(b?0:sr(f,i,h)),e+(b?0:sr(f,i,h))]})),s?y.push({op:"bcurveTo",data:[m+t+(r-t)*p+x(),g+e+(n-e)*p+x(),m+t+2*(r-t)*p+x(),g+e+2*(n-e)*p+x(),r+(b?0:x()),n+(b?0:x())]}):y.push({op:"bcurveTo",data:[m+t+(r-t)*p+v(),g+e+(n-e)*p+v(),m+t+2*(r-t)*p+v(),g+e+2*(n-e)*p+v(),r+(b?0:v()),n+(b?0:v())]}),y}function KT(t,e,r){if(!t.length)return[];let n=[];n.push([t[0][0]+sr(e,r),t[0][1]+sr(e,r)]),n.push([t[0][0]+sr(e,r),t[0][1]+sr(e,r)]);for(let i=1;i3){let a=[],s=1-r.curveTightness;i.push({op:"move",data:[t[1][0],t[1][1]]});for(let l=1;l+21&&i.push(l)):i.push(l),i.push(t[e+3])}else{let u=t[e+0],h=t[e+1],f=t[e+2],d=t[e+3],p=Yd(u,h,.5),m=Yd(h,f,.5),g=Yd(f,d,.5),y=Yd(p,m,.5),x=Yd(m,g,.5),v=Yd(y,x,.5);M9([u,p,y,v],0,r,i),M9([v,x,g,d],0,r,i)}var a,s;return i}function PDe(t,e){return rw(t,0,t.length,e)}function rw(t,e,r,n,i){let a=i||[],s=t[e],l=t[r-1],u=0,h=1;for(let f=e+1;fu&&(u=d,h=f)}return Math.sqrt(u)>n?(rw(t,e,h+1,n,a),rw(t,h,r,n,a)):(a.length||a.push(s),a.push(l)),a}function E9(t,e=.15,r){let n=[],i=(t.length-1)/3;for(let a=0;a0?rw(n,0,n.length,r):n}var _2,S9,C9,A9,_9,D9,Os,L9,RDe,T9,PQ,jT,NDe,so,bm,I9,QT,O9,je,Ut=N(()=>{"use strict";o(b9,"t");o(DDe,"e");o(LDe,"s");o(D2,"n");_2=class{static{o(this,"o")}constructor(e){this.helper=e}fillPolygons(e,r){return this._fillPolygons(e,r)}_fillPolygons(e,r){let n=D2(e,r);return{type:"fillSketch",ops:this.renderLines(n,r)}}renderLines(e,r){let n=[];for(let i of e)n.push(...this.helper.doubleLineOps(i[0][0],i[0][1],i[1][0],i[1][1],r));return n}};o(nw,"a");S9=class extends _2{static{o(this,"h")}fillPolygons(e,r){let n=r.hachureGap;n<0&&(n=4*r.strokeWidth),n=Math.max(n,.1);let i=D2(e,Object.assign({},r,{hachureGap:n})),a=Math.PI/180*r.hachureAngle,s=[],l=.5*n*Math.cos(a),u=.5*n*Math.sin(a);for(let[h,f]of i)nw([h,f])&&s.push([[h[0]-l,h[1]+u],[...f]],[[h[0]+l,h[1]-u],[...f]]);return{type:"fillSketch",ops:this.renderLines(s,r)}}},C9=class extends _2{static{o(this,"r")}fillPolygons(e,r){let n=this._fillPolygons(e,r),i=Object.assign({},r,{hachureAngle:r.hachureAngle+90}),a=this._fillPolygons(e,i);return n.ops=n.ops.concat(a.ops),n}},A9=class{static{o(this,"i")}constructor(e){this.helper=e}fillPolygons(e,r){let n=D2(e,r=Object.assign({},r,{hachureAngle:0}));return this.dotsOnLines(n,r)}dotsOnLines(e,r){let n=[],i=r.hachureGap;i<0&&(i=4*r.strokeWidth),i=Math.max(i,.1);let a=r.fillWeight;a<0&&(a=r.strokeWidth/2);let s=i/4;for(let l of e){let u=nw(l),h=u/i,f=Math.ceil(h)-1,d=u-f*i,p=(l[0][0]+l[1][0])/2-i/4,m=Math.min(l[0][1],l[1][1]);for(let g=0;g{let l=nw(s),u=Math.floor(l/(n+i)),h=(l+i-u*(n+i))/2,f=s[0],d=s[1];f[0]>d[0]&&(f=s[1],d=s[0]);let p=Math.atan((d[1]-f[1])/(d[0]-f[0]));for(let m=0;m{let s=nw(a),l=Math.round(s/(2*r)),u=a[0],h=a[1];u[0]>h[0]&&(u=a[1],h=a[0]);let f=Math.atan((h[1]-u[1])/(h[0]-u[0]));for(let d=0;d2*Math.PI&&(_=0,A=2*Math.PI);let D=(A-_)/b.curveStepCount,O=[];for(let R=_;R<=A;R+=D)O.push([T+w*Math.cos(R),S+E*Math.sin(R)]);return O.push([T+w*Math.cos(A),S+E*Math.sin(A)]),O.push([T,S]),xm([O],b)}(e,r,n,i,a,s,h));return h.stroke!==so&&f.push(d),this._d("arc",f,h)}curve(e,r){let n=this._o(r),i=[],a=BQ(e,n);if(n.fill&&n.fill!==so)if(n.fillStyle==="solid"){let s=BQ(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(s.ops)})}else{let s=[],l=e;if(l.length){let u=typeof l[0][0]=="number"?[l]:l;for(let h of u)h.length<3?s.push(...h):h.length===3?s.push(...E9(UQ([h[0],h[0],h[1],h[2]]),10,(1+n.roughness)/2)):s.push(...E9(UQ(h),10,(1+n.roughness)/2))}s.length&&i.push(xm([s],n))}return n.stroke!==so&&i.push(a),this._d("curve",i,n)}polygon(e,r){let n=this._o(r),i=[],a=ZT(e,!0,n);return n.fill&&(n.fillStyle==="solid"?i.push(k9([e],n)):i.push(xm([e],n))),n.stroke!==so&&i.push(a),this._d("polygon",i,n)}path(e,r){let n=this._o(r),i=[];if(!e)return this._d("path",i,n);e=(e||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let a=n.fill&&n.fill!=="transparent"&&n.fill!==so,s=n.stroke!==so,l=!!(n.simplification&&n.simplification<1),u=function(f,d,p){let m=WQ(HQ(P9(f))),g=[],y=[],x=[0,0],v=[],b=o(()=>{v.length>=4&&y.push(...E9(v,d)),v=[]},"i"),T=o(()=>{b(),y.length&&(g.push(y),y=[])},"c");for(let{key:w,data:E}of m)switch(w){case"M":T(),x=[E[0],E[1]],y.push(x);break;case"L":b(),y.push([E[0],E[1]]);break;case"C":if(!v.length){let _=y.length?y[y.length-1]:x;v.push([_[0],_[1]])}v.push([E[0],E[1]]),v.push([E[2],E[3]]),v.push([E[4],E[5]]);break;case"Z":b(),y.push([x[0],x[1]])}if(T(),!p)return g;let S=[];for(let w of g){let E=PDe(w,p);E.length&&S.push(E)}return S}(e,1,l?4-4*(n.simplification||1):(1+n.roughness)/2),h=$Q(e,n);if(a)if(n.fillStyle==="solid")if(u.length===1){let f=$Q(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(f.ops)})}else i.push(k9(u,n));else i.push(xm(u,n));return s&&(l?u.forEach(f=>{i.push(ZT(f,!1,n))}):i.push(h)),this._d("path",i,n)}opsToPath(e,r){let n="";for(let i of e.ops){let a=typeof r=="number"&&r>=0?i.data.map(s=>+s.toFixed(r)):i.data;switch(i.op){case"move":n+=`M${a[0]} ${a[1]} `;break;case"bcurveTo":n+=`C${a[0]} ${a[1]}, ${a[2]} ${a[3]}, ${a[4]} ${a[5]} `;break;case"lineTo":n+=`L${a[0]} ${a[1]} `}}return n.trim()}toPaths(e){let r=e.sets||[],n=e.options||this.defaultOptions,i=[];for(let a of r){let s=null;switch(a.type){case"path":s={d:this.opsToPath(a),stroke:n.stroke,strokeWidth:n.strokeWidth,fill:so};break;case"fillPath":s={d:this.opsToPath(a),stroke:so,strokeWidth:0,fill:n.fill||so};break;case"fillSketch":s=this.fillSketch(a,n)}s&&i.push(s)}return i}fillSketch(e,r){let n=r.fillWeight;return n<0&&(n=r.strokeWidth/2),{d:this.opsToPath(e),stroke:r.fill||so,strokeWidth:n,fill:so}}_mergedShape(e){return e.filter((r,n)=>n===0||r.op!=="move")}},I9=class{static{o(this,"st")}constructor(e,r){this.canvas=e,this.ctx=this.canvas.getContext("2d"),this.gen=new bm(r)}draw(e){let r=e.sets||[],n=e.options||this.getDefaultOptions(),i=this.ctx,a=e.options.fixedDecimalPlaceDigits;for(let s of r)switch(s.type){case"path":i.save(),i.strokeStyle=n.stroke==="none"?"transparent":n.stroke,i.lineWidth=n.strokeWidth,n.strokeLineDash&&i.setLineDash(n.strokeLineDash),n.strokeLineDashOffset&&(i.lineDashOffset=n.strokeLineDashOffset),this._drawToContext(i,s,a),i.restore();break;case"fillPath":{i.save(),i.fillStyle=n.fill||"";let l=e.shape==="curve"||e.shape==="polygon"||e.shape==="path"?"evenodd":"nonzero";this._drawToContext(i,s,a,l),i.restore();break}case"fillSketch":this.fillSketch(i,s,n)}}fillSketch(e,r,n){let i=n.fillWeight;i<0&&(i=n.strokeWidth/2),e.save(),n.fillLineDash&&e.setLineDash(n.fillLineDash),n.fillLineDashOffset&&(e.lineDashOffset=n.fillLineDashOffset),e.strokeStyle=n.fill||"",e.lineWidth=i,this._drawToContext(e,r,n.fixedDecimalPlaceDigits),e.restore()}_drawToContext(e,r,n,i="nonzero"){e.beginPath();for(let a of r.ops){let s=typeof n=="number"&&n>=0?a.data.map(l=>+l.toFixed(n)):a.data;switch(a.op){case"move":e.moveTo(s[0],s[1]);break;case"bcurveTo":e.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5]);break;case"lineTo":e.lineTo(s[0],s[1])}}r.type==="fillPath"?e.fill(i):e.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(e,r,n,i,a){let s=this.gen.line(e,r,n,i,a);return this.draw(s),s}rectangle(e,r,n,i,a){let s=this.gen.rectangle(e,r,n,i,a);return this.draw(s),s}ellipse(e,r,n,i,a){let s=this.gen.ellipse(e,r,n,i,a);return this.draw(s),s}circle(e,r,n,i){let a=this.gen.circle(e,r,n,i);return this.draw(a),a}linearPath(e,r){let n=this.gen.linearPath(e,r);return this.draw(n),n}polygon(e,r){let n=this.gen.polygon(e,r);return this.draw(n),n}arc(e,r,n,i,a,s,l=!1,u){let h=this.gen.arc(e,r,n,i,a,s,l,u);return this.draw(h),h}curve(e,r){let n=this.gen.curve(e,r);return this.draw(n),n}path(e,r){let n=this.gen.path(e,r);return this.draw(n),n}},QT="http://www.w3.org/2000/svg",O9=class{static{o(this,"ot")}constructor(e,r){this.svg=e,this.gen=new bm(r)}draw(e){let r=e.sets||[],n=e.options||this.getDefaultOptions(),i=this.svg.ownerDocument||window.document,a=i.createElementNS(QT,"g"),s=e.options.fixedDecimalPlaceDigits;for(let l of r){let u=null;switch(l.type){case"path":u=i.createElementNS(QT,"path"),u.setAttribute("d",this.opsToPath(l,s)),u.setAttribute("stroke",n.stroke),u.setAttribute("stroke-width",n.strokeWidth+""),u.setAttribute("fill","none"),n.strokeLineDash&&u.setAttribute("stroke-dasharray",n.strokeLineDash.join(" ").trim()),n.strokeLineDashOffset&&u.setAttribute("stroke-dashoffset",`${n.strokeLineDashOffset}`);break;case"fillPath":u=i.createElementNS(QT,"path"),u.setAttribute("d",this.opsToPath(l,s)),u.setAttribute("stroke","none"),u.setAttribute("stroke-width","0"),u.setAttribute("fill",n.fill||""),e.shape!=="curve"&&e.shape!=="polygon"||u.setAttribute("fill-rule","evenodd");break;case"fillSketch":u=this.fillSketch(i,l,n)}u&&a.appendChild(u)}return a}fillSketch(e,r,n){let i=n.fillWeight;i<0&&(i=n.strokeWidth/2);let a=e.createElementNS(QT,"path");return a.setAttribute("d",this.opsToPath(r,n.fixedDecimalPlaceDigits)),a.setAttribute("stroke",n.fill||""),a.setAttribute("stroke-width",i+""),a.setAttribute("fill","none"),n.fillLineDash&&a.setAttribute("stroke-dasharray",n.fillLineDash.join(" ").trim()),n.fillLineDashOffset&&a.setAttribute("stroke-dashoffset",`${n.fillLineDashOffset}`),a}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(e,r){return this.gen.opsToPath(e,r)}line(e,r,n,i,a){let s=this.gen.line(e,r,n,i,a);return this.draw(s)}rectangle(e,r,n,i,a){let s=this.gen.rectangle(e,r,n,i,a);return this.draw(s)}ellipse(e,r,n,i,a){let s=this.gen.ellipse(e,r,n,i,a);return this.draw(s)}circle(e,r,n,i){let a=this.gen.circle(e,r,n,i);return this.draw(a)}linearPath(e,r){let n=this.gen.linearPath(e,r);return this.draw(n)}polygon(e,r){let n=this.gen.polygon(e,r);return this.draw(n)}arc(e,r,n,i,a,s,l=!1,u){let h=this.gen.arc(e,r,n,i,a,s,l,u);return this.draw(h)}curve(e,r){let n=this.gen.curve(e,r);return this.draw(n)}path(e,r){let n=this.gen.path(e,r);return this.draw(n)}},je={canvas:o((t,e)=>new I9(t,e),"canvas"),svg:o((t,e)=>new O9(t,e),"svg"),generator:o(t=>new bm(t),"generator"),newSeed:o(()=>bm.newSeed(),"newSeed")}});function KQ(t,e){let{labelStyles:r}=We(e);e.labelStyle=r;let n=rt(e),i=n;n||(i="anchor");let a=t.insert("g").attr("class",i).attr("id",e.domId||e.id),s=1,{cssStyles:l}=e,u=je.svg(a),h=Ke(e,{fill:"black",stroke:"none",fillStyle:"solid"});e.look!=="handDrawn"&&(h.roughness=0);let f=u.circle(0,0,s*2,h),d=a.insert(()=>f,":first-child");return d.attr("class","anchor").attr("style",wn(l)),Xe(e,d),e.intersect=function(p){return X.info("Circle intersect",e,s,p),He.circle(e,s,p)},a}var QQ=N(()=>{"use strict";pt();Nt();Vt();Ft();Ut();tr();o(KQ,"anchor")});function ZQ(t,e,r,n,i,a,s){let u=(t+r)/2,h=(e+n)/2,f=Math.atan2(n-e,r-t),d=(r-t)/2,p=(n-e)/2,m=d/i,g=p/a,y=Math.sqrt(m**2+g**2);if(y>1)throw new Error("The given radii are too small to create an arc between the points.");let x=Math.sqrt(1-y**2),v=u+x*a*Math.sin(f)*(s?-1:1),b=h-x*i*Math.cos(f)*(s?-1:1),T=Math.atan2((e-b)/a,(t-v)/i),w=Math.atan2((n-b)/a,(r-v)/i)-T;s&&w<0&&(w+=2*Math.PI),!s&&w>0&&(w-=2*Math.PI);let E=[];for(let _=0;_<20;_++){let A=_/19,D=T+A*w,O=v+i*Math.cos(D),R=b+a*Math.sin(D);E.push({x:O,y:R})}return E}async function JQ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=a.width+e.padding+20,l=a.height+e.padding,u=l/2,h=u/(2.5+l/50),{cssStyles:f}=e,d=[{x:s/2,y:-l/2},{x:-s/2,y:-l/2},...ZQ(-s/2,-l/2,-s/2,l/2,h,u,!1),{x:s/2,y:l/2},...ZQ(s/2,l/2,s/2,-l/2,h,u,!0)],p=je.svg(i),m=Ke(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=zt(d),y=p.path(g,m),x=i.insert(()=>y,":first-child");return x.attr("class","basic label-container"),f&&e.look!=="handDrawn"&&x.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&x.selectAll("path").attr("style",n),x.attr("transform",`translate(${h/2}, 0)`),Xe(e,x),e.intersect=function(v){return He.polygon(e,d,v)},i}var eZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(ZQ,"generateArcPoints");o(JQ,"bowTieRect")});function Ps(t,e,r,n){return t.insert("polygon",":first-child").attr("points",n.map(function(i){return i.x+","+i.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}var Qh=N(()=>{"use strict";o(Ps,"insertPolygonShape")});async function tZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=a.height+e.padding,l=12,u=a.width+e.padding+l,h=0,f=u,d=-s,p=0,m=[{x:h+l,y:d},{x:f,y:d},{x:f,y:p},{x:h,y:p},{x:h,y:d+l},{x:h+l,y:d}],g,{cssStyles:y}=e;if(e.look==="handDrawn"){let x=je.svg(i),v=Ke(e,{}),b=zt(m),T=x.path(b,v);g=i.insert(()=>T,":first-child").attr("transform",`translate(${-u/2}, ${s/2})`),y&&g.attr("style",y)}else g=Ps(i,u,s,m);return n&&g.attr("style",n),Xe(e,g),e.intersect=function(x){return He.polygon(e,m,x)},i}var rZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();Qh();Nt();o(tZ,"card")});function nZ(t,e){let{nodeStyles:r}=We(e);e.label="";let n=t.insert("g").attr("class",rt(e)).attr("id",e.domId??e.id),{cssStyles:i}=e,a=Math.max(28,e.width??0),s=[{x:0,y:a/2},{x:a/2,y:0},{x:0,y:-a/2},{x:-a/2,y:0}],l=je.svg(n),u=Ke(e,{});e.look!=="handDrawn"&&(u.roughness=0,u.fillStyle="solid");let h=zt(s),f=l.path(h,u),d=n.insert(()=>f,":first-child");return i&&e.look!=="handDrawn"&&d.selectAll("path").attr("style",i),r&&e.look!=="handDrawn"&&d.selectAll("path").attr("style",r),e.width=28,e.height=28,e.intersect=function(p){return He.polygon(e,s,p)},n}var iZ=N(()=>{"use strict";Vt();Ut();Ft();Nt();o(nZ,"choice")});async function iw(t,e,r){let{labelStyles:n,nodeStyles:i}=We(e);e.labelStyle=n;let{shapeSvg:a,bbox:s,halfPadding:l}=await lt(t,e,rt(e)),u=r?.padding??l,h=s.width/2+u,f,{cssStyles:d}=e;if(e.look==="handDrawn"){let p=je.svg(a),m=Ke(e,{}),g=p.circle(0,0,h*2,m);f=a.insert(()=>g,":first-child"),f.attr("class","basic label-container").attr("style",wn(d))}else f=a.insert("circle",":first-child").attr("class","basic label-container").attr("style",i).attr("r",h).attr("cx",0).attr("cy",0);return Xe(e,f),e.calcIntersect=function(p,m){let g=p.width/2;return He.circle(p,g,m)},e.intersect=function(p){return X.info("Circle intersect",e,h,p),He.circle(e,h,p)},a}var B9=N(()=>{"use strict";Ut();pt();tr();Vt();Ft();Nt();o(iw,"circle")});function BDe(t){let e=Math.cos(Math.PI/4),r=Math.sin(Math.PI/4),n=t*2,i={x:n/2*e,y:n/2*r},a={x:-(n/2)*e,y:n/2*r},s={x:-(n/2)*e,y:-(n/2)*r},l={x:n/2*e,y:-(n/2)*r};return`M ${a.x},${a.y} L ${l.x},${l.y} + M ${i.x},${i.y} L ${s.x},${s.y}`}function aZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r,e.label="";let i=t.insert("g").attr("class",rt(e)).attr("id",e.domId??e.id),a=Math.max(30,e?.width??0),{cssStyles:s}=e,l=je.svg(i),u=Ke(e,{});e.look!=="handDrawn"&&(u.roughness=0,u.fillStyle="solid");let h=l.circle(0,0,a*2,u),f=BDe(a),d=l.path(f,u),p=i.insert(()=>h,":first-child");return p.insert(()=>d),s&&e.look!=="handDrawn"&&p.selectAll("path").attr("style",s),n&&e.look!=="handDrawn"&&p.selectAll("path").attr("style",n),Xe(e,p),e.intersect=function(m){return X.info("crossedCircle intersect",e,{radius:a,point:m}),He.circle(e,a,m)},i}var sZ=N(()=>{"use strict";pt();Nt();Ft();Ut();Vt();o(BDe,"createLine");o(aZ,"crossedCircle")});function Zh(t,e,r,n=100,i=0,a=180){let s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let d=0;dT,":first-child").attr("stroke-opacity",0),S.insert(()=>v,":first-child"),S.attr("class","text"),f&&e.look!=="handDrawn"&&S.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&S.selectAll("path").attr("style",n),S.attr("transform",`translate(${h}, 0)`),s.attr("transform",`translate(${-l/2+h-(a.x-(a.left??0))},${-u/2+(e.padding??0)/2-(a.y-(a.top??0))})`),Xe(e,S),e.intersect=function(w){return He.polygon(e,p,w)},i}var lZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(Zh,"generateCirclePoints");o(oZ,"curlyBraceLeft")});function Jh(t,e,r,n=100,i=0,a=180){let s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let d=0;dT,":first-child").attr("stroke-opacity",0),S.insert(()=>v,":first-child"),S.attr("class","text"),f&&e.look!=="handDrawn"&&S.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&S.selectAll("path").attr("style",n),S.attr("transform",`translate(${-h}, 0)`),s.attr("transform",`translate(${-l/2+(e.padding??0)/2-(a.x-(a.left??0))},${-u/2+(e.padding??0)/2-(a.y-(a.top??0))})`),Xe(e,S),e.intersect=function(w){return He.polygon(e,p,w)},i}var uZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(Jh,"generateCirclePoints");o(cZ,"curlyBraceRight")});function Ma(t,e,r,n=100,i=0,a=180){let s=[],l=i*Math.PI/180,f=(a*Math.PI/180-l)/(n-1);for(let d=0;d_,":first-child").attr("stroke-opacity",0),A.insert(()=>b,":first-child"),A.insert(()=>w,":first-child"),A.attr("class","text"),f&&e.look!=="handDrawn"&&A.selectAll("path").attr("style",f),n&&e.look!=="handDrawn"&&A.selectAll("path").attr("style",n),A.attr("transform",`translate(${h-h/4}, 0)`),s.attr("transform",`translate(${-l/2+(e.padding??0)/2-(a.x-(a.left??0))},${-u/2+(e.padding??0)/2-(a.y-(a.top??0))})`),Xe(e,A),e.intersect=function(D){return He.polygon(e,m,D)},i}var fZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(Ma,"generateCirclePoints");o(hZ,"curlyBraces")});async function dZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=80,l=20,u=Math.max(s,(a.width+(e.padding??0)*2)*1.25,e?.width??0),h=Math.max(l,a.height+(e.padding??0)*2,e?.height??0),f=h/2,{cssStyles:d}=e,p=je.svg(i),m=Ke(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=u,y=h,x=g-f,v=y/4,b=[{x,y:0},{x:v,y:0},{x:0,y:y/2},{x:v,y},{x,y},...qd(-x,-y/2,f,50,270,90)],T=zt(b),S=p.path(T,m),w=i.insert(()=>S,":first-child");return w.attr("class","basic label-container"),d&&e.look!=="handDrawn"&&w.selectChildren("path").attr("style",d),n&&e.look!=="handDrawn"&&w.selectChildren("path").attr("style",n),w.attr("transform",`translate(${-u/2}, ${-h/2})`),Xe(e,w),e.intersect=function(E){return He.polygon(e,b,E)},i}var pZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(dZ,"curvedTrapezoid")});async function mZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=Math.max(a.width+e.padding,e.width??0),u=l/2,h=u/(2.5+l/50),f=Math.max(a.height+h+e.padding,e.height??0),d,{cssStyles:p}=e;if(e.look==="handDrawn"){let m=je.svg(i),g=$De(0,0,l,f,u,h),y=GDe(0,h,l,f,u,h),x=m.path(g,Ke(e,{})),v=m.path(y,Ke(e,{fill:"none"}));d=i.insert(()=>v,":first-child"),d=i.insert(()=>x,":first-child"),d.attr("class","basic label-container"),p&&d.attr("style",p)}else{let m=FDe(0,0,l,f,u,h);d=i.insert("path",":first-child").attr("d",m).attr("class","basic label-container").attr("style",wn(p)).attr("style",n)}return d.attr("label-offset-y",h),d.attr("transform",`translate(${-l/2}, ${-(f/2+h)})`),Xe(e,d),s.attr("transform",`translate(${-(a.width/2)-(a.x-(a.left??0))}, ${-(a.height/2)+(e.padding??0)/1.5-(a.y-(a.top??0))})`),e.intersect=function(m){let g=He.rect(e,m),y=g.x-(e.x??0);if(u!=0&&(Math.abs(y)<(e.width??0)/2||Math.abs(y)==(e.width??0)/2&&Math.abs(g.y-(e.y??0))>(e.height??0)/2-h)){let x=h*h*(1-y*y/(u*u));x>0&&(x=Math.sqrt(x)),x=h-x,m.y-(e.y??0)>0&&(x=-x),g.y+=x}return g},i}var FDe,$De,GDe,gZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();tr();FDe=o((t,e,r,n,i,a)=>[`M${t},${e+a}`,`a${i},${a} 0,0,0 ${r},0`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`].join(" "),"createCylinderPathD"),$De=o((t,e,r,n,i,a)=>[`M${t},${e+a}`,`M${t+r},${e+a}`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`].join(" "),"createOuterCylinderPathD"),GDe=o((t,e,r,n,i,a)=>[`M${t-r/2},${-n/2}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createInnerCylinderPathD");o(mZ,"cylinder")});async function yZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=a.width+e.padding,u=a.height+e.padding,h=u*.2,f=-l/2,d=-u/2-h/2,{cssStyles:p}=e,m=je.svg(i),g=Ke(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let y=[{x:f,y:d+h},{x:-f,y:d+h},{x:-f,y:-d},{x:f,y:-d},{x:f,y:d},{x:-f,y:d},{x:-f,y:d+h}],x=m.polygon(y.map(b=>[b.x,b.y]),g),v=i.insert(()=>x,":first-child");return v.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",p),n&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",n),s.attr("transform",`translate(${f+(e.padding??0)/2-(a.x-(a.left??0))}, ${d+h+(e.padding??0)/2-(a.y-(a.top??0))})`),Xe(e,v),e.intersect=function(b){return He.rect(e,b)},i}var vZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(yZ,"dividedRectangle")});async function xZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,halfPadding:s}=await lt(t,e,rt(e)),u=a.width/2+s+5,h=a.width/2+s,f,{cssStyles:d}=e;if(e.look==="handDrawn"){let p=je.svg(i),m=Ke(e,{roughness:.2,strokeWidth:2.5}),g=Ke(e,{roughness:.2,strokeWidth:1.5}),y=p.circle(0,0,u*2,m),x=p.circle(0,0,h*2,g);f=i.insert("g",":first-child"),f.attr("class",wn(e.cssClasses)).attr("style",wn(d)),f.node()?.appendChild(y),f.node()?.appendChild(x)}else{f=i.insert("g",":first-child");let p=f.insert("circle",":first-child"),m=f.insert("circle");f.attr("class","basic label-container").attr("style",n),p.attr("class","outer-circle").attr("style",n).attr("r",u).attr("cx",0).attr("cy",0),m.attr("class","inner-circle").attr("style",n).attr("r",h).attr("cx",0).attr("cy",0)}return Xe(e,f),e.intersect=function(p){return X.info("DoubleCircle intersect",e,u,p),He.circle(e,u,p)},i}var bZ=N(()=>{"use strict";pt();Nt();Vt();Ft();Ut();tr();o(xZ,"doublecircle")});function TZ(t,e,{config:{themeVariables:r}}){let{labelStyles:n,nodeStyles:i}=We(e);e.label="",e.labelStyle=n;let a=t.insert("g").attr("class",rt(e)).attr("id",e.domId??e.id),s=7,{cssStyles:l}=e,u=je.svg(a),{nodeBorder:h}=r,f=Ke(e,{fillStyle:"solid"});e.look!=="handDrawn"&&(f.roughness=0);let d=u.circle(0,0,s*2,f),p=a.insert(()=>d,":first-child");return p.selectAll("path").attr("style",`fill: ${h} !important;`),l&&l.length>0&&e.look!=="handDrawn"&&p.selectAll("path").attr("style",l),i&&e.look!=="handDrawn"&&p.selectAll("path").attr("style",i),Xe(e,p),e.intersect=function(m){return X.info("filledCircle intersect",e,{radius:s,point:m}),He.circle(e,s,m)},a}var wZ=N(()=>{"use strict";Ut();pt();Vt();Ft();Nt();o(TZ,"filledCircle")});async function kZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=a.width+(e.padding??0),u=l+a.height,h=l+a.height,f=[{x:0,y:-u},{x:h,y:-u},{x:h/2,y:0}],{cssStyles:d}=e,p=je.svg(i),m=Ke(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=zt(f),y=p.path(g,m),x=i.insert(()=>y,":first-child").attr("transform",`translate(${-u/2}, ${u/2})`);return d&&e.look!=="handDrawn"&&x.selectChildren("path").attr("style",d),n&&e.look!=="handDrawn"&&x.selectChildren("path").attr("style",n),e.width=l,e.height=u,Xe(e,x),s.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${-u/2+(e.padding??0)/2+(a.y-(a.top??0))})`),e.intersect=function(v){return X.info("Triangle intersect",e,f,v),He.polygon(e,f,v)},i}var EZ=N(()=>{"use strict";pt();Nt();Vt();Ft();Ut();Nt();o(kZ,"flippedTriangle")});function SZ(t,e,{dir:r,config:{state:n,themeVariables:i}}){let{nodeStyles:a}=We(e);e.label="";let s=t.insert("g").attr("class",rt(e)).attr("id",e.domId??e.id),{cssStyles:l}=e,u=Math.max(70,e?.width??0),h=Math.max(10,e?.height??0);r==="LR"&&(u=Math.max(10,e?.width??0),h=Math.max(70,e?.height??0));let f=-1*u/2,d=-1*h/2,p=je.svg(s),m=Ke(e,{stroke:i.lineColor,fill:i.lineColor});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=p.rectangle(f,d,u,h,m),y=s.insert(()=>g,":first-child");l&&e.look!=="handDrawn"&&y.selectAll("path").attr("style",l),a&&e.look!=="handDrawn"&&y.selectAll("path").attr("style",a),Xe(e,y);let x=n?.padding??0;return e.width&&e.height&&(e.width+=x/2||0,e.height+=x/2||0),e.intersect=function(v){return He.rect(e,v)},s}var CZ=N(()=>{"use strict";Ut();Vt();Ft();Nt();o(SZ,"forkJoin")});async function AZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let i=80,a=50,{shapeSvg:s,bbox:l}=await lt(t,e,rt(e)),u=Math.max(i,l.width+(e.padding??0)*2,e?.width??0),h=Math.max(a,l.height+(e.padding??0)*2,e?.height??0),f=h/2,{cssStyles:d}=e,p=je.svg(s),m=Ke(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=[{x:-u/2,y:-h/2},{x:u/2-f,y:-h/2},...qd(-u/2+f,0,f,50,90,270),{x:u/2-f,y:h/2},{x:-u/2,y:h/2}],y=zt(g),x=p.path(y,m),v=s.insert(()=>x,":first-child");return v.attr("class","basic label-container"),d&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",d),n&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",n),Xe(e,v),e.intersect=function(b){return X.info("Pill intersect",e,{radius:f,point:b}),He.polygon(e,g,b)},s}var _Z=N(()=>{"use strict";pt();Nt();Vt();Ft();Ut();o(AZ,"halfRoundedRectangle")});async function DZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=a.height+(e.padding??0),l=a.width+(e.padding??0)*2.5,{cssStyles:u}=e,h=je.svg(i),f=Ke(e,{});e.look!=="handDrawn"&&(f.roughness=0,f.fillStyle="solid");let d=l/2,p=d/6;d=d+p;let m=s/2,g=m/2,y=d-g,x=[{x:-y,y:-m},{x:0,y:-m},{x:y,y:-m},{x:d,y:0},{x:y,y:m},{x:0,y:m},{x:-y,y:m},{x:-d,y:0}],v=zt(x),b=h.path(v,f),T=i.insert(()=>b,":first-child");return T.attr("class","basic label-container"),u&&e.look!=="handDrawn"&&T.selectChildren("path").attr("style",u),n&&e.look!=="handDrawn"&&T.selectChildren("path").attr("style",n),e.width=l,e.height=s,Xe(e,T),e.intersect=function(S){return He.polygon(e,x,S)},i}var LZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(DZ,"hexagon")});async function RZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.label="",e.labelStyle=r;let{shapeSvg:i}=await lt(t,e,rt(e)),a=Math.max(30,e?.width??0),s=Math.max(30,e?.height??0),{cssStyles:l}=e,u=je.svg(i),h=Ke(e,{});e.look!=="handDrawn"&&(h.roughness=0,h.fillStyle="solid");let f=[{x:0,y:0},{x:a,y:0},{x:0,y:s},{x:a,y:s}],d=zt(f),p=u.path(d,h),m=i.insert(()=>p,":first-child");return m.attr("class","basic label-container"),l&&e.look!=="handDrawn"&&m.selectChildren("path").attr("style",l),n&&e.look!=="handDrawn"&&m.selectChildren("path").attr("style",n),m.attr("transform",`translate(${-a/2}, ${-s/2})`),Xe(e,m),e.intersect=function(g){return X.info("Pill intersect",e,{points:f}),He.polygon(e,f,g)},i}var NZ=N(()=>{"use strict";pt();Nt();Vt();Ft();Ut();o(RZ,"hourglass")});async function MZ(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:i}=We(e);e.labelStyle=i;let a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:h,bbox:f,label:d}=await lt(t,e,"icon-shape default"),p=e.pos==="t",m=l,g=l,{nodeBorder:y}=r,{stylesMap:x}=bc(e),v=-g/2,b=-m/2,T=e.label?8:0,S=je.svg(h),w=Ke(e,{stroke:"none",fill:"none"});e.look!=="handDrawn"&&(w.roughness=0,w.fillStyle="solid");let E=S.rectangle(v,b,g,m,w),_=Math.max(g,f.width),A=m+f.height+T,D=S.rectangle(-_/2,-A/2,_,A,{...w,fill:"transparent",stroke:"none"}),O=h.insert(()=>E,":first-child"),R=h.insert(()=>D);if(e.icon){let k=h.append("g");k.html(`${await As(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let L=k.node().getBBox(),C=L.width,I=L.height,M=L.x,P=L.y;k.attr("transform",`translate(${-C/2-M},${p?f.height/2+T/2-I/2-P:-f.height/2-T/2-I/2-P})`),k.attr("style",`color: ${x.get("stroke")??y};`)}return d.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${p?-A/2:A/2-f.height})`),O.attr("transform",`translate(0,${p?f.height/2+T/2:-f.height/2-T/2})`),Xe(e,R),e.intersect=function(k){if(X.info("iconSquare intersect",e,k),!e.label)return He.rect(e,k);let L=e.x??0,C=e.y??0,I=e.height??0,M=[];return p?M=[{x:L-f.width/2,y:C-I/2},{x:L+f.width/2,y:C-I/2},{x:L+f.width/2,y:C-I/2+f.height+T},{x:L+g/2,y:C-I/2+f.height+T},{x:L+g/2,y:C+I/2},{x:L-g/2,y:C+I/2},{x:L-g/2,y:C-I/2+f.height+T},{x:L-f.width/2,y:C-I/2+f.height+T}]:M=[{x:L-g/2,y:C-I/2},{x:L+g/2,y:C-I/2},{x:L+g/2,y:C-I/2+m},{x:L+f.width/2,y:C-I/2+m},{x:L+f.width/2/2,y:C+I/2},{x:L-f.width/2,y:C+I/2},{x:L-f.width/2,y:C-I/2+m},{x:L-g/2,y:C-I/2+m}],He.polygon(e,M,k)},h}var IZ=N(()=>{"use strict";Ut();pt();rc();Vt();Ft();Nt();o(MZ,"icon")});async function OZ(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:i}=We(e);e.labelStyle=i;let a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:h,bbox:f,label:d}=await lt(t,e,"icon-shape default"),p=20,m=e.label?8:0,g=e.pos==="t",{nodeBorder:y,mainBkg:x}=r,{stylesMap:v}=bc(e),b=je.svg(h),T=Ke(e,{});e.look!=="handDrawn"&&(T.roughness=0,T.fillStyle="solid");let S=v.get("fill");T.stroke=S??x;let w=h.append("g");e.icon&&w.html(`${await As(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let E=w.node().getBBox(),_=E.width,A=E.height,D=E.x,O=E.y,R=Math.max(_,A)*Math.SQRT2+p*2,k=b.circle(0,0,R,T),L=Math.max(R,f.width),C=R+f.height+m,I=b.rectangle(-L/2,-C/2,L,C,{...T,fill:"transparent",stroke:"none"}),M=h.insert(()=>k,":first-child"),P=h.insert(()=>I);return w.attr("transform",`translate(${-_/2-D},${g?f.height/2+m/2-A/2-O:-f.height/2-m/2-A/2-O})`),w.attr("style",`color: ${v.get("stroke")??y};`),d.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${g?-C/2:C/2-f.height})`),M.attr("transform",`translate(0,${g?f.height/2+m/2:-f.height/2-m/2})`),Xe(e,P),e.intersect=function(B){return X.info("iconSquare intersect",e,B),He.rect(e,B)},h}var PZ=N(()=>{"use strict";Ut();pt();rc();Vt();Ft();Nt();o(OZ,"iconCircle")});var Bs,Xd=N(()=>{"use strict";Bs=o((t,e,r,n,i)=>["M",t+i,e,"H",t+r-i,"A",i,i,0,0,1,t+r,e+i,"V",e+n-i,"A",i,i,0,0,1,t+r-i,e+n,"H",t+i,"A",i,i,0,0,1,t,e+n-i,"V",e+i,"A",i,i,0,0,1,t+i,e,"Z"].join(" "),"createRoundedRectPathD")});async function BZ(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:i}=We(e);e.labelStyle=i;let a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:h,bbox:f,halfPadding:d,label:p}=await lt(t,e,"icon-shape default"),m=e.pos==="t",g=l+d*2,y=l+d*2,{nodeBorder:x,mainBkg:v}=r,{stylesMap:b}=bc(e),T=-y/2,S=-g/2,w=e.label?8:0,E=je.svg(h),_=Ke(e,{});e.look!=="handDrawn"&&(_.roughness=0,_.fillStyle="solid");let A=b.get("fill");_.stroke=A??v;let D=E.path(Bs(T,S,y,g,5),_),O=Math.max(y,f.width),R=g+f.height+w,k=E.rectangle(-O/2,-R/2,O,R,{..._,fill:"transparent",stroke:"none"}),L=h.insert(()=>D,":first-child").attr("class","icon-shape2"),C=h.insert(()=>k);if(e.icon){let I=h.append("g");I.html(`${await As(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let M=I.node().getBBox(),P=M.width,B=M.height,F=M.x,G=M.y;I.attr("transform",`translate(${-P/2-F},${m?f.height/2+w/2-B/2-G:-f.height/2-w/2-B/2-G})`),I.attr("style",`color: ${b.get("stroke")??x};`)}return p.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${m?-R/2:R/2-f.height})`),L.attr("transform",`translate(0,${m?f.height/2+w/2:-f.height/2-w/2})`),Xe(e,C),e.intersect=function(I){if(X.info("iconSquare intersect",e,I),!e.label)return He.rect(e,I);let M=e.x??0,P=e.y??0,B=e.height??0,F=[];return m?F=[{x:M-f.width/2,y:P-B/2},{x:M+f.width/2,y:P-B/2},{x:M+f.width/2,y:P-B/2+f.height+w},{x:M+y/2,y:P-B/2+f.height+w},{x:M+y/2,y:P+B/2},{x:M-y/2,y:P+B/2},{x:M-y/2,y:P-B/2+f.height+w},{x:M-f.width/2,y:P-B/2+f.height+w}]:F=[{x:M-y/2,y:P-B/2},{x:M+y/2,y:P-B/2},{x:M+y/2,y:P-B/2+g},{x:M+f.width/2,y:P-B/2+g},{x:M+f.width/2/2,y:P+B/2},{x:M-f.width/2,y:P+B/2},{x:M-f.width/2,y:P-B/2+g},{x:M-y/2,y:P-B/2+g}],He.polygon(e,F,I)},h}var FZ=N(()=>{"use strict";Ut();pt();rc();Vt();Ft();Xd();Nt();o(BZ,"iconRounded")});async function $Z(t,e,{config:{themeVariables:r,flowchart:n}}){let{labelStyles:i}=We(e);e.labelStyle=i;let a=e.assetHeight??48,s=e.assetWidth??48,l=Math.max(a,s),u=n?.wrappingWidth;e.width=Math.max(l,u??0);let{shapeSvg:h,bbox:f,halfPadding:d,label:p}=await lt(t,e,"icon-shape default"),m=e.pos==="t",g=l+d*2,y=l+d*2,{nodeBorder:x,mainBkg:v}=r,{stylesMap:b}=bc(e),T=-y/2,S=-g/2,w=e.label?8:0,E=je.svg(h),_=Ke(e,{});e.look!=="handDrawn"&&(_.roughness=0,_.fillStyle="solid");let A=b.get("fill");_.stroke=A??v;let D=E.path(Bs(T,S,y,g,.1),_),O=Math.max(y,f.width),R=g+f.height+w,k=E.rectangle(-O/2,-R/2,O,R,{..._,fill:"transparent",stroke:"none"}),L=h.insert(()=>D,":first-child"),C=h.insert(()=>k);if(e.icon){let I=h.append("g");I.html(`${await As(e.icon,{height:l,width:l,fallbackPrefix:""})}`);let M=I.node().getBBox(),P=M.width,B=M.height,F=M.x,G=M.y;I.attr("transform",`translate(${-P/2-F},${m?f.height/2+w/2-B/2-G:-f.height/2-w/2-B/2-G})`),I.attr("style",`color: ${b.get("stroke")??x};`)}return p.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${m?-R/2:R/2-f.height})`),L.attr("transform",`translate(0,${m?f.height/2+w/2:-f.height/2-w/2})`),Xe(e,C),e.intersect=function(I){if(X.info("iconSquare intersect",e,I),!e.label)return He.rect(e,I);let M=e.x??0,P=e.y??0,B=e.height??0,F=[];return m?F=[{x:M-f.width/2,y:P-B/2},{x:M+f.width/2,y:P-B/2},{x:M+f.width/2,y:P-B/2+f.height+w},{x:M+y/2,y:P-B/2+f.height+w},{x:M+y/2,y:P+B/2},{x:M-y/2,y:P+B/2},{x:M-y/2,y:P-B/2+f.height+w},{x:M-f.width/2,y:P-B/2+f.height+w}]:F=[{x:M-y/2,y:P-B/2},{x:M+y/2,y:P-B/2},{x:M+y/2,y:P-B/2+g},{x:M+f.width/2,y:P-B/2+g},{x:M+f.width/2/2,y:P+B/2},{x:M-f.width/2,y:P+B/2},{x:M-f.width/2,y:P-B/2+g},{x:M-y/2,y:P-B/2+g}],He.polygon(e,F,I)},h}var GZ=N(()=>{"use strict";Ut();pt();rc();Vt();Xd();Ft();Nt();o($Z,"iconSquare")});async function zZ(t,e,{config:{flowchart:r}}){let n=new Image;n.src=e?.img??"",await n.decode();let i=Number(n.naturalWidth.toString().replace("px","")),a=Number(n.naturalHeight.toString().replace("px",""));e.imageAspectRatio=i/a;let{labelStyles:s}=We(e);e.labelStyle=s;let l=r?.wrappingWidth;e.defaultWidth=r?.wrappingWidth;let u=Math.max(e.label?l??0:0,e?.assetWidth??i),h=e.constraint==="on"&&e?.assetHeight?e.assetHeight*e.imageAspectRatio:u,f=e.constraint==="on"?h/e.imageAspectRatio:e?.assetHeight??a;e.width=Math.max(h,l??0);let{shapeSvg:d,bbox:p,label:m}=await lt(t,e,"image-shape default"),g=e.pos==="t",y=-h/2,x=-f/2,v=e.label?8:0,b=je.svg(d),T=Ke(e,{});e.look!=="handDrawn"&&(T.roughness=0,T.fillStyle="solid");let S=b.rectangle(y,x,h,f,T),w=Math.max(h,p.width),E=f+p.height+v,_=b.rectangle(-w/2,-E/2,w,E,{...T,fill:"none",stroke:"none"}),A=d.insert(()=>S,":first-child"),D=d.insert(()=>_);if(e.img){let O=d.append("image");O.attr("href",e.img),O.attr("width",h),O.attr("height",f),O.attr("preserveAspectRatio","none"),O.attr("transform",`translate(${-h/2},${g?E/2-f:-E/2})`)}return m.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${g?-f/2-p.height/2-v/2:f/2-p.height/2+v/2})`),A.attr("transform",`translate(0,${g?p.height/2+v/2:-p.height/2-v/2})`),Xe(e,D),e.intersect=function(O){if(X.info("iconSquare intersect",e,O),!e.label)return He.rect(e,O);let R=e.x??0,k=e.y??0,L=e.height??0,C=[];return g?C=[{x:R-p.width/2,y:k-L/2},{x:R+p.width/2,y:k-L/2},{x:R+p.width/2,y:k-L/2+p.height+v},{x:R+h/2,y:k-L/2+p.height+v},{x:R+h/2,y:k+L/2},{x:R-h/2,y:k+L/2},{x:R-h/2,y:k-L/2+p.height+v},{x:R-p.width/2,y:k-L/2+p.height+v}]:C=[{x:R-h/2,y:k-L/2},{x:R+h/2,y:k-L/2},{x:R+h/2,y:k-L/2+f},{x:R+p.width/2,y:k-L/2+f},{x:R+p.width/2/2,y:k+L/2},{x:R-p.width/2,y:k+L/2},{x:R-p.width/2,y:k-L/2+f},{x:R-h/2,y:k-L/2+f}],He.polygon(e,C,O)},d}var VZ=N(()=>{"use strict";Ut();pt();Vt();Ft();Nt();o(zZ,"imageSquare")});async function UZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=[{x:0,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:-3*l/6,y:-l}],h,{cssStyles:f}=e;if(e.look==="handDrawn"){let d=je.svg(i),p=Ke(e,{}),m=zt(u),g=d.path(m,p);h=i.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Ps(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,Xe(e,h),e.intersect=function(d){return He.polygon(e,u,d)},i}var HZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();Qh();o(UZ,"inv_trapezoid")});async function jd(t,e,r){let{labelStyles:n,nodeStyles:i}=We(e);e.labelStyle=n;let{shapeSvg:a,bbox:s}=await lt(t,e,rt(e)),l=Math.max(s.width+r.labelPaddingX*2,e?.width||0),u=Math.max(s.height+r.labelPaddingY*2,e?.height||0),h=-l/2,f=-u/2,d,{rx:p,ry:m}=e,{cssStyles:g}=e;if(r?.rx&&r.ry&&(p=r.rx,m=r.ry),e.look==="handDrawn"){let y=je.svg(a),x=Ke(e,{}),v=p||m?y.path(Bs(h,f,l,u,p||0),x):y.rectangle(h,f,l,u,x);d=a.insert(()=>v,":first-child"),d.attr("class","basic label-container").attr("style",wn(g))}else d=a.insert("rect",":first-child"),d.attr("class","basic label-container").attr("style",i).attr("rx",wn(p)).attr("ry",wn(m)).attr("x",h).attr("y",f).attr("width",l).attr("height",u);return Xe(e,d),e.calcIntersect=function(y,x){return He.rect(y,x)},e.intersect=function(y){return He.rect(e,y)},a}var L2=N(()=>{"use strict";Nt();Vt();Xd();Ft();Ut();tr();o(jd,"drawRect")});async function WZ(t,e){let{shapeSvg:r,bbox:n,label:i}=await lt(t,e,"label"),a=r.insert("rect",":first-child");return a.attr("width",.1).attr("height",.1),r.attr("class","label edgeLabel"),i.attr("transform",`translate(${-(n.width/2)-(n.x-(n.left??0))}, ${-(n.height/2)-(n.y-(n.top??0))})`),Xe(e,a),e.intersect=function(u){return He.rect(e,u)},r}var qZ=N(()=>{"use strict";L2();Nt();Vt();o(WZ,"labelRect")});async function YZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=Math.max(a.width+(e.padding??0),e?.width??0),l=Math.max(a.height+(e.padding??0),e?.height??0),u=[{x:0,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:-(3*l)/6,y:-l}],h,{cssStyles:f}=e;if(e.look==="handDrawn"){let d=je.svg(i),p=Ke(e,{}),m=zt(u),g=d.path(m,p);h=i.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Ps(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,Xe(e,h),e.intersect=function(d){return He.polygon(e,u,d)},i}var XZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();Qh();o(YZ,"lean_left")});async function jZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=Math.max(a.width+(e.padding??0),e?.width??0),l=Math.max(a.height+(e.padding??0),e?.height??0),u=[{x:-3*l/6,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:0,y:-l}],h,{cssStyles:f}=e;if(e.look==="handDrawn"){let d=je.svg(i),p=Ke(e,{}),m=zt(u),g=d.path(m,p);h=i.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Ps(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,Xe(e,h),e.intersect=function(d){return He.polygon(e,u,d)},i}var KZ=N(()=>{"use strict";Nt();Vt();Ft();Ut();Qh();o(jZ,"lean_right")});function QZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.label="",e.labelStyle=r;let i=t.insert("g").attr("class",rt(e)).attr("id",e.domId??e.id),{cssStyles:a}=e,s=Math.max(35,e?.width??0),l=Math.max(35,e?.height??0),u=7,h=[{x:s,y:0},{x:0,y:l+u/2},{x:s-2*u,y:l+u/2},{x:0,y:2*l},{x:s,y:l-u/2},{x:2*u,y:l-u/2}],f=je.svg(i),d=Ke(e,{});e.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");let p=zt(h),m=f.path(p,d),g=i.insert(()=>m,":first-child");return a&&e.look!=="handDrawn"&&g.selectAll("path").attr("style",a),n&&e.look!=="handDrawn"&&g.selectAll("path").attr("style",n),g.attr("transform",`translate(-${s/2},${-l})`),Xe(e,g),e.intersect=function(y){return X.info("lightningBolt intersect",e,y),He.polygon(e,h,y)},i}var ZZ=N(()=>{"use strict";pt();Nt();Ft();Ut();Vt();Nt();o(QZ,"lightningBolt")});async function JZ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=Math.max(a.width+(e.padding??0),e.width??0),u=l/2,h=u/(2.5+l/50),f=Math.max(a.height+h+(e.padding??0),e.height??0),d=f*.1,p,{cssStyles:m}=e;if(e.look==="handDrawn"){let g=je.svg(i),y=VDe(0,0,l,f,u,h,d),x=UDe(0,h,l,f,u,h),v=Ke(e,{}),b=g.path(y,v),T=g.path(x,v);i.insert(()=>T,":first-child").attr("class","line"),p=i.insert(()=>b,":first-child"),p.attr("class","basic label-container"),m&&p.attr("style",m)}else{let g=zDe(0,0,l,f,u,h,d);p=i.insert("path",":first-child").attr("d",g).attr("class","basic label-container").attr("style",wn(m)).attr("style",n)}return p.attr("label-offset-y",h),p.attr("transform",`translate(${-l/2}, ${-(f/2+h)})`),Xe(e,p),s.attr("transform",`translate(${-(a.width/2)-(a.x-(a.left??0))}, ${-(a.height/2)+h-(a.y-(a.top??0))})`),e.intersect=function(g){let y=He.rect(e,g),x=y.x-(e.x??0);if(u!=0&&(Math.abs(x)<(e.width??0)/2||Math.abs(x)==(e.width??0)/2&&Math.abs(y.y-(e.y??0))>(e.height??0)/2-h)){let v=h*h*(1-x*x/(u*u));v>0&&(v=Math.sqrt(v)),v=h-v,g.y-(e.y??0)>0&&(v=-v),y.y+=v}return y},i}var zDe,VDe,UDe,eJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();tr();zDe=o((t,e,r,n,i,a,s)=>[`M${t},${e+a}`,`a${i},${a} 0,0,0 ${r},0`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`,`M${t},${e+a+s}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createCylinderPathD"),VDe=o((t,e,r,n,i,a,s)=>[`M${t},${e+a}`,`M${t+r},${e+a}`,`a${i},${a} 0,0,0 ${-r},0`,`l0,${n}`,`a${i},${a} 0,0,0 ${r},0`,`l0,${-n}`,`M${t},${e+a+s}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createOuterCylinderPathD"),UDe=o((t,e,r,n,i,a)=>[`M${t-r/2},${-n/2}`,`a${i},${a} 0,0,0 ${r},0`].join(" "),"createInnerCylinderPathD");o(JZ,"linedCylinder")});async function tJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/4,f=u+h,{cssStyles:d}=e,p=je.svg(i),m=Ke(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=[{x:-l/2-l/2*.1,y:-f/2},{x:-l/2-l/2*.1,y:f/2},...Go(-l/2-l/2*.1,f/2,l/2+l/2*.1,f/2,h,.8),{x:l/2+l/2*.1,y:-f/2},{x:-l/2-l/2*.1,y:-f/2},{x:-l/2,y:-f/2},{x:-l/2,y:f/2*1.1},{x:-l/2,y:-f/2}],y=p.polygon(g.map(v=>[v.x,v.y]),m),x=i.insert(()=>y,":first-child");return x.attr("class","basic label-container"),d&&e.look!=="handDrawn"&&x.selectAll("path").attr("style",d),n&&e.look!=="handDrawn"&&x.selectAll("path").attr("style",n),x.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-l/2+(e.padding??0)+l/2*.1/2-(a.x-(a.left??0))},${-u/2+(e.padding??0)-h/2-(a.y-(a.top??0))})`),Xe(e,x),e.intersect=function(v){return He.polygon(e,g,v)},i}var rJ=N(()=>{"use strict";Nt();Vt();Ut();Ft();o(tJ,"linedWaveEdgedRect")});async function nJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=5,f=-l/2,d=-u/2,{cssStyles:p}=e,m=je.svg(i),g=Ke(e,{}),y=[{x:f-h,y:d+h},{x:f-h,y:d+u+h},{x:f+l-h,y:d+u+h},{x:f+l-h,y:d+u},{x:f+l,y:d+u},{x:f+l,y:d+u-h},{x:f+l+h,y:d+u-h},{x:f+l+h,y:d-h},{x:f+h,y:d-h},{x:f+h,y:d},{x:f,y:d},{x:f,y:d+h}],x=[{x:f,y:d+h},{x:f+l-h,y:d+h},{x:f+l-h,y:d+u},{x:f+l,y:d+u},{x:f+l,y:d},{x:f,y:d}];e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let v=zt(y),b=m.path(v,g),T=zt(x),S=m.path(T,{...g,fill:"none"}),w=i.insert(()=>S,":first-child");return w.insert(()=>b,":first-child"),w.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",p),n&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",n),s.attr("transform",`translate(${-(a.width/2)-h-(a.x-(a.left??0))}, ${-(a.height/2)+h-(a.y-(a.top??0))})`),Xe(e,w),e.intersect=function(E){return He.polygon(e,y,E)},i}var iJ=N(()=>{"use strict";Nt();Ft();Ut();Vt();o(nJ,"multiRect")});async function aJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/4,f=u+h,d=-l/2,p=-f/2,m=5,{cssStyles:g}=e,y=Go(d-m,p+f+m,d+l-m,p+f+m,h,.8),x=y?.[y.length-1],v=[{x:d-m,y:p+m},{x:d-m,y:p+f+m},...y,{x:d+l-m,y:x.y-m},{x:d+l,y:x.y-m},{x:d+l,y:x.y-2*m},{x:d+l+m,y:x.y-2*m},{x:d+l+m,y:p-m},{x:d+m,y:p-m},{x:d+m,y:p},{x:d,y:p},{x:d,y:p+m}],b=[{x:d,y:p+m},{x:d+l-m,y:p+m},{x:d+l-m,y:x.y-m},{x:d+l,y:x.y-m},{x:d+l,y:p},{x:d,y:p}],T=je.svg(i),S=Ke(e,{});e.look!=="handDrawn"&&(S.roughness=0,S.fillStyle="solid");let w=zt(v),E=T.path(w,S),_=zt(b),A=T.path(_,S),D=i.insert(()=>E,":first-child");return D.insert(()=>A),D.attr("class","basic label-container"),g&&e.look!=="handDrawn"&&D.selectAll("path").attr("style",g),n&&e.look!=="handDrawn"&&D.selectAll("path").attr("style",n),D.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-(a.width/2)-m-(a.x-(a.left??0))}, ${-(a.height/2)+m-h/2-(a.y-(a.top??0))})`),Xe(e,D),e.intersect=function(O){return He.polygon(e,v,O)},i}var sJ=N(()=>{"use strict";Nt();Vt();Ut();Ft();o(aJ,"multiWaveEdgedRectangle")});async function oJ(t,e,{config:{themeVariables:r}}){let{labelStyles:n,nodeStyles:i}=We(e);e.labelStyle=n,e.useHtmlLabels||Qt().flowchart?.htmlLabels!==!1||(e.centerLabel=!0);let{shapeSvg:s,bbox:l,label:u}=await lt(t,e,rt(e)),h=Math.max(l.width+(e.padding??0)*2,e?.width??0),f=Math.max(l.height+(e.padding??0)*2,e?.height??0),d=-h/2,p=-f/2,{cssStyles:m}=e,g=je.svg(s),y=Ke(e,{fill:r.noteBkgColor,stroke:r.noteBorderColor});e.look!=="handDrawn"&&(y.roughness=0,y.fillStyle="solid");let x=g.rectangle(d,p,h,f,y),v=s.insert(()=>x,":first-child");return v.attr("class","basic label-container"),m&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",m),i&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",i),u.attr("transform",`translate(${-l.width/2-(l.x-(l.left??0))}, ${-(l.height/2)-(l.y-(l.top??0))})`),Xe(e,v),e.intersect=function(b){return He.rect(e,b)},s}var lJ=N(()=>{"use strict";Ut();Vt();Ft();Nt();Wn();o(oJ,"note")});async function cJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=a.width+e.padding,l=a.height+e.padding,u=s+l,h=.5,f=[{x:u/2,y:0},{x:u,y:-u/2},{x:u/2,y:-u},{x:0,y:-u/2}],d,{cssStyles:p}=e;if(e.look==="handDrawn"){let m=je.svg(i),g=Ke(e,{}),y=HDe(0,0,u),x=m.path(y,g);d=i.insert(()=>x,":first-child").attr("transform",`translate(${-u/2+h}, ${u/2})`),p&&d.attr("style",p)}else d=Ps(i,u,u,f),d.attr("transform",`translate(${-u/2+h}, ${u/2})`);return n&&d.attr("style",n),Xe(e,d),e.calcIntersect=function(m,g){let y=m.width,x=[{x:y/2,y:0},{x:y,y:-y/2},{x:y/2,y:-y},{x:0,y:-y/2}],v=He.polygon(m,x,g);return{x:v.x-.5,y:v.y-.5}},e.intersect=function(m){return this.calcIntersect(e,m)},i}var HDe,uJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();Qh();HDe=o((t,e,r)=>[`M${t+r/2},${e}`,`L${t+r},${e-r/2}`,`L${t+r/2},${e-r}`,`L${t},${e-r/2}`,"Z"].join(" "),"createDecisionBoxPathD");o(cJ,"question")});async function hJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=Math.max(a.width+(e.padding??0),e?.width??0),u=Math.max(a.height+(e.padding??0),e?.height??0),h=-l/2,f=-u/2,d=f/2,p=[{x:h+d,y:f},{x:h,y:0},{x:h+d,y:-f},{x:-h,y:-f},{x:-h,y:f}],{cssStyles:m}=e,g=je.svg(i),y=Ke(e,{});e.look!=="handDrawn"&&(y.roughness=0,y.fillStyle="solid");let x=zt(p),v=g.path(x,y),b=i.insert(()=>v,":first-child");return b.attr("class","basic label-container"),m&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",m),n&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",n),b.attr("transform",`translate(${-d/2},0)`),s.attr("transform",`translate(${-d/2-a.width/2-(a.x-(a.left??0))}, ${-(a.height/2)-(a.y-(a.top??0))})`),Xe(e,b),e.intersect=function(T){return He.polygon(e,p,T)},i}var fJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(hJ,"rect_left_inv_arrow")});function WDe(t,e){e&&t.attr("style",e)}async function qDe(t){let e=ze(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),n=ge(),i=t.label;t.label&&xn(t.label)&&(i=await bh(t.label.replace(Je.lineBreakRegex,` +`),n));let s='"+i+"";return r.html(ar(s,n)),WDe(r,t.labelStyle),r.style("display","inline-block"),r.style("padding-right","1px"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}var YDe,Tc,aw=N(()=>{"use strict";pr();Xt();dr();pt();tr();o(WDe,"applyStyle");o(qDe,"addHtmlLabel");YDe=o(async(t,e,r,n)=>{let i=t||"";if(typeof i=="object"&&(i=i[0]),mr(ge().flowchart.htmlLabels)){i=i.replace(/\\n|\n/g,"
    "),X.info("vertexText"+i);let a={isNode:n,label:ea(i).replace(/fa[blrs]?:fa-[\w-]+/g,l=>``),labelStyle:e&&e.replace("fill:","color:")};return await qDe(a)}else{let a=document.createElementNS("http://www.w3.org/2000/svg","text");a.setAttribute("style",e.replace("color:","fill:"));let s=[];typeof i=="string"?s=i.split(/\\n|\n|/gi):Array.isArray(i)?s=i:s=[];for(let l of s){let u=document.createElementNS("http://www.w3.org/2000/svg","tspan");u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),u.setAttribute("dy","1em"),u.setAttribute("x","0"),r?u.setAttribute("class","title-row"):u.setAttribute("class","row"),u.textContent=l.trim(),a.appendChild(u)}return a}},"createLabel"),Tc=YDe});async function dJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let i;e.cssClasses?i="node "+e.cssClasses:i="node default";let a=t.insert("g").attr("class",i).attr("id",e.domId||e.id),s=a.insert("g"),l=a.insert("g").attr("class","label").attr("style",n),u=e.description,h=e.label,f=l.node().appendChild(await Tc(h,e.labelStyle,!0,!0)),d={width:0,height:0};if(mr(ge()?.flowchart?.htmlLabels)){let A=f.children[0],D=ze(f);d=A.getBoundingClientRect(),D.attr("width",d.width),D.attr("height",d.height)}X.info("Text 2",u);let p=u||[],m=f.getBBox(),g=l.node().appendChild(await Tc(p.join?p.join("
    "):p,e.labelStyle,!0,!0)),y=g.children[0],x=ze(g);d=y.getBoundingClientRect(),x.attr("width",d.width),x.attr("height",d.height);let v=(e.padding||0)/2;ze(g).attr("transform","translate( "+(d.width>m.width?0:(m.width-d.width)/2)+", "+(m.height+v+5)+")"),ze(f).attr("transform","translate( "+(d.width(X.debug("Rough node insert CXC",O),R),":first-child"),E=a.insert(()=>(X.debug("Rough node insert CXC",O),O),":first-child")}else E=s.insert("rect",":first-child"),_=s.insert("line"),E.attr("class","outer title-state").attr("style",n).attr("x",-d.width/2-v).attr("y",-d.height/2-v).attr("width",d.width+(e.padding||0)).attr("height",d.height+(e.padding||0)),_.attr("class","divider").attr("x1",-d.width/2-v).attr("x2",d.width/2+v).attr("y1",-d.height/2-v+m.height+v).attr("y2",-d.height/2-v+m.height+v);return Xe(e,E),e.intersect=function(A){return He.rect(e,A)},a}var pJ=N(()=>{"use strict";pr();dr();Nt();aw();Vt();Ft();Ut();Xt();Xd();pt();o(dJ,"rectWithTitle")});function sw(t,e,r,n,i,a,s){let u=(t+r)/2,h=(e+n)/2,f=Math.atan2(n-e,r-t),d=(r-t)/2,p=(n-e)/2,m=d/i,g=p/a,y=Math.sqrt(m**2+g**2);if(y>1)throw new Error("The given radii are too small to create an arc between the points.");let x=Math.sqrt(1-y**2),v=u+x*a*Math.sin(f)*(s?-1:1),b=h-x*i*Math.cos(f)*(s?-1:1),T=Math.atan2((e-b)/a,(t-v)/i),w=Math.atan2((n-b)/a,(r-v)/i)-T;s&&w<0&&(w+=2*Math.PI),!s&&w>0&&(w-=2*Math.PI);let E=[];for(let _=0;_<20;_++){let A=_/19,D=T+A*w,O=v+i*Math.cos(D),R=b+a*Math.sin(D);E.push({x:O,y:R})}return E}async function mJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=e?.padding??0,l=e?.padding??0,u=(e?.width?e?.width:a.width)+s*2,h=(e?.height?e?.height:a.height)+l*2,f=e.radius||5,d=e.taper||5,{cssStyles:p}=e,m=je.svg(i),g=Ke(e,{});e.stroke&&(g.stroke=e.stroke),e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let y=[{x:-u/2+d,y:-h/2},{x:u/2-d,y:-h/2},...sw(u/2-d,-h/2,u/2,-h/2+d,f,f,!0),{x:u/2,y:-h/2+d},{x:u/2,y:h/2-d},...sw(u/2,h/2-d,u/2-d,h/2,f,f,!0),{x:u/2-d,y:h/2},{x:-u/2+d,y:h/2},...sw(-u/2+d,h/2,-u/2,h/2-d,f,f,!0),{x:-u/2,y:h/2-d},{x:-u/2,y:-h/2+d},...sw(-u/2,-h/2+d,-u/2+d,-h/2,f,f,!0)],x=zt(y),v=m.path(x,g),b=i.insert(()=>v,":first-child");return b.attr("class","basic label-container outer-path"),p&&e.look!=="handDrawn"&&b.selectChildren("path").attr("style",p),n&&e.look!=="handDrawn"&&b.selectChildren("path").attr("style",n),Xe(e,b),e.intersect=function(T){return He.polygon(e,y,T)},i}var gJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(sw,"generateArcPoints");o(mJ,"roundedRect")});async function yJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=e?.padding??0,u=Math.max(a.width+(e.padding??0)*2,e?.width??0),h=Math.max(a.height+(e.padding??0)*2,e?.height??0),f=-a.width/2-l,d=-a.height/2-l,{cssStyles:p}=e,m=je.svg(i),g=Ke(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let y=[{x:f,y:d},{x:f+u+8,y:d},{x:f+u+8,y:d+h},{x:f-8,y:d+h},{x:f-8,y:d},{x:f,y:d},{x:f,y:d+h}],x=m.polygon(y.map(b=>[b.x,b.y]),g),v=i.insert(()=>x,":first-child");return v.attr("class","basic label-container").attr("style",wn(p)),n&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",n),p&&e.look!=="handDrawn"&&v.selectAll("path").attr("style",n),s.attr("transform",`translate(${-u/2+4+(e.padding??0)-(a.x-(a.left??0))},${-h/2+(e.padding??0)-(a.y-(a.top??0))})`),Xe(e,v),e.intersect=function(b){return He.rect(e,b)},i}var vJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();tr();o(yJ,"shadedProcess")});async function xJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=-l/2,f=-u/2,{cssStyles:d}=e,p=je.svg(i),m=Ke(e,{});e.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let g=[{x:h,y:f},{x:h,y:f+u},{x:h+l,y:f+u},{x:h+l,y:f-u/2}],y=zt(g),x=p.path(y,m),v=i.insert(()=>x,":first-child");return v.attr("class","basic label-container"),d&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",d),n&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",n),v.attr("transform",`translate(0, ${u/4})`),s.attr("transform",`translate(${-l/2+(e.padding??0)-(a.x-(a.left??0))}, ${-u/4+(e.padding??0)-(a.y-(a.top??0))})`),Xe(e,v),e.intersect=function(b){return He.polygon(e,g,b)},i}var bJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(xJ,"slopedRect")});async function TJ(t,e){let r={rx:0,ry:0,classes:"",labelPaddingX:e.labelPaddingX??(e?.padding||0)*2,labelPaddingY:(e?.padding||0)*1};return jd(t,e,r)}var wJ=N(()=>{"use strict";L2();o(TJ,"squareRect")});async function kJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=a.height+e.padding,l=a.width+s/4+e.padding,u=s/2,{cssStyles:h}=e,f=je.svg(i),d=Ke(e,{});e.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");let p=[{x:-l/2+u,y:-s/2},{x:l/2-u,y:-s/2},...qd(-l/2+u,0,u,50,90,270),{x:l/2-u,y:s/2},...qd(l/2-u,0,u,50,270,450)],m=zt(p),g=f.path(m,d),y=i.insert(()=>g,":first-child");return y.attr("class","basic label-container outer-path"),h&&e.look!=="handDrawn"&&y.selectChildren("path").attr("style",h),n&&e.look!=="handDrawn"&&y.selectChildren("path").attr("style",n),Xe(e,y),e.intersect=function(x){return He.polygon(e,p,x)},i}var EJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(kJ,"stadium")});async function SJ(t,e){return jd(t,e,{rx:5,ry:5,classes:"flowchart-node"})}var CJ=N(()=>{"use strict";L2();o(SJ,"state")});function AJ(t,e,{config:{themeVariables:r}}){let{labelStyles:n,nodeStyles:i}=We(e);e.labelStyle=n;let{cssStyles:a}=e,{lineColor:s,stateBorder:l,nodeBorder:u}=r,h=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),f=je.svg(h),d=Ke(e,{});e.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");let p=f.circle(0,0,14,{...d,stroke:s,strokeWidth:2}),m=l??u,g=f.circle(0,0,5,{...d,fill:m,stroke:m,strokeWidth:2,fillStyle:"solid"}),y=h.insert(()=>p,":first-child");return y.insert(()=>g),a&&y.selectAll("path").attr("style",a),i&&y.selectAll("path").attr("style",i),Xe(e,y),e.intersect=function(x){return He.circle(e,7,x)},h}var _J=N(()=>{"use strict";Ut();Vt();Ft();Nt();o(AJ,"stateEnd")});function DJ(t,e,{config:{themeVariables:r}}){let{lineColor:n}=r,i=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a;if(e.look==="handDrawn"){let l=je.svg(i).circle(0,0,14,OQ(n));a=i.insert(()=>l),a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}else a=i.insert("circle",":first-child"),a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14);return Xe(e,a),e.intersect=function(s){return He.circle(e,7,s)},i}var LJ=N(()=>{"use strict";Ut();Vt();Ft();Nt();o(DJ,"stateStart")});async function RJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=(e?.padding||0)/2,l=a.width+e.padding,u=a.height+e.padding,h=-a.width/2-s,f=-a.height/2-s,d=[{x:0,y:0},{x:l,y:0},{x:l,y:-u},{x:0,y:-u},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-u},{x:-8,y:-u},{x:-8,y:0}];if(e.look==="handDrawn"){let p=je.svg(i),m=Ke(e,{}),g=p.rectangle(h-8,f,l+16,u,m),y=p.line(h,f,h,f+u,m),x=p.line(h+l,f,h+l,f+u,m);i.insert(()=>y,":first-child"),i.insert(()=>x,":first-child");let v=i.insert(()=>g,":first-child"),{cssStyles:b}=e;v.attr("class","basic label-container").attr("style",wn(b)),Xe(e,v)}else{let p=Ps(i,l,u,d);n&&p.attr("style",n),Xe(e,p)}return e.intersect=function(p){return He.polygon(e,d,p)},i}var NJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();Qh();tr();o(RJ,"subroutine")});async function MJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=-s/2,h=-l/2,f=.2*l,d=.2*l,{cssStyles:p}=e,m=je.svg(i),g=Ke(e,{}),y=[{x:u-f/2,y:h},{x:u+s+f/2,y:h},{x:u+s+f/2,y:h+l},{x:u-f/2,y:h+l}],x=[{x:u+s-f/2,y:h+l},{x:u+s+f/2,y:h+l},{x:u+s+f/2,y:h+l-d}];e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let v=zt(y),b=m.path(v,g),T=zt(x),S=m.path(T,{...g,fillStyle:"solid"}),w=i.insert(()=>S,":first-child");return w.insert(()=>b,":first-child"),w.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",p),n&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",n),Xe(e,w),e.intersect=function(E){return He.polygon(e,y,E)},i}var IJ=N(()=>{"use strict";Nt();Ft();Ut();Vt();o(MJ,"taggedRect")});async function OJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/4,f=.2*l,d=.2*u,p=u+h,{cssStyles:m}=e,g=je.svg(i),y=Ke(e,{});e.look!=="handDrawn"&&(y.roughness=0,y.fillStyle="solid");let x=[{x:-l/2-l/2*.1,y:p/2},...Go(-l/2-l/2*.1,p/2,l/2+l/2*.1,p/2,h,.8),{x:l/2+l/2*.1,y:-p/2},{x:-l/2-l/2*.1,y:-p/2}],v=-l/2+l/2*.1,b=-p/2-d*.4,T=[{x:v+l-f,y:(b+u)*1.4},{x:v+l,y:b+u-d},{x:v+l,y:(b+u)*.9},...Go(v+l,(b+u)*1.3,v+l-f,(b+u)*1.5,-u*.03,.5)],S=zt(x),w=g.path(S,y),E=zt(T),_=g.path(E,{...y,fillStyle:"solid"}),A=i.insert(()=>_,":first-child");return A.insert(()=>w,":first-child"),A.attr("class","basic label-container"),m&&e.look!=="handDrawn"&&A.selectAll("path").attr("style",m),n&&e.look!=="handDrawn"&&A.selectAll("path").attr("style",n),A.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-l/2+(e.padding??0)-(a.x-(a.left??0))},${-u/2+(e.padding??0)-h/2-(a.y-(a.top??0))})`),Xe(e,A),e.intersect=function(D){return He.polygon(e,x,D)},i}var PJ=N(()=>{"use strict";Nt();Vt();Ut();Ft();o(OJ,"taggedWaveEdgedRectangle")});async function BJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=Math.max(a.width+e.padding,e?.width||0),l=Math.max(a.height+e.padding,e?.height||0),u=-s/2,h=-l/2,f=i.insert("rect",":first-child");return f.attr("class","text").attr("style",n).attr("rx",0).attr("ry",0).attr("x",u).attr("y",h).attr("width",s).attr("height",l),Xe(e,f),e.intersect=function(d){return He.rect(e,d)},i}var FJ=N(()=>{"use strict";Nt();Vt();Ft();o(BJ,"text")});async function $J(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s,halfPadding:l}=await lt(t,e,rt(e)),u=e.look==="neo"?l*2:l,h=a.height+u,f=h/2,d=f/(2.5+h/50),p=a.width+d+u,{cssStyles:m}=e,g;if(e.look==="handDrawn"){let y=je.svg(i),x=jDe(0,0,p,h,d,f),v=KDe(0,0,p,h,d,f),b=y.path(x,Ke(e,{})),T=y.path(v,Ke(e,{fill:"none"}));g=i.insert(()=>T,":first-child"),g=i.insert(()=>b,":first-child"),g.attr("class","basic label-container"),m&&g.attr("style",m)}else{let y=XDe(0,0,p,h,d,f);g=i.insert("path",":first-child").attr("d",y).attr("class","basic label-container").attr("style",wn(m)).attr("style",n),g.attr("class","basic label-container"),m&&g.selectAll("path").attr("style",m),n&&g.selectAll("path").attr("style",n)}return g.attr("label-offset-x",d),g.attr("transform",`translate(${-p/2}, ${h/2} )`),s.attr("transform",`translate(${-(a.width/2)-d-(a.x-(a.left??0))}, ${-(a.height/2)-(a.y-(a.top??0))})`),Xe(e,g),e.intersect=function(y){let x=He.rect(e,y),v=x.y-(e.y??0);if(f!=0&&(Math.abs(v)<(e.height??0)/2||Math.abs(v)==(e.height??0)/2&&Math.abs(x.x-(e.x??0))>(e.width??0)/2-d)){let b=d*d*(1-v*v/(f*f));b!=0&&(b=Math.sqrt(Math.abs(b))),b=d-b,y.x-(e.x??0)>0&&(b=-b),x.x+=b}return x},i}var XDe,jDe,KDe,GJ=N(()=>{"use strict";Nt();Ft();Ut();Vt();tr();XDe=o((t,e,r,n,i,a)=>`M${t},${e} a${i},${a} 0,0,1 0,${-n} l${r},0 a${i},${a} 0,0,1 0,${n} M${r},${-n} a${i},${a} 0,0,0 0,${n} - l${-r},0`,"createCylinderPathD"),HDe=o((t,e,r,n,i,a)=>[`M${t},${e}`,`M${t+r},${e}`,`a${i},${a} 0,0,0 0,${-n}`,`l${-r},0`,`a${i},${a} 0,0,0 0,${n}`,`l${r},0`].join(" "),"createOuterCylinderPathD"),WDe=o((t,e,r,n,i,a)=>[`M${t+r/2},${-n/2}`,`a${i},${a} 0,0,0 0,${n}`].join(" "),"createInnerCylinderPathD");o(BJ,"tiltedCylinder")});async function $J(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=a.width+e.padding,l=a.height+e.padding,u=[{x:-3*l/6,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:0,y:-l}],h,{cssStyles:f}=e;if(e.look==="handDrawn"){let d=je.svg(i),p=Qe(e,{}),m=zt(u),g=d.path(m,p);h=i.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Ms(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,Ke(e,h),e.intersect=function(d){return Xe.polygon(e,u,d)},i}var zJ=N(()=>{"use strict";Ft();Ht();Gt();Wt();qh();o($J,"trapezoid")});async function GJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=60,l=20,u=Math.max(s,a.width+(e.padding??0)*2,e?.width??0),h=Math.max(l,a.height+(e.padding??0)*2,e?.height??0),{cssStyles:f}=e,d=je.svg(i),p=Qe(e,{});e.look!=="handDrawn"&&(p.roughness=0,p.fillStyle="solid");let m=[{x:-u/2*.8,y:-h/2},{x:u/2*.8,y:-h/2},{x:u/2,y:-h/2*.6},{x:u/2,y:h/2},{x:-u/2,y:h/2},{x:-u/2,y:-h/2*.6}],g=zt(m),y=d.path(g,p),v=i.insert(()=>y,":first-child");return v.attr("class","basic label-container"),f&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",f),n&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",n),Ke(e,v),e.intersect=function(x){return Xe.polygon(e,m,x)},i}var VJ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(GJ,"trapezoidalPentagon")});async function UJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=mr(ge().flowchart?.htmlLabels),u=a.width+(e.padding??0),h=u+a.height,f=u+a.height,d=[{x:0,y:0},{x:f,y:0},{x:f/2,y:-h}],{cssStyles:p}=e,m=je.svg(i),g=Qe(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let y=zt(d),v=m.path(y,g),x=i.insert(()=>v,":first-child").attr("transform",`translate(${-h/2}, ${h/2})`);return p&&e.look!=="handDrawn"&&x.selectChildren("path").attr("style",p),n&&e.look!=="handDrawn"&&x.selectChildren("path").attr("style",n),e.width=u,e.height=h,Ke(e,x),s.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${h/2-(a.height+(e.padding??0)/(l?2:1)-(a.y-(a.top??0)))})`),e.intersect=function(b){return X.info("Triangle intersect",e,d,b),Xe.polygon(e,d,b)},i}var HJ=N(()=>{"use strict";yt();Ft();Ht();Gt();Wt();Ft();dr();qt();o(UJ,"triangle")});async function WJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/8,f=u+h,{cssStyles:d}=e,m=70-l,g=m>0?m/2:0,y=je.svg(i),v=Qe(e,{});e.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid");let x=[{x:-l/2-g,y:f/2},...$o(-l/2-g,f/2,l/2+g,f/2,h,.8),{x:l/2+g,y:-f/2},{x:-l/2-g,y:-f/2}],b=zt(x),T=y.path(b,v),C=i.insert(()=>T,":first-child");return C.attr("class","basic label-container"),d&&e.look!=="handDrawn"&&C.selectAll("path").attr("style",d),n&&e.look!=="handDrawn"&&C.selectAll("path").attr("style",n),C.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-l/2+(e.padding??0)-(a.x-(a.left??0))},${-u/2+(e.padding??0)-h-(a.y-(a.top??0))})`),Ke(e,C),e.intersect=function(w){return Xe.polygon(e,x,w)},i}var qJ=N(()=>{"use strict";Ft();Ht();Wt();Gt();o(WJ,"waveEdgedRectangle")});async function YJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ot(e)),s=100,l=50,u=Math.max(a.width+(e.padding??0)*2,e?.width??0),h=Math.max(a.height+(e.padding??0)*2,e?.height??0),f=u/h,d=u,p=h;d>p*f?p=d/f:d=p*f,d=Math.max(d,s),p=Math.max(p,l);let m=Math.min(p*.2,p/4),g=p+m*2,{cssStyles:y}=e,v=je.svg(i),x=Qe(e,{});e.look!=="handDrawn"&&(x.roughness=0,x.fillStyle="solid");let b=[{x:-d/2,y:g/2},...$o(-d/2,g/2,d/2,g/2,m,1),{x:d/2,y:-g/2},...$o(d/2,-g/2,-d/2,-g/2,m,-1)],T=zt(b),C=v.path(T,x),w=i.insert(()=>C,":first-child");return w.attr("class","basic label-container"),y&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",y),n&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",n),Ke(e,w),e.intersect=function(E){return Xe.polygon(e,b,E)},i}var XJ=N(()=>{"use strict";Ft();Ht();Gt();Wt();o(YJ,"waveRectangle")});async function jJ(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await pt(t,e,ot(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=5,f=-l/2,d=-u/2,{cssStyles:p}=e,m=je.svg(i),g=Qe(e,{}),y=[{x:f-h,y:d-h},{x:f-h,y:d+u},{x:f+l,y:d+u},{x:f+l,y:d-h}],v=`M${f-h},${d-h} L${f+l},${d-h} L${f+l},${d+u} L${f-h},${d+u} L${f-h},${d-h} + l${-r},0`,"createCylinderPathD"),jDe=o((t,e,r,n,i,a)=>[`M${t},${e}`,`M${t+r},${e}`,`a${i},${a} 0,0,0 0,${-n}`,`l${-r},0`,`a${i},${a} 0,0,0 0,${n}`,`l${r},0`].join(" "),"createOuterCylinderPathD"),KDe=o((t,e,r,n,i,a)=>[`M${t+r/2},${-n/2}`,`a${i},${a} 0,0,0 0,${n}`].join(" "),"createInnerCylinderPathD");o($J,"tiltedCylinder")});async function zJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=a.width+e.padding,l=a.height+e.padding,u=[{x:-3*l/6,y:0},{x:s+3*l/6,y:0},{x:s,y:-l},{x:0,y:-l}],h,{cssStyles:f}=e;if(e.look==="handDrawn"){let d=je.svg(i),p=Ke(e,{}),m=zt(u),g=d.path(m,p);h=i.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${l/2})`),f&&h.attr("style",f)}else h=Ps(i,s,l,u);return n&&h.attr("style",n),e.width=s,e.height=l,Xe(e,h),e.intersect=function(d){return He.polygon(e,u,d)},i}var VJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();Qh();o(zJ,"trapezoid")});async function UJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=60,l=20,u=Math.max(s,a.width+(e.padding??0)*2,e?.width??0),h=Math.max(l,a.height+(e.padding??0)*2,e?.height??0),{cssStyles:f}=e,d=je.svg(i),p=Ke(e,{});e.look!=="handDrawn"&&(p.roughness=0,p.fillStyle="solid");let m=[{x:-u/2*.8,y:-h/2},{x:u/2*.8,y:-h/2},{x:u/2,y:-h/2*.6},{x:u/2,y:h/2},{x:-u/2,y:h/2},{x:-u/2,y:-h/2*.6}],g=zt(m),y=d.path(g,p),x=i.insert(()=>y,":first-child");return x.attr("class","basic label-container"),f&&e.look!=="handDrawn"&&x.selectChildren("path").attr("style",f),n&&e.look!=="handDrawn"&&x.selectChildren("path").attr("style",n),Xe(e,x),e.intersect=function(v){return He.polygon(e,m,v)},i}var HJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(UJ,"trapezoidalPentagon")});async function WJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=mr(ge().flowchart?.htmlLabels),u=a.width+(e.padding??0),h=u+a.height,f=u+a.height,d=[{x:0,y:0},{x:f,y:0},{x:f/2,y:-h}],{cssStyles:p}=e,m=je.svg(i),g=Ke(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let y=zt(d),x=m.path(y,g),v=i.insert(()=>x,":first-child").attr("transform",`translate(${-h/2}, ${h/2})`);return p&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",p),n&&e.look!=="handDrawn"&&v.selectChildren("path").attr("style",n),e.width=u,e.height=h,Xe(e,v),s.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${h/2-(a.height+(e.padding??0)/(l?2:1)-(a.y-(a.top??0)))})`),e.intersect=function(b){return X.info("Triangle intersect",e,d,b),He.polygon(e,d,b)},i}var qJ=N(()=>{"use strict";pt();Nt();Vt();Ft();Ut();Nt();dr();Xt();o(WJ,"triangle")});async function YJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=u/8,f=u+h,{cssStyles:d}=e,m=70-l,g=m>0?m/2:0,y=je.svg(i),x=Ke(e,{});e.look!=="handDrawn"&&(x.roughness=0,x.fillStyle="solid");let v=[{x:-l/2-g,y:f/2},...Go(-l/2-g,f/2,l/2+g,f/2,h,.8),{x:l/2+g,y:-f/2},{x:-l/2-g,y:-f/2}],b=zt(v),T=y.path(b,x),S=i.insert(()=>T,":first-child");return S.attr("class","basic label-container"),d&&e.look!=="handDrawn"&&S.selectAll("path").attr("style",d),n&&e.look!=="handDrawn"&&S.selectAll("path").attr("style",n),S.attr("transform",`translate(0,${-h/2})`),s.attr("transform",`translate(${-l/2+(e.padding??0)-(a.x-(a.left??0))},${-u/2+(e.padding??0)-h-(a.y-(a.top??0))})`),Xe(e,S),e.intersect=function(w){return He.polygon(e,v,w)},i}var XJ=N(()=>{"use strict";Nt();Vt();Ut();Ft();o(YJ,"waveEdgedRectangle")});async function jJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await lt(t,e,rt(e)),s=100,l=50,u=Math.max(a.width+(e.padding??0)*2,e?.width??0),h=Math.max(a.height+(e.padding??0)*2,e?.height??0),f=u/h,d=u,p=h;d>p*f?p=d/f:d=p*f,d=Math.max(d,s),p=Math.max(p,l);let m=Math.min(p*.2,p/4),g=p+m*2,{cssStyles:y}=e,x=je.svg(i),v=Ke(e,{});e.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid");let b=[{x:-d/2,y:g/2},...Go(-d/2,g/2,d/2,g/2,m,1),{x:d/2,y:-g/2},...Go(d/2,-g/2,-d/2,-g/2,m,-1)],T=zt(b),S=x.path(T,v),w=i.insert(()=>S,":first-child");return w.attr("class","basic label-container"),y&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",y),n&&e.look!=="handDrawn"&&w.selectAll("path").attr("style",n),Xe(e,w),e.intersect=function(E){return He.polygon(e,b,E)},i}var KJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();o(jJ,"waveRectangle")});async function QJ(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,label:s}=await lt(t,e,rt(e)),l=Math.max(a.width+(e.padding??0)*2,e?.width??0),u=Math.max(a.height+(e.padding??0)*2,e?.height??0),h=5,f=-l/2,d=-u/2,{cssStyles:p}=e,m=je.svg(i),g=Ke(e,{}),y=[{x:f-h,y:d-h},{x:f-h,y:d+u},{x:f+l,y:d+u},{x:f+l,y:d-h}],x=`M${f-h},${d-h} L${f+l},${d-h} L${f+l},${d+u} L${f-h},${d+u} L${f-h},${d-h} M${f-h},${d} L${f+l},${d} - M${f},${d-h} L${f},${d+u}`;e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let x=m.path(v,g),b=i.insert(()=>x,":first-child");return b.attr("transform",`translate(${h/2}, ${h/2})`),b.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",p),n&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",n),s.attr("transform",`translate(${-(a.width/2)+h/2-(a.x-(a.left??0))}, ${-(a.height/2)+h/2-(a.y-(a.top??0))})`),Ke(e,b),e.intersect=function(T){return Xe.polygon(e,y,T)},i}var KJ=N(()=>{"use strict";Ft();Gt();Wt();Ht();o(jJ,"windowPane")});async function LL(t,e){let r=e;if(r.alias&&(e.label=r.alias),e.look==="handDrawn"){let{themeVariables:U}=Qt(),{background:K}=U,ee={...e,id:e.id+"-background",look:"default",cssStyles:["stroke: none",`fill: ${K}`]};await LL(t,ee)}let n=Qt();e.useHtmlLabels=n.htmlLabels;let i=n.er?.diagramPadding??10,a=n.er?.entityPadding??6,{cssStyles:s}=e,{labelStyles:l,nodeStyles:u}=qe(e);if(r.attributes.length===0&&e.label){let U={rx:0,ry:0,labelPaddingX:i,labelPaddingY:i*1.5,classes:""};ea(e.label,n)+U.labelPaddingX*20){let U=d.width+i*2-(y+v+x+b);y+=U/w,v+=U/w,x>0&&(x+=U/w),b>0&&(b+=U/w)}let _=y+v+x+b,A=je.svg(f),D=Qe(e,{});e.look!=="handDrawn"&&(D.roughness=0,D.fillStyle="solid");let O=0;g.length>0&&(O=g.reduce((U,K)=>U+(K?.rowHeight??0),0));let R=Math.max(E.width+i*2,e?.width||0,_),k=Math.max((O??0)+d.height,e?.height||0),L=-R/2,S=-k/2;f.selectAll("g:not(:first-child)").each((U,K,ee)=>{let Y=Ge(ee[K]),ce=Y.attr("transform"),Z=0,ue=0;if(ce){let j=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(ce);j&&(Z=parseFloat(j[1]),ue=parseFloat(j[2]),Y.attr("class").includes("attribute-name")?Z+=y:Y.attr("class").includes("attribute-keys")?Z+=y+v:Y.attr("class").includes("attribute-comment")&&(Z+=y+v+x))}Y.attr("transform",`translate(${L+i/2+Z}, ${ue+S+d.height+a/2})`)}),f.select(".name").attr("transform","translate("+-d.width/2+", "+(S+a/2)+")");let I=A.rectangle(L,S,R,k,D),M=f.insert(()=>I,":first-child").attr("style",s.join("")),{themeVariables:P}=Qt(),{rowEven:B,rowOdd:F,nodeBorder:z}=P;m.push(0);for(let[U,K]of g.entries()){let Y=(U+1)%2===0&&K.yOffset!==0,ce=A.rectangle(L,d.height+S+K?.yOffset,R,K?.rowHeight,{...D,fill:Y?B:F,stroke:z});f.insert(()=>ce,"g.label").attr("style",s.join("")).attr("class",`row-rect-${Y?"even":"odd"}`)}let $=A.line(L,d.height+S,R+L,d.height+S,D);f.insert(()=>$).attr("class","divider"),$=A.line(y+L,d.height+S,y+L,k+S,D),f.insert(()=>$).attr("class","divider"),T&&($=A.line(y+v+L,d.height+S,y+v+L,k+S,D),f.insert(()=>$).attr("class","divider")),C&&($=A.line(y+v+x+L,d.height+S,y+v+x+L,k+S,D),f.insert(()=>$).attr("class","divider"));for(let U of m)$=A.line(L,d.height+S+U,R+L,d.height+S+U,D),f.insert(()=>$).attr("class","divider");if(Ke(e,M),u&&e.look!=="handDrawn"){let K=u.split(";")?.filter(ee=>ee.includes("stroke"))?.map(ee=>`${ee}`).join("; ");f.selectAll("path").attr("style",K??""),f.selectAll(".row-rect-even path").attr("style",u)}return e.intersect=function(U){return Xe.rect(e,U)},f}async function D2(t,e,r,n=0,i=0,a=[],s=""){let l=t.insert("g").attr("class",`label ${a.join(" ")}`).attr("transform",`translate(${n}, ${i})`).attr("style",s);e!==tc(e)&&(e=tc(e),e=e.replaceAll("<","<").replaceAll(">",">"));let u=l.node().appendChild(await Hn(l,e,{width:ea(e,r)+100,style:s,useHtmlLabels:r.htmlLabels},r));if(e.includes("<")||e.includes(">")){let f=u.children[0];for(f.textContent=f.textContent.replaceAll("<","<").replaceAll(">",">");f.childNodes[0];)f=f.childNodes[0],f.textContent=f.textContent.replaceAll("<","<").replaceAll(">",">")}let h=u.getBBox();if(mr(r.htmlLabels)){let f=u.children[0];f.style.textAlign="start";let d=Ge(u);h=f.getBoundingClientRect(),d.attr("width",h.width),d.attr("height",h.height)}return h}var QJ=N(()=>{"use strict";Ft();Ht();Gt();Wt();_2();Jn();no();dr();pr();nr();o(LL,"erBox");o(D2,"addText")});async function ZJ(t,e,r,n,i=r.class.padding??12){let a=n?0:3,s=t.insert("g").attr("class",ot(e)).attr("id",e.domId||e.id),l=null,u=null,h=null,f=null,d=0,p=0,m=0;if(l=s.insert("g").attr("class","annotation-group text"),e.annotations.length>0){let b=e.annotations[0];await tw(l,{text:`\xAB${b}\xBB`},0),d=l.node().getBBox().height}u=s.insert("g").attr("class","label-group text"),await tw(u,e,0,["font-weight: bolder"]);let g=u.node().getBBox();p=g.height,h=s.insert("g").attr("class","members-group text");let y=0;for(let b of e.members){let T=await tw(h,b,y,[b.parseClassifier()]);y+=T+a}m=h.node().getBBox().height,m<=0&&(m=i/2),f=s.insert("g").attr("class","methods-group text");let v=0;for(let b of e.methods){let T=await tw(f,b,v,[b.parseClassifier()]);v+=T+a}let x=s.node().getBBox();if(l!==null){let b=l.node().getBBox();l.attr("transform",`translate(${-b.width/2})`)}return u.attr("transform",`translate(${-g.width/2}, ${d})`),x=s.node().getBBox(),h.attr("transform",`translate(0, ${d+p+i*2})`),x=s.node().getBBox(),f.attr("transform",`translate(0, ${d+p+(m?m+i*4:i*2)})`),x=s.node().getBBox(),{shapeSvg:s,bbox:x}}async function tw(t,e,r,n=[]){let i=t.insert("g").attr("class","label").attr("style",n.join("; ")),a=Qt(),s="useHtmlLabels"in e?e.useHtmlLabels:mr(a.htmlLabels)??!0,l="";"text"in e?l=e.text:l=e.label,!s&&l.startsWith("\\")&&(l=l.substring(1)),gi(l)&&(s=!0);let u=await Hn(i,tv(ta(l)),{width:ea(l,a)+50,classes:"markdown-node-label",useHtmlLabels:s},a),h,f=1;if(s){let d=u.children[0],p=Ge(u);f=d.innerHTML.split("
    ").length,d.innerHTML.includes("")&&(f+=d.innerHTML.split("").length-1);let m=d.getElementsByTagName("img");if(m){let g=l.replace(/]*>/g,"").trim()==="";await Promise.all([...m].map(y=>new Promise(v=>{function x(){if(y.style.display="flex",y.style.flexDirection="column",g){let b=a.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,C=parseInt(b,10)*5+"px";y.style.minWidth=C,y.style.maxWidth=C}else y.style.width="100%";v(y)}o(x,"setupImage"),setTimeout(()=>{y.complete&&x()}),y.addEventListener("error",x),y.addEventListener("load",x)})))}h=d.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}else{n.includes("font-weight: bolder")&&Ge(u).selectAll("tspan").attr("font-weight",""),f=u.children.length;let d=u.children[0];(u.textContent===""||u.textContent.includes(">"))&&(d.textContent=l[0]+l.substring(1).replaceAll(">",">").replaceAll("<","<").trim(),l[1]===" "&&(d.textContent=d.textContent[0]+" "+d.textContent.substring(1))),d.textContent==="undefined"&&(d.textContent=""),h=u.getBBox()}return i.attr("transform","translate(0,"+(-h.height/(2*f)+r)+")"),h.height}var JJ=N(()=>{"use strict";pr();Jn();Ft();nr();qt();no();dr();o(ZJ,"textHelper");o(tw,"addText")});async function eee(t,e){let r=ge(),n=r.class.padding??12,i=n,a=e.useHtmlLabels??mr(r.htmlLabels)??!0,s=e;s.annotations=s.annotations??[],s.members=s.members??[],s.methods=s.methods??[];let{shapeSvg:l,bbox:u}=await ZJ(t,e,r,a,i),{labelStyles:h,nodeStyles:f}=qe(e);e.labelStyle=h,e.cssStyles=s.styles||"";let d=s.styles?.join(";")||f||"";e.cssStyles||(e.cssStyles=d.replaceAll("!important","").split(";"));let p=s.members.length===0&&s.methods.length===0&&!r.class?.hideEmptyMembersBox,m=je.svg(l),g=Qe(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let y=u.width,v=u.height;s.members.length===0&&s.methods.length===0?v+=i:s.members.length>0&&s.methods.length===0&&(v+=i*2);let x=-y/2,b=-v/2,T=m.rectangle(x-n,b-n-(p?n:s.members.length===0&&s.methods.length===0?-n/2:0),y+2*n,v+2*n+(p?n*2:s.members.length===0&&s.methods.length===0?-n:0),g),C=l.insert(()=>T,":first-child");C.attr("class","basic label-container");let w=C.node().getBBox();l.selectAll(".text").each((D,O,R)=>{let k=Ge(R[O]),L=k.attr("transform"),S=0;if(L){let B=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(L);B&&(S=parseFloat(B[2]))}let I=S+b+n-(p?n:s.members.length===0&&s.methods.length===0?-n/2:0);a||(I-=4);let M=x;(k.attr("class").includes("label-group")||k.attr("class").includes("annotation-group"))&&(M=-k.node()?.getBBox().width/2||0,l.selectAll("text").each(function(P,B,F){window.getComputedStyle(F[B]).textAnchor==="middle"&&(M=0)})),k.attr("transform",`translate(${M}, ${I})`)});let E=l.select(".annotation-group").node().getBBox().height-(p?n/2:0)||0,_=l.select(".label-group").node().getBBox().height-(p?n/2:0)||0,A=l.select(".members-group").node().getBBox().height-(p?n/2:0)||0;if(s.members.length>0||s.methods.length>0||p){let D=m.line(w.x,E+_+b+n,w.x+w.width,E+_+b+n,g);l.insert(()=>D).attr("class","divider").attr("style",d)}if(p||s.members.length>0||s.methods.length>0){let D=m.line(w.x,E+_+A+b+i*2+n,w.x+w.width,E+_+A+b+n+i*2,g);l.insert(()=>D).attr("class","divider").attr("style",d)}if(s.look!=="handDrawn"&&l.selectAll("path").attr("style",d),C.select(":nth-child(2)").attr("style",d),l.selectAll(".divider").select("path").attr("style",d),e.labelStyle?l.selectAll("span").attr("style",e.labelStyle):l.selectAll("span").attr("style",d),!a){let D=RegExp(/color\s*:\s*([^;]*)/),O=D.exec(d);if(O){let R=O[0].replace("color","fill");l.selectAll("tspan").attr("style",R)}else if(h){let R=D.exec(h);if(R){let k=R[0].replace("color","fill");l.selectAll("tspan").attr("style",k)}}}return Ke(e,C),e.intersect=function(D){return Xe.rect(e,D)},l}var tee=N(()=>{"use strict";Ft();qt();pr();Wt();Gt();Ht();JJ();dr();o(eee,"classBox")});async function ree(t,e){let{labelStyles:r,nodeStyles:n}=qe(e);e.labelStyle=r;let i=e,a=e,s=20,l=20,u="verifyMethod"in e,h=ot(e),f=t.insert("g").attr("class",h).attr("id",e.domId??e.id),d;u?d=await Nu(f,`<<${i.type}>>`,0,e.labelStyle):d=await Nu(f,"<<Element>>",0,e.labelStyle);let p=d,m=await Nu(f,i.name,p,e.labelStyle+"; font-weight: bold;");if(p+=m+l,u){let E=await Nu(f,`${i.requirementId?`ID: ${i.requirementId}`:""}`,p,e.labelStyle);p+=E;let _=await Nu(f,`${i.text?`Text: ${i.text}`:""}`,p,e.labelStyle);p+=_;let A=await Nu(f,`${i.risk?`Risk: ${i.risk}`:""}`,p,e.labelStyle);p+=A,await Nu(f,`${i.verifyMethod?`Verification: ${i.verifyMethod}`:""}`,p,e.labelStyle)}else{let E=await Nu(f,`${a.type?`Type: ${a.type}`:""}`,p,e.labelStyle);p+=E,await Nu(f,`${a.docRef?`Doc Ref: ${a.docRef}`:""}`,p,e.labelStyle)}let g=(f.node()?.getBBox().width??200)+s,y=(f.node()?.getBBox().height??200)+s,v=-g/2,x=-y/2,b=je.svg(f),T=Qe(e,{});e.look!=="handDrawn"&&(T.roughness=0,T.fillStyle="solid");let C=b.rectangle(v,x,g,y,T),w=f.insert(()=>C,":first-child");if(w.attr("class","basic label-container").attr("style",n),f.selectAll(".label").each((E,_,A)=>{let D=Ge(A[_]),O=D.attr("transform"),R=0,k=0;if(O){let M=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(O);M&&(R=parseFloat(M[1]),k=parseFloat(M[2]))}let L=k-y/2,S=v+s/2;(_===0||_===1)&&(S=R),D.attr("transform",`translate(${S}, ${L+s})`)}),p>d+m+l){let E=b.line(v,x+d+m+l,v+g,x+d+m+l,T);f.insert(()=>E).attr("style",n)}return Ke(e,w),e.intersect=function(E){return Xe.rect(e,E)},f}async function Nu(t,e,r,n=""){if(e==="")return 0;let i=t.insert("g").attr("class","label").attr("style",n),a=ge(),s=a.htmlLabels??!0,l=await Hn(i,tv(ta(e)),{width:ea(e,a)+50,classes:"markdown-node-label",useHtmlLabels:s,style:n},a),u;if(s){let h=l.children[0],f=Ge(l);u=h.getBoundingClientRect(),f.attr("width",u.width),f.attr("height",u.height)}else{let h=l.children[0];for(let f of h.children)f.textContent=f.textContent.replaceAll(">",">").replaceAll("<","<"),n&&f.setAttribute("style",n);u=l.getBBox(),u.height+=6}return i.attr("transform",`translate(${-u.width/2},${-u.height/2+r})`),u.height}var nee=N(()=>{"use strict";Ft();Ht();Gt();Wt();nr();qt();no();pr();o(ree,"requirementBox");o(Nu,"addText")});async function iee(t,e,{config:r}){let{labelStyles:n,nodeStyles:i}=qe(e);e.labelStyle=n||"";let a=10,s=e.width;e.width=(e.width??200)-10;let{shapeSvg:l,bbox:u,label:h}=await pt(t,e,ot(e)),f=e.padding||10,d="",p;"ticket"in e&&e.ticket&&r?.kanban?.ticketBaseUrl&&(d=r?.kanban?.ticketBaseUrl.replace("#TICKET#",e.ticket),p=l.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",d).attr("target","_blank"));let m={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1},g,y;p?{label:g,bbox:y}=await VT(p,"ticket"in e&&e.ticket||"",m):{label:g,bbox:y}=await VT(l,"ticket"in e&&e.ticket||"",m);let{label:v,bbox:x}=await VT(l,"assigned"in e&&e.assigned||"",m);e.width=s;let b=10,T=e?.width||0,C=Math.max(y.height,x.height)/2,w=Math.max(u.height+b*2,e?.height||0)+C,E=-T/2,_=-w/2;h.attr("transform","translate("+(f-T/2)+", "+(-C-u.height/2)+")"),g.attr("transform","translate("+(f-T/2)+", "+(-C+u.height/2)+")"),v.attr("transform","translate("+(f+T/2-x.width-2*a)+", "+(-C+u.height/2)+")");let A,{rx:D,ry:O}=e,{cssStyles:R}=e;if(e.look==="handDrawn"){let k=je.svg(l),L=Qe(e,{}),S=D||O?k.path(Is(E,_,T,w,D||0),L):k.rectangle(E,_,T,w,L);A=l.insert(()=>S,":first-child"),A.attr("class","basic label-container").attr("style",R||null)}else{A=l.insert("rect",":first-child"),A.attr("class","basic label-container __APA__").attr("style",i).attr("rx",D??5).attr("ry",O??5).attr("x",E).attr("y",_).attr("width",T).attr("height",w);let k="priority"in e&&e.priority;if(k){let L=l.append("line"),S=E+2,I=_+Math.floor((D??0)/2),M=_+w-Math.floor((D??0)/2);L.attr("x1",S).attr("y1",I).attr("x2",S).attr("y2",M).attr("stroke-width","4").attr("stroke",qDe(k))}}return Ke(e,A),e.height=w,e.intersect=function(k){return Xe.rect(e,k)},l}var qDe,aee=N(()=>{"use strict";Ft();Ht();$d();Gt();Wt();qDe=o(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");o(iee,"kanbanItem")});function see(t){return t in RL}var YDe,XDe,RL,NL=N(()=>{"use strict";YQ();KQ();ZQ();eZ();rZ();iZ();sZ();lZ();uZ();fZ();pZ();gZ();vZ();bZ();wZ();EZ();CZ();_Z();LZ();NZ();IZ();PZ();FZ();zZ();VZ();HZ();qZ();XZ();KZ();ZZ();eJ();rJ();iJ();sJ();lJ();uJ();fJ();pJ();gJ();vJ();bJ();wJ();EJ();CJ();_J();LJ();NJ();IJ();PJ();FJ();zJ();VJ();HJ();qJ();XJ();KJ();QJ();tee();nee();aee();YDe=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:xJ},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:dJ},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:TJ},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:DJ},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:dZ},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:tZ},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:oJ},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:AZ},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:YZ},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:WZ},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:$J},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:GZ},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:yZ},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:OJ},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:QQ},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:mJ},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:AJ},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:SJ},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:kZ},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:DZ},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:aZ},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:oZ},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:cZ},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:jZ},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:WJ},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:SZ},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:BJ},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:QZ},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:hZ},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:mZ},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:UJ},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:jJ},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:xZ},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:GJ},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:TZ},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:yJ},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:nJ},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:tJ},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:jQ},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:nZ},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:MJ},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:RJ},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:YJ},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:cJ},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:JZ}],XDe=o(()=>{let e=[...Object.entries({state:kJ,choice:JQ,note:aJ,rectWithTitle:hJ,labelRect:UZ,iconSquare:BZ,iconCircle:MZ,icon:RZ,iconRounded:OZ,imageSquare:$Z,anchor:qQ,kanbanItem:iee,classBox:eee,erBox:LL,requirementBox:ree}),...YDe.flatMap(r=>[r.shortName,..."aliases"in r?r.aliases:[],..."internalAliases"in r?r.internalAliases:[]].map(i=>[i,r.handler]))];return Object.fromEntries(e)},"generateShapeMap"),RL=XDe();o(see,"isValidShape")});var jDe,rw,oee=N(()=>{"use strict";pr();IT();qt();yt();NL();nr();dr();ci();jDe="flowchart-",rw=class{constructor(){this.vertexCounter=0;this.config=ge();this.vertices=new Map;this.edges=[];this.classes=new Map;this.subGraphs=[];this.subGraphLookup=new Map;this.tooltips=new Map;this.subCount=0;this.firstGraphFlag=!0;this.secCount=-1;this.posCrossRef=[];this.funs=[];this.setAccTitle=Cr;this.setAccDescription=Dr;this.setDiagramTitle=Ir;this.getAccTitle=_r;this.getAccDescription=Lr;this.getDiagramTitle=Rr;this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{o(this,"FlowDB")}sanitizeText(e){return Ze.sanitizeText(e,this.config)}lookUpDomId(e){for(let r of this.vertices.values())if(r.id===e)return r.domId;return e}addVertex(e,r,n,i,a,s,l={},u){if(!e||e.trim().length===0)return;let h;if(u!==void 0){let m;u.includes(` + M${f},${d-h} L${f},${d+u}`;e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let v=m.path(x,g),b=i.insert(()=>v,":first-child");return b.attr("transform",`translate(${h/2}, ${h/2})`),b.attr("class","basic label-container"),p&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",p),n&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",n),s.attr("transform",`translate(${-(a.width/2)+h/2-(a.x-(a.left??0))}, ${-(a.height/2)+h/2-(a.y-(a.top??0))})`),Xe(e,b),e.intersect=function(T){return He.polygon(e,y,T)},i}var ZJ=N(()=>{"use strict";Nt();Ft();Ut();Vt();o(QJ,"windowPane")});async function F9(t,e){let r=e;if(r.alias&&(e.label=r.alias),e.look==="handDrawn"){let{themeVariables:U}=Qt(),{background:K}=U,ne={...e,id:e.id+"-background",look:"default",cssStyles:["stroke: none",`fill: ${K}`]};await F9(t,ne)}let n=Qt();e.useHtmlLabels=n.htmlLabels;let i=n.er?.diagramPadding??10,a=n.er?.entityPadding??6,{cssStyles:s}=e,{labelStyles:l,nodeStyles:u}=We(e);if(r.attributes.length===0&&e.label){let U={rx:0,ry:0,labelPaddingX:i,labelPaddingY:i*1.5,classes:""};Ji(e.label,n)+U.labelPaddingX*20){let U=d.width+i*2-(y+x+v+b);y+=U/w,x+=U/w,v>0&&(v+=U/w),b>0&&(b+=U/w)}let _=y+x+v+b,A=je.svg(f),D=Ke(e,{});e.look!=="handDrawn"&&(D.roughness=0,D.fillStyle="solid");let O=0;g.length>0&&(O=g.reduce((U,K)=>U+(K?.rowHeight??0),0));let R=Math.max(E.width+i*2,e?.width||0,_),k=Math.max((O??0)+d.height,e?.height||0),L=-R/2,C=-k/2;f.selectAll("g:not(:first-child)").each((U,K,ne)=>{let j=ze(ne[K]),le=j.attr("transform"),Z=0,ce=0;if(le){let ee=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(le);ee&&(Z=parseFloat(ee[1]),ce=parseFloat(ee[2]),j.attr("class").includes("attribute-name")?Z+=y:j.attr("class").includes("attribute-keys")?Z+=y+x:j.attr("class").includes("attribute-comment")&&(Z+=y+x+v))}j.attr("transform",`translate(${L+i/2+Z}, ${ce+C+d.height+a/2})`)}),f.select(".name").attr("transform","translate("+-d.width/2+", "+(C+a/2)+")");let I=A.rectangle(L,C,R,k,D),M=f.insert(()=>I,":first-child").attr("style",s.join("")),{themeVariables:P}=Qt(),{rowEven:B,rowOdd:F,nodeBorder:G}=P;m.push(0);for(let[U,K]of g.entries()){let j=(U+1)%2===0&&K.yOffset!==0,le=A.rectangle(L,d.height+C+K?.yOffset,R,K?.rowHeight,{...D,fill:j?B:F,stroke:G});f.insert(()=>le,"g.label").attr("style",s.join("")).attr("class",`row-rect-${j?"even":"odd"}`)}let $=A.line(L,d.height+C,R+L,d.height+C,D);f.insert(()=>$).attr("class","divider"),$=A.line(y+L,d.height+C,y+L,k+C,D),f.insert(()=>$).attr("class","divider"),T&&($=A.line(y+x+L,d.height+C,y+x+L,k+C,D),f.insert(()=>$).attr("class","divider")),S&&($=A.line(y+x+v+L,d.height+C,y+x+v+L,k+C,D),f.insert(()=>$).attr("class","divider"));for(let U of m)$=A.line(L,d.height+C+U,R+L,d.height+C+U,D),f.insert(()=>$).attr("class","divider");if(Xe(e,M),u&&e.look!=="handDrawn"){let K=u.split(";")?.filter(ne=>ne.includes("stroke"))?.map(ne=>`${ne}`).join("; ");f.selectAll("path").attr("style",K??""),f.selectAll(".row-rect-even path").attr("style",u)}return e.intersect=function(U){return He.rect(e,U)},f}async function R2(t,e,r,n=0,i=0,a=[],s=""){let l=t.insert("g").attr("class",`label ${a.join(" ")}`).attr("transform",`translate(${n}, ${i})`).attr("style",s);e!==tc(e)&&(e=tc(e),e=e.replaceAll("<","<").replaceAll(">",">"));let u=l.node().appendChild(await pi(l,e,{width:Ji(e,r)+100,style:s,useHtmlLabels:r.htmlLabels},r));if(e.includes("<")||e.includes(">")){let f=u.children[0];for(f.textContent=f.textContent.replaceAll("<","<").replaceAll(">",">");f.childNodes[0];)f=f.childNodes[0],f.textContent=f.textContent.replaceAll("<","<").replaceAll(">",">")}let h=u.getBBox();if(mr(r.htmlLabels)){let f=u.children[0];f.style.textAlign="start";let d=ze(u);h=f.getBoundingClientRect(),d.attr("width",h.width),d.attr("height",h.height)}return h}var JJ=N(()=>{"use strict";Nt();Vt();Ft();Ut();L2();Wn();$o();dr();pr();tr();o(F9,"erBox");o(R2,"addText")});async function eee(t,e,r,n,i=r.class.padding??12){let a=n?0:3,s=t.insert("g").attr("class",rt(e)).attr("id",e.domId||e.id),l=null,u=null,h=null,f=null,d=0,p=0,m=0;if(l=s.insert("g").attr("class","annotation-group text"),e.annotations.length>0){let b=e.annotations[0];await ow(l,{text:`\xAB${b}\xBB`},0),d=l.node().getBBox().height}u=s.insert("g").attr("class","label-group text"),await ow(u,e,0,["font-weight: bolder"]);let g=u.node().getBBox();p=g.height,h=s.insert("g").attr("class","members-group text");let y=0;for(let b of e.members){let T=await ow(h,b,y,[b.parseClassifier()]);y+=T+a}m=h.node().getBBox().height,m<=0&&(m=i/2),f=s.insert("g").attr("class","methods-group text");let x=0;for(let b of e.methods){let T=await ow(f,b,x,[b.parseClassifier()]);x+=T+a}let v=s.node().getBBox();if(l!==null){let b=l.node().getBBox();l.attr("transform",`translate(${-b.width/2})`)}return u.attr("transform",`translate(${-g.width/2}, ${d})`),v=s.node().getBBox(),h.attr("transform",`translate(0, ${d+p+i*2})`),v=s.node().getBBox(),f.attr("transform",`translate(0, ${d+p+(m?m+i*4:i*2)})`),v=s.node().getBBox(),{shapeSvg:s,bbox:v}}async function ow(t,e,r,n=[]){let i=t.insert("g").attr("class","label").attr("style",n.join("; ")),a=Qt(),s="useHtmlLabels"in e?e.useHtmlLabels:mr(a.htmlLabels)??!0,l="";"text"in e?l=e.text:l=e.label,!s&&l.startsWith("\\")&&(l=l.substring(1)),xn(l)&&(s=!0);let u=await pi(i,rv(ea(l)),{width:Ji(l,a)+50,classes:"markdown-node-label",useHtmlLabels:s},a),h,f=1;if(s){let d=u.children[0],p=ze(u);f=d.innerHTML.split("
    ").length,d.innerHTML.includes("")&&(f+=d.innerHTML.split("").length-1);let m=d.getElementsByTagName("img");if(m){let g=l.replace(/]*>/g,"").trim()==="";await Promise.all([...m].map(y=>new Promise(x=>{function v(){if(y.style.display="flex",y.style.flexDirection="column",g){let b=a.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,S=parseInt(b,10)*5+"px";y.style.minWidth=S,y.style.maxWidth=S}else y.style.width="100%";x(y)}o(v,"setupImage"),setTimeout(()=>{y.complete&&v()}),y.addEventListener("error",v),y.addEventListener("load",v)})))}h=d.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}else{n.includes("font-weight: bolder")&&ze(u).selectAll("tspan").attr("font-weight",""),f=u.children.length;let d=u.children[0];(u.textContent===""||u.textContent.includes(">"))&&(d.textContent=l[0]+l.substring(1).replaceAll(">",">").replaceAll("<","<").trim(),l[1]===" "&&(d.textContent=d.textContent[0]+" "+d.textContent.substring(1))),d.textContent==="undefined"&&(d.textContent=""),h=u.getBBox()}return i.attr("transform","translate(0,"+(-h.height/(2*f)+r)+")"),h.height}var tee=N(()=>{"use strict";pr();Wn();Nt();tr();Xt();$o();dr();o(eee,"textHelper");o(ow,"addText")});async function ree(t,e){let r=ge(),n=r.class.padding??12,i=n,a=e.useHtmlLabels??mr(r.htmlLabels)??!0,s=e;s.annotations=s.annotations??[],s.members=s.members??[],s.methods=s.methods??[];let{shapeSvg:l,bbox:u}=await eee(t,e,r,a,i),{labelStyles:h,nodeStyles:f}=We(e);e.labelStyle=h,e.cssStyles=s.styles||"";let d=s.styles?.join(";")||f||"";e.cssStyles||(e.cssStyles=d.replaceAll("!important","").split(";"));let p=s.members.length===0&&s.methods.length===0&&!r.class?.hideEmptyMembersBox,m=je.svg(l),g=Ke(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let y=u.width,x=u.height;s.members.length===0&&s.methods.length===0?x+=i:s.members.length>0&&s.methods.length===0&&(x+=i*2);let v=-y/2,b=-x/2,T=m.rectangle(v-n,b-n-(p?n:s.members.length===0&&s.methods.length===0?-n/2:0),y+2*n,x+2*n+(p?n*2:s.members.length===0&&s.methods.length===0?-n:0),g),S=l.insert(()=>T,":first-child");S.attr("class","basic label-container");let w=S.node().getBBox();l.selectAll(".text").each((D,O,R)=>{let k=ze(R[O]),L=k.attr("transform"),C=0;if(L){let B=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(L);B&&(C=parseFloat(B[2]))}let I=C+b+n-(p?n:s.members.length===0&&s.methods.length===0?-n/2:0);a||(I-=4);let M=v;(k.attr("class").includes("label-group")||k.attr("class").includes("annotation-group"))&&(M=-k.node()?.getBBox().width/2||0,l.selectAll("text").each(function(P,B,F){window.getComputedStyle(F[B]).textAnchor==="middle"&&(M=0)})),k.attr("transform",`translate(${M}, ${I})`)});let E=l.select(".annotation-group").node().getBBox().height-(p?n/2:0)||0,_=l.select(".label-group").node().getBBox().height-(p?n/2:0)||0,A=l.select(".members-group").node().getBBox().height-(p?n/2:0)||0;if(s.members.length>0||s.methods.length>0||p){let D=m.line(w.x,E+_+b+n,w.x+w.width,E+_+b+n,g);l.insert(()=>D).attr("class","divider").attr("style",d)}if(p||s.members.length>0||s.methods.length>0){let D=m.line(w.x,E+_+A+b+i*2+n,w.x+w.width,E+_+A+b+n+i*2,g);l.insert(()=>D).attr("class","divider").attr("style",d)}if(s.look!=="handDrawn"&&l.selectAll("path").attr("style",d),S.select(":nth-child(2)").attr("style",d),l.selectAll(".divider").select("path").attr("style",d),e.labelStyle?l.selectAll("span").attr("style",e.labelStyle):l.selectAll("span").attr("style",d),!a){let D=RegExp(/color\s*:\s*([^;]*)/),O=D.exec(d);if(O){let R=O[0].replace("color","fill");l.selectAll("tspan").attr("style",R)}else if(h){let R=D.exec(h);if(R){let k=R[0].replace("color","fill");l.selectAll("tspan").attr("style",k)}}}return Xe(e,S),e.intersect=function(D){return He.rect(e,D)},l}var nee=N(()=>{"use strict";Nt();Xt();pr();Ut();Ft();Vt();tee();dr();o(ree,"classBox")});async function iee(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let i=e,a=e,s=20,l=20,u="verifyMethod"in e,h=rt(e),f=t.insert("g").attr("class",h).attr("id",e.domId??e.id),d;u?d=await Mu(f,`<<${i.type}>>`,0,e.labelStyle):d=await Mu(f,"<<Element>>",0,e.labelStyle);let p=d,m=await Mu(f,i.name,p,e.labelStyle+"; font-weight: bold;");if(p+=m+l,u){let E=await Mu(f,`${i.requirementId?`ID: ${i.requirementId}`:""}`,p,e.labelStyle);p+=E;let _=await Mu(f,`${i.text?`Text: ${i.text}`:""}`,p,e.labelStyle);p+=_;let A=await Mu(f,`${i.risk?`Risk: ${i.risk}`:""}`,p,e.labelStyle);p+=A,await Mu(f,`${i.verifyMethod?`Verification: ${i.verifyMethod}`:""}`,p,e.labelStyle)}else{let E=await Mu(f,`${a.type?`Type: ${a.type}`:""}`,p,e.labelStyle);p+=E,await Mu(f,`${a.docRef?`Doc Ref: ${a.docRef}`:""}`,p,e.labelStyle)}let g=(f.node()?.getBBox().width??200)+s,y=(f.node()?.getBBox().height??200)+s,x=-g/2,v=-y/2,b=je.svg(f),T=Ke(e,{});e.look!=="handDrawn"&&(T.roughness=0,T.fillStyle="solid");let S=b.rectangle(x,v,g,y,T),w=f.insert(()=>S,":first-child");if(w.attr("class","basic label-container").attr("style",n),f.selectAll(".label").each((E,_,A)=>{let D=ze(A[_]),O=D.attr("transform"),R=0,k=0;if(O){let M=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(O);M&&(R=parseFloat(M[1]),k=parseFloat(M[2]))}let L=k-y/2,C=x+s/2;(_===0||_===1)&&(C=R),D.attr("transform",`translate(${C}, ${L+s})`)}),p>d+m+l){let E=b.line(x,v+d+m+l,x+g,v+d+m+l,T);f.insert(()=>E).attr("style",n)}return Xe(e,w),e.intersect=function(E){return He.rect(e,E)},f}async function Mu(t,e,r,n=""){if(e==="")return 0;let i=t.insert("g").attr("class","label").attr("style",n),a=ge(),s=a.htmlLabels??!0,l=await pi(i,rv(ea(e)),{width:Ji(e,a)+50,classes:"markdown-node-label",useHtmlLabels:s,style:n},a),u;if(s){let h=l.children[0],f=ze(l);u=h.getBoundingClientRect(),f.attr("width",u.width),f.attr("height",u.height)}else{let h=l.children[0];for(let f of h.children)f.textContent=f.textContent.replaceAll(">",">").replaceAll("<","<"),n&&f.setAttribute("style",n);u=l.getBBox(),u.height+=6}return i.attr("transform",`translate(${-u.width/2},${-u.height/2+r})`),u.height}var aee=N(()=>{"use strict";Nt();Vt();Ft();Ut();tr();Xt();$o();pr();o(iee,"requirementBox");o(Mu,"addText")});async function see(t,e,{config:r}){let{labelStyles:n,nodeStyles:i}=We(e);e.labelStyle=n||"";let a=10,s=e.width;e.width=(e.width??200)-10;let{shapeSvg:l,bbox:u,label:h}=await lt(t,e,rt(e)),f=e.padding||10,d="",p;"ticket"in e&&e.ticket&&r?.kanban?.ticketBaseUrl&&(d=r?.kanban?.ticketBaseUrl.replace("#TICKET#",e.ticket),p=l.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",d).attr("target","_blank"));let m={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1},g,y;p?{label:g,bbox:y}=await YT(p,"ticket"in e&&e.ticket||"",m):{label:g,bbox:y}=await YT(l,"ticket"in e&&e.ticket||"",m);let{label:x,bbox:v}=await YT(l,"assigned"in e&&e.assigned||"",m);e.width=s;let b=10,T=e?.width||0,S=Math.max(y.height,v.height)/2,w=Math.max(u.height+b*2,e?.height||0)+S,E=-T/2,_=-w/2;h.attr("transform","translate("+(f-T/2)+", "+(-S-u.height/2)+")"),g.attr("transform","translate("+(f-T/2)+", "+(-S+u.height/2)+")"),x.attr("transform","translate("+(f+T/2-v.width-2*a)+", "+(-S+u.height/2)+")");let A,{rx:D,ry:O}=e,{cssStyles:R}=e;if(e.look==="handDrawn"){let k=je.svg(l),L=Ke(e,{}),C=D||O?k.path(Bs(E,_,T,w,D||0),L):k.rectangle(E,_,T,w,L);A=l.insert(()=>C,":first-child"),A.attr("class","basic label-container").attr("style",R||null)}else{A=l.insert("rect",":first-child"),A.attr("class","basic label-container __APA__").attr("style",i).attr("rx",D??5).attr("ry",O??5).attr("x",E).attr("y",_).attr("width",T).attr("height",w);let k="priority"in e&&e.priority;if(k){let L=l.append("line"),C=E+2,I=_+Math.floor((D??0)/2),M=_+w-Math.floor((D??0)/2);L.attr("x1",C).attr("y1",I).attr("x2",C).attr("y2",M).attr("stroke-width","4").attr("stroke",QDe(k))}}return Xe(e,A),e.height=w,e.intersect=function(k){return He.rect(e,k)},l}var QDe,oee=N(()=>{"use strict";Nt();Vt();Xd();Ft();Ut();QDe=o(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");o(see,"kanbanItem")});async function lee(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,halfPadding:s,label:l}=await lt(t,e,rt(e)),u=a.width+10*s,h=a.height+8*s,f=.15*u,{cssStyles:d}=e,p=a.width+20,m=a.height+20,g=Math.max(u,p),y=Math.max(h,m);l.attr("transform",`translate(${-a.width/2}, ${-a.height/2})`);let x,v=`M0 0 + a${f},${f} 1 0,0 ${g*.25},${-1*y*.1} + a${f},${f} 1 0,0 ${g*.25},0 + a${f},${f} 1 0,0 ${g*.25},0 + a${f},${f} 1 0,0 ${g*.25},${y*.1} + + a${f},${f} 1 0,0 ${g*.15},${y*.33} + a${f*.8},${f*.8} 1 0,0 0,${y*.34} + a${f},${f} 1 0,0 ${-1*g*.15},${y*.33} + + a${f},${f} 1 0,0 ${-1*g*.25},${y*.15} + a${f},${f} 1 0,0 ${-1*g*.25},0 + a${f},${f} 1 0,0 ${-1*g*.25},0 + a${f},${f} 1 0,0 ${-1*g*.25},${-1*y*.15} + + a${f},${f} 1 0,0 ${-1*g*.1},${-1*y*.33} + a${f*.8},${f*.8} 1 0,0 0,${-1*y*.34} + a${f},${f} 1 0,0 ${g*.1},${-1*y*.33} + H0 V0 Z`;if(e.look==="handDrawn"){let b=je.svg(i),T=Ke(e,{}),S=b.path(v,T);x=i.insert(()=>S,":first-child"),x.attr("class","basic label-container").attr("style",wn(d))}else x=i.insert("path",":first-child").attr("class","basic label-container").attr("style",n).attr("d",v);return x.attr("transform",`translate(${-g/2}, ${-y/2})`),Xe(e,x),e.calcIntersect=function(b,T){return He.rect(b,T)},e.intersect=function(b){return X.info("Bang intersect",e,b),He.rect(e,b)},i}var cee=N(()=>{"use strict";pt();Nt();Vt();Ft();Ut();tr();o(lee,"bang")});async function uee(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,halfPadding:s,label:l}=await lt(t,e,rt(e)),u=a.width+2*s,h=a.height+2*s,f=.15*u,d=.25*u,p=.35*u,m=.2*u,{cssStyles:g}=e,y,x=`M0 0 + a${f},${f} 0 0,1 ${u*.25},${-1*u*.1} + a${p},${p} 1 0,1 ${u*.4},${-1*u*.1} + a${d},${d} 1 0,1 ${u*.35},${u*.2} + + a${f},${f} 1 0,1 ${u*.15},${h*.35} + a${m},${m} 1 0,1 ${-1*u*.15},${h*.65} + + a${d},${f} 1 0,1 ${-1*u*.25},${u*.15} + a${p},${p} 1 0,1 ${-1*u*.5},0 + a${f},${f} 1 0,1 ${-1*u*.25},${-1*u*.15} + + a${f},${f} 1 0,1 ${-1*u*.1},${-1*h*.35} + a${m},${m} 1 0,1 ${u*.1},${-1*h*.65} + H0 V0 Z`;if(e.look==="handDrawn"){let v=je.svg(i),b=Ke(e,{}),T=v.path(x,b);y=i.insert(()=>T,":first-child"),y.attr("class","basic label-container").attr("style",wn(g))}else y=i.insert("path",":first-child").attr("class","basic label-container").attr("style",n).attr("d",x);return l.attr("transform",`translate(${-a.width/2}, ${-a.height/2})`),y.attr("transform",`translate(${-u/2}, ${-h/2})`),Xe(e,y),e.calcIntersect=function(v,b){return He.rect(v,b)},e.intersect=function(v){return X.info("Cloud intersect",e,v),He.rect(e,v)},i}var hee=N(()=>{"use strict";Ut();pt();tr();Vt();Ft();Nt();o(uee,"cloud")});async function fee(t,e){let{labelStyles:r,nodeStyles:n}=We(e);e.labelStyle=r;let{shapeSvg:i,bbox:a,halfPadding:s,label:l}=await lt(t,e,rt(e)),u=a.width+8*s,h=a.height+2*s,f=5,d=` + M${-u/2} ${h/2-f} + v${-h+2*f} + q0,-${f} ${f},-${f} + h${u-2*f} + q${f},0 ${f},${f} + v${h-2*f} + q0,${f} -${f},${f} + h${-u+2*f} + q-${f},0 -${f},-${f} + Z + `,p=i.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("style",n).attr("d",d);return i.append("line").attr("class","node-line-").attr("x1",-u/2).attr("y1",h/2).attr("x2",u/2).attr("y2",h/2),l.attr("transform",`translate(${-a.width/2}, ${-a.height/2})`),i.append(()=>l.node()),Xe(e,p),e.calcIntersect=function(m,g){return He.rect(m,g)},e.intersect=function(m){return He.rect(e,m)},i}var dee=N(()=>{"use strict";Vt();Ft();Nt();o(fee,"defaultMindmapNode")});async function pee(t,e){let r={padding:e.padding??0};return iw(t,e,r)}var mee=N(()=>{"use strict";B9();o(pee,"mindmapCircle")});function gee(t){return t in $9}var ZDe,JDe,$9,G9=N(()=>{"use strict";QQ();eZ();rZ();iZ();B9();sZ();lZ();uZ();fZ();pZ();gZ();vZ();bZ();wZ();EZ();CZ();_Z();LZ();NZ();IZ();PZ();FZ();GZ();VZ();HZ();qZ();XZ();KZ();ZZ();eJ();rJ();iJ();sJ();lJ();uJ();fJ();pJ();gJ();vJ();bJ();wJ();EJ();CJ();_J();LJ();NJ();IJ();PJ();FJ();GJ();VJ();HJ();qJ();XJ();KJ();ZJ();JJ();nee();aee();oee();cee();hee();dee();mee();ZDe=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:TJ},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:mJ},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:kJ},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:RJ},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:mZ},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:iw},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:lee},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:uee},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:cJ},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:DZ},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:jZ},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:YZ},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:zJ},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:UZ},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:xZ},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:BJ},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:tZ},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:yJ},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:DJ},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:AJ},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:SZ},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:RZ},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:oZ},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:cZ},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:hZ},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:QZ},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:YJ},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:AZ},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:$J},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:JZ},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:dZ},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:yZ},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:WJ},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:QJ},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:TZ},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:UJ},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:kZ},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:xJ},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:aJ},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:nJ},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:JQ},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:aZ},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:OJ},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:MJ},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:jJ},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:hJ},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:tJ}],JDe=o(()=>{let e=[...Object.entries({state:SJ,choice:nZ,note:oJ,rectWithTitle:dJ,labelRect:WZ,iconSquare:$Z,iconCircle:OZ,icon:MZ,iconRounded:BZ,imageSquare:zZ,anchor:KQ,kanbanItem:see,mindmapCircle:pee,defaultMindmapNode:fee,classBox:ree,erBox:F9,requirementBox:iee}),...ZDe.flatMap(r=>[r.shortName,..."aliases"in r?r.aliases:[],..."internalAliases"in r?r.internalAliases:[]].map(i=>[i,r.handler]))];return Object.fromEntries(e)},"generateShapeMap"),$9=JDe();o(gee,"isValidShape")});var eLe,lw,yee=N(()=>{"use strict";pr();b2();Xt();pt();G9();tr();dr();ui();eLe="flowchart-",lw=class{constructor(){this.vertexCounter=0;this.config=ge();this.vertices=new Map;this.edges=[];this.classes=new Map;this.subGraphs=[];this.subGraphLookup=new Map;this.tooltips=new Map;this.subCount=0;this.firstGraphFlag=!0;this.secCount=-1;this.posCrossRef=[];this.funs=[];this.setAccTitle=Cr;this.setAccDescription=Dr;this.setDiagramTitle=Or;this.getAccTitle=_r;this.getAccDescription=Lr;this.getDiagramTitle=Rr;this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{o(this,"FlowDB")}sanitizeText(e){return Je.sanitizeText(e,this.config)}lookUpDomId(e){for(let r of this.vertices.values())if(r.id===e)return r.domId;return e}addVertex(e,r,n,i,a,s,l={},u){if(!e||e.trim().length===0)return;let h;if(u!==void 0){let m;u.includes(` `)?m=u+` `:m=`{ `+u+` -}`,h=gm(m,{schema:mm})}let f=this.edges.find(m=>m.id===e);if(f){let m=h;m?.animate!==void 0&&(f.animate=m.animate),m?.animation!==void 0&&(f.animation=m.animation),m?.curve!==void 0&&(f.interpolate=m.curve);return}let d,p=this.vertices.get(e);if(p===void 0&&(p={id:e,labelType:"text",domId:jDe+e+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,p)),this.vertexCounter++,r!==void 0?(this.config=ge(),d=this.sanitizeText(r.text.trim()),p.labelType=r.type,d.startsWith('"')&&d.endsWith('"')&&(d=d.substring(1,d.length-1)),p.text=d):p.text===void 0&&(p.text=e),n!==void 0&&(p.type=n),i?.forEach(m=>{p.styles.push(m)}),a?.forEach(m=>{p.classes.push(m)}),s!==void 0&&(p.dir=s),p.props===void 0?p.props=l:l!==void 0&&Object.assign(p.props,l),h!==void 0){if(h.shape){if(h.shape!==h.shape.toLowerCase()||h.shape.includes("_"))throw new Error(`No such shape: ${h.shape}. Shape names should be lowercase.`);if(!see(h.shape))throw new Error(`No such shape: ${h.shape}.`);p.type=h?.shape}h?.label&&(p.text=h?.label),h?.icon&&(p.icon=h?.icon,!h.label?.trim()&&p.text===e&&(p.text="")),h?.form&&(p.form=h?.form),h?.pos&&(p.pos=h?.pos),h?.img&&(p.img=h?.img,!h.label?.trim()&&p.text===e&&(p.text="")),h?.constraint&&(p.constraint=h.constraint),h.w&&(p.assetWidth=Number(h.w)),h.h&&(p.assetHeight=Number(h.h))}}addSingleLink(e,r,n,i){let l={start:e,end:r,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};X.info("abc78 Got edge...",l);let u=n.text;if(u!==void 0&&(l.text=this.sanitizeText(u.text.trim()),l.text.startsWith('"')&&l.text.endsWith('"')&&(l.text=l.text.substring(1,l.text.length-1)),l.labelType=u.type),n!==void 0&&(l.type=n.type,l.stroke=n.stroke,l.length=n.length>10?10:n.length),i&&!this.edges.some(h=>h.id===i))l.id=i,l.isUserDefinedId=!0;else{let h=this.edges.filter(f=>f.start===l.start&&f.end===l.end);h.length===0?l.id=Gh(l.start,l.end,{counter:0,prefix:"L"}):l.id=Gh(l.start,l.end,{counter:h.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))X.info("Pushing edge..."),this.edges.push(l);else throw new Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}. +}`,h=Xh(m,{schema:Yh})}let f=this.edges.find(m=>m.id===e);if(f){let m=h;m?.animate!==void 0&&(f.animate=m.animate),m?.animation!==void 0&&(f.animation=m.animation),m?.curve!==void 0&&(f.interpolate=m.curve);return}let d,p=this.vertices.get(e);if(p===void 0&&(p={id:e,labelType:"text",domId:eLe+e+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,p)),this.vertexCounter++,r!==void 0?(this.config=ge(),d=this.sanitizeText(r.text.trim()),p.labelType=r.type,d.startsWith('"')&&d.endsWith('"')&&(d=d.substring(1,d.length-1)),p.text=d):p.text===void 0&&(p.text=e),n!==void 0&&(p.type=n),i?.forEach(m=>{p.styles.push(m)}),a?.forEach(m=>{p.classes.push(m)}),s!==void 0&&(p.dir=s),p.props===void 0?p.props=l:l!==void 0&&Object.assign(p.props,l),h!==void 0){if(h.shape){if(h.shape!==h.shape.toLowerCase()||h.shape.includes("_"))throw new Error(`No such shape: ${h.shape}. Shape names should be lowercase.`);if(!gee(h.shape))throw new Error(`No such shape: ${h.shape}.`);p.type=h?.shape}h?.label&&(p.text=h?.label),h?.icon&&(p.icon=h?.icon,!h.label?.trim()&&p.text===e&&(p.text="")),h?.form&&(p.form=h?.form),h?.pos&&(p.pos=h?.pos),h?.img&&(p.img=h?.img,!h.label?.trim()&&p.text===e&&(p.text="")),h?.constraint&&(p.constraint=h.constraint),h.w&&(p.assetWidth=Number(h.w)),h.h&&(p.assetHeight=Number(h.h))}}addSingleLink(e,r,n,i){let l={start:e,end:r,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};X.info("abc78 Got edge...",l);let u=n.text;if(u!==void 0&&(l.text=this.sanitizeText(u.text.trim()),l.text.startsWith('"')&&l.text.endsWith('"')&&(l.text=l.text.substring(1,l.text.length-1)),l.labelType=u.type),n!==void 0&&(l.type=n.type,l.stroke=n.stroke,l.length=n.length>10?10:n.length),i&&!this.edges.some(h=>h.id===i))l.id=i,l.isUserDefinedId=!0;else{let h=this.edges.filter(f=>f.start===l.start&&f.end===l.end);h.length===0?l.id=Hh(l.start,l.end,{counter:0,prefix:"L"}):l.id=Hh(l.start,l.end,{counter:h.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))X.info("Pushing edge..."),this.edges.push(l);else throw new Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}. Initialize mermaid with maxEdges set to a higher number to allow more edges. You cannot set this config via configuration inside the diagram as it is a secure config. -You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e=="object"&&"id"in e&&typeof e.id=="string"}addLink(e,r,n){let i=this.isLinkData(n)?n.id.replace("@",""):void 0;X.info("addLink",e,r,i);for(let a of e)for(let s of r){let l=a===e[e.length-1],u=s===r[0];l&&u?this.addSingleLink(a,s,n,i):this.addSingleLink(a,s,n,void 0)}}updateLinkInterpolate(e,r){e.forEach(n=>{n==="default"?this.edges.defaultInterpolate=r:this.edges[n].interpolate=r})}updateLink(e,r){e.forEach(n=>{if(typeof n=="number"&&n>=this.edges.length)throw new Error(`The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);n==="default"?this.edges.defaultStyle=r:(this.edges[n].style=r,(this.edges[n]?.style?.length??0)>0&&!this.edges[n]?.style?.some(i=>i?.startsWith("fill"))&&this.edges[n]?.style?.push("fill:none"))})}addClass(e,r){let n=r.join().replace(/\\,/g,"\xA7\xA7\xA7").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach(i=>{let a=this.classes.get(i);a===void 0&&(a={id:i,styles:[],textStyles:[]},this.classes.set(i,a)),n?.forEach(s=>{if(/color/.exec(s)){let l=s.replace("fill","bgFill");a.textStyles.push(l)}a.styles.push(s)})})}setDirection(e){this.direction=e.trim(),/.*/.exec(this.direction)&&(this.direction="LR"),/.*v/.exec(this.direction)&&(this.direction="TB"),this.direction==="TD"&&(this.direction="TB")}setClass(e,r){for(let n of e.split(",")){let i=this.vertices.get(n);i&&i.classes.push(r);let a=this.edges.find(l=>l.id===n);a&&a.classes.push(r);let s=this.subGraphLookup.get(n);s&&s.classes.push(r)}}setTooltip(e,r){if(r!==void 0){r=this.sanitizeText(r);for(let n of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(n):n,r)}}setClickFun(e,r,n){let i=this.lookUpDomId(e);if(ge().securityLevel!=="loose"||r===void 0)return;let a=[];if(typeof n=="string"){a=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let l=0;l{let l=document.querySelector(`[id="${i}"]`);l!==null&&l.addEventListener("click",()=>{Vt.runFunc(r,...a)},!1)}))}setLink(e,r,n){e.split(",").forEach(i=>{let a=this.vertices.get(i);a!==void 0&&(a.link=Vt.formatUrl(r,this.config),a.linkTarget=n)}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,r,n){e.split(",").forEach(i=>{this.setClickFun(i,r,n)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach(r=>{r(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){let r=Ge(".mermaidTooltip");(r._groups||r)[0][0]===null&&(r=Ge("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),Ge(e).select("svg").selectAll("g.node").on("mouseover",a=>{let s=Ge(a.currentTarget);if(s.attr("title")===null)return;let u=a.currentTarget?.getBoundingClientRect();r.transition().duration(200).style("opacity",".9"),r.text(s.attr("title")).style("left",window.scrollX+u.left+(u.right-u.left)/2+"px").style("top",window.scrollY+u.bottom+"px"),r.html(r.html().replace(/<br\/>/g,"
    ")),s.classed("hover",!0)}).on("mouseout",a=>{r.transition().duration(500).style("opacity",0),Ge(a.currentTarget).classed("hover",!1)})}clear(e="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=ge(),wr()}setGen(e){this.version=e||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(e,r,n){let i=e.text.trim(),a=n.text;e===n&&/\s/.exec(n.text)&&(i=void 0);let l=o(p=>{let m={boolean:{},number:{},string:{}},g=[],y;return{nodeList:p.filter(function(x){let b=typeof x;return x.stmt&&x.stmt==="dir"?(y=x.value,!1):x.trim()===""?!1:b in m?m[b].hasOwnProperty(x)?!1:m[b][x]=!0:g.includes(x)?!1:g.push(x)}),dir:y}},"uniq")(r.flat()),u=l.nodeList,h=l.dir,f=ge().flowchart??{};if(h=h??(f.inheritDir?this.getDirection()??ge().direction??void 0:void 0),this.version==="gen-1")for(let p=0;p2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=r,this.subGraphs[r].id===e)return{result:!0,count:0};let i=0,a=1;for(;i=0){let l=this.indexNodes2(e,s);if(l.result)return{result:!0,count:a+l.count};a=a+l.count}i=i+1}return{result:!1,count:a}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}destructStartLink(e){let r=e.trim(),n="arrow_open";switch(r[0]){case"<":n="arrow_point",r=r.slice(1);break;case"x":n="arrow_cross",r=r.slice(1);break;case"o":n="arrow_circle",r=r.slice(1);break}let i="normal";return r.includes("=")&&(i="thick"),r.includes(".")&&(i="dotted"),{type:n,stroke:i}}countChar(e,r){let n=r.length,i=0;for(let a=0;a":i="arrow_point",r.startsWith("<")&&(i="double_"+i,n=n.slice(1));break;case"o":i="arrow_circle",r.startsWith("o")&&(i="double_"+i,n=n.slice(1));break}let a="normal",s=n.length-1;n.startsWith("=")&&(a="thick"),n.startsWith("~")&&(a="invisible");let l=this.countChar(".",n);return l&&(a="dotted",s=l),{type:i,stroke:a,length:s}}destructLink(e,r){let n=this.destructEndLink(e),i;if(r){if(i=this.destructStartLink(r),i.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if(i.type==="arrow_open")i.type=n.type;else{if(i.type!==n.type)return{type:"INVALID",stroke:"INVALID"};i.type="double_"+i.type}return i.type==="double_arrow"&&(i.type="double_arrow_point"),i.length=n.length,i}return n}exists(e,r){for(let n of e)if(n.nodes.includes(r))return!0;return!1}makeUniq(e,r){let n=[];return e.nodes.forEach((i,a)=>{this.exists(r,i)||n.push(e.nodes[a])}),{nodes:n}}getTypeFromVertex(e){if(e.img)return"imageSquare";if(e.icon)return e.form==="circle"?"iconCircle":e.form==="square"?"iconSquare":e.form==="rounded"?"iconRounded":"icon";switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}}findNode(e,r){return e.find(n=>n.id===r)}destructEdgeType(e){let r="none",n="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":n=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":r=e.replace("double_",""),n=r;break}return{arrowTypeStart:r,arrowTypeEnd:n}}addNodeFromVertex(e,r,n,i,a,s){let l=n.get(e.id),u=i.get(e.id)??!1,h=this.findNode(r,e.id);if(h)h.cssStyles=e.styles,h.cssCompiledStyles=this.getCompiledStyles(e.classes),h.cssClasses=e.classes.join(" ");else{let f={id:e.id,label:e.text,labelStyle:"",parentId:l,padding:a.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:s,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};u?r.push({...f,isGroup:!0,shape:"rect"}):r.push({...f,isGroup:!1,shape:this.getTypeFromVertex(e)})}}getCompiledStyles(e){let r=[];for(let n of e){let i=this.classes.get(n);i?.styles&&(r=[...r,...i.styles??[]].map(a=>a.trim())),i?.textStyles&&(r=[...r,...i.textStyles??[]].map(a=>a.trim()))}return r}getData(){let e=ge(),r=[],n=[],i=this.getSubGraphs(),a=new Map,s=new Map;for(let h=i.length-1;h>=0;h--){let f=i[h];f.nodes.length>0&&s.set(f.id,!0);for(let d of f.nodes)a.set(d,f.id)}for(let h=i.length-1;h>=0;h--){let f=i[h];r.push({id:f.id,label:f.title,labelStyle:"",parentId:a.get(f.id),padding:8,cssCompiledStyles:this.getCompiledStyles(f.classes),cssClasses:f.classes.join(" "),shape:"rect",dir:f.dir,isGroup:!0,look:e.look})}this.getVertices().forEach(h=>{this.addNodeFromVertex(h,r,a,s,e,e.look||"classic")});let u=this.getEdges();return u.forEach((h,f)=>{let{arrowTypeStart:d,arrowTypeEnd:p}=this.destructEdgeType(h.type),m=[...u.defaultStyle??[]];h.style&&m.push(...h.style);let g={id:Gh(h.start,h.end,{counter:f,prefix:"L"},h.id),isUserDefinedId:h.isUserDefinedId,start:h.start,end:h.end,type:h.type??"normal",label:h.text,labelpos:"c",thickness:h.stroke,minlen:h.length,classes:h?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:h?.stroke==="invisible"||h?.type==="arrow_open"?"none":d,arrowTypeEnd:h?.stroke==="invisible"||h?.type==="arrow_open"?"none":p,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(h.classes),labelStyle:m,style:m,pattern:h.stroke,look:e.look,animate:h.animate,animation:h.animation,curve:h.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};n.push(g)}),{nodes:r,edges:n,other:{},config:e}}defaultConfig(){return B3.flowchart}}});var bc,xm=N(()=>{"use strict";pr();bc=o((t,e)=>{let r;return e==="sandbox"&&(r=Ge("#i"+t)),(e==="sandbox"?Ge(r.nodes()[0].contentDocument.body):Ge("body")).select(`[id="${t}"]`)},"getDiagramElement")});var Mu,L2=N(()=>{"use strict";Mu=o(({flowchart:t})=>{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0,n=e+r;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:n}},"getSubGraphTitleMargins")});var lee,KDe,QDe,ZDe,JDe,e9e,t9e,cee,bm,uee,nw=N(()=>{"use strict";qt();dr();yt();L2();pr();Wt();no();fL();JT();$d();Gt();lee=o(async(t,e)=>{X.info("Creating subgraph rect for ",e.id,e);let r=ge(),{themeVariables:n,handDrawnSeed:i}=r,{clusterBkg:a,clusterBorder:s}=n,{labelStyles:l,nodeStyles:u,borderStyles:h,backgroundStyles:f}=qe(e),d=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),p=mr(r.flowchart.htmlLabels),m=d.insert("g").attr("class","cluster-label "),g=await Hn(m,e.label,{style:e.labelStyle,useHtmlLabels:p,isNode:!0}),y=g.getBBox();if(mr(r.flowchart.htmlLabels)){let _=g.children[0],A=Ge(g);y=_.getBoundingClientRect(),A.attr("width",y.width),A.attr("height",y.height)}let v=e.width<=y.width+e.padding?y.width+e.padding:e.width;e.width<=y.width+e.padding?e.diff=(v-e.width)/2-e.padding:e.diff=-e.padding;let x=e.height,b=e.x-v/2,T=e.y-x/2;X.trace("Data ",e,JSON.stringify(e));let C;if(e.look==="handDrawn"){let _=je.svg(d),A=Qe(e,{roughness:.7,fill:a,stroke:s,fillWeight:3,seed:i}),D=_.path(Is(b,T,v,x,0),A);C=d.insert(()=>(X.debug("Rough node insert CXC",D),D),":first-child"),C.select("path:nth-child(2)").attr("style",h.join(";")),C.select("path").attr("style",f.join(";").replace("fill","stroke"))}else C=d.insert("rect",":first-child"),C.attr("style",u).attr("rx",e.rx).attr("ry",e.ry).attr("x",b).attr("y",T).attr("width",v).attr("height",x);let{subGraphTitleTopMargin:w}=Mu(r);if(m.attr("transform",`translate(${e.x-y.width/2}, ${e.y-e.height/2+w})`),l){let _=m.select("span");_&&_.attr("style",l)}let E=C.node().getBBox();return e.offsetX=0,e.width=E.width,e.height=E.height,e.offsetY=y.height-e.padding/2,e.intersect=function(_){return Hh(e,_)},{cluster:d,labelBBox:y}},"rect"),KDe=o((t,e)=>{let r=t.insert("g").attr("class","note-cluster").attr("id",e.id),n=r.insert("rect",":first-child"),i=0*e.padding,a=i/2;n.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2-a).attr("width",e.width+i).attr("height",e.height+i).attr("fill","none");let s=n.node().getBBox();return e.width=s.width,e.height=s.height,e.intersect=function(l){return Hh(e,l)},{cluster:r,labelBBox:{width:0,height:0}}},"noteGroup"),QDe=o(async(t,e)=>{let r=ge(),{themeVariables:n,handDrawnSeed:i}=r,{altBackground:a,compositeBackground:s,compositeTitleBackground:l,nodeBorder:u}=n,h=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-id",e.id).attr("data-look",e.look),f=h.insert("g",":first-child"),d=h.insert("g").attr("class","cluster-label"),p=h.append("rect"),m=d.node().appendChild(await xc(e.label,e.labelStyle,void 0,!0)),g=m.getBBox();if(mr(r.flowchart.htmlLabels)){let D=m.children[0],O=Ge(m);g=D.getBoundingClientRect(),O.attr("width",g.width),O.attr("height",g.height)}let y=0*e.padding,v=y/2,x=(e.width<=g.width+e.padding?g.width+e.padding:e.width)+y;e.width<=g.width+e.padding?e.diff=(x-e.width)/2-e.padding:e.diff=-e.padding;let b=e.height+y,T=e.height+y-g.height-6,C=e.x-x/2,w=e.y-b/2;e.width=x;let E=e.y-e.height/2-v+g.height+2,_;if(e.look==="handDrawn"){let D=e.cssClasses.includes("statediagram-cluster-alt"),O=je.svg(h),R=e.rx||e.ry?O.path(Is(C,w,x,b,10),{roughness:.7,fill:l,fillStyle:"solid",stroke:u,seed:i}):O.rectangle(C,w,x,b,{seed:i});_=h.insert(()=>R,":first-child");let k=O.rectangle(C,E,x,T,{fill:D?a:s,fillStyle:D?"hachure":"solid",stroke:u,seed:i});_=h.insert(()=>R,":first-child"),p=h.insert(()=>k)}else _=f.insert("rect",":first-child"),_.attr("class","outer").attr("x",C).attr("y",w).attr("width",x).attr("height",b).attr("data-look",e.look),p.attr("class","inner").attr("x",C).attr("y",E).attr("width",x).attr("height",T);d.attr("transform",`translate(${e.x-g.width/2}, ${w+1-(mr(r.flowchart.htmlLabels)?0:3)})`);let A=_.node().getBBox();return e.height=A.height,e.offsetX=0,e.offsetY=g.height-e.padding/2,e.labelBBox=g,e.intersect=function(D){return Hh(e,D)},{cluster:h,labelBBox:g}},"roundedWithTitle"),ZDe=o(async(t,e)=>{X.info("Creating subgraph rect for ",e.id,e);let r=ge(),{themeVariables:n,handDrawnSeed:i}=r,{clusterBkg:a,clusterBorder:s}=n,{labelStyles:l,nodeStyles:u,borderStyles:h,backgroundStyles:f}=qe(e),d=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),p=mr(r.flowchart.htmlLabels),m=d.insert("g").attr("class","cluster-label "),g=await Hn(m,e.label,{style:e.labelStyle,useHtmlLabels:p,isNode:!0,width:e.width}),y=g.getBBox();if(mr(r.flowchart.htmlLabels)){let _=g.children[0],A=Ge(g);y=_.getBoundingClientRect(),A.attr("width",y.width),A.attr("height",y.height)}let v=e.width<=y.width+e.padding?y.width+e.padding:e.width;e.width<=y.width+e.padding?e.diff=(v-e.width)/2-e.padding:e.diff=-e.padding;let x=e.height,b=e.x-v/2,T=e.y-x/2;X.trace("Data ",e,JSON.stringify(e));let C;if(e.look==="handDrawn"){let _=je.svg(d),A=Qe(e,{roughness:.7,fill:a,stroke:s,fillWeight:4,seed:i}),D=_.path(Is(b,T,v,x,e.rx),A);C=d.insert(()=>(X.debug("Rough node insert CXC",D),D),":first-child"),C.select("path:nth-child(2)").attr("style",h.join(";")),C.select("path").attr("style",f.join(";").replace("fill","stroke"))}else C=d.insert("rect",":first-child"),C.attr("style",u).attr("rx",e.rx).attr("ry",e.ry).attr("x",b).attr("y",T).attr("width",v).attr("height",x);let{subGraphTitleTopMargin:w}=Mu(r);if(m.attr("transform",`translate(${e.x-y.width/2}, ${e.y-e.height/2+w})`),l){let _=m.select("span");_&&_.attr("style",l)}let E=C.node().getBBox();return e.offsetX=0,e.width=E.width,e.height=E.height,e.offsetY=y.height-e.padding/2,e.intersect=function(_){return Hh(e,_)},{cluster:d,labelBBox:y}},"kanbanSection"),JDe=o((t,e)=>{let r=ge(),{themeVariables:n,handDrawnSeed:i}=r,{nodeBorder:a}=n,s=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-look",e.look),l=s.insert("g",":first-child"),u=0*e.padding,h=e.width+u;e.diff=-e.padding;let f=e.height+u,d=e.x-h/2,p=e.y-f/2;e.width=h;let m;if(e.look==="handDrawn"){let v=je.svg(s).rectangle(d,p,h,f,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:a,seed:i});m=s.insert(()=>v,":first-child")}else m=l.insert("rect",":first-child"),m.attr("class","divider").attr("x",d).attr("y",p).attr("width",h).attr("height",f).attr("data-look",e.look);let g=m.node().getBBox();return e.height=g.height,e.offsetX=0,e.offsetY=0,e.intersect=function(y){return Hh(e,y)},{cluster:s,labelBBox:{}}},"divider"),e9e=lee,t9e={rect:lee,squareRect:e9e,roundedWithTitle:QDe,noteGroup:KDe,divider:JDe,kanbanSection:ZDe},cee=new Map,bm=o(async(t,e)=>{let r=e.shape||"rect",n=await t9e[r](t,e);return cee.set(e.id,n),n},"insertCluster"),uee=o(()=>{cee=new Map},"clear")});function iw(t,e){if(t===void 0||e===void 0)return{angle:0,deltaX:0,deltaY:0};t=Wn(t),e=Wn(e);let[r,n]=[t.x,t.y],[i,a]=[e.x,e.y],s=i-r,l=a-n;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}var zo,Wn,aw,ML=N(()=>{"use strict";zo={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};o(iw,"calculateDeltaAndAngle");Wn=o(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),aw=o(t=>({x:o(function(e,r,n){let i=0,a=Wn(n[0]).x=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(zo,t.arrowTypeEnd)){let{angle:m,deltaX:g}=iw(n[n.length-1],n[n.length-2]);i=zo[t.arrowTypeEnd]*Math.cos(m)*(g>=0?1:-1)}let s=Math.abs(Wn(e).x-Wn(n[n.length-1]).x),l=Math.abs(Wn(e).y-Wn(n[n.length-1]).y),u=Math.abs(Wn(e).x-Wn(n[0]).x),h=Math.abs(Wn(e).y-Wn(n[0]).y),f=zo[t.arrowTypeStart],d=zo[t.arrowTypeEnd],p=1;if(s0&&l0&&h=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(zo,t.arrowTypeEnd)){let{angle:m,deltaY:g}=iw(n[n.length-1],n[n.length-2]);i=zo[t.arrowTypeEnd]*Math.abs(Math.sin(m))*(g>=0?1:-1)}let s=Math.abs(Wn(e).y-Wn(n[n.length-1]).y),l=Math.abs(Wn(e).x-Wn(n[n.length-1]).x),u=Math.abs(Wn(e).y-Wn(n[0]).y),h=Math.abs(Wn(e).x-Wn(n[0]).x),f=zo[t.arrowTypeStart],d=zo[t.arrowTypeEnd],p=1;if(s0&&l0&&h{"use strict";yt();fee=o((t,e,r,n,i,a)=>{e.arrowTypeStart&&hee(t,"start",e.arrowTypeStart,r,n,i,a),e.arrowTypeEnd&&hee(t,"end",e.arrowTypeEnd,r,n,i,a)},"addEdgeMarkers"),r9e={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},hee=o((t,e,r,n,i,a,s)=>{let l=r9e[r];if(!l){X.warn(`Unknown arrow type: ${r}`);return}let u=l.type,f=`${i}_${a}-${u}${e==="start"?"Start":"End"}`;if(s&&s.trim()!==""){let d=s.replace(/[^\dA-Za-z]/g,"_"),p=`${f}_${d}`;if(!document.getElementById(p)){let m=document.getElementById(f);if(m){let g=m.cloneNode(!0);g.id=p,g.querySelectorAll("path, circle, line").forEach(v=>{v.setAttribute("stroke",s),l.fill&&v.setAttribute("fill",s)}),m.parentNode?.appendChild(g)}}t.attr(`marker-${e}`,`url(${n}#${p})`)}else t.attr(`marker-${e}`,`url(${n}#${f})`)},"addEdgeMarker")});function sw(t,e){ge().flowchart.htmlLabels&&t&&(t.style.width=e.length*9+"px",t.style.height="12px")}function a9e(t){let e=[],r=[];for(let n=1;n5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===s.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-s.y)>5)&&(e.push(a),r.push(n))}return{cornerPoints:e,cornerPointPositions:r}}var ow,ha,gee,R2,lw,cw,n9e,i9e,pee,mee,s9e,uw,IL=N(()=>{"use strict";qt();dr();yt();no();nr();ML();L2();pr();Wt();JT();dee();Gt();ow=new Map,ha=new Map,gee=o(()=>{ow.clear(),ha.clear()},"clear"),R2=o(t=>t?t.reduce((r,n)=>r+";"+n,""):"","getLabelStyles"),lw=o(async(t,e)=>{let r=mr(ge().flowchart.htmlLabels),n=await Hn(t,e.label,{style:R2(e.labelStyle),useHtmlLabels:r,addSvgBackground:!0,isNode:!1});X.info("abc82",e,e.labelType);let i=t.insert("g").attr("class","edgeLabel"),a=i.insert("g").attr("class","label");a.node().appendChild(n);let s=n.getBBox();if(r){let u=n.children[0],h=Ge(n);s=u.getBoundingClientRect(),h.attr("width",s.width),h.attr("height",s.height)}a.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),ow.set(e.id,i),e.width=s.width,e.height=s.height;let l;if(e.startLabelLeft){let u=await xc(e.startLabelLeft,R2(e.labelStyle)),h=t.insert("g").attr("class","edgeTerminals"),f=h.insert("g").attr("class","inner");l=f.node().appendChild(u);let d=u.getBBox();f.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),ha.get(e.id)||ha.set(e.id,{}),ha.get(e.id).startLeft=h,sw(l,e.startLabelLeft)}if(e.startLabelRight){let u=await xc(e.startLabelRight,R2(e.labelStyle)),h=t.insert("g").attr("class","edgeTerminals"),f=h.insert("g").attr("class","inner");l=h.node().appendChild(u),f.node().appendChild(u);let d=u.getBBox();f.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),ha.get(e.id)||ha.set(e.id,{}),ha.get(e.id).startRight=h,sw(l,e.startLabelRight)}if(e.endLabelLeft){let u=await xc(e.endLabelLeft,R2(e.labelStyle)),h=t.insert("g").attr("class","edgeTerminals"),f=h.insert("g").attr("class","inner");l=f.node().appendChild(u);let d=u.getBBox();f.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),h.node().appendChild(u),ha.get(e.id)||ha.set(e.id,{}),ha.get(e.id).endLeft=h,sw(l,e.endLabelLeft)}if(e.endLabelRight){let u=await xc(e.endLabelRight,R2(e.labelStyle)),h=t.insert("g").attr("class","edgeTerminals"),f=h.insert("g").attr("class","inner");l=f.node().appendChild(u);let d=u.getBBox();f.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),h.node().appendChild(u),ha.get(e.id)||ha.set(e.id,{}),ha.get(e.id).endRight=h,sw(l,e.endLabelRight)}return n},"insertEdgeLabel");o(sw,"setTerminalWidth");cw=o((t,e)=>{X.debug("Moving label abc88 ",t.id,t.label,ow.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,n=ge(),{subGraphTitleTotalMargin:i}=Mu(n);if(t.label){let a=ow.get(t.id),s=t.x,l=t.y;if(r){let u=Vt.calcLabelPosition(r);X.debug("Moving label "+t.label+" from (",s,",",l,") to (",u.x,",",u.y,") abc88"),e.updatedPath&&(s=u.x,l=u.y)}a.attr("transform",`translate(${s}, ${l+i/2})`)}if(t.startLabelLeft){let a=ha.get(t.id).startLeft,s=t.x,l=t.y;if(r){let u=Vt.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.startLabelRight){let a=ha.get(t.id).startRight,s=t.x,l=t.y;if(r){let u=Vt.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.endLabelLeft){let a=ha.get(t.id).endLeft,s=t.x,l=t.y;if(r){let u=Vt.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.endLabelRight){let a=ha.get(t.id).endRight,s=t.x,l=t.y;if(r){let u=Vt.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}},"positionEdgeLabel"),n9e=o((t,e)=>{let r=t.x,n=t.y,i=Math.abs(e.x-r),a=Math.abs(e.y-n),s=t.width/2,l=t.height/2;return i>=s||a>=l},"outsideNode"),i9e=o((t,e,r)=>{X.debug(`intersection calc abc89: +You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e=="object"&&"id"in e&&typeof e.id=="string"}addLink(e,r,n){let i=this.isLinkData(n)?n.id.replace("@",""):void 0;X.info("addLink",e,r,i);for(let a of e)for(let s of r){let l=a===e[e.length-1],u=s===r[0];l&&u?this.addSingleLink(a,s,n,i):this.addSingleLink(a,s,n,void 0)}}updateLinkInterpolate(e,r){e.forEach(n=>{n==="default"?this.edges.defaultInterpolate=r:this.edges[n].interpolate=r})}updateLink(e,r){e.forEach(n=>{if(typeof n=="number"&&n>=this.edges.length)throw new Error(`The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);n==="default"?this.edges.defaultStyle=r:(this.edges[n].style=r,(this.edges[n]?.style?.length??0)>0&&!this.edges[n]?.style?.some(i=>i?.startsWith("fill"))&&this.edges[n]?.style?.push("fill:none"))})}addClass(e,r){let n=r.join().replace(/\\,/g,"\xA7\xA7\xA7").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach(i=>{let a=this.classes.get(i);a===void 0&&(a={id:i,styles:[],textStyles:[]},this.classes.set(i,a)),n?.forEach(s=>{if(/color/.exec(s)){let l=s.replace("fill","bgFill");a.textStyles.push(l)}a.styles.push(s)})})}setDirection(e){this.direction=e.trim(),/.*/.exec(this.direction)&&(this.direction="LR"),/.*v/.exec(this.direction)&&(this.direction="TB"),this.direction==="TD"&&(this.direction="TB")}setClass(e,r){for(let n of e.split(",")){let i=this.vertices.get(n);i&&i.classes.push(r);let a=this.edges.find(l=>l.id===n);a&&a.classes.push(r);let s=this.subGraphLookup.get(n);s&&s.classes.push(r)}}setTooltip(e,r){if(r!==void 0){r=this.sanitizeText(r);for(let n of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(n):n,r)}}setClickFun(e,r,n){let i=this.lookUpDomId(e);if(ge().securityLevel!=="loose"||r===void 0)return;let a=[];if(typeof n=="string"){a=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let l=0;l{let l=document.querySelector(`[id="${i}"]`);l!==null&&l.addEventListener("click",()=>{Ht.runFunc(r,...a)},!1)}))}setLink(e,r,n){e.split(",").forEach(i=>{let a=this.vertices.get(i);a!==void 0&&(a.link=Ht.formatUrl(r,this.config),a.linkTarget=n)}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,r,n){e.split(",").forEach(i=>{this.setClickFun(i,r,n)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach(r=>{r(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){let r=ze(".mermaidTooltip");(r._groups||r)[0][0]===null&&(r=ze("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),ze(e).select("svg").selectAll("g.node").on("mouseover",a=>{let s=ze(a.currentTarget);if(s.attr("title")===null)return;let u=a.currentTarget?.getBoundingClientRect();r.transition().duration(200).style("opacity",".9"),r.text(s.attr("title")).style("left",window.scrollX+u.left+(u.right-u.left)/2+"px").style("top",window.scrollY+u.bottom+"px"),r.html(r.html().replace(/<br\/>/g,"
    ")),s.classed("hover",!0)}).on("mouseout",a=>{r.transition().duration(500).style("opacity",0),ze(a.currentTarget).classed("hover",!1)})}clear(e="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=ge(),wr()}setGen(e){this.version=e||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(e,r,n){let i=e.text.trim(),a=n.text;e===n&&/\s/.exec(n.text)&&(i=void 0);let l=o(p=>{let m={boolean:{},number:{},string:{}},g=[],y;return{nodeList:p.filter(function(v){let b=typeof v;return v.stmt&&v.stmt==="dir"?(y=v.value,!1):v.trim()===""?!1:b in m?m[b].hasOwnProperty(v)?!1:m[b][v]=!0:g.includes(v)?!1:g.push(v)}),dir:y}},"uniq")(r.flat()),u=l.nodeList,h=l.dir,f=ge().flowchart??{};if(h=h??(f.inheritDir?this.getDirection()??ge().direction??void 0:void 0),this.version==="gen-1")for(let p=0;p2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=r,this.subGraphs[r].id===e)return{result:!0,count:0};let i=0,a=1;for(;i=0){let l=this.indexNodes2(e,s);if(l.result)return{result:!0,count:a+l.count};a=a+l.count}i=i+1}return{result:!1,count:a}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}destructStartLink(e){let r=e.trim(),n="arrow_open";switch(r[0]){case"<":n="arrow_point",r=r.slice(1);break;case"x":n="arrow_cross",r=r.slice(1);break;case"o":n="arrow_circle",r=r.slice(1);break}let i="normal";return r.includes("=")&&(i="thick"),r.includes(".")&&(i="dotted"),{type:n,stroke:i}}countChar(e,r){let n=r.length,i=0;for(let a=0;a":i="arrow_point",r.startsWith("<")&&(i="double_"+i,n=n.slice(1));break;case"o":i="arrow_circle",r.startsWith("o")&&(i="double_"+i,n=n.slice(1));break}let a="normal",s=n.length-1;n.startsWith("=")&&(a="thick"),n.startsWith("~")&&(a="invisible");let l=this.countChar(".",n);return l&&(a="dotted",s=l),{type:i,stroke:a,length:s}}destructLink(e,r){let n=this.destructEndLink(e),i;if(r){if(i=this.destructStartLink(r),i.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if(i.type==="arrow_open")i.type=n.type;else{if(i.type!==n.type)return{type:"INVALID",stroke:"INVALID"};i.type="double_"+i.type}return i.type==="double_arrow"&&(i.type="double_arrow_point"),i.length=n.length,i}return n}exists(e,r){for(let n of e)if(n.nodes.includes(r))return!0;return!1}makeUniq(e,r){let n=[];return e.nodes.forEach((i,a)=>{this.exists(r,i)||n.push(e.nodes[a])}),{nodes:n}}getTypeFromVertex(e){if(e.img)return"imageSquare";if(e.icon)return e.form==="circle"?"iconCircle":e.form==="square"?"iconSquare":e.form==="rounded"?"iconRounded":"icon";switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}}findNode(e,r){return e.find(n=>n.id===r)}destructEdgeType(e){let r="none",n="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":n=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":r=e.replace("double_",""),n=r;break}return{arrowTypeStart:r,arrowTypeEnd:n}}addNodeFromVertex(e,r,n,i,a,s){let l=n.get(e.id),u=i.get(e.id)??!1,h=this.findNode(r,e.id);if(h)h.cssStyles=e.styles,h.cssCompiledStyles=this.getCompiledStyles(e.classes),h.cssClasses=e.classes.join(" ");else{let f={id:e.id,label:e.text,labelStyle:"",parentId:l,padding:a.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:s,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};u?r.push({...f,isGroup:!0,shape:"rect"}):r.push({...f,isGroup:!1,shape:this.getTypeFromVertex(e)})}}getCompiledStyles(e){let r=[];for(let n of e){let i=this.classes.get(n);i?.styles&&(r=[...r,...i.styles??[]].map(a=>a.trim())),i?.textStyles&&(r=[...r,...i.textStyles??[]].map(a=>a.trim()))}return r}getData(){let e=ge(),r=[],n=[],i=this.getSubGraphs(),a=new Map,s=new Map;for(let h=i.length-1;h>=0;h--){let f=i[h];f.nodes.length>0&&s.set(f.id,!0);for(let d of f.nodes)a.set(d,f.id)}for(let h=i.length-1;h>=0;h--){let f=i[h];r.push({id:f.id,label:f.title,labelStyle:"",parentId:a.get(f.id),padding:8,cssCompiledStyles:this.getCompiledStyles(f.classes),cssClasses:f.classes.join(" "),shape:"rect",dir:f.dir,isGroup:!0,look:e.look})}this.getVertices().forEach(h=>{this.addNodeFromVertex(h,r,a,s,e,e.look||"classic")});let u=this.getEdges();return u.forEach((h,f)=>{let{arrowTypeStart:d,arrowTypeEnd:p}=this.destructEdgeType(h.type),m=[...u.defaultStyle??[]];h.style&&m.push(...h.style);let g={id:Hh(h.start,h.end,{counter:f,prefix:"L"},h.id),isUserDefinedId:h.isUserDefinedId,start:h.start,end:h.end,type:h.type??"normal",label:h.text,labelpos:"c",thickness:h.stroke,minlen:h.length,classes:h?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:h?.stroke==="invisible"||h?.type==="arrow_open"?"none":d,arrowTypeEnd:h?.stroke==="invisible"||h?.type==="arrow_open"?"none":p,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(h.classes),labelStyle:m,style:m,pattern:h.stroke,look:e.look,animate:h.animate,animation:h.animation,curve:h.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};n.push(g)}),{nodes:r,edges:n,other:{},config:e}}defaultConfig(){return G3.flowchart}}});var zo,Kd=N(()=>{"use strict";pr();zo=o((t,e)=>{let r;return e==="sandbox"&&(r=ze("#i"+t)),(e==="sandbox"?ze(r.nodes()[0].contentDocument.body):ze("body")).select(`[id="${t}"]`)},"getDiagramElement")});var Iu,N2=N(()=>{"use strict";Iu=o(({flowchart:t})=>{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0,n=e+r;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:n}},"getSubGraphTitleMargins")});var vee,tLe,rLe,nLe,iLe,aLe,sLe,xee,Tm,bee,cw=N(()=>{"use strict";Xt();dr();pt();N2();pr();Ut();$o();x9();aw();Xd();Ft();vee=o(async(t,e)=>{X.info("Creating subgraph rect for ",e.id,e);let r=ge(),{themeVariables:n,handDrawnSeed:i}=r,{clusterBkg:a,clusterBorder:s}=n,{labelStyles:l,nodeStyles:u,borderStyles:h,backgroundStyles:f}=We(e),d=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),p=mr(r.flowchart.htmlLabels),m=d.insert("g").attr("class","cluster-label "),g=await pi(m,e.label,{style:e.labelStyle,useHtmlLabels:p,isNode:!0}),y=g.getBBox();if(mr(r.flowchart.htmlLabels)){let _=g.children[0],A=ze(g);y=_.getBoundingClientRect(),A.attr("width",y.width),A.attr("height",y.height)}let x=e.width<=y.width+e.padding?y.width+e.padding:e.width;e.width<=y.width+e.padding?e.diff=(x-e.width)/2-e.padding:e.diff=-e.padding;let v=e.height,b=e.x-x/2,T=e.y-v/2;X.trace("Data ",e,JSON.stringify(e));let S;if(e.look==="handDrawn"){let _=je.svg(d),A=Ke(e,{roughness:.7,fill:a,stroke:s,fillWeight:3,seed:i}),D=_.path(Bs(b,T,x,v,0),A);S=d.insert(()=>(X.debug("Rough node insert CXC",D),D),":first-child"),S.select("path:nth-child(2)").attr("style",h.join(";")),S.select("path").attr("style",f.join(";").replace("fill","stroke"))}else S=d.insert("rect",":first-child"),S.attr("style",u).attr("rx",e.rx).attr("ry",e.ry).attr("x",b).attr("y",T).attr("width",x).attr("height",v);let{subGraphTitleTopMargin:w}=Iu(r);if(m.attr("transform",`translate(${e.x-y.width/2}, ${e.y-e.height/2+w})`),l){let _=m.select("span");_&&_.attr("style",l)}let E=S.node().getBBox();return e.offsetX=0,e.width=E.width,e.height=E.height,e.offsetY=y.height-e.padding/2,e.intersect=function(_){return jh(e,_)},{cluster:d,labelBBox:y}},"rect"),tLe=o((t,e)=>{let r=t.insert("g").attr("class","note-cluster").attr("id",e.id),n=r.insert("rect",":first-child"),i=0*e.padding,a=i/2;n.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2-a).attr("width",e.width+i).attr("height",e.height+i).attr("fill","none");let s=n.node().getBBox();return e.width=s.width,e.height=s.height,e.intersect=function(l){return jh(e,l)},{cluster:r,labelBBox:{width:0,height:0}}},"noteGroup"),rLe=o(async(t,e)=>{let r=ge(),{themeVariables:n,handDrawnSeed:i}=r,{altBackground:a,compositeBackground:s,compositeTitleBackground:l,nodeBorder:u}=n,h=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-id",e.id).attr("data-look",e.look),f=h.insert("g",":first-child"),d=h.insert("g").attr("class","cluster-label"),p=h.append("rect"),m=d.node().appendChild(await Tc(e.label,e.labelStyle,void 0,!0)),g=m.getBBox();if(mr(r.flowchart.htmlLabels)){let D=m.children[0],O=ze(m);g=D.getBoundingClientRect(),O.attr("width",g.width),O.attr("height",g.height)}let y=0*e.padding,x=y/2,v=(e.width<=g.width+e.padding?g.width+e.padding:e.width)+y;e.width<=g.width+e.padding?e.diff=(v-e.width)/2-e.padding:e.diff=-e.padding;let b=e.height+y,T=e.height+y-g.height-6,S=e.x-v/2,w=e.y-b/2;e.width=v;let E=e.y-e.height/2-x+g.height+2,_;if(e.look==="handDrawn"){let D=e.cssClasses.includes("statediagram-cluster-alt"),O=je.svg(h),R=e.rx||e.ry?O.path(Bs(S,w,v,b,10),{roughness:.7,fill:l,fillStyle:"solid",stroke:u,seed:i}):O.rectangle(S,w,v,b,{seed:i});_=h.insert(()=>R,":first-child");let k=O.rectangle(S,E,v,T,{fill:D?a:s,fillStyle:D?"hachure":"solid",stroke:u,seed:i});_=h.insert(()=>R,":first-child"),p=h.insert(()=>k)}else _=f.insert("rect",":first-child"),_.attr("class","outer").attr("x",S).attr("y",w).attr("width",v).attr("height",b).attr("data-look",e.look),p.attr("class","inner").attr("x",S).attr("y",E).attr("width",v).attr("height",T);d.attr("transform",`translate(${e.x-g.width/2}, ${w+1-(mr(r.flowchart.htmlLabels)?0:3)})`);let A=_.node().getBBox();return e.height=A.height,e.offsetX=0,e.offsetY=g.height-e.padding/2,e.labelBBox=g,e.intersect=function(D){return jh(e,D)},{cluster:h,labelBBox:g}},"roundedWithTitle"),nLe=o(async(t,e)=>{X.info("Creating subgraph rect for ",e.id,e);let r=ge(),{themeVariables:n,handDrawnSeed:i}=r,{clusterBkg:a,clusterBorder:s}=n,{labelStyles:l,nodeStyles:u,borderStyles:h,backgroundStyles:f}=We(e),d=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look),p=mr(r.flowchart.htmlLabels),m=d.insert("g").attr("class","cluster-label "),g=await pi(m,e.label,{style:e.labelStyle,useHtmlLabels:p,isNode:!0,width:e.width}),y=g.getBBox();if(mr(r.flowchart.htmlLabels)){let _=g.children[0],A=ze(g);y=_.getBoundingClientRect(),A.attr("width",y.width),A.attr("height",y.height)}let x=e.width<=y.width+e.padding?y.width+e.padding:e.width;e.width<=y.width+e.padding?e.diff=(x-e.width)/2-e.padding:e.diff=-e.padding;let v=e.height,b=e.x-x/2,T=e.y-v/2;X.trace("Data ",e,JSON.stringify(e));let S;if(e.look==="handDrawn"){let _=je.svg(d),A=Ke(e,{roughness:.7,fill:a,stroke:s,fillWeight:4,seed:i}),D=_.path(Bs(b,T,x,v,e.rx),A);S=d.insert(()=>(X.debug("Rough node insert CXC",D),D),":first-child"),S.select("path:nth-child(2)").attr("style",h.join(";")),S.select("path").attr("style",f.join(";").replace("fill","stroke"))}else S=d.insert("rect",":first-child"),S.attr("style",u).attr("rx",e.rx).attr("ry",e.ry).attr("x",b).attr("y",T).attr("width",x).attr("height",v);let{subGraphTitleTopMargin:w}=Iu(r);if(m.attr("transform",`translate(${e.x-y.width/2}, ${e.y-e.height/2+w})`),l){let _=m.select("span");_&&_.attr("style",l)}let E=S.node().getBBox();return e.offsetX=0,e.width=E.width,e.height=E.height,e.offsetY=y.height-e.padding/2,e.intersect=function(_){return jh(e,_)},{cluster:d,labelBBox:y}},"kanbanSection"),iLe=o((t,e)=>{let r=ge(),{themeVariables:n,handDrawnSeed:i}=r,{nodeBorder:a}=n,s=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-look",e.look),l=s.insert("g",":first-child"),u=0*e.padding,h=e.width+u;e.diff=-e.padding;let f=e.height+u,d=e.x-h/2,p=e.y-f/2;e.width=h;let m;if(e.look==="handDrawn"){let x=je.svg(s).rectangle(d,p,h,f,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:a,seed:i});m=s.insert(()=>x,":first-child")}else m=l.insert("rect",":first-child"),m.attr("class","divider").attr("x",d).attr("y",p).attr("width",h).attr("height",f).attr("data-look",e.look);let g=m.node().getBBox();return e.height=g.height,e.offsetX=0,e.offsetY=0,e.intersect=function(y){return jh(e,y)},{cluster:s,labelBBox:{}}},"divider"),aLe=vee,sLe={rect:vee,squareRect:aLe,roundedWithTitle:rLe,noteGroup:tLe,divider:iLe,kanbanSection:nLe},xee=new Map,Tm=o(async(t,e)=>{let r=e.shape||"rect",n=await sLe[r](t,e);return xee.set(e.id,n),n},"insertCluster"),bee=o(()=>{xee=new Map},"clear")});function uw(t,e){if(t===void 0||e===void 0)return{angle:0,deltaX:0,deltaY:0};t=Xn(t),e=Xn(e);let[r,n]=[t.x,t.y],[i,a]=[e.x,e.y],s=i-r,l=a-n;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}var Vo,Xn,hw,z9=N(()=>{"use strict";Vo={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};o(uw,"calculateDeltaAndAngle");Xn=o(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),hw=o(t=>({x:o(function(e,r,n){let i=0,a=Xn(n[0]).x=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(Vo,t.arrowTypeEnd)){let{angle:m,deltaX:g}=uw(n[n.length-1],n[n.length-2]);i=Vo[t.arrowTypeEnd]*Math.cos(m)*(g>=0?1:-1)}let s=Math.abs(Xn(e).x-Xn(n[n.length-1]).x),l=Math.abs(Xn(e).y-Xn(n[n.length-1]).y),u=Math.abs(Xn(e).x-Xn(n[0]).x),h=Math.abs(Xn(e).y-Xn(n[0]).y),f=Vo[t.arrowTypeStart],d=Vo[t.arrowTypeEnd],p=1;if(s0&&l0&&h=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(Vo,t.arrowTypeEnd)){let{angle:m,deltaY:g}=uw(n[n.length-1],n[n.length-2]);i=Vo[t.arrowTypeEnd]*Math.abs(Math.sin(m))*(g>=0?1:-1)}let s=Math.abs(Xn(e).y-Xn(n[n.length-1]).y),l=Math.abs(Xn(e).x-Xn(n[n.length-1]).x),u=Math.abs(Xn(e).y-Xn(n[0]).y),h=Math.abs(Xn(e).x-Xn(n[0]).x),f=Vo[t.arrowTypeStart],d=Vo[t.arrowTypeEnd],p=1;if(s0&&l0&&h{"use strict";pt();wee=o((t,e,r,n,i,a)=>{e.arrowTypeStart&&Tee(t,"start",e.arrowTypeStart,r,n,i,a),e.arrowTypeEnd&&Tee(t,"end",e.arrowTypeEnd,r,n,i,a)},"addEdgeMarkers"),oLe={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},Tee=o((t,e,r,n,i,a,s)=>{let l=oLe[r];if(!l){X.warn(`Unknown arrow type: ${r}`);return}let u=l.type,f=`${i}_${a}-${u}${e==="start"?"Start":"End"}`;if(s&&s.trim()!==""){let d=s.replace(/[^\dA-Za-z]/g,"_"),p=`${f}_${d}`;if(!document.getElementById(p)){let m=document.getElementById(f);if(m){let g=m.cloneNode(!0);g.id=p,g.querySelectorAll("path, circle, line").forEach(x=>{x.setAttribute("stroke",s),l.fill&&x.setAttribute("fill",s)}),m.parentNode?.appendChild(g)}}t.attr(`marker-${e}`,`url(${n}#${p})`)}else t.attr(`marker-${e}`,`url(${n}#${f})`)},"addEdgeMarker")});function fw(t,e){ge().flowchart.htmlLabels&&t&&(t.style.width=e.length*9+"px",t.style.height="12px")}function uLe(t){let e=[],r=[];for(let n=1;n5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===s.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-s.y)>5)&&(e.push(a),r.push(n))}return{cornerPoints:e,cornerPointPositions:r}}var dw,fa,Cee,M2,pw,mw,lLe,cLe,Eee,See,hLe,gw,V9=N(()=>{"use strict";Xt();dr();pt();$o();tr();z9();N2();pr();Ut();aw();kee();Ft();dw=new Map,fa=new Map,Cee=o(()=>{dw.clear(),fa.clear()},"clear"),M2=o(t=>t?t.reduce((r,n)=>r+";"+n,""):"","getLabelStyles"),pw=o(async(t,e)=>{let r=mr(ge().flowchart.htmlLabels),n=await pi(t,e.label,{style:M2(e.labelStyle),useHtmlLabels:r,addSvgBackground:!0,isNode:!1});X.info("abc82",e,e.labelType);let i=t.insert("g").attr("class","edgeLabel"),a=i.insert("g").attr("class","label");a.node().appendChild(n);let s=n.getBBox();if(r){let u=n.children[0],h=ze(n);s=u.getBoundingClientRect(),h.attr("width",s.width),h.attr("height",s.height)}a.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),dw.set(e.id,i),e.width=s.width,e.height=s.height;let l;if(e.startLabelLeft){let u=await Tc(e.startLabelLeft,M2(e.labelStyle)),h=t.insert("g").attr("class","edgeTerminals"),f=h.insert("g").attr("class","inner");l=f.node().appendChild(u);let d=u.getBBox();f.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),fa.get(e.id)||fa.set(e.id,{}),fa.get(e.id).startLeft=h,fw(l,e.startLabelLeft)}if(e.startLabelRight){let u=await Tc(e.startLabelRight,M2(e.labelStyle)),h=t.insert("g").attr("class","edgeTerminals"),f=h.insert("g").attr("class","inner");l=h.node().appendChild(u),f.node().appendChild(u);let d=u.getBBox();f.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),fa.get(e.id)||fa.set(e.id,{}),fa.get(e.id).startRight=h,fw(l,e.startLabelRight)}if(e.endLabelLeft){let u=await Tc(e.endLabelLeft,M2(e.labelStyle)),h=t.insert("g").attr("class","edgeTerminals"),f=h.insert("g").attr("class","inner");l=f.node().appendChild(u);let d=u.getBBox();f.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),h.node().appendChild(u),fa.get(e.id)||fa.set(e.id,{}),fa.get(e.id).endLeft=h,fw(l,e.endLabelLeft)}if(e.endLabelRight){let u=await Tc(e.endLabelRight,M2(e.labelStyle)),h=t.insert("g").attr("class","edgeTerminals"),f=h.insert("g").attr("class","inner");l=f.node().appendChild(u);let d=u.getBBox();f.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),h.node().appendChild(u),fa.get(e.id)||fa.set(e.id,{}),fa.get(e.id).endRight=h,fw(l,e.endLabelRight)}return n},"insertEdgeLabel");o(fw,"setTerminalWidth");mw=o((t,e)=>{X.debug("Moving label abc88 ",t.id,t.label,dw.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,n=ge(),{subGraphTitleTotalMargin:i}=Iu(n);if(t.label){let a=dw.get(t.id),s=t.x,l=t.y;if(r){let u=Ht.calcLabelPosition(r);X.debug("Moving label "+t.label+" from (",s,",",l,") to (",u.x,",",u.y,") abc88"),e.updatedPath&&(s=u.x,l=u.y)}a.attr("transform",`translate(${s}, ${l+i/2})`)}if(t.startLabelLeft){let a=fa.get(t.id).startLeft,s=t.x,l=t.y;if(r){let u=Ht.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.startLabelRight){let a=fa.get(t.id).startRight,s=t.x,l=t.y;if(r){let u=Ht.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.endLabelLeft){let a=fa.get(t.id).endLeft,s=t.x,l=t.y;if(r){let u=Ht.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.endLabelRight){let a=fa.get(t.id).endRight,s=t.x,l=t.y;if(r){let u=Ht.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}},"positionEdgeLabel"),lLe=o((t,e)=>{let r=t.x,n=t.y,i=Math.abs(e.x-r),a=Math.abs(e.y-n),s=t.width/2,l=t.height/2;return i>=s||a>=l},"outsideNode"),cLe=o((t,e,r)=>{X.debug(`intersection calc abc89: outsidePoint: ${JSON.stringify(e)} insidePoint : ${JSON.stringify(r)} - node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let n=t.x,i=t.y,a=Math.abs(n-r.x),s=t.width/2,l=r.xMath.abs(n-e.x)*u){let d=r.y{X.warn("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],i=!1;return t.forEach(a=>{if(X.info("abc88 checking point",a,e),!n9e(e,a)&&!i){let s=i9e(e,n,a);X.debug("abc88 inside",a,n,s),X.debug("abc88 intersection",s,e);let l=!1;r.forEach(u=>{l=l||u.x===s.x&&u.y===s.y}),r.some(u=>u.x===s.x&&u.y===s.y)?X.warn("abc88 no intersect",s,r):r.push(s),i=!0}else X.warn("abc88 outside",a,n),n=a,i||r.push(a)}),X.debug("returning points",r),r},"cutPathAtIntersect");o(a9e,"extractCornerPoints");mee=o(function(t,e,r){let n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),s=r/a;return{x:e.x-s*n,y:e.y-s*i}},"findAdjacentPoint"),s9e=o(function(t){let{cornerPointPositions:e}=a9e(t),r=[];for(let n=0;n10&&Math.abs(a.y-i.y)>=10){X.debug("Corner point fixing",Math.abs(a.x-i.x),Math.abs(a.y-i.y));let m=5;s.x===l.x?p={x:h<0?l.x-m+d:l.x+m-d,y:f<0?l.y-d:l.y+d}:p={x:h<0?l.x-d:l.x+d,y:f<0?l.y-m+d:l.y+m-d}}else X.debug("Corner point skipping fixing",Math.abs(a.x-i.x),Math.abs(a.y-i.y));r.push(p,u)}else r.push(t[n]);return r},"fixCorners"),uw=o(function(t,e,r,n,i,a,s){let{handDrawnSeed:l}=ge(),u=e.points,h=!1,f=i;var d=a;let p=[];for(let R in e.cssCompiledStyles)k2(R)||p.push(e.cssCompiledStyles[R]);d.intersect&&f.intersect&&(u=u.slice(1,e.points.length-1),u.unshift(f.intersect(u[0])),X.debug("Last point APA12",e.start,"-->",e.end,u[u.length-1],d,d.intersect(u[u.length-1])),u.push(d.intersect(u[u.length-1]))),e.toCluster&&(X.info("to cluster abc88",r.get(e.toCluster)),u=pee(e.points,r.get(e.toCluster).node),h=!0),e.fromCluster&&(X.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(u,null,2)),u=pee(u.reverse(),r.get(e.fromCluster).node).reverse(),h=!0);let m=u.filter(R=>!Number.isNaN(R.y));m=s9e(m);let g=Lo;switch(g=ku,e.curve){case"linear":g=ku;break;case"basis":g=Lo;break;case"cardinal":g=Hv;break;case"bumpX":g=$v;break;case"bumpY":g=zv;break;case"catmullRom":g=Yv;break;case"monotoneX":g=Xv;break;case"monotoneY":g=jv;break;case"natural":g=W0;break;case"step":g=q0;break;case"stepAfter":g=Qv;break;case"stepBefore":g=Kv;break;default:g=Lo}let{x:y,y:v}=aw(e),x=El().x(y).y(v).curve(g),b;switch(e.thickness){case"normal":b="edge-thickness-normal";break;case"thick":b="edge-thickness-thick";break;case"invisible":b="edge-thickness-invisible";break;default:b="edge-thickness-normal"}switch(e.pattern){case"solid":b+=" edge-pattern-solid";break;case"dotted":b+=" edge-pattern-dotted";break;case"dashed":b+=" edge-pattern-dashed";break;default:b+=" edge-pattern-solid"}let T,C=x(m),w=Array.isArray(e.style)?e.style:e.style?[e.style]:[],E=w.find(R=>R?.startsWith("stroke:"));if(e.look==="handDrawn"){let R=je.svg(t);Object.assign([],m);let k=R.path(C,{roughness:.3,seed:l});b+=" transition",T=Ge(k).select("path").attr("id",e.id).attr("class"," "+b+(e.classes?" "+e.classes:"")).attr("style",w?w.reduce((S,I)=>S+";"+I,""):"");let L=T.attr("d");T.attr("d",L),t.node().appendChild(T.node())}else{let R=p.join(";"),k=w?w.reduce((I,M)=>I+M+";",""):"",L="";e.animate&&(L=" edge-animation-fast"),e.animation&&(L=" edge-animation-"+e.animation);let S=R?R+";"+k+";":k;T=t.append("path").attr("d",C).attr("id",e.id).attr("class"," "+b+(e.classes?" "+e.classes:"")+(L??"")).attr("style",S),E=S.match(/stroke:([^;]+)/)?.[1]}let _="";(ge().flowchart.arrowMarkerAbsolute||ge().state.arrowMarkerAbsolute)&&(_=fu(!0)),X.info("arrowTypeStart",e.arrowTypeStart),X.info("arrowTypeEnd",e.arrowTypeEnd),fee(T,e,_,s,n,E);let A=Math.floor(u.length/2),D=u[A];Vt.isLabelCoordinateInPath(D,T.attr("d"))||(h=!0);let O={};return h&&(O.updatedPath=u),O.originalPath=e.points,O},"insertEdge")});var o9e,l9e,c9e,u9e,h9e,f9e,d9e,p9e,m9e,g9e,y9e,v9e,x9e,b9e,T9e,w9e,k9e,hw,OL=N(()=>{"use strict";yt();o9e=o((t,e,r,n)=>{e.forEach(i=>{k9e[i](t,r,n)})},"insertMarkers"),l9e=o((t,e,r)=>{X.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),c9e=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),u9e=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),h9e=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),f9e=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),d9e=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),p9e=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),m9e=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),g9e=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),y9e=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),v9e=o((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneStart").attr("class","marker zeroOrOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("d","M9,0 L9,18");let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+e).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),i.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),x9e=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreStart").attr("class","marker oneOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreEnd").attr("class","marker oneOrMore "+e).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),b9e=o((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+e).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),i.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),T9e=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0 + node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let n=t.x,i=t.y,a=Math.abs(n-r.x),s=t.width/2,l=r.xMath.abs(n-e.x)*u){let d=r.y{X.warn("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],i=!1;return t.forEach(a=>{if(X.info("abc88 checking point",a,e),!lLe(e,a)&&!i){let s=cLe(e,n,a);X.debug("abc88 inside",a,n,s),X.debug("abc88 intersection",s,e);let l=!1;r.forEach(u=>{l=l||u.x===s.x&&u.y===s.y}),r.some(u=>u.x===s.x&&u.y===s.y)?X.warn("abc88 no intersect",s,r):r.push(s),i=!0}else X.warn("abc88 outside",a,n),n=a,i||r.push(a)}),X.debug("returning points",r),r},"cutPathAtIntersect");o(uLe,"extractCornerPoints");See=o(function(t,e,r){let n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),s=r/a;return{x:e.x-s*n,y:e.y-s*i}},"findAdjacentPoint"),hLe=o(function(t){let{cornerPointPositions:e}=uLe(t),r=[];for(let n=0;n10&&Math.abs(a.y-i.y)>=10){X.debug("Corner point fixing",Math.abs(a.x-i.x),Math.abs(a.y-i.y));let m=5;s.x===l.x?p={x:h<0?l.x-m+d:l.x+m-d,y:f<0?l.y-d:l.y+d}:p={x:h<0?l.x-d:l.x+d,y:f<0?l.y-m+d:l.y+m-d}}else X.debug("Corner point skipping fixing",Math.abs(a.x-i.x),Math.abs(a.y-i.y));r.push(p,u)}else r.push(t[n]);return r},"fixCorners"),gw=o(function(t,e,r,n,i,a,s){let{handDrawnSeed:l}=ge(),u=e.points,h=!1,f=i;var d=a;let p=[];for(let R in e.cssCompiledStyles)S2(R)||p.push(e.cssCompiledStyles[R]);d.intersect&&f.intersect&&(u=u.slice(1,e.points.length-1),u.unshift(f.intersect(u[0])),X.debug("Last point APA12",e.start,"-->",e.end,u[u.length-1],d,d.intersect(u[u.length-1])),u.push(d.intersect(u[u.length-1]))),e.toCluster&&(X.info("to cluster abc88",r.get(e.toCluster)),u=Eee(e.points,r.get(e.toCluster).node),h=!0),e.fromCluster&&(X.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(u,null,2)),u=Eee(u.reverse(),r.get(e.fromCluster).node).reverse(),h=!0);let m=u.filter(R=>!Number.isNaN(R.y));m=hLe(m);let g=Ro;switch(g=Eu,e.curve){case"linear":g=Eu;break;case"basis":g=Ro;break;case"cardinal":g=Wv;break;case"bumpX":g=Gv;break;case"bumpY":g=zv;break;case"catmullRom":g=Xv;break;case"monotoneX":g=jv;break;case"monotoneY":g=Kv;break;case"natural":g=j0;break;case"step":g=K0;break;case"stepAfter":g=Zv;break;case"stepBefore":g=Qv;break;default:g=Ro}let{x:y,y:x}=hw(e),v=Cl().x(y).y(x).curve(g),b;switch(e.thickness){case"normal":b="edge-thickness-normal";break;case"thick":b="edge-thickness-thick";break;case"invisible":b="edge-thickness-invisible";break;default:b="edge-thickness-normal"}switch(e.pattern){case"solid":b+=" edge-pattern-solid";break;case"dotted":b+=" edge-pattern-dotted";break;case"dashed":b+=" edge-pattern-dashed";break;default:b+=" edge-pattern-solid"}let T,S=v(m),w=Array.isArray(e.style)?e.style:e.style?[e.style]:[],E=w.find(R=>R?.startsWith("stroke:"));if(e.look==="handDrawn"){let R=je.svg(t);Object.assign([],m);let k=R.path(S,{roughness:.3,seed:l});b+=" transition",T=ze(k).select("path").attr("id",e.id).attr("class"," "+b+(e.classes?" "+e.classes:"")).attr("style",w?w.reduce((C,I)=>C+";"+I,""):"");let L=T.attr("d");T.attr("d",L),t.node().appendChild(T.node())}else{let R=p.join(";"),k=w?w.reduce((I,M)=>I+M+";",""):"",L="";e.animate&&(L=" edge-animation-fast"),e.animation&&(L=" edge-animation-"+e.animation);let C=R?R+";"+k+";":k;T=t.append("path").attr("d",S).attr("id",e.id).attr("class"," "+b+(e.classes?" "+e.classes:"")+(L??"")).attr("style",C),E=C.match(/stroke:([^;]+)/)?.[1]}let _="";(ge().flowchart.arrowMarkerAbsolute||ge().state.arrowMarkerAbsolute)&&(_=du(!0)),X.info("arrowTypeStart",e.arrowTypeStart),X.info("arrowTypeEnd",e.arrowTypeEnd),wee(T,e,_,s,n,E);let A=Math.floor(u.length/2),D=u[A];Ht.isLabelCoordinateInPath(D,T.attr("d"))||(h=!0);let O={};return h&&(O.updatedPath=u),O.originalPath=e.points,O},"insertEdge")});var fLe,dLe,pLe,mLe,gLe,yLe,vLe,xLe,bLe,TLe,wLe,kLe,ELe,SLe,CLe,ALe,_Le,yw,U9=N(()=>{"use strict";pt();fLe=o((t,e,r,n)=>{e.forEach(i=>{_Le[i](t,r,n)})},"insertMarkers"),dLe=o((t,e,r)=>{X.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),pLe=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),mLe=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),gLe=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),yLe=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),vLe=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),xLe=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),bLe=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),TLe=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),wLe=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),kLe=o((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneStart").attr("class","marker zeroOrOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("d","M9,0 L9,18");let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+e).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),i.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),ELe=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreStart").attr("class","marker oneOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreEnd").attr("class","marker oneOrMore "+e).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),SLe=o((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+e).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),i.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),CLe=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0 L20,10 M20,10 - L0,20`)},"requirement_arrow"),w9e=o((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");n.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),n.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),n.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),k9e={extension:l9e,composition:c9e,aggregation:u9e,dependency:h9e,lollipop:f9e,point:d9e,circle:p9e,cross:m9e,barb:g9e,only_one:y9e,zero_or_one:v9e,one_or_more:x9e,zero_or_more:b9e,requirement_arrow:T9e,requirement_contains:w9e},hw=o9e});async function Tm(t,e,r){let n,i;e.shape==="rect"&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");let a=e.shape?RL[e.shape]:void 0;if(!a)throw new Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let s;r.config.securityLevel==="sandbox"?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s??null),i=await a(n,e,r)}else i=await a(t,e,r),n=i;return e.tooltip&&i.attr("title",e.tooltip),fw.set(e.id,n),e.haveCallback&&n.attr("class",n.attr("class")+" clickable"),n}var fw,yee,vee,N2,dw=N(()=>{"use strict";yt();NL();fw=new Map;o(Tm,"insertNode");yee=o((t,e)=>{fw.set(e.id,t)},"setNodeElem"),vee=o(()=>{fw.clear()},"clear"),N2=o(t=>{let e=fw.get(t.id);X.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=8,n=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+n-t.width/2)+", "+(t.y-t.height/2-r)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),n},"positionNode")});var xee,bee=N(()=>{"use strict";Jn();dr();yt();nw();IL();OL();dw();Ft();nr();xee={common:Ze,getConfig:Qt,insertCluster:bm,insertEdge:uw,insertEdgeLabel:lw,insertMarkers:hw,insertNode:Tm,interpolateToCurve:E9,labelHelper:pt,log:X,positionEdgeLabel:cw}});function S9e(t){return typeof t=="symbol"||ni(t)&&ua(t)==E9e}var E9e,ao,Gd=N(()=>{"use strict";Su();Mo();E9e="[object Symbol]";o(S9e,"isSymbol");ao=S9e});function C9e(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r{"use strict";o(C9e,"arrayMap");Os=C9e});function kee(t){if(typeof t=="string")return t;if(Pt(t))return Os(t,kee)+"";if(ao(t))return wee?wee.call(t):"";var e=t+"";return e=="0"&&1/t==-A9e?"-0":e}var A9e,Tee,wee,Eee,See=N(()=>{"use strict";Cd();Vd();Un();Gd();A9e=1/0,Tee=Zi?Zi.prototype:void 0,wee=Tee?Tee.toString:void 0;o(kee,"baseToString");Eee=kee});function D9e(t){for(var e=t.length;e--&&_9e.test(t.charAt(e)););return e}var _9e,Cee,Aee=N(()=>{"use strict";_9e=/\s/;o(D9e,"trimmedEndIndex");Cee=D9e});function R9e(t){return t&&t.slice(0,Cee(t)+1).replace(L9e,"")}var L9e,_ee,Dee=N(()=>{"use strict";Aee();L9e=/^\s+/;o(R9e,"baseTrim");_ee=R9e});function P9e(t){if(typeof t=="number")return t;if(ao(t))return Lee;if(xn(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=xn(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=_ee(t);var r=M9e.test(t);return r||I9e.test(t)?O9e(t.slice(2),r?2:8):N9e.test(t)?Lee:+t}var Lee,N9e,M9e,I9e,O9e,Ree,Nee=N(()=>{"use strict";Dee();to();Gd();Lee=NaN,N9e=/^[-+]0x[0-9a-f]+$/i,M9e=/^0b[01]+$/i,I9e=/^0o[0-7]+$/i,O9e=parseInt;o(P9e,"toNumber");Ree=P9e});function F9e(t){if(!t)return t===0?t:0;if(t=Ree(t),t===Mee||t===-Mee){var e=t<0?-1:1;return e*B9e}return t===t?t:0}var Mee,B9e,wm,PL=N(()=>{"use strict";Nee();Mee=1/0,B9e=17976931348623157e292;o(F9e,"toFinite");wm=F9e});function $9e(t){var e=wm(t),r=e%1;return e===e?r?e-r:e:0}var Tc,km=N(()=>{"use strict";PL();o($9e,"toInteger");Tc=$9e});var z9e,pw,Iee=N(()=>{"use strict";Nh();Ro();z9e=Cs(hi,"WeakMap"),pw=z9e});function G9e(){}var ai,BL=N(()=>{"use strict";o(G9e,"noop");ai=G9e});function V9e(t,e){for(var r=-1,n=t==null?0:t.length;++r{"use strict";o(V9e,"arrayEach");mw=V9e});function U9e(t,e,r,n){for(var i=t.length,a=r+(n?1:-1);n?a--:++a{"use strict";o(U9e,"baseFindIndex");gw=U9e});function H9e(t){return t!==t}var Oee,Pee=N(()=>{"use strict";o(H9e,"baseIsNaN");Oee=H9e});function W9e(t,e,r){for(var n=r-1,i=t.length;++n{"use strict";o(W9e,"strictIndexOf");Bee=W9e});function q9e(t,e,r){return e===e?Bee(t,e,r):gw(t,Oee,r)}var Em,yw=N(()=>{"use strict";$L();Pee();Fee();o(q9e,"baseIndexOf");Em=q9e});function Y9e(t,e){var r=t==null?0:t.length;return!!r&&Em(t,e,0)>-1}var vw,zL=N(()=>{"use strict";yw();o(Y9e,"arrayIncludes");vw=Y9e});var X9e,$ee,zee=N(()=>{"use strict";h9();X9e=dT(Object.keys,Object),$ee=X9e});function Q9e(t){if(!dc(t))return $ee(t);var e=[];for(var r in Object(t))K9e.call(t,r)&&r!="constructor"&&e.push(r);return e}var j9e,K9e,Sm,xw=N(()=>{"use strict";am();zee();j9e=Object.prototype,K9e=j9e.hasOwnProperty;o(Q9e,"baseKeys");Sm=Q9e});function Z9e(t){return fi(t)?vT(t):Sm(t)}var $r,wc=N(()=>{"use strict";g9();xw();Io();o(Z9e,"keys");$r=Z9e});var J9e,eLe,tLe,fa,Gee=N(()=>{"use strict";cm();Rd();b9();Io();am();wc();J9e=Object.prototype,eLe=J9e.hasOwnProperty,tLe=TT(function(t,e){if(dc(e)||fi(e)){Bo(e,$r(e),t);return}for(var r in e)eLe.call(e,r)&&pc(t,r,e[r])}),fa=tLe});function iLe(t,e){if(Pt(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||ao(t)?!0:nLe.test(t)||!rLe.test(t)||e!=null&&t in Object(e)}var rLe,nLe,Cm,bw=N(()=>{"use strict";Un();Gd();rLe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nLe=/^\w*$/;o(iLe,"isKey");Cm=iLe});function sLe(t){var e=Q0(t,function(n){return r.size===aLe&&r.clear(),n}),r=e.cache;return e}var aLe,Vee,Uee=N(()=>{"use strict";i9();aLe=500;o(sLe,"memoizeCapped");Vee=sLe});var oLe,lLe,cLe,Hee,Wee=N(()=>{"use strict";Uee();oLe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lLe=/\\(\\)?/g,cLe=Vee(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(oLe,function(r,n,i,a){e.push(i?a.replace(lLe,"$1"):n||r)}),e}),Hee=cLe});function uLe(t){return t==null?"":Eee(t)}var Tw,GL=N(()=>{"use strict";See();o(uLe,"toString");Tw=uLe});function hLe(t,e){return Pt(t)?t:Cm(t,e)?[t]:Hee(Tw(t))}var jh,M2=N(()=>{"use strict";Un();bw();Wee();GL();o(hLe,"castPath");jh=hLe});function dLe(t){if(typeof t=="string"||ao(t))return t;var e=t+"";return e=="0"&&1/t==-fLe?"-0":e}var fLe,kc,Am=N(()=>{"use strict";Gd();fLe=1/0;o(dLe,"toKey");kc=dLe});function pLe(t,e){e=jh(e,t);for(var r=0,n=e.length;t!=null&&r{"use strict";M2();Am();o(pLe,"baseGet");Kh=pLe});function mLe(t,e,r){var n=t==null?void 0:Kh(t,e);return n===void 0?r:n}var qee,Yee=N(()=>{"use strict";I2();o(mLe,"get");qee=mLe});function gLe(t,e){for(var r=-1,n=e.length,i=t.length;++r{"use strict";o(gLe,"arrayPush");_m=gLe});function yLe(t){return Pt(t)||Al(t)||!!(Xee&&t&&t[Xee])}var Xee,jee,Kee=N(()=>{"use strict";Cd();sm();Un();Xee=Zi?Zi.isConcatSpreadable:void 0;o(yLe,"isFlattenable");jee=yLe});function Qee(t,e,r,n,i){var a=-1,s=t.length;for(r||(r=jee),i||(i=[]);++a0&&r(l)?e>1?Qee(l,e-1,r,n,i):_m(i,l):n||(i[i.length]=l)}return i}var Ec,Dm=N(()=>{"use strict";ww();Kee();o(Qee,"baseFlatten");Ec=Qee});function vLe(t){var e=t==null?0:t.length;return e?Ec(t,1):[]}var Wr,kw=N(()=>{"use strict";Dm();o(vLe,"flatten");Wr=vLe});function xLe(t){return bT(xT(t,void 0,Wr),t+"")}var Zee,Jee=N(()=>{"use strict";kw();y9();x9();o(xLe,"flatRest");Zee=xLe});function bLe(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),r=r>i?i:r,r<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var a=Array(i);++n{"use strict";o(bLe,"baseSlice");Ew=bLe});function DLe(t){return _Le.test(t)}var TLe,wLe,kLe,ELe,SLe,CLe,ALe,_Le,ete,tte=N(()=>{"use strict";TLe="\\ud800-\\udfff",wLe="\\u0300-\\u036f",kLe="\\ufe20-\\ufe2f",ELe="\\u20d0-\\u20ff",SLe=wLe+kLe+ELe,CLe="\\ufe0e\\ufe0f",ALe="\\u200d",_Le=RegExp("["+ALe+TLe+SLe+CLe+"]");o(DLe,"hasUnicode");ete=DLe});function LLe(t,e,r,n){var i=-1,a=t==null?0:t.length;for(n&&a&&(r=t[++i]);++i{"use strict";o(LLe,"arrayReduce");rte=LLe});function RLe(t,e){return t&&Bo(e,$r(e),t)}var ite,ate=N(()=>{"use strict";Rd();wc();o(RLe,"baseAssign");ite=RLe});function NLe(t,e){return t&&Bo(e,As(e),t)}var ste,ote=N(()=>{"use strict";Rd();$h();o(NLe,"baseAssignIn");ste=NLe});function MLe(t,e){for(var r=-1,n=t==null?0:t.length,i=0,a=[];++r{"use strict";o(MLe,"arrayFilter");Lm=MLe});function ILe(){return[]}var Cw,UL=N(()=>{"use strict";o(ILe,"stubArray");Cw=ILe});var OLe,PLe,lte,BLe,Rm,Aw=N(()=>{"use strict";Sw();UL();OLe=Object.prototype,PLe=OLe.propertyIsEnumerable,lte=Object.getOwnPropertySymbols,BLe=lte?function(t){return t==null?[]:(t=Object(t),Lm(lte(t),function(e){return PLe.call(t,e)}))}:Cw,Rm=BLe});function FLe(t,e){return Bo(t,Rm(t),e)}var cte,ute=N(()=>{"use strict";Rd();Aw();o(FLe,"copySymbols");cte=FLe});var $Le,zLe,_w,HL=N(()=>{"use strict";ww();pT();Aw();UL();$Le=Object.getOwnPropertySymbols,zLe=$Le?function(t){for(var e=[];t;)_m(e,Rm(t)),t=im(t);return e}:Cw,_w=zLe});function GLe(t,e){return Bo(t,_w(t),e)}var hte,fte=N(()=>{"use strict";Rd();HL();o(GLe,"copySymbolsIn");hte=GLe});function VLe(t,e,r){var n=e(t);return Pt(t)?n:_m(n,r(t))}var Dw,WL=N(()=>{"use strict";ww();Un();o(VLe,"baseGetAllKeys");Dw=VLe});function ULe(t){return Dw(t,$r,Rm)}var O2,qL=N(()=>{"use strict";WL();Aw();wc();o(ULe,"getAllKeys");O2=ULe});function HLe(t){return Dw(t,As,_w)}var Lw,YL=N(()=>{"use strict";WL();HL();$h();o(HLe,"getAllKeysIn");Lw=HLe});var WLe,Rw,dte=N(()=>{"use strict";Nh();Ro();WLe=Cs(hi,"DataView"),Rw=WLe});var qLe,Nw,pte=N(()=>{"use strict";Nh();Ro();qLe=Cs(hi,"Promise"),Nw=qLe});var YLe,Qh,XL=N(()=>{"use strict";Nh();Ro();YLe=Cs(hi,"Set"),Qh=YLe});var mte,XLe,gte,yte,vte,xte,jLe,KLe,QLe,ZLe,JLe,Ud,so,Hd=N(()=>{"use strict";dte();sT();pte();XL();Iee();Su();t9();mte="[object Map]",XLe="[object Object]",gte="[object Promise]",yte="[object Set]",vte="[object WeakMap]",xte="[object DataView]",jLe=Cu(Rw),KLe=Cu(Oh),QLe=Cu(Nw),ZLe=Cu(Qh),JLe=Cu(pw),Ud=ua;(Rw&&Ud(new Rw(new ArrayBuffer(1)))!=xte||Oh&&Ud(new Oh)!=mte||Nw&&Ud(Nw.resolve())!=gte||Qh&&Ud(new Qh)!=yte||pw&&Ud(new pw)!=vte)&&(Ud=o(function(t){var e=ua(t),r=e==XLe?t.constructor:void 0,n=r?Cu(r):"";if(n)switch(n){case jLe:return xte;case KLe:return mte;case QLe:return gte;case ZLe:return yte;case JLe:return vte}return e},"getTag"));so=Ud});function rRe(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&tRe.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var eRe,tRe,bte,Tte=N(()=>{"use strict";eRe=Object.prototype,tRe=eRe.hasOwnProperty;o(rRe,"initCloneArray");bte=rRe});function nRe(t,e){var r=e?nm(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var wte,kte=N(()=>{"use strict";uT();o(nRe,"cloneDataView");wte=nRe});function aRe(t){var e=new t.constructor(t.source,iRe.exec(t));return e.lastIndex=t.lastIndex,e}var iRe,Ete,Ste=N(()=>{"use strict";iRe=/\w*$/;o(aRe,"cloneRegExp");Ete=aRe});function sRe(t){return Ate?Object(Ate.call(t)):{}}var Cte,Ate,_te,Dte=N(()=>{"use strict";Cd();Cte=Zi?Zi.prototype:void 0,Ate=Cte?Cte.valueOf:void 0;o(sRe,"cloneSymbol");_te=sRe});function CRe(t,e,r){var n=t.constructor;switch(e){case mRe:return nm(t);case oRe:case lRe:return new n(+t);case gRe:return wte(t,r);case yRe:case vRe:case xRe:case bRe:case TRe:case wRe:case kRe:case ERe:case SRe:return hT(t,r);case cRe:return new n;case uRe:case dRe:return new n(t);case hRe:return Ete(t);case fRe:return new n;case pRe:return _te(t)}}var oRe,lRe,cRe,uRe,hRe,fRe,dRe,pRe,mRe,gRe,yRe,vRe,xRe,bRe,TRe,wRe,kRe,ERe,SRe,Lte,Rte=N(()=>{"use strict";uT();kte();Ste();Dte();c9();oRe="[object Boolean]",lRe="[object Date]",cRe="[object Map]",uRe="[object Number]",hRe="[object RegExp]",fRe="[object Set]",dRe="[object String]",pRe="[object Symbol]",mRe="[object ArrayBuffer]",gRe="[object DataView]",yRe="[object Float32Array]",vRe="[object Float64Array]",xRe="[object Int8Array]",bRe="[object Int16Array]",TRe="[object Int32Array]",wRe="[object Uint8Array]",kRe="[object Uint8ClampedArray]",ERe="[object Uint16Array]",SRe="[object Uint32Array]";o(CRe,"initCloneByTag");Lte=CRe});function _Re(t){return ni(t)&&so(t)==ARe}var ARe,Nte,Mte=N(()=>{"use strict";Hd();Mo();ARe="[object Map]";o(_Re,"baseIsMap");Nte=_Re});var Ite,DRe,Ote,Pte=N(()=>{"use strict";Mte();Ld();c2();Ite=Po&&Po.isMap,DRe=Ite?Oo(Ite):Nte,Ote=DRe});function RRe(t){return ni(t)&&so(t)==LRe}var LRe,Bte,Fte=N(()=>{"use strict";Hd();Mo();LRe="[object Set]";o(RRe,"baseIsSet");Bte=RRe});var $te,NRe,zte,Gte=N(()=>{"use strict";Fte();Ld();c2();$te=Po&&Po.isSet,NRe=$te?Oo($te):Bte,zte=NRe});function Mw(t,e,r,n,i,a){var s,l=e&MRe,u=e&IRe,h=e&ORe;if(r&&(s=i?r(t,n,i,a):r(t)),s!==void 0)return s;if(!xn(t))return t;var f=Pt(t);if(f){if(s=bte(t),!l)return fT(t,s)}else{var d=so(t),p=d==Ute||d==zRe;if(_l(t))return cT(t,l);if(d==Hte||d==Vte||p&&!i){if(s=u||p?{}:mT(t),!l)return u?hte(t,ste(s,t)):cte(t,ite(s,t))}else{if(!An[d])return i?t:{};s=Lte(t,d,l)}}a||(a=new hc);var m=a.get(t);if(m)return m;a.set(t,s),zte(t)?t.forEach(function(v){s.add(Mw(v,e,r,v,t,a))}):Ote(t)&&t.forEach(function(v,x){s.set(x,Mw(v,e,r,x,t,a))});var g=h?u?Lw:O2:u?As:$r,y=f?void 0:g(t);return mw(y||t,function(v,x){y&&(x=v,v=t[x]),pc(s,x,Mw(v,e,r,x,t,a))}),s}var MRe,IRe,ORe,Vte,PRe,BRe,FRe,$Re,Ute,zRe,GRe,VRe,Hte,URe,HRe,WRe,qRe,YRe,XRe,jRe,KRe,QRe,ZRe,JRe,eNe,tNe,rNe,nNe,iNe,An,Iw,jL=N(()=>{"use strict";s2();FL();cm();ate();ote();o9();u9();ute();fte();qL();YL();Hd();Tte();Rte();f9();Un();lm();Pte();to();Gte();wc();$h();MRe=1,IRe=2,ORe=4,Vte="[object Arguments]",PRe="[object Array]",BRe="[object Boolean]",FRe="[object Date]",$Re="[object Error]",Ute="[object Function]",zRe="[object GeneratorFunction]",GRe="[object Map]",VRe="[object Number]",Hte="[object Object]",URe="[object RegExp]",HRe="[object Set]",WRe="[object String]",qRe="[object Symbol]",YRe="[object WeakMap]",XRe="[object ArrayBuffer]",jRe="[object DataView]",KRe="[object Float32Array]",QRe="[object Float64Array]",ZRe="[object Int8Array]",JRe="[object Int16Array]",eNe="[object Int32Array]",tNe="[object Uint8Array]",rNe="[object Uint8ClampedArray]",nNe="[object Uint16Array]",iNe="[object Uint32Array]",An={};An[Vte]=An[PRe]=An[XRe]=An[jRe]=An[BRe]=An[FRe]=An[KRe]=An[QRe]=An[ZRe]=An[JRe]=An[eNe]=An[GRe]=An[VRe]=An[Hte]=An[URe]=An[HRe]=An[WRe]=An[qRe]=An[tNe]=An[rNe]=An[nNe]=An[iNe]=!0;An[$Re]=An[Ute]=An[YRe]=!1;o(Mw,"baseClone");Iw=Mw});function sNe(t){return Iw(t,aNe)}var aNe,nn,KL=N(()=>{"use strict";jL();aNe=4;o(sNe,"clone");nn=sNe});function cNe(t){return Iw(t,oNe|lNe)}var oNe,lNe,QL,Wte=N(()=>{"use strict";jL();oNe=1,lNe=4;o(cNe,"cloneDeep");QL=cNe});function uNe(t){for(var e=-1,r=t==null?0:t.length,n=0,i=[];++e{"use strict";o(uNe,"compact");Sc=uNe});function fNe(t){return this.__data__.set(t,hNe),this}var hNe,Yte,Xte=N(()=>{"use strict";hNe="__lodash_hash_undefined__";o(fNe,"setCacheAdd");Yte=fNe});function dNe(t){return this.__data__.has(t)}var jte,Kte=N(()=>{"use strict";o(dNe,"setCacheHas");jte=dNe});function Ow(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new _d;++e{"use strict";oT();Xte();Kte();o(Ow,"SetCache");Ow.prototype.add=Ow.prototype.push=Yte;Ow.prototype.has=jte;Nm=Ow});function pNe(t,e){for(var r=-1,n=t==null?0:t.length;++r{"use strict";o(pNe,"arraySome");Bw=pNe});function mNe(t,e){return t.has(e)}var Mm,Fw=N(()=>{"use strict";o(mNe,"cacheHas");Mm=mNe});function vNe(t,e,r,n,i,a){var s=r&gNe,l=t.length,u=e.length;if(l!=u&&!(s&&u>l))return!1;var h=a.get(t),f=a.get(e);if(h&&f)return h==e&&f==t;var d=-1,p=!0,m=r&yNe?new Nm:void 0;for(a.set(t,e),a.set(e,t);++d{"use strict";Pw();ZL();Fw();gNe=1,yNe=2;o(vNe,"equalArrays");$w=vNe});function xNe(t){var e=-1,r=Array(t.size);return t.forEach(function(n,i){r[++e]=[i,n]}),r}var Qte,Zte=N(()=>{"use strict";o(xNe,"mapToArray");Qte=xNe});function bNe(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var Im,zw=N(()=>{"use strict";o(bNe,"setToArray");Im=bNe});function INe(t,e,r,n,i,a,s){switch(r){case MNe:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case NNe:return!(t.byteLength!=e.byteLength||!a(new rm(t),new rm(e)));case kNe:case ENe:case ANe:return No(+t,+e);case SNe:return t.name==e.name&&t.message==e.message;case _Ne:case LNe:return t==e+"";case CNe:var l=Qte;case DNe:var u=n&TNe;if(l||(l=Im),t.size!=e.size&&!u)return!1;var h=s.get(t);if(h)return h==e;n|=wNe,s.set(t,e);var f=$w(l(t),l(e),n,i,a,s);return s.delete(t),f;case RNe:if(eR)return eR.call(t)==eR.call(e)}return!1}var TNe,wNe,kNe,ENe,SNe,CNe,ANe,_Ne,DNe,LNe,RNe,NNe,MNe,Jte,eR,ere,tre=N(()=>{"use strict";Cd();l9();Ad();JL();Zte();zw();TNe=1,wNe=2,kNe="[object Boolean]",ENe="[object Date]",SNe="[object Error]",CNe="[object Map]",ANe="[object Number]",_Ne="[object RegExp]",DNe="[object Set]",LNe="[object String]",RNe="[object Symbol]",NNe="[object ArrayBuffer]",MNe="[object DataView]",Jte=Zi?Zi.prototype:void 0,eR=Jte?Jte.valueOf:void 0;o(INe,"equalByTag");ere=INe});function FNe(t,e,r,n,i,a){var s=r&ONe,l=O2(t),u=l.length,h=O2(e),f=h.length;if(u!=f&&!s)return!1;for(var d=u;d--;){var p=l[d];if(!(s?p in e:BNe.call(e,p)))return!1}var m=a.get(t),g=a.get(e);if(m&&g)return m==e&&g==t;var y=!0;a.set(t,e),a.set(e,t);for(var v=s;++d{"use strict";qL();ONe=1,PNe=Object.prototype,BNe=PNe.hasOwnProperty;o(FNe,"equalObjects");rre=FNe});function GNe(t,e,r,n,i,a){var s=Pt(t),l=Pt(e),u=s?are:so(t),h=l?are:so(e);u=u==ire?Gw:u,h=h==ire?Gw:h;var f=u==Gw,d=h==Gw,p=u==h;if(p&&_l(t)){if(!_l(e))return!1;s=!0,f=!1}if(p&&!f)return a||(a=new hc),s||Bh(t)?$w(t,e,r,n,i,a):ere(t,e,u,r,n,i,a);if(!(r&$Ne)){var m=f&&sre.call(t,"__wrapped__"),g=d&&sre.call(e,"__wrapped__");if(m||g){var y=m?t.value():t,v=g?e.value():e;return a||(a=new hc),i(y,v,r,n,a)}}return p?(a||(a=new hc),rre(t,e,r,n,i,a)):!1}var $Ne,ire,are,Gw,zNe,sre,ore,lre=N(()=>{"use strict";s2();JL();tre();nre();Hd();Un();lm();u2();$Ne=1,ire="[object Arguments]",are="[object Array]",Gw="[object Object]",zNe=Object.prototype,sre=zNe.hasOwnProperty;o(GNe,"baseIsEqualDeep");ore=GNe});function cre(t,e,r,n,i){return t===e?!0:t==null||e==null||!ni(t)&&!ni(e)?t!==t&&e!==e:ore(t,e,r,n,cre,i)}var Vw,tR=N(()=>{"use strict";lre();Mo();o(cre,"baseIsEqual");Vw=cre});function HNe(t,e,r,n){var i=r.length,a=i,s=!n;if(t==null)return!a;for(t=Object(t);i--;){var l=r[i];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++i{"use strict";s2();tR();VNe=1,UNe=2;o(HNe,"baseIsMatch");ure=HNe});function WNe(t){return t===t&&!xn(t)}var Uw,rR=N(()=>{"use strict";to();o(WNe,"isStrictComparable");Uw=WNe});function qNe(t){for(var e=$r(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,Uw(i)]}return e}var fre,dre=N(()=>{"use strict";rR();wc();o(qNe,"getMatchData");fre=qNe});function YNe(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}var Hw,nR=N(()=>{"use strict";o(YNe,"matchesStrictComparable");Hw=YNe});function XNe(t){var e=fre(t);return e.length==1&&e[0][2]?Hw(e[0][0],e[0][1]):function(r){return r===t||ure(r,t,e)}}var pre,mre=N(()=>{"use strict";hre();dre();nR();o(XNe,"baseMatches");pre=XNe});function jNe(t,e){return t!=null&&e in Object(t)}var gre,yre=N(()=>{"use strict";o(jNe,"baseHasIn");gre=jNe});function KNe(t,e,r){e=jh(e,t);for(var n=-1,i=e.length,a=!1;++n{"use strict";M2();sm();Un();f2();gT();Am();o(KNe,"hasPath");Ww=KNe});function QNe(t,e){return t!=null&&Ww(t,e,gre)}var qw,aR=N(()=>{"use strict";yre();iR();o(QNe,"hasIn");qw=QNe});function eMe(t,e){return Cm(t)&&Uw(e)?Hw(kc(t),e):function(r){var n=qee(r,t);return n===void 0&&n===e?qw(r,t):Vw(e,n,ZNe|JNe)}}var ZNe,JNe,vre,xre=N(()=>{"use strict";tR();Yee();aR();bw();rR();nR();Am();ZNe=1,JNe=2;o(eMe,"baseMatchesProperty");vre=eMe});function tMe(t){return function(e){return e?.[t]}}var Yw,sR=N(()=>{"use strict";o(tMe,"baseProperty");Yw=tMe});function rMe(t){return function(e){return Kh(e,t)}}var bre,Tre=N(()=>{"use strict";I2();o(rMe,"basePropertyDeep");bre=rMe});function nMe(t){return Cm(t)?Yw(kc(t)):bre(t)}var wre,kre=N(()=>{"use strict";sR();Tre();bw();Am();o(nMe,"property");wre=nMe});function iMe(t){return typeof t=="function"?t:t==null?Ji:typeof t=="object"?Pt(t)?vre(t[0],t[1]):pre(t):wre(t)}var pn,ns=N(()=>{"use strict";mre();xre();_u();Un();kre();o(iMe,"baseIteratee");pn=iMe});function aMe(t,e,r,n){for(var i=-1,a=t==null?0:t.length;++i{"use strict";o(aMe,"arrayAggregator");Ere=aMe});function sMe(t,e){return t&&tm(t,e,$r)}var Om,Xw=N(()=>{"use strict";lT();wc();o(sMe,"baseForOwn");Om=sMe});function oMe(t,e){return function(r,n){if(r==null)return r;if(!fi(r))return t(r,n);for(var i=r.length,a=e?i:-1,s=Object(r);(e?a--:++a{"use strict";Io();o(oMe,"createBaseEach");Cre=oMe});var lMe,Ps,Zh=N(()=>{"use strict";Xw();Are();lMe=Cre(Om),Ps=lMe});function cMe(t,e,r,n){return Ps(t,function(i,a,s){e(n,i,r(i),s)}),n}var _re,Dre=N(()=>{"use strict";Zh();o(cMe,"baseAggregator");_re=cMe});function uMe(t,e){return function(r,n){var i=Pt(r)?Ere:_re,a=e?e():{};return i(r,t,pn(n,2),a)}}var Lre,Rre=N(()=>{"use strict";Sre();Dre();ns();Un();o(uMe,"createAggregator");Lre=uMe});var hMe,jw,Nre=N(()=>{"use strict";Ro();hMe=o(function(){return hi.Date.now()},"now"),jw=hMe});var Mre,fMe,dMe,Jh,Ire=N(()=>{"use strict";um();Ad();Nd();$h();Mre=Object.prototype,fMe=Mre.hasOwnProperty,dMe=mc(function(t,e){t=Object(t);var r=-1,n=e.length,i=n>2?e[2]:void 0;for(i&&ro(e[0],e[1],i)&&(n=1);++r{"use strict";o(pMe,"arrayIncludesWith");Kw=pMe});function gMe(t,e,r,n){var i=-1,a=vw,s=!0,l=t.length,u=[],h=e.length;if(!l)return u;r&&(e=Os(e,Oo(r))),n?(a=Kw,s=!1):e.length>=mMe&&(a=Mm,s=!1,e=new Nm(e));e:for(;++i{"use strict";Pw();zL();oR();Vd();Ld();Fw();mMe=200;o(gMe,"baseDifference");Ore=gMe});var yMe,ef,Bre=N(()=>{"use strict";Pre();Dm();um();yT();yMe=mc(function(t,e){return Dd(t)?Ore(t,Ec(e,1,Dd,!0)):[]}),ef=yMe});function vMe(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var da,Fre=N(()=>{"use strict";o(vMe,"last");da=vMe});function xMe(t,e,r){var n=t==null?0:t.length;return n?(e=r||e===void 0?1:Tc(e),Ew(t,e<0?0:e,n)):[]}var xi,$re=N(()=>{"use strict";VL();km();o(xMe,"drop");xi=xMe});function bMe(t,e,r){var n=t==null?0:t.length;return n?(e=r||e===void 0?1:Tc(e),e=n-e,Ew(t,0,e<0?0:e)):[]}var Iu,zre=N(()=>{"use strict";VL();km();o(bMe,"dropRight");Iu=bMe});function TMe(t){return typeof t=="function"?t:Ji}var Pm,Qw=N(()=>{"use strict";_u();o(TMe,"castFunction");Pm=TMe});function wMe(t,e){var r=Pt(t)?mw:Ps;return r(t,Pm(e))}var Ae,Zw=N(()=>{"use strict";FL();Zh();Qw();Un();o(wMe,"forEach");Ae=wMe});var Gre=N(()=>{"use strict";Zw()});function kMe(t,e){for(var r=-1,n=t==null?0:t.length;++r{"use strict";o(kMe,"arrayEvery");Vre=kMe});function EMe(t,e){var r=!0;return Ps(t,function(n,i,a){return r=!!e(n,i,a),r}),r}var Hre,Wre=N(()=>{"use strict";Zh();o(EMe,"baseEvery");Hre=EMe});function SMe(t,e,r){var n=Pt(t)?Vre:Hre;return r&&ro(t,e,r)&&(e=void 0),n(t,pn(e,3))}var Na,qre=N(()=>{"use strict";Ure();Wre();ns();Un();Nd();o(SMe,"every");Na=SMe});function CMe(t,e){var r=[];return Ps(t,function(n,i,a){e(n,i,a)&&r.push(n)}),r}var Jw,lR=N(()=>{"use strict";Zh();o(CMe,"baseFilter");Jw=CMe});function AMe(t,e){var r=Pt(t)?Lm:Jw;return r(t,pn(e,3))}var qr,cR=N(()=>{"use strict";Sw();lR();ns();Un();o(AMe,"filter");qr=AMe});function _Me(t){return function(e,r,n){var i=Object(e);if(!fi(e)){var a=pn(r,3);e=$r(e),r=o(function(l){return a(i[l],l,i)},"predicate")}var s=t(e,r,n);return s>-1?i[a?e[s]:s]:void 0}}var Yre,Xre=N(()=>{"use strict";ns();Io();wc();o(_Me,"createFind");Yre=_Me});function LMe(t,e,r){var n=t==null?0:t.length;if(!n)return-1;var i=r==null?0:Tc(r);return i<0&&(i=DMe(n+i,0)),gw(t,pn(e,3),i)}var DMe,jre,Kre=N(()=>{"use strict";$L();ns();km();DMe=Math.max;o(LMe,"findIndex");jre=LMe});var RMe,is,Qre=N(()=>{"use strict";Xre();Kre();RMe=Yre(jre),is=RMe});function NMe(t){return t&&t.length?t[0]:void 0}var ra,Zre=N(()=>{"use strict";o(NMe,"head");ra=NMe});var Jre=N(()=>{"use strict";Zre()});function MMe(t,e){var r=-1,n=fi(t)?Array(t.length):[];return Ps(t,function(i,a,s){n[++r]=e(i,a,s)}),n}var ek,uR=N(()=>{"use strict";Zh();Io();o(MMe,"baseMap");ek=MMe});function IMe(t,e){var r=Pt(t)?Os:ek;return r(t,pn(e,3))}var Je,Bm=N(()=>{"use strict";Vd();ns();uR();Un();o(IMe,"map");Je=IMe});function OMe(t,e){return Ec(Je(t,e),1)}var pa,hR=N(()=>{"use strict";Dm();Bm();o(OMe,"flatMap");pa=OMe});function PMe(t,e){return t==null?t:tm(t,Pm(e),As)}var fR,ene=N(()=>{"use strict";lT();Qw();$h();o(PMe,"forIn");fR=PMe});function BMe(t,e){return t&&Om(t,Pm(e))}var dR,tne=N(()=>{"use strict";Xw();Qw();o(BMe,"forOwn");dR=BMe});var FMe,$Me,zMe,pR,rne=N(()=>{"use strict";em();Rre();FMe=Object.prototype,$Me=FMe.hasOwnProperty,zMe=Lre(function(t,e,r){$Me.call(t,r)?t[r].push(e):fc(t,r,[e])}),pR=zMe});function GMe(t,e){return t>e}var nne,ine=N(()=>{"use strict";o(GMe,"baseGt");nne=GMe});function HMe(t,e){return t!=null&&UMe.call(t,e)}var VMe,UMe,ane,sne=N(()=>{"use strict";VMe=Object.prototype,UMe=VMe.hasOwnProperty;o(HMe,"baseHas");ane=HMe});function WMe(t,e){return t!=null&&Ww(t,e,ane)}var Bt,one=N(()=>{"use strict";sne();iR();o(WMe,"has");Bt=WMe});function YMe(t){return typeof t=="string"||!Pt(t)&&ni(t)&&ua(t)==qMe}var qMe,bi,tk=N(()=>{"use strict";Su();Un();Mo();qMe="[object String]";o(YMe,"isString");bi=YMe});function XMe(t,e){return Os(e,function(r){return t[r]})}var lne,cne=N(()=>{"use strict";Vd();o(XMe,"baseValues");lne=XMe});function jMe(t){return t==null?[]:lne(t,$r(t))}var br,mR=N(()=>{"use strict";cne();wc();o(jMe,"values");br=jMe});function QMe(t,e,r,n){t=fi(t)?t:br(t),r=r&&!n?Tc(r):0;var i=t.length;return r<0&&(r=KMe(i+r,0)),bi(t)?r<=i&&t.indexOf(e,r)>-1:!!i&&Em(t,e,r)>-1}var KMe,qn,une=N(()=>{"use strict";yw();Io();tk();km();mR();KMe=Math.max;o(QMe,"includes");qn=QMe});function JMe(t,e,r){var n=t==null?0:t.length;if(!n)return-1;var i=r==null?0:Tc(r);return i<0&&(i=ZMe(n+i,0)),Em(t,e,i)}var ZMe,rk,hne=N(()=>{"use strict";yw();km();ZMe=Math.max;o(JMe,"indexOf");rk=JMe});function iIe(t){if(t==null)return!0;if(fi(t)&&(Pt(t)||typeof t=="string"||typeof t.splice=="function"||_l(t)||Bh(t)||Al(t)))return!t.length;var e=so(t);if(e==eIe||e==tIe)return!t.size;if(dc(t))return!Sm(t).length;for(var r in t)if(nIe.call(t,r))return!1;return!0}var eIe,tIe,rIe,nIe,fr,nk=N(()=>{"use strict";xw();Hd();sm();Un();Io();lm();am();u2();eIe="[object Map]",tIe="[object Set]",rIe=Object.prototype,nIe=rIe.hasOwnProperty;o(iIe,"isEmpty");fr=iIe});function sIe(t){return ni(t)&&ua(t)==aIe}var aIe,fne,dne=N(()=>{"use strict";Su();Mo();aIe="[object RegExp]";o(sIe,"baseIsRegExp");fne=sIe});var pne,oIe,Go,mne=N(()=>{"use strict";dne();Ld();c2();pne=Po&&Po.isRegExp,oIe=pne?Oo(pne):fne,Go=oIe});function lIe(t){return t===void 0}var gr,gne=N(()=>{"use strict";o(lIe,"isUndefined");gr=lIe});function cIe(t,e){return t{"use strict";o(cIe,"baseLt");ik=cIe});function uIe(t,e){var r={};return e=pn(e,3),Om(t,function(n,i,a){fc(r,i,e(n,i,a))}),r}var Wd,yne=N(()=>{"use strict";em();Xw();ns();o(uIe,"mapValues");Wd=uIe});function hIe(t,e,r){for(var n=-1,i=t.length;++n{"use strict";Gd();o(hIe,"baseExtremum");Fm=hIe});function fIe(t){return t&&t.length?Fm(t,Ji,nne):void 0}var Bs,vne=N(()=>{"use strict";ak();ine();_u();o(fIe,"max");Bs=fIe});function dIe(t){return t&&t.length?Fm(t,Ji,ik):void 0}var Ll,yR=N(()=>{"use strict";ak();gR();_u();o(dIe,"min");Ll=dIe});function pIe(t,e){return t&&t.length?Fm(t,pn(e,2),ik):void 0}var qd,xne=N(()=>{"use strict";ak();ns();gR();o(pIe,"minBy");qd=pIe});function gIe(t){if(typeof t!="function")throw new TypeError(mIe);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}var mIe,bne,Tne=N(()=>{"use strict";mIe="Expected a function";o(gIe,"negate");bne=gIe});function yIe(t,e,r,n){if(!xn(t))return t;e=jh(e,t);for(var i=-1,a=e.length,s=a-1,l=t;l!=null&&++i{"use strict";cm();M2();f2();to();Am();o(yIe,"baseSet");wne=yIe});function vIe(t,e,r){for(var n=-1,i=e.length,a={};++n{"use strict";I2();kne();M2();o(vIe,"basePickBy");sk=vIe});function xIe(t,e){if(t==null)return{};var r=Os(Lw(t),function(n){return[n]});return e=pn(e),sk(t,r,function(n,i){return e(n,i[0])})}var Fs,Ene=N(()=>{"use strict";Vd();ns();vR();YL();o(xIe,"pickBy");Fs=xIe});function bIe(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}var Sne,Cne=N(()=>{"use strict";o(bIe,"baseSortBy");Sne=bIe});function TIe(t,e){if(t!==e){var r=t!==void 0,n=t===null,i=t===t,a=ao(t),s=e!==void 0,l=e===null,u=e===e,h=ao(e);if(!l&&!h&&!a&&t>e||a&&s&&u&&!l&&!h||n&&s&&u||!r&&u||!i)return 1;if(!n&&!a&&!h&&t{"use strict";Gd();o(TIe,"compareAscending");Ane=TIe});function wIe(t,e,r){for(var n=-1,i=t.criteria,a=e.criteria,s=i.length,l=r.length;++n=l)return u;var h=r[n];return u*(h=="desc"?-1:1)}}return t.index-e.index}var Dne,Lne=N(()=>{"use strict";_ne();o(wIe,"compareMultiple");Dne=wIe});function kIe(t,e,r){e.length?e=Os(e,function(a){return Pt(a)?function(s){return Kh(s,a.length===1?a[0]:a)}:a}):e=[Ji];var n=-1;e=Os(e,Oo(pn));var i=ek(t,function(a,s,l){var u=Os(e,function(h){return h(a)});return{criteria:u,index:++n,value:a}});return Sne(i,function(a,s){return Dne(a,s,r)})}var Rne,Nne=N(()=>{"use strict";Vd();I2();ns();uR();Cne();Ld();Lne();_u();Un();o(kIe,"baseOrderBy");Rne=kIe});var EIe,Mne,Ine=N(()=>{"use strict";sR();EIe=Yw("length"),Mne=EIe});function PIe(t){for(var e=One.lastIndex=0;One.test(t);)++e;return e}var Pne,SIe,CIe,AIe,_Ie,DIe,LIe,xR,bR,RIe,Bne,Fne,$ne,NIe,zne,Gne,MIe,IIe,OIe,One,Vne,Une=N(()=>{"use strict";Pne="\\ud800-\\udfff",SIe="\\u0300-\\u036f",CIe="\\ufe20-\\ufe2f",AIe="\\u20d0-\\u20ff",_Ie=SIe+CIe+AIe,DIe="\\ufe0e\\ufe0f",LIe="["+Pne+"]",xR="["+_Ie+"]",bR="\\ud83c[\\udffb-\\udfff]",RIe="(?:"+xR+"|"+bR+")",Bne="[^"+Pne+"]",Fne="(?:\\ud83c[\\udde6-\\uddff]){2}",$ne="[\\ud800-\\udbff][\\udc00-\\udfff]",NIe="\\u200d",zne=RIe+"?",Gne="["+DIe+"]?",MIe="(?:"+NIe+"(?:"+[Bne,Fne,$ne].join("|")+")"+Gne+zne+")*",IIe=Gne+zne+MIe,OIe="(?:"+[Bne+xR+"?",xR,Fne,$ne,LIe].join("|")+")",One=RegExp(bR+"(?="+bR+")|"+OIe+IIe,"g");o(PIe,"unicodeSize");Vne=PIe});function BIe(t){return ete(t)?Vne(t):Mne(t)}var Hne,Wne=N(()=>{"use strict";Ine();tte();Une();o(BIe,"stringSize");Hne=BIe});function FIe(t,e){return sk(t,e,function(r,n){return qw(t,n)})}var qne,Yne=N(()=>{"use strict";vR();aR();o(FIe,"basePick");qne=FIe});var $Ie,Yd,Xne=N(()=>{"use strict";Yne();Jee();$Ie=Zee(function(t,e){return t==null?{}:qne(t,e)}),Yd=$Ie});function VIe(t,e,r,n){for(var i=-1,a=GIe(zIe((e-t)/(r||1)),0),s=Array(a);a--;)s[n?a:++i]=t,t+=r;return s}var zIe,GIe,jne,Kne=N(()=>{"use strict";zIe=Math.ceil,GIe=Math.max;o(VIe,"baseRange");jne=VIe});function UIe(t){return function(e,r,n){return n&&typeof n!="number"&&ro(e,r,n)&&(r=n=void 0),e=wm(e),r===void 0?(r=e,e=0):r=wm(r),n=n===void 0?e{"use strict";Kne();Nd();PL();o(UIe,"createRange");Qne=UIe});var HIe,Vo,Jne=N(()=>{"use strict";Zne();HIe=Qne(),Vo=HIe});function WIe(t,e,r,n,i){return i(t,function(a,s,l){r=n?(n=!1,a):e(r,a,s,l)}),r}var eie,tie=N(()=>{"use strict";o(WIe,"baseReduce");eie=WIe});function qIe(t,e,r){var n=Pt(t)?rte:eie,i=arguments.length<3;return n(t,pn(e,4),r,i,Ps)}var Yr,TR=N(()=>{"use strict";nte();Zh();ns();tie();Un();o(qIe,"reduce");Yr=qIe});function YIe(t,e){var r=Pt(t)?Lm:Jw;return r(t,bne(pn(e,3)))}var tf,rie=N(()=>{"use strict";Sw();lR();ns();Un();Tne();o(YIe,"reject");tf=YIe});function KIe(t){if(t==null)return 0;if(fi(t))return bi(t)?Hne(t):t.length;var e=so(t);return e==XIe||e==jIe?t.size:Sm(t).length}var XIe,jIe,wR,nie=N(()=>{"use strict";xw();Hd();Io();tk();Wne();XIe="[object Map]",jIe="[object Set]";o(KIe,"size");wR=KIe});function QIe(t,e){var r;return Ps(t,function(n,i,a){return r=e(n,i,a),!r}),!!r}var iie,aie=N(()=>{"use strict";Zh();o(QIe,"baseSome");iie=QIe});function ZIe(t,e,r){var n=Pt(t)?Bw:iie;return r&&ro(t,e,r)&&(e=void 0),n(t,pn(e,3))}var P2,sie=N(()=>{"use strict";ZL();ns();aie();Un();Nd();o(ZIe,"some");P2=ZIe});var JIe,Cc,oie=N(()=>{"use strict";Dm();Nne();um();Nd();JIe=mc(function(t,e){if(t==null)return[];var r=e.length;return r>1&&ro(t,e[0],e[1])?e=[]:r>2&&ro(e[0],e[1],e[2])&&(e=[e[0]]),Rne(t,Ec(e,1),[])}),Cc=JIe});var eOe,tOe,lie,cie=N(()=>{"use strict";XL();BL();zw();eOe=1/0,tOe=Qh&&1/Im(new Qh([,-0]))[1]==eOe?function(t){return new Qh(t)}:ai,lie=tOe});function nOe(t,e,r){var n=-1,i=vw,a=t.length,s=!0,l=[],u=l;if(r)s=!1,i=Kw;else if(a>=rOe){var h=e?null:lie(t);if(h)return Im(h);s=!1,i=Mm,u=new Nm}else u=e?[]:l;e:for(;++n{"use strict";Pw();zL();oR();Fw();cie();zw();rOe=200;o(nOe,"baseUniq");$m=nOe});var iOe,kR,uie=N(()=>{"use strict";Dm();um();ok();yT();iOe=mc(function(t){return $m(Ec(t,1,Dd,!0))}),kR=iOe});function aOe(t){return t&&t.length?$m(t):[]}var zm,hie=N(()=>{"use strict";ok();o(aOe,"uniq");zm=aOe});function sOe(t,e){return t&&t.length?$m(t,pn(e,2)):[]}var fie,die=N(()=>{"use strict";ns();ok();o(sOe,"uniqBy");fie=sOe});function lOe(t){var e=++oOe;return Tw(t)+e}var oOe,Xd,pie=N(()=>{"use strict";GL();oOe=0;o(lOe,"uniqueId");Xd=lOe});function cOe(t,e,r){for(var n=-1,i=t.length,a=e.length,s={};++n{"use strict";o(cOe,"baseZipObject");mie=cOe});function uOe(t,e){return mie(t||[],e||[],pc)}var lk,yie=N(()=>{"use strict";cm();gie();o(uOe,"zipObject");lk=uOe});var Yt=N(()=>{"use strict";Gee();KL();Wte();qte();v9();Ire();Bre();$re();zre();Gre();qre();cR();Qre();Jre();hR();kw();Zw();ene();tne();rne();one();_u();une();hne();Un();nk();t2();to();mne();tk();gne();wc();Fre();Bm();yne();vne();T9();yR();xne();BL();Nre();Xne();Ene();Jne();TR();rie();nie();sie();oie();uie();hie();pie();mR();yie();});function xie(t,e){t[e]?t[e]++:t[e]=1}function bie(t,e){--t[e]||delete t[e]}function B2(t,e,r,n){var i=""+e,a=""+r;if(!t&&i>a){var s=i;i=a,a=s}return i+vie+a+vie+(gr(n)?hOe:n)}function fOe(t,e,r,n){var i=""+e,a=""+r;if(!t&&i>a){var s=i;i=a,a=s}var l={v:i,w:a};return n&&(l.name=n),l}function ER(t,e){return B2(t,e.v,e.w,e.name)}var hOe,jd,vie,an,ck=N(()=>{"use strict";Yt();hOe="\0",jd="\0",vie="",an=class{static{o(this,"Graph")}constructor(e={}){this._isDirected=Object.prototype.hasOwnProperty.call(e,"directed")?e.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,"multigraph")?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=_s(void 0),this._defaultEdgeLabelFn=_s(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[jd]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return Ci(e)||(e=_s(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return $r(this._nodes)}sources(){var e=this;return qr(this.nodes(),function(r){return fr(e._in[r])})}sinks(){var e=this;return qr(this.nodes(),function(r){return fr(e._out[r])})}setNodes(e,r){var n=arguments,i=this;return Ae(e,function(a){n.length>1?i.setNode(a,r):i.setNode(a)}),this}setNode(e,r){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=r),this):(this._nodes[e]=arguments.length>1?r:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=jd,this._children[e]={},this._children[jd][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var r=o(n=>this.removeEdge(this._edgeObjs[n]),"removeEdge");delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],Ae(this.children(e),n=>{this.setParent(n)}),delete this._children[e]),Ae($r(this._in[e]),r),delete this._in[e],delete this._preds[e],Ae($r(this._out[e]),r),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(gr(r))r=jd;else{r+="";for(var n=r;!gr(n);n=this.parent(n))if(n===e)throw new Error("Setting "+r+" as parent of "+e+" would create a cycle");this.setNode(r)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=r,this._children[r][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var r=this._parent[e];if(r!==jd)return r}}children(e){if(gr(e)&&(e=jd),this._isCompound){var r=this._children[e];if(r)return $r(r)}else{if(e===jd)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var r=this._preds[e];if(r)return $r(r)}successors(e){var r=this._sucs[e];if(r)return $r(r)}neighbors(e){var r=this.predecessors(e);if(r)return kR(r,this.successors(e))}isLeaf(e){var r;return this.isDirected()?r=this.successors(e):r=this.neighbors(e),r.length===0}filterNodes(e){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var n=this;Ae(this._nodes,function(s,l){e(l)&&r.setNode(l,s)}),Ae(this._edgeObjs,function(s){r.hasNode(s.v)&&r.hasNode(s.w)&&r.setEdge(s,n.edge(s))});var i={};function a(s){var l=n.parent(s);return l===void 0||r.hasNode(l)?(i[s]=l,l):l in i?i[l]:a(l)}return o(a,"findParent"),this._isCompound&&Ae(r.nodes(),function(s){r.setParent(s,a(s))}),r}setDefaultEdgeLabel(e){return Ci(e)||(e=_s(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return br(this._edgeObjs)}setPath(e,r){var n=this,i=arguments;return Yr(e,function(a,s){return i.length>1?n.setEdge(a,s,r):n.setEdge(a,s),s}),this}setEdge(){var e,r,n,i,a=!1,s=arguments[0];typeof s=="object"&&s!==null&&"v"in s?(e=s.v,r=s.w,n=s.name,arguments.length===2&&(i=arguments[1],a=!0)):(e=s,r=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),e=""+e,r=""+r,gr(n)||(n=""+n);var l=B2(this._isDirected,e,r,n);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,l))return a&&(this._edgeLabels[l]=i),this;if(!gr(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(r),this._edgeLabels[l]=a?i:this._defaultEdgeLabelFn(e,r,n);var u=fOe(this._isDirected,e,r,n);return e=u.v,r=u.w,Object.freeze(u),this._edgeObjs[l]=u,xie(this._preds[r],e),xie(this._sucs[e],r),this._in[r][l]=u,this._out[e][l]=u,this._edgeCount++,this}edge(e,r,n){var i=arguments.length===1?ER(this._isDirected,arguments[0]):B2(this._isDirected,e,r,n);return this._edgeLabels[i]}hasEdge(e,r,n){var i=arguments.length===1?ER(this._isDirected,arguments[0]):B2(this._isDirected,e,r,n);return Object.prototype.hasOwnProperty.call(this._edgeLabels,i)}removeEdge(e,r,n){var i=arguments.length===1?ER(this._isDirected,arguments[0]):B2(this._isDirected,e,r,n),a=this._edgeObjs[i];return a&&(e=a.v,r=a.w,delete this._edgeLabels[i],delete this._edgeObjs[i],bie(this._preds[r],e),bie(this._sucs[e],r),delete this._in[r][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,r){var n=this._in[e];if(n){var i=br(n);return r?qr(i,function(a){return a.v===r}):i}}outEdges(e,r){var n=this._out[e];if(n){var i=br(n);return r?qr(i,function(a){return a.w===r}):i}}nodeEdges(e,r){var n=this.inEdges(e,r);if(n)return n.concat(this.outEdges(e,r))}};an.prototype._nodeCount=0;an.prototype._edgeCount=0;o(xie,"incrementOrInitEntry");o(bie,"decrementOrRemoveEntry");o(B2,"edgeArgsToId");o(fOe,"edgeArgsToObj");o(ER,"edgeObjToId")});var Uo=N(()=>{"use strict";ck()});function Tie(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function dOe(t,e){if(t!=="_next"&&t!=="_prev")return e}var hk,wie=N(()=>{"use strict";hk=class{static{o(this,"List")}constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,r=e._prev;if(r!==e)return Tie(r),r}enqueue(e){var r=this._sentinel;e._prev&&e._next&&Tie(e),e._next=r._next,r._next._prev=e,r._next=e,e._prev=r}toString(){for(var e=[],r=this._sentinel,n=r._prev;n!==r;)e.push(JSON.stringify(n,dOe)),n=n._prev;return"["+e.join(", ")+"]"}};o(Tie,"unlink");o(dOe,"filterOutLinks")});function kie(t,e){if(t.nodeCount()<=1)return[];var r=gOe(t,e||pOe),n=mOe(r.graph,r.buckets,r.zeroIdx);return Wr(Je(n,function(i){return t.outEdges(i.v,i.w)}))}function mOe(t,e,r){for(var n=[],i=e[e.length-1],a=e[0],s;t.nodeCount();){for(;s=a.dequeue();)SR(t,e,r,s);for(;s=i.dequeue();)SR(t,e,r,s);if(t.nodeCount()){for(var l=e.length-2;l>0;--l)if(s=e[l].dequeue(),s){n=n.concat(SR(t,e,r,s,!0));break}}}return n}function SR(t,e,r,n,i){var a=i?[]:void 0;return Ae(t.inEdges(n.v),function(s){var l=t.edge(s),u=t.node(s.v);i&&a.push({v:s.v,w:s.w}),u.out-=l,CR(e,r,u)}),Ae(t.outEdges(n.v),function(s){var l=t.edge(s),u=s.w,h=t.node(u);h.in-=l,CR(e,r,h)}),t.removeNode(n.v),a}function gOe(t,e){var r=new an,n=0,i=0;Ae(t.nodes(),function(l){r.setNode(l,{v:l,in:0,out:0})}),Ae(t.edges(),function(l){var u=r.edge(l.v,l.w)||0,h=e(l),f=u+h;r.setEdge(l.v,l.w,f),i=Math.max(i,r.node(l.v).out+=h),n=Math.max(n,r.node(l.w).in+=h)});var a=Vo(i+n+3).map(function(){return new hk}),s=n+1;return Ae(r.nodes(),function(l){CR(a,s,r.node(l))}),{graph:r,buckets:a,zeroIdx:s}}function CR(t,e,r){r.out?r.in?t[r.out-r.in+e].enqueue(r):t[t.length-1].enqueue(r):t[0].enqueue(r)}var pOe,Eie=N(()=>{"use strict";Yt();Uo();wie();pOe=_s(1);o(kie,"greedyFAS");o(mOe,"doGreedyFAS");o(SR,"removeNode");o(gOe,"buildState");o(CR,"assignBucket")});function Sie(t){var e=t.graph().acyclicer==="greedy"?kie(t,r(t)):yOe(t);Ae(e,function(n){var i=t.edge(n);t.removeEdge(n),i.forwardName=n.name,i.reversed=!0,t.setEdge(n.w,n.v,i,Xd("rev"))});function r(n){return function(i){return n.edge(i).weight}}o(r,"weightFn")}function yOe(t){var e=[],r={},n={};function i(a){Object.prototype.hasOwnProperty.call(n,a)||(n[a]=!0,r[a]=!0,Ae(t.outEdges(a),function(s){Object.prototype.hasOwnProperty.call(r,s.w)?e.push(s):i(s.w)}),delete r[a])}return o(i,"dfs"),Ae(t.nodes(),i),e}function Cie(t){Ae(t.edges(),function(e){var r=t.edge(e);if(r.reversed){t.removeEdge(e);var n=r.forwardName;delete r.reversed,delete r.forwardName,t.setEdge(e.w,e.v,r,n)}})}var AR=N(()=>{"use strict";Yt();Eie();o(Sie,"run");o(yOe,"dfsFAS");o(Cie,"undo")});function Ac(t,e,r,n){var i;do i=Xd(n);while(t.hasNode(i));return r.dummy=e,t.setNode(i,r),i}function _ie(t){var e=new an().setGraph(t.graph());return Ae(t.nodes(),function(r){e.setNode(r,t.node(r))}),Ae(t.edges(),function(r){var n=e.edge(r.v,r.w)||{weight:0,minlen:1},i=t.edge(r);e.setEdge(r.v,r.w,{weight:n.weight+i.weight,minlen:Math.max(n.minlen,i.minlen)})}),e}function fk(t){var e=new an({multigraph:t.isMultigraph()}).setGraph(t.graph());return Ae(t.nodes(),function(r){t.children(r).length||e.setNode(r,t.node(r))}),Ae(t.edges(),function(r){e.setEdge(r,t.edge(r))}),e}function _R(t,e){var r=t.x,n=t.y,i=e.x-r,a=e.y-n,s=t.width/2,l=t.height/2;if(!i&&!a)throw new Error("Not possible to find intersection inside of the rectangle");var u,h;return Math.abs(a)*s>Math.abs(i)*l?(a<0&&(l=-l),u=l*i/a,h=l):(i<0&&(s=-s),u=s,h=s*a/i),{x:r+u,y:n+h}}function rf(t){var e=Je(Vo(LR(t)+1),function(){return[]});return Ae(t.nodes(),function(r){var n=t.node(r),i=n.rank;gr(i)||(e[i][n.order]=r)}),e}function Die(t){var e=Ll(Je(t.nodes(),function(r){return t.node(r).rank}));Ae(t.nodes(),function(r){var n=t.node(r);Bt(n,"rank")&&(n.rank-=e)})}function Lie(t){var e=Ll(Je(t.nodes(),function(a){return t.node(a).rank})),r=[];Ae(t.nodes(),function(a){var s=t.node(a).rank-e;r[s]||(r[s]=[]),r[s].push(a)});var n=0,i=t.graph().nodeRankFactor;Ae(r,function(a,s){gr(a)&&s%i!==0?--n:n&&Ae(a,function(l){t.node(l).rank+=n})})}function DR(t,e,r,n){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=n),Ac(t,"border",i,e)}function LR(t){return Bs(Je(t.nodes(),function(e){var r=t.node(e).rank;if(!gr(r))return r}))}function Rie(t,e){var r={lhs:[],rhs:[]};return Ae(t,function(n){e(n)?r.lhs.push(n):r.rhs.push(n)}),r}function Nie(t,e){var r=jw();try{return e()}finally{console.log(t+" time: "+(jw()-r)+"ms")}}function Mie(t,e){return e()}var _c=N(()=>{"use strict";Yt();Uo();o(Ac,"addDummyNode");o(_ie,"simplify");o(fk,"asNonCompoundGraph");o(_R,"intersectRect");o(rf,"buildLayerMatrix");o(Die,"normalizeRanks");o(Lie,"removeEmptyRanks");o(DR,"addBorderNode");o(LR,"maxRank");o(Rie,"partition");o(Nie,"time");o(Mie,"notime")});function Oie(t){function e(r){var n=t.children(r),i=t.node(r);if(n.length&&Ae(n,e),Object.prototype.hasOwnProperty.call(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var a=i.minRank,s=i.maxRank+1;a{"use strict";Yt();_c();o(Oie,"addBorderSegments");o(Iie,"addBorderNode")});function Fie(t){var e=t.graph().rankdir.toLowerCase();(e==="lr"||e==="rl")&&zie(t)}function $ie(t){var e=t.graph().rankdir.toLowerCase();(e==="bt"||e==="rl")&&vOe(t),(e==="lr"||e==="rl")&&(xOe(t),zie(t))}function zie(t){Ae(t.nodes(),function(e){Bie(t.node(e))}),Ae(t.edges(),function(e){Bie(t.edge(e))})}function Bie(t){var e=t.width;t.width=t.height,t.height=e}function vOe(t){Ae(t.nodes(),function(e){RR(t.node(e))}),Ae(t.edges(),function(e){var r=t.edge(e);Ae(r.points,RR),Object.prototype.hasOwnProperty.call(r,"y")&&RR(r)})}function RR(t){t.y=-t.y}function xOe(t){Ae(t.nodes(),function(e){NR(t.node(e))}),Ae(t.edges(),function(e){var r=t.edge(e);Ae(r.points,NR),Object.prototype.hasOwnProperty.call(r,"x")&&NR(r)})}function NR(t){var e=t.x;t.x=t.y,t.y=e}var Gie=N(()=>{"use strict";Yt();o(Fie,"adjust");o($ie,"undo");o(zie,"swapWidthHeight");o(Bie,"swapWidthHeightOne");o(vOe,"reverseY");o(RR,"reverseYOne");o(xOe,"swapXY");o(NR,"swapXYOne")});function Vie(t){t.graph().dummyChains=[],Ae(t.edges(),function(e){TOe(t,e)})}function TOe(t,e){var r=e.v,n=t.node(r).rank,i=e.w,a=t.node(i).rank,s=e.name,l=t.edge(e),u=l.labelRank;if(a!==n+1){t.removeEdge(e);var h=void 0,f,d;for(d=0,++n;n{"use strict";Yt();_c();o(Vie,"run");o(TOe,"normalizeEdge");o(Uie,"undo")});function F2(t){var e={};function r(n){var i=t.node(n);if(Object.prototype.hasOwnProperty.call(e,n))return i.rank;e[n]=!0;var a=Ll(Je(t.outEdges(n),function(s){return r(s.w)-t.edge(s).minlen}));return(a===Number.POSITIVE_INFINITY||a===void 0||a===null)&&(a=0),i.rank=a}o(r,"dfs"),Ae(t.sources(),r)}function Kd(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}var dk=N(()=>{"use strict";Yt();o(F2,"longestPath");o(Kd,"slack")});function pk(t){var e=new an({directed:!1}),r=t.nodes()[0],n=t.nodeCount();e.setNode(r,{});for(var i,a;wOe(e,t){"use strict";Yt();Uo();dk();o(pk,"feasibleTree");o(wOe,"tightTree");o(kOe,"findMinSlackEdge");o(EOe,"shiftRanks")});var Wie=N(()=>{"use strict"});var OR=N(()=>{"use strict"});var BYt,PR=N(()=>{"use strict";Yt();OR();BYt=_s(1)});var qie=N(()=>{"use strict";PR()});var BR=N(()=>{"use strict"});var Yie=N(()=>{"use strict";BR()});var XYt,Xie=N(()=>{"use strict";Yt();XYt=_s(1)});function FR(t){var e={},r={},n=[];function i(a){if(Object.prototype.hasOwnProperty.call(r,a))throw new $2;Object.prototype.hasOwnProperty.call(e,a)||(r[a]=!0,e[a]=!0,Ae(t.predecessors(a),i),delete r[a],n.push(a))}if(o(i,"visit"),Ae(t.sinks(),i),wR(e)!==t.nodeCount())throw new $2;return n}function $2(){}var $R=N(()=>{"use strict";Yt();FR.CycleException=$2;o(FR,"topsort");o($2,"CycleException");$2.prototype=new Error});var jie=N(()=>{"use strict";$R()});function mk(t,e,r){Pt(e)||(e=[e]);var n=(t.isDirected()?t.successors:t.neighbors).bind(t),i=[],a={};return Ae(e,function(s){if(!t.hasNode(s))throw new Error("Graph does not have node: "+s);Kie(t,s,r==="post",a,n,i)}),i}function Kie(t,e,r,n,i,a){Object.prototype.hasOwnProperty.call(n,e)||(n[e]=!0,r||a.push(e),Ae(i(e),function(s){Kie(t,s,r,n,i,a)}),r&&a.push(e))}var zR=N(()=>{"use strict";Yt();o(mk,"dfs");o(Kie,"doDfs")});function GR(t,e){return mk(t,e,"post")}var Qie=N(()=>{"use strict";zR();o(GR,"postorder")});function VR(t,e){return mk(t,e,"pre")}var Zie=N(()=>{"use strict";zR();o(VR,"preorder")});var Jie=N(()=>{"use strict";OR();ck()});var eae=N(()=>{"use strict";Wie();PR();qie();Yie();Xie();jie();Qie();Zie();Jie();BR();$R()});function af(t){t=_ie(t),F2(t);var e=pk(t);HR(e),UR(e,t);for(var r,n;r=iae(e);)n=aae(e,t,r),sae(e,t,r,n)}function UR(t,e){var r=GR(t,t.nodes());r=r.slice(0,r.length-1),Ae(r,function(n){DOe(t,e,n)})}function DOe(t,e,r){var n=t.node(r),i=n.parent;t.edge(r,i).cutvalue=rae(t,e,r)}function rae(t,e,r){var n=t.node(r),i=n.parent,a=!0,s=e.edge(r,i),l=0;return s||(a=!1,s=e.edge(i,r)),l=s.weight,Ae(e.nodeEdges(r),function(u){var h=u.v===r,f=h?u.w:u.v;if(f!==i){var d=h===a,p=e.edge(u).weight;if(l+=d?p:-p,ROe(t,r,f)){var m=t.edge(r,f).cutvalue;l+=d?-m:m}}}),l}function HR(t,e){arguments.length<2&&(e=t.nodes()[0]),nae(t,{},1,e)}function nae(t,e,r,n,i){var a=r,s=t.node(n);return e[n]=!0,Ae(t.neighbors(n),function(l){Object.prototype.hasOwnProperty.call(e,l)||(r=nae(t,e,r,l,n))}),s.low=a,s.lim=r++,i?s.parent=i:delete s.parent,r}function iae(t){return is(t.edges(),function(e){return t.edge(e).cutvalue<0})}function aae(t,e,r){var n=r.v,i=r.w;e.hasEdge(n,i)||(n=r.w,i=r.v);var a=t.node(n),s=t.node(i),l=a,u=!1;a.lim>s.lim&&(l=s,u=!0);var h=qr(e.edges(),function(f){return u===tae(t,t.node(f.v),l)&&u!==tae(t,t.node(f.w),l)});return qd(h,function(f){return Kd(e,f)})}function sae(t,e,r,n){var i=r.v,a=r.w;t.removeEdge(i,a),t.setEdge(n.v,n.w,{}),HR(t),UR(t,e),LOe(t,e)}function LOe(t,e){var r=is(t.nodes(),function(i){return!e.node(i).parent}),n=VR(t,r);n=n.slice(1),Ae(n,function(i){var a=t.node(i).parent,s=e.edge(i,a),l=!1;s||(s=e.edge(a,i),l=!0),e.node(i).rank=e.node(a).rank+(l?s.minlen:-s.minlen)})}function ROe(t,e,r){return t.hasEdge(e,r)}function tae(t,e,r){return r.low<=e.lim&&e.lim<=r.lim}var oae=N(()=>{"use strict";Yt();eae();_c();IR();dk();af.initLowLimValues=HR;af.initCutValues=UR;af.calcCutValue=rae;af.leaveEdge=iae;af.enterEdge=aae;af.exchangeEdges=sae;o(af,"networkSimplex");o(UR,"initCutValues");o(DOe,"assignCutValue");o(rae,"calcCutValue");o(HR,"initLowLimValues");o(nae,"dfsAssignLowLim");o(iae,"leaveEdge");o(aae,"enterEdge");o(sae,"exchangeEdges");o(LOe,"updateRanks");o(ROe,"isTreeEdge");o(tae,"isDescendant")});function WR(t){switch(t.graph().ranker){case"network-simplex":lae(t);break;case"tight-tree":MOe(t);break;case"longest-path":NOe(t);break;default:lae(t)}}function MOe(t){F2(t),pk(t)}function lae(t){af(t)}var NOe,qR=N(()=>{"use strict";IR();oae();dk();o(WR,"rank");NOe=F2;o(MOe,"tightTreeRanker");o(lae,"networkSimplexRanker")});function cae(t){var e=Ac(t,"root",{},"_root"),r=IOe(t),n=Bs(br(r))-1,i=2*n+1;t.graph().nestingRoot=e,Ae(t.edges(),function(s){t.edge(s).minlen*=i});var a=OOe(t)+1;Ae(t.children(),function(s){uae(t,e,i,a,n,r,s)}),t.graph().nodeRankFactor=i}function uae(t,e,r,n,i,a,s){var l=t.children(s);if(!l.length){s!==e&&t.setEdge(e,s,{weight:0,minlen:r});return}var u=DR(t,"_bt"),h=DR(t,"_bb"),f=t.node(s);t.setParent(u,s),f.borderTop=u,t.setParent(h,s),f.borderBottom=h,Ae(l,function(d){uae(t,e,r,n,i,a,d);var p=t.node(d),m=p.borderTop?p.borderTop:d,g=p.borderBottom?p.borderBottom:d,y=p.borderTop?n:2*n,v=m!==g?1:i-a[s]+1;t.setEdge(u,m,{weight:y,minlen:v,nestingEdge:!0}),t.setEdge(g,h,{weight:y,minlen:v,nestingEdge:!0})}),t.parent(s)||t.setEdge(e,u,{weight:0,minlen:i+a[s]})}function IOe(t){var e={};function r(n,i){var a=t.children(n);a&&a.length&&Ae(a,function(s){r(s,i+1)}),e[n]=i}return o(r,"dfs"),Ae(t.children(),function(n){r(n,1)}),e}function OOe(t){return Yr(t.edges(),function(e,r){return e+t.edge(r).weight},0)}function hae(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,Ae(t.edges(),function(r){var n=t.edge(r);n.nestingEdge&&t.removeEdge(r)})}var fae=N(()=>{"use strict";Yt();_c();o(cae,"run");o(uae,"dfs");o(IOe,"treeDepths");o(OOe,"sumWeights");o(hae,"cleanup")});function dae(t,e,r){var n={},i;Ae(r,function(a){for(var s=t.parent(a),l,u;s;){if(l=t.parent(s),l?(u=n[l],n[l]=s):(u=i,i=s),u&&u!==s){e.setEdge(u,s);return}s=l}})}var pae=N(()=>{"use strict";Yt();o(dae,"addSubgraphConstraints")});function mae(t,e,r){var n=BOe(t),i=new an({compound:!0}).setGraph({root:n}).setDefaultNodeLabel(function(a){return t.node(a)});return Ae(t.nodes(),function(a){var s=t.node(a),l=t.parent(a);(s.rank===e||s.minRank<=e&&e<=s.maxRank)&&(i.setNode(a),i.setParent(a,l||n),Ae(t[r](a),function(u){var h=u.v===a?u.w:u.v,f=i.edge(h,a),d=gr(f)?0:f.weight;i.setEdge(h,a,{weight:t.edge(u).weight+d})}),Object.prototype.hasOwnProperty.call(s,"minRank")&&i.setNode(a,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]}))}),i}function BOe(t){for(var e;t.hasNode(e=Xd("_root")););return e}var gae=N(()=>{"use strict";Yt();Uo();o(mae,"buildLayerGraph");o(BOe,"createRootNode")});function yae(t,e){for(var r=0,n=1;n0;)f%2&&(d+=l[f+1]),f=f-1>>1,l[f]+=h.weight;u+=h.weight*d})),u}var vae=N(()=>{"use strict";Yt();o(yae,"crossCount");o(FOe,"twoLayerCrossCount")});function xae(t){var e={},r=qr(t.nodes(),function(l){return!t.children(l).length}),n=Bs(Je(r,function(l){return t.node(l).rank})),i=Je(Vo(n+1),function(){return[]});function a(l){if(!Bt(e,l)){e[l]=!0;var u=t.node(l);i[u.rank].push(l),Ae(t.successors(l),a)}}o(a,"dfs");var s=Cc(r,function(l){return t.node(l).rank});return Ae(s,a),i}var bae=N(()=>{"use strict";Yt();o(xae,"initOrder")});function Tae(t,e){return Je(e,function(r){var n=t.inEdges(r);if(n.length){var i=Yr(n,function(a,s){var l=t.edge(s),u=t.node(s.v);return{sum:a.sum+l.weight*u.order,weight:a.weight+l.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:r}})}var wae=N(()=>{"use strict";Yt();o(Tae,"barycenter")});function kae(t,e){var r={};Ae(t,function(i,a){var s=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:a};gr(i.barycenter)||(s.barycenter=i.barycenter,s.weight=i.weight)}),Ae(e.edges(),function(i){var a=r[i.v],s=r[i.w];!gr(a)&&!gr(s)&&(s.indegree++,a.out.push(r[i.w]))});var n=qr(r,function(i){return!i.indegree});return $Oe(n)}function $Oe(t){var e=[];function r(a){return function(s){s.merged||(gr(s.barycenter)||gr(a.barycenter)||s.barycenter>=a.barycenter)&&zOe(a,s)}}o(r,"handleIn");function n(a){return function(s){s.in.push(a),--s.indegree===0&&t.push(s)}}for(o(n,"handleOut");t.length;){var i=t.pop();e.push(i),Ae(i.in.reverse(),r(i)),Ae(i.out,n(i))}return Je(qr(e,function(a){return!a.merged}),function(a){return Yd(a,["vs","i","barycenter","weight"])})}function zOe(t,e){var r=0,n=0;t.weight&&(r+=t.barycenter*t.weight,n+=t.weight),e.weight&&(r+=e.barycenter*e.weight,n+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=r/n,t.weight=n,t.i=Math.min(e.i,t.i),e.merged=!0}var Eae=N(()=>{"use strict";Yt();o(kae,"resolveConflicts");o($Oe,"doResolveConflicts");o(zOe,"mergeEntries")});function Cae(t,e){var r=Rie(t,function(f){return Object.prototype.hasOwnProperty.call(f,"barycenter")}),n=r.lhs,i=Cc(r.rhs,function(f){return-f.i}),a=[],s=0,l=0,u=0;n.sort(GOe(!!e)),u=Sae(a,i,u),Ae(n,function(f){u+=f.vs.length,a.push(f.vs),s+=f.barycenter*f.weight,l+=f.weight,u=Sae(a,i,u)});var h={vs:Wr(a)};return l&&(h.barycenter=s/l,h.weight=l),h}function Sae(t,e,r){for(var n;e.length&&(n=da(e)).i<=r;)e.pop(),t.push(n.vs),r++;return r}function GOe(t){return function(e,r){return e.barycenterr.barycenter?1:t?r.i-e.i:e.i-r.i}}var Aae=N(()=>{"use strict";Yt();_c();o(Cae,"sort");o(Sae,"consumeUnsortable");o(GOe,"compareWithBias")});function YR(t,e,r,n){var i=t.children(e),a=t.node(e),s=a?a.borderLeft:void 0,l=a?a.borderRight:void 0,u={};s&&(i=qr(i,function(g){return g!==s&&g!==l}));var h=Tae(t,i);Ae(h,function(g){if(t.children(g.v).length){var y=YR(t,g.v,r,n);u[g.v]=y,Object.prototype.hasOwnProperty.call(y,"barycenter")&&UOe(g,y)}});var f=kae(h,r);VOe(f,u);var d=Cae(f,n);if(s&&(d.vs=Wr([s,d.vs,l]),t.predecessors(s).length)){var p=t.node(t.predecessors(s)[0]),m=t.node(t.predecessors(l)[0]);Object.prototype.hasOwnProperty.call(d,"barycenter")||(d.barycenter=0,d.weight=0),d.barycenter=(d.barycenter*d.weight+p.order+m.order)/(d.weight+2),d.weight+=2}return d}function VOe(t,e){Ae(t,function(r){r.vs=Wr(r.vs.map(function(n){return e[n]?e[n].vs:n}))})}function UOe(t,e){gr(t.barycenter)?(t.barycenter=e.barycenter,t.weight=e.weight):(t.barycenter=(t.barycenter*t.weight+e.barycenter*e.weight)/(t.weight+e.weight),t.weight+=e.weight)}var _ae=N(()=>{"use strict";Yt();wae();Eae();Aae();o(YR,"sortSubgraph");o(VOe,"expandSubgraphs");o(UOe,"mergeBarycenters")});function Rae(t){var e=LR(t),r=Dae(t,Vo(1,e+1),"inEdges"),n=Dae(t,Vo(e-1,-1,-1),"outEdges"),i=xae(t);Lae(t,i);for(var a=Number.POSITIVE_INFINITY,s,l=0,u=0;u<4;++l,++u){HOe(l%2?r:n,l%4>=2),i=rf(t);var h=yae(t,i);h{"use strict";Yt();Uo();_c();pae();gae();vae();bae();_ae();o(Rae,"order");o(Dae,"buildLayerGraphs");o(HOe,"sweepLayerGraphs");o(Lae,"assignOrder")});function Mae(t){var e=qOe(t);Ae(t.graph().dummyChains,function(r){for(var n=t.node(r),i=n.edgeObj,a=WOe(t,e,i.v,i.w),s=a.path,l=a.lca,u=0,h=s[u],f=!0;r!==i.w;){if(n=t.node(r),f){for(;(h=s[u])!==l&&t.node(h).maxRanks||l>e[u].lim));for(h=u,u=n;(u=t.parent(u))!==h;)a.push(u);return{path:i.concat(a.reverse()),lca:h}}function qOe(t){var e={},r=0;function n(i){var a=r;Ae(t.children(i),n),e[i]={low:a,lim:r++}}return o(n,"dfs"),Ae(t.children(),n),e}var Iae=N(()=>{"use strict";Yt();o(Mae,"parentDummyChains");o(WOe,"findPath");o(qOe,"postorder")});function YOe(t,e){var r={};function n(i,a){var s=0,l=0,u=i.length,h=da(a);return Ae(a,function(f,d){var p=jOe(t,f),m=p?t.node(p).order:u;(p||f===h)&&(Ae(a.slice(l,d+1),function(g){Ae(t.predecessors(g),function(y){var v=t.node(y),x=v.order;(xh)&&Oae(r,p,f)})})}o(n,"scan");function i(a,s){var l=-1,u,h=0;return Ae(s,function(f,d){if(t.node(f).dummy==="border"){var p=t.predecessors(f);p.length&&(u=t.node(p[0]).order,n(s,h,d,l,u),h=d,l=u)}n(s,h,s.length,u,a.length)}),s}return o(i,"visitLayer"),Yr(e,i),r}function jOe(t,e){if(t.node(e).dummy)return is(t.predecessors(e),function(r){return t.node(r).dummy})}function Oae(t,e,r){if(e>r){var n=e;e=r,r=n}var i=t[e];i||(t[e]=i={}),i[r]=!0}function KOe(t,e,r){if(e>r){var n=e;e=r,r=n}return!!t[e]&&Object.prototype.hasOwnProperty.call(t[e],r)}function QOe(t,e,r,n){var i={},a={},s={};return Ae(e,function(l){Ae(l,function(u,h){i[u]=u,a[u]=u,s[u]=h})}),Ae(e,function(l){var u=-1;Ae(l,function(h){var f=n(h);if(f.length){f=Cc(f,function(y){return s[y]});for(var d=(f.length-1)/2,p=Math.floor(d),m=Math.ceil(d);p<=m;++p){var g=f[p];a[h]===h&&u{"use strict";Yt();Uo();_c();o(YOe,"findType1Conflicts");o(XOe,"findType2Conflicts");o(jOe,"findOtherInnerSegmentNode");o(Oae,"addConflict");o(KOe,"hasConflict");o(QOe,"verticalAlignment");o(ZOe,"horizontalCompaction");o(JOe,"buildBlockGraph");o(ePe,"findSmallestWidthAlignment");o(tPe,"alignCoordinates");o(rPe,"balance");o(Pae,"positionX");o(nPe,"sep");o(iPe,"width")});function Fae(t){t=fk(t),aPe(t),dR(Pae(t),function(e,r){t.node(r).x=e})}function aPe(t){var e=rf(t),r=t.graph().ranksep,n=0;Ae(e,function(i){var a=Bs(Je(i,function(s){return t.node(s).height}));Ae(i,function(s){t.node(s).y=n+a/2}),n+=a+r})}var $ae=N(()=>{"use strict";Yt();_c();Bae();o(Fae,"position");o(aPe,"positionY")});function z2(t,e){var r=e&&e.debugTiming?Nie:Mie;r("layout",()=>{var n=r(" buildLayoutGraph",()=>gPe(t));r(" runLayout",()=>sPe(n,r)),r(" updateInputGraph",()=>oPe(t,n))})}function sPe(t,e){e(" makeSpaceForEdgeLabels",()=>yPe(t)),e(" removeSelfEdges",()=>CPe(t)),e(" acyclic",()=>Sie(t)),e(" nestingGraph.run",()=>cae(t)),e(" rank",()=>WR(fk(t))),e(" injectEdgeLabelProxies",()=>vPe(t)),e(" removeEmptyRanks",()=>Lie(t)),e(" nestingGraph.cleanup",()=>hae(t)),e(" normalizeRanks",()=>Die(t)),e(" assignRankMinMax",()=>xPe(t)),e(" removeEdgeLabelProxies",()=>bPe(t)),e(" normalize.run",()=>Vie(t)),e(" parentDummyChains",()=>Mae(t)),e(" addBorderSegments",()=>Oie(t)),e(" order",()=>Rae(t)),e(" insertSelfEdges",()=>APe(t)),e(" adjustCoordinateSystem",()=>Fie(t)),e(" position",()=>Fae(t)),e(" positionSelfEdges",()=>_Pe(t)),e(" removeBorderNodes",()=>SPe(t)),e(" normalize.undo",()=>Uie(t)),e(" fixupEdgeLabelCoords",()=>kPe(t)),e(" undoCoordinateSystem",()=>$ie(t)),e(" translateGraph",()=>TPe(t)),e(" assignNodeIntersects",()=>wPe(t)),e(" reversePoints",()=>EPe(t)),e(" acyclic.undo",()=>Cie(t))}function oPe(t,e){Ae(t.nodes(),function(r){var n=t.node(r),i=e.node(r);n&&(n.x=i.x,n.y=i.y,e.children(r).length&&(n.width=i.width,n.height=i.height))}),Ae(t.edges(),function(r){var n=t.edge(r),i=e.edge(r);n.points=i.points,Object.prototype.hasOwnProperty.call(i,"x")&&(n.x=i.x,n.y=i.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height}function gPe(t){var e=new an({multigraph:!0,compound:!0}),r=jR(t.graph());return e.setGraph(zh({},cPe,XR(r,lPe),Yd(r,uPe))),Ae(t.nodes(),function(n){var i=jR(t.node(n));e.setNode(n,Jh(XR(i,hPe),fPe)),e.setParent(n,t.parent(n))}),Ae(t.edges(),function(n){var i=jR(t.edge(n));e.setEdge(n,zh({},pPe,XR(i,dPe),Yd(i,mPe)))}),e}function yPe(t){var e=t.graph();e.ranksep/=2,Ae(t.edges(),function(r){var n=t.edge(r);n.minlen*=2,n.labelpos.toLowerCase()!=="c"&&(e.rankdir==="TB"||e.rankdir==="BT"?n.width+=n.labeloffset:n.height+=n.labeloffset)})}function vPe(t){Ae(t.edges(),function(e){var r=t.edge(e);if(r.width&&r.height){var n=t.node(e.v),i=t.node(e.w),a={rank:(i.rank-n.rank)/2+n.rank,e};Ac(t,"edge-proxy",a,"_ep")}})}function xPe(t){var e=0;Ae(t.nodes(),function(r){var n=t.node(r);n.borderTop&&(n.minRank=t.node(n.borderTop).rank,n.maxRank=t.node(n.borderBottom).rank,e=Bs(e,n.maxRank))}),t.graph().maxRank=e}function bPe(t){Ae(t.nodes(),function(e){var r=t.node(e);r.dummy==="edge-proxy"&&(t.edge(r.e).labelRank=r.rank,t.removeNode(e))})}function TPe(t){var e=Number.POSITIVE_INFINITY,r=0,n=Number.POSITIVE_INFINITY,i=0,a=t.graph(),s=a.marginx||0,l=a.marginy||0;function u(h){var f=h.x,d=h.y,p=h.width,m=h.height;e=Math.min(e,f-p/2),r=Math.max(r,f+p/2),n=Math.min(n,d-m/2),i=Math.max(i,d+m/2)}o(u,"getExtremes"),Ae(t.nodes(),function(h){u(t.node(h))}),Ae(t.edges(),function(h){var f=t.edge(h);Object.prototype.hasOwnProperty.call(f,"x")&&u(f)}),e-=s,n-=l,Ae(t.nodes(),function(h){var f=t.node(h);f.x-=e,f.y-=n}),Ae(t.edges(),function(h){var f=t.edge(h);Ae(f.points,function(d){d.x-=e,d.y-=n}),Object.prototype.hasOwnProperty.call(f,"x")&&(f.x-=e),Object.prototype.hasOwnProperty.call(f,"y")&&(f.y-=n)}),a.width=r-e+s,a.height=i-n+l}function wPe(t){Ae(t.edges(),function(e){var r=t.edge(e),n=t.node(e.v),i=t.node(e.w),a,s;r.points?(a=r.points[0],s=r.points[r.points.length-1]):(r.points=[],a=i,s=n),r.points.unshift(_R(n,a)),r.points.push(_R(i,s))})}function kPe(t){Ae(t.edges(),function(e){var r=t.edge(e);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function EPe(t){Ae(t.edges(),function(e){var r=t.edge(e);r.reversed&&r.points.reverse()})}function SPe(t){Ae(t.nodes(),function(e){if(t.children(e).length){var r=t.node(e),n=t.node(r.borderTop),i=t.node(r.borderBottom),a=t.node(da(r.borderLeft)),s=t.node(da(r.borderRight));r.width=Math.abs(s.x-a.x),r.height=Math.abs(i.y-n.y),r.x=a.x+r.width/2,r.y=n.y+r.height/2}}),Ae(t.nodes(),function(e){t.node(e).dummy==="border"&&t.removeNode(e)})}function CPe(t){Ae(t.edges(),function(e){if(e.v===e.w){var r=t.node(e.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e,label:t.edge(e)}),t.removeEdge(e)}})}function APe(t){var e=rf(t);Ae(e,function(r){var n=0;Ae(r,function(i,a){var s=t.node(i);s.order=a+n,Ae(s.selfEdges,function(l){Ac(t,"selfedge",{width:l.label.width,height:l.label.height,rank:s.rank,order:a+ ++n,e:l.e,label:l.label},"_se")}),delete s.selfEdges})})}function _Pe(t){Ae(t.nodes(),function(e){var r=t.node(e);if(r.dummy==="selfedge"){var n=t.node(r.e.v),i=n.x+n.width/2,a=n.y,s=r.x-i,l=n.height/2;t.setEdge(r.e,r.label),t.removeNode(e),r.label.points=[{x:i+2*s/3,y:a-l},{x:i+5*s/6,y:a-l},{x:i+s,y:a},{x:i+5*s/6,y:a+l},{x:i+2*s/3,y:a+l}],r.label.x=r.x,r.label.y=r.y}})}function XR(t,e){return Wd(Yd(t,e),Number)}function jR(t){var e={};return Ae(t,function(r,n){e[n.toLowerCase()]=r}),e}var lPe,cPe,uPe,hPe,fPe,dPe,pPe,mPe,zae=N(()=>{"use strict";Yt();Uo();Pie();Gie();AR();MR();qR();fae();Nae();Iae();$ae();_c();o(z2,"layout");o(sPe,"runLayout");o(oPe,"updateInputGraph");lPe=["nodesep","edgesep","ranksep","marginx","marginy"],cPe={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},uPe=["acyclicer","ranker","rankdir","align"],hPe=["width","height"],fPe={width:0,height:0},dPe=["minlen","weight","width","height","labeloffset"],pPe={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},mPe=["labelpos"];o(gPe,"buildLayoutGraph");o(yPe,"makeSpaceForEdgeLabels");o(vPe,"injectEdgeLabelProxies");o(xPe,"assignRankMinMax");o(bPe,"removeEdgeLabelProxies");o(TPe,"translateGraph");o(wPe,"assignNodeIntersects");o(kPe,"fixupEdgeLabelCoords");o(EPe,"reversePointsForReversedEdges");o(SPe,"removeBorderNodes");o(CPe,"removeSelfEdges");o(APe,"insertSelfEdges");o(_Pe,"positionSelfEdges");o(XR,"selectNumberAttrs");o(jR,"canonicalize")});var KR=N(()=>{"use strict";AR();zae();MR();qR()});function Ho(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:DPe(t),edges:LPe(t)};return gr(t.graph())||(e.value=nn(t.graph())),e}function DPe(t){return Je(t.nodes(),function(e){var r=t.node(e),n=t.parent(e),i={v:e};return gr(r)||(i.value=r),gr(n)||(i.parent=n),i})}function LPe(t){return Je(t.edges(),function(e){var r=t.edge(e),n={v:e.v,w:e.w};return gr(e.name)||(n.name=e.name),gr(r)||(n.value=r),n})}var QR=N(()=>{"use strict";Yt();ck();o(Ho,"write");o(DPe,"writeNodes");o(LPe,"writeEdges")});var Tr,Qd,Uae,Hae,gk,RPe,Wae,qae,NPe,Gm,Vae,Yae,Xae,jae,Kae,Qae=N(()=>{"use strict";yt();Uo();QR();Tr=new Map,Qd=new Map,Uae=new Map,Hae=o(()=>{Qd.clear(),Uae.clear(),Tr.clear()},"clear"),gk=o((t,e)=>{let r=Qd.get(e)||[];return X.trace("In isDescendant",e," ",t," = ",r.includes(t)),r.includes(t)},"isDescendant"),RPe=o((t,e)=>{let r=Qd.get(e)||[];return X.info("Descendants of ",e," is ",r),X.info("Edge is ",t),t.v===e||t.w===e?!1:r?r.includes(t.v)||gk(t.v,e)||gk(t.w,e)||r.includes(t.w):(X.debug("Tilt, ",e,",not in descendants"),!1)},"edgeInCluster"),Wae=o((t,e,r,n)=>{X.warn("Copying children of ",t,"root",n,"data",e.node(t),n);let i=e.children(t)||[];t!==n&&i.push(t),X.warn("Copying (nodes) clusterId",t,"nodes",i),i.forEach(a=>{if(e.children(a).length>0)Wae(a,e,r,n);else{let s=e.node(a);X.info("cp ",a," to ",n," with parent ",t),r.setNode(a,s),n!==e.parent(a)&&(X.warn("Setting parent",a,e.parent(a)),r.setParent(a,e.parent(a))),t!==n&&a!==t?(X.debug("Setting parent",a,t),r.setParent(a,t)):(X.info("In copy ",t,"root",n,"data",e.node(t),n),X.debug("Not Setting parent for node=",a,"cluster!==rootId",t!==n,"node!==clusterId",a!==t));let l=e.edges(a);X.debug("Copying Edges",l),l.forEach(u=>{X.info("Edge",u);let h=e.edge(u.v,u.w,u.name);X.info("Edge data",h,n);try{RPe(u,n)?(X.info("Copying as ",u.v,u.w,h,u.name),r.setEdge(u.v,u.w,h,u.name),X.info("newGraph edges ",r.edges(),r.edge(r.edges()[0]))):X.info("Skipping copy of edge ",u.v,"-->",u.w," rootId: ",n," clusterId:",t)}catch(f){X.error(f)}})}X.debug("Removing node",a),e.removeNode(a)})},"copy"),qae=o((t,e)=>{let r=e.children(t),n=[...r];for(let i of r)Uae.set(i,t),n=[...n,...qae(i,e)];return n},"extractDescendants"),NPe=o((t,e,r)=>{let n=t.edges().filter(u=>u.v===e||u.w===e),i=t.edges().filter(u=>u.v===r||u.w===r),a=n.map(u=>({v:u.v===e?r:u.v,w:u.w===e?e:u.w})),s=i.map(u=>({v:u.v,w:u.w}));return a.filter(u=>s.some(h=>u.v===h.v&&u.w===h.w))},"findCommonEdges"),Gm=o((t,e,r)=>{let n=e.children(t);if(X.trace("Searching children of id ",t,n),n.length<1)return t;let i;for(let a of n){let s=Gm(a,e,r),l=NPe(e,r,s);if(s)if(l.length>0)i=s;else return s}return i},"findNonClusterChild"),Vae=o(t=>!Tr.has(t)||!Tr.get(t).externalConnections?t:Tr.has(t)?Tr.get(t).id:t,"getAnchorId"),Yae=o((t,e)=>{if(!t||e>10){X.debug("Opting out, no graph ");return}else X.debug("Opting in, graph ");t.nodes().forEach(function(r){t.children(r).length>0&&(X.warn("Cluster identified",r," Replacement id in edges: ",Gm(r,t,r)),Qd.set(r,qae(r,t)),Tr.set(r,{id:Gm(r,t,r),clusterData:t.node(r)}))}),t.nodes().forEach(function(r){let n=t.children(r),i=t.edges();n.length>0?(X.debug("Cluster identified",r,Qd),i.forEach(a=>{let s=gk(a.v,r),l=gk(a.w,r);s^l&&(X.warn("Edge: ",a," leaves cluster ",r),X.warn("Descendants of XXX ",r,": ",Qd.get(r)),Tr.get(r).externalConnections=!0)})):X.debug("Not a cluster ",r,Qd)});for(let r of Tr.keys()){let n=Tr.get(r).id,i=t.parent(n);i!==r&&Tr.has(i)&&!Tr.get(i).externalConnections&&(Tr.get(r).id=i)}t.edges().forEach(function(r){let n=t.edge(r);X.warn("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(r)),X.warn("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(t.edge(r)));let i=r.v,a=r.w;if(X.warn("Fix XXX",Tr,"ids:",r.v,r.w,"Translating: ",Tr.get(r.v)," --- ",Tr.get(r.w)),Tr.get(r.v)||Tr.get(r.w)){if(X.warn("Fixing and trying - removing XXX",r.v,r.w,r.name),i=Vae(r.v),a=Vae(r.w),t.removeEdge(r.v,r.w,r.name),i!==r.v){let s=t.parent(i);Tr.get(s).externalConnections=!0,n.fromCluster=r.v}if(a!==r.w){let s=t.parent(a);Tr.get(s).externalConnections=!0,n.toCluster=r.w}X.warn("Fix Replacing with XXX",i,a,r.name),t.setEdge(i,a,n,r.name)}}),X.warn("Adjusted Graph",Ho(t)),Xae(t,0),X.trace(Tr)},"adjustClustersAndEdges"),Xae=o((t,e)=>{if(X.warn("extractor - ",e,Ho(t),t.children("D")),e>10){X.error("Bailing out");return}let r=t.nodes(),n=!1;for(let i of r){let a=t.children(i);n=n||a.length>0}if(!n){X.debug("Done, no node has children",t.nodes());return}X.debug("Nodes = ",r,e);for(let i of r)if(X.debug("Extracting node",i,Tr,Tr.has(i)&&!Tr.get(i).externalConnections,!t.parent(i),t.node(i),t.children("D")," Depth ",e),!Tr.has(i))X.debug("Not a cluster",i,e);else if(!Tr.get(i).externalConnections&&t.children(i)&&t.children(i).length>0){X.warn("Cluster without external connections, without a parent and with children",i,e);let s=t.graph().rankdir==="TB"?"LR":"TB";Tr.get(i)?.clusterData?.dir&&(s=Tr.get(i).clusterData.dir,X.warn("Fixing dir",Tr.get(i).clusterData.dir,s));let l=new an({multigraph:!0,compound:!0}).setGraph({rankdir:s,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});X.warn("Old graph before copy",Ho(t)),Wae(i,t,l,i),t.setNode(i,{clusterNode:!0,id:i,clusterData:Tr.get(i).clusterData,label:Tr.get(i).label,graph:l}),X.warn("New graph after copy node: (",i,")",Ho(l)),X.debug("Old graph after copy",Ho(t))}else X.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!Tr.get(i).externalConnections," no parent: ",!t.parent(i)," children ",t.children(i)&&t.children(i).length>0,t.children("D"),e),X.debug(Tr);r=t.nodes(),X.warn("New list of nodes",r);for(let i of r){let a=t.node(i);X.warn(" Now next level",i,a),a?.clusterNode&&Xae(a.graph,e+1)}},"extractor"),jae=o((t,e)=>{if(e.length===0)return[];let r=Object.assign([],e);return e.forEach(n=>{let i=t.children(n),a=jae(t,i);r=[...r,...a]}),r},"sorter"),Kae=o(t=>jae(t,t.children()),"sortNodesByHierarchy")});var Jae={};hr(Jae,{render:()=>MPe});var Zae,MPe,ese=N(()=>{"use strict";KR();QR();Uo();OL();Ft();Qae();dw();nw();IL();yt();L2();qt();Zae=o(async(t,e,r,n,i,a)=>{X.warn("Graph in recursive render:XAX",Ho(e),i);let s=e.graph().rankdir;X.trace("Dir in recursive render - dir:",s);let l=t.insert("g").attr("class","root");e.nodes()?X.info("Recursive render XXX",e.nodes()):X.info("No nodes found for",e),e.edges().length>0&&X.info("Recursive edges",e.edge(e.edges()[0]));let u=l.insert("g").attr("class","clusters"),h=l.insert("g").attr("class","edgePaths"),f=l.insert("g").attr("class","edgeLabels"),d=l.insert("g").attr("class","nodes");await Promise.all(e.nodes().map(async function(y){let v=e.node(y);if(i!==void 0){let x=JSON.parse(JSON.stringify(i.clusterData));X.trace(`Setting data for parent cluster XXX + L0,20`)},"requirement_arrow"),ALe=o((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");n.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),n.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),n.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),_Le={extension:dLe,composition:pLe,aggregation:mLe,dependency:gLe,lollipop:yLe,point:vLe,circle:xLe,cross:bLe,barb:TLe,only_one:wLe,zero_or_one:kLe,one_or_more:ELe,zero_or_more:SLe,requirement_arrow:CLe,requirement_contains:ALe},yw=fLe});async function wm(t,e,r){let n,i;e.shape==="rect"&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");let a=e.shape?$9[e.shape]:void 0;if(!a)throw new Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let s;r.config.securityLevel==="sandbox"?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s??null),i=await a(n,e,r)}else i=await a(t,e,r),n=i;return e.tooltip&&i.attr("title",e.tooltip),vw.set(e.id,n),e.haveCallback&&n.attr("class",n.attr("class")+" clickable"),n}var vw,Aee,_ee,I2,xw=N(()=>{"use strict";pt();G9();vw=new Map;o(wm,"insertNode");Aee=o((t,e)=>{vw.set(e.id,t)},"setNodeElem"),_ee=o(()=>{vw.clear()},"clear"),I2=o(t=>{let e=vw.get(t.id);X.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=8,n=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+n-t.width/2)+", "+(t.y-t.height/2-r)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),n},"positionNode")});var Dee,Lee=N(()=>{"use strict";Wn();dr();pt();cw();V9();U9();xw();Nt();tr();Dee={common:Je,getConfig:Qt,insertCluster:Tm,insertEdge:gw,insertEdgeLabel:pw,insertMarkers:yw,insertNode:wm,interpolateToCurve:NL,labelHelper:lt,log:X,positionEdgeLabel:mw}});function LLe(t){return typeof t=="symbol"||ai(t)&&ha(t)==DLe}var DLe,oo,Qd=N(()=>{"use strict";Cu();Io();DLe="[object Symbol]";o(LLe,"isSymbol");oo=LLe});function RLe(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r{"use strict";o(RLe,"arrayMap");Fs=RLe});function Mee(t){if(typeof t=="string")return t;if(Pt(t))return Fs(t,Mee)+"";if(oo(t))return Nee?Nee.call(t):"";var e=t+"";return e=="0"&&1/t==-NLe?"-0":e}var NLe,Ree,Nee,Iee,Oee=N(()=>{"use strict";Od();Zd();Yn();Qd();NLe=1/0,Ree=Qi?Qi.prototype:void 0,Nee=Ree?Ree.toString:void 0;o(Mee,"baseToString");Iee=Mee});function ILe(t){for(var e=t.length;e--&&MLe.test(t.charAt(e)););return e}var MLe,Pee,Bee=N(()=>{"use strict";MLe=/\s/;o(ILe,"trimmedEndIndex");Pee=ILe});function PLe(t){return t&&t.slice(0,Pee(t)+1).replace(OLe,"")}var OLe,Fee,$ee=N(()=>{"use strict";Bee();OLe=/^\s+/;o(PLe,"baseTrim");Fee=PLe});function zLe(t){if(typeof t=="number")return t;if(oo(t))return Gee;if(Tn(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Tn(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=Fee(t);var r=FLe.test(t);return r||$Le.test(t)?GLe(t.slice(2),r?2:8):BLe.test(t)?Gee:+t}var Gee,BLe,FLe,$Le,GLe,zee,Vee=N(()=>{"use strict";$ee();io();Qd();Gee=NaN,BLe=/^[-+]0x[0-9a-f]+$/i,FLe=/^0b[01]+$/i,$Le=/^0o[0-7]+$/i,GLe=parseInt;o(zLe,"toNumber");zee=zLe});function ULe(t){if(!t)return t===0?t:0;if(t=zee(t),t===Uee||t===-Uee){var e=t<0?-1:1;return e*VLe}return t===t?t:0}var Uee,VLe,km,H9=N(()=>{"use strict";Vee();Uee=1/0,VLe=17976931348623157e292;o(ULe,"toFinite");km=ULe});function HLe(t){var e=km(t),r=e%1;return e===e?r?e-r:e:0}var wc,Em=N(()=>{"use strict";H9();o(HLe,"toInteger");wc=HLe});var WLe,bw,Hee=N(()=>{"use strict";Oh();No();WLe=Ds(fi,"WeakMap"),bw=WLe});function qLe(){}var si,W9=N(()=>{"use strict";o(qLe,"noop");si=qLe});function YLe(t,e){for(var r=-1,n=t==null?0:t.length;++r{"use strict";o(YLe,"arrayEach");Tw=YLe});function XLe(t,e,r,n){for(var i=t.length,a=r+(n?1:-1);n?a--:++a{"use strict";o(XLe,"baseFindIndex");ww=XLe});function jLe(t){return t!==t}var Wee,qee=N(()=>{"use strict";o(jLe,"baseIsNaN");Wee=jLe});function KLe(t,e,r){for(var n=r-1,i=t.length;++n{"use strict";o(KLe,"strictIndexOf");Yee=KLe});function QLe(t,e,r){return e===e?Yee(t,e,r):ww(t,Wee,r)}var Sm,kw=N(()=>{"use strict";Y9();qee();Xee();o(QLe,"baseIndexOf");Sm=QLe});function ZLe(t,e){var r=t==null?0:t.length;return!!r&&Sm(t,e,0)>-1}var Ew,X9=N(()=>{"use strict";kw();o(ZLe,"arrayIncludes");Ew=ZLe});var JLe,jee,Kee=N(()=>{"use strict";xL();JLe=vT(Object.keys,Object),jee=JLe});function r9e(t){if(!pc(t))return jee(t);var e=[];for(var r in Object(t))t9e.call(t,r)&&r!="constructor"&&e.push(r);return e}var e9e,t9e,Cm,Sw=N(()=>{"use strict";cm();Kee();e9e=Object.prototype,t9e=e9e.hasOwnProperty;o(r9e,"baseKeys");Cm=r9e});function n9e(t){return di(t)?kT(t):Cm(t)}var Gr,kc=N(()=>{"use strict";EL();Sw();Oo();o(n9e,"keys");Gr=n9e});var i9e,a9e,s9e,da,Qee=N(()=>{"use strict";dm();Gd();_L();Oo();cm();kc();i9e=Object.prototype,a9e=i9e.hasOwnProperty,s9e=CT(function(t,e){if(pc(e)||di(e)){Fo(e,Gr(e),t);return}for(var r in e)a9e.call(e,r)&&mc(t,r,e[r])}),da=s9e});function c9e(t,e){if(Pt(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||oo(t)?!0:l9e.test(t)||!o9e.test(t)||e!=null&&t in Object(e)}var o9e,l9e,Am,Cw=N(()=>{"use strict";Yn();Qd();o9e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l9e=/^\w*$/;o(c9e,"isKey");Am=c9e});function h9e(t){var e=tm(t,function(n){return r.size===u9e&&r.clear(),n}),r=e.cache;return e}var u9e,Zee,Jee=N(()=>{"use strict";fL();u9e=500;o(h9e,"memoizeCapped");Zee=h9e});var f9e,d9e,p9e,ete,tte=N(()=>{"use strict";Jee();f9e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d9e=/\\(\\)?/g,p9e=Zee(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(f9e,function(r,n,i,a){e.push(i?a.replace(d9e,"$1"):n||r)}),e}),ete=p9e});function m9e(t){return t==null?"":Iee(t)}var Aw,j9=N(()=>{"use strict";Oee();o(m9e,"toString");Aw=m9e});function g9e(t,e){return Pt(t)?t:Am(t,e)?[t]:ete(Aw(t))}var ef,O2=N(()=>{"use strict";Yn();Cw();tte();j9();o(g9e,"castPath");ef=g9e});function v9e(t){if(typeof t=="string"||oo(t))return t;var e=t+"";return e=="0"&&1/t==-y9e?"-0":e}var y9e,Ec,_m=N(()=>{"use strict";Qd();y9e=1/0;o(v9e,"toKey");Ec=v9e});function x9e(t,e){e=ef(e,t);for(var r=0,n=e.length;t!=null&&r{"use strict";O2();_m();o(x9e,"baseGet");tf=x9e});function b9e(t,e,r){var n=t==null?void 0:tf(t,e);return n===void 0?r:n}var rte,nte=N(()=>{"use strict";P2();o(b9e,"get");rte=b9e});function T9e(t,e){for(var r=-1,n=e.length,i=t.length;++r{"use strict";o(T9e,"arrayPush");Dm=T9e});function w9e(t){return Pt(t)||_l(t)||!!(ite&&t&&t[ite])}var ite,ate,ste=N(()=>{"use strict";Od();um();Yn();ite=Qi?Qi.isConcatSpreadable:void 0;o(w9e,"isFlattenable");ate=w9e});function ote(t,e,r,n,i){var a=-1,s=t.length;for(r||(r=ate),i||(i=[]);++a0&&r(l)?e>1?ote(l,e-1,r,n,i):Dm(i,l):n||(i[i.length]=l)}return i}var Sc,Lm=N(()=>{"use strict";_w();ste();o(ote,"baseFlatten");Sc=ote});function k9e(t){var e=t==null?0:t.length;return e?Sc(t,1):[]}var qr,Dw=N(()=>{"use strict";Lm();o(k9e,"flatten");qr=k9e});function E9e(t){return ST(ET(t,void 0,qr),t+"")}var lte,cte=N(()=>{"use strict";Dw();SL();AL();o(E9e,"flatRest");lte=E9e});function S9e(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),r=r>i?i:r,r<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var a=Array(i);++n{"use strict";o(S9e,"baseSlice");Lw=S9e});function I9e(t){return M9e.test(t)}var C9e,A9e,_9e,D9e,L9e,R9e,N9e,M9e,ute,hte=N(()=>{"use strict";C9e="\\ud800-\\udfff",A9e="\\u0300-\\u036f",_9e="\\ufe20-\\ufe2f",D9e="\\u20d0-\\u20ff",L9e=A9e+_9e+D9e,R9e="\\ufe0e\\ufe0f",N9e="\\u200d",M9e=RegExp("["+N9e+C9e+L9e+R9e+"]");o(I9e,"hasUnicode");ute=I9e});function O9e(t,e,r,n){var i=-1,a=t==null?0:t.length;for(n&&a&&(r=t[++i]);++i{"use strict";o(O9e,"arrayReduce");fte=O9e});function P9e(t,e){return t&&Fo(e,Gr(e),t)}var pte,mte=N(()=>{"use strict";Gd();kc();o(P9e,"baseAssign");pte=P9e});function B9e(t,e){return t&&Fo(e,Ls(e),t)}var gte,yte=N(()=>{"use strict";Gd();Vh();o(B9e,"baseAssignIn");gte=B9e});function F9e(t,e){for(var r=-1,n=t==null?0:t.length,i=0,a=[];++r{"use strict";o(F9e,"arrayFilter");Rm=F9e});function $9e(){return[]}var Nw,Q9=N(()=>{"use strict";o($9e,"stubArray");Nw=$9e});var G9e,z9e,vte,V9e,Nm,Mw=N(()=>{"use strict";Rw();Q9();G9e=Object.prototype,z9e=G9e.propertyIsEnumerable,vte=Object.getOwnPropertySymbols,V9e=vte?function(t){return t==null?[]:(t=Object(t),Rm(vte(t),function(e){return z9e.call(t,e)}))}:Nw,Nm=V9e});function U9e(t,e){return Fo(t,Nm(t),e)}var xte,bte=N(()=>{"use strict";Gd();Mw();o(U9e,"copySymbols");xte=U9e});var H9e,W9e,Iw,Z9=N(()=>{"use strict";_w();xT();Mw();Q9();H9e=Object.getOwnPropertySymbols,W9e=H9e?function(t){for(var e=[];t;)Dm(e,Nm(t)),t=lm(t);return e}:Nw,Iw=W9e});function q9e(t,e){return Fo(t,Iw(t),e)}var Tte,wte=N(()=>{"use strict";Gd();Z9();o(q9e,"copySymbolsIn");Tte=q9e});function Y9e(t,e,r){var n=e(t);return Pt(t)?n:Dm(n,r(t))}var Ow,J9=N(()=>{"use strict";_w();Yn();o(Y9e,"baseGetAllKeys");Ow=Y9e});function X9e(t){return Ow(t,Gr,Nm)}var B2,eR=N(()=>{"use strict";J9();Mw();kc();o(X9e,"getAllKeys");B2=X9e});function j9e(t){return Ow(t,Ls,Iw)}var Pw,tR=N(()=>{"use strict";J9();Z9();Vh();o(j9e,"getAllKeysIn");Pw=j9e});var K9e,Bw,kte=N(()=>{"use strict";Oh();No();K9e=Ds(fi,"DataView"),Bw=K9e});var Q9e,Fw,Ete=N(()=>{"use strict";Oh();No();Q9e=Ds(fi,"Promise"),Fw=Q9e});var Z9e,rf,rR=N(()=>{"use strict";Oh();No();Z9e=Ds(fi,"Set"),rf=Z9e});var Ste,J9e,Cte,Ate,_te,Dte,eRe,tRe,rRe,nRe,iRe,Jd,lo,ep=N(()=>{"use strict";kte();hT();Ete();rR();Hee();Cu();cL();Ste="[object Map]",J9e="[object Object]",Cte="[object Promise]",Ate="[object Set]",_te="[object WeakMap]",Dte="[object DataView]",eRe=Au(Bw),tRe=Au(Fh),rRe=Au(Fw),nRe=Au(rf),iRe=Au(bw),Jd=ha;(Bw&&Jd(new Bw(new ArrayBuffer(1)))!=Dte||Fh&&Jd(new Fh)!=Ste||Fw&&Jd(Fw.resolve())!=Cte||rf&&Jd(new rf)!=Ate||bw&&Jd(new bw)!=_te)&&(Jd=o(function(t){var e=ha(t),r=e==J9e?t.constructor:void 0,n=r?Au(r):"";if(n)switch(n){case eRe:return Dte;case tRe:return Ste;case rRe:return Cte;case nRe:return Ate;case iRe:return _te}return e},"getTag"));lo=Jd});function oRe(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&sRe.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var aRe,sRe,Lte,Rte=N(()=>{"use strict";aRe=Object.prototype,sRe=aRe.hasOwnProperty;o(oRe,"initCloneArray");Lte=oRe});function lRe(t,e){var r=e?om(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var Nte,Mte=N(()=>{"use strict";mT();o(lRe,"cloneDataView");Nte=lRe});function uRe(t){var e=new t.constructor(t.source,cRe.exec(t));return e.lastIndex=t.lastIndex,e}var cRe,Ite,Ote=N(()=>{"use strict";cRe=/\w*$/;o(uRe,"cloneRegExp");Ite=uRe});function hRe(t){return Bte?Object(Bte.call(t)):{}}var Pte,Bte,Fte,$te=N(()=>{"use strict";Od();Pte=Qi?Qi.prototype:void 0,Bte=Pte?Pte.valueOf:void 0;o(hRe,"cloneSymbol");Fte=hRe});function RRe(t,e,r){var n=t.constructor;switch(e){case bRe:return om(t);case fRe:case dRe:return new n(+t);case TRe:return Nte(t,r);case wRe:case kRe:case ERe:case SRe:case CRe:case ARe:case _Re:case DRe:case LRe:return gT(t,r);case pRe:return new n;case mRe:case vRe:return new n(t);case gRe:return Ite(t);case yRe:return new n;case xRe:return Fte(t)}}var fRe,dRe,pRe,mRe,gRe,yRe,vRe,xRe,bRe,TRe,wRe,kRe,ERe,SRe,CRe,ARe,_Re,DRe,LRe,Gte,zte=N(()=>{"use strict";mT();Mte();Ote();$te();yL();fRe="[object Boolean]",dRe="[object Date]",pRe="[object Map]",mRe="[object Number]",gRe="[object RegExp]",yRe="[object Set]",vRe="[object String]",xRe="[object Symbol]",bRe="[object ArrayBuffer]",TRe="[object DataView]",wRe="[object Float32Array]",kRe="[object Float64Array]",ERe="[object Int8Array]",SRe="[object Int16Array]",CRe="[object Int32Array]",ARe="[object Uint8Array]",_Re="[object Uint8ClampedArray]",DRe="[object Uint16Array]",LRe="[object Uint32Array]";o(RRe,"initCloneByTag");Gte=RRe});function MRe(t){return ai(t)&&lo(t)==NRe}var NRe,Vte,Ute=N(()=>{"use strict";ep();Io();NRe="[object Map]";o(MRe,"baseIsMap");Vte=MRe});var Hte,IRe,Wte,qte=N(()=>{"use strict";Ute();$d();u2();Hte=Bo&&Bo.isMap,IRe=Hte?Po(Hte):Vte,Wte=IRe});function PRe(t){return ai(t)&&lo(t)==ORe}var ORe,Yte,Xte=N(()=>{"use strict";ep();Io();ORe="[object Set]";o(PRe,"baseIsSet");Yte=PRe});var jte,BRe,Kte,Qte=N(()=>{"use strict";Xte();$d();u2();jte=Bo&&Bo.isSet,BRe=jte?Po(jte):Yte,Kte=BRe});function $w(t,e,r,n,i,a){var s,l=e&FRe,u=e&$Re,h=e&GRe;if(r&&(s=i?r(t,n,i,a):r(t)),s!==void 0)return s;if(!Tn(t))return t;var f=Pt(t);if(f){if(s=Lte(t),!l)return yT(t,s)}else{var d=lo(t),p=d==Jte||d==WRe;if(Dl(t))return pT(t,l);if(d==ere||d==Zte||p&&!i){if(s=u||p?{}:bT(t),!l)return u?Tte(t,gte(s,t)):xte(t,pte(s,t))}else{if(!Rn[d])return i?t:{};s=Gte(t,d,l)}}a||(a=new fc);var m=a.get(t);if(m)return m;a.set(t,s),Kte(t)?t.forEach(function(x){s.add($w(x,e,r,x,t,a))}):Wte(t)&&t.forEach(function(x,v){s.set(v,$w(x,e,r,v,t,a))});var g=h?u?Pw:B2:u?Ls:Gr,y=f?void 0:g(t);return Tw(y||t,function(x,v){y&&(v=x,x=t[v]),mc(s,v,$w(x,e,r,v,t,a))}),s}var FRe,$Re,GRe,Zte,zRe,VRe,URe,HRe,Jte,WRe,qRe,YRe,ere,XRe,jRe,KRe,QRe,ZRe,JRe,eNe,tNe,rNe,nNe,iNe,aNe,sNe,oNe,lNe,cNe,Rn,Gw,nR=N(()=>{"use strict";o2();q9();dm();mte();yte();mL();vL();bte();wte();eR();tR();ep();Rte();zte();bL();Yn();fm();qte();io();Qte();kc();Vh();FRe=1,$Re=2,GRe=4,Zte="[object Arguments]",zRe="[object Array]",VRe="[object Boolean]",URe="[object Date]",HRe="[object Error]",Jte="[object Function]",WRe="[object GeneratorFunction]",qRe="[object Map]",YRe="[object Number]",ere="[object Object]",XRe="[object RegExp]",jRe="[object Set]",KRe="[object String]",QRe="[object Symbol]",ZRe="[object WeakMap]",JRe="[object ArrayBuffer]",eNe="[object DataView]",tNe="[object Float32Array]",rNe="[object Float64Array]",nNe="[object Int8Array]",iNe="[object Int16Array]",aNe="[object Int32Array]",sNe="[object Uint8Array]",oNe="[object Uint8ClampedArray]",lNe="[object Uint16Array]",cNe="[object Uint32Array]",Rn={};Rn[Zte]=Rn[zRe]=Rn[JRe]=Rn[eNe]=Rn[VRe]=Rn[URe]=Rn[tNe]=Rn[rNe]=Rn[nNe]=Rn[iNe]=Rn[aNe]=Rn[qRe]=Rn[YRe]=Rn[ere]=Rn[XRe]=Rn[jRe]=Rn[KRe]=Rn[QRe]=Rn[sNe]=Rn[oNe]=Rn[lNe]=Rn[cNe]=!0;Rn[HRe]=Rn[Jte]=Rn[ZRe]=!1;o($w,"baseClone");Gw=$w});function hNe(t){return Gw(t,uNe)}var uNe,an,iR=N(()=>{"use strict";nR();uNe=4;o(hNe,"clone");an=hNe});function pNe(t){return Gw(t,fNe|dNe)}var fNe,dNe,aR,tre=N(()=>{"use strict";nR();fNe=1,dNe=4;o(pNe,"cloneDeep");aR=pNe});function mNe(t){for(var e=-1,r=t==null?0:t.length,n=0,i=[];++e{"use strict";o(mNe,"compact");Cc=mNe});function yNe(t){return this.__data__.set(t,gNe),this}var gNe,nre,ire=N(()=>{"use strict";gNe="__lodash_hash_undefined__";o(yNe,"setCacheAdd");nre=yNe});function vNe(t){return this.__data__.has(t)}var are,sre=N(()=>{"use strict";o(vNe,"setCacheHas");are=vNe});function zw(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new Bd;++e{"use strict";fT();ire();sre();o(zw,"SetCache");zw.prototype.add=zw.prototype.push=nre;zw.prototype.has=are;Mm=zw});function xNe(t,e){for(var r=-1,n=t==null?0:t.length;++r{"use strict";o(xNe,"arraySome");Uw=xNe});function bNe(t,e){return t.has(e)}var Im,Hw=N(()=>{"use strict";o(bNe,"cacheHas");Im=bNe});function kNe(t,e,r,n,i,a){var s=r&TNe,l=t.length,u=e.length;if(l!=u&&!(s&&u>l))return!1;var h=a.get(t),f=a.get(e);if(h&&f)return h==e&&f==t;var d=-1,p=!0,m=r&wNe?new Mm:void 0;for(a.set(t,e),a.set(e,t);++d{"use strict";Vw();sR();Hw();TNe=1,wNe=2;o(kNe,"equalArrays");Ww=kNe});function ENe(t){var e=-1,r=Array(t.size);return t.forEach(function(n,i){r[++e]=[i,n]}),r}var ore,lre=N(()=>{"use strict";o(ENe,"mapToArray");ore=ENe});function SNe(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var Om,qw=N(()=>{"use strict";o(SNe,"setToArray");Om=SNe});function $Ne(t,e,r,n,i,a,s){switch(r){case FNe:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case BNe:return!(t.byteLength!=e.byteLength||!a(new sm(t),new sm(e)));case _Ne:case DNe:case NNe:return Mo(+t,+e);case LNe:return t.name==e.name&&t.message==e.message;case MNe:case ONe:return t==e+"";case RNe:var l=ore;case INe:var u=n&CNe;if(l||(l=Om),t.size!=e.size&&!u)return!1;var h=s.get(t);if(h)return h==e;n|=ANe,s.set(t,e);var f=Ww(l(t),l(e),n,i,a,s);return s.delete(t),f;case PNe:if(lR)return lR.call(t)==lR.call(e)}return!1}var CNe,ANe,_Ne,DNe,LNe,RNe,NNe,MNe,INe,ONe,PNe,BNe,FNe,cre,lR,ure,hre=N(()=>{"use strict";Od();gL();Pd();oR();lre();qw();CNe=1,ANe=2,_Ne="[object Boolean]",DNe="[object Date]",LNe="[object Error]",RNe="[object Map]",NNe="[object Number]",MNe="[object RegExp]",INe="[object Set]",ONe="[object String]",PNe="[object Symbol]",BNe="[object ArrayBuffer]",FNe="[object DataView]",cre=Qi?Qi.prototype:void 0,lR=cre?cre.valueOf:void 0;o($Ne,"equalByTag");ure=$Ne});function UNe(t,e,r,n,i,a){var s=r&GNe,l=B2(t),u=l.length,h=B2(e),f=h.length;if(u!=f&&!s)return!1;for(var d=u;d--;){var p=l[d];if(!(s?p in e:VNe.call(e,p)))return!1}var m=a.get(t),g=a.get(e);if(m&&g)return m==e&&g==t;var y=!0;a.set(t,e),a.set(e,t);for(var x=s;++d{"use strict";eR();GNe=1,zNe=Object.prototype,VNe=zNe.hasOwnProperty;o(UNe,"equalObjects");fre=UNe});function qNe(t,e,r,n,i,a){var s=Pt(t),l=Pt(e),u=s?mre:lo(t),h=l?mre:lo(e);u=u==pre?Yw:u,h=h==pre?Yw:h;var f=u==Yw,d=h==Yw,p=u==h;if(p&&Dl(t)){if(!Dl(e))return!1;s=!0,f=!1}if(p&&!f)return a||(a=new fc),s||Gh(t)?Ww(t,e,r,n,i,a):ure(t,e,u,r,n,i,a);if(!(r&HNe)){var m=f&&gre.call(t,"__wrapped__"),g=d&&gre.call(e,"__wrapped__");if(m||g){var y=m?t.value():t,x=g?e.value():e;return a||(a=new fc),i(y,x,r,n,a)}}return p?(a||(a=new fc),fre(t,e,r,n,i,a)):!1}var HNe,pre,mre,Yw,WNe,gre,yre,vre=N(()=>{"use strict";o2();oR();hre();dre();ep();Yn();fm();h2();HNe=1,pre="[object Arguments]",mre="[object Array]",Yw="[object Object]",WNe=Object.prototype,gre=WNe.hasOwnProperty;o(qNe,"baseIsEqualDeep");yre=qNe});function xre(t,e,r,n,i){return t===e?!0:t==null||e==null||!ai(t)&&!ai(e)?t!==t&&e!==e:yre(t,e,r,n,xre,i)}var Xw,cR=N(()=>{"use strict";vre();Io();o(xre,"baseIsEqual");Xw=xre});function jNe(t,e,r,n){var i=r.length,a=i,s=!n;if(t==null)return!a;for(t=Object(t);i--;){var l=r[i];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++i{"use strict";o2();cR();YNe=1,XNe=2;o(jNe,"baseIsMatch");bre=jNe});function KNe(t){return t===t&&!Tn(t)}var jw,uR=N(()=>{"use strict";io();o(KNe,"isStrictComparable");jw=KNe});function QNe(t){for(var e=Gr(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,jw(i)]}return e}var wre,kre=N(()=>{"use strict";uR();kc();o(QNe,"getMatchData");wre=QNe});function ZNe(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}var Kw,hR=N(()=>{"use strict";o(ZNe,"matchesStrictComparable");Kw=ZNe});function JNe(t){var e=wre(t);return e.length==1&&e[0][2]?Kw(e[0][0],e[0][1]):function(r){return r===t||bre(r,t,e)}}var Ere,Sre=N(()=>{"use strict";Tre();kre();hR();o(JNe,"baseMatches");Ere=JNe});function eMe(t,e){return t!=null&&e in Object(t)}var Cre,Are=N(()=>{"use strict";o(eMe,"baseHasIn");Cre=eMe});function tMe(t,e,r){e=ef(e,t);for(var n=-1,i=e.length,a=!1;++n{"use strict";O2();um();Yn();d2();TT();_m();o(tMe,"hasPath");Qw=tMe});function rMe(t,e){return t!=null&&Qw(t,e,Cre)}var Zw,dR=N(()=>{"use strict";Are();fR();o(rMe,"hasIn");Zw=rMe});function aMe(t,e){return Am(t)&&jw(e)?Kw(Ec(t),e):function(r){var n=rte(r,t);return n===void 0&&n===e?Zw(r,t):Xw(e,n,nMe|iMe)}}var nMe,iMe,_re,Dre=N(()=>{"use strict";cR();nte();dR();Cw();uR();hR();_m();nMe=1,iMe=2;o(aMe,"baseMatchesProperty");_re=aMe});function sMe(t){return function(e){return e?.[t]}}var Jw,pR=N(()=>{"use strict";o(sMe,"baseProperty");Jw=sMe});function oMe(t){return function(e){return tf(e,t)}}var Lre,Rre=N(()=>{"use strict";P2();o(oMe,"basePropertyDeep");Lre=oMe});function lMe(t){return Am(t)?Jw(Ec(t)):Lre(t)}var Nre,Mre=N(()=>{"use strict";pR();Rre();Cw();_m();o(lMe,"property");Nre=lMe});function cMe(t){return typeof t=="function"?t:t==null?Zi:typeof t=="object"?Pt(t)?_re(t[0],t[1]):Ere(t):Nre(t)}var mn,ss=N(()=>{"use strict";Sre();Dre();Du();Yn();Mre();o(cMe,"baseIteratee");mn=cMe});function uMe(t,e,r,n){for(var i=-1,a=t==null?0:t.length;++i{"use strict";o(uMe,"arrayAggregator");Ire=uMe});function hMe(t,e){return t&&am(t,e,Gr)}var Pm,ek=N(()=>{"use strict";dT();kc();o(hMe,"baseForOwn");Pm=hMe});function fMe(t,e){return function(r,n){if(r==null)return r;if(!di(r))return t(r,n);for(var i=r.length,a=e?i:-1,s=Object(r);(e?a--:++a{"use strict";Oo();o(fMe,"createBaseEach");Pre=fMe});var dMe,$s,nf=N(()=>{"use strict";ek();Bre();dMe=Pre(Pm),$s=dMe});function pMe(t,e,r,n){return $s(t,function(i,a,s){e(n,i,r(i),s)}),n}var Fre,$re=N(()=>{"use strict";nf();o(pMe,"baseAggregator");Fre=pMe});function mMe(t,e){return function(r,n){var i=Pt(r)?Ire:Fre,a=e?e():{};return i(r,t,mn(n,2),a)}}var Gre,zre=N(()=>{"use strict";Ore();$re();ss();Yn();o(mMe,"createAggregator");Gre=mMe});var gMe,tk,Vre=N(()=>{"use strict";No();gMe=o(function(){return fi.Date.now()},"now"),tk=gMe});var Ure,yMe,vMe,af,Hre=N(()=>{"use strict";pm();Pd();zd();Vh();Ure=Object.prototype,yMe=Ure.hasOwnProperty,vMe=gc(function(t,e){t=Object(t);var r=-1,n=e.length,i=n>2?e[2]:void 0;for(i&&ao(e[0],e[1],i)&&(n=1);++r{"use strict";o(xMe,"arrayIncludesWith");rk=xMe});function TMe(t,e,r,n){var i=-1,a=Ew,s=!0,l=t.length,u=[],h=e.length;if(!l)return u;r&&(e=Fs(e,Po(r))),n?(a=rk,s=!1):e.length>=bMe&&(a=Im,s=!1,e=new Mm(e));e:for(;++i{"use strict";Vw();X9();mR();Zd();$d();Hw();bMe=200;o(TMe,"baseDifference");Wre=TMe});var wMe,sf,Yre=N(()=>{"use strict";qre();Lm();pm();wT();wMe=gc(function(t,e){return Fd(t)?Wre(t,Sc(e,1,Fd,!0)):[]}),sf=wMe});function kMe(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var pa,Xre=N(()=>{"use strict";o(kMe,"last");pa=kMe});function EMe(t,e,r){var n=t==null?0:t.length;return n?(e=r||e===void 0?1:wc(e),Lw(t,e<0?0:e,n)):[]}var xi,jre=N(()=>{"use strict";K9();Em();o(EMe,"drop");xi=EMe});function SMe(t,e,r){var n=t==null?0:t.length;return n?(e=r||e===void 0?1:wc(e),e=n-e,Lw(t,0,e<0?0:e)):[]}var Ou,Kre=N(()=>{"use strict";K9();Em();o(SMe,"dropRight");Ou=SMe});function CMe(t){return typeof t=="function"?t:Zi}var Bm,nk=N(()=>{"use strict";Du();o(CMe,"castFunction");Bm=CMe});function AMe(t,e){var r=Pt(t)?Tw:$s;return r(t,Bm(e))}var Ae,ik=N(()=>{"use strict";q9();nf();nk();Yn();o(AMe,"forEach");Ae=AMe});var Qre=N(()=>{"use strict";ik()});function _Me(t,e){for(var r=-1,n=t==null?0:t.length;++r{"use strict";o(_Me,"arrayEvery");Zre=_Me});function DMe(t,e){var r=!0;return $s(t,function(n,i,a){return r=!!e(n,i,a),r}),r}var ene,tne=N(()=>{"use strict";nf();o(DMe,"baseEvery");ene=DMe});function LMe(t,e,r){var n=Pt(t)?Zre:ene;return r&&ao(t,e,r)&&(e=void 0),n(t,mn(e,3))}var Ia,rne=N(()=>{"use strict";Jre();tne();ss();Yn();zd();o(LMe,"every");Ia=LMe});function RMe(t,e){var r=[];return $s(t,function(n,i,a){e(n,i,a)&&r.push(n)}),r}var ak,gR=N(()=>{"use strict";nf();o(RMe,"baseFilter");ak=RMe});function NMe(t,e){var r=Pt(t)?Rm:ak;return r(t,mn(e,3))}var Yr,yR=N(()=>{"use strict";Rw();gR();ss();Yn();o(NMe,"filter");Yr=NMe});function MMe(t){return function(e,r,n){var i=Object(e);if(!di(e)){var a=mn(r,3);e=Gr(e),r=o(function(l){return a(i[l],l,i)},"predicate")}var s=t(e,r,n);return s>-1?i[a?e[s]:s]:void 0}}var nne,ine=N(()=>{"use strict";ss();Oo();kc();o(MMe,"createFind");nne=MMe});function OMe(t,e,r){var n=t==null?0:t.length;if(!n)return-1;var i=r==null?0:wc(r);return i<0&&(i=IMe(n+i,0)),ww(t,mn(e,3),i)}var IMe,ane,sne=N(()=>{"use strict";Y9();ss();Em();IMe=Math.max;o(OMe,"findIndex");ane=OMe});var PMe,os,one=N(()=>{"use strict";ine();sne();PMe=nne(ane),os=PMe});function BMe(t){return t&&t.length?t[0]:void 0}var ta,lne=N(()=>{"use strict";o(BMe,"head");ta=BMe});var cne=N(()=>{"use strict";lne()});function FMe(t,e){var r=-1,n=di(t)?Array(t.length):[];return $s(t,function(i,a,s){n[++r]=e(i,a,s)}),n}var sk,vR=N(()=>{"use strict";nf();Oo();o(FMe,"baseMap");sk=FMe});function $Me(t,e){var r=Pt(t)?Fs:sk;return r(t,mn(e,3))}var et,Fm=N(()=>{"use strict";Zd();ss();vR();Yn();o($Me,"map");et=$Me});function GMe(t,e){return Sc(et(t,e),1)}var ma,xR=N(()=>{"use strict";Lm();Fm();o(GMe,"flatMap");ma=GMe});function zMe(t,e){return t==null?t:am(t,Bm(e),Ls)}var bR,une=N(()=>{"use strict";dT();nk();Vh();o(zMe,"forIn");bR=zMe});function VMe(t,e){return t&&Pm(t,Bm(e))}var TR,hne=N(()=>{"use strict";ek();nk();o(VMe,"forOwn");TR=VMe});var UMe,HMe,WMe,wR,fne=N(()=>{"use strict";im();zre();UMe=Object.prototype,HMe=UMe.hasOwnProperty,WMe=Gre(function(t,e,r){HMe.call(t,r)?t[r].push(e):dc(t,r,[e])}),wR=WMe});function qMe(t,e){return t>e}var dne,pne=N(()=>{"use strict";o(qMe,"baseGt");dne=qMe});function jMe(t,e){return t!=null&&XMe.call(t,e)}var YMe,XMe,mne,gne=N(()=>{"use strict";YMe=Object.prototype,XMe=YMe.hasOwnProperty;o(jMe,"baseHas");mne=jMe});function KMe(t,e){return t!=null&&Qw(t,e,mne)}var Bt,yne=N(()=>{"use strict";gne();fR();o(KMe,"has");Bt=KMe});function ZMe(t){return typeof t=="string"||!Pt(t)&&ai(t)&&ha(t)==QMe}var QMe,bi,ok=N(()=>{"use strict";Cu();Yn();Io();QMe="[object String]";o(ZMe,"isString");bi=ZMe});function JMe(t,e){return Fs(e,function(r){return t[r]})}var vne,xne=N(()=>{"use strict";Zd();o(JMe,"baseValues");vne=JMe});function eIe(t){return t==null?[]:vne(t,Gr(t))}var br,kR=N(()=>{"use strict";xne();kc();o(eIe,"values");br=eIe});function rIe(t,e,r,n){t=di(t)?t:br(t),r=r&&!n?wc(r):0;var i=t.length;return r<0&&(r=tIe(i+r,0)),bi(t)?r<=i&&t.indexOf(e,r)>-1:!!i&&Sm(t,e,r)>-1}var tIe,jn,bne=N(()=>{"use strict";kw();Oo();ok();Em();kR();tIe=Math.max;o(rIe,"includes");jn=rIe});function iIe(t,e,r){var n=t==null?0:t.length;if(!n)return-1;var i=r==null?0:wc(r);return i<0&&(i=nIe(n+i,0)),Sm(t,e,i)}var nIe,lk,Tne=N(()=>{"use strict";kw();Em();nIe=Math.max;o(iIe,"indexOf");lk=iIe});function cIe(t){if(t==null)return!0;if(di(t)&&(Pt(t)||typeof t=="string"||typeof t.splice=="function"||Dl(t)||Gh(t)||_l(t)))return!t.length;var e=lo(t);if(e==aIe||e==sIe)return!t.size;if(pc(t))return!Cm(t).length;for(var r in t)if(lIe.call(t,r))return!1;return!0}var aIe,sIe,oIe,lIe,fr,ck=N(()=>{"use strict";Sw();ep();um();Yn();Oo();fm();cm();h2();aIe="[object Map]",sIe="[object Set]",oIe=Object.prototype,lIe=oIe.hasOwnProperty;o(cIe,"isEmpty");fr=cIe});function hIe(t){return ai(t)&&ha(t)==uIe}var uIe,wne,kne=N(()=>{"use strict";Cu();Io();uIe="[object RegExp]";o(hIe,"baseIsRegExp");wne=hIe});var Ene,fIe,Uo,Sne=N(()=>{"use strict";kne();$d();u2();Ene=Bo&&Bo.isRegExp,fIe=Ene?Po(Ene):wne,Uo=fIe});function dIe(t){return t===void 0}var gr,Cne=N(()=>{"use strict";o(dIe,"isUndefined");gr=dIe});function pIe(t,e){return t{"use strict";o(pIe,"baseLt");uk=pIe});function mIe(t,e){var r={};return e=mn(e,3),Pm(t,function(n,i,a){dc(r,i,e(n,i,a))}),r}var tp,Ane=N(()=>{"use strict";im();ek();ss();o(mIe,"mapValues");tp=mIe});function gIe(t,e,r){for(var n=-1,i=t.length;++n{"use strict";Qd();o(gIe,"baseExtremum");$m=gIe});function yIe(t){return t&&t.length?$m(t,Zi,dne):void 0}var Gs,_ne=N(()=>{"use strict";hk();pne();Du();o(yIe,"max");Gs=yIe});function vIe(t){return t&&t.length?$m(t,Zi,uk):void 0}var Rl,SR=N(()=>{"use strict";hk();ER();Du();o(vIe,"min");Rl=vIe});function xIe(t,e){return t&&t.length?$m(t,mn(e,2),uk):void 0}var rp,Dne=N(()=>{"use strict";hk();ss();ER();o(xIe,"minBy");rp=xIe});function TIe(t){if(typeof t!="function")throw new TypeError(bIe);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}var bIe,Lne,Rne=N(()=>{"use strict";bIe="Expected a function";o(TIe,"negate");Lne=TIe});function wIe(t,e,r,n){if(!Tn(t))return t;e=ef(e,t);for(var i=-1,a=e.length,s=a-1,l=t;l!=null&&++i{"use strict";dm();O2();d2();io();_m();o(wIe,"baseSet");Nne=wIe});function kIe(t,e,r){for(var n=-1,i=e.length,a={};++n{"use strict";P2();Mne();O2();o(kIe,"basePickBy");fk=kIe});function EIe(t,e){if(t==null)return{};var r=Fs(Pw(t),function(n){return[n]});return e=mn(e),fk(t,r,function(n,i){return e(n,i[0])})}var zs,Ine=N(()=>{"use strict";Zd();ss();CR();tR();o(EIe,"pickBy");zs=EIe});function SIe(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}var One,Pne=N(()=>{"use strict";o(SIe,"baseSortBy");One=SIe});function CIe(t,e){if(t!==e){var r=t!==void 0,n=t===null,i=t===t,a=oo(t),s=e!==void 0,l=e===null,u=e===e,h=oo(e);if(!l&&!h&&!a&&t>e||a&&s&&u&&!l&&!h||n&&s&&u||!r&&u||!i)return 1;if(!n&&!a&&!h&&t{"use strict";Qd();o(CIe,"compareAscending");Bne=CIe});function AIe(t,e,r){for(var n=-1,i=t.criteria,a=e.criteria,s=i.length,l=r.length;++n=l)return u;var h=r[n];return u*(h=="desc"?-1:1)}}return t.index-e.index}var $ne,Gne=N(()=>{"use strict";Fne();o(AIe,"compareMultiple");$ne=AIe});function _Ie(t,e,r){e.length?e=Fs(e,function(a){return Pt(a)?function(s){return tf(s,a.length===1?a[0]:a)}:a}):e=[Zi];var n=-1;e=Fs(e,Po(mn));var i=sk(t,function(a,s,l){var u=Fs(e,function(h){return h(a)});return{criteria:u,index:++n,value:a}});return One(i,function(a,s){return $ne(a,s,r)})}var zne,Vne=N(()=>{"use strict";Zd();P2();ss();vR();Pne();$d();Gne();Du();Yn();o(_Ie,"baseOrderBy");zne=_Ie});var DIe,Une,Hne=N(()=>{"use strict";pR();DIe=Jw("length"),Une=DIe});function zIe(t){for(var e=Wne.lastIndex=0;Wne.test(t);)++e;return e}var qne,LIe,RIe,NIe,MIe,IIe,OIe,AR,_R,PIe,Yne,Xne,jne,BIe,Kne,Qne,FIe,$Ie,GIe,Wne,Zne,Jne=N(()=>{"use strict";qne="\\ud800-\\udfff",LIe="\\u0300-\\u036f",RIe="\\ufe20-\\ufe2f",NIe="\\u20d0-\\u20ff",MIe=LIe+RIe+NIe,IIe="\\ufe0e\\ufe0f",OIe="["+qne+"]",AR="["+MIe+"]",_R="\\ud83c[\\udffb-\\udfff]",PIe="(?:"+AR+"|"+_R+")",Yne="[^"+qne+"]",Xne="(?:\\ud83c[\\udde6-\\uddff]){2}",jne="[\\ud800-\\udbff][\\udc00-\\udfff]",BIe="\\u200d",Kne=PIe+"?",Qne="["+IIe+"]?",FIe="(?:"+BIe+"(?:"+[Yne,Xne,jne].join("|")+")"+Qne+Kne+")*",$Ie=Qne+Kne+FIe,GIe="(?:"+[Yne+AR+"?",AR,Xne,jne,OIe].join("|")+")",Wne=RegExp(_R+"(?="+_R+")|"+GIe+$Ie,"g");o(zIe,"unicodeSize");Zne=zIe});function VIe(t){return ute(t)?Zne(t):Une(t)}var eie,tie=N(()=>{"use strict";Hne();hte();Jne();o(VIe,"stringSize");eie=VIe});function UIe(t,e){return fk(t,e,function(r,n){return Zw(t,n)})}var rie,nie=N(()=>{"use strict";CR();dR();o(UIe,"basePick");rie=UIe});var HIe,np,iie=N(()=>{"use strict";nie();cte();HIe=lte(function(t,e){return t==null?{}:rie(t,e)}),np=HIe});function YIe(t,e,r,n){for(var i=-1,a=qIe(WIe((e-t)/(r||1)),0),s=Array(a);a--;)s[n?a:++i]=t,t+=r;return s}var WIe,qIe,aie,sie=N(()=>{"use strict";WIe=Math.ceil,qIe=Math.max;o(YIe,"baseRange");aie=YIe});function XIe(t){return function(e,r,n){return n&&typeof n!="number"&&ao(e,r,n)&&(r=n=void 0),e=km(e),r===void 0?(r=e,e=0):r=km(r),n=n===void 0?e{"use strict";sie();zd();H9();o(XIe,"createRange");oie=XIe});var jIe,Ho,cie=N(()=>{"use strict";lie();jIe=oie(),Ho=jIe});function KIe(t,e,r,n,i){return i(t,function(a,s,l){r=n?(n=!1,a):e(r,a,s,l)}),r}var uie,hie=N(()=>{"use strict";o(KIe,"baseReduce");uie=KIe});function QIe(t,e,r){var n=Pt(t)?fte:uie,i=arguments.length<3;return n(t,mn(e,4),r,i,$s)}var Xr,DR=N(()=>{"use strict";dte();nf();ss();hie();Yn();o(QIe,"reduce");Xr=QIe});function ZIe(t,e){var r=Pt(t)?Rm:ak;return r(t,Lne(mn(e,3)))}var of,fie=N(()=>{"use strict";Rw();gR();ss();Yn();Rne();o(ZIe,"reject");of=ZIe});function tOe(t){if(t==null)return 0;if(di(t))return bi(t)?eie(t):t.length;var e=lo(t);return e==JIe||e==eOe?t.size:Cm(t).length}var JIe,eOe,LR,die=N(()=>{"use strict";Sw();ep();Oo();ok();tie();JIe="[object Map]",eOe="[object Set]";o(tOe,"size");LR=tOe});function rOe(t,e){var r;return $s(t,function(n,i,a){return r=e(n,i,a),!r}),!!r}var pie,mie=N(()=>{"use strict";nf();o(rOe,"baseSome");pie=rOe});function nOe(t,e,r){var n=Pt(t)?Uw:pie;return r&&ao(t,e,r)&&(e=void 0),n(t,mn(e,3))}var F2,gie=N(()=>{"use strict";sR();ss();mie();Yn();zd();o(nOe,"some");F2=nOe});var iOe,Ac,yie=N(()=>{"use strict";Lm();Vne();pm();zd();iOe=gc(function(t,e){if(t==null)return[];var r=e.length;return r>1&&ao(t,e[0],e[1])?e=[]:r>2&&ao(e[0],e[1],e[2])&&(e=[e[0]]),zne(t,Sc(e,1),[])}),Ac=iOe});var aOe,sOe,vie,xie=N(()=>{"use strict";rR();W9();qw();aOe=1/0,sOe=rf&&1/Om(new rf([,-0]))[1]==aOe?function(t){return new rf(t)}:si,vie=sOe});function lOe(t,e,r){var n=-1,i=Ew,a=t.length,s=!0,l=[],u=l;if(r)s=!1,i=rk;else if(a>=oOe){var h=e?null:vie(t);if(h)return Om(h);s=!1,i=Im,u=new Mm}else u=e?[]:l;e:for(;++n{"use strict";Vw();X9();mR();Hw();xie();qw();oOe=200;o(lOe,"baseUniq");Gm=lOe});var cOe,RR,bie=N(()=>{"use strict";Lm();pm();dk();wT();cOe=gc(function(t){return Gm(Sc(t,1,Fd,!0))}),RR=cOe});function uOe(t){return t&&t.length?Gm(t):[]}var zm,Tie=N(()=>{"use strict";dk();o(uOe,"uniq");zm=uOe});function hOe(t,e){return t&&t.length?Gm(t,mn(e,2)):[]}var wie,kie=N(()=>{"use strict";ss();dk();o(hOe,"uniqBy");wie=hOe});function dOe(t){var e=++fOe;return Aw(t)+e}var fOe,ip,Eie=N(()=>{"use strict";j9();fOe=0;o(dOe,"uniqueId");ip=dOe});function pOe(t,e,r){for(var n=-1,i=t.length,a=e.length,s={};++n{"use strict";o(pOe,"baseZipObject");Sie=pOe});function mOe(t,e){return Sie(t||[],e||[],mc)}var pk,Aie=N(()=>{"use strict";dm();Cie();o(mOe,"zipObject");pk=mOe});var qt=N(()=>{"use strict";Qee();iR();tre();rre();CL();Hre();Yre();jre();Kre();Qre();rne();yR();one();cne();xR();Dw();ik();une();hne();fne();yne();Du();bne();Tne();Yn();ck();r2();io();Sne();ok();Cne();kc();Xre();Fm();Ane();_ne();DL();SR();Dne();W9();Vre();iie();Ine();cie();DR();fie();die();gie();yie();bie();Tie();Eie();kR();Aie();});function Die(t,e){t[e]?t[e]++:t[e]=1}function Lie(t,e){--t[e]||delete t[e]}function $2(t,e,r,n){var i=""+e,a=""+r;if(!t&&i>a){var s=i;i=a,a=s}return i+_ie+a+_ie+(gr(n)?gOe:n)}function yOe(t,e,r,n){var i=""+e,a=""+r;if(!t&&i>a){var s=i;i=a,a=s}var l={v:i,w:a};return n&&(l.name=n),l}function NR(t,e){return $2(t,e.v,e.w,e.name)}var gOe,ap,_ie,sn,mk=N(()=>{"use strict";qt();gOe="\0",ap="\0",_ie="",sn=class{static{o(this,"Graph")}constructor(e={}){this._isDirected=Object.prototype.hasOwnProperty.call(e,"directed")?e.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,"multigraph")?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=Rs(void 0),this._defaultEdgeLabelFn=Rs(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[ap]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return Ai(e)||(e=Rs(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return Gr(this._nodes)}sources(){var e=this;return Yr(this.nodes(),function(r){return fr(e._in[r])})}sinks(){var e=this;return Yr(this.nodes(),function(r){return fr(e._out[r])})}setNodes(e,r){var n=arguments,i=this;return Ae(e,function(a){n.length>1?i.setNode(a,r):i.setNode(a)}),this}setNode(e,r){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=r),this):(this._nodes[e]=arguments.length>1?r:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=ap,this._children[e]={},this._children[ap][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var r=o(n=>this.removeEdge(this._edgeObjs[n]),"removeEdge");delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],Ae(this.children(e),n=>{this.setParent(n)}),delete this._children[e]),Ae(Gr(this._in[e]),r),delete this._in[e],delete this._preds[e],Ae(Gr(this._out[e]),r),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(gr(r))r=ap;else{r+="";for(var n=r;!gr(n);n=this.parent(n))if(n===e)throw new Error("Setting "+r+" as parent of "+e+" would create a cycle");this.setNode(r)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=r,this._children[r][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var r=this._parent[e];if(r!==ap)return r}}children(e){if(gr(e)&&(e=ap),this._isCompound){var r=this._children[e];if(r)return Gr(r)}else{if(e===ap)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var r=this._preds[e];if(r)return Gr(r)}successors(e){var r=this._sucs[e];if(r)return Gr(r)}neighbors(e){var r=this.predecessors(e);if(r)return RR(r,this.successors(e))}isLeaf(e){var r;return this.isDirected()?r=this.successors(e):r=this.neighbors(e),r.length===0}filterNodes(e){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var n=this;Ae(this._nodes,function(s,l){e(l)&&r.setNode(l,s)}),Ae(this._edgeObjs,function(s){r.hasNode(s.v)&&r.hasNode(s.w)&&r.setEdge(s,n.edge(s))});var i={};function a(s){var l=n.parent(s);return l===void 0||r.hasNode(l)?(i[s]=l,l):l in i?i[l]:a(l)}return o(a,"findParent"),this._isCompound&&Ae(r.nodes(),function(s){r.setParent(s,a(s))}),r}setDefaultEdgeLabel(e){return Ai(e)||(e=Rs(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return br(this._edgeObjs)}setPath(e,r){var n=this,i=arguments;return Xr(e,function(a,s){return i.length>1?n.setEdge(a,s,r):n.setEdge(a,s),s}),this}setEdge(){var e,r,n,i,a=!1,s=arguments[0];typeof s=="object"&&s!==null&&"v"in s?(e=s.v,r=s.w,n=s.name,arguments.length===2&&(i=arguments[1],a=!0)):(e=s,r=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),e=""+e,r=""+r,gr(n)||(n=""+n);var l=$2(this._isDirected,e,r,n);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,l))return a&&(this._edgeLabels[l]=i),this;if(!gr(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(r),this._edgeLabels[l]=a?i:this._defaultEdgeLabelFn(e,r,n);var u=yOe(this._isDirected,e,r,n);return e=u.v,r=u.w,Object.freeze(u),this._edgeObjs[l]=u,Die(this._preds[r],e),Die(this._sucs[e],r),this._in[r][l]=u,this._out[e][l]=u,this._edgeCount++,this}edge(e,r,n){var i=arguments.length===1?NR(this._isDirected,arguments[0]):$2(this._isDirected,e,r,n);return this._edgeLabels[i]}hasEdge(e,r,n){var i=arguments.length===1?NR(this._isDirected,arguments[0]):$2(this._isDirected,e,r,n);return Object.prototype.hasOwnProperty.call(this._edgeLabels,i)}removeEdge(e,r,n){var i=arguments.length===1?NR(this._isDirected,arguments[0]):$2(this._isDirected,e,r,n),a=this._edgeObjs[i];return a&&(e=a.v,r=a.w,delete this._edgeLabels[i],delete this._edgeObjs[i],Lie(this._preds[r],e),Lie(this._sucs[e],r),delete this._in[r][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,r){var n=this._in[e];if(n){var i=br(n);return r?Yr(i,function(a){return a.v===r}):i}}outEdges(e,r){var n=this._out[e];if(n){var i=br(n);return r?Yr(i,function(a){return a.w===r}):i}}nodeEdges(e,r){var n=this.inEdges(e,r);if(n)return n.concat(this.outEdges(e,r))}};sn.prototype._nodeCount=0;sn.prototype._edgeCount=0;o(Die,"incrementOrInitEntry");o(Lie,"decrementOrRemoveEntry");o($2,"edgeArgsToId");o(yOe,"edgeArgsToObj");o(NR,"edgeObjToId")});var Wo=N(()=>{"use strict";mk()});function Rie(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function vOe(t,e){if(t!=="_next"&&t!=="_prev")return e}var yk,Nie=N(()=>{"use strict";yk=class{static{o(this,"List")}constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,r=e._prev;if(r!==e)return Rie(r),r}enqueue(e){var r=this._sentinel;e._prev&&e._next&&Rie(e),e._next=r._next,r._next._prev=e,r._next=e,e._prev=r}toString(){for(var e=[],r=this._sentinel,n=r._prev;n!==r;)e.push(JSON.stringify(n,vOe)),n=n._prev;return"["+e.join(", ")+"]"}};o(Rie,"unlink");o(vOe,"filterOutLinks")});function Mie(t,e){if(t.nodeCount()<=1)return[];var r=TOe(t,e||xOe),n=bOe(r.graph,r.buckets,r.zeroIdx);return qr(et(n,function(i){return t.outEdges(i.v,i.w)}))}function bOe(t,e,r){for(var n=[],i=e[e.length-1],a=e[0],s;t.nodeCount();){for(;s=a.dequeue();)MR(t,e,r,s);for(;s=i.dequeue();)MR(t,e,r,s);if(t.nodeCount()){for(var l=e.length-2;l>0;--l)if(s=e[l].dequeue(),s){n=n.concat(MR(t,e,r,s,!0));break}}}return n}function MR(t,e,r,n,i){var a=i?[]:void 0;return Ae(t.inEdges(n.v),function(s){var l=t.edge(s),u=t.node(s.v);i&&a.push({v:s.v,w:s.w}),u.out-=l,IR(e,r,u)}),Ae(t.outEdges(n.v),function(s){var l=t.edge(s),u=s.w,h=t.node(u);h.in-=l,IR(e,r,h)}),t.removeNode(n.v),a}function TOe(t,e){var r=new sn,n=0,i=0;Ae(t.nodes(),function(l){r.setNode(l,{v:l,in:0,out:0})}),Ae(t.edges(),function(l){var u=r.edge(l.v,l.w)||0,h=e(l),f=u+h;r.setEdge(l.v,l.w,f),i=Math.max(i,r.node(l.v).out+=h),n=Math.max(n,r.node(l.w).in+=h)});var a=Ho(i+n+3).map(function(){return new yk}),s=n+1;return Ae(r.nodes(),function(l){IR(a,s,r.node(l))}),{graph:r,buckets:a,zeroIdx:s}}function IR(t,e,r){r.out?r.in?t[r.out-r.in+e].enqueue(r):t[t.length-1].enqueue(r):t[0].enqueue(r)}var xOe,Iie=N(()=>{"use strict";qt();Wo();Nie();xOe=Rs(1);o(Mie,"greedyFAS");o(bOe,"doGreedyFAS");o(MR,"removeNode");o(TOe,"buildState");o(IR,"assignBucket")});function Oie(t){var e=t.graph().acyclicer==="greedy"?Mie(t,r(t)):wOe(t);Ae(e,function(n){var i=t.edge(n);t.removeEdge(n),i.forwardName=n.name,i.reversed=!0,t.setEdge(n.w,n.v,i,ip("rev"))});function r(n){return function(i){return n.edge(i).weight}}o(r,"weightFn")}function wOe(t){var e=[],r={},n={};function i(a){Object.prototype.hasOwnProperty.call(n,a)||(n[a]=!0,r[a]=!0,Ae(t.outEdges(a),function(s){Object.prototype.hasOwnProperty.call(r,s.w)?e.push(s):i(s.w)}),delete r[a])}return o(i,"dfs"),Ae(t.nodes(),i),e}function Pie(t){Ae(t.edges(),function(e){var r=t.edge(e);if(r.reversed){t.removeEdge(e);var n=r.forwardName;delete r.reversed,delete r.forwardName,t.setEdge(e.w,e.v,r,n)}})}var OR=N(()=>{"use strict";qt();Iie();o(Oie,"run");o(wOe,"dfsFAS");o(Pie,"undo")});function _c(t,e,r,n){var i;do i=ip(n);while(t.hasNode(i));return r.dummy=e,t.setNode(i,r),i}function Fie(t){var e=new sn().setGraph(t.graph());return Ae(t.nodes(),function(r){e.setNode(r,t.node(r))}),Ae(t.edges(),function(r){var n=e.edge(r.v,r.w)||{weight:0,minlen:1},i=t.edge(r);e.setEdge(r.v,r.w,{weight:n.weight+i.weight,minlen:Math.max(n.minlen,i.minlen)})}),e}function vk(t){var e=new sn({multigraph:t.isMultigraph()}).setGraph(t.graph());return Ae(t.nodes(),function(r){t.children(r).length||e.setNode(r,t.node(r))}),Ae(t.edges(),function(r){e.setEdge(r,t.edge(r))}),e}function PR(t,e){var r=t.x,n=t.y,i=e.x-r,a=e.y-n,s=t.width/2,l=t.height/2;if(!i&&!a)throw new Error("Not possible to find intersection inside of the rectangle");var u,h;return Math.abs(a)*s>Math.abs(i)*l?(a<0&&(l=-l),u=l*i/a,h=l):(i<0&&(s=-s),u=s,h=s*a/i),{x:r+u,y:n+h}}function lf(t){var e=et(Ho(FR(t)+1),function(){return[]});return Ae(t.nodes(),function(r){var n=t.node(r),i=n.rank;gr(i)||(e[i][n.order]=r)}),e}function $ie(t){var e=Rl(et(t.nodes(),function(r){return t.node(r).rank}));Ae(t.nodes(),function(r){var n=t.node(r);Bt(n,"rank")&&(n.rank-=e)})}function Gie(t){var e=Rl(et(t.nodes(),function(a){return t.node(a).rank})),r=[];Ae(t.nodes(),function(a){var s=t.node(a).rank-e;r[s]||(r[s]=[]),r[s].push(a)});var n=0,i=t.graph().nodeRankFactor;Ae(r,function(a,s){gr(a)&&s%i!==0?--n:n&&Ae(a,function(l){t.node(l).rank+=n})})}function BR(t,e,r,n){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=n),_c(t,"border",i,e)}function FR(t){return Gs(et(t.nodes(),function(e){var r=t.node(e).rank;if(!gr(r))return r}))}function zie(t,e){var r={lhs:[],rhs:[]};return Ae(t,function(n){e(n)?r.lhs.push(n):r.rhs.push(n)}),r}function Vie(t,e){var r=tk();try{return e()}finally{console.log(t+" time: "+(tk()-r)+"ms")}}function Uie(t,e){return e()}var Dc=N(()=>{"use strict";qt();Wo();o(_c,"addDummyNode");o(Fie,"simplify");o(vk,"asNonCompoundGraph");o(PR,"intersectRect");o(lf,"buildLayerMatrix");o($ie,"normalizeRanks");o(Gie,"removeEmptyRanks");o(BR,"addBorderNode");o(FR,"maxRank");o(zie,"partition");o(Vie,"time");o(Uie,"notime")});function Wie(t){function e(r){var n=t.children(r),i=t.node(r);if(n.length&&Ae(n,e),Object.prototype.hasOwnProperty.call(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var a=i.minRank,s=i.maxRank+1;a{"use strict";qt();Dc();o(Wie,"addBorderSegments");o(Hie,"addBorderNode")});function Xie(t){var e=t.graph().rankdir.toLowerCase();(e==="lr"||e==="rl")&&Kie(t)}function jie(t){var e=t.graph().rankdir.toLowerCase();(e==="bt"||e==="rl")&&kOe(t),(e==="lr"||e==="rl")&&(EOe(t),Kie(t))}function Kie(t){Ae(t.nodes(),function(e){Yie(t.node(e))}),Ae(t.edges(),function(e){Yie(t.edge(e))})}function Yie(t){var e=t.width;t.width=t.height,t.height=e}function kOe(t){Ae(t.nodes(),function(e){$R(t.node(e))}),Ae(t.edges(),function(e){var r=t.edge(e);Ae(r.points,$R),Object.prototype.hasOwnProperty.call(r,"y")&&$R(r)})}function $R(t){t.y=-t.y}function EOe(t){Ae(t.nodes(),function(e){GR(t.node(e))}),Ae(t.edges(),function(e){var r=t.edge(e);Ae(r.points,GR),Object.prototype.hasOwnProperty.call(r,"x")&&GR(r)})}function GR(t){var e=t.x;t.x=t.y,t.y=e}var Qie=N(()=>{"use strict";qt();o(Xie,"adjust");o(jie,"undo");o(Kie,"swapWidthHeight");o(Yie,"swapWidthHeightOne");o(kOe,"reverseY");o($R,"reverseYOne");o(EOe,"swapXY");o(GR,"swapXYOne")});function Zie(t){t.graph().dummyChains=[],Ae(t.edges(),function(e){COe(t,e)})}function COe(t,e){var r=e.v,n=t.node(r).rank,i=e.w,a=t.node(i).rank,s=e.name,l=t.edge(e),u=l.labelRank;if(a!==n+1){t.removeEdge(e);var h=void 0,f,d;for(d=0,++n;n{"use strict";qt();Dc();o(Zie,"run");o(COe,"normalizeEdge");o(Jie,"undo")});function G2(t){var e={};function r(n){var i=t.node(n);if(Object.prototype.hasOwnProperty.call(e,n))return i.rank;e[n]=!0;var a=Rl(et(t.outEdges(n),function(s){return r(s.w)-t.edge(s).minlen}));return(a===Number.POSITIVE_INFINITY||a===void 0||a===null)&&(a=0),i.rank=a}o(r,"dfs"),Ae(t.sources(),r)}function sp(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}var xk=N(()=>{"use strict";qt();o(G2,"longestPath");o(sp,"slack")});function bk(t){var e=new sn({directed:!1}),r=t.nodes()[0],n=t.nodeCount();e.setNode(r,{});for(var i,a;AOe(e,t){"use strict";qt();Wo();xk();o(bk,"feasibleTree");o(AOe,"tightTree");o(_Oe,"findMinSlackEdge");o(DOe,"shiftRanks")});var tae=N(()=>{"use strict"});var UR=N(()=>{"use strict"});var oXt,HR=N(()=>{"use strict";qt();UR();oXt=Rs(1)});var rae=N(()=>{"use strict";HR()});var WR=N(()=>{"use strict"});var nae=N(()=>{"use strict";WR()});var vXt,iae=N(()=>{"use strict";qt();vXt=Rs(1)});function qR(t){var e={},r={},n=[];function i(a){if(Object.prototype.hasOwnProperty.call(r,a))throw new z2;Object.prototype.hasOwnProperty.call(e,a)||(r[a]=!0,e[a]=!0,Ae(t.predecessors(a),i),delete r[a],n.push(a))}if(o(i,"visit"),Ae(t.sinks(),i),LR(e)!==t.nodeCount())throw new z2;return n}function z2(){}var YR=N(()=>{"use strict";qt();qR.CycleException=z2;o(qR,"topsort");o(z2,"CycleException");z2.prototype=new Error});var aae=N(()=>{"use strict";YR()});function Tk(t,e,r){Pt(e)||(e=[e]);var n=(t.isDirected()?t.successors:t.neighbors).bind(t),i=[],a={};return Ae(e,function(s){if(!t.hasNode(s))throw new Error("Graph does not have node: "+s);sae(t,s,r==="post",a,n,i)}),i}function sae(t,e,r,n,i,a){Object.prototype.hasOwnProperty.call(n,e)||(n[e]=!0,r||a.push(e),Ae(i(e),function(s){sae(t,s,r,n,i,a)}),r&&a.push(e))}var XR=N(()=>{"use strict";qt();o(Tk,"dfs");o(sae,"doDfs")});function jR(t,e){return Tk(t,e,"post")}var oae=N(()=>{"use strict";XR();o(jR,"postorder")});function KR(t,e){return Tk(t,e,"pre")}var lae=N(()=>{"use strict";XR();o(KR,"preorder")});var cae=N(()=>{"use strict";UR();mk()});var uae=N(()=>{"use strict";tae();HR();rae();nae();iae();aae();oae();lae();cae();WR();YR()});function uf(t){t=Fie(t),G2(t);var e=bk(t);ZR(e),QR(e,t);for(var r,n;r=pae(e);)n=mae(e,t,r),gae(e,t,r,n)}function QR(t,e){var r=jR(t,t.nodes());r=r.slice(0,r.length-1),Ae(r,function(n){IOe(t,e,n)})}function IOe(t,e,r){var n=t.node(r),i=n.parent;t.edge(r,i).cutvalue=fae(t,e,r)}function fae(t,e,r){var n=t.node(r),i=n.parent,a=!0,s=e.edge(r,i),l=0;return s||(a=!1,s=e.edge(i,r)),l=s.weight,Ae(e.nodeEdges(r),function(u){var h=u.v===r,f=h?u.w:u.v;if(f!==i){var d=h===a,p=e.edge(u).weight;if(l+=d?p:-p,POe(t,r,f)){var m=t.edge(r,f).cutvalue;l+=d?-m:m}}}),l}function ZR(t,e){arguments.length<2&&(e=t.nodes()[0]),dae(t,{},1,e)}function dae(t,e,r,n,i){var a=r,s=t.node(n);return e[n]=!0,Ae(t.neighbors(n),function(l){Object.prototype.hasOwnProperty.call(e,l)||(r=dae(t,e,r,l,n))}),s.low=a,s.lim=r++,i?s.parent=i:delete s.parent,r}function pae(t){return os(t.edges(),function(e){return t.edge(e).cutvalue<0})}function mae(t,e,r){var n=r.v,i=r.w;e.hasEdge(n,i)||(n=r.w,i=r.v);var a=t.node(n),s=t.node(i),l=a,u=!1;a.lim>s.lim&&(l=s,u=!0);var h=Yr(e.edges(),function(f){return u===hae(t,t.node(f.v),l)&&u!==hae(t,t.node(f.w),l)});return rp(h,function(f){return sp(e,f)})}function gae(t,e,r,n){var i=r.v,a=r.w;t.removeEdge(i,a),t.setEdge(n.v,n.w,{}),ZR(t),QR(t,e),OOe(t,e)}function OOe(t,e){var r=os(t.nodes(),function(i){return!e.node(i).parent}),n=KR(t,r);n=n.slice(1),Ae(n,function(i){var a=t.node(i).parent,s=e.edge(i,a),l=!1;s||(s=e.edge(a,i),l=!0),e.node(i).rank=e.node(a).rank+(l?s.minlen:-s.minlen)})}function POe(t,e,r){return t.hasEdge(e,r)}function hae(t,e,r){return r.low<=e.lim&&e.lim<=r.lim}var yae=N(()=>{"use strict";qt();uae();Dc();VR();xk();uf.initLowLimValues=ZR;uf.initCutValues=QR;uf.calcCutValue=fae;uf.leaveEdge=pae;uf.enterEdge=mae;uf.exchangeEdges=gae;o(uf,"networkSimplex");o(QR,"initCutValues");o(IOe,"assignCutValue");o(fae,"calcCutValue");o(ZR,"initLowLimValues");o(dae,"dfsAssignLowLim");o(pae,"leaveEdge");o(mae,"enterEdge");o(gae,"exchangeEdges");o(OOe,"updateRanks");o(POe,"isTreeEdge");o(hae,"isDescendant")});function JR(t){switch(t.graph().ranker){case"network-simplex":vae(t);break;case"tight-tree":FOe(t);break;case"longest-path":BOe(t);break;default:vae(t)}}function FOe(t){G2(t),bk(t)}function vae(t){uf(t)}var BOe,eN=N(()=>{"use strict";VR();yae();xk();o(JR,"rank");BOe=G2;o(FOe,"tightTreeRanker");o(vae,"networkSimplexRanker")});function xae(t){var e=_c(t,"root",{},"_root"),r=$Oe(t),n=Gs(br(r))-1,i=2*n+1;t.graph().nestingRoot=e,Ae(t.edges(),function(s){t.edge(s).minlen*=i});var a=GOe(t)+1;Ae(t.children(),function(s){bae(t,e,i,a,n,r,s)}),t.graph().nodeRankFactor=i}function bae(t,e,r,n,i,a,s){var l=t.children(s);if(!l.length){s!==e&&t.setEdge(e,s,{weight:0,minlen:r});return}var u=BR(t,"_bt"),h=BR(t,"_bb"),f=t.node(s);t.setParent(u,s),f.borderTop=u,t.setParent(h,s),f.borderBottom=h,Ae(l,function(d){bae(t,e,r,n,i,a,d);var p=t.node(d),m=p.borderTop?p.borderTop:d,g=p.borderBottom?p.borderBottom:d,y=p.borderTop?n:2*n,x=m!==g?1:i-a[s]+1;t.setEdge(u,m,{weight:y,minlen:x,nestingEdge:!0}),t.setEdge(g,h,{weight:y,minlen:x,nestingEdge:!0})}),t.parent(s)||t.setEdge(e,u,{weight:0,minlen:i+a[s]})}function $Oe(t){var e={};function r(n,i){var a=t.children(n);a&&a.length&&Ae(a,function(s){r(s,i+1)}),e[n]=i}return o(r,"dfs"),Ae(t.children(),function(n){r(n,1)}),e}function GOe(t){return Xr(t.edges(),function(e,r){return e+t.edge(r).weight},0)}function Tae(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,Ae(t.edges(),function(r){var n=t.edge(r);n.nestingEdge&&t.removeEdge(r)})}var wae=N(()=>{"use strict";qt();Dc();o(xae,"run");o(bae,"dfs");o($Oe,"treeDepths");o(GOe,"sumWeights");o(Tae,"cleanup")});function kae(t,e,r){var n={},i;Ae(r,function(a){for(var s=t.parent(a),l,u;s;){if(l=t.parent(s),l?(u=n[l],n[l]=s):(u=i,i=s),u&&u!==s){e.setEdge(u,s);return}s=l}})}var Eae=N(()=>{"use strict";qt();o(kae,"addSubgraphConstraints")});function Sae(t,e,r){var n=VOe(t),i=new sn({compound:!0}).setGraph({root:n}).setDefaultNodeLabel(function(a){return t.node(a)});return Ae(t.nodes(),function(a){var s=t.node(a),l=t.parent(a);(s.rank===e||s.minRank<=e&&e<=s.maxRank)&&(i.setNode(a),i.setParent(a,l||n),Ae(t[r](a),function(u){var h=u.v===a?u.w:u.v,f=i.edge(h,a),d=gr(f)?0:f.weight;i.setEdge(h,a,{weight:t.edge(u).weight+d})}),Object.prototype.hasOwnProperty.call(s,"minRank")&&i.setNode(a,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]}))}),i}function VOe(t){for(var e;t.hasNode(e=ip("_root")););return e}var Cae=N(()=>{"use strict";qt();Wo();o(Sae,"buildLayerGraph");o(VOe,"createRootNode")});function Aae(t,e){for(var r=0,n=1;n0;)f%2&&(d+=l[f+1]),f=f-1>>1,l[f]+=h.weight;u+=h.weight*d})),u}var _ae=N(()=>{"use strict";qt();o(Aae,"crossCount");o(UOe,"twoLayerCrossCount")});function Dae(t){var e={},r=Yr(t.nodes(),function(l){return!t.children(l).length}),n=Gs(et(r,function(l){return t.node(l).rank})),i=et(Ho(n+1),function(){return[]});function a(l){if(!Bt(e,l)){e[l]=!0;var u=t.node(l);i[u.rank].push(l),Ae(t.successors(l),a)}}o(a,"dfs");var s=Ac(r,function(l){return t.node(l).rank});return Ae(s,a),i}var Lae=N(()=>{"use strict";qt();o(Dae,"initOrder")});function Rae(t,e){return et(e,function(r){var n=t.inEdges(r);if(n.length){var i=Xr(n,function(a,s){var l=t.edge(s),u=t.node(s.v);return{sum:a.sum+l.weight*u.order,weight:a.weight+l.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:r}})}var Nae=N(()=>{"use strict";qt();o(Rae,"barycenter")});function Mae(t,e){var r={};Ae(t,function(i,a){var s=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:a};gr(i.barycenter)||(s.barycenter=i.barycenter,s.weight=i.weight)}),Ae(e.edges(),function(i){var a=r[i.v],s=r[i.w];!gr(a)&&!gr(s)&&(s.indegree++,a.out.push(r[i.w]))});var n=Yr(r,function(i){return!i.indegree});return HOe(n)}function HOe(t){var e=[];function r(a){return function(s){s.merged||(gr(s.barycenter)||gr(a.barycenter)||s.barycenter>=a.barycenter)&&WOe(a,s)}}o(r,"handleIn");function n(a){return function(s){s.in.push(a),--s.indegree===0&&t.push(s)}}for(o(n,"handleOut");t.length;){var i=t.pop();e.push(i),Ae(i.in.reverse(),r(i)),Ae(i.out,n(i))}return et(Yr(e,function(a){return!a.merged}),function(a){return np(a,["vs","i","barycenter","weight"])})}function WOe(t,e){var r=0,n=0;t.weight&&(r+=t.barycenter*t.weight,n+=t.weight),e.weight&&(r+=e.barycenter*e.weight,n+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=r/n,t.weight=n,t.i=Math.min(e.i,t.i),e.merged=!0}var Iae=N(()=>{"use strict";qt();o(Mae,"resolveConflicts");o(HOe,"doResolveConflicts");o(WOe,"mergeEntries")});function Pae(t,e){var r=zie(t,function(f){return Object.prototype.hasOwnProperty.call(f,"barycenter")}),n=r.lhs,i=Ac(r.rhs,function(f){return-f.i}),a=[],s=0,l=0,u=0;n.sort(qOe(!!e)),u=Oae(a,i,u),Ae(n,function(f){u+=f.vs.length,a.push(f.vs),s+=f.barycenter*f.weight,l+=f.weight,u=Oae(a,i,u)});var h={vs:qr(a)};return l&&(h.barycenter=s/l,h.weight=l),h}function Oae(t,e,r){for(var n;e.length&&(n=pa(e)).i<=r;)e.pop(),t.push(n.vs),r++;return r}function qOe(t){return function(e,r){return e.barycenterr.barycenter?1:t?r.i-e.i:e.i-r.i}}var Bae=N(()=>{"use strict";qt();Dc();o(Pae,"sort");o(Oae,"consumeUnsortable");o(qOe,"compareWithBias")});function tN(t,e,r,n){var i=t.children(e),a=t.node(e),s=a?a.borderLeft:void 0,l=a?a.borderRight:void 0,u={};s&&(i=Yr(i,function(g){return g!==s&&g!==l}));var h=Rae(t,i);Ae(h,function(g){if(t.children(g.v).length){var y=tN(t,g.v,r,n);u[g.v]=y,Object.prototype.hasOwnProperty.call(y,"barycenter")&&XOe(g,y)}});var f=Mae(h,r);YOe(f,u);var d=Pae(f,n);if(s&&(d.vs=qr([s,d.vs,l]),t.predecessors(s).length)){var p=t.node(t.predecessors(s)[0]),m=t.node(t.predecessors(l)[0]);Object.prototype.hasOwnProperty.call(d,"barycenter")||(d.barycenter=0,d.weight=0),d.barycenter=(d.barycenter*d.weight+p.order+m.order)/(d.weight+2),d.weight+=2}return d}function YOe(t,e){Ae(t,function(r){r.vs=qr(r.vs.map(function(n){return e[n]?e[n].vs:n}))})}function XOe(t,e){gr(t.barycenter)?(t.barycenter=e.barycenter,t.weight=e.weight):(t.barycenter=(t.barycenter*t.weight+e.barycenter*e.weight)/(t.weight+e.weight),t.weight+=e.weight)}var Fae=N(()=>{"use strict";qt();Nae();Iae();Bae();o(tN,"sortSubgraph");o(YOe,"expandSubgraphs");o(XOe,"mergeBarycenters")});function zae(t){var e=FR(t),r=$ae(t,Ho(1,e+1),"inEdges"),n=$ae(t,Ho(e-1,-1,-1),"outEdges"),i=Dae(t);Gae(t,i);for(var a=Number.POSITIVE_INFINITY,s,l=0,u=0;u<4;++l,++u){jOe(l%2?r:n,l%4>=2),i=lf(t);var h=Aae(t,i);h{"use strict";qt();Wo();Dc();Eae();Cae();_ae();Lae();Fae();o(zae,"order");o($ae,"buildLayerGraphs");o(jOe,"sweepLayerGraphs");o(Gae,"assignOrder")});function Uae(t){var e=QOe(t);Ae(t.graph().dummyChains,function(r){for(var n=t.node(r),i=n.edgeObj,a=KOe(t,e,i.v,i.w),s=a.path,l=a.lca,u=0,h=s[u],f=!0;r!==i.w;){if(n=t.node(r),f){for(;(h=s[u])!==l&&t.node(h).maxRanks||l>e[u].lim));for(h=u,u=n;(u=t.parent(u))!==h;)a.push(u);return{path:i.concat(a.reverse()),lca:h}}function QOe(t){var e={},r=0;function n(i){var a=r;Ae(t.children(i),n),e[i]={low:a,lim:r++}}return o(n,"dfs"),Ae(t.children(),n),e}var Hae=N(()=>{"use strict";qt();o(Uae,"parentDummyChains");o(KOe,"findPath");o(QOe,"postorder")});function ZOe(t,e){var r={};function n(i,a){var s=0,l=0,u=i.length,h=pa(a);return Ae(a,function(f,d){var p=ePe(t,f),m=p?t.node(p).order:u;(p||f===h)&&(Ae(a.slice(l,d+1),function(g){Ae(t.predecessors(g),function(y){var x=t.node(y),v=x.order;(vh)&&Wae(r,p,f)})})}o(n,"scan");function i(a,s){var l=-1,u,h=0;return Ae(s,function(f,d){if(t.node(f).dummy==="border"){var p=t.predecessors(f);p.length&&(u=t.node(p[0]).order,n(s,h,d,l,u),h=d,l=u)}n(s,h,s.length,u,a.length)}),s}return o(i,"visitLayer"),Xr(e,i),r}function ePe(t,e){if(t.node(e).dummy)return os(t.predecessors(e),function(r){return t.node(r).dummy})}function Wae(t,e,r){if(e>r){var n=e;e=r,r=n}var i=t[e];i||(t[e]=i={}),i[r]=!0}function tPe(t,e,r){if(e>r){var n=e;e=r,r=n}return!!t[e]&&Object.prototype.hasOwnProperty.call(t[e],r)}function rPe(t,e,r,n){var i={},a={},s={};return Ae(e,function(l){Ae(l,function(u,h){i[u]=u,a[u]=u,s[u]=h})}),Ae(e,function(l){var u=-1;Ae(l,function(h){var f=n(h);if(f.length){f=Ac(f,function(y){return s[y]});for(var d=(f.length-1)/2,p=Math.floor(d),m=Math.ceil(d);p<=m;++p){var g=f[p];a[h]===h&&u{"use strict";qt();Wo();Dc();o(ZOe,"findType1Conflicts");o(JOe,"findType2Conflicts");o(ePe,"findOtherInnerSegmentNode");o(Wae,"addConflict");o(tPe,"hasConflict");o(rPe,"verticalAlignment");o(nPe,"horizontalCompaction");o(iPe,"buildBlockGraph");o(aPe,"findSmallestWidthAlignment");o(sPe,"alignCoordinates");o(oPe,"balance");o(qae,"positionX");o(lPe,"sep");o(cPe,"width")});function Xae(t){t=vk(t),uPe(t),TR(qae(t),function(e,r){t.node(r).x=e})}function uPe(t){var e=lf(t),r=t.graph().ranksep,n=0;Ae(e,function(i){var a=Gs(et(i,function(s){return t.node(s).height}));Ae(i,function(s){t.node(s).y=n+a/2}),n+=a+r})}var jae=N(()=>{"use strict";qt();Dc();Yae();o(Xae,"position");o(uPe,"positionY")});function V2(t,e){var r=e&&e.debugTiming?Vie:Uie;r("layout",()=>{var n=r(" buildLayoutGraph",()=>TPe(t));r(" runLayout",()=>hPe(n,r)),r(" updateInputGraph",()=>fPe(t,n))})}function hPe(t,e){e(" makeSpaceForEdgeLabels",()=>wPe(t)),e(" removeSelfEdges",()=>RPe(t)),e(" acyclic",()=>Oie(t)),e(" nestingGraph.run",()=>xae(t)),e(" rank",()=>JR(vk(t))),e(" injectEdgeLabelProxies",()=>kPe(t)),e(" removeEmptyRanks",()=>Gie(t)),e(" nestingGraph.cleanup",()=>Tae(t)),e(" normalizeRanks",()=>$ie(t)),e(" assignRankMinMax",()=>EPe(t)),e(" removeEdgeLabelProxies",()=>SPe(t)),e(" normalize.run",()=>Zie(t)),e(" parentDummyChains",()=>Uae(t)),e(" addBorderSegments",()=>Wie(t)),e(" order",()=>zae(t)),e(" insertSelfEdges",()=>NPe(t)),e(" adjustCoordinateSystem",()=>Xie(t)),e(" position",()=>Xae(t)),e(" positionSelfEdges",()=>MPe(t)),e(" removeBorderNodes",()=>LPe(t)),e(" normalize.undo",()=>Jie(t)),e(" fixupEdgeLabelCoords",()=>_Pe(t)),e(" undoCoordinateSystem",()=>jie(t)),e(" translateGraph",()=>CPe(t)),e(" assignNodeIntersects",()=>APe(t)),e(" reversePoints",()=>DPe(t)),e(" acyclic.undo",()=>Pie(t))}function fPe(t,e){Ae(t.nodes(),function(r){var n=t.node(r),i=e.node(r);n&&(n.x=i.x,n.y=i.y,e.children(r).length&&(n.width=i.width,n.height=i.height))}),Ae(t.edges(),function(r){var n=t.edge(r),i=e.edge(r);n.points=i.points,Object.prototype.hasOwnProperty.call(i,"x")&&(n.x=i.x,n.y=i.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height}function TPe(t){var e=new sn({multigraph:!0,compound:!0}),r=nN(t.graph());return e.setGraph(Uh({},pPe,rN(r,dPe),np(r,mPe))),Ae(t.nodes(),function(n){var i=nN(t.node(n));e.setNode(n,af(rN(i,gPe),yPe)),e.setParent(n,t.parent(n))}),Ae(t.edges(),function(n){var i=nN(t.edge(n));e.setEdge(n,Uh({},xPe,rN(i,vPe),np(i,bPe)))}),e}function wPe(t){var e=t.graph();e.ranksep/=2,Ae(t.edges(),function(r){var n=t.edge(r);n.minlen*=2,n.labelpos.toLowerCase()!=="c"&&(e.rankdir==="TB"||e.rankdir==="BT"?n.width+=n.labeloffset:n.height+=n.labeloffset)})}function kPe(t){Ae(t.edges(),function(e){var r=t.edge(e);if(r.width&&r.height){var n=t.node(e.v),i=t.node(e.w),a={rank:(i.rank-n.rank)/2+n.rank,e};_c(t,"edge-proxy",a,"_ep")}})}function EPe(t){var e=0;Ae(t.nodes(),function(r){var n=t.node(r);n.borderTop&&(n.minRank=t.node(n.borderTop).rank,n.maxRank=t.node(n.borderBottom).rank,e=Gs(e,n.maxRank))}),t.graph().maxRank=e}function SPe(t){Ae(t.nodes(),function(e){var r=t.node(e);r.dummy==="edge-proxy"&&(t.edge(r.e).labelRank=r.rank,t.removeNode(e))})}function CPe(t){var e=Number.POSITIVE_INFINITY,r=0,n=Number.POSITIVE_INFINITY,i=0,a=t.graph(),s=a.marginx||0,l=a.marginy||0;function u(h){var f=h.x,d=h.y,p=h.width,m=h.height;e=Math.min(e,f-p/2),r=Math.max(r,f+p/2),n=Math.min(n,d-m/2),i=Math.max(i,d+m/2)}o(u,"getExtremes"),Ae(t.nodes(),function(h){u(t.node(h))}),Ae(t.edges(),function(h){var f=t.edge(h);Object.prototype.hasOwnProperty.call(f,"x")&&u(f)}),e-=s,n-=l,Ae(t.nodes(),function(h){var f=t.node(h);f.x-=e,f.y-=n}),Ae(t.edges(),function(h){var f=t.edge(h);Ae(f.points,function(d){d.x-=e,d.y-=n}),Object.prototype.hasOwnProperty.call(f,"x")&&(f.x-=e),Object.prototype.hasOwnProperty.call(f,"y")&&(f.y-=n)}),a.width=r-e+s,a.height=i-n+l}function APe(t){Ae(t.edges(),function(e){var r=t.edge(e),n=t.node(e.v),i=t.node(e.w),a,s;r.points?(a=r.points[0],s=r.points[r.points.length-1]):(r.points=[],a=i,s=n),r.points.unshift(PR(n,a)),r.points.push(PR(i,s))})}function _Pe(t){Ae(t.edges(),function(e){var r=t.edge(e);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function DPe(t){Ae(t.edges(),function(e){var r=t.edge(e);r.reversed&&r.points.reverse()})}function LPe(t){Ae(t.nodes(),function(e){if(t.children(e).length){var r=t.node(e),n=t.node(r.borderTop),i=t.node(r.borderBottom),a=t.node(pa(r.borderLeft)),s=t.node(pa(r.borderRight));r.width=Math.abs(s.x-a.x),r.height=Math.abs(i.y-n.y),r.x=a.x+r.width/2,r.y=n.y+r.height/2}}),Ae(t.nodes(),function(e){t.node(e).dummy==="border"&&t.removeNode(e)})}function RPe(t){Ae(t.edges(),function(e){if(e.v===e.w){var r=t.node(e.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e,label:t.edge(e)}),t.removeEdge(e)}})}function NPe(t){var e=lf(t);Ae(e,function(r){var n=0;Ae(r,function(i,a){var s=t.node(i);s.order=a+n,Ae(s.selfEdges,function(l){_c(t,"selfedge",{width:l.label.width,height:l.label.height,rank:s.rank,order:a+ ++n,e:l.e,label:l.label},"_se")}),delete s.selfEdges})})}function MPe(t){Ae(t.nodes(),function(e){var r=t.node(e);if(r.dummy==="selfedge"){var n=t.node(r.e.v),i=n.x+n.width/2,a=n.y,s=r.x-i,l=n.height/2;t.setEdge(r.e,r.label),t.removeNode(e),r.label.points=[{x:i+2*s/3,y:a-l},{x:i+5*s/6,y:a-l},{x:i+s,y:a},{x:i+5*s/6,y:a+l},{x:i+2*s/3,y:a+l}],r.label.x=r.x,r.label.y=r.y}})}function rN(t,e){return tp(np(t,e),Number)}function nN(t){var e={};return Ae(t,function(r,n){e[n.toLowerCase()]=r}),e}var dPe,pPe,mPe,gPe,yPe,vPe,xPe,bPe,Kae=N(()=>{"use strict";qt();Wo();qie();Qie();OR();zR();eN();wae();Vae();Hae();jae();Dc();o(V2,"layout");o(hPe,"runLayout");o(fPe,"updateInputGraph");dPe=["nodesep","edgesep","ranksep","marginx","marginy"],pPe={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},mPe=["acyclicer","ranker","rankdir","align"],gPe=["width","height"],yPe={width:0,height:0},vPe=["minlen","weight","width","height","labeloffset"],xPe={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},bPe=["labelpos"];o(TPe,"buildLayoutGraph");o(wPe,"makeSpaceForEdgeLabels");o(kPe,"injectEdgeLabelProxies");o(EPe,"assignRankMinMax");o(SPe,"removeEdgeLabelProxies");o(CPe,"translateGraph");o(APe,"assignNodeIntersects");o(_Pe,"fixupEdgeLabelCoords");o(DPe,"reversePointsForReversedEdges");o(LPe,"removeBorderNodes");o(RPe,"removeSelfEdges");o(NPe,"insertSelfEdges");o(MPe,"positionSelfEdges");o(rN,"selectNumberAttrs");o(nN,"canonicalize")});var iN=N(()=>{"use strict";OR();Kae();zR();eN()});function qo(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:IPe(t),edges:OPe(t)};return gr(t.graph())||(e.value=an(t.graph())),e}function IPe(t){return et(t.nodes(),function(e){var r=t.node(e),n=t.parent(e),i={v:e};return gr(r)||(i.value=r),gr(n)||(i.parent=n),i})}function OPe(t){return et(t.edges(),function(e){var r=t.edge(e),n={v:e.v,w:e.w};return gr(e.name)||(n.name=e.name),gr(r)||(n.value=r),n})}var aN=N(()=>{"use strict";qt();mk();o(qo,"write");o(IPe,"writeNodes");o(OPe,"writeEdges")});var Tr,op,Jae,ese,wk,PPe,tse,rse,BPe,Vm,Zae,nse,ise,ase,sse,ose=N(()=>{"use strict";pt();Wo();aN();Tr=new Map,op=new Map,Jae=new Map,ese=o(()=>{op.clear(),Jae.clear(),Tr.clear()},"clear"),wk=o((t,e)=>{let r=op.get(e)||[];return X.trace("In isDescendant",e," ",t," = ",r.includes(t)),r.includes(t)},"isDescendant"),PPe=o((t,e)=>{let r=op.get(e)||[];return X.info("Descendants of ",e," is ",r),X.info("Edge is ",t),t.v===e||t.w===e?!1:r?r.includes(t.v)||wk(t.v,e)||wk(t.w,e)||r.includes(t.w):(X.debug("Tilt, ",e,",not in descendants"),!1)},"edgeInCluster"),tse=o((t,e,r,n)=>{X.warn("Copying children of ",t,"root",n,"data",e.node(t),n);let i=e.children(t)||[];t!==n&&i.push(t),X.warn("Copying (nodes) clusterId",t,"nodes",i),i.forEach(a=>{if(e.children(a).length>0)tse(a,e,r,n);else{let s=e.node(a);X.info("cp ",a," to ",n," with parent ",t),r.setNode(a,s),n!==e.parent(a)&&(X.warn("Setting parent",a,e.parent(a)),r.setParent(a,e.parent(a))),t!==n&&a!==t?(X.debug("Setting parent",a,t),r.setParent(a,t)):(X.info("In copy ",t,"root",n,"data",e.node(t),n),X.debug("Not Setting parent for node=",a,"cluster!==rootId",t!==n,"node!==clusterId",a!==t));let l=e.edges(a);X.debug("Copying Edges",l),l.forEach(u=>{X.info("Edge",u);let h=e.edge(u.v,u.w,u.name);X.info("Edge data",h,n);try{PPe(u,n)?(X.info("Copying as ",u.v,u.w,h,u.name),r.setEdge(u.v,u.w,h,u.name),X.info("newGraph edges ",r.edges(),r.edge(r.edges()[0]))):X.info("Skipping copy of edge ",u.v,"-->",u.w," rootId: ",n," clusterId:",t)}catch(f){X.error(f)}})}X.debug("Removing node",a),e.removeNode(a)})},"copy"),rse=o((t,e)=>{let r=e.children(t),n=[...r];for(let i of r)Jae.set(i,t),n=[...n,...rse(i,e)];return n},"extractDescendants"),BPe=o((t,e,r)=>{let n=t.edges().filter(u=>u.v===e||u.w===e),i=t.edges().filter(u=>u.v===r||u.w===r),a=n.map(u=>({v:u.v===e?r:u.v,w:u.w===e?e:u.w})),s=i.map(u=>({v:u.v,w:u.w}));return a.filter(u=>s.some(h=>u.v===h.v&&u.w===h.w))},"findCommonEdges"),Vm=o((t,e,r)=>{let n=e.children(t);if(X.trace("Searching children of id ",t,n),n.length<1)return t;let i;for(let a of n){let s=Vm(a,e,r),l=BPe(e,r,s);if(s)if(l.length>0)i=s;else return s}return i},"findNonClusterChild"),Zae=o(t=>!Tr.has(t)||!Tr.get(t).externalConnections?t:Tr.has(t)?Tr.get(t).id:t,"getAnchorId"),nse=o((t,e)=>{if(!t||e>10){X.debug("Opting out, no graph ");return}else X.debug("Opting in, graph ");t.nodes().forEach(function(r){t.children(r).length>0&&(X.warn("Cluster identified",r," Replacement id in edges: ",Vm(r,t,r)),op.set(r,rse(r,t)),Tr.set(r,{id:Vm(r,t,r),clusterData:t.node(r)}))}),t.nodes().forEach(function(r){let n=t.children(r),i=t.edges();n.length>0?(X.debug("Cluster identified",r,op),i.forEach(a=>{let s=wk(a.v,r),l=wk(a.w,r);s^l&&(X.warn("Edge: ",a," leaves cluster ",r),X.warn("Descendants of XXX ",r,": ",op.get(r)),Tr.get(r).externalConnections=!0)})):X.debug("Not a cluster ",r,op)});for(let r of Tr.keys()){let n=Tr.get(r).id,i=t.parent(n);i!==r&&Tr.has(i)&&!Tr.get(i).externalConnections&&(Tr.get(r).id=i)}t.edges().forEach(function(r){let n=t.edge(r);X.warn("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(r)),X.warn("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(t.edge(r)));let i=r.v,a=r.w;if(X.warn("Fix XXX",Tr,"ids:",r.v,r.w,"Translating: ",Tr.get(r.v)," --- ",Tr.get(r.w)),Tr.get(r.v)||Tr.get(r.w)){if(X.warn("Fixing and trying - removing XXX",r.v,r.w,r.name),i=Zae(r.v),a=Zae(r.w),t.removeEdge(r.v,r.w,r.name),i!==r.v){let s=t.parent(i);Tr.get(s).externalConnections=!0,n.fromCluster=r.v}if(a!==r.w){let s=t.parent(a);Tr.get(s).externalConnections=!0,n.toCluster=r.w}X.warn("Fix Replacing with XXX",i,a,r.name),t.setEdge(i,a,n,r.name)}}),X.warn("Adjusted Graph",qo(t)),ise(t,0),X.trace(Tr)},"adjustClustersAndEdges"),ise=o((t,e)=>{if(X.warn("extractor - ",e,qo(t),t.children("D")),e>10){X.error("Bailing out");return}let r=t.nodes(),n=!1;for(let i of r){let a=t.children(i);n=n||a.length>0}if(!n){X.debug("Done, no node has children",t.nodes());return}X.debug("Nodes = ",r,e);for(let i of r)if(X.debug("Extracting node",i,Tr,Tr.has(i)&&!Tr.get(i).externalConnections,!t.parent(i),t.node(i),t.children("D")," Depth ",e),!Tr.has(i))X.debug("Not a cluster",i,e);else if(!Tr.get(i).externalConnections&&t.children(i)&&t.children(i).length>0){X.warn("Cluster without external connections, without a parent and with children",i,e);let s=t.graph().rankdir==="TB"?"LR":"TB";Tr.get(i)?.clusterData?.dir&&(s=Tr.get(i).clusterData.dir,X.warn("Fixing dir",Tr.get(i).clusterData.dir,s));let l=new sn({multigraph:!0,compound:!0}).setGraph({rankdir:s,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});X.warn("Old graph before copy",qo(t)),tse(i,t,l,i),t.setNode(i,{clusterNode:!0,id:i,clusterData:Tr.get(i).clusterData,label:Tr.get(i).label,graph:l}),X.warn("New graph after copy node: (",i,")",qo(l)),X.debug("Old graph after copy",qo(t))}else X.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!Tr.get(i).externalConnections," no parent: ",!t.parent(i)," children ",t.children(i)&&t.children(i).length>0,t.children("D"),e),X.debug(Tr);r=t.nodes(),X.warn("New list of nodes",r);for(let i of r){let a=t.node(i);X.warn(" Now next level",i,a),a?.clusterNode&&ise(a.graph,e+1)}},"extractor"),ase=o((t,e)=>{if(e.length===0)return[];let r=Object.assign([],e);return e.forEach(n=>{let i=t.children(n),a=ase(t,i);r=[...r,...a]}),r},"sorter"),sse=o(t=>ase(t,t.children()),"sortNodesByHierarchy")});var cse={};ur(cse,{render:()=>FPe});var lse,FPe,use=N(()=>{"use strict";iN();aN();Wo();U9();Nt();ose();xw();cw();V9();pt();N2();Xt();lse=o(async(t,e,r,n,i,a)=>{X.warn("Graph in recursive render:XAX",qo(e),i);let s=e.graph().rankdir;X.trace("Dir in recursive render - dir:",s);let l=t.insert("g").attr("class","root");e.nodes()?X.info("Recursive render XXX",e.nodes()):X.info("No nodes found for",e),e.edges().length>0&&X.info("Recursive edges",e.edge(e.edges()[0]));let u=l.insert("g").attr("class","clusters"),h=l.insert("g").attr("class","edgePaths"),f=l.insert("g").attr("class","edgeLabels"),d=l.insert("g").attr("class","nodes");await Promise.all(e.nodes().map(async function(y){let x=e.node(y);if(i!==void 0){let v=JSON.parse(JSON.stringify(i.clusterData));X.trace(`Setting data for parent cluster XXX Node.id = `,y,` - data=`,x.height,` -Parent cluster`,i.height),e.setNode(i.id,x),e.parent(y)||(X.trace("Setting parent",y,i.id),e.setParent(y,i.id,x))}if(X.info("(Insert) Node XXX"+y+": "+JSON.stringify(e.node(y))),v?.clusterNode){X.info("Cluster identified XBX",y,v.width,e.node(y));let{ranksep:x,nodesep:b}=e.graph();v.graph.setGraph({...v.graph.graph(),ranksep:x+25,nodesep:b});let T=await Zae(d,v.graph,r,n,e.node(y),a),C=T.elem;Ke(v,C),v.diff=T.diff||0,X.info("New compound node after recursive render XAX",y,"width",v.width,"height",v.height),yee(C,v)}else e.children(y).length>0?(X.trace("Cluster - the non recursive path XBX",y,v.id,v,v.width,"Graph:",e),X.trace(Gm(v.id,e)),Tr.set(v.id,{id:Gm(v.id,e),node:v})):(X.trace("Node - the non recursive path XAX",y,d,e.node(y),s),await Tm(d,e.node(y),{config:a,dir:s}))})),await o(async()=>{let y=e.edges().map(async function(v){let x=e.edge(v.v,v.w,v.name);X.info("Edge "+v.v+" -> "+v.w+": "+JSON.stringify(v)),X.info("Edge "+v.v+" -> "+v.w+": ",v," ",JSON.stringify(e.edge(v))),X.info("Fix",Tr,"ids:",v.v,v.w,"Translating: ",Tr.get(v.v),Tr.get(v.w)),await lw(f,x)});await Promise.all(y)},"processEdges")(),X.info("Graph before layout:",JSON.stringify(Ho(e))),X.info("############################################# XXX"),X.info("### Layout ### XXX"),X.info("############################################# XXX"),z2(e),X.info("Graph after layout:",JSON.stringify(Ho(e)));let m=0,{subGraphTitleTotalMargin:g}=Mu(a);return await Promise.all(Kae(e).map(async function(y){let v=e.node(y);if(X.info("Position XBX => "+y+": ("+v.x,","+v.y,") width: ",v.width," height: ",v.height),v?.clusterNode)v.y+=g,X.info("A tainted cluster node XBX1",y,v.id,v.width,v.height,v.x,v.y,e.parent(y)),Tr.get(v.id).node=v,N2(v);else if(e.children(y).length>0){X.info("A pure cluster node XBX1",y,v.id,v.x,v.y,v.width,v.height,e.parent(y)),v.height+=g,e.node(v.parentId);let x=v?.padding/2||0,b=v?.labelBBox?.height||0,T=b-x||0;X.debug("OffsetY",T,"labelHeight",b,"halfPadding",x),await bm(u,v),Tr.get(v.id).node=v}else{let x=e.node(v.parentId);v.y+=g/2,X.info("A regular node XBX1 - using the padding",v.id,"parent",v.parentId,v.width,v.height,v.x,v.y,"offsetY",v.offsetY,"parent",x,x?.offsetY,v),N2(v)}})),e.edges().forEach(function(y){let v=e.edge(y);X.info("Edge "+y.v+" -> "+y.w+": "+JSON.stringify(v),v),v.points.forEach(C=>C.y+=g/2);let x=e.node(y.v);var b=e.node(y.w);let T=uw(h,v,Tr,r,x,b,n);cw(v,T)}),e.nodes().forEach(function(y){let v=e.node(y);X.info(y,v.type,v.diff),v.isGroup&&(m=v.diff)}),X.warn("Returning from recursive render XAX",l,m),{elem:l,diff:m}},"recursiveRender"),MPe=o(async(t,e)=>{let r=new an({multigraph:!0,compound:!0}).setGraph({rankdir:t.direction,nodesep:t.config?.nodeSpacing||t.config?.flowchart?.nodeSpacing||t.nodeSpacing,ranksep:t.config?.rankSpacing||t.config?.flowchart?.rankSpacing||t.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),n=e.select("g");hw(n,t.markers,t.type,t.diagramId),vee(),gee(),uee(),Hae(),t.nodes.forEach(a=>{r.setNode(a.id,{...a}),a.parentId&&r.setParent(a.id,a.parentId)}),X.debug("Edges:",t.edges),t.edges.forEach(a=>{if(a.start===a.end){let s=a.start,l=s+"---"+s+"---1",u=s+"---"+s+"---2",h=r.node(s);r.setNode(l,{domId:l,id:l,parentId:h.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),r.setParent(l,h.parentId),r.setNode(u,{domId:u,id:u,parentId:h.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),r.setParent(u,h.parentId);let f=structuredClone(a),d=structuredClone(a),p=structuredClone(a);f.label="",f.arrowTypeEnd="none",f.id=s+"-cyclic-special-1",d.arrowTypeStart="none",d.arrowTypeEnd="none",d.id=s+"-cyclic-special-mid",p.label="",h.isGroup&&(f.fromCluster=s,p.toCluster=s),p.id=s+"-cyclic-special-2",p.arrowTypeStart="none",r.setEdge(s,l,f,s+"-cyclic-special-0"),r.setEdge(l,u,d,s+"-cyclic-special-1"),r.setEdge(u,s,p,s+"-cyc{"use strict";bee();yt();G2={},ZR=o(t=>{for(let e of t)G2[e.name]=e},"registerLayoutLoaders"),IPe=o(()=>{ZR([{name:"dagre",loader:o(async()=>await Promise.resolve().then(()=>(ese(),Jae)),"loader")}])},"registerDefaultLayoutLoaders");IPe();Dc=o(async(t,e)=>{if(!(t.layoutAlgorithm in G2))throw new Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);let r=G2[t.layoutAlgorithm];return(await r.loader()).render(t,e,xee,{algorithm:r.algorithm})},"render"),sf=o((t="",{fallback:e="dagre"}={})=>{if(t in G2)return t;if(e in G2)return X.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")});var Wo,OPe,PPe,Jd=N(()=>{"use strict";yi();yt();Wo=o((t,e,r,n)=>{t.attr("class",r);let{width:i,height:a,x:s,y:l}=OPe(t,e);hn(t,a,i,n);let u=PPe(s,l,i,a,e);t.attr("viewBox",u),X.debug(`viewBox configured: ${u} with padding: ${e}`)},"setupViewPortForSVG"),OPe=o((t,e)=>{let r=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:r.width+e*2,height:r.height+e*2,x:r.x,y:r.y}},"calculateDimensionsWithPadding"),PPe=o((t,e,r,n,i)=>`${t-i} ${e-i} ${r} ${n}`,"createViewBox")});var BPe,FPe,tse,rse=N(()=>{"use strict";pr();qt();yt();xm();Zd();Jd();nr();BPe=o(function(t,e){return e.db.getClasses()},"getClasses"),FPe=o(async function(t,e,r,n){X.info("REF0:"),X.info("Drawing state diagram (v2)",e);let{securityLevel:i,flowchart:a,layout:s}=ge(),l;i==="sandbox"&&(l=Ge("#i"+e));let u=i==="sandbox"?l.nodes()[0].contentDocument:document;X.debug("Before getData: ");let h=n.db.getData();X.debug("Data: ",h);let f=bc(e,i),d=n.db.getDirection();h.type=n.type,h.layoutAlgorithm=sf(s),h.layoutAlgorithm==="dagre"&&s==="elk"&&X.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),h.direction=d,h.nodeSpacing=a?.nodeSpacing||50,h.rankSpacing=a?.rankSpacing||50,h.markers=["point","circle","cross"],h.diagramId=e,X.debug("REF1:",h),await Dc(h,f);let p=h.config.flowchart?.diagramPadding??8;Vt.insertTitle(f,"flowchartTitleText",a?.titleTopMargin||0,n.db.getDiagramTitle()),Wo(f,p,"flowchart",a?.useMaxWidth||!1);for(let m of h.nodes){let g=Ge(`#${e} [id="${m.id}"]`);if(!g||!m.link)continue;let y=u.createElementNS("http://www.w3.org/2000/svg","a");y.setAttributeNS("http://www.w3.org/2000/svg","class",m.cssClasses),y.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),i==="sandbox"?y.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):m.linkTarget&&y.setAttributeNS("http://www.w3.org/2000/svg","target",m.linkTarget);let v=g.insert(function(){return y},":first-child"),x=g.select(".label-container");x&&v.append(function(){return x.node()});let b=g.select(".label");b&&v.append(function(){return b.node()})}},"draw"),tse={getClasses:BPe,draw:FPe}});var JR,eN,nse=N(()=>{"use strict";JR=function(){var t=o(function(Ur,et,gt,Kt){for(gt=gt||{},Kt=Ur.length;Kt--;gt[Ur[Kt]]=et);return gt},"o"),e=[1,4],r=[1,3],n=[1,5],i=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],a=[2,2],s=[1,13],l=[1,14],u=[1,15],h=[1,16],f=[1,23],d=[1,25],p=[1,26],m=[1,27],g=[1,49],y=[1,48],v=[1,29],x=[1,30],b=[1,31],T=[1,32],C=[1,33],w=[1,44],E=[1,46],_=[1,42],A=[1,47],D=[1,43],O=[1,50],R=[1,45],k=[1,51],L=[1,52],S=[1,34],I=[1,35],M=[1,36],P=[1,37],B=[1,57],F=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],z=[1,61],$=[1,60],U=[1,62],K=[8,9,11,75,77,78],ee=[1,78],Y=[1,91],ce=[1,96],Z=[1,95],ue=[1,92],Q=[1,88],j=[1,94],ne=[1,90],te=[1,97],he=[1,93],le=[1,98],J=[1,89],Se=[8,9,10,11,40,75,77,78],se=[8,9,10,11,40,46,75,77,78],ae=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],Oe=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],ye=[44,60,89,102,105,106,109,111,114,115,116],Be=[1,121],He=[1,122],ze=[1,124],Le=[1,123],Ie=[44,60,62,74,89,102,105,106,109,111,114,115,116],xe=[1,133],q=[1,147],de=[1,148],ie=[1,149],oe=[1,150],V=[1,135],Te=[1,137],W=[1,141],pe=[1,142],ve=[1,143],Pe=[1,144],_e=[1,145],be=[1,146],Ve=[1,151],De=[1,152],Ye=[1,131],at=[1,132],Rt=[1,139],st=[1,134],Ue=[1,138],ut=[1,136],We=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],lt=[1,154],Xt=[1,156],Tt=[8,9,11],Mt=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],bt=[1,176],ht=[1,172],St=[1,173],ft=[1,177],vt=[1,174],nt=[1,175],dn=[77,116,119],kt=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],In=[10,106],en=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],Nr=[1,247],Mr=[1,245],On=[1,249],Dt=[1,243],Ce=[1,244],tt=[1,246],Ct=[1,248],yr=[1,250],tn=[1,268],gn=[8,9,11,106],Qr=[8,9,10,11,60,84,105,106,109,110,111,112],Mi={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1]],performAction:o(function(et,gt,Kt,ct,Sn,me,Wf){var we=me.length-1;switch(Sn){case 2:this.$=[];break;case 3:(!Array.isArray(me[we])||me[we].length>0)&&me[we-1].push(me[we]),this.$=me[we-1];break;case 4:case 183:this.$=me[we];break;case 11:ct.setDirection("TB"),this.$="TB";break;case 12:ct.setDirection(me[we-1]),this.$=me[we-1];break;case 27:this.$=me[we-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=ct.addSubGraph(me[we-6],me[we-1],me[we-4]);break;case 34:this.$=ct.addSubGraph(me[we-3],me[we-1],me[we-3]);break;case 35:this.$=ct.addSubGraph(void 0,me[we-1],void 0);break;case 37:this.$=me[we].trim(),ct.setAccTitle(this.$);break;case 38:case 39:this.$=me[we].trim(),ct.setAccDescription(this.$);break;case 43:this.$=me[we-1]+me[we];break;case 44:this.$=me[we];break;case 45:ct.addVertex(me[we-1][me[we-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,me[we]),ct.addLink(me[we-3].stmt,me[we-1],me[we-2]),this.$={stmt:me[we-1],nodes:me[we-1].concat(me[we-3].nodes)};break;case 46:ct.addLink(me[we-2].stmt,me[we],me[we-1]),this.$={stmt:me[we],nodes:me[we].concat(me[we-2].nodes)};break;case 47:ct.addLink(me[we-3].stmt,me[we-1],me[we-2]),this.$={stmt:me[we-1],nodes:me[we-1].concat(me[we-3].nodes)};break;case 48:this.$={stmt:me[we-1],nodes:me[we-1]};break;case 49:ct.addVertex(me[we-1][me[we-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,me[we]),this.$={stmt:me[we-1],nodes:me[we-1],shapeData:me[we]};break;case 50:this.$={stmt:me[we],nodes:me[we]};break;case 51:this.$=[me[we]];break;case 52:ct.addVertex(me[we-5][me[we-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,me[we-4]),this.$=me[we-5].concat(me[we]);break;case 53:this.$=me[we-4].concat(me[we]);break;case 54:this.$=me[we];break;case 55:this.$=me[we-2],ct.setClass(me[we-2],me[we]);break;case 56:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"square");break;case 57:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"doublecircle");break;case 58:this.$=me[we-5],ct.addVertex(me[we-5],me[we-2],"circle");break;case 59:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"ellipse");break;case 60:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"stadium");break;case 61:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"subroutine");break;case 62:this.$=me[we-7],ct.addVertex(me[we-7],me[we-1],"rect",void 0,void 0,void 0,Object.fromEntries([[me[we-5],me[we-3]]]));break;case 63:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"cylinder");break;case 64:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"round");break;case 65:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"diamond");break;case 66:this.$=me[we-5],ct.addVertex(me[we-5],me[we-2],"hexagon");break;case 67:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"odd");break;case 68:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"trapezoid");break;case 69:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"inv_trapezoid");break;case 70:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"lean_right");break;case 71:this.$=me[we-3],ct.addVertex(me[we-3],me[we-1],"lean_left");break;case 72:this.$=me[we],ct.addVertex(me[we]);break;case 73:me[we-1].text=me[we],this.$=me[we-1];break;case 74:case 75:me[we-2].text=me[we-1],this.$=me[we-2];break;case 76:this.$=me[we];break;case 77:var ki=ct.destructLink(me[we],me[we-2]);this.$={type:ki.type,stroke:ki.stroke,length:ki.length,text:me[we-1]};break;case 78:var ki=ct.destructLink(me[we],me[we-2]);this.$={type:ki.type,stroke:ki.stroke,length:ki.length,text:me[we-1],id:me[we-3]};break;case 79:this.$={text:me[we],type:"text"};break;case 80:this.$={text:me[we-1].text+""+me[we],type:me[we-1].type};break;case 81:this.$={text:me[we],type:"string"};break;case 82:this.$={text:me[we],type:"markdown"};break;case 83:var ki=ct.destructLink(me[we]);this.$={type:ki.type,stroke:ki.stroke,length:ki.length};break;case 84:var ki=ct.destructLink(me[we]);this.$={type:ki.type,stroke:ki.stroke,length:ki.length,id:me[we-1]};break;case 85:this.$=me[we-1];break;case 86:this.$={text:me[we],type:"text"};break;case 87:this.$={text:me[we-1].text+""+me[we],type:me[we-1].type};break;case 88:this.$={text:me[we],type:"string"};break;case 89:case 104:this.$={text:me[we],type:"markdown"};break;case 101:this.$={text:me[we],type:"text"};break;case 102:this.$={text:me[we-1].text+""+me[we],type:me[we-1].type};break;case 103:this.$={text:me[we],type:"text"};break;case 105:this.$=me[we-4],ct.addClass(me[we-2],me[we]);break;case 106:this.$=me[we-4],ct.setClass(me[we-2],me[we]);break;case 107:case 115:this.$=me[we-1],ct.setClickEvent(me[we-1],me[we]);break;case 108:case 116:this.$=me[we-3],ct.setClickEvent(me[we-3],me[we-2]),ct.setTooltip(me[we-3],me[we]);break;case 109:this.$=me[we-2],ct.setClickEvent(me[we-2],me[we-1],me[we]);break;case 110:this.$=me[we-4],ct.setClickEvent(me[we-4],me[we-3],me[we-2]),ct.setTooltip(me[we-4],me[we]);break;case 111:this.$=me[we-2],ct.setLink(me[we-2],me[we]);break;case 112:this.$=me[we-4],ct.setLink(me[we-4],me[we-2]),ct.setTooltip(me[we-4],me[we]);break;case 113:this.$=me[we-4],ct.setLink(me[we-4],me[we-2],me[we]);break;case 114:this.$=me[we-6],ct.setLink(me[we-6],me[we-4],me[we]),ct.setTooltip(me[we-6],me[we-2]);break;case 117:this.$=me[we-1],ct.setLink(me[we-1],me[we]);break;case 118:this.$=me[we-3],ct.setLink(me[we-3],me[we-2]),ct.setTooltip(me[we-3],me[we]);break;case 119:this.$=me[we-3],ct.setLink(me[we-3],me[we-2],me[we]);break;case 120:this.$=me[we-5],ct.setLink(me[we-5],me[we-4],me[we]),ct.setTooltip(me[we-5],me[we-2]);break;case 121:this.$=me[we-4],ct.addVertex(me[we-2],void 0,void 0,me[we]);break;case 122:this.$=me[we-4],ct.updateLink([me[we-2]],me[we]);break;case 123:this.$=me[we-4],ct.updateLink(me[we-2],me[we]);break;case 124:this.$=me[we-8],ct.updateLinkInterpolate([me[we-6]],me[we-2]),ct.updateLink([me[we-6]],me[we]);break;case 125:this.$=me[we-8],ct.updateLinkInterpolate(me[we-6],me[we-2]),ct.updateLink(me[we-6],me[we]);break;case 126:this.$=me[we-6],ct.updateLinkInterpolate([me[we-4]],me[we]);break;case 127:this.$=me[we-6],ct.updateLinkInterpolate(me[we-4],me[we]);break;case 128:case 130:this.$=[me[we]];break;case 129:case 131:me[we-2].push(me[we]),this.$=me[we-2];break;case 133:this.$=me[we-1]+me[we];break;case 181:this.$=me[we];break;case 182:this.$=me[we-1]+""+me[we];break;case 184:this.$=me[we-1]+""+me[we];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"};break}},"anonymous"),table:[{3:1,4:2,9:e,10:r,12:n},{1:[3]},t(i,a,{5:6}),{4:7,9:e,10:r,12:n},{4:8,9:e,10:r,12:n},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:s,9:l,10:u,11:h,20:17,22:18,23:19,24:20,25:21,26:22,27:f,33:24,34:d,36:p,38:m,42:28,43:38,44:g,45:39,47:40,60:y,84:v,85:x,86:b,87:T,88:C,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L,121:S,122:I,123:M,124:P},t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),{8:[1,54],9:[1,55],10:B,15:53,18:56},t(F,[2,3]),t(F,[2,4]),t(F,[2,5]),t(F,[2,6]),t(F,[2,7]),t(F,[2,8]),{8:z,9:$,11:U,21:58,41:59,72:63,75:[1,64],77:[1,66],78:[1,65]},{8:z,9:$,11:U,21:67},{8:z,9:$,11:U,21:68},{8:z,9:$,11:U,21:69},{8:z,9:$,11:U,21:70},{8:z,9:$,11:U,21:71},{8:z,9:$,10:[1,72],11:U,21:73},t(F,[2,36]),{35:[1,74]},{37:[1,75]},t(F,[2,39]),t(K,[2,50],{18:76,39:77,10:B,40:ee}),{10:[1,79]},{10:[1,80]},{10:[1,81]},{10:[1,82]},{14:Y,44:ce,60:Z,80:[1,86],89:ue,95:[1,83],97:[1,84],101:85,105:Q,106:j,109:ne,111:te,114:he,115:le,116:J,120:87},t(F,[2,185]),t(F,[2,186]),t(F,[2,187]),t(F,[2,188]),t(Se,[2,51]),t(Se,[2,54],{46:[1,99]}),t(se,[2,72],{113:112,29:[1,100],44:g,48:[1,101],50:[1,102],52:[1,103],54:[1,104],56:[1,105],58:[1,106],60:y,63:[1,107],65:[1,108],67:[1,109],68:[1,110],70:[1,111],89:w,102:E,105:_,106:A,109:D,111:O,114:R,115:k,116:L}),t(ae,[2,181]),t(ae,[2,142]),t(ae,[2,143]),t(ae,[2,144]),t(ae,[2,145]),t(ae,[2,146]),t(ae,[2,147]),t(ae,[2,148]),t(ae,[2,149]),t(ae,[2,150]),t(ae,[2,151]),t(ae,[2,152]),t(i,[2,12]),t(i,[2,18]),t(i,[2,19]),{9:[1,113]},t(Oe,[2,26],{18:114,10:B}),t(F,[2,27]),{42:115,43:38,44:g,45:39,47:40,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},t(F,[2,40]),t(F,[2,41]),t(F,[2,42]),t(ye,[2,76],{73:116,62:[1,118],74:[1,117]}),{76:119,79:120,80:Be,81:He,116:ze,119:Le},{75:[1,125],77:[1,126]},t(Ie,[2,83]),t(F,[2,28]),t(F,[2,29]),t(F,[2,30]),t(F,[2,31]),t(F,[2,32]),{10:xe,12:q,14:de,27:ie,28:127,32:oe,44:V,60:Te,75:W,80:[1,129],81:[1,130],83:140,84:pe,85:ve,86:Pe,87:_e,88:be,89:Ve,90:De,91:128,105:Ye,109:at,111:Rt,114:st,115:Ue,116:ut},t(We,a,{5:153}),t(F,[2,37]),t(F,[2,38]),t(K,[2,48],{44:lt}),t(K,[2,49],{18:155,10:B,40:Xt}),t(Se,[2,44]),{44:g,47:157,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},{102:[1,158],103:159,105:[1,160]},{44:g,47:161,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},{44:g,47:162,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},t(Tt,[2,107],{10:[1,163],96:[1,164]}),{80:[1,165]},t(Tt,[2,115],{120:167,10:[1,166],14:Y,44:ce,60:Z,89:ue,105:Q,106:j,109:ne,111:te,114:he,115:le,116:J}),t(Tt,[2,117],{10:[1,168]}),t(Mt,[2,183]),t(Mt,[2,170]),t(Mt,[2,171]),t(Mt,[2,172]),t(Mt,[2,173]),t(Mt,[2,174]),t(Mt,[2,175]),t(Mt,[2,176]),t(Mt,[2,177]),t(Mt,[2,178]),t(Mt,[2,179]),t(Mt,[2,180]),{44:g,47:169,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},{30:170,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{30:178,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{30:180,50:[1,179],67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{30:181,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{30:182,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{30:183,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{109:[1,184]},{30:185,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{30:186,65:[1,187],67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{30:188,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{30:189,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{30:190,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},t(ae,[2,182]),t(i,[2,20]),t(Oe,[2,25]),t(K,[2,46],{39:191,18:192,10:B,40:ee}),t(ye,[2,73],{10:[1,193]}),{10:[1,194]},{30:195,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{77:[1,196],79:197,116:ze,119:Le},t(dn,[2,79]),t(dn,[2,81]),t(dn,[2,82]),t(dn,[2,168]),t(dn,[2,169]),{76:198,79:120,80:Be,81:He,116:ze,119:Le},t(Ie,[2,84]),{8:z,9:$,10:xe,11:U,12:q,14:de,21:200,27:ie,29:[1,199],32:oe,44:V,60:Te,75:W,83:140,84:pe,85:ve,86:Pe,87:_e,88:be,89:Ve,90:De,91:201,105:Ye,109:at,111:Rt,114:st,115:Ue,116:ut},t(kt,[2,101]),t(kt,[2,103]),t(kt,[2,104]),t(kt,[2,157]),t(kt,[2,158]),t(kt,[2,159]),t(kt,[2,160]),t(kt,[2,161]),t(kt,[2,162]),t(kt,[2,163]),t(kt,[2,164]),t(kt,[2,165]),t(kt,[2,166]),t(kt,[2,167]),t(kt,[2,90]),t(kt,[2,91]),t(kt,[2,92]),t(kt,[2,93]),t(kt,[2,94]),t(kt,[2,95]),t(kt,[2,96]),t(kt,[2,97]),t(kt,[2,98]),t(kt,[2,99]),t(kt,[2,100]),{6:11,7:12,8:s,9:l,10:u,11:h,20:17,22:18,23:19,24:20,25:21,26:22,27:f,32:[1,202],33:24,34:d,36:p,38:m,42:28,43:38,44:g,45:39,47:40,60:y,84:v,85:x,86:b,87:T,88:C,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L,121:S,122:I,123:M,124:P},{10:B,18:203},{44:[1,204]},t(Se,[2,43]),{10:[1,205],44:g,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:112,114:R,115:k,116:L},{10:[1,206]},{10:[1,207],106:[1,208]},t(In,[2,128]),{10:[1,209],44:g,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:112,114:R,115:k,116:L},{10:[1,210],44:g,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:112,114:R,115:k,116:L},{80:[1,211]},t(Tt,[2,109],{10:[1,212]}),t(Tt,[2,111],{10:[1,213]}),{80:[1,214]},t(Mt,[2,184]),{80:[1,215],98:[1,216]},t(Se,[2,55],{113:112,44:g,60:y,89:w,102:E,105:_,106:A,109:D,111:O,114:R,115:k,116:L}),{31:[1,217],67:bt,82:218,116:ft,117:vt,118:nt},t(en,[2,86]),t(en,[2,88]),t(en,[2,89]),t(en,[2,153]),t(en,[2,154]),t(en,[2,155]),t(en,[2,156]),{49:[1,219],67:bt,82:218,116:ft,117:vt,118:nt},{30:220,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{51:[1,221],67:bt,82:218,116:ft,117:vt,118:nt},{53:[1,222],67:bt,82:218,116:ft,117:vt,118:nt},{55:[1,223],67:bt,82:218,116:ft,117:vt,118:nt},{57:[1,224],67:bt,82:218,116:ft,117:vt,118:nt},{60:[1,225]},{64:[1,226],67:bt,82:218,116:ft,117:vt,118:nt},{66:[1,227],67:bt,82:218,116:ft,117:vt,118:nt},{30:228,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},{31:[1,229],67:bt,82:218,116:ft,117:vt,118:nt},{67:bt,69:[1,230],71:[1,231],82:218,116:ft,117:vt,118:nt},{67:bt,69:[1,233],71:[1,232],82:218,116:ft,117:vt,118:nt},t(K,[2,45],{18:155,10:B,40:Xt}),t(K,[2,47],{44:lt}),t(ye,[2,75]),t(ye,[2,74]),{62:[1,234],67:bt,82:218,116:ft,117:vt,118:nt},t(ye,[2,77]),t(dn,[2,80]),{77:[1,235],79:197,116:ze,119:Le},{30:236,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},t(We,a,{5:237}),t(kt,[2,102]),t(F,[2,35]),{43:238,44:g,45:39,47:40,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},{10:B,18:239},{10:Nr,60:Mr,84:On,92:240,105:Dt,107:241,108:242,109:Ce,110:tt,111:Ct,112:yr},{10:Nr,60:Mr,84:On,92:251,104:[1,252],105:Dt,107:241,108:242,109:Ce,110:tt,111:Ct,112:yr},{10:Nr,60:Mr,84:On,92:253,104:[1,254],105:Dt,107:241,108:242,109:Ce,110:tt,111:Ct,112:yr},{105:[1,255]},{10:Nr,60:Mr,84:On,92:256,105:Dt,107:241,108:242,109:Ce,110:tt,111:Ct,112:yr},{44:g,47:257,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},t(Tt,[2,108]),{80:[1,258]},{80:[1,259],98:[1,260]},t(Tt,[2,116]),t(Tt,[2,118],{10:[1,261]}),t(Tt,[2,119]),t(se,[2,56]),t(en,[2,87]),t(se,[2,57]),{51:[1,262],67:bt,82:218,116:ft,117:vt,118:nt},t(se,[2,64]),t(se,[2,59]),t(se,[2,60]),t(se,[2,61]),{109:[1,263]},t(se,[2,63]),t(se,[2,65]),{66:[1,264],67:bt,82:218,116:ft,117:vt,118:nt},t(se,[2,67]),t(se,[2,68]),t(se,[2,70]),t(se,[2,69]),t(se,[2,71]),t([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),t(ye,[2,78]),{31:[1,265],67:bt,82:218,116:ft,117:vt,118:nt},{6:11,7:12,8:s,9:l,10:u,11:h,20:17,22:18,23:19,24:20,25:21,26:22,27:f,32:[1,266],33:24,34:d,36:p,38:m,42:28,43:38,44:g,45:39,47:40,60:y,84:v,85:x,86:b,87:T,88:C,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L,121:S,122:I,123:M,124:P},t(Se,[2,53]),{43:267,44:g,45:39,47:40,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},t(Tt,[2,121],{106:tn}),t(gn,[2,130],{108:269,10:Nr,60:Mr,84:On,105:Dt,109:Ce,110:tt,111:Ct,112:yr}),t(Qr,[2,132]),t(Qr,[2,134]),t(Qr,[2,135]),t(Qr,[2,136]),t(Qr,[2,137]),t(Qr,[2,138]),t(Qr,[2,139]),t(Qr,[2,140]),t(Qr,[2,141]),t(Tt,[2,122],{106:tn}),{10:[1,270]},t(Tt,[2,123],{106:tn}),{10:[1,271]},t(In,[2,129]),t(Tt,[2,105],{106:tn}),t(Tt,[2,106],{113:112,44:g,60:y,89:w,102:E,105:_,106:A,109:D,111:O,114:R,115:k,116:L}),t(Tt,[2,110]),t(Tt,[2,112],{10:[1,272]}),t(Tt,[2,113]),{98:[1,273]},{51:[1,274]},{62:[1,275]},{66:[1,276]},{8:z,9:$,11:U,21:277},t(F,[2,34]),t(Se,[2,52]),{10:Nr,60:Mr,84:On,105:Dt,107:278,108:242,109:Ce,110:tt,111:Ct,112:yr},t(Qr,[2,133]),{14:Y,44:ce,60:Z,89:ue,101:279,105:Q,106:j,109:ne,111:te,114:he,115:le,116:J,120:87},{14:Y,44:ce,60:Z,89:ue,101:280,105:Q,106:j,109:ne,111:te,114:he,115:le,116:J,120:87},{98:[1,281]},t(Tt,[2,120]),t(se,[2,58]),{30:282,67:bt,80:ht,81:St,82:171,116:ft,117:vt,118:nt},t(se,[2,66]),t(We,a,{5:283}),t(gn,[2,131],{108:269,10:Nr,60:Mr,84:On,105:Dt,109:Ce,110:tt,111:Ct,112:yr}),t(Tt,[2,126],{120:167,10:[1,284],14:Y,44:ce,60:Z,89:ue,105:Q,106:j,109:ne,111:te,114:he,115:le,116:J}),t(Tt,[2,127],{120:167,10:[1,285],14:Y,44:ce,60:Z,89:ue,105:Q,106:j,109:ne,111:te,114:he,115:le,116:J}),t(Tt,[2,114]),{31:[1,286],67:bt,82:218,116:ft,117:vt,118:nt},{6:11,7:12,8:s,9:l,10:u,11:h,20:17,22:18,23:19,24:20,25:21,26:22,27:f,32:[1,287],33:24,34:d,36:p,38:m,42:28,43:38,44:g,45:39,47:40,60:y,84:v,85:x,86:b,87:T,88:C,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L,121:S,122:I,123:M,124:P},{10:Nr,60:Mr,84:On,92:288,105:Dt,107:241,108:242,109:Ce,110:tt,111:Ct,112:yr},{10:Nr,60:Mr,84:On,92:289,105:Dt,107:241,108:242,109:Ce,110:tt,111:Ct,112:yr},t(se,[2,62]),t(F,[2,33]),t(Tt,[2,124],{106:tn}),t(Tt,[2,125],{106:tn})],defaultActions:{},parseError:o(function(et,gt){if(gt.recoverable)this.trace(et);else{var Kt=new Error(et);throw Kt.hash=gt,Kt}},"parseError"),parse:o(function(et){var gt=this,Kt=[0],ct=[],Sn=[null],me=[],Wf=this.table,we="",ki=0,o$=0,l$=0,jxe=2,c$=1,Kxe=me.slice.call(arguments,1),Yi=Object.create(this.lexer),qf={yy:{}};for(var PC in this.yy)Object.prototype.hasOwnProperty.call(this.yy,PC)&&(qf.yy[PC]=this.yy[PC]);Yi.setInput(et,qf.yy),qf.yy.lexer=Yi,qf.yy.parser=this,typeof Yi.yylloc>"u"&&(Yi.yylloc={});var BC=Yi.yylloc;me.push(BC);var Qxe=Yi.options&&Yi.options.ranges;typeof qf.yy.parseError=="function"?this.parseError=qf.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Rit(qs){Kt.length=Kt.length-2*qs,Sn.length=Sn.length-qs,me.length=me.length-qs}o(Rit,"popStack");function Zxe(){var qs;return qs=ct.pop()||Yi.lex()||c$,typeof qs!="number"&&(qs instanceof Array&&(ct=qs,qs=ct.pop()),qs=gt.symbols_[qs]||qs),qs}o(Zxe,"lex");for(var qa,FC,Yf,bo,Nit,$C,i0={},F4,tu,u$,$4;;){if(Yf=Kt[Kt.length-1],this.defaultActions[Yf]?bo=this.defaultActions[Yf]:((qa===null||typeof qa>"u")&&(qa=Zxe()),bo=Wf[Yf]&&Wf[Yf][qa]),typeof bo>"u"||!bo.length||!bo[0]){var zC="";$4=[];for(F4 in Wf[Yf])this.terminals_[F4]&&F4>jxe&&$4.push("'"+this.terminals_[F4]+"'");Yi.showPosition?zC="Parse error on line "+(ki+1)+`: -`+Yi.showPosition()+` -Expecting `+$4.join(", ")+", got '"+(this.terminals_[qa]||qa)+"'":zC="Parse error on line "+(ki+1)+": Unexpected "+(qa==c$?"end of input":"'"+(this.terminals_[qa]||qa)+"'"),this.parseError(zC,{text:Yi.match,token:this.terminals_[qa]||qa,line:Yi.yylineno,loc:BC,expected:$4})}if(bo[0]instanceof Array&&bo.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Yf+", token: "+qa);switch(bo[0]){case 1:Kt.push(qa),Sn.push(Yi.yytext),me.push(Yi.yylloc),Kt.push(bo[1]),qa=null,FC?(qa=FC,FC=null):(o$=Yi.yyleng,we=Yi.yytext,ki=Yi.yylineno,BC=Yi.yylloc,l$>0&&l$--);break;case 2:if(tu=this.productions_[bo[1]][1],i0.$=Sn[Sn.length-tu],i0._$={first_line:me[me.length-(tu||1)].first_line,last_line:me[me.length-1].last_line,first_column:me[me.length-(tu||1)].first_column,last_column:me[me.length-1].last_column},Qxe&&(i0._$.range=[me[me.length-(tu||1)].range[0],me[me.length-1].range[1]]),$C=this.performAction.apply(i0,[we,o$,ki,qf.yy,bo[1],Sn,me].concat(Kxe)),typeof $C<"u")return $C;tu&&(Kt=Kt.slice(0,-1*tu*2),Sn=Sn.slice(0,-1*tu),me=me.slice(0,-1*tu)),Kt.push(this.productions_[bo[1]][0]),Sn.push(i0.$),me.push(i0._$),u$=Wf[Kt[Kt.length-2]][Kt[Kt.length-1]],Kt.push(u$);break;case 3:return!0}}return!0},"parse")},Zn=function(){var Ur={EOF:1,parseError:o(function(gt,Kt){if(this.yy.parser)this.yy.parser.parseError(gt,Kt);else throw new Error(gt)},"parseError"),setInput:o(function(et,gt){return this.yy=gt||this.yy||{},this._input=et,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var et=this._input[0];this.yytext+=et,this.yyleng++,this.offset++,this.match+=et,this.matched+=et;var gt=et.match(/(?:\r\n?|\n).*/g);return gt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),et},"input"),unput:o(function(et){var gt=et.length,Kt=et.split(/(?:\r\n?|\n)/g);this._input=et+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-gt),this.offset-=gt;var ct=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Kt.length-1&&(this.yylineno-=Kt.length-1);var Sn=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Kt?(Kt.length===ct.length?this.yylloc.first_column:0)+ct[ct.length-Kt.length].length-Kt[0].length:this.yylloc.first_column-gt},this.options.ranges&&(this.yylloc.range=[Sn[0],Sn[0]+this.yyleng-gt]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(et){this.unput(this.match.slice(et))},"less"),pastInput:o(function(){var et=this.matched.substr(0,this.matched.length-this.match.length);return(et.length>20?"...":"")+et.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var et=this.match;return et.length<20&&(et+=this._input.substr(0,20-et.length)),(et.substr(0,20)+(et.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var et=this.pastInput(),gt=new Array(et.length+1).join("-");return et+this.upcomingInput()+` -`+gt+"^"},"showPosition"),test_match:o(function(et,gt){var Kt,ct,Sn;if(this.options.backtrack_lexer&&(Sn={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Sn.yylloc.range=this.yylloc.range.slice(0))),ct=et[0].match(/(?:\r\n?|\n).*/g),ct&&(this.yylineno+=ct.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ct?ct[ct.length-1].length-ct[ct.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+et[0].length},this.yytext+=et[0],this.match+=et[0],this.matches=et,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(et[0].length),this.matched+=et[0],Kt=this.performAction.call(this,this.yy,this,gt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Kt)return Kt;if(this._backtrack){for(var me in Sn)this[me]=Sn[me];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var et,gt,Kt,ct;this._more||(this.yytext="",this.match="");for(var Sn=this._currentRules(),me=0;megt[0].length)){if(gt=Kt,ct=me,this.options.backtrack_lexer){if(et=this.test_match(Kt,Sn[me]),et!==!1)return et;if(this._backtrack){gt=!1;continue}else return!1}else if(!this.options.flex)break}return gt?(et=this.test_match(gt,Sn[ct]),et!==!1?et:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var gt=this.next();return gt||this.lex()},"lex"),begin:o(function(gt){this.conditionStack.push(gt)},"begin"),popState:o(function(){var gt=this.conditionStack.length-1;return gt>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(gt){return gt=this.conditionStack.length-1-Math.abs(gt||0),gt>=0?this.conditionStack[gt]:"INITIAL"},"topState"),pushState:o(function(gt){this.begin(gt)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:o(function(gt,Kt,ct,Sn){var me=Sn;switch(ct){case 0:return this.begin("acc_title"),34;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),36;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),Kt.yytext="",40;break;case 8:return this.pushState("shapeDataStr"),40;break;case 9:return this.popState(),40;break;case 10:let Wf=/\n\s*/g;return Kt.yytext=Kt.yytext.replace(Wf,"
    "),40;break;case 11:return 40;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 88;case 35:return gt.lex.firstGraph()&&this.begin("dir"),12;break;case 36:return gt.lex.firstGraph()&&this.begin("dir"),12;break;case 37:return gt.lex.firstGraph()&&this.begin("dir"),12;break;case 38:return 27;case 39:return 32;case 40:return 98;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return this.popState(),13;break;case 45:return this.popState(),14;break;case 46:return this.popState(),14;break;case 47:return this.popState(),14;break;case 48:return this.popState(),14;break;case 49:return this.popState(),14;break;case 50:return this.popState(),14;break;case 51:return this.popState(),14;break;case 52:return this.popState(),14;break;case 53:return this.popState(),14;break;case 54:return this.popState(),14;break;case 55:return 121;case 56:return 122;case 57:return 123;case 58:return 124;case 59:return 78;case 60:return 105;case 61:return 111;case 62:return 46;case 63:return 60;case 64:return 44;case 65:return 8;case 66:return 106;case 67:return 115;case 68:return this.popState(),77;break;case 69:return this.pushState("edgeText"),75;break;case 70:return 119;case 71:return this.popState(),77;break;case 72:return this.pushState("thickEdgeText"),75;break;case 73:return 119;case 74:return this.popState(),77;break;case 75:return this.pushState("dottedEdgeText"),75;break;case 76:return 119;case 77:return 77;case 78:return this.popState(),53;break;case 79:return"TEXT";case 80:return this.pushState("ellipseText"),52;break;case 81:return this.popState(),55;break;case 82:return this.pushState("text"),54;break;case 83:return this.popState(),57;break;case 84:return this.pushState("text"),56;break;case 85:return 58;case 86:return this.pushState("text"),67;break;case 87:return this.popState(),64;break;case 88:return this.pushState("text"),63;break;case 89:return this.popState(),49;break;case 90:return this.pushState("text"),48;break;case 91:return this.popState(),69;break;case 92:return this.popState(),71;break;case 93:return 117;case 94:return this.pushState("trapText"),68;break;case 95:return this.pushState("trapText"),70;break;case 96:return 118;case 97:return 67;case 98:return 90;case 99:return"SEP";case 100:return 89;case 101:return 115;case 102:return 111;case 103:return 44;case 104:return 109;case 105:return 114;case 106:return 116;case 107:return this.popState(),62;break;case 108:return this.pushState("text"),62;break;case 109:return this.popState(),51;break;case 110:return this.pushState("text"),50;break;case 111:return this.popState(),31;break;case 112:return this.pushState("text"),29;break;case 113:return this.popState(),66;break;case 114:return this.pushState("text"),65;break;case 115:return"TEXT";case 116:return"QUOTE";case 117:return 9;case 118:return 10;case 119:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},shapeData:{rules:[8,11,12,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},callbackargs:{rules:[17,18,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},callbackname:{rules:[14,15,16,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},href:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},click:{rules:[21,24,33,34,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},dottedEdgeText:{rules:[21,24,74,76,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},thickEdgeText:{rules:[21,24,71,73,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},edgeText:{rules:[21,24,68,70,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},trapText:{rules:[21,24,77,80,82,84,88,90,91,92,93,94,95,108,110,112,114],inclusive:!1},ellipseText:{rules:[21,24,77,78,79,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},text:{rules:[21,24,77,80,81,82,83,84,87,88,89,90,94,95,107,108,109,110,111,112,113,114,115],inclusive:!1},vertex:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_descr:{rules:[3,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_title:{rules:[1,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},md_string:{rules:[19,20,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},string:{rules:[21,22,23,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,71,72,74,75,77,80,82,84,85,86,88,90,94,95,96,97,98,99,100,101,102,103,104,105,106,108,110,112,114,116,117,118,119],inclusive:!0}}};return Ur}();Mi.lexer=Zn;function En(){this.yy={}}return o(En,"Parser"),En.prototype=Mi,Mi.Parser=En,new En}();JR.parser=JR;eN=JR});var ise,ase,sse=N(()=>{"use strict";nse();ise=Object.assign({},eN);ise.parse=t=>{let e=t.replace(/}\s*\n/g,`} -`);return eN.parse(e)};ase=ise});var Lc,Vm=N(()=>{"use strict";Lc=o(()=>` + data=`,v.height,` +Parent cluster`,i.height),e.setNode(i.id,v),e.parent(y)||(X.trace("Setting parent",y,i.id),e.setParent(y,i.id,v))}if(X.info("(Insert) Node XXX"+y+": "+JSON.stringify(e.node(y))),x?.clusterNode){X.info("Cluster identified XBX",y,x.width,e.node(y));let{ranksep:v,nodesep:b}=e.graph();x.graph.setGraph({...x.graph.graph(),ranksep:v+25,nodesep:b});let T=await lse(d,x.graph,r,n,e.node(y),a),S=T.elem;Xe(x,S),x.diff=T.diff||0,X.info("New compound node after recursive render XAX",y,"width",x.width,"height",x.height),Aee(S,x)}else e.children(y).length>0?(X.trace("Cluster - the non recursive path XBX",y,x.id,x,x.width,"Graph:",e),X.trace(Vm(x.id,e)),Tr.set(x.id,{id:Vm(x.id,e),node:x})):(X.trace("Node - the non recursive path XAX",y,d,e.node(y),s),await wm(d,e.node(y),{config:a,dir:s}))})),await o(async()=>{let y=e.edges().map(async function(x){let v=e.edge(x.v,x.w,x.name);X.info("Edge "+x.v+" -> "+x.w+": "+JSON.stringify(x)),X.info("Edge "+x.v+" -> "+x.w+": ",x," ",JSON.stringify(e.edge(x))),X.info("Fix",Tr,"ids:",x.v,x.w,"Translating: ",Tr.get(x.v),Tr.get(x.w)),await pw(f,v)});await Promise.all(y)},"processEdges")(),X.info("Graph before layout:",JSON.stringify(qo(e))),X.info("############################################# XXX"),X.info("### Layout ### XXX"),X.info("############################################# XXX"),V2(e),X.info("Graph after layout:",JSON.stringify(qo(e)));let m=0,{subGraphTitleTotalMargin:g}=Iu(a);return await Promise.all(sse(e).map(async function(y){let x=e.node(y);if(X.info("Position XBX => "+y+": ("+x.x,","+x.y,") width: ",x.width," height: ",x.height),x?.clusterNode)x.y+=g,X.info("A tainted cluster node XBX1",y,x.id,x.width,x.height,x.x,x.y,e.parent(y)),Tr.get(x.id).node=x,I2(x);else if(e.children(y).length>0){X.info("A pure cluster node XBX1",y,x.id,x.x,x.y,x.width,x.height,e.parent(y)),x.height+=g,e.node(x.parentId);let v=x?.padding/2||0,b=x?.labelBBox?.height||0,T=b-v||0;X.debug("OffsetY",T,"labelHeight",b,"halfPadding",v),await Tm(u,x),Tr.get(x.id).node=x}else{let v=e.node(x.parentId);x.y+=g/2,X.info("A regular node XBX1 - using the padding",x.id,"parent",x.parentId,x.width,x.height,x.x,x.y,"offsetY",x.offsetY,"parent",v,v?.offsetY,x),I2(x)}})),e.edges().forEach(function(y){let x=e.edge(y);X.info("Edge "+y.v+" -> "+y.w+": "+JSON.stringify(x),x),x.points.forEach(S=>S.y+=g/2);let v=e.node(y.v);var b=e.node(y.w);let T=gw(h,x,Tr,r,v,b,n);mw(x,T)}),e.nodes().forEach(function(y){let x=e.node(y);X.info(y,x.type,x.diff),x.isGroup&&(m=x.diff)}),X.warn("Returning from recursive render XAX",l,m),{elem:l,diff:m}},"recursiveRender"),FPe=o(async(t,e)=>{let r=new sn({multigraph:!0,compound:!0}).setGraph({rankdir:t.direction,nodesep:t.config?.nodeSpacing||t.config?.flowchart?.nodeSpacing||t.nodeSpacing,ranksep:t.config?.rankSpacing||t.config?.flowchart?.rankSpacing||t.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),n=e.select("g");yw(n,t.markers,t.type,t.diagramId),_ee(),Cee(),bee(),ese(),t.nodes.forEach(a=>{r.setNode(a.id,{...a}),a.parentId&&r.setParent(a.id,a.parentId)}),X.debug("Edges:",t.edges),t.edges.forEach(a=>{if(a.start===a.end){let s=a.start,l=s+"---"+s+"---1",u=s+"---"+s+"---2",h=r.node(s);r.setNode(l,{domId:l,id:l,parentId:h.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),r.setParent(l,h.parentId),r.setNode(u,{domId:u,id:u,parentId:h.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),r.setParent(u,h.parentId);let f=structuredClone(a),d=structuredClone(a),p=structuredClone(a);f.label="",f.arrowTypeEnd="none",f.id=s+"-cyclic-special-1",d.arrowTypeStart="none",d.arrowTypeEnd="none",d.id=s+"-cyclic-special-mid",p.label="",h.isGroup&&(f.fromCluster=s,p.toCluster=s),p.id=s+"-cyclic-special-2",p.arrowTypeStart="none",r.setEdge(s,l,f,s+"-cyclic-special-0"),r.setEdge(l,u,d,s+"-cyclic-special-1"),r.setEdge(u,s,p,s+"-cyct.length)&&(e=t.length);for(var r=0,n=new Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},"n"),e:o(function(u){throw u},"e"),f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,s=!1,l;return{s:o(function(){r=r.call(t)},"s"),n:o(function(){var u=r.next();return a=u.done,u},"n"),e:o(function(u){s=!0,l=u},"e"),f:o(function(){try{!a&&r.return!=null&&r.return()}finally{if(s)throw l}},"f")}}function dBe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function pBe(t,e){return e={exports:{}},t(e,e.exports),e.exports}function TBe(t){for(var e=t.length;e--&&bBe.test(t.charAt(e)););return e}function EBe(t){return t&&t.slice(0,wBe(t)+1).replace(kBe,"")}function DBe(t){var e=ABe.call(t,U2),r=t[U2];try{t[U2]=void 0;var n=!0}catch{}var i=_Be.call(t);return n&&(e?t[U2]=r:delete t[U2]),i}function MBe(t){return NBe.call(t)}function BBe(t){return t==null?t===void 0?PBe:OBe:pse&&pse in Object(t)?LBe(t):IBe(t)}function FBe(t){return t!=null&&typeof t=="object"}function zBe(t){return typeof t=="symbol"||$Be(t)&&zoe(t)==GBe}function qBe(t){if(typeof t=="number")return t;if(vx(t))return mse;if(mp(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=mp(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=SBe(t);var r=UBe.test(t);return r||HBe.test(t)?WBe(t.slice(2),r?2:8):VBe.test(t)?mse:+t}function KBe(t,e,r){var n,i,a,s,l,u,h=0,f=!1,d=!1,p=!0;if(typeof t!="function")throw new TypeError(YBe);e=gse(e)||0,mp(r)&&(f=!!r.leading,d="maxWait"in r,a=d?XBe(gse(r.maxWait)||0,e):a,p="trailing"in r?!!r.trailing:p);function m(E){var _=n,A=i;return n=i=void 0,h=E,s=t.apply(A,_),s}o(m,"invokeFunc");function g(E){return h=E,l=setTimeout(v,e),f?m(E):s}o(g,"leadingEdge");function y(E){var _=E-u,A=E-h,D=e-_;return d?jBe(D,a-A):D}o(y,"remainingWait");function x(E){var _=E-u,A=E-h;return u===void 0||_>=e||_<0||d&&A>=a}o(x,"shouldInvoke");function v(){var E=sN();if(x(E))return b(E);l=setTimeout(v,y(E))}o(v,"timerExpired");function b(E){return l=void 0,p&&n?m(E):(n=i=void 0,s)}o(b,"trailingEdge");function T(){l!==void 0&&clearTimeout(l),h=0,n=u=i=l=void 0}o(T,"cancel");function S(){return l===void 0?s:b(sN())}o(S,"flush");function w(){var E=sN(),_=x(E);if(n=arguments,i=this,u=E,_){if(l===void 0)return g(u);if(d)return clearTimeout(l),l=setTimeout(v,e),m(u)}return l===void 0&&(l=setTimeout(v,e)),s}return o(w,"debounced"),w.cancel=T,w.flush=S,w}function lE(t,e,r,n,i,a){var s;return li(t)?s=t:s=ng[t]||ng.euclidean,e===0&&li(t)?s(i,a):s(e,r,n,i,a)}function V$e(t,e){if(cE(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||vx(t)?!0:z$e.test(t)||!G$e.test(t)||e!=null&&t in Object(e)}function X$e(t){if(!mp(t))return!1;var e=zoe(t);return e==W$e||e==q$e||e==H$e||e==Y$e}function Q$e(t){return!!Pse&&Pse in t}function tGe(t){if(t!=null){try{return eGe.call(t)}catch{}try{return t+""}catch{}}return""}function uGe(t){if(!mp(t)||Z$e(t))return!1;var e=j$e(t)?cGe:iGe;return e.test(rGe(t))}function fGe(t,e){return t?.[e]}function pGe(t,e){var r=dGe(t,e);return hGe(r)?r:void 0}function gGe(){this.__data__=hx?hx(null):{},this.size=0}function vGe(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function kGe(t){var e=this.__data__;if(hx){var r=e[t];return r===bGe?void 0:r}return wGe.call(e,t)?e[t]:void 0}function AGe(t){var e=this.__data__;return hx?e[t]!==void 0:CGe.call(e,t)}function LGe(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=hx&&e===void 0?DGe:e,this}function og(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e-1}function HGe(t,e){var r=this.__data__,n=uE(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function lg(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e-1&&t%1==0&&t0;){var f=i.shift();e(f),a.add(f.id()),l&&n(i,a,f)}return t}function ble(t,e,r){if(r.isParent())for(var n=r._private.children,i=0;i0&&arguments[0]!==void 0?arguments[0]:_Ve,e=arguments.length>1?arguments[1]:void 0,r=0;r0?k=C:R=C;while(Math.abs(L)>s&&++I=a?b(O,I):M===0?I:S(O,R,R+h)}o(w,"getTForX");var E=!1;function _(){E=!0,(t!==e||r!==n)&&T()}o(_,"precompute");var A=o(function(R){return E||_(),t===e&&r===n?R:R===0?0:R===1?1:x(w(R),e,n)},"f");A.getControlPoints=function(){return[{x:t,y:e},{x:r,y:n}]};var D="generateBezier("+[t,e,r,n]+")";return A.toString=function(){return D},A}function toe(t,e,r,n,i){if(n===1||e===r)return r;var a=i(e,r,n);return t==null||((t.roundValue||t.color)&&(a=Math.round(a)),t.min!==void 0&&(a=Math.max(a,t.min)),t.max!==void 0&&(a=Math.min(a,t.max))),a}function roe(t,e){return t.pfValue!=null||t.value!=null?t.pfValue!=null&&(e==null||e.type.units!=="%")?t.pfValue:t.value:t}function Wm(t,e,r,n,i){var a=i!=null?i.type:null;r<0?r=0:r>1&&(r=1);var s=roe(t,i),l=roe(e,i);if(At(s)&&At(l))return toe(a,s,l,r,n);if(kn(s)&&kn(l)){for(var u=[],h=0;h0?(m==="spring"&&g.push(s.duration),s.easingImpl=zk[m].apply(null,g)):s.easingImpl=zk[m]}var y=s.easingImpl,x;if(s.duration===0?x=1:x=(r-u)/s.duration,s.applying&&(x=s.progress),x<0?x=0:x>1&&(x=1),s.delay==null){var v=s.startPosition,b=s.position;if(b&&i&&!t.locked()){var T={};Y2(v.x,b.x)&&(T.x=Wm(v.x,b.x,x,y)),Y2(v.y,b.y)&&(T.y=Wm(v.y,b.y,x,y)),t.position(T)}var S=s.startPan,w=s.pan,E=a.pan,_=w!=null&&n;_&&(Y2(S.x,w.x)&&(E.x=Wm(S.x,w.x,x,y)),Y2(S.y,w.y)&&(E.y=Wm(S.y,w.y,x,y)),t.emit("pan"));var A=s.startZoom,D=s.zoom,O=D!=null&&n;O&&(Y2(A,D)&&(a.zoom=cx(a.minZoom,Wm(A,D,x,y),a.maxZoom)),t.emit("zoom")),(_||O)&&t.emit("viewport");var R=s.style;if(R&&R.length>0&&i){for(var k=0;k=0;_--){var A=E[_];A()}E.splice(0,E.length)},"callbacks"),b=m.length-1;b>=0;b--){var T=m[b],S=T._private;if(S.stopped){m.splice(b,1),S.hooked=!1,S.playing=!1,S.started=!1,v(S.frames);continue}!S.playing&&!S.applying||(S.playing&&S.applying&&(S.applying=!1),S.started||VVe(f,T,t),zVe(f,T,t,d),S.applying&&(S.applying=!1),v(S.frames),S.step!=null&&S.step(t),T.completed()&&(m.splice(b,1),S.hooked=!1,S.playing=!1,S.started=!1,v(S.completes)),y=!0)}return!d&&m.length===0&&g.length===0&&n.push(f),y}o(i,"stepOne");for(var a=!1,s=0;s0?e.notify("draw",r):e.notify("draw")),r.unmerge(n),e.emit("step")}function Ble(t){this.options=ir({},KVe,QVe,t)}function Fle(t){this.options=ir({},ZVe,t)}function $le(t){this.options=ir({},JVe,t)}function vE(t){this.options=ir({},eUe,t),this.options.layout=this;var e=this.options.eles.nodes(),r=this.options.eles.edges(),n=r.filter(function(i){var a=i.source().data("id"),s=i.target().data("id"),l=e.some(function(h){return h.data("id")===a}),u=e.some(function(h){return h.data("id")===s});return!l||!u});this.options.eles=this.options.eles.not(n)}function zle(t){this.options=ir({},yUe,t)}function nM(t){this.options=ir({},vUe,t)}function Vle(t){this.options=ir({},xUe,t)}function Ule(t){this.options=ir({},bUe,t)}function Hle(t){this.options=t,this.notifications=0}function Yle(t,e){e.radius===0?t.lineTo(e.cx,e.cy):t.arc(e.cx,e.cy,e.radius,e.startAngle,e.endAngle,e.counterClockwise)}function aM(t,e,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;return n===0||e.radius===0?{cx:e.x,cy:e.y,radius:0,startX:e.x,startY:e.y,stopX:e.x,stopY:e.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(kUe(t,e,r,n,i),{cx:RN,cy:NN,radius:fp,startX:Wle,startY:qle,stopX:MN,stopY:IN,startAngle:Rc.ang+Math.PI/2*dp,endAngle:Yo.ang-Math.PI/2*dp,counterClockwise:Hk})}function Xle(t){var e=[];if(t!=null){for(var r=0;r5&&arguments[5]!==void 0?arguments[5]:5,s=arguments.length>6?arguments[6]:void 0;t.beginPath(),t.moveTo(e+a,r),t.lineTo(e+n-a,r),t.quadraticCurveTo(e+n,r,e+n,r+a),t.lineTo(e+n,r+i-a),t.quadraticCurveTo(e+n,r+i,e+n-a,r+i),t.lineTo(e+a,r+i),t.quadraticCurveTo(e,r+i,e,r+i-a),t.lineTo(e,r+a),t.quadraticCurveTo(e,r,e+a,r),t.closePath(),s?t.stroke():t.fill()}function woe(t,e,r){var n=t.createShader(e);if(t.shaderSource(n,r),t.compileShader(n),!t.getShaderParameter(n,t.COMPILE_STATUS))throw new Error(t.getShaderInfoLog(n));return n}function uHe(t,e,r){var n=woe(t,t.VERTEX_SHADER,e),i=woe(t,t.FRAGMENT_SHADER,r),a=t.createProgram();if(t.attachShader(a,n),t.attachShader(a,i),t.linkProgram(a),!t.getProgramParameter(a,t.LINK_STATUS))throw new Error("Could not initialize shaders");return a}function hHe(t,e,r){r===void 0&&(r=e);var n=t.makeOffscreenCanvas(e,r),i=n.context=n.getContext("2d");return n.clear=function(){return i.clearRect(0,0,n.width,n.height)},n.clear(),n}function lM(t){var e=t.pixelRatio,r=t.cy.zoom(),n=t.cy.pan();return{zoom:r*e,pan:{x:n.x*e,y:n.y*e}}}function xN(t,e,r,n,i){var a=n*r+e.x,s=i*r+e.y;return s=Math.round(t.canvasHeight-s),[a,s]}function Ok(t,e,r){var n=t[0]/255,i=t[1]/255,a=t[2]/255,s=e,l=r||new Array(4);return l[0]=n*s,l[1]=i*s,l[2]=a*s,l[3]=s,l}function Pk(t,e){var r=e||new Array(4);return r[0]=(t>>0&255)/255,r[1]=(t>>8&255)/255,r[2]=(t>>16&255)/255,r[3]=(t>>24&255)/255,r}function fHe(t){return t[0]+(t[1]<<8)+(t[2]<<16)+(t[3]<<24)}function dHe(t,e){var r=t.createTexture();return r.buffer=function(n){t.bindTexture(t.TEXTURE_2D,r),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR_MIPMAP_NEAREST),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,n),t.generateMipmap(t.TEXTURE_2D),t.bindTexture(t.TEXTURE_2D,null)},r.deleteTexture=function(){t.deleteTexture(r)},r}function oce(t,e){switch(e){case"float":return[1,t.FLOAT,4];case"vec2":return[2,t.FLOAT,4];case"vec3":return[3,t.FLOAT,4];case"vec4":return[4,t.FLOAT,4];case"int":return[1,t.INT,4];case"ivec2":return[2,t.INT,4]}}function lce(t,e,r){switch(e){case t.FLOAT:return new Float32Array(r);case t.INT:return new Int32Array(r)}}function pHe(t,e,r,n,i,a){switch(e){case t.FLOAT:return new Float32Array(r.buffer,a*n,i);case t.INT:return new Int32Array(r.buffer,a*n,i)}}function mHe(t,e,r,n){var i=oce(t,e),a=Di(i,2),s=a[0],l=a[1],u=lce(t,l,n),h=t.createBuffer();return t.bindBuffer(t.ARRAY_BUFFER,h),t.bufferData(t.ARRAY_BUFFER,u,t.STATIC_DRAW),l===t.FLOAT?t.vertexAttribPointer(r,s,l,!1,0,0):l===t.INT&&t.vertexAttribIPointer(r,s,l,0,0),t.enableVertexAttribArray(r),t.bindBuffer(t.ARRAY_BUFFER,null),h}function co(t,e,r,n){var i=oce(t,r),a=Di(i,3),s=a[0],l=a[1],u=a[2],h=lce(t,l,e*s),f=s*u,d=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,d),t.bufferData(t.ARRAY_BUFFER,e*f,t.DYNAMIC_DRAW),t.enableVertexAttribArray(n),l===t.FLOAT?t.vertexAttribPointer(n,s,l,!1,f,0):l===t.INT&&t.vertexAttribIPointer(n,s,l,f,0),t.vertexAttribDivisor(n,1),t.bindBuffer(t.ARRAY_BUFFER,null);for(var p=new Array(e),m=0;mrce?(AHe(t),e.call(t,a)):(_He(t),dce(t,a,ix.SCREEN)))}}{var r=t.matchCanvasSize;t.matchCanvasSize=function(a){r.call(t,a),t.pickingFrameBuffer.setFramebufferAttachmentSizes(t.canvasWidth,t.canvasHeight),t.pickingFrameBuffer.needsDraw=!0}}t.findNearestElements=function(a,s,l,u){return IHe(t,a,s)};{var n=t.invalidateCachedZSortedEles;t.invalidateCachedZSortedEles=function(){n.call(t),t.pickingFrameBuffer.needsDraw=!0}}{var i=t.notify;t.notify=function(a,s){i.call(t,a,s),a==="viewport"||a==="bounds"?t.pickingFrameBuffer.needsDraw=!0:a==="background"&&t.eleDrawing.invalidate(s,{type:"node-body"})}}}function AHe(t){var e=t.data.contexts[t.WEBGL];e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT)}function _He(t){var e=o(function(n){n.save(),n.setTransform(1,0,0,1,0,0),n.clearRect(0,0,t.canvasWidth,t.canvasHeight),n.restore()},"clear");e(t.data.contexts[t.NODE]),e(t.data.contexts[t.DRAG])}function DHe(t){var e=t.canvasWidth,r=t.canvasHeight,n=lM(t),i=n.pan,a=n.zoom,s=nx();nE(s,s,[i.x,i.y]),cM(s,s,[a,a]);var l=nx();vHe(l,e,r);var u=nx();return yHe(u,l,s),u}function fce(t,e){var r=t.canvasWidth,n=t.canvasHeight,i=lM(t),a=i.pan,s=i.zoom;e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,r,n),e.translate(a.x,a.y),e.scale(s,s)}function LHe(t,e){t.drawSelectionRectangle(e,function(r){return fce(t,r)})}function RHe(t){var e=t.data.contexts[t.NODE];e.save(),fce(t,e),e.strokeStyle="rgba(0, 0, 0, 0.3)",e.beginPath(),e.moveTo(-1e3,0),e.lineTo(1e3,0),e.stroke(),e.beginPath(),e.moveTo(0,-1e3),e.lineTo(0,1e3),e.stroke(),e.restore()}function NHe(t){var e=o(function(i,a,s){for(var l=i.atlasManager.getRenderTypeOpts(a),u=t.data.contexts[t.NODE],h=.125,f=l.atlasCollection.atlases,d=0;d=0&&k.add(I)}return k}function IHe(t,e,r){var n=MHe(t,e,r),i=t.getCachedZSortedEles(),a,s,l=uo(n),u;try{for(l.s();!(u=l.n()).done;){var h=u.value,f=i[h];if(!a&&f.isNode()&&(a=f),!s&&f.isEdge()&&(s=f),a&&s)break}}catch(d){l.e(d)}finally{l.f()}return[a,s].filter(Boolean)}function dce(t,e,r){var n,i;t.webglDebug&&(i=[],n=performance.now());var a=t.eleDrawing,s=0;if(r.screen&&t.data.canvasNeedsRedraw[t.SELECT_BOX]&&LHe(t,e),t.data.canvasNeedsRedraw[t.NODE]||r.picking){var l=o(function(k,L){L+=1,k.isNode()?(a.drawTexture(k,L,"node-underlay"),a.drawTexture(k,L,"node-body"),a.drawTexture(k,L,"node-label"),a.drawTexture(k,L,"node-overlay")):(a.drawEdgeLine(k,L),a.drawEdgeArrow(k,L,"source"),a.drawEdgeArrow(k,L,"target"),a.drawTexture(k,L,"edge-label"))},"draw"),u=t.data.contexts[t.WEBGL];r.screen?(u.clearColor(0,0,0,0),u.enable(u.BLEND),u.blendFunc(u.ONE,u.ONE_MINUS_SRC_ALPHA)):u.disable(u.BLEND),u.clear(u.COLOR_BUFFER_BIT|u.DEPTH_BUFFER_BIT),u.viewport(0,0,u.canvas.width,u.canvas.height);var h=DHe(t),f=t.getCachedZSortedEles();if(s=f.length,a.startFrame(h,i,r),r.screen){for(var d=0;d{"use strict";o(zi,"_typeof");o(kf,"_classCallCheck");o(hse,"_defineProperties");o(Ef,"_createClass");o(Loe,"_defineProperty$1");o(Di,"_slicedToArray");o(Roe,"_toConsumableArray");o($Pe,"_arrayWithoutHoles");o(GPe,"_arrayWithHoles");o(zPe,"_iterableToArray");o(VPe,"_iterableToArrayLimit");o($N,"_unsupportedIterableToArray");o(wN,"_arrayLikeToArray");o(UPe,"_nonIterableSpread");o(HPe,"_nonIterableRest");o(uo,"_createForOfIteratorHelper");$i=typeof window>"u"?null:window,fse=$i?$i.navigator:null;$i&&$i.document;WPe=zi(""),Noe=zi({}),qPe=zi(function(){}),YPe=typeof HTMLElement>"u"?"undefined":zi(HTMLElement),gx=o(function(e){return e&&e.instanceString&&li(e.instanceString)?e.instanceString():null},"instanceStr"),Jt=o(function(e){return e!=null&&zi(e)==WPe},"string"),li=o(function(e){return e!=null&&zi(e)===qPe},"fn"),kn=o(function(e){return!ho(e)&&(Array.isArray?Array.isArray(e):e!=null&&e instanceof Array)},"array"),Vr=o(function(e){return e!=null&&zi(e)===Noe&&!kn(e)&&e.constructor===Object},"plainObject"),XPe=o(function(e){return e!=null&&zi(e)===Noe},"object"),At=o(function(e){return e!=null&&zi(e)===zi(1)&&!isNaN(e)},"number"),jPe=o(function(e){return At(e)&&Math.floor(e)===e},"integer"),qk=o(function(e){if(YPe!=="undefined")return e!=null&&e instanceof HTMLElement},"htmlElement"),ho=o(function(e){return yx(e)||Moe(e)},"elementOrCollection"),yx=o(function(e){return gx(e)==="collection"&&e._private.single},"element"),Moe=o(function(e){return gx(e)==="collection"&&!e._private.single},"collection"),GN=o(function(e){return gx(e)==="core"},"core"),Ioe=o(function(e){return gx(e)==="stylesheet"},"stylesheet"),KPe=o(function(e){return gx(e)==="event"},"event"),yf=o(function(e){return e==null?!0:!!(e===""||e.match(/^\s+$/))},"emptyString"),QPe=o(function(e){return typeof HTMLElement>"u"?!1:e instanceof HTMLElement},"domElement"),ZPe=o(function(e){return Vr(e)&&At(e.x1)&&At(e.x2)&&At(e.y1)&&At(e.y2)},"boundingBox"),JPe=o(function(e){return XPe(e)&&li(e.then)},"promise"),eBe=o(function(){return fse&&fse.userAgent.match(/msie|trident|edge/i)},"ms"),ax=o(function(e,r){r||(r=o(function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var a=[],s=0;sr?1:0},"ascending"),oBe=o(function(e,r){return-1*Poe(e,r)},"descending"),ir=Object.assign!=null?Object.assign.bind(Object):function(t){for(var e=arguments,r=1;r1&&(x-=1),x<1/6?g+(y-g)*6*x:x<1/2?y:x<2/3?g+(y-g)*(2/3-x)*6:g}o(f,"hue2rgb");var d=new RegExp("^"+nBe+"$").exec(e);if(d){if(n=parseInt(d[1]),n<0?n=(360- -1*n%360)%360:n>360&&(n=n%360),n/=360,i=parseFloat(d[2]),i<0||i>100||(i=i/100,a=parseFloat(d[3]),a<0||a>100)||(a=a/100,s=d[4],s!==void 0&&(s=parseFloat(s),s<0||s>1)))return;if(i===0)l=u=h=Math.round(a*255);else{var p=a<.5?a*(1+i):a+i-a*i,m=2*a-p;l=Math.round(255*f(m,p,n+1/3)),u=Math.round(255*f(m,p,n)),h=Math.round(255*f(m,p,n-1/3))}r=[l,u,h,s]}return r},"hsl2tuple"),uBe=o(function(e){var r,n=new RegExp("^"+tBe+"$").exec(e);if(n){r=[];for(var i=[],a=1;a<=3;a++){var s=n[a];if(s[s.length-1]==="%"&&(i[a]=!0),s=parseFloat(s),i[a]&&(s=s/100*255),s<0||s>255)return;r.push(Math.floor(s))}var l=i[1]||i[2]||i[3],u=i[1]&&i[2]&&i[3];if(l&&!u)return;var h=n[4];if(h!==void 0){if(h=parseFloat(h),h<0||h>1)return;r.push(h)}}return r},"rgb2tuple"),hBe=o(function(e){return fBe[e.toLowerCase()]},"colorname2tuple"),Boe=o(function(e){return(kn(e)?e:null)||hBe(e)||lBe(e)||uBe(e)||cBe(e)},"color2tuple"),fBe={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Foe=o(function(e){for(var r=e.map,n=e.keys,i=n.length,a=0;a1&&arguments[1]!==void 0?arguments[1]:Xm,n=r,i;i=e.next(),!i.done;)n=n*Uoe+i.value|0;return n},"hashIterableInts"),sx=o(function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xm;return r*Uoe+e|0},"hashInt"),ox=o(function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q2;return(r<<5)+r+e|0},"hashIntAlt"),ZBe=o(function(e,r){return e*2097152+r},"combineHashes"),hf=o(function(e){return e[0]*2097152+e[1]},"combineHashesArray"),kk=o(function(e,r){return[sx(e[0],r[0]),ox(e[1],r[1])]},"hashArrays"),JBe=o(function(e,r){var n={value:0,done:!1},i=0,a=e.length,s={next:o(function(){return i=0&&!(e[i]===r&&(e.splice(i,1),n));i--);},"removeFromArray"),HN=o(function(e){e.splice(0,e.length)},"clearArray"),sFe=o(function(e,r){for(var n=0;n"u"?"undefined":zi(Set))!==lFe?Set:cFe,sE=o(function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0||r===void 0||!GN(e)){oi("An element must have a core reference and parameters set");return}var i=r.group;if(i==null&&(r.data&&r.data.source!=null&&r.data.target!=null?i="edges":i="nodes"),i!=="nodes"&&i!=="edges"){oi("An element must be of type `nodes` or `edges`; you specified `"+i+"`");return}this.length=1,this[0]=this;var a=this._private={cy:e,single:!0,data:r.data||{},position:r.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:i,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!r.selected,selectable:r.selectable===void 0?!0:!!r.selectable,locked:!!r.locked,grabbed:!1,grabbable:r.grabbable===void 0?!0:!!r.grabbable,pannable:r.pannable===void 0?i==="edges":!!r.pannable,active:!1,classes:new ag,animation:{current:[],queue:[]},rscratch:{},scratch:r.scratch||{},edges:[],children:[],parent:r.parent&&r.parent.isNode()?r.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(a.position.x==null&&(a.position.x=0),a.position.y==null&&(a.position.y=0),r.renderedPosition){var s=r.renderedPosition,l=e.pan(),u=e.zoom();a.position={x:(s.x-l.x)/u,y:(s.y-l.y)/u}}var h=[];kn(r.classes)?h=r.classes:Jt(r.classes)&&(h=r.classes.split(/\s+/));for(var f=0,d=h.length;fb?1:0},"defaultCmp"),f=o(function(v,b,T,S,w){var E;if(T==null&&(T=0),w==null&&(w=n),T<0)throw new Error("lo must be non-negative");for(S==null&&(S=v.length);TO;0<=O?D++:D--)A.push(D);return A}.apply(this).reverse(),_=[],S=0,w=E.length;SR;0<=R?++A:--A)k.push(s(v,T));return k},"nsmallest"),y=o(function(v,b,T,S){var w,E,_;for(S==null&&(S=n),w=v[T];T>b;){if(_=T-1>>1,E=v[_],S(w,E)<0){v[T]=E,T=_;continue}break}return v[T]=w},"_siftdown"),x=o(function(v,b,T){var S,w,E,_,A;for(T==null&&(T=n),w=v.length,A=b,E=v[b],S=2*b+1;S0;){var E=b.pop(),_=x(E),A=E.id();if(p[A]=_,_!==1/0)for(var D=E.neighborhood().intersect(g),O=0;O0)for(B.unshift(P);d[G];){var $=d[G];B.unshift($.edge),B.unshift($.node),F=$.node,G=F.id()}return l.spawn(B)},"pathTo")}},"dijkstra")},dFe={kruskal:o(function(e){e=e||function(T){return 1};for(var r=this.byGroup(),n=r.nodes,i=r.edges,a=n.length,s=new Array(a),l=n,u=o(function(S){for(var w=0;w0;){if(w(),_++,S===f){for(var A=[],D=a,O=f,R=v[O];A.unshift(D),R!=null&&A.unshift(R),D=x[O],D!=null;)O=D.id(),R=v[O];return{found:!0,distance:d[S],path:this.spawn(A),steps:_}}m[S]=!0;for(var k=T._private.edges,L=0;LR&&(g[O]=R,b[O]=D,T[O]=w),!a){var k=D*f+A;!a&&g[k]>R&&(g[k]=R,b[k]=A,T[k]=w)}}}for(var L=0;L1&&arguments[1]!==void 0?arguments[1]:s,ve=T(W),Pe=[],qe=ve;;){if(qe==null)return r.spawn();var Ge=b(qe),Ne=Ge.edge,Me=Ge.pred;if(Pe.unshift(qe[0]),qe.same(Oe)&&Pe.length>0)break;Ne!=null&&Pe.unshift(Ne),qe=Me}return u.spawn(Pe)},"pathTo"),E=0;E=0;f--){var d=h[f],p=d[1],m=d[2];(r[p]===l&&r[m]===u||r[p]===u&&r[m]===l)&&h.splice(f,1)}for(var g=0;gi;){var a=Math.floor(Math.random()*r.length);r=TFe(a,e,r),n--}return r},"contractUntil"),wFe={kargerStein:o(function(){var e=this,r=this.byGroup(),n=r.nodes,i=r.edges;i.unmergeBy(function(B){return B.isLoop()});var a=n.length,s=i.length,l=Math.ceil(Math.pow(Math.log(a)/Math.LN2,2)),u=Math.floor(a/bFe);if(a<2){oi("At least 2 nodes are required for Karger-Stein algorithm");return}for(var h=[],f=0;f1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,i=1/0,a=r;a1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,i=-1/0,a=r;a1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,i=0,a=0,s=r;s1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;i?e=e.slice(r,n):(n0&&e.splice(0,r));for(var l=0,u=e.length-1;u>=0;u--){var h=e[u];s?isFinite(h)||(e[u]=-1/0,l++):e.splice(u,1)}a&&e.sort(function(p,m){return p-m});var f=e.length,d=Math.floor(f/2);return f%2!==0?e[d+1+l]:(e[d-1+l]+e[d+l])/2},"median"),_Fe=o(function(e){return Math.PI*e/180},"deg2rad"),Ek=o(function(e,r){return Math.atan2(r,e)-Math.PI/2},"getAngleFromDisp"),WN=Math.log2||function(t){return Math.log(t)/Math.log(2)},Qoe=o(function(e){return e>0?1:e<0?-1:0},"signum"),gp=o(function(e,r){return Math.sqrt(up(e,r))},"dist"),up=o(function(e,r){var n=r.x-e.x,i=r.y-e.y;return n*n+i*i},"sqdist"),DFe=o(function(e){for(var r=e.length,n=0,i=0;i=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(e.w!=null&&e.h!=null&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},"makeBoundingBox"),RFe=o(function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},"copyBoundingBox"),NFe=o(function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},"clearBoundingBox"),MFe=o(function(e,r,n){return{x1:e.x1+r,x2:e.x2+r,y1:e.y1+n,y2:e.y2+n,w:e.w,h:e.h}},"shiftBoundingBox"),Zoe=o(function(e,r){e.x1=Math.min(e.x1,r.x1),e.x2=Math.max(e.x2,r.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,r.y1),e.y2=Math.max(e.y2,r.y2),e.h=e.y2-e.y1},"updateBoundingBox"),IFe=o(function(e,r,n){e.x1=Math.min(e.x1,r),e.x2=Math.max(e.x2,r),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},"expandBoundingBoxByPoint"),Bk=o(function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.x1-=r,e.x2+=r,e.y1-=r,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},"expandBoundingBox"),Fk=o(function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],n,i,a,s;if(r.length===1)n=i=a=s=r[0];else if(r.length===2)n=a=r[0],s=i=r[1];else if(r.length===4){var l=Di(r,4);n=l[0],i=l[1],a=l[2],s=l[3]}return e.x1-=s,e.x2+=i,e.y1-=n,e.y2+=a,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},"expandBoundingBoxSides"),bse=o(function(e,r){e.x1=r.x1,e.y1=r.y1,e.x2=r.x2,e.y2=r.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},"assignBoundingBox"),qN=o(function(e,r){return!(e.x1>r.x2||r.x1>e.x2||e.x2r.y2||r.y1>e.y2)},"boundingBoxesIntersect"),rg=o(function(e,r,n){return e.x1<=r&&r<=e.x2&&e.y1<=n&&n<=e.y2},"inBoundingBox"),OFe=o(function(e,r){return rg(e,r.x,r.y)},"pointInBoundingBox"),Joe=o(function(e,r){return rg(e,r.x1,r.y1)&&rg(e,r.x2,r.y2)},"boundingBoxInBoundingBox"),ele=o(function(e,r,n,i,a,s,l){var u=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"auto",h=u==="auto"?yp(a,s):u,f=a/2,d=s/2;h=Math.min(h,f,d);var p=h!==f,m=h!==d,g;if(p){var y=n-f+h-l,x=i-d-l,v=n+f-h+l,b=x;if(g=pf(e,r,n,i,y,x,v,b,!1),g.length>0)return g}if(m){var T=n+f+l,S=i-d+h-l,w=T,E=i+d-h+l;if(g=pf(e,r,n,i,T,S,w,E,!1),g.length>0)return g}if(p){var _=n-f+h-l,A=i+d+l,D=n+f-h+l,O=A;if(g=pf(e,r,n,i,_,A,D,O,!1),g.length>0)return g}if(m){var R=n-f-l,k=i-d+h-l,L=R,C=i+d-h+l;if(g=pf(e,r,n,i,R,k,L,C,!1),g.length>0)return g}var I;{var M=n-f+h,P=i-d+h;if(I=Z2(e,r,n,i,M,P,h+l),I.length>0&&I[0]<=M&&I[1]<=P)return[I[0],I[1]]}{var B=n+f-h,F=i-d+h;if(I=Z2(e,r,n,i,B,F,h+l),I.length>0&&I[0]>=B&&I[1]<=F)return[I[0],I[1]]}{var G=n+f-h,$=i+d-h;if(I=Z2(e,r,n,i,G,$,h+l),I.length>0&&I[0]>=G&&I[1]>=$)return[I[0],I[1]]}{var U=n-f+h,K=i+d-h;if(I=Z2(e,r,n,i,U,K,h+l),I.length>0&&I[0]<=U&&I[1]>=K)return[I[0],I[1]]}return[]},"roundRectangleIntersectLine"),PFe=o(function(e,r,n,i,a,s,l){var u=l,h=Math.min(n,a),f=Math.max(n,a),d=Math.min(i,s),p=Math.max(i,s);return h-u<=e&&e<=f+u&&d-u<=r&&r<=p+u},"inLineVicinity"),BFe=o(function(e,r,n,i,a,s,l,u,h){var f={x1:Math.min(n,l,a)-h,x2:Math.max(n,l,a)+h,y1:Math.min(i,u,s)-h,y2:Math.max(i,u,s)+h};return!(ef.x2||rf.y2)},"inBezierVicinity"),FFe=o(function(e,r,n,i){n-=i;var a=r*r-4*e*n;if(a<0)return[];var s=Math.sqrt(a),l=2*e,u=(-r+s)/l,h=(-r-s)/l;return[u,h]},"solveQuadratic"),$Fe=o(function(e,r,n,i,a){var s=1e-5;e===0&&(e=s),r/=e,n/=e,i/=e;var l,u,h,f,d,p,m,g;if(u=(3*n-r*r)/9,h=-(27*i)+r*(9*n-2*(r*r)),h/=54,l=u*u*u+h*h,a[1]=0,m=r/3,l>0){d=h+Math.sqrt(l),d=d<0?-Math.pow(-d,1/3):Math.pow(d,1/3),p=h-Math.sqrt(l),p=p<0?-Math.pow(-p,1/3):Math.pow(p,1/3),a[0]=-m+d+p,m+=(d+p)/2,a[4]=a[2]=-m,m=Math.sqrt(3)*(-p+d)/2,a[3]=m,a[5]=-m;return}if(a[5]=a[3]=0,l===0){g=h<0?-Math.pow(-h,1/3):Math.pow(h,1/3),a[0]=-m+2*g,a[4]=a[2]=-(g+m);return}u=-u,f=u*u*u,f=Math.acos(h/Math.sqrt(f)),g=2*Math.sqrt(u),a[0]=-m+g*Math.cos(f/3),a[2]=-m+g*Math.cos((f+2*Math.PI)/3),a[4]=-m+g*Math.cos((f+4*Math.PI)/3)},"solveCubic"),GFe=o(function(e,r,n,i,a,s,l,u){var h=1*n*n-4*n*a+2*n*l+4*a*a-4*a*l+l*l+i*i-4*i*s+2*i*u+4*s*s-4*s*u+u*u,f=1*9*n*a-3*n*n-3*n*l-6*a*a+3*a*l+9*i*s-3*i*i-3*i*u-6*s*s+3*s*u,d=1*3*n*n-6*n*a+n*l-n*e+2*a*a+2*a*e-l*e+3*i*i-6*i*s+i*u-i*r+2*s*s+2*s*r-u*r,p=1*n*a-n*n+n*e-a*e+i*s-i*i+i*r-s*r,m=[];$Fe(h,f,d,p,m);for(var g=1e-7,y=[],x=0;x<6;x+=2)Math.abs(m[x+1])=0&&m[x]<=1&&y.push(m[x]);y.push(1),y.push(0);for(var v=-1,b,T,S,w=0;w=0?Sh?(e-a)*(e-a)+(r-s)*(r-s):f-p},"sqdistToFiniteLine"),Vs=o(function(e,r,n){for(var i,a,s,l,u,h=0,f=0;f=e&&e>=s||i<=e&&e<=s)u=(e-i)/(s-i)*(l-a)+a,u>r&&h++;else continue;return h%2!==0},"pointInsidePolygonPoints"),Fu=o(function(e,r,n,i,a,s,l,u,h){var f=new Array(n.length),d;u[0]!=null?(d=Math.atan(u[1]/u[0]),u[0]<0?d=d+Math.PI/2:d=-d-Math.PI/2):d=u;for(var p=Math.cos(-d),m=Math.sin(-d),g=0;g0){var x=Kk(f,-h);y=jk(x)}else y=f;return Vs(e,r,y)},"pointInsidePolygon"),VFe=o(function(e,r,n,i,a,s,l,u){for(var h=new Array(n.length*2),f=0;f=0&&x<=1&&b.push(x),v>=0&&v<=1&&b.push(v),b.length===0)return[];var T=b[0]*u[0]+e,S=b[0]*u[1]+r;if(b.length>1){if(b[0]==b[1])return[T,S];var w=b[1]*u[0]+e,E=b[1]*u[1]+r;return[T,S,w,E]}else return[T,S]},"intersectLineCircle"),cN=o(function(e,r,n){return r<=e&&e<=n||n<=e&&e<=r?e:e<=r&&r<=n||n<=r&&r<=e?r:n},"midOfThree"),pf=o(function(e,r,n,i,a,s,l,u,h){var f=e-a,d=n-e,p=l-a,m=r-s,g=i-r,y=u-s,x=p*m-y*f,v=d*m-g*f,b=y*d-p*g;if(b!==0){var T=x/b,S=v/b,w=.001,E=0-w,_=1+w;return E<=T&&T<=_&&E<=S&&S<=_?[e+T*d,r+T*g]:h?[e+T*d,r+T*g]:[]}else return x===0||v===0?cN(e,n,l)===l?[l,u]:cN(e,n,a)===a?[a,s]:cN(a,l,n)===n?[n,i]:[]:[]},"finiteLinesIntersect"),ux=o(function(e,r,n,i,a,s,l,u){var h=[],f,d=new Array(n.length),p=!0;s==null&&(p=!1);var m;if(p){for(var g=0;g0){var y=Kk(d,-u);m=jk(y)}else m=d}else m=n;for(var x,v,b,T,S=0;S2){for(var g=[f[0],f[1]],y=Math.pow(g[0]-e,2)+Math.pow(g[1]-r,2),x=1;xf&&(f=S)},"set"),get:o(function(T){return h[T]},"get")},p=0;p0?M=I.edgesTo(C)[0]:M=C.edgesTo(I)[0];var P=i(M);C=C.id(),A[C]>A[k]+P&&(A[C]=A[k]+P,D.nodes.indexOf(C)<0?D.push(C):D.updateItem(C),_[C]=0,E[C]=[]),A[C]==A[k]+P&&(_[C]=_[C]+_[k],E[C].push(k))}else for(var B=0;B0;){for(var U=w.pop(),K=0;K0&&l.push(n[u]);l.length!==0&&a.push(i.collection(l))}return a},"assign"),i$e=o(function(e,r){for(var n=0;n5&&arguments[5]!==void 0?arguments[5]:o$e,l=i,u,h,f=0;f=2?H2(e,r,n,0,Sse,l$e):H2(e,r,n,0,Ese)},"euclidean"),squaredEuclidean:o(function(e,r,n){return H2(e,r,n,0,Sse)},"squaredEuclidean"),manhattan:o(function(e,r,n){return H2(e,r,n,0,Ese)},"manhattan"),max:o(function(e,r,n){return H2(e,r,n,-1/0,c$e)},"max")};ng["squared-euclidean"]=ng.squaredEuclidean;ng.squaredeuclidean=ng.squaredEuclidean;o(lE,"clusteringDistance");u$e=na({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),XN=o(function(e){return u$e(e)},"setOptions"),Qk=o(function(e,r,n,i,a){var s=a!=="kMedoids",l=s?function(d){return n[d]}:function(d){return i[d](n)},u=o(function(p){return i[p](r)},"getQ"),h=n,f=r;return lE(e,i.length,l,u,h,f)},"getDist"),uN=o(function(e,r,n){for(var i=n.length,a=new Array(i),s=new Array(i),l=new Array(r),u=null,h=0;hn)return!1}return!0},"haveMatricesConverged"),d$e=o(function(e,r,n){for(var i=0;il&&(l=r[h][f],u=f);a[u].push(e[h])}for(var d=0;d=a.threshold||a.mode==="dendrogram"&&e.length===1)return!1;var g=r[s],y=r[i[s]],x;a.mode==="dendrogram"?x={left:g,right:y,key:g.key}:x={value:g.value.concat(y.value),key:g.key},e[g.index]=x,e.splice(y.index,1),r[g.key]=x;for(var v=0;vn[y.key][b.key]&&(u=n[y.key][b.key])):a.linkage==="max"?(u=n[g.key][b.key],n[g.key][b.key]0&&i.push(a);return i},"findExemplars"),Rse=o(function(e,r,n){for(var i=[],a=0;al&&(s=h,l=r[a*e+h])}s>0&&i.push(s)}for(var f=0;fh&&(u=f,h=d)}n[a]=s[u]}return i=Rse(e,r,n),i},"assign"),Nse=o(function(e){for(var r=this.cy(),n=this.nodes(),i=A$e(e),a={},s=0;s=R?(k=R,R=C,L=I):C>k&&(k=C);for(var M=0;M0?1:0;_[D%i.minIterations*l+U]=K,$+=K}if($>0&&(D>=i.minIterations-1||D==i.maxIterations-1)){for(var ne=0,j=0;j1||E>1)&&(l=!0),d[T]=[],b.outgoers().forEach(function(A){A.isEdge()&&d[T].push(A.id())})}else p[T]=[void 0,b.target().id()]}):s.forEach(function(b){var T=b.id();if(b.isNode()){var S=b.degree(!0);S%2&&(u?h?l=!0:h=T:u=T),d[T]=[],b.connectedEdges().forEach(function(w){return d[T].push(w.id())})}else p[T]=[b.source().id(),b.target().id()]});var m={found:!1,trail:void 0};if(l)return m;if(h&&u)if(a){if(f&&h!=f)return m;f=h}else{if(f&&h!=f&&u!=f)return m;f||(f=h)}else f||(f=s[0].id());var g=o(function(T){for(var S=T,w=[T],E,_,A;d[S].length;)E=d[S].shift(),_=p[E][0],A=p[E][1],S!=A?(d[A]=d[A].filter(function(D){return D!=E}),S=A):!a&&S!=_&&(d[_]=d[_].filter(function(D){return D!=E}),S=_),w.unshift(E),w.unshift(S);return w},"walk"),y=[],x=[];for(x=g(f);x.length!=1;)d[x[0]].length==0?(y.unshift(s.getElementById(x.shift())),y.unshift(s.getElementById(x.shift()))):x=g(x.shift()).concat(x);y.unshift(s.getElementById(x.shift()));for(var v in d)if(d[v].length)return m;return m.found=!0,m.trail=this.spawn(y,!0),m},"hierholzer")},Ak=o(function(){var e=this,r={},n=0,i=0,a=[],s=[],l={},u=o(function(p,m){for(var g=s.length-1,y=[],x=e.spawn();s[g].x!=p||s[g].y!=m;)y.push(s.pop().edge),g--;y.push(s.pop().edge),y.forEach(function(v){var b=v.connectedNodes().intersection(e);x.merge(v),b.forEach(function(T){var S=T.id(),w=T.connectedEdges().intersection(e);x.merge(T),r[S].cutVertex?x.merge(w.filter(function(E){return E.isLoop()})):x.merge(w)})}),a.push(x)},"buildComponent"),h=o(function d(p,m,g){p===g&&(i+=1),r[m]={id:n,low:n++,cutVertex:!1};var y=e.getElementById(m).connectedEdges().intersection(e);if(y.size()===0)a.push(e.spawn(e.getElementById(m)));else{var x,v,b,T;y.forEach(function(S){x=S.source().id(),v=S.target().id(),b=x===m?v:x,b!==g&&(T=S.id(),l[T]||(l[T]=!0,s.push({x:m,y:b,edge:S})),b in r?r[m].low=Math.min(r[m].low,r[b].id):(d(p,b,m),r[m].low=Math.min(r[m].low,r[b].low),r[m].id<=r[b].low&&(r[m].cutVertex=!0,u(m,b))))})}},"biconnectedSearch");e.forEach(function(d){if(d.isNode()){var p=d.id();p in r||(i=0,h(p,p),r[p].cutVertex=i>1)}});var f=Object.keys(r).filter(function(d){return r[d].cutVertex}).map(function(d){return e.getElementById(d)});return{cut:e.spawn(f),components:a}},"hopcroftTarjanBiconnected"),O$e={hopcroftTarjanBiconnected:Ak,htbc:Ak,htb:Ak,hopcroftTarjanBiconnectedComponents:Ak},_k=o(function(){var e=this,r={},n=0,i=[],a=[],s=e.spawn(e),l=o(function u(h){a.push(h),r[h]={index:n,low:n++,explored:!1};var f=e.getElementById(h).connectedEdges().intersection(e);if(f.forEach(function(y){var x=y.target().id();x!==h&&(x in r||u(x),r[x].explored||(r[h].low=Math.min(r[h].low,r[x].low)))}),r[h].index===r[h].low){for(var d=e.spawn();;){var p=a.pop();if(d.merge(e.getElementById(p)),r[p].low=r[h].index,r[p].explored=!0,p===h)break}var m=d.edgesWith(d),g=d.merge(m);i.push(g),s=s.difference(g)}},"stronglyConnectedSearch");return e.forEach(function(u){if(u.isNode()){var h=u.id();h in r||l(h)}}),{cut:s,components:i}},"tarjanStronglyConnected"),P$e={tarjanStronglyConnected:_k,tsc:_k,tscc:_k,tarjanStronglyConnectedComponents:_k},ole={};[lx,fFe,dFe,mFe,yFe,xFe,wFe,YFe,Zm,Jm,SN,s$e,x$e,S$e,N$e,I$e,O$e,P$e].forEach(function(t){ir(ole,t)});lle=0,cle=1,ule=2,$u=o(function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=lle,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof e=="function"&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))},"api");$u.prototype={fulfill:o(function(e){return Mse(this,cle,"fulfillValue",e)},"fulfill"),reject:o(function(e){return Mse(this,ule,"rejectReason",e)},"reject"),then:o(function(e,r){var n=this,i=new $u;return n.onFulfilled.push(Ose(e,i,"fulfill")),n.onRejected.push(Ose(r,i,"reject")),hle(n),i.proxy},"then")};Mse=o(function(e,r,n,i){return e.state===lle&&(e.state=r,e[n]=i,hle(e)),e},"deliver"),hle=o(function(e){e.state===cle?Ise(e,"onFulfilled",e.fulfillValue):e.state===ule&&Ise(e,"onRejected",e.rejectReason)},"execute"),Ise=o(function(e,r,n){if(e[r].length!==0){var i=e[r];e[r]=[];var a=o(function(){for(var l=0;l0},"animatedImpl")},"animated"),clearQueue:o(function(){return o(function(){var r=this,n=r.length!==void 0,i=n?r:[r],a=this._private.cy||this;if(!a.styleEnabled())return this;for(var s=0;s0&&this.spawn(i).updateStyle().emit("class"),r},"classes"),addClass:o(function(e){return this.toggleClass(e,!0)},"addClass"),hasClass:o(function(e){var r=this[0];return r!=null&&r._private.classes.has(e)},"hasClass"),toggleClass:o(function(e,r){kn(e)||(e=e.match(/\S+/g)||[]);for(var n=this,i=r===void 0,a=[],s=0,l=n.length;s0&&this.spawn(a).updateStyle().emit("class"),n},"toggleClass"),removeClass:o(function(e){return this.toggleClass(e,!1)},"removeClass"),flashClass:o(function(e,r){var n=this;if(r==null)r=250;else if(r===0)return n;return n.addClass(e),setTimeout(function(){n.removeClass(e)},r),n},"flashClass")};$k.className=$k.classNames=$k.classes;zr={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:`"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,number:Gi,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};zr.variable="(?:[\\w-.]|(?:\\\\"+zr.metaChar+"))+";zr.className="(?:[\\w-]|(?:\\\\"+zr.metaChar+"))+";zr.value=zr.string+"|"+zr.number;zr.id=zr.variable;(function(){var t,e,r;for(t=zr.comparatorOp.split("|"),r=0;r=0)&&e!=="="&&(zr.comparatorOp+="|\\!"+e)})();gn=o(function(){return{checks:[]}},"newQuery"),$t={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},AN=[{selector:":selected",matches:o(function(e){return e.selected()},"matches")},{selector:":unselected",matches:o(function(e){return!e.selected()},"matches")},{selector:":selectable",matches:o(function(e){return e.selectable()},"matches")},{selector:":unselectable",matches:o(function(e){return!e.selectable()},"matches")},{selector:":locked",matches:o(function(e){return e.locked()},"matches")},{selector:":unlocked",matches:o(function(e){return!e.locked()},"matches")},{selector:":visible",matches:o(function(e){return e.visible()},"matches")},{selector:":hidden",matches:o(function(e){return!e.visible()},"matches")},{selector:":transparent",matches:o(function(e){return e.transparent()},"matches")},{selector:":grabbed",matches:o(function(e){return e.grabbed()},"matches")},{selector:":free",matches:o(function(e){return!e.grabbed()},"matches")},{selector:":removed",matches:o(function(e){return e.removed()},"matches")},{selector:":inside",matches:o(function(e){return!e.removed()},"matches")},{selector:":grabbable",matches:o(function(e){return e.grabbable()},"matches")},{selector:":ungrabbable",matches:o(function(e){return!e.grabbable()},"matches")},{selector:":animated",matches:o(function(e){return e.animated()},"matches")},{selector:":unanimated",matches:o(function(e){return!e.animated()},"matches")},{selector:":parent",matches:o(function(e){return e.isParent()},"matches")},{selector:":childless",matches:o(function(e){return e.isChildless()},"matches")},{selector:":child",matches:o(function(e){return e.isChild()},"matches")},{selector:":orphan",matches:o(function(e){return e.isOrphan()},"matches")},{selector:":nonorphan",matches:o(function(e){return e.isChild()},"matches")},{selector:":compound",matches:o(function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()},"matches")},{selector:":loop",matches:o(function(e){return e.isLoop()},"matches")},{selector:":simple",matches:o(function(e){return e.isSimple()},"matches")},{selector:":active",matches:o(function(e){return e.active()},"matches")},{selector:":inactive",matches:o(function(e){return!e.active()},"matches")},{selector:":backgrounding",matches:o(function(e){return e.backgrounding()},"matches")},{selector:":nonbackgrounding",matches:o(function(e){return!e.backgrounding()},"matches")}].sort(function(t,e){return oBe(t.selector,e.selector)}),jze=function(){for(var t={},e,r=0;r0&&f.edgeCount>0)return ln("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(f.edgeCount>1)return ln("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;f.edgeCount===1&&ln("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},"parse"),tVe=o(function(){if(this.toStringCache!=null)return this.toStringCache;for(var e=o(function(f){return f??""},"clean"),r=o(function(f){return Jt(f)?'"'+f+'"':e(f)},"cleanVal"),n=o(function(f){return" "+f+" "},"space"),i=o(function(f,d){var p=f.type,m=f.value;switch(p){case $t.GROUP:{var g=e(m);return g.substring(0,g.length-1)}case $t.DATA_COMPARE:{var y=f.field,x=f.operator;return"["+y+n(e(x))+r(m)+"]"}case $t.DATA_BOOL:{var v=f.operator,b=f.field;return"["+e(v)+b+"]"}case $t.DATA_EXIST:{var T=f.field;return"["+T+"]"}case $t.META_COMPARE:{var S=f.operator,w=f.field;return"[["+w+n(e(S))+r(m)+"]]"}case $t.STATE:return m;case $t.ID:return"#"+m;case $t.CLASS:return"."+m;case $t.PARENT:case $t.CHILD:return a(f.parent,d)+n(">")+a(f.child,d);case $t.ANCESTOR:case $t.DESCENDANT:return a(f.ancestor,d)+" "+a(f.descendant,d);case $t.COMPOUND_SPLIT:{var E=a(f.left,d),_=a(f.subject,d),A=a(f.right,d);return E+(E.length>0?" ":"")+_+A}case $t.TRUE:return""}},"checkToString"),a=o(function(f,d){return f.checks.reduce(function(p,m,g){return p+(d===f&&g===0?"$":"")+i(m,d)},"")},"queryToString"),s="",l=0;l1&&l=0&&(r=r.replace("!",""),d=!0),r.indexOf("@")>=0&&(r=r.replace("@",""),f=!0),(a||l||f)&&(u=!a&&!s?"":""+e,h=""+n),f&&(e=u=u.toLowerCase(),n=h=h.toLowerCase()),r){case"*=":i=u.indexOf(h)>=0;break;case"$=":i=u.indexOf(h,u.length-h.length)>=0;break;case"^=":i=u.indexOf(h)===0;break;case"=":i=e===n;break;case">":p=!0,i=e>n;break;case">=":p=!0,i=e>=n;break;case"<":p=!0,i=e1&&arguments[1]!==void 0?arguments[1]:!0;return JN(this,t,e,ble)};o(Tle,"addParent");ig.forEachUp=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return JN(this,t,e,Tle)};o(cVe,"addParentAndChildren");ig.forEachUpAndDown=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return JN(this,t,e,cVe)};ig.ancestors=ig.parents;fx=wle={data:on.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:on.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:on.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:on.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:on.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:on.removeData({field:"rscratch",triggerEvent:!1}),id:o(function(){var e=this[0];if(e)return e._private.data.id},"id")};fx.attr=fx.data;fx.removeAttr=fx.removeData;uVe=wle,fE={};o(fN,"defineDegreeFunction");ir(fE,{degree:fN(function(t,e){return e.source().same(e.target())?2:1}),indegree:fN(function(t,e){return e.target().same(t)?1:0}),outdegree:fN(function(t,e){return e.source().same(t)?1:0})});o(Hm,"defineDegreeBoundsFunction");ir(fE,{minDegree:Hm("degree",function(t,e){return te}),minIndegree:Hm("indegree",function(t,e){return te}),minOutdegree:Hm("outdegree",function(t,e){return te})});ir(fE,{totalDegree:o(function(e){for(var r=0,n=this.nodes(),i=0;i0,p=d;d&&(f=f[0]);var m=p?f.position():{x:0,y:0};r!==void 0?h.position(e,r+m[e]):a!==void 0&&h.position({x:a.x+m.x,y:a.y+m.y})}else{var g=n.position(),y=l?n.parent():null,x=y&&y.length>0,v=x;x&&(y=y[0]);var b=v?y.position():{x:0,y:0};return a={x:g.x-b.x,y:g.y-b.y},e===void 0?a:a[e]}else if(!s)return;return this},"relativePosition")};Il.modelPosition=Il.point=Il.position;Il.modelPositions=Il.points=Il.positions;Il.renderedPoint=Il.renderedPosition;Il.relativePoint=Il.relativePosition;hVe=kle;eg=Sf={};Sf.renderedBoundingBox=function(t){var e=this.boundingBox(t),r=this.cy(),n=r.zoom(),i=r.pan(),a=e.x1*n+i.x,s=e.x2*n+i.x,l=e.y1*n+i.y,u=e.y2*n+i.y;return{x1:a,x2:s,y1:l,y2:u,w:s-a,h:u-l}};Sf.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=this.cy();return!e.styleEnabled()||!e.hasCompoundNodes()?this:(this.forEachUp(function(r){if(r.isParent()){var n=r._private;n.compoundBoundsClean=!1,n.bbCache=null,t||r.emitAndNotify("bounds")}}),this)};Sf.updateCompoundBounds=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function r(s){if(!s.isParent())return;var l=s._private,u=s.children(),h=s.pstyle("compound-sizing-wrt-labels").value==="include",f={width:{val:s.pstyle("min-width").pfValue,left:s.pstyle("min-width-bias-left"),right:s.pstyle("min-width-bias-right")},height:{val:s.pstyle("min-height").pfValue,top:s.pstyle("min-height-bias-top"),bottom:s.pstyle("min-height-bias-bottom")}},d=u.boundingBox({includeLabels:h,includeOverlays:!1,useCache:!1}),p=l.position;(d.w===0||d.h===0)&&(d={w:s.pstyle("width").pfValue,h:s.pstyle("height").pfValue},d.x1=p.x-d.w/2,d.x2=p.x+d.w/2,d.y1=p.y-d.h/2,d.y2=p.y+d.h/2);function m(D,O,R){var k=0,L=0,C=O+R;return D>0&&C>0&&(k=O/C*D,L=R/C*D),{biasDiff:k,biasComplementDiff:L}}o(m,"computeBiasValues");function g(D,O,R,k){if(R.units==="%")switch(k){case"width":return D>0?R.pfValue*D:0;case"height":return O>0?R.pfValue*O:0;case"average":return D>0&&O>0?R.pfValue*(D+O)/2:0;case"min":return D>0&&O>0?D>O?R.pfValue*O:R.pfValue*D:0;case"max":return D>0&&O>0?D>O?R.pfValue*D:R.pfValue*O:0;default:return 0}else return R.units==="px"?R.pfValue:0}o(g,"computePaddingValues");var y=f.width.left.value;f.width.left.units==="px"&&f.width.val>0&&(y=y*100/f.width.val);var x=f.width.right.value;f.width.right.units==="px"&&f.width.val>0&&(x=x*100/f.width.val);var v=f.height.top.value;f.height.top.units==="px"&&f.height.val>0&&(v=v*100/f.height.val);var b=f.height.bottom.value;f.height.bottom.units==="px"&&f.height.val>0&&(b=b*100/f.height.val);var T=m(f.width.val-d.w,y,x),S=T.biasDiff,w=T.biasComplementDiff,E=m(f.height.val-d.h,v,b),_=E.biasDiff,A=E.biasComplementDiff;l.autoPadding=g(d.w,d.h,s.pstyle("padding"),s.pstyle("padding-relative-to").value),l.autoWidth=Math.max(d.w,f.width.val),p.x=(-S+d.x1+d.x2+w)/2,l.autoHeight=Math.max(d.h,f.height.val),p.y=(-_+d.y1+d.y2+A)/2}o(r,"update");for(var n=0;ne.x2?i:e.x2,e.y1=ne.y2?a:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},"updateBounds"),hp=o(function(e,r){return r==null?e:Nl(e,r.x1,r.y1,r.x2,r.y2)},"updateBoundsFromBox"),W2=o(function(e,r,n){return Ml(e,r,n)},"prefixedProperty"),Dk=o(function(e,r,n){if(!r.cy().headless()){var i=r._private,a=i.rstyle,s=a.arrowWidth/2,l=r.pstyle(n+"-arrow-shape").value,u,h;if(l!=="none"){n==="source"?(u=a.srcX,h=a.srcY):n==="target"?(u=a.tgtX,h=a.tgtY):(u=a.midX,h=a.midY);var f=i.arrowBounds=i.arrowBounds||{},d=f[n]=f[n]||{};d.x1=u-s,d.y1=h-s,d.x2=u+s,d.y2=h+s,d.w=d.x2-d.x1,d.h=d.y2-d.y1,Bk(d,1),Nl(e,d.x1,d.y1,d.x2,d.y2)}}},"updateBoundsFromArrow"),dN=o(function(e,r,n){if(!r.cy().headless()){var i;n?i=n+"-":i="";var a=r._private,s=a.rstyle,l=r.pstyle(i+"label").strValue;if(l){var u=r.pstyle("text-halign"),h=r.pstyle("text-valign"),f=W2(s,"labelWidth",n),d=W2(s,"labelHeight",n),p=W2(s,"labelX",n),m=W2(s,"labelY",n),g=r.pstyle(i+"text-margin-x").pfValue,y=r.pstyle(i+"text-margin-y").pfValue,x=r.isEdge(),v=r.pstyle(i+"text-rotation"),b=r.pstyle("text-outline-width").pfValue,T=r.pstyle("text-border-width").pfValue,S=T/2,w=r.pstyle("text-background-padding").pfValue,E=2,_=d,A=f,D=A/2,O=_/2,R,k,L,C;if(x)R=p-D,k=p+D,L=m-O,C=m+O;else{switch(u.value){case"left":R=p-A,k=p;break;case"center":R=p-D,k=p+D;break;case"right":R=p,k=p+A;break}switch(h.value){case"top":L=m-_,C=m;break;case"center":L=m-O,C=m+O;break;case"bottom":L=m,C=m+_;break}}var I=g-Math.max(b,S)-w-E,M=g+Math.max(b,S)+w+E,P=y-Math.max(b,S)-w-E,B=y+Math.max(b,S)+w+E;R+=I,k+=M,L+=P,C+=B;var F=n||"main",G=a.labelBounds,$=G[F]=G[F]||{};$.x1=R,$.y1=L,$.x2=k,$.y2=C,$.w=k-R,$.h=C-L,$.leftPad=I,$.rightPad=M,$.topPad=P,$.botPad=B;var U=x&&v.strValue==="autorotate",K=v.pfValue!=null&&v.pfValue!==0;if(U||K){var ne=U?W2(a.rstyle,"labelAngle",n):v.pfValue,j=Math.cos(ne),le=Math.sin(ne),Z=(R+k)/2,ce=(L+C)/2;if(!x){switch(u.value){case"left":Z=k;break;case"right":Z=R;break}switch(h.value){case"top":ce=C;break;case"bottom":ce=L;break}}var Q=o(function(Se,W){return Se=Se-Z,W=W-ce,{x:Se*j-W*le+Z,y:Se*le+W*j+ce}},"rotate"),ee=Q(R,L),te=Q(R,C),re=Q(k,L),he=Q(k,C);R=Math.min(ee.x,te.x,re.x,he.x),k=Math.max(ee.x,te.x,re.x,he.x),L=Math.min(ee.y,te.y,re.y,he.y),C=Math.max(ee.y,te.y,re.y,he.y)}var J=F+"Rot",ye=G[J]=G[J]||{};ye.x1=R,ye.y1=L,ye.x2=k,ye.y2=C,ye.w=k-R,ye.h=C-L,Nl(e,R,L,k,C),Nl(a.labelBounds.all,R,L,k,C)}return e}},"updateBoundsFromLabel"),fVe=o(function(e,r){if(!r.cy().headless()){var n=r.pstyle("outline-opacity").value,i=r.pstyle("outline-width").value;if(n>0&&i>0){var a=r.pstyle("outline-offset").value,s=r.pstyle("shape").value,l=i+a,u=(e.w+l*2)/e.w,h=(e.h+l*2)/e.h,f=0,d=0;["diamond","pentagon","round-triangle"].includes(s)?(u=(e.w+l*2.4)/e.w,d=-l/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(s)?u=(e.w+l*2.4)/e.w:s==="star"?(u=(e.w+l*2.8)/e.w,h=(e.h+l*2.6)/e.h,d=-l/3.8):s==="triangle"?(u=(e.w+l*2.8)/e.w,h=(e.h+l*2.4)/e.h,d=-l/1.4):s==="vee"&&(u=(e.w+l*4.4)/e.w,h=(e.h+l*3.8)/e.h,d=-l*.5);var p=e.h*h-e.h,m=e.w*u-e.w;if(Fk(e,[Math.ceil(p/2),Math.ceil(m/2)]),f!=0||d!==0){var g=MFe(e,f,d);Zoe(e,g)}}}},"updateBoundsFromOutline"),dVe=o(function(e,r){var n=e._private.cy,i=n.styleEnabled(),a=n.headless(),s=Us(),l=e._private,u=e.isNode(),h=e.isEdge(),f,d,p,m,g,y,x=l.rstyle,v=u&&i?e.pstyle("bounds-expansion").pfValue:[0],b=o(function(se){return se.pstyle("display").value!=="none"},"isDisplayed"),T=!i||b(e)&&(!h||b(e.source())&&b(e.target()));if(T){var S=0,w=0;i&&r.includeOverlays&&(S=e.pstyle("overlay-opacity").value,S!==0&&(w=e.pstyle("overlay-padding").value));var E=0,_=0;i&&r.includeUnderlays&&(E=e.pstyle("underlay-opacity").value,E!==0&&(_=e.pstyle("underlay-padding").value));var A=Math.max(w,_),D=0,O=0;if(i&&(D=e.pstyle("width").pfValue,O=D/2),u&&r.includeNodes){var R=e.position();g=R.x,y=R.y;var k=e.outerWidth(),L=k/2,C=e.outerHeight(),I=C/2;f=g-L,d=g+L,p=y-I,m=y+I,Nl(s,f,p,d,m),i&&r.includeOutlines&&fVe(s,e)}else if(h&&r.includeEdges)if(i&&!a){var M=e.pstyle("curve-style").strValue;if(f=Math.min(x.srcX,x.midX,x.tgtX),d=Math.max(x.srcX,x.midX,x.tgtX),p=Math.min(x.srcY,x.midY,x.tgtY),m=Math.max(x.srcY,x.midY,x.tgtY),f-=O,d+=O,p-=O,m+=O,Nl(s,f,p,d,m),M==="haystack"){var P=x.haystackPts;if(P&&P.length===2){if(f=P[0].x,p=P[0].y,d=P[1].x,m=P[1].y,f>d){var B=f;f=d,d=B}if(p>m){var F=p;p=m,m=F}Nl(s,f-O,p-O,d+O,m+O)}}else if(M==="bezier"||M==="unbundled-bezier"||M.endsWith("segments")||M.endsWith("taxi")){var G;switch(M){case"bezier":case"unbundled-bezier":G=x.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":G=x.linePts;break}if(G!=null)for(var $=0;$d){var Z=f;f=d,d=Z}if(p>m){var ce=p;p=m,m=ce}f-=O,d+=O,p-=O,m+=O,Nl(s,f,p,d,m)}if(i&&r.includeEdges&&h&&(Dk(s,e,"mid-source"),Dk(s,e,"mid-target"),Dk(s,e,"source"),Dk(s,e,"target")),i){var Q=e.pstyle("ghost").value==="yes";if(Q){var ee=e.pstyle("ghost-offset-x").pfValue,te=e.pstyle("ghost-offset-y").pfValue;Nl(s,s.x1+ee,s.y1+te,s.x2+ee,s.y2+te)}}var re=l.bodyBounds=l.bodyBounds||{};bse(re,s),Fk(re,v),Bk(re,1),i&&(f=s.x1,d=s.x2,p=s.y1,m=s.y2,Nl(s,f-A,p-A,d+A,m+A));var he=l.overlayBounds=l.overlayBounds||{};bse(he,s),Fk(he,v),Bk(he,1);var J=l.labelBounds=l.labelBounds||{};J.all!=null?NFe(J.all):J.all=Us(),i&&r.includeLabels&&(r.includeMainLabels&&dN(s,e,null),h&&(r.includeSourceLabels&&dN(s,e,"source"),r.includeTargetLabels&&dN(s,e,"target")))}return s.x1=Xo(s.x1),s.y1=Xo(s.y1),s.x2=Xo(s.x2),s.y2=Xo(s.y2),s.w=Xo(s.x2-s.x1),s.h=Xo(s.y2-s.y1),s.w>0&&s.h>0&&T&&(Fk(s,v),Bk(s,1)),s},"boundingBoxImpl"),Sle=o(function(e){var r=0,n=o(function(s){return(s?1:0)<=0;l--)s(l);return this};wf.removeAllListeners=function(){return this.removeListener("*")};wf.emit=wf.trigger=function(t,e,r){var n=this.listeners,i=n.length;return this.emitting++,kn(e)||(e=[e]),DVe(this,function(a,s){r!=null&&(n=[{event:s.event,type:s.type,namespace:s.namespace,callback:r}],i=n.length);for(var l=o(function(f){var d=n[f];if(d.type===s.type&&(!d.namespace||d.namespace===s.namespace||d.namespace===AVe)&&a.eventMatches(a.context,d,s)){var p=[s];e!=null&&sFe(p,e),a.beforeEmit(a.context,d,s),d.conf&&d.conf.one&&(a.listeners=a.listeners.filter(function(y){return y!==d}));var m=a.callbackContext(a.context,d,s),g=d.callback.apply(m,p);a.afterEmit(a.context,d,s),g===!1&&(s.stopPropagation(),s.preventDefault())}},"_loop2"),u=0;u1&&!s){var l=this.length-1,u=this[l],h=u._private.data.id;this[l]=void 0,this[e]=u,a.set(h,{ele:u,index:e})}return this.length--,this},"unmergeAt"),unmergeOne:o(function(e){e=e[0];var r=this._private,n=e._private.data.id,i=r.map,a=i.get(n);if(!a)return this;var s=a.index;return this.unmergeAt(s),this},"unmergeOne"),unmerge:o(function(e){var r=this._private.cy;if(!e)return this;if(e&&Jt(e)){var n=e;e=r.mutableElements().filter(n)}for(var i=0;i=0;r--){var n=this[r];e(n)&&this.unmergeAt(r)}return this},"unmergeBy"),map:o(function(e,r){for(var n=[],i=this,a=0;an&&(n=u,i=l)}return{value:n,ele:i}},"max"),min:o(function(e,r){for(var n=1/0,i,a=this,s=0;s=0&&a"u"?"undefined":zi(Symbol))!=e&&zi(Symbol.iterator)!=e;r&&(Zk[Symbol.iterator]=function(){var n=this,i={value:void 0,done:!1},a=0,s=this.length;return Loe({next:o(function(){return a1&&arguments[1]!==void 0?arguments[1]:!0,n=this[0],i=n.cy();if(i.styleEnabled()&&n){n._private.styleDirty&&(n._private.styleDirty=!1,i.style().apply(n));var a=n._private.style[e];return a??(r?i.style().getDefaultProperty(e):null)}},"parsedStyle"),numericStyle:o(function(e){var r=this[0];if(r.cy().styleEnabled()&&r){var n=r.pstyle(e);return n.pfValue!==void 0?n.pfValue:n.value}},"numericStyle"),numericStyleUnits:o(function(e){var r=this[0];if(r.cy().styleEnabled()&&r)return r.pstyle(e).units},"numericStyleUnits"),renderedStyle:o(function(e){var r=this.cy();if(!r.styleEnabled())return this;var n=this[0];if(n)return r.style().getRenderedStyle(n,e)},"renderedStyle"),style:o(function(e,r){var n=this.cy();if(!n.styleEnabled())return this;var i=!1,a=n.style();if(Vr(e)){var s=e;a.applyBypass(this,s,i),this.emitAndNotify("style")}else if(Jt(e))if(r===void 0){var l=this[0];return l?a.getStylePropertyValue(l,e):void 0}else a.applyBypass(this,e,r,i),this.emitAndNotify("style");else if(e===void 0){var u=this[0];return u?a.getRawStyle(u):void 0}return this},"style"),removeStyle:o(function(e){var r=this.cy();if(!r.styleEnabled())return this;var n=!1,i=r.style(),a=this;if(e===void 0)for(var s=0;s0&&e.push(f[0]),e.push(l[0])}return this.spawn(e,!0).filter(t)},"neighborhood"),closedNeighborhood:o(function(e){return this.neighborhood().add(this).filter(e)},"closedNeighborhood"),openNeighborhood:o(function(e){return this.neighborhood(e)},"openNeighborhood")});Pa.neighbourhood=Pa.neighborhood;Pa.closedNeighbourhood=Pa.closedNeighborhood;Pa.openNeighbourhood=Pa.openNeighborhood;ir(Pa,{source:jo(o(function(e){var r=this[0],n;return r&&(n=r._private.source||r.cy().collection()),n&&e?n.filter(e):n},"sourceImpl"),"source"),target:jo(o(function(e){var r=this[0],n;return r&&(n=r._private.target||r.cy().collection()),n&&e?n.filter(e):n},"targetImpl"),"target"),sources:Zse({attr:"source"}),targets:Zse({attr:"target"})});o(Zse,"defineSourceFunction");ir(Pa,{edgesWith:jo(Jse(),"edgesWith"),edgesTo:jo(Jse({thisIsSrc:!0}),"edgesTo")});o(Jse,"defineEdgesWithFunction");ir(Pa,{connectedEdges:jo(function(t){for(var e=[],r=this,n=0;n0);return s},"components"),component:o(function(){var e=this[0];return e.cy().mutableElements().components(e)[0]},"component")});Pa.componentsOf=Pa.components;va=o(function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e===void 0){oi("A collection must have a reference to the core");return}var a=new Mc,s=!1;if(!r)r=[];else if(r.length>0&&Vr(r[0])&&!yx(r[0])){s=!0;for(var l=[],u=new ag,h=0,f=r.length;h0&&arguments[0]!==void 0?arguments[0]:!0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=this,n=r.cy(),i=n._private,a=[],s=[],l,u=0,h=r.length;u0){for(var F=l.length===r.length?r:new va(n,l),G=0;G0&&arguments[0]!==void 0?arguments[0]:!0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=this,n=[],i={},a=r._private.cy;function s(C){for(var I=C._private.edges,M=0;M0&&(t?R.emitAndNotify("remove"):e&&R.emit("remove"));for(var k=0;kf&&Math.abs(g.v)>f;);return p?function(y){return u[y*(u.length-1)|0]}:h},"springRK4Factory")}(),Nn=o(function(e,r,n,i){var a=$Ve(e,r,n,i);return function(s,l,u){return s+(l-s)*a(u)}},"cubicBezier"),zk={linear:o(function(e,r,n){return e+(r-e)*n},"linear"),ease:Nn(.25,.1,.25,1),"ease-in":Nn(.42,0,1,1),"ease-out":Nn(0,0,.58,1),"ease-in-out":Nn(.42,0,.58,1),"ease-in-sine":Nn(.47,0,.745,.715),"ease-out-sine":Nn(.39,.575,.565,1),"ease-in-out-sine":Nn(.445,.05,.55,.95),"ease-in-quad":Nn(.55,.085,.68,.53),"ease-out-quad":Nn(.25,.46,.45,.94),"ease-in-out-quad":Nn(.455,.03,.515,.955),"ease-in-cubic":Nn(.55,.055,.675,.19),"ease-out-cubic":Nn(.215,.61,.355,1),"ease-in-out-cubic":Nn(.645,.045,.355,1),"ease-in-quart":Nn(.895,.03,.685,.22),"ease-out-quart":Nn(.165,.84,.44,1),"ease-in-out-quart":Nn(.77,0,.175,1),"ease-in-quint":Nn(.755,.05,.855,.06),"ease-out-quint":Nn(.23,1,.32,1),"ease-in-out-quint":Nn(.86,0,.07,1),"ease-in-expo":Nn(.95,.05,.795,.035),"ease-out-expo":Nn(.19,1,.22,1),"ease-in-out-expo":Nn(1,0,0,1),"ease-in-circ":Nn(.6,.04,.98,.335),"ease-out-circ":Nn(.075,.82,.165,1),"ease-in-out-circ":Nn(.785,.135,.15,.86),spring:o(function(e,r,n){if(n===0)return zk.linear;var i=GVe(e,r,n);return function(a,s,l){return a+(s-a)*i(l)}},"spring"),"cubic-bezier":Nn};o(toe,"getEasedValue");o(roe,"getValue");o(Wm,"ease");o(zVe,"step$1");o(Y2,"valid");o(VVe,"startAnimation");o(noe,"stepAll");UVe={animate:on.animate(),animation:on.animation(),animated:on.animated(),clearQueue:on.clearQueue(),delay:on.delay(),delayAnimation:on.delayAnimation(),stop:on.stop(),addToAnimationPool:o(function(e){var r=this;r.styleEnabled()&&r._private.aniEles.merge(e)},"addToAnimationPool"),stopAnimationLoop:o(function(){this._private.animationsRunning=!1},"stopAnimationLoop"),startAnimationLoop:o(function(){var e=this;if(e._private.animationsRunning=!0,!e.styleEnabled())return;function r(){e._private.animationsRunning&&Yk(o(function(a){noe(a,e),r()},"animationStep"))}o(r,"headlessStep");var n=e.renderer();n&&n.beforeRender?n.beforeRender(o(function(a,s){noe(s,e)},"rendererAnimationStep"),n.beforeRenderPriorities.animations):r()},"startAnimationLoop")},HVe={qualifierCompare:o(function(e,r){return e==null||r==null?e==null&&r==null:e.sameText(r)},"qualifierCompare"),eventMatches:o(function(e,r,n){var i=r.qualifier;return i!=null?e!==n.target&&yx(n.target)&&i.matches(n.target):!0},"eventMatches"),addEventFields:o(function(e,r){r.cy=e,r.target=e},"addEventFields"),callbackContext:o(function(e,r,n){return r.qualifier!=null?n.target:e},"callbackContext")},Nk=o(function(e){return Jt(e)?new bf(e):e},"argSelector"),Ple={createEmitter:o(function(){var e=this._private;return e.emitter||(e.emitter=new dE(HVe,this)),this},"createEmitter"),emitter:o(function(){return this._private.emitter},"emitter"),on:o(function(e,r,n){return this.emitter().on(e,Nk(r),n),this},"on"),removeListener:o(function(e,r,n){return this.emitter().removeListener(e,Nk(r),n),this},"removeListener"),removeAllListeners:o(function(){return this.emitter().removeAllListeners(),this},"removeAllListeners"),one:o(function(e,r,n){return this.emitter().one(e,Nk(r),n),this},"one"),once:o(function(e,r,n){return this.emitter().one(e,Nk(r),n),this},"once"),emit:o(function(e,r){return this.emitter().emit(e,r),this},"emit"),emitAndNotify:o(function(e,r){return this.emit(e),this.notify(e,r),this},"emitAndNotify")};on.eventAliasesOn(Ple);DN={png:o(function(e){var r=this._private.renderer;return e=e||{},r.png(e)},"png"),jpg:o(function(e){var r=this._private.renderer;return e=e||{},e.bg=e.bg||"#fff",r.jpg(e)},"jpg")};DN.jpeg=DN.jpg;Vk={layout:o(function(e){var r=this;if(e==null){oi("Layout options must be specified to make a layout");return}if(e.name==null){oi("A `name` must be specified to make a layout");return}var n=e.name,i=r.extension("layout",n);if(i==null){oi("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var a;Jt(e.eles)?a=r.$(e.eles):a=e.eles!=null?e.eles:r.$();var s=new i(ir({},e,{cy:r,eles:a}));return s},"layout")};Vk.createLayout=Vk.makeLayout=Vk.layout;WVe={notify:o(function(e,r){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var i=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();r!=null&&i.merge(r);return}if(n.notificationsEnabled){var a=this.renderer();this.destroyed()||!a||a.notify(e,r)}},"notify"),notifications:o(function(e){var r=this._private;return e===void 0?r.notificationsEnabled:(r.notificationsEnabled=!!e,this)},"notifications"),noNotifications:o(function(e){this.notifications(!1),e(),this.notifications(!0)},"noNotifications"),batching:o(function(){return this._private.batchCount>0},"batching"),startBatch:o(function(){var e=this._private;return e.batchCount==null&&(e.batchCount=0),e.batchCount===0&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},"startBatch"),endBatch:o(function(){var e=this._private;if(e.batchCount===0)return this;if(e.batchCount--,e.batchCount===0){e.batchStyleEles.updateStyle();var r=this.renderer();Object.keys(e.batchNotifications).forEach(function(n){var i=e.batchNotifications[n];i.empty()?r.notify(n):r.notify(n,i)})}return this},"endBatch"),batch:o(function(e){return this.startBatch(),e(),this.endBatch(),this},"batch"),batchData:o(function(e){var r=this;return this.batch(function(){for(var n=Object.keys(e),i=0;i0;)r.removeChild(r.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach(function(n){var i=n._private;i.rscratch={},i.rstyle={},i.animation.current=[],i.animation.queue=[]})},"destroyRenderer"),onRender:o(function(e){return this.on("render",e)},"onRender"),offRender:o(function(e){return this.off("render",e)},"offRender")};LN.invalidateDimensions=LN.resize;Uk={collection:o(function(e,r){return Jt(e)?this.$(e):ho(e)?e.collection():kn(e)?(r||(r={}),new va(this,e,r.unique,r.removed)):new va(this)},"collection"),nodes:o(function(e){var r=this.$(function(n){return n.isNode()});return e?r.filter(e):r},"nodes"),edges:o(function(e){var r=this.$(function(n){return n.isEdge()});return e?r.filter(e):r},"edges"),$:o(function(e){var r=this._private.elements;return e?r.filter(e):r.spawnSelf()},"$"),mutableElements:o(function(){return this._private.elements},"mutableElements")};Uk.elements=Uk.filter=Uk.$;Fa={},tx="t",YVe="f";Fa.apply=function(t){for(var e=this,r=e._private,n=r.cy,i=n.collection(),a=0;a0;if(p||d&&m){var g=void 0;p&&m||p?g=h.properties:m&&(g=h.mappedProperties);for(var y=0;y1&&(S=1),l.color){var E=n.valueMin[0],_=n.valueMax[0],A=n.valueMin[1],D=n.valueMax[1],O=n.valueMin[2],R=n.valueMax[2],k=n.valueMin[3]==null?1:n.valueMin[3],L=n.valueMax[3]==null?1:n.valueMax[3],C=[Math.round(E+(_-E)*S),Math.round(A+(D-A)*S),Math.round(O+(R-O)*S),Math.round(k+(L-k)*S)];a={bypass:n.bypass,name:n.name,value:C,strValue:"rgb("+C[0]+", "+C[1]+", "+C[2]+")"}}else if(l.number){var I=n.valueMin+(n.valueMax-n.valueMin)*S;a=this.parse(n.name,I,n.bypass,p)}else return!1;if(!a)return y(),!1;a.mapping=n,n=a;break}case s.data:{for(var M=n.field.split("."),P=d.data,B=0;B0&&a>0){for(var l={},u=!1,h=0;h0?t.delayAnimation(s).play().promise().then(T):T()}).then(function(){return t.animation({style:l,duration:a,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){r.removeBypasses(t,i),t.emitAndNotify("style"),n.transitioning=!1})}else n.transitioning&&(this.removeBypasses(t,i),t.emitAndNotify("style"),n.transitioning=!1)};Fa.checkTrigger=function(t,e,r,n,i,a){var s=this.properties[e],l=i(s);l!=null&&l(r,n)&&a(s)};Fa.checkZOrderTrigger=function(t,e,r,n){var i=this;this.checkTrigger(t,e,r,n,function(a){return a.triggersZOrder},function(){i._private.cy.notify("zorder",t)})};Fa.checkBoundsTrigger=function(t,e,r,n){this.checkTrigger(t,e,r,n,function(i){return i.triggersBounds},function(i){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),i.triggersBoundsOfParallelBeziers&&e==="curve-style"&&(r==="bezier"||n==="bezier")&&t.parallelEdges().forEach(function(a){a.dirtyBoundingBoxCache()}),i.triggersBoundsOfConnectedEdges&&e==="display"&&(r==="none"||n==="none")&&t.connectedEdges().forEach(function(a){a.dirtyBoundingBoxCache()})})};Fa.checkTriggers=function(t,e,r,n){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,r,n),this.checkBoundsTrigger(t,e,r,n)};wx={};wx.applyBypass=function(t,e,r,n){var i=this,a=[],s=!0;if(e==="*"||e==="**"){if(r!==void 0)for(var l=0;li.length?n=n.substr(i.length):n=""}o(l,"removeSelAndBlockFromRemaining");function u(){a.length>s.length?a=a.substr(s.length):a=""}for(o(u,"removePropAndValFromRem");;){var h=n.match(/^\s*$/);if(h)break;var f=n.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!f){ln("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+n);break}i=f[0];var d=f[1];if(d!=="core"){var p=new bf(d);if(p.invalid){ln("Skipping parsing of block: Invalid selector found in string stylesheet: "+d),l();continue}}var m=f[2],g=!1;a=m;for(var y=[];;){var x=a.match(/^\s*$/);if(x)break;var v=a.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!v){ln("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+m),g=!0;break}s=v[0];var b=v[1],T=v[2],S=e.properties[b];if(!S){ln("Skipping property: Invalid property name in: "+s),u();continue}var w=r.parse(b,T);if(!w){ln("Skipping property: Invalid property definition in: "+s),u();continue}y.push({name:b,val:T}),u()}if(g){l();break}r.selector(d);for(var E=0;E=7&&e[0]==="d"&&(f=new RegExp(l.data.regex).exec(e))){if(r)return!1;var p=l.data;return{name:t,value:f,strValue:""+e,mapped:p,field:f[1],bypass:r}}else if(e.length>=10&&e[0]==="m"&&(d=new RegExp(l.mapData.regex).exec(e))){if(r||h.multiple)return!1;var m=l.mapData;if(!(h.color||h.number))return!1;var g=this.parse(t,d[4]);if(!g||g.mapped)return!1;var y=this.parse(t,d[5]);if(!y||y.mapped)return!1;if(g.pfValue===y.pfValue||g.strValue===y.strValue)return ln("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+g.strValue+"`"),this.parse(t,g.strValue);if(h.color){var x=g.value,v=y.value,b=x[0]===v[0]&&x[1]===v[1]&&x[2]===v[2]&&(x[3]===v[3]||(x[3]==null||x[3]===1)&&(v[3]==null||v[3]===1));if(b)return!1}return{name:t,value:d,strValue:""+e,mapped:m,field:d[1],fieldMin:parseFloat(d[2]),fieldMax:parseFloat(d[3]),valueMin:g.value,valueMax:y.value,bypass:r}}}if(h.multiple&&n!=="multiple"){var T;if(u?T=e.split(/\s+/):kn(e)?T=e:T=[e],h.evenMultiple&&T.length%2!==0)return null;for(var S=[],w=[],E=[],_="",A=!1,D=0;D0?" ":"")+O.strValue}return h.validate&&!h.validate(S,w)?null:h.singleEnum&&A?S.length===1&&Jt(S[0])?{name:t,value:S[0],strValue:S[0],bypass:r}:null:{name:t,value:S,pfValue:E,strValue:_,bypass:r,units:w}}var R=o(function(){for(var Q=0;Qh.max||h.strictMax&&e===h.max))return null;var M={name:t,value:e,strValue:""+e+(k||""),units:k,bypass:r};return h.unitless||k!=="px"&&k!=="em"?M.pfValue=e:M.pfValue=k==="px"||!k?e:this.getEmSizeInPixels()*e,(k==="ms"||k==="s")&&(M.pfValue=k==="ms"?e:1e3*e),(k==="deg"||k==="rad")&&(M.pfValue=k==="rad"?e:_Fe(e)),k==="%"&&(M.pfValue=e/100),M}else if(h.propList){var P=[],B=""+e;if(B!=="none"){for(var F=B.split(/\s*,\s*|\s+/),G=0;G0&&l>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0){u=Math.min((s-2*r)/n.w,(l-2*r)/n.h),u=u>this._private.maxZoom?this._private.maxZoom:u,u=u=n.minZoom&&(n.maxZoom=r),this},"zoomRange"),minZoom:o(function(e){return e===void 0?this._private.minZoom:this.zoomRange({min:e})},"minZoom"),maxZoom:o(function(e){return e===void 0?this._private.maxZoom:this.zoomRange({max:e})},"maxZoom"),getZoomedViewport:o(function(e){var r=this._private,n=r.pan,i=r.zoom,a,s,l=!1;if(r.zoomingEnabled||(l=!0),At(e)?s=e:Vr(e)&&(s=e.level,e.position!=null?a=oE(e.position,i,n):e.renderedPosition!=null&&(a=e.renderedPosition),a!=null&&!r.panningEnabled&&(l=!0)),s=s>r.maxZoom?r.maxZoom:s,s=sr.maxZoom||!r.zoomingEnabled?s=!0:(r.zoom=u,a.push("zoom"))}if(i&&(!s||!e.cancelOnFailedZoom)&&r.panningEnabled){var h=e.pan;At(h.x)&&(r.pan.x=h.x,l=!1),At(h.y)&&(r.pan.y=h.y,l=!1),l||a.push("pan")}return a.length>0&&(a.push("viewport"),this.emit(a.join(" ")),this.notify("viewport")),this},"viewport"),center:o(function(e){var r=this.getCenterPan(e);return r&&(this._private.pan=r,this.emit("pan viewport"),this.notify("viewport")),this},"center"),getCenterPan:o(function(e,r){if(this._private.panningEnabled){if(Jt(e)){var n=e;e=this.mutableElements().filter(n)}else ho(e)||(e=this.mutableElements());if(e.length!==0){var i=e.boundingBox(),a=this.width(),s=this.height();r=r===void 0?this._private.zoom:r;var l={x:(a-r*(i.x1+i.x2))/2,y:(s-r*(i.y1+i.y2))/2};return l}}},"getCenterPan"),reset:o(function(){return!this._private.panningEnabled||!this._private.zoomingEnabled?this:(this.viewport({pan:{x:0,y:0},zoom:1}),this)},"reset"),invalidateSize:o(function(){this._private.sizeCache=null},"invalidateSize"),size:o(function(){var e=this._private,r=e.container,n=this;return e.sizeCache=e.sizeCache||(r?function(){var i=n.window().getComputedStyle(r),a=o(function(l){return parseFloat(i.getPropertyValue(l))},"val");return{width:r.clientWidth-a("padding-left")-a("padding-right"),height:r.clientHeight-a("padding-top")-a("padding-bottom")}}():{width:1,height:1})},"size"),width:o(function(){return this.size().width},"width"),height:o(function(){return this.size().height},"height"),extent:o(function(){var e=this._private.pan,r=this._private.zoom,n=this.renderedExtent(),i={x1:(n.x1-e.x)/r,x2:(n.x2-e.x)/r,y1:(n.y1-e.y)/r,y2:(n.y2-e.y)/r};return i.w=i.x2-i.x1,i.h=i.y2-i.y1,i},"extent"),renderedExtent:o(function(){var e=this.width(),r=this.height();return{x1:0,y1:0,x2:e,y2:r,w:e,h:r}},"renderedExtent"),multiClickDebounceTime:o(function(e){if(e)this._private.multiClickDebounceTime=e;else return this._private.multiClickDebounceTime;return this},"multiClickDebounceTime")};xp.centre=xp.center;xp.autolockNodes=xp.autolock;xp.autoungrabifyNodes=xp.autoungrabify;px={data:on.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:on.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:on.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:on.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};px.attr=px.data;px.removeAttr=px.removeData;mx=o(function(e){var r=this;e=ir({},e);var n=e.container;n&&!qk(n)&&qk(n[0])&&(n=n[0]);var i=n?n._cyreg:null;i=i||{},i&&i.cy&&(i.cy.destroy(),i={});var a=i.readies=i.readies||[];n&&(n._cyreg=i),i.cy=r;var s=$i!==void 0&&n!==void 0&&!e.headless,l=e;l.layout=ir({name:s?"grid":"null"},l.layout),l.renderer=ir({name:s?"canvas":"null"},l.renderer);var u=o(function(g,y,x){return y!==void 0?y:x!==void 0?x:g},"defVal"),h=this._private={container:n,ready:!1,options:l,elements:new va(this),listeners:[],aniEles:new va(this),data:l.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:u(!0,l.zoomingEnabled),userZoomingEnabled:u(!0,l.userZoomingEnabled),panningEnabled:u(!0,l.panningEnabled),userPanningEnabled:u(!0,l.userPanningEnabled),boxSelectionEnabled:u(!0,l.boxSelectionEnabled),autolock:u(!1,l.autolock,l.autolockNodes),autoungrabify:u(!1,l.autoungrabify,l.autoungrabifyNodes),autounselectify:u(!1,l.autounselectify),styleEnabled:l.styleEnabled===void 0?s:l.styleEnabled,zoom:At(l.zoom)?l.zoom:1,pan:{x:Vr(l.pan)&&At(l.pan.x)?l.pan.x:0,y:Vr(l.pan)&&At(l.pan.y)?l.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:u(250,l.multiClickDebounceTime)};this.createEmitter(),this.selectionType(l.selectionType),this.zoomRange({min:l.minZoom,max:l.maxZoom});var f=o(function(g,y){var x=g.some(JPe);if(x)return sg.all(g).then(y);y(g)},"loadExtData");h.styleEnabled&&r.setStyle([]);var d=ir({},l,l.renderer);r.initRenderer(d);var p=o(function(g,y,x){r.notifications(!1);var v=r.mutableElements();v.length>0&&v.remove(),g!=null&&(Vr(g)||kn(g))&&r.add(g),r.one("layoutready",function(T){r.notifications(!0),r.emit(T),r.one("load",y),r.emitAndNotify("load")}).one("layoutstop",function(){r.one("done",x),r.emit("done")});var b=ir({},r._private.options.layout);b.eles=r.elements(),r.layout(b).run()},"setElesAndLayout");f([l.style,l.elements],function(m){var g=m[0],y=m[1];h.styleEnabled&&r.style().append(g),p(y,function(){r.startAnimationLoop(),h.ready=!0,li(l.ready)&&r.on("ready",l.ready);for(var x=0;x0,l=!!t.boundingBox,u=e.extent(),h=Us(l?t.boundingBox:{x1:u.x1,y1:u.y1,w:u.w,h:u.h}),f;if(ho(t.roots))f=t.roots;else if(kn(t.roots)){for(var d=[],p=0;p0;){var I=C(),M=O(I,k);if(M)I.outgoers().filter(function(W){return W.isNode()&&r.has(W)}).forEach(L);else if(M===null){ln("Detected double maximal shift for node `"+I.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}var P=0;if(t.avoidOverlap)for(var B=0;B0&&b[0].length<=3?Ge/2:0),Me=2*Math.PI/b[Pe].length*qe;return Pe===0&&b[0].length===1&&(Ne=1),{x:he.x+Ne*Math.cos(Me),y:he.y+Ne*Math.sin(Me)}}else{var be=b[Pe].length,q=Math.max(be===1?0:l?(h.w-t.padding*2-J.w)/((t.grid?se:be)-1):(h.w-t.padding*2-J.w)/((t.grid?se:be)+1),P),fe={x:he.x+(qe+1-(be+1)/2)*q,y:he.y+(Pe+1-(le+1)/2)*ye};return fe}},"getPosition");return r.nodes().layoutPositions(this,t,Se),this};ZVe={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:o(function(e,r){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:o(function(e,r){return r},"transform")};o(Fle,"CircleLayout");Fle.prototype.run=function(){var t=this.options,e=t,r=t.cy,n=e.eles,i=e.counterclockwise!==void 0?!e.counterclockwise:e.clockwise,a=n.nodes().not(":parent");e.sort&&(a=a.sort(e.sort));for(var s=Us(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),l={x:s.x1+s.w/2,y:s.y1+s.h/2},u=e.sweep===void 0?2*Math.PI-2*Math.PI/a.length:e.sweep,h=u/Math.max(1,a.length-1),f,d=0,p=0;p1&&e.avoidOverlap){d*=1.75;var v=Math.cos(h)-Math.cos(0),b=Math.sin(h)-Math.sin(0),T=Math.sqrt(d*d/(v*v+b*b));f=Math.max(T,f)}var S=o(function(E,_){var A=e.startAngle+_*h*(i?1:-1),D=f*Math.cos(A),O=f*Math.sin(A),R={x:l.x+D,y:l.y+O};return R},"getPos");return n.nodes().layoutPositions(this,e,S),this};JVe={fit:!0,padding:30,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:o(function(e){return e.degree()},"concentric"),levelWidth:o(function(e){return e.maxDegree()/4},"levelWidth"),animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:o(function(e,r){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:o(function(e,r){return r},"transform")};o($le,"ConcentricLayout");$le.prototype.run=function(){for(var t=this.options,e=t,r=e.counterclockwise!==void 0?!e.counterclockwise:e.clockwise,n=t.cy,i=e.eles,a=i.nodes().not(":parent"),s=Us(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l={x:s.x1+s.w/2,y:s.y1+s.h/2},u=[],h=0,f=0;f0){var w=Math.abs(b[0].value-S.value);w>=x&&(b=[],v.push(b))}b.push(S)}var E=h+e.minNodeSpacing;if(!e.avoidOverlap){var _=v.length>0&&v[0].length>1,A=Math.min(s.w,s.h)/2-E,D=A/(v.length+_?1:0);E=Math.min(E,D)}for(var O=0,R=0;R1&&e.avoidOverlap){var I=Math.cos(C)-Math.cos(0),M=Math.sin(C)-Math.sin(0),P=Math.sqrt(E*E/(I*I+M*M));O=Math.max(P,O)}k.r=O,O+=E}if(e.equidistant){for(var B=0,F=0,G=0;G=t.numIter||(oUe(n,t),n.temperature=n.temperature*t.coolingFactor,n.temperature=t.animationThreshold&&a(),Yk(d)}},"frame");f()}else{for(;h;)h=s(u),u++;soe(n,t),l()}return this};vE.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this};vE.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};tUe=o(function(e,r,n){for(var i=n.eles.edges(),a=n.eles.nodes(),s=Us(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),l={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:a.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:i.size(),temperature:n.initialTemp,clientWidth:s.w,clientHeight:s.h,boundingBox:s},u=n.eles.components(),h={},f=0;f0){l.graphSet.push(A);for(var f=0;fi.count?0:i.graph},"findLCA"),nUe=o(function t(e,r,n,i){var a=i.graphSet[n];if(-10)var d=i.nodeOverlap*f,p=Math.sqrt(l*l+u*u),m=d*l/p,g=d*u/p;else var y=eE(e,l,u),x=eE(r,-1*l,-1*u),v=x.x-y.x,b=x.y-y.y,T=v*v+b*b,p=Math.sqrt(T),d=(e.nodeRepulsion+r.nodeRepulsion)/T,m=d*v/p,g=d*b/p;e.isLocked||(e.offsetX-=m,e.offsetY-=g),r.isLocked||(r.offsetX+=m,r.offsetY+=g)}},"nodeRepulsion"),uUe=o(function(e,r,n,i){if(n>0)var a=e.maxX-r.minX;else var a=r.maxX-e.minX;if(i>0)var s=e.maxY-r.minY;else var s=r.maxY-e.minY;return a>=0&&s>=0?Math.sqrt(a*a+s*s):0},"nodesOverlap"),eE=o(function(e,r,n){var i=e.positionX,a=e.positionY,s=e.height||1,l=e.width||1,u=n/r,h=s/l,f={};return r===0&&0n?(f.x=i,f.y=a+s/2,f):0r&&-1*h<=u&&u<=h?(f.x=i-l/2,f.y=a-l*n/2/r,f):0=h)?(f.x=i+s*r/2/n,f.y=a+s/2,f):(0>n&&(u<=-1*h||u>=h)&&(f.x=i-s*r/2/n,f.y=a-s/2),f)},"findClippingPoint"),hUe=o(function(e,r){for(var n=0;nn){var x=r.gravity*m/y,v=r.gravity*g/y;p.offsetX+=x,p.offsetY+=v}}}}},"calculateGravityForces"),dUe=o(function(e,r){var n=[],i=0,a=-1;for(n.push.apply(n,e.graphSet[0]),a+=e.graphSet[0].length;i<=a;){var s=n[i++],l=e.idToIndex[s],u=e.layoutNodes[l],h=u.children;if(0n)var a={x:n*e/i,y:n*r/i};else var a={x:e,y:r};return a},"limitForce"),gUe=o(function t(e,r){var n=e.parentId;if(n!=null){var i=r.layoutNodes[r.idToIndex[n]],a=!1;if((i.maxX==null||e.maxX+i.padRight>i.maxX)&&(i.maxX=e.maxX+i.padRight,a=!0),(i.minX==null||e.minX-i.padLefti.maxY)&&(i.maxY=e.maxY+i.padBottom,a=!0),(i.minY==null||e.minY-i.padTopv&&(g+=x+r.componentSpacing,m=0,y=0,x=0)}}},"separateComponents"),yUe={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:o(function(e){},"position"),sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:o(function(e,r){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:o(function(e,r){return r},"transform")};o(zle,"GridLayout");zle.prototype.run=function(){var t=this.options,e=t,r=t.cy,n=e.eles,i=n.nodes().not(":parent");e.sort&&(i=i.sort(e.sort));var a=Us(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(a.h===0||a.w===0)n.nodes().layoutPositions(this,e,function(K){return{x:a.x1,y:a.y1}});else{var s=i.size(),l=Math.sqrt(s*a.h/a.w),u=Math.round(l),h=Math.round(a.w/a.h*l),f=o(function(ne){if(ne==null)return Math.min(u,h);var j=Math.min(u,h);j==u?u=ne:h=ne},"small"),d=o(function(ne){if(ne==null)return Math.max(u,h);var j=Math.max(u,h);j==u?u=ne:h=ne},"large"),p=e.rows,m=e.cols!=null?e.cols:e.columns;if(p!=null&&m!=null)u=p,h=m;else if(p!=null&&m==null)u=p,h=Math.ceil(s/u);else if(p==null&&m!=null)h=m,u=Math.ceil(s/h);else if(h*u>s){var g=f(),y=d();(g-1)*y>=s?f(g-1):(y-1)*g>=s&&d(y-1)}else for(;h*u=s?d(v+1):f(x+1)}var b=a.w/h,T=a.h/u;if(e.condense&&(b=0,T=0),e.avoidOverlap)for(var S=0;S=h&&(I=0,C++)},"moveToNextCell"),P={},B=0;B(I=zFe(t,e,M[P],M[P+1],M[P+2],M[P+3])))return x(_,I),!0}else if(D.edgeType==="bezier"||D.edgeType==="multibezier"||D.edgeType==="self"||D.edgeType==="compound"){for(var M=D.allpts,P=0;P+5(I=GFe(t,e,M[P],M[P+1],M[P+2],M[P+3],M[P+4],M[P+5])))return x(_,I),!0}for(var B=B||A.source,F=F||A.target,G=i.getArrowWidth(O,R),$=[{name:"source",x:D.arrowStartX,y:D.arrowStartY,angle:D.srcArrowAngle},{name:"target",x:D.arrowEndX,y:D.arrowEndY,angle:D.tgtArrowAngle},{name:"mid-source",x:D.midX,y:D.midY,angle:D.midsrcArrowAngle},{name:"mid-target",x:D.midX,y:D.midY,angle:D.midtgtArrowAngle}],P=0;P<$.length;P++){var U=$[P],K=a.arrowShapes[_.pstyle(U.name+"-arrow-shape").value],ne=_.pstyle("width").pfValue;if(K.roughCollide(t,e,G,U.angle,{x:U.x,y:U.y},ne,f)&&K.collide(t,e,G,U.angle,{x:U.x,y:U.y},ne,f))return x(_),!0}h&&l.length>0&&(v(B),v(F))}o(b,"checkEdge");function T(_,A,D){return Ml(_,A,D)}o(T,"preprop");function S(_,A){var D=_._private,O=p,R;A?R=A+"-":R="",_.boundingBox();var k=D.labelBounds[A||"main"],L=_.pstyle(R+"label").value,C=_.pstyle("text-events").strValue==="yes";if(!(!C||!L)){var I=T(D.rscratch,"labelX",A),M=T(D.rscratch,"labelY",A),P=T(D.rscratch,"labelAngle",A),B=_.pstyle(R+"text-margin-x").pfValue,F=_.pstyle(R+"text-margin-y").pfValue,G=k.x1-O-B,$=k.x2+O-B,U=k.y1-O-F,K=k.y2+O-F;if(P){var ne=Math.cos(P),j=Math.sin(P),le=o(function(he,J){return he=he-I,J=J-M,{x:he*ne-J*j+I,y:he*j+J*ne+M}},"rotate"),Z=le(G,U),ce=le(G,K),Q=le($,U),ee=le($,K),te=[Z.x+B,Z.y+F,Q.x+B,Q.y+F,ee.x+B,ee.y+F,ce.x+B,ce.y+F];if(Vs(t,e,te))return x(_),!0}else if(rg(k,t,e))return x(_),!0}}o(S,"checkLabel");for(var w=s.length-1;w>=0;w--){var E=s[w];E.isNode()?v(E)||S(E):b(E)||S(E)||S(E,"source")||S(E,"target")}return l};Tp.getAllInBox=function(t,e,r,n){var i=this.getCachedZSortedEles().interactive,a=[],s=Math.min(t,r),l=Math.max(t,r),u=Math.min(e,n),h=Math.max(e,n);t=s,r=l,e=u,n=h;for(var f=Us({x1:t,y1:e,x2:r,y2:n}),d=0;d0?-(Math.PI-e.ang):Math.PI+e.ang},"invertVec"),kUe=o(function(e,r,n,i,a){if(e!==hoe?foe(r,e,Rc):wUe(Yo,Rc),foe(r,n,Yo),coe=Rc.nx*Yo.ny-Rc.ny*Yo.nx,uoe=Rc.nx*Yo.nx-Rc.ny*-Yo.ny,Pu=Math.asin(Math.max(-1,Math.min(1,coe))),Math.abs(Pu)<1e-6){RN=r.x,NN=r.y,fp=Ym=0;return}dp=1,Hk=!1,uoe<0?Pu<0?Pu=Math.PI+Pu:(Pu=Math.PI-Pu,dp=-1,Hk=!0):Pu>0&&(dp=-1,Hk=!0),r.radius!==void 0?Ym=r.radius:Ym=i,lp=Pu/2,Mk=Math.min(Rc.len/2,Yo.len/2),a?(Lc=Math.abs(Math.cos(lp)*Ym/Math.sin(lp)),Lc>Mk?(Lc=Mk,fp=Math.abs(Lc*Math.sin(lp)/Math.cos(lp))):fp=Ym):(Lc=Math.min(Mk,Ym),fp=Math.abs(Lc*Math.sin(lp)/Math.cos(lp))),MN=r.x+Yo.nx*Lc,IN=r.y+Yo.ny*Lc,RN=MN-Yo.ny*fp*dp,NN=IN+Yo.nx*fp*dp,Wle=r.x+Rc.nx*Lc,qle=r.y+Rc.ny*Lc,hoe=r},"calcCornerArc");o(Yle,"drawPreparedRoundCorner");o(aM,"getRoundCorner");$a={};$a.findMidptPtsEtc=function(t,e){var r=e.posPts,n=e.intersectionPts,i=e.vectorNormInverse,a,s=t.pstyle("source-endpoint"),l=t.pstyle("target-endpoint"),u=s.units!=null&&l.units!=null,h=o(function(w,E,_,A){var D=A-E,O=_-w,R=Math.sqrt(O*O+D*D);return{x:-D/R,y:O/R}},"recalcVectorNormInverse"),f=t.pstyle("edge-distances").value;switch(f){case"node-position":a=r;break;case"intersection":a=n;break;case"endpoints":{if(u){var d=this.manualEndptToPx(t.source()[0],s),p=Di(d,2),m=p[0],g=p[1],y=this.manualEndptToPx(t.target()[0],l),x=Di(y,2),v=x[0],b=x[1],T={x1:m,y1:g,x2:v,y2:b};i=h(m,g,v,b),a=T}else ln("Edge ".concat(t.id()," has edge-distances:endpoints specified without manual endpoints specified via source-endpoint and target-endpoint. Falling back on edge-distances:intersection (default).")),a=n;break}}return{midptPts:a,vectorNormInverse:i}};$a.findHaystackPoints=function(t){for(var e=0;e0?Math.max(Y-de,0):Math.min(Y+de,0)},"subDWH"),L=k(O,A),C=k(R,D),I=!1;b===h?v=Math.abs(L)>Math.abs(C)?i:n:b===u||b===l?(v=n,I=!0):(b===a||b===s)&&(v=i,I=!0);var M=v===n,P=M?C:L,B=M?R:O,F=Qoe(B),G=!1;!(I&&(S||E))&&(b===l&&B<0||b===u&&B>0||b===a&&B>0||b===s&&B<0)&&(F*=-1,P=F*Math.abs(P),G=!0);var $;if(S){var U=w<0?1+w:w;$=U*P}else{var K=w<0?P:0;$=K+w*F}var ne=o(function(Y){return Math.abs(Y)<_||Math.abs(Y)>=Math.abs(P)},"getIsTooClose"),j=ne($),le=ne(Math.abs(P)-Math.abs($)),Z=j||le;if(Z&&!G)if(M){var ce=Math.abs(B)<=p/2,Q=Math.abs(O)<=m/2;if(ce){var ee=(f.x1+f.x2)/2,te=f.y1,re=f.y2;r.segpts=[ee,te,ee,re]}else if(Q){var he=(f.y1+f.y2)/2,J=f.x1,ye=f.x2;r.segpts=[J,he,ye,he]}else r.segpts=[f.x1,f.y2]}else{var se=Math.abs(B)<=d/2,Se=Math.abs(R)<=g/2;if(se){var W=(f.y1+f.y2)/2,Oe=f.x1,ve=f.x2;r.segpts=[Oe,W,ve,W]}else if(Se){var Pe=(f.x1+f.x2)/2,qe=f.y1,Ge=f.y2;r.segpts=[Pe,qe,Pe,Ge]}else r.segpts=[f.x2,f.y1]}else if(M){var Ne=f.y1+$+(x?p/2*F:0),Me=f.x1,be=f.x2;r.segpts=[Me,Ne,be,Ne]}else{var q=f.x1+$+(x?d/2*F:0),fe=f.y1,ae=f.y2;r.segpts=[q,fe,q,ae]}if(r.isRound){var oe=t.pstyle("taxi-radius").value,V=t.pstyle("radius-type").value[0]==="arc-radius";r.radii=new Array(r.segpts.length/2).fill(oe),r.isArcRadius=new Array(r.segpts.length/2).fill(V)}};$a.tryToCorrectInvalidPoints=function(t,e){var r=t._private.rscratch;if(r.edgeType==="bezier"){var n=e.srcPos,i=e.tgtPos,a=e.srcW,s=e.srcH,l=e.tgtW,u=e.tgtH,h=e.srcShape,f=e.tgtShape,d=e.srcCornerRadius,p=e.tgtCornerRadius,m=e.srcRs,g=e.tgtRs,y=!At(r.startX)||!At(r.startY),x=!At(r.arrowStartX)||!At(r.arrowStartY),v=!At(r.endX)||!At(r.endY),b=!At(r.arrowEndX)||!At(r.arrowEndY),T=3,S=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth,w=T*S,E=gp({x:r.ctrlpts[0],y:r.ctrlpts[1]},{x:r.startX,y:r.startY}),_=EC.poolIndex()){var I=L;L=C,C=I}var M=D.srcPos=L.position(),P=D.tgtPos=C.position(),B=D.srcW=L.outerWidth(),F=D.srcH=L.outerHeight(),G=D.tgtW=C.outerWidth(),$=D.tgtH=C.outerHeight(),U=D.srcShape=r.nodeShapes[e.getNodeShape(L)],K=D.tgtShape=r.nodeShapes[e.getNodeShape(C)],ne=D.srcCornerRadius=L.pstyle("corner-radius").value==="auto"?"auto":L.pstyle("corner-radius").pfValue,j=D.tgtCornerRadius=C.pstyle("corner-radius").value==="auto"?"auto":C.pstyle("corner-radius").pfValue,le=D.tgtRs=C._private.rscratch,Z=D.srcRs=L._private.rscratch;D.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var ce=0;ce0){var re=a,he=up(re,jm(r)),J=up(re,jm(te)),ye=he;if(J2){var se=up(re,{x:te[2],y:te[3]});se0){var ae=s,oe=up(ae,jm(r)),V=up(ae,jm(fe)),xe=oe;if(V2){var Y=up(ae,{x:fe[2],y:fe[3]});Y=g||_){x={cp:S,segment:E};break}}if(x)break}var A=x.cp,D=x.segment,O=(g-v)/D.length,R=D.t1-D.t0,k=m?D.t0+R*O:D.t1-R*O;k=cx(0,k,1),e=Qm(A.p0,A.p1,A.p2,k),p=SUe(A.p0,A.p1,A.p2,k);break}case"straight":case"segments":case"haystack":{for(var L=0,C,I,M,P,B=n.allpts.length,F=0;F+3=g));F+=2);var G=g-I,$=G/C;$=cx(0,$,1),e=LFe(M,P,$),p=Kle(M,P);break}}s("labelX",d,e.x),s("labelY",d,e.y),s("labelAutoAngle",d,p)}},"calculateEndProjection");h("source"),h("target"),this.applyLabelDimensions(t)}};Oc.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))};Oc.applyPrefixedLabelDimensions=function(t,e){var r=t._private,n=this.getLabelText(t,e),i=this.calculateLabelDimensions(t,n),a=t.pstyle("line-height").pfValue,s=t.pstyle("text-wrap").strValue,l=Ml(r.rscratch,"labelWrapCachedLines",e)||[],u=s!=="wrap"?1:Math.max(l.length,1),h=i.height/u,f=h*a,d=i.width,p=i.height+(u-1)*(a-1)*h;df(r.rstyle,"labelWidth",e,d),df(r.rscratch,"labelWidth",e,d),df(r.rstyle,"labelHeight",e,p),df(r.rscratch,"labelHeight",e,p),df(r.rscratch,"labelLineHeight",e,f)};Oc.getLabelText=function(t,e){var r=t._private,n=e?e+"-":"",i=t.pstyle(n+"label").strValue,a=t.pstyle("text-transform").value,s=o(function(K,ne){return ne?(df(r.rscratch,K,e,ne),ne):Ml(r.rscratch,K,e)},"rscratch");if(!i)return"";a=="none"||(a=="uppercase"?i=i.toUpperCase():a=="lowercase"&&(i=i.toLowerCase()));var l=t.pstyle("text-wrap").value;if(l==="wrap"){var u=s("labelKey");if(u!=null&&s("labelWrapKey")===u)return s("labelWrapCachedText");for(var h="\u200B",f=i.split(` +`),d=t.pstyle("text-max-width").pfValue,p=t.pstyle("text-overflow-wrap").value,m=p==="anywhere",g=[],y=/[\s\u200b]+|$/g,x=0;xd){var w=v.matchAll(y),E="",_=0,A=uo(w),D;try{for(A.s();!(D=A.n()).done;){var O=D.value,R=O[0],k=v.substring(_,O.index);_=O.index+R.length;var L=E.length===0?k:E+k+R,C=this.calculateLabelDimensions(t,L),I=C.width;I<=d?E+=k+R:(E&&g.push(E),E=k+R)}}catch(U){A.e(U)}finally{A.f()}E.match(/^[\s\u200b]+$/)||g.push(E)}else g.push(v)}s("labelWrapCachedLines",g),i=s("labelWrapCachedText",g.join(` +`)),s("labelWrapKey",u)}else if(l==="ellipsis"){var M=t.pstyle("text-max-width").pfValue,P="",B="\u2026",F=!1;if(this.calculateLabelDimensions(t,i).widthM)break;P+=i[G],G===i.length-1&&(F=!0)}return F||(P+=B),P}return i};Oc.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,r=t.pstyle("text-halign").strValue;if(e==="auto")if(t.isNode())switch(r){case"left":return"right";case"right":return"left";default:return"center"}else return"center";else return e};Oc.calculateLabelDimensions=function(t,e){var r=this,n=r.cy.window(),i=n.document,a=vf(e,t._private.labelDimsKey),s=r.labelDimCache||(r.labelDimCache=[]),l=s[a];if(l!=null)return l;var u=0,h=t.pstyle("font-style").strValue,f=t.pstyle("font-size").pfValue,d=t.pstyle("font-family").strValue,p=t.pstyle("font-weight").strValue,m=this.labelCalcCanvas,g=this.labelCalcCanvasContext;if(!m){m=this.labelCalcCanvas=i.createElement("canvas"),g=this.labelCalcCanvasContext=m.getContext("2d");var y=m.style;y.position="absolute",y.left="-9999px",y.top="-9999px",y.zIndex="-1",y.visibility="hidden",y.pointerEvents="none"}g.font="".concat(h," ").concat(p," ").concat(f,"px ").concat(d);for(var x=0,v=0,b=e.split(` +`),T=0;T1&&arguments[1]!==void 0?arguments[1]:!0;if(e.merge(s),l)for(var u=0;u=t.desktopTapThreshold2}var ct=a(q);ot&&(t.hoverData.tapholdCancelled=!0);var Yt=o(function(){var kt=t.hoverData.dragDelta=t.hoverData.dragDelta||[];kt.length===0?(kt.push(De[0]),kt.push(De[1])):(kt[0]+=De[0],kt[1]+=De[1])},"updateDragDelta");ae=!0,i(_e,["mousemove","vmousemove","tapdrag"],q,{x:Y[0],y:Y[1]});var Tt=o(function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||oe.emit({originalEvent:q,type:"boxstart",position:{x:Y[0],y:Y[1]}}),Be[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()},"goIntoBoxMode");if(t.hoverData.which===3){if(ot){var Mt={originalEvent:q,type:"cxtdrag",position:{x:Y[0],y:Y[1]}};Ue?Ue.emit(Mt):oe.emit(Mt),t.hoverData.cxtDragged=!0,(!t.hoverData.cxtOver||_e!==t.hoverData.cxtOver)&&(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:q,type:"cxtdragout",position:{x:Y[0],y:Y[1]}}),t.hoverData.cxtOver=_e,_e&&_e.emit({originalEvent:q,type:"cxtdragover",position:{x:Y[0],y:Y[1]}}))}}else if(t.hoverData.dragging){if(ae=!0,oe.panningEnabled()&&oe.userPanningEnabled()){var bt;if(t.hoverData.justStartedPan){var ft=t.hoverData.mdownPos;bt={x:(Y[0]-ft[0])*V,y:(Y[1]-ft[1])*V},t.hoverData.justStartedPan=!1}else bt={x:De[0]*V,y:De[1]*V};oe.panBy(bt),oe.emit("dragpan"),t.hoverData.dragged=!0}Y=t.projectIntoViewport(q.clientX,q.clientY)}else if(Be[4]==1&&(Ue==null||Ue.pannable())){if(ot){if(!t.hoverData.dragging&&oe.boxSelectionEnabled()&&(ct||!oe.panningEnabled()||!oe.userPanningEnabled()))Tt();else if(!t.hoverData.selecting&&oe.panningEnabled()&&oe.userPanningEnabled()){var St=s(Ue,t.hoverData.downs);St&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,Be[4]=0,t.data.bgActivePosistion=jm(de),t.redrawHint("select",!0),t.redraw())}Ue&&Ue.pannable()&&Ue.active()&&Ue.unactivate()}}else{if(Ue&&Ue.pannable()&&Ue.active()&&Ue.unactivate(),(!Ue||!Ue.grabbed())&&_e!=Te&&(Te&&i(Te,["mouseout","tapdragout"],q,{x:Y[0],y:Y[1]}),_e&&i(_e,["mouseover","tapdragover"],q,{x:Y[0],y:Y[1]}),t.hoverData.last=_e),Ue)if(ot){if(oe.boxSelectionEnabled()&&ct)Ue&&Ue.grabbed()&&(v(Qe),Ue.emit("freeon"),Qe.emit("free"),t.dragData.didDrag&&(Ue.emit("dragfreeon"),Qe.emit("dragfree"))),Tt();else if(Ue&&Ue.grabbed()&&t.nodeIsDraggable(Ue)){var dt=!t.dragData.didDrag;dt&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||y(Qe,{inDragLayer:!0});var vt={x:0,y:0};if(At(De[0])&&At(De[1])&&(vt.x+=De[0],vt.y+=De[1],dt)){var at=t.hoverData.dragDelta;at&&At(at[0])&&At(at[1])&&(vt.x+=at[0],vt.y+=at[1])}t.hoverData.draggingEles=!0,Qe.silentShift(vt).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else Yt();ae=!0}if(Be[2]=Y[0],Be[3]=Y[1],ae)return q.stopPropagation&&q.stopPropagation(),q.preventDefault&&q.preventDefault(),!1}},"mousemoveHandler"),!1);var k,L,C;t.registerBinding(e,"mouseup",o(function(q){if(!(t.hoverData.which===1&&q.which!==1&&t.hoverData.capture)){var fe=t.hoverData.capture;if(fe){t.hoverData.capture=!1;var ae=t.cy,oe=t.projectIntoViewport(q.clientX,q.clientY),V=t.selection,xe=t.findNearestElement(oe[0],oe[1],!0,!1),Y=t.dragData.possibleDragElements,de=t.hoverData.down,me=a(q);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,de&&de.unactivate(),t.hoverData.which===3){var Be={originalEvent:q,type:"cxttapend",position:{x:oe[0],y:oe[1]}};if(de?de.emit(Be):ae.emit(Be),!t.hoverData.cxtDragged){var _e={originalEvent:q,type:"cxttap",position:{x:oe[0],y:oe[1]}};de?de.emit(_e):ae.emit(_e)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(t.hoverData.which===1){if(i(xe,["mouseup","tapend","vmouseup"],q,{x:oe[0],y:oe[1]}),!t.dragData.didDrag&&!t.hoverData.dragged&&!t.hoverData.selecting&&!t.hoverData.isOverThresholdDrag&&(i(de,["click","tap","vclick"],q,{x:oe[0],y:oe[1]}),L=!1,q.timeStamp-C<=ae.multiClickDebounceTime()?(k&&clearTimeout(k),L=!0,C=null,i(de,["dblclick","dbltap","vdblclick"],q,{x:oe[0],y:oe[1]})):(k=setTimeout(function(){L||i(de,["oneclick","onetap","voneclick"],q,{x:oe[0],y:oe[1]})},ae.multiClickDebounceTime()),C=q.timeStamp)),de==null&&!t.dragData.didDrag&&!t.hoverData.selecting&&!t.hoverData.dragged&&!a(q)&&(ae.$(r).unselect(["tapunselect"]),Y.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=Y=ae.collection()),xe==de&&!t.dragData.didDrag&&!t.hoverData.selecting&&xe!=null&&xe._private.selectable&&(t.hoverData.dragging||(ae.selectionType()==="additive"||me?xe.selected()?xe.unselect(["tapunselect"]):xe.select(["tapselect"]):me||(ae.$(r).unmerge(xe).unselect(["tapunselect"]),xe.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var Te=ae.collection(t.getAllInBox(V[0],V[1],V[2],V[3]));t.redrawHint("select",!0),Te.length>0&&t.redrawHint("eles",!0),ae.emit({type:"boxend",originalEvent:q,position:{x:oe[0],y:oe[1]}});var Ue=o(function(ot){return ot.selectable()&&!ot.selected()},"eleWouldBeSelected");ae.selectionType()==="additive"||me||ae.$(r).unmerge(Te).unselect(),Te.emit("box").stdFilter(Ue).select().emit("boxselect"),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!V[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var De=de&&de.grabbed();v(Y),De&&(de.emit("freeon"),Y.emit("free"),t.dragData.didDrag&&(de.emit("dragfreeon"),Y.emit("dragfree")))}}V[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null,t.hoverData.which=null}}},"mouseupHandler"),!1);var I=o(function(q){if(!t.scrollingPage){var fe=t.cy,ae=fe.zoom(),oe=fe.pan(),V=t.projectIntoViewport(q.clientX,q.clientY),xe=[V[0]*ae+oe.x,V[1]*ae+oe.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||D()){q.preventDefault();return}if(fe.panningEnabled()&&fe.userPanningEnabled()&&fe.zoomingEnabled()&&fe.userZoomingEnabled()){q.preventDefault(),t.data.wheelZooming=!0,clearTimeout(t.data.wheelTimeout),t.data.wheelTimeout=setTimeout(function(){t.data.wheelZooming=!1,t.redrawHint("eles",!0),t.redraw()},150);var Y;q.deltaY!=null?Y=q.deltaY/-250:q.wheelDeltaY!=null?Y=q.wheelDeltaY/1e3:Y=q.wheelDelta/1e3,Y=Y*t.wheelSensitivity;var de=q.deltaMode===1;de&&(Y*=33);var me=fe.zoom()*Math.pow(10,Y);q.type==="gesturechange"&&(me=t.gestureStartZoom*q.scale),fe.zoom({level:me,renderedPosition:{x:xe[0],y:xe[1]}}),fe.emit(q.type==="gesturechange"?"pinchzoom":"scrollzoom")}}},"wheelHandler");t.registerBinding(t.container,"wheel",I,!0),t.registerBinding(e,"scroll",o(function(q){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout(function(){t.scrollingPage=!1},250)},"scrollHandler"),!0),t.registerBinding(t.container,"gesturestart",o(function(q){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||q.preventDefault()},"gestureStartHandler"),!0),t.registerBinding(t.container,"gesturechange",function(be){t.hasTouchStarted||I(be)},!0),t.registerBinding(t.container,"mouseout",o(function(q){var fe=t.projectIntoViewport(q.clientX,q.clientY);t.cy.emit({originalEvent:q,type:"mouseout",position:{x:fe[0],y:fe[1]}})},"mouseOutHandler"),!1),t.registerBinding(t.container,"mouseover",o(function(q){var fe=t.projectIntoViewport(q.clientX,q.clientY);t.cy.emit({originalEvent:q,type:"mouseover",position:{x:fe[0],y:fe[1]}})},"mouseOverHandler"),!1);var M,P,B,F,G,$,U,K,ne,j,le,Z,ce,Q=o(function(q,fe,ae,oe){return Math.sqrt((ae-q)*(ae-q)+(oe-fe)*(oe-fe))},"distance"),ee=o(function(q,fe,ae,oe){return(ae-q)*(ae-q)+(oe-fe)*(oe-fe)},"distanceSq"),te;t.registerBinding(t.container,"touchstart",te=o(function(q){if(t.hasTouchStarted=!0,!!O(q)){T(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var fe=t.cy,ae=t.touchData.now,oe=t.touchData.earlier;if(q.touches[0]){var V=t.projectIntoViewport(q.touches[0].clientX,q.touches[0].clientY);ae[0]=V[0],ae[1]=V[1]}if(q.touches[1]){var V=t.projectIntoViewport(q.touches[1].clientX,q.touches[1].clientY);ae[2]=V[0],ae[3]=V[1]}if(q.touches[2]){var V=t.projectIntoViewport(q.touches[2].clientX,q.touches[2].clientY);ae[4]=V[0],ae[5]=V[1]}if(q.touches[1]){t.touchData.singleTouchMoved=!0,v(t.dragData.touchDragEles);var xe=t.findContainerClientCoords();ne=xe[0],j=xe[1],le=xe[2],Z=xe[3],M=q.touches[0].clientX-ne,P=q.touches[0].clientY-j,B=q.touches[1].clientX-ne,F=q.touches[1].clientY-j,ce=0<=M&&M<=le&&0<=B&&B<=le&&0<=P&&P<=Z&&0<=F&&F<=Z;var Y=fe.pan(),de=fe.zoom();G=Q(M,P,B,F),$=ee(M,P,B,F),U=[(M+B)/2,(P+F)/2],K=[(U[0]-Y.x)/de,(U[1]-Y.y)/de];var me=200,Be=me*me;if($=1){for(var Ze=t.touchData.startPosition=[null,null,null,null,null,null],Ve=0;Ve=t.touchTapThreshold2}if(fe&&t.touchData.cxt){q.preventDefault();var Ze=q.touches[0].clientX-ne,Ve=q.touches[0].clientY-j,ht=q.touches[1].clientX-ne,Ye=q.touches[1].clientY-j,ct=ee(Ze,Ve,ht,Ye),Yt=ct/$,Tt=150,Mt=Tt*Tt,bt=1.5,ft=bt*bt;if(Yt>=ft||ct>=Mt){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var St={originalEvent:q,type:"cxttapend",position:{x:V[0],y:V[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(St),t.touchData.start=null):oe.emit(St)}}if(fe&&t.touchData.cxt){var St={originalEvent:q,type:"cxtdrag",position:{x:V[0],y:V[1]}};t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(St):oe.emit(St),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var dt=t.findNearestElement(V[0],V[1],!0,!0);(!t.touchData.cxtOver||dt!==t.touchData.cxtOver)&&(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:q,type:"cxtdragout",position:{x:V[0],y:V[1]}}),t.touchData.cxtOver=dt,dt&&dt.emit({originalEvent:q,type:"cxtdragover",position:{x:V[0],y:V[1]}}))}else if(fe&&q.touches[2]&&oe.boxSelectionEnabled())q.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||oe.emit({originalEvent:q,type:"boxstart",position:{x:V[0],y:V[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,ae[4]=1,!ae||ae.length===0||ae[0]===void 0?(ae[0]=(V[0]+V[2]+V[4])/3,ae[1]=(V[1]+V[3]+V[5])/3,ae[2]=(V[0]+V[2]+V[4])/3+1,ae[3]=(V[1]+V[3]+V[5])/3+1):(ae[2]=(V[0]+V[2]+V[4])/3,ae[3]=(V[1]+V[3]+V[5])/3),t.redrawHint("select",!0),t.redraw();else if(fe&&q.touches[1]&&!t.touchData.didSelect&&oe.zoomingEnabled()&&oe.panningEnabled()&&oe.userZoomingEnabled()&&oe.userPanningEnabled()){q.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var vt=t.dragData.touchDragEles;if(vt){t.redrawHint("drag",!0);for(var at=0;at0&&!t.hoverData.draggingEles&&!t.swipePanning&&t.data.bgActivePosistion!=null&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},"touchmoveHandler"),!1);var he;t.registerBinding(e,"touchcancel",he=o(function(q){var fe=t.touchData.start;t.touchData.capture=!1,fe&&fe.unactivate()},"touchcancelHandler"));var J,ye,se,Se;if(t.registerBinding(e,"touchend",J=o(function(q){var fe=t.touchData.start,ae=t.touchData.capture;if(ae)q.touches.length===0&&(t.touchData.capture=!1),q.preventDefault();else return;var oe=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var V=t.cy,xe=V.zoom(),Y=t.touchData.now,de=t.touchData.earlier;if(q.touches[0]){var me=t.projectIntoViewport(q.touches[0].clientX,q.touches[0].clientY);Y[0]=me[0],Y[1]=me[1]}if(q.touches[1]){var me=t.projectIntoViewport(q.touches[1].clientX,q.touches[1].clientY);Y[2]=me[0],Y[3]=me[1]}if(q.touches[2]){var me=t.projectIntoViewport(q.touches[2].clientX,q.touches[2].clientY);Y[4]=me[0],Y[5]=me[1]}fe&&fe.unactivate();var Be;if(t.touchData.cxt){if(Be={originalEvent:q,type:"cxttapend",position:{x:Y[0],y:Y[1]}},fe?fe.emit(Be):V.emit(Be),!t.touchData.cxtDragged){var _e={originalEvent:q,type:"cxttap",position:{x:Y[0],y:Y[1]}};fe?fe.emit(_e):V.emit(_e)}t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,t.redraw();return}if(!q.touches[2]&&V.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var Te=V.collection(t.getAllInBox(oe[0],oe[1],oe[2],oe[3]));oe[0]=void 0,oe[1]=void 0,oe[2]=void 0,oe[3]=void 0,oe[4]=0,t.redrawHint("select",!0),V.emit({type:"boxend",originalEvent:q,position:{x:Y[0],y:Y[1]}});var Ue=o(function(Mt){return Mt.selectable()&&!Mt.selected()},"eleWouldBeSelected");Te.emit("box").stdFilter(Ue).select().emit("boxselect"),Te.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(fe?.unactivate(),q.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(!q.touches[1]){if(!q.touches[0]){if(!q.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var De=t.dragData.touchDragEles;if(fe!=null){var Qe=fe._private.grabbed;v(De),t.redrawHint("drag",!0),t.redrawHint("eles",!0),Qe&&(fe.emit("freeon"),De.emit("free"),t.dragData.didDrag&&(fe.emit("dragfreeon"),De.emit("dragfree"))),i(fe,["touchend","tapend","vmouseup","tapdragout"],q,{x:Y[0],y:Y[1]}),fe.unactivate(),t.touchData.start=null}else{var ot=t.findNearestElement(Y[0],Y[1],!0,!0);i(ot,["touchend","tapend","vmouseup","tapdragout"],q,{x:Y[0],y:Y[1]})}var Gt=t.touchData.startPosition[0]-Y[0],Ze=Gt*Gt,Ve=t.touchData.startPosition[1]-Y[1],ht=Ve*Ve,Ye=Ze+ht,ct=Ye*xe*xe;t.touchData.singleTouchMoved||(fe||V.$(":selected").unselect(["tapunselect"]),i(fe,["tap","vclick"],q,{x:Y[0],y:Y[1]}),ye=!1,q.timeStamp-Se<=V.multiClickDebounceTime()?(se&&clearTimeout(se),ye=!0,Se=null,i(fe,["dbltap","vdblclick"],q,{x:Y[0],y:Y[1]})):(se=setTimeout(function(){ye||i(fe,["onetap","voneclick"],q,{x:Y[0],y:Y[1]})},V.multiClickDebounceTime()),Se=q.timeStamp)),fe!=null&&!t.dragData.didDrag&&fe._private.selectable&&ct"u"){var W=[],Oe=o(function(q){return{clientX:q.clientX,clientY:q.clientY,force:1,identifier:q.pointerId,pageX:q.pageX,pageY:q.pageY,radiusX:q.width/2,radiusY:q.height/2,screenX:q.screenX,screenY:q.screenY,target:q.target}},"makeTouch"),ve=o(function(q){return{event:q,touch:Oe(q)}},"makePointer"),Pe=o(function(q){W.push(ve(q))},"addPointer"),qe=o(function(q){for(var fe=0;fe0)return U[0]}return null},"getCurveT"),g=Object.keys(p),y=0;y0?m:ele(a,s,e,r,n,i,l,u)},"intersectLine"),checkPoint:o(function(e,r,n,i,a,s,l,u){u=u==="auto"?yp(i,a):u;var h=2*u;if(Fu(e,r,this.points,s,l,i,a-h,[0,-1],n)||Fu(e,r,this.points,s,l,i-h,a,[0,-1],n))return!0;var f=i/2+2*n,d=a/2+2*n,p=[s-f,l-d,s-f,l,s+f,l,s+f,l-d];return!!(Vs(e,r,p)||pp(e,r,h,h,s+i/2-u,l+a/2-u,n)||pp(e,r,h,h,s-i/2+u,l+a/2-u,n))},"checkPoint")}};Gu.registerNodeShapes=function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",ls(3,0)),this.generateRoundPolygon("round-triangle",ls(3,0)),this.generatePolygon("rectangle",ls(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var r=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",r),this.generateRoundPolygon("round-diamond",r)}this.generatePolygon("pentagon",ls(5,0)),this.generateRoundPolygon("round-pentagon",ls(5,0)),this.generatePolygon("hexagon",ls(6,0)),this.generateRoundPolygon("round-hexagon",ls(6,0)),this.generatePolygon("heptagon",ls(7,0)),this.generateRoundPolygon("round-heptagon",ls(7,0)),this.generatePolygon("octagon",ls(8,0)),this.generateRoundPolygon("round-octagon",ls(8,0));var n=new Array(20);{var i=kN(5,0),a=kN(5,Math.PI/5),s=.5*(3-Math.sqrt(5));s*=1.57;for(var l=0;l=e.deqFastCost*S)break}else if(h){if(b>=e.deqCost*m||b>=e.deqAvgCost*p)break}else if(T>=e.deqNoDrawCost*gN)break;var w=e.deq(n,x,y);if(w.length>0)for(var E=0;E0&&(e.onDeqd(n,g),!h&&e.shouldRedraw(n,g,x,y)&&a())},"dequeue"),l=e.priority||UN;i.beforeRender(s,l(n))}},"setupDequeueingImpl")},"setupDequeueing")},AUe=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xk;kf(this,t),this.idsByKey=new Mc,this.keyForId=new Mc,this.cachesByLvl=new Mc,this.lvls=[],this.getKey=e,this.doesEleInvalidateKey=r}return o(t,"ElementTextureCacheLookup"),Ef(t,[{key:"getIdsFor",value:o(function(r){r==null&&oi("Can not get id list for null key");var n=this.idsByKey,i=this.idsByKey.get(r);return i||(i=new ag,n.set(r,i)),i},"getIdsFor")},{key:"addIdForKey",value:o(function(r,n){r!=null&&this.getIdsFor(r).add(n)},"addIdForKey")},{key:"deleteIdForKey",value:o(function(r,n){r!=null&&this.getIdsFor(r).delete(n)},"deleteIdForKey")},{key:"getNumberOfIdsForKey",value:o(function(r){return r==null?0:this.getIdsFor(r).size},"getNumberOfIdsForKey")},{key:"updateKeyMappingFor",value:o(function(r){var n=r.id(),i=this.keyForId.get(n),a=this.getKey(r);this.deleteIdForKey(i,n),this.addIdForKey(a,n),this.keyForId.set(n,a)},"updateKeyMappingFor")},{key:"deleteKeyMappingFor",value:o(function(r){var n=r.id(),i=this.keyForId.get(n);this.deleteIdForKey(i,n),this.keyForId.delete(n)},"deleteKeyMappingFor")},{key:"keyHasChangedFor",value:o(function(r){var n=r.id(),i=this.keyForId.get(n),a=this.getKey(r);return i!==a},"keyHasChangedFor")},{key:"isInvalid",value:o(function(r){return this.keyHasChangedFor(r)||this.doesEleInvalidateKey(r)},"isInvalid")},{key:"getCachesAt",value:o(function(r){var n=this.cachesByLvl,i=this.lvls,a=n.get(r);return a||(a=new Mc,n.set(r,a),i.push(r)),a},"getCachesAt")},{key:"getCache",value:o(function(r,n){return this.getCachesAt(n).get(r)},"getCache")},{key:"get",value:o(function(r,n){var i=this.getKey(r),a=this.getCache(i,n);return a!=null&&this.updateKeyMappingFor(r),a},"get")},{key:"getForCachedKey",value:o(function(r,n){var i=this.keyForId.get(r.id()),a=this.getCache(i,n);return a},"getForCachedKey")},{key:"hasCache",value:o(function(r,n){return this.getCachesAt(n).has(r)},"hasCache")},{key:"has",value:o(function(r,n){var i=this.getKey(r);return this.hasCache(i,n)},"has")},{key:"setCache",value:o(function(r,n,i){i.key=r,this.getCachesAt(n).set(r,i)},"setCache")},{key:"set",value:o(function(r,n,i){var a=this.getKey(r);this.setCache(a,n,i),this.updateKeyMappingFor(r)},"set")},{key:"deleteCache",value:o(function(r,n){this.getCachesAt(n).delete(r)},"deleteCache")},{key:"delete",value:o(function(r,n){var i=this.getKey(r);this.deleteCache(i,n)},"_delete")},{key:"invalidateKey",value:o(function(r){var n=this;this.lvls.forEach(function(i){return n.deleteCache(r,i)})},"invalidateKey")},{key:"invalidate",value:o(function(r){var n=r.id(),i=this.keyForId.get(n);this.deleteKeyMappingFor(r);var a=this.doesEleInvalidateKey(r);return a&&this.invalidateKey(i),a||this.getNumberOfIdsForKey(i)===0},"invalidate")}]),t}(),goe=25,Ik=50,Wk=-4,ON=3,rce=7.99,_Ue=8,DUe=1024,LUe=1024,RUe=1024,NUe=.2,MUe=.8,IUe=10,OUe=.15,PUe=.1,BUe=.9,FUe=.9,$Ue=100,GUe=1,Km={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},zUe=na({getKey:null,doesEleInvalidateKey:Xk,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:qoe,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),ex=o(function(e,r){var n=this;n.renderer=e,n.onDequeues=[];var i=zUe(r);ir(n,i),n.lookup=new AUe(i.getKey,i.doesEleInvalidateKey),n.setupDequeueing()},"ElementTextureCache"),Vi=ex.prototype;Vi.reasons=Km;Vi.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]};Vi.getRetiredTextureQueue=function(t){var e=this,r=e.eleImgCaches.retired=e.eleImgCaches.retired||{},n=r[t]=r[t]||[];return n};Vi.getElementQueue=function(){var t=this,e=t.eleCacheQueue=t.eleCacheQueue||new bx(function(r,n){return n.reqs-r.reqs});return e};Vi.getElementKeyToQueue=function(){var t=this,e=t.eleKeyToCacheQueue=t.eleKeyToCacheQueue||{};return e};Vi.getElement=function(t,e,r,n,i){var a=this,s=this.renderer,l=s.cy.zoom(),u=this.lookup;if(!e||e.w===0||e.h===0||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed()||!a.allowEdgeTxrCaching&&t.isEdge()||!a.allowParentTxrCaching&&t.isParent())return null;if(n==null&&(n=Math.ceil(WN(l*r))),n=rce||n>ON)return null;var h=Math.pow(2,n),f=e.h*h,d=e.w*h,p=s.eleTextBiggerThanMin(t,h);if(!this.isVisible(t,p))return null;var m=u.get(t,n);if(m&&m.invalidated&&(m.invalidated=!1,m.texture.invalidatedWidth-=m.width),m)return m;var g;if(f<=goe?g=goe:f<=Ik?g=Ik:g=Math.ceil(f/Ik)*Ik,f>RUe||d>LUe)return null;var y=a.getTextureQueue(g),x=y[y.length-2],v=o(function(){return a.recycleTexture(g,d)||a.addTexture(g,d)},"addNewTxr");x||(x=y[y.length-1]),x||(x=v()),x.width-x.usedWidthn;R--)D=a.getElement(t,e,r,R,Km.downscale);O()}else return a.queueElement(t,E.level-1),E;else{var k;if(!T&&!S&&!w)for(var L=n-1;L>=Wk;L--){var C=u.get(t,L);if(C){k=C;break}}if(b(k))return a.queueElement(t,n),k;x.context.translate(x.usedWidth,0),x.context.scale(h,h),this.drawElement(x.context,t,e,p,!1),x.context.scale(1/h,1/h),x.context.translate(-x.usedWidth,0)}return m={x:x.usedWidth,texture:x,level:n,scale:h,width:d,height:f,scaledLabelShown:p},x.usedWidth+=Math.ceil(d+_Ue),x.eleCaches.push(m),u.set(t,n,m),a.checkTextureFullness(x),m};Vi.invalidateElements=function(t){for(var e=0;e=NUe*t.width&&this.retireTexture(t)};Vi.checkTextureFullness=function(t){var e=this,r=e.getTextureQueue(t.height);t.usedWidth/t.width>MUe&&t.fullnessChecks>=IUe?xf(r,t):t.fullnessChecks++};Vi.retireTexture=function(t){var e=this,r=t.height,n=e.getTextureQueue(r),i=this.lookup;xf(n,t),t.retired=!0;for(var a=t.eleCaches,s=0;s=e)return s.retired=!1,s.usedWidth=0,s.invalidatedWidth=0,s.fullnessChecks=0,HN(s.eleCaches),s.context.setTransform(1,0,0,1,0,0),s.context.clearRect(0,0,s.width,s.height),xf(i,s),n.push(s),s}};Vi.queueElement=function(t,e){var r=this,n=r.getElementQueue(),i=r.getElementKeyToQueue(),a=this.getKey(t),s=i[a];if(s)s.level=Math.max(s.level,e),s.eles.merge(t),s.reqs++,n.updateItem(s);else{var l={eles:t.spawn().merge(t),level:e,reqs:1,key:a};n.push(l),i[a]=l}};Vi.dequeue=function(t){for(var e=this,r=e.getElementQueue(),n=e.getElementKeyToQueue(),i=[],a=e.lookup,s=0;s0;s++){var l=r.pop(),u=l.key,h=l.eles[0],f=a.hasCache(h,l.level);if(n[u]=null,f)continue;i.push(l);var d=e.getBoundingBox(h);e.getElement(h,d,t,l.level,Km.dequeue)}return i};Vi.removeFromQueue=function(t){var e=this,r=e.getElementQueue(),n=e.getElementKeyToQueue(),i=this.getKey(t),a=n[i];a!=null&&(a.eles.length===1?(a.reqs=VN,r.updateItem(a),r.pop(),n[i]=null):a.eles.unmerge(t))};Vi.onDequeue=function(t){this.onDequeues.push(t)};Vi.offDequeue=function(t){xf(this.onDequeues,t)};Vi.setupDequeueing=tce.setupDequeueing({deqRedrawThreshold:$Ue,deqCost:OUe,deqAvgCost:PUe,deqNoDrawCost:BUe,deqFastCost:FUe,deq:o(function(e,r,n){return e.dequeue(r,n)},"deq"),onDeqd:o(function(e,r){for(var n=0;n=UUe||r>rE)return null}n.validateLayersElesOrdering(r,t);var u=n.layersByLevel,h=Math.pow(2,r),f=u[r]=u[r]||[],d,p=n.levelIsComplete(r,t),m,g=o(function(){var O=o(function(I){if(n.validateLayersElesOrdering(I,t),n.levelIsComplete(I,t))return m=u[I],!0},"canUseAsTmpLvl"),R=o(function(I){if(!m)for(var M=r+I;rx<=M&&M<=rE&&!O(M);M+=I);},"checkLvls");R(1),R(-1);for(var k=f.length-1;k>=0;k--){var L=f[k];L.invalid&&xf(f,L)}},"checkTempLevels");if(!p)g();else return f;var y=o(function(){if(!d){d=Us();for(var O=0;Ovoe||L>voe)return null;var C=k*L;if(C>QUe)return null;var I=n.makeLayer(d,r);if(R!=null){var M=f.indexOf(R)+1;f.splice(M,0,I)}else(O.insert===void 0||O.insert)&&f.unshift(I);return I},"makeLayer");if(n.skipping&&!l)return null;for(var v=null,b=t.length/VUe,T=!l,S=0;S=b||!Joe(v.bb,w.boundingBox()))&&(v=x({insert:!0,after:v}),!v))return null;m||T?n.queueLayer(v,w):n.drawEleInLayer(v,w,r,e),v.eles.push(w),_[r]=v}return m||(T?null:f)};xa.getEleLevelForLayerLevel=function(t,e){return t};xa.drawEleInLayer=function(t,e,r,n){var i=this,a=this.renderer,s=t.context,l=e.boundingBox();l.w===0||l.h===0||!e.visible()||(r=i.getEleLevelForLayerLevel(r,n),a.setImgSmoothing(s,!1),a.drawCachedElement(s,e,null,null,r,ZUe),a.setImgSmoothing(s,!0))};xa.levelIsComplete=function(t,e){var r=this,n=r.layersByLevel[t];if(!n||n.length===0)return!1;for(var i=0,a=0;a0||s.invalid)return!1;i+=s.eles.length}return i===e.length};xa.validateLayersElesOrdering=function(t,e){var r=this.layersByLevel[t];if(r)for(var n=0;n0){e=!0;break}}return e};xa.invalidateElements=function(t){var e=this;t.length!==0&&(e.lastInvalidationTime=Bu(),!(t.length===0||!e.haveLayers())&&e.updateElementsInLayers(t,o(function(n,i,a){e.invalidateLayer(n)},"invalAssocLayers")))};xa.invalidateLayer=function(t){if(this.lastInvalidationTime=Bu(),!t.invalid){var e=t.level,r=t.eles,n=this.layersByLevel[e];xf(n,t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var i=0;i3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,s=this,l=e._private.rscratch;if(!(a&&!e.visible())&&!(l.badLine||l.allpts==null||isNaN(l.allpts[0]))){var u;r&&(u=r,t.translate(-u.x1,-u.y1));var h=a?e.pstyle("opacity").value:1,f=a?e.pstyle("line-opacity").value:1,d=e.pstyle("curve-style").value,p=e.pstyle("line-style").value,m=e.pstyle("width").pfValue,g=e.pstyle("line-cap").value,y=e.pstyle("line-outline-width").value,x=e.pstyle("line-outline-color").value,v=h*f,b=h*f,T=o(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v;d==="straight-triangle"?(s.eleStrokeStyle(t,e,I),s.drawEdgeTrianglePath(e,t,l.allpts)):(t.lineWidth=m,t.lineCap=g,s.eleStrokeStyle(t,e,I),s.drawEdgePath(e,t,l.allpts,p),t.lineCap="butt")},"drawLine"),S=o(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v;if(t.lineWidth=m+y,t.lineCap=g,y>0)s.colorStrokeStyle(t,x[0],x[1],x[2],I);else{t.lineCap="butt";return}d==="straight-triangle"?s.drawEdgeTrianglePath(e,t,l.allpts):(s.drawEdgePath(e,t,l.allpts,p),t.lineCap="butt")},"drawLineOutline"),w=o(function(){i&&s.drawEdgeOverlay(t,e)},"drawOverlay"),E=o(function(){i&&s.drawEdgeUnderlay(t,e)},"drawUnderlay"),_=o(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:b;s.drawArrowheads(t,e,I)},"drawArrows"),A=o(function(){s.drawElementText(t,e,null,n)},"drawText");t.lineJoin="round";var D=e.pstyle("ghost").value==="yes";if(D){var O=e.pstyle("ghost-offset-x").pfValue,R=e.pstyle("ghost-offset-y").pfValue,k=e.pstyle("ghost-opacity").value,L=v*k;t.translate(O,R),T(L),_(L),t.translate(-O,-R)}else S();E(),T(),_(),w(),A(),r&&t.translate(u.x1,u.y1)}};ace=o(function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(r,n){if(n.visible()){var i=n.pstyle("".concat(e,"-opacity")).value;if(i!==0){var a=this,s=a.usePaths(),l=n._private.rscratch,u=n.pstyle("".concat(e,"-padding")).pfValue,h=2*u,f=n.pstyle("".concat(e,"-color")).value;r.lineWidth=h,l.edgeType==="self"&&!s?r.lineCap="butt":r.lineCap="round",a.colorStrokeStyle(r,f[0],f[1],f[2],i),a.drawEdgePath(n,r,l.allpts,"solid")}}}},"drawEdgeOverlayUnderlay");zu.drawEdgeOverlay=ace("overlay");zu.drawEdgeUnderlay=ace("underlay");zu.drawEdgePath=function(t,e,r,n){var i=t._private.rscratch,a=e,s,l=!1,u=this.usePaths(),h=t.pstyle("line-dash-pattern").pfValue,f=t.pstyle("line-dash-offset").pfValue;if(u){var d=r.join("$"),p=i.pathCacheKey&&i.pathCacheKey===d;p?(s=e=i.pathCache,l=!0):(s=e=new Path2D,i.pathCacheKey=d,i.pathCache=s)}if(a.setLineDash)switch(n){case"dotted":a.setLineDash([1,1]);break;case"dashed":a.setLineDash(h),a.lineDashOffset=f;break;case"solid":a.setLineDash([]);break}if(!l&&!i.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(r[0],r[1]),i.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var m=2;m+35&&arguments[5]!==void 0?arguments[5]:!0,s=this;if(n==null){if(a&&!s.eleTextBiggerThanMin(e))return}else if(n===!1)return;if(e.isNode()){var l=e.pstyle("label");if(!l||!l.value)return;var u=s.getLabelJustification(e);t.textAlign=u,t.textBaseline="bottom"}else{var h=e.element()._private.rscratch.badLine,f=e.pstyle("label"),d=e.pstyle("source-label"),p=e.pstyle("target-label");if(h||(!f||!f.value)&&(!d||!d.value)&&(!p||!p.value))return;t.textAlign="center",t.textBaseline="bottom"}var m=!r,g;r&&(g=r,t.translate(-g.x1,-g.y1)),i==null?(s.drawText(t,e,null,m,a),e.isEdge()&&(s.drawText(t,e,"source",m,a),s.drawText(t,e,"target",m,a))):s.drawText(t,e,i,m,a),r&&t.translate(g.x1,g.y1)};wp.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var r=0;r2&&arguments[2]!==void 0?arguments[2]:!0,n=e.pstyle("font-style").strValue,i=e.pstyle("font-size").pfValue+"px",a=e.pstyle("font-family").strValue,s=e.pstyle("font-weight").strValue,l=r?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,u=e.pstyle("text-outline-opacity").value*l,h=e.pstyle("color").value,f=e.pstyle("text-outline-color").value;t.font=n+" "+s+" "+i+" "+a,t.lineJoin="round",this.colorFillStyle(t,h[0],h[1],h[2],l),this.colorStrokeStyle(t,f[0],f[1],f[2],u)};o(vN,"roundRect");wp.getTextAngle=function(t,e){var r,n=t._private,i=n.rscratch,a=e?e+"-":"",s=t.pstyle(a+"text-rotation");if(s.strValue==="autorotate"){var l=Ml(i,"labelAngle",e);r=t.isEdge()?l:0}else s.strValue==="none"?r=0:r=s.pfValue;return r};wp.drawText=function(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=e._private,s=a.rscratch,l=i?e.effectiveOpacity():1;if(!(i&&(l===0||e.pstyle("text-opacity").value===0))){r==="main"&&(r=null);var u=Ml(s,"labelX",r),h=Ml(s,"labelY",r),f,d,p=this.getLabelText(e,r);if(p!=null&&p!==""&&!isNaN(u)&&!isNaN(h)){this.setupTextStyle(t,e,i);var m=r?r+"-":"",g=Ml(s,"labelWidth",r),y=Ml(s,"labelHeight",r),x=e.pstyle(m+"text-margin-x").pfValue,v=e.pstyle(m+"text-margin-y").pfValue,b=e.isEdge(),T=e.pstyle("text-halign").value,S=e.pstyle("text-valign").value;b&&(T="center",S="center"),u+=x,h+=v;var w;switch(n?w=this.getTextAngle(e,r):w=0,w!==0&&(f=u,d=h,t.translate(f,d),t.rotate(w),u=0,h=0),S){case"top":break;case"center":h+=y/2;break;case"bottom":h+=y;break}var E=e.pstyle("text-background-opacity").value,_=e.pstyle("text-border-opacity").value,A=e.pstyle("text-border-width").pfValue,D=e.pstyle("text-background-padding").pfValue,O=e.pstyle("text-background-shape").strValue,R=O.indexOf("round")===0,k=2;if(E>0||A>0&&_>0){var L=u-D;switch(T){case"left":L-=g;break;case"center":L-=g/2;break}var C=h-y-D,I=g+2*D,M=y+2*D;if(E>0){var P=t.fillStyle,B=e.pstyle("text-background-color").value;t.fillStyle="rgba("+B[0]+","+B[1]+","+B[2]+","+E*l+")",R?vN(t,L,C,I,M,k):t.fillRect(L,C,I,M),t.fillStyle=P}if(A>0&&_>0){var F=t.strokeStyle,G=t.lineWidth,$=e.pstyle("text-border-color").value,U=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+$[0]+","+$[1]+","+$[2]+","+_*l+")",t.lineWidth=A,t.setLineDash)switch(U){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=A/4,t.setLineDash([]);break;case"solid":t.setLineDash([]);break}if(R?vN(t,L,C,I,M,k,"stroke"):t.strokeRect(L,C,I,M),U==="double"){var K=A/2;R?vN(t,L+K,C+K,I-K*2,M-K*2,k,"stroke"):t.strokeRect(L+K,C+K,I-K*2,M-K*2)}t.setLineDash&&t.setLineDash([]),t.lineWidth=G,t.strokeStyle=F}}var ne=2*e.pstyle("text-outline-width").pfValue;if(ne>0&&(t.lineWidth=ne),e.pstyle("text-wrap").value==="wrap"){var j=Ml(s,"labelWrapCachedLines",r),le=Ml(s,"labelLineHeight",r),Z=g/2,ce=this.getLabelJustification(e);switch(ce==="auto"||(T==="left"?ce==="left"?u+=-g:ce==="center"&&(u+=-Z):T==="center"?ce==="left"?u+=-Z:ce==="right"&&(u+=Z):T==="right"&&(ce==="center"?u+=Z:ce==="right"&&(u+=g))),S){case"top":h-=(j.length-1)*le;break;case"center":case"bottom":h-=(j.length-1)*le;break}for(var Q=0;Q0&&t.strokeText(j[Q],u,h),t.fillText(j[Q],u,h),h+=le}else ne>0&&t.strokeText(p,u,h),t.fillText(p,u,h);w!==0&&(t.rotate(-w),t.translate(-f,-d))}}};pg={};pg.drawNode=function(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,s=this,l,u,h=e._private,f=h.rscratch,d=e.position();if(!(!At(d.x)||!At(d.y))&&!(a&&!e.visible())){var p=a?e.effectiveOpacity():1,m=s.usePaths(),g,y=!1,x=e.padding();l=e.width()+2*x,u=e.height()+2*x;var v;r&&(v=r,t.translate(-v.x1,-v.y1));for(var b=e.pstyle("background-image"),T=b.value,S=new Array(T.length),w=new Array(T.length),E=0,_=0;_0&&arguments[0]!==void 0?arguments[0]:L;s.eleFillStyle(t,e,oe)},"setupShapeColor"),Q=o(function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$;s.colorStrokeStyle(t,C[0],C[1],C[2],oe)},"setupBorderColor"),ee=o(function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:j;s.colorStrokeStyle(t,K[0],K[1],K[2],oe)},"setupOutlineColor"),te=o(function(oe,V,xe,Y){var de=s.nodePathCache=s.nodePathCache||[],me=Woe(xe==="polygon"?xe+","+Y.join(","):xe,""+V,""+oe,""+Z),Be=de[me],_e,Te=!1;return Be!=null?(_e=Be,Te=!0,f.pathCache=_e):(_e=new Path2D,de[me]=f.pathCache=_e),{path:_e,cacheHit:Te}},"getPath"),re=e.pstyle("shape").strValue,he=e.pstyle("shape-polygon-points").pfValue;if(m){t.translate(d.x,d.y);var J=te(l,u,re,he);g=J.path,y=J.cacheHit}var ye=o(function(){if(!y){var oe=d;m&&(oe={x:0,y:0}),s.nodeShapes[s.getNodeShape(e)].draw(g||t,oe.x,oe.y,l,u,Z,f)}m?t.fill(g):t.fill()},"drawShape"),se=o(function(){for(var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p,V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,xe=h.backgrounding,Y=0,de=0;de0&&arguments[0]!==void 0?arguments[0]:!1,V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p;s.hasPie(e)&&(s.drawPie(t,e,V),oe&&(m||s.nodeShapes[s.getNodeShape(e)].draw(t,d.x,d.y,l,u,Z,f)))},"drawPie"),W=o(function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p,V=(R>0?R:-R)*oe,xe=R>0?0:255;R!==0&&(s.colorFillStyle(t,xe,xe,xe,V),m?t.fill(g):t.fill())},"darken"),Oe=o(function(){if(k>0){if(t.lineWidth=k,t.lineCap=P,t.lineJoin=M,t.setLineDash)switch(I){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash(F),t.lineDashOffset=G;break;case"solid":case"double":t.setLineDash([]);break}if(B!=="center"){if(t.save(),t.lineWidth*=2,B==="inside")m?t.clip(g):t.clip();else{var oe=new Path2D;oe.rect(-l/2-k,-u/2-k,l+2*k,u+2*k),oe.addPath(g),t.clip(oe,"evenodd")}m?t.stroke(g):t.stroke(),t.restore()}else m?t.stroke(g):t.stroke();if(I==="double"){t.lineWidth=k/3;var V=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",m?t.stroke(g):t.stroke(),t.globalCompositeOperation=V}t.setLineDash&&t.setLineDash([])}},"drawBorder"),ve=o(function(){if(U>0){if(t.lineWidth=U,t.lineCap="butt",t.setLineDash)switch(ne){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([]);break}var oe=d;m&&(oe={x:0,y:0});var V=s.getNodeShape(e),xe=k;B==="inside"&&(xe=0),B==="outside"&&(xe*=2);var Y=(l+xe+(U+le))/l,de=(u+xe+(U+le))/u,me=l*Y,Be=u*de,_e=s.nodeShapes[V].points,Te;if(m){var Ue=te(me,Be,V,_e);Te=Ue.path}if(V==="ellipse")s.drawEllipsePath(Te||t,oe.x,oe.y,me,Be);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(V)){var De=0,Qe=0,ot=0;V==="round-diamond"?De=(xe+le+U)*1.4:V==="round-heptagon"?(De=(xe+le+U)*1.075,ot=-(xe/2+le+U)/35):V==="round-hexagon"?De=(xe+le+U)*1.12:V==="round-pentagon"?(De=(xe+le+U)*1.13,ot=-(xe/2+le+U)/15):V==="round-tag"?(De=(xe+le+U)*1.12,Qe=(xe/2+U+le)*.07):V==="round-triangle"&&(De=(xe+le+U)*(Math.PI/2),ot=-(xe+le/2+U)/Math.PI),De!==0&&(Y=(l+De)/l,me=l*Y,["round-hexagon","round-tag"].includes(V)||(de=(u+De)/u,Be=u*de)),Z=Z==="auto"?rle(me,Be):Z;for(var Gt=me/2,Ze=Be/2,Ve=Z+(xe+U+le)/2,ht=new Array(_e.length/2),Ye=new Array(_e.length/2),ct=0;ct<_e.length/2;ct++)ht[ct]={x:oe.x+Qe+Gt*_e[ct*2],y:oe.y+ot+Ze*_e[ct*2+1]};var Yt,Tt,Mt,bt,ft=ht.length;for(Tt=ht[ft-1],Yt=0;Yt0){if(i=i||n.position(),a==null||s==null){var m=n.padding();a=n.width()+2*m,s=n.height()+2*m}l.colorFillStyle(r,f[0],f[1],f[2],h),l.nodeShapes[d].draw(r,i.x,i.y,a+u*2,s+u*2,p),r.fill()}}}},"drawNodeOverlayUnderlay");pg.drawNodeOverlay=sce("overlay");pg.drawNodeUnderlay=sce("underlay");pg.hasPie=function(t){return t=t[0],t._private.hasPie};pg.drawPie=function(t,e,r,n){e=e[0],n=n||e.position();var i=e.cy().style(),a=e.pstyle("pie-size"),s=n.x,l=n.y,u=e.width(),h=e.height(),f=Math.min(u,h)/2,d=0,p=this.usePaths();p&&(s=0,l=0),a.units==="%"?f=f*a.pfValue:a.pfValue!==void 0&&(f=a.pfValue/2);for(var m=1;m<=i.pieBackgroundN;m++){var g=e.pstyle("pie-"+m+"-background-size").value,y=e.pstyle("pie-"+m+"-background-color").value,x=e.pstyle("pie-"+m+"-background-opacity").value*r,v=g/100;v+d>1&&(v=1-d);var b=1.5*Math.PI+2*Math.PI*d,T=2*Math.PI*v,S=b+T;g===0||d>=1||d+v>1||(t.beginPath(),t.moveTo(s,l),t.arc(s,l,f,b,S),t.closePath(),this.colorFillStyle(t,y[0],y[1],y[2],x),t.fill(),d+=v)}};cs={},cHe=100;cs.getPixelRatio=function(){var t=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var e=this.cy.window(),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(e.devicePixelRatio||1)/r};cs.paintCache=function(t){for(var e=this.paintCaches=this.paintCaches||[],r=!0,n,i=0;ie.minMbLowQualFrames&&(e.motionBlurPxRatio=e.mbPxRBlurry)),e.clearingMotionBlur&&(e.motionBlurPxRatio=1),e.textureDrawLastFrame&&!d&&(f[e.NODE]=!0,f[e.SELECT_BOX]=!0);var b=r.style(),T=r.zoom(),S=s!==void 0?s:T,w=r.pan(),E={x:w.x,y:w.y},_={zoom:T,pan:{x:w.x,y:w.y}},A=e.prevViewport,D=A===void 0||_.zoom!==A.zoom||_.pan.x!==A.pan.x||_.pan.y!==A.pan.y;!D&&!(y&&!g)&&(e.motionBlurPxRatio=1),l&&(E=l),S*=u,E.x*=u,E.y*=u;var O=e.getCachedZSortedEles();function R(Q,ee,te,re,he){var J=Q.globalCompositeOperation;Q.globalCompositeOperation="destination-out",e.colorFillStyle(Q,255,255,255,e.motionBlurTransparency),Q.fillRect(ee,te,re,he),Q.globalCompositeOperation=J}o(R,"mbclear");function k(Q,ee){var te,re,he,J;!e.clearingMotionBlur&&(Q===h.bufferContexts[e.MOTIONBLUR_BUFFER_NODE]||Q===h.bufferContexts[e.MOTIONBLUR_BUFFER_DRAG])?(te={x:w.x*m,y:w.y*m},re=T*m,he=e.canvasWidth*m,J=e.canvasHeight*m):(te=E,re=S,he=e.canvasWidth,J=e.canvasHeight),Q.setTransform(1,0,0,1,0,0),ee==="motionBlur"?R(Q,0,0,he,J):!n&&(ee===void 0||ee)&&Q.clearRect(0,0,he,J),i||(Q.translate(te.x,te.y),Q.scale(re,re)),l&&Q.translate(l.x,l.y),s&&Q.scale(s,s)}if(o(k,"setContextTransform"),d||(e.textureDrawLastFrame=!1),d){if(e.textureDrawLastFrame=!0,!e.textureCache){e.textureCache={},e.textureCache.bb=r.mutableElements().boundingBox(),e.textureCache.texture=e.data.bufferCanvases[e.TEXTURE_BUFFER];var L=e.data.bufferContexts[e.TEXTURE_BUFFER];L.setTransform(1,0,0,1,0,0),L.clearRect(0,0,e.canvasWidth*e.textureMult,e.canvasHeight*e.textureMult),e.render({forcedContext:L,drawOnlyNodeLayer:!0,forcedPxRatio:u*e.textureMult});var _=e.textureCache.viewport={zoom:r.zoom(),pan:r.pan(),width:e.canvasWidth,height:e.canvasHeight};_.mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom}}f[e.DRAG]=!1,f[e.NODE]=!1;var C=h.contexts[e.NODE],I=e.textureCache.texture,_=e.textureCache.viewport;C.setTransform(1,0,0,1,0,0),p?R(C,0,0,_.width,_.height):C.clearRect(0,0,_.width,_.height);var M=b.core("outside-texture-bg-color").value,P=b.core("outside-texture-bg-opacity").value;e.colorFillStyle(C,M[0],M[1],M[2],P),C.fillRect(0,0,_.width,_.height);var T=r.zoom();k(C,!1),C.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/u,_.height/_.zoom/u),C.drawImage(I,_.mpan.x,_.mpan.y,_.width/_.zoom/u,_.height/_.zoom/u)}else e.textureOnViewport&&!n&&(e.textureCache=null);var B=r.extent(),F=e.pinching||e.hoverData.dragging||e.swipePanning||e.data.wheelZooming||e.hoverData.draggingEles||e.cy.animated(),G=e.hideEdgesOnViewport&&F,$=[];if($[e.NODE]=!f[e.NODE]&&p&&!e.clearedForMotionBlur[e.NODE]||e.clearingMotionBlur,$[e.NODE]&&(e.clearedForMotionBlur[e.NODE]=!0),$[e.DRAG]=!f[e.DRAG]&&p&&!e.clearedForMotionBlur[e.DRAG]||e.clearingMotionBlur,$[e.DRAG]&&(e.clearedForMotionBlur[e.DRAG]=!0),f[e.NODE]||i||a||$[e.NODE]){var U=p&&!$[e.NODE]&&m!==1,C=n||(U?e.data.bufferContexts[e.MOTIONBLUR_BUFFER_NODE]:h.contexts[e.NODE]),K=p&&!U?"motionBlur":void 0;k(C,K),G?e.drawCachedNodes(C,O.nondrag,u,B):e.drawLayeredElements(C,O.nondrag,u,B),e.debug&&e.drawDebugPoints(C,O.nondrag),!i&&!p&&(f[e.NODE]=!1)}if(!a&&(f[e.DRAG]||i||$[e.DRAG])){var U=p&&!$[e.DRAG]&&m!==1,C=n||(U?e.data.bufferContexts[e.MOTIONBLUR_BUFFER_DRAG]:h.contexts[e.DRAG]);k(C,p&&!U?"motionBlur":void 0),G?e.drawCachedNodes(C,O.drag,u,B):e.drawCachedElements(C,O.drag,u,B),e.debug&&e.drawDebugPoints(C,O.drag),!i&&!p&&(f[e.DRAG]=!1)}if(this.drawSelectionRectangle(t,k),p&&m!==1){var ne=h.contexts[e.NODE],j=e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_NODE],le=h.contexts[e.DRAG],Z=e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_DRAG],ce=o(function(ee,te,re){ee.setTransform(1,0,0,1,0,0),re||!v?ee.clearRect(0,0,e.canvasWidth,e.canvasHeight):R(ee,0,0,e.canvasWidth,e.canvasHeight);var he=m;ee.drawImage(te,0,0,e.canvasWidth*he,e.canvasHeight*he,0,0,e.canvasWidth,e.canvasHeight)},"drawMotionBlur");(f[e.NODE]||$[e.NODE])&&(ce(ne,j,$[e.NODE]),f[e.NODE]=!1),(f[e.DRAG]||$[e.DRAG])&&(ce(le,Z,$[e.DRAG]),f[e.DRAG]=!1)}e.prevViewport=_,e.clearingMotionBlur&&(e.clearingMotionBlur=!1,e.motionBlurCleared=!0,e.motionBlur=!0),p&&(e.motionBlurTimeout=setTimeout(function(){e.motionBlurTimeout=null,e.clearedForMotionBlur[e.NODE]=!1,e.clearedForMotionBlur[e.DRAG]=!1,e.motionBlur=!1,e.clearingMotionBlur=!d,e.mbFrames=0,f[e.NODE]=!0,f[e.DRAG]=!0,e.redraw()},cHe)),n||r.emit("render")};cs.drawSelectionRectangle=function(t,e){var r=this,n=r.cy,i=r.data,a=n.style(),s=t.drawOnlyNodeLayer,l=t.drawAllLayers,u=i.canvasNeedsRedraw,h=t.forcedContext;if(r.showFps||!s&&u[r.SELECT_BOX]&&!l){var f=h||i.contexts[r.SELECT_BOX];if(e(f),r.selection[4]==1&&(r.hoverData.selecting||r.touchData.selecting)){var d=r.cy.zoom(),p=a.core("selection-box-border-width").value/d;f.lineWidth=p,f.fillStyle="rgba("+a.core("selection-box-color").value[0]+","+a.core("selection-box-color").value[1]+","+a.core("selection-box-color").value[2]+","+a.core("selection-box-opacity").value+")",f.fillRect(r.selection[0],r.selection[1],r.selection[2]-r.selection[0],r.selection[3]-r.selection[1]),p>0&&(f.strokeStyle="rgba("+a.core("selection-box-border-color").value[0]+","+a.core("selection-box-border-color").value[1]+","+a.core("selection-box-border-color").value[2]+","+a.core("selection-box-opacity").value+")",f.strokeRect(r.selection[0],r.selection[1],r.selection[2]-r.selection[0],r.selection[3]-r.selection[1]))}if(i.bgActivePosistion&&!r.hoverData.selecting){var d=r.cy.zoom(),m=i.bgActivePosistion;f.fillStyle="rgba("+a.core("active-bg-color").value[0]+","+a.core("active-bg-color").value[1]+","+a.core("active-bg-color").value[2]+","+a.core("active-bg-opacity").value+")",f.beginPath(),f.arc(m.x,m.y,a.core("active-bg-size").pfValue/d,0,2*Math.PI),f.fill()}var g=r.lastRedrawTime;if(r.showFps&&g){g=Math.round(g);var y=Math.round(1e3/g),x="1 frame = "+g+" ms = "+y+" fps";if(f.setTransform(1,0,0,1,0,0),f.fillStyle="rgba(255, 0, 0, 0.75)",f.strokeStyle="rgba(255, 0, 0, 0.75)",f.font="30px Arial",!X2){var v=f.measureText(x);X2=v.actualBoundingBoxAscent}f.fillText(x,0,X2);var b=60;f.strokeRect(0,X2+10,250,20),f.fillRect(0,X2+10,250*Math.min(y/b,1),20)}l||(u[r.SELECT_BOX]=!1)}};o(woe,"compileShader");o(uHe,"createProgram");o(hHe,"createTextureCanvas");o(lM,"getEffectivePanZoom");o(xN,"modelToRenderedPosition");o(Ok,"toWebGLColor");o(Pk,"indexToVec4");o(fHe,"vec4ToIndex");o(dHe,"createTexture");o(oce,"getTypeInfo");o(lce,"createTypedArray");o(pHe,"createTypedArrayView");o(mHe,"createBufferStaticDraw");o(co,"createBufferDynamicDraw");o(gHe,"createPickingFrameBuffer");koe=typeof Float32Array<"u"?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)});o(nx,"create");o(cce,"identity");o(yHe,"multiply");o(nE,"translate");o(uce,"rotate");o(cM,"scale");o(vHe,"projection");ix={SCREEN:{name:"screen",screen:!0},PICKING:{name:"picking",picking:!0}},j2=na({getKey:null,drawElement:null,getBoundingBox:null,getRotation:null,getRotationPoint:null,getRotationOffset:null,isVisible:null,getPadding:null}),xHe=function(){function t(e,r){kf(this,t),this.debugID=Math.floor(Math.random()*1e4),this.r=e,this.atlasSize=r.webglTexSize,this.rows=r.webglTexRows,this.enableWrapping=r.enableWrapping,this.texHeight=Math.floor(this.atlasSize/this.rows),this.maxTexWidth=this.atlasSize,this.texture=null,this.canvas=null,this.needsBuffer=!0,this.freePointer={x:0,row:0},this.keyToLocation=new Map,this.canvas=r.createTextureCanvas(e,this.atlasSize,this.atlasSize),this.scratch=r.createTextureCanvas(e,this.atlasSize,this.texHeight,"scratch")}return o(t,"Atlas"),Ef(t,[{key:"getKeys",value:o(function(){return new Set(this.keyToLocation.keys())},"getKeys")},{key:"getScale",value:o(function(r){var n=r.w,i=r.h,a=this.texHeight,s=this.maxTexWidth,l=a/i,u=n*l,h=i*l;return u>s&&(l=s/n,u=n*l,h=i*l),{scale:l,texW:u,texH:h}},"getScale")},{key:"draw",value:o(function(r,n,i){var a=this,s=this.atlasSize,l=this.rows,u=this.texHeight,h=this.getScale(n),f=h.scale,d=h.texW,p=h.texH,m=[null,null],g=o(function(T,S){if(i&&S){var w=S.context,E=T.x,_=T.row,A=E,D=u*_;w.save(),w.translate(A,D),w.scale(f,f),i(w,n),w.restore()}},"drawAt"),y=o(function(){g(a.freePointer,a.canvas),m[0]={x:a.freePointer.x,y:a.freePointer.row*u,w:d,h:p},m[1]={x:a.freePointer.x+d,y:a.freePointer.row*u,w:0,h:p},a.freePointer.x+=d,a.freePointer.x==s&&(a.freePointer.x=0,a.freePointer.row++)},"drawNormal"),x=o(function(){var T=a.scratch,S=a.canvas;T.clear(),g({x:0,row:0},T);var w=s-a.freePointer.x,E=d-w,_=u;{var A=a.freePointer.x,D=a.freePointer.row*u,O=w;S.context.drawImage(T,0,0,O,_,A,D,O,_),m[0]={x:A,y:D,w:O,h:p}}{var R=w,k=(a.freePointer.row+1)*u,L=E;S&&S.context.drawImage(T,R,0,L,_,0,k,L,_),m[1]={x:0,y:k,w:L,h:p}}a.freePointer.x=E,a.freePointer.row++},"drawWrapped"),v=o(function(){a.freePointer.x=0,a.freePointer.row++},"moveToStartOfNextRow");if(this.freePointer.x+d<=s)y();else{if(this.freePointer.row>=l-1)return!1;this.freePointer.x===s?(v(),y()):this.enableWrapping?x():(v(),y())}return this.keyToLocation.set(r,m),this.needsBuffer=!0,m},"draw")},{key:"getOffsets",value:o(function(r){return this.keyToLocation.get(r)},"getOffsets")},{key:"isEmpty",value:o(function(){return this.freePointer.x===0&&this.freePointer.row===0},"isEmpty")},{key:"canFit",value:o(function(r){var n=this.atlasSize,i=this.rows,a=this.getScale(r),s=a.texW;return this.freePointer.x+s>n?this.freePointer.row1&&arguments[1]!==void 0?arguments[1]:{},i=n.forceRedraw,a=i===void 0?!1:i,s=n.filterEle,l=s===void 0?function(){return!0}:s,u=n.filterType,h=u===void 0?function(){return!0}:u,f=!1,d=uo(r),p;try{for(d.s();!(p=d.n()).done;){var m=p.value;if(l(m)){var g=m.id(),y=uo(this.getRenderTypes()),x;try{for(y.s();!(x=y.n()).done;){var v=x.value;if(h(v.type)){var b=v.getKey(m);a?(v.atlasCollection.deleteKey(g,b),v.atlasCollection.styleKeyNeedsRedraw.add(b),f=!0):f|=v.atlasCollection.checkKeyIsInvalid(g,b)}}}catch(T){y.e(T)}finally{y.f()}}}}catch(T){d.e(T)}finally{d.f()}return f},"invalidate")},{key:"gc",value:o(function(){var r=uo(this.getRenderTypes()),n;try{for(r.s();!(n=r.n()).done;){var i=n.value;i.atlasCollection.gc()}}catch(a){r.e(a)}finally{r.f()}},"gc")},{key:"isRenderable",value:o(function(r,n){var i=this.getRenderTypeOpts(n);return i&&i.isVisible(r)},"isRenderable")},{key:"startBatch",value:o(function(){this.batchAtlases=[]},"startBatch")},{key:"getAtlasCount",value:o(function(){return this.batchAtlases.length},"getAtlasCount")},{key:"getAtlases",value:o(function(){return this.batchAtlases},"getAtlases")},{key:"getOrCreateAtlas",value:o(function(r,n,i){var a=this.renderTypes.get(i),s=a.getKey(r),l=r.id();return a.atlasCollection.draw(l,s,n,function(u){a.drawElement(u,r,n,!0,!0)})},"getOrCreateAtlas")},{key:"getAtlasIndexForBatch",value:o(function(r){var n=this.batchAtlases.indexOf(r);if(n<0){if(this.batchAtlases.length===this.maxAtlasesPerBatch)return;this.batchAtlases.push(r),n=this.batchAtlases.length-1}return n},"getAtlasIndexForBatch")},{key:"getIndexArray",value:o(function(){return Array.from({length:this.maxAtlases},function(r,n){return n})},"getIndexArray")},{key:"getAtlasInfo",value:o(function(r,n){var i=this.renderTypes.get(n),a=i.getBoundingBox(r),s=this.getOrCreateAtlas(r,a,n),l=this.getAtlasIndexForBatch(s);if(l!==void 0){var u=i.getKey(r),h=s.getOffsets(u),f=Di(h,2),d=f[0],p=f[1];return{atlasID:l,tex:d,tex1:d,tex2:p,bb:a,type:n,styleKey:u}}},"getAtlasInfo")},{key:"canAddToCurrentBatch",value:o(function(r,n){if(this.batchAtlases.length===this.maxAtlasesPerBatch){var i=this.renderTypes.get(n),a=i.getKey(r),s=i.atlasCollection.getAtlas(a);return s&&this.batchAtlases.includes(s)}return!0},"canAddToCurrentBatch")},{key:"setTransformMatrix",value:o(function(r,n,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,s=n.bb,l=n.type,u=n.tex1,h=n.tex2,f=this.getRenderTypeOpts(l),d=f.getPadding?f.getPadding(i):0,p=u.w/(u.w+h.w);a||(p=1-p);var m=this.getAdjustedBB(s,d,a,p),g,y;cce(r);var x=f.getRotation?f.getRotation(i):0;if(x!==0){var v=f.getRotationPoint(i),b=v.x,T=v.y;nE(r,r,[b,T]),uce(r,r,x);var S=f.getRotationOffset(i);g=S.x+m.xOffset,y=S.y}else g=m.x1,y=m.y1;nE(r,r,[g,y]),cM(r,r,[m.w,m.h])},"setTransformMatrix")},{key:"getTransformMatrix",value:o(function(r,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=nx();return this.setTransformMatrix(a,r,n,i),a},"getTransformMatrix")},{key:"getAdjustedBB",value:o(function(r,n,i,a){var s=r.x1,l=r.y1,u=r.w,h=r.h;n&&(s-=n,l-=n,u+=2*n,h+=2*n);var f=0,d=u*a;return i&&a<1?u=d:!i&&a<1&&(f=u-d,s+=f,u=d),{x1:s,y1:l,w:u,h,xOffset:f}},"getAdjustedBB")},{key:"getDebugInfo",value:o(function(){var r=[],n=uo(this.renderTypes),i;try{for(n.s();!(i=n.n()).done;){var a=Di(i.value,2),s=a[0],l=a[1],u=l.atlasCollection.getCounts(),h=u.keyCount,f=u.atlasCount;r.push({type:s,keyCount:h,atlasCount:f})}}catch(d){n.e(d)}finally{n.f()}return r},"getDebugInfo")}]),t}(),bN=0,Eoe=1,Soe=2,TN=3,kHe=function(){function t(e,r,n){kf(this,t),this.r=e,this.gl=r,this.maxInstances=n.webglBatchSize,this.maxAtlases=n.webglTexPerBatch,this.atlasSize=n.webglTexSize,this.bgColor=n.bgColor,n.enableWrapping=!0,n.createTextureCanvas=hHe,this.atlasManager=new wHe(e,n),this.program=this.createShaderProgram(ix.SCREEN),this.pickingProgram=this.createShaderProgram(ix.PICKING),this.vao=this.createVAO(),this.debugInfo=[]}return o(t,"ElementDrawingWebGL"),Ef(t,[{key:"addTextureRenderType",value:o(function(r,n){this.atlasManager.addRenderType(r,n)},"addTextureRenderType")},{key:"invalidate",value:o(function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.type,a=this.atlasManager;return i?a.invalidate(r,{filterType:o(function(l){return l===i},"filterType"),forceRedraw:!0}):a.invalidate(r)},"invalidate")},{key:"gc",value:o(function(){this.atlasManager.gc()},"gc")},{key:"createShaderProgram",value:o(function(r){var n=this.gl,i=`#version 300 es + precision highp float; + + uniform mat3 uPanZoomMatrix; + uniform int uAtlasSize; + + // instanced + in vec2 aPosition; + + // what are we rendering? + in int aVertType; + + // for picking + in vec4 aIndex; + + // For textures + in int aAtlasId; // which shader unit/atlas to use + in vec4 aTex1; // x/y/w/h of texture in atlas + in vec4 aTex2; + + // for any transforms that are needed + in vec4 aScaleRotate1; // vectors use fewer attributes than matrices + in vec2 aTranslate1; + in vec4 aScaleRotate2; + in vec2 aTranslate2; + + // for edges + in vec4 aPointAPointB; + in vec4 aPointCPointD; + in float aLineWidth; + in vec4 aEdgeColor; + + out vec2 vTexCoord; + out vec4 vEdgeColor; + flat out int vAtlasId; + flat out vec4 vIndex; + flat out int vVertType; + + void main(void) { + int vid = gl_VertexID; + vec2 position = aPosition; + + if(aVertType == `.concat(bN,`) { + float texX; + float texY; + float texW; + float texH; + mat3 texMatrix; + + int vid = gl_VertexID; + if(vid <= 5) { + texX = aTex1.x; + texY = aTex1.y; + texW = aTex1.z; + texH = aTex1.w; + texMatrix = mat3( + vec3(aScaleRotate1.xy, 0.0), + vec3(aScaleRotate2.zw, 0.0), + vec3(aTranslate1, 1.0) + ); + } else { + texX = aTex2.x; + texY = aTex2.y; + texW = aTex2.z; + texH = aTex2.w; + texMatrix = mat3( + vec3(aScaleRotate2.xy, 0.0), + vec3(aScaleRotate2.zw, 0.0), + vec3(aTranslate2, 1.0) + ); + } + + if(vid == 1 || vid == 2 || vid == 4 || vid == 7 || vid == 8 || vid == 10) { + texX += texW; + } + if(vid == 2 || vid == 4 || vid == 5 || vid == 8 || vid == 10 || vid == 11) { + texY += texH; + } + + float d = float(uAtlasSize); + vTexCoord = vec2(texX / d, texY / d); // tex coords must be between 0 and 1 + + gl_Position = vec4(uPanZoomMatrix * texMatrix * vec3(position, 1.0), 1.0); + } + else if(aVertType == `).concat(Eoe,` && vid < 6) { + vec2 source = aPointAPointB.xy; + vec2 target = aPointAPointB.zw; + + // adjust the geometry so that the line is centered on the edge + position.y = position.y - 0.5; + + vec2 xBasis = target - source; + vec2 yBasis = normalize(vec2(-xBasis.y, xBasis.x)); + vec2 point = source + xBasis * position.x + yBasis * aLineWidth * position.y; + + gl_Position = vec4(uPanZoomMatrix * vec3(point, 1.0), 1.0); + vEdgeColor = aEdgeColor; + } + else if(aVertType == `).concat(Soe,` && vid < 6) { + vec2 pointA = aPointAPointB.xy; + vec2 pointB = aPointAPointB.zw; + vec2 pointC = aPointCPointD.xy; + vec2 pointD = aPointCPointD.zw; + + // adjust the geometry so that the line is centered on the edge + position.y = position.y - 0.5; + + vec2 p0 = pointA; + vec2 p1 = pointB; + vec2 p2 = pointC; + vec2 pos = position; + if(position.x == 1.0) { + p0 = pointD; + p1 = pointC; + p2 = pointB; + pos = vec2(0.0, -position.y); + } + + vec2 p01 = p1 - p0; + vec2 p12 = p2 - p1; + vec2 p21 = p1 - p2; + + // Find the normal vector. + vec2 tangent = normalize(normalize(p12) + normalize(p01)); + vec2 normal = vec2(-tangent.y, tangent.x); + + // Find the vector perpendicular to p0 -> p1. + vec2 p01Norm = normalize(vec2(-p01.y, p01.x)); + + // Determine the bend direction. + float sigma = sign(dot(p01 + p21, normal)); + float width = aLineWidth; + + if(sign(pos.y) == -sigma) { + // This is an intersecting vertex. Adjust the position so that there's no overlap. + vec2 point = 0.5 * width * normal * -sigma / dot(normal, p01Norm); + gl_Position = vec4(uPanZoomMatrix * vec3(p1 + point, 1.0), 1.0); + } else { + // This is a non-intersecting vertex. Treat it like a mitre join. + vec2 point = 0.5 * width * normal * sigma * dot(normal, p01Norm); + gl_Position = vec4(uPanZoomMatrix * vec3(p1 + point, 1.0), 1.0); + } + + vEdgeColor = aEdgeColor; + } + else if(aVertType == `).concat(TN,` && vid < 3) { + // massage the first triangle into an edge arrow + if(vid == 0) + position = vec2(-0.15, -0.3); + if(vid == 1) + position = vec2( 0.0, 0.0); + if(vid == 2) + position = vec2( 0.15, -0.3); + + mat3 transform = mat3( + vec3(aScaleRotate1.xy, 0.0), + vec3(aScaleRotate1.zw, 0.0), + vec3(aTranslate1, 1.0) + ); + gl_Position = vec4(uPanZoomMatrix * transform * vec3(position, 1.0), 1.0); + vEdgeColor = aEdgeColor; + } else { + gl_Position = vec4(2.0, 0.0, 0.0, 1.0); // discard vertex by putting it outside webgl clip space + } + + vAtlasId = aAtlasId; + vIndex = aIndex; + vVertType = aVertType; + } + `),a=this.atlasManager.getIndexArray(),s=`#version 300 es + precision highp float; + + // define texture unit for each node in the batch + `.concat(a.map(function(h){return"uniform sampler2D uTexture".concat(h,";")}).join(` + `),` + + uniform vec4 uBGColor; + + in vec2 vTexCoord; + in vec4 vEdgeColor; + flat in int vAtlasId; + flat in vec4 vIndex; + flat in int vVertType; + + out vec4 outColor; + + void main(void) { + if(vVertType == `).concat(bN,`) { + `).concat(a.map(function(h){return"if(vAtlasId == ".concat(h,") outColor = texture(uTexture").concat(h,", vTexCoord);")}).join(` + else `),` + } else if(vVertType == `).concat(TN,`) { + // blend arrow color with background (using premultiplied alpha) + outColor.rgb = vEdgeColor.rgb + (uBGColor.rgb * (1.0 - vEdgeColor.a)); + outColor.a = 1.0; // make opaque, masks out line under arrow + } else { + outColor = vEdgeColor; + } + + `).concat(r.picking?`if(outColor.a == 0.0) discard; + else outColor = vIndex;`:"",` + } + `),l=uHe(n,i,s);l.aPosition=n.getAttribLocation(l,"aPosition"),l.aIndex=n.getAttribLocation(l,"aIndex"),l.aVertType=n.getAttribLocation(l,"aVertType"),l.aAtlasId=n.getAttribLocation(l,"aAtlasId"),l.aTex1=n.getAttribLocation(l,"aTex1"),l.aTex2=n.getAttribLocation(l,"aTex2"),l.aScaleRotate1=n.getAttribLocation(l,"aScaleRotate1"),l.aTranslate1=n.getAttribLocation(l,"aTranslate1"),l.aScaleRotate2=n.getAttribLocation(l,"aScaleRotate2"),l.aTranslate2=n.getAttribLocation(l,"aTranslate2"),l.aPointAPointB=n.getAttribLocation(l,"aPointAPointB"),l.aPointCPointD=n.getAttribLocation(l,"aPointCPointD"),l.aLineWidth=n.getAttribLocation(l,"aLineWidth"),l.aEdgeColor=n.getAttribLocation(l,"aEdgeColor"),l.uPanZoomMatrix=n.getUniformLocation(l,"uPanZoomMatrix"),l.uAtlasSize=n.getUniformLocation(l,"uAtlasSize"),l.uBGColor=n.getUniformLocation(l,"uBGColor"),l.uTextures=[];for(var u=0;u2&&arguments[2]!==void 0?arguments[2]:ix.SCREEN;this.panZoomMatrix=r,this.debugInfo=n,this.renderTarget=i,this.startBatch()},"startFrame")},{key:"startBatch",value:o(function(){this.instanceCount=0,this.atlasManager.startBatch()},"startBatch")},{key:"endFrame",value:o(function(){this.endBatch()},"endFrame")},{key:"getTempMatrix",value:o(function(){return this.tempMatrix=this.tempMatrix||nx()},"getTempMatrix")},{key:"drawTexture",value:o(function(r,n,i){var a=this.atlasManager;if(a.isRenderable(r,i)){a.canAddToCurrentBatch(r,i)||this.endBatch();var s=this.instanceCount;this.vertTypeBuffer.getView(s)[0]=bN;var l=this.indexBuffer.getView(s);Pk(n,l);var u=a.getAtlasInfo(r,i,u),h=u.atlasID,f=u.tex1,d=u.tex2,p=this.atlasIdBuffer.getView(s);p[0]=h;var m=this.tex1Buffer.getView(s);m[0]=f.x,m[1]=f.y,m[2]=f.w,m[3]=f.h;var g=this.tex2Buffer.getView(s);g[0]=d.x,g[1]=d.y,g[2]=d.w,g[3]=d.h;for(var y=this.getTempMatrix(),x=0,v=[1,2];x=this.maxInstances&&this.endBatch()}},"drawTexture")},{key:"drawEdgeArrow",value:o(function(r,n,i){var a=r._private.rscratch,s,l,u;if(i==="source"?(s=a.arrowStartX,l=a.arrowStartY,u=a.srcArrowAngle):(s=a.arrowEndX,l=a.arrowEndY,u=a.tgtArrowAngle),!(isNaN(s)||s==null||isNaN(l)||l==null||isNaN(u)||u==null)){var h=r.pstyle(i+"-arrow-shape").value;if(h!=="none"){var f=r.pstyle(i+"-arrow-color").value,d=r.pstyle("opacity").value,p=r.pstyle("line-opacity").value,m=d*p,g=r.pstyle("width").pfValue,y=r.pstyle("arrow-scale").value,x=this.r.getArrowWidth(g,y),v=this.getTempMatrix();cce(v),nE(v,v,[s,l]),cM(v,v,[x,x]),uce(v,v,u);var b=this.instanceCount;this.vertTypeBuffer.getView(b)[0]=TN;var T=this.indexBuffer.getView(b);Pk(n,T);var S=this.edgeColorBuffer.getView(b);Ok(f,m,S);var w=this.scaleRotate1Buffer.getView(b);w[0]=v[0],w[1]=v[1],w[2]=v[3],w[3]=v[4];var E=this.translate1Buffer.getView(b);E[0]=v[6],E[1]=v[7],this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()}}},"drawEdgeArrow")},{key:"drawEdgeLine",value:o(function(r,n){var i=r.pstyle("opacity").value,a=r.pstyle("line-opacity").value,s=r.pstyle("width").pfValue,l=r.pstyle("line-color").value,u=i*a,h=this.getEdgePoints(r);if(h.length/2+this.instanceCount>this.maxInstances&&this.endBatch(),h.length==4){var f=this.instanceCount;this.vertTypeBuffer.getView(f)[0]=Eoe;var d=this.indexBuffer.getView(f);Pk(n,d);var p=this.edgeColorBuffer.getView(f);Ok(l,u,p);var m=this.lineWidthBuffer.getView(f);m[0]=s;var g=this.pointAPointBBuffer.getView(f);g[0]=h[0],g[1]=h[1],g[2]=h[2],g[3]=h[3],this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()}else for(var y=0;y=this.maxInstances&&this.endBatch()}},"drawEdgeLine")},{key:"getEdgePoints",value:o(function(r){var n=r._private.rscratch,i=n.allpts;if(i.length==4)return i;var a=this.getNumSegments(r);return this.getCurveSegmentPoints(i,a)},"getEdgePoints")},{key:"getNumSegments",value:o(function(r){var n=15;return Math.min(Math.max(n,5),this.maxInstances)},"getNumSegments")},{key:"getCurveSegmentPoints",value:o(function(r,n){if(r.length==4)return r;for(var i=Array((n+1)*2),a=0;a<=n;a++)if(a==0)i[0]=r[0],i[1]=r[1];else if(a==n)i[a*2]=r[r.length-2],i[a*2+1]=r[r.length-1];else{var s=a/n;this.setCurvePoint(r,s,i,a*2)}return i},"getCurveSegmentPoints")},{key:"setCurvePoint",value:o(function(r,n,i,a){if(r.length<=2)i[a]=r[0],i[a+1]=r[1];else{for(var s=Array(r.length-2),l=0;l0},"isVisible")},{key:"getStyle",value:o(function(r,n){var i=n.pstyle("".concat(r,"-opacity")).value,a=n.pstyle("".concat(r,"-color")).value,s=n.pstyle("".concat(r,"-shape")).value;return{opacity:i,color:a,shape:s}},"getStyle")},{key:"getPadding",value:o(function(r,n){return n.pstyle("".concat(r,"-padding")).pfValue},"getPadding")},{key:"draw",value:o(function(r,n,i,a){if(this.isVisible(r,i)){var s=this.r,l=a.w,u=a.h,h=l/2,f=u/2,d=this.getStyle(r,i),p=d.shape,m=d.color,g=d.opacity;n.save(),n.fillStyle=Coe(m,g),p==="round-rectangle"||p==="roundrectangle"?s.drawRoundRectanglePath(n,h,f,l,u,"auto"):p==="ellipse"&&s.drawEllipsePath(n,h,f,l,u),n.fill(),n.restore()}},"draw")}]),t}();o(SHe,"getBGColor");hce={};hce.initWebgl=function(t,e){var r=this,n=r.data.contexts[r.WEBGL],i=t.cy.container();t.bgColor=SHe(i),t.webglTexSize=Math.min(t.webglTexSize,n.getParameter(n.MAX_TEXTURE_SIZE)),t.webglTexRows=Math.min(t.webglTexRows,54),t.webglBatchSize=Math.min(t.webglBatchSize,16384),t.webglTexPerBatch=Math.min(t.webglTexPerBatch,n.getParameter(n.MAX_TEXTURE_IMAGE_UNITS)),r.webglDebug=t.webglDebug,r.webglDebugShowAtlases=t.webglDebugShowAtlases,console.log("max texture units",n.getParameter(n.MAX_TEXTURE_IMAGE_UNITS)),console.log("max texture size",n.getParameter(n.MAX_TEXTURE_SIZE)),console.log("webgl options",t),r.pickingFrameBuffer=gHe(n),r.pickingFrameBuffer.needsDraw=!0;var a=o(function(f){return r.getTextAngle(f,null)},"getLabelRotation"),s=o(function(f){var d=f.pstyle("label");return d&&d.value},"isLabelVisible");r.eleDrawing=new kHe(r,n,t);var l=new EHe(r);r.eleDrawing.addTextureRenderType("node-body",j2({getKey:e.getStyleKey,getBoundingBox:e.getElementBox,drawElement:e.drawElement,isVisible:o(function(f){return f.visible()},"isVisible")})),r.eleDrawing.addTextureRenderType("node-label",j2({getKey:e.getLabelKey,getBoundingBox:e.getLabelBox,drawElement:e.drawLabel,getRotation:a,getRotationPoint:e.getLabelRotationPoint,getRotationOffset:e.getLabelRotationOffset,isVisible:s})),r.eleDrawing.addTextureRenderType("node-overlay",j2({getBoundingBox:e.getElementBox,getKey:o(function(f){return l.getStyleKey("overlay",f)},"getKey"),drawElement:o(function(f,d,p){return l.draw("overlay",f,d,p)},"drawElement"),isVisible:o(function(f){return l.isVisible("overlay",f)},"isVisible"),getPadding:o(function(f){return l.getPadding("overlay",f)},"getPadding")})),r.eleDrawing.addTextureRenderType("node-underlay",j2({getBoundingBox:e.getElementBox,getKey:o(function(f){return l.getStyleKey("underlay",f)},"getKey"),drawElement:o(function(f,d,p){return l.draw("underlay",f,d,p)},"drawElement"),isVisible:o(function(f){return l.isVisible("underlay",f)},"isVisible"),getPadding:o(function(f){return l.getPadding("underlay",f)},"getPadding")})),r.eleDrawing.addTextureRenderType("edge-label",j2({getKey:e.getLabelKey,getBoundingBox:e.getLabelBox,drawElement:e.drawLabel,getRotation:a,getRotationPoint:e.getLabelRotationPoint,getRotationOffset:e.getLabelRotationOffset,isVisible:s}));var u=xx(function(){console.log("garbage collect flag set"),r.data.gc=!0},1e4);r.onUpdateEleCalcs(function(h,f){var d=!1;f&&f.length>0&&(d|=r.eleDrawing.invalidate(f)),d&&u()}),CHe(r)};o(CHe,"overrideCanvasRendererFunctions");o(AHe,"clearWebgl");o(_He,"clearCanvas");o(DHe,"createPanZoomMatrix");o(fce,"setContextTransform");o(LHe,"drawSelectionRectangle");o(RHe,"drawAxes");o(NHe,"drawAtlases");o(MHe,"getPickingIndexes");o(IHe,"findNearestElementsWebgl");o(dce,"renderWebgl");Cf={};Cf.drawPolygonPath=function(t,e,r,n,i,a){var s=n/2,l=i/2;t.beginPath&&t.beginPath(),t.moveTo(e+s*a[0],r+l*a[1]);for(var u=1;u0&&s>0){m.clearRect(0,0,a,s),m.globalCompositeOperation="source-over";var g=this.getCachedZSortedEles();if(t.full)m.translate(-n.x1*h,-n.y1*h),m.scale(h,h),this.drawElements(m,g),m.scale(1/h,1/h),m.translate(n.x1*h,n.y1*h);else{var y=e.pan(),x={x:y.x*h,y:y.y*h};h*=e.zoom(),m.translate(x.x,x.y),m.scale(h,h),this.drawElements(m,g),m.scale(1/h,1/h),m.translate(-x.x,-x.y)}t.bg&&(m.globalCompositeOperation="destination-over",m.fillStyle=t.bg,m.rect(0,0,a,s),m.fill())}return p};o(OHe,"b64ToBlob");o(Doe,"b64UriToB64");o(mce,"output");Sx.png=function(t){return mce(t,this.bufferCanvasImage(t),"image/png")};Sx.jpg=function(t){return mce(t,this.bufferCanvasImage(t),"image/jpeg")};gce={};gce.nodeShapeImpl=function(t,e,r,n,i,a,s,l){switch(t){case"ellipse":return this.drawEllipsePath(e,r,n,i,a);case"polygon":return this.drawPolygonPath(e,r,n,i,a,s);case"round-polygon":return this.drawRoundPolygonPath(e,r,n,i,a,s,l);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,r,n,i,a,l);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,r,n,i,a,s,l);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,r,n,i,a,l);case"barrel":return this.drawBarrelPath(e,r,n,i,a)}};PHe=yce,kr=yce.prototype;kr.CANVAS_LAYERS=3;kr.SELECT_BOX=0;kr.DRAG=1;kr.NODE=2;kr.WEBGL=3;kr.CANVAS_TYPES=["2d","2d","2d","webgl2"];kr.BUFFER_COUNT=3;kr.TEXTURE_BUFFER=0;kr.MOTIONBLUR_BUFFER_NODE=1;kr.MOTIONBLUR_BUFFER_DRAG=2;o(yce,"CanvasRenderer");kr.redrawHint=function(t,e){var r=this;switch(t){case"eles":r.data.canvasNeedsRedraw[kr.NODE]=e;break;case"drag":r.data.canvasNeedsRedraw[kr.DRAG]=e;break;case"select":r.data.canvasNeedsRedraw[kr.SELECT_BOX]=e;break;case"gc":r.data.gc=!0;break}};BHe=typeof Path2D<"u";kr.path2dEnabled=function(t){if(t===void 0)return this.pathsEnabled;this.pathsEnabled=!!t};kr.usePaths=function(){return BHe&&this.pathsEnabled};kr.setImgSmoothing=function(t,e){t.imageSmoothingEnabled!=null?t.imageSmoothingEnabled=e:(t.webkitImageSmoothingEnabled=e,t.mozImageSmoothingEnabled=e,t.msImageSmoothingEnabled=e)};kr.getImgSmoothing=function(t){return t.imageSmoothingEnabled!=null?t.imageSmoothingEnabled:t.webkitImageSmoothingEnabled||t.mozImageSmoothingEnabled||t.msImageSmoothingEnabled};kr.makeOffscreenCanvas=function(t,e){var r;if((typeof OffscreenCanvas>"u"?"undefined":zi(OffscreenCanvas))!=="undefined")r=new OffscreenCanvas(t,e);else{var n=this.cy.window(),i=n.document;r=i.createElement("canvas"),r.width=t,r.height=e}return r};[ice,Pc,zu,oM,wp,pg,cs,hce,Cf,Sx,gce].forEach(function(t){ir(kr,t)});FHe=[{name:"null",impl:Hle},{name:"base",impl:ece},{name:"canvas",impl:PHe}],$He=[{type:"layout",extensions:TUe},{type:"renderer",extensions:FHe}],vce={},xce={};o(bce,"setExtension");o(Tce,"getExtension");o(GHe,"setModule");o(zHe,"getModule");FN=o(function(){if(arguments.length===2)return Tce.apply(null,arguments);if(arguments.length===3)return bce.apply(null,arguments);if(arguments.length===4)return zHe.apply(null,arguments);if(arguments.length===5)return GHe.apply(null,arguments);oi("Invalid extension access syntax")},"extension");mx.prototype.extension=FN;$He.forEach(function(t){t.extensions.forEach(function(e){bce(t.type,e.name,e.impl)})});wce=o(function t(){if(!(this instanceof t))return new t;this.length=0},"Stylesheet"),bp=wce.prototype;bp.instanceString=function(){return"stylesheet"};bp.selector=function(t){var e=this.length++;return this[e]={selector:t,properties:[]},this};bp.css=function(t,e){var r=this.length-1;if(Jt(t))this[r].properties.push({name:t,value:e});else if(Vr(t))for(var n=t,i=Object.keys(n),a=0;a{"use strict";o(function(e,r){typeof Cx=="object"&&typeof hM=="object"?hM.exports=r():typeof define=="function"&&define.amd?define([],r):typeof Cx=="object"?Cx.layoutBase=r():e.layoutBase=r()},"webpackUniversalModuleDefinition")(Cx,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return o(r,"__webpack_require__"),r.m=t,r.c=e,r.i=function(n){return n},r.d=function(n,i,a){r.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:a})},r.n=function(n){var i=n&&n.__esModule?o(function(){return n.default},"getDefault"):o(function(){return n},"getModuleExports");return r.d(i,"a",i),i},r.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},r.p="",r(r.s=26)}([function(t,e,r){"use strict";function n(){}o(n,"LayoutConstants"),n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(8),a=r(9);function s(u,h,f){n.call(this,f),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=f,this.bendpoints=[],this.source=u,this.target=h}o(s,"LEdge"),s.prototype=Object.create(n.prototype);for(var l in n)s[l]=n[l];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.prototype.getOtherEnd=function(u){if(this.source===u)return this.target;if(this.target===u)return this.source;throw"Node is not incident with this edge"},s.prototype.getOtherEndInGraph=function(u,h){for(var f=this.getOtherEnd(u),d=h.getGraphManager().getRoot();;){if(f.getOwner()==h)return f;if(f.getOwner()==d)break;f=f.getOwner().getParent()}return null},s.prototype.updateLength=function(){var u=new Array(4);this.isOverlapingSourceAndTarget=i.getIntersection(this.target.getRect(),this.source.getRect(),u),this.isOverlapingSourceAndTarget||(this.lengthX=u[0]-u[2],this.lengthY=u[1]-u[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,r){"use strict";function n(i){this.vGraphObject=i}o(n,"LGraphObject"),t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(10),a=r(13),s=r(0),l=r(16),u=r(4);function h(d,p,m,g){m==null&&g==null&&(g=p),n.call(this,g),d.graphManager!=null&&(d=d.graphManager),this.estimatedSize=i.MIN_VALUE,this.inclusionTreeDepth=i.MAX_VALUE,this.vGraphObject=g,this.edges=[],this.graphManager=d,m!=null&&p!=null?this.rect=new a(p.x,p.y,m.width,m.height):this.rect=new a}o(h,"LNode"),h.prototype=Object.create(n.prototype);for(var f in n)h[f]=n[f];h.prototype.getEdges=function(){return this.edges},h.prototype.getChild=function(){return this.child},h.prototype.getOwner=function(){return this.owner},h.prototype.getWidth=function(){return this.rect.width},h.prototype.setWidth=function(d){this.rect.width=d},h.prototype.getHeight=function(){return this.rect.height},h.prototype.setHeight=function(d){this.rect.height=d},h.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},h.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},h.prototype.getCenter=function(){return new u(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},h.prototype.getLocation=function(){return new u(this.rect.x,this.rect.y)},h.prototype.getRect=function(){return this.rect},h.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},h.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},h.prototype.setRect=function(d,p){this.rect.x=d.x,this.rect.y=d.y,this.rect.width=p.width,this.rect.height=p.height},h.prototype.setCenter=function(d,p){this.rect.x=d-this.rect.width/2,this.rect.y=p-this.rect.height/2},h.prototype.setLocation=function(d,p){this.rect.x=d,this.rect.y=p},h.prototype.moveBy=function(d,p){this.rect.x+=d,this.rect.y+=p},h.prototype.getEdgeListToNode=function(d){var p=[],m,g=this;return g.edges.forEach(function(y){if(y.target==d){if(y.source!=g)throw"Incorrect edge source!";p.push(y)}}),p},h.prototype.getEdgesBetween=function(d){var p=[],m,g=this;return g.edges.forEach(function(y){if(!(y.source==g||y.target==g))throw"Incorrect edge source and/or target";(y.target==d||y.source==d)&&p.push(y)}),p},h.prototype.getNeighborsList=function(){var d=new Set,p=this;return p.edges.forEach(function(m){if(m.source==p)d.add(m.target);else{if(m.target!=p)throw"Incorrect incidency!";d.add(m.source)}}),d},h.prototype.withChildren=function(){var d=new Set,p,m;if(d.add(this),this.child!=null)for(var g=this.child.getNodes(),y=0;yp&&(this.rect.x-=(this.labelWidth-p)/2,this.setWidth(this.labelWidth)),this.labelHeight>m&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-m)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-m),this.setHeight(this.labelHeight))}}},h.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==i.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},h.prototype.transform=function(d){var p=this.rect.x;p>s.WORLD_BOUNDARY?p=s.WORLD_BOUNDARY:p<-s.WORLD_BOUNDARY&&(p=-s.WORLD_BOUNDARY);var m=this.rect.y;m>s.WORLD_BOUNDARY?m=s.WORLD_BOUNDARY:m<-s.WORLD_BOUNDARY&&(m=-s.WORLD_BOUNDARY);var g=new u(p,m),y=d.inverseTransformPoint(g);this.setLocation(y.x,y.y)},h.prototype.getLeft=function(){return this.rect.x},h.prototype.getRight=function(){return this.rect.x+this.rect.width},h.prototype.getTop=function(){return this.rect.y},h.prototype.getBottom=function(){return this.rect.y+this.rect.height},h.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},t.exports=h},function(t,e,r){"use strict";function n(i,a){i==null&&a==null?(this.x=0,this.y=0):(this.x=i,this.y=a)}o(n,"PointD"),n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(i){this.x=i},n.prototype.setY=function(i){this.y=i},n.prototype.getDifference=function(i){return new DimensionD(this.x-i.x,this.y-i.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(i){return this.x+=i.width,this.y+=i.height,this},t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(10),a=r(0),s=r(6),l=r(3),u=r(1),h=r(13),f=r(12),d=r(11);function p(g,y,x){n.call(this,x),this.estimatedSize=i.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=g,y!=null&&y instanceof s?this.graphManager=y:y!=null&&y instanceof Layout&&(this.graphManager=y.graphManager)}o(p,"LGraph"),p.prototype=Object.create(n.prototype);for(var m in n)p[m]=n[m];p.prototype.getNodes=function(){return this.nodes},p.prototype.getEdges=function(){return this.edges},p.prototype.getGraphManager=function(){return this.graphManager},p.prototype.getParent=function(){return this.parent},p.prototype.getLeft=function(){return this.left},p.prototype.getRight=function(){return this.right},p.prototype.getTop=function(){return this.top},p.prototype.getBottom=function(){return this.bottom},p.prototype.isConnected=function(){return this.isConnected},p.prototype.add=function(g,y,x){if(y==null&&x==null){var v=g;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(v)>-1)throw"Node already in graph!";return v.owner=this,this.getNodes().push(v),v}else{var b=g;if(!(this.getNodes().indexOf(y)>-1&&this.getNodes().indexOf(x)>-1))throw"Source or target not in graph!";if(!(y.owner==x.owner&&y.owner==this))throw"Both owners must be this graph!";return y.owner!=x.owner?null:(b.source=y,b.target=x,b.isInterGraph=!1,this.getEdges().push(b),y.edges.push(b),x!=y&&x.edges.push(b),b)}},p.prototype.remove=function(g){var y=g;if(g instanceof l){if(y==null)throw"Node is null!";if(!(y.owner!=null&&y.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var x=y.edges.slice(),v,b=x.length,T=0;T-1&&E>-1))throw"Source and/or target doesn't know this edge!";v.source.edges.splice(w,1),v.target!=v.source&&v.target.edges.splice(E,1);var S=v.source.owner.getEdges().indexOf(v);if(S==-1)throw"Not in owner's edge list!";v.source.owner.getEdges().splice(S,1)}},p.prototype.updateLeftTop=function(){for(var g=i.MAX_VALUE,y=i.MAX_VALUE,x,v,b,T=this.getNodes(),S=T.length,w=0;wx&&(g=x),y>v&&(y=v)}return g==i.MAX_VALUE?null:(T[0].getParent().paddingLeft!=null?b=T[0].getParent().paddingLeft:b=this.margin,this.left=y-b,this.top=g-b,new f(this.left,this.top))},p.prototype.updateBounds=function(g){for(var y=i.MAX_VALUE,x=-i.MAX_VALUE,v=i.MAX_VALUE,b=-i.MAX_VALUE,T,S,w,E,_,A=this.nodes,D=A.length,O=0;OT&&(y=T),xw&&(v=w),bT&&(y=T),xw&&(v=w),b=this.nodes.length){var D=0;x.forEach(function(O){O.owner==g&&D++}),D==this.nodes.length&&(this.isConnected=!0)}},t.exports=p},function(t,e,r){"use strict";var n,i=r(1);function a(s){n=r(5),this.layout=s,this.graphs=[],this.edges=[]}o(a,"LGraphManager"),a.prototype.addRoot=function(){var s=this.layout.newGraph(),l=this.layout.newNode(null),u=this.add(s,l);return this.setRootGraph(u),this.rootGraph},a.prototype.add=function(s,l,u,h,f){if(u==null&&h==null&&f==null){if(s==null)throw"Graph is null!";if(l==null)throw"Parent node is null!";if(this.graphs.indexOf(s)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(s),s.parent!=null)throw"Already has a parent!";if(l.child!=null)throw"Already has a child!";return s.parent=l,l.child=s,s}else{f=u,h=l,u=s;var d=h.getOwner(),p=f.getOwner();if(!(d!=null&&d.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(p!=null&&p.getGraphManager()==this))throw"Target not in this graph mgr!";if(d==p)return u.isInterGraph=!1,d.add(u,h,f);if(u.isInterGraph=!0,u.source=h,u.target=f,this.edges.indexOf(u)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(u),!(u.source!=null&&u.target!=null))throw"Edge source and/or target is null!";if(!(u.source.edges.indexOf(u)==-1&&u.target.edges.indexOf(u)==-1))throw"Edge already in source and/or target incidency list!";return u.source.edges.push(u),u.target.edges.push(u),u}},a.prototype.remove=function(s){if(s instanceof n){var l=s;if(l.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(l==this.rootGraph||l.parent!=null&&l.parent.graphManager==this))throw"Invalid parent node!";var u=[];u=u.concat(l.getEdges());for(var h,f=u.length,d=0;d=s.getRight()?l[0]+=Math.min(s.getX()-a.getX(),a.getRight()-s.getRight()):s.getX()<=a.getX()&&s.getRight()>=a.getRight()&&(l[0]+=Math.min(a.getX()-s.getX(),s.getRight()-a.getRight())),a.getY()<=s.getY()&&a.getBottom()>=s.getBottom()?l[1]+=Math.min(s.getY()-a.getY(),a.getBottom()-s.getBottom()):s.getY()<=a.getY()&&s.getBottom()>=a.getBottom()&&(l[1]+=Math.min(a.getY()-s.getY(),s.getBottom()-a.getBottom()));var f=Math.abs((s.getCenterY()-a.getCenterY())/(s.getCenterX()-a.getCenterX()));s.getCenterY()===a.getCenterY()&&s.getCenterX()===a.getCenterX()&&(f=1);var d=f*l[0],p=l[1]/f;l[0]d)return l[0]=u,l[1]=m,l[2]=f,l[3]=A,!1;if(hf)return l[0]=p,l[1]=h,l[2]=E,l[3]=d,!1;if(uf?(l[0]=y,l[1]=x,k=!0):(l[0]=g,l[1]=m,k=!0):C===M&&(u>f?(l[0]=p,l[1]=m,k=!0):(l[0]=v,l[1]=x,k=!0)),-I===M?f>u?(l[2]=_,l[3]=A,L=!0):(l[2]=E,l[3]=w,L=!0):I===M&&(f>u?(l[2]=S,l[3]=w,L=!0):(l[2]=D,l[3]=A,L=!0)),k&&L)return!1;if(u>f?h>d?(P=this.getCardinalDirection(C,M,4),B=this.getCardinalDirection(I,M,2)):(P=this.getCardinalDirection(-C,M,3),B=this.getCardinalDirection(-I,M,1)):h>d?(P=this.getCardinalDirection(-C,M,1),B=this.getCardinalDirection(-I,M,3)):(P=this.getCardinalDirection(C,M,2),B=this.getCardinalDirection(I,M,4)),!k)switch(P){case 1:G=m,F=u+-T/M,l[0]=F,l[1]=G;break;case 2:F=v,G=h+b*M,l[0]=F,l[1]=G;break;case 3:G=x,F=u+T/M,l[0]=F,l[1]=G;break;case 4:F=y,G=h+-b*M,l[0]=F,l[1]=G;break}if(!L)switch(B){case 1:U=w,$=f+-R/M,l[2]=$,l[3]=U;break;case 2:$=D,U=d+O*M,l[2]=$,l[3]=U;break;case 3:U=A,$=f+R/M,l[2]=$,l[3]=U;break;case 4:$=_,U=d+-O*M,l[2]=$,l[3]=U;break}}return!1},i.getCardinalDirection=function(a,s,l){return a>s?l:1+l%4},i.getIntersection=function(a,s,l,u){if(u==null)return this.getIntersection2(a,s,l);var h=a.x,f=a.y,d=s.x,p=s.y,m=l.x,g=l.y,y=u.x,x=u.y,v=void 0,b=void 0,T=void 0,S=void 0,w=void 0,E=void 0,_=void 0,A=void 0,D=void 0;return T=p-f,w=h-d,_=d*f-h*p,S=x-g,E=m-y,A=y*g-m*x,D=T*E-S*w,D===0?null:(v=(w*A-E*_)/D,b=(S*_-T*A)/D,new n(v,b))},i.angleOfVector=function(a,s,l,u){var h=void 0;return a!==l?(h=Math.atan((u-s)/(l-a)),l0?1:i<0?-1:0},n.floor=function(i){return i<0?Math.ceil(i):Math.floor(i)},n.ceil=function(i){return i<0?Math.floor(i):Math.ceil(i)},t.exports=n},function(t,e,r){"use strict";function n(){}o(n,"Integer"),n.MAX_VALUE=2147483647,n.MIN_VALUE=-2147483648,t.exports=n},function(t,e,r){"use strict";var n=function(){function h(f,d){for(var p=0;p"u"?"undefined":n(a);return a==null||s!="object"&&s!="function"},t.exports=i},function(t,e,r){"use strict";function n(m){if(Array.isArray(m)){for(var g=0,y=Array(m.length);g0&&g;){for(T.push(w[0]);T.length>0&&g;){var E=T[0];T.splice(0,1),b.add(E);for(var _=E.getEdges(),v=0;v<_.length;v++){var A=_[v].getOtherEnd(E);if(S.get(E)!=A)if(!b.has(A))T.push(A),S.set(A,E);else{g=!1;break}}}if(!g)m=[];else{var D=[].concat(n(b));m.push(D);for(var v=0;v-1&&w.splice(R,1)}b=new Set,S=new Map}}return m},p.prototype.createDummyNodesForBendpoints=function(m){for(var g=[],y=m.source,x=this.graphManager.calcLowestCommonAncestor(m.source,m.target),v=0;v0){for(var x=this.edgeToDummyNodes.get(y),v=0;v=0&&g.splice(A,1);var D=S.getNeighborsList();D.forEach(function(k){if(y.indexOf(k)<0){var L=x.get(k),C=L-1;C==1&&E.push(k),x.set(k,C)}})}y=y.concat(E),(g.length==1||g.length==2)&&(v=!0,b=g[0])}return b},p.prototype.setGraphManager=function(m){this.graphManager=m},t.exports=p},function(t,e,r){"use strict";function n(){}o(n,"RandomSeed"),n.seed=1,n.x=0,n.nextDouble=function(){return n.x=Math.sin(n.seed++)*1e4,n.x-Math.floor(n.x)},t.exports=n},function(t,e,r){"use strict";var n=r(4);function i(a,s){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}o(i,"Transform"),i.prototype.getWorldOrgX=function(){return this.lworldOrgX},i.prototype.setWorldOrgX=function(a){this.lworldOrgX=a},i.prototype.getWorldOrgY=function(){return this.lworldOrgY},i.prototype.setWorldOrgY=function(a){this.lworldOrgY=a},i.prototype.getWorldExtX=function(){return this.lworldExtX},i.prototype.setWorldExtX=function(a){this.lworldExtX=a},i.prototype.getWorldExtY=function(){return this.lworldExtY},i.prototype.setWorldExtY=function(a){this.lworldExtY=a},i.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},i.prototype.setDeviceOrgX=function(a){this.ldeviceOrgX=a},i.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},i.prototype.setDeviceOrgY=function(a){this.ldeviceOrgY=a},i.prototype.getDeviceExtX=function(){return this.ldeviceExtX},i.prototype.setDeviceExtX=function(a){this.ldeviceExtX=a},i.prototype.getDeviceExtY=function(){return this.ldeviceExtY},i.prototype.setDeviceExtY=function(a){this.ldeviceExtY=a},i.prototype.transformX=function(a){var s=0,l=this.lworldExtX;return l!=0&&(s=this.ldeviceOrgX+(a-this.lworldOrgX)*this.ldeviceExtX/l),s},i.prototype.transformY=function(a){var s=0,l=this.lworldExtY;return l!=0&&(s=this.ldeviceOrgY+(a-this.lworldOrgY)*this.ldeviceExtY/l),s},i.prototype.inverseTransformX=function(a){var s=0,l=this.ldeviceExtX;return l!=0&&(s=this.lworldOrgX+(a-this.ldeviceOrgX)*this.lworldExtX/l),s},i.prototype.inverseTransformY=function(a){var s=0,l=this.ldeviceExtY;return l!=0&&(s=this.lworldOrgY+(a-this.ldeviceOrgY)*this.lworldExtY/l),s},i.prototype.inverseTransformPoint=function(a){var s=new n(this.inverseTransformX(a.x),this.inverseTransformY(a.y));return s},t.exports=i},function(t,e,r){"use strict";function n(d){if(Array.isArray(d)){for(var p=0,m=Array(d.length);pa.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*a.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(d-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-a.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT_INCREMENTAL):(d>a.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(a.COOLING_ADAPTATION_FACTOR,1-(d-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*(1-a.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var d=this.getAllEdges(),p,m=0;m0&&arguments[0]!==void 0?arguments[0]:!0,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m,g,y,x,v=this.getAllNodes(),b;if(this.useFRGridVariant)for(this.totalIterations%a.GRID_CALCULATION_CHECK_PERIOD==1&&d&&this.updateGrid(),b=new Set,m=0;mT||b>T)&&(d.gravitationForceX=-this.gravityConstant*y,d.gravitationForceY=-this.gravityConstant*x)):(T=p.getEstimatedSize()*this.compoundGravityRangeFactor,(v>T||b>T)&&(d.gravitationForceX=-this.gravityConstant*y*this.compoundGravityConstant,d.gravitationForceY=-this.gravityConstant*x*this.compoundGravityConstant))},h.prototype.isConverged=function(){var d,p=!1;return this.totalIterations>this.maxIterations/3&&(p=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),d=this.totalDisplacement=v.length||T>=v[0].length)){for(var S=0;Sh},"_defaultCompareFunction")}]),l}();t.exports=s},function(t,e,r){"use strict";var n=function(){function s(l,u){for(var h=0;h2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;i(this,s),this.sequence1=l,this.sequence2=u,this.match_score=h,this.mismatch_penalty=f,this.gap_penalty=d,this.iMax=l.length+1,this.jMax=u.length+1,this.grid=new Array(this.iMax);for(var p=0;p=0;l--){var u=this.listeners[l];u.event===a&&u.callback===s&&this.listeners.splice(l,1)}},i.emit=function(a,s){for(var l=0;l{"use strict";o(function(e,r){typeof Ax=="object"&&typeof dM=="object"?dM.exports=r(fM()):typeof define=="function"&&define.amd?define(["layout-base"],r):typeof Ax=="object"?Ax.coseBase=r(fM()):e.coseBase=r(e.layoutBase)},"webpackUniversalModuleDefinition")(Ax,function(t){return function(e){var r={};function n(i){if(r[i])return r[i].exports;var a=r[i]={i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return o(n,"__webpack_require__"),n.m=e,n.c=r,n.i=function(i){return i},n.d=function(i,a,s){n.o(i,a)||Object.defineProperty(i,a,{configurable:!1,enumerable:!0,get:s})},n.n=function(i){var a=i&&i.__esModule?o(function(){return i.default},"getDefault"):o(function(){return i},"getModuleExports");return n.d(a,"a",a),a},n.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},n.p="",n(n.s=7)}([function(e,r){e.exports=t},function(e,r,n){"use strict";var i=n(0).FDLayoutConstants;function a(){}o(a,"CoSEConstants");for(var s in i)a[s]=i[s];a.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,a.DEFAULT_RADIAL_SEPARATION=i.DEFAULT_EDGE_LENGTH,a.DEFAULT_COMPONENT_SEPERATION=60,a.TILE=!0,a.TILING_PADDING_VERTICAL=10,a.TILING_PADDING_HORIZONTAL=10,a.TREE_REDUCTION_ON_INCREMENTAL=!1,e.exports=a},function(e,r,n){"use strict";var i=n(0).FDLayoutEdge;function a(l,u,h){i.call(this,l,u,h)}o(a,"CoSEEdge"),a.prototype=Object.create(i.prototype);for(var s in i)a[s]=i[s];e.exports=a},function(e,r,n){"use strict";var i=n(0).LGraph;function a(l,u,h){i.call(this,l,u,h)}o(a,"CoSEGraph"),a.prototype=Object.create(i.prototype);for(var s in i)a[s]=i[s];e.exports=a},function(e,r,n){"use strict";var i=n(0).LGraphManager;function a(l){i.call(this,l)}o(a,"CoSEGraphManager"),a.prototype=Object.create(i.prototype);for(var s in i)a[s]=i[s];e.exports=a},function(e,r,n){"use strict";var i=n(0).FDLayoutNode,a=n(0).IMath;function s(u,h,f,d){i.call(this,u,h,f,d)}o(s,"CoSENode"),s.prototype=Object.create(i.prototype);for(var l in i)s[l]=i[l];s.prototype.move=function(){var u=this.graphManager.getLayout();this.displacementX=u.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=u.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>u.coolingFactor*u.maxNodeDisplacement&&(this.displacementX=u.coolingFactor*u.maxNodeDisplacement*a.sign(this.displacementX)),Math.abs(this.displacementY)>u.coolingFactor*u.maxNodeDisplacement&&(this.displacementY=u.coolingFactor*u.maxNodeDisplacement*a.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),u.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},s.prototype.propogateDisplacementToChildren=function(u,h){for(var f=this.getChild().getNodes(),d,p=0;p0)this.positionNodesRadially(w);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var E=new Set(this.getAllNodes()),_=this.nodesWithGravity.filter(function(A){return E.has(A)});this.graphManager.setAllNodesToApplyGravitation(_),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},T.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%f.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var w=new Set(this.getAllNodes()),E=this.nodesWithGravity.filter(function(D){return w.has(D)});this.graphManager.setAllNodesToApplyGravitation(E),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=f.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=f.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var _=!this.isTreeGrowing&&!this.isGrowthFinished,A=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(_,A),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},T.prototype.getPositionsData=function(){for(var w=this.graphManager.getAllNodes(),E={},_=0;_1){var k;for(k=0;kA&&(A=Math.floor(R.y)),O=Math.floor(R.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new m(d.WORLD_CENTER_X-R.x/2,d.WORLD_CENTER_Y-R.y/2))},T.radialLayout=function(w,E,_){var A=Math.max(this.maxDiagonalInTree(w),h.DEFAULT_RADIAL_SEPARATION);T.branchRadialLayout(E,null,0,359,0,A);var D=v.calculateBounds(w),O=new b;O.setDeviceOrgX(D.getMinX()),O.setDeviceOrgY(D.getMinY()),O.setWorldOrgX(_.x),O.setWorldOrgY(_.y);for(var R=0;R1;){var K=U[0];U.splice(0,1);var ne=P.indexOf(K);ne>=0&&P.splice(ne,1),G--,B--}E!=null?$=(P.indexOf(U[0])+1)%G:$=0;for(var j=Math.abs(A-_)/B,le=$;F!=B;le=++le%G){var Z=P[le].getOtherEnd(w);if(Z!=E){var ce=(_+F*j)%360,Q=(ce+j)%360;T.branchRadialLayout(Z,w,ce,Q,D+O,O),F++}}},T.maxDiagonalInTree=function(w){for(var E=y.MIN_VALUE,_=0;_E&&(E=D)}return E},T.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},T.prototype.groupZeroDegreeMembers=function(){var w=this,E={};this.memberGroups={},this.idToDummyNode={};for(var _=[],A=this.graphManager.getAllNodes(),D=0;D"u"&&(E[k]=[]),E[k]=E[k].concat(O)}Object.keys(E).forEach(function(L){if(E[L].length>1){var C="DummyCompound_"+L;w.memberGroups[C]=E[L];var I=E[L][0].getParent(),M=new l(w.graphManager);M.id=C,M.paddingLeft=I.paddingLeft||0,M.paddingRight=I.paddingRight||0,M.paddingBottom=I.paddingBottom||0,M.paddingTop=I.paddingTop||0,w.idToDummyNode[C]=M;var P=w.getGraphManager().add(w.newGraph(),M),B=I.getChild();B.add(M);for(var F=0;F=0;w--){var E=this.compoundOrder[w],_=E.id,A=E.paddingLeft,D=E.paddingTop;this.adjustLocations(this.tiledMemberPack[_],E.rect.x,E.rect.y,A,D)}},T.prototype.repopulateZeroDegreeMembers=function(){var w=this,E=this.tiledZeroDegreePack;Object.keys(E).forEach(function(_){var A=w.idToDummyNode[_],D=A.paddingLeft,O=A.paddingTop;w.adjustLocations(E[_],A.rect.x,A.rect.y,D,O)})},T.prototype.getToBeTiled=function(w){var E=w.id;if(this.toBeTiled[E]!=null)return this.toBeTiled[E];var _=w.getChild();if(_==null)return this.toBeTiled[E]=!1,!1;for(var A=_.getNodes(),D=0;D0)return this.toBeTiled[E]=!1,!1;if(O.getChild()==null){this.toBeTiled[O.id]=!1;continue}if(!this.getToBeTiled(O))return this.toBeTiled[E]=!1,!1}return this.toBeTiled[E]=!0,!0},T.prototype.getNodeDegree=function(w){for(var E=w.id,_=w.getEdges(),A=0,D=0;D<_.length;D++){var O=_[D];O.getSource().id!==O.getTarget().id&&(A=A+1)}return A},T.prototype.getNodeDegreeWithChildren=function(w){var E=this.getNodeDegree(w);if(w.getChild()==null)return E;for(var _=w.getChild().getNodes(),A=0;A<_.length;A++){var D=_[A];E+=this.getNodeDegreeWithChildren(D)}return E},T.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},T.prototype.fillCompexOrderByDFS=function(w){for(var E=0;EL&&(L=I.rect.height)}_+=L+w.verticalPadding}},T.prototype.tileCompoundMembers=function(w,E){var _=this;this.tiledMemberPack=[],Object.keys(w).forEach(function(A){var D=E[A];_.tiledMemberPack[A]=_.tileNodes(w[A],D.paddingLeft+D.paddingRight),D.rect.width=_.tiledMemberPack[A].width,D.rect.height=_.tiledMemberPack[A].height})},T.prototype.tileNodes=function(w,E){var _=h.TILING_PADDING_VERTICAL,A=h.TILING_PADDING_HORIZONTAL,D={rows:[],rowWidth:[],rowHeight:[],width:0,height:E,verticalPadding:_,horizontalPadding:A};w.sort(function(k,L){return k.rect.width*k.rect.height>L.rect.width*L.rect.height?-1:k.rect.width*k.rect.height0&&(R+=w.horizontalPadding),w.rowWidth[_]=R,w.width0&&(k+=w.verticalPadding);var L=0;k>w.rowHeight[_]&&(L=w.rowHeight[_],w.rowHeight[_]=k,L=w.rowHeight[_]-L),w.height+=L,w.rows[_].push(E)},T.prototype.getShortestRowIndex=function(w){for(var E=-1,_=Number.MAX_VALUE,A=0;A_&&(E=A,_=w.rowWidth[A]);return E},T.prototype.canAddHorizontal=function(w,E,_){var A=this.getShortestRowIndex(w);if(A<0)return!0;var D=w.rowWidth[A];if(D+w.horizontalPadding+E<=w.width)return!0;var O=0;w.rowHeight[A]<_&&A>0&&(O=_+w.verticalPadding-w.rowHeight[A]);var R;w.width-D>=E+w.horizontalPadding?R=(w.height+O)/(D+E+w.horizontalPadding):R=(w.height+O)/w.width,O=_+w.verticalPadding;var k;return w.widthO&&E!=_){A.splice(-1,1),w.rows[_].push(D),w.rowWidth[E]=w.rowWidth[E]-O,w.rowWidth[_]=w.rowWidth[_]+O,w.width=w.rowWidth[instance.getLongestRowIndex(w)];for(var R=Number.MIN_VALUE,k=0;kR&&(R=A[k].height);E>0&&(R+=w.verticalPadding);var L=w.rowHeight[E]+w.rowHeight[_];w.rowHeight[E]=R,w.rowHeight[_]0)for(var B=D;B<=O;B++)P[0]+=this.grid[B][R-1].length+this.grid[B][R].length-1;if(O0)for(var B=R;B<=k;B++)P[3]+=this.grid[D-1][B].length+this.grid[D][B].length-1;for(var F=y.MAX_VALUE,G,$,U=0;U{"use strict";o(function(e,r){typeof _x=="object"&&typeof mM=="object"?mM.exports=r(pM()):typeof define=="function"&&define.amd?define(["cose-base"],r):typeof _x=="object"?_x.cytoscapeCoseBilkent=r(pM()):e.cytoscapeCoseBilkent=r(e.coseBase)},"webpackUniversalModuleDefinition")(_x,function(t){return function(e){var r={};function n(i){if(r[i])return r[i].exports;var a=r[i]={i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return o(n,"__webpack_require__"),n.m=e,n.c=r,n.i=function(i){return i},n.d=function(i,a,s){n.o(i,a)||Object.defineProperty(i,a,{configurable:!1,enumerable:!0,get:s})},n.n=function(i){var a=i&&i.__esModule?o(function(){return i.default},"getDefault"):o(function(){return i},"getModuleExports");return n.d(a,"a",a),a},n.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},n.p="",n(n.s=1)}([function(e,r){e.exports=t},function(e,r,n){"use strict";var i=n(0).layoutBase.LayoutConstants,a=n(0).layoutBase.FDLayoutConstants,s=n(0).CoSEConstants,l=n(0).CoSELayout,u=n(0).CoSENode,h=n(0).layoutBase.PointD,f=n(0).layoutBase.DimensionD,d={ready:o(function(){},"ready"),stop:o(function(){},"stop"),quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function p(x,v){var b={};for(var T in x)b[T]=x[T];for(var T in v)b[T]=v[T];return b}o(p,"extend");function m(x){this.options=p(d,x),g(this.options)}o(m,"_CoSELayout");var g=o(function(v){v.nodeRepulsion!=null&&(s.DEFAULT_REPULSION_STRENGTH=a.DEFAULT_REPULSION_STRENGTH=v.nodeRepulsion),v.idealEdgeLength!=null&&(s.DEFAULT_EDGE_LENGTH=a.DEFAULT_EDGE_LENGTH=v.idealEdgeLength),v.edgeElasticity!=null&&(s.DEFAULT_SPRING_STRENGTH=a.DEFAULT_SPRING_STRENGTH=v.edgeElasticity),v.nestingFactor!=null&&(s.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=v.nestingFactor),v.gravity!=null&&(s.DEFAULT_GRAVITY_STRENGTH=a.DEFAULT_GRAVITY_STRENGTH=v.gravity),v.numIter!=null&&(s.MAX_ITERATIONS=a.MAX_ITERATIONS=v.numIter),v.gravityRange!=null&&(s.DEFAULT_GRAVITY_RANGE_FACTOR=a.DEFAULT_GRAVITY_RANGE_FACTOR=v.gravityRange),v.gravityCompound!=null&&(s.DEFAULT_COMPOUND_GRAVITY_STRENGTH=a.DEFAULT_COMPOUND_GRAVITY_STRENGTH=v.gravityCompound),v.gravityRangeCompound!=null&&(s.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=v.gravityRangeCompound),v.initialEnergyOnIncremental!=null&&(s.DEFAULT_COOLING_FACTOR_INCREMENTAL=a.DEFAULT_COOLING_FACTOR_INCREMENTAL=v.initialEnergyOnIncremental),v.quality=="draft"?i.QUALITY=0:v.quality=="proof"?i.QUALITY=2:i.QUALITY=1,s.NODE_DIMENSIONS_INCLUDE_LABELS=a.NODE_DIMENSIONS_INCLUDE_LABELS=i.NODE_DIMENSIONS_INCLUDE_LABELS=v.nodeDimensionsIncludeLabels,s.DEFAULT_INCREMENTAL=a.DEFAULT_INCREMENTAL=i.DEFAULT_INCREMENTAL=!v.randomize,s.ANIMATE=a.ANIMATE=i.ANIMATE=v.animate,s.TILE=v.tile,s.TILING_PADDING_VERTICAL=typeof v.tilingPaddingVertical=="function"?v.tilingPaddingVertical.call():v.tilingPaddingVertical,s.TILING_PADDING_HORIZONTAL=typeof v.tilingPaddingHorizontal=="function"?v.tilingPaddingHorizontal.call():v.tilingPaddingHorizontal},"getUserOptions");m.prototype.run=function(){var x,v,b=this.options,T=this.idToLNode={},S=this.layout=new l,w=this;w.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var E=S.newGraphManager();this.gm=E;var _=this.options.eles.nodes(),A=this.options.eles.edges();this.root=E.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(_),S);for(var D=0;D0){var k;k=b.getGraphManager().add(b.newGraph(),_),this.processChildrenList(k,E,b)}}},m.prototype.stop=function(){return this.stopped=!0,this};var y=o(function(v){v("layout","cose-bilkent",m)},"register");typeof cytoscape<"u"&&y(cytoscape),e.exports=y}])})});function UHe(t,e){t.forEach(r=>{let n={id:r.id,labelText:r.label,height:r.height,width:r.width,padding:r.padding??0};Object.keys(r).forEach(i=>{["id","label","height","width","padding","x","y"].includes(i)||(n[i]=r[i])}),e.add({group:"nodes",data:n,position:{x:r.x??0,y:r.y??0}})})}function HHe(t,e){t.forEach(r=>{let n={id:r.id,source:r.start,target:r.end};Object.keys(r).forEach(i=>{["id","start","end"].includes(i)||(n[i]=r[i])}),e.add({group:"edges",data:n})})}function Sce(t){return new Promise(e=>{let r=ze("body").append("div").attr("id","cy").attr("style","display:none"),n=Ko({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});r.remove(),UHe(t.nodes,n),HHe(t.edges,n),n.nodes().forEach(function(a){a.layoutDimensions=()=>{let s=a.data();return{w:s.width,h:s.height}}});let i={name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1};n.layout(i).run(),n.ready(a=>{X.info("Cytoscape ready",a),e(n)})})}function Cce(t){return t.nodes().map(e=>{let r=e.data(),n=e.position(),i={id:r.id,x:n.x,y:n.y};return Object.keys(r).forEach(a=>{a!=="id"&&(i[a]=r[a])}),i})}function Ace(t){return t.edges().map(e=>{let r=e.data(),n=e._private.rscratch,i={id:r.id,source:r.source,target:r.target,startX:n.startX,startY:n.startY,midX:n.midX,midY:n.midY,endX:n.endX,endY:n.endY};return Object.keys(r).forEach(a=>{["id","source","target"].includes(a)||(i[a]=r[a])}),i})}var Ece,_ce=N(()=>{"use strict";uM();Ece=ja(kce(),1);pr();pt();Ko.use(Ece.default);o(UHe,"addNodes");o(HHe,"addEdges");o(Sce,"createCytoscapeInstance");o(Cce,"extractPositionedNodes");o(Ace,"extractPositionedEdges")});async function Dce(t,e){X.debug("Starting cose-bilkent layout algorithm");try{WHe(t);let r=await Sce(t),n=Cce(r),i=Ace(r);return X.debug(`Layout completed: ${n.length} nodes, ${i.length} edges`),{nodes:n,edges:i}}catch(r){throw X.error("Error in cose-bilkent layout algorithm:",r),r}}function WHe(t){if(!t)throw new Error("Layout data is required");if(!t.config)throw new Error("Configuration is required in layout data");if(!t.rootNode)throw new Error("Root node is required");if(!t.nodes||!Array.isArray(t.nodes))throw new Error("No nodes found in layout data");if(!Array.isArray(t.edges))throw new Error("Edges array is required in layout data");return!0}var Lce=N(()=>{"use strict";pt();_ce();o(Dce,"executeCoseBilkentLayout");o(WHe,"validateLayoutData")});var Rce,Nce=N(()=>{"use strict";Lce();Rce=o(async(t,e,{insertCluster:r,insertEdge:n,insertEdgeLabel:i,insertMarkers:a,insertNode:s,log:l,positionEdgeLabel:u},{algorithm:h})=>{let f={},d={},p=e.select("g");a(p,t.markers,t.type,t.diagramId);let m=p.insert("g").attr("class","subgraphs"),g=p.insert("g").attr("class","edgePaths"),y=p.insert("g").attr("class","edgeLabels"),x=p.insert("g").attr("class","nodes");l.debug("Inserting nodes into DOM for dimension calculation"),await Promise.all(t.nodes.map(async T=>{if(T.isGroup){let S={...T};d[T.id]=S,f[T.id]=S,await r(m,T)}else{let S={...T};f[T.id]=S;let w=await s(x,T,{config:t.config,dir:t.direction||"TB"}),E=w.node().getBBox();S.width=E.width,S.height=E.height,S.domId=w,l.debug(`Node ${T.id} dimensions: ${E.width}x${E.height}`)}})),l.debug("Running cose-bilkent layout algorithm");let v={...t,nodes:t.nodes.map(T=>{let S=f[T.id];return{...T,width:S.width,height:S.height}})},b=await Dce(v,t.config);l.debug("Positioning nodes based on layout results"),b.nodes.forEach(T=>{let S=f[T.id];S?.domId&&(S.domId.attr("transform",`translate(${T.x}, ${T.y})`),S.x=T.x,S.y=T.y,l.debug(`Positioned node ${S.id} at center (${T.x}, ${T.y})`))}),b.edges.forEach(T=>{let S=t.edges.find(w=>w.id===T.id);S&&(S.points=[{x:T.startX,y:T.startY},{x:T.midX,y:T.midY},{x:T.endX,y:T.endY}])}),l.debug("Inserting and positioning edges"),await Promise.all(t.edges.map(async T=>{let S=await i(y,T),w=f[T.start??""],E=f[T.end??""];if(w&&E){let _=b.edges.find(A=>A.id===T.id);if(_){l.debug("APA01 positionedEdge",_);let A={...T},D=n(g,A,d,t.type,w,E,t.diagramId);u(A,D)}else{let A={...T,points:[{x:w.x||0,y:w.y||0},{x:E.x||0,y:E.y||0}]},D=n(g,A,d,t.type,w,E,t.diagramId);u(A,D)}}})),l.debug("Cose-bilkent rendering completed")},"render")});var Mce={};ur(Mce,{render:()=>qHe});var qHe,Ice=N(()=>{"use strict";Nce();qHe=Rce});var Dx,gM,YHe,Qo,Bc,Af=N(()=>{"use strict";Lee();pt();Dx={},gM=o(t=>{for(let e of t)Dx[e.name]=e},"registerLayoutLoaders"),YHe=o(()=>{gM([{name:"dagre",loader:o(async()=>await Promise.resolve().then(()=>(use(),cse)),"loader")},{name:"cose-bilkent",loader:o(async()=>await Promise.resolve().then(()=>(Ice(),Mce)),"loader")}])},"registerDefaultLayoutLoaders");YHe();Qo=o(async(t,e)=>{if(!(t.layoutAlgorithm in Dx))throw new Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);let r=Dx[t.layoutAlgorithm];return(await r.loader()).render(t,e,Dee,{algorithm:r.algorithm})},"render"),Bc=o((t="",{fallback:e="dagre"}={})=>{if(t in Dx)return t;if(e in Dx)return X.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")});var Hs,XHe,jHe,_f=N(()=>{"use strict";Ci();pt();Hs=o((t,e,r,n)=>{t.attr("class",r);let{width:i,height:a,x:s,y:l}=XHe(t,e);fn(t,a,i,n);let u=jHe(s,l,i,a,e);t.attr("viewBox",u),X.debug(`viewBox configured: ${u} with padding: ${e}`)},"setupViewPortForSVG"),XHe=o((t,e)=>{let r=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:r.width+e*2,height:r.height+e*2,x:r.x,y:r.y}},"calculateDimensionsWithPadding"),jHe=o((t,e,r,n,i)=>`${t-i} ${e-i} ${r} ${n}`,"createViewBox")});var KHe,QHe,Oce,Pce=N(()=>{"use strict";pr();Xt();pt();Kd();Af();_f();tr();KHe=o(function(t,e){return e.db.getClasses()},"getClasses"),QHe=o(async function(t,e,r,n){X.info("REF0:"),X.info("Drawing state diagram (v2)",e);let{securityLevel:i,flowchart:a,layout:s}=ge(),l;i==="sandbox"&&(l=ze("#i"+e));let u=i==="sandbox"?l.nodes()[0].contentDocument:document;X.debug("Before getData: ");let h=n.db.getData();X.debug("Data: ",h);let f=zo(e,i),d=n.db.getDirection();h.type=n.type,h.layoutAlgorithm=Bc(s),h.layoutAlgorithm==="dagre"&&s==="elk"&&X.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),h.direction=d,h.nodeSpacing=a?.nodeSpacing||50,h.rankSpacing=a?.rankSpacing||50,h.markers=["point","circle","cross"],h.diagramId=e,X.debug("REF1:",h),await Qo(h,f);let p=h.config.flowchart?.diagramPadding??8;Ht.insertTitle(f,"flowchartTitleText",a?.titleTopMargin||0,n.db.getDiagramTitle()),Hs(f,p,"flowchart",a?.useMaxWidth||!1);for(let m of h.nodes){let g=ze(`#${e} [id="${m.id}"]`);if(!g||!m.link)continue;let y=u.createElementNS("http://www.w3.org/2000/svg","a");y.setAttributeNS("http://www.w3.org/2000/svg","class",m.cssClasses),y.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),i==="sandbox"?y.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):m.linkTarget&&y.setAttributeNS("http://www.w3.org/2000/svg","target",m.linkTarget);let x=g.insert(function(){return y},":first-child"),v=g.select(".label-container");v&&x.append(function(){return v.node()});let b=g.select(".label");b&&x.append(function(){return b.node()})}},"draw"),Oce={getClasses:KHe,draw:QHe}});var yM,vM,Bce=N(()=>{"use strict";yM=function(){var t=o(function(Hr,tt,yt,Kt){for(yt=yt||{},Kt=Hr.length;Kt--;yt[Hr[Kt]]=tt);return yt},"o"),e=[1,4],r=[1,3],n=[1,5],i=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],a=[2,2],s=[1,13],l=[1,14],u=[1,15],h=[1,16],f=[1,23],d=[1,25],p=[1,26],m=[1,27],g=[1,49],y=[1,48],x=[1,29],v=[1,30],b=[1,31],T=[1,32],S=[1,33],w=[1,44],E=[1,46],_=[1,42],A=[1,47],D=[1,43],O=[1,50],R=[1,45],k=[1,51],L=[1,52],C=[1,34],I=[1,35],M=[1,36],P=[1,37],B=[1,57],F=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],G=[1,61],$=[1,60],U=[1,62],K=[8,9,11,75,77,78],ne=[1,78],j=[1,91],le=[1,96],Z=[1,95],ce=[1,92],Q=[1,88],ee=[1,94],te=[1,90],re=[1,97],he=[1,93],J=[1,98],ye=[1,89],se=[8,9,10,11,40,75,77,78],Se=[8,9,10,11,40,46,75,77,78],W=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],Oe=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],ve=[44,60,89,102,105,106,109,111,114,115,116],Pe=[1,121],qe=[1,122],Ge=[1,124],Ne=[1,123],Me=[44,60,62,74,89,102,105,106,109,111,114,115,116],be=[1,133],q=[1,147],fe=[1,148],ae=[1,149],oe=[1,150],V=[1,135],xe=[1,137],Y=[1,141],de=[1,142],me=[1,143],Be=[1,144],_e=[1,145],Te=[1,146],Ue=[1,151],De=[1,152],Qe=[1,131],ot=[1,132],Gt=[1,139],Ze=[1,134],Ve=[1,138],ht=[1,136],Ye=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],ct=[1,154],Yt=[1,156],Tt=[8,9,11],Mt=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],bt=[1,176],ft=[1,172],St=[1,173],dt=[1,177],vt=[1,174],at=[1,175],pn=[77,116,119],kt=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],Fn=[10,106],tn=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],Nr=[1,247],Mr=[1,245],$n=[1,249],Dt=[1,243],Ce=[1,244],nt=[1,246],Ct=[1,248],yr=[1,250],rn=[1,268],yn=[8,9,11,106],Zr=[8,9,10,11,60,84,105,106,109,110,111,112],Mi={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1]],performAction:o(function(tt,yt,Kt,ut,_n,pe,ed){var we=pe.length-1;switch(_n){case 2:this.$=[];break;case 3:(!Array.isArray(pe[we])||pe[we].length>0)&&pe[we-1].push(pe[we]),this.$=pe[we-1];break;case 4:case 183:this.$=pe[we];break;case 11:ut.setDirection("TB"),this.$="TB";break;case 12:ut.setDirection(pe[we-1]),this.$=pe[we-1];break;case 27:this.$=pe[we-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=ut.addSubGraph(pe[we-6],pe[we-1],pe[we-4]);break;case 34:this.$=ut.addSubGraph(pe[we-3],pe[we-1],pe[we-3]);break;case 35:this.$=ut.addSubGraph(void 0,pe[we-1],void 0);break;case 37:this.$=pe[we].trim(),ut.setAccTitle(this.$);break;case 38:case 39:this.$=pe[we].trim(),ut.setAccDescription(this.$);break;case 43:this.$=pe[we-1]+pe[we];break;case 44:this.$=pe[we];break;case 45:ut.addVertex(pe[we-1][pe[we-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,pe[we]),ut.addLink(pe[we-3].stmt,pe[we-1],pe[we-2]),this.$={stmt:pe[we-1],nodes:pe[we-1].concat(pe[we-3].nodes)};break;case 46:ut.addLink(pe[we-2].stmt,pe[we],pe[we-1]),this.$={stmt:pe[we],nodes:pe[we].concat(pe[we-2].nodes)};break;case 47:ut.addLink(pe[we-3].stmt,pe[we-1],pe[we-2]),this.$={stmt:pe[we-1],nodes:pe[we-1].concat(pe[we-3].nodes)};break;case 48:this.$={stmt:pe[we-1],nodes:pe[we-1]};break;case 49:ut.addVertex(pe[we-1][pe[we-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,pe[we]),this.$={stmt:pe[we-1],nodes:pe[we-1],shapeData:pe[we]};break;case 50:this.$={stmt:pe[we],nodes:pe[we]};break;case 51:this.$=[pe[we]];break;case 52:ut.addVertex(pe[we-5][pe[we-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,pe[we-4]),this.$=pe[we-5].concat(pe[we]);break;case 53:this.$=pe[we-4].concat(pe[we]);break;case 54:this.$=pe[we];break;case 55:this.$=pe[we-2],ut.setClass(pe[we-2],pe[we]);break;case 56:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"square");break;case 57:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"doublecircle");break;case 58:this.$=pe[we-5],ut.addVertex(pe[we-5],pe[we-2],"circle");break;case 59:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"ellipse");break;case 60:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"stadium");break;case 61:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"subroutine");break;case 62:this.$=pe[we-7],ut.addVertex(pe[we-7],pe[we-1],"rect",void 0,void 0,void 0,Object.fromEntries([[pe[we-5],pe[we-3]]]));break;case 63:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"cylinder");break;case 64:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"round");break;case 65:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"diamond");break;case 66:this.$=pe[we-5],ut.addVertex(pe[we-5],pe[we-2],"hexagon");break;case 67:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"odd");break;case 68:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"trapezoid");break;case 69:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"inv_trapezoid");break;case 70:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"lean_right");break;case 71:this.$=pe[we-3],ut.addVertex(pe[we-3],pe[we-1],"lean_left");break;case 72:this.$=pe[we],ut.addVertex(pe[we]);break;case 73:pe[we-1].text=pe[we],this.$=pe[we-1];break;case 74:case 75:pe[we-2].text=pe[we-1],this.$=pe[we-2];break;case 76:this.$=pe[we];break;case 77:var ki=ut.destructLink(pe[we],pe[we-2]);this.$={type:ki.type,stroke:ki.stroke,length:ki.length,text:pe[we-1]};break;case 78:var ki=ut.destructLink(pe[we],pe[we-2]);this.$={type:ki.type,stroke:ki.stroke,length:ki.length,text:pe[we-1],id:pe[we-3]};break;case 79:this.$={text:pe[we],type:"text"};break;case 80:this.$={text:pe[we-1].text+""+pe[we],type:pe[we-1].type};break;case 81:this.$={text:pe[we],type:"string"};break;case 82:this.$={text:pe[we],type:"markdown"};break;case 83:var ki=ut.destructLink(pe[we]);this.$={type:ki.type,stroke:ki.stroke,length:ki.length};break;case 84:var ki=ut.destructLink(pe[we]);this.$={type:ki.type,stroke:ki.stroke,length:ki.length,id:pe[we-1]};break;case 85:this.$=pe[we-1];break;case 86:this.$={text:pe[we],type:"text"};break;case 87:this.$={text:pe[we-1].text+""+pe[we],type:pe[we-1].type};break;case 88:this.$={text:pe[we],type:"string"};break;case 89:case 104:this.$={text:pe[we],type:"markdown"};break;case 101:this.$={text:pe[we],type:"text"};break;case 102:this.$={text:pe[we-1].text+""+pe[we],type:pe[we-1].type};break;case 103:this.$={text:pe[we],type:"text"};break;case 105:this.$=pe[we-4],ut.addClass(pe[we-2],pe[we]);break;case 106:this.$=pe[we-4],ut.setClass(pe[we-2],pe[we]);break;case 107:case 115:this.$=pe[we-1],ut.setClickEvent(pe[we-1],pe[we]);break;case 108:case 116:this.$=pe[we-3],ut.setClickEvent(pe[we-3],pe[we-2]),ut.setTooltip(pe[we-3],pe[we]);break;case 109:this.$=pe[we-2],ut.setClickEvent(pe[we-2],pe[we-1],pe[we]);break;case 110:this.$=pe[we-4],ut.setClickEvent(pe[we-4],pe[we-3],pe[we-2]),ut.setTooltip(pe[we-4],pe[we]);break;case 111:this.$=pe[we-2],ut.setLink(pe[we-2],pe[we]);break;case 112:this.$=pe[we-4],ut.setLink(pe[we-4],pe[we-2]),ut.setTooltip(pe[we-4],pe[we]);break;case 113:this.$=pe[we-4],ut.setLink(pe[we-4],pe[we-2],pe[we]);break;case 114:this.$=pe[we-6],ut.setLink(pe[we-6],pe[we-4],pe[we]),ut.setTooltip(pe[we-6],pe[we-2]);break;case 117:this.$=pe[we-1],ut.setLink(pe[we-1],pe[we]);break;case 118:this.$=pe[we-3],ut.setLink(pe[we-3],pe[we-2]),ut.setTooltip(pe[we-3],pe[we]);break;case 119:this.$=pe[we-3],ut.setLink(pe[we-3],pe[we-2],pe[we]);break;case 120:this.$=pe[we-5],ut.setLink(pe[we-5],pe[we-4],pe[we]),ut.setTooltip(pe[we-5],pe[we-2]);break;case 121:this.$=pe[we-4],ut.addVertex(pe[we-2],void 0,void 0,pe[we]);break;case 122:this.$=pe[we-4],ut.updateLink([pe[we-2]],pe[we]);break;case 123:this.$=pe[we-4],ut.updateLink(pe[we-2],pe[we]);break;case 124:this.$=pe[we-8],ut.updateLinkInterpolate([pe[we-6]],pe[we-2]),ut.updateLink([pe[we-6]],pe[we]);break;case 125:this.$=pe[we-8],ut.updateLinkInterpolate(pe[we-6],pe[we-2]),ut.updateLink(pe[we-6],pe[we]);break;case 126:this.$=pe[we-6],ut.updateLinkInterpolate([pe[we-4]],pe[we]);break;case 127:this.$=pe[we-6],ut.updateLinkInterpolate(pe[we-4],pe[we]);break;case 128:case 130:this.$=[pe[we]];break;case 129:case 131:pe[we-2].push(pe[we]),this.$=pe[we-2];break;case 133:this.$=pe[we-1]+pe[we];break;case 181:this.$=pe[we];break;case 182:this.$=pe[we-1]+""+pe[we];break;case 184:this.$=pe[we-1]+""+pe[we];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"};break}},"anonymous"),table:[{3:1,4:2,9:e,10:r,12:n},{1:[3]},t(i,a,{5:6}),{4:7,9:e,10:r,12:n},{4:8,9:e,10:r,12:n},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:s,9:l,10:u,11:h,20:17,22:18,23:19,24:20,25:21,26:22,27:f,33:24,34:d,36:p,38:m,42:28,43:38,44:g,45:39,47:40,60:y,84:x,85:v,86:b,87:T,88:S,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L,121:C,122:I,123:M,124:P},t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),{8:[1,54],9:[1,55],10:B,15:53,18:56},t(F,[2,3]),t(F,[2,4]),t(F,[2,5]),t(F,[2,6]),t(F,[2,7]),t(F,[2,8]),{8:G,9:$,11:U,21:58,41:59,72:63,75:[1,64],77:[1,66],78:[1,65]},{8:G,9:$,11:U,21:67},{8:G,9:$,11:U,21:68},{8:G,9:$,11:U,21:69},{8:G,9:$,11:U,21:70},{8:G,9:$,11:U,21:71},{8:G,9:$,10:[1,72],11:U,21:73},t(F,[2,36]),{35:[1,74]},{37:[1,75]},t(F,[2,39]),t(K,[2,50],{18:76,39:77,10:B,40:ne}),{10:[1,79]},{10:[1,80]},{10:[1,81]},{10:[1,82]},{14:j,44:le,60:Z,80:[1,86],89:ce,95:[1,83],97:[1,84],101:85,105:Q,106:ee,109:te,111:re,114:he,115:J,116:ye,120:87},t(F,[2,185]),t(F,[2,186]),t(F,[2,187]),t(F,[2,188]),t(se,[2,51]),t(se,[2,54],{46:[1,99]}),t(Se,[2,72],{113:112,29:[1,100],44:g,48:[1,101],50:[1,102],52:[1,103],54:[1,104],56:[1,105],58:[1,106],60:y,63:[1,107],65:[1,108],67:[1,109],68:[1,110],70:[1,111],89:w,102:E,105:_,106:A,109:D,111:O,114:R,115:k,116:L}),t(W,[2,181]),t(W,[2,142]),t(W,[2,143]),t(W,[2,144]),t(W,[2,145]),t(W,[2,146]),t(W,[2,147]),t(W,[2,148]),t(W,[2,149]),t(W,[2,150]),t(W,[2,151]),t(W,[2,152]),t(i,[2,12]),t(i,[2,18]),t(i,[2,19]),{9:[1,113]},t(Oe,[2,26],{18:114,10:B}),t(F,[2,27]),{42:115,43:38,44:g,45:39,47:40,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},t(F,[2,40]),t(F,[2,41]),t(F,[2,42]),t(ve,[2,76],{73:116,62:[1,118],74:[1,117]}),{76:119,79:120,80:Pe,81:qe,116:Ge,119:Ne},{75:[1,125],77:[1,126]},t(Me,[2,83]),t(F,[2,28]),t(F,[2,29]),t(F,[2,30]),t(F,[2,31]),t(F,[2,32]),{10:be,12:q,14:fe,27:ae,28:127,32:oe,44:V,60:xe,75:Y,80:[1,129],81:[1,130],83:140,84:de,85:me,86:Be,87:_e,88:Te,89:Ue,90:De,91:128,105:Qe,109:ot,111:Gt,114:Ze,115:Ve,116:ht},t(Ye,a,{5:153}),t(F,[2,37]),t(F,[2,38]),t(K,[2,48],{44:ct}),t(K,[2,49],{18:155,10:B,40:Yt}),t(se,[2,44]),{44:g,47:157,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},{102:[1,158],103:159,105:[1,160]},{44:g,47:161,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},{44:g,47:162,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},t(Tt,[2,107],{10:[1,163],96:[1,164]}),{80:[1,165]},t(Tt,[2,115],{120:167,10:[1,166],14:j,44:le,60:Z,89:ce,105:Q,106:ee,109:te,111:re,114:he,115:J,116:ye}),t(Tt,[2,117],{10:[1,168]}),t(Mt,[2,183]),t(Mt,[2,170]),t(Mt,[2,171]),t(Mt,[2,172]),t(Mt,[2,173]),t(Mt,[2,174]),t(Mt,[2,175]),t(Mt,[2,176]),t(Mt,[2,177]),t(Mt,[2,178]),t(Mt,[2,179]),t(Mt,[2,180]),{44:g,47:169,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},{30:170,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{30:178,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{30:180,50:[1,179],67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{30:181,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{30:182,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{30:183,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{109:[1,184]},{30:185,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{30:186,65:[1,187],67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{30:188,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{30:189,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{30:190,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},t(W,[2,182]),t(i,[2,20]),t(Oe,[2,25]),t(K,[2,46],{39:191,18:192,10:B,40:ne}),t(ve,[2,73],{10:[1,193]}),{10:[1,194]},{30:195,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{77:[1,196],79:197,116:Ge,119:Ne},t(pn,[2,79]),t(pn,[2,81]),t(pn,[2,82]),t(pn,[2,168]),t(pn,[2,169]),{76:198,79:120,80:Pe,81:qe,116:Ge,119:Ne},t(Me,[2,84]),{8:G,9:$,10:be,11:U,12:q,14:fe,21:200,27:ae,29:[1,199],32:oe,44:V,60:xe,75:Y,83:140,84:de,85:me,86:Be,87:_e,88:Te,89:Ue,90:De,91:201,105:Qe,109:ot,111:Gt,114:Ze,115:Ve,116:ht},t(kt,[2,101]),t(kt,[2,103]),t(kt,[2,104]),t(kt,[2,157]),t(kt,[2,158]),t(kt,[2,159]),t(kt,[2,160]),t(kt,[2,161]),t(kt,[2,162]),t(kt,[2,163]),t(kt,[2,164]),t(kt,[2,165]),t(kt,[2,166]),t(kt,[2,167]),t(kt,[2,90]),t(kt,[2,91]),t(kt,[2,92]),t(kt,[2,93]),t(kt,[2,94]),t(kt,[2,95]),t(kt,[2,96]),t(kt,[2,97]),t(kt,[2,98]),t(kt,[2,99]),t(kt,[2,100]),{6:11,7:12,8:s,9:l,10:u,11:h,20:17,22:18,23:19,24:20,25:21,26:22,27:f,32:[1,202],33:24,34:d,36:p,38:m,42:28,43:38,44:g,45:39,47:40,60:y,84:x,85:v,86:b,87:T,88:S,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L,121:C,122:I,123:M,124:P},{10:B,18:203},{44:[1,204]},t(se,[2,43]),{10:[1,205],44:g,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:112,114:R,115:k,116:L},{10:[1,206]},{10:[1,207],106:[1,208]},t(Fn,[2,128]),{10:[1,209],44:g,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:112,114:R,115:k,116:L},{10:[1,210],44:g,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:112,114:R,115:k,116:L},{80:[1,211]},t(Tt,[2,109],{10:[1,212]}),t(Tt,[2,111],{10:[1,213]}),{80:[1,214]},t(Mt,[2,184]),{80:[1,215],98:[1,216]},t(se,[2,55],{113:112,44:g,60:y,89:w,102:E,105:_,106:A,109:D,111:O,114:R,115:k,116:L}),{31:[1,217],67:bt,82:218,116:dt,117:vt,118:at},t(tn,[2,86]),t(tn,[2,88]),t(tn,[2,89]),t(tn,[2,153]),t(tn,[2,154]),t(tn,[2,155]),t(tn,[2,156]),{49:[1,219],67:bt,82:218,116:dt,117:vt,118:at},{30:220,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{51:[1,221],67:bt,82:218,116:dt,117:vt,118:at},{53:[1,222],67:bt,82:218,116:dt,117:vt,118:at},{55:[1,223],67:bt,82:218,116:dt,117:vt,118:at},{57:[1,224],67:bt,82:218,116:dt,117:vt,118:at},{60:[1,225]},{64:[1,226],67:bt,82:218,116:dt,117:vt,118:at},{66:[1,227],67:bt,82:218,116:dt,117:vt,118:at},{30:228,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},{31:[1,229],67:bt,82:218,116:dt,117:vt,118:at},{67:bt,69:[1,230],71:[1,231],82:218,116:dt,117:vt,118:at},{67:bt,69:[1,233],71:[1,232],82:218,116:dt,117:vt,118:at},t(K,[2,45],{18:155,10:B,40:Yt}),t(K,[2,47],{44:ct}),t(ve,[2,75]),t(ve,[2,74]),{62:[1,234],67:bt,82:218,116:dt,117:vt,118:at},t(ve,[2,77]),t(pn,[2,80]),{77:[1,235],79:197,116:Ge,119:Ne},{30:236,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},t(Ye,a,{5:237}),t(kt,[2,102]),t(F,[2,35]),{43:238,44:g,45:39,47:40,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},{10:B,18:239},{10:Nr,60:Mr,84:$n,92:240,105:Dt,107:241,108:242,109:Ce,110:nt,111:Ct,112:yr},{10:Nr,60:Mr,84:$n,92:251,104:[1,252],105:Dt,107:241,108:242,109:Ce,110:nt,111:Ct,112:yr},{10:Nr,60:Mr,84:$n,92:253,104:[1,254],105:Dt,107:241,108:242,109:Ce,110:nt,111:Ct,112:yr},{105:[1,255]},{10:Nr,60:Mr,84:$n,92:256,105:Dt,107:241,108:242,109:Ce,110:nt,111:Ct,112:yr},{44:g,47:257,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},t(Tt,[2,108]),{80:[1,258]},{80:[1,259],98:[1,260]},t(Tt,[2,116]),t(Tt,[2,118],{10:[1,261]}),t(Tt,[2,119]),t(Se,[2,56]),t(tn,[2,87]),t(Se,[2,57]),{51:[1,262],67:bt,82:218,116:dt,117:vt,118:at},t(Se,[2,64]),t(Se,[2,59]),t(Se,[2,60]),t(Se,[2,61]),{109:[1,263]},t(Se,[2,63]),t(Se,[2,65]),{66:[1,264],67:bt,82:218,116:dt,117:vt,118:at},t(Se,[2,67]),t(Se,[2,68]),t(Se,[2,70]),t(Se,[2,69]),t(Se,[2,71]),t([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),t(ve,[2,78]),{31:[1,265],67:bt,82:218,116:dt,117:vt,118:at},{6:11,7:12,8:s,9:l,10:u,11:h,20:17,22:18,23:19,24:20,25:21,26:22,27:f,32:[1,266],33:24,34:d,36:p,38:m,42:28,43:38,44:g,45:39,47:40,60:y,84:x,85:v,86:b,87:T,88:S,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L,121:C,122:I,123:M,124:P},t(se,[2,53]),{43:267,44:g,45:39,47:40,60:y,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L},t(Tt,[2,121],{106:rn}),t(yn,[2,130],{108:269,10:Nr,60:Mr,84:$n,105:Dt,109:Ce,110:nt,111:Ct,112:yr}),t(Zr,[2,132]),t(Zr,[2,134]),t(Zr,[2,135]),t(Zr,[2,136]),t(Zr,[2,137]),t(Zr,[2,138]),t(Zr,[2,139]),t(Zr,[2,140]),t(Zr,[2,141]),t(Tt,[2,122],{106:rn}),{10:[1,270]},t(Tt,[2,123],{106:rn}),{10:[1,271]},t(Fn,[2,129]),t(Tt,[2,105],{106:rn}),t(Tt,[2,106],{113:112,44:g,60:y,89:w,102:E,105:_,106:A,109:D,111:O,114:R,115:k,116:L}),t(Tt,[2,110]),t(Tt,[2,112],{10:[1,272]}),t(Tt,[2,113]),{98:[1,273]},{51:[1,274]},{62:[1,275]},{66:[1,276]},{8:G,9:$,11:U,21:277},t(F,[2,34]),t(se,[2,52]),{10:Nr,60:Mr,84:$n,105:Dt,107:278,108:242,109:Ce,110:nt,111:Ct,112:yr},t(Zr,[2,133]),{14:j,44:le,60:Z,89:ce,101:279,105:Q,106:ee,109:te,111:re,114:he,115:J,116:ye,120:87},{14:j,44:le,60:Z,89:ce,101:280,105:Q,106:ee,109:te,111:re,114:he,115:J,116:ye,120:87},{98:[1,281]},t(Tt,[2,120]),t(Se,[2,58]),{30:282,67:bt,80:ft,81:St,82:171,116:dt,117:vt,118:at},t(Se,[2,66]),t(Ye,a,{5:283}),t(yn,[2,131],{108:269,10:Nr,60:Mr,84:$n,105:Dt,109:Ce,110:nt,111:Ct,112:yr}),t(Tt,[2,126],{120:167,10:[1,284],14:j,44:le,60:Z,89:ce,105:Q,106:ee,109:te,111:re,114:he,115:J,116:ye}),t(Tt,[2,127],{120:167,10:[1,285],14:j,44:le,60:Z,89:ce,105:Q,106:ee,109:te,111:re,114:he,115:J,116:ye}),t(Tt,[2,114]),{31:[1,286],67:bt,82:218,116:dt,117:vt,118:at},{6:11,7:12,8:s,9:l,10:u,11:h,20:17,22:18,23:19,24:20,25:21,26:22,27:f,32:[1,287],33:24,34:d,36:p,38:m,42:28,43:38,44:g,45:39,47:40,60:y,84:x,85:v,86:b,87:T,88:S,89:w,102:E,105:_,106:A,109:D,111:O,113:41,114:R,115:k,116:L,121:C,122:I,123:M,124:P},{10:Nr,60:Mr,84:$n,92:288,105:Dt,107:241,108:242,109:Ce,110:nt,111:Ct,112:yr},{10:Nr,60:Mr,84:$n,92:289,105:Dt,107:241,108:242,109:Ce,110:nt,111:Ct,112:yr},t(Se,[2,62]),t(F,[2,33]),t(Tt,[2,124],{106:rn}),t(Tt,[2,125],{106:rn})],defaultActions:{},parseError:o(function(tt,yt){if(yt.recoverable)this.trace(tt);else{var Kt=new Error(tt);throw Kt.hash=yt,Kt}},"parseError"),parse:o(function(tt){var yt=this,Kt=[0],ut=[],_n=[null],pe=[],ed=this.table,we="",ki=0,v$=0,x$=0,fbe=2,b$=1,dbe=pe.slice.call(arguments,1),qi=Object.create(this.lexer),td={yy:{}};for(var HC in this.yy)Object.prototype.hasOwnProperty.call(this.yy,HC)&&(td.yy[HC]=this.yy[HC]);qi.setInput(tt,td.yy),td.yy.lexer=qi,td.yy.parser=this,typeof qi.yylloc>"u"&&(qi.yylloc={});var WC=qi.yylloc;pe.push(WC);var pbe=qi.options&&qi.options.ranges;typeof td.yy.parseError=="function"?this.parseError=td.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Iit(Ks){Kt.length=Kt.length-2*Ks,_n.length=_n.length-Ks,pe.length=pe.length-Ks}o(Iit,"popStack");function mbe(){var Ks;return Ks=ut.pop()||qi.lex()||b$,typeof Ks!="number"&&(Ks instanceof Array&&(ut=Ks,Ks=ut.pop()),Ks=yt.symbols_[Ks]||Ks),Ks}o(mbe,"lex");for(var Xa,qC,rd,wo,Oit,YC,f0={},V4,ru,T$,U4;;){if(rd=Kt[Kt.length-1],this.defaultActions[rd]?wo=this.defaultActions[rd]:((Xa===null||typeof Xa>"u")&&(Xa=mbe()),wo=ed[rd]&&ed[rd][Xa]),typeof wo>"u"||!wo.length||!wo[0]){var XC="";U4=[];for(V4 in ed[rd])this.terminals_[V4]&&V4>fbe&&U4.push("'"+this.terminals_[V4]+"'");qi.showPosition?XC="Parse error on line "+(ki+1)+`: +`+qi.showPosition()+` +Expecting `+U4.join(", ")+", got '"+(this.terminals_[Xa]||Xa)+"'":XC="Parse error on line "+(ki+1)+": Unexpected "+(Xa==b$?"end of input":"'"+(this.terminals_[Xa]||Xa)+"'"),this.parseError(XC,{text:qi.match,token:this.terminals_[Xa]||Xa,line:qi.yylineno,loc:WC,expected:U4})}if(wo[0]instanceof Array&&wo.length>1)throw new Error("Parse Error: multiple actions possible at state: "+rd+", token: "+Xa);switch(wo[0]){case 1:Kt.push(Xa),_n.push(qi.yytext),pe.push(qi.yylloc),Kt.push(wo[1]),Xa=null,qC?(Xa=qC,qC=null):(v$=qi.yyleng,we=qi.yytext,ki=qi.yylineno,WC=qi.yylloc,x$>0&&x$--);break;case 2:if(ru=this.productions_[wo[1]][1],f0.$=_n[_n.length-ru],f0._$={first_line:pe[pe.length-(ru||1)].first_line,last_line:pe[pe.length-1].last_line,first_column:pe[pe.length-(ru||1)].first_column,last_column:pe[pe.length-1].last_column},pbe&&(f0._$.range=[pe[pe.length-(ru||1)].range[0],pe[pe.length-1].range[1]]),YC=this.performAction.apply(f0,[we,v$,ki,td.yy,wo[1],_n,pe].concat(dbe)),typeof YC<"u")return YC;ru&&(Kt=Kt.slice(0,-1*ru*2),_n=_n.slice(0,-1*ru),pe=pe.slice(0,-1*ru)),Kt.push(this.productions_[wo[1]][0]),_n.push(f0.$),pe.push(f0._$),T$=ed[Kt[Kt.length-2]][Kt[Kt.length-1]],Kt.push(T$);break;case 3:return!0}}return!0},"parse")},ti=function(){var Hr={EOF:1,parseError:o(function(yt,Kt){if(this.yy.parser)this.yy.parser.parseError(yt,Kt);else throw new Error(yt)},"parseError"),setInput:o(function(tt,yt){return this.yy=yt||this.yy||{},this._input=tt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var tt=this._input[0];this.yytext+=tt,this.yyleng++,this.offset++,this.match+=tt,this.matched+=tt;var yt=tt.match(/(?:\r\n?|\n).*/g);return yt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),tt},"input"),unput:o(function(tt){var yt=tt.length,Kt=tt.split(/(?:\r\n?|\n)/g);this._input=tt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-yt),this.offset-=yt;var ut=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Kt.length-1&&(this.yylineno-=Kt.length-1);var _n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Kt?(Kt.length===ut.length?this.yylloc.first_column:0)+ut[ut.length-Kt.length].length-Kt[0].length:this.yylloc.first_column-yt},this.options.ranges&&(this.yylloc.range=[_n[0],_n[0]+this.yyleng-yt]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(tt){this.unput(this.match.slice(tt))},"less"),pastInput:o(function(){var tt=this.matched.substr(0,this.matched.length-this.match.length);return(tt.length>20?"...":"")+tt.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var tt=this.match;return tt.length<20&&(tt+=this._input.substr(0,20-tt.length)),(tt.substr(0,20)+(tt.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var tt=this.pastInput(),yt=new Array(tt.length+1).join("-");return tt+this.upcomingInput()+` +`+yt+"^"},"showPosition"),test_match:o(function(tt,yt){var Kt,ut,_n;if(this.options.backtrack_lexer&&(_n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_n.yylloc.range=this.yylloc.range.slice(0))),ut=tt[0].match(/(?:\r\n?|\n).*/g),ut&&(this.yylineno+=ut.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ut?ut[ut.length-1].length-ut[ut.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+tt[0].length},this.yytext+=tt[0],this.match+=tt[0],this.matches=tt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(tt[0].length),this.matched+=tt[0],Kt=this.performAction.call(this,this.yy,this,yt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Kt)return Kt;if(this._backtrack){for(var pe in _n)this[pe]=_n[pe];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var tt,yt,Kt,ut;this._more||(this.yytext="",this.match="");for(var _n=this._currentRules(),pe=0;pe<_n.length;pe++)if(Kt=this._input.match(this.rules[_n[pe]]),Kt&&(!yt||Kt[0].length>yt[0].length)){if(yt=Kt,ut=pe,this.options.backtrack_lexer){if(tt=this.test_match(Kt,_n[pe]),tt!==!1)return tt;if(this._backtrack){yt=!1;continue}else return!1}else if(!this.options.flex)break}return yt?(tt=this.test_match(yt,_n[ut]),tt!==!1?tt:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var yt=this.next();return yt||this.lex()},"lex"),begin:o(function(yt){this.conditionStack.push(yt)},"begin"),popState:o(function(){var yt=this.conditionStack.length-1;return yt>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(yt){return yt=this.conditionStack.length-1-Math.abs(yt||0),yt>=0?this.conditionStack[yt]:"INITIAL"},"topState"),pushState:o(function(yt){this.begin(yt)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:o(function(yt,Kt,ut,_n){var pe=_n;switch(ut){case 0:return this.begin("acc_title"),34;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),36;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),Kt.yytext="",40;break;case 8:return this.pushState("shapeDataStr"),40;break;case 9:return this.popState(),40;break;case 10:let ed=/\n\s*/g;return Kt.yytext=Kt.yytext.replace(ed,"
    "),40;break;case 11:return 40;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 88;case 35:return yt.lex.firstGraph()&&this.begin("dir"),12;break;case 36:return yt.lex.firstGraph()&&this.begin("dir"),12;break;case 37:return yt.lex.firstGraph()&&this.begin("dir"),12;break;case 38:return 27;case 39:return 32;case 40:return 98;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return this.popState(),13;break;case 45:return this.popState(),14;break;case 46:return this.popState(),14;break;case 47:return this.popState(),14;break;case 48:return this.popState(),14;break;case 49:return this.popState(),14;break;case 50:return this.popState(),14;break;case 51:return this.popState(),14;break;case 52:return this.popState(),14;break;case 53:return this.popState(),14;break;case 54:return this.popState(),14;break;case 55:return 121;case 56:return 122;case 57:return 123;case 58:return 124;case 59:return 78;case 60:return 105;case 61:return 111;case 62:return 46;case 63:return 60;case 64:return 44;case 65:return 8;case 66:return 106;case 67:return 115;case 68:return this.popState(),77;break;case 69:return this.pushState("edgeText"),75;break;case 70:return 119;case 71:return this.popState(),77;break;case 72:return this.pushState("thickEdgeText"),75;break;case 73:return 119;case 74:return this.popState(),77;break;case 75:return this.pushState("dottedEdgeText"),75;break;case 76:return 119;case 77:return 77;case 78:return this.popState(),53;break;case 79:return"TEXT";case 80:return this.pushState("ellipseText"),52;break;case 81:return this.popState(),55;break;case 82:return this.pushState("text"),54;break;case 83:return this.popState(),57;break;case 84:return this.pushState("text"),56;break;case 85:return 58;case 86:return this.pushState("text"),67;break;case 87:return this.popState(),64;break;case 88:return this.pushState("text"),63;break;case 89:return this.popState(),49;break;case 90:return this.pushState("text"),48;break;case 91:return this.popState(),69;break;case 92:return this.popState(),71;break;case 93:return 117;case 94:return this.pushState("trapText"),68;break;case 95:return this.pushState("trapText"),70;break;case 96:return 118;case 97:return 67;case 98:return 90;case 99:return"SEP";case 100:return 89;case 101:return 115;case 102:return 111;case 103:return 44;case 104:return 109;case 105:return 114;case 106:return 116;case 107:return this.popState(),62;break;case 108:return this.pushState("text"),62;break;case 109:return this.popState(),51;break;case 110:return this.pushState("text"),50;break;case 111:return this.popState(),31;break;case 112:return this.pushState("text"),29;break;case 113:return this.popState(),66;break;case 114:return this.pushState("text"),65;break;case 115:return"TEXT";case 116:return"QUOTE";case 117:return 9;case 118:return 10;case 119:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},shapeData:{rules:[8,11,12,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},callbackargs:{rules:[17,18,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},callbackname:{rules:[14,15,16,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},href:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},click:{rules:[21,24,33,34,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},dottedEdgeText:{rules:[21,24,74,76,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},thickEdgeText:{rules:[21,24,71,73,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},edgeText:{rules:[21,24,68,70,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},trapText:{rules:[21,24,77,80,82,84,88,90,91,92,93,94,95,108,110,112,114],inclusive:!1},ellipseText:{rules:[21,24,77,78,79,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},text:{rules:[21,24,77,80,81,82,83,84,87,88,89,90,94,95,107,108,109,110,111,112,113,114,115],inclusive:!1},vertex:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_descr:{rules:[3,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_title:{rules:[1,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},md_string:{rules:[19,20,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},string:{rules:[21,22,23,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,71,72,74,75,77,80,82,84,85,86,88,90,94,95,96,97,98,99,100,101,102,103,104,105,106,108,110,112,114,116,117,118,119],inclusive:!0}}};return Hr}();Mi.lexer=ti;function An(){this.yy={}}return o(An,"Parser"),An.prototype=Mi,Mi.Parser=An,new An}();yM.parser=yM;vM=yM});var Fce,$ce,Gce=N(()=>{"use strict";Bce();Fce=Object.assign({},vM);Fce.parse=t=>{let e=t.replace(/}\s*\n/g,`} +`);return vM.parse(e)};$ce=Fce});var Fc,mg=N(()=>{"use strict";Fc=o(()=>` /* Font Awesome icon styling - consolidated */ .label-icon { display: inline-block; @@ -494,7 +740,7 @@ Expecting `+$4.join(", ")+", got '"+(this.terminals_[qa]||qa)+"'":zC="Parse erro stroke: revert; stroke-width: revert; } -`,"getIconStyles")});var $Pe,zPe,ose,lse=N(()=>{"use strict";Xs();Vm();$Pe=o((t,e)=>{let r=Kf,n=r(t,"r"),i=r(t,"g"),a=r(t,"b");return Ya(n,i,a,e)},"fade"),zPe=o(t=>`.label { +`,"getIconStyles")});var ZHe,JHe,zce,Vce=N(()=>{"use strict";Qs();mg();ZHe=o((t,e)=>{let r=id,n=r(t,"r"),i=r(t,"g"),a=r(t,"b");return Ka(n,i,a,e)},"fade"),JHe=o(t=>`.label { font-family: ${t.fontFamily}; color: ${t.nodeTextColor||t.textColor}; } @@ -581,7 +827,7 @@ Expecting `+$4.join(", ")+", got '"+(this.terminals_[qa]||qa)+"'":zC="Parse erro /* For html labels only */ .labelBkg { - background-color: ${$Pe(t.edgeLabelBackground,.5)}; + background-color: ${ZHe(t.edgeLabelBackground,.5)}; // background-color: } @@ -640,13 +886,13 @@ Expecting `+$4.join(", ")+", got '"+(this.terminals_[qa]||qa)+"'":zC="Parse erro } text-align: center; } - ${Lc()} -`,"getStyles"),ose=zPe});var yk={};hr(yk,{diagram:()=>GPe});var GPe,vk=N(()=>{"use strict";qt();oee();rse();sse();lse();GPe={parser:ase,get db(){return new rw},renderer:tse,styles:ose,init:o(t=>{t.flowchart||(t.flowchart={}),t.layout&&ev({layout:t.layout}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,ev({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}})},"init")}});var tN,dse,pse=N(()=>{"use strict";tN=function(){var t=o(function(te,he,le,J){for(le=le||{},J=te.length;J--;le[te[J]]=he);return le},"o"),e=[6,8,10,22,24,26,28,33,34,35,36,37,40,43,44,50],r=[1,10],n=[1,11],i=[1,12],a=[1,13],s=[1,20],l=[1,21],u=[1,22],h=[1,23],f=[1,24],d=[1,19],p=[1,25],m=[1,26],g=[1,18],y=[1,33],v=[1,34],x=[1,35],b=[1,36],T=[1,37],C=[6,8,10,13,15,17,20,21,22,24,26,28,33,34,35,36,37,40,43,44,50,63,64,65,66,67],w=[1,42],E=[1,43],_=[1,52],A=[40,50,68,69],D=[1,63],O=[1,61],R=[1,58],k=[1,62],L=[1,64],S=[6,8,10,13,17,22,24,26,28,33,34,35,36,37,40,41,42,43,44,48,49,50,63,64,65,66,67],I=[63,64,65,66,67],M=[1,81],P=[1,80],B=[1,78],F=[1,79],z=[6,10,42,47],$=[6,10,13,41,42,47,48,49],U=[1,89],K=[1,88],ee=[1,87],Y=[19,56],ce=[1,98],Z=[1,97],ue=[19,56,58,60],Q={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,COLON:13,role:14,STYLE_SEPARATOR:15,idList:16,BLOCK_START:17,attributes:18,BLOCK_STOP:19,SQS:20,SQE:21,title:22,title_value:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,direction:29,classDefStatement:30,classStatement:31,styleStatement:32,direction_tb:33,direction_bt:34,direction_rl:35,direction_lr:36,CLASSDEF:37,stylesOpt:38,separator:39,UNICODE_TEXT:40,STYLE_TEXT:41,COMMA:42,CLASS:43,STYLE:44,style:45,styleComponent:46,SEMI:47,NUM:48,BRKT:49,ENTITY_NAME:50,attribute:51,attributeType:52,attributeName:53,attributeKeyTypeList:54,attributeComment:55,ATTRIBUTE_WORD:56,attributeKeyType:57,",":58,ATTRIBUTE_KEY:59,COMMENT:60,cardinality:61,relType:62,ZERO_OR_ONE:63,ZERO_OR_MORE:64,ONE_OR_MORE:65,ONLY_ONE:66,MD_PARENT:67,NON_IDENTIFYING:68,IDENTIFYING:69,WORD:70,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:"COLON",15:"STYLE_SEPARATOR",17:"BLOCK_START",19:"BLOCK_STOP",20:"SQS",21:"SQE",22:"title",23:"title_value",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"direction_tb",34:"direction_bt",35:"direction_rl",36:"direction_lr",37:"CLASSDEF",40:"UNICODE_TEXT",41:"STYLE_TEXT",42:"COMMA",43:"CLASS",44:"STYLE",47:"SEMI",48:"NUM",49:"BRKT",50:"ENTITY_NAME",56:"ATTRIBUTE_WORD",58:",",59:"ATTRIBUTE_KEY",60:"COMMENT",63:"ZERO_OR_ONE",64:"ZERO_OR_MORE",65:"ONE_OR_MORE",66:"ONLY_ONE",67:"MD_PARENT",68:"NON_IDENTIFYING",69:"IDENTIFYING",70:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,9],[9,7],[9,7],[9,4],[9,6],[9,3],[9,5],[9,1],[9,3],[9,7],[9,9],[9,6],[9,8],[9,4],[9,6],[9,2],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[9,1],[29,1],[29,1],[29,1],[29,1],[30,4],[16,1],[16,1],[16,3],[16,3],[31,3],[32,4],[38,1],[38,3],[45,1],[45,2],[39,1],[39,1],[39,1],[46,1],[46,1],[46,1],[46,1],[11,1],[11,1],[18,1],[18,2],[51,2],[51,3],[51,3],[51,4],[52,1],[53,1],[54,1],[54,3],[57,1],[55,1],[12,3],[61,1],[61,1],[61,1],[61,1],[61,1],[62,1],[62,1],[14,1],[14,1],[14,1]],performAction:o(function(he,le,J,Se,se,ae,Oe){var ye=ae.length-1;switch(se){case 1:break;case 2:this.$=[];break;case 3:ae[ye-1].push(ae[ye]),this.$=ae[ye-1];break;case 4:case 5:this.$=ae[ye];break;case 6:case 7:this.$=[];break;case 8:Se.addEntity(ae[ye-4]),Se.addEntity(ae[ye-2]),Se.addRelationship(ae[ye-4],ae[ye],ae[ye-2],ae[ye-3]);break;case 9:Se.addEntity(ae[ye-8]),Se.addEntity(ae[ye-4]),Se.addRelationship(ae[ye-8],ae[ye],ae[ye-4],ae[ye-5]),Se.setClass([ae[ye-8]],ae[ye-6]),Se.setClass([ae[ye-4]],ae[ye-2]);break;case 10:Se.addEntity(ae[ye-6]),Se.addEntity(ae[ye-2]),Se.addRelationship(ae[ye-6],ae[ye],ae[ye-2],ae[ye-3]),Se.setClass([ae[ye-6]],ae[ye-4]);break;case 11:Se.addEntity(ae[ye-6]),Se.addEntity(ae[ye-4]),Se.addRelationship(ae[ye-6],ae[ye],ae[ye-4],ae[ye-5]),Se.setClass([ae[ye-4]],ae[ye-2]);break;case 12:Se.addEntity(ae[ye-3]),Se.addAttributes(ae[ye-3],ae[ye-1]);break;case 13:Se.addEntity(ae[ye-5]),Se.addAttributes(ae[ye-5],ae[ye-1]),Se.setClass([ae[ye-5]],ae[ye-3]);break;case 14:Se.addEntity(ae[ye-2]);break;case 15:Se.addEntity(ae[ye-4]),Se.setClass([ae[ye-4]],ae[ye-2]);break;case 16:Se.addEntity(ae[ye]);break;case 17:Se.addEntity(ae[ye-2]),Se.setClass([ae[ye-2]],ae[ye]);break;case 18:Se.addEntity(ae[ye-6],ae[ye-4]),Se.addAttributes(ae[ye-6],ae[ye-1]);break;case 19:Se.addEntity(ae[ye-8],ae[ye-6]),Se.addAttributes(ae[ye-8],ae[ye-1]),Se.setClass([ae[ye-8]],ae[ye-3]);break;case 20:Se.addEntity(ae[ye-5],ae[ye-3]);break;case 21:Se.addEntity(ae[ye-7],ae[ye-5]),Se.setClass([ae[ye-7]],ae[ye-2]);break;case 22:Se.addEntity(ae[ye-3],ae[ye-1]);break;case 23:Se.addEntity(ae[ye-5],ae[ye-3]),Se.setClass([ae[ye-5]],ae[ye]);break;case 24:case 25:this.$=ae[ye].trim(),Se.setAccTitle(this.$);break;case 26:case 27:this.$=ae[ye].trim(),Se.setAccDescription(this.$);break;case 32:Se.setDirection("TB");break;case 33:Se.setDirection("BT");break;case 34:Se.setDirection("RL");break;case 35:Se.setDirection("LR");break;case 36:this.$=ae[ye-3],Se.addClass(ae[ye-2],ae[ye-1]);break;case 37:case 38:case 56:case 64:this.$=[ae[ye]];break;case 39:case 40:this.$=ae[ye-2].concat([ae[ye]]);break;case 41:this.$=ae[ye-2],Se.setClass(ae[ye-1],ae[ye]);break;case 42:this.$=ae[ye-3],Se.addCssStyles(ae[ye-2],ae[ye-1]);break;case 43:this.$=[ae[ye]];break;case 44:ae[ye-2].push(ae[ye]),this.$=ae[ye-2];break;case 46:this.$=ae[ye-1]+ae[ye];break;case 54:case 76:case 77:this.$=ae[ye].replace(/"/g,"");break;case 55:case 78:this.$=ae[ye];break;case 57:ae[ye].push(ae[ye-1]),this.$=ae[ye];break;case 58:this.$={type:ae[ye-1],name:ae[ye]};break;case 59:this.$={type:ae[ye-2],name:ae[ye-1],keys:ae[ye]};break;case 60:this.$={type:ae[ye-2],name:ae[ye-1],comment:ae[ye]};break;case 61:this.$={type:ae[ye-3],name:ae[ye-2],keys:ae[ye-1],comment:ae[ye]};break;case 62:case 63:case 66:this.$=ae[ye];break;case 65:ae[ye-2].push(ae[ye]),this.$=ae[ye-2];break;case 67:this.$=ae[ye].replace(/"/g,"");break;case 68:this.$={cardA:ae[ye],relType:ae[ye-1],cardB:ae[ye-2]};break;case 69:this.$=Se.Cardinality.ZERO_OR_ONE;break;case 70:this.$=Se.Cardinality.ZERO_OR_MORE;break;case 71:this.$=Se.Cardinality.ONE_OR_MORE;break;case 72:this.$=Se.Cardinality.ONLY_ONE;break;case 73:this.$=Se.Cardinality.MD_PARENT;break;case 74:this.$=Se.Identification.NON_IDENTIFYING;break;case 75:this.$=Se.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,22:r,24:n,26:i,28:a,29:14,30:15,31:16,32:17,33:s,34:l,35:u,36:h,37:f,40:d,43:p,44:m,50:g},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:27,11:9,22:r,24:n,26:i,28:a,29:14,30:15,31:16,32:17,33:s,34:l,35:u,36:h,37:f,40:d,43:p,44:m,50:g},t(e,[2,5]),t(e,[2,6]),t(e,[2,16],{12:28,61:32,15:[1,29],17:[1,30],20:[1,31],63:y,64:v,65:x,66:b,67:T}),{23:[1,38]},{25:[1,39]},{27:[1,40]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),t(e,[2,30]),t(e,[2,31]),t(C,[2,54]),t(C,[2,55]),t(e,[2,32]),t(e,[2,33]),t(e,[2,34]),t(e,[2,35]),{16:41,40:w,41:E},{16:44,40:w,41:E},{16:45,40:w,41:E},t(e,[2,4]),{11:46,40:d,50:g},{16:47,40:w,41:E},{18:48,19:[1,49],51:50,52:51,56:_},{11:53,40:d,50:g},{62:54,68:[1,55],69:[1,56]},t(A,[2,69]),t(A,[2,70]),t(A,[2,71]),t(A,[2,72]),t(A,[2,73]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),{13:D,38:57,41:O,42:R,45:59,46:60,48:k,49:L},t(S,[2,37]),t(S,[2,38]),{16:65,40:w,41:E,42:R},{13:D,38:66,41:O,42:R,45:59,46:60,48:k,49:L},{13:[1,67],15:[1,68]},t(e,[2,17],{61:32,12:69,17:[1,70],42:R,63:y,64:v,65:x,66:b,67:T}),{19:[1,71]},t(e,[2,14]),{18:72,19:[2,56],51:50,52:51,56:_},{53:73,56:[1,74]},{56:[2,62]},{21:[1,75]},{61:76,63:y,64:v,65:x,66:b,67:T},t(I,[2,74]),t(I,[2,75]),{6:M,10:P,39:77,42:B,47:F},{40:[1,82],41:[1,83]},t(z,[2,43],{46:84,13:D,41:O,48:k,49:L}),t($,[2,45]),t($,[2,50]),t($,[2,51]),t($,[2,52]),t($,[2,53]),t(e,[2,41],{42:R}),{6:M,10:P,39:85,42:B,47:F},{14:86,40:U,50:K,70:ee},{16:90,40:w,41:E},{11:91,40:d,50:g},{18:92,19:[1,93],51:50,52:51,56:_},t(e,[2,12]),{19:[2,57]},t(Y,[2,58],{54:94,55:95,57:96,59:ce,60:Z}),t([19,56,59,60],[2,63]),t(e,[2,22],{15:[1,100],17:[1,99]}),t([40,50],[2,68]),t(e,[2,36]),{13:D,41:O,45:101,46:60,48:k,49:L},t(e,[2,47]),t(e,[2,48]),t(e,[2,49]),t(S,[2,39]),t(S,[2,40]),t($,[2,46]),t(e,[2,42]),t(e,[2,8]),t(e,[2,76]),t(e,[2,77]),t(e,[2,78]),{13:[1,102],42:R},{13:[1,104],15:[1,103]},{19:[1,105]},t(e,[2,15]),t(Y,[2,59],{55:106,58:[1,107],60:Z}),t(Y,[2,60]),t(ue,[2,64]),t(Y,[2,67]),t(ue,[2,66]),{18:108,19:[1,109],51:50,52:51,56:_},{16:110,40:w,41:E},t(z,[2,44],{46:84,13:D,41:O,48:k,49:L}),{14:111,40:U,50:K,70:ee},{16:112,40:w,41:E},{14:113,40:U,50:K,70:ee},t(e,[2,13]),t(Y,[2,61]),{57:114,59:ce},{19:[1,115]},t(e,[2,20]),t(e,[2,23],{17:[1,116],42:R}),t(e,[2,11]),{13:[1,117],42:R},t(e,[2,10]),t(ue,[2,65]),t(e,[2,18]),{18:118,19:[1,119],51:50,52:51,56:_},{14:120,40:U,50:K,70:ee},{19:[1,121]},t(e,[2,21]),t(e,[2,9]),t(e,[2,19])],defaultActions:{52:[2,62],72:[2,57]},parseError:o(function(he,le){if(le.recoverable)this.trace(he);else{var J=new Error(he);throw J.hash=le,J}},"parseError"),parse:o(function(he){var le=this,J=[0],Se=[],se=[null],ae=[],Oe=this.table,ye="",Be=0,He=0,ze=0,Le=2,Ie=1,xe=ae.slice.call(arguments,1),q=Object.create(this.lexer),de={yy:{}};for(var ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ie)&&(de.yy[ie]=this.yy[ie]);q.setInput(he,de.yy),de.yy.lexer=q,de.yy.parser=this,typeof q.yylloc>"u"&&(q.yylloc={});var oe=q.yylloc;ae.push(oe);var V=q.options&&q.options.ranges;typeof de.yy.parseError=="function"?this.parseError=de.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Te(ut){J.length=J.length-2*ut,se.length=se.length-ut,ae.length=ae.length-ut}o(Te,"popStack");function W(){var ut;return ut=Se.pop()||q.lex()||Ie,typeof ut!="number"&&(ut instanceof Array&&(Se=ut,ut=Se.pop()),ut=le.symbols_[ut]||ut),ut}o(W,"lex");for(var pe,ve,Pe,_e,be,Ve,De={},Ye,at,Rt,st;;){if(Pe=J[J.length-1],this.defaultActions[Pe]?_e=this.defaultActions[Pe]:((pe===null||typeof pe>"u")&&(pe=W()),_e=Oe[Pe]&&Oe[Pe][pe]),typeof _e>"u"||!_e.length||!_e[0]){var Ue="";st=[];for(Ye in Oe[Pe])this.terminals_[Ye]&&Ye>Le&&st.push("'"+this.terminals_[Ye]+"'");q.showPosition?Ue="Parse error on line "+(Be+1)+`: + ${Fc()} +`,"getStyles"),zce=JHe});var TE={};ur(TE,{diagram:()=>eWe});var eWe,wE=N(()=>{"use strict";Xt();yee();Pce();Gce();Vce();eWe={parser:$ce,get db(){return new lw},renderer:Oce,styles:zce,init:o(t=>{t.flowchart||(t.flowchart={}),t.layout&&tv({layout:t.layout}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,tv({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}})},"init")}});var xM,Yce,Xce=N(()=>{"use strict";xM=function(){var t=o(function(re,he,J,ye){for(J=J||{},ye=re.length;ye--;J[re[ye]]=he);return J},"o"),e=[6,8,10,22,24,26,28,33,34,35,36,37,40,43,44,50],r=[1,10],n=[1,11],i=[1,12],a=[1,13],s=[1,20],l=[1,21],u=[1,22],h=[1,23],f=[1,24],d=[1,19],p=[1,25],m=[1,26],g=[1,18],y=[1,33],x=[1,34],v=[1,35],b=[1,36],T=[1,37],S=[6,8,10,13,15,17,20,21,22,24,26,28,33,34,35,36,37,40,43,44,50,63,64,65,66,67],w=[1,42],E=[1,43],_=[1,52],A=[40,50,68,69],D=[1,63],O=[1,61],R=[1,58],k=[1,62],L=[1,64],C=[6,8,10,13,17,22,24,26,28,33,34,35,36,37,40,41,42,43,44,48,49,50,63,64,65,66,67],I=[63,64,65,66,67],M=[1,81],P=[1,80],B=[1,78],F=[1,79],G=[6,10,42,47],$=[6,10,13,41,42,47,48,49],U=[1,89],K=[1,88],ne=[1,87],j=[19,56],le=[1,98],Z=[1,97],ce=[19,56,58,60],Q={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,COLON:13,role:14,STYLE_SEPARATOR:15,idList:16,BLOCK_START:17,attributes:18,BLOCK_STOP:19,SQS:20,SQE:21,title:22,title_value:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,direction:29,classDefStatement:30,classStatement:31,styleStatement:32,direction_tb:33,direction_bt:34,direction_rl:35,direction_lr:36,CLASSDEF:37,stylesOpt:38,separator:39,UNICODE_TEXT:40,STYLE_TEXT:41,COMMA:42,CLASS:43,STYLE:44,style:45,styleComponent:46,SEMI:47,NUM:48,BRKT:49,ENTITY_NAME:50,attribute:51,attributeType:52,attributeName:53,attributeKeyTypeList:54,attributeComment:55,ATTRIBUTE_WORD:56,attributeKeyType:57,",":58,ATTRIBUTE_KEY:59,COMMENT:60,cardinality:61,relType:62,ZERO_OR_ONE:63,ZERO_OR_MORE:64,ONE_OR_MORE:65,ONLY_ONE:66,MD_PARENT:67,NON_IDENTIFYING:68,IDENTIFYING:69,WORD:70,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:"COLON",15:"STYLE_SEPARATOR",17:"BLOCK_START",19:"BLOCK_STOP",20:"SQS",21:"SQE",22:"title",23:"title_value",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"direction_tb",34:"direction_bt",35:"direction_rl",36:"direction_lr",37:"CLASSDEF",40:"UNICODE_TEXT",41:"STYLE_TEXT",42:"COMMA",43:"CLASS",44:"STYLE",47:"SEMI",48:"NUM",49:"BRKT",50:"ENTITY_NAME",56:"ATTRIBUTE_WORD",58:",",59:"ATTRIBUTE_KEY",60:"COMMENT",63:"ZERO_OR_ONE",64:"ZERO_OR_MORE",65:"ONE_OR_MORE",66:"ONLY_ONE",67:"MD_PARENT",68:"NON_IDENTIFYING",69:"IDENTIFYING",70:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,9],[9,7],[9,7],[9,4],[9,6],[9,3],[9,5],[9,1],[9,3],[9,7],[9,9],[9,6],[9,8],[9,4],[9,6],[9,2],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[9,1],[29,1],[29,1],[29,1],[29,1],[30,4],[16,1],[16,1],[16,3],[16,3],[31,3],[32,4],[38,1],[38,3],[45,1],[45,2],[39,1],[39,1],[39,1],[46,1],[46,1],[46,1],[46,1],[11,1],[11,1],[18,1],[18,2],[51,2],[51,3],[51,3],[51,4],[52,1],[53,1],[54,1],[54,3],[57,1],[55,1],[12,3],[61,1],[61,1],[61,1],[61,1],[61,1],[62,1],[62,1],[14,1],[14,1],[14,1]],performAction:o(function(he,J,ye,se,Se,W,Oe){var ve=W.length-1;switch(Se){case 1:break;case 2:this.$=[];break;case 3:W[ve-1].push(W[ve]),this.$=W[ve-1];break;case 4:case 5:this.$=W[ve];break;case 6:case 7:this.$=[];break;case 8:se.addEntity(W[ve-4]),se.addEntity(W[ve-2]),se.addRelationship(W[ve-4],W[ve],W[ve-2],W[ve-3]);break;case 9:se.addEntity(W[ve-8]),se.addEntity(W[ve-4]),se.addRelationship(W[ve-8],W[ve],W[ve-4],W[ve-5]),se.setClass([W[ve-8]],W[ve-6]),se.setClass([W[ve-4]],W[ve-2]);break;case 10:se.addEntity(W[ve-6]),se.addEntity(W[ve-2]),se.addRelationship(W[ve-6],W[ve],W[ve-2],W[ve-3]),se.setClass([W[ve-6]],W[ve-4]);break;case 11:se.addEntity(W[ve-6]),se.addEntity(W[ve-4]),se.addRelationship(W[ve-6],W[ve],W[ve-4],W[ve-5]),se.setClass([W[ve-4]],W[ve-2]);break;case 12:se.addEntity(W[ve-3]),se.addAttributes(W[ve-3],W[ve-1]);break;case 13:se.addEntity(W[ve-5]),se.addAttributes(W[ve-5],W[ve-1]),se.setClass([W[ve-5]],W[ve-3]);break;case 14:se.addEntity(W[ve-2]);break;case 15:se.addEntity(W[ve-4]),se.setClass([W[ve-4]],W[ve-2]);break;case 16:se.addEntity(W[ve]);break;case 17:se.addEntity(W[ve-2]),se.setClass([W[ve-2]],W[ve]);break;case 18:se.addEntity(W[ve-6],W[ve-4]),se.addAttributes(W[ve-6],W[ve-1]);break;case 19:se.addEntity(W[ve-8],W[ve-6]),se.addAttributes(W[ve-8],W[ve-1]),se.setClass([W[ve-8]],W[ve-3]);break;case 20:se.addEntity(W[ve-5],W[ve-3]);break;case 21:se.addEntity(W[ve-7],W[ve-5]),se.setClass([W[ve-7]],W[ve-2]);break;case 22:se.addEntity(W[ve-3],W[ve-1]);break;case 23:se.addEntity(W[ve-5],W[ve-3]),se.setClass([W[ve-5]],W[ve]);break;case 24:case 25:this.$=W[ve].trim(),se.setAccTitle(this.$);break;case 26:case 27:this.$=W[ve].trim(),se.setAccDescription(this.$);break;case 32:se.setDirection("TB");break;case 33:se.setDirection("BT");break;case 34:se.setDirection("RL");break;case 35:se.setDirection("LR");break;case 36:this.$=W[ve-3],se.addClass(W[ve-2],W[ve-1]);break;case 37:case 38:case 56:case 64:this.$=[W[ve]];break;case 39:case 40:this.$=W[ve-2].concat([W[ve]]);break;case 41:this.$=W[ve-2],se.setClass(W[ve-1],W[ve]);break;case 42:this.$=W[ve-3],se.addCssStyles(W[ve-2],W[ve-1]);break;case 43:this.$=[W[ve]];break;case 44:W[ve-2].push(W[ve]),this.$=W[ve-2];break;case 46:this.$=W[ve-1]+W[ve];break;case 54:case 76:case 77:this.$=W[ve].replace(/"/g,"");break;case 55:case 78:this.$=W[ve];break;case 57:W[ve].push(W[ve-1]),this.$=W[ve];break;case 58:this.$={type:W[ve-1],name:W[ve]};break;case 59:this.$={type:W[ve-2],name:W[ve-1],keys:W[ve]};break;case 60:this.$={type:W[ve-2],name:W[ve-1],comment:W[ve]};break;case 61:this.$={type:W[ve-3],name:W[ve-2],keys:W[ve-1],comment:W[ve]};break;case 62:case 63:case 66:this.$=W[ve];break;case 65:W[ve-2].push(W[ve]),this.$=W[ve-2];break;case 67:this.$=W[ve].replace(/"/g,"");break;case 68:this.$={cardA:W[ve],relType:W[ve-1],cardB:W[ve-2]};break;case 69:this.$=se.Cardinality.ZERO_OR_ONE;break;case 70:this.$=se.Cardinality.ZERO_OR_MORE;break;case 71:this.$=se.Cardinality.ONE_OR_MORE;break;case 72:this.$=se.Cardinality.ONLY_ONE;break;case 73:this.$=se.Cardinality.MD_PARENT;break;case 74:this.$=se.Identification.NON_IDENTIFYING;break;case 75:this.$=se.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,22:r,24:n,26:i,28:a,29:14,30:15,31:16,32:17,33:s,34:l,35:u,36:h,37:f,40:d,43:p,44:m,50:g},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:27,11:9,22:r,24:n,26:i,28:a,29:14,30:15,31:16,32:17,33:s,34:l,35:u,36:h,37:f,40:d,43:p,44:m,50:g},t(e,[2,5]),t(e,[2,6]),t(e,[2,16],{12:28,61:32,15:[1,29],17:[1,30],20:[1,31],63:y,64:x,65:v,66:b,67:T}),{23:[1,38]},{25:[1,39]},{27:[1,40]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),t(e,[2,30]),t(e,[2,31]),t(S,[2,54]),t(S,[2,55]),t(e,[2,32]),t(e,[2,33]),t(e,[2,34]),t(e,[2,35]),{16:41,40:w,41:E},{16:44,40:w,41:E},{16:45,40:w,41:E},t(e,[2,4]),{11:46,40:d,50:g},{16:47,40:w,41:E},{18:48,19:[1,49],51:50,52:51,56:_},{11:53,40:d,50:g},{62:54,68:[1,55],69:[1,56]},t(A,[2,69]),t(A,[2,70]),t(A,[2,71]),t(A,[2,72]),t(A,[2,73]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),{13:D,38:57,41:O,42:R,45:59,46:60,48:k,49:L},t(C,[2,37]),t(C,[2,38]),{16:65,40:w,41:E,42:R},{13:D,38:66,41:O,42:R,45:59,46:60,48:k,49:L},{13:[1,67],15:[1,68]},t(e,[2,17],{61:32,12:69,17:[1,70],42:R,63:y,64:x,65:v,66:b,67:T}),{19:[1,71]},t(e,[2,14]),{18:72,19:[2,56],51:50,52:51,56:_},{53:73,56:[1,74]},{56:[2,62]},{21:[1,75]},{61:76,63:y,64:x,65:v,66:b,67:T},t(I,[2,74]),t(I,[2,75]),{6:M,10:P,39:77,42:B,47:F},{40:[1,82],41:[1,83]},t(G,[2,43],{46:84,13:D,41:O,48:k,49:L}),t($,[2,45]),t($,[2,50]),t($,[2,51]),t($,[2,52]),t($,[2,53]),t(e,[2,41],{42:R}),{6:M,10:P,39:85,42:B,47:F},{14:86,40:U,50:K,70:ne},{16:90,40:w,41:E},{11:91,40:d,50:g},{18:92,19:[1,93],51:50,52:51,56:_},t(e,[2,12]),{19:[2,57]},t(j,[2,58],{54:94,55:95,57:96,59:le,60:Z}),t([19,56,59,60],[2,63]),t(e,[2,22],{15:[1,100],17:[1,99]}),t([40,50],[2,68]),t(e,[2,36]),{13:D,41:O,45:101,46:60,48:k,49:L},t(e,[2,47]),t(e,[2,48]),t(e,[2,49]),t(C,[2,39]),t(C,[2,40]),t($,[2,46]),t(e,[2,42]),t(e,[2,8]),t(e,[2,76]),t(e,[2,77]),t(e,[2,78]),{13:[1,102],42:R},{13:[1,104],15:[1,103]},{19:[1,105]},t(e,[2,15]),t(j,[2,59],{55:106,58:[1,107],60:Z}),t(j,[2,60]),t(ce,[2,64]),t(j,[2,67]),t(ce,[2,66]),{18:108,19:[1,109],51:50,52:51,56:_},{16:110,40:w,41:E},t(G,[2,44],{46:84,13:D,41:O,48:k,49:L}),{14:111,40:U,50:K,70:ne},{16:112,40:w,41:E},{14:113,40:U,50:K,70:ne},t(e,[2,13]),t(j,[2,61]),{57:114,59:le},{19:[1,115]},t(e,[2,20]),t(e,[2,23],{17:[1,116],42:R}),t(e,[2,11]),{13:[1,117],42:R},t(e,[2,10]),t(ce,[2,65]),t(e,[2,18]),{18:118,19:[1,119],51:50,52:51,56:_},{14:120,40:U,50:K,70:ne},{19:[1,121]},t(e,[2,21]),t(e,[2,9]),t(e,[2,19])],defaultActions:{52:[2,62],72:[2,57]},parseError:o(function(he,J){if(J.recoverable)this.trace(he);else{var ye=new Error(he);throw ye.hash=J,ye}},"parseError"),parse:o(function(he){var J=this,ye=[0],se=[],Se=[null],W=[],Oe=this.table,ve="",Pe=0,qe=0,Ge=0,Ne=2,Me=1,be=W.slice.call(arguments,1),q=Object.create(this.lexer),fe={yy:{}};for(var ae in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ae)&&(fe.yy[ae]=this.yy[ae]);q.setInput(he,fe.yy),fe.yy.lexer=q,fe.yy.parser=this,typeof q.yylloc>"u"&&(q.yylloc={});var oe=q.yylloc;W.push(oe);var V=q.options&&q.options.ranges;typeof fe.yy.parseError=="function"?this.parseError=fe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function xe(ht){ye.length=ye.length-2*ht,Se.length=Se.length-ht,W.length=W.length-ht}o(xe,"popStack");function Y(){var ht;return ht=se.pop()||q.lex()||Me,typeof ht!="number"&&(ht instanceof Array&&(se=ht,ht=se.pop()),ht=J.symbols_[ht]||ht),ht}o(Y,"lex");for(var de,me,Be,_e,Te,Ue,De={},Qe,ot,Gt,Ze;;){if(Be=ye[ye.length-1],this.defaultActions[Be]?_e=this.defaultActions[Be]:((de===null||typeof de>"u")&&(de=Y()),_e=Oe[Be]&&Oe[Be][de]),typeof _e>"u"||!_e.length||!_e[0]){var Ve="";Ze=[];for(Qe in Oe[Be])this.terminals_[Qe]&&Qe>Ne&&Ze.push("'"+this.terminals_[Qe]+"'");q.showPosition?Ve="Parse error on line "+(Pe+1)+`: `+q.showPosition()+` -Expecting `+st.join(", ")+", got '"+(this.terminals_[pe]||pe)+"'":Ue="Parse error on line "+(Be+1)+": Unexpected "+(pe==Ie?"end of input":"'"+(this.terminals_[pe]||pe)+"'"),this.parseError(Ue,{text:q.match,token:this.terminals_[pe]||pe,line:q.yylineno,loc:oe,expected:st})}if(_e[0]instanceof Array&&_e.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Pe+", token: "+pe);switch(_e[0]){case 1:J.push(pe),se.push(q.yytext),ae.push(q.yylloc),J.push(_e[1]),pe=null,ve?(pe=ve,ve=null):(He=q.yyleng,ye=q.yytext,Be=q.yylineno,oe=q.yylloc,ze>0&&ze--);break;case 2:if(at=this.productions_[_e[1]][1],De.$=se[se.length-at],De._$={first_line:ae[ae.length-(at||1)].first_line,last_line:ae[ae.length-1].last_line,first_column:ae[ae.length-(at||1)].first_column,last_column:ae[ae.length-1].last_column},V&&(De._$.range=[ae[ae.length-(at||1)].range[0],ae[ae.length-1].range[1]]),Ve=this.performAction.apply(De,[ye,He,Be,de.yy,_e[1],se,ae].concat(xe)),typeof Ve<"u")return Ve;at&&(J=J.slice(0,-1*at*2),se=se.slice(0,-1*at),ae=ae.slice(0,-1*at)),J.push(this.productions_[_e[1]][0]),se.push(De.$),ae.push(De._$),Rt=Oe[J[J.length-2]][J[J.length-1]],J.push(Rt);break;case 3:return!0}}return!0},"parse")},j=function(){var te={EOF:1,parseError:o(function(le,J){if(this.yy.parser)this.yy.parser.parseError(le,J);else throw new Error(le)},"parseError"),setInput:o(function(he,le){return this.yy=le||this.yy||{},this._input=he,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var he=this._input[0];this.yytext+=he,this.yyleng++,this.offset++,this.match+=he,this.matched+=he;var le=he.match(/(?:\r\n?|\n).*/g);return le?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),he},"input"),unput:o(function(he){var le=he.length,J=he.split(/(?:\r\n?|\n)/g);this._input=he+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-le),this.offset-=le;var Se=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),J.length-1&&(this.yylineno-=J.length-1);var se=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:J?(J.length===Se.length?this.yylloc.first_column:0)+Se[Se.length-J.length].length-J[0].length:this.yylloc.first_column-le},this.options.ranges&&(this.yylloc.range=[se[0],se[0]+this.yyleng-le]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(he){this.unput(this.match.slice(he))},"less"),pastInput:o(function(){var he=this.matched.substr(0,this.matched.length-this.match.length);return(he.length>20?"...":"")+he.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var he=this.match;return he.length<20&&(he+=this._input.substr(0,20-he.length)),(he.substr(0,20)+(he.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var he=this.pastInput(),le=new Array(he.length+1).join("-");return he+this.upcomingInput()+` -`+le+"^"},"showPosition"),test_match:o(function(he,le){var J,Se,se;if(this.options.backtrack_lexer&&(se={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(se.yylloc.range=this.yylloc.range.slice(0))),Se=he[0].match(/(?:\r\n?|\n).*/g),Se&&(this.yylineno+=Se.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Se?Se[Se.length-1].length-Se[Se.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+he[0].length},this.yytext+=he[0],this.match+=he[0],this.matches=he,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(he[0].length),this.matched+=he[0],J=this.performAction.call(this,this.yy,this,le,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),J)return J;if(this._backtrack){for(var ae in se)this[ae]=se[ae];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var he,le,J,Se;this._more||(this.yytext="",this.match="");for(var se=this._currentRules(),ae=0;aele[0].length)){if(le=J,Se=ae,this.options.backtrack_lexer){if(he=this.test_match(J,se[ae]),he!==!1)return he;if(this._backtrack){le=!1;continue}else return!1}else if(!this.options.flex)break}return le?(he=this.test_match(le,se[Se]),he!==!1?he:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var le=this.next();return le||this.lex()},"lex"),begin:o(function(le){this.conditionStack.push(le)},"begin"),popState:o(function(){var le=this.conditionStack.length-1;return le>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(le){return le=this.conditionStack.length-1-Math.abs(le||0),le>=0?this.conditionStack[le]:"INITIAL"},"topState"),pushState:o(function(le){this.begin(le)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(le,J,Se,se){var ae=se;switch(Se){case 0:return this.begin("acc_title"),24;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),26;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 33;case 8:return 34;case 9:return 35;case 10:return 36;case 11:return 10;case 12:break;case 13:return 8;case 14:return 50;case 15:return 70;case 16:return 4;case 17:return this.begin("block"),17;break;case 18:return 49;case 19:return 49;case 20:return 42;case 21:return 15;case 22:return 13;case 23:break;case 24:return 59;case 25:return 56;case 26:return 56;case 27:return 60;case 28:break;case 29:return this.popState(),19;break;case 30:return J.yytext[0];case 31:return 20;case 32:return 21;case 33:return this.begin("style"),44;break;case 34:return this.popState(),10;break;case 35:break;case 36:return 13;case 37:return 42;case 38:return 49;case 39:return this.begin("style"),37;break;case 40:return 43;case 41:return 63;case 42:return 65;case 43:return 65;case 44:return 65;case 45:return 63;case 46:return 63;case 47:return 64;case 48:return 64;case 49:return 64;case 50:return 64;case 51:return 64;case 52:return 65;case 53:return 64;case 54:return 65;case 55:return 66;case 56:return 66;case 57:return 66;case 58:return 66;case 59:return 63;case 60:return 64;case 61:return 65;case 62:return 67;case 63:return 68;case 64:return 69;case 65:return 69;case 66:return 68;case 67:return 68;case 68:return 68;case 69:return 41;case 70:return 47;case 71:return 40;case 72:return 48;case 73:return J.yytext[0];case 74:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\u00C0-\uFFFF\*]*))/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:[0-9])/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[34,35,36,37,38,69,70],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[23,24,25,26,27,28,29,30],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,31,32,33,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,71,72,73,74],inclusive:!0}}};return te}();Q.lexer=j;function ne(){this.yy={}}return o(ne,"Parser"),ne.prototype=Q,Q.Parser=ne,new ne}();tN.parser=tN;dse=tN});var xk,mse=N(()=>{"use strict";yt();qt();ci();nr();xk=class{constructor(){this.entities=new Map;this.relationships=[];this.classes=new Map;this.direction="TB";this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"};this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"};this.setAccTitle=Cr;this.getAccTitle=_r;this.setAccDescription=Dr;this.getAccDescription=Lr;this.setDiagramTitle=Ir;this.getDiagramTitle=Rr;this.getConfig=o(()=>ge().er,"getConfig");this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{o(this,"ErDB")}addEntity(e,r=""){return this.entities.has(e)?!this.entities.get(e)?.alias&&r&&(this.entities.get(e).alias=r,X.info(`Add alias '${r}' to entity '${e}'`)):(this.entities.set(e,{id:`entity-${e}-${this.entities.size}`,label:e,attributes:[],alias:r,shape:"erBox",look:ge().look??"default",cssClasses:"default",cssStyles:[]}),X.info("Added new entity :",e)),this.entities.get(e)}getEntity(e){return this.entities.get(e)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(e,r){let n=this.addEntity(e),i;for(i=r.length-1;i>=0;i--)r[i].keys||(r[i].keys=[]),r[i].comment||(r[i].comment=""),n.attributes.push(r[i]),X.debug("Added attribute ",r[i].name)}addRelationship(e,r,n,i){let a=this.entities.get(e),s=this.entities.get(n);if(!a||!s)return;let l={entityA:a.id,roleA:r,entityB:s.id,relSpec:i};this.relationships.push(l),X.debug("Added new relationship :",l)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(e){this.direction=e}getCompiledStyles(e){let r=[];for(let n of e){let i=this.classes.get(n);i?.styles&&(r=[...r,...i.styles??[]].map(a=>a.trim())),i?.textStyles&&(r=[...r,...i.textStyles??[]].map(a=>a.trim()))}return r}addCssStyles(e,r){for(let n of e){let i=this.entities.get(n);if(!r||!i)return;for(let a of r)i.cssStyles.push(a)}}addClass(e,r){e.forEach(n=>{let i=this.classes.get(n);i===void 0&&(i={id:n,styles:[],textStyles:[]},this.classes.set(n,i)),r&&r.forEach(function(a){if(/color/.exec(a)){let s=a.replace("fill","bgFill");i.textStyles.push(s)}i.styles.push(a)})})}setClass(e,r){for(let n of e){let i=this.entities.get(n);if(i)for(let a of r)i.cssClasses+=" "+a}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],wr()}getData(){let e=[],r=[],n=ge();for(let a of this.entities.keys()){let s=this.entities.get(a);s&&(s.cssCompiledStyles=this.getCompiledStyles(s.cssClasses.split(" ")),e.push(s))}let i=0;for(let a of this.relationships){let s={id:Gh(a.entityA,a.entityB,{prefix:"id",counter:i++}),type:"normal",curve:"basis",start:a.entityA,end:a.entityB,label:a.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:a.relSpec.cardB.toLowerCase(),arrowTypeEnd:a.relSpec.cardA.toLowerCase(),pattern:a.relSpec.relType=="IDENTIFYING"?"solid":"dashed",look:n.look};r.push(s)}return{nodes:e,edges:r,other:{},config:n,direction:"TB"}}}});var rN={};hr(rN,{draw:()=>XPe});var XPe,gse=N(()=>{"use strict";qt();yt();xm();Zd();Jd();nr();pr();XPe=o(async function(t,e,r,n){X.info("REF0:"),X.info("Drawing er diagram (unified)",e);let{securityLevel:i,er:a,layout:s}=ge(),l=n.db.getData(),u=bc(e,i);l.type=n.type,l.layoutAlgorithm=sf(s),l.config.flowchart.nodeSpacing=a?.nodeSpacing||140,l.config.flowchart.rankSpacing=a?.rankSpacing||80,l.direction=n.db.getDirection(),l.markers=["only_one","zero_or_one","one_or_more","zero_or_more"],l.diagramId=e,await Dc(l,u),l.layoutAlgorithm==="elk"&&u.select(".edges").lower();let h=u.selectAll('[id*="-background"]');Array.from(h).length>0&&h.each(function(){let d=Ge(this),m=d.attr("id").replace("-background",""),g=u.select(`#${CSS.escape(m)}`);if(!g.empty()){let y=g.attr("transform");d.attr("transform",y)}});let f=8;Vt.insertTitle(u,"erDiagramTitleText",a?.titleTopMargin??25,n.db.getDiagramTitle()),Wo(u,f,"erDiagram",a?.useMaxWidth??!0)},"draw")});var jPe,KPe,yse,vse=N(()=>{"use strict";Xs();jPe=o((t,e)=>{let r=Kf,n=r(t,"r"),i=r(t,"g"),a=r(t,"b");return Ya(n,i,a,e)},"fade"),KPe=o(t=>` +Expecting `+Ze.join(", ")+", got '"+(this.terminals_[de]||de)+"'":Ve="Parse error on line "+(Pe+1)+": Unexpected "+(de==Me?"end of input":"'"+(this.terminals_[de]||de)+"'"),this.parseError(Ve,{text:q.match,token:this.terminals_[de]||de,line:q.yylineno,loc:oe,expected:Ze})}if(_e[0]instanceof Array&&_e.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Be+", token: "+de);switch(_e[0]){case 1:ye.push(de),Se.push(q.yytext),W.push(q.yylloc),ye.push(_e[1]),de=null,me?(de=me,me=null):(qe=q.yyleng,ve=q.yytext,Pe=q.yylineno,oe=q.yylloc,Ge>0&&Ge--);break;case 2:if(ot=this.productions_[_e[1]][1],De.$=Se[Se.length-ot],De._$={first_line:W[W.length-(ot||1)].first_line,last_line:W[W.length-1].last_line,first_column:W[W.length-(ot||1)].first_column,last_column:W[W.length-1].last_column},V&&(De._$.range=[W[W.length-(ot||1)].range[0],W[W.length-1].range[1]]),Ue=this.performAction.apply(De,[ve,qe,Pe,fe.yy,_e[1],Se,W].concat(be)),typeof Ue<"u")return Ue;ot&&(ye=ye.slice(0,-1*ot*2),Se=Se.slice(0,-1*ot),W=W.slice(0,-1*ot)),ye.push(this.productions_[_e[1]][0]),Se.push(De.$),W.push(De._$),Gt=Oe[ye[ye.length-2]][ye[ye.length-1]],ye.push(Gt);break;case 3:return!0}}return!0},"parse")},ee=function(){var re={EOF:1,parseError:o(function(J,ye){if(this.yy.parser)this.yy.parser.parseError(J,ye);else throw new Error(J)},"parseError"),setInput:o(function(he,J){return this.yy=J||this.yy||{},this._input=he,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var he=this._input[0];this.yytext+=he,this.yyleng++,this.offset++,this.match+=he,this.matched+=he;var J=he.match(/(?:\r\n?|\n).*/g);return J?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),he},"input"),unput:o(function(he){var J=he.length,ye=he.split(/(?:\r\n?|\n)/g);this._input=he+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-J),this.offset-=J;var se=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),ye.length-1&&(this.yylineno-=ye.length-1);var Se=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:ye?(ye.length===se.length?this.yylloc.first_column:0)+se[se.length-ye.length].length-ye[0].length:this.yylloc.first_column-J},this.options.ranges&&(this.yylloc.range=[Se[0],Se[0]+this.yyleng-J]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(he){this.unput(this.match.slice(he))},"less"),pastInput:o(function(){var he=this.matched.substr(0,this.matched.length-this.match.length);return(he.length>20?"...":"")+he.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var he=this.match;return he.length<20&&(he+=this._input.substr(0,20-he.length)),(he.substr(0,20)+(he.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var he=this.pastInput(),J=new Array(he.length+1).join("-");return he+this.upcomingInput()+` +`+J+"^"},"showPosition"),test_match:o(function(he,J){var ye,se,Se;if(this.options.backtrack_lexer&&(Se={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Se.yylloc.range=this.yylloc.range.slice(0))),se=he[0].match(/(?:\r\n?|\n).*/g),se&&(this.yylineno+=se.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:se?se[se.length-1].length-se[se.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+he[0].length},this.yytext+=he[0],this.match+=he[0],this.matches=he,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(he[0].length),this.matched+=he[0],ye=this.performAction.call(this,this.yy,this,J,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ye)return ye;if(this._backtrack){for(var W in Se)this[W]=Se[W];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var he,J,ye,se;this._more||(this.yytext="",this.match="");for(var Se=this._currentRules(),W=0;WJ[0].length)){if(J=ye,se=W,this.options.backtrack_lexer){if(he=this.test_match(ye,Se[W]),he!==!1)return he;if(this._backtrack){J=!1;continue}else return!1}else if(!this.options.flex)break}return J?(he=this.test_match(J,Se[se]),he!==!1?he:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var J=this.next();return J||this.lex()},"lex"),begin:o(function(J){this.conditionStack.push(J)},"begin"),popState:o(function(){var J=this.conditionStack.length-1;return J>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(J){return J=this.conditionStack.length-1-Math.abs(J||0),J>=0?this.conditionStack[J]:"INITIAL"},"topState"),pushState:o(function(J){this.begin(J)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(J,ye,se,Se){var W=Se;switch(se){case 0:return this.begin("acc_title"),24;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),26;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 33;case 8:return 34;case 9:return 35;case 10:return 36;case 11:return 10;case 12:break;case 13:return 8;case 14:return 50;case 15:return 70;case 16:return 4;case 17:return this.begin("block"),17;break;case 18:return 49;case 19:return 49;case 20:return 42;case 21:return 15;case 22:return 13;case 23:break;case 24:return 59;case 25:return 56;case 26:return 56;case 27:return 60;case 28:break;case 29:return this.popState(),19;break;case 30:return ye.yytext[0];case 31:return 20;case 32:return 21;case 33:return this.begin("style"),44;break;case 34:return this.popState(),10;break;case 35:break;case 36:return 13;case 37:return 42;case 38:return 49;case 39:return this.begin("style"),37;break;case 40:return 43;case 41:return 63;case 42:return 65;case 43:return 65;case 44:return 65;case 45:return 63;case 46:return 63;case 47:return 64;case 48:return 64;case 49:return 64;case 50:return 64;case 51:return 64;case 52:return 65;case 53:return 64;case 54:return 65;case 55:return 66;case 56:return 66;case 57:return 66;case 58:return 66;case 59:return 63;case 60:return 64;case 61:return 65;case 62:return 67;case 63:return 68;case 64:return 69;case 65:return 69;case 66:return 68;case 67:return 68;case 68:return 68;case 69:return 41;case 70:return 47;case 71:return 40;case 72:return 48;case 73:return ye.yytext[0];case 74:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\u00C0-\uFFFF\*]*))/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:[0-9])/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[34,35,36,37,38,69,70],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[23,24,25,26,27,28,29,30],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,31,32,33,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,71,72,73,74],inclusive:!0}}};return re}();Q.lexer=ee;function te(){this.yy={}}return o(te,"Parser"),te.prototype=Q,Q.Parser=te,new te}();xM.parser=xM;Yce=xM});var kE,jce=N(()=>{"use strict";pt();Xt();ui();tr();kE=class{constructor(){this.entities=new Map;this.relationships=[];this.classes=new Map;this.direction="TB";this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"};this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"};this.setAccTitle=Cr;this.getAccTitle=_r;this.setAccDescription=Dr;this.getAccDescription=Lr;this.setDiagramTitle=Or;this.getDiagramTitle=Rr;this.getConfig=o(()=>ge().er,"getConfig");this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{o(this,"ErDB")}addEntity(e,r=""){return this.entities.has(e)?!this.entities.get(e)?.alias&&r&&(this.entities.get(e).alias=r,X.info(`Add alias '${r}' to entity '${e}'`)):(this.entities.set(e,{id:`entity-${e}-${this.entities.size}`,label:e,attributes:[],alias:r,shape:"erBox",look:ge().look??"default",cssClasses:"default",cssStyles:[]}),X.info("Added new entity :",e)),this.entities.get(e)}getEntity(e){return this.entities.get(e)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(e,r){let n=this.addEntity(e),i;for(i=r.length-1;i>=0;i--)r[i].keys||(r[i].keys=[]),r[i].comment||(r[i].comment=""),n.attributes.push(r[i]),X.debug("Added attribute ",r[i].name)}addRelationship(e,r,n,i){let a=this.entities.get(e),s=this.entities.get(n);if(!a||!s)return;let l={entityA:a.id,roleA:r,entityB:s.id,relSpec:i};this.relationships.push(l),X.debug("Added new relationship :",l)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(e){this.direction=e}getCompiledStyles(e){let r=[];for(let n of e){let i=this.classes.get(n);i?.styles&&(r=[...r,...i.styles??[]].map(a=>a.trim())),i?.textStyles&&(r=[...r,...i.textStyles??[]].map(a=>a.trim()))}return r}addCssStyles(e,r){for(let n of e){let i=this.entities.get(n);if(!r||!i)return;for(let a of r)i.cssStyles.push(a)}}addClass(e,r){e.forEach(n=>{let i=this.classes.get(n);i===void 0&&(i={id:n,styles:[],textStyles:[]},this.classes.set(n,i)),r&&r.forEach(function(a){if(/color/.exec(a)){let s=a.replace("fill","bgFill");i.textStyles.push(s)}i.styles.push(a)})})}setClass(e,r){for(let n of e){let i=this.entities.get(n);if(i)for(let a of r)i.cssClasses+=" "+a}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],wr()}getData(){let e=[],r=[],n=ge();for(let a of this.entities.keys()){let s=this.entities.get(a);s&&(s.cssCompiledStyles=this.getCompiledStyles(s.cssClasses.split(" ")),e.push(s))}let i=0;for(let a of this.relationships){let s={id:Hh(a.entityA,a.entityB,{prefix:"id",counter:i++}),type:"normal",curve:"basis",start:a.entityA,end:a.entityB,label:a.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:a.relSpec.cardB.toLowerCase(),arrowTypeEnd:a.relSpec.cardA.toLowerCase(),pattern:a.relSpec.relType=="IDENTIFYING"?"solid":"dashed",look:n.look};r.push(s)}return{nodes:e,edges:r,other:{},config:n,direction:"TB"}}}});var bM={};ur(bM,{draw:()=>oWe});var oWe,Kce=N(()=>{"use strict";Xt();pt();Kd();Af();_f();tr();pr();oWe=o(async function(t,e,r,n){X.info("REF0:"),X.info("Drawing er diagram (unified)",e);let{securityLevel:i,er:a,layout:s}=ge(),l=n.db.getData(),u=zo(e,i);l.type=n.type,l.layoutAlgorithm=Bc(s),l.config.flowchart.nodeSpacing=a?.nodeSpacing||140,l.config.flowchart.rankSpacing=a?.rankSpacing||80,l.direction=n.db.getDirection(),l.markers=["only_one","zero_or_one","one_or_more","zero_or_more"],l.diagramId=e,await Qo(l,u),l.layoutAlgorithm==="elk"&&u.select(".edges").lower();let h=u.selectAll('[id*="-background"]');Array.from(h).length>0&&h.each(function(){let d=ze(this),m=d.attr("id").replace("-background",""),g=u.select(`#${CSS.escape(m)}`);if(!g.empty()){let y=g.attr("transform");d.attr("transform",y)}});let f=8;Ht.insertTitle(u,"erDiagramTitleText",a?.titleTopMargin??25,n.db.getDiagramTitle()),Hs(u,f,"erDiagram",a?.useMaxWidth??!0)},"draw")});var lWe,cWe,Qce,Zce=N(()=>{"use strict";Qs();lWe=o((t,e)=>{let r=id,n=r(t,"r"),i=r(t,"g"),a=r(t,"b");return Ka(n,i,a,e)},"fade"),cWe=o(t=>` .entityBox { fill: ${t.mainBkg}; stroke: ${t.nodeBorder}; @@ -662,7 +908,7 @@ Expecting `+st.join(", ")+", got '"+(this.terminals_[pe]||pe)+"'":Ue="Parse erro } .labelBkg { - background-color: ${jPe(t.tertiaryColor,.5)}; + background-color: ${lWe(t.tertiaryColor,.5)}; } .edgeLabel .label { @@ -700,69 +946,69 @@ Expecting `+st.join(", ")+", got '"+(this.terminals_[pe]||pe)+"'":Ue="Parse erro stroke: ${t.lineColor} !important; stroke-width: 1; } -`,"getStyles"),yse=KPe});var xse={};hr(xse,{diagram:()=>QPe});var QPe,bse=N(()=>{"use strict";pse();mse();gse();vse();QPe={parser:dse,get db(){return new xk},renderer:rN,styles:yse}});function si(t){return typeof t=="object"&&t!==null&&typeof t.$type=="string"}function ma(t){return typeof t=="object"&&t!==null&&typeof t.$refText=="string"}function nN(t){return typeof t=="object"&&t!==null&&typeof t.name=="string"&&typeof t.type=="string"&&typeof t.path=="string"}function tp(t){return typeof t=="object"&&t!==null&&si(t.container)&&ma(t.reference)&&typeof t.message=="string"}function Rl(t){return typeof t=="object"&&t!==null&&Array.isArray(t.content)}function of(t){return typeof t=="object"&&t!==null&&typeof t.tokenType=="object"}function V2(t){return Rl(t)&&typeof t.fullText=="string"}var ep,Nl=N(()=>{"use strict";o(si,"isAstNode");o(ma,"isReference");o(nN,"isAstNodeDescription");o(tp,"isLinkingError");ep=class{static{o(this,"AbstractAstReflection")}constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,r){return si(e)&&this.isSubtype(e.$type,r)}isSubtype(e,r){if(e===r)return!0;let n=this.subtypes[e];n||(n=this.subtypes[e]={});let i=n[r];if(i!==void 0)return i;{let a=this.computeIsSubtype(e,r);return n[r]=a,a}}getAllSubTypes(e){let r=this.allSubtypes[e];if(r)return r;{let n=this.getAllTypes(),i=[];for(let a of n)this.isSubtype(a,e)&&i.push(a);return this.allSubtypes[e]=i,i}}};o(Rl,"isCompositeCstNode");o(of,"isLeafCstNode");o(V2,"isRootCstNode")});function tBe(t){return typeof t=="string"?t:typeof t>"u"?"undefined":typeof t.toString=="function"?t.toString():Object.prototype.toString.call(t)}function bk(t){return!!t&&typeof t[Symbol.iterator]=="function"}function Jr(...t){if(t.length===1){let e=t[0];if(e instanceof oo)return e;if(bk(e))return new oo(()=>e[Symbol.iterator](),r=>r.next());if(typeof e.length=="number")return new oo(()=>({index:0}),r=>r.index1?new oo(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){let r=e.iterator.next();if(!r.done)return r;e.iterator=void 0}if(e.array){if(e.arrIndex{"use strict";oo=class t{static{o(this,"StreamImpl")}constructor(e,r){this.startFn=e,this.nextFn=r}iterator(){let e={state:this.startFn(),next:o(()=>this.nextFn(e.state),"next"),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){let e=this.iterator(),r=0,n=e.next();for(;!n.done;)r++,n=e.next();return r}toArray(){let e=[],r=this.iterator(),n;do n=r.next(),n.value!==void 0&&e.push(n.value);while(!n.done);return e}toSet(){return new Set(this)}toMap(e,r){let n=this.map(i=>[e?e(i):i,r?r(i):i]);return new Map(n)}toString(){return this.join()}concat(e){return new t(()=>({first:this.startFn(),firstDone:!1,iterator:e[Symbol.iterator]()}),r=>{let n;if(!r.firstDone){do if(n=this.nextFn(r.first),!n.done)return n;while(!n.done);r.firstDone=!0}do if(n=r.iterator.next(),!n.done)return n;while(!n.done);return Ma})}join(e=","){let r=this.iterator(),n="",i,a=!1;do i=r.next(),i.done||(a&&(n+=e),n+=tBe(i.value)),a=!0;while(!i.done);return n}indexOf(e,r=0){let n=this.iterator(),i=0,a=n.next();for(;!a.done;){if(i>=r&&a.value===e)return i;a=n.next(),i++}return-1}every(e){let r=this.iterator(),n=r.next();for(;!n.done;){if(!e(n.value))return!1;n=r.next()}return!0}some(e){let r=this.iterator(),n=r.next();for(;!n.done;){if(e(n.value))return!0;n=r.next()}return!1}forEach(e){let r=this.iterator(),n=0,i=r.next();for(;!i.done;)e(i.value,n),i=r.next(),n++}map(e){return new t(this.startFn,r=>{let{done:n,value:i}=this.nextFn(r);return n?Ma:{done:!1,value:e(i)}})}filter(e){return new t(this.startFn,r=>{let n;do if(n=this.nextFn(r),!n.done&&e(n.value))return n;while(!n.done);return Ma})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,r){let n=this.iterator(),i=r,a=n.next();for(;!a.done;)i===void 0?i=a.value:i=e(i,a.value),a=n.next();return i}reduceRight(e,r){return this.recursiveReduce(this.iterator(),e,r)}recursiveReduce(e,r,n){let i=e.next();if(i.done)return n;let a=this.recursiveReduce(e,r,n);return a===void 0?i.value:r(a,i.value)}find(e){let r=this.iterator(),n=r.next();for(;!n.done;){if(e(n.value))return n.value;n=r.next()}}findIndex(e){let r=this.iterator(),n=0,i=r.next();for(;!i.done;){if(e(i.value))return n;i=r.next(),n++}return-1}includes(e){let r=this.iterator(),n=r.next();for(;!n.done;){if(n.value===e)return!0;n=r.next()}return!1}flatMap(e){return new t(()=>({this:this.startFn()}),r=>{do{if(r.iterator){let a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}let{done:n,value:i}=this.nextFn(r.this);if(!n){let a=e(i);if(bk(a))r.iterator=a[Symbol.iterator]();else return{done:!1,value:a}}}while(r.iterator);return Ma})}flat(e){if(e===void 0&&(e=1),e<=0)return this;let r=e>1?this.flat(e-1):this;return new t(()=>({this:r.startFn()}),n=>{do{if(n.iterator){let s=n.iterator.next();if(s.done)n.iterator=void 0;else return s}let{done:i,value:a}=r.nextFn(n.this);if(!i)if(bk(a))n.iterator=a[Symbol.iterator]();else return{done:!1,value:a}}while(n.iterator);return Ma})}head(){let r=this.iterator().next();if(!r.done)return r.value}tail(e=1){return new t(()=>{let r=this.startFn();for(let n=0;n({size:0,state:this.startFn()}),r=>(r.size++,r.size>e?Ma:this.nextFn(r.state)))}distinct(e){return new t(()=>({set:new Set,internalState:this.startFn()}),r=>{let n;do if(n=this.nextFn(r.internalState),!n.done){let i=e?e(n.value):n.value;if(!r.set.has(i))return r.set.add(i),n}while(!n.done);return Ma})}exclude(e,r){let n=new Set;for(let i of e){let a=r?r(i):i;n.add(a)}return this.filter(i=>{let a=r?r(i):i;return!n.has(a)})}};o(tBe,"toString");o(bk,"isIterable");U2=new oo(()=>{},()=>Ma),Ma=Object.freeze({done:!0,value:void 0});o(Jr,"stream");Rc=class extends oo{static{o(this,"TreeStreamImpl")}constructor(e,r,n){super(()=>({iterators:n?.includeRoot?[[e][Symbol.iterator]()]:[r(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){let s=i.iterators[i.iterators.length-1].next();if(s.done)i.iterators.pop();else return i.iterators.push(r(s.value)[Symbol.iterator]()),s}return Ma})}iterator(){let e={state:this.startFn(),next:o(()=>this.nextFn(e.state),"next"),prune:o(()=>{e.state.pruned=!0},"prune"),[Symbol.iterator]:()=>e};return e}};(function(t){function e(a){return a.reduce((s,l)=>s+l,0)}o(e,"sum"),t.sum=e;function r(a){return a.reduce((s,l)=>s*l,0)}o(r,"product"),t.product=r;function n(a){return a.reduce((s,l)=>Math.min(s,l))}o(n,"min"),t.min=n;function i(a){return a.reduce((s,l)=>Math.max(s,l))}o(i,"max"),t.max=i})(Um||(Um={}))});var wk={};hr(wk,{DefaultNameRegexp:()=>Tk,RangeComparison:()=>Nc,compareRange:()=>Ese,findCommentNode:()=>oN,findDeclarationNodeAtOffset:()=>nBe,findLeafNodeAtOffset:()=>lN,findLeafNodeBeforeOffset:()=>Sse,flattenCst:()=>rBe,getInteriorNodes:()=>sBe,getNextNode:()=>iBe,getPreviousNode:()=>Ase,getStartlineNode:()=>aBe,inRange:()=>sN,isChildNode:()=>aN,isCommentNode:()=>iN,streamCst:()=>rp,toDocumentSegment:()=>np,tokenToRange:()=>Hm});function rp(t){return new Rc(t,e=>Rl(e)?e.content:[],{includeRoot:!0})}function rBe(t){return rp(t).filter(of)}function aN(t,e){for(;t.container;)if(t=t.container,t===e)return!0;return!1}function Hm(t){return{start:{character:t.startColumn-1,line:t.startLine-1},end:{character:t.endColumn,line:t.endLine-1}}}function np(t){if(!t)return;let{offset:e,end:r,range:n}=t;return{range:n,offset:e,end:r,length:r-e}}function Ese(t,e){if(t.end.linee.end.line||t.start.line===e.end.line&&t.start.character>=e.end.character)return Nc.After;let r=t.start.line>e.start.line||t.start.line===e.start.line&&t.start.character>=e.start.character,n=t.end.lineNc.After}function nBe(t,e,r=Tk){if(t){if(e>0){let n=e-t.offset,i=t.text.charAt(n);r.test(i)||e--}return lN(t,e)}}function oN(t,e){if(t){let r=Ase(t,!0);if(r&&iN(r,e))return r;if(V2(t)){let n=t.content.findIndex(i=>!i.hidden);for(let i=n-1;i>=0;i--){let a=t.content[i];if(iN(a,e))return a}}}}function iN(t,e){return of(t)&&e.includes(t.tokenType.name)}function lN(t,e){if(of(t))return t;if(Rl(t)){let r=Cse(t,e,!1);if(r)return lN(r,e)}}function Sse(t,e){if(of(t))return t;if(Rl(t)){let r=Cse(t,e,!0);if(r)return Sse(r,e)}}function Cse(t,e,r){let n=0,i=t.content.length-1,a;for(;n<=i;){let s=Math.floor((n+i)/2),l=t.content[s];if(l.offset<=e&&l.end>e)return l;l.end<=e?(a=r?l:void 0,n=s+1):i=s-1}return a}function Ase(t,e=!0){for(;t.container;){let r=t.container,n=r.content.indexOf(t);for(;n>0;){n--;let i=r.content[n];if(e||!i.hidden)return i}t=r}}function iBe(t,e=!0){for(;t.container;){let r=t.container,n=r.content.indexOf(t),i=r.content.length-1;for(;n{"use strict";Nl();$s();o(rp,"streamCst");o(rBe,"flattenCst");o(aN,"isChildNode");o(Hm,"tokenToRange");o(np,"toDocumentSegment");(function(t){t[t.Before=0]="Before",t[t.After=1]="After",t[t.OverlapFront=2]="OverlapFront",t[t.OverlapBack=3]="OverlapBack",t[t.Inside=4]="Inside",t[t.Outside=5]="Outside"})(Nc||(Nc={}));o(Ese,"compareRange");o(sN,"inRange");Tk=/^[\w\p{L}]$/u;o(nBe,"findDeclarationNodeAtOffset");o(oN,"findCommentNode");o(iN,"isCommentNode");o(lN,"findLeafNodeAtOffset");o(Sse,"findLeafNodeBeforeOffset");o(Cse,"binarySearch");o(Ase,"getPreviousNode");o(iBe,"getNextNode");o(aBe,"getStartlineNode");o(sBe,"getInteriorNodes");o(oBe,"getCommonParent");o(kse,"getParentChain")});function Mc(t){throw new Error("Error! The input value was not handled.")}var ip,kk=N(()=>{"use strict";ip=class extends Error{static{o(this,"ErrorWithLocation")}constructor(e,r){super(e?`${r} at ${e.range.start.line}:${e.range.start.character}`:r)}};o(Mc,"assertUnreachable")});var Z2={};hr(Z2,{AbstractElement:()=>Ym,AbstractRule:()=>Wm,AbstractType:()=>qm,Action:()=>fg,Alternatives:()=>dg,ArrayLiteral:()=>Xm,ArrayType:()=>jm,Assignment:()=>pg,BooleanLiteral:()=>Km,CharacterRange:()=>mg,Condition:()=>H2,Conjunction:()=>Qm,CrossReference:()=>gg,Disjunction:()=>Zm,EndOfFile:()=>yg,Grammar:()=>Jm,GrammarImport:()=>q2,Group:()=>vg,InferredType:()=>eg,Interface:()=>tg,Keyword:()=>xg,LangiumGrammarAstReflection:()=>Dg,LangiumGrammarTerminals:()=>lBe,NamedArgument:()=>Y2,NegatedToken:()=>bg,Negation:()=>rg,NumberLiteral:()=>ng,Parameter:()=>ig,ParameterReference:()=>ag,ParserRule:()=>sg,ReferenceType:()=>og,RegexToken:()=>Tg,ReturnType:()=>X2,RuleCall:()=>wg,SimpleType:()=>lg,StringLiteral:()=>cg,TerminalAlternatives:()=>kg,TerminalGroup:()=>Eg,TerminalRule:()=>ap,TerminalRuleCall:()=>Sg,Type:()=>ug,TypeAttribute:()=>j2,TypeDefinition:()=>Ek,UnionType:()=>hg,UnorderedGroup:()=>Cg,UntilToken:()=>Ag,ValueLiteral:()=>W2,Wildcard:()=>_g,isAbstractElement:()=>K2,isAbstractRule:()=>cBe,isAbstractType:()=>uBe,isAction:()=>Ou,isAlternatives:()=>_k,isArrayLiteral:()=>mBe,isArrayType:()=>cN,isAssignment:()=>Il,isBooleanLiteral:()=>uN,isCharacterRange:()=>vN,isCondition:()=>hBe,isConjunction:()=>hN,isCrossReference:()=>sp,isDisjunction:()=>fN,isEndOfFile:()=>xN,isFeatureName:()=>fBe,isGrammar:()=>gBe,isGrammarImport:()=>yBe,isGroup:()=>lf,isInferredType:()=>Sk,isInterface:()=>Ck,isKeyword:()=>qo,isNamedArgument:()=>vBe,isNegatedToken:()=>bN,isNegation:()=>dN,isNumberLiteral:()=>xBe,isParameter:()=>bBe,isParameterReference:()=>pN,isParserRule:()=>Ia,isPrimitiveType:()=>_se,isReferenceType:()=>mN,isRegexToken:()=>TN,isReturnType:()=>gN,isRuleCall:()=>Ol,isSimpleType:()=>Ak,isStringLiteral:()=>TBe,isTerminalAlternatives:()=>wN,isTerminalGroup:()=>kN,isTerminalRule:()=>lo,isTerminalRuleCall:()=>Dk,isType:()=>Q2,isTypeAttribute:()=>wBe,isTypeDefinition:()=>dBe,isUnionType:()=>yN,isUnorderedGroup:()=>Lk,isUntilToken:()=>EN,isValueLiteral:()=>pBe,isWildcard:()=>SN,reflection:()=>ur});function cBe(t){return ur.isInstance(t,Wm)}function uBe(t){return ur.isInstance(t,qm)}function hBe(t){return ur.isInstance(t,H2)}function fBe(t){return _se(t)||t==="current"||t==="entry"||t==="extends"||t==="false"||t==="fragment"||t==="grammar"||t==="hidden"||t==="import"||t==="interface"||t==="returns"||t==="terminal"||t==="true"||t==="type"||t==="infer"||t==="infers"||t==="with"||typeof t=="string"&&/\^?[_a-zA-Z][\w_]*/.test(t)}function _se(t){return t==="string"||t==="number"||t==="boolean"||t==="Date"||t==="bigint"}function dBe(t){return ur.isInstance(t,Ek)}function pBe(t){return ur.isInstance(t,W2)}function K2(t){return ur.isInstance(t,Ym)}function mBe(t){return ur.isInstance(t,Xm)}function cN(t){return ur.isInstance(t,jm)}function uN(t){return ur.isInstance(t,Km)}function hN(t){return ur.isInstance(t,Qm)}function fN(t){return ur.isInstance(t,Zm)}function gBe(t){return ur.isInstance(t,Jm)}function yBe(t){return ur.isInstance(t,q2)}function Sk(t){return ur.isInstance(t,eg)}function Ck(t){return ur.isInstance(t,tg)}function vBe(t){return ur.isInstance(t,Y2)}function dN(t){return ur.isInstance(t,rg)}function xBe(t){return ur.isInstance(t,ng)}function bBe(t){return ur.isInstance(t,ig)}function pN(t){return ur.isInstance(t,ag)}function Ia(t){return ur.isInstance(t,sg)}function mN(t){return ur.isInstance(t,og)}function gN(t){return ur.isInstance(t,X2)}function Ak(t){return ur.isInstance(t,lg)}function TBe(t){return ur.isInstance(t,cg)}function lo(t){return ur.isInstance(t,ap)}function Q2(t){return ur.isInstance(t,ug)}function wBe(t){return ur.isInstance(t,j2)}function yN(t){return ur.isInstance(t,hg)}function Ou(t){return ur.isInstance(t,fg)}function _k(t){return ur.isInstance(t,dg)}function Il(t){return ur.isInstance(t,pg)}function vN(t){return ur.isInstance(t,mg)}function sp(t){return ur.isInstance(t,gg)}function xN(t){return ur.isInstance(t,yg)}function lf(t){return ur.isInstance(t,vg)}function qo(t){return ur.isInstance(t,xg)}function bN(t){return ur.isInstance(t,bg)}function TN(t){return ur.isInstance(t,Tg)}function Ol(t){return ur.isInstance(t,wg)}function wN(t){return ur.isInstance(t,kg)}function kN(t){return ur.isInstance(t,Eg)}function Dk(t){return ur.isInstance(t,Sg)}function Lk(t){return ur.isInstance(t,Cg)}function EN(t){return ur.isInstance(t,Ag)}function SN(t){return ur.isInstance(t,_g)}var lBe,Wm,qm,H2,Ek,W2,Ym,Xm,jm,Km,Qm,Zm,Jm,q2,eg,tg,Y2,rg,ng,ig,ag,sg,og,X2,lg,cg,ap,ug,j2,hg,fg,dg,pg,mg,gg,yg,vg,xg,bg,Tg,wg,kg,Eg,Sg,Cg,Ag,_g,Dg,ur,Ic=N(()=>{"use strict";Nl();lBe={ID:/\^?[_a-zA-Z][\w_]*/,STRING:/"(\\.|[^"\\])*"|'(\\.|[^'\\])*'/,NUMBER:/NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity)/,RegexLiteral:/\/(?![*+?])(?:[^\r\n\[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*\])+\/[a-z]*/,WS:/\s+/,ML_COMMENT:/\/\*[\s\S]*?\*\//,SL_COMMENT:/\/\/[^\n\r]*/},Wm="AbstractRule";o(cBe,"isAbstractRule");qm="AbstractType";o(uBe,"isAbstractType");H2="Condition";o(hBe,"isCondition");o(fBe,"isFeatureName");o(_se,"isPrimitiveType");Ek="TypeDefinition";o(dBe,"isTypeDefinition");W2="ValueLiteral";o(pBe,"isValueLiteral");Ym="AbstractElement";o(K2,"isAbstractElement");Xm="ArrayLiteral";o(mBe,"isArrayLiteral");jm="ArrayType";o(cN,"isArrayType");Km="BooleanLiteral";o(uN,"isBooleanLiteral");Qm="Conjunction";o(hN,"isConjunction");Zm="Disjunction";o(fN,"isDisjunction");Jm="Grammar";o(gBe,"isGrammar");q2="GrammarImport";o(yBe,"isGrammarImport");eg="InferredType";o(Sk,"isInferredType");tg="Interface";o(Ck,"isInterface");Y2="NamedArgument";o(vBe,"isNamedArgument");rg="Negation";o(dN,"isNegation");ng="NumberLiteral";o(xBe,"isNumberLiteral");ig="Parameter";o(bBe,"isParameter");ag="ParameterReference";o(pN,"isParameterReference");sg="ParserRule";o(Ia,"isParserRule");og="ReferenceType";o(mN,"isReferenceType");X2="ReturnType";o(gN,"isReturnType");lg="SimpleType";o(Ak,"isSimpleType");cg="StringLiteral";o(TBe,"isStringLiteral");ap="TerminalRule";o(lo,"isTerminalRule");ug="Type";o(Q2,"isType");j2="TypeAttribute";o(wBe,"isTypeAttribute");hg="UnionType";o(yN,"isUnionType");fg="Action";o(Ou,"isAction");dg="Alternatives";o(_k,"isAlternatives");pg="Assignment";o(Il,"isAssignment");mg="CharacterRange";o(vN,"isCharacterRange");gg="CrossReference";o(sp,"isCrossReference");yg="EndOfFile";o(xN,"isEndOfFile");vg="Group";o(lf,"isGroup");xg="Keyword";o(qo,"isKeyword");bg="NegatedToken";o(bN,"isNegatedToken");Tg="RegexToken";o(TN,"isRegexToken");wg="RuleCall";o(Ol,"isRuleCall");kg="TerminalAlternatives";o(wN,"isTerminalAlternatives");Eg="TerminalGroup";o(kN,"isTerminalGroup");Sg="TerminalRuleCall";o(Dk,"isTerminalRuleCall");Cg="UnorderedGroup";o(Lk,"isUnorderedGroup");Ag="UntilToken";o(EN,"isUntilToken");_g="Wildcard";o(SN,"isWildcard");Dg=class extends ep{static{o(this,"LangiumGrammarAstReflection")}getAllTypes(){return[Ym,Wm,qm,fg,dg,Xm,jm,pg,Km,mg,H2,Qm,gg,Zm,yg,Jm,q2,vg,eg,tg,xg,Y2,bg,rg,ng,ig,ag,sg,og,Tg,X2,wg,lg,cg,kg,Eg,ap,Sg,ug,j2,Ek,hg,Cg,Ag,W2,_g]}computeIsSubtype(e,r){switch(e){case fg:case dg:case pg:case mg:case gg:case yg:case vg:case xg:case bg:case Tg:case wg:case kg:case Eg:case Sg:case Cg:case Ag:case _g:return this.isSubtype(Ym,r);case Xm:case ng:case cg:return this.isSubtype(W2,r);case jm:case og:case lg:case hg:return this.isSubtype(Ek,r);case Km:return this.isSubtype(H2,r)||this.isSubtype(W2,r);case Qm:case Zm:case rg:case ag:return this.isSubtype(H2,r);case eg:case tg:case ug:return this.isSubtype(qm,r);case sg:return this.isSubtype(Wm,r)||this.isSubtype(qm,r);case ap:return this.isSubtype(Wm,r);default:return!1}}getReferenceType(e){let r=`${e.container.$type}:${e.property}`;switch(r){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return qm;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return Wm;case"Grammar:usedGrammars":return Jm;case"NamedArgument:parameter":case"ParameterReference:parameter":return ig;case"TerminalRuleCall:rule":return ap;default:throw new Error(`${r} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case Ym:return{name:Ym,properties:[{name:"cardinality"},{name:"lookahead"}]};case Xm:return{name:Xm,properties:[{name:"elements",defaultValue:[]}]};case jm:return{name:jm,properties:[{name:"elementType"}]};case Km:return{name:Km,properties:[{name:"true",defaultValue:!1}]};case Qm:return{name:Qm,properties:[{name:"left"},{name:"right"}]};case Zm:return{name:Zm,properties:[{name:"left"},{name:"right"}]};case Jm:return{name:Jm,properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case q2:return{name:q2,properties:[{name:"path"}]};case eg:return{name:eg,properties:[{name:"name"}]};case tg:return{name:tg,properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case Y2:return{name:Y2,properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case rg:return{name:rg,properties:[{name:"value"}]};case ng:return{name:ng,properties:[{name:"value"}]};case ig:return{name:ig,properties:[{name:"name"}]};case ag:return{name:ag,properties:[{name:"parameter"}]};case sg:return{name:sg,properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case og:return{name:og,properties:[{name:"referenceType"}]};case X2:return{name:X2,properties:[{name:"name"}]};case lg:return{name:lg,properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case cg:return{name:cg,properties:[{name:"value"}]};case ap:return{name:ap,properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case ug:return{name:ug,properties:[{name:"name"},{name:"type"}]};case j2:return{name:j2,properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case hg:return{name:hg,properties:[{name:"types",defaultValue:[]}]};case fg:return{name:fg,properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case dg:return{name:dg,properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case pg:return{name:pg,properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case mg:return{name:mg,properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case gg:return{name:gg,properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case yg:return{name:yg,properties:[{name:"cardinality"},{name:"lookahead"}]};case vg:return{name:vg,properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case xg:return{name:xg,properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case bg:return{name:bg,properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case Tg:return{name:Tg,properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case wg:return{name:wg,properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case kg:return{name:kg,properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case Eg:return{name:Eg,properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case Sg:return{name:Sg,properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case Cg:return{name:Cg,properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case Ag:return{name:Ag,properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case _g:return{name:_g,properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}},ur=new Dg});var Nk={};hr(Nk,{assignMandatoryProperties:()=>_N,copyAstNode:()=>AN,findLocalReferences:()=>EBe,findRootNode:()=>J2,getContainerOfType:()=>op,getDocument:()=>Oa,hasContainerOfType:()=>kBe,linkContentToContainer:()=>Rk,streamAllContents:()=>Oc,streamAst:()=>Yo,streamContents:()=>ex,streamReferences:()=>Lg});function Rk(t){for(let[e,r]of Object.entries(t))e.startsWith("$")||(Array.isArray(r)?r.forEach((n,i)=>{si(n)&&(n.$container=t,n.$containerProperty=e,n.$containerIndex=i)}):si(r)&&(r.$container=t,r.$containerProperty=e))}function op(t,e){let r=t;for(;r;){if(e(r))return r;r=r.$container}}function kBe(t,e){let r=t;for(;r;){if(e(r))return!0;r=r.$container}return!1}function Oa(t){let r=J2(t).$document;if(!r)throw new Error("AST node has no document.");return r}function J2(t){for(;t.$container;)t=t.$container;return t}function ex(t,e){if(!t)throw new Error("Node must be an AstNode.");let r=e?.range;return new oo(()=>({keys:Object.keys(t),keyIndex:0,arrayIndex:0}),n=>{for(;n.keyIndexex(r,e))}function Yo(t,e){if(t){if(e?.range&&!CN(t,e.range))return new Rc(t,()=>[])}else throw new Error("Root node must be an AstNode.");return new Rc(t,r=>ex(r,e),{includeRoot:!0})}function CN(t,e){var r;if(!e)return!0;let n=(r=t.$cstNode)===null||r===void 0?void 0:r.range;return n?sN(n,e):!1}function Lg(t){return new oo(()=>({keys:Object.keys(t),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndex{Lg(n).forEach(i=>{i.reference.ref===t&&r.push(i.reference)})}),Jr(r)}function _N(t,e){let r=t.getTypeMetaData(e.$type),n=e;for(let i of r.properties)i.defaultValue!==void 0&&n[i.name]===void 0&&(n[i.name]=Dse(i.defaultValue))}function Dse(t){return Array.isArray(t)?[...t.map(Dse)]:t}function AN(t,e){let r={$type:t.$type};for(let[n,i]of Object.entries(t))if(!n.startsWith("$"))if(si(i))r[n]=AN(i,e);else if(ma(i))r[n]=e(r,n,i.$refNode,i.$refText);else if(Array.isArray(i)){let a=[];for(let s of i)si(s)?a.push(AN(s,e)):ma(s)?a.push(e(r,n,s.$refNode,s.$refText)):a.push(s);r[n]=a}else r[n]=i;return Rk(r),r}var as=N(()=>{"use strict";Nl();$s();Ml();o(Rk,"linkContentToContainer");o(op,"getContainerOfType");o(kBe,"hasContainerOfType");o(Oa,"getDocument");o(J2,"findRootNode");o(ex,"streamContents");o(Oc,"streamAllContents");o(Yo,"streamAst");o(CN,"isAstNodeInRange");o(Lg,"streamReferences");o(EBe,"findLocalReferences");o(_N,"assignMandatoryProperties");o(Dse,"copyDefaultValue");o(AN,"copyAstNode")});function or(t){return t.charCodeAt(0)}function Mk(t,e){Array.isArray(t)?t.forEach(function(r){e.push(r)}):e.push(t)}function Rg(t,e){if(t[e]===!0)throw"duplicate flag "+e;let r=t[e];t[e]=!0}function lp(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function tx(){throw Error("Internal Error - Should never get here!")}function DN(t){return t.type==="Character"}var LN=N(()=>{"use strict";o(or,"cc");o(Mk,"insertToSet");o(Rg,"addFlag");o(lp,"ASSERT_EXISTS");o(tx,"ASSERT_NEVER_REACH_HERE");o(DN,"isCharacter")});var rx,nx,RN,Lse=N(()=>{"use strict";LN();rx=[];for(let t=or("0");t<=or("9");t++)rx.push(t);nx=[or("_")].concat(rx);for(let t=or("a");t<=or("z");t++)nx.push(t);for(let t=or("A");t<=or("Z");t++)nx.push(t);RN=[or(" "),or("\f"),or(` -`),or("\r"),or(" "),or("\v"),or(" "),or("\xA0"),or("\u1680"),or("\u2000"),or("\u2001"),or("\u2002"),or("\u2003"),or("\u2004"),or("\u2005"),or("\u2006"),or("\u2007"),or("\u2008"),or("\u2009"),or("\u200A"),or("\u2028"),or("\u2029"),or("\u202F"),or("\u205F"),or("\u3000"),or("\uFEFF")]});var SBe,Ik,CBe,cp,Rse=N(()=>{"use strict";LN();Lse();SBe=/[0-9a-fA-F]/,Ik=/[0-9]/,CBe=/[1-9]/,cp=class{static{o(this,"RegExpParser")}constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(e){this.idx=e.idx,this.input=e.input,this.groupIdx=e.groupIdx}pattern(e){this.idx=0,this.input=e,this.groupIdx=0,this.consumeChar("/");let r=this.disjunction();this.consumeChar("/");let n={type:"Flags",loc:{begin:this.idx,end:e.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":Rg(n,"global");break;case"i":Rg(n,"ignoreCase");break;case"m":Rg(n,"multiLine");break;case"u":Rg(n,"unicode");break;case"y":Rg(n,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:n,value:r,loc:this.loc(0)}}disjunction(){let e=[],r=this.idx;for(e.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),e.push(this.alternative());return{type:"Disjunction",value:e,loc:this.loc(r)}}alternative(){let e=[],r=this.idx;for(;this.isTerm();)e.push(this.term());return{type:"Alternative",value:e,loc:this.loc(r)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){let e=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(e)};case"$":return{type:"EndAnchor",loc:this.loc(e)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(e)};case"B":return{type:"NonWordBoundary",loc:this.loc(e)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");let r;switch(this.popChar()){case"=":r="Lookahead";break;case"!":r="NegativeLookahead";break}lp(r);let n=this.disjunction();return this.consumeChar(")"),{type:r,value:n,loc:this.loc(e)}}return tx()}quantifier(e=!1){let r,n=this.idx;switch(this.popChar()){case"*":r={atLeast:0,atMost:1/0};break;case"+":r={atLeast:1,atMost:1/0};break;case"?":r={atLeast:0,atMost:1};break;case"{":let i=this.integerIncludingZero();switch(this.popChar()){case"}":r={atLeast:i,atMost:i};break;case",":let a;this.isDigit()?(a=this.integerIncludingZero(),r={atLeast:i,atMost:a}):r={atLeast:i,atMost:1/0},this.consumeChar("}");break}if(e===!0&&r===void 0)return;lp(r);break}if(!(e===!0&&r===void 0)&&lp(r))return this.peekChar(0)==="?"?(this.consumeChar("?"),r.greedy=!1):r.greedy=!0,r.type="Quantifier",r.loc=this.loc(n),r}atom(){let e,r=this.idx;switch(this.peekChar()){case".":e=this.dotAll();break;case"\\":e=this.atomEscape();break;case"[":e=this.characterClass();break;case"(":e=this.group();break}return e===void 0&&this.isPatternCharacter()&&(e=this.patternCharacter()),lp(e)?(e.loc=this.loc(r),this.isQuantifier()&&(e.quantifier=this.quantifier()),e):tx()}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[or(` -`),or("\r"),or("\u2028"),or("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let e,r=!1;switch(this.popChar()){case"d":e=rx;break;case"D":e=rx,r=!0;break;case"s":e=RN;break;case"S":e=RN,r=!0;break;case"w":e=nx;break;case"W":e=nx,r=!0;break}return lp(e)?{type:"Set",value:e,complement:r}:tx()}controlEscapeAtom(){let e;switch(this.popChar()){case"f":e=or("\f");break;case"n":e=or(` -`);break;case"r":e=or("\r");break;case"t":e=or(" ");break;case"v":e=or("\v");break}return lp(e)?{type:"Character",value:e}:tx()}controlLetterEscapeAtom(){this.consumeChar("c");let e=this.popChar();if(/[a-zA-Z]/.test(e)===!1)throw Error("Invalid ");return{type:"Character",value:e.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:or("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){let e=this.popChar();return{type:"Character",value:or(e)}}classPatternCharacterAtom(){switch(this.peekChar()){case` -`:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:let e=this.popChar();return{type:"Character",value:or(e)}}}characterClass(){let e=[],r=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),r=!0);this.isClassAtom();){let n=this.classAtom(),i=n.type==="Character";if(DN(n)&&this.isRangeDash()){this.consumeChar("-");let a=this.classAtom(),s=a.type==="Character";if(DN(a)){if(a.valueuWe});var uWe,eue=N(()=>{"use strict";Xce();jce();Kce();Zce();uWe={parser:Yce,get db(){return new kE},renderer:bM,styles:Qce}});function ci(t){return typeof t=="object"&&t!==null&&typeof t.$type=="string"}function ba(t){return typeof t=="object"&&t!==null&&typeof t.$refText=="string"}function TM(t){return typeof t=="object"&&t!==null&&typeof t.name=="string"&&typeof t.type=="string"&&typeof t.path=="string"}function Ep(t){return typeof t=="object"&&t!==null&&ci(t.container)&&ba(t.reference)&&typeof t.message=="string"}function Ol(t){return typeof t=="object"&&t!==null&&Array.isArray(t.content)}function Df(t){return typeof t=="object"&&t!==null&&typeof t.tokenType=="object"}function Lx(t){return Ol(t)&&typeof t.fullText=="string"}var kp,Pl=N(()=>{"use strict";o(ci,"isAstNode");o(ba,"isReference");o(TM,"isAstNodeDescription");o(Ep,"isLinkingError");kp=class{static{o(this,"AbstractAstReflection")}constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,r){return ci(e)&&this.isSubtype(e.$type,r)}isSubtype(e,r){if(e===r)return!0;let n=this.subtypes[e];n||(n=this.subtypes[e]={});let i=n[r];if(i!==void 0)return i;{let a=this.computeIsSubtype(e,r);return n[r]=a,a}}getAllSubTypes(e){let r=this.allSubtypes[e];if(r)return r;{let n=this.getAllTypes(),i=[];for(let a of n)this.isSubtype(a,e)&&i.push(a);return this.allSubtypes[e]=i,i}}};o(Ol,"isCompositeCstNode");o(Df,"isLeafCstNode");o(Lx,"isRootCstNode")});function pWe(t){return typeof t=="string"?t:typeof t>"u"?"undefined":typeof t.toString=="function"?t.toString():Object.prototype.toString.call(t)}function EE(t){return!!t&&typeof t[Symbol.iterator]=="function"}function en(...t){if(t.length===1){let e=t[0];if(e instanceof fo)return e;if(EE(e))return new fo(()=>e[Symbol.iterator](),r=>r.next());if(typeof e.length=="number")return new fo(()=>({index:0}),r=>r.index1?new fo(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){let r=e.iterator.next();if(!r.done)return r;e.iterator=void 0}if(e.array){if(e.arrIndex{"use strict";fo=class t{static{o(this,"StreamImpl")}constructor(e,r){this.startFn=e,this.nextFn=r}iterator(){let e={state:this.startFn(),next:o(()=>this.nextFn(e.state),"next"),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){let e=this.iterator(),r=0,n=e.next();for(;!n.done;)r++,n=e.next();return r}toArray(){let e=[],r=this.iterator(),n;do n=r.next(),n.value!==void 0&&e.push(n.value);while(!n.done);return e}toSet(){return new Set(this)}toMap(e,r){let n=this.map(i=>[e?e(i):i,r?r(i):i]);return new Map(n)}toString(){return this.join()}concat(e){return new t(()=>({first:this.startFn(),firstDone:!1,iterator:e[Symbol.iterator]()}),r=>{let n;if(!r.firstDone){do if(n=this.nextFn(r.first),!n.done)return n;while(!n.done);r.firstDone=!0}do if(n=r.iterator.next(),!n.done)return n;while(!n.done);return Ga})}join(e=","){let r=this.iterator(),n="",i,a=!1;do i=r.next(),i.done||(a&&(n+=e),n+=pWe(i.value)),a=!0;while(!i.done);return n}indexOf(e,r=0){let n=this.iterator(),i=0,a=n.next();for(;!a.done;){if(i>=r&&a.value===e)return i;a=n.next(),i++}return-1}every(e){let r=this.iterator(),n=r.next();for(;!n.done;){if(!e(n.value))return!1;n=r.next()}return!0}some(e){let r=this.iterator(),n=r.next();for(;!n.done;){if(e(n.value))return!0;n=r.next()}return!1}forEach(e){let r=this.iterator(),n=0,i=r.next();for(;!i.done;)e(i.value,n),i=r.next(),n++}map(e){return new t(this.startFn,r=>{let{done:n,value:i}=this.nextFn(r);return n?Ga:{done:!1,value:e(i)}})}filter(e){return new t(this.startFn,r=>{let n;do if(n=this.nextFn(r),!n.done&&e(n.value))return n;while(!n.done);return Ga})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,r){let n=this.iterator(),i=r,a=n.next();for(;!a.done;)i===void 0?i=a.value:i=e(i,a.value),a=n.next();return i}reduceRight(e,r){return this.recursiveReduce(this.iterator(),e,r)}recursiveReduce(e,r,n){let i=e.next();if(i.done)return n;let a=this.recursiveReduce(e,r,n);return a===void 0?i.value:r(a,i.value)}find(e){let r=this.iterator(),n=r.next();for(;!n.done;){if(e(n.value))return n.value;n=r.next()}}findIndex(e){let r=this.iterator(),n=0,i=r.next();for(;!i.done;){if(e(i.value))return n;i=r.next(),n++}return-1}includes(e){let r=this.iterator(),n=r.next();for(;!n.done;){if(n.value===e)return!0;n=r.next()}return!1}flatMap(e){return new t(()=>({this:this.startFn()}),r=>{do{if(r.iterator){let a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}let{done:n,value:i}=this.nextFn(r.this);if(!n){let a=e(i);if(EE(a))r.iterator=a[Symbol.iterator]();else return{done:!1,value:a}}}while(r.iterator);return Ga})}flat(e){if(e===void 0&&(e=1),e<=0)return this;let r=e>1?this.flat(e-1):this;return new t(()=>({this:r.startFn()}),n=>{do{if(n.iterator){let s=n.iterator.next();if(s.done)n.iterator=void 0;else return s}let{done:i,value:a}=r.nextFn(n.this);if(!i)if(EE(a))n.iterator=a[Symbol.iterator]();else return{done:!1,value:a}}while(n.iterator);return Ga})}head(){let r=this.iterator().next();if(!r.done)return r.value}tail(e=1){return new t(()=>{let r=this.startFn();for(let n=0;n({size:0,state:this.startFn()}),r=>(r.size++,r.size>e?Ga:this.nextFn(r.state)))}distinct(e){return new t(()=>({set:new Set,internalState:this.startFn()}),r=>{let n;do if(n=this.nextFn(r.internalState),!n.done){let i=e?e(n.value):n.value;if(!r.set.has(i))return r.set.add(i),n}while(!n.done);return Ga})}exclude(e,r){let n=new Set;for(let i of e){let a=r?r(i):i;n.add(a)}return this.filter(i=>{let a=r?r(i):i;return!n.has(a)})}};o(pWe,"toString");o(EE,"isIterable");Rx=new fo(()=>{},()=>Ga),Ga=Object.freeze({done:!0,value:void 0});o(en,"stream");$c=class extends fo{static{o(this,"TreeStreamImpl")}constructor(e,r,n){super(()=>({iterators:n?.includeRoot?[[e][Symbol.iterator]()]:[r(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){let s=i.iterators[i.iterators.length-1].next();if(s.done)i.iterators.pop();else return i.iterators.push(r(s.value)[Symbol.iterator]()),s}return Ga})}iterator(){let e={state:this.startFn(),next:o(()=>this.nextFn(e.state),"next"),prune:o(()=>{e.state.pruned=!0},"prune"),[Symbol.iterator]:()=>e};return e}};(function(t){function e(a){return a.reduce((s,l)=>s+l,0)}o(e,"sum"),t.sum=e;function r(a){return a.reduce((s,l)=>s*l,0)}o(r,"product"),t.product=r;function n(a){return a.reduce((s,l)=>Math.min(s,l))}o(n,"min"),t.min=n;function i(a){return a.reduce((s,l)=>Math.max(s,l))}o(i,"max"),t.max=i})(gg||(gg={}))});var CE={};ur(CE,{DefaultNameRegexp:()=>SE,RangeComparison:()=>Gc,compareRange:()=>iue,findCommentNode:()=>SM,findDeclarationNodeAtOffset:()=>gWe,findLeafNodeAtOffset:()=>CM,findLeafNodeBeforeOffset:()=>aue,flattenCst:()=>mWe,getInteriorNodes:()=>xWe,getNextNode:()=>yWe,getPreviousNode:()=>oue,getStartlineNode:()=>vWe,inRange:()=>EM,isChildNode:()=>kM,isCommentNode:()=>wM,streamCst:()=>Sp,toDocumentSegment:()=>Cp,tokenToRange:()=>yg});function Sp(t){return new $c(t,e=>Ol(e)?e.content:[],{includeRoot:!0})}function mWe(t){return Sp(t).filter(Df)}function kM(t,e){for(;t.container;)if(t=t.container,t===e)return!0;return!1}function yg(t){return{start:{character:t.startColumn-1,line:t.startLine-1},end:{character:t.endColumn,line:t.endLine-1}}}function Cp(t){if(!t)return;let{offset:e,end:r,range:n}=t;return{range:n,offset:e,end:r,length:r-e}}function iue(t,e){if(t.end.linee.end.line||t.start.line===e.end.line&&t.start.character>=e.end.character)return Gc.After;let r=t.start.line>e.start.line||t.start.line===e.start.line&&t.start.character>=e.start.character,n=t.end.lineGc.After}function gWe(t,e,r=SE){if(t){if(e>0){let n=e-t.offset,i=t.text.charAt(n);r.test(i)||e--}return CM(t,e)}}function SM(t,e){if(t){let r=oue(t,!0);if(r&&wM(r,e))return r;if(Lx(t)){let n=t.content.findIndex(i=>!i.hidden);for(let i=n-1;i>=0;i--){let a=t.content[i];if(wM(a,e))return a}}}}function wM(t,e){return Df(t)&&e.includes(t.tokenType.name)}function CM(t,e){if(Df(t))return t;if(Ol(t)){let r=sue(t,e,!1);if(r)return CM(r,e)}}function aue(t,e){if(Df(t))return t;if(Ol(t)){let r=sue(t,e,!0);if(r)return aue(r,e)}}function sue(t,e,r){let n=0,i=t.content.length-1,a;for(;n<=i;){let s=Math.floor((n+i)/2),l=t.content[s];if(l.offset<=e&&l.end>e)return l;l.end<=e?(a=r?l:void 0,n=s+1):i=s-1}return a}function oue(t,e=!0){for(;t.container;){let r=t.container,n=r.content.indexOf(t);for(;n>0;){n--;let i=r.content[n];if(e||!i.hidden)return i}t=r}}function yWe(t,e=!0){for(;t.container;){let r=t.container,n=r.content.indexOf(t),i=r.content.length-1;for(;n{"use strict";Pl();Ws();o(Sp,"streamCst");o(mWe,"flattenCst");o(kM,"isChildNode");o(yg,"tokenToRange");o(Cp,"toDocumentSegment");(function(t){t[t.Before=0]="Before",t[t.After=1]="After",t[t.OverlapFront=2]="OverlapFront",t[t.OverlapBack=3]="OverlapBack",t[t.Inside=4]="Inside",t[t.Outside=5]="Outside"})(Gc||(Gc={}));o(iue,"compareRange");o(EM,"inRange");SE=/^[\w\p{L}]$/u;o(gWe,"findDeclarationNodeAtOffset");o(SM,"findCommentNode");o(wM,"isCommentNode");o(CM,"findLeafNodeAtOffset");o(aue,"findLeafNodeBeforeOffset");o(sue,"binarySearch");o(oue,"getPreviousNode");o(yWe,"getNextNode");o(vWe,"getStartlineNode");o(xWe,"getInteriorNodes");o(bWe,"getCommonParent");o(nue,"getParentChain")});function zc(t){throw new Error("Error! The input value was not handled.")}var Ap,AE=N(()=>{"use strict";Ap=class extends Error{static{o(this,"ErrorWithLocation")}constructor(e,r){super(e?`${r} at ${e.range.start.line}:${e.range.start.character}`:r)}};o(zc,"assertUnreachable")});var Gx={};ur(Gx,{AbstractElement:()=>bg,AbstractRule:()=>vg,AbstractType:()=>xg,Action:()=>$g,Alternatives:()=>Gg,ArrayLiteral:()=>Tg,ArrayType:()=>wg,Assignment:()=>zg,BooleanLiteral:()=>kg,CharacterRange:()=>Vg,Condition:()=>Nx,Conjunction:()=>Eg,CrossReference:()=>Ug,Disjunction:()=>Sg,EndOfFile:()=>Hg,Grammar:()=>Cg,GrammarImport:()=>Ix,Group:()=>Wg,InferredType:()=>Ag,Interface:()=>_g,Keyword:()=>qg,LangiumGrammarAstReflection:()=>r1,LangiumGrammarTerminals:()=>TWe,NamedArgument:()=>Ox,NegatedToken:()=>Yg,Negation:()=>Dg,NumberLiteral:()=>Lg,Parameter:()=>Rg,ParameterReference:()=>Ng,ParserRule:()=>Mg,ReferenceType:()=>Ig,RegexToken:()=>Xg,ReturnType:()=>Px,RuleCall:()=>jg,SimpleType:()=>Og,StringLiteral:()=>Pg,TerminalAlternatives:()=>Kg,TerminalGroup:()=>Qg,TerminalRule:()=>_p,TerminalRuleCall:()=>Zg,Type:()=>Bg,TypeAttribute:()=>Bx,TypeDefinition:()=>_E,UnionType:()=>Fg,UnorderedGroup:()=>Jg,UntilToken:()=>e1,ValueLiteral:()=>Mx,Wildcard:()=>t1,isAbstractElement:()=>Fx,isAbstractRule:()=>wWe,isAbstractType:()=>kWe,isAction:()=>Vu,isAlternatives:()=>NE,isArrayLiteral:()=>_We,isArrayType:()=>AM,isAssignment:()=>Fl,isBooleanLiteral:()=>_M,isCharacterRange:()=>PM,isCondition:()=>EWe,isConjunction:()=>DM,isCrossReference:()=>Dp,isDisjunction:()=>LM,isEndOfFile:()=>BM,isFeatureName:()=>SWe,isGrammar:()=>DWe,isGrammarImport:()=>LWe,isGroup:()=>Lf,isInferredType:()=>DE,isInterface:()=>LE,isKeyword:()=>Zo,isNamedArgument:()=>RWe,isNegatedToken:()=>FM,isNegation:()=>RM,isNumberLiteral:()=>NWe,isParameter:()=>MWe,isParameterReference:()=>NM,isParserRule:()=>za,isPrimitiveType:()=>lue,isReferenceType:()=>MM,isRegexToken:()=>$M,isReturnType:()=>IM,isRuleCall:()=>$l,isSimpleType:()=>RE,isStringLiteral:()=>IWe,isTerminalAlternatives:()=>GM,isTerminalGroup:()=>zM,isTerminalRule:()=>po,isTerminalRuleCall:()=>ME,isType:()=>$x,isTypeAttribute:()=>OWe,isTypeDefinition:()=>CWe,isUnionType:()=>OM,isUnorderedGroup:()=>IE,isUntilToken:()=>VM,isValueLiteral:()=>AWe,isWildcard:()=>UM,reflection:()=>hr});function wWe(t){return hr.isInstance(t,vg)}function kWe(t){return hr.isInstance(t,xg)}function EWe(t){return hr.isInstance(t,Nx)}function SWe(t){return lue(t)||t==="current"||t==="entry"||t==="extends"||t==="false"||t==="fragment"||t==="grammar"||t==="hidden"||t==="import"||t==="interface"||t==="returns"||t==="terminal"||t==="true"||t==="type"||t==="infer"||t==="infers"||t==="with"||typeof t=="string"&&/\^?[_a-zA-Z][\w_]*/.test(t)}function lue(t){return t==="string"||t==="number"||t==="boolean"||t==="Date"||t==="bigint"}function CWe(t){return hr.isInstance(t,_E)}function AWe(t){return hr.isInstance(t,Mx)}function Fx(t){return hr.isInstance(t,bg)}function _We(t){return hr.isInstance(t,Tg)}function AM(t){return hr.isInstance(t,wg)}function _M(t){return hr.isInstance(t,kg)}function DM(t){return hr.isInstance(t,Eg)}function LM(t){return hr.isInstance(t,Sg)}function DWe(t){return hr.isInstance(t,Cg)}function LWe(t){return hr.isInstance(t,Ix)}function DE(t){return hr.isInstance(t,Ag)}function LE(t){return hr.isInstance(t,_g)}function RWe(t){return hr.isInstance(t,Ox)}function RM(t){return hr.isInstance(t,Dg)}function NWe(t){return hr.isInstance(t,Lg)}function MWe(t){return hr.isInstance(t,Rg)}function NM(t){return hr.isInstance(t,Ng)}function za(t){return hr.isInstance(t,Mg)}function MM(t){return hr.isInstance(t,Ig)}function IM(t){return hr.isInstance(t,Px)}function RE(t){return hr.isInstance(t,Og)}function IWe(t){return hr.isInstance(t,Pg)}function po(t){return hr.isInstance(t,_p)}function $x(t){return hr.isInstance(t,Bg)}function OWe(t){return hr.isInstance(t,Bx)}function OM(t){return hr.isInstance(t,Fg)}function Vu(t){return hr.isInstance(t,$g)}function NE(t){return hr.isInstance(t,Gg)}function Fl(t){return hr.isInstance(t,zg)}function PM(t){return hr.isInstance(t,Vg)}function Dp(t){return hr.isInstance(t,Ug)}function BM(t){return hr.isInstance(t,Hg)}function Lf(t){return hr.isInstance(t,Wg)}function Zo(t){return hr.isInstance(t,qg)}function FM(t){return hr.isInstance(t,Yg)}function $M(t){return hr.isInstance(t,Xg)}function $l(t){return hr.isInstance(t,jg)}function GM(t){return hr.isInstance(t,Kg)}function zM(t){return hr.isInstance(t,Qg)}function ME(t){return hr.isInstance(t,Zg)}function IE(t){return hr.isInstance(t,Jg)}function VM(t){return hr.isInstance(t,e1)}function UM(t){return hr.isInstance(t,t1)}var TWe,vg,xg,Nx,_E,Mx,bg,Tg,wg,kg,Eg,Sg,Cg,Ix,Ag,_g,Ox,Dg,Lg,Rg,Ng,Mg,Ig,Px,Og,Pg,_p,Bg,Bx,Fg,$g,Gg,zg,Vg,Ug,Hg,Wg,qg,Yg,Xg,jg,Kg,Qg,Zg,Jg,e1,t1,r1,hr,Vc=N(()=>{"use strict";Pl();TWe={ID:/\^?[_a-zA-Z][\w_]*/,STRING:/"(\\.|[^"\\])*"|'(\\.|[^'\\])*'/,NUMBER:/NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity)/,RegexLiteral:/\/(?![*+?])(?:[^\r\n\[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*\])+\/[a-z]*/,WS:/\s+/,ML_COMMENT:/\/\*[\s\S]*?\*\//,SL_COMMENT:/\/\/[^\n\r]*/},vg="AbstractRule";o(wWe,"isAbstractRule");xg="AbstractType";o(kWe,"isAbstractType");Nx="Condition";o(EWe,"isCondition");o(SWe,"isFeatureName");o(lue,"isPrimitiveType");_E="TypeDefinition";o(CWe,"isTypeDefinition");Mx="ValueLiteral";o(AWe,"isValueLiteral");bg="AbstractElement";o(Fx,"isAbstractElement");Tg="ArrayLiteral";o(_We,"isArrayLiteral");wg="ArrayType";o(AM,"isArrayType");kg="BooleanLiteral";o(_M,"isBooleanLiteral");Eg="Conjunction";o(DM,"isConjunction");Sg="Disjunction";o(LM,"isDisjunction");Cg="Grammar";o(DWe,"isGrammar");Ix="GrammarImport";o(LWe,"isGrammarImport");Ag="InferredType";o(DE,"isInferredType");_g="Interface";o(LE,"isInterface");Ox="NamedArgument";o(RWe,"isNamedArgument");Dg="Negation";o(RM,"isNegation");Lg="NumberLiteral";o(NWe,"isNumberLiteral");Rg="Parameter";o(MWe,"isParameter");Ng="ParameterReference";o(NM,"isParameterReference");Mg="ParserRule";o(za,"isParserRule");Ig="ReferenceType";o(MM,"isReferenceType");Px="ReturnType";o(IM,"isReturnType");Og="SimpleType";o(RE,"isSimpleType");Pg="StringLiteral";o(IWe,"isStringLiteral");_p="TerminalRule";o(po,"isTerminalRule");Bg="Type";o($x,"isType");Bx="TypeAttribute";o(OWe,"isTypeAttribute");Fg="UnionType";o(OM,"isUnionType");$g="Action";o(Vu,"isAction");Gg="Alternatives";o(NE,"isAlternatives");zg="Assignment";o(Fl,"isAssignment");Vg="CharacterRange";o(PM,"isCharacterRange");Ug="CrossReference";o(Dp,"isCrossReference");Hg="EndOfFile";o(BM,"isEndOfFile");Wg="Group";o(Lf,"isGroup");qg="Keyword";o(Zo,"isKeyword");Yg="NegatedToken";o(FM,"isNegatedToken");Xg="RegexToken";o($M,"isRegexToken");jg="RuleCall";o($l,"isRuleCall");Kg="TerminalAlternatives";o(GM,"isTerminalAlternatives");Qg="TerminalGroup";o(zM,"isTerminalGroup");Zg="TerminalRuleCall";o(ME,"isTerminalRuleCall");Jg="UnorderedGroup";o(IE,"isUnorderedGroup");e1="UntilToken";o(VM,"isUntilToken");t1="Wildcard";o(UM,"isWildcard");r1=class extends kp{static{o(this,"LangiumGrammarAstReflection")}getAllTypes(){return[bg,vg,xg,$g,Gg,Tg,wg,zg,kg,Vg,Nx,Eg,Ug,Sg,Hg,Cg,Ix,Wg,Ag,_g,qg,Ox,Yg,Dg,Lg,Rg,Ng,Mg,Ig,Xg,Px,jg,Og,Pg,Kg,Qg,_p,Zg,Bg,Bx,_E,Fg,Jg,e1,Mx,t1]}computeIsSubtype(e,r){switch(e){case $g:case Gg:case zg:case Vg:case Ug:case Hg:case Wg:case qg:case Yg:case Xg:case jg:case Kg:case Qg:case Zg:case Jg:case e1:case t1:return this.isSubtype(bg,r);case Tg:case Lg:case Pg:return this.isSubtype(Mx,r);case wg:case Ig:case Og:case Fg:return this.isSubtype(_E,r);case kg:return this.isSubtype(Nx,r)||this.isSubtype(Mx,r);case Eg:case Sg:case Dg:case Ng:return this.isSubtype(Nx,r);case Ag:case _g:case Bg:return this.isSubtype(xg,r);case Mg:return this.isSubtype(vg,r)||this.isSubtype(xg,r);case _p:return this.isSubtype(vg,r);default:return!1}}getReferenceType(e){let r=`${e.container.$type}:${e.property}`;switch(r){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return xg;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return vg;case"Grammar:usedGrammars":return Cg;case"NamedArgument:parameter":case"ParameterReference:parameter":return Rg;case"TerminalRuleCall:rule":return _p;default:throw new Error(`${r} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case bg:return{name:bg,properties:[{name:"cardinality"},{name:"lookahead"}]};case Tg:return{name:Tg,properties:[{name:"elements",defaultValue:[]}]};case wg:return{name:wg,properties:[{name:"elementType"}]};case kg:return{name:kg,properties:[{name:"true",defaultValue:!1}]};case Eg:return{name:Eg,properties:[{name:"left"},{name:"right"}]};case Sg:return{name:Sg,properties:[{name:"left"},{name:"right"}]};case Cg:return{name:Cg,properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case Ix:return{name:Ix,properties:[{name:"path"}]};case Ag:return{name:Ag,properties:[{name:"name"}]};case _g:return{name:_g,properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case Ox:return{name:Ox,properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case Dg:return{name:Dg,properties:[{name:"value"}]};case Lg:return{name:Lg,properties:[{name:"value"}]};case Rg:return{name:Rg,properties:[{name:"name"}]};case Ng:return{name:Ng,properties:[{name:"parameter"}]};case Mg:return{name:Mg,properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case Ig:return{name:Ig,properties:[{name:"referenceType"}]};case Px:return{name:Px,properties:[{name:"name"}]};case Og:return{name:Og,properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case Pg:return{name:Pg,properties:[{name:"value"}]};case _p:return{name:_p,properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case Bg:return{name:Bg,properties:[{name:"name"},{name:"type"}]};case Bx:return{name:Bx,properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case Fg:return{name:Fg,properties:[{name:"types",defaultValue:[]}]};case $g:return{name:$g,properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case Gg:return{name:Gg,properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case zg:return{name:zg,properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case Vg:return{name:Vg,properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case Ug:return{name:Ug,properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case Hg:return{name:Hg,properties:[{name:"cardinality"},{name:"lookahead"}]};case Wg:return{name:Wg,properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case qg:return{name:qg,properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case Yg:return{name:Yg,properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case Xg:return{name:Xg,properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case jg:return{name:jg,properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case Kg:return{name:Kg,properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case Qg:return{name:Qg,properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case Zg:return{name:Zg,properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case Jg:return{name:Jg,properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case e1:return{name:e1,properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case t1:return{name:t1,properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}},hr=new r1});var PE={};ur(PE,{assignMandatoryProperties:()=>qM,copyAstNode:()=>WM,findLocalReferences:()=>BWe,findRootNode:()=>zx,getContainerOfType:()=>Lp,getDocument:()=>Va,hasContainerOfType:()=>PWe,linkContentToContainer:()=>OE,streamAllContents:()=>Uc,streamAst:()=>Jo,streamContents:()=>Vx,streamReferences:()=>n1});function OE(t){for(let[e,r]of Object.entries(t))e.startsWith("$")||(Array.isArray(r)?r.forEach((n,i)=>{ci(n)&&(n.$container=t,n.$containerProperty=e,n.$containerIndex=i)}):ci(r)&&(r.$container=t,r.$containerProperty=e))}function Lp(t,e){let r=t;for(;r;){if(e(r))return r;r=r.$container}}function PWe(t,e){let r=t;for(;r;){if(e(r))return!0;r=r.$container}return!1}function Va(t){let r=zx(t).$document;if(!r)throw new Error("AST node has no document.");return r}function zx(t){for(;t.$container;)t=t.$container;return t}function Vx(t,e){if(!t)throw new Error("Node must be an AstNode.");let r=e?.range;return new fo(()=>({keys:Object.keys(t),keyIndex:0,arrayIndex:0}),n=>{for(;n.keyIndexVx(r,e))}function Jo(t,e){if(t){if(e?.range&&!HM(t,e.range))return new $c(t,()=>[])}else throw new Error("Root node must be an AstNode.");return new $c(t,r=>Vx(r,e),{includeRoot:!0})}function HM(t,e){var r;if(!e)return!0;let n=(r=t.$cstNode)===null||r===void 0?void 0:r.range;return n?EM(n,e):!1}function n1(t){return new fo(()=>({keys:Object.keys(t),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndex{n1(n).forEach(i=>{i.reference.ref===t&&r.push(i.reference)})}),en(r)}function qM(t,e){let r=t.getTypeMetaData(e.$type),n=e;for(let i of r.properties)i.defaultValue!==void 0&&n[i.name]===void 0&&(n[i.name]=cue(i.defaultValue))}function cue(t){return Array.isArray(t)?[...t.map(cue)]:t}function WM(t,e){let r={$type:t.$type};for(let[n,i]of Object.entries(t))if(!n.startsWith("$"))if(ci(i))r[n]=WM(i,e);else if(ba(i))r[n]=e(r,n,i.$refNode,i.$refText);else if(Array.isArray(i)){let a=[];for(let s of i)ci(s)?a.push(WM(s,e)):ba(s)?a.push(e(r,n,s.$refNode,s.$refText)):a.push(s);r[n]=a}else r[n]=i;return OE(r),r}var us=N(()=>{"use strict";Pl();Ws();Bl();o(OE,"linkContentToContainer");o(Lp,"getContainerOfType");o(PWe,"hasContainerOfType");o(Va,"getDocument");o(zx,"findRootNode");o(Vx,"streamContents");o(Uc,"streamAllContents");o(Jo,"streamAst");o(HM,"isAstNodeInRange");o(n1,"streamReferences");o(BWe,"findLocalReferences");o(qM,"assignMandatoryProperties");o(cue,"copyDefaultValue");o(WM,"copyAstNode")});function or(t){return t.charCodeAt(0)}function BE(t,e){Array.isArray(t)?t.forEach(function(r){e.push(r)}):e.push(t)}function i1(t,e){if(t[e]===!0)throw"duplicate flag "+e;let r=t[e];t[e]=!0}function Rp(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function Ux(){throw Error("Internal Error - Should never get here!")}function YM(t){return t.type==="Character"}var XM=N(()=>{"use strict";o(or,"cc");o(BE,"insertToSet");o(i1,"addFlag");o(Rp,"ASSERT_EXISTS");o(Ux,"ASSERT_NEVER_REACH_HERE");o(YM,"isCharacter")});var Hx,Wx,jM,uue=N(()=>{"use strict";XM();Hx=[];for(let t=or("0");t<=or("9");t++)Hx.push(t);Wx=[or("_")].concat(Hx);for(let t=or("a");t<=or("z");t++)Wx.push(t);for(let t=or("A");t<=or("Z");t++)Wx.push(t);jM=[or(" "),or("\f"),or(` +`),or("\r"),or(" "),or("\v"),or(" "),or("\xA0"),or("\u1680"),or("\u2000"),or("\u2001"),or("\u2002"),or("\u2003"),or("\u2004"),or("\u2005"),or("\u2006"),or("\u2007"),or("\u2008"),or("\u2009"),or("\u200A"),or("\u2028"),or("\u2029"),or("\u202F"),or("\u205F"),or("\u3000"),or("\uFEFF")]});var FWe,FE,$We,Np,hue=N(()=>{"use strict";XM();uue();FWe=/[0-9a-fA-F]/,FE=/[0-9]/,$We=/[1-9]/,Np=class{static{o(this,"RegExpParser")}constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(e){this.idx=e.idx,this.input=e.input,this.groupIdx=e.groupIdx}pattern(e){this.idx=0,this.input=e,this.groupIdx=0,this.consumeChar("/");let r=this.disjunction();this.consumeChar("/");let n={type:"Flags",loc:{begin:this.idx,end:e.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":i1(n,"global");break;case"i":i1(n,"ignoreCase");break;case"m":i1(n,"multiLine");break;case"u":i1(n,"unicode");break;case"y":i1(n,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:n,value:r,loc:this.loc(0)}}disjunction(){let e=[],r=this.idx;for(e.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),e.push(this.alternative());return{type:"Disjunction",value:e,loc:this.loc(r)}}alternative(){let e=[],r=this.idx;for(;this.isTerm();)e.push(this.term());return{type:"Alternative",value:e,loc:this.loc(r)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){let e=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(e)};case"$":return{type:"EndAnchor",loc:this.loc(e)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(e)};case"B":return{type:"NonWordBoundary",loc:this.loc(e)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");let r;switch(this.popChar()){case"=":r="Lookahead";break;case"!":r="NegativeLookahead";break}Rp(r);let n=this.disjunction();return this.consumeChar(")"),{type:r,value:n,loc:this.loc(e)}}return Ux()}quantifier(e=!1){let r,n=this.idx;switch(this.popChar()){case"*":r={atLeast:0,atMost:1/0};break;case"+":r={atLeast:1,atMost:1/0};break;case"?":r={atLeast:0,atMost:1};break;case"{":let i=this.integerIncludingZero();switch(this.popChar()){case"}":r={atLeast:i,atMost:i};break;case",":let a;this.isDigit()?(a=this.integerIncludingZero(),r={atLeast:i,atMost:a}):r={atLeast:i,atMost:1/0},this.consumeChar("}");break}if(e===!0&&r===void 0)return;Rp(r);break}if(!(e===!0&&r===void 0)&&Rp(r))return this.peekChar(0)==="?"?(this.consumeChar("?"),r.greedy=!1):r.greedy=!0,r.type="Quantifier",r.loc=this.loc(n),r}atom(){let e,r=this.idx;switch(this.peekChar()){case".":e=this.dotAll();break;case"\\":e=this.atomEscape();break;case"[":e=this.characterClass();break;case"(":e=this.group();break}return e===void 0&&this.isPatternCharacter()&&(e=this.patternCharacter()),Rp(e)?(e.loc=this.loc(r),this.isQuantifier()&&(e.quantifier=this.quantifier()),e):Ux()}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[or(` +`),or("\r"),or("\u2028"),or("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let e,r=!1;switch(this.popChar()){case"d":e=Hx;break;case"D":e=Hx,r=!0;break;case"s":e=jM;break;case"S":e=jM,r=!0;break;case"w":e=Wx;break;case"W":e=Wx,r=!0;break}return Rp(e)?{type:"Set",value:e,complement:r}:Ux()}controlEscapeAtom(){let e;switch(this.popChar()){case"f":e=or("\f");break;case"n":e=or(` +`);break;case"r":e=or("\r");break;case"t":e=or(" ");break;case"v":e=or("\v");break}return Rp(e)?{type:"Character",value:e}:Ux()}controlLetterEscapeAtom(){this.consumeChar("c");let e=this.popChar();if(/[a-zA-Z]/.test(e)===!1)throw Error("Invalid ");return{type:"Character",value:e.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:or("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){let e=this.popChar();return{type:"Character",value:or(e)}}classPatternCharacterAtom(){switch(this.peekChar()){case` +`:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:let e=this.popChar();return{type:"Character",value:or(e)}}}characterClass(){let e=[],r=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),r=!0);this.isClassAtom();){let n=this.classAtom(),i=n.type==="Character";if(YM(n)&&this.isRangeDash()){this.consumeChar("-");let a=this.classAtom(),s=a.type==="Character";if(YM(a)){if(a.value=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(e){return{begin:e,end:this.idx}}}});var Pc,Nse=N(()=>{"use strict";Pc=class{static{o(this,"BaseRegExpVisitor")}visitChildren(e){for(let r in e){let n=e[r];e.hasOwnProperty(r)&&(n.type!==void 0?this.visit(n):Array.isArray(n)&&n.forEach(i=>{this.visit(i)},this))}}visit(e){switch(e.type){case"Pattern":this.visitPattern(e);break;case"Flags":this.visitFlags(e);break;case"Disjunction":this.visitDisjunction(e);break;case"Alternative":this.visitAlternative(e);break;case"StartAnchor":this.visitStartAnchor(e);break;case"EndAnchor":this.visitEndAnchor(e);break;case"WordBoundary":this.visitWordBoundary(e);break;case"NonWordBoundary":this.visitNonWordBoundary(e);break;case"Lookahead":this.visitLookahead(e);break;case"NegativeLookahead":this.visitNegativeLookahead(e);break;case"Character":this.visitCharacter(e);break;case"Set":this.visitSet(e);break;case"Group":this.visitGroup(e);break;case"GroupBackReference":this.visitGroupBackReference(e);break;case"Quantifier":this.visitQuantifier(e);break}this.visitChildren(e)}visitPattern(e){}visitFlags(e){}visitDisjunction(e){}visitAlternative(e){}visitStartAnchor(e){}visitEndAnchor(e){}visitWordBoundary(e){}visitNonWordBoundary(e){}visitLookahead(e){}visitNegativeLookahead(e){}visitCharacter(e){}visitSet(e){}visitGroup(e){}visitGroupBackReference(e){}visitQuantifier(e){}}});var ix=N(()=>{"use strict";Rse();Nse()});var Ok={};hr(Ok,{NEWLINE_REGEXP:()=>MN,escapeRegExp:()=>hp,getCaseInsensitivePattern:()=>ON,getTerminalParts:()=>ABe,isMultilineComment:()=>IN,isWhitespace:()=>Ng,partialMatches:()=>PN,partialRegExp:()=>Ose,whitespaceCharacters:()=>Ise});function ABe(t){try{typeof t!="string"&&(t=t.source),t=`/${t}/`;let e=Mse.pattern(t),r=[];for(let n of e.value.value)up.reset(t),up.visit(n),r.push({start:up.startRegexp,end:up.endRegex});return r}catch{return[]}}function IN(t){try{return typeof t=="string"&&(t=new RegExp(t)),t=t.toString(),up.reset(t),up.visit(Mse.pattern(t)),up.multiline}catch{return!1}}function Ng(t){let e=typeof t=="string"?new RegExp(t):t;return Ise.some(r=>e.test(r))}function hp(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ON(t){return Array.prototype.map.call(t,e=>/\w/.test(e)?`[${e.toLowerCase()}${e.toUpperCase()}]`:hp(e)).join("")}function PN(t,e){let r=Ose(t),n=e.match(r);return!!n&&n[0].length>0}function Ose(t){typeof t=="string"&&(t=new RegExp(t));let e=t,r=t.source,n=0;function i(){let a="",s;function l(h){a+=r.substr(n,h),n+=h}o(l,"appendRaw");function u(h){a+="(?:"+r.substr(n,h)+"|$)",n+=h}for(o(u,"appendOptional");n",n)-n+1);break;default:u(2);break}break;case"[":s=/\[(?:\\.|.)*?\]/g,s.lastIndex=n,s=s.exec(r)||[],u(s[0].length);break;case"|":case"^":case"$":case"*":case"+":case"?":l(1);break;case"{":s=/\{\d+,?\d*\}/g,s.lastIndex=n,s=s.exec(r),s?l(s[0].length):u(1);break;case"(":if(r[n+1]==="?")switch(r[n+2]){case":":a+="(?:",n+=3,a+=i()+"|$)";break;case"=":a+="(?=",n+=3,a+=i()+")";break;case"!":s=n,n+=3,i(),a+=r.substr(s,n-s);break;case"<":switch(r[n+3]){case"=":case"!":s=n,n+=4,i(),a+=r.substr(s,n-s);break;default:l(r.indexOf(">",n)-n+1),a+=i()+"|$)";break}break}else l(1),a+=i()+"|$)";break;case")":return++n,a;default:u(1);break}return a}return o(i,"process"),new RegExp(i(),t.flags)}var MN,Mse,NN,up,Ise,Mg=N(()=>{"use strict";ix();MN=/\r?\n/gm,Mse=new cp,NN=class extends Pc{static{o(this,"TerminalRegExpVisitor")}constructor(){super(...arguments),this.isStarting=!0,this.endRegexpStack=[],this.multiline=!1}get endRegex(){return this.endRegexpStack.join("")}reset(e){this.multiline=!1,this.regex=e,this.startRegexp="",this.isStarting=!0,this.endRegexpStack=[]}visitGroup(e){e.quantifier&&(this.isStarting=!1,this.endRegexpStack=[])}visitCharacter(e){let r=String.fromCharCode(e.value);if(!this.multiline&&r===` -`&&(this.multiline=!0),e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let n=hp(r);this.endRegexpStack.push(n),this.isStarting&&(this.startRegexp+=n)}}visitSet(e){if(!this.multiline){let r=this.regex.substring(e.loc.begin,e.loc.end),n=new RegExp(r);this.multiline=!!` -`.match(n)}if(e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let r=this.regex.substring(e.loc.begin,e.loc.end);this.endRegexpStack.push(r),this.isStarting&&(this.startRegexp+=r)}}visitChildren(e){e.type==="Group"&&e.quantifier||super.visitChildren(e)}},up=new NN;o(ABe,"getTerminalParts");o(IN,"isMultilineComment");Ise=`\f -\r \v \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`.split("");o(Ng,"isWhitespace");o(hp,"escapeRegExp");o(ON,"getCaseInsensitivePattern");o(PN,"partialMatches");o(Ose,"partialRegExp")});var Bk={};hr(Bk,{findAssignment:()=>WN,findNameAssignment:()=>Pk,findNodeForKeyword:()=>UN,findNodeForProperty:()=>sx,findNodesForKeyword:()=>_Be,findNodesForKeywordInternal:()=>HN,findNodesForProperty:()=>GN,getActionAtElement:()=>zse,getActionType:()=>Vse,getAllReachableRules:()=>ax,getCrossReferenceTerminal:()=>$N,getEntryRule:()=>Pse,getExplicitRuleType:()=>Ig,getHiddenRules:()=>Bse,getRuleType:()=>qN,getRuleTypeName:()=>MBe,getTypeName:()=>lx,isArrayCardinality:()=>LBe,isArrayOperator:()=>RBe,isCommentTerminal:()=>zN,isDataType:()=>NBe,isDataTypeRule:()=>ox,isOptionalCardinality:()=>DBe,terminalRegex:()=>Og});function Pse(t){return t.rules.find(e=>Ia(e)&&e.entry)}function Bse(t){return t.rules.filter(e=>lo(e)&&e.hidden)}function ax(t,e){let r=new Set,n=Pse(t);if(!n)return new Set(t.rules);let i=[n].concat(Bse(t));for(let s of i)Fse(s,r,e);let a=new Set;for(let s of t.rules)(r.has(s.name)||lo(s)&&s.hidden)&&a.add(s);return a}function Fse(t,e,r){e.add(t.name),Oc(t).forEach(n=>{if(Ol(n)||r&&Dk(n)){let i=n.rule.ref;i&&!e.has(i.name)&&Fse(i,e,r)}})}function $N(t){if(t.terminal)return t.terminal;if(t.type.ref){let e=Pk(t.type.ref);return e?.terminal}}function zN(t){return t.hidden&&!Ng(Og(t))}function GN(t,e){return!t||!e?[]:VN(t,e,t.astNode,!0)}function sx(t,e,r){if(!t||!e)return;let n=VN(t,e,t.astNode,!0);if(n.length!==0)return r!==void 0?r=Math.max(0,Math.min(r,n.length-1)):r=0,n[r]}function VN(t,e,r,n){if(!n){let i=op(t.grammarSource,Il);if(i&&i.feature===e)return[t]}return Rl(t)&&t.astNode===r?t.content.flatMap(i=>VN(i,e,r,!1)):[]}function _Be(t,e){return t?HN(t,e,t?.astNode):[]}function UN(t,e,r){if(!t)return;let n=HN(t,e,t?.astNode);if(n.length!==0)return r!==void 0?r=Math.max(0,Math.min(r,n.length-1)):r=0,n[r]}function HN(t,e,r){if(t.astNode!==r)return[];if(qo(t.grammarSource)&&t.grammarSource.value===e)return[t];let n=rp(t).iterator(),i,a=[];do if(i=n.next(),!i.done){let s=i.value;s.astNode===r?qo(s.grammarSource)&&s.grammarSource.value===e&&a.push(s):n.prune()}while(!i.done);return a}function WN(t){var e;let r=t.astNode;for(;r===((e=t.container)===null||e===void 0?void 0:e.astNode);){let n=op(t.grammarSource,Il);if(n)return n;t=t.container}}function Pk(t){let e=t;return Sk(e)&&(Ou(e.$container)?e=e.$container.$container:Ia(e.$container)?e=e.$container:Mc(e.$container)),$se(t,e,new Map)}function $se(t,e,r){var n;function i(a,s){let l;return op(a,Il)||(l=$se(s,s,r)),r.set(t,l),l}if(o(i,"go"),r.has(t))return r.get(t);r.set(t,void 0);for(let a of Oc(e)){if(Il(a)&&a.feature.toLowerCase()==="name")return r.set(t,a),a;if(Ol(a)&&Ia(a.rule.ref))return i(a,a.rule.ref);if(Ak(a)&&(!((n=a.typeRef)===null||n===void 0)&&n.ref))return i(a,a.typeRef.ref)}}function zse(t){let e=t.$container;if(lf(e)){let r=e.elements,n=r.indexOf(t);for(let i=n-1;i>=0;i--){let a=r[i];if(Ou(a))return a;{let s=Oc(r[i]).find(Ou);if(s)return s}}}if(K2(e))return zse(e)}function DBe(t,e){return t==="?"||t==="*"||lf(e)&&!!e.guardCondition}function LBe(t){return t==="*"||t==="+"}function RBe(t){return t==="+="}function ox(t){return Gse(t,new Set)}function Gse(t,e){if(e.has(t))return!0;e.add(t);for(let r of Oc(t))if(Ol(r)){if(!r.rule.ref||Ia(r.rule.ref)&&!Gse(r.rule.ref,e))return!1}else{if(Il(r))return!1;if(Ou(r))return!1}return!!t.definition}function NBe(t){return FN(t.type,new Set)}function FN(t,e){if(e.has(t))return!0;if(e.add(t),cN(t))return!1;if(mN(t))return!1;if(yN(t))return t.types.every(r=>FN(r,e));if(Ak(t)){if(t.primitiveType!==void 0)return!0;if(t.stringType!==void 0)return!0;if(t.typeRef!==void 0){let r=t.typeRef.ref;return Q2(r)?FN(r.type,e):!1}else return!1}else return!1}function Ig(t){if(t.inferredType)return t.inferredType.name;if(t.dataType)return t.dataType;if(t.returnType){let e=t.returnType.ref;if(e){if(Ia(e))return e.name;if(Ck(e)||Q2(e))return e.name}}}function lx(t){var e;if(Ia(t))return ox(t)?t.name:(e=Ig(t))!==null&&e!==void 0?e:t.name;if(Ck(t)||Q2(t)||gN(t))return t.name;if(Ou(t)){let r=Vse(t);if(r)return r}else if(Sk(t))return t.name;throw new Error("Cannot get name of Unknown Type")}function Vse(t){var e;if(t.inferredType)return t.inferredType.name;if(!((e=t.type)===null||e===void 0)&&e.ref)return lx(t.type.ref)}function MBe(t){var e,r,n;return lo(t)?(r=(e=t.type)===null||e===void 0?void 0:e.name)!==null&&r!==void 0?r:"string":ox(t)?t.name:(n=Ig(t))!==null&&n!==void 0?n:t.name}function qN(t){var e,r,n;return lo(t)?(r=(e=t.type)===null||e===void 0?void 0:e.name)!==null&&r!==void 0?r:"string":(n=Ig(t))!==null&&n!==void 0?n:t.name}function Og(t){let e={s:!1,i:!1,u:!1},r=Pg(t.definition,e),n=Object.entries(e).filter(([,i])=>i).map(([i])=>i).join("");return new RegExp(r,n)}function Pg(t,e){if(wN(t))return IBe(t);if(kN(t))return OBe(t);if(vN(t))return FBe(t);if(Dk(t)){let r=t.rule.ref;if(!r)throw new Error("Missing rule reference.");return Pu(Pg(r.definition),{cardinality:t.cardinality,lookahead:t.lookahead})}else{if(bN(t))return BBe(t);if(EN(t))return PBe(t);if(TN(t)){let r=t.regex.lastIndexOf("/"),n=t.regex.substring(1,r),i=t.regex.substring(r+1);return e&&(e.i=i.includes("i"),e.s=i.includes("s"),e.u=i.includes("u")),Pu(n,{cardinality:t.cardinality,lookahead:t.lookahead,wrap:!1})}else{if(SN(t))return Pu(YN,{cardinality:t.cardinality,lookahead:t.lookahead});throw new Error(`Invalid terminal element: ${t?.$type}`)}}}function IBe(t){return Pu(t.elements.map(e=>Pg(e)).join("|"),{cardinality:t.cardinality,lookahead:t.lookahead})}function OBe(t){return Pu(t.elements.map(e=>Pg(e)).join(""),{cardinality:t.cardinality,lookahead:t.lookahead})}function PBe(t){return Pu(`${YN}*?${Pg(t.terminal)}`,{cardinality:t.cardinality,lookahead:t.lookahead})}function BBe(t){return Pu(`(?!${Pg(t.terminal)})${YN}*?`,{cardinality:t.cardinality,lookahead:t.lookahead})}function FBe(t){return t.right?Pu(`[${BN(t.left)}-${BN(t.right)}]`,{cardinality:t.cardinality,lookahead:t.lookahead,wrap:!1}):Pu(BN(t.left),{cardinality:t.cardinality,lookahead:t.lookahead,wrap:!1})}function BN(t){return hp(t.value)}function Pu(t,e){var r;return(e.wrap!==!1||e.lookahead)&&(t=`(${(r=e.lookahead)!==null&&r!==void 0?r:""}${t})`),e.cardinality?`${t}${e.cardinality}`:t}var YN,Pl=N(()=>{"use strict";kk();Ic();Nl();as();Ml();Mg();o(Pse,"getEntryRule");o(Bse,"getHiddenRules");o(ax,"getAllReachableRules");o(Fse,"ruleDfs");o($N,"getCrossReferenceTerminal");o(zN,"isCommentTerminal");o(GN,"findNodesForProperty");o(sx,"findNodeForProperty");o(VN,"findNodesForPropertyInternal");o(_Be,"findNodesForKeyword");o(UN,"findNodeForKeyword");o(HN,"findNodesForKeywordInternal");o(WN,"findAssignment");o(Pk,"findNameAssignment");o($se,"findNameAssignmentInternal");o(zse,"getActionAtElement");o(DBe,"isOptionalCardinality");o(LBe,"isArrayCardinality");o(RBe,"isArrayOperator");o(ox,"isDataTypeRule");o(Gse,"isDataTypeRuleInternal");o(NBe,"isDataType");o(FN,"isDataTypeInternal");o(Ig,"getExplicitRuleType");o(lx,"getTypeName");o(Vse,"getActionType");o(MBe,"getRuleTypeName");o(qN,"getRuleType");o(Og,"terminalRegex");YN=/[\s\S]/.source;o(Pg,"abstractElementToRegex");o(IBe,"terminalAlternativesToRegex");o(OBe,"terminalGroupToRegex");o(PBe,"untilTokenToRegex");o(BBe,"negateTokenToRegex");o(FBe,"characterRangeToRegex");o(BN,"keywordToRegex");o(Pu,"withCardinality")});function XN(t){let e=[],r=t.Grammar;for(let n of r.rules)lo(n)&&zN(n)&&IN(Og(n))&&e.push(n.name);return{multilineCommentRules:e,nameRegexp:Tk}}var jN=N(()=>{"use strict";Ml();Pl();Mg();Ic();o(XN,"createGrammarConfig")});var KN=N(()=>{"use strict"});function Bg(t){console&&console.error&&console.error(`Error: ${t}`)}function cx(t){console&&console.warn&&console.warn(`Warning: ${t}`)}var Use=N(()=>{"use strict";o(Bg,"PRINT_ERROR");o(cx,"PRINT_WARNING")});function ux(t){let e=new Date().getTime(),r=t();return{time:new Date().getTime()-e,value:r}}var Hse=N(()=>{"use strict";o(ux,"timer")});function hx(t){function e(){}o(e,"FakeConstructor"),e.prototype=t;let r=new e;function n(){return typeof r.bar}return o(n,"fakeAccess"),n(),n(),t;(0,eval)(t)}var Wse=N(()=>{"use strict";o(hx,"toFastProperties")});var Fg=N(()=>{"use strict";Use();Hse();Wse()});function $Be(t){return zBe(t)?t.LABEL:t.name}function zBe(t){return bi(t.LABEL)&&t.LABEL!==""}function Fk(t){return Je(t,$g)}function $g(t){function e(r){return Je(r,$g)}if(o(e,"convertDefinition"),t instanceof sn){let r={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return bi(t.label)&&(r.label=t.label),r}else{if(t instanceof _n)return{type:"Alternative",definition:e(t.definition)};if(t instanceof on)return{type:"Option",idx:t.idx,definition:e(t.definition)};if(t instanceof Dn)return{type:"RepetitionMandatory",idx:t.idx,definition:e(t.definition)};if(t instanceof Ln)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:$g(new kr({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof bn)return{type:"RepetitionWithSeparator",idx:t.idx,separator:$g(new kr({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof Or)return{type:"Repetition",idx:t.idx,definition:e(t.definition)};if(t instanceof Tn)return{type:"Alternation",idx:t.idx,definition:e(t.definition)};if(t instanceof kr){let r={type:"Terminal",name:t.terminalType.name,label:$Be(t.terminalType),idx:t.idx};bi(t.label)&&(r.terminalLabel=t.label);let n=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(r.pattern=Go(n)?n.source:n),r}else{if(t instanceof ss)return{type:"Rule",name:t.name,orgText:t.orgText,definition:e(t.definition)};throw Error("non exhaustive match")}}}var co,sn,ss,_n,on,Dn,Ln,Or,bn,Tn,kr,$k=N(()=>{"use strict";Yt();o($Be,"tokenLabel");o(zBe,"hasTokenLabel");co=class{static{o(this,"AbstractProduction")}get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),Ae(this.definition,r=>{r.accept(e)})}},sn=class extends co{static{o(this,"NonTerminal")}constructor(e){super([]),this.idx=1,fa(this,Fs(e,r=>r!==void 0))}set definition(e){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(e){e.visit(this)}},ss=class extends co{static{o(this,"Rule")}constructor(e){super(e.definition),this.orgText="",fa(this,Fs(e,r=>r!==void 0))}},_n=class extends co{static{o(this,"Alternative")}constructor(e){super(e.definition),this.ignoreAmbiguities=!1,fa(this,Fs(e,r=>r!==void 0))}},on=class extends co{static{o(this,"Option")}constructor(e){super(e.definition),this.idx=1,fa(this,Fs(e,r=>r!==void 0))}},Dn=class extends co{static{o(this,"RepetitionMandatory")}constructor(e){super(e.definition),this.idx=1,fa(this,Fs(e,r=>r!==void 0))}},Ln=class extends co{static{o(this,"RepetitionMandatoryWithSeparator")}constructor(e){super(e.definition),this.idx=1,fa(this,Fs(e,r=>r!==void 0))}},Or=class extends co{static{o(this,"Repetition")}constructor(e){super(e.definition),this.idx=1,fa(this,Fs(e,r=>r!==void 0))}},bn=class extends co{static{o(this,"RepetitionWithSeparator")}constructor(e){super(e.definition),this.idx=1,fa(this,Fs(e,r=>r!==void 0))}},Tn=class extends co{static{o(this,"Alternation")}get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,fa(this,Fs(e,r=>r!==void 0))}},kr=class{static{o(this,"Terminal")}constructor(e){this.idx=1,fa(this,Fs(e,r=>r!==void 0))}accept(e){e.visit(this)}};o(Fk,"serializeGrammar");o($g,"serializeProduction")});var os,qse=N(()=>{"use strict";$k();os=class{static{o(this,"GAstVisitor")}visit(e){let r=e;switch(r.constructor){case sn:return this.visitNonTerminal(r);case _n:return this.visitAlternative(r);case on:return this.visitOption(r);case Dn:return this.visitRepetitionMandatory(r);case Ln:return this.visitRepetitionMandatoryWithSeparator(r);case bn:return this.visitRepetitionWithSeparator(r);case Or:return this.visitRepetition(r);case Tn:return this.visitAlternation(r);case kr:return this.visitTerminal(r);case ss:return this.visitRule(r);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}});function QN(t){return t instanceof _n||t instanceof on||t instanceof Or||t instanceof Dn||t instanceof Ln||t instanceof bn||t instanceof kr||t instanceof ss}function fp(t,e=[]){return t instanceof on||t instanceof Or||t instanceof bn?!0:t instanceof Tn?P2(t.definition,n=>fp(n,e)):t instanceof sn&&qn(e,t)?!1:t instanceof co?(t instanceof sn&&e.push(t),Na(t.definition,n=>fp(n,e))):!1}function ZN(t){return t instanceof Tn}function zs(t){if(t instanceof sn)return"SUBRULE";if(t instanceof on)return"OPTION";if(t instanceof Tn)return"OR";if(t instanceof Dn)return"AT_LEAST_ONE";if(t instanceof Ln)return"AT_LEAST_ONE_SEP";if(t instanceof bn)return"MANY_SEP";if(t instanceof Or)return"MANY";if(t instanceof kr)return"CONSUME";throw Error("non exhaustive match")}var Yse=N(()=>{"use strict";Yt();$k();o(QN,"isSequenceProd");o(fp,"isOptionalProd");o(ZN,"isBranchingProd");o(zs,"getProductionDslName")});var ls=N(()=>{"use strict";$k();qse();Yse()});function Xse(t,e,r){return[new on({definition:[new kr({terminalType:t.separator})].concat(t.definition)})].concat(e,r)}var Bu,zk=N(()=>{"use strict";Yt();ls();Bu=class{static{o(this,"RestWalker")}walk(e,r=[]){Ae(e.definition,(n,i)=>{let a=xi(e.definition,i+1);if(n instanceof sn)this.walkProdRef(n,a,r);else if(n instanceof kr)this.walkTerminal(n,a,r);else if(n instanceof _n)this.walkFlat(n,a,r);else if(n instanceof on)this.walkOption(n,a,r);else if(n instanceof Dn)this.walkAtLeastOne(n,a,r);else if(n instanceof Ln)this.walkAtLeastOneSep(n,a,r);else if(n instanceof bn)this.walkManySep(n,a,r);else if(n instanceof Or)this.walkMany(n,a,r);else if(n instanceof Tn)this.walkOr(n,a,r);else throw Error("non exhaustive match")})}walkTerminal(e,r,n){}walkProdRef(e,r,n){}walkFlat(e,r,n){let i=r.concat(n);this.walk(e,i)}walkOption(e,r,n){let i=r.concat(n);this.walk(e,i)}walkAtLeastOne(e,r,n){let i=[new on({definition:e.definition})].concat(r,n);this.walk(e,i)}walkAtLeastOneSep(e,r,n){let i=Xse(e,r,n);this.walk(e,i)}walkMany(e,r,n){let i=[new on({definition:e.definition})].concat(r,n);this.walk(e,i)}walkManySep(e,r,n){let i=Xse(e,r,n);this.walk(e,i)}walkOr(e,r,n){let i=r.concat(n);Ae(e.definition,a=>{let s=new _n({definition:[a]});this.walk(s,i)})}};o(Xse,"restForRepetitionWithSeparator")});function dp(t){if(t instanceof sn)return dp(t.referencedRule);if(t instanceof kr)return UBe(t);if(QN(t))return GBe(t);if(ZN(t))return VBe(t);throw Error("non exhaustive match")}function GBe(t){let e=[],r=t.definition,n=0,i=r.length>n,a,s=!0;for(;i&&s;)a=r[n],s=fp(a),e=e.concat(dp(a)),n=n+1,i=r.length>n;return zm(e)}function VBe(t){let e=Je(t.definition,r=>dp(r));return zm(Wr(e))}function UBe(t){return[t.terminalType]}var JN=N(()=>{"use strict";Yt();ls();o(dp,"first");o(GBe,"firstForSequence");o(VBe,"firstForBranching");o(UBe,"firstForTerminal")});var Gk,eM=N(()=>{"use strict";Gk="_~IN~_"});function jse(t){let e={};return Ae(t,r=>{let n=new tM(r).startWalking();fa(e,n)}),e}function HBe(t,e){return t.name+e+Gk}var tM,Kse=N(()=>{"use strict";zk();JN();Yt();eM();ls();tM=class extends Bu{static{o(this,"ResyncFollowsWalker")}constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,r,n){}walkProdRef(e,r,n){let i=HBe(e.referencedRule,e.idx)+this.topProd.name,a=r.concat(n),s=new _n({definition:a}),l=dp(s);this.follows[i]=l}};o(jse,"computeAllProdsFollows");o(HBe,"buildBetweenProdsFollowPrefix")});function zg(t){let e=t.toString();if(Vk.hasOwnProperty(e))return Vk[e];{let r=WBe.pattern(e);return Vk[e]=r,r}}function Qse(){Vk={}}var Vk,WBe,Uk=N(()=>{"use strict";ix();Vk={},WBe=new cp;o(zg,"getRegExpAst");o(Qse,"clearRegExpParserCache")});function eoe(t,e=!1){try{let r=zg(t);return rM(r.value,{},r.flags.ignoreCase)}catch(r){if(r.message===Jse)e&&cx(`${fx} Unable to optimize: < ${t.toString()} > +`:case"\r":case"\u2028":case"\u2029":return!1;default:return!0}}parseHexDigits(e){let r="";for(let i=0;i=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(e){return{begin:e,end:this.idx}}}});var Hc,fue=N(()=>{"use strict";Hc=class{static{o(this,"BaseRegExpVisitor")}visitChildren(e){for(let r in e){let n=e[r];e.hasOwnProperty(r)&&(n.type!==void 0?this.visit(n):Array.isArray(n)&&n.forEach(i=>{this.visit(i)},this))}}visit(e){switch(e.type){case"Pattern":this.visitPattern(e);break;case"Flags":this.visitFlags(e);break;case"Disjunction":this.visitDisjunction(e);break;case"Alternative":this.visitAlternative(e);break;case"StartAnchor":this.visitStartAnchor(e);break;case"EndAnchor":this.visitEndAnchor(e);break;case"WordBoundary":this.visitWordBoundary(e);break;case"NonWordBoundary":this.visitNonWordBoundary(e);break;case"Lookahead":this.visitLookahead(e);break;case"NegativeLookahead":this.visitNegativeLookahead(e);break;case"Character":this.visitCharacter(e);break;case"Set":this.visitSet(e);break;case"Group":this.visitGroup(e);break;case"GroupBackReference":this.visitGroupBackReference(e);break;case"Quantifier":this.visitQuantifier(e);break}this.visitChildren(e)}visitPattern(e){}visitFlags(e){}visitDisjunction(e){}visitAlternative(e){}visitStartAnchor(e){}visitEndAnchor(e){}visitWordBoundary(e){}visitNonWordBoundary(e){}visitLookahead(e){}visitNegativeLookahead(e){}visitCharacter(e){}visitSet(e){}visitGroup(e){}visitGroupBackReference(e){}visitQuantifier(e){}}});var qx=N(()=>{"use strict";hue();fue()});var $E={};ur($E,{NEWLINE_REGEXP:()=>QM,escapeRegExp:()=>Ip,getCaseInsensitivePattern:()=>JM,getTerminalParts:()=>GWe,isMultilineComment:()=>ZM,isWhitespace:()=>a1,partialMatches:()=>eI,partialRegExp:()=>mue,whitespaceCharacters:()=>pue});function GWe(t){try{typeof t!="string"&&(t=t.source),t=`/${t}/`;let e=due.pattern(t),r=[];for(let n of e.value.value)Mp.reset(t),Mp.visit(n),r.push({start:Mp.startRegexp,end:Mp.endRegex});return r}catch{return[]}}function ZM(t){try{return typeof t=="string"&&(t=new RegExp(t)),t=t.toString(),Mp.reset(t),Mp.visit(due.pattern(t)),Mp.multiline}catch{return!1}}function a1(t){let e=typeof t=="string"?new RegExp(t):t;return pue.some(r=>e.test(r))}function Ip(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function JM(t){return Array.prototype.map.call(t,e=>/\w/.test(e)?`[${e.toLowerCase()}${e.toUpperCase()}]`:Ip(e)).join("")}function eI(t,e){let r=mue(t),n=e.match(r);return!!n&&n[0].length>0}function mue(t){typeof t=="string"&&(t=new RegExp(t));let e=t,r=t.source,n=0;function i(){let a="",s;function l(h){a+=r.substr(n,h),n+=h}o(l,"appendRaw");function u(h){a+="(?:"+r.substr(n,h)+"|$)",n+=h}for(o(u,"appendOptional");n",n)-n+1);break;default:u(2);break}break;case"[":s=/\[(?:\\.|.)*?\]/g,s.lastIndex=n,s=s.exec(r)||[],u(s[0].length);break;case"|":case"^":case"$":case"*":case"+":case"?":l(1);break;case"{":s=/\{\d+,?\d*\}/g,s.lastIndex=n,s=s.exec(r),s?l(s[0].length):u(1);break;case"(":if(r[n+1]==="?")switch(r[n+2]){case":":a+="(?:",n+=3,a+=i()+"|$)";break;case"=":a+="(?=",n+=3,a+=i()+")";break;case"!":s=n,n+=3,i(),a+=r.substr(s,n-s);break;case"<":switch(r[n+3]){case"=":case"!":s=n,n+=4,i(),a+=r.substr(s,n-s);break;default:l(r.indexOf(">",n)-n+1),a+=i()+"|$)";break}break}else l(1),a+=i()+"|$)";break;case")":return++n,a;default:u(1);break}return a}return o(i,"process"),new RegExp(i(),t.flags)}var QM,due,KM,Mp,pue,s1=N(()=>{"use strict";qx();QM=/\r?\n/gm,due=new Np,KM=class extends Hc{static{o(this,"TerminalRegExpVisitor")}constructor(){super(...arguments),this.isStarting=!0,this.endRegexpStack=[],this.multiline=!1}get endRegex(){return this.endRegexpStack.join("")}reset(e){this.multiline=!1,this.regex=e,this.startRegexp="",this.isStarting=!0,this.endRegexpStack=[]}visitGroup(e){e.quantifier&&(this.isStarting=!1,this.endRegexpStack=[])}visitCharacter(e){let r=String.fromCharCode(e.value);if(!this.multiline&&r===` +`&&(this.multiline=!0),e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let n=Ip(r);this.endRegexpStack.push(n),this.isStarting&&(this.startRegexp+=n)}}visitSet(e){if(!this.multiline){let r=this.regex.substring(e.loc.begin,e.loc.end),n=new RegExp(r);this.multiline=!!` +`.match(n)}if(e.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let r=this.regex.substring(e.loc.begin,e.loc.end);this.endRegexpStack.push(r),this.isStarting&&(this.startRegexp+=r)}}visitChildren(e){e.type==="Group"&&e.quantifier||super.visitChildren(e)}},Mp=new KM;o(GWe,"getTerminalParts");o(ZM,"isMultilineComment");pue=`\f +\r \v \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`.split("");o(a1,"isWhitespace");o(Ip,"escapeRegExp");o(JM,"getCaseInsensitivePattern");o(eI,"partialMatches");o(mue,"partialRegExp")});var zE={};ur(zE,{findAssignment:()=>cI,findNameAssignment:()=>GE,findNodeForKeyword:()=>oI,findNodeForProperty:()=>Xx,findNodesForKeyword:()=>zWe,findNodesForKeywordInternal:()=>lI,findNodesForProperty:()=>aI,getActionAtElement:()=>bue,getActionType:()=>wue,getAllReachableRules:()=>Yx,getCrossReferenceTerminal:()=>nI,getEntryRule:()=>gue,getExplicitRuleType:()=>o1,getHiddenRules:()=>yue,getRuleType:()=>uI,getRuleTypeName:()=>qWe,getTypeName:()=>Kx,isArrayCardinality:()=>UWe,isArrayOperator:()=>HWe,isCommentTerminal:()=>iI,isDataType:()=>WWe,isDataTypeRule:()=>jx,isOptionalCardinality:()=>VWe,terminalRegex:()=>l1});function gue(t){return t.rules.find(e=>za(e)&&e.entry)}function yue(t){return t.rules.filter(e=>po(e)&&e.hidden)}function Yx(t,e){let r=new Set,n=gue(t);if(!n)return new Set(t.rules);let i=[n].concat(yue(t));for(let s of i)vue(s,r,e);let a=new Set;for(let s of t.rules)(r.has(s.name)||po(s)&&s.hidden)&&a.add(s);return a}function vue(t,e,r){e.add(t.name),Uc(t).forEach(n=>{if($l(n)||r&&ME(n)){let i=n.rule.ref;i&&!e.has(i.name)&&vue(i,e,r)}})}function nI(t){if(t.terminal)return t.terminal;if(t.type.ref){let e=GE(t.type.ref);return e?.terminal}}function iI(t){return t.hidden&&!a1(l1(t))}function aI(t,e){return!t||!e?[]:sI(t,e,t.astNode,!0)}function Xx(t,e,r){if(!t||!e)return;let n=sI(t,e,t.astNode,!0);if(n.length!==0)return r!==void 0?r=Math.max(0,Math.min(r,n.length-1)):r=0,n[r]}function sI(t,e,r,n){if(!n){let i=Lp(t.grammarSource,Fl);if(i&&i.feature===e)return[t]}return Ol(t)&&t.astNode===r?t.content.flatMap(i=>sI(i,e,r,!1)):[]}function zWe(t,e){return t?lI(t,e,t?.astNode):[]}function oI(t,e,r){if(!t)return;let n=lI(t,e,t?.astNode);if(n.length!==0)return r!==void 0?r=Math.max(0,Math.min(r,n.length-1)):r=0,n[r]}function lI(t,e,r){if(t.astNode!==r)return[];if(Zo(t.grammarSource)&&t.grammarSource.value===e)return[t];let n=Sp(t).iterator(),i,a=[];do if(i=n.next(),!i.done){let s=i.value;s.astNode===r?Zo(s.grammarSource)&&s.grammarSource.value===e&&a.push(s):n.prune()}while(!i.done);return a}function cI(t){var e;let r=t.astNode;for(;r===((e=t.container)===null||e===void 0?void 0:e.astNode);){let n=Lp(t.grammarSource,Fl);if(n)return n;t=t.container}}function GE(t){let e=t;return DE(e)&&(Vu(e.$container)?e=e.$container.$container:za(e.$container)?e=e.$container:zc(e.$container)),xue(t,e,new Map)}function xue(t,e,r){var n;function i(a,s){let l;return Lp(a,Fl)||(l=xue(s,s,r)),r.set(t,l),l}if(o(i,"go"),r.has(t))return r.get(t);r.set(t,void 0);for(let a of Uc(e)){if(Fl(a)&&a.feature.toLowerCase()==="name")return r.set(t,a),a;if($l(a)&&za(a.rule.ref))return i(a,a.rule.ref);if(RE(a)&&(!((n=a.typeRef)===null||n===void 0)&&n.ref))return i(a,a.typeRef.ref)}}function bue(t){let e=t.$container;if(Lf(e)){let r=e.elements,n=r.indexOf(t);for(let i=n-1;i>=0;i--){let a=r[i];if(Vu(a))return a;{let s=Uc(r[i]).find(Vu);if(s)return s}}}if(Fx(e))return bue(e)}function VWe(t,e){return t==="?"||t==="*"||Lf(e)&&!!e.guardCondition}function UWe(t){return t==="*"||t==="+"}function HWe(t){return t==="+="}function jx(t){return Tue(t,new Set)}function Tue(t,e){if(e.has(t))return!0;e.add(t);for(let r of Uc(t))if($l(r)){if(!r.rule.ref||za(r.rule.ref)&&!Tue(r.rule.ref,e))return!1}else{if(Fl(r))return!1;if(Vu(r))return!1}return!!t.definition}function WWe(t){return rI(t.type,new Set)}function rI(t,e){if(e.has(t))return!0;if(e.add(t),AM(t))return!1;if(MM(t))return!1;if(OM(t))return t.types.every(r=>rI(r,e));if(RE(t)){if(t.primitiveType!==void 0)return!0;if(t.stringType!==void 0)return!0;if(t.typeRef!==void 0){let r=t.typeRef.ref;return $x(r)?rI(r.type,e):!1}else return!1}else return!1}function o1(t){if(t.inferredType)return t.inferredType.name;if(t.dataType)return t.dataType;if(t.returnType){let e=t.returnType.ref;if(e){if(za(e))return e.name;if(LE(e)||$x(e))return e.name}}}function Kx(t){var e;if(za(t))return jx(t)?t.name:(e=o1(t))!==null&&e!==void 0?e:t.name;if(LE(t)||$x(t)||IM(t))return t.name;if(Vu(t)){let r=wue(t);if(r)return r}else if(DE(t))return t.name;throw new Error("Cannot get name of Unknown Type")}function wue(t){var e;if(t.inferredType)return t.inferredType.name;if(!((e=t.type)===null||e===void 0)&&e.ref)return Kx(t.type.ref)}function qWe(t){var e,r,n;return po(t)?(r=(e=t.type)===null||e===void 0?void 0:e.name)!==null&&r!==void 0?r:"string":jx(t)?t.name:(n=o1(t))!==null&&n!==void 0?n:t.name}function uI(t){var e,r,n;return po(t)?(r=(e=t.type)===null||e===void 0?void 0:e.name)!==null&&r!==void 0?r:"string":(n=o1(t))!==null&&n!==void 0?n:t.name}function l1(t){let e={s:!1,i:!1,u:!1},r=c1(t.definition,e),n=Object.entries(e).filter(([,i])=>i).map(([i])=>i).join("");return new RegExp(r,n)}function c1(t,e){if(GM(t))return YWe(t);if(zM(t))return XWe(t);if(PM(t))return QWe(t);if(ME(t)){let r=t.rule.ref;if(!r)throw new Error("Missing rule reference.");return Uu(c1(r.definition),{cardinality:t.cardinality,lookahead:t.lookahead})}else{if(FM(t))return KWe(t);if(VM(t))return jWe(t);if($M(t)){let r=t.regex.lastIndexOf("/"),n=t.regex.substring(1,r),i=t.regex.substring(r+1);return e&&(e.i=i.includes("i"),e.s=i.includes("s"),e.u=i.includes("u")),Uu(n,{cardinality:t.cardinality,lookahead:t.lookahead,wrap:!1})}else{if(UM(t))return Uu(hI,{cardinality:t.cardinality,lookahead:t.lookahead});throw new Error(`Invalid terminal element: ${t?.$type}`)}}}function YWe(t){return Uu(t.elements.map(e=>c1(e)).join("|"),{cardinality:t.cardinality,lookahead:t.lookahead})}function XWe(t){return Uu(t.elements.map(e=>c1(e)).join(""),{cardinality:t.cardinality,lookahead:t.lookahead})}function jWe(t){return Uu(`${hI}*?${c1(t.terminal)}`,{cardinality:t.cardinality,lookahead:t.lookahead})}function KWe(t){return Uu(`(?!${c1(t.terminal)})${hI}*?`,{cardinality:t.cardinality,lookahead:t.lookahead})}function QWe(t){return t.right?Uu(`[${tI(t.left)}-${tI(t.right)}]`,{cardinality:t.cardinality,lookahead:t.lookahead,wrap:!1}):Uu(tI(t.left),{cardinality:t.cardinality,lookahead:t.lookahead,wrap:!1})}function tI(t){return Ip(t.value)}function Uu(t,e){var r;return(e.wrap!==!1||e.lookahead)&&(t=`(${(r=e.lookahead)!==null&&r!==void 0?r:""}${t})`),e.cardinality?`${t}${e.cardinality}`:t}var hI,Gl=N(()=>{"use strict";AE();Vc();Pl();us();Bl();s1();o(gue,"getEntryRule");o(yue,"getHiddenRules");o(Yx,"getAllReachableRules");o(vue,"ruleDfs");o(nI,"getCrossReferenceTerminal");o(iI,"isCommentTerminal");o(aI,"findNodesForProperty");o(Xx,"findNodeForProperty");o(sI,"findNodesForPropertyInternal");o(zWe,"findNodesForKeyword");o(oI,"findNodeForKeyword");o(lI,"findNodesForKeywordInternal");o(cI,"findAssignment");o(GE,"findNameAssignment");o(xue,"findNameAssignmentInternal");o(bue,"getActionAtElement");o(VWe,"isOptionalCardinality");o(UWe,"isArrayCardinality");o(HWe,"isArrayOperator");o(jx,"isDataTypeRule");o(Tue,"isDataTypeRuleInternal");o(WWe,"isDataType");o(rI,"isDataTypeInternal");o(o1,"getExplicitRuleType");o(Kx,"getTypeName");o(wue,"getActionType");o(qWe,"getRuleTypeName");o(uI,"getRuleType");o(l1,"terminalRegex");hI=/[\s\S]/.source;o(c1,"abstractElementToRegex");o(YWe,"terminalAlternativesToRegex");o(XWe,"terminalGroupToRegex");o(jWe,"untilTokenToRegex");o(KWe,"negateTokenToRegex");o(QWe,"characterRangeToRegex");o(tI,"keywordToRegex");o(Uu,"withCardinality")});function fI(t){let e=[],r=t.Grammar;for(let n of r.rules)po(n)&&iI(n)&&ZM(l1(n))&&e.push(n.name);return{multilineCommentRules:e,nameRegexp:SE}}var dI=N(()=>{"use strict";Bl();Gl();s1();Vc();o(fI,"createGrammarConfig")});var pI=N(()=>{"use strict"});function u1(t){console&&console.error&&console.error(`Error: ${t}`)}function Qx(t){console&&console.warn&&console.warn(`Warning: ${t}`)}var kue=N(()=>{"use strict";o(u1,"PRINT_ERROR");o(Qx,"PRINT_WARNING")});function Zx(t){let e=new Date().getTime(),r=t();return{time:new Date().getTime()-e,value:r}}var Eue=N(()=>{"use strict";o(Zx,"timer")});function Jx(t){function e(){}o(e,"FakeConstructor"),e.prototype=t;let r=new e;function n(){return typeof r.bar}return o(n,"fakeAccess"),n(),n(),t;(0,eval)(t)}var Sue=N(()=>{"use strict";o(Jx,"toFastProperties")});var h1=N(()=>{"use strict";kue();Eue();Sue()});function ZWe(t){return JWe(t)?t.LABEL:t.name}function JWe(t){return bi(t.LABEL)&&t.LABEL!==""}function VE(t){return et(t,f1)}function f1(t){function e(r){return et(r,f1)}if(o(e,"convertDefinition"),t instanceof cn){let r={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return bi(t.label)&&(r.label=t.label),r}else{if(t instanceof In)return{type:"Alternative",definition:e(t.definition)};if(t instanceof un)return{type:"Option",idx:t.idx,definition:e(t.definition)};if(t instanceof On)return{type:"RepetitionMandatory",idx:t.idx,definition:e(t.definition)};if(t instanceof Pn)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:f1(new Er({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof En)return{type:"RepetitionWithSeparator",idx:t.idx,separator:f1(new Er({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof Pr)return{type:"Repetition",idx:t.idx,definition:e(t.definition)};if(t instanceof Sn)return{type:"Alternation",idx:t.idx,definition:e(t.definition)};if(t instanceof Er){let r={type:"Terminal",name:t.terminalType.name,label:ZWe(t.terminalType),idx:t.idx};bi(t.label)&&(r.terminalLabel=t.label);let n=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(r.pattern=Uo(n)?n.source:n),r}else{if(t instanceof hs)return{type:"Rule",name:t.name,orgText:t.orgText,definition:e(t.definition)};throw Error("non exhaustive match")}}}var mo,cn,hs,In,un,On,Pn,Pr,En,Sn,Er,UE=N(()=>{"use strict";qt();o(ZWe,"tokenLabel");o(JWe,"hasTokenLabel");mo=class{static{o(this,"AbstractProduction")}get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),Ae(this.definition,r=>{r.accept(e)})}},cn=class extends mo{static{o(this,"NonTerminal")}constructor(e){super([]),this.idx=1,da(this,zs(e,r=>r!==void 0))}set definition(e){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(e){e.visit(this)}},hs=class extends mo{static{o(this,"Rule")}constructor(e){super(e.definition),this.orgText="",da(this,zs(e,r=>r!==void 0))}},In=class extends mo{static{o(this,"Alternative")}constructor(e){super(e.definition),this.ignoreAmbiguities=!1,da(this,zs(e,r=>r!==void 0))}},un=class extends mo{static{o(this,"Option")}constructor(e){super(e.definition),this.idx=1,da(this,zs(e,r=>r!==void 0))}},On=class extends mo{static{o(this,"RepetitionMandatory")}constructor(e){super(e.definition),this.idx=1,da(this,zs(e,r=>r!==void 0))}},Pn=class extends mo{static{o(this,"RepetitionMandatoryWithSeparator")}constructor(e){super(e.definition),this.idx=1,da(this,zs(e,r=>r!==void 0))}},Pr=class extends mo{static{o(this,"Repetition")}constructor(e){super(e.definition),this.idx=1,da(this,zs(e,r=>r!==void 0))}},En=class extends mo{static{o(this,"RepetitionWithSeparator")}constructor(e){super(e.definition),this.idx=1,da(this,zs(e,r=>r!==void 0))}},Sn=class extends mo{static{o(this,"Alternation")}get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,da(this,zs(e,r=>r!==void 0))}},Er=class{static{o(this,"Terminal")}constructor(e){this.idx=1,da(this,zs(e,r=>r!==void 0))}accept(e){e.visit(this)}};o(VE,"serializeGrammar");o(f1,"serializeProduction")});var fs,Cue=N(()=>{"use strict";UE();fs=class{static{o(this,"GAstVisitor")}visit(e){let r=e;switch(r.constructor){case cn:return this.visitNonTerminal(r);case In:return this.visitAlternative(r);case un:return this.visitOption(r);case On:return this.visitRepetitionMandatory(r);case Pn:return this.visitRepetitionMandatoryWithSeparator(r);case En:return this.visitRepetitionWithSeparator(r);case Pr:return this.visitRepetition(r);case Sn:return this.visitAlternation(r);case Er:return this.visitTerminal(r);case hs:return this.visitRule(r);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}});function mI(t){return t instanceof In||t instanceof un||t instanceof Pr||t instanceof On||t instanceof Pn||t instanceof En||t instanceof Er||t instanceof hs}function Op(t,e=[]){return t instanceof un||t instanceof Pr||t instanceof En?!0:t instanceof Sn?F2(t.definition,n=>Op(n,e)):t instanceof cn&&jn(e,t)?!1:t instanceof mo?(t instanceof cn&&e.push(t),Ia(t.definition,n=>Op(n,e))):!1}function gI(t){return t instanceof Sn}function qs(t){if(t instanceof cn)return"SUBRULE";if(t instanceof un)return"OPTION";if(t instanceof Sn)return"OR";if(t instanceof On)return"AT_LEAST_ONE";if(t instanceof Pn)return"AT_LEAST_ONE_SEP";if(t instanceof En)return"MANY_SEP";if(t instanceof Pr)return"MANY";if(t instanceof Er)return"CONSUME";throw Error("non exhaustive match")}var Aue=N(()=>{"use strict";qt();UE();o(mI,"isSequenceProd");o(Op,"isOptionalProd");o(gI,"isBranchingProd");o(qs,"getProductionDslName")});var ds=N(()=>{"use strict";UE();Cue();Aue()});function _ue(t,e,r){return[new un({definition:[new Er({terminalType:t.separator})].concat(t.definition)})].concat(e,r)}var Hu,HE=N(()=>{"use strict";qt();ds();Hu=class{static{o(this,"RestWalker")}walk(e,r=[]){Ae(e.definition,(n,i)=>{let a=xi(e.definition,i+1);if(n instanceof cn)this.walkProdRef(n,a,r);else if(n instanceof Er)this.walkTerminal(n,a,r);else if(n instanceof In)this.walkFlat(n,a,r);else if(n instanceof un)this.walkOption(n,a,r);else if(n instanceof On)this.walkAtLeastOne(n,a,r);else if(n instanceof Pn)this.walkAtLeastOneSep(n,a,r);else if(n instanceof En)this.walkManySep(n,a,r);else if(n instanceof Pr)this.walkMany(n,a,r);else if(n instanceof Sn)this.walkOr(n,a,r);else throw Error("non exhaustive match")})}walkTerminal(e,r,n){}walkProdRef(e,r,n){}walkFlat(e,r,n){let i=r.concat(n);this.walk(e,i)}walkOption(e,r,n){let i=r.concat(n);this.walk(e,i)}walkAtLeastOne(e,r,n){let i=[new un({definition:e.definition})].concat(r,n);this.walk(e,i)}walkAtLeastOneSep(e,r,n){let i=_ue(e,r,n);this.walk(e,i)}walkMany(e,r,n){let i=[new un({definition:e.definition})].concat(r,n);this.walk(e,i)}walkManySep(e,r,n){let i=_ue(e,r,n);this.walk(e,i)}walkOr(e,r,n){let i=r.concat(n);Ae(e.definition,a=>{let s=new In({definition:[a]});this.walk(s,i)})}};o(_ue,"restForRepetitionWithSeparator")});function Pp(t){if(t instanceof cn)return Pp(t.referencedRule);if(t instanceof Er)return rqe(t);if(mI(t))return eqe(t);if(gI(t))return tqe(t);throw Error("non exhaustive match")}function eqe(t){let e=[],r=t.definition,n=0,i=r.length>n,a,s=!0;for(;i&&s;)a=r[n],s=Op(a),e=e.concat(Pp(a)),n=n+1,i=r.length>n;return zm(e)}function tqe(t){let e=et(t.definition,r=>Pp(r));return zm(qr(e))}function rqe(t){return[t.terminalType]}var yI=N(()=>{"use strict";qt();ds();o(Pp,"first");o(eqe,"firstForSequence");o(tqe,"firstForBranching");o(rqe,"firstForTerminal")});var WE,vI=N(()=>{"use strict";WE="_~IN~_"});function Due(t){let e={};return Ae(t,r=>{let n=new xI(r).startWalking();da(e,n)}),e}function nqe(t,e){return t.name+e+WE}var xI,Lue=N(()=>{"use strict";HE();yI();qt();vI();ds();xI=class extends Hu{static{o(this,"ResyncFollowsWalker")}constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,r,n){}walkProdRef(e,r,n){let i=nqe(e.referencedRule,e.idx)+this.topProd.name,a=r.concat(n),s=new In({definition:a}),l=Pp(s);this.follows[i]=l}};o(Due,"computeAllProdsFollows");o(nqe,"buildBetweenProdsFollowPrefix")});function d1(t){let e=t.toString();if(qE.hasOwnProperty(e))return qE[e];{let r=iqe.pattern(e);return qE[e]=r,r}}function Rue(){qE={}}var qE,iqe,YE=N(()=>{"use strict";qx();qE={},iqe=new Np;o(d1,"getRegExpAst");o(Rue,"clearRegExpParserCache")});function Iue(t,e=!1){try{let r=d1(t);return bI(r.value,{},r.flags.ignoreCase)}catch(r){if(r.message===Mue)e&&Qx(`${eb} Unable to optimize: < ${t.toString()} > Complement Sets cannot be automatically optimized. This will disable the lexer's first char optimizations. See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{let n="";e&&(n=` This will disable the lexer's first char optimizations. - See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.`),Bg(`${fx} + See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.`),u1(`${eb} Failed parsing: < ${t.toString()} > Using the @chevrotain/regexp-to-ast library - Please open an issue at: https://github.com/chevrotain/chevrotain/issues`+n)}}return[]}function rM(t,e,r){switch(t.type){case"Disjunction":for(let i=0;i{if(typeof u=="number")Hk(u,e,r);else{let h=u;if(r===!0)for(let f=h.from;f<=h.to;f++)Hk(f,e,r);else{for(let f=h.from;f<=h.to&&f=Gg){let f=h.from>=Gg?h.from:Gg,d=h.to,p=Bc(f),m=Bc(d);for(let g=p;g<=m;g++)e[g]=g}}}});break;case"Group":rM(s.value,e,r);break;default:throw Error("Non Exhaustive Match")}let l=s.quantifier!==void 0&&s.quantifier.atLeast===0;if(s.type==="Group"&&nM(s)===!1||s.type!=="Group"&&l===!1)break}break;default:throw Error("non exhaustive match!")}return br(e)}function Hk(t,e,r){let n=Bc(t);e[n]=n,r===!0&&qBe(t,e)}function qBe(t,e){let r=String.fromCharCode(t),n=r.toUpperCase();if(n!==r){let i=Bc(n.charCodeAt(0));e[i]=i}else{let i=r.toLowerCase();if(i!==r){let a=Bc(i.charCodeAt(0));e[a]=a}}}function Zse(t,e){return is(t.value,r=>{if(typeof r=="number")return qn(e,r);{let n=r;return is(e,i=>n.from<=i&&i<=n.to)!==void 0}})}function nM(t){let e=t.quantifier;return e&&e.atLeast===0?!0:t.value?Pt(t.value)?Na(t.value,nM):nM(t.value):!1}function Wk(t,e){if(e instanceof RegExp){let r=zg(e),n=new iM(t);return n.visit(r),n.found}else return is(e,r=>qn(t,r.charCodeAt(0)))!==void 0}var Jse,fx,iM,toe=N(()=>{"use strict";ix();Yt();Fg();Uk();aM();Jse="Complement Sets are not supported for first char optimization",fx=`Unable to use "first char" lexer optimizations: -`;o(eoe,"getOptimizedStartCodesIndices");o(rM,"firstCharOptimizedIndices");o(Hk,"addOptimizedIdxToResult");o(qBe,"handleIgnoreCase");o(Zse,"findCode");o(nM,"isWholeOptional");iM=class extends Pc{static{o(this,"CharCodeFinder")}constructor(e){super(),this.targetCharCodes=e,this.found=!1}visitChildren(e){if(this.found!==!0){switch(e.type){case"Lookahead":this.visitLookahead(e);return;case"NegativeLookahead":this.visitNegativeLookahead(e);return}super.visitChildren(e)}}visitCharacter(e){qn(this.targetCharCodes,e.value)&&(this.found=!0)}visitSet(e){e.complement?Zse(e,this.targetCharCodes)===void 0&&(this.found=!0):Zse(e,this.targetCharCodes)!==void 0&&(this.found=!0)}};o(Wk,"canMatchCharCode")});function ioe(t,e){e=Jh(e,{useSticky:oM,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",` -`],tracer:o((b,T)=>T(),"tracer")});let r=e.tracer;r("initCharCodeToOptimizedIndexMap",()=>{uFe()});let n;r("Reject Lexer.NA",()=>{n=tf(t,b=>b[pp]===Xn.NA)});let i=!1,a;r("Transform Patterns",()=>{i=!1,a=Je(n,b=>{let T=b[pp];if(Go(T)){let C=T.source;return C.length===1&&C!=="^"&&C!=="$"&&C!=="."&&!T.ignoreCase?C:C.length===2&&C[0]==="\\"&&!qn(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],C[1])?C[1]:e.useSticky?noe(T):roe(T)}else{if(Ci(T))return i=!0,{exec:T};if(typeof T=="object")return i=!0,T;if(typeof T=="string"){if(T.length===1)return T;{let C=T.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),w=new RegExp(C);return e.useSticky?noe(w):roe(w)}}else throw Error("non exhaustive match")}})});let s,l,u,h,f;r("misc mapping",()=>{s=Je(n,b=>b.tokenTypeIdx),l=Je(n,b=>{let T=b.GROUP;if(T!==Xn.SKIPPED){if(bi(T))return T;if(gr(T))return!1;throw Error("non exhaustive match")}}),u=Je(n,b=>{let T=b.LONGER_ALT;if(T)return Pt(T)?Je(T,w=>rk(n,w)):[rk(n,T)]}),h=Je(n,b=>b.PUSH_MODE),f=Je(n,b=>Bt(b,"POP_MODE"))});let d;r("Line Terminator Handling",()=>{let b=foe(e.lineTerminatorCharacters);d=Je(n,T=>!1),e.positionTracking!=="onlyOffset"&&(d=Je(n,T=>Bt(T,"LINE_BREAKS")?!!T.LINE_BREAKS:hoe(T,b)===!1&&Wk(b,T.PATTERN)))});let p,m,g,y;r("Misc Mapping #2",()=>{p=Je(n,coe),m=Je(a,lFe),g=Yr(n,(b,T)=>{let C=T.GROUP;return bi(C)&&C!==Xn.SKIPPED&&(b[C]=[]),b},{}),y=Je(a,(b,T)=>({pattern:a[T],longerAlt:u[T],canLineTerminator:d[T],isCustom:p[T],short:m[T],group:l[T],push:h[T],pop:f[T],tokenTypeIdx:s[T],tokenType:n[T]}))});let v=!0,x=[];return e.safeMode||r("First Char Optimization",()=>{x=Yr(n,(b,T,C)=>{if(typeof T.PATTERN=="string"){let w=T.PATTERN.charCodeAt(0),E=Bc(w);sM(b,E,y[C])}else if(Pt(T.START_CHARS_HINT)){let w;Ae(T.START_CHARS_HINT,E=>{let _=typeof E=="string"?E.charCodeAt(0):E,A=Bc(_);w!==A&&(w=A,sM(b,A,y[C]))})}else if(Go(T.PATTERN))if(T.PATTERN.unicode)v=!1,e.ensureOptimizations&&Bg(`${fx} Unable to analyze < ${T.PATTERN.toString()} > pattern. + Please open an issue at: https://github.com/chevrotain/chevrotain/issues`+n)}}return[]}function bI(t,e,r){switch(t.type){case"Disjunction":for(let i=0;i{if(typeof u=="number")XE(u,e,r);else{let h=u;if(r===!0)for(let f=h.from;f<=h.to;f++)XE(f,e,r);else{for(let f=h.from;f<=h.to&&f=p1){let f=h.from>=p1?h.from:p1,d=h.to,p=Wc(f),m=Wc(d);for(let g=p;g<=m;g++)e[g]=g}}}});break;case"Group":bI(s.value,e,r);break;default:throw Error("Non Exhaustive Match")}let l=s.quantifier!==void 0&&s.quantifier.atLeast===0;if(s.type==="Group"&&TI(s)===!1||s.type!=="Group"&&l===!1)break}break;default:throw Error("non exhaustive match!")}return br(e)}function XE(t,e,r){let n=Wc(t);e[n]=n,r===!0&&aqe(t,e)}function aqe(t,e){let r=String.fromCharCode(t),n=r.toUpperCase();if(n!==r){let i=Wc(n.charCodeAt(0));e[i]=i}else{let i=r.toLowerCase();if(i!==r){let a=Wc(i.charCodeAt(0));e[a]=a}}}function Nue(t,e){return os(t.value,r=>{if(typeof r=="number")return jn(e,r);{let n=r;return os(e,i=>n.from<=i&&i<=n.to)!==void 0}})}function TI(t){let e=t.quantifier;return e&&e.atLeast===0?!0:t.value?Pt(t.value)?Ia(t.value,TI):TI(t.value):!1}function jE(t,e){if(e instanceof RegExp){let r=d1(e),n=new wI(t);return n.visit(r),n.found}else return os(e,r=>jn(t,r.charCodeAt(0)))!==void 0}var Mue,eb,wI,Oue=N(()=>{"use strict";qx();qt();h1();YE();kI();Mue="Complement Sets are not supported for first char optimization",eb=`Unable to use "first char" lexer optimizations: +`;o(Iue,"getOptimizedStartCodesIndices");o(bI,"firstCharOptimizedIndices");o(XE,"addOptimizedIdxToResult");o(aqe,"handleIgnoreCase");o(Nue,"findCode");o(TI,"isWholeOptional");wI=class extends Hc{static{o(this,"CharCodeFinder")}constructor(e){super(),this.targetCharCodes=e,this.found=!1}visitChildren(e){if(this.found!==!0){switch(e.type){case"Lookahead":this.visitLookahead(e);return;case"NegativeLookahead":this.visitNegativeLookahead(e);return}super.visitChildren(e)}}visitCharacter(e){jn(this.targetCharCodes,e.value)&&(this.found=!0)}visitSet(e){e.complement?Nue(e,this.targetCharCodes)===void 0&&(this.found=!0):Nue(e,this.targetCharCodes)!==void 0&&(this.found=!0)}};o(jE,"canMatchCharCode")});function Fue(t,e){e=af(e,{useSticky:SI,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",` +`],tracer:o((b,T)=>T(),"tracer")});let r=e.tracer;r("initCharCodeToOptimizedIndexMap",()=>{kqe()});let n;r("Reject Lexer.NA",()=>{n=of(t,b=>b[Bp]===Qn.NA)});let i=!1,a;r("Transform Patterns",()=>{i=!1,a=et(n,b=>{let T=b[Bp];if(Uo(T)){let S=T.source;return S.length===1&&S!=="^"&&S!=="$"&&S!=="."&&!T.ignoreCase?S:S.length===2&&S[0]==="\\"&&!jn(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],S[1])?S[1]:e.useSticky?Bue(T):Pue(T)}else{if(Ai(T))return i=!0,{exec:T};if(typeof T=="object")return i=!0,T;if(typeof T=="string"){if(T.length===1)return T;{let S=T.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),w=new RegExp(S);return e.useSticky?Bue(w):Pue(w)}}else throw Error("non exhaustive match")}})});let s,l,u,h,f;r("misc mapping",()=>{s=et(n,b=>b.tokenTypeIdx),l=et(n,b=>{let T=b.GROUP;if(T!==Qn.SKIPPED){if(bi(T))return T;if(gr(T))return!1;throw Error("non exhaustive match")}}),u=et(n,b=>{let T=b.LONGER_ALT;if(T)return Pt(T)?et(T,w=>lk(n,w)):[lk(n,T)]}),h=et(n,b=>b.PUSH_MODE),f=et(n,b=>Bt(b,"POP_MODE"))});let d;r("Line Terminator Handling",()=>{let b=que(e.lineTerminatorCharacters);d=et(n,T=>!1),e.positionTracking!=="onlyOffset"&&(d=et(n,T=>Bt(T,"LINE_BREAKS")?!!T.LINE_BREAKS:Wue(T,b)===!1&&jE(b,T.PATTERN)))});let p,m,g,y;r("Misc Mapping #2",()=>{p=et(n,Uue),m=et(a,Tqe),g=Xr(n,(b,T)=>{let S=T.GROUP;return bi(S)&&S!==Qn.SKIPPED&&(b[S]=[]),b},{}),y=et(a,(b,T)=>({pattern:a[T],longerAlt:u[T],canLineTerminator:d[T],isCustom:p[T],short:m[T],group:l[T],push:h[T],pop:f[T],tokenTypeIdx:s[T],tokenType:n[T]}))});let x=!0,v=[];return e.safeMode||r("First Char Optimization",()=>{v=Xr(n,(b,T,S)=>{if(typeof T.PATTERN=="string"){let w=T.PATTERN.charCodeAt(0),E=Wc(w);EI(b,E,y[S])}else if(Pt(T.START_CHARS_HINT)){let w;Ae(T.START_CHARS_HINT,E=>{let _=typeof E=="string"?E.charCodeAt(0):E,A=Wc(_);w!==A&&(w=A,EI(b,A,y[S]))})}else if(Uo(T.PATTERN))if(T.PATTERN.unicode)x=!1,e.ensureOptimizations&&u1(`${eb} Unable to analyze < ${T.PATTERN.toString()} > pattern. The regexp unicode flag is not currently supported by the regexp-to-ast library. This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{let w=eoe(T.PATTERN,e.ensureOptimizations);fr(w)&&(v=!1),Ae(w,E=>{sM(b,E,y[C])})}else e.ensureOptimizations&&Bg(`${fx} TokenType: <${T.name}> is using a custom token pattern without providing parameter. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{let w=Iue(T.PATTERN,e.ensureOptimizations);fr(w)&&(x=!1),Ae(w,E=>{EI(b,E,y[S])})}else e.ensureOptimizations&&u1(`${eb} TokenType: <${T.name}> is using a custom token pattern without providing parameter. This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),v=!1;return b},[])}),{emptyGroups:g,patternIdxToConfig:y,charCodeToPatternIdxToConfig:x,hasCustom:i,canBeOptimized:v}}function aoe(t,e){let r=[],n=XBe(t);r=r.concat(n.errors);let i=jBe(n.valid),a=i.valid;return r=r.concat(i.errors),r=r.concat(YBe(a)),r=r.concat(nFe(a)),r=r.concat(iFe(a,e)),r=r.concat(aFe(a)),r}function YBe(t){let e=[],r=qr(t,n=>Go(n[pp]));return e=e.concat(QBe(r)),e=e.concat(eFe(r)),e=e.concat(tFe(r)),e=e.concat(rFe(r)),e=e.concat(ZBe(r)),e}function XBe(t){let e=qr(t,i=>!Bt(i,pp)),r=Je(e,i=>({message:"Token Type: ->"+i.name+"<- missing static 'PATTERN' property",type:Yn.MISSING_PATTERN,tokenTypes:[i]})),n=ef(t,e);return{errors:r,valid:n}}function jBe(t){let e=qr(t,i=>{let a=i[pp];return!Go(a)&&!Ci(a)&&!Bt(a,"exec")&&!bi(a)}),r=Je(e,i=>({message:"Token Type: ->"+i.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:Yn.INVALID_PATTERN,tokenTypes:[i]})),n=ef(t,e);return{errors:r,valid:n}}function QBe(t){class e extends Pc{static{o(this,"EndAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitEndAnchor(a){this.found=!0}}let r=qr(t,i=>{let a=i.PATTERN;try{let s=zg(a),l=new e;return l.visit(s),l.found}catch{return KBe.test(a.source)}});return Je(r,i=>({message:`Unexpected RegExp Anchor Error: + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),x=!1;return b},[])}),{emptyGroups:g,patternIdxToConfig:y,charCodeToPatternIdxToConfig:v,hasCustom:i,canBeOptimized:x}}function $ue(t,e){let r=[],n=oqe(t);r=r.concat(n.errors);let i=lqe(n.valid),a=i.valid;return r=r.concat(i.errors),r=r.concat(sqe(a)),r=r.concat(gqe(a)),r=r.concat(yqe(a,e)),r=r.concat(vqe(a)),r}function sqe(t){let e=[],r=Yr(t,n=>Uo(n[Bp]));return e=e.concat(uqe(r)),e=e.concat(dqe(r)),e=e.concat(pqe(r)),e=e.concat(mqe(r)),e=e.concat(hqe(r)),e}function oqe(t){let e=Yr(t,i=>!Bt(i,Bp)),r=et(e,i=>({message:"Token Type: ->"+i.name+"<- missing static 'PATTERN' property",type:Kn.MISSING_PATTERN,tokenTypes:[i]})),n=sf(t,e);return{errors:r,valid:n}}function lqe(t){let e=Yr(t,i=>{let a=i[Bp];return!Uo(a)&&!Ai(a)&&!Bt(a,"exec")&&!bi(a)}),r=et(e,i=>({message:"Token Type: ->"+i.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:Kn.INVALID_PATTERN,tokenTypes:[i]})),n=sf(t,e);return{errors:r,valid:n}}function uqe(t){class e extends Hc{static{o(this,"EndAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitEndAnchor(a){this.found=!0}}let r=Yr(t,i=>{let a=i.PATTERN;try{let s=d1(a),l=new e;return l.visit(s),l.found}catch{return cqe.test(a.source)}});return et(r,i=>({message:`Unexpected RegExp Anchor Error: Token Type: ->`+i.name+`<- static 'PATTERN' cannot contain end of input anchor '$' - See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Yn.EOI_ANCHOR_FOUND,tokenTypes:[i]}))}function ZBe(t){let e=qr(t,n=>n.PATTERN.test(""));return Je(e,n=>({message:"Token Type: ->"+n.name+"<- static 'PATTERN' must not match an empty string",type:Yn.EMPTY_MATCH_PATTERN,tokenTypes:[n]}))}function eFe(t){class e extends Pc{static{o(this,"StartAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitStartAnchor(a){this.found=!0}}let r=qr(t,i=>{let a=i.PATTERN;try{let s=zg(a),l=new e;return l.visit(s),l.found}catch{return JBe.test(a.source)}});return Je(r,i=>({message:`Unexpected RegExp Anchor Error: + See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Kn.EOI_ANCHOR_FOUND,tokenTypes:[i]}))}function hqe(t){let e=Yr(t,n=>n.PATTERN.test(""));return et(e,n=>({message:"Token Type: ->"+n.name+"<- static 'PATTERN' must not match an empty string",type:Kn.EMPTY_MATCH_PATTERN,tokenTypes:[n]}))}function dqe(t){class e extends Hc{static{o(this,"StartAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitStartAnchor(a){this.found=!0}}let r=Yr(t,i=>{let a=i.PATTERN;try{let s=d1(a),l=new e;return l.visit(s),l.found}catch{return fqe.test(a.source)}});return et(r,i=>({message:`Unexpected RegExp Anchor Error: Token Type: ->`+i.name+`<- static 'PATTERN' cannot contain start of input anchor '^' - See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Yn.SOI_ANCHOR_FOUND,tokenTypes:[i]}))}function tFe(t){let e=qr(t,n=>{let i=n[pp];return i instanceof RegExp&&(i.multiline||i.global)});return Je(e,n=>({message:"Token Type: ->"+n.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:Yn.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[n]}))}function rFe(t){let e=[],r=Je(t,a=>Yr(t,(s,l)=>(a.PATTERN.source===l.PATTERN.source&&!qn(e,l)&&l.PATTERN!==Xn.NA&&(e.push(l),s.push(l)),s),[]));r=Sc(r);let n=qr(r,a=>a.length>1);return Je(n,a=>{let s=Je(a,u=>u.name);return{message:`The same RegExp pattern ->${ra(a).PATTERN}<-has been used in all of the following Token Types: ${s.join(", ")} <-`,type:Yn.DUPLICATE_PATTERNS_FOUND,tokenTypes:a}})}function nFe(t){let e=qr(t,n=>{if(!Bt(n,"GROUP"))return!1;let i=n.GROUP;return i!==Xn.SKIPPED&&i!==Xn.NA&&!bi(i)});return Je(e,n=>({message:"Token Type: ->"+n.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:Yn.INVALID_GROUP_TYPE_FOUND,tokenTypes:[n]}))}function iFe(t,e){let r=qr(t,i=>i.PUSH_MODE!==void 0&&!qn(e,i.PUSH_MODE));return Je(r,i=>({message:`Token Type: ->${i.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${i.PUSH_MODE}<-which does not exist`,type:Yn.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[i]}))}function aFe(t){let e=[],r=Yr(t,(n,i,a)=>{let s=i.PATTERN;return s===Xn.NA||(bi(s)?n.push({str:s,idx:a,tokenType:i}):Go(s)&&oFe(s)&&n.push({str:s.source,idx:a,tokenType:i})),n},[]);return Ae(t,(n,i)=>{Ae(r,({str:a,idx:s,tokenType:l})=>{if(i${l.name}<- can never be matched. + See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Kn.SOI_ANCHOR_FOUND,tokenTypes:[i]}))}function pqe(t){let e=Yr(t,n=>{let i=n[Bp];return i instanceof RegExp&&(i.multiline||i.global)});return et(e,n=>({message:"Token Type: ->"+n.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:Kn.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[n]}))}function mqe(t){let e=[],r=et(t,a=>Xr(t,(s,l)=>(a.PATTERN.source===l.PATTERN.source&&!jn(e,l)&&l.PATTERN!==Qn.NA&&(e.push(l),s.push(l)),s),[]));r=Cc(r);let n=Yr(r,a=>a.length>1);return et(n,a=>{let s=et(a,u=>u.name);return{message:`The same RegExp pattern ->${ta(a).PATTERN}<-has been used in all of the following Token Types: ${s.join(", ")} <-`,type:Kn.DUPLICATE_PATTERNS_FOUND,tokenTypes:a}})}function gqe(t){let e=Yr(t,n=>{if(!Bt(n,"GROUP"))return!1;let i=n.GROUP;return i!==Qn.SKIPPED&&i!==Qn.NA&&!bi(i)});return et(e,n=>({message:"Token Type: ->"+n.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:Kn.INVALID_GROUP_TYPE_FOUND,tokenTypes:[n]}))}function yqe(t,e){let r=Yr(t,i=>i.PUSH_MODE!==void 0&&!jn(e,i.PUSH_MODE));return et(r,i=>({message:`Token Type: ->${i.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${i.PUSH_MODE}<-which does not exist`,type:Kn.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[i]}))}function vqe(t){let e=[],r=Xr(t,(n,i,a)=>{let s=i.PATTERN;return s===Qn.NA||(bi(s)?n.push({str:s,idx:a,tokenType:i}):Uo(s)&&bqe(s)&&n.push({str:s.source,idx:a,tokenType:i})),n},[]);return Ae(t,(n,i)=>{Ae(r,({str:a,idx:s,tokenType:l})=>{if(i${l.name}<- can never be matched. Because it appears AFTER the Token Type ->${n.name}<-in the lexer's definition. -See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;e.push({message:u,type:Yn.UNREACHABLE_PATTERN,tokenTypes:[n,l]})}})}),e}function sFe(t,e){if(Go(e)){let r=e.exec(t);return r!==null&&r.index===0}else{if(Ci(e))return e(t,0,[],{});if(Bt(e,"exec"))return e.exec(t,0,[],{});if(typeof e=="string")return e===t;throw Error("non exhaustive match")}}function oFe(t){return is([".","\\","[","]","|","^","$","(",")","?","*","+","{"],r=>t.source.indexOf(r)!==-1)===void 0}function roe(t){let e=t.ignoreCase?"i":"";return new RegExp(`^(?:${t.source})`,e)}function noe(t){let e=t.ignoreCase?"iy":"y";return new RegExp(`${t.source}`,e)}function soe(t,e,r){let n=[];return Bt(t,Vg)||n.push({message:"A MultiMode Lexer cannot be initialized without a <"+Vg+`> property in its definition -`,type:Yn.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),Bt(t,qk)||n.push({message:"A MultiMode Lexer cannot be initialized without a <"+qk+`> property in its definition -`,type:Yn.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),Bt(t,qk)&&Bt(t,Vg)&&!Bt(t.modes,t.defaultMode)&&n.push({message:`A MultiMode Lexer cannot be initialized with a ${Vg}: <${t.defaultMode}>which does not exist -`,type:Yn.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),Bt(t,qk)&&Ae(t.modes,(i,a)=>{Ae(i,(s,l)=>{if(gr(s))n.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${a}> at index: <${l}> -`,type:Yn.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED});else if(Bt(s,"LONGER_ALT")){let u=Pt(s.LONGER_ALT)?s.LONGER_ALT:[s.LONGER_ALT];Ae(u,h=>{!gr(h)&&!qn(i,h)&&n.push({message:`A MultiMode Lexer cannot be initialized with a longer_alt <${h.name}> on token <${s.name}> outside of mode <${a}> -`,type:Yn.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})})}})}),n}function ooe(t,e,r){let n=[],i=!1,a=Sc(Wr(br(t.modes))),s=tf(a,u=>u[pp]===Xn.NA),l=foe(r);return e&&Ae(s,u=>{let h=hoe(u,l);if(h!==!1){let d={message:cFe(u,h),type:h.issue,tokenType:u};n.push(d)}else Bt(u,"LINE_BREAKS")?u.LINE_BREAKS===!0&&(i=!0):Wk(l,u.PATTERN)&&(i=!0)}),e&&!i&&n.push({message:`Warning: No LINE_BREAKS Found. +See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;e.push({message:u,type:Kn.UNREACHABLE_PATTERN,tokenTypes:[n,l]})}})}),e}function xqe(t,e){if(Uo(e)){let r=e.exec(t);return r!==null&&r.index===0}else{if(Ai(e))return e(t,0,[],{});if(Bt(e,"exec"))return e.exec(t,0,[],{});if(typeof e=="string")return e===t;throw Error("non exhaustive match")}}function bqe(t){return os([".","\\","[","]","|","^","$","(",")","?","*","+","{"],r=>t.source.indexOf(r)!==-1)===void 0}function Pue(t){let e=t.ignoreCase?"i":"";return new RegExp(`^(?:${t.source})`,e)}function Bue(t){let e=t.ignoreCase?"iy":"y";return new RegExp(`${t.source}`,e)}function Gue(t,e,r){let n=[];return Bt(t,m1)||n.push({message:"A MultiMode Lexer cannot be initialized without a <"+m1+`> property in its definition +`,type:Kn.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),Bt(t,KE)||n.push({message:"A MultiMode Lexer cannot be initialized without a <"+KE+`> property in its definition +`,type:Kn.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),Bt(t,KE)&&Bt(t,m1)&&!Bt(t.modes,t.defaultMode)&&n.push({message:`A MultiMode Lexer cannot be initialized with a ${m1}: <${t.defaultMode}>which does not exist +`,type:Kn.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),Bt(t,KE)&&Ae(t.modes,(i,a)=>{Ae(i,(s,l)=>{if(gr(s))n.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${a}> at index: <${l}> +`,type:Kn.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED});else if(Bt(s,"LONGER_ALT")){let u=Pt(s.LONGER_ALT)?s.LONGER_ALT:[s.LONGER_ALT];Ae(u,h=>{!gr(h)&&!jn(i,h)&&n.push({message:`A MultiMode Lexer cannot be initialized with a longer_alt <${h.name}> on token <${s.name}> outside of mode <${a}> +`,type:Kn.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})})}})}),n}function zue(t,e,r){let n=[],i=!1,a=Cc(qr(br(t.modes))),s=of(a,u=>u[Bp]===Qn.NA),l=que(r);return e&&Ae(s,u=>{let h=Wue(u,l);if(h!==!1){let d={message:wqe(u,h),type:h.issue,tokenType:u};n.push(d)}else Bt(u,"LINE_BREAKS")?u.LINE_BREAKS===!0&&(i=!0):jE(l,u.PATTERN)&&(i=!0)}),e&&!i&&n.push({message:`Warning: No LINE_BREAKS Found. This Lexer has been defined to track line and column information, But none of the Token Types can be identified as matching a line terminator. See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS - for details.`,type:Yn.NO_LINE_BREAKS_FLAGS}),n}function loe(t){let e={},r=$r(t);return Ae(r,n=>{let i=t[n];if(Pt(i))e[n]=[];else throw Error("non exhaustive match")}),e}function coe(t){let e=t.PATTERN;if(Go(e))return!1;if(Ci(e))return!0;if(Bt(e,"exec"))return!0;if(bi(e))return!1;throw Error("non exhaustive match")}function lFe(t){return bi(t)&&t.length===1?t.charCodeAt(0):!1}function hoe(t,e){if(Bt(t,"LINE_BREAKS"))return!1;if(Go(t.PATTERN)){try{Wk(e,t.PATTERN)}catch(r){return{issue:Yn.IDENTIFY_TERMINATOR,errMsg:r.message}}return!1}else{if(bi(t.PATTERN))return!1;if(coe(t))return{issue:Yn.CUSTOM_LINE_BREAK};throw Error("non exhaustive match")}}function cFe(t,e){if(e.issue===Yn.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern. + for details.`,type:Kn.NO_LINE_BREAKS_FLAGS}),n}function Vue(t){let e={},r=Gr(t);return Ae(r,n=>{let i=t[n];if(Pt(i))e[n]=[];else throw Error("non exhaustive match")}),e}function Uue(t){let e=t.PATTERN;if(Uo(e))return!1;if(Ai(e))return!0;if(Bt(e,"exec"))return!0;if(bi(e))return!1;throw Error("non exhaustive match")}function Tqe(t){return bi(t)&&t.length===1?t.charCodeAt(0):!1}function Wue(t,e){if(Bt(t,"LINE_BREAKS"))return!1;if(Uo(t.PATTERN)){try{jE(e,t.PATTERN)}catch(r){return{issue:Kn.IDENTIFY_TERMINATOR,errMsg:r.message}}return!1}else{if(bi(t.PATTERN))return!1;if(Uue(t))return{issue:Kn.CUSTOM_LINE_BREAK};throw Error("non exhaustive match")}}function wqe(t,e){if(e.issue===Kn.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern. The problem is in the <${t.name}> Token Type Root cause: ${e.errMsg}. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(e.issue===Yn.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(e.issue===Kn.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. The problem is in the <${t.name}> Token Type - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}function foe(t){return Je(t,r=>bi(r)?r.charCodeAt(0):r)}function sM(t,e,r){t[e]===void 0?t[e]=[r]:t[e].push(r)}function Bc(t){return t255?255+~~(t/255):t}}var pp,Vg,qk,oM,KBe,JBe,uoe,Gg,Yk,aM=N(()=>{"use strict";ix();dx();Yt();Fg();toe();Uk();pp="PATTERN",Vg="defaultMode",qk="modes",oM=typeof new RegExp("(?:)").sticky=="boolean";o(ioe,"analyzeTokenTypes");o(aoe,"validatePatterns");o(YBe,"validateRegExpPattern");o(XBe,"findMissingPatterns");o(jBe,"findInvalidPatterns");KBe=/[^\\][$]/;o(QBe,"findEndOfInputAnchor");o(ZBe,"findEmptyMatchRegExps");JBe=/[^\\[][\^]|^\^/;o(eFe,"findStartOfInputAnchor");o(tFe,"findUnsupportedFlags");o(rFe,"findDuplicatePatterns");o(nFe,"findInvalidGroupType");o(iFe,"findModesThatDoNotExist");o(aFe,"findUnreachablePatterns");o(sFe,"testTokenType");o(oFe,"noMetaChar");o(roe,"addStartOfInput");o(noe,"addStickyFlag");o(soe,"performRuntimeChecks");o(ooe,"performWarningRuntimeChecks");o(loe,"cloneEmptyGroups");o(coe,"isCustomPattern");o(lFe,"isShortPattern");uoe={test:o(function(t){let e=t.length;for(let r=this.lastIndex;r{r.isParent=r.categoryMatches.length>0})}function hFe(t){let e=nn(t),r=t,n=!0;for(;n;){r=Sc(Wr(Je(r,a=>a.CATEGORIES)));let i=ef(r,e);e=e.concat(i),fr(i)?n=!1:r=i}return e}function fFe(t){Ae(t,e=>{lM(e)||(moe[doe]=e,e.tokenTypeIdx=doe++),poe(e)&&!Pt(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),poe(e)||(e.CATEGORIES=[]),mFe(e)||(e.categoryMatches=[]),gFe(e)||(e.categoryMatchesMap={})})}function dFe(t){Ae(t,e=>{e.categoryMatches=[],Ae(e.categoryMatchesMap,(r,n)=>{e.categoryMatches.push(moe[n].tokenTypeIdx)})})}function pFe(t){Ae(t,e=>{goe([],e)})}function goe(t,e){Ae(t,r=>{e.categoryMatchesMap[r.tokenTypeIdx]=!0}),Ae(e.CATEGORIES,r=>{let n=t.concat(e);qn(n,r)||goe(n,r)})}function lM(t){return Bt(t,"tokenTypeIdx")}function poe(t){return Bt(t,"CATEGORIES")}function mFe(t){return Bt(t,"categoryMatches")}function gFe(t){return Bt(t,"categoryMatchesMap")}function yoe(t){return Bt(t,"tokenTypeIdx")}var doe,moe,mp=N(()=>{"use strict";Yt();o(Fu,"tokenStructuredMatcher");o(Ug,"tokenStructuredMatcherNoCategories");doe=1,moe={};o($u,"augmentTokenTypes");o(hFe,"expandCategories");o(fFe,"assignTokenDefaultProps");o(dFe,"assignCategoriesTokensProp");o(pFe,"assignCategoriesMapProp");o(goe,"singleAssignCategoriesToksMap");o(lM,"hasShortKeyProperty");o(poe,"hasCategoriesProperty");o(mFe,"hasExtendingTokensTypesProperty");o(gFe,"hasExtendingTokensTypesMapProperty");o(yoe,"isTokenType")});var Hg,cM=N(()=>{"use strict";Hg={buildUnableToPopLexerModeMessage(t){return`Unable to pop Lexer Mode after encountering Token ->${t.image}<- The Mode Stack is empty`},buildUnexpectedCharactersMessage(t,e,r,n,i){return`unexpected character: ->${t.charAt(e)}<- at offset: ${e}, skipped ${r} characters.`}}});var Yn,px,Xn,dx=N(()=>{"use strict";aM();Yt();Fg();mp();cM();Uk();(function(t){t[t.MISSING_PATTERN=0]="MISSING_PATTERN",t[t.INVALID_PATTERN=1]="INVALID_PATTERN",t[t.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",t[t.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",t[t.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",t[t.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",t[t.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",t[t.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",t[t.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",t[t.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",t[t.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",t[t.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",t[t.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",t[t.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",t[t.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",t[t.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",t[t.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",t[t.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE"})(Yn||(Yn={}));px={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[` -`,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:Hg,traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(px);Xn=class{static{o(this,"Lexer")}constructor(e,r=px){if(this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(i,a)=>{if(this.traceInitPerf===!0){this.traceInitIndent++;let s=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${i}>`);let{time:l,value:u}=ux(a),h=l>10?console.warn:console.log;return this.traceInitIndent time: ${l}ms`),this.traceInitIndent--,u}else return a()},typeof r=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object. -a boolean 2nd argument is no longer supported`);this.config=fa({},px,r);let n=this.config.traceInitPerf;n===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof n=="number"&&(this.traceInitMaxIdent=n,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",()=>{let i,a=!0;this.TRACE_INIT("Lexer Config handling",()=>{if(this.config.lineTerminatorsPattern===px.lineTerminatorsPattern)this.config.lineTerminatorsPattern=uoe;else if(this.config.lineTerminatorCharacters===px.lineTerminatorCharacters)throw Error(`Error: Missing property on the Lexer config. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(r.safeMode&&r.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),Pt(e)?i={modes:{defaultMode:nn(e)},defaultMode:Vg}:(a=!1,i=nn(e))}),this.config.skipValidations===!1&&(this.TRACE_INIT("performRuntimeChecks",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(soe(i,this.trackStartLines,this.config.lineTerminatorCharacters))}),this.TRACE_INIT("performWarningRuntimeChecks",()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(ooe(i,this.trackStartLines,this.config.lineTerminatorCharacters))})),i.modes=i.modes?i.modes:{},Ae(i.modes,(l,u)=>{i.modes[u]=tf(l,h=>gr(h))});let s=$r(i.modes);if(Ae(i.modes,(l,u)=>{this.TRACE_INIT(`Mode: <${u}> processing`,()=>{if(this.modes.push(u),this.config.skipValidations===!1&&this.TRACE_INIT("validatePatterns",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(aoe(l,s))}),fr(this.lexerDefinitionErrors)){$u(l);let h;this.TRACE_INIT("analyzeTokenTypes",()=>{h=ioe(l,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:r.positionTracking,ensureOptimizations:r.ensureOptimizations,safeMode:r.safeMode,tracer:this.TRACE_INIT})}),this.patternIdxToConfig[u]=h.patternIdxToConfig,this.charCodeToPatternIdxToConfig[u]=h.charCodeToPatternIdxToConfig,this.emptyGroups=fa({},this.emptyGroups,h.emptyGroups),this.hasCustom=h.hasCustom||this.hasCustom,this.canModeBeOptimized[u]=h.canBeOptimized}})}),this.defaultMode=i.defaultMode,!fr(this.lexerDefinitionErrors)&&!this.config.deferDefinitionErrorsHandling){let u=Je(this.lexerDefinitionErrors,h=>h.message).join(`----------------------- + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}function que(t){return et(t,r=>bi(r)?r.charCodeAt(0):r)}function EI(t,e,r){t[e]===void 0?t[e]=[r]:t[e].push(r)}function Wc(t){return t255?255+~~(t/255):t}}var Bp,m1,KE,SI,cqe,fqe,Hue,p1,QE,kI=N(()=>{"use strict";qx();tb();qt();h1();Oue();YE();Bp="PATTERN",m1="defaultMode",KE="modes",SI=typeof new RegExp("(?:)").sticky=="boolean";o(Fue,"analyzeTokenTypes");o($ue,"validatePatterns");o(sqe,"validateRegExpPattern");o(oqe,"findMissingPatterns");o(lqe,"findInvalidPatterns");cqe=/[^\\][$]/;o(uqe,"findEndOfInputAnchor");o(hqe,"findEmptyMatchRegExps");fqe=/[^\\[][\^]|^\^/;o(dqe,"findStartOfInputAnchor");o(pqe,"findUnsupportedFlags");o(mqe,"findDuplicatePatterns");o(gqe,"findInvalidGroupType");o(yqe,"findModesThatDoNotExist");o(vqe,"findUnreachablePatterns");o(xqe,"testTokenType");o(bqe,"noMetaChar");o(Pue,"addStartOfInput");o(Bue,"addStickyFlag");o(Gue,"performRuntimeChecks");o(zue,"performWarningRuntimeChecks");o(Vue,"cloneEmptyGroups");o(Uue,"isCustomPattern");o(Tqe,"isShortPattern");Hue={test:o(function(t){let e=t.length;for(let r=this.lastIndex;r{r.isParent=r.categoryMatches.length>0})}function Eqe(t){let e=an(t),r=t,n=!0;for(;n;){r=Cc(qr(et(r,a=>a.CATEGORIES)));let i=sf(r,e);e=e.concat(i),fr(i)?n=!1:r=i}return e}function Sqe(t){Ae(t,e=>{CI(e)||(jue[Yue]=e,e.tokenTypeIdx=Yue++),Xue(e)&&!Pt(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),Xue(e)||(e.CATEGORIES=[]),_qe(e)||(e.categoryMatches=[]),Dqe(e)||(e.categoryMatchesMap={})})}function Cqe(t){Ae(t,e=>{e.categoryMatches=[],Ae(e.categoryMatchesMap,(r,n)=>{e.categoryMatches.push(jue[n].tokenTypeIdx)})})}function Aqe(t){Ae(t,e=>{Kue([],e)})}function Kue(t,e){Ae(t,r=>{e.categoryMatchesMap[r.tokenTypeIdx]=!0}),Ae(e.CATEGORIES,r=>{let n=t.concat(e);jn(n,r)||Kue(n,r)})}function CI(t){return Bt(t,"tokenTypeIdx")}function Xue(t){return Bt(t,"CATEGORIES")}function _qe(t){return Bt(t,"categoryMatches")}function Dqe(t){return Bt(t,"categoryMatchesMap")}function Que(t){return Bt(t,"tokenTypeIdx")}var Yue,jue,Fp=N(()=>{"use strict";qt();o(Wu,"tokenStructuredMatcher");o(g1,"tokenStructuredMatcherNoCategories");Yue=1,jue={};o(qu,"augmentTokenTypes");o(Eqe,"expandCategories");o(Sqe,"assignTokenDefaultProps");o(Cqe,"assignCategoriesTokensProp");o(Aqe,"assignCategoriesMapProp");o(Kue,"singleAssignCategoriesToksMap");o(CI,"hasShortKeyProperty");o(Xue,"hasCategoriesProperty");o(_qe,"hasExtendingTokensTypesProperty");o(Dqe,"hasExtendingTokensTypesMapProperty");o(Que,"isTokenType")});var y1,AI=N(()=>{"use strict";y1={buildUnableToPopLexerModeMessage(t){return`Unable to pop Lexer Mode after encountering Token ->${t.image}<- The Mode Stack is empty`},buildUnexpectedCharactersMessage(t,e,r,n,i){return`unexpected character: ->${t.charAt(e)}<- at offset: ${e}, skipped ${r} characters.`}}});var Kn,rb,Qn,tb=N(()=>{"use strict";kI();qt();h1();Fp();AI();YE();(function(t){t[t.MISSING_PATTERN=0]="MISSING_PATTERN",t[t.INVALID_PATTERN=1]="INVALID_PATTERN",t[t.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",t[t.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",t[t.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",t[t.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",t[t.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",t[t.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",t[t.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",t[t.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",t[t.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",t[t.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",t[t.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",t[t.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",t[t.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",t[t.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",t[t.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",t[t.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE"})(Kn||(Kn={}));rb={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[` +`,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:y1,traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(rb);Qn=class{static{o(this,"Lexer")}constructor(e,r=rb){if(this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(i,a)=>{if(this.traceInitPerf===!0){this.traceInitIndent++;let s=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${i}>`);let{time:l,value:u}=Zx(a),h=l>10?console.warn:console.log;return this.traceInitIndent time: ${l}ms`),this.traceInitIndent--,u}else return a()},typeof r=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object. +a boolean 2nd argument is no longer supported`);this.config=da({},rb,r);let n=this.config.traceInitPerf;n===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof n=="number"&&(this.traceInitMaxIdent=n,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",()=>{let i,a=!0;this.TRACE_INIT("Lexer Config handling",()=>{if(this.config.lineTerminatorsPattern===rb.lineTerminatorsPattern)this.config.lineTerminatorsPattern=Hue;else if(this.config.lineTerminatorCharacters===rb.lineTerminatorCharacters)throw Error(`Error: Missing property on the Lexer config. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(r.safeMode&&r.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),Pt(e)?i={modes:{defaultMode:an(e)},defaultMode:m1}:(a=!1,i=an(e))}),this.config.skipValidations===!1&&(this.TRACE_INIT("performRuntimeChecks",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(Gue(i,this.trackStartLines,this.config.lineTerminatorCharacters))}),this.TRACE_INIT("performWarningRuntimeChecks",()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(zue(i,this.trackStartLines,this.config.lineTerminatorCharacters))})),i.modes=i.modes?i.modes:{},Ae(i.modes,(l,u)=>{i.modes[u]=of(l,h=>gr(h))});let s=Gr(i.modes);if(Ae(i.modes,(l,u)=>{this.TRACE_INIT(`Mode: <${u}> processing`,()=>{if(this.modes.push(u),this.config.skipValidations===!1&&this.TRACE_INIT("validatePatterns",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat($ue(l,s))}),fr(this.lexerDefinitionErrors)){qu(l);let h;this.TRACE_INIT("analyzeTokenTypes",()=>{h=Fue(l,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:r.positionTracking,ensureOptimizations:r.ensureOptimizations,safeMode:r.safeMode,tracer:this.TRACE_INIT})}),this.patternIdxToConfig[u]=h.patternIdxToConfig,this.charCodeToPatternIdxToConfig[u]=h.charCodeToPatternIdxToConfig,this.emptyGroups=da({},this.emptyGroups,h.emptyGroups),this.hasCustom=h.hasCustom||this.hasCustom,this.canModeBeOptimized[u]=h.canBeOptimized}})}),this.defaultMode=i.defaultMode,!fr(this.lexerDefinitionErrors)&&!this.config.deferDefinitionErrorsHandling){let u=et(this.lexerDefinitionErrors,h=>h.message).join(`----------------------- `);throw new Error(`Errors detected in definition of Lexer: -`+u)}Ae(this.lexerDefinitionWarning,l=>{cx(l.message)}),this.TRACE_INIT("Choosing sub-methods implementations",()=>{if(oM?(this.chopInput=Ji,this.match=this.matchWithTest):(this.updateLastIndex=ai,this.match=this.matchWithExec),a&&(this.handleModes=ai),this.trackStartLines===!1&&(this.computeNewColumn=Ji),this.trackEndLines===!1&&(this.updateTokenEndLineColumnLocation=ai),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else if(/onlyOffset/i.test(this.config.positionTracking))this.createTokenInstance=this.createOffsetOnlyToken;else throw Error(`Invalid config option: "${this.config.positionTracking}"`);this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)}),this.TRACE_INIT("Failed Optimization Warnings",()=>{let l=Yr(this.canModeBeOptimized,(u,h,f)=>(h===!1&&u.push(f),u),[]);if(r.ensureOptimizations&&!fr(l))throw Error(`Lexer Modes: < ${l.join(", ")} > cannot be optimized. +`+u)}Ae(this.lexerDefinitionWarning,l=>{Qx(l.message)}),this.TRACE_INIT("Choosing sub-methods implementations",()=>{if(SI?(this.chopInput=Zi,this.match=this.matchWithTest):(this.updateLastIndex=si,this.match=this.matchWithExec),a&&(this.handleModes=si),this.trackStartLines===!1&&(this.computeNewColumn=Zi),this.trackEndLines===!1&&(this.updateTokenEndLineColumnLocation=si),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else if(/onlyOffset/i.test(this.config.positionTracking))this.createTokenInstance=this.createOffsetOnlyToken;else throw Error(`Invalid config option: "${this.config.positionTracking}"`);this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)}),this.TRACE_INIT("Failed Optimization Warnings",()=>{let l=Xr(this.canModeBeOptimized,(u,h,f)=>(h===!1&&u.push(f),u),[]);if(r.ensureOptimizations&&!fr(l))throw Error(`Lexer Modes: < ${l.join(", ")} > cannot be optimized. Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode. - Or inspect the console log for details on how to resolve these issues.`)}),this.TRACE_INIT("clearRegExpParserCache",()=>{Qse()}),this.TRACE_INIT("toFastProperties",()=>{hx(this)})})}tokenize(e,r=this.defaultMode){if(!fr(this.lexerDefinitionErrors)){let i=Je(this.lexerDefinitionErrors,a=>a.message).join(`----------------------- + Or inspect the console log for details on how to resolve these issues.`)}),this.TRACE_INIT("clearRegExpParserCache",()=>{Rue()}),this.TRACE_INIT("toFastProperties",()=>{Jx(this)})})}tokenize(e,r=this.defaultMode){if(!fr(this.lexerDefinitionErrors)){let i=et(this.lexerDefinitionErrors,a=>a.message).join(`----------------------- `);throw new Error(`Unable to Tokenize because Errors detected in definition of Lexer: -`+i)}return this.tokenizeInternal(e,r)}tokenizeInternal(e,r){let n,i,a,s,l,u,h,f,d,p,m,g,y,v,x,b,T=e,C=T.length,w=0,E=0,_=this.hasCustom?0:Math.floor(e.length/10),A=new Array(_),D=[],O=this.trackStartLines?1:void 0,R=this.trackStartLines?1:void 0,k=loe(this.emptyGroups),L=this.trackStartLines,S=this.config.lineTerminatorsPattern,I=0,M=[],P=[],B=[],F=[];Object.freeze(F);let z;function $(){return M}o($,"getPossiblePatternsSlow");function U(Z){let ue=Bc(Z),Q=P[ue];return Q===void 0?F:Q}o(U,"getPossiblePatternsOptimized");let K=o(Z=>{if(B.length===1&&Z.tokenType.PUSH_MODE===void 0){let ue=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(Z);D.push({offset:Z.startOffset,line:Z.startLine,column:Z.startColumn,length:Z.image.length,message:ue})}else{B.pop();let ue=da(B);M=this.patternIdxToConfig[ue],P=this.charCodeToPatternIdxToConfig[ue],I=M.length;let Q=this.canModeBeOptimized[ue]&&this.config.safeMode===!1;P&&Q?z=U:z=$}},"pop_mode");function ee(Z){B.push(Z),P=this.charCodeToPatternIdxToConfig[Z],M=this.patternIdxToConfig[Z],I=M.length,I=M.length;let ue=this.canModeBeOptimized[Z]&&this.config.safeMode===!1;P&&ue?z=U:z=$}o(ee,"push_mode"),ee.call(this,r);let Y,ce=this.config.recoveryEnabled;for(;wu.length){u=s,h=f,Y=he;break}}}break}}if(u!==null){if(d=u.length,p=Y.group,p!==void 0&&(m=Y.tokenTypeIdx,g=this.createTokenInstance(u,w,m,Y.tokenType,O,R,d),this.handlePayload(g,h),p===!1?E=this.addToken(A,E,g):k[p].push(g)),e=this.chopInput(e,d),w=w+d,R=this.computeNewColumn(R,d),L===!0&&Y.canLineTerminator===!0){let j=0,ne,te;S.lastIndex=0;do ne=S.test(u),ne===!0&&(te=S.lastIndex-1,j++);while(ne===!0);j!==0&&(O=O+j,R=d-te,this.updateTokenEndLineColumnLocation(g,p,te,j,O,R,d))}this.handleModes(Y,K,ee,g)}else{let j=w,ne=O,te=R,he=ce===!1;for(;he===!1&&w{"use strict";Yt();dx();mp();o(zu,"tokenLabel");o(uM,"hasTokenLabel");yFe="parent",voe="categories",xoe="label",boe="group",Toe="push_mode",woe="pop_mode",koe="longer_alt",Eoe="line_breaks",Soe="start_chars_hint";o(cf,"createToken");o(vFe,"createTokenInternal");uo=cf({name:"EOF",pattern:Xn.NA});$u([uo]);o(Gu,"createTokenInstance");o(mx,"tokenMatcher")});var Vu,Coe,Bl,Wg=N(()=>{"use strict";gp();Yt();ls();Vu={buildMismatchTokenMessage({expected:t,actual:e,previous:r,ruleName:n}){return`Expecting ${uM(t)?`--> ${zu(t)} <--`:`token of type --> ${t.name} <--`} but found --> '${e.image}' <--`},buildNotAllInputParsedMessage({firstRedundant:t,ruleName:e}){return"Redundant input, expecting EOF but found: "+t.image},buildNoViableAltMessage({expectedPathsPerAlt:t,actual:e,previous:r,customUserDescription:n,ruleName:i}){let a="Expecting: ",l=` -but found: '`+ra(e).image+"'";if(n)return a+n+l;{let u=Yr(t,(p,m)=>p.concat(m),[]),h=Je(u,p=>`[${Je(p,m=>zu(m)).join(", ")}]`),d=`one of these possible Token sequences: -${Je(h,(p,m)=>` ${m+1}. ${p}`).join(` +`+i)}return this.tokenizeInternal(e,r)}tokenizeInternal(e,r){let n,i,a,s,l,u,h,f,d,p,m,g,y,x,v,b,T=e,S=T.length,w=0,E=0,_=this.hasCustom?0:Math.floor(e.length/10),A=new Array(_),D=[],O=this.trackStartLines?1:void 0,R=this.trackStartLines?1:void 0,k=Vue(this.emptyGroups),L=this.trackStartLines,C=this.config.lineTerminatorsPattern,I=0,M=[],P=[],B=[],F=[];Object.freeze(F);let G;function $(){return M}o($,"getPossiblePatternsSlow");function U(Z){let ce=Wc(Z),Q=P[ce];return Q===void 0?F:Q}o(U,"getPossiblePatternsOptimized");let K=o(Z=>{if(B.length===1&&Z.tokenType.PUSH_MODE===void 0){let ce=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(Z);D.push({offset:Z.startOffset,line:Z.startLine,column:Z.startColumn,length:Z.image.length,message:ce})}else{B.pop();let ce=pa(B);M=this.patternIdxToConfig[ce],P=this.charCodeToPatternIdxToConfig[ce],I=M.length;let Q=this.canModeBeOptimized[ce]&&this.config.safeMode===!1;P&&Q?G=U:G=$}},"pop_mode");function ne(Z){B.push(Z),P=this.charCodeToPatternIdxToConfig[Z],M=this.patternIdxToConfig[Z],I=M.length,I=M.length;let ce=this.canModeBeOptimized[Z]&&this.config.safeMode===!1;P&&ce?G=U:G=$}o(ne,"push_mode"),ne.call(this,r);let j,le=this.config.recoveryEnabled;for(;wu.length){u=s,h=f,j=he;break}}}break}}if(u!==null){if(d=u.length,p=j.group,p!==void 0&&(m=j.tokenTypeIdx,g=this.createTokenInstance(u,w,m,j.tokenType,O,R,d),this.handlePayload(g,h),p===!1?E=this.addToken(A,E,g):k[p].push(g)),e=this.chopInput(e,d),w=w+d,R=this.computeNewColumn(R,d),L===!0&&j.canLineTerminator===!0){let ee=0,te,re;C.lastIndex=0;do te=C.test(u),te===!0&&(re=C.lastIndex-1,ee++);while(te===!0);ee!==0&&(O=O+ee,R=d-re,this.updateTokenEndLineColumnLocation(g,p,re,ee,O,R,d))}this.handleModes(j,K,ne,g)}else{let ee=w,te=O,re=R,he=le===!1;for(;he===!1&&w{"use strict";qt();tb();Fp();o(Yu,"tokenLabel");o(_I,"hasTokenLabel");Lqe="parent",Zue="categories",Jue="label",ehe="group",the="push_mode",rhe="pop_mode",nhe="longer_alt",ihe="line_breaks",ahe="start_chars_hint";o(Rf,"createToken");o(Rqe,"createTokenInternal");go=Rf({name:"EOF",pattern:Qn.NA});qu([go]);o(Xu,"createTokenInstance");o(nb,"tokenMatcher")});var ju,she,zl,v1=N(()=>{"use strict";$p();qt();ds();ju={buildMismatchTokenMessage({expected:t,actual:e,previous:r,ruleName:n}){return`Expecting ${_I(t)?`--> ${Yu(t)} <--`:`token of type --> ${t.name} <--`} but found --> '${e.image}' <--`},buildNotAllInputParsedMessage({firstRedundant:t,ruleName:e}){return"Redundant input, expecting EOF but found: "+t.image},buildNoViableAltMessage({expectedPathsPerAlt:t,actual:e,previous:r,customUserDescription:n,ruleName:i}){let a="Expecting: ",l=` +but found: '`+ta(e).image+"'";if(n)return a+n+l;{let u=Xr(t,(p,m)=>p.concat(m),[]),h=et(u,p=>`[${et(p,m=>Yu(m)).join(", ")}]`),d=`one of these possible Token sequences: +${et(h,(p,m)=>` ${m+1}. ${p}`).join(` `)}`;return a+d+l}},buildEarlyExitMessage({expectedIterationPaths:t,actual:e,customUserDescription:r,ruleName:n}){let i="Expecting: ",s=` -but found: '`+ra(e).image+"'";if(r)return i+r+s;{let u=`expecting at least one iteration which starts with one of these possible Token sequences:: - <${Je(t,h=>`[${Je(h,f=>zu(f)).join(",")}]`).join(" ,")}>`;return i+u+s}}};Object.freeze(Vu);Coe={buildRuleNotFoundError(t,e){return"Invalid grammar, reference to a rule which is not defined: ->"+e.nonTerminalName+`<- -inside top level rule: ->`+t.name+"<-"}},Bl={buildDuplicateFoundError(t,e){function r(f){return f instanceof kr?f.terminalType.name:f instanceof sn?f.nonTerminalName:""}o(r,"getExtraProductionArgument");let n=t.name,i=ra(e),a=i.idx,s=zs(i),l=r(i),u=a>0,h=`->${s}${u?a:""}<- ${l?`with argument: ->${l}<-`:""} +but found: '`+ta(e).image+"'";if(r)return i+r+s;{let u=`expecting at least one iteration which starts with one of these possible Token sequences:: + <${et(t,h=>`[${et(h,f=>Yu(f)).join(",")}]`).join(" ,")}>`;return i+u+s}}};Object.freeze(ju);she={buildRuleNotFoundError(t,e){return"Invalid grammar, reference to a rule which is not defined: ->"+e.nonTerminalName+`<- +inside top level rule: ->`+t.name+"<-"}},zl={buildDuplicateFoundError(t,e){function r(f){return f instanceof Er?f.terminalType.name:f instanceof cn?f.nonTerminalName:""}o(r,"getExtraProductionArgument");let n=t.name,i=ta(e),a=i.idx,s=qs(i),l=r(i),u=a>0,h=`->${s}${u?a:""}<- ${l?`with argument: ->${l}<-`:""} appears more than once (${e.length} times) in the top level rule: ->${n}<-. For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES `;return h=h.replace(/[ \t]+/g," "),h=h.replace(/\s\s+/g,` @@ -770,78 +1016,78 @@ inside top level rule: ->`+t.name+"<-"}},Bl={buildDuplicateFoundError(t,e){funct The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${t.name}>. To resolve this make sure each Terminal and Non-Terminal names are unique This is easy to accomplish by using the convention that Terminal names start with an uppercase letter -and Non-Terminal names start with a lower case letter.`},buildAlternationPrefixAmbiguityError(t){let e=Je(t.prefixPath,i=>zu(i)).join(", "),r=t.alternation.idx===0?"":t.alternation.idx;return`Ambiguous alternatives: <${t.ambiguityIndices.join(" ,")}> due to common lookahead prefix +and Non-Terminal names start with a lower case letter.`},buildAlternationPrefixAmbiguityError(t){let e=et(t.prefixPath,i=>Yu(i)).join(", "),r=t.alternation.idx===0?"":t.alternation.idx;return`Ambiguous alternatives: <${t.ambiguityIndices.join(" ,")}> due to common lookahead prefix in inside <${t.topLevelRule.name}> Rule, <${e}> may appears as a prefix path in all these alternatives. See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX -For Further details.`},buildAlternationAmbiguityError(t){let e=Je(t.prefixPath,i=>zu(i)).join(", "),r=t.alternation.idx===0?"":t.alternation.idx,n=`Ambiguous Alternatives Detected: <${t.ambiguityIndices.join(" ,")}> in inside <${t.topLevelRule.name}> Rule, +For Further details.`},buildAlternationAmbiguityError(t){let e=et(t.prefixPath,i=>Yu(i)).join(", "),r=t.alternation.idx===0?"":t.alternation.idx,n=`Ambiguous Alternatives Detected: <${t.ambiguityIndices.join(" ,")}> in inside <${t.topLevelRule.name}> Rule, <${e}> may appears as a prefix path in all these alternatives. `;return n=n+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES -For Further details.`,n},buildEmptyRepetitionError(t){let e=zs(t.repetition);return t.repetition.idx!==0&&(e+=t.repetition.idx),`The repetition <${e}> within Rule <${t.topLevelRule.name}> can never consume any tokens. +For Further details.`,n},buildEmptyRepetitionError(t){let e=qs(t.repetition);return t.repetition.idx!==0&&(e+=t.repetition.idx),`The repetition <${e}> within Rule <${t.topLevelRule.name}> can never consume any tokens. This could lead to an infinite loop.`},buildTokenNameError(t){return"deprecated"},buildEmptyAlternationError(t){return`Ambiguous empty alternative: <${t.emptyChoiceIdx+1}> in inside <${t.topLevelRule.name}> Rule. Only the last alternative may be an empty alternative.`},buildTooManyAlternativesError(t){return`An Alternation cannot have more than 256 alternatives: inside <${t.topLevelRule.name}> Rule. - has ${t.alternation.definition.length+1} alternatives.`},buildLeftRecursionError(t){let e=t.topLevelRule.name,r=Je(t.leftRecursionPath,a=>a.name),n=`${e} --> ${r.concat([e]).join(" --> ")}`;return`Left Recursion found in grammar. + has ${t.alternation.definition.length+1} alternatives.`},buildLeftRecursionError(t){let e=t.topLevelRule.name,r=et(t.leftRecursionPath,a=>a.name),n=`${e} --> ${r.concat([e]).join(" --> ")}`;return`Left Recursion found in grammar. rule: <${e}> can be invoked from itself (directly or indirectly) without consuming any Tokens. The grammar path that causes this is: ${n} To fix this refactor your grammar to remove the left recursion. -see: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError(t){return"deprecated"},buildDuplicateRuleNameError(t){let e;return t.topLevelRule instanceof ss?e=t.topLevelRule.name:e=t.topLevelRule,`Duplicate definition, rule: ->${e}<- is already defined in the grammar: ->${t.grammarName}<-`}}});function Aoe(t,e){let r=new hM(t,e);return r.resolveRefs(),r.errors}var hM,_oe=N(()=>{"use strict";Gs();Yt();ls();o(Aoe,"resolveGrammar");hM=class extends os{static{o(this,"GastRefResolverVisitor")}constructor(e,r){super(),this.nameToTopRule=e,this.errMsgProvider=r,this.errors=[]}resolveRefs(){Ae(br(this.nameToTopRule),e=>{this.currTopLevel=e,e.accept(this)})}visitNonTerminal(e){let r=this.nameToTopRule[e.nonTerminalName];if(r)e.referencedRule=r;else{let n=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,e);this.errors.push({message:n,type:zi.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:e.nonTerminalName})}}}});function Qk(t,e,r=[]){r=nn(r);let n=[],i=0;function a(l){return l.concat(xi(t,i+1))}o(a,"remainingPathWith");function s(l){let u=Qk(a(l),e,r);return n.concat(u)}for(o(s,"getAlternativesForProd");r.length{fr(u.definition)===!1&&(n=s(u.definition))}),n;if(l instanceof kr)r.push(l.terminalType);else throw Error("non exhaustive match")}i++}return n.push({partialPath:r,suffixDef:xi(t,i)}),n}function Zk(t,e,r,n){let i="EXIT_NONE_TERMINAL",a=[i],s="EXIT_ALTERNATIVE",l=!1,u=e.length,h=u-n-1,f=[],d=[];for(d.push({idx:-1,def:t,ruleStack:[],occurrenceStack:[]});!fr(d);){let p=d.pop();if(p===s){l&&da(d).idx<=h&&d.pop();continue}let m=p.def,g=p.idx,y=p.ruleStack,v=p.occurrenceStack;if(fr(m))continue;let x=m[0];if(x===i){let b={idx:g,def:xi(m),ruleStack:Iu(y),occurrenceStack:Iu(v)};d.push(b)}else if(x instanceof kr)if(g=0;b--){let T=x.definition[b],C={idx:g,def:T.definition.concat(xi(m)),ruleStack:y,occurrenceStack:v};d.push(C),d.push(s)}else if(x instanceof _n)d.push({idx:g,def:x.definition.concat(xi(m)),ruleStack:y,occurrenceStack:v});else if(x instanceof ss)d.push(xFe(x,g,y,v));else throw Error("non exhaustive match")}return f}function xFe(t,e,r,n){let i=nn(r);i.push(t.name);let a=nn(n);return a.push(1),{idx:e,def:t.definition,ruleStack:i,occurrenceStack:a}}var fM,Xk,qg,jk,gx,Kk,yx,vx=N(()=>{"use strict";Yt();JN();zk();ls();fM=class extends Bu{static{o(this,"AbstractNextPossibleTokensWalker")}constructor(e,r){super(),this.topProd=e,this.path=r,this.possibleTokTypes=[],this.nextProductionName="",this.nextProductionOccurrence=0,this.found=!1,this.isAtEndOfPath=!1}startWalking(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=nn(this.path.ruleStack).reverse(),this.occurrenceStack=nn(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes}walk(e,r=[]){this.found||super.walk(e,r)}walkProdRef(e,r,n){if(e.referencedRule.name===this.nextProductionName&&e.idx===this.nextProductionOccurrence){let i=r.concat(n);this.updateExpectedNext(),this.walk(e.referencedRule,i)}}updateExpectedNext(){fr(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())}},Xk=class extends fM{static{o(this,"NextAfterTokenWalker")}constructor(e,r){super(e,r),this.path=r,this.nextTerminalName="",this.nextTerminalOccurrence=0,this.nextTerminalName=this.path.lastTok.name,this.nextTerminalOccurrence=this.path.lastTokOccurrence}walkTerminal(e,r,n){if(this.isAtEndOfPath&&e.terminalType.name===this.nextTerminalName&&e.idx===this.nextTerminalOccurrence&&!this.found){let i=r.concat(n),a=new _n({definition:i});this.possibleTokTypes=dp(a),this.found=!0}}},qg=class extends Bu{static{o(this,"AbstractNextTerminalAfterProductionWalker")}constructor(e,r){super(),this.topRule=e,this.occurrence=r,this.result={token:void 0,occurrence:void 0,isEndOfRule:void 0}}startWalking(){return this.walk(this.topRule),this.result}},jk=class extends qg{static{o(this,"NextTerminalAfterManyWalker")}walkMany(e,r,n){if(e.idx===this.occurrence){let i=ra(r.concat(n));this.result.isEndOfRule=i===void 0,i instanceof kr&&(this.result.token=i.terminalType,this.result.occurrence=i.idx)}else super.walkMany(e,r,n)}},gx=class extends qg{static{o(this,"NextTerminalAfterManySepWalker")}walkManySep(e,r,n){if(e.idx===this.occurrence){let i=ra(r.concat(n));this.result.isEndOfRule=i===void 0,i instanceof kr&&(this.result.token=i.terminalType,this.result.occurrence=i.idx)}else super.walkManySep(e,r,n)}},Kk=class extends qg{static{o(this,"NextTerminalAfterAtLeastOneWalker")}walkAtLeastOne(e,r,n){if(e.idx===this.occurrence){let i=ra(r.concat(n));this.result.isEndOfRule=i===void 0,i instanceof kr&&(this.result.token=i.terminalType,this.result.occurrence=i.idx)}else super.walkAtLeastOne(e,r,n)}},yx=class extends qg{static{o(this,"NextTerminalAfterAtLeastOneSepWalker")}walkAtLeastOneSep(e,r,n){if(e.idx===this.occurrence){let i=ra(r.concat(n));this.result.isEndOfRule=i===void 0,i instanceof kr&&(this.result.token=i.terminalType,this.result.occurrence=i.idx)}else super.walkAtLeastOneSep(e,r,n)}};o(Qk,"possiblePathsFrom");o(Zk,"nextPossibleTokensAfter");o(xFe,"expandTopLevelRule")});function xx(t){if(t instanceof on||t==="Option")return jn.OPTION;if(t instanceof Or||t==="Repetition")return jn.REPETITION;if(t instanceof Dn||t==="RepetitionMandatory")return jn.REPETITION_MANDATORY;if(t instanceof Ln||t==="RepetitionMandatoryWithSeparator")return jn.REPETITION_MANDATORY_WITH_SEPARATOR;if(t instanceof bn||t==="RepetitionWithSeparator")return jn.REPETITION_WITH_SEPARATOR;if(t instanceof Tn||t==="Alternation")return jn.ALTERNATION;throw Error("non exhaustive match")}function eE(t){let{occurrence:e,rule:r,prodType:n,maxLookahead:i}=t,a=xx(n);return a===jn.ALTERNATION?Yg(e,r,i):Xg(e,r,a,i)}function Loe(t,e,r,n,i,a){let s=Yg(t,e,r),l=Poe(s)?Ug:Fu;return a(s,n,l,i)}function Roe(t,e,r,n,i,a){let s=Xg(t,e,i,r),l=Poe(s)?Ug:Fu;return a(s[0],l,n)}function Noe(t,e,r,n){let i=t.length,a=Na(t,s=>Na(s,l=>l.length===1));if(e)return function(s){let l=Je(s,u=>u.GATE);for(let u=0;uWr(u)),l=Yr(s,(u,h,f)=>(Ae(h,d=>{Bt(u,d.tokenTypeIdx)||(u[d.tokenTypeIdx]=f),Ae(d.categoryMatches,p=>{Bt(u,p)||(u[p]=f)})}),u),{});return function(){let u=this.LA(1);return l[u.tokenTypeIdx]}}else return function(){for(let s=0;sa.length===1),i=t.length;if(n&&!r){let a=Wr(t);if(a.length===1&&fr(a[0].categoryMatches)){let l=a[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===l}}else{let s=Yr(a,(l,u,h)=>(l[u.tokenTypeIdx]=!0,Ae(u.categoryMatches,f=>{l[f]=!0}),l),[]);return function(){let l=this.LA(1);return s[l.tokenTypeIdx]===!0}}}else return function(){e:for(let a=0;aQk([s],1)),n=Doe(r.length),i=Je(r,s=>{let l={};return Ae(s,u=>{let h=dM(u.partialPath);Ae(h,f=>{l[f]=!0})}),l}),a=r;for(let s=1;s<=e;s++){let l=a;a=Doe(l.length);for(let u=0;u{let x=dM(v.partialPath);Ae(x,b=>{i[u][b]=!0})})}}}}return n}function Yg(t,e,r,n){let i=new Jk(t,jn.ALTERNATION,n);return e.accept(i),Ioe(i.result,r)}function Xg(t,e,r,n){let i=new Jk(t,r);e.accept(i);let a=i.result,l=new pM(e,t,r).startWalking(),u=new _n({definition:a}),h=new _n({definition:l});return Ioe([u,h],n)}function tE(t,e){e:for(let r=0;r{let i=e[n];return r===i||i.categoryMatchesMap[r.tokenTypeIdx]})}function Poe(t){return Na(t,e=>Na(e,r=>Na(r,n=>fr(n.categoryMatches))))}var jn,pM,Jk,jg=N(()=>{"use strict";Yt();vx();zk();mp();ls();(function(t){t[t.OPTION=0]="OPTION",t[t.REPETITION=1]="REPETITION",t[t.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",t[t.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",t[t.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",t[t.ALTERNATION=5]="ALTERNATION"})(jn||(jn={}));o(xx,"getProdType");o(eE,"getLookaheadPaths");o(Loe,"buildLookaheadFuncForOr");o(Roe,"buildLookaheadFuncForOptionalProd");o(Noe,"buildAlternativesLookAheadFunc");o(Moe,"buildSingleAlternativeLookaheadFunction");pM=class extends Bu{static{o(this,"RestDefinitionFinderWalker")}constructor(e,r,n){super(),this.topProd=e,this.targetOccurrence=r,this.targetProdType=n}startWalking(){return this.walk(this.topProd),this.restDef}checkIsTarget(e,r,n,i){return e.idx===this.targetOccurrence&&this.targetProdType===r?(this.restDef=n.concat(i),!0):!1}walkOption(e,r,n){this.checkIsTarget(e,jn.OPTION,r,n)||super.walkOption(e,r,n)}walkAtLeastOne(e,r,n){this.checkIsTarget(e,jn.REPETITION_MANDATORY,r,n)||super.walkOption(e,r,n)}walkAtLeastOneSep(e,r,n){this.checkIsTarget(e,jn.REPETITION_MANDATORY_WITH_SEPARATOR,r,n)||super.walkOption(e,r,n)}walkMany(e,r,n){this.checkIsTarget(e,jn.REPETITION,r,n)||super.walkOption(e,r,n)}walkManySep(e,r,n){this.checkIsTarget(e,jn.REPETITION_WITH_SEPARATOR,r,n)||super.walkOption(e,r,n)}},Jk=class extends os{static{o(this,"InsideDefinitionFinderVisitor")}constructor(e,r,n){super(),this.targetOccurrence=e,this.targetProdType=r,this.targetRef=n,this.result=[]}checkIsTarget(e,r){e.idx===this.targetOccurrence&&this.targetProdType===r&&(this.targetRef===void 0||e===this.targetRef)&&(this.result=e.definition)}visitOption(e){this.checkIsTarget(e,jn.OPTION)}visitRepetition(e){this.checkIsTarget(e,jn.REPETITION)}visitRepetitionMandatory(e){this.checkIsTarget(e,jn.REPETITION_MANDATORY)}visitRepetitionMandatoryWithSeparator(e){this.checkIsTarget(e,jn.REPETITION_MANDATORY_WITH_SEPARATOR)}visitRepetitionWithSeparator(e){this.checkIsTarget(e,jn.REPETITION_WITH_SEPARATOR)}visitAlternation(e){this.checkIsTarget(e,jn.ALTERNATION)}};o(Doe,"initializeArrayOfArrays");o(dM,"pathToHashKeys");o(bFe,"isUniquePrefixHash");o(Ioe,"lookAheadSequenceFromAlternatives");o(Yg,"getLookaheadPathsForOr");o(Xg,"getLookaheadPathsForOptionalProd");o(tE,"containsPath");o(Ooe,"isStrictPrefixOfPath");o(Poe,"areTokenCategoriesNotUsed")});function Boe(t){let e=t.lookaheadStrategy.validate({rules:t.rules,tokenTypes:t.tokenTypes,grammarName:t.grammarName});return Je(e,r=>Object.assign({type:zi.CUSTOM_LOOKAHEAD_VALIDATION},r))}function Foe(t,e,r,n){let i=pa(t,u=>TFe(u,r)),a=AFe(t,e,r),s=pa(t,u=>EFe(u,r)),l=pa(t,u=>kFe(u,t,n,r));return i.concat(a,s,l)}function TFe(t,e){let r=new mM;t.accept(r);let n=r.allProductions,i=pR(n,wFe),a=Fs(i,l=>l.length>1);return Je(br(a),l=>{let u=ra(l),h=e.buildDuplicateFoundError(t,l),f=zs(u),d={message:h,type:zi.DUPLICATE_PRODUCTIONS,ruleName:t.name,dslName:f,occurrence:u.idx},p=$oe(u);return p&&(d.parameter=p),d})}function wFe(t){return`${zs(t)}_#_${t.idx}_#_${$oe(t)}`}function $oe(t){return t instanceof kr?t.terminalType.name:t instanceof sn?t.nonTerminalName:""}function kFe(t,e,r,n){let i=[];if(Yr(e,(s,l)=>l.name===t.name?s+1:s,0)>1){let s=n.buildDuplicateRuleNameError({topLevelRule:t,grammarName:r});i.push({message:s,type:zi.DUPLICATE_RULE_NAME,ruleName:t.name})}return i}function zoe(t,e,r){let n=[],i;return qn(e,t)||(i=`Invalid rule override, rule: ->${t}<- cannot be overridden in the grammar: ->${r}<-as it is not defined in any of the super grammars `,n.push({message:i,type:zi.INVALID_RULE_OVERRIDE,ruleName:t})),n}function yM(t,e,r,n=[]){let i=[],a=rE(e.definition);if(fr(a))return[];{let s=t.name;qn(a,t)&&i.push({message:r.buildLeftRecursionError({topLevelRule:t,leftRecursionPath:n}),type:zi.LEFT_RECURSION,ruleName:s});let u=ef(a,n.concat([t])),h=pa(u,f=>{let d=nn(n);return d.push(f),yM(t,f,r,d)});return i.concat(h)}}function rE(t){let e=[];if(fr(t))return e;let r=ra(t);if(r instanceof sn)e.push(r.referencedRule);else if(r instanceof _n||r instanceof on||r instanceof Dn||r instanceof Ln||r instanceof bn||r instanceof Or)e=e.concat(rE(r.definition));else if(r instanceof Tn)e=Wr(Je(r.definition,a=>rE(a.definition)));else if(!(r instanceof kr))throw Error("non exhaustive match");let n=fp(r),i=t.length>1;if(n&&i){let a=xi(t);return e.concat(rE(a))}else return e}function Goe(t,e){let r=new bx;t.accept(r);let n=r.alternations;return pa(n,a=>{let s=Iu(a.definition);return pa(s,(l,u)=>{let h=Zk([l],[],Fu,1);return fr(h)?[{message:e.buildEmptyAlternationError({topLevelRule:t,alternation:a,emptyChoiceIdx:u}),type:zi.NONE_LAST_EMPTY_ALT,ruleName:t.name,occurrence:a.idx,alternative:u+1}]:[]})})}function Voe(t,e,r){let n=new bx;t.accept(n);let i=n.alternations;return i=tf(i,s=>s.ignoreAmbiguities===!0),pa(i,s=>{let l=s.idx,u=s.maxLookahead||e,h=Yg(l,t,u,s),f=SFe(h,s,t,r),d=CFe(h,s,t,r);return f.concat(d)})}function EFe(t,e){let r=new bx;t.accept(r);let n=r.alternations;return pa(n,a=>a.definition.length>255?[{message:e.buildTooManyAlternativesError({topLevelRule:t,alternation:a}),type:zi.TOO_MANY_ALTS,ruleName:t.name,occurrence:a.idx}]:[])}function Uoe(t,e,r){let n=[];return Ae(t,i=>{let a=new gM;i.accept(a);let s=a.allProductions;Ae(s,l=>{let u=xx(l),h=l.maxLookahead||e,f=l.idx,p=Xg(f,i,u,h)[0];if(fr(Wr(p))){let m=r.buildEmptyRepetitionError({topLevelRule:i,repetition:l});n.push({message:m,type:zi.NO_NON_EMPTY_LOOKAHEAD,ruleName:i.name})}})}),n}function SFe(t,e,r,n){let i=[],a=Yr(t,(l,u,h)=>(e.definition[h].ignoreAmbiguities===!0||Ae(u,f=>{let d=[h];Ae(t,(p,m)=>{h!==m&&tE(p,f)&&e.definition[m].ignoreAmbiguities!==!0&&d.push(m)}),d.length>1&&!tE(i,f)&&(i.push(f),l.push({alts:d,path:f}))}),l),[]);return Je(a,l=>{let u=Je(l.alts,f=>f+1);return{message:n.buildAlternationAmbiguityError({topLevelRule:r,alternation:e,ambiguityIndices:u,prefixPath:l.path}),type:zi.AMBIGUOUS_ALTS,ruleName:r.name,occurrence:e.idx,alternatives:l.alts}})}function CFe(t,e,r,n){let i=Yr(t,(s,l,u)=>{let h=Je(l,f=>({idx:u,path:f}));return s.concat(h)},[]);return Sc(pa(i,s=>{if(e.definition[s.idx].ignoreAmbiguities===!0)return[];let u=s.idx,h=s.path,f=qr(i,p=>e.definition[p.idx].ignoreAmbiguities!==!0&&p.idx{let m=[p.idx+1,u+1],g=e.idx===0?"":e.idx;return{message:n.buildAlternationPrefixAmbiguityError({topLevelRule:r,alternation:e,ambiguityIndices:m,prefixPath:p.path}),type:zi.AMBIGUOUS_PREFIX_ALTS,ruleName:r.name,occurrence:g,alternatives:m}})}))}function AFe(t,e,r){let n=[],i=Je(e,a=>a.name);return Ae(t,a=>{let s=a.name;if(qn(i,s)){let l=r.buildNamespaceConflictError(a);n.push({message:l,type:zi.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:s})}}),n}var mM,bx,gM,Tx=N(()=>{"use strict";Yt();Gs();ls();jg();vx();mp();o(Boe,"validateLookahead");o(Foe,"validateGrammar");o(TFe,"validateDuplicateProductions");o(wFe,"identifyProductionForDuplicates");o($oe,"getExtraProductionArgument");mM=class extends os{static{o(this,"OccurrenceValidationCollector")}constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(e){this.allProductions.push(e)}visitOption(e){this.allProductions.push(e)}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}visitAlternation(e){this.allProductions.push(e)}visitTerminal(e){this.allProductions.push(e)}};o(kFe,"validateRuleDoesNotAlreadyExist");o(zoe,"validateRuleIsOverridden");o(yM,"validateNoLeftRecursion");o(rE,"getFirstNoneTerminal");bx=class extends os{static{o(this,"OrCollector")}constructor(){super(...arguments),this.alternations=[]}visitAlternation(e){this.alternations.push(e)}};o(Goe,"validateEmptyOrAlternative");o(Voe,"validateAmbiguousAlternationAlternatives");gM=class extends os{static{o(this,"RepetitionCollector")}constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}};o(EFe,"validateTooManyAlts");o(Uoe,"validateSomeNonEmptyLookaheadPath");o(SFe,"checkAlternativesAmbiguities");o(CFe,"checkPrefixAlternativesAmbiguities");o(AFe,"checkTerminalAndNoneTerminalsNameSpace")});function Hoe(t){let e=Jh(t,{errMsgProvider:Coe}),r={};return Ae(t.rules,n=>{r[n.name]=n}),Aoe(r,e.errMsgProvider)}function Woe(t){return t=Jh(t,{errMsgProvider:Bl}),Foe(t.rules,t.tokenTypes,t.errMsgProvider,t.grammarName)}var qoe=N(()=>{"use strict";Yt();_oe();Tx();Wg();o(Hoe,"resolveGrammar");o(Woe,"validateGrammar")});function uf(t){return qn(Qoe,t.name)}var Yoe,Xoe,joe,Koe,Qoe,Kg,yp,wx,kx,Ex,Qg=N(()=>{"use strict";Yt();Yoe="MismatchedTokenException",Xoe="NoViableAltException",joe="EarlyExitException",Koe="NotAllInputParsedException",Qoe=[Yoe,Xoe,joe,Koe];Object.freeze(Qoe);o(uf,"isRecognitionException");Kg=class extends Error{static{o(this,"RecognitionException")}constructor(e,r){super(e),this.token=r,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},yp=class extends Kg{static{o(this,"MismatchedTokenException")}constructor(e,r,n){super(e,r),this.previousToken=n,this.name=Yoe}},wx=class extends Kg{static{o(this,"NoViableAltException")}constructor(e,r,n){super(e,r),this.previousToken=n,this.name=Xoe}},kx=class extends Kg{static{o(this,"NotAllInputParsedException")}constructor(e,r){super(e,r),this.name=Koe}},Ex=class extends Kg{static{o(this,"EarlyExitException")}constructor(e,r,n){super(e,r),this.previousToken=n,this.name=joe}}});function _Fe(t,e,r,n,i,a,s){let l=this.getKeyForAutomaticLookahead(n,i),u=this.firstAfterRepMap[l];if(u===void 0){let p=this.getCurrRuleFullName(),m=this.getGAstProductions()[p];u=new a(m,i).startWalking(),this.firstAfterRepMap[l]=u}let h=u.token,f=u.occurrence,d=u.isEndOfRule;this.RULE_STACK.length===1&&d&&h===void 0&&(h=uo,f=1),!(h===void 0||f===void 0)&&this.shouldInRepetitionRecoveryBeTried(h,f,s)&&this.tryInRepetitionRecovery(t,e,r,h)}var vM,bM,xM,nE,TM=N(()=>{"use strict";gp();Yt();Qg();eM();Gs();vM={},bM="InRuleRecoveryException",xM=class extends Error{static{o(this,"InRuleRecoveryException")}constructor(e){super(e),this.name=bM}},nE=class{static{o(this,"Recoverable")}initRecoverable(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=Bt(e,"recoveryEnabled")?e.recoveryEnabled:cs.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=_Fe)}getTokenToInsert(e){let r=Gu(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return r.isInsertedInRecovery=!0,r}canTokenTypeBeInsertedInRecovery(e){return!0}canTokenTypeBeDeletedInRecovery(e){return!0}tryInRepetitionRecovery(e,r,n,i){let a=this.findReSyncTokenType(),s=this.exportLexerState(),l=[],u=!1,h=this.LA(1),f=this.LA(1),d=o(()=>{let p=this.LA(0),m=this.errorMessageProvider.buildMismatchTokenMessage({expected:i,actual:h,previous:p,ruleName:this.getCurrRuleFullName()}),g=new yp(m,h,this.LA(0));g.resyncedTokens=Iu(l),this.SAVE_ERROR(g)},"generateErrorMessage");for(;!u;)if(this.tokenMatcher(f,i)){d();return}else if(n.call(this)){d(),e.apply(this,r);return}else this.tokenMatcher(f,a)?u=!0:(f=this.SKIP_TOKEN(),this.addToResyncTokens(f,l));this.importLexerState(s)}shouldInRepetitionRecoveryBeTried(e,r,n){return!(n===!1||this.tokenMatcher(this.LA(1),e)||this.isBackTracking()||this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,r)))}getFollowsForInRuleRecovery(e,r){let n=this.getCurrentGrammarPath(e,r);return this.getNextPossibleTokenTypes(n)}tryInRuleRecovery(e,r){if(this.canRecoverWithSingleTokenInsertion(e,r))return this.getTokenToInsert(e);if(this.canRecoverWithSingleTokenDeletion(e)){let n=this.SKIP_TOKEN();return this.consumeToken(),n}throw new xM("sad sad panda")}canPerformInRuleRecovery(e,r){return this.canRecoverWithSingleTokenInsertion(e,r)||this.canRecoverWithSingleTokenDeletion(e)}canRecoverWithSingleTokenInsertion(e,r){if(!this.canTokenTypeBeInsertedInRecovery(e)||fr(r))return!1;let n=this.LA(1);return is(r,a=>this.tokenMatcher(n,a))!==void 0}canRecoverWithSingleTokenDeletion(e){return this.canTokenTypeBeDeletedInRecovery(e)?this.tokenMatcher(this.LA(2),e):!1}isInCurrentRuleReSyncSet(e){let r=this.getCurrFollowKey(),n=this.getFollowSetFromFollowKey(r);return qn(n,e)}findReSyncTokenType(){let e=this.flattenFollowSet(),r=this.LA(1),n=2;for(;;){let i=is(e,a=>mx(r,a));if(i!==void 0)return i;r=this.LA(n),n++}}getCurrFollowKey(){if(this.RULE_STACK.length===1)return vM;let e=this.getLastExplicitRuleShortName(),r=this.getLastExplicitRuleOccurrenceIndex(),n=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:r,inRule:this.shortRuleNameToFullName(n)}}buildFullFollowKeyStack(){let e=this.RULE_STACK,r=this.RULE_OCCURRENCE_STACK;return Je(e,(n,i)=>i===0?vM:{ruleName:this.shortRuleNameToFullName(n),idxInCallingRule:r[i],inRule:this.shortRuleNameToFullName(e[i-1])})}flattenFollowSet(){let e=Je(this.buildFullFollowKeyStack(),r=>this.getFollowSetFromFollowKey(r));return Wr(e)}getFollowSetFromFollowKey(e){if(e===vM)return[uo];let r=e.ruleName+e.idxInCallingRule+Gk+e.inRule;return this.resyncFollows[r]}addToResyncTokens(e,r){return this.tokenMatcher(e,uo)||r.push(e),r}reSyncTo(e){let r=[],n=this.LA(1);for(;this.tokenMatcher(n,e)===!1;)n=this.SKIP_TOKEN(),this.addToResyncTokens(n,r);return Iu(r)}attemptInRepetitionRecovery(e,r,n,i,a,s,l){}getCurrentGrammarPath(e,r){let n=this.getHumanReadableRuleStack(),i=nn(this.RULE_OCCURRENCE_STACK);return{ruleStack:n,occurrenceStack:i,lastTok:e,lastTokOccurrence:r}}getHumanReadableRuleStack(){return Je(this.RULE_STACK,e=>this.shortRuleNameToFullName(e))}};o(_Fe,"attemptInRepetitionRecovery")});function iE(t,e,r){return r|e|t}var aE=N(()=>{"use strict";o(iE,"getKeyForAutomaticLookahead")});var Uu,wM=N(()=>{"use strict";Yt();Wg();Gs();Tx();jg();Uu=class{static{o(this,"LLkLookaheadStrategy")}constructor(e){var r;this.maxLookahead=(r=e?.maxLookahead)!==null&&r!==void 0?r:cs.maxLookahead}validate(e){let r=this.validateNoLeftRecursion(e.rules);if(fr(r)){let n=this.validateEmptyOrAlternatives(e.rules),i=this.validateAmbiguousAlternationAlternatives(e.rules,this.maxLookahead),a=this.validateSomeNonEmptyLookaheadPath(e.rules,this.maxLookahead);return[...r,...n,...i,...a]}return r}validateNoLeftRecursion(e){return pa(e,r=>yM(r,r,Bl))}validateEmptyOrAlternatives(e){return pa(e,r=>Goe(r,Bl))}validateAmbiguousAlternationAlternatives(e,r){return pa(e,n=>Voe(n,r,Bl))}validateSomeNonEmptyLookaheadPath(e,r){return Uoe(e,r,Bl)}buildLookaheadForAlternation(e){return Loe(e.prodOccurrence,e.rule,e.maxLookahead,e.hasPredicates,e.dynamicTokensEnabled,Noe)}buildLookaheadForOptional(e){return Roe(e.prodOccurrence,e.rule,e.maxLookahead,e.dynamicTokensEnabled,xx(e.prodType),Moe)}}});function DFe(t){sE.reset(),t.accept(sE);let e=sE.dslMethods;return sE.reset(),e}var oE,kM,sE,Zoe=N(()=>{"use strict";Yt();Gs();aE();ls();wM();oE=class{static{o(this,"LooksAhead")}initLooksAhead(e){this.dynamicTokensEnabled=Bt(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:cs.dynamicTokensEnabled,this.maxLookahead=Bt(e,"maxLookahead")?e.maxLookahead:cs.maxLookahead,this.lookaheadStrategy=Bt(e,"lookaheadStrategy")?e.lookaheadStrategy:new Uu({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=new Map}preComputeLookaheadFunctions(e){Ae(e,r=>{this.TRACE_INIT(`${r.name} Rule Lookahead`,()=>{let{alternation:n,repetition:i,option:a,repetitionMandatory:s,repetitionMandatoryWithSeparator:l,repetitionWithSeparator:u}=DFe(r);Ae(n,h=>{let f=h.idx===0?"":h.idx;this.TRACE_INIT(`${zs(h)}${f}`,()=>{let d=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:h.idx,rule:r,maxLookahead:h.maxLookahead||this.maxLookahead,hasPredicates:h.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled}),p=iE(this.fullRuleNameToShort[r.name],256,h.idx);this.setLaFuncCache(p,d)})}),Ae(i,h=>{this.computeLookaheadFunc(r,h.idx,768,"Repetition",h.maxLookahead,zs(h))}),Ae(a,h=>{this.computeLookaheadFunc(r,h.idx,512,"Option",h.maxLookahead,zs(h))}),Ae(s,h=>{this.computeLookaheadFunc(r,h.idx,1024,"RepetitionMandatory",h.maxLookahead,zs(h))}),Ae(l,h=>{this.computeLookaheadFunc(r,h.idx,1536,"RepetitionMandatoryWithSeparator",h.maxLookahead,zs(h))}),Ae(u,h=>{this.computeLookaheadFunc(r,h.idx,1280,"RepetitionWithSeparator",h.maxLookahead,zs(h))})})})}computeLookaheadFunc(e,r,n,i,a,s){this.TRACE_INIT(`${s}${r===0?"":r}`,()=>{let l=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:r,rule:e,maxLookahead:a||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:i}),u=iE(this.fullRuleNameToShort[e.name],n,r);this.setLaFuncCache(u,l)})}getKeyForAutomaticLookahead(e,r){let n=this.getLastExplicitRuleShortName();return iE(n,e,r)}getLaFuncFromCache(e){return this.lookAheadFuncsCache.get(e)}setLaFuncCache(e,r){this.lookAheadFuncsCache.set(e,r)}},kM=class extends os{static{o(this,"DslMethodsCollectorVisitor")}constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(e){this.dslMethods.option.push(e)}visitRepetitionWithSeparator(e){this.dslMethods.repetitionWithSeparator.push(e)}visitRepetitionMandatory(e){this.dslMethods.repetitionMandatory.push(e)}visitRepetitionMandatoryWithSeparator(e){this.dslMethods.repetitionMandatoryWithSeparator.push(e)}visitRepetition(e){this.dslMethods.repetition.push(e)}visitAlternation(e){this.dslMethods.alternation.push(e)}},sE=new kM;o(DFe,"collectMethods")});function CM(t,e){isNaN(t.startOffset)===!0?(t.startOffset=e.startOffset,t.endOffset=e.endOffset):t.endOffset{"use strict";o(CM,"setNodeLocationOnlyOffset");o(AM,"setNodeLocationFull");o(Joe,"addTerminalToCst");o(ele,"addNoneTerminalToCst")});function _M(t,e){Object.defineProperty(t,LFe,{enumerable:!1,configurable:!0,writable:!1,value:e})}var LFe,rle=N(()=>{"use strict";LFe="name";o(_M,"defineNameProp")});function RFe(t,e){let r=$r(t),n=r.length;for(let i=0;is.msg);throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>: +see: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError(t){return"deprecated"},buildDuplicateRuleNameError(t){let e;return t.topLevelRule instanceof hs?e=t.topLevelRule.name:e=t.topLevelRule,`Duplicate definition, rule: ->${e}<- is already defined in the grammar: ->${t.grammarName}<-`}}});function ohe(t,e){let r=new DI(t,e);return r.resolveRefs(),r.errors}var DI,lhe=N(()=>{"use strict";Ys();qt();ds();o(ohe,"resolveGrammar");DI=class extends fs{static{o(this,"GastRefResolverVisitor")}constructor(e,r){super(),this.nameToTopRule=e,this.errMsgProvider=r,this.errors=[]}resolveRefs(){Ae(br(this.nameToTopRule),e=>{this.currTopLevel=e,e.accept(this)})}visitNonTerminal(e){let r=this.nameToTopRule[e.nonTerminalName];if(r)e.referencedRule=r;else{let n=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,e);this.errors.push({message:n,type:Ui.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:e.nonTerminalName})}}}});function tS(t,e,r=[]){r=an(r);let n=[],i=0;function a(l){return l.concat(xi(t,i+1))}o(a,"remainingPathWith");function s(l){let u=tS(a(l),e,r);return n.concat(u)}for(o(s,"getAlternativesForProd");r.length{fr(u.definition)===!1&&(n=s(u.definition))}),n;if(l instanceof Er)r.push(l.terminalType);else throw Error("non exhaustive match")}i++}return n.push({partialPath:r,suffixDef:xi(t,i)}),n}function rS(t,e,r,n){let i="EXIT_NONE_TERMINAL",a=[i],s="EXIT_ALTERNATIVE",l=!1,u=e.length,h=u-n-1,f=[],d=[];for(d.push({idx:-1,def:t,ruleStack:[],occurrenceStack:[]});!fr(d);){let p=d.pop();if(p===s){l&&pa(d).idx<=h&&d.pop();continue}let m=p.def,g=p.idx,y=p.ruleStack,x=p.occurrenceStack;if(fr(m))continue;let v=m[0];if(v===i){let b={idx:g,def:xi(m),ruleStack:Ou(y),occurrenceStack:Ou(x)};d.push(b)}else if(v instanceof Er)if(g=0;b--){let T=v.definition[b],S={idx:g,def:T.definition.concat(xi(m)),ruleStack:y,occurrenceStack:x};d.push(S),d.push(s)}else if(v instanceof In)d.push({idx:g,def:v.definition.concat(xi(m)),ruleStack:y,occurrenceStack:x});else if(v instanceof hs)d.push(Nqe(v,g,y,x));else throw Error("non exhaustive match")}return f}function Nqe(t,e,r,n){let i=an(r);i.push(t.name);let a=an(n);return a.push(1),{idx:e,def:t.definition,ruleStack:i,occurrenceStack:a}}var LI,ZE,x1,JE,ib,eS,ab,sb=N(()=>{"use strict";qt();yI();HE();ds();LI=class extends Hu{static{o(this,"AbstractNextPossibleTokensWalker")}constructor(e,r){super(),this.topProd=e,this.path=r,this.possibleTokTypes=[],this.nextProductionName="",this.nextProductionOccurrence=0,this.found=!1,this.isAtEndOfPath=!1}startWalking(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=an(this.path.ruleStack).reverse(),this.occurrenceStack=an(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes}walk(e,r=[]){this.found||super.walk(e,r)}walkProdRef(e,r,n){if(e.referencedRule.name===this.nextProductionName&&e.idx===this.nextProductionOccurrence){let i=r.concat(n);this.updateExpectedNext(),this.walk(e.referencedRule,i)}}updateExpectedNext(){fr(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())}},ZE=class extends LI{static{o(this,"NextAfterTokenWalker")}constructor(e,r){super(e,r),this.path=r,this.nextTerminalName="",this.nextTerminalOccurrence=0,this.nextTerminalName=this.path.lastTok.name,this.nextTerminalOccurrence=this.path.lastTokOccurrence}walkTerminal(e,r,n){if(this.isAtEndOfPath&&e.terminalType.name===this.nextTerminalName&&e.idx===this.nextTerminalOccurrence&&!this.found){let i=r.concat(n),a=new In({definition:i});this.possibleTokTypes=Pp(a),this.found=!0}}},x1=class extends Hu{static{o(this,"AbstractNextTerminalAfterProductionWalker")}constructor(e,r){super(),this.topRule=e,this.occurrence=r,this.result={token:void 0,occurrence:void 0,isEndOfRule:void 0}}startWalking(){return this.walk(this.topRule),this.result}},JE=class extends x1{static{o(this,"NextTerminalAfterManyWalker")}walkMany(e,r,n){if(e.idx===this.occurrence){let i=ta(r.concat(n));this.result.isEndOfRule=i===void 0,i instanceof Er&&(this.result.token=i.terminalType,this.result.occurrence=i.idx)}else super.walkMany(e,r,n)}},ib=class extends x1{static{o(this,"NextTerminalAfterManySepWalker")}walkManySep(e,r,n){if(e.idx===this.occurrence){let i=ta(r.concat(n));this.result.isEndOfRule=i===void 0,i instanceof Er&&(this.result.token=i.terminalType,this.result.occurrence=i.idx)}else super.walkManySep(e,r,n)}},eS=class extends x1{static{o(this,"NextTerminalAfterAtLeastOneWalker")}walkAtLeastOne(e,r,n){if(e.idx===this.occurrence){let i=ta(r.concat(n));this.result.isEndOfRule=i===void 0,i instanceof Er&&(this.result.token=i.terminalType,this.result.occurrence=i.idx)}else super.walkAtLeastOne(e,r,n)}},ab=class extends x1{static{o(this,"NextTerminalAfterAtLeastOneSepWalker")}walkAtLeastOneSep(e,r,n){if(e.idx===this.occurrence){let i=ta(r.concat(n));this.result.isEndOfRule=i===void 0,i instanceof Er&&(this.result.token=i.terminalType,this.result.occurrence=i.idx)}else super.walkAtLeastOneSep(e,r,n)}};o(tS,"possiblePathsFrom");o(rS,"nextPossibleTokensAfter");o(Nqe,"expandTopLevelRule")});function ob(t){if(t instanceof un||t==="Option")return Zn.OPTION;if(t instanceof Pr||t==="Repetition")return Zn.REPETITION;if(t instanceof On||t==="RepetitionMandatory")return Zn.REPETITION_MANDATORY;if(t instanceof Pn||t==="RepetitionMandatoryWithSeparator")return Zn.REPETITION_MANDATORY_WITH_SEPARATOR;if(t instanceof En||t==="RepetitionWithSeparator")return Zn.REPETITION_WITH_SEPARATOR;if(t instanceof Sn||t==="Alternation")return Zn.ALTERNATION;throw Error("non exhaustive match")}function iS(t){let{occurrence:e,rule:r,prodType:n,maxLookahead:i}=t,a=ob(n);return a===Zn.ALTERNATION?b1(e,r,i):T1(e,r,a,i)}function uhe(t,e,r,n,i,a){let s=b1(t,e,r),l=ghe(s)?g1:Wu;return a(s,n,l,i)}function hhe(t,e,r,n,i,a){let s=T1(t,e,i,r),l=ghe(s)?g1:Wu;return a(s[0],l,n)}function fhe(t,e,r,n){let i=t.length,a=Ia(t,s=>Ia(s,l=>l.length===1));if(e)return function(s){let l=et(s,u=>u.GATE);for(let u=0;uqr(u)),l=Xr(s,(u,h,f)=>(Ae(h,d=>{Bt(u,d.tokenTypeIdx)||(u[d.tokenTypeIdx]=f),Ae(d.categoryMatches,p=>{Bt(u,p)||(u[p]=f)})}),u),{});return function(){let u=this.LA(1);return l[u.tokenTypeIdx]}}else return function(){for(let s=0;sa.length===1),i=t.length;if(n&&!r){let a=qr(t);if(a.length===1&&fr(a[0].categoryMatches)){let l=a[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===l}}else{let s=Xr(a,(l,u,h)=>(l[u.tokenTypeIdx]=!0,Ae(u.categoryMatches,f=>{l[f]=!0}),l),[]);return function(){let l=this.LA(1);return s[l.tokenTypeIdx]===!0}}}else return function(){e:for(let a=0;atS([s],1)),n=che(r.length),i=et(r,s=>{let l={};return Ae(s,u=>{let h=RI(u.partialPath);Ae(h,f=>{l[f]=!0})}),l}),a=r;for(let s=1;s<=e;s++){let l=a;a=che(l.length);for(let u=0;u{let v=RI(x.partialPath);Ae(v,b=>{i[u][b]=!0})})}}}}return n}function b1(t,e,r,n){let i=new nS(t,Zn.ALTERNATION,n);return e.accept(i),phe(i.result,r)}function T1(t,e,r,n){let i=new nS(t,r);e.accept(i);let a=i.result,l=new NI(e,t,r).startWalking(),u=new In({definition:a}),h=new In({definition:l});return phe([u,h],n)}function aS(t,e){e:for(let r=0;r{let i=e[n];return r===i||i.categoryMatchesMap[r.tokenTypeIdx]})}function ghe(t){return Ia(t,e=>Ia(e,r=>Ia(r,n=>fr(n.categoryMatches))))}var Zn,NI,nS,w1=N(()=>{"use strict";qt();sb();HE();Fp();ds();(function(t){t[t.OPTION=0]="OPTION",t[t.REPETITION=1]="REPETITION",t[t.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",t[t.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",t[t.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",t[t.ALTERNATION=5]="ALTERNATION"})(Zn||(Zn={}));o(ob,"getProdType");o(iS,"getLookaheadPaths");o(uhe,"buildLookaheadFuncForOr");o(hhe,"buildLookaheadFuncForOptionalProd");o(fhe,"buildAlternativesLookAheadFunc");o(dhe,"buildSingleAlternativeLookaheadFunction");NI=class extends Hu{static{o(this,"RestDefinitionFinderWalker")}constructor(e,r,n){super(),this.topProd=e,this.targetOccurrence=r,this.targetProdType=n}startWalking(){return this.walk(this.topProd),this.restDef}checkIsTarget(e,r,n,i){return e.idx===this.targetOccurrence&&this.targetProdType===r?(this.restDef=n.concat(i),!0):!1}walkOption(e,r,n){this.checkIsTarget(e,Zn.OPTION,r,n)||super.walkOption(e,r,n)}walkAtLeastOne(e,r,n){this.checkIsTarget(e,Zn.REPETITION_MANDATORY,r,n)||super.walkOption(e,r,n)}walkAtLeastOneSep(e,r,n){this.checkIsTarget(e,Zn.REPETITION_MANDATORY_WITH_SEPARATOR,r,n)||super.walkOption(e,r,n)}walkMany(e,r,n){this.checkIsTarget(e,Zn.REPETITION,r,n)||super.walkOption(e,r,n)}walkManySep(e,r,n){this.checkIsTarget(e,Zn.REPETITION_WITH_SEPARATOR,r,n)||super.walkOption(e,r,n)}},nS=class extends fs{static{o(this,"InsideDefinitionFinderVisitor")}constructor(e,r,n){super(),this.targetOccurrence=e,this.targetProdType=r,this.targetRef=n,this.result=[]}checkIsTarget(e,r){e.idx===this.targetOccurrence&&this.targetProdType===r&&(this.targetRef===void 0||e===this.targetRef)&&(this.result=e.definition)}visitOption(e){this.checkIsTarget(e,Zn.OPTION)}visitRepetition(e){this.checkIsTarget(e,Zn.REPETITION)}visitRepetitionMandatory(e){this.checkIsTarget(e,Zn.REPETITION_MANDATORY)}visitRepetitionMandatoryWithSeparator(e){this.checkIsTarget(e,Zn.REPETITION_MANDATORY_WITH_SEPARATOR)}visitRepetitionWithSeparator(e){this.checkIsTarget(e,Zn.REPETITION_WITH_SEPARATOR)}visitAlternation(e){this.checkIsTarget(e,Zn.ALTERNATION)}};o(che,"initializeArrayOfArrays");o(RI,"pathToHashKeys");o(Mqe,"isUniquePrefixHash");o(phe,"lookAheadSequenceFromAlternatives");o(b1,"getLookaheadPathsForOr");o(T1,"getLookaheadPathsForOptionalProd");o(aS,"containsPath");o(mhe,"isStrictPrefixOfPath");o(ghe,"areTokenCategoriesNotUsed")});function yhe(t){let e=t.lookaheadStrategy.validate({rules:t.rules,tokenTypes:t.tokenTypes,grammarName:t.grammarName});return et(e,r=>Object.assign({type:Ui.CUSTOM_LOOKAHEAD_VALIDATION},r))}function vhe(t,e,r,n){let i=ma(t,u=>Iqe(u,r)),a=Gqe(t,e,r),s=ma(t,u=>Bqe(u,r)),l=ma(t,u=>Pqe(u,t,n,r));return i.concat(a,s,l)}function Iqe(t,e){let r=new MI;t.accept(r);let n=r.allProductions,i=wR(n,Oqe),a=zs(i,l=>l.length>1);return et(br(a),l=>{let u=ta(l),h=e.buildDuplicateFoundError(t,l),f=qs(u),d={message:h,type:Ui.DUPLICATE_PRODUCTIONS,ruleName:t.name,dslName:f,occurrence:u.idx},p=xhe(u);return p&&(d.parameter=p),d})}function Oqe(t){return`${qs(t)}_#_${t.idx}_#_${xhe(t)}`}function xhe(t){return t instanceof Er?t.terminalType.name:t instanceof cn?t.nonTerminalName:""}function Pqe(t,e,r,n){let i=[];if(Xr(e,(s,l)=>l.name===t.name?s+1:s,0)>1){let s=n.buildDuplicateRuleNameError({topLevelRule:t,grammarName:r});i.push({message:s,type:Ui.DUPLICATE_RULE_NAME,ruleName:t.name})}return i}function bhe(t,e,r){let n=[],i;return jn(e,t)||(i=`Invalid rule override, rule: ->${t}<- cannot be overridden in the grammar: ->${r}<-as it is not defined in any of the super grammars `,n.push({message:i,type:Ui.INVALID_RULE_OVERRIDE,ruleName:t})),n}function OI(t,e,r,n=[]){let i=[],a=sS(e.definition);if(fr(a))return[];{let s=t.name;jn(a,t)&&i.push({message:r.buildLeftRecursionError({topLevelRule:t,leftRecursionPath:n}),type:Ui.LEFT_RECURSION,ruleName:s});let u=sf(a,n.concat([t])),h=ma(u,f=>{let d=an(n);return d.push(f),OI(t,f,r,d)});return i.concat(h)}}function sS(t){let e=[];if(fr(t))return e;let r=ta(t);if(r instanceof cn)e.push(r.referencedRule);else if(r instanceof In||r instanceof un||r instanceof On||r instanceof Pn||r instanceof En||r instanceof Pr)e=e.concat(sS(r.definition));else if(r instanceof Sn)e=qr(et(r.definition,a=>sS(a.definition)));else if(!(r instanceof Er))throw Error("non exhaustive match");let n=Op(r),i=t.length>1;if(n&&i){let a=xi(t);return e.concat(sS(a))}else return e}function The(t,e){let r=new lb;t.accept(r);let n=r.alternations;return ma(n,a=>{let s=Ou(a.definition);return ma(s,(l,u)=>{let h=rS([l],[],Wu,1);return fr(h)?[{message:e.buildEmptyAlternationError({topLevelRule:t,alternation:a,emptyChoiceIdx:u}),type:Ui.NONE_LAST_EMPTY_ALT,ruleName:t.name,occurrence:a.idx,alternative:u+1}]:[]})})}function whe(t,e,r){let n=new lb;t.accept(n);let i=n.alternations;return i=of(i,s=>s.ignoreAmbiguities===!0),ma(i,s=>{let l=s.idx,u=s.maxLookahead||e,h=b1(l,t,u,s),f=Fqe(h,s,t,r),d=$qe(h,s,t,r);return f.concat(d)})}function Bqe(t,e){let r=new lb;t.accept(r);let n=r.alternations;return ma(n,a=>a.definition.length>255?[{message:e.buildTooManyAlternativesError({topLevelRule:t,alternation:a}),type:Ui.TOO_MANY_ALTS,ruleName:t.name,occurrence:a.idx}]:[])}function khe(t,e,r){let n=[];return Ae(t,i=>{let a=new II;i.accept(a);let s=a.allProductions;Ae(s,l=>{let u=ob(l),h=l.maxLookahead||e,f=l.idx,p=T1(f,i,u,h)[0];if(fr(qr(p))){let m=r.buildEmptyRepetitionError({topLevelRule:i,repetition:l});n.push({message:m,type:Ui.NO_NON_EMPTY_LOOKAHEAD,ruleName:i.name})}})}),n}function Fqe(t,e,r,n){let i=[],a=Xr(t,(l,u,h)=>(e.definition[h].ignoreAmbiguities===!0||Ae(u,f=>{let d=[h];Ae(t,(p,m)=>{h!==m&&aS(p,f)&&e.definition[m].ignoreAmbiguities!==!0&&d.push(m)}),d.length>1&&!aS(i,f)&&(i.push(f),l.push({alts:d,path:f}))}),l),[]);return et(a,l=>{let u=et(l.alts,f=>f+1);return{message:n.buildAlternationAmbiguityError({topLevelRule:r,alternation:e,ambiguityIndices:u,prefixPath:l.path}),type:Ui.AMBIGUOUS_ALTS,ruleName:r.name,occurrence:e.idx,alternatives:l.alts}})}function $qe(t,e,r,n){let i=Xr(t,(s,l,u)=>{let h=et(l,f=>({idx:u,path:f}));return s.concat(h)},[]);return Cc(ma(i,s=>{if(e.definition[s.idx].ignoreAmbiguities===!0)return[];let u=s.idx,h=s.path,f=Yr(i,p=>e.definition[p.idx].ignoreAmbiguities!==!0&&p.idx{let m=[p.idx+1,u+1],g=e.idx===0?"":e.idx;return{message:n.buildAlternationPrefixAmbiguityError({topLevelRule:r,alternation:e,ambiguityIndices:m,prefixPath:p.path}),type:Ui.AMBIGUOUS_PREFIX_ALTS,ruleName:r.name,occurrence:g,alternatives:m}})}))}function Gqe(t,e,r){let n=[],i=et(e,a=>a.name);return Ae(t,a=>{let s=a.name;if(jn(i,s)){let l=r.buildNamespaceConflictError(a);n.push({message:l,type:Ui.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:s})}}),n}var MI,lb,II,cb=N(()=>{"use strict";qt();Ys();ds();w1();sb();Fp();o(yhe,"validateLookahead");o(vhe,"validateGrammar");o(Iqe,"validateDuplicateProductions");o(Oqe,"identifyProductionForDuplicates");o(xhe,"getExtraProductionArgument");MI=class extends fs{static{o(this,"OccurrenceValidationCollector")}constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(e){this.allProductions.push(e)}visitOption(e){this.allProductions.push(e)}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}visitAlternation(e){this.allProductions.push(e)}visitTerminal(e){this.allProductions.push(e)}};o(Pqe,"validateRuleDoesNotAlreadyExist");o(bhe,"validateRuleIsOverridden");o(OI,"validateNoLeftRecursion");o(sS,"getFirstNoneTerminal");lb=class extends fs{static{o(this,"OrCollector")}constructor(){super(...arguments),this.alternations=[]}visitAlternation(e){this.alternations.push(e)}};o(The,"validateEmptyOrAlternative");o(whe,"validateAmbiguousAlternationAlternatives");II=class extends fs{static{o(this,"RepetitionCollector")}constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(e){this.allProductions.push(e)}visitRepetitionMandatory(e){this.allProductions.push(e)}visitRepetitionMandatoryWithSeparator(e){this.allProductions.push(e)}visitRepetition(e){this.allProductions.push(e)}};o(Bqe,"validateTooManyAlts");o(khe,"validateSomeNonEmptyLookaheadPath");o(Fqe,"checkAlternativesAmbiguities");o($qe,"checkPrefixAlternativesAmbiguities");o(Gqe,"checkTerminalAndNoneTerminalsNameSpace")});function Ehe(t){let e=af(t,{errMsgProvider:she}),r={};return Ae(t.rules,n=>{r[n.name]=n}),ohe(r,e.errMsgProvider)}function She(t){return t=af(t,{errMsgProvider:zl}),vhe(t.rules,t.tokenTypes,t.errMsgProvider,t.grammarName)}var Che=N(()=>{"use strict";qt();lhe();cb();v1();o(Ehe,"resolveGrammar");o(She,"validateGrammar")});function Nf(t){return jn(Rhe,t.name)}var Ahe,_he,Dhe,Lhe,Rhe,k1,Gp,ub,hb,fb,E1=N(()=>{"use strict";qt();Ahe="MismatchedTokenException",_he="NoViableAltException",Dhe="EarlyExitException",Lhe="NotAllInputParsedException",Rhe=[Ahe,_he,Dhe,Lhe];Object.freeze(Rhe);o(Nf,"isRecognitionException");k1=class extends Error{static{o(this,"RecognitionException")}constructor(e,r){super(e),this.token=r,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},Gp=class extends k1{static{o(this,"MismatchedTokenException")}constructor(e,r,n){super(e,r),this.previousToken=n,this.name=Ahe}},ub=class extends k1{static{o(this,"NoViableAltException")}constructor(e,r,n){super(e,r),this.previousToken=n,this.name=_he}},hb=class extends k1{static{o(this,"NotAllInputParsedException")}constructor(e,r){super(e,r),this.name=Lhe}},fb=class extends k1{static{o(this,"EarlyExitException")}constructor(e,r,n){super(e,r),this.previousToken=n,this.name=Dhe}}});function zqe(t,e,r,n,i,a,s){let l=this.getKeyForAutomaticLookahead(n,i),u=this.firstAfterRepMap[l];if(u===void 0){let p=this.getCurrRuleFullName(),m=this.getGAstProductions()[p];u=new a(m,i).startWalking(),this.firstAfterRepMap[l]=u}let h=u.token,f=u.occurrence,d=u.isEndOfRule;this.RULE_STACK.length===1&&d&&h===void 0&&(h=go,f=1),!(h===void 0||f===void 0)&&this.shouldInRepetitionRecoveryBeTried(h,f,s)&&this.tryInRepetitionRecovery(t,e,r,h)}var PI,FI,BI,oS,$I=N(()=>{"use strict";$p();qt();E1();vI();Ys();PI={},FI="InRuleRecoveryException",BI=class extends Error{static{o(this,"InRuleRecoveryException")}constructor(e){super(e),this.name=FI}},oS=class{static{o(this,"Recoverable")}initRecoverable(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=Bt(e,"recoveryEnabled")?e.recoveryEnabled:ps.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=zqe)}getTokenToInsert(e){let r=Xu(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return r.isInsertedInRecovery=!0,r}canTokenTypeBeInsertedInRecovery(e){return!0}canTokenTypeBeDeletedInRecovery(e){return!0}tryInRepetitionRecovery(e,r,n,i){let a=this.findReSyncTokenType(),s=this.exportLexerState(),l=[],u=!1,h=this.LA(1),f=this.LA(1),d=o(()=>{let p=this.LA(0),m=this.errorMessageProvider.buildMismatchTokenMessage({expected:i,actual:h,previous:p,ruleName:this.getCurrRuleFullName()}),g=new Gp(m,h,this.LA(0));g.resyncedTokens=Ou(l),this.SAVE_ERROR(g)},"generateErrorMessage");for(;!u;)if(this.tokenMatcher(f,i)){d();return}else if(n.call(this)){d(),e.apply(this,r);return}else this.tokenMatcher(f,a)?u=!0:(f=this.SKIP_TOKEN(),this.addToResyncTokens(f,l));this.importLexerState(s)}shouldInRepetitionRecoveryBeTried(e,r,n){return!(n===!1||this.tokenMatcher(this.LA(1),e)||this.isBackTracking()||this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,r)))}getFollowsForInRuleRecovery(e,r){let n=this.getCurrentGrammarPath(e,r);return this.getNextPossibleTokenTypes(n)}tryInRuleRecovery(e,r){if(this.canRecoverWithSingleTokenInsertion(e,r))return this.getTokenToInsert(e);if(this.canRecoverWithSingleTokenDeletion(e)){let n=this.SKIP_TOKEN();return this.consumeToken(),n}throw new BI("sad sad panda")}canPerformInRuleRecovery(e,r){return this.canRecoverWithSingleTokenInsertion(e,r)||this.canRecoverWithSingleTokenDeletion(e)}canRecoverWithSingleTokenInsertion(e,r){if(!this.canTokenTypeBeInsertedInRecovery(e)||fr(r))return!1;let n=this.LA(1);return os(r,a=>this.tokenMatcher(n,a))!==void 0}canRecoverWithSingleTokenDeletion(e){return this.canTokenTypeBeDeletedInRecovery(e)?this.tokenMatcher(this.LA(2),e):!1}isInCurrentRuleReSyncSet(e){let r=this.getCurrFollowKey(),n=this.getFollowSetFromFollowKey(r);return jn(n,e)}findReSyncTokenType(){let e=this.flattenFollowSet(),r=this.LA(1),n=2;for(;;){let i=os(e,a=>nb(r,a));if(i!==void 0)return i;r=this.LA(n),n++}}getCurrFollowKey(){if(this.RULE_STACK.length===1)return PI;let e=this.getLastExplicitRuleShortName(),r=this.getLastExplicitRuleOccurrenceIndex(),n=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:r,inRule:this.shortRuleNameToFullName(n)}}buildFullFollowKeyStack(){let e=this.RULE_STACK,r=this.RULE_OCCURRENCE_STACK;return et(e,(n,i)=>i===0?PI:{ruleName:this.shortRuleNameToFullName(n),idxInCallingRule:r[i],inRule:this.shortRuleNameToFullName(e[i-1])})}flattenFollowSet(){let e=et(this.buildFullFollowKeyStack(),r=>this.getFollowSetFromFollowKey(r));return qr(e)}getFollowSetFromFollowKey(e){if(e===PI)return[go];let r=e.ruleName+e.idxInCallingRule+WE+e.inRule;return this.resyncFollows[r]}addToResyncTokens(e,r){return this.tokenMatcher(e,go)||r.push(e),r}reSyncTo(e){let r=[],n=this.LA(1);for(;this.tokenMatcher(n,e)===!1;)n=this.SKIP_TOKEN(),this.addToResyncTokens(n,r);return Ou(r)}attemptInRepetitionRecovery(e,r,n,i,a,s,l){}getCurrentGrammarPath(e,r){let n=this.getHumanReadableRuleStack(),i=an(this.RULE_OCCURRENCE_STACK);return{ruleStack:n,occurrenceStack:i,lastTok:e,lastTokOccurrence:r}}getHumanReadableRuleStack(){return et(this.RULE_STACK,e=>this.shortRuleNameToFullName(e))}};o(zqe,"attemptInRepetitionRecovery")});function lS(t,e,r){return r|e|t}var cS=N(()=>{"use strict";o(lS,"getKeyForAutomaticLookahead")});var Ku,GI=N(()=>{"use strict";qt();v1();Ys();cb();w1();Ku=class{static{o(this,"LLkLookaheadStrategy")}constructor(e){var r;this.maxLookahead=(r=e?.maxLookahead)!==null&&r!==void 0?r:ps.maxLookahead}validate(e){let r=this.validateNoLeftRecursion(e.rules);if(fr(r)){let n=this.validateEmptyOrAlternatives(e.rules),i=this.validateAmbiguousAlternationAlternatives(e.rules,this.maxLookahead),a=this.validateSomeNonEmptyLookaheadPath(e.rules,this.maxLookahead);return[...r,...n,...i,...a]}return r}validateNoLeftRecursion(e){return ma(e,r=>OI(r,r,zl))}validateEmptyOrAlternatives(e){return ma(e,r=>The(r,zl))}validateAmbiguousAlternationAlternatives(e,r){return ma(e,n=>whe(n,r,zl))}validateSomeNonEmptyLookaheadPath(e,r){return khe(e,r,zl)}buildLookaheadForAlternation(e){return uhe(e.prodOccurrence,e.rule,e.maxLookahead,e.hasPredicates,e.dynamicTokensEnabled,fhe)}buildLookaheadForOptional(e){return hhe(e.prodOccurrence,e.rule,e.maxLookahead,e.dynamicTokensEnabled,ob(e.prodType),dhe)}}});function Vqe(t){uS.reset(),t.accept(uS);let e=uS.dslMethods;return uS.reset(),e}var hS,zI,uS,Nhe=N(()=>{"use strict";qt();Ys();cS();ds();GI();hS=class{static{o(this,"LooksAhead")}initLooksAhead(e){this.dynamicTokensEnabled=Bt(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:ps.dynamicTokensEnabled,this.maxLookahead=Bt(e,"maxLookahead")?e.maxLookahead:ps.maxLookahead,this.lookaheadStrategy=Bt(e,"lookaheadStrategy")?e.lookaheadStrategy:new Ku({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=new Map}preComputeLookaheadFunctions(e){Ae(e,r=>{this.TRACE_INIT(`${r.name} Rule Lookahead`,()=>{let{alternation:n,repetition:i,option:a,repetitionMandatory:s,repetitionMandatoryWithSeparator:l,repetitionWithSeparator:u}=Vqe(r);Ae(n,h=>{let f=h.idx===0?"":h.idx;this.TRACE_INIT(`${qs(h)}${f}`,()=>{let d=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:h.idx,rule:r,maxLookahead:h.maxLookahead||this.maxLookahead,hasPredicates:h.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled}),p=lS(this.fullRuleNameToShort[r.name],256,h.idx);this.setLaFuncCache(p,d)})}),Ae(i,h=>{this.computeLookaheadFunc(r,h.idx,768,"Repetition",h.maxLookahead,qs(h))}),Ae(a,h=>{this.computeLookaheadFunc(r,h.idx,512,"Option",h.maxLookahead,qs(h))}),Ae(s,h=>{this.computeLookaheadFunc(r,h.idx,1024,"RepetitionMandatory",h.maxLookahead,qs(h))}),Ae(l,h=>{this.computeLookaheadFunc(r,h.idx,1536,"RepetitionMandatoryWithSeparator",h.maxLookahead,qs(h))}),Ae(u,h=>{this.computeLookaheadFunc(r,h.idx,1280,"RepetitionWithSeparator",h.maxLookahead,qs(h))})})})}computeLookaheadFunc(e,r,n,i,a,s){this.TRACE_INIT(`${s}${r===0?"":r}`,()=>{let l=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:r,rule:e,maxLookahead:a||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:i}),u=lS(this.fullRuleNameToShort[e.name],n,r);this.setLaFuncCache(u,l)})}getKeyForAutomaticLookahead(e,r){let n=this.getLastExplicitRuleShortName();return lS(n,e,r)}getLaFuncFromCache(e){return this.lookAheadFuncsCache.get(e)}setLaFuncCache(e,r){this.lookAheadFuncsCache.set(e,r)}},zI=class extends fs{static{o(this,"DslMethodsCollectorVisitor")}constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(e){this.dslMethods.option.push(e)}visitRepetitionWithSeparator(e){this.dslMethods.repetitionWithSeparator.push(e)}visitRepetitionMandatory(e){this.dslMethods.repetitionMandatory.push(e)}visitRepetitionMandatoryWithSeparator(e){this.dslMethods.repetitionMandatoryWithSeparator.push(e)}visitRepetition(e){this.dslMethods.repetition.push(e)}visitAlternation(e){this.dslMethods.alternation.push(e)}},uS=new zI;o(Vqe,"collectMethods")});function HI(t,e){isNaN(t.startOffset)===!0?(t.startOffset=e.startOffset,t.endOffset=e.endOffset):t.endOffset{"use strict";o(HI,"setNodeLocationOnlyOffset");o(WI,"setNodeLocationFull");o(Mhe,"addTerminalToCst");o(Ihe,"addNoneTerminalToCst")});function qI(t,e){Object.defineProperty(t,Uqe,{enumerable:!1,configurable:!0,writable:!1,value:e})}var Uqe,Phe=N(()=>{"use strict";Uqe="name";o(qI,"defineNameProp")});function Hqe(t,e){let r=Gr(t),n=r.length;for(let i=0;is.msg);throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>: ${a.join(` `).replace(/\n/g,` - `)}`)}},"validateVisitor")};return r.prototype=n,r.prototype.constructor=r,r._RULE_NAMES=e,r}function ile(t,e,r){let n=o(function(){},"derivedConstructor");_M(n,t+"BaseSemanticsWithDefaults");let i=Object.create(r.prototype);return Ae(e,a=>{i[a]=RFe}),n.prototype=i,n.prototype.constructor=n,n}function NFe(t,e){return MFe(t,e)}function MFe(t,e){let r=qr(e,i=>Ci(t[i])===!1),n=Je(r,i=>({msg:`Missing visitor method: <${i}> on ${t.constructor.name} CST Visitor.`,type:DM.MISSING_METHOD,methodName:i}));return Sc(n)}var DM,ale=N(()=>{"use strict";Yt();rle();o(RFe,"defaultVisit");o(nle,"createBaseSemanticVisitorConstructor");o(ile,"createBaseVisitorConstructorWithDefaults");(function(t){t[t.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",t[t.MISSING_METHOD=1]="MISSING_METHOD"})(DM||(DM={}));o(NFe,"validateVisitor");o(MFe,"validateMissingCstMethods")});var hE,sle=N(()=>{"use strict";tle();Yt();ale();Gs();hE=class{static{o(this,"TreeBuilder")}initTreeBuilder(e){if(this.CST_STACK=[],this.outputCst=e.outputCst,this.nodeLocationTracking=Bt(e,"nodeLocationTracking")?e.nodeLocationTracking:cs.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=ai,this.cstFinallyStateUpdate=ai,this.cstPostTerminal=ai,this.cstPostNonTerminal=ai,this.cstPostRule=ai;else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=AM,this.setNodeLocationFromNode=AM,this.cstPostRule=ai,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=ai,this.setNodeLocationFromNode=ai,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=CM,this.setNodeLocationFromNode=CM,this.cstPostRule=ai,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=ai,this.setNodeLocationFromNode=ai,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=ai,this.setNodeLocationFromNode=ai,this.cstPostRule=ai,this.setInitialNodeLocation=ai;else throw Error(`Invalid config option: "${e.nodeLocationTracking}"`)}setInitialNodeLocationOnlyOffsetRecovery(e){e.location={startOffset:NaN,endOffset:NaN}}setInitialNodeLocationOnlyOffsetRegular(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}}setInitialNodeLocationFullRecovery(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}}setInitialNodeLocationFullRegular(e){let r=this.LA(1);e.location={startOffset:r.startOffset,startLine:r.startLine,startColumn:r.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}}cstInvocationStateUpdate(e){let r={name:e,children:Object.create(null)};this.setInitialNodeLocation(r),this.CST_STACK.push(r)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(e){let r=this.LA(0),n=e.location;n.startOffset<=r.startOffset?(n.endOffset=r.endOffset,n.endLine=r.endLine,n.endColumn=r.endColumn):(n.startOffset=NaN,n.startLine=NaN,n.startColumn=NaN)}cstPostRuleOnlyOffset(e){let r=this.LA(0),n=e.location;n.startOffset<=r.startOffset?n.endOffset=r.endOffset:n.startOffset=NaN}cstPostTerminal(e,r){let n=this.CST_STACK[this.CST_STACK.length-1];Joe(n,r,e),this.setNodeLocationFromToken(n.location,r)}cstPostNonTerminal(e,r){let n=this.CST_STACK[this.CST_STACK.length-1];ele(n,r,e),this.setNodeLocationFromNode(n.location,e.location)}getBaseCstVisitorConstructor(){if(gr(this.baseCstVisitorConstructor)){let e=nle(this.className,$r(this.gastProductionsCache));return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if(gr(this.baseCstVisitorWithDefaultsConstructor)){let e=ile(this.className,$r(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor}getLastExplicitRuleShortName(){let e=this.RULE_STACK;return e[e.length-1]}getPreviousExplicitRuleShortName(){let e=this.RULE_STACK;return e[e.length-2]}getLastExplicitRuleOccurrenceIndex(){let e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]}}});var fE,ole=N(()=>{"use strict";Gs();fE=class{static{o(this,"LexerAdapter")}initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(e){if(this.selfAnalysisDone!==!0)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):Zg}LA(e){let r=this.currIdx+e;return r<0||this.tokVectorLength<=r?Zg:this.tokVector[r]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(e){this.currIdx=e}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVector.length-1}getLexerPosition(){return this.exportLexerState()}}});var dE,lle=N(()=>{"use strict";Yt();Qg();Gs();Wg();Tx();ls();dE=class{static{o(this,"RecognizerApi")}ACTION(e){return e.call(this)}consume(e,r,n){return this.consumeInternal(r,e,n)}subrule(e,r,n){return this.subruleInternal(r,e,n)}option(e,r){return this.optionInternal(r,e)}or(e,r){return this.orInternal(r,e)}many(e,r){return this.manyInternal(e,r)}atLeastOne(e,r){return this.atLeastOneInternal(e,r)}CONSUME(e,r){return this.consumeInternal(e,0,r)}CONSUME1(e,r){return this.consumeInternal(e,1,r)}CONSUME2(e,r){return this.consumeInternal(e,2,r)}CONSUME3(e,r){return this.consumeInternal(e,3,r)}CONSUME4(e,r){return this.consumeInternal(e,4,r)}CONSUME5(e,r){return this.consumeInternal(e,5,r)}CONSUME6(e,r){return this.consumeInternal(e,6,r)}CONSUME7(e,r){return this.consumeInternal(e,7,r)}CONSUME8(e,r){return this.consumeInternal(e,8,r)}CONSUME9(e,r){return this.consumeInternal(e,9,r)}SUBRULE(e,r){return this.subruleInternal(e,0,r)}SUBRULE1(e,r){return this.subruleInternal(e,1,r)}SUBRULE2(e,r){return this.subruleInternal(e,2,r)}SUBRULE3(e,r){return this.subruleInternal(e,3,r)}SUBRULE4(e,r){return this.subruleInternal(e,4,r)}SUBRULE5(e,r){return this.subruleInternal(e,5,r)}SUBRULE6(e,r){return this.subruleInternal(e,6,r)}SUBRULE7(e,r){return this.subruleInternal(e,7,r)}SUBRULE8(e,r){return this.subruleInternal(e,8,r)}SUBRULE9(e,r){return this.subruleInternal(e,9,r)}OPTION(e){return this.optionInternal(e,0)}OPTION1(e){return this.optionInternal(e,1)}OPTION2(e){return this.optionInternal(e,2)}OPTION3(e){return this.optionInternal(e,3)}OPTION4(e){return this.optionInternal(e,4)}OPTION5(e){return this.optionInternal(e,5)}OPTION6(e){return this.optionInternal(e,6)}OPTION7(e){return this.optionInternal(e,7)}OPTION8(e){return this.optionInternal(e,8)}OPTION9(e){return this.optionInternal(e,9)}OR(e){return this.orInternal(e,0)}OR1(e){return this.orInternal(e,1)}OR2(e){return this.orInternal(e,2)}OR3(e){return this.orInternal(e,3)}OR4(e){return this.orInternal(e,4)}OR5(e){return this.orInternal(e,5)}OR6(e){return this.orInternal(e,6)}OR7(e){return this.orInternal(e,7)}OR8(e){return this.orInternal(e,8)}OR9(e){return this.orInternal(e,9)}MANY(e){this.manyInternal(0,e)}MANY1(e){this.manyInternal(1,e)}MANY2(e){this.manyInternal(2,e)}MANY3(e){this.manyInternal(3,e)}MANY4(e){this.manyInternal(4,e)}MANY5(e){this.manyInternal(5,e)}MANY6(e){this.manyInternal(6,e)}MANY7(e){this.manyInternal(7,e)}MANY8(e){this.manyInternal(8,e)}MANY9(e){this.manyInternal(9,e)}MANY_SEP(e){this.manySepFirstInternal(0,e)}MANY_SEP1(e){this.manySepFirstInternal(1,e)}MANY_SEP2(e){this.manySepFirstInternal(2,e)}MANY_SEP3(e){this.manySepFirstInternal(3,e)}MANY_SEP4(e){this.manySepFirstInternal(4,e)}MANY_SEP5(e){this.manySepFirstInternal(5,e)}MANY_SEP6(e){this.manySepFirstInternal(6,e)}MANY_SEP7(e){this.manySepFirstInternal(7,e)}MANY_SEP8(e){this.manySepFirstInternal(8,e)}MANY_SEP9(e){this.manySepFirstInternal(9,e)}AT_LEAST_ONE(e){this.atLeastOneInternal(0,e)}AT_LEAST_ONE1(e){return this.atLeastOneInternal(1,e)}AT_LEAST_ONE2(e){this.atLeastOneInternal(2,e)}AT_LEAST_ONE3(e){this.atLeastOneInternal(3,e)}AT_LEAST_ONE4(e){this.atLeastOneInternal(4,e)}AT_LEAST_ONE5(e){this.atLeastOneInternal(5,e)}AT_LEAST_ONE6(e){this.atLeastOneInternal(6,e)}AT_LEAST_ONE7(e){this.atLeastOneInternal(7,e)}AT_LEAST_ONE8(e){this.atLeastOneInternal(8,e)}AT_LEAST_ONE9(e){this.atLeastOneInternal(9,e)}AT_LEAST_ONE_SEP(e){this.atLeastOneSepFirstInternal(0,e)}AT_LEAST_ONE_SEP1(e){this.atLeastOneSepFirstInternal(1,e)}AT_LEAST_ONE_SEP2(e){this.atLeastOneSepFirstInternal(2,e)}AT_LEAST_ONE_SEP3(e){this.atLeastOneSepFirstInternal(3,e)}AT_LEAST_ONE_SEP4(e){this.atLeastOneSepFirstInternal(4,e)}AT_LEAST_ONE_SEP5(e){this.atLeastOneSepFirstInternal(5,e)}AT_LEAST_ONE_SEP6(e){this.atLeastOneSepFirstInternal(6,e)}AT_LEAST_ONE_SEP7(e){this.atLeastOneSepFirstInternal(7,e)}AT_LEAST_ONE_SEP8(e){this.atLeastOneSepFirstInternal(8,e)}AT_LEAST_ONE_SEP9(e){this.atLeastOneSepFirstInternal(9,e)}RULE(e,r,n=Jg){if(qn(this.definedRulesNames,e)){let s={message:Bl.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),type:zi.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(s)}this.definedRulesNames.push(e);let i=this.defineRule(e,r,n);return this[e]=i,i}OVERRIDE_RULE(e,r,n=Jg){let i=zoe(e,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(i);let a=this.defineRule(e,r,n);return this[e]=a,a}BACKTRACK(e,r){return function(){this.isBackTrackingStack.push(1);let n=this.saveRecogState();try{return e.apply(this,r),!0}catch(i){if(uf(i))return!1;throw i}finally{this.reloadRecogState(n),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){return Fk(br(this.gastProductionsCache))}}});var pE,cle=N(()=>{"use strict";Yt();aE();Qg();jg();vx();Gs();TM();gp();mp();pE=class{static{o(this,"RecognizerEngine")}initRecognizerEngine(e,r){if(this.className=this.constructor.name,this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=Ug,this.subruleIdx=0,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},Bt(r,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a property. + `)}`)}},"validateVisitor")};return r.prototype=n,r.prototype.constructor=r,r._RULE_NAMES=e,r}function Fhe(t,e,r){let n=o(function(){},"derivedConstructor");qI(n,t+"BaseSemanticsWithDefaults");let i=Object.create(r.prototype);return Ae(e,a=>{i[a]=Hqe}),n.prototype=i,n.prototype.constructor=n,n}function Wqe(t,e){return qqe(t,e)}function qqe(t,e){let r=Yr(e,i=>Ai(t[i])===!1),n=et(r,i=>({msg:`Missing visitor method: <${i}> on ${t.constructor.name} CST Visitor.`,type:YI.MISSING_METHOD,methodName:i}));return Cc(n)}var YI,$he=N(()=>{"use strict";qt();Phe();o(Hqe,"defaultVisit");o(Bhe,"createBaseSemanticVisitorConstructor");o(Fhe,"createBaseVisitorConstructorWithDefaults");(function(t){t[t.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",t[t.MISSING_METHOD=1]="MISSING_METHOD"})(YI||(YI={}));o(Wqe,"validateVisitor");o(qqe,"validateMissingCstMethods")});var mS,Ghe=N(()=>{"use strict";Ohe();qt();$he();Ys();mS=class{static{o(this,"TreeBuilder")}initTreeBuilder(e){if(this.CST_STACK=[],this.outputCst=e.outputCst,this.nodeLocationTracking=Bt(e,"nodeLocationTracking")?e.nodeLocationTracking:ps.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=si,this.cstFinallyStateUpdate=si,this.cstPostTerminal=si,this.cstPostNonTerminal=si,this.cstPostRule=si;else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=WI,this.setNodeLocationFromNode=WI,this.cstPostRule=si,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=si,this.setNodeLocationFromNode=si,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=HI,this.setNodeLocationFromNode=HI,this.cstPostRule=si,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=si,this.setNodeLocationFromNode=si,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=si,this.setNodeLocationFromNode=si,this.cstPostRule=si,this.setInitialNodeLocation=si;else throw Error(`Invalid config option: "${e.nodeLocationTracking}"`)}setInitialNodeLocationOnlyOffsetRecovery(e){e.location={startOffset:NaN,endOffset:NaN}}setInitialNodeLocationOnlyOffsetRegular(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}}setInitialNodeLocationFullRecovery(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}}setInitialNodeLocationFullRegular(e){let r=this.LA(1);e.location={startOffset:r.startOffset,startLine:r.startLine,startColumn:r.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}}cstInvocationStateUpdate(e){let r={name:e,children:Object.create(null)};this.setInitialNodeLocation(r),this.CST_STACK.push(r)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(e){let r=this.LA(0),n=e.location;n.startOffset<=r.startOffset?(n.endOffset=r.endOffset,n.endLine=r.endLine,n.endColumn=r.endColumn):(n.startOffset=NaN,n.startLine=NaN,n.startColumn=NaN)}cstPostRuleOnlyOffset(e){let r=this.LA(0),n=e.location;n.startOffset<=r.startOffset?n.endOffset=r.endOffset:n.startOffset=NaN}cstPostTerminal(e,r){let n=this.CST_STACK[this.CST_STACK.length-1];Mhe(n,r,e),this.setNodeLocationFromToken(n.location,r)}cstPostNonTerminal(e,r){let n=this.CST_STACK[this.CST_STACK.length-1];Ihe(n,r,e),this.setNodeLocationFromNode(n.location,e.location)}getBaseCstVisitorConstructor(){if(gr(this.baseCstVisitorConstructor)){let e=Bhe(this.className,Gr(this.gastProductionsCache));return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if(gr(this.baseCstVisitorWithDefaultsConstructor)){let e=Fhe(this.className,Gr(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor}getLastExplicitRuleShortName(){let e=this.RULE_STACK;return e[e.length-1]}getPreviousExplicitRuleShortName(){let e=this.RULE_STACK;return e[e.length-2]}getLastExplicitRuleOccurrenceIndex(){let e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]}}});var gS,zhe=N(()=>{"use strict";Ys();gS=class{static{o(this,"LexerAdapter")}initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(e){if(this.selfAnalysisDone!==!0)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):S1}LA(e){let r=this.currIdx+e;return r<0||this.tokVectorLength<=r?S1:this.tokVector[r]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(e){this.currIdx=e}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVector.length-1}getLexerPosition(){return this.exportLexerState()}}});var yS,Vhe=N(()=>{"use strict";qt();E1();Ys();v1();cb();ds();yS=class{static{o(this,"RecognizerApi")}ACTION(e){return e.call(this)}consume(e,r,n){return this.consumeInternal(r,e,n)}subrule(e,r,n){return this.subruleInternal(r,e,n)}option(e,r){return this.optionInternal(r,e)}or(e,r){return this.orInternal(r,e)}many(e,r){return this.manyInternal(e,r)}atLeastOne(e,r){return this.atLeastOneInternal(e,r)}CONSUME(e,r){return this.consumeInternal(e,0,r)}CONSUME1(e,r){return this.consumeInternal(e,1,r)}CONSUME2(e,r){return this.consumeInternal(e,2,r)}CONSUME3(e,r){return this.consumeInternal(e,3,r)}CONSUME4(e,r){return this.consumeInternal(e,4,r)}CONSUME5(e,r){return this.consumeInternal(e,5,r)}CONSUME6(e,r){return this.consumeInternal(e,6,r)}CONSUME7(e,r){return this.consumeInternal(e,7,r)}CONSUME8(e,r){return this.consumeInternal(e,8,r)}CONSUME9(e,r){return this.consumeInternal(e,9,r)}SUBRULE(e,r){return this.subruleInternal(e,0,r)}SUBRULE1(e,r){return this.subruleInternal(e,1,r)}SUBRULE2(e,r){return this.subruleInternal(e,2,r)}SUBRULE3(e,r){return this.subruleInternal(e,3,r)}SUBRULE4(e,r){return this.subruleInternal(e,4,r)}SUBRULE5(e,r){return this.subruleInternal(e,5,r)}SUBRULE6(e,r){return this.subruleInternal(e,6,r)}SUBRULE7(e,r){return this.subruleInternal(e,7,r)}SUBRULE8(e,r){return this.subruleInternal(e,8,r)}SUBRULE9(e,r){return this.subruleInternal(e,9,r)}OPTION(e){return this.optionInternal(e,0)}OPTION1(e){return this.optionInternal(e,1)}OPTION2(e){return this.optionInternal(e,2)}OPTION3(e){return this.optionInternal(e,3)}OPTION4(e){return this.optionInternal(e,4)}OPTION5(e){return this.optionInternal(e,5)}OPTION6(e){return this.optionInternal(e,6)}OPTION7(e){return this.optionInternal(e,7)}OPTION8(e){return this.optionInternal(e,8)}OPTION9(e){return this.optionInternal(e,9)}OR(e){return this.orInternal(e,0)}OR1(e){return this.orInternal(e,1)}OR2(e){return this.orInternal(e,2)}OR3(e){return this.orInternal(e,3)}OR4(e){return this.orInternal(e,4)}OR5(e){return this.orInternal(e,5)}OR6(e){return this.orInternal(e,6)}OR7(e){return this.orInternal(e,7)}OR8(e){return this.orInternal(e,8)}OR9(e){return this.orInternal(e,9)}MANY(e){this.manyInternal(0,e)}MANY1(e){this.manyInternal(1,e)}MANY2(e){this.manyInternal(2,e)}MANY3(e){this.manyInternal(3,e)}MANY4(e){this.manyInternal(4,e)}MANY5(e){this.manyInternal(5,e)}MANY6(e){this.manyInternal(6,e)}MANY7(e){this.manyInternal(7,e)}MANY8(e){this.manyInternal(8,e)}MANY9(e){this.manyInternal(9,e)}MANY_SEP(e){this.manySepFirstInternal(0,e)}MANY_SEP1(e){this.manySepFirstInternal(1,e)}MANY_SEP2(e){this.manySepFirstInternal(2,e)}MANY_SEP3(e){this.manySepFirstInternal(3,e)}MANY_SEP4(e){this.manySepFirstInternal(4,e)}MANY_SEP5(e){this.manySepFirstInternal(5,e)}MANY_SEP6(e){this.manySepFirstInternal(6,e)}MANY_SEP7(e){this.manySepFirstInternal(7,e)}MANY_SEP8(e){this.manySepFirstInternal(8,e)}MANY_SEP9(e){this.manySepFirstInternal(9,e)}AT_LEAST_ONE(e){this.atLeastOneInternal(0,e)}AT_LEAST_ONE1(e){return this.atLeastOneInternal(1,e)}AT_LEAST_ONE2(e){this.atLeastOneInternal(2,e)}AT_LEAST_ONE3(e){this.atLeastOneInternal(3,e)}AT_LEAST_ONE4(e){this.atLeastOneInternal(4,e)}AT_LEAST_ONE5(e){this.atLeastOneInternal(5,e)}AT_LEAST_ONE6(e){this.atLeastOneInternal(6,e)}AT_LEAST_ONE7(e){this.atLeastOneInternal(7,e)}AT_LEAST_ONE8(e){this.atLeastOneInternal(8,e)}AT_LEAST_ONE9(e){this.atLeastOneInternal(9,e)}AT_LEAST_ONE_SEP(e){this.atLeastOneSepFirstInternal(0,e)}AT_LEAST_ONE_SEP1(e){this.atLeastOneSepFirstInternal(1,e)}AT_LEAST_ONE_SEP2(e){this.atLeastOneSepFirstInternal(2,e)}AT_LEAST_ONE_SEP3(e){this.atLeastOneSepFirstInternal(3,e)}AT_LEAST_ONE_SEP4(e){this.atLeastOneSepFirstInternal(4,e)}AT_LEAST_ONE_SEP5(e){this.atLeastOneSepFirstInternal(5,e)}AT_LEAST_ONE_SEP6(e){this.atLeastOneSepFirstInternal(6,e)}AT_LEAST_ONE_SEP7(e){this.atLeastOneSepFirstInternal(7,e)}AT_LEAST_ONE_SEP8(e){this.atLeastOneSepFirstInternal(8,e)}AT_LEAST_ONE_SEP9(e){this.atLeastOneSepFirstInternal(9,e)}RULE(e,r,n=C1){if(jn(this.definedRulesNames,e)){let s={message:zl.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),type:Ui.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(s)}this.definedRulesNames.push(e);let i=this.defineRule(e,r,n);return this[e]=i,i}OVERRIDE_RULE(e,r,n=C1){let i=bhe(e,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(i);let a=this.defineRule(e,r,n);return this[e]=a,a}BACKTRACK(e,r){return function(){this.isBackTrackingStack.push(1);let n=this.saveRecogState();try{return e.apply(this,r),!0}catch(i){if(Nf(i))return!1;throw i}finally{this.reloadRecogState(n),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){return VE(br(this.gastProductionsCache))}}});var vS,Uhe=N(()=>{"use strict";qt();cS();E1();w1();sb();Ys();$I();$p();Fp();vS=class{static{o(this,"RecognizerEngine")}initRecognizerEngine(e,r){if(this.className=this.constructor.name,this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=g1,this.subruleIdx=0,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},Bt(r,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a property. See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0 For Further details.`);if(Pt(e)){if(fr(e))throw Error(`A Token Vocabulary cannot be empty. Note that the first argument for the parser constructor is no longer a Token vector (since v4.0).`);if(typeof e[0].startOffset=="number")throw Error(`The Parser constructor no longer accepts a token vector as the first argument. See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0 - For Further details.`)}if(Pt(e))this.tokensMap=Yr(e,(a,s)=>(a[s.name]=s,a),{});else if(Bt(e,"modes")&&Na(Wr(br(e.modes)),yoe)){let a=Wr(br(e.modes)),s=zm(a);this.tokensMap=Yr(s,(l,u)=>(l[u.name]=u,l),{})}else if(xn(e))this.tokensMap=nn(e);else throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=uo;let n=Bt(e,"modes")?Wr(br(e.modes)):br(e),i=Na(n,a=>fr(a.categoryMatches));this.tokenMatcher=i?Ug:Fu,$u(br(this.tokensMap))}defineRule(e,r,n){if(this.selfAnalysisDone)throw Error(`Grammar rule <${e}> may not be defined after the 'performSelfAnalysis' method has been called' -Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);let i=Bt(n,"resyncEnabled")?n.resyncEnabled:Jg.resyncEnabled,a=Bt(n,"recoveryValueFunc")?n.recoveryValueFunc:Jg.recoveryValueFunc,s=this.ruleShortNameIdx<<12;this.ruleShortNameIdx++,this.shortRuleNameToFull[s]=e,this.fullRuleNameToShort[e]=s;let l;return this.outputCst===!0?l=o(function(...f){try{this.ruleInvocationStateUpdate(s,e,this.subruleIdx),r.apply(this,f);let d=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(d),d}catch(d){return this.invokeRuleCatch(d,i,a)}finally{this.ruleFinallyStateUpdate()}},"invokeRuleWithTry"):l=o(function(...f){try{return this.ruleInvocationStateUpdate(s,e,this.subruleIdx),r.apply(this,f)}catch(d){return this.invokeRuleCatch(d,i,a)}finally{this.ruleFinallyStateUpdate()}},"invokeRuleWithTryCst"),Object.assign(l,{ruleName:e,originalGrammarAction:r})}invokeRuleCatch(e,r,n){let i=this.RULE_STACK.length===1,a=r&&!this.isBackTracking()&&this.recoveryEnabled;if(uf(e)){let s=e;if(a){let l=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(l))if(s.resyncedTokens=this.reSyncTo(l),this.outputCst){let u=this.CST_STACK[this.CST_STACK.length-1];return u.recoveredNode=!0,u}else return n(e);else{if(this.outputCst){let u=this.CST_STACK[this.CST_STACK.length-1];u.recoveredNode=!0,s.partialCstResult=u}throw s}}else{if(i)return this.moveToTerminatedState(),n(e);throw s}}else throw e}optionInternal(e,r){let n=this.getKeyForAutomaticLookahead(512,r);return this.optionInternalLogic(e,r,n)}optionInternalLogic(e,r,n){let i=this.getLaFuncFromCache(n),a;if(typeof e!="function"){a=e.DEF;let s=e.GATE;if(s!==void 0){let l=i;i=o(()=>s.call(this)&&l.call(this),"lookAheadFunc")}}else a=e;if(i.call(this)===!0)return a.call(this)}atLeastOneInternal(e,r){let n=this.getKeyForAutomaticLookahead(1024,e);return this.atLeastOneInternalLogic(e,r,n)}atLeastOneInternalLogic(e,r,n){let i=this.getLaFuncFromCache(n),a;if(typeof r!="function"){a=r.DEF;let s=r.GATE;if(s!==void 0){let l=i;i=o(()=>s.call(this)&&l.call(this),"lookAheadFunc")}}else a=r;if(i.call(this)===!0){let s=this.doSingleRepetition(a);for(;i.call(this)===!0&&s===!0;)s=this.doSingleRepetition(a)}else throw this.raiseEarlyExitException(e,jn.REPETITION_MANDATORY,r.ERR_MSG);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[e,r],i,1024,e,Kk)}atLeastOneSepFirstInternal(e,r){let n=this.getKeyForAutomaticLookahead(1536,e);this.atLeastOneSepFirstInternalLogic(e,r,n)}atLeastOneSepFirstInternalLogic(e,r,n){let i=r.DEF,a=r.SEP;if(this.getLaFuncFromCache(n).call(this)===!0){i.call(this);let l=o(()=>this.tokenMatcher(this.LA(1),a),"separatorLookAheadFunc");for(;this.tokenMatcher(this.LA(1),a)===!0;)this.CONSUME(a),i.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,a,l,i,yx],l,1536,e,yx)}else throw this.raiseEarlyExitException(e,jn.REPETITION_MANDATORY_WITH_SEPARATOR,r.ERR_MSG)}manyInternal(e,r){let n=this.getKeyForAutomaticLookahead(768,e);return this.manyInternalLogic(e,r,n)}manyInternalLogic(e,r,n){let i=this.getLaFuncFromCache(n),a;if(typeof r!="function"){a=r.DEF;let l=r.GATE;if(l!==void 0){let u=i;i=o(()=>l.call(this)&&u.call(this),"lookaheadFunction")}}else a=r;let s=!0;for(;i.call(this)===!0&&s===!0;)s=this.doSingleRepetition(a);this.attemptInRepetitionRecovery(this.manyInternal,[e,r],i,768,e,jk,s)}manySepFirstInternal(e,r){let n=this.getKeyForAutomaticLookahead(1280,e);this.manySepFirstInternalLogic(e,r,n)}manySepFirstInternalLogic(e,r,n){let i=r.DEF,a=r.SEP;if(this.getLaFuncFromCache(n).call(this)===!0){i.call(this);let l=o(()=>this.tokenMatcher(this.LA(1),a),"separatorLookAheadFunc");for(;this.tokenMatcher(this.LA(1),a)===!0;)this.CONSUME(a),i.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,a,l,i,gx],l,1280,e,gx)}}repetitionSepSecondInternal(e,r,n,i,a){for(;n();)this.CONSUME(r),i.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,r,n,i,a],n,1536,e,a)}doSingleRepetition(e){let r=this.getLexerPosition();return e.call(this),this.getLexerPosition()>r}orInternal(e,r){let n=this.getKeyForAutomaticLookahead(256,r),i=Pt(e)?e:e.DEF,s=this.getLaFuncFromCache(n).call(this,i);if(s!==void 0)return i[s].ALT.call(this);this.raiseNoAltException(r,e.ERR_MSG)}ruleFinallyStateUpdate(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),this.RULE_STACK.length===0&&this.isAtEndOfInput()===!1){let e=this.LA(1),r=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new kx(r,e))}}subruleInternal(e,r,n){let i;try{let a=n!==void 0?n.ARGS:void 0;return this.subruleIdx=r,i=e.apply(this,a),this.cstPostNonTerminal(i,n!==void 0&&n.LABEL!==void 0?n.LABEL:e.ruleName),i}catch(a){throw this.subruleInternalError(a,n,e.ruleName)}}subruleInternalError(e,r,n){throw uf(e)&&e.partialCstResult!==void 0&&(this.cstPostNonTerminal(e.partialCstResult,r!==void 0&&r.LABEL!==void 0?r.LABEL:n),delete e.partialCstResult),e}consumeInternal(e,r,n){let i;try{let a=this.LA(1);this.tokenMatcher(a,e)===!0?(this.consumeToken(),i=a):this.consumeInternalError(e,a,n)}catch(a){i=this.consumeInternalRecovery(e,r,a)}return this.cstPostTerminal(n!==void 0&&n.LABEL!==void 0?n.LABEL:e.name,i),i}consumeInternalError(e,r,n){let i,a=this.LA(0);throw n!==void 0&&n.ERR_MSG?i=n.ERR_MSG:i=this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:r,previous:a,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new yp(i,r,a))}consumeInternalRecovery(e,r,n){if(this.recoveryEnabled&&n.name==="MismatchedTokenException"&&!this.isBackTracking()){let i=this.getFollowsForInRuleRecovery(e,r);try{return this.tryInRuleRecovery(e,i)}catch(a){throw a.name===bM?n:a}}else throw n}saveRecogState(){let e=this.errors,r=nn(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:r,CST_STACK:this.CST_STACK}}reloadRecogState(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK}ruleInvocationStateUpdate(e,r,n){this.RULE_OCCURRENCE_STACK.push(n),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(r)}isBackTracking(){return this.isBackTrackingStack.length!==0}getCurrRuleFullName(){let e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]}shortRuleNameToFullName(e){return this.shortRuleNameToFull[e]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),uo)}reset(){this.resetLexerState(),this.subruleIdx=0,this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]}}});var mE,ule=N(()=>{"use strict";Qg();Yt();jg();Gs();mE=class{static{o(this,"ErrorHandler")}initErrorHandler(e){this._errors=[],this.errorMessageProvider=Bt(e,"errorMessageProvider")?e.errorMessageProvider:cs.errorMessageProvider}SAVE_ERROR(e){if(uf(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:nn(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")}get errors(){return nn(this._errors)}set errors(e){this._errors=e}raiseEarlyExitException(e,r,n){let i=this.getCurrRuleFullName(),a=this.getGAstProductions()[i],l=Xg(e,a,r,this.maxLookahead)[0],u=[];for(let f=1;f<=this.maxLookahead;f++)u.push(this.LA(f));let h=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:l,actual:u,previous:this.LA(0),customUserDescription:n,ruleName:i});throw this.SAVE_ERROR(new Ex(h,this.LA(1),this.LA(0)))}raiseNoAltException(e,r){let n=this.getCurrRuleFullName(),i=this.getGAstProductions()[n],a=Yg(e,i,this.maxLookahead),s=[];for(let h=1;h<=this.maxLookahead;h++)s.push(this.LA(h));let l=this.LA(0),u=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:a,actual:s,previous:l,customUserDescription:r,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new wx(u,this.LA(1),l))}}});var gE,hle=N(()=>{"use strict";vx();Yt();gE=class{static{o(this,"ContentAssist")}initContentAssist(){}computeContentAssist(e,r){let n=this.gastProductionsCache[e];if(gr(n))throw Error(`Rule ->${e}<- does not exist in this grammar.`);return Zk([n],r,this.tokenMatcher,this.maxLookahead)}getNextPossibleTokenTypes(e){let r=ra(e.ruleStack),i=this.getGAstProductions()[r];return new Xk(i,e).startWalking()}}});function Cx(t,e,r,n=!1){vE(r);let i=da(this.recordingProdStack),a=Ci(e)?e:e.DEF,s=new t({definition:[],idx:r});return n&&(s.separator=e.SEP),Bt(e,"MAX_LOOKAHEAD")&&(s.maxLookahead=e.MAX_LOOKAHEAD),this.recordingProdStack.push(s),a.call(this),i.definition.push(s),this.recordingProdStack.pop(),xE}function PFe(t,e){vE(e);let r=da(this.recordingProdStack),n=Pt(t)===!1,i=n===!1?t:t.DEF,a=new Tn({definition:[],idx:e,ignoreAmbiguities:n&&t.IGNORE_AMBIGUITIES===!0});Bt(t,"MAX_LOOKAHEAD")&&(a.maxLookahead=t.MAX_LOOKAHEAD);let s=P2(i,l=>Ci(l.GATE));return a.hasPredicates=s,r.definition.push(a),Ae(i,l=>{let u=new _n({definition:[]});a.definition.push(u),Bt(l,"IGNORE_AMBIGUITIES")?u.ignoreAmbiguities=l.IGNORE_AMBIGUITIES:Bt(l,"GATE")&&(u.ignoreAmbiguities=!0),this.recordingProdStack.push(u),l.ALT.call(this),this.recordingProdStack.pop()}),xE}function ple(t){return t===0?"":`${t}`}function vE(t){if(t<0||t>dle){let e=new Error(`Invalid DSL Method idx value: <${t}> - Idx value must be a none negative value smaller than ${dle+1}`);throw e.KNOWN_RECORDER_ERROR=!0,e}}var xE,fle,dle,mle,gle,OFe,yE,yle=N(()=>{"use strict";Yt();ls();dx();mp();gp();Gs();aE();xE={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(xE);fle=!0,dle=Math.pow(2,8)-1,mle=cf({name:"RECORDING_PHASE_TOKEN",pattern:Xn.NA});$u([mle]);gle=Gu(mle,`This IToken indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1);Object.freeze(gle);OFe={name:`This CSTNode indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,children:{}},yE=class{static{o(this,"GastRecorder")}initGastRecorder(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1}enableRecording(){this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",()=>{for(let e=0;e<10;e++){let r=e>0?e:"";this[`CONSUME${r}`]=function(n,i){return this.consumeInternalRecord(n,e,i)},this[`SUBRULE${r}`]=function(n,i){return this.subruleInternalRecord(n,e,i)},this[`OPTION${r}`]=function(n){return this.optionInternalRecord(n,e)},this[`OR${r}`]=function(n){return this.orInternalRecord(n,e)},this[`MANY${r}`]=function(n){this.manyInternalRecord(e,n)},this[`MANY_SEP${r}`]=function(n){this.manySepFirstInternalRecord(e,n)},this[`AT_LEAST_ONE${r}`]=function(n){this.atLeastOneInternalRecord(e,n)},this[`AT_LEAST_ONE_SEP${r}`]=function(n){this.atLeastOneSepFirstInternalRecord(e,n)}}this.consume=function(e,r,n){return this.consumeInternalRecord(r,e,n)},this.subrule=function(e,r,n){return this.subruleInternalRecord(r,e,n)},this.option=function(e,r){return this.optionInternalRecord(r,e)},this.or=function(e,r){return this.orInternalRecord(r,e)},this.many=function(e,r){this.manyInternalRecord(e,r)},this.atLeastOne=function(e,r){this.atLeastOneInternalRecord(e,r)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD})}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",()=>{let e=this;for(let r=0;r<10;r++){let n=r>0?r:"";delete e[`CONSUME${n}`],delete e[`SUBRULE${n}`],delete e[`OPTION${n}`],delete e[`OR${n}`],delete e[`MANY${n}`],delete e[`MANY_SEP${n}`],delete e[`AT_LEAST_ONE${n}`],delete e[`AT_LEAST_ONE_SEP${n}`]}delete e.consume,delete e.subrule,delete e.option,delete e.or,delete e.many,delete e.atLeastOne,delete e.ACTION,delete e.BACKTRACK,delete e.LA})}ACTION_RECORD(e){}BACKTRACK_RECORD(e,r){return()=>!0}LA_RECORD(e){return Zg}topLevelRuleRecord(e,r){try{let n=new ss({definition:[],name:e});return n.name=e,this.recordingProdStack.push(n),r.call(this),this.recordingProdStack.pop(),n}catch(n){if(n.KNOWN_RECORDER_ERROR!==!0)try{n.message=n.message+` + For Further details.`)}if(Pt(e))this.tokensMap=Xr(e,(a,s)=>(a[s.name]=s,a),{});else if(Bt(e,"modes")&&Ia(qr(br(e.modes)),Que)){let a=qr(br(e.modes)),s=zm(a);this.tokensMap=Xr(s,(l,u)=>(l[u.name]=u,l),{})}else if(Tn(e))this.tokensMap=an(e);else throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=go;let n=Bt(e,"modes")?qr(br(e.modes)):br(e),i=Ia(n,a=>fr(a.categoryMatches));this.tokenMatcher=i?g1:Wu,qu(br(this.tokensMap))}defineRule(e,r,n){if(this.selfAnalysisDone)throw Error(`Grammar rule <${e}> may not be defined after the 'performSelfAnalysis' method has been called' +Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);let i=Bt(n,"resyncEnabled")?n.resyncEnabled:C1.resyncEnabled,a=Bt(n,"recoveryValueFunc")?n.recoveryValueFunc:C1.recoveryValueFunc,s=this.ruleShortNameIdx<<12;this.ruleShortNameIdx++,this.shortRuleNameToFull[s]=e,this.fullRuleNameToShort[e]=s;let l;return this.outputCst===!0?l=o(function(...f){try{this.ruleInvocationStateUpdate(s,e,this.subruleIdx),r.apply(this,f);let d=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(d),d}catch(d){return this.invokeRuleCatch(d,i,a)}finally{this.ruleFinallyStateUpdate()}},"invokeRuleWithTry"):l=o(function(...f){try{return this.ruleInvocationStateUpdate(s,e,this.subruleIdx),r.apply(this,f)}catch(d){return this.invokeRuleCatch(d,i,a)}finally{this.ruleFinallyStateUpdate()}},"invokeRuleWithTryCst"),Object.assign(l,{ruleName:e,originalGrammarAction:r})}invokeRuleCatch(e,r,n){let i=this.RULE_STACK.length===1,a=r&&!this.isBackTracking()&&this.recoveryEnabled;if(Nf(e)){let s=e;if(a){let l=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(l))if(s.resyncedTokens=this.reSyncTo(l),this.outputCst){let u=this.CST_STACK[this.CST_STACK.length-1];return u.recoveredNode=!0,u}else return n(e);else{if(this.outputCst){let u=this.CST_STACK[this.CST_STACK.length-1];u.recoveredNode=!0,s.partialCstResult=u}throw s}}else{if(i)return this.moveToTerminatedState(),n(e);throw s}}else throw e}optionInternal(e,r){let n=this.getKeyForAutomaticLookahead(512,r);return this.optionInternalLogic(e,r,n)}optionInternalLogic(e,r,n){let i=this.getLaFuncFromCache(n),a;if(typeof e!="function"){a=e.DEF;let s=e.GATE;if(s!==void 0){let l=i;i=o(()=>s.call(this)&&l.call(this),"lookAheadFunc")}}else a=e;if(i.call(this)===!0)return a.call(this)}atLeastOneInternal(e,r){let n=this.getKeyForAutomaticLookahead(1024,e);return this.atLeastOneInternalLogic(e,r,n)}atLeastOneInternalLogic(e,r,n){let i=this.getLaFuncFromCache(n),a;if(typeof r!="function"){a=r.DEF;let s=r.GATE;if(s!==void 0){let l=i;i=o(()=>s.call(this)&&l.call(this),"lookAheadFunc")}}else a=r;if(i.call(this)===!0){let s=this.doSingleRepetition(a);for(;i.call(this)===!0&&s===!0;)s=this.doSingleRepetition(a)}else throw this.raiseEarlyExitException(e,Zn.REPETITION_MANDATORY,r.ERR_MSG);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[e,r],i,1024,e,eS)}atLeastOneSepFirstInternal(e,r){let n=this.getKeyForAutomaticLookahead(1536,e);this.atLeastOneSepFirstInternalLogic(e,r,n)}atLeastOneSepFirstInternalLogic(e,r,n){let i=r.DEF,a=r.SEP;if(this.getLaFuncFromCache(n).call(this)===!0){i.call(this);let l=o(()=>this.tokenMatcher(this.LA(1),a),"separatorLookAheadFunc");for(;this.tokenMatcher(this.LA(1),a)===!0;)this.CONSUME(a),i.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,a,l,i,ab],l,1536,e,ab)}else throw this.raiseEarlyExitException(e,Zn.REPETITION_MANDATORY_WITH_SEPARATOR,r.ERR_MSG)}manyInternal(e,r){let n=this.getKeyForAutomaticLookahead(768,e);return this.manyInternalLogic(e,r,n)}manyInternalLogic(e,r,n){let i=this.getLaFuncFromCache(n),a;if(typeof r!="function"){a=r.DEF;let l=r.GATE;if(l!==void 0){let u=i;i=o(()=>l.call(this)&&u.call(this),"lookaheadFunction")}}else a=r;let s=!0;for(;i.call(this)===!0&&s===!0;)s=this.doSingleRepetition(a);this.attemptInRepetitionRecovery(this.manyInternal,[e,r],i,768,e,JE,s)}manySepFirstInternal(e,r){let n=this.getKeyForAutomaticLookahead(1280,e);this.manySepFirstInternalLogic(e,r,n)}manySepFirstInternalLogic(e,r,n){let i=r.DEF,a=r.SEP;if(this.getLaFuncFromCache(n).call(this)===!0){i.call(this);let l=o(()=>this.tokenMatcher(this.LA(1),a),"separatorLookAheadFunc");for(;this.tokenMatcher(this.LA(1),a)===!0;)this.CONSUME(a),i.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,a,l,i,ib],l,1280,e,ib)}}repetitionSepSecondInternal(e,r,n,i,a){for(;n();)this.CONSUME(r),i.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,r,n,i,a],n,1536,e,a)}doSingleRepetition(e){let r=this.getLexerPosition();return e.call(this),this.getLexerPosition()>r}orInternal(e,r){let n=this.getKeyForAutomaticLookahead(256,r),i=Pt(e)?e:e.DEF,s=this.getLaFuncFromCache(n).call(this,i);if(s!==void 0)return i[s].ALT.call(this);this.raiseNoAltException(r,e.ERR_MSG)}ruleFinallyStateUpdate(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),this.RULE_STACK.length===0&&this.isAtEndOfInput()===!1){let e=this.LA(1),r=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new hb(r,e))}}subruleInternal(e,r,n){let i;try{let a=n!==void 0?n.ARGS:void 0;return this.subruleIdx=r,i=e.apply(this,a),this.cstPostNonTerminal(i,n!==void 0&&n.LABEL!==void 0?n.LABEL:e.ruleName),i}catch(a){throw this.subruleInternalError(a,n,e.ruleName)}}subruleInternalError(e,r,n){throw Nf(e)&&e.partialCstResult!==void 0&&(this.cstPostNonTerminal(e.partialCstResult,r!==void 0&&r.LABEL!==void 0?r.LABEL:n),delete e.partialCstResult),e}consumeInternal(e,r,n){let i;try{let a=this.LA(1);this.tokenMatcher(a,e)===!0?(this.consumeToken(),i=a):this.consumeInternalError(e,a,n)}catch(a){i=this.consumeInternalRecovery(e,r,a)}return this.cstPostTerminal(n!==void 0&&n.LABEL!==void 0?n.LABEL:e.name,i),i}consumeInternalError(e,r,n){let i,a=this.LA(0);throw n!==void 0&&n.ERR_MSG?i=n.ERR_MSG:i=this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:r,previous:a,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new Gp(i,r,a))}consumeInternalRecovery(e,r,n){if(this.recoveryEnabled&&n.name==="MismatchedTokenException"&&!this.isBackTracking()){let i=this.getFollowsForInRuleRecovery(e,r);try{return this.tryInRuleRecovery(e,i)}catch(a){throw a.name===FI?n:a}}else throw n}saveRecogState(){let e=this.errors,r=an(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:r,CST_STACK:this.CST_STACK}}reloadRecogState(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK}ruleInvocationStateUpdate(e,r,n){this.RULE_OCCURRENCE_STACK.push(n),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(r)}isBackTracking(){return this.isBackTrackingStack.length!==0}getCurrRuleFullName(){let e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]}shortRuleNameToFullName(e){return this.shortRuleNameToFull[e]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),go)}reset(){this.resetLexerState(),this.subruleIdx=0,this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]}}});var xS,Hhe=N(()=>{"use strict";E1();qt();w1();Ys();xS=class{static{o(this,"ErrorHandler")}initErrorHandler(e){this._errors=[],this.errorMessageProvider=Bt(e,"errorMessageProvider")?e.errorMessageProvider:ps.errorMessageProvider}SAVE_ERROR(e){if(Nf(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:an(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")}get errors(){return an(this._errors)}set errors(e){this._errors=e}raiseEarlyExitException(e,r,n){let i=this.getCurrRuleFullName(),a=this.getGAstProductions()[i],l=T1(e,a,r,this.maxLookahead)[0],u=[];for(let f=1;f<=this.maxLookahead;f++)u.push(this.LA(f));let h=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:l,actual:u,previous:this.LA(0),customUserDescription:n,ruleName:i});throw this.SAVE_ERROR(new fb(h,this.LA(1),this.LA(0)))}raiseNoAltException(e,r){let n=this.getCurrRuleFullName(),i=this.getGAstProductions()[n],a=b1(e,i,this.maxLookahead),s=[];for(let h=1;h<=this.maxLookahead;h++)s.push(this.LA(h));let l=this.LA(0),u=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:a,actual:s,previous:l,customUserDescription:r,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new ub(u,this.LA(1),l))}}});var bS,Whe=N(()=>{"use strict";sb();qt();bS=class{static{o(this,"ContentAssist")}initContentAssist(){}computeContentAssist(e,r){let n=this.gastProductionsCache[e];if(gr(n))throw Error(`Rule ->${e}<- does not exist in this grammar.`);return rS([n],r,this.tokenMatcher,this.maxLookahead)}getNextPossibleTokenTypes(e){let r=ta(e.ruleStack),i=this.getGAstProductions()[r];return new ZE(i,e).startWalking()}}});function pb(t,e,r,n=!1){wS(r);let i=pa(this.recordingProdStack),a=Ai(e)?e:e.DEF,s=new t({definition:[],idx:r});return n&&(s.separator=e.SEP),Bt(e,"MAX_LOOKAHEAD")&&(s.maxLookahead=e.MAX_LOOKAHEAD),this.recordingProdStack.push(s),a.call(this),i.definition.push(s),this.recordingProdStack.pop(),kS}function jqe(t,e){wS(e);let r=pa(this.recordingProdStack),n=Pt(t)===!1,i=n===!1?t:t.DEF,a=new Sn({definition:[],idx:e,ignoreAmbiguities:n&&t.IGNORE_AMBIGUITIES===!0});Bt(t,"MAX_LOOKAHEAD")&&(a.maxLookahead=t.MAX_LOOKAHEAD);let s=F2(i,l=>Ai(l.GATE));return a.hasPredicates=s,r.definition.push(a),Ae(i,l=>{let u=new In({definition:[]});a.definition.push(u),Bt(l,"IGNORE_AMBIGUITIES")?u.ignoreAmbiguities=l.IGNORE_AMBIGUITIES:Bt(l,"GATE")&&(u.ignoreAmbiguities=!0),this.recordingProdStack.push(u),l.ALT.call(this),this.recordingProdStack.pop()}),kS}function Xhe(t){return t===0?"":`${t}`}function wS(t){if(t<0||t>Yhe){let e=new Error(`Invalid DSL Method idx value: <${t}> + Idx value must be a none negative value smaller than ${Yhe+1}`);throw e.KNOWN_RECORDER_ERROR=!0,e}}var kS,qhe,Yhe,jhe,Khe,Xqe,TS,Qhe=N(()=>{"use strict";qt();ds();tb();Fp();$p();Ys();cS();kS={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(kS);qhe=!0,Yhe=Math.pow(2,8)-1,jhe=Rf({name:"RECORDING_PHASE_TOKEN",pattern:Qn.NA});qu([jhe]);Khe=Xu(jhe,`This IToken indicates the Parser is in Recording Phase + See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1);Object.freeze(Khe);Xqe={name:`This CSTNode indicates the Parser is in Recording Phase + See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,children:{}},TS=class{static{o(this,"GastRecorder")}initGastRecorder(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1}enableRecording(){this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",()=>{for(let e=0;e<10;e++){let r=e>0?e:"";this[`CONSUME${r}`]=function(n,i){return this.consumeInternalRecord(n,e,i)},this[`SUBRULE${r}`]=function(n,i){return this.subruleInternalRecord(n,e,i)},this[`OPTION${r}`]=function(n){return this.optionInternalRecord(n,e)},this[`OR${r}`]=function(n){return this.orInternalRecord(n,e)},this[`MANY${r}`]=function(n){this.manyInternalRecord(e,n)},this[`MANY_SEP${r}`]=function(n){this.manySepFirstInternalRecord(e,n)},this[`AT_LEAST_ONE${r}`]=function(n){this.atLeastOneInternalRecord(e,n)},this[`AT_LEAST_ONE_SEP${r}`]=function(n){this.atLeastOneSepFirstInternalRecord(e,n)}}this.consume=function(e,r,n){return this.consumeInternalRecord(r,e,n)},this.subrule=function(e,r,n){return this.subruleInternalRecord(r,e,n)},this.option=function(e,r){return this.optionInternalRecord(r,e)},this.or=function(e,r){return this.orInternalRecord(r,e)},this.many=function(e,r){this.manyInternalRecord(e,r)},this.atLeastOne=function(e,r){this.atLeastOneInternalRecord(e,r)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD})}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",()=>{let e=this;for(let r=0;r<10;r++){let n=r>0?r:"";delete e[`CONSUME${n}`],delete e[`SUBRULE${n}`],delete e[`OPTION${n}`],delete e[`OR${n}`],delete e[`MANY${n}`],delete e[`MANY_SEP${n}`],delete e[`AT_LEAST_ONE${n}`],delete e[`AT_LEAST_ONE_SEP${n}`]}delete e.consume,delete e.subrule,delete e.option,delete e.or,delete e.many,delete e.atLeastOne,delete e.ACTION,delete e.BACKTRACK,delete e.LA})}ACTION_RECORD(e){}BACKTRACK_RECORD(e,r){return()=>!0}LA_RECORD(e){return S1}topLevelRuleRecord(e,r){try{let n=new hs({definition:[],name:e});return n.name=e,this.recordingProdStack.push(n),r.call(this),this.recordingProdStack.pop(),n}catch(n){if(n.KNOWN_RECORDER_ERROR!==!0)try{n.message=n.message+` This error was thrown during the "grammar recording phase" For more info see: - https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw n}throw n}}optionInternalRecord(e,r){return Cx.call(this,on,e,r)}atLeastOneInternalRecord(e,r){Cx.call(this,Dn,r,e)}atLeastOneSepFirstInternalRecord(e,r){Cx.call(this,Ln,r,e,fle)}manyInternalRecord(e,r){Cx.call(this,Or,r,e)}manySepFirstInternalRecord(e,r){Cx.call(this,bn,r,e,fle)}orInternalRecord(e,r){return PFe.call(this,e,r)}subruleInternalRecord(e,r,n){if(vE(r),!e||Bt(e,"ruleName")===!1){let l=new Error(` argument is invalid expecting a Parser method reference but got: <${JSON.stringify(e)}> - inside top level rule: <${this.recordingProdStack[0].name}>`);throw l.KNOWN_RECORDER_ERROR=!0,l}let i=da(this.recordingProdStack),a=e.ruleName,s=new sn({idx:r,nonTerminalName:a,label:n?.LABEL,referencedRule:void 0});return i.definition.push(s),this.outputCst?OFe:xE}consumeInternalRecord(e,r,n){if(vE(r),!lM(e)){let s=new Error(` argument is invalid expecting a TokenType reference but got: <${JSON.stringify(e)}> - inside top level rule: <${this.recordingProdStack[0].name}>`);throw s.KNOWN_RECORDER_ERROR=!0,s}let i=da(this.recordingProdStack),a=new kr({idx:r,terminalType:e,label:n?.LABEL});return i.definition.push(a),gle}};o(Cx,"recordProd");o(PFe,"recordOrProd");o(ple,"getIdxSuffix");o(vE,"assertMethodIdxIsValid")});var bE,vle=N(()=>{"use strict";Yt();Fg();Gs();bE=class{static{o(this,"PerformanceTracer")}initPerformanceTracer(e){if(Bt(e,"traceInitPerf")){let r=e.traceInitPerf,n=typeof r=="number";this.traceInitMaxIdent=n?r:1/0,this.traceInitPerf=n?r>0:r}else this.traceInitMaxIdent=0,this.traceInitPerf=cs.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(e,r){if(this.traceInitPerf===!0){this.traceInitIndent++;let n=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${e}>`);let{time:i,value:a}=ux(r),s=i>10?console.warn:console.log;return this.traceInitIndent time: ${i}ms`),this.traceInitIndent--,a}else return r()}}});function xle(t,e){e.forEach(r=>{let n=r.prototype;Object.getOwnPropertyNames(n).forEach(i=>{if(i==="constructor")return;let a=Object.getOwnPropertyDescriptor(n,i);a&&(a.get||a.set)?Object.defineProperty(t.prototype,i,a):t.prototype[i]=r.prototype[i]})})}var ble=N(()=>{"use strict";o(xle,"applyMixins")});function TE(t=void 0){return function(){return t}}var Zg,cs,Jg,zi,Ax,_x,Gs=N(()=>{"use strict";Yt();Fg();Kse();gp();Wg();qoe();TM();Zoe();sle();ole();lle();cle();ule();hle();yle();vle();ble();Tx();Zg=Gu(uo,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(Zg);cs=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:Vu,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),Jg=Object.freeze({recoveryValueFunc:o(()=>{},"recoveryValueFunc"),resyncEnabled:!0});(function(t){t[t.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",t[t.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",t[t.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",t[t.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",t[t.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",t[t.LEFT_RECURSION=5]="LEFT_RECURSION",t[t.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",t[t.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",t[t.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",t[t.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",t[t.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",t[t.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",t[t.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",t[t.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION"})(zi||(zi={}));o(TE,"EMPTY_ALT");Ax=class t{static{o(this,"Parser")}static performSelfAnalysis(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",()=>{let e;this.selfAnalysisDone=!0;let r=this.className;this.TRACE_INIT("toFastProps",()=>{hx(this)}),this.TRACE_INIT("Grammar Recording",()=>{try{this.enableRecording(),Ae(this.definedRulesNames,i=>{let s=this[i].originalGrammarAction,l;this.TRACE_INIT(`${i} Rule`,()=>{l=this.topLevelRuleRecord(i,s)}),this.gastProductionsCache[i]=l})}finally{this.disableRecording()}});let n=[];if(this.TRACE_INIT("Grammar Resolving",()=>{n=Hoe({rules:br(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(n)}),this.TRACE_INIT("Grammar Validations",()=>{if(fr(n)&&this.skipValidations===!1){let i=Woe({rules:br(this.gastProductionsCache),tokenTypes:br(this.tokensMap),errMsgProvider:Bl,grammarName:r}),a=Boe({lookaheadStrategy:this.lookaheadStrategy,rules:br(this.gastProductionsCache),tokenTypes:br(this.tokensMap),grammarName:r});this.definitionErrors=this.definitionErrors.concat(i,a)}}),fr(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",()=>{let i=jse(br(this.gastProductionsCache));this.resyncFollows=i}),this.TRACE_INIT("ComputeLookaheadFunctions",()=>{var i,a;(a=(i=this.lookaheadStrategy).initialize)===null||a===void 0||a.call(i,{rules:br(this.gastProductionsCache)}),this.preComputeLookaheadFunctions(br(this.gastProductionsCache))})),!t.DEFER_DEFINITION_ERRORS_HANDLING&&!fr(this.definitionErrors))throw e=Je(this.definitionErrors,i=>i.message),new Error(`Parser Definition Errors detected: + https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw n}throw n}}optionInternalRecord(e,r){return pb.call(this,un,e,r)}atLeastOneInternalRecord(e,r){pb.call(this,On,r,e)}atLeastOneSepFirstInternalRecord(e,r){pb.call(this,Pn,r,e,qhe)}manyInternalRecord(e,r){pb.call(this,Pr,r,e)}manySepFirstInternalRecord(e,r){pb.call(this,En,r,e,qhe)}orInternalRecord(e,r){return jqe.call(this,e,r)}subruleInternalRecord(e,r,n){if(wS(r),!e||Bt(e,"ruleName")===!1){let l=new Error(` argument is invalid expecting a Parser method reference but got: <${JSON.stringify(e)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw l.KNOWN_RECORDER_ERROR=!0,l}let i=pa(this.recordingProdStack),a=e.ruleName,s=new cn({idx:r,nonTerminalName:a,label:n?.LABEL,referencedRule:void 0});return i.definition.push(s),this.outputCst?Xqe:kS}consumeInternalRecord(e,r,n){if(wS(r),!CI(e)){let s=new Error(` argument is invalid expecting a TokenType reference but got: <${JSON.stringify(e)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw s.KNOWN_RECORDER_ERROR=!0,s}let i=pa(this.recordingProdStack),a=new Er({idx:r,terminalType:e,label:n?.LABEL});return i.definition.push(a),Khe}};o(pb,"recordProd");o(jqe,"recordOrProd");o(Xhe,"getIdxSuffix");o(wS,"assertMethodIdxIsValid")});var ES,Zhe=N(()=>{"use strict";qt();h1();Ys();ES=class{static{o(this,"PerformanceTracer")}initPerformanceTracer(e){if(Bt(e,"traceInitPerf")){let r=e.traceInitPerf,n=typeof r=="number";this.traceInitMaxIdent=n?r:1/0,this.traceInitPerf=n?r>0:r}else this.traceInitMaxIdent=0,this.traceInitPerf=ps.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(e,r){if(this.traceInitPerf===!0){this.traceInitIndent++;let n=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${e}>`);let{time:i,value:a}=Zx(r),s=i>10?console.warn:console.log;return this.traceInitIndent time: ${i}ms`),this.traceInitIndent--,a}else return r()}}});function Jhe(t,e){e.forEach(r=>{let n=r.prototype;Object.getOwnPropertyNames(n).forEach(i=>{if(i==="constructor")return;let a=Object.getOwnPropertyDescriptor(n,i);a&&(a.get||a.set)?Object.defineProperty(t.prototype,i,a):t.prototype[i]=r.prototype[i]})})}var efe=N(()=>{"use strict";o(Jhe,"applyMixins")});function SS(t=void 0){return function(){return t}}var S1,ps,C1,Ui,mb,gb,Ys=N(()=>{"use strict";qt();h1();Lue();$p();v1();Che();$I();Nhe();Ghe();zhe();Vhe();Uhe();Hhe();Whe();Qhe();Zhe();efe();cb();S1=Xu(go,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(S1);ps=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:ju,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),C1=Object.freeze({recoveryValueFunc:o(()=>{},"recoveryValueFunc"),resyncEnabled:!0});(function(t){t[t.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",t[t.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",t[t.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",t[t.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",t[t.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",t[t.LEFT_RECURSION=5]="LEFT_RECURSION",t[t.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",t[t.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",t[t.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",t[t.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",t[t.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",t[t.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",t[t.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",t[t.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION"})(Ui||(Ui={}));o(SS,"EMPTY_ALT");mb=class t{static{o(this,"Parser")}static performSelfAnalysis(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",()=>{let e;this.selfAnalysisDone=!0;let r=this.className;this.TRACE_INIT("toFastProps",()=>{Jx(this)}),this.TRACE_INIT("Grammar Recording",()=>{try{this.enableRecording(),Ae(this.definedRulesNames,i=>{let s=this[i].originalGrammarAction,l;this.TRACE_INIT(`${i} Rule`,()=>{l=this.topLevelRuleRecord(i,s)}),this.gastProductionsCache[i]=l})}finally{this.disableRecording()}});let n=[];if(this.TRACE_INIT("Grammar Resolving",()=>{n=Ehe({rules:br(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(n)}),this.TRACE_INIT("Grammar Validations",()=>{if(fr(n)&&this.skipValidations===!1){let i=She({rules:br(this.gastProductionsCache),tokenTypes:br(this.tokensMap),errMsgProvider:zl,grammarName:r}),a=yhe({lookaheadStrategy:this.lookaheadStrategy,rules:br(this.gastProductionsCache),tokenTypes:br(this.tokensMap),grammarName:r});this.definitionErrors=this.definitionErrors.concat(i,a)}}),fr(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",()=>{let i=Due(br(this.gastProductionsCache));this.resyncFollows=i}),this.TRACE_INIT("ComputeLookaheadFunctions",()=>{var i,a;(a=(i=this.lookaheadStrategy).initialize)===null||a===void 0||a.call(i,{rules:br(this.gastProductionsCache)}),this.preComputeLookaheadFunctions(br(this.gastProductionsCache))})),!t.DEFER_DEFINITION_ERRORS_HANDLING&&!fr(this.definitionErrors))throw e=et(this.definitionErrors,i=>i.message),new Error(`Parser Definition Errors detected: ${e.join(` ------------------------------- `)}`)})}constructor(e,r){this.definitionErrors=[],this.selfAnalysisDone=!1;let n=this;if(n.initErrorHandler(r),n.initLexerAdapter(),n.initLooksAhead(r),n.initRecognizerEngine(e,r),n.initRecoverable(r),n.initTreeBuilder(r),n.initContentAssist(),n.initGastRecorder(r),n.initPerformanceTracer(r),Bt(r,"ignoredIssues"))throw new Error(`The IParserConfig property has been deprecated. Please use the flag on the relevant DSL method instead. See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES - For further details.`);this.skipValidations=Bt(r,"skipValidations")?r.skipValidations:cs.skipValidations}};Ax.DEFER_DEFINITION_ERRORS_HANDLING=!1;xle(Ax,[nE,oE,hE,fE,pE,dE,mE,gE,yE,bE]);_x=class extends Ax{static{o(this,"EmbeddedActionsParser")}constructor(e,r=cs){let n=nn(r);n.outputCst=!1,super(e,n)}}});var Tle=N(()=>{"use strict";ls()});var wle=N(()=>{"use strict"});var kle=N(()=>{"use strict";Tle();wle()});var Ele=N(()=>{"use strict";KN()});var hf=N(()=>{"use strict";KN();Gs();dx();gp();jg();wM();Wg();Qg();cM();ls();ls();kle();Ele()});function vp(t,e,r){return`${t.name}_${e}_${r}`}function _le(t){let e={decisionMap:{},decisionStates:[],ruleToStartState:new Map,ruleToStopState:new Map,states:[]};UFe(e,t);let r=t.length;for(let n=0;nDle(t,e,s));return n1(t,e,n,r,...i)}function jFe(t,e,r){let n=na(t,e,r,{type:ff});df(t,n);let i=n1(t,e,n,r,xp(t,e,r));return KFe(t,e,r,i)}function xp(t,e,r){let n=qr(Je(r.definition,i=>Dle(t,e,i)),i=>i!==void 0);return n.length===1?n[0]:n.length===0?void 0:ZFe(t,n)}function Lle(t,e,r,n,i){let a=n.left,s=n.right,l=na(t,e,r,{type:VFe});df(t,l);let u=na(t,e,r,{type:Ale});return a.loopback=l,u.loopback=l,t.decisionMap[vp(e,i?"RepetitionMandatoryWithSeparator":"RepetitionMandatory",r.idx)]=l,_i(s,l),i===void 0?(_i(l,a),_i(l,u)):(_i(l,u),_i(l,i.left),_i(i.right,a)),{left:a,right:u}}function Rle(t,e,r,n,i){let a=n.left,s=n.right,l=na(t,e,r,{type:GFe});df(t,l);let u=na(t,e,r,{type:Ale}),h=na(t,e,r,{type:zFe});return l.loopback=h,u.loopback=h,_i(l,a),_i(l,u),_i(s,h),i!==void 0?(_i(h,u),_i(h,i.left),_i(i.right,a)):_i(h,l),t.decisionMap[vp(e,i?"RepetitionWithSeparator":"Repetition",r.idx)]=l,{left:l,right:u}}function KFe(t,e,r,n){let i=n.left,a=n.right;return _i(i,a),t.decisionMap[vp(e,"Option",r.idx)]=i,n}function df(t,e){return t.decisionStates.push(e),e.decision=t.decisionStates.length-1,e.decision}function n1(t,e,r,n,...i){let a=na(t,e,n,{type:$Fe,start:r});r.end=a;for(let l of i)l!==void 0?(_i(r,l.left),_i(l.right,a)):_i(r,a);let s={left:r,right:a};return t.decisionMap[vp(e,QFe(n),n.idx)]=r,s}function QFe(t){if(t instanceof Tn)return"Alternation";if(t instanceof on)return"Option";if(t instanceof Or)return"Repetition";if(t instanceof bn)return"RepetitionWithSeparator";if(t instanceof Dn)return"RepetitionMandatory";if(t instanceof Ln)return"RepetitionMandatoryWithSeparator";throw new Error("Invalid production type encountered")}function ZFe(t,e){let r=e.length;for(let a=0;a{"use strict";Bm();cR();hf();o(vp,"buildATNKey");ff=1,FFe=2,Sle=4,Cle=5,r1=7,$Fe=8,zFe=9,GFe=10,VFe=11,Ale=12,Dx=class{static{o(this,"AbstractTransition")}constructor(e){this.target=e}isEpsilon(){return!1}},e1=class extends Dx{static{o(this,"AtomTransition")}constructor(e,r){super(e),this.tokenType=r}},Lx=class extends Dx{static{o(this,"EpsilonTransition")}constructor(e){super(e)}isEpsilon(){return!0}},t1=class extends Dx{static{o(this,"RuleTransition")}constructor(e,r,n){super(e),this.rule=r,this.followState=n}isEpsilon(){return!0}};o(_le,"createATN");o(UFe,"createRuleStartAndStopATNStates");o(Dle,"atom");o(HFe,"repetition");o(WFe,"repetitionSep");o(qFe,"repetitionMandatory");o(YFe,"repetitionMandatorySep");o(XFe,"alternation");o(jFe,"option");o(xp,"block");o(Lle,"plus");o(Rle,"star");o(KFe,"optional");o(df,"defineDecisionState");o(n1,"makeAlts");o(QFe,"getProdType");o(ZFe,"makeBlock");o(RM,"tokenRef");o(JFe,"ruleRef");o(e$e,"buildRuleHandle");o(_i,"epsilon");o(na,"newState");o(NM,"addTransition");o(t$e,"removeState")});function MM(t,e=!0){return`${e?`a${t.alt}`:""}s${t.state.stateNumber}:${t.stack.map(r=>r.stateNumber.toString()).join("_")}`}var Rx,i1,Mle=N(()=>{"use strict";Bm();Rx={},i1=class{static{o(this,"ATNConfigSet")}constructor(){this.map={},this.configs=[]}get size(){return this.configs.length}finalize(){this.map={}}add(e){let r=MM(e);r in this.map||(this.map[r]=this.configs.length,this.configs.push(e))}get elements(){return this.configs}get alts(){return Je(this.configs,e=>e.alt)}get key(){let e="";for(let r in this.map)e+=r+":";return e}};o(MM,"getATNConfigKey")});function r$e(t,e){let r={};return n=>{let i=n.toString(),a=r[i];return a!==void 0||(a={atnStartState:t,decision:e,states:{}},r[i]=a),a}}function Ole(t,e=!0){let r=new Set;for(let n of t){let i=new Set;for(let a of n){if(a===void 0){if(e)break;return!1}let s=[a.tokenTypeIdx].concat(a.categoryMatches);for(let l of s)if(r.has(l)){if(!i.has(l))return!1}else r.add(l),i.add(l)}}return!0}function n$e(t){let e=t.decisionStates.length,r=Array(e);for(let n=0;nzu(i)).join(", "),r=t.production.idx===0?"":t.production.idx,n=`Ambiguous Alternatives Detected: <${t.ambiguityIndices.join(", ")}> in <${l$e(t.production)}${r}> inside <${t.topLevelRule.name}> Rule, + For further details.`);this.skipValidations=Bt(r,"skipValidations")?r.skipValidations:ps.skipValidations}};mb.DEFER_DEFINITION_ERRORS_HANDLING=!1;Jhe(mb,[oS,hS,mS,gS,vS,yS,xS,bS,TS,ES]);gb=class extends mb{static{o(this,"EmbeddedActionsParser")}constructor(e,r=ps){let n=an(r);n.outputCst=!1,super(e,n)}}});var tfe=N(()=>{"use strict";ds()});var rfe=N(()=>{"use strict"});var nfe=N(()=>{"use strict";tfe();rfe()});var ife=N(()=>{"use strict";pI()});var Mf=N(()=>{"use strict";pI();Ys();tb();$p();w1();GI();v1();E1();AI();ds();ds();nfe();ife()});function zp(t,e,r){return`${t.name}_${e}_${r}`}function lfe(t){let e={decisionMap:{},decisionStates:[],ruleToStartState:new Map,ruleToStopState:new Map,states:[]};rYe(e,t);let r=t.length;for(let n=0;ncfe(t,e,s));return L1(t,e,n,r,...i)}function lYe(t,e,r){let n=ia(t,e,r,{type:If});Of(t,n);let i=L1(t,e,n,r,Vp(t,e,r));return cYe(t,e,r,i)}function Vp(t,e,r){let n=Yr(et(r.definition,i=>cfe(t,e,i)),i=>i!==void 0);return n.length===1?n[0]:n.length===0?void 0:hYe(t,n)}function ufe(t,e,r,n,i){let a=n.left,s=n.right,l=ia(t,e,r,{type:tYe});Of(t,l);let u=ia(t,e,r,{type:ofe});return a.loopback=l,u.loopback=l,t.decisionMap[zp(e,i?"RepetitionMandatoryWithSeparator":"RepetitionMandatory",r.idx)]=l,Li(s,l),i===void 0?(Li(l,a),Li(l,u)):(Li(l,u),Li(l,i.left),Li(i.right,a)),{left:a,right:u}}function hfe(t,e,r,n,i){let a=n.left,s=n.right,l=ia(t,e,r,{type:eYe});Of(t,l);let u=ia(t,e,r,{type:ofe}),h=ia(t,e,r,{type:Jqe});return l.loopback=h,u.loopback=h,Li(l,a),Li(l,u),Li(s,h),i!==void 0?(Li(h,u),Li(h,i.left),Li(i.right,a)):Li(h,l),t.decisionMap[zp(e,i?"RepetitionWithSeparator":"Repetition",r.idx)]=l,{left:l,right:u}}function cYe(t,e,r,n){let i=n.left,a=n.right;return Li(i,a),t.decisionMap[zp(e,"Option",r.idx)]=i,n}function Of(t,e){return t.decisionStates.push(e),e.decision=t.decisionStates.length-1,e.decision}function L1(t,e,r,n,...i){let a=ia(t,e,n,{type:Zqe,start:r});r.end=a;for(let l of i)l!==void 0?(Li(r,l.left),Li(l.right,a)):Li(r,a);let s={left:r,right:a};return t.decisionMap[zp(e,uYe(n),n.idx)]=r,s}function uYe(t){if(t instanceof Sn)return"Alternation";if(t instanceof un)return"Option";if(t instanceof Pr)return"Repetition";if(t instanceof En)return"RepetitionWithSeparator";if(t instanceof On)return"RepetitionMandatory";if(t instanceof Pn)return"RepetitionMandatoryWithSeparator";throw new Error("Invalid production type encountered")}function hYe(t,e){let r=e.length;for(let a=0;a{"use strict";Fm();yR();Mf();o(zp,"buildATNKey");If=1,Qqe=2,afe=4,sfe=5,D1=7,Zqe=8,Jqe=9,eYe=10,tYe=11,ofe=12,yb=class{static{o(this,"AbstractTransition")}constructor(e){this.target=e}isEpsilon(){return!1}},A1=class extends yb{static{o(this,"AtomTransition")}constructor(e,r){super(e),this.tokenType=r}},vb=class extends yb{static{o(this,"EpsilonTransition")}constructor(e){super(e)}isEpsilon(){return!0}},_1=class extends yb{static{o(this,"RuleTransition")}constructor(e,r,n){super(e),this.rule=r,this.followState=n}isEpsilon(){return!0}};o(lfe,"createATN");o(rYe,"createRuleStartAndStopATNStates");o(cfe,"atom");o(nYe,"repetition");o(iYe,"repetitionSep");o(aYe,"repetitionMandatory");o(sYe,"repetitionMandatorySep");o(oYe,"alternation");o(lYe,"option");o(Vp,"block");o(ufe,"plus");o(hfe,"star");o(cYe,"optional");o(Of,"defineDecisionState");o(L1,"makeAlts");o(uYe,"getProdType");o(hYe,"makeBlock");o(jI,"tokenRef");o(fYe,"ruleRef");o(dYe,"buildRuleHandle");o(Li,"epsilon");o(ia,"newState");o(KI,"addTransition");o(pYe,"removeState")});function QI(t,e=!0){return`${e?`a${t.alt}`:""}s${t.state.stateNumber}:${t.stack.map(r=>r.stateNumber.toString()).join("_")}`}var xb,R1,dfe=N(()=>{"use strict";Fm();xb={},R1=class{static{o(this,"ATNConfigSet")}constructor(){this.map={},this.configs=[]}get size(){return this.configs.length}finalize(){this.map={}}add(e){let r=QI(e);r in this.map||(this.map[r]=this.configs.length,this.configs.push(e))}get elements(){return this.configs}get alts(){return et(this.configs,e=>e.alt)}get key(){let e="";for(let r in this.map)e+=r+":";return e}};o(QI,"getATNConfigKey")});function mYe(t,e){let r={};return n=>{let i=n.toString(),a=r[i];return a!==void 0||(a={atnStartState:t,decision:e,states:{}},r[i]=a),a}}function mfe(t,e=!0){let r=new Set;for(let n of t){let i=new Set;for(let a of n){if(a===void 0){if(e)break;return!1}let s=[a.tokenTypeIdx].concat(a.categoryMatches);for(let l of s)if(r.has(l)){if(!i.has(l))return!1}else r.add(l),i.add(l)}}return!0}function gYe(t){let e=t.decisionStates.length,r=Array(e);for(let n=0;nYu(i)).join(", "),r=t.production.idx===0?"":t.production.idx,n=`Ambiguous Alternatives Detected: <${t.ambiguityIndices.join(", ")}> in <${TYe(t.production)}${r}> inside <${t.topLevelRule.name}> Rule, <${e}> may appears as a prefix path in all these alternatives. `;return n=n+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES -For Further details.`,n}function l$e(t){if(t instanceof sn)return"SUBRULE";if(t instanceof on)return"OPTION";if(t instanceof Tn)return"OR";if(t instanceof Dn)return"AT_LEAST_ONE";if(t instanceof Ln)return"AT_LEAST_ONE_SEP";if(t instanceof bn)return"MANY_SEP";if(t instanceof Or)return"MANY";if(t instanceof kr)return"CONSUME";throw Error("non exhaustive match")}function c$e(t,e,r){let n=pa(e.configs.elements,a=>a.state.transitions),i=fie(n.filter(a=>a instanceof e1).map(a=>a.tokenType),a=>a.tokenTypeIdx);return{actualToken:r,possibleTokenTypes:i,tokenPath:t}}function u$e(t,e){return t.edges[e.tokenTypeIdx]}function h$e(t,e,r){let n=new i1,i=[];for(let s of t.elements){if(r.is(s.alt)===!1)continue;if(s.state.type===r1){i.push(s);continue}let l=s.state.transitions.length;for(let u=0;u0&&!g$e(a))for(let s of i)a.add(s);return a}function f$e(t,e){if(t instanceof e1&&mx(e,t.tokenType))return t.target}function d$e(t,e){let r;for(let n of t.elements)if(e.is(n.alt)===!0){if(r===void 0)r=n.alt;else if(r!==n.alt)return}return r}function Ble(t){return{configs:t,edges:{},isAcceptState:!1,prediction:-1}}function Ple(t,e,r,n){return n=Fle(t,n),e.edges[r.tokenTypeIdx]=n,n}function Fle(t,e){if(e===Rx)return e;let r=e.configs.key,n=t.states[r];return n!==void 0?n:(e.configs.finalize(),t.states[r]=e,e)}function p$e(t){let e=new i1,r=t.transitions.length;for(let n=0;n0){let i=[...t.stack],s={state:i.pop(),alt:t.alt,stack:i};kE(s,e)}else e.add(t);return}r.epsilonOnlyTransitions||e.add(t);let n=r.transitions.length;for(let i=0;i1)return!0;return!1}function T$e(t){for(let e of Array.from(t.values()))if(Object.keys(e).length===1)return!0;return!1}var wE,Ile,Nx,$le=N(()=>{"use strict";hf();Nle();Mle();yR();hR();die();Bm();kw();Zw();nk();TR();o(r$e,"createDFACache");wE=class{static{o(this,"PredicateSet")}constructor(){this.predicates=[]}is(e){return e>=this.predicates.length||this.predicates[e]}set(e,r){this.predicates[e]=r}toString(){let e="",r=this.predicates.length;for(let n=0;nconsole.log(n)}initialize(e){this.atn=_le(e.rules),this.dfas=n$e(this.atn)}validateAmbiguousAlternationAlternatives(){return[]}validateEmptyOrAlternatives(){return[]}buildLookaheadForAlternation(e){let{prodOccurrence:r,rule:n,hasPredicates:i,dynamicTokensEnabled:a}=e,s=this.dfas,l=this.logging,u=vp(n,"Alternation",r),f=this.atn.decisionMap[u].decision,d=Je(eE({maxLookahead:1,occurrence:r,prodType:"Alternation",rule:n}),p=>Je(p,m=>m[0]));if(Ole(d,!1)&&!a){let p=Yr(d,(m,g,y)=>(Ae(g,v=>{v&&(m[v.tokenTypeIdx]=y,Ae(v.categoryMatches,x=>{m[x]=y}))}),m),{});return i?function(m){var g;let y=this.LA(1),v=p[y.tokenTypeIdx];if(m!==void 0&&v!==void 0){let x=(g=m[v])===null||g===void 0?void 0:g.GATE;if(x!==void 0&&x.call(this)===!1)return}return v}:function(){let m=this.LA(1);return p[m.tokenTypeIdx]}}else return i?function(p){let m=new wE,g=p===void 0?0:p.length;for(let v=0;vJe(p,m=>m[0]));if(Ole(d)&&d[0][0]&&!a){let p=d[0],m=Wr(p);if(m.length===1&&fr(m[0].categoryMatches)){let y=m[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===y}}else{let g=Yr(m,(y,v)=>(v!==void 0&&(y[v.tokenTypeIdx]=!0,Ae(v.categoryMatches,x=>{y[x]=!0})),y),{});return function(){let y=this.LA(1);return g[y.tokenTypeIdx]===!0}}}return function(){let p=IM.call(this,s,f,Ile,l);return typeof p=="object"?!1:p===0}}};o(Ole,"isLL1Sequence");o(n$e,"initATNSimulator");o(IM,"adaptivePredict");o(i$e,"performLookahead");o(a$e,"computeLookaheadTarget");o(s$e,"reportLookaheadAmbiguity");o(o$e,"buildAmbiguityError");o(l$e,"getProductionDslName");o(c$e,"buildAdaptivePredictError");o(u$e,"getExistingTargetState");o(h$e,"computeReachSet");o(f$e,"getReachableTarget");o(d$e,"getUniqueAlt");o(Ble,"newDFAState");o(Ple,"addDFAEdge");o(Fle,"addDFAState");o(p$e,"computeStartState");o(kE,"closure");o(m$e,"getEpsilonTarget");o(g$e,"hasConfigInRuleStopState");o(y$e,"allConfigsInRuleStopStates");o(v$e,"hasConflictTerminatingPrediction");o(x$e,"getConflictingAltSets");o(b$e,"hasConflictingAltSet");o(T$e,"hasStateAssociatedWithOneAlt")});var zle=N(()=>{"use strict";$le()});var Gle,OM,Vle,EE,Xr,Pr,SE,Ule,PM,Hle,Wle,qle,Yle,BM,Xle,jle,Kle,CE,a1,s1,FM,o1,Qle,$M,zM,GM,VM,UM,Zle,Jle,HM,ece,WM,Mx,tce,rce,nce,ice,ace,sce,oce,lce,AE,cce,uce,hce,fce,dce,pce,mce,gce,yce,vce,xce,_E,bce,Tce,wce,kce,Ece,Sce,Cce,Ace,_ce,Dce,Lce,Rce,Nce,qM,YM,Mce,Ice,Oce,Pce,Bce,Fce,$ce,zce,Gce,XM,$e,jM=N(()=>{"use strict";(function(t){function e(r){return typeof r=="string"}o(e,"is"),t.is=e})(Gle||(Gle={}));(function(t){function e(r){return typeof r=="string"}o(e,"is"),t.is=e})(OM||(OM={}));(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647;function e(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}o(e,"is"),t.is=e})(Vle||(Vle={}));(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647;function e(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}o(e,"is"),t.is=e})(EE||(EE={}));(function(t){function e(n,i){return n===Number.MAX_VALUE&&(n=EE.MAX_VALUE),i===Number.MAX_VALUE&&(i=EE.MAX_VALUE),{line:n,character:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&$e.uinteger(i.line)&&$e.uinteger(i.character)}o(r,"is"),t.is=r})(Xr||(Xr={}));(function(t){function e(n,i,a,s){if($e.uinteger(n)&&$e.uinteger(i)&&$e.uinteger(a)&&$e.uinteger(s))return{start:Xr.create(n,i),end:Xr.create(a,s)};if(Xr.is(n)&&Xr.is(i))return{start:n,end:i};throw new Error(`Range#create called with invalid arguments[${n}, ${i}, ${a}, ${s}]`)}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Xr.is(i.start)&&Xr.is(i.end)}o(r,"is"),t.is=r})(Pr||(Pr={}));(function(t){function e(n,i){return{uri:n,range:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Pr.is(i.range)&&($e.string(i.uri)||$e.undefined(i.uri))}o(r,"is"),t.is=r})(SE||(SE={}));(function(t){function e(n,i,a,s){return{targetUri:n,targetRange:i,targetSelectionRange:a,originSelectionRange:s}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Pr.is(i.targetRange)&&$e.string(i.targetUri)&&Pr.is(i.targetSelectionRange)&&(Pr.is(i.originSelectionRange)||$e.undefined(i.originSelectionRange))}o(r,"is"),t.is=r})(Ule||(Ule={}));(function(t){function e(n,i,a,s){return{red:n,green:i,blue:a,alpha:s}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&$e.numberRange(i.red,0,1)&&$e.numberRange(i.green,0,1)&&$e.numberRange(i.blue,0,1)&&$e.numberRange(i.alpha,0,1)}o(r,"is"),t.is=r})(PM||(PM={}));(function(t){function e(n,i){return{range:n,color:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Pr.is(i.range)&&PM.is(i.color)}o(r,"is"),t.is=r})(Hle||(Hle={}));(function(t){function e(n,i,a){return{label:n,textEdit:i,additionalTextEdits:a}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&$e.string(i.label)&&($e.undefined(i.textEdit)||s1.is(i))&&($e.undefined(i.additionalTextEdits)||$e.typedArray(i.additionalTextEdits,s1.is))}o(r,"is"),t.is=r})(Wle||(Wle={}));(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(qle||(qle={}));(function(t){function e(n,i,a,s,l,u){let h={startLine:n,endLine:i};return $e.defined(a)&&(h.startCharacter=a),$e.defined(s)&&(h.endCharacter=s),$e.defined(l)&&(h.kind=l),$e.defined(u)&&(h.collapsedText=u),h}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&$e.uinteger(i.startLine)&&$e.uinteger(i.startLine)&&($e.undefined(i.startCharacter)||$e.uinteger(i.startCharacter))&&($e.undefined(i.endCharacter)||$e.uinteger(i.endCharacter))&&($e.undefined(i.kind)||$e.string(i.kind))}o(r,"is"),t.is=r})(Yle||(Yle={}));(function(t){function e(n,i){return{location:n,message:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&SE.is(i.location)&&$e.string(i.message)}o(r,"is"),t.is=r})(BM||(BM={}));(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(Xle||(Xle={}));(function(t){t.Unnecessary=1,t.Deprecated=2})(jle||(jle={}));(function(t){function e(r){let n=r;return $e.objectLiteral(n)&&$e.string(n.href)}o(e,"is"),t.is=e})(Kle||(Kle={}));(function(t){function e(n,i,a,s,l,u){let h={range:n,message:i};return $e.defined(a)&&(h.severity=a),$e.defined(s)&&(h.code=s),$e.defined(l)&&(h.source=l),$e.defined(u)&&(h.relatedInformation=u),h}o(e,"create"),t.create=e;function r(n){var i;let a=n;return $e.defined(a)&&Pr.is(a.range)&&$e.string(a.message)&&($e.number(a.severity)||$e.undefined(a.severity))&&($e.integer(a.code)||$e.string(a.code)||$e.undefined(a.code))&&($e.undefined(a.codeDescription)||$e.string((i=a.codeDescription)===null||i===void 0?void 0:i.href))&&($e.string(a.source)||$e.undefined(a.source))&&($e.undefined(a.relatedInformation)||$e.typedArray(a.relatedInformation,BM.is))}o(r,"is"),t.is=r})(CE||(CE={}));(function(t){function e(n,i,...a){let s={title:n,command:i};return $e.defined(a)&&a.length>0&&(s.arguments=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.string(i.title)&&$e.string(i.command)}o(r,"is"),t.is=r})(a1||(a1={}));(function(t){function e(a,s){return{range:a,newText:s}}o(e,"replace"),t.replace=e;function r(a,s){return{range:{start:a,end:a},newText:s}}o(r,"insert"),t.insert=r;function n(a){return{range:a,newText:""}}o(n,"del"),t.del=n;function i(a){let s=a;return $e.objectLiteral(s)&&$e.string(s.newText)&&Pr.is(s.range)}o(i,"is"),t.is=i})(s1||(s1={}));(function(t){function e(n,i,a){let s={label:n};return i!==void 0&&(s.needsConfirmation=i),a!==void 0&&(s.description=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&$e.string(i.label)&&($e.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&($e.string(i.description)||i.description===void 0)}o(r,"is"),t.is=r})(FM||(FM={}));(function(t){function e(r){let n=r;return $e.string(n)}o(e,"is"),t.is=e})(o1||(o1={}));(function(t){function e(a,s,l){return{range:a,newText:s,annotationId:l}}o(e,"replace"),t.replace=e;function r(a,s,l){return{range:{start:a,end:a},newText:s,annotationId:l}}o(r,"insert"),t.insert=r;function n(a,s){return{range:a,newText:"",annotationId:s}}o(n,"del"),t.del=n;function i(a){let s=a;return s1.is(s)&&(FM.is(s.annotationId)||o1.is(s.annotationId))}o(i,"is"),t.is=i})(Qle||(Qle={}));(function(t){function e(n,i){return{textDocument:n,edits:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&HM.is(i.textDocument)&&Array.isArray(i.edits)}o(r,"is"),t.is=r})($M||($M={}));(function(t){function e(n,i,a){let s={kind:"create",uri:n};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(s.options=i),a!==void 0&&(s.annotationId=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return i&&i.kind==="create"&&$e.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||$e.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||$e.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||o1.is(i.annotationId))}o(r,"is"),t.is=r})(zM||(zM={}));(function(t){function e(n,i,a,s){let l={kind:"rename",oldUri:n,newUri:i};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(l.options=a),s!==void 0&&(l.annotationId=s),l}o(e,"create"),t.create=e;function r(n){let i=n;return i&&i.kind==="rename"&&$e.string(i.oldUri)&&$e.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||$e.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||$e.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||o1.is(i.annotationId))}o(r,"is"),t.is=r})(GM||(GM={}));(function(t){function e(n,i,a){let s={kind:"delete",uri:n};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(s.options=i),a!==void 0&&(s.annotationId=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return i&&i.kind==="delete"&&$e.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||$e.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||$e.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||o1.is(i.annotationId))}o(r,"is"),t.is=r})(VM||(VM={}));(function(t){function e(r){let n=r;return n&&(n.changes!==void 0||n.documentChanges!==void 0)&&(n.documentChanges===void 0||n.documentChanges.every(i=>$e.string(i.kind)?zM.is(i)||GM.is(i)||VM.is(i):$M.is(i)))}o(e,"is"),t.is=e})(UM||(UM={}));(function(t){function e(n){return{uri:n}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.string(i.uri)}o(r,"is"),t.is=r})(Zle||(Zle={}));(function(t){function e(n,i){return{uri:n,version:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.string(i.uri)&&$e.integer(i.version)}o(r,"is"),t.is=r})(Jle||(Jle={}));(function(t){function e(n,i){return{uri:n,version:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.string(i.uri)&&(i.version===null||$e.integer(i.version))}o(r,"is"),t.is=r})(HM||(HM={}));(function(t){function e(n,i,a,s){return{uri:n,languageId:i,version:a,text:s}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.string(i.uri)&&$e.string(i.languageId)&&$e.integer(i.version)&&$e.string(i.text)}o(r,"is"),t.is=r})(ece||(ece={}));(function(t){t.PlainText="plaintext",t.Markdown="markdown";function e(r){let n=r;return n===t.PlainText||n===t.Markdown}o(e,"is"),t.is=e})(WM||(WM={}));(function(t){function e(r){let n=r;return $e.objectLiteral(r)&&WM.is(n.kind)&&$e.string(n.value)}o(e,"is"),t.is=e})(Mx||(Mx={}));(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(tce||(tce={}));(function(t){t.PlainText=1,t.Snippet=2})(rce||(rce={}));(function(t){t.Deprecated=1})(nce||(nce={}));(function(t){function e(n,i,a){return{newText:n,insert:i,replace:a}}o(e,"create"),t.create=e;function r(n){let i=n;return i&&$e.string(i.newText)&&Pr.is(i.insert)&&Pr.is(i.replace)}o(r,"is"),t.is=r})(ice||(ice={}));(function(t){t.asIs=1,t.adjustIndentation=2})(ace||(ace={}));(function(t){function e(r){let n=r;return n&&($e.string(n.detail)||n.detail===void 0)&&($e.string(n.description)||n.description===void 0)}o(e,"is"),t.is=e})(sce||(sce={}));(function(t){function e(r){return{label:r}}o(e,"create"),t.create=e})(oce||(oce={}));(function(t){function e(r,n){return{items:r||[],isIncomplete:!!n}}o(e,"create"),t.create=e})(lce||(lce={}));(function(t){function e(n){return n.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}o(e,"fromPlainText"),t.fromPlainText=e;function r(n){let i=n;return $e.string(i)||$e.objectLiteral(i)&&$e.string(i.language)&&$e.string(i.value)}o(r,"is"),t.is=r})(AE||(AE={}));(function(t){function e(r){let n=r;return!!n&&$e.objectLiteral(n)&&(Mx.is(n.contents)||AE.is(n.contents)||$e.typedArray(n.contents,AE.is))&&(r.range===void 0||Pr.is(r.range))}o(e,"is"),t.is=e})(cce||(cce={}));(function(t){function e(r,n){return n?{label:r,documentation:n}:{label:r}}o(e,"create"),t.create=e})(uce||(uce={}));(function(t){function e(r,n,...i){let a={label:r};return $e.defined(n)&&(a.documentation=n),$e.defined(i)?a.parameters=i:a.parameters=[],a}o(e,"create"),t.create=e})(hce||(hce={}));(function(t){t.Text=1,t.Read=2,t.Write=3})(fce||(fce={}));(function(t){function e(r,n){let i={range:r};return $e.number(n)&&(i.kind=n),i}o(e,"create"),t.create=e})(dce||(dce={}));(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(pce||(pce={}));(function(t){t.Deprecated=1})(mce||(mce={}));(function(t){function e(r,n,i,a,s){let l={name:r,kind:n,location:{uri:a,range:i}};return s&&(l.containerName=s),l}o(e,"create"),t.create=e})(gce||(gce={}));(function(t){function e(r,n,i,a){return a!==void 0?{name:r,kind:n,location:{uri:i,range:a}}:{name:r,kind:n,location:{uri:i}}}o(e,"create"),t.create=e})(yce||(yce={}));(function(t){function e(n,i,a,s,l,u){let h={name:n,detail:i,kind:a,range:s,selectionRange:l};return u!==void 0&&(h.children=u),h}o(e,"create"),t.create=e;function r(n){let i=n;return i&&$e.string(i.name)&&$e.number(i.kind)&&Pr.is(i.range)&&Pr.is(i.selectionRange)&&(i.detail===void 0||$e.string(i.detail))&&(i.deprecated===void 0||$e.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}o(r,"is"),t.is=r})(vce||(vce={}));(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(xce||(xce={}));(function(t){t.Invoked=1,t.Automatic=2})(_E||(_E={}));(function(t){function e(n,i,a){let s={diagnostics:n};return i!=null&&(s.only=i),a!=null&&(s.triggerKind=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.typedArray(i.diagnostics,CE.is)&&(i.only===void 0||$e.typedArray(i.only,$e.string))&&(i.triggerKind===void 0||i.triggerKind===_E.Invoked||i.triggerKind===_E.Automatic)}o(r,"is"),t.is=r})(bce||(bce={}));(function(t){function e(n,i,a){let s={title:n},l=!0;return typeof i=="string"?(l=!1,s.kind=i):a1.is(i)?s.command=i:s.edit=i,l&&a!==void 0&&(s.kind=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return i&&$e.string(i.title)&&(i.diagnostics===void 0||$e.typedArray(i.diagnostics,CE.is))&&(i.kind===void 0||$e.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||a1.is(i.command))&&(i.isPreferred===void 0||$e.boolean(i.isPreferred))&&(i.edit===void 0||UM.is(i.edit))}o(r,"is"),t.is=r})(Tce||(Tce={}));(function(t){function e(n,i){let a={range:n};return $e.defined(i)&&(a.data=i),a}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&Pr.is(i.range)&&($e.undefined(i.command)||a1.is(i.command))}o(r,"is"),t.is=r})(wce||(wce={}));(function(t){function e(n,i){return{tabSize:n,insertSpaces:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.uinteger(i.tabSize)&&$e.boolean(i.insertSpaces)}o(r,"is"),t.is=r})(kce||(kce={}));(function(t){function e(n,i,a){return{range:n,target:i,data:a}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&Pr.is(i.range)&&($e.undefined(i.target)||$e.string(i.target))}o(r,"is"),t.is=r})(Ece||(Ece={}));(function(t){function e(n,i){return{range:n,parent:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Pr.is(i.range)&&(i.parent===void 0||t.is(i.parent))}o(r,"is"),t.is=r})(Sce||(Sce={}));(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator",t.decorator="decorator"})(Cce||(Cce={}));(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(Ace||(Ace={}));(function(t){function e(r){let n=r;return $e.objectLiteral(n)&&(n.resultId===void 0||typeof n.resultId=="string")&&Array.isArray(n.data)&&(n.data.length===0||typeof n.data[0]=="number")}o(e,"is"),t.is=e})(_ce||(_ce={}));(function(t){function e(n,i){return{range:n,text:i}}o(e,"create"),t.create=e;function r(n){let i=n;return i!=null&&Pr.is(i.range)&&$e.string(i.text)}o(r,"is"),t.is=r})(Dce||(Dce={}));(function(t){function e(n,i,a){return{range:n,variableName:i,caseSensitiveLookup:a}}o(e,"create"),t.create=e;function r(n){let i=n;return i!=null&&Pr.is(i.range)&&$e.boolean(i.caseSensitiveLookup)&&($e.string(i.variableName)||i.variableName===void 0)}o(r,"is"),t.is=r})(Lce||(Lce={}));(function(t){function e(n,i){return{range:n,expression:i}}o(e,"create"),t.create=e;function r(n){let i=n;return i!=null&&Pr.is(i.range)&&($e.string(i.expression)||i.expression===void 0)}o(r,"is"),t.is=r})(Rce||(Rce={}));(function(t){function e(n,i){return{frameId:n,stoppedLocation:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&Pr.is(n.stoppedLocation)}o(r,"is"),t.is=r})(Nce||(Nce={}));(function(t){t.Type=1,t.Parameter=2;function e(r){return r===1||r===2}o(e,"is"),t.is=e})(qM||(qM={}));(function(t){function e(n){return{value:n}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&(i.tooltip===void 0||$e.string(i.tooltip)||Mx.is(i.tooltip))&&(i.location===void 0||SE.is(i.location))&&(i.command===void 0||a1.is(i.command))}o(r,"is"),t.is=r})(YM||(YM={}));(function(t){function e(n,i,a){let s={position:n,label:i};return a!==void 0&&(s.kind=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Xr.is(i.position)&&($e.string(i.label)||$e.typedArray(i.label,YM.is))&&(i.kind===void 0||qM.is(i.kind))&&i.textEdits===void 0||$e.typedArray(i.textEdits,s1.is)&&(i.tooltip===void 0||$e.string(i.tooltip)||Mx.is(i.tooltip))&&(i.paddingLeft===void 0||$e.boolean(i.paddingLeft))&&(i.paddingRight===void 0||$e.boolean(i.paddingRight))}o(r,"is"),t.is=r})(Mce||(Mce={}));(function(t){function e(r){return{kind:"snippet",value:r}}o(e,"createSnippet"),t.createSnippet=e})(Ice||(Ice={}));(function(t){function e(r,n,i,a){return{insertText:r,filterText:n,range:i,command:a}}o(e,"create"),t.create=e})(Oce||(Oce={}));(function(t){function e(r){return{items:r}}o(e,"create"),t.create=e})(Pce||(Pce={}));(function(t){t.Invoked=0,t.Automatic=1})(Bce||(Bce={}));(function(t){function e(r,n){return{range:r,text:n}}o(e,"create"),t.create=e})(Fce||(Fce={}));(function(t){function e(r,n){return{triggerKind:r,selectedCompletionInfo:n}}o(e,"create"),t.create=e})($ce||($ce={}));(function(t){function e(r){let n=r;return $e.objectLiteral(n)&&OM.is(n.uri)&&$e.string(n.name)}o(e,"is"),t.is=e})(zce||(zce={}));(function(t){function e(a,s,l,u){return new XM(a,s,l,u)}o(e,"create"),t.create=e;function r(a){let s=a;return!!($e.defined(s)&&$e.string(s.uri)&&($e.undefined(s.languageId)||$e.string(s.languageId))&&$e.uinteger(s.lineCount)&&$e.func(s.getText)&&$e.func(s.positionAt)&&$e.func(s.offsetAt))}o(r,"is"),t.is=r;function n(a,s){let l=a.getText(),u=i(s,(f,d)=>{let p=f.range.start.line-d.range.start.line;return p===0?f.range.start.character-d.range.start.character:p}),h=l.length;for(let f=u.length-1;f>=0;f--){let d=u[f],p=a.offsetAt(d.range.start),m=a.offsetAt(d.range.end);if(m<=h)l=l.substring(0,p)+d.newText+l.substring(m,l.length);else throw new Error("Overlapping edit");h=p}return l}o(n,"applyEdits"),t.applyEdits=n;function i(a,s){if(a.length<=1)return a;let l=a.length/2|0,u=a.slice(0,l),h=a.slice(l);i(u,s),i(h,s);let f=0,d=0,p=0;for(;fa.state.transitions),i=wie(n.filter(a=>a instanceof A1).map(a=>a.tokenType),a=>a.tokenTypeIdx);return{actualToken:r,possibleTokenTypes:i,tokenPath:t}}function kYe(t,e){return t.edges[e.tokenTypeIdx]}function EYe(t,e,r){let n=new R1,i=[];for(let s of t.elements){if(r.is(s.alt)===!1)continue;if(s.state.type===D1){i.push(s);continue}let l=s.state.transitions.length;for(let u=0;u0&&!DYe(a))for(let s of i)a.add(s);return a}function SYe(t,e){if(t instanceof A1&&nb(e,t.tokenType))return t.target}function CYe(t,e){let r;for(let n of t.elements)if(e.is(n.alt)===!0){if(r===void 0)r=n.alt;else if(r!==n.alt)return}return r}function yfe(t){return{configs:t,edges:{},isAcceptState:!1,prediction:-1}}function gfe(t,e,r,n){return n=vfe(t,n),e.edges[r.tokenTypeIdx]=n,n}function vfe(t,e){if(e===xb)return e;let r=e.configs.key,n=t.states[r];return n!==void 0?n:(e.configs.finalize(),t.states[r]=e,e)}function AYe(t){let e=new R1,r=t.transitions.length;for(let n=0;n0){let i=[...t.stack],s={state:i.pop(),alt:t.alt,stack:i};AS(s,e)}else e.add(t);return}r.epsilonOnlyTransitions||e.add(t);let n=r.transitions.length;for(let i=0;i1)return!0;return!1}function IYe(t){for(let e of Array.from(t.values()))if(Object.keys(e).length===1)return!0;return!1}var CS,pfe,bb,xfe=N(()=>{"use strict";Mf();ffe();dfe();SR();xR();kie();Fm();Dw();ik();ck();DR();o(mYe,"createDFACache");CS=class{static{o(this,"PredicateSet")}constructor(){this.predicates=[]}is(e){return e>=this.predicates.length||this.predicates[e]}set(e,r){this.predicates[e]=r}toString(){let e="",r=this.predicates.length;for(let n=0;nconsole.log(n)}initialize(e){this.atn=lfe(e.rules),this.dfas=gYe(this.atn)}validateAmbiguousAlternationAlternatives(){return[]}validateEmptyOrAlternatives(){return[]}buildLookaheadForAlternation(e){let{prodOccurrence:r,rule:n,hasPredicates:i,dynamicTokensEnabled:a}=e,s=this.dfas,l=this.logging,u=zp(n,"Alternation",r),f=this.atn.decisionMap[u].decision,d=et(iS({maxLookahead:1,occurrence:r,prodType:"Alternation",rule:n}),p=>et(p,m=>m[0]));if(mfe(d,!1)&&!a){let p=Xr(d,(m,g,y)=>(Ae(g,x=>{x&&(m[x.tokenTypeIdx]=y,Ae(x.categoryMatches,v=>{m[v]=y}))}),m),{});return i?function(m){var g;let y=this.LA(1),x=p[y.tokenTypeIdx];if(m!==void 0&&x!==void 0){let v=(g=m[x])===null||g===void 0?void 0:g.GATE;if(v!==void 0&&v.call(this)===!1)return}return x}:function(){let m=this.LA(1);return p[m.tokenTypeIdx]}}else return i?function(p){let m=new CS,g=p===void 0?0:p.length;for(let x=0;xet(p,m=>m[0]));if(mfe(d)&&d[0][0]&&!a){let p=d[0],m=qr(p);if(m.length===1&&fr(m[0].categoryMatches)){let y=m[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===y}}else{let g=Xr(m,(y,x)=>(x!==void 0&&(y[x.tokenTypeIdx]=!0,Ae(x.categoryMatches,v=>{y[v]=!0})),y),{});return function(){let y=this.LA(1);return g[y.tokenTypeIdx]===!0}}}return function(){let p=ZI.call(this,s,f,pfe,l);return typeof p=="object"?!1:p===0}}};o(mfe,"isLL1Sequence");o(gYe,"initATNSimulator");o(ZI,"adaptivePredict");o(yYe,"performLookahead");o(vYe,"computeLookaheadTarget");o(xYe,"reportLookaheadAmbiguity");o(bYe,"buildAmbiguityError");o(TYe,"getProductionDslName");o(wYe,"buildAdaptivePredictError");o(kYe,"getExistingTargetState");o(EYe,"computeReachSet");o(SYe,"getReachableTarget");o(CYe,"getUniqueAlt");o(yfe,"newDFAState");o(gfe,"addDFAEdge");o(vfe,"addDFAState");o(AYe,"computeStartState");o(AS,"closure");o(_Ye,"getEpsilonTarget");o(DYe,"hasConfigInRuleStopState");o(LYe,"allConfigsInRuleStopStates");o(RYe,"hasConflictTerminatingPrediction");o(NYe,"getConflictingAltSets");o(MYe,"hasConflictingAltSet");o(IYe,"hasStateAssociatedWithOneAlt")});var bfe=N(()=>{"use strict";xfe()});var Tfe,JI,wfe,_S,Kr,Br,DS,kfe,eO,Efe,Sfe,Cfe,Afe,tO,_fe,Dfe,Lfe,LS,N1,M1,rO,I1,Rfe,nO,iO,aO,sO,oO,Nfe,Mfe,lO,Ife,cO,Tb,Ofe,Pfe,Bfe,Ffe,$fe,Gfe,zfe,Vfe,RS,Ufe,Hfe,Wfe,qfe,Yfe,Xfe,jfe,Kfe,Qfe,Zfe,Jfe,NS,ede,tde,rde,nde,ide,ade,sde,ode,lde,cde,ude,hde,fde,uO,hO,dde,pde,mde,gde,yde,vde,xde,bde,Tde,fO,$e,dO=N(()=>{"use strict";(function(t){function e(r){return typeof r=="string"}o(e,"is"),t.is=e})(Tfe||(Tfe={}));(function(t){function e(r){return typeof r=="string"}o(e,"is"),t.is=e})(JI||(JI={}));(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647;function e(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}o(e,"is"),t.is=e})(wfe||(wfe={}));(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647;function e(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}o(e,"is"),t.is=e})(_S||(_S={}));(function(t){function e(n,i){return n===Number.MAX_VALUE&&(n=_S.MAX_VALUE),i===Number.MAX_VALUE&&(i=_S.MAX_VALUE),{line:n,character:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&$e.uinteger(i.line)&&$e.uinteger(i.character)}o(r,"is"),t.is=r})(Kr||(Kr={}));(function(t){function e(n,i,a,s){if($e.uinteger(n)&&$e.uinteger(i)&&$e.uinteger(a)&&$e.uinteger(s))return{start:Kr.create(n,i),end:Kr.create(a,s)};if(Kr.is(n)&&Kr.is(i))return{start:n,end:i};throw new Error(`Range#create called with invalid arguments[${n}, ${i}, ${a}, ${s}]`)}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Kr.is(i.start)&&Kr.is(i.end)}o(r,"is"),t.is=r})(Br||(Br={}));(function(t){function e(n,i){return{uri:n,range:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Br.is(i.range)&&($e.string(i.uri)||$e.undefined(i.uri))}o(r,"is"),t.is=r})(DS||(DS={}));(function(t){function e(n,i,a,s){return{targetUri:n,targetRange:i,targetSelectionRange:a,originSelectionRange:s}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Br.is(i.targetRange)&&$e.string(i.targetUri)&&Br.is(i.targetSelectionRange)&&(Br.is(i.originSelectionRange)||$e.undefined(i.originSelectionRange))}o(r,"is"),t.is=r})(kfe||(kfe={}));(function(t){function e(n,i,a,s){return{red:n,green:i,blue:a,alpha:s}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&$e.numberRange(i.red,0,1)&&$e.numberRange(i.green,0,1)&&$e.numberRange(i.blue,0,1)&&$e.numberRange(i.alpha,0,1)}o(r,"is"),t.is=r})(eO||(eO={}));(function(t){function e(n,i){return{range:n,color:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Br.is(i.range)&&eO.is(i.color)}o(r,"is"),t.is=r})(Efe||(Efe={}));(function(t){function e(n,i,a){return{label:n,textEdit:i,additionalTextEdits:a}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&$e.string(i.label)&&($e.undefined(i.textEdit)||M1.is(i))&&($e.undefined(i.additionalTextEdits)||$e.typedArray(i.additionalTextEdits,M1.is))}o(r,"is"),t.is=r})(Sfe||(Sfe={}));(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(Cfe||(Cfe={}));(function(t){function e(n,i,a,s,l,u){let h={startLine:n,endLine:i};return $e.defined(a)&&(h.startCharacter=a),$e.defined(s)&&(h.endCharacter=s),$e.defined(l)&&(h.kind=l),$e.defined(u)&&(h.collapsedText=u),h}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&$e.uinteger(i.startLine)&&$e.uinteger(i.startLine)&&($e.undefined(i.startCharacter)||$e.uinteger(i.startCharacter))&&($e.undefined(i.endCharacter)||$e.uinteger(i.endCharacter))&&($e.undefined(i.kind)||$e.string(i.kind))}o(r,"is"),t.is=r})(Afe||(Afe={}));(function(t){function e(n,i){return{location:n,message:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&DS.is(i.location)&&$e.string(i.message)}o(r,"is"),t.is=r})(tO||(tO={}));(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(_fe||(_fe={}));(function(t){t.Unnecessary=1,t.Deprecated=2})(Dfe||(Dfe={}));(function(t){function e(r){let n=r;return $e.objectLiteral(n)&&$e.string(n.href)}o(e,"is"),t.is=e})(Lfe||(Lfe={}));(function(t){function e(n,i,a,s,l,u){let h={range:n,message:i};return $e.defined(a)&&(h.severity=a),$e.defined(s)&&(h.code=s),$e.defined(l)&&(h.source=l),$e.defined(u)&&(h.relatedInformation=u),h}o(e,"create"),t.create=e;function r(n){var i;let a=n;return $e.defined(a)&&Br.is(a.range)&&$e.string(a.message)&&($e.number(a.severity)||$e.undefined(a.severity))&&($e.integer(a.code)||$e.string(a.code)||$e.undefined(a.code))&&($e.undefined(a.codeDescription)||$e.string((i=a.codeDescription)===null||i===void 0?void 0:i.href))&&($e.string(a.source)||$e.undefined(a.source))&&($e.undefined(a.relatedInformation)||$e.typedArray(a.relatedInformation,tO.is))}o(r,"is"),t.is=r})(LS||(LS={}));(function(t){function e(n,i,...a){let s={title:n,command:i};return $e.defined(a)&&a.length>0&&(s.arguments=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.string(i.title)&&$e.string(i.command)}o(r,"is"),t.is=r})(N1||(N1={}));(function(t){function e(a,s){return{range:a,newText:s}}o(e,"replace"),t.replace=e;function r(a,s){return{range:{start:a,end:a},newText:s}}o(r,"insert"),t.insert=r;function n(a){return{range:a,newText:""}}o(n,"del"),t.del=n;function i(a){let s=a;return $e.objectLiteral(s)&&$e.string(s.newText)&&Br.is(s.range)}o(i,"is"),t.is=i})(M1||(M1={}));(function(t){function e(n,i,a){let s={label:n};return i!==void 0&&(s.needsConfirmation=i),a!==void 0&&(s.description=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&$e.string(i.label)&&($e.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&($e.string(i.description)||i.description===void 0)}o(r,"is"),t.is=r})(rO||(rO={}));(function(t){function e(r){let n=r;return $e.string(n)}o(e,"is"),t.is=e})(I1||(I1={}));(function(t){function e(a,s,l){return{range:a,newText:s,annotationId:l}}o(e,"replace"),t.replace=e;function r(a,s,l){return{range:{start:a,end:a},newText:s,annotationId:l}}o(r,"insert"),t.insert=r;function n(a,s){return{range:a,newText:"",annotationId:s}}o(n,"del"),t.del=n;function i(a){let s=a;return M1.is(s)&&(rO.is(s.annotationId)||I1.is(s.annotationId))}o(i,"is"),t.is=i})(Rfe||(Rfe={}));(function(t){function e(n,i){return{textDocument:n,edits:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&lO.is(i.textDocument)&&Array.isArray(i.edits)}o(r,"is"),t.is=r})(nO||(nO={}));(function(t){function e(n,i,a){let s={kind:"create",uri:n};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(s.options=i),a!==void 0&&(s.annotationId=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return i&&i.kind==="create"&&$e.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||$e.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||$e.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||I1.is(i.annotationId))}o(r,"is"),t.is=r})(iO||(iO={}));(function(t){function e(n,i,a,s){let l={kind:"rename",oldUri:n,newUri:i};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(l.options=a),s!==void 0&&(l.annotationId=s),l}o(e,"create"),t.create=e;function r(n){let i=n;return i&&i.kind==="rename"&&$e.string(i.oldUri)&&$e.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||$e.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||$e.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||I1.is(i.annotationId))}o(r,"is"),t.is=r})(aO||(aO={}));(function(t){function e(n,i,a){let s={kind:"delete",uri:n};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(s.options=i),a!==void 0&&(s.annotationId=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return i&&i.kind==="delete"&&$e.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||$e.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||$e.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||I1.is(i.annotationId))}o(r,"is"),t.is=r})(sO||(sO={}));(function(t){function e(r){let n=r;return n&&(n.changes!==void 0||n.documentChanges!==void 0)&&(n.documentChanges===void 0||n.documentChanges.every(i=>$e.string(i.kind)?iO.is(i)||aO.is(i)||sO.is(i):nO.is(i)))}o(e,"is"),t.is=e})(oO||(oO={}));(function(t){function e(n){return{uri:n}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.string(i.uri)}o(r,"is"),t.is=r})(Nfe||(Nfe={}));(function(t){function e(n,i){return{uri:n,version:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.string(i.uri)&&$e.integer(i.version)}o(r,"is"),t.is=r})(Mfe||(Mfe={}));(function(t){function e(n,i){return{uri:n,version:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.string(i.uri)&&(i.version===null||$e.integer(i.version))}o(r,"is"),t.is=r})(lO||(lO={}));(function(t){function e(n,i,a,s){return{uri:n,languageId:i,version:a,text:s}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.string(i.uri)&&$e.string(i.languageId)&&$e.integer(i.version)&&$e.string(i.text)}o(r,"is"),t.is=r})(Ife||(Ife={}));(function(t){t.PlainText="plaintext",t.Markdown="markdown";function e(r){let n=r;return n===t.PlainText||n===t.Markdown}o(e,"is"),t.is=e})(cO||(cO={}));(function(t){function e(r){let n=r;return $e.objectLiteral(r)&&cO.is(n.kind)&&$e.string(n.value)}o(e,"is"),t.is=e})(Tb||(Tb={}));(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(Ofe||(Ofe={}));(function(t){t.PlainText=1,t.Snippet=2})(Pfe||(Pfe={}));(function(t){t.Deprecated=1})(Bfe||(Bfe={}));(function(t){function e(n,i,a){return{newText:n,insert:i,replace:a}}o(e,"create"),t.create=e;function r(n){let i=n;return i&&$e.string(i.newText)&&Br.is(i.insert)&&Br.is(i.replace)}o(r,"is"),t.is=r})(Ffe||(Ffe={}));(function(t){t.asIs=1,t.adjustIndentation=2})($fe||($fe={}));(function(t){function e(r){let n=r;return n&&($e.string(n.detail)||n.detail===void 0)&&($e.string(n.description)||n.description===void 0)}o(e,"is"),t.is=e})(Gfe||(Gfe={}));(function(t){function e(r){return{label:r}}o(e,"create"),t.create=e})(zfe||(zfe={}));(function(t){function e(r,n){return{items:r||[],isIncomplete:!!n}}o(e,"create"),t.create=e})(Vfe||(Vfe={}));(function(t){function e(n){return n.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}o(e,"fromPlainText"),t.fromPlainText=e;function r(n){let i=n;return $e.string(i)||$e.objectLiteral(i)&&$e.string(i.language)&&$e.string(i.value)}o(r,"is"),t.is=r})(RS||(RS={}));(function(t){function e(r){let n=r;return!!n&&$e.objectLiteral(n)&&(Tb.is(n.contents)||RS.is(n.contents)||$e.typedArray(n.contents,RS.is))&&(r.range===void 0||Br.is(r.range))}o(e,"is"),t.is=e})(Ufe||(Ufe={}));(function(t){function e(r,n){return n?{label:r,documentation:n}:{label:r}}o(e,"create"),t.create=e})(Hfe||(Hfe={}));(function(t){function e(r,n,...i){let a={label:r};return $e.defined(n)&&(a.documentation=n),$e.defined(i)?a.parameters=i:a.parameters=[],a}o(e,"create"),t.create=e})(Wfe||(Wfe={}));(function(t){t.Text=1,t.Read=2,t.Write=3})(qfe||(qfe={}));(function(t){function e(r,n){let i={range:r};return $e.number(n)&&(i.kind=n),i}o(e,"create"),t.create=e})(Yfe||(Yfe={}));(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(Xfe||(Xfe={}));(function(t){t.Deprecated=1})(jfe||(jfe={}));(function(t){function e(r,n,i,a,s){let l={name:r,kind:n,location:{uri:a,range:i}};return s&&(l.containerName=s),l}o(e,"create"),t.create=e})(Kfe||(Kfe={}));(function(t){function e(r,n,i,a){return a!==void 0?{name:r,kind:n,location:{uri:i,range:a}}:{name:r,kind:n,location:{uri:i}}}o(e,"create"),t.create=e})(Qfe||(Qfe={}));(function(t){function e(n,i,a,s,l,u){let h={name:n,detail:i,kind:a,range:s,selectionRange:l};return u!==void 0&&(h.children=u),h}o(e,"create"),t.create=e;function r(n){let i=n;return i&&$e.string(i.name)&&$e.number(i.kind)&&Br.is(i.range)&&Br.is(i.selectionRange)&&(i.detail===void 0||$e.string(i.detail))&&(i.deprecated===void 0||$e.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}o(r,"is"),t.is=r})(Zfe||(Zfe={}));(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(Jfe||(Jfe={}));(function(t){t.Invoked=1,t.Automatic=2})(NS||(NS={}));(function(t){function e(n,i,a){let s={diagnostics:n};return i!=null&&(s.only=i),a!=null&&(s.triggerKind=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.typedArray(i.diagnostics,LS.is)&&(i.only===void 0||$e.typedArray(i.only,$e.string))&&(i.triggerKind===void 0||i.triggerKind===NS.Invoked||i.triggerKind===NS.Automatic)}o(r,"is"),t.is=r})(ede||(ede={}));(function(t){function e(n,i,a){let s={title:n},l=!0;return typeof i=="string"?(l=!1,s.kind=i):N1.is(i)?s.command=i:s.edit=i,l&&a!==void 0&&(s.kind=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return i&&$e.string(i.title)&&(i.diagnostics===void 0||$e.typedArray(i.diagnostics,LS.is))&&(i.kind===void 0||$e.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||N1.is(i.command))&&(i.isPreferred===void 0||$e.boolean(i.isPreferred))&&(i.edit===void 0||oO.is(i.edit))}o(r,"is"),t.is=r})(tde||(tde={}));(function(t){function e(n,i){let a={range:n};return $e.defined(i)&&(a.data=i),a}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&Br.is(i.range)&&($e.undefined(i.command)||N1.is(i.command))}o(r,"is"),t.is=r})(rde||(rde={}));(function(t){function e(n,i){return{tabSize:n,insertSpaces:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&$e.uinteger(i.tabSize)&&$e.boolean(i.insertSpaces)}o(r,"is"),t.is=r})(nde||(nde={}));(function(t){function e(n,i,a){return{range:n,target:i,data:a}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&Br.is(i.range)&&($e.undefined(i.target)||$e.string(i.target))}o(r,"is"),t.is=r})(ide||(ide={}));(function(t){function e(n,i){return{range:n,parent:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Br.is(i.range)&&(i.parent===void 0||t.is(i.parent))}o(r,"is"),t.is=r})(ade||(ade={}));(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator",t.decorator="decorator"})(sde||(sde={}));(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(ode||(ode={}));(function(t){function e(r){let n=r;return $e.objectLiteral(n)&&(n.resultId===void 0||typeof n.resultId=="string")&&Array.isArray(n.data)&&(n.data.length===0||typeof n.data[0]=="number")}o(e,"is"),t.is=e})(lde||(lde={}));(function(t){function e(n,i){return{range:n,text:i}}o(e,"create"),t.create=e;function r(n){let i=n;return i!=null&&Br.is(i.range)&&$e.string(i.text)}o(r,"is"),t.is=r})(cde||(cde={}));(function(t){function e(n,i,a){return{range:n,variableName:i,caseSensitiveLookup:a}}o(e,"create"),t.create=e;function r(n){let i=n;return i!=null&&Br.is(i.range)&&$e.boolean(i.caseSensitiveLookup)&&($e.string(i.variableName)||i.variableName===void 0)}o(r,"is"),t.is=r})(ude||(ude={}));(function(t){function e(n,i){return{range:n,expression:i}}o(e,"create"),t.create=e;function r(n){let i=n;return i!=null&&Br.is(i.range)&&($e.string(i.expression)||i.expression===void 0)}o(r,"is"),t.is=r})(hde||(hde={}));(function(t){function e(n,i){return{frameId:n,stoppedLocation:i}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.defined(i)&&Br.is(n.stoppedLocation)}o(r,"is"),t.is=r})(fde||(fde={}));(function(t){t.Type=1,t.Parameter=2;function e(r){return r===1||r===2}o(e,"is"),t.is=e})(uO||(uO={}));(function(t){function e(n){return{value:n}}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&(i.tooltip===void 0||$e.string(i.tooltip)||Tb.is(i.tooltip))&&(i.location===void 0||DS.is(i.location))&&(i.command===void 0||N1.is(i.command))}o(r,"is"),t.is=r})(hO||(hO={}));(function(t){function e(n,i,a){let s={position:n,label:i};return a!==void 0&&(s.kind=a),s}o(e,"create"),t.create=e;function r(n){let i=n;return $e.objectLiteral(i)&&Kr.is(i.position)&&($e.string(i.label)||$e.typedArray(i.label,hO.is))&&(i.kind===void 0||uO.is(i.kind))&&i.textEdits===void 0||$e.typedArray(i.textEdits,M1.is)&&(i.tooltip===void 0||$e.string(i.tooltip)||Tb.is(i.tooltip))&&(i.paddingLeft===void 0||$e.boolean(i.paddingLeft))&&(i.paddingRight===void 0||$e.boolean(i.paddingRight))}o(r,"is"),t.is=r})(dde||(dde={}));(function(t){function e(r){return{kind:"snippet",value:r}}o(e,"createSnippet"),t.createSnippet=e})(pde||(pde={}));(function(t){function e(r,n,i,a){return{insertText:r,filterText:n,range:i,command:a}}o(e,"create"),t.create=e})(mde||(mde={}));(function(t){function e(r){return{items:r}}o(e,"create"),t.create=e})(gde||(gde={}));(function(t){t.Invoked=0,t.Automatic=1})(yde||(yde={}));(function(t){function e(r,n){return{range:r,text:n}}o(e,"create"),t.create=e})(vde||(vde={}));(function(t){function e(r,n){return{triggerKind:r,selectedCompletionInfo:n}}o(e,"create"),t.create=e})(xde||(xde={}));(function(t){function e(r){let n=r;return $e.objectLiteral(n)&&JI.is(n.uri)&&$e.string(n.name)}o(e,"is"),t.is=e})(bde||(bde={}));(function(t){function e(a,s,l,u){return new fO(a,s,l,u)}o(e,"create"),t.create=e;function r(a){let s=a;return!!($e.defined(s)&&$e.string(s.uri)&&($e.undefined(s.languageId)||$e.string(s.languageId))&&$e.uinteger(s.lineCount)&&$e.func(s.getText)&&$e.func(s.positionAt)&&$e.func(s.offsetAt))}o(r,"is"),t.is=r;function n(a,s){let l=a.getText(),u=i(s,(f,d)=>{let p=f.range.start.line-d.range.start.line;return p===0?f.range.start.character-d.range.start.character:p}),h=l.length;for(let f=u.length-1;f>=0;f--){let d=u[f],p=a.offsetAt(d.range.start),m=a.offsetAt(d.range.end);if(m<=h)l=l.substring(0,p)+d.newText+l.substring(m,l.length);else throw new Error("Overlapping edit");h=p}return l}o(n,"applyEdits"),t.applyEdits=n;function i(a,s){if(a.length<=1)return a;let l=a.length/2|0,u=a.slice(0,l),h=a.slice(l);i(u,s),i(h,s);let f=0,d=0,p=0;for(;f0&&e.push(r.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let r=this.getLineOffsets(),n=0,i=r.length;if(i===0)return Xr.create(0,e);for(;ne?i=s:n=s+1}let a=n-1;return Xr.create(a,e-r[a])}offsetAt(e){let r=this.getLineOffsets();if(e.line>=r.length)return this._content.length;if(e.line<0)return 0;let n=r[e.line],i=e.line+1"u"}o(n,"undefined"),t.undefined=n;function i(m){return m===!0||m===!1}o(i,"boolean"),t.boolean=i;function a(m){return e.call(m)==="[object String]"}o(a,"string"),t.string=a;function s(m){return e.call(m)==="[object Number]"}o(s,"number"),t.number=s;function l(m,g,y){return e.call(m)==="[object Number]"&&g<=m&&m<=y}o(l,"numberRange"),t.numberRange=l;function u(m){return e.call(m)==="[object Number]"&&-2147483648<=m&&m<=2147483647}o(u,"integer"),t.integer=u;function h(m){return e.call(m)==="[object Number]"&&0<=m&&m<=2147483647}o(h,"uinteger"),t.uinteger=h;function f(m){return e.call(m)==="[object Function]"}o(f,"func"),t.func=f;function d(m){return m!==null&&typeof m=="object"}o(d,"objectLiteral"),t.objectLiteral=d;function p(m,g){return Array.isArray(m)&&m.every(g)}o(p,"typedArray"),t.typedArray=p})($e||($e={}))});var Ix,Ox,bp,Tp,KM,l1,DE=N(()=>{"use strict";jM();Ml();Ix=class{static{o(this,"CstNodeBuilder")}constructor(){this.nodeStack=[]}get current(){var e;return(e=this.nodeStack[this.nodeStack.length-1])!==null&&e!==void 0?e:this.rootNode}buildRootNode(e){return this.rootNode=new l1(e),this.rootNode.root=this.rootNode,this.nodeStack=[this.rootNode],this.rootNode}buildCompositeNode(e){let r=new Tp;return r.grammarSource=e,r.root=this.rootNode,this.current.content.push(r),this.nodeStack.push(r),r}buildLeafNode(e,r){let n=new bp(e.startOffset,e.image.length,Hm(e),e.tokenType,!r);return n.grammarSource=r,n.root=this.rootNode,this.current.content.push(n),n}removeNode(e){let r=e.container;if(r){let n=r.content.indexOf(e);n>=0&&r.content.splice(n,1)}}addHiddenNodes(e){let r=[];for(let a of e){let s=new bp(a.startOffset,a.image.length,Hm(a),a.tokenType,!0);s.root=this.rootNode,r.push(s)}let n=this.current,i=!1;if(n.content.length>0){n.content.push(...r);return}for(;n.container;){let a=n.container.content.indexOf(n);if(a>0){n.container.content.splice(a,0,...r),i=!0;break}n=n.container}i||this.rootNode.content.unshift(...r)}construct(e){let r=this.current;typeof e.$type=="string"&&(this.current.astNode=e),e.$cstNode=r;let n=this.nodeStack.pop();n?.content.length===0&&this.removeNode(n)}},Ox=class{static{o(this,"AbstractCstNode")}get parent(){return this.container}get feature(){return this.grammarSource}get hidden(){return!1}get astNode(){var e,r;let n=typeof((e=this._astNode)===null||e===void 0?void 0:e.$type)=="string"?this._astNode:(r=this.container)===null||r===void 0?void 0:r.astNode;if(!n)throw new Error("This node has no associated AST element");return n}set astNode(e){this._astNode=e}get element(){return this.astNode}get text(){return this.root.fullText.substring(this.offset,this.end)}},bp=class extends Ox{static{o(this,"LeafCstNodeImpl")}get offset(){return this._offset}get length(){return this._length}get end(){return this._offset+this._length}get hidden(){return this._hidden}get tokenType(){return this._tokenType}get range(){return this._range}constructor(e,r,n,i,a=!1){super(),this._hidden=a,this._offset=e,this._tokenType=i,this._length=r,this._range=n}},Tp=class extends Ox{static{o(this,"CompositeCstNodeImpl")}constructor(){super(...arguments),this.content=new KM(this)}get children(){return this.content}get offset(){var e,r;return(r=(e=this.firstNonHiddenNode)===null||e===void 0?void 0:e.offset)!==null&&r!==void 0?r:0}get length(){return this.end-this.offset}get end(){var e,r;return(r=(e=this.lastNonHiddenNode)===null||e===void 0?void 0:e.end)!==null&&r!==void 0?r:0}get range(){let e=this.firstNonHiddenNode,r=this.lastNonHiddenNode;if(e&&r){if(this._rangeCache===void 0){let{range:n}=e,{range:i}=r;this._rangeCache={start:n.start,end:i.end.line=0;e--){let r=this.content[e];if(!r.hidden)return r}return this.content[this.content.length-1]}},KM=class t extends Array{static{o(this,"CstNodeContainer")}constructor(e){super(),this.parent=e,Object.setPrototypeOf(this,t.prototype)}push(...e){return this.addParents(e),super.push(...e)}unshift(...e){return this.addParents(e),super.unshift(...e)}splice(e,r,...n){return this.addParents(n),super.splice(e,r,...n)}addParents(e){for(let r of e)r.container=this.parent}},l1=class extends Tp{static{o(this,"RootCstNodeImpl")}get text(){return this._text.substring(this.offset,this.end)}get fullText(){return this._text}constructor(e){super(),this._text="",this._text=e??""}}});function QM(t){return t.$type===LE}var LE,Vce,Uce,Px,Bx,RE,c1,Fx,w$e,ZM,$x=N(()=>{"use strict";hf();zle();Ic();Pl();as();DE();LE=Symbol("Datatype");o(QM,"isDataTypeNode");Vce="\u200B",Uce=o(t=>t.endsWith(Vce)?t:t+Vce,"withRuleSuffix"),Px=class{static{o(this,"AbstractLangiumParser")}constructor(e){this._unorderedGroups=new Map,this.allRules=new Map,this.lexer=e.parser.Lexer;let r=this.lexer.definition,n=e.LanguageMetaData.mode==="production";this.wrapper=new ZM(r,Object.assign(Object.assign({},e.parser.ParserConfig),{skipValidations:n,errorMessageProvider:e.parser.ParserErrorMessageProvider}))}alternatives(e,r){this.wrapper.wrapOr(e,r)}optional(e,r){this.wrapper.wrapOption(e,r)}many(e,r){this.wrapper.wrapMany(e,r)}atLeastOne(e,r){this.wrapper.wrapAtLeastOne(e,r)}getRule(e){return this.allRules.get(e)}isRecording(){return this.wrapper.IS_RECORDING}get unorderedGroups(){return this._unorderedGroups}getRuleStack(){return this.wrapper.RULE_STACK}finalize(){this.wrapper.wrapSelfAnalysis()}},Bx=class extends Px{static{o(this,"LangiumParser")}get current(){return this.stack[this.stack.length-1]}constructor(e){super(e),this.nodeBuilder=new Ix,this.stack=[],this.assignmentMap=new Map,this.linker=e.references.Linker,this.converter=e.parser.ValueConverter,this.astReflection=e.shared.AstReflection}rule(e,r){let n=this.computeRuleType(e),i=this.wrapper.DEFINE_RULE(Uce(e.name),this.startImplementation(n,r).bind(this));return this.allRules.set(e.name,i),e.entry&&(this.mainRule=i),i}computeRuleType(e){if(!e.fragment){if(ox(e))return LE;{let r=Ig(e);return r??e.name}}}parse(e,r={}){this.nodeBuilder.buildRootNode(e);let n=this.lexerResult=this.lexer.tokenize(e);this.wrapper.input=n.tokens;let i=r.rule?this.allRules.get(r.rule):this.mainRule;if(!i)throw new Error(r.rule?`No rule found with name '${r.rule}'`:"No main rule available.");let a=i.call(this.wrapper,{});return this.nodeBuilder.addHiddenNodes(n.hidden),this.unorderedGroups.clear(),this.lexerResult=void 0,{value:a,lexerErrors:n.errors,lexerReport:n.report,parserErrors:this.wrapper.errors}}startImplementation(e,r){return n=>{let i=!this.isRecording()&&e!==void 0;if(i){let s={$type:e};this.stack.push(s),e===LE&&(s.value="")}let a;try{a=r(n)}catch{a=void 0}return a===void 0&&i&&(a=this.construct()),a}}extractHiddenTokens(e){let r=this.lexerResult.hidden;if(!r.length)return[];let n=e.startOffset;for(let i=0;in)return r.splice(0,i);return r.splice(0,r.length)}consume(e,r,n){let i=this.wrapper.wrapConsume(e,r);if(!this.isRecording()&&this.isValidToken(i)){let a=this.extractHiddenTokens(i);this.nodeBuilder.addHiddenNodes(a);let s=this.nodeBuilder.buildLeafNode(i,n),{assignment:l,isCrossRef:u}=this.getAssignment(n),h=this.current;if(l){let f=qo(n)?i.image:this.converter.convert(i.image,s);this.assign(l.operator,l.feature,f,s,u)}else if(QM(h)){let f=i.image;qo(n)||(f=this.converter.convert(f,s).toString()),h.value+=f}}}isValidToken(e){return!e.isInsertedInRecovery&&!isNaN(e.startOffset)&&typeof e.endOffset=="number"&&!isNaN(e.endOffset)}subrule(e,r,n,i,a){let s;!this.isRecording()&&!n&&(s=this.nodeBuilder.buildCompositeNode(i));let l=this.wrapper.wrapSubrule(e,r,a);!this.isRecording()&&s&&s.length>0&&this.performSubruleAssignment(l,i,s)}performSubruleAssignment(e,r,n){let{assignment:i,isCrossRef:a}=this.getAssignment(r);if(i)this.assign(i.operator,i.feature,e,n,a);else if(!i){let s=this.current;if(QM(s))s.value+=e.toString();else if(typeof e=="object"&&e){let u=this.assignWithoutOverride(e,s);this.stack.pop(),this.stack.push(u)}}}action(e,r){if(!this.isRecording()){let n=this.current;if(r.feature&&r.operator){n=this.construct(),this.nodeBuilder.removeNode(n.$cstNode),this.nodeBuilder.buildCompositeNode(r).content.push(n.$cstNode);let a={$type:e};this.stack.push(a),this.assign(r.operator,r.feature,n,n.$cstNode,!1)}else n.$type=e}}construct(){if(this.isRecording())return;let e=this.current;return Rk(e),this.nodeBuilder.construct(e),this.stack.pop(),QM(e)?this.converter.convert(e.value,e.$cstNode):(_N(this.astReflection,e),e)}getAssignment(e){if(!this.assignmentMap.has(e)){let r=op(e,Il);this.assignmentMap.set(e,{assignment:r,isCrossRef:r?sp(r.terminal):!1})}return this.assignmentMap.get(e)}assign(e,r,n,i,a){let s=this.current,l;switch(a&&typeof n=="string"?l=this.linker.buildReference(s,r,i,n):l=n,e){case"=":{s[r]=l;break}case"?=":{s[r]=!0;break}case"+=":Array.isArray(s[r])||(s[r]=[]),s[r].push(l)}}assignWithoutOverride(e,r){for(let[i,a]of Object.entries(r)){let s=e[i];s===void 0?e[i]=a:Array.isArray(s)&&Array.isArray(a)&&(a.push(...s),e[i]=a)}let n=e.$cstNode;return n&&(n.astNode=void 0,e.$cstNode=void 0),e}get definitionErrors(){return this.wrapper.definitionErrors}},RE=class{static{o(this,"AbstractParserErrorMessageProvider")}buildMismatchTokenMessage(e){return Vu.buildMismatchTokenMessage(e)}buildNotAllInputParsedMessage(e){return Vu.buildNotAllInputParsedMessage(e)}buildNoViableAltMessage(e){return Vu.buildNoViableAltMessage(e)}buildEarlyExitMessage(e){return Vu.buildEarlyExitMessage(e)}},c1=class extends RE{static{o(this,"LangiumParserErrorMessageProvider")}buildMismatchTokenMessage({expected:e,actual:r}){return`Expecting ${e.LABEL?"`"+e.LABEL+"`":e.name.endsWith(":KW")?`keyword '${e.name.substring(0,e.name.length-3)}'`:`token of type '${e.name}'`} but found \`${r.image}\`.`}buildNotAllInputParsedMessage({firstRedundant:e}){return`Expecting end of file but found \`${e.image}\`.`}},Fx=class extends Px{static{o(this,"LangiumCompletionParser")}constructor(){super(...arguments),this.tokens=[],this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}action(){}construct(){}parse(e){this.resetState();let r=this.lexer.tokenize(e,{mode:"partial"});return this.tokens=r.tokens,this.wrapper.input=[...this.tokens],this.mainRule.call(this.wrapper,{}),this.unorderedGroups.clear(),{tokens:this.tokens,elementStack:[...this.lastElementStack],tokenIndex:this.nextTokenIndex}}rule(e,r){let n=this.wrapper.DEFINE_RULE(Uce(e.name),this.startImplementation(r).bind(this));return this.allRules.set(e.name,n),e.entry&&(this.mainRule=n),n}resetState(){this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}startImplementation(e){return r=>{let n=this.keepStackSize();try{e(r)}finally{this.resetStackSize(n)}}}removeUnexpectedElements(){this.elementStack.splice(this.stackSize)}keepStackSize(){let e=this.elementStack.length;return this.stackSize=e,e}resetStackSize(e){this.removeUnexpectedElements(),this.stackSize=e}consume(e,r,n){this.wrapper.wrapConsume(e,r),this.isRecording()||(this.lastElementStack=[...this.elementStack,n],this.nextTokenIndex=this.currIdx+1)}subrule(e,r,n,i,a){this.before(i),this.wrapper.wrapSubrule(e,r,a),this.after(i)}before(e){this.isRecording()||this.elementStack.push(e)}after(e){if(!this.isRecording()){let r=this.elementStack.lastIndexOf(e);r>=0&&this.elementStack.splice(r)}}get currIdx(){return this.wrapper.currIdx}},w$e={recoveryEnabled:!0,nodeLocationTracking:"full",skipValidations:!0,errorMessageProvider:new c1},ZM=class extends _x{static{o(this,"ChevrotainWrapper")}constructor(e,r){let n=r&&"maxLookahead"in r;super(e,Object.assign(Object.assign(Object.assign({},w$e),{lookaheadStrategy:n?new Uu({maxLookahead:r.maxLookahead}):new Nx({logging:r.skipValidations?()=>{}:void 0})}),r))}get IS_RECORDING(){return this.RECORDING_PHASE}DEFINE_RULE(e,r){return this.RULE(e,r)}wrapSelfAnalysis(){this.performSelfAnalysis()}wrapConsume(e,r){return this.consume(e,r)}wrapSubrule(e,r,n){return this.subrule(e,r,{ARGS:[n]})}wrapOr(e,r){this.or(e,r)}wrapOption(e,r){this.option(e,r)}wrapMany(e,r){this.many(e,r)}wrapAtLeastOne(e,r){this.atLeastOne(e,r)}}});function zx(t,e,r){return k$e({parser:e,tokens:r,ruleNames:new Map},t),e}function k$e(t,e){let r=ax(e,!1),n=Jr(e.rules).filter(Ia).filter(i=>r.has(i));for(let i of n){let a=Object.assign(Object.assign({},t),{consume:1,optional:1,subrule:1,many:1,or:1});t.parser.rule(i,wp(a,i.definition))}}function wp(t,e,r=!1){let n;if(qo(e))n=L$e(t,e);else if(Ou(e))n=E$e(t,e);else if(Il(e))n=wp(t,e.terminal);else if(sp(e))n=Hce(t,e);else if(Ol(e))n=S$e(t,e);else if(_k(e))n=A$e(t,e);else if(Lk(e))n=_$e(t,e);else if(lf(e))n=D$e(t,e);else if(xN(e)){let i=t.consume++;n=o(()=>t.parser.consume(i,uo,e),"method")}else throw new ip(e.$cstNode,`Unexpected element type: ${e.$type}`);return Wce(t,r?void 0:NE(e),n,e.cardinality)}function E$e(t,e){let r=lx(e);return()=>t.parser.action(r,e)}function S$e(t,e){let r=e.rule.ref;if(Ia(r)){let n=t.subrule++,i=r.fragment,a=e.arguments.length>0?C$e(r,e.arguments):()=>({});return s=>t.parser.subrule(n,qce(t,r),i,e,a(s))}else if(lo(r)){let n=t.consume++,i=JM(t,r.name);return()=>t.parser.consume(n,i,e)}else if(r)Mc(r);else throw new ip(e.$cstNode,`Undefined rule: ${e.rule.$refText}`)}function C$e(t,e){let r=e.map(n=>Hu(n.value));return n=>{let i={};for(let a=0;ae(n)||r(n)}else if(hN(t)){let e=Hu(t.left),r=Hu(t.right);return n=>e(n)&&r(n)}else if(dN(t)){let e=Hu(t.value);return r=>!e(r)}else if(pN(t)){let e=t.parameter.ref.name;return r=>r!==void 0&&r[e]===!0}else if(uN(t)){let e=!!t.true;return()=>e}Mc(t)}function A$e(t,e){if(e.elements.length===1)return wp(t,e.elements[0]);{let r=[];for(let i of e.elements){let a={ALT:wp(t,i,!0)},s=NE(i);s&&(a.GATE=Hu(s)),r.push(a)}let n=t.or++;return i=>t.parser.alternatives(n,r.map(a=>{let s={ALT:o(()=>a.ALT(i),"ALT")},l=a.GATE;return l&&(s.GATE=()=>l(i)),s}))}}function _$e(t,e){if(e.elements.length===1)return wp(t,e.elements[0]);let r=[];for(let l of e.elements){let u={ALT:wp(t,l,!0)},h=NE(l);h&&(u.GATE=Hu(h)),r.push(u)}let n=t.or++,i=o((l,u)=>{let h=u.getRuleStack().join("-");return`uGroup_${l}_${h}`},"idFunc"),a=o(l=>t.parser.alternatives(n,r.map((u,h)=>{let f={ALT:o(()=>!0,"ALT")},d=t.parser;f.ALT=()=>{if(u.ALT(l),!d.isRecording()){let m=i(n,d);d.unorderedGroups.get(m)||d.unorderedGroups.set(m,[]);let g=d.unorderedGroups.get(m);typeof g?.[h]>"u"&&(g[h]=!0)}};let p=u.GATE;return p?f.GATE=()=>p(l):f.GATE=()=>{let m=d.unorderedGroups.get(i(n,d));return!m?.[h]},f})),"alternatives"),s=Wce(t,NE(e),a,"*");return l=>{s(l),t.parser.isRecording()||t.parser.unorderedGroups.delete(i(n,t.parser))}}function D$e(t,e){let r=e.elements.map(n=>wp(t,n));return n=>r.forEach(i=>i(n))}function NE(t){if(lf(t))return t.guardCondition}function Hce(t,e,r=e.terminal){if(r)if(Ol(r)&&Ia(r.rule.ref)){let n=r.rule.ref,i=t.subrule++;return a=>t.parser.subrule(i,qce(t,n),!1,e,a)}else if(Ol(r)&&lo(r.rule.ref)){let n=t.consume++,i=JM(t,r.rule.ref.name);return()=>t.parser.consume(n,i,e)}else if(qo(r)){let n=t.consume++,i=JM(t,r.value);return()=>t.parser.consume(n,i,e)}else throw new Error("Could not build cross reference parser");else{if(!e.type.ref)throw new Error("Could not resolve reference to type: "+e.type.$refText);let n=Pk(e.type.ref),i=n?.terminal;if(!i)throw new Error("Could not find name assignment for type: "+lx(e.type.ref));return Hce(t,e,i)}}function L$e(t,e){let r=t.consume++,n=t.tokens[e.value];if(!n)throw new Error("Could not find token for keyword: "+e.value);return()=>t.parser.consume(r,n,e)}function Wce(t,e,r,n){let i=e&&Hu(e);if(!n)if(i){let a=t.or++;return s=>t.parser.alternatives(a,[{ALT:o(()=>r(s),"ALT"),GATE:o(()=>i(s),"GATE")},{ALT:TE(),GATE:o(()=>!i(s),"GATE")}])}else return r;if(n==="*"){let a=t.many++;return s=>t.parser.many(a,{DEF:o(()=>r(s),"DEF"),GATE:i?()=>i(s):void 0})}else if(n==="+"){let a=t.many++;if(i){let s=t.or++;return l=>t.parser.alternatives(s,[{ALT:o(()=>t.parser.atLeastOne(a,{DEF:o(()=>r(l),"DEF")}),"ALT"),GATE:o(()=>i(l),"GATE")},{ALT:TE(),GATE:o(()=>!i(l),"GATE")}])}else return s=>t.parser.atLeastOne(a,{DEF:o(()=>r(s),"DEF")})}else if(n==="?"){let a=t.optional++;return s=>t.parser.optional(a,{DEF:o(()=>r(s),"DEF"),GATE:i?()=>i(s):void 0})}else Mc(n)}function qce(t,e){let r=R$e(t,e),n=t.parser.getRule(r);if(!n)throw new Error(`Rule "${r}" not found."`);return n}function R$e(t,e){if(Ia(e))return e.name;if(t.ruleNames.has(e))return t.ruleNames.get(e);{let r=e,n=r.$container,i=e.$type;for(;!Ia(n);)(lf(n)||_k(n)||Lk(n))&&(i=n.elements.indexOf(r).toString()+":"+i),r=n,n=n.$container;return i=n.name+":"+i,t.ruleNames.set(e,i),i}}function JM(t,e){let r=t.tokens[e];if(!r)throw new Error(`Token "${e}" not found."`);return r}var ME=N(()=>{"use strict";hf();Ic();kk();$s();Pl();o(zx,"createParser");o(k$e,"buildRules");o(wp,"buildElement");o(E$e,"buildAction");o(S$e,"buildRuleCall");o(C$e,"buildRuleCallPredicate");o(Hu,"buildPredicate");o(A$e,"buildAlternatives");o(_$e,"buildUnorderedGroup");o(D$e,"buildGroup");o(NE,"getGuardCondition");o(Hce,"buildCrossReference");o(L$e,"buildKeyword");o(Wce,"wrap");o(qce,"getRule");o(R$e,"getRuleName");o(JM,"getToken")});function eI(t){let e=t.Grammar,r=t.parser.Lexer,n=new Fx(t);return zx(e,n,r.definition),n.finalize(),n}var tI=N(()=>{"use strict";$x();ME();o(eI,"createCompletionParser")});function rI(t){let e=Yce(t);return e.finalize(),e}function Yce(t){let e=t.Grammar,r=t.parser.Lexer,n=new Bx(t);return zx(e,n,r.definition)}var nI=N(()=>{"use strict";$x();ME();o(rI,"createLangiumParser");o(Yce,"prepareLangiumParser")});var Wu,IE=N(()=>{"use strict";hf();Ic();as();Pl();Mg();$s();Wu=class{static{o(this,"DefaultTokenBuilder")}constructor(){this.diagnostics=[]}buildTokens(e,r){let n=Jr(ax(e,!1)),i=this.buildTerminalTokens(n),a=this.buildKeywordTokens(n,i,r);return i.forEach(s=>{let l=s.PATTERN;typeof l=="object"&&l&&"test"in l&&Ng(l)?a.unshift(s):a.push(s)}),a}flushLexingReport(e){return{diagnostics:this.popDiagnostics()}}popDiagnostics(){let e=[...this.diagnostics];return this.diagnostics=[],e}buildTerminalTokens(e){return e.filter(lo).filter(r=>!r.fragment).map(r=>this.buildTerminalToken(r)).toArray()}buildTerminalToken(e){let r=Og(e),n=this.requiresCustomPattern(r)?this.regexPatternFunction(r):r,i={name:e.name,PATTERN:n};return typeof n=="function"&&(i.LINE_BREAKS=!0),e.hidden&&(i.GROUP=Ng(r)?Xn.SKIPPED:"hidden"),i}requiresCustomPattern(e){return e.flags.includes("u")||e.flags.includes("s")?!0:!!(e.source.includes("?<=")||e.source.includes("?(r.lastIndex=i,r.exec(n))}buildKeywordTokens(e,r,n){return e.filter(Ia).flatMap(i=>Oc(i).filter(qo)).distinct(i=>i.value).toArray().sort((i,a)=>a.value.length-i.value.length).map(i=>this.buildKeywordToken(i,r,!!n?.caseInsensitive))}buildKeywordToken(e,r,n){let i=this.buildKeywordPattern(e,n),a={name:e.value,PATTERN:i,LONGER_ALT:this.findLongerAlt(e,r)};return typeof i=="function"&&(a.LINE_BREAKS=!0),a}buildKeywordPattern(e,r){return r?new RegExp(ON(e.value)):e.value}findLongerAlt(e,r){return r.reduce((n,i)=>{let a=i?.PATTERN;return a?.source&&PN("^"+a.source+"$",e.value)&&n.push(i),n},[])}}});var kp,Fc,iI=N(()=>{"use strict";Ic();Pl();kp=class{static{o(this,"DefaultValueConverter")}convert(e,r){let n=r.grammarSource;if(sp(n)&&(n=$N(n)),Ol(n)){let i=n.rule.ref;if(!i)throw new Error("This cst node was not parsed by a rule.");return this.runConverter(i,e,r)}return e}runConverter(e,r,n){var i;switch(e.name.toUpperCase()){case"INT":return Fc.convertInt(r);case"STRING":return Fc.convertString(r);case"ID":return Fc.convertID(r)}switch((i=qN(e))===null||i===void 0?void 0:i.toLowerCase()){case"number":return Fc.convertNumber(r);case"boolean":return Fc.convertBoolean(r);case"bigint":return Fc.convertBigint(r);case"date":return Fc.convertDate(r);default:return r}}};(function(t){function e(h){let f="";for(let d=1;d{"use strict";Object.defineProperty(oI,"__esModule",{value:!0});var aI;function sI(){if(aI===void 0)throw new Error("No runtime abstraction layer installed");return aI}o(sI,"RAL");(function(t){function e(r){if(r===void 0)throw new Error("No runtime abstraction layer provided");aI=r}o(e,"install"),t.install=e})(sI||(sI={}));oI.default=sI});var Kce=Ii(Pa=>{"use strict";Object.defineProperty(Pa,"__esModule",{value:!0});Pa.stringArray=Pa.array=Pa.func=Pa.error=Pa.number=Pa.string=Pa.boolean=void 0;function N$e(t){return t===!0||t===!1}o(N$e,"boolean");Pa.boolean=N$e;function Xce(t){return typeof t=="string"||t instanceof String}o(Xce,"string");Pa.string=Xce;function M$e(t){return typeof t=="number"||t instanceof Number}o(M$e,"number");Pa.number=M$e;function I$e(t){return t instanceof Error}o(I$e,"error");Pa.error=I$e;function O$e(t){return typeof t=="function"}o(O$e,"func");Pa.func=O$e;function jce(t){return Array.isArray(t)}o(jce,"array");Pa.array=jce;function P$e(t){return jce(t)&&t.every(e=>Xce(e))}o(P$e,"stringArray");Pa.stringArray=P$e});var uI=Ii(u1=>{"use strict";Object.defineProperty(u1,"__esModule",{value:!0});u1.Emitter=u1.Event=void 0;var B$e=lI(),Qce;(function(t){let e={dispose(){}};t.None=function(){return e}})(Qce||(u1.Event=Qce={}));var cI=class{static{o(this,"CallbackList")}add(e,r=null,n){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(r),Array.isArray(n)&&n.push({dispose:o(()=>this.remove(e,r),"dispose")})}remove(e,r=null){if(!this._callbacks)return;let n=!1;for(let i=0,a=this._callbacks.length;i{this._callbacks||(this._callbacks=new cI),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,r);let i={dispose:o(()=>{this._callbacks&&(this._callbacks.remove(e,r),i.dispose=t._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))},"dispose")};return Array.isArray(n)&&n.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};u1.Emitter=OE;OE._noop=function(){}});var Zce=Ii(h1=>{"use strict";Object.defineProperty(h1,"__esModule",{value:!0});h1.CancellationTokenSource=h1.CancellationToken=void 0;var F$e=lI(),$$e=Kce(),hI=uI(),PE;(function(t){t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:hI.Event.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:hI.Event.None});function e(r){let n=r;return n&&(n===t.None||n===t.Cancelled||$$e.boolean(n.isCancellationRequested)&&!!n.onCancellationRequested)}o(e,"is"),t.is=e})(PE||(h1.CancellationToken=PE={}));var z$e=Object.freeze(function(t,e){let r=(0,F$e.default)().timer.setTimeout(t.bind(e),0);return{dispose(){r.dispose()}}}),BE=class{static{o(this,"MutableToken")}constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?z$e:(this._emitter||(this._emitter=new hI.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},fI=class{static{o(this,"CancellationTokenSource")}get token(){return this._token||(this._token=new BE),this._token}cancel(){this._token?this._token.cancel():this._token=PE.Cancelled}dispose(){this._token?this._token instanceof BE&&this._token.dispose():this._token=PE.None}};h1.CancellationTokenSource=fI});var vr={};var Xo=N(()=>{"use strict";Sr(vr,Sa(Zce(),1))});function dI(){return new Promise(t=>{typeof setImmediate>"u"?setTimeout(t,0):setImmediate(t)})}function $E(){return FE=performance.now(),new vr.CancellationTokenSource}function eue(t){Jce=t}function zc(t){return t===$c}async function Ti(t){if(t===vr.CancellationToken.None)return;let e=performance.now();if(e-FE>=Jce&&(FE=e,await dI(),FE=performance.now()),t.isCancellationRequested)throw $c}var FE,Jce,$c,us,jo=N(()=>{"use strict";Xo();o(dI,"delayNextTick");FE=0,Jce=10;o($E,"startCancelableOperation");o(eue,"setInterruptionPeriod");$c=Symbol("OperationCancelled");o(zc,"isOperationCancelled");o(Ti,"interruptAndCheck");us=class{static{o(this,"Deferred")}constructor(){this.promise=new Promise((e,r)=>{this.resolve=n=>(e(n),this),this.reject=n=>(r(n),this)})}}});function pI(t,e){if(t.length<=1)return t;let r=t.length/2|0,n=t.slice(0,r),i=t.slice(r);pI(n,e),pI(i,e);let a=0,s=0,l=0;for(;ar.line||e.line===r.line&&e.character>r.character?{start:r,end:e}:t}function G$e(t){let e=nue(t.range);return e!==t.range?{newText:t.newText,range:e}:t}var zE,f1,iue=N(()=>{"use strict";zE=class t{static{o(this,"FullTextDocument")}constructor(e,r,n,i){this._uri=e,this._languageId=r,this._version=n,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let r=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(r,n)}return this._content}update(e,r){for(let n of e)if(t.isIncremental(n)){let i=nue(n.range),a=this.offsetAt(i.start),s=this.offsetAt(i.end);this._content=this._content.substring(0,a)+n.text+this._content.substring(s,this._content.length);let l=Math.max(i.start.line,0),u=Math.max(i.end.line,0),h=this._lineOffsets,f=tue(n.text,!1,a);if(u-l===f.length)for(let p=0,m=f.length;pe?i=s:n=s+1}let a=n-1;return e=this.ensureBeforeEOL(e,r[a]),{line:a,character:e-r[a]}}offsetAt(e){let r=this.getLineOffsets();if(e.line>=r.length)return this._content.length;if(e.line<0)return 0;let n=r[e.line];if(e.character<=0)return n;let i=e.line+1r&&rue(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let r=e;return r!=null&&typeof r.text=="string"&&r.range!==void 0&&(r.rangeLength===void 0||typeof r.rangeLength=="number")}static isFull(e){let r=e;return r!=null&&typeof r.text=="string"&&r.range===void 0&&r.rangeLength===void 0}};(function(t){function e(i,a,s,l){return new zE(i,a,s,l)}o(e,"create"),t.create=e;function r(i,a,s){if(i instanceof zE)return i.update(a,s),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}o(r,"update"),t.update=r;function n(i,a){let s=i.getText(),l=pI(a.map(G$e),(f,d)=>{let p=f.range.start.line-d.range.start.line;return p===0?f.range.start.character-d.range.start.character:p}),u=0,h=[];for(let f of l){let d=i.offsetAt(f.range.start);if(du&&h.push(s.substring(u,d)),f.newText.length&&h.push(f.newText),u=i.offsetAt(f.range.end)}return h.push(s.substr(u)),h.join("")}o(n,"applyEdits"),t.applyEdits=n})(f1||(f1={}));o(pI,"mergeSort");o(tue,"computeLineOffsets");o(rue,"isEOL");o(nue,"getWellformedRange");o(G$e,"getWellformedEdit")});var aue,hs,d1,mI=N(()=>{"use strict";(()=>{"use strict";var t={470:i=>{function a(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}o(a,"e");function s(u,h){for(var f,d="",p=0,m=-1,g=0,y=0;y<=u.length;++y){if(y2){var v=d.lastIndexOf("/");if(v!==d.length-1){v===-1?(d="",p=0):p=(d=d.slice(0,v)).length-1-d.lastIndexOf("/"),m=y,g=0;continue}}else if(d.length===2||d.length===1){d="",p=0,m=y,g=0;continue}}h&&(d.length>0?d+="/..":d="..",p=2)}else d.length>0?d+="/"+u.slice(m+1,y):d=u.slice(m+1,y),p=y-m-1;m=y,g=0}else f===46&&g!==-1?++g:g=-1}return d}o(s,"r");var l={resolve:o(function(){for(var u,h="",f=!1,d=arguments.length-1;d>=-1&&!f;d--){var p;d>=0?p=arguments[d]:(u===void 0&&(u=process.cwd()),p=u),a(p),p.length!==0&&(h=p+"/"+h,f=p.charCodeAt(0)===47)}return h=s(h,!f),f?h.length>0?"/"+h:"/":h.length>0?h:"."},"resolve"),normalize:o(function(u){if(a(u),u.length===0)return".";var h=u.charCodeAt(0)===47,f=u.charCodeAt(u.length-1)===47;return(u=s(u,!h)).length!==0||h||(u="."),u.length>0&&f&&(u+="/"),h?"/"+u:u},"normalize"),isAbsolute:o(function(u){return a(u),u.length>0&&u.charCodeAt(0)===47},"isAbsolute"),join:o(function(){if(arguments.length===0)return".";for(var u,h=0;h0&&(u===void 0?u=f:u+="/"+f)}return u===void 0?".":l.normalize(u)},"join"),relative:o(function(u,h){if(a(u),a(h),u===h||(u=l.resolve(u))===(h=l.resolve(h)))return"";for(var f=1;fy){if(h.charCodeAt(m+x)===47)return h.slice(m+x+1);if(x===0)return h.slice(m+x)}else p>y&&(u.charCodeAt(f+x)===47?v=x:x===0&&(v=0));break}var b=u.charCodeAt(f+x);if(b!==h.charCodeAt(m+x))break;b===47&&(v=x)}var T="";for(x=f+v+1;x<=d;++x)x!==d&&u.charCodeAt(x)!==47||(T.length===0?T+="..":T+="/..");return T.length>0?T+h.slice(m+v):(m+=v,h.charCodeAt(m)===47&&++m,h.slice(m))},"relative"),_makeLong:o(function(u){return u},"_makeLong"),dirname:o(function(u){if(a(u),u.length===0)return".";for(var h=u.charCodeAt(0),f=h===47,d=-1,p=!0,m=u.length-1;m>=1;--m)if((h=u.charCodeAt(m))===47){if(!p){d=m;break}}else p=!1;return d===-1?f?"/":".":f&&d===1?"//":u.slice(0,d)},"dirname"),basename:o(function(u,h){if(h!==void 0&&typeof h!="string")throw new TypeError('"ext" argument must be a string');a(u);var f,d=0,p=-1,m=!0;if(h!==void 0&&h.length>0&&h.length<=u.length){if(h.length===u.length&&h===u)return"";var g=h.length-1,y=-1;for(f=u.length-1;f>=0;--f){var v=u.charCodeAt(f);if(v===47){if(!m){d=f+1;break}}else y===-1&&(m=!1,y=f+1),g>=0&&(v===h.charCodeAt(g)?--g==-1&&(p=f):(g=-1,p=y))}return d===p?p=y:p===-1&&(p=u.length),u.slice(d,p)}for(f=u.length-1;f>=0;--f)if(u.charCodeAt(f)===47){if(!m){d=f+1;break}}else p===-1&&(m=!1,p=f+1);return p===-1?"":u.slice(d,p)},"basename"),extname:o(function(u){a(u);for(var h=-1,f=0,d=-1,p=!0,m=0,g=u.length-1;g>=0;--g){var y=u.charCodeAt(g);if(y!==47)d===-1&&(p=!1,d=g+1),y===46?h===-1?h=g:m!==1&&(m=1):h!==-1&&(m=-1);else if(!p){f=g+1;break}}return h===-1||d===-1||m===0||m===1&&h===d-1&&h===f+1?"":u.slice(h,d)},"extname"),format:o(function(u){if(u===null||typeof u!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof u);return function(h,f){var d=f.dir||f.root,p=f.base||(f.name||"")+(f.ext||"");return d?d===f.root?d+p:d+"/"+p:p}(0,u)},"format"),parse:o(function(u){a(u);var h={root:"",dir:"",base:"",ext:"",name:""};if(u.length===0)return h;var f,d=u.charCodeAt(0),p=d===47;p?(h.root="/",f=1):f=0;for(var m=-1,g=0,y=-1,v=!0,x=u.length-1,b=0;x>=f;--x)if((d=u.charCodeAt(x))!==47)y===-1&&(v=!1,y=x+1),d===46?m===-1?m=x:b!==1&&(b=1):m!==-1&&(b=-1);else if(!v){g=x+1;break}return m===-1||y===-1||b===0||b===1&&m===y-1&&m===g+1?y!==-1&&(h.base=h.name=g===0&&p?u.slice(1,y):u.slice(g,y)):(g===0&&p?(h.name=u.slice(1,m),h.base=u.slice(1,y)):(h.name=u.slice(g,m),h.base=u.slice(g,y)),h.ext=u.slice(m,y)),g>0?h.dir=u.slice(0,g-1):p&&(h.dir="/"),h},"parse"),sep:"/",delimiter:":",win32:null,posix:null};l.posix=l,i.exports=l}},e={};function r(i){var a=e[i];if(a!==void 0)return a.exports;var s=e[i]={exports:{}};return t[i](s,s.exports,r),s.exports}o(r,"r"),r.d=(i,a)=>{for(var s in a)r.o(a,s)&&!r.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:a[s]})},r.o=(i,a)=>Object.prototype.hasOwnProperty.call(i,a),r.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var n={};(()=>{let i;r.r(n),r.d(n,{URI:o(()=>p,"URI"),Utils:o(()=>O,"Utils")}),typeof process=="object"?i=process.platform==="win32":typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);let a=/^\w[\w\d+.-]*$/,s=/^\//,l=/^\/\//;function u(R,k){if(!R.scheme&&k)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${R.authority}", path: "${R.path}", query: "${R.query}", fragment: "${R.fragment}"}`);if(R.scheme&&!a.test(R.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(R.path){if(R.authority){if(!s.test(R.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(R.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}o(u,"s");let h="",f="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class p{static{o(this,"f")}static isUri(k){return k instanceof p||!!k&&typeof k.authority=="string"&&typeof k.fragment=="string"&&typeof k.path=="string"&&typeof k.query=="string"&&typeof k.scheme=="string"&&typeof k.fsPath=="string"&&typeof k.with=="function"&&typeof k.toString=="function"}scheme;authority;path;query;fragment;constructor(k,L,S,I,M,P=!1){typeof k=="object"?(this.scheme=k.scheme||h,this.authority=k.authority||h,this.path=k.path||h,this.query=k.query||h,this.fragment=k.fragment||h):(this.scheme=function(B,F){return B||F?B:"file"}(k,P),this.authority=L||h,this.path=function(B,F){switch(B){case"https":case"http":case"file":F?F[0]!==f&&(F=f+F):F=f}return F}(this.scheme,S||h),this.query=I||h,this.fragment=M||h,u(this,P))}get fsPath(){return b(this,!1)}with(k){if(!k)return this;let{scheme:L,authority:S,path:I,query:M,fragment:P}=k;return L===void 0?L=this.scheme:L===null&&(L=h),S===void 0?S=this.authority:S===null&&(S=h),I===void 0?I=this.path:I===null&&(I=h),M===void 0?M=this.query:M===null&&(M=h),P===void 0?P=this.fragment:P===null&&(P=h),L===this.scheme&&S===this.authority&&I===this.path&&M===this.query&&P===this.fragment?this:new g(L,S,I,M,P)}static parse(k,L=!1){let S=d.exec(k);return S?new g(S[2]||h,E(S[4]||h),E(S[5]||h),E(S[7]||h),E(S[9]||h),L):new g(h,h,h,h,h)}static file(k){let L=h;if(i&&(k=k.replace(/\\/g,f)),k[0]===f&&k[1]===f){let S=k.indexOf(f,2);S===-1?(L=k.substring(2),k=f):(L=k.substring(2,S),k=k.substring(S)||f)}return new g("file",L,k,h,h)}static from(k){let L=new g(k.scheme,k.authority,k.path,k.query,k.fragment);return u(L,!0),L}toString(k=!1){return T(this,k)}toJSON(){return this}static revive(k){if(k){if(k instanceof p)return k;{let L=new g(k);return L._formatted=k.external,L._fsPath=k._sep===m?k.fsPath:null,L}}return k}}let m=i?1:void 0;class g extends p{static{o(this,"l")}_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath}toString(k=!1){return k?T(this,!0):(this._formatted||(this._formatted=T(this,!1)),this._formatted)}toJSON(){let k={$mid:1};return this._fsPath&&(k.fsPath=this._fsPath,k._sep=m),this._formatted&&(k.external=this._formatted),this.path&&(k.path=this.path),this.scheme&&(k.scheme=this.scheme),this.authority&&(k.authority=this.authority),this.query&&(k.query=this.query),this.fragment&&(k.fragment=this.fragment),k}}let y={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function v(R,k,L){let S,I=-1;for(let M=0;M=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===45||P===46||P===95||P===126||k&&P===47||L&&P===91||L&&P===93||L&&P===58)I!==-1&&(S+=encodeURIComponent(R.substring(I,M)),I=-1),S!==void 0&&(S+=R.charAt(M));else{S===void 0&&(S=R.substr(0,M));let B=y[P];B!==void 0?(I!==-1&&(S+=encodeURIComponent(R.substring(I,M)),I=-1),S+=B):I===-1&&(I=M)}}return I!==-1&&(S+=encodeURIComponent(R.substring(I))),S!==void 0?S:R}o(v,"d");function x(R){let k;for(let L=0;L1&&R.scheme==="file"?`//${R.authority}${R.path}`:R.path.charCodeAt(0)===47&&(R.path.charCodeAt(1)>=65&&R.path.charCodeAt(1)<=90||R.path.charCodeAt(1)>=97&&R.path.charCodeAt(1)<=122)&&R.path.charCodeAt(2)===58?k?R.path.substr(1):R.path[1].toLowerCase()+R.path.substr(2):R.path,i&&(L=L.replace(/\//g,"\\")),L}o(b,"m");function T(R,k){let L=k?x:v,S="",{scheme:I,authority:M,path:P,query:B,fragment:F}=R;if(I&&(S+=I,S+=":"),(M||I==="file")&&(S+=f,S+=f),M){let z=M.indexOf("@");if(z!==-1){let $=M.substr(0,z);M=M.substr(z+1),z=$.lastIndexOf(":"),z===-1?S+=L($,!1,!1):(S+=L($.substr(0,z),!1,!1),S+=":",S+=L($.substr(z+1),!1,!0)),S+="@"}M=M.toLowerCase(),z=M.lastIndexOf(":"),z===-1?S+=L(M,!1,!0):(S+=L(M.substr(0,z),!1,!0),S+=M.substr(z))}if(P){if(P.length>=3&&P.charCodeAt(0)===47&&P.charCodeAt(2)===58){let z=P.charCodeAt(1);z>=65&&z<=90&&(P=`/${String.fromCharCode(z+32)}:${P.substr(3)}`)}else if(P.length>=2&&P.charCodeAt(1)===58){let z=P.charCodeAt(0);z>=65&&z<=90&&(P=`${String.fromCharCode(z+32)}:${P.substr(2)}`)}S+=L(P,!0,!1)}return B&&(S+="?",S+=L(B,!1,!1)),F&&(S+="#",S+=k?F:v(F,!1,!1)),S}o(T,"y");function C(R){try{return decodeURIComponent(R)}catch{return R.length>3?R.substr(0,3)+C(R.substr(3)):R}}o(C,"v");let w=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function E(R){return R.match(w)?R.replace(w,k=>C(k)):R}o(E,"C");var _=r(470);let A=_.posix||_,D="/";var O;(function(R){R.joinPath=function(k,...L){return k.with({path:A.join(k.path,...L)})},R.resolvePath=function(k,...L){let S=k.path,I=!1;S[0]!==D&&(S=D+S,I=!0);let M=A.resolve(S,...L);return I&&M[0]===D&&!k.authority&&(M=M.substring(1)),k.with({path:M})},R.dirname=function(k){if(k.path.length===0||k.path===D)return k;let L=A.dirname(k.path);return L.length===1&&L.charCodeAt(0)===46&&(L=""),k.with({path:L})},R.basename=function(k){return A.basename(k.path)},R.extname=function(k){return A.extname(k.path)}})(O||(O={}))})(),aue=n})();({URI:hs,Utils:d1}=aue)});var fs,Gc=N(()=>{"use strict";mI();(function(t){t.basename=d1.basename,t.dirname=d1.dirname,t.extname=d1.extname,t.joinPath=d1.joinPath,t.resolvePath=d1.resolvePath;function e(i,a){return i?.toString()===a?.toString()}o(e,"equals"),t.equals=e;function r(i,a){let s=typeof i=="string"?i:i.path,l=typeof a=="string"?a:a.path,u=s.split("/").filter(m=>m.length>0),h=l.split("/").filter(m=>m.length>0),f=0;for(;f{"use strict";iue();p1();Xo();$s();Gc();(function(t){t[t.Changed=0]="Changed",t[t.Parsed=1]="Parsed",t[t.IndexedContent=2]="IndexedContent",t[t.ComputedScopes=3]="ComputedScopes",t[t.Linked=4]="Linked",t[t.IndexedReferences=5]="IndexedReferences",t[t.Validated=6]="Validated"})(wn||(wn={}));Gx=class{static{o(this,"DefaultLangiumDocumentFactory")}constructor(e){this.serviceRegistry=e.ServiceRegistry,this.textDocuments=e.workspace.TextDocuments,this.fileSystemProvider=e.workspace.FileSystemProvider}async fromUri(e,r=vr.CancellationToken.None){let n=await this.fileSystemProvider.readFile(e);return this.createAsync(e,n,r)}fromTextDocument(e,r,n){return r=r??hs.parse(e.uri),vr.CancellationToken.is(n)?this.createAsync(r,e,n):this.create(r,e,n)}fromString(e,r,n){return vr.CancellationToken.is(n)?this.createAsync(r,e,n):this.create(r,e,n)}fromModel(e,r){return this.create(r,{$model:e})}create(e,r,n){if(typeof r=="string"){let i=this.parse(e,r,n);return this.createLangiumDocument(i,e,void 0,r)}else if("$model"in r){let i={value:r.$model,parserErrors:[],lexerErrors:[]};return this.createLangiumDocument(i,e)}else{let i=this.parse(e,r.getText(),n);return this.createLangiumDocument(i,e,r)}}async createAsync(e,r,n){if(typeof r=="string"){let i=await this.parseAsync(e,r,n);return this.createLangiumDocument(i,e,void 0,r)}else{let i=await this.parseAsync(e,r.getText(),n);return this.createLangiumDocument(i,e,r)}}createLangiumDocument(e,r,n,i){let a;if(n)a={parseResult:e,uri:r,state:wn.Parsed,references:[],textDocument:n};else{let s=this.createTextDocumentGetter(r,i);a={parseResult:e,uri:r,state:wn.Parsed,references:[],get textDocument(){return s()}}}return e.value.$document=a,a}async update(e,r){var n,i;let a=(n=e.parseResult.value.$cstNode)===null||n===void 0?void 0:n.root.fullText,s=(i=this.textDocuments)===null||i===void 0?void 0:i.get(e.uri.toString()),l=s?s.getText():await this.fileSystemProvider.readFile(e.uri);if(s)Object.defineProperty(e,"textDocument",{value:s});else{let u=this.createTextDocumentGetter(e.uri,l);Object.defineProperty(e,"textDocument",{get:u})}return a!==l&&(e.parseResult=await this.parseAsync(e.uri,l,r),e.parseResult.value.$document=e),e.state=wn.Parsed,e}parse(e,r,n){return this.serviceRegistry.getServices(e).parser.LangiumParser.parse(r,n)}parseAsync(e,r,n){return this.serviceRegistry.getServices(e).parser.AsyncParser.parse(r,n)}createTextDocumentGetter(e,r){let n=this.serviceRegistry,i;return()=>i??(i=f1.create(e.toString(),n.getServices(e).LanguageMetaData.languageId,0,r??""))}},Vx=class{static{o(this,"DefaultLangiumDocuments")}constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.serviceRegistry=e.ServiceRegistry}get all(){return Jr(this.documentMap.values())}addDocument(e){let r=e.uri.toString();if(this.documentMap.has(r))throw new Error(`A document with the URI '${r}' is already present.`);this.documentMap.set(r,e)}getDocument(e){let r=e.toString();return this.documentMap.get(r)}async getOrCreateDocument(e,r){let n=this.getDocument(e);return n||(n=await this.langiumDocumentFactory.fromUri(e,r),this.addDocument(n),n)}createDocument(e,r,n){if(n)return this.langiumDocumentFactory.fromString(r,e,n).then(i=>(this.addDocument(i),i));{let i=this.langiumDocumentFactory.fromString(r,e);return this.addDocument(i),i}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){let r=e.toString(),n=this.documentMap.get(r);return n&&(this.serviceRegistry.getServices(e).references.Linker.unlink(n),n.state=wn.Changed,n.precomputedScopes=void 0,n.diagnostics=void 0),n}deleteDocument(e){let r=e.toString(),n=this.documentMap.get(r);return n&&(n.state=wn.Changed,this.documentMap.delete(r)),n}}});var gI,Ux,yI=N(()=>{"use strict";Xo();Nl();as();jo();p1();gI=Symbol("ref_resolving"),Ux=class{static{o(this,"DefaultLinker")}constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,r=vr.CancellationToken.None){for(let n of Yo(e.parseResult.value))await Ti(r),Lg(n).forEach(i=>this.doLink(i,e))}doLink(e,r){var n;let i=e.reference;if(i._ref===void 0){i._ref=gI;try{let a=this.getCandidate(e);if(tp(a))i._ref=a;else if(i._nodeDescription=a,this.langiumDocuments().hasDocument(a.documentUri)){let s=this.loadAstNode(a);i._ref=s??this.createLinkingError(e,a)}else i._ref=void 0}catch(a){console.error(`An error occurred while resolving reference to '${i.$refText}':`,a);let s=(n=a.message)!==null&&n!==void 0?n:String(a);i._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${i.$refText}': ${s}`})}r.references.push(i)}}unlink(e){for(let r of e.references)delete r._ref,delete r._nodeDescription;e.references=[]}getCandidate(e){let n=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return n??this.createLinkingError(e)}buildReference(e,r,n,i){let a=this,s={$refNode:n,$refText:i,get ref(){var l;if(si(this._ref))return this._ref;if(nN(this._nodeDescription)){let u=a.loadAstNode(this._nodeDescription);this._ref=u??a.createLinkingError({reference:s,container:e,property:r},this._nodeDescription)}else if(this._ref===void 0){this._ref=gI;let u=J2(e).$document,h=a.getLinkedNode({reference:s,container:e,property:r});if(h.error&&u&&u.state{"use strict";Pl();o(sue,"isNamed");Hx=class{static{o(this,"DefaultNameProvider")}getName(e){if(sue(e))return e.name}getNameNode(e){return sx(e.$cstNode,"name")}}});var Wx,xI=N(()=>{"use strict";Pl();Nl();as();Ml();$s();Gc();Wx=class{static{o(this,"DefaultReferences")}constructor(e){this.nameProvider=e.references.NameProvider,this.index=e.shared.workspace.IndexManager,this.nodeLocator=e.workspace.AstNodeLocator}findDeclaration(e){if(e){let r=WN(e),n=e.astNode;if(r&&n){let i=n[r.feature];if(ma(i))return i.ref;if(Array.isArray(i)){for(let a of i)if(ma(a)&&a.$refNode&&a.$refNode.offset<=e.offset&&a.$refNode.end>=e.end)return a.ref}}if(n){let i=this.nameProvider.getNameNode(n);if(i&&(i===e||aN(e,i)))return n}}}findDeclarationNode(e){let r=this.findDeclaration(e);if(r?.$cstNode){let n=this.nameProvider.getNameNode(r);return n??r.$cstNode}}findReferences(e,r){let n=[];if(r.includeDeclaration){let a=this.getReferenceToSelf(e);a&&n.push(a)}let i=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return r.documentUri&&(i=i.filter(a=>fs.equals(a.sourceUri,r.documentUri))),n.push(...i),Jr(n)}getReferenceToSelf(e){let r=this.nameProvider.getNameNode(e);if(r){let n=Oa(e),i=this.nodeLocator.getAstNodePath(e);return{sourceUri:n.uri,sourcePath:i,targetUri:n.uri,targetPath:i,segment:np(r),local:!0}}}}});var Fl,Ep,m1=N(()=>{"use strict";$s();Fl=class{static{o(this,"MultiMap")}constructor(e){if(this.map=new Map,e)for(let[r,n]of e)this.add(r,n)}get size(){return Um.sum(Jr(this.map.values()).map(e=>e.length))}clear(){this.map.clear()}delete(e,r){if(r===void 0)return this.map.delete(e);{let n=this.map.get(e);if(n){let i=n.indexOf(r);if(i>=0)return n.length===1?this.map.delete(e):n.splice(i,1),!0}return!1}}get(e){var r;return(r=this.map.get(e))!==null&&r!==void 0?r:[]}has(e,r){if(r===void 0)return this.map.has(e);{let n=this.map.get(e);return n?n.indexOf(r)>=0:!1}}add(e,r){return this.map.has(e)?this.map.get(e).push(r):this.map.set(e,[r]),this}addAll(e,r){return this.map.has(e)?this.map.get(e).push(...r):this.map.set(e,Array.from(r)),this}forEach(e){this.map.forEach((r,n)=>r.forEach(i=>e(i,n,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return Jr(this.map.entries()).flatMap(([e,r])=>r.map(n=>[e,n]))}keys(){return Jr(this.map.keys())}values(){return Jr(this.map.values()).flat()}entriesGroupedByKey(){return Jr(this.map.entries())}},Ep=class{static{o(this,"BiMap")}get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(let[r,n]of e)this.set(r,n)}clear(){this.map.clear(),this.inverse.clear()}set(e,r){return this.map.set(e,r),this.inverse.set(r,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){let r=this.map.get(e);return r!==void 0?(this.map.delete(e),this.inverse.delete(r),!0):!1}}});var qx,bI=N(()=>{"use strict";Xo();as();m1();jo();qx=class{static{o(this,"DefaultScopeComputation")}constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,r=vr.CancellationToken.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,r)}async computeExportsForNode(e,r,n=ex,i=vr.CancellationToken.None){let a=[];this.exportNode(e,a,r);for(let s of n(e))await Ti(i),this.exportNode(s,a,r);return a}exportNode(e,r,n){let i=this.nameProvider.getName(e);i&&r.push(this.descriptions.createDescription(e,i,n))}async computeLocalScopes(e,r=vr.CancellationToken.None){let n=e.parseResult.value,i=new Fl;for(let a of Oc(n))await Ti(r),this.processNode(a,e,i);return i}processNode(e,r,n){let i=e.$container;if(i){let a=this.nameProvider.getName(e);a&&n.add(i,this.descriptions.createDescription(e,a,r))}}}});var g1,Yx,V$e,TI=N(()=>{"use strict";$s();g1=class{static{o(this,"StreamScope")}constructor(e,r,n){var i;this.elements=e,this.outerScope=r,this.caseInsensitive=(i=n?.caseInsensitive)!==null&&i!==void 0?i:!1}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){let r=this.caseInsensitive?this.elements.find(n=>n.name.toLowerCase()===e.toLowerCase()):this.elements.find(n=>n.name===e);if(r)return r;if(this.outerScope)return this.outerScope.getElement(e)}},Yx=class{static{o(this,"MapScope")}constructor(e,r,n){var i;this.elements=new Map,this.caseInsensitive=(i=n?.caseInsensitive)!==null&&i!==void 0?i:!1;for(let a of e){let s=this.caseInsensitive?a.name.toLowerCase():a.name;this.elements.set(s,a)}this.outerScope=r}getElement(e){let r=this.caseInsensitive?e.toLowerCase():e,n=this.elements.get(r);if(n)return n;if(this.outerScope)return this.outerScope.getElement(e)}getAllElements(){let e=Jr(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}},V$e={getElement(){},getAllElements(){return U2}}});var y1,Xx,Sp,GE,v1,VE=N(()=>{"use strict";y1=class{static{o(this,"DisposableCache")}constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(e=>e.dispose())}throwIfDisposed(){if(this.isDisposed)throw new Error("This cache has already been disposed")}},Xx=class extends y1{static{o(this,"SimpleCache")}constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,r){this.throwIfDisposed(),this.cache.set(e,r)}get(e,r){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(r){let n=r();return this.cache.set(e,n),n}else return}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}},Sp=class extends y1{static{o(this,"ContextCache")}constructor(e){super(),this.cache=new Map,this.converter=e??(r=>r)}has(e,r){return this.throwIfDisposed(),this.cacheForContext(e).has(r)}set(e,r,n){this.throwIfDisposed(),this.cacheForContext(e).set(r,n)}get(e,r,n){this.throwIfDisposed();let i=this.cacheForContext(e);if(i.has(r))return i.get(r);if(n){let a=n();return i.set(r,a),a}else return}delete(e,r){return this.throwIfDisposed(),this.cacheForContext(e).delete(r)}clear(e){if(this.throwIfDisposed(),e){let r=this.converter(e);this.cache.delete(r)}else this.cache.clear()}cacheForContext(e){let r=this.converter(e),n=this.cache.get(r);return n||(n=new Map,this.cache.set(r,n)),n}},GE=class extends Sp{static{o(this,"DocumentCache")}constructor(e,r){super(n=>n.toString()),r?(this.toDispose.push(e.workspace.DocumentBuilder.onDocumentPhase(r,n=>{this.clear(n.uri.toString())})),this.toDispose.push(e.workspace.DocumentBuilder.onUpdate((n,i)=>{for(let a of i)this.clear(a)}))):this.toDispose.push(e.workspace.DocumentBuilder.onUpdate((n,i)=>{let a=n.concat(i);for(let s of a)this.clear(s)}))}},v1=class extends Xx{static{o(this,"WorkspaceCache")}constructor(e,r){super(),r?(this.toDispose.push(e.workspace.DocumentBuilder.onBuildPhase(r,()=>{this.clear()})),this.toDispose.push(e.workspace.DocumentBuilder.onUpdate((n,i)=>{i.length>0&&this.clear()}))):this.toDispose.push(e.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}}});var jx,wI=N(()=>{"use strict";TI();as();$s();VE();jx=class{static{o(this,"DefaultScopeProvider")}constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new v1(e.shared)}getScope(e){let r=[],n=this.reflection.getReferenceType(e),i=Oa(e.container).precomputedScopes;if(i){let s=e.container;do{let l=i.get(s);l.length>0&&r.push(Jr(l).filter(u=>this.reflection.isSubtype(u.type,n))),s=s.$container}while(s)}let a=this.getGlobalScope(n,e);for(let s=r.length-1;s>=0;s--)a=this.createScope(r[s],a);return a}createScope(e,r,n){return new g1(Jr(e),r,n)}createScopeForNodes(e,r,n){let i=Jr(e).map(a=>{let s=this.nameProvider.getName(a);if(s)return this.descriptions.createDescription(a,s)}).nonNullable();return new g1(i,r,n)}getGlobalScope(e,r){return this.globalScopeCache.get(e,()=>new Yx(this.indexManager.allElements(e)))}}});function kI(t){return typeof t.$comment=="string"}function oue(t){return typeof t=="object"&&!!t&&("$ref"in t||"$error"in t)}var Kx,UE=N(()=>{"use strict";mI();Nl();as();Pl();o(kI,"isAstNodeWithComment");o(oue,"isIntermediateReference");Kx=class{static{o(this,"DefaultJsonSerializer")}constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,r){let n=r??{},i=r?.replacer,a=o((l,u)=>this.replacer(l,u,n),"defaultReplacer"),s=i?(l,u)=>i(l,u,a):a;try{return this.currentDocument=Oa(e),JSON.stringify(e,s,r?.space)}finally{this.currentDocument=void 0}}deserialize(e,r){let n=r??{},i=JSON.parse(e);return this.linkNode(i,i,n),i}replacer(e,r,{refText:n,sourceText:i,textRegions:a,comments:s,uriConverter:l}){var u,h,f,d;if(!this.ignoreProperties.has(e))if(ma(r)){let p=r.ref,m=n?r.$refText:void 0;if(p){let g=Oa(p),y="";this.currentDocument&&this.currentDocument!==g&&(l?y=l(g.uri,r):y=g.uri.toString());let v=this.astNodeLocator.getAstNodePath(p);return{$ref:`${y}#${v}`,$refText:m}}else return{$error:(h=(u=r.error)===null||u===void 0?void 0:u.message)!==null&&h!==void 0?h:"Could not resolve reference",$refText:m}}else if(si(r)){let p;if(a&&(p=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},r)),(!e||r.$document)&&p?.$textRegion&&(p.$textRegion.documentURI=(f=this.currentDocument)===null||f===void 0?void 0:f.uri.toString())),i&&!e&&(p??(p=Object.assign({},r)),p.$sourceText=(d=r.$cstNode)===null||d===void 0?void 0:d.text),s){p??(p=Object.assign({},r));let m=this.commentProvider.getComment(r);m&&(p.$comment=m.replace(/\r/g,""))}return p??r}else return r}addAstNodeRegionWithAssignmentsTo(e){let r=o(n=>({offset:n.offset,end:n.end,length:n.length,range:n.range}),"createDocumentSegment");if(e.$cstNode){let n=e.$textRegion=r(e.$cstNode),i=n.assignments={};return Object.keys(e).filter(a=>!a.startsWith("$")).forEach(a=>{let s=GN(e.$cstNode,a).map(r);s.length!==0&&(i[a]=s)}),e}}linkNode(e,r,n,i,a,s){for(let[u,h]of Object.entries(e))if(Array.isArray(h))for(let f=0;f{"use strict";Gc();Qx=class{static{o(this,"DefaultServiceRegistry")}get map(){return this.fileExtensionMap}constructor(e){this.languageIdMap=new Map,this.fileExtensionMap=new Map,this.textDocuments=e?.workspace.TextDocuments}register(e){let r=e.LanguageMetaData;for(let n of r.fileExtensions)this.fileExtensionMap.has(n)&&console.warn(`The file extension ${n} is used by multiple languages. It is now assigned to '${r.languageId}'.`),this.fileExtensionMap.set(n,e);this.languageIdMap.set(r.languageId,e),this.languageIdMap.size===1?this.singleton=e:this.singleton=void 0}getServices(e){var r,n;if(this.singleton!==void 0)return this.singleton;if(this.languageIdMap.size===0)throw new Error("The service registry is empty. Use `register` to register the services of a language.");let i=(n=(r=this.textDocuments)===null||r===void 0?void 0:r.get(e))===null||n===void 0?void 0:n.languageId;if(i!==void 0){let l=this.languageIdMap.get(i);if(l)return l}let a=fs.extname(e),s=this.fileExtensionMap.get(a);if(!s)throw i?new Error(`The service registry contains no services for the extension '${a}' for language '${i}'.`):new Error(`The service registry contains no services for the extension '${a}'.`);return s}hasServices(e){try{return this.getServices(e),!0}catch{return!1}}get all(){return Array.from(this.languageIdMap.values())}}});function Cp(t){return{code:t}}var x1,Zx,Jx=N(()=>{"use strict";ho();m1();jo();$s();o(Cp,"diagnosticData");(function(t){t.all=["fast","slow","built-in"]})(x1||(x1={}));Zx=class{static{o(this,"ValidationRegistry")}constructor(e){this.entries=new Fl,this.entriesBefore=[],this.entriesAfter=[],this.reflection=e.shared.AstReflection}register(e,r=this,n="fast"){if(n==="built-in")throw new Error("The 'built-in' category is reserved for lexer, parser, and linker errors.");for(let[i,a]of Object.entries(e)){let s=a;if(Array.isArray(s))for(let l of s){let u={check:this.wrapValidationException(l,r),category:n};this.addEntry(i,u)}else if(typeof s=="function"){let l={check:this.wrapValidationException(s,r),category:n};this.addEntry(i,l)}else Mc(s)}}wrapValidationException(e,r){return async(n,i,a)=>{await this.handleException(()=>e.call(r,n,i,a),"An error occurred during validation",i,n)}}async handleException(e,r,n,i){try{await e()}catch(a){if(zc(a))throw a;console.error(`${r}:`,a),a instanceof Error&&a.stack&&console.error(a.stack);let s=a instanceof Error?a.message:String(a);n("error",`${r}: ${s}`,{node:i})}}addEntry(e,r){if(e==="AstNode"){this.entries.add("AstNode",r);return}for(let n of this.reflection.getAllSubTypes(e))this.entries.add(n,r)}getChecks(e,r){let n=Jr(this.entries.get(e)).concat(this.entries.get("AstNode"));return r&&(n=n.filter(i=>r.includes(i.category))),n.map(i=>i.check)}registerBeforeDocument(e,r=this){this.entriesBefore.push(this.wrapPreparationException(e,"An error occurred during set-up of the validation",r))}registerAfterDocument(e,r=this){this.entriesAfter.push(this.wrapPreparationException(e,"An error occurred during tear-down of the validation",r))}wrapPreparationException(e,r,n){return async(i,a,s,l)=>{await this.handleException(()=>e.call(n,i,a,s,l),r,a,i)}}get checksBefore(){return this.entriesBefore}get checksAfter(){return this.entriesAfter}}});function lue(t){if(t.range)return t.range;let e;return typeof t.property=="string"?e=sx(t.node.$cstNode,t.property,t.index):typeof t.keyword=="string"&&(e=UN(t.node.$cstNode,t.keyword,t.index)),e??(e=t.node.$cstNode),e?e.range:{start:{line:0,character:0},end:{line:0,character:0}}}function HE(t){switch(t){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw new Error("Invalid diagnostic severity: "+t)}}function cue(t){switch(t){case"error":return Cp(Ko.LexingError);case"warning":return Cp(Ko.LexingWarning);case"info":return Cp(Ko.LexingInfo);case"hint":return Cp(Ko.LexingHint);default:throw new Error("Invalid diagnostic severity: "+t)}}var eb,Ko,SI=N(()=>{"use strict";Xo();Pl();as();Ml();jo();Jx();eb=class{static{o(this,"DefaultDocumentValidator")}constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,r={},n=vr.CancellationToken.None){let i=e.parseResult,a=[];if(await Ti(n),(!r.categories||r.categories.includes("built-in"))&&(this.processLexingErrors(i,a,r),r.stopAfterLexingErrors&&a.some(s=>{var l;return((l=s.data)===null||l===void 0?void 0:l.code)===Ko.LexingError})||(this.processParsingErrors(i,a,r),r.stopAfterParsingErrors&&a.some(s=>{var l;return((l=s.data)===null||l===void 0?void 0:l.code)===Ko.ParsingError}))||(this.processLinkingErrors(e,a,r),r.stopAfterLinkingErrors&&a.some(s=>{var l;return((l=s.data)===null||l===void 0?void 0:l.code)===Ko.LinkingError}))))return a;try{a.push(...await this.validateAst(i.value,r,n))}catch(s){if(zc(s))throw s;console.error("An error occurred during validation:",s)}return await Ti(n),a}processLexingErrors(e,r,n){var i,a,s;let l=[...e.lexerErrors,...(a=(i=e.lexerReport)===null||i===void 0?void 0:i.diagnostics)!==null&&a!==void 0?a:[]];for(let u of l){let h=(s=u.severity)!==null&&s!==void 0?s:"error",f={severity:HE(h),range:{start:{line:u.line-1,character:u.column-1},end:{line:u.line-1,character:u.column+u.length-1}},message:u.message,data:cue(h),source:this.getSource()};r.push(f)}}processParsingErrors(e,r,n){for(let i of e.parserErrors){let a;if(isNaN(i.token.startOffset)){if("previousToken"in i){let s=i.previousToken;if(isNaN(s.startOffset)){let l={line:0,character:0};a={start:l,end:l}}else{let l={line:s.endLine-1,character:s.endColumn};a={start:l,end:l}}}}else a=Hm(i.token);if(a){let s={severity:HE("error"),range:a,message:i.message,data:Cp(Ko.ParsingError),source:this.getSource()};r.push(s)}}}processLinkingErrors(e,r,n){for(let i of e.references){let a=i.error;if(a){let s={node:a.container,property:a.property,index:a.index,data:{code:Ko.LinkingError,containerType:a.container.$type,property:a.property,refText:a.reference.$refText}};r.push(this.toDiagnostic("error",a.message,s))}}}async validateAst(e,r,n=vr.CancellationToken.None){let i=[],a=o((s,l,u)=>{i.push(this.toDiagnostic(s,l,u))},"acceptor");return await this.validateAstBefore(e,r,a,n),await this.validateAstNodes(e,r,a,n),await this.validateAstAfter(e,r,a,n),i}async validateAstBefore(e,r,n,i=vr.CancellationToken.None){var a;let s=this.validationRegistry.checksBefore;for(let l of s)await Ti(i),await l(e,n,(a=r.categories)!==null&&a!==void 0?a:[],i)}async validateAstNodes(e,r,n,i=vr.CancellationToken.None){await Promise.all(Yo(e).map(async a=>{await Ti(i);let s=this.validationRegistry.getChecks(a.$type,r.categories);for(let l of s)await l(a,n,i)}))}async validateAstAfter(e,r,n,i=vr.CancellationToken.None){var a;let s=this.validationRegistry.checksAfter;for(let l of s)await Ti(i),await l(e,n,(a=r.categories)!==null&&a!==void 0?a:[],i)}toDiagnostic(e,r,n){return{message:r,range:lue(n),severity:HE(e),code:n.code,codeDescription:n.codeDescription,tags:n.tags,relatedInformation:n.relatedInformation,data:n.data,source:this.getSource()}}getSource(){return this.metadata.languageId}};o(lue,"getDiagnosticRange");o(HE,"toDiagnosticSeverity");o(cue,"toDiagnosticData");(function(t){t.LexingError="lexing-error",t.LexingWarning="lexing-warning",t.LexingInfo="lexing-info",t.LexingHint="lexing-hint",t.ParsingError="parsing-error",t.LinkingError="linking-error"})(Ko||(Ko={}))});var tb,rb,CI=N(()=>{"use strict";Xo();Nl();as();Ml();jo();Gc();tb=class{static{o(this,"DefaultAstNodeDescriptionProvider")}constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,r,n){let i=n??Oa(e);r??(r=this.nameProvider.getName(e));let a=this.astNodeLocator.getAstNodePath(e);if(!r)throw new Error(`Node at path ${a} has no name.`);let s,l=o(()=>{var u;return s??(s=np((u=this.nameProvider.getNameNode(e))!==null&&u!==void 0?u:e.$cstNode))},"nameSegmentGetter");return{node:e,name:r,get nameSegment(){return l()},selectionSegment:np(e.$cstNode),type:e.$type,documentUri:i.uri,path:a}}},rb=class{static{o(this,"DefaultReferenceDescriptionProvider")}constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,r=vr.CancellationToken.None){let n=[],i=e.parseResult.value;for(let a of Yo(i))await Ti(r),Lg(a).filter(s=>!tp(s)).forEach(s=>{let l=this.createDescription(s);l&&n.push(l)});return n}createDescription(e){let r=e.reference.$nodeDescription,n=e.reference.$refNode;if(!r||!n)return;let i=Oa(e.container).uri;return{sourceUri:i,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:r.documentUri,targetPath:r.path,segment:np(n),local:fs.equals(r.documentUri,i)}}}});var nb,AI=N(()=>{"use strict";nb=class{static{o(this,"DefaultAstNodeLocator")}constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){let r=this.getAstNodePath(e.$container),n=this.getPathSegment(e);return r+this.segmentSeparator+n}return""}getPathSegment({$containerProperty:e,$containerIndex:r}){if(!e)throw new Error("Missing '$containerProperty' in AST node.");return r!==void 0?e+this.indexSeparator+r:e}getAstNode(e,r){return r.split(this.segmentSeparator).reduce((i,a)=>{if(!i||a.length===0)return i;let s=a.indexOf(this.indexSeparator);if(s>0){let l=a.substring(0,s),u=parseInt(a.substring(s+1)),h=i[l];return h?.[u]}return i[a]},e)}}});var Kn={};var WE=N(()=>{"use strict";Sr(Kn,Sa(uI(),1))});var ib,_I=N(()=>{"use strict";WE();jo();ib=class{static{o(this,"DefaultConfigurationProvider")}constructor(e){this._ready=new us,this.settings={},this.workspaceConfig=!1,this.onConfigurationSectionUpdateEmitter=new Kn.Emitter,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var r,n;this.workspaceConfig=(n=(r=e.capabilities.workspace)===null||r===void 0?void 0:r.configuration)!==null&&n!==void 0?n:!1}async initialized(e){if(this.workspaceConfig){if(e.register){let r=this.serviceRegistry.all;e.register({section:r.map(n=>this.toSectionName(n.LanguageMetaData.languageId))})}if(e.fetchConfiguration){let r=this.serviceRegistry.all.map(i=>({section:this.toSectionName(i.LanguageMetaData.languageId)})),n=await e.fetchConfiguration(r);r.forEach((i,a)=>{this.updateSectionConfiguration(i.section,n[a])})}}this._ready.resolve()}updateConfiguration(e){e.settings&&Object.keys(e.settings).forEach(r=>{let n=e.settings[r];this.updateSectionConfiguration(r,n),this.onConfigurationSectionUpdateEmitter.fire({section:r,configuration:n})})}updateSectionConfiguration(e,r){this.settings[e]=r}async getConfiguration(e,r){await this.ready;let n=this.toSectionName(e);if(this.settings[n])return this.settings[n][r]}toSectionName(e){return`${e}`}get onConfigurationSectionUpdate(){return this.onConfigurationSectionUpdateEmitter.event}}});var pf,DI=N(()=>{"use strict";(function(t){function e(r){return{dispose:o(async()=>await r(),"dispose")}}o(e,"create"),t.create=e})(pf||(pf={}))});var ab,LI=N(()=>{"use strict";Xo();DI();m1();jo();$s();Jx();p1();ab=class{static{o(this,"DefaultDocumentBuilder")}constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new Fl,this.documentPhaseListeners=new Fl,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=wn.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.textDocuments=e.workspace.TextDocuments,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,r={},n=vr.CancellationToken.None){var i,a;for(let s of e){let l=s.uri.toString();if(s.state===wn.Validated){if(typeof r.validation=="boolean"&&r.validation)s.state=wn.IndexedReferences,s.diagnostics=void 0,this.buildState.delete(l);else if(typeof r.validation=="object"){let u=this.buildState.get(l),h=(i=u?.result)===null||i===void 0?void 0:i.validationChecks;if(h){let d=((a=r.validation.categories)!==null&&a!==void 0?a:x1.all).filter(p=>!h.includes(p));d.length>0&&(this.buildState.set(l,{completed:!1,options:{validation:Object.assign(Object.assign({},r.validation),{categories:d})},result:u.result}),s.state=wn.IndexedReferences)}}}else this.buildState.delete(l)}this.currentState=wn.Changed,await this.emitUpdate(e.map(s=>s.uri),[]),await this.buildDocuments(e,r,n)}async update(e,r,n=vr.CancellationToken.None){this.currentState=wn.Changed;for(let s of r)this.langiumDocuments.deleteDocument(s),this.buildState.delete(s.toString()),this.indexManager.remove(s);for(let s of e){if(!this.langiumDocuments.invalidateDocument(s)){let u=this.langiumDocumentFactory.fromModel({$type:"INVALID"},s);u.state=wn.Changed,this.langiumDocuments.addDocument(u)}this.buildState.delete(s.toString())}let i=Jr(e).concat(r).map(s=>s.toString()).toSet();this.langiumDocuments.all.filter(s=>!i.has(s.uri.toString())&&this.shouldRelink(s,i)).forEach(s=>{this.serviceRegistry.getServices(s.uri).references.Linker.unlink(s),s.state=Math.min(s.state,wn.ComputedScopes),s.diagnostics=void 0}),await this.emitUpdate(e,r),await Ti(n);let a=this.sortDocuments(this.langiumDocuments.all.filter(s=>{var l;return s.staten(e,r)))}sortDocuments(e){let r=0,n=e.length-1;for(;r=0&&!this.hasTextDocument(e[n]);)n--;rn.error!==void 0)?!0:this.indexManager.isAffected(e,r)}onUpdate(e){return this.updateListeners.push(e),pf.create(()=>{let r=this.updateListeners.indexOf(e);r>=0&&this.updateListeners.splice(r,1)})}async buildDocuments(e,r,n){this.prepareBuild(e,r),await this.runCancelable(e,wn.Parsed,n,a=>this.langiumDocumentFactory.update(a,n)),await this.runCancelable(e,wn.IndexedContent,n,a=>this.indexManager.updateContent(a,n)),await this.runCancelable(e,wn.ComputedScopes,n,async a=>{let s=this.serviceRegistry.getServices(a.uri).references.ScopeComputation;a.precomputedScopes=await s.computeLocalScopes(a,n)}),await this.runCancelable(e,wn.Linked,n,a=>this.serviceRegistry.getServices(a.uri).references.Linker.link(a,n)),await this.runCancelable(e,wn.IndexedReferences,n,a=>this.indexManager.updateReferences(a,n));let i=e.filter(a=>this.shouldValidate(a));await this.runCancelable(i,wn.Validated,n,a=>this.validate(a,n));for(let a of e){let s=this.buildState.get(a.uri.toString());s&&(s.completed=!0)}}prepareBuild(e,r){for(let n of e){let i=n.uri.toString(),a=this.buildState.get(i);(!a||a.completed)&&this.buildState.set(i,{completed:!1,options:r,result:a?.result})}}async runCancelable(e,r,n,i){let a=e.filter(l=>l.statel.state===r);await this.notifyBuildPhase(s,r,n),this.currentState=r}onBuildPhase(e,r){return this.buildPhaseListeners.add(e,r),pf.create(()=>{this.buildPhaseListeners.delete(e,r)})}onDocumentPhase(e,r){return this.documentPhaseListeners.add(e,r),pf.create(()=>{this.documentPhaseListeners.delete(e,r)})}waitUntil(e,r,n){let i;if(r&&"path"in r?i=r:n=r,n??(n=vr.CancellationToken.None),i){let a=this.langiumDocuments.getDocument(i);if(a&&a.state>e)return Promise.resolve(i)}return this.currentState>=e?Promise.resolve(void 0):n.isCancellationRequested?Promise.reject($c):new Promise((a,s)=>{let l=this.onBuildPhase(e,()=>{if(l.dispose(),u.dispose(),i){let h=this.langiumDocuments.getDocument(i);a(h?.uri)}else a(void 0)}),u=n.onCancellationRequested(()=>{l.dispose(),u.dispose(),s($c)})})}async notifyDocumentPhase(e,r,n){let a=this.documentPhaseListeners.get(r).slice();for(let s of a)try{await s(e,n)}catch(l){if(!zc(l))throw l}}async notifyBuildPhase(e,r,n){if(e.length===0)return;let a=this.buildPhaseListeners.get(r).slice();for(let s of a)await Ti(n),await s(e,n)}shouldValidate(e){return!!this.getBuildOptions(e).validation}async validate(e,r){var n,i;let a=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,s=this.getBuildOptions(e).validation,l=typeof s=="object"?s:void 0,u=await a.validateDocument(e,l,r);e.diagnostics?e.diagnostics.push(...u):e.diagnostics=u;let h=this.buildState.get(e.uri.toString());if(h){(n=h.result)!==null&&n!==void 0||(h.result={});let f=(i=l?.categories)!==null&&i!==void 0?i:x1.all;h.result.validationChecks?h.result.validationChecks.push(...f):h.result.validationChecks=[...f]}}getBuildOptions(e){var r,n;return(n=(r=this.buildState.get(e.uri.toString()))===null||r===void 0?void 0:r.options)!==null&&n!==void 0?n:{}}}});var sb,RI=N(()=>{"use strict";as();VE();Xo();$s();Gc();sb=class{static{o(this,"DefaultIndexManager")}constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new Sp,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,r){let n=Oa(e).uri,i=[];return this.referenceIndex.forEach(a=>{a.forEach(s=>{fs.equals(s.targetUri,n)&&s.targetPath===r&&i.push(s)})}),Jr(i)}allElements(e,r){let n=Jr(this.symbolIndex.keys());return r&&(n=n.filter(i=>!r||r.has(i))),n.map(i=>this.getFileDescriptions(i,e)).flat()}getFileDescriptions(e,r){var n;return r?this.symbolByTypeIndex.get(e,r,()=>{var a;return((a=this.symbolIndex.get(e))!==null&&a!==void 0?a:[]).filter(l=>this.astReflection.isSubtype(l.type,r))}):(n=this.symbolIndex.get(e))!==null&&n!==void 0?n:[]}remove(e){let r=e.toString();this.symbolIndex.delete(r),this.symbolByTypeIndex.clear(r),this.referenceIndex.delete(r)}async updateContent(e,r=vr.CancellationToken.None){let i=await this.serviceRegistry.getServices(e.uri).references.ScopeComputation.computeExports(e,r),a=e.uri.toString();this.symbolIndex.set(a,i),this.symbolByTypeIndex.clear(a)}async updateReferences(e,r=vr.CancellationToken.None){let i=await this.serviceRegistry.getServices(e.uri).workspace.ReferenceDescriptionProvider.createDescriptions(e,r);this.referenceIndex.set(e.uri.toString(),i)}isAffected(e,r){let n=this.referenceIndex.get(e.uri.toString());return n?n.some(i=>!i.local&&r.has(i.targetUri.toString())):!1}}});var ob,NI=N(()=>{"use strict";Xo();jo();Gc();ob=class{static{o(this,"DefaultWorkspaceManager")}constructor(e){this.initialBuildOptions={},this._ready=new us,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}get workspaceFolders(){return this.folders}initialize(e){var r;this.folders=(r=e.workspaceFolders)!==null&&r!==void 0?r:void 0}initialized(e){return this.mutex.write(r=>{var n;return this.initializeWorkspace((n=this.folders)!==null&&n!==void 0?n:[],r)})}async initializeWorkspace(e,r=vr.CancellationToken.None){let n=await this.performStartup(e);await Ti(r),await this.documentBuilder.build(n,this.initialBuildOptions,r)}async performStartup(e){let r=this.serviceRegistry.all.flatMap(a=>a.LanguageMetaData.fileExtensions),n=[],i=o(a=>{n.push(a),this.langiumDocuments.hasDocument(a.uri)||this.langiumDocuments.addDocument(a)},"collector");return await this.loadAdditionalDocuments(e,i),await Promise.all(e.map(a=>[a,this.getRootFolder(a)]).map(async a=>this.traverseFolder(...a,r,i))),this._ready.resolve(),n}loadAdditionalDocuments(e,r){return Promise.resolve()}getRootFolder(e){return hs.parse(e.uri)}async traverseFolder(e,r,n,i){let a=await this.fileSystemProvider.readDirectory(r);await Promise.all(a.map(async s=>{if(this.includeEntry(e,s,n)){if(s.isDirectory)await this.traverseFolder(e,s.uri,n,i);else if(s.isFile){let l=await this.langiumDocuments.getOrCreateDocument(s.uri);i(l)}}}))}includeEntry(e,r,n){let i=fs.basename(r.uri);if(i.startsWith("."))return!1;if(r.isDirectory)return i!=="node_modules"&&i!=="out";if(r.isFile){let a=fs.extname(r.uri);return n.includes(a)}return!1}}});function YE(t){return Array.isArray(t)&&(t.length===0||"name"in t[0])}function II(t){return t&&"modes"in t&&"defaultMode"in t}function MI(t){return!YE(t)&&!II(t)}var lb,qE,Ap,XE=N(()=>{"use strict";hf();lb=class{static{o(this,"DefaultLexerErrorMessageProvider")}buildUnexpectedCharactersMessage(e,r,n,i,a){return Hg.buildUnexpectedCharactersMessage(e,r,n,i,a)}buildUnableToPopLexerModeMessage(e){return Hg.buildUnableToPopLexerModeMessage(e)}},qE={mode:"full"},Ap=class{static{o(this,"DefaultLexer")}constructor(e){this.errorMessageProvider=e.parser.LexerErrorMessageProvider,this.tokenBuilder=e.parser.TokenBuilder;let r=this.tokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(r);let n=MI(r)?Object.values(r):r,i=e.LanguageMetaData.mode==="production";this.chevrotainLexer=new Xn(n,{positionTracking:"full",skipValidations:i,errorMessageProvider:this.errorMessageProvider})}get definition(){return this.tokenTypes}tokenize(e,r=qE){var n,i,a;let s=this.chevrotainLexer.tokenize(e);return{tokens:s.tokens,errors:s.errors,hidden:(n=s.groups.hidden)!==null&&n!==void 0?n:[],report:(a=(i=this.tokenBuilder).flushLexingReport)===null||a===void 0?void 0:a.call(i,e)}}toTokenTypeDictionary(e){if(MI(e))return e;let r=II(e)?Object.values(e.modes).flat():e,n={};return r.forEach(i=>n[i.name]=i),n}};o(YE,"isTokenTypeArray");o(II,"isIMultiModeLexerDefinition");o(MI,"isTokenTypeDictionary")});function BI(t,e,r){let n,i;typeof t=="string"?(i=e,n=r):(i=t.range.start,n=e),i||(i=Xr.create(0,0));let a=fue(t),s=$I(n),l=H$e({lines:a,position:i,options:s});return j$e({index:0,tokens:l,position:i})}function FI(t,e){let r=$I(e),n=fue(t);if(n.length===0)return!1;let i=n[0],a=n[n.length-1],s=r.start,l=r.end;return!!s?.exec(i)&&!!l?.exec(a)}function fue(t){let e="";return typeof t=="string"?e=t:e=t.text,e.split(MN)}function H$e(t){var e,r,n;let i=[],a=t.position.line,s=t.position.character;for(let l=0;l=f.length){if(i.length>0){let m=Xr.create(a,s);i.push({type:"break",content:"",range:Pr.create(m,m)})}}else{uue.lastIndex=d;let m=uue.exec(f);if(m){let g=m[0],y=m[1],v=Xr.create(a,s+d),x=Xr.create(a,s+d+g.length);i.push({type:"tag",content:y,range:Pr.create(v,x)}),d+=g.length,d=PI(f,d)}if(d0&&i[i.length-1].type==="break"?i.slice(0,-1):i}function W$e(t,e,r,n){let i=[];if(t.length===0){let a=Xr.create(r,n),s=Xr.create(r,n+e.length);i.push({type:"text",content:e,range:Pr.create(a,s)})}else{let a=0;for(let l of t){let u=l.index,h=e.substring(a,u);h.length>0&&i.push({type:"text",content:e.substring(a,u),range:Pr.create(Xr.create(r,a+n),Xr.create(r,u+n))});let f=h.length+1,d=l[1];if(i.push({type:"inline-tag",content:d,range:Pr.create(Xr.create(r,a+f+n),Xr.create(r,a+f+d.length+n))}),f+=d.length,l.length===4){f+=l[2].length;let p=l[3];i.push({type:"text",content:p,range:Pr.create(Xr.create(r,a+f+n),Xr.create(r,a+f+p.length+n))})}else i.push({type:"text",content:"",range:Pr.create(Xr.create(r,a+f+n),Xr.create(r,a+f+n))});a=u+l[0].length}let s=e.substring(a);s.length>0&&i.push({type:"text",content:s,range:Pr.create(Xr.create(r,a+n),Xr.create(r,a+n+s.length))})}return i}function PI(t,e){let r=t.substring(e).match(q$e);return r?e+r.index:t.length}function X$e(t){let e=t.match(Y$e);if(e&&typeof e.index=="number")return e.index}function j$e(t){var e,r,n,i;let a=Xr.create(t.position.line,t.position.character);if(t.tokens.length===0)return new jE([],Pr.create(a,a));let s=[];for(;t.index0){let u=PI(e,a);s=e.substring(u),e=e.substring(0,a)}return(t==="linkcode"||t==="link"&&r.link==="code")&&(s=`\`${s}\``),(i=(n=r.renderLink)===null||n===void 0?void 0:n.call(r,e,s))!==null&&i!==void 0?i:eze(e,s)}}function eze(t,e){try{return hs.parse(t,!0),`[${e}](${t})`}catch{return t}}function hue(t){return t.endsWith(` +`&&i++}n&&r.length>0&&e.push(r.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let r=this.getLineOffsets(),n=0,i=r.length;if(i===0)return Kr.create(0,e);for(;ne?i=s:n=s+1}let a=n-1;return Kr.create(a,e-r[a])}offsetAt(e){let r=this.getLineOffsets();if(e.line>=r.length)return this._content.length;if(e.line<0)return 0;let n=r[e.line],i=e.line+1"u"}o(n,"undefined"),t.undefined=n;function i(m){return m===!0||m===!1}o(i,"boolean"),t.boolean=i;function a(m){return e.call(m)==="[object String]"}o(a,"string"),t.string=a;function s(m){return e.call(m)==="[object Number]"}o(s,"number"),t.number=s;function l(m,g,y){return e.call(m)==="[object Number]"&&g<=m&&m<=y}o(l,"numberRange"),t.numberRange=l;function u(m){return e.call(m)==="[object Number]"&&-2147483648<=m&&m<=2147483647}o(u,"integer"),t.integer=u;function h(m){return e.call(m)==="[object Number]"&&0<=m&&m<=2147483647}o(h,"uinteger"),t.uinteger=h;function f(m){return e.call(m)==="[object Function]"}o(f,"func"),t.func=f;function d(m){return m!==null&&typeof m=="object"}o(d,"objectLiteral"),t.objectLiteral=d;function p(m,g){return Array.isArray(m)&&m.every(g)}o(p,"typedArray"),t.typedArray=p})($e||($e={}))});var wb,kb,Up,Hp,pO,O1,MS=N(()=>{"use strict";dO();Bl();wb=class{static{o(this,"CstNodeBuilder")}constructor(){this.nodeStack=[]}get current(){var e;return(e=this.nodeStack[this.nodeStack.length-1])!==null&&e!==void 0?e:this.rootNode}buildRootNode(e){return this.rootNode=new O1(e),this.rootNode.root=this.rootNode,this.nodeStack=[this.rootNode],this.rootNode}buildCompositeNode(e){let r=new Hp;return r.grammarSource=e,r.root=this.rootNode,this.current.content.push(r),this.nodeStack.push(r),r}buildLeafNode(e,r){let n=new Up(e.startOffset,e.image.length,yg(e),e.tokenType,!r);return n.grammarSource=r,n.root=this.rootNode,this.current.content.push(n),n}removeNode(e){let r=e.container;if(r){let n=r.content.indexOf(e);n>=0&&r.content.splice(n,1)}}addHiddenNodes(e){let r=[];for(let a of e){let s=new Up(a.startOffset,a.image.length,yg(a),a.tokenType,!0);s.root=this.rootNode,r.push(s)}let n=this.current,i=!1;if(n.content.length>0){n.content.push(...r);return}for(;n.container;){let a=n.container.content.indexOf(n);if(a>0){n.container.content.splice(a,0,...r),i=!0;break}n=n.container}i||this.rootNode.content.unshift(...r)}construct(e){let r=this.current;typeof e.$type=="string"&&(this.current.astNode=e),e.$cstNode=r;let n=this.nodeStack.pop();n?.content.length===0&&this.removeNode(n)}},kb=class{static{o(this,"AbstractCstNode")}get parent(){return this.container}get feature(){return this.grammarSource}get hidden(){return!1}get astNode(){var e,r;let n=typeof((e=this._astNode)===null||e===void 0?void 0:e.$type)=="string"?this._astNode:(r=this.container)===null||r===void 0?void 0:r.astNode;if(!n)throw new Error("This node has no associated AST element");return n}set astNode(e){this._astNode=e}get element(){return this.astNode}get text(){return this.root.fullText.substring(this.offset,this.end)}},Up=class extends kb{static{o(this,"LeafCstNodeImpl")}get offset(){return this._offset}get length(){return this._length}get end(){return this._offset+this._length}get hidden(){return this._hidden}get tokenType(){return this._tokenType}get range(){return this._range}constructor(e,r,n,i,a=!1){super(),this._hidden=a,this._offset=e,this._tokenType=i,this._length=r,this._range=n}},Hp=class extends kb{static{o(this,"CompositeCstNodeImpl")}constructor(){super(...arguments),this.content=new pO(this)}get children(){return this.content}get offset(){var e,r;return(r=(e=this.firstNonHiddenNode)===null||e===void 0?void 0:e.offset)!==null&&r!==void 0?r:0}get length(){return this.end-this.offset}get end(){var e,r;return(r=(e=this.lastNonHiddenNode)===null||e===void 0?void 0:e.end)!==null&&r!==void 0?r:0}get range(){let e=this.firstNonHiddenNode,r=this.lastNonHiddenNode;if(e&&r){if(this._rangeCache===void 0){let{range:n}=e,{range:i}=r;this._rangeCache={start:n.start,end:i.end.line=0;e--){let r=this.content[e];if(!r.hidden)return r}return this.content[this.content.length-1]}},pO=class t extends Array{static{o(this,"CstNodeContainer")}constructor(e){super(),this.parent=e,Object.setPrototypeOf(this,t.prototype)}push(...e){return this.addParents(e),super.push(...e)}unshift(...e){return this.addParents(e),super.unshift(...e)}splice(e,r,...n){return this.addParents(n),super.splice(e,r,...n)}addParents(e){for(let r of e)r.container=this.parent}},O1=class extends Hp{static{o(this,"RootCstNodeImpl")}get text(){return this._text.substring(this.offset,this.end)}get fullText(){return this._text}constructor(e){super(),this._text="",this._text=e??""}}});function mO(t){return t.$type===IS}var IS,wde,kde,Eb,Sb,OS,P1,Cb,OYe,gO,Ab=N(()=>{"use strict";Mf();bfe();Vc();Gl();us();MS();IS=Symbol("Datatype");o(mO,"isDataTypeNode");wde="\u200B",kde=o(t=>t.endsWith(wde)?t:t+wde,"withRuleSuffix"),Eb=class{static{o(this,"AbstractLangiumParser")}constructor(e){this._unorderedGroups=new Map,this.allRules=new Map,this.lexer=e.parser.Lexer;let r=this.lexer.definition,n=e.LanguageMetaData.mode==="production";this.wrapper=new gO(r,Object.assign(Object.assign({},e.parser.ParserConfig),{skipValidations:n,errorMessageProvider:e.parser.ParserErrorMessageProvider}))}alternatives(e,r){this.wrapper.wrapOr(e,r)}optional(e,r){this.wrapper.wrapOption(e,r)}many(e,r){this.wrapper.wrapMany(e,r)}atLeastOne(e,r){this.wrapper.wrapAtLeastOne(e,r)}getRule(e){return this.allRules.get(e)}isRecording(){return this.wrapper.IS_RECORDING}get unorderedGroups(){return this._unorderedGroups}getRuleStack(){return this.wrapper.RULE_STACK}finalize(){this.wrapper.wrapSelfAnalysis()}},Sb=class extends Eb{static{o(this,"LangiumParser")}get current(){return this.stack[this.stack.length-1]}constructor(e){super(e),this.nodeBuilder=new wb,this.stack=[],this.assignmentMap=new Map,this.linker=e.references.Linker,this.converter=e.parser.ValueConverter,this.astReflection=e.shared.AstReflection}rule(e,r){let n=this.computeRuleType(e),i=this.wrapper.DEFINE_RULE(kde(e.name),this.startImplementation(n,r).bind(this));return this.allRules.set(e.name,i),e.entry&&(this.mainRule=i),i}computeRuleType(e){if(!e.fragment){if(jx(e))return IS;{let r=o1(e);return r??e.name}}}parse(e,r={}){this.nodeBuilder.buildRootNode(e);let n=this.lexerResult=this.lexer.tokenize(e);this.wrapper.input=n.tokens;let i=r.rule?this.allRules.get(r.rule):this.mainRule;if(!i)throw new Error(r.rule?`No rule found with name '${r.rule}'`:"No main rule available.");let a=i.call(this.wrapper,{});return this.nodeBuilder.addHiddenNodes(n.hidden),this.unorderedGroups.clear(),this.lexerResult=void 0,{value:a,lexerErrors:n.errors,lexerReport:n.report,parserErrors:this.wrapper.errors}}startImplementation(e,r){return n=>{let i=!this.isRecording()&&e!==void 0;if(i){let s={$type:e};this.stack.push(s),e===IS&&(s.value="")}let a;try{a=r(n)}catch{a=void 0}return a===void 0&&i&&(a=this.construct()),a}}extractHiddenTokens(e){let r=this.lexerResult.hidden;if(!r.length)return[];let n=e.startOffset;for(let i=0;in)return r.splice(0,i);return r.splice(0,r.length)}consume(e,r,n){let i=this.wrapper.wrapConsume(e,r);if(!this.isRecording()&&this.isValidToken(i)){let a=this.extractHiddenTokens(i);this.nodeBuilder.addHiddenNodes(a);let s=this.nodeBuilder.buildLeafNode(i,n),{assignment:l,isCrossRef:u}=this.getAssignment(n),h=this.current;if(l){let f=Zo(n)?i.image:this.converter.convert(i.image,s);this.assign(l.operator,l.feature,f,s,u)}else if(mO(h)){let f=i.image;Zo(n)||(f=this.converter.convert(f,s).toString()),h.value+=f}}}isValidToken(e){return!e.isInsertedInRecovery&&!isNaN(e.startOffset)&&typeof e.endOffset=="number"&&!isNaN(e.endOffset)}subrule(e,r,n,i,a){let s;!this.isRecording()&&!n&&(s=this.nodeBuilder.buildCompositeNode(i));let l=this.wrapper.wrapSubrule(e,r,a);!this.isRecording()&&s&&s.length>0&&this.performSubruleAssignment(l,i,s)}performSubruleAssignment(e,r,n){let{assignment:i,isCrossRef:a}=this.getAssignment(r);if(i)this.assign(i.operator,i.feature,e,n,a);else if(!i){let s=this.current;if(mO(s))s.value+=e.toString();else if(typeof e=="object"&&e){let u=this.assignWithoutOverride(e,s);this.stack.pop(),this.stack.push(u)}}}action(e,r){if(!this.isRecording()){let n=this.current;if(r.feature&&r.operator){n=this.construct(),this.nodeBuilder.removeNode(n.$cstNode),this.nodeBuilder.buildCompositeNode(r).content.push(n.$cstNode);let a={$type:e};this.stack.push(a),this.assign(r.operator,r.feature,n,n.$cstNode,!1)}else n.$type=e}}construct(){if(this.isRecording())return;let e=this.current;return OE(e),this.nodeBuilder.construct(e),this.stack.pop(),mO(e)?this.converter.convert(e.value,e.$cstNode):(qM(this.astReflection,e),e)}getAssignment(e){if(!this.assignmentMap.has(e)){let r=Lp(e,Fl);this.assignmentMap.set(e,{assignment:r,isCrossRef:r?Dp(r.terminal):!1})}return this.assignmentMap.get(e)}assign(e,r,n,i,a){let s=this.current,l;switch(a&&typeof n=="string"?l=this.linker.buildReference(s,r,i,n):l=n,e){case"=":{s[r]=l;break}case"?=":{s[r]=!0;break}case"+=":Array.isArray(s[r])||(s[r]=[]),s[r].push(l)}}assignWithoutOverride(e,r){for(let[i,a]of Object.entries(r)){let s=e[i];s===void 0?e[i]=a:Array.isArray(s)&&Array.isArray(a)&&(a.push(...s),e[i]=a)}let n=e.$cstNode;return n&&(n.astNode=void 0,e.$cstNode=void 0),e}get definitionErrors(){return this.wrapper.definitionErrors}},OS=class{static{o(this,"AbstractParserErrorMessageProvider")}buildMismatchTokenMessage(e){return ju.buildMismatchTokenMessage(e)}buildNotAllInputParsedMessage(e){return ju.buildNotAllInputParsedMessage(e)}buildNoViableAltMessage(e){return ju.buildNoViableAltMessage(e)}buildEarlyExitMessage(e){return ju.buildEarlyExitMessage(e)}},P1=class extends OS{static{o(this,"LangiumParserErrorMessageProvider")}buildMismatchTokenMessage({expected:e,actual:r}){return`Expecting ${e.LABEL?"`"+e.LABEL+"`":e.name.endsWith(":KW")?`keyword '${e.name.substring(0,e.name.length-3)}'`:`token of type '${e.name}'`} but found \`${r.image}\`.`}buildNotAllInputParsedMessage({firstRedundant:e}){return`Expecting end of file but found \`${e.image}\`.`}},Cb=class extends Eb{static{o(this,"LangiumCompletionParser")}constructor(){super(...arguments),this.tokens=[],this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}action(){}construct(){}parse(e){this.resetState();let r=this.lexer.tokenize(e,{mode:"partial"});return this.tokens=r.tokens,this.wrapper.input=[...this.tokens],this.mainRule.call(this.wrapper,{}),this.unorderedGroups.clear(),{tokens:this.tokens,elementStack:[...this.lastElementStack],tokenIndex:this.nextTokenIndex}}rule(e,r){let n=this.wrapper.DEFINE_RULE(kde(e.name),this.startImplementation(r).bind(this));return this.allRules.set(e.name,n),e.entry&&(this.mainRule=n),n}resetState(){this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}startImplementation(e){return r=>{let n=this.keepStackSize();try{e(r)}finally{this.resetStackSize(n)}}}removeUnexpectedElements(){this.elementStack.splice(this.stackSize)}keepStackSize(){let e=this.elementStack.length;return this.stackSize=e,e}resetStackSize(e){this.removeUnexpectedElements(),this.stackSize=e}consume(e,r,n){this.wrapper.wrapConsume(e,r),this.isRecording()||(this.lastElementStack=[...this.elementStack,n],this.nextTokenIndex=this.currIdx+1)}subrule(e,r,n,i,a){this.before(i),this.wrapper.wrapSubrule(e,r,a),this.after(i)}before(e){this.isRecording()||this.elementStack.push(e)}after(e){if(!this.isRecording()){let r=this.elementStack.lastIndexOf(e);r>=0&&this.elementStack.splice(r)}}get currIdx(){return this.wrapper.currIdx}},OYe={recoveryEnabled:!0,nodeLocationTracking:"full",skipValidations:!0,errorMessageProvider:new P1},gO=class extends gb{static{o(this,"ChevrotainWrapper")}constructor(e,r){let n=r&&"maxLookahead"in r;super(e,Object.assign(Object.assign(Object.assign({},OYe),{lookaheadStrategy:n?new Ku({maxLookahead:r.maxLookahead}):new bb({logging:r.skipValidations?()=>{}:void 0})}),r))}get IS_RECORDING(){return this.RECORDING_PHASE}DEFINE_RULE(e,r){return this.RULE(e,r)}wrapSelfAnalysis(){this.performSelfAnalysis()}wrapConsume(e,r){return this.consume(e,r)}wrapSubrule(e,r,n){return this.subrule(e,r,{ARGS:[n]})}wrapOr(e,r){this.or(e,r)}wrapOption(e,r){this.option(e,r)}wrapMany(e,r){this.many(e,r)}wrapAtLeastOne(e,r){this.atLeastOne(e,r)}}});function _b(t,e,r){return PYe({parser:e,tokens:r,ruleNames:new Map},t),e}function PYe(t,e){let r=Yx(e,!1),n=en(e.rules).filter(za).filter(i=>r.has(i));for(let i of n){let a=Object.assign(Object.assign({},t),{consume:1,optional:1,subrule:1,many:1,or:1});t.parser.rule(i,Wp(a,i.definition))}}function Wp(t,e,r=!1){let n;if(Zo(e))n=UYe(t,e);else if(Vu(e))n=BYe(t,e);else if(Fl(e))n=Wp(t,e.terminal);else if(Dp(e))n=Ede(t,e);else if($l(e))n=FYe(t,e);else if(NE(e))n=GYe(t,e);else if(IE(e))n=zYe(t,e);else if(Lf(e))n=VYe(t,e);else if(BM(e)){let i=t.consume++;n=o(()=>t.parser.consume(i,go,e),"method")}else throw new Ap(e.$cstNode,`Unexpected element type: ${e.$type}`);return Sde(t,r?void 0:PS(e),n,e.cardinality)}function BYe(t,e){let r=Kx(e);return()=>t.parser.action(r,e)}function FYe(t,e){let r=e.rule.ref;if(za(r)){let n=t.subrule++,i=r.fragment,a=e.arguments.length>0?$Ye(r,e.arguments):()=>({});return s=>t.parser.subrule(n,Cde(t,r),i,e,a(s))}else if(po(r)){let n=t.consume++,i=yO(t,r.name);return()=>t.parser.consume(n,i,e)}else if(r)zc(r);else throw new Ap(e.$cstNode,`Undefined rule: ${e.rule.$refText}`)}function $Ye(t,e){let r=e.map(n=>Qu(n.value));return n=>{let i={};for(let a=0;ae(n)||r(n)}else if(DM(t)){let e=Qu(t.left),r=Qu(t.right);return n=>e(n)&&r(n)}else if(RM(t)){let e=Qu(t.value);return r=>!e(r)}else if(NM(t)){let e=t.parameter.ref.name;return r=>r!==void 0&&r[e]===!0}else if(_M(t)){let e=!!t.true;return()=>e}zc(t)}function GYe(t,e){if(e.elements.length===1)return Wp(t,e.elements[0]);{let r=[];for(let i of e.elements){let a={ALT:Wp(t,i,!0)},s=PS(i);s&&(a.GATE=Qu(s)),r.push(a)}let n=t.or++;return i=>t.parser.alternatives(n,r.map(a=>{let s={ALT:o(()=>a.ALT(i),"ALT")},l=a.GATE;return l&&(s.GATE=()=>l(i)),s}))}}function zYe(t,e){if(e.elements.length===1)return Wp(t,e.elements[0]);let r=[];for(let l of e.elements){let u={ALT:Wp(t,l,!0)},h=PS(l);h&&(u.GATE=Qu(h)),r.push(u)}let n=t.or++,i=o((l,u)=>{let h=u.getRuleStack().join("-");return`uGroup_${l}_${h}`},"idFunc"),a=o(l=>t.parser.alternatives(n,r.map((u,h)=>{let f={ALT:o(()=>!0,"ALT")},d=t.parser;f.ALT=()=>{if(u.ALT(l),!d.isRecording()){let m=i(n,d);d.unorderedGroups.get(m)||d.unorderedGroups.set(m,[]);let g=d.unorderedGroups.get(m);typeof g?.[h]>"u"&&(g[h]=!0)}};let p=u.GATE;return p?f.GATE=()=>p(l):f.GATE=()=>{let m=d.unorderedGroups.get(i(n,d));return!m?.[h]},f})),"alternatives"),s=Sde(t,PS(e),a,"*");return l=>{s(l),t.parser.isRecording()||t.parser.unorderedGroups.delete(i(n,t.parser))}}function VYe(t,e){let r=e.elements.map(n=>Wp(t,n));return n=>r.forEach(i=>i(n))}function PS(t){if(Lf(t))return t.guardCondition}function Ede(t,e,r=e.terminal){if(r)if($l(r)&&za(r.rule.ref)){let n=r.rule.ref,i=t.subrule++;return a=>t.parser.subrule(i,Cde(t,n),!1,e,a)}else if($l(r)&&po(r.rule.ref)){let n=t.consume++,i=yO(t,r.rule.ref.name);return()=>t.parser.consume(n,i,e)}else if(Zo(r)){let n=t.consume++,i=yO(t,r.value);return()=>t.parser.consume(n,i,e)}else throw new Error("Could not build cross reference parser");else{if(!e.type.ref)throw new Error("Could not resolve reference to type: "+e.type.$refText);let n=GE(e.type.ref),i=n?.terminal;if(!i)throw new Error("Could not find name assignment for type: "+Kx(e.type.ref));return Ede(t,e,i)}}function UYe(t,e){let r=t.consume++,n=t.tokens[e.value];if(!n)throw new Error("Could not find token for keyword: "+e.value);return()=>t.parser.consume(r,n,e)}function Sde(t,e,r,n){let i=e&&Qu(e);if(!n)if(i){let a=t.or++;return s=>t.parser.alternatives(a,[{ALT:o(()=>r(s),"ALT"),GATE:o(()=>i(s),"GATE")},{ALT:SS(),GATE:o(()=>!i(s),"GATE")}])}else return r;if(n==="*"){let a=t.many++;return s=>t.parser.many(a,{DEF:o(()=>r(s),"DEF"),GATE:i?()=>i(s):void 0})}else if(n==="+"){let a=t.many++;if(i){let s=t.or++;return l=>t.parser.alternatives(s,[{ALT:o(()=>t.parser.atLeastOne(a,{DEF:o(()=>r(l),"DEF")}),"ALT"),GATE:o(()=>i(l),"GATE")},{ALT:SS(),GATE:o(()=>!i(l),"GATE")}])}else return s=>t.parser.atLeastOne(a,{DEF:o(()=>r(s),"DEF")})}else if(n==="?"){let a=t.optional++;return s=>t.parser.optional(a,{DEF:o(()=>r(s),"DEF"),GATE:i?()=>i(s):void 0})}else zc(n)}function Cde(t,e){let r=HYe(t,e),n=t.parser.getRule(r);if(!n)throw new Error(`Rule "${r}" not found."`);return n}function HYe(t,e){if(za(e))return e.name;if(t.ruleNames.has(e))return t.ruleNames.get(e);{let r=e,n=r.$container,i=e.$type;for(;!za(n);)(Lf(n)||NE(n)||IE(n))&&(i=n.elements.indexOf(r).toString()+":"+i),r=n,n=n.$container;return i=n.name+":"+i,t.ruleNames.set(e,i),i}}function yO(t,e){let r=t.tokens[e];if(!r)throw new Error(`Token "${e}" not found."`);return r}var BS=N(()=>{"use strict";Mf();Vc();AE();Ws();Gl();o(_b,"createParser");o(PYe,"buildRules");o(Wp,"buildElement");o(BYe,"buildAction");o(FYe,"buildRuleCall");o($Ye,"buildRuleCallPredicate");o(Qu,"buildPredicate");o(GYe,"buildAlternatives");o(zYe,"buildUnorderedGroup");o(VYe,"buildGroup");o(PS,"getGuardCondition");o(Ede,"buildCrossReference");o(UYe,"buildKeyword");o(Sde,"wrap");o(Cde,"getRule");o(HYe,"getRuleName");o(yO,"getToken")});function vO(t){let e=t.Grammar,r=t.parser.Lexer,n=new Cb(t);return _b(e,n,r.definition),n.finalize(),n}var xO=N(()=>{"use strict";Ab();BS();o(vO,"createCompletionParser")});function bO(t){let e=Ade(t);return e.finalize(),e}function Ade(t){let e=t.Grammar,r=t.parser.Lexer,n=new Sb(t);return _b(e,n,r.definition)}var TO=N(()=>{"use strict";Ab();BS();o(bO,"createLangiumParser");o(Ade,"prepareLangiumParser")});var Zu,FS=N(()=>{"use strict";Mf();Vc();us();Gl();s1();Ws();Zu=class{static{o(this,"DefaultTokenBuilder")}constructor(){this.diagnostics=[]}buildTokens(e,r){let n=en(Yx(e,!1)),i=this.buildTerminalTokens(n),a=this.buildKeywordTokens(n,i,r);return i.forEach(s=>{let l=s.PATTERN;typeof l=="object"&&l&&"test"in l&&a1(l)?a.unshift(s):a.push(s)}),a}flushLexingReport(e){return{diagnostics:this.popDiagnostics()}}popDiagnostics(){let e=[...this.diagnostics];return this.diagnostics=[],e}buildTerminalTokens(e){return e.filter(po).filter(r=>!r.fragment).map(r=>this.buildTerminalToken(r)).toArray()}buildTerminalToken(e){let r=l1(e),n=this.requiresCustomPattern(r)?this.regexPatternFunction(r):r,i={name:e.name,PATTERN:n};return typeof n=="function"&&(i.LINE_BREAKS=!0),e.hidden&&(i.GROUP=a1(r)?Qn.SKIPPED:"hidden"),i}requiresCustomPattern(e){return e.flags.includes("u")||e.flags.includes("s")?!0:!!(e.source.includes("?<=")||e.source.includes("?(r.lastIndex=i,r.exec(n))}buildKeywordTokens(e,r,n){return e.filter(za).flatMap(i=>Uc(i).filter(Zo)).distinct(i=>i.value).toArray().sort((i,a)=>a.value.length-i.value.length).map(i=>this.buildKeywordToken(i,r,!!n?.caseInsensitive))}buildKeywordToken(e,r,n){let i=this.buildKeywordPattern(e,n),a={name:e.value,PATTERN:i,LONGER_ALT:this.findLongerAlt(e,r)};return typeof i=="function"&&(a.LINE_BREAKS=!0),a}buildKeywordPattern(e,r){return r?new RegExp(JM(e.value)):e.value}findLongerAlt(e,r){return r.reduce((n,i)=>{let a=i?.PATTERN;return a?.source&&eI("^"+a.source+"$",e.value)&&n.push(i),n},[])}}});var qp,qc,wO=N(()=>{"use strict";Vc();Gl();qp=class{static{o(this,"DefaultValueConverter")}convert(e,r){let n=r.grammarSource;if(Dp(n)&&(n=nI(n)),$l(n)){let i=n.rule.ref;if(!i)throw new Error("This cst node was not parsed by a rule.");return this.runConverter(i,e,r)}return e}runConverter(e,r,n){var i;switch(e.name.toUpperCase()){case"INT":return qc.convertInt(r);case"STRING":return qc.convertString(r);case"ID":return qc.convertID(r)}switch((i=uI(e))===null||i===void 0?void 0:i.toLowerCase()){case"number":return qc.convertNumber(r);case"boolean":return qc.convertBoolean(r);case"bigint":return qc.convertBigint(r);case"date":return qc.convertDate(r);default:return r}}};(function(t){function e(h){let f="";for(let d=1;d{"use strict";Object.defineProperty(SO,"__esModule",{value:!0});var kO;function EO(){if(kO===void 0)throw new Error("No runtime abstraction layer installed");return kO}o(EO,"RAL");(function(t){function e(r){if(r===void 0)throw new Error("No runtime abstraction layer provided");kO=r}o(e,"install"),t.install=e})(EO||(EO={}));SO.default=EO});var Lde=Aa(Ua=>{"use strict";Object.defineProperty(Ua,"__esModule",{value:!0});Ua.stringArray=Ua.array=Ua.func=Ua.error=Ua.number=Ua.string=Ua.boolean=void 0;function WYe(t){return t===!0||t===!1}o(WYe,"boolean");Ua.boolean=WYe;function _de(t){return typeof t=="string"||t instanceof String}o(_de,"string");Ua.string=_de;function qYe(t){return typeof t=="number"||t instanceof Number}o(qYe,"number");Ua.number=qYe;function YYe(t){return t instanceof Error}o(YYe,"error");Ua.error=YYe;function XYe(t){return typeof t=="function"}o(XYe,"func");Ua.func=XYe;function Dde(t){return Array.isArray(t)}o(Dde,"array");Ua.array=Dde;function jYe(t){return Dde(t)&&t.every(e=>_de(e))}o(jYe,"stringArray");Ua.stringArray=jYe});var _O=Aa(B1=>{"use strict";Object.defineProperty(B1,"__esModule",{value:!0});B1.Emitter=B1.Event=void 0;var KYe=CO(),Rde;(function(t){let e={dispose(){}};t.None=function(){return e}})(Rde||(B1.Event=Rde={}));var AO=class{static{o(this,"CallbackList")}add(e,r=null,n){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(r),Array.isArray(n)&&n.push({dispose:o(()=>this.remove(e,r),"dispose")})}remove(e,r=null){if(!this._callbacks)return;let n=!1;for(let i=0,a=this._callbacks.length;i{this._callbacks||(this._callbacks=new AO),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,r);let i={dispose:o(()=>{this._callbacks&&(this._callbacks.remove(e,r),i.dispose=t._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))},"dispose")};return Array.isArray(n)&&n.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};B1.Emitter=$S;$S._noop=function(){}});var Nde=Aa(F1=>{"use strict";Object.defineProperty(F1,"__esModule",{value:!0});F1.CancellationTokenSource=F1.CancellationToken=void 0;var QYe=CO(),ZYe=Lde(),DO=_O(),GS;(function(t){t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:DO.Event.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:DO.Event.None});function e(r){let n=r;return n&&(n===t.None||n===t.Cancelled||ZYe.boolean(n.isCancellationRequested)&&!!n.onCancellationRequested)}o(e,"is"),t.is=e})(GS||(F1.CancellationToken=GS={}));var JYe=Object.freeze(function(t,e){let r=(0,QYe.default)().timer.setTimeout(t.bind(e),0);return{dispose(){r.dispose()}}}),zS=class{static{o(this,"MutableToken")}constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?JYe:(this._emitter||(this._emitter=new DO.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},LO=class{static{o(this,"CancellationTokenSource")}get token(){return this._token||(this._token=new zS),this._token}cancel(){this._token?this._token.cancel():this._token=GS.Cancelled}dispose(){this._token?this._token instanceof zS&&this._token.dispose():this._token=GS.None}};F1.CancellationTokenSource=LO});var vr={};var el=N(()=>{"use strict";Sr(vr,ja(Nde(),1))});function RO(){return new Promise(t=>{typeof setImmediate>"u"?setTimeout(t,0):setImmediate(t)})}function US(){return VS=performance.now(),new vr.CancellationTokenSource}function Ide(t){Mde=t}function Xc(t){return t===Yc}async function Ti(t){if(t===vr.CancellationToken.None)return;let e=performance.now();if(e-VS>=Mde&&(VS=e,await RO(),VS=performance.now()),t.isCancellationRequested)throw Yc}var VS,Mde,Yc,ms,tl=N(()=>{"use strict";el();o(RO,"delayNextTick");VS=0,Mde=10;o(US,"startCancelableOperation");o(Ide,"setInterruptionPeriod");Yc=Symbol("OperationCancelled");o(Xc,"isOperationCancelled");o(Ti,"interruptAndCheck");ms=class{static{o(this,"Deferred")}constructor(){this.promise=new Promise((e,r)=>{this.resolve=n=>(e(n),this),this.reject=n=>(r(n),this)})}}});function NO(t,e){if(t.length<=1)return t;let r=t.length/2|0,n=t.slice(0,r),i=t.slice(r);NO(n,e),NO(i,e);let a=0,s=0,l=0;for(;ar.line||e.line===r.line&&e.character>r.character?{start:r,end:e}:t}function eXe(t){let e=Bde(t.range);return e!==t.range?{newText:t.newText,range:e}:t}var HS,$1,Fde=N(()=>{"use strict";HS=class t{static{o(this,"FullTextDocument")}constructor(e,r,n,i){this._uri=e,this._languageId=r,this._version=n,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let r=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(r,n)}return this._content}update(e,r){for(let n of e)if(t.isIncremental(n)){let i=Bde(n.range),a=this.offsetAt(i.start),s=this.offsetAt(i.end);this._content=this._content.substring(0,a)+n.text+this._content.substring(s,this._content.length);let l=Math.max(i.start.line,0),u=Math.max(i.end.line,0),h=this._lineOffsets,f=Ode(n.text,!1,a);if(u-l===f.length)for(let p=0,m=f.length;pe?i=s:n=s+1}let a=n-1;return e=this.ensureBeforeEOL(e,r[a]),{line:a,character:e-r[a]}}offsetAt(e){let r=this.getLineOffsets();if(e.line>=r.length)return this._content.length;if(e.line<0)return 0;let n=r[e.line];if(e.character<=0)return n;let i=e.line+1r&&Pde(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let r=e;return r!=null&&typeof r.text=="string"&&r.range!==void 0&&(r.rangeLength===void 0||typeof r.rangeLength=="number")}static isFull(e){let r=e;return r!=null&&typeof r.text=="string"&&r.range===void 0&&r.rangeLength===void 0}};(function(t){function e(i,a,s,l){return new HS(i,a,s,l)}o(e,"create"),t.create=e;function r(i,a,s){if(i instanceof HS)return i.update(a,s),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}o(r,"update"),t.update=r;function n(i,a){let s=i.getText(),l=NO(a.map(eXe),(f,d)=>{let p=f.range.start.line-d.range.start.line;return p===0?f.range.start.character-d.range.start.character:p}),u=0,h=[];for(let f of l){let d=i.offsetAt(f.range.start);if(du&&h.push(s.substring(u,d)),f.newText.length&&h.push(f.newText),u=i.offsetAt(f.range.end)}return h.push(s.substr(u)),h.join("")}o(n,"applyEdits"),t.applyEdits=n})($1||($1={}));o(NO,"mergeSort");o(Ode,"computeLineOffsets");o(Pde,"isEOL");o(Bde,"getWellformedRange");o(eXe,"getWellformedEdit")});var $de,gs,G1,MO=N(()=>{"use strict";(()=>{"use strict";var t={470:i=>{function a(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}o(a,"e");function s(u,h){for(var f,d="",p=0,m=-1,g=0,y=0;y<=u.length;++y){if(y2){var x=d.lastIndexOf("/");if(x!==d.length-1){x===-1?(d="",p=0):p=(d=d.slice(0,x)).length-1-d.lastIndexOf("/"),m=y,g=0;continue}}else if(d.length===2||d.length===1){d="",p=0,m=y,g=0;continue}}h&&(d.length>0?d+="/..":d="..",p=2)}else d.length>0?d+="/"+u.slice(m+1,y):d=u.slice(m+1,y),p=y-m-1;m=y,g=0}else f===46&&g!==-1?++g:g=-1}return d}o(s,"r");var l={resolve:o(function(){for(var u,h="",f=!1,d=arguments.length-1;d>=-1&&!f;d--){var p;d>=0?p=arguments[d]:(u===void 0&&(u=process.cwd()),p=u),a(p),p.length!==0&&(h=p+"/"+h,f=p.charCodeAt(0)===47)}return h=s(h,!f),f?h.length>0?"/"+h:"/":h.length>0?h:"."},"resolve"),normalize:o(function(u){if(a(u),u.length===0)return".";var h=u.charCodeAt(0)===47,f=u.charCodeAt(u.length-1)===47;return(u=s(u,!h)).length!==0||h||(u="."),u.length>0&&f&&(u+="/"),h?"/"+u:u},"normalize"),isAbsolute:o(function(u){return a(u),u.length>0&&u.charCodeAt(0)===47},"isAbsolute"),join:o(function(){if(arguments.length===0)return".";for(var u,h=0;h0&&(u===void 0?u=f:u+="/"+f)}return u===void 0?".":l.normalize(u)},"join"),relative:o(function(u,h){if(a(u),a(h),u===h||(u=l.resolve(u))===(h=l.resolve(h)))return"";for(var f=1;fy){if(h.charCodeAt(m+v)===47)return h.slice(m+v+1);if(v===0)return h.slice(m+v)}else p>y&&(u.charCodeAt(f+v)===47?x=v:v===0&&(x=0));break}var b=u.charCodeAt(f+v);if(b!==h.charCodeAt(m+v))break;b===47&&(x=v)}var T="";for(v=f+x+1;v<=d;++v)v!==d&&u.charCodeAt(v)!==47||(T.length===0?T+="..":T+="/..");return T.length>0?T+h.slice(m+x):(m+=x,h.charCodeAt(m)===47&&++m,h.slice(m))},"relative"),_makeLong:o(function(u){return u},"_makeLong"),dirname:o(function(u){if(a(u),u.length===0)return".";for(var h=u.charCodeAt(0),f=h===47,d=-1,p=!0,m=u.length-1;m>=1;--m)if((h=u.charCodeAt(m))===47){if(!p){d=m;break}}else p=!1;return d===-1?f?"/":".":f&&d===1?"//":u.slice(0,d)},"dirname"),basename:o(function(u,h){if(h!==void 0&&typeof h!="string")throw new TypeError('"ext" argument must be a string');a(u);var f,d=0,p=-1,m=!0;if(h!==void 0&&h.length>0&&h.length<=u.length){if(h.length===u.length&&h===u)return"";var g=h.length-1,y=-1;for(f=u.length-1;f>=0;--f){var x=u.charCodeAt(f);if(x===47){if(!m){d=f+1;break}}else y===-1&&(m=!1,y=f+1),g>=0&&(x===h.charCodeAt(g)?--g==-1&&(p=f):(g=-1,p=y))}return d===p?p=y:p===-1&&(p=u.length),u.slice(d,p)}for(f=u.length-1;f>=0;--f)if(u.charCodeAt(f)===47){if(!m){d=f+1;break}}else p===-1&&(m=!1,p=f+1);return p===-1?"":u.slice(d,p)},"basename"),extname:o(function(u){a(u);for(var h=-1,f=0,d=-1,p=!0,m=0,g=u.length-1;g>=0;--g){var y=u.charCodeAt(g);if(y!==47)d===-1&&(p=!1,d=g+1),y===46?h===-1?h=g:m!==1&&(m=1):h!==-1&&(m=-1);else if(!p){f=g+1;break}}return h===-1||d===-1||m===0||m===1&&h===d-1&&h===f+1?"":u.slice(h,d)},"extname"),format:o(function(u){if(u===null||typeof u!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof u);return function(h,f){var d=f.dir||f.root,p=f.base||(f.name||"")+(f.ext||"");return d?d===f.root?d+p:d+"/"+p:p}(0,u)},"format"),parse:o(function(u){a(u);var h={root:"",dir:"",base:"",ext:"",name:""};if(u.length===0)return h;var f,d=u.charCodeAt(0),p=d===47;p?(h.root="/",f=1):f=0;for(var m=-1,g=0,y=-1,x=!0,v=u.length-1,b=0;v>=f;--v)if((d=u.charCodeAt(v))!==47)y===-1&&(x=!1,y=v+1),d===46?m===-1?m=v:b!==1&&(b=1):m!==-1&&(b=-1);else if(!x){g=v+1;break}return m===-1||y===-1||b===0||b===1&&m===y-1&&m===g+1?y!==-1&&(h.base=h.name=g===0&&p?u.slice(1,y):u.slice(g,y)):(g===0&&p?(h.name=u.slice(1,m),h.base=u.slice(1,y)):(h.name=u.slice(g,m),h.base=u.slice(g,y)),h.ext=u.slice(m,y)),g>0?h.dir=u.slice(0,g-1):p&&(h.dir="/"),h},"parse"),sep:"/",delimiter:":",win32:null,posix:null};l.posix=l,i.exports=l}},e={};function r(i){var a=e[i];if(a!==void 0)return a.exports;var s=e[i]={exports:{}};return t[i](s,s.exports,r),s.exports}o(r,"r"),r.d=(i,a)=>{for(var s in a)r.o(a,s)&&!r.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:a[s]})},r.o=(i,a)=>Object.prototype.hasOwnProperty.call(i,a),r.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var n={};(()=>{let i;r.r(n),r.d(n,{URI:o(()=>p,"URI"),Utils:o(()=>O,"Utils")}),typeof process=="object"?i=process.platform==="win32":typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);let a=/^\w[\w\d+.-]*$/,s=/^\//,l=/^\/\//;function u(R,k){if(!R.scheme&&k)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${R.authority}", path: "${R.path}", query: "${R.query}", fragment: "${R.fragment}"}`);if(R.scheme&&!a.test(R.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(R.path){if(R.authority){if(!s.test(R.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(R.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}o(u,"s");let h="",f="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class p{static{o(this,"f")}static isUri(k){return k instanceof p||!!k&&typeof k.authority=="string"&&typeof k.fragment=="string"&&typeof k.path=="string"&&typeof k.query=="string"&&typeof k.scheme=="string"&&typeof k.fsPath=="string"&&typeof k.with=="function"&&typeof k.toString=="function"}scheme;authority;path;query;fragment;constructor(k,L,C,I,M,P=!1){typeof k=="object"?(this.scheme=k.scheme||h,this.authority=k.authority||h,this.path=k.path||h,this.query=k.query||h,this.fragment=k.fragment||h):(this.scheme=function(B,F){return B||F?B:"file"}(k,P),this.authority=L||h,this.path=function(B,F){switch(B){case"https":case"http":case"file":F?F[0]!==f&&(F=f+F):F=f}return F}(this.scheme,C||h),this.query=I||h,this.fragment=M||h,u(this,P))}get fsPath(){return b(this,!1)}with(k){if(!k)return this;let{scheme:L,authority:C,path:I,query:M,fragment:P}=k;return L===void 0?L=this.scheme:L===null&&(L=h),C===void 0?C=this.authority:C===null&&(C=h),I===void 0?I=this.path:I===null&&(I=h),M===void 0?M=this.query:M===null&&(M=h),P===void 0?P=this.fragment:P===null&&(P=h),L===this.scheme&&C===this.authority&&I===this.path&&M===this.query&&P===this.fragment?this:new g(L,C,I,M,P)}static parse(k,L=!1){let C=d.exec(k);return C?new g(C[2]||h,E(C[4]||h),E(C[5]||h),E(C[7]||h),E(C[9]||h),L):new g(h,h,h,h,h)}static file(k){let L=h;if(i&&(k=k.replace(/\\/g,f)),k[0]===f&&k[1]===f){let C=k.indexOf(f,2);C===-1?(L=k.substring(2),k=f):(L=k.substring(2,C),k=k.substring(C)||f)}return new g("file",L,k,h,h)}static from(k){let L=new g(k.scheme,k.authority,k.path,k.query,k.fragment);return u(L,!0),L}toString(k=!1){return T(this,k)}toJSON(){return this}static revive(k){if(k){if(k instanceof p)return k;{let L=new g(k);return L._formatted=k.external,L._fsPath=k._sep===m?k.fsPath:null,L}}return k}}let m=i?1:void 0;class g extends p{static{o(this,"l")}_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath}toString(k=!1){return k?T(this,!0):(this._formatted||(this._formatted=T(this,!1)),this._formatted)}toJSON(){let k={$mid:1};return this._fsPath&&(k.fsPath=this._fsPath,k._sep=m),this._formatted&&(k.external=this._formatted),this.path&&(k.path=this.path),this.scheme&&(k.scheme=this.scheme),this.authority&&(k.authority=this.authority),this.query&&(k.query=this.query),this.fragment&&(k.fragment=this.fragment),k}}let y={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function x(R,k,L){let C,I=-1;for(let M=0;M=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===45||P===46||P===95||P===126||k&&P===47||L&&P===91||L&&P===93||L&&P===58)I!==-1&&(C+=encodeURIComponent(R.substring(I,M)),I=-1),C!==void 0&&(C+=R.charAt(M));else{C===void 0&&(C=R.substr(0,M));let B=y[P];B!==void 0?(I!==-1&&(C+=encodeURIComponent(R.substring(I,M)),I=-1),C+=B):I===-1&&(I=M)}}return I!==-1&&(C+=encodeURIComponent(R.substring(I))),C!==void 0?C:R}o(x,"d");function v(R){let k;for(let L=0;L1&&R.scheme==="file"?`//${R.authority}${R.path}`:R.path.charCodeAt(0)===47&&(R.path.charCodeAt(1)>=65&&R.path.charCodeAt(1)<=90||R.path.charCodeAt(1)>=97&&R.path.charCodeAt(1)<=122)&&R.path.charCodeAt(2)===58?k?R.path.substr(1):R.path[1].toLowerCase()+R.path.substr(2):R.path,i&&(L=L.replace(/\//g,"\\")),L}o(b,"m");function T(R,k){let L=k?v:x,C="",{scheme:I,authority:M,path:P,query:B,fragment:F}=R;if(I&&(C+=I,C+=":"),(M||I==="file")&&(C+=f,C+=f),M){let G=M.indexOf("@");if(G!==-1){let $=M.substr(0,G);M=M.substr(G+1),G=$.lastIndexOf(":"),G===-1?C+=L($,!1,!1):(C+=L($.substr(0,G),!1,!1),C+=":",C+=L($.substr(G+1),!1,!0)),C+="@"}M=M.toLowerCase(),G=M.lastIndexOf(":"),G===-1?C+=L(M,!1,!0):(C+=L(M.substr(0,G),!1,!0),C+=M.substr(G))}if(P){if(P.length>=3&&P.charCodeAt(0)===47&&P.charCodeAt(2)===58){let G=P.charCodeAt(1);G>=65&&G<=90&&(P=`/${String.fromCharCode(G+32)}:${P.substr(3)}`)}else if(P.length>=2&&P.charCodeAt(1)===58){let G=P.charCodeAt(0);G>=65&&G<=90&&(P=`${String.fromCharCode(G+32)}:${P.substr(2)}`)}C+=L(P,!0,!1)}return B&&(C+="?",C+=L(B,!1,!1)),F&&(C+="#",C+=k?F:x(F,!1,!1)),C}o(T,"y");function S(R){try{return decodeURIComponent(R)}catch{return R.length>3?R.substr(0,3)+S(R.substr(3)):R}}o(S,"v");let w=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function E(R){return R.match(w)?R.replace(w,k=>S(k)):R}o(E,"C");var _=r(470);let A=_.posix||_,D="/";var O;(function(R){R.joinPath=function(k,...L){return k.with({path:A.join(k.path,...L)})},R.resolvePath=function(k,...L){let C=k.path,I=!1;C[0]!==D&&(C=D+C,I=!0);let M=A.resolve(C,...L);return I&&M[0]===D&&!k.authority&&(M=M.substring(1)),k.with({path:M})},R.dirname=function(k){if(k.path.length===0||k.path===D)return k;let L=A.dirname(k.path);return L.length===1&&L.charCodeAt(0)===46&&(L=""),k.with({path:L})},R.basename=function(k){return A.basename(k.path)},R.extname=function(k){return A.extname(k.path)}})(O||(O={}))})(),$de=n})();({URI:gs,Utils:G1}=$de)});var ys,jc=N(()=>{"use strict";MO();(function(t){t.basename=G1.basename,t.dirname=G1.dirname,t.extname=G1.extname,t.joinPath=G1.joinPath,t.resolvePath=G1.resolvePath;function e(i,a){return i?.toString()===a?.toString()}o(e,"equals"),t.equals=e;function r(i,a){let s=typeof i=="string"?i:i.path,l=typeof a=="string"?a:a.path,u=s.split("/").filter(m=>m.length>0),h=l.split("/").filter(m=>m.length>0),f=0;for(;f{"use strict";Fde();z1();el();Ws();jc();(function(t){t[t.Changed=0]="Changed",t[t.Parsed=1]="Parsed",t[t.IndexedContent=2]="IndexedContent",t[t.ComputedScopes=3]="ComputedScopes",t[t.Linked=4]="Linked",t[t.IndexedReferences=5]="IndexedReferences",t[t.Validated=6]="Validated"})(Cn||(Cn={}));Db=class{static{o(this,"DefaultLangiumDocumentFactory")}constructor(e){this.serviceRegistry=e.ServiceRegistry,this.textDocuments=e.workspace.TextDocuments,this.fileSystemProvider=e.workspace.FileSystemProvider}async fromUri(e,r=vr.CancellationToken.None){let n=await this.fileSystemProvider.readFile(e);return this.createAsync(e,n,r)}fromTextDocument(e,r,n){return r=r??gs.parse(e.uri),vr.CancellationToken.is(n)?this.createAsync(r,e,n):this.create(r,e,n)}fromString(e,r,n){return vr.CancellationToken.is(n)?this.createAsync(r,e,n):this.create(r,e,n)}fromModel(e,r){return this.create(r,{$model:e})}create(e,r,n){if(typeof r=="string"){let i=this.parse(e,r,n);return this.createLangiumDocument(i,e,void 0,r)}else if("$model"in r){let i={value:r.$model,parserErrors:[],lexerErrors:[]};return this.createLangiumDocument(i,e)}else{let i=this.parse(e,r.getText(),n);return this.createLangiumDocument(i,e,r)}}async createAsync(e,r,n){if(typeof r=="string"){let i=await this.parseAsync(e,r,n);return this.createLangiumDocument(i,e,void 0,r)}else{let i=await this.parseAsync(e,r.getText(),n);return this.createLangiumDocument(i,e,r)}}createLangiumDocument(e,r,n,i){let a;if(n)a={parseResult:e,uri:r,state:Cn.Parsed,references:[],textDocument:n};else{let s=this.createTextDocumentGetter(r,i);a={parseResult:e,uri:r,state:Cn.Parsed,references:[],get textDocument(){return s()}}}return e.value.$document=a,a}async update(e,r){var n,i;let a=(n=e.parseResult.value.$cstNode)===null||n===void 0?void 0:n.root.fullText,s=(i=this.textDocuments)===null||i===void 0?void 0:i.get(e.uri.toString()),l=s?s.getText():await this.fileSystemProvider.readFile(e.uri);if(s)Object.defineProperty(e,"textDocument",{value:s});else{let u=this.createTextDocumentGetter(e.uri,l);Object.defineProperty(e,"textDocument",{get:u})}return a!==l&&(e.parseResult=await this.parseAsync(e.uri,l,r),e.parseResult.value.$document=e),e.state=Cn.Parsed,e}parse(e,r,n){return this.serviceRegistry.getServices(e).parser.LangiumParser.parse(r,n)}parseAsync(e,r,n){return this.serviceRegistry.getServices(e).parser.AsyncParser.parse(r,n)}createTextDocumentGetter(e,r){let n=this.serviceRegistry,i;return()=>i??(i=$1.create(e.toString(),n.getServices(e).LanguageMetaData.languageId,0,r??""))}},Lb=class{static{o(this,"DefaultLangiumDocuments")}constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.serviceRegistry=e.ServiceRegistry}get all(){return en(this.documentMap.values())}addDocument(e){let r=e.uri.toString();if(this.documentMap.has(r))throw new Error(`A document with the URI '${r}' is already present.`);this.documentMap.set(r,e)}getDocument(e){let r=e.toString();return this.documentMap.get(r)}async getOrCreateDocument(e,r){let n=this.getDocument(e);return n||(n=await this.langiumDocumentFactory.fromUri(e,r),this.addDocument(n),n)}createDocument(e,r,n){if(n)return this.langiumDocumentFactory.fromString(r,e,n).then(i=>(this.addDocument(i),i));{let i=this.langiumDocumentFactory.fromString(r,e);return this.addDocument(i),i}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){let r=e.toString(),n=this.documentMap.get(r);return n&&(this.serviceRegistry.getServices(e).references.Linker.unlink(n),n.state=Cn.Changed,n.precomputedScopes=void 0,n.diagnostics=void 0),n}deleteDocument(e){let r=e.toString(),n=this.documentMap.get(r);return n&&(n.state=Cn.Changed,this.documentMap.delete(r)),n}}});var IO,Rb,OO=N(()=>{"use strict";el();Pl();us();tl();z1();IO=Symbol("ref_resolving"),Rb=class{static{o(this,"DefaultLinker")}constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,r=vr.CancellationToken.None){for(let n of Jo(e.parseResult.value))await Ti(r),n1(n).forEach(i=>this.doLink(i,e))}doLink(e,r){var n;let i=e.reference;if(i._ref===void 0){i._ref=IO;try{let a=this.getCandidate(e);if(Ep(a))i._ref=a;else if(i._nodeDescription=a,this.langiumDocuments().hasDocument(a.documentUri)){let s=this.loadAstNode(a);i._ref=s??this.createLinkingError(e,a)}else i._ref=void 0}catch(a){console.error(`An error occurred while resolving reference to '${i.$refText}':`,a);let s=(n=a.message)!==null&&n!==void 0?n:String(a);i._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${i.$refText}': ${s}`})}r.references.push(i)}}unlink(e){for(let r of e.references)delete r._ref,delete r._nodeDescription;e.references=[]}getCandidate(e){let n=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return n??this.createLinkingError(e)}buildReference(e,r,n,i){let a=this,s={$refNode:n,$refText:i,get ref(){var l;if(ci(this._ref))return this._ref;if(TM(this._nodeDescription)){let u=a.loadAstNode(this._nodeDescription);this._ref=u??a.createLinkingError({reference:s,container:e,property:r},this._nodeDescription)}else if(this._ref===void 0){this._ref=IO;let u=zx(e).$document,h=a.getLinkedNode({reference:s,container:e,property:r});if(h.error&&u&&u.state{"use strict";Gl();o(Gde,"isNamed");Nb=class{static{o(this,"DefaultNameProvider")}getName(e){if(Gde(e))return e.name}getNameNode(e){return Xx(e.$cstNode,"name")}}});var Mb,BO=N(()=>{"use strict";Gl();Pl();us();Bl();Ws();jc();Mb=class{static{o(this,"DefaultReferences")}constructor(e){this.nameProvider=e.references.NameProvider,this.index=e.shared.workspace.IndexManager,this.nodeLocator=e.workspace.AstNodeLocator}findDeclaration(e){if(e){let r=cI(e),n=e.astNode;if(r&&n){let i=n[r.feature];if(ba(i))return i.ref;if(Array.isArray(i)){for(let a of i)if(ba(a)&&a.$refNode&&a.$refNode.offset<=e.offset&&a.$refNode.end>=e.end)return a.ref}}if(n){let i=this.nameProvider.getNameNode(n);if(i&&(i===e||kM(e,i)))return n}}}findDeclarationNode(e){let r=this.findDeclaration(e);if(r?.$cstNode){let n=this.nameProvider.getNameNode(r);return n??r.$cstNode}}findReferences(e,r){let n=[];if(r.includeDeclaration){let a=this.getReferenceToSelf(e);a&&n.push(a)}let i=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return r.documentUri&&(i=i.filter(a=>ys.equals(a.sourceUri,r.documentUri))),n.push(...i),en(n)}getReferenceToSelf(e){let r=this.nameProvider.getNameNode(e);if(r){let n=Va(e),i=this.nodeLocator.getAstNodePath(e);return{sourceUri:n.uri,sourcePath:i,targetUri:n.uri,targetPath:i,segment:Cp(r),local:!0}}}}});var Vl,Yp,V1=N(()=>{"use strict";Ws();Vl=class{static{o(this,"MultiMap")}constructor(e){if(this.map=new Map,e)for(let[r,n]of e)this.add(r,n)}get size(){return gg.sum(en(this.map.values()).map(e=>e.length))}clear(){this.map.clear()}delete(e,r){if(r===void 0)return this.map.delete(e);{let n=this.map.get(e);if(n){let i=n.indexOf(r);if(i>=0)return n.length===1?this.map.delete(e):n.splice(i,1),!0}return!1}}get(e){var r;return(r=this.map.get(e))!==null&&r!==void 0?r:[]}has(e,r){if(r===void 0)return this.map.has(e);{let n=this.map.get(e);return n?n.indexOf(r)>=0:!1}}add(e,r){return this.map.has(e)?this.map.get(e).push(r):this.map.set(e,[r]),this}addAll(e,r){return this.map.has(e)?this.map.get(e).push(...r):this.map.set(e,Array.from(r)),this}forEach(e){this.map.forEach((r,n)=>r.forEach(i=>e(i,n,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return en(this.map.entries()).flatMap(([e,r])=>r.map(n=>[e,n]))}keys(){return en(this.map.keys())}values(){return en(this.map.values()).flat()}entriesGroupedByKey(){return en(this.map.entries())}},Yp=class{static{o(this,"BiMap")}get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(let[r,n]of e)this.set(r,n)}clear(){this.map.clear(),this.inverse.clear()}set(e,r){return this.map.set(e,r),this.inverse.set(r,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){let r=this.map.get(e);return r!==void 0?(this.map.delete(e),this.inverse.delete(r),!0):!1}}});var Ib,FO=N(()=>{"use strict";el();us();V1();tl();Ib=class{static{o(this,"DefaultScopeComputation")}constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,r=vr.CancellationToken.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,r)}async computeExportsForNode(e,r,n=Vx,i=vr.CancellationToken.None){let a=[];this.exportNode(e,a,r);for(let s of n(e))await Ti(i),this.exportNode(s,a,r);return a}exportNode(e,r,n){let i=this.nameProvider.getName(e);i&&r.push(this.descriptions.createDescription(e,i,n))}async computeLocalScopes(e,r=vr.CancellationToken.None){let n=e.parseResult.value,i=new Vl;for(let a of Uc(n))await Ti(r),this.processNode(a,e,i);return i}processNode(e,r,n){let i=e.$container;if(i){let a=this.nameProvider.getName(e);a&&n.add(i,this.descriptions.createDescription(e,a,r))}}}});var U1,Ob,tXe,$O=N(()=>{"use strict";Ws();U1=class{static{o(this,"StreamScope")}constructor(e,r,n){var i;this.elements=e,this.outerScope=r,this.caseInsensitive=(i=n?.caseInsensitive)!==null&&i!==void 0?i:!1}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){let r=this.caseInsensitive?this.elements.find(n=>n.name.toLowerCase()===e.toLowerCase()):this.elements.find(n=>n.name===e);if(r)return r;if(this.outerScope)return this.outerScope.getElement(e)}},Ob=class{static{o(this,"MapScope")}constructor(e,r,n){var i;this.elements=new Map,this.caseInsensitive=(i=n?.caseInsensitive)!==null&&i!==void 0?i:!1;for(let a of e){let s=this.caseInsensitive?a.name.toLowerCase():a.name;this.elements.set(s,a)}this.outerScope=r}getElement(e){let r=this.caseInsensitive?e.toLowerCase():e,n=this.elements.get(r);if(n)return n;if(this.outerScope)return this.outerScope.getElement(e)}getAllElements(){let e=en(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}},tXe={getElement(){},getAllElements(){return Rx}}});var H1,Pb,Xp,WS,W1,qS=N(()=>{"use strict";H1=class{static{o(this,"DisposableCache")}constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(e=>e.dispose())}throwIfDisposed(){if(this.isDisposed)throw new Error("This cache has already been disposed")}},Pb=class extends H1{static{o(this,"SimpleCache")}constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,r){this.throwIfDisposed(),this.cache.set(e,r)}get(e,r){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(r){let n=r();return this.cache.set(e,n),n}else return}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}},Xp=class extends H1{static{o(this,"ContextCache")}constructor(e){super(),this.cache=new Map,this.converter=e??(r=>r)}has(e,r){return this.throwIfDisposed(),this.cacheForContext(e).has(r)}set(e,r,n){this.throwIfDisposed(),this.cacheForContext(e).set(r,n)}get(e,r,n){this.throwIfDisposed();let i=this.cacheForContext(e);if(i.has(r))return i.get(r);if(n){let a=n();return i.set(r,a),a}else return}delete(e,r){return this.throwIfDisposed(),this.cacheForContext(e).delete(r)}clear(e){if(this.throwIfDisposed(),e){let r=this.converter(e);this.cache.delete(r)}else this.cache.clear()}cacheForContext(e){let r=this.converter(e),n=this.cache.get(r);return n||(n=new Map,this.cache.set(r,n)),n}},WS=class extends Xp{static{o(this,"DocumentCache")}constructor(e,r){super(n=>n.toString()),r?(this.toDispose.push(e.workspace.DocumentBuilder.onDocumentPhase(r,n=>{this.clear(n.uri.toString())})),this.toDispose.push(e.workspace.DocumentBuilder.onUpdate((n,i)=>{for(let a of i)this.clear(a)}))):this.toDispose.push(e.workspace.DocumentBuilder.onUpdate((n,i)=>{let a=n.concat(i);for(let s of a)this.clear(s)}))}},W1=class extends Pb{static{o(this,"WorkspaceCache")}constructor(e,r){super(),r?(this.toDispose.push(e.workspace.DocumentBuilder.onBuildPhase(r,()=>{this.clear()})),this.toDispose.push(e.workspace.DocumentBuilder.onUpdate((n,i)=>{i.length>0&&this.clear()}))):this.toDispose.push(e.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}}});var Bb,GO=N(()=>{"use strict";$O();us();Ws();qS();Bb=class{static{o(this,"DefaultScopeProvider")}constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new W1(e.shared)}getScope(e){let r=[],n=this.reflection.getReferenceType(e),i=Va(e.container).precomputedScopes;if(i){let s=e.container;do{let l=i.get(s);l.length>0&&r.push(en(l).filter(u=>this.reflection.isSubtype(u.type,n))),s=s.$container}while(s)}let a=this.getGlobalScope(n,e);for(let s=r.length-1;s>=0;s--)a=this.createScope(r[s],a);return a}createScope(e,r,n){return new U1(en(e),r,n)}createScopeForNodes(e,r,n){let i=en(e).map(a=>{let s=this.nameProvider.getName(a);if(s)return this.descriptions.createDescription(a,s)}).nonNullable();return new U1(i,r,n)}getGlobalScope(e,r){return this.globalScopeCache.get(e,()=>new Ob(this.indexManager.allElements(e)))}}});function zO(t){return typeof t.$comment=="string"}function zde(t){return typeof t=="object"&&!!t&&("$ref"in t||"$error"in t)}var Fb,YS=N(()=>{"use strict";MO();Pl();us();Gl();o(zO,"isAstNodeWithComment");o(zde,"isIntermediateReference");Fb=class{static{o(this,"DefaultJsonSerializer")}constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,r){let n=r??{},i=r?.replacer,a=o((l,u)=>this.replacer(l,u,n),"defaultReplacer"),s=i?(l,u)=>i(l,u,a):a;try{return this.currentDocument=Va(e),JSON.stringify(e,s,r?.space)}finally{this.currentDocument=void 0}}deserialize(e,r){let n=r??{},i=JSON.parse(e);return this.linkNode(i,i,n),i}replacer(e,r,{refText:n,sourceText:i,textRegions:a,comments:s,uriConverter:l}){var u,h,f,d;if(!this.ignoreProperties.has(e))if(ba(r)){let p=r.ref,m=n?r.$refText:void 0;if(p){let g=Va(p),y="";this.currentDocument&&this.currentDocument!==g&&(l?y=l(g.uri,r):y=g.uri.toString());let x=this.astNodeLocator.getAstNodePath(p);return{$ref:`${y}#${x}`,$refText:m}}else return{$error:(h=(u=r.error)===null||u===void 0?void 0:u.message)!==null&&h!==void 0?h:"Could not resolve reference",$refText:m}}else if(ci(r)){let p;if(a&&(p=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},r)),(!e||r.$document)&&p?.$textRegion&&(p.$textRegion.documentURI=(f=this.currentDocument)===null||f===void 0?void 0:f.uri.toString())),i&&!e&&(p??(p=Object.assign({},r)),p.$sourceText=(d=r.$cstNode)===null||d===void 0?void 0:d.text),s){p??(p=Object.assign({},r));let m=this.commentProvider.getComment(r);m&&(p.$comment=m.replace(/\r/g,""))}return p??r}else return r}addAstNodeRegionWithAssignmentsTo(e){let r=o(n=>({offset:n.offset,end:n.end,length:n.length,range:n.range}),"createDocumentSegment");if(e.$cstNode){let n=e.$textRegion=r(e.$cstNode),i=n.assignments={};return Object.keys(e).filter(a=>!a.startsWith("$")).forEach(a=>{let s=aI(e.$cstNode,a).map(r);s.length!==0&&(i[a]=s)}),e}}linkNode(e,r,n,i,a,s){for(let[u,h]of Object.entries(e))if(Array.isArray(h))for(let f=0;f{"use strict";jc();$b=class{static{o(this,"DefaultServiceRegistry")}get map(){return this.fileExtensionMap}constructor(e){this.languageIdMap=new Map,this.fileExtensionMap=new Map,this.textDocuments=e?.workspace.TextDocuments}register(e){let r=e.LanguageMetaData;for(let n of r.fileExtensions)this.fileExtensionMap.has(n)&&console.warn(`The file extension ${n} is used by multiple languages. It is now assigned to '${r.languageId}'.`),this.fileExtensionMap.set(n,e);this.languageIdMap.set(r.languageId,e),this.languageIdMap.size===1?this.singleton=e:this.singleton=void 0}getServices(e){var r,n;if(this.singleton!==void 0)return this.singleton;if(this.languageIdMap.size===0)throw new Error("The service registry is empty. Use `register` to register the services of a language.");let i=(n=(r=this.textDocuments)===null||r===void 0?void 0:r.get(e))===null||n===void 0?void 0:n.languageId;if(i!==void 0){let l=this.languageIdMap.get(i);if(l)return l}let a=ys.extname(e),s=this.fileExtensionMap.get(a);if(!s)throw i?new Error(`The service registry contains no services for the extension '${a}' for language '${i}'.`):new Error(`The service registry contains no services for the extension '${a}'.`);return s}hasServices(e){try{return this.getServices(e),!0}catch{return!1}}get all(){return Array.from(this.languageIdMap.values())}}});function jp(t){return{code:t}}var q1,Gb,zb=N(()=>{"use strict";yo();V1();tl();Ws();o(jp,"diagnosticData");(function(t){t.all=["fast","slow","built-in"]})(q1||(q1={}));Gb=class{static{o(this,"ValidationRegistry")}constructor(e){this.entries=new Vl,this.entriesBefore=[],this.entriesAfter=[],this.reflection=e.shared.AstReflection}register(e,r=this,n="fast"){if(n==="built-in")throw new Error("The 'built-in' category is reserved for lexer, parser, and linker errors.");for(let[i,a]of Object.entries(e)){let s=a;if(Array.isArray(s))for(let l of s){let u={check:this.wrapValidationException(l,r),category:n};this.addEntry(i,u)}else if(typeof s=="function"){let l={check:this.wrapValidationException(s,r),category:n};this.addEntry(i,l)}else zc(s)}}wrapValidationException(e,r){return async(n,i,a)=>{await this.handleException(()=>e.call(r,n,i,a),"An error occurred during validation",i,n)}}async handleException(e,r,n,i){try{await e()}catch(a){if(Xc(a))throw a;console.error(`${r}:`,a),a instanceof Error&&a.stack&&console.error(a.stack);let s=a instanceof Error?a.message:String(a);n("error",`${r}: ${s}`,{node:i})}}addEntry(e,r){if(e==="AstNode"){this.entries.add("AstNode",r);return}for(let n of this.reflection.getAllSubTypes(e))this.entries.add(n,r)}getChecks(e,r){let n=en(this.entries.get(e)).concat(this.entries.get("AstNode"));return r&&(n=n.filter(i=>r.includes(i.category))),n.map(i=>i.check)}registerBeforeDocument(e,r=this){this.entriesBefore.push(this.wrapPreparationException(e,"An error occurred during set-up of the validation",r))}registerAfterDocument(e,r=this){this.entriesAfter.push(this.wrapPreparationException(e,"An error occurred during tear-down of the validation",r))}wrapPreparationException(e,r,n){return async(i,a,s,l)=>{await this.handleException(()=>e.call(n,i,a,s,l),r,a,i)}}get checksBefore(){return this.entriesBefore}get checksAfter(){return this.entriesAfter}}});function Vde(t){if(t.range)return t.range;let e;return typeof t.property=="string"?e=Xx(t.node.$cstNode,t.property,t.index):typeof t.keyword=="string"&&(e=oI(t.node.$cstNode,t.keyword,t.index)),e??(e=t.node.$cstNode),e?e.range:{start:{line:0,character:0},end:{line:0,character:0}}}function XS(t){switch(t){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw new Error("Invalid diagnostic severity: "+t)}}function Ude(t){switch(t){case"error":return jp(rl.LexingError);case"warning":return jp(rl.LexingWarning);case"info":return jp(rl.LexingInfo);case"hint":return jp(rl.LexingHint);default:throw new Error("Invalid diagnostic severity: "+t)}}var Vb,rl,UO=N(()=>{"use strict";el();Gl();us();Bl();tl();zb();Vb=class{static{o(this,"DefaultDocumentValidator")}constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,r={},n=vr.CancellationToken.None){let i=e.parseResult,a=[];if(await Ti(n),(!r.categories||r.categories.includes("built-in"))&&(this.processLexingErrors(i,a,r),r.stopAfterLexingErrors&&a.some(s=>{var l;return((l=s.data)===null||l===void 0?void 0:l.code)===rl.LexingError})||(this.processParsingErrors(i,a,r),r.stopAfterParsingErrors&&a.some(s=>{var l;return((l=s.data)===null||l===void 0?void 0:l.code)===rl.ParsingError}))||(this.processLinkingErrors(e,a,r),r.stopAfterLinkingErrors&&a.some(s=>{var l;return((l=s.data)===null||l===void 0?void 0:l.code)===rl.LinkingError}))))return a;try{a.push(...await this.validateAst(i.value,r,n))}catch(s){if(Xc(s))throw s;console.error("An error occurred during validation:",s)}return await Ti(n),a}processLexingErrors(e,r,n){var i,a,s;let l=[...e.lexerErrors,...(a=(i=e.lexerReport)===null||i===void 0?void 0:i.diagnostics)!==null&&a!==void 0?a:[]];for(let u of l){let h=(s=u.severity)!==null&&s!==void 0?s:"error",f={severity:XS(h),range:{start:{line:u.line-1,character:u.column-1},end:{line:u.line-1,character:u.column+u.length-1}},message:u.message,data:Ude(h),source:this.getSource()};r.push(f)}}processParsingErrors(e,r,n){for(let i of e.parserErrors){let a;if(isNaN(i.token.startOffset)){if("previousToken"in i){let s=i.previousToken;if(isNaN(s.startOffset)){let l={line:0,character:0};a={start:l,end:l}}else{let l={line:s.endLine-1,character:s.endColumn};a={start:l,end:l}}}}else a=yg(i.token);if(a){let s={severity:XS("error"),range:a,message:i.message,data:jp(rl.ParsingError),source:this.getSource()};r.push(s)}}}processLinkingErrors(e,r,n){for(let i of e.references){let a=i.error;if(a){let s={node:a.container,property:a.property,index:a.index,data:{code:rl.LinkingError,containerType:a.container.$type,property:a.property,refText:a.reference.$refText}};r.push(this.toDiagnostic("error",a.message,s))}}}async validateAst(e,r,n=vr.CancellationToken.None){let i=[],a=o((s,l,u)=>{i.push(this.toDiagnostic(s,l,u))},"acceptor");return await this.validateAstBefore(e,r,a,n),await this.validateAstNodes(e,r,a,n),await this.validateAstAfter(e,r,a,n),i}async validateAstBefore(e,r,n,i=vr.CancellationToken.None){var a;let s=this.validationRegistry.checksBefore;for(let l of s)await Ti(i),await l(e,n,(a=r.categories)!==null&&a!==void 0?a:[],i)}async validateAstNodes(e,r,n,i=vr.CancellationToken.None){await Promise.all(Jo(e).map(async a=>{await Ti(i);let s=this.validationRegistry.getChecks(a.$type,r.categories);for(let l of s)await l(a,n,i)}))}async validateAstAfter(e,r,n,i=vr.CancellationToken.None){var a;let s=this.validationRegistry.checksAfter;for(let l of s)await Ti(i),await l(e,n,(a=r.categories)!==null&&a!==void 0?a:[],i)}toDiagnostic(e,r,n){return{message:r,range:Vde(n),severity:XS(e),code:n.code,codeDescription:n.codeDescription,tags:n.tags,relatedInformation:n.relatedInformation,data:n.data,source:this.getSource()}}getSource(){return this.metadata.languageId}};o(Vde,"getDiagnosticRange");o(XS,"toDiagnosticSeverity");o(Ude,"toDiagnosticData");(function(t){t.LexingError="lexing-error",t.LexingWarning="lexing-warning",t.LexingInfo="lexing-info",t.LexingHint="lexing-hint",t.ParsingError="parsing-error",t.LinkingError="linking-error"})(rl||(rl={}))});var Ub,Hb,HO=N(()=>{"use strict";el();Pl();us();Bl();tl();jc();Ub=class{static{o(this,"DefaultAstNodeDescriptionProvider")}constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,r,n){let i=n??Va(e);r??(r=this.nameProvider.getName(e));let a=this.astNodeLocator.getAstNodePath(e);if(!r)throw new Error(`Node at path ${a} has no name.`);let s,l=o(()=>{var u;return s??(s=Cp((u=this.nameProvider.getNameNode(e))!==null&&u!==void 0?u:e.$cstNode))},"nameSegmentGetter");return{node:e,name:r,get nameSegment(){return l()},selectionSegment:Cp(e.$cstNode),type:e.$type,documentUri:i.uri,path:a}}},Hb=class{static{o(this,"DefaultReferenceDescriptionProvider")}constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,r=vr.CancellationToken.None){let n=[],i=e.parseResult.value;for(let a of Jo(i))await Ti(r),n1(a).filter(s=>!Ep(s)).forEach(s=>{let l=this.createDescription(s);l&&n.push(l)});return n}createDescription(e){let r=e.reference.$nodeDescription,n=e.reference.$refNode;if(!r||!n)return;let i=Va(e.container).uri;return{sourceUri:i,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:r.documentUri,targetPath:r.path,segment:Cp(n),local:ys.equals(r.documentUri,i)}}}});var Wb,WO=N(()=>{"use strict";Wb=class{static{o(this,"DefaultAstNodeLocator")}constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){let r=this.getAstNodePath(e.$container),n=this.getPathSegment(e);return r+this.segmentSeparator+n}return""}getPathSegment({$containerProperty:e,$containerIndex:r}){if(!e)throw new Error("Missing '$containerProperty' in AST node.");return r!==void 0?e+this.indexSeparator+r:e}getAstNode(e,r){return r.split(this.segmentSeparator).reduce((i,a)=>{if(!i||a.length===0)return i;let s=a.indexOf(this.indexSeparator);if(s>0){let l=a.substring(0,s),u=parseInt(a.substring(s+1)),h=i[l];return h?.[u]}return i[a]},e)}}});var Jn={};var jS=N(()=>{"use strict";Sr(Jn,ja(_O(),1))});var qb,qO=N(()=>{"use strict";jS();tl();qb=class{static{o(this,"DefaultConfigurationProvider")}constructor(e){this._ready=new ms,this.settings={},this.workspaceConfig=!1,this.onConfigurationSectionUpdateEmitter=new Jn.Emitter,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var r,n;this.workspaceConfig=(n=(r=e.capabilities.workspace)===null||r===void 0?void 0:r.configuration)!==null&&n!==void 0?n:!1}async initialized(e){if(this.workspaceConfig){if(e.register){let r=this.serviceRegistry.all;e.register({section:r.map(n=>this.toSectionName(n.LanguageMetaData.languageId))})}if(e.fetchConfiguration){let r=this.serviceRegistry.all.map(i=>({section:this.toSectionName(i.LanguageMetaData.languageId)})),n=await e.fetchConfiguration(r);r.forEach((i,a)=>{this.updateSectionConfiguration(i.section,n[a])})}}this._ready.resolve()}updateConfiguration(e){e.settings&&Object.keys(e.settings).forEach(r=>{let n=e.settings[r];this.updateSectionConfiguration(r,n),this.onConfigurationSectionUpdateEmitter.fire({section:r,configuration:n})})}updateSectionConfiguration(e,r){this.settings[e]=r}async getConfiguration(e,r){await this.ready;let n=this.toSectionName(e);if(this.settings[n])return this.settings[n][r]}toSectionName(e){return`${e}`}get onConfigurationSectionUpdate(){return this.onConfigurationSectionUpdateEmitter.event}}});var Pf,YO=N(()=>{"use strict";(function(t){function e(r){return{dispose:o(async()=>await r(),"dispose")}}o(e,"create"),t.create=e})(Pf||(Pf={}))});var Yb,XO=N(()=>{"use strict";el();YO();V1();tl();Ws();zb();z1();Yb=class{static{o(this,"DefaultDocumentBuilder")}constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new Vl,this.documentPhaseListeners=new Vl,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=Cn.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.textDocuments=e.workspace.TextDocuments,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,r={},n=vr.CancellationToken.None){var i,a;for(let s of e){let l=s.uri.toString();if(s.state===Cn.Validated){if(typeof r.validation=="boolean"&&r.validation)s.state=Cn.IndexedReferences,s.diagnostics=void 0,this.buildState.delete(l);else if(typeof r.validation=="object"){let u=this.buildState.get(l),h=(i=u?.result)===null||i===void 0?void 0:i.validationChecks;if(h){let d=((a=r.validation.categories)!==null&&a!==void 0?a:q1.all).filter(p=>!h.includes(p));d.length>0&&(this.buildState.set(l,{completed:!1,options:{validation:Object.assign(Object.assign({},r.validation),{categories:d})},result:u.result}),s.state=Cn.IndexedReferences)}}}else this.buildState.delete(l)}this.currentState=Cn.Changed,await this.emitUpdate(e.map(s=>s.uri),[]),await this.buildDocuments(e,r,n)}async update(e,r,n=vr.CancellationToken.None){this.currentState=Cn.Changed;for(let s of r)this.langiumDocuments.deleteDocument(s),this.buildState.delete(s.toString()),this.indexManager.remove(s);for(let s of e){if(!this.langiumDocuments.invalidateDocument(s)){let u=this.langiumDocumentFactory.fromModel({$type:"INVALID"},s);u.state=Cn.Changed,this.langiumDocuments.addDocument(u)}this.buildState.delete(s.toString())}let i=en(e).concat(r).map(s=>s.toString()).toSet();this.langiumDocuments.all.filter(s=>!i.has(s.uri.toString())&&this.shouldRelink(s,i)).forEach(s=>{this.serviceRegistry.getServices(s.uri).references.Linker.unlink(s),s.state=Math.min(s.state,Cn.ComputedScopes),s.diagnostics=void 0}),await this.emitUpdate(e,r),await Ti(n);let a=this.sortDocuments(this.langiumDocuments.all.filter(s=>{var l;return s.staten(e,r)))}sortDocuments(e){let r=0,n=e.length-1;for(;r=0&&!this.hasTextDocument(e[n]);)n--;rn.error!==void 0)?!0:this.indexManager.isAffected(e,r)}onUpdate(e){return this.updateListeners.push(e),Pf.create(()=>{let r=this.updateListeners.indexOf(e);r>=0&&this.updateListeners.splice(r,1)})}async buildDocuments(e,r,n){this.prepareBuild(e,r),await this.runCancelable(e,Cn.Parsed,n,a=>this.langiumDocumentFactory.update(a,n)),await this.runCancelable(e,Cn.IndexedContent,n,a=>this.indexManager.updateContent(a,n)),await this.runCancelable(e,Cn.ComputedScopes,n,async a=>{let s=this.serviceRegistry.getServices(a.uri).references.ScopeComputation;a.precomputedScopes=await s.computeLocalScopes(a,n)}),await this.runCancelable(e,Cn.Linked,n,a=>this.serviceRegistry.getServices(a.uri).references.Linker.link(a,n)),await this.runCancelable(e,Cn.IndexedReferences,n,a=>this.indexManager.updateReferences(a,n));let i=e.filter(a=>this.shouldValidate(a));await this.runCancelable(i,Cn.Validated,n,a=>this.validate(a,n));for(let a of e){let s=this.buildState.get(a.uri.toString());s&&(s.completed=!0)}}prepareBuild(e,r){for(let n of e){let i=n.uri.toString(),a=this.buildState.get(i);(!a||a.completed)&&this.buildState.set(i,{completed:!1,options:r,result:a?.result})}}async runCancelable(e,r,n,i){let a=e.filter(l=>l.statel.state===r);await this.notifyBuildPhase(s,r,n),this.currentState=r}onBuildPhase(e,r){return this.buildPhaseListeners.add(e,r),Pf.create(()=>{this.buildPhaseListeners.delete(e,r)})}onDocumentPhase(e,r){return this.documentPhaseListeners.add(e,r),Pf.create(()=>{this.documentPhaseListeners.delete(e,r)})}waitUntil(e,r,n){let i;if(r&&"path"in r?i=r:n=r,n??(n=vr.CancellationToken.None),i){let a=this.langiumDocuments.getDocument(i);if(a&&a.state>e)return Promise.resolve(i)}return this.currentState>=e?Promise.resolve(void 0):n.isCancellationRequested?Promise.reject(Yc):new Promise((a,s)=>{let l=this.onBuildPhase(e,()=>{if(l.dispose(),u.dispose(),i){let h=this.langiumDocuments.getDocument(i);a(h?.uri)}else a(void 0)}),u=n.onCancellationRequested(()=>{l.dispose(),u.dispose(),s(Yc)})})}async notifyDocumentPhase(e,r,n){let a=this.documentPhaseListeners.get(r).slice();for(let s of a)try{await s(e,n)}catch(l){if(!Xc(l))throw l}}async notifyBuildPhase(e,r,n){if(e.length===0)return;let a=this.buildPhaseListeners.get(r).slice();for(let s of a)await Ti(n),await s(e,n)}shouldValidate(e){return!!this.getBuildOptions(e).validation}async validate(e,r){var n,i;let a=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,s=this.getBuildOptions(e).validation,l=typeof s=="object"?s:void 0,u=await a.validateDocument(e,l,r);e.diagnostics?e.diagnostics.push(...u):e.diagnostics=u;let h=this.buildState.get(e.uri.toString());if(h){(n=h.result)!==null&&n!==void 0||(h.result={});let f=(i=l?.categories)!==null&&i!==void 0?i:q1.all;h.result.validationChecks?h.result.validationChecks.push(...f):h.result.validationChecks=[...f]}}getBuildOptions(e){var r,n;return(n=(r=this.buildState.get(e.uri.toString()))===null||r===void 0?void 0:r.options)!==null&&n!==void 0?n:{}}}});var Xb,jO=N(()=>{"use strict";us();qS();el();Ws();jc();Xb=class{static{o(this,"DefaultIndexManager")}constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new Xp,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,r){let n=Va(e).uri,i=[];return this.referenceIndex.forEach(a=>{a.forEach(s=>{ys.equals(s.targetUri,n)&&s.targetPath===r&&i.push(s)})}),en(i)}allElements(e,r){let n=en(this.symbolIndex.keys());return r&&(n=n.filter(i=>!r||r.has(i))),n.map(i=>this.getFileDescriptions(i,e)).flat()}getFileDescriptions(e,r){var n;return r?this.symbolByTypeIndex.get(e,r,()=>{var a;return((a=this.symbolIndex.get(e))!==null&&a!==void 0?a:[]).filter(l=>this.astReflection.isSubtype(l.type,r))}):(n=this.symbolIndex.get(e))!==null&&n!==void 0?n:[]}remove(e){let r=e.toString();this.symbolIndex.delete(r),this.symbolByTypeIndex.clear(r),this.referenceIndex.delete(r)}async updateContent(e,r=vr.CancellationToken.None){let i=await this.serviceRegistry.getServices(e.uri).references.ScopeComputation.computeExports(e,r),a=e.uri.toString();this.symbolIndex.set(a,i),this.symbolByTypeIndex.clear(a)}async updateReferences(e,r=vr.CancellationToken.None){let i=await this.serviceRegistry.getServices(e.uri).workspace.ReferenceDescriptionProvider.createDescriptions(e,r);this.referenceIndex.set(e.uri.toString(),i)}isAffected(e,r){let n=this.referenceIndex.get(e.uri.toString());return n?n.some(i=>!i.local&&r.has(i.targetUri.toString())):!1}}});var jb,KO=N(()=>{"use strict";el();tl();jc();jb=class{static{o(this,"DefaultWorkspaceManager")}constructor(e){this.initialBuildOptions={},this._ready=new ms,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}get workspaceFolders(){return this.folders}initialize(e){var r;this.folders=(r=e.workspaceFolders)!==null&&r!==void 0?r:void 0}initialized(e){return this.mutex.write(r=>{var n;return this.initializeWorkspace((n=this.folders)!==null&&n!==void 0?n:[],r)})}async initializeWorkspace(e,r=vr.CancellationToken.None){let n=await this.performStartup(e);await Ti(r),await this.documentBuilder.build(n,this.initialBuildOptions,r)}async performStartup(e){let r=this.serviceRegistry.all.flatMap(a=>a.LanguageMetaData.fileExtensions),n=[],i=o(a=>{n.push(a),this.langiumDocuments.hasDocument(a.uri)||this.langiumDocuments.addDocument(a)},"collector");return await this.loadAdditionalDocuments(e,i),await Promise.all(e.map(a=>[a,this.getRootFolder(a)]).map(async a=>this.traverseFolder(...a,r,i))),this._ready.resolve(),n}loadAdditionalDocuments(e,r){return Promise.resolve()}getRootFolder(e){return gs.parse(e.uri)}async traverseFolder(e,r,n,i){let a=await this.fileSystemProvider.readDirectory(r);await Promise.all(a.map(async s=>{if(this.includeEntry(e,s,n)){if(s.isDirectory)await this.traverseFolder(e,s.uri,n,i);else if(s.isFile){let l=await this.langiumDocuments.getOrCreateDocument(s.uri);i(l)}}}))}includeEntry(e,r,n){let i=ys.basename(r.uri);if(i.startsWith("."))return!1;if(r.isDirectory)return i!=="node_modules"&&i!=="out";if(r.isFile){let a=ys.extname(r.uri);return n.includes(a)}return!1}}});function QS(t){return Array.isArray(t)&&(t.length===0||"name"in t[0])}function ZO(t){return t&&"modes"in t&&"defaultMode"in t}function QO(t){return!QS(t)&&!ZO(t)}var Kb,KS,Kp,ZS=N(()=>{"use strict";Mf();Kb=class{static{o(this,"DefaultLexerErrorMessageProvider")}buildUnexpectedCharactersMessage(e,r,n,i,a){return y1.buildUnexpectedCharactersMessage(e,r,n,i,a)}buildUnableToPopLexerModeMessage(e){return y1.buildUnableToPopLexerModeMessage(e)}},KS={mode:"full"},Kp=class{static{o(this,"DefaultLexer")}constructor(e){this.errorMessageProvider=e.parser.LexerErrorMessageProvider,this.tokenBuilder=e.parser.TokenBuilder;let r=this.tokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(r);let n=QO(r)?Object.values(r):r,i=e.LanguageMetaData.mode==="production";this.chevrotainLexer=new Qn(n,{positionTracking:"full",skipValidations:i,errorMessageProvider:this.errorMessageProvider})}get definition(){return this.tokenTypes}tokenize(e,r=KS){var n,i,a;let s=this.chevrotainLexer.tokenize(e);return{tokens:s.tokens,errors:s.errors,hidden:(n=s.groups.hidden)!==null&&n!==void 0?n:[],report:(a=(i=this.tokenBuilder).flushLexingReport)===null||a===void 0?void 0:a.call(i,e)}}toTokenTypeDictionary(e){if(QO(e))return e;let r=ZO(e)?Object.values(e.modes).flat():e,n={};return r.forEach(i=>n[i.name]=i),n}};o(QS,"isTokenTypeArray");o(ZO,"isIMultiModeLexerDefinition");o(QO,"isTokenTypeDictionary")});function tP(t,e,r){let n,i;typeof t=="string"?(i=e,n=r):(i=t.range.start,n=e),i||(i=Kr.create(0,0));let a=qde(t),s=nP(n),l=nXe({lines:a,position:i,options:s});return lXe({index:0,tokens:l,position:i})}function rP(t,e){let r=nP(e),n=qde(t);if(n.length===0)return!1;let i=n[0],a=n[n.length-1],s=r.start,l=r.end;return!!s?.exec(i)&&!!l?.exec(a)}function qde(t){let e="";return typeof t=="string"?e=t:e=t.text,e.split(QM)}function nXe(t){var e,r,n;let i=[],a=t.position.line,s=t.position.character;for(let l=0;l=f.length){if(i.length>0){let m=Kr.create(a,s);i.push({type:"break",content:"",range:Br.create(m,m)})}}else{Hde.lastIndex=d;let m=Hde.exec(f);if(m){let g=m[0],y=m[1],x=Kr.create(a,s+d),v=Kr.create(a,s+d+g.length);i.push({type:"tag",content:y,range:Br.create(x,v)}),d+=g.length,d=eP(f,d)}if(d0&&i[i.length-1].type==="break"?i.slice(0,-1):i}function iXe(t,e,r,n){let i=[];if(t.length===0){let a=Kr.create(r,n),s=Kr.create(r,n+e.length);i.push({type:"text",content:e,range:Br.create(a,s)})}else{let a=0;for(let l of t){let u=l.index,h=e.substring(a,u);h.length>0&&i.push({type:"text",content:e.substring(a,u),range:Br.create(Kr.create(r,a+n),Kr.create(r,u+n))});let f=h.length+1,d=l[1];if(i.push({type:"inline-tag",content:d,range:Br.create(Kr.create(r,a+f+n),Kr.create(r,a+f+d.length+n))}),f+=d.length,l.length===4){f+=l[2].length;let p=l[3];i.push({type:"text",content:p,range:Br.create(Kr.create(r,a+f+n),Kr.create(r,a+f+p.length+n))})}else i.push({type:"text",content:"",range:Br.create(Kr.create(r,a+f+n),Kr.create(r,a+f+n))});a=u+l[0].length}let s=e.substring(a);s.length>0&&i.push({type:"text",content:s,range:Br.create(Kr.create(r,a+n),Kr.create(r,a+n+s.length))})}return i}function eP(t,e){let r=t.substring(e).match(aXe);return r?e+r.index:t.length}function oXe(t){let e=t.match(sXe);if(e&&typeof e.index=="number")return e.index}function lXe(t){var e,r,n,i;let a=Kr.create(t.position.line,t.position.character);if(t.tokens.length===0)return new JS([],Br.create(a,a));let s=[];for(;t.index0){let u=eP(e,a);s=e.substring(u),e=e.substring(0,a)}return(t==="linkcode"||t==="link"&&r.link==="code")&&(s=`\`${s}\``),(i=(n=r.renderLink)===null||n===void 0?void 0:n.call(r,e,s))!==null&&i!==void 0?i:dXe(e,s)}}function dXe(t,e){try{return gs.parse(t,!0),`[${e}](${t})`}catch{return t}}function Wde(t){return t.endsWith(` `)?` `:` -`}var uue,U$e,q$e,Y$e,jE,cb,ub,KE,zI=N(()=>{"use strict";jM();Mg();Gc();o(BI,"parseJSDoc");o(FI,"isJSDoc");o(fue,"getLines");uue=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,U$e=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu;o(H$e,"tokenize");o(W$e,"buildInlineTokens");q$e=/\S/,Y$e=/\s*$/;o(PI,"skipWhitespace");o(X$e,"lastCharacter");o(j$e,"parseJSDocComment");o(K$e,"parseJSDocElement");o(Q$e,"appendEmptyLine");o(due,"parseJSDocText");o(Z$e,"parseJSDocInline");o(pue,"parseJSDocTag");o(mue,"parseJSDocLine");o($I,"normalizeOptions");o(OI,"normalizeOption");jE=class{static{o(this,"JSDocCommentImpl")}constructor(e,r){this.elements=e,this.range=r}getTag(e){return this.getAllTags().find(r=>r.name===e)}getTags(e){return this.getAllTags().filter(r=>r.name===e)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(let r of this.elements)if(e.length===0)e=r.toString();else{let n=r.toString();e+=hue(e)+n}return e.trim()}toMarkdown(e){let r="";for(let n of this.elements)if(r.length===0)r=n.toMarkdown(e);else{let i=n.toMarkdown(e);r+=hue(r)+i}return r.trim()}},cb=class{static{o(this,"JSDocTagImpl")}constructor(e,r,n,i){this.name=e,this.content=r,this.inline=n,this.range=i}toString(){let e=`@${this.name}`,r=this.content.toString();return this.content.inlines.length===1?e=`${e} ${r}`:this.content.inlines.length>1&&(e=`${e} -${r}`),this.inline?`{${e}}`:e}toMarkdown(e){var r,n;return(n=(r=e?.renderTag)===null||r===void 0?void 0:r.call(e,this))!==null&&n!==void 0?n:this.toMarkdownDefault(e)}toMarkdownDefault(e){let r=this.content.toMarkdown(e);if(this.inline){let a=J$e(this.name,r,e??{});if(typeof a=="string")return a}let n="";e?.tag==="italic"||e?.tag===void 0?n="*":e?.tag==="bold"?n="**":e?.tag==="bold-italic"&&(n="***");let i=`${n}@${this.name}${n}`;return this.content.inlines.length===1?i=`${i} \u2014 ${r}`:this.content.inlines.length>1&&(i=`${i} -${r}`),this.inline?`{${i}}`:i}};o(J$e,"renderInlineTag");o(eze,"renderLinkDefault");ub=class{static{o(this,"JSDocTextImpl")}constructor(e,r){this.inlines=e,this.range=r}toString(){let e="";for(let r=0;rn.range.start.line&&(e+=` +`}var Hde,rXe,aXe,sXe,JS,Qb,Zb,e6,iP=N(()=>{"use strict";dO();s1();jc();o(tP,"parseJSDoc");o(rP,"isJSDoc");o(qde,"getLines");Hde=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,rXe=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu;o(nXe,"tokenize");o(iXe,"buildInlineTokens");aXe=/\S/,sXe=/\s*$/;o(eP,"skipWhitespace");o(oXe,"lastCharacter");o(lXe,"parseJSDocComment");o(cXe,"parseJSDocElement");o(uXe,"appendEmptyLine");o(Yde,"parseJSDocText");o(hXe,"parseJSDocInline");o(Xde,"parseJSDocTag");o(jde,"parseJSDocLine");o(nP,"normalizeOptions");o(JO,"normalizeOption");JS=class{static{o(this,"JSDocCommentImpl")}constructor(e,r){this.elements=e,this.range=r}getTag(e){return this.getAllTags().find(r=>r.name===e)}getTags(e){return this.getAllTags().filter(r=>r.name===e)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(let r of this.elements)if(e.length===0)e=r.toString();else{let n=r.toString();e+=Wde(e)+n}return e.trim()}toMarkdown(e){let r="";for(let n of this.elements)if(r.length===0)r=n.toMarkdown(e);else{let i=n.toMarkdown(e);r+=Wde(r)+i}return r.trim()}},Qb=class{static{o(this,"JSDocTagImpl")}constructor(e,r,n,i){this.name=e,this.content=r,this.inline=n,this.range=i}toString(){let e=`@${this.name}`,r=this.content.toString();return this.content.inlines.length===1?e=`${e} ${r}`:this.content.inlines.length>1&&(e=`${e} +${r}`),this.inline?`{${e}}`:e}toMarkdown(e){var r,n;return(n=(r=e?.renderTag)===null||r===void 0?void 0:r.call(e,this))!==null&&n!==void 0?n:this.toMarkdownDefault(e)}toMarkdownDefault(e){let r=this.content.toMarkdown(e);if(this.inline){let a=fXe(this.name,r,e??{});if(typeof a=="string")return a}let n="";e?.tag==="italic"||e?.tag===void 0?n="*":e?.tag==="bold"?n="**":e?.tag==="bold-italic"&&(n="***");let i=`${n}@${this.name}${n}`;return this.content.inlines.length===1?i=`${i} \u2014 ${r}`:this.content.inlines.length>1&&(i=`${i} +${r}`),this.inline?`{${i}}`:i}};o(fXe,"renderInlineTag");o(dXe,"renderLinkDefault");Zb=class{static{o(this,"JSDocTextImpl")}constructor(e,r){this.inlines=e,this.range=r}toString(){let e="";for(let r=0;rn.range.start.line&&(e+=` `)}return e}toMarkdown(e){let r="";for(let n=0;ni.range.start.line&&(r+=` -`)}return r}},KE=class{static{o(this,"JSDocLineImpl")}constructor(e,r){this.text=e,this.range=r}toString(){return this.text}toMarkdown(){return this.text}};o(hue,"fillNewlines")});var hb,GI=N(()=>{"use strict";as();zI();hb=class{static{o(this,"JSDocDocumentationProvider")}constructor(e){this.indexManager=e.shared.workspace.IndexManager,this.commentProvider=e.documentation.CommentProvider}getDocumentation(e){let r=this.commentProvider.getComment(e);if(r&&FI(r))return BI(r).toMarkdown({renderLink:o((i,a)=>this.documentationLinkRenderer(e,i,a),"renderLink"),renderTag:o(i=>this.documentationTagRenderer(e,i),"renderTag")})}documentationLinkRenderer(e,r,n){var i;let a=(i=this.findNameInPrecomputedScopes(e,r))!==null&&i!==void 0?i:this.findNameInGlobalScope(e,r);if(a&&a.nameSegment){let s=a.nameSegment.range.start.line+1,l=a.nameSegment.range.start.character+1,u=a.documentUri.with({fragment:`L${s},${l}`});return`[${n}](${u.toString()})`}else return}documentationTagRenderer(e,r){}findNameInPrecomputedScopes(e,r){let i=Oa(e).precomputedScopes;if(!i)return;let a=e;do{let l=i.get(a).find(u=>u.name===r);if(l)return l;a=a.$container}while(a)}findNameInGlobalScope(e,r){return this.indexManager.allElements().find(i=>i.name===r)}}});var fb,VI=N(()=>{"use strict";UE();Ml();fb=class{static{o(this,"DefaultCommentProvider")}constructor(e){this.grammarConfig=()=>e.parser.GrammarConfig}getComment(e){var r;return kI(e)?e.$comment:(r=oN(e.$cstNode,this.grammarConfig().multilineCommentRules))===null||r===void 0?void 0:r.text}}});var db,UI,HI,WI=N(()=>{"use strict";jo();WE();db=class{static{o(this,"DefaultAsyncParser")}constructor(e){this.syncParser=e.parser.LangiumParser}parse(e,r){return Promise.resolve(this.syncParser.parse(e))}},UI=class{static{o(this,"AbstractThreadedAsyncParser")}constructor(e){this.threadCount=8,this.terminationDelay=200,this.workerPool=[],this.queue=[],this.hydrator=e.serializer.Hydrator}initializeWorkers(){for(;this.workerPool.length{if(this.queue.length>0){let r=this.queue.shift();r&&(e.lock(),r.resolve(e))}}),this.workerPool.push(e)}}async parse(e,r){let n=await this.acquireParserWorker(r),i=new us,a,s=r.onCancellationRequested(()=>{a=setTimeout(()=>{this.terminateWorker(n)},this.terminationDelay)});return n.parse(e).then(l=>{let u=this.hydrator.hydrate(l);i.resolve(u)}).catch(l=>{i.reject(l)}).finally(()=>{s.dispose(),clearTimeout(a)}),i.promise}terminateWorker(e){e.terminate();let r=this.workerPool.indexOf(e);r>=0&&this.workerPool.splice(r,1)}async acquireParserWorker(e){this.initializeWorkers();for(let n of this.workerPool)if(n.ready)return n.lock(),n;let r=new us;return e.onCancellationRequested(()=>{let n=this.queue.indexOf(r);n>=0&&this.queue.splice(n,1),r.reject($c)}),this.queue.push(r),r.promise}},HI=class{static{o(this,"ParserWorker")}get ready(){return this._ready}get onReady(){return this.onReadyEmitter.event}constructor(e,r,n,i){this.onReadyEmitter=new Kn.Emitter,this.deferred=new us,this._ready=!0,this._parsing=!1,this.sendMessage=e,this._terminate=i,r(a=>{let s=a;this.deferred.resolve(s),this.unlock()}),n(a=>{this.deferred.reject(a),this.unlock()})}terminate(){this.deferred.reject($c),this._terminate()}lock(){this._ready=!1}unlock(){this._parsing=!1,this._ready=!0,this.onReadyEmitter.fire()}parse(e){if(this._parsing)throw new Error("Parser worker is busy");return this._parsing=!0,this.deferred=new us,this.sendMessage(e),this.deferred.promise}}});var pb,qI=N(()=>{"use strict";Xo();jo();pb=class{static{o(this,"DefaultWorkspaceLock")}constructor(){this.previousTokenSource=new vr.CancellationTokenSource,this.writeQueue=[],this.readQueue=[],this.done=!0}write(e){this.cancelWrite();let r=$E();return this.previousTokenSource=r,this.enqueue(this.writeQueue,e,r.token)}read(e){return this.enqueue(this.readQueue,e)}enqueue(e,r,n=vr.CancellationToken.None){let i=new us,a={action:r,deferred:i,cancellationToken:n};return e.push(a),this.performNextOperation(),i.promise}async performNextOperation(){if(!this.done)return;let e=[];if(this.writeQueue.length>0)e.push(this.writeQueue.shift());else if(this.readQueue.length>0)e.push(...this.readQueue.splice(0,this.readQueue.length));else return;this.done=!1,await Promise.all(e.map(async({action:r,deferred:n,cancellationToken:i})=>{try{let a=await Promise.resolve().then(()=>r(i));n.resolve(a)}catch(a){zc(a)?n.resolve(void 0):n.reject(a)}})),this.done=!0,this.performNextOperation()}cancelWrite(){this.previousTokenSource.cancel()}}});var mb,YI=N(()=>{"use strict";DE();Ic();Nl();as();m1();Ml();mb=class{static{o(this,"DefaultHydrator")}constructor(e){this.grammarElementIdMap=new Ep,this.tokenTypeIdMap=new Ep,this.grammar=e.Grammar,this.lexer=e.parser.Lexer,this.linker=e.references.Linker}dehydrate(e){return{lexerErrors:e.lexerErrors,lexerReport:e.lexerReport?this.dehydrateLexerReport(e.lexerReport):void 0,parserErrors:e.parserErrors.map(r=>Object.assign(Object.assign({},r),{message:r.message})),value:this.dehydrateAstNode(e.value,this.createDehyrationContext(e.value))}}dehydrateLexerReport(e){return e}createDehyrationContext(e){let r=new Map,n=new Map;for(let i of Yo(e))r.set(i,{});if(e.$cstNode)for(let i of rp(e.$cstNode))n.set(i,{});return{astNodes:r,cstNodes:n}}dehydrateAstNode(e,r){let n=r.astNodes.get(e);n.$type=e.$type,n.$containerIndex=e.$containerIndex,n.$containerProperty=e.$containerProperty,e.$cstNode!==void 0&&(n.$cstNode=this.dehydrateCstNode(e.$cstNode,r));for(let[i,a]of Object.entries(e))if(!i.startsWith("$"))if(Array.isArray(a)){let s=[];n[i]=s;for(let l of a)si(l)?s.push(this.dehydrateAstNode(l,r)):ma(l)?s.push(this.dehydrateReference(l,r)):s.push(l)}else si(a)?n[i]=this.dehydrateAstNode(a,r):ma(a)?n[i]=this.dehydrateReference(a,r):a!==void 0&&(n[i]=a);return n}dehydrateReference(e,r){let n={};return n.$refText=e.$refText,e.$refNode&&(n.$refNode=r.cstNodes.get(e.$refNode)),n}dehydrateCstNode(e,r){let n=r.cstNodes.get(e);return V2(e)?n.fullText=e.fullText:n.grammarSource=this.getGrammarElementId(e.grammarSource),n.hidden=e.hidden,n.astNode=r.astNodes.get(e.astNode),Rl(e)?n.content=e.content.map(i=>this.dehydrateCstNode(i,r)):of(e)&&(n.tokenType=e.tokenType.name,n.offset=e.offset,n.length=e.length,n.startLine=e.range.start.line,n.startColumn=e.range.start.character,n.endLine=e.range.end.line,n.endColumn=e.range.end.character),n}hydrate(e){let r=e.value,n=this.createHydrationContext(r);return"$cstNode"in r&&this.hydrateCstNode(r.$cstNode,n),{lexerErrors:e.lexerErrors,lexerReport:e.lexerReport,parserErrors:e.parserErrors,value:this.hydrateAstNode(r,n)}}createHydrationContext(e){let r=new Map,n=new Map;for(let a of Yo(e))r.set(a,{});let i;if(e.$cstNode)for(let a of rp(e.$cstNode)){let s;"fullText"in a?(s=new l1(a.fullText),i=s):"content"in a?s=new Tp:"tokenType"in a&&(s=this.hydrateCstLeafNode(a)),s&&(n.set(a,s),s.root=i)}return{astNodes:r,cstNodes:n}}hydrateAstNode(e,r){let n=r.astNodes.get(e);n.$type=e.$type,n.$containerIndex=e.$containerIndex,n.$containerProperty=e.$containerProperty,e.$cstNode&&(n.$cstNode=r.cstNodes.get(e.$cstNode));for(let[i,a]of Object.entries(e))if(!i.startsWith("$"))if(Array.isArray(a)){let s=[];n[i]=s;for(let l of a)si(l)?s.push(this.setParent(this.hydrateAstNode(l,r),n)):ma(l)?s.push(this.hydrateReference(l,n,i,r)):s.push(l)}else si(a)?n[i]=this.setParent(this.hydrateAstNode(a,r),n):ma(a)?n[i]=this.hydrateReference(a,n,i,r):a!==void 0&&(n[i]=a);return n}setParent(e,r){return e.$container=r,e}hydrateReference(e,r,n,i){return this.linker.buildReference(r,n,i.cstNodes.get(e.$refNode),e.$refText)}hydrateCstNode(e,r,n=0){let i=r.cstNodes.get(e);if(typeof e.grammarSource=="number"&&(i.grammarSource=this.getGrammarElement(e.grammarSource)),i.astNode=r.astNodes.get(e.astNode),Rl(i))for(let a of e.content){let s=this.hydrateCstNode(a,r,n++);i.content.push(s)}return i}hydrateCstLeafNode(e){let r=this.getTokenType(e.tokenType),n=e.offset,i=e.length,a=e.startLine,s=e.startColumn,l=e.endLine,u=e.endColumn,h=e.hidden;return new bp(n,i,{start:{line:a,character:s},end:{line:l,character:u}},r,h)}getTokenType(e){return this.lexer.definition[e]}getGrammarElementId(e){if(e)return this.grammarElementIdMap.size===0&&this.createGrammarElementIdMap(),this.grammarElementIdMap.get(e)}getGrammarElement(e){return this.grammarElementIdMap.size===0&&this.createGrammarElementIdMap(),this.grammarElementIdMap.getKey(e)}createGrammarElementIdMap(){let e=0;for(let r of Yo(this.grammar))K2(r)&&this.grammarElementIdMap.set(r,e++)}}});function ga(t){return{documentation:{CommentProvider:o(e=>new fb(e),"CommentProvider"),DocumentationProvider:o(e=>new hb(e),"DocumentationProvider")},parser:{AsyncParser:o(e=>new db(e),"AsyncParser"),GrammarConfig:o(e=>XN(e),"GrammarConfig"),LangiumParser:o(e=>rI(e),"LangiumParser"),CompletionParser:o(e=>eI(e),"CompletionParser"),ValueConverter:o(()=>new kp,"ValueConverter"),TokenBuilder:o(()=>new Wu,"TokenBuilder"),Lexer:o(e=>new Ap(e),"Lexer"),ParserErrorMessageProvider:o(()=>new c1,"ParserErrorMessageProvider"),LexerErrorMessageProvider:o(()=>new lb,"LexerErrorMessageProvider")},workspace:{AstNodeLocator:o(()=>new nb,"AstNodeLocator"),AstNodeDescriptionProvider:o(e=>new tb(e),"AstNodeDescriptionProvider"),ReferenceDescriptionProvider:o(e=>new rb(e),"ReferenceDescriptionProvider")},references:{Linker:o(e=>new Ux(e),"Linker"),NameProvider:o(()=>new Hx,"NameProvider"),ScopeProvider:o(e=>new jx(e),"ScopeProvider"),ScopeComputation:o(e=>new qx(e),"ScopeComputation"),References:o(e=>new Wx(e),"References")},serializer:{Hydrator:o(e=>new mb(e),"Hydrator"),JsonSerializer:o(e=>new Kx(e),"JsonSerializer")},validation:{DocumentValidator:o(e=>new eb(e),"DocumentValidator"),ValidationRegistry:o(e=>new Zx(e),"ValidationRegistry")},shared:o(()=>t.shared,"shared")}}function ya(t){return{ServiceRegistry:o(e=>new Qx(e),"ServiceRegistry"),workspace:{LangiumDocuments:o(e=>new Vx(e),"LangiumDocuments"),LangiumDocumentFactory:o(e=>new Gx(e),"LangiumDocumentFactory"),DocumentBuilder:o(e=>new ab(e),"DocumentBuilder"),IndexManager:o(e=>new sb(e),"IndexManager"),WorkspaceManager:o(e=>new ob(e),"WorkspaceManager"),FileSystemProvider:o(e=>t.fileSystemProvider(e),"FileSystemProvider"),WorkspaceLock:o(()=>new pb,"WorkspaceLock"),ConfigurationProvider:o(e=>new ib(e),"ConfigurationProvider")}}}var XI=N(()=>{"use strict";jN();tI();nI();IE();iI();yI();vI();xI();bI();wI();UE();EI();SI();Jx();CI();AI();_I();LI();p1();RI();NI();XE();GI();VI();$x();WI();qI();YI();o(ga,"createDefaultCoreModule");o(ya,"createDefaultSharedCoreModule")});function $n(t,e,r,n,i,a,s,l,u){let h=[t,e,r,n,i,a,s,l,u].reduce(QE,{});return bue(h)}function xue(t){if(t&&t[vue])for(let e of Object.values(t))xue(e);return t}function bue(t,e){let r=new Proxy({},{deleteProperty:o(()=>!1,"deleteProperty"),set:o(()=>{throw new Error("Cannot set property on injected service container")},"set"),get:o((n,i)=>i===vue?!0:yue(n,i,t,e||r),"get"),getOwnPropertyDescriptor:o((n,i)=>(yue(n,i,t,e||r),Object.getOwnPropertyDescriptor(n,i)),"getOwnPropertyDescriptor"),has:o((n,i)=>i in t,"has"),ownKeys:o(()=>[...Object.getOwnPropertyNames(t)],"ownKeys")});return r}function yue(t,e,r,n){if(e in t){if(t[e]instanceof Error)throw new Error("Construction failure. Please make sure that your dependencies are constructable.",{cause:t[e]});if(t[e]===gue)throw new Error('Cycle detected. Please make "'+String(e)+'" lazy. Visit https://langium.org/docs/reference/configuration-services/#resolving-cyclic-dependencies');return t[e]}else if(e in r){let i=r[e];t[e]=gue;try{t[e]=typeof i=="function"?i(n):bue(i,n)}catch(a){throw t[e]=a instanceof Error?a:void 0,a}return t[e]}else return}function QE(t,e){if(e){for(let[r,n]of Object.entries(e))if(n!==void 0){let i=t[r];i!==null&&n!==null&&typeof i=="object"&&typeof n=="object"?t[r]=QE(i,n):t[r]=n}}return t}var jI,vue,gue,KI=N(()=>{"use strict";(function(t){t.merge=(e,r)=>QE(QE({},e),r)})(jI||(jI={}));o($n,"inject");vue=Symbol("isProxy");o(xue,"eagerLoad");o(bue,"_inject");gue=Symbol();o(yue,"_resolve");o(QE,"_merge")});var Tue=N(()=>{"use strict"});var wue=N(()=>{"use strict";VI();GI();zI()});var kue=N(()=>{"use strict"});var Eue=N(()=>{"use strict";jN();kue()});var QI,_p,ZE,ZI,Sue=N(()=>{"use strict";hf();IE();XE();QI={indentTokenName:"INDENT",dedentTokenName:"DEDENT",whitespaceTokenName:"WS",ignoreIndentationDelimiters:[]};(function(t){t.REGULAR="indentation-sensitive",t.IGNORE_INDENTATION="ignore-indentation"})(_p||(_p={}));ZE=class extends Wu{static{o(this,"IndentationAwareTokenBuilder")}constructor(e=QI){super(),this.indentationStack=[0],this.whitespaceRegExp=/[ \t]+/y,this.options=Object.assign(Object.assign({},QI),e),this.indentTokenType=cf({name:this.options.indentTokenName,pattern:this.indentMatcher.bind(this),line_breaks:!1}),this.dedentTokenType=cf({name:this.options.dedentTokenName,pattern:this.dedentMatcher.bind(this),line_breaks:!1})}buildTokens(e,r){let n=super.buildTokens(e,r);if(!YE(n))throw new Error("Invalid tokens built by default builder");let{indentTokenName:i,dedentTokenName:a,whitespaceTokenName:s,ignoreIndentationDelimiters:l}=this.options,u,h,f,d=[];for(let p of n){for(let[m,g]of l)p.name===m?p.PUSH_MODE=_p.IGNORE_INDENTATION:p.name===g&&(p.POP_MODE=!0);p.name===a?u=p:p.name===i?h=p:p.name===s?f=p:d.push(p)}if(!u||!h||!f)throw new Error("Some indentation/whitespace tokens not found!");return l.length>0?{modes:{[_p.REGULAR]:[u,h,...d,f],[_p.IGNORE_INDENTATION]:[...d,f]},defaultMode:_p.REGULAR}:[u,h,f,...d]}flushLexingReport(e){let r=super.flushLexingReport(e);return Object.assign(Object.assign({},r),{remainingDedents:this.flushRemainingDedents(e)})}isStartOfLine(e,r){return r===0||`\r -`.includes(e[r-1])}matchWhitespace(e,r,n,i){var a;this.whitespaceRegExp.lastIndex=r;let s=this.whitespaceRegExp.exec(e);return{currIndentLevel:(a=s?.[0].length)!==null&&a!==void 0?a:0,prevIndentLevel:this.indentationStack.at(-1),match:s}}createIndentationTokenInstance(e,r,n,i){let a=this.getLineNumber(r,i);return Gu(e,n,i,i+n.length,a,a,1,n.length)}getLineNumber(e,r){return e.substring(0,r).split(/\r\n|\r|\n/).length}indentMatcher(e,r,n,i){if(!this.isStartOfLine(e,r))return null;let{currIndentLevel:a,prevIndentLevel:s,match:l}=this.matchWhitespace(e,r,n,i);return a<=s?null:(this.indentationStack.push(a),l)}dedentMatcher(e,r,n,i){var a,s,l,u;if(!this.isStartOfLine(e,r))return null;let{currIndentLevel:h,prevIndentLevel:f,match:d}=this.matchWhitespace(e,r,n,i);if(h>=f)return null;let p=this.indentationStack.lastIndexOf(h);if(p===-1)return this.diagnostics.push({severity:"error",message:`Invalid dedent level ${h} at offset: ${r}. Current indentation stack: ${this.indentationStack}`,offset:r,length:(s=(a=d?.[0])===null||a===void 0?void 0:a.length)!==null&&s!==void 0?s:0,line:this.getLineNumber(e,r),column:1}),null;let m=this.indentationStack.length-p-1,g=(u=(l=e.substring(0,r).match(/[\r\n]+$/))===null||l===void 0?void 0:l[0].length)!==null&&u!==void 0?u:1;for(let y=0;y1;)r.push(this.createIndentationTokenInstance(this.dedentTokenType,e,"",e.length)),this.indentationStack.pop();return this.indentationStack=[0],r}},ZI=class extends Ap{static{o(this,"IndentationAwareLexer")}constructor(e){if(super(e),e.parser.TokenBuilder instanceof ZE)this.indentationTokenBuilder=e.parser.TokenBuilder;else throw new Error("IndentationAwareLexer requires an accompanying IndentationAwareTokenBuilder")}tokenize(e,r=qE){let n=super.tokenize(e),i=n.report;r?.mode==="full"&&n.tokens.push(...i.remainingDedents),i.remainingDedents=[];let{indentTokenType:a,dedentTokenType:s}=this.indentationTokenBuilder,l=a.tokenTypeIdx,u=s.tokenTypeIdx,h=[],f=n.tokens.length-1;for(let d=0;d=0&&h.push(n.tokens[f]),n.tokens=h,n}}});var Cue=N(()=>{"use strict"});var Aue=N(()=>{"use strict";WI();tI();DE();Sue();nI();$x();XE();ME();Cue();IE();iI()});var _ue=N(()=>{"use strict";yI();vI();xI();TI();bI();wI()});var Due=N(()=>{"use strict";YI();UE()});var JE,va,JI=N(()=>{"use strict";JE=class{static{o(this,"EmptyFileSystemProvider")}readFile(){throw new Error("No file system is available.")}async readDirectory(){return[]}},va={fileSystemProvider:o(()=>new JE,"fileSystemProvider")}});function nze(){let t=$n(ya(va),rze),e=$n(ga({shared:t}),tze);return t.ServiceRegistry.register(e),e}function Vc(t){var e;let r=nze(),n=r.serializer.JsonSerializer.deserialize(t);return r.shared.workspace.LangiumDocumentFactory.fromModel(n,hs.parse(`memory://${(e=n.name)!==null&&e!==void 0?e:"grammar"}.langium`)),n}var tze,rze,Lue=N(()=>{"use strict";XI();KI();Ic();JI();Gc();tze={Grammar:o(()=>{},"Grammar"),LanguageMetaData:o(()=>({caseInsensitive:!1,fileExtensions:[".langium"],languageId:"langium"}),"LanguageMetaData")},rze={AstReflection:o(()=>new Dg,"AstReflection")};o(nze,"createMinimalGrammarServices");o(Vc,"loadGrammarFromJson")});var zr={};hr(zr,{AstUtils:()=>Nk,BiMap:()=>Ep,Cancellation:()=>vr,ContextCache:()=>Sp,CstUtils:()=>wk,DONE_RESULT:()=>Ma,Deferred:()=>us,Disposable:()=>pf,DisposableCache:()=>y1,DocumentCache:()=>GE,EMPTY_STREAM:()=>U2,ErrorWithLocation:()=>ip,GrammarUtils:()=>Bk,MultiMap:()=>Fl,OperationCancelled:()=>$c,Reduction:()=>Um,RegExpUtils:()=>Ok,SimpleCache:()=>Xx,StreamImpl:()=>oo,TreeStreamImpl:()=>Rc,URI:()=>hs,UriUtils:()=>fs,WorkspaceCache:()=>v1,assertUnreachable:()=>Mc,delayNextTick:()=>dI,interruptAndCheck:()=>Ti,isOperationCancelled:()=>zc,loadGrammarFromJson:()=>Vc,setInterruptionPeriod:()=>eue,startCancelableOperation:()=>$E,stream:()=>Jr});var Rue=N(()=>{"use strict";VE();WE();Sr(zr,Kn);m1();DI();kk();Lue();jo();$s();Gc();as();Xo();Ml();Pl();Mg()});var Nue=N(()=>{"use strict";SI();Jx()});var Mue=N(()=>{"use strict";CI();AI();_I();LI();p1();JI();RI();qI();NI()});var xa={};hr(xa,{AbstractAstReflection:()=>ep,AbstractCstNode:()=>Ox,AbstractLangiumParser:()=>Px,AbstractParserErrorMessageProvider:()=>RE,AbstractThreadedAsyncParser:()=>UI,AstUtils:()=>Nk,BiMap:()=>Ep,Cancellation:()=>vr,CompositeCstNodeImpl:()=>Tp,ContextCache:()=>Sp,CstNodeBuilder:()=>Ix,CstUtils:()=>wk,DEFAULT_TOKENIZE_OPTIONS:()=>qE,DONE_RESULT:()=>Ma,DatatypeSymbol:()=>LE,DefaultAstNodeDescriptionProvider:()=>tb,DefaultAstNodeLocator:()=>nb,DefaultAsyncParser:()=>db,DefaultCommentProvider:()=>fb,DefaultConfigurationProvider:()=>ib,DefaultDocumentBuilder:()=>ab,DefaultDocumentValidator:()=>eb,DefaultHydrator:()=>mb,DefaultIndexManager:()=>sb,DefaultJsonSerializer:()=>Kx,DefaultLangiumDocumentFactory:()=>Gx,DefaultLangiumDocuments:()=>Vx,DefaultLexer:()=>Ap,DefaultLexerErrorMessageProvider:()=>lb,DefaultLinker:()=>Ux,DefaultNameProvider:()=>Hx,DefaultReferenceDescriptionProvider:()=>rb,DefaultReferences:()=>Wx,DefaultScopeComputation:()=>qx,DefaultScopeProvider:()=>jx,DefaultServiceRegistry:()=>Qx,DefaultTokenBuilder:()=>Wu,DefaultValueConverter:()=>kp,DefaultWorkspaceLock:()=>pb,DefaultWorkspaceManager:()=>ob,Deferred:()=>us,Disposable:()=>pf,DisposableCache:()=>y1,DocumentCache:()=>GE,DocumentState:()=>wn,DocumentValidator:()=>Ko,EMPTY_SCOPE:()=>V$e,EMPTY_STREAM:()=>U2,EmptyFileSystem:()=>va,EmptyFileSystemProvider:()=>JE,ErrorWithLocation:()=>ip,GrammarAST:()=>Z2,GrammarUtils:()=>Bk,IndentationAwareLexer:()=>ZI,IndentationAwareTokenBuilder:()=>ZE,JSDocDocumentationProvider:()=>hb,LangiumCompletionParser:()=>Fx,LangiumParser:()=>Bx,LangiumParserErrorMessageProvider:()=>c1,LeafCstNodeImpl:()=>bp,LexingMode:()=>_p,MapScope:()=>Yx,Module:()=>jI,MultiMap:()=>Fl,OperationCancelled:()=>$c,ParserWorker:()=>HI,Reduction:()=>Um,RegExpUtils:()=>Ok,RootCstNodeImpl:()=>l1,SimpleCache:()=>Xx,StreamImpl:()=>oo,StreamScope:()=>g1,TextDocument:()=>f1,TreeStreamImpl:()=>Rc,URI:()=>hs,UriUtils:()=>fs,ValidationCategory:()=>x1,ValidationRegistry:()=>Zx,ValueConverter:()=>Fc,WorkspaceCache:()=>v1,assertUnreachable:()=>Mc,createCompletionParser:()=>eI,createDefaultCoreModule:()=>ga,createDefaultSharedCoreModule:()=>ya,createGrammarConfig:()=>XN,createLangiumParser:()=>rI,createParser:()=>zx,delayNextTick:()=>dI,diagnosticData:()=>Cp,eagerLoad:()=>xue,getDiagnosticRange:()=>lue,indentationBuilderDefaultOptions:()=>QI,inject:()=>$n,interruptAndCheck:()=>Ti,isAstNode:()=>si,isAstNodeDescription:()=>nN,isAstNodeWithComment:()=>kI,isCompositeCstNode:()=>Rl,isIMultiModeLexerDefinition:()=>II,isJSDoc:()=>FI,isLeafCstNode:()=>of,isLinkingError:()=>tp,isNamed:()=>sue,isOperationCancelled:()=>zc,isReference:()=>ma,isRootCstNode:()=>V2,isTokenTypeArray:()=>YE,isTokenTypeDictionary:()=>MI,loadGrammarFromJson:()=>Vc,parseJSDoc:()=>BI,prepareLangiumParser:()=>Yce,setInterruptionPeriod:()=>eue,startCancelableOperation:()=>$E,stream:()=>Jr,toDiagnosticData:()=>cue,toDiagnosticSeverity:()=>HE});var ho=N(()=>{"use strict";XI();KI();EI();Tue();Nl();wue();Eue();Aue();_ue();Due();Rue();Sr(xa,zr);Nue();Mue();Ic()});function Gue(t){return $l.isInstance(t,gb)}function Vue(t){return $l.isInstance(t,b1)}function Uue(t){return $l.isInstance(t,T1)}function Hue(t){return $l.isInstance(t,w1)}function Wue(t){return $l.isInstance(t,yb)}function que(t){return $l.isInstance(t,k1)}function Yue(t){return $l.isInstance(t,vb)}function Xue(t){return $l.isInstance(t,xb)}function jue(t){return $l.isInstance(t,bb)}function Kue(t){return $l.isInstance(t,Tb)}function Que(t){return $l.isInstance(t,wb)}var ize,xt,cO,gb,eS,b1,tS,rS,eO,T1,tO,rO,nO,w1,iO,yb,nS,aO,k1,sO,vb,xb,bb,Tb,oS,oO,wb,lO,iS,aS,sS,Zue,$l,Iue,aze,Oue,sze,Pue,oze,Bue,lze,Fue,cze,$ue,uze,zue,hze,fze,dze,pze,mze,gze,yze,vze,ds,uO,hO,fO,dO,pO,mO,gO,xze,bze,Tze,wze,mf,qu,Ba,kze,Fa=N(()=>{"use strict";ho();ho();ho();ho();ize=Object.defineProperty,xt=o((t,e)=>ize(t,"name",{value:e,configurable:!0}),"__name"),cO="Statement",gb="Architecture";o(Gue,"isArchitecture");xt(Gue,"isArchitecture");eS="Axis",b1="Branch";o(Vue,"isBranch");xt(Vue,"isBranch");tS="Checkout",rS="CherryPicking",eO="ClassDefStatement",T1="Commit";o(Uue,"isCommit");xt(Uue,"isCommit");tO="Curve",rO="Edge",nO="Entry",w1="GitGraph";o(Hue,"isGitGraph");xt(Hue,"isGitGraph");iO="Group",yb="Info";o(Wue,"isInfo");xt(Wue,"isInfo");nS="Item",aO="Junction",k1="Merge";o(que,"isMerge");xt(que,"isMerge");sO="Option",vb="Packet";o(Yue,"isPacket");xt(Yue,"isPacket");xb="PacketBlock";o(Xue,"isPacketBlock");xt(Xue,"isPacketBlock");bb="Pie";o(jue,"isPie");xt(jue,"isPie");Tb="PieSection";o(Kue,"isPieSection");xt(Kue,"isPieSection");oS="Radar",oO="Service",wb="Treemap";o(Que,"isTreemap");xt(Que,"isTreemap");lO="TreemapRow",iS="Direction",aS="Leaf",sS="Section",Zue=class extends ep{static{o(this,"MermaidAstReflection")}static{xt(this,"MermaidAstReflection")}getAllTypes(){return[gb,eS,b1,tS,rS,eO,T1,tO,iS,rO,nO,w1,iO,yb,nS,aO,aS,k1,sO,vb,xb,bb,Tb,oS,sS,oO,cO,wb,lO]}computeIsSubtype(t,e){switch(t){case b1:case tS:case rS:case T1:case k1:return this.isSubtype(cO,e);case iS:return this.isSubtype(w1,e);case aS:case sS:return this.isSubtype(nS,e);default:return!1}}getReferenceType(t){let e=`${t.container.$type}:${t.property}`;switch(e){case"Entry:axis":return eS;default:throw new Error(`${e} is not a valid reference id.`)}}getTypeMetaData(t){switch(t){case gb:return{name:gb,properties:[{name:"accDescr"},{name:"accTitle"},{name:"edges",defaultValue:[]},{name:"groups",defaultValue:[]},{name:"junctions",defaultValue:[]},{name:"services",defaultValue:[]},{name:"title"}]};case eS:return{name:eS,properties:[{name:"label"},{name:"name"}]};case b1:return{name:b1,properties:[{name:"name"},{name:"order"}]};case tS:return{name:tS,properties:[{name:"branch"}]};case rS:return{name:rS,properties:[{name:"id"},{name:"parent"},{name:"tags",defaultValue:[]}]};case eO:return{name:eO,properties:[{name:"className"},{name:"styleText"}]};case T1:return{name:T1,properties:[{name:"id"},{name:"message"},{name:"tags",defaultValue:[]},{name:"type"}]};case tO:return{name:tO,properties:[{name:"entries",defaultValue:[]},{name:"label"},{name:"name"}]};case rO:return{name:rO,properties:[{name:"lhsDir"},{name:"lhsGroup",defaultValue:!1},{name:"lhsId"},{name:"lhsInto",defaultValue:!1},{name:"rhsDir"},{name:"rhsGroup",defaultValue:!1},{name:"rhsId"},{name:"rhsInto",defaultValue:!1},{name:"title"}]};case nO:return{name:nO,properties:[{name:"axis"},{name:"value"}]};case w1:return{name:w1,properties:[{name:"accDescr"},{name:"accTitle"},{name:"statements",defaultValue:[]},{name:"title"}]};case iO:return{name:iO,properties:[{name:"icon"},{name:"id"},{name:"in"},{name:"title"}]};case yb:return{name:yb,properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case nS:return{name:nS,properties:[{name:"classSelector"},{name:"name"}]};case aO:return{name:aO,properties:[{name:"id"},{name:"in"}]};case k1:return{name:k1,properties:[{name:"branch"},{name:"id"},{name:"tags",defaultValue:[]},{name:"type"}]};case sO:return{name:sO,properties:[{name:"name"},{name:"value",defaultValue:!1}]};case vb:return{name:vb,properties:[{name:"accDescr"},{name:"accTitle"},{name:"blocks",defaultValue:[]},{name:"title"}]};case xb:return{name:xb,properties:[{name:"bits"},{name:"end"},{name:"label"},{name:"start"}]};case bb:return{name:bb,properties:[{name:"accDescr"},{name:"accTitle"},{name:"sections",defaultValue:[]},{name:"showData",defaultValue:!1},{name:"title"}]};case Tb:return{name:Tb,properties:[{name:"label"},{name:"value"}]};case oS:return{name:oS,properties:[{name:"accDescr"},{name:"accTitle"},{name:"axes",defaultValue:[]},{name:"curves",defaultValue:[]},{name:"options",defaultValue:[]},{name:"title"}]};case oO:return{name:oO,properties:[{name:"icon"},{name:"iconText"},{name:"id"},{name:"in"},{name:"title"}]};case wb:return{name:wb,properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"},{name:"TreemapRows",defaultValue:[]}]};case lO:return{name:lO,properties:[{name:"indent"},{name:"item"}]};case iS:return{name:iS,properties:[{name:"accDescr"},{name:"accTitle"},{name:"dir"},{name:"statements",defaultValue:[]},{name:"title"}]};case aS:return{name:aS,properties:[{name:"classSelector"},{name:"name"},{name:"value"}]};case sS:return{name:sS,properties:[{name:"classSelector"},{name:"name"}]};default:return{name:t,properties:[]}}}},$l=new Zue,aze=xt(()=>Iue??(Iue=Vc(`{"$type":"Grammar","isDeclared":true,"name":"Info","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Info","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"info"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"Keyword","value":"showInfo"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"*"}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"?"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@7"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@8"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[],"types":[],"usedGrammars":[]}`)),"InfoGrammar"),sze=xt(()=>Oue??(Oue=Vc(`{"$type":"Grammar","isDeclared":true,"name":"Packet","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Packet","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"packet"},{"$type":"Keyword","value":"packet-beta"}]},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PacketBlock","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Assignment","feature":"start","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"end","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}],"cardinality":"?"}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"+"},{"$type":"Assignment","feature":"bits","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]}]},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@8"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@9"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[],"types":[],"usedGrammars":[]}`)),"PacketGrammar"),oze=xt(()=>Pue??(Pue=Vc(`{"$type":"Grammar","isDeclared":true,"name":"Pie","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Pie","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"pie"},{"$type":"Assignment","feature":"showData","operator":"?=","terminal":{"$type":"Keyword","value":"showData"},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PieSection","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"FLOAT_PIE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/-?[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT_PIE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/-?(0|[1-9][0-9]*)(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER_PIE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@2"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@3"}}]},"fragment":false,"hidden":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@11"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@12"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[],"types":[],"usedGrammars":[]}`)),"PieGrammar"),lze=xt(()=>Bue??(Bue=Vc(`{"$type":"Grammar","isDeclared":true,"name":"Architecture","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Architecture","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"architecture-beta"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"groups","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"services","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"junctions","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"edges","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"LeftPort","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"lhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"RightPort","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"rhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Keyword","value":":"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"Arrow","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]},{"$type":"Assignment","feature":"lhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"--"},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@29"},"arguments":[]}},{"$type":"Keyword","value":"-"}]}]},{"$type":"Assignment","feature":"rhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Group","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"group"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@28"},"arguments":[]},"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@29"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Service","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"service"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"iconText","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@28"},"arguments":[]}}],"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@29"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Junction","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"junction"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Edge","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"lhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Assignment","feature":"lhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"rhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Assignment","feature":"rhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"ARROW_DIRECTION","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"L"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"R"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"T"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"B"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_GROUP","definition":{"$type":"RegexToken","regex":"/\\\\{group\\\\}/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_INTO","definition":{"$type":"RegexToken","regex":"/<|>/"},"fragment":false,"hidden":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@18"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@19"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false},{"$type":"TerminalRule","name":"ARCH_ICON","definition":{"$type":"RegexToken","regex":"/\\\\([\\\\w-:]+\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TITLE","definition":{"$type":"RegexToken","regex":"/\\\\[[\\\\w ]+\\\\]/"},"fragment":false,"hidden":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[],"types":[],"usedGrammars":[]}`)),"ArchitectureGrammar"),cze=xt(()=>Fue??(Fue=Vc(`{"$type":"Grammar","isDeclared":true,"name":"GitGraph","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"GitGraph","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Keyword","value":":"}]},{"$type":"Keyword","value":"gitGraph:"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]},{"$type":"Keyword","value":":"}]}]},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]},{"$type":"Assignment","feature":"statements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Direction","definition":{"$type":"Assignment","feature":"dir","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"LR"},{"$type":"Keyword","value":"TB"},{"$type":"Keyword","value":"BT"}]}},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Commit","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"commit"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"msg:","cardinality":"?"},{"$type":"Assignment","feature":"message","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Branch","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"branch"},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"order:"},{"$type":"Assignment","feature":"order","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Merge","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"merge"},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]}},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Checkout","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"checkout"},{"$type":"Keyword","value":"switch"}]},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"CherryPicking","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"cherry-pick"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"parent:"},{"$type":"Assignment","feature":"parent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@14"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@15"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false},{"$type":"TerminalRule","name":"REFERENCE","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\\\w([-\\\\./\\\\w]*[-\\\\w])?/"},"fragment":false,"hidden":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[],"types":[],"usedGrammars":[]}`)),"GitGraphGrammar"),uze=xt(()=>$ue??($ue=Vc(`{"$type":"Grammar","isDeclared":true,"name":"Radar","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Radar","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"radar-beta"},{"$type":"Keyword","value":"radar-beta:"},{"$type":"Group","elements":[{"$type":"Keyword","value":"radar-beta"},{"$type":"Keyword","value":":"}]}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]},{"$type":"Group","elements":[{"$type":"Keyword","value":"axis"},{"$type":"Assignment","feature":"axes","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"axes","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"curve"},{"$type":"Assignment","feature":"curves","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"curves","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}}],"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"options","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"options","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}}],"cardinality":"*"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"Label","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}},{"$type":"Keyword","value":"]"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Axis","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"?"}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Curve","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"?"},{"$type":"Keyword","value":"{"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Keyword","value":"}"}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"Entries","definition":{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"DetailedEntry","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"axis","operator":"=","terminal":{"$type":"CrossReference","type":{"$ref":"#/rules@2"},"terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},"deprecatedSyntax":false}},{"$type":"Keyword","value":":","cardinality":"?"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"NumberEntry","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Option","definition":{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"showLegend"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"ticks"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"max"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"min"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"graticule"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}}]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"GRATICULE","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"circle"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"polygon"}}]},"fragment":false,"hidden":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@15"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@16"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"interfaces":[{"$type":"Interface","name":"Entry","attributes":[{"$type":"TypeAttribute","name":"axis","isOptional":true,"type":{"$type":"ReferenceType","referenceType":{"$type":"SimpleType","typeRef":{"$ref":"#/rules@2"}}}},{"$type":"TypeAttribute","name":"value","type":{"$type":"SimpleType","primitiveType":"number"},"isOptional":false}],"superTypes":[]}],"definesHiddenTokens":false,"hiddenTokens":[],"types":[],"usedGrammars":[]}`)),"RadarGrammar"),hze=xt(()=>zue??(zue=Vc(`{"$type":"Grammar","isDeclared":true,"name":"Treemap","rules":[{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"ParserRule","entry":true,"name":"Treemap","returnType":{"$ref":"#/interfaces@4"},"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]},{"$type":"Assignment","feature":"TreemapRows","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"TREEMAP_KEYWORD","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"treemap-beta"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"treemap"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"CLASS_DEF","definition":{"$type":"RegexToken","regex":"/classDef\\\\s+([a-zA-Z_][a-zA-Z0-9_]+)(?:\\\\s+([^;\\\\r\\\\n]*))?(?:;)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STYLE_SEPARATOR","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":":::"}},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"SEPARATOR","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":":"}},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"COMMA","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":","}},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WS","definition":{"$type":"RegexToken","regex":"/[ \\\\t]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"ML_COMMENT","definition":{"$type":"RegexToken","regex":"/\\\\%\\\\%[^\\\\n]*/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"NL","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false},{"$type":"ParserRule","name":"TreemapRow","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"indent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"item","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"ClassDef","dataType":"string","definition":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Item","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Section","returnType":{"$ref":"#/interfaces@1"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]},{"$type":"Assignment","feature":"classSelector","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}],"cardinality":"?"}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Leaf","returnType":{"$ref":"#/interfaces@2"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[],"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[],"cardinality":"?"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]},{"$type":"Assignment","feature":"classSelector","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}],"cardinality":"?"}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INDENTATION","definition":{"$type":"RegexToken","regex":"/[ \\\\t]{1,}/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID2","definition":{"$type":"RegexToken","regex":"/[a-zA-Z_][a-zA-Z0-9_]*/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER2","definition":{"$type":"RegexToken","regex":"/[0-9_\\\\.\\\\,]+/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"MyNumber","dataType":"number","definition":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"STRING2","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/"},"fragment":false,"hidden":false}],"interfaces":[{"$type":"Interface","name":"Item","attributes":[{"$type":"TypeAttribute","name":"name","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false},{"$type":"TypeAttribute","name":"classSelector","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]},{"$type":"Interface","name":"Section","superTypes":[{"$ref":"#/interfaces@0"}],"attributes":[]},{"$type":"Interface","name":"Leaf","superTypes":[{"$ref":"#/interfaces@0"}],"attributes":[{"$type":"TypeAttribute","name":"value","type":{"$type":"SimpleType","primitiveType":"number"},"isOptional":false}]},{"$type":"Interface","name":"ClassDefStatement","attributes":[{"$type":"TypeAttribute","name":"className","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false},{"$type":"TypeAttribute","name":"styleText","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"Treemap","attributes":[{"$type":"TypeAttribute","name":"TreemapRows","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/rules@14"}}},"isOptional":false},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"definesHiddenTokens":false,"hiddenTokens":[],"imports":[],"types":[],"usedGrammars":[],"$comment":"/**\\n * Treemap grammar for Langium\\n * Converted from mindmap grammar\\n *\\n * The ML_COMMENT and NL hidden terminals handle whitespace, comments, and newlines\\n * before the treemap keyword, allowing for empty lines and comments before the\\n * treemap declaration.\\n */"}`)),"TreemapGrammar"),fze={languageId:"info",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},dze={languageId:"packet",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},pze={languageId:"pie",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},mze={languageId:"architecture",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},gze={languageId:"gitGraph",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},yze={languageId:"radar",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},vze={languageId:"treemap",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},ds={AstReflection:xt(()=>new Zue,"AstReflection")},uO={Grammar:xt(()=>aze(),"Grammar"),LanguageMetaData:xt(()=>fze,"LanguageMetaData"),parser:{}},hO={Grammar:xt(()=>sze(),"Grammar"),LanguageMetaData:xt(()=>dze,"LanguageMetaData"),parser:{}},fO={Grammar:xt(()=>oze(),"Grammar"),LanguageMetaData:xt(()=>pze,"LanguageMetaData"),parser:{}},dO={Grammar:xt(()=>lze(),"Grammar"),LanguageMetaData:xt(()=>mze,"LanguageMetaData"),parser:{}},pO={Grammar:xt(()=>cze(),"Grammar"),LanguageMetaData:xt(()=>gze,"LanguageMetaData"),parser:{}},mO={Grammar:xt(()=>uze(),"Grammar"),LanguageMetaData:xt(()=>yze,"LanguageMetaData"),parser:{}},gO={Grammar:xt(()=>hze(),"Grammar"),LanguageMetaData:xt(()=>vze,"LanguageMetaData"),parser:{}},xze=/accDescr(?:[\t ]*:([^\n\r]*)|\s*{([^}]*)})/,bze=/accTitle[\t ]*:([^\n\r]*)/,Tze=/title([\t ][^\n\r]*|)/,wze={ACC_DESCR:xze,ACC_TITLE:bze,TITLE:Tze},mf=class extends kp{static{o(this,"AbstractMermaidValueConverter")}static{xt(this,"AbstractMermaidValueConverter")}runConverter(t,e,r){let n=this.runCommonConverter(t,e,r);return n===void 0&&(n=this.runCustomConverter(t,e,r)),n===void 0?super.runConverter(t,e,r):n}runCommonConverter(t,e,r){let n=wze[t.name];if(n===void 0)return;let i=n.exec(e);if(i!==null){if(i[1]!==void 0)return i[1].trim().replace(/[\t ]{2,}/gm," ");if(i[2]!==void 0)return i[2].replace(/^\s*/gm,"").replace(/\s+$/gm,"").replace(/[\t ]{2,}/gm," ").replace(/[\n\r]{2,}/gm,` -`)}}},qu=class extends mf{static{o(this,"CommonValueConverter")}static{xt(this,"CommonValueConverter")}runCustomConverter(t,e,r){}},Ba=class extends Wu{static{o(this,"AbstractMermaidTokenBuilder")}static{xt(this,"AbstractMermaidTokenBuilder")}constructor(t){super(),this.keywords=new Set(t)}buildKeywordTokens(t,e,r){let n=super.buildKeywordTokens(t,e,r);return n.forEach(i=>{this.keywords.has(i.name)&&i.PATTERN!==void 0&&(i.PATTERN=new RegExp(i.PATTERN.toString()+"(?:(?=%%)|(?!\\S))"))}),n}},kze=class extends Ba{static{o(this,"CommonTokenBuilder")}static{xt(this,"CommonTokenBuilder")}}});function cS(t=va){let e=$n(ya(t),ds),r=$n(ga({shared:e}),pO,lS);return e.ServiceRegistry.register(r),{shared:e,GitGraph:r}}var Eze,lS,yO=N(()=>{"use strict";Fa();ho();Eze=class extends Ba{static{o(this,"GitGraphTokenBuilder")}static{xt(this,"GitGraphTokenBuilder")}constructor(){super(["gitGraph"])}},lS={parser:{TokenBuilder:xt(()=>new Eze,"TokenBuilder"),ValueConverter:xt(()=>new qu,"ValueConverter")}};o(cS,"createGitGraphServices");xt(cS,"createGitGraphServices")});function hS(t=va){let e=$n(ya(t),ds),r=$n(ga({shared:e}),uO,uS);return e.ServiceRegistry.register(r),{shared:e,Info:r}}var Sze,uS,vO=N(()=>{"use strict";Fa();ho();Sze=class extends Ba{static{o(this,"InfoTokenBuilder")}static{xt(this,"InfoTokenBuilder")}constructor(){super(["info","showInfo"])}},uS={parser:{TokenBuilder:xt(()=>new Sze,"TokenBuilder"),ValueConverter:xt(()=>new qu,"ValueConverter")}};o(hS,"createInfoServices");xt(hS,"createInfoServices")});function dS(t=va){let e=$n(ya(t),ds),r=$n(ga({shared:e}),hO,fS);return e.ServiceRegistry.register(r),{shared:e,Packet:r}}var Cze,fS,xO=N(()=>{"use strict";Fa();ho();Cze=class extends Ba{static{o(this,"PacketTokenBuilder")}static{xt(this,"PacketTokenBuilder")}constructor(){super(["packet"])}},fS={parser:{TokenBuilder:xt(()=>new Cze,"TokenBuilder"),ValueConverter:xt(()=>new qu,"ValueConverter")}};o(dS,"createPacketServices");xt(dS,"createPacketServices")});function mS(t=va){let e=$n(ya(t),ds),r=$n(ga({shared:e}),fO,pS);return e.ServiceRegistry.register(r),{shared:e,Pie:r}}var Aze,_ze,pS,bO=N(()=>{"use strict";Fa();ho();Aze=class extends Ba{static{o(this,"PieTokenBuilder")}static{xt(this,"PieTokenBuilder")}constructor(){super(["pie","showData"])}},_ze=class extends mf{static{o(this,"PieValueConverter")}static{xt(this,"PieValueConverter")}runCustomConverter(t,e,r){if(t.name==="PIE_SECTION_LABEL")return e.replace(/"/g,"").trim()}},pS={parser:{TokenBuilder:xt(()=>new Aze,"TokenBuilder"),ValueConverter:xt(()=>new _ze,"ValueConverter")}};o(mS,"createPieServices");xt(mS,"createPieServices")});function yS(t=va){let e=$n(ya(t),ds),r=$n(ga({shared:e}),dO,gS);return e.ServiceRegistry.register(r),{shared:e,Architecture:r}}var Dze,Lze,gS,TO=N(()=>{"use strict";Fa();ho();Dze=class extends Ba{static{o(this,"ArchitectureTokenBuilder")}static{xt(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}},Lze=class extends mf{static{o(this,"ArchitectureValueConverter")}static{xt(this,"ArchitectureValueConverter")}runCustomConverter(t,e,r){if(t.name==="ARCH_ICON")return e.replace(/[()]/g,"").trim();if(t.name==="ARCH_TEXT_ICON")return e.replace(/["()]/g,"");if(t.name==="ARCH_TITLE")return e.replace(/[[\]]/g,"").trim()}},gS={parser:{TokenBuilder:xt(()=>new Dze,"TokenBuilder"),ValueConverter:xt(()=>new Lze,"ValueConverter")}};o(yS,"createArchitectureServices");xt(yS,"createArchitectureServices")});function xS(t=va){let e=$n(ya(t),ds),r=$n(ga({shared:e}),mO,vS);return e.ServiceRegistry.register(r),{shared:e,Radar:r}}var Rze,vS,wO=N(()=>{"use strict";Fa();ho();Rze=class extends Ba{static{o(this,"RadarTokenBuilder")}static{xt(this,"RadarTokenBuilder")}constructor(){super(["radar-beta"])}},vS={parser:{TokenBuilder:xt(()=>new Rze,"TokenBuilder"),ValueConverter:xt(()=>new qu,"ValueConverter")}};o(xS,"createRadarServices");xt(xS,"createRadarServices")});function Jue(t){let e=t.validation.TreemapValidator,r=t.validation.ValidationRegistry;if(r){let n={Treemap:e.checkSingleRoot.bind(e)};r.register(n,e)}}function TS(t=va){let e=$n(ya(t),ds),r=$n(ga({shared:e}),gO,bS);return e.ServiceRegistry.register(r),Jue(r),{shared:e,Treemap:r}}var Nze,Mze,Ize,Oze,bS,kO=N(()=>{"use strict";Fa();ho();Nze=class extends Ba{static{o(this,"TreemapTokenBuilder")}static{xt(this,"TreemapTokenBuilder")}constructor(){super(["treemap"])}},Mze=/classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/,Ize=class extends mf{static{o(this,"TreemapValueConverter")}static{xt(this,"TreemapValueConverter")}runCustomConverter(t,e,r){if(t.name==="NUMBER2")return parseFloat(e.replace(/,/g,""));if(t.name==="SEPARATOR")return e.substring(1,e.length-1);if(t.name==="STRING2")return e.substring(1,e.length-1);if(t.name==="INDENTATION")return e.length;if(t.name==="ClassDef"){if(typeof e!="string")return e;let n=Mze.exec(e);if(n)return{$type:"ClassDefStatement",className:n[1],styleText:n[2]||void 0}}}};o(Jue,"registerValidationChecks");xt(Jue,"registerValidationChecks");Oze=class{static{o(this,"TreemapValidator")}static{xt(this,"TreemapValidator")}checkSingleRoot(t,e){let r;for(let n of t.TreemapRows)n.item&&(r===void 0&&n.indent===void 0?r=0:n.indent===void 0?e("error","Multiple root nodes are not allowed in a treemap.",{node:n,property:"item"}):r!==void 0&&r>=parseInt(n.indent,10)&&e("error","Multiple root nodes are not allowed in a treemap.",{node:n,property:"item"}))}},bS={parser:{TokenBuilder:xt(()=>new Nze,"TokenBuilder"),ValueConverter:xt(()=>new Ize,"ValueConverter")},validation:{TreemapValidator:xt(()=>new Oze,"TreemapValidator")}};o(TS,"createTreemapServices");xt(TS,"createTreemapServices")});var ehe={};hr(ehe,{InfoModule:()=>uS,createInfoServices:()=>hS});var the=N(()=>{"use strict";vO();Fa()});var rhe={};hr(rhe,{PacketModule:()=>fS,createPacketServices:()=>dS});var nhe=N(()=>{"use strict";xO();Fa()});var ihe={};hr(ihe,{PieModule:()=>pS,createPieServices:()=>mS});var ahe=N(()=>{"use strict";bO();Fa()});var she={};hr(she,{ArchitectureModule:()=>gS,createArchitectureServices:()=>yS});var ohe=N(()=>{"use strict";TO();Fa()});var lhe={};hr(lhe,{GitGraphModule:()=>lS,createGitGraphServices:()=>cS});var che=N(()=>{"use strict";yO();Fa()});var uhe={};hr(uhe,{RadarModule:()=>vS,createRadarServices:()=>xS});var hhe=N(()=>{"use strict";wO();Fa()});var fhe={};hr(fhe,{TreemapModule:()=>bS,createTreemapServices:()=>TS});var dhe=N(()=>{"use strict";kO();Fa()});async function ps(t,e){let r=Pze[t];if(!r)throw new Error(`Unknown diagram type: ${t}`);Yu[t]||await r();let i=Yu[t].parse(e);if(i.lexerErrors.length>0||i.parserErrors.length>0)throw new Bze(i);return i.value}var Yu,Pze,Bze,gf=N(()=>{"use strict";yO();vO();xO();bO();TO();wO();kO();Fa();Yu={},Pze={info:xt(async()=>{let{createInfoServices:t}=await Promise.resolve().then(()=>(the(),ehe)),e=t().Info.parser.LangiumParser;Yu.info=e},"info"),packet:xt(async()=>{let{createPacketServices:t}=await Promise.resolve().then(()=>(nhe(),rhe)),e=t().Packet.parser.LangiumParser;Yu.packet=e},"packet"),pie:xt(async()=>{let{createPieServices:t}=await Promise.resolve().then(()=>(ahe(),ihe)),e=t().Pie.parser.LangiumParser;Yu.pie=e},"pie"),architecture:xt(async()=>{let{createArchitectureServices:t}=await Promise.resolve().then(()=>(ohe(),she)),e=t().Architecture.parser.LangiumParser;Yu.architecture=e},"architecture"),gitGraph:xt(async()=>{let{createGitGraphServices:t}=await Promise.resolve().then(()=>(che(),lhe)),e=t().GitGraph.parser.LangiumParser;Yu.gitGraph=e},"gitGraph"),radar:xt(async()=>{let{createRadarServices:t}=await Promise.resolve().then(()=>(hhe(),uhe)),e=t().Radar.parser.LangiumParser;Yu.radar=e},"radar"),treemap:xt(async()=>{let{createTreemapServices:t}=await Promise.resolve().then(()=>(dhe(),fhe)),e=t().Treemap.parser.LangiumParser;Yu.treemap=e},"treemap")};o(ps,"parse");xt(ps,"parse");Bze=class extends Error{static{o(this,"MermaidParseError")}constructor(t){let e=t.lexerErrors.map(n=>n.message).join(` +`)}return r}},e6=class{static{o(this,"JSDocLineImpl")}constructor(e,r){this.text=e,this.range=r}toString(){return this.text}toMarkdown(){return this.text}};o(Wde,"fillNewlines")});var Jb,aP=N(()=>{"use strict";us();iP();Jb=class{static{o(this,"JSDocDocumentationProvider")}constructor(e){this.indexManager=e.shared.workspace.IndexManager,this.commentProvider=e.documentation.CommentProvider}getDocumentation(e){let r=this.commentProvider.getComment(e);if(r&&rP(r))return tP(r).toMarkdown({renderLink:o((i,a)=>this.documentationLinkRenderer(e,i,a),"renderLink"),renderTag:o(i=>this.documentationTagRenderer(e,i),"renderTag")})}documentationLinkRenderer(e,r,n){var i;let a=(i=this.findNameInPrecomputedScopes(e,r))!==null&&i!==void 0?i:this.findNameInGlobalScope(e,r);if(a&&a.nameSegment){let s=a.nameSegment.range.start.line+1,l=a.nameSegment.range.start.character+1,u=a.documentUri.with({fragment:`L${s},${l}`});return`[${n}](${u.toString()})`}else return}documentationTagRenderer(e,r){}findNameInPrecomputedScopes(e,r){let i=Va(e).precomputedScopes;if(!i)return;let a=e;do{let l=i.get(a).find(u=>u.name===r);if(l)return l;a=a.$container}while(a)}findNameInGlobalScope(e,r){return this.indexManager.allElements().find(i=>i.name===r)}}});var e4,sP=N(()=>{"use strict";YS();Bl();e4=class{static{o(this,"DefaultCommentProvider")}constructor(e){this.grammarConfig=()=>e.parser.GrammarConfig}getComment(e){var r;return zO(e)?e.$comment:(r=SM(e.$cstNode,this.grammarConfig().multilineCommentRules))===null||r===void 0?void 0:r.text}}});var t4,oP,lP,cP=N(()=>{"use strict";tl();jS();t4=class{static{o(this,"DefaultAsyncParser")}constructor(e){this.syncParser=e.parser.LangiumParser}parse(e,r){return Promise.resolve(this.syncParser.parse(e))}},oP=class{static{o(this,"AbstractThreadedAsyncParser")}constructor(e){this.threadCount=8,this.terminationDelay=200,this.workerPool=[],this.queue=[],this.hydrator=e.serializer.Hydrator}initializeWorkers(){for(;this.workerPool.length{if(this.queue.length>0){let r=this.queue.shift();r&&(e.lock(),r.resolve(e))}}),this.workerPool.push(e)}}async parse(e,r){let n=await this.acquireParserWorker(r),i=new ms,a,s=r.onCancellationRequested(()=>{a=setTimeout(()=>{this.terminateWorker(n)},this.terminationDelay)});return n.parse(e).then(l=>{let u=this.hydrator.hydrate(l);i.resolve(u)}).catch(l=>{i.reject(l)}).finally(()=>{s.dispose(),clearTimeout(a)}),i.promise}terminateWorker(e){e.terminate();let r=this.workerPool.indexOf(e);r>=0&&this.workerPool.splice(r,1)}async acquireParserWorker(e){this.initializeWorkers();for(let n of this.workerPool)if(n.ready)return n.lock(),n;let r=new ms;return e.onCancellationRequested(()=>{let n=this.queue.indexOf(r);n>=0&&this.queue.splice(n,1),r.reject(Yc)}),this.queue.push(r),r.promise}},lP=class{static{o(this,"ParserWorker")}get ready(){return this._ready}get onReady(){return this.onReadyEmitter.event}constructor(e,r,n,i){this.onReadyEmitter=new Jn.Emitter,this.deferred=new ms,this._ready=!0,this._parsing=!1,this.sendMessage=e,this._terminate=i,r(a=>{let s=a;this.deferred.resolve(s),this.unlock()}),n(a=>{this.deferred.reject(a),this.unlock()})}terminate(){this.deferred.reject(Yc),this._terminate()}lock(){this._ready=!1}unlock(){this._parsing=!1,this._ready=!0,this.onReadyEmitter.fire()}parse(e){if(this._parsing)throw new Error("Parser worker is busy");return this._parsing=!0,this.deferred=new ms,this.sendMessage(e),this.deferred.promise}}});var r4,uP=N(()=>{"use strict";el();tl();r4=class{static{o(this,"DefaultWorkspaceLock")}constructor(){this.previousTokenSource=new vr.CancellationTokenSource,this.writeQueue=[],this.readQueue=[],this.done=!0}write(e){this.cancelWrite();let r=US();return this.previousTokenSource=r,this.enqueue(this.writeQueue,e,r.token)}read(e){return this.enqueue(this.readQueue,e)}enqueue(e,r,n=vr.CancellationToken.None){let i=new ms,a={action:r,deferred:i,cancellationToken:n};return e.push(a),this.performNextOperation(),i.promise}async performNextOperation(){if(!this.done)return;let e=[];if(this.writeQueue.length>0)e.push(this.writeQueue.shift());else if(this.readQueue.length>0)e.push(...this.readQueue.splice(0,this.readQueue.length));else return;this.done=!1,await Promise.all(e.map(async({action:r,deferred:n,cancellationToken:i})=>{try{let a=await Promise.resolve().then(()=>r(i));n.resolve(a)}catch(a){Xc(a)?n.resolve(void 0):n.reject(a)}})),this.done=!0,this.performNextOperation()}cancelWrite(){this.previousTokenSource.cancel()}}});var n4,hP=N(()=>{"use strict";MS();Vc();Pl();us();V1();Bl();n4=class{static{o(this,"DefaultHydrator")}constructor(e){this.grammarElementIdMap=new Yp,this.tokenTypeIdMap=new Yp,this.grammar=e.Grammar,this.lexer=e.parser.Lexer,this.linker=e.references.Linker}dehydrate(e){return{lexerErrors:e.lexerErrors,lexerReport:e.lexerReport?this.dehydrateLexerReport(e.lexerReport):void 0,parserErrors:e.parserErrors.map(r=>Object.assign(Object.assign({},r),{message:r.message})),value:this.dehydrateAstNode(e.value,this.createDehyrationContext(e.value))}}dehydrateLexerReport(e){return e}createDehyrationContext(e){let r=new Map,n=new Map;for(let i of Jo(e))r.set(i,{});if(e.$cstNode)for(let i of Sp(e.$cstNode))n.set(i,{});return{astNodes:r,cstNodes:n}}dehydrateAstNode(e,r){let n=r.astNodes.get(e);n.$type=e.$type,n.$containerIndex=e.$containerIndex,n.$containerProperty=e.$containerProperty,e.$cstNode!==void 0&&(n.$cstNode=this.dehydrateCstNode(e.$cstNode,r));for(let[i,a]of Object.entries(e))if(!i.startsWith("$"))if(Array.isArray(a)){let s=[];n[i]=s;for(let l of a)ci(l)?s.push(this.dehydrateAstNode(l,r)):ba(l)?s.push(this.dehydrateReference(l,r)):s.push(l)}else ci(a)?n[i]=this.dehydrateAstNode(a,r):ba(a)?n[i]=this.dehydrateReference(a,r):a!==void 0&&(n[i]=a);return n}dehydrateReference(e,r){let n={};return n.$refText=e.$refText,e.$refNode&&(n.$refNode=r.cstNodes.get(e.$refNode)),n}dehydrateCstNode(e,r){let n=r.cstNodes.get(e);return Lx(e)?n.fullText=e.fullText:n.grammarSource=this.getGrammarElementId(e.grammarSource),n.hidden=e.hidden,n.astNode=r.astNodes.get(e.astNode),Ol(e)?n.content=e.content.map(i=>this.dehydrateCstNode(i,r)):Df(e)&&(n.tokenType=e.tokenType.name,n.offset=e.offset,n.length=e.length,n.startLine=e.range.start.line,n.startColumn=e.range.start.character,n.endLine=e.range.end.line,n.endColumn=e.range.end.character),n}hydrate(e){let r=e.value,n=this.createHydrationContext(r);return"$cstNode"in r&&this.hydrateCstNode(r.$cstNode,n),{lexerErrors:e.lexerErrors,lexerReport:e.lexerReport,parserErrors:e.parserErrors,value:this.hydrateAstNode(r,n)}}createHydrationContext(e){let r=new Map,n=new Map;for(let a of Jo(e))r.set(a,{});let i;if(e.$cstNode)for(let a of Sp(e.$cstNode)){let s;"fullText"in a?(s=new O1(a.fullText),i=s):"content"in a?s=new Hp:"tokenType"in a&&(s=this.hydrateCstLeafNode(a)),s&&(n.set(a,s),s.root=i)}return{astNodes:r,cstNodes:n}}hydrateAstNode(e,r){let n=r.astNodes.get(e);n.$type=e.$type,n.$containerIndex=e.$containerIndex,n.$containerProperty=e.$containerProperty,e.$cstNode&&(n.$cstNode=r.cstNodes.get(e.$cstNode));for(let[i,a]of Object.entries(e))if(!i.startsWith("$"))if(Array.isArray(a)){let s=[];n[i]=s;for(let l of a)ci(l)?s.push(this.setParent(this.hydrateAstNode(l,r),n)):ba(l)?s.push(this.hydrateReference(l,n,i,r)):s.push(l)}else ci(a)?n[i]=this.setParent(this.hydrateAstNode(a,r),n):ba(a)?n[i]=this.hydrateReference(a,n,i,r):a!==void 0&&(n[i]=a);return n}setParent(e,r){return e.$container=r,e}hydrateReference(e,r,n,i){return this.linker.buildReference(r,n,i.cstNodes.get(e.$refNode),e.$refText)}hydrateCstNode(e,r,n=0){let i=r.cstNodes.get(e);if(typeof e.grammarSource=="number"&&(i.grammarSource=this.getGrammarElement(e.grammarSource)),i.astNode=r.astNodes.get(e.astNode),Ol(i))for(let a of e.content){let s=this.hydrateCstNode(a,r,n++);i.content.push(s)}return i}hydrateCstLeafNode(e){let r=this.getTokenType(e.tokenType),n=e.offset,i=e.length,a=e.startLine,s=e.startColumn,l=e.endLine,u=e.endColumn,h=e.hidden;return new Up(n,i,{start:{line:a,character:s},end:{line:l,character:u}},r,h)}getTokenType(e){return this.lexer.definition[e]}getGrammarElementId(e){if(e)return this.grammarElementIdMap.size===0&&this.createGrammarElementIdMap(),this.grammarElementIdMap.get(e)}getGrammarElement(e){return this.grammarElementIdMap.size===0&&this.createGrammarElementIdMap(),this.grammarElementIdMap.getKey(e)}createGrammarElementIdMap(){let e=0;for(let r of Jo(this.grammar))Fx(r)&&this.grammarElementIdMap.set(r,e++)}}});function Ta(t){return{documentation:{CommentProvider:o(e=>new e4(e),"CommentProvider"),DocumentationProvider:o(e=>new Jb(e),"DocumentationProvider")},parser:{AsyncParser:o(e=>new t4(e),"AsyncParser"),GrammarConfig:o(e=>fI(e),"GrammarConfig"),LangiumParser:o(e=>bO(e),"LangiumParser"),CompletionParser:o(e=>vO(e),"CompletionParser"),ValueConverter:o(()=>new qp,"ValueConverter"),TokenBuilder:o(()=>new Zu,"TokenBuilder"),Lexer:o(e=>new Kp(e),"Lexer"),ParserErrorMessageProvider:o(()=>new P1,"ParserErrorMessageProvider"),LexerErrorMessageProvider:o(()=>new Kb,"LexerErrorMessageProvider")},workspace:{AstNodeLocator:o(()=>new Wb,"AstNodeLocator"),AstNodeDescriptionProvider:o(e=>new Ub(e),"AstNodeDescriptionProvider"),ReferenceDescriptionProvider:o(e=>new Hb(e),"ReferenceDescriptionProvider")},references:{Linker:o(e=>new Rb(e),"Linker"),NameProvider:o(()=>new Nb,"NameProvider"),ScopeProvider:o(e=>new Bb(e),"ScopeProvider"),ScopeComputation:o(e=>new Ib(e),"ScopeComputation"),References:o(e=>new Mb(e),"References")},serializer:{Hydrator:o(e=>new n4(e),"Hydrator"),JsonSerializer:o(e=>new Fb(e),"JsonSerializer")},validation:{DocumentValidator:o(e=>new Vb(e),"DocumentValidator"),ValidationRegistry:o(e=>new Gb(e),"ValidationRegistry")},shared:o(()=>t.shared,"shared")}}function wa(t){return{ServiceRegistry:o(e=>new $b(e),"ServiceRegistry"),workspace:{LangiumDocuments:o(e=>new Lb(e),"LangiumDocuments"),LangiumDocumentFactory:o(e=>new Db(e),"LangiumDocumentFactory"),DocumentBuilder:o(e=>new Yb(e),"DocumentBuilder"),IndexManager:o(e=>new Xb(e),"IndexManager"),WorkspaceManager:o(e=>new jb(e),"WorkspaceManager"),FileSystemProvider:o(e=>t.fileSystemProvider(e),"FileSystemProvider"),WorkspaceLock:o(()=>new r4,"WorkspaceLock"),ConfigurationProvider:o(e=>new qb(e),"ConfigurationProvider")}}}var fP=N(()=>{"use strict";dI();xO();TO();FS();wO();OO();PO();BO();FO();GO();YS();VO();UO();zb();HO();WO();qO();XO();z1();jO();KO();ZS();aP();sP();Ab();cP();uP();hP();o(Ta,"createDefaultCoreModule");o(wa,"createDefaultSharedCoreModule")});function Hn(t,e,r,n,i,a,s,l,u){let h=[t,e,r,n,i,a,s,l,u].reduce(t6,{});return epe(h)}function Jde(t){if(t&&t[Zde])for(let e of Object.values(t))Jde(e);return t}function epe(t,e){let r=new Proxy({},{deleteProperty:o(()=>!1,"deleteProperty"),set:o(()=>{throw new Error("Cannot set property on injected service container")},"set"),get:o((n,i)=>i===Zde?!0:Qde(n,i,t,e||r),"get"),getOwnPropertyDescriptor:o((n,i)=>(Qde(n,i,t,e||r),Object.getOwnPropertyDescriptor(n,i)),"getOwnPropertyDescriptor"),has:o((n,i)=>i in t,"has"),ownKeys:o(()=>[...Object.getOwnPropertyNames(t)],"ownKeys")});return r}function Qde(t,e,r,n){if(e in t){if(t[e]instanceof Error)throw new Error("Construction failure. Please make sure that your dependencies are constructable.",{cause:t[e]});if(t[e]===Kde)throw new Error('Cycle detected. Please make "'+String(e)+'" lazy. Visit https://langium.org/docs/reference/configuration-services/#resolving-cyclic-dependencies');return t[e]}else if(e in r){let i=r[e];t[e]=Kde;try{t[e]=typeof i=="function"?i(n):epe(i,n)}catch(a){throw t[e]=a instanceof Error?a:void 0,a}return t[e]}else return}function t6(t,e){if(e){for(let[r,n]of Object.entries(e))if(n!==void 0){let i=t[r];i!==null&&n!==null&&typeof i=="object"&&typeof n=="object"?t[r]=t6(i,n):t[r]=n}}return t}var dP,Zde,Kde,pP=N(()=>{"use strict";(function(t){t.merge=(e,r)=>t6(t6({},e),r)})(dP||(dP={}));o(Hn,"inject");Zde=Symbol("isProxy");o(Jde,"eagerLoad");o(epe,"_inject");Kde=Symbol();o(Qde,"_resolve");o(t6,"_merge")});var tpe=N(()=>{"use strict"});var rpe=N(()=>{"use strict";sP();aP();iP()});var npe=N(()=>{"use strict"});var ipe=N(()=>{"use strict";dI();npe()});var mP,Qp,r6,gP,ape=N(()=>{"use strict";Mf();FS();ZS();mP={indentTokenName:"INDENT",dedentTokenName:"DEDENT",whitespaceTokenName:"WS",ignoreIndentationDelimiters:[]};(function(t){t.REGULAR="indentation-sensitive",t.IGNORE_INDENTATION="ignore-indentation"})(Qp||(Qp={}));r6=class extends Zu{static{o(this,"IndentationAwareTokenBuilder")}constructor(e=mP){super(),this.indentationStack=[0],this.whitespaceRegExp=/[ \t]+/y,this.options=Object.assign(Object.assign({},mP),e),this.indentTokenType=Rf({name:this.options.indentTokenName,pattern:this.indentMatcher.bind(this),line_breaks:!1}),this.dedentTokenType=Rf({name:this.options.dedentTokenName,pattern:this.dedentMatcher.bind(this),line_breaks:!1})}buildTokens(e,r){let n=super.buildTokens(e,r);if(!QS(n))throw new Error("Invalid tokens built by default builder");let{indentTokenName:i,dedentTokenName:a,whitespaceTokenName:s,ignoreIndentationDelimiters:l}=this.options,u,h,f,d=[];for(let p of n){for(let[m,g]of l)p.name===m?p.PUSH_MODE=Qp.IGNORE_INDENTATION:p.name===g&&(p.POP_MODE=!0);p.name===a?u=p:p.name===i?h=p:p.name===s?f=p:d.push(p)}if(!u||!h||!f)throw new Error("Some indentation/whitespace tokens not found!");return l.length>0?{modes:{[Qp.REGULAR]:[u,h,...d,f],[Qp.IGNORE_INDENTATION]:[...d,f]},defaultMode:Qp.REGULAR}:[u,h,f,...d]}flushLexingReport(e){let r=super.flushLexingReport(e);return Object.assign(Object.assign({},r),{remainingDedents:this.flushRemainingDedents(e)})}isStartOfLine(e,r){return r===0||`\r +`.includes(e[r-1])}matchWhitespace(e,r,n,i){var a;this.whitespaceRegExp.lastIndex=r;let s=this.whitespaceRegExp.exec(e);return{currIndentLevel:(a=s?.[0].length)!==null&&a!==void 0?a:0,prevIndentLevel:this.indentationStack.at(-1),match:s}}createIndentationTokenInstance(e,r,n,i){let a=this.getLineNumber(r,i);return Xu(e,n,i,i+n.length,a,a,1,n.length)}getLineNumber(e,r){return e.substring(0,r).split(/\r\n|\r|\n/).length}indentMatcher(e,r,n,i){if(!this.isStartOfLine(e,r))return null;let{currIndentLevel:a,prevIndentLevel:s,match:l}=this.matchWhitespace(e,r,n,i);return a<=s?null:(this.indentationStack.push(a),l)}dedentMatcher(e,r,n,i){var a,s,l,u;if(!this.isStartOfLine(e,r))return null;let{currIndentLevel:h,prevIndentLevel:f,match:d}=this.matchWhitespace(e,r,n,i);if(h>=f)return null;let p=this.indentationStack.lastIndexOf(h);if(p===-1)return this.diagnostics.push({severity:"error",message:`Invalid dedent level ${h} at offset: ${r}. Current indentation stack: ${this.indentationStack}`,offset:r,length:(s=(a=d?.[0])===null||a===void 0?void 0:a.length)!==null&&s!==void 0?s:0,line:this.getLineNumber(e,r),column:1}),null;let m=this.indentationStack.length-p-1,g=(u=(l=e.substring(0,r).match(/[\r\n]+$/))===null||l===void 0?void 0:l[0].length)!==null&&u!==void 0?u:1;for(let y=0;y1;)r.push(this.createIndentationTokenInstance(this.dedentTokenType,e,"",e.length)),this.indentationStack.pop();return this.indentationStack=[0],r}},gP=class extends Kp{static{o(this,"IndentationAwareLexer")}constructor(e){if(super(e),e.parser.TokenBuilder instanceof r6)this.indentationTokenBuilder=e.parser.TokenBuilder;else throw new Error("IndentationAwareLexer requires an accompanying IndentationAwareTokenBuilder")}tokenize(e,r=KS){let n=super.tokenize(e),i=n.report;r?.mode==="full"&&n.tokens.push(...i.remainingDedents),i.remainingDedents=[];let{indentTokenType:a,dedentTokenType:s}=this.indentationTokenBuilder,l=a.tokenTypeIdx,u=s.tokenTypeIdx,h=[],f=n.tokens.length-1;for(let d=0;d=0&&h.push(n.tokens[f]),n.tokens=h,n}}});var spe=N(()=>{"use strict"});var ope=N(()=>{"use strict";cP();xO();MS();ape();TO();Ab();ZS();BS();spe();FS();wO()});var lpe=N(()=>{"use strict";OO();PO();BO();$O();FO();GO()});var cpe=N(()=>{"use strict";hP();YS()});var n6,ka,yP=N(()=>{"use strict";n6=class{static{o(this,"EmptyFileSystemProvider")}readFile(){throw new Error("No file system is available.")}async readDirectory(){return[]}},ka={fileSystemProvider:o(()=>new n6,"fileSystemProvider")}});function gXe(){let t=Hn(wa(ka),mXe),e=Hn(Ta({shared:t}),pXe);return t.ServiceRegistry.register(e),e}function Kc(t){var e;let r=gXe(),n=r.serializer.JsonSerializer.deserialize(t);return r.shared.workspace.LangiumDocumentFactory.fromModel(n,gs.parse(`memory://${(e=n.name)!==null&&e!==void 0?e:"grammar"}.langium`)),n}var pXe,mXe,upe=N(()=>{"use strict";fP();pP();Vc();yP();jc();pXe={Grammar:o(()=>{},"Grammar"),LanguageMetaData:o(()=>({caseInsensitive:!1,fileExtensions:[".langium"],languageId:"langium"}),"LanguageMetaData")},mXe={AstReflection:o(()=>new r1,"AstReflection")};o(gXe,"createMinimalGrammarServices");o(Kc,"loadGrammarFromJson")});var Ur={};ur(Ur,{AstUtils:()=>PE,BiMap:()=>Yp,Cancellation:()=>vr,ContextCache:()=>Xp,CstUtils:()=>CE,DONE_RESULT:()=>Ga,Deferred:()=>ms,Disposable:()=>Pf,DisposableCache:()=>H1,DocumentCache:()=>WS,EMPTY_STREAM:()=>Rx,ErrorWithLocation:()=>Ap,GrammarUtils:()=>zE,MultiMap:()=>Vl,OperationCancelled:()=>Yc,Reduction:()=>gg,RegExpUtils:()=>$E,SimpleCache:()=>Pb,StreamImpl:()=>fo,TreeStreamImpl:()=>$c,URI:()=>gs,UriUtils:()=>ys,WorkspaceCache:()=>W1,assertUnreachable:()=>zc,delayNextTick:()=>RO,interruptAndCheck:()=>Ti,isOperationCancelled:()=>Xc,loadGrammarFromJson:()=>Kc,setInterruptionPeriod:()=>Ide,startCancelableOperation:()=>US,stream:()=>en});var hpe=N(()=>{"use strict";qS();jS();Sr(Ur,Jn);V1();YO();AE();upe();tl();Ws();jc();us();el();Bl();Gl();s1()});var fpe=N(()=>{"use strict";UO();zb()});var dpe=N(()=>{"use strict";HO();WO();qO();XO();z1();yP();jO();uP();KO()});var Ea={};ur(Ea,{AbstractAstReflection:()=>kp,AbstractCstNode:()=>kb,AbstractLangiumParser:()=>Eb,AbstractParserErrorMessageProvider:()=>OS,AbstractThreadedAsyncParser:()=>oP,AstUtils:()=>PE,BiMap:()=>Yp,Cancellation:()=>vr,CompositeCstNodeImpl:()=>Hp,ContextCache:()=>Xp,CstNodeBuilder:()=>wb,CstUtils:()=>CE,DEFAULT_TOKENIZE_OPTIONS:()=>KS,DONE_RESULT:()=>Ga,DatatypeSymbol:()=>IS,DefaultAstNodeDescriptionProvider:()=>Ub,DefaultAstNodeLocator:()=>Wb,DefaultAsyncParser:()=>t4,DefaultCommentProvider:()=>e4,DefaultConfigurationProvider:()=>qb,DefaultDocumentBuilder:()=>Yb,DefaultDocumentValidator:()=>Vb,DefaultHydrator:()=>n4,DefaultIndexManager:()=>Xb,DefaultJsonSerializer:()=>Fb,DefaultLangiumDocumentFactory:()=>Db,DefaultLangiumDocuments:()=>Lb,DefaultLexer:()=>Kp,DefaultLexerErrorMessageProvider:()=>Kb,DefaultLinker:()=>Rb,DefaultNameProvider:()=>Nb,DefaultReferenceDescriptionProvider:()=>Hb,DefaultReferences:()=>Mb,DefaultScopeComputation:()=>Ib,DefaultScopeProvider:()=>Bb,DefaultServiceRegistry:()=>$b,DefaultTokenBuilder:()=>Zu,DefaultValueConverter:()=>qp,DefaultWorkspaceLock:()=>r4,DefaultWorkspaceManager:()=>jb,Deferred:()=>ms,Disposable:()=>Pf,DisposableCache:()=>H1,DocumentCache:()=>WS,DocumentState:()=>Cn,DocumentValidator:()=>rl,EMPTY_SCOPE:()=>tXe,EMPTY_STREAM:()=>Rx,EmptyFileSystem:()=>ka,EmptyFileSystemProvider:()=>n6,ErrorWithLocation:()=>Ap,GrammarAST:()=>Gx,GrammarUtils:()=>zE,IndentationAwareLexer:()=>gP,IndentationAwareTokenBuilder:()=>r6,JSDocDocumentationProvider:()=>Jb,LangiumCompletionParser:()=>Cb,LangiumParser:()=>Sb,LangiumParserErrorMessageProvider:()=>P1,LeafCstNodeImpl:()=>Up,LexingMode:()=>Qp,MapScope:()=>Ob,Module:()=>dP,MultiMap:()=>Vl,OperationCancelled:()=>Yc,ParserWorker:()=>lP,Reduction:()=>gg,RegExpUtils:()=>$E,RootCstNodeImpl:()=>O1,SimpleCache:()=>Pb,StreamImpl:()=>fo,StreamScope:()=>U1,TextDocument:()=>$1,TreeStreamImpl:()=>$c,URI:()=>gs,UriUtils:()=>ys,ValidationCategory:()=>q1,ValidationRegistry:()=>Gb,ValueConverter:()=>qc,WorkspaceCache:()=>W1,assertUnreachable:()=>zc,createCompletionParser:()=>vO,createDefaultCoreModule:()=>Ta,createDefaultSharedCoreModule:()=>wa,createGrammarConfig:()=>fI,createLangiumParser:()=>bO,createParser:()=>_b,delayNextTick:()=>RO,diagnosticData:()=>jp,eagerLoad:()=>Jde,getDiagnosticRange:()=>Vde,indentationBuilderDefaultOptions:()=>mP,inject:()=>Hn,interruptAndCheck:()=>Ti,isAstNode:()=>ci,isAstNodeDescription:()=>TM,isAstNodeWithComment:()=>zO,isCompositeCstNode:()=>Ol,isIMultiModeLexerDefinition:()=>ZO,isJSDoc:()=>rP,isLeafCstNode:()=>Df,isLinkingError:()=>Ep,isNamed:()=>Gde,isOperationCancelled:()=>Xc,isReference:()=>ba,isRootCstNode:()=>Lx,isTokenTypeArray:()=>QS,isTokenTypeDictionary:()=>QO,loadGrammarFromJson:()=>Kc,parseJSDoc:()=>tP,prepareLangiumParser:()=>Ade,setInterruptionPeriod:()=>Ide,startCancelableOperation:()=>US,stream:()=>en,toDiagnosticData:()=>Ude,toDiagnosticSeverity:()=>XS});var yo=N(()=>{"use strict";fP();pP();VO();tpe();Pl();rpe();ipe();ope();lpe();cpe();hpe();Sr(Ea,Ur);fpe();dpe();Vc()});function Tpe(t){return Ul.isInstance(t,i4)}function wpe(t){return Ul.isInstance(t,Y1)}function kpe(t){return Ul.isInstance(t,X1)}function Epe(t){return Ul.isInstance(t,j1)}function Spe(t){return Ul.isInstance(t,a4)}function Cpe(t){return Ul.isInstance(t,K1)}function Ape(t){return Ul.isInstance(t,s4)}function _pe(t){return Ul.isInstance(t,o4)}function Dpe(t){return Ul.isInstance(t,l4)}function Lpe(t){return Ul.isInstance(t,c4)}function Rpe(t){return Ul.isInstance(t,u4)}var yXe,xt,AP,i4,i6,Y1,a6,s6,vP,X1,xP,bP,TP,j1,wP,a4,o6,kP,K1,EP,s4,o4,l4,c4,h6,SP,u4,CP,l6,c6,u6,Npe,Ul,ppe,vXe,mpe,xXe,gpe,bXe,ype,TXe,vpe,wXe,xpe,kXe,bpe,EXe,SXe,CXe,AXe,_Xe,DXe,LXe,RXe,vs,_P,DP,LP,RP,NP,MP,IP,NXe,MXe,IXe,OXe,Bf,Ju,Ha,PXe,Wa=N(()=>{"use strict";yo();yo();yo();yo();yXe=Object.defineProperty,xt=o((t,e)=>yXe(t,"name",{value:e,configurable:!0}),"__name"),AP="Statement",i4="Architecture";o(Tpe,"isArchitecture");xt(Tpe,"isArchitecture");i6="Axis",Y1="Branch";o(wpe,"isBranch");xt(wpe,"isBranch");a6="Checkout",s6="CherryPicking",vP="ClassDefStatement",X1="Commit";o(kpe,"isCommit");xt(kpe,"isCommit");xP="Curve",bP="Edge",TP="Entry",j1="GitGraph";o(Epe,"isGitGraph");xt(Epe,"isGitGraph");wP="Group",a4="Info";o(Spe,"isInfo");xt(Spe,"isInfo");o6="Item",kP="Junction",K1="Merge";o(Cpe,"isMerge");xt(Cpe,"isMerge");EP="Option",s4="Packet";o(Ape,"isPacket");xt(Ape,"isPacket");o4="PacketBlock";o(_pe,"isPacketBlock");xt(_pe,"isPacketBlock");l4="Pie";o(Dpe,"isPie");xt(Dpe,"isPie");c4="PieSection";o(Lpe,"isPieSection");xt(Lpe,"isPieSection");h6="Radar",SP="Service",u4="Treemap";o(Rpe,"isTreemap");xt(Rpe,"isTreemap");CP="TreemapRow",l6="Direction",c6="Leaf",u6="Section",Npe=class extends kp{static{o(this,"MermaidAstReflection")}static{xt(this,"MermaidAstReflection")}getAllTypes(){return[i4,i6,Y1,a6,s6,vP,X1,xP,l6,bP,TP,j1,wP,a4,o6,kP,c6,K1,EP,s4,o4,l4,c4,h6,u6,SP,AP,u4,CP]}computeIsSubtype(t,e){switch(t){case Y1:case a6:case s6:case X1:case K1:return this.isSubtype(AP,e);case l6:return this.isSubtype(j1,e);case c6:case u6:return this.isSubtype(o6,e);default:return!1}}getReferenceType(t){let e=`${t.container.$type}:${t.property}`;switch(e){case"Entry:axis":return i6;default:throw new Error(`${e} is not a valid reference id.`)}}getTypeMetaData(t){switch(t){case i4:return{name:i4,properties:[{name:"accDescr"},{name:"accTitle"},{name:"edges",defaultValue:[]},{name:"groups",defaultValue:[]},{name:"junctions",defaultValue:[]},{name:"services",defaultValue:[]},{name:"title"}]};case i6:return{name:i6,properties:[{name:"label"},{name:"name"}]};case Y1:return{name:Y1,properties:[{name:"name"},{name:"order"}]};case a6:return{name:a6,properties:[{name:"branch"}]};case s6:return{name:s6,properties:[{name:"id"},{name:"parent"},{name:"tags",defaultValue:[]}]};case vP:return{name:vP,properties:[{name:"className"},{name:"styleText"}]};case X1:return{name:X1,properties:[{name:"id"},{name:"message"},{name:"tags",defaultValue:[]},{name:"type"}]};case xP:return{name:xP,properties:[{name:"entries",defaultValue:[]},{name:"label"},{name:"name"}]};case bP:return{name:bP,properties:[{name:"lhsDir"},{name:"lhsGroup",defaultValue:!1},{name:"lhsId"},{name:"lhsInto",defaultValue:!1},{name:"rhsDir"},{name:"rhsGroup",defaultValue:!1},{name:"rhsId"},{name:"rhsInto",defaultValue:!1},{name:"title"}]};case TP:return{name:TP,properties:[{name:"axis"},{name:"value"}]};case j1:return{name:j1,properties:[{name:"accDescr"},{name:"accTitle"},{name:"statements",defaultValue:[]},{name:"title"}]};case wP:return{name:wP,properties:[{name:"icon"},{name:"id"},{name:"in"},{name:"title"}]};case a4:return{name:a4,properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"}]};case o6:return{name:o6,properties:[{name:"classSelector"},{name:"name"}]};case kP:return{name:kP,properties:[{name:"id"},{name:"in"}]};case K1:return{name:K1,properties:[{name:"branch"},{name:"id"},{name:"tags",defaultValue:[]},{name:"type"}]};case EP:return{name:EP,properties:[{name:"name"},{name:"value",defaultValue:!1}]};case s4:return{name:s4,properties:[{name:"accDescr"},{name:"accTitle"},{name:"blocks",defaultValue:[]},{name:"title"}]};case o4:return{name:o4,properties:[{name:"bits"},{name:"end"},{name:"label"},{name:"start"}]};case l4:return{name:l4,properties:[{name:"accDescr"},{name:"accTitle"},{name:"sections",defaultValue:[]},{name:"showData",defaultValue:!1},{name:"title"}]};case c4:return{name:c4,properties:[{name:"label"},{name:"value"}]};case h6:return{name:h6,properties:[{name:"accDescr"},{name:"accTitle"},{name:"axes",defaultValue:[]},{name:"curves",defaultValue:[]},{name:"options",defaultValue:[]},{name:"title"}]};case SP:return{name:SP,properties:[{name:"icon"},{name:"iconText"},{name:"id"},{name:"in"},{name:"title"}]};case u4:return{name:u4,properties:[{name:"accDescr"},{name:"accTitle"},{name:"title"},{name:"TreemapRows",defaultValue:[]}]};case CP:return{name:CP,properties:[{name:"indent"},{name:"item"}]};case l6:return{name:l6,properties:[{name:"accDescr"},{name:"accTitle"},{name:"dir"},{name:"statements",defaultValue:[]},{name:"title"}]};case c6:return{name:c6,properties:[{name:"classSelector"},{name:"name"},{name:"value"}]};case u6:return{name:u6,properties:[{name:"classSelector"},{name:"name"}]};default:return{name:t,properties:[]}}}},Ul=new Npe,vXe=xt(()=>ppe??(ppe=Kc(`{"$type":"Grammar","isDeclared":true,"name":"Info","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Info","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"info"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"Keyword","value":"showInfo"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"*"}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"?"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@7"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@8"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[],"types":[],"usedGrammars":[]}`)),"InfoGrammar"),xXe=xt(()=>mpe??(mpe=Kc(`{"$type":"Grammar","isDeclared":true,"name":"Packet","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Packet","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"packet"},{"$type":"Keyword","value":"packet-beta"}]},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PacketBlock","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Assignment","feature":"start","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"end","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}],"cardinality":"?"}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"+"},{"$type":"Assignment","feature":"bits","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]}]},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@8"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@9"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[],"types":[],"usedGrammars":[]}`)),"PacketGrammar"),bXe=xt(()=>gpe??(gpe=Kc(`{"$type":"Grammar","isDeclared":true,"name":"Pie","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Pie","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"pie"},{"$type":"Assignment","feature":"showData","operator":"?=","terminal":{"$type":"Keyword","value":"showData"},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"PieSection","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"FLOAT_PIE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/-?[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT_PIE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/-?(0|[1-9][0-9]*)(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER_PIE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@2"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@3"}}]},"fragment":false,"hidden":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@11"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@12"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[],"types":[],"usedGrammars":[]}`)),"PieGrammar"),TXe=xt(()=>ype??(ype=Kc(`{"$type":"Grammar","isDeclared":true,"name":"Architecture","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Architecture","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"architecture-beta"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"groups","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"services","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"junctions","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"edges","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"LeftPort","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"lhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"RightPort","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"rhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Keyword","value":":"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"Arrow","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]},{"$type":"Assignment","feature":"lhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"--"},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@29"},"arguments":[]}},{"$type":"Keyword","value":"-"}]}]},{"$type":"Assignment","feature":"rhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Group","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"group"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@28"},"arguments":[]},"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@29"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Service","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"service"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"iconText","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@28"},"arguments":[]}}],"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@29"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Junction","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"junction"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Edge","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"lhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Assignment","feature":"lhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"rhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Assignment","feature":"rhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"ARROW_DIRECTION","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"L"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"R"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"T"}}]},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"B"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_GROUP","definition":{"$type":"RegexToken","regex":"/\\\\{group\\\\}/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_INTO","definition":{"$type":"RegexToken","regex":"/<|>/"},"fragment":false,"hidden":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@18"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@19"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false},{"$type":"TerminalRule","name":"ARCH_ICON","definition":{"$type":"RegexToken","regex":"/\\\\([\\\\w-:]+\\\\)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TITLE","definition":{"$type":"RegexToken","regex":"/\\\\[[\\\\w ]+\\\\]/"},"fragment":false,"hidden":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[],"types":[],"usedGrammars":[]}`)),"ArchitectureGrammar"),wXe=xt(()=>vpe??(vpe=Kc(`{"$type":"Grammar","isDeclared":true,"name":"GitGraph","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"GitGraph","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Keyword","value":":"}]},{"$type":"Keyword","value":"gitGraph:"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]},{"$type":"Keyword","value":":"}]}]},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]},{"$type":"Assignment","feature":"statements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Direction","definition":{"$type":"Assignment","feature":"dir","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"LR"},{"$type":"Keyword","value":"TB"},{"$type":"Keyword","value":"BT"}]}},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Commit","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"commit"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"msg:","cardinality":"?"},{"$type":"Assignment","feature":"message","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Branch","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"branch"},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"order:"},{"$type":"Assignment","feature":"order","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Merge","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"merge"},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]}},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Checkout","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"checkout"},{"$type":"Keyword","value":"switch"}]},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"CherryPicking","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"cherry-pick"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"parent:"},{"$type":"Assignment","feature":"parent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@14"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@15"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false},{"$type":"TerminalRule","name":"REFERENCE","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\\\w([-\\\\./\\\\w]*[-\\\\w])?/"},"fragment":false,"hidden":false}],"definesHiddenTokens":false,"hiddenTokens":[],"interfaces":[],"types":[],"usedGrammars":[]}`)),"GitGraphGrammar"),kXe=xt(()=>xpe??(xpe=Kc(`{"$type":"Grammar","isDeclared":true,"name":"Radar","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Radar","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"radar-beta"},{"$type":"Keyword","value":"radar-beta:"},{"$type":"Group","elements":[{"$type":"Keyword","value":"radar-beta"},{"$type":"Keyword","value":":"}]}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]},{"$type":"Group","elements":[{"$type":"Keyword","value":"axis"},{"$type":"Assignment","feature":"axes","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"axes","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"curve"},{"$type":"Assignment","feature":"curves","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"curves","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}}],"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"options","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"options","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}}],"cardinality":"*"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"Label","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}},{"$type":"Keyword","value":"]"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Axis","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"?"}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Curve","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"?"},{"$type":"Keyword","value":"{"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Keyword","value":"}"}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"Entries","definition":{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"}]}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"DetailedEntry","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"axis","operator":"=","terminal":{"$type":"CrossReference","type":{"$ref":"#/rules@2"},"terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},"deprecatedSyntax":false}},{"$type":"Keyword","value":":","cardinality":"?"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"NumberEntry","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Option","definition":{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"showLegend"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"ticks"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"max"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"min"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"graticule"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}}]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"GRATICULE","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"circle"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"polygon"}}]},"fragment":false,"hidden":false},{"$type":"ParserRule","fragment":true,"name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@15"}},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@16"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/"},"fragment":false}],"interfaces":[{"$type":"Interface","name":"Entry","attributes":[{"$type":"TypeAttribute","name":"axis","isOptional":true,"type":{"$type":"ReferenceType","referenceType":{"$type":"SimpleType","typeRef":{"$ref":"#/rules@2"}}}},{"$type":"TypeAttribute","name":"value","type":{"$type":"SimpleType","primitiveType":"number"},"isOptional":false}],"superTypes":[]}],"definesHiddenTokens":false,"hiddenTokens":[],"types":[],"usedGrammars":[]}`)),"RadarGrammar"),EXe=xt(()=>bpe??(bpe=Kc(`{"$type":"Grammar","isDeclared":true,"name":"Treemap","rules":[{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}}],"cardinality":"+"},"definesHiddenTokens":false,"entry":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/"},"fragment":false,"hidden":false},{"$type":"ParserRule","entry":true,"name":"Treemap","returnType":{"$ref":"#/interfaces@4"},"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]},{"$type":"Assignment","feature":"TreemapRows","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}}],"cardinality":"*"}]},"definesHiddenTokens":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"TREEMAP_KEYWORD","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"treemap-beta"}},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"treemap"}}]},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"CLASS_DEF","definition":{"$type":"RegexToken","regex":"/classDef\\\\s+([a-zA-Z_][a-zA-Z0-9_]+)(?:\\\\s+([^;\\\\r\\\\n]*))?(?:;)?/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STYLE_SEPARATOR","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":":::"}},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"SEPARATOR","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":":"}},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"COMMA","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":","}},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WS","definition":{"$type":"RegexToken","regex":"/[ \\\\t]+/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"ML_COMMENT","definition":{"$type":"RegexToken","regex":"/\\\\%\\\\%[^\\\\n]*/"},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"NL","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/"},"fragment":false},{"$type":"ParserRule","name":"TreemapRow","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"indent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"item","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"ClassDef","dataType":"string","definition":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Item","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Section","returnType":{"$ref":"#/interfaces@1"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]},{"$type":"Assignment","feature":"classSelector","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}],"cardinality":"?"}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"ParserRule","name":"Leaf","returnType":{"$ref":"#/interfaces@2"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[],"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[],"cardinality":"?"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]},{"$type":"Assignment","feature":"classSelector","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}],"cardinality":"?"}]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"INDENTATION","definition":{"$type":"RegexToken","regex":"/[ \\\\t]{1,}/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID2","definition":{"$type":"RegexToken","regex":"/[a-zA-Z_][a-zA-Z0-9_]*/"},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER2","definition":{"$type":"RegexToken","regex":"/[0-9_\\\\.\\\\,]+/"},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"MyNumber","dataType":"number","definition":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]},"definesHiddenTokens":false,"entry":false,"fragment":false,"hiddenTokens":[],"parameters":[],"wildcard":false},{"$type":"TerminalRule","name":"STRING2","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/"},"fragment":false,"hidden":false}],"interfaces":[{"$type":"Interface","name":"Item","attributes":[{"$type":"TypeAttribute","name":"name","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false},{"$type":"TypeAttribute","name":"classSelector","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]},{"$type":"Interface","name":"Section","superTypes":[{"$ref":"#/interfaces@0"}],"attributes":[]},{"$type":"Interface","name":"Leaf","superTypes":[{"$ref":"#/interfaces@0"}],"attributes":[{"$type":"TypeAttribute","name":"value","type":{"$type":"SimpleType","primitiveType":"number"},"isOptional":false}]},{"$type":"Interface","name":"ClassDefStatement","attributes":[{"$type":"TypeAttribute","name":"className","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false},{"$type":"TypeAttribute","name":"styleText","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"Treemap","attributes":[{"$type":"TypeAttribute","name":"TreemapRows","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/rules@14"}}},"isOptional":false},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"definesHiddenTokens":false,"hiddenTokens":[],"imports":[],"types":[],"usedGrammars":[],"$comment":"/**\\n * Treemap grammar for Langium\\n * Converted from mindmap grammar\\n *\\n * The ML_COMMENT and NL hidden terminals handle whitespace, comments, and newlines\\n * before the treemap keyword, allowing for empty lines and comments before the\\n * treemap declaration.\\n */"}`)),"TreemapGrammar"),SXe={languageId:"info",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},CXe={languageId:"packet",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},AXe={languageId:"pie",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},_Xe={languageId:"architecture",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},DXe={languageId:"gitGraph",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},LXe={languageId:"radar",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},RXe={languageId:"treemap",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},vs={AstReflection:xt(()=>new Npe,"AstReflection")},_P={Grammar:xt(()=>vXe(),"Grammar"),LanguageMetaData:xt(()=>SXe,"LanguageMetaData"),parser:{}},DP={Grammar:xt(()=>xXe(),"Grammar"),LanguageMetaData:xt(()=>CXe,"LanguageMetaData"),parser:{}},LP={Grammar:xt(()=>bXe(),"Grammar"),LanguageMetaData:xt(()=>AXe,"LanguageMetaData"),parser:{}},RP={Grammar:xt(()=>TXe(),"Grammar"),LanguageMetaData:xt(()=>_Xe,"LanguageMetaData"),parser:{}},NP={Grammar:xt(()=>wXe(),"Grammar"),LanguageMetaData:xt(()=>DXe,"LanguageMetaData"),parser:{}},MP={Grammar:xt(()=>kXe(),"Grammar"),LanguageMetaData:xt(()=>LXe,"LanguageMetaData"),parser:{}},IP={Grammar:xt(()=>EXe(),"Grammar"),LanguageMetaData:xt(()=>RXe,"LanguageMetaData"),parser:{}},NXe=/accDescr(?:[\t ]*:([^\n\r]*)|\s*{([^}]*)})/,MXe=/accTitle[\t ]*:([^\n\r]*)/,IXe=/title([\t ][^\n\r]*|)/,OXe={ACC_DESCR:NXe,ACC_TITLE:MXe,TITLE:IXe},Bf=class extends qp{static{o(this,"AbstractMermaidValueConverter")}static{xt(this,"AbstractMermaidValueConverter")}runConverter(t,e,r){let n=this.runCommonConverter(t,e,r);return n===void 0&&(n=this.runCustomConverter(t,e,r)),n===void 0?super.runConverter(t,e,r):n}runCommonConverter(t,e,r){let n=OXe[t.name];if(n===void 0)return;let i=n.exec(e);if(i!==null){if(i[1]!==void 0)return i[1].trim().replace(/[\t ]{2,}/gm," ");if(i[2]!==void 0)return i[2].replace(/^\s*/gm,"").replace(/\s+$/gm,"").replace(/[\t ]{2,}/gm," ").replace(/[\n\r]{2,}/gm,` +`)}}},Ju=class extends Bf{static{o(this,"CommonValueConverter")}static{xt(this,"CommonValueConverter")}runCustomConverter(t,e,r){}},Ha=class extends Zu{static{o(this,"AbstractMermaidTokenBuilder")}static{xt(this,"AbstractMermaidTokenBuilder")}constructor(t){super(),this.keywords=new Set(t)}buildKeywordTokens(t,e,r){let n=super.buildKeywordTokens(t,e,r);return n.forEach(i=>{this.keywords.has(i.name)&&i.PATTERN!==void 0&&(i.PATTERN=new RegExp(i.PATTERN.toString()+"(?:(?=%%)|(?!\\S))"))}),n}},PXe=class extends Ha{static{o(this,"CommonTokenBuilder")}static{xt(this,"CommonTokenBuilder")}}});function d6(t=ka){let e=Hn(wa(t),vs),r=Hn(Ta({shared:e}),NP,f6);return e.ServiceRegistry.register(r),{shared:e,GitGraph:r}}var BXe,f6,OP=N(()=>{"use strict";Wa();yo();BXe=class extends Ha{static{o(this,"GitGraphTokenBuilder")}static{xt(this,"GitGraphTokenBuilder")}constructor(){super(["gitGraph"])}},f6={parser:{TokenBuilder:xt(()=>new BXe,"TokenBuilder"),ValueConverter:xt(()=>new Ju,"ValueConverter")}};o(d6,"createGitGraphServices");xt(d6,"createGitGraphServices")});function m6(t=ka){let e=Hn(wa(t),vs),r=Hn(Ta({shared:e}),_P,p6);return e.ServiceRegistry.register(r),{shared:e,Info:r}}var FXe,p6,PP=N(()=>{"use strict";Wa();yo();FXe=class extends Ha{static{o(this,"InfoTokenBuilder")}static{xt(this,"InfoTokenBuilder")}constructor(){super(["info","showInfo"])}},p6={parser:{TokenBuilder:xt(()=>new FXe,"TokenBuilder"),ValueConverter:xt(()=>new Ju,"ValueConverter")}};o(m6,"createInfoServices");xt(m6,"createInfoServices")});function y6(t=ka){let e=Hn(wa(t),vs),r=Hn(Ta({shared:e}),DP,g6);return e.ServiceRegistry.register(r),{shared:e,Packet:r}}var $Xe,g6,BP=N(()=>{"use strict";Wa();yo();$Xe=class extends Ha{static{o(this,"PacketTokenBuilder")}static{xt(this,"PacketTokenBuilder")}constructor(){super(["packet"])}},g6={parser:{TokenBuilder:xt(()=>new $Xe,"TokenBuilder"),ValueConverter:xt(()=>new Ju,"ValueConverter")}};o(y6,"createPacketServices");xt(y6,"createPacketServices")});function x6(t=ka){let e=Hn(wa(t),vs),r=Hn(Ta({shared:e}),LP,v6);return e.ServiceRegistry.register(r),{shared:e,Pie:r}}var GXe,zXe,v6,FP=N(()=>{"use strict";Wa();yo();GXe=class extends Ha{static{o(this,"PieTokenBuilder")}static{xt(this,"PieTokenBuilder")}constructor(){super(["pie","showData"])}},zXe=class extends Bf{static{o(this,"PieValueConverter")}static{xt(this,"PieValueConverter")}runCustomConverter(t,e,r){if(t.name==="PIE_SECTION_LABEL")return e.replace(/"/g,"").trim()}},v6={parser:{TokenBuilder:xt(()=>new GXe,"TokenBuilder"),ValueConverter:xt(()=>new zXe,"ValueConverter")}};o(x6,"createPieServices");xt(x6,"createPieServices")});function T6(t=ka){let e=Hn(wa(t),vs),r=Hn(Ta({shared:e}),RP,b6);return e.ServiceRegistry.register(r),{shared:e,Architecture:r}}var VXe,UXe,b6,$P=N(()=>{"use strict";Wa();yo();VXe=class extends Ha{static{o(this,"ArchitectureTokenBuilder")}static{xt(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}},UXe=class extends Bf{static{o(this,"ArchitectureValueConverter")}static{xt(this,"ArchitectureValueConverter")}runCustomConverter(t,e,r){if(t.name==="ARCH_ICON")return e.replace(/[()]/g,"").trim();if(t.name==="ARCH_TEXT_ICON")return e.replace(/["()]/g,"");if(t.name==="ARCH_TITLE")return e.replace(/[[\]]/g,"").trim()}},b6={parser:{TokenBuilder:xt(()=>new VXe,"TokenBuilder"),ValueConverter:xt(()=>new UXe,"ValueConverter")}};o(T6,"createArchitectureServices");xt(T6,"createArchitectureServices")});function k6(t=ka){let e=Hn(wa(t),vs),r=Hn(Ta({shared:e}),MP,w6);return e.ServiceRegistry.register(r),{shared:e,Radar:r}}var HXe,w6,GP=N(()=>{"use strict";Wa();yo();HXe=class extends Ha{static{o(this,"RadarTokenBuilder")}static{xt(this,"RadarTokenBuilder")}constructor(){super(["radar-beta"])}},w6={parser:{TokenBuilder:xt(()=>new HXe,"TokenBuilder"),ValueConverter:xt(()=>new Ju,"ValueConverter")}};o(k6,"createRadarServices");xt(k6,"createRadarServices")});function Mpe(t){let e=t.validation.TreemapValidator,r=t.validation.ValidationRegistry;if(r){let n={Treemap:e.checkSingleRoot.bind(e)};r.register(n,e)}}function S6(t=ka){let e=Hn(wa(t),vs),r=Hn(Ta({shared:e}),IP,E6);return e.ServiceRegistry.register(r),Mpe(r),{shared:e,Treemap:r}}var WXe,qXe,YXe,XXe,E6,zP=N(()=>{"use strict";Wa();yo();WXe=class extends Ha{static{o(this,"TreemapTokenBuilder")}static{xt(this,"TreemapTokenBuilder")}constructor(){super(["treemap"])}},qXe=/classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/,YXe=class extends Bf{static{o(this,"TreemapValueConverter")}static{xt(this,"TreemapValueConverter")}runCustomConverter(t,e,r){if(t.name==="NUMBER2")return parseFloat(e.replace(/,/g,""));if(t.name==="SEPARATOR")return e.substring(1,e.length-1);if(t.name==="STRING2")return e.substring(1,e.length-1);if(t.name==="INDENTATION")return e.length;if(t.name==="ClassDef"){if(typeof e!="string")return e;let n=qXe.exec(e);if(n)return{$type:"ClassDefStatement",className:n[1],styleText:n[2]||void 0}}}};o(Mpe,"registerValidationChecks");xt(Mpe,"registerValidationChecks");XXe=class{static{o(this,"TreemapValidator")}static{xt(this,"TreemapValidator")}checkSingleRoot(t,e){let r;for(let n of t.TreemapRows)n.item&&(r===void 0&&n.indent===void 0?r=0:n.indent===void 0?e("error","Multiple root nodes are not allowed in a treemap.",{node:n,property:"item"}):r!==void 0&&r>=parseInt(n.indent,10)&&e("error","Multiple root nodes are not allowed in a treemap.",{node:n,property:"item"}))}},E6={parser:{TokenBuilder:xt(()=>new WXe,"TokenBuilder"),ValueConverter:xt(()=>new YXe,"ValueConverter")},validation:{TreemapValidator:xt(()=>new XXe,"TreemapValidator")}};o(S6,"createTreemapServices");xt(S6,"createTreemapServices")});var Ipe={};ur(Ipe,{InfoModule:()=>p6,createInfoServices:()=>m6});var Ope=N(()=>{"use strict";PP();Wa()});var Ppe={};ur(Ppe,{PacketModule:()=>g6,createPacketServices:()=>y6});var Bpe=N(()=>{"use strict";BP();Wa()});var Fpe={};ur(Fpe,{PieModule:()=>v6,createPieServices:()=>x6});var $pe=N(()=>{"use strict";FP();Wa()});var Gpe={};ur(Gpe,{ArchitectureModule:()=>b6,createArchitectureServices:()=>T6});var zpe=N(()=>{"use strict";$P();Wa()});var Vpe={};ur(Vpe,{GitGraphModule:()=>f6,createGitGraphServices:()=>d6});var Upe=N(()=>{"use strict";OP();Wa()});var Hpe={};ur(Hpe,{RadarModule:()=>w6,createRadarServices:()=>k6});var Wpe=N(()=>{"use strict";GP();Wa()});var qpe={};ur(qpe,{TreemapModule:()=>E6,createTreemapServices:()=>S6});var Ype=N(()=>{"use strict";zP();Wa()});async function xs(t,e){let r=jXe[t];if(!r)throw new Error(`Unknown diagram type: ${t}`);eh[t]||await r();let i=eh[t].parse(e);if(i.lexerErrors.length>0||i.parserErrors.length>0)throw new KXe(i);return i.value}var eh,jXe,KXe,Ff=N(()=>{"use strict";OP();PP();BP();FP();$P();GP();zP();Wa();eh={},jXe={info:xt(async()=>{let{createInfoServices:t}=await Promise.resolve().then(()=>(Ope(),Ipe)),e=t().Info.parser.LangiumParser;eh.info=e},"info"),packet:xt(async()=>{let{createPacketServices:t}=await Promise.resolve().then(()=>(Bpe(),Ppe)),e=t().Packet.parser.LangiumParser;eh.packet=e},"packet"),pie:xt(async()=>{let{createPieServices:t}=await Promise.resolve().then(()=>($pe(),Fpe)),e=t().Pie.parser.LangiumParser;eh.pie=e},"pie"),architecture:xt(async()=>{let{createArchitectureServices:t}=await Promise.resolve().then(()=>(zpe(),Gpe)),e=t().Architecture.parser.LangiumParser;eh.architecture=e},"architecture"),gitGraph:xt(async()=>{let{createGitGraphServices:t}=await Promise.resolve().then(()=>(Upe(),Vpe)),e=t().GitGraph.parser.LangiumParser;eh.gitGraph=e},"gitGraph"),radar:xt(async()=>{let{createRadarServices:t}=await Promise.resolve().then(()=>(Wpe(),Hpe)),e=t().Radar.parser.LangiumParser;eh.radar=e},"radar"),treemap:xt(async()=>{let{createTreemapServices:t}=await Promise.resolve().then(()=>(Ype(),qpe)),e=t().Treemap.parser.LangiumParser;eh.treemap=e},"treemap")};o(xs,"parse");xt(xs,"parse");KXe=class extends Error{static{o(this,"MermaidParseError")}constructor(t){let e=t.lexerErrors.map(n=>n.message).join(` `),r=t.parserErrors.map(n=>n.message).join(` -`);super(`Parsing failed: ${e} ${r}`),this.result=t}static{xt(this,"MermaidParseError")}}});function Qo(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}var Dp=N(()=>{"use strict";o(Qo,"populateCommonDb")});var jr,wS=N(()=>{"use strict";jr={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4}});var E1,EO=N(()=>{"use strict";E1=class{constructor(e){this.init=e;this.records=this.init()}static{o(this,"ImperativeState")}reset(){this.records=this.init()}}});function SO(){return _9({length:7})}function $ze(t,e){let r=Object.create(null);return t.reduce((n,i)=>{let a=e(i);return r[a]||(r[a]=!0,n.push(i)),n},[])}function phe(t,e,r){let n=t.indexOf(e);n===-1?t.push(r):t.splice(n,1,r)}function ghe(t){let e=t.reduce((i,a)=>i.seq>a.seq?i:a,t[0]),r="";t.forEach(function(i){i===e?r+=" *":r+=" |"});let n=[r,e.id,e.seq];for(let i in At.records.branches)At.records.branches.get(i)===e.id&&n.push(i);if(X.debug(n.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){let i=At.records.commits.get(e.parents[0]);phe(t,e,i),e.parents[1]&&t.push(At.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){let i=At.records.commits.get(e.parents[0]);phe(t,e,i)}}t=$ze(t,i=>i.id),ghe(t)}var Fze,Lp,At,zze,Gze,Vze,Uze,Hze,Wze,qze,mhe,Yze,Xze,jze,Kze,Qze,yhe,Zze,Jze,eGe,kS,CO=N(()=>{"use strict";yt();nr();Jn();dr();ci();wS();EO();Ca();Fze=lr.gitGraph,Lp=o(()=>Fn({...Fze,...Qt().gitGraph}),"getConfig"),At=new E1(()=>{let t=Lp(),e=t.mainBranchName,r=t.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:r}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});o(SO,"getID");o($ze,"uniqBy");zze=o(function(t){At.records.direction=t},"setDirection"),Gze=o(function(t){X.debug("options str",t),t=t?.trim(),t=t||"{}";try{At.records.options=JSON.parse(t)}catch(e){X.error("error while parsing gitGraph options",e.message)}},"setOptions"),Vze=o(function(){return At.records.options},"getOptions"),Uze=o(function(t){let e=t.msg,r=t.id,n=t.type,i=t.tags;X.info("commit",e,r,n,i),X.debug("Entering commit:",e,r,n,i);let a=Lp();r=Ze.sanitizeText(r,a),e=Ze.sanitizeText(e,a),i=i?.map(l=>Ze.sanitizeText(l,a));let s={id:r||At.records.seq+"-"+SO(),message:e,seq:At.records.seq++,type:n??jr.NORMAL,tags:i??[],parents:At.records.head==null?[]:[At.records.head.id],branch:At.records.currBranch};At.records.head=s,X.info("main branch",a.mainBranchName),At.records.commits.has(s.id)&&X.warn(`Commit ID ${s.id} already exists`),At.records.commits.set(s.id,s),At.records.branches.set(At.records.currBranch,s.id),X.debug("in pushCommit "+s.id)},"commit"),Hze=o(function(t){let e=t.name,r=t.order;if(e=Ze.sanitizeText(e,Lp()),At.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);At.records.branches.set(e,At.records.head!=null?At.records.head.id:null),At.records.branchConfig.set(e,{name:e,order:r}),mhe(e),X.debug("in createBranch")},"branch"),Wze=o(t=>{let e=t.branch,r=t.id,n=t.type,i=t.tags,a=Lp();e=Ze.sanitizeText(e,a),r&&(r=Ze.sanitizeText(r,a));let s=At.records.branches.get(At.records.currBranch),l=At.records.branches.get(e),u=s?At.records.commits.get(s):void 0,h=l?At.records.commits.get(l):void 0;if(u&&h&&u.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(At.records.currBranch===e){let p=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw p.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},p}if(u===void 0||!u){let p=new Error(`Incorrect usage of "merge". Current branch (${At.records.currBranch})has no commits`);throw p.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},p}if(!At.records.branches.has(e)){let p=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw p.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},p}if(h===void 0||!h){let p=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw p.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},p}if(u===h){let p=new Error('Incorrect usage of "merge". Both branches have same head');throw p.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},p}if(r&&At.records.commits.has(r)){let p=new Error('Incorrect usage of "merge". Commit with id:'+r+" already exists, use different custom id");throw p.hash={text:`merge ${e} ${r} ${n} ${i?.join(" ")}`,token:`merge ${e} ${r} ${n} ${i?.join(" ")}`,expected:[`merge ${e} ${r}_UNIQUE ${n} ${i?.join(" ")}`]},p}let f=l||"",d={id:r||`${At.records.seq}-${SO()}`,message:`merged branch ${e} into ${At.records.currBranch}`,seq:At.records.seq++,parents:At.records.head==null?[]:[At.records.head.id,f],branch:At.records.currBranch,type:jr.MERGE,customType:n,customId:!!r,tags:i??[]};At.records.head=d,At.records.commits.set(d.id,d),At.records.branches.set(At.records.currBranch,d.id),X.debug(At.records.branches),X.debug("in mergeBranch")},"merge"),qze=o(function(t){let e=t.id,r=t.targetId,n=t.tags,i=t.parent;X.debug("Entering cherryPick:",e,r,n);let a=Lp();if(e=Ze.sanitizeText(e,a),r=Ze.sanitizeText(r,a),n=n?.map(u=>Ze.sanitizeText(u,a)),i=Ze.sanitizeText(i,a),!e||!At.records.commits.has(e)){let u=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw u.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},u}let s=At.records.commits.get(e);if(s===void 0||!s)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(i&&!(Array.isArray(s.parents)&&s.parents.includes(i)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let l=s.branch;if(s.type===jr.MERGE&&!i)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!r||!At.records.commits.has(r)){if(l===At.records.currBranch){let d=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw d.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},d}let u=At.records.branches.get(At.records.currBranch);if(u===void 0||!u){let d=new Error(`Incorrect usage of "cherry-pick". Current branch (${At.records.currBranch})has no commits`);throw d.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},d}let h=At.records.commits.get(u);if(h===void 0||!h){let d=new Error(`Incorrect usage of "cherry-pick". Current branch (${At.records.currBranch})has no commits`);throw d.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},d}let f={id:At.records.seq+"-"+SO(),message:`cherry-picked ${s?.message} into ${At.records.currBranch}`,seq:At.records.seq++,parents:At.records.head==null?[]:[At.records.head.id,s.id],branch:At.records.currBranch,type:jr.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${s.id}${s.type===jr.MERGE?`|parent:${i}`:""}`]};At.records.head=f,At.records.commits.set(f.id,f),At.records.branches.set(At.records.currBranch,f.id),X.debug(At.records.branches),X.debug("in cherryPick")}},"cherryPick"),mhe=o(function(t){if(t=Ze.sanitizeText(t,Lp()),At.records.branches.has(t)){At.records.currBranch=t;let e=At.records.branches.get(At.records.currBranch);e===void 0||!e?At.records.head=null:At.records.head=At.records.commits.get(e)??null}else{let e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw e.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},e}},"checkout");o(phe,"upsert");o(ghe,"prettyPrintCommitHistory");Yze=o(function(){X.debug(At.records.commits);let t=yhe()[0];ghe([t])},"prettyPrint"),Xze=o(function(){At.reset(),wr()},"clear"),jze=o(function(){return[...At.records.branchConfig.values()].map((e,r)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${r}`)}).sort((e,r)=>(e.order??0)-(r.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),Kze=o(function(){return At.records.branches},"getBranches"),Qze=o(function(){return At.records.commits},"getCommits"),yhe=o(function(){let t=[...At.records.commits.values()];return t.forEach(function(e){X.debug(e.id)}),t.sort((e,r)=>e.seq-r.seq),t},"getCommitsArray"),Zze=o(function(){return At.records.currBranch},"getCurrentBranch"),Jze=o(function(){return At.records.direction},"getDirection"),eGe=o(function(){return At.records.head},"getHead"),kS={commitType:jr,getConfig:Lp,setDirection:zze,setOptions:Gze,getOptions:Vze,commit:Uze,branch:Hze,merge:Wze,cherryPick:qze,checkout:mhe,prettyPrint:Yze,clear:Xze,getBranchesAsObjArray:jze,getBranches:Kze,getCommits:Qze,getCommitsArray:yhe,getCurrentBranch:Zze,getDirection:Jze,getHead:eGe,setAccTitle:Cr,getAccTitle:_r,getAccDescription:Lr,setAccDescription:Dr,setDiagramTitle:Ir,getDiagramTitle:Rr}});var tGe,rGe,nGe,iGe,aGe,sGe,oGe,vhe,xhe=N(()=>{"use strict";gf();yt();Dp();CO();wS();tGe=o((t,e)=>{Qo(t,e),t.dir&&e.setDirection(t.dir);for(let r of t.statements)rGe(r,e)},"populate"),rGe=o((t,e)=>{let n={Commit:o(i=>e.commit(nGe(i)),"Commit"),Branch:o(i=>e.branch(iGe(i)),"Branch"),Merge:o(i=>e.merge(aGe(i)),"Merge"),Checkout:o(i=>e.checkout(sGe(i)),"Checkout"),CherryPicking:o(i=>e.cherryPick(oGe(i)),"CherryPicking")}[t.$type];n?n(t):X.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),nGe=o(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?jr[t.type]:jr.NORMAL,tags:t.tags??void 0}),"parseCommit"),iGe=o(t=>({name:t.name,order:t.order??0}),"parseBranch"),aGe=o(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?jr[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),sGe=o(t=>t.branch,"parseCheckout"),oGe=o(t=>({id:t.id,targetId:"",tags:t.tags?.length===0?void 0:t.tags,parent:t.parent}),"parseCherryPicking"),vhe={parse:o(async t=>{let e=await ps("gitGraph",t);X.debug(e),tGe(e,kS)},"parse")}});var lGe,Zo,vf,xf,Uc,Xu,Rp,Vs,Us,ES,kb,SS,yf,Br,cGe,The,whe,uGe,hGe,fGe,dGe,pGe,mGe,gGe,yGe,vGe,xGe,bGe,TGe,bhe,wGe,Eb,kGe,EGe,SGe,CGe,AGe,khe,Ehe=N(()=>{"use strict";pr();qt();yt();nr();wS();lGe=ge(),Zo=lGe?.gitGraph,vf=10,xf=40,Uc=4,Xu=2,Rp=8,Vs=new Map,Us=new Map,ES=30,kb=new Map,SS=[],yf=0,Br="LR",cGe=o(()=>{Vs.clear(),Us.clear(),kb.clear(),yf=0,SS=[],Br="LR"},"clear"),The=o(t=>{let e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|/gi):t).forEach(n=>{let i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),i.setAttribute("class","row"),i.textContent=n.trim(),e.appendChild(i)}),e},"drawText"),whe=o(t=>{let e,r,n;return Br==="BT"?(r=o((i,a)=>i<=a,"comparisonFunc"),n=1/0):(r=o((i,a)=>i>=a,"comparisonFunc"),n=0),t.forEach(i=>{let a=Br==="TB"||Br=="BT"?Us.get(i)?.y:Us.get(i)?.x;a!==void 0&&r(a,n)&&(e=i,n=a)}),e},"findClosestParent"),uGe=o(t=>{let e="",r=1/0;return t.forEach(n=>{let i=Us.get(n).y;i<=r&&(e=n,r=i)}),e||void 0},"findClosestParentBT"),hGe=o((t,e,r)=>{let n=r,i=r,a=[];t.forEach(s=>{let l=e.get(s);if(!l)throw new Error(`Commit not found for key ${s}`);l.parents.length?(n=dGe(l),i=Math.max(n,i)):a.push(l),pGe(l,n)}),n=i,a.forEach(s=>{mGe(s,n,r)}),t.forEach(s=>{let l=e.get(s);if(l?.parents.length){let u=uGe(l.parents);n=Us.get(u).y-xf,n<=i&&(i=n);let h=Vs.get(l.branch).pos,f=n-vf;Us.set(l.id,{x:h,y:f})}})},"setParallelBTPos"),fGe=o(t=>{let e=whe(t.parents.filter(n=>n!==null));if(!e)throw new Error(`Closest parent not found for commit ${t.id}`);let r=Us.get(e)?.y;if(r===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return r},"findClosestParentPos"),dGe=o(t=>fGe(t)+xf,"calculateCommitPosition"),pGe=o((t,e)=>{let r=Vs.get(t.branch);if(!r)throw new Error(`Branch not found for commit ${t.id}`);let n=r.pos,i=e+vf;return Us.set(t.id,{x:n,y:i}),{x:n,y:i}},"setCommitPosition"),mGe=o((t,e,r)=>{let n=Vs.get(t.branch);if(!n)throw new Error(`Branch not found for commit ${t.id}`);let i=e+r,a=n.pos;Us.set(t.id,{x:a,y:i})},"setRootPosition"),gGe=o((t,e,r,n,i,a)=>{if(a===jr.HIGHLIGHT)t.append("rect").attr("x",r.x-10).attr("y",r.y-10).attr("width",20).attr("height",20).attr("class",`commit ${e.id} commit-highlight${i%Rp} ${n}-outer`),t.append("rect").attr("x",r.x-6).attr("y",r.y-6).attr("width",12).attr("height",12).attr("class",`commit ${e.id} commit${i%Rp} ${n}-inner`);else if(a===jr.CHERRY_PICK)t.append("circle").attr("cx",r.x).attr("cy",r.y).attr("r",10).attr("class",`commit ${e.id} ${n}`),t.append("circle").attr("cx",r.x-3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${n}`),t.append("circle").attr("cx",r.x+3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${n}`),t.append("line").attr("x1",r.x+3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${n}`),t.append("line").attr("x1",r.x-3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${n}`);else{let s=t.append("circle");if(s.attr("cx",r.x),s.attr("cy",r.y),s.attr("r",e.type===jr.MERGE?9:10),s.attr("class",`commit ${e.id} commit${i%Rp}`),a===jr.MERGE){let l=t.append("circle");l.attr("cx",r.x),l.attr("cy",r.y),l.attr("r",6),l.attr("class",`commit ${n} ${e.id} commit${i%Rp}`)}a===jr.REVERSE&&t.append("path").attr("d",`M ${r.x-5},${r.y-5}L${r.x+5},${r.y+5}M${r.x-5},${r.y+5}L${r.x+5},${r.y-5}`).attr("class",`commit ${n} ${e.id} commit${i%Rp}`)}},"drawCommitBullet"),yGe=o((t,e,r,n)=>{if(e.type!==jr.CHERRY_PICK&&(e.customId&&e.type===jr.MERGE||e.type!==jr.MERGE)&&Zo?.showCommitLabel){let i=t.append("g"),a=i.insert("rect").attr("class","commit-label-bkg"),s=i.append("text").attr("x",n).attr("y",r.y+25).attr("class","commit-label").text(e.id),l=s.node()?.getBBox();if(l&&(a.attr("x",r.posWithOffset-l.width/2-Xu).attr("y",r.y+13.5).attr("width",l.width+2*Xu).attr("height",l.height+2*Xu),Br==="TB"||Br==="BT"?(a.attr("x",r.x-(l.width+4*Uc+5)).attr("y",r.y-12),s.attr("x",r.x-(l.width+4*Uc)).attr("y",r.y+l.height-12)):s.attr("x",r.posWithOffset-l.width/2),Zo.rotateCommitLabel))if(Br==="TB"||Br==="BT")s.attr("transform","rotate(-45, "+r.x+", "+r.y+")"),a.attr("transform","rotate(-45, "+r.x+", "+r.y+")");else{let u=-7.5-(l.width+10)/25*9.5,h=10+l.width/25*8.5;i.attr("transform","translate("+u+", "+h+") rotate(-45, "+n+", "+r.y+")")}}},"drawCommitLabel"),vGe=o((t,e,r,n)=>{if(e.tags.length>0){let i=0,a=0,s=0,l=[];for(let u of e.tags.reverse()){let h=t.insert("polygon"),f=t.append("circle"),d=t.append("text").attr("y",r.y-16-i).attr("class","tag-label").text(u),p=d.node()?.getBBox();if(!p)throw new Error("Tag bbox not found");a=Math.max(a,p.width),s=Math.max(s,p.height),d.attr("x",r.posWithOffset-p.width/2),l.push({tag:d,hole:f,rect:h,yOffset:i}),i+=20}for(let{tag:u,hole:h,rect:f,yOffset:d}of l){let p=s/2,m=r.y-19.2-d;if(f.attr("class","tag-label-bkg").attr("points",` - ${n-a/2-Uc/2},${m+Xu} - ${n-a/2-Uc/2},${m-Xu} - ${r.posWithOffset-a/2-Uc},${m-p-Xu} - ${r.posWithOffset+a/2+Uc},${m-p-Xu} - ${r.posWithOffset+a/2+Uc},${m+p+Xu} - ${r.posWithOffset-a/2-Uc},${m+p+Xu}`),h.attr("cy",m).attr("cx",n-a/2+Uc/2).attr("r",1.5).attr("class","tag-hole"),Br==="TB"||Br==="BT"){let g=n+d;f.attr("class","tag-label-bkg").attr("points",` +`);super(`Parsing failed: ${e} ${r}`),this.result=t}static{xt(this,"MermaidParseError")}}});function nl(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}var Zp=N(()=>{"use strict";o(nl,"populateCommonDb")});var Qr,C6=N(()=>{"use strict";Qr={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4}});var Q1,VP=N(()=>{"use strict";Q1=class{constructor(e){this.init=e;this.records=this.init()}static{o(this,"ImperativeState")}reset(){this.records=this.init()}}});function UP(){return PL({length:7})}function ZXe(t,e){let r=Object.create(null);return t.reduce((n,i)=>{let a=e(i);return r[a]||(r[a]=!0,n.push(i)),n},[])}function Xpe(t,e,r){let n=t.indexOf(e);n===-1?t.push(r):t.splice(n,1,r)}function Kpe(t){let e=t.reduce((i,a)=>i.seq>a.seq?i:a,t[0]),r="";t.forEach(function(i){i===e?r+=" *":r+=" |"});let n=[r,e.id,e.seq];for(let i in _t.records.branches)_t.records.branches.get(i)===e.id&&n.push(i);if(X.debug(n.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){let i=_t.records.commits.get(e.parents[0]);Xpe(t,e,i),e.parents[1]&&t.push(_t.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){let i=_t.records.commits.get(e.parents[0]);Xpe(t,e,i)}}t=ZXe(t,i=>i.id),Kpe(t)}var QXe,Jp,_t,JXe,eje,tje,rje,nje,ije,aje,jpe,sje,oje,lje,cje,uje,Qpe,hje,fje,dje,A6,HP=N(()=>{"use strict";pt();tr();Wn();dr();ui();C6();VP();_a();QXe=lr.gitGraph,Jp=o(()=>Vn({...QXe,...Qt().gitGraph}),"getConfig"),_t=new Q1(()=>{let t=Jp(),e=t.mainBranchName,r=t.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:r}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});o(UP,"getID");o(ZXe,"uniqBy");JXe=o(function(t){_t.records.direction=t},"setDirection"),eje=o(function(t){X.debug("options str",t),t=t?.trim(),t=t||"{}";try{_t.records.options=JSON.parse(t)}catch(e){X.error("error while parsing gitGraph options",e.message)}},"setOptions"),tje=o(function(){return _t.records.options},"getOptions"),rje=o(function(t){let e=t.msg,r=t.id,n=t.type,i=t.tags;X.info("commit",e,r,n,i),X.debug("Entering commit:",e,r,n,i);let a=Jp();r=Je.sanitizeText(r,a),e=Je.sanitizeText(e,a),i=i?.map(l=>Je.sanitizeText(l,a));let s={id:r||_t.records.seq+"-"+UP(),message:e,seq:_t.records.seq++,type:n??Qr.NORMAL,tags:i??[],parents:_t.records.head==null?[]:[_t.records.head.id],branch:_t.records.currBranch};_t.records.head=s,X.info("main branch",a.mainBranchName),_t.records.commits.has(s.id)&&X.warn(`Commit ID ${s.id} already exists`),_t.records.commits.set(s.id,s),_t.records.branches.set(_t.records.currBranch,s.id),X.debug("in pushCommit "+s.id)},"commit"),nje=o(function(t){let e=t.name,r=t.order;if(e=Je.sanitizeText(e,Jp()),_t.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);_t.records.branches.set(e,_t.records.head!=null?_t.records.head.id:null),_t.records.branchConfig.set(e,{name:e,order:r}),jpe(e),X.debug("in createBranch")},"branch"),ije=o(t=>{let e=t.branch,r=t.id,n=t.type,i=t.tags,a=Jp();e=Je.sanitizeText(e,a),r&&(r=Je.sanitizeText(r,a));let s=_t.records.branches.get(_t.records.currBranch),l=_t.records.branches.get(e),u=s?_t.records.commits.get(s):void 0,h=l?_t.records.commits.get(l):void 0;if(u&&h&&u.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(_t.records.currBranch===e){let p=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw p.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},p}if(u===void 0||!u){let p=new Error(`Incorrect usage of "merge". Current branch (${_t.records.currBranch})has no commits`);throw p.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},p}if(!_t.records.branches.has(e)){let p=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw p.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},p}if(h===void 0||!h){let p=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw p.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},p}if(u===h){let p=new Error('Incorrect usage of "merge". Both branches have same head');throw p.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},p}if(r&&_t.records.commits.has(r)){let p=new Error('Incorrect usage of "merge". Commit with id:'+r+" already exists, use different custom id");throw p.hash={text:`merge ${e} ${r} ${n} ${i?.join(" ")}`,token:`merge ${e} ${r} ${n} ${i?.join(" ")}`,expected:[`merge ${e} ${r}_UNIQUE ${n} ${i?.join(" ")}`]},p}let f=l||"",d={id:r||`${_t.records.seq}-${UP()}`,message:`merged branch ${e} into ${_t.records.currBranch}`,seq:_t.records.seq++,parents:_t.records.head==null?[]:[_t.records.head.id,f],branch:_t.records.currBranch,type:Qr.MERGE,customType:n,customId:!!r,tags:i??[]};_t.records.head=d,_t.records.commits.set(d.id,d),_t.records.branches.set(_t.records.currBranch,d.id),X.debug(_t.records.branches),X.debug("in mergeBranch")},"merge"),aje=o(function(t){let e=t.id,r=t.targetId,n=t.tags,i=t.parent;X.debug("Entering cherryPick:",e,r,n);let a=Jp();if(e=Je.sanitizeText(e,a),r=Je.sanitizeText(r,a),n=n?.map(u=>Je.sanitizeText(u,a)),i=Je.sanitizeText(i,a),!e||!_t.records.commits.has(e)){let u=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw u.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},u}let s=_t.records.commits.get(e);if(s===void 0||!s)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(i&&!(Array.isArray(s.parents)&&s.parents.includes(i)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let l=s.branch;if(s.type===Qr.MERGE&&!i)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!r||!_t.records.commits.has(r)){if(l===_t.records.currBranch){let d=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw d.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},d}let u=_t.records.branches.get(_t.records.currBranch);if(u===void 0||!u){let d=new Error(`Incorrect usage of "cherry-pick". Current branch (${_t.records.currBranch})has no commits`);throw d.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},d}let h=_t.records.commits.get(u);if(h===void 0||!h){let d=new Error(`Incorrect usage of "cherry-pick". Current branch (${_t.records.currBranch})has no commits`);throw d.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},d}let f={id:_t.records.seq+"-"+UP(),message:`cherry-picked ${s?.message} into ${_t.records.currBranch}`,seq:_t.records.seq++,parents:_t.records.head==null?[]:[_t.records.head.id,s.id],branch:_t.records.currBranch,type:Qr.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${s.id}${s.type===Qr.MERGE?`|parent:${i}`:""}`]};_t.records.head=f,_t.records.commits.set(f.id,f),_t.records.branches.set(_t.records.currBranch,f.id),X.debug(_t.records.branches),X.debug("in cherryPick")}},"cherryPick"),jpe=o(function(t){if(t=Je.sanitizeText(t,Jp()),_t.records.branches.has(t)){_t.records.currBranch=t;let e=_t.records.branches.get(_t.records.currBranch);e===void 0||!e?_t.records.head=null:_t.records.head=_t.records.commits.get(e)??null}else{let e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw e.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},e}},"checkout");o(Xpe,"upsert");o(Kpe,"prettyPrintCommitHistory");sje=o(function(){X.debug(_t.records.commits);let t=Qpe()[0];Kpe([t])},"prettyPrint"),oje=o(function(){_t.reset(),wr()},"clear"),lje=o(function(){return[..._t.records.branchConfig.values()].map((e,r)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${r}`)}).sort((e,r)=>(e.order??0)-(r.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),cje=o(function(){return _t.records.branches},"getBranches"),uje=o(function(){return _t.records.commits},"getCommits"),Qpe=o(function(){let t=[..._t.records.commits.values()];return t.forEach(function(e){X.debug(e.id)}),t.sort((e,r)=>e.seq-r.seq),t},"getCommitsArray"),hje=o(function(){return _t.records.currBranch},"getCurrentBranch"),fje=o(function(){return _t.records.direction},"getDirection"),dje=o(function(){return _t.records.head},"getHead"),A6={commitType:Qr,getConfig:Jp,setDirection:JXe,setOptions:eje,getOptions:tje,commit:rje,branch:nje,merge:ije,cherryPick:aje,checkout:jpe,prettyPrint:sje,clear:oje,getBranchesAsObjArray:lje,getBranches:cje,getCommits:uje,getCommitsArray:Qpe,getCurrentBranch:hje,getDirection:fje,getHead:dje,setAccTitle:Cr,getAccTitle:_r,getAccDescription:Lr,setAccDescription:Dr,setDiagramTitle:Or,getDiagramTitle:Rr}});var pje,mje,gje,yje,vje,xje,bje,Zpe,Jpe=N(()=>{"use strict";Ff();pt();Zp();HP();C6();pje=o((t,e)=>{nl(t,e),t.dir&&e.setDirection(t.dir);for(let r of t.statements)mje(r,e)},"populate"),mje=o((t,e)=>{let n={Commit:o(i=>e.commit(gje(i)),"Commit"),Branch:o(i=>e.branch(yje(i)),"Branch"),Merge:o(i=>e.merge(vje(i)),"Merge"),Checkout:o(i=>e.checkout(xje(i)),"Checkout"),CherryPicking:o(i=>e.cherryPick(bje(i)),"CherryPicking")}[t.$type];n?n(t):X.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),gje=o(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?Qr[t.type]:Qr.NORMAL,tags:t.tags??void 0}),"parseCommit"),yje=o(t=>({name:t.name,order:t.order??0}),"parseBranch"),vje=o(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?Qr[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),xje=o(t=>t.branch,"parseCheckout"),bje=o(t=>({id:t.id,targetId:"",tags:t.tags?.length===0?void 0:t.tags,parent:t.parent}),"parseCherryPicking"),Zpe={parse:o(async t=>{let e=await xs("gitGraph",t);X.debug(e),pje(e,A6)},"parse")}});var Tje,il,Gf,zf,Qc,th,e0,Xs,js,_6,h4,D6,$f,Fr,wje,t0e,r0e,kje,Eje,Sje,Cje,Aje,_je,Dje,Lje,Rje,Nje,Mje,Ije,e0e,Oje,f4,Pje,Bje,Fje,$je,Gje,n0e,i0e=N(()=>{"use strict";pr();Xt();pt();tr();C6();Tje=ge(),il=Tje?.gitGraph,Gf=10,zf=40,Qc=4,th=2,e0=8,Xs=new Map,js=new Map,_6=30,h4=new Map,D6=[],$f=0,Fr="LR",wje=o(()=>{Xs.clear(),js.clear(),h4.clear(),$f=0,D6=[],Fr="LR"},"clear"),t0e=o(t=>{let e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|/gi):t).forEach(n=>{let i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),i.setAttribute("class","row"),i.textContent=n.trim(),e.appendChild(i)}),e},"drawText"),r0e=o(t=>{let e,r,n;return Fr==="BT"?(r=o((i,a)=>i<=a,"comparisonFunc"),n=1/0):(r=o((i,a)=>i>=a,"comparisonFunc"),n=0),t.forEach(i=>{let a=Fr==="TB"||Fr=="BT"?js.get(i)?.y:js.get(i)?.x;a!==void 0&&r(a,n)&&(e=i,n=a)}),e},"findClosestParent"),kje=o(t=>{let e="",r=1/0;return t.forEach(n=>{let i=js.get(n).y;i<=r&&(e=n,r=i)}),e||void 0},"findClosestParentBT"),Eje=o((t,e,r)=>{let n=r,i=r,a=[];t.forEach(s=>{let l=e.get(s);if(!l)throw new Error(`Commit not found for key ${s}`);l.parents.length?(n=Cje(l),i=Math.max(n,i)):a.push(l),Aje(l,n)}),n=i,a.forEach(s=>{_je(s,n,r)}),t.forEach(s=>{let l=e.get(s);if(l?.parents.length){let u=kje(l.parents);n=js.get(u).y-zf,n<=i&&(i=n);let h=Xs.get(l.branch).pos,f=n-Gf;js.set(l.id,{x:h,y:f})}})},"setParallelBTPos"),Sje=o(t=>{let e=r0e(t.parents.filter(n=>n!==null));if(!e)throw new Error(`Closest parent not found for commit ${t.id}`);let r=js.get(e)?.y;if(r===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return r},"findClosestParentPos"),Cje=o(t=>Sje(t)+zf,"calculateCommitPosition"),Aje=o((t,e)=>{let r=Xs.get(t.branch);if(!r)throw new Error(`Branch not found for commit ${t.id}`);let n=r.pos,i=e+Gf;return js.set(t.id,{x:n,y:i}),{x:n,y:i}},"setCommitPosition"),_je=o((t,e,r)=>{let n=Xs.get(t.branch);if(!n)throw new Error(`Branch not found for commit ${t.id}`);let i=e+r,a=n.pos;js.set(t.id,{x:a,y:i})},"setRootPosition"),Dje=o((t,e,r,n,i,a)=>{if(a===Qr.HIGHLIGHT)t.append("rect").attr("x",r.x-10).attr("y",r.y-10).attr("width",20).attr("height",20).attr("class",`commit ${e.id} commit-highlight${i%e0} ${n}-outer`),t.append("rect").attr("x",r.x-6).attr("y",r.y-6).attr("width",12).attr("height",12).attr("class",`commit ${e.id} commit${i%e0} ${n}-inner`);else if(a===Qr.CHERRY_PICK)t.append("circle").attr("cx",r.x).attr("cy",r.y).attr("r",10).attr("class",`commit ${e.id} ${n}`),t.append("circle").attr("cx",r.x-3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${n}`),t.append("circle").attr("cx",r.x+3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${n}`),t.append("line").attr("x1",r.x+3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${n}`),t.append("line").attr("x1",r.x-3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${n}`);else{let s=t.append("circle");if(s.attr("cx",r.x),s.attr("cy",r.y),s.attr("r",e.type===Qr.MERGE?9:10),s.attr("class",`commit ${e.id} commit${i%e0}`),a===Qr.MERGE){let l=t.append("circle");l.attr("cx",r.x),l.attr("cy",r.y),l.attr("r",6),l.attr("class",`commit ${n} ${e.id} commit${i%e0}`)}a===Qr.REVERSE&&t.append("path").attr("d",`M ${r.x-5},${r.y-5}L${r.x+5},${r.y+5}M${r.x-5},${r.y+5}L${r.x+5},${r.y-5}`).attr("class",`commit ${n} ${e.id} commit${i%e0}`)}},"drawCommitBullet"),Lje=o((t,e,r,n)=>{if(e.type!==Qr.CHERRY_PICK&&(e.customId&&e.type===Qr.MERGE||e.type!==Qr.MERGE)&&il?.showCommitLabel){let i=t.append("g"),a=i.insert("rect").attr("class","commit-label-bkg"),s=i.append("text").attr("x",n).attr("y",r.y+25).attr("class","commit-label").text(e.id),l=s.node()?.getBBox();if(l&&(a.attr("x",r.posWithOffset-l.width/2-th).attr("y",r.y+13.5).attr("width",l.width+2*th).attr("height",l.height+2*th),Fr==="TB"||Fr==="BT"?(a.attr("x",r.x-(l.width+4*Qc+5)).attr("y",r.y-12),s.attr("x",r.x-(l.width+4*Qc)).attr("y",r.y+l.height-12)):s.attr("x",r.posWithOffset-l.width/2),il.rotateCommitLabel))if(Fr==="TB"||Fr==="BT")s.attr("transform","rotate(-45, "+r.x+", "+r.y+")"),a.attr("transform","rotate(-45, "+r.x+", "+r.y+")");else{let u=-7.5-(l.width+10)/25*9.5,h=10+l.width/25*8.5;i.attr("transform","translate("+u+", "+h+") rotate(-45, "+n+", "+r.y+")")}}},"drawCommitLabel"),Rje=o((t,e,r,n)=>{if(e.tags.length>0){let i=0,a=0,s=0,l=[];for(let u of e.tags.reverse()){let h=t.insert("polygon"),f=t.append("circle"),d=t.append("text").attr("y",r.y-16-i).attr("class","tag-label").text(u),p=d.node()?.getBBox();if(!p)throw new Error("Tag bbox not found");a=Math.max(a,p.width),s=Math.max(s,p.height),d.attr("x",r.posWithOffset-p.width/2),l.push({tag:d,hole:f,rect:h,yOffset:i}),i+=20}for(let{tag:u,hole:h,rect:f,yOffset:d}of l){let p=s/2,m=r.y-19.2-d;if(f.attr("class","tag-label-bkg").attr("points",` + ${n-a/2-Qc/2},${m+th} + ${n-a/2-Qc/2},${m-th} + ${r.posWithOffset-a/2-Qc},${m-p-th} + ${r.posWithOffset+a/2+Qc},${m-p-th} + ${r.posWithOffset+a/2+Qc},${m+p+th} + ${r.posWithOffset-a/2-Qc},${m+p+th}`),h.attr("cy",m).attr("cx",n-a/2+Qc/2).attr("r",1.5).attr("class","tag-hole"),Fr==="TB"||Fr==="BT"){let g=n+d;f.attr("class","tag-label-bkg").attr("points",` ${r.x},${g+2} ${r.x},${g-2} - ${r.x+vf},${g-p-2} - ${r.x+vf+a+4},${g-p-2} - ${r.x+vf+a+4},${g+p+2} - ${r.x+vf},${g+p+2}`).attr("transform","translate(12,12) rotate(45, "+r.x+","+n+")"),h.attr("cx",r.x+Uc/2).attr("cy",g).attr("transform","translate(12,12) rotate(45, "+r.x+","+n+")"),u.attr("x",r.x+5).attr("y",g+3).attr("transform","translate(14,14) rotate(45, "+r.x+","+n+")")}}}},"drawCommitTags"),xGe=o(t=>{switch(t.customType??t.type){case jr.NORMAL:return"commit-normal";case jr.REVERSE:return"commit-reverse";case jr.HIGHLIGHT:return"commit-highlight";case jr.MERGE:return"commit-merge";case jr.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),bGe=o((t,e,r,n)=>{let i={x:0,y:0};if(t.parents.length>0){let a=whe(t.parents);if(a){let s=n.get(a)??i;return e==="TB"?s.y+xf:e==="BT"?(n.get(t.id)??i).y-xf:s.x+xf}}else return e==="TB"?ES:e==="BT"?(n.get(t.id)??i).y-xf:0;return 0},"calculatePosition"),TGe=o((t,e,r)=>{let n=Br==="BT"&&r?e:e+vf,i=Br==="TB"||Br==="BT"?n:Vs.get(t.branch)?.pos,a=Br==="TB"||Br==="BT"?Vs.get(t.branch)?.pos:n;if(a===void 0||i===void 0)throw new Error(`Position were undefined for commit ${t.id}`);return{x:a,y:i,posWithOffset:n}},"getCommitPosition"),bhe=o((t,e,r)=>{if(!Zo)throw new Error("GitGraph config not found");let n=t.append("g").attr("class","commit-bullets"),i=t.append("g").attr("class","commit-labels"),a=Br==="TB"||Br==="BT"?ES:0,s=[...e.keys()],l=Zo?.parallelCommits??!1,u=o((f,d)=>{let p=e.get(f)?.seq,m=e.get(d)?.seq;return p!==void 0&&m!==void 0?p-m:0},"sortKeys"),h=s.sort(u);Br==="BT"&&(l&&hGe(h,e,a),h=h.reverse()),h.forEach(f=>{let d=e.get(f);if(!d)throw new Error(`Commit not found for key ${f}`);l&&(a=bGe(d,Br,a,Us));let p=TGe(d,a,l);if(r){let m=xGe(d),g=d.customType??d.type,y=Vs.get(d.branch)?.index??0;gGe(n,d,p,m,y,g),yGe(i,d,p,a),vGe(i,d,p,a)}Br==="TB"||Br==="BT"?Us.set(d.id,{x:p.x,y:p.posWithOffset}):Us.set(d.id,{x:p.posWithOffset,y:p.y}),a=Br==="BT"&&l?a+xf:a+xf+vf,a>yf&&(yf=a)})},"drawCommits"),wGe=o((t,e,r,n,i)=>{let s=(Br==="TB"||Br==="BT"?r.xh.branch===s,"isOnBranchToGetCurve"),u=o(h=>h.seq>t.seq&&h.sequ(h)&&l(h))},"shouldRerouteArrow"),Eb=o((t,e,r=0)=>{let n=t+Math.abs(t-e)/2;if(r>5)return n;if(SS.every(s=>Math.abs(s-n)>=10))return SS.push(n),n;let a=Math.abs(t-e);return Eb(t,e-a/5,r+1)},"findLane"),kGe=o((t,e,r,n)=>{let i=Us.get(e.id),a=Us.get(r.id);if(i===void 0||a===void 0)throw new Error(`Commit positions not found for commits ${e.id} and ${r.id}`);let s=wGe(e,r,i,a,n),l="",u="",h=0,f=0,d=Vs.get(r.branch)?.index;r.type===jr.MERGE&&e.id!==r.parents[0]&&(d=Vs.get(e.branch)?.index);let p;if(s){l="A 10 10, 0, 0, 0,",u="A 10 10, 0, 0, 1,",h=10,f=10;let m=i.ya.x&&(l="A 20 20, 0, 0, 0,",u="A 20 20, 0, 0, 1,",h=20,f=20,r.type===jr.MERGE&&e.id!==r.parents[0]?p=`M ${i.x} ${i.y} L ${i.x} ${a.y-h} ${u} ${i.x-f} ${a.y} L ${a.x} ${a.y}`:p=`M ${i.x} ${i.y} L ${a.x+h} ${i.y} ${l} ${a.x} ${i.y+f} L ${a.x} ${a.y}`),i.x===a.x&&(p=`M ${i.x} ${i.y} L ${a.x} ${a.y}`)):Br==="BT"?(i.xa.x&&(l="A 20 20, 0, 0, 0,",u="A 20 20, 0, 0, 1,",h=20,f=20,r.type===jr.MERGE&&e.id!==r.parents[0]?p=`M ${i.x} ${i.y} L ${i.x} ${a.y+h} ${l} ${i.x-f} ${a.y} L ${a.x} ${a.y}`:p=`M ${i.x} ${i.y} L ${a.x-h} ${i.y} ${l} ${a.x} ${i.y-f} L ${a.x} ${a.y}`),i.x===a.x&&(p=`M ${i.x} ${i.y} L ${a.x} ${a.y}`)):(i.ya.y&&(r.type===jr.MERGE&&e.id!==r.parents[0]?p=`M ${i.x} ${i.y} L ${a.x-h} ${i.y} ${l} ${a.x} ${i.y-f} L ${a.x} ${a.y}`:p=`M ${i.x} ${i.y} L ${i.x} ${a.y+h} ${u} ${i.x+f} ${a.y} L ${a.x} ${a.y}`),i.y===a.y&&(p=`M ${i.x} ${i.y} L ${a.x} ${a.y}`));if(p===void 0)throw new Error("Line definition not found");t.append("path").attr("d",p).attr("class","arrow arrow"+d%Rp)},"drawArrow"),EGe=o((t,e)=>{let r=t.append("g").attr("class","commit-arrows");[...e.keys()].forEach(n=>{let i=e.get(n);i.parents&&i.parents.length>0&&i.parents.forEach(a=>{kGe(r,e.get(a),i,e)})})},"drawArrows"),SGe=o((t,e)=>{let r=t.append("g");e.forEach((n,i)=>{let a=i%Rp,s=Vs.get(n.name)?.pos;if(s===void 0)throw new Error(`Position not found for branch ${n.name}`);let l=r.append("line");l.attr("x1",0),l.attr("y1",s),l.attr("x2",yf),l.attr("y2",s),l.attr("class","branch branch"+a),Br==="TB"?(l.attr("y1",ES),l.attr("x1",s),l.attr("y2",yf),l.attr("x2",s)):Br==="BT"&&(l.attr("y1",yf),l.attr("x1",s),l.attr("y2",ES),l.attr("x2",s)),SS.push(s);let u=n.name,h=The(u),f=r.insert("rect"),p=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+a);p.node().appendChild(h);let m=h.getBBox();f.attr("class","branchLabelBkg label"+a).attr("rx",4).attr("ry",4).attr("x",-m.width-4-(Zo?.rotateCommitLabel===!0?30:0)).attr("y",-m.height/2+8).attr("width",m.width+18).attr("height",m.height+4),p.attr("transform","translate("+(-m.width-14-(Zo?.rotateCommitLabel===!0?30:0))+", "+(s-m.height/2-1)+")"),Br==="TB"?(f.attr("x",s-m.width/2-10).attr("y",0),p.attr("transform","translate("+(s-m.width/2-5)+", 0)")):Br==="BT"?(f.attr("x",s-m.width/2-10).attr("y",yf),p.attr("transform","translate("+(s-m.width/2-5)+", "+yf+")")):f.attr("transform","translate(-19, "+(s-m.height/2)+")")})},"drawBranches"),CGe=o(function(t,e,r,n,i){return Vs.set(t,{pos:e,index:r}),e+=50+(i?40:0)+(Br==="TB"||Br==="BT"?n.width/2:0),e},"setBranchPosition"),AGe=o(function(t,e,r,n){if(cGe(),X.debug("in gitgraph renderer",t+` -`,"id:",e,r),!Zo)throw new Error("GitGraph config not found");let i=Zo.rotateCommitLabel??!1,a=n.db;kb=a.getCommits();let s=a.getBranchesAsObjArray();Br=a.getDirection();let l=Ge(`[id="${e}"]`),u=0;s.forEach((h,f)=>{let d=The(h.name),p=l.append("g"),m=p.insert("g").attr("class","branchLabel"),g=m.insert("g").attr("class","label branch-label");g.node()?.appendChild(d);let y=d.getBBox();u=CGe(h.name,u,f,y,i),g.remove(),m.remove(),p.remove()}),bhe(l,kb,!1),Zo.showBranches&&SGe(l,s),EGe(l,kb),bhe(l,kb,!0),Vt.insertTitle(l,"gitTitleText",Zo.titleTopMargin??0,a.getDiagramTitle()),EA(void 0,l,Zo.diagramPadding,Zo.useMaxWidth)},"draw"),khe={draw:AGe}});var _Ge,She,Che=N(()=>{"use strict";_Ge=o(t=>` + ${r.x+Gf},${g-p-2} + ${r.x+Gf+a+4},${g-p-2} + ${r.x+Gf+a+4},${g+p+2} + ${r.x+Gf},${g+p+2}`).attr("transform","translate(12,12) rotate(45, "+r.x+","+n+")"),h.attr("cx",r.x+Qc/2).attr("cy",g).attr("transform","translate(12,12) rotate(45, "+r.x+","+n+")"),u.attr("x",r.x+5).attr("y",g+3).attr("transform","translate(14,14) rotate(45, "+r.x+","+n+")")}}}},"drawCommitTags"),Nje=o(t=>{switch(t.customType??t.type){case Qr.NORMAL:return"commit-normal";case Qr.REVERSE:return"commit-reverse";case Qr.HIGHLIGHT:return"commit-highlight";case Qr.MERGE:return"commit-merge";case Qr.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),Mje=o((t,e,r,n)=>{let i={x:0,y:0};if(t.parents.length>0){let a=r0e(t.parents);if(a){let s=n.get(a)??i;return e==="TB"?s.y+zf:e==="BT"?(n.get(t.id)??i).y-zf:s.x+zf}}else return e==="TB"?_6:e==="BT"?(n.get(t.id)??i).y-zf:0;return 0},"calculatePosition"),Ije=o((t,e,r)=>{let n=Fr==="BT"&&r?e:e+Gf,i=Fr==="TB"||Fr==="BT"?n:Xs.get(t.branch)?.pos,a=Fr==="TB"||Fr==="BT"?Xs.get(t.branch)?.pos:n;if(a===void 0||i===void 0)throw new Error(`Position were undefined for commit ${t.id}`);return{x:a,y:i,posWithOffset:n}},"getCommitPosition"),e0e=o((t,e,r)=>{if(!il)throw new Error("GitGraph config not found");let n=t.append("g").attr("class","commit-bullets"),i=t.append("g").attr("class","commit-labels"),a=Fr==="TB"||Fr==="BT"?_6:0,s=[...e.keys()],l=il?.parallelCommits??!1,u=o((f,d)=>{let p=e.get(f)?.seq,m=e.get(d)?.seq;return p!==void 0&&m!==void 0?p-m:0},"sortKeys"),h=s.sort(u);Fr==="BT"&&(l&&Eje(h,e,a),h=h.reverse()),h.forEach(f=>{let d=e.get(f);if(!d)throw new Error(`Commit not found for key ${f}`);l&&(a=Mje(d,Fr,a,js));let p=Ije(d,a,l);if(r){let m=Nje(d),g=d.customType??d.type,y=Xs.get(d.branch)?.index??0;Dje(n,d,p,m,y,g),Lje(i,d,p,a),Rje(i,d,p,a)}Fr==="TB"||Fr==="BT"?js.set(d.id,{x:p.x,y:p.posWithOffset}):js.set(d.id,{x:p.posWithOffset,y:p.y}),a=Fr==="BT"&&l?a+zf:a+zf+Gf,a>$f&&($f=a)})},"drawCommits"),Oje=o((t,e,r,n,i)=>{let s=(Fr==="TB"||Fr==="BT"?r.xh.branch===s,"isOnBranchToGetCurve"),u=o(h=>h.seq>t.seq&&h.sequ(h)&&l(h))},"shouldRerouteArrow"),f4=o((t,e,r=0)=>{let n=t+Math.abs(t-e)/2;if(r>5)return n;if(D6.every(s=>Math.abs(s-n)>=10))return D6.push(n),n;let a=Math.abs(t-e);return f4(t,e-a/5,r+1)},"findLane"),Pje=o((t,e,r,n)=>{let i=js.get(e.id),a=js.get(r.id);if(i===void 0||a===void 0)throw new Error(`Commit positions not found for commits ${e.id} and ${r.id}`);let s=Oje(e,r,i,a,n),l="",u="",h=0,f=0,d=Xs.get(r.branch)?.index;r.type===Qr.MERGE&&e.id!==r.parents[0]&&(d=Xs.get(e.branch)?.index);let p;if(s){l="A 10 10, 0, 0, 0,",u="A 10 10, 0, 0, 1,",h=10,f=10;let m=i.ya.x&&(l="A 20 20, 0, 0, 0,",u="A 20 20, 0, 0, 1,",h=20,f=20,r.type===Qr.MERGE&&e.id!==r.parents[0]?p=`M ${i.x} ${i.y} L ${i.x} ${a.y-h} ${u} ${i.x-f} ${a.y} L ${a.x} ${a.y}`:p=`M ${i.x} ${i.y} L ${a.x+h} ${i.y} ${l} ${a.x} ${i.y+f} L ${a.x} ${a.y}`),i.x===a.x&&(p=`M ${i.x} ${i.y} L ${a.x} ${a.y}`)):Fr==="BT"?(i.xa.x&&(l="A 20 20, 0, 0, 0,",u="A 20 20, 0, 0, 1,",h=20,f=20,r.type===Qr.MERGE&&e.id!==r.parents[0]?p=`M ${i.x} ${i.y} L ${i.x} ${a.y+h} ${l} ${i.x-f} ${a.y} L ${a.x} ${a.y}`:p=`M ${i.x} ${i.y} L ${a.x-h} ${i.y} ${l} ${a.x} ${i.y-f} L ${a.x} ${a.y}`),i.x===a.x&&(p=`M ${i.x} ${i.y} L ${a.x} ${a.y}`)):(i.ya.y&&(r.type===Qr.MERGE&&e.id!==r.parents[0]?p=`M ${i.x} ${i.y} L ${a.x-h} ${i.y} ${l} ${a.x} ${i.y-f} L ${a.x} ${a.y}`:p=`M ${i.x} ${i.y} L ${i.x} ${a.y+h} ${u} ${i.x+f} ${a.y} L ${a.x} ${a.y}`),i.y===a.y&&(p=`M ${i.x} ${i.y} L ${a.x} ${a.y}`));if(p===void 0)throw new Error("Line definition not found");t.append("path").attr("d",p).attr("class","arrow arrow"+d%e0)},"drawArrow"),Bje=o((t,e)=>{let r=t.append("g").attr("class","commit-arrows");[...e.keys()].forEach(n=>{let i=e.get(n);i.parents&&i.parents.length>0&&i.parents.forEach(a=>{Pje(r,e.get(a),i,e)})})},"drawArrows"),Fje=o((t,e)=>{let r=t.append("g");e.forEach((n,i)=>{let a=i%e0,s=Xs.get(n.name)?.pos;if(s===void 0)throw new Error(`Position not found for branch ${n.name}`);let l=r.append("line");l.attr("x1",0),l.attr("y1",s),l.attr("x2",$f),l.attr("y2",s),l.attr("class","branch branch"+a),Fr==="TB"?(l.attr("y1",_6),l.attr("x1",s),l.attr("y2",$f),l.attr("x2",s)):Fr==="BT"&&(l.attr("y1",$f),l.attr("x1",s),l.attr("y2",_6),l.attr("x2",s)),D6.push(s);let u=n.name,h=t0e(u),f=r.insert("rect"),p=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+a);p.node().appendChild(h);let m=h.getBBox();f.attr("class","branchLabelBkg label"+a).attr("rx",4).attr("ry",4).attr("x",-m.width-4-(il?.rotateCommitLabel===!0?30:0)).attr("y",-m.height/2+8).attr("width",m.width+18).attr("height",m.height+4),p.attr("transform","translate("+(-m.width-14-(il?.rotateCommitLabel===!0?30:0))+", "+(s-m.height/2-1)+")"),Fr==="TB"?(f.attr("x",s-m.width/2-10).attr("y",0),p.attr("transform","translate("+(s-m.width/2-5)+", 0)")):Fr==="BT"?(f.attr("x",s-m.width/2-10).attr("y",$f),p.attr("transform","translate("+(s-m.width/2-5)+", "+$f+")")):f.attr("transform","translate(-19, "+(s-m.height/2)+")")})},"drawBranches"),$je=o(function(t,e,r,n,i){return Xs.set(t,{pos:e,index:r}),e+=50+(i?40:0)+(Fr==="TB"||Fr==="BT"?n.width/2:0),e},"setBranchPosition"),Gje=o(function(t,e,r,n){if(wje(),X.debug("in gitgraph renderer",t+` +`,"id:",e,r),!il)throw new Error("GitGraph config not found");let i=il.rotateCommitLabel??!1,a=n.db;h4=a.getCommits();let s=a.getBranchesAsObjArray();Fr=a.getDirection();let l=ze(`[id="${e}"]`),u=0;s.forEach((h,f)=>{let d=t0e(h.name),p=l.append("g"),m=p.insert("g").attr("class","branchLabel"),g=m.insert("g").attr("class","label branch-label");g.node()?.appendChild(d);let y=d.getBBox();u=$je(h.name,u,f,y,i),g.remove(),m.remove(),p.remove()}),e0e(l,h4,!1),il.showBranches&&Fje(l,s),Bje(l,h4),e0e(l,h4,!0),Ht.insertTitle(l,"gitTitleText",il.titleTopMargin??0,a.getDiagramTitle()),NA(void 0,l,il.diagramPadding,il.useMaxWidth)},"draw"),n0e={draw:Gje}});var zje,a0e,s0e=N(()=>{"use strict";zje=o(t=>` .commit-id, .commit-msg, .branch-label { @@ -892,12 +1138,12 @@ ${r}`),this.inline?`{${i}}`:i}};o(J$e,"renderInlineTag");o(eze,"renderLinkDefaul font-size: 18px; fill: ${t.textColor}; } -`,"getStyles"),She=_Ge});var Ahe={};hr(Ahe,{diagram:()=>DGe});var DGe,_he=N(()=>{"use strict";xhe();CO();Ehe();Che();DGe={parser:vhe,db:kS,renderer:khe,styles:She}});var AO,Rhe,Nhe=N(()=>{"use strict";AO=function(){var t=o(function(L,S,I,M){for(I=I||{},M=L.length;M--;I[L[M]]=S);return I},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],r=[1,26],n=[1,27],i=[1,28],a=[1,29],s=[1,30],l=[1,31],u=[1,32],h=[1,33],f=[1,34],d=[1,9],p=[1,10],m=[1,11],g=[1,12],y=[1,13],v=[1,14],x=[1,15],b=[1,16],T=[1,19],C=[1,20],w=[1,21],E=[1,22],_=[1,23],A=[1,25],D=[1,35],O={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:o(function(S,I,M,P,B,F,z){var $=F.length-1;switch(B){case 1:return F[$-1];case 2:this.$=[];break;case 3:F[$-1].push(F[$]),this.$=F[$-1];break;case 4:case 5:this.$=F[$];break;case 6:case 7:this.$=[];break;case 8:P.setWeekday("monday");break;case 9:P.setWeekday("tuesday");break;case 10:P.setWeekday("wednesday");break;case 11:P.setWeekday("thursday");break;case 12:P.setWeekday("friday");break;case 13:P.setWeekday("saturday");break;case 14:P.setWeekday("sunday");break;case 15:P.setWeekend("friday");break;case 16:P.setWeekend("saturday");break;case 17:P.setDateFormat(F[$].substr(11)),this.$=F[$].substr(11);break;case 18:P.enableInclusiveEndDates(),this.$=F[$].substr(18);break;case 19:P.TopAxis(),this.$=F[$].substr(8);break;case 20:P.setAxisFormat(F[$].substr(11)),this.$=F[$].substr(11);break;case 21:P.setTickInterval(F[$].substr(13)),this.$=F[$].substr(13);break;case 22:P.setExcludes(F[$].substr(9)),this.$=F[$].substr(9);break;case 23:P.setIncludes(F[$].substr(9)),this.$=F[$].substr(9);break;case 24:P.setTodayMarker(F[$].substr(12)),this.$=F[$].substr(12);break;case 27:P.setDiagramTitle(F[$].substr(6)),this.$=F[$].substr(6);break;case 28:this.$=F[$].trim(),P.setAccTitle(this.$);break;case 29:case 30:this.$=F[$].trim(),P.setAccDescription(this.$);break;case 31:P.addSection(F[$].substr(8)),this.$=F[$].substr(8);break;case 33:P.addTask(F[$-1],F[$]),this.$="task";break;case 34:this.$=F[$-1],P.setClickEvent(F[$-1],F[$],null);break;case 35:this.$=F[$-2],P.setClickEvent(F[$-2],F[$-1],F[$]);break;case 36:this.$=F[$-2],P.setClickEvent(F[$-2],F[$-1],null),P.setLink(F[$-2],F[$]);break;case 37:this.$=F[$-3],P.setClickEvent(F[$-3],F[$-2],F[$-1]),P.setLink(F[$-3],F[$]);break;case 38:this.$=F[$-2],P.setClickEvent(F[$-2],F[$],null),P.setLink(F[$-2],F[$-1]);break;case 39:this.$=F[$-3],P.setClickEvent(F[$-3],F[$-1],F[$]),P.setLink(F[$-3],F[$-2]);break;case 40:this.$=F[$-1],P.setLink(F[$-1],F[$]);break;case 41:case 47:this.$=F[$-1]+" "+F[$];break;case 42:case 43:case 45:this.$=F[$-2]+" "+F[$-1]+" "+F[$];break;case 44:case 46:this.$=F[$-3]+" "+F[$-2]+" "+F[$-1]+" "+F[$];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:r,13:n,14:i,15:a,16:s,17:l,18:u,19:18,20:h,21:f,22:d,23:p,24:m,25:g,26:y,27:v,28:x,29:b,30:T,31:C,33:w,35:E,36:_,37:24,38:A,40:D},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:r,13:n,14:i,15:a,16:s,17:l,18:u,19:18,20:h,21:f,22:d,23:p,24:m,25:g,26:y,27:v,28:x,29:b,30:T,31:C,33:w,35:E,36:_,37:24,38:A,40:D},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:o(function(S,I){if(I.recoverable)this.trace(S);else{var M=new Error(S);throw M.hash=I,M}},"parseError"),parse:o(function(S){var I=this,M=[0],P=[],B=[null],F=[],z=this.table,$="",U=0,K=0,ee=0,Y=2,ce=1,Z=F.slice.call(arguments,1),ue=Object.create(this.lexer),Q={yy:{}};for(var j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(Q.yy[j]=this.yy[j]);ue.setInput(S,Q.yy),Q.yy.lexer=ue,Q.yy.parser=this,typeof ue.yylloc>"u"&&(ue.yylloc={});var ne=ue.yylloc;F.push(ne);var te=ue.options&&ue.options.ranges;typeof Q.yy.parseError=="function"?this.parseError=Q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function he(q){M.length=M.length-2*q,B.length=B.length-q,F.length=F.length-q}o(he,"popStack");function le(){var q;return q=P.pop()||ue.lex()||ce,typeof q!="number"&&(q instanceof Array&&(P=q,q=P.pop()),q=I.symbols_[q]||q),q}o(le,"lex");for(var J,Se,se,ae,Oe,ye,Be={},He,ze,Le,Ie;;){if(se=M[M.length-1],this.defaultActions[se]?ae=this.defaultActions[se]:((J===null||typeof J>"u")&&(J=le()),ae=z[se]&&z[se][J]),typeof ae>"u"||!ae.length||!ae[0]){var xe="";Ie=[];for(He in z[se])this.terminals_[He]&&He>Y&&Ie.push("'"+this.terminals_[He]+"'");ue.showPosition?xe="Parse error on line "+(U+1)+`: -`+ue.showPosition()+` -Expecting `+Ie.join(", ")+", got '"+(this.terminals_[J]||J)+"'":xe="Parse error on line "+(U+1)+": Unexpected "+(J==ce?"end of input":"'"+(this.terminals_[J]||J)+"'"),this.parseError(xe,{text:ue.match,token:this.terminals_[J]||J,line:ue.yylineno,loc:ne,expected:Ie})}if(ae[0]instanceof Array&&ae.length>1)throw new Error("Parse Error: multiple actions possible at state: "+se+", token: "+J);switch(ae[0]){case 1:M.push(J),B.push(ue.yytext),F.push(ue.yylloc),M.push(ae[1]),J=null,Se?(J=Se,Se=null):(K=ue.yyleng,$=ue.yytext,U=ue.yylineno,ne=ue.yylloc,ee>0&&ee--);break;case 2:if(ze=this.productions_[ae[1]][1],Be.$=B[B.length-ze],Be._$={first_line:F[F.length-(ze||1)].first_line,last_line:F[F.length-1].last_line,first_column:F[F.length-(ze||1)].first_column,last_column:F[F.length-1].last_column},te&&(Be._$.range=[F[F.length-(ze||1)].range[0],F[F.length-1].range[1]]),ye=this.performAction.apply(Be,[$,K,U,Q.yy,ae[1],B,F].concat(Z)),typeof ye<"u")return ye;ze&&(M=M.slice(0,-1*ze*2),B=B.slice(0,-1*ze),F=F.slice(0,-1*ze)),M.push(this.productions_[ae[1]][0]),B.push(Be.$),F.push(Be._$),Le=z[M[M.length-2]][M[M.length-1]],M.push(Le);break;case 3:return!0}}return!0},"parse")},R=function(){var L={EOF:1,parseError:o(function(I,M){if(this.yy.parser)this.yy.parser.parseError(I,M);else throw new Error(I)},"parseError"),setInput:o(function(S,I){return this.yy=I||this.yy||{},this._input=S,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var S=this._input[0];this.yytext+=S,this.yyleng++,this.offset++,this.match+=S,this.matched+=S;var I=S.match(/(?:\r\n?|\n).*/g);return I?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),S},"input"),unput:o(function(S){var I=S.length,M=S.split(/(?:\r\n?|\n)/g);this._input=S+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-I),this.offset-=I;var P=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),M.length-1&&(this.yylineno-=M.length-1);var B=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:M?(M.length===P.length?this.yylloc.first_column:0)+P[P.length-M.length].length-M[0].length:this.yylloc.first_column-I},this.options.ranges&&(this.yylloc.range=[B[0],B[0]+this.yyleng-I]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(S){this.unput(this.match.slice(S))},"less"),pastInput:o(function(){var S=this.matched.substr(0,this.matched.length-this.match.length);return(S.length>20?"...":"")+S.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var S=this.match;return S.length<20&&(S+=this._input.substr(0,20-S.length)),(S.substr(0,20)+(S.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var S=this.pastInput(),I=new Array(S.length+1).join("-");return S+this.upcomingInput()+` -`+I+"^"},"showPosition"),test_match:o(function(S,I){var M,P,B;if(this.options.backtrack_lexer&&(B={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(B.yylloc.range=this.yylloc.range.slice(0))),P=S[0].match(/(?:\r\n?|\n).*/g),P&&(this.yylineno+=P.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:P?P[P.length-1].length-P[P.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+S[0].length},this.yytext+=S[0],this.match+=S[0],this.matches=S,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(S[0].length),this.matched+=S[0],M=this.performAction.call(this,this.yy,this,I,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),M)return M;if(this._backtrack){for(var F in B)this[F]=B[F];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var S,I,M,P;this._more||(this.yytext="",this.match="");for(var B=this._currentRules(),F=0;FI[0].length)){if(I=M,P=F,this.options.backtrack_lexer){if(S=this.test_match(M,B[F]),S!==!1)return S;if(this._backtrack){I=!1;continue}else return!1}else if(!this.options.flex)break}return I?(S=this.test_match(I,B[P]),S!==!1?S:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var I=this.next();return I||this.lex()},"lex"),begin:o(function(I){this.conditionStack.push(I)},"begin"),popState:o(function(){var I=this.conditionStack.length-1;return I>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(I){return I=this.conditionStack.length-1-Math.abs(I||0),I>=0?this.conditionStack[I]:"INITIAL"},"topState"),pushState:o(function(I){this.begin(I)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(I,M,P,B){var F=B;switch(P){case 0:return this.begin("open_directive"),"open_directive";break;case 1:return this.begin("acc_title"),31;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),33;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 43;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return L}();O.lexer=R;function k(){this.yy={}}return o(k,"Parser"),k.prototype=O,O.Parser=k,new k}();AO.parser=AO;Rhe=AO});var Mhe=Ii((_O,DO)=>{"use strict";(function(t,e){typeof _O=="object"&&typeof DO<"u"?DO.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_isoWeek=e()})(_O,function(){"use strict";var t="day";return function(e,r,n){var i=o(function(l){return l.add(4-l.isoWeekday(),t)},"a"),a=r.prototype;a.isoWeekYear=function(){return i(this).year()},a.isoWeek=function(l){if(!this.$utils().u(l))return this.add(7*(l-this.isoWeek()),t);var u,h,f,d,p=i(this),m=(u=this.isoWeekYear(),h=this.$u,f=(h?n.utc:n)().year(u).startOf("year"),d=4-f.isoWeekday(),f.isoWeekday()>4&&(d+=7),f.add(d,t));return p.diff(m,"week")+1},a.isoWeekday=function(l){return this.$utils().u(l)?this.day()||7:this.day(this.day()%7?l:l-7)};var s=a.startOf;a.startOf=function(l,u){var h=this.$utils(),f=!!h.u(u)||u;return h.p(l)==="isoweek"?f?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(l,u)}}})});var Ihe=Ii((LO,RO)=>{"use strict";(function(t,e){typeof LO=="object"&&typeof RO<"u"?RO.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_customParseFormat=e()})(LO,function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,n=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,s={},l=o(function(g){return(g=+g)+(g>68?1900:2e3)},"a"),u=o(function(g){return function(y){this[g]=+y}},"f"),h=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var v=y.match(/([+-]|\d\d)/g),x=60*v[1]+(+v[2]||0);return x===0?0:v[0]==="+"?-x:x}(g)}],f=o(function(g){var y=s[g];return y&&(y.indexOf?y:y.s.concat(y.f))},"u"),d=o(function(g,y){var v,x=s.meridiem;if(x){for(var b=1;b<=24;b+=1)if(g.indexOf(x(b,0,y))>-1){v=b>12;break}}else v=g===(y?"pm":"PM");return v},"d"),p={A:[a,function(g){this.afternoon=d(g,!1)}],a:[a,function(g){this.afternoon=d(g,!0)}],Q:[r,function(g){this.month=3*(g-1)+1}],S:[r,function(g){this.milliseconds=100*+g}],SS:[n,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[i,u("seconds")],ss:[i,u("seconds")],m:[i,u("minutes")],mm:[i,u("minutes")],H:[i,u("hours")],h:[i,u("hours")],HH:[i,u("hours")],hh:[i,u("hours")],D:[i,u("day")],DD:[n,u("day")],Do:[a,function(g){var y=s.ordinal,v=g.match(/\d+/);if(this.day=v[0],y)for(var x=1;x<=31;x+=1)y(x).replace(/\[|\]/g,"")===g&&(this.day=x)}],w:[i,u("week")],ww:[n,u("week")],M:[i,u("month")],MM:[n,u("month")],MMM:[a,function(g){var y=f("months"),v=(f("monthsShort")||y.map(function(x){return x.slice(0,3)})).indexOf(g)+1;if(v<1)throw new Error;this.month=v%12||v}],MMMM:[a,function(g){var y=f("months").indexOf(g)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,u("year")],YY:[n,function(g){this.year=l(g)}],YYYY:[/\d{4}/,u("year")],Z:h,ZZ:h};function m(g){var y,v;y=g,v=s&&s.formats;for(var x=(g=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(A,D,O){var R=O&&O.toUpperCase();return D||v[O]||t[O]||v[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(k,L,S){return L||S.slice(1)})})).match(e),b=x.length,T=0;T-1)return new Date((M==="X"?1e3:1)*I);var F=m(M)(I),z=F.year,$=F.month,U=F.day,K=F.hours,ee=F.minutes,Y=F.seconds,ce=F.milliseconds,Z=F.zone,ue=F.week,Q=new Date,j=U||(z||$?1:Q.getDate()),ne=z||Q.getFullYear(),te=0;z&&!$||(te=$>0?$-1:Q.getMonth());var he,le=K||0,J=ee||0,Se=Y||0,se=ce||0;return Z?new Date(Date.UTC(ne,te,j,le,J,Se,se+60*Z.offset*1e3)):P?new Date(Date.UTC(ne,te,j,le,J,Se,se)):(he=new Date(ne,te,j,le,J,Se,se),ue&&(he=B(he).week(ue).toDate()),he)}catch{return new Date("")}}(C,_,w,v),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),O&&C!=this.format(_)&&(this.$d=new Date("")),s={}}else if(_ instanceof Array)for(var k=_.length,L=1;L<=k;L+=1){E[1]=_[L-1];var S=v.apply(this,E);if(S.isValid()){this.$d=S.$d,this.$L=S.$L,this.init();break}L===k&&(this.$d=new Date(""))}else b.call(this,T)}}})});var Ohe=Ii((NO,MO)=>{"use strict";(function(t,e){typeof NO=="object"&&typeof MO<"u"?MO.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_advancedFormat=e()})(NO,function(){"use strict";return function(t,e){var r=e.prototype,n=r.format;r.format=function(i){var a=this,s=this.$locale();if(!this.isValid())return n.bind(this)(i);var l=this.$utils(),u=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(h){switch(h){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return s.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return s.ordinal(a.week(),"W");case"w":case"ww":return l.s(a.week(),h==="w"?1:2,"0");case"W":case"WW":return l.s(a.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return l.s(String(a.$H===0?24:a.$H),h==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return h}});return n.bind(this)(u)}}})});function Qhe(t,e,r){let n=!0;for(;n;)n=!1,r.forEach(function(i){let a="^\\s*"+i+"\\s*$",s=new RegExp(a);t[0].match(s)&&(e[i]=!0,t.shift(1),n=!0)})}var Fhe,fo,$he,zhe,Ghe,Phe,Hc,BO,FO,$O,Sb,Cb,zO,GO,_S,C1,VO,Vhe,UO,Ab,HO,WO,DS,IO,MGe,IGe,OGe,PGe,BGe,FGe,$Ge,zGe,GGe,VGe,UGe,HGe,WGe,qGe,YGe,XGe,jGe,KGe,QGe,ZGe,JGe,eVe,tVe,Uhe,rVe,nVe,iVe,Hhe,aVe,OO,Whe,qhe,CS,S1,sVe,oVe,PO,AS,Gi,Yhe,lVe,Np,cVe,Bhe,uVe,Xhe,hVe,jhe,fVe,dVe,Khe,Zhe=N(()=>{"use strict";Fhe=Sa(Y0(),1),fo=Sa(W4(),1),$he=Sa(Mhe(),1),zhe=Sa(Ihe(),1),Ghe=Sa(Ohe(),1);yt();qt();nr();ci();fo.default.extend($he.default);fo.default.extend(zhe.default);fo.default.extend(Ghe.default);Phe={friday:5,saturday:6},Hc="",BO="",$O="",Sb=[],Cb=[],zO=new Map,GO=[],_S=[],C1="",VO="",Vhe=["active","done","crit","milestone","vert"],UO=[],Ab=!1,HO=!1,WO="sunday",DS="saturday",IO=0,MGe=o(function(){GO=[],_S=[],C1="",UO=[],CS=0,PO=void 0,AS=void 0,Gi=[],Hc="",BO="",VO="",FO=void 0,$O="",Sb=[],Cb=[],Ab=!1,HO=!1,IO=0,zO=new Map,wr(),WO="sunday",DS="saturday"},"clear"),IGe=o(function(t){BO=t},"setAxisFormat"),OGe=o(function(){return BO},"getAxisFormat"),PGe=o(function(t){FO=t},"setTickInterval"),BGe=o(function(){return FO},"getTickInterval"),FGe=o(function(t){$O=t},"setTodayMarker"),$Ge=o(function(){return $O},"getTodayMarker"),zGe=o(function(t){Hc=t},"setDateFormat"),GGe=o(function(){Ab=!0},"enableInclusiveEndDates"),VGe=o(function(){return Ab},"endDatesAreInclusive"),UGe=o(function(){HO=!0},"enableTopAxis"),HGe=o(function(){return HO},"topAxisEnabled"),WGe=o(function(t){VO=t},"setDisplayMode"),qGe=o(function(){return VO},"getDisplayMode"),YGe=o(function(){return Hc},"getDateFormat"),XGe=o(function(t){Sb=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),jGe=o(function(){return Sb},"getIncludes"),KGe=o(function(t){Cb=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),QGe=o(function(){return Cb},"getExcludes"),ZGe=o(function(){return zO},"getLinks"),JGe=o(function(t){C1=t,GO.push(t)},"addSection"),eVe=o(function(){return GO},"getSections"),tVe=o(function(){let t=Bhe(),e=10,r=0;for(;!t&&r[\d\w- ]+)/.exec(r);if(i!==null){let s=null;for(let u of i.groups.ids.split(" ")){let h=Np(u);h!==void 0&&(!s||h.endTime>s.endTime)&&(s=h)}if(s)return s.endTime;let l=new Date;return l.setHours(0,0,0,0),l}let a=(0,fo.default)(r,e.trim(),!0);if(a.isValid())return a.toDate();{X.debug("Invalid date:"+r),X.debug("With date format:"+e.trim());let s=new Date(r);if(s===void 0||isNaN(s.getTime())||s.getFullYear()<-1e4||s.getFullYear()>1e4)throw new Error("Invalid date:"+r);return s}},"getStartDate"),Whe=o(function(t){let e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return e!==null?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),qhe=o(function(t,e,r,n=!1){r=r.trim();let a=/^until\s+(?[\d\w- ]+)/.exec(r);if(a!==null){let f=null;for(let p of a.groups.ids.split(" ")){let m=Np(p);m!==void 0&&(!f||m.startTime{window.open(r,"_self")}),zO.set(n,r))}),Xhe(t,"clickable")},"setLink"),Xhe=o(function(t,e){t.split(",").forEach(function(r){let n=Np(r);n!==void 0&&n.classes.push(e)})},"setClass"),hVe=o(function(t,e,r){if(ge().securityLevel!=="loose"||e===void 0)return;let n=[];if(typeof r=="string"){n=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let a=0;a{Vt.runFunc(e,...n)})},"setClickFun"),jhe=o(function(t,e){UO.push(function(){let r=document.querySelector(`[id="${t}"]`);r!==null&&r.addEventListener("click",function(){e()})},function(){let r=document.querySelector(`[id="${t}-text"]`);r!==null&&r.addEventListener("click",function(){e()})})},"pushFun"),fVe=o(function(t,e,r){t.split(",").forEach(function(n){hVe(n,e,r)}),Xhe(t,"clickable")},"setClickEvent"),dVe=o(function(t){UO.forEach(function(e){e(t)})},"bindFunctions"),Khe={getConfig:o(()=>ge().gantt,"getConfig"),clear:MGe,setDateFormat:zGe,getDateFormat:YGe,enableInclusiveEndDates:GGe,endDatesAreInclusive:VGe,enableTopAxis:UGe,topAxisEnabled:HGe,setAxisFormat:IGe,getAxisFormat:OGe,setTickInterval:PGe,getTickInterval:BGe,setTodayMarker:FGe,getTodayMarker:$Ge,setAccTitle:Cr,getAccTitle:_r,setDiagramTitle:Ir,getDiagramTitle:Rr,setDisplayMode:WGe,getDisplayMode:qGe,setAccDescription:Dr,getAccDescription:Lr,addSection:JGe,getSections:eVe,getTasks:tVe,addTask:lVe,findTaskById:Np,addTaskOrg:cVe,setIncludes:XGe,getIncludes:jGe,setExcludes:KGe,getExcludes:QGe,setClickEvent:fVe,setLink:uVe,getLinks:ZGe,bindFunctions:dVe,parseDuration:Whe,isInvalidDate:Uhe,setWeekday:rVe,getWeekday:nVe,setWeekend:iVe};o(Qhe,"getTaskTags")});var LS,pVe,Jhe,mVe,ju,gVe,efe,tfe=N(()=>{"use strict";LS=Sa(W4(),1);yt();pr();dr();qt();yi();pVe=o(function(){X.debug("Something is calling, setConf, remove the call")},"setConf"),Jhe={monday:_h,tuesday:N5,wednesday:M5,thursday:uc,friday:I5,saturday:O5,sunday:bl},mVe=o((t,e)=>{let r=[...t].map(()=>-1/0),n=[...t].sort((a,s)=>a.startTime-s.startTime||a.order-s.order),i=0;for(let a of n)for(let s=0;s=r[s]){r[s]=a.endTime,a.order=s+e,s>i&&(i=s);break}return i},"getMaxIntersections"),gVe=o(function(t,e,r,n){let i=ge().gantt,a=ge().securityLevel,s;a==="sandbox"&&(s=Ge("#i"+e));let l=a==="sandbox"?Ge(s.nodes()[0].contentDocument.body):Ge("body"),u=a==="sandbox"?s.nodes()[0].contentDocument:document,h=u.getElementById(e);ju=h.parentElement.offsetWidth,ju===void 0&&(ju=1200),i.useWidth!==void 0&&(ju=i.useWidth);let f=n.db.getTasks(),d=[];for(let A of f)d.push(A.type);d=_(d);let p={},m=2*i.topPadding;if(n.db.getDisplayMode()==="compact"||i.displayMode==="compact"){let A={};for(let O of f)A[O.section]===void 0?A[O.section]=[O]:A[O.section].push(O);let D=0;for(let O of Object.keys(A)){let R=mVe(A[O],D)+1;D+=R,m+=R*(i.barHeight+i.barGap),p[O]=R}}else{m+=f.length*(i.barHeight+i.barGap);for(let A of d)p[A]=f.filter(D=>D.type===A).length}h.setAttribute("viewBox","0 0 "+ju+" "+m);let g=l.select(`[id="${e}"]`),y=F5().domain([U3(f,function(A){return A.startTime}),V3(f,function(A){return A.endTime})]).rangeRound([0,ju-i.leftPadding-i.rightPadding]);function v(A,D){let O=A.startTime,R=D.startTime,k=0;return O>R?k=1:Oz.vert===$.vert?0:z.vert?1:-1);let M=[...new Set(A.map(z=>z.order))].map(z=>A.find($=>$.order===z));g.append("g").selectAll("rect").data(M).enter().append("rect").attr("x",0).attr("y",function(z,$){return $=z.order,$*D+O-2}).attr("width",function(){return S-i.rightPadding/2}).attr("height",D).attr("class",function(z){for(let[$,U]of d.entries())if(z.type===U)return"section section"+$%i.numberSectionStyles;return"section section0"}).enter();let P=g.append("g").selectAll("rect").data(A).enter(),B=n.db.getLinks();if(P.append("rect").attr("id",function(z){return z.id}).attr("rx",3).attr("ry",3).attr("x",function(z){return z.milestone?y(z.startTime)+R+.5*(y(z.endTime)-y(z.startTime))-.5*k:y(z.startTime)+R}).attr("y",function(z,$){return $=z.order,z.vert?i.gridLineStartPadding:$*D+O}).attr("width",function(z){return z.milestone?k:z.vert?.08*k:y(z.renderEndTime||z.endTime)-y(z.startTime)}).attr("height",function(z){return z.vert?f.length*(i.barHeight+i.barGap)+i.barHeight*2:k}).attr("transform-origin",function(z,$){return $=z.order,(y(z.startTime)+R+.5*(y(z.endTime)-y(z.startTime))).toString()+"px "+($*D+O+.5*k).toString()+"px"}).attr("class",function(z){let $="task",U="";z.classes.length>0&&(U=z.classes.join(" "));let K=0;for(let[Y,ce]of d.entries())z.type===ce&&(K=Y%i.numberSectionStyles);let ee="";return z.active?z.crit?ee+=" activeCrit":ee=" active":z.done?z.crit?ee=" doneCrit":ee=" done":z.crit&&(ee+=" crit"),ee.length===0&&(ee=" task"),z.milestone&&(ee=" milestone "+ee),z.vert&&(ee=" vert "+ee),ee+=K,ee+=" "+U,$+ee}),P.append("text").attr("id",function(z){return z.id+"-text"}).text(function(z){return z.task}).attr("font-size",i.fontSize).attr("x",function(z){let $=y(z.startTime),U=y(z.renderEndTime||z.endTime);if(z.milestone&&($+=.5*(y(z.endTime)-y(z.startTime))-.5*k,U=$+k),z.vert)return y(z.startTime)+R;let K=this.getBBox().width;return K>U-$?U+K+1.5*i.leftPadding>S?$+R-5:U+R+5:(U-$)/2+$+R}).attr("y",function(z,$){return z.vert?i.gridLineStartPadding+f.length*(i.barHeight+i.barGap)+60:($=z.order,$*D+i.barHeight/2+(i.fontSize/2-2)+O)}).attr("text-height",k).attr("class",function(z){let $=y(z.startTime),U=y(z.endTime);z.milestone&&(U=$+k);let K=this.getBBox().width,ee="";z.classes.length>0&&(ee=z.classes.join(" "));let Y=0;for(let[Z,ue]of d.entries())z.type===ue&&(Y=Z%i.numberSectionStyles);let ce="";return z.active&&(z.crit?ce="activeCritText"+Y:ce="activeText"+Y),z.done?z.crit?ce=ce+" doneCritText"+Y:ce=ce+" doneText"+Y:z.crit&&(ce=ce+" critText"+Y),z.milestone&&(ce+=" milestoneText"),z.vert&&(ce+=" vertText"),K>U-$?U+K+1.5*i.leftPadding>S?ee+" taskTextOutsideLeft taskTextOutside"+Y+" "+ce:ee+" taskTextOutsideRight taskTextOutside"+Y+" "+ce+" width-"+K:ee+" taskText taskText"+Y+" "+ce+" width-"+K}),ge().securityLevel==="sandbox"){let z;z=Ge("#i"+e);let $=z.nodes()[0].contentDocument;P.filter(function(U){return B.has(U.id)}).each(function(U){var K=$.querySelector("#"+U.id),ee=$.querySelector("#"+U.id+"-text");let Y=K.parentNode;var ce=$.createElement("a");ce.setAttribute("xlink:href",B.get(U.id)),ce.setAttribute("target","_top"),Y.appendChild(ce),ce.appendChild(K),ce.appendChild(ee)})}}o(b,"drawRects");function T(A,D,O,R,k,L,S,I){if(S.length===0&&I.length===0)return;let M,P;for(let{startTime:K,endTime:ee}of L)(M===void 0||KP)&&(P=ee);if(!M||!P)return;if((0,LS.default)(P).diff((0,LS.default)(M),"year")>5){X.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let B=n.db.getDateFormat(),F=[],z=null,$=(0,LS.default)(M);for(;$.valueOf()<=P;)n.db.isInvalidDate($,B,S,I)?z?z.end=$:z={start:$,end:$}:z&&(F.push(z),z=null),$=$.add(1,"d");g.append("g").selectAll("rect").data(F).enter().append("rect").attr("id",K=>"exclude-"+K.start.format("YYYY-MM-DD")).attr("x",K=>y(K.start.startOf("day"))+O).attr("y",i.gridLineStartPadding).attr("width",K=>y(K.end.endOf("day"))-y(K.start.startOf("day"))).attr("height",k-D-i.gridLineStartPadding).attr("transform-origin",function(K,ee){return(y(K.start)+O+.5*(y(K.end)-y(K.start))).toString()+"px "+(ee*A+.5*k).toString()+"px"}).attr("class","exclude-range")}o(T,"drawExcludeDays");function C(A,D,O,R){let k=n.db.getDateFormat(),L=n.db.getAxisFormat(),S;L?S=L:k==="D"?S="%d":S=i.axisFormat??"%Y-%m-%d";let I=BA(y).tickSize(-R+D+i.gridLineStartPadding).tickFormat(kd(S)),P=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(n.db.getTickInterval()||i.tickInterval);if(P!==null){let B=P[1],F=P[2],z=n.db.getWeekday()||i.weekday;switch(F){case"millisecond":I.ticks(lc.every(B));break;case"second":I.ticks(Zs.every(B));break;case"minute":I.ticks(bu.every(B));break;case"hour":I.ticks(Tu.every(B));break;case"day":I.ticks(Do.every(B));break;case"week":I.ticks(Jhe[z].every(B));break;case"month":I.ticks(wu.every(B));break}}if(g.append("g").attr("class","grid").attr("transform","translate("+A+", "+(R-50)+")").call(I).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),n.db.topAxisEnabled()||i.topAxis){let B=PA(y).tickSize(-R+D+i.gridLineStartPadding).tickFormat(kd(S));if(P!==null){let F=P[1],z=P[2],$=n.db.getWeekday()||i.weekday;switch(z){case"millisecond":B.ticks(lc.every(F));break;case"second":B.ticks(Zs.every(F));break;case"minute":B.ticks(bu.every(F));break;case"hour":B.ticks(Tu.every(F));break;case"day":B.ticks(Do.every(F));break;case"week":B.ticks(Jhe[$].every(F));break;case"month":B.ticks(wu.every(F));break}}g.append("g").attr("class","grid").attr("transform","translate("+A+", "+D+")").call(B).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}o(C,"makeGrid");function w(A,D){let O=0,R=Object.keys(p).map(k=>[k,p[k]]);g.append("g").selectAll("text").data(R).enter().append(function(k){let L=k[0].split(Ze.lineBreakRegex),S=-(L.length-1)/2,I=u.createElementNS("http://www.w3.org/2000/svg","text");I.setAttribute("dy",S+"em");for(let[M,P]of L.entries()){let B=u.createElementNS("http://www.w3.org/2000/svg","tspan");B.setAttribute("alignment-baseline","central"),B.setAttribute("x","10"),M>0&&B.setAttribute("dy","1em"),B.textContent=P,I.appendChild(B)}return I}).attr("x",10).attr("y",function(k,L){if(L>0)for(let S=0;S{"use strict";yVe=o(t=>` +`,"getStyles"),a0e=zje});var o0e={};ur(o0e,{diagram:()=>Vje});var Vje,l0e=N(()=>{"use strict";Jpe();HP();i0e();s0e();Vje={parser:Zpe,db:A6,renderer:n0e,styles:a0e}});var WP,h0e,f0e=N(()=>{"use strict";WP=function(){var t=o(function(L,C,I,M){for(I=I||{},M=L.length;M--;I[L[M]]=C);return I},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],r=[1,26],n=[1,27],i=[1,28],a=[1,29],s=[1,30],l=[1,31],u=[1,32],h=[1,33],f=[1,34],d=[1,9],p=[1,10],m=[1,11],g=[1,12],y=[1,13],x=[1,14],v=[1,15],b=[1,16],T=[1,19],S=[1,20],w=[1,21],E=[1,22],_=[1,23],A=[1,25],D=[1,35],O={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:o(function(C,I,M,P,B,F,G){var $=F.length-1;switch(B){case 1:return F[$-1];case 2:this.$=[];break;case 3:F[$-1].push(F[$]),this.$=F[$-1];break;case 4:case 5:this.$=F[$];break;case 6:case 7:this.$=[];break;case 8:P.setWeekday("monday");break;case 9:P.setWeekday("tuesday");break;case 10:P.setWeekday("wednesday");break;case 11:P.setWeekday("thursday");break;case 12:P.setWeekday("friday");break;case 13:P.setWeekday("saturday");break;case 14:P.setWeekday("sunday");break;case 15:P.setWeekend("friday");break;case 16:P.setWeekend("saturday");break;case 17:P.setDateFormat(F[$].substr(11)),this.$=F[$].substr(11);break;case 18:P.enableInclusiveEndDates(),this.$=F[$].substr(18);break;case 19:P.TopAxis(),this.$=F[$].substr(8);break;case 20:P.setAxisFormat(F[$].substr(11)),this.$=F[$].substr(11);break;case 21:P.setTickInterval(F[$].substr(13)),this.$=F[$].substr(13);break;case 22:P.setExcludes(F[$].substr(9)),this.$=F[$].substr(9);break;case 23:P.setIncludes(F[$].substr(9)),this.$=F[$].substr(9);break;case 24:P.setTodayMarker(F[$].substr(12)),this.$=F[$].substr(12);break;case 27:P.setDiagramTitle(F[$].substr(6)),this.$=F[$].substr(6);break;case 28:this.$=F[$].trim(),P.setAccTitle(this.$);break;case 29:case 30:this.$=F[$].trim(),P.setAccDescription(this.$);break;case 31:P.addSection(F[$].substr(8)),this.$=F[$].substr(8);break;case 33:P.addTask(F[$-1],F[$]),this.$="task";break;case 34:this.$=F[$-1],P.setClickEvent(F[$-1],F[$],null);break;case 35:this.$=F[$-2],P.setClickEvent(F[$-2],F[$-1],F[$]);break;case 36:this.$=F[$-2],P.setClickEvent(F[$-2],F[$-1],null),P.setLink(F[$-2],F[$]);break;case 37:this.$=F[$-3],P.setClickEvent(F[$-3],F[$-2],F[$-1]),P.setLink(F[$-3],F[$]);break;case 38:this.$=F[$-2],P.setClickEvent(F[$-2],F[$],null),P.setLink(F[$-2],F[$-1]);break;case 39:this.$=F[$-3],P.setClickEvent(F[$-3],F[$-1],F[$]),P.setLink(F[$-3],F[$-2]);break;case 40:this.$=F[$-1],P.setLink(F[$-1],F[$]);break;case 41:case 47:this.$=F[$-1]+" "+F[$];break;case 42:case 43:case 45:this.$=F[$-2]+" "+F[$-1]+" "+F[$];break;case 44:case 46:this.$=F[$-3]+" "+F[$-2]+" "+F[$-1]+" "+F[$];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:r,13:n,14:i,15:a,16:s,17:l,18:u,19:18,20:h,21:f,22:d,23:p,24:m,25:g,26:y,27:x,28:v,29:b,30:T,31:S,33:w,35:E,36:_,37:24,38:A,40:D},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:r,13:n,14:i,15:a,16:s,17:l,18:u,19:18,20:h,21:f,22:d,23:p,24:m,25:g,26:y,27:x,28:v,29:b,30:T,31:S,33:w,35:E,36:_,37:24,38:A,40:D},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:o(function(C,I){if(I.recoverable)this.trace(C);else{var M=new Error(C);throw M.hash=I,M}},"parseError"),parse:o(function(C){var I=this,M=[0],P=[],B=[null],F=[],G=this.table,$="",U=0,K=0,ne=0,j=2,le=1,Z=F.slice.call(arguments,1),ce=Object.create(this.lexer),Q={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(Q.yy[ee]=this.yy[ee]);ce.setInput(C,Q.yy),Q.yy.lexer=ce,Q.yy.parser=this,typeof ce.yylloc>"u"&&(ce.yylloc={});var te=ce.yylloc;F.push(te);var re=ce.options&&ce.options.ranges;typeof Q.yy.parseError=="function"?this.parseError=Q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function he(q){M.length=M.length-2*q,B.length=B.length-q,F.length=F.length-q}o(he,"popStack");function J(){var q;return q=P.pop()||ce.lex()||le,typeof q!="number"&&(q instanceof Array&&(P=q,q=P.pop()),q=I.symbols_[q]||q),q}o(J,"lex");for(var ye,se,Se,W,Oe,ve,Pe={},qe,Ge,Ne,Me;;){if(Se=M[M.length-1],this.defaultActions[Se]?W=this.defaultActions[Se]:((ye===null||typeof ye>"u")&&(ye=J()),W=G[Se]&&G[Se][ye]),typeof W>"u"||!W.length||!W[0]){var be="";Me=[];for(qe in G[Se])this.terminals_[qe]&&qe>j&&Me.push("'"+this.terminals_[qe]+"'");ce.showPosition?be="Parse error on line "+(U+1)+`: +`+ce.showPosition()+` +Expecting `+Me.join(", ")+", got '"+(this.terminals_[ye]||ye)+"'":be="Parse error on line "+(U+1)+": Unexpected "+(ye==le?"end of input":"'"+(this.terminals_[ye]||ye)+"'"),this.parseError(be,{text:ce.match,token:this.terminals_[ye]||ye,line:ce.yylineno,loc:te,expected:Me})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Se+", token: "+ye);switch(W[0]){case 1:M.push(ye),B.push(ce.yytext),F.push(ce.yylloc),M.push(W[1]),ye=null,se?(ye=se,se=null):(K=ce.yyleng,$=ce.yytext,U=ce.yylineno,te=ce.yylloc,ne>0&&ne--);break;case 2:if(Ge=this.productions_[W[1]][1],Pe.$=B[B.length-Ge],Pe._$={first_line:F[F.length-(Ge||1)].first_line,last_line:F[F.length-1].last_line,first_column:F[F.length-(Ge||1)].first_column,last_column:F[F.length-1].last_column},re&&(Pe._$.range=[F[F.length-(Ge||1)].range[0],F[F.length-1].range[1]]),ve=this.performAction.apply(Pe,[$,K,U,Q.yy,W[1],B,F].concat(Z)),typeof ve<"u")return ve;Ge&&(M=M.slice(0,-1*Ge*2),B=B.slice(0,-1*Ge),F=F.slice(0,-1*Ge)),M.push(this.productions_[W[1]][0]),B.push(Pe.$),F.push(Pe._$),Ne=G[M[M.length-2]][M[M.length-1]],M.push(Ne);break;case 3:return!0}}return!0},"parse")},R=function(){var L={EOF:1,parseError:o(function(I,M){if(this.yy.parser)this.yy.parser.parseError(I,M);else throw new Error(I)},"parseError"),setInput:o(function(C,I){return this.yy=I||this.yy||{},this._input=C,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var C=this._input[0];this.yytext+=C,this.yyleng++,this.offset++,this.match+=C,this.matched+=C;var I=C.match(/(?:\r\n?|\n).*/g);return I?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),C},"input"),unput:o(function(C){var I=C.length,M=C.split(/(?:\r\n?|\n)/g);this._input=C+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-I),this.offset-=I;var P=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),M.length-1&&(this.yylineno-=M.length-1);var B=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:M?(M.length===P.length?this.yylloc.first_column:0)+P[P.length-M.length].length-M[0].length:this.yylloc.first_column-I},this.options.ranges&&(this.yylloc.range=[B[0],B[0]+this.yyleng-I]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(C){this.unput(this.match.slice(C))},"less"),pastInput:o(function(){var C=this.matched.substr(0,this.matched.length-this.match.length);return(C.length>20?"...":"")+C.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var C=this.match;return C.length<20&&(C+=this._input.substr(0,20-C.length)),(C.substr(0,20)+(C.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var C=this.pastInput(),I=new Array(C.length+1).join("-");return C+this.upcomingInput()+` +`+I+"^"},"showPosition"),test_match:o(function(C,I){var M,P,B;if(this.options.backtrack_lexer&&(B={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(B.yylloc.range=this.yylloc.range.slice(0))),P=C[0].match(/(?:\r\n?|\n).*/g),P&&(this.yylineno+=P.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:P?P[P.length-1].length-P[P.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+C[0].length},this.yytext+=C[0],this.match+=C[0],this.matches=C,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(C[0].length),this.matched+=C[0],M=this.performAction.call(this,this.yy,this,I,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),M)return M;if(this._backtrack){for(var F in B)this[F]=B[F];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var C,I,M,P;this._more||(this.yytext="",this.match="");for(var B=this._currentRules(),F=0;FI[0].length)){if(I=M,P=F,this.options.backtrack_lexer){if(C=this.test_match(M,B[F]),C!==!1)return C;if(this._backtrack){I=!1;continue}else return!1}else if(!this.options.flex)break}return I?(C=this.test_match(I,B[P]),C!==!1?C:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var I=this.next();return I||this.lex()},"lex"),begin:o(function(I){this.conditionStack.push(I)},"begin"),popState:o(function(){var I=this.conditionStack.length-1;return I>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(I){return I=this.conditionStack.length-1-Math.abs(I||0),I>=0?this.conditionStack[I]:"INITIAL"},"topState"),pushState:o(function(I){this.begin(I)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(I,M,P,B){var F=B;switch(P){case 0:return this.begin("open_directive"),"open_directive";break;case 1:return this.begin("acc_title"),31;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),33;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 43;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return L}();O.lexer=R;function k(){this.yy={}}return o(k,"Parser"),k.prototype=O,O.Parser=k,new k}();WP.parser=WP;h0e=WP});var d0e=Aa((qP,YP)=>{"use strict";(function(t,e){typeof qP=="object"&&typeof YP<"u"?YP.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_isoWeek=e()})(qP,function(){"use strict";var t="day";return function(e,r,n){var i=o(function(l){return l.add(4-l.isoWeekday(),t)},"a"),a=r.prototype;a.isoWeekYear=function(){return i(this).year()},a.isoWeek=function(l){if(!this.$utils().u(l))return this.add(7*(l-this.isoWeek()),t);var u,h,f,d,p=i(this),m=(u=this.isoWeekYear(),h=this.$u,f=(h?n.utc:n)().year(u).startOf("year"),d=4-f.isoWeekday(),f.isoWeekday()>4&&(d+=7),f.add(d,t));return p.diff(m,"week")+1},a.isoWeekday=function(l){return this.$utils().u(l)?this.day()||7:this.day(this.day()%7?l:l-7)};var s=a.startOf;a.startOf=function(l,u){var h=this.$utils(),f=!!h.u(u)||u;return h.p(l)==="isoweek"?f?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(l,u)}}})});var p0e=Aa((XP,jP)=>{"use strict";(function(t,e){typeof XP=="object"&&typeof jP<"u"?jP.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_customParseFormat=e()})(XP,function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,n=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,s={},l=o(function(g){return(g=+g)+(g>68?1900:2e3)},"a"),u=o(function(g){return function(y){this[g]=+y}},"f"),h=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var x=y.match(/([+-]|\d\d)/g),v=60*x[1]+(+x[2]||0);return v===0?0:x[0]==="+"?-v:v}(g)}],f=o(function(g){var y=s[g];return y&&(y.indexOf?y:y.s.concat(y.f))},"u"),d=o(function(g,y){var x,v=s.meridiem;if(v){for(var b=1;b<=24;b+=1)if(g.indexOf(v(b,0,y))>-1){x=b>12;break}}else x=g===(y?"pm":"PM");return x},"d"),p={A:[a,function(g){this.afternoon=d(g,!1)}],a:[a,function(g){this.afternoon=d(g,!0)}],Q:[r,function(g){this.month=3*(g-1)+1}],S:[r,function(g){this.milliseconds=100*+g}],SS:[n,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[i,u("seconds")],ss:[i,u("seconds")],m:[i,u("minutes")],mm:[i,u("minutes")],H:[i,u("hours")],h:[i,u("hours")],HH:[i,u("hours")],hh:[i,u("hours")],D:[i,u("day")],DD:[n,u("day")],Do:[a,function(g){var y=s.ordinal,x=g.match(/\d+/);if(this.day=x[0],y)for(var v=1;v<=31;v+=1)y(v).replace(/\[|\]/g,"")===g&&(this.day=v)}],w:[i,u("week")],ww:[n,u("week")],M:[i,u("month")],MM:[n,u("month")],MMM:[a,function(g){var y=f("months"),x=(f("monthsShort")||y.map(function(v){return v.slice(0,3)})).indexOf(g)+1;if(x<1)throw new Error;this.month=x%12||x}],MMMM:[a,function(g){var y=f("months").indexOf(g)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,u("year")],YY:[n,function(g){this.year=l(g)}],YYYY:[/\d{4}/,u("year")],Z:h,ZZ:h};function m(g){var y,x;y=g,x=s&&s.formats;for(var v=(g=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(A,D,O){var R=O&&O.toUpperCase();return D||x[O]||t[O]||x[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(k,L,C){return L||C.slice(1)})})).match(e),b=v.length,T=0;T-1)return new Date((M==="X"?1e3:1)*I);var F=m(M)(I),G=F.year,$=F.month,U=F.day,K=F.hours,ne=F.minutes,j=F.seconds,le=F.milliseconds,Z=F.zone,ce=F.week,Q=new Date,ee=U||(G||$?1:Q.getDate()),te=G||Q.getFullYear(),re=0;G&&!$||(re=$>0?$-1:Q.getMonth());var he,J=K||0,ye=ne||0,se=j||0,Se=le||0;return Z?new Date(Date.UTC(te,re,ee,J,ye,se,Se+60*Z.offset*1e3)):P?new Date(Date.UTC(te,re,ee,J,ye,se,Se)):(he=new Date(te,re,ee,J,ye,se,Se),ce&&(he=B(he).week(ce).toDate()),he)}catch{return new Date("")}}(S,_,w,x),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),O&&S!=this.format(_)&&(this.$d=new Date("")),s={}}else if(_ instanceof Array)for(var k=_.length,L=1;L<=k;L+=1){E[1]=_[L-1];var C=x.apply(this,E);if(C.isValid()){this.$d=C.$d,this.$L=C.$L,this.init();break}L===k&&(this.$d=new Date(""))}else b.call(this,T)}}})});var m0e=Aa((KP,QP)=>{"use strict";(function(t,e){typeof KP=="object"&&typeof QP<"u"?QP.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_advancedFormat=e()})(KP,function(){"use strict";return function(t,e){var r=e.prototype,n=r.format;r.format=function(i){var a=this,s=this.$locale();if(!this.isValid())return n.bind(this)(i);var l=this.$utils(),u=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(h){switch(h){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return s.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return s.ordinal(a.week(),"W");case"w":case"ww":return l.s(a.week(),h==="w"?1:2,"0");case"W":case"WW":return l.s(a.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return l.s(String(a.$H===0?24:a.$H),h==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return h}});return n.bind(this)(u)}}})});function R0e(t,e,r){let n=!0;for(;n;)n=!1,r.forEach(function(i){let a="^\\s*"+i+"\\s*$",s=new RegExp(a);t[0].match(s)&&(e[i]=!0,t.shift(1),n=!0)})}var v0e,vo,x0e,b0e,T0e,g0e,Zc,tB,rB,nB,d4,p4,iB,aB,N6,J1,sB,w0e,oB,m4,lB,cB,M6,ZP,qje,Yje,Xje,jje,Kje,Qje,Zje,Jje,eKe,tKe,rKe,nKe,iKe,aKe,sKe,oKe,lKe,cKe,uKe,hKe,fKe,dKe,pKe,k0e,mKe,gKe,yKe,E0e,vKe,JP,S0e,C0e,L6,Z1,xKe,bKe,eB,R6,Hi,A0e,TKe,t0,wKe,y0e,kKe,_0e,EKe,D0e,SKe,CKe,L0e,N0e=N(()=>{"use strict";v0e=ja(Q0(),1),vo=ja(Y4(),1),x0e=ja(d0e(),1),b0e=ja(p0e(),1),T0e=ja(m0e(),1);pt();Xt();tr();ui();vo.default.extend(x0e.default);vo.default.extend(b0e.default);vo.default.extend(T0e.default);g0e={friday:5,saturday:6},Zc="",tB="",nB="",d4=[],p4=[],iB=new Map,aB=[],N6=[],J1="",sB="",w0e=["active","done","crit","milestone","vert"],oB=[],m4=!1,lB=!1,cB="sunday",M6="saturday",ZP=0,qje=o(function(){aB=[],N6=[],J1="",oB=[],L6=0,eB=void 0,R6=void 0,Hi=[],Zc="",tB="",sB="",rB=void 0,nB="",d4=[],p4=[],m4=!1,lB=!1,ZP=0,iB=new Map,wr(),cB="sunday",M6="saturday"},"clear"),Yje=o(function(t){tB=t},"setAxisFormat"),Xje=o(function(){return tB},"getAxisFormat"),jje=o(function(t){rB=t},"setTickInterval"),Kje=o(function(){return rB},"getTickInterval"),Qje=o(function(t){nB=t},"setTodayMarker"),Zje=o(function(){return nB},"getTodayMarker"),Jje=o(function(t){Zc=t},"setDateFormat"),eKe=o(function(){m4=!0},"enableInclusiveEndDates"),tKe=o(function(){return m4},"endDatesAreInclusive"),rKe=o(function(){lB=!0},"enableTopAxis"),nKe=o(function(){return lB},"topAxisEnabled"),iKe=o(function(t){sB=t},"setDisplayMode"),aKe=o(function(){return sB},"getDisplayMode"),sKe=o(function(){return Zc},"getDateFormat"),oKe=o(function(t){d4=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),lKe=o(function(){return d4},"getIncludes"),cKe=o(function(t){p4=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),uKe=o(function(){return p4},"getExcludes"),hKe=o(function(){return iB},"getLinks"),fKe=o(function(t){J1=t,aB.push(t)},"addSection"),dKe=o(function(){return aB},"getSections"),pKe=o(function(){let t=y0e(),e=10,r=0;for(;!t&&r[\d\w- ]+)/.exec(r);if(i!==null){let s=null;for(let u of i.groups.ids.split(" ")){let h=t0(u);h!==void 0&&(!s||h.endTime>s.endTime)&&(s=h)}if(s)return s.endTime;let l=new Date;return l.setHours(0,0,0,0),l}let a=(0,vo.default)(r,e.trim(),!0);if(a.isValid())return a.toDate();{X.debug("Invalid date:"+r),X.debug("With date format:"+e.trim());let s=new Date(r);if(s===void 0||isNaN(s.getTime())||s.getFullYear()<-1e4||s.getFullYear()>1e4)throw new Error("Invalid date:"+r);return s}},"getStartDate"),S0e=o(function(t){let e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return e!==null?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),C0e=o(function(t,e,r,n=!1){r=r.trim();let a=/^until\s+(?[\d\w- ]+)/.exec(r);if(a!==null){let f=null;for(let p of a.groups.ids.split(" ")){let m=t0(p);m!==void 0&&(!f||m.startTime{window.open(r,"_self")}),iB.set(n,r))}),_0e(t,"clickable")},"setLink"),_0e=o(function(t,e){t.split(",").forEach(function(r){let n=t0(r);n!==void 0&&n.classes.push(e)})},"setClass"),EKe=o(function(t,e,r){if(ge().securityLevel!=="loose"||e===void 0)return;let n=[];if(typeof r=="string"){n=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let a=0;a{Ht.runFunc(e,...n)})},"setClickFun"),D0e=o(function(t,e){oB.push(function(){let r=document.querySelector(`[id="${t}"]`);r!==null&&r.addEventListener("click",function(){e()})},function(){let r=document.querySelector(`[id="${t}-text"]`);r!==null&&r.addEventListener("click",function(){e()})})},"pushFun"),SKe=o(function(t,e,r){t.split(",").forEach(function(n){EKe(n,e,r)}),_0e(t,"clickable")},"setClickEvent"),CKe=o(function(t){oB.forEach(function(e){e(t)})},"bindFunctions"),L0e={getConfig:o(()=>ge().gantt,"getConfig"),clear:qje,setDateFormat:Jje,getDateFormat:sKe,enableInclusiveEndDates:eKe,endDatesAreInclusive:tKe,enableTopAxis:rKe,topAxisEnabled:nKe,setAxisFormat:Yje,getAxisFormat:Xje,setTickInterval:jje,getTickInterval:Kje,setTodayMarker:Qje,getTodayMarker:Zje,setAccTitle:Cr,getAccTitle:_r,setDiagramTitle:Or,getDiagramTitle:Rr,setDisplayMode:iKe,getDisplayMode:aKe,setAccDescription:Dr,getAccDescription:Lr,addSection:fKe,getSections:dKe,getTasks:pKe,addTask:TKe,findTaskById:t0,addTaskOrg:wKe,setIncludes:oKe,getIncludes:lKe,setExcludes:cKe,getExcludes:uKe,setClickEvent:SKe,setLink:kKe,getLinks:hKe,bindFunctions:CKe,parseDuration:S0e,isInvalidDate:k0e,setWeekday:mKe,getWeekday:gKe,setWeekend:yKe};o(R0e,"getTaskTags")});var I6,AKe,M0e,_Ke,rh,DKe,I0e,O0e=N(()=>{"use strict";I6=ja(Y4(),1);pt();pr();dr();Xt();Ci();AKe=o(function(){X.debug("Something is calling, setConf, remove the call")},"setConf"),M0e={monday:Rh,tuesday:O5,wednesday:P5,thursday:hc,friday:B5,saturday:F5,sunday:wl},_Ke=o((t,e)=>{let r=[...t].map(()=>-1/0),n=[...t].sort((a,s)=>a.startTime-s.startTime||a.order-s.order),i=0;for(let a of n)for(let s=0;s=r[s]){r[s]=a.endTime,a.order=s+e,s>i&&(i=s);break}return i},"getMaxIntersections"),DKe=o(function(t,e,r,n){let i=ge().gantt,a=ge().securityLevel,s;a==="sandbox"&&(s=ze("#i"+e));let l=a==="sandbox"?ze(s.nodes()[0].contentDocument.body):ze("body"),u=a==="sandbox"?s.nodes()[0].contentDocument:document,h=u.getElementById(e);rh=h.parentElement.offsetWidth,rh===void 0&&(rh=1200),i.useWidth!==void 0&&(rh=i.useWidth);let f=n.db.getTasks(),d=[];for(let A of f)d.push(A.type);d=_(d);let p={},m=2*i.topPadding;if(n.db.getDisplayMode()==="compact"||i.displayMode==="compact"){let A={};for(let O of f)A[O.section]===void 0?A[O.section]=[O]:A[O.section].push(O);let D=0;for(let O of Object.keys(A)){let R=_Ke(A[O],D)+1;D+=R,m+=R*(i.barHeight+i.barGap),p[O]=R}}else{m+=f.length*(i.barHeight+i.barGap);for(let A of d)p[A]=f.filter(D=>D.type===A).length}h.setAttribute("viewBox","0 0 "+rh+" "+m);let g=l.select(`[id="${e}"]`),y=z5().domain([q3(f,function(A){return A.startTime}),W3(f,function(A){return A.endTime})]).rangeRound([0,rh-i.leftPadding-i.rightPadding]);function x(A,D){let O=A.startTime,R=D.startTime,k=0;return O>R?k=1:OG.vert===$.vert?0:G.vert?1:-1);let M=[...new Set(A.map(G=>G.order))].map(G=>A.find($=>$.order===G));g.append("g").selectAll("rect").data(M).enter().append("rect").attr("x",0).attr("y",function(G,$){return $=G.order,$*D+O-2}).attr("width",function(){return C-i.rightPadding/2}).attr("height",D).attr("class",function(G){for(let[$,U]of d.entries())if(G.type===U)return"section section"+$%i.numberSectionStyles;return"section section0"}).enter();let P=g.append("g").selectAll("rect").data(A).enter(),B=n.db.getLinks();if(P.append("rect").attr("id",function(G){return G.id}).attr("rx",3).attr("ry",3).attr("x",function(G){return G.milestone?y(G.startTime)+R+.5*(y(G.endTime)-y(G.startTime))-.5*k:y(G.startTime)+R}).attr("y",function(G,$){return $=G.order,G.vert?i.gridLineStartPadding:$*D+O}).attr("width",function(G){return G.milestone?k:G.vert?.08*k:y(G.renderEndTime||G.endTime)-y(G.startTime)}).attr("height",function(G){return G.vert?f.length*(i.barHeight+i.barGap)+i.barHeight*2:k}).attr("transform-origin",function(G,$){return $=G.order,(y(G.startTime)+R+.5*(y(G.endTime)-y(G.startTime))).toString()+"px "+($*D+O+.5*k).toString()+"px"}).attr("class",function(G){let $="task",U="";G.classes.length>0&&(U=G.classes.join(" "));let K=0;for(let[j,le]of d.entries())G.type===le&&(K=j%i.numberSectionStyles);let ne="";return G.active?G.crit?ne+=" activeCrit":ne=" active":G.done?G.crit?ne=" doneCrit":ne=" done":G.crit&&(ne+=" crit"),ne.length===0&&(ne=" task"),G.milestone&&(ne=" milestone "+ne),G.vert&&(ne=" vert "+ne),ne+=K,ne+=" "+U,$+ne}),P.append("text").attr("id",function(G){return G.id+"-text"}).text(function(G){return G.task}).attr("font-size",i.fontSize).attr("x",function(G){let $=y(G.startTime),U=y(G.renderEndTime||G.endTime);if(G.milestone&&($+=.5*(y(G.endTime)-y(G.startTime))-.5*k,U=$+k),G.vert)return y(G.startTime)+R;let K=this.getBBox().width;return K>U-$?U+K+1.5*i.leftPadding>C?$+R-5:U+R+5:(U-$)/2+$+R}).attr("y",function(G,$){return G.vert?i.gridLineStartPadding+f.length*(i.barHeight+i.barGap)+60:($=G.order,$*D+i.barHeight/2+(i.fontSize/2-2)+O)}).attr("text-height",k).attr("class",function(G){let $=y(G.startTime),U=y(G.endTime);G.milestone&&(U=$+k);let K=this.getBBox().width,ne="";G.classes.length>0&&(ne=G.classes.join(" "));let j=0;for(let[Z,ce]of d.entries())G.type===ce&&(j=Z%i.numberSectionStyles);let le="";return G.active&&(G.crit?le="activeCritText"+j:le="activeText"+j),G.done?G.crit?le=le+" doneCritText"+j:le=le+" doneText"+j:G.crit&&(le=le+" critText"+j),G.milestone&&(le+=" milestoneText"),G.vert&&(le+=" vertText"),K>U-$?U+K+1.5*i.leftPadding>C?ne+" taskTextOutsideLeft taskTextOutside"+j+" "+le:ne+" taskTextOutsideRight taskTextOutside"+j+" "+le+" width-"+K:ne+" taskText taskText"+j+" "+le+" width-"+K}),ge().securityLevel==="sandbox"){let G;G=ze("#i"+e);let $=G.nodes()[0].contentDocument;P.filter(function(U){return B.has(U.id)}).each(function(U){var K=$.querySelector("#"+U.id),ne=$.querySelector("#"+U.id+"-text");let j=K.parentNode;var le=$.createElement("a");le.setAttribute("xlink:href",B.get(U.id)),le.setAttribute("target","_top"),j.appendChild(le),le.appendChild(K),le.appendChild(ne)})}}o(b,"drawRects");function T(A,D,O,R,k,L,C,I){if(C.length===0&&I.length===0)return;let M,P;for(let{startTime:K,endTime:ne}of L)(M===void 0||KP)&&(P=ne);if(!M||!P)return;if((0,I6.default)(P).diff((0,I6.default)(M),"year")>5){X.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let B=n.db.getDateFormat(),F=[],G=null,$=(0,I6.default)(M);for(;$.valueOf()<=P;)n.db.isInvalidDate($,B,C,I)?G?G.end=$:G={start:$,end:$}:G&&(F.push(G),G=null),$=$.add(1,"d");g.append("g").selectAll("rect").data(F).enter().append("rect").attr("id",K=>"exclude-"+K.start.format("YYYY-MM-DD")).attr("x",K=>y(K.start.startOf("day"))+O).attr("y",i.gridLineStartPadding).attr("width",K=>y(K.end.endOf("day"))-y(K.start.startOf("day"))).attr("height",k-D-i.gridLineStartPadding).attr("transform-origin",function(K,ne){return(y(K.start)+O+.5*(y(K.end)-y(K.start))).toString()+"px "+(ne*A+.5*k).toString()+"px"}).attr("class","exclude-range")}o(T,"drawExcludeDays");function S(A,D,O,R){let k=n.db.getDateFormat(),L=n.db.getAxisFormat(),C;L?C=L:k==="D"?C="%d":C=i.axisFormat??"%Y-%m-%d";let I=WA(y).tickSize(-R+D+i.gridLineStartPadding).tickFormat(Nd(C)),P=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(n.db.getTickInterval()||i.tickInterval);if(P!==null){let B=P[1],F=P[2],G=n.db.getWeekday()||i.weekday;switch(F){case"millisecond":I.ticks(cc.every(B));break;case"second":I.ticks(to.every(B));break;case"minute":I.ticks(Tu.every(B));break;case"hour":I.ticks(wu.every(B));break;case"day":I.ticks(Lo.every(B));break;case"week":I.ticks(M0e[G].every(B));break;case"month":I.ticks(ku.every(B));break}}if(g.append("g").attr("class","grid").attr("transform","translate("+A+", "+(R-50)+")").call(I).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),n.db.topAxisEnabled()||i.topAxis){let B=HA(y).tickSize(-R+D+i.gridLineStartPadding).tickFormat(Nd(C));if(P!==null){let F=P[1],G=P[2],$=n.db.getWeekday()||i.weekday;switch(G){case"millisecond":B.ticks(cc.every(F));break;case"second":B.ticks(to.every(F));break;case"minute":B.ticks(Tu.every(F));break;case"hour":B.ticks(wu.every(F));break;case"day":B.ticks(Lo.every(F));break;case"week":B.ticks(M0e[$].every(F));break;case"month":B.ticks(ku.every(F));break}}g.append("g").attr("class","grid").attr("transform","translate("+A+", "+D+")").call(B).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}o(S,"makeGrid");function w(A,D){let O=0,R=Object.keys(p).map(k=>[k,p[k]]);g.append("g").selectAll("text").data(R).enter().append(function(k){let L=k[0].split(Je.lineBreakRegex),C=-(L.length-1)/2,I=u.createElementNS("http://www.w3.org/2000/svg","text");I.setAttribute("dy",C+"em");for(let[M,P]of L.entries()){let B=u.createElementNS("http://www.w3.org/2000/svg","tspan");B.setAttribute("alignment-baseline","central"),B.setAttribute("x","10"),M>0&&B.setAttribute("dy","1em"),B.textContent=P,I.appendChild(B)}return I}).attr("x",10).attr("y",function(k,L){if(L>0)for(let C=0;C{"use strict";LKe=o(t=>` .mermaid-main-font { font-family: ${t.fontFamily}; } @@ -1158,8 +1404,8 @@ Expecting `+Ie.join(", ")+", got '"+(this.terminals_[J]||J)+"'":xe="Parse error fill: ${t.titleColor||t.textColor}; font-family: ${t.fontFamily}; } -`,"getStyles"),rfe=yVe});var ife={};hr(ife,{diagram:()=>vVe});var vVe,afe=N(()=>{"use strict";Nhe();Zhe();tfe();nfe();vVe={parser:Rhe,db:Khe,renderer:efe,styles:rfe}});var lfe,cfe=N(()=>{"use strict";gf();yt();lfe={parse:o(async t=>{let e=await ps("info",t);X.debug(e)},"parse")}});var _b,qO=N(()=>{_b={name:"mermaid",version:"11.10.1",description:"Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",type:"module",module:"./dist/mermaid.core.mjs",types:"./dist/mermaid.d.ts",exports:{".":{types:"./dist/mermaid.d.ts",import:"./dist/mermaid.core.mjs",default:"./dist/mermaid.core.mjs"},"./*":"./*"},keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph","mindmap","packet diagram","c4 diagram","er diagram","pie chart","pie diagram","quadrant chart","requirement diagram","graph"],scripts:{clean:"rimraf dist",dev:"pnpm -w dev","docs:code":"typedoc src/defaultConfig.ts src/config.ts src/mermaid.ts && prettier --write ./src/docs/config/setup","docs:build":"rimraf ../../docs && pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts","docs:verify":"pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts --verify","docs:pre:vitepress":"pnpm --filter ./src/docs prefetch && rimraf src/vitepress && pnpm docs:code && tsx scripts/docs.cli.mts --vitepress && pnpm --filter ./src/vitepress install --no-frozen-lockfile --ignore-scripts","docs:build:vitepress":"pnpm docs:pre:vitepress && (cd src/vitepress && pnpm run build) && cpy --flat src/docs/landing/ ./src/vitepress/.vitepress/dist/landing","docs:dev":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:dev:docker":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev:docker" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:serve":"pnpm docs:build:vitepress && vitepress serve src/vitepress","docs:spellcheck":'cspell "src/docs/**/*.md"',"docs:release-version":"tsx scripts/update-release-version.mts","docs:verify-version":"tsx scripts/update-release-version.mts --verify","types:build-config":"tsx scripts/create-types-from-json-schema.mts","types:verify-config":"tsx scripts/create-types-from-json-schema.mts --verify",checkCircle:"npx madge --circular ./src",prepublishOnly:"pnpm docs:verify-version"},repository:{type:"git",url:"https://github.com/mermaid-js/mermaid"},author:"Knut Sveidqvist",license:"MIT",standard:{ignore:["**/parser/*.js","dist/**/*.js","cypress/**/*.js"],globals:["page"]},dependencies:{"@braintree/sanitize-url":"^7.0.4","@iconify/utils":"^2.1.33","@mermaid-js/parser":"workspace:^","@types/d3":"^7.4.3",cytoscape:"^3.29.3","cytoscape-cose-bilkent":"^4.1.0","cytoscape-fcose":"^2.2.0",d3:"^7.9.0","d3-sankey":"^0.12.3","dagre-d3-es":"7.0.11",dayjs:"^1.11.13",dompurify:"^3.2.5",katex:"^0.16.22",khroma:"^2.1.0","lodash-es":"^4.17.21",marked:"^16.0.0",roughjs:"^4.6.6",stylis:"^4.3.6","ts-dedent":"^2.2.0",uuid:"^11.1.0"},devDependencies:{"@adobe/jsonschema2md":"^8.0.2","@iconify/types":"^2.0.0","@types/cytoscape":"^3.21.9","@types/cytoscape-fcose":"^2.2.4","@types/d3-sankey":"^0.12.4","@types/d3-scale":"^4.0.9","@types/d3-scale-chromatic":"^3.1.0","@types/d3-selection":"^3.0.11","@types/d3-shape":"^3.1.7","@types/jsdom":"^21.1.7","@types/katex":"^0.16.7","@types/lodash-es":"^4.17.12","@types/micromatch":"^4.0.9","@types/stylis":"^4.2.7","@types/uuid":"^10.0.0",ajv:"^8.17.1",canvas:"^3.1.0",chokidar:"3.6.0",concurrently:"^9.1.2","csstree-validator":"^4.0.1",globby:"^14.0.2",jison:"^0.4.18","js-base64":"^3.7.7",jsdom:"^26.1.0","json-schema-to-typescript":"^15.0.4",micromatch:"^4.0.8","path-browserify":"^1.0.1",prettier:"^3.5.2",remark:"^15.0.1","remark-frontmatter":"^5.0.0","remark-gfm":"^4.0.1",rimraf:"^6.0.1","start-server-and-test":"^2.0.10","type-fest":"^4.35.0",typedoc:"^0.27.8","typedoc-plugin-markdown":"^4.4.2",typescript:"~5.7.3","unist-util-flatmap":"^1.0.0","unist-util-visit":"^5.0.0",vitepress:"^1.0.2","vitepress-plugin-search":"1.0.4-alpha.22"},files:["dist/","README.md"],publishConfig:{access:"public"}}});var kVe,EVe,ufe,hfe=N(()=>{"use strict";qO();kVe={version:_b.version+""},EVe=o(()=>kVe.version,"getVersion"),ufe={getVersion:EVe}});var Di,zl=N(()=>{"use strict";pr();qt();Di=o(t=>{let{securityLevel:e}=ge(),r=Ge("body");if(e==="sandbox"){let a=Ge(`#i${t}`).node()?.contentDocument??document;r=Ge(a.body)}return r.select(`#${t}`)},"selectSvgElement")});var SVe,ffe,dfe=N(()=>{"use strict";yt();zl();yi();SVe=o((t,e,r)=>{X.debug(`rendering info diagram -`+t);let n=Di(e);hn(n,100,400,!0),n.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${r}`)},"draw"),ffe={draw:SVe}});var pfe={};hr(pfe,{diagram:()=>CVe});var CVe,mfe=N(()=>{"use strict";cfe();hfe();dfe();CVe={parser:lfe,db:ufe,renderer:ffe}});var vfe,YO,RS,XO,DVe,LVe,RVe,NVe,MVe,IVe,OVe,NS,jO=N(()=>{"use strict";yt();ci();Ca();vfe=lr.pie,YO={sections:new Map,showData:!1,config:vfe},RS=YO.sections,XO=YO.showData,DVe=structuredClone(vfe),LVe=o(()=>structuredClone(DVe),"getConfig"),RVe=o(()=>{RS=new Map,XO=YO.showData,wr()},"clear"),NVe=o(({label:t,value:e})=>{if(e<0)throw new Error(`"${t}" has invalid value: ${e}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);RS.has(t)||(RS.set(t,e),X.debug(`added new section: ${t}, with value: ${e}`))},"addSection"),MVe=o(()=>RS,"getSections"),IVe=o(t=>{XO=t},"setShowData"),OVe=o(()=>XO,"getShowData"),NS={getConfig:LVe,clear:RVe,setDiagramTitle:Ir,getDiagramTitle:Rr,setAccTitle:Cr,getAccTitle:_r,setAccDescription:Dr,getAccDescription:Lr,addSection:NVe,getSections:MVe,setShowData:IVe,getShowData:OVe}});var PVe,xfe,bfe=N(()=>{"use strict";gf();yt();Dp();jO();PVe=o((t,e)=>{Qo(t,e),e.setShowData(t.showData),t.sections.map(e.addSection)},"populateDb"),xfe={parse:o(async t=>{let e=await ps("pie",t);X.debug(e),PVe(e,NS)},"parse")}});var BVe,Tfe,wfe=N(()=>{"use strict";BVe=o(t=>` +`,"getStyles"),P0e=LKe});var F0e={};ur(F0e,{diagram:()=>RKe});var RKe,$0e=N(()=>{"use strict";f0e();N0e();O0e();B0e();RKe={parser:h0e,db:L0e,renderer:I0e,styles:P0e}});var V0e,U0e=N(()=>{"use strict";Ff();pt();V0e={parse:o(async t=>{let e=await xs("info",t);X.debug(e)},"parse")}});var g4,uB=N(()=>{g4={name:"mermaid",version:"11.11.0",description:"Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",type:"module",module:"./dist/mermaid.core.mjs",types:"./dist/mermaid.d.ts",exports:{".":{types:"./dist/mermaid.d.ts",import:"./dist/mermaid.core.mjs",default:"./dist/mermaid.core.mjs"},"./*":"./*"},keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph","mindmap","packet diagram","c4 diagram","er diagram","pie chart","pie diagram","quadrant chart","requirement diagram","graph"],scripts:{clean:"rimraf dist",dev:"pnpm -w dev","docs:code":"typedoc src/defaultConfig.ts src/config.ts src/mermaid.ts && prettier --write ./src/docs/config/setup","docs:build":"rimraf ../../docs && pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts","docs:verify":"pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts --verify","docs:pre:vitepress":"pnpm --filter ./src/docs prefetch && rimraf src/vitepress && pnpm docs:code && tsx scripts/docs.cli.mts --vitepress && pnpm --filter ./src/vitepress install --no-frozen-lockfile --ignore-scripts","docs:build:vitepress":"pnpm docs:pre:vitepress && (cd src/vitepress && pnpm run build) && cpy --flat src/docs/landing/ ./src/vitepress/.vitepress/dist/landing","docs:dev":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:dev:docker":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev:docker" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:serve":"pnpm docs:build:vitepress && vitepress serve src/vitepress","docs:spellcheck":'cspell "src/docs/**/*.md"',"docs:release-version":"tsx scripts/update-release-version.mts","docs:verify-version":"tsx scripts/update-release-version.mts --verify","types:build-config":"tsx scripts/create-types-from-json-schema.mts","types:verify-config":"tsx scripts/create-types-from-json-schema.mts --verify",checkCircle:"npx madge --circular ./src",prepublishOnly:"pnpm docs:verify-version"},repository:{type:"git",url:"https://github.com/mermaid-js/mermaid"},author:"Knut Sveidqvist",license:"MIT",standard:{ignore:["**/parser/*.js","dist/**/*.js","cypress/**/*.js"],globals:["page"]},dependencies:{"@braintree/sanitize-url":"^7.0.4","@iconify/utils":"^3.0.1","@mermaid-js/parser":"workspace:^","@types/d3":"^7.4.3",cytoscape:"^3.29.3","cytoscape-cose-bilkent":"^4.1.0","cytoscape-fcose":"^2.2.0",d3:"^7.9.0","d3-sankey":"^0.12.3","dagre-d3-es":"7.0.11",dayjs:"^1.11.13",dompurify:"^3.2.5",katex:"^0.16.22",khroma:"^2.1.0","lodash-es":"^4.17.21",marked:"^15.0.7",roughjs:"^4.6.6",stylis:"^4.3.6","ts-dedent":"^2.2.0",uuid:"^11.1.0"},devDependencies:{"@adobe/jsonschema2md":"^8.0.2","@iconify/types":"^2.0.0","@types/cytoscape":"^3.21.9","@types/cytoscape-fcose":"^2.2.4","@types/d3-sankey":"^0.12.4","@types/d3-scale":"^4.0.9","@types/d3-scale-chromatic":"^3.1.0","@types/d3-selection":"^3.0.11","@types/d3-shape":"^3.1.7","@types/jsdom":"^21.1.7","@types/katex":"^0.16.7","@types/lodash-es":"^4.17.12","@types/micromatch":"^4.0.9","@types/stylis":"^4.2.7","@types/uuid":"^10.0.0",ajv:"^8.17.1",canvas:"^3.1.0",chokidar:"3.6.0",concurrently:"^9.1.2","csstree-validator":"^4.0.1",globby:"^14.0.2",jison:"^0.4.18","js-base64":"^3.7.7",jsdom:"^26.1.0","json-schema-to-typescript":"^15.0.4",micromatch:"^4.0.8","path-browserify":"^1.0.1",prettier:"^3.5.2",remark:"^15.0.1","remark-frontmatter":"^5.0.0","remark-gfm":"^4.0.1",rimraf:"^6.0.1","start-server-and-test":"^2.0.10","type-fest":"^4.35.0",typedoc:"^0.28.9","typedoc-plugin-markdown":"^4.8.0",typescript:"~5.7.3","unist-util-flatmap":"^1.0.0","unist-util-visit":"^5.0.0",vitepress:"^1.0.2","vitepress-plugin-search":"1.0.4-alpha.22"},files:["dist/","README.md"],publishConfig:{access:"public"}}});var PKe,BKe,H0e,W0e=N(()=>{"use strict";uB();PKe={version:g4.version+""},BKe=o(()=>PKe.version,"getVersion"),H0e={getVersion:BKe}});var aa,Jc=N(()=>{"use strict";pr();Xt();aa=o(t=>{let{securityLevel:e}=ge(),r=ze("body");if(e==="sandbox"){let a=ze(`#i${t}`).node()?.contentDocument??document;r=ze(a.body)}return r.select(`#${t}`)},"selectSvgElement")});var FKe,q0e,Y0e=N(()=>{"use strict";pt();Jc();Ci();FKe=o((t,e,r)=>{X.debug(`rendering info diagram +`+t);let n=aa(e);fn(n,100,400,!0),n.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${r}`)},"draw"),q0e={draw:FKe}});var X0e={};ur(X0e,{diagram:()=>$Ke});var $Ke,j0e=N(()=>{"use strict";U0e();W0e();Y0e();$Ke={parser:V0e,db:H0e,renderer:q0e}});var Z0e,hB,O6,fB,VKe,UKe,HKe,WKe,qKe,YKe,XKe,P6,dB=N(()=>{"use strict";pt();ui();_a();Z0e=lr.pie,hB={sections:new Map,showData:!1,config:Z0e},O6=hB.sections,fB=hB.showData,VKe=structuredClone(Z0e),UKe=o(()=>structuredClone(VKe),"getConfig"),HKe=o(()=>{O6=new Map,fB=hB.showData,wr()},"clear"),WKe=o(({label:t,value:e})=>{if(e<0)throw new Error(`"${t}" has invalid value: ${e}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);O6.has(t)||(O6.set(t,e),X.debug(`added new section: ${t}, with value: ${e}`))},"addSection"),qKe=o(()=>O6,"getSections"),YKe=o(t=>{fB=t},"setShowData"),XKe=o(()=>fB,"getShowData"),P6={getConfig:UKe,clear:HKe,setDiagramTitle:Or,getDiagramTitle:Rr,setAccTitle:Cr,getAccTitle:_r,setAccDescription:Dr,getAccDescription:Lr,addSection:WKe,getSections:qKe,setShowData:YKe,getShowData:XKe}});var jKe,J0e,eme=N(()=>{"use strict";Ff();pt();Zp();dB();jKe=o((t,e)=>{nl(t,e),e.setShowData(t.showData),t.sections.map(e.addSection)},"populateDb"),J0e={parse:o(async t=>{let e=await xs("pie",t);X.debug(e),jKe(e,P6)},"parse")}});var KKe,tme,rme=N(()=>{"use strict";KKe=o(t=>` .pieCircle{ stroke: ${t.pieStrokeColor}; stroke-width : ${t.pieStrokeWidth}; @@ -1187,25 +1433,25 @@ Expecting `+Ie.join(", ")+", got '"+(this.terminals_[J]||J)+"'":xe="Parse error font-family: ${t.fontFamily}; font-size: ${t.pieLegendTextSize}; } -`,"getStyles"),Tfe=BVe});var FVe,$Ve,kfe,Efe=N(()=>{"use strict";pr();qt();yt();zl();yi();nr();FVe=o(t=>{let e=[...t.values()].reduce((i,a)=>i+a,0),r=[...t.entries()].map(([i,a])=>({label:i,value:a})).filter(i=>i.value/e*100>=1).sort((i,a)=>a.value-i.value);return H5().value(i=>i.value)(r)},"createPieArcs"),$Ve=o((t,e,r,n)=>{X.debug(`rendering pie chart -`+t);let i=n.db,a=ge(),s=Fn(i.getConfig(),a.pie),l=40,u=18,h=4,f=450,d=f,p=Di(e),m=p.append("g");m.attr("transform","translate("+d/2+","+f/2+")");let{themeVariables:g}=a,[y]=Fo(g.pieOuterStrokeWidth);y??=2;let v=s.textPosition,x=Math.min(d,f)/2-l,b=kl().innerRadius(0).outerRadius(x),T=kl().innerRadius(x*v).outerRadius(x*v);m.append("circle").attr("cx",0).attr("cy",0).attr("r",x+y/2).attr("class","pieOuterCircle");let C=i.getSections(),w=FVe(C),E=[g.pie1,g.pie2,g.pie3,g.pie4,g.pie5,g.pie6,g.pie7,g.pie8,g.pie9,g.pie10,g.pie11,g.pie12],_=0;C.forEach(S=>{_+=S});let A=w.filter(S=>(S.data.value/_*100).toFixed(0)!=="0"),D=Qs(E);m.selectAll("mySlices").data(A).enter().append("path").attr("d",b).attr("fill",S=>D(S.data.label)).attr("class","pieCircle"),m.selectAll("mySlices").data(A).enter().append("text").text(S=>(S.data.value/_*100).toFixed(0)+"%").attr("transform",S=>"translate("+T.centroid(S)+")").style("text-anchor","middle").attr("class","slice"),m.append("text").text(i.getDiagramTitle()).attr("x",0).attr("y",-(f-50)/2).attr("class","pieTitleText");let O=[...C.entries()].map(([S,I])=>({label:S,value:I})),R=m.selectAll(".legend").data(O).enter().append("g").attr("class","legend").attr("transform",(S,I)=>{let M=u+h,P=M*O.length/2,B=12*u,F=I*M-P;return"translate("+B+","+F+")"});R.append("rect").attr("width",u).attr("height",u).style("fill",S=>D(S.label)).style("stroke",S=>D(S.label)),R.append("text").attr("x",u+h).attr("y",u-h).text(S=>i.getShowData()?`${S.label} [${S.value}]`:S.label);let k=Math.max(...R.selectAll("text").nodes().map(S=>S?.getBoundingClientRect().width??0)),L=d+l+u+h+k;p.attr("viewBox",`0 0 ${L} ${f}`),hn(p,f,L,s.useMaxWidth)},"draw"),kfe={draw:$Ve}});var Sfe={};hr(Sfe,{diagram:()=>zVe});var zVe,Cfe=N(()=>{"use strict";bfe();jO();wfe();Efe();zVe={parser:xfe,db:NS,renderer:kfe,styles:Tfe}});var KO,Dfe,Lfe=N(()=>{"use strict";KO=function(){var t=o(function(Te,W,pe,ve){for(pe=pe||{},ve=Te.length;ve--;pe[Te[ve]]=W);return pe},"o"),e=[1,3],r=[1,4],n=[1,5],i=[1,6],a=[1,7],s=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],l=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],u=[55,56,57],h=[2,36],f=[1,37],d=[1,36],p=[1,38],m=[1,35],g=[1,43],y=[1,41],v=[1,14],x=[1,23],b=[1,18],T=[1,19],C=[1,20],w=[1,21],E=[1,22],_=[1,24],A=[1,25],D=[1,26],O=[1,27],R=[1,28],k=[1,29],L=[1,32],S=[1,33],I=[1,34],M=[1,39],P=[1,40],B=[1,42],F=[1,44],z=[1,62],$=[1,61],U=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],K=[1,65],ee=[1,66],Y=[1,67],ce=[1,68],Z=[1,69],ue=[1,70],Q=[1,71],j=[1,72],ne=[1,73],te=[1,74],he=[1,75],le=[1,76],J=[4,5,6,7,8,9,10,11,12,13,14,15,18],Se=[1,90],se=[1,91],ae=[1,92],Oe=[1,99],ye=[1,93],Be=[1,96],He=[1,94],ze=[1,95],Le=[1,97],Ie=[1,98],xe=[1,102],q=[10,55,56,57],de=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],ie={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(W,pe,ve,Pe,_e,be,Ve){var De=be.length-1;switch(_e){case 23:this.$=be[De];break;case 24:this.$=be[De-1]+""+be[De];break;case 26:this.$=be[De-1]+be[De];break;case 27:this.$=[be[De].trim()];break;case 28:be[De-2].push(be[De].trim()),this.$=be[De-2];break;case 29:this.$=be[De-4],Pe.addClass(be[De-2],be[De]);break;case 37:this.$=[];break;case 42:this.$=be[De].trim(),Pe.setDiagramTitle(this.$);break;case 43:this.$=be[De].trim(),Pe.setAccTitle(this.$);break;case 44:case 45:this.$=be[De].trim(),Pe.setAccDescription(this.$);break;case 46:Pe.addSection(be[De].substr(8)),this.$=be[De].substr(8);break;case 47:Pe.addPoint(be[De-3],"",be[De-1],be[De],[]);break;case 48:Pe.addPoint(be[De-4],be[De-3],be[De-1],be[De],[]);break;case 49:Pe.addPoint(be[De-4],"",be[De-2],be[De-1],be[De]);break;case 50:Pe.addPoint(be[De-5],be[De-4],be[De-2],be[De-1],be[De]);break;case 51:Pe.setXAxisLeftText(be[De-2]),Pe.setXAxisRightText(be[De]);break;case 52:be[De-1].text+=" \u27F6 ",Pe.setXAxisLeftText(be[De-1]);break;case 53:Pe.setXAxisLeftText(be[De]);break;case 54:Pe.setYAxisBottomText(be[De-2]),Pe.setYAxisTopText(be[De]);break;case 55:be[De-1].text+=" \u27F6 ",Pe.setYAxisBottomText(be[De-1]);break;case 56:Pe.setYAxisBottomText(be[De]);break;case 57:Pe.setQuadrant1Text(be[De]);break;case 58:Pe.setQuadrant2Text(be[De]);break;case 59:Pe.setQuadrant3Text(be[De]);break;case 60:Pe.setQuadrant4Text(be[De]);break;case 64:this.$={text:be[De],type:"text"};break;case 65:this.$={text:be[De-1].text+""+be[De],type:be[De-1].type};break;case 66:this.$={text:be[De],type:"text"};break;case 67:this.$={text:be[De],type:"markdown"};break;case 68:this.$=be[De];break;case 69:this.$=be[De-1]+""+be[De];break}},"anonymous"),table:[{18:e,26:1,27:2,28:r,55:n,56:i,57:a},{1:[3]},{18:e,26:8,27:2,28:r,55:n,56:i,57:a},{18:e,26:9,27:2,28:r,55:n,56:i,57:a},t(s,[2,33],{29:10}),t(l,[2,61]),t(l,[2,62]),t(l,[2,63]),{1:[2,30]},{1:[2,31]},t(u,h,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:f,5:d,10:p,12:m,13:g,14:y,18:v,25:x,35:b,37:T,39:C,41:w,42:E,48:_,50:A,51:D,52:O,53:R,54:k,60:L,61:S,63:I,64:M,65:P,66:B,67:F}),t(s,[2,34]),{27:45,55:n,56:i,57:a},t(u,[2,37]),t(u,h,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:f,5:d,10:p,12:m,13:g,14:y,18:v,25:x,35:b,37:T,39:C,41:w,42:E,48:_,50:A,51:D,52:O,53:R,54:k,60:L,61:S,63:I,64:M,65:P,66:B,67:F}),t(u,[2,39]),t(u,[2,40]),t(u,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(u,[2,45]),t(u,[2,46]),{18:[1,50]},{4:f,5:d,10:p,12:m,13:g,14:y,43:51,58:31,60:L,61:S,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,10:p,12:m,13:g,14:y,43:52,58:31,60:L,61:S,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,10:p,12:m,13:g,14:y,43:53,58:31,60:L,61:S,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,10:p,12:m,13:g,14:y,43:54,58:31,60:L,61:S,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,10:p,12:m,13:g,14:y,43:55,58:31,60:L,61:S,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,10:p,12:m,13:g,14:y,43:56,58:31,60:L,61:S,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,8:z,10:p,12:m,13:g,14:y,18:$,44:[1,57],47:[1,58],58:60,59:59,63:I,64:M,65:P,66:B,67:F},t(U,[2,64]),t(U,[2,66]),t(U,[2,67]),t(U,[2,70]),t(U,[2,71]),t(U,[2,72]),t(U,[2,73]),t(U,[2,74]),t(U,[2,75]),t(U,[2,76]),t(U,[2,77]),t(U,[2,78]),t(U,[2,79]),t(U,[2,80]),t(s,[2,35]),t(u,[2,38]),t(u,[2,42]),t(u,[2,43]),t(u,[2,44]),{3:64,4:K,5:ee,6:Y,7:ce,8:Z,9:ue,10:Q,11:j,12:ne,13:te,14:he,15:le,21:63},t(u,[2,53],{59:59,58:60,4:f,5:d,8:z,10:p,12:m,13:g,14:y,18:$,49:[1,77],63:I,64:M,65:P,66:B,67:F}),t(u,[2,56],{59:59,58:60,4:f,5:d,8:z,10:p,12:m,13:g,14:y,18:$,49:[1,78],63:I,64:M,65:P,66:B,67:F}),t(u,[2,57],{59:59,58:60,4:f,5:d,8:z,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),t(u,[2,58],{59:59,58:60,4:f,5:d,8:z,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),t(u,[2,59],{59:59,58:60,4:f,5:d,8:z,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),t(u,[2,60],{59:59,58:60,4:f,5:d,8:z,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),{45:[1,79]},{44:[1,80]},t(U,[2,65]),t(U,[2,81]),t(U,[2,82]),t(U,[2,83]),{3:82,4:K,5:ee,6:Y,7:ce,8:Z,9:ue,10:Q,11:j,12:ne,13:te,14:he,15:le,18:[1,81]},t(J,[2,23]),t(J,[2,1]),t(J,[2,2]),t(J,[2,3]),t(J,[2,4]),t(J,[2,5]),t(J,[2,6]),t(J,[2,7]),t(J,[2,8]),t(J,[2,9]),t(J,[2,10]),t(J,[2,11]),t(J,[2,12]),t(u,[2,52],{58:31,43:83,4:f,5:d,10:p,12:m,13:g,14:y,60:L,61:S,63:I,64:M,65:P,66:B,67:F}),t(u,[2,55],{58:31,43:84,4:f,5:d,10:p,12:m,13:g,14:y,60:L,61:S,63:I,64:M,65:P,66:B,67:F}),{46:[1,85]},{45:[1,86]},{4:Se,5:se,6:ae,8:Oe,11:ye,13:Be,16:89,17:He,18:ze,19:Le,20:Ie,22:88,23:87},t(J,[2,24]),t(u,[2,51],{59:59,58:60,4:f,5:d,8:z,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),t(u,[2,54],{59:59,58:60,4:f,5:d,8:z,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),t(u,[2,47],{22:88,16:89,23:100,4:Se,5:se,6:ae,8:Oe,11:ye,13:Be,17:He,18:ze,19:Le,20:Ie}),{46:[1,101]},t(u,[2,29],{10:xe}),t(q,[2,27],{16:103,4:Se,5:se,6:ae,8:Oe,11:ye,13:Be,17:He,18:ze,19:Le,20:Ie}),t(de,[2,25]),t(de,[2,13]),t(de,[2,14]),t(de,[2,15]),t(de,[2,16]),t(de,[2,17]),t(de,[2,18]),t(de,[2,19]),t(de,[2,20]),t(de,[2,21]),t(de,[2,22]),t(u,[2,49],{10:xe}),t(u,[2,48],{22:88,16:89,23:104,4:Se,5:se,6:ae,8:Oe,11:ye,13:Be,17:He,18:ze,19:Le,20:Ie}),{4:Se,5:se,6:ae,8:Oe,11:ye,13:Be,16:89,17:He,18:ze,19:Le,20:Ie,22:105},t(de,[2,26]),t(u,[2,50],{10:xe}),t(q,[2,28],{16:103,4:Se,5:se,6:ae,8:Oe,11:ye,13:Be,17:He,18:ze,19:Le,20:Ie})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(W,pe){if(pe.recoverable)this.trace(W);else{var ve=new Error(W);throw ve.hash=pe,ve}},"parseError"),parse:o(function(W){var pe=this,ve=[0],Pe=[],_e=[null],be=[],Ve=this.table,De="",Ye=0,at=0,Rt=0,st=2,Ue=1,ut=be.slice.call(arguments,1),We=Object.create(this.lexer),lt={yy:{}};for(var Xt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Xt)&&(lt.yy[Xt]=this.yy[Xt]);We.setInput(W,lt.yy),lt.yy.lexer=We,lt.yy.parser=this,typeof We.yylloc>"u"&&(We.yylloc={});var Tt=We.yylloc;be.push(Tt);var Mt=We.options&&We.options.ranges;typeof lt.yy.parseError=="function"?this.parseError=lt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function bt(Ce){ve.length=ve.length-2*Ce,_e.length=_e.length-Ce,be.length=be.length-Ce}o(bt,"popStack");function ht(){var Ce;return Ce=Pe.pop()||We.lex()||Ue,typeof Ce!="number"&&(Ce instanceof Array&&(Pe=Ce,Ce=Pe.pop()),Ce=pe.symbols_[Ce]||Ce),Ce}o(ht,"lex");for(var St,ft,vt,nt,dn,kt,In={},en,Nr,Mr,On;;){if(vt=ve[ve.length-1],this.defaultActions[vt]?nt=this.defaultActions[vt]:((St===null||typeof St>"u")&&(St=ht()),nt=Ve[vt]&&Ve[vt][St]),typeof nt>"u"||!nt.length||!nt[0]){var Dt="";On=[];for(en in Ve[vt])this.terminals_[en]&&en>st&&On.push("'"+this.terminals_[en]+"'");We.showPosition?Dt="Parse error on line "+(Ye+1)+`: -`+We.showPosition()+` -Expecting `+On.join(", ")+", got '"+(this.terminals_[St]||St)+"'":Dt="Parse error on line "+(Ye+1)+": Unexpected "+(St==Ue?"end of input":"'"+(this.terminals_[St]||St)+"'"),this.parseError(Dt,{text:We.match,token:this.terminals_[St]||St,line:We.yylineno,loc:Tt,expected:On})}if(nt[0]instanceof Array&&nt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+vt+", token: "+St);switch(nt[0]){case 1:ve.push(St),_e.push(We.yytext),be.push(We.yylloc),ve.push(nt[1]),St=null,ft?(St=ft,ft=null):(at=We.yyleng,De=We.yytext,Ye=We.yylineno,Tt=We.yylloc,Rt>0&&Rt--);break;case 2:if(Nr=this.productions_[nt[1]][1],In.$=_e[_e.length-Nr],In._$={first_line:be[be.length-(Nr||1)].first_line,last_line:be[be.length-1].last_line,first_column:be[be.length-(Nr||1)].first_column,last_column:be[be.length-1].last_column},Mt&&(In._$.range=[be[be.length-(Nr||1)].range[0],be[be.length-1].range[1]]),kt=this.performAction.apply(In,[De,at,Ye,lt.yy,nt[1],_e,be].concat(ut)),typeof kt<"u")return kt;Nr&&(ve=ve.slice(0,-1*Nr*2),_e=_e.slice(0,-1*Nr),be=be.slice(0,-1*Nr)),ve.push(this.productions_[nt[1]][0]),_e.push(In.$),be.push(In._$),Mr=Ve[ve[ve.length-2]][ve[ve.length-1]],ve.push(Mr);break;case 3:return!0}}return!0},"parse")},oe=function(){var Te={EOF:1,parseError:o(function(pe,ve){if(this.yy.parser)this.yy.parser.parseError(pe,ve);else throw new Error(pe)},"parseError"),setInput:o(function(W,pe){return this.yy=pe||this.yy||{},this._input=W,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var W=this._input[0];this.yytext+=W,this.yyleng++,this.offset++,this.match+=W,this.matched+=W;var pe=W.match(/(?:\r\n?|\n).*/g);return pe?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),W},"input"),unput:o(function(W){var pe=W.length,ve=W.split(/(?:\r\n?|\n)/g);this._input=W+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-pe),this.offset-=pe;var Pe=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),ve.length-1&&(this.yylineno-=ve.length-1);var _e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:ve?(ve.length===Pe.length?this.yylloc.first_column:0)+Pe[Pe.length-ve.length].length-ve[0].length:this.yylloc.first_column-pe},this.options.ranges&&(this.yylloc.range=[_e[0],_e[0]+this.yyleng-pe]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(W){this.unput(this.match.slice(W))},"less"),pastInput:o(function(){var W=this.matched.substr(0,this.matched.length-this.match.length);return(W.length>20?"...":"")+W.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var W=this.match;return W.length<20&&(W+=this._input.substr(0,20-W.length)),(W.substr(0,20)+(W.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var W=this.pastInput(),pe=new Array(W.length+1).join("-");return W+this.upcomingInput()+` -`+pe+"^"},"showPosition"),test_match:o(function(W,pe){var ve,Pe,_e;if(this.options.backtrack_lexer&&(_e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_e.yylloc.range=this.yylloc.range.slice(0))),Pe=W[0].match(/(?:\r\n?|\n).*/g),Pe&&(this.yylineno+=Pe.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Pe?Pe[Pe.length-1].length-Pe[Pe.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+W[0].length},this.yytext+=W[0],this.match+=W[0],this.matches=W,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(W[0].length),this.matched+=W[0],ve=this.performAction.call(this,this.yy,this,pe,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ve)return ve;if(this._backtrack){for(var be in _e)this[be]=_e[be];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var W,pe,ve,Pe;this._more||(this.yytext="",this.match="");for(var _e=this._currentRules(),be=0;be<_e.length;be++)if(ve=this._input.match(this.rules[_e[be]]),ve&&(!pe||ve[0].length>pe[0].length)){if(pe=ve,Pe=be,this.options.backtrack_lexer){if(W=this.test_match(ve,_e[be]),W!==!1)return W;if(this._backtrack){pe=!1;continue}else return!1}else if(!this.options.flex)break}return pe?(W=this.test_match(pe,_e[Pe]),W!==!1?W:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var pe=this.next();return pe||this.lex()},"lex"),begin:o(function(pe){this.conditionStack.push(pe)},"begin"),popState:o(function(){var pe=this.conditionStack.length-1;return pe>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(pe){return pe=this.conditionStack.length-1-Math.abs(pe||0),pe>=0?this.conditionStack[pe]:"INITIAL"},"topState"),pushState:o(function(pe){this.begin(pe)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(pe,ve,Pe,_e){var be=_e;switch(Pe){case 0:break;case 1:break;case 2:return 55;case 3:break;case 4:return this.begin("title"),35;break;case 5:return this.popState(),"title_value";break;case 6:return this.begin("acc_title"),37;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),39;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 23:this.popState();break;case 24:this.begin("string");break;case 25:this.popState();break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;break;case 29:return this.begin("point_start"),44;break;case 30:return this.begin("point_x"),45;break;case 31:this.popState();break;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;break;case 34:return 28;case 35:return 4;case 36:return 11;case 37:return 64;case 38:return 10;case 39:return 65;case 40:return 65;case 41:return 14;case 42:return 13;case 43:return 67;case 44:return 66;case 45:return 12;case 46:return 8;case 47:return 5;case 48:return 18;case 49:return 56;case 50:return 63;case 51:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}};return Te}();ie.lexer=oe;function V(){this.yy={}}return o(V,"Parser"),V.prototype=ie,ie.Parser=V,new V}();KO.parser=KO;Dfe=KO});var ms,MS,Rfe=N(()=>{"use strict";pr();Ca();yt();Ny();ms=ch(),MS=class{constructor(){this.classes=new Map;this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{o(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:lr.quadrantChart?.chartWidth||500,chartWidth:lr.quadrantChart?.chartHeight||500,titlePadding:lr.quadrantChart?.titlePadding||10,titleFontSize:lr.quadrantChart?.titleFontSize||20,quadrantPadding:lr.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:lr.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:lr.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:lr.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:lr.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:lr.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:lr.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:lr.quadrantChart?.pointTextPadding||5,pointLabelFontSize:lr.quadrantChart?.pointLabelFontSize||12,pointRadius:lr.quadrantChart?.pointRadius||5,xAxisPosition:lr.quadrantChart?.xAxisPosition||"top",yAxisPosition:lr.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:lr.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:lr.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:ms.quadrant1Fill,quadrant2Fill:ms.quadrant2Fill,quadrant3Fill:ms.quadrant3Fill,quadrant4Fill:ms.quadrant4Fill,quadrant1TextFill:ms.quadrant1TextFill,quadrant2TextFill:ms.quadrant2TextFill,quadrant3TextFill:ms.quadrant3TextFill,quadrant4TextFill:ms.quadrant4TextFill,quadrantPointFill:ms.quadrantPointFill,quadrantPointTextFill:ms.quadrantPointTextFill,quadrantXAxisTextFill:ms.quadrantXAxisTextFill,quadrantYAxisTextFill:ms.quadrantYAxisTextFill,quadrantTitleFill:ms.quadrantTitleFill,quadrantInternalBorderStrokeFill:ms.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:ms.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,X.info("clear called")}setData(e){this.data={...this.data,...e}}addPoints(e){this.data.points=[...e,...this.data.points]}addClass(e,r){this.classes.set(e,r)}setConfig(e){X.trace("setConfig called with: ",e),this.config={...this.config,...e}}setThemeConfig(e){X.trace("setThemeConfig called with: ",e),this.themeConfig={...this.themeConfig,...e}}calculateSpace(e,r,n,i){let a=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,s={top:e==="top"&&r?a:0,bottom:e==="bottom"&&r?a:0},l=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,u={left:this.config.yAxisPosition==="left"&&n?l:0,right:this.config.yAxisPosition==="right"&&n?l:0},h=this.config.titleFontSize+this.config.titlePadding*2,f={top:i?h:0},d=this.config.quadrantPadding+u.left,p=this.config.quadrantPadding+s.top+f.top,m=this.config.chartWidth-this.config.quadrantPadding*2-u.left-u.right,g=this.config.chartHeight-this.config.quadrantPadding*2-s.top-s.bottom-f.top,y=m/2,v=g/2;return{xAxisSpace:s,yAxisSpace:u,titleSpace:f,quadrantSpace:{quadrantLeft:d,quadrantTop:p,quadrantWidth:m,quadrantHalfWidth:y,quadrantHeight:g,quadrantHalfHeight:v}}}getAxisLabels(e,r,n,i){let{quadrantSpace:a,titleSpace:s}=i,{quadrantHalfHeight:l,quadrantHeight:u,quadrantLeft:h,quadrantHalfWidth:f,quadrantTop:d,quadrantWidth:p}=a,m=!!this.data.xAxisRightText,g=!!this.data.yAxisTopText,y=[];return this.data.xAxisLeftText&&r&&y.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:h+(m?f/2:0),y:e==="top"?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+d+u+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&r&&y.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:h+f+(m?f/2:0),y:e==="top"?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+d+u+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&n&&y.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+h+p+this.config.quadrantPadding,y:d+u-(g?l/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:g?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&n&&y.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+h+p+this.config.quadrantPadding,y:d+l-(g?l/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:g?"center":"left",horizontalPos:"top",rotation:-90}),y}getQuadrants(e){let{quadrantSpace:r}=e,{quadrantHalfHeight:n,quadrantLeft:i,quadrantHalfWidth:a,quadrantTop:s}=r,l=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i+a,y:s,width:a,height:n,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i,y:s,width:a,height:n,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i,y:s+n,width:a,height:n,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i+a,y:s+n,width:a,height:n,fill:this.themeConfig.quadrant4Fill}];for(let u of l)u.text.x=u.x+u.width/2,this.data.points.length===0?(u.text.y=u.y+u.height/2,u.text.horizontalPos="middle"):(u.text.y=u.y+this.config.quadrantTextTopPadding,u.text.horizontalPos="top");return l}getQuadrantPoints(e){let{quadrantSpace:r}=e,{quadrantHeight:n,quadrantLeft:i,quadrantTop:a,quadrantWidth:s}=r,l=xl().domain([0,1]).range([i,s+i]),u=xl().domain([0,1]).range([n+a,a]);return this.data.points.map(f=>{let d=this.classes.get(f.className);return d&&(f={...d,...f}),{x:l(f.x),y:u(f.y),fill:f.color??this.themeConfig.quadrantPointFill,radius:f.radius??this.config.pointRadius,text:{text:f.text,fill:this.themeConfig.quadrantPointTextFill,x:l(f.x),y:u(f.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:f.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:f.strokeWidth??"0px"}})}getBorders(e){let r=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:n}=e,{quadrantHalfHeight:i,quadrantHeight:a,quadrantLeft:s,quadrantHalfWidth:l,quadrantTop:u,quadrantWidth:h}=n;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-r,y1:u,x2:s+h+r,y2:u},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s+h,y1:u+r,x2:s+h,y2:u+a-r},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-r,y1:u+a,x2:s+h+r,y2:u+a},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s,y1:u+r,x2:s,y2:u+a-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+l,y1:u+r,x2:s+l,y2:u+a-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+r,y1:u+i,x2:s+h-r,y2:u+i}]}getTitle(e){if(e)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){let e=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),r=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),n=this.config.showTitle&&!!this.data.titleText,i=this.data.points.length>0?"bottom":this.config.xAxisPosition,a=this.calculateSpace(i,e,r,n);return{points:this.getQuadrantPoints(a),quadrants:this.getQuadrants(a),axisLabels:this.getAxisLabels(i,e,r,a),borderLines:this.getBorders(a),title:this.getTitle(n)}}}});function QO(t){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(t)}function Nfe(t){return!/^\d+$/.test(t)}function Mfe(t){return!/^\d+px$/.test(t)}var Mp,Ife=N(()=>{"use strict";Mp=class extends Error{static{o(this,"InvalidStyleError")}constructor(e,r,n){super(`value for ${e} ${r} is invalid, please use a valid ${n}`),this.name="InvalidStyleError"}};o(QO,"validateHexCode");o(Nfe,"validateNumber");o(Mfe,"validateSizeInPixels")});function Ku(t){return ar(t.trim(),UVe)}function HVe(t){ba.setData({quadrant1Text:Ku(t.text)})}function WVe(t){ba.setData({quadrant2Text:Ku(t.text)})}function qVe(t){ba.setData({quadrant3Text:Ku(t.text)})}function YVe(t){ba.setData({quadrant4Text:Ku(t.text)})}function XVe(t){ba.setData({xAxisLeftText:Ku(t.text)})}function jVe(t){ba.setData({xAxisRightText:Ku(t.text)})}function KVe(t){ba.setData({yAxisTopText:Ku(t.text)})}function QVe(t){ba.setData({yAxisBottomText:Ku(t.text)})}function ZO(t){let e={};for(let r of t){let[n,i]=r.trim().split(/\s*:\s*/);if(n==="radius"){if(Nfe(i))throw new Mp(n,i,"number");e.radius=parseInt(i)}else if(n==="color"){if(QO(i))throw new Mp(n,i,"hex code");e.color=i}else if(n==="stroke-color"){if(QO(i))throw new Mp(n,i,"hex code");e.strokeColor=i}else if(n==="stroke-width"){if(Mfe(i))throw new Mp(n,i,"number of pixels (eg. 10px)");e.strokeWidth=i}else throw new Error(`style named ${n} is not supported.`)}return e}function ZVe(t,e,r,n,i){let a=ZO(i);ba.addPoints([{x:r,y:n,text:Ku(t.text),className:e,...a}])}function JVe(t,e){ba.addClass(t,ZO(e))}function eUe(t){ba.setConfig({chartWidth:t})}function tUe(t){ba.setConfig({chartHeight:t})}function rUe(){let t=ge(),{themeVariables:e,quadrantChart:r}=t;return r&&ba.setConfig(r),ba.setThemeConfig({quadrant1Fill:e.quadrant1Fill,quadrant2Fill:e.quadrant2Fill,quadrant3Fill:e.quadrant3Fill,quadrant4Fill:e.quadrant4Fill,quadrant1TextFill:e.quadrant1TextFill,quadrant2TextFill:e.quadrant2TextFill,quadrant3TextFill:e.quadrant3TextFill,quadrant4TextFill:e.quadrant4TextFill,quadrantPointFill:e.quadrantPointFill,quadrantPointTextFill:e.quadrantPointTextFill,quadrantXAxisTextFill:e.quadrantXAxisTextFill,quadrantYAxisTextFill:e.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:e.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:e.quadrantInternalBorderStrokeFill,quadrantTitleFill:e.quadrantTitleFill}),ba.setData({titleText:Rr()}),ba.build()}var UVe,ba,nUe,Ofe,Pfe=N(()=>{"use strict";qt();dr();ci();Rfe();Ife();UVe=ge();o(Ku,"textSanitizer");ba=new MS;o(HVe,"setQuadrant1Text");o(WVe,"setQuadrant2Text");o(qVe,"setQuadrant3Text");o(YVe,"setQuadrant4Text");o(XVe,"setXAxisLeftText");o(jVe,"setXAxisRightText");o(KVe,"setYAxisTopText");o(QVe,"setYAxisBottomText");o(ZO,"parseStyles");o(ZVe,"addPoint");o(JVe,"addClass");o(eUe,"setWidth");o(tUe,"setHeight");o(rUe,"getQuadrantData");nUe=o(function(){ba.clear(),wr()},"clear"),Ofe={setWidth:eUe,setHeight:tUe,setQuadrant1Text:HVe,setQuadrant2Text:WVe,setQuadrant3Text:qVe,setQuadrant4Text:YVe,setXAxisLeftText:XVe,setXAxisRightText:jVe,setYAxisTopText:KVe,setYAxisBottomText:QVe,parseStyles:ZO,addPoint:ZVe,addClass:JVe,getQuadrantData:rUe,clear:nUe,setAccTitle:Cr,getAccTitle:_r,setDiagramTitle:Ir,getDiagramTitle:Rr,getAccDescription:Lr,setAccDescription:Dr}});var iUe,Bfe,Ffe=N(()=>{"use strict";pr();qt();yt();yi();iUe=o((t,e,r,n)=>{function i(A){return A==="top"?"hanging":"middle"}o(i,"getDominantBaseLine");function a(A){return A==="left"?"start":"middle"}o(a,"getTextAnchor");function s(A){return`translate(${A.x}, ${A.y}) rotate(${A.rotation||0})`}o(s,"getTransformation");let l=ge();X.debug(`Rendering quadrant chart -`+t);let u=l.securityLevel,h;u==="sandbox"&&(h=Ge("#i"+e));let d=(u==="sandbox"?Ge(h.nodes()[0].contentDocument.body):Ge("body")).select(`[id="${e}"]`),p=d.append("g").attr("class","main"),m=l.quadrantChart?.chartWidth??500,g=l.quadrantChart?.chartHeight??500;hn(d,g,m,l.quadrantChart?.useMaxWidth??!0),d.attr("viewBox","0 0 "+m+" "+g),n.db.setHeight(g),n.db.setWidth(m);let y=n.db.getQuadrantData(),v=p.append("g").attr("class","quadrants"),x=p.append("g").attr("class","border"),b=p.append("g").attr("class","data-points"),T=p.append("g").attr("class","labels"),C=p.append("g").attr("class","title");y.title&&C.append("text").attr("x",0).attr("y",0).attr("fill",y.title.fill).attr("font-size",y.title.fontSize).attr("dominant-baseline",i(y.title.horizontalPos)).attr("text-anchor",a(y.title.verticalPos)).attr("transform",s(y.title)).text(y.title.text),y.borderLines&&x.selectAll("line").data(y.borderLines).enter().append("line").attr("x1",A=>A.x1).attr("y1",A=>A.y1).attr("x2",A=>A.x2).attr("y2",A=>A.y2).style("stroke",A=>A.strokeFill).style("stroke-width",A=>A.strokeWidth);let w=v.selectAll("g.quadrant").data(y.quadrants).enter().append("g").attr("class","quadrant");w.append("rect").attr("x",A=>A.x).attr("y",A=>A.y).attr("width",A=>A.width).attr("height",A=>A.height).attr("fill",A=>A.fill),w.append("text").attr("x",0).attr("y",0).attr("fill",A=>A.text.fill).attr("font-size",A=>A.text.fontSize).attr("dominant-baseline",A=>i(A.text.horizontalPos)).attr("text-anchor",A=>a(A.text.verticalPos)).attr("transform",A=>s(A.text)).text(A=>A.text.text),T.selectAll("g.label").data(y.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(A=>A.text).attr("fill",A=>A.fill).attr("font-size",A=>A.fontSize).attr("dominant-baseline",A=>i(A.horizontalPos)).attr("text-anchor",A=>a(A.verticalPos)).attr("transform",A=>s(A));let _=b.selectAll("g.data-point").data(y.points).enter().append("g").attr("class","data-point");_.append("circle").attr("cx",A=>A.x).attr("cy",A=>A.y).attr("r",A=>A.radius).attr("fill",A=>A.fill).attr("stroke",A=>A.strokeColor).attr("stroke-width",A=>A.strokeWidth),_.append("text").attr("x",0).attr("y",0).text(A=>A.text.text).attr("fill",A=>A.text.fill).attr("font-size",A=>A.text.fontSize).attr("dominant-baseline",A=>i(A.text.horizontalPos)).attr("text-anchor",A=>a(A.text.verticalPos)).attr("transform",A=>s(A.text))},"draw"),Bfe={draw:iUe}});var $fe={};hr($fe,{diagram:()=>aUe});var aUe,zfe=N(()=>{"use strict";Lfe();Pfe();Ffe();aUe={parser:Dfe,db:Ofe,renderer:Bfe,styles:o(()=>"","styles")}});var JO,Ufe,Hfe=N(()=>{"use strict";JO=function(){var t=o(function(I,M,P,B){for(P=P||{},B=I.length;B--;P[I[B]]=M);return P},"o"),e=[1,10,12,14,16,18,19,21,23],r=[2,6],n=[1,3],i=[1,5],a=[1,6],s=[1,7],l=[1,5,10,12,14,16,18,19,21,23,34,35,36],u=[1,25],h=[1,26],f=[1,28],d=[1,29],p=[1,30],m=[1,31],g=[1,32],y=[1,33],v=[1,34],x=[1,35],b=[1,36],T=[1,37],C=[1,43],w=[1,42],E=[1,47],_=[1,50],A=[1,10,12,14,16,18,19,21,23,34,35,36],D=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],O=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],R=[1,64],k={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:o(function(M,P,B,F,z,$,U){var K=$.length-1;switch(z){case 5:F.setOrientation($[K]);break;case 9:F.setDiagramTitle($[K].text.trim());break;case 12:F.setLineData({text:"",type:"text"},$[K]);break;case 13:F.setLineData($[K-1],$[K]);break;case 14:F.setBarData({text:"",type:"text"},$[K]);break;case 15:F.setBarData($[K-1],$[K]);break;case 16:this.$=$[K].trim(),F.setAccTitle(this.$);break;case 17:case 18:this.$=$[K].trim(),F.setAccDescription(this.$);break;case 19:this.$=$[K-1];break;case 20:this.$=[Number($[K-2]),...$[K]];break;case 21:this.$=[Number($[K])];break;case 22:F.setXAxisTitle($[K]);break;case 23:F.setXAxisTitle($[K-1]);break;case 24:F.setXAxisTitle({type:"text",text:""});break;case 25:F.setXAxisBand($[K]);break;case 26:F.setXAxisRangeData(Number($[K-2]),Number($[K]));break;case 27:this.$=$[K-1];break;case 28:this.$=[$[K-2],...$[K]];break;case 29:this.$=[$[K]];break;case 30:F.setYAxisTitle($[K]);break;case 31:F.setYAxisTitle($[K-1]);break;case 32:F.setYAxisTitle({type:"text",text:""});break;case 33:F.setYAxisRangeData(Number($[K-2]),Number($[K]));break;case 37:this.$={text:$[K],type:"text"};break;case 38:this.$={text:$[K],type:"text"};break;case 39:this.$={text:$[K],type:"markdown"};break;case 40:this.$=$[K];break;case 41:this.$=$[K-1]+""+$[K];break}},"anonymous"),table:[t(e,r,{3:1,4:2,7:4,5:n,34:i,35:a,36:s}),{1:[3]},t(e,r,{4:2,7:4,3:8,5:n,34:i,35:a,36:s}),t(e,r,{4:2,7:4,6:9,3:10,5:n,8:[1,11],34:i,35:a,36:s}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(l,[2,34]),t(l,[2,35]),t(l,[2,36]),{1:[2,1]},t(e,r,{4:2,7:4,3:21,5:n,34:i,35:a,36:s}),{1:[2,3]},t(l,[2,5]),t(e,[2,7],{4:22,34:i,35:a,36:s}),{11:23,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:v,48:x,49:b,50:T},{11:39,13:38,24:C,27:w,29:40,30:41,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:v,48:x,49:b,50:T},{11:45,15:44,27:E,33:46,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:v,48:x,49:b,50:T},{11:49,17:48,24:_,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:v,48:x,49:b,50:T},{11:52,17:51,24:_,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:v,48:x,49:b,50:T},{20:[1,53]},{22:[1,54]},t(A,[2,18]),{1:[2,2]},t(A,[2,8]),t(A,[2,9]),t(D,[2,37],{40:55,41:f,42:d,43:p,44:m,45:g,46:y,47:v,48:x,49:b,50:T}),t(D,[2,38]),t(D,[2,39]),t(O,[2,40]),t(O,[2,42]),t(O,[2,43]),t(O,[2,44]),t(O,[2,45]),t(O,[2,46]),t(O,[2,47]),t(O,[2,48]),t(O,[2,49]),t(O,[2,50]),t(O,[2,51]),t(A,[2,10]),t(A,[2,22],{30:41,29:56,24:C,27:w}),t(A,[2,24]),t(A,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:v,48:x,49:b,50:T},t(A,[2,11]),t(A,[2,30],{33:60,27:E}),t(A,[2,32]),{31:[1,61]},t(A,[2,12]),{17:62,24:_},{25:63,27:R},t(A,[2,14]),{17:65,24:_},t(A,[2,16]),t(A,[2,17]),t(O,[2,41]),t(A,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(A,[2,31]),{27:[1,69]},t(A,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(A,[2,15]),t(A,[2,26]),t(A,[2,27]),{11:59,32:72,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:v,48:x,49:b,50:T},t(A,[2,33]),t(A,[2,19]),{25:73,27:R},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:o(function(M,P){if(P.recoverable)this.trace(M);else{var B=new Error(M);throw B.hash=P,B}},"parseError"),parse:o(function(M){var P=this,B=[0],F=[],z=[null],$=[],U=this.table,K="",ee=0,Y=0,ce=0,Z=2,ue=1,Q=$.slice.call(arguments,1),j=Object.create(this.lexer),ne={yy:{}};for(var te in this.yy)Object.prototype.hasOwnProperty.call(this.yy,te)&&(ne.yy[te]=this.yy[te]);j.setInput(M,ne.yy),ne.yy.lexer=j,ne.yy.parser=this,typeof j.yylloc>"u"&&(j.yylloc={});var he=j.yylloc;$.push(he);var le=j.options&&j.options.ranges;typeof ne.yy.parseError=="function"?this.parseError=ne.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function J(ie){B.length=B.length-2*ie,z.length=z.length-ie,$.length=$.length-ie}o(J,"popStack");function Se(){var ie;return ie=F.pop()||j.lex()||ue,typeof ie!="number"&&(ie instanceof Array&&(F=ie,ie=F.pop()),ie=P.symbols_[ie]||ie),ie}o(Se,"lex");for(var se,ae,Oe,ye,Be,He,ze={},Le,Ie,xe,q;;){if(Oe=B[B.length-1],this.defaultActions[Oe]?ye=this.defaultActions[Oe]:((se===null||typeof se>"u")&&(se=Se()),ye=U[Oe]&&U[Oe][se]),typeof ye>"u"||!ye.length||!ye[0]){var de="";q=[];for(Le in U[Oe])this.terminals_[Le]&&Le>Z&&q.push("'"+this.terminals_[Le]+"'");j.showPosition?de="Parse error on line "+(ee+1)+`: -`+j.showPosition()+` -Expecting `+q.join(", ")+", got '"+(this.terminals_[se]||se)+"'":de="Parse error on line "+(ee+1)+": Unexpected "+(se==ue?"end of input":"'"+(this.terminals_[se]||se)+"'"),this.parseError(de,{text:j.match,token:this.terminals_[se]||se,line:j.yylineno,loc:he,expected:q})}if(ye[0]instanceof Array&&ye.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Oe+", token: "+se);switch(ye[0]){case 1:B.push(se),z.push(j.yytext),$.push(j.yylloc),B.push(ye[1]),se=null,ae?(se=ae,ae=null):(Y=j.yyleng,K=j.yytext,ee=j.yylineno,he=j.yylloc,ce>0&&ce--);break;case 2:if(Ie=this.productions_[ye[1]][1],ze.$=z[z.length-Ie],ze._$={first_line:$[$.length-(Ie||1)].first_line,last_line:$[$.length-1].last_line,first_column:$[$.length-(Ie||1)].first_column,last_column:$[$.length-1].last_column},le&&(ze._$.range=[$[$.length-(Ie||1)].range[0],$[$.length-1].range[1]]),He=this.performAction.apply(ze,[K,Y,ee,ne.yy,ye[1],z,$].concat(Q)),typeof He<"u")return He;Ie&&(B=B.slice(0,-1*Ie*2),z=z.slice(0,-1*Ie),$=$.slice(0,-1*Ie)),B.push(this.productions_[ye[1]][0]),z.push(ze.$),$.push(ze._$),xe=U[B[B.length-2]][B[B.length-1]],B.push(xe);break;case 3:return!0}}return!0},"parse")},L=function(){var I={EOF:1,parseError:o(function(P,B){if(this.yy.parser)this.yy.parser.parseError(P,B);else throw new Error(P)},"parseError"),setInput:o(function(M,P){return this.yy=P||this.yy||{},this._input=M,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var M=this._input[0];this.yytext+=M,this.yyleng++,this.offset++,this.match+=M,this.matched+=M;var P=M.match(/(?:\r\n?|\n).*/g);return P?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),M},"input"),unput:o(function(M){var P=M.length,B=M.split(/(?:\r\n?|\n)/g);this._input=M+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-P),this.offset-=P;var F=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),B.length-1&&(this.yylineno-=B.length-1);var z=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:B?(B.length===F.length?this.yylloc.first_column:0)+F[F.length-B.length].length-B[0].length:this.yylloc.first_column-P},this.options.ranges&&(this.yylloc.range=[z[0],z[0]+this.yyleng-P]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`,"getStyles"),tme=KKe});var QKe,ZKe,nme,ime=N(()=>{"use strict";pr();Xt();pt();Jc();Ci();tr();QKe=o(t=>{let e=[...t.values()].reduce((i,a)=>i+a,0),r=[...t.entries()].map(([i,a])=>({label:i,value:a})).filter(i=>i.value/e*100>=1).sort((i,a)=>a.value-i.value);return Y5().value(i=>i.value)(r)},"createPieArcs"),ZKe=o((t,e,r,n)=>{X.debug(`rendering pie chart +`+t);let i=n.db,a=ge(),s=Vn(i.getConfig(),a.pie),l=40,u=18,h=4,f=450,d=f,p=aa(e),m=p.append("g");m.attr("transform","translate("+d/2+","+f/2+")");let{themeVariables:g}=a,[y]=yc(g.pieOuterStrokeWidth);y??=2;let x=s.textPosition,v=Math.min(d,f)/2-l,b=Sl().innerRadius(0).outerRadius(v),T=Sl().innerRadius(v*x).outerRadius(v*x);m.append("circle").attr("cx",0).attr("cy",0).attr("r",v+y/2).attr("class","pieOuterCircle");let S=i.getSections(),w=QKe(S),E=[g.pie1,g.pie2,g.pie3,g.pie4,g.pie5,g.pie6,g.pie7,g.pie8,g.pie9,g.pie10,g.pie11,g.pie12],_=0;S.forEach(C=>{_+=C});let A=w.filter(C=>(C.data.value/_*100).toFixed(0)!=="0"),D=eo(E);m.selectAll("mySlices").data(A).enter().append("path").attr("d",b).attr("fill",C=>D(C.data.label)).attr("class","pieCircle"),m.selectAll("mySlices").data(A).enter().append("text").text(C=>(C.data.value/_*100).toFixed(0)+"%").attr("transform",C=>"translate("+T.centroid(C)+")").style("text-anchor","middle").attr("class","slice"),m.append("text").text(i.getDiagramTitle()).attr("x",0).attr("y",-(f-50)/2).attr("class","pieTitleText");let O=[...S.entries()].map(([C,I])=>({label:C,value:I})),R=m.selectAll(".legend").data(O).enter().append("g").attr("class","legend").attr("transform",(C,I)=>{let M=u+h,P=M*O.length/2,B=12*u,F=I*M-P;return"translate("+B+","+F+")"});R.append("rect").attr("width",u).attr("height",u).style("fill",C=>D(C.label)).style("stroke",C=>D(C.label)),R.append("text").attr("x",u+h).attr("y",u-h).text(C=>i.getShowData()?`${C.label} [${C.value}]`:C.label);let k=Math.max(...R.selectAll("text").nodes().map(C=>C?.getBoundingClientRect().width??0)),L=d+l+u+h+k;p.attr("viewBox",`0 0 ${L} ${f}`),fn(p,f,L,s.useMaxWidth)},"draw"),nme={draw:ZKe}});var ame={};ur(ame,{diagram:()=>JKe});var JKe,sme=N(()=>{"use strict";eme();dB();rme();ime();JKe={parser:J0e,db:P6,renderer:nme,styles:tme}});var pB,cme,ume=N(()=>{"use strict";pB=function(){var t=o(function(xe,Y,de,me){for(de=de||{},me=xe.length;me--;de[xe[me]]=Y);return de},"o"),e=[1,3],r=[1,4],n=[1,5],i=[1,6],a=[1,7],s=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],l=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],u=[55,56,57],h=[2,36],f=[1,37],d=[1,36],p=[1,38],m=[1,35],g=[1,43],y=[1,41],x=[1,14],v=[1,23],b=[1,18],T=[1,19],S=[1,20],w=[1,21],E=[1,22],_=[1,24],A=[1,25],D=[1,26],O=[1,27],R=[1,28],k=[1,29],L=[1,32],C=[1,33],I=[1,34],M=[1,39],P=[1,40],B=[1,42],F=[1,44],G=[1,62],$=[1,61],U=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],K=[1,65],ne=[1,66],j=[1,67],le=[1,68],Z=[1,69],ce=[1,70],Q=[1,71],ee=[1,72],te=[1,73],re=[1,74],he=[1,75],J=[1,76],ye=[4,5,6,7,8,9,10,11,12,13,14,15,18],se=[1,90],Se=[1,91],W=[1,92],Oe=[1,99],ve=[1,93],Pe=[1,96],qe=[1,94],Ge=[1,95],Ne=[1,97],Me=[1,98],be=[1,102],q=[10,55,56,57],fe=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],ae={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(Y,de,me,Be,_e,Te,Ue){var De=Te.length-1;switch(_e){case 23:this.$=Te[De];break;case 24:this.$=Te[De-1]+""+Te[De];break;case 26:this.$=Te[De-1]+Te[De];break;case 27:this.$=[Te[De].trim()];break;case 28:Te[De-2].push(Te[De].trim()),this.$=Te[De-2];break;case 29:this.$=Te[De-4],Be.addClass(Te[De-2],Te[De]);break;case 37:this.$=[];break;case 42:this.$=Te[De].trim(),Be.setDiagramTitle(this.$);break;case 43:this.$=Te[De].trim(),Be.setAccTitle(this.$);break;case 44:case 45:this.$=Te[De].trim(),Be.setAccDescription(this.$);break;case 46:Be.addSection(Te[De].substr(8)),this.$=Te[De].substr(8);break;case 47:Be.addPoint(Te[De-3],"",Te[De-1],Te[De],[]);break;case 48:Be.addPoint(Te[De-4],Te[De-3],Te[De-1],Te[De],[]);break;case 49:Be.addPoint(Te[De-4],"",Te[De-2],Te[De-1],Te[De]);break;case 50:Be.addPoint(Te[De-5],Te[De-4],Te[De-2],Te[De-1],Te[De]);break;case 51:Be.setXAxisLeftText(Te[De-2]),Be.setXAxisRightText(Te[De]);break;case 52:Te[De-1].text+=" \u27F6 ",Be.setXAxisLeftText(Te[De-1]);break;case 53:Be.setXAxisLeftText(Te[De]);break;case 54:Be.setYAxisBottomText(Te[De-2]),Be.setYAxisTopText(Te[De]);break;case 55:Te[De-1].text+=" \u27F6 ",Be.setYAxisBottomText(Te[De-1]);break;case 56:Be.setYAxisBottomText(Te[De]);break;case 57:Be.setQuadrant1Text(Te[De]);break;case 58:Be.setQuadrant2Text(Te[De]);break;case 59:Be.setQuadrant3Text(Te[De]);break;case 60:Be.setQuadrant4Text(Te[De]);break;case 64:this.$={text:Te[De],type:"text"};break;case 65:this.$={text:Te[De-1].text+""+Te[De],type:Te[De-1].type};break;case 66:this.$={text:Te[De],type:"text"};break;case 67:this.$={text:Te[De],type:"markdown"};break;case 68:this.$=Te[De];break;case 69:this.$=Te[De-1]+""+Te[De];break}},"anonymous"),table:[{18:e,26:1,27:2,28:r,55:n,56:i,57:a},{1:[3]},{18:e,26:8,27:2,28:r,55:n,56:i,57:a},{18:e,26:9,27:2,28:r,55:n,56:i,57:a},t(s,[2,33],{29:10}),t(l,[2,61]),t(l,[2,62]),t(l,[2,63]),{1:[2,30]},{1:[2,31]},t(u,h,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:f,5:d,10:p,12:m,13:g,14:y,18:x,25:v,35:b,37:T,39:S,41:w,42:E,48:_,50:A,51:D,52:O,53:R,54:k,60:L,61:C,63:I,64:M,65:P,66:B,67:F}),t(s,[2,34]),{27:45,55:n,56:i,57:a},t(u,[2,37]),t(u,h,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:f,5:d,10:p,12:m,13:g,14:y,18:x,25:v,35:b,37:T,39:S,41:w,42:E,48:_,50:A,51:D,52:O,53:R,54:k,60:L,61:C,63:I,64:M,65:P,66:B,67:F}),t(u,[2,39]),t(u,[2,40]),t(u,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(u,[2,45]),t(u,[2,46]),{18:[1,50]},{4:f,5:d,10:p,12:m,13:g,14:y,43:51,58:31,60:L,61:C,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,10:p,12:m,13:g,14:y,43:52,58:31,60:L,61:C,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,10:p,12:m,13:g,14:y,43:53,58:31,60:L,61:C,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,10:p,12:m,13:g,14:y,43:54,58:31,60:L,61:C,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,10:p,12:m,13:g,14:y,43:55,58:31,60:L,61:C,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,10:p,12:m,13:g,14:y,43:56,58:31,60:L,61:C,63:I,64:M,65:P,66:B,67:F},{4:f,5:d,8:G,10:p,12:m,13:g,14:y,18:$,44:[1,57],47:[1,58],58:60,59:59,63:I,64:M,65:P,66:B,67:F},t(U,[2,64]),t(U,[2,66]),t(U,[2,67]),t(U,[2,70]),t(U,[2,71]),t(U,[2,72]),t(U,[2,73]),t(U,[2,74]),t(U,[2,75]),t(U,[2,76]),t(U,[2,77]),t(U,[2,78]),t(U,[2,79]),t(U,[2,80]),t(s,[2,35]),t(u,[2,38]),t(u,[2,42]),t(u,[2,43]),t(u,[2,44]),{3:64,4:K,5:ne,6:j,7:le,8:Z,9:ce,10:Q,11:ee,12:te,13:re,14:he,15:J,21:63},t(u,[2,53],{59:59,58:60,4:f,5:d,8:G,10:p,12:m,13:g,14:y,18:$,49:[1,77],63:I,64:M,65:P,66:B,67:F}),t(u,[2,56],{59:59,58:60,4:f,5:d,8:G,10:p,12:m,13:g,14:y,18:$,49:[1,78],63:I,64:M,65:P,66:B,67:F}),t(u,[2,57],{59:59,58:60,4:f,5:d,8:G,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),t(u,[2,58],{59:59,58:60,4:f,5:d,8:G,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),t(u,[2,59],{59:59,58:60,4:f,5:d,8:G,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),t(u,[2,60],{59:59,58:60,4:f,5:d,8:G,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),{45:[1,79]},{44:[1,80]},t(U,[2,65]),t(U,[2,81]),t(U,[2,82]),t(U,[2,83]),{3:82,4:K,5:ne,6:j,7:le,8:Z,9:ce,10:Q,11:ee,12:te,13:re,14:he,15:J,18:[1,81]},t(ye,[2,23]),t(ye,[2,1]),t(ye,[2,2]),t(ye,[2,3]),t(ye,[2,4]),t(ye,[2,5]),t(ye,[2,6]),t(ye,[2,7]),t(ye,[2,8]),t(ye,[2,9]),t(ye,[2,10]),t(ye,[2,11]),t(ye,[2,12]),t(u,[2,52],{58:31,43:83,4:f,5:d,10:p,12:m,13:g,14:y,60:L,61:C,63:I,64:M,65:P,66:B,67:F}),t(u,[2,55],{58:31,43:84,4:f,5:d,10:p,12:m,13:g,14:y,60:L,61:C,63:I,64:M,65:P,66:B,67:F}),{46:[1,85]},{45:[1,86]},{4:se,5:Se,6:W,8:Oe,11:ve,13:Pe,16:89,17:qe,18:Ge,19:Ne,20:Me,22:88,23:87},t(ye,[2,24]),t(u,[2,51],{59:59,58:60,4:f,5:d,8:G,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),t(u,[2,54],{59:59,58:60,4:f,5:d,8:G,10:p,12:m,13:g,14:y,18:$,63:I,64:M,65:P,66:B,67:F}),t(u,[2,47],{22:88,16:89,23:100,4:se,5:Se,6:W,8:Oe,11:ve,13:Pe,17:qe,18:Ge,19:Ne,20:Me}),{46:[1,101]},t(u,[2,29],{10:be}),t(q,[2,27],{16:103,4:se,5:Se,6:W,8:Oe,11:ve,13:Pe,17:qe,18:Ge,19:Ne,20:Me}),t(fe,[2,25]),t(fe,[2,13]),t(fe,[2,14]),t(fe,[2,15]),t(fe,[2,16]),t(fe,[2,17]),t(fe,[2,18]),t(fe,[2,19]),t(fe,[2,20]),t(fe,[2,21]),t(fe,[2,22]),t(u,[2,49],{10:be}),t(u,[2,48],{22:88,16:89,23:104,4:se,5:Se,6:W,8:Oe,11:ve,13:Pe,17:qe,18:Ge,19:Ne,20:Me}),{4:se,5:Se,6:W,8:Oe,11:ve,13:Pe,16:89,17:qe,18:Ge,19:Ne,20:Me,22:105},t(fe,[2,26]),t(u,[2,50],{10:be}),t(q,[2,28],{16:103,4:se,5:Se,6:W,8:Oe,11:ve,13:Pe,17:qe,18:Ge,19:Ne,20:Me})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(Y,de){if(de.recoverable)this.trace(Y);else{var me=new Error(Y);throw me.hash=de,me}},"parseError"),parse:o(function(Y){var de=this,me=[0],Be=[],_e=[null],Te=[],Ue=this.table,De="",Qe=0,ot=0,Gt=0,Ze=2,Ve=1,ht=Te.slice.call(arguments,1),Ye=Object.create(this.lexer),ct={yy:{}};for(var Yt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Yt)&&(ct.yy[Yt]=this.yy[Yt]);Ye.setInput(Y,ct.yy),ct.yy.lexer=Ye,ct.yy.parser=this,typeof Ye.yylloc>"u"&&(Ye.yylloc={});var Tt=Ye.yylloc;Te.push(Tt);var Mt=Ye.options&&Ye.options.ranges;typeof ct.yy.parseError=="function"?this.parseError=ct.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function bt(Ce){me.length=me.length-2*Ce,_e.length=_e.length-Ce,Te.length=Te.length-Ce}o(bt,"popStack");function ft(){var Ce;return Ce=Be.pop()||Ye.lex()||Ve,typeof Ce!="number"&&(Ce instanceof Array&&(Be=Ce,Ce=Be.pop()),Ce=de.symbols_[Ce]||Ce),Ce}o(ft,"lex");for(var St,dt,vt,at,pn,kt,Fn={},tn,Nr,Mr,$n;;){if(vt=me[me.length-1],this.defaultActions[vt]?at=this.defaultActions[vt]:((St===null||typeof St>"u")&&(St=ft()),at=Ue[vt]&&Ue[vt][St]),typeof at>"u"||!at.length||!at[0]){var Dt="";$n=[];for(tn in Ue[vt])this.terminals_[tn]&&tn>Ze&&$n.push("'"+this.terminals_[tn]+"'");Ye.showPosition?Dt="Parse error on line "+(Qe+1)+`: +`+Ye.showPosition()+` +Expecting `+$n.join(", ")+", got '"+(this.terminals_[St]||St)+"'":Dt="Parse error on line "+(Qe+1)+": Unexpected "+(St==Ve?"end of input":"'"+(this.terminals_[St]||St)+"'"),this.parseError(Dt,{text:Ye.match,token:this.terminals_[St]||St,line:Ye.yylineno,loc:Tt,expected:$n})}if(at[0]instanceof Array&&at.length>1)throw new Error("Parse Error: multiple actions possible at state: "+vt+", token: "+St);switch(at[0]){case 1:me.push(St),_e.push(Ye.yytext),Te.push(Ye.yylloc),me.push(at[1]),St=null,dt?(St=dt,dt=null):(ot=Ye.yyleng,De=Ye.yytext,Qe=Ye.yylineno,Tt=Ye.yylloc,Gt>0&&Gt--);break;case 2:if(Nr=this.productions_[at[1]][1],Fn.$=_e[_e.length-Nr],Fn._$={first_line:Te[Te.length-(Nr||1)].first_line,last_line:Te[Te.length-1].last_line,first_column:Te[Te.length-(Nr||1)].first_column,last_column:Te[Te.length-1].last_column},Mt&&(Fn._$.range=[Te[Te.length-(Nr||1)].range[0],Te[Te.length-1].range[1]]),kt=this.performAction.apply(Fn,[De,ot,Qe,ct.yy,at[1],_e,Te].concat(ht)),typeof kt<"u")return kt;Nr&&(me=me.slice(0,-1*Nr*2),_e=_e.slice(0,-1*Nr),Te=Te.slice(0,-1*Nr)),me.push(this.productions_[at[1]][0]),_e.push(Fn.$),Te.push(Fn._$),Mr=Ue[me[me.length-2]][me[me.length-1]],me.push(Mr);break;case 3:return!0}}return!0},"parse")},oe=function(){var xe={EOF:1,parseError:o(function(de,me){if(this.yy.parser)this.yy.parser.parseError(de,me);else throw new Error(de)},"parseError"),setInput:o(function(Y,de){return this.yy=de||this.yy||{},this._input=Y,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var Y=this._input[0];this.yytext+=Y,this.yyleng++,this.offset++,this.match+=Y,this.matched+=Y;var de=Y.match(/(?:\r\n?|\n).*/g);return de?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Y},"input"),unput:o(function(Y){var de=Y.length,me=Y.split(/(?:\r\n?|\n)/g);this._input=Y+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-de),this.offset-=de;var Be=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),me.length-1&&(this.yylineno-=me.length-1);var _e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:me?(me.length===Be.length?this.yylloc.first_column:0)+Be[Be.length-me.length].length-me[0].length:this.yylloc.first_column-de},this.options.ranges&&(this.yylloc.range=[_e[0],_e[0]+this.yyleng-de]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(Y){this.unput(this.match.slice(Y))},"less"),pastInput:o(function(){var Y=this.matched.substr(0,this.matched.length-this.match.length);return(Y.length>20?"...":"")+Y.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var Y=this.match;return Y.length<20&&(Y+=this._input.substr(0,20-Y.length)),(Y.substr(0,20)+(Y.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var Y=this.pastInput(),de=new Array(Y.length+1).join("-");return Y+this.upcomingInput()+` +`+de+"^"},"showPosition"),test_match:o(function(Y,de){var me,Be,_e;if(this.options.backtrack_lexer&&(_e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_e.yylloc.range=this.yylloc.range.slice(0))),Be=Y[0].match(/(?:\r\n?|\n).*/g),Be&&(this.yylineno+=Be.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Be?Be[Be.length-1].length-Be[Be.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Y[0].length},this.yytext+=Y[0],this.match+=Y[0],this.matches=Y,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Y[0].length),this.matched+=Y[0],me=this.performAction.call(this,this.yy,this,de,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),me)return me;if(this._backtrack){for(var Te in _e)this[Te]=_e[Te];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Y,de,me,Be;this._more||(this.yytext="",this.match="");for(var _e=this._currentRules(),Te=0;Te<_e.length;Te++)if(me=this._input.match(this.rules[_e[Te]]),me&&(!de||me[0].length>de[0].length)){if(de=me,Be=Te,this.options.backtrack_lexer){if(Y=this.test_match(me,_e[Te]),Y!==!1)return Y;if(this._backtrack){de=!1;continue}else return!1}else if(!this.options.flex)break}return de?(Y=this.test_match(de,_e[Be]),Y!==!1?Y:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var de=this.next();return de||this.lex()},"lex"),begin:o(function(de){this.conditionStack.push(de)},"begin"),popState:o(function(){var de=this.conditionStack.length-1;return de>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(de){return de=this.conditionStack.length-1-Math.abs(de||0),de>=0?this.conditionStack[de]:"INITIAL"},"topState"),pushState:o(function(de){this.begin(de)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(de,me,Be,_e){var Te=_e;switch(Be){case 0:break;case 1:break;case 2:return 55;case 3:break;case 4:return this.begin("title"),35;break;case 5:return this.popState(),"title_value";break;case 6:return this.begin("acc_title"),37;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),39;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 23:this.popState();break;case 24:this.begin("string");break;case 25:this.popState();break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;break;case 29:return this.begin("point_start"),44;break;case 30:return this.begin("point_x"),45;break;case 31:this.popState();break;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;break;case 34:return 28;case 35:return 4;case 36:return 11;case 37:return 64;case 38:return 10;case 39:return 65;case 40:return 65;case 41:return 14;case 42:return 13;case 43:return 67;case 44:return 66;case 45:return 12;case 46:return 8;case 47:return 5;case 48:return 18;case 49:return 56;case 50:return 63;case 51:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}};return xe}();ae.lexer=oe;function V(){this.yy={}}return o(V,"Parser"),V.prototype=ae,ae.Parser=V,new V}();pB.parser=pB;cme=pB});var bs,B6,hme=N(()=>{"use strict";pr();_a();pt();My();bs=fh(),B6=class{constructor(){this.classes=new Map;this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{o(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:lr.quadrantChart?.chartWidth||500,chartWidth:lr.quadrantChart?.chartHeight||500,titlePadding:lr.quadrantChart?.titlePadding||10,titleFontSize:lr.quadrantChart?.titleFontSize||20,quadrantPadding:lr.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:lr.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:lr.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:lr.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:lr.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:lr.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:lr.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:lr.quadrantChart?.pointTextPadding||5,pointLabelFontSize:lr.quadrantChart?.pointLabelFontSize||12,pointRadius:lr.quadrantChart?.pointRadius||5,xAxisPosition:lr.quadrantChart?.xAxisPosition||"top",yAxisPosition:lr.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:lr.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:lr.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:bs.quadrant1Fill,quadrant2Fill:bs.quadrant2Fill,quadrant3Fill:bs.quadrant3Fill,quadrant4Fill:bs.quadrant4Fill,quadrant1TextFill:bs.quadrant1TextFill,quadrant2TextFill:bs.quadrant2TextFill,quadrant3TextFill:bs.quadrant3TextFill,quadrant4TextFill:bs.quadrant4TextFill,quadrantPointFill:bs.quadrantPointFill,quadrantPointTextFill:bs.quadrantPointTextFill,quadrantXAxisTextFill:bs.quadrantXAxisTextFill,quadrantYAxisTextFill:bs.quadrantYAxisTextFill,quadrantTitleFill:bs.quadrantTitleFill,quadrantInternalBorderStrokeFill:bs.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:bs.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,X.info("clear called")}setData(e){this.data={...this.data,...e}}addPoints(e){this.data.points=[...e,...this.data.points]}addClass(e,r){this.classes.set(e,r)}setConfig(e){X.trace("setConfig called with: ",e),this.config={...this.config,...e}}setThemeConfig(e){X.trace("setThemeConfig called with: ",e),this.themeConfig={...this.themeConfig,...e}}calculateSpace(e,r,n,i){let a=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,s={top:e==="top"&&r?a:0,bottom:e==="bottom"&&r?a:0},l=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,u={left:this.config.yAxisPosition==="left"&&n?l:0,right:this.config.yAxisPosition==="right"&&n?l:0},h=this.config.titleFontSize+this.config.titlePadding*2,f={top:i?h:0},d=this.config.quadrantPadding+u.left,p=this.config.quadrantPadding+s.top+f.top,m=this.config.chartWidth-this.config.quadrantPadding*2-u.left-u.right,g=this.config.chartHeight-this.config.quadrantPadding*2-s.top-s.bottom-f.top,y=m/2,x=g/2;return{xAxisSpace:s,yAxisSpace:u,titleSpace:f,quadrantSpace:{quadrantLeft:d,quadrantTop:p,quadrantWidth:m,quadrantHalfWidth:y,quadrantHeight:g,quadrantHalfHeight:x}}}getAxisLabels(e,r,n,i){let{quadrantSpace:a,titleSpace:s}=i,{quadrantHalfHeight:l,quadrantHeight:u,quadrantLeft:h,quadrantHalfWidth:f,quadrantTop:d,quadrantWidth:p}=a,m=!!this.data.xAxisRightText,g=!!this.data.yAxisTopText,y=[];return this.data.xAxisLeftText&&r&&y.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:h+(m?f/2:0),y:e==="top"?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+d+u+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&r&&y.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:h+f+(m?f/2:0),y:e==="top"?this.config.xAxisLabelPadding+s.top:this.config.xAxisLabelPadding+d+u+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&n&&y.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+h+p+this.config.quadrantPadding,y:d+u-(g?l/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:g?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&n&&y.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+h+p+this.config.quadrantPadding,y:d+l-(g?l/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:g?"center":"left",horizontalPos:"top",rotation:-90}),y}getQuadrants(e){let{quadrantSpace:r}=e,{quadrantHalfHeight:n,quadrantLeft:i,quadrantHalfWidth:a,quadrantTop:s}=r,l=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i+a,y:s,width:a,height:n,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i,y:s,width:a,height:n,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i,y:s+n,width:a,height:n,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i+a,y:s+n,width:a,height:n,fill:this.themeConfig.quadrant4Fill}];for(let u of l)u.text.x=u.x+u.width/2,this.data.points.length===0?(u.text.y=u.y+u.height/2,u.text.horizontalPos="middle"):(u.text.y=u.y+this.config.quadrantTextTopPadding,u.text.horizontalPos="top");return l}getQuadrantPoints(e){let{quadrantSpace:r}=e,{quadrantHeight:n,quadrantLeft:i,quadrantTop:a,quadrantWidth:s}=r,l=Tl().domain([0,1]).range([i,s+i]),u=Tl().domain([0,1]).range([n+a,a]);return this.data.points.map(f=>{let d=this.classes.get(f.className);return d&&(f={...d,...f}),{x:l(f.x),y:u(f.y),fill:f.color??this.themeConfig.quadrantPointFill,radius:f.radius??this.config.pointRadius,text:{text:f.text,fill:this.themeConfig.quadrantPointTextFill,x:l(f.x),y:u(f.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:f.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:f.strokeWidth??"0px"}})}getBorders(e){let r=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:n}=e,{quadrantHalfHeight:i,quadrantHeight:a,quadrantLeft:s,quadrantHalfWidth:l,quadrantTop:u,quadrantWidth:h}=n;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-r,y1:u,x2:s+h+r,y2:u},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s+h,y1:u+r,x2:s+h,y2:u+a-r},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s-r,y1:u+a,x2:s+h+r,y2:u+a},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:s,y1:u+r,x2:s,y2:u+a-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+l,y1:u+r,x2:s+l,y2:u+a-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:s+r,y1:u+i,x2:s+h-r,y2:u+i}]}getTitle(e){if(e)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){let e=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),r=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),n=this.config.showTitle&&!!this.data.titleText,i=this.data.points.length>0?"bottom":this.config.xAxisPosition,a=this.calculateSpace(i,e,r,n);return{points:this.getQuadrantPoints(a),quadrants:this.getQuadrants(a),axisLabels:this.getAxisLabels(i,e,r,a),borderLines:this.getBorders(a),title:this.getTitle(n)}}}});function mB(t){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(t)}function fme(t){return!/^\d+$/.test(t)}function dme(t){return!/^\d+px$/.test(t)}var r0,pme=N(()=>{"use strict";r0=class extends Error{static{o(this,"InvalidStyleError")}constructor(e,r,n){super(`value for ${e} ${r} is invalid, please use a valid ${n}`),this.name="InvalidStyleError"}};o(mB,"validateHexCode");o(fme,"validateNumber");o(dme,"validateSizeInPixels")});function nh(t){return ar(t.trim(),rQe)}function nQe(t){Sa.setData({quadrant1Text:nh(t.text)})}function iQe(t){Sa.setData({quadrant2Text:nh(t.text)})}function aQe(t){Sa.setData({quadrant3Text:nh(t.text)})}function sQe(t){Sa.setData({quadrant4Text:nh(t.text)})}function oQe(t){Sa.setData({xAxisLeftText:nh(t.text)})}function lQe(t){Sa.setData({xAxisRightText:nh(t.text)})}function cQe(t){Sa.setData({yAxisTopText:nh(t.text)})}function uQe(t){Sa.setData({yAxisBottomText:nh(t.text)})}function gB(t){let e={};for(let r of t){let[n,i]=r.trim().split(/\s*:\s*/);if(n==="radius"){if(fme(i))throw new r0(n,i,"number");e.radius=parseInt(i)}else if(n==="color"){if(mB(i))throw new r0(n,i,"hex code");e.color=i}else if(n==="stroke-color"){if(mB(i))throw new r0(n,i,"hex code");e.strokeColor=i}else if(n==="stroke-width"){if(dme(i))throw new r0(n,i,"number of pixels (eg. 10px)");e.strokeWidth=i}else throw new Error(`style named ${n} is not supported.`)}return e}function hQe(t,e,r,n,i){let a=gB(i);Sa.addPoints([{x:r,y:n,text:nh(t.text),className:e,...a}])}function fQe(t,e){Sa.addClass(t,gB(e))}function dQe(t){Sa.setConfig({chartWidth:t})}function pQe(t){Sa.setConfig({chartHeight:t})}function mQe(){let t=ge(),{themeVariables:e,quadrantChart:r}=t;return r&&Sa.setConfig(r),Sa.setThemeConfig({quadrant1Fill:e.quadrant1Fill,quadrant2Fill:e.quadrant2Fill,quadrant3Fill:e.quadrant3Fill,quadrant4Fill:e.quadrant4Fill,quadrant1TextFill:e.quadrant1TextFill,quadrant2TextFill:e.quadrant2TextFill,quadrant3TextFill:e.quadrant3TextFill,quadrant4TextFill:e.quadrant4TextFill,quadrantPointFill:e.quadrantPointFill,quadrantPointTextFill:e.quadrantPointTextFill,quadrantXAxisTextFill:e.quadrantXAxisTextFill,quadrantYAxisTextFill:e.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:e.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:e.quadrantInternalBorderStrokeFill,quadrantTitleFill:e.quadrantTitleFill}),Sa.setData({titleText:Rr()}),Sa.build()}var rQe,Sa,gQe,mme,gme=N(()=>{"use strict";Xt();dr();ui();hme();pme();rQe=ge();o(nh,"textSanitizer");Sa=new B6;o(nQe,"setQuadrant1Text");o(iQe,"setQuadrant2Text");o(aQe,"setQuadrant3Text");o(sQe,"setQuadrant4Text");o(oQe,"setXAxisLeftText");o(lQe,"setXAxisRightText");o(cQe,"setYAxisTopText");o(uQe,"setYAxisBottomText");o(gB,"parseStyles");o(hQe,"addPoint");o(fQe,"addClass");o(dQe,"setWidth");o(pQe,"setHeight");o(mQe,"getQuadrantData");gQe=o(function(){Sa.clear(),wr()},"clear"),mme={setWidth:dQe,setHeight:pQe,setQuadrant1Text:nQe,setQuadrant2Text:iQe,setQuadrant3Text:aQe,setQuadrant4Text:sQe,setXAxisLeftText:oQe,setXAxisRightText:lQe,setYAxisTopText:cQe,setYAxisBottomText:uQe,parseStyles:gB,addPoint:hQe,addClass:fQe,getQuadrantData:mQe,clear:gQe,setAccTitle:Cr,getAccTitle:_r,setDiagramTitle:Or,getDiagramTitle:Rr,getAccDescription:Lr,setAccDescription:Dr}});var yQe,yme,vme=N(()=>{"use strict";pr();Xt();pt();Ci();yQe=o((t,e,r,n)=>{function i(A){return A==="top"?"hanging":"middle"}o(i,"getDominantBaseLine");function a(A){return A==="left"?"start":"middle"}o(a,"getTextAnchor");function s(A){return`translate(${A.x}, ${A.y}) rotate(${A.rotation||0})`}o(s,"getTransformation");let l=ge();X.debug(`Rendering quadrant chart +`+t);let u=l.securityLevel,h;u==="sandbox"&&(h=ze("#i"+e));let d=(u==="sandbox"?ze(h.nodes()[0].contentDocument.body):ze("body")).select(`[id="${e}"]`),p=d.append("g").attr("class","main"),m=l.quadrantChart?.chartWidth??500,g=l.quadrantChart?.chartHeight??500;fn(d,g,m,l.quadrantChart?.useMaxWidth??!0),d.attr("viewBox","0 0 "+m+" "+g),n.db.setHeight(g),n.db.setWidth(m);let y=n.db.getQuadrantData(),x=p.append("g").attr("class","quadrants"),v=p.append("g").attr("class","border"),b=p.append("g").attr("class","data-points"),T=p.append("g").attr("class","labels"),S=p.append("g").attr("class","title");y.title&&S.append("text").attr("x",0).attr("y",0).attr("fill",y.title.fill).attr("font-size",y.title.fontSize).attr("dominant-baseline",i(y.title.horizontalPos)).attr("text-anchor",a(y.title.verticalPos)).attr("transform",s(y.title)).text(y.title.text),y.borderLines&&v.selectAll("line").data(y.borderLines).enter().append("line").attr("x1",A=>A.x1).attr("y1",A=>A.y1).attr("x2",A=>A.x2).attr("y2",A=>A.y2).style("stroke",A=>A.strokeFill).style("stroke-width",A=>A.strokeWidth);let w=x.selectAll("g.quadrant").data(y.quadrants).enter().append("g").attr("class","quadrant");w.append("rect").attr("x",A=>A.x).attr("y",A=>A.y).attr("width",A=>A.width).attr("height",A=>A.height).attr("fill",A=>A.fill),w.append("text").attr("x",0).attr("y",0).attr("fill",A=>A.text.fill).attr("font-size",A=>A.text.fontSize).attr("dominant-baseline",A=>i(A.text.horizontalPos)).attr("text-anchor",A=>a(A.text.verticalPos)).attr("transform",A=>s(A.text)).text(A=>A.text.text),T.selectAll("g.label").data(y.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(A=>A.text).attr("fill",A=>A.fill).attr("font-size",A=>A.fontSize).attr("dominant-baseline",A=>i(A.horizontalPos)).attr("text-anchor",A=>a(A.verticalPos)).attr("transform",A=>s(A));let _=b.selectAll("g.data-point").data(y.points).enter().append("g").attr("class","data-point");_.append("circle").attr("cx",A=>A.x).attr("cy",A=>A.y).attr("r",A=>A.radius).attr("fill",A=>A.fill).attr("stroke",A=>A.strokeColor).attr("stroke-width",A=>A.strokeWidth),_.append("text").attr("x",0).attr("y",0).text(A=>A.text.text).attr("fill",A=>A.text.fill).attr("font-size",A=>A.text.fontSize).attr("dominant-baseline",A=>i(A.text.horizontalPos)).attr("text-anchor",A=>a(A.text.verticalPos)).attr("transform",A=>s(A.text))},"draw"),yme={draw:yQe}});var xme={};ur(xme,{diagram:()=>vQe});var vQe,bme=N(()=>{"use strict";ume();gme();vme();vQe={parser:cme,db:mme,renderer:yme,styles:o(()=>"","styles")}});var yB,kme,Eme=N(()=>{"use strict";yB=function(){var t=o(function(I,M,P,B){for(P=P||{},B=I.length;B--;P[I[B]]=M);return P},"o"),e=[1,10,12,14,16,18,19,21,23],r=[2,6],n=[1,3],i=[1,5],a=[1,6],s=[1,7],l=[1,5,10,12,14,16,18,19,21,23,34,35,36],u=[1,25],h=[1,26],f=[1,28],d=[1,29],p=[1,30],m=[1,31],g=[1,32],y=[1,33],x=[1,34],v=[1,35],b=[1,36],T=[1,37],S=[1,43],w=[1,42],E=[1,47],_=[1,50],A=[1,10,12,14,16,18,19,21,23,34,35,36],D=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],O=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],R=[1,64],k={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:o(function(M,P,B,F,G,$,U){var K=$.length-1;switch(G){case 5:F.setOrientation($[K]);break;case 9:F.setDiagramTitle($[K].text.trim());break;case 12:F.setLineData({text:"",type:"text"},$[K]);break;case 13:F.setLineData($[K-1],$[K]);break;case 14:F.setBarData({text:"",type:"text"},$[K]);break;case 15:F.setBarData($[K-1],$[K]);break;case 16:this.$=$[K].trim(),F.setAccTitle(this.$);break;case 17:case 18:this.$=$[K].trim(),F.setAccDescription(this.$);break;case 19:this.$=$[K-1];break;case 20:this.$=[Number($[K-2]),...$[K]];break;case 21:this.$=[Number($[K])];break;case 22:F.setXAxisTitle($[K]);break;case 23:F.setXAxisTitle($[K-1]);break;case 24:F.setXAxisTitle({type:"text",text:""});break;case 25:F.setXAxisBand($[K]);break;case 26:F.setXAxisRangeData(Number($[K-2]),Number($[K]));break;case 27:this.$=$[K-1];break;case 28:this.$=[$[K-2],...$[K]];break;case 29:this.$=[$[K]];break;case 30:F.setYAxisTitle($[K]);break;case 31:F.setYAxisTitle($[K-1]);break;case 32:F.setYAxisTitle({type:"text",text:""});break;case 33:F.setYAxisRangeData(Number($[K-2]),Number($[K]));break;case 37:this.$={text:$[K],type:"text"};break;case 38:this.$={text:$[K],type:"text"};break;case 39:this.$={text:$[K],type:"markdown"};break;case 40:this.$=$[K];break;case 41:this.$=$[K-1]+""+$[K];break}},"anonymous"),table:[t(e,r,{3:1,4:2,7:4,5:n,34:i,35:a,36:s}),{1:[3]},t(e,r,{4:2,7:4,3:8,5:n,34:i,35:a,36:s}),t(e,r,{4:2,7:4,6:9,3:10,5:n,8:[1,11],34:i,35:a,36:s}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(l,[2,34]),t(l,[2,35]),t(l,[2,36]),{1:[2,1]},t(e,r,{4:2,7:4,3:21,5:n,34:i,35:a,36:s}),{1:[2,3]},t(l,[2,5]),t(e,[2,7],{4:22,34:i,35:a,36:s}),{11:23,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:x,48:v,49:b,50:T},{11:39,13:38,24:S,27:w,29:40,30:41,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:x,48:v,49:b,50:T},{11:45,15:44,27:E,33:46,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:x,48:v,49:b,50:T},{11:49,17:48,24:_,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:x,48:v,49:b,50:T},{11:52,17:51,24:_,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:x,48:v,49:b,50:T},{20:[1,53]},{22:[1,54]},t(A,[2,18]),{1:[2,2]},t(A,[2,8]),t(A,[2,9]),t(D,[2,37],{40:55,41:f,42:d,43:p,44:m,45:g,46:y,47:x,48:v,49:b,50:T}),t(D,[2,38]),t(D,[2,39]),t(O,[2,40]),t(O,[2,42]),t(O,[2,43]),t(O,[2,44]),t(O,[2,45]),t(O,[2,46]),t(O,[2,47]),t(O,[2,48]),t(O,[2,49]),t(O,[2,50]),t(O,[2,51]),t(A,[2,10]),t(A,[2,22],{30:41,29:56,24:S,27:w}),t(A,[2,24]),t(A,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:x,48:v,49:b,50:T},t(A,[2,11]),t(A,[2,30],{33:60,27:E}),t(A,[2,32]),{31:[1,61]},t(A,[2,12]),{17:62,24:_},{25:63,27:R},t(A,[2,14]),{17:65,24:_},t(A,[2,16]),t(A,[2,17]),t(O,[2,41]),t(A,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(A,[2,31]),{27:[1,69]},t(A,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(A,[2,15]),t(A,[2,26]),t(A,[2,27]),{11:59,32:72,37:24,38:u,39:h,40:27,41:f,42:d,43:p,44:m,45:g,46:y,47:x,48:v,49:b,50:T},t(A,[2,33]),t(A,[2,19]),{25:73,27:R},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:o(function(M,P){if(P.recoverable)this.trace(M);else{var B=new Error(M);throw B.hash=P,B}},"parseError"),parse:o(function(M){var P=this,B=[0],F=[],G=[null],$=[],U=this.table,K="",ne=0,j=0,le=0,Z=2,ce=1,Q=$.slice.call(arguments,1),ee=Object.create(this.lexer),te={yy:{}};for(var re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,re)&&(te.yy[re]=this.yy[re]);ee.setInput(M,te.yy),te.yy.lexer=ee,te.yy.parser=this,typeof ee.yylloc>"u"&&(ee.yylloc={});var he=ee.yylloc;$.push(he);var J=ee.options&&ee.options.ranges;typeof te.yy.parseError=="function"?this.parseError=te.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ye(ae){B.length=B.length-2*ae,G.length=G.length-ae,$.length=$.length-ae}o(ye,"popStack");function se(){var ae;return ae=F.pop()||ee.lex()||ce,typeof ae!="number"&&(ae instanceof Array&&(F=ae,ae=F.pop()),ae=P.symbols_[ae]||ae),ae}o(se,"lex");for(var Se,W,Oe,ve,Pe,qe,Ge={},Ne,Me,be,q;;){if(Oe=B[B.length-1],this.defaultActions[Oe]?ve=this.defaultActions[Oe]:((Se===null||typeof Se>"u")&&(Se=se()),ve=U[Oe]&&U[Oe][Se]),typeof ve>"u"||!ve.length||!ve[0]){var fe="";q=[];for(Ne in U[Oe])this.terminals_[Ne]&&Ne>Z&&q.push("'"+this.terminals_[Ne]+"'");ee.showPosition?fe="Parse error on line "+(ne+1)+`: +`+ee.showPosition()+` +Expecting `+q.join(", ")+", got '"+(this.terminals_[Se]||Se)+"'":fe="Parse error on line "+(ne+1)+": Unexpected "+(Se==ce?"end of input":"'"+(this.terminals_[Se]||Se)+"'"),this.parseError(fe,{text:ee.match,token:this.terminals_[Se]||Se,line:ee.yylineno,loc:he,expected:q})}if(ve[0]instanceof Array&&ve.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Oe+", token: "+Se);switch(ve[0]){case 1:B.push(Se),G.push(ee.yytext),$.push(ee.yylloc),B.push(ve[1]),Se=null,W?(Se=W,W=null):(j=ee.yyleng,K=ee.yytext,ne=ee.yylineno,he=ee.yylloc,le>0&&le--);break;case 2:if(Me=this.productions_[ve[1]][1],Ge.$=G[G.length-Me],Ge._$={first_line:$[$.length-(Me||1)].first_line,last_line:$[$.length-1].last_line,first_column:$[$.length-(Me||1)].first_column,last_column:$[$.length-1].last_column},J&&(Ge._$.range=[$[$.length-(Me||1)].range[0],$[$.length-1].range[1]]),qe=this.performAction.apply(Ge,[K,j,ne,te.yy,ve[1],G,$].concat(Q)),typeof qe<"u")return qe;Me&&(B=B.slice(0,-1*Me*2),G=G.slice(0,-1*Me),$=$.slice(0,-1*Me)),B.push(this.productions_[ve[1]][0]),G.push(Ge.$),$.push(Ge._$),be=U[B[B.length-2]][B[B.length-1]],B.push(be);break;case 3:return!0}}return!0},"parse")},L=function(){var I={EOF:1,parseError:o(function(P,B){if(this.yy.parser)this.yy.parser.parseError(P,B);else throw new Error(P)},"parseError"),setInput:o(function(M,P){return this.yy=P||this.yy||{},this._input=M,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var M=this._input[0];this.yytext+=M,this.yyleng++,this.offset++,this.match+=M,this.matched+=M;var P=M.match(/(?:\r\n?|\n).*/g);return P?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),M},"input"),unput:o(function(M){var P=M.length,B=M.split(/(?:\r\n?|\n)/g);this._input=M+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-P),this.offset-=P;var F=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),B.length-1&&(this.yylineno-=B.length-1);var G=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:B?(B.length===F.length?this.yylloc.first_column:0)+F[F.length-B.length].length-B[0].length:this.yylloc.first_column-P},this.options.ranges&&(this.yylloc.range=[G[0],G[0]+this.yyleng-P]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(M){this.unput(this.match.slice(M))},"less"),pastInput:o(function(){var M=this.matched.substr(0,this.matched.length-this.match.length);return(M.length>20?"...":"")+M.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var M=this.match;return M.length<20&&(M+=this._input.substr(0,20-M.length)),(M.substr(0,20)+(M.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var M=this.pastInput(),P=new Array(M.length+1).join("-");return M+this.upcomingInput()+` -`+P+"^"},"showPosition"),test_match:o(function(M,P){var B,F,z;if(this.options.backtrack_lexer&&(z={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(z.yylloc.range=this.yylloc.range.slice(0))),F=M[0].match(/(?:\r\n?|\n).*/g),F&&(this.yylineno+=F.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:F?F[F.length-1].length-F[F.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+M[0].length},this.yytext+=M[0],this.match+=M[0],this.matches=M,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(M[0].length),this.matched+=M[0],B=this.performAction.call(this,this.yy,this,P,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),B)return B;if(this._backtrack){for(var $ in z)this[$]=z[$];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var M,P,B,F;this._more||(this.yytext="",this.match="");for(var z=this._currentRules(),$=0;$P[0].length)){if(P=B,F=$,this.options.backtrack_lexer){if(M=this.test_match(B,z[$]),M!==!1)return M;if(this._backtrack){P=!1;continue}else return!1}else if(!this.options.flex)break}return P?(M=this.test_match(P,z[F]),M!==!1?M:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var P=this.next();return P||this.lex()},"lex"),begin:o(function(P){this.conditionStack.push(P)},"begin"),popState:o(function(){var P=this.conditionStack.length-1;return P>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(P){return P=this.conditionStack.length-1-Math.abs(P||0),P>=0?this.conditionStack[P]:"INITIAL"},"topState"),pushState:o(function(P){this.begin(P)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(P,B,F,z){var $=z;switch(F){case 0:break;case 1:break;case 2:return this.popState(),34;break;case 3:return this.popState(),34;break;case 4:return 34;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.pushState("acc_descr"),21;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";break;case 18:return this.pushState("axis_data"),"Y_AXIS";break;case 19:return this.pushState("axis_band_data"),24;break;case 20:return 31;case 21:return this.pushState("data"),16;break;case 22:return this.pushState("data"),18;break;case 23:return this.pushState("data_inner"),24;break;case 24:return 27;case 25:return this.popState(),26;break;case 26:this.popState();break;case 27:this.pushState("string");break;case 28:this.popState();break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 43;case 33:return"COLON";case 34:return 44;case 35:return 28;case 36:return 45;case 37:return 46;case 38:return 48;case 39:return 50;case 40:return 47;case 41:return 41;case 42:return 49;case 43:return 42;case 44:break;case 45:return 35;case 46:return 36}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}};return I}();k.lexer=L;function S(){this.yy={}}return o(S,"Parser"),S.prototype=k,k.Parser=S,new S}();JO.parser=JO;Ufe=JO});function eP(t){return t.type==="bar"}function IS(t){return t.type==="band"}function A1(t){return t.type==="linear"}var OS=N(()=>{"use strict";o(eP,"isBarPlot");o(IS,"isBandAxisData");o(A1,"isLinearAxisData")});var _1,tP=N(()=>{"use strict";no();_1=class{constructor(e){this.parentGroup=e}static{o(this,"TextDimensionCalculatorWithFont")}getMaxDimension(e,r){if(!this.parentGroup)return{width:e.reduce((a,s)=>Math.max(s.length,a),0)*r,height:r};let n={width:0,height:0},i=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",r);for(let a of e){let s=TQ(i,1,a),l=s?s.width:a.length*r,u=s?s.height:r;n.width=Math.max(n.width,l),n.height=Math.max(n.height,u)}return i.remove(),n}}});var D1,rP=N(()=>{"use strict";D1=class{constructor(e,r,n,i){this.axisConfig=e;this.title=r;this.textDimensionCalculator=n;this.axisThemeConfig=i;this.boundingRect={x:0,y:0,width:0,height:0};this.axisPosition="left";this.showTitle=!1;this.showLabel=!1;this.showTick=!1;this.showAxisLine=!1;this.outerPadding=0;this.titleTextHeight=0;this.labelTextHeight=0;this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}static{o(this,"BaseAxis")}setRange(e){this.range=e,this.axisPosition==="left"||this.axisPosition==="right"?this.boundingRect.height=e[1]-e[0]:this.boundingRect.width=e[1]-e[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(e=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let r=e.height;if(this.axisConfig.showAxisLine&&r>this.axisConfig.axisLineWidth&&(r-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),i=.2*e.width;this.outerPadding=Math.min(n.width/2,i);let a=n.height+this.axisConfig.labelPadding*2;this.labelTextHeight=n.height,a<=r&&(r-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&r>=this.axisConfig.tickLength&&(this.showTick=!0,r-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),i=n.height+this.axisConfig.titlePadding*2;this.titleTextHeight=n.height,i<=r&&(r-=i,this.showTitle=!0)}this.boundingRect.width=e.width,this.boundingRect.height=e.height-r}calculateSpaceIfDrawnVertical(e){let r=e.width;if(this.axisConfig.showAxisLine&&r>this.axisConfig.axisLineWidth&&(r-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),i=.2*e.height;this.outerPadding=Math.min(n.height/2,i);let a=n.width+this.axisConfig.labelPadding*2;a<=r&&(r-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&r>=this.axisConfig.tickLength&&(this.showTick=!0,r-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),i=n.height+this.axisConfig.titlePadding*2;this.titleTextHeight=n.height,i<=r&&(r-=i,this.showTitle=!0)}this.boundingRect.width=e.width-r,this.boundingRect.height=e.height}calculateSpace(e){return this.axisPosition==="left"||this.axisPosition==="right"?this.calculateSpaceIfDrawnVertical(e):this.calculateSpaceIfDrawnHorizontally(e),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let r=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${r},${this.boundingRect.y} L ${r},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(r=>({text:r.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(r),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){let r=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(n=>({path:`M ${r},${this.getScaleValue(n)} L ${r-this.axisConfig.tickLength},${this.getScaleValue(n)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let r=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${r} L ${this.boundingRect.x+this.boundingRect.width},${r}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(r=>({text:r.toString(),x:this.getScaleValue(r),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let r=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(n=>({path:`M ${this.getScaleValue(n)},${r} L ${this.getScaleValue(n)},${r+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let r=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${r} L ${this.boundingRect.x+this.boundingRect.width},${r}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(r=>({text:r.toString(),x:this.getScaleValue(r),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let r=this.boundingRect.y;e.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(n=>({path:`M ${this.getScaleValue(n)},${r+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(n)},${r+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),e}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");return this.axisPosition==="bottom"?this.getDrawableElementsForBottomAxis():this.axisPosition==="top"?this.getDrawableElementsForTopAxis():[]}}});var PS,Wfe=N(()=>{"use strict";pr();yt();rP();PS=class extends D1{static{o(this,"BandAxis")}constructor(e,r,n,i,a){super(e,i,a,r),this.categories=n,this.scale=B0().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=B0().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),X.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}}});var BS,qfe=N(()=>{"use strict";pr();rP();BS=class extends D1{static{o(this,"LinearAxis")}constructor(e,r,n,i,a){super(e,i,a,r),this.domain=n,this.scale=xl().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];this.axisPosition==="left"&&e.reverse(),this.scale=xl().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}}});function nP(t,e,r,n){let i=new _1(n);return IS(t)?new PS(e,r,t.categories,t.title,i):new BS(e,r,[t.min,t.max],t.title,i)}var Yfe=N(()=>{"use strict";OS();tP();Wfe();qfe();o(nP,"getAxis")});function Xfe(t,e,r,n){let i=new _1(n);return new iP(i,t,e,r)}var iP,jfe=N(()=>{"use strict";tP();iP=class{constructor(e,r,n,i){this.textDimensionCalculator=e;this.chartConfig=r;this.chartData=n;this.chartThemeConfig=i;this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{o(this,"ChartTitle")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let r=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),n=Math.max(r.width,e.width),i=r.height+2*this.chartConfig.titlePadding;return r.width<=n&&r.height<=i&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=n,this.boundingRect.height=i,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){let e=[];return this.showChartTitle&&e.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),e}};o(Xfe,"getChartTitleComponent")});var FS,Kfe=N(()=>{"use strict";pr();FS=class{constructor(e,r,n,i,a){this.plotData=e;this.xAxis=r;this.yAxis=n;this.orientation=i;this.plotIndex=a}static{o(this,"LinePlot")}getDrawableElement(){let e=this.plotData.data.map(n=>[this.xAxis.getScaleValue(n[0]),this.yAxis.getScaleValue(n[1])]),r;return this.orientation==="horizontal"?r=El().y(n=>n[0]).x(n=>n[1])(e):r=El().x(n=>n[0]).y(n=>n[1])(e),r?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:r,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}}});var $S,Qfe=N(()=>{"use strict";$S=class{constructor(e,r,n,i,a,s){this.barData=e;this.boundingRect=r;this.xAxis=n;this.yAxis=i;this.orientation=a;this.plotIndex=s}static{o(this,"BarPlot")}getDrawableElement(){let e=this.barData.data.map(a=>[this.xAxis.getScaleValue(a[0]),this.yAxis.getScaleValue(a[1])]),n=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*(1-.05),i=n/2;return this.orientation==="horizontal"?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map(a=>({x:this.boundingRect.x,y:a[0]-i,height:n,width:a[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map(a=>({x:a[0]-i,y:a[1],width:n,height:this.boundingRect.y+this.boundingRect.height-a[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}}});function Zfe(t,e,r){return new aP(t,e,r)}var aP,Jfe=N(()=>{"use strict";Kfe();Qfe();aP=class{constructor(e,r,n){this.chartConfig=e;this.chartData=r;this.chartThemeConfig=n;this.boundingRect={x:0,y:0,width:0,height:0}}static{o(this,"BasePlot")}setAxes(e,r){this.xAxis=e,this.yAxis=r}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let e=[];for(let[r,n]of this.chartData.plots.entries())switch(n.type){case"line":{let i=new FS(n,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,r);e.push(...i.getDrawableElement())}break;case"bar":{let i=new $S(n,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,r);e.push(...i.getDrawableElement())}break}return e}};o(Zfe,"getPlotComponent")});var zS,ede=N(()=>{"use strict";Yfe();jfe();Jfe();OS();zS=class{constructor(e,r,n,i){this.chartConfig=e;this.chartData=r;this.componentStore={title:Xfe(e,r,n,i),plot:Zfe(e,r,n),xAxis:nP(r.xAxis,e.xAxis,{titleColor:n.xAxisTitleColor,labelColor:n.xAxisLabelColor,tickColor:n.xAxisTickColor,axisLineColor:n.xAxisLineColor},i),yAxis:nP(r.yAxis,e.yAxis,{titleColor:n.yAxisTitleColor,labelColor:n.yAxisLabelColor,tickColor:n.yAxisTickColor,axisLineColor:n.yAxisLineColor},i)}}static{o(this,"Orchestrator")}calculateVerticalSpace(){let e=this.chartConfig.width,r=this.chartConfig.height,n=0,i=0,a=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),s=Math.floor(r*this.chartConfig.plotReservedSpacePercent/100),l=this.componentStore.plot.calculateSpace({width:a,height:s});e-=l.width,r-=l.height,l=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:r}),i=l.height,r-=l.height,this.componentStore.xAxis.setAxisPosition("bottom"),l=this.componentStore.xAxis.calculateSpace({width:e,height:r}),r-=l.height,this.componentStore.yAxis.setAxisPosition("left"),l=this.componentStore.yAxis.calculateSpace({width:e,height:r}),n=l.width,e-=l.width,e>0&&(a+=e,e=0),r>0&&(s+=r,r=0),this.componentStore.plot.calculateSpace({width:a,height:s}),this.componentStore.plot.setBoundingBoxXY({x:n,y:i}),this.componentStore.xAxis.setRange([n,n+a]),this.componentStore.xAxis.setBoundingBoxXY({x:n,y:i+s}),this.componentStore.yAxis.setRange([i,i+s]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:i}),this.chartData.plots.some(u=>eP(u))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,r=this.chartConfig.height,n=0,i=0,a=0,s=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),l=Math.floor(r*this.chartConfig.plotReservedSpacePercent/100),u=this.componentStore.plot.calculateSpace({width:s,height:l});e-=u.width,r-=u.height,u=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:r}),n=u.height,r-=u.height,this.componentStore.xAxis.setAxisPosition("left"),u=this.componentStore.xAxis.calculateSpace({width:e,height:r}),e-=u.width,i=u.width,this.componentStore.yAxis.setAxisPosition("top"),u=this.componentStore.yAxis.calculateSpace({width:e,height:r}),r-=u.height,a=n+u.height,e>0&&(s+=e,e=0),r>0&&(l+=r,r=0),this.componentStore.plot.calculateSpace({width:s,height:l}),this.componentStore.plot.setBoundingBoxXY({x:i,y:a}),this.componentStore.yAxis.setRange([i,i+s]),this.componentStore.yAxis.setBoundingBoxXY({x:i,y:n}),this.componentStore.xAxis.setRange([a,a+l]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some(h=>eP(h))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation==="horizontal"?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let r of Object.values(this.componentStore))e.push(...r.getDrawableElements());return e}}});var GS,tde=N(()=>{"use strict";ede();GS=class{static{o(this,"XYChartBuilder")}static build(e,r,n,i){return new zS(e,r,n,i).getDrawableElement()}}});function nde(){let t=ch(),e=Qt();return Fn(t.xyChart,e.themeVariables.xyChart)}function ide(){let t=Qt();return Fn(lr.xyChart,t.xyChart)}function ade(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function lP(t){let e=Qt();return ar(t.trim(),e)}function cUe(t){rde=t}function uUe(t){t==="horizontal"?Lb.chartOrientation="horizontal":Lb.chartOrientation="vertical"}function hUe(t){ln.xAxis.title=lP(t.text)}function sde(t,e){ln.xAxis={type:"linear",title:ln.xAxis.title,min:t,max:e},VS=!0}function fUe(t){ln.xAxis={type:"band",title:ln.xAxis.title,categories:t.map(e=>lP(e.text))},VS=!0}function dUe(t){ln.yAxis.title=lP(t.text)}function pUe(t,e){ln.yAxis={type:"linear",title:ln.yAxis.title,min:t,max:e},oP=!0}function mUe(t){let e=Math.min(...t),r=Math.max(...t),n=A1(ln.yAxis)?ln.yAxis.min:1/0,i=A1(ln.yAxis)?ln.yAxis.max:-1/0;ln.yAxis={type:"linear",title:ln.yAxis.title,min:Math.min(n,e),max:Math.max(i,r)}}function ode(t){let e=[];if(t.length===0)return e;if(!VS){let r=A1(ln.xAxis)?ln.xAxis.min:1/0,n=A1(ln.xAxis)?ln.xAxis.max:-1/0;sde(Math.min(r,1),Math.max(n,t.length))}if(oP||mUe(t),IS(ln.xAxis)&&(e=ln.xAxis.categories.map((r,n)=>[r,t[n]])),A1(ln.xAxis)){let r=ln.xAxis.min,n=ln.xAxis.max,i=(n-r)/(t.length-1),a=[];for(let s=r;s<=n;s+=i)a.push(`${s}`);e=a.map((s,l)=>[s,t[l]])}return e}function lde(t){return sP[t===0?0:t%sP.length]}function gUe(t,e){let r=ode(e);ln.plots.push({type:"line",strokeFill:lde(Db),strokeWidth:2,data:r}),Db++}function yUe(t,e){let r=ode(e);ln.plots.push({type:"bar",fill:lde(Db),data:r}),Db++}function vUe(){if(ln.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return ln.title=Rr(),GS.build(Lb,ln,Rb,rde)}function xUe(){return Rb}function bUe(){return Lb}function TUe(){return ln}var Db,rde,Lb,Rb,ln,sP,VS,oP,wUe,cde,ude=N(()=>{"use strict";Jn();Ca();Ny();nr();dr();ci();tde();OS();Db=0,Lb=ide(),Rb=nde(),ln=ade(),sP=Rb.plotColorPalette.split(",").map(t=>t.trim()),VS=!1,oP=!1;o(nde,"getChartDefaultThemeConfig");o(ide,"getChartDefaultConfig");o(ade,"getChartDefaultData");o(lP,"textSanitizer");o(cUe,"setTmpSVGG");o(uUe,"setOrientation");o(hUe,"setXAxisTitle");o(sde,"setXAxisRangeData");o(fUe,"setXAxisBand");o(dUe,"setYAxisTitle");o(pUe,"setYAxisRangeData");o(mUe,"setYAxisRangeFromPlotData");o(ode,"transformDataWithoutCategory");o(lde,"getPlotColorFromPalette");o(gUe,"setLineData");o(yUe,"setBarData");o(vUe,"getDrawableElem");o(xUe,"getChartThemeConfig");o(bUe,"getChartConfig");o(TUe,"getXYChartData");wUe=o(function(){wr(),Db=0,Lb=ide(),ln=ade(),Rb=nde(),sP=Rb.plotColorPalette.split(",").map(t=>t.trim()),VS=!1,oP=!1},"clear"),cde={getDrawableElem:vUe,clear:wUe,setAccTitle:Cr,getAccTitle:_r,setDiagramTitle:Ir,getDiagramTitle:Rr,getAccDescription:Lr,setAccDescription:Dr,setOrientation:uUe,setXAxisTitle:hUe,setXAxisRangeData:sde,setXAxisBand:fUe,setYAxisTitle:dUe,setYAxisRangeData:pUe,setLineData:gUe,setBarData:yUe,setTmpSVGG:cUe,getChartThemeConfig:xUe,getChartConfig:bUe,getXYChartData:TUe}});var kUe,hde,fde=N(()=>{"use strict";yt();zl();yi();kUe=o((t,e,r,n)=>{let i=n.db,a=i.getChartThemeConfig(),s=i.getChartConfig(),l=i.getXYChartData().plots[0].data.map(T=>T[1]);function u(T){return T==="top"?"text-before-edge":"middle"}o(u,"getDominantBaseLine");function h(T){return T==="left"?"start":T==="right"?"end":"middle"}o(h,"getTextAnchor");function f(T){return`translate(${T.x}, ${T.y}) rotate(${T.rotation||0})`}o(f,"getTextTransformation"),X.debug(`Rendering xychart chart -`+t);let d=Di(e),p=d.append("g").attr("class","main"),m=p.append("rect").attr("width",s.width).attr("height",s.height).attr("class","background");hn(d,s.height,s.width,!0),d.attr("viewBox",`0 0 ${s.width} ${s.height}`),m.attr("fill",a.backgroundColor),i.setTmpSVGG(d.append("g").attr("class","mermaid-tmp-group"));let g=i.getDrawableElem(),y={};function v(T){let C=p,w="";for(let[E]of T.entries()){let _=p;E>0&&y[w]&&(_=y[w]),w+=T[E],C=y[w],C||(C=y[w]=_.append("g").attr("class",T[E]))}return C}o(v,"getGroup");for(let T of g){if(T.data.length===0)continue;let C=v(T.groupTexts);switch(T.type){case"rect":if(C.selectAll("rect").data(T.data).enter().append("rect").attr("x",w=>w.x).attr("y",w=>w.y).attr("width",w=>w.width).attr("height",w=>w.height).attr("fill",w=>w.fill).attr("stroke",w=>w.strokeFill).attr("stroke-width",w=>w.strokeWidth),s.showDataLabel)if(s.chartOrientation==="horizontal"){let _=function(O,R){let{data:k,label:L}=O;return R*L.length*.7<=k.width-10};var x=_;o(_,"fitsHorizontally");let w=.7,E=T.data.map((O,R)=>({data:O,label:l[R].toString()})).filter(O=>O.data.width>0&&O.data.height>0),A=E.map(O=>{let{data:R}=O,k=R.height*.7;for(;!_(O,k)&&k>0;)k-=1;return k}),D=Math.floor(Math.min(...A));C.selectAll("text").data(E).enter().append("text").attr("x",O=>O.data.x+O.data.width-10).attr("y",O=>O.data.y+O.data.height/2).attr("text-anchor","end").attr("dominant-baseline","middle").attr("fill","black").attr("font-size",`${D}px`).text(O=>O.label)}else{let _=function(O,R,k){let{data:L,label:S}=O,M=R*S.length*.7,P=L.x+L.width/2,B=P-M/2,F=P+M/2,z=B>=L.x&&F<=L.x+L.width,$=L.y+k+R<=L.y+L.height;return z&&$};var b=_;o(_,"fitsInBar");let w=10,E=T.data.map((O,R)=>({data:O,label:l[R].toString()})).filter(O=>O.data.width>0&&O.data.height>0),A=E.map(O=>{let{data:R,label:k}=O,L=R.width/(k.length*.7);for(;!_(O,L,10)&&L>0;)L-=1;return L}),D=Math.floor(Math.min(...A));C.selectAll("text").data(E).enter().append("text").attr("x",O=>O.data.x+O.data.width/2).attr("y",O=>O.data.y+10).attr("text-anchor","middle").attr("dominant-baseline","hanging").attr("fill","black").attr("font-size",`${D}px`).text(O=>O.label)}break;case"text":C.selectAll("text").data(T.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",w=>w.fill).attr("font-size",w=>w.fontSize).attr("dominant-baseline",w=>u(w.verticalPos)).attr("text-anchor",w=>h(w.horizontalPos)).attr("transform",w=>f(w)).text(w=>w.text);break;case"path":C.selectAll("path").data(T.data).enter().append("path").attr("d",w=>w.path).attr("fill",w=>w.fill?w.fill:"none").attr("stroke",w=>w.strokeFill).attr("stroke-width",w=>w.strokeWidth);break}}},"draw"),hde={draw:kUe}});var dde={};hr(dde,{diagram:()=>EUe});var EUe,pde=N(()=>{"use strict";Hfe();ude();fde();EUe={parser:Ufe,db:cde,renderer:hde}});var cP,yde,vde=N(()=>{"use strict";cP=function(){var t=o(function(ie,oe,V,Te){for(V=V||{},Te=ie.length;Te--;V[ie[Te]]=oe);return V},"o"),e=[1,3],r=[1,4],n=[1,5],i=[1,6],a=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],s=[1,22],l=[2,7],u=[1,26],h=[1,27],f=[1,28],d=[1,29],p=[1,33],m=[1,34],g=[1,35],y=[1,36],v=[1,37],x=[1,38],b=[1,24],T=[1,31],C=[1,32],w=[1,30],E=[1,39],_=[1,40],A=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],D=[1,61],O=[89,90],R=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],k=[27,29],L=[1,70],S=[1,71],I=[1,72],M=[1,73],P=[1,74],B=[1,75],F=[1,76],z=[1,83],$=[1,80],U=[1,84],K=[1,85],ee=[1,86],Y=[1,87],ce=[1,88],Z=[1,89],ue=[1,90],Q=[1,91],j=[1,92],ne=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],te=[63,64],he=[1,101],le=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],J=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Se=[1,110],se=[1,106],ae=[1,107],Oe=[1,108],ye=[1,109],Be=[1,111],He=[1,116],ze=[1,117],Le=[1,114],Ie=[1,115],xe={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:o(function(oe,V,Te,W,pe,ve,Pe){var _e=ve.length-1;switch(pe){case 4:this.$=ve[_e].trim(),W.setAccTitle(this.$);break;case 5:case 6:this.$=ve[_e].trim(),W.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:W.setDirection("TB");break;case 18:W.setDirection("BT");break;case 19:W.setDirection("RL");break;case 20:W.setDirection("LR");break;case 21:W.addRequirement(ve[_e-3],ve[_e-4]);break;case 22:W.addRequirement(ve[_e-5],ve[_e-6]),W.setClass([ve[_e-5]],ve[_e-3]);break;case 23:W.setNewReqId(ve[_e-2]);break;case 24:W.setNewReqText(ve[_e-2]);break;case 25:W.setNewReqRisk(ve[_e-2]);break;case 26:W.setNewReqVerifyMethod(ve[_e-2]);break;case 29:this.$=W.RequirementType.REQUIREMENT;break;case 30:this.$=W.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=W.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=W.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=W.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=W.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=W.RiskLevel.LOW_RISK;break;case 36:this.$=W.RiskLevel.MED_RISK;break;case 37:this.$=W.RiskLevel.HIGH_RISK;break;case 38:this.$=W.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=W.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=W.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=W.VerifyType.VERIFY_TEST;break;case 42:W.addElement(ve[_e-3]);break;case 43:W.addElement(ve[_e-5]),W.setClass([ve[_e-5]],ve[_e-3]);break;case 44:W.setNewElementType(ve[_e-2]);break;case 45:W.setNewElementDocRef(ve[_e-2]);break;case 48:W.addRelationship(ve[_e-2],ve[_e],ve[_e-4]);break;case 49:W.addRelationship(ve[_e-2],ve[_e-4],ve[_e]);break;case 50:this.$=W.Relationships.CONTAINS;break;case 51:this.$=W.Relationships.COPIES;break;case 52:this.$=W.Relationships.DERIVES;break;case 53:this.$=W.Relationships.SATISFIES;break;case 54:this.$=W.Relationships.VERIFIES;break;case 55:this.$=W.Relationships.REFINES;break;case 56:this.$=W.Relationships.TRACES;break;case 57:this.$=ve[_e-2],W.defineClass(ve[_e-1],ve[_e]);break;case 58:W.setClass(ve[_e-1],ve[_e]);break;case 59:W.setClass([ve[_e-2]],ve[_e]);break;case 60:case 62:this.$=[ve[_e]];break;case 61:case 63:this.$=ve[_e-2].concat([ve[_e]]);break;case 64:this.$=ve[_e-2],W.setCssStyle(ve[_e-1],ve[_e]);break;case 65:this.$=[ve[_e]];break;case 66:ve[_e-2].push(ve[_e]),this.$=ve[_e-2];break;case 68:this.$=ve[_e-1]+ve[_e];break}},"anonymous"),table:[{3:1,4:2,6:e,9:r,11:n,13:i},{1:[3]},{3:8,4:2,5:[1,7],6:e,9:r,11:n,13:i},{5:[1,9]},{10:[1,10]},{12:[1,11]},t(a,[2,6]),{3:12,4:2,6:e,9:r,11:n,13:i},{1:[2,2]},{4:17,5:s,7:13,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:v,46:x,54:b,72:T,74:C,77:w,89:E,90:_},t(a,[2,4]),t(a,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:s,7:42,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:v,46:x,54:b,72:T,74:C,77:w,89:E,90:_},{4:17,5:s,7:43,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:v,46:x,54:b,72:T,74:C,77:w,89:E,90:_},{4:17,5:s,7:44,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:v,46:x,54:b,72:T,74:C,77:w,89:E,90:_},{4:17,5:s,7:45,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:v,46:x,54:b,72:T,74:C,77:w,89:E,90:_},{4:17,5:s,7:46,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:v,46:x,54:b,72:T,74:C,77:w,89:E,90:_},{4:17,5:s,7:47,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:v,46:x,54:b,72:T,74:C,77:w,89:E,90:_},{4:17,5:s,7:48,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:v,46:x,54:b,72:T,74:C,77:w,89:E,90:_},{4:17,5:s,7:49,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:v,46:x,54:b,72:T,74:C,77:w,89:E,90:_},{4:17,5:s,7:50,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:v,46:x,54:b,72:T,74:C,77:w,89:E,90:_},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},t(A,[2,17]),t(A,[2,18]),t(A,[2,19]),t(A,[2,20]),{30:60,33:62,75:D,89:E,90:_},{30:63,33:62,75:D,89:E,90:_},{30:64,33:62,75:D,89:E,90:_},t(O,[2,29]),t(O,[2,30]),t(O,[2,31]),t(O,[2,32]),t(O,[2,33]),t(O,[2,34]),t(R,[2,81]),t(R,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},t(k,[2,79]),t(k,[2,80]),{27:[1,67],29:[1,68]},t(k,[2,85]),t(k,[2,86]),{62:69,65:L,66:S,67:I,68:M,69:P,70:B,71:F},{62:77,65:L,66:S,67:I,68:M,69:P,70:B,71:F},{30:78,33:62,75:D,89:E,90:_},{73:79,75:z,76:$,78:81,79:82,80:U,81:K,82:ee,83:Y,84:ce,85:Z,86:ue,87:Q,88:j},t(ne,[2,60]),t(ne,[2,62]),{73:93,75:z,76:$,78:81,79:82,80:U,81:K,82:ee,83:Y,84:ce,85:Z,86:ue,87:Q,88:j},{30:94,33:62,75:D,76:$,89:E,90:_},{5:[1,95]},{30:96,33:62,75:D,89:E,90:_},{5:[1,97]},{30:98,33:62,75:D,89:E,90:_},{63:[1,99]},t(te,[2,50]),t(te,[2,51]),t(te,[2,52]),t(te,[2,53]),t(te,[2,54]),t(te,[2,55]),t(te,[2,56]),{64:[1,100]},t(A,[2,59],{76:$}),t(A,[2,64],{76:he}),{33:103,75:[1,102],89:E,90:_},t(le,[2,65],{79:104,75:z,80:U,81:K,82:ee,83:Y,84:ce,85:Z,86:ue,87:Q,88:j}),t(J,[2,67]),t(J,[2,69]),t(J,[2,70]),t(J,[2,71]),t(J,[2,72]),t(J,[2,73]),t(J,[2,74]),t(J,[2,75]),t(J,[2,76]),t(J,[2,77]),t(J,[2,78]),t(A,[2,57],{76:he}),t(A,[2,58],{76:$}),{5:Se,28:105,31:se,34:ae,36:Oe,38:ye,40:Be},{27:[1,112],76:$},{5:He,40:ze,56:113,57:Le,59:Ie},{27:[1,118],76:$},{33:119,89:E,90:_},{33:120,89:E,90:_},{75:z,78:121,79:82,80:U,81:K,82:ee,83:Y,84:ce,85:Z,86:ue,87:Q,88:j},t(ne,[2,61]),t(ne,[2,63]),t(J,[2,68]),t(A,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:Se,28:126,31:se,34:ae,36:Oe,38:ye,40:Be},t(A,[2,28]),{5:[1,127]},t(A,[2,42]),{32:[1,128]},{32:[1,129]},{5:He,40:ze,56:130,57:Le,59:Ie},t(A,[2,47]),{5:[1,131]},t(A,[2,48]),t(A,[2,49]),t(le,[2,66],{79:104,75:z,80:U,81:K,82:ee,83:Y,84:ce,85:Z,86:ue,87:Q,88:j}),{33:132,89:E,90:_},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},t(A,[2,27]),{5:Se,28:145,31:se,34:ae,36:Oe,38:ye,40:Be},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},t(A,[2,46]),{5:He,40:ze,56:152,57:Le,59:Ie},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},t(A,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},t(A,[2,43]),{5:Se,28:159,31:se,34:ae,36:Oe,38:ye,40:Be},{5:Se,28:160,31:se,34:ae,36:Oe,38:ye,40:Be},{5:Se,28:161,31:se,34:ae,36:Oe,38:ye,40:Be},{5:Se,28:162,31:se,34:ae,36:Oe,38:ye,40:Be},{5:He,40:ze,56:163,57:Le,59:Ie},{5:He,40:ze,56:164,57:Le,59:Ie},t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),t(A,[2,26]),t(A,[2,44]),t(A,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:o(function(oe,V){if(V.recoverable)this.trace(oe);else{var Te=new Error(oe);throw Te.hash=V,Te}},"parseError"),parse:o(function(oe){var V=this,Te=[0],W=[],pe=[null],ve=[],Pe=this.table,_e="",be=0,Ve=0,De=0,Ye=2,at=1,Rt=ve.slice.call(arguments,1),st=Object.create(this.lexer),Ue={yy:{}};for(var ut in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ut)&&(Ue.yy[ut]=this.yy[ut]);st.setInput(oe,Ue.yy),Ue.yy.lexer=st,Ue.yy.parser=this,typeof st.yylloc>"u"&&(st.yylloc={});var We=st.yylloc;ve.push(We);var lt=st.options&&st.options.ranges;typeof Ue.yy.parseError=="function"?this.parseError=Ue.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Xt(Mr){Te.length=Te.length-2*Mr,pe.length=pe.length-Mr,ve.length=ve.length-Mr}o(Xt,"popStack");function Tt(){var Mr;return Mr=W.pop()||st.lex()||at,typeof Mr!="number"&&(Mr instanceof Array&&(W=Mr,Mr=W.pop()),Mr=V.symbols_[Mr]||Mr),Mr}o(Tt,"lex");for(var Mt,bt,ht,St,ft,vt,nt={},dn,kt,In,en;;){if(ht=Te[Te.length-1],this.defaultActions[ht]?St=this.defaultActions[ht]:((Mt===null||typeof Mt>"u")&&(Mt=Tt()),St=Pe[ht]&&Pe[ht][Mt]),typeof St>"u"||!St.length||!St[0]){var Nr="";en=[];for(dn in Pe[ht])this.terminals_[dn]&&dn>Ye&&en.push("'"+this.terminals_[dn]+"'");st.showPosition?Nr="Parse error on line "+(be+1)+`: -`+st.showPosition()+` -Expecting `+en.join(", ")+", got '"+(this.terminals_[Mt]||Mt)+"'":Nr="Parse error on line "+(be+1)+": Unexpected "+(Mt==at?"end of input":"'"+(this.terminals_[Mt]||Mt)+"'"),this.parseError(Nr,{text:st.match,token:this.terminals_[Mt]||Mt,line:st.yylineno,loc:We,expected:en})}if(St[0]instanceof Array&&St.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ht+", token: "+Mt);switch(St[0]){case 1:Te.push(Mt),pe.push(st.yytext),ve.push(st.yylloc),Te.push(St[1]),Mt=null,bt?(Mt=bt,bt=null):(Ve=st.yyleng,_e=st.yytext,be=st.yylineno,We=st.yylloc,De>0&&De--);break;case 2:if(kt=this.productions_[St[1]][1],nt.$=pe[pe.length-kt],nt._$={first_line:ve[ve.length-(kt||1)].first_line,last_line:ve[ve.length-1].last_line,first_column:ve[ve.length-(kt||1)].first_column,last_column:ve[ve.length-1].last_column},lt&&(nt._$.range=[ve[ve.length-(kt||1)].range[0],ve[ve.length-1].range[1]]),vt=this.performAction.apply(nt,[_e,Ve,be,Ue.yy,St[1],pe,ve].concat(Rt)),typeof vt<"u")return vt;kt&&(Te=Te.slice(0,-1*kt*2),pe=pe.slice(0,-1*kt),ve=ve.slice(0,-1*kt)),Te.push(this.productions_[St[1]][0]),pe.push(nt.$),ve.push(nt._$),In=Pe[Te[Te.length-2]][Te[Te.length-1]],Te.push(In);break;case 3:return!0}}return!0},"parse")},q=function(){var ie={EOF:1,parseError:o(function(V,Te){if(this.yy.parser)this.yy.parser.parseError(V,Te);else throw new Error(V)},"parseError"),setInput:o(function(oe,V){return this.yy=V||this.yy||{},this._input=oe,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var oe=this._input[0];this.yytext+=oe,this.yyleng++,this.offset++,this.match+=oe,this.matched+=oe;var V=oe.match(/(?:\r\n?|\n).*/g);return V?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),oe},"input"),unput:o(function(oe){var V=oe.length,Te=oe.split(/(?:\r\n?|\n)/g);this._input=oe+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-V),this.offset-=V;var W=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Te.length-1&&(this.yylineno-=Te.length-1);var pe=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Te?(Te.length===W.length?this.yylloc.first_column:0)+W[W.length-Te.length].length-Te[0].length:this.yylloc.first_column-V},this.options.ranges&&(this.yylloc.range=[pe[0],pe[0]+this.yyleng-V]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+P+"^"},"showPosition"),test_match:o(function(M,P){var B,F,G;if(this.options.backtrack_lexer&&(G={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(G.yylloc.range=this.yylloc.range.slice(0))),F=M[0].match(/(?:\r\n?|\n).*/g),F&&(this.yylineno+=F.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:F?F[F.length-1].length-F[F.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+M[0].length},this.yytext+=M[0],this.match+=M[0],this.matches=M,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(M[0].length),this.matched+=M[0],B=this.performAction.call(this,this.yy,this,P,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),B)return B;if(this._backtrack){for(var $ in G)this[$]=G[$];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var M,P,B,F;this._more||(this.yytext="",this.match="");for(var G=this._currentRules(),$=0;$P[0].length)){if(P=B,F=$,this.options.backtrack_lexer){if(M=this.test_match(B,G[$]),M!==!1)return M;if(this._backtrack){P=!1;continue}else return!1}else if(!this.options.flex)break}return P?(M=this.test_match(P,G[F]),M!==!1?M:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var P=this.next();return P||this.lex()},"lex"),begin:o(function(P){this.conditionStack.push(P)},"begin"),popState:o(function(){var P=this.conditionStack.length-1;return P>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(P){return P=this.conditionStack.length-1-Math.abs(P||0),P>=0?this.conditionStack[P]:"INITIAL"},"topState"),pushState:o(function(P){this.begin(P)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(P,B,F,G){var $=G;switch(F){case 0:break;case 1:break;case 2:return this.popState(),34;break;case 3:return this.popState(),34;break;case 4:return 34;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.pushState("acc_descr"),21;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";break;case 18:return this.pushState("axis_data"),"Y_AXIS";break;case 19:return this.pushState("axis_band_data"),24;break;case 20:return 31;case 21:return this.pushState("data"),16;break;case 22:return this.pushState("data"),18;break;case 23:return this.pushState("data_inner"),24;break;case 24:return 27;case 25:return this.popState(),26;break;case 26:this.popState();break;case 27:this.pushState("string");break;case 28:this.popState();break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 43;case 33:return"COLON";case 34:return 44;case 35:return 28;case 36:return 45;case 37:return 46;case 38:return 48;case 39:return 50;case 40:return 47;case 41:return 41;case 42:return 49;case 43:return 42;case 44:break;case 45:return 35;case 46:return 36}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}};return I}();k.lexer=L;function C(){this.yy={}}return o(C,"Parser"),C.prototype=k,k.Parser=C,new C}();yB.parser=yB;kme=yB});function vB(t){return t.type==="bar"}function F6(t){return t.type==="band"}function ey(t){return t.type==="linear"}var $6=N(()=>{"use strict";o(vB,"isBarPlot");o(F6,"isBandAxisData");o(ey,"isLinearAxisData")});var ty,xB=N(()=>{"use strict";$o();ty=class{constructor(e){this.parentGroup=e}static{o(this,"TextDimensionCalculatorWithFont")}getMaxDimension(e,r){if(!this.parentGroup)return{width:e.reduce((a,s)=>Math.max(s.length,a),0)*r,height:r};let n={width:0,height:0},i=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",r);for(let a of e){let s=SQ(i,1,a),l=s?s.width:a.length*r,u=s?s.height:r;n.width=Math.max(n.width,l),n.height=Math.max(n.height,u)}return i.remove(),n}}});var ry,bB=N(()=>{"use strict";ry=class{constructor(e,r,n,i){this.axisConfig=e;this.title=r;this.textDimensionCalculator=n;this.axisThemeConfig=i;this.boundingRect={x:0,y:0,width:0,height:0};this.axisPosition="left";this.showTitle=!1;this.showLabel=!1;this.showTick=!1;this.showAxisLine=!1;this.outerPadding=0;this.titleTextHeight=0;this.labelTextHeight=0;this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}static{o(this,"BaseAxis")}setRange(e){this.range=e,this.axisPosition==="left"||this.axisPosition==="right"?this.boundingRect.height=e[1]-e[0]:this.boundingRect.width=e[1]-e[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(e=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let r=e.height;if(this.axisConfig.showAxisLine&&r>this.axisConfig.axisLineWidth&&(r-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),i=.2*e.width;this.outerPadding=Math.min(n.width/2,i);let a=n.height+this.axisConfig.labelPadding*2;this.labelTextHeight=n.height,a<=r&&(r-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&r>=this.axisConfig.tickLength&&(this.showTick=!0,r-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),i=n.height+this.axisConfig.titlePadding*2;this.titleTextHeight=n.height,i<=r&&(r-=i,this.showTitle=!0)}this.boundingRect.width=e.width,this.boundingRect.height=e.height-r}calculateSpaceIfDrawnVertical(e){let r=e.width;if(this.axisConfig.showAxisLine&&r>this.axisConfig.axisLineWidth&&(r-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),i=.2*e.height;this.outerPadding=Math.min(n.height/2,i);let a=n.width+this.axisConfig.labelPadding*2;a<=r&&(r-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&r>=this.axisConfig.tickLength&&(this.showTick=!0,r-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),i=n.height+this.axisConfig.titlePadding*2;this.titleTextHeight=n.height,i<=r&&(r-=i,this.showTitle=!0)}this.boundingRect.width=e.width-r,this.boundingRect.height=e.height}calculateSpace(e){return this.axisPosition==="left"||this.axisPosition==="right"?this.calculateSpaceIfDrawnVertical(e):this.calculateSpaceIfDrawnHorizontally(e),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let r=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${r},${this.boundingRect.y} L ${r},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(r=>({text:r.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(r),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){let r=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(n=>({path:`M ${r},${this.getScaleValue(n)} L ${r-this.axisConfig.tickLength},${this.getScaleValue(n)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let r=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${r} L ${this.boundingRect.x+this.boundingRect.width},${r}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(r=>({text:r.toString(),x:this.getScaleValue(r),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let r=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(n=>({path:`M ${this.getScaleValue(n)},${r} L ${this.getScaleValue(n)},${r+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let r=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${r} L ${this.boundingRect.x+this.boundingRect.width},${r}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(r=>({text:r.toString(),x:this.getScaleValue(r),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let r=this.boundingRect.y;e.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(n=>({path:`M ${this.getScaleValue(n)},${r+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(n)},${r+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),e}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");return this.axisPosition==="bottom"?this.getDrawableElementsForBottomAxis():this.axisPosition==="top"?this.getDrawableElementsForTopAxis():[]}}});var G6,Sme=N(()=>{"use strict";pr();pt();bB();G6=class extends ry{static{o(this,"BandAxis")}constructor(e,r,n,i,a){super(e,i,a,r),this.categories=n,this.scale=z0().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=z0().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),X.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}}});var z6,Cme=N(()=>{"use strict";pr();bB();z6=class extends ry{static{o(this,"LinearAxis")}constructor(e,r,n,i,a){super(e,i,a,r),this.domain=n,this.scale=Tl().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];this.axisPosition==="left"&&e.reverse(),this.scale=Tl().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}}});function TB(t,e,r,n){let i=new ty(n);return F6(t)?new G6(e,r,t.categories,t.title,i):new z6(e,r,[t.min,t.max],t.title,i)}var Ame=N(()=>{"use strict";$6();xB();Sme();Cme();o(TB,"getAxis")});function _me(t,e,r,n){let i=new ty(n);return new wB(i,t,e,r)}var wB,Dme=N(()=>{"use strict";xB();wB=class{constructor(e,r,n,i){this.textDimensionCalculator=e;this.chartConfig=r;this.chartData=n;this.chartThemeConfig=i;this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{o(this,"ChartTitle")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let r=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),n=Math.max(r.width,e.width),i=r.height+2*this.chartConfig.titlePadding;return r.width<=n&&r.height<=i&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=n,this.boundingRect.height=i,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){let e=[];return this.showChartTitle&&e.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),e}};o(_me,"getChartTitleComponent")});var V6,Lme=N(()=>{"use strict";pr();V6=class{constructor(e,r,n,i,a){this.plotData=e;this.xAxis=r;this.yAxis=n;this.orientation=i;this.plotIndex=a}static{o(this,"LinePlot")}getDrawableElement(){let e=this.plotData.data.map(n=>[this.xAxis.getScaleValue(n[0]),this.yAxis.getScaleValue(n[1])]),r;return this.orientation==="horizontal"?r=Cl().y(n=>n[0]).x(n=>n[1])(e):r=Cl().x(n=>n[0]).y(n=>n[1])(e),r?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:r,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}}});var U6,Rme=N(()=>{"use strict";U6=class{constructor(e,r,n,i,a,s){this.barData=e;this.boundingRect=r;this.xAxis=n;this.yAxis=i;this.orientation=a;this.plotIndex=s}static{o(this,"BarPlot")}getDrawableElement(){let e=this.barData.data.map(a=>[this.xAxis.getScaleValue(a[0]),this.yAxis.getScaleValue(a[1])]),n=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*(1-.05),i=n/2;return this.orientation==="horizontal"?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map(a=>({x:this.boundingRect.x,y:a[0]-i,height:n,width:a[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map(a=>({x:a[0]-i,y:a[1],width:n,height:this.boundingRect.y+this.boundingRect.height-a[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}}});function Nme(t,e,r){return new kB(t,e,r)}var kB,Mme=N(()=>{"use strict";Lme();Rme();kB=class{constructor(e,r,n){this.chartConfig=e;this.chartData=r;this.chartThemeConfig=n;this.boundingRect={x:0,y:0,width:0,height:0}}static{o(this,"BasePlot")}setAxes(e,r){this.xAxis=e,this.yAxis=r}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let e=[];for(let[r,n]of this.chartData.plots.entries())switch(n.type){case"line":{let i=new V6(n,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,r);e.push(...i.getDrawableElement())}break;case"bar":{let i=new U6(n,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,r);e.push(...i.getDrawableElement())}break}return e}};o(Nme,"getPlotComponent")});var H6,Ime=N(()=>{"use strict";Ame();Dme();Mme();$6();H6=class{constructor(e,r,n,i){this.chartConfig=e;this.chartData=r;this.componentStore={title:_me(e,r,n,i),plot:Nme(e,r,n),xAxis:TB(r.xAxis,e.xAxis,{titleColor:n.xAxisTitleColor,labelColor:n.xAxisLabelColor,tickColor:n.xAxisTickColor,axisLineColor:n.xAxisLineColor},i),yAxis:TB(r.yAxis,e.yAxis,{titleColor:n.yAxisTitleColor,labelColor:n.yAxisLabelColor,tickColor:n.yAxisTickColor,axisLineColor:n.yAxisLineColor},i)}}static{o(this,"Orchestrator")}calculateVerticalSpace(){let e=this.chartConfig.width,r=this.chartConfig.height,n=0,i=0,a=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),s=Math.floor(r*this.chartConfig.plotReservedSpacePercent/100),l=this.componentStore.plot.calculateSpace({width:a,height:s});e-=l.width,r-=l.height,l=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:r}),i=l.height,r-=l.height,this.componentStore.xAxis.setAxisPosition("bottom"),l=this.componentStore.xAxis.calculateSpace({width:e,height:r}),r-=l.height,this.componentStore.yAxis.setAxisPosition("left"),l=this.componentStore.yAxis.calculateSpace({width:e,height:r}),n=l.width,e-=l.width,e>0&&(a+=e,e=0),r>0&&(s+=r,r=0),this.componentStore.plot.calculateSpace({width:a,height:s}),this.componentStore.plot.setBoundingBoxXY({x:n,y:i}),this.componentStore.xAxis.setRange([n,n+a]),this.componentStore.xAxis.setBoundingBoxXY({x:n,y:i+s}),this.componentStore.yAxis.setRange([i,i+s]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:i}),this.chartData.plots.some(u=>vB(u))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,r=this.chartConfig.height,n=0,i=0,a=0,s=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),l=Math.floor(r*this.chartConfig.plotReservedSpacePercent/100),u=this.componentStore.plot.calculateSpace({width:s,height:l});e-=u.width,r-=u.height,u=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:r}),n=u.height,r-=u.height,this.componentStore.xAxis.setAxisPosition("left"),u=this.componentStore.xAxis.calculateSpace({width:e,height:r}),e-=u.width,i=u.width,this.componentStore.yAxis.setAxisPosition("top"),u=this.componentStore.yAxis.calculateSpace({width:e,height:r}),r-=u.height,a=n+u.height,e>0&&(s+=e,e=0),r>0&&(l+=r,r=0),this.componentStore.plot.calculateSpace({width:s,height:l}),this.componentStore.plot.setBoundingBoxXY({x:i,y:a}),this.componentStore.yAxis.setRange([i,i+s]),this.componentStore.yAxis.setBoundingBoxXY({x:i,y:n}),this.componentStore.xAxis.setRange([a,a+l]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some(h=>vB(h))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation==="horizontal"?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let r of Object.values(this.componentStore))e.push(...r.getDrawableElements());return e}}});var W6,Ome=N(()=>{"use strict";Ime();W6=class{static{o(this,"XYChartBuilder")}static build(e,r,n,i){return new H6(e,r,n,i).getDrawableElement()}}});function Bme(){let t=fh(),e=Qt();return Vn(t.xyChart,e.themeVariables.xyChart)}function Fme(){let t=Qt();return Vn(lr.xyChart,t.xyChart)}function $me(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function CB(t){let e=Qt();return ar(t.trim(),e)}function wQe(t){Pme=t}function kQe(t){t==="horizontal"?v4.chartOrientation="horizontal":v4.chartOrientation="vertical"}function EQe(t){hn.xAxis.title=CB(t.text)}function Gme(t,e){hn.xAxis={type:"linear",title:hn.xAxis.title,min:t,max:e},q6=!0}function SQe(t){hn.xAxis={type:"band",title:hn.xAxis.title,categories:t.map(e=>CB(e.text))},q6=!0}function CQe(t){hn.yAxis.title=CB(t.text)}function AQe(t,e){hn.yAxis={type:"linear",title:hn.yAxis.title,min:t,max:e},SB=!0}function _Qe(t){let e=Math.min(...t),r=Math.max(...t),n=ey(hn.yAxis)?hn.yAxis.min:1/0,i=ey(hn.yAxis)?hn.yAxis.max:-1/0;hn.yAxis={type:"linear",title:hn.yAxis.title,min:Math.min(n,e),max:Math.max(i,r)}}function zme(t){let e=[];if(t.length===0)return e;if(!q6){let r=ey(hn.xAxis)?hn.xAxis.min:1/0,n=ey(hn.xAxis)?hn.xAxis.max:-1/0;Gme(Math.min(r,1),Math.max(n,t.length))}if(SB||_Qe(t),F6(hn.xAxis)&&(e=hn.xAxis.categories.map((r,n)=>[r,t[n]])),ey(hn.xAxis)){let r=hn.xAxis.min,n=hn.xAxis.max,i=(n-r)/(t.length-1),a=[];for(let s=r;s<=n;s+=i)a.push(`${s}`);e=a.map((s,l)=>[s,t[l]])}return e}function Vme(t){return EB[t===0?0:t%EB.length]}function DQe(t,e){let r=zme(e);hn.plots.push({type:"line",strokeFill:Vme(y4),strokeWidth:2,data:r}),y4++}function LQe(t,e){let r=zme(e);hn.plots.push({type:"bar",fill:Vme(y4),data:r}),y4++}function RQe(){if(hn.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return hn.title=Rr(),W6.build(v4,hn,x4,Pme)}function NQe(){return x4}function MQe(){return v4}function IQe(){return hn}var y4,Pme,v4,x4,hn,EB,q6,SB,OQe,Ume,Hme=N(()=>{"use strict";Wn();_a();My();tr();dr();ui();Ome();$6();y4=0,v4=Fme(),x4=Bme(),hn=$me(),EB=x4.plotColorPalette.split(",").map(t=>t.trim()),q6=!1,SB=!1;o(Bme,"getChartDefaultThemeConfig");o(Fme,"getChartDefaultConfig");o($me,"getChartDefaultData");o(CB,"textSanitizer");o(wQe,"setTmpSVGG");o(kQe,"setOrientation");o(EQe,"setXAxisTitle");o(Gme,"setXAxisRangeData");o(SQe,"setXAxisBand");o(CQe,"setYAxisTitle");o(AQe,"setYAxisRangeData");o(_Qe,"setYAxisRangeFromPlotData");o(zme,"transformDataWithoutCategory");o(Vme,"getPlotColorFromPalette");o(DQe,"setLineData");o(LQe,"setBarData");o(RQe,"getDrawableElem");o(NQe,"getChartThemeConfig");o(MQe,"getChartConfig");o(IQe,"getXYChartData");OQe=o(function(){wr(),y4=0,v4=Fme(),hn=$me(),x4=Bme(),EB=x4.plotColorPalette.split(",").map(t=>t.trim()),q6=!1,SB=!1},"clear"),Ume={getDrawableElem:RQe,clear:OQe,setAccTitle:Cr,getAccTitle:_r,setDiagramTitle:Or,getDiagramTitle:Rr,getAccDescription:Lr,setAccDescription:Dr,setOrientation:kQe,setXAxisTitle:EQe,setXAxisRangeData:Gme,setXAxisBand:SQe,setYAxisTitle:CQe,setYAxisRangeData:AQe,setLineData:DQe,setBarData:LQe,setTmpSVGG:wQe,getChartThemeConfig:NQe,getChartConfig:MQe,getXYChartData:IQe}});var PQe,Wme,qme=N(()=>{"use strict";pt();Jc();Ci();PQe=o((t,e,r,n)=>{let i=n.db,a=i.getChartThemeConfig(),s=i.getChartConfig(),l=i.getXYChartData().plots[0].data.map(T=>T[1]);function u(T){return T==="top"?"text-before-edge":"middle"}o(u,"getDominantBaseLine");function h(T){return T==="left"?"start":T==="right"?"end":"middle"}o(h,"getTextAnchor");function f(T){return`translate(${T.x}, ${T.y}) rotate(${T.rotation||0})`}o(f,"getTextTransformation"),X.debug(`Rendering xychart chart +`+t);let d=aa(e),p=d.append("g").attr("class","main"),m=p.append("rect").attr("width",s.width).attr("height",s.height).attr("class","background");fn(d,s.height,s.width,!0),d.attr("viewBox",`0 0 ${s.width} ${s.height}`),m.attr("fill",a.backgroundColor),i.setTmpSVGG(d.append("g").attr("class","mermaid-tmp-group"));let g=i.getDrawableElem(),y={};function x(T){let S=p,w="";for(let[E]of T.entries()){let _=p;E>0&&y[w]&&(_=y[w]),w+=T[E],S=y[w],S||(S=y[w]=_.append("g").attr("class",T[E]))}return S}o(x,"getGroup");for(let T of g){if(T.data.length===0)continue;let S=x(T.groupTexts);switch(T.type){case"rect":if(S.selectAll("rect").data(T.data).enter().append("rect").attr("x",w=>w.x).attr("y",w=>w.y).attr("width",w=>w.width).attr("height",w=>w.height).attr("fill",w=>w.fill).attr("stroke",w=>w.strokeFill).attr("stroke-width",w=>w.strokeWidth),s.showDataLabel)if(s.chartOrientation==="horizontal"){let _=function(O,R){let{data:k,label:L}=O;return R*L.length*.7<=k.width-10};var v=_;o(_,"fitsHorizontally");let w=.7,E=T.data.map((O,R)=>({data:O,label:l[R].toString()})).filter(O=>O.data.width>0&&O.data.height>0),A=E.map(O=>{let{data:R}=O,k=R.height*.7;for(;!_(O,k)&&k>0;)k-=1;return k}),D=Math.floor(Math.min(...A));S.selectAll("text").data(E).enter().append("text").attr("x",O=>O.data.x+O.data.width-10).attr("y",O=>O.data.y+O.data.height/2).attr("text-anchor","end").attr("dominant-baseline","middle").attr("fill","black").attr("font-size",`${D}px`).text(O=>O.label)}else{let _=function(O,R,k){let{data:L,label:C}=O,M=R*C.length*.7,P=L.x+L.width/2,B=P-M/2,F=P+M/2,G=B>=L.x&&F<=L.x+L.width,$=L.y+k+R<=L.y+L.height;return G&&$};var b=_;o(_,"fitsInBar");let w=10,E=T.data.map((O,R)=>({data:O,label:l[R].toString()})).filter(O=>O.data.width>0&&O.data.height>0),A=E.map(O=>{let{data:R,label:k}=O,L=R.width/(k.length*.7);for(;!_(O,L,10)&&L>0;)L-=1;return L}),D=Math.floor(Math.min(...A));S.selectAll("text").data(E).enter().append("text").attr("x",O=>O.data.x+O.data.width/2).attr("y",O=>O.data.y+10).attr("text-anchor","middle").attr("dominant-baseline","hanging").attr("fill","black").attr("font-size",`${D}px`).text(O=>O.label)}break;case"text":S.selectAll("text").data(T.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",w=>w.fill).attr("font-size",w=>w.fontSize).attr("dominant-baseline",w=>u(w.verticalPos)).attr("text-anchor",w=>h(w.horizontalPos)).attr("transform",w=>f(w)).text(w=>w.text);break;case"path":S.selectAll("path").data(T.data).enter().append("path").attr("d",w=>w.path).attr("fill",w=>w.fill?w.fill:"none").attr("stroke",w=>w.strokeFill).attr("stroke-width",w=>w.strokeWidth);break}}},"draw"),Wme={draw:PQe}});var Yme={};ur(Yme,{diagram:()=>BQe});var BQe,Xme=N(()=>{"use strict";Eme();Hme();qme();BQe={parser:kme,db:Ume,renderer:Wme}});var AB,Qme,Zme=N(()=>{"use strict";AB=function(){var t=o(function(ae,oe,V,xe){for(V=V||{},xe=ae.length;xe--;V[ae[xe]]=oe);return V},"o"),e=[1,3],r=[1,4],n=[1,5],i=[1,6],a=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],s=[1,22],l=[2,7],u=[1,26],h=[1,27],f=[1,28],d=[1,29],p=[1,33],m=[1,34],g=[1,35],y=[1,36],x=[1,37],v=[1,38],b=[1,24],T=[1,31],S=[1,32],w=[1,30],E=[1,39],_=[1,40],A=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],D=[1,61],O=[89,90],R=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],k=[27,29],L=[1,70],C=[1,71],I=[1,72],M=[1,73],P=[1,74],B=[1,75],F=[1,76],G=[1,83],$=[1,80],U=[1,84],K=[1,85],ne=[1,86],j=[1,87],le=[1,88],Z=[1,89],ce=[1,90],Q=[1,91],ee=[1,92],te=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],re=[63,64],he=[1,101],J=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],ye=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],se=[1,110],Se=[1,106],W=[1,107],Oe=[1,108],ve=[1,109],Pe=[1,111],qe=[1,116],Ge=[1,117],Ne=[1,114],Me=[1,115],be={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:o(function(oe,V,xe,Y,de,me,Be){var _e=me.length-1;switch(de){case 4:this.$=me[_e].trim(),Y.setAccTitle(this.$);break;case 5:case 6:this.$=me[_e].trim(),Y.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:Y.setDirection("TB");break;case 18:Y.setDirection("BT");break;case 19:Y.setDirection("RL");break;case 20:Y.setDirection("LR");break;case 21:Y.addRequirement(me[_e-3],me[_e-4]);break;case 22:Y.addRequirement(me[_e-5],me[_e-6]),Y.setClass([me[_e-5]],me[_e-3]);break;case 23:Y.setNewReqId(me[_e-2]);break;case 24:Y.setNewReqText(me[_e-2]);break;case 25:Y.setNewReqRisk(me[_e-2]);break;case 26:Y.setNewReqVerifyMethod(me[_e-2]);break;case 29:this.$=Y.RequirementType.REQUIREMENT;break;case 30:this.$=Y.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=Y.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=Y.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=Y.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=Y.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=Y.RiskLevel.LOW_RISK;break;case 36:this.$=Y.RiskLevel.MED_RISK;break;case 37:this.$=Y.RiskLevel.HIGH_RISK;break;case 38:this.$=Y.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=Y.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=Y.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=Y.VerifyType.VERIFY_TEST;break;case 42:Y.addElement(me[_e-3]);break;case 43:Y.addElement(me[_e-5]),Y.setClass([me[_e-5]],me[_e-3]);break;case 44:Y.setNewElementType(me[_e-2]);break;case 45:Y.setNewElementDocRef(me[_e-2]);break;case 48:Y.addRelationship(me[_e-2],me[_e],me[_e-4]);break;case 49:Y.addRelationship(me[_e-2],me[_e-4],me[_e]);break;case 50:this.$=Y.Relationships.CONTAINS;break;case 51:this.$=Y.Relationships.COPIES;break;case 52:this.$=Y.Relationships.DERIVES;break;case 53:this.$=Y.Relationships.SATISFIES;break;case 54:this.$=Y.Relationships.VERIFIES;break;case 55:this.$=Y.Relationships.REFINES;break;case 56:this.$=Y.Relationships.TRACES;break;case 57:this.$=me[_e-2],Y.defineClass(me[_e-1],me[_e]);break;case 58:Y.setClass(me[_e-1],me[_e]);break;case 59:Y.setClass([me[_e-2]],me[_e]);break;case 60:case 62:this.$=[me[_e]];break;case 61:case 63:this.$=me[_e-2].concat([me[_e]]);break;case 64:this.$=me[_e-2],Y.setCssStyle(me[_e-1],me[_e]);break;case 65:this.$=[me[_e]];break;case 66:me[_e-2].push(me[_e]),this.$=me[_e-2];break;case 68:this.$=me[_e-1]+me[_e];break}},"anonymous"),table:[{3:1,4:2,6:e,9:r,11:n,13:i},{1:[3]},{3:8,4:2,5:[1,7],6:e,9:r,11:n,13:i},{5:[1,9]},{10:[1,10]},{12:[1,11]},t(a,[2,6]),{3:12,4:2,6:e,9:r,11:n,13:i},{1:[2,2]},{4:17,5:s,7:13,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:x,46:v,54:b,72:T,74:S,77:w,89:E,90:_},t(a,[2,4]),t(a,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:s,7:42,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:x,46:v,54:b,72:T,74:S,77:w,89:E,90:_},{4:17,5:s,7:43,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:x,46:v,54:b,72:T,74:S,77:w,89:E,90:_},{4:17,5:s,7:44,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:x,46:v,54:b,72:T,74:S,77:w,89:E,90:_},{4:17,5:s,7:45,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:x,46:v,54:b,72:T,74:S,77:w,89:E,90:_},{4:17,5:s,7:46,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:x,46:v,54:b,72:T,74:S,77:w,89:E,90:_},{4:17,5:s,7:47,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:x,46:v,54:b,72:T,74:S,77:w,89:E,90:_},{4:17,5:s,7:48,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:x,46:v,54:b,72:T,74:S,77:w,89:E,90:_},{4:17,5:s,7:49,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:x,46:v,54:b,72:T,74:S,77:w,89:E,90:_},{4:17,5:s,7:50,8:l,9:r,11:n,13:i,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:u,22:h,23:f,24:d,25:23,33:25,41:p,42:m,43:g,44:y,45:x,46:v,54:b,72:T,74:S,77:w,89:E,90:_},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},t(A,[2,17]),t(A,[2,18]),t(A,[2,19]),t(A,[2,20]),{30:60,33:62,75:D,89:E,90:_},{30:63,33:62,75:D,89:E,90:_},{30:64,33:62,75:D,89:E,90:_},t(O,[2,29]),t(O,[2,30]),t(O,[2,31]),t(O,[2,32]),t(O,[2,33]),t(O,[2,34]),t(R,[2,81]),t(R,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},t(k,[2,79]),t(k,[2,80]),{27:[1,67],29:[1,68]},t(k,[2,85]),t(k,[2,86]),{62:69,65:L,66:C,67:I,68:M,69:P,70:B,71:F},{62:77,65:L,66:C,67:I,68:M,69:P,70:B,71:F},{30:78,33:62,75:D,89:E,90:_},{73:79,75:G,76:$,78:81,79:82,80:U,81:K,82:ne,83:j,84:le,85:Z,86:ce,87:Q,88:ee},t(te,[2,60]),t(te,[2,62]),{73:93,75:G,76:$,78:81,79:82,80:U,81:K,82:ne,83:j,84:le,85:Z,86:ce,87:Q,88:ee},{30:94,33:62,75:D,76:$,89:E,90:_},{5:[1,95]},{30:96,33:62,75:D,89:E,90:_},{5:[1,97]},{30:98,33:62,75:D,89:E,90:_},{63:[1,99]},t(re,[2,50]),t(re,[2,51]),t(re,[2,52]),t(re,[2,53]),t(re,[2,54]),t(re,[2,55]),t(re,[2,56]),{64:[1,100]},t(A,[2,59],{76:$}),t(A,[2,64],{76:he}),{33:103,75:[1,102],89:E,90:_},t(J,[2,65],{79:104,75:G,80:U,81:K,82:ne,83:j,84:le,85:Z,86:ce,87:Q,88:ee}),t(ye,[2,67]),t(ye,[2,69]),t(ye,[2,70]),t(ye,[2,71]),t(ye,[2,72]),t(ye,[2,73]),t(ye,[2,74]),t(ye,[2,75]),t(ye,[2,76]),t(ye,[2,77]),t(ye,[2,78]),t(A,[2,57],{76:he}),t(A,[2,58],{76:$}),{5:se,28:105,31:Se,34:W,36:Oe,38:ve,40:Pe},{27:[1,112],76:$},{5:qe,40:Ge,56:113,57:Ne,59:Me},{27:[1,118],76:$},{33:119,89:E,90:_},{33:120,89:E,90:_},{75:G,78:121,79:82,80:U,81:K,82:ne,83:j,84:le,85:Z,86:ce,87:Q,88:ee},t(te,[2,61]),t(te,[2,63]),t(ye,[2,68]),t(A,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:se,28:126,31:Se,34:W,36:Oe,38:ve,40:Pe},t(A,[2,28]),{5:[1,127]},t(A,[2,42]),{32:[1,128]},{32:[1,129]},{5:qe,40:Ge,56:130,57:Ne,59:Me},t(A,[2,47]),{5:[1,131]},t(A,[2,48]),t(A,[2,49]),t(J,[2,66],{79:104,75:G,80:U,81:K,82:ne,83:j,84:le,85:Z,86:ce,87:Q,88:ee}),{33:132,89:E,90:_},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},t(A,[2,27]),{5:se,28:145,31:Se,34:W,36:Oe,38:ve,40:Pe},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},t(A,[2,46]),{5:qe,40:Ge,56:152,57:Ne,59:Me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},t(A,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},t(A,[2,43]),{5:se,28:159,31:Se,34:W,36:Oe,38:ve,40:Pe},{5:se,28:160,31:Se,34:W,36:Oe,38:ve,40:Pe},{5:se,28:161,31:Se,34:W,36:Oe,38:ve,40:Pe},{5:se,28:162,31:Se,34:W,36:Oe,38:ve,40:Pe},{5:qe,40:Ge,56:163,57:Ne,59:Me},{5:qe,40:Ge,56:164,57:Ne,59:Me},t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),t(A,[2,26]),t(A,[2,44]),t(A,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:o(function(oe,V){if(V.recoverable)this.trace(oe);else{var xe=new Error(oe);throw xe.hash=V,xe}},"parseError"),parse:o(function(oe){var V=this,xe=[0],Y=[],de=[null],me=[],Be=this.table,_e="",Te=0,Ue=0,De=0,Qe=2,ot=1,Gt=me.slice.call(arguments,1),Ze=Object.create(this.lexer),Ve={yy:{}};for(var ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ht)&&(Ve.yy[ht]=this.yy[ht]);Ze.setInput(oe,Ve.yy),Ve.yy.lexer=Ze,Ve.yy.parser=this,typeof Ze.yylloc>"u"&&(Ze.yylloc={});var Ye=Ze.yylloc;me.push(Ye);var ct=Ze.options&&Ze.options.ranges;typeof Ve.yy.parseError=="function"?this.parseError=Ve.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Yt(Mr){xe.length=xe.length-2*Mr,de.length=de.length-Mr,me.length=me.length-Mr}o(Yt,"popStack");function Tt(){var Mr;return Mr=Y.pop()||Ze.lex()||ot,typeof Mr!="number"&&(Mr instanceof Array&&(Y=Mr,Mr=Y.pop()),Mr=V.symbols_[Mr]||Mr),Mr}o(Tt,"lex");for(var Mt,bt,ft,St,dt,vt,at={},pn,kt,Fn,tn;;){if(ft=xe[xe.length-1],this.defaultActions[ft]?St=this.defaultActions[ft]:((Mt===null||typeof Mt>"u")&&(Mt=Tt()),St=Be[ft]&&Be[ft][Mt]),typeof St>"u"||!St.length||!St[0]){var Nr="";tn=[];for(pn in Be[ft])this.terminals_[pn]&&pn>Qe&&tn.push("'"+this.terminals_[pn]+"'");Ze.showPosition?Nr="Parse error on line "+(Te+1)+`: +`+Ze.showPosition()+` +Expecting `+tn.join(", ")+", got '"+(this.terminals_[Mt]||Mt)+"'":Nr="Parse error on line "+(Te+1)+": Unexpected "+(Mt==ot?"end of input":"'"+(this.terminals_[Mt]||Mt)+"'"),this.parseError(Nr,{text:Ze.match,token:this.terminals_[Mt]||Mt,line:Ze.yylineno,loc:Ye,expected:tn})}if(St[0]instanceof Array&&St.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ft+", token: "+Mt);switch(St[0]){case 1:xe.push(Mt),de.push(Ze.yytext),me.push(Ze.yylloc),xe.push(St[1]),Mt=null,bt?(Mt=bt,bt=null):(Ue=Ze.yyleng,_e=Ze.yytext,Te=Ze.yylineno,Ye=Ze.yylloc,De>0&&De--);break;case 2:if(kt=this.productions_[St[1]][1],at.$=de[de.length-kt],at._$={first_line:me[me.length-(kt||1)].first_line,last_line:me[me.length-1].last_line,first_column:me[me.length-(kt||1)].first_column,last_column:me[me.length-1].last_column},ct&&(at._$.range=[me[me.length-(kt||1)].range[0],me[me.length-1].range[1]]),vt=this.performAction.apply(at,[_e,Ue,Te,Ve.yy,St[1],de,me].concat(Gt)),typeof vt<"u")return vt;kt&&(xe=xe.slice(0,-1*kt*2),de=de.slice(0,-1*kt),me=me.slice(0,-1*kt)),xe.push(this.productions_[St[1]][0]),de.push(at.$),me.push(at._$),Fn=Be[xe[xe.length-2]][xe[xe.length-1]],xe.push(Fn);break;case 3:return!0}}return!0},"parse")},q=function(){var ae={EOF:1,parseError:o(function(V,xe){if(this.yy.parser)this.yy.parser.parseError(V,xe);else throw new Error(V)},"parseError"),setInput:o(function(oe,V){return this.yy=V||this.yy||{},this._input=oe,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var oe=this._input[0];this.yytext+=oe,this.yyleng++,this.offset++,this.match+=oe,this.matched+=oe;var V=oe.match(/(?:\r\n?|\n).*/g);return V?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),oe},"input"),unput:o(function(oe){var V=oe.length,xe=oe.split(/(?:\r\n?|\n)/g);this._input=oe+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-V),this.offset-=V;var Y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),xe.length-1&&(this.yylineno-=xe.length-1);var de=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:xe?(xe.length===Y.length?this.yylloc.first_column:0)+Y[Y.length-xe.length].length-xe[0].length:this.yylloc.first_column-V},this.options.ranges&&(this.yylloc.range=[de[0],de[0]+this.yyleng-V]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(oe){this.unput(this.match.slice(oe))},"less"),pastInput:o(function(){var oe=this.matched.substr(0,this.matched.length-this.match.length);return(oe.length>20?"...":"")+oe.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var oe=this.match;return oe.length<20&&(oe+=this._input.substr(0,20-oe.length)),(oe.substr(0,20)+(oe.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var oe=this.pastInput(),V=new Array(oe.length+1).join("-");return oe+this.upcomingInput()+` -`+V+"^"},"showPosition"),test_match:o(function(oe,V){var Te,W,pe;if(this.options.backtrack_lexer&&(pe={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(pe.yylloc.range=this.yylloc.range.slice(0))),W=oe[0].match(/(?:\r\n?|\n).*/g),W&&(this.yylineno+=W.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:W?W[W.length-1].length-W[W.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+oe[0].length},this.yytext+=oe[0],this.match+=oe[0],this.matches=oe,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(oe[0].length),this.matched+=oe[0],Te=this.performAction.call(this,this.yy,this,V,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Te)return Te;if(this._backtrack){for(var ve in pe)this[ve]=pe[ve];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var oe,V,Te,W;this._more||(this.yytext="",this.match="");for(var pe=this._currentRules(),ve=0;veV[0].length)){if(V=Te,W=ve,this.options.backtrack_lexer){if(oe=this.test_match(Te,pe[ve]),oe!==!1)return oe;if(this._backtrack){V=!1;continue}else return!1}else if(!this.options.flex)break}return V?(oe=this.test_match(V,pe[W]),oe!==!1?oe:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var V=this.next();return V||this.lex()},"lex"),begin:o(function(V){this.conditionStack.push(V)},"begin"),popState:o(function(){var V=this.conditionStack.length-1;return V>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(V){return V=this.conditionStack.length-1-Math.abs(V||0),V>=0?this.conditionStack[V]:"INITIAL"},"topState"),pushState:o(function(V){this.begin(V)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(V,Te,W,pe){var ve=pe;switch(W){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return Te.yytext=Te.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return ie}();xe.lexer=q;function de(){this.yy={}}return o(de,"Parser"),de.prototype=xe,xe.Parser=de,new de}();cP.parser=cP;yde=cP});var US,xde=N(()=>{"use strict";qt();yt();ci();US=class{constructor(){this.relations=[];this.latestRequirement=this.getInitialRequirement();this.requirements=new Map;this.latestElement=this.getInitialElement();this.elements=new Map;this.classes=new Map;this.direction="TB";this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"};this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"};this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"};this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"};this.setAccTitle=Cr;this.getAccTitle=_r;this.setAccDescription=Dr;this.getAccDescription=Lr;this.setDiagramTitle=Ir;this.getDiagramTitle=Rr;this.getConfig=o(()=>ge().requirement,"getConfig");this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{o(this,"RequirementDB")}getDirection(){return this.direction}setDirection(e){this.direction=e}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(e,r){return this.requirements.has(e)||this.requirements.set(e,{name:e,type:r,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]}),this.resetLatestRequirement(),this.requirements.get(e)}getRequirements(){return this.requirements}setNewReqId(e){this.latestRequirement!==void 0&&(this.latestRequirement.requirementId=e)}setNewReqText(e){this.latestRequirement!==void 0&&(this.latestRequirement.text=e)}setNewReqRisk(e){this.latestRequirement!==void 0&&(this.latestRequirement.risk=e)}setNewReqVerifyMethod(e){this.latestRequirement!==void 0&&(this.latestRequirement.verifyMethod=e)}addElement(e){return this.elements.has(e)||(this.elements.set(e,{name:e,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),X.info("Added new element: ",e)),this.resetLatestElement(),this.elements.get(e)}getElements(){return this.elements}setNewElementType(e){this.latestElement!==void 0&&(this.latestElement.type=e)}setNewElementDocRef(e){this.latestElement!==void 0&&(this.latestElement.docRef=e)}addRelationship(e,r,n){this.relations.push({type:e,src:r,dst:n})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,wr()}setCssStyle(e,r){for(let n of e){let i=this.requirements.get(n)??this.elements.get(n);if(!r||!i)return;for(let a of r)a.includes(",")?i.cssStyles.push(...a.split(",")):i.cssStyles.push(a)}}setClass(e,r){for(let n of e){let i=this.requirements.get(n)??this.elements.get(n);if(i)for(let a of r){i.classes.push(a);let s=this.classes.get(a)?.styles;s&&i.cssStyles.push(...s)}}}defineClass(e,r){for(let n of e){let i=this.classes.get(n);i===void 0&&(i={id:n,styles:[],textStyles:[]},this.classes.set(n,i)),r&&r.forEach(function(a){if(/color/.exec(a)){let s=a.replace("fill","bgFill");i.textStyles.push(s)}i.styles.push(a)}),this.requirements.forEach(a=>{a.classes.includes(n)&&a.cssStyles.push(...r.flatMap(s=>s.split(",")))}),this.elements.forEach(a=>{a.classes.includes(n)&&a.cssStyles.push(...r.flatMap(s=>s.split(",")))})}}getClasses(){return this.classes}getData(){let e=ge(),r=[],n=[];for(let i of this.requirements.values()){let a=i;a.id=i.name,a.cssStyles=i.cssStyles,a.cssClasses=i.classes.join(" "),a.shape="requirementBox",a.look=e.look,r.push(a)}for(let i of this.elements.values()){let a=i;a.shape="requirementBox",a.look=e.look,a.id=i.name,a.cssStyles=i.cssStyles,a.cssClasses=i.classes.join(" "),r.push(a)}for(let i of this.relations){let a=0,s=i.type===this.Relationships.CONTAINS,l={id:`${i.src}-${i.dst}-${a}`,start:this.requirements.get(i.src)?.name??this.elements.get(i.src)?.name,end:this.requirements.get(i.dst)?.name??this.elements.get(i.dst)?.name,label:`<<${i.type}>>`,classes:"relationshipLine",style:["fill:none",s?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:s?"normal":"dashed",arrowTypeStart:s?"requirement_contains":"",arrowTypeEnd:s?"":"requirement_arrow",look:e.look};n.push(l),a++}return{nodes:r,edges:n,other:{},config:e,direction:this.getDirection()}}}});var _Ue,bde,Tde=N(()=>{"use strict";_Ue=o(t=>` +`+V+"^"},"showPosition"),test_match:o(function(oe,V){var xe,Y,de;if(this.options.backtrack_lexer&&(de={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(de.yylloc.range=this.yylloc.range.slice(0))),Y=oe[0].match(/(?:\r\n?|\n).*/g),Y&&(this.yylineno+=Y.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Y?Y[Y.length-1].length-Y[Y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+oe[0].length},this.yytext+=oe[0],this.match+=oe[0],this.matches=oe,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(oe[0].length),this.matched+=oe[0],xe=this.performAction.call(this,this.yy,this,V,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),xe)return xe;if(this._backtrack){for(var me in de)this[me]=de[me];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var oe,V,xe,Y;this._more||(this.yytext="",this.match="");for(var de=this._currentRules(),me=0;meV[0].length)){if(V=xe,Y=me,this.options.backtrack_lexer){if(oe=this.test_match(xe,de[me]),oe!==!1)return oe;if(this._backtrack){V=!1;continue}else return!1}else if(!this.options.flex)break}return V?(oe=this.test_match(V,de[Y]),oe!==!1?oe:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var V=this.next();return V||this.lex()},"lex"),begin:o(function(V){this.conditionStack.push(V)},"begin"),popState:o(function(){var V=this.conditionStack.length-1;return V>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(V){return V=this.conditionStack.length-1-Math.abs(V||0),V>=0?this.conditionStack[V]:"INITIAL"},"topState"),pushState:o(function(V){this.begin(V)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(V,xe,Y,de){var me=de;switch(Y){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return xe.yytext=xe.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return ae}();be.lexer=q;function fe(){this.yy={}}return o(fe,"Parser"),fe.prototype=be,be.Parser=fe,new fe}();AB.parser=AB;Qme=AB});var Y6,Jme=N(()=>{"use strict";Xt();pt();ui();Y6=class{constructor(){this.relations=[];this.latestRequirement=this.getInitialRequirement();this.requirements=new Map;this.latestElement=this.getInitialElement();this.elements=new Map;this.classes=new Map;this.direction="TB";this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"};this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"};this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"};this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"};this.setAccTitle=Cr;this.getAccTitle=_r;this.setAccDescription=Dr;this.getAccDescription=Lr;this.setDiagramTitle=Or;this.getDiagramTitle=Rr;this.getConfig=o(()=>ge().requirement,"getConfig");this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{o(this,"RequirementDB")}getDirection(){return this.direction}setDirection(e){this.direction=e}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(e,r){return this.requirements.has(e)||this.requirements.set(e,{name:e,type:r,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]}),this.resetLatestRequirement(),this.requirements.get(e)}getRequirements(){return this.requirements}setNewReqId(e){this.latestRequirement!==void 0&&(this.latestRequirement.requirementId=e)}setNewReqText(e){this.latestRequirement!==void 0&&(this.latestRequirement.text=e)}setNewReqRisk(e){this.latestRequirement!==void 0&&(this.latestRequirement.risk=e)}setNewReqVerifyMethod(e){this.latestRequirement!==void 0&&(this.latestRequirement.verifyMethod=e)}addElement(e){return this.elements.has(e)||(this.elements.set(e,{name:e,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),X.info("Added new element: ",e)),this.resetLatestElement(),this.elements.get(e)}getElements(){return this.elements}setNewElementType(e){this.latestElement!==void 0&&(this.latestElement.type=e)}setNewElementDocRef(e){this.latestElement!==void 0&&(this.latestElement.docRef=e)}addRelationship(e,r,n){this.relations.push({type:e,src:r,dst:n})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,wr()}setCssStyle(e,r){for(let n of e){let i=this.requirements.get(n)??this.elements.get(n);if(!r||!i)return;for(let a of r)a.includes(",")?i.cssStyles.push(...a.split(",")):i.cssStyles.push(a)}}setClass(e,r){for(let n of e){let i=this.requirements.get(n)??this.elements.get(n);if(i)for(let a of r){i.classes.push(a);let s=this.classes.get(a)?.styles;s&&i.cssStyles.push(...s)}}}defineClass(e,r){for(let n of e){let i=this.classes.get(n);i===void 0&&(i={id:n,styles:[],textStyles:[]},this.classes.set(n,i)),r&&r.forEach(function(a){if(/color/.exec(a)){let s=a.replace("fill","bgFill");i.textStyles.push(s)}i.styles.push(a)}),this.requirements.forEach(a=>{a.classes.includes(n)&&a.cssStyles.push(...r.flatMap(s=>s.split(",")))}),this.elements.forEach(a=>{a.classes.includes(n)&&a.cssStyles.push(...r.flatMap(s=>s.split(",")))})}}getClasses(){return this.classes}getData(){let e=ge(),r=[],n=[];for(let i of this.requirements.values()){let a=i;a.id=i.name,a.cssStyles=i.cssStyles,a.cssClasses=i.classes.join(" "),a.shape="requirementBox",a.look=e.look,r.push(a)}for(let i of this.elements.values()){let a=i;a.shape="requirementBox",a.look=e.look,a.id=i.name,a.cssStyles=i.cssStyles,a.cssClasses=i.classes.join(" "),r.push(a)}for(let i of this.relations){let a=0,s=i.type===this.Relationships.CONTAINS,l={id:`${i.src}-${i.dst}-${a}`,start:this.requirements.get(i.src)?.name??this.elements.get(i.src)?.name,end:this.requirements.get(i.dst)?.name??this.elements.get(i.dst)?.name,label:`<<${i.type}>>`,classes:"relationshipLine",style:["fill:none",s?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:s?"normal":"dashed",arrowTypeStart:s?"requirement_contains":"",arrowTypeEnd:s?"":"requirement_arrow",look:e.look};n.push(l),a++}return{nodes:r,edges:n,other:{},config:e,direction:this.getDirection()}}}});var zQe,ege,tge=N(()=>{"use strict";zQe=o(t=>` marker { fill: ${t.relationColor}; @@ -1263,12 +1509,16 @@ Expecting `+en.join(", ")+", got '"+(this.terminals_[Mt]||Mt)+"'":Nr="Parse erro background-color: ${t.edgeLabelBackground}; } -`,"getStyles"),bde=_Ue});var uP={};hr(uP,{draw:()=>DUe});var DUe,wde=N(()=>{"use strict";qt();yt();xm();Zd();Jd();nr();DUe=o(async function(t,e,r,n){X.info("REF0:"),X.info("Drawing requirement diagram (unified)",e);let{securityLevel:i,state:a,layout:s}=ge(),l=n.db.getData(),u=bc(e,i);l.type=n.type,l.layoutAlgorithm=sf(s),l.nodeSpacing=a?.nodeSpacing??50,l.rankSpacing=a?.rankSpacing??50,l.markers=["requirement_contains","requirement_arrow"],l.diagramId=e,await Dc(l,u);let h=8;Vt.insertTitle(u,"requirementDiagramTitleText",a?.titleTopMargin??25,n.db.getDiagramTitle()),Wo(u,h,"requirementDiagram",a?.useMaxWidth??!0)},"draw")});var kde={};hr(kde,{diagram:()=>LUe});var LUe,Ede=N(()=>{"use strict";vde();xde();Tde();wde();LUe={parser:yde,get db(){return new US},renderer:uP,styles:bde}});var hP,Ade,_de=N(()=>{"use strict";hP=function(){var t=o(function(Q,j,ne,te){for(ne=ne||{},te=Q.length;te--;ne[Q[te]]=j);return ne},"o"),e=[1,2],r=[1,3],n=[1,4],i=[2,4],a=[1,9],s=[1,11],l=[1,13],u=[1,14],h=[1,16],f=[1,17],d=[1,18],p=[1,24],m=[1,25],g=[1,26],y=[1,27],v=[1,28],x=[1,29],b=[1,30],T=[1,31],C=[1,32],w=[1,33],E=[1,34],_=[1,35],A=[1,36],D=[1,37],O=[1,38],R=[1,39],k=[1,41],L=[1,42],S=[1,43],I=[1,44],M=[1,45],P=[1,46],B=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],F=[4,5,16,50,52,53],z=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],U=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],K=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ee=[68,69,70],Y=[1,122],ce={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:o(function(j,ne,te,he,le,J,Se){var se=J.length-1;switch(le){case 3:return he.apply(J[se]),J[se];break;case 4:case 9:this.$=[];break;case 5:case 10:J[se-1].push(J[se]),this.$=J[se-1];break;case 6:case 7:case 11:case 12:this.$=J[se];break;case 8:case 13:this.$=[];break;case 15:J[se].type="createParticipant",this.$=J[se];break;case 16:J[se-1].unshift({type:"boxStart",boxData:he.parseBoxData(J[se-2])}),J[se-1].push({type:"boxEnd",boxText:J[se-2]}),this.$=J[se-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(J[se-2]),sequenceIndexStep:Number(J[se-1]),sequenceVisible:!0,signalType:he.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(J[se-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:he.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:he.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:he.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:he.LINETYPE.ACTIVE_START,actor:J[se-1].actor};break;case 23:this.$={type:"activeEnd",signalType:he.LINETYPE.ACTIVE_END,actor:J[se-1].actor};break;case 29:he.setDiagramTitle(J[se].substring(6)),this.$=J[se].substring(6);break;case 30:he.setDiagramTitle(J[se].substring(7)),this.$=J[se].substring(7);break;case 31:this.$=J[se].trim(),he.setAccTitle(this.$);break;case 32:case 33:this.$=J[se].trim(),he.setAccDescription(this.$);break;case 34:J[se-1].unshift({type:"loopStart",loopText:he.parseMessage(J[se-2]),signalType:he.LINETYPE.LOOP_START}),J[se-1].push({type:"loopEnd",loopText:J[se-2],signalType:he.LINETYPE.LOOP_END}),this.$=J[se-1];break;case 35:J[se-1].unshift({type:"rectStart",color:he.parseMessage(J[se-2]),signalType:he.LINETYPE.RECT_START}),J[se-1].push({type:"rectEnd",color:he.parseMessage(J[se-2]),signalType:he.LINETYPE.RECT_END}),this.$=J[se-1];break;case 36:J[se-1].unshift({type:"optStart",optText:he.parseMessage(J[se-2]),signalType:he.LINETYPE.OPT_START}),J[se-1].push({type:"optEnd",optText:he.parseMessage(J[se-2]),signalType:he.LINETYPE.OPT_END}),this.$=J[se-1];break;case 37:J[se-1].unshift({type:"altStart",altText:he.parseMessage(J[se-2]),signalType:he.LINETYPE.ALT_START}),J[se-1].push({type:"altEnd",signalType:he.LINETYPE.ALT_END}),this.$=J[se-1];break;case 38:J[se-1].unshift({type:"parStart",parText:he.parseMessage(J[se-2]),signalType:he.LINETYPE.PAR_START}),J[se-1].push({type:"parEnd",signalType:he.LINETYPE.PAR_END}),this.$=J[se-1];break;case 39:J[se-1].unshift({type:"parStart",parText:he.parseMessage(J[se-2]),signalType:he.LINETYPE.PAR_OVER_START}),J[se-1].push({type:"parEnd",signalType:he.LINETYPE.PAR_END}),this.$=J[se-1];break;case 40:J[se-1].unshift({type:"criticalStart",criticalText:he.parseMessage(J[se-2]),signalType:he.LINETYPE.CRITICAL_START}),J[se-1].push({type:"criticalEnd",signalType:he.LINETYPE.CRITICAL_END}),this.$=J[se-1];break;case 41:J[se-1].unshift({type:"breakStart",breakText:he.parseMessage(J[se-2]),signalType:he.LINETYPE.BREAK_START}),J[se-1].push({type:"breakEnd",optText:he.parseMessage(J[se-2]),signalType:he.LINETYPE.BREAK_END}),this.$=J[se-1];break;case 43:this.$=J[se-3].concat([{type:"option",optionText:he.parseMessage(J[se-1]),signalType:he.LINETYPE.CRITICAL_OPTION},J[se]]);break;case 45:this.$=J[se-3].concat([{type:"and",parText:he.parseMessage(J[se-1]),signalType:he.LINETYPE.PAR_AND},J[se]]);break;case 47:this.$=J[se-3].concat([{type:"else",altText:he.parseMessage(J[se-1]),signalType:he.LINETYPE.ALT_ELSE},J[se]]);break;case 48:J[se-3].draw="participant",J[se-3].type="addParticipant",J[se-3].description=he.parseMessage(J[se-1]),this.$=J[se-3];break;case 49:J[se-1].draw="participant",J[se-1].type="addParticipant",this.$=J[se-1];break;case 50:J[se-3].draw="actor",J[se-3].type="addParticipant",J[se-3].description=he.parseMessage(J[se-1]),this.$=J[se-3];break;case 51:J[se-1].draw="actor",J[se-1].type="addParticipant",this.$=J[se-1];break;case 52:J[se-1].type="destroyParticipant",this.$=J[se-1];break;case 53:this.$=[J[se-1],{type:"addNote",placement:J[se-2],actor:J[se-1].actor,text:J[se]}];break;case 54:J[se-2]=[].concat(J[se-1],J[se-1]).slice(0,2),J[se-2][0]=J[se-2][0].actor,J[se-2][1]=J[se-2][1].actor,this.$=[J[se-1],{type:"addNote",placement:he.PLACEMENT.OVER,actor:J[se-2].slice(0,2),text:J[se]}];break;case 55:this.$=[J[se-1],{type:"addLinks",actor:J[se-1].actor,text:J[se]}];break;case 56:this.$=[J[se-1],{type:"addALink",actor:J[se-1].actor,text:J[se]}];break;case 57:this.$=[J[se-1],{type:"addProperties",actor:J[se-1].actor,text:J[se]}];break;case 58:this.$=[J[se-1],{type:"addDetails",actor:J[se-1].actor,text:J[se]}];break;case 61:this.$=[J[se-2],J[se]];break;case 62:this.$=J[se];break;case 63:this.$=he.PLACEMENT.LEFTOF;break;case 64:this.$=he.PLACEMENT.RIGHTOF;break;case 65:this.$=[J[se-4],J[se-1],{type:"addMessage",from:J[se-4].actor,to:J[se-1].actor,signalType:J[se-3],msg:J[se],activate:!0},{type:"activeStart",signalType:he.LINETYPE.ACTIVE_START,actor:J[se-1].actor}];break;case 66:this.$=[J[se-4],J[se-1],{type:"addMessage",from:J[se-4].actor,to:J[se-1].actor,signalType:J[se-3],msg:J[se]},{type:"activeEnd",signalType:he.LINETYPE.ACTIVE_END,actor:J[se-4].actor}];break;case 67:this.$=[J[se-3],J[se-1],{type:"addMessage",from:J[se-3].actor,to:J[se-1].actor,signalType:J[se-2],msg:J[se]}];break;case 68:this.$={type:"addParticipant",actor:J[se]};break;case 69:this.$=he.LINETYPE.SOLID_OPEN;break;case 70:this.$=he.LINETYPE.DOTTED_OPEN;break;case 71:this.$=he.LINETYPE.SOLID;break;case 72:this.$=he.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=he.LINETYPE.DOTTED;break;case 74:this.$=he.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=he.LINETYPE.SOLID_CROSS;break;case 76:this.$=he.LINETYPE.DOTTED_CROSS;break;case 77:this.$=he.LINETYPE.SOLID_POINT;break;case 78:this.$=he.LINETYPE.DOTTED_POINT;break;case 79:this.$=he.parseMessage(J[se].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:r,6:n},{1:[3]},{3:5,4:e,5:r,6:n},{3:6,4:e,5:r,6:n},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:s,8:8,9:10,12:12,13:l,14:u,17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:v,36:x,37:b,38:T,39:C,41:w,43:E,44:_,46:A,50:D,52:O,53:R,54:k,59:L,60:S,61:I,62:M,70:P},t(B,[2,5]),{9:47,12:12,13:l,14:u,17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:v,36:x,37:b,38:T,39:C,41:w,43:E,44:_,46:A,50:D,52:O,53:R,54:k,59:L,60:S,61:I,62:M,70:P},t(B,[2,7]),t(B,[2,8]),t(B,[2,14]),{12:48,50:D,52:O,53:R},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:P},{22:55,70:P},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(B,[2,29]),t(B,[2,30]),{32:[1,61]},{34:[1,62]},t(B,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:P},{22:72,70:P},{22:73,70:P},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:P},{22:90,70:P},{22:91,70:P},{22:92,70:P},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(B,[2,6]),t(B,[2,15]),t(F,[2,9],{10:93}),t(B,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(B,[2,21]),{5:[1,97]},{5:[1,98]},t(B,[2,24]),t(B,[2,25]),t(B,[2,26]),t(B,[2,27]),t(B,[2,28]),t(B,[2,31]),t(B,[2,32]),t(z,i,{7:99}),t(z,i,{7:100}),t(z,i,{7:101}),t($,i,{40:102,7:103}),t(U,i,{42:104,7:105}),t(U,i,{7:105,42:106}),t(K,i,{45:107,7:108}),t(z,i,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:P},t(ee,[2,69]),t(ee,[2,70]),t(ee,[2,71]),t(ee,[2,72]),t(ee,[2,73]),t(ee,[2,74]),t(ee,[2,75]),t(ee,[2,76]),t(ee,[2,77]),t(ee,[2,78]),{22:118,70:P},{22:120,58:119,70:P},{70:[2,63]},{70:[2,64]},{56:121,81:Y},{56:123,81:Y},{56:124,81:Y},{56:125,81:Y},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:D,52:O,53:R},{5:[1,131]},t(B,[2,19]),t(B,[2,20]),t(B,[2,22]),t(B,[2,23]),{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[1,132],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:v,36:x,37:b,38:T,39:C,41:w,43:E,44:_,46:A,50:D,52:O,53:R,54:k,59:L,60:S,61:I,62:M,70:P},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[1,133],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:v,36:x,37:b,38:T,39:C,41:w,43:E,44:_,46:A,50:D,52:O,53:R,54:k,59:L,60:S,61:I,62:M,70:P},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[1,134],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:v,36:x,37:b,38:T,39:C,41:w,43:E,44:_,46:A,50:D,52:O,53:R,54:k,59:L,60:S,61:I,62:M,70:P},{16:[1,135]},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[2,46],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:v,36:x,37:b,38:T,39:C,41:w,43:E,44:_,46:A,49:[1,136],50:D,52:O,53:R,54:k,59:L,60:S,61:I,62:M,70:P},{16:[1,137]},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[2,44],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:v,36:x,37:b,38:T,39:C,41:w,43:E,44:_,46:A,48:[1,138],50:D,52:O,53:R,54:k,59:L,60:S,61:I,62:M,70:P},{16:[1,139]},{16:[1,140]},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[2,42],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:v,36:x,37:b,38:T,39:C,41:w,43:E,44:_,46:A,47:[1,141],50:D,52:O,53:R,54:k,59:L,60:S,61:I,62:M,70:P},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[1,142],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:v,36:x,37:b,38:T,39:C,41:w,43:E,44:_,46:A,50:D,52:O,53:R,54:k,59:L,60:S,61:I,62:M,70:P},{15:[1,143]},t(B,[2,49]),{15:[1,144]},t(B,[2,51]),t(B,[2,52]),{22:145,70:P},{22:146,70:P},{56:147,81:Y},{56:148,81:Y},{56:149,81:Y},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(B,[2,16]),t(F,[2,10]),{12:151,50:D,52:O,53:R},t(F,[2,12]),t(F,[2,13]),t(B,[2,18]),t(B,[2,34]),t(B,[2,35]),t(B,[2,36]),t(B,[2,37]),{15:[1,152]},t(B,[2,38]),{15:[1,153]},t(B,[2,39]),t(B,[2,40]),{15:[1,154]},t(B,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:Y},{56:158,81:Y},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:P},t(F,[2,11]),t($,i,{7:103,40:160}),t(U,i,{7:105,42:161}),t(K,i,{7:108,45:162}),t(B,[2,48]),t(B,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:o(function(j,ne){if(ne.recoverable)this.trace(j);else{var te=new Error(j);throw te.hash=ne,te}},"parseError"),parse:o(function(j){var ne=this,te=[0],he=[],le=[null],J=[],Se=this.table,se="",ae=0,Oe=0,ye=0,Be=2,He=1,ze=J.slice.call(arguments,1),Le=Object.create(this.lexer),Ie={yy:{}};for(var xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xe)&&(Ie.yy[xe]=this.yy[xe]);Le.setInput(j,Ie.yy),Ie.yy.lexer=Le,Ie.yy.parser=this,typeof Le.yylloc>"u"&&(Le.yylloc={});var q=Le.yylloc;J.push(q);var de=Le.options&&Le.options.ranges;typeof Ie.yy.parseError=="function"?this.parseError=Ie.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ie(Rt){te.length=te.length-2*Rt,le.length=le.length-Rt,J.length=J.length-Rt}o(ie,"popStack");function oe(){var Rt;return Rt=he.pop()||Le.lex()||He,typeof Rt!="number"&&(Rt instanceof Array&&(he=Rt,Rt=he.pop()),Rt=ne.symbols_[Rt]||Rt),Rt}o(oe,"lex");for(var V,Te,W,pe,ve,Pe,_e={},be,Ve,De,Ye;;){if(W=te[te.length-1],this.defaultActions[W]?pe=this.defaultActions[W]:((V===null||typeof V>"u")&&(V=oe()),pe=Se[W]&&Se[W][V]),typeof pe>"u"||!pe.length||!pe[0]){var at="";Ye=[];for(be in Se[W])this.terminals_[be]&&be>Be&&Ye.push("'"+this.terminals_[be]+"'");Le.showPosition?at="Parse error on line "+(ae+1)+`: -`+Le.showPosition()+` -Expecting `+Ye.join(", ")+", got '"+(this.terminals_[V]||V)+"'":at="Parse error on line "+(ae+1)+": Unexpected "+(V==He?"end of input":"'"+(this.terminals_[V]||V)+"'"),this.parseError(at,{text:Le.match,token:this.terminals_[V]||V,line:Le.yylineno,loc:q,expected:Ye})}if(pe[0]instanceof Array&&pe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+V);switch(pe[0]){case 1:te.push(V),le.push(Le.yytext),J.push(Le.yylloc),te.push(pe[1]),V=null,Te?(V=Te,Te=null):(Oe=Le.yyleng,se=Le.yytext,ae=Le.yylineno,q=Le.yylloc,ye>0&&ye--);break;case 2:if(Ve=this.productions_[pe[1]][1],_e.$=le[le.length-Ve],_e._$={first_line:J[J.length-(Ve||1)].first_line,last_line:J[J.length-1].last_line,first_column:J[J.length-(Ve||1)].first_column,last_column:J[J.length-1].last_column},de&&(_e._$.range=[J[J.length-(Ve||1)].range[0],J[J.length-1].range[1]]),Pe=this.performAction.apply(_e,[se,Oe,ae,Ie.yy,pe[1],le,J].concat(ze)),typeof Pe<"u")return Pe;Ve&&(te=te.slice(0,-1*Ve*2),le=le.slice(0,-1*Ve),J=J.slice(0,-1*Ve)),te.push(this.productions_[pe[1]][0]),le.push(_e.$),J.push(_e._$),De=Se[te[te.length-2]][te[te.length-1]],te.push(De);break;case 3:return!0}}return!0},"parse")},Z=function(){var Q={EOF:1,parseError:o(function(ne,te){if(this.yy.parser)this.yy.parser.parseError(ne,te);else throw new Error(ne)},"parseError"),setInput:o(function(j,ne){return this.yy=ne||this.yy||{},this._input=j,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var j=this._input[0];this.yytext+=j,this.yyleng++,this.offset++,this.match+=j,this.matched+=j;var ne=j.match(/(?:\r\n?|\n).*/g);return ne?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),j},"input"),unput:o(function(j){var ne=j.length,te=j.split(/(?:\r\n?|\n)/g);this._input=j+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ne),this.offset-=ne;var he=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),te.length-1&&(this.yylineno-=te.length-1);var le=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:te?(te.length===he.length?this.yylloc.first_column:0)+he[he.length-te.length].length-te[0].length:this.yylloc.first_column-ne},this.options.ranges&&(this.yylloc.range=[le[0],le[0]+this.yyleng-ne]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(j){this.unput(this.match.slice(j))},"less"),pastInput:o(function(){var j=this.matched.substr(0,this.matched.length-this.match.length);return(j.length>20?"...":"")+j.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var j=this.match;return j.length<20&&(j+=this._input.substr(0,20-j.length)),(j.substr(0,20)+(j.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var j=this.pastInput(),ne=new Array(j.length+1).join("-");return j+this.upcomingInput()+` -`+ne+"^"},"showPosition"),test_match:o(function(j,ne){var te,he,le;if(this.options.backtrack_lexer&&(le={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(le.yylloc.range=this.yylloc.range.slice(0))),he=j[0].match(/(?:\r\n?|\n).*/g),he&&(this.yylineno+=he.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:he?he[he.length-1].length-he[he.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+j[0].length},this.yytext+=j[0],this.match+=j[0],this.matches=j,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(j[0].length),this.matched+=j[0],te=this.performAction.call(this,this.yy,this,ne,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),te)return te;if(this._backtrack){for(var J in le)this[J]=le[J];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var j,ne,te,he;this._more||(this.yytext="",this.match="");for(var le=this._currentRules(),J=0;Jne[0].length)){if(ne=te,he=J,this.options.backtrack_lexer){if(j=this.test_match(te,le[J]),j!==!1)return j;if(this._backtrack){ne=!1;continue}else return!1}else if(!this.options.flex)break}return ne?(j=this.test_match(ne,le[he]),j!==!1?j:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var ne=this.next();return ne||this.lex()},"lex"),begin:o(function(ne){this.conditionStack.push(ne)},"begin"),popState:o(function(){var ne=this.conditionStack.length-1;return ne>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(ne){return ne=this.conditionStack.length-1-Math.abs(ne||0),ne>=0?this.conditionStack[ne]:"INITIAL"},"topState"),pushState:o(function(ne){this.begin(ne)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(ne,te,he,le){var J=le;switch(he){case 0:return 5;case 1:break;case 2:break;case 3:break;case 4:break;case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;break;case 8:return this.begin("ID"),50;break;case 9:return this.begin("ID"),52;break;case 10:return 13;case 11:return this.begin("ID"),53;break;case 12:return te.yytext=te.yytext.trim(),this.begin("ALIAS"),70;break;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;break;case 14:return this.popState(),this.popState(),5;break;case 15:return this.begin("LINE"),36;break;case 16:return this.begin("LINE"),37;break;case 17:return this.begin("LINE"),38;break;case 18:return this.begin("LINE"),39;break;case 19:return this.begin("LINE"),49;break;case 20:return this.begin("LINE"),41;break;case 21:return this.begin("LINE"),43;break;case 22:return this.begin("LINE"),48;break;case 23:return this.begin("LINE"),44;break;case 24:return this.begin("LINE"),47;break;case 25:return this.begin("LINE"),46;break;case 26:return this.popState(),15;break;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;break;case 37:return this.begin("ID"),23;break;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;break;case 41:return this.popState(),"acc_title_value";break;case 42:return this.begin("acc_descr"),33;break;case 43:return this.popState(),"acc_descr_value";break;case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 51:return 5;case 52:return te.yytext=te.yytext.trim(),70;break;case 53:return 73;case 54:return 74;case 55:return 75;case 56:return 76;case 57:return 71;case 58:return 72;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 80;case 63:return 81;case 64:return 81;case 65:return 68;case 66:return 69;case 67:return 5;case 68:return"INVALID"}},"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^<\->\->:\n,;]+?([\-]*[^<\->\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^+<\->\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+<\->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]*)/i,/^(?::)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68],inclusive:!0}}};return Q}();ce.lexer=Z;function ue(){this.yy={}}return o(ue,"Parser"),ue.prototype=ce,ce.Parser=ue,new ue}();hP.parser=hP;Ade=hP});var IUe,OUe,PUe,HS,Dde=N(()=>{"use strict";qt();yt();EO();dr();ci();IUe={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34},OUe={FILLED:0,OPEN:1},PUe={LEFTOF:0,RIGHTOF:1,OVER:2},HS=class{constructor(){this.state=new E1(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0}));this.setAccTitle=Cr;this.setAccDescription=Dr;this.setDiagramTitle=Ir;this.getAccTitle=_r;this.getAccDescription=Lr;this.getDiagramTitle=Rr;this.apply=this.apply.bind(this),this.parseBoxData=this.parseBoxData.bind(this),this.parseMessage=this.parseMessage.bind(this),this.clear(),this.setWrap(ge().wrap),this.LINETYPE=IUe,this.ARROWTYPE=OUe,this.PLACEMENT=PUe}static{o(this,"SequenceDB")}addBox(e){this.state.records.boxes.push({name:e.text,wrap:e.wrap??this.autoWrap(),fill:e.color,actorKeys:[]}),this.state.records.currentBox=this.state.records.boxes.slice(-1)[0]}addActor(e,r,n,i){let a=this.state.records.currentBox,s=this.state.records.actors.get(e);if(s){if(this.state.records.currentBox&&s.box&&this.state.records.currentBox!==s.box)throw new Error(`A same participant should only be defined in one Box: ${s.name} can't be in '${s.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`);if(a=s.box?s.box:this.state.records.currentBox,s.box=a,s&&r===s.name&&n==null)return}if(n?.text==null&&(n={text:r,type:i}),(i==null||n.text==null)&&(n={text:r,type:i}),this.state.records.actors.set(e,{box:a,name:r,description:n.text,wrap:n.wrap??this.autoWrap(),prevActor:this.state.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:i??"participant"}),this.state.records.prevActor){let l=this.state.records.actors.get(this.state.records.prevActor);l&&(l.nextActor=e)}this.state.records.currentBox&&this.state.records.currentBox.actorKeys.push(e),this.state.records.prevActor=e}activationCount(e){let r,n=0;if(!e)return 0;for(r=0;r>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},l}return this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:e,to:r,message:n?.text??"",wrap:n?.wrap??this.autoWrap(),type:i,activate:a}),!0}hasAtLeastOneBox(){return this.state.records.boxes.length>0}hasAtLeastOneBoxWithTitle(){return this.state.records.boxes.some(e=>e.name)}getMessages(){return this.state.records.messages}getBoxes(){return this.state.records.boxes}getActors(){return this.state.records.actors}getCreatedActors(){return this.state.records.createdActors}getDestroyedActors(){return this.state.records.destroyedActors}getActor(e){return this.state.records.actors.get(e)}getActorKeys(){return[...this.state.records.actors.keys()]}enableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!0}disableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!1}showSequenceNumbers(){return this.state.records.sequenceNumbersEnabled}setWrap(e){this.state.records.wrapEnabled=e}extractWrap(e){if(e===void 0)return{};e=e.trim();let r=/^:?wrap:/.exec(e)!==null?!0:/^:?nowrap:/.exec(e)!==null?!1:void 0;return{cleanedText:(r===void 0?e:e.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:r}}autoWrap(){return this.state.records.wrapEnabled!==void 0?this.state.records.wrapEnabled:ge().sequence?.wrap??!1}clear(){this.state.reset(),wr()}parseMessage(e){let r=e.trim(),{wrap:n,cleanedText:i}=this.extractWrap(r),a={text:i,wrap:n};return X.debug(`parseMessage: ${JSON.stringify(a)}`),a}parseBoxData(e){let r=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(e),n=r?.[1]?r[1].trim():"transparent",i=r?.[2]?r[2].trim():void 0;if(window?.CSS)window.CSS.supports("color",n)||(n="transparent",i=e.trim());else{let l=new Option().style;l.color=n,l.color!==n&&(n="transparent",i=e.trim())}let{wrap:a,cleanedText:s}=this.extractWrap(i);return{text:s?ar(s,ge()):void 0,color:n,wrap:a}}addNote(e,r,n){let i={actor:e,placement:r,message:n.text,wrap:n.wrap??this.autoWrap()},a=[].concat(e,e);this.state.records.notes.push(i),this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:a[0],to:a[1],message:n.text,wrap:n.wrap??this.autoWrap(),type:this.LINETYPE.NOTE,placement:r})}addLinks(e,r){let n=this.getActor(e);try{let i=ar(r.text,ge());i=i.replace(/=/g,"="),i=i.replace(/&/g,"&");let a=JSON.parse(i);this.insertLinks(n,a)}catch(i){X.error("error while parsing actor link text",i)}}addALink(e,r){let n=this.getActor(e);try{let i={},a=ar(r.text,ge()),s=a.indexOf("@");a=a.replace(/=/g,"="),a=a.replace(/&/g,"&");let l=a.slice(0,s-1).trim(),u=a.slice(s+1).trim();i[l]=u,this.insertLinks(n,i)}catch(i){X.error("error while parsing actor link text",i)}}insertLinks(e,r){if(e.links==null)e.links=r;else for(let n in r)e.links[n]=r[n]}addProperties(e,r){let n=this.getActor(e);try{let i=ar(r.text,ge()),a=JSON.parse(i);this.insertProperties(n,a)}catch(i){X.error("error while parsing actor properties text",i)}}insertProperties(e,r){if(e.properties==null)e.properties=r;else for(let n in r)e.properties[n]=r[n]}boxEnd(){this.state.records.currentBox=void 0}addDetails(e,r){let n=this.getActor(e),i=document.getElementById(r.text);try{let a=i.innerHTML,s=JSON.parse(a);s.properties&&this.insertProperties(n,s.properties),s.links&&this.insertLinks(n,s.links)}catch(a){X.error("error while parsing actor details text",a)}}getActorProperty(e,r){if(e?.properties!==void 0)return e.properties[r]}apply(e){if(Array.isArray(e))e.forEach(r=>{this.apply(r)});else switch(e.type){case"sequenceIndex":this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:void 0,to:void 0,message:{start:e.sequenceIndex,step:e.sequenceIndexStep,visible:e.sequenceVisible},wrap:!1,type:e.signalType});break;case"addParticipant":this.addActor(e.actor,e.actor,e.description,e.draw);break;case"createParticipant":if(this.state.records.actors.has(e.actor))throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");this.state.records.lastCreated=e.actor,this.addActor(e.actor,e.actor,e.description,e.draw),this.state.records.createdActors.set(e.actor,this.state.records.messages.length);break;case"destroyParticipant":this.state.records.lastDestroyed=e.actor,this.state.records.destroyedActors.set(e.actor,this.state.records.messages.length);break;case"activeStart":this.addSignal(e.actor,void 0,void 0,e.signalType);break;case"activeEnd":this.addSignal(e.actor,void 0,void 0,e.signalType);break;case"addNote":this.addNote(e.actor,e.placement,e.text);break;case"addLinks":this.addLinks(e.actor,e.text);break;case"addALink":this.addALink(e.actor,e.text);break;case"addProperties":this.addProperties(e.actor,e.text);break;case"addDetails":this.addDetails(e.actor,e.text);break;case"addMessage":if(this.state.records.lastCreated){if(e.to!==this.state.records.lastCreated)throw new Error("The created participant "+this.state.records.lastCreated.name+" does not have an associated creating message after its declaration. Please check the sequence diagram.");this.state.records.lastCreated=void 0}else if(this.state.records.lastDestroyed){if(e.to!==this.state.records.lastDestroyed&&e.from!==this.state.records.lastDestroyed)throw new Error("The destroyed participant "+this.state.records.lastDestroyed.name+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");this.state.records.lastDestroyed=void 0}this.addSignal(e.from,e.to,e.msg,e.signalType,e.activate);break;case"boxStart":this.addBox(e.boxData);break;case"boxEnd":this.boxEnd();break;case"loopStart":this.addSignal(void 0,void 0,e.loopText,e.signalType);break;case"loopEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"rectStart":this.addSignal(void 0,void 0,e.color,e.signalType);break;case"rectEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"optStart":this.addSignal(void 0,void 0,e.optText,e.signalType);break;case"optEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"altStart":this.addSignal(void 0,void 0,e.altText,e.signalType);break;case"else":this.addSignal(void 0,void 0,e.altText,e.signalType);break;case"altEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"setAccTitle":Cr(e.text);break;case"parStart":this.addSignal(void 0,void 0,e.parText,e.signalType);break;case"and":this.addSignal(void 0,void 0,e.parText,e.signalType);break;case"parEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"criticalStart":this.addSignal(void 0,void 0,e.criticalText,e.signalType);break;case"option":this.addSignal(void 0,void 0,e.optionText,e.signalType);break;case"criticalEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"breakStart":this.addSignal(void 0,void 0,e.breakText,e.signalType);break;case"breakEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break}}getConfig(){return ge().sequence}}});var BUe,Lde,Rde=N(()=>{"use strict";BUe=o(t=>`.actor { +`,"getStyles"),ege=zQe});var _B={};ur(_B,{draw:()=>VQe});var VQe,rge=N(()=>{"use strict";Xt();pt();Kd();Af();_f();tr();VQe=o(async function(t,e,r,n){X.info("REF0:"),X.info("Drawing requirement diagram (unified)",e);let{securityLevel:i,state:a,layout:s}=ge(),l=n.db.getData(),u=zo(e,i);l.type=n.type,l.layoutAlgorithm=Bc(s),l.nodeSpacing=a?.nodeSpacing??50,l.rankSpacing=a?.rankSpacing??50,l.markers=["requirement_contains","requirement_arrow"],l.diagramId=e,await Qo(l,u);let h=8;Ht.insertTitle(u,"requirementDiagramTitleText",a?.titleTopMargin??25,n.db.getDiagramTitle()),Hs(u,h,"requirementDiagram",a?.useMaxWidth??!0)},"draw")});var nge={};ur(nge,{diagram:()=>UQe});var UQe,ige=N(()=>{"use strict";Zme();Jme();tge();rge();UQe={parser:Qme,get db(){return new Y6},renderer:_B,styles:ege}});var DB,oge,lge=N(()=>{"use strict";DB=function(){var t=o(function(ee,te,re,he){for(re=re||{},he=ee.length;he--;re[ee[he]]=te);return re},"o"),e=[1,2],r=[1,3],n=[1,4],i=[2,4],a=[1,9],s=[1,11],l=[1,13],u=[1,14],h=[1,16],f=[1,17],d=[1,18],p=[1,24],m=[1,25],g=[1,26],y=[1,27],x=[1,28],v=[1,29],b=[1,30],T=[1,31],S=[1,32],w=[1,33],E=[1,34],_=[1,35],A=[1,36],D=[1,37],O=[1,38],R=[1,39],k=[1,41],L=[1,42],C=[1,43],I=[1,44],M=[1,45],P=[1,46],B=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,55,60,61,62,63,71],F=[2,71],G=[4,5,16,50,52,53],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,55,60,61,62,63,71],U=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,55,60,61,62,63,71],K=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,55,60,61,62,63,71],ne=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,55,60,61,62,63,71],j=[69,70,71],le=[1,127],Z={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,actor_with_config:54,note:55,placement:56,text2:57,over:58,actor_pair:59,links:60,link:61,properties:62,details:63,spaceList:64,",":65,left_of:66,right_of:67,signaltype:68,"+":69,"-":70,ACTOR:71,config_object:72,CONFIG_START:73,CONFIG_CONTENT:74,CONFIG_END:75,SOLID_OPEN_ARROW:76,DOTTED_OPEN_ARROW:77,SOLID_ARROW:78,BIDIRECTIONAL_SOLID_ARROW:79,DOTTED_ARROW:80,BIDIRECTIONAL_DOTTED_ARROW:81,SOLID_CROSS:82,DOTTED_CROSS:83,SOLID_POINT:84,DOTTED_POINT:85,TXT:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",55:"note",58:"over",60:"links",61:"link",62:"properties",63:"details",65:",",66:"left_of",67:"right_of",69:"+",70:"-",71:"ACTOR",73:"CONFIG_START",74:"CONFIG_CONTENT",75:"CONFIG_END",76:"SOLID_OPEN_ARROW",77:"DOTTED_OPEN_ARROW",78:"SOLID_ARROW",79:"BIDIRECTIONAL_SOLID_ARROW",80:"DOTTED_ARROW",81:"BIDIRECTIONAL_DOTTED_ARROW",82:"SOLID_CROSS",83:"DOTTED_CROSS",84:"SOLID_POINT",85:"DOTTED_POINT",86:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[64,2],[64,1],[59,3],[59,1],[56,1],[56,1],[17,5],[17,5],[17,4],[54,2],[72,3],[22,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[57,1]],performAction:o(function(te,re,he,J,ye,se,Se){var W=se.length-1;switch(ye){case 3:return J.apply(se[W]),se[W];break;case 4:case 9:this.$=[];break;case 5:case 10:se[W-1].push(se[W]),this.$=se[W-1];break;case 6:case 7:case 11:case 12:this.$=se[W];break;case 8:case 13:this.$=[];break;case 15:se[W].type="createParticipant",this.$=se[W];break;case 16:se[W-1].unshift({type:"boxStart",boxData:J.parseBoxData(se[W-2])}),se[W-1].push({type:"boxEnd",boxText:se[W-2]}),this.$=se[W-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(se[W-2]),sequenceIndexStep:Number(se[W-1]),sequenceVisible:!0,signalType:J.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(se[W-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:J.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:J.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:J.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:J.LINETYPE.ACTIVE_START,actor:se[W-1].actor};break;case 23:this.$={type:"activeEnd",signalType:J.LINETYPE.ACTIVE_END,actor:se[W-1].actor};break;case 29:J.setDiagramTitle(se[W].substring(6)),this.$=se[W].substring(6);break;case 30:J.setDiagramTitle(se[W].substring(7)),this.$=se[W].substring(7);break;case 31:this.$=se[W].trim(),J.setAccTitle(this.$);break;case 32:case 33:this.$=se[W].trim(),J.setAccDescription(this.$);break;case 34:se[W-1].unshift({type:"loopStart",loopText:J.parseMessage(se[W-2]),signalType:J.LINETYPE.LOOP_START}),se[W-1].push({type:"loopEnd",loopText:se[W-2],signalType:J.LINETYPE.LOOP_END}),this.$=se[W-1];break;case 35:se[W-1].unshift({type:"rectStart",color:J.parseMessage(se[W-2]),signalType:J.LINETYPE.RECT_START}),se[W-1].push({type:"rectEnd",color:J.parseMessage(se[W-2]),signalType:J.LINETYPE.RECT_END}),this.$=se[W-1];break;case 36:se[W-1].unshift({type:"optStart",optText:J.parseMessage(se[W-2]),signalType:J.LINETYPE.OPT_START}),se[W-1].push({type:"optEnd",optText:J.parseMessage(se[W-2]),signalType:J.LINETYPE.OPT_END}),this.$=se[W-1];break;case 37:se[W-1].unshift({type:"altStart",altText:J.parseMessage(se[W-2]),signalType:J.LINETYPE.ALT_START}),se[W-1].push({type:"altEnd",signalType:J.LINETYPE.ALT_END}),this.$=se[W-1];break;case 38:se[W-1].unshift({type:"parStart",parText:J.parseMessage(se[W-2]),signalType:J.LINETYPE.PAR_START}),se[W-1].push({type:"parEnd",signalType:J.LINETYPE.PAR_END}),this.$=se[W-1];break;case 39:se[W-1].unshift({type:"parStart",parText:J.parseMessage(se[W-2]),signalType:J.LINETYPE.PAR_OVER_START}),se[W-1].push({type:"parEnd",signalType:J.LINETYPE.PAR_END}),this.$=se[W-1];break;case 40:se[W-1].unshift({type:"criticalStart",criticalText:J.parseMessage(se[W-2]),signalType:J.LINETYPE.CRITICAL_START}),se[W-1].push({type:"criticalEnd",signalType:J.LINETYPE.CRITICAL_END}),this.$=se[W-1];break;case 41:se[W-1].unshift({type:"breakStart",breakText:J.parseMessage(se[W-2]),signalType:J.LINETYPE.BREAK_START}),se[W-1].push({type:"breakEnd",optText:J.parseMessage(se[W-2]),signalType:J.LINETYPE.BREAK_END}),this.$=se[W-1];break;case 43:this.$=se[W-3].concat([{type:"option",optionText:J.parseMessage(se[W-1]),signalType:J.LINETYPE.CRITICAL_OPTION},se[W]]);break;case 45:this.$=se[W-3].concat([{type:"and",parText:J.parseMessage(se[W-1]),signalType:J.LINETYPE.PAR_AND},se[W]]);break;case 47:this.$=se[W-3].concat([{type:"else",altText:J.parseMessage(se[W-1]),signalType:J.LINETYPE.ALT_ELSE},se[W]]);break;case 48:se[W-3].draw="participant",se[W-3].type="addParticipant",se[W-3].description=J.parseMessage(se[W-1]),this.$=se[W-3];break;case 49:se[W-1].draw="participant",se[W-1].type="addParticipant",this.$=se[W-1];break;case 50:se[W-3].draw="actor",se[W-3].type="addParticipant",se[W-3].description=J.parseMessage(se[W-1]),this.$=se[W-3];break;case 51:se[W-1].draw="actor",se[W-1].type="addParticipant",this.$=se[W-1];break;case 52:se[W-1].type="destroyParticipant",this.$=se[W-1];break;case 53:se[W-1].draw="participant",se[W-1].type="addParticipant",this.$=se[W-1];break;case 54:this.$=[se[W-1],{type:"addNote",placement:se[W-2],actor:se[W-1].actor,text:se[W]}];break;case 55:se[W-2]=[].concat(se[W-1],se[W-1]).slice(0,2),se[W-2][0]=se[W-2][0].actor,se[W-2][1]=se[W-2][1].actor,this.$=[se[W-1],{type:"addNote",placement:J.PLACEMENT.OVER,actor:se[W-2].slice(0,2),text:se[W]}];break;case 56:this.$=[se[W-1],{type:"addLinks",actor:se[W-1].actor,text:se[W]}];break;case 57:this.$=[se[W-1],{type:"addALink",actor:se[W-1].actor,text:se[W]}];break;case 58:this.$=[se[W-1],{type:"addProperties",actor:se[W-1].actor,text:se[W]}];break;case 59:this.$=[se[W-1],{type:"addDetails",actor:se[W-1].actor,text:se[W]}];break;case 62:this.$=[se[W-2],se[W]];break;case 63:this.$=se[W];break;case 64:this.$=J.PLACEMENT.LEFTOF;break;case 65:this.$=J.PLACEMENT.RIGHTOF;break;case 66:this.$=[se[W-4],se[W-1],{type:"addMessage",from:se[W-4].actor,to:se[W-1].actor,signalType:se[W-3],msg:se[W],activate:!0},{type:"activeStart",signalType:J.LINETYPE.ACTIVE_START,actor:se[W-1].actor}];break;case 67:this.$=[se[W-4],se[W-1],{type:"addMessage",from:se[W-4].actor,to:se[W-1].actor,signalType:se[W-3],msg:se[W]},{type:"activeEnd",signalType:J.LINETYPE.ACTIVE_END,actor:se[W-4].actor}];break;case 68:this.$=[se[W-3],se[W-1],{type:"addMessage",from:se[W-3].actor,to:se[W-1].actor,signalType:se[W-2],msg:se[W]}];break;case 69:this.$={type:"addParticipant",actor:se[W-1],config:se[W]};break;case 70:this.$=se[W-1].trim();break;case 71:this.$={type:"addParticipant",actor:se[W]};break;case 72:this.$=J.LINETYPE.SOLID_OPEN;break;case 73:this.$=J.LINETYPE.DOTTED_OPEN;break;case 74:this.$=J.LINETYPE.SOLID;break;case 75:this.$=J.LINETYPE.BIDIRECTIONAL_SOLID;break;case 76:this.$=J.LINETYPE.DOTTED;break;case 77:this.$=J.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 78:this.$=J.LINETYPE.SOLID_CROSS;break;case 79:this.$=J.LINETYPE.DOTTED_CROSS;break;case 80:this.$=J.LINETYPE.SOLID_POINT;break;case 81:this.$=J.LINETYPE.DOTTED_POINT;break;case 82:this.$=J.parseMessage(se[W].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:r,6:n},{1:[3]},{3:5,4:e,5:r,6:n},{3:6,4:e,5:r,6:n},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,55,60,61,62,63,71],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:s,8:8,9:10,12:12,13:l,14:u,17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:x,36:v,37:b,38:T,39:S,41:w,43:E,44:_,46:A,50:D,52:O,53:R,55:k,60:L,61:C,62:I,63:M,71:P},t(B,[2,5]),{9:47,12:12,13:l,14:u,17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:x,36:v,37:b,38:T,39:S,41:w,43:E,44:_,46:A,50:D,52:O,53:R,55:k,60:L,61:C,62:I,63:M,71:P},t(B,[2,7]),t(B,[2,8]),t(B,[2,14]),{12:48,50:D,52:O,53:R},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,71:P},{22:55,71:P},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(B,[2,29]),t(B,[2,30]),{32:[1,61]},{34:[1,62]},t(B,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,54:72,71:[1,73]},{22:74,71:P},{22:75,71:P},{68:76,76:[1,77],77:[1,78],78:[1,79],79:[1,80],80:[1,81],81:[1,82],82:[1,83],83:[1,84],84:[1,85],85:[1,86]},{56:87,58:[1,88],66:[1,89],67:[1,90]},{22:91,71:P},{22:92,71:P},{22:93,71:P},{22:94,71:P},t([5,51,65,76,77,78,79,80,81,82,83,84,85,86],F),t(B,[2,6]),t(B,[2,15]),t(G,[2,9],{10:95}),t(B,[2,17]),{5:[1,97],19:[1,96]},{5:[1,98]},t(B,[2,21]),{5:[1,99]},{5:[1,100]},t(B,[2,24]),t(B,[2,25]),t(B,[2,26]),t(B,[2,27]),t(B,[2,28]),t(B,[2,31]),t(B,[2,32]),t($,i,{7:101}),t($,i,{7:102}),t($,i,{7:103}),t(U,i,{40:104,7:105}),t(K,i,{42:106,7:107}),t(K,i,{7:107,42:108}),t(ne,i,{45:109,7:110}),t($,i,{7:111}),{5:[1,113],51:[1,112]},{5:[1,114]},t([5,51],F,{72:115,73:[1,116]}),{5:[1,118],51:[1,117]},{5:[1,119]},{22:122,69:[1,120],70:[1,121],71:P},t(j,[2,72]),t(j,[2,73]),t(j,[2,74]),t(j,[2,75]),t(j,[2,76]),t(j,[2,77]),t(j,[2,78]),t(j,[2,79]),t(j,[2,80]),t(j,[2,81]),{22:123,71:P},{22:125,59:124,71:P},{71:[2,64]},{71:[2,65]},{57:126,86:le},{57:128,86:le},{57:129,86:le},{57:130,86:le},{4:[1,133],5:[1,135],11:132,12:134,16:[1,131],50:D,52:O,53:R},{5:[1,136]},t(B,[2,19]),t(B,[2,20]),t(B,[2,22]),t(B,[2,23]),{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[1,137],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:x,36:v,37:b,38:T,39:S,41:w,43:E,44:_,46:A,50:D,52:O,53:R,55:k,60:L,61:C,62:I,63:M,71:P},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[1,138],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:x,36:v,37:b,38:T,39:S,41:w,43:E,44:_,46:A,50:D,52:O,53:R,55:k,60:L,61:C,62:I,63:M,71:P},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[1,139],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:x,36:v,37:b,38:T,39:S,41:w,43:E,44:_,46:A,50:D,52:O,53:R,55:k,60:L,61:C,62:I,63:M,71:P},{16:[1,140]},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[2,46],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:x,36:v,37:b,38:T,39:S,41:w,43:E,44:_,46:A,49:[1,141],50:D,52:O,53:R,55:k,60:L,61:C,62:I,63:M,71:P},{16:[1,142]},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[2,44],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:x,36:v,37:b,38:T,39:S,41:w,43:E,44:_,46:A,48:[1,143],50:D,52:O,53:R,55:k,60:L,61:C,62:I,63:M,71:P},{16:[1,144]},{16:[1,145]},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[2,42],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:x,36:v,37:b,38:T,39:S,41:w,43:E,44:_,46:A,47:[1,146],50:D,52:O,53:R,55:k,60:L,61:C,62:I,63:M,71:P},{4:a,5:s,8:8,9:10,12:12,13:l,14:u,16:[1,147],17:15,18:h,21:f,22:40,23:d,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:g,33:y,35:x,36:v,37:b,38:T,39:S,41:w,43:E,44:_,46:A,50:D,52:O,53:R,55:k,60:L,61:C,62:I,63:M,71:P},{15:[1,148]},t(B,[2,49]),t(B,[2,53]),{5:[2,69]},{74:[1,149]},{15:[1,150]},t(B,[2,51]),t(B,[2,52]),{22:151,71:P},{22:152,71:P},{57:153,86:le},{57:154,86:le},{57:155,86:le},{65:[1,156],86:[2,63]},{5:[2,56]},{5:[2,82]},{5:[2,57]},{5:[2,58]},{5:[2,59]},t(B,[2,16]),t(G,[2,10]),{12:157,50:D,52:O,53:R},t(G,[2,12]),t(G,[2,13]),t(B,[2,18]),t(B,[2,34]),t(B,[2,35]),t(B,[2,36]),t(B,[2,37]),{15:[1,158]},t(B,[2,38]),{15:[1,159]},t(B,[2,39]),t(B,[2,40]),{15:[1,160]},t(B,[2,41]),{5:[1,161]},{75:[1,162]},{5:[1,163]},{57:164,86:le},{57:165,86:le},{5:[2,68]},{5:[2,54]},{5:[2,55]},{22:166,71:P},t(G,[2,11]),t(U,i,{7:105,40:167}),t(K,i,{7:107,42:168}),t(ne,i,{7:110,45:169}),t(B,[2,48]),{5:[2,70]},t(B,[2,50]),{5:[2,66]},{5:[2,67]},{86:[2,62]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],89:[2,64],90:[2,65],115:[2,69],126:[2,56],127:[2,82],128:[2,57],129:[2,58],130:[2,59],153:[2,68],154:[2,54],155:[2,55],162:[2,70],164:[2,66],165:[2,67],166:[2,62],167:[2,47],168:[2,45],169:[2,43]},parseError:o(function(te,re){if(re.recoverable)this.trace(te);else{var he=new Error(te);throw he.hash=re,he}},"parseError"),parse:o(function(te){var re=this,he=[0],J=[],ye=[null],se=[],Se=this.table,W="",Oe=0,ve=0,Pe=0,qe=2,Ge=1,Ne=se.slice.call(arguments,1),Me=Object.create(this.lexer),be={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(be.yy[q]=this.yy[q]);Me.setInput(te,be.yy),be.yy.lexer=Me,be.yy.parser=this,typeof Me.yylloc>"u"&&(Me.yylloc={});var fe=Me.yylloc;se.push(fe);var ae=Me.options&&Me.options.ranges;typeof be.yy.parseError=="function"?this.parseError=be.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function oe(Ze){he.length=he.length-2*Ze,ye.length=ye.length-Ze,se.length=se.length-Ze}o(oe,"popStack");function V(){var Ze;return Ze=J.pop()||Me.lex()||Ge,typeof Ze!="number"&&(Ze instanceof Array&&(J=Ze,Ze=J.pop()),Ze=re.symbols_[Ze]||Ze),Ze}o(V,"lex");for(var xe,Y,de,me,Be,_e,Te={},Ue,De,Qe,ot;;){if(de=he[he.length-1],this.defaultActions[de]?me=this.defaultActions[de]:((xe===null||typeof xe>"u")&&(xe=V()),me=Se[de]&&Se[de][xe]),typeof me>"u"||!me.length||!me[0]){var Gt="";ot=[];for(Ue in Se[de])this.terminals_[Ue]&&Ue>qe&&ot.push("'"+this.terminals_[Ue]+"'");Me.showPosition?Gt="Parse error on line "+(Oe+1)+`: +`+Me.showPosition()+` +Expecting `+ot.join(", ")+", got '"+(this.terminals_[xe]||xe)+"'":Gt="Parse error on line "+(Oe+1)+": Unexpected "+(xe==Ge?"end of input":"'"+(this.terminals_[xe]||xe)+"'"),this.parseError(Gt,{text:Me.match,token:this.terminals_[xe]||xe,line:Me.yylineno,loc:fe,expected:ot})}if(me[0]instanceof Array&&me.length>1)throw new Error("Parse Error: multiple actions possible at state: "+de+", token: "+xe);switch(me[0]){case 1:he.push(xe),ye.push(Me.yytext),se.push(Me.yylloc),he.push(me[1]),xe=null,Y?(xe=Y,Y=null):(ve=Me.yyleng,W=Me.yytext,Oe=Me.yylineno,fe=Me.yylloc,Pe>0&&Pe--);break;case 2:if(De=this.productions_[me[1]][1],Te.$=ye[ye.length-De],Te._$={first_line:se[se.length-(De||1)].first_line,last_line:se[se.length-1].last_line,first_column:se[se.length-(De||1)].first_column,last_column:se[se.length-1].last_column},ae&&(Te._$.range=[se[se.length-(De||1)].range[0],se[se.length-1].range[1]]),_e=this.performAction.apply(Te,[W,ve,Oe,be.yy,me[1],ye,se].concat(Ne)),typeof _e<"u")return _e;De&&(he=he.slice(0,-1*De*2),ye=ye.slice(0,-1*De),se=se.slice(0,-1*De)),he.push(this.productions_[me[1]][0]),ye.push(Te.$),se.push(Te._$),Qe=Se[he[he.length-2]][he[he.length-1]],he.push(Qe);break;case 3:return!0}}return!0},"parse")},ce=function(){var ee={EOF:1,parseError:o(function(re,he){if(this.yy.parser)this.yy.parser.parseError(re,he);else throw new Error(re)},"parseError"),setInput:o(function(te,re){return this.yy=re||this.yy||{},this._input=te,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var te=this._input[0];this.yytext+=te,this.yyleng++,this.offset++,this.match+=te,this.matched+=te;var re=te.match(/(?:\r\n?|\n).*/g);return re?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),te},"input"),unput:o(function(te){var re=te.length,he=te.split(/(?:\r\n?|\n)/g);this._input=te+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-re),this.offset-=re;var J=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),he.length-1&&(this.yylineno-=he.length-1);var ye=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:he?(he.length===J.length?this.yylloc.first_column:0)+J[J.length-he.length].length-he[0].length:this.yylloc.first_column-re},this.options.ranges&&(this.yylloc.range=[ye[0],ye[0]+this.yyleng-re]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(te){this.unput(this.match.slice(te))},"less"),pastInput:o(function(){var te=this.matched.substr(0,this.matched.length-this.match.length);return(te.length>20?"...":"")+te.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var te=this.match;return te.length<20&&(te+=this._input.substr(0,20-te.length)),(te.substr(0,20)+(te.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var te=this.pastInput(),re=new Array(te.length+1).join("-");return te+this.upcomingInput()+` +`+re+"^"},"showPosition"),test_match:o(function(te,re){var he,J,ye;if(this.options.backtrack_lexer&&(ye={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ye.yylloc.range=this.yylloc.range.slice(0))),J=te[0].match(/(?:\r\n?|\n).*/g),J&&(this.yylineno+=J.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:J?J[J.length-1].length-J[J.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+te[0].length},this.yytext+=te[0],this.match+=te[0],this.matches=te,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(te[0].length),this.matched+=te[0],he=this.performAction.call(this,this.yy,this,re,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),he)return he;if(this._backtrack){for(var se in ye)this[se]=ye[se];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var te,re,he,J;this._more||(this.yytext="",this.match="");for(var ye=this._currentRules(),se=0;sere[0].length)){if(re=he,J=se,this.options.backtrack_lexer){if(te=this.test_match(he,ye[se]),te!==!1)return te;if(this._backtrack){re=!1;continue}else return!1}else if(!this.options.flex)break}return re?(te=this.test_match(re,ye[J]),te!==!1?te:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var re=this.next();return re||this.lex()},"lex"),begin:o(function(re){this.conditionStack.push(re)},"begin"),popState:o(function(){var re=this.conditionStack.length-1;return re>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(re){return re=this.conditionStack.length-1-Math.abs(re||0),re>=0?this.conditionStack[re]:"INITIAL"},"topState"),pushState:o(function(re){this.begin(re)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(re,he,J,ye){var se=ye;switch(J){case 0:return 5;case 1:break;case 2:break;case 3:break;case 4:break;case 5:break;case 6:return 19;case 7:return this.begin("CONFIG"),73;break;case 8:return 74;case 9:return this.popState(),this.popState(),75;break;case 10:return he.yytext=he.yytext.trim(),71;break;case 11:return he.yytext=he.yytext.trim(),this.begin("ALIAS"),71;break;case 12:return this.begin("LINE"),14;break;case 13:return this.begin("ID"),50;break;case 14:return this.begin("ID"),52;break;case 15:return 13;case 16:return this.begin("ID"),53;break;case 17:return he.yytext=he.yytext.trim(),this.begin("ALIAS"),71;break;case 18:return this.popState(),this.popState(),this.begin("LINE"),51;break;case 19:return this.popState(),this.popState(),5;break;case 20:return this.begin("LINE"),36;break;case 21:return this.begin("LINE"),37;break;case 22:return this.begin("LINE"),38;break;case 23:return this.begin("LINE"),39;break;case 24:return this.begin("LINE"),49;break;case 25:return this.begin("LINE"),41;break;case 26:return this.begin("LINE"),43;break;case 27:return this.begin("LINE"),48;break;case 28:return this.begin("LINE"),44;break;case 29:return this.begin("LINE"),47;break;case 30:return this.begin("LINE"),46;break;case 31:return this.popState(),15;break;case 32:return 16;case 33:return 66;case 34:return 67;case 35:return 60;case 36:return 61;case 37:return 62;case 38:return 63;case 39:return 58;case 40:return 55;case 41:return this.begin("ID"),21;break;case 42:return this.begin("ID"),23;break;case 43:return 29;case 44:return 30;case 45:return this.begin("acc_title"),31;break;case 46:return this.popState(),"acc_title_value";break;case 47:return this.begin("acc_descr"),33;break;case 48:return this.popState(),"acc_descr_value";break;case 49:this.begin("acc_descr_multiline");break;case 50:this.popState();break;case 51:return"acc_descr_multiline_value";case 52:return 6;case 53:return 18;case 54:return 20;case 55:return 65;case 56:return 5;case 57:return he.yytext=he.yytext.trim(),71;break;case 58:return 78;case 59:return 79;case 60:return 80;case 61:return 81;case 62:return 76;case 63:return 77;case 64:return 82;case 65:return 83;case 66:return 84;case 67:return 85;case 68:return 86;case 69:return 86;case 70:return 69;case 71:return 70;case 72:return 5;case 73:return"INVALID"}},"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:@\{)/i,/^(?:[^\}]+)/i,/^(?:\})/i,/^(?:[^\<->\->:\n,;@\s]+(?=@\{))/i,/^(?:[^\<->\->:\n,;@]+?([\-]*[^\<->\->:\n,;@]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^<\->\->:\n,;]+?([\-]*[^<\->\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^+<\->\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+<\->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]*)/i,/^(?::)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[50,51],inclusive:!1},acc_descr:{rules:[48],inclusive:!1},acc_title:{rules:[46],inclusive:!1},ID:{rules:[2,3,7,10,11,17],inclusive:!1},ALIAS:{rules:[2,3,18,19],inclusive:!1},LINE:{rules:[2,3,31],inclusive:!1},CONFIG:{rules:[8,9],inclusive:!1},CONFIG_DATA:{rules:[],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,12,13,14,15,16,20,21,22,23,24,25,26,27,28,29,30,32,33,34,35,36,37,38,39,40,41,42,43,44,45,47,49,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73],inclusive:!0}}};return ee}();Z.lexer=ce;function Q(){this.yy={}}return o(Q,"Parser"),Q.prototype=Z,Z.Parser=Q,new Q}();DB.parser=DB;oge=DB});var YQe,XQe,jQe,b4,X6,LB=N(()=>{"use strict";Xt();b2();pt();VP();dr();ui();YQe={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34},XQe={FILLED:0,OPEN:1},jQe={LEFTOF:0,RIGHTOF:1,OVER:2},b4={ACTOR:"actor",BOUNDARY:"boundary",COLLECTIONS:"collections",CONTROL:"control",DATABASE:"database",ENTITY:"entity",PARTICIPANT:"participant",QUEUE:"queue"},X6=class{constructor(){this.state=new Q1(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0}));this.setAccTitle=Cr;this.setAccDescription=Dr;this.setDiagramTitle=Or;this.getAccTitle=_r;this.getAccDescription=Lr;this.getDiagramTitle=Rr;this.apply=this.apply.bind(this),this.parseBoxData=this.parseBoxData.bind(this),this.parseMessage=this.parseMessage.bind(this),this.clear(),this.setWrap(ge().wrap),this.LINETYPE=YQe,this.ARROWTYPE=XQe,this.PLACEMENT=jQe}static{o(this,"SequenceDB")}addBox(e){this.state.records.boxes.push({name:e.text,wrap:e.wrap??this.autoWrap(),fill:e.color,actorKeys:[]}),this.state.records.currentBox=this.state.records.boxes.slice(-1)[0]}addActor(e,r,n,i,a){let s=this.state.records.currentBox,l;if(a!==void 0){let h;a.includes(` +`)?h=a+` +`:h=`{ +`+a+` +}`,l=Xh(h,{schema:Yh})}i=l?.type??i;let u=this.state.records.actors.get(e);if(u){if(this.state.records.currentBox&&u.box&&this.state.records.currentBox!==u.box)throw new Error(`A same participant should only be defined in one Box: ${u.name} can't be in '${u.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`);if(s=u.box?u.box:this.state.records.currentBox,u.box=s,u&&r===u.name&&n==null)return}if(n?.text==null&&(n={text:r,type:i}),(i==null||n.text==null)&&(n={text:r,type:i}),this.state.records.actors.set(e,{box:s,name:r,description:n.text,wrap:n.wrap??this.autoWrap(),prevActor:this.state.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:i??"participant"}),this.state.records.prevActor){let h=this.state.records.actors.get(this.state.records.prevActor);h&&(h.nextActor=e)}this.state.records.currentBox&&this.state.records.currentBox.actorKeys.push(e),this.state.records.prevActor=e}activationCount(e){let r,n=0;if(!e)return 0;for(r=0;r>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},l}return this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:e,to:r,message:n?.text??"",wrap:n?.wrap??this.autoWrap(),type:i,activate:a}),!0}hasAtLeastOneBox(){return this.state.records.boxes.length>0}hasAtLeastOneBoxWithTitle(){return this.state.records.boxes.some(e=>e.name)}getMessages(){return this.state.records.messages}getBoxes(){return this.state.records.boxes}getActors(){return this.state.records.actors}getCreatedActors(){return this.state.records.createdActors}getDestroyedActors(){return this.state.records.destroyedActors}getActor(e){return this.state.records.actors.get(e)}getActorKeys(){return[...this.state.records.actors.keys()]}enableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!0}disableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!1}showSequenceNumbers(){return this.state.records.sequenceNumbersEnabled}setWrap(e){this.state.records.wrapEnabled=e}extractWrap(e){if(e===void 0)return{};e=e.trim();let r=/^:?wrap:/.exec(e)!==null?!0:/^:?nowrap:/.exec(e)!==null?!1:void 0;return{cleanedText:(r===void 0?e:e.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:r}}autoWrap(){return this.state.records.wrapEnabled!==void 0?this.state.records.wrapEnabled:ge().sequence?.wrap??!1}clear(){this.state.reset(),wr()}parseMessage(e){let r=e.trim(),{wrap:n,cleanedText:i}=this.extractWrap(r),a={text:i,wrap:n};return X.debug(`parseMessage: ${JSON.stringify(a)}`),a}parseBoxData(e){let r=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(e),n=r?.[1]?r[1].trim():"transparent",i=r?.[2]?r[2].trim():void 0;if(window?.CSS)window.CSS.supports("color",n)||(n="transparent",i=e.trim());else{let l=new Option().style;l.color=n,l.color!==n&&(n="transparent",i=e.trim())}let{wrap:a,cleanedText:s}=this.extractWrap(i);return{text:s?ar(s,ge()):void 0,color:n,wrap:a}}addNote(e,r,n){let i={actor:e,placement:r,message:n.text,wrap:n.wrap??this.autoWrap()},a=[].concat(e,e);this.state.records.notes.push(i),this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:a[0],to:a[1],message:n.text,wrap:n.wrap??this.autoWrap(),type:this.LINETYPE.NOTE,placement:r})}addLinks(e,r){let n=this.getActor(e);try{let i=ar(r.text,ge());i=i.replace(/=/g,"="),i=i.replace(/&/g,"&");let a=JSON.parse(i);this.insertLinks(n,a)}catch(i){X.error("error while parsing actor link text",i)}}addALink(e,r){let n=this.getActor(e);try{let i={},a=ar(r.text,ge()),s=a.indexOf("@");a=a.replace(/=/g,"="),a=a.replace(/&/g,"&");let l=a.slice(0,s-1).trim(),u=a.slice(s+1).trim();i[l]=u,this.insertLinks(n,i)}catch(i){X.error("error while parsing actor link text",i)}}insertLinks(e,r){if(e.links==null)e.links=r;else for(let n in r)e.links[n]=r[n]}addProperties(e,r){let n=this.getActor(e);try{let i=ar(r.text,ge()),a=JSON.parse(i);this.insertProperties(n,a)}catch(i){X.error("error while parsing actor properties text",i)}}insertProperties(e,r){if(e.properties==null)e.properties=r;else for(let n in r)e.properties[n]=r[n]}boxEnd(){this.state.records.currentBox=void 0}addDetails(e,r){let n=this.getActor(e),i=document.getElementById(r.text);try{let a=i.innerHTML,s=JSON.parse(a);s.properties&&this.insertProperties(n,s.properties),s.links&&this.insertLinks(n,s.links)}catch(a){X.error("error while parsing actor details text",a)}}getActorProperty(e,r){if(e?.properties!==void 0)return e.properties[r]}apply(e){if(Array.isArray(e))e.forEach(r=>{this.apply(r)});else switch(e.type){case"sequenceIndex":this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:void 0,to:void 0,message:{start:e.sequenceIndex,step:e.sequenceIndexStep,visible:e.sequenceVisible},wrap:!1,type:e.signalType});break;case"addParticipant":this.addActor(e.actor,e.actor,e.description,e.draw,e.config);break;case"createParticipant":if(this.state.records.actors.has(e.actor))throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");this.state.records.lastCreated=e.actor,this.addActor(e.actor,e.actor,e.description,e.draw,e.config),this.state.records.createdActors.set(e.actor,this.state.records.messages.length);break;case"destroyParticipant":this.state.records.lastDestroyed=e.actor,this.state.records.destroyedActors.set(e.actor,this.state.records.messages.length);break;case"activeStart":this.addSignal(e.actor,void 0,void 0,e.signalType);break;case"activeEnd":this.addSignal(e.actor,void 0,void 0,e.signalType);break;case"addNote":this.addNote(e.actor,e.placement,e.text);break;case"addLinks":this.addLinks(e.actor,e.text);break;case"addALink":this.addALink(e.actor,e.text);break;case"addProperties":this.addProperties(e.actor,e.text);break;case"addDetails":this.addDetails(e.actor,e.text);break;case"addMessage":if(this.state.records.lastCreated){if(e.to!==this.state.records.lastCreated)throw new Error("The created participant "+this.state.records.lastCreated.name+" does not have an associated creating message after its declaration. Please check the sequence diagram.");this.state.records.lastCreated=void 0}else if(this.state.records.lastDestroyed){if(e.to!==this.state.records.lastDestroyed&&e.from!==this.state.records.lastDestroyed)throw new Error("The destroyed participant "+this.state.records.lastDestroyed.name+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");this.state.records.lastDestroyed=void 0}this.addSignal(e.from,e.to,e.msg,e.signalType,e.activate);break;case"boxStart":this.addBox(e.boxData);break;case"boxEnd":this.boxEnd();break;case"loopStart":this.addSignal(void 0,void 0,e.loopText,e.signalType);break;case"loopEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"rectStart":this.addSignal(void 0,void 0,e.color,e.signalType);break;case"rectEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"optStart":this.addSignal(void 0,void 0,e.optText,e.signalType);break;case"optEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"altStart":this.addSignal(void 0,void 0,e.altText,e.signalType);break;case"else":this.addSignal(void 0,void 0,e.altText,e.signalType);break;case"altEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"setAccTitle":Cr(e.text);break;case"parStart":this.addSignal(void 0,void 0,e.parText,e.signalType);break;case"and":this.addSignal(void 0,void 0,e.parText,e.signalType);break;case"parEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"criticalStart":this.addSignal(void 0,void 0,e.criticalText,e.signalType);break;case"option":this.addSignal(void 0,void 0,e.optionText,e.signalType);break;case"criticalEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break;case"breakStart":this.addSignal(void 0,void 0,e.breakText,e.signalType);break;case"breakEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break}}getConfig(){return ge().sequence}}});var KQe,cge,uge=N(()=>{"use strict";KQe=o(t=>`.actor { stroke: ${t.actorBorder}; fill: ${t.actorBkg}; } @@ -1281,6 +1531,11 @@ Expecting `+Ye.join(", ")+", got '"+(this.terminals_[V]||V)+"'":at="Parse error .actor-line { stroke: ${t.actorLineColor}; } + + .innerArc { + stroke-width: 1.5; + stroke-dasharray: none; + } .messageLine0 { stroke-width: 1.5; @@ -1384,12 +1639,26 @@ Expecting `+Ye.join(", ")+", got '"+(this.terminals_[V]||V)+"'":at="Parse error fill: ${t.actorBkg}; stroke-width: 2px; } -`,"getStyles"),Lde=BUe});var fP,bf,Mde,Ide,FUe,Nde,dP,$Ue,zUe,Nb,Ip,Ode,Wc,pP,GUe,VUe,UUe,HUe,WUe,qUe,YUe,Pde,XUe,jUe,KUe,QUe,ZUe,JUe,eHe,Bde,tHe,mP,rHe,di,Fde=N(()=>{"use strict";fP=Sa(Y0(),1);Jn();nr();dr();Jv();bf=18*2,Mde="actor-top",Ide="actor-bottom",FUe="actor-box",Nde="actor-man",dP=o(function(t,e){return Sd(t,e)},"drawRect"),$Ue=o(function(t,e,r,n,i){if(e.links===void 0||e.links===null||Object.keys(e.links).length===0)return{height:0,width:0};let a=e.links,s=e.actorCnt,l=e.rectData;var u="none";i&&(u="block !important");let h=t.append("g");h.attr("id","actor"+s+"_popup"),h.attr("class","actorPopupMenu"),h.attr("display",u);var f="";l.class!==void 0&&(f=" "+l.class);let d=l.width>r?l.width:r,p=h.append("rect");if(p.attr("class","actorPopupMenuPanel"+f),p.attr("x",l.x),p.attr("y",l.height),p.attr("fill",l.fill),p.attr("stroke",l.stroke),p.attr("width",d),p.attr("height",l.height),p.attr("rx",l.rx),p.attr("ry",l.ry),a!=null){var m=20;for(let v in a){var g=h.append("a"),y=(0,fP.sanitizeUrl)(a[v]);g.attr("xlink:href",y),g.attr("target","_blank"),rHe(n)(v,g,l.x+10,l.height+m,d,20,{class:"actor"},n),m+=30}}return p.attr("height",m),{height:l.height+m,width:d}},"drawPopup"),zUe=o(function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),Nb=o(async function(t,e,r=null){let n=t.append("foreignObject"),i=await yh(e.text,Qt()),s=n.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(i).node().getBoundingClientRect();if(n.attr("height",Math.round(s.height)).attr("width",Math.round(s.width)),e.class==="noteText"){let l=t.node().firstChild;l.setAttribute("height",s.height+2*e.textMargin);let u=l.getBBox();n.attr("x",Math.round(u.x+u.width/2-s.width/2)).attr("y",Math.round(u.y+u.height/2-s.height/2))}else if(r){let{startx:l,stopx:u,starty:h}=r;if(l>u){let f=l;l=u,u=f}n.attr("x",Math.round(l+Math.abs(l-u)/2-s.width/2)),e.class==="loopText"?n.attr("y",Math.round(h)):n.attr("y",Math.round(h-s.height))}return[n]},"drawKatex"),Ip=o(function(t,e){let r=0,n=0,i=e.text.split(Ze.lineBreakRegex),[a,s]=Fo(e.fontSize),l=[],u=0,h=o(()=>e.y,"yfunc");if(e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0)switch(e.valign){case"top":case"start":h=o(()=>Math.round(e.y+e.textMargin),"yfunc");break;case"middle":case"center":h=o(()=>Math.round(e.y+(r+n+e.textMargin)/2),"yfunc");break;case"bottom":case"end":h=o(()=>Math.round(e.y+(r+n+2*e.textMargin)-e.textMargin),"yfunc");break}if(e.anchor!==void 0&&e.textMargin!==void 0&&e.width!==void 0)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle";break}for(let[f,d]of i.entries()){e.textMargin!==void 0&&e.textMargin===0&&a!==void 0&&(u=f*a);let p=t.append("text");p.attr("x",e.x),p.attr("y",h()),e.anchor!==void 0&&p.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),e.fontFamily!==void 0&&p.style("font-family",e.fontFamily),s!==void 0&&p.style("font-size",s),e.fontWeight!==void 0&&p.style("font-weight",e.fontWeight),e.fill!==void 0&&p.attr("fill",e.fill),e.class!==void 0&&p.attr("class",e.class),e.dy!==void 0?p.attr("dy",e.dy):u!==0&&p.attr("dy",u);let m=d||k9;if(e.tspan){let g=p.append("tspan");g.attr("x",e.x),e.fill!==void 0&&g.attr("fill",e.fill),g.text(m)}else p.text(m);e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0&&(n+=(p._groups||p)[0][0].getBBox().height,r=n),l.push(p)}return l},"drawText"),Ode=o(function(t,e){function r(i,a,s,l,u){return i+","+a+" "+(i+s)+","+a+" "+(i+s)+","+(a+l-u)+" "+(i+s-u*1.2)+","+(a+l)+" "+i+","+(a+l)}o(r,"genPoints");let n=t.append("polygon");return n.attr("points",r(e.x,e.y,e.width,e.height,7)),n.attr("class","labelBox"),e.y=e.y+e.height/2,Ip(t,e),n},"drawLabel"),Wc=-1,pP=o((t,e,r,n)=>{t.select&&r.forEach(i=>{let a=e.get(i),s=t.select("#actor"+a.actorCnt);!n.mirrorActors&&a.stopy?s.attr("y2",a.stopy+a.height/2):n.mirrorActors&&s.attr("y2",a.stopy)})},"fixLifeLineHeights"),GUe=o(function(t,e,r,n){let i=n?e.stopy:e.starty,a=e.x+e.width/2,s=i+e.height,l=t.append("g").lower();var u=l;n||(Wc++,Object.keys(e.links||{}).length&&!r.forceMenus&&u.attr("onclick",zUe(`actor${Wc}_popup`)).attr("cursor","pointer"),u.append("line").attr("id","actor"+Wc).attr("x1",a).attr("y1",s).attr("x2",a).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),u=l.append("g"),e.actorCnt=Wc,e.links!=null&&u.attr("id","root-"+Wc));let h=Sl();var f="actor";e.properties?.class?f=e.properties.class:h.fill="#eaeaea",n?f+=` ${Ide}`:f+=` ${Mde}`,h.x=e.x,h.y=i,h.width=e.width,h.height=e.height,h.class=f,h.rx=3,h.ry=3,h.name=e.name;let d=dP(u,h);if(e.rectData=h,e.properties?.icon){let m=e.properties.icon.trim();m.charAt(0)==="@"?jY(u,h.x+h.width-20,h.y+10,m.substr(1)):XY(u,h.x+h.width-20,h.y+10,m)}mP(r,gi(e.description))(e.description,u,h.x,h.y,h.width,h.height,{class:`actor ${FUe}`},r);let p=e.height;if(d.node){let m=d.node().getBBox();e.height=m.height,p=m.height}return p},"drawActorTypeParticipant"),VUe=o(function(t,e,r,n){let i=n?e.stopy:e.starty,a=e.x+e.width/2,s=i+80,l=t.append("g").lower();n||(Wc++,l.append("line").attr("id","actor"+Wc).attr("x1",a).attr("y1",s).attr("x2",a).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=Wc);let u=t.append("g"),h=Nde;n?h+=` ${Ide}`:h+=` ${Mde}`,u.attr("class",h),u.attr("name",e.name);let f=Sl();f.x=e.x,f.y=i,f.fill="#eaeaea",f.width=e.width,f.height=e.height,f.class="actor",f.rx=3,f.ry=3,u.append("line").attr("id","actor-man-torso"+Wc).attr("x1",a).attr("y1",i+25).attr("x2",a).attr("y2",i+45),u.append("line").attr("id","actor-man-arms"+Wc).attr("x1",a-bf/2).attr("y1",i+33).attr("x2",a+bf/2).attr("y2",i+33),u.append("line").attr("x1",a-bf/2).attr("y1",i+60).attr("x2",a).attr("y2",i+45),u.append("line").attr("x1",a).attr("y1",i+45).attr("x2",a+bf/2-2).attr("y2",i+60);let d=u.append("circle");d.attr("cx",e.x+e.width/2),d.attr("cy",i+10),d.attr("r",15),d.attr("width",e.width),d.attr("height",e.height);let p=u.node().getBBox();return e.height=p.height,mP(r,gi(e.description))(e.description,u,f.x,f.y+35,f.width,f.height,{class:`actor ${Nde}`},r),e.height},"drawActorTypeActor"),UUe=o(async function(t,e,r,n){switch(e.type){case"actor":return await VUe(t,e,r,n);case"participant":return await GUe(t,e,r,n)}},"drawActor"),HUe=o(function(t,e,r){let i=t.append("g");Pde(i,e),e.name&&mP(r)(e.name,i,e.x,e.y+r.boxTextMargin+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},r),i.lower()},"drawBox"),WUe=o(function(t){return t.append("g")},"anchorElement"),qUe=o(function(t,e,r,n,i){let a=Sl(),s=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+i%3,a.width=e.stopx-e.startx,a.height=r-e.starty,dP(s,a)},"drawActivation"),YUe=o(async function(t,e,r,n){let{boxMargin:i,boxTextMargin:a,labelBoxHeight:s,labelBoxWidth:l,messageFontFamily:u,messageFontSize:h,messageFontWeight:f}=n,d=t.append("g"),p=o(function(y,v,x,b){return d.append("line").attr("x1",y).attr("y1",v).attr("x2",x).attr("y2",b).attr("class","loopLine")},"drawLoopLine");p(e.startx,e.starty,e.stopx,e.starty),p(e.stopx,e.starty,e.stopx,e.stopy),p(e.startx,e.stopy,e.stopx,e.stopy),p(e.startx,e.starty,e.startx,e.stopy),e.sections!==void 0&&e.sections.forEach(function(y){p(e.startx,y.y,e.stopx,y.y).style("stroke-dasharray","3, 3")});let m=Zv();m.text=r,m.x=e.startx,m.y=e.starty,m.fontFamily=u,m.fontSize=h,m.fontWeight=f,m.anchor="middle",m.valign="middle",m.tspan=!1,m.width=l||50,m.height=s||20,m.textMargin=a,m.class="labelText",Ode(d,m),m=Bde(),m.text=e.title,m.x=e.startx+l/2+(e.stopx-e.startx)/2,m.y=e.starty+i+a,m.anchor="middle",m.valign="middle",m.textMargin=a,m.class="loopText",m.fontFamily=u,m.fontSize=h,m.fontWeight=f,m.wrap=!0;let g=gi(m.text)?await Nb(d,m,e):Ip(d,m);if(e.sectionTitles!==void 0){for(let[y,v]of Object.entries(e.sectionTitles))if(v.message){m.text=v.message,m.x=e.startx+(e.stopx-e.startx)/2,m.y=e.sections[y].y+i+a,m.class="loopText",m.anchor="middle",m.valign="middle",m.tspan=!1,m.fontFamily=u,m.fontSize=h,m.fontWeight=f,m.wrap=e.wrap,gi(m.text)?(e.starty=e.sections[y].y,await Nb(d,m,e)):Ip(d,m);let x=Math.round(g.map(b=>(b._groups||b)[0][0].getBBox().height).reduce((b,T)=>b+T));e.sections[y].height+=x-(i+a)}}return e.height=Math.round(e.stopy-e.starty),d},"drawLoop"),Pde=o(function(t,e){rT(t,e)},"drawBackgroundRect"),XUe=o(function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),jUe=o(function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),KUe=o(function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),QUe=o(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M -1 0 L 10 5 L 0 10 z")},"insertArrowHead"),ZUe=o(function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),JUe=o(function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},"insertSequenceNumber"),eHe=o(function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},"insertArrowCrossHead"),Bde=o(function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},"getTextObj"),tHe=o(function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),mP=function(){function t(a,s,l,u,h,f,d){let p=s.append("text").attr("x",l+h/2).attr("y",u+f/2+5).style("text-anchor","middle").text(a);i(p,d)}o(t,"byText");function e(a,s,l,u,h,f,d,p){let{actorFontSize:m,actorFontFamily:g,actorFontWeight:y}=p,[v,x]=Fo(m),b=a.split(Ze.lineBreakRegex);for(let T=0;T{let s=Op(Ne),l=a.actorKeys.reduce((f,d)=>f+=t.get(d).width+(t.get(d).margin||0),0);l-=2*Ne.boxTextMargin,a.wrap&&(a.name=Vt.wrapLabel(a.name,l-2*Ne.wrapPadding,s));let u=Vt.calculateTextDimensions(a.name,s);i=Ze.getMax(u.height,i);let h=Ze.getMax(l,u.width+2*Ne.wrapPadding);if(a.margin=Ne.boxTextMargin,la.textMaxHeight=i),Ze.getMax(n,Ne.height)}var Ne,rt,nHe,Op,L1,gP,aHe,sHe,yP,zde,Gde,WS,$de,lHe,uHe,fHe,dHe,pHe,Vde,Ude=N(()=>{"use strict";pr();Fde();yt();dr();dr();Jv();qt();c0();nr();yi();Ne={},rt={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:o(function(){return Math.max.apply(null,this.actors.length===0?[0]:this.actors.map(t=>t.height||0))+(this.loops.length===0?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(this.messages.length===0?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(this.notes.length===0?0:this.notes.map(t=>t.height||0).reduce((t,e)=>t+e))},"getHeight"),clear:o(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},"clear"),addBox:o(function(t){this.boxes.push(t)},"addBox"),addActor:o(function(t){this.actors.push(t)},"addActor"),addLoop:o(function(t){this.loops.push(t)},"addLoop"),addMessage:o(function(t){this.messages.push(t)},"addMessage"),addNote:o(function(t){this.notes.push(t)},"addNote"),lastActor:o(function(){return this.actors[this.actors.length-1]},"lastActor"),lastLoop:o(function(){return this.loops[this.loops.length-1]},"lastLoop"),lastMessage:o(function(){return this.messages[this.messages.length-1]},"lastMessage"),lastNote:o(function(){return this.notes[this.notes.length-1]},"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:o(function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,Gde(ge())},"init"),updateVal:o(function(t,e,r,n){t[e]===void 0?t[e]=r:t[e]=n(r,t[e])},"updateVal"),updateBounds:o(function(t,e,r,n){let i=this,a=0;function s(l){return o(function(h){a++;let f=i.sequenceItems.length-a+1;i.updateVal(h,"starty",e-f*Ne.boxMargin,Math.min),i.updateVal(h,"stopy",n+f*Ne.boxMargin,Math.max),i.updateVal(rt.data,"startx",t-f*Ne.boxMargin,Math.min),i.updateVal(rt.data,"stopx",r+f*Ne.boxMargin,Math.max),l!=="activation"&&(i.updateVal(h,"startx",t-f*Ne.boxMargin,Math.min),i.updateVal(h,"stopx",r+f*Ne.boxMargin,Math.max),i.updateVal(rt.data,"starty",e-f*Ne.boxMargin,Math.min),i.updateVal(rt.data,"stopy",n+f*Ne.boxMargin,Math.max))},"updateItemBounds")}o(s,"updateFn"),this.sequenceItems.forEach(s()),this.activations.forEach(s("activation"))},"updateBounds"),insert:o(function(t,e,r,n){let i=Ze.getMin(t,r),a=Ze.getMax(t,r),s=Ze.getMin(e,n),l=Ze.getMax(e,n);this.updateVal(rt.data,"startx",i,Math.min),this.updateVal(rt.data,"starty",s,Math.min),this.updateVal(rt.data,"stopx",a,Math.max),this.updateVal(rt.data,"stopy",l,Math.max),this.updateBounds(i,s,a,l)},"insert"),newActivation:o(function(t,e,r){let n=r.get(t.from),i=WS(t.from).length||0,a=n.x+n.width/2+(i-1)*Ne.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+Ne.activationWidth,stopy:void 0,actor:t.from,anchored:di.anchorElement(e)})},"newActivation"),endActivation:o(function(t){let e=this.activations.map(function(r){return r.actor}).lastIndexOf(t.from);return this.activations.splice(e,1)[0]},"endActivation"),createLoop:o(function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},"createLoop"),newLoop:o(function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},"newLoop"),endLoop:o(function(){return this.sequenceItems.pop()},"endLoop"),isLoopOverlap:o(function(){return this.sequenceItems.length?this.sequenceItems[this.sequenceItems.length-1].overlap:!1},"isLoopOverlap"),addSectionToLoop:o(function(t){let e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:rt.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},"addSectionToLoop"),saveVerticalPos:o(function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},"saveVerticalPos"),resetVerticalPos:o(function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},"resetVerticalPos"),bumpVerticalPos:o(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=Ze.getMax(this.data.stopy,this.verticalPos)},"bumpVerticalPos"),getVerticalPos:o(function(){return this.verticalPos},"getVerticalPos"),getBounds:o(function(){return{bounds:this.data,models:this.models}},"getBounds")},nHe=o(async function(t,e){rt.bumpVerticalPos(Ne.boxMargin),e.height=Ne.boxMargin,e.starty=rt.getVerticalPos();let r=Sl();r.x=e.startx,r.y=e.starty,r.width=e.width||Ne.width,r.class="note";let n=t.append("g"),i=di.drawRect(n,r),a=Zv();a.x=e.startx,a.y=e.starty,a.width=r.width,a.dy="1em",a.text=e.message,a.class="noteText",a.fontFamily=Ne.noteFontFamily,a.fontSize=Ne.noteFontSize,a.fontWeight=Ne.noteFontWeight,a.anchor=Ne.noteAlign,a.textMargin=Ne.noteMargin,a.valign="center";let s=gi(a.text)?await Nb(n,a):Ip(n,a),l=Math.round(s.map(u=>(u._groups||u)[0][0].getBBox().height).reduce((u,h)=>u+h));i.attr("height",l+2*Ne.noteMargin),e.height+=l+2*Ne.noteMargin,rt.bumpVerticalPos(l+2*Ne.noteMargin),e.stopy=e.starty+l+2*Ne.noteMargin,e.stopx=e.startx+r.width,rt.insert(e.startx,e.starty,e.stopx,e.stopy),rt.models.addNote(e)},"drawNote"),Op=o(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont"),L1=o(t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),"noteFont"),gP=o(t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),"actorFont");o(iHe,"boundMessage");aHe=o(async function(t,e,r,n){let{startx:i,stopx:a,starty:s,message:l,type:u,sequenceIndex:h,sequenceVisible:f}=e,d=Vt.calculateTextDimensions(l,Op(Ne)),p=Zv();p.x=i,p.y=s+10,p.width=a-i,p.class="messageText",p.dy="1em",p.text=l,p.fontFamily=Ne.messageFontFamily,p.fontSize=Ne.messageFontSize,p.fontWeight=Ne.messageFontWeight,p.anchor=Ne.messageAlign,p.valign="center",p.textMargin=Ne.wrapPadding,p.tspan=!1,gi(p.text)?await Nb(t,p,{startx:i,stopx:a,starty:r}):Ip(t,p);let m=d.width,g;i===a?Ne.rightAngles?g=t.append("path").attr("d",`M ${i},${r} H ${i+Ze.getMax(Ne.width/2,m/2)} V ${r+25} H ${i}`):g=t.append("path").attr("d","M "+i+","+r+" C "+(i+60)+","+(r-10)+" "+(i+60)+","+(r+30)+" "+i+","+(r+20)):(g=t.append("line"),g.attr("x1",i),g.attr("y1",r),g.attr("x2",a),g.attr("y2",r)),u===n.db.LINETYPE.DOTTED||u===n.db.LINETYPE.DOTTED_CROSS||u===n.db.LINETYPE.DOTTED_POINT||u===n.db.LINETYPE.DOTTED_OPEN||u===n.db.LINETYPE.BIDIRECTIONAL_DOTTED?(g.style("stroke-dasharray","3, 3"),g.attr("class","messageLine1")):g.attr("class","messageLine0");let y="";Ne.arrowMarkerAbsolute&&(y=fu(!0)),g.attr("stroke-width",2),g.attr("stroke","none"),g.style("fill","none"),(u===n.db.LINETYPE.SOLID||u===n.db.LINETYPE.DOTTED)&&g.attr("marker-end","url("+y+"#arrowhead)"),(u===n.db.LINETYPE.BIDIRECTIONAL_SOLID||u===n.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(g.attr("marker-start","url("+y+"#arrowhead)"),g.attr("marker-end","url("+y+"#arrowhead)")),(u===n.db.LINETYPE.SOLID_POINT||u===n.db.LINETYPE.DOTTED_POINT)&&g.attr("marker-end","url("+y+"#filled-head)"),(u===n.db.LINETYPE.SOLID_CROSS||u===n.db.LINETYPE.DOTTED_CROSS)&&g.attr("marker-end","url("+y+"#crosshead)"),(f||Ne.showSequenceNumbers)&&((u===n.db.LINETYPE.BIDIRECTIONAL_SOLID||u===n.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(ii&&(i=h.height),h.width+l.x>a&&(a=h.width+l.x)}return{maxHeight:i,maxWidth:a}},"drawActorsPopup"),Gde=o(function(t){Gn(Ne,t),t.fontFamily&&(Ne.actorFontFamily=Ne.noteFontFamily=Ne.messageFontFamily=t.fontFamily),t.fontSize&&(Ne.actorFontSize=Ne.noteFontSize=Ne.messageFontSize=t.fontSize),t.fontWeight&&(Ne.actorFontWeight=Ne.noteFontWeight=Ne.messageFontWeight=t.fontWeight)},"setConf"),WS=o(function(t){return rt.activations.filter(function(e){return e.actor===t})},"actorActivations"),$de=o(function(t,e){let r=e.get(t),n=WS(t),i=n.reduce(function(s,l){return Ze.getMin(s,l.startx)},r.x+r.width/2-1),a=n.reduce(function(s,l){return Ze.getMax(s,l.stopx)},r.x+r.width/2+1);return[i,a]},"activationBounds");o(qc,"adjustLoopHeightForWrap");o(oHe,"adjustCreatedDestroyedData");lHe=o(async function(t,e,r,n){let{securityLevel:i,sequence:a}=ge();Ne=a;let s;i==="sandbox"&&(s=Ge("#i"+e));let l=i==="sandbox"?Ge(s.nodes()[0].contentDocument.body):Ge("body"),u=i==="sandbox"?s.nodes()[0].contentDocument:document;rt.init(),X.debug(n.db);let h=i==="sandbox"?l.select(`[id="${e}"]`):Ge(`[id="${e}"]`),f=n.db.getActors(),d=n.db.getCreatedActors(),p=n.db.getDestroyedActors(),m=n.db.getBoxes(),g=n.db.getActorKeys(),y=n.db.getMessages(),v=n.db.getDiagramTitle(),x=n.db.hasAtLeastOneBox(),b=n.db.hasAtLeastOneBoxWithTitle(),T=await cHe(f,y,n);if(Ne.height=await hHe(f,T,m),di.insertComputerIcon(h),di.insertDatabaseIcon(h),di.insertClockIcon(h),x&&(rt.bumpVerticalPos(Ne.boxMargin),b&&rt.bumpVerticalPos(m[0].textMaxHeight)),Ne.hideUnusedParticipants===!0){let B=new Set;y.forEach(F=>{B.add(F.from),B.add(F.to)}),g=g.filter(F=>B.has(F))}sHe(h,f,d,g,0,y,!1);let C=await pHe(y,f,T,n);di.insertArrowHead(h),di.insertArrowCrossHead(h),di.insertArrowFilledHead(h),di.insertSequenceNumber(h);function w(B,F){let z=rt.endActivation(B);z.starty+18>F&&(z.starty=F-6,F+=12),di.drawActivation(h,z,F,Ne,WS(B.from).length),rt.insert(z.startx,F-10,z.stopx,F)}o(w,"activeEnd");let E=1,_=1,A=[],D=[],O=0;for(let B of y){let F,z,$;switch(B.type){case n.db.LINETYPE.NOTE:rt.resetVerticalPos(),z=B.noteModel,await nHe(h,z);break;case n.db.LINETYPE.ACTIVE_START:rt.newActivation(B,h,f);break;case n.db.LINETYPE.ACTIVE_END:w(B,rt.getVerticalPos());break;case n.db.LINETYPE.LOOP_START:qc(C,B,Ne.boxMargin,Ne.boxMargin+Ne.boxTextMargin,U=>rt.newLoop(U));break;case n.db.LINETYPE.LOOP_END:F=rt.endLoop(),await di.drawLoop(h,F,"loop",Ne),rt.bumpVerticalPos(F.stopy-rt.getVerticalPos()),rt.models.addLoop(F);break;case n.db.LINETYPE.RECT_START:qc(C,B,Ne.boxMargin,Ne.boxMargin,U=>rt.newLoop(void 0,U.message));break;case n.db.LINETYPE.RECT_END:F=rt.endLoop(),D.push(F),rt.models.addLoop(F),rt.bumpVerticalPos(F.stopy-rt.getVerticalPos());break;case n.db.LINETYPE.OPT_START:qc(C,B,Ne.boxMargin,Ne.boxMargin+Ne.boxTextMargin,U=>rt.newLoop(U));break;case n.db.LINETYPE.OPT_END:F=rt.endLoop(),await di.drawLoop(h,F,"opt",Ne),rt.bumpVerticalPos(F.stopy-rt.getVerticalPos()),rt.models.addLoop(F);break;case n.db.LINETYPE.ALT_START:qc(C,B,Ne.boxMargin,Ne.boxMargin+Ne.boxTextMargin,U=>rt.newLoop(U));break;case n.db.LINETYPE.ALT_ELSE:qc(C,B,Ne.boxMargin+Ne.boxTextMargin,Ne.boxMargin,U=>rt.addSectionToLoop(U));break;case n.db.LINETYPE.ALT_END:F=rt.endLoop(),await di.drawLoop(h,F,"alt",Ne),rt.bumpVerticalPos(F.stopy-rt.getVerticalPos()),rt.models.addLoop(F);break;case n.db.LINETYPE.PAR_START:case n.db.LINETYPE.PAR_OVER_START:qc(C,B,Ne.boxMargin,Ne.boxMargin+Ne.boxTextMargin,U=>rt.newLoop(U)),rt.saveVerticalPos();break;case n.db.LINETYPE.PAR_AND:qc(C,B,Ne.boxMargin+Ne.boxTextMargin,Ne.boxMargin,U=>rt.addSectionToLoop(U));break;case n.db.LINETYPE.PAR_END:F=rt.endLoop(),await di.drawLoop(h,F,"par",Ne),rt.bumpVerticalPos(F.stopy-rt.getVerticalPos()),rt.models.addLoop(F);break;case n.db.LINETYPE.AUTONUMBER:E=B.message.start||E,_=B.message.step||_,B.message.visible?n.db.enableSequenceNumbers():n.db.disableSequenceNumbers();break;case n.db.LINETYPE.CRITICAL_START:qc(C,B,Ne.boxMargin,Ne.boxMargin+Ne.boxTextMargin,U=>rt.newLoop(U));break;case n.db.LINETYPE.CRITICAL_OPTION:qc(C,B,Ne.boxMargin+Ne.boxTextMargin,Ne.boxMargin,U=>rt.addSectionToLoop(U));break;case n.db.LINETYPE.CRITICAL_END:F=rt.endLoop(),await di.drawLoop(h,F,"critical",Ne),rt.bumpVerticalPos(F.stopy-rt.getVerticalPos()),rt.models.addLoop(F);break;case n.db.LINETYPE.BREAK_START:qc(C,B,Ne.boxMargin,Ne.boxMargin+Ne.boxTextMargin,U=>rt.newLoop(U));break;case n.db.LINETYPE.BREAK_END:F=rt.endLoop(),await di.drawLoop(h,F,"break",Ne),rt.bumpVerticalPos(F.stopy-rt.getVerticalPos()),rt.models.addLoop(F);break;default:try{$=B.msgModel,$.starty=rt.getVerticalPos(),$.sequenceIndex=E,$.sequenceVisible=n.db.showSequenceNumbers();let U=await iHe(h,$);oHe(B,$,U,O,f,d,p),A.push({messageModel:$,lineStartY:U}),rt.models.addMessage($)}catch(U){X.error("error while drawing message",U)}}[n.db.LINETYPE.SOLID_OPEN,n.db.LINETYPE.DOTTED_OPEN,n.db.LINETYPE.SOLID,n.db.LINETYPE.DOTTED,n.db.LINETYPE.SOLID_CROSS,n.db.LINETYPE.DOTTED_CROSS,n.db.LINETYPE.SOLID_POINT,n.db.LINETYPE.DOTTED_POINT,n.db.LINETYPE.BIDIRECTIONAL_SOLID,n.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(B.type)&&(E=E+_),O++}X.debug("createdActors",d),X.debug("destroyedActors",p),await yP(h,f,g,!1);for(let B of A)await aHe(h,B.messageModel,B.lineStartY,n);Ne.mirrorActors&&await yP(h,f,g,!0),D.forEach(B=>di.drawBackgroundRect(h,B)),pP(h,f,g,Ne);for(let B of rt.models.boxes)B.height=rt.getVerticalPos()-B.y,rt.insert(B.x,B.y,B.x+B.width,B.height),B.startx=B.x,B.starty=B.y,B.stopx=B.startx+B.width,B.stopy=B.starty+B.height,B.stroke="rgb(0,0,0, 0.5)",di.drawBox(h,B,Ne);x&&rt.bumpVerticalPos(Ne.boxMargin);let R=zde(h,f,g,u),{bounds:k}=rt.getBounds();k.startx===void 0&&(k.startx=0),k.starty===void 0&&(k.starty=0),k.stopx===void 0&&(k.stopx=0),k.stopy===void 0&&(k.stopy=0);let L=k.stopy-k.starty;L2,d=o(y=>l?-y:y,"adjustValue");t.from===t.to?h=u:(t.activate&&!f&&(h+=d(Ne.activationWidth/2-1)),[r.db.LINETYPE.SOLID_OPEN,r.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(h+=d(3)),[r.db.LINETYPE.BIDIRECTIONAL_SOLID,r.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(u-=d(3)));let p=[n,i,a,s],m=Math.abs(u-h);t.wrap&&t.message&&(t.message=Vt.wrapLabel(t.message,Ze.getMax(m+2*Ne.wrapPadding,Ne.width),Op(Ne)));let g=Vt.calculateTextDimensions(t.message,Op(Ne));return{width:Ze.getMax(t.wrap?0:g.width+2*Ne.wrapPadding,m+2*Ne.wrapPadding,Ne.width),height:0,startx:u,stopx:h,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,p),toBounds:Math.max.apply(null,p)}},"buildMessageModel"),pHe=o(async function(t,e,r,n){let i={},a=[],s,l,u;for(let h of t){switch(h.type){case n.db.LINETYPE.LOOP_START:case n.db.LINETYPE.ALT_START:case n.db.LINETYPE.OPT_START:case n.db.LINETYPE.PAR_START:case n.db.LINETYPE.PAR_OVER_START:case n.db.LINETYPE.CRITICAL_START:case n.db.LINETYPE.BREAK_START:a.push({id:h.id,msg:h.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case n.db.LINETYPE.ALT_ELSE:case n.db.LINETYPE.PAR_AND:case n.db.LINETYPE.CRITICAL_OPTION:h.message&&(s=a.pop(),i[s.id]=s,i[h.id]=s,a.push(s));break;case n.db.LINETYPE.LOOP_END:case n.db.LINETYPE.ALT_END:case n.db.LINETYPE.OPT_END:case n.db.LINETYPE.PAR_END:case n.db.LINETYPE.CRITICAL_END:case n.db.LINETYPE.BREAK_END:s=a.pop(),i[s.id]=s;break;case n.db.LINETYPE.ACTIVE_START:{let d=e.get(h.from?h.from:h.to.actor),p=WS(h.from?h.from:h.to.actor).length,m=d.x+d.width/2+(p-1)*Ne.activationWidth/2,g={startx:m,stopx:m+Ne.activationWidth,actor:h.from,enabled:!0};rt.activations.push(g)}break;case n.db.LINETYPE.ACTIVE_END:{let d=rt.activations.map(p=>p.actor).lastIndexOf(h.from);rt.activations.splice(d,1).splice(0,1)}break}h.placement!==void 0?(l=await fHe(h,e,n),h.noteModel=l,a.forEach(d=>{s=d,s.from=Ze.getMin(s.from,l.startx),s.to=Ze.getMax(s.to,l.startx+l.width),s.width=Ze.getMax(s.width,Math.abs(s.from-s.to))-Ne.labelBoxWidth})):(u=dHe(h,e,n),h.msgModel=u,u.startx&&u.stopx&&a.length>0&&a.forEach(d=>{if(s=d,u.startx===u.stopx){let p=e.get(h.from),m=e.get(h.to);s.from=Ze.getMin(p.x-u.width/2,p.x-p.width/2,s.from),s.to=Ze.getMax(m.x+u.width/2,m.x+p.width/2,s.to),s.width=Ze.getMax(s.width,Math.abs(s.to-s.from))-Ne.labelBoxWidth}else s.from=Ze.getMin(u.startx,s.from),s.to=Ze.getMax(u.stopx,s.to),s.width=Ze.getMax(s.width,u.width)-Ne.labelBoxWidth}))}return rt.activations=[],X.debug("Loop type widths:",i),i},"calculateLoopBounds"),Vde={bounds:rt,drawActors:yP,drawActorsPopup:zde,setConf:Gde,draw:lHe}});var Hde={};hr(Hde,{diagram:()=>mHe});var mHe,Wde=N(()=>{"use strict";_de();Dde();Rde();qt();Ude();mHe={parser:Ade,get db(){return new HS},renderer:Vde,styles:Lde,init:o(t=>{t.sequence||(t.sequence={}),t.wrap&&(t.sequence.wrap=t.wrap,ev({sequence:{wrap:t.wrap}}))},"init")}});var vP,qS,xP=N(()=>{"use strict";vP=function(){var t=o(function(Ie,xe,q,de){for(q=q||{},de=Ie.length;de--;q[Ie[de]]=xe);return q},"o"),e=[1,18],r=[1,19],n=[1,20],i=[1,41],a=[1,42],s=[1,26],l=[1,24],u=[1,25],h=[1,32],f=[1,33],d=[1,34],p=[1,45],m=[1,35],g=[1,36],y=[1,37],v=[1,38],x=[1,27],b=[1,28],T=[1,29],C=[1,30],w=[1,31],E=[1,44],_=[1,46],A=[1,43],D=[1,47],O=[1,9],R=[1,8,9],k=[1,58],L=[1,59],S=[1,60],I=[1,61],M=[1,62],P=[1,63],B=[1,64],F=[1,8,9,41],z=[1,76],$=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],U=[1,8,9,12,13,18,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],K=[13,58,84,99,101,102],ee=[13,58,71,72,84,99,101,102],Y=[13,58,66,67,68,69,70,84,99,101,102],ce=[1,99],Z=[1,116],ue=[1,108],Q=[1,114],j=[1,109],ne=[1,110],te=[1,111],he=[1,112],le=[1,113],J=[1,115],Se=[22,58,59,80,84,85,86,87,88,89],se=[1,8,9,39,41,44],ae=[1,8,9,22],Oe=[1,144],ye=[1,8,9,59],Be=[1,8,9,22,58,59,80,84,85,86,87,88,89],He={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[17,1],[53,1]],performAction:o(function(xe,q,de,ie,oe,V,Te){var W=V.length-1;switch(oe){case 8:this.$=V[W-1];break;case 9:case 10:case 13:case 15:this.$=V[W];break;case 11:case 14:this.$=V[W-2]+"."+V[W];break;case 12:case 16:this.$=V[W-1]+V[W];break;case 17:case 18:this.$=V[W-1]+"~"+V[W]+"~";break;case 19:ie.addRelation(V[W]);break;case 20:V[W-1].title=ie.cleanupLabel(V[W]),ie.addRelation(V[W-1]);break;case 31:this.$=V[W].trim(),ie.setAccTitle(this.$);break;case 32:case 33:this.$=V[W].trim(),ie.setAccDescription(this.$);break;case 34:ie.addClassesToNamespace(V[W-3],V[W-1]);break;case 35:ie.addClassesToNamespace(V[W-4],V[W-1]);break;case 36:this.$=V[W],ie.addNamespace(V[W]);break;case 37:this.$=[V[W]];break;case 38:this.$=[V[W-1]];break;case 39:V[W].unshift(V[W-2]),this.$=V[W];break;case 41:ie.setCssClass(V[W-2],V[W]);break;case 42:ie.addMembers(V[W-3],V[W-1]);break;case 43:ie.setCssClass(V[W-5],V[W-3]),ie.addMembers(V[W-5],V[W-1]);break;case 44:this.$=V[W],ie.addClass(V[W]);break;case 45:this.$=V[W-1],ie.addClass(V[W-1]),ie.setClassLabel(V[W-1],V[W]);break;case 46:ie.addAnnotation(V[W],V[W-2]);break;case 47:case 60:this.$=[V[W]];break;case 48:V[W].push(V[W-1]),this.$=V[W];break;case 49:break;case 50:ie.addMember(V[W-1],ie.cleanupLabel(V[W]));break;case 51:break;case 52:break;case 53:this.$={id1:V[W-2],id2:V[W],relation:V[W-1],relationTitle1:"none",relationTitle2:"none"};break;case 54:this.$={id1:V[W-3],id2:V[W],relation:V[W-1],relationTitle1:V[W-2],relationTitle2:"none"};break;case 55:this.$={id1:V[W-3],id2:V[W],relation:V[W-2],relationTitle1:"none",relationTitle2:V[W-1]};break;case 56:this.$={id1:V[W-4],id2:V[W],relation:V[W-2],relationTitle1:V[W-3],relationTitle2:V[W-1]};break;case 57:ie.addNote(V[W],V[W-1]);break;case 58:ie.addNote(V[W]);break;case 59:this.$=V[W-2],ie.defineClass(V[W-1],V[W]);break;case 61:this.$=V[W-2].concat([V[W]]);break;case 62:ie.setDirection("TB");break;case 63:ie.setDirection("BT");break;case 64:ie.setDirection("RL");break;case 65:ie.setDirection("LR");break;case 66:this.$={type1:V[W-2],type2:V[W],lineType:V[W-1]};break;case 67:this.$={type1:"none",type2:V[W],lineType:V[W-1]};break;case 68:this.$={type1:V[W-1],type2:"none",lineType:V[W]};break;case 69:this.$={type1:"none",type2:"none",lineType:V[W]};break;case 70:this.$=ie.relationType.AGGREGATION;break;case 71:this.$=ie.relationType.EXTENSION;break;case 72:this.$=ie.relationType.COMPOSITION;break;case 73:this.$=ie.relationType.DEPENDENCY;break;case 74:this.$=ie.relationType.LOLLIPOP;break;case 75:this.$=ie.lineType.LINE;break;case 76:this.$=ie.lineType.DOTTED_LINE;break;case 77:case 83:this.$=V[W-2],ie.setClickEvent(V[W-1],V[W]);break;case 78:case 84:this.$=V[W-3],ie.setClickEvent(V[W-2],V[W-1]),ie.setTooltip(V[W-2],V[W]);break;case 79:this.$=V[W-2],ie.setLink(V[W-1],V[W]);break;case 80:this.$=V[W-3],ie.setLink(V[W-2],V[W-1],V[W]);break;case 81:this.$=V[W-3],ie.setLink(V[W-2],V[W-1]),ie.setTooltip(V[W-2],V[W]);break;case 82:this.$=V[W-4],ie.setLink(V[W-3],V[W-2],V[W]),ie.setTooltip(V[W-3],V[W-1]);break;case 85:this.$=V[W-3],ie.setClickEvent(V[W-2],V[W-1],V[W]);break;case 86:this.$=V[W-4],ie.setClickEvent(V[W-3],V[W-2],V[W-1]),ie.setTooltip(V[W-3],V[W]);break;case 87:this.$=V[W-3],ie.setLink(V[W-2],V[W]);break;case 88:this.$=V[W-4],ie.setLink(V[W-3],V[W-1],V[W]);break;case 89:this.$=V[W-4],ie.setLink(V[W-3],V[W-1]),ie.setTooltip(V[W-3],V[W]);break;case 90:this.$=V[W-5],ie.setLink(V[W-4],V[W-2],V[W]),ie.setTooltip(V[W-4],V[W-1]);break;case 91:this.$=V[W-2],ie.setCssStyle(V[W-1],V[W]);break;case 92:ie.setCssClass(V[W-1],V[W]);break;case 93:this.$=[V[W]];break;case 94:V[W-2].push(V[W]),this.$=V[W-2];break;case 96:this.$=V[W-1]+V[W];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:r,37:n,38:22,42:i,43:23,46:a,47:s,49:l,50:u,52:h,54:f,55:d,58:p,60:m,61:g,62:y,63:v,73:x,74:b,76:T,80:C,81:w,84:E,99:_,101:A,102:D},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(O,[2,5],{8:[1,48]}),{8:[1,49]},t(R,[2,19],{22:[1,50]}),t(R,[2,21]),t(R,[2,22]),t(R,[2,23]),t(R,[2,24]),t(R,[2,25]),t(R,[2,26]),t(R,[2,27]),t(R,[2,28]),t(R,[2,29]),t(R,[2,30]),{34:[1,51]},{36:[1,52]},t(R,[2,33]),t(R,[2,49],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:k,67:L,68:S,69:I,70:M,71:P,72:B}),{39:[1,65]},t(F,[2,40],{39:[1,67],44:[1,66]}),t(R,[2,51]),t(R,[2,52]),{16:68,58:p,84:E,99:_,101:A},{16:39,17:40,19:69,58:p,84:E,99:_,101:A,102:D},{16:39,17:40,19:70,58:p,84:E,99:_,101:A,102:D},{16:39,17:40,19:71,58:p,84:E,99:_,101:A,102:D},{58:[1,72]},{13:[1,73]},{16:39,17:40,19:74,58:p,84:E,99:_,101:A,102:D},{13:z,53:75},{56:77,58:[1,78]},t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t($,[2,13],{16:39,17:40,19:80,18:[1,79],20:[1,81],58:p,84:E,99:_,101:A,102:D}),t($,[2,15],{20:[1,82]}),{15:83,16:84,17:85,58:p,84:E,99:_,101:A,102:D},{16:39,17:40,19:86,58:p,84:E,99:_,101:A,102:D},t(U,[2,119]),t(U,[2,120]),t(U,[2,121]),t(U,[2,122]),t([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,123]),t(O,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:87,33:e,35:r,37:n,42:i,46:a,47:s,49:l,50:u,52:h,54:f,55:d,58:p,60:m,61:g,62:y,63:v,73:x,74:b,76:T,80:C,81:w,84:E,99:_,101:A,102:D}),{5:88,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:r,37:n,38:22,42:i,43:23,46:a,47:s,49:l,50:u,52:h,54:f,55:d,58:p,60:m,61:g,62:y,63:v,73:x,74:b,76:T,80:C,81:w,84:E,99:_,101:A,102:D},t(R,[2,20]),t(R,[2,31]),t(R,[2,32]),{13:[1,90],16:39,17:40,19:89,58:p,84:E,99:_,101:A,102:D},{51:91,64:56,65:57,66:k,67:L,68:S,69:I,70:M,71:P,72:B},t(R,[2,50]),{65:92,71:P,72:B},t(K,[2,69],{64:93,66:k,67:L,68:S,69:I,70:M}),t(ee,[2,70]),t(ee,[2,71]),t(ee,[2,72]),t(ee,[2,73]),t(ee,[2,74]),t(Y,[2,75]),t(Y,[2,76]),{8:[1,95],24:96,40:94,43:23,46:a},{16:97,58:p,84:E,99:_,101:A},{45:98,49:ce},{48:[1,100]},{13:[1,101]},{13:[1,102]},{77:[1,103],79:[1,104]},{22:Z,57:105,58:ue,80:Q,82:106,83:107,84:j,85:ne,86:te,87:he,88:le,89:J},{58:[1,117]},{13:z,53:118},t(R,[2,58]),t(R,[2,124]),{22:Z,57:119,58:ue,59:[1,120],80:Q,82:106,83:107,84:j,85:ne,86:te,87:he,88:le,89:J},t(Se,[2,60]),{16:39,17:40,19:121,58:p,84:E,99:_,101:A,102:D},t($,[2,16]),t($,[2,17]),t($,[2,18]),{39:[2,36]},{15:123,16:84,17:85,18:[1,122],39:[2,9],58:p,84:E,99:_,101:A,102:D},{39:[2,10]},t(se,[2,44],{11:124,12:[1,125]}),t(O,[2,7]),{9:[1,126]},t(ae,[2,53]),{16:39,17:40,19:127,58:p,84:E,99:_,101:A,102:D},{13:[1,129],16:39,17:40,19:128,58:p,84:E,99:_,101:A,102:D},t(K,[2,68],{64:130,66:k,67:L,68:S,69:I,70:M}),t(K,[2,67]),{41:[1,131]},{24:96,40:132,43:23,46:a},{8:[1,133],41:[2,37]},t(F,[2,41],{39:[1,134]}),{41:[1,135]},{41:[2,47],45:136,49:ce},{16:39,17:40,19:137,58:p,84:E,99:_,101:A,102:D},t(R,[2,77],{13:[1,138]}),t(R,[2,79],{13:[1,140],75:[1,139]}),t(R,[2,83],{13:[1,141],78:[1,142]}),{13:[1,143]},t(R,[2,91],{59:Oe}),t(ye,[2,93],{83:145,22:Z,58:ue,80:Q,84:j,85:ne,86:te,87:he,88:le,89:J}),t(Be,[2,95]),t(Be,[2,97]),t(Be,[2,98]),t(Be,[2,99]),t(Be,[2,100]),t(Be,[2,101]),t(Be,[2,102]),t(Be,[2,103]),t(Be,[2,104]),t(Be,[2,105]),t(R,[2,92]),t(R,[2,57]),t(R,[2,59],{59:Oe}),{58:[1,146]},t($,[2,14]),{15:147,16:84,17:85,58:p,84:E,99:_,101:A,102:D},{39:[2,12]},t(se,[2,45]),{13:[1,148]},{1:[2,4]},t(ae,[2,55]),t(ae,[2,54]),{16:39,17:40,19:149,58:p,84:E,99:_,101:A,102:D},t(K,[2,66]),t(R,[2,34]),{41:[1,150]},{24:96,40:151,41:[2,38],43:23,46:a},{45:152,49:ce},t(F,[2,42]),{41:[2,48]},t(R,[2,46]),t(R,[2,78]),t(R,[2,80]),t(R,[2,81],{75:[1,153]}),t(R,[2,84]),t(R,[2,85],{13:[1,154]}),t(R,[2,87],{13:[1,156],75:[1,155]}),{22:Z,58:ue,80:Q,82:157,83:107,84:j,85:ne,86:te,87:he,88:le,89:J},t(Be,[2,96]),t(Se,[2,61]),{39:[2,11]},{14:[1,158]},t(ae,[2,56]),t(R,[2,35]),{41:[2,39]},{41:[1,159]},t(R,[2,82]),t(R,[2,86]),t(R,[2,88]),t(R,[2,89],{75:[1,160]}),t(ye,[2,94],{83:145,22:Z,58:ue,80:Q,84:j,85:ne,86:te,87:he,88:le,89:J}),t(se,[2,8]),t(F,[2,43]),t(R,[2,90])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,36],85:[2,10],123:[2,12],126:[2,4],136:[2,48],147:[2,11],151:[2,39]},parseError:o(function(xe,q){if(q.recoverable)this.trace(xe);else{var de=new Error(xe);throw de.hash=q,de}},"parseError"),parse:o(function(xe){var q=this,de=[0],ie=[],oe=[null],V=[],Te=this.table,W="",pe=0,ve=0,Pe=0,_e=2,be=1,Ve=V.slice.call(arguments,1),De=Object.create(this.lexer),Ye={yy:{}};for(var at in this.yy)Object.prototype.hasOwnProperty.call(this.yy,at)&&(Ye.yy[at]=this.yy[at]);De.setInput(xe,Ye.yy),Ye.yy.lexer=De,Ye.yy.parser=this,typeof De.yylloc>"u"&&(De.yylloc={});var Rt=De.yylloc;V.push(Rt);var st=De.options&&De.options.ranges;typeof Ye.yy.parseError=="function"?this.parseError=Ye.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ue(kt){de.length=de.length-2*kt,oe.length=oe.length-kt,V.length=V.length-kt}o(Ue,"popStack");function ut(){var kt;return kt=ie.pop()||De.lex()||be,typeof kt!="number"&&(kt instanceof Array&&(ie=kt,kt=ie.pop()),kt=q.symbols_[kt]||kt),kt}o(ut,"lex");for(var We,lt,Xt,Tt,Mt,bt,ht={},St,ft,vt,nt;;){if(Xt=de[de.length-1],this.defaultActions[Xt]?Tt=this.defaultActions[Xt]:((We===null||typeof We>"u")&&(We=ut()),Tt=Te[Xt]&&Te[Xt][We]),typeof Tt>"u"||!Tt.length||!Tt[0]){var dn="";nt=[];for(St in Te[Xt])this.terminals_[St]&&St>_e&&nt.push("'"+this.terminals_[St]+"'");De.showPosition?dn="Parse error on line "+(pe+1)+`: + +`,"getStyles"),cge=KQe});var RB,Vf,Hf,Wf,j6,Uf,T4,QQe,K6,w4,n0,hge,Ir,NB,ZQe,JQe,eZe,tZe,rZe,nZe,iZe,aZe,sZe,oZe,lZe,cZe,uZe,fge,hZe,fZe,dZe,pZe,mZe,gZe,yZe,dge,vZe,ih,xZe,gi,pge=N(()=>{"use strict";RB=ja(Q0(),1);Wn();tr();dr();e2();Vf=18*2,Hf="actor-top",Wf="actor-bottom",j6="actor-box",Uf="actor-man",T4=o(function(t,e){return Id(t,e)},"drawRect"),QQe=o(function(t,e,r,n,i){if(e.links===void 0||e.links===null||Object.keys(e.links).length===0)return{height:0,width:0};let a=e.links,s=e.actorCnt,l=e.rectData;var u="none";i&&(u="block !important");let h=t.append("g");h.attr("id","actor"+s+"_popup"),h.attr("class","actorPopupMenu"),h.attr("display",u);var f="";l.class!==void 0&&(f=" "+l.class);let d=l.width>r?l.width:r,p=h.append("rect");if(p.attr("class","actorPopupMenuPanel"+f),p.attr("x",l.x),p.attr("y",l.height),p.attr("fill",l.fill),p.attr("stroke",l.stroke),p.attr("width",d),p.attr("height",l.height),p.attr("rx",l.rx),p.attr("ry",l.ry),a!=null){var m=20;for(let x in a){var g=h.append("a"),y=(0,RB.sanitizeUrl)(a[x]);g.attr("xlink:href",y),g.attr("target","_blank"),xZe(n)(x,g,l.x+10,l.height+m,d,20,{class:"actor"},n),m+=30}}return p.attr("height",m),{height:l.height+m,width:d}},"drawPopup"),K6=o(function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),w4=o(async function(t,e,r=null){let n=t.append("foreignObject"),i=await bh(e.text,Qt()),s=n.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(i).node().getBoundingClientRect();if(n.attr("height",Math.round(s.height)).attr("width",Math.round(s.width)),e.class==="noteText"){let l=t.node().firstChild;l.setAttribute("height",s.height+2*e.textMargin);let u=l.getBBox();n.attr("x",Math.round(u.x+u.width/2-s.width/2)).attr("y",Math.round(u.y+u.height/2-s.height/2))}else if(r){let{startx:l,stopx:u,starty:h}=r;if(l>u){let f=l;l=u,u=f}n.attr("x",Math.round(l+Math.abs(l-u)/2-s.width/2)),e.class==="loopText"?n.attr("y",Math.round(h)):n.attr("y",Math.round(h-s.height))}return[n]},"drawKatex"),n0=o(function(t,e){let r=0,n=0,i=e.text.split(Je.lineBreakRegex),[a,s]=yc(e.fontSize),l=[],u=0,h=o(()=>e.y,"yfunc");if(e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0)switch(e.valign){case"top":case"start":h=o(()=>Math.round(e.y+e.textMargin),"yfunc");break;case"middle":case"center":h=o(()=>Math.round(e.y+(r+n+e.textMargin)/2),"yfunc");break;case"bottom":case"end":h=o(()=>Math.round(e.y+(r+n+2*e.textMargin)-e.textMargin),"yfunc");break}if(e.anchor!==void 0&&e.textMargin!==void 0&&e.width!==void 0)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle";break}for(let[f,d]of i.entries()){e.textMargin!==void 0&&e.textMargin===0&&a!==void 0&&(u=f*a);let p=t.append("text");p.attr("x",e.x),p.attr("y",h()),e.anchor!==void 0&&p.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),e.fontFamily!==void 0&&p.style("font-family",e.fontFamily),s!==void 0&&p.style("font-size",s),e.fontWeight!==void 0&&p.style("font-weight",e.fontWeight),e.fill!==void 0&&p.attr("fill",e.fill),e.class!==void 0&&p.attr("class",e.class),e.dy!==void 0?p.attr("dy",e.dy):u!==0&&p.attr("dy",u);let m=d||RL;if(e.tspan){let g=p.append("tspan");g.attr("x",e.x),e.fill!==void 0&&g.attr("fill",e.fill),g.text(m)}else p.text(m);e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0&&(n+=(p._groups||p)[0][0].getBBox().height,r=n),l.push(p)}return l},"drawText"),hge=o(function(t,e){function r(i,a,s,l,u){return i+","+a+" "+(i+s)+","+a+" "+(i+s)+","+(a+l-u)+" "+(i+s-u*1.2)+","+(a+l)+" "+i+","+(a+l)}o(r,"genPoints");let n=t.append("polygon");return n.attr("points",r(e.x,e.y,e.width,e.height,7)),n.attr("class","labelBox"),e.y=e.y+e.height/2,n0(t,e),n},"drawLabel"),Ir=-1,NB=o((t,e,r,n)=>{t.select&&r.forEach(i=>{let a=e.get(i),s=t.select("#actor"+a.actorCnt);!n.mirrorActors&&a.stopy?s.attr("y2",a.stopy+a.height/2):n.mirrorActors&&s.attr("y2",a.stopy)})},"fixLifeLineHeights"),ZQe=o(function(t,e,r,n){let i=n?e.stopy:e.starty,a=e.x+e.width/2,s=i+e.height,l=t.append("g").lower();var u=l;n||(Ir++,Object.keys(e.links||{}).length&&!r.forceMenus&&u.attr("onclick",K6(`actor${Ir}_popup`)).attr("cursor","pointer"),u.append("line").attr("id","actor"+Ir).attr("x1",a).attr("y1",s).attr("x2",a).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),u=l.append("g"),e.actorCnt=Ir,e.links!=null&&u.attr("id","root-"+Ir));let h=ua();var f="actor";e.properties?.class?f=e.properties.class:h.fill="#eaeaea",n?f+=` ${Wf}`:f+=` ${Hf}`,h.x=e.x,h.y=i,h.width=e.width,h.height=e.height,h.class=f,h.rx=3,h.ry=3,h.name=e.name;let d=T4(u,h);if(e.rectData=h,e.properties?.icon){let m=e.properties.icon.trim();m.charAt(0)==="@"?oT(u,h.x+h.width-20,h.y+10,m.substr(1)):sT(u,h.x+h.width-20,h.y+10,m)}ih(r,xn(e.description))(e.description,u,h.x,h.y,h.width,h.height,{class:`actor ${j6}`},r);let p=e.height;if(d.node){let m=d.node().getBBox();e.height=m.height,p=m.height}return p},"drawActorTypeParticipant"),JQe=o(function(t,e,r,n){let i=n?e.stopy:e.starty,a=e.x+e.width/2,s=i+e.height,l=t.append("g").lower();var u=l;n||(Ir++,Object.keys(e.links||{}).length&&!r.forceMenus&&u.attr("onclick",K6(`actor${Ir}_popup`)).attr("cursor","pointer"),u.append("line").attr("id","actor"+Ir).attr("x1",a).attr("y1",s).attr("x2",a).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),u=l.append("g"),e.actorCnt=Ir,e.links!=null&&u.attr("id","root-"+Ir));let h=ua();var f="actor";e.properties?.class?f=e.properties.class:h.fill="#eaeaea",n?f+=` ${Wf}`:f+=` ${Hf}`,h.x=e.x,h.y=i,h.width=e.width,h.height=e.height,h.class=f,h.name=e.name;let d=6,p={...h,x:h.x+-d,y:h.y+ +d,class:"actor"},m=T4(u,h);if(T4(u,p),e.rectData=h,e.properties?.icon){let y=e.properties.icon.trim();y.charAt(0)==="@"?oT(u,h.x+h.width-20,h.y+10,y.substr(1)):sT(u,h.x+h.width-20,h.y+10,y)}ih(r,xn(e.description))(e.description,u,h.x-d,h.y+d,h.width,h.height,{class:`actor ${j6}`},r);let g=e.height;if(m.node){let y=m.node().getBBox();e.height=y.height,g=y.height}return g},"drawActorTypeCollections"),eZe=o(function(t,e,r,n){let i=n?e.stopy:e.starty,a=e.x+e.width/2,s=i+e.height,l=t.append("g").lower(),u=l;n||(Ir++,Object.keys(e.links||{}).length&&!r.forceMenus&&u.attr("onclick",K6(`actor${Ir}_popup`)).attr("cursor","pointer"),u.append("line").attr("id","actor"+Ir).attr("x1",a).attr("y1",s).attr("x2",a).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),u=l.append("g"),e.actorCnt=Ir,e.links!=null&&u.attr("id","root-"+Ir));let h=ua(),f="actor";e.properties?.class?f=e.properties.class:h.fill="#eaeaea",n?f+=` ${Wf}`:f+=` ${Hf}`,h.x=e.x,h.y=i,h.width=e.width,h.height=e.height,h.class=f,h.name=e.name;let d=h.height/2,p=d/(2.5+h.height/50),m=u.append("g"),g=u.append("g");if(m.append("path").attr("d",`M ${h.x},${h.y+d} + a ${p},${d} 0 0 0 0,${h.height} + h ${h.width-2*p} + a ${p},${d} 0 0 0 0,-${h.height} + Z + `).attr("class",f),g.append("path").attr("d",`M ${h.x},${h.y+d} + a ${p},${d} 0 0 0 0,${h.height}`).attr("stroke","#666").attr("stroke-width","1px").attr("class",f),m.attr("transform",`translate(${p}, ${-(h.height/2)})`),g.attr("transform",`translate(${h.width-p}, ${-h.height/2})`),e.rectData=h,e.properties?.icon){let v=e.properties.icon.trim(),b=h.x+h.width-20,T=h.y+10;v.charAt(0)==="@"?oT(u,b,T,v.substr(1)):sT(u,b,T,v)}ih(r,xn(e.description))(e.description,u,h.x,h.y,h.width,h.height,{class:`actor ${j6}`},r);let y=e.height,x=m.select("path:last-child");if(x.node()){let v=x.node().getBBox();e.height=v.height,y=v.height}return y},"drawActorTypeQueue"),tZe=o(function(t,e,r,n){let i=n?e.stopy:e.starty,a=e.x+e.width/2,s=i+75,l=t.append("g").lower();n||(Ir++,l.append("line").attr("id","actor"+Ir).attr("x1",a).attr("y1",s).attr("x2",a).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=Ir);let u=t.append("g"),h=Uf;n?h+=` ${Wf}`:h+=` ${Hf}`,u.attr("class",h),u.attr("name",e.name);let f=ua();f.x=e.x,f.y=i,f.fill="#eaeaea",f.width=e.width,f.height=e.height,f.class="actor";let d=e.x+e.width/2,p=i+30,m=18;u.append("defs").append("marker").attr("id","filled-head-control").attr("refX",11).attr("refY",5.8).attr("markerWidth",20).attr("markerHeight",28).attr("orient","172.5").append("path").attr("d","M 14.4 5.6 L 7.2 10.4 L 8.8 5.6 L 7.2 0.8 Z"),u.append("circle").attr("cx",d).attr("cy",p).attr("r",m).attr("fill","#eaeaf7").attr("stroke","#666").attr("stroke-width",1.2),u.append("line").attr("marker-end","url(#filled-head-control)").attr("transform",`translate(${d}, ${p-m})`);let g=u.node().getBBox();return e.height=g.height+2*(r?.sequence?.labelBoxHeight??0),ih(r,xn(e.description))(e.description,u,f.x,f.y+m+(n?5:10),f.width,f.height,{class:`actor ${Uf}`},r),e.height},"drawActorTypeControl"),rZe=o(function(t,e,r,n){let i=n?e.stopy:e.starty,a=e.x+e.width/2,s=i+75,l=t.append("g").lower(),u=t.append("g"),h=Uf;n?h+=` ${Wf}`:h+=` ${Hf}`,u.attr("class",h),u.attr("name",e.name);let f=ua();f.x=e.x,f.y=i,f.fill="#eaeaea",f.width=e.width,f.height=e.height,f.class="actor";let d=e.x+e.width/2,p=i+(n?10:25),m=18;u.append("circle").attr("cx",d).attr("cy",p).attr("r",m).attr("width",e.width).attr("height",e.height),u.append("line").attr("x1",d-m).attr("x2",d+m).attr("y1",p+m).attr("y2",p+m).attr("stroke","#333").attr("stroke-width",2);let g=u.node().getBBox();return e.height=g.height+(r?.sequence?.labelBoxHeight??0),n||(Ir++,l.append("line").attr("id","actor"+Ir).attr("x1",a).attr("y1",s).attr("x2",a).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=Ir),ih(r,xn(e.description))(e.description,u,f.x,f.y+(n?(p-i+m-5)/2:(p+m-i)/2),f.width,f.height,{class:`actor ${Uf}`},r),n?u.attr("transform",`translate(0, ${m/2})`):u.attr("transform",`translate(0, ${m/2})`),e.height},"drawActorTypeEntity"),nZe=o(function(t,e,r,n){let i=n?e.stopy:e.starty,a=e.x+e.width/2,s=i+e.height+2*r.boxTextMargin,l=t.append("g").lower(),u=l;n||(Ir++,Object.keys(e.links||{}).length&&!r.forceMenus&&u.attr("onclick",K6(`actor${Ir}_popup`)).attr("cursor","pointer"),u.append("line").attr("id","actor"+Ir).attr("x1",a).attr("y1",s).attr("x2",a).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),u=l.append("g"),e.actorCnt=Ir,e.links!=null&&u.attr("id","root-"+Ir));let h=ua(),f="actor";e.properties?.class?f=e.properties.class:h.fill="#eaeaea",n?f+=` ${Wf}`:f+=` ${Hf}`,h.x=e.x,h.y=i,h.width=e.width,h.height=e.height,h.class=f,h.name=e.name,h.x=e.x,h.y=i;let d=h.width/4,p=h.width/4,m=d/2,g=m/(2.5+d/50),y=u.append("g"),x=` + M ${h.x},${h.y+g} + a ${m},${g} 0 0 0 ${d},0 + a ${m},${g} 0 0 0 -${d},0 + l 0,${p-2*g} + a ${m},${g} 0 0 0 ${d},0 + l 0,-${p-2*g} +`;y.append("path").attr("d",x).attr("fill","#eaeaea").attr("stroke","#000").attr("stroke-width",1).attr("class",f),n?y.attr("transform",`translate(${d*1.5}, ${h.height/4-2*g})`):y.attr("transform",`translate(${d*1.5}, ${(h.height+g)/4})`),e.rectData=h,ih(r,xn(e.description))(e.description,u,h.x,h.y+(n?(h.height+p)/4:(h.height+g)/2),h.width,h.height,{class:`actor ${j6}`},r);let v=y.select("path:last-child");if(v.node()){let b=v.node().getBBox();e.height=b.height+(r.sequence.labelBoxHeight??0)}return e.height},"drawActorTypeDatabase"),iZe=o(function(t,e,r,n){let i=n?e.stopy:e.starty,a=e.x+e.width/2,s=i+80,l=30,u=t.append("g").lower();n||(Ir++,u.append("line").attr("id","actor"+Ir).attr("x1",a).attr("y1",s).attr("x2",a).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=Ir);let h=t.append("g"),f=Uf;n?f+=` ${Wf}`:f+=` ${Hf}`,h.attr("class",f),h.attr("name",e.name);let d=ua();d.x=e.x,d.y=i,d.fill="#eaeaea",d.width=e.width,d.height=e.height,d.class="actor",h.append("line").attr("id","actor-man-torso"+Ir).attr("x1",e.x+e.width/2-l*2.5).attr("y1",i+10).attr("x2",e.x+e.width/2-15).attr("y2",i+10),h.append("line").attr("id","actor-man-arms"+Ir).attr("x1",e.x+e.width/2-l*2.5).attr("y1",i+0).attr("x2",e.x+e.width/2-l*2.5).attr("y2",i+20),h.append("circle").attr("cx",e.x+e.width/2).attr("cy",i+10).attr("r",l);let p=h.node().getBBox();return e.height=p.height+(r.sequence.labelBoxHeight??0),ih(r,xn(e.description))(e.description,h,d.x,d.y+(n?l/2-4:l/2+3),d.width,d.height,{class:`actor ${Uf}`},r),n?h.attr("transform",`translate(0,${l/2+7})`):h.attr("transform",`translate(0,${l/2+7})`),e.height},"drawActorTypeBoundary"),aZe=o(function(t,e,r,n){let i=n?e.stopy:e.starty,a=e.x+e.width/2,s=i+80,l=t.append("g").lower();n||(Ir++,l.append("line").attr("id","actor"+Ir).attr("x1",a).attr("y1",s).attr("x2",a).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=Ir);let u=t.append("g"),h=Uf;n?h+=` ${Wf}`:h+=` ${Hf}`,u.attr("class",h),u.attr("name",e.name);let f=ua();f.x=e.x,f.y=i,f.fill="#eaeaea",f.width=e.width,f.height=e.height,f.class="actor",f.rx=3,f.ry=3,u.append("line").attr("id","actor-man-torso"+Ir).attr("x1",a).attr("y1",i+25).attr("x2",a).attr("y2",i+45),u.append("line").attr("id","actor-man-arms"+Ir).attr("x1",a-Vf/2).attr("y1",i+33).attr("x2",a+Vf/2).attr("y2",i+33),u.append("line").attr("x1",a-Vf/2).attr("y1",i+60).attr("x2",a).attr("y2",i+45),u.append("line").attr("x1",a).attr("y1",i+45).attr("x2",a+Vf/2-2).attr("y2",i+60);let d=u.append("circle");d.attr("cx",e.x+e.width/2),d.attr("cy",i+10),d.attr("r",15),d.attr("width",e.width),d.attr("height",e.height);let p=u.node().getBBox();return e.height=p.height,ih(r,xn(e.description))(e.description,u,f.x,f.y+35,f.width,f.height,{class:`actor ${Uf}`},r),e.height},"drawActorTypeActor"),sZe=o(async function(t,e,r,n){switch(e.type){case"actor":return await aZe(t,e,r,n);case"participant":return await ZQe(t,e,r,n);case"boundary":return await iZe(t,e,r,n);case"control":return await tZe(t,e,r,n);case"entity":return await rZe(t,e,r,n);case"database":return await nZe(t,e,r,n);case"collections":return await JQe(t,e,r,n);case"queue":return await eZe(t,e,r,n)}},"drawActor"),oZe=o(function(t,e,r){let i=t.append("g");fge(i,e),e.name&&ih(r)(e.name,i,e.x,e.y+r.boxTextMargin+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},r),i.lower()},"drawBox"),lZe=o(function(t){return t.append("g")},"anchorElement"),cZe=o(function(t,e,r,n,i){let a=ua(),s=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+i%3,a.width=e.stopx-e.startx,a.height=r-e.starty,T4(s,a)},"drawActivation"),uZe=o(async function(t,e,r,n){let{boxMargin:i,boxTextMargin:a,labelBoxHeight:s,labelBoxWidth:l,messageFontFamily:u,messageFontSize:h,messageFontWeight:f}=n,d=t.append("g"),p=o(function(y,x,v,b){return d.append("line").attr("x1",y).attr("y1",x).attr("x2",v).attr("y2",b).attr("class","loopLine")},"drawLoopLine");p(e.startx,e.starty,e.stopx,e.starty),p(e.stopx,e.starty,e.stopx,e.stopy),p(e.startx,e.stopy,e.stopx,e.stopy),p(e.startx,e.starty,e.startx,e.stopy),e.sections!==void 0&&e.sections.forEach(function(y){p(e.startx,y.y,e.stopx,y.y).style("stroke-dasharray","3, 3")});let m=Jv();m.text=r,m.x=e.startx,m.y=e.starty,m.fontFamily=u,m.fontSize=h,m.fontWeight=f,m.anchor="middle",m.valign="middle",m.tspan=!1,m.width=l||50,m.height=s||20,m.textMargin=a,m.class="labelText",hge(d,m),m=dge(),m.text=e.title,m.x=e.startx+l/2+(e.stopx-e.startx)/2,m.y=e.starty+i+a,m.anchor="middle",m.valign="middle",m.textMargin=a,m.class="loopText",m.fontFamily=u,m.fontSize=h,m.fontWeight=f,m.wrap=!0;let g=xn(m.text)?await w4(d,m,e):n0(d,m);if(e.sectionTitles!==void 0){for(let[y,x]of Object.entries(e.sectionTitles))if(x.message){m.text=x.message,m.x=e.startx+(e.stopx-e.startx)/2,m.y=e.sections[y].y+i+a,m.class="loopText",m.anchor="middle",m.valign="middle",m.tspan=!1,m.fontFamily=u,m.fontSize=h,m.fontWeight=f,m.wrap=e.wrap,xn(m.text)?(e.starty=e.sections[y].y,await w4(d,m,e)):n0(d,m);let v=Math.round(g.map(b=>(b._groups||b)[0][0].getBBox().height).reduce((b,T)=>b+T));e.sections[y].height+=v-(i+a)}}return e.height=Math.round(e.stopy-e.starty),d},"drawLoop"),fge=o(function(t,e){aT(t,e)},"drawBackgroundRect"),hZe=o(function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),fZe=o(function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),dZe=o(function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),pZe=o(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M -1 0 L 10 5 L 0 10 z")},"insertArrowHead"),mZe=o(function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),gZe=o(function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},"insertSequenceNumber"),yZe=o(function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},"insertArrowCrossHead"),dge=o(function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},"getTextObj"),vZe=o(function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),ih=function(){function t(a,s,l,u,h,f,d){let p=s.append("text").attr("x",l+h/2).attr("y",u+f/2+5).style("text-anchor","middle").text(a);i(p,d)}o(t,"byText");function e(a,s,l,u,h,f,d,p){let{actorFontSize:m,actorFontFamily:g,actorFontWeight:y}=p,[x,v]=yc(m),b=a.split(Je.lineBreakRegex);for(let T=0;T{let s=i0(Re),l=a.actorKeys.reduce((d,p)=>d+=t.get(p).width+(t.get(p).margin||0),0),u=Re.boxMargin*8;l+=u,l-=2*Re.boxTextMargin,a.wrap&&(a.name=Ht.wrapLabel(a.name,l-2*Re.wrapPadding,s));let h=Ht.calculateTextDimensions(a.name,s);i=Je.getMax(h.height,i);let f=Je.getMax(l,h.width+2*Re.wrapPadding);if(a.margin=Re.boxTextMargin,la.textMaxHeight=i),Je.getMax(n,Re.height)}var Re,it,bZe,i0,ny,MB,wZe,kZe,IB,gge,yge,Q6,mge,SZe,AZe,DZe,LZe,RZe,vge,xge=N(()=>{"use strict";pr();pge();pt();dr();dr();e2();Xt();p0();tr();Ci();LB();Re={},it={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:o(function(){return Math.max.apply(null,this.actors.length===0?[0]:this.actors.map(t=>t.height||0))+(this.loops.length===0?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(this.messages.length===0?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(this.notes.length===0?0:this.notes.map(t=>t.height||0).reduce((t,e)=>t+e))},"getHeight"),clear:o(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},"clear"),addBox:o(function(t){this.boxes.push(t)},"addBox"),addActor:o(function(t){this.actors.push(t)},"addActor"),addLoop:o(function(t){this.loops.push(t)},"addLoop"),addMessage:o(function(t){this.messages.push(t)},"addMessage"),addNote:o(function(t){this.notes.push(t)},"addNote"),lastActor:o(function(){return this.actors[this.actors.length-1]},"lastActor"),lastLoop:o(function(){return this.loops[this.loops.length-1]},"lastLoop"),lastMessage:o(function(){return this.messages[this.messages.length-1]},"lastMessage"),lastNote:o(function(){return this.notes[this.notes.length-1]},"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:o(function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,yge(ge())},"init"),updateVal:o(function(t,e,r,n){t[e]===void 0?t[e]=r:t[e]=n(r,t[e])},"updateVal"),updateBounds:o(function(t,e,r,n){let i=this,a=0;function s(l){return o(function(h){a++;let f=i.sequenceItems.length-a+1;i.updateVal(h,"starty",e-f*Re.boxMargin,Math.min),i.updateVal(h,"stopy",n+f*Re.boxMargin,Math.max),i.updateVal(it.data,"startx",t-f*Re.boxMargin,Math.min),i.updateVal(it.data,"stopx",r+f*Re.boxMargin,Math.max),l!=="activation"&&(i.updateVal(h,"startx",t-f*Re.boxMargin,Math.min),i.updateVal(h,"stopx",r+f*Re.boxMargin,Math.max),i.updateVal(it.data,"starty",e-f*Re.boxMargin,Math.min),i.updateVal(it.data,"stopy",n+f*Re.boxMargin,Math.max))},"updateItemBounds")}o(s,"updateFn"),this.sequenceItems.forEach(s()),this.activations.forEach(s("activation"))},"updateBounds"),insert:o(function(t,e,r,n){let i=Je.getMin(t,r),a=Je.getMax(t,r),s=Je.getMin(e,n),l=Je.getMax(e,n);this.updateVal(it.data,"startx",i,Math.min),this.updateVal(it.data,"starty",s,Math.min),this.updateVal(it.data,"stopx",a,Math.max),this.updateVal(it.data,"stopy",l,Math.max),this.updateBounds(i,s,a,l)},"insert"),newActivation:o(function(t,e,r){let n=r.get(t.from),i=Q6(t.from).length||0,a=n.x+n.width/2+(i-1)*Re.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+Re.activationWidth,stopy:void 0,actor:t.from,anchored:gi.anchorElement(e)})},"newActivation"),endActivation:o(function(t){let e=this.activations.map(function(r){return r.actor}).lastIndexOf(t.from);return this.activations.splice(e,1)[0]},"endActivation"),createLoop:o(function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},"createLoop"),newLoop:o(function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},"newLoop"),endLoop:o(function(){return this.sequenceItems.pop()},"endLoop"),isLoopOverlap:o(function(){return this.sequenceItems.length?this.sequenceItems[this.sequenceItems.length-1].overlap:!1},"isLoopOverlap"),addSectionToLoop:o(function(t){let e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:it.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},"addSectionToLoop"),saveVerticalPos:o(function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},"saveVerticalPos"),resetVerticalPos:o(function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},"resetVerticalPos"),bumpVerticalPos:o(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=Je.getMax(this.data.stopy,this.verticalPos)},"bumpVerticalPos"),getVerticalPos:o(function(){return this.verticalPos},"getVerticalPos"),getBounds:o(function(){return{bounds:this.data,models:this.models}},"getBounds")},bZe=o(async function(t,e){it.bumpVerticalPos(Re.boxMargin),e.height=Re.boxMargin,e.starty=it.getVerticalPos();let r=ua();r.x=e.startx,r.y=e.starty,r.width=e.width||Re.width,r.class="note";let n=t.append("g"),i=gi.drawRect(n,r),a=Jv();a.x=e.startx,a.y=e.starty,a.width=r.width,a.dy="1em",a.text=e.message,a.class="noteText",a.fontFamily=Re.noteFontFamily,a.fontSize=Re.noteFontSize,a.fontWeight=Re.noteFontWeight,a.anchor=Re.noteAlign,a.textMargin=Re.noteMargin,a.valign="center";let s=xn(a.text)?await w4(n,a):n0(n,a),l=Math.round(s.map(u=>(u._groups||u)[0][0].getBBox().height).reduce((u,h)=>u+h));i.attr("height",l+2*Re.noteMargin),e.height+=l+2*Re.noteMargin,it.bumpVerticalPos(l+2*Re.noteMargin),e.stopy=e.starty+l+2*Re.noteMargin,e.stopx=e.startx+r.width,it.insert(e.startx,e.starty,e.stopx,e.stopy),it.models.addNote(e)},"drawNote"),i0=o(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont"),ny=o(t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),"noteFont"),MB=o(t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),"actorFont");o(TZe,"boundMessage");wZe=o(async function(t,e,r,n){let{startx:i,stopx:a,starty:s,message:l,type:u,sequenceIndex:h,sequenceVisible:f}=e,d=Ht.calculateTextDimensions(l,i0(Re)),p=Jv();p.x=i,p.y=s+10,p.width=a-i,p.class="messageText",p.dy="1em",p.text=l,p.fontFamily=Re.messageFontFamily,p.fontSize=Re.messageFontSize,p.fontWeight=Re.messageFontWeight,p.anchor=Re.messageAlign,p.valign="center",p.textMargin=Re.wrapPadding,p.tspan=!1,xn(p.text)?await w4(t,p,{startx:i,stopx:a,starty:r}):n0(t,p);let m=d.width,g;i===a?Re.rightAngles?g=t.append("path").attr("d",`M ${i},${r} H ${i+Je.getMax(Re.width/2,m/2)} V ${r+25} H ${i}`):g=t.append("path").attr("d","M "+i+","+r+" C "+(i+60)+","+(r-10)+" "+(i+60)+","+(r+30)+" "+i+","+(r+20)):(g=t.append("line"),g.attr("x1",i),g.attr("y1",r),g.attr("x2",a),g.attr("y2",r)),u===n.db.LINETYPE.DOTTED||u===n.db.LINETYPE.DOTTED_CROSS||u===n.db.LINETYPE.DOTTED_POINT||u===n.db.LINETYPE.DOTTED_OPEN||u===n.db.LINETYPE.BIDIRECTIONAL_DOTTED?(g.style("stroke-dasharray","3, 3"),g.attr("class","messageLine1")):g.attr("class","messageLine0");let y="";Re.arrowMarkerAbsolute&&(y=du(!0)),g.attr("stroke-width",2),g.attr("stroke","none"),g.style("fill","none"),(u===n.db.LINETYPE.SOLID||u===n.db.LINETYPE.DOTTED)&&g.attr("marker-end","url("+y+"#arrowhead)"),(u===n.db.LINETYPE.BIDIRECTIONAL_SOLID||u===n.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(g.attr("marker-start","url("+y+"#arrowhead)"),g.attr("marker-end","url("+y+"#arrowhead)")),(u===n.db.LINETYPE.SOLID_POINT||u===n.db.LINETYPE.DOTTED_POINT)&&g.attr("marker-end","url("+y+"#filled-head)"),(u===n.db.LINETYPE.SOLID_CROSS||u===n.db.LINETYPE.DOTTED_CROSS)&&g.attr("marker-end","url("+y+"#crosshead)"),(f||Re.showSequenceNumbers)&&((u===n.db.LINETYPE.BIDIRECTIONAL_SOLID||u===n.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(ii&&(i=h.height),h.width+l.x>a&&(a=h.width+l.x)}return{maxHeight:i,maxWidth:a}},"drawActorsPopup"),yge=o(function(t){Dn(Re,t),t.fontFamily&&(Re.actorFontFamily=Re.noteFontFamily=Re.messageFontFamily=t.fontFamily),t.fontSize&&(Re.actorFontSize=Re.noteFontSize=Re.messageFontSize=t.fontSize),t.fontWeight&&(Re.actorFontWeight=Re.noteFontWeight=Re.messageFontWeight=t.fontWeight)},"setConf"),Q6=o(function(t){return it.activations.filter(function(e){return e.actor===t})},"actorActivations"),mge=o(function(t,e){let r=e.get(t),n=Q6(t),i=n.reduce(function(s,l){return Je.getMin(s,l.startx)},r.x+r.width/2-1),a=n.reduce(function(s,l){return Je.getMax(s,l.stopx)},r.x+r.width/2+1);return[i,a]},"activationBounds");o(eu,"adjustLoopHeightForWrap");o(EZe,"adjustCreatedDestroyedData");SZe=o(async function(t,e,r,n){let{securityLevel:i,sequence:a}=ge();Re=a;let s;i==="sandbox"&&(s=ze("#i"+e));let l=i==="sandbox"?ze(s.nodes()[0].contentDocument.body):ze("body"),u=i==="sandbox"?s.nodes()[0].contentDocument:document;it.init(),X.debug(n.db);let h=i==="sandbox"?l.select(`[id="${e}"]`):ze(`[id="${e}"]`),f=n.db.getActors(),d=n.db.getCreatedActors(),p=n.db.getDestroyedActors(),m=n.db.getBoxes(),g=n.db.getActorKeys(),y=n.db.getMessages(),x=n.db.getDiagramTitle(),v=n.db.hasAtLeastOneBox(),b=n.db.hasAtLeastOneBoxWithTitle(),T=await CZe(f,y,n);if(Re.height=await _Ze(f,T,m),gi.insertComputerIcon(h),gi.insertDatabaseIcon(h),gi.insertClockIcon(h),v&&(it.bumpVerticalPos(Re.boxMargin),b&&it.bumpVerticalPos(m[0].textMaxHeight)),Re.hideUnusedParticipants===!0){let B=new Set;y.forEach(F=>{B.add(F.from),B.add(F.to)}),g=g.filter(F=>B.has(F))}kZe(h,f,d,g,0,y,!1);let S=await RZe(y,f,T,n);gi.insertArrowHead(h),gi.insertArrowCrossHead(h),gi.insertArrowFilledHead(h),gi.insertSequenceNumber(h);function w(B,F){let G=it.endActivation(B);G.starty+18>F&&(G.starty=F-6,F+=12),gi.drawActivation(h,G,F,Re,Q6(B.from).length),it.insert(G.startx,F-10,G.stopx,F)}o(w,"activeEnd");let E=1,_=1,A=[],D=[],O=0;for(let B of y){let F,G,$;switch(B.type){case n.db.LINETYPE.NOTE:it.resetVerticalPos(),G=B.noteModel,await bZe(h,G);break;case n.db.LINETYPE.ACTIVE_START:it.newActivation(B,h,f);break;case n.db.LINETYPE.ACTIVE_END:w(B,it.getVerticalPos());break;case n.db.LINETYPE.LOOP_START:eu(S,B,Re.boxMargin,Re.boxMargin+Re.boxTextMargin,U=>it.newLoop(U));break;case n.db.LINETYPE.LOOP_END:F=it.endLoop(),await gi.drawLoop(h,F,"loop",Re),it.bumpVerticalPos(F.stopy-it.getVerticalPos()),it.models.addLoop(F);break;case n.db.LINETYPE.RECT_START:eu(S,B,Re.boxMargin,Re.boxMargin,U=>it.newLoop(void 0,U.message));break;case n.db.LINETYPE.RECT_END:F=it.endLoop(),D.push(F),it.models.addLoop(F),it.bumpVerticalPos(F.stopy-it.getVerticalPos());break;case n.db.LINETYPE.OPT_START:eu(S,B,Re.boxMargin,Re.boxMargin+Re.boxTextMargin,U=>it.newLoop(U));break;case n.db.LINETYPE.OPT_END:F=it.endLoop(),await gi.drawLoop(h,F,"opt",Re),it.bumpVerticalPos(F.stopy-it.getVerticalPos()),it.models.addLoop(F);break;case n.db.LINETYPE.ALT_START:eu(S,B,Re.boxMargin,Re.boxMargin+Re.boxTextMargin,U=>it.newLoop(U));break;case n.db.LINETYPE.ALT_ELSE:eu(S,B,Re.boxMargin+Re.boxTextMargin,Re.boxMargin,U=>it.addSectionToLoop(U));break;case n.db.LINETYPE.ALT_END:F=it.endLoop(),await gi.drawLoop(h,F,"alt",Re),it.bumpVerticalPos(F.stopy-it.getVerticalPos()),it.models.addLoop(F);break;case n.db.LINETYPE.PAR_START:case n.db.LINETYPE.PAR_OVER_START:eu(S,B,Re.boxMargin,Re.boxMargin+Re.boxTextMargin,U=>it.newLoop(U)),it.saveVerticalPos();break;case n.db.LINETYPE.PAR_AND:eu(S,B,Re.boxMargin+Re.boxTextMargin,Re.boxMargin,U=>it.addSectionToLoop(U));break;case n.db.LINETYPE.PAR_END:F=it.endLoop(),await gi.drawLoop(h,F,"par",Re),it.bumpVerticalPos(F.stopy-it.getVerticalPos()),it.models.addLoop(F);break;case n.db.LINETYPE.AUTONUMBER:E=B.message.start||E,_=B.message.step||_,B.message.visible?n.db.enableSequenceNumbers():n.db.disableSequenceNumbers();break;case n.db.LINETYPE.CRITICAL_START:eu(S,B,Re.boxMargin,Re.boxMargin+Re.boxTextMargin,U=>it.newLoop(U));break;case n.db.LINETYPE.CRITICAL_OPTION:eu(S,B,Re.boxMargin+Re.boxTextMargin,Re.boxMargin,U=>it.addSectionToLoop(U));break;case n.db.LINETYPE.CRITICAL_END:F=it.endLoop(),await gi.drawLoop(h,F,"critical",Re),it.bumpVerticalPos(F.stopy-it.getVerticalPos()),it.models.addLoop(F);break;case n.db.LINETYPE.BREAK_START:eu(S,B,Re.boxMargin,Re.boxMargin+Re.boxTextMargin,U=>it.newLoop(U));break;case n.db.LINETYPE.BREAK_END:F=it.endLoop(),await gi.drawLoop(h,F,"break",Re),it.bumpVerticalPos(F.stopy-it.getVerticalPos()),it.models.addLoop(F);break;default:try{$=B.msgModel,$.starty=it.getVerticalPos(),$.sequenceIndex=E,$.sequenceVisible=n.db.showSequenceNumbers();let U=await TZe(h,$);EZe(B,$,U,O,f,d,p),A.push({messageModel:$,lineStartY:U}),it.models.addMessage($)}catch(U){X.error("error while drawing message",U)}}[n.db.LINETYPE.SOLID_OPEN,n.db.LINETYPE.DOTTED_OPEN,n.db.LINETYPE.SOLID,n.db.LINETYPE.DOTTED,n.db.LINETYPE.SOLID_CROSS,n.db.LINETYPE.DOTTED_CROSS,n.db.LINETYPE.SOLID_POINT,n.db.LINETYPE.DOTTED_POINT,n.db.LINETYPE.BIDIRECTIONAL_SOLID,n.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(B.type)&&(E=E+_),O++}X.debug("createdActors",d),X.debug("destroyedActors",p),await IB(h,f,g,!1);for(let B of A)await wZe(h,B.messageModel,B.lineStartY,n);Re.mirrorActors&&await IB(h,f,g,!0),D.forEach(B=>gi.drawBackgroundRect(h,B)),NB(h,f,g,Re);for(let B of it.models.boxes){B.height=it.getVerticalPos()-B.y,it.insert(B.x,B.y,B.x+B.width,B.height);let F=Re.boxMargin*2;B.startx=B.x-F,B.starty=B.y-F*.25,B.stopx=B.startx+B.width+2*F,B.stopy=B.starty+B.height+F*.75,B.stroke="rgb(0,0,0, 0.5)",gi.drawBox(h,B,Re)}v&&it.bumpVerticalPos(Re.boxMargin);let R=gge(h,f,g,u),{bounds:k}=it.getBounds();k.startx===void 0&&(k.startx=0),k.starty===void 0&&(k.starty=0),k.stopx===void 0&&(k.stopx=0),k.stopy===void 0&&(k.stopy=0);let L=k.stopy-k.starty;L2,d=o(y=>l?-y:y,"adjustValue");t.from===t.to?h=u:(t.activate&&!f&&(h+=d(Re.activationWidth/2-1)),[r.db.LINETYPE.SOLID_OPEN,r.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(h+=d(3)),[r.db.LINETYPE.BIDIRECTIONAL_SOLID,r.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(u-=d(3)));let p=[n,i,a,s],m=Math.abs(u-h);t.wrap&&t.message&&(t.message=Ht.wrapLabel(t.message,Je.getMax(m+2*Re.wrapPadding,Re.width),i0(Re)));let g=Ht.calculateTextDimensions(t.message,i0(Re));return{width:Je.getMax(t.wrap?0:g.width+2*Re.wrapPadding,m+2*Re.wrapPadding,Re.width),height:0,startx:u,stopx:h,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,p),toBounds:Math.max.apply(null,p)}},"buildMessageModel"),RZe=o(async function(t,e,r,n){let i={},a=[],s,l,u;for(let h of t){switch(h.type){case n.db.LINETYPE.LOOP_START:case n.db.LINETYPE.ALT_START:case n.db.LINETYPE.OPT_START:case n.db.LINETYPE.PAR_START:case n.db.LINETYPE.PAR_OVER_START:case n.db.LINETYPE.CRITICAL_START:case n.db.LINETYPE.BREAK_START:a.push({id:h.id,msg:h.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case n.db.LINETYPE.ALT_ELSE:case n.db.LINETYPE.PAR_AND:case n.db.LINETYPE.CRITICAL_OPTION:h.message&&(s=a.pop(),i[s.id]=s,i[h.id]=s,a.push(s));break;case n.db.LINETYPE.LOOP_END:case n.db.LINETYPE.ALT_END:case n.db.LINETYPE.OPT_END:case n.db.LINETYPE.PAR_END:case n.db.LINETYPE.CRITICAL_END:case n.db.LINETYPE.BREAK_END:s=a.pop(),i[s.id]=s;break;case n.db.LINETYPE.ACTIVE_START:{let d=e.get(h.from?h.from:h.to.actor),p=Q6(h.from?h.from:h.to.actor).length,m=d.x+d.width/2+(p-1)*Re.activationWidth/2,g={startx:m,stopx:m+Re.activationWidth,actor:h.from,enabled:!0};it.activations.push(g)}break;case n.db.LINETYPE.ACTIVE_END:{let d=it.activations.map(p=>p.actor).lastIndexOf(h.from);it.activations.splice(d,1).splice(0,1)}break}h.placement!==void 0?(l=await DZe(h,e,n),h.noteModel=l,a.forEach(d=>{s=d,s.from=Je.getMin(s.from,l.startx),s.to=Je.getMax(s.to,l.startx+l.width),s.width=Je.getMax(s.width,Math.abs(s.from-s.to))-Re.labelBoxWidth})):(u=LZe(h,e,n),h.msgModel=u,u.startx&&u.stopx&&a.length>0&&a.forEach(d=>{if(s=d,u.startx===u.stopx){let p=e.get(h.from),m=e.get(h.to);s.from=Je.getMin(p.x-u.width/2,p.x-p.width/2,s.from),s.to=Je.getMax(m.x+u.width/2,m.x+p.width/2,s.to),s.width=Je.getMax(s.width,Math.abs(s.to-s.from))-Re.labelBoxWidth}else s.from=Je.getMin(u.startx,s.from),s.to=Je.getMax(u.stopx,s.to),s.width=Je.getMax(s.width,u.width)-Re.labelBoxWidth}))}return it.activations=[],X.debug("Loop type widths:",i),i},"calculateLoopBounds"),vge={bounds:it,drawActors:IB,drawActorsPopup:gge,setConf:yge,draw:SZe}});var bge={};ur(bge,{diagram:()=>NZe});var NZe,Tge=N(()=>{"use strict";lge();LB();uge();Xt();xge();NZe={parser:oge,get db(){return new X6},renderer:vge,styles:cge,init:o(t=>{t.sequence||(t.sequence={}),t.wrap&&(t.sequence.wrap=t.wrap,tv({sequence:{wrap:t.wrap}}))},"init")}});var OB,Z6,PB=N(()=>{"use strict";OB=function(){var t=o(function(Me,be,q,fe){for(q=q||{},fe=Me.length;fe--;q[Me[fe]]=be);return q},"o"),e=[1,18],r=[1,19],n=[1,20],i=[1,41],a=[1,42],s=[1,26],l=[1,24],u=[1,25],h=[1,32],f=[1,33],d=[1,34],p=[1,45],m=[1,35],g=[1,36],y=[1,37],x=[1,38],v=[1,27],b=[1,28],T=[1,29],S=[1,30],w=[1,31],E=[1,44],_=[1,46],A=[1,43],D=[1,47],O=[1,9],R=[1,8,9],k=[1,58],L=[1,59],C=[1,60],I=[1,61],M=[1,62],P=[1,63],B=[1,64],F=[1,8,9,41],G=[1,76],$=[1,8,9,12,13,22,39,41,44,68,69,70,71,72,73,74,79,81],U=[1,8,9,12,13,18,20,22,39,41,44,50,60,68,69,70,71,72,73,74,79,81,86,100,102,103],K=[13,60,86,100,102,103],ne=[13,60,73,74,86,100,102,103],j=[13,60,68,69,70,71,72,86,100,102,103],le=[1,100],Z=[1,117],ce=[1,113],Q=[1,109],ee=[1,115],te=[1,110],re=[1,111],he=[1,112],J=[1,114],ye=[1,116],se=[22,48,60,61,82,86,87,88,89,90],Se=[1,8,9,39,41,44],W=[1,8,9,22],Oe=[1,145],ve=[1,8,9,61],Pe=[1,8,9,22,48,60,61,82,86,87,88,89,90],qe={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,emptyBody:47,SPACE:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",48:"SPACE",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[43,2],[43,3],[47,0],[47,2],[47,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:o(function(be,q,fe,ae,oe,V,xe){var Y=V.length-1;switch(oe){case 8:this.$=V[Y-1];break;case 9:case 10:case 13:case 15:this.$=V[Y];break;case 11:case 14:this.$=V[Y-2]+"."+V[Y];break;case 12:case 16:this.$=V[Y-1]+V[Y];break;case 17:case 18:this.$=V[Y-1]+"~"+V[Y]+"~";break;case 19:ae.addRelation(V[Y]);break;case 20:V[Y-1].title=ae.cleanupLabel(V[Y]),ae.addRelation(V[Y-1]);break;case 31:this.$=V[Y].trim(),ae.setAccTitle(this.$);break;case 32:case 33:this.$=V[Y].trim(),ae.setAccDescription(this.$);break;case 34:ae.addClassesToNamespace(V[Y-3],V[Y-1]);break;case 35:ae.addClassesToNamespace(V[Y-4],V[Y-1]);break;case 36:this.$=V[Y],ae.addNamespace(V[Y]);break;case 37:this.$=[V[Y]];break;case 38:this.$=[V[Y-1]];break;case 39:V[Y].unshift(V[Y-2]),this.$=V[Y];break;case 41:ae.setCssClass(V[Y-2],V[Y]);break;case 42:ae.addMembers(V[Y-3],V[Y-1]);break;case 44:ae.setCssClass(V[Y-5],V[Y-3]),ae.addMembers(V[Y-5],V[Y-1]);break;case 45:this.$=V[Y],ae.addClass(V[Y]);break;case 46:this.$=V[Y-1],ae.addClass(V[Y-1]),ae.setClassLabel(V[Y-1],V[Y]);break;case 50:ae.addAnnotation(V[Y],V[Y-2]);break;case 51:case 64:this.$=[V[Y]];break;case 52:V[Y].push(V[Y-1]),this.$=V[Y];break;case 53:break;case 54:ae.addMember(V[Y-1],ae.cleanupLabel(V[Y]));break;case 55:break;case 56:break;case 57:this.$={id1:V[Y-2],id2:V[Y],relation:V[Y-1],relationTitle1:"none",relationTitle2:"none"};break;case 58:this.$={id1:V[Y-3],id2:V[Y],relation:V[Y-1],relationTitle1:V[Y-2],relationTitle2:"none"};break;case 59:this.$={id1:V[Y-3],id2:V[Y],relation:V[Y-2],relationTitle1:"none",relationTitle2:V[Y-1]};break;case 60:this.$={id1:V[Y-4],id2:V[Y],relation:V[Y-2],relationTitle1:V[Y-3],relationTitle2:V[Y-1]};break;case 61:ae.addNote(V[Y],V[Y-1]);break;case 62:ae.addNote(V[Y]);break;case 63:this.$=V[Y-2],ae.defineClass(V[Y-1],V[Y]);break;case 65:this.$=V[Y-2].concat([V[Y]]);break;case 66:ae.setDirection("TB");break;case 67:ae.setDirection("BT");break;case 68:ae.setDirection("RL");break;case 69:ae.setDirection("LR");break;case 70:this.$={type1:V[Y-2],type2:V[Y],lineType:V[Y-1]};break;case 71:this.$={type1:"none",type2:V[Y],lineType:V[Y-1]};break;case 72:this.$={type1:V[Y-1],type2:"none",lineType:V[Y]};break;case 73:this.$={type1:"none",type2:"none",lineType:V[Y]};break;case 74:this.$=ae.relationType.AGGREGATION;break;case 75:this.$=ae.relationType.EXTENSION;break;case 76:this.$=ae.relationType.COMPOSITION;break;case 77:this.$=ae.relationType.DEPENDENCY;break;case 78:this.$=ae.relationType.LOLLIPOP;break;case 79:this.$=ae.lineType.LINE;break;case 80:this.$=ae.lineType.DOTTED_LINE;break;case 81:case 87:this.$=V[Y-2],ae.setClickEvent(V[Y-1],V[Y]);break;case 82:case 88:this.$=V[Y-3],ae.setClickEvent(V[Y-2],V[Y-1]),ae.setTooltip(V[Y-2],V[Y]);break;case 83:this.$=V[Y-2],ae.setLink(V[Y-1],V[Y]);break;case 84:this.$=V[Y-3],ae.setLink(V[Y-2],V[Y-1],V[Y]);break;case 85:this.$=V[Y-3],ae.setLink(V[Y-2],V[Y-1]),ae.setTooltip(V[Y-2],V[Y]);break;case 86:this.$=V[Y-4],ae.setLink(V[Y-3],V[Y-2],V[Y]),ae.setTooltip(V[Y-3],V[Y-1]);break;case 89:this.$=V[Y-3],ae.setClickEvent(V[Y-2],V[Y-1],V[Y]);break;case 90:this.$=V[Y-4],ae.setClickEvent(V[Y-3],V[Y-2],V[Y-1]),ae.setTooltip(V[Y-3],V[Y]);break;case 91:this.$=V[Y-3],ae.setLink(V[Y-2],V[Y]);break;case 92:this.$=V[Y-4],ae.setLink(V[Y-3],V[Y-1],V[Y]);break;case 93:this.$=V[Y-4],ae.setLink(V[Y-3],V[Y-1]),ae.setTooltip(V[Y-3],V[Y]);break;case 94:this.$=V[Y-5],ae.setLink(V[Y-4],V[Y-2],V[Y]),ae.setTooltip(V[Y-4],V[Y-1]);break;case 95:this.$=V[Y-2],ae.setCssStyle(V[Y-1],V[Y]);break;case 96:ae.setCssClass(V[Y-1],V[Y]);break;case 97:this.$=[V[Y]];break;case 98:V[Y-2].push(V[Y]),this.$=V[Y-2];break;case 100:this.$=V[Y-1]+V[Y];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:r,37:n,38:22,42:i,43:23,46:a,49:s,51:l,52:u,54:h,56:f,57:d,60:p,62:m,63:g,64:y,65:x,75:v,76:b,78:T,82:S,83:w,86:E,100:_,102:A,103:D},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(O,[2,5],{8:[1,48]}),{8:[1,49]},t(R,[2,19],{22:[1,50]}),t(R,[2,21]),t(R,[2,22]),t(R,[2,23]),t(R,[2,24]),t(R,[2,25]),t(R,[2,26]),t(R,[2,27]),t(R,[2,28]),t(R,[2,29]),t(R,[2,30]),{34:[1,51]},{36:[1,52]},t(R,[2,33]),t(R,[2,53],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:k,69:L,70:C,71:I,72:M,73:P,74:B}),{39:[1,65]},t(F,[2,40],{39:[1,67],44:[1,66]}),t(R,[2,55]),t(R,[2,56]),{16:68,60:p,86:E,100:_,102:A},{16:39,17:40,19:69,60:p,86:E,100:_,102:A,103:D},{16:39,17:40,19:70,60:p,86:E,100:_,102:A,103:D},{16:39,17:40,19:71,60:p,86:E,100:_,102:A,103:D},{60:[1,72]},{13:[1,73]},{16:39,17:40,19:74,60:p,86:E,100:_,102:A,103:D},{13:G,55:75},{58:77,60:[1,78]},t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t($,[2,13],{16:39,17:40,19:80,18:[1,79],20:[1,81],60:p,86:E,100:_,102:A,103:D}),t($,[2,15],{20:[1,82]}),{15:83,16:84,17:85,60:p,86:E,100:_,102:A,103:D},{16:39,17:40,19:86,60:p,86:E,100:_,102:A,103:D},t(U,[2,123]),t(U,[2,124]),t(U,[2,125]),t(U,[2,126]),t([1,8,9,12,13,20,22,39,41,44,68,69,70,71,72,73,74,79,81],[2,127]),t(O,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:87,33:e,35:r,37:n,42:i,46:a,49:s,51:l,52:u,54:h,56:f,57:d,60:p,62:m,63:g,64:y,65:x,75:v,76:b,78:T,82:S,83:w,86:E,100:_,102:A,103:D}),{5:88,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:r,37:n,38:22,42:i,43:23,46:a,49:s,51:l,52:u,54:h,56:f,57:d,60:p,62:m,63:g,64:y,65:x,75:v,76:b,78:T,82:S,83:w,86:E,100:_,102:A,103:D},t(R,[2,20]),t(R,[2,31]),t(R,[2,32]),{13:[1,90],16:39,17:40,19:89,60:p,86:E,100:_,102:A,103:D},{53:91,66:56,67:57,68:k,69:L,70:C,71:I,72:M,73:P,74:B},t(R,[2,54]),{67:92,73:P,74:B},t(K,[2,73],{66:93,68:k,69:L,70:C,71:I,72:M}),t(ne,[2,74]),t(ne,[2,75]),t(ne,[2,76]),t(ne,[2,77]),t(ne,[2,78]),t(j,[2,79]),t(j,[2,80]),{8:[1,95],24:96,40:94,43:23,46:a},{16:97,60:p,86:E,100:_,102:A},{41:[1,99],45:98,51:le},{50:[1,101]},{13:[1,102]},{13:[1,103]},{79:[1,104],81:[1,105]},{22:Z,48:ce,59:106,60:Q,82:ee,84:107,85:108,86:te,87:re,88:he,89:J,90:ye},{60:[1,118]},{13:G,55:119},t(R,[2,62]),t(R,[2,128]),{22:Z,48:ce,59:120,60:Q,61:[1,121],82:ee,84:107,85:108,86:te,87:re,88:he,89:J,90:ye},t(se,[2,64]),{16:39,17:40,19:122,60:p,86:E,100:_,102:A,103:D},t($,[2,16]),t($,[2,17]),t($,[2,18]),{39:[2,36]},{15:124,16:84,17:85,18:[1,123],39:[2,9],60:p,86:E,100:_,102:A,103:D},{39:[2,10]},t(Se,[2,45],{11:125,12:[1,126]}),t(O,[2,7]),{9:[1,127]},t(W,[2,57]),{16:39,17:40,19:128,60:p,86:E,100:_,102:A,103:D},{13:[1,130],16:39,17:40,19:129,60:p,86:E,100:_,102:A,103:D},t(K,[2,72],{66:131,68:k,69:L,70:C,71:I,72:M}),t(K,[2,71]),{41:[1,132]},{24:96,40:133,43:23,46:a},{8:[1,134],41:[2,37]},t(F,[2,41],{39:[1,135]}),{41:[1,136]},t(F,[2,43]),{41:[2,51],45:137,51:le},{16:39,17:40,19:138,60:p,86:E,100:_,102:A,103:D},t(R,[2,81],{13:[1,139]}),t(R,[2,83],{13:[1,141],77:[1,140]}),t(R,[2,87],{13:[1,142],80:[1,143]}),{13:[1,144]},t(R,[2,95],{61:Oe}),t(ve,[2,97],{85:146,22:Z,48:ce,60:Q,82:ee,86:te,87:re,88:he,89:J,90:ye}),t(Pe,[2,99]),t(Pe,[2,101]),t(Pe,[2,102]),t(Pe,[2,103]),t(Pe,[2,104]),t(Pe,[2,105]),t(Pe,[2,106]),t(Pe,[2,107]),t(Pe,[2,108]),t(Pe,[2,109]),t(R,[2,96]),t(R,[2,61]),t(R,[2,63],{61:Oe}),{60:[1,147]},t($,[2,14]),{15:148,16:84,17:85,60:p,86:E,100:_,102:A,103:D},{39:[2,12]},t(Se,[2,46]),{13:[1,149]},{1:[2,4]},t(W,[2,59]),t(W,[2,58]),{16:39,17:40,19:150,60:p,86:E,100:_,102:A,103:D},t(K,[2,70]),t(R,[2,34]),{41:[1,151]},{24:96,40:152,41:[2,38],43:23,46:a},{45:153,51:le},t(F,[2,42]),{41:[2,52]},t(R,[2,50]),t(R,[2,82]),t(R,[2,84]),t(R,[2,85],{77:[1,154]}),t(R,[2,88]),t(R,[2,89],{13:[1,155]}),t(R,[2,91],{13:[1,157],77:[1,156]}),{22:Z,48:ce,60:Q,82:ee,84:158,85:108,86:te,87:re,88:he,89:J,90:ye},t(Pe,[2,100]),t(se,[2,65]),{39:[2,11]},{14:[1,159]},t(W,[2,60]),t(R,[2,35]),{41:[2,39]},{41:[1,160]},t(R,[2,86]),t(R,[2,90]),t(R,[2,92]),t(R,[2,93],{77:[1,161]}),t(ve,[2,98],{85:146,22:Z,48:ce,60:Q,82:ee,86:te,87:re,88:he,89:J,90:ye}),t(Se,[2,8]),t(F,[2,44]),t(R,[2,94])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,36],85:[2,10],124:[2,12],127:[2,4],137:[2,52],148:[2,11],152:[2,39]},parseError:o(function(be,q){if(q.recoverable)this.trace(be);else{var fe=new Error(be);throw fe.hash=q,fe}},"parseError"),parse:o(function(be){var q=this,fe=[0],ae=[],oe=[null],V=[],xe=this.table,Y="",de=0,me=0,Be=0,_e=2,Te=1,Ue=V.slice.call(arguments,1),De=Object.create(this.lexer),Qe={yy:{}};for(var ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ot)&&(Qe.yy[ot]=this.yy[ot]);De.setInput(be,Qe.yy),Qe.yy.lexer=De,Qe.yy.parser=this,typeof De.yylloc>"u"&&(De.yylloc={});var Gt=De.yylloc;V.push(Gt);var Ze=De.options&&De.options.ranges;typeof Qe.yy.parseError=="function"?this.parseError=Qe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ve(kt){fe.length=fe.length-2*kt,oe.length=oe.length-kt,V.length=V.length-kt}o(Ve,"popStack");function ht(){var kt;return kt=ae.pop()||De.lex()||Te,typeof kt!="number"&&(kt instanceof Array&&(ae=kt,kt=ae.pop()),kt=q.symbols_[kt]||kt),kt}o(ht,"lex");for(var Ye,ct,Yt,Tt,Mt,bt,ft={},St,dt,vt,at;;){if(Yt=fe[fe.length-1],this.defaultActions[Yt]?Tt=this.defaultActions[Yt]:((Ye===null||typeof Ye>"u")&&(Ye=ht()),Tt=xe[Yt]&&xe[Yt][Ye]),typeof Tt>"u"||!Tt.length||!Tt[0]){var pn="";at=[];for(St in xe[Yt])this.terminals_[St]&&St>_e&&at.push("'"+this.terminals_[St]+"'");De.showPosition?pn="Parse error on line "+(de+1)+`: `+De.showPosition()+` -Expecting `+nt.join(", ")+", got '"+(this.terminals_[We]||We)+"'":dn="Parse error on line "+(pe+1)+": Unexpected "+(We==be?"end of input":"'"+(this.terminals_[We]||We)+"'"),this.parseError(dn,{text:De.match,token:this.terminals_[We]||We,line:De.yylineno,loc:Rt,expected:nt})}if(Tt[0]instanceof Array&&Tt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Xt+", token: "+We);switch(Tt[0]){case 1:de.push(We),oe.push(De.yytext),V.push(De.yylloc),de.push(Tt[1]),We=null,lt?(We=lt,lt=null):(ve=De.yyleng,W=De.yytext,pe=De.yylineno,Rt=De.yylloc,Pe>0&&Pe--);break;case 2:if(ft=this.productions_[Tt[1]][1],ht.$=oe[oe.length-ft],ht._$={first_line:V[V.length-(ft||1)].first_line,last_line:V[V.length-1].last_line,first_column:V[V.length-(ft||1)].first_column,last_column:V[V.length-1].last_column},st&&(ht._$.range=[V[V.length-(ft||1)].range[0],V[V.length-1].range[1]]),bt=this.performAction.apply(ht,[W,ve,pe,Ye.yy,Tt[1],oe,V].concat(Ve)),typeof bt<"u")return bt;ft&&(de=de.slice(0,-1*ft*2),oe=oe.slice(0,-1*ft),V=V.slice(0,-1*ft)),de.push(this.productions_[Tt[1]][0]),oe.push(ht.$),V.push(ht._$),vt=Te[de[de.length-2]][de[de.length-1]],de.push(vt);break;case 3:return!0}}return!0},"parse")},ze=function(){var Ie={EOF:1,parseError:o(function(q,de){if(this.yy.parser)this.yy.parser.parseError(q,de);else throw new Error(q)},"parseError"),setInput:o(function(xe,q){return this.yy=q||this.yy||{},this._input=xe,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var xe=this._input[0];this.yytext+=xe,this.yyleng++,this.offset++,this.match+=xe,this.matched+=xe;var q=xe.match(/(?:\r\n?|\n).*/g);return q?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),xe},"input"),unput:o(function(xe){var q=xe.length,de=xe.split(/(?:\r\n?|\n)/g);this._input=xe+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-q),this.offset-=q;var ie=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),de.length-1&&(this.yylineno-=de.length-1);var oe=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:de?(de.length===ie.length?this.yylloc.first_column:0)+ie[ie.length-de.length].length-de[0].length:this.yylloc.first_column-q},this.options.ranges&&(this.yylloc.range=[oe[0],oe[0]+this.yyleng-q]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(xe){this.unput(this.match.slice(xe))},"less"),pastInput:o(function(){var xe=this.matched.substr(0,this.matched.length-this.match.length);return(xe.length>20?"...":"")+xe.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var xe=this.match;return xe.length<20&&(xe+=this._input.substr(0,20-xe.length)),(xe.substr(0,20)+(xe.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var xe=this.pastInput(),q=new Array(xe.length+1).join("-");return xe+this.upcomingInput()+` -`+q+"^"},"showPosition"),test_match:o(function(xe,q){var de,ie,oe;if(this.options.backtrack_lexer&&(oe={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(oe.yylloc.range=this.yylloc.range.slice(0))),ie=xe[0].match(/(?:\r\n?|\n).*/g),ie&&(this.yylineno+=ie.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ie?ie[ie.length-1].length-ie[ie.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+xe[0].length},this.yytext+=xe[0],this.match+=xe[0],this.matches=xe,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(xe[0].length),this.matched+=xe[0],de=this.performAction.call(this,this.yy,this,q,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),de)return de;if(this._backtrack){for(var V in oe)this[V]=oe[V];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var xe,q,de,ie;this._more||(this.yytext="",this.match="");for(var oe=this._currentRules(),V=0;Vq[0].length)){if(q=de,ie=V,this.options.backtrack_lexer){if(xe=this.test_match(de,oe[V]),xe!==!1)return xe;if(this._backtrack){q=!1;continue}else return!1}else if(!this.options.flex)break}return q?(xe=this.test_match(q,oe[ie]),xe!==!1?xe:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var q=this.next();return q||this.lex()},"lex"),begin:o(function(q){this.conditionStack.push(q)},"begin"),popState:o(function(){var q=this.conditionStack.length-1;return q>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(q){return q=this.conditionStack.length-1-Math.abs(q||0),q>=0?this.conditionStack[q]:"INITIAL"},"topState"),pushState:o(function(q){this.begin(q)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:o(function(q,de,ie,oe){var V=oe;switch(ie){case 0:return 60;case 1:return 61;case 2:return 62;case 3:return 63;case 4:break;case 5:break;case 6:return this.begin("acc_title"),33;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),35;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 77;case 22:this.popState();break;case 23:return 78;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 80;case 28:return 55;case 29:return this.begin("namespace"),42;break;case 30:return this.popState(),8;break;case 31:break;case 32:return this.begin("namespace-body"),39;break;case 33:return this.popState(),41;break;case 34:return"EOF_IN_STRUCT";case 35:return 8;case 36:break;case 37:return"EDGE_STATE";case 38:return this.begin("class"),46;break;case 39:return this.popState(),8;break;case 40:break;case 41:return this.popState(),this.popState(),41;break;case 42:return this.begin("class-body"),39;break;case 43:return this.popState(),41;break;case 44:return"EOF_IN_STRUCT";case 45:return"EDGE_STATE";case 46:return"OPEN_IN_STRUCT";case 47:break;case 48:return"MEMBER";case 49:return 81;case 50:return 73;case 51:return 74;case 52:return 76;case 53:return 52;case 54:return 54;case 55:return 47;case 56:return 48;case 57:return 79;case 58:this.popState();break;case 59:return"GENERICTYPE";case 60:this.begin("generic");break;case 61:this.popState();break;case 62:return"BQUOTE_STR";case 63:this.begin("bqstring");break;case 64:return 75;case 65:return 75;case 66:return 75;case 67:return 75;case 68:return 67;case 69:return 67;case 70:return 69;case 71:return 69;case 72:return 68;case 73:return 66;case 74:return 70;case 75:return 71;case 76:return 72;case 77:return 22;case 78:return 44;case 79:return 99;case 80:return 18;case 81:return"PLUS";case 82:return 85;case 83:return 59;case 84:return 88;case 85:return 88;case 86:return 89;case 87:return"EQUALS";case 88:return"EQUALS";case 89:return 58;case 90:return 12;case 91:return 14;case 92:return"PUNCTUATION";case 93:return 84;case 94:return 101;case 95:return 87;case 96:return 87;case 97:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,33,34,35,36,37,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},namespace:{rules:[26,29,30,31,32,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},"class-body":{rules:[26,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},class:{rules:[26,39,40,41,42,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr:{rules:[9,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_title:{rules:[7,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_args:{rules:[22,23,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_name:{rules:[19,20,21,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},href:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},struct:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},generic:{rules:[26,49,50,51,52,53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},bqstring:{rules:[26,49,50,51,52,53,54,55,56,57,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},string:{rules:[24,25,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}};return Ie}();He.lexer=ze;function Le(){this.yy={}}return o(Le,"Parser"),Le.prototype=He,He.Parser=Le,new Le}();vP.parser=vP;qS=vP});var Xde,Mb,jde=N(()=>{"use strict";qt();dr();Xde=["#","+","~","-",""],Mb=class{static{o(this,"ClassMember")}constructor(e,r){this.memberType=r,this.visibility="",this.classifier="",this.text="";let n=ar(e,ge());this.parseMember(n)}getDisplayDetails(){let e=this.visibility+tc(this.id);this.memberType==="method"&&(e+=`(${tc(this.parameters.trim())})`,this.returnType&&(e+=" : "+tc(this.returnType))),e=e.trim();let r=this.parseClassifier();return{displayText:e,cssStyle:r}}parseMember(e){let r="";if(this.memberType==="method"){let a=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);if(a){let s=a[1]?a[1].trim():"";if(Xde.includes(s)&&(this.visibility=s),this.id=a[2],this.parameters=a[3]?a[3].trim():"",r=a[4]?a[4].trim():"",this.returnType=a[5]?a[5].trim():"",r===""){let l=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(l)&&(r=l,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{let i=e.length,a=e.substring(0,1),s=e.substring(i-1);Xde.includes(a)&&(this.visibility=a),/[$*]/.exec(s)&&(r=s),this.id=e.substring(this.visibility===""?0:1,r===""?i:i-1)}this.classifier=r,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();let n=`${this.visibility?"\\"+this.visibility:""}${tc(this.id)}${this.memberType==="method"?`(${tc(this.parameters)})${this.returnType?" : "+tc(this.returnType):""}`:""}`;this.text=n.replaceAll("<","<").replaceAll(">",">"),this.text.startsWith("\\<")&&(this.text=this.text.replace("\\<","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}}});var YS,Kde,Pp,R1,bP=N(()=>{"use strict";pr();yt();qt();dr();nr();ci();jde();YS="classId-",Kde=0,Pp=o(t=>Ze.sanitizeText(t,ge()),"sanitizeText"),R1=class{constructor(){this.relations=[];this.classes=new Map;this.styleClasses=new Map;this.notes=[];this.interfaces=[];this.namespaces=new Map;this.namespaceCounter=0;this.functions=[];this.lineType={LINE:0,DOTTED_LINE:1};this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4};this.setupToolTips=o(e=>{let r=Ge(".mermaidTooltip");(r._groups||r)[0][0]===null&&(r=Ge("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),Ge(e).select("svg").selectAll("g.node").on("mouseover",a=>{let s=Ge(a.currentTarget);if(s.attr("title")===null)return;let u=this.getBoundingClientRect();r.transition().duration(200).style("opacity",".9"),r.text(s.attr("title")).style("left",window.scrollX+u.left+(u.right-u.left)/2+"px").style("top",window.scrollY+u.top-14+document.body.scrollTop+"px"),r.html(r.html().replace(/<br\/>/g,"
    ")),s.classed("hover",!0)}).on("mouseout",a=>{r.transition().duration(500).style("opacity",0),Ge(a.currentTarget).classed("hover",!1)})},"setupToolTips");this.direction="TB";this.setAccTitle=Cr;this.getAccTitle=_r;this.setAccDescription=Dr;this.getAccDescription=Lr;this.setDiagramTitle=Ir;this.getDiagramTitle=Rr;this.getConfig=o(()=>ge().class,"getConfig");this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}static{o(this,"ClassDB")}splitClassNameAndType(e){let r=Ze.sanitizeText(e,ge()),n="",i=r;if(r.indexOf("~")>0){let a=r.split("~");i=Pp(a[0]),n=Pp(a[1])}return{className:i,type:n}}setClassLabel(e,r){let n=Ze.sanitizeText(e,ge());r&&(r=Pp(r));let{className:i}=this.splitClassNameAndType(n);this.classes.get(i).label=r,this.classes.get(i).text=`${r}${this.classes.get(i).type?`<${this.classes.get(i).type}>`:""}`}addClass(e){let r=Ze.sanitizeText(e,ge()),{className:n,type:i}=this.splitClassNameAndType(r);if(this.classes.has(n))return;let a=Ze.sanitizeText(n,ge());this.classes.set(a,{id:a,type:i,label:a,text:`${a}${i?`<${i}>`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:YS+a+"-"+Kde}),Kde++}addInterface(e,r){let n={id:`interface${this.interfaces.length}`,label:e,classId:r};this.interfaces.push(n)}lookUpDomId(e){let r=Ze.sanitizeText(e,ge());if(this.classes.has(r))return this.classes.get(r).domId;throw new Error("Class not found: "+r)}clear(){this.relations=[],this.classes=new Map,this.notes=[],this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.direction="TB",wr()}getClass(e){return this.classes.get(e)}getClasses(){return this.classes}getRelations(){return this.relations}getNotes(){return this.notes}addRelation(e){X.debug("Adding relation: "+JSON.stringify(e));let r=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];e.relation.type1===this.relationType.LOLLIPOP&&!r.includes(e.relation.type2)?(this.addClass(e.id2),this.addInterface(e.id1,e.id2),e.id1=`interface${this.interfaces.length-1}`):e.relation.type2===this.relationType.LOLLIPOP&&!r.includes(e.relation.type1)?(this.addClass(e.id1),this.addInterface(e.id2,e.id1),e.id2=`interface${this.interfaces.length-1}`):(this.addClass(e.id1),this.addClass(e.id2)),e.id1=this.splitClassNameAndType(e.id1).className,e.id2=this.splitClassNameAndType(e.id2).className,e.relationTitle1=Ze.sanitizeText(e.relationTitle1.trim(),ge()),e.relationTitle2=Ze.sanitizeText(e.relationTitle2.trim(),ge()),this.relations.push(e)}addAnnotation(e,r){let n=this.splitClassNameAndType(e).className;this.classes.get(n).annotations.push(r)}addMember(e,r){this.addClass(e);let n=this.splitClassNameAndType(e).className,i=this.classes.get(n);if(typeof r=="string"){let a=r.trim();a.startsWith("<<")&&a.endsWith(">>")?i.annotations.push(Pp(a.substring(2,a.length-2))):a.indexOf(")")>0?i.methods.push(new Mb(a,"method")):a&&i.members.push(new Mb(a,"attribute"))}}addMembers(e,r){Array.isArray(r)&&(r.reverse(),r.forEach(n=>this.addMember(e,n)))}addNote(e,r){let n={id:`note${this.notes.length}`,class:r,text:e};this.notes.push(n)}cleanupLabel(e){return e.startsWith(":")&&(e=e.substring(1)),Pp(e.trim())}setCssClass(e,r){e.split(",").forEach(n=>{let i=n;/\d/.exec(n[0])&&(i=YS+i);let a=this.classes.get(i);a&&(a.cssClasses+=" "+r)})}defineClass(e,r){for(let n of e){let i=this.styleClasses.get(n);i===void 0&&(i={id:n,styles:[],textStyles:[]},this.styleClasses.set(n,i)),r&&r.forEach(a=>{if(/color/.exec(a)){let s=a.replace("fill","bgFill");i.textStyles.push(s)}i.styles.push(a)}),this.classes.forEach(a=>{a.cssClasses.includes(n)&&a.styles.push(...r.flatMap(s=>s.split(",")))})}}setTooltip(e,r){e.split(",").forEach(n=>{r!==void 0&&(this.classes.get(n).tooltip=Pp(r))})}getTooltip(e,r){return r&&this.namespaces.has(r)?this.namespaces.get(r).classes.get(e).tooltip:this.classes.get(e).tooltip}setLink(e,r,n){let i=ge();e.split(",").forEach(a=>{let s=a;/\d/.exec(a[0])&&(s=YS+s);let l=this.classes.get(s);l&&(l.link=Vt.formatUrl(r,i),i.securityLevel==="sandbox"?l.linkTarget="_top":typeof n=="string"?l.linkTarget=Pp(n):l.linkTarget="_blank")}),this.setCssClass(e,"clickable")}setClickEvent(e,r,n){e.split(",").forEach(i=>{this.setClickFunc(i,r,n),this.classes.get(i).haveCallback=!0}),this.setCssClass(e,"clickable")}setClickFunc(e,r,n){let i=Ze.sanitizeText(e,ge());if(ge().securityLevel!=="loose"||r===void 0)return;let s=i;if(this.classes.has(s)){let l=this.lookUpDomId(s),u=[];if(typeof n=="string"){u=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let h=0;h{let h=document.querySelector(`[id="${l}"]`);h!==null&&h.addEventListener("click",()=>{Vt.runFunc(r,...u)},!1)})}}bindFunctions(e){this.functions.forEach(r=>{r(e)})}getDirection(){return this.direction}setDirection(e){this.direction=e}addNamespace(e){this.namespaces.has(e)||(this.namespaces.set(e,{id:e,classes:new Map,children:{},domId:YS+e+"-"+this.namespaceCounter}),this.namespaceCounter++)}getNamespace(e){return this.namespaces.get(e)}getNamespaces(){return this.namespaces}addClassesToNamespace(e,r){if(this.namespaces.has(e))for(let n of r){let{className:i}=this.splitClassNameAndType(n);this.classes.get(i).parent=e,this.namespaces.get(e).classes.set(i,this.classes.get(i))}}setCssStyle(e,r){let n=this.classes.get(e);if(!(!r||!n))for(let i of r)i.includes(",")?n.styles.push(...i.split(",")):n.styles.push(i)}getArrowMarker(e){let r;switch(e){case 0:r="aggregation";break;case 1:r="extension";break;case 2:r="composition";break;case 3:r="dependency";break;case 4:r="lollipop";break;default:r="none"}return r}getData(){let e=[],r=[],n=ge();for(let a of this.namespaces.keys()){let s=this.namespaces.get(a);if(s){let l={id:s.id,label:s.id,isGroup:!0,padding:n.class.padding??16,shape:"rect",cssStyles:["fill: none","stroke: black"],look:n.look};e.push(l)}}for(let a of this.classes.keys()){let s=this.classes.get(a);if(s){let l=s;l.parentId=s.parent,l.look=n.look,e.push(l)}}let i=0;for(let a of this.notes){i++;let s={id:a.id,label:a.text,isGroup:!1,shape:"note",padding:n.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${n.themeVariables.noteBkgColor}`,`stroke: ${n.themeVariables.noteBorderColor}`],look:n.look};e.push(s);let l=this.classes.get(a.class)?.id??"";if(l){let u={id:`edgeNote${i}`,start:a.id,end:l,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:n.look};r.push(u)}}for(let a of this.interfaces){let s={id:a.id,label:a.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:n.look};e.push(s)}i=0;for(let a of this.relations){i++;let s={id:Gh(a.id1,a.id2,{prefix:"id",counter:i}),start:a.id1,end:a.id2,type:"normal",label:a.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(a.relation.type1),arrowTypeEnd:this.getArrowMarker(a.relation.type2),startLabelRight:a.relationTitle1==="none"?"":a.relationTitle1,endLabelLeft:a.relationTitle2==="none"?"":a.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:a.style||"",pattern:a.relation.lineType==1?"dashed":"solid",look:n.look};r.push(s)}return{nodes:e,edges:r,other:{},config:n,direction:this.getDirection()}}}});var xHe,XS,TP=N(()=>{"use strict";Vm();xHe=o(t=>`g.classGroup text { +Expecting `+at.join(", ")+", got '"+(this.terminals_[Ye]||Ye)+"'":pn="Parse error on line "+(de+1)+": Unexpected "+(Ye==Te?"end of input":"'"+(this.terminals_[Ye]||Ye)+"'"),this.parseError(pn,{text:De.match,token:this.terminals_[Ye]||Ye,line:De.yylineno,loc:Gt,expected:at})}if(Tt[0]instanceof Array&&Tt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Yt+", token: "+Ye);switch(Tt[0]){case 1:fe.push(Ye),oe.push(De.yytext),V.push(De.yylloc),fe.push(Tt[1]),Ye=null,ct?(Ye=ct,ct=null):(me=De.yyleng,Y=De.yytext,de=De.yylineno,Gt=De.yylloc,Be>0&&Be--);break;case 2:if(dt=this.productions_[Tt[1]][1],ft.$=oe[oe.length-dt],ft._$={first_line:V[V.length-(dt||1)].first_line,last_line:V[V.length-1].last_line,first_column:V[V.length-(dt||1)].first_column,last_column:V[V.length-1].last_column},Ze&&(ft._$.range=[V[V.length-(dt||1)].range[0],V[V.length-1].range[1]]),bt=this.performAction.apply(ft,[Y,me,de,Qe.yy,Tt[1],oe,V].concat(Ue)),typeof bt<"u")return bt;dt&&(fe=fe.slice(0,-1*dt*2),oe=oe.slice(0,-1*dt),V=V.slice(0,-1*dt)),fe.push(this.productions_[Tt[1]][0]),oe.push(ft.$),V.push(ft._$),vt=xe[fe[fe.length-2]][fe[fe.length-1]],fe.push(vt);break;case 3:return!0}}return!0},"parse")},Ge=function(){var Me={EOF:1,parseError:o(function(q,fe){if(this.yy.parser)this.yy.parser.parseError(q,fe);else throw new Error(q)},"parseError"),setInput:o(function(be,q){return this.yy=q||this.yy||{},this._input=be,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var be=this._input[0];this.yytext+=be,this.yyleng++,this.offset++,this.match+=be,this.matched+=be;var q=be.match(/(?:\r\n?|\n).*/g);return q?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),be},"input"),unput:o(function(be){var q=be.length,fe=be.split(/(?:\r\n?|\n)/g);this._input=be+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-q),this.offset-=q;var ae=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),fe.length-1&&(this.yylineno-=fe.length-1);var oe=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:fe?(fe.length===ae.length?this.yylloc.first_column:0)+ae[ae.length-fe.length].length-fe[0].length:this.yylloc.first_column-q},this.options.ranges&&(this.yylloc.range=[oe[0],oe[0]+this.yyleng-q]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(be){this.unput(this.match.slice(be))},"less"),pastInput:o(function(){var be=this.matched.substr(0,this.matched.length-this.match.length);return(be.length>20?"...":"")+be.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var be=this.match;return be.length<20&&(be+=this._input.substr(0,20-be.length)),(be.substr(0,20)+(be.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var be=this.pastInput(),q=new Array(be.length+1).join("-");return be+this.upcomingInput()+` +`+q+"^"},"showPosition"),test_match:o(function(be,q){var fe,ae,oe;if(this.options.backtrack_lexer&&(oe={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(oe.yylloc.range=this.yylloc.range.slice(0))),ae=be[0].match(/(?:\r\n?|\n).*/g),ae&&(this.yylineno+=ae.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ae?ae[ae.length-1].length-ae[ae.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+be[0].length},this.yytext+=be[0],this.match+=be[0],this.matches=be,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(be[0].length),this.matched+=be[0],fe=this.performAction.call(this,this.yy,this,q,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),fe)return fe;if(this._backtrack){for(var V in oe)this[V]=oe[V];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var be,q,fe,ae;this._more||(this.yytext="",this.match="");for(var oe=this._currentRules(),V=0;Vq[0].length)){if(q=fe,ae=V,this.options.backtrack_lexer){if(be=this.test_match(fe,oe[V]),be!==!1)return be;if(this._backtrack){q=!1;continue}else return!1}else if(!this.options.flex)break}return q?(be=this.test_match(q,oe[ae]),be!==!1?be:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var q=this.next();return q||this.lex()},"lex"),begin:o(function(q){this.conditionStack.push(q)},"begin"),popState:o(function(){var q=this.conditionStack.length-1;return q>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(q){return q=this.conditionStack.length-1-Math.abs(q||0),q>=0?this.conditionStack[q]:"INITIAL"},"topState"),pushState:o(function(q){this.begin(q)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:o(function(q,fe,ae,oe){var V=oe;switch(ae){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:break;case 5:break;case 6:return this.begin("acc_title"),33;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),35;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 22:this.popState();break;case 23:return 80;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;break;case 30:return this.popState(),8;break;case 31:break;case 32:return this.begin("namespace-body"),39;break;case 33:return this.popState(),41;break;case 34:return"EOF_IN_STRUCT";case 35:return 8;case 36:break;case 37:return"EDGE_STATE";case 38:return this.begin("class"),46;break;case 39:return this.popState(),8;break;case 40:break;case 41:return this.popState(),this.popState(),41;break;case 42:return this.begin("class-body"),39;break;case 43:return this.popState(),41;break;case 44:return"EOF_IN_STRUCT";case 45:return"EDGE_STATE";case 46:return"OPEN_IN_STRUCT";case 47:break;case 48:return"MEMBER";case 49:return 83;case 50:return 75;case 51:return 76;case 52:return 78;case 53:return 54;case 54:return 56;case 55:return 49;case 56:return 50;case 57:return 81;case 58:this.popState();break;case 59:return"GENERICTYPE";case 60:this.begin("generic");break;case 61:this.popState();break;case 62:return"BQUOTE_STR";case 63:this.begin("bqstring");break;case 64:return 77;case 65:return 77;case 66:return 77;case 67:return 77;case 68:return 69;case 69:return 69;case 70:return 71;case 71:return 71;case 72:return 70;case 73:return 68;case 74:return 72;case 75:return 73;case 76:return 74;case 77:return 22;case 78:return 44;case 79:return 100;case 80:return 18;case 81:return"PLUS";case 82:return 87;case 83:return 61;case 84:return 89;case 85:return 89;case 86:return 90;case 87:return"EQUALS";case 88:return"EQUALS";case 89:return 60;case 90:return 12;case 91:return 14;case 92:return"PUNCTUATION";case 93:return 86;case 94:return 102;case 95:return 48;case 96:return 48;case 97:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,33,34,35,36,37,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},namespace:{rules:[26,29,30,31,32,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},"class-body":{rules:[26,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},class:{rules:[26,39,40,41,42,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr:{rules:[9,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_title:{rules:[7,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_args:{rules:[22,23,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_name:{rules:[19,20,21,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},href:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},struct:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},generic:{rules:[26,49,50,51,52,53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},bqstring:{rules:[26,49,50,51,52,53,54,55,56,57,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},string:{rules:[24,25,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}};return Me}();qe.lexer=Ge;function Ne(){this.yy={}}return o(Ne,"Parser"),Ne.prototype=qe,qe.Parser=Ne,new Ne}();OB.parser=OB;Z6=OB});var Ege,k4,Sge=N(()=>{"use strict";Xt();dr();Ege=["#","+","~","-",""],k4=class{static{o(this,"ClassMember")}constructor(e,r){this.memberType=r,this.visibility="",this.classifier="",this.text="";let n=ar(e,ge());this.parseMember(n)}getDisplayDetails(){let e=this.visibility+tc(this.id);this.memberType==="method"&&(e+=`(${tc(this.parameters.trim())})`,this.returnType&&(e+=" : "+tc(this.returnType))),e=e.trim();let r=this.parseClassifier();return{displayText:e,cssStyle:r}}parseMember(e){let r="";if(this.memberType==="method"){let a=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);if(a){let s=a[1]?a[1].trim():"";if(Ege.includes(s)&&(this.visibility=s),this.id=a[2],this.parameters=a[3]?a[3].trim():"",r=a[4]?a[4].trim():"",this.returnType=a[5]?a[5].trim():"",r===""){let l=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(l)&&(r=l,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{let i=e.length,a=e.substring(0,1),s=e.substring(i-1);Ege.includes(a)&&(this.visibility=a),/[$*]/.exec(s)&&(r=s),this.id=e.substring(this.visibility===""?0:1,r===""?i:i-1)}this.classifier=r,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();let n=`${this.visibility?"\\"+this.visibility:""}${tc(this.id)}${this.memberType==="method"?`(${tc(this.parameters)})${this.returnType?" : "+tc(this.returnType):""}`:""}`;this.text=n.replaceAll("<","<").replaceAll(">",">"),this.text.startsWith("\\<")&&(this.text=this.text.replace("\\<","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}}});var J6,Cge,a0,iy,BB=N(()=>{"use strict";pr();pt();Xt();dr();tr();ui();Sge();J6="classId-",Cge=0,a0=o(t=>Je.sanitizeText(t,ge()),"sanitizeText"),iy=class{constructor(){this.relations=[];this.classes=new Map;this.styleClasses=new Map;this.notes=[];this.interfaces=[];this.namespaces=new Map;this.namespaceCounter=0;this.functions=[];this.lineType={LINE:0,DOTTED_LINE:1};this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4};this.setupToolTips=o(e=>{let r=ze(".mermaidTooltip");(r._groups||r)[0][0]===null&&(r=ze("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),ze(e).select("svg").selectAll("g.node").on("mouseover",a=>{let s=ze(a.currentTarget);if(s.attr("title")===null)return;let u=this.getBoundingClientRect();r.transition().duration(200).style("opacity",".9"),r.text(s.attr("title")).style("left",window.scrollX+u.left+(u.right-u.left)/2+"px").style("top",window.scrollY+u.top-14+document.body.scrollTop+"px"),r.html(r.html().replace(/<br\/>/g,"
    ")),s.classed("hover",!0)}).on("mouseout",a=>{r.transition().duration(500).style("opacity",0),ze(a.currentTarget).classed("hover",!1)})},"setupToolTips");this.direction="TB";this.setAccTitle=Cr;this.getAccTitle=_r;this.setAccDescription=Dr;this.getAccDescription=Lr;this.setDiagramTitle=Or;this.getDiagramTitle=Rr;this.getConfig=o(()=>ge().class,"getConfig");this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}static{o(this,"ClassDB")}splitClassNameAndType(e){let r=Je.sanitizeText(e,ge()),n="",i=r;if(r.indexOf("~")>0){let a=r.split("~");i=a0(a[0]),n=a0(a[1])}return{className:i,type:n}}setClassLabel(e,r){let n=Je.sanitizeText(e,ge());r&&(r=a0(r));let{className:i}=this.splitClassNameAndType(n);this.classes.get(i).label=r,this.classes.get(i).text=`${r}${this.classes.get(i).type?`<${this.classes.get(i).type}>`:""}`}addClass(e){let r=Je.sanitizeText(e,ge()),{className:n,type:i}=this.splitClassNameAndType(r);if(this.classes.has(n))return;let a=Je.sanitizeText(n,ge());this.classes.set(a,{id:a,type:i,label:a,text:`${a}${i?`<${i}>`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:J6+a+"-"+Cge}),Cge++}addInterface(e,r){let n={id:`interface${this.interfaces.length}`,label:e,classId:r};this.interfaces.push(n)}lookUpDomId(e){let r=Je.sanitizeText(e,ge());if(this.classes.has(r))return this.classes.get(r).domId;throw new Error("Class not found: "+r)}clear(){this.relations=[],this.classes=new Map,this.notes=[],this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.direction="TB",wr()}getClass(e){return this.classes.get(e)}getClasses(){return this.classes}getRelations(){return this.relations}getNotes(){return this.notes}addRelation(e){X.debug("Adding relation: "+JSON.stringify(e));let r=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];e.relation.type1===this.relationType.LOLLIPOP&&!r.includes(e.relation.type2)?(this.addClass(e.id2),this.addInterface(e.id1,e.id2),e.id1=`interface${this.interfaces.length-1}`):e.relation.type2===this.relationType.LOLLIPOP&&!r.includes(e.relation.type1)?(this.addClass(e.id1),this.addInterface(e.id2,e.id1),e.id2=`interface${this.interfaces.length-1}`):(this.addClass(e.id1),this.addClass(e.id2)),e.id1=this.splitClassNameAndType(e.id1).className,e.id2=this.splitClassNameAndType(e.id2).className,e.relationTitle1=Je.sanitizeText(e.relationTitle1.trim(),ge()),e.relationTitle2=Je.sanitizeText(e.relationTitle2.trim(),ge()),this.relations.push(e)}addAnnotation(e,r){let n=this.splitClassNameAndType(e).className;this.classes.get(n).annotations.push(r)}addMember(e,r){this.addClass(e);let n=this.splitClassNameAndType(e).className,i=this.classes.get(n);if(typeof r=="string"){let a=r.trim();a.startsWith("<<")&&a.endsWith(">>")?i.annotations.push(a0(a.substring(2,a.length-2))):a.indexOf(")")>0?i.methods.push(new k4(a,"method")):a&&i.members.push(new k4(a,"attribute"))}}addMembers(e,r){Array.isArray(r)&&(r.reverse(),r.forEach(n=>this.addMember(e,n)))}addNote(e,r){let n={id:`note${this.notes.length}`,class:r,text:e};this.notes.push(n)}cleanupLabel(e){return e.startsWith(":")&&(e=e.substring(1)),a0(e.trim())}setCssClass(e,r){e.split(",").forEach(n=>{let i=n;/\d/.exec(n[0])&&(i=J6+i);let a=this.classes.get(i);a&&(a.cssClasses+=" "+r)})}defineClass(e,r){for(let n of e){let i=this.styleClasses.get(n);i===void 0&&(i={id:n,styles:[],textStyles:[]},this.styleClasses.set(n,i)),r&&r.forEach(a=>{if(/color/.exec(a)){let s=a.replace("fill","bgFill");i.textStyles.push(s)}i.styles.push(a)}),this.classes.forEach(a=>{a.cssClasses.includes(n)&&a.styles.push(...r.flatMap(s=>s.split(",")))})}}setTooltip(e,r){e.split(",").forEach(n=>{r!==void 0&&(this.classes.get(n).tooltip=a0(r))})}getTooltip(e,r){return r&&this.namespaces.has(r)?this.namespaces.get(r).classes.get(e).tooltip:this.classes.get(e).tooltip}setLink(e,r,n){let i=ge();e.split(",").forEach(a=>{let s=a;/\d/.exec(a[0])&&(s=J6+s);let l=this.classes.get(s);l&&(l.link=Ht.formatUrl(r,i),i.securityLevel==="sandbox"?l.linkTarget="_top":typeof n=="string"?l.linkTarget=a0(n):l.linkTarget="_blank")}),this.setCssClass(e,"clickable")}setClickEvent(e,r,n){e.split(",").forEach(i=>{this.setClickFunc(i,r,n),this.classes.get(i).haveCallback=!0}),this.setCssClass(e,"clickable")}setClickFunc(e,r,n){let i=Je.sanitizeText(e,ge());if(ge().securityLevel!=="loose"||r===void 0)return;let s=i;if(this.classes.has(s)){let l=this.lookUpDomId(s),u=[];if(typeof n=="string"){u=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let h=0;h{let h=document.querySelector(`[id="${l}"]`);h!==null&&h.addEventListener("click",()=>{Ht.runFunc(r,...u)},!1)})}}bindFunctions(e){this.functions.forEach(r=>{r(e)})}getDirection(){return this.direction}setDirection(e){this.direction=e}addNamespace(e){this.namespaces.has(e)||(this.namespaces.set(e,{id:e,classes:new Map,children:{},domId:J6+e+"-"+this.namespaceCounter}),this.namespaceCounter++)}getNamespace(e){return this.namespaces.get(e)}getNamespaces(){return this.namespaces}addClassesToNamespace(e,r){if(this.namespaces.has(e))for(let n of r){let{className:i}=this.splitClassNameAndType(n);this.classes.get(i).parent=e,this.namespaces.get(e).classes.set(i,this.classes.get(i))}}setCssStyle(e,r){let n=this.classes.get(e);if(!(!r||!n))for(let i of r)i.includes(",")?n.styles.push(...i.split(",")):n.styles.push(i)}getArrowMarker(e){let r;switch(e){case 0:r="aggregation";break;case 1:r="extension";break;case 2:r="composition";break;case 3:r="dependency";break;case 4:r="lollipop";break;default:r="none"}return r}getData(){let e=[],r=[],n=ge();for(let a of this.namespaces.keys()){let s=this.namespaces.get(a);if(s){let l={id:s.id,label:s.id,isGroup:!0,padding:n.class.padding??16,shape:"rect",cssStyles:["fill: none","stroke: black"],look:n.look};e.push(l)}}for(let a of this.classes.keys()){let s=this.classes.get(a);if(s){let l=s;l.parentId=s.parent,l.look=n.look,e.push(l)}}let i=0;for(let a of this.notes){i++;let s={id:a.id,label:a.text,isGroup:!1,shape:"note",padding:n.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${n.themeVariables.noteBkgColor}`,`stroke: ${n.themeVariables.noteBorderColor}`],look:n.look};e.push(s);let l=this.classes.get(a.class)?.id??"";if(l){let u={id:`edgeNote${i}`,start:a.id,end:l,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:n.look};r.push(u)}}for(let a of this.interfaces){let s={id:a.id,label:a.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:n.look};e.push(s)}i=0;for(let a of this.relations){i++;let s={id:Hh(a.id1,a.id2,{prefix:"id",counter:i}),start:a.id1,end:a.id2,type:"normal",label:a.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(a.relation.type1),arrowTypeEnd:this.getArrowMarker(a.relation.type2),startLabelRight:a.relationTitle1==="none"?"":a.relationTitle1,endLabelLeft:a.relationTitle2==="none"?"":a.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:a.style||"",pattern:a.relation.lineType==1?"dashed":"solid",look:n.look};r.push(s)}return{nodes:e,edges:r,other:{},config:n,direction:this.getDirection()}}}});var PZe,eC,FB=N(()=>{"use strict";mg();PZe=o(t=>`g.classGroup text { fill: ${t.nodeBorder||t.classText}; stroke: none; font-family: ${t.fontFamily}; @@ -1547,13 +1816,13 @@ g.classGroup line { font-size: 18px; fill: ${t.textColor}; } - ${Lc()} -`,"getStyles"),XS=xHe});var bHe,THe,wHe,jS,wP=N(()=>{"use strict";qt();yt();xm();Zd();Jd();nr();bHe=o((t,e="TB")=>{if(!t.doc)return e;let r=e;for(let n of t.doc)n.stmt==="dir"&&(r=n.value);return r},"getDir"),THe=o(function(t,e){return e.db.getClasses()},"getClasses"),wHe=o(async function(t,e,r,n){X.info("REF0:"),X.info("Drawing class diagram (v3)",e);let{securityLevel:i,state:a,layout:s}=ge(),l=n.db.getData(),u=bc(e,i);l.type=n.type,l.layoutAlgorithm=sf(s),l.nodeSpacing=a?.nodeSpacing||50,l.rankSpacing=a?.rankSpacing||50,l.markers=["aggregation","extension","composition","dependency","lollipop"],l.diagramId=e,await Dc(l,u);let h=8;Vt.insertTitle(u,"classDiagramTitleText",a?.titleTopMargin??25,n.db.getDiagramTitle()),Wo(u,h,"classDiagram",a?.useMaxWidth??!0)},"draw"),jS={getClasses:THe,draw:wHe,getDir:bHe}});var Qde={};hr(Qde,{diagram:()=>kHe});var kHe,Zde=N(()=>{"use strict";xP();bP();TP();wP();kHe={parser:qS,get db(){return new R1},renderer:jS,styles:XS,init:o(t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")}});var tpe={};hr(tpe,{diagram:()=>AHe});var AHe,rpe=N(()=>{"use strict";xP();bP();TP();wP();AHe={parser:qS,get db(){return new R1},renderer:jS,styles:XS,init:o(t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")}});var kP,KS,EP=N(()=>{"use strict";kP=function(){var t=o(function(F,z,$,U){for($=$||{},U=F.length;U--;$[F[U]]=z);return $},"o"),e=[1,2],r=[1,3],n=[1,4],i=[2,4],a=[1,9],s=[1,11],l=[1,16],u=[1,17],h=[1,18],f=[1,19],d=[1,33],p=[1,20],m=[1,21],g=[1,22],y=[1,23],v=[1,24],x=[1,26],b=[1,27],T=[1,28],C=[1,29],w=[1,30],E=[1,31],_=[1,32],A=[1,35],D=[1,36],O=[1,37],R=[1,38],k=[1,34],L=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],S=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],I=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],M={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:o(function(z,$,U,K,ee,Y,ce){var Z=Y.length-1;switch(ee){case 3:return K.setRootDoc(Y[Z]),Y[Z];break;case 4:this.$=[];break;case 5:Y[Z]!="nl"&&(Y[Z-1].push(Y[Z]),this.$=Y[Z-1]);break;case 6:case 7:this.$=Y[Z];break;case 8:this.$="nl";break;case 12:this.$=Y[Z];break;case 13:let ne=Y[Z-1];ne.description=K.trimColon(Y[Z]),this.$=ne;break;case 14:this.$={stmt:"relation",state1:Y[Z-2],state2:Y[Z]};break;case 15:let te=K.trimColon(Y[Z]);this.$={stmt:"relation",state1:Y[Z-3],state2:Y[Z-1],description:te};break;case 19:this.$={stmt:"state",id:Y[Z-3],type:"default",description:"",doc:Y[Z-1]};break;case 20:var ue=Y[Z],Q=Y[Z-2].trim();if(Y[Z].match(":")){var j=Y[Z].split(":");ue=j[0],Q=[Q,j[1]]}this.$={stmt:"state",id:ue,type:"default",description:Q};break;case 21:this.$={stmt:"state",id:Y[Z-3],type:"default",description:Y[Z-5],doc:Y[Z-1]};break;case 22:this.$={stmt:"state",id:Y[Z],type:"fork"};break;case 23:this.$={stmt:"state",id:Y[Z],type:"join"};break;case 24:this.$={stmt:"state",id:Y[Z],type:"choice"};break;case 25:this.$={stmt:"state",id:K.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:Y[Z-1].trim(),note:{position:Y[Z-2].trim(),text:Y[Z].trim()}};break;case 29:this.$=Y[Z].trim(),K.setAccTitle(this.$);break;case 30:case 31:this.$=Y[Z].trim(),K.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:Y[Z-3],url:Y[Z-2],tooltip:Y[Z-1]};break;case 33:this.$={stmt:"click",id:Y[Z-3],url:Y[Z-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:Y[Z-1].trim(),classes:Y[Z].trim()};break;case 36:this.$={stmt:"style",id:Y[Z-1].trim(),styleClass:Y[Z].trim()};break;case 37:this.$={stmt:"applyClass",id:Y[Z-1].trim(),styleClass:Y[Z].trim()};break;case 38:K.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:K.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:K.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:K.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:Y[Z].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:Y[Z-2].trim(),classes:[Y[Z].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:Y[Z-2].trim(),classes:[Y[Z].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:r,6:n},{1:[3]},{3:5,4:e,5:r,6:n},{3:6,4:e,5:r,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:u,19:h,22:f,24:d,25:p,26:m,27:g,28:y,29:v,32:25,33:x,35:b,37:T,38:C,41:w,45:E,48:_,51:A,52:D,53:O,54:R,57:k},t(L,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:l,17:u,19:h,22:f,24:d,25:p,26:m,27:g,28:y,29:v,32:25,33:x,35:b,37:T,38:C,41:w,45:E,48:_,51:A,52:D,53:O,54:R,57:k},t(L,[2,7]),t(L,[2,8]),t(L,[2,9]),t(L,[2,10]),t(L,[2,11]),t(L,[2,12],{14:[1,40],15:[1,41]}),t(L,[2,16]),{18:[1,42]},t(L,[2,18],{20:[1,43]}),{23:[1,44]},t(L,[2,22]),t(L,[2,23]),t(L,[2,24]),t(L,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(L,[2,28]),{34:[1,49]},{36:[1,50]},t(L,[2,31]),{13:51,24:d,57:k},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(S,[2,44],{58:[1,56]}),t(S,[2,45],{58:[1,57]}),t(L,[2,38]),t(L,[2,39]),t(L,[2,40]),t(L,[2,41]),t(L,[2,6]),t(L,[2,13]),{13:58,24:d,57:k},t(L,[2,17]),t(I,i,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(L,[2,29]),t(L,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(L,[2,14],{14:[1,71]}),{4:a,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:u,19:h,21:[1,72],22:f,24:d,25:p,26:m,27:g,28:y,29:v,32:25,33:x,35:b,37:T,38:C,41:w,45:E,48:_,51:A,52:D,53:O,54:R,57:k},t(L,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(L,[2,34]),t(L,[2,35]),t(L,[2,36]),t(L,[2,37]),t(S,[2,46]),t(S,[2,47]),t(L,[2,15]),t(L,[2,19]),t(I,i,{7:78}),t(L,[2,26]),t(L,[2,27]),{5:[1,79]},{5:[1,80]},{4:a,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:u,19:h,21:[1,81],22:f,24:d,25:p,26:m,27:g,28:y,29:v,32:25,33:x,35:b,37:T,38:C,41:w,45:E,48:_,51:A,52:D,53:O,54:R,57:k},t(L,[2,32]),t(L,[2,33]),t(L,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:o(function(z,$){if($.recoverable)this.trace(z);else{var U=new Error(z);throw U.hash=$,U}},"parseError"),parse:o(function(z){var $=this,U=[0],K=[],ee=[null],Y=[],ce=this.table,Z="",ue=0,Q=0,j=0,ne=2,te=1,he=Y.slice.call(arguments,1),le=Object.create(this.lexer),J={yy:{}};for(var Se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Se)&&(J.yy[Se]=this.yy[Se]);le.setInput(z,J.yy),J.yy.lexer=le,J.yy.parser=this,typeof le.yylloc>"u"&&(le.yylloc={});var se=le.yylloc;Y.push(se);var ae=le.options&&le.options.ranges;typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Oe(W){U.length=U.length-2*W,ee.length=ee.length-W,Y.length=Y.length-W}o(Oe,"popStack");function ye(){var W;return W=K.pop()||le.lex()||te,typeof W!="number"&&(W instanceof Array&&(K=W,W=K.pop()),W=$.symbols_[W]||W),W}o(ye,"lex");for(var Be,He,ze,Le,Ie,xe,q={},de,ie,oe,V;;){if(ze=U[U.length-1],this.defaultActions[ze]?Le=this.defaultActions[ze]:((Be===null||typeof Be>"u")&&(Be=ye()),Le=ce[ze]&&ce[ze][Be]),typeof Le>"u"||!Le.length||!Le[0]){var Te="";V=[];for(de in ce[ze])this.terminals_[de]&&de>ne&&V.push("'"+this.terminals_[de]+"'");le.showPosition?Te="Parse error on line "+(ue+1)+`: -`+le.showPosition()+` -Expecting `+V.join(", ")+", got '"+(this.terminals_[Be]||Be)+"'":Te="Parse error on line "+(ue+1)+": Unexpected "+(Be==te?"end of input":"'"+(this.terminals_[Be]||Be)+"'"),this.parseError(Te,{text:le.match,token:this.terminals_[Be]||Be,line:le.yylineno,loc:se,expected:V})}if(Le[0]instanceof Array&&Le.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ze+", token: "+Be);switch(Le[0]){case 1:U.push(Be),ee.push(le.yytext),Y.push(le.yylloc),U.push(Le[1]),Be=null,He?(Be=He,He=null):(Q=le.yyleng,Z=le.yytext,ue=le.yylineno,se=le.yylloc,j>0&&j--);break;case 2:if(ie=this.productions_[Le[1]][1],q.$=ee[ee.length-ie],q._$={first_line:Y[Y.length-(ie||1)].first_line,last_line:Y[Y.length-1].last_line,first_column:Y[Y.length-(ie||1)].first_column,last_column:Y[Y.length-1].last_column},ae&&(q._$.range=[Y[Y.length-(ie||1)].range[0],Y[Y.length-1].range[1]]),xe=this.performAction.apply(q,[Z,Q,ue,J.yy,Le[1],ee,Y].concat(he)),typeof xe<"u")return xe;ie&&(U=U.slice(0,-1*ie*2),ee=ee.slice(0,-1*ie),Y=Y.slice(0,-1*ie)),U.push(this.productions_[Le[1]][0]),ee.push(q.$),Y.push(q._$),oe=ce[U[U.length-2]][U[U.length-1]],U.push(oe);break;case 3:return!0}}return!0},"parse")},P=function(){var F={EOF:1,parseError:o(function($,U){if(this.yy.parser)this.yy.parser.parseError($,U);else throw new Error($)},"parseError"),setInput:o(function(z,$){return this.yy=$||this.yy||{},this._input=z,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var z=this._input[0];this.yytext+=z,this.yyleng++,this.offset++,this.match+=z,this.matched+=z;var $=z.match(/(?:\r\n?|\n).*/g);return $?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),z},"input"),unput:o(function(z){var $=z.length,U=z.split(/(?:\r\n?|\n)/g);this._input=z+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-$),this.offset-=$;var K=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),U.length-1&&(this.yylineno-=U.length-1);var ee=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:U?(U.length===K.length?this.yylloc.first_column:0)+K[K.length-U.length].length-U[0].length:this.yylloc.first_column-$},this.options.ranges&&(this.yylloc.range=[ee[0],ee[0]+this.yyleng-$]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(z){this.unput(this.match.slice(z))},"less"),pastInput:o(function(){var z=this.matched.substr(0,this.matched.length-this.match.length);return(z.length>20?"...":"")+z.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var z=this.match;return z.length<20&&(z+=this._input.substr(0,20-z.length)),(z.substr(0,20)+(z.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var z=this.pastInput(),$=new Array(z.length+1).join("-");return z+this.upcomingInput()+` -`+$+"^"},"showPosition"),test_match:o(function(z,$){var U,K,ee;if(this.options.backtrack_lexer&&(ee={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ee.yylloc.range=this.yylloc.range.slice(0))),K=z[0].match(/(?:\r\n?|\n).*/g),K&&(this.yylineno+=K.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:K?K[K.length-1].length-K[K.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+z[0].length},this.yytext+=z[0],this.match+=z[0],this.matches=z,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(z[0].length),this.matched+=z[0],U=this.performAction.call(this,this.yy,this,$,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),U)return U;if(this._backtrack){for(var Y in ee)this[Y]=ee[Y];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var z,$,U,K;this._more||(this.yytext="",this.match="");for(var ee=this._currentRules(),Y=0;Y$[0].length)){if($=U,K=Y,this.options.backtrack_lexer){if(z=this.test_match(U,ee[Y]),z!==!1)return z;if(this._backtrack){$=!1;continue}else return!1}else if(!this.options.flex)break}return $?(z=this.test_match($,ee[K]),z!==!1?z:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var $=this.next();return $||this.lex()},"lex"),begin:o(function($){this.conditionStack.push($)},"begin"),popState:o(function(){var $=this.conditionStack.length-1;return $>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function($){return $=this.conditionStack.length-1-Math.abs($||0),$>=0?this.conditionStack[$]:"INITIAL"},"topState"),pushState:o(function($){this.begin($)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function($,U,K,ee){var Y=ee;switch(K){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:break;case 9:break;case 10:return 5;case 11:break;case 12:break;case 13:break;case 14:break;case 15:return this.pushState("SCALE"),17;break;case 16:return 18;case 17:this.popState();break;case 18:return this.begin("acc_title"),33;break;case 19:return this.popState(),"acc_title_value";break;case 20:return this.begin("acc_descr"),35;break;case 21:return this.popState(),"acc_descr_value";break;case 22:this.begin("acc_descr_multiline");break;case 23:this.popState();break;case 24:return"acc_descr_multiline_value";case 25:return this.pushState("CLASSDEF"),41;break;case 26:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 27:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 28:return this.popState(),43;break;case 29:return this.pushState("CLASS"),48;break;case 30:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 31:return this.popState(),50;break;case 32:return this.pushState("STYLE"),45;break;case 33:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 34:return this.popState(),47;break;case 35:return this.pushState("SCALE"),17;break;case 36:return 18;case 37:this.popState();break;case 38:this.pushState("STATE");break;case 39:return this.popState(),U.yytext=U.yytext.slice(0,-8).trim(),25;break;case 40:return this.popState(),U.yytext=U.yytext.slice(0,-8).trim(),26;break;case 41:return this.popState(),U.yytext=U.yytext.slice(0,-10).trim(),27;break;case 42:return this.popState(),U.yytext=U.yytext.slice(0,-8).trim(),25;break;case 43:return this.popState(),U.yytext=U.yytext.slice(0,-8).trim(),26;break;case 44:return this.popState(),U.yytext=U.yytext.slice(0,-10).trim(),27;break;case 45:return 51;case 46:return 52;case 47:return 53;case 48:return 54;case 49:this.pushState("STATE_STRING");break;case 50:return this.pushState("STATE_ID"),"AS";break;case 51:return this.popState(),"ID";break;case 52:this.popState();break;case 53:return"STATE_DESCR";case 54:return 19;case 55:this.popState();break;case 56:return this.popState(),this.pushState("struct"),20;break;case 57:break;case 58:return this.popState(),21;break;case 59:break;case 60:return this.begin("NOTE"),29;break;case 61:return this.popState(),this.pushState("NOTE_ID"),59;break;case 62:return this.popState(),this.pushState("NOTE_ID"),60;break;case 63:this.popState(),this.pushState("FLOATING_NOTE");break;case 64:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 65:break;case 66:return"NOTE_TEXT";case 67:return this.popState(),"ID";break;case 68:return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 69:return this.popState(),U.yytext=U.yytext.substr(2).trim(),31;break;case 70:return this.popState(),U.yytext=U.yytext.slice(0,-8).trim(),31;break;case 71:return 6;case 72:return 6;case 73:return 16;case 74:return 57;case 75:return 24;case 76:return U.yytext=U.yytext.trim(),14;break;case 77:return 15;case 78:return 28;case 79:return 58;case 80:return 5;case 81:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[12,13],inclusive:!1},struct:{rules:[12,13,25,29,32,38,45,46,47,48,57,58,59,60,74,75,76,77,78],inclusive:!1},FLOATING_NOTE_ID:{rules:[67],inclusive:!1},FLOATING_NOTE:{rules:[64,65,66],inclusive:!1},NOTE_TEXT:{rules:[69,70],inclusive:!1},NOTE_ID:{rules:[68],inclusive:!1},NOTE:{rules:[61,62,63],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[34],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[33],inclusive:!1},CLASS_STYLE:{rules:[31],inclusive:!1},CLASS:{rules:[30],inclusive:!1},CLASSDEFID:{rules:[28],inclusive:!1},CLASSDEF:{rules:[26,27],inclusive:!1},acc_descr_multiline:{rules:[23,24],inclusive:!1},acc_descr:{rules:[21],inclusive:!1},acc_title:{rules:[19],inclusive:!1},SCALE:{rules:[16,17,36,37],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[51],inclusive:!1},STATE_STRING:{rules:[52,53],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[12,13,39,40,41,42,43,44,49,50,54,55,56],inclusive:!1},ID:{rules:[12,13],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,18,20,22,25,29,32,35,38,56,60,71,72,73,74,75,76,77,79,80,81],inclusive:!0}}};return F}();M.lexer=P;function B(){this.yy={}}return o(B,"Parser"),B.prototype=M,M.Parser=B,new B}();kP.parser=kP;KS=kP});var ape,QS,SP,Tf,Bp,Ib,spe,ope,lpe,Fp,ZS,CP,AP,_P,DP,LP,JS,e6,cpe,upe,RP,NP,hpe,fpe,N1,RHe,dpe,MP,NHe,MHe,ppe,mpe,IHe,gpe,OHe,ype,IP,OP,vpe,t6,xpe,PP,r6=N(()=>{"use strict";ape="TB",QS="TB",SP="dir",Tf="state",Bp="root",Ib="relation",spe="classDef",ope="style",lpe="applyClass",Fp="default",ZS="divider",CP="fill:none",AP="fill: #333",_P="c",DP="text",LP="normal",JS="rect",e6="rectWithTitle",cpe="stateStart",upe="stateEnd",RP="divider",NP="roundedWithTitle",hpe="note",fpe="noteGroup",N1="statediagram",RHe="state",dpe=`${N1}-${RHe}`,MP="transition",NHe="note",MHe="note-edge",ppe=`${MP} ${MHe}`,mpe=`${N1}-${NHe}`,IHe="cluster",gpe=`${N1}-${IHe}`,OHe="cluster-alt",ype=`${N1}-${OHe}`,IP="parent",OP="note",vpe="state",t6="----",xpe=`${t6}${OP}`,PP=`${t6}${IP}`});function BP(t="",e=0,r="",n=t6){let i=r!==null&&r.length>0?`${n}${r}`:"";return`${vpe}-${t}${i}-${e}`}function n6(t,e,r){if(!e.id||e.id===""||e.id==="")return;e.cssClasses&&(Array.isArray(e.cssCompiledStyles)||(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(i=>{let a=r.get(i);a&&(e.cssCompiledStyles=[...e.cssCompiledStyles??[],...a.styles])}));let n=t.find(i=>i.id===e.id);n?Object.assign(n,e):t.push(e)}function BHe(t){return t?.classes?.join(" ")??""}function FHe(t){return t?.styles??[]}var i6,wf,PHe,bpe,M1,Tpe,wpe=N(()=>{"use strict";qt();yt();dr();r6();i6=new Map,wf=0;o(BP,"stateDomId");PHe=o((t,e,r,n,i,a,s,l)=>{X.trace("items",e),e.forEach(u=>{switch(u.stmt){case Tf:M1(t,u,r,n,i,a,s,l);break;case Fp:M1(t,u,r,n,i,a,s,l);break;case Ib:{M1(t,u.state1,r,n,i,a,s,l),M1(t,u.state2,r,n,i,a,s,l);let h={id:"edge"+wf,start:u.state1.id,end:u.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:CP,labelStyle:"",label:Ze.sanitizeText(u.description??"",ge()),arrowheadStyle:AP,labelpos:_P,labelType:DP,thickness:LP,classes:MP,look:s};i.push(h),wf++}break}})},"setupDoc"),bpe=o((t,e=QS)=>{let r=e;if(t.doc)for(let n of t.doc)n.stmt==="dir"&&(r=n.value);return r},"getDir");o(n6,"insertOrUpdateNode");o(BHe,"getClassesFromDbInfo");o(FHe,"getStylesFromDbInfo");M1=o((t,e,r,n,i,a,s,l)=>{let u=e.id,h=r.get(u),f=BHe(h),d=FHe(h),p=ge();if(X.info("dataFetcher parsedItem",e,h,d),u!=="root"){let m=JS;e.start===!0?m=cpe:e.start===!1&&(m=upe),e.type!==Fp&&(m=e.type),i6.get(u)||i6.set(u,{id:u,shape:m,description:Ze.sanitizeText(u,p),cssClasses:`${f} ${dpe}`,cssStyles:d});let g=i6.get(u);e.description&&(Array.isArray(g.description)?(g.shape=e6,g.description.push(e.description)):g.description?.length&&g.description.length>0?(g.shape=e6,g.description===u?g.description=[e.description]:g.description=[g.description,e.description]):(g.shape=JS,g.description=e.description),g.description=Ze.sanitizeTextOrArray(g.description,p)),g.description?.length===1&&g.shape===e6&&(g.type==="group"?g.shape=NP:g.shape=JS),!g.type&&e.doc&&(X.info("Setting cluster for XCX",u,bpe(e)),g.type="group",g.isGroup=!0,g.dir=bpe(e),g.shape=e.type===ZS?RP:NP,g.cssClasses=`${g.cssClasses} ${gpe} ${a?ype:""}`);let y={labelStyle:"",shape:g.shape,label:g.description,cssClasses:g.cssClasses,cssCompiledStyles:[],cssStyles:g.cssStyles,id:u,dir:g.dir,domId:BP(u,wf),type:g.type,isGroup:g.type==="group",padding:8,rx:10,ry:10,look:s};if(y.shape===RP&&(y.label=""),t&&t.id!=="root"&&(X.trace("Setting node ",u," to be child of its parent ",t.id),y.parentId=t.id),y.centerLabel=!0,e.note){let v={labelStyle:"",shape:hpe,label:e.note.text,cssClasses:mpe,cssStyles:[],cssCompiledStyles:[],id:u+xpe+"-"+wf,domId:BP(u,wf,OP),type:g.type,isGroup:g.type==="group",padding:p.flowchart?.padding,look:s,position:e.note.position},x=u+PP,b={labelStyle:"",shape:fpe,label:e.note.text,cssClasses:g.cssClasses,cssStyles:[],id:u+PP,domId:BP(u,wf,IP),type:"group",isGroup:!0,padding:16,look:s,position:e.note.position};wf++,b.id=x,v.parentId=x,n6(n,b,l),n6(n,v,l),n6(n,y,l);let T=u,C=v.id;e.note.position==="left of"&&(T=v.id,C=u),i.push({id:T+"-"+C,start:T,end:C,arrowhead:"none",arrowTypeEnd:"",style:CP,labelStyle:"",classes:ppe,arrowheadStyle:AP,labelpos:_P,labelType:DP,thickness:LP,look:s})}else n6(n,y,l)}e.doc&&(X.trace("Adding nodes children "),PHe(e,e.doc,r,n,i,!a,s,l))},"dataFetcher"),Tpe=o(()=>{i6.clear(),wf=0},"reset")});var FP,$He,zHe,kpe,$P=N(()=>{"use strict";qt();yt();xm();Zd();Jd();nr();r6();FP=o((t,e=QS)=>{if(!t.doc)return e;let r=e;for(let n of t.doc)n.stmt==="dir"&&(r=n.value);return r},"getDir"),$He=o(function(t,e){return e.db.getClasses()},"getClasses"),zHe=o(async function(t,e,r,n){X.info("REF0:"),X.info("Drawing state diagram (v2)",e);let{securityLevel:i,state:a,layout:s}=ge();n.db.extract(n.db.getRootDocV2());let l=n.db.getData(),u=bc(e,i);l.type=n.type,l.layoutAlgorithm=s,l.nodeSpacing=a?.nodeSpacing||50,l.rankSpacing=a?.rankSpacing||50,l.markers=["barb"],l.diagramId=e,await Dc(l,u);let h=8;try{(typeof n.db.getLinks=="function"?n.db.getLinks():new Map).forEach((d,p)=>{let m=typeof p=="string"?p:typeof p?.id=="string"?p.id:"";if(!m){X.warn("\u26A0\uFE0F Invalid or missing stateId from key:",JSON.stringify(p));return}let g=u.node()?.querySelectorAll("g"),y;if(g?.forEach(T=>{T.textContent?.trim()===m&&(y=T)}),!y){X.warn("\u26A0\uFE0F Could not find node matching text:",m);return}let v=y.parentNode;if(!v){X.warn("\u26A0\uFE0F Node has no parent, cannot wrap:",m);return}let x=document.createElementNS("http://www.w3.org/2000/svg","a"),b=d.url.replace(/^"+|"+$/g,"");if(x.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",b),x.setAttribute("target","_blank"),d.tooltip){let T=d.tooltip.replace(/^"+|"+$/g,"");x.setAttribute("title",T)}v.replaceChild(x,y),x.appendChild(y),X.info("\u{1F517} Wrapped node in
    tag for:",m,d.url)})}catch(f){X.error("\u274C Error injecting clickable links:",f)}Vt.insertTitle(u,"statediagramTitleText",a?.titleTopMargin??25,n.db.getDiagramTitle()),Wo(u,h,N1,a?.useMaxWidth??!0)},"draw"),kpe={getClasses:$He,draw:zHe,getDir:FP}});var gs,Epe,Spe,a6,Jo,s6=N(()=>{"use strict";qt();yt();nr();dr();ci();wpe();$P();r6();gs={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Epe=o(()=>new Map,"newClassesList"),Spe=o(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),a6=o(t=>JSON.parse(JSON.stringify(t)),"clone"),Jo=class{constructor(e){this.version=e;this.nodes=[];this.edges=[];this.rootDoc=[];this.classes=Epe();this.documents={root:Spe()};this.currentDocument=this.documents.root;this.startEndCount=0;this.dividerCnt=0;this.links=new Map;this.getAccTitle=_r;this.setAccTitle=Cr;this.getAccDescription=Lr;this.setAccDescription=Dr;this.setDiagramTitle=Ir;this.getDiagramTitle=Rr;this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this)}static{o(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let i of Array.isArray(e)?e:e.doc)switch(i.stmt){case Tf:this.addState(i.id.trim(),i.type,i.doc,i.description,i.note);break;case Ib:this.addRelation(i.state1,i.state2,i.description);break;case spe:this.addStyleClass(i.id.trim(),i.classes);break;case ope:this.handleStyleDef(i);break;case lpe:this.setCssClass(i.id.trim(),i.styleClass);break;case"click":this.addLink(i.id,i.url,i.tooltip);break}let r=this.getStates(),n=ge();Tpe(),M1(void 0,this.getRootDocV2(),r,this.nodes,this.edges,!0,n.look,this.classes);for(let i of this.nodes)if(Array.isArray(i.label)){if(i.description=i.label.slice(1),i.isGroup&&i.description.length>0)throw new Error(`Group nodes can only have label. Remove the additional description for node [${i.id}]`);i.label=i.label[0]}}handleStyleDef(e){let r=e.id.trim().split(","),n=e.styleClass.split(",");for(let i of r){let a=this.getState(i);if(!a){let s=i.trim();this.addState(s),a=this.getState(s)}a&&(a.styles=n.map(s=>s.replace(/;/g,"")?.trim()))}}setRootDoc(e){X.info("Setting root doc",e),this.rootDoc=e,this.version===1?this.extract(e):this.extract(this.getRootDocV2())}docTranslator(e,r,n){if(r.stmt===Ib){this.docTranslator(e,r.state1,!0),this.docTranslator(e,r.state2,!1);return}if(r.stmt===Tf&&(r.id===gs.START_NODE?(r.id=e.id+(n?"_start":"_end"),r.start=n):r.id=r.id.trim()),r.stmt!==Bp&&r.stmt!==Tf||!r.doc)return;let i=[],a=[];for(let s of r.doc)if(s.type===ZS){let l=a6(s);l.doc=a6(a),i.push(l),a=[]}else a.push(s);if(i.length>0&&a.length>0){let s={stmt:Tf,id:A9(),type:"divider",doc:a6(a)};i.push(a6(s)),r.doc=i}r.doc.forEach(s=>this.docTranslator(r,s,!0))}getRootDocV2(){return this.docTranslator({id:Bp,stmt:Bp},{id:Bp,stmt:Bp,doc:this.rootDoc},!0),{id:Bp,doc:this.rootDoc}}addState(e,r=Fp,n=void 0,i=void 0,a=void 0,s=void 0,l=void 0,u=void 0){let h=e?.trim();if(!this.currentDocument.states.has(h))X.info("Adding state ",h,i),this.currentDocument.states.set(h,{stmt:Tf,id:h,descriptions:[],type:r,doc:n,note:a,classes:[],styles:[],textStyles:[]});else{let f=this.currentDocument.states.get(h);if(!f)throw new Error(`State not found: ${h}`);f.doc||(f.doc=n),f.type||(f.type=r)}if(i&&(X.info("Setting state description",h,i),(Array.isArray(i)?i:[i]).forEach(d=>this.addDescription(h,d.trim()))),a){let f=this.currentDocument.states.get(h);if(!f)throw new Error(`State not found: ${h}`);f.note=a,f.note.text=Ze.sanitizeText(f.note.text,ge())}s&&(X.info("Setting state classes",h,s),(Array.isArray(s)?s:[s]).forEach(d=>this.setCssClass(h,d.trim()))),l&&(X.info("Setting state styles",h,l),(Array.isArray(l)?l:[l]).forEach(d=>this.setStyle(h,d.trim()))),u&&(X.info("Setting state styles",h,l),(Array.isArray(u)?u:[u]).forEach(d=>this.setTextStyle(h,d.trim())))}clear(e){this.nodes=[],this.edges=[],this.documents={root:Spe()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Epe(),e||(this.links=new Map,wr())}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){X.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,r,n){this.links.set(e,{url:r,tooltip:n}),X.warn("Adding link",e,r,n)}getLinks(){return this.links}startIdIfNeeded(e=""){return e===gs.START_NODE?(this.startEndCount++,`${gs.START_TYPE}${this.startEndCount}`):e}startTypeIfNeeded(e="",r=Fp){return e===gs.START_NODE?gs.START_TYPE:r}endIdIfNeeded(e=""){return e===gs.END_NODE?(this.startEndCount++,`${gs.END_TYPE}${this.startEndCount}`):e}endTypeIfNeeded(e="",r=Fp){return e===gs.END_NODE?gs.END_TYPE:r}addRelationObjs(e,r,n=""){let i=this.startIdIfNeeded(e.id.trim()),a=this.startTypeIfNeeded(e.id.trim(),e.type),s=this.startIdIfNeeded(r.id.trim()),l=this.startTypeIfNeeded(r.id.trim(),r.type);this.addState(i,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(s,l,r.doc,r.description,r.note,r.classes,r.styles,r.textStyles),this.currentDocument.relations.push({id1:i,id2:s,relationTitle:Ze.sanitizeText(n,ge())})}addRelation(e,r,n){if(typeof e=="object"&&typeof r=="object")this.addRelationObjs(e,r,n);else if(typeof e=="string"&&typeof r=="string"){let i=this.startIdIfNeeded(e.trim()),a=this.startTypeIfNeeded(e),s=this.endIdIfNeeded(r.trim()),l=this.endTypeIfNeeded(r);this.addState(i,a),this.addState(s,l),this.currentDocument.relations.push({id1:i,id2:s,relationTitle:n?Ze.sanitizeText(n,ge()):void 0})}}addDescription(e,r){let n=this.currentDocument.states.get(e),i=r.startsWith(":")?r.replace(":","").trim():r;n?.descriptions?.push(Ze.sanitizeText(i,ge()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,r=""){this.classes.has(e)||this.classes.set(e,{id:e,styles:[],textStyles:[]});let n=this.classes.get(e);r&&n&&r.split(gs.STYLECLASS_SEP).forEach(i=>{let a=i.replace(/([^;]*);/,"$1").trim();if(RegExp(gs.COLOR_KEYWORD).exec(i)){let l=a.replace(gs.FILL_KEYWORD,gs.BG_FILL).replace(gs.COLOR_KEYWORD,gs.FILL_KEYWORD);n.textStyles.push(l)}n.styles.push(a)})}getClasses(){return this.classes}setCssClass(e,r){e.split(",").forEach(n=>{let i=this.getState(n);if(!i){let a=n.trim();this.addState(a),i=this.getState(a)}i?.classes?.push(r)})}setStyle(e,r){this.getState(e)?.styles?.push(r)}setTextStyle(e,r){this.getState(e)?.textStyles?.push(r)}getDirectionStatement(){return this.rootDoc.find(e=>e.stmt===SP)}getDirection(){return this.getDirectionStatement()?.value??ape}setDirection(e){let r=this.getDirectionStatement();r?r.value=e:this.rootDoc.unshift({stmt:SP,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=ge();return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:FP(this.getRootDocV2())}}getConfig(){return ge().state}}});var GHe,o6,zP=N(()=>{"use strict";GHe=o(t=>` + ${Fc()} +`,"getStyles"),eC=PZe});var BZe,FZe,$Ze,tC,$B=N(()=>{"use strict";Xt();pt();Kd();Af();_f();tr();BZe=o((t,e="TB")=>{if(!t.doc)return e;let r=e;for(let n of t.doc)n.stmt==="dir"&&(r=n.value);return r},"getDir"),FZe=o(function(t,e){return e.db.getClasses()},"getClasses"),$Ze=o(async function(t,e,r,n){X.info("REF0:"),X.info("Drawing class diagram (v3)",e);let{securityLevel:i,state:a,layout:s}=ge(),l=n.db.getData(),u=zo(e,i);l.type=n.type,l.layoutAlgorithm=Bc(s),l.nodeSpacing=a?.nodeSpacing||50,l.rankSpacing=a?.rankSpacing||50,l.markers=["aggregation","extension","composition","dependency","lollipop"],l.diagramId=e,await Qo(l,u);let h=8;Ht.insertTitle(u,"classDiagramTitleText",a?.titleTopMargin??25,n.db.getDiagramTitle()),Hs(u,h,"classDiagram",a?.useMaxWidth??!0)},"draw"),tC={getClasses:FZe,draw:$Ze,getDir:BZe}});var Age={};ur(Age,{diagram:()=>GZe});var GZe,_ge=N(()=>{"use strict";PB();BB();FB();$B();GZe={parser:Z6,get db(){return new iy},renderer:tC,styles:eC,init:o(t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")}});var Rge={};ur(Rge,{diagram:()=>HZe});var HZe,Nge=N(()=>{"use strict";PB();BB();FB();$B();HZe={parser:Z6,get db(){return new iy},renderer:tC,styles:eC,init:o(t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")}});var GB,rC,zB=N(()=>{"use strict";GB=function(){var t=o(function(F,G,$,U){for($=$||{},U=F.length;U--;$[F[U]]=G);return $},"o"),e=[1,2],r=[1,3],n=[1,4],i=[2,4],a=[1,9],s=[1,11],l=[1,16],u=[1,17],h=[1,18],f=[1,19],d=[1,33],p=[1,20],m=[1,21],g=[1,22],y=[1,23],x=[1,24],v=[1,26],b=[1,27],T=[1,28],S=[1,29],w=[1,30],E=[1,31],_=[1,32],A=[1,35],D=[1,36],O=[1,37],R=[1,38],k=[1,34],L=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],C=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],I=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],M={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:o(function(G,$,U,K,ne,j,le){var Z=j.length-1;switch(ne){case 3:return K.setRootDoc(j[Z]),j[Z];break;case 4:this.$=[];break;case 5:j[Z]!="nl"&&(j[Z-1].push(j[Z]),this.$=j[Z-1]);break;case 6:case 7:this.$=j[Z];break;case 8:this.$="nl";break;case 12:this.$=j[Z];break;case 13:let te=j[Z-1];te.description=K.trimColon(j[Z]),this.$=te;break;case 14:this.$={stmt:"relation",state1:j[Z-2],state2:j[Z]};break;case 15:let re=K.trimColon(j[Z]);this.$={stmt:"relation",state1:j[Z-3],state2:j[Z-1],description:re};break;case 19:this.$={stmt:"state",id:j[Z-3],type:"default",description:"",doc:j[Z-1]};break;case 20:var ce=j[Z],Q=j[Z-2].trim();if(j[Z].match(":")){var ee=j[Z].split(":");ce=ee[0],Q=[Q,ee[1]]}this.$={stmt:"state",id:ce,type:"default",description:Q};break;case 21:this.$={stmt:"state",id:j[Z-3],type:"default",description:j[Z-5],doc:j[Z-1]};break;case 22:this.$={stmt:"state",id:j[Z],type:"fork"};break;case 23:this.$={stmt:"state",id:j[Z],type:"join"};break;case 24:this.$={stmt:"state",id:j[Z],type:"choice"};break;case 25:this.$={stmt:"state",id:K.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:j[Z-1].trim(),note:{position:j[Z-2].trim(),text:j[Z].trim()}};break;case 29:this.$=j[Z].trim(),K.setAccTitle(this.$);break;case 30:case 31:this.$=j[Z].trim(),K.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:j[Z-3],url:j[Z-2],tooltip:j[Z-1]};break;case 33:this.$={stmt:"click",id:j[Z-3],url:j[Z-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:j[Z-1].trim(),classes:j[Z].trim()};break;case 36:this.$={stmt:"style",id:j[Z-1].trim(),styleClass:j[Z].trim()};break;case 37:this.$={stmt:"applyClass",id:j[Z-1].trim(),styleClass:j[Z].trim()};break;case 38:K.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:K.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:K.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:K.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:j[Z].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:j[Z-2].trim(),classes:[j[Z].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:j[Z-2].trim(),classes:[j[Z].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:r,6:n},{1:[3]},{3:5,4:e,5:r,6:n},{3:6,4:e,5:r,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:u,19:h,22:f,24:d,25:p,26:m,27:g,28:y,29:x,32:25,33:v,35:b,37:T,38:S,41:w,45:E,48:_,51:A,52:D,53:O,54:R,57:k},t(L,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:l,17:u,19:h,22:f,24:d,25:p,26:m,27:g,28:y,29:x,32:25,33:v,35:b,37:T,38:S,41:w,45:E,48:_,51:A,52:D,53:O,54:R,57:k},t(L,[2,7]),t(L,[2,8]),t(L,[2,9]),t(L,[2,10]),t(L,[2,11]),t(L,[2,12],{14:[1,40],15:[1,41]}),t(L,[2,16]),{18:[1,42]},t(L,[2,18],{20:[1,43]}),{23:[1,44]},t(L,[2,22]),t(L,[2,23]),t(L,[2,24]),t(L,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(L,[2,28]),{34:[1,49]},{36:[1,50]},t(L,[2,31]),{13:51,24:d,57:k},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(C,[2,44],{58:[1,56]}),t(C,[2,45],{58:[1,57]}),t(L,[2,38]),t(L,[2,39]),t(L,[2,40]),t(L,[2,41]),t(L,[2,6]),t(L,[2,13]),{13:58,24:d,57:k},t(L,[2,17]),t(I,i,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(L,[2,29]),t(L,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(L,[2,14],{14:[1,71]}),{4:a,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:u,19:h,21:[1,72],22:f,24:d,25:p,26:m,27:g,28:y,29:x,32:25,33:v,35:b,37:T,38:S,41:w,45:E,48:_,51:A,52:D,53:O,54:R,57:k},t(L,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(L,[2,34]),t(L,[2,35]),t(L,[2,36]),t(L,[2,37]),t(C,[2,46]),t(C,[2,47]),t(L,[2,15]),t(L,[2,19]),t(I,i,{7:78}),t(L,[2,26]),t(L,[2,27]),{5:[1,79]},{5:[1,80]},{4:a,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:u,19:h,21:[1,81],22:f,24:d,25:p,26:m,27:g,28:y,29:x,32:25,33:v,35:b,37:T,38:S,41:w,45:E,48:_,51:A,52:D,53:O,54:R,57:k},t(L,[2,32]),t(L,[2,33]),t(L,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:o(function(G,$){if($.recoverable)this.trace(G);else{var U=new Error(G);throw U.hash=$,U}},"parseError"),parse:o(function(G){var $=this,U=[0],K=[],ne=[null],j=[],le=this.table,Z="",ce=0,Q=0,ee=0,te=2,re=1,he=j.slice.call(arguments,1),J=Object.create(this.lexer),ye={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(ye.yy[se]=this.yy[se]);J.setInput(G,ye.yy),ye.yy.lexer=J,ye.yy.parser=this,typeof J.yylloc>"u"&&(J.yylloc={});var Se=J.yylloc;j.push(Se);var W=J.options&&J.options.ranges;typeof ye.yy.parseError=="function"?this.parseError=ye.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Oe(Y){U.length=U.length-2*Y,ne.length=ne.length-Y,j.length=j.length-Y}o(Oe,"popStack");function ve(){var Y;return Y=K.pop()||J.lex()||re,typeof Y!="number"&&(Y instanceof Array&&(K=Y,Y=K.pop()),Y=$.symbols_[Y]||Y),Y}o(ve,"lex");for(var Pe,qe,Ge,Ne,Me,be,q={},fe,ae,oe,V;;){if(Ge=U[U.length-1],this.defaultActions[Ge]?Ne=this.defaultActions[Ge]:((Pe===null||typeof Pe>"u")&&(Pe=ve()),Ne=le[Ge]&&le[Ge][Pe]),typeof Ne>"u"||!Ne.length||!Ne[0]){var xe="";V=[];for(fe in le[Ge])this.terminals_[fe]&&fe>te&&V.push("'"+this.terminals_[fe]+"'");J.showPosition?xe="Parse error on line "+(ce+1)+`: +`+J.showPosition()+` +Expecting `+V.join(", ")+", got '"+(this.terminals_[Pe]||Pe)+"'":xe="Parse error on line "+(ce+1)+": Unexpected "+(Pe==re?"end of input":"'"+(this.terminals_[Pe]||Pe)+"'"),this.parseError(xe,{text:J.match,token:this.terminals_[Pe]||Pe,line:J.yylineno,loc:Se,expected:V})}if(Ne[0]instanceof Array&&Ne.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ge+", token: "+Pe);switch(Ne[0]){case 1:U.push(Pe),ne.push(J.yytext),j.push(J.yylloc),U.push(Ne[1]),Pe=null,qe?(Pe=qe,qe=null):(Q=J.yyleng,Z=J.yytext,ce=J.yylineno,Se=J.yylloc,ee>0&&ee--);break;case 2:if(ae=this.productions_[Ne[1]][1],q.$=ne[ne.length-ae],q._$={first_line:j[j.length-(ae||1)].first_line,last_line:j[j.length-1].last_line,first_column:j[j.length-(ae||1)].first_column,last_column:j[j.length-1].last_column},W&&(q._$.range=[j[j.length-(ae||1)].range[0],j[j.length-1].range[1]]),be=this.performAction.apply(q,[Z,Q,ce,ye.yy,Ne[1],ne,j].concat(he)),typeof be<"u")return be;ae&&(U=U.slice(0,-1*ae*2),ne=ne.slice(0,-1*ae),j=j.slice(0,-1*ae)),U.push(this.productions_[Ne[1]][0]),ne.push(q.$),j.push(q._$),oe=le[U[U.length-2]][U[U.length-1]],U.push(oe);break;case 3:return!0}}return!0},"parse")},P=function(){var F={EOF:1,parseError:o(function($,U){if(this.yy.parser)this.yy.parser.parseError($,U);else throw new Error($)},"parseError"),setInput:o(function(G,$){return this.yy=$||this.yy||{},this._input=G,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var G=this._input[0];this.yytext+=G,this.yyleng++,this.offset++,this.match+=G,this.matched+=G;var $=G.match(/(?:\r\n?|\n).*/g);return $?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),G},"input"),unput:o(function(G){var $=G.length,U=G.split(/(?:\r\n?|\n)/g);this._input=G+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-$),this.offset-=$;var K=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),U.length-1&&(this.yylineno-=U.length-1);var ne=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:U?(U.length===K.length?this.yylloc.first_column:0)+K[K.length-U.length].length-U[0].length:this.yylloc.first_column-$},this.options.ranges&&(this.yylloc.range=[ne[0],ne[0]+this.yyleng-$]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(G){this.unput(this.match.slice(G))},"less"),pastInput:o(function(){var G=this.matched.substr(0,this.matched.length-this.match.length);return(G.length>20?"...":"")+G.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var G=this.match;return G.length<20&&(G+=this._input.substr(0,20-G.length)),(G.substr(0,20)+(G.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var G=this.pastInput(),$=new Array(G.length+1).join("-");return G+this.upcomingInput()+` +`+$+"^"},"showPosition"),test_match:o(function(G,$){var U,K,ne;if(this.options.backtrack_lexer&&(ne={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ne.yylloc.range=this.yylloc.range.slice(0))),K=G[0].match(/(?:\r\n?|\n).*/g),K&&(this.yylineno+=K.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:K?K[K.length-1].length-K[K.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+G[0].length},this.yytext+=G[0],this.match+=G[0],this.matches=G,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(G[0].length),this.matched+=G[0],U=this.performAction.call(this,this.yy,this,$,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),U)return U;if(this._backtrack){for(var j in ne)this[j]=ne[j];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var G,$,U,K;this._more||(this.yytext="",this.match="");for(var ne=this._currentRules(),j=0;j$[0].length)){if($=U,K=j,this.options.backtrack_lexer){if(G=this.test_match(U,ne[j]),G!==!1)return G;if(this._backtrack){$=!1;continue}else return!1}else if(!this.options.flex)break}return $?(G=this.test_match($,ne[K]),G!==!1?G:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var $=this.next();return $||this.lex()},"lex"),begin:o(function($){this.conditionStack.push($)},"begin"),popState:o(function(){var $=this.conditionStack.length-1;return $>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function($){return $=this.conditionStack.length-1-Math.abs($||0),$>=0?this.conditionStack[$]:"INITIAL"},"topState"),pushState:o(function($){this.begin($)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function($,U,K,ne){var j=ne;switch(K){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:break;case 9:break;case 10:return 5;case 11:break;case 12:break;case 13:break;case 14:break;case 15:return this.pushState("SCALE"),17;break;case 16:return 18;case 17:this.popState();break;case 18:return this.begin("acc_title"),33;break;case 19:return this.popState(),"acc_title_value";break;case 20:return this.begin("acc_descr"),35;break;case 21:return this.popState(),"acc_descr_value";break;case 22:this.begin("acc_descr_multiline");break;case 23:this.popState();break;case 24:return"acc_descr_multiline_value";case 25:return this.pushState("CLASSDEF"),41;break;case 26:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 27:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 28:return this.popState(),43;break;case 29:return this.pushState("CLASS"),48;break;case 30:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 31:return this.popState(),50;break;case 32:return this.pushState("STYLE"),45;break;case 33:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 34:return this.popState(),47;break;case 35:return this.pushState("SCALE"),17;break;case 36:return 18;case 37:this.popState();break;case 38:this.pushState("STATE");break;case 39:return this.popState(),U.yytext=U.yytext.slice(0,-8).trim(),25;break;case 40:return this.popState(),U.yytext=U.yytext.slice(0,-8).trim(),26;break;case 41:return this.popState(),U.yytext=U.yytext.slice(0,-10).trim(),27;break;case 42:return this.popState(),U.yytext=U.yytext.slice(0,-8).trim(),25;break;case 43:return this.popState(),U.yytext=U.yytext.slice(0,-8).trim(),26;break;case 44:return this.popState(),U.yytext=U.yytext.slice(0,-10).trim(),27;break;case 45:return 51;case 46:return 52;case 47:return 53;case 48:return 54;case 49:this.pushState("STATE_STRING");break;case 50:return this.pushState("STATE_ID"),"AS";break;case 51:return this.popState(),"ID";break;case 52:this.popState();break;case 53:return"STATE_DESCR";case 54:return 19;case 55:this.popState();break;case 56:return this.popState(),this.pushState("struct"),20;break;case 57:break;case 58:return this.popState(),21;break;case 59:break;case 60:return this.begin("NOTE"),29;break;case 61:return this.popState(),this.pushState("NOTE_ID"),59;break;case 62:return this.popState(),this.pushState("NOTE_ID"),60;break;case 63:this.popState(),this.pushState("FLOATING_NOTE");break;case 64:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 65:break;case 66:return"NOTE_TEXT";case 67:return this.popState(),"ID";break;case 68:return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 69:return this.popState(),U.yytext=U.yytext.substr(2).trim(),31;break;case 70:return this.popState(),U.yytext=U.yytext.slice(0,-8).trim(),31;break;case 71:return 6;case 72:return 6;case 73:return 16;case 74:return 57;case 75:return 24;case 76:return U.yytext=U.yytext.trim(),14;break;case 77:return 15;case 78:return 28;case 79:return 58;case 80:return 5;case 81:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[12,13],inclusive:!1},struct:{rules:[12,13,25,29,32,38,45,46,47,48,57,58,59,60,74,75,76,77,78],inclusive:!1},FLOATING_NOTE_ID:{rules:[67],inclusive:!1},FLOATING_NOTE:{rules:[64,65,66],inclusive:!1},NOTE_TEXT:{rules:[69,70],inclusive:!1},NOTE_ID:{rules:[68],inclusive:!1},NOTE:{rules:[61,62,63],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[34],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[33],inclusive:!1},CLASS_STYLE:{rules:[31],inclusive:!1},CLASS:{rules:[30],inclusive:!1},CLASSDEFID:{rules:[28],inclusive:!1},CLASSDEF:{rules:[26,27],inclusive:!1},acc_descr_multiline:{rules:[23,24],inclusive:!1},acc_descr:{rules:[21],inclusive:!1},acc_title:{rules:[19],inclusive:!1},SCALE:{rules:[16,17,36,37],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[51],inclusive:!1},STATE_STRING:{rules:[52,53],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[12,13,39,40,41,42,43,44,49,50,54,55,56],inclusive:!1},ID:{rules:[12,13],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,18,20,22,25,29,32,35,38,56,60,71,72,73,74,75,76,77,79,80,81],inclusive:!0}}};return F}();M.lexer=P;function B(){this.yy={}}return o(B,"Parser"),B.prototype=M,M.Parser=B,new B}();GB.parser=GB;rC=GB});var Oge,nC,VB,qf,s0,E4,Pge,Bge,Fge,o0,iC,UB,HB,WB,qB,YB,aC,sC,$ge,Gge,XB,jB,zge,Vge,ay,XZe,Uge,KB,jZe,KZe,Hge,Wge,QZe,qge,ZZe,Yge,QB,ZB,Xge,oC,jge,JB,lC=N(()=>{"use strict";Oge="TB",nC="TB",VB="dir",qf="state",s0="root",E4="relation",Pge="classDef",Bge="style",Fge="applyClass",o0="default",iC="divider",UB="fill:none",HB="fill: #333",WB="c",qB="text",YB="normal",aC="rect",sC="rectWithTitle",$ge="stateStart",Gge="stateEnd",XB="divider",jB="roundedWithTitle",zge="note",Vge="noteGroup",ay="statediagram",XZe="state",Uge=`${ay}-${XZe}`,KB="transition",jZe="note",KZe="note-edge",Hge=`${KB} ${KZe}`,Wge=`${ay}-${jZe}`,QZe="cluster",qge=`${ay}-${QZe}`,ZZe="cluster-alt",Yge=`${ay}-${ZZe}`,QB="parent",ZB="note",Xge="state",oC="----",jge=`${oC}${ZB}`,JB=`${oC}${QB}`});function eF(t="",e=0,r="",n=oC){let i=r!==null&&r.length>0?`${n}${r}`:"";return`${Xge}-${t}${i}-${e}`}function cC(t,e,r){if(!e.id||e.id===""||e.id==="")return;e.cssClasses&&(Array.isArray(e.cssCompiledStyles)||(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(i=>{let a=r.get(i);a&&(e.cssCompiledStyles=[...e.cssCompiledStyles??[],...a.styles])}));let n=t.find(i=>i.id===e.id);n?Object.assign(n,e):t.push(e)}function eJe(t){return t?.classes?.join(" ")??""}function tJe(t){return t?.styles??[]}var uC,Yf,JZe,Kge,sy,Qge,Zge=N(()=>{"use strict";Xt();pt();dr();lC();uC=new Map,Yf=0;o(eF,"stateDomId");JZe=o((t,e,r,n,i,a,s,l)=>{X.trace("items",e),e.forEach(u=>{switch(u.stmt){case qf:sy(t,u,r,n,i,a,s,l);break;case o0:sy(t,u,r,n,i,a,s,l);break;case E4:{sy(t,u.state1,r,n,i,a,s,l),sy(t,u.state2,r,n,i,a,s,l);let h={id:"edge"+Yf,start:u.state1.id,end:u.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:UB,labelStyle:"",label:Je.sanitizeText(u.description??"",ge()),arrowheadStyle:HB,labelpos:WB,labelType:qB,thickness:YB,classes:KB,look:s};i.push(h),Yf++}break}})},"setupDoc"),Kge=o((t,e=nC)=>{let r=e;if(t.doc)for(let n of t.doc)n.stmt==="dir"&&(r=n.value);return r},"getDir");o(cC,"insertOrUpdateNode");o(eJe,"getClassesFromDbInfo");o(tJe,"getStylesFromDbInfo");sy=o((t,e,r,n,i,a,s,l)=>{let u=e.id,h=r.get(u),f=eJe(h),d=tJe(h),p=ge();if(X.info("dataFetcher parsedItem",e,h,d),u!=="root"){let m=aC;e.start===!0?m=$ge:e.start===!1&&(m=Gge),e.type!==o0&&(m=e.type),uC.get(u)||uC.set(u,{id:u,shape:m,description:Je.sanitizeText(u,p),cssClasses:`${f} ${Uge}`,cssStyles:d});let g=uC.get(u);e.description&&(Array.isArray(g.description)?(g.shape=sC,g.description.push(e.description)):g.description?.length&&g.description.length>0?(g.shape=sC,g.description===u?g.description=[e.description]:g.description=[g.description,e.description]):(g.shape=aC,g.description=e.description),g.description=Je.sanitizeTextOrArray(g.description,p)),g.description?.length===1&&g.shape===sC&&(g.type==="group"?g.shape=jB:g.shape=aC),!g.type&&e.doc&&(X.info("Setting cluster for XCX",u,Kge(e)),g.type="group",g.isGroup=!0,g.dir=Kge(e),g.shape=e.type===iC?XB:jB,g.cssClasses=`${g.cssClasses} ${qge} ${a?Yge:""}`);let y={labelStyle:"",shape:g.shape,label:g.description,cssClasses:g.cssClasses,cssCompiledStyles:[],cssStyles:g.cssStyles,id:u,dir:g.dir,domId:eF(u,Yf),type:g.type,isGroup:g.type==="group",padding:8,rx:10,ry:10,look:s};if(y.shape===XB&&(y.label=""),t&&t.id!=="root"&&(X.trace("Setting node ",u," to be child of its parent ",t.id),y.parentId=t.id),y.centerLabel=!0,e.note){let x={labelStyle:"",shape:zge,label:e.note.text,cssClasses:Wge,cssStyles:[],cssCompiledStyles:[],id:u+jge+"-"+Yf,domId:eF(u,Yf,ZB),type:g.type,isGroup:g.type==="group",padding:p.flowchart?.padding,look:s,position:e.note.position},v=u+JB,b={labelStyle:"",shape:Vge,label:e.note.text,cssClasses:g.cssClasses,cssStyles:[],id:u+JB,domId:eF(u,Yf,QB),type:"group",isGroup:!0,padding:16,look:s,position:e.note.position};Yf++,b.id=v,x.parentId=v,cC(n,b,l),cC(n,x,l),cC(n,y,l);let T=u,S=x.id;e.note.position==="left of"&&(T=x.id,S=u),i.push({id:T+"-"+S,start:T,end:S,arrowhead:"none",arrowTypeEnd:"",style:UB,labelStyle:"",classes:Hge,arrowheadStyle:HB,labelpos:WB,labelType:qB,thickness:YB,look:s})}else cC(n,y,l)}e.doc&&(X.trace("Adding nodes children "),JZe(e,e.doc,r,n,i,!a,s,l))},"dataFetcher"),Qge=o(()=>{uC.clear(),Yf=0},"reset")});var tF,rJe,nJe,Jge,rF=N(()=>{"use strict";Xt();pt();Kd();Af();_f();tr();lC();tF=o((t,e=nC)=>{if(!t.doc)return e;let r=e;for(let n of t.doc)n.stmt==="dir"&&(r=n.value);return r},"getDir"),rJe=o(function(t,e){return e.db.getClasses()},"getClasses"),nJe=o(async function(t,e,r,n){X.info("REF0:"),X.info("Drawing state diagram (v2)",e);let{securityLevel:i,state:a,layout:s}=ge();n.db.extract(n.db.getRootDocV2());let l=n.db.getData(),u=zo(e,i);l.type=n.type,l.layoutAlgorithm=s,l.nodeSpacing=a?.nodeSpacing||50,l.rankSpacing=a?.rankSpacing||50,l.markers=["barb"],l.diagramId=e,await Qo(l,u);let h=8;try{(typeof n.db.getLinks=="function"?n.db.getLinks():new Map).forEach((d,p)=>{let m=typeof p=="string"?p:typeof p?.id=="string"?p.id:"";if(!m){X.warn("\u26A0\uFE0F Invalid or missing stateId from key:",JSON.stringify(p));return}let g=u.node()?.querySelectorAll("g"),y;if(g?.forEach(T=>{T.textContent?.trim()===m&&(y=T)}),!y){X.warn("\u26A0\uFE0F Could not find node matching text:",m);return}let x=y.parentNode;if(!x){X.warn("\u26A0\uFE0F Node has no parent, cannot wrap:",m);return}let v=document.createElementNS("http://www.w3.org/2000/svg","a"),b=d.url.replace(/^"+|"+$/g,"");if(v.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",b),v.setAttribute("target","_blank"),d.tooltip){let T=d.tooltip.replace(/^"+|"+$/g,"");v.setAttribute("title",T)}x.replaceChild(v,y),v.appendChild(y),X.info("\u{1F517} Wrapped node in tag for:",m,d.url)})}catch(f){X.error("\u274C Error injecting clickable links:",f)}Ht.insertTitle(u,"statediagramTitleText",a?.titleTopMargin??25,n.db.getDiagramTitle()),Hs(u,h,ay,a?.useMaxWidth??!0)},"draw"),Jge={getClasses:rJe,draw:nJe,getDir:tF}});var Ts,e1e,t1e,hC,al,fC=N(()=>{"use strict";Xt();pt();tr();dr();ui();Zge();rF();lC();Ts={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},e1e=o(()=>new Map,"newClassesList"),t1e=o(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),hC=o(t=>JSON.parse(JSON.stringify(t)),"clone"),al=class{constructor(e){this.version=e;this.nodes=[];this.edges=[];this.rootDoc=[];this.classes=e1e();this.documents={root:t1e()};this.currentDocument=this.documents.root;this.startEndCount=0;this.dividerCnt=0;this.links=new Map;this.getAccTitle=_r;this.setAccTitle=Cr;this.getAccDescription=Lr;this.setAccDescription=Dr;this.setDiagramTitle=Or;this.getDiagramTitle=Rr;this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this)}static{o(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let i of Array.isArray(e)?e:e.doc)switch(i.stmt){case qf:this.addState(i.id.trim(),i.type,i.doc,i.description,i.note);break;case E4:this.addRelation(i.state1,i.state2,i.description);break;case Pge:this.addStyleClass(i.id.trim(),i.classes);break;case Bge:this.handleStyleDef(i);break;case Fge:this.setCssClass(i.id.trim(),i.styleClass);break;case"click":this.addLink(i.id,i.url,i.tooltip);break}let r=this.getStates(),n=ge();Qge(),sy(void 0,this.getRootDocV2(),r,this.nodes,this.edges,!0,n.look,this.classes);for(let i of this.nodes)if(Array.isArray(i.label)){if(i.description=i.label.slice(1),i.isGroup&&i.description.length>0)throw new Error(`Group nodes can only have label. Remove the additional description for node [${i.id}]`);i.label=i.label[0]}}handleStyleDef(e){let r=e.id.trim().split(","),n=e.styleClass.split(",");for(let i of r){let a=this.getState(i);if(!a){let s=i.trim();this.addState(s),a=this.getState(s)}a&&(a.styles=n.map(s=>s.replace(/;/g,"")?.trim()))}}setRootDoc(e){X.info("Setting root doc",e),this.rootDoc=e,this.version===1?this.extract(e):this.extract(this.getRootDocV2())}docTranslator(e,r,n){if(r.stmt===E4){this.docTranslator(e,r.state1,!0),this.docTranslator(e,r.state2,!1);return}if(r.stmt===qf&&(r.id===Ts.START_NODE?(r.id=e.id+(n?"_start":"_end"),r.start=n):r.id=r.id.trim()),r.stmt!==s0&&r.stmt!==qf||!r.doc)return;let i=[],a=[];for(let s of r.doc)if(s.type===iC){let l=hC(s);l.doc=hC(a),i.push(l),a=[]}else a.push(s);if(i.length>0&&a.length>0){let s={stmt:qf,id:OL(),type:"divider",doc:hC(a)};i.push(hC(s)),r.doc=i}r.doc.forEach(s=>this.docTranslator(r,s,!0))}getRootDocV2(){return this.docTranslator({id:s0,stmt:s0},{id:s0,stmt:s0,doc:this.rootDoc},!0),{id:s0,doc:this.rootDoc}}addState(e,r=o0,n=void 0,i=void 0,a=void 0,s=void 0,l=void 0,u=void 0){let h=e?.trim();if(!this.currentDocument.states.has(h))X.info("Adding state ",h,i),this.currentDocument.states.set(h,{stmt:qf,id:h,descriptions:[],type:r,doc:n,note:a,classes:[],styles:[],textStyles:[]});else{let f=this.currentDocument.states.get(h);if(!f)throw new Error(`State not found: ${h}`);f.doc||(f.doc=n),f.type||(f.type=r)}if(i&&(X.info("Setting state description",h,i),(Array.isArray(i)?i:[i]).forEach(d=>this.addDescription(h,d.trim()))),a){let f=this.currentDocument.states.get(h);if(!f)throw new Error(`State not found: ${h}`);f.note=a,f.note.text=Je.sanitizeText(f.note.text,ge())}s&&(X.info("Setting state classes",h,s),(Array.isArray(s)?s:[s]).forEach(d=>this.setCssClass(h,d.trim()))),l&&(X.info("Setting state styles",h,l),(Array.isArray(l)?l:[l]).forEach(d=>this.setStyle(h,d.trim()))),u&&(X.info("Setting state styles",h,l),(Array.isArray(u)?u:[u]).forEach(d=>this.setTextStyle(h,d.trim())))}clear(e){this.nodes=[],this.edges=[],this.documents={root:t1e()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=e1e(),e||(this.links=new Map,wr())}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){X.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,r,n){this.links.set(e,{url:r,tooltip:n}),X.warn("Adding link",e,r,n)}getLinks(){return this.links}startIdIfNeeded(e=""){return e===Ts.START_NODE?(this.startEndCount++,`${Ts.START_TYPE}${this.startEndCount}`):e}startTypeIfNeeded(e="",r=o0){return e===Ts.START_NODE?Ts.START_TYPE:r}endIdIfNeeded(e=""){return e===Ts.END_NODE?(this.startEndCount++,`${Ts.END_TYPE}${this.startEndCount}`):e}endTypeIfNeeded(e="",r=o0){return e===Ts.END_NODE?Ts.END_TYPE:r}addRelationObjs(e,r,n=""){let i=this.startIdIfNeeded(e.id.trim()),a=this.startTypeIfNeeded(e.id.trim(),e.type),s=this.startIdIfNeeded(r.id.trim()),l=this.startTypeIfNeeded(r.id.trim(),r.type);this.addState(i,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(s,l,r.doc,r.description,r.note,r.classes,r.styles,r.textStyles),this.currentDocument.relations.push({id1:i,id2:s,relationTitle:Je.sanitizeText(n,ge())})}addRelation(e,r,n){if(typeof e=="object"&&typeof r=="object")this.addRelationObjs(e,r,n);else if(typeof e=="string"&&typeof r=="string"){let i=this.startIdIfNeeded(e.trim()),a=this.startTypeIfNeeded(e),s=this.endIdIfNeeded(r.trim()),l=this.endTypeIfNeeded(r);this.addState(i,a),this.addState(s,l),this.currentDocument.relations.push({id1:i,id2:s,relationTitle:n?Je.sanitizeText(n,ge()):void 0})}}addDescription(e,r){let n=this.currentDocument.states.get(e),i=r.startsWith(":")?r.replace(":","").trim():r;n?.descriptions?.push(Je.sanitizeText(i,ge()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,r=""){this.classes.has(e)||this.classes.set(e,{id:e,styles:[],textStyles:[]});let n=this.classes.get(e);r&&n&&r.split(Ts.STYLECLASS_SEP).forEach(i=>{let a=i.replace(/([^;]*);/,"$1").trim();if(RegExp(Ts.COLOR_KEYWORD).exec(i)){let l=a.replace(Ts.FILL_KEYWORD,Ts.BG_FILL).replace(Ts.COLOR_KEYWORD,Ts.FILL_KEYWORD);n.textStyles.push(l)}n.styles.push(a)})}getClasses(){return this.classes}setCssClass(e,r){e.split(",").forEach(n=>{let i=this.getState(n);if(!i){let a=n.trim();this.addState(a),i=this.getState(a)}i?.classes?.push(r)})}setStyle(e,r){this.getState(e)?.styles?.push(r)}setTextStyle(e,r){this.getState(e)?.textStyles?.push(r)}getDirectionStatement(){return this.rootDoc.find(e=>e.stmt===VB)}getDirection(){return this.getDirectionStatement()?.value??Oge}setDirection(e){let r=this.getDirectionStatement();r?r.value=e:this.rootDoc.unshift({stmt:VB,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=ge();return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:tF(this.getRootDocV2())}}getConfig(){return ge().state}}});var iJe,dC,nF=N(()=>{"use strict";iJe=o(t=>` defs #statediagram-barbEnd { fill: ${t.transitionColor}; stroke: ${t.transitionColor}; @@ -1767,12 +2036,12 @@ g.stateGroup line { font-size: 18px; fill: ${t.textColor}; } -`,"getStyles"),o6=GHe});var VHe,UHe,HHe,WHe,Ape,qHe,YHe,XHe,jHe,GP,Cpe,_pe,Dpe=N(()=>{"use strict";pr();s6();nr();dr();qt();yt();VHe=o(t=>t.append("circle").attr("class","start-state").attr("r",ge().state.sizeUnit).attr("cx",ge().state.padding+ge().state.sizeUnit).attr("cy",ge().state.padding+ge().state.sizeUnit),"drawStartState"),UHe=o(t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",ge().state.textHeight).attr("class","divider").attr("x2",ge().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),HHe=o((t,e)=>{let r=t.append("text").attr("x",2*ge().state.padding).attr("y",ge().state.textHeight+2*ge().state.padding).attr("font-size",ge().state.fontSize).attr("class","state-title").text(e.id),n=r.node().getBBox();return t.insert("rect",":first-child").attr("x",ge().state.padding).attr("y",ge().state.padding).attr("width",n.width+2*ge().state.padding).attr("height",n.height+2*ge().state.padding).attr("rx",ge().state.radius),r},"drawSimpleState"),WHe=o((t,e)=>{let r=o(function(p,m,g){let y=p.append("tspan").attr("x",2*ge().state.padding).text(m);g||y.attr("dy",ge().state.textHeight)},"addTspan"),i=t.append("text").attr("x",2*ge().state.padding).attr("y",ge().state.textHeight+1.3*ge().state.padding).attr("font-size",ge().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),a=i.height,s=t.append("text").attr("x",ge().state.padding).attr("y",a+ge().state.padding*.4+ge().state.dividerMargin+ge().state.textHeight).attr("class","state-description"),l=!0,u=!0;e.descriptions.forEach(function(p){l||(r(s,p,u),u=!1),l=!1});let h=t.append("line").attr("x1",ge().state.padding).attr("y1",ge().state.padding+a+ge().state.dividerMargin/2).attr("y2",ge().state.padding+a+ge().state.dividerMargin/2).attr("class","descr-divider"),f=s.node().getBBox(),d=Math.max(f.width,i.width);return h.attr("x2",d+3*ge().state.padding),t.insert("rect",":first-child").attr("x",ge().state.padding).attr("y",ge().state.padding).attr("width",d+2*ge().state.padding).attr("height",f.height+a+2*ge().state.padding).attr("rx",ge().state.radius),t},"drawDescrState"),Ape=o((t,e,r)=>{let n=ge().state.padding,i=2*ge().state.padding,a=t.node().getBBox(),s=a.width,l=a.x,u=t.append("text").attr("x",0).attr("y",ge().state.titleShift).attr("font-size",ge().state.fontSize).attr("class","state-title").text(e.id),f=u.node().getBBox().width+i,d=Math.max(f,s);d===s&&(d=d+i);let p,m=t.node().getBBox();e.doc,p=l-n,f>s&&(p=(s-d)/2+n),Math.abs(l-m.x)s&&(p=l-(f-s)/2);let g=1-ge().state.textHeight;return t.insert("rect",":first-child").attr("x",p).attr("y",g).attr("class",r?"alt-composit":"composit").attr("width",d).attr("height",m.height+ge().state.textHeight+ge().state.titleShift+1).attr("rx","0"),u.attr("x",p+n),f<=s&&u.attr("x",l+(d-i)/2-f/2+n),t.insert("rect",":first-child").attr("x",p).attr("y",ge().state.titleShift-ge().state.textHeight-ge().state.padding).attr("width",d).attr("height",ge().state.textHeight*3).attr("rx",ge().state.radius),t.insert("rect",":first-child").attr("x",p).attr("y",ge().state.titleShift-ge().state.textHeight-ge().state.padding).attr("width",d).attr("height",m.height+3+2*ge().state.textHeight).attr("rx",ge().state.radius),t},"addTitleAndBox"),qHe=o(t=>(t.append("circle").attr("class","end-state-outer").attr("r",ge().state.sizeUnit+ge().state.miniPadding).attr("cx",ge().state.padding+ge().state.sizeUnit+ge().state.miniPadding).attr("cy",ge().state.padding+ge().state.sizeUnit+ge().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",ge().state.sizeUnit).attr("cx",ge().state.padding+ge().state.sizeUnit+2).attr("cy",ge().state.padding+ge().state.sizeUnit+2)),"drawEndState"),YHe=o((t,e)=>{let r=ge().state.forkWidth,n=ge().state.forkHeight;if(e.parentId){let i=r;r=n,n=i}return t.append("rect").style("stroke","black").style("fill","black").attr("width",r).attr("height",n).attr("x",ge().state.padding).attr("y",ge().state.padding)},"drawForkJoinState"),XHe=o((t,e,r,n)=>{let i=0,a=n.append("text");a.style("text-anchor","start"),a.attr("class","noteText");let s=t.replace(/\r\n/g,"
    ");s=s.replace(/\n/g,"
    ");let l=s.split(Ze.lineBreakRegex),u=1.25*ge().state.noteMargin;for(let h of l){let f=h.trim();if(f.length>0){let d=a.append("tspan");if(d.text(f),u===0){let p=d.node().getBBox();u+=p.height}i+=u,d.attr("x",e+ge().state.noteMargin),d.attr("y",r+i+1.25*ge().state.noteMargin)}}return{textWidth:a.node().getBBox().width,textHeight:i}},"_drawLongText"),jHe=o((t,e)=>{e.attr("class","state-note");let r=e.append("rect").attr("x",0).attr("y",ge().state.padding),n=e.append("g"),{textWidth:i,textHeight:a}=XHe(t,0,0,n);return r.attr("height",a+2*ge().state.noteMargin),r.attr("width",i+ge().state.noteMargin*2),r},"drawNote"),GP=o(function(t,e){let r=e.id,n={id:r,label:e.id,width:0,height:0},i=t.append("g").attr("id",r).attr("class","stateGroup");e.type==="start"&&VHe(i),e.type==="end"&&qHe(i),(e.type==="fork"||e.type==="join")&&YHe(i,e),e.type==="note"&&jHe(e.note.text,i),e.type==="divider"&&UHe(i),e.type==="default"&&e.descriptions.length===0&&HHe(i,e),e.type==="default"&&e.descriptions.length>0&&WHe(i,e);let a=i.node().getBBox();return n.width=a.width+2*ge().state.padding,n.height=a.height+2*ge().state.padding,n},"drawState"),Cpe=0,_pe=o(function(t,e,r){let n=o(function(u){switch(u){case Jo.relationType.AGGREGATION:return"aggregation";case Jo.relationType.EXTENSION:return"extension";case Jo.relationType.COMPOSITION:return"composition";case Jo.relationType.DEPENDENCY:return"dependency"}},"getRelationType");e.points=e.points.filter(u=>!Number.isNaN(u.y));let i=e.points,a=El().x(function(u){return u.x}).y(function(u){return u.y}).curve(Lo),s=t.append("path").attr("d",a(i)).attr("id","edge"+Cpe).attr("class","transition"),l="";if(ge().state.arrowMarkerAbsolute&&(l=fu(!0)),s.attr("marker-end","url("+l+"#"+n(Jo.relationType.DEPENDENCY)+"End)"),r.title!==void 0){let u=t.append("g").attr("class","stateLabel"),{x:h,y:f}=Vt.calcLabelPosition(e.points),d=Ze.getRows(r.title),p=0,m=[],g=0,y=0;for(let b=0;b<=d.length;b++){let T=u.append("text").attr("text-anchor","middle").text(d[b]).attr("x",h).attr("y",f+p),C=T.node().getBBox();g=Math.max(g,C.width),y=Math.min(y,C.x),X.info(C.x,h,f+p),p===0&&(p=T.node().getBBox().height,X.info("Title height",p,f)),m.push(T)}let v=p*d.length;if(d.length>1){let b=(d.length-1)*p*.5;m.forEach((T,C)=>T.attr("y",f+C*p-b)),v=p*d.length}let x=u.node().getBBox();u.insert("rect",":first-child").attr("class","box").attr("x",h-g/2-ge().state.padding/2).attr("y",f-v/2-ge().state.padding/2-3.5).attr("width",g+ge().state.padding).attr("height",v+ge().state.padding),X.info(x)}Cpe++},"drawEdge")});var po,VP,KHe,QHe,ZHe,JHe,Lpe,Rpe,Npe=N(()=>{"use strict";pr();KR();Uo();yt();dr();Dpe();qt();yi();VP={},KHe=o(function(){},"setConf"),QHe=o(function(t){t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),ZHe=o(function(t,e,r,n){po=ge().state;let i=ge().securityLevel,a;i==="sandbox"&&(a=Ge("#i"+e));let s=i==="sandbox"?Ge(a.nodes()[0].contentDocument.body):Ge("body"),l=i==="sandbox"?a.nodes()[0].contentDocument:document;X.debug("Rendering diagram "+t);let u=s.select(`[id='${e}']`);QHe(u);let h=n.db.getRootDoc();Lpe(h,u,void 0,!1,s,l,n);let f=po.padding,d=u.node().getBBox(),p=d.width+f*2,m=d.height+f*2,g=p*1.75;hn(u,m,g,po.useMaxWidth),u.attr("viewBox",`${d.x-po.padding} ${d.y-po.padding} `+p+" "+m)},"draw"),JHe=o(t=>t?t.length*po.fontSizeFactor:1,"getLabelWidth"),Lpe=o((t,e,r,n,i,a,s)=>{let l=new an({compound:!0,multigraph:!0}),u,h=!0;for(u=0;u{let w=C.parentElement,E=0,_=0;w&&(w.parentElement&&(E=w.parentElement.getBBox().width),_=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(_)&&(_=0)),C.setAttribute("x1",0-_+8),C.setAttribute("x2",E-_-8)})):X.debug("No Node "+b+": "+JSON.stringify(l.node(b)))});let v=y.getBBox();l.edges().forEach(function(b){b!==void 0&&l.edge(b)!==void 0&&(X.debug("Edge "+b.v+" -> "+b.w+": "+JSON.stringify(l.edge(b))),_pe(e,l.edge(b),l.edge(b).relation))}),v=y.getBBox();let x={id:r||"root",label:r||"root",width:0,height:0};return x.width=v.width+2*po.padding,x.height=v.height+2*po.padding,X.debug("Doc rendered",x,l),x},"renderDoc"),Rpe={setConf:KHe,draw:ZHe}});var Mpe={};hr(Mpe,{diagram:()=>eWe});var eWe,Ipe=N(()=>{"use strict";EP();s6();zP();Npe();eWe={parser:KS,get db(){return new Jo(1)},renderer:Rpe,styles:o6,init:o(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")}});var Bpe={};hr(Bpe,{diagram:()=>iWe});var iWe,Fpe=N(()=>{"use strict";EP();s6();zP();$P();iWe={parser:KS,get db(){return new Jo(2)},renderer:kpe,styles:o6,init:o(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")}});var UP,Gpe,Vpe=N(()=>{"use strict";UP=function(){var t=o(function(d,p,m,g){for(m=m||{},g=d.length;g--;m[d[g]]=p);return m},"o"),e=[6,8,10,11,12,14,16,17,18],r=[1,9],n=[1,10],i=[1,11],a=[1,12],s=[1,13],l=[1,14],u={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:o(function(p,m,g,y,v,x,b){var T=x.length-1;switch(v){case 1:return x[T-1];case 2:this.$=[];break;case 3:x[T-1].push(x[T]),this.$=x[T-1];break;case 4:case 5:this.$=x[T];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(x[T].substr(6)),this.$=x[T].substr(6);break;case 9:this.$=x[T].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=x[T].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(x[T].substr(8)),this.$=x[T].substr(8);break;case 13:y.addTask(x[T-1],x[T]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:r,12:n,14:i,16:a,17:s,18:l},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:r,12:n,14:i,16:a,17:s,18:l},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:o(function(p,m){if(m.recoverable)this.trace(p);else{var g=new Error(p);throw g.hash=m,g}},"parseError"),parse:o(function(p){var m=this,g=[0],y=[],v=[null],x=[],b=this.table,T="",C=0,w=0,E=0,_=2,A=1,D=x.slice.call(arguments,1),O=Object.create(this.lexer),R={yy:{}};for(var k in this.yy)Object.prototype.hasOwnProperty.call(this.yy,k)&&(R.yy[k]=this.yy[k]);O.setInput(p,R.yy),R.yy.lexer=O,R.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var L=O.yylloc;x.push(L);var S=O.options&&O.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function I(Q){g.length=g.length-2*Q,v.length=v.length-Q,x.length=x.length-Q}o(I,"popStack");function M(){var Q;return Q=y.pop()||O.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(y=Q,Q=y.pop()),Q=m.symbols_[Q]||Q),Q}o(M,"lex");for(var P,B,F,z,$,U,K={},ee,Y,ce,Z;;){if(F=g[g.length-1],this.defaultActions[F]?z=this.defaultActions[F]:((P===null||typeof P>"u")&&(P=M()),z=b[F]&&b[F][P]),typeof z>"u"||!z.length||!z[0]){var ue="";Z=[];for(ee in b[F])this.terminals_[ee]&&ee>_&&Z.push("'"+this.terminals_[ee]+"'");O.showPosition?ue="Parse error on line "+(C+1)+`: +`,"getStyles"),dC=iJe});var aJe,sJe,oJe,lJe,n1e,cJe,uJe,hJe,fJe,iF,r1e,i1e,a1e=N(()=>{"use strict";pr();fC();tr();dr();Xt();pt();aJe=o(t=>t.append("circle").attr("class","start-state").attr("r",ge().state.sizeUnit).attr("cx",ge().state.padding+ge().state.sizeUnit).attr("cy",ge().state.padding+ge().state.sizeUnit),"drawStartState"),sJe=o(t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",ge().state.textHeight).attr("class","divider").attr("x2",ge().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),oJe=o((t,e)=>{let r=t.append("text").attr("x",2*ge().state.padding).attr("y",ge().state.textHeight+2*ge().state.padding).attr("font-size",ge().state.fontSize).attr("class","state-title").text(e.id),n=r.node().getBBox();return t.insert("rect",":first-child").attr("x",ge().state.padding).attr("y",ge().state.padding).attr("width",n.width+2*ge().state.padding).attr("height",n.height+2*ge().state.padding).attr("rx",ge().state.radius),r},"drawSimpleState"),lJe=o((t,e)=>{let r=o(function(p,m,g){let y=p.append("tspan").attr("x",2*ge().state.padding).text(m);g||y.attr("dy",ge().state.textHeight)},"addTspan"),i=t.append("text").attr("x",2*ge().state.padding).attr("y",ge().state.textHeight+1.3*ge().state.padding).attr("font-size",ge().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),a=i.height,s=t.append("text").attr("x",ge().state.padding).attr("y",a+ge().state.padding*.4+ge().state.dividerMargin+ge().state.textHeight).attr("class","state-description"),l=!0,u=!0;e.descriptions.forEach(function(p){l||(r(s,p,u),u=!1),l=!1});let h=t.append("line").attr("x1",ge().state.padding).attr("y1",ge().state.padding+a+ge().state.dividerMargin/2).attr("y2",ge().state.padding+a+ge().state.dividerMargin/2).attr("class","descr-divider"),f=s.node().getBBox(),d=Math.max(f.width,i.width);return h.attr("x2",d+3*ge().state.padding),t.insert("rect",":first-child").attr("x",ge().state.padding).attr("y",ge().state.padding).attr("width",d+2*ge().state.padding).attr("height",f.height+a+2*ge().state.padding).attr("rx",ge().state.radius),t},"drawDescrState"),n1e=o((t,e,r)=>{let n=ge().state.padding,i=2*ge().state.padding,a=t.node().getBBox(),s=a.width,l=a.x,u=t.append("text").attr("x",0).attr("y",ge().state.titleShift).attr("font-size",ge().state.fontSize).attr("class","state-title").text(e.id),f=u.node().getBBox().width+i,d=Math.max(f,s);d===s&&(d=d+i);let p,m=t.node().getBBox();e.doc,p=l-n,f>s&&(p=(s-d)/2+n),Math.abs(l-m.x)s&&(p=l-(f-s)/2);let g=1-ge().state.textHeight;return t.insert("rect",":first-child").attr("x",p).attr("y",g).attr("class",r?"alt-composit":"composit").attr("width",d).attr("height",m.height+ge().state.textHeight+ge().state.titleShift+1).attr("rx","0"),u.attr("x",p+n),f<=s&&u.attr("x",l+(d-i)/2-f/2+n),t.insert("rect",":first-child").attr("x",p).attr("y",ge().state.titleShift-ge().state.textHeight-ge().state.padding).attr("width",d).attr("height",ge().state.textHeight*3).attr("rx",ge().state.radius),t.insert("rect",":first-child").attr("x",p).attr("y",ge().state.titleShift-ge().state.textHeight-ge().state.padding).attr("width",d).attr("height",m.height+3+2*ge().state.textHeight).attr("rx",ge().state.radius),t},"addTitleAndBox"),cJe=o(t=>(t.append("circle").attr("class","end-state-outer").attr("r",ge().state.sizeUnit+ge().state.miniPadding).attr("cx",ge().state.padding+ge().state.sizeUnit+ge().state.miniPadding).attr("cy",ge().state.padding+ge().state.sizeUnit+ge().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",ge().state.sizeUnit).attr("cx",ge().state.padding+ge().state.sizeUnit+2).attr("cy",ge().state.padding+ge().state.sizeUnit+2)),"drawEndState"),uJe=o((t,e)=>{let r=ge().state.forkWidth,n=ge().state.forkHeight;if(e.parentId){let i=r;r=n,n=i}return t.append("rect").style("stroke","black").style("fill","black").attr("width",r).attr("height",n).attr("x",ge().state.padding).attr("y",ge().state.padding)},"drawForkJoinState"),hJe=o((t,e,r,n)=>{let i=0,a=n.append("text");a.style("text-anchor","start"),a.attr("class","noteText");let s=t.replace(/\r\n/g,"
    ");s=s.replace(/\n/g,"
    ");let l=s.split(Je.lineBreakRegex),u=1.25*ge().state.noteMargin;for(let h of l){let f=h.trim();if(f.length>0){let d=a.append("tspan");if(d.text(f),u===0){let p=d.node().getBBox();u+=p.height}i+=u,d.attr("x",e+ge().state.noteMargin),d.attr("y",r+i+1.25*ge().state.noteMargin)}}return{textWidth:a.node().getBBox().width,textHeight:i}},"_drawLongText"),fJe=o((t,e)=>{e.attr("class","state-note");let r=e.append("rect").attr("x",0).attr("y",ge().state.padding),n=e.append("g"),{textWidth:i,textHeight:a}=hJe(t,0,0,n);return r.attr("height",a+2*ge().state.noteMargin),r.attr("width",i+ge().state.noteMargin*2),r},"drawNote"),iF=o(function(t,e){let r=e.id,n={id:r,label:e.id,width:0,height:0},i=t.append("g").attr("id",r).attr("class","stateGroup");e.type==="start"&&aJe(i),e.type==="end"&&cJe(i),(e.type==="fork"||e.type==="join")&&uJe(i,e),e.type==="note"&&fJe(e.note.text,i),e.type==="divider"&&sJe(i),e.type==="default"&&e.descriptions.length===0&&oJe(i,e),e.type==="default"&&e.descriptions.length>0&&lJe(i,e);let a=i.node().getBBox();return n.width=a.width+2*ge().state.padding,n.height=a.height+2*ge().state.padding,n},"drawState"),r1e=0,i1e=o(function(t,e,r){let n=o(function(u){switch(u){case al.relationType.AGGREGATION:return"aggregation";case al.relationType.EXTENSION:return"extension";case al.relationType.COMPOSITION:return"composition";case al.relationType.DEPENDENCY:return"dependency"}},"getRelationType");e.points=e.points.filter(u=>!Number.isNaN(u.y));let i=e.points,a=Cl().x(function(u){return u.x}).y(function(u){return u.y}).curve(Ro),s=t.append("path").attr("d",a(i)).attr("id","edge"+r1e).attr("class","transition"),l="";if(ge().state.arrowMarkerAbsolute&&(l=du(!0)),s.attr("marker-end","url("+l+"#"+n(al.relationType.DEPENDENCY)+"End)"),r.title!==void 0){let u=t.append("g").attr("class","stateLabel"),{x:h,y:f}=Ht.calcLabelPosition(e.points),d=Je.getRows(r.title),p=0,m=[],g=0,y=0;for(let b=0;b<=d.length;b++){let T=u.append("text").attr("text-anchor","middle").text(d[b]).attr("x",h).attr("y",f+p),S=T.node().getBBox();g=Math.max(g,S.width),y=Math.min(y,S.x),X.info(S.x,h,f+p),p===0&&(p=T.node().getBBox().height,X.info("Title height",p,f)),m.push(T)}let x=p*d.length;if(d.length>1){let b=(d.length-1)*p*.5;m.forEach((T,S)=>T.attr("y",f+S*p-b)),x=p*d.length}let v=u.node().getBBox();u.insert("rect",":first-child").attr("class","box").attr("x",h-g/2-ge().state.padding/2).attr("y",f-x/2-ge().state.padding/2-3.5).attr("width",g+ge().state.padding).attr("height",x+ge().state.padding),X.info(v)}r1e++},"drawEdge")});var xo,aF,dJe,pJe,mJe,gJe,s1e,o1e,l1e=N(()=>{"use strict";pr();iN();Wo();pt();dr();a1e();Xt();Ci();aF={},dJe=o(function(){},"setConf"),pJe=o(function(t){t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),mJe=o(function(t,e,r,n){xo=ge().state;let i=ge().securityLevel,a;i==="sandbox"&&(a=ze("#i"+e));let s=i==="sandbox"?ze(a.nodes()[0].contentDocument.body):ze("body"),l=i==="sandbox"?a.nodes()[0].contentDocument:document;X.debug("Rendering diagram "+t);let u=s.select(`[id='${e}']`);pJe(u);let h=n.db.getRootDoc();s1e(h,u,void 0,!1,s,l,n);let f=xo.padding,d=u.node().getBBox(),p=d.width+f*2,m=d.height+f*2,g=p*1.75;fn(u,m,g,xo.useMaxWidth),u.attr("viewBox",`${d.x-xo.padding} ${d.y-xo.padding} `+p+" "+m)},"draw"),gJe=o(t=>t?t.length*xo.fontSizeFactor:1,"getLabelWidth"),s1e=o((t,e,r,n,i,a,s)=>{let l=new sn({compound:!0,multigraph:!0}),u,h=!0;for(u=0;u{let w=S.parentElement,E=0,_=0;w&&(w.parentElement&&(E=w.parentElement.getBBox().width),_=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(_)&&(_=0)),S.setAttribute("x1",0-_+8),S.setAttribute("x2",E-_-8)})):X.debug("No Node "+b+": "+JSON.stringify(l.node(b)))});let x=y.getBBox();l.edges().forEach(function(b){b!==void 0&&l.edge(b)!==void 0&&(X.debug("Edge "+b.v+" -> "+b.w+": "+JSON.stringify(l.edge(b))),i1e(e,l.edge(b),l.edge(b).relation))}),x=y.getBBox();let v={id:r||"root",label:r||"root",width:0,height:0};return v.width=x.width+2*xo.padding,v.height=x.height+2*xo.padding,X.debug("Doc rendered",v,l),v},"renderDoc"),o1e={setConf:dJe,draw:mJe}});var c1e={};ur(c1e,{diagram:()=>yJe});var yJe,u1e=N(()=>{"use strict";zB();fC();nF();l1e();yJe={parser:rC,get db(){return new al(1)},renderer:o1e,styles:dC,init:o(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")}});var d1e={};ur(d1e,{diagram:()=>TJe});var TJe,p1e=N(()=>{"use strict";zB();fC();nF();rF();TJe={parser:rC,get db(){return new al(2)},renderer:Jge,styles:dC,init:o(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")}});var sF,y1e,v1e=N(()=>{"use strict";sF=function(){var t=o(function(d,p,m,g){for(m=m||{},g=d.length;g--;m[d[g]]=p);return m},"o"),e=[6,8,10,11,12,14,16,17,18],r=[1,9],n=[1,10],i=[1,11],a=[1,12],s=[1,13],l=[1,14],u={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:o(function(p,m,g,y,x,v,b){var T=v.length-1;switch(x){case 1:return v[T-1];case 2:this.$=[];break;case 3:v[T-1].push(v[T]),this.$=v[T-1];break;case 4:case 5:this.$=v[T];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(v[T].substr(6)),this.$=v[T].substr(6);break;case 9:this.$=v[T].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=v[T].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(v[T].substr(8)),this.$=v[T].substr(8);break;case 13:y.addTask(v[T-1],v[T]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:r,12:n,14:i,16:a,17:s,18:l},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:r,12:n,14:i,16:a,17:s,18:l},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:o(function(p,m){if(m.recoverable)this.trace(p);else{var g=new Error(p);throw g.hash=m,g}},"parseError"),parse:o(function(p){var m=this,g=[0],y=[],x=[null],v=[],b=this.table,T="",S=0,w=0,E=0,_=2,A=1,D=v.slice.call(arguments,1),O=Object.create(this.lexer),R={yy:{}};for(var k in this.yy)Object.prototype.hasOwnProperty.call(this.yy,k)&&(R.yy[k]=this.yy[k]);O.setInput(p,R.yy),R.yy.lexer=O,R.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var L=O.yylloc;v.push(L);var C=O.options&&O.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function I(Q){g.length=g.length-2*Q,x.length=x.length-Q,v.length=v.length-Q}o(I,"popStack");function M(){var Q;return Q=y.pop()||O.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(y=Q,Q=y.pop()),Q=m.symbols_[Q]||Q),Q}o(M,"lex");for(var P,B,F,G,$,U,K={},ne,j,le,Z;;){if(F=g[g.length-1],this.defaultActions[F]?G=this.defaultActions[F]:((P===null||typeof P>"u")&&(P=M()),G=b[F]&&b[F][P]),typeof G>"u"||!G.length||!G[0]){var ce="";Z=[];for(ne in b[F])this.terminals_[ne]&&ne>_&&Z.push("'"+this.terminals_[ne]+"'");O.showPosition?ce="Parse error on line "+(S+1)+`: `+O.showPosition()+` -Expecting `+Z.join(", ")+", got '"+(this.terminals_[P]||P)+"'":ue="Parse error on line "+(C+1)+": Unexpected "+(P==A?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(ue,{text:O.match,token:this.terminals_[P]||P,line:O.yylineno,loc:L,expected:Z})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+F+", token: "+P);switch(z[0]){case 1:g.push(P),v.push(O.yytext),x.push(O.yylloc),g.push(z[1]),P=null,B?(P=B,B=null):(w=O.yyleng,T=O.yytext,C=O.yylineno,L=O.yylloc,E>0&&E--);break;case 2:if(Y=this.productions_[z[1]][1],K.$=v[v.length-Y],K._$={first_line:x[x.length-(Y||1)].first_line,last_line:x[x.length-1].last_line,first_column:x[x.length-(Y||1)].first_column,last_column:x[x.length-1].last_column},S&&(K._$.range=[x[x.length-(Y||1)].range[0],x[x.length-1].range[1]]),U=this.performAction.apply(K,[T,w,C,R.yy,z[1],v,x].concat(D)),typeof U<"u")return U;Y&&(g=g.slice(0,-1*Y*2),v=v.slice(0,-1*Y),x=x.slice(0,-1*Y)),g.push(this.productions_[z[1]][0]),v.push(K.$),x.push(K._$),ce=b[g[g.length-2]][g[g.length-1]],g.push(ce);break;case 3:return!0}}return!0},"parse")},h=function(){var d={EOF:1,parseError:o(function(m,g){if(this.yy.parser)this.yy.parser.parseError(m,g);else throw new Error(m)},"parseError"),setInput:o(function(p,m){return this.yy=m||this.yy||{},this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var m=p.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},"input"),unput:o(function(p){var m=p.length,g=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var v=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===y.length?this.yylloc.first_column:0)+y[y.length-g.length].length-g[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[v[0],v[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +Expecting `+Z.join(", ")+", got '"+(this.terminals_[P]||P)+"'":ce="Parse error on line "+(S+1)+": Unexpected "+(P==A?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(ce,{text:O.match,token:this.terminals_[P]||P,line:O.yylineno,loc:L,expected:Z})}if(G[0]instanceof Array&&G.length>1)throw new Error("Parse Error: multiple actions possible at state: "+F+", token: "+P);switch(G[0]){case 1:g.push(P),x.push(O.yytext),v.push(O.yylloc),g.push(G[1]),P=null,B?(P=B,B=null):(w=O.yyleng,T=O.yytext,S=O.yylineno,L=O.yylloc,E>0&&E--);break;case 2:if(j=this.productions_[G[1]][1],K.$=x[x.length-j],K._$={first_line:v[v.length-(j||1)].first_line,last_line:v[v.length-1].last_line,first_column:v[v.length-(j||1)].first_column,last_column:v[v.length-1].last_column},C&&(K._$.range=[v[v.length-(j||1)].range[0],v[v.length-1].range[1]]),U=this.performAction.apply(K,[T,w,S,R.yy,G[1],x,v].concat(D)),typeof U<"u")return U;j&&(g=g.slice(0,-1*j*2),x=x.slice(0,-1*j),v=v.slice(0,-1*j)),g.push(this.productions_[G[1]][0]),x.push(K.$),v.push(K._$),le=b[g[g.length-2]][g[g.length-1]],g.push(le);break;case 3:return!0}}return!0},"parse")},h=function(){var d={EOF:1,parseError:o(function(m,g){if(this.yy.parser)this.yy.parser.parseError(m,g);else throw new Error(m)},"parseError"),setInput:o(function(p,m){return this.yy=m||this.yy||{},this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var m=p.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},"input"),unput:o(function(p){var m=p.length,g=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var x=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===y.length?this.yylloc.first_column:0)+y[y.length-g.length].length-g[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(p){this.unput(this.match.slice(p))},"less"),pastInput:o(function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var p=this.pastInput(),m=new Array(p.length+1).join("-");return p+this.upcomingInput()+` -`+m+"^"},"showPosition"),test_match:o(function(p,m){var g,y,v;if(this.options.backtrack_lexer&&(v={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(v.yylloc.range=this.yylloc.range.slice(0))),y=p[0].match(/(?:\r\n?|\n).*/g),y&&(this.yylineno+=y.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:y?y[y.length-1].length-y[y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],g=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),g)return g;if(this._backtrack){for(var x in v)this[x]=v[x];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,m,g,y;this._more||(this.yytext="",this.match="");for(var v=this._currentRules(),x=0;xm[0].length)){if(m=g,y=x,this.options.backtrack_lexer){if(p=this.test_match(g,v[x]),p!==!1)return p;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(p=this.test_match(m,v[y]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var m=this.next();return m||this.lex()},"lex"),begin:o(function(m){this.conditionStack.push(m)},"begin"),popState:o(function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},"topState"),pushState:o(function(m){this.begin(m)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(m,g,y,v){var x=v;switch(y){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.begin("acc_descr"),14;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return d}();u.lexer=h;function f(){this.yy={}}return o(f,"Parser"),f.prototype=u,u.Parser=f,new f}();UP.parser=UP;Gpe=UP});var I1,HP,Ob,Pb,lWe,cWe,uWe,hWe,fWe,dWe,pWe,Upe,mWe,WP,Hpe=N(()=>{"use strict";qt();ci();I1="",HP=[],Ob=[],Pb=[],lWe=o(function(){HP.length=0,Ob.length=0,I1="",Pb.length=0,wr()},"clear"),cWe=o(function(t){I1=t,HP.push(t)},"addSection"),uWe=o(function(){return HP},"getSections"),hWe=o(function(){let t=Upe(),e=100,r=0;for(;!t&&r{r.people&&t.push(...r.people)}),[...new Set(t)].sort()},"updateActors"),dWe=o(function(t,e){let r=e.substr(1).split(":"),n=0,i=[];r.length===1?(n=Number(r[0]),i=[]):(n=Number(r[0]),i=r[1].split(","));let a=i.map(l=>l.trim()),s={section:I1,type:I1,people:a,task:t,score:n};Pb.push(s)},"addTask"),pWe=o(function(t){let e={section:I1,type:I1,description:t,task:t,classes:[]};Ob.push(e)},"addTaskOrg"),Upe=o(function(){let t=o(function(r){return Pb[r].processed},"compileTask"),e=!0;for(let[r,n]of Pb.entries())t(r),e=e&&n.processed;return e},"compileTasks"),mWe=o(function(){return fWe()},"getActors"),WP={getConfig:o(()=>ge().journey,"getConfig"),clear:lWe,setDiagramTitle:Ir,getDiagramTitle:Rr,setAccTitle:Cr,getAccTitle:_r,setAccDescription:Dr,getAccDescription:Lr,addSection:cWe,getSections:uWe,getTasks:hWe,addTask:dWe,addTaskOrg:pWe,getActors:mWe}});var gWe,Wpe,qpe=N(()=>{"use strict";Vm();gWe=o(t=>`.label { +`+m+"^"},"showPosition"),test_match:o(function(p,m){var g,y,x;if(this.options.backtrack_lexer&&(x={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(x.yylloc.range=this.yylloc.range.slice(0))),y=p[0].match(/(?:\r\n?|\n).*/g),y&&(this.yylineno+=y.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:y?y[y.length-1].length-y[y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],g=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),g)return g;if(this._backtrack){for(var v in x)this[v]=x[v];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,m,g,y;this._more||(this.yytext="",this.match="");for(var x=this._currentRules(),v=0;vm[0].length)){if(m=g,y=v,this.options.backtrack_lexer){if(p=this.test_match(g,x[v]),p!==!1)return p;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(p=this.test_match(m,x[y]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var m=this.next();return m||this.lex()},"lex"),begin:o(function(m){this.conditionStack.push(m)},"begin"),popState:o(function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},"topState"),pushState:o(function(m){this.begin(m)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(m,g,y,x){var v=x;switch(y){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.begin("acc_descr"),14;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return d}();u.lexer=h;function f(){this.yy={}}return o(f,"Parser"),f.prototype=u,u.Parser=f,new f}();sF.parser=sF;y1e=sF});var oy,oF,S4,C4,SJe,CJe,AJe,_Je,DJe,LJe,RJe,x1e,NJe,lF,b1e=N(()=>{"use strict";Xt();ui();oy="",oF=[],S4=[],C4=[],SJe=o(function(){oF.length=0,S4.length=0,oy="",C4.length=0,wr()},"clear"),CJe=o(function(t){oy=t,oF.push(t)},"addSection"),AJe=o(function(){return oF},"getSections"),_Je=o(function(){let t=x1e(),e=100,r=0;for(;!t&&r{r.people&&t.push(...r.people)}),[...new Set(t)].sort()},"updateActors"),LJe=o(function(t,e){let r=e.substr(1).split(":"),n=0,i=[];r.length===1?(n=Number(r[0]),i=[]):(n=Number(r[0]),i=r[1].split(","));let a=i.map(l=>l.trim()),s={section:oy,type:oy,people:a,task:t,score:n};C4.push(s)},"addTask"),RJe=o(function(t){let e={section:oy,type:oy,description:t,task:t,classes:[]};S4.push(e)},"addTaskOrg"),x1e=o(function(){let t=o(function(r){return C4[r].processed},"compileTask"),e=!0;for(let[r,n]of C4.entries())t(r),e=e&&n.processed;return e},"compileTasks"),NJe=o(function(){return DJe()},"getActors"),lF={getConfig:o(()=>ge().journey,"getConfig"),clear:SJe,setDiagramTitle:Or,getDiagramTitle:Rr,setAccTitle:Cr,getAccTitle:_r,setAccDescription:Dr,getAccDescription:Lr,addSection:CJe,getSections:AJe,getTasks:_Je,addTask:LJe,addTaskOrg:RJe,getActors:NJe}});var MJe,T1e,w1e=N(()=>{"use strict";mg();MJe=o(t=>`.label { font-family: ${t.fontFamily}; color: ${t.textColor}; } @@ -1904,13 +2173,13 @@ Expecting `+Z.join(", ")+", got '"+(this.terminals_[P]||P)+"'":ue="Parse error o .actor-5 { ${t.actor5?`fill: ${t.actor5}`:""}; } - ${Lc()} -`,"getStyles"),Wpe=gWe});var qP,yWe,Xpe,jpe,vWe,xWe,Ype,bWe,TWe,Kpe,wWe,O1,Qpe=N(()=>{"use strict";pr();Jv();qP=o(function(t,e){return Sd(t,e)},"drawRect"),yWe=o(function(t,e){let n=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");i.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function a(u){let h=kl().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",h).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}o(a,"smile");function s(u){let h=kl().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",h).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}o(s,"sad");function l(u){u.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return o(l,"ambivalent"),e.score>3?a(i):e.score<3?s(i):l(i),n},"drawFace"),Xpe=o(function(t,e){let r=t.append("circle");return r.attr("cx",e.cx),r.attr("cy",e.cy),r.attr("class","actor-"+e.pos),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("r",e.r),r.class!==void 0&&r.attr("class",r.class),e.title!==void 0&&r.append("title").text(e.title),r},"drawCircle"),jpe=o(function(t,e){return YY(t,e)},"drawText"),vWe=o(function(t,e){function r(i,a,s,l,u){return i+","+a+" "+(i+s)+","+a+" "+(i+s)+","+(a+l-u)+" "+(i+s-u*1.2)+","+(a+l)+" "+i+","+(a+l)}o(r,"genPoints");let n=t.append("polygon");n.attr("points",r(e.x,e.y,50,20,7)),n.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,jpe(t,e)},"drawLabel"),xWe=o(function(t,e,r){let n=t.append("g"),i=Sl();i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=r.width*e.taskCount+r.diagramMarginX*(e.taskCount-1),i.height=r.height,i.class="journey-section section-type-"+e.num,i.rx=3,i.ry=3,qP(n,i),Kpe(r)(e.text,n,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+e.num},r,e.colour)},"drawSection"),Ype=-1,bWe=o(function(t,e,r){let n=e.x+r.width/2,i=t.append("g");Ype++;let a=300+5*30;i.append("line").attr("id","task"+Ype).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",a).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),yWe(i,{cx:n,cy:300+(5-e.score)*30,score:e.score});let s=Sl();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=r.width,s.height=r.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,qP(i,s);let l=e.x+14;e.people.forEach(u=>{let h=e.actors[u].color,f={cx:l,cy:e.y,r:7,fill:h,stroke:"#000",title:u,pos:e.actors[u].position};Xpe(i,f),l+=10}),Kpe(r)(e.task,i,s.x,s.y,s.width,s.height,{class:"task"},r,e.colour)},"drawTask"),TWe=o(function(t,e){rT(t,e)},"drawBackgroundRect"),Kpe=function(){function t(i,a,s,l,u,h,f,d){let p=a.append("text").attr("x",s+u/2).attr("y",l+h/2+5).style("font-color",d).style("text-anchor","middle").text(i);n(p,f)}o(t,"byText");function e(i,a,s,l,u,h,f,d,p){let{taskFontSize:m,taskFontFamily:g}=d,y=i.split(//gi);for(let v=0;v{let a=Qu[i].color,s={cx:20,cy:n,r:7,fill:a,stroke:"#000",pos:Qu[i].position};O1.drawCircle(t,s);let l=t.append("text").attr("visibility","hidden").text(i),u=l.node().getBoundingClientRect().width;l.remove();let h=[];if(u<=r)h=[i];else{let f=i.split(" "),d="";l=t.append("text").attr("visibility","hidden"),f.forEach(p=>{let m=d?`${d} ${p}`:p;if(l.text(m),l.node().getBoundingClientRect().width>r){if(d&&h.push(d),d=p,l.text(p),l.node().getBoundingClientRect().width>r){let y="";for(let v of p)y+=v,l.text(y+"-"),l.node().getBoundingClientRect().width>r&&(h.push(y.slice(0,-1)+"-"),y=v);d=y}}else d=m}),d&&h.push(d),l.remove()}h.forEach((f,d)=>{let p={x:40,y:n+7+d*20,fill:"#666",text:f,textMargin:e.boxTextMargin??5},g=O1.drawText(t,p).node().getBoundingClientRect().width;g>l6&&g>e.leftMargin-g&&(l6=g)}),n+=Math.max(20,h.length*20)})}var kWe,Qu,l6,Gl,kf,SWe,el,YP,Zpe,CWe,XP,Jpe=N(()=>{"use strict";pr();Qpe();qt();yi();kWe=o(function(t){Object.keys(t).forEach(function(r){Gl[r]=t[r]})},"setConf"),Qu={},l6=0;o(EWe,"drawActorLegend");Gl=ge().journey,kf=0,SWe=o(function(t,e,r,n){let i=ge(),a=i.journey.titleColor,s=i.journey.titleFontSize,l=i.journey.titleFontFamily,u=i.securityLevel,h;u==="sandbox"&&(h=Ge("#i"+e));let f=u==="sandbox"?Ge(h.nodes()[0].contentDocument.body):Ge("body");el.init();let d=f.select("#"+e);O1.initGraphics(d);let p=n.db.getTasks(),m=n.db.getDiagramTitle(),g=n.db.getActors();for(let C in Qu)delete Qu[C];let y=0;g.forEach(C=>{Qu[C]={color:Gl.actorColours[y%Gl.actorColours.length],position:y},y++}),EWe(d),kf=Gl.leftMargin+l6,el.insert(0,0,kf,Object.keys(Qu).length*50),CWe(d,p,0);let v=el.getBounds();m&&d.append("text").text(m).attr("x",kf).attr("font-size",s).attr("font-weight","bold").attr("y",25).attr("fill",a).attr("font-family",l);let x=v.stopy-v.starty+2*Gl.diagramMarginY,b=kf+v.stopx+2*Gl.diagramMarginX;hn(d,x,b,Gl.useMaxWidth),d.append("line").attr("x1",kf).attr("y1",Gl.height*4).attr("x2",b-kf-4).attr("y2",Gl.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");let T=m?70:0;d.attr("viewBox",`${v.startx} -25 ${b} ${x+T}`),d.attr("preserveAspectRatio","xMinYMin meet"),d.attr("height",x+T+25)},"draw"),el={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:o(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:o(function(t,e,r,n){t[e]===void 0?t[e]=r:t[e]=n(r,t[e])},"updateVal"),updateBounds:o(function(t,e,r,n){let i=ge().journey,a=this,s=0;function l(u){return o(function(f){s++;let d=a.sequenceItems.length-s+1;a.updateVal(f,"starty",e-d*i.boxMargin,Math.min),a.updateVal(f,"stopy",n+d*i.boxMargin,Math.max),a.updateVal(el.data,"startx",t-d*i.boxMargin,Math.min),a.updateVal(el.data,"stopx",r+d*i.boxMargin,Math.max),u!=="activation"&&(a.updateVal(f,"startx",t-d*i.boxMargin,Math.min),a.updateVal(f,"stopx",r+d*i.boxMargin,Math.max),a.updateVal(el.data,"starty",e-d*i.boxMargin,Math.min),a.updateVal(el.data,"stopy",n+d*i.boxMargin,Math.max))},"updateItemBounds")}o(l,"updateFn"),this.sequenceItems.forEach(l())},"updateBounds"),insert:o(function(t,e,r,n){let i=Math.min(t,r),a=Math.max(t,r),s=Math.min(e,n),l=Math.max(e,n);this.updateVal(el.data,"startx",i,Math.min),this.updateVal(el.data,"starty",s,Math.min),this.updateVal(el.data,"stopx",a,Math.max),this.updateVal(el.data,"stopy",l,Math.max),this.updateBounds(i,s,a,l)},"insert"),bumpVerticalPos:o(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:o(function(){return this.verticalPos},"getVerticalPos"),getBounds:o(function(){return this.data},"getBounds")},YP=Gl.sectionFills,Zpe=Gl.sectionColours,CWe=o(function(t,e,r){let n=ge().journey,i="",a=n.height*2+n.diagramMarginY,s=r+a,l=0,u="#CCC",h="black",f=0;for(let[d,p]of e.entries()){if(i!==p.section){u=YP[l%YP.length],f=l%YP.length,h=Zpe[l%Zpe.length];let g=0,y=p.section;for(let x=d;x(Qu[y]&&(g[y]=Qu[y]),g),{});p.x=d*n.taskMargin+d*n.width+kf,p.y=s,p.width=n.diagramMarginX,p.height=n.diagramMarginY,p.colour=h,p.fill=u,p.num=f,p.actors=m,O1.drawTask(t,p,n),el.insert(p.x,p.y,p.x+p.width+n.taskMargin,300+5*30)}},"drawTasks"),XP={setConf:kWe,draw:SWe}});var e0e={};hr(e0e,{diagram:()=>AWe});var AWe,t0e=N(()=>{"use strict";Vpe();Hpe();qpe();Jpe();AWe={parser:Gpe,db:WP,renderer:XP,styles:Wpe,init:o(t=>{XP.setConf(t.journey),WP.clear()},"init")}});var KP,l0e,c0e=N(()=>{"use strict";KP=function(){var t=o(function(p,m,g,y){for(g=g||{},y=p.length;y--;g[p[y]]=m);return g},"o"),e=[6,8,10,11,12,14,16,17,20,21],r=[1,9],n=[1,10],i=[1,11],a=[1,12],s=[1,13],l=[1,16],u=[1,17],h={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:o(function(m,g,y,v,x,b,T){var C=b.length-1;switch(x){case 1:return b[C-1];case 2:this.$=[];break;case 3:b[C-1].push(b[C]),this.$=b[C-1];break;case 4:case 5:this.$=b[C];break;case 6:case 7:this.$=[];break;case 8:v.getCommonDb().setDiagramTitle(b[C].substr(6)),this.$=b[C].substr(6);break;case 9:this.$=b[C].trim(),v.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=b[C].trim(),v.getCommonDb().setAccDescription(this.$);break;case 12:v.addSection(b[C].substr(8)),this.$=b[C].substr(8);break;case 15:v.addTask(b[C],0,""),this.$=b[C];break;case 16:v.addEvent(b[C].substr(2)),this.$=b[C];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:r,12:n,14:i,16:a,17:s,18:14,19:15,20:l,21:u},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:r,12:n,14:i,16:a,17:s,18:14,19:15,20:l,21:u},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:o(function(m,g){if(g.recoverable)this.trace(m);else{var y=new Error(m);throw y.hash=g,y}},"parseError"),parse:o(function(m){var g=this,y=[0],v=[],x=[null],b=[],T=this.table,C="",w=0,E=0,_=0,A=2,D=1,O=b.slice.call(arguments,1),R=Object.create(this.lexer),k={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(k.yy[L]=this.yy[L]);R.setInput(m,k.yy),k.yy.lexer=R,k.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var S=R.yylloc;b.push(S);var I=R.options&&R.options.ranges;typeof k.yy.parseError=="function"?this.parseError=k.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function M(j){y.length=y.length-2*j,x.length=x.length-j,b.length=b.length-j}o(M,"popStack");function P(){var j;return j=v.pop()||R.lex()||D,typeof j!="number"&&(j instanceof Array&&(v=j,j=v.pop()),j=g.symbols_[j]||j),j}o(P,"lex");for(var B,F,z,$,U,K,ee={},Y,ce,Z,ue;;){if(z=y[y.length-1],this.defaultActions[z]?$=this.defaultActions[z]:((B===null||typeof B>"u")&&(B=P()),$=T[z]&&T[z][B]),typeof $>"u"||!$.length||!$[0]){var Q="";ue=[];for(Y in T[z])this.terminals_[Y]&&Y>A&&ue.push("'"+this.terminals_[Y]+"'");R.showPosition?Q="Parse error on line "+(w+1)+`: + ${Fc()} +`,"getStyles"),T1e=MJe});var cF,IJe,E1e,S1e,OJe,PJe,k1e,BJe,FJe,C1e,$Je,ly,A1e=N(()=>{"use strict";pr();e2();cF=o(function(t,e){return Id(t,e)},"drawRect"),IJe=o(function(t,e){let n=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");i.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function a(u){let h=Sl().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",h).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}o(a,"smile");function s(u){let h=Sl().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",h).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}o(s,"sad");function l(u){u.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return o(l,"ambivalent"),e.score>3?a(i):e.score<3?s(i):l(i),n},"drawFace"),E1e=o(function(t,e){let r=t.append("circle");return r.attr("cx",e.cx),r.attr("cy",e.cy),r.attr("class","actor-"+e.pos),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("r",e.r),r.class!==void 0&&r.attr("class",r.class),e.title!==void 0&&r.append("title").text(e.title),r},"drawCircle"),S1e=o(function(t,e){return JY(t,e)},"drawText"),OJe=o(function(t,e){function r(i,a,s,l,u){return i+","+a+" "+(i+s)+","+a+" "+(i+s)+","+(a+l-u)+" "+(i+s-u*1.2)+","+(a+l)+" "+i+","+(a+l)}o(r,"genPoints");let n=t.append("polygon");n.attr("points",r(e.x,e.y,50,20,7)),n.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,S1e(t,e)},"drawLabel"),PJe=o(function(t,e,r){let n=t.append("g"),i=ua();i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=r.width*e.taskCount+r.diagramMarginX*(e.taskCount-1),i.height=r.height,i.class="journey-section section-type-"+e.num,i.rx=3,i.ry=3,cF(n,i),C1e(r)(e.text,n,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+e.num},r,e.colour)},"drawSection"),k1e=-1,BJe=o(function(t,e,r){let n=e.x+r.width/2,i=t.append("g");k1e++;let a=300+5*30;i.append("line").attr("id","task"+k1e).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",a).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),IJe(i,{cx:n,cy:300+(5-e.score)*30,score:e.score});let s=ua();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=r.width,s.height=r.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,cF(i,s);let l=e.x+14;e.people.forEach(u=>{let h=e.actors[u].color,f={cx:l,cy:e.y,r:7,fill:h,stroke:"#000",title:u,pos:e.actors[u].position};E1e(i,f),l+=10}),C1e(r)(e.task,i,s.x,s.y,s.width,s.height,{class:"task"},r,e.colour)},"drawTask"),FJe=o(function(t,e){aT(t,e)},"drawBackgroundRect"),C1e=function(){function t(i,a,s,l,u,h,f,d){let p=a.append("text").attr("x",s+u/2).attr("y",l+h/2+5).style("font-color",d).style("text-anchor","middle").text(i);n(p,f)}o(t,"byText");function e(i,a,s,l,u,h,f,d,p){let{taskFontSize:m,taskFontFamily:g}=d,y=i.split(//gi);for(let x=0;x{let a=ah[i].color,s={cx:20,cy:n,r:7,fill:a,stroke:"#000",pos:ah[i].position};ly.drawCircle(t,s);let l=t.append("text").attr("visibility","hidden").text(i),u=l.node().getBoundingClientRect().width;l.remove();let h=[];if(u<=r)h=[i];else{let f=i.split(" "),d="";l=t.append("text").attr("visibility","hidden"),f.forEach(p=>{let m=d?`${d} ${p}`:p;if(l.text(m),l.node().getBoundingClientRect().width>r){if(d&&h.push(d),d=p,l.text(p),l.node().getBoundingClientRect().width>r){let y="";for(let x of p)y+=x,l.text(y+"-"),l.node().getBoundingClientRect().width>r&&(h.push(y.slice(0,-1)+"-"),y=x);d=y}}else d=m}),d&&h.push(d),l.remove()}h.forEach((f,d)=>{let p={x:40,y:n+7+d*20,fill:"#666",text:f,textMargin:e.boxTextMargin??5},g=ly.drawText(t,p).node().getBoundingClientRect().width;g>pC&&g>e.leftMargin-g&&(pC=g)}),n+=Math.max(20,h.length*20)})}var GJe,ah,pC,Hl,Xf,VJe,sl,uF,_1e,UJe,hF,D1e=N(()=>{"use strict";pr();A1e();Xt();Ci();GJe=o(function(t){Object.keys(t).forEach(function(r){Hl[r]=t[r]})},"setConf"),ah={},pC=0;o(zJe,"drawActorLegend");Hl=ge().journey,Xf=0,VJe=o(function(t,e,r,n){let i=ge(),a=i.journey.titleColor,s=i.journey.titleFontSize,l=i.journey.titleFontFamily,u=i.securityLevel,h;u==="sandbox"&&(h=ze("#i"+e));let f=u==="sandbox"?ze(h.nodes()[0].contentDocument.body):ze("body");sl.init();let d=f.select("#"+e);ly.initGraphics(d);let p=n.db.getTasks(),m=n.db.getDiagramTitle(),g=n.db.getActors();for(let S in ah)delete ah[S];let y=0;g.forEach(S=>{ah[S]={color:Hl.actorColours[y%Hl.actorColours.length],position:y},y++}),zJe(d),Xf=Hl.leftMargin+pC,sl.insert(0,0,Xf,Object.keys(ah).length*50),UJe(d,p,0);let x=sl.getBounds();m&&d.append("text").text(m).attr("x",Xf).attr("font-size",s).attr("font-weight","bold").attr("y",25).attr("fill",a).attr("font-family",l);let v=x.stopy-x.starty+2*Hl.diagramMarginY,b=Xf+x.stopx+2*Hl.diagramMarginX;fn(d,v,b,Hl.useMaxWidth),d.append("line").attr("x1",Xf).attr("y1",Hl.height*4).attr("x2",b-Xf-4).attr("y2",Hl.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");let T=m?70:0;d.attr("viewBox",`${x.startx} -25 ${b} ${v+T}`),d.attr("preserveAspectRatio","xMinYMin meet"),d.attr("height",v+T+25)},"draw"),sl={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:o(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:o(function(t,e,r,n){t[e]===void 0?t[e]=r:t[e]=n(r,t[e])},"updateVal"),updateBounds:o(function(t,e,r,n){let i=ge().journey,a=this,s=0;function l(u){return o(function(f){s++;let d=a.sequenceItems.length-s+1;a.updateVal(f,"starty",e-d*i.boxMargin,Math.min),a.updateVal(f,"stopy",n+d*i.boxMargin,Math.max),a.updateVal(sl.data,"startx",t-d*i.boxMargin,Math.min),a.updateVal(sl.data,"stopx",r+d*i.boxMargin,Math.max),u!=="activation"&&(a.updateVal(f,"startx",t-d*i.boxMargin,Math.min),a.updateVal(f,"stopx",r+d*i.boxMargin,Math.max),a.updateVal(sl.data,"starty",e-d*i.boxMargin,Math.min),a.updateVal(sl.data,"stopy",n+d*i.boxMargin,Math.max))},"updateItemBounds")}o(l,"updateFn"),this.sequenceItems.forEach(l())},"updateBounds"),insert:o(function(t,e,r,n){let i=Math.min(t,r),a=Math.max(t,r),s=Math.min(e,n),l=Math.max(e,n);this.updateVal(sl.data,"startx",i,Math.min),this.updateVal(sl.data,"starty",s,Math.min),this.updateVal(sl.data,"stopx",a,Math.max),this.updateVal(sl.data,"stopy",l,Math.max),this.updateBounds(i,s,a,l)},"insert"),bumpVerticalPos:o(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:o(function(){return this.verticalPos},"getVerticalPos"),getBounds:o(function(){return this.data},"getBounds")},uF=Hl.sectionFills,_1e=Hl.sectionColours,UJe=o(function(t,e,r){let n=ge().journey,i="",a=n.height*2+n.diagramMarginY,s=r+a,l=0,u="#CCC",h="black",f=0;for(let[d,p]of e.entries()){if(i!==p.section){u=uF[l%uF.length],f=l%uF.length,h=_1e[l%_1e.length];let g=0,y=p.section;for(let v=d;v(ah[y]&&(g[y]=ah[y]),g),{});p.x=d*n.taskMargin+d*n.width+Xf,p.y=s,p.width=n.diagramMarginX,p.height=n.diagramMarginY,p.colour=h,p.fill=u,p.num=f,p.actors=m,ly.drawTask(t,p,n),sl.insert(p.x,p.y,p.x+p.width+n.taskMargin,300+5*30)}},"drawTasks"),hF={setConf:GJe,draw:VJe}});var L1e={};ur(L1e,{diagram:()=>HJe});var HJe,R1e=N(()=>{"use strict";v1e();b1e();w1e();D1e();HJe={parser:y1e,db:lF,renderer:hF,styles:T1e,init:o(t=>{hF.setConf(t.journey),lF.clear()},"init")}});var dF,F1e,$1e=N(()=>{"use strict";dF=function(){var t=o(function(p,m,g,y){for(g=g||{},y=p.length;y--;g[p[y]]=m);return g},"o"),e=[6,8,10,11,12,14,16,17,20,21],r=[1,9],n=[1,10],i=[1,11],a=[1,12],s=[1,13],l=[1,16],u=[1,17],h={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:o(function(m,g,y,x,v,b,T){var S=b.length-1;switch(v){case 1:return b[S-1];case 2:this.$=[];break;case 3:b[S-1].push(b[S]),this.$=b[S-1];break;case 4:case 5:this.$=b[S];break;case 6:case 7:this.$=[];break;case 8:x.getCommonDb().setDiagramTitle(b[S].substr(6)),this.$=b[S].substr(6);break;case 9:this.$=b[S].trim(),x.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=b[S].trim(),x.getCommonDb().setAccDescription(this.$);break;case 12:x.addSection(b[S].substr(8)),this.$=b[S].substr(8);break;case 15:x.addTask(b[S],0,""),this.$=b[S];break;case 16:x.addEvent(b[S].substr(2)),this.$=b[S];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:r,12:n,14:i,16:a,17:s,18:14,19:15,20:l,21:u},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:r,12:n,14:i,16:a,17:s,18:14,19:15,20:l,21:u},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:o(function(m,g){if(g.recoverable)this.trace(m);else{var y=new Error(m);throw y.hash=g,y}},"parseError"),parse:o(function(m){var g=this,y=[0],x=[],v=[null],b=[],T=this.table,S="",w=0,E=0,_=0,A=2,D=1,O=b.slice.call(arguments,1),R=Object.create(this.lexer),k={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(k.yy[L]=this.yy[L]);R.setInput(m,k.yy),k.yy.lexer=R,k.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var C=R.yylloc;b.push(C);var I=R.options&&R.options.ranges;typeof k.yy.parseError=="function"?this.parseError=k.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function M(ee){y.length=y.length-2*ee,v.length=v.length-ee,b.length=b.length-ee}o(M,"popStack");function P(){var ee;return ee=x.pop()||R.lex()||D,typeof ee!="number"&&(ee instanceof Array&&(x=ee,ee=x.pop()),ee=g.symbols_[ee]||ee),ee}o(P,"lex");for(var B,F,G,$,U,K,ne={},j,le,Z,ce;;){if(G=y[y.length-1],this.defaultActions[G]?$=this.defaultActions[G]:((B===null||typeof B>"u")&&(B=P()),$=T[G]&&T[G][B]),typeof $>"u"||!$.length||!$[0]){var Q="";ce=[];for(j in T[G])this.terminals_[j]&&j>A&&ce.push("'"+this.terminals_[j]+"'");R.showPosition?Q="Parse error on line "+(w+1)+`: `+R.showPosition()+` -Expecting `+ue.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Q="Parse error on line "+(w+1)+": Unexpected "+(B==D?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Q,{text:R.match,token:this.terminals_[B]||B,line:R.yylineno,loc:S,expected:ue})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+B);switch($[0]){case 1:y.push(B),x.push(R.yytext),b.push(R.yylloc),y.push($[1]),B=null,F?(B=F,F=null):(E=R.yyleng,C=R.yytext,w=R.yylineno,S=R.yylloc,_>0&&_--);break;case 2:if(ce=this.productions_[$[1]][1],ee.$=x[x.length-ce],ee._$={first_line:b[b.length-(ce||1)].first_line,last_line:b[b.length-1].last_line,first_column:b[b.length-(ce||1)].first_column,last_column:b[b.length-1].last_column},I&&(ee._$.range=[b[b.length-(ce||1)].range[0],b[b.length-1].range[1]]),K=this.performAction.apply(ee,[C,E,w,k.yy,$[1],x,b].concat(O)),typeof K<"u")return K;ce&&(y=y.slice(0,-1*ce*2),x=x.slice(0,-1*ce),b=b.slice(0,-1*ce)),y.push(this.productions_[$[1]][0]),x.push(ee.$),b.push(ee._$),Z=T[y[y.length-2]][y[y.length-1]],y.push(Z);break;case 3:return!0}}return!0},"parse")},f=function(){var p={EOF:1,parseError:o(function(g,y){if(this.yy.parser)this.yy.parser.parseError(g,y);else throw new Error(g)},"parseError"),setInput:o(function(m,g){return this.yy=g||this.yy||{},this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var g=m.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:o(function(m){var g=m.length,y=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var v=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),y.length-1&&(this.yylineno-=y.length-1);var x=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:y?(y.length===v.length?this.yylloc.first_column:0)+v[v.length-y.length].length-y[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +Expecting `+ce.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Q="Parse error on line "+(w+1)+": Unexpected "+(B==D?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Q,{text:R.match,token:this.terminals_[B]||B,line:R.yylineno,loc:C,expected:ce})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+B);switch($[0]){case 1:y.push(B),v.push(R.yytext),b.push(R.yylloc),y.push($[1]),B=null,F?(B=F,F=null):(E=R.yyleng,S=R.yytext,w=R.yylineno,C=R.yylloc,_>0&&_--);break;case 2:if(le=this.productions_[$[1]][1],ne.$=v[v.length-le],ne._$={first_line:b[b.length-(le||1)].first_line,last_line:b[b.length-1].last_line,first_column:b[b.length-(le||1)].first_column,last_column:b[b.length-1].last_column},I&&(ne._$.range=[b[b.length-(le||1)].range[0],b[b.length-1].range[1]]),K=this.performAction.apply(ne,[S,E,w,k.yy,$[1],v,b].concat(O)),typeof K<"u")return K;le&&(y=y.slice(0,-1*le*2),v=v.slice(0,-1*le),b=b.slice(0,-1*le)),y.push(this.productions_[$[1]][0]),v.push(ne.$),b.push(ne._$),Z=T[y[y.length-2]][y[y.length-1]],y.push(Z);break;case 3:return!0}}return!0},"parse")},f=function(){var p={EOF:1,parseError:o(function(g,y){if(this.yy.parser)this.yy.parser.parseError(g,y);else throw new Error(g)},"parseError"),setInput:o(function(m,g){return this.yy=g||this.yy||{},this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var g=m.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:o(function(m){var g=m.length,y=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),y.length-1&&(this.yylineno-=y.length-1);var v=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:y?(y.length===x.length?this.yylloc.first_column:0)+x[x.length-y.length].length-y[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[v[0],v[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(m){this.unput(this.match.slice(m))},"less"),pastInput:o(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var m=this.pastInput(),g=new Array(m.length+1).join("-");return m+this.upcomingInput()+` -`+g+"^"},"showPosition"),test_match:o(function(m,g){var y,v,x;if(this.options.backtrack_lexer&&(x={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(x.yylloc.range=this.yylloc.range.slice(0))),v=m[0].match(/(?:\r\n?|\n).*/g),v&&(this.yylineno+=v.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:v?v[v.length-1].length-v[v.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+m[0].length},this.yytext+=m[0],this.match+=m[0],this.matches=m,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(m[0].length),this.matched+=m[0],y=this.performAction.call(this,this.yy,this,g,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),y)return y;if(this._backtrack){for(var b in x)this[b]=x[b];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var m,g,y,v;this._more||(this.yytext="",this.match="");for(var x=this._currentRules(),b=0;bg[0].length)){if(g=y,v=b,this.options.backtrack_lexer){if(m=this.test_match(y,x[b]),m!==!1)return m;if(this._backtrack){g=!1;continue}else return!1}else if(!this.options.flex)break}return g?(m=this.test_match(g,x[v]),m!==!1?m:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var g=this.next();return g||this.lex()},"lex"),begin:o(function(g){this.conditionStack.push(g)},"begin"),popState:o(function(){var g=this.conditionStack.length-1;return g>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(g){return g=this.conditionStack.length-1-Math.abs(g||0),g>=0?this.conditionStack[g]:"INITIAL"},"topState"),pushState:o(function(g){this.begin(g)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(g,y,v,x){var b=x;switch(v){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.begin("acc_descr"),14;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return p}();h.lexer=f;function d(){this.yy={}}return o(d,"Parser"),d.prototype=h,h.Parser=d,new d}();KP.parser=KP;l0e=KP});var ZP={};hr(ZP,{addEvent:()=>v0e,addSection:()=>p0e,addTask:()=>y0e,addTaskOrg:()=>x0e,clear:()=>d0e,default:()=>PWe,getCommonDb:()=>f0e,getSections:()=>m0e,getTasks:()=>g0e});var P1,h0e,QP,c6,B1,f0e,d0e,p0e,m0e,g0e,y0e,v0e,x0e,u0e,PWe,b0e=N(()=>{"use strict";ci();P1="",h0e=0,QP=[],c6=[],B1=[],f0e=o(()=>Jy,"getCommonDb"),d0e=o(function(){QP.length=0,c6.length=0,P1="",B1.length=0,wr()},"clear"),p0e=o(function(t){P1=t,QP.push(t)},"addSection"),m0e=o(function(){return QP},"getSections"),g0e=o(function(){let t=u0e(),e=100,r=0;for(;!t&&rr.id===h0e-1).events.push(t)},"addEvent"),x0e=o(function(t){let e={section:P1,type:P1,description:t,task:t,classes:[]};c6.push(e)},"addTaskOrg"),u0e=o(function(){let t=o(function(r){return B1[r].processed},"compileTask"),e=!0;for(let[r,n]of B1.entries())t(r),e=e&&n.processed;return e},"compileTasks"),PWe={clear:d0e,getCommonDb:f0e,addSection:p0e,getSections:m0e,getTasks:g0e,addTask:y0e,addTaskOrg:x0e,addEvent:v0e}});function E0e(t,e){t.each(function(){var r=Ge(this),n=r.text().split(/(\s+|
    )/).reverse(),i,a=[],s=1.1,l=r.attr("y"),u=parseFloat(r.attr("dy")),h=r.text(null).append("tspan").attr("x",0).attr("y",l).attr("dy",u+"em");for(let f=0;fe||i==="
    ")&&(a.pop(),h.text(a.join(" ").trim()),i==="
    "?a=[""]:a=[i],h=r.append("tspan").attr("x",0).attr("y",l).attr("dy",s+"em").text(i))})}var BWe,u6,FWe,$We,w0e,zWe,GWe,T0e,VWe,UWe,HWe,JP,k0e,WWe,qWe,YWe,XWe,Ef,S0e=N(()=>{"use strict";pr();BWe=12,u6=o(function(t,e){let r=t.append("rect");return r.attr("x",e.x),r.attr("y",e.y),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("width",e.width),r.attr("height",e.height),r.attr("rx",e.rx),r.attr("ry",e.ry),e.class!==void 0&&r.attr("class",e.class),r},"drawRect"),FWe=o(function(t,e){let n=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");i.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function a(u){let h=kl().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",h).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}o(a,"smile");function s(u){let h=kl().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",h).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}o(s,"sad");function l(u){u.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return o(l,"ambivalent"),e.score>3?a(i):e.score<3?s(i):l(i),n},"drawFace"),$We=o(function(t,e){let r=t.append("circle");return r.attr("cx",e.cx),r.attr("cy",e.cy),r.attr("class","actor-"+e.pos),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("r",e.r),r.class!==void 0&&r.attr("class",r.class),e.title!==void 0&&r.append("title").text(e.title),r},"drawCircle"),w0e=o(function(t,e){let r=e.text.replace(//gi," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),e.class!==void 0&&n.attr("class",e.class);let i=n.append("tspan");return i.attr("x",e.x+e.textMargin*2),i.text(r),n},"drawText"),zWe=o(function(t,e){function r(i,a,s,l,u){return i+","+a+" "+(i+s)+","+a+" "+(i+s)+","+(a+l-u)+" "+(i+s-u*1.2)+","+(a+l)+" "+i+","+(a+l)}o(r,"genPoints");let n=t.append("polygon");n.attr("points",r(e.x,e.y,50,20,7)),n.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,w0e(t,e)},"drawLabel"),GWe=o(function(t,e,r){let n=t.append("g"),i=JP();i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=r.width,i.height=r.height,i.class="journey-section section-type-"+e.num,i.rx=3,i.ry=3,u6(n,i),k0e(r)(e.text,n,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+e.num},r,e.colour)},"drawSection"),T0e=-1,VWe=o(function(t,e,r){let n=e.x+r.width/2,i=t.append("g");T0e++;let a=300+5*30;i.append("line").attr("id","task"+T0e).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",a).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),FWe(i,{cx:n,cy:300+(5-e.score)*30,score:e.score});let s=JP();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=r.width,s.height=r.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,u6(i,s),k0e(r)(e.task,i,s.x,s.y,s.width,s.height,{class:"task"},r,e.colour)},"drawTask"),UWe=o(function(t,e){u6(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},"drawBackgroundRect"),HWe=o(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),JP=o(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),k0e=function(){function t(i,a,s,l,u,h,f,d){let p=a.append("text").attr("x",s+u/2).attr("y",l+h/2+5).style("font-color",d).style("text-anchor","middle").text(i);n(p,f)}o(t,"byText");function e(i,a,s,l,u,h,f,d,p){let{taskFontSize:m,taskFontFamily:g}=d,y=i.split(//gi);for(let v=0;v{"use strict";pr();S0e();yt();qt();yi();jWe=o(function(t,e,r,n){let i=ge(),a=i.timeline?.leftMargin??50;X.debug("timeline",n.db);let s=i.securityLevel,l;s==="sandbox"&&(l=Ge("#i"+e));let h=(s==="sandbox"?Ge(l.nodes()[0].contentDocument.body):Ge("body")).select("#"+e);h.append("g");let f=n.db.getTasks(),d=n.db.getCommonDb().getDiagramTitle();X.debug("task",f),Ef.initGraphics(h);let p=n.db.getSections();X.debug("sections",p);let m=0,g=0,y=0,v=0,x=50+a,b=50;v=50;let T=0,C=!0;p.forEach(function(D){let O={number:T,descr:D,section:T,width:150,padding:20,maxHeight:m},R=Ef.getVirtualNodeHeight(h,O,i);X.debug("sectionHeight before draw",R),m=Math.max(m,R+20)});let w=0,E=0;X.debug("tasks.length",f.length);for(let[D,O]of f.entries()){let R={number:D,descr:O,section:O.section,width:150,padding:20,maxHeight:g},k=Ef.getVirtualNodeHeight(h,R,i);X.debug("taskHeight before draw",k),g=Math.max(g,k+20),w=Math.max(w,O.events.length);let L=0;for(let S of O.events){let I={descr:S,section:O.section,number:O.section,width:150,padding:20,maxHeight:50};L+=Ef.getVirtualNodeHeight(h,I,i)}O.events.length>0&&(L+=(O.events.length-1)*10),E=Math.max(E,L)}X.debug("maxSectionHeight before draw",m),X.debug("maxTaskHeight before draw",g),p&&p.length>0?p.forEach(D=>{let O=f.filter(S=>S.section===D),R={number:T,descr:D,section:T,width:200*Math.max(O.length,1)-50,padding:20,maxHeight:m};X.debug("sectionNode",R);let k=h.append("g"),L=Ef.drawNode(k,R,T,i);X.debug("sectionNode output",L),k.attr("transform",`translate(${x}, ${v})`),b+=m+50,O.length>0&&C0e(h,O,T,x,b,g,i,w,E,m,!1),x+=200*Math.max(O.length,1),b=v,T++}):(C=!1,C0e(h,f,T,x,b,g,i,w,E,m,!0));let _=h.node().getBBox();X.debug("bounds",_),d&&h.append("text").text(d).attr("x",_.width/2-a).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),y=C?m+g+150:g+100,h.append("g").attr("class","lineWrapper").append("line").attr("x1",a).attr("y1",y).attr("x2",_.width+3*a).attr("y2",y).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),_o(void 0,h,i.timeline?.padding??50,i.timeline?.useMaxWidth??!1)},"draw"),C0e=o(function(t,e,r,n,i,a,s,l,u,h,f){for(let d of e){let p={descr:d.task,section:r,number:r,width:150,padding:20,maxHeight:a};X.debug("taskNode",p);let m=t.append("g").attr("class","taskWrapper"),y=Ef.drawNode(m,p,r,s).height;if(X.debug("taskHeight after draw",y),m.attr("transform",`translate(${n}, ${i})`),a=Math.max(a,y),d.events){let v=t.append("g").attr("class","lineWrapper"),x=a;i+=100,x=x+KWe(t,d.events,r,n,i,s),i-=100,v.append("line").attr("x1",n+190/2).attr("y1",i+a).attr("x2",n+190/2).attr("y2",i+a+100+u+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}n=n+200,f&&!s.timeline?.disableMulticolor&&r++}i=i-10},"drawTasks"),KWe=o(function(t,e,r,n,i,a){let s=0,l=i;i=i+100;for(let u of e){let h={descr:u,section:r,number:r,width:150,padding:20,maxHeight:50};X.debug("eventNode",h);let f=t.append("g").attr("class","eventWrapper"),p=Ef.drawNode(f,h,r,a).height;s=s+p,f.attr("transform",`translate(${n}, ${i})`),i=i+10+p}return i=l,s},"drawEvents"),A0e={setConf:o(()=>{},"setConf"),draw:jWe}});var QWe,ZWe,D0e,L0e=N(()=>{"use strict";Xs();QWe=o(t=>{let e="";for(let r=0;rg[0].length)){if(g=y,x=b,this.options.backtrack_lexer){if(m=this.test_match(y,v[b]),m!==!1)return m;if(this._backtrack){g=!1;continue}else return!1}else if(!this.options.flex)break}return g?(m=this.test_match(g,v[x]),m!==!1?m:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var g=this.next();return g||this.lex()},"lex"),begin:o(function(g){this.conditionStack.push(g)},"begin"),popState:o(function(){var g=this.conditionStack.length-1;return g>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(g){return g=this.conditionStack.length-1-Math.abs(g||0),g>=0?this.conditionStack[g]:"INITIAL"},"topState"),pushState:o(function(g){this.begin(g)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(g,y,x,v){var b=v;switch(x){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.begin("acc_descr"),14;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return p}();h.lexer=f;function d(){this.yy={}}return o(d,"Parser"),d.prototype=h,h.Parser=d,new d}();dF.parser=dF;F1e=dF});var mF={};ur(mF,{addEvent:()=>X1e,addSection:()=>H1e,addTask:()=>Y1e,addTaskOrg:()=>j1e,clear:()=>U1e,default:()=>JJe,getCommonDb:()=>V1e,getSections:()=>W1e,getTasks:()=>q1e});var cy,z1e,pF,mC,uy,V1e,U1e,H1e,W1e,q1e,Y1e,X1e,j1e,G1e,JJe,K1e=N(()=>{"use strict";ui();cy="",z1e=0,pF=[],mC=[],uy=[],V1e=o(()=>ev,"getCommonDb"),U1e=o(function(){pF.length=0,mC.length=0,cy="",uy.length=0,wr()},"clear"),H1e=o(function(t){cy=t,pF.push(t)},"addSection"),W1e=o(function(){return pF},"getSections"),q1e=o(function(){let t=G1e(),e=100,r=0;for(;!t&&rr.id===z1e-1).events.push(t)},"addEvent"),j1e=o(function(t){let e={section:cy,type:cy,description:t,task:t,classes:[]};mC.push(e)},"addTaskOrg"),G1e=o(function(){let t=o(function(r){return uy[r].processed},"compileTask"),e=!0;for(let[r,n]of uy.entries())t(r),e=e&&n.processed;return e},"compileTasks"),JJe={clear:U1e,getCommonDb:V1e,addSection:H1e,getSections:W1e,getTasks:q1e,addTask:Y1e,addTaskOrg:j1e,addEvent:X1e}});function eye(t,e){t.each(function(){var r=ze(this),n=r.text().split(/(\s+|
    )/).reverse(),i,a=[],s=1.1,l=r.attr("y"),u=parseFloat(r.attr("dy")),h=r.text(null).append("tspan").attr("x",0).attr("y",l).attr("dy",u+"em");for(let f=0;fe||i==="
    ")&&(a.pop(),h.text(a.join(" ").trim()),i==="
    "?a=[""]:a=[i],h=r.append("tspan").attr("x",0).attr("y",l).attr("dy",s+"em").text(i))})}var eet,gC,tet,ret,Z1e,net,iet,Q1e,aet,set,oet,gF,J1e,cet,uet,het,fet,jf,tye=N(()=>{"use strict";pr();eet=12,gC=o(function(t,e){let r=t.append("rect");return r.attr("x",e.x),r.attr("y",e.y),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("width",e.width),r.attr("height",e.height),r.attr("rx",e.rx),r.attr("ry",e.ry),e.class!==void 0&&r.attr("class",e.class),r},"drawRect"),tet=o(function(t,e){let n=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");i.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function a(u){let h=Sl().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",h).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}o(a,"smile");function s(u){let h=Sl().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",h).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}o(s,"sad");function l(u){u.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return o(l,"ambivalent"),e.score>3?a(i):e.score<3?s(i):l(i),n},"drawFace"),ret=o(function(t,e){let r=t.append("circle");return r.attr("cx",e.cx),r.attr("cy",e.cy),r.attr("class","actor-"+e.pos),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("r",e.r),r.class!==void 0&&r.attr("class",r.class),e.title!==void 0&&r.append("title").text(e.title),r},"drawCircle"),Z1e=o(function(t,e){let r=e.text.replace(//gi," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),e.class!==void 0&&n.attr("class",e.class);let i=n.append("tspan");return i.attr("x",e.x+e.textMargin*2),i.text(r),n},"drawText"),net=o(function(t,e){function r(i,a,s,l,u){return i+","+a+" "+(i+s)+","+a+" "+(i+s)+","+(a+l-u)+" "+(i+s-u*1.2)+","+(a+l)+" "+i+","+(a+l)}o(r,"genPoints");let n=t.append("polygon");n.attr("points",r(e.x,e.y,50,20,7)),n.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,Z1e(t,e)},"drawLabel"),iet=o(function(t,e,r){let n=t.append("g"),i=gF();i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=r.width,i.height=r.height,i.class="journey-section section-type-"+e.num,i.rx=3,i.ry=3,gC(n,i),J1e(r)(e.text,n,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+e.num},r,e.colour)},"drawSection"),Q1e=-1,aet=o(function(t,e,r){let n=e.x+r.width/2,i=t.append("g");Q1e++;let a=300+5*30;i.append("line").attr("id","task"+Q1e).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",a).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),tet(i,{cx:n,cy:300+(5-e.score)*30,score:e.score});let s=gF();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=r.width,s.height=r.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,gC(i,s),J1e(r)(e.task,i,s.x,s.y,s.width,s.height,{class:"task"},r,e.colour)},"drawTask"),set=o(function(t,e){gC(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},"drawBackgroundRect"),oet=o(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),gF=o(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),J1e=function(){function t(i,a,s,l,u,h,f,d){let p=a.append("text").attr("x",s+u/2).attr("y",l+h/2+5).style("font-color",d).style("text-anchor","middle").text(i);n(p,f)}o(t,"byText");function e(i,a,s,l,u,h,f,d,p){let{taskFontSize:m,taskFontFamily:g}=d,y=i.split(//gi);for(let x=0;x{"use strict";pr();tye();pt();Xt();Ci();det=o(function(t,e,r,n){let i=ge(),a=i.timeline?.leftMargin??50;X.debug("timeline",n.db);let s=i.securityLevel,l;s==="sandbox"&&(l=ze("#i"+e));let h=(s==="sandbox"?ze(l.nodes()[0].contentDocument.body):ze("body")).select("#"+e);h.append("g");let f=n.db.getTasks(),d=n.db.getCommonDb().getDiagramTitle();X.debug("task",f),jf.initGraphics(h);let p=n.db.getSections();X.debug("sections",p);let m=0,g=0,y=0,x=0,v=50+a,b=50;x=50;let T=0,S=!0;p.forEach(function(D){let O={number:T,descr:D,section:T,width:150,padding:20,maxHeight:m},R=jf.getVirtualNodeHeight(h,O,i);X.debug("sectionHeight before draw",R),m=Math.max(m,R+20)});let w=0,E=0;X.debug("tasks.length",f.length);for(let[D,O]of f.entries()){let R={number:D,descr:O,section:O.section,width:150,padding:20,maxHeight:g},k=jf.getVirtualNodeHeight(h,R,i);X.debug("taskHeight before draw",k),g=Math.max(g,k+20),w=Math.max(w,O.events.length);let L=0;for(let C of O.events){let I={descr:C,section:O.section,number:O.section,width:150,padding:20,maxHeight:50};L+=jf.getVirtualNodeHeight(h,I,i)}O.events.length>0&&(L+=(O.events.length-1)*10),E=Math.max(E,L)}X.debug("maxSectionHeight before draw",m),X.debug("maxTaskHeight before draw",g),p&&p.length>0?p.forEach(D=>{let O=f.filter(C=>C.section===D),R={number:T,descr:D,section:T,width:200*Math.max(O.length,1)-50,padding:20,maxHeight:m};X.debug("sectionNode",R);let k=h.append("g"),L=jf.drawNode(k,R,T,i);X.debug("sectionNode output",L),k.attr("transform",`translate(${v}, ${x})`),b+=m+50,O.length>0&&rye(h,O,T,v,b,g,i,w,E,m,!1),v+=200*Math.max(O.length,1),b=x,T++}):(S=!1,rye(h,f,T,v,b,g,i,w,E,m,!0));let _=h.node().getBBox();X.debug("bounds",_),d&&h.append("text").text(d).attr("x",_.width/2-a).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),y=S?m+g+150:g+100,h.append("g").attr("class","lineWrapper").append("line").attr("x1",a).attr("y1",y).attr("x2",_.width+3*a).attr("y2",y).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),nc(void 0,h,i.timeline?.padding??50,i.timeline?.useMaxWidth??!1)},"draw"),rye=o(function(t,e,r,n,i,a,s,l,u,h,f){for(let d of e){let p={descr:d.task,section:r,number:r,width:150,padding:20,maxHeight:a};X.debug("taskNode",p);let m=t.append("g").attr("class","taskWrapper"),y=jf.drawNode(m,p,r,s).height;if(X.debug("taskHeight after draw",y),m.attr("transform",`translate(${n}, ${i})`),a=Math.max(a,y),d.events){let x=t.append("g").attr("class","lineWrapper"),v=a;i+=100,v=v+pet(t,d.events,r,n,i,s),i-=100,x.append("line").attr("x1",n+190/2).attr("y1",i+a).attr("x2",n+190/2).attr("y2",i+a+100+u+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}n=n+200,f&&!s.timeline?.disableMulticolor&&r++}i=i-10},"drawTasks"),pet=o(function(t,e,r,n,i,a){let s=0,l=i;i=i+100;for(let u of e){let h={descr:u,section:r,number:r,width:150,padding:20,maxHeight:50};X.debug("eventNode",h);let f=t.append("g").attr("class","eventWrapper"),p=jf.drawNode(f,h,r,a).height;s=s+p,f.attr("transform",`translate(${n}, ${i})`),i=i+10+p}return i=l,s},"drawEvents"),nye={setConf:o(()=>{},"setConf"),draw:det}});var met,get,aye,sye=N(()=>{"use strict";Qs();met=o(t=>{let e="";for(let r=0;r` + `}return e},"genSections"),get=o(t=>` .edge { stroke-width: 3; } - ${QWe(t)} + ${met(t)} .section-root rect, .section-root path, .section-root circle { fill: ${t.git0}; } @@ -1965,253 +2234,13 @@ Expecting `+ue.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Q="Parse error o .eventWrapper { filter: brightness(120%); } -`,"getStyles"),D0e=ZWe});var R0e={};hr(R0e,{diagram:()=>JWe});var JWe,N0e=N(()=>{"use strict";c0e();b0e();_0e();L0e();JWe={db:ZP,renderer:A0e,parser:l0e,styles:D0e}});var eB,O0e,P0e=N(()=>{"use strict";eB=function(){var t=o(function(C,w,E,_){for(E=E||{},_=C.length;_--;E[C[_]]=w);return E},"o"),e=[1,4],r=[1,13],n=[1,12],i=[1,15],a=[1,16],s=[1,20],l=[1,19],u=[6,7,8],h=[1,26],f=[1,24],d=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],g=[1,33],y=[1,34],v=[1,6,7,11,13,15,16,19,22],x={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:o(function(w,E,_,A,D,O,R){var k=O.length-1;switch(D){case 6:case 7:return A;case 8:A.getLogger().trace("Stop NL ");break;case 9:A.getLogger().trace("Stop EOF ");break;case 11:A.getLogger().trace("Stop NL2 ");break;case 12:A.getLogger().trace("Stop EOF2 ");break;case 15:A.getLogger().info("Node: ",O[k].id),A.addNode(O[k-1].length,O[k].id,O[k].descr,O[k].type);break;case 16:A.getLogger().trace("Icon: ",O[k]),A.decorateNode({icon:O[k]});break;case 17:case 21:A.decorateNode({class:O[k]});break;case 18:A.getLogger().trace("SPACELIST");break;case 19:A.getLogger().trace("Node: ",O[k].id),A.addNode(0,O[k].id,O[k].descr,O[k].type);break;case 20:A.decorateNode({icon:O[k]});break;case 25:A.getLogger().trace("node found ..",O[k-2]),this.$={id:O[k-1],descr:O[k-1],type:A.getType(O[k-2],O[k])};break;case 26:this.$={id:O[k],descr:O[k],type:A.nodeType.DEFAULT};break;case 27:A.getLogger().trace("node found ..",O[k-3]),this.$={id:O[k-3],descr:O[k-1],type:A.getType(O[k-2],O[k])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:r,7:[1,10],9:9,12:11,13:n,14:14,15:i,16:a,17:17,18:18,19:s,22:l},t(u,[2,3]),{1:[2,2]},t(u,[2,4]),t(u,[2,5]),{1:[2,6],6:r,12:21,13:n,14:14,15:i,16:a,17:17,18:18,19:s,22:l},{6:r,9:22,12:11,13:n,14:14,15:i,16:a,17:17,18:18,19:s,22:l},{6:h,7:f,10:23,11:d},t(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:l}),t(p,[2,18]),t(p,[2,19]),t(p,[2,20]),t(p,[2,21]),t(p,[2,23]),t(p,[2,24]),t(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:h,7:f,10:32,11:d},{1:[2,7],6:r,12:21,13:n,14:14,15:i,16:a,17:17,18:18,19:s,22:l},t(m,[2,14],{7:g,11:y}),t(v,[2,8]),t(v,[2,9]),t(v,[2,10]),t(p,[2,15]),t(p,[2,16]),t(p,[2,17]),{20:[1,35]},{21:[1,36]},t(m,[2,13],{7:g,11:y}),t(v,[2,11]),t(v,[2,12]),{21:[1,37]},t(p,[2,25]),t(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(w,E){if(E.recoverable)this.trace(w);else{var _=new Error(w);throw _.hash=E,_}},"parseError"),parse:o(function(w){var E=this,_=[0],A=[],D=[null],O=[],R=this.table,k="",L=0,S=0,I=0,M=2,P=1,B=O.slice.call(arguments,1),F=Object.create(this.lexer),z={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(z.yy[$]=this.yy[$]);F.setInput(w,z.yy),z.yy.lexer=F,z.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var U=F.yylloc;O.push(U);var K=F.options&&F.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ee(ae){_.length=_.length-2*ae,D.length=D.length-ae,O.length=O.length-ae}o(ee,"popStack");function Y(){var ae;return ae=A.pop()||F.lex()||P,typeof ae!="number"&&(ae instanceof Array&&(A=ae,ae=A.pop()),ae=E.symbols_[ae]||ae),ae}o(Y,"lex");for(var ce,Z,ue,Q,j,ne,te={},he,le,J,Se;;){if(ue=_[_.length-1],this.defaultActions[ue]?Q=this.defaultActions[ue]:((ce===null||typeof ce>"u")&&(ce=Y()),Q=R[ue]&&R[ue][ce]),typeof Q>"u"||!Q.length||!Q[0]){var se="";Se=[];for(he in R[ue])this.terminals_[he]&&he>M&&Se.push("'"+this.terminals_[he]+"'");F.showPosition?se="Parse error on line "+(L+1)+`: +`,"getStyles"),aye=get});var oye={};ur(oye,{diagram:()=>yet});var yet,lye=N(()=>{"use strict";$1e();K1e();iye();sye();yet={db:mF,renderer:nye,parser:F1e,styles:aye}});var yF,hye,fye=N(()=>{"use strict";yF=function(){var t=o(function(S,w,E,_){for(E=E||{},_=S.length;_--;E[S[_]]=w);return E},"o"),e=[1,4],r=[1,13],n=[1,12],i=[1,15],a=[1,16],s=[1,20],l=[1,19],u=[6,7,8],h=[1,26],f=[1,24],d=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],g=[1,33],y=[1,34],x=[1,6,7,11,13,15,16,19,22],v={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:o(function(w,E,_,A,D,O,R){var k=O.length-1;switch(D){case 6:case 7:return A;case 8:A.getLogger().trace("Stop NL ");break;case 9:A.getLogger().trace("Stop EOF ");break;case 11:A.getLogger().trace("Stop NL2 ");break;case 12:A.getLogger().trace("Stop EOF2 ");break;case 15:A.getLogger().info("Node: ",O[k].id),A.addNode(O[k-1].length,O[k].id,O[k].descr,O[k].type);break;case 16:A.getLogger().trace("Icon: ",O[k]),A.decorateNode({icon:O[k]});break;case 17:case 21:A.decorateNode({class:O[k]});break;case 18:A.getLogger().trace("SPACELIST");break;case 19:A.getLogger().trace("Node: ",O[k].id),A.addNode(0,O[k].id,O[k].descr,O[k].type);break;case 20:A.decorateNode({icon:O[k]});break;case 25:A.getLogger().trace("node found ..",O[k-2]),this.$={id:O[k-1],descr:O[k-1],type:A.getType(O[k-2],O[k])};break;case 26:this.$={id:O[k],descr:O[k],type:A.nodeType.DEFAULT};break;case 27:A.getLogger().trace("node found ..",O[k-3]),this.$={id:O[k-3],descr:O[k-1],type:A.getType(O[k-2],O[k])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:r,7:[1,10],9:9,12:11,13:n,14:14,15:i,16:a,17:17,18:18,19:s,22:l},t(u,[2,3]),{1:[2,2]},t(u,[2,4]),t(u,[2,5]),{1:[2,6],6:r,12:21,13:n,14:14,15:i,16:a,17:17,18:18,19:s,22:l},{6:r,9:22,12:11,13:n,14:14,15:i,16:a,17:17,18:18,19:s,22:l},{6:h,7:f,10:23,11:d},t(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:l}),t(p,[2,18]),t(p,[2,19]),t(p,[2,20]),t(p,[2,21]),t(p,[2,23]),t(p,[2,24]),t(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:h,7:f,10:32,11:d},{1:[2,7],6:r,12:21,13:n,14:14,15:i,16:a,17:17,18:18,19:s,22:l},t(m,[2,14],{7:g,11:y}),t(x,[2,8]),t(x,[2,9]),t(x,[2,10]),t(p,[2,15]),t(p,[2,16]),t(p,[2,17]),{20:[1,35]},{21:[1,36]},t(m,[2,13],{7:g,11:y}),t(x,[2,11]),t(x,[2,12]),{21:[1,37]},t(p,[2,25]),t(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(w,E){if(E.recoverable)this.trace(w);else{var _=new Error(w);throw _.hash=E,_}},"parseError"),parse:o(function(w){var E=this,_=[0],A=[],D=[null],O=[],R=this.table,k="",L=0,C=0,I=0,M=2,P=1,B=O.slice.call(arguments,1),F=Object.create(this.lexer),G={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(G.yy[$]=this.yy[$]);F.setInput(w,G.yy),G.yy.lexer=F,G.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var U=F.yylloc;O.push(U);var K=F.options&&F.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ne(W){_.length=_.length-2*W,D.length=D.length-W,O.length=O.length-W}o(ne,"popStack");function j(){var W;return W=A.pop()||F.lex()||P,typeof W!="number"&&(W instanceof Array&&(A=W,W=A.pop()),W=E.symbols_[W]||W),W}o(j,"lex");for(var le,Z,ce,Q,ee,te,re={},he,J,ye,se;;){if(ce=_[_.length-1],this.defaultActions[ce]?Q=this.defaultActions[ce]:((le===null||typeof le>"u")&&(le=j()),Q=R[ce]&&R[ce][le]),typeof Q>"u"||!Q.length||!Q[0]){var Se="";se=[];for(he in R[ce])this.terminals_[he]&&he>M&&se.push("'"+this.terminals_[he]+"'");F.showPosition?Se="Parse error on line "+(L+1)+`: `+F.showPosition()+` -Expecting `+Se.join(", ")+", got '"+(this.terminals_[ce]||ce)+"'":se="Parse error on line "+(L+1)+": Unexpected "+(ce==P?"end of input":"'"+(this.terminals_[ce]||ce)+"'"),this.parseError(se,{text:F.match,token:this.terminals_[ce]||ce,line:F.yylineno,loc:U,expected:Se})}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ue+", token: "+ce);switch(Q[0]){case 1:_.push(ce),D.push(F.yytext),O.push(F.yylloc),_.push(Q[1]),ce=null,Z?(ce=Z,Z=null):(S=F.yyleng,k=F.yytext,L=F.yylineno,U=F.yylloc,I>0&&I--);break;case 2:if(le=this.productions_[Q[1]][1],te.$=D[D.length-le],te._$={first_line:O[O.length-(le||1)].first_line,last_line:O[O.length-1].last_line,first_column:O[O.length-(le||1)].first_column,last_column:O[O.length-1].last_column},K&&(te._$.range=[O[O.length-(le||1)].range[0],O[O.length-1].range[1]]),ne=this.performAction.apply(te,[k,S,L,z.yy,Q[1],D,O].concat(B)),typeof ne<"u")return ne;le&&(_=_.slice(0,-1*le*2),D=D.slice(0,-1*le),O=O.slice(0,-1*le)),_.push(this.productions_[Q[1]][0]),D.push(te.$),O.push(te._$),J=R[_[_.length-2]][_[_.length-1]],_.push(J);break;case 3:return!0}}return!0},"parse")},b=function(){var C={EOF:1,parseError:o(function(E,_){if(this.yy.parser)this.yy.parser.parseError(E,_);else throw new Error(E)},"parseError"),setInput:o(function(w,E){return this.yy=E||this.yy||{},this._input=w,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var E=w.match(/(?:\r\n?|\n).*/g);return E?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},"input"),unput:o(function(w){var E=w.length,_=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-E),this.offset-=E;var A=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),_.length-1&&(this.yylineno-=_.length-1);var D=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:_?(_.length===A.length?this.yylloc.first_column:0)+A[A.length-_.length].length-_[0].length:this.yylloc.first_column-E},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-E]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +Expecting `+se.join(", ")+", got '"+(this.terminals_[le]||le)+"'":Se="Parse error on line "+(L+1)+": Unexpected "+(le==P?"end of input":"'"+(this.terminals_[le]||le)+"'"),this.parseError(Se,{text:F.match,token:this.terminals_[le]||le,line:F.yylineno,loc:U,expected:se})}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ce+", token: "+le);switch(Q[0]){case 1:_.push(le),D.push(F.yytext),O.push(F.yylloc),_.push(Q[1]),le=null,Z?(le=Z,Z=null):(C=F.yyleng,k=F.yytext,L=F.yylineno,U=F.yylloc,I>0&&I--);break;case 2:if(J=this.productions_[Q[1]][1],re.$=D[D.length-J],re._$={first_line:O[O.length-(J||1)].first_line,last_line:O[O.length-1].last_line,first_column:O[O.length-(J||1)].first_column,last_column:O[O.length-1].last_column},K&&(re._$.range=[O[O.length-(J||1)].range[0],O[O.length-1].range[1]]),te=this.performAction.apply(re,[k,C,L,G.yy,Q[1],D,O].concat(B)),typeof te<"u")return te;J&&(_=_.slice(0,-1*J*2),D=D.slice(0,-1*J),O=O.slice(0,-1*J)),_.push(this.productions_[Q[1]][0]),D.push(re.$),O.push(re._$),ye=R[_[_.length-2]][_[_.length-1]],_.push(ye);break;case 3:return!0}}return!0},"parse")},b=function(){var S={EOF:1,parseError:o(function(E,_){if(this.yy.parser)this.yy.parser.parseError(E,_);else throw new Error(E)},"parseError"),setInput:o(function(w,E){return this.yy=E||this.yy||{},this._input=w,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var E=w.match(/(?:\r\n?|\n).*/g);return E?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},"input"),unput:o(function(w){var E=w.length,_=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-E),this.offset-=E;var A=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),_.length-1&&(this.yylineno-=_.length-1);var D=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:_?(_.length===A.length?this.yylloc.first_column:0)+A[A.length-_.length].length-_[0].length:this.yylloc.first_column-E},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-E]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(w){this.unput(this.match.slice(w))},"less"),pastInput:o(function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var w=this.pastInput(),E=new Array(w.length+1).join("-");return w+this.upcomingInput()+` `+E+"^"},"showPosition"),test_match:o(function(w,E){var _,A,D;if(this.options.backtrack_lexer&&(D={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(D.yylloc.range=this.yylloc.range.slice(0))),A=w[0].match(/(?:\r\n?|\n).*/g),A&&(this.yylineno+=A.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:A?A[A.length-1].length-A[A.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+w[0].length},this.yytext+=w[0],this.match+=w[0],this.matches=w,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(w[0].length),this.matched+=w[0],_=this.performAction.call(this,this.yy,this,E,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),_)return _;if(this._backtrack){for(var O in D)this[O]=D[O];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var w,E,_,A;this._more||(this.yytext="",this.match="");for(var D=this._currentRules(),O=0;OE[0].length)){if(E=_,A=O,this.options.backtrack_lexer){if(w=this.test_match(_,D[O]),w!==!1)return w;if(this._backtrack){E=!1;continue}else return!1}else if(!this.options.flex)break}return E?(w=this.test_match(E,D[A]),w!==!1?w:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var E=this.next();return E||this.lex()},"lex"),begin:o(function(E){this.conditionStack.push(E)},"begin"),popState:o(function(){var E=this.conditionStack.length-1;return E>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(E){return E=this.conditionStack.length-1-Math.abs(E||0),E>=0?this.conditionStack[E]:"INITIAL"},"topState"),pushState:o(function(E){this.begin(E)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(E,_,A,D){var O=D;switch(A){case 0:return E.getLogger().trace("Found comment",_.yytext),6;break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;break;case 4:this.popState();break;case 5:E.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return E.getLogger().trace("SPACELINE"),6;break;case 7:return 7;case 8:return 15;case 9:E.getLogger().trace("end icon"),this.popState();break;case 10:return E.getLogger().trace("Exploding node"),this.begin("NODE"),19;break;case 11:return E.getLogger().trace("Cloud"),this.begin("NODE"),19;break;case 12:return E.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;break;case 13:return E.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;break;case 14:return this.begin("NODE"),19;break;case 15:return this.begin("NODE"),19;break;case 16:return this.begin("NODE"),19;break;case 17:return this.begin("NODE"),19;break;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:E.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return E.getLogger().trace("description:",_.yytext),"NODE_DESCR";break;case 26:this.popState();break;case 27:return this.popState(),E.getLogger().trace("node end ))"),"NODE_DEND";break;case 28:return this.popState(),E.getLogger().trace("node end )"),"NODE_DEND";break;case 29:return this.popState(),E.getLogger().trace("node end ...",_.yytext),"NODE_DEND";break;case 30:return this.popState(),E.getLogger().trace("node end (("),"NODE_DEND";break;case 31:return this.popState(),E.getLogger().trace("node end (-"),"NODE_DEND";break;case 32:return this.popState(),E.getLogger().trace("node end (-"),"NODE_DEND";break;case 33:return this.popState(),E.getLogger().trace("node end (("),"NODE_DEND";break;case 34:return this.popState(),E.getLogger().trace("node end (("),"NODE_DEND";break;case 35:return E.getLogger().trace("Long description:",_.yytext),20;break;case 36:return E.getLogger().trace("Long description:",_.yytext),20;break}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return C}();x.lexer=b;function T(){this.yy={}}return o(T,"Parser"),T.prototype=x,x.Parser=T,new T}();eB.parser=eB;O0e=eB});var nqe,h6,B0e=N(()=>{"use strict";qt();dr();yt();Ca();nqe={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},h6=class{constructor(){this.nodes=[];this.count=0;this.elements={};this.getLogger=this.getLogger.bind(this),this.nodeType=nqe,this.clear(),this.getType=this.getType.bind(this),this.getMindmap=this.getMindmap.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{o(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={}}getParent(e){for(let r=this.nodes.length-1;r>=0;r--)if(this.nodes[r].level0?this.nodes[0]:null}addNode(e,r,n,i){X.info("addNode",e,r,n,i);let a=ge(),s=a.mindmap?.padding??lr.mindmap.padding;switch(i){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:s*=2;break}let l={id:this.count++,nodeId:ar(r,a),level:e,descr:ar(n,a),type:i,children:[],width:a.mindmap?.maxNodeWidth??lr.mindmap.maxNodeWidth,padding:s},u=this.getParent(e);if(u)u.children.push(l),this.nodes.push(l);else if(this.nodes.length===0)this.nodes.push(l);else throw new Error(`There can be only one root. No parent could be found for ("${l.descr}")`)}getType(e,r){switch(X.debug("In get type",e,r),e){case"[":return this.nodeType.RECT;case"(":return r===")"?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,r){this.elements[e]=r}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let r=ge(),n=this.nodes[this.nodes.length-1];e.icon&&(n.icon=ar(e.icon,r)),e.class&&(n.class=ar(e.class,r))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}getLogger(){return X}}});function Hi(t){"@babel/helpers - typeof";return Hi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hi(t)}function Bf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F0e(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},"n"),e:o(function(u){throw u},"e"),f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,s=!1,l;return{s:o(function(){r=r.call(t)},"s"),n:o(function(){var u=r.next();return a=u.done,u},"n"),e:o(function(u){s=!0,l=u},"e"),f:o(function(){try{!a&&r.return!=null&&r.return()}finally{if(s)throw l}},"f")}}function Nqe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function Mqe(t,e){return e={exports:{}},t(e,e.exports),e.exports}function zqe(t){for(var e=t.length;e--&&$qe.test(t.charAt(e)););return e}function Uqe(t){return t&&t.slice(0,Gqe(t)+1).replace(Vqe,"")}function Xqe(t){var e=qqe.call(t,Bb),r=t[Bb];try{t[Bb]=void 0;var n=!0}catch{}var i=Yqe.call(t);return n&&(e?t[Bb]=r:delete t[Bb]),i}function Zqe(t){return Qqe.call(t)}function rYe(t){return t==null?t===void 0?tYe:eYe:G0e&&G0e in Object(t)?jqe(t):Jqe(t)}function nYe(t){return t!=null&&typeof t=="object"}function sYe(t){return typeof t=="symbol"||iYe(t)&&pge(t)==aYe}function hYe(t){if(typeof t=="number")return t;if(f4(t))return V0e;if(qp(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=qp(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=Hqe(t);var r=lYe.test(t);return r||cYe.test(t)?uYe(t.slice(2),r?2:8):oYe.test(t)?V0e:+t}function mYe(t,e,r){var n,i,a,s,l,u,h=0,f=!1,d=!1,p=!0;if(typeof t!="function")throw new TypeError(fYe);e=U0e(e)||0,qp(r)&&(f=!!r.leading,d="maxWait"in r,a=d?dYe(U0e(r.maxWait)||0,e):a,p="trailing"in r?!!r.trailing:p);function m(E){var _=n,A=i;return n=i=void 0,h=E,s=t.apply(A,_),s}o(m,"invokeFunc");function g(E){return h=E,l=setTimeout(x,e),f?m(E):s}o(g,"leadingEdge");function y(E){var _=E-u,A=E-h,D=e-_;return d?pYe(D,a-A):D}o(y,"remainingWait");function v(E){var _=E-u,A=E-h;return u===void 0||_>=e||_<0||d&&A>=a}o(v,"shouldInvoke");function x(){var E=tB();if(v(E))return b(E);l=setTimeout(x,y(E))}o(x,"timerExpired");function b(E){return l=void 0,p&&n?m(E):(n=i=void 0,s)}o(b,"trailingEdge");function T(){l!==void 0&&clearTimeout(l),h=0,n=u=i=l=void 0}o(T,"cancel");function C(){return l===void 0?s:b(tB())}o(C,"flush");function w(){var E=tB(),_=v(E);if(n=arguments,i=this,u=E,_){if(l===void 0)return g(u);if(d)return clearTimeout(l),l=setTimeout(x,e),m(u)}return l===void 0&&(l=setTimeout(x,e)),s}return o(w,"debounced"),w.cancel=T,w.flush=C,w}function Q6(t,e,r,n,i,a){var s;return li(t)?s=t:s=Z1[t]||Z1.euclidean,e===0&&li(t)?s(i,a):s(e,r,n,i,a)}function oje(t,e){if(Z6(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||f4(t)?!0:sje.test(t)||!aje.test(t)||e!=null&&t in Object(e)}function dje(t){if(!qp(t))return!1;var e=pge(t);return e==uje||e==hje||e==cje||e==fje}function gje(t){return!!cme&&cme in t}function bje(t){if(t!=null){try{return xje.call(t)}catch{}try{return t+""}catch{}}return""}function Dje(t){if(!qp(t)||yje(t))return!1;var e=pje(t)?_je:kje;return e.test(Tje(t))}function Rje(t,e){return t?.[e]}function Mje(t,e){var r=Nje(t,e);return Lje(r)?r:void 0}function Oje(){this.__data__=a4?a4(null):{},this.size=0}function Bje(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Vje(t){var e=this.__data__;if(a4){var r=e[t];return r===$je?void 0:r}return Gje.call(e,t)?e[t]:void 0}function qje(t){var e=this.__data__;return a4?e[t]!==void 0:Wje.call(e,t)}function jje(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=a4&&e===void 0?Xje:e,this}function ry(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e-1}function cKe(t,e){var r=this.__data__,n=J6(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function ny(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e-1&&t%1==0&&t0;){var f=i.shift();e(f),a.add(f.id()),l&&n(i,a,f)}return t}function Yge(t,e,r){if(r.isParent())for(var n=r._private.children,i=0;i0&&arguments[0]!==void 0?arguments[0]:YQe,e=arguments.length>1?arguments[1]:void 0,r=0;r0?k=S:R=S;while(Math.abs(L)>s&&++I=a?b(O,I):M===0?I:C(O,R,R+h)}o(w,"getTForX");var E=!1;function _(){E=!0,(t!==e||r!==n)&&T()}o(_,"precompute");var A=o(function(R){return E||_(),t===e&&r===n?R:R===0?0:R===1?1:v(w(R),e,n)},"f");A.getControlPoints=function(){return[{x:t,y:e},{x:r,y:n}]};var D="generateBezier("+[t,e,r,n]+")";return A.toString=function(){return D},A}function _me(t,e,r,n,i){if(n===1||e===r)return r;var a=i(e,r,n);return t==null||((t.roundValue||t.color)&&(a=Math.round(a)),t.min!==void 0&&(a=Math.max(a,t.min)),t.max!==void 0&&(a=Math.min(a,t.max))),a}function Dme(t,e){return t.pfValue!=null||t.value!=null?t.pfValue!=null&&(e==null||e.type.units!=="%")?t.pfValue:t.value:t}function z1(t,e,r,n,i){var a=i!=null?i.type:null;r<0?r=0:r>1&&(r=1);var s=Dme(t,i),l=Dme(e,i);if(_t(s)&&_t(l))return _me(a,s,l,r,n);if(kn(s)&&kn(l)){for(var u=[],h=0;h0?(m==="spring"&&g.push(s.duration),s.easingImpl=L6[m].apply(null,g)):s.easingImpl=L6[m]}var y=s.easingImpl,v;if(s.duration===0?v=1:v=(r-u)/s.duration,s.applying&&(v=s.progress),v<0?v=0:v>1&&(v=1),s.delay==null){var x=s.startPosition,b=s.position;if(b&&i&&!t.locked()){var T={};Gb(x.x,b.x)&&(T.x=z1(x.x,b.x,v,y)),Gb(x.y,b.y)&&(T.y=z1(x.y,b.y,v,y)),t.position(T)}var C=s.startPan,w=s.pan,E=a.pan,_=w!=null&&n;_&&(Gb(C.x,w.x)&&(E.x=z1(C.x,w.x,v,y)),Gb(C.y,w.y)&&(E.y=z1(C.y,w.y,v,y)),t.emit("pan"));var A=s.startZoom,D=s.zoom,O=D!=null&&n;O&&(Gb(A,D)&&(a.zoom=n4(a.minZoom,z1(A,D,v,y),a.maxZoom)),t.emit("zoom")),(_||O)&&t.emit("viewport");var R=s.style;if(R&&R.length>0&&i){for(var k=0;k=0;_--){var A=E[_];A()}E.splice(0,E.length)},"callbacks"),b=m.length-1;b>=0;b--){var T=m[b],C=T._private;if(C.stopped){m.splice(b,1),C.hooked=!1,C.playing=!1,C.started=!1,x(C.frames);continue}!C.playing&&!C.applying||(C.playing&&C.applying&&(C.applying=!1),C.started||oZe(f,T,t),sZe(f,T,t,d),C.applying&&(C.applying=!1),x(C.frames),C.step!=null&&C.step(t),T.completed()&&(m.splice(b,1),C.hooked=!1,C.playing=!1,C.started=!1,x(C.completes)),y=!0)}return!d&&m.length===0&&g.length===0&&n.push(f),y}o(i,"stepOne");for(var a=!1,s=0;s0?e.notify("draw",r):e.notify("draw")),r.unmerge(n),e.emit("step")}function u1e(t){this.options=ir({},mZe,gZe,t)}function h1e(t){this.options=ir({},yZe,t)}function f1e(t){this.options=ir({},vZe,t)}function oC(t){this.options=ir({},xZe,t),this.options.layout=this;var e=this.options.eles.nodes(),r=this.options.eles.edges(),n=r.filter(function(i){var a=i.source().data("id"),s=i.target().data("id"),l=e.some(function(h){return h.data("id")===a}),u=e.some(function(h){return h.data("id")===s});return!l||!u});this.options.eles=this.options.eles.not(n)}function p1e(t){this.options=ir({},PZe,t)}function ZB(t){this.options=ir({},BZe,t)}function m1e(t){this.options=ir({},FZe,t)}function g1e(t){this.options=ir({},$Ze,t)}function y1e(t){this.options=t,this.notifications=0}function b1e(t,e){e.radius===0?t.lineTo(e.cx,e.cy):t.arc(e.cx,e.cy,e.radius,e.startAngle,e.endAngle,e.counterClockwise)}function eF(t,e,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;return n===0||e.radius===0?{cx:e.x,cy:e.y,radius:0,startX:e.x,startY:e.y,stopX:e.x,stopY:e.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(VZe(t,e,r,n,i),{cx:CB,cy:AB,radius:Up,startX:v1e,startY:x1e,stopX:_B,stopY:DB,startAngle:Xc.ang+Math.PI/2*Hp,endAngle:tl.ang-Math.PI/2*Hp,counterClockwise:M6})}function T1e(t){var e=[];if(t!=null){for(var r=0;r5&&arguments[5]!==void 0?arguments[5]:5,s=arguments.length>6?arguments[6]:void 0;t.beginPath(),t.moveTo(e+a,r),t.lineTo(e+n-a,r),t.quadraticCurveTo(e+n,r,e+n,r+a),t.lineTo(e+n,r+i-a),t.quadraticCurveTo(e+n,r+i,e+n-a,r+i),t.lineTo(e+a,r+i),t.quadraticCurveTo(e,r+i,e,r+i-a),t.lineTo(e,r+a),t.quadraticCurveTo(e,r,e+a,r),t.closePath(),s?t.stroke():t.fill()}function jme(t,e,r){var n=t.createShader(e);if(t.shaderSource(n,r),t.compileShader(n),!t.getShaderParameter(n,t.COMPILE_STATUS))throw new Error(t.getShaderInfoLog(n));return n}function DJe(t,e,r){var n=jme(t,t.VERTEX_SHADER,e),i=jme(t,t.FRAGMENT_SHADER,r),a=t.createProgram();if(t.attachShader(a,n),t.attachShader(a,i),t.linkProgram(a),!t.getProgramParameter(a,t.LINK_STATUS))throw new Error("Could not initialize shaders");return a}function LJe(t,e,r){r===void 0&&(r=e);var n=t.makeOffscreenCanvas(e,r),i=n.context=n.getContext("2d");return n.clear=function(){return i.clearRect(0,0,n.width,n.height)},n.clear(),n}function nF(t){var e=t.pixelRatio,r=t.cy.zoom(),n=t.cy.pan();return{zoom:r*e,pan:{x:n.x*e,y:n.y*e}}}function pB(t,e,r,n,i){var a=n*r+e.x,s=i*r+e.y;return s=Math.round(t.canvasHeight-s),[a,s]}function E6(t,e,r){var n=t[0]/255,i=t[1]/255,a=t[2]/255,s=e,l=r||new Array(4);return l[0]=n*s,l[1]=i*s,l[2]=a*s,l[3]=s,l}function S6(t,e){var r=e||new Array(4);return r[0]=(t>>0&255)/255,r[1]=(t>>8&255)/255,r[2]=(t>>16&255)/255,r[3]=(t>>24&255)/255,r}function RJe(t){return t[0]+(t[1]<<8)+(t[2]<<16)+(t[3]<<24)}function NJe(t,e){var r=t.createTexture();return r.buffer=function(n){t.bindTexture(t.TEXTURE_2D,r),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR_MIPMAP_NEAREST),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,n),t.generateMipmap(t.TEXTURE_2D),t.bindTexture(t.TEXTURE_2D,null)},r.deleteTexture=function(){t.deleteTexture(r)},r}function I1e(t,e){switch(e){case"float":return[1,t.FLOAT,4];case"vec2":return[2,t.FLOAT,4];case"vec3":return[3,t.FLOAT,4];case"vec4":return[4,t.FLOAT,4];case"int":return[1,t.INT,4];case"ivec2":return[2,t.INT,4]}}function O1e(t,e,r){switch(e){case t.FLOAT:return new Float32Array(r);case t.INT:return new Int32Array(r)}}function MJe(t,e,r,n,i,a){switch(e){case t.FLOAT:return new Float32Array(r.buffer,a*n,i);case t.INT:return new Int32Array(r.buffer,a*n,i)}}function IJe(t,e,r,n){var i=I1e(t,e),a=Li(i,2),s=a[0],l=a[1],u=O1e(t,l,n),h=t.createBuffer();return t.bindBuffer(t.ARRAY_BUFFER,h),t.bufferData(t.ARRAY_BUFFER,u,t.STATIC_DRAW),l===t.FLOAT?t.vertexAttribPointer(r,s,l,!1,0,0):l===t.INT&&t.vertexAttribIPointer(r,s,l,0,0),t.enableVertexAttribArray(r),t.bindBuffer(t.ARRAY_BUFFER,null),h}function mo(t,e,r,n){var i=I1e(t,r),a=Li(i,3),s=a[0],l=a[1],u=a[2],h=O1e(t,l,e*s),f=s*u,d=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,d),t.bufferData(t.ARRAY_BUFFER,e*f,t.DYNAMIC_DRAW),t.enableVertexAttribArray(n),l===t.FLOAT?t.vertexAttribPointer(n,s,l,!1,f,0):l===t.INT&&t.vertexAttribIPointer(n,s,l,f,0),t.vertexAttribDivisor(n,1),t.bindBuffer(t.ARRAY_BUFFER,null);for(var p=new Array(e),m=0;mD1e?(qJe(t),e.call(t,a)):(YJe(t),z1e(t,a,Zb.SCREEN)))}}{var r=t.matchCanvasSize;t.matchCanvasSize=function(a){r.call(t,a),t.pickingFrameBuffer.setFramebufferAttachmentSizes(t.canvasWidth,t.canvasHeight),t.pickingFrameBuffer.needsDraw=!0}}t.findNearestElements=function(a,s,l,u){return JJe(t,a,s)};{var n=t.invalidateCachedZSortedEles;t.invalidateCachedZSortedEles=function(){n.call(t),t.pickingFrameBuffer.needsDraw=!0}}{var i=t.notify;t.notify=function(a,s){i.call(t,a,s),a==="viewport"||a==="bounds"?t.pickingFrameBuffer.needsDraw=!0:a==="background"&&t.eleDrawing.invalidate(s,{type:"node-body"})}}}function qJe(t){var e=t.data.contexts[t.WEBGL];e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT)}function YJe(t){var e=o(function(n){n.save(),n.setTransform(1,0,0,1,0,0),n.clearRect(0,0,t.canvasWidth,t.canvasHeight),n.restore()},"clear");e(t.data.contexts[t.NODE]),e(t.data.contexts[t.DRAG])}function XJe(t){var e=t.canvasWidth,r=t.canvasHeight,n=nF(t),i=n.pan,a=n.zoom,s=Qb();q6(s,s,[i.x,i.y]),iF(s,s,[a,a]);var l=Qb();BJe(l,e,r);var u=Qb();return PJe(u,l,s),u}function $1e(t,e){var r=t.canvasWidth,n=t.canvasHeight,i=nF(t),a=i.pan,s=i.zoom;e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,r,n),e.translate(a.x,a.y),e.scale(s,s)}function jJe(t,e){t.drawSelectionRectangle(e,function(r){return $1e(t,r)})}function KJe(t){var e=t.data.contexts[t.NODE];e.save(),$1e(t,e),e.strokeStyle="rgba(0, 0, 0, 0.3)",e.beginPath(),e.moveTo(-1e3,0),e.lineTo(1e3,0),e.stroke(),e.beginPath(),e.moveTo(0,-1e3),e.lineTo(0,1e3),e.stroke(),e.restore()}function QJe(t){var e=o(function(i,a,s){for(var l=i.atlasManager.getRenderTypeOpts(a),u=t.data.contexts[t.NODE],h=.125,f=l.atlasCollection.atlases,d=0;d=0&&k.add(I)}return k}function JJe(t,e,r){var n=ZJe(t,e,r),i=t.getCachedZSortedEles(),a,s,l=go(n),u;try{for(l.s();!(u=l.n()).done;){var h=u.value,f=i[h];if(!a&&f.isNode()&&(a=f),!s&&f.isEdge()&&(s=f),a&&s)break}}catch(d){l.e(d)}finally{l.f()}return[a,s].filter(Boolean)}function z1e(t,e,r){var n,i;t.webglDebug&&(i=[],n=performance.now());var a=t.eleDrawing,s=0;if(r.screen&&t.data.canvasNeedsRedraw[t.SELECT_BOX]&&jJe(t,e),t.data.canvasNeedsRedraw[t.NODE]||r.picking){var l=o(function(k,L){L+=1,k.isNode()?(a.drawTexture(k,L,"node-underlay"),a.drawTexture(k,L,"node-body"),a.drawTexture(k,L,"node-label"),a.drawTexture(k,L,"node-overlay")):(a.drawEdgeLine(k,L),a.drawEdgeArrow(k,L,"source"),a.drawEdgeArrow(k,L,"target"),a.drawTexture(k,L,"edge-label"))},"draw"),u=t.data.contexts[t.WEBGL];r.screen?(u.clearColor(0,0,0,0),u.enable(u.BLEND),u.blendFunc(u.ONE,u.ONE_MINUS_SRC_ALPHA)):u.disable(u.BLEND),u.clear(u.COLOR_BUFFER_BIT|u.DEPTH_BUFFER_BIT),u.viewport(0,0,u.canvas.width,u.canvas.height);var h=XJe(t),f=t.getCachedZSortedEles();if(s=f.length,a.startFrame(h,i,r),r.screen){for(var d=0;d{"use strict";o(Hi,"_typeof");o(Bf,"_classCallCheck");o(F0e,"_defineProperties");o(Ff,"_createClass");o(nge,"_defineProperty$1");o(Li,"_slicedToArray");o(ige,"_toConsumableArray");o(iqe,"_arrayWithoutHoles");o(aqe,"_arrayWithHoles");o(sqe,"_iterableToArray");o(oqe,"_iterableToArrayLimit");o(IB,"_unsupportedIterableToArray");o(yB,"_arrayLikeToArray");o(lqe,"_nonIterableSpread");o(cqe,"_nonIterableRest");o(go,"_createForOfIteratorHelper");Vi=typeof window>"u"?null:window,$0e=Vi?Vi.navigator:null;Vi&&Vi.document;uqe=Hi(""),age=Hi({}),hqe=Hi(function(){}),fqe=typeof HTMLElement>"u"?"undefined":Hi(HTMLElement),u4=o(function(e){return e&&e.instanceString&&li(e.instanceString)?e.instanceString():null},"instanceStr"),Jt=o(function(e){return e!=null&&Hi(e)==uqe},"string"),li=o(function(e){return e!=null&&Hi(e)===hqe},"fn"),kn=o(function(e){return!yo(e)&&(Array.isArray?Array.isArray(e):e!=null&&e instanceof Array)},"array"),Vr=o(function(e){return e!=null&&Hi(e)===age&&!kn(e)&&e.constructor===Object},"plainObject"),dqe=o(function(e){return e!=null&&Hi(e)===age},"object"),_t=o(function(e){return e!=null&&Hi(e)===Hi(1)&&!isNaN(e)},"number"),pqe=o(function(e){return _t(e)&&Math.floor(e)===e},"integer"),O6=o(function(e){if(fqe!=="undefined")return e!=null&&e instanceof HTMLElement},"htmlElement"),yo=o(function(e){return h4(e)||sge(e)},"elementOrCollection"),h4=o(function(e){return u4(e)==="collection"&&e._private.single},"element"),sge=o(function(e){return u4(e)==="collection"&&!e._private.single},"collection"),OB=o(function(e){return u4(e)==="core"},"core"),oge=o(function(e){return u4(e)==="stylesheet"},"stylesheet"),mqe=o(function(e){return u4(e)==="event"},"event"),Rf=o(function(e){return e==null?!0:!!(e===""||e.match(/^\s+$/))},"emptyString"),gqe=o(function(e){return typeof HTMLElement>"u"?!1:e instanceof HTMLElement},"domElement"),yqe=o(function(e){return Vr(e)&&_t(e.x1)&&_t(e.x2)&&_t(e.y1)&&_t(e.y2)},"boundingBox"),vqe=o(function(e){return dqe(e)&&li(e.then)},"promise"),xqe=o(function(){return $0e&&$0e.userAgent.match(/msie|trident|edge/i)},"ms"),Jb=o(function(e,r){r||(r=o(function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var a=[],s=0;sr?1:0},"ascending"),Cqe=o(function(e,r){return-1*cge(e,r)},"descending"),ir=Object.assign!=null?Object.assign.bind(Object):function(t){for(var e=arguments,r=1;r1&&(v-=1),v<1/6?g+(y-g)*6*v:v<1/2?y:v<2/3?g+(y-g)*(2/3-v)*6:g}o(f,"hue2rgb");var d=new RegExp("^"+wqe+"$").exec(e);if(d){if(n=parseInt(d[1]),n<0?n=(360- -1*n%360)%360:n>360&&(n=n%360),n/=360,i=parseFloat(d[2]),i<0||i>100||(i=i/100,a=parseFloat(d[3]),a<0||a>100)||(a=a/100,s=d[4],s!==void 0&&(s=parseFloat(s),s<0||s>1)))return;if(i===0)l=u=h=Math.round(a*255);else{var p=a<.5?a*(1+i):a+i-a*i,m=2*a-p;l=Math.round(255*f(m,p,n+1/3)),u=Math.round(255*f(m,p,n)),h=Math.round(255*f(m,p,n-1/3))}r=[l,u,h,s]}return r},"hsl2tuple"),Dqe=o(function(e){var r,n=new RegExp("^"+bqe+"$").exec(e);if(n){r=[];for(var i=[],a=1;a<=3;a++){var s=n[a];if(s[s.length-1]==="%"&&(i[a]=!0),s=parseFloat(s),i[a]&&(s=s/100*255),s<0||s>255)return;r.push(Math.floor(s))}var l=i[1]||i[2]||i[3],u=i[1]&&i[2]&&i[3];if(l&&!u)return;var h=n[4];if(h!==void 0){if(h=parseFloat(h),h<0||h>1)return;r.push(h)}}return r},"rgb2tuple"),Lqe=o(function(e){return Rqe[e.toLowerCase()]},"colorname2tuple"),uge=o(function(e){return(kn(e)?e:null)||Lqe(e)||Aqe(e)||Dqe(e)||_qe(e)},"color2tuple"),Rqe={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},hge=o(function(e){for(var r=e.map,n=e.keys,i=n.length,a=0;a1&&arguments[1]!==void 0?arguments[1]:U1,n=r,i;i=e.next(),!i.done;)n=n*gge+i.value|0;return n},"hashIterableInts"),e4=o(function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:U1;return r*gge+e|0},"hashInt"),t4=o(function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Wb;return(r<<5)+r+e|0},"hashIntAlt"),yYe=o(function(e,r){return e*2097152+r},"combineHashes"),Sf=o(function(e){return e[0]*2097152+e[1]},"combineHashesArray"),f6=o(function(e,r){return[e4(e[0],r[0]),t4(e[1],r[1])]},"hashArrays"),vYe=o(function(e,r){var n={value:0,done:!1},i=0,a=e.length,s={next:o(function(){return i=0&&!(e[i]===r&&(e.splice(i,1),n));i--);},"removeFromArray"),$B=o(function(e){e.splice(0,e.length)},"clearArray"),SYe=o(function(e,r){for(var n=0;n"u"?"undefined":Hi(Set))!==AYe?Set:_Ye,j6=o(function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0||r===void 0||!OB(e)){oi("An element must have a core reference and parameters set");return}var i=r.group;if(i==null&&(r.data&&r.data.source!=null&&r.data.target!=null?i="edges":i="nodes"),i!=="nodes"&&i!=="edges"){oi("An element must be of type `nodes` or `edges`; you specified `"+i+"`");return}this.length=1,this[0]=this;var a=this._private={cy:e,single:!0,data:r.data||{},position:r.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:i,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!r.selected,selectable:r.selectable===void 0?!0:!!r.selectable,locked:!!r.locked,grabbed:!1,grabbable:r.grabbable===void 0?!0:!!r.grabbable,pannable:r.pannable===void 0?i==="edges":!!r.pannable,active:!1,classes:new ey,animation:{current:[],queue:[]},rscratch:{},scratch:r.scratch||{},edges:[],children:[],parent:r.parent&&r.parent.isNode()?r.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(a.position.x==null&&(a.position.x=0),a.position.y==null&&(a.position.y=0),r.renderedPosition){var s=r.renderedPosition,l=e.pan(),u=e.zoom();a.position={x:(s.x-l.x)/u,y:(s.y-l.y)/u}}var h=[];kn(r.classes)?h=r.classes:Jt(r.classes)&&(h=r.classes.split(/\s+/));for(var f=0,d=h.length;fb?1:0},"defaultCmp"),f=o(function(x,b,T,C,w){var E;if(T==null&&(T=0),w==null&&(w=n),T<0)throw new Error("lo must be non-negative");for(C==null&&(C=x.length);TO;0<=O?D++:D--)A.push(D);return A}.apply(this).reverse(),_=[],C=0,w=E.length;CR;0<=R?++A:--A)k.push(s(x,T));return k},"nsmallest"),y=o(function(x,b,T,C){var w,E,_;for(C==null&&(C=n),w=x[T];T>b;){if(_=T-1>>1,E=x[_],C(w,E)<0){x[T]=E,T=_;continue}break}return x[T]=w},"_siftdown"),v=o(function(x,b,T){var C,w,E,_,A;for(T==null&&(T=n),w=x.length,A=b,E=x[b],C=2*b+1;C0;){var E=b.pop(),_=v(E),A=E.id();if(p[A]=_,_!==1/0)for(var D=E.neighborhood().intersect(g),O=0;O0)for(B.unshift(P);d[z];){var $=d[z];B.unshift($.edge),B.unshift($.node),F=$.node,z=F.id()}return l.spawn(B)},"pathTo")}},"dijkstra")},NYe={kruskal:o(function(e){e=e||function(T){return 1};for(var r=this.byGroup(),n=r.nodes,i=r.edges,a=n.length,s=new Array(a),l=n,u=o(function(C){for(var w=0;w0;){if(w(),_++,C===f){for(var A=[],D=a,O=f,R=x[O];A.unshift(D),R!=null&&A.unshift(R),D=v[O],D!=null;)O=D.id(),R=x[O];return{found:!0,distance:d[C],path:this.spawn(A),steps:_}}m[C]=!0;for(var k=T._private.edges,L=0;LR&&(g[O]=R,b[O]=D,T[O]=w),!a){var k=D*f+A;!a&&g[k]>R&&(g[k]=R,b[k]=A,T[k]=w)}}}for(var L=0;L1&&arguments[1]!==void 0?arguments[1]:s,ye=T(ae),Be=[],He=ye;;){if(He==null)return r.spawn();var ze=b(He),Le=ze.edge,Ie=ze.pred;if(Be.unshift(He[0]),He.same(Oe)&&Be.length>0)break;Le!=null&&Be.unshift(Le),He=Ie}return u.spawn(Be)},"pathTo"),E=0;E=0;f--){var d=h[f],p=d[1],m=d[2];(r[p]===l&&r[m]===u||r[p]===u&&r[m]===l)&&h.splice(f,1)}for(var g=0;gi;){var a=Math.floor(Math.random()*r.length);r=zYe(a,e,r),n--}return r},"contractUntil"),GYe={kargerStein:o(function(){var e=this,r=this.byGroup(),n=r.nodes,i=r.edges;i.unmergeBy(function(B){return B.isLoop()});var a=n.length,s=i.length,l=Math.ceil(Math.pow(Math.log(a)/Math.LN2,2)),u=Math.floor(a/$Ye);if(a<2){oi("At least 2 nodes are required for Karger-Stein algorithm");return}for(var h=[],f=0;f1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,i=1/0,a=r;a1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,i=-1/0,a=r;a1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,i=0,a=0,s=r;s1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;i?e=e.slice(r,n):(n0&&e.splice(0,r));for(var l=0,u=e.length-1;u>=0;u--){var h=e[u];s?isFinite(h)||(e[u]=-1/0,l++):e.splice(u,1)}a&&e.sort(function(p,m){return p-m});var f=e.length,d=Math.floor(f/2);return f%2!==0?e[d+1+l]:(e[d-1+l]+e[d+l])/2},"median"),YYe=o(function(e){return Math.PI*e/180},"deg2rad"),d6=o(function(e,r){return Math.atan2(r,e)-Math.PI/2},"getAngleFromDisp"),zB=Math.log2||function(t){return Math.log(t)/Math.log(2)},Ege=o(function(e){return e>0?1:e<0?-1:0},"signum"),Yp=o(function(e,r){return Math.sqrt(Gp(e,r))},"dist"),Gp=o(function(e,r){var n=r.x-e.x,i=r.y-e.y;return n*n+i*i},"sqdist"),XYe=o(function(e){for(var r=e.length,n=0,i=0;i=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(e.w!=null&&e.h!=null&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},"makeBoundingBox"),KYe=o(function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},"copyBoundingBox"),QYe=o(function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},"clearBoundingBox"),ZYe=o(function(e,r,n){return{x1:e.x1+r,x2:e.x2+r,y1:e.y1+n,y2:e.y2+n,w:e.w,h:e.h}},"shiftBoundingBox"),Sge=o(function(e,r){e.x1=Math.min(e.x1,r.x1),e.x2=Math.max(e.x2,r.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,r.y1),e.y2=Math.max(e.y2,r.y2),e.h=e.y2-e.y1},"updateBoundingBox"),JYe=o(function(e,r,n){e.x1=Math.min(e.x1,r),e.x2=Math.max(e.x2,r),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},"expandBoundingBoxByPoint"),C6=o(function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.x1-=r,e.x2+=r,e.y1-=r,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},"expandBoundingBox"),A6=o(function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],n,i,a,s;if(r.length===1)n=i=a=s=r[0];else if(r.length===2)n=a=r[0],s=i=r[1];else if(r.length===4){var l=Li(r,4);n=l[0],i=l[1],a=l[2],s=l[3]}return e.x1-=s,e.x2+=i,e.y1-=n,e.y2+=a,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},"expandBoundingBoxSides"),Y0e=o(function(e,r){e.x1=r.x1,e.y1=r.y1,e.x2=r.x2,e.y2=r.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},"assignBoundingBox"),GB=o(function(e,r){return!(e.x1>r.x2||r.x1>e.x2||e.x2r.y2||r.y1>e.y2)},"boundingBoxesIntersect"),Q1=o(function(e,r,n){return e.x1<=r&&r<=e.x2&&e.y1<=n&&n<=e.y2},"inBoundingBox"),eXe=o(function(e,r){return Q1(e,r.x,r.y)},"pointInBoundingBox"),Cge=o(function(e,r){return Q1(e,r.x1,r.y1)&&Q1(e,r.x2,r.y2)},"boundingBoxInBoundingBox"),Age=o(function(e,r,n,i,a,s,l){var u=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"auto",h=u==="auto"?Xp(a,s):u,f=a/2,d=s/2;h=Math.min(h,f,d);var p=h!==f,m=h!==d,g;if(p){var y=n-f+h-l,v=i-d-l,x=n+f-h+l,b=v;if(g=_f(e,r,n,i,y,v,x,b,!1),g.length>0)return g}if(m){var T=n+f+l,C=i-d+h-l,w=T,E=i+d-h+l;if(g=_f(e,r,n,i,T,C,w,E,!1),g.length>0)return g}if(p){var _=n-f+h-l,A=i+d+l,D=n+f-h+l,O=A;if(g=_f(e,r,n,i,_,A,D,O,!1),g.length>0)return g}if(m){var R=n-f-l,k=i-d+h-l,L=R,S=i+d-h+l;if(g=_f(e,r,n,i,R,k,L,S,!1),g.length>0)return g}var I;{var M=n-f+h,P=i-d+h;if(I=qb(e,r,n,i,M,P,h+l),I.length>0&&I[0]<=M&&I[1]<=P)return[I[0],I[1]]}{var B=n+f-h,F=i-d+h;if(I=qb(e,r,n,i,B,F,h+l),I.length>0&&I[0]>=B&&I[1]<=F)return[I[0],I[1]]}{var z=n+f-h,$=i+d-h;if(I=qb(e,r,n,i,z,$,h+l),I.length>0&&I[0]>=z&&I[1]>=$)return[I[0],I[1]]}{var U=n-f+h,K=i+d-h;if(I=qb(e,r,n,i,U,K,h+l),I.length>0&&I[0]<=U&&I[1]>=K)return[I[0],I[1]]}return[]},"roundRectangleIntersectLine"),tXe=o(function(e,r,n,i,a,s,l){var u=l,h=Math.min(n,a),f=Math.max(n,a),d=Math.min(i,s),p=Math.max(i,s);return h-u<=e&&e<=f+u&&d-u<=r&&r<=p+u},"inLineVicinity"),rXe=o(function(e,r,n,i,a,s,l,u,h){var f={x1:Math.min(n,l,a)-h,x2:Math.max(n,l,a)+h,y1:Math.min(i,u,s)-h,y2:Math.max(i,u,s)+h};return!(ef.x2||rf.y2)},"inBezierVicinity"),nXe=o(function(e,r,n,i){n-=i;var a=r*r-4*e*n;if(a<0)return[];var s=Math.sqrt(a),l=2*e,u=(-r+s)/l,h=(-r-s)/l;return[u,h]},"solveQuadratic"),iXe=o(function(e,r,n,i,a){var s=1e-5;e===0&&(e=s),r/=e,n/=e,i/=e;var l,u,h,f,d,p,m,g;if(u=(3*n-r*r)/9,h=-(27*i)+r*(9*n-2*(r*r)),h/=54,l=u*u*u+h*h,a[1]=0,m=r/3,l>0){d=h+Math.sqrt(l),d=d<0?-Math.pow(-d,1/3):Math.pow(d,1/3),p=h-Math.sqrt(l),p=p<0?-Math.pow(-p,1/3):Math.pow(p,1/3),a[0]=-m+d+p,m+=(d+p)/2,a[4]=a[2]=-m,m=Math.sqrt(3)*(-p+d)/2,a[3]=m,a[5]=-m;return}if(a[5]=a[3]=0,l===0){g=h<0?-Math.pow(-h,1/3):Math.pow(h,1/3),a[0]=-m+2*g,a[4]=a[2]=-(g+m);return}u=-u,f=u*u*u,f=Math.acos(h/Math.sqrt(f)),g=2*Math.sqrt(u),a[0]=-m+g*Math.cos(f/3),a[2]=-m+g*Math.cos((f+2*Math.PI)/3),a[4]=-m+g*Math.cos((f+4*Math.PI)/3)},"solveCubic"),aXe=o(function(e,r,n,i,a,s,l,u){var h=1*n*n-4*n*a+2*n*l+4*a*a-4*a*l+l*l+i*i-4*i*s+2*i*u+4*s*s-4*s*u+u*u,f=1*9*n*a-3*n*n-3*n*l-6*a*a+3*a*l+9*i*s-3*i*i-3*i*u-6*s*s+3*s*u,d=1*3*n*n-6*n*a+n*l-n*e+2*a*a+2*a*e-l*e+3*i*i-6*i*s+i*u-i*r+2*s*s+2*s*r-u*r,p=1*n*a-n*n+n*e-a*e+i*s-i*i+i*r-s*r,m=[];iXe(h,f,d,p,m);for(var g=1e-7,y=[],v=0;v<6;v+=2)Math.abs(m[v+1])=0&&m[v]<=1&&y.push(m[v]);y.push(1),y.push(0);for(var x=-1,b,T,C,w=0;w=0?Ch?(e-a)*(e-a)+(r-s)*(r-s):f-p},"sqdistToFiniteLine"),Hs=o(function(e,r,n){for(var i,a,s,l,u,h=0,f=0;f=e&&e>=s||i<=e&&e<=s)u=(e-i)/(s-i)*(l-a)+a,u>r&&h++;else continue;return h%2!==0},"pointInsidePolygonPoints"),eh=o(function(e,r,n,i,a,s,l,u,h){var f=new Array(n.length),d;u[0]!=null?(d=Math.atan(u[1]/u[0]),u[0]<0?d=d+Math.PI/2:d=-d-Math.PI/2):d=u;for(var p=Math.cos(-d),m=Math.sin(-d),g=0;g0){var v=$6(f,-h);y=F6(v)}else y=f;return Hs(e,r,y)},"pointInsidePolygon"),oXe=o(function(e,r,n,i,a,s,l,u){for(var h=new Array(n.length*2),f=0;f=0&&v<=1&&b.push(v),x>=0&&x<=1&&b.push(x),b.length===0)return[];var T=b[0]*u[0]+e,C=b[0]*u[1]+r;if(b.length>1){if(b[0]==b[1])return[T,C];var w=b[1]*u[0]+e,E=b[1]*u[1]+r;return[T,C,w,E]}else return[T,C]},"intersectLineCircle"),iB=o(function(e,r,n){return r<=e&&e<=n||n<=e&&e<=r?e:e<=r&&r<=n||n<=r&&r<=e?r:n},"midOfThree"),_f=o(function(e,r,n,i,a,s,l,u,h){var f=e-a,d=n-e,p=l-a,m=r-s,g=i-r,y=u-s,v=p*m-y*f,x=d*m-g*f,b=y*d-p*g;if(b!==0){var T=v/b,C=x/b,w=.001,E=0-w,_=1+w;return E<=T&&T<=_&&E<=C&&C<=_?[e+T*d,r+T*g]:h?[e+T*d,r+T*g]:[]}else return v===0||x===0?iB(e,n,l)===l?[l,u]:iB(e,n,a)===a?[a,s]:iB(a,l,n)===n?[n,i]:[]:[]},"finiteLinesIntersect"),i4=o(function(e,r,n,i,a,s,l,u){var h=[],f,d=new Array(n.length),p=!0;s==null&&(p=!1);var m;if(p){for(var g=0;g0){var y=$6(d,-u);m=F6(y)}else m=d}else m=n;for(var v,x,b,T,C=0;C2){for(var g=[f[0],f[1]],y=Math.pow(g[0]-e,2)+Math.pow(g[1]-r,2),v=1;vf&&(f=C)},"set"),get:o(function(T){return h[T]},"get")},p=0;p0?M=I.edgesTo(S)[0]:M=S.edgesTo(I)[0];var P=i(M);S=S.id(),A[S]>A[k]+P&&(A[S]=A[k]+P,D.nodes.indexOf(S)<0?D.push(S):D.updateItem(S),_[S]=0,E[S]=[]),A[S]==A[k]+P&&(_[S]=_[S]+_[k],E[S].push(k))}else for(var B=0;B0;){for(var U=w.pop(),K=0;K0&&l.push(n[u]);l.length!==0&&a.push(i.collection(l))}return a},"assign"),kXe=o(function(e,r){for(var n=0;n5&&arguments[5]!==void 0?arguments[5]:CXe,l=i,u,h,f=0;f=2?Fb(e,r,n,0,Z0e,AXe):Fb(e,r,n,0,Q0e)},"euclidean"),squaredEuclidean:o(function(e,r,n){return Fb(e,r,n,0,Z0e)},"squaredEuclidean"),manhattan:o(function(e,r,n){return Fb(e,r,n,0,Q0e)},"manhattan"),max:o(function(e,r,n){return Fb(e,r,n,-1/0,_Xe)},"max")};Z1["squared-euclidean"]=Z1.squaredEuclidean;Z1.squaredeuclidean=Z1.squaredEuclidean;o(Q6,"clusteringDistance");DXe=aa({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),UB=o(function(e){return DXe(e)},"setOptions"),z6=o(function(e,r,n,i,a){var s=a!=="kMedoids",l=s?function(d){return n[d]}:function(d){return i[d](n)},u=o(function(p){return i[p](r)},"getQ"),h=n,f=r;return Q6(e,i.length,l,u,h,f)},"getDist"),aB=o(function(e,r,n){for(var i=n.length,a=new Array(i),s=new Array(i),l=new Array(r),u=null,h=0;hn)return!1}return!0},"haveMatricesConverged"),NXe=o(function(e,r,n){for(var i=0;il&&(l=r[h][f],u=f);a[u].push(e[h])}for(var d=0;d=a.threshold||a.mode==="dendrogram"&&e.length===1)return!1;var g=r[s],y=r[i[s]],v;a.mode==="dendrogram"?v={left:g,right:y,key:g.key}:v={value:g.value.concat(y.value),key:g.key},e[g.index]=v,e.splice(y.index,1),r[g.key]=v;for(var x=0;xn[y.key][b.key]&&(u=n[y.key][b.key])):a.linkage==="max"?(u=n[g.key][b.key],n[g.key][b.key]0&&i.push(a);return i},"findExemplars"),ime=o(function(e,r,n){for(var i=[],a=0;al&&(s=h,l=r[a*e+h])}s>0&&i.push(s)}for(var f=0;fh&&(u=f,h=d)}n[a]=s[u]}return i=ime(e,r,n),i},"assign"),ame=o(function(e){for(var r=this.cy(),n=this.nodes(),i=qXe(e),a={},s=0;s=R?(k=R,R=S,L=I):S>k&&(k=S);for(var M=0;M0?1:0;_[D%i.minIterations*l+U]=K,$+=K}if($>0&&(D>=i.minIterations-1||D==i.maxIterations-1)){for(var ee=0,Y=0;Y1||E>1)&&(l=!0),d[T]=[],b.outgoers().forEach(function(A){A.isEdge()&&d[T].push(A.id())})}else p[T]=[void 0,b.target().id()]}):s.forEach(function(b){var T=b.id();if(b.isNode()){var C=b.degree(!0);C%2&&(u?h?l=!0:h=T:u=T),d[T]=[],b.connectedEdges().forEach(function(w){return d[T].push(w.id())})}else p[T]=[b.source().id(),b.target().id()]});var m={found:!1,trail:void 0};if(l)return m;if(h&&u)if(a){if(f&&h!=f)return m;f=h}else{if(f&&h!=f&&u!=f)return m;f||(f=h)}else f||(f=s[0].id());var g=o(function(T){for(var C=T,w=[T],E,_,A;d[C].length;)E=d[C].shift(),_=p[E][0],A=p[E][1],C!=A?(d[A]=d[A].filter(function(D){return D!=E}),C=A):!a&&C!=_&&(d[_]=d[_].filter(function(D){return D!=E}),C=_),w.unshift(E),w.unshift(C);return w},"walk"),y=[],v=[];for(v=g(f);v.length!=1;)d[v[0]].length==0?(y.unshift(s.getElementById(v.shift())),y.unshift(s.getElementById(v.shift()))):v=g(v.shift()).concat(v);y.unshift(s.getElementById(v.shift()));for(var x in d)if(d[x].length)return m;return m.found=!0,m.trail=this.spawn(y,!0),m},"hierholzer")},g6=o(function(){var e=this,r={},n=0,i=0,a=[],s=[],l={},u=o(function(p,m){for(var g=s.length-1,y=[],v=e.spawn();s[g].x!=p||s[g].y!=m;)y.push(s.pop().edge),g--;y.push(s.pop().edge),y.forEach(function(x){var b=x.connectedNodes().intersection(e);v.merge(x),b.forEach(function(T){var C=T.id(),w=T.connectedEdges().intersection(e);v.merge(T),r[C].cutVertex?v.merge(w.filter(function(E){return E.isLoop()})):v.merge(w)})}),a.push(v)},"buildComponent"),h=o(function d(p,m,g){p===g&&(i+=1),r[m]={id:n,low:n++,cutVertex:!1};var y=e.getElementById(m).connectedEdges().intersection(e);if(y.size()===0)a.push(e.spawn(e.getElementById(m)));else{var v,x,b,T;y.forEach(function(C){v=C.source().id(),x=C.target().id(),b=v===m?x:v,b!==g&&(T=C.id(),l[T]||(l[T]=!0,s.push({x:m,y:b,edge:C})),b in r?r[m].low=Math.min(r[m].low,r[b].id):(d(p,b,m),r[m].low=Math.min(r[m].low,r[b].low),r[m].id<=r[b].low&&(r[m].cutVertex=!0,u(m,b))))})}},"biconnectedSearch");e.forEach(function(d){if(d.isNode()){var p=d.id();p in r||(i=0,h(p,p),r[p].cutVertex=i>1)}});var f=Object.keys(r).filter(function(d){return r[d].cutVertex}).map(function(d){return e.getElementById(d)});return{cut:e.spawn(f),components:a}},"hopcroftTarjanBiconnected"),eje={hopcroftTarjanBiconnected:g6,htbc:g6,htb:g6,hopcroftTarjanBiconnectedComponents:g6},y6=o(function(){var e=this,r={},n=0,i=[],a=[],s=e.spawn(e),l=o(function u(h){a.push(h),r[h]={index:n,low:n++,explored:!1};var f=e.getElementById(h).connectedEdges().intersection(e);if(f.forEach(function(y){var v=y.target().id();v!==h&&(v in r||u(v),r[v].explored||(r[h].low=Math.min(r[h].low,r[v].low)))}),r[h].index===r[h].low){for(var d=e.spawn();;){var p=a.pop();if(d.merge(e.getElementById(p)),r[p].low=r[h].index,r[p].explored=!0,p===h)break}var m=d.edgesWith(d),g=d.merge(m);i.push(g),s=s.difference(g)}},"stronglyConnectedSearch");return e.forEach(function(u){if(u.isNode()){var h=u.id();h in r||l(h)}}),{cut:s,components:i}},"tarjanStronglyConnected"),tje={tarjanStronglyConnected:y6,tsc:y6,tscc:y6,tarjanStronglyConnectedComponents:y6},Ige={};[r4,RYe,NYe,IYe,PYe,FYe,GYe,fXe,Y1,X1,bB,SXe,FXe,HXe,QXe,JXe,eje,tje].forEach(function(t){ir(Ige,t)});Oge=0,Pge=1,Bge=2,th=o(function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=Oge,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof e=="function"&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))},"api");th.prototype={fulfill:o(function(e){return sme(this,Pge,"fulfillValue",e)},"fulfill"),reject:o(function(e){return sme(this,Bge,"rejectReason",e)},"reject"),then:o(function(e,r){var n=this,i=new th;return n.onFulfilled.push(lme(e,i,"fulfill")),n.onRejected.push(lme(r,i,"reject")),Fge(n),i.proxy},"then")};sme=o(function(e,r,n,i){return e.state===Oge&&(e.state=r,e[n]=i,Fge(e)),e},"deliver"),Fge=o(function(e){e.state===Pge?ome(e,"onFulfilled",e.fulfillValue):e.state===Bge&&ome(e,"onRejected",e.rejectReason)},"execute"),ome=o(function(e,r,n){if(e[r].length!==0){var i=e[r];e[r]=[];var a=o(function(){for(var l=0;l0},"animatedImpl")},"animated"),clearQueue:o(function(){return o(function(){var r=this,n=r.length!==void 0,i=n?r:[r],a=this._private.cy||this;if(!a.styleEnabled())return this;for(var s=0;s0&&this.spawn(i).updateStyle().emit("class"),r},"classes"),addClass:o(function(e){return this.toggleClass(e,!0)},"addClass"),hasClass:o(function(e){var r=this[0];return r!=null&&r._private.classes.has(e)},"hasClass"),toggleClass:o(function(e,r){kn(e)||(e=e.match(/\S+/g)||[]);for(var n=this,i=r===void 0,a=[],s=0,l=n.length;s0&&this.spawn(a).updateStyle().emit("class"),n},"toggleClass"),removeClass:o(function(e){return this.toggleClass(e,!1)},"removeClass"),flashClass:o(function(e,r){var n=this;if(r==null)r=250;else if(r===0)return n;return n.addClass(e),setTimeout(function(){n.removeClass(e)},r),n},"flashClass")};_6.className=_6.classNames=_6.classes;Gr={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:`"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,number:Ui,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Gr.variable="(?:[\\w-.]|(?:\\\\"+Gr.metaChar+"))+";Gr.className="(?:[\\w-]|(?:\\\\"+Gr.metaChar+"))+";Gr.value=Gr.string+"|"+Gr.number;Gr.id=Gr.variable;(function(){var t,e,r;for(t=Gr.comparatorOp.split("|"),r=0;r=0)&&e!=="="&&(Gr.comparatorOp+="|\\!"+e)})();mn=o(function(){return{checks:[]}},"newQuery"),$t={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},wB=[{selector:":selected",matches:o(function(e){return e.selected()},"matches")},{selector:":unselected",matches:o(function(e){return!e.selected()},"matches")},{selector:":selectable",matches:o(function(e){return e.selectable()},"matches")},{selector:":unselectable",matches:o(function(e){return!e.selectable()},"matches")},{selector:":locked",matches:o(function(e){return e.locked()},"matches")},{selector:":unlocked",matches:o(function(e){return!e.locked()},"matches")},{selector:":visible",matches:o(function(e){return e.visible()},"matches")},{selector:":hidden",matches:o(function(e){return!e.visible()},"matches")},{selector:":transparent",matches:o(function(e){return e.transparent()},"matches")},{selector:":grabbed",matches:o(function(e){return e.grabbed()},"matches")},{selector:":free",matches:o(function(e){return!e.grabbed()},"matches")},{selector:":removed",matches:o(function(e){return e.removed()},"matches")},{selector:":inside",matches:o(function(e){return!e.removed()},"matches")},{selector:":grabbable",matches:o(function(e){return e.grabbable()},"matches")},{selector:":ungrabbable",matches:o(function(e){return!e.grabbable()},"matches")},{selector:":animated",matches:o(function(e){return e.animated()},"matches")},{selector:":unanimated",matches:o(function(e){return!e.animated()},"matches")},{selector:":parent",matches:o(function(e){return e.isParent()},"matches")},{selector:":childless",matches:o(function(e){return e.isChildless()},"matches")},{selector:":child",matches:o(function(e){return e.isChild()},"matches")},{selector:":orphan",matches:o(function(e){return e.isOrphan()},"matches")},{selector:":nonorphan",matches:o(function(e){return e.isChild()},"matches")},{selector:":compound",matches:o(function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()},"matches")},{selector:":loop",matches:o(function(e){return e.isLoop()},"matches")},{selector:":simple",matches:o(function(e){return e.isSimple()},"matches")},{selector:":active",matches:o(function(e){return e.active()},"matches")},{selector:":inactive",matches:o(function(e){return!e.active()},"matches")},{selector:":backgrounding",matches:o(function(e){return e.backgrounding()},"matches")},{selector:":nonbackgrounding",matches:o(function(e){return!e.backgrounding()},"matches")}].sort(function(t,e){return Cqe(t.selector,e.selector)}),pQe=function(){for(var t={},e,r=0;r0&&f.edgeCount>0)return un("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(f.edgeCount>1)return un("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;f.edgeCount===1&&un("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},"parse"),bQe=o(function(){if(this.toStringCache!=null)return this.toStringCache;for(var e=o(function(f){return f??""},"clean"),r=o(function(f){return Jt(f)?'"'+f+'"':e(f)},"cleanVal"),n=o(function(f){return" "+f+" "},"space"),i=o(function(f,d){var p=f.type,m=f.value;switch(p){case $t.GROUP:{var g=e(m);return g.substring(0,g.length-1)}case $t.DATA_COMPARE:{var y=f.field,v=f.operator;return"["+y+n(e(v))+r(m)+"]"}case $t.DATA_BOOL:{var x=f.operator,b=f.field;return"["+e(x)+b+"]"}case $t.DATA_EXIST:{var T=f.field;return"["+T+"]"}case $t.META_COMPARE:{var C=f.operator,w=f.field;return"[["+w+n(e(C))+r(m)+"]]"}case $t.STATE:return m;case $t.ID:return"#"+m;case $t.CLASS:return"."+m;case $t.PARENT:case $t.CHILD:return a(f.parent,d)+n(">")+a(f.child,d);case $t.ANCESTOR:case $t.DESCENDANT:return a(f.ancestor,d)+" "+a(f.descendant,d);case $t.COMPOUND_SPLIT:{var E=a(f.left,d),_=a(f.subject,d),A=a(f.right,d);return E+(E.length>0?" ":"")+_+A}case $t.TRUE:return""}},"checkToString"),a=o(function(f,d){return f.checks.reduce(function(p,m,g){return p+(d===f&&g===0?"$":"")+i(m,d)},"")},"queryToString"),s="",l=0;l1&&l=0&&(r=r.replace("!",""),d=!0),r.indexOf("@")>=0&&(r=r.replace("@",""),f=!0),(a||l||f)&&(u=!a&&!s?"":""+e,h=""+n),f&&(e=u=u.toLowerCase(),n=h=h.toLowerCase()),r){case"*=":i=u.indexOf(h)>=0;break;case"$=":i=u.indexOf(h,u.length-h.length)>=0;break;case"^=":i=u.indexOf(h)===0;break;case"=":i=e===n;break;case">":p=!0,i=e>n;break;case">=":p=!0,i=e>=n;break;case"<":p=!0,i=e1&&arguments[1]!==void 0?arguments[1]:!0;return XB(this,t,e,Yge)};o(Xge,"addParent");J1.forEachUp=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return XB(this,t,e,Xge)};o(_Qe,"addParentAndChildren");J1.forEachUpAndDown=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return XB(this,t,e,_Qe)};J1.ancestors=J1.parents;s4=jge={data:cn.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:cn.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:cn.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:cn.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:cn.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:cn.removeData({field:"rscratch",triggerEvent:!1}),id:o(function(){var e=this[0];if(e)return e._private.data.id},"id")};s4.attr=s4.data;s4.removeAttr=s4.removeData;DQe=jge,tC={};o(oB,"defineDegreeFunction");ir(tC,{degree:oB(function(t,e){return e.source().same(e.target())?2:1}),indegree:oB(function(t,e){return e.target().same(t)?1:0}),outdegree:oB(function(t,e){return e.source().same(t)?1:0})});o($1,"defineDegreeBoundsFunction");ir(tC,{minDegree:$1("degree",function(t,e){return te}),minIndegree:$1("indegree",function(t,e){return te}),minOutdegree:$1("outdegree",function(t,e){return te})});ir(tC,{totalDegree:o(function(e){for(var r=0,n=this.nodes(),i=0;i0,p=d;d&&(f=f[0]);var m=p?f.position():{x:0,y:0};r!==void 0?h.position(e,r+m[e]):a!==void 0&&h.position({x:a.x+m.x,y:a.y+m.y})}else{var g=n.position(),y=l?n.parent():null,v=y&&y.length>0,x=v;v&&(y=y[0]);var b=x?y.position():{x:0,y:0};return a={x:g.x-b.x,y:g.y-b.y},e===void 0?a:a[e]}else if(!s)return;return this},"relativePosition")};Hl.modelPosition=Hl.point=Hl.position;Hl.modelPositions=Hl.points=Hl.positions;Hl.renderedPoint=Hl.renderedPosition;Hl.relativePoint=Hl.relativePosition;LQe=Kge;j1=$f={};$f.renderedBoundingBox=function(t){var e=this.boundingBox(t),r=this.cy(),n=r.zoom(),i=r.pan(),a=e.x1*n+i.x,s=e.x2*n+i.x,l=e.y1*n+i.y,u=e.y2*n+i.y;return{x1:a,x2:s,y1:l,y2:u,w:s-a,h:u-l}};$f.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=this.cy();return!e.styleEnabled()||!e.hasCompoundNodes()?this:(this.forEachUp(function(r){if(r.isParent()){var n=r._private;n.compoundBoundsClean=!1,n.bbCache=null,t||r.emitAndNotify("bounds")}}),this)};$f.updateCompoundBounds=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function r(s){if(!s.isParent())return;var l=s._private,u=s.children(),h=s.pstyle("compound-sizing-wrt-labels").value==="include",f={width:{val:s.pstyle("min-width").pfValue,left:s.pstyle("min-width-bias-left"),right:s.pstyle("min-width-bias-right")},height:{val:s.pstyle("min-height").pfValue,top:s.pstyle("min-height-bias-top"),bottom:s.pstyle("min-height-bias-bottom")}},d=u.boundingBox({includeLabels:h,includeOverlays:!1,useCache:!1}),p=l.position;(d.w===0||d.h===0)&&(d={w:s.pstyle("width").pfValue,h:s.pstyle("height").pfValue},d.x1=p.x-d.w/2,d.x2=p.x+d.w/2,d.y1=p.y-d.h/2,d.y2=p.y+d.h/2);function m(D,O,R){var k=0,L=0,S=O+R;return D>0&&S>0&&(k=O/S*D,L=R/S*D),{biasDiff:k,biasComplementDiff:L}}o(m,"computeBiasValues");function g(D,O,R,k){if(R.units==="%")switch(k){case"width":return D>0?R.pfValue*D:0;case"height":return O>0?R.pfValue*O:0;case"average":return D>0&&O>0?R.pfValue*(D+O)/2:0;case"min":return D>0&&O>0?D>O?R.pfValue*O:R.pfValue*D:0;case"max":return D>0&&O>0?D>O?R.pfValue*D:R.pfValue*O:0;default:return 0}else return R.units==="px"?R.pfValue:0}o(g,"computePaddingValues");var y=f.width.left.value;f.width.left.units==="px"&&f.width.val>0&&(y=y*100/f.width.val);var v=f.width.right.value;f.width.right.units==="px"&&f.width.val>0&&(v=v*100/f.width.val);var x=f.height.top.value;f.height.top.units==="px"&&f.height.val>0&&(x=x*100/f.height.val);var b=f.height.bottom.value;f.height.bottom.units==="px"&&f.height.val>0&&(b=b*100/f.height.val);var T=m(f.width.val-d.w,y,v),C=T.biasDiff,w=T.biasComplementDiff,E=m(f.height.val-d.h,x,b),_=E.biasDiff,A=E.biasComplementDiff;l.autoPadding=g(d.w,d.h,s.pstyle("padding"),s.pstyle("padding-relative-to").value),l.autoWidth=Math.max(d.w,f.width.val),p.x=(-C+d.x1+d.x2+w)/2,l.autoHeight=Math.max(d.h,f.height.val),p.y=(-_+d.y1+d.y2+A)/2}o(r,"update");for(var n=0;ne.x2?i:e.x2,e.y1=ne.y2?a:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},"updateBounds"),Vp=o(function(e,r){return r==null?e:Vl(e,r.x1,r.y1,r.x2,r.y2)},"updateBoundsFromBox"),$b=o(function(e,r,n){return Ul(e,r,n)},"prefixedProperty"),v6=o(function(e,r,n){if(!r.cy().headless()){var i=r._private,a=i.rstyle,s=a.arrowWidth/2,l=r.pstyle(n+"-arrow-shape").value,u,h;if(l!=="none"){n==="source"?(u=a.srcX,h=a.srcY):n==="target"?(u=a.tgtX,h=a.tgtY):(u=a.midX,h=a.midY);var f=i.arrowBounds=i.arrowBounds||{},d=f[n]=f[n]||{};d.x1=u-s,d.y1=h-s,d.x2=u+s,d.y2=h+s,d.w=d.x2-d.x1,d.h=d.y2-d.y1,C6(d,1),Vl(e,d.x1,d.y1,d.x2,d.y2)}}},"updateBoundsFromArrow"),lB=o(function(e,r,n){if(!r.cy().headless()){var i;n?i=n+"-":i="";var a=r._private,s=a.rstyle,l=r.pstyle(i+"label").strValue;if(l){var u=r.pstyle("text-halign"),h=r.pstyle("text-valign"),f=$b(s,"labelWidth",n),d=$b(s,"labelHeight",n),p=$b(s,"labelX",n),m=$b(s,"labelY",n),g=r.pstyle(i+"text-margin-x").pfValue,y=r.pstyle(i+"text-margin-y").pfValue,v=r.isEdge(),x=r.pstyle(i+"text-rotation"),b=r.pstyle("text-outline-width").pfValue,T=r.pstyle("text-border-width").pfValue,C=T/2,w=r.pstyle("text-background-padding").pfValue,E=2,_=d,A=f,D=A/2,O=_/2,R,k,L,S;if(v)R=p-D,k=p+D,L=m-O,S=m+O;else{switch(u.value){case"left":R=p-A,k=p;break;case"center":R=p-D,k=p+D;break;case"right":R=p,k=p+A;break}switch(h.value){case"top":L=m-_,S=m;break;case"center":L=m-O,S=m+O;break;case"bottom":L=m,S=m+_;break}}var I=g-Math.max(b,C)-w-E,M=g+Math.max(b,C)+w+E,P=y-Math.max(b,C)-w-E,B=y+Math.max(b,C)+w+E;R+=I,k+=M,L+=P,S+=B;var F=n||"main",z=a.labelBounds,$=z[F]=z[F]||{};$.x1=R,$.y1=L,$.x2=k,$.y2=S,$.w=k-R,$.h=S-L,$.leftPad=I,$.rightPad=M,$.topPad=P,$.botPad=B;var U=v&&x.strValue==="autorotate",K=x.pfValue!=null&&x.pfValue!==0;if(U||K){var ee=U?$b(a.rstyle,"labelAngle",n):x.pfValue,Y=Math.cos(ee),ce=Math.sin(ee),Z=(R+k)/2,ue=(L+S)/2;if(!v){switch(u.value){case"left":Z=k;break;case"right":Z=R;break}switch(h.value){case"top":ue=S;break;case"bottom":ue=L;break}}var Q=o(function(se,ae){return se=se-Z,ae=ae-ue,{x:se*Y-ae*ce+Z,y:se*ce+ae*Y+ue}},"rotate"),j=Q(R,L),ne=Q(R,S),te=Q(k,L),he=Q(k,S);R=Math.min(j.x,ne.x,te.x,he.x),k=Math.max(j.x,ne.x,te.x,he.x),L=Math.min(j.y,ne.y,te.y,he.y),S=Math.max(j.y,ne.y,te.y,he.y)}var le=F+"Rot",J=z[le]=z[le]||{};J.x1=R,J.y1=L,J.x2=k,J.y2=S,J.w=k-R,J.h=S-L,Vl(e,R,L,k,S),Vl(a.labelBounds.all,R,L,k,S)}return e}},"updateBoundsFromLabel"),RQe=o(function(e,r){if(!r.cy().headless()){var n=r.pstyle("outline-opacity").value,i=r.pstyle("outline-width").value;if(n>0&&i>0){var a=r.pstyle("outline-offset").value,s=r.pstyle("shape").value,l=i+a,u=(e.w+l*2)/e.w,h=(e.h+l*2)/e.h,f=0,d=0;["diamond","pentagon","round-triangle"].includes(s)?(u=(e.w+l*2.4)/e.w,d=-l/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(s)?u=(e.w+l*2.4)/e.w:s==="star"?(u=(e.w+l*2.8)/e.w,h=(e.h+l*2.6)/e.h,d=-l/3.8):s==="triangle"?(u=(e.w+l*2.8)/e.w,h=(e.h+l*2.4)/e.h,d=-l/1.4):s==="vee"&&(u=(e.w+l*4.4)/e.w,h=(e.h+l*3.8)/e.h,d=-l*.5);var p=e.h*h-e.h,m=e.w*u-e.w;if(A6(e,[Math.ceil(p/2),Math.ceil(m/2)]),f!=0||d!==0){var g=ZYe(e,f,d);Sge(e,g)}}}},"updateBoundsFromOutline"),NQe=o(function(e,r){var n=e._private.cy,i=n.styleEnabled(),a=n.headless(),s=Ws(),l=e._private,u=e.isNode(),h=e.isEdge(),f,d,p,m,g,y,v=l.rstyle,x=u&&i?e.pstyle("bounds-expansion").pfValue:[0],b=o(function(Se){return Se.pstyle("display").value!=="none"},"isDisplayed"),T=!i||b(e)&&(!h||b(e.source())&&b(e.target()));if(T){var C=0,w=0;i&&r.includeOverlays&&(C=e.pstyle("overlay-opacity").value,C!==0&&(w=e.pstyle("overlay-padding").value));var E=0,_=0;i&&r.includeUnderlays&&(E=e.pstyle("underlay-opacity").value,E!==0&&(_=e.pstyle("underlay-padding").value));var A=Math.max(w,_),D=0,O=0;if(i&&(D=e.pstyle("width").pfValue,O=D/2),u&&r.includeNodes){var R=e.position();g=R.x,y=R.y;var k=e.outerWidth(),L=k/2,S=e.outerHeight(),I=S/2;f=g-L,d=g+L,p=y-I,m=y+I,Vl(s,f,p,d,m),i&&r.includeOutlines&&RQe(s,e)}else if(h&&r.includeEdges)if(i&&!a){var M=e.pstyle("curve-style").strValue;if(f=Math.min(v.srcX,v.midX,v.tgtX),d=Math.max(v.srcX,v.midX,v.tgtX),p=Math.min(v.srcY,v.midY,v.tgtY),m=Math.max(v.srcY,v.midY,v.tgtY),f-=O,d+=O,p-=O,m+=O,Vl(s,f,p,d,m),M==="haystack"){var P=v.haystackPts;if(P&&P.length===2){if(f=P[0].x,p=P[0].y,d=P[1].x,m=P[1].y,f>d){var B=f;f=d,d=B}if(p>m){var F=p;p=m,m=F}Vl(s,f-O,p-O,d+O,m+O)}}else if(M==="bezier"||M==="unbundled-bezier"||M.endsWith("segments")||M.endsWith("taxi")){var z;switch(M){case"bezier":case"unbundled-bezier":z=v.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":z=v.linePts;break}if(z!=null)for(var $=0;$d){var Z=f;f=d,d=Z}if(p>m){var ue=p;p=m,m=ue}f-=O,d+=O,p-=O,m+=O,Vl(s,f,p,d,m)}if(i&&r.includeEdges&&h&&(v6(s,e,"mid-source"),v6(s,e,"mid-target"),v6(s,e,"source"),v6(s,e,"target")),i){var Q=e.pstyle("ghost").value==="yes";if(Q){var j=e.pstyle("ghost-offset-x").pfValue,ne=e.pstyle("ghost-offset-y").pfValue;Vl(s,s.x1+j,s.y1+ne,s.x2+j,s.y2+ne)}}var te=l.bodyBounds=l.bodyBounds||{};Y0e(te,s),A6(te,x),C6(te,1),i&&(f=s.x1,d=s.x2,p=s.y1,m=s.y2,Vl(s,f-A,p-A,d+A,m+A));var he=l.overlayBounds=l.overlayBounds||{};Y0e(he,s),A6(he,x),C6(he,1);var le=l.labelBounds=l.labelBounds||{};le.all!=null?QYe(le.all):le.all=Ws(),i&&r.includeLabels&&(r.includeMainLabels&&lB(s,e,null),h&&(r.includeSourceLabels&&lB(s,e,"source"),r.includeTargetLabels&&lB(s,e,"target")))}return s.x1=rl(s.x1),s.y1=rl(s.y1),s.x2=rl(s.x2),s.y2=rl(s.y2),s.w=rl(s.x2-s.x1),s.h=rl(s.y2-s.y1),s.w>0&&s.h>0&&T&&(A6(s,x),C6(s,1)),s},"boundingBoxImpl"),Zge=o(function(e){var r=0,n=o(function(s){return(s?1:0)<=0;l--)s(l);return this};Pf.removeAllListeners=function(){return this.removeListener("*")};Pf.emit=Pf.trigger=function(t,e,r){var n=this.listeners,i=n.length;return this.emitting++,kn(e)||(e=[e]),XQe(this,function(a,s){r!=null&&(n=[{event:s.event,type:s.type,namespace:s.namespace,callback:r}],i=n.length);for(var l=o(function(f){var d=n[f];if(d.type===s.type&&(!d.namespace||d.namespace===s.namespace||d.namespace===qQe)&&a.eventMatches(a.context,d,s)){var p=[s];e!=null&&SYe(p,e),a.beforeEmit(a.context,d,s),d.conf&&d.conf.one&&(a.listeners=a.listeners.filter(function(y){return y!==d}));var m=a.callbackContext(a.context,d,s),g=d.callback.apply(m,p);a.afterEmit(a.context,d,s),g===!1&&(s.stopPropagation(),s.preventDefault())}},"_loop2"),u=0;u1&&!s){var l=this.length-1,u=this[l],h=u._private.data.id;this[l]=void 0,this[e]=u,a.set(h,{ele:u,index:e})}return this.length--,this},"unmergeAt"),unmergeOne:o(function(e){e=e[0];var r=this._private,n=e._private.data.id,i=r.map,a=i.get(n);if(!a)return this;var s=a.index;return this.unmergeAt(s),this},"unmergeOne"),unmerge:o(function(e){var r=this._private.cy;if(!e)return this;if(e&&Jt(e)){var n=e;e=r.mutableElements().filter(n)}for(var i=0;i=0;r--){var n=this[r];e(n)&&this.unmergeAt(r)}return this},"unmergeBy"),map:o(function(e,r){for(var n=[],i=this,a=0;an&&(n=u,i=l)}return{value:n,ele:i}},"max"),min:o(function(e,r){for(var n=1/0,i,a=this,s=0;s=0&&a"u"?"undefined":Hi(Symbol))!=e&&Hi(Symbol.iterator)!=e;r&&(G6[Symbol.iterator]=function(){var n=this,i={value:void 0,done:!1},a=0,s=this.length;return nge({next:o(function(){return a1&&arguments[1]!==void 0?arguments[1]:!0,n=this[0],i=n.cy();if(i.styleEnabled()&&n){n._private.styleDirty&&(n._private.styleDirty=!1,i.style().apply(n));var a=n._private.style[e];return a??(r?i.style().getDefaultProperty(e):null)}},"parsedStyle"),numericStyle:o(function(e){var r=this[0];if(r.cy().styleEnabled()&&r){var n=r.pstyle(e);return n.pfValue!==void 0?n.pfValue:n.value}},"numericStyle"),numericStyleUnits:o(function(e){var r=this[0];if(r.cy().styleEnabled()&&r)return r.pstyle(e).units},"numericStyleUnits"),renderedStyle:o(function(e){var r=this.cy();if(!r.styleEnabled())return this;var n=this[0];if(n)return r.style().getRenderedStyle(n,e)},"renderedStyle"),style:o(function(e,r){var n=this.cy();if(!n.styleEnabled())return this;var i=!1,a=n.style();if(Vr(e)){var s=e;a.applyBypass(this,s,i),this.emitAndNotify("style")}else if(Jt(e))if(r===void 0){var l=this[0];return l?a.getStylePropertyValue(l,e):void 0}else a.applyBypass(this,e,r,i),this.emitAndNotify("style");else if(e===void 0){var u=this[0];return u?a.getRawStyle(u):void 0}return this},"style"),removeStyle:o(function(e){var r=this.cy();if(!r.styleEnabled())return this;var n=!1,i=r.style(),a=this;if(e===void 0)for(var s=0;s0&&e.push(f[0]),e.push(l[0])}return this.spawn(e,!0).filter(t)},"neighborhood"),closedNeighborhood:o(function(e){return this.neighborhood().add(this).filter(e)},"closedNeighborhood"),openNeighborhood:o(function(e){return this.neighborhood(e)},"openNeighborhood")});za.neighbourhood=za.neighborhood;za.closedNeighbourhood=za.closedNeighborhood;za.openNeighbourhood=za.openNeighborhood;ir(za,{source:nl(o(function(e){var r=this[0],n;return r&&(n=r._private.source||r.cy().collection()),n&&e?n.filter(e):n},"sourceImpl"),"source"),target:nl(o(function(e){var r=this[0],n;return r&&(n=r._private.target||r.cy().collection()),n&&e?n.filter(e):n},"targetImpl"),"target"),sources:Sme({attr:"source"}),targets:Sme({attr:"target"})});o(Sme,"defineSourceFunction");ir(za,{edgesWith:nl(Cme(),"edgesWith"),edgesTo:nl(Cme({thisIsSrc:!0}),"edgesTo")});o(Cme,"defineEdgesWithFunction");ir(za,{connectedEdges:nl(function(t){for(var e=[],r=this,n=0;n0);return s},"components"),component:o(function(){var e=this[0];return e.cy().mutableElements().components(e)[0]},"component")});za.componentsOf=za.components;ka=o(function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e===void 0){oi("A collection must have a reference to the core");return}var a=new Kc,s=!1;if(!r)r=[];else if(r.length>0&&Vr(r[0])&&!h4(r[0])){s=!0;for(var l=[],u=new ey,h=0,f=r.length;h0&&arguments[0]!==void 0?arguments[0]:!0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=this,n=r.cy(),i=n._private,a=[],s=[],l,u=0,h=r.length;u0){for(var F=l.length===r.length?r:new ka(n,l),z=0;z0&&arguments[0]!==void 0?arguments[0]:!0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=this,n=[],i={},a=r._private.cy;function s(S){for(var I=S._private.edges,M=0;M0&&(t?R.emitAndNotify("remove"):e&&R.emit("remove"));for(var k=0;kf&&Math.abs(g.v)>f;);return p?function(y){return u[y*(u.length-1)|0]}:h},"springRK4Factory")}(),Rn=o(function(e,r,n,i){var a=iZe(e,r,n,i);return function(s,l,u){return s+(l-s)*a(u)}},"cubicBezier"),L6={linear:o(function(e,r,n){return e+(r-e)*n},"linear"),ease:Rn(.25,.1,.25,1),"ease-in":Rn(.42,0,1,1),"ease-out":Rn(0,0,.58,1),"ease-in-out":Rn(.42,0,.58,1),"ease-in-sine":Rn(.47,0,.745,.715),"ease-out-sine":Rn(.39,.575,.565,1),"ease-in-out-sine":Rn(.445,.05,.55,.95),"ease-in-quad":Rn(.55,.085,.68,.53),"ease-out-quad":Rn(.25,.46,.45,.94),"ease-in-out-quad":Rn(.455,.03,.515,.955),"ease-in-cubic":Rn(.55,.055,.675,.19),"ease-out-cubic":Rn(.215,.61,.355,1),"ease-in-out-cubic":Rn(.645,.045,.355,1),"ease-in-quart":Rn(.895,.03,.685,.22),"ease-out-quart":Rn(.165,.84,.44,1),"ease-in-out-quart":Rn(.77,0,.175,1),"ease-in-quint":Rn(.755,.05,.855,.06),"ease-out-quint":Rn(.23,1,.32,1),"ease-in-out-quint":Rn(.86,0,.07,1),"ease-in-expo":Rn(.95,.05,.795,.035),"ease-out-expo":Rn(.19,1,.22,1),"ease-in-out-expo":Rn(1,0,0,1),"ease-in-circ":Rn(.6,.04,.98,.335),"ease-out-circ":Rn(.075,.82,.165,1),"ease-in-out-circ":Rn(.785,.135,.15,.86),spring:o(function(e,r,n){if(n===0)return L6.linear;var i=aZe(e,r,n);return function(a,s,l){return a+(s-a)*i(l)}},"spring"),"cubic-bezier":Rn};o(_me,"getEasedValue");o(Dme,"getValue");o(z1,"ease");o(sZe,"step$1");o(Gb,"valid");o(oZe,"startAnimation");o(Lme,"stepAll");lZe={animate:cn.animate(),animation:cn.animation(),animated:cn.animated(),clearQueue:cn.clearQueue(),delay:cn.delay(),delayAnimation:cn.delayAnimation(),stop:cn.stop(),addToAnimationPool:o(function(e){var r=this;r.styleEnabled()&&r._private.aniEles.merge(e)},"addToAnimationPool"),stopAnimationLoop:o(function(){this._private.animationsRunning=!1},"stopAnimationLoop"),startAnimationLoop:o(function(){var e=this;if(e._private.animationsRunning=!0,!e.styleEnabled())return;function r(){e._private.animationsRunning&&P6(o(function(a){Lme(a,e),r()},"animationStep"))}o(r,"headlessStep");var n=e.renderer();n&&n.beforeRender?n.beforeRender(o(function(a,s){Lme(s,e)},"rendererAnimationStep"),n.beforeRenderPriorities.animations):r()},"startAnimationLoop")},cZe={qualifierCompare:o(function(e,r){return e==null||r==null?e==null&&r==null:e.sameText(r)},"qualifierCompare"),eventMatches:o(function(e,r,n){var i=r.qualifier;return i!=null?e!==n.target&&h4(n.target)&&i.matches(n.target):!0},"eventMatches"),addEventFields:o(function(e,r){r.cy=e,r.target=e},"addEventFields"),callbackContext:o(function(e,r,n){return r.qualifier!=null?n.target:e},"callbackContext")},T6=o(function(e){return Jt(e)?new If(e):e},"argSelector"),c1e={createEmitter:o(function(){var e=this._private;return e.emitter||(e.emitter=new rC(cZe,this)),this},"createEmitter"),emitter:o(function(){return this._private.emitter},"emitter"),on:o(function(e,r,n){return this.emitter().on(e,T6(r),n),this},"on"),removeListener:o(function(e,r,n){return this.emitter().removeListener(e,T6(r),n),this},"removeListener"),removeAllListeners:o(function(){return this.emitter().removeAllListeners(),this},"removeAllListeners"),one:o(function(e,r,n){return this.emitter().one(e,T6(r),n),this},"one"),once:o(function(e,r,n){return this.emitter().one(e,T6(r),n),this},"once"),emit:o(function(e,r){return this.emitter().emit(e,r),this},"emit"),emitAndNotify:o(function(e,r){return this.emit(e),this.notify(e,r),this},"emitAndNotify")};cn.eventAliasesOn(c1e);EB={png:o(function(e){var r=this._private.renderer;return e=e||{},r.png(e)},"png"),jpg:o(function(e){var r=this._private.renderer;return e=e||{},e.bg=e.bg||"#fff",r.jpg(e)},"jpg")};EB.jpeg=EB.jpg;R6={layout:o(function(e){var r=this;if(e==null){oi("Layout options must be specified to make a layout");return}if(e.name==null){oi("A `name` must be specified to make a layout");return}var n=e.name,i=r.extension("layout",n);if(i==null){oi("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var a;Jt(e.eles)?a=r.$(e.eles):a=e.eles!=null?e.eles:r.$();var s=new i(ir({},e,{cy:r,eles:a}));return s},"layout")};R6.createLayout=R6.makeLayout=R6.layout;uZe={notify:o(function(e,r){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var i=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();r!=null&&i.merge(r);return}if(n.notificationsEnabled){var a=this.renderer();this.destroyed()||!a||a.notify(e,r)}},"notify"),notifications:o(function(e){var r=this._private;return e===void 0?r.notificationsEnabled:(r.notificationsEnabled=!!e,this)},"notifications"),noNotifications:o(function(e){this.notifications(!1),e(),this.notifications(!0)},"noNotifications"),batching:o(function(){return this._private.batchCount>0},"batching"),startBatch:o(function(){var e=this._private;return e.batchCount==null&&(e.batchCount=0),e.batchCount===0&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},"startBatch"),endBatch:o(function(){var e=this._private;if(e.batchCount===0)return this;if(e.batchCount--,e.batchCount===0){e.batchStyleEles.updateStyle();var r=this.renderer();Object.keys(e.batchNotifications).forEach(function(n){var i=e.batchNotifications[n];i.empty()?r.notify(n):r.notify(n,i)})}return this},"endBatch"),batch:o(function(e){return this.startBatch(),e(),this.endBatch(),this},"batch"),batchData:o(function(e){var r=this;return this.batch(function(){for(var n=Object.keys(e),i=0;i0;)r.removeChild(r.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach(function(n){var i=n._private;i.rscratch={},i.rstyle={},i.animation.current=[],i.animation.queue=[]})},"destroyRenderer"),onRender:o(function(e){return this.on("render",e)},"onRender"),offRender:o(function(e){return this.off("render",e)},"offRender")};SB.invalidateDimensions=SB.resize;N6={collection:o(function(e,r){return Jt(e)?this.$(e):yo(e)?e.collection():kn(e)?(r||(r={}),new ka(this,e,r.unique,r.removed)):new ka(this)},"collection"),nodes:o(function(e){var r=this.$(function(n){return n.isNode()});return e?r.filter(e):r},"nodes"),edges:o(function(e){var r=this.$(function(n){return n.isEdge()});return e?r.filter(e):r},"edges"),$:o(function(e){var r=this._private.elements;return e?r.filter(e):r.spawnSelf()},"$"),mutableElements:o(function(){return this._private.elements},"mutableElements")};N6.elements=N6.filter=N6.$;Va={},jb="t",fZe="f";Va.apply=function(t){for(var e=this,r=e._private,n=r.cy,i=n.collection(),a=0;a0;if(p||d&&m){var g=void 0;p&&m||p?g=h.properties:m&&(g=h.mappedProperties);for(var y=0;y1&&(C=1),l.color){var E=n.valueMin[0],_=n.valueMax[0],A=n.valueMin[1],D=n.valueMax[1],O=n.valueMin[2],R=n.valueMax[2],k=n.valueMin[3]==null?1:n.valueMin[3],L=n.valueMax[3]==null?1:n.valueMax[3],S=[Math.round(E+(_-E)*C),Math.round(A+(D-A)*C),Math.round(O+(R-O)*C),Math.round(k+(L-k)*C)];a={bypass:n.bypass,name:n.name,value:S,strValue:"rgb("+S[0]+", "+S[1]+", "+S[2]+")"}}else if(l.number){var I=n.valueMin+(n.valueMax-n.valueMin)*C;a=this.parse(n.name,I,n.bypass,p)}else return!1;if(!a)return y(),!1;a.mapping=n,n=a;break}case s.data:{for(var M=n.field.split("."),P=d.data,B=0;B0&&a>0){for(var l={},u=!1,h=0;h0?t.delayAnimation(s).play().promise().then(T):T()}).then(function(){return t.animation({style:l,duration:a,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){r.removeBypasses(t,i),t.emitAndNotify("style"),n.transitioning=!1})}else n.transitioning&&(this.removeBypasses(t,i),t.emitAndNotify("style"),n.transitioning=!1)};Va.checkTrigger=function(t,e,r,n,i,a){var s=this.properties[e],l=i(s);l!=null&&l(r,n)&&a(s)};Va.checkZOrderTrigger=function(t,e,r,n){var i=this;this.checkTrigger(t,e,r,n,function(a){return a.triggersZOrder},function(){i._private.cy.notify("zorder",t)})};Va.checkBoundsTrigger=function(t,e,r,n){this.checkTrigger(t,e,r,n,function(i){return i.triggersBounds},function(i){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),i.triggersBoundsOfParallelBeziers&&e==="curve-style"&&(r==="bezier"||n==="bezier")&&t.parallelEdges().forEach(function(a){a.dirtyBoundingBoxCache()}),i.triggersBoundsOfConnectedEdges&&e==="display"&&(r==="none"||n==="none")&&t.connectedEdges().forEach(function(a){a.dirtyBoundingBoxCache()})})};Va.checkTriggers=function(t,e,r,n){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,r,n),this.checkBoundsTrigger(t,e,r,n)};g4={};g4.applyBypass=function(t,e,r,n){var i=this,a=[],s=!0;if(e==="*"||e==="**"){if(r!==void 0)for(var l=0;li.length?n=n.substr(i.length):n=""}o(l,"removeSelAndBlockFromRemaining");function u(){a.length>s.length?a=a.substr(s.length):a=""}for(o(u,"removePropAndValFromRem");;){var h=n.match(/^\s*$/);if(h)break;var f=n.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!f){un("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+n);break}i=f[0];var d=f[1];if(d!=="core"){var p=new If(d);if(p.invalid){un("Skipping parsing of block: Invalid selector found in string stylesheet: "+d),l();continue}}var m=f[2],g=!1;a=m;for(var y=[];;){var v=a.match(/^\s*$/);if(v)break;var x=a.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!x){un("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+m),g=!0;break}s=x[0];var b=x[1],T=x[2],C=e.properties[b];if(!C){un("Skipping property: Invalid property name in: "+s),u();continue}var w=r.parse(b,T);if(!w){un("Skipping property: Invalid property definition in: "+s),u();continue}y.push({name:b,val:T}),u()}if(g){l();break}r.selector(d);for(var E=0;E=7&&e[0]==="d"&&(f=new RegExp(l.data.regex).exec(e))){if(r)return!1;var p=l.data;return{name:t,value:f,strValue:""+e,mapped:p,field:f[1],bypass:r}}else if(e.length>=10&&e[0]==="m"&&(d=new RegExp(l.mapData.regex).exec(e))){if(r||h.multiple)return!1;var m=l.mapData;if(!(h.color||h.number))return!1;var g=this.parse(t,d[4]);if(!g||g.mapped)return!1;var y=this.parse(t,d[5]);if(!y||y.mapped)return!1;if(g.pfValue===y.pfValue||g.strValue===y.strValue)return un("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+g.strValue+"`"),this.parse(t,g.strValue);if(h.color){var v=g.value,x=y.value,b=v[0]===x[0]&&v[1]===x[1]&&v[2]===x[2]&&(v[3]===x[3]||(v[3]==null||v[3]===1)&&(x[3]==null||x[3]===1));if(b)return!1}return{name:t,value:d,strValue:""+e,mapped:m,field:d[1],fieldMin:parseFloat(d[2]),fieldMax:parseFloat(d[3]),valueMin:g.value,valueMax:y.value,bypass:r}}}if(h.multiple&&n!=="multiple"){var T;if(u?T=e.split(/\s+/):kn(e)?T=e:T=[e],h.evenMultiple&&T.length%2!==0)return null;for(var C=[],w=[],E=[],_="",A=!1,D=0;D0?" ":"")+O.strValue}return h.validate&&!h.validate(C,w)?null:h.singleEnum&&A?C.length===1&&Jt(C[0])?{name:t,value:C[0],strValue:C[0],bypass:r}:null:{name:t,value:C,pfValue:E,strValue:_,bypass:r,units:w}}var R=o(function(){for(var Q=0;Qh.max||h.strictMax&&e===h.max))return null;var M={name:t,value:e,strValue:""+e+(k||""),units:k,bypass:r};return h.unitless||k!=="px"&&k!=="em"?M.pfValue=e:M.pfValue=k==="px"||!k?e:this.getEmSizeInPixels()*e,(k==="ms"||k==="s")&&(M.pfValue=k==="ms"?e:1e3*e),(k==="deg"||k==="rad")&&(M.pfValue=k==="rad"?e:YYe(e)),k==="%"&&(M.pfValue=e/100),M}else if(h.propList){var P=[],B=""+e;if(B!=="none"){for(var F=B.split(/\s*,\s*|\s+/),z=0;z0&&l>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0){u=Math.min((s-2*r)/n.w,(l-2*r)/n.h),u=u>this._private.maxZoom?this._private.maxZoom:u,u=u=n.minZoom&&(n.maxZoom=r),this},"zoomRange"),minZoom:o(function(e){return e===void 0?this._private.minZoom:this.zoomRange({min:e})},"minZoom"),maxZoom:o(function(e){return e===void 0?this._private.maxZoom:this.zoomRange({max:e})},"maxZoom"),getZoomedViewport:o(function(e){var r=this._private,n=r.pan,i=r.zoom,a,s,l=!1;if(r.zoomingEnabled||(l=!0),_t(e)?s=e:Vr(e)&&(s=e.level,e.position!=null?a=K6(e.position,i,n):e.renderedPosition!=null&&(a=e.renderedPosition),a!=null&&!r.panningEnabled&&(l=!0)),s=s>r.maxZoom?r.maxZoom:s,s=sr.maxZoom||!r.zoomingEnabled?s=!0:(r.zoom=u,a.push("zoom"))}if(i&&(!s||!e.cancelOnFailedZoom)&&r.panningEnabled){var h=e.pan;_t(h.x)&&(r.pan.x=h.x,l=!1),_t(h.y)&&(r.pan.y=h.y,l=!1),l||a.push("pan")}return a.length>0&&(a.push("viewport"),this.emit(a.join(" ")),this.notify("viewport")),this},"viewport"),center:o(function(e){var r=this.getCenterPan(e);return r&&(this._private.pan=r,this.emit("pan viewport"),this.notify("viewport")),this},"center"),getCenterPan:o(function(e,r){if(this._private.panningEnabled){if(Jt(e)){var n=e;e=this.mutableElements().filter(n)}else yo(e)||(e=this.mutableElements());if(e.length!==0){var i=e.boundingBox(),a=this.width(),s=this.height();r=r===void 0?this._private.zoom:r;var l={x:(a-r*(i.x1+i.x2))/2,y:(s-r*(i.y1+i.y2))/2};return l}}},"getCenterPan"),reset:o(function(){return!this._private.panningEnabled||!this._private.zoomingEnabled?this:(this.viewport({pan:{x:0,y:0},zoom:1}),this)},"reset"),invalidateSize:o(function(){this._private.sizeCache=null},"invalidateSize"),size:o(function(){var e=this._private,r=e.container,n=this;return e.sizeCache=e.sizeCache||(r?function(){var i=n.window().getComputedStyle(r),a=o(function(l){return parseFloat(i.getPropertyValue(l))},"val");return{width:r.clientWidth-a("padding-left")-a("padding-right"),height:r.clientHeight-a("padding-top")-a("padding-bottom")}}():{width:1,height:1})},"size"),width:o(function(){return this.size().width},"width"),height:o(function(){return this.size().height},"height"),extent:o(function(){var e=this._private.pan,r=this._private.zoom,n=this.renderedExtent(),i={x1:(n.x1-e.x)/r,x2:(n.x2-e.x)/r,y1:(n.y1-e.y)/r,y2:(n.y2-e.y)/r};return i.w=i.x2-i.x1,i.h=i.y2-i.y1,i},"extent"),renderedExtent:o(function(){var e=this.width(),r=this.height();return{x1:0,y1:0,x2:e,y2:r,w:e,h:r}},"renderedExtent"),multiClickDebounceTime:o(function(e){if(e)this._private.multiClickDebounceTime=e;else return this._private.multiClickDebounceTime;return this},"multiClickDebounceTime")};Kp.centre=Kp.center;Kp.autolockNodes=Kp.autolock;Kp.autoungrabifyNodes=Kp.autoungrabify;l4={data:cn.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:cn.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:cn.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:cn.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};l4.attr=l4.data;l4.removeAttr=l4.removeData;c4=o(function(e){var r=this;e=ir({},e);var n=e.container;n&&!O6(n)&&O6(n[0])&&(n=n[0]);var i=n?n._cyreg:null;i=i||{},i&&i.cy&&(i.cy.destroy(),i={});var a=i.readies=i.readies||[];n&&(n._cyreg=i),i.cy=r;var s=Vi!==void 0&&n!==void 0&&!e.headless,l=e;l.layout=ir({name:s?"grid":"null"},l.layout),l.renderer=ir({name:s?"canvas":"null"},l.renderer);var u=o(function(g,y,v){return y!==void 0?y:v!==void 0?v:g},"defVal"),h=this._private={container:n,ready:!1,options:l,elements:new ka(this),listeners:[],aniEles:new ka(this),data:l.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:u(!0,l.zoomingEnabled),userZoomingEnabled:u(!0,l.userZoomingEnabled),panningEnabled:u(!0,l.panningEnabled),userPanningEnabled:u(!0,l.userPanningEnabled),boxSelectionEnabled:u(!0,l.boxSelectionEnabled),autolock:u(!1,l.autolock,l.autolockNodes),autoungrabify:u(!1,l.autoungrabify,l.autoungrabifyNodes),autounselectify:u(!1,l.autounselectify),styleEnabled:l.styleEnabled===void 0?s:l.styleEnabled,zoom:_t(l.zoom)?l.zoom:1,pan:{x:Vr(l.pan)&&_t(l.pan.x)?l.pan.x:0,y:Vr(l.pan)&&_t(l.pan.y)?l.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:u(250,l.multiClickDebounceTime)};this.createEmitter(),this.selectionType(l.selectionType),this.zoomRange({min:l.minZoom,max:l.maxZoom});var f=o(function(g,y){var v=g.some(vqe);if(v)return ty.all(g).then(y);y(g)},"loadExtData");h.styleEnabled&&r.setStyle([]);var d=ir({},l,l.renderer);r.initRenderer(d);var p=o(function(g,y,v){r.notifications(!1);var x=r.mutableElements();x.length>0&&x.remove(),g!=null&&(Vr(g)||kn(g))&&r.add(g),r.one("layoutready",function(T){r.notifications(!0),r.emit(T),r.one("load",y),r.emitAndNotify("load")}).one("layoutstop",function(){r.one("done",v),r.emit("done")});var b=ir({},r._private.options.layout);b.eles=r.elements(),r.layout(b).run()},"setElesAndLayout");f([l.style,l.elements],function(m){var g=m[0],y=m[1];h.styleEnabled&&r.style().append(g),p(y,function(){r.startAnimationLoop(),h.ready=!0,li(l.ready)&&r.on("ready",l.ready);for(var v=0;v0,l=!!t.boundingBox,u=e.extent(),h=Ws(l?t.boundingBox:{x1:u.x1,y1:u.y1,w:u.w,h:u.h}),f;if(yo(t.roots))f=t.roots;else if(kn(t.roots)){for(var d=[],p=0;p0;){var I=S(),M=O(I,k);if(M)I.outgoers().filter(function(ae){return ae.isNode()&&r.has(ae)}).forEach(L);else if(M===null){un("Detected double maximal shift for node `"+I.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}var P=0;if(t.avoidOverlap)for(var B=0;B0&&b[0].length<=3?ze/2:0),Ie=2*Math.PI/b[Be].length*He;return Be===0&&b[0].length===1&&(Le=1),{x:he.x+Le*Math.cos(Ie),y:he.y+Le*Math.sin(Ie)}}else{var xe=b[Be].length,q=Math.max(xe===1?0:l?(h.w-t.padding*2-le.w)/((t.grid?Se:xe)-1):(h.w-t.padding*2-le.w)/((t.grid?Se:xe)+1),P),de={x:he.x+(He+1-(xe+1)/2)*q,y:he.y+(Be+1-(ce+1)/2)*J};return de}},"getPosition");return r.nodes().layoutPositions(this,t,se),this};yZe={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:o(function(e,r){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:o(function(e,r){return r},"transform")};o(h1e,"CircleLayout");h1e.prototype.run=function(){var t=this.options,e=t,r=t.cy,n=e.eles,i=e.counterclockwise!==void 0?!e.counterclockwise:e.clockwise,a=n.nodes().not(":parent");e.sort&&(a=a.sort(e.sort));for(var s=Ws(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),l={x:s.x1+s.w/2,y:s.y1+s.h/2},u=e.sweep===void 0?2*Math.PI-2*Math.PI/a.length:e.sweep,h=u/Math.max(1,a.length-1),f,d=0,p=0;p1&&e.avoidOverlap){d*=1.75;var x=Math.cos(h)-Math.cos(0),b=Math.sin(h)-Math.sin(0),T=Math.sqrt(d*d/(x*x+b*b));f=Math.max(T,f)}var C=o(function(E,_){var A=e.startAngle+_*h*(i?1:-1),D=f*Math.cos(A),O=f*Math.sin(A),R={x:l.x+D,y:l.y+O};return R},"getPos");return n.nodes().layoutPositions(this,e,C),this};vZe={fit:!0,padding:30,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:o(function(e){return e.degree()},"concentric"),levelWidth:o(function(e){return e.maxDegree()/4},"levelWidth"),animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:o(function(e,r){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:o(function(e,r){return r},"transform")};o(f1e,"ConcentricLayout");f1e.prototype.run=function(){for(var t=this.options,e=t,r=e.counterclockwise!==void 0?!e.counterclockwise:e.clockwise,n=t.cy,i=e.eles,a=i.nodes().not(":parent"),s=Ws(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l={x:s.x1+s.w/2,y:s.y1+s.h/2},u=[],h=0,f=0;f0){var w=Math.abs(b[0].value-C.value);w>=v&&(b=[],x.push(b))}b.push(C)}var E=h+e.minNodeSpacing;if(!e.avoidOverlap){var _=x.length>0&&x[0].length>1,A=Math.min(s.w,s.h)/2-E,D=A/(x.length+_?1:0);E=Math.min(E,D)}for(var O=0,R=0;R1&&e.avoidOverlap){var I=Math.cos(S)-Math.cos(0),M=Math.sin(S)-Math.sin(0),P=Math.sqrt(E*E/(I*I+M*M));O=Math.max(P,O)}k.r=O,O+=E}if(e.equidistant){for(var B=0,F=0,z=0;z=t.numIter||(CZe(n,t),n.temperature=n.temperature*t.coolingFactor,n.temperature=t.animationThreshold&&a(),P6(d)}},"frame");f()}else{for(;h;)h=s(u),u++;Mme(n,t),l()}return this};oC.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this};oC.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};bZe=o(function(e,r,n){for(var i=n.eles.edges(),a=n.eles.nodes(),s=Ws(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),l={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:a.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:i.size(),temperature:n.initialTemp,clientWidth:s.w,clientHeight:s.h,boundingBox:s},u=n.eles.components(),h={},f=0;f0){l.graphSet.push(A);for(var f=0;fi.count?0:i.graph},"findLCA"),wZe=o(function t(e,r,n,i){var a=i.graphSet[n];if(-10)var d=i.nodeOverlap*f,p=Math.sqrt(l*l+u*u),m=d*l/p,g=d*u/p;else var y=U6(e,l,u),v=U6(r,-1*l,-1*u),x=v.x-y.x,b=v.y-y.y,T=x*x+b*b,p=Math.sqrt(T),d=(e.nodeRepulsion+r.nodeRepulsion)/T,m=d*x/p,g=d*b/p;e.isLocked||(e.offsetX-=m,e.offsetY-=g),r.isLocked||(r.offsetX+=m,r.offsetY+=g)}},"nodeRepulsion"),DZe=o(function(e,r,n,i){if(n>0)var a=e.maxX-r.minX;else var a=r.maxX-e.minX;if(i>0)var s=e.maxY-r.minY;else var s=r.maxY-e.minY;return a>=0&&s>=0?Math.sqrt(a*a+s*s):0},"nodesOverlap"),U6=o(function(e,r,n){var i=e.positionX,a=e.positionY,s=e.height||1,l=e.width||1,u=n/r,h=s/l,f={};return r===0&&0n?(f.x=i,f.y=a+s/2,f):0r&&-1*h<=u&&u<=h?(f.x=i-l/2,f.y=a-l*n/2/r,f):0=h)?(f.x=i+s*r/2/n,f.y=a+s/2,f):(0>n&&(u<=-1*h||u>=h)&&(f.x=i-s*r/2/n,f.y=a-s/2),f)},"findClippingPoint"),LZe=o(function(e,r){for(var n=0;nn){var v=r.gravity*m/y,x=r.gravity*g/y;p.offsetX+=v,p.offsetY+=x}}}}},"calculateGravityForces"),NZe=o(function(e,r){var n=[],i=0,a=-1;for(n.push.apply(n,e.graphSet[0]),a+=e.graphSet[0].length;i<=a;){var s=n[i++],l=e.idToIndex[s],u=e.layoutNodes[l],h=u.children;if(0n)var a={x:n*e/i,y:n*r/i};else var a={x:e,y:r};return a},"limitForce"),OZe=o(function t(e,r){var n=e.parentId;if(n!=null){var i=r.layoutNodes[r.idToIndex[n]],a=!1;if((i.maxX==null||e.maxX+i.padRight>i.maxX)&&(i.maxX=e.maxX+i.padRight,a=!0),(i.minX==null||e.minX-i.padLefti.maxY)&&(i.maxY=e.maxY+i.padBottom,a=!0),(i.minY==null||e.minY-i.padTopx&&(g+=v+r.componentSpacing,m=0,y=0,v=0)}}},"separateComponents"),PZe={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:o(function(e){},"position"),sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:o(function(e,r){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:o(function(e,r){return r},"transform")};o(p1e,"GridLayout");p1e.prototype.run=function(){var t=this.options,e=t,r=t.cy,n=e.eles,i=n.nodes().not(":parent");e.sort&&(i=i.sort(e.sort));var a=Ws(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(a.h===0||a.w===0)n.nodes().layoutPositions(this,e,function(K){return{x:a.x1,y:a.y1}});else{var s=i.size(),l=Math.sqrt(s*a.h/a.w),u=Math.round(l),h=Math.round(a.w/a.h*l),f=o(function(ee){if(ee==null)return Math.min(u,h);var Y=Math.min(u,h);Y==u?u=ee:h=ee},"small"),d=o(function(ee){if(ee==null)return Math.max(u,h);var Y=Math.max(u,h);Y==u?u=ee:h=ee},"large"),p=e.rows,m=e.cols!=null?e.cols:e.columns;if(p!=null&&m!=null)u=p,h=m;else if(p!=null&&m==null)u=p,h=Math.ceil(s/u);else if(p==null&&m!=null)h=m,u=Math.ceil(s/h);else if(h*u>s){var g=f(),y=d();(g-1)*y>=s?f(g-1):(y-1)*g>=s&&d(y-1)}else for(;h*u=s?d(x+1):f(v+1)}var b=a.w/h,T=a.h/u;if(e.condense&&(b=0,T=0),e.avoidOverlap)for(var C=0;C=h&&(I=0,S++)},"moveToNextCell"),P={},B=0;B(I=sXe(t,e,M[P],M[P+1],M[P+2],M[P+3])))return v(_,I),!0}else if(D.edgeType==="bezier"||D.edgeType==="multibezier"||D.edgeType==="self"||D.edgeType==="compound"){for(var M=D.allpts,P=0;P+5(I=aXe(t,e,M[P],M[P+1],M[P+2],M[P+3],M[P+4],M[P+5])))return v(_,I),!0}for(var B=B||A.source,F=F||A.target,z=i.getArrowWidth(O,R),$=[{name:"source",x:D.arrowStartX,y:D.arrowStartY,angle:D.srcArrowAngle},{name:"target",x:D.arrowEndX,y:D.arrowEndY,angle:D.tgtArrowAngle},{name:"mid-source",x:D.midX,y:D.midY,angle:D.midsrcArrowAngle},{name:"mid-target",x:D.midX,y:D.midY,angle:D.midtgtArrowAngle}],P=0;P<$.length;P++){var U=$[P],K=a.arrowShapes[_.pstyle(U.name+"-arrow-shape").value],ee=_.pstyle("width").pfValue;if(K.roughCollide(t,e,z,U.angle,{x:U.x,y:U.y},ee,f)&&K.collide(t,e,z,U.angle,{x:U.x,y:U.y},ee,f))return v(_),!0}h&&l.length>0&&(x(B),x(F))}o(b,"checkEdge");function T(_,A,D){return Ul(_,A,D)}o(T,"preprop");function C(_,A){var D=_._private,O=p,R;A?R=A+"-":R="",_.boundingBox();var k=D.labelBounds[A||"main"],L=_.pstyle(R+"label").value,S=_.pstyle("text-events").strValue==="yes";if(!(!S||!L)){var I=T(D.rscratch,"labelX",A),M=T(D.rscratch,"labelY",A),P=T(D.rscratch,"labelAngle",A),B=_.pstyle(R+"text-margin-x").pfValue,F=_.pstyle(R+"text-margin-y").pfValue,z=k.x1-O-B,$=k.x2+O-B,U=k.y1-O-F,K=k.y2+O-F;if(P){var ee=Math.cos(P),Y=Math.sin(P),ce=o(function(he,le){return he=he-I,le=le-M,{x:he*ee-le*Y+I,y:he*Y+le*ee+M}},"rotate"),Z=ce(z,U),ue=ce(z,K),Q=ce($,U),j=ce($,K),ne=[Z.x+B,Z.y+F,Q.x+B,Q.y+F,j.x+B,j.y+F,ue.x+B,ue.y+F];if(Hs(t,e,ne))return v(_),!0}else if(Q1(k,t,e))return v(_),!0}}o(C,"checkLabel");for(var w=s.length-1;w>=0;w--){var E=s[w];E.isNode()?x(E)||C(E):b(E)||C(E)||C(E,"source")||C(E,"target")}return l};Zp.getAllInBox=function(t,e,r,n){var i=this.getCachedZSortedEles().interactive,a=[],s=Math.min(t,r),l=Math.max(t,r),u=Math.min(e,n),h=Math.max(e,n);t=s,r=l,e=u,n=h;for(var f=Ws({x1:t,y1:e,x2:r,y2:n}),d=0;d0?-(Math.PI-e.ang):Math.PI+e.ang},"invertVec"),VZe=o(function(e,r,n,i,a){if(e!==Fme?$me(r,e,Xc):GZe(tl,Xc),$me(r,n,tl),Pme=Xc.nx*tl.ny-Xc.ny*tl.nx,Bme=Xc.nx*tl.nx-Xc.ny*-tl.ny,Zu=Math.asin(Math.max(-1,Math.min(1,Pme))),Math.abs(Zu)<1e-6){CB=r.x,AB=r.y,Up=V1=0;return}Hp=1,M6=!1,Bme<0?Zu<0?Zu=Math.PI+Zu:(Zu=Math.PI-Zu,Hp=-1,M6=!0):Zu>0&&(Hp=-1,M6=!0),r.radius!==void 0?V1=r.radius:V1=i,$p=Zu/2,w6=Math.min(Xc.len/2,tl.len/2),a?(Yc=Math.abs(Math.cos($p)*V1/Math.sin($p)),Yc>w6?(Yc=w6,Up=Math.abs(Yc*Math.sin($p)/Math.cos($p))):Up=V1):(Yc=Math.min(w6,V1),Up=Math.abs(Yc*Math.sin($p)/Math.cos($p))),_B=r.x+tl.nx*Yc,DB=r.y+tl.ny*Yc,CB=_B-tl.ny*Up*Hp,AB=DB+tl.nx*Up*Hp,v1e=r.x+Xc.nx*Yc,x1e=r.y+Xc.ny*Yc,Fme=r},"calcCornerArc");o(b1e,"drawPreparedRoundCorner");o(eF,"getRoundCorner");Ua={};Ua.findMidptPtsEtc=function(t,e){var r=e.posPts,n=e.intersectionPts,i=e.vectorNormInverse,a,s=t.pstyle("source-endpoint"),l=t.pstyle("target-endpoint"),u=s.units!=null&&l.units!=null,h=o(function(w,E,_,A){var D=A-E,O=_-w,R=Math.sqrt(O*O+D*D);return{x:-D/R,y:O/R}},"recalcVectorNormInverse"),f=t.pstyle("edge-distances").value;switch(f){case"node-position":a=r;break;case"intersection":a=n;break;case"endpoints":{if(u){var d=this.manualEndptToPx(t.source()[0],s),p=Li(d,2),m=p[0],g=p[1],y=this.manualEndptToPx(t.target()[0],l),v=Li(y,2),x=v[0],b=v[1],T={x1:m,y1:g,x2:x,y2:b};i=h(m,g,x,b),a=T}else un("Edge ".concat(t.id()," has edge-distances:endpoints specified without manual endpoints specified via source-endpoint and target-endpoint. Falling back on edge-distances:intersection (default).")),a=n;break}}return{midptPts:a,vectorNormInverse:i}};Ua.findHaystackPoints=function(t){for(var e=0;e0?Math.max(W-pe,0):Math.min(W+pe,0)},"subDWH"),L=k(O,A),S=k(R,D),I=!1;b===h?x=Math.abs(L)>Math.abs(S)?i:n:b===u||b===l?(x=n,I=!0):(b===a||b===s)&&(x=i,I=!0);var M=x===n,P=M?S:L,B=M?R:O,F=Ege(B),z=!1;!(I&&(C||E))&&(b===l&&B<0||b===u&&B>0||b===a&&B>0||b===s&&B<0)&&(F*=-1,P=F*Math.abs(P),z=!0);var $;if(C){var U=w<0?1+w:w;$=U*P}else{var K=w<0?P:0;$=K+w*F}var ee=o(function(W){return Math.abs(W)<_||Math.abs(W)>=Math.abs(P)},"getIsTooClose"),Y=ee($),ce=ee(Math.abs(P)-Math.abs($)),Z=Y||ce;if(Z&&!z)if(M){var ue=Math.abs(B)<=p/2,Q=Math.abs(O)<=m/2;if(ue){var j=(f.x1+f.x2)/2,ne=f.y1,te=f.y2;r.segpts=[j,ne,j,te]}else if(Q){var he=(f.y1+f.y2)/2,le=f.x1,J=f.x2;r.segpts=[le,he,J,he]}else r.segpts=[f.x1,f.y2]}else{var Se=Math.abs(B)<=d/2,se=Math.abs(R)<=g/2;if(Se){var ae=(f.y1+f.y2)/2,Oe=f.x1,ye=f.x2;r.segpts=[Oe,ae,ye,ae]}else if(se){var Be=(f.x1+f.x2)/2,He=f.y1,ze=f.y2;r.segpts=[Be,He,Be,ze]}else r.segpts=[f.x2,f.y1]}else if(M){var Le=f.y1+$+(v?p/2*F:0),Ie=f.x1,xe=f.x2;r.segpts=[Ie,Le,xe,Le]}else{var q=f.x1+$+(v?d/2*F:0),de=f.y1,ie=f.y2;r.segpts=[q,de,q,ie]}if(r.isRound){var oe=t.pstyle("taxi-radius").value,V=t.pstyle("radius-type").value[0]==="arc-radius";r.radii=new Array(r.segpts.length/2).fill(oe),r.isArcRadius=new Array(r.segpts.length/2).fill(V)}};Ua.tryToCorrectInvalidPoints=function(t,e){var r=t._private.rscratch;if(r.edgeType==="bezier"){var n=e.srcPos,i=e.tgtPos,a=e.srcW,s=e.srcH,l=e.tgtW,u=e.tgtH,h=e.srcShape,f=e.tgtShape,d=e.srcCornerRadius,p=e.tgtCornerRadius,m=e.srcRs,g=e.tgtRs,y=!_t(r.startX)||!_t(r.startY),v=!_t(r.arrowStartX)||!_t(r.arrowStartY),x=!_t(r.endX)||!_t(r.endY),b=!_t(r.arrowEndX)||!_t(r.arrowEndY),T=3,C=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth,w=T*C,E=Yp({x:r.ctrlpts[0],y:r.ctrlpts[1]},{x:r.startX,y:r.startY}),_=ES.poolIndex()){var I=L;L=S,S=I}var M=D.srcPos=L.position(),P=D.tgtPos=S.position(),B=D.srcW=L.outerWidth(),F=D.srcH=L.outerHeight(),z=D.tgtW=S.outerWidth(),$=D.tgtH=S.outerHeight(),U=D.srcShape=r.nodeShapes[e.getNodeShape(L)],K=D.tgtShape=r.nodeShapes[e.getNodeShape(S)],ee=D.srcCornerRadius=L.pstyle("corner-radius").value==="auto"?"auto":L.pstyle("corner-radius").pfValue,Y=D.tgtCornerRadius=S.pstyle("corner-radius").value==="auto"?"auto":S.pstyle("corner-radius").pfValue,ce=D.tgtRs=S._private.rscratch,Z=D.srcRs=L._private.rscratch;D.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var ue=0;ue0){var te=a,he=Gp(te,H1(r)),le=Gp(te,H1(ne)),J=he;if(le2){var Se=Gp(te,{x:ne[2],y:ne[3]});Se0){var ie=s,oe=Gp(ie,H1(r)),V=Gp(ie,H1(de)),Te=oe;if(V2){var W=Gp(ie,{x:de[2],y:de[3]});W=g||_){v={cp:C,segment:E};break}}if(v)break}var A=v.cp,D=v.segment,O=(g-x)/D.length,R=D.t1-D.t0,k=m?D.t0+R*O:D.t1-R*O;k=n4(0,k,1),e=q1(A.p0,A.p1,A.p2,k),p=HZe(A.p0,A.p1,A.p2,k);break}case"straight":case"segments":case"haystack":{for(var L=0,S,I,M,P,B=n.allpts.length,F=0;F+3=g));F+=2);var z=g-I,$=z/S;$=n4(0,$,1),e=jYe(M,P,$),p=k1e(M,P);break}}s("labelX",d,e.x),s("labelY",d,e.y),s("labelAutoAngle",d,p)}},"calculateEndProjection");h("source"),h("target"),this.applyLabelDimensions(t)}};Zc.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))};Zc.applyPrefixedLabelDimensions=function(t,e){var r=t._private,n=this.getLabelText(t,e),i=this.calculateLabelDimensions(t,n),a=t.pstyle("line-height").pfValue,s=t.pstyle("text-wrap").strValue,l=Ul(r.rscratch,"labelWrapCachedLines",e)||[],u=s!=="wrap"?1:Math.max(l.length,1),h=i.height/u,f=h*a,d=i.width,p=i.height+(u-1)*(a-1)*h;Af(r.rstyle,"labelWidth",e,d),Af(r.rscratch,"labelWidth",e,d),Af(r.rstyle,"labelHeight",e,p),Af(r.rscratch,"labelHeight",e,p),Af(r.rscratch,"labelLineHeight",e,f)};Zc.getLabelText=function(t,e){var r=t._private,n=e?e+"-":"",i=t.pstyle(n+"label").strValue,a=t.pstyle("text-transform").value,s=o(function(K,ee){return ee?(Af(r.rscratch,K,e,ee),ee):Ul(r.rscratch,K,e)},"rscratch");if(!i)return"";a=="none"||(a=="uppercase"?i=i.toUpperCase():a=="lowercase"&&(i=i.toLowerCase()));var l=t.pstyle("text-wrap").value;if(l==="wrap"){var u=s("labelKey");if(u!=null&&s("labelWrapKey")===u)return s("labelWrapCachedText");for(var h="\u200B",f=i.split(` -`),d=t.pstyle("text-max-width").pfValue,p=t.pstyle("text-overflow-wrap").value,m=p==="anywhere",g=[],y=/[\s\u200b]+|$/g,v=0;vd){var w=x.matchAll(y),E="",_=0,A=go(w),D;try{for(A.s();!(D=A.n()).done;){var O=D.value,R=O[0],k=x.substring(_,O.index);_=O.index+R.length;var L=E.length===0?k:E+k+R,S=this.calculateLabelDimensions(t,L),I=S.width;I<=d?E+=k+R:(E&&g.push(E),E=k+R)}}catch(U){A.e(U)}finally{A.f()}E.match(/^[\s\u200b]+$/)||g.push(E)}else g.push(x)}s("labelWrapCachedLines",g),i=s("labelWrapCachedText",g.join(` -`)),s("labelWrapKey",u)}else if(l==="ellipsis"){var M=t.pstyle("text-max-width").pfValue,P="",B="\u2026",F=!1;if(this.calculateLabelDimensions(t,i).widthM)break;P+=i[z],z===i.length-1&&(F=!0)}return F||(P+=B),P}return i};Zc.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,r=t.pstyle("text-halign").strValue;if(e==="auto")if(t.isNode())switch(r){case"left":return"right";case"right":return"left";default:return"center"}else return"center";else return e};Zc.calculateLabelDimensions=function(t,e){var r=this,n=r.cy.window(),i=n.document,a=Nf(e,t._private.labelDimsKey),s=r.labelDimCache||(r.labelDimCache=[]),l=s[a];if(l!=null)return l;var u=0,h=t.pstyle("font-style").strValue,f=t.pstyle("font-size").pfValue,d=t.pstyle("font-family").strValue,p=t.pstyle("font-weight").strValue,m=this.labelCalcCanvas,g=this.labelCalcCanvasContext;if(!m){m=this.labelCalcCanvas=i.createElement("canvas"),g=this.labelCalcCanvasContext=m.getContext("2d");var y=m.style;y.position="absolute",y.left="-9999px",y.top="-9999px",y.zIndex="-1",y.visibility="hidden",y.pointerEvents="none"}g.font="".concat(h," ").concat(p," ").concat(f,"px ").concat(d);for(var v=0,x=0,b=e.split(` -`),T=0;T1&&arguments[1]!==void 0?arguments[1]:!0;if(e.merge(s),l)for(var u=0;u=t.desktopTapThreshold2}var lt=a(q);at&&(t.hoverData.tapholdCancelled=!0);var Xt=o(function(){var kt=t.hoverData.dragDelta=t.hoverData.dragDelta||[];kt.length===0?(kt.push(De[0]),kt.push(De[1])):(kt[0]+=De[0],kt[1]+=De[1])},"updateDragDelta");ie=!0,i(_e,["mousemove","vmousemove","tapdrag"],q,{x:W[0],y:W[1]});var Tt=o(function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||oe.emit({originalEvent:q,type:"boxstart",position:{x:W[0],y:W[1]}}),Pe[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()},"goIntoBoxMode");if(t.hoverData.which===3){if(at){var Mt={originalEvent:q,type:"cxtdrag",position:{x:W[0],y:W[1]}};Ve?Ve.emit(Mt):oe.emit(Mt),t.hoverData.cxtDragged=!0,(!t.hoverData.cxtOver||_e!==t.hoverData.cxtOver)&&(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:q,type:"cxtdragout",position:{x:W[0],y:W[1]}}),t.hoverData.cxtOver=_e,_e&&_e.emit({originalEvent:q,type:"cxtdragover",position:{x:W[0],y:W[1]}}))}}else if(t.hoverData.dragging){if(ie=!0,oe.panningEnabled()&&oe.userPanningEnabled()){var bt;if(t.hoverData.justStartedPan){var ht=t.hoverData.mdownPos;bt={x:(W[0]-ht[0])*V,y:(W[1]-ht[1])*V},t.hoverData.justStartedPan=!1}else bt={x:De[0]*V,y:De[1]*V};oe.panBy(bt),oe.emit("dragpan"),t.hoverData.dragged=!0}W=t.projectIntoViewport(q.clientX,q.clientY)}else if(Pe[4]==1&&(Ve==null||Ve.pannable())){if(at){if(!t.hoverData.dragging&&oe.boxSelectionEnabled()&&(lt||!oe.panningEnabled()||!oe.userPanningEnabled()))Tt();else if(!t.hoverData.selecting&&oe.panningEnabled()&&oe.userPanningEnabled()){var St=s(Ve,t.hoverData.downs);St&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,Pe[4]=0,t.data.bgActivePosistion=H1(pe),t.redrawHint("select",!0),t.redraw())}Ve&&Ve.pannable()&&Ve.active()&&Ve.unactivate()}}else{if(Ve&&Ve.pannable()&&Ve.active()&&Ve.unactivate(),(!Ve||!Ve.grabbed())&&_e!=be&&(be&&i(be,["mouseout","tapdragout"],q,{x:W[0],y:W[1]}),_e&&i(_e,["mouseover","tapdragover"],q,{x:W[0],y:W[1]}),t.hoverData.last=_e),Ve)if(at){if(oe.boxSelectionEnabled()&<)Ve&&Ve.grabbed()&&(x(Ye),Ve.emit("freeon"),Ye.emit("free"),t.dragData.didDrag&&(Ve.emit("dragfreeon"),Ye.emit("dragfree"))),Tt();else if(Ve&&Ve.grabbed()&&t.nodeIsDraggable(Ve)){var ft=!t.dragData.didDrag;ft&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||y(Ye,{inDragLayer:!0});var vt={x:0,y:0};if(_t(De[0])&&_t(De[1])&&(vt.x+=De[0],vt.y+=De[1],ft)){var nt=t.hoverData.dragDelta;nt&&_t(nt[0])&&_t(nt[1])&&(vt.x+=nt[0],vt.y+=nt[1])}t.hoverData.draggingEles=!0,Ye.silentShift(vt).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else Xt();ie=!0}if(Pe[2]=W[0],Pe[3]=W[1],ie)return q.stopPropagation&&q.stopPropagation(),q.preventDefault&&q.preventDefault(),!1}},"mousemoveHandler"),!1);var k,L,S;t.registerBinding(e,"mouseup",o(function(q){if(!(t.hoverData.which===1&&q.which!==1&&t.hoverData.capture)){var de=t.hoverData.capture;if(de){t.hoverData.capture=!1;var ie=t.cy,oe=t.projectIntoViewport(q.clientX,q.clientY),V=t.selection,Te=t.findNearestElement(oe[0],oe[1],!0,!1),W=t.dragData.possibleDragElements,pe=t.hoverData.down,ve=a(q);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,pe&&pe.unactivate(),t.hoverData.which===3){var Pe={originalEvent:q,type:"cxttapend",position:{x:oe[0],y:oe[1]}};if(pe?pe.emit(Pe):ie.emit(Pe),!t.hoverData.cxtDragged){var _e={originalEvent:q,type:"cxttap",position:{x:oe[0],y:oe[1]}};pe?pe.emit(_e):ie.emit(_e)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(t.hoverData.which===1){if(i(Te,["mouseup","tapend","vmouseup"],q,{x:oe[0],y:oe[1]}),!t.dragData.didDrag&&!t.hoverData.dragged&&!t.hoverData.selecting&&!t.hoverData.isOverThresholdDrag&&(i(pe,["click","tap","vclick"],q,{x:oe[0],y:oe[1]}),L=!1,q.timeStamp-S<=ie.multiClickDebounceTime()?(k&&clearTimeout(k),L=!0,S=null,i(pe,["dblclick","dbltap","vdblclick"],q,{x:oe[0],y:oe[1]})):(k=setTimeout(function(){L||i(pe,["oneclick","onetap","voneclick"],q,{x:oe[0],y:oe[1]})},ie.multiClickDebounceTime()),S=q.timeStamp)),pe==null&&!t.dragData.didDrag&&!t.hoverData.selecting&&!t.hoverData.dragged&&!a(q)&&(ie.$(r).unselect(["tapunselect"]),W.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=W=ie.collection()),Te==pe&&!t.dragData.didDrag&&!t.hoverData.selecting&&Te!=null&&Te._private.selectable&&(t.hoverData.dragging||(ie.selectionType()==="additive"||ve?Te.selected()?Te.unselect(["tapunselect"]):Te.select(["tapselect"]):ve||(ie.$(r).unmerge(Te).unselect(["tapunselect"]),Te.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var be=ie.collection(t.getAllInBox(V[0],V[1],V[2],V[3]));t.redrawHint("select",!0),be.length>0&&t.redrawHint("eles",!0),ie.emit({type:"boxend",originalEvent:q,position:{x:oe[0],y:oe[1]}});var Ve=o(function(at){return at.selectable()&&!at.selected()},"eleWouldBeSelected");ie.selectionType()==="additive"||ve||ie.$(r).unmerge(be).unselect(),be.emit("box").stdFilter(Ve).select().emit("boxselect"),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!V[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var De=pe&&pe.grabbed();x(W),De&&(pe.emit("freeon"),W.emit("free"),t.dragData.didDrag&&(pe.emit("dragfreeon"),W.emit("dragfree")))}}V[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null,t.hoverData.which=null}}},"mouseupHandler"),!1);var I=o(function(q){if(!t.scrollingPage){var de=t.cy,ie=de.zoom(),oe=de.pan(),V=t.projectIntoViewport(q.clientX,q.clientY),Te=[V[0]*ie+oe.x,V[1]*ie+oe.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||D()){q.preventDefault();return}if(de.panningEnabled()&&de.userPanningEnabled()&&de.zoomingEnabled()&&de.userZoomingEnabled()){q.preventDefault(),t.data.wheelZooming=!0,clearTimeout(t.data.wheelTimeout),t.data.wheelTimeout=setTimeout(function(){t.data.wheelZooming=!1,t.redrawHint("eles",!0),t.redraw()},150);var W;q.deltaY!=null?W=q.deltaY/-250:q.wheelDeltaY!=null?W=q.wheelDeltaY/1e3:W=q.wheelDelta/1e3,W=W*t.wheelSensitivity;var pe=q.deltaMode===1;pe&&(W*=33);var ve=de.zoom()*Math.pow(10,W);q.type==="gesturechange"&&(ve=t.gestureStartZoom*q.scale),de.zoom({level:ve,renderedPosition:{x:Te[0],y:Te[1]}}),de.emit(q.type==="gesturechange"?"pinchzoom":"scrollzoom")}}},"wheelHandler");t.registerBinding(t.container,"wheel",I,!0),t.registerBinding(e,"scroll",o(function(q){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout(function(){t.scrollingPage=!1},250)},"scrollHandler"),!0),t.registerBinding(t.container,"gesturestart",o(function(q){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||q.preventDefault()},"gestureStartHandler"),!0),t.registerBinding(t.container,"gesturechange",function(xe){t.hasTouchStarted||I(xe)},!0),t.registerBinding(t.container,"mouseout",o(function(q){var de=t.projectIntoViewport(q.clientX,q.clientY);t.cy.emit({originalEvent:q,type:"mouseout",position:{x:de[0],y:de[1]}})},"mouseOutHandler"),!1),t.registerBinding(t.container,"mouseover",o(function(q){var de=t.projectIntoViewport(q.clientX,q.clientY);t.cy.emit({originalEvent:q,type:"mouseover",position:{x:de[0],y:de[1]}})},"mouseOverHandler"),!1);var M,P,B,F,z,$,U,K,ee,Y,ce,Z,ue,Q=o(function(q,de,ie,oe){return Math.sqrt((ie-q)*(ie-q)+(oe-de)*(oe-de))},"distance"),j=o(function(q,de,ie,oe){return(ie-q)*(ie-q)+(oe-de)*(oe-de)},"distanceSq"),ne;t.registerBinding(t.container,"touchstart",ne=o(function(q){if(t.hasTouchStarted=!0,!!O(q)){T(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var de=t.cy,ie=t.touchData.now,oe=t.touchData.earlier;if(q.touches[0]){var V=t.projectIntoViewport(q.touches[0].clientX,q.touches[0].clientY);ie[0]=V[0],ie[1]=V[1]}if(q.touches[1]){var V=t.projectIntoViewport(q.touches[1].clientX,q.touches[1].clientY);ie[2]=V[0],ie[3]=V[1]}if(q.touches[2]){var V=t.projectIntoViewport(q.touches[2].clientX,q.touches[2].clientY);ie[4]=V[0],ie[5]=V[1]}if(q.touches[1]){t.touchData.singleTouchMoved=!0,x(t.dragData.touchDragEles);var Te=t.findContainerClientCoords();ee=Te[0],Y=Te[1],ce=Te[2],Z=Te[3],M=q.touches[0].clientX-ee,P=q.touches[0].clientY-Y,B=q.touches[1].clientX-ee,F=q.touches[1].clientY-Y,ue=0<=M&&M<=ce&&0<=B&&B<=ce&&0<=P&&P<=Z&&0<=F&&F<=Z;var W=de.pan(),pe=de.zoom();z=Q(M,P,B,F),$=j(M,P,B,F),U=[(M+B)/2,(P+F)/2],K=[(U[0]-W.x)/pe,(U[1]-W.y)/pe];var ve=200,Pe=ve*ve;if($=1){for(var st=t.touchData.startPosition=[null,null,null,null,null,null],Ue=0;Ue=t.touchTapThreshold2}if(de&&t.touchData.cxt){q.preventDefault();var st=q.touches[0].clientX-ee,Ue=q.touches[0].clientY-Y,ut=q.touches[1].clientX-ee,We=q.touches[1].clientY-Y,lt=j(st,Ue,ut,We),Xt=lt/$,Tt=150,Mt=Tt*Tt,bt=1.5,ht=bt*bt;if(Xt>=ht||lt>=Mt){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var St={originalEvent:q,type:"cxttapend",position:{x:V[0],y:V[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(St),t.touchData.start=null):oe.emit(St)}}if(de&&t.touchData.cxt){var St={originalEvent:q,type:"cxtdrag",position:{x:V[0],y:V[1]}};t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(St):oe.emit(St),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var ft=t.findNearestElement(V[0],V[1],!0,!0);(!t.touchData.cxtOver||ft!==t.touchData.cxtOver)&&(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:q,type:"cxtdragout",position:{x:V[0],y:V[1]}}),t.touchData.cxtOver=ft,ft&&ft.emit({originalEvent:q,type:"cxtdragover",position:{x:V[0],y:V[1]}}))}else if(de&&q.touches[2]&&oe.boxSelectionEnabled())q.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||oe.emit({originalEvent:q,type:"boxstart",position:{x:V[0],y:V[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,ie[4]=1,!ie||ie.length===0||ie[0]===void 0?(ie[0]=(V[0]+V[2]+V[4])/3,ie[1]=(V[1]+V[3]+V[5])/3,ie[2]=(V[0]+V[2]+V[4])/3+1,ie[3]=(V[1]+V[3]+V[5])/3+1):(ie[2]=(V[0]+V[2]+V[4])/3,ie[3]=(V[1]+V[3]+V[5])/3),t.redrawHint("select",!0),t.redraw();else if(de&&q.touches[1]&&!t.touchData.didSelect&&oe.zoomingEnabled()&&oe.panningEnabled()&&oe.userZoomingEnabled()&&oe.userPanningEnabled()){q.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var vt=t.dragData.touchDragEles;if(vt){t.redrawHint("drag",!0);for(var nt=0;nt0&&!t.hoverData.draggingEles&&!t.swipePanning&&t.data.bgActivePosistion!=null&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},"touchmoveHandler"),!1);var he;t.registerBinding(e,"touchcancel",he=o(function(q){var de=t.touchData.start;t.touchData.capture=!1,de&&de.unactivate()},"touchcancelHandler"));var le,J,Se,se;if(t.registerBinding(e,"touchend",le=o(function(q){var de=t.touchData.start,ie=t.touchData.capture;if(ie)q.touches.length===0&&(t.touchData.capture=!1),q.preventDefault();else return;var oe=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var V=t.cy,Te=V.zoom(),W=t.touchData.now,pe=t.touchData.earlier;if(q.touches[0]){var ve=t.projectIntoViewport(q.touches[0].clientX,q.touches[0].clientY);W[0]=ve[0],W[1]=ve[1]}if(q.touches[1]){var ve=t.projectIntoViewport(q.touches[1].clientX,q.touches[1].clientY);W[2]=ve[0],W[3]=ve[1]}if(q.touches[2]){var ve=t.projectIntoViewport(q.touches[2].clientX,q.touches[2].clientY);W[4]=ve[0],W[5]=ve[1]}de&&de.unactivate();var Pe;if(t.touchData.cxt){if(Pe={originalEvent:q,type:"cxttapend",position:{x:W[0],y:W[1]}},de?de.emit(Pe):V.emit(Pe),!t.touchData.cxtDragged){var _e={originalEvent:q,type:"cxttap",position:{x:W[0],y:W[1]}};de?de.emit(_e):V.emit(_e)}t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,t.redraw();return}if(!q.touches[2]&&V.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var be=V.collection(t.getAllInBox(oe[0],oe[1],oe[2],oe[3]));oe[0]=void 0,oe[1]=void 0,oe[2]=void 0,oe[3]=void 0,oe[4]=0,t.redrawHint("select",!0),V.emit({type:"boxend",originalEvent:q,position:{x:W[0],y:W[1]}});var Ve=o(function(Mt){return Mt.selectable()&&!Mt.selected()},"eleWouldBeSelected");be.emit("box").stdFilter(Ve).select().emit("boxselect"),be.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(de?.unactivate(),q.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(!q.touches[1]){if(!q.touches[0]){if(!q.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var De=t.dragData.touchDragEles;if(de!=null){var Ye=de._private.grabbed;x(De),t.redrawHint("drag",!0),t.redrawHint("eles",!0),Ye&&(de.emit("freeon"),De.emit("free"),t.dragData.didDrag&&(de.emit("dragfreeon"),De.emit("dragfree"))),i(de,["touchend","tapend","vmouseup","tapdragout"],q,{x:W[0],y:W[1]}),de.unactivate(),t.touchData.start=null}else{var at=t.findNearestElement(W[0],W[1],!0,!0);i(at,["touchend","tapend","vmouseup","tapdragout"],q,{x:W[0],y:W[1]})}var Rt=t.touchData.startPosition[0]-W[0],st=Rt*Rt,Ue=t.touchData.startPosition[1]-W[1],ut=Ue*Ue,We=st+ut,lt=We*Te*Te;t.touchData.singleTouchMoved||(de||V.$(":selected").unselect(["tapunselect"]),i(de,["tap","vclick"],q,{x:W[0],y:W[1]}),J=!1,q.timeStamp-se<=V.multiClickDebounceTime()?(Se&&clearTimeout(Se),J=!0,se=null,i(de,["dbltap","vdblclick"],q,{x:W[0],y:W[1]})):(Se=setTimeout(function(){J||i(de,["onetap","voneclick"],q,{x:W[0],y:W[1]})},V.multiClickDebounceTime()),se=q.timeStamp)),de!=null&&!t.dragData.didDrag&&de._private.selectable&<"u"){var ae=[],Oe=o(function(q){return{clientX:q.clientX,clientY:q.clientY,force:1,identifier:q.pointerId,pageX:q.pageX,pageY:q.pageY,radiusX:q.width/2,radiusY:q.height/2,screenX:q.screenX,screenY:q.screenY,target:q.target}},"makeTouch"),ye=o(function(q){return{event:q,touch:Oe(q)}},"makePointer"),Be=o(function(q){ae.push(ye(q))},"addPointer"),He=o(function(q){for(var de=0;de0)return U[0]}return null},"getCurveT"),g=Object.keys(p),y=0;y0?m:Age(a,s,e,r,n,i,l,u)},"intersectLine"),checkPoint:o(function(e,r,n,i,a,s,l,u){u=u==="auto"?Xp(i,a):u;var h=2*u;if(eh(e,r,this.points,s,l,i,a-h,[0,-1],n)||eh(e,r,this.points,s,l,i-h,a,[0,-1],n))return!0;var f=i/2+2*n,d=a/2+2*n,p=[s-f,l-d,s-f,l,s+f,l,s+f,l-d];return!!(Hs(e,r,p)||Wp(e,r,h,h,s+i/2-u,l+a/2-u,n)||Wp(e,r,h,h,s-i/2+u,l+a/2-u,n))},"checkPoint")}};rh.registerNodeShapes=function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",ys(3,0)),this.generateRoundPolygon("round-triangle",ys(3,0)),this.generatePolygon("rectangle",ys(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var r=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",r),this.generateRoundPolygon("round-diamond",r)}this.generatePolygon("pentagon",ys(5,0)),this.generateRoundPolygon("round-pentagon",ys(5,0)),this.generatePolygon("hexagon",ys(6,0)),this.generateRoundPolygon("round-hexagon",ys(6,0)),this.generatePolygon("heptagon",ys(7,0)),this.generateRoundPolygon("round-heptagon",ys(7,0)),this.generatePolygon("octagon",ys(8,0)),this.generateRoundPolygon("round-octagon",ys(8,0));var n=new Array(20);{var i=vB(5,0),a=vB(5,Math.PI/5),s=.5*(3-Math.sqrt(5));s*=1.57;for(var l=0;l=e.deqFastCost*C)break}else if(h){if(b>=e.deqCost*m||b>=e.deqAvgCost*p)break}else if(T>=e.deqNoDrawCost*hB)break;var w=e.deq(n,v,y);if(w.length>0)for(var E=0;E0&&(e.onDeqd(n,g),!h&&e.shouldRedraw(n,g,v,y)&&a())},"dequeue"),l=e.priority||FB;i.beforeRender(s,l(n))}},"setupDequeueingImpl")},"setupDequeueing")},qZe=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B6;Bf(this,t),this.idsByKey=new Kc,this.keyForId=new Kc,this.cachesByLvl=new Kc,this.lvls=[],this.getKey=e,this.doesEleInvalidateKey=r}return o(t,"ElementTextureCacheLookup"),Ff(t,[{key:"getIdsFor",value:o(function(r){r==null&&oi("Can not get id list for null key");var n=this.idsByKey,i=this.idsByKey.get(r);return i||(i=new ey,n.set(r,i)),i},"getIdsFor")},{key:"addIdForKey",value:o(function(r,n){r!=null&&this.getIdsFor(r).add(n)},"addIdForKey")},{key:"deleteIdForKey",value:o(function(r,n){r!=null&&this.getIdsFor(r).delete(n)},"deleteIdForKey")},{key:"getNumberOfIdsForKey",value:o(function(r){return r==null?0:this.getIdsFor(r).size},"getNumberOfIdsForKey")},{key:"updateKeyMappingFor",value:o(function(r){var n=r.id(),i=this.keyForId.get(n),a=this.getKey(r);this.deleteIdForKey(i,n),this.addIdForKey(a,n),this.keyForId.set(n,a)},"updateKeyMappingFor")},{key:"deleteKeyMappingFor",value:o(function(r){var n=r.id(),i=this.keyForId.get(n);this.deleteIdForKey(i,n),this.keyForId.delete(n)},"deleteKeyMappingFor")},{key:"keyHasChangedFor",value:o(function(r){var n=r.id(),i=this.keyForId.get(n),a=this.getKey(r);return i!==a},"keyHasChangedFor")},{key:"isInvalid",value:o(function(r){return this.keyHasChangedFor(r)||this.doesEleInvalidateKey(r)},"isInvalid")},{key:"getCachesAt",value:o(function(r){var n=this.cachesByLvl,i=this.lvls,a=n.get(r);return a||(a=new Kc,n.set(r,a),i.push(r)),a},"getCachesAt")},{key:"getCache",value:o(function(r,n){return this.getCachesAt(n).get(r)},"getCache")},{key:"get",value:o(function(r,n){var i=this.getKey(r),a=this.getCache(i,n);return a!=null&&this.updateKeyMappingFor(r),a},"get")},{key:"getForCachedKey",value:o(function(r,n){var i=this.keyForId.get(r.id()),a=this.getCache(i,n);return a},"getForCachedKey")},{key:"hasCache",value:o(function(r,n){return this.getCachesAt(n).has(r)},"hasCache")},{key:"has",value:o(function(r,n){var i=this.getKey(r);return this.hasCache(i,n)},"has")},{key:"setCache",value:o(function(r,n,i){i.key=r,this.getCachesAt(n).set(r,i)},"setCache")},{key:"set",value:o(function(r,n,i){var a=this.getKey(r);this.setCache(a,n,i),this.updateKeyMappingFor(r)},"set")},{key:"deleteCache",value:o(function(r,n){this.getCachesAt(n).delete(r)},"deleteCache")},{key:"delete",value:o(function(r,n){var i=this.getKey(r);this.deleteCache(i,n)},"_delete")},{key:"invalidateKey",value:o(function(r){var n=this;this.lvls.forEach(function(i){return n.deleteCache(r,i)})},"invalidateKey")},{key:"invalidate",value:o(function(r){var n=r.id(),i=this.keyForId.get(n);this.deleteKeyMappingFor(r);var a=this.doesEleInvalidateKey(r);return a&&this.invalidateKey(i),a||this.getNumberOfIdsForKey(i)===0},"invalidate")}]),t}(),Ume=25,k6=50,I6=-4,LB=3,D1e=7.99,YZe=8,XZe=1024,jZe=1024,KZe=1024,QZe=.2,ZZe=.8,JZe=10,eJe=.15,tJe=.1,rJe=.9,nJe=.9,iJe=100,aJe=1,W1={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},sJe=aa({getKey:null,doesEleInvalidateKey:B6,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:xge,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),Xb=o(function(e,r){var n=this;n.renderer=e,n.onDequeues=[];var i=sJe(r);ir(n,i),n.lookup=new qZe(i.getKey,i.doesEleInvalidateKey),n.setupDequeueing()},"ElementTextureCache"),Wi=Xb.prototype;Wi.reasons=W1;Wi.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]};Wi.getRetiredTextureQueue=function(t){var e=this,r=e.eleImgCaches.retired=e.eleImgCaches.retired||{},n=r[t]=r[t]||[];return n};Wi.getElementQueue=function(){var t=this,e=t.eleCacheQueue=t.eleCacheQueue||new p4(function(r,n){return n.reqs-r.reqs});return e};Wi.getElementKeyToQueue=function(){var t=this,e=t.eleKeyToCacheQueue=t.eleKeyToCacheQueue||{};return e};Wi.getElement=function(t,e,r,n,i){var a=this,s=this.renderer,l=s.cy.zoom(),u=this.lookup;if(!e||e.w===0||e.h===0||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed()||!a.allowEdgeTxrCaching&&t.isEdge()||!a.allowParentTxrCaching&&t.isParent())return null;if(n==null&&(n=Math.ceil(zB(l*r))),n=D1e||n>LB)return null;var h=Math.pow(2,n),f=e.h*h,d=e.w*h,p=s.eleTextBiggerThanMin(t,h);if(!this.isVisible(t,p))return null;var m=u.get(t,n);if(m&&m.invalidated&&(m.invalidated=!1,m.texture.invalidatedWidth-=m.width),m)return m;var g;if(f<=Ume?g=Ume:f<=k6?g=k6:g=Math.ceil(f/k6)*k6,f>KZe||d>jZe)return null;var y=a.getTextureQueue(g),v=y[y.length-2],x=o(function(){return a.recycleTexture(g,d)||a.addTexture(g,d)},"addNewTxr");v||(v=y[y.length-1]),v||(v=x()),v.width-v.usedWidthn;R--)D=a.getElement(t,e,r,R,W1.downscale);O()}else return a.queueElement(t,E.level-1),E;else{var k;if(!T&&!C&&!w)for(var L=n-1;L>=I6;L--){var S=u.get(t,L);if(S){k=S;break}}if(b(k))return a.queueElement(t,n),k;v.context.translate(v.usedWidth,0),v.context.scale(h,h),this.drawElement(v.context,t,e,p,!1),v.context.scale(1/h,1/h),v.context.translate(-v.usedWidth,0)}return m={x:v.usedWidth,texture:v,level:n,scale:h,width:d,height:f,scaledLabelShown:p},v.usedWidth+=Math.ceil(d+YZe),v.eleCaches.push(m),u.set(t,n,m),a.checkTextureFullness(v),m};Wi.invalidateElements=function(t){for(var e=0;e=QZe*t.width&&this.retireTexture(t)};Wi.checkTextureFullness=function(t){var e=this,r=e.getTextureQueue(t.height);t.usedWidth/t.width>ZZe&&t.fullnessChecks>=JZe?Mf(r,t):t.fullnessChecks++};Wi.retireTexture=function(t){var e=this,r=t.height,n=e.getTextureQueue(r),i=this.lookup;Mf(n,t),t.retired=!0;for(var a=t.eleCaches,s=0;s=e)return s.retired=!1,s.usedWidth=0,s.invalidatedWidth=0,s.fullnessChecks=0,$B(s.eleCaches),s.context.setTransform(1,0,0,1,0,0),s.context.clearRect(0,0,s.width,s.height),Mf(i,s),n.push(s),s}};Wi.queueElement=function(t,e){var r=this,n=r.getElementQueue(),i=r.getElementKeyToQueue(),a=this.getKey(t),s=i[a];if(s)s.level=Math.max(s.level,e),s.eles.merge(t),s.reqs++,n.updateItem(s);else{var l={eles:t.spawn().merge(t),level:e,reqs:1,key:a};n.push(l),i[a]=l}};Wi.dequeue=function(t){for(var e=this,r=e.getElementQueue(),n=e.getElementKeyToQueue(),i=[],a=e.lookup,s=0;s0;s++){var l=r.pop(),u=l.key,h=l.eles[0],f=a.hasCache(h,l.level);if(n[u]=null,f)continue;i.push(l);var d=e.getBoundingBox(h);e.getElement(h,d,t,l.level,W1.dequeue)}return i};Wi.removeFromQueue=function(t){var e=this,r=e.getElementQueue(),n=e.getElementKeyToQueue(),i=this.getKey(t),a=n[i];a!=null&&(a.eles.length===1?(a.reqs=BB,r.updateItem(a),r.pop(),n[i]=null):a.eles.unmerge(t))};Wi.onDequeue=function(t){this.onDequeues.push(t)};Wi.offDequeue=function(t){Mf(this.onDequeues,t)};Wi.setupDequeueing=_1e.setupDequeueing({deqRedrawThreshold:iJe,deqCost:eJe,deqAvgCost:tJe,deqNoDrawCost:rJe,deqFastCost:nJe,deq:o(function(e,r,n){return e.dequeue(r,n)},"deq"),onDeqd:o(function(e,r){for(var n=0;n=lJe||r>W6)return null}n.validateLayersElesOrdering(r,t);var u=n.layersByLevel,h=Math.pow(2,r),f=u[r]=u[r]||[],d,p=n.levelIsComplete(r,t),m,g=o(function(){var O=o(function(I){if(n.validateLayersElesOrdering(I,t),n.levelIsComplete(I,t))return m=u[I],!0},"canUseAsTmpLvl"),R=o(function(I){if(!m)for(var M=r+I;Kb<=M&&M<=W6&&!O(M);M+=I);},"checkLvls");R(1),R(-1);for(var k=f.length-1;k>=0;k--){var L=f[k];L.invalid&&Mf(f,L)}},"checkTempLevels");if(!p)g();else return f;var y=o(function(){if(!d){d=Ws();for(var O=0;OWme||L>Wme)return null;var S=k*L;if(S>gJe)return null;var I=n.makeLayer(d,r);if(R!=null){var M=f.indexOf(R)+1;f.splice(M,0,I)}else(O.insert===void 0||O.insert)&&f.unshift(I);return I},"makeLayer");if(n.skipping&&!l)return null;for(var x=null,b=t.length/oJe,T=!l,C=0;C=b||!Cge(x.bb,w.boundingBox()))&&(x=v({insert:!0,after:x}),!x))return null;m||T?n.queueLayer(x,w):n.drawEleInLayer(x,w,r,e),x.eles.push(w),_[r]=x}return m||(T?null:f)};Ea.getEleLevelForLayerLevel=function(t,e){return t};Ea.drawEleInLayer=function(t,e,r,n){var i=this,a=this.renderer,s=t.context,l=e.boundingBox();l.w===0||l.h===0||!e.visible()||(r=i.getEleLevelForLayerLevel(r,n),a.setImgSmoothing(s,!1),a.drawCachedElement(s,e,null,null,r,yJe),a.setImgSmoothing(s,!0))};Ea.levelIsComplete=function(t,e){var r=this,n=r.layersByLevel[t];if(!n||n.length===0)return!1;for(var i=0,a=0;a0||s.invalid)return!1;i+=s.eles.length}return i===e.length};Ea.validateLayersElesOrdering=function(t,e){var r=this.layersByLevel[t];if(r)for(var n=0;n0){e=!0;break}}return e};Ea.invalidateElements=function(t){var e=this;t.length!==0&&(e.lastInvalidationTime=Ju(),!(t.length===0||!e.haveLayers())&&e.updateElementsInLayers(t,o(function(n,i,a){e.invalidateLayer(n)},"invalAssocLayers")))};Ea.invalidateLayer=function(t){if(this.lastInvalidationTime=Ju(),!t.invalid){var e=t.level,r=t.eles,n=this.layersByLevel[e];Mf(n,t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var i=0;i3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,s=this,l=e._private.rscratch;if(!(a&&!e.visible())&&!(l.badLine||l.allpts==null||isNaN(l.allpts[0]))){var u;r&&(u=r,t.translate(-u.x1,-u.y1));var h=a?e.pstyle("opacity").value:1,f=a?e.pstyle("line-opacity").value:1,d=e.pstyle("curve-style").value,p=e.pstyle("line-style").value,m=e.pstyle("width").pfValue,g=e.pstyle("line-cap").value,y=e.pstyle("line-outline-width").value,v=e.pstyle("line-outline-color").value,x=h*f,b=h*f,T=o(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x;d==="straight-triangle"?(s.eleStrokeStyle(t,e,I),s.drawEdgeTrianglePath(e,t,l.allpts)):(t.lineWidth=m,t.lineCap=g,s.eleStrokeStyle(t,e,I),s.drawEdgePath(e,t,l.allpts,p),t.lineCap="butt")},"drawLine"),C=o(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x;if(t.lineWidth=m+y,t.lineCap=g,y>0)s.colorStrokeStyle(t,v[0],v[1],v[2],I);else{t.lineCap="butt";return}d==="straight-triangle"?s.drawEdgeTrianglePath(e,t,l.allpts):(s.drawEdgePath(e,t,l.allpts,p),t.lineCap="butt")},"drawLineOutline"),w=o(function(){i&&s.drawEdgeOverlay(t,e)},"drawOverlay"),E=o(function(){i&&s.drawEdgeUnderlay(t,e)},"drawUnderlay"),_=o(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:b;s.drawArrowheads(t,e,I)},"drawArrows"),A=o(function(){s.drawElementText(t,e,null,n)},"drawText");t.lineJoin="round";var D=e.pstyle("ghost").value==="yes";if(D){var O=e.pstyle("ghost-offset-x").pfValue,R=e.pstyle("ghost-offset-y").pfValue,k=e.pstyle("ghost-opacity").value,L=x*k;t.translate(O,R),T(L),_(L),t.translate(-O,-R)}else C();E(),T(),_(),w(),A(),r&&t.translate(u.x1,u.y1)}};N1e=o(function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(r,n){if(n.visible()){var i=n.pstyle("".concat(e,"-opacity")).value;if(i!==0){var a=this,s=a.usePaths(),l=n._private.rscratch,u=n.pstyle("".concat(e,"-padding")).pfValue,h=2*u,f=n.pstyle("".concat(e,"-color")).value;r.lineWidth=h,l.edgeType==="self"&&!s?r.lineCap="butt":r.lineCap="round",a.colorStrokeStyle(r,f[0],f[1],f[2],i),a.drawEdgePath(n,r,l.allpts,"solid")}}}},"drawEdgeOverlayUnderlay");nh.drawEdgeOverlay=N1e("overlay");nh.drawEdgeUnderlay=N1e("underlay");nh.drawEdgePath=function(t,e,r,n){var i=t._private.rscratch,a=e,s,l=!1,u=this.usePaths(),h=t.pstyle("line-dash-pattern").pfValue,f=t.pstyle("line-dash-offset").pfValue;if(u){var d=r.join("$"),p=i.pathCacheKey&&i.pathCacheKey===d;p?(s=e=i.pathCache,l=!0):(s=e=new Path2D,i.pathCacheKey=d,i.pathCache=s)}if(a.setLineDash)switch(n){case"dotted":a.setLineDash([1,1]);break;case"dashed":a.setLineDash(h),a.lineDashOffset=f;break;case"solid":a.setLineDash([]);break}if(!l&&!i.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(r[0],r[1]),i.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var m=2;m+35&&arguments[5]!==void 0?arguments[5]:!0,s=this;if(n==null){if(a&&!s.eleTextBiggerThanMin(e))return}else if(n===!1)return;if(e.isNode()){var l=e.pstyle("label");if(!l||!l.value)return;var u=s.getLabelJustification(e);t.textAlign=u,t.textBaseline="bottom"}else{var h=e.element()._private.rscratch.badLine,f=e.pstyle("label"),d=e.pstyle("source-label"),p=e.pstyle("target-label");if(h||(!f||!f.value)&&(!d||!d.value)&&(!p||!p.value))return;t.textAlign="center",t.textBaseline="bottom"}var m=!r,g;r&&(g=r,t.translate(-g.x1,-g.y1)),i==null?(s.drawText(t,e,null,m,a),e.isEdge()&&(s.drawText(t,e,"source",m,a),s.drawText(t,e,"target",m,a))):s.drawText(t,e,i,m,a),r&&t.translate(g.x1,g.y1)};Jp.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var r=0;r2&&arguments[2]!==void 0?arguments[2]:!0,n=e.pstyle("font-style").strValue,i=e.pstyle("font-size").pfValue+"px",a=e.pstyle("font-family").strValue,s=e.pstyle("font-weight").strValue,l=r?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,u=e.pstyle("text-outline-opacity").value*l,h=e.pstyle("color").value,f=e.pstyle("text-outline-color").value;t.font=n+" "+s+" "+i+" "+a,t.lineJoin="round",this.colorFillStyle(t,h[0],h[1],h[2],l),this.colorStrokeStyle(t,f[0],f[1],f[2],u)};o(dB,"roundRect");Jp.getTextAngle=function(t,e){var r,n=t._private,i=n.rscratch,a=e?e+"-":"",s=t.pstyle(a+"text-rotation");if(s.strValue==="autorotate"){var l=Ul(i,"labelAngle",e);r=t.isEdge()?l:0}else s.strValue==="none"?r=0:r=s.pfValue;return r};Jp.drawText=function(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=e._private,s=a.rscratch,l=i?e.effectiveOpacity():1;if(!(i&&(l===0||e.pstyle("text-opacity").value===0))){r==="main"&&(r=null);var u=Ul(s,"labelX",r),h=Ul(s,"labelY",r),f,d,p=this.getLabelText(e,r);if(p!=null&&p!==""&&!isNaN(u)&&!isNaN(h)){this.setupTextStyle(t,e,i);var m=r?r+"-":"",g=Ul(s,"labelWidth",r),y=Ul(s,"labelHeight",r),v=e.pstyle(m+"text-margin-x").pfValue,x=e.pstyle(m+"text-margin-y").pfValue,b=e.isEdge(),T=e.pstyle("text-halign").value,C=e.pstyle("text-valign").value;b&&(T="center",C="center"),u+=v,h+=x;var w;switch(n?w=this.getTextAngle(e,r):w=0,w!==0&&(f=u,d=h,t.translate(f,d),t.rotate(w),u=0,h=0),C){case"top":break;case"center":h+=y/2;break;case"bottom":h+=y;break}var E=e.pstyle("text-background-opacity").value,_=e.pstyle("text-border-opacity").value,A=e.pstyle("text-border-width").pfValue,D=e.pstyle("text-background-padding").pfValue,O=e.pstyle("text-background-shape").strValue,R=O.indexOf("round")===0,k=2;if(E>0||A>0&&_>0){var L=u-D;switch(T){case"left":L-=g;break;case"center":L-=g/2;break}var S=h-y-D,I=g+2*D,M=y+2*D;if(E>0){var P=t.fillStyle,B=e.pstyle("text-background-color").value;t.fillStyle="rgba("+B[0]+","+B[1]+","+B[2]+","+E*l+")",R?dB(t,L,S,I,M,k):t.fillRect(L,S,I,M),t.fillStyle=P}if(A>0&&_>0){var F=t.strokeStyle,z=t.lineWidth,$=e.pstyle("text-border-color").value,U=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+$[0]+","+$[1]+","+$[2]+","+_*l+")",t.lineWidth=A,t.setLineDash)switch(U){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=A/4,t.setLineDash([]);break;case"solid":t.setLineDash([]);break}if(R?dB(t,L,S,I,M,k,"stroke"):t.strokeRect(L,S,I,M),U==="double"){var K=A/2;R?dB(t,L+K,S+K,I-K*2,M-K*2,k,"stroke"):t.strokeRect(L+K,S+K,I-K*2,M-K*2)}t.setLineDash&&t.setLineDash([]),t.lineWidth=z,t.strokeStyle=F}}var ee=2*e.pstyle("text-outline-width").pfValue;if(ee>0&&(t.lineWidth=ee),e.pstyle("text-wrap").value==="wrap"){var Y=Ul(s,"labelWrapCachedLines",r),ce=Ul(s,"labelLineHeight",r),Z=g/2,ue=this.getLabelJustification(e);switch(ue==="auto"||(T==="left"?ue==="left"?u+=-g:ue==="center"&&(u+=-Z):T==="center"?ue==="left"?u+=-Z:ue==="right"&&(u+=Z):T==="right"&&(ue==="center"?u+=Z:ue==="right"&&(u+=g))),C){case"top":h-=(Y.length-1)*ce;break;case"center":case"bottom":h-=(Y.length-1)*ce;break}for(var Q=0;Q0&&t.strokeText(Y[Q],u,h),t.fillText(Y[Q],u,h),h+=ce}else ee>0&&t.strokeText(p,u,h),t.fillText(p,u,h);w!==0&&(t.rotate(-w),t.translate(-f,-d))}}};cy={};cy.drawNode=function(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,s=this,l,u,h=e._private,f=h.rscratch,d=e.position();if(!(!_t(d.x)||!_t(d.y))&&!(a&&!e.visible())){var p=a?e.effectiveOpacity():1,m=s.usePaths(),g,y=!1,v=e.padding();l=e.width()+2*v,u=e.height()+2*v;var x;r&&(x=r,t.translate(-x.x1,-x.y1));for(var b=e.pstyle("background-image"),T=b.value,C=new Array(T.length),w=new Array(T.length),E=0,_=0;_0&&arguments[0]!==void 0?arguments[0]:L;s.eleFillStyle(t,e,oe)},"setupShapeColor"),Q=o(function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$;s.colorStrokeStyle(t,S[0],S[1],S[2],oe)},"setupBorderColor"),j=o(function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Y;s.colorStrokeStyle(t,K[0],K[1],K[2],oe)},"setupOutlineColor"),ne=o(function(oe,V,Te,W){var pe=s.nodePathCache=s.nodePathCache||[],ve=vge(Te==="polygon"?Te+","+W.join(","):Te,""+V,""+oe,""+Z),Pe=pe[ve],_e,be=!1;return Pe!=null?(_e=Pe,be=!0,f.pathCache=_e):(_e=new Path2D,pe[ve]=f.pathCache=_e),{path:_e,cacheHit:be}},"getPath"),te=e.pstyle("shape").strValue,he=e.pstyle("shape-polygon-points").pfValue;if(m){t.translate(d.x,d.y);var le=ne(l,u,te,he);g=le.path,y=le.cacheHit}var J=o(function(){if(!y){var oe=d;m&&(oe={x:0,y:0}),s.nodeShapes[s.getNodeShape(e)].draw(g||t,oe.x,oe.y,l,u,Z,f)}m?t.fill(g):t.fill()},"drawShape"),Se=o(function(){for(var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p,V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Te=h.backgrounding,W=0,pe=0;pe0&&arguments[0]!==void 0?arguments[0]:!1,V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p;s.hasPie(e)&&(s.drawPie(t,e,V),oe&&(m||s.nodeShapes[s.getNodeShape(e)].draw(t,d.x,d.y,l,u,Z,f)))},"drawPie"),ae=o(function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p,V=(R>0?R:-R)*oe,Te=R>0?0:255;R!==0&&(s.colorFillStyle(t,Te,Te,Te,V),m?t.fill(g):t.fill())},"darken"),Oe=o(function(){if(k>0){if(t.lineWidth=k,t.lineCap=P,t.lineJoin=M,t.setLineDash)switch(I){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash(F),t.lineDashOffset=z;break;case"solid":case"double":t.setLineDash([]);break}if(B!=="center"){if(t.save(),t.lineWidth*=2,B==="inside")m?t.clip(g):t.clip();else{var oe=new Path2D;oe.rect(-l/2-k,-u/2-k,l+2*k,u+2*k),oe.addPath(g),t.clip(oe,"evenodd")}m?t.stroke(g):t.stroke(),t.restore()}else m?t.stroke(g):t.stroke();if(I==="double"){t.lineWidth=k/3;var V=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",m?t.stroke(g):t.stroke(),t.globalCompositeOperation=V}t.setLineDash&&t.setLineDash([])}},"drawBorder"),ye=o(function(){if(U>0){if(t.lineWidth=U,t.lineCap="butt",t.setLineDash)switch(ee){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([]);break}var oe=d;m&&(oe={x:0,y:0});var V=s.getNodeShape(e),Te=k;B==="inside"&&(Te=0),B==="outside"&&(Te*=2);var W=(l+Te+(U+ce))/l,pe=(u+Te+(U+ce))/u,ve=l*W,Pe=u*pe,_e=s.nodeShapes[V].points,be;if(m){var Ve=ne(ve,Pe,V,_e);be=Ve.path}if(V==="ellipse")s.drawEllipsePath(be||t,oe.x,oe.y,ve,Pe);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(V)){var De=0,Ye=0,at=0;V==="round-diamond"?De=(Te+ce+U)*1.4:V==="round-heptagon"?(De=(Te+ce+U)*1.075,at=-(Te/2+ce+U)/35):V==="round-hexagon"?De=(Te+ce+U)*1.12:V==="round-pentagon"?(De=(Te+ce+U)*1.13,at=-(Te/2+ce+U)/15):V==="round-tag"?(De=(Te+ce+U)*1.12,Ye=(Te/2+U+ce)*.07):V==="round-triangle"&&(De=(Te+ce+U)*(Math.PI/2),at=-(Te+ce/2+U)/Math.PI),De!==0&&(W=(l+De)/l,ve=l*W,["round-hexagon","round-tag"].includes(V)||(pe=(u+De)/u,Pe=u*pe)),Z=Z==="auto"?Dge(ve,Pe):Z;for(var Rt=ve/2,st=Pe/2,Ue=Z+(Te+U+ce)/2,ut=new Array(_e.length/2),We=new Array(_e.length/2),lt=0;lt<_e.length/2;lt++)ut[lt]={x:oe.x+Ye+Rt*_e[lt*2],y:oe.y+at+st*_e[lt*2+1]};var Xt,Tt,Mt,bt,ht=ut.length;for(Tt=ut[ht-1],Xt=0;Xt0){if(i=i||n.position(),a==null||s==null){var m=n.padding();a=n.width()+2*m,s=n.height()+2*m}l.colorFillStyle(r,f[0],f[1],f[2],h),l.nodeShapes[d].draw(r,i.x,i.y,a+u*2,s+u*2,p),r.fill()}}}},"drawNodeOverlayUnderlay");cy.drawNodeOverlay=M1e("overlay");cy.drawNodeUnderlay=M1e("underlay");cy.hasPie=function(t){return t=t[0],t._private.hasPie};cy.drawPie=function(t,e,r,n){e=e[0],n=n||e.position();var i=e.cy().style(),a=e.pstyle("pie-size"),s=n.x,l=n.y,u=e.width(),h=e.height(),f=Math.min(u,h)/2,d=0,p=this.usePaths();p&&(s=0,l=0),a.units==="%"?f=f*a.pfValue:a.pfValue!==void 0&&(f=a.pfValue/2);for(var m=1;m<=i.pieBackgroundN;m++){var g=e.pstyle("pie-"+m+"-background-size").value,y=e.pstyle("pie-"+m+"-background-color").value,v=e.pstyle("pie-"+m+"-background-opacity").value*r,x=g/100;x+d>1&&(x=1-d);var b=1.5*Math.PI+2*Math.PI*d,T=2*Math.PI*x,C=b+T;g===0||d>=1||d+x>1||(t.beginPath(),t.moveTo(s,l),t.arc(s,l,f,b,C),t.closePath(),this.colorFillStyle(t,y[0],y[1],y[2],v),t.fill(),d+=x)}};vs={},_Je=100;vs.getPixelRatio=function(){var t=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var e=this.cy.window(),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(e.devicePixelRatio||1)/r};vs.paintCache=function(t){for(var e=this.paintCaches=this.paintCaches||[],r=!0,n,i=0;ie.minMbLowQualFrames&&(e.motionBlurPxRatio=e.mbPxRBlurry)),e.clearingMotionBlur&&(e.motionBlurPxRatio=1),e.textureDrawLastFrame&&!d&&(f[e.NODE]=!0,f[e.SELECT_BOX]=!0);var b=r.style(),T=r.zoom(),C=s!==void 0?s:T,w=r.pan(),E={x:w.x,y:w.y},_={zoom:T,pan:{x:w.x,y:w.y}},A=e.prevViewport,D=A===void 0||_.zoom!==A.zoom||_.pan.x!==A.pan.x||_.pan.y!==A.pan.y;!D&&!(y&&!g)&&(e.motionBlurPxRatio=1),l&&(E=l),C*=u,E.x*=u,E.y*=u;var O=e.getCachedZSortedEles();function R(Q,j,ne,te,he){var le=Q.globalCompositeOperation;Q.globalCompositeOperation="destination-out",e.colorFillStyle(Q,255,255,255,e.motionBlurTransparency),Q.fillRect(j,ne,te,he),Q.globalCompositeOperation=le}o(R,"mbclear");function k(Q,j){var ne,te,he,le;!e.clearingMotionBlur&&(Q===h.bufferContexts[e.MOTIONBLUR_BUFFER_NODE]||Q===h.bufferContexts[e.MOTIONBLUR_BUFFER_DRAG])?(ne={x:w.x*m,y:w.y*m},te=T*m,he=e.canvasWidth*m,le=e.canvasHeight*m):(ne=E,te=C,he=e.canvasWidth,le=e.canvasHeight),Q.setTransform(1,0,0,1,0,0),j==="motionBlur"?R(Q,0,0,he,le):!n&&(j===void 0||j)&&Q.clearRect(0,0,he,le),i||(Q.translate(ne.x,ne.y),Q.scale(te,te)),l&&Q.translate(l.x,l.y),s&&Q.scale(s,s)}if(o(k,"setContextTransform"),d||(e.textureDrawLastFrame=!1),d){if(e.textureDrawLastFrame=!0,!e.textureCache){e.textureCache={},e.textureCache.bb=r.mutableElements().boundingBox(),e.textureCache.texture=e.data.bufferCanvases[e.TEXTURE_BUFFER];var L=e.data.bufferContexts[e.TEXTURE_BUFFER];L.setTransform(1,0,0,1,0,0),L.clearRect(0,0,e.canvasWidth*e.textureMult,e.canvasHeight*e.textureMult),e.render({forcedContext:L,drawOnlyNodeLayer:!0,forcedPxRatio:u*e.textureMult});var _=e.textureCache.viewport={zoom:r.zoom(),pan:r.pan(),width:e.canvasWidth,height:e.canvasHeight};_.mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom}}f[e.DRAG]=!1,f[e.NODE]=!1;var S=h.contexts[e.NODE],I=e.textureCache.texture,_=e.textureCache.viewport;S.setTransform(1,0,0,1,0,0),p?R(S,0,0,_.width,_.height):S.clearRect(0,0,_.width,_.height);var M=b.core("outside-texture-bg-color").value,P=b.core("outside-texture-bg-opacity").value;e.colorFillStyle(S,M[0],M[1],M[2],P),S.fillRect(0,0,_.width,_.height);var T=r.zoom();k(S,!1),S.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/u,_.height/_.zoom/u),S.drawImage(I,_.mpan.x,_.mpan.y,_.width/_.zoom/u,_.height/_.zoom/u)}else e.textureOnViewport&&!n&&(e.textureCache=null);var B=r.extent(),F=e.pinching||e.hoverData.dragging||e.swipePanning||e.data.wheelZooming||e.hoverData.draggingEles||e.cy.animated(),z=e.hideEdgesOnViewport&&F,$=[];if($[e.NODE]=!f[e.NODE]&&p&&!e.clearedForMotionBlur[e.NODE]||e.clearingMotionBlur,$[e.NODE]&&(e.clearedForMotionBlur[e.NODE]=!0),$[e.DRAG]=!f[e.DRAG]&&p&&!e.clearedForMotionBlur[e.DRAG]||e.clearingMotionBlur,$[e.DRAG]&&(e.clearedForMotionBlur[e.DRAG]=!0),f[e.NODE]||i||a||$[e.NODE]){var U=p&&!$[e.NODE]&&m!==1,S=n||(U?e.data.bufferContexts[e.MOTIONBLUR_BUFFER_NODE]:h.contexts[e.NODE]),K=p&&!U?"motionBlur":void 0;k(S,K),z?e.drawCachedNodes(S,O.nondrag,u,B):e.drawLayeredElements(S,O.nondrag,u,B),e.debug&&e.drawDebugPoints(S,O.nondrag),!i&&!p&&(f[e.NODE]=!1)}if(!a&&(f[e.DRAG]||i||$[e.DRAG])){var U=p&&!$[e.DRAG]&&m!==1,S=n||(U?e.data.bufferContexts[e.MOTIONBLUR_BUFFER_DRAG]:h.contexts[e.DRAG]);k(S,p&&!U?"motionBlur":void 0),z?e.drawCachedNodes(S,O.drag,u,B):e.drawCachedElements(S,O.drag,u,B),e.debug&&e.drawDebugPoints(S,O.drag),!i&&!p&&(f[e.DRAG]=!1)}if(this.drawSelectionRectangle(t,k),p&&m!==1){var ee=h.contexts[e.NODE],Y=e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_NODE],ce=h.contexts[e.DRAG],Z=e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_DRAG],ue=o(function(j,ne,te){j.setTransform(1,0,0,1,0,0),te||!x?j.clearRect(0,0,e.canvasWidth,e.canvasHeight):R(j,0,0,e.canvasWidth,e.canvasHeight);var he=m;j.drawImage(ne,0,0,e.canvasWidth*he,e.canvasHeight*he,0,0,e.canvasWidth,e.canvasHeight)},"drawMotionBlur");(f[e.NODE]||$[e.NODE])&&(ue(ee,Y,$[e.NODE]),f[e.NODE]=!1),(f[e.DRAG]||$[e.DRAG])&&(ue(ce,Z,$[e.DRAG]),f[e.DRAG]=!1)}e.prevViewport=_,e.clearingMotionBlur&&(e.clearingMotionBlur=!1,e.motionBlurCleared=!0,e.motionBlur=!0),p&&(e.motionBlurTimeout=setTimeout(function(){e.motionBlurTimeout=null,e.clearedForMotionBlur[e.NODE]=!1,e.clearedForMotionBlur[e.DRAG]=!1,e.motionBlur=!1,e.clearingMotionBlur=!d,e.mbFrames=0,f[e.NODE]=!0,f[e.DRAG]=!0,e.redraw()},_Je)),n||r.emit("render")};vs.drawSelectionRectangle=function(t,e){var r=this,n=r.cy,i=r.data,a=n.style(),s=t.drawOnlyNodeLayer,l=t.drawAllLayers,u=i.canvasNeedsRedraw,h=t.forcedContext;if(r.showFps||!s&&u[r.SELECT_BOX]&&!l){var f=h||i.contexts[r.SELECT_BOX];if(e(f),r.selection[4]==1&&(r.hoverData.selecting||r.touchData.selecting)){var d=r.cy.zoom(),p=a.core("selection-box-border-width").value/d;f.lineWidth=p,f.fillStyle="rgba("+a.core("selection-box-color").value[0]+","+a.core("selection-box-color").value[1]+","+a.core("selection-box-color").value[2]+","+a.core("selection-box-opacity").value+")",f.fillRect(r.selection[0],r.selection[1],r.selection[2]-r.selection[0],r.selection[3]-r.selection[1]),p>0&&(f.strokeStyle="rgba("+a.core("selection-box-border-color").value[0]+","+a.core("selection-box-border-color").value[1]+","+a.core("selection-box-border-color").value[2]+","+a.core("selection-box-opacity").value+")",f.strokeRect(r.selection[0],r.selection[1],r.selection[2]-r.selection[0],r.selection[3]-r.selection[1]))}if(i.bgActivePosistion&&!r.hoverData.selecting){var d=r.cy.zoom(),m=i.bgActivePosistion;f.fillStyle="rgba("+a.core("active-bg-color").value[0]+","+a.core("active-bg-color").value[1]+","+a.core("active-bg-color").value[2]+","+a.core("active-bg-opacity").value+")",f.beginPath(),f.arc(m.x,m.y,a.core("active-bg-size").pfValue/d,0,2*Math.PI),f.fill()}var g=r.lastRedrawTime;if(r.showFps&&g){g=Math.round(g);var y=Math.round(1e3/g),v="1 frame = "+g+" ms = "+y+" fps";if(f.setTransform(1,0,0,1,0,0),f.fillStyle="rgba(255, 0, 0, 0.75)",f.strokeStyle="rgba(255, 0, 0, 0.75)",f.font="30px Arial",!Vb){var x=f.measureText(v);Vb=x.actualBoundingBoxAscent}f.fillText(v,0,Vb);var b=60;f.strokeRect(0,Vb+10,250,20),f.fillRect(0,Vb+10,250*Math.min(y/b,1),20)}l||(u[r.SELECT_BOX]=!1)}};o(jme,"compileShader");o(DJe,"createProgram");o(LJe,"createTextureCanvas");o(nF,"getEffectivePanZoom");o(pB,"modelToRenderedPosition");o(E6,"toWebGLColor");o(S6,"indexToVec4");o(RJe,"vec4ToIndex");o(NJe,"createTexture");o(I1e,"getTypeInfo");o(O1e,"createTypedArray");o(MJe,"createTypedArrayView");o(IJe,"createBufferStaticDraw");o(mo,"createBufferDynamicDraw");o(OJe,"createPickingFrameBuffer");Kme=typeof Float32Array<"u"?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)});o(Qb,"create");o(P1e,"identity");o(PJe,"multiply");o(q6,"translate");o(B1e,"rotate");o(iF,"scale");o(BJe,"projection");Zb={SCREEN:{name:"screen",screen:!0},PICKING:{name:"picking",picking:!0}},Ub=aa({getKey:null,drawElement:null,getBoundingBox:null,getRotation:null,getRotationPoint:null,getRotationOffset:null,isVisible:null,getPadding:null}),FJe=function(){function t(e,r){Bf(this,t),this.debugID=Math.floor(Math.random()*1e4),this.r=e,this.atlasSize=r.webglTexSize,this.rows=r.webglTexRows,this.enableWrapping=r.enableWrapping,this.texHeight=Math.floor(this.atlasSize/this.rows),this.maxTexWidth=this.atlasSize,this.texture=null,this.canvas=null,this.needsBuffer=!0,this.freePointer={x:0,row:0},this.keyToLocation=new Map,this.canvas=r.createTextureCanvas(e,this.atlasSize,this.atlasSize),this.scratch=r.createTextureCanvas(e,this.atlasSize,this.texHeight,"scratch")}return o(t,"Atlas"),Ff(t,[{key:"getKeys",value:o(function(){return new Set(this.keyToLocation.keys())},"getKeys")},{key:"getScale",value:o(function(r){var n=r.w,i=r.h,a=this.texHeight,s=this.maxTexWidth,l=a/i,u=n*l,h=i*l;return u>s&&(l=s/n,u=n*l,h=i*l),{scale:l,texW:u,texH:h}},"getScale")},{key:"draw",value:o(function(r,n,i){var a=this,s=this.atlasSize,l=this.rows,u=this.texHeight,h=this.getScale(n),f=h.scale,d=h.texW,p=h.texH,m=[null,null],g=o(function(T,C){if(i&&C){var w=C.context,E=T.x,_=T.row,A=E,D=u*_;w.save(),w.translate(A,D),w.scale(f,f),i(w,n),w.restore()}},"drawAt"),y=o(function(){g(a.freePointer,a.canvas),m[0]={x:a.freePointer.x,y:a.freePointer.row*u,w:d,h:p},m[1]={x:a.freePointer.x+d,y:a.freePointer.row*u,w:0,h:p},a.freePointer.x+=d,a.freePointer.x==s&&(a.freePointer.x=0,a.freePointer.row++)},"drawNormal"),v=o(function(){var T=a.scratch,C=a.canvas;T.clear(),g({x:0,row:0},T);var w=s-a.freePointer.x,E=d-w,_=u;{var A=a.freePointer.x,D=a.freePointer.row*u,O=w;C.context.drawImage(T,0,0,O,_,A,D,O,_),m[0]={x:A,y:D,w:O,h:p}}{var R=w,k=(a.freePointer.row+1)*u,L=E;C&&C.context.drawImage(T,R,0,L,_,0,k,L,_),m[1]={x:0,y:k,w:L,h:p}}a.freePointer.x=E,a.freePointer.row++},"drawWrapped"),x=o(function(){a.freePointer.x=0,a.freePointer.row++},"moveToStartOfNextRow");if(this.freePointer.x+d<=s)y();else{if(this.freePointer.row>=l-1)return!1;this.freePointer.x===s?(x(),y()):this.enableWrapping?v():(x(),y())}return this.keyToLocation.set(r,m),this.needsBuffer=!0,m},"draw")},{key:"getOffsets",value:o(function(r){return this.keyToLocation.get(r)},"getOffsets")},{key:"isEmpty",value:o(function(){return this.freePointer.x===0&&this.freePointer.row===0},"isEmpty")},{key:"canFit",value:o(function(r){var n=this.atlasSize,i=this.rows,a=this.getScale(r),s=a.texW;return this.freePointer.x+s>n?this.freePointer.row1&&arguments[1]!==void 0?arguments[1]:{},i=n.forceRedraw,a=i===void 0?!1:i,s=n.filterEle,l=s===void 0?function(){return!0}:s,u=n.filterType,h=u===void 0?function(){return!0}:u,f=!1,d=go(r),p;try{for(d.s();!(p=d.n()).done;){var m=p.value;if(l(m)){var g=m.id(),y=go(this.getRenderTypes()),v;try{for(y.s();!(v=y.n()).done;){var x=v.value;if(h(x.type)){var b=x.getKey(m);a?(x.atlasCollection.deleteKey(g,b),x.atlasCollection.styleKeyNeedsRedraw.add(b),f=!0):f|=x.atlasCollection.checkKeyIsInvalid(g,b)}}}catch(T){y.e(T)}finally{y.f()}}}}catch(T){d.e(T)}finally{d.f()}return f},"invalidate")},{key:"gc",value:o(function(){var r=go(this.getRenderTypes()),n;try{for(r.s();!(n=r.n()).done;){var i=n.value;i.atlasCollection.gc()}}catch(a){r.e(a)}finally{r.f()}},"gc")},{key:"isRenderable",value:o(function(r,n){var i=this.getRenderTypeOpts(n);return i&&i.isVisible(r)},"isRenderable")},{key:"startBatch",value:o(function(){this.batchAtlases=[]},"startBatch")},{key:"getAtlasCount",value:o(function(){return this.batchAtlases.length},"getAtlasCount")},{key:"getAtlases",value:o(function(){return this.batchAtlases},"getAtlases")},{key:"getOrCreateAtlas",value:o(function(r,n,i){var a=this.renderTypes.get(i),s=a.getKey(r),l=r.id();return a.atlasCollection.draw(l,s,n,function(u){a.drawElement(u,r,n,!0,!0)})},"getOrCreateAtlas")},{key:"getAtlasIndexForBatch",value:o(function(r){var n=this.batchAtlases.indexOf(r);if(n<0){if(this.batchAtlases.length===this.maxAtlasesPerBatch)return;this.batchAtlases.push(r),n=this.batchAtlases.length-1}return n},"getAtlasIndexForBatch")},{key:"getIndexArray",value:o(function(){return Array.from({length:this.maxAtlases},function(r,n){return n})},"getIndexArray")},{key:"getAtlasInfo",value:o(function(r,n){var i=this.renderTypes.get(n),a=i.getBoundingBox(r),s=this.getOrCreateAtlas(r,a,n),l=this.getAtlasIndexForBatch(s);if(l!==void 0){var u=i.getKey(r),h=s.getOffsets(u),f=Li(h,2),d=f[0],p=f[1];return{atlasID:l,tex:d,tex1:d,tex2:p,bb:a,type:n,styleKey:u}}},"getAtlasInfo")},{key:"canAddToCurrentBatch",value:o(function(r,n){if(this.batchAtlases.length===this.maxAtlasesPerBatch){var i=this.renderTypes.get(n),a=i.getKey(r),s=i.atlasCollection.getAtlas(a);return s&&this.batchAtlases.includes(s)}return!0},"canAddToCurrentBatch")},{key:"setTransformMatrix",value:o(function(r,n,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,s=n.bb,l=n.type,u=n.tex1,h=n.tex2,f=this.getRenderTypeOpts(l),d=f.getPadding?f.getPadding(i):0,p=u.w/(u.w+h.w);a||(p=1-p);var m=this.getAdjustedBB(s,d,a,p),g,y;P1e(r);var v=f.getRotation?f.getRotation(i):0;if(v!==0){var x=f.getRotationPoint(i),b=x.x,T=x.y;q6(r,r,[b,T]),B1e(r,r,v);var C=f.getRotationOffset(i);g=C.x+m.xOffset,y=C.y}else g=m.x1,y=m.y1;q6(r,r,[g,y]),iF(r,r,[m.w,m.h])},"setTransformMatrix")},{key:"getTransformMatrix",value:o(function(r,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=Qb();return this.setTransformMatrix(a,r,n,i),a},"getTransformMatrix")},{key:"getAdjustedBB",value:o(function(r,n,i,a){var s=r.x1,l=r.y1,u=r.w,h=r.h;n&&(s-=n,l-=n,u+=2*n,h+=2*n);var f=0,d=u*a;return i&&a<1?u=d:!i&&a<1&&(f=u-d,s+=f,u=d),{x1:s,y1:l,w:u,h,xOffset:f}},"getAdjustedBB")},{key:"getDebugInfo",value:o(function(){var r=[],n=go(this.renderTypes),i;try{for(n.s();!(i=n.n()).done;){var a=Li(i.value,2),s=a[0],l=a[1],u=l.atlasCollection.getCounts(),h=u.keyCount,f=u.atlasCount;r.push({type:s,keyCount:h,atlasCount:f})}}catch(d){n.e(d)}finally{n.f()}return r},"getDebugInfo")}]),t}(),mB=0,Qme=1,Zme=2,gB=3,VJe=function(){function t(e,r,n){Bf(this,t),this.r=e,this.gl=r,this.maxInstances=n.webglBatchSize,this.maxAtlases=n.webglTexPerBatch,this.atlasSize=n.webglTexSize,this.bgColor=n.bgColor,n.enableWrapping=!0,n.createTextureCanvas=LJe,this.atlasManager=new GJe(e,n),this.program=this.createShaderProgram(Zb.SCREEN),this.pickingProgram=this.createShaderProgram(Zb.PICKING),this.vao=this.createVAO(),this.debugInfo=[]}return o(t,"ElementDrawingWebGL"),Ff(t,[{key:"addTextureRenderType",value:o(function(r,n){this.atlasManager.addRenderType(r,n)},"addTextureRenderType")},{key:"invalidate",value:o(function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.type,a=this.atlasManager;return i?a.invalidate(r,{filterType:o(function(l){return l===i},"filterType"),forceRedraw:!0}):a.invalidate(r)},"invalidate")},{key:"gc",value:o(function(){this.atlasManager.gc()},"gc")},{key:"createShaderProgram",value:o(function(r){var n=this.gl,i=`#version 300 es - precision highp float; - - uniform mat3 uPanZoomMatrix; - uniform int uAtlasSize; - - // instanced - in vec2 aPosition; - - // what are we rendering? - in int aVertType; - - // for picking - in vec4 aIndex; - - // For textures - in int aAtlasId; // which shader unit/atlas to use - in vec4 aTex1; // x/y/w/h of texture in atlas - in vec4 aTex2; - - // for any transforms that are needed - in vec4 aScaleRotate1; // vectors use fewer attributes than matrices - in vec2 aTranslate1; - in vec4 aScaleRotate2; - in vec2 aTranslate2; - - // for edges - in vec4 aPointAPointB; - in vec4 aPointCPointD; - in float aLineWidth; - in vec4 aEdgeColor; - - out vec2 vTexCoord; - out vec4 vEdgeColor; - flat out int vAtlasId; - flat out vec4 vIndex; - flat out int vVertType; - - void main(void) { - int vid = gl_VertexID; - vec2 position = aPosition; - - if(aVertType == `.concat(mB,`) { - float texX; - float texY; - float texW; - float texH; - mat3 texMatrix; - - int vid = gl_VertexID; - if(vid <= 5) { - texX = aTex1.x; - texY = aTex1.y; - texW = aTex1.z; - texH = aTex1.w; - texMatrix = mat3( - vec3(aScaleRotate1.xy, 0.0), - vec3(aScaleRotate2.zw, 0.0), - vec3(aTranslate1, 1.0) - ); - } else { - texX = aTex2.x; - texY = aTex2.y; - texW = aTex2.z; - texH = aTex2.w; - texMatrix = mat3( - vec3(aScaleRotate2.xy, 0.0), - vec3(aScaleRotate2.zw, 0.0), - vec3(aTranslate2, 1.0) - ); - } - - if(vid == 1 || vid == 2 || vid == 4 || vid == 7 || vid == 8 || vid == 10) { - texX += texW; - } - if(vid == 2 || vid == 4 || vid == 5 || vid == 8 || vid == 10 || vid == 11) { - texY += texH; - } - - float d = float(uAtlasSize); - vTexCoord = vec2(texX / d, texY / d); // tex coords must be between 0 and 1 - - gl_Position = vec4(uPanZoomMatrix * texMatrix * vec3(position, 1.0), 1.0); - } - else if(aVertType == `).concat(Qme,` && vid < 6) { - vec2 source = aPointAPointB.xy; - vec2 target = aPointAPointB.zw; - - // adjust the geometry so that the line is centered on the edge - position.y = position.y - 0.5; - - vec2 xBasis = target - source; - vec2 yBasis = normalize(vec2(-xBasis.y, xBasis.x)); - vec2 point = source + xBasis * position.x + yBasis * aLineWidth * position.y; - - gl_Position = vec4(uPanZoomMatrix * vec3(point, 1.0), 1.0); - vEdgeColor = aEdgeColor; - } - else if(aVertType == `).concat(Zme,` && vid < 6) { - vec2 pointA = aPointAPointB.xy; - vec2 pointB = aPointAPointB.zw; - vec2 pointC = aPointCPointD.xy; - vec2 pointD = aPointCPointD.zw; - - // adjust the geometry so that the line is centered on the edge - position.y = position.y - 0.5; - - vec2 p0 = pointA; - vec2 p1 = pointB; - vec2 p2 = pointC; - vec2 pos = position; - if(position.x == 1.0) { - p0 = pointD; - p1 = pointC; - p2 = pointB; - pos = vec2(0.0, -position.y); - } - - vec2 p01 = p1 - p0; - vec2 p12 = p2 - p1; - vec2 p21 = p1 - p2; - - // Find the normal vector. - vec2 tangent = normalize(normalize(p12) + normalize(p01)); - vec2 normal = vec2(-tangent.y, tangent.x); - - // Find the vector perpendicular to p0 -> p1. - vec2 p01Norm = normalize(vec2(-p01.y, p01.x)); - - // Determine the bend direction. - float sigma = sign(dot(p01 + p21, normal)); - float width = aLineWidth; - - if(sign(pos.y) == -sigma) { - // This is an intersecting vertex. Adjust the position so that there's no overlap. - vec2 point = 0.5 * width * normal * -sigma / dot(normal, p01Norm); - gl_Position = vec4(uPanZoomMatrix * vec3(p1 + point, 1.0), 1.0); - } else { - // This is a non-intersecting vertex. Treat it like a mitre join. - vec2 point = 0.5 * width * normal * sigma * dot(normal, p01Norm); - gl_Position = vec4(uPanZoomMatrix * vec3(p1 + point, 1.0), 1.0); - } - - vEdgeColor = aEdgeColor; - } - else if(aVertType == `).concat(gB,` && vid < 3) { - // massage the first triangle into an edge arrow - if(vid == 0) - position = vec2(-0.15, -0.3); - if(vid == 1) - position = vec2( 0.0, 0.0); - if(vid == 2) - position = vec2( 0.15, -0.3); - - mat3 transform = mat3( - vec3(aScaleRotate1.xy, 0.0), - vec3(aScaleRotate1.zw, 0.0), - vec3(aTranslate1, 1.0) - ); - gl_Position = vec4(uPanZoomMatrix * transform * vec3(position, 1.0), 1.0); - vEdgeColor = aEdgeColor; - } else { - gl_Position = vec4(2.0, 0.0, 0.0, 1.0); // discard vertex by putting it outside webgl clip space - } - - vAtlasId = aAtlasId; - vIndex = aIndex; - vVertType = aVertType; - } - `),a=this.atlasManager.getIndexArray(),s=`#version 300 es - precision highp float; - - // define texture unit for each node in the batch - `.concat(a.map(function(h){return"uniform sampler2D uTexture".concat(h,";")}).join(` - `),` - - uniform vec4 uBGColor; - - in vec2 vTexCoord; - in vec4 vEdgeColor; - flat in int vAtlasId; - flat in vec4 vIndex; - flat in int vVertType; - - out vec4 outColor; - - void main(void) { - if(vVertType == `).concat(mB,`) { - `).concat(a.map(function(h){return"if(vAtlasId == ".concat(h,") outColor = texture(uTexture").concat(h,", vTexCoord);")}).join(` - else `),` - } else if(vVertType == `).concat(gB,`) { - // blend arrow color with background (using premultiplied alpha) - outColor.rgb = vEdgeColor.rgb + (uBGColor.rgb * (1.0 - vEdgeColor.a)); - outColor.a = 1.0; // make opaque, masks out line under arrow - } else { - outColor = vEdgeColor; - } - - `).concat(r.picking?`if(outColor.a == 0.0) discard; - else outColor = vIndex;`:"",` - } - `),l=DJe(n,i,s);l.aPosition=n.getAttribLocation(l,"aPosition"),l.aIndex=n.getAttribLocation(l,"aIndex"),l.aVertType=n.getAttribLocation(l,"aVertType"),l.aAtlasId=n.getAttribLocation(l,"aAtlasId"),l.aTex1=n.getAttribLocation(l,"aTex1"),l.aTex2=n.getAttribLocation(l,"aTex2"),l.aScaleRotate1=n.getAttribLocation(l,"aScaleRotate1"),l.aTranslate1=n.getAttribLocation(l,"aTranslate1"),l.aScaleRotate2=n.getAttribLocation(l,"aScaleRotate2"),l.aTranslate2=n.getAttribLocation(l,"aTranslate2"),l.aPointAPointB=n.getAttribLocation(l,"aPointAPointB"),l.aPointCPointD=n.getAttribLocation(l,"aPointCPointD"),l.aLineWidth=n.getAttribLocation(l,"aLineWidth"),l.aEdgeColor=n.getAttribLocation(l,"aEdgeColor"),l.uPanZoomMatrix=n.getUniformLocation(l,"uPanZoomMatrix"),l.uAtlasSize=n.getUniformLocation(l,"uAtlasSize"),l.uBGColor=n.getUniformLocation(l,"uBGColor"),l.uTextures=[];for(var u=0;u2&&arguments[2]!==void 0?arguments[2]:Zb.SCREEN;this.panZoomMatrix=r,this.debugInfo=n,this.renderTarget=i,this.startBatch()},"startFrame")},{key:"startBatch",value:o(function(){this.instanceCount=0,this.atlasManager.startBatch()},"startBatch")},{key:"endFrame",value:o(function(){this.endBatch()},"endFrame")},{key:"getTempMatrix",value:o(function(){return this.tempMatrix=this.tempMatrix||Qb()},"getTempMatrix")},{key:"drawTexture",value:o(function(r,n,i){var a=this.atlasManager;if(a.isRenderable(r,i)){a.canAddToCurrentBatch(r,i)||this.endBatch();var s=this.instanceCount;this.vertTypeBuffer.getView(s)[0]=mB;var l=this.indexBuffer.getView(s);S6(n,l);var u=a.getAtlasInfo(r,i,u),h=u.atlasID,f=u.tex1,d=u.tex2,p=this.atlasIdBuffer.getView(s);p[0]=h;var m=this.tex1Buffer.getView(s);m[0]=f.x,m[1]=f.y,m[2]=f.w,m[3]=f.h;var g=this.tex2Buffer.getView(s);g[0]=d.x,g[1]=d.y,g[2]=d.w,g[3]=d.h;for(var y=this.getTempMatrix(),v=0,x=[1,2];v=this.maxInstances&&this.endBatch()}},"drawTexture")},{key:"drawEdgeArrow",value:o(function(r,n,i){var a=r._private.rscratch,s,l,u;if(i==="source"?(s=a.arrowStartX,l=a.arrowStartY,u=a.srcArrowAngle):(s=a.arrowEndX,l=a.arrowEndY,u=a.tgtArrowAngle),!(isNaN(s)||s==null||isNaN(l)||l==null||isNaN(u)||u==null)){var h=r.pstyle(i+"-arrow-shape").value;if(h!=="none"){var f=r.pstyle(i+"-arrow-color").value,d=r.pstyle("opacity").value,p=r.pstyle("line-opacity").value,m=d*p,g=r.pstyle("width").pfValue,y=r.pstyle("arrow-scale").value,v=this.r.getArrowWidth(g,y),x=this.getTempMatrix();P1e(x),q6(x,x,[s,l]),iF(x,x,[v,v]),B1e(x,x,u);var b=this.instanceCount;this.vertTypeBuffer.getView(b)[0]=gB;var T=this.indexBuffer.getView(b);S6(n,T);var C=this.edgeColorBuffer.getView(b);E6(f,m,C);var w=this.scaleRotate1Buffer.getView(b);w[0]=x[0],w[1]=x[1],w[2]=x[3],w[3]=x[4];var E=this.translate1Buffer.getView(b);E[0]=x[6],E[1]=x[7],this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()}}},"drawEdgeArrow")},{key:"drawEdgeLine",value:o(function(r,n){var i=r.pstyle("opacity").value,a=r.pstyle("line-opacity").value,s=r.pstyle("width").pfValue,l=r.pstyle("line-color").value,u=i*a,h=this.getEdgePoints(r);if(h.length/2+this.instanceCount>this.maxInstances&&this.endBatch(),h.length==4){var f=this.instanceCount;this.vertTypeBuffer.getView(f)[0]=Qme;var d=this.indexBuffer.getView(f);S6(n,d);var p=this.edgeColorBuffer.getView(f);E6(l,u,p);var m=this.lineWidthBuffer.getView(f);m[0]=s;var g=this.pointAPointBBuffer.getView(f);g[0]=h[0],g[1]=h[1],g[2]=h[2],g[3]=h[3],this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()}else for(var y=0;y=this.maxInstances&&this.endBatch()}},"drawEdgeLine")},{key:"getEdgePoints",value:o(function(r){var n=r._private.rscratch,i=n.allpts;if(i.length==4)return i;var a=this.getNumSegments(r);return this.getCurveSegmentPoints(i,a)},"getEdgePoints")},{key:"getNumSegments",value:o(function(r){var n=15;return Math.min(Math.max(n,5),this.maxInstances)},"getNumSegments")},{key:"getCurveSegmentPoints",value:o(function(r,n){if(r.length==4)return r;for(var i=Array((n+1)*2),a=0;a<=n;a++)if(a==0)i[0]=r[0],i[1]=r[1];else if(a==n)i[a*2]=r[r.length-2],i[a*2+1]=r[r.length-1];else{var s=a/n;this.setCurvePoint(r,s,i,a*2)}return i},"getCurveSegmentPoints")},{key:"setCurvePoint",value:o(function(r,n,i,a){if(r.length<=2)i[a]=r[0],i[a+1]=r[1];else{for(var s=Array(r.length-2),l=0;l0},"isVisible")},{key:"getStyle",value:o(function(r,n){var i=n.pstyle("".concat(r,"-opacity")).value,a=n.pstyle("".concat(r,"-color")).value,s=n.pstyle("".concat(r,"-shape")).value;return{opacity:i,color:a,shape:s}},"getStyle")},{key:"getPadding",value:o(function(r,n){return n.pstyle("".concat(r,"-padding")).pfValue},"getPadding")},{key:"draw",value:o(function(r,n,i,a){if(this.isVisible(r,i)){var s=this.r,l=a.w,u=a.h,h=l/2,f=u/2,d=this.getStyle(r,i),p=d.shape,m=d.color,g=d.opacity;n.save(),n.fillStyle=Jme(m,g),p==="round-rectangle"||p==="roundrectangle"?s.drawRoundRectanglePath(n,h,f,l,u,"auto"):p==="ellipse"&&s.drawEllipsePath(n,h,f,l,u),n.fill(),n.restore()}},"draw")}]),t}();o(HJe,"getBGColor");F1e={};F1e.initWebgl=function(t,e){var r=this,n=r.data.contexts[r.WEBGL],i=t.cy.container();t.bgColor=HJe(i),t.webglTexSize=Math.min(t.webglTexSize,n.getParameter(n.MAX_TEXTURE_SIZE)),t.webglTexRows=Math.min(t.webglTexRows,54),t.webglBatchSize=Math.min(t.webglBatchSize,16384),t.webglTexPerBatch=Math.min(t.webglTexPerBatch,n.getParameter(n.MAX_TEXTURE_IMAGE_UNITS)),r.webglDebug=t.webglDebug,r.webglDebugShowAtlases=t.webglDebugShowAtlases,console.log("max texture units",n.getParameter(n.MAX_TEXTURE_IMAGE_UNITS)),console.log("max texture size",n.getParameter(n.MAX_TEXTURE_SIZE)),console.log("webgl options",t),r.pickingFrameBuffer=OJe(n),r.pickingFrameBuffer.needsDraw=!0;var a=o(function(f){return r.getTextAngle(f,null)},"getLabelRotation"),s=o(function(f){var d=f.pstyle("label");return d&&d.value},"isLabelVisible");r.eleDrawing=new VJe(r,n,t);var l=new UJe(r);r.eleDrawing.addTextureRenderType("node-body",Ub({getKey:e.getStyleKey,getBoundingBox:e.getElementBox,drawElement:e.drawElement,isVisible:o(function(f){return f.visible()},"isVisible")})),r.eleDrawing.addTextureRenderType("node-label",Ub({getKey:e.getLabelKey,getBoundingBox:e.getLabelBox,drawElement:e.drawLabel,getRotation:a,getRotationPoint:e.getLabelRotationPoint,getRotationOffset:e.getLabelRotationOffset,isVisible:s})),r.eleDrawing.addTextureRenderType("node-overlay",Ub({getBoundingBox:e.getElementBox,getKey:o(function(f){return l.getStyleKey("overlay",f)},"getKey"),drawElement:o(function(f,d,p){return l.draw("overlay",f,d,p)},"drawElement"),isVisible:o(function(f){return l.isVisible("overlay",f)},"isVisible"),getPadding:o(function(f){return l.getPadding("overlay",f)},"getPadding")})),r.eleDrawing.addTextureRenderType("node-underlay",Ub({getBoundingBox:e.getElementBox,getKey:o(function(f){return l.getStyleKey("underlay",f)},"getKey"),drawElement:o(function(f,d,p){return l.draw("underlay",f,d,p)},"drawElement"),isVisible:o(function(f){return l.isVisible("underlay",f)},"isVisible"),getPadding:o(function(f){return l.getPadding("underlay",f)},"getPadding")})),r.eleDrawing.addTextureRenderType("edge-label",Ub({getKey:e.getLabelKey,getBoundingBox:e.getLabelBox,drawElement:e.drawLabel,getRotation:a,getRotationPoint:e.getLabelRotationPoint,getRotationOffset:e.getLabelRotationOffset,isVisible:s}));var u=d4(function(){console.log("garbage collect flag set"),r.data.gc=!0},1e4);r.onUpdateEleCalcs(function(h,f){var d=!1;f&&f.length>0&&(d|=r.eleDrawing.invalidate(f)),d&&u()}),WJe(r)};o(WJe,"overrideCanvasRendererFunctions");o(qJe,"clearWebgl");o(YJe,"clearCanvas");o(XJe,"createPanZoomMatrix");o($1e,"setContextTransform");o(jJe,"drawSelectionRectangle");o(KJe,"drawAxes");o(QJe,"drawAtlases");o(ZJe,"getPickingIndexes");o(JJe,"findNearestElementsWebgl");o(z1e,"renderWebgl");zf={};zf.drawPolygonPath=function(t,e,r,n,i,a){var s=n/2,l=i/2;t.beginPath&&t.beginPath(),t.moveTo(e+s*a[0],r+l*a[1]);for(var u=1;u0&&s>0){m.clearRect(0,0,a,s),m.globalCompositeOperation="source-over";var g=this.getCachedZSortedEles();if(t.full)m.translate(-n.x1*h,-n.y1*h),m.scale(h,h),this.drawElements(m,g),m.scale(1/h,1/h),m.translate(n.x1*h,n.y1*h);else{var y=e.pan(),v={x:y.x*h,y:y.y*h};h*=e.zoom(),m.translate(v.x,v.y),m.scale(h,h),this.drawElements(m,g),m.scale(1/h,1/h),m.translate(-v.x,-v.y)}t.bg&&(m.globalCompositeOperation="destination-over",m.fillStyle=t.bg,m.rect(0,0,a,s),m.fill())}return p};o(eet,"b64ToBlob");o(rge,"b64UriToB64");o(V1e,"output");x4.png=function(t){return V1e(t,this.bufferCanvasImage(t),"image/png")};x4.jpg=function(t){return V1e(t,this.bufferCanvasImage(t),"image/jpeg")};U1e={};U1e.nodeShapeImpl=function(t,e,r,n,i,a,s,l){switch(t){case"ellipse":return this.drawEllipsePath(e,r,n,i,a);case"polygon":return this.drawPolygonPath(e,r,n,i,a,s);case"round-polygon":return this.drawRoundPolygonPath(e,r,n,i,a,s,l);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,r,n,i,a,l);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,r,n,i,a,s,l);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,r,n,i,a,l);case"barrel":return this.drawBarrelPath(e,r,n,i,a)}};tet=H1e,Er=H1e.prototype;Er.CANVAS_LAYERS=3;Er.SELECT_BOX=0;Er.DRAG=1;Er.NODE=2;Er.WEBGL=3;Er.CANVAS_TYPES=["2d","2d","2d","webgl2"];Er.BUFFER_COUNT=3;Er.TEXTURE_BUFFER=0;Er.MOTIONBLUR_BUFFER_NODE=1;Er.MOTIONBLUR_BUFFER_DRAG=2;o(H1e,"CanvasRenderer");Er.redrawHint=function(t,e){var r=this;switch(t){case"eles":r.data.canvasNeedsRedraw[Er.NODE]=e;break;case"drag":r.data.canvasNeedsRedraw[Er.DRAG]=e;break;case"select":r.data.canvasNeedsRedraw[Er.SELECT_BOX]=e;break;case"gc":r.data.gc=!0;break}};ret=typeof Path2D<"u";Er.path2dEnabled=function(t){if(t===void 0)return this.pathsEnabled;this.pathsEnabled=!!t};Er.usePaths=function(){return ret&&this.pathsEnabled};Er.setImgSmoothing=function(t,e){t.imageSmoothingEnabled!=null?t.imageSmoothingEnabled=e:(t.webkitImageSmoothingEnabled=e,t.mozImageSmoothingEnabled=e,t.msImageSmoothingEnabled=e)};Er.getImgSmoothing=function(t){return t.imageSmoothingEnabled!=null?t.imageSmoothingEnabled:t.webkitImageSmoothingEnabled||t.mozImageSmoothingEnabled||t.msImageSmoothingEnabled};Er.makeOffscreenCanvas=function(t,e){var r;if((typeof OffscreenCanvas>"u"?"undefined":Hi(OffscreenCanvas))!=="undefined")r=new OffscreenCanvas(t,e);else{var n=this.cy.window(),i=n.document;r=i.createElement("canvas"),r.width=t,r.height=e}return r};[R1e,Jc,nh,rF,Jp,cy,vs,F1e,zf,x4,U1e].forEach(function(t){ir(Er,t)});net=[{name:"null",impl:y1e},{name:"base",impl:A1e},{name:"canvas",impl:tet}],iet=[{type:"layout",extensions:zZe},{type:"renderer",extensions:net}],W1e={},q1e={};o(Y1e,"setExtension");o(X1e,"getExtension");o(aet,"setModule");o(set,"getModule");MB=o(function(){if(arguments.length===2)return X1e.apply(null,arguments);if(arguments.length===3)return Y1e.apply(null,arguments);if(arguments.length===4)return set.apply(null,arguments);if(arguments.length===5)return aet.apply(null,arguments);oi("Invalid extension access syntax")},"extension");c4.prototype.extension=MB;iet.forEach(function(t){t.extensions.forEach(function(e){Y1e(t.type,e.name,e.impl)})});j1e=o(function t(){if(!(this instanceof t))return new t;this.length=0},"Stylesheet"),Qp=j1e.prototype;Qp.instanceString=function(){return"stylesheet"};Qp.selector=function(t){var e=this.length++;return this[e]={selector:t,properties:[]},this};Qp.css=function(t,e){var r=this.length-1;if(Jt(t))this[r].properties.push({name:t,value:e});else if(Vr(t))for(var n=t,i=Object.keys(n),a=0;a{"use strict";o(function(e,r){typeof b4=="object"&&typeof sF=="object"?sF.exports=r():typeof define=="function"&&define.amd?define([],r):typeof b4=="object"?b4.layoutBase=r():e.layoutBase=r()},"webpackUniversalModuleDefinition")(b4,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return o(r,"__webpack_require__"),r.m=t,r.c=e,r.i=function(n){return n},r.d=function(n,i,a){r.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:a})},r.n=function(n){var i=n&&n.__esModule?o(function(){return n.default},"getDefault"):o(function(){return n},"getModuleExports");return r.d(i,"a",i),i},r.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},r.p="",r(r.s=26)}([function(t,e,r){"use strict";function n(){}o(n,"LayoutConstants"),n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(8),a=r(9);function s(u,h,f){n.call(this,f),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=f,this.bendpoints=[],this.source=u,this.target=h}o(s,"LEdge"),s.prototype=Object.create(n.prototype);for(var l in n)s[l]=n[l];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.prototype.getOtherEnd=function(u){if(this.source===u)return this.target;if(this.target===u)return this.source;throw"Node is not incident with this edge"},s.prototype.getOtherEndInGraph=function(u,h){for(var f=this.getOtherEnd(u),d=h.getGraphManager().getRoot();;){if(f.getOwner()==h)return f;if(f.getOwner()==d)break;f=f.getOwner().getParent()}return null},s.prototype.updateLength=function(){var u=new Array(4);this.isOverlapingSourceAndTarget=i.getIntersection(this.target.getRect(),this.source.getRect(),u),this.isOverlapingSourceAndTarget||(this.lengthX=u[0]-u[2],this.lengthY=u[1]-u[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,r){"use strict";function n(i){this.vGraphObject=i}o(n,"LGraphObject"),t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(10),a=r(13),s=r(0),l=r(16),u=r(4);function h(d,p,m,g){m==null&&g==null&&(g=p),n.call(this,g),d.graphManager!=null&&(d=d.graphManager),this.estimatedSize=i.MIN_VALUE,this.inclusionTreeDepth=i.MAX_VALUE,this.vGraphObject=g,this.edges=[],this.graphManager=d,m!=null&&p!=null?this.rect=new a(p.x,p.y,m.width,m.height):this.rect=new a}o(h,"LNode"),h.prototype=Object.create(n.prototype);for(var f in n)h[f]=n[f];h.prototype.getEdges=function(){return this.edges},h.prototype.getChild=function(){return this.child},h.prototype.getOwner=function(){return this.owner},h.prototype.getWidth=function(){return this.rect.width},h.prototype.setWidth=function(d){this.rect.width=d},h.prototype.getHeight=function(){return this.rect.height},h.prototype.setHeight=function(d){this.rect.height=d},h.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},h.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},h.prototype.getCenter=function(){return new u(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},h.prototype.getLocation=function(){return new u(this.rect.x,this.rect.y)},h.prototype.getRect=function(){return this.rect},h.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},h.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},h.prototype.setRect=function(d,p){this.rect.x=d.x,this.rect.y=d.y,this.rect.width=p.width,this.rect.height=p.height},h.prototype.setCenter=function(d,p){this.rect.x=d-this.rect.width/2,this.rect.y=p-this.rect.height/2},h.prototype.setLocation=function(d,p){this.rect.x=d,this.rect.y=p},h.prototype.moveBy=function(d,p){this.rect.x+=d,this.rect.y+=p},h.prototype.getEdgeListToNode=function(d){var p=[],m,g=this;return g.edges.forEach(function(y){if(y.target==d){if(y.source!=g)throw"Incorrect edge source!";p.push(y)}}),p},h.prototype.getEdgesBetween=function(d){var p=[],m,g=this;return g.edges.forEach(function(y){if(!(y.source==g||y.target==g))throw"Incorrect edge source and/or target";(y.target==d||y.source==d)&&p.push(y)}),p},h.prototype.getNeighborsList=function(){var d=new Set,p=this;return p.edges.forEach(function(m){if(m.source==p)d.add(m.target);else{if(m.target!=p)throw"Incorrect incidency!";d.add(m.source)}}),d},h.prototype.withChildren=function(){var d=new Set,p,m;if(d.add(this),this.child!=null)for(var g=this.child.getNodes(),y=0;yp&&(this.rect.x-=(this.labelWidth-p)/2,this.setWidth(this.labelWidth)),this.labelHeight>m&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-m)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-m),this.setHeight(this.labelHeight))}}},h.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==i.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},h.prototype.transform=function(d){var p=this.rect.x;p>s.WORLD_BOUNDARY?p=s.WORLD_BOUNDARY:p<-s.WORLD_BOUNDARY&&(p=-s.WORLD_BOUNDARY);var m=this.rect.y;m>s.WORLD_BOUNDARY?m=s.WORLD_BOUNDARY:m<-s.WORLD_BOUNDARY&&(m=-s.WORLD_BOUNDARY);var g=new u(p,m),y=d.inverseTransformPoint(g);this.setLocation(y.x,y.y)},h.prototype.getLeft=function(){return this.rect.x},h.prototype.getRight=function(){return this.rect.x+this.rect.width},h.prototype.getTop=function(){return this.rect.y},h.prototype.getBottom=function(){return this.rect.y+this.rect.height},h.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},t.exports=h},function(t,e,r){"use strict";function n(i,a){i==null&&a==null?(this.x=0,this.y=0):(this.x=i,this.y=a)}o(n,"PointD"),n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(i){this.x=i},n.prototype.setY=function(i){this.y=i},n.prototype.getDifference=function(i){return new DimensionD(this.x-i.x,this.y-i.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(i){return this.x+=i.width,this.y+=i.height,this},t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(10),a=r(0),s=r(6),l=r(3),u=r(1),h=r(13),f=r(12),d=r(11);function p(g,y,v){n.call(this,v),this.estimatedSize=i.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=g,y!=null&&y instanceof s?this.graphManager=y:y!=null&&y instanceof Layout&&(this.graphManager=y.graphManager)}o(p,"LGraph"),p.prototype=Object.create(n.prototype);for(var m in n)p[m]=n[m];p.prototype.getNodes=function(){return this.nodes},p.prototype.getEdges=function(){return this.edges},p.prototype.getGraphManager=function(){return this.graphManager},p.prototype.getParent=function(){return this.parent},p.prototype.getLeft=function(){return this.left},p.prototype.getRight=function(){return this.right},p.prototype.getTop=function(){return this.top},p.prototype.getBottom=function(){return this.bottom},p.prototype.isConnected=function(){return this.isConnected},p.prototype.add=function(g,y,v){if(y==null&&v==null){var x=g;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(x)>-1)throw"Node already in graph!";return x.owner=this,this.getNodes().push(x),x}else{var b=g;if(!(this.getNodes().indexOf(y)>-1&&this.getNodes().indexOf(v)>-1))throw"Source or target not in graph!";if(!(y.owner==v.owner&&y.owner==this))throw"Both owners must be this graph!";return y.owner!=v.owner?null:(b.source=y,b.target=v,b.isInterGraph=!1,this.getEdges().push(b),y.edges.push(b),v!=y&&v.edges.push(b),b)}},p.prototype.remove=function(g){var y=g;if(g instanceof l){if(y==null)throw"Node is null!";if(!(y.owner!=null&&y.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var v=y.edges.slice(),x,b=v.length,T=0;T-1&&E>-1))throw"Source and/or target doesn't know this edge!";x.source.edges.splice(w,1),x.target!=x.source&&x.target.edges.splice(E,1);var C=x.source.owner.getEdges().indexOf(x);if(C==-1)throw"Not in owner's edge list!";x.source.owner.getEdges().splice(C,1)}},p.prototype.updateLeftTop=function(){for(var g=i.MAX_VALUE,y=i.MAX_VALUE,v,x,b,T=this.getNodes(),C=T.length,w=0;wv&&(g=v),y>x&&(y=x)}return g==i.MAX_VALUE?null:(T[0].getParent().paddingLeft!=null?b=T[0].getParent().paddingLeft:b=this.margin,this.left=y-b,this.top=g-b,new f(this.left,this.top))},p.prototype.updateBounds=function(g){for(var y=i.MAX_VALUE,v=-i.MAX_VALUE,x=i.MAX_VALUE,b=-i.MAX_VALUE,T,C,w,E,_,A=this.nodes,D=A.length,O=0;OT&&(y=T),vw&&(x=w),bT&&(y=T),vw&&(x=w),b=this.nodes.length){var D=0;v.forEach(function(O){O.owner==g&&D++}),D==this.nodes.length&&(this.isConnected=!0)}},t.exports=p},function(t,e,r){"use strict";var n,i=r(1);function a(s){n=r(5),this.layout=s,this.graphs=[],this.edges=[]}o(a,"LGraphManager"),a.prototype.addRoot=function(){var s=this.layout.newGraph(),l=this.layout.newNode(null),u=this.add(s,l);return this.setRootGraph(u),this.rootGraph},a.prototype.add=function(s,l,u,h,f){if(u==null&&h==null&&f==null){if(s==null)throw"Graph is null!";if(l==null)throw"Parent node is null!";if(this.graphs.indexOf(s)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(s),s.parent!=null)throw"Already has a parent!";if(l.child!=null)throw"Already has a child!";return s.parent=l,l.child=s,s}else{f=u,h=l,u=s;var d=h.getOwner(),p=f.getOwner();if(!(d!=null&&d.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(p!=null&&p.getGraphManager()==this))throw"Target not in this graph mgr!";if(d==p)return u.isInterGraph=!1,d.add(u,h,f);if(u.isInterGraph=!0,u.source=h,u.target=f,this.edges.indexOf(u)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(u),!(u.source!=null&&u.target!=null))throw"Edge source and/or target is null!";if(!(u.source.edges.indexOf(u)==-1&&u.target.edges.indexOf(u)==-1))throw"Edge already in source and/or target incidency list!";return u.source.edges.push(u),u.target.edges.push(u),u}},a.prototype.remove=function(s){if(s instanceof n){var l=s;if(l.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(l==this.rootGraph||l.parent!=null&&l.parent.graphManager==this))throw"Invalid parent node!";var u=[];u=u.concat(l.getEdges());for(var h,f=u.length,d=0;d=s.getRight()?l[0]+=Math.min(s.getX()-a.getX(),a.getRight()-s.getRight()):s.getX()<=a.getX()&&s.getRight()>=a.getRight()&&(l[0]+=Math.min(a.getX()-s.getX(),s.getRight()-a.getRight())),a.getY()<=s.getY()&&a.getBottom()>=s.getBottom()?l[1]+=Math.min(s.getY()-a.getY(),a.getBottom()-s.getBottom()):s.getY()<=a.getY()&&s.getBottom()>=a.getBottom()&&(l[1]+=Math.min(a.getY()-s.getY(),s.getBottom()-a.getBottom()));var f=Math.abs((s.getCenterY()-a.getCenterY())/(s.getCenterX()-a.getCenterX()));s.getCenterY()===a.getCenterY()&&s.getCenterX()===a.getCenterX()&&(f=1);var d=f*l[0],p=l[1]/f;l[0]d)return l[0]=u,l[1]=m,l[2]=f,l[3]=A,!1;if(hf)return l[0]=p,l[1]=h,l[2]=E,l[3]=d,!1;if(uf?(l[0]=y,l[1]=v,k=!0):(l[0]=g,l[1]=m,k=!0):S===M&&(u>f?(l[0]=p,l[1]=m,k=!0):(l[0]=x,l[1]=v,k=!0)),-I===M?f>u?(l[2]=_,l[3]=A,L=!0):(l[2]=E,l[3]=w,L=!0):I===M&&(f>u?(l[2]=C,l[3]=w,L=!0):(l[2]=D,l[3]=A,L=!0)),k&&L)return!1;if(u>f?h>d?(P=this.getCardinalDirection(S,M,4),B=this.getCardinalDirection(I,M,2)):(P=this.getCardinalDirection(-S,M,3),B=this.getCardinalDirection(-I,M,1)):h>d?(P=this.getCardinalDirection(-S,M,1),B=this.getCardinalDirection(-I,M,3)):(P=this.getCardinalDirection(S,M,2),B=this.getCardinalDirection(I,M,4)),!k)switch(P){case 1:z=m,F=u+-T/M,l[0]=F,l[1]=z;break;case 2:F=x,z=h+b*M,l[0]=F,l[1]=z;break;case 3:z=v,F=u+T/M,l[0]=F,l[1]=z;break;case 4:F=y,z=h+-b*M,l[0]=F,l[1]=z;break}if(!L)switch(B){case 1:U=w,$=f+-R/M,l[2]=$,l[3]=U;break;case 2:$=D,U=d+O*M,l[2]=$,l[3]=U;break;case 3:U=A,$=f+R/M,l[2]=$,l[3]=U;break;case 4:$=_,U=d+-O*M,l[2]=$,l[3]=U;break}}return!1},i.getCardinalDirection=function(a,s,l){return a>s?l:1+l%4},i.getIntersection=function(a,s,l,u){if(u==null)return this.getIntersection2(a,s,l);var h=a.x,f=a.y,d=s.x,p=s.y,m=l.x,g=l.y,y=u.x,v=u.y,x=void 0,b=void 0,T=void 0,C=void 0,w=void 0,E=void 0,_=void 0,A=void 0,D=void 0;return T=p-f,w=h-d,_=d*f-h*p,C=v-g,E=m-y,A=y*g-m*v,D=T*E-C*w,D===0?null:(x=(w*A-E*_)/D,b=(C*_-T*A)/D,new n(x,b))},i.angleOfVector=function(a,s,l,u){var h=void 0;return a!==l?(h=Math.atan((u-s)/(l-a)),l0?1:i<0?-1:0},n.floor=function(i){return i<0?Math.ceil(i):Math.floor(i)},n.ceil=function(i){return i<0?Math.floor(i):Math.ceil(i)},t.exports=n},function(t,e,r){"use strict";function n(){}o(n,"Integer"),n.MAX_VALUE=2147483647,n.MIN_VALUE=-2147483648,t.exports=n},function(t,e,r){"use strict";var n=function(){function h(f,d){for(var p=0;p"u"?"undefined":n(a);return a==null||s!="object"&&s!="function"},t.exports=i},function(t,e,r){"use strict";function n(m){if(Array.isArray(m)){for(var g=0,y=Array(m.length);g0&&g;){for(T.push(w[0]);T.length>0&&g;){var E=T[0];T.splice(0,1),b.add(E);for(var _=E.getEdges(),x=0;x<_.length;x++){var A=_[x].getOtherEnd(E);if(C.get(E)!=A)if(!b.has(A))T.push(A),C.set(A,E);else{g=!1;break}}}if(!g)m=[];else{var D=[].concat(n(b));m.push(D);for(var x=0;x-1&&w.splice(R,1)}b=new Set,C=new Map}}return m},p.prototype.createDummyNodesForBendpoints=function(m){for(var g=[],y=m.source,v=this.graphManager.calcLowestCommonAncestor(m.source,m.target),x=0;x0){for(var v=this.edgeToDummyNodes.get(y),x=0;x=0&&g.splice(A,1);var D=C.getNeighborsList();D.forEach(function(k){if(y.indexOf(k)<0){var L=v.get(k),S=L-1;S==1&&E.push(k),v.set(k,S)}})}y=y.concat(E),(g.length==1||g.length==2)&&(x=!0,b=g[0])}return b},p.prototype.setGraphManager=function(m){this.graphManager=m},t.exports=p},function(t,e,r){"use strict";function n(){}o(n,"RandomSeed"),n.seed=1,n.x=0,n.nextDouble=function(){return n.x=Math.sin(n.seed++)*1e4,n.x-Math.floor(n.x)},t.exports=n},function(t,e,r){"use strict";var n=r(4);function i(a,s){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}o(i,"Transform"),i.prototype.getWorldOrgX=function(){return this.lworldOrgX},i.prototype.setWorldOrgX=function(a){this.lworldOrgX=a},i.prototype.getWorldOrgY=function(){return this.lworldOrgY},i.prototype.setWorldOrgY=function(a){this.lworldOrgY=a},i.prototype.getWorldExtX=function(){return this.lworldExtX},i.prototype.setWorldExtX=function(a){this.lworldExtX=a},i.prototype.getWorldExtY=function(){return this.lworldExtY},i.prototype.setWorldExtY=function(a){this.lworldExtY=a},i.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},i.prototype.setDeviceOrgX=function(a){this.ldeviceOrgX=a},i.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},i.prototype.setDeviceOrgY=function(a){this.ldeviceOrgY=a},i.prototype.getDeviceExtX=function(){return this.ldeviceExtX},i.prototype.setDeviceExtX=function(a){this.ldeviceExtX=a},i.prototype.getDeviceExtY=function(){return this.ldeviceExtY},i.prototype.setDeviceExtY=function(a){this.ldeviceExtY=a},i.prototype.transformX=function(a){var s=0,l=this.lworldExtX;return l!=0&&(s=this.ldeviceOrgX+(a-this.lworldOrgX)*this.ldeviceExtX/l),s},i.prototype.transformY=function(a){var s=0,l=this.lworldExtY;return l!=0&&(s=this.ldeviceOrgY+(a-this.lworldOrgY)*this.ldeviceExtY/l),s},i.prototype.inverseTransformX=function(a){var s=0,l=this.ldeviceExtX;return l!=0&&(s=this.lworldOrgX+(a-this.ldeviceOrgX)*this.lworldExtX/l),s},i.prototype.inverseTransformY=function(a){var s=0,l=this.ldeviceExtY;return l!=0&&(s=this.lworldOrgY+(a-this.ldeviceOrgY)*this.lworldExtY/l),s},i.prototype.inverseTransformPoint=function(a){var s=new n(this.inverseTransformX(a.x),this.inverseTransformY(a.y));return s},t.exports=i},function(t,e,r){"use strict";function n(d){if(Array.isArray(d)){for(var p=0,m=Array(d.length);pa.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*a.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(d-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-a.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT_INCREMENTAL):(d>a.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(a.COOLING_ADAPTATION_FACTOR,1-(d-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*(1-a.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var d=this.getAllEdges(),p,m=0;m0&&arguments[0]!==void 0?arguments[0]:!0,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m,g,y,v,x=this.getAllNodes(),b;if(this.useFRGridVariant)for(this.totalIterations%a.GRID_CALCULATION_CHECK_PERIOD==1&&d&&this.updateGrid(),b=new Set,m=0;mT||b>T)&&(d.gravitationForceX=-this.gravityConstant*y,d.gravitationForceY=-this.gravityConstant*v)):(T=p.getEstimatedSize()*this.compoundGravityRangeFactor,(x>T||b>T)&&(d.gravitationForceX=-this.gravityConstant*y*this.compoundGravityConstant,d.gravitationForceY=-this.gravityConstant*v*this.compoundGravityConstant))},h.prototype.isConverged=function(){var d,p=!1;return this.totalIterations>this.maxIterations/3&&(p=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),d=this.totalDisplacement=x.length||T>=x[0].length)){for(var C=0;Ch},"_defaultCompareFunction")}]),l}();t.exports=s},function(t,e,r){"use strict";var n=function(){function s(l,u){for(var h=0;h2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;i(this,s),this.sequence1=l,this.sequence2=u,this.match_score=h,this.mismatch_penalty=f,this.gap_penalty=d,this.iMax=l.length+1,this.jMax=u.length+1,this.grid=new Array(this.iMax);for(var p=0;p=0;l--){var u=this.listeners[l];u.event===a&&u.callback===s&&this.listeners.splice(l,1)}},i.emit=function(a,s){for(var l=0;l{"use strict";o(function(e,r){typeof T4=="object"&&typeof lF=="object"?lF.exports=r(oF()):typeof define=="function"&&define.amd?define(["layout-base"],r):typeof T4=="object"?T4.coseBase=r(oF()):e.coseBase=r(e.layoutBase)},"webpackUniversalModuleDefinition")(T4,function(t){return function(e){var r={};function n(i){if(r[i])return r[i].exports;var a=r[i]={i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return o(n,"__webpack_require__"),n.m=e,n.c=r,n.i=function(i){return i},n.d=function(i,a,s){n.o(i,a)||Object.defineProperty(i,a,{configurable:!1,enumerable:!0,get:s})},n.n=function(i){var a=i&&i.__esModule?o(function(){return i.default},"getDefault"):o(function(){return i},"getModuleExports");return n.d(a,"a",a),a},n.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},n.p="",n(n.s=7)}([function(e,r){e.exports=t},function(e,r,n){"use strict";var i=n(0).FDLayoutConstants;function a(){}o(a,"CoSEConstants");for(var s in i)a[s]=i[s];a.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,a.DEFAULT_RADIAL_SEPARATION=i.DEFAULT_EDGE_LENGTH,a.DEFAULT_COMPONENT_SEPERATION=60,a.TILE=!0,a.TILING_PADDING_VERTICAL=10,a.TILING_PADDING_HORIZONTAL=10,a.TREE_REDUCTION_ON_INCREMENTAL=!1,e.exports=a},function(e,r,n){"use strict";var i=n(0).FDLayoutEdge;function a(l,u,h){i.call(this,l,u,h)}o(a,"CoSEEdge"),a.prototype=Object.create(i.prototype);for(var s in i)a[s]=i[s];e.exports=a},function(e,r,n){"use strict";var i=n(0).LGraph;function a(l,u,h){i.call(this,l,u,h)}o(a,"CoSEGraph"),a.prototype=Object.create(i.prototype);for(var s in i)a[s]=i[s];e.exports=a},function(e,r,n){"use strict";var i=n(0).LGraphManager;function a(l){i.call(this,l)}o(a,"CoSEGraphManager"),a.prototype=Object.create(i.prototype);for(var s in i)a[s]=i[s];e.exports=a},function(e,r,n){"use strict";var i=n(0).FDLayoutNode,a=n(0).IMath;function s(u,h,f,d){i.call(this,u,h,f,d)}o(s,"CoSENode"),s.prototype=Object.create(i.prototype);for(var l in i)s[l]=i[l];s.prototype.move=function(){var u=this.graphManager.getLayout();this.displacementX=u.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=u.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>u.coolingFactor*u.maxNodeDisplacement&&(this.displacementX=u.coolingFactor*u.maxNodeDisplacement*a.sign(this.displacementX)),Math.abs(this.displacementY)>u.coolingFactor*u.maxNodeDisplacement&&(this.displacementY=u.coolingFactor*u.maxNodeDisplacement*a.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),u.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},s.prototype.propogateDisplacementToChildren=function(u,h){for(var f=this.getChild().getNodes(),d,p=0;p0)this.positionNodesRadially(w);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var E=new Set(this.getAllNodes()),_=this.nodesWithGravity.filter(function(A){return E.has(A)});this.graphManager.setAllNodesToApplyGravitation(_),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},T.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%f.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var w=new Set(this.getAllNodes()),E=this.nodesWithGravity.filter(function(D){return w.has(D)});this.graphManager.setAllNodesToApplyGravitation(E),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=f.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=f.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var _=!this.isTreeGrowing&&!this.isGrowthFinished,A=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(_,A),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},T.prototype.getPositionsData=function(){for(var w=this.graphManager.getAllNodes(),E={},_=0;_1){var k;for(k=0;kA&&(A=Math.floor(R.y)),O=Math.floor(R.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new m(d.WORLD_CENTER_X-R.x/2,d.WORLD_CENTER_Y-R.y/2))},T.radialLayout=function(w,E,_){var A=Math.max(this.maxDiagonalInTree(w),h.DEFAULT_RADIAL_SEPARATION);T.branchRadialLayout(E,null,0,359,0,A);var D=x.calculateBounds(w),O=new b;O.setDeviceOrgX(D.getMinX()),O.setDeviceOrgY(D.getMinY()),O.setWorldOrgX(_.x),O.setWorldOrgY(_.y);for(var R=0;R1;){var K=U[0];U.splice(0,1);var ee=P.indexOf(K);ee>=0&&P.splice(ee,1),z--,B--}E!=null?$=(P.indexOf(U[0])+1)%z:$=0;for(var Y=Math.abs(A-_)/B,ce=$;F!=B;ce=++ce%z){var Z=P[ce].getOtherEnd(w);if(Z!=E){var ue=(_+F*Y)%360,Q=(ue+Y)%360;T.branchRadialLayout(Z,w,ue,Q,D+O,O),F++}}},T.maxDiagonalInTree=function(w){for(var E=y.MIN_VALUE,_=0;_E&&(E=D)}return E},T.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},T.prototype.groupZeroDegreeMembers=function(){var w=this,E={};this.memberGroups={},this.idToDummyNode={};for(var _=[],A=this.graphManager.getAllNodes(),D=0;D"u"&&(E[k]=[]),E[k]=E[k].concat(O)}Object.keys(E).forEach(function(L){if(E[L].length>1){var S="DummyCompound_"+L;w.memberGroups[S]=E[L];var I=E[L][0].getParent(),M=new l(w.graphManager);M.id=S,M.paddingLeft=I.paddingLeft||0,M.paddingRight=I.paddingRight||0,M.paddingBottom=I.paddingBottom||0,M.paddingTop=I.paddingTop||0,w.idToDummyNode[S]=M;var P=w.getGraphManager().add(w.newGraph(),M),B=I.getChild();B.add(M);for(var F=0;F=0;w--){var E=this.compoundOrder[w],_=E.id,A=E.paddingLeft,D=E.paddingTop;this.adjustLocations(this.tiledMemberPack[_],E.rect.x,E.rect.y,A,D)}},T.prototype.repopulateZeroDegreeMembers=function(){var w=this,E=this.tiledZeroDegreePack;Object.keys(E).forEach(function(_){var A=w.idToDummyNode[_],D=A.paddingLeft,O=A.paddingTop;w.adjustLocations(E[_],A.rect.x,A.rect.y,D,O)})},T.prototype.getToBeTiled=function(w){var E=w.id;if(this.toBeTiled[E]!=null)return this.toBeTiled[E];var _=w.getChild();if(_==null)return this.toBeTiled[E]=!1,!1;for(var A=_.getNodes(),D=0;D0)return this.toBeTiled[E]=!1,!1;if(O.getChild()==null){this.toBeTiled[O.id]=!1;continue}if(!this.getToBeTiled(O))return this.toBeTiled[E]=!1,!1}return this.toBeTiled[E]=!0,!0},T.prototype.getNodeDegree=function(w){for(var E=w.id,_=w.getEdges(),A=0,D=0;D<_.length;D++){var O=_[D];O.getSource().id!==O.getTarget().id&&(A=A+1)}return A},T.prototype.getNodeDegreeWithChildren=function(w){var E=this.getNodeDegree(w);if(w.getChild()==null)return E;for(var _=w.getChild().getNodes(),A=0;A<_.length;A++){var D=_[A];E+=this.getNodeDegreeWithChildren(D)}return E},T.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},T.prototype.fillCompexOrderByDFS=function(w){for(var E=0;EL&&(L=I.rect.height)}_+=L+w.verticalPadding}},T.prototype.tileCompoundMembers=function(w,E){var _=this;this.tiledMemberPack=[],Object.keys(w).forEach(function(A){var D=E[A];_.tiledMemberPack[A]=_.tileNodes(w[A],D.paddingLeft+D.paddingRight),D.rect.width=_.tiledMemberPack[A].width,D.rect.height=_.tiledMemberPack[A].height})},T.prototype.tileNodes=function(w,E){var _=h.TILING_PADDING_VERTICAL,A=h.TILING_PADDING_HORIZONTAL,D={rows:[],rowWidth:[],rowHeight:[],width:0,height:E,verticalPadding:_,horizontalPadding:A};w.sort(function(k,L){return k.rect.width*k.rect.height>L.rect.width*L.rect.height?-1:k.rect.width*k.rect.height0&&(R+=w.horizontalPadding),w.rowWidth[_]=R,w.width0&&(k+=w.verticalPadding);var L=0;k>w.rowHeight[_]&&(L=w.rowHeight[_],w.rowHeight[_]=k,L=w.rowHeight[_]-L),w.height+=L,w.rows[_].push(E)},T.prototype.getShortestRowIndex=function(w){for(var E=-1,_=Number.MAX_VALUE,A=0;A_&&(E=A,_=w.rowWidth[A]);return E},T.prototype.canAddHorizontal=function(w,E,_){var A=this.getShortestRowIndex(w);if(A<0)return!0;var D=w.rowWidth[A];if(D+w.horizontalPadding+E<=w.width)return!0;var O=0;w.rowHeight[A]<_&&A>0&&(O=_+w.verticalPadding-w.rowHeight[A]);var R;w.width-D>=E+w.horizontalPadding?R=(w.height+O)/(D+E+w.horizontalPadding):R=(w.height+O)/w.width,O=_+w.verticalPadding;var k;return w.widthO&&E!=_){A.splice(-1,1),w.rows[_].push(D),w.rowWidth[E]=w.rowWidth[E]-O,w.rowWidth[_]=w.rowWidth[_]+O,w.width=w.rowWidth[instance.getLongestRowIndex(w)];for(var R=Number.MIN_VALUE,k=0;kR&&(R=A[k].height);E>0&&(R+=w.verticalPadding);var L=w.rowHeight[E]+w.rowHeight[_];w.rowHeight[E]=R,w.rowHeight[_]0)for(var B=D;B<=O;B++)P[0]+=this.grid[B][R-1].length+this.grid[B][R].length-1;if(O0)for(var B=R;B<=k;B++)P[3]+=this.grid[D-1][B].length+this.grid[D][B].length-1;for(var F=y.MAX_VALUE,z,$,U=0;U{"use strict";o(function(e,r){typeof w4=="object"&&typeof uF=="object"?uF.exports=r(cF()):typeof define=="function"&&define.amd?define(["cose-base"],r):typeof w4=="object"?w4.cytoscapeCoseBilkent=r(cF()):e.cytoscapeCoseBilkent=r(e.coseBase)},"webpackUniversalModuleDefinition")(w4,function(t){return function(e){var r={};function n(i){if(r[i])return r[i].exports;var a=r[i]={i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return o(n,"__webpack_require__"),n.m=e,n.c=r,n.i=function(i){return i},n.d=function(i,a,s){n.o(i,a)||Object.defineProperty(i,a,{configurable:!1,enumerable:!0,get:s})},n.n=function(i){var a=i&&i.__esModule?o(function(){return i.default},"getDefault"):o(function(){return i},"getModuleExports");return n.d(a,"a",a),a},n.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},n.p="",n(n.s=1)}([function(e,r){e.exports=t},function(e,r,n){"use strict";var i=n(0).layoutBase.LayoutConstants,a=n(0).layoutBase.FDLayoutConstants,s=n(0).CoSEConstants,l=n(0).CoSELayout,u=n(0).CoSENode,h=n(0).layoutBase.PointD,f=n(0).layoutBase.DimensionD,d={ready:o(function(){},"ready"),stop:o(function(){},"stop"),quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function p(v,x){var b={};for(var T in v)b[T]=v[T];for(var T in x)b[T]=x[T];return b}o(p,"extend");function m(v){this.options=p(d,v),g(this.options)}o(m,"_CoSELayout");var g=o(function(x){x.nodeRepulsion!=null&&(s.DEFAULT_REPULSION_STRENGTH=a.DEFAULT_REPULSION_STRENGTH=x.nodeRepulsion),x.idealEdgeLength!=null&&(s.DEFAULT_EDGE_LENGTH=a.DEFAULT_EDGE_LENGTH=x.idealEdgeLength),x.edgeElasticity!=null&&(s.DEFAULT_SPRING_STRENGTH=a.DEFAULT_SPRING_STRENGTH=x.edgeElasticity),x.nestingFactor!=null&&(s.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=x.nestingFactor),x.gravity!=null&&(s.DEFAULT_GRAVITY_STRENGTH=a.DEFAULT_GRAVITY_STRENGTH=x.gravity),x.numIter!=null&&(s.MAX_ITERATIONS=a.MAX_ITERATIONS=x.numIter),x.gravityRange!=null&&(s.DEFAULT_GRAVITY_RANGE_FACTOR=a.DEFAULT_GRAVITY_RANGE_FACTOR=x.gravityRange),x.gravityCompound!=null&&(s.DEFAULT_COMPOUND_GRAVITY_STRENGTH=a.DEFAULT_COMPOUND_GRAVITY_STRENGTH=x.gravityCompound),x.gravityRangeCompound!=null&&(s.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=x.gravityRangeCompound),x.initialEnergyOnIncremental!=null&&(s.DEFAULT_COOLING_FACTOR_INCREMENTAL=a.DEFAULT_COOLING_FACTOR_INCREMENTAL=x.initialEnergyOnIncremental),x.quality=="draft"?i.QUALITY=0:x.quality=="proof"?i.QUALITY=2:i.QUALITY=1,s.NODE_DIMENSIONS_INCLUDE_LABELS=a.NODE_DIMENSIONS_INCLUDE_LABELS=i.NODE_DIMENSIONS_INCLUDE_LABELS=x.nodeDimensionsIncludeLabels,s.DEFAULT_INCREMENTAL=a.DEFAULT_INCREMENTAL=i.DEFAULT_INCREMENTAL=!x.randomize,s.ANIMATE=a.ANIMATE=i.ANIMATE=x.animate,s.TILE=x.tile,s.TILING_PADDING_VERTICAL=typeof x.tilingPaddingVertical=="function"?x.tilingPaddingVertical.call():x.tilingPaddingVertical,s.TILING_PADDING_HORIZONTAL=typeof x.tilingPaddingHorizontal=="function"?x.tilingPaddingHorizontal.call():x.tilingPaddingHorizontal},"getUserOptions");m.prototype.run=function(){var v,x,b=this.options,T=this.idToLNode={},C=this.layout=new l,w=this;w.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var E=C.newGraphManager();this.gm=E;var _=this.options.eles.nodes(),A=this.options.eles.edges();this.root=E.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(_),C);for(var D=0;D0){var k;k=b.getGraphManager().add(b.newGraph(),_),this.processChildrenList(k,E,b)}}},m.prototype.stop=function(){return this.stopped=!0,this};var y=o(function(x){x("layout","cose-bilkent",m)},"register");typeof cytoscape<"u"&&y(cytoscape),e.exports=y}])})});function met(t,e,r,n,i){return t.insert("polygon",":first-child").attr("points",n.map(function(a){return a.x+","+a.y}).join(" ")).attr("transform","translate("+(i.width-e)/2+", "+r+")")}var cet,uet,het,fet,det,pet,get,yet,Q1e,Z1e,J1e=N(()=>{"use strict";no();nr();cet=12,uet=o(function(t,e,r,n){e.append("path").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("d",`M0 ${r.height-5} v${-r.height+2*5} q0,-5 5,-5 h${r.width-2*5} q5,0 5,5 v${r.height-5} H0 Z`),e.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",r.height).attr("x2",r.width).attr("y2",r.height)},"defaultBkg"),het=o(function(t,e,r){e.append("rect").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("height",r.height).attr("width",r.width)},"rectBkg"),fet=o(function(t,e,r){let n=r.width,i=r.height,a=.15*n,s=.25*n,l=.35*n,u=.2*n;e.append("path").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("d",`M0 0 a${a},${a} 0 0,1 ${n*.25},${-1*n*.1} - a${l},${l} 1 0,1 ${n*.4},${-1*n*.1} - a${s},${s} 1 0,1 ${n*.35},${1*n*.2} - - a${a},${a} 1 0,1 ${n*.15},${1*i*.35} - a${u},${u} 1 0,1 ${-1*n*.15},${1*i*.65} - - a${s},${a} 1 0,1 ${-1*n*.25},${n*.15} - a${l},${l} 1 0,1 ${-1*n*.5},0 - a${a},${a} 1 0,1 ${-1*n*.25},${-1*n*.15} - - a${a},${a} 1 0,1 ${-1*n*.1},${-1*i*.35} - a${u},${u} 1 0,1 ${n*.1},${-1*i*.65} - - H0 V0 Z`)},"cloudBkg"),det=o(function(t,e,r){let n=r.width,i=r.height,a=.15*n;e.append("path").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("d",`M0 0 a${a},${a} 1 0,0 ${n*.25},${-1*i*.1} - a${a},${a} 1 0,0 ${n*.25},0 - a${a},${a} 1 0,0 ${n*.25},0 - a${a},${a} 1 0,0 ${n*.25},${1*i*.1} - - a${a},${a} 1 0,0 ${n*.15},${1*i*.33} - a${a*.8},${a*.8} 1 0,0 0,${1*i*.34} - a${a},${a} 1 0,0 ${-1*n*.15},${1*i*.33} - - a${a},${a} 1 0,0 ${-1*n*.25},${i*.15} - a${a},${a} 1 0,0 ${-1*n*.25},0 - a${a},${a} 1 0,0 ${-1*n*.25},0 - a${a},${a} 1 0,0 ${-1*n*.25},${-1*i*.15} - - a${a},${a} 1 0,0 ${-1*n*.1},${-1*i*.33} - a${a*.8},${a*.8} 1 0,0 0,${-1*i*.34} - a${a},${a} 1 0,0 ${n*.1},${-1*i*.33} - - H0 V0 Z`)},"bangBkg"),pet=o(function(t,e,r){e.append("circle").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("r",r.width/2)},"circleBkg");o(met,"insertPolygonShape");get=o(function(t,e,r){let n=r.height,a=n/4,s=r.width-r.padding+2*a,l=[{x:a,y:0},{x:s-a,y:0},{x:s,y:-n/2},{x:s-a,y:-n},{x:a,y:-n},{x:0,y:-n/2}];met(e,s,n,l,r)},"hexagonBkg"),yet=o(function(t,e,r){e.append("rect").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("height",r.height).attr("rx",r.padding).attr("ry",r.padding).attr("width",r.width)},"roundedRectBkg"),Q1e=o(async function(t,e,r,n,i){let a=i.htmlLabels,s=n%(cet-1),l=e.append("g");r.section=s;let u="section-"+s;s<0&&(u+=" section-root"),l.attr("class",(r.class?r.class+" ":"")+"mindmap-node "+u);let h=l.append("g"),f=l.append("g"),d=r.descr.replace(/()/g,` -`);await Hn(f,d,{useHtmlLabels:a,width:r.width,classes:"mindmap-node-label"},i),a||f.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");let p=f.node().getBBox(),[m]=Fo(i.fontSize);if(r.height=p.height+m*1.1*.5+r.padding,r.width=p.width+2*r.padding,r.icon)if(r.type===t.nodeType.CIRCLE)r.height+=50,r.width+=50,l.append("foreignObject").attr("height","50px").attr("width",r.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+s+" "+r.icon),f.attr("transform","translate("+r.width/2+", "+(r.height/2-1.5*r.padding)+")");else{r.width+=50;let g=r.height;r.height=Math.max(g,60);let y=Math.abs(r.height-g);l.append("foreignObject").attr("width","60px").attr("height",r.height).attr("style","text-align: center;margin-top:"+y/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+s+" "+r.icon),f.attr("transform","translate("+(25+r.width/2)+", "+(y/2+r.padding/2)+")")}else if(a){let g=(r.width-p.width)/2,y=(r.height-p.height)/2;f.attr("transform","translate("+g+", "+y+")")}else{let g=r.width/2,y=r.padding/2;f.attr("transform","translate("+g+", "+y+")")}switch(r.type){case t.nodeType.DEFAULT:uet(t,h,r,s);break;case t.nodeType.ROUNDED_RECT:yet(t,h,r,s);break;case t.nodeType.RECT:het(t,h,r,s);break;case t.nodeType.CIRCLE:h.attr("transform","translate("+r.width/2+", "+ +r.height/2+")"),pet(t,h,r,s);break;case t.nodeType.CLOUD:fet(t,h,r,s);break;case t.nodeType.BANG:det(t,h,r,s);break;case t.nodeType.HEXAGON:get(t,h,r,s);break}return t.setElementForId(r.id,l),r.height},"drawNode"),Z1e=o(function(t,e){let r=t.getElementById(e.id),n=e.x||0,i=e.y||0;r.attr("transform","translate("+n+","+i+")")},"positionNode")});async function tye(t,e,r,n,i){await Q1e(t,e,r,n,i),r.children&&await Promise.all(r.children.map((a,s)=>tye(t,e,a,n<0?s:n,i)))}function vet(t,e){e.edges().map((r,n)=>{let i=r.data();if(r[0]._private.bodyBounds){let a=r[0]._private.rscratch;X.trace("Edge: ",n,i),t.insert("path").attr("d",`M ${a.startX},${a.startY} L ${a.midX},${a.midY} L${a.endX},${a.endY} `).attr("class","edge section-edge-"+i.section+" edge-depth-"+i.depth)}})}function rye(t,e,r,n){e.add({group:"nodes",data:{id:t.id.toString(),labelText:t.descr,height:t.height,width:t.width,level:n,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach(i=>{rye(i,e,r,n+1),e.add({group:"edges",data:{id:`${t.id}_${i.id}`,source:t.id,target:i.id,depth:n,section:i.section}})})}function xet(t,e){return new Promise(r=>{let n=Ge("body").append("div").attr("id","cy").attr("style","display:none"),i=il({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});n.remove(),rye(t,i,e,0),i.nodes().forEach(function(a){a.layoutDimensions=()=>{let s=a.data();return{w:s.width,h:s.height}}}),i.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),i.ready(a=>{X.info("Ready",a),r(i)})})}function bet(t,e){e.nodes().map((r,n)=>{let i=r.data();i.x=r.position().x,i.y=r.position().y,Z1e(t,i);let a=t.getElementById(i.nodeId);X.info("id:",n,"Position: (",r.position().x,", ",r.position().y,")",i),a.attr("transform",`translate(${r.position().x-i.width/2}, ${r.position().y-i.height/2})`),a.attr("attr",`apa-${n})`)})}var eye,Tet,nye,iye=N(()=>{"use strict";aF();eye=Sa(K1e(),1);pr();qt();yt();zl();yi();J1e();Ca();il.use(eye.default);o(tye,"drawNodes");o(vet,"drawEdges");o(rye,"addNodes");o(xet,"layoutMindmap");o(bet,"positionNodes");Tet=o(async(t,e,r,n)=>{X.debug(`Rendering mindmap diagram -`+t);let i=n.db,a=i.getMindmap();if(!a)return;let s=ge();s.htmlLabels=!1;let l=Di(e),u=l.append("g");u.attr("class","mindmap-edges");let h=l.append("g");h.attr("class","mindmap-nodes"),await tye(i,h,a,-1,s);let f=await xet(a,s);vet(u,f),bet(i,f),_o(void 0,l,s.mindmap?.padding??lr.mindmap.padding,s.mindmap?.useMaxWidth??lr.mindmap.useMaxWidth)},"draw"),nye={draw:Tet}});var wet,ket,aye,sye=N(()=>{"use strict";Xs();wet=o(t=>{let e="";for(let r=0;r0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(E){return E=this.conditionStack.length-1-Math.abs(E||0),E>=0?this.conditionStack[E]:"INITIAL"},"topState"),pushState:o(function(E){this.begin(E)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(E,_,A,D){var O=D;switch(A){case 0:return E.getLogger().trace("Found comment",_.yytext),6;break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;break;case 4:this.popState();break;case 5:E.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return E.getLogger().trace("SPACELINE"),6;break;case 7:return 7;case 8:return 15;case 9:E.getLogger().trace("end icon"),this.popState();break;case 10:return E.getLogger().trace("Exploding node"),this.begin("NODE"),19;break;case 11:return E.getLogger().trace("Cloud"),this.begin("NODE"),19;break;case 12:return E.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;break;case 13:return E.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;break;case 14:return this.begin("NODE"),19;break;case 15:return this.begin("NODE"),19;break;case 16:return this.begin("NODE"),19;break;case 17:return this.begin("NODE"),19;break;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:E.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return E.getLogger().trace("description:",_.yytext),"NODE_DESCR";break;case 26:this.popState();break;case 27:return this.popState(),E.getLogger().trace("node end ))"),"NODE_DEND";break;case 28:return this.popState(),E.getLogger().trace("node end )"),"NODE_DEND";break;case 29:return this.popState(),E.getLogger().trace("node end ...",_.yytext),"NODE_DEND";break;case 30:return this.popState(),E.getLogger().trace("node end (("),"NODE_DEND";break;case 31:return this.popState(),E.getLogger().trace("node end (-"),"NODE_DEND";break;case 32:return this.popState(),E.getLogger().trace("node end (-"),"NODE_DEND";break;case 33:return this.popState(),E.getLogger().trace("node end (("),"NODE_DEND";break;case 34:return this.popState(),E.getLogger().trace("node end (("),"NODE_DEND";break;case 35:return E.getLogger().trace("Long description:",_.yytext),20;break;case 36:return E.getLogger().trace("Long description:",_.yytext),20;break}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return S}();v.lexer=b;function T(){this.yy={}}return o(T,"Parser"),T.prototype=v,v.Parser=T,new T}();yF.parser=yF;hye=yF});function dye(t,e=0){return(Ca[t[e+0]]+Ca[t[e+1]]+Ca[t[e+2]]+Ca[t[e+3]]+"-"+Ca[t[e+4]]+Ca[t[e+5]]+"-"+Ca[t[e+6]]+Ca[t[e+7]]+"-"+Ca[t[e+8]]+Ca[t[e+9]]+"-"+Ca[t[e+10]]+Ca[t[e+11]]+Ca[t[e+12]]+Ca[t[e+13]]+Ca[t[e+14]]+Ca[t[e+15]]).toLowerCase()}var Ca,pye=N(()=>{"use strict";Ca=[];for(let t=0;t<256;++t)Ca.push((t+256).toString(16).slice(1));o(dye,"unsafeStringify")});function xF(){if(!vF){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");vF=crypto.getRandomValues.bind(crypto)}return vF(Tet)}var vF,Tet,mye=N(()=>{"use strict";Tet=new Uint8Array(16);o(xF,"rng")});var wet,bF,gye=N(()=>{"use strict";wet=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),bF={randomUUID:wet}});function ket(t,e,r){if(bF.randomUUID&&!e&&!t)return bF.randomUUID();t=t||{};let n=t.random??t.rng?.()??xF();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){if(r=r||0,r<0||r+16>e.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let i=0;i<16;++i)e[r+i]=n[i];return e}return dye(n)}var TF,yye=N(()=>{"use strict";gye();mye();pye();o(ket,"v4");TF=ket});var vye=N(()=>{"use strict";yye()});var sh,yC,xye=N(()=>{"use strict";Xt();vye();dr();pt();_a();Wn();sh={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},yC=class{constructor(){this.nodes=[];this.count=0;this.elements={};this.getLogger=this.getLogger.bind(this),this.nodeType=sh,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{o(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={}}getParent(e){for(let r=this.nodes.length-1;r>=0;r--)if(this.nodes[r].level0?this.nodes[0]:null}addNode(e,r,n,i){X.info("addNode",e,r,n,i);let a=ge(),s=a.mindmap?.padding??lr.mindmap.padding;switch(i){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:s*=2;break}let l={id:this.count++,nodeId:ar(r,a),level:e,descr:ar(n,a),type:i,children:[],width:a.mindmap?.maxNodeWidth??lr.mindmap.maxNodeWidth,padding:s},u=this.getParent(e);if(u)u.children.push(l),this.nodes.push(l);else if(this.nodes.length===0)this.nodes.push(l);else throw new Error(`There can be only one root. No parent could be found for ("${l.descr}")`)}getType(e,r){switch(X.debug("In get type",e,r),e){case"[":return this.nodeType.RECT;case"(":return r===")"?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,r){this.elements[e]=r}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let r=ge(),n=this.nodes[this.nodes.length-1];e.icon&&(n.icon=ar(e.icon,r)),e.class&&(n.class=ar(e.class,r))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(e,r){if(e.level===0?e.section=void 0:e.section=r,e.children)for(let[n,i]of e.children.entries()){let a=e.level===0?n:r;this.assignSections(i,a)}}flattenNodes(e,r){let n=["mindmap-node"];e.level===0?n.push("section-root","section--1"):e.section!==void 0&&n.push(`section-${e.section}`),e.class&&n.push(e.class);let i=n.join(" "),a=o(l=>{switch(l){case sh.CIRCLE:return"mindmapCircle";case sh.RECT:return"rect";case sh.ROUNDED_RECT:return"rounded";case sh.CLOUD:return"cloud";case sh.BANG:return"bang";case sh.HEXAGON:return"hexagon";case sh.DEFAULT:return"defaultMindmapNode";case sh.NO_BORDER:default:return"rect"}},"getShapeFromType"),s={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,isGroup:!1,shape:a(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:i,cssStyles:[],look:"default",icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(r.push(s),e.children)for(let l of e.children)this.flattenNodes(l,r)}generateEdges(e,r){if(e.children)for(let n of e.children){let i="edge";n.section!==void 0&&(i+=` section-edge-${n.section}`);let a=e.level+1;i+=` edge-depth-${a}`;let s={id:`edge_${e.id}_${n.id}`,start:e.id.toString(),end:n.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:"default",classes:i,depth:e.level,section:n.section};r.push(s),this.generateEdges(n,r)}}getData(){let e=this.getMindmap(),r=ge(),i=MG().layout!==void 0,a=r;if(i||(a.layout="cose-bilkent"),!e)return{nodes:[],edges:[],config:a};X.debug("getData: mindmapRoot",e,r),this.assignSections(e);let s=[],l=[];this.flattenNodes(e,s),this.generateEdges(e,l),X.debug(`getData: processed ${s.length} nodes and ${l.length} edges`);let u=new Map;for(let h of s)u.set(h.id,{shape:h.shape,width:h.width,height:h.height,padding:h.padding});return{nodes:s,edges:l,config:a,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(u),type:"mindmap",diagramId:"mindmap-"+TF()}}getLogger(){return X}}});var Eet,bye,Tye=N(()=>{"use strict";pt();Kd();Af();_f();_a();Eet=o(async(t,e,r,n)=>{X.debug(`Rendering mindmap diagram +`+t);let i=n.db,a=i.getData(),s=zo(e,a.config.securityLevel);a.type=n.type,a.layoutAlgorithm=Bc(a.config.layout,{fallback:"cose-bilkent"}),a.diagramId=e,i.getMindmap()&&(a.nodes.forEach(u=>{u.shape==="rounded"?(u.radius=15,u.taper=15,u.stroke="none",u.width=0,u.padding=15):u.shape==="circle"?u.padding=10:u.shape==="rect"&&(u.width=0,u.padding=10)}),await Qo(a,s),Hs(s,a.config.mindmap?.padding??lr.mindmap.padding,"mindmapDiagram",a.config.mindmap?.useMaxWidth??lr.mindmap.useMaxWidth))},"draw"),bye={draw:Eet}});var Cet,Aet,wye,kye=N(()=>{"use strict";Qs();Cet=o(t=>{let e="";for(let r=0;r` + `}return e},"genSections"),Aet=o(t=>` .edge { stroke-width: 3; } - ${wet(t)} + ${Cet(t)} .section-root rect, .section-root path, .section-root circle, .section-root polygon { fill: ${t.git0}; } .section-root text { fill: ${t.gitBranchLabel0}; } + .section-root span { + color: ${t.gitBranchLabel0}; + } + .section-2 span { + color: ${t.gitBranchLabel0}; + } .icon-container { height:100%; display: flex; @@ -2266,17 +2301,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho dominant-baseline: middle; text-align: center; } -`,"getStyles"),aye=ket});var oye={};hr(oye,{diagram:()=>Eet});var Eet,lye=N(()=>{"use strict";P0e();B0e();iye();sye();Eet={get db(){return new h6},renderer:nye,parser:O0e,styles:aye}});var hF,hye,fye=N(()=>{"use strict";hF=function(){var t=o(function(_,A,D,O){for(D=D||{},O=_.length;O--;D[_[O]]=A);return D},"o"),e=[1,4],r=[1,13],n=[1,12],i=[1,15],a=[1,16],s=[1,20],l=[1,19],u=[6,7,8],h=[1,26],f=[1,24],d=[1,25],p=[6,7,11],m=[1,31],g=[6,7,11,24],y=[1,6,13,16,17,20,23],v=[1,35],x=[1,36],b=[1,6,7,11,13,16,17,20,23],T=[1,38],C={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(A,D,O,R,k,L,S){var I=L.length-1;switch(k){case 6:case 7:return R;case 8:R.getLogger().trace("Stop NL ");break;case 9:R.getLogger().trace("Stop EOF ");break;case 11:R.getLogger().trace("Stop NL2 ");break;case 12:R.getLogger().trace("Stop EOF2 ");break;case 15:R.getLogger().info("Node: ",L[I-1].id),R.addNode(L[I-2].length,L[I-1].id,L[I-1].descr,L[I-1].type,L[I]);break;case 16:R.getLogger().info("Node: ",L[I].id),R.addNode(L[I-1].length,L[I].id,L[I].descr,L[I].type);break;case 17:R.getLogger().trace("Icon: ",L[I]),R.decorateNode({icon:L[I]});break;case 18:case 23:R.decorateNode({class:L[I]});break;case 19:R.getLogger().trace("SPACELIST");break;case 20:R.getLogger().trace("Node: ",L[I-1].id),R.addNode(0,L[I-1].id,L[I-1].descr,L[I-1].type,L[I]);break;case 21:R.getLogger().trace("Node: ",L[I].id),R.addNode(0,L[I].id,L[I].descr,L[I].type);break;case 22:R.decorateNode({icon:L[I]});break;case 27:R.getLogger().trace("node found ..",L[I-2]),this.$={id:L[I-1],descr:L[I-1],type:R.getType(L[I-2],L[I])};break;case 28:this.$={id:L[I],descr:L[I],type:0};break;case 29:R.getLogger().trace("node found ..",L[I-3]),this.$={id:L[I-3],descr:L[I-1],type:R.getType(L[I-2],L[I])};break;case 30:this.$=L[I-1]+L[I];break;case 31:this.$=L[I];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:r,7:[1,10],9:9,12:11,13:n,14:14,16:i,17:a,18:17,19:18,20:s,23:l},t(u,[2,3]),{1:[2,2]},t(u,[2,4]),t(u,[2,5]),{1:[2,6],6:r,12:21,13:n,14:14,16:i,17:a,18:17,19:18,20:s,23:l},{6:r,9:22,12:11,13:n,14:14,16:i,17:a,18:17,19:18,20:s,23:l},{6:h,7:f,10:23,11:d},t(p,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:s,23:l}),t(p,[2,19]),t(p,[2,21],{15:30,24:m}),t(p,[2,22]),t(p,[2,23]),t(g,[2,25]),t(g,[2,26]),t(g,[2,28],{20:[1,32]}),{21:[1,33]},{6:h,7:f,10:34,11:d},{1:[2,7],6:r,12:21,13:n,14:14,16:i,17:a,18:17,19:18,20:s,23:l},t(y,[2,14],{7:v,11:x}),t(b,[2,8]),t(b,[2,9]),t(b,[2,10]),t(p,[2,16],{15:37,24:m}),t(p,[2,17]),t(p,[2,18]),t(p,[2,20],{24:T}),t(g,[2,31]),{21:[1,39]},{22:[1,40]},t(y,[2,13],{7:v,11:x}),t(b,[2,11]),t(b,[2,12]),t(p,[2,15],{24:T}),t(g,[2,30]),{22:[1,41]},t(g,[2,27]),t(g,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(A,D){if(D.recoverable)this.trace(A);else{var O=new Error(A);throw O.hash=D,O}},"parseError"),parse:o(function(A){var D=this,O=[0],R=[],k=[null],L=[],S=this.table,I="",M=0,P=0,B=0,F=2,z=1,$=L.slice.call(arguments,1),U=Object.create(this.lexer),K={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(K.yy[ee]=this.yy[ee]);U.setInput(A,K.yy),K.yy.lexer=U,K.yy.parser=this,typeof U.yylloc>"u"&&(U.yylloc={});var Y=U.yylloc;L.push(Y);var ce=U.options&&U.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Z(Be){O.length=O.length-2*Be,k.length=k.length-Be,L.length=L.length-Be}o(Z,"popStack");function ue(){var Be;return Be=R.pop()||U.lex()||z,typeof Be!="number"&&(Be instanceof Array&&(R=Be,Be=R.pop()),Be=D.symbols_[Be]||Be),Be}o(ue,"lex");for(var Q,j,ne,te,he,le,J={},Se,se,ae,Oe;;){if(ne=O[O.length-1],this.defaultActions[ne]?te=this.defaultActions[ne]:((Q===null||typeof Q>"u")&&(Q=ue()),te=S[ne]&&S[ne][Q]),typeof te>"u"||!te.length||!te[0]){var ye="";Oe=[];for(Se in S[ne])this.terminals_[Se]&&Se>F&&Oe.push("'"+this.terminals_[Se]+"'");U.showPosition?ye="Parse error on line "+(M+1)+`: +`,"getStyles"),wye=Aet});var Eye={};ur(Eye,{diagram:()=>_et});var _et,Sye=N(()=>{"use strict";fye();xye();Tye();kye();_et={get db(){return new yC},renderer:bye,parser:hye,styles:wye}});var wF,_ye,Dye=N(()=>{"use strict";wF=function(){var t=o(function(_,A,D,O){for(D=D||{},O=_.length;O--;D[_[O]]=A);return D},"o"),e=[1,4],r=[1,13],n=[1,12],i=[1,15],a=[1,16],s=[1,20],l=[1,19],u=[6,7,8],h=[1,26],f=[1,24],d=[1,25],p=[6,7,11],m=[1,31],g=[6,7,11,24],y=[1,6,13,16,17,20,23],x=[1,35],v=[1,36],b=[1,6,7,11,13,16,17,20,23],T=[1,38],S={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(A,D,O,R,k,L,C){var I=L.length-1;switch(k){case 6:case 7:return R;case 8:R.getLogger().trace("Stop NL ");break;case 9:R.getLogger().trace("Stop EOF ");break;case 11:R.getLogger().trace("Stop NL2 ");break;case 12:R.getLogger().trace("Stop EOF2 ");break;case 15:R.getLogger().info("Node: ",L[I-1].id),R.addNode(L[I-2].length,L[I-1].id,L[I-1].descr,L[I-1].type,L[I]);break;case 16:R.getLogger().info("Node: ",L[I].id),R.addNode(L[I-1].length,L[I].id,L[I].descr,L[I].type);break;case 17:R.getLogger().trace("Icon: ",L[I]),R.decorateNode({icon:L[I]});break;case 18:case 23:R.decorateNode({class:L[I]});break;case 19:R.getLogger().trace("SPACELIST");break;case 20:R.getLogger().trace("Node: ",L[I-1].id),R.addNode(0,L[I-1].id,L[I-1].descr,L[I-1].type,L[I]);break;case 21:R.getLogger().trace("Node: ",L[I].id),R.addNode(0,L[I].id,L[I].descr,L[I].type);break;case 22:R.decorateNode({icon:L[I]});break;case 27:R.getLogger().trace("node found ..",L[I-2]),this.$={id:L[I-1],descr:L[I-1],type:R.getType(L[I-2],L[I])};break;case 28:this.$={id:L[I],descr:L[I],type:0};break;case 29:R.getLogger().trace("node found ..",L[I-3]),this.$={id:L[I-3],descr:L[I-1],type:R.getType(L[I-2],L[I])};break;case 30:this.$=L[I-1]+L[I];break;case 31:this.$=L[I];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:r,7:[1,10],9:9,12:11,13:n,14:14,16:i,17:a,18:17,19:18,20:s,23:l},t(u,[2,3]),{1:[2,2]},t(u,[2,4]),t(u,[2,5]),{1:[2,6],6:r,12:21,13:n,14:14,16:i,17:a,18:17,19:18,20:s,23:l},{6:r,9:22,12:11,13:n,14:14,16:i,17:a,18:17,19:18,20:s,23:l},{6:h,7:f,10:23,11:d},t(p,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:s,23:l}),t(p,[2,19]),t(p,[2,21],{15:30,24:m}),t(p,[2,22]),t(p,[2,23]),t(g,[2,25]),t(g,[2,26]),t(g,[2,28],{20:[1,32]}),{21:[1,33]},{6:h,7:f,10:34,11:d},{1:[2,7],6:r,12:21,13:n,14:14,16:i,17:a,18:17,19:18,20:s,23:l},t(y,[2,14],{7:x,11:v}),t(b,[2,8]),t(b,[2,9]),t(b,[2,10]),t(p,[2,16],{15:37,24:m}),t(p,[2,17]),t(p,[2,18]),t(p,[2,20],{24:T}),t(g,[2,31]),{21:[1,39]},{22:[1,40]},t(y,[2,13],{7:x,11:v}),t(b,[2,11]),t(b,[2,12]),t(p,[2,15],{24:T}),t(g,[2,30]),{22:[1,41]},t(g,[2,27]),t(g,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(A,D){if(D.recoverable)this.trace(A);else{var O=new Error(A);throw O.hash=D,O}},"parseError"),parse:o(function(A){var D=this,O=[0],R=[],k=[null],L=[],C=this.table,I="",M=0,P=0,B=0,F=2,G=1,$=L.slice.call(arguments,1),U=Object.create(this.lexer),K={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(K.yy[ne]=this.yy[ne]);U.setInput(A,K.yy),K.yy.lexer=U,K.yy.parser=this,typeof U.yylloc>"u"&&(U.yylloc={});var j=U.yylloc;L.push(j);var le=U.options&&U.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Z(Pe){O.length=O.length-2*Pe,k.length=k.length-Pe,L.length=L.length-Pe}o(Z,"popStack");function ce(){var Pe;return Pe=R.pop()||U.lex()||G,typeof Pe!="number"&&(Pe instanceof Array&&(R=Pe,Pe=R.pop()),Pe=D.symbols_[Pe]||Pe),Pe}o(ce,"lex");for(var Q,ee,te,re,he,J,ye={},se,Se,W,Oe;;){if(te=O[O.length-1],this.defaultActions[te]?re=this.defaultActions[te]:((Q===null||typeof Q>"u")&&(Q=ce()),re=C[te]&&C[te][Q]),typeof re>"u"||!re.length||!re[0]){var ve="";Oe=[];for(se in C[te])this.terminals_[se]&&se>F&&Oe.push("'"+this.terminals_[se]+"'");U.showPosition?ve="Parse error on line "+(M+1)+`: `+U.showPosition()+` -Expecting `+Oe.join(", ")+", got '"+(this.terminals_[Q]||Q)+"'":ye="Parse error on line "+(M+1)+": Unexpected "+(Q==z?"end of input":"'"+(this.terminals_[Q]||Q)+"'"),this.parseError(ye,{text:U.match,token:this.terminals_[Q]||Q,line:U.yylineno,loc:Y,expected:Oe})}if(te[0]instanceof Array&&te.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ne+", token: "+Q);switch(te[0]){case 1:O.push(Q),k.push(U.yytext),L.push(U.yylloc),O.push(te[1]),Q=null,j?(Q=j,j=null):(P=U.yyleng,I=U.yytext,M=U.yylineno,Y=U.yylloc,B>0&&B--);break;case 2:if(se=this.productions_[te[1]][1],J.$=k[k.length-se],J._$={first_line:L[L.length-(se||1)].first_line,last_line:L[L.length-1].last_line,first_column:L[L.length-(se||1)].first_column,last_column:L[L.length-1].last_column},ce&&(J._$.range=[L[L.length-(se||1)].range[0],L[L.length-1].range[1]]),le=this.performAction.apply(J,[I,P,M,K.yy,te[1],k,L].concat($)),typeof le<"u")return le;se&&(O=O.slice(0,-1*se*2),k=k.slice(0,-1*se),L=L.slice(0,-1*se)),O.push(this.productions_[te[1]][0]),k.push(J.$),L.push(J._$),ae=S[O[O.length-2]][O[O.length-1]],O.push(ae);break;case 3:return!0}}return!0},"parse")},w=function(){var _={EOF:1,parseError:o(function(D,O){if(this.yy.parser)this.yy.parser.parseError(D,O);else throw new Error(D)},"parseError"),setInput:o(function(A,D){return this.yy=D||this.yy||{},this._input=A,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var A=this._input[0];this.yytext+=A,this.yyleng++,this.offset++,this.match+=A,this.matched+=A;var D=A.match(/(?:\r\n?|\n).*/g);return D?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),A},"input"),unput:o(function(A){var D=A.length,O=A.split(/(?:\r\n?|\n)/g);this._input=A+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-D),this.offset-=D;var R=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),O.length-1&&(this.yylineno-=O.length-1);var k=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:O?(O.length===R.length?this.yylloc.first_column:0)+R[R.length-O.length].length-O[0].length:this.yylloc.first_column-D},this.options.ranges&&(this.yylloc.range=[k[0],k[0]+this.yyleng-D]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +Expecting `+Oe.join(", ")+", got '"+(this.terminals_[Q]||Q)+"'":ve="Parse error on line "+(M+1)+": Unexpected "+(Q==G?"end of input":"'"+(this.terminals_[Q]||Q)+"'"),this.parseError(ve,{text:U.match,token:this.terminals_[Q]||Q,line:U.yylineno,loc:j,expected:Oe})}if(re[0]instanceof Array&&re.length>1)throw new Error("Parse Error: multiple actions possible at state: "+te+", token: "+Q);switch(re[0]){case 1:O.push(Q),k.push(U.yytext),L.push(U.yylloc),O.push(re[1]),Q=null,ee?(Q=ee,ee=null):(P=U.yyleng,I=U.yytext,M=U.yylineno,j=U.yylloc,B>0&&B--);break;case 2:if(Se=this.productions_[re[1]][1],ye.$=k[k.length-Se],ye._$={first_line:L[L.length-(Se||1)].first_line,last_line:L[L.length-1].last_line,first_column:L[L.length-(Se||1)].first_column,last_column:L[L.length-1].last_column},le&&(ye._$.range=[L[L.length-(Se||1)].range[0],L[L.length-1].range[1]]),J=this.performAction.apply(ye,[I,P,M,K.yy,re[1],k,L].concat($)),typeof J<"u")return J;Se&&(O=O.slice(0,-1*Se*2),k=k.slice(0,-1*Se),L=L.slice(0,-1*Se)),O.push(this.productions_[re[1]][0]),k.push(ye.$),L.push(ye._$),W=C[O[O.length-2]][O[O.length-1]],O.push(W);break;case 3:return!0}}return!0},"parse")},w=function(){var _={EOF:1,parseError:o(function(D,O){if(this.yy.parser)this.yy.parser.parseError(D,O);else throw new Error(D)},"parseError"),setInput:o(function(A,D){return this.yy=D||this.yy||{},this._input=A,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var A=this._input[0];this.yytext+=A,this.yyleng++,this.offset++,this.match+=A,this.matched+=A;var D=A.match(/(?:\r\n?|\n).*/g);return D?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),A},"input"),unput:o(function(A){var D=A.length,O=A.split(/(?:\r\n?|\n)/g);this._input=A+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-D),this.offset-=D;var R=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),O.length-1&&(this.yylineno-=O.length-1);var k=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:O?(O.length===R.length?this.yylloc.first_column:0)+R[R.length-O.length].length-O[0].length:this.yylloc.first_column-D},this.options.ranges&&(this.yylloc.range=[k[0],k[0]+this.yyleng-D]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(A){this.unput(this.match.slice(A))},"less"),pastInput:o(function(){var A=this.matched.substr(0,this.matched.length-this.match.length);return(A.length>20?"...":"")+A.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var A=this.match;return A.length<20&&(A+=this._input.substr(0,20-A.length)),(A.substr(0,20)+(A.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var A=this.pastInput(),D=new Array(A.length+1).join("-");return A+this.upcomingInput()+` `+D+"^"},"showPosition"),test_match:o(function(A,D){var O,R,k;if(this.options.backtrack_lexer&&(k={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(k.yylloc.range=this.yylloc.range.slice(0))),R=A[0].match(/(?:\r\n?|\n).*/g),R&&(this.yylineno+=R.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:R?R[R.length-1].length-R[R.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+A[0].length},this.yytext+=A[0],this.match+=A[0],this.matches=A,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(A[0].length),this.matched+=A[0],O=this.performAction.call(this,this.yy,this,D,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),O)return O;if(this._backtrack){for(var L in k)this[L]=k[L];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var A,D,O,R;this._more||(this.yytext="",this.match="");for(var k=this._currentRules(),L=0;LD[0].length)){if(D=O,R=L,this.options.backtrack_lexer){if(A=this.test_match(O,k[L]),A!==!1)return A;if(this._backtrack){D=!1;continue}else return!1}else if(!this.options.flex)break}return D?(A=this.test_match(D,k[R]),A!==!1?A:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var D=this.next();return D||this.lex()},"lex"),begin:o(function(D){this.conditionStack.push(D)},"begin"),popState:o(function(){var D=this.conditionStack.length-1;return D>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(D){return D=this.conditionStack.length-1-Math.abs(D||0),D>=0?this.conditionStack[D]:"INITIAL"},"topState"),pushState:o(function(D){this.begin(D)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(D,O,R,k){var L=k;switch(R){case 0:return this.pushState("shapeData"),O.yytext="",24;break;case 1:return this.pushState("shapeDataStr"),24;break;case 2:return this.popState(),24;break;case 3:let S=/\n\s*/g;return O.yytext=O.yytext.replace(S,"
    "),24;break;case 4:return 24;case 5:this.popState();break;case 6:return D.getLogger().trace("Found comment",O.yytext),6;break;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;break;case 10:this.popState();break;case 11:D.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return D.getLogger().trace("SPACELINE"),6;break;case 13:return 7;case 14:return 16;case 15:D.getLogger().trace("end icon"),this.popState();break;case 16:return D.getLogger().trace("Exploding node"),this.begin("NODE"),20;break;case 17:return D.getLogger().trace("Cloud"),this.begin("NODE"),20;break;case 18:return D.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;break;case 19:return D.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;break;case 20:return this.begin("NODE"),20;break;case 21:return this.begin("NODE"),20;break;case 22:return this.begin("NODE"),20;break;case 23:return this.begin("NODE"),20;break;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:D.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return D.getLogger().trace("description:",O.yytext),"NODE_DESCR";break;case 32:this.popState();break;case 33:return this.popState(),D.getLogger().trace("node end ))"),"NODE_DEND";break;case 34:return this.popState(),D.getLogger().trace("node end )"),"NODE_DEND";break;case 35:return this.popState(),D.getLogger().trace("node end ...",O.yytext),"NODE_DEND";break;case 36:return this.popState(),D.getLogger().trace("node end (("),"NODE_DEND";break;case 37:return this.popState(),D.getLogger().trace("node end (-"),"NODE_DEND";break;case 38:return this.popState(),D.getLogger().trace("node end (-"),"NODE_DEND";break;case 39:return this.popState(),D.getLogger().trace("node end (("),"NODE_DEND";break;case 40:return this.popState(),D.getLogger().trace("node end (("),"NODE_DEND";break;case 41:return D.getLogger().trace("Long description:",O.yytext),21;break;case 42:return D.getLogger().trace("Long description:",O.yytext),21;break}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return _}();C.lexer=w;function E(){this.yy={}}return o(E,"Parser"),E.prototype=C,C.Parser=E,new E}();hF.parser=hF;hye=hF});var al,dF,fF,pF,Det,Let,dye,Ret,Net,qi,Met,Iet,Oet,Pet,Bet,Fet,$et,pye,mye=N(()=>{"use strict";qt();dr();yt();Ca();IT();al=[],dF=[],fF=0,pF={},Det=o(()=>{al=[],dF=[],fF=0,pF={}},"clear"),Let=o(t=>{if(al.length===0)return null;let e=al[0].level,r=null;for(let n=al.length-1;n>=0;n--)if(al[n].level===e&&!r&&(r=al[n]),al[n].levell.parentId===i.id);for(let l of s){let u={id:l.id,parentId:i.id,label:ar(l.label??"",n),isGroup:!1,ticket:l?.ticket,priority:l?.priority,assigned:l?.assigned,icon:l?.icon,shape:"kanbanItem",level:l.level,rx:5,ry:5,cssStyles:["text-align: left"]};e.push(u)}}return{nodes:e,edges:t,other:{},config:ge()}},"getData"),Net=o((t,e,r,n,i)=>{let a=ge(),s=a.mindmap?.padding??lr.mindmap.padding;switch(n){case qi.ROUNDED_RECT:case qi.RECT:case qi.HEXAGON:s*=2}let l={id:ar(e,a)||"kbn"+fF++,level:t,label:ar(r,a),width:a.mindmap?.maxNodeWidth??lr.mindmap.maxNodeWidth,padding:s,isGroup:!1};if(i!==void 0){let h;i.includes(` +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var D=this.next();return D||this.lex()},"lex"),begin:o(function(D){this.conditionStack.push(D)},"begin"),popState:o(function(){var D=this.conditionStack.length-1;return D>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(D){return D=this.conditionStack.length-1-Math.abs(D||0),D>=0?this.conditionStack[D]:"INITIAL"},"topState"),pushState:o(function(D){this.begin(D)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(D,O,R,k){var L=k;switch(R){case 0:return this.pushState("shapeData"),O.yytext="",24;break;case 1:return this.pushState("shapeDataStr"),24;break;case 2:return this.popState(),24;break;case 3:let C=/\n\s*/g;return O.yytext=O.yytext.replace(C,"
    "),24;break;case 4:return 24;case 5:this.popState();break;case 6:return D.getLogger().trace("Found comment",O.yytext),6;break;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;break;case 10:this.popState();break;case 11:D.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return D.getLogger().trace("SPACELINE"),6;break;case 13:return 7;case 14:return 16;case 15:D.getLogger().trace("end icon"),this.popState();break;case 16:return D.getLogger().trace("Exploding node"),this.begin("NODE"),20;break;case 17:return D.getLogger().trace("Cloud"),this.begin("NODE"),20;break;case 18:return D.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;break;case 19:return D.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;break;case 20:return this.begin("NODE"),20;break;case 21:return this.begin("NODE"),20;break;case 22:return this.begin("NODE"),20;break;case 23:return this.begin("NODE"),20;break;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:D.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return D.getLogger().trace("description:",O.yytext),"NODE_DESCR";break;case 32:this.popState();break;case 33:return this.popState(),D.getLogger().trace("node end ))"),"NODE_DEND";break;case 34:return this.popState(),D.getLogger().trace("node end )"),"NODE_DEND";break;case 35:return this.popState(),D.getLogger().trace("node end ...",O.yytext),"NODE_DEND";break;case 36:return this.popState(),D.getLogger().trace("node end (("),"NODE_DEND";break;case 37:return this.popState(),D.getLogger().trace("node end (-"),"NODE_DEND";break;case 38:return this.popState(),D.getLogger().trace("node end (-"),"NODE_DEND";break;case 39:return this.popState(),D.getLogger().trace("node end (("),"NODE_DEND";break;case 40:return this.popState(),D.getLogger().trace("node end (("),"NODE_DEND";break;case 41:return D.getLogger().trace("Long description:",O.yytext),21;break;case 42:return D.getLogger().trace("Long description:",O.yytext),21;break}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return _}();S.lexer=w;function E(){this.yy={}}return o(E,"Parser"),E.prototype=S,S.Parser=E,new E}();wF.parser=wF;_ye=wF});var ol,EF,kF,SF,Net,Met,Lye,Iet,Oet,Wi,Pet,Bet,Fet,$et,Get,zet,Vet,Rye,Nye=N(()=>{"use strict";Xt();dr();pt();_a();b2();ol=[],EF=[],kF=0,SF={},Net=o(()=>{ol=[],EF=[],kF=0,SF={}},"clear"),Met=o(t=>{if(ol.length===0)return null;let e=ol[0].level,r=null;for(let n=ol.length-1;n>=0;n--)if(ol[n].level===e&&!r&&(r=ol[n]),ol[n].levell.parentId===i.id);for(let l of s){let u={id:l.id,parentId:i.id,label:ar(l.label??"",n),isGroup:!1,ticket:l?.ticket,priority:l?.priority,assigned:l?.assigned,icon:l?.icon,shape:"kanbanItem",level:l.level,rx:5,ry:5,cssStyles:["text-align: left"]};e.push(u)}}return{nodes:e,edges:t,other:{},config:ge()}},"getData"),Oet=o((t,e,r,n,i)=>{let a=ge(),s=a.mindmap?.padding??lr.mindmap.padding;switch(n){case Wi.ROUNDED_RECT:case Wi.RECT:case Wi.HEXAGON:s*=2}let l={id:ar(e,a)||"kbn"+kF++,level:t,label:ar(r,a),width:a.mindmap?.maxNodeWidth??lr.mindmap.maxNodeWidth,padding:s,isGroup:!1};if(i!==void 0){let h;i.includes(` `)?h=i+` `:h=`{ `+i+` -}`;let f=gm(h,{schema:mm});if(f.shape&&(f.shape!==f.shape.toLowerCase()||f.shape.includes("_")))throw new Error(`No such shape: ${f.shape}. Shape names should be lowercase.`);f?.shape&&f.shape==="kanbanItem"&&(l.shape=f?.shape),f?.label&&(l.label=f?.label),f?.icon&&(l.icon=f?.icon.toString()),f?.assigned&&(l.assigned=f?.assigned.toString()),f?.ticket&&(l.ticket=f?.ticket.toString()),f?.priority&&(l.priority=f?.priority)}let u=Let(t);u?l.parentId=u.id||"kbn"+fF++:dF.push(l),al.push(l)},"addNode"),qi={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Met=o((t,e)=>{switch(X.debug("In get type",t,e),t){case"[":return qi.RECT;case"(":return e===")"?qi.ROUNDED_RECT:qi.CLOUD;case"((":return qi.CIRCLE;case")":return qi.CLOUD;case"))":return qi.BANG;case"{{":return qi.HEXAGON;default:return qi.DEFAULT}},"getType"),Iet=o((t,e)=>{pF[t]=e},"setElementForId"),Oet=o(t=>{if(!t)return;let e=ge(),r=al[al.length-1];t.icon&&(r.icon=ar(t.icon,e)),t.class&&(r.cssClasses=ar(t.class,e))},"decorateNode"),Pet=o(t=>{switch(t){case qi.DEFAULT:return"no-border";case qi.RECT:return"rect";case qi.ROUNDED_RECT:return"rounded-rect";case qi.CIRCLE:return"circle";case qi.CLOUD:return"cloud";case qi.BANG:return"bang";case qi.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Bet=o(()=>X,"getLogger"),Fet=o(t=>pF[t],"getElementById"),$et={clear:Det,addNode:Net,getSections:dye,getData:Ret,nodeType:qi,getType:Met,setElementForId:Iet,decorateNode:Oet,type2Str:Pet,getLogger:Bet,getElementById:Fet},pye=$et});var zet,gye,yye=N(()=>{"use strict";qt();yt();zl();yi();Ca();nw();dw();zet=o(async(t,e,r,n)=>{X.debug(`Rendering kanban diagram -`+t);let a=n.db.getData(),s=ge();s.htmlLabels=!1;let l=Di(e),u=l.append("g");u.attr("class","sections");let h=l.append("g");h.attr("class","items");let f=a.nodes.filter(v=>v.isGroup),d=0,p=10,m=[],g=25;for(let v of f){let x=s?.kanban?.sectionWidth||200;d=d+1,v.x=x*d+(d-1)*p/2,v.width=x,v.y=0,v.height=x*3,v.rx=5,v.ry=5,v.cssClasses=v.cssClasses+" section-"+d;let b=await bm(u,v);g=Math.max(g,b?.labelBBox?.height),m.push(b)}let y=0;for(let v of f){let x=m[y];y=y+1;let b=s?.kanban?.sectionWidth||200,T=-b*3/2+g,C=T,w=a.nodes.filter(A=>A.parentId===v.id);for(let A of w){if(A.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");A.x=v.x,A.width=b-1.5*p;let O=(await Tm(h,A,{config:s})).node().getBBox();A.y=C+O.height/2,await N2(A),C=A.y+O.height/2+p/2}let E=x.cluster.select("rect"),_=Math.max(C-T+3*p,50)+(g-25);E.attr("height",_)}_o(void 0,l,s.mindmap?.padding??lr.kanban.padding,s.mindmap?.useMaxWidth??lr.kanban.useMaxWidth)},"draw"),gye={draw:zet}});var Get,Vet,vye,xye=N(()=>{"use strict";Xs();Vm();Get=o(t=>{let e="";for(let n=0;nt.darkMode?Ot(n,i):Lt(n,i),"adjuster");for(let n=0;n{switch(X.debug("In get type",t,e),t){case"[":return Wi.RECT;case"(":return e===")"?Wi.ROUNDED_RECT:Wi.CLOUD;case"((":return Wi.CIRCLE;case")":return Wi.CLOUD;case"))":return Wi.BANG;case"{{":return Wi.HEXAGON;default:return Wi.DEFAULT}},"getType"),Bet=o((t,e)=>{SF[t]=e},"setElementForId"),Fet=o(t=>{if(!t)return;let e=ge(),r=ol[ol.length-1];t.icon&&(r.icon=ar(t.icon,e)),t.class&&(r.cssClasses=ar(t.class,e))},"decorateNode"),$et=o(t=>{switch(t){case Wi.DEFAULT:return"no-border";case Wi.RECT:return"rect";case Wi.ROUNDED_RECT:return"rounded-rect";case Wi.CIRCLE:return"circle";case Wi.CLOUD:return"cloud";case Wi.BANG:return"bang";case Wi.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Get=o(()=>X,"getLogger"),zet=o(t=>SF[t],"getElementById"),Vet={clear:Net,addNode:Oet,getSections:Lye,getData:Iet,nodeType:Wi,getType:Pet,setElementForId:Bet,decorateNode:Fet,type2Str:$et,getLogger:Get,getElementById:zet},Rye=Vet});var Uet,Mye,Iye=N(()=>{"use strict";Xt();pt();Jc();Ci();_a();cw();xw();Uet=o(async(t,e,r,n)=>{X.debug(`Rendering kanban diagram +`+t);let a=n.db.getData(),s=ge();s.htmlLabels=!1;let l=aa(e),u=l.append("g");u.attr("class","sections");let h=l.append("g");h.attr("class","items");let f=a.nodes.filter(x=>x.isGroup),d=0,p=10,m=[],g=25;for(let x of f){let v=s?.kanban?.sectionWidth||200;d=d+1,x.x=v*d+(d-1)*p/2,x.width=v,x.y=0,x.height=v*3,x.rx=5,x.ry=5,x.cssClasses=x.cssClasses+" section-"+d;let b=await Tm(u,x);g=Math.max(g,b?.labelBBox?.height),m.push(b)}let y=0;for(let x of f){let v=m[y];y=y+1;let b=s?.kanban?.sectionWidth||200,T=-b*3/2+g,S=T,w=a.nodes.filter(A=>A.parentId===x.id);for(let A of w){if(A.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");A.x=x.x,A.width=b-1.5*p;let O=(await wm(h,A,{config:s})).node().getBBox();A.y=S+O.height/2,await I2(A),S=A.y+O.height/2+p/2}let E=v.cluster.select("rect"),_=Math.max(S-T+3*p,50)+(g-25);E.attr("height",_)}nc(void 0,l,s.mindmap?.padding??lr.kanban.padding,s.mindmap?.useMaxWidth??lr.kanban.useMaxWidth)},"draw"),Mye={draw:Uet}});var Het,Wet,Oye,Pye=N(()=>{"use strict";Qs();mg();Het=o(t=>{let e="";for(let n=0;nt.darkMode?Ot(n,i):Lt(n,i),"adjuster");for(let n=0;n` + `}return e},"genSections"),Wet=o(t=>` .edge { stroke-width: 3; } - ${Get(t)} + ${Het(t)} .section-root rect, .section-root path, .section-root circle, .section-root polygon { fill: ${t.git0}; } @@ -2353,17 +2388,17 @@ Expecting `+Oe.join(", ")+", got '"+(this.terminals_[Q]||Q)+"'":ye="Parse error dominant-baseline: middle; text-align: center; } - ${Lc()} -`,"getStyles"),vye=Vet});var bye={};hr(bye,{diagram:()=>Uet});var Uet,Tye=N(()=>{"use strict";fye();mye();yye();xye();Uet={db:pye,renderer:gye,parser:hye,styles:vye}});var mF,k4,Eye=N(()=>{"use strict";mF=function(){var t=o(function(l,u,h,f){for(h=h||{},f=l.length;f--;h[l[f]]=u);return h},"o"),e=[1,9],r=[1,10],n=[1,5,10,12],i={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:o(function(u,h,f,d,p,m,g){var y=m.length-1;switch(p){case 7:let v=d.findOrCreateNode(m[y-4].trim().replaceAll('""','"')),x=d.findOrCreateNode(m[y-2].trim().replaceAll('""','"')),b=parseFloat(m[y].trim());d.addLink(v,x,b);break;case 8:case 9:case 11:this.$=m[y];break;case 10:this.$=m[y-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:r},{1:[2,6],7:11,10:[1,12]},t(r,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(n,[2,8]),t(n,[2,9]),{19:[1,16]},t(n,[2,11]),{1:[2,1]},{1:[2,5]},t(r,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:r},{15:18,16:7,17:8,18:e,20:r},{18:[1,19]},t(r,[2,3]),{12:[1,20]},t(n,[2,10]),{15:21,16:7,17:8,18:e,20:r},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:o(function(u,h){if(h.recoverable)this.trace(u);else{var f=new Error(u);throw f.hash=h,f}},"parseError"),parse:o(function(u){var h=this,f=[0],d=[],p=[null],m=[],g=this.table,y="",v=0,x=0,b=0,T=2,C=1,w=m.slice.call(arguments,1),E=Object.create(this.lexer),_={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(_.yy[A]=this.yy[A]);E.setInput(u,_.yy),_.yy.lexer=E,_.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var D=E.yylloc;m.push(D);var O=E.options&&E.options.ranges;typeof _.yy.parseError=="function"?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(Y){f.length=f.length-2*Y,p.length=p.length-Y,m.length=m.length-Y}o(R,"popStack");function k(){var Y;return Y=d.pop()||E.lex()||C,typeof Y!="number"&&(Y instanceof Array&&(d=Y,Y=d.pop()),Y=h.symbols_[Y]||Y),Y}o(k,"lex");for(var L,S,I,M,P,B,F={},z,$,U,K;;){if(I=f[f.length-1],this.defaultActions[I]?M=this.defaultActions[I]:((L===null||typeof L>"u")&&(L=k()),M=g[I]&&g[I][L]),typeof M>"u"||!M.length||!M[0]){var ee="";K=[];for(z in g[I])this.terminals_[z]&&z>T&&K.push("'"+this.terminals_[z]+"'");E.showPosition?ee="Parse error on line "+(v+1)+`: + ${Fc()} +`,"getStyles"),Oye=Wet});var Bye={};ur(Bye,{diagram:()=>qet});var qet,Fye=N(()=>{"use strict";Dye();Nye();Iye();Pye();qet={db:Rye,renderer:Mye,parser:_ye,styles:Oye}});var CF,A4,zye=N(()=>{"use strict";CF=function(){var t=o(function(l,u,h,f){for(h=h||{},f=l.length;f--;h[l[f]]=u);return h},"o"),e=[1,9],r=[1,10],n=[1,5,10,12],i={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:o(function(u,h,f,d,p,m,g){var y=m.length-1;switch(p){case 7:let x=d.findOrCreateNode(m[y-4].trim().replaceAll('""','"')),v=d.findOrCreateNode(m[y-2].trim().replaceAll('""','"')),b=parseFloat(m[y].trim());d.addLink(x,v,b);break;case 8:case 9:case 11:this.$=m[y];break;case 10:this.$=m[y-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:r},{1:[2,6],7:11,10:[1,12]},t(r,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(n,[2,8]),t(n,[2,9]),{19:[1,16]},t(n,[2,11]),{1:[2,1]},{1:[2,5]},t(r,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:r},{15:18,16:7,17:8,18:e,20:r},{18:[1,19]},t(r,[2,3]),{12:[1,20]},t(n,[2,10]),{15:21,16:7,17:8,18:e,20:r},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:o(function(u,h){if(h.recoverable)this.trace(u);else{var f=new Error(u);throw f.hash=h,f}},"parseError"),parse:o(function(u){var h=this,f=[0],d=[],p=[null],m=[],g=this.table,y="",x=0,v=0,b=0,T=2,S=1,w=m.slice.call(arguments,1),E=Object.create(this.lexer),_={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(_.yy[A]=this.yy[A]);E.setInput(u,_.yy),_.yy.lexer=E,_.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var D=E.yylloc;m.push(D);var O=E.options&&E.options.ranges;typeof _.yy.parseError=="function"?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(j){f.length=f.length-2*j,p.length=p.length-j,m.length=m.length-j}o(R,"popStack");function k(){var j;return j=d.pop()||E.lex()||S,typeof j!="number"&&(j instanceof Array&&(d=j,j=d.pop()),j=h.symbols_[j]||j),j}o(k,"lex");for(var L,C,I,M,P,B,F={},G,$,U,K;;){if(I=f[f.length-1],this.defaultActions[I]?M=this.defaultActions[I]:((L===null||typeof L>"u")&&(L=k()),M=g[I]&&g[I][L]),typeof M>"u"||!M.length||!M[0]){var ne="";K=[];for(G in g[I])this.terminals_[G]&&G>T&&K.push("'"+this.terminals_[G]+"'");E.showPosition?ne="Parse error on line "+(x+1)+`: `+E.showPosition()+` -Expecting `+K.join(", ")+", got '"+(this.terminals_[L]||L)+"'":ee="Parse error on line "+(v+1)+": Unexpected "+(L==C?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(ee,{text:E.match,token:this.terminals_[L]||L,line:E.yylineno,loc:D,expected:K})}if(M[0]instanceof Array&&M.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+L);switch(M[0]){case 1:f.push(L),p.push(E.yytext),m.push(E.yylloc),f.push(M[1]),L=null,S?(L=S,S=null):(x=E.yyleng,y=E.yytext,v=E.yylineno,D=E.yylloc,b>0&&b--);break;case 2:if($=this.productions_[M[1]][1],F.$=p[p.length-$],F._$={first_line:m[m.length-($||1)].first_line,last_line:m[m.length-1].last_line,first_column:m[m.length-($||1)].first_column,last_column:m[m.length-1].last_column},O&&(F._$.range=[m[m.length-($||1)].range[0],m[m.length-1].range[1]]),B=this.performAction.apply(F,[y,x,v,_.yy,M[1],p,m].concat(w)),typeof B<"u")return B;$&&(f=f.slice(0,-1*$*2),p=p.slice(0,-1*$),m=m.slice(0,-1*$)),f.push(this.productions_[M[1]][0]),p.push(F.$),m.push(F._$),U=g[f[f.length-2]][f[f.length-1]],f.push(U);break;case 3:return!0}}return!0},"parse")},a=function(){var l={EOF:1,parseError:o(function(h,f){if(this.yy.parser)this.yy.parser.parseError(h,f);else throw new Error(h)},"parseError"),setInput:o(function(u,h){return this.yy=h||this.yy||{},this._input=u,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var h=u.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},"input"),unput:o(function(u){var h=u.length,f=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===d.length?this.yylloc.first_column:0)+d[d.length-f.length].length-f[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +Expecting `+K.join(", ")+", got '"+(this.terminals_[L]||L)+"'":ne="Parse error on line "+(x+1)+": Unexpected "+(L==S?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(ne,{text:E.match,token:this.terminals_[L]||L,line:E.yylineno,loc:D,expected:K})}if(M[0]instanceof Array&&M.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+L);switch(M[0]){case 1:f.push(L),p.push(E.yytext),m.push(E.yylloc),f.push(M[1]),L=null,C?(L=C,C=null):(v=E.yyleng,y=E.yytext,x=E.yylineno,D=E.yylloc,b>0&&b--);break;case 2:if($=this.productions_[M[1]][1],F.$=p[p.length-$],F._$={first_line:m[m.length-($||1)].first_line,last_line:m[m.length-1].last_line,first_column:m[m.length-($||1)].first_column,last_column:m[m.length-1].last_column},O&&(F._$.range=[m[m.length-($||1)].range[0],m[m.length-1].range[1]]),B=this.performAction.apply(F,[y,v,x,_.yy,M[1],p,m].concat(w)),typeof B<"u")return B;$&&(f=f.slice(0,-1*$*2),p=p.slice(0,-1*$),m=m.slice(0,-1*$)),f.push(this.productions_[M[1]][0]),p.push(F.$),m.push(F._$),U=g[f[f.length-2]][f[f.length-1]],f.push(U);break;case 3:return!0}}return!0},"parse")},a=function(){var l={EOF:1,parseError:o(function(h,f){if(this.yy.parser)this.yy.parser.parseError(h,f);else throw new Error(h)},"parseError"),setInput:o(function(u,h){return this.yy=h||this.yy||{},this._input=u,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var h=u.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},"input"),unput:o(function(u){var h=u.length,f=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===d.length?this.yylloc.first_column:0)+d[d.length-f.length].length-f[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(u){this.unput(this.match.slice(u))},"less"),pastInput:o(function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var u=this.pastInput(),h=new Array(u.length+1).join("-");return u+this.upcomingInput()+` `+h+"^"},"showPosition"),test_match:o(function(u,h){var f,d,p;if(this.options.backtrack_lexer&&(p={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(p.yylloc.range=this.yylloc.range.slice(0))),d=u[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(u[0].length),this.matched+=u[0],f=this.performAction.call(this,this.yy,this,h,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var m in p)this[m]=p[m];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var u,h,f,d;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),m=0;mh[0].length)){if(h=f,d=m,this.options.backtrack_lexer){if(u=this.test_match(f,p[m]),u!==!1)return u;if(this._backtrack){h=!1;continue}else return!1}else if(!this.options.flex)break}return h?(u=this.test_match(h,p[d]),u!==!1?u:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var h=this.next();return h||this.lex()},"lex"),begin:o(function(h){this.conditionStack.push(h)},"begin"),popState:o(function(){var h=this.conditionStack.length-1;return h>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(h){return h=this.conditionStack.length-1-Math.abs(h||0),h>=0?this.conditionStack[h]:"INITIAL"},"topState"),pushState:o(function(h){this.begin(h)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(h,f,d,p){var m=p;switch(d){case 0:return this.pushState("csv"),4;break;case 1:return this.pushState("csv"),4;break;case 2:return 10;case 3:return 5;case 4:return 12;case 5:return this.pushState("escaped_text"),18;break;case 6:return 20;case 7:return this.popState("escaped_text"),18;break;case 8:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:sankey\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[2,3,4,5,6,7,8],inclusive:!1},escaped_text:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8],inclusive:!0}}};return l}();i.lexer=a;function s(){this.yy={}}return o(s,"Parser"),s.prototype=i,i.Parser=s,new s}();mF.parser=mF;k4=mF});var hC,fC,uC,Yet,gF,Xet,yF,jet,Ket,Qet,Zet,Sye,Cye=N(()=>{"use strict";qt();dr();ci();hC=[],fC=[],uC=new Map,Yet=o(()=>{hC=[],fC=[],uC=new Map,wr()},"clear"),gF=class{constructor(e,r,n=0){this.source=e;this.target=r;this.value=n}static{o(this,"SankeyLink")}},Xet=o((t,e,r)=>{hC.push(new gF(t,e,r))},"addLink"),yF=class{constructor(e){this.ID=e}static{o(this,"SankeyNode")}},jet=o(t=>{t=Ze.sanitizeText(t,ge());let e=uC.get(t);return e===void 0&&(e=new yF(t),uC.set(t,e),fC.push(e)),e},"findOrCreateNode"),Ket=o(()=>fC,"getNodes"),Qet=o(()=>hC,"getLinks"),Zet=o(()=>({nodes:fC.map(t=>({id:t.ID})),links:hC.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),"getGraph"),Sye={nodesMap:uC,getConfig:o(()=>ge().sankey,"getConfig"),getNodes:Ket,getLinks:Qet,getGraph:Zet,addLink:Xet,findOrCreateNode:jet,getAccTitle:_r,setAccTitle:Cr,getAccDescription:Lr,setAccDescription:Dr,getDiagramTitle:Rr,setDiagramTitle:Ir,clear:Yet}});function E4(t,e){let r;if(e===void 0)for(let n of t)n!=null&&(r=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r=i)&&(r=i)}return r}var Aye=N(()=>{"use strict";o(E4,"max")});function uy(t,e){let r;if(e===void 0)for(let n of t)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}return r}var _ye=N(()=>{"use strict";o(uy,"min")});function hy(t,e){let r=0;if(e===void 0)for(let n of t)(n=+n)&&(r+=n);else{let n=-1;for(let i of t)(i=+e(i,++n,t))&&(r+=i)}return r}var Dye=N(()=>{"use strict";o(hy,"sum")});var vF=N(()=>{"use strict";Aye();_ye();Dye()});function Jet(t){return t.target.depth}function xF(t){return t.depth}function bF(t,e){return e-1-t.height}function S4(t,e){return t.sourceLinks.length?t.depth:e-1}function TF(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?uy(t.sourceLinks,Jet)-1:0}var wF=N(()=>{"use strict";vF();o(Jet,"targetDepth");o(xF,"left");o(bF,"right");o(S4,"justify");o(TF,"center")});function fy(t){return function(){return t}}var Lye=N(()=>{"use strict";o(fy,"constant")});function Rye(t,e){return dC(t.source,e.source)||t.index-e.index}function Nye(t,e){return dC(t.target,e.target)||t.index-e.index}function dC(t,e){return t.y0-e.y0}function kF(t){return t.value}function ett(t){return t.index}function ttt(t){return t.nodes}function rtt(t){return t.links}function Mye(t,e){let r=t.get(e);if(!r)throw new Error("missing: "+e);return r}function Iye({nodes:t}){for(let e of t){let r=e.y0,n=r;for(let i of e.sourceLinks)i.y0=r+i.width/2,r+=i.width;for(let i of e.targetLinks)i.y1=n+i.width/2,n+=i.width}}function pC(){let t=0,e=0,r=1,n=1,i=24,a=8,s,l=ett,u=S4,h,f,d=ttt,p=rtt,m=6;function g(){let I={nodes:d.apply(null,arguments),links:p.apply(null,arguments)};return y(I),v(I),x(I),b(I),w(I),Iye(I),I}o(g,"sankey"),g.update=function(I){return Iye(I),I},g.nodeId=function(I){return arguments.length?(l=typeof I=="function"?I:fy(I),g):l},g.nodeAlign=function(I){return arguments.length?(u=typeof I=="function"?I:fy(I),g):u},g.nodeSort=function(I){return arguments.length?(h=I,g):h},g.nodeWidth=function(I){return arguments.length?(i=+I,g):i},g.nodePadding=function(I){return arguments.length?(a=s=+I,g):a},g.nodes=function(I){return arguments.length?(d=typeof I=="function"?I:fy(I),g):d},g.links=function(I){return arguments.length?(p=typeof I=="function"?I:fy(I),g):p},g.linkSort=function(I){return arguments.length?(f=I,g):f},g.size=function(I){return arguments.length?(t=e=0,r=+I[0],n=+I[1],g):[r-t,n-e]},g.extent=function(I){return arguments.length?(t=+I[0][0],r=+I[1][0],e=+I[0][1],n=+I[1][1],g):[[t,e],[r,n]]},g.iterations=function(I){return arguments.length?(m=+I,g):m};function y({nodes:I,links:M}){for(let[B,F]of I.entries())F.index=B,F.sourceLinks=[],F.targetLinks=[];let P=new Map(I.map((B,F)=>[l(B,F,I),B]));for(let[B,F]of M.entries()){F.index=B;let{source:z,target:$}=F;typeof z!="object"&&(z=F.source=Mye(P,z)),typeof $!="object"&&($=F.target=Mye(P,$)),z.sourceLinks.push(F),$.targetLinks.push(F)}if(f!=null)for(let{sourceLinks:B,targetLinks:F}of I)B.sort(f),F.sort(f)}o(y,"computeNodeLinks");function v({nodes:I}){for(let M of I)M.value=M.fixedValue===void 0?Math.max(hy(M.sourceLinks,kF),hy(M.targetLinks,kF)):M.fixedValue}o(v,"computeNodeValues");function x({nodes:I}){let M=I.length,P=new Set(I),B=new Set,F=0;for(;P.size;){for(let z of P){z.depth=F;for(let{target:$}of z.sourceLinks)B.add($)}if(++F>M)throw new Error("circular link");P=B,B=new Set}}o(x,"computeNodeDepths");function b({nodes:I}){let M=I.length,P=new Set(I),B=new Set,F=0;for(;P.size;){for(let z of P){z.height=F;for(let{source:$}of z.targetLinks)B.add($)}if(++F>M)throw new Error("circular link");P=B,B=new Set}}o(b,"computeNodeHeights");function T({nodes:I}){let M=E4(I,F=>F.depth)+1,P=(r-t-i)/(M-1),B=new Array(M);for(let F of I){let z=Math.max(0,Math.min(M-1,Math.floor(u.call(null,F,M))));F.layer=z,F.x0=t+z*P,F.x1=F.x0+i,B[z]?B[z].push(F):B[z]=[F]}if(h)for(let F of B)F.sort(h);return B}o(T,"computeNodeLayers");function C(I){let M=uy(I,P=>(n-e-(P.length-1)*s)/hy(P,kF));for(let P of I){let B=e;for(let F of P){F.y0=B,F.y1=B+F.value*M,B=F.y1+s;for(let z of F.sourceLinks)z.width=z.value*M}B=(n-B+s)/(P.length+1);for(let F=0;FP.length)-1)),C(M);for(let P=0;P0))continue;let ee=(U/K-$.y0)*M;$.y0+=ee,$.y1+=ee,R($)}h===void 0&&z.sort(dC),A(z,P)}}o(E,"relaxLeftToRight");function _(I,M,P){for(let B=I.length,F=B-2;F>=0;--F){let z=I[F];for(let $ of z){let U=0,K=0;for(let{target:Y,value:ce}of $.sourceLinks){let Z=ce*(Y.layer-$.layer);U+=S($,Y)*Z,K+=Z}if(!(K>0))continue;let ee=(U/K-$.y0)*M;$.y0+=ee,$.y1+=ee,R($)}h===void 0&&z.sort(dC),A(z,P)}}o(_,"relaxRightToLeft");function A(I,M){let P=I.length>>1,B=I[P];O(I,B.y0-s,P-1,M),D(I,B.y1+s,P+1,M),O(I,n,I.length-1,M),D(I,e,0,M)}o(A,"resolveCollisions");function D(I,M,P,B){for(;P1e-6&&(F.y0+=z,F.y1+=z),M=F.y1+s}}o(D,"resolveCollisionsTopToBottom");function O(I,M,P,B){for(;P>=0;--P){let F=I[P],z=(F.y1-M)*B;z>1e-6&&(F.y0-=z,F.y1-=z),M=F.y0-s}}o(O,"resolveCollisionsBottomToTop");function R({sourceLinks:I,targetLinks:M}){if(f===void 0){for(let{source:{sourceLinks:P}}of M)P.sort(Nye);for(let{target:{targetLinks:P}}of I)P.sort(Rye)}}o(R,"reorderNodeLinks");function k(I){if(f===void 0)for(let{sourceLinks:M,targetLinks:P}of I)M.sort(Nye),P.sort(Rye)}o(k,"reorderLinks");function L(I,M){let P=I.y0-(I.sourceLinks.length-1)*s/2;for(let{target:B,width:F}of I.sourceLinks){if(B===M)break;P+=F+s}for(let{source:B,width:F}of M.targetLinks){if(B===I)break;P-=F}return P}o(L,"targetTop");function S(I,M){let P=M.y0-(M.targetLinks.length-1)*s/2;for(let{source:B,width:F}of M.targetLinks){if(B===I)break;P+=F+s}for(let{target:B,width:F}of I.sourceLinks){if(B===M)break;P-=F}return P}return o(S,"sourceTop"),g}var Oye=N(()=>{"use strict";vF();wF();Lye();o(Rye,"ascendingSourceBreadth");o(Nye,"ascendingTargetBreadth");o(dC,"ascendingBreadth");o(kF,"value");o(ett,"defaultId");o(ttt,"defaultNodes");o(rtt,"defaultLinks");o(Mye,"find");o(Iye,"computeLinkBreadths");o(pC,"Sankey")});function CF(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Pye(){return new CF}var EF,SF,e0,ntt,AF,Bye=N(()=>{"use strict";EF=Math.PI,SF=2*EF,e0=1e-6,ntt=SF-e0;o(CF,"Path");o(Pye,"path");CF.prototype=Pye.prototype={constructor:CF,moveTo:o(function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},"moveTo"),closePath:o(function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},"closePath"),lineTo:o(function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},"lineTo"),quadraticCurveTo:o(function(t,e,r,n){this._+="Q"+ +t+","+ +e+","+(this._x1=+r)+","+(this._y1=+n)},"quadraticCurveTo"),bezierCurveTo:o(function(t,e,r,n,i,a){this._+="C"+ +t+","+ +e+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+a)},"bezierCurveTo"),arcTo:o(function(t,e,r,n,i){t=+t,e=+e,r=+r,n=+n,i=+i;var a=this._x1,s=this._y1,l=r-t,u=n-e,h=a-t,f=s-e,d=h*h+f*f;if(i<0)throw new Error("negative radius: "+i);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(d>e0)if(!(Math.abs(f*l-u*h)>e0)||!i)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var p=r-a,m=n-s,g=l*l+u*u,y=p*p+m*m,v=Math.sqrt(g),x=Math.sqrt(d),b=i*Math.tan((EF-Math.acos((g+d-y)/(2*v*x)))/2),T=b/x,C=b/v;Math.abs(T-1)>e0&&(this._+="L"+(t+T*h)+","+(e+T*f)),this._+="A"+i+","+i+",0,0,"+ +(f*p>h*m)+","+(this._x1=t+C*l)+","+(this._y1=e+C*u)}},"arcTo"),arc:o(function(t,e,r,n,i,a){t=+t,e=+e,r=+r,a=!!a;var s=r*Math.cos(n),l=r*Math.sin(n),u=t+s,h=e+l,f=1^a,d=a?n-i:i-n;if(r<0)throw new Error("negative radius: "+r);this._x1===null?this._+="M"+u+","+h:(Math.abs(this._x1-u)>e0||Math.abs(this._y1-h)>e0)&&(this._+="L"+u+","+h),r&&(d<0&&(d=d%SF+SF),d>ntt?this._+="A"+r+","+r+",0,1,"+f+","+(t-s)+","+(e-l)+"A"+r+","+r+",0,1,"+f+","+(this._x1=u)+","+(this._y1=h):d>e0&&(this._+="A"+r+","+r+",0,"+ +(d>=EF)+","+f+","+(this._x1=t+r*Math.cos(i))+","+(this._y1=e+r*Math.sin(i))))},"arc"),rect:o(function(t,e,r,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},"rect"),toString:o(function(){return this._},"toString")};AF=Pye});var Fye=N(()=>{"use strict";Bye()});function mC(t){return o(function(){return t},"constant")}var $ye=N(()=>{"use strict";o(mC,"default")});function zye(t){return t[0]}function Gye(t){return t[1]}var Vye=N(()=>{"use strict";o(zye,"x");o(Gye,"y")});var Uye,Hye=N(()=>{"use strict";Uye=Array.prototype.slice});function itt(t){return t.source}function att(t){return t.target}function stt(t){var e=itt,r=att,n=zye,i=Gye,a=null;function s(){var l,u=Uye.call(arguments),h=e.apply(this,u),f=r.apply(this,u);if(a||(a=l=AF()),t(a,+n.apply(this,(u[0]=h,u)),+i.apply(this,u),+n.apply(this,(u[0]=f,u)),+i.apply(this,u)),l)return a=null,l+""||null}return o(s,"link"),s.source=function(l){return arguments.length?(e=l,s):e},s.target=function(l){return arguments.length?(r=l,s):r},s.x=function(l){return arguments.length?(n=typeof l=="function"?l:mC(+l),s):n},s.y=function(l){return arguments.length?(i=typeof l=="function"?l:mC(+l),s):i},s.context=function(l){return arguments.length?(a=l??null,s):a},s}function ott(t,e,r,n,i){t.moveTo(e,r),t.bezierCurveTo(e=(e+n)/2,r,e,i,n,i)}function _F(){return stt(ott)}var Wye=N(()=>{"use strict";Fye();Hye();$ye();Vye();o(itt,"linkSource");o(att,"linkTarget");o(stt,"link");o(ott,"curveHorizontal");o(_F,"linkHorizontal")});var qye=N(()=>{"use strict";Wye()});function ltt(t){return[t.source.x1,t.y0]}function ctt(t){return[t.target.x0,t.y1]}function gC(){return _F().source(ltt).target(ctt)}var Yye=N(()=>{"use strict";qye();o(ltt,"horizontalSource");o(ctt,"horizontalTarget");o(gC,"default")});var Xye=N(()=>{"use strict";Oye();wF();Yye()});var C4,jye=N(()=>{"use strict";C4=class t{static{o(this,"Uid")}static{this.count=0}static next(e){return new t(e+ ++t.count)}constructor(e){this.id=e,this.href=`#${e}`}toString(){return"url("+this.href+")"}}});var utt,htt,Kye,Qye=N(()=>{"use strict";qt();pr();Xye();yi();jye();utt={left:xF,right:bF,center:TF,justify:S4},htt=o(function(t,e,r,n){let{securityLevel:i,sankey:a}=ge(),s=B3.sankey,l;i==="sandbox"&&(l=Ge("#i"+e));let u=i==="sandbox"?Ge(l.nodes()[0].contentDocument.body):Ge("body"),h=i==="sandbox"?u.select(`[id="${e}"]`):Ge(`[id="${e}"]`),f=a?.width??s.width,d=a?.height??s.width,p=a?.useMaxWidth??s.useMaxWidth,m=a?.nodeAlignment??s.nodeAlignment,g=a?.prefix??s.prefix,y=a?.suffix??s.suffix,v=a?.showValues??s.showValues,x=n.db.getGraph(),b=utt[m];pC().nodeId(O=>O.id).nodeWidth(10).nodePadding(10+(v?15:0)).nodeAlign(b).extent([[0,0],[f,d]])(x);let w=Qs(MD);h.append("g").attr("class","nodes").selectAll(".node").data(x.nodes).join("g").attr("class","node").attr("id",O=>(O.uid=C4.next("node-")).id).attr("transform",function(O){return"translate("+O.x0+","+O.y0+")"}).attr("x",O=>O.x0).attr("y",O=>O.y0).append("rect").attr("height",O=>O.y1-O.y0).attr("width",O=>O.x1-O.x0).attr("fill",O=>w(O.id));let E=o(({id:O,value:R})=>v?`${O} -${g}${Math.round(R*100)/100}${y}`:O,"getText");h.append("g").attr("class","node-labels").attr("font-size",14).selectAll("text").data(x.nodes).join("text").attr("x",O=>O.x0(O.y1+O.y0)/2).attr("dy",`${v?"0":"0.35"}em`).attr("text-anchor",O=>O.x0(R.uid=C4.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",R=>R.source.x1).attr("x2",R=>R.target.x0);O.append("stop").attr("offset","0%").attr("stop-color",R=>w(R.source.id)),O.append("stop").attr("offset","100%").attr("stop-color",R=>w(R.target.id))}let D;switch(A){case"gradient":D=o(O=>O.uid,"coloring");break;case"source":D=o(O=>w(O.source.id),"coloring");break;case"target":D=o(O=>w(O.target.id),"coloring");break;default:D=A}_.append("path").attr("d",gC()).attr("stroke",D).attr("stroke-width",O=>Math.max(1,O.width)),_o(void 0,h,0,p)},"draw"),Kye={draw:htt}});var Zye,Jye=N(()=>{"use strict";Zye=o(t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,` -`).trim(),"prepareTextForParsing")});var ftt,eve,tve=N(()=>{"use strict";ftt=o(t=>`.label { +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var h=this.next();return h||this.lex()},"lex"),begin:o(function(h){this.conditionStack.push(h)},"begin"),popState:o(function(){var h=this.conditionStack.length-1;return h>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(h){return h=this.conditionStack.length-1-Math.abs(h||0),h>=0?this.conditionStack[h]:"INITIAL"},"topState"),pushState:o(function(h){this.begin(h)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(h,f,d,p){var m=p;switch(d){case 0:return this.pushState("csv"),4;break;case 1:return this.pushState("csv"),4;break;case 2:return 10;case 3:return 5;case 4:return 12;case 5:return this.pushState("escaped_text"),18;break;case 6:return 20;case 7:return this.popState("escaped_text"),18;break;case 8:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:sankey\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[2,3,4,5,6,7,8],inclusive:!1},escaped_text:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8],inclusive:!0}}};return l}();i.lexer=a;function s(){this.yy={}}return o(s,"Parser"),s.prototype=i,i.Parser=s,new s}();CF.parser=CF;A4=CF});var xC,bC,vC,Ket,AF,Qet,_F,Zet,Jet,ett,ttt,Vye,Uye=N(()=>{"use strict";Xt();dr();ui();xC=[],bC=[],vC=new Map,Ket=o(()=>{xC=[],bC=[],vC=new Map,wr()},"clear"),AF=class{constructor(e,r,n=0){this.source=e;this.target=r;this.value=n}static{o(this,"SankeyLink")}},Qet=o((t,e,r)=>{xC.push(new AF(t,e,r))},"addLink"),_F=class{constructor(e){this.ID=e}static{o(this,"SankeyNode")}},Zet=o(t=>{t=Je.sanitizeText(t,ge());let e=vC.get(t);return e===void 0&&(e=new _F(t),vC.set(t,e),bC.push(e)),e},"findOrCreateNode"),Jet=o(()=>bC,"getNodes"),ett=o(()=>xC,"getLinks"),ttt=o(()=>({nodes:bC.map(t=>({id:t.ID})),links:xC.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),"getGraph"),Vye={nodesMap:vC,getConfig:o(()=>ge().sankey,"getConfig"),getNodes:Jet,getLinks:ett,getGraph:ttt,addLink:Qet,findOrCreateNode:Zet,getAccTitle:_r,setAccTitle:Cr,getAccDescription:Lr,setAccDescription:Dr,getDiagramTitle:Rr,setDiagramTitle:Or,clear:Ket}});function _4(t,e){let r;if(e===void 0)for(let n of t)n!=null&&(r=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r=i)&&(r=i)}return r}var Hye=N(()=>{"use strict";o(_4,"max")});function hy(t,e){let r;if(e===void 0)for(let n of t)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}return r}var Wye=N(()=>{"use strict";o(hy,"min")});function fy(t,e){let r=0;if(e===void 0)for(let n of t)(n=+n)&&(r+=n);else{let n=-1;for(let i of t)(i=+e(i,++n,t))&&(r+=i)}return r}var qye=N(()=>{"use strict";o(fy,"sum")});var DF=N(()=>{"use strict";Hye();Wye();qye()});function rtt(t){return t.target.depth}function LF(t){return t.depth}function RF(t,e){return e-1-t.height}function D4(t,e){return t.sourceLinks.length?t.depth:e-1}function NF(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?hy(t.sourceLinks,rtt)-1:0}var MF=N(()=>{"use strict";DF();o(rtt,"targetDepth");o(LF,"left");o(RF,"right");o(D4,"justify");o(NF,"center")});function dy(t){return function(){return t}}var Yye=N(()=>{"use strict";o(dy,"constant")});function Xye(t,e){return TC(t.source,e.source)||t.index-e.index}function jye(t,e){return TC(t.target,e.target)||t.index-e.index}function TC(t,e){return t.y0-e.y0}function IF(t){return t.value}function ntt(t){return t.index}function itt(t){return t.nodes}function att(t){return t.links}function Kye(t,e){let r=t.get(e);if(!r)throw new Error("missing: "+e);return r}function Qye({nodes:t}){for(let e of t){let r=e.y0,n=r;for(let i of e.sourceLinks)i.y0=r+i.width/2,r+=i.width;for(let i of e.targetLinks)i.y1=n+i.width/2,n+=i.width}}function wC(){let t=0,e=0,r=1,n=1,i=24,a=8,s,l=ntt,u=D4,h,f,d=itt,p=att,m=6;function g(){let I={nodes:d.apply(null,arguments),links:p.apply(null,arguments)};return y(I),x(I),v(I),b(I),w(I),Qye(I),I}o(g,"sankey"),g.update=function(I){return Qye(I),I},g.nodeId=function(I){return arguments.length?(l=typeof I=="function"?I:dy(I),g):l},g.nodeAlign=function(I){return arguments.length?(u=typeof I=="function"?I:dy(I),g):u},g.nodeSort=function(I){return arguments.length?(h=I,g):h},g.nodeWidth=function(I){return arguments.length?(i=+I,g):i},g.nodePadding=function(I){return arguments.length?(a=s=+I,g):a},g.nodes=function(I){return arguments.length?(d=typeof I=="function"?I:dy(I),g):d},g.links=function(I){return arguments.length?(p=typeof I=="function"?I:dy(I),g):p},g.linkSort=function(I){return arguments.length?(f=I,g):f},g.size=function(I){return arguments.length?(t=e=0,r=+I[0],n=+I[1],g):[r-t,n-e]},g.extent=function(I){return arguments.length?(t=+I[0][0],r=+I[1][0],e=+I[0][1],n=+I[1][1],g):[[t,e],[r,n]]},g.iterations=function(I){return arguments.length?(m=+I,g):m};function y({nodes:I,links:M}){for(let[B,F]of I.entries())F.index=B,F.sourceLinks=[],F.targetLinks=[];let P=new Map(I.map((B,F)=>[l(B,F,I),B]));for(let[B,F]of M.entries()){F.index=B;let{source:G,target:$}=F;typeof G!="object"&&(G=F.source=Kye(P,G)),typeof $!="object"&&($=F.target=Kye(P,$)),G.sourceLinks.push(F),$.targetLinks.push(F)}if(f!=null)for(let{sourceLinks:B,targetLinks:F}of I)B.sort(f),F.sort(f)}o(y,"computeNodeLinks");function x({nodes:I}){for(let M of I)M.value=M.fixedValue===void 0?Math.max(fy(M.sourceLinks,IF),fy(M.targetLinks,IF)):M.fixedValue}o(x,"computeNodeValues");function v({nodes:I}){let M=I.length,P=new Set(I),B=new Set,F=0;for(;P.size;){for(let G of P){G.depth=F;for(let{target:$}of G.sourceLinks)B.add($)}if(++F>M)throw new Error("circular link");P=B,B=new Set}}o(v,"computeNodeDepths");function b({nodes:I}){let M=I.length,P=new Set(I),B=new Set,F=0;for(;P.size;){for(let G of P){G.height=F;for(let{source:$}of G.targetLinks)B.add($)}if(++F>M)throw new Error("circular link");P=B,B=new Set}}o(b,"computeNodeHeights");function T({nodes:I}){let M=_4(I,F=>F.depth)+1,P=(r-t-i)/(M-1),B=new Array(M);for(let F of I){let G=Math.max(0,Math.min(M-1,Math.floor(u.call(null,F,M))));F.layer=G,F.x0=t+G*P,F.x1=F.x0+i,B[G]?B[G].push(F):B[G]=[F]}if(h)for(let F of B)F.sort(h);return B}o(T,"computeNodeLayers");function S(I){let M=hy(I,P=>(n-e-(P.length-1)*s)/fy(P,IF));for(let P of I){let B=e;for(let F of P){F.y0=B,F.y1=B+F.value*M,B=F.y1+s;for(let G of F.sourceLinks)G.width=G.value*M}B=(n-B+s)/(P.length+1);for(let F=0;FP.length)-1)),S(M);for(let P=0;P0))continue;let ne=(U/K-$.y0)*M;$.y0+=ne,$.y1+=ne,R($)}h===void 0&&G.sort(TC),A(G,P)}}o(E,"relaxLeftToRight");function _(I,M,P){for(let B=I.length,F=B-2;F>=0;--F){let G=I[F];for(let $ of G){let U=0,K=0;for(let{target:j,value:le}of $.sourceLinks){let Z=le*(j.layer-$.layer);U+=C($,j)*Z,K+=Z}if(!(K>0))continue;let ne=(U/K-$.y0)*M;$.y0+=ne,$.y1+=ne,R($)}h===void 0&&G.sort(TC),A(G,P)}}o(_,"relaxRightToLeft");function A(I,M){let P=I.length>>1,B=I[P];O(I,B.y0-s,P-1,M),D(I,B.y1+s,P+1,M),O(I,n,I.length-1,M),D(I,e,0,M)}o(A,"resolveCollisions");function D(I,M,P,B){for(;P1e-6&&(F.y0+=G,F.y1+=G),M=F.y1+s}}o(D,"resolveCollisionsTopToBottom");function O(I,M,P,B){for(;P>=0;--P){let F=I[P],G=(F.y1-M)*B;G>1e-6&&(F.y0-=G,F.y1-=G),M=F.y0-s}}o(O,"resolveCollisionsBottomToTop");function R({sourceLinks:I,targetLinks:M}){if(f===void 0){for(let{source:{sourceLinks:P}}of M)P.sort(jye);for(let{target:{targetLinks:P}}of I)P.sort(Xye)}}o(R,"reorderNodeLinks");function k(I){if(f===void 0)for(let{sourceLinks:M,targetLinks:P}of I)M.sort(jye),P.sort(Xye)}o(k,"reorderLinks");function L(I,M){let P=I.y0-(I.sourceLinks.length-1)*s/2;for(let{target:B,width:F}of I.sourceLinks){if(B===M)break;P+=F+s}for(let{source:B,width:F}of M.targetLinks){if(B===I)break;P-=F}return P}o(L,"targetTop");function C(I,M){let P=M.y0-(M.targetLinks.length-1)*s/2;for(let{source:B,width:F}of M.targetLinks){if(B===I)break;P+=F+s}for(let{target:B,width:F}of I.sourceLinks){if(B===M)break;P-=F}return P}return o(C,"sourceTop"),g}var Zye=N(()=>{"use strict";DF();MF();Yye();o(Xye,"ascendingSourceBreadth");o(jye,"ascendingTargetBreadth");o(TC,"ascendingBreadth");o(IF,"value");o(ntt,"defaultId");o(itt,"defaultNodes");o(att,"defaultLinks");o(Kye,"find");o(Qye,"computeLinkBreadths");o(wC,"Sankey")});function BF(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Jye(){return new BF}var OF,PF,l0,stt,FF,eve=N(()=>{"use strict";OF=Math.PI,PF=2*OF,l0=1e-6,stt=PF-l0;o(BF,"Path");o(Jye,"path");BF.prototype=Jye.prototype={constructor:BF,moveTo:o(function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},"moveTo"),closePath:o(function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},"closePath"),lineTo:o(function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},"lineTo"),quadraticCurveTo:o(function(t,e,r,n){this._+="Q"+ +t+","+ +e+","+(this._x1=+r)+","+(this._y1=+n)},"quadraticCurveTo"),bezierCurveTo:o(function(t,e,r,n,i,a){this._+="C"+ +t+","+ +e+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+a)},"bezierCurveTo"),arcTo:o(function(t,e,r,n,i){t=+t,e=+e,r=+r,n=+n,i=+i;var a=this._x1,s=this._y1,l=r-t,u=n-e,h=a-t,f=s-e,d=h*h+f*f;if(i<0)throw new Error("negative radius: "+i);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(d>l0)if(!(Math.abs(f*l-u*h)>l0)||!i)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var p=r-a,m=n-s,g=l*l+u*u,y=p*p+m*m,x=Math.sqrt(g),v=Math.sqrt(d),b=i*Math.tan((OF-Math.acos((g+d-y)/(2*x*v)))/2),T=b/v,S=b/x;Math.abs(T-1)>l0&&(this._+="L"+(t+T*h)+","+(e+T*f)),this._+="A"+i+","+i+",0,0,"+ +(f*p>h*m)+","+(this._x1=t+S*l)+","+(this._y1=e+S*u)}},"arcTo"),arc:o(function(t,e,r,n,i,a){t=+t,e=+e,r=+r,a=!!a;var s=r*Math.cos(n),l=r*Math.sin(n),u=t+s,h=e+l,f=1^a,d=a?n-i:i-n;if(r<0)throw new Error("negative radius: "+r);this._x1===null?this._+="M"+u+","+h:(Math.abs(this._x1-u)>l0||Math.abs(this._y1-h)>l0)&&(this._+="L"+u+","+h),r&&(d<0&&(d=d%PF+PF),d>stt?this._+="A"+r+","+r+",0,1,"+f+","+(t-s)+","+(e-l)+"A"+r+","+r+",0,1,"+f+","+(this._x1=u)+","+(this._y1=h):d>l0&&(this._+="A"+r+","+r+",0,"+ +(d>=OF)+","+f+","+(this._x1=t+r*Math.cos(i))+","+(this._y1=e+r*Math.sin(i))))},"arc"),rect:o(function(t,e,r,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},"rect"),toString:o(function(){return this._},"toString")};FF=Jye});var tve=N(()=>{"use strict";eve()});function kC(t){return o(function(){return t},"constant")}var rve=N(()=>{"use strict";o(kC,"default")});function nve(t){return t[0]}function ive(t){return t[1]}var ave=N(()=>{"use strict";o(nve,"x");o(ive,"y")});var sve,ove=N(()=>{"use strict";sve=Array.prototype.slice});function ott(t){return t.source}function ltt(t){return t.target}function ctt(t){var e=ott,r=ltt,n=nve,i=ive,a=null;function s(){var l,u=sve.call(arguments),h=e.apply(this,u),f=r.apply(this,u);if(a||(a=l=FF()),t(a,+n.apply(this,(u[0]=h,u)),+i.apply(this,u),+n.apply(this,(u[0]=f,u)),+i.apply(this,u)),l)return a=null,l+""||null}return o(s,"link"),s.source=function(l){return arguments.length?(e=l,s):e},s.target=function(l){return arguments.length?(r=l,s):r},s.x=function(l){return arguments.length?(n=typeof l=="function"?l:kC(+l),s):n},s.y=function(l){return arguments.length?(i=typeof l=="function"?l:kC(+l),s):i},s.context=function(l){return arguments.length?(a=l??null,s):a},s}function utt(t,e,r,n,i){t.moveTo(e,r),t.bezierCurveTo(e=(e+n)/2,r,e,i,n,i)}function $F(){return ctt(utt)}var lve=N(()=>{"use strict";tve();ove();rve();ave();o(ott,"linkSource");o(ltt,"linkTarget");o(ctt,"link");o(utt,"curveHorizontal");o($F,"linkHorizontal")});var cve=N(()=>{"use strict";lve()});function htt(t){return[t.source.x1,t.y0]}function ftt(t){return[t.target.x0,t.y1]}function EC(){return $F().source(htt).target(ftt)}var uve=N(()=>{"use strict";cve();o(htt,"horizontalSource");o(ftt,"horizontalTarget");o(EC,"default")});var hve=N(()=>{"use strict";Zye();MF();uve()});var L4,fve=N(()=>{"use strict";L4=class t{static{o(this,"Uid")}static{this.count=0}static next(e){return new t(e+ ++t.count)}constructor(e){this.id=e,this.href=`#${e}`}toString(){return"url("+this.href+")"}}});var dtt,ptt,dve,pve=N(()=>{"use strict";Xt();pr();hve();Ci();fve();dtt={left:LF,right:RF,center:NF,justify:D4},ptt=o(function(t,e,r,n){let{securityLevel:i,sankey:a}=ge(),s=G3.sankey,l;i==="sandbox"&&(l=ze("#i"+e));let u=i==="sandbox"?ze(l.nodes()[0].contentDocument.body):ze("body"),h=i==="sandbox"?u.select(`[id="${e}"]`):ze(`[id="${e}"]`),f=a?.width??s.width,d=a?.height??s.width,p=a?.useMaxWidth??s.useMaxWidth,m=a?.nodeAlignment??s.nodeAlignment,g=a?.prefix??s.prefix,y=a?.suffix??s.suffix,x=a?.showValues??s.showValues,v=n.db.getGraph(),b=dtt[m];wC().nodeId(O=>O.id).nodeWidth(10).nodePadding(10+(x?15:0)).nodeAlign(b).extent([[0,0],[f,d]])(v);let w=eo(zD);h.append("g").attr("class","nodes").selectAll(".node").data(v.nodes).join("g").attr("class","node").attr("id",O=>(O.uid=L4.next("node-")).id).attr("transform",function(O){return"translate("+O.x0+","+O.y0+")"}).attr("x",O=>O.x0).attr("y",O=>O.y0).append("rect").attr("height",O=>O.y1-O.y0).attr("width",O=>O.x1-O.x0).attr("fill",O=>w(O.id));let E=o(({id:O,value:R})=>x?`${O} +${g}${Math.round(R*100)/100}${y}`:O,"getText");h.append("g").attr("class","node-labels").attr("font-size",14).selectAll("text").data(v.nodes).join("text").attr("x",O=>O.x0(O.y1+O.y0)/2).attr("dy",`${x?"0":"0.35"}em`).attr("text-anchor",O=>O.x0(R.uid=L4.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",R=>R.source.x1).attr("x2",R=>R.target.x0);O.append("stop").attr("offset","0%").attr("stop-color",R=>w(R.source.id)),O.append("stop").attr("offset","100%").attr("stop-color",R=>w(R.target.id))}let D;switch(A){case"gradient":D=o(O=>O.uid,"coloring");break;case"source":D=o(O=>w(O.source.id),"coloring");break;case"target":D=o(O=>w(O.target.id),"coloring");break;default:D=A}_.append("path").attr("d",EC()).attr("stroke",D).attr("stroke-width",O=>Math.max(1,O.width)),nc(void 0,h,0,p)},"draw"),dve={draw:ptt}});var mve,gve=N(()=>{"use strict";mve=o(t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,` +`).trim(),"prepareTextForParsing")});var mtt,yve,vve=N(()=>{"use strict";mtt=o(t=>`.label { font-family: ${t.fontFamily}; - }`,"getStyles"),eve=ftt});var rve={};hr(rve,{diagram:()=>ptt});var dtt,ptt,nve=N(()=>{"use strict";Eye();Cye();Qye();Jye();tve();dtt=k4.parse.bind(k4);k4.parse=t=>dtt(Zye(t));ptt={styles:eve,parser:k4,db:Sye,renderer:Kye}});var vtt,dy,DF=N(()=>{"use strict";Jn();Ca();nr();ci();vtt=lr.packet,dy=class{constructor(){this.packet=[];this.setAccTitle=Cr;this.getAccTitle=_r;this.setDiagramTitle=Ir;this.getDiagramTitle=Rr;this.getAccDescription=Lr;this.setAccDescription=Dr}static{o(this,"PacketDB")}getConfig(){let e=Fn({...vtt,...Qt().packet});return e.showBits&&(e.paddingY+=10),e}getPacket(){return this.packet}pushWord(e){e.length>0&&this.packet.push(e)}clear(){wr(),this.packet=[]}}});var xtt,btt,Ttt,LF,sve=N(()=>{"use strict";gf();yt();Dp();DF();xtt=1e4,btt=o((t,e)=>{Qo(t,e);let r=-1,n=[],i=1,{bitsPerRow:a}=e.getConfig();for(let{start:s,end:l,bits:u,label:h}of t.blocks){if(s!==void 0&&l!==void 0&&l{if(t.start===void 0)throw new Error("start should have been set during first phase");if(t.end===void 0)throw new Error("end should have been set during first phase");if(t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);if(t.end+1<=e*r)return[t,void 0];let n=e*r-1,i=e*r;return[{start:t.start,end:n,label:t.label,bits:n-t.start},{start:i,end:t.end,label:t.label,bits:t.end-i}]},"getNextFittingBlock"),LF={parser:{yy:void 0},parse:o(async t=>{let e=await ps("packet",t),r=LF.parser?.yy;if(!(r instanceof dy))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");X.debug(e),btt(e,r)},"parse")}});var wtt,ktt,ove,lve=N(()=>{"use strict";zl();yi();wtt=o((t,e,r,n)=>{let i=n.db,a=i.getConfig(),{rowHeight:s,paddingY:l,bitWidth:u,bitsPerRow:h}=a,f=i.getPacket(),d=i.getDiagramTitle(),p=s+l,m=p*(f.length+1)-(d?0:s),g=u*h+2,y=Di(e);y.attr("viewbox",`0 0 ${g} ${m}`),hn(y,m,g,a.useMaxWidth);for(let[v,x]of f.entries())ktt(y,x,v,a);y.append("text").text(d).attr("x",g/2).attr("y",m-p/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),ktt=o((t,e,r,{rowHeight:n,paddingX:i,paddingY:a,bitWidth:s,bitsPerRow:l,showBits:u})=>{let h=t.append("g"),f=r*(n+a)+a;for(let d of e){let p=d.start%l*s+1,m=(d.end-d.start+1)*s-i;if(h.append("rect").attr("x",p).attr("y",f).attr("width",m).attr("height",n).attr("class","packetBlock"),h.append("text").attr("x",p+m/2).attr("y",f+n/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(d.label),!u)continue;let g=d.end===d.start,y=f-2;h.append("text").attr("x",p+(g?m/2:0)).attr("y",y).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",g?"middle":"start").text(d.start),g||h.append("text").attr("x",p+m).attr("y",y).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(d.end)}},"drawWord"),ove={draw:wtt}});var Ett,cve,uve=N(()=>{"use strict";nr();Ett={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},cve=o(({packet:t}={})=>{let e=Fn(Ett,t);return` + }`,"getStyles"),yve=mtt});var xve={};ur(xve,{diagram:()=>ytt});var gtt,ytt,bve=N(()=>{"use strict";zye();Uye();pve();gve();vve();gtt=A4.parse.bind(A4);A4.parse=t=>gtt(mve(t));ytt={styles:yve,parser:A4,db:Vye,renderer:dve}});var Ttt,py,GF=N(()=>{"use strict";Wn();_a();tr();ui();Ttt=lr.packet,py=class{constructor(){this.packet=[];this.setAccTitle=Cr;this.getAccTitle=_r;this.setDiagramTitle=Or;this.getDiagramTitle=Rr;this.getAccDescription=Lr;this.setAccDescription=Dr}static{o(this,"PacketDB")}getConfig(){let e=Vn({...Ttt,...Qt().packet});return e.showBits&&(e.paddingY+=10),e}getPacket(){return this.packet}pushWord(e){e.length>0&&this.packet.push(e)}clear(){wr(),this.packet=[]}}});var wtt,ktt,Ett,zF,kve=N(()=>{"use strict";Ff();pt();Zp();GF();wtt=1e4,ktt=o((t,e)=>{nl(t,e);let r=-1,n=[],i=1,{bitsPerRow:a}=e.getConfig();for(let{start:s,end:l,bits:u,label:h}of t.blocks){if(s!==void 0&&l!==void 0&&l{if(t.start===void 0)throw new Error("start should have been set during first phase");if(t.end===void 0)throw new Error("end should have been set during first phase");if(t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);if(t.end+1<=e*r)return[t,void 0];let n=e*r-1,i=e*r;return[{start:t.start,end:n,label:t.label,bits:n-t.start},{start:i,end:t.end,label:t.label,bits:t.end-i}]},"getNextFittingBlock"),zF={parser:{yy:void 0},parse:o(async t=>{let e=await xs("packet",t),r=zF.parser?.yy;if(!(r instanceof py))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");X.debug(e),ktt(e,r)},"parse")}});var Stt,Ctt,Eve,Sve=N(()=>{"use strict";Jc();Ci();Stt=o((t,e,r,n)=>{let i=n.db,a=i.getConfig(),{rowHeight:s,paddingY:l,bitWidth:u,bitsPerRow:h}=a,f=i.getPacket(),d=i.getDiagramTitle(),p=s+l,m=p*(f.length+1)-(d?0:s),g=u*h+2,y=aa(e);y.attr("viewbox",`0 0 ${g} ${m}`),fn(y,m,g,a.useMaxWidth);for(let[x,v]of f.entries())Ctt(y,v,x,a);y.append("text").text(d).attr("x",g/2).attr("y",m-p/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),Ctt=o((t,e,r,{rowHeight:n,paddingX:i,paddingY:a,bitWidth:s,bitsPerRow:l,showBits:u})=>{let h=t.append("g"),f=r*(n+a)+a;for(let d of e){let p=d.start%l*s+1,m=(d.end-d.start+1)*s-i;if(h.append("rect").attr("x",p).attr("y",f).attr("width",m).attr("height",n).attr("class","packetBlock"),h.append("text").attr("x",p+m/2).attr("y",f+n/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(d.label),!u)continue;let g=d.end===d.start,y=f-2;h.append("text").attr("x",p+(g?m/2:0)).attr("y",y).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",g?"middle":"start").text(d.start),g||h.append("text").attr("x",p+m).attr("y",y).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(d.end)}},"drawWord"),Eve={draw:Stt}});var Att,Cve,Ave=N(()=>{"use strict";tr();Att={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},Cve=o(({packet:t}={})=>{let e=Vn(Att,t);return` .packetByte { font-size: ${e.byteFontSize}; } @@ -2386,7 +2421,7 @@ ${g}${Math.round(R*100)/100}${y}`:O,"getText");h.append("g").attr("class","node- stroke-width: ${e.blockStrokeWidth}; fill: ${e.blockFillColor}; } - `},"styles")});var hve={};hr(hve,{diagram:()=>Stt});var Stt,fve=N(()=>{"use strict";DF();sve();lve();uve();Stt={parser:LF,get db(){return new dy},renderer:ove,styles:cve}});var py,mve,t0,_tt,Dtt,gve,Ltt,Rtt,Ntt,Mtt,Itt,Ott,Ptt,r0,RF=N(()=>{"use strict";Jn();Ca();nr();ci();py={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},mve={axes:[],curves:[],options:py},t0=structuredClone(mve),_tt=lr.radar,Dtt=o(()=>Fn({..._tt,...Qt().radar}),"getConfig"),gve=o(()=>t0.axes,"getAxes"),Ltt=o(()=>t0.curves,"getCurves"),Rtt=o(()=>t0.options,"getOptions"),Ntt=o(t=>{t0.axes=t.map(e=>({name:e.name,label:e.label??e.name}))},"setAxes"),Mtt=o(t=>{t0.curves=t.map(e=>({name:e.name,label:e.label??e.name,entries:Itt(e.entries)}))},"setCurves"),Itt=o(t=>{if(t[0].axis==null)return t.map(r=>r.value);let e=gve();if(e.length===0)throw new Error("Axes must be populated before curves for reference entries");return e.map(r=>{let n=t.find(i=>i.axis?.$refText===r.name);if(n===void 0)throw new Error("Missing entry for axis "+r.label);return n.value})},"computeCurveEntries"),Ott=o(t=>{let e=t.reduce((r,n)=>(r[n.name]=n,r),{});t0.options={showLegend:e.showLegend?.value??py.showLegend,ticks:e.ticks?.value??py.ticks,max:e.max?.value??py.max,min:e.min?.value??py.min,graticule:e.graticule?.value??py.graticule}},"setOptions"),Ptt=o(()=>{wr(),t0=structuredClone(mve)},"clear"),r0={getAxes:gve,getCurves:Ltt,getOptions:Rtt,setAxes:Ntt,setCurves:Mtt,setOptions:Ott,getConfig:Dtt,clear:Ptt,setAccTitle:Cr,getAccTitle:_r,setDiagramTitle:Ir,getDiagramTitle:Rr,getAccDescription:Lr,setAccDescription:Dr}});var Btt,yve,vve=N(()=>{"use strict";gf();yt();Dp();RF();Btt=o(t=>{Qo(t,r0);let{axes:e,curves:r,options:n}=t;r0.setAxes(e),r0.setCurves(r),r0.setOptions(n)},"populate"),yve={parse:o(async t=>{let e=await ps("radar",t);X.debug(e),Btt(e)},"parse")}});function Vtt(t,e,r,n,i,a,s){let l=e.length,u=Math.min(s.width,s.height)/2;r.forEach((h,f)=>{if(h.entries.length!==l)return;let d=h.entries.map((p,m)=>{let g=2*Math.PI*m/l-Math.PI/2,y=Utt(p,n,i,u),v=y*Math.cos(g),x=y*Math.sin(g);return{x:v,y:x}});a==="circle"?t.append("path").attr("d",Htt(d,s.curveTension)).attr("class",`radarCurve-${f}`):a==="polygon"&&t.append("polygon").attr("points",d.map(p=>`${p.x},${p.y}`).join(" ")).attr("class",`radarCurve-${f}`)})}function Utt(t,e,r,n){let i=Math.min(Math.max(t,e),r);return n*(i-e)/(r-e)}function Htt(t,e){let r=t.length,n=`M${t[0].x},${t[0].y}`;for(let i=0;i{let h=t.append("g").attr("transform",`translate(${i}, ${a+u*s})`);h.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${u}`),h.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(l.label)})}var Ftt,$tt,ztt,Gtt,xve,bve=N(()=>{"use strict";zl();Ftt=o((t,e,r,n)=>{let i=n.db,a=i.getAxes(),s=i.getCurves(),l=i.getOptions(),u=i.getConfig(),h=i.getDiagramTitle(),f=Di(e),d=$tt(f,u),p=l.max??Math.max(...s.map(y=>Math.max(...y.entries))),m=l.min,g=Math.min(u.width,u.height)/2;ztt(d,a,g,l.ticks,l.graticule),Gtt(d,a,g,u),Vtt(d,a,s,m,p,l.graticule,u),Wtt(d,s,l.showLegend,u),d.append("text").attr("class","radarTitle").text(h).attr("x",0).attr("y",-u.height/2-u.marginTop)},"draw"),$tt=o((t,e)=>{let r=e.width+e.marginLeft+e.marginRight,n=e.height+e.marginTop+e.marginBottom,i={x:e.marginLeft+e.width/2,y:e.marginTop+e.height/2};return t.attr("viewbox",`0 0 ${r} ${n}`).attr("width",r).attr("height",n),t.append("g").attr("transform",`translate(${i.x}, ${i.y})`)},"drawFrame"),ztt=o((t,e,r,n,i)=>{if(i==="circle")for(let a=0;a{let d=2*f*Math.PI/a-Math.PI/2,p=l*Math.cos(d),m=l*Math.sin(d);return`${p},${m}`}).join(" ");t.append("polygon").attr("points",u).attr("class","radarGraticule")}}},"drawGraticule"),Gtt=o((t,e,r,n)=>{let i=e.length;for(let a=0;a{"use strict";nr();Ny();Jn();qtt=o((t,e)=>{let r="";for(let n=0;n_tt});var _tt,Dve=N(()=>{"use strict";GF();kve();Sve();Ave();_tt={parser:zF,get db(){return new py},renderer:Eve,styles:Cve}});var my,Nve,c0,Rtt,Ntt,Mve,Mtt,Itt,Ott,Ptt,Btt,Ftt,$tt,u0,VF=N(()=>{"use strict";Wn();_a();tr();ui();my={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},Nve={axes:[],curves:[],options:my},c0=structuredClone(Nve),Rtt=lr.radar,Ntt=o(()=>Vn({...Rtt,...Qt().radar}),"getConfig"),Mve=o(()=>c0.axes,"getAxes"),Mtt=o(()=>c0.curves,"getCurves"),Itt=o(()=>c0.options,"getOptions"),Ott=o(t=>{c0.axes=t.map(e=>({name:e.name,label:e.label??e.name}))},"setAxes"),Ptt=o(t=>{c0.curves=t.map(e=>({name:e.name,label:e.label??e.name,entries:Btt(e.entries)}))},"setCurves"),Btt=o(t=>{if(t[0].axis==null)return t.map(r=>r.value);let e=Mve();if(e.length===0)throw new Error("Axes must be populated before curves for reference entries");return e.map(r=>{let n=t.find(i=>i.axis?.$refText===r.name);if(n===void 0)throw new Error("Missing entry for axis "+r.label);return n.value})},"computeCurveEntries"),Ftt=o(t=>{let e=t.reduce((r,n)=>(r[n.name]=n,r),{});c0.options={showLegend:e.showLegend?.value??my.showLegend,ticks:e.ticks?.value??my.ticks,max:e.max?.value??my.max,min:e.min?.value??my.min,graticule:e.graticule?.value??my.graticule}},"setOptions"),$tt=o(()=>{wr(),c0=structuredClone(Nve)},"clear"),u0={getAxes:Mve,getCurves:Mtt,getOptions:Itt,setAxes:Ott,setCurves:Ptt,setOptions:Ftt,getConfig:Ntt,clear:$tt,setAccTitle:Cr,getAccTitle:_r,setDiagramTitle:Or,getDiagramTitle:Rr,getAccDescription:Lr,setAccDescription:Dr}});var Gtt,Ive,Ove=N(()=>{"use strict";Ff();pt();Zp();VF();Gtt=o(t=>{nl(t,u0);let{axes:e,curves:r,options:n}=t;u0.setAxes(e),u0.setCurves(r),u0.setOptions(n)},"populate"),Ive={parse:o(async t=>{let e=await xs("radar",t);X.debug(e),Gtt(e)},"parse")}});function Wtt(t,e,r,n,i,a,s){let l=e.length,u=Math.min(s.width,s.height)/2;r.forEach((h,f)=>{if(h.entries.length!==l)return;let d=h.entries.map((p,m)=>{let g=2*Math.PI*m/l-Math.PI/2,y=qtt(p,n,i,u),x=y*Math.cos(g),v=y*Math.sin(g);return{x,y:v}});a==="circle"?t.append("path").attr("d",Ytt(d,s.curveTension)).attr("class",`radarCurve-${f}`):a==="polygon"&&t.append("polygon").attr("points",d.map(p=>`${p.x},${p.y}`).join(" ")).attr("class",`radarCurve-${f}`)})}function qtt(t,e,r,n){let i=Math.min(Math.max(t,e),r);return n*(i-e)/(r-e)}function Ytt(t,e){let r=t.length,n=`M${t[0].x},${t[0].y}`;for(let i=0;i{let h=t.append("g").attr("transform",`translate(${i}, ${a+u*s})`);h.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${u}`),h.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(l.label)})}var ztt,Vtt,Utt,Htt,Pve,Bve=N(()=>{"use strict";Jc();ztt=o((t,e,r,n)=>{let i=n.db,a=i.getAxes(),s=i.getCurves(),l=i.getOptions(),u=i.getConfig(),h=i.getDiagramTitle(),f=aa(e),d=Vtt(f,u),p=l.max??Math.max(...s.map(y=>Math.max(...y.entries))),m=l.min,g=Math.min(u.width,u.height)/2;Utt(d,a,g,l.ticks,l.graticule),Htt(d,a,g,u),Wtt(d,a,s,m,p,l.graticule,u),Xtt(d,s,l.showLegend,u),d.append("text").attr("class","radarTitle").text(h).attr("x",0).attr("y",-u.height/2-u.marginTop)},"draw"),Vtt=o((t,e)=>{let r=e.width+e.marginLeft+e.marginRight,n=e.height+e.marginTop+e.marginBottom,i={x:e.marginLeft+e.width/2,y:e.marginTop+e.height/2};return t.attr("viewbox",`0 0 ${r} ${n}`).attr("width",r).attr("height",n),t.append("g").attr("transform",`translate(${i.x}, ${i.y})`)},"drawFrame"),Utt=o((t,e,r,n,i)=>{if(i==="circle")for(let a=0;a{let d=2*f*Math.PI/a-Math.PI/2,p=l*Math.cos(d),m=l*Math.sin(d);return`${p},${m}`}).join(" ");t.append("polygon").attr("points",u).attr("class","radarGraticule")}}},"drawGraticule"),Htt=o((t,e,r,n)=>{let i=e.length;for(let a=0;a{"use strict";tr();My();Wn();jtt=o((t,e)=>{let r="";for(let n=0;n{let e=ch(),r=Qt(),n=Fn(e,r.themeVariables),i=Fn(n.radar,t);return{themeVariables:n,radarOptions:i}},"buildRadarStyleOptions"),Tve=o(({radar:t}={})=>{let{themeVariables:e,radarOptions:r}=Ytt(t);return` + `}return r},"genIndexStyles"),Ktt=o(t=>{let e=fh(),r=Qt(),n=Vn(e,r.themeVariables),i=Vn(n.radar,t);return{themeVariables:n,radarOptions:i}},"buildRadarStyleOptions"),Fve=o(({radar:t}={})=>{let{themeVariables:e,radarOptions:r}=Ktt(t);return` .radarTitle { font-size: ${e.fontSize}; color: ${e.titleColor}; @@ -2427,13 +2462,13 @@ ${g}${Math.round(R*100)/100}${y}`:O,"getText");h.append("g").attr("class","node- font-size: ${r.legendFontSize}px; dominant-baseline: hanging; } - ${qtt(e,r)} - `},"styles")});var kve={};hr(kve,{diagram:()=>Xtt});var Xtt,Eve=N(()=>{"use strict";RF();vve();bve();wve();Xtt={parser:yve,db:r0,renderer:xve,styles:Tve}});var NF,Ave,_ve=N(()=>{"use strict";NF=function(){var t=o(function(T,C,w,E){for(w=w||{},E=T.length;E--;w[T[E]]=C);return w},"o"),e=[1,15],r=[1,7],n=[1,13],i=[1,14],a=[1,19],s=[1,16],l=[1,17],u=[1,18],h=[8,30],f=[8,10,21,28,29,30,31,39,43,46],d=[1,23],p=[1,24],m=[8,10,15,16,21,28,29,30,31,39,43,46],g=[8,10,15,16,21,27,28,29,30,31,39,43,46],y=[1,49],v={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:o(function(C,w,E,_,A,D,O){var R=D.length-1;switch(A){case 4:_.getLogger().debug("Rule: separator (NL) ");break;case 5:_.getLogger().debug("Rule: separator (Space) ");break;case 6:_.getLogger().debug("Rule: separator (EOF) ");break;case 7:_.getLogger().debug("Rule: hierarchy: ",D[R-1]),_.setHierarchy(D[R-1]);break;case 8:_.getLogger().debug("Stop NL ");break;case 9:_.getLogger().debug("Stop EOF ");break;case 10:_.getLogger().debug("Stop NL2 ");break;case 11:_.getLogger().debug("Stop EOF2 ");break;case 12:_.getLogger().debug("Rule: statement: ",D[R]),typeof D[R].length=="number"?this.$=D[R]:this.$=[D[R]];break;case 13:_.getLogger().debug("Rule: statement #2: ",D[R-1]),this.$=[D[R-1]].concat(D[R]);break;case 14:_.getLogger().debug("Rule: link: ",D[R],C),this.$={edgeTypeStr:D[R],label:""};break;case 15:_.getLogger().debug("Rule: LABEL link: ",D[R-3],D[R-1],D[R]),this.$={edgeTypeStr:D[R],label:D[R-1]};break;case 18:let k=parseInt(D[R]),L=_.generateId();this.$={id:L,type:"space",label:"",width:k,children:[]};break;case 23:_.getLogger().debug("Rule: (nodeStatement link node) ",D[R-2],D[R-1],D[R]," typestr: ",D[R-1].edgeTypeStr);let S=_.edgeStrToEdgeData(D[R-1].edgeTypeStr);this.$=[{id:D[R-2].id,label:D[R-2].label,type:D[R-2].type,directions:D[R-2].directions},{id:D[R-2].id+"-"+D[R].id,start:D[R-2].id,end:D[R].id,label:D[R-1].label,type:"edge",directions:D[R].directions,arrowTypeEnd:S,arrowTypeStart:"arrow_open"},{id:D[R].id,label:D[R].label,type:_.typeStr2Type(D[R].typeStr),directions:D[R].directions}];break;case 24:_.getLogger().debug("Rule: nodeStatement (abc88 node size) ",D[R-1],D[R]),this.$={id:D[R-1].id,label:D[R-1].label,type:_.typeStr2Type(D[R-1].typeStr),directions:D[R-1].directions,widthInColumns:parseInt(D[R],10)};break;case 25:_.getLogger().debug("Rule: nodeStatement (node) ",D[R]),this.$={id:D[R].id,label:D[R].label,type:_.typeStr2Type(D[R].typeStr),directions:D[R].directions,widthInColumns:1};break;case 26:_.getLogger().debug("APA123",this?this:"na"),_.getLogger().debug("COLUMNS: ",D[R]),this.$={type:"column-setting",columns:D[R]==="auto"?-1:parseInt(D[R])};break;case 27:_.getLogger().debug("Rule: id-block statement : ",D[R-2],D[R-1]);let I=_.generateId();this.$={...D[R-2],type:"composite",children:D[R-1]};break;case 28:_.getLogger().debug("Rule: blockStatement : ",D[R-2],D[R-1],D[R]);let M=_.generateId();this.$={id:M,type:"composite",label:"",children:D[R-1]};break;case 29:_.getLogger().debug("Rule: node (NODE_ID separator): ",D[R]),this.$={id:D[R]};break;case 30:_.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",D[R-1],D[R]),this.$={id:D[R-1],label:D[R].label,typeStr:D[R].typeStr,directions:D[R].directions};break;case 31:_.getLogger().debug("Rule: dirList: ",D[R]),this.$=[D[R]];break;case 32:_.getLogger().debug("Rule: dirList: ",D[R-1],D[R]),this.$=[D[R-1]].concat(D[R]);break;case 33:_.getLogger().debug("Rule: nodeShapeNLabel: ",D[R-2],D[R-1],D[R]),this.$={typeStr:D[R-2]+D[R],label:D[R-1]};break;case 34:_.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",D[R-3],D[R-2]," #3:",D[R-1],D[R]),this.$={typeStr:D[R-3]+D[R],label:D[R-2],directions:D[R-1]};break;case 35:case 36:this.$={type:"classDef",id:D[R-1].trim(),css:D[R].trim()};break;case 37:this.$={type:"applyClass",id:D[R-1].trim(),styleClass:D[R].trim()};break;case 38:this.$={type:"applyStyles",id:D[R-1].trim(),stylesStr:D[R].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:e,11:3,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:n,29:i,31:a,39:s,43:l,46:u},{8:[1,20]},t(h,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:e,21:r,28:n,29:i,31:a,39:s,43:l,46:u}),t(f,[2,16],{14:22,15:d,16:p}),t(f,[2,17]),t(f,[2,18]),t(f,[2,19]),t(f,[2,20]),t(f,[2,21]),t(f,[2,22]),t(m,[2,25],{27:[1,25]}),t(f,[2,26]),{19:26,26:12,31:a},{10:e,11:27,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:n,29:i,31:a,39:s,43:l,46:u},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},t(g,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},t(h,[2,13]),{26:35,31:a},{31:[2,14]},{17:[1,36]},t(m,[2,24]),{10:e,11:37,13:4,14:22,15:d,16:p,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:n,29:i,31:a,39:s,43:l,46:u},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},t(g,[2,30]),{18:[1,43]},{18:[1,44]},t(m,[2,23]),{18:[1,45]},{30:[1,46]},t(f,[2,28]),t(f,[2,35]),t(f,[2,36]),t(f,[2,37]),t(f,[2,38]),{36:[1,47]},{33:48,34:y},{15:[1,50]},t(f,[2,27]),t(g,[2,33]),{38:[1,51]},{33:52,34:y,38:[2,31]},{31:[2,15]},t(g,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:o(function(C,w){if(w.recoverable)this.trace(C);else{var E=new Error(C);throw E.hash=w,E}},"parseError"),parse:o(function(C){var w=this,E=[0],_=[],A=[null],D=[],O=this.table,R="",k=0,L=0,S=0,I=2,M=1,P=D.slice.call(arguments,1),B=Object.create(this.lexer),F={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(F.yy[z]=this.yy[z]);B.setInput(C,F.yy),F.yy.lexer=B,F.yy.parser=this,typeof B.yylloc>"u"&&(B.yylloc={});var $=B.yylloc;D.push($);var U=B.options&&B.options.ranges;typeof F.yy.parseError=="function"?this.parseError=F.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function K(se){E.length=E.length-2*se,A.length=A.length-se,D.length=D.length-se}o(K,"popStack");function ee(){var se;return se=_.pop()||B.lex()||M,typeof se!="number"&&(se instanceof Array&&(_=se,se=_.pop()),se=w.symbols_[se]||se),se}o(ee,"lex");for(var Y,ce,Z,ue,Q,j,ne={},te,he,le,J;;){if(Z=E[E.length-1],this.defaultActions[Z]?ue=this.defaultActions[Z]:((Y===null||typeof Y>"u")&&(Y=ee()),ue=O[Z]&&O[Z][Y]),typeof ue>"u"||!ue.length||!ue[0]){var Se="";J=[];for(te in O[Z])this.terminals_[te]&&te>I&&J.push("'"+this.terminals_[te]+"'");B.showPosition?Se="Parse error on line "+(k+1)+`: + ${jtt(e,r)} + `},"styles")});var Gve={};ur(Gve,{diagram:()=>Qtt});var Qtt,zve=N(()=>{"use strict";VF();Ove();Bve();$ve();Qtt={parser:Ive,db:u0,renderer:Pve,styles:Fve}});var UF,Hve,Wve=N(()=>{"use strict";UF=function(){var t=o(function(T,S,w,E){for(w=w||{},E=T.length;E--;w[T[E]]=S);return w},"o"),e=[1,15],r=[1,7],n=[1,13],i=[1,14],a=[1,19],s=[1,16],l=[1,17],u=[1,18],h=[8,30],f=[8,10,21,28,29,30,31,39,43,46],d=[1,23],p=[1,24],m=[8,10,15,16,21,28,29,30,31,39,43,46],g=[8,10,15,16,21,27,28,29,30,31,39,43,46],y=[1,49],x={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:o(function(S,w,E,_,A,D,O){var R=D.length-1;switch(A){case 4:_.getLogger().debug("Rule: separator (NL) ");break;case 5:_.getLogger().debug("Rule: separator (Space) ");break;case 6:_.getLogger().debug("Rule: separator (EOF) ");break;case 7:_.getLogger().debug("Rule: hierarchy: ",D[R-1]),_.setHierarchy(D[R-1]);break;case 8:_.getLogger().debug("Stop NL ");break;case 9:_.getLogger().debug("Stop EOF ");break;case 10:_.getLogger().debug("Stop NL2 ");break;case 11:_.getLogger().debug("Stop EOF2 ");break;case 12:_.getLogger().debug("Rule: statement: ",D[R]),typeof D[R].length=="number"?this.$=D[R]:this.$=[D[R]];break;case 13:_.getLogger().debug("Rule: statement #2: ",D[R-1]),this.$=[D[R-1]].concat(D[R]);break;case 14:_.getLogger().debug("Rule: link: ",D[R],S),this.$={edgeTypeStr:D[R],label:""};break;case 15:_.getLogger().debug("Rule: LABEL link: ",D[R-3],D[R-1],D[R]),this.$={edgeTypeStr:D[R],label:D[R-1]};break;case 18:let k=parseInt(D[R]),L=_.generateId();this.$={id:L,type:"space",label:"",width:k,children:[]};break;case 23:_.getLogger().debug("Rule: (nodeStatement link node) ",D[R-2],D[R-1],D[R]," typestr: ",D[R-1].edgeTypeStr);let C=_.edgeStrToEdgeData(D[R-1].edgeTypeStr);this.$=[{id:D[R-2].id,label:D[R-2].label,type:D[R-2].type,directions:D[R-2].directions},{id:D[R-2].id+"-"+D[R].id,start:D[R-2].id,end:D[R].id,label:D[R-1].label,type:"edge",directions:D[R].directions,arrowTypeEnd:C,arrowTypeStart:"arrow_open"},{id:D[R].id,label:D[R].label,type:_.typeStr2Type(D[R].typeStr),directions:D[R].directions}];break;case 24:_.getLogger().debug("Rule: nodeStatement (abc88 node size) ",D[R-1],D[R]),this.$={id:D[R-1].id,label:D[R-1].label,type:_.typeStr2Type(D[R-1].typeStr),directions:D[R-1].directions,widthInColumns:parseInt(D[R],10)};break;case 25:_.getLogger().debug("Rule: nodeStatement (node) ",D[R]),this.$={id:D[R].id,label:D[R].label,type:_.typeStr2Type(D[R].typeStr),directions:D[R].directions,widthInColumns:1};break;case 26:_.getLogger().debug("APA123",this?this:"na"),_.getLogger().debug("COLUMNS: ",D[R]),this.$={type:"column-setting",columns:D[R]==="auto"?-1:parseInt(D[R])};break;case 27:_.getLogger().debug("Rule: id-block statement : ",D[R-2],D[R-1]);let I=_.generateId();this.$={...D[R-2],type:"composite",children:D[R-1]};break;case 28:_.getLogger().debug("Rule: blockStatement : ",D[R-2],D[R-1],D[R]);let M=_.generateId();this.$={id:M,type:"composite",label:"",children:D[R-1]};break;case 29:_.getLogger().debug("Rule: node (NODE_ID separator): ",D[R]),this.$={id:D[R]};break;case 30:_.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",D[R-1],D[R]),this.$={id:D[R-1],label:D[R].label,typeStr:D[R].typeStr,directions:D[R].directions};break;case 31:_.getLogger().debug("Rule: dirList: ",D[R]),this.$=[D[R]];break;case 32:_.getLogger().debug("Rule: dirList: ",D[R-1],D[R]),this.$=[D[R-1]].concat(D[R]);break;case 33:_.getLogger().debug("Rule: nodeShapeNLabel: ",D[R-2],D[R-1],D[R]),this.$={typeStr:D[R-2]+D[R],label:D[R-1]};break;case 34:_.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",D[R-3],D[R-2]," #3:",D[R-1],D[R]),this.$={typeStr:D[R-3]+D[R],label:D[R-2],directions:D[R-1]};break;case 35:case 36:this.$={type:"classDef",id:D[R-1].trim(),css:D[R].trim()};break;case 37:this.$={type:"applyClass",id:D[R-1].trim(),styleClass:D[R].trim()};break;case 38:this.$={type:"applyStyles",id:D[R-1].trim(),stylesStr:D[R].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:e,11:3,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:n,29:i,31:a,39:s,43:l,46:u},{8:[1,20]},t(h,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:e,21:r,28:n,29:i,31:a,39:s,43:l,46:u}),t(f,[2,16],{14:22,15:d,16:p}),t(f,[2,17]),t(f,[2,18]),t(f,[2,19]),t(f,[2,20]),t(f,[2,21]),t(f,[2,22]),t(m,[2,25],{27:[1,25]}),t(f,[2,26]),{19:26,26:12,31:a},{10:e,11:27,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:n,29:i,31:a,39:s,43:l,46:u},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},t(g,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},t(h,[2,13]),{26:35,31:a},{31:[2,14]},{17:[1,36]},t(m,[2,24]),{10:e,11:37,13:4,14:22,15:d,16:p,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:n,29:i,31:a,39:s,43:l,46:u},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},t(g,[2,30]),{18:[1,43]},{18:[1,44]},t(m,[2,23]),{18:[1,45]},{30:[1,46]},t(f,[2,28]),t(f,[2,35]),t(f,[2,36]),t(f,[2,37]),t(f,[2,38]),{36:[1,47]},{33:48,34:y},{15:[1,50]},t(f,[2,27]),t(g,[2,33]),{38:[1,51]},{33:52,34:y,38:[2,31]},{31:[2,15]},t(g,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:o(function(S,w){if(w.recoverable)this.trace(S);else{var E=new Error(S);throw E.hash=w,E}},"parseError"),parse:o(function(S){var w=this,E=[0],_=[],A=[null],D=[],O=this.table,R="",k=0,L=0,C=0,I=2,M=1,P=D.slice.call(arguments,1),B=Object.create(this.lexer),F={yy:{}};for(var G in this.yy)Object.prototype.hasOwnProperty.call(this.yy,G)&&(F.yy[G]=this.yy[G]);B.setInput(S,F.yy),F.yy.lexer=B,F.yy.parser=this,typeof B.yylloc>"u"&&(B.yylloc={});var $=B.yylloc;D.push($);var U=B.options&&B.options.ranges;typeof F.yy.parseError=="function"?this.parseError=F.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function K(Se){E.length=E.length-2*Se,A.length=A.length-Se,D.length=D.length-Se}o(K,"popStack");function ne(){var Se;return Se=_.pop()||B.lex()||M,typeof Se!="number"&&(Se instanceof Array&&(_=Se,Se=_.pop()),Se=w.symbols_[Se]||Se),Se}o(ne,"lex");for(var j,le,Z,ce,Q,ee,te={},re,he,J,ye;;){if(Z=E[E.length-1],this.defaultActions[Z]?ce=this.defaultActions[Z]:((j===null||typeof j>"u")&&(j=ne()),ce=O[Z]&&O[Z][j]),typeof ce>"u"||!ce.length||!ce[0]){var se="";ye=[];for(re in O[Z])this.terminals_[re]&&re>I&&ye.push("'"+this.terminals_[re]+"'");B.showPosition?se="Parse error on line "+(k+1)+`: `+B.showPosition()+` -Expecting `+J.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":Se="Parse error on line "+(k+1)+": Unexpected "+(Y==M?"end of input":"'"+(this.terminals_[Y]||Y)+"'"),this.parseError(Se,{text:B.match,token:this.terminals_[Y]||Y,line:B.yylineno,loc:$,expected:J})}if(ue[0]instanceof Array&&ue.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Z+", token: "+Y);switch(ue[0]){case 1:E.push(Y),A.push(B.yytext),D.push(B.yylloc),E.push(ue[1]),Y=null,ce?(Y=ce,ce=null):(L=B.yyleng,R=B.yytext,k=B.yylineno,$=B.yylloc,S>0&&S--);break;case 2:if(he=this.productions_[ue[1]][1],ne.$=A[A.length-he],ne._$={first_line:D[D.length-(he||1)].first_line,last_line:D[D.length-1].last_line,first_column:D[D.length-(he||1)].first_column,last_column:D[D.length-1].last_column},U&&(ne._$.range=[D[D.length-(he||1)].range[0],D[D.length-1].range[1]]),j=this.performAction.apply(ne,[R,L,k,F.yy,ue[1],A,D].concat(P)),typeof j<"u")return j;he&&(E=E.slice(0,-1*he*2),A=A.slice(0,-1*he),D=D.slice(0,-1*he)),E.push(this.productions_[ue[1]][0]),A.push(ne.$),D.push(ne._$),le=O[E[E.length-2]][E[E.length-1]],E.push(le);break;case 3:return!0}}return!0},"parse")},x=function(){var T={EOF:1,parseError:o(function(w,E){if(this.yy.parser)this.yy.parser.parseError(w,E);else throw new Error(w)},"parseError"),setInput:o(function(C,w){return this.yy=w||this.yy||{},this._input=C,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var C=this._input[0];this.yytext+=C,this.yyleng++,this.offset++,this.match+=C,this.matched+=C;var w=C.match(/(?:\r\n?|\n).*/g);return w?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),C},"input"),unput:o(function(C){var w=C.length,E=C.split(/(?:\r\n?|\n)/g);this._input=C+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-w),this.offset-=w;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1&&(this.yylineno-=E.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-w},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-w]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(C){this.unput(this.match.slice(C))},"less"),pastInput:o(function(){var C=this.matched.substr(0,this.matched.length-this.match.length);return(C.length>20?"...":"")+C.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var C=this.match;return C.length<20&&(C+=this._input.substr(0,20-C.length)),(C.substr(0,20)+(C.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var C=this.pastInput(),w=new Array(C.length+1).join("-");return C+this.upcomingInput()+` -`+w+"^"},"showPosition"),test_match:o(function(C,w){var E,_,A;if(this.options.backtrack_lexer&&(A={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(A.yylloc.range=this.yylloc.range.slice(0))),_=C[0].match(/(?:\r\n?|\n).*/g),_&&(this.yylineno+=_.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_?_[_.length-1].length-_[_.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+C[0].length},this.yytext+=C[0],this.match+=C[0],this.matches=C,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(C[0].length),this.matched+=C[0],E=this.performAction.call(this,this.yy,this,w,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),E)return E;if(this._backtrack){for(var D in A)this[D]=A[D];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var C,w,E,_;this._more||(this.yytext="",this.match="");for(var A=this._currentRules(),D=0;Dw[0].length)){if(w=E,_=D,this.options.backtrack_lexer){if(C=this.test_match(E,A[D]),C!==!1)return C;if(this._backtrack){w=!1;continue}else return!1}else if(!this.options.flex)break}return w?(C=this.test_match(w,A[_]),C!==!1?C:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var w=this.next();return w||this.lex()},"lex"),begin:o(function(w){this.conditionStack.push(w)},"begin"),popState:o(function(){var w=this.conditionStack.length-1;return w>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(w){return w=this.conditionStack.length-1-Math.abs(w||0),w>=0?this.conditionStack[w]:"INITIAL"},"topState"),pushState:o(function(w){this.begin(w)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:o(function(w,E,_,A){var D=A;switch(_){case 0:return w.getLogger().debug("Found block-beta"),10;break;case 1:return w.getLogger().debug("Found id-block"),29;break;case 2:return w.getLogger().debug("Found block"),10;break;case 3:w.getLogger().debug(".",E.yytext);break;case 4:w.getLogger().debug("_",E.yytext);break;case 5:return 5;case 6:return E.yytext=-1,28;break;case 7:return E.yytext=E.yytext.replace(/columns\s+/,""),w.getLogger().debug("COLUMNS (LEX)",E.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:w.getLogger().debug("LEX: POPPING STR:",E.yytext),this.popState();break;case 13:return w.getLogger().debug("LEX: STR end:",E.yytext),"STR";break;case 14:return E.yytext=E.yytext.replace(/space\:/,""),w.getLogger().debug("SPACE NUM (LEX)",E.yytext),21;break;case 15:return E.yytext="1",w.getLogger().debug("COLUMNS (LEX)",E.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),w.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),w.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),w.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),w.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),w.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),w.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),w.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),w.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),w.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),w.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),w.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),w.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),w.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),w.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),w.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),w.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),w.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return w.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return w.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return w.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return w.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return w.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return w.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return w.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return w.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return w.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return w.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return w.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return w.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),w.getLogger().debug("LEX ARR START"),37;break;case 74:return w.getLogger().debug("Lex: NODE_ID",E.yytext),31;break;case 75:return w.getLogger().debug("Lex: EOF",E.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:w.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:w.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return w.getLogger().debug("LEX: NODE_DESCR:",E.yytext),"NODE_DESCR";break;case 83:w.getLogger().debug("LEX POPPING"),this.popState();break;case 84:w.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (right): dir:",E.yytext),"DIR";break;case 86:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (left):",E.yytext),"DIR";break;case 87:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (x):",E.yytext),"DIR";break;case 88:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (y):",E.yytext),"DIR";break;case 89:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (up):",E.yytext),"DIR";break;case 90:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (down):",E.yytext),"DIR";break;case 91:return E.yytext="]>",w.getLogger().debug("Lex (ARROW_DIR end):",E.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return w.getLogger().debug("Lex: LINK","#"+E.yytext+"#"),15;break;case 93:return w.getLogger().debug("Lex: LINK",E.yytext),15;break;case 94:return w.getLogger().debug("Lex: LINK",E.yytext),15;break;case 95:return w.getLogger().debug("Lex: LINK",E.yytext),15;break;case 96:return w.getLogger().debug("Lex: START_LINK",E.yytext),this.pushState("LLABEL"),16;break;case 97:return w.getLogger().debug("Lex: START_LINK",E.yytext),this.pushState("LLABEL"),16;break;case 98:return w.getLogger().debug("Lex: START_LINK",E.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return w.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),w.getLogger().debug("Lex: LINK","#"+E.yytext+"#"),15;break;case 102:return this.popState(),w.getLogger().debug("Lex: LINK",E.yytext),15;break;case 103:return this.popState(),w.getLogger().debug("Lex: LINK",E.yytext),15;break;case 104:return w.getLogger().debug("Lex: COLON",E.yytext),E.yytext=E.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return T}();v.lexer=x;function b(){this.yy={}}return o(b,"Parser"),b.prototype=v,v.Parser=b,new b}();NF.parser=NF;Ave=NF});function irt(t){switch(X.debug("typeStr2Type",t),t){case"[]":return"square";case"()":return X.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function art(t){switch(X.debug("typeStr2Type",t),t){case"==":return"thick";default:return"normal"}}function srt(t){switch(t.replace(/^[\s-]+|[\s-]+$/g,"")){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}var Wl,IF,MF,Dve,Lve,Qtt,Nve,Ztt,yC,Jtt,ert,trt,rrt,Mve,OF,A4,nrt,Rve,ort,lrt,crt,urt,hrt,frt,drt,prt,mrt,grt,yrt,Ive,Ove=N(()=>{"use strict";KL();Jn();qt();yt();dr();ci();Wl=new Map,IF=[],MF=new Map,Dve="color",Lve="fill",Qtt="bgFill",Nve=",",Ztt=ge(),yC=new Map,Jtt=o(t=>Ze.sanitizeText(t,Ztt),"sanitizeText"),ert=o(function(t,e=""){let r=yC.get(t);r||(r={id:t,styles:[],textStyles:[]},yC.set(t,r)),e?.split(Nve).forEach(n=>{let i=n.replace(/([^;]*);/,"$1").trim();if(RegExp(Dve).exec(n)){let s=i.replace(Lve,Qtt).replace(Dve,Lve);r.textStyles.push(s)}r.styles.push(i)})},"addStyleClass"),trt=o(function(t,e=""){let r=Wl.get(t);e!=null&&(r.styles=e.split(Nve))},"addStyle2Node"),rrt=o(function(t,e){t.split(",").forEach(function(r){let n=Wl.get(r);if(n===void 0){let i=r.trim();n={id:i,type:"na",children:[]},Wl.set(i,n)}n.classes||(n.classes=[]),n.classes.push(e)})},"setCssClass"),Mve=o((t,e)=>{let r=t.flat(),n=[],a=r.find(s=>s?.type==="column-setting")?.columns??-1;for(let s of r){if(typeof a=="number"&&a>0&&s.type!=="column-setting"&&typeof s.widthInColumns=="number"&&s.widthInColumns>a&&X.warn(`Block ${s.id} width ${s.widthInColumns} exceeds configured column width ${a}`),s.label&&(s.label=Jtt(s.label)),s.type==="classDef"){ert(s.id,s.css);continue}if(s.type==="applyClass"){rrt(s.id,s?.styleClass??"");continue}if(s.type==="applyStyles"){s?.stylesStr&&trt(s.id,s?.stylesStr);continue}if(s.type==="column-setting")e.columns=s.columns??-1;else if(s.type==="edge"){let l=(MF.get(s.id)??0)+1;MF.set(s.id,l),s.id=l+"-"+s.id,IF.push(s)}else{s.label||(s.type==="composite"?s.label="":s.label=s.id);let l=Wl.get(s.id);if(l===void 0?Wl.set(s.id,s):(s.type!=="na"&&(l.type=s.type),s.label!==s.id&&(l.label=s.label)),s.children&&Mve(s.children,s),s.type==="space"){let u=s.width??1;for(let h=0;h{X.debug("Clear called"),wr(),A4={id:"root",type:"composite",children:[],columns:-1},Wl=new Map([["root",A4]]),OF=[],yC=new Map,IF=[],MF=new Map},"clear");o(irt,"typeStr2Type");o(art,"edgeTypeStr2Type");o(srt,"edgeStrToEdgeData");Rve=0,ort=o(()=>(Rve++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Rve),"generateId"),lrt=o(t=>{A4.children=t,Mve(t,A4),OF=A4.children},"setHierarchy"),crt=o(t=>{let e=Wl.get(t);return e?e.columns?e.columns:e.children?e.children.length:-1:-1},"getColumns"),urt=o(()=>[...Wl.values()],"getBlocksFlat"),hrt=o(()=>OF||[],"getBlocks"),frt=o(()=>IF,"getEdges"),drt=o(t=>Wl.get(t),"getBlock"),prt=o(t=>{Wl.set(t.id,t)},"setBlock"),mrt=o(()=>X,"getLogger"),grt=o(function(){return yC},"getClasses"),yrt={getConfig:o(()=>Qt().block,"getConfig"),typeStr2Type:irt,edgeTypeStr2Type:art,edgeStrToEdgeData:srt,getLogger:mrt,getBlocksFlat:urt,getBlocks:hrt,getEdges:frt,setHierarchy:lrt,getBlock:drt,setBlock:prt,getColumns:crt,getClasses:grt,clear:nrt,generateId:ort},Ive=yrt});var vC,vrt,Pve,Bve=N(()=>{"use strict";Xs();Vm();vC=o((t,e)=>{let r=Kf,n=r(t,"r"),i=r(t,"g"),a=r(t,"b");return Ya(n,i,a,e)},"fade"),vrt=o(t=>`.label { +Expecting `+ye.join(", ")+", got '"+(this.terminals_[j]||j)+"'":se="Parse error on line "+(k+1)+": Unexpected "+(j==M?"end of input":"'"+(this.terminals_[j]||j)+"'"),this.parseError(se,{text:B.match,token:this.terminals_[j]||j,line:B.yylineno,loc:$,expected:ye})}if(ce[0]instanceof Array&&ce.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Z+", token: "+j);switch(ce[0]){case 1:E.push(j),A.push(B.yytext),D.push(B.yylloc),E.push(ce[1]),j=null,le?(j=le,le=null):(L=B.yyleng,R=B.yytext,k=B.yylineno,$=B.yylloc,C>0&&C--);break;case 2:if(he=this.productions_[ce[1]][1],te.$=A[A.length-he],te._$={first_line:D[D.length-(he||1)].first_line,last_line:D[D.length-1].last_line,first_column:D[D.length-(he||1)].first_column,last_column:D[D.length-1].last_column},U&&(te._$.range=[D[D.length-(he||1)].range[0],D[D.length-1].range[1]]),ee=this.performAction.apply(te,[R,L,k,F.yy,ce[1],A,D].concat(P)),typeof ee<"u")return ee;he&&(E=E.slice(0,-1*he*2),A=A.slice(0,-1*he),D=D.slice(0,-1*he)),E.push(this.productions_[ce[1]][0]),A.push(te.$),D.push(te._$),J=O[E[E.length-2]][E[E.length-1]],E.push(J);break;case 3:return!0}}return!0},"parse")},v=function(){var T={EOF:1,parseError:o(function(w,E){if(this.yy.parser)this.yy.parser.parseError(w,E);else throw new Error(w)},"parseError"),setInput:o(function(S,w){return this.yy=w||this.yy||{},this._input=S,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var S=this._input[0];this.yytext+=S,this.yyleng++,this.offset++,this.match+=S,this.matched+=S;var w=S.match(/(?:\r\n?|\n).*/g);return w?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),S},"input"),unput:o(function(S){var w=S.length,E=S.split(/(?:\r\n?|\n)/g);this._input=S+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-w),this.offset-=w;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1&&(this.yylineno-=E.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-w},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-w]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(S){this.unput(this.match.slice(S))},"less"),pastInput:o(function(){var S=this.matched.substr(0,this.matched.length-this.match.length);return(S.length>20?"...":"")+S.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var S=this.match;return S.length<20&&(S+=this._input.substr(0,20-S.length)),(S.substr(0,20)+(S.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var S=this.pastInput(),w=new Array(S.length+1).join("-");return S+this.upcomingInput()+` +`+w+"^"},"showPosition"),test_match:o(function(S,w){var E,_,A;if(this.options.backtrack_lexer&&(A={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(A.yylloc.range=this.yylloc.range.slice(0))),_=S[0].match(/(?:\r\n?|\n).*/g),_&&(this.yylineno+=_.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_?_[_.length-1].length-_[_.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+S[0].length},this.yytext+=S[0],this.match+=S[0],this.matches=S,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(S[0].length),this.matched+=S[0],E=this.performAction.call(this,this.yy,this,w,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),E)return E;if(this._backtrack){for(var D in A)this[D]=A[D];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var S,w,E,_;this._more||(this.yytext="",this.match="");for(var A=this._currentRules(),D=0;Dw[0].length)){if(w=E,_=D,this.options.backtrack_lexer){if(S=this.test_match(E,A[D]),S!==!1)return S;if(this._backtrack){w=!1;continue}else return!1}else if(!this.options.flex)break}return w?(S=this.test_match(w,A[_]),S!==!1?S:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var w=this.next();return w||this.lex()},"lex"),begin:o(function(w){this.conditionStack.push(w)},"begin"),popState:o(function(){var w=this.conditionStack.length-1;return w>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(w){return w=this.conditionStack.length-1-Math.abs(w||0),w>=0?this.conditionStack[w]:"INITIAL"},"topState"),pushState:o(function(w){this.begin(w)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:o(function(w,E,_,A){var D=A;switch(_){case 0:return w.getLogger().debug("Found block-beta"),10;break;case 1:return w.getLogger().debug("Found id-block"),29;break;case 2:return w.getLogger().debug("Found block"),10;break;case 3:w.getLogger().debug(".",E.yytext);break;case 4:w.getLogger().debug("_",E.yytext);break;case 5:return 5;case 6:return E.yytext=-1,28;break;case 7:return E.yytext=E.yytext.replace(/columns\s+/,""),w.getLogger().debug("COLUMNS (LEX)",E.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:w.getLogger().debug("LEX: POPPING STR:",E.yytext),this.popState();break;case 13:return w.getLogger().debug("LEX: STR end:",E.yytext),"STR";break;case 14:return E.yytext=E.yytext.replace(/space\:/,""),w.getLogger().debug("SPACE NUM (LEX)",E.yytext),21;break;case 15:return E.yytext="1",w.getLogger().debug("COLUMNS (LEX)",E.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),w.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),w.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),w.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),w.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),w.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),w.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),w.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),w.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),w.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),w.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),w.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),w.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),w.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),w.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),w.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),w.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),w.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return w.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return w.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return w.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return w.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return w.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return w.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return w.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return w.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return w.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return w.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return w.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return w.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),w.getLogger().debug("LEX ARR START"),37;break;case 74:return w.getLogger().debug("Lex: NODE_ID",E.yytext),31;break;case 75:return w.getLogger().debug("Lex: EOF",E.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:w.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:w.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return w.getLogger().debug("LEX: NODE_DESCR:",E.yytext),"NODE_DESCR";break;case 83:w.getLogger().debug("LEX POPPING"),this.popState();break;case 84:w.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (right): dir:",E.yytext),"DIR";break;case 86:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (left):",E.yytext),"DIR";break;case 87:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (x):",E.yytext),"DIR";break;case 88:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (y):",E.yytext),"DIR";break;case 89:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (up):",E.yytext),"DIR";break;case 90:return E.yytext=E.yytext.replace(/^,\s*/,""),w.getLogger().debug("Lex (down):",E.yytext),"DIR";break;case 91:return E.yytext="]>",w.getLogger().debug("Lex (ARROW_DIR end):",E.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return w.getLogger().debug("Lex: LINK","#"+E.yytext+"#"),15;break;case 93:return w.getLogger().debug("Lex: LINK",E.yytext),15;break;case 94:return w.getLogger().debug("Lex: LINK",E.yytext),15;break;case 95:return w.getLogger().debug("Lex: LINK",E.yytext),15;break;case 96:return w.getLogger().debug("Lex: START_LINK",E.yytext),this.pushState("LLABEL"),16;break;case 97:return w.getLogger().debug("Lex: START_LINK",E.yytext),this.pushState("LLABEL"),16;break;case 98:return w.getLogger().debug("Lex: START_LINK",E.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return w.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),w.getLogger().debug("Lex: LINK","#"+E.yytext+"#"),15;break;case 102:return this.popState(),w.getLogger().debug("Lex: LINK",E.yytext),15;break;case 103:return this.popState(),w.getLogger().debug("Lex: LINK",E.yytext),15;break;case 104:return w.getLogger().debug("Lex: COLON",E.yytext),E.yytext=E.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return T}();x.lexer=v;function b(){this.yy={}}return o(b,"Parser"),b.prototype=x,x.Parser=b,new b}();UF.parser=UF;Hve=UF});function ort(t){switch(X.debug("typeStr2Type",t),t){case"[]":return"square";case"()":return X.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function lrt(t){switch(X.debug("typeStr2Type",t),t){case"==":return"thick";default:return"normal"}}function crt(t){switch(t.replace(/^[\s-]+|[\s-]+$/g,"")){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}var Wl,WF,HF,qve,Yve,ert,jve,trt,SC,rrt,nrt,irt,art,Kve,qF,R4,srt,Xve,urt,hrt,frt,drt,prt,mrt,grt,yrt,vrt,xrt,brt,Qve,Zve=N(()=>{"use strict";iR();Wn();Xt();pt();dr();ui();Wl=new Map,WF=[],HF=new Map,qve="color",Yve="fill",ert="bgFill",jve=",",trt=ge(),SC=new Map,rrt=o(t=>Je.sanitizeText(t,trt),"sanitizeText"),nrt=o(function(t,e=""){let r=SC.get(t);r||(r={id:t,styles:[],textStyles:[]},SC.set(t,r)),e?.split(jve).forEach(n=>{let i=n.replace(/([^;]*);/,"$1").trim();if(RegExp(qve).exec(n)){let s=i.replace(Yve,ert).replace(qve,Yve);r.textStyles.push(s)}r.styles.push(i)})},"addStyleClass"),irt=o(function(t,e=""){let r=Wl.get(t);e!=null&&(r.styles=e.split(jve))},"addStyle2Node"),art=o(function(t,e){t.split(",").forEach(function(r){let n=Wl.get(r);if(n===void 0){let i=r.trim();n={id:i,type:"na",children:[]},Wl.set(i,n)}n.classes||(n.classes=[]),n.classes.push(e)})},"setCssClass"),Kve=o((t,e)=>{let r=t.flat(),n=[],a=r.find(s=>s?.type==="column-setting")?.columns??-1;for(let s of r){if(typeof a=="number"&&a>0&&s.type!=="column-setting"&&typeof s.widthInColumns=="number"&&s.widthInColumns>a&&X.warn(`Block ${s.id} width ${s.widthInColumns} exceeds configured column width ${a}`),s.label&&(s.label=rrt(s.label)),s.type==="classDef"){nrt(s.id,s.css);continue}if(s.type==="applyClass"){art(s.id,s?.styleClass??"");continue}if(s.type==="applyStyles"){s?.stylesStr&&irt(s.id,s?.stylesStr);continue}if(s.type==="column-setting")e.columns=s.columns??-1;else if(s.type==="edge"){let l=(HF.get(s.id)??0)+1;HF.set(s.id,l),s.id=l+"-"+s.id,WF.push(s)}else{s.label||(s.type==="composite"?s.label="":s.label=s.id);let l=Wl.get(s.id);if(l===void 0?Wl.set(s.id,s):(s.type!=="na"&&(l.type=s.type),s.label!==s.id&&(l.label=s.label)),s.children&&Kve(s.children,s),s.type==="space"){let u=s.width??1;for(let h=0;h{X.debug("Clear called"),wr(),R4={id:"root",type:"composite",children:[],columns:-1},Wl=new Map([["root",R4]]),qF=[],SC=new Map,WF=[],HF=new Map},"clear");o(ort,"typeStr2Type");o(lrt,"edgeTypeStr2Type");o(crt,"edgeStrToEdgeData");Xve=0,urt=o(()=>(Xve++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Xve),"generateId"),hrt=o(t=>{R4.children=t,Kve(t,R4),qF=R4.children},"setHierarchy"),frt=o(t=>{let e=Wl.get(t);return e?e.columns?e.columns:e.children?e.children.length:-1:-1},"getColumns"),drt=o(()=>[...Wl.values()],"getBlocksFlat"),prt=o(()=>qF||[],"getBlocks"),mrt=o(()=>WF,"getEdges"),grt=o(t=>Wl.get(t),"getBlock"),yrt=o(t=>{Wl.set(t.id,t)},"setBlock"),vrt=o(()=>X,"getLogger"),xrt=o(function(){return SC},"getClasses"),brt={getConfig:o(()=>Qt().block,"getConfig"),typeStr2Type:ort,edgeTypeStr2Type:lrt,edgeStrToEdgeData:crt,getLogger:vrt,getBlocksFlat:drt,getBlocks:prt,getEdges:mrt,setHierarchy:hrt,getBlock:grt,setBlock:yrt,getColumns:frt,getClasses:xrt,clear:srt,generateId:urt},Qve=brt});var CC,Trt,Jve,e2e=N(()=>{"use strict";Qs();mg();CC=o((t,e)=>{let r=id,n=r(t,"r"),i=r(t,"g"),a=r(t,"b");return Ka(n,i,a,e)},"fade"),Trt=o(t=>`.label { font-family: ${t.fontFamily}; color: ${t.nodeTextColor||t.textColor}; } @@ -2503,14 +2538,14 @@ Expecting `+J.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":Se="Parse error o /* For html labels only */ .labelBkg { - background-color: ${vC(t.edgeLabelBackground,.5)}; + background-color: ${CC(t.edgeLabelBackground,.5)}; // background-color: } .node .cluster { - // fill: ${vC(t.mainBkg,.5)}; - fill: ${vC(t.clusterBkg,.5)}; - stroke: ${vC(t.clusterBorder,.2)}; + // fill: ${CC(t.mainBkg,.5)}; + fill: ${CC(t.clusterBkg,.5)}; + stroke: ${CC(t.clusterBorder,.2)}; box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; stroke-width: 1px; } @@ -2545,11 +2580,11 @@ Expecting `+J.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":Se="Parse error o font-size: 18px; fill: ${t.textColor}; } - ${Lc()} -`,"getStyles"),Pve=vrt});var xrt,brt,Trt,wrt,krt,Ert,Srt,Crt,Art,_rt,Drt,Fve,$ve=N(()=>{"use strict";yt();xrt=o((t,e,r,n)=>{e.forEach(i=>{Drt[i](t,r,n)})},"insertMarkers"),brt=o((t,e,r)=>{X.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),Trt=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),wrt=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),krt=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),Ert=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),Srt=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),Crt=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),Art=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),_rt=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),Drt={extension:brt,composition:Trt,aggregation:wrt,dependency:krt,lollipop:Ert,point:Srt,circle:Crt,cross:Art,barb:_rt},Fve=xrt});function Lrt(t,e){if(t===0||!Number.isInteger(t))throw new Error("Columns must be an integer !== 0.");if(e<0||!Number.isInteger(e))throw new Error("Position must be a non-negative integer."+e);if(t<0)return{px:e,py:0};if(t===1)return{px:0,py:e};let r=e%t,n=Math.floor(e/t);return{px:r,py:n}}function PF(t,e,r=0,n=0){X.debug("setBlockSizes abc95 (start)",t.id,t?.size?.x,"block width =",t?.size,"siblingWidth",r),t?.size?.width||(t.size={width:r,height:n,x:0,y:0});let i=0,a=0;if(t.children?.length>0){for(let m of t.children)PF(m,e);let s=Rrt(t);i=s.width,a=s.height,X.debug("setBlockSizes abc95 maxWidth of",t.id,":s children is ",i,a);for(let m of t.children)m.size&&(X.debug(`abc95 Setting size of children of ${t.id} id=${m.id} ${i} ${a} ${JSON.stringify(m.size)}`),m.size.width=i*(m.widthInColumns??1)+wi*((m.widthInColumns??1)-1),m.size.height=a,m.size.x=0,m.size.y=0,X.debug(`abc95 updating size of ${t.id} children child:${m.id} maxWidth:${i} maxHeight:${a}`));for(let m of t.children)PF(m,e,i,a);let l=t.columns??-1,u=0;for(let m of t.children)u+=m.widthInColumns??1;let h=t.children.length;l>0&&l0?Math.min(t.children.length,l):t.children.length;if(m>0){let g=(d-m*wi-wi)/m;X.debug("abc95 (growing to fit) width",t.id,d,t.size?.width,g);for(let y of t.children)y.size&&(y.size.width=g)}}t.size={width:d,height:p,x:0,y:0}}X.debug("setBlockSizes abc94 (done)",t.id,t?.size?.x,t?.size?.width,t?.size?.y,t?.size?.height)}function zve(t,e){X.debug(`abc85 layout blocks (=>layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`);let r=t.columns??-1;if(X.debug("layoutBlocks columns abc95",t.id,"=>",r,t),t.children&&t.children.length>0){let n=t?.children[0]?.size?.width??0,i=t.children.length*n+(t.children.length-1)*wi;X.debug("widthOfChildren 88",i,"posX");let a=0;X.debug("abc91 block?.size?.x",t.id,t?.size?.x);let s=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-wi,l=0;for(let u of t.children){let h=t;if(!u.size)continue;let{width:f,height:d}=u.size,{px:p,py:m}=Lrt(r,a);if(m!=l&&(l=m,s=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-wi,X.debug("New row in layout for block",t.id," and child ",u.id,l)),X.debug(`abc89 layout blocks (child) id: ${u.id} Pos: ${a} (px, py) ${p},${m} (${h?.size?.x},${h?.size?.y}) parent: ${h.id} width: ${f}${wi}`),h.size){let y=f/2;u.size.x=s+wi+y,X.debug(`abc91 layout blocks (calc) px, pyid:${u.id} startingPos=X${s} new startingPosX${u.size.x} ${y} padding=${wi} width=${f} halfWidth=${y} => x:${u.size.x} y:${u.size.y} ${u.widthInColumns} (width * (child?.w || 1)) / 2 ${f*(u?.widthInColumns??1)/2}`),s=u.size.x+y,u.size.y=h.size.y-h.size.height/2+m*(d+wi)+d/2+wi,X.debug(`abc88 layout blocks (calc) px, pyid:${u.id}startingPosX${s}${wi}${y}=>x:${u.size.x}y:${u.size.y}${u.widthInColumns}(width * (child?.w || 1)) / 2${f*(u?.widthInColumns??1)/2}`)}u.children&&zve(u,e);let g=u?.widthInColumns??1;r>0&&(g=Math.min(g,r-a%r)),a+=g,X.debug("abc88 columnsPos",u,a)}}X.debug(`layout blocks (<==layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`)}function Gve(t,{minX:e,minY:r,maxX:n,maxY:i}={minX:0,minY:0,maxX:0,maxY:0}){if(t.size&&t.id!=="root"){let{x:a,y:s,width:l,height:u}=t.size;a-l/2n&&(n=a+l/2),s+u/2>i&&(i=s+u/2)}if(t.children)for(let a of t.children)({minX:e,minY:r,maxX:n,maxY:i}=Gve(a,{minX:e,minY:r,maxX:n,maxY:i}));return{minX:e,minY:r,maxX:n,maxY:i}}function Vve(t){let e=t.getBlock("root");if(!e)return;PF(e,t,0,0),zve(e,t),X.debug("getBlocks",JSON.stringify(e,null,2));let{minX:r,minY:n,maxX:i,maxY:a}=Gve(e),s=a-n,l=i-r;return{x:r,y:n,width:l,height:s}}var wi,Rrt,Uve=N(()=>{"use strict";yt();qt();wi=ge()?.block?.padding??8;o(Lrt,"calculateBlockPosition");Rrt=o(t=>{let e=0,r=0;for(let n of t.children){let{width:i,height:a,x:s,y:l}=n.size??{width:0,height:0,x:0,y:0};X.debug("getMaxChildSize abc95 child:",n.id,"width:",i,"height:",a,"x:",s,"y:",l,n.type),n.type!=="space"&&(i>e&&(e=i/(t.widthInColumns??1)),a>r&&(r=a))}return{width:e,height:r}},"getMaxChildSize");o(PF,"setBlockSizes");o(zve,"layoutBlocks");o(Gve,"findBounds");o(Vve,"layout")});function Hve(t,e){e&&t.attr("style",e)}function Nrt(t,e){let r=Ge(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),n=r.append("xhtml:div"),i=t.label,a=t.isNode?"nodeLabel":"edgeLabel",s=n.append("span");return s.html(ar(i,e)),Hve(s,t.labelStyle),s.attr("class",a),Hve(n,t.labelStyle),n.style("display","inline-block"),n.style("white-space","nowrap"),n.attr("xmlns","http://www.w3.org/1999/xhtml"),r.node()}var Mrt,xs,xC=N(()=>{"use strict";pr();qt();dr();yt();no();nr();o(Hve,"applyStyle");o(Nrt,"addHtmlLabel");Mrt=o(async(t,e,r,n)=>{let i=t||"";typeof i=="object"&&(i=i[0]);let a=ge();if(mr(a.flowchart.htmlLabels)){i=i.replace(/\\n|\n/g,"
    "),X.debug("vertexText"+i);let s=await uL(ta(i)),l={isNode:n,label:s,labelStyle:e.replace("fill:","color:")};return Nrt(l,a)}else{let s=document.createElementNS("http://www.w3.org/2000/svg","text");s.setAttribute("style",e.replace("color:","fill:"));let l=[];typeof i=="string"?l=i.split(/\\n|\n|/gi):Array.isArray(i)?l=i:l=[];for(let u of l){let h=document.createElementNS("http://www.w3.org/2000/svg","tspan");h.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),h.setAttribute("dy","1em"),h.setAttribute("x","0"),r?h.setAttribute("class","title-row"):h.setAttribute("class","row"),h.textContent=u.trim(),s.appendChild(h)}return s}},"createLabel"),xs=Mrt});var qve,Irt,Wve,Yve=N(()=>{"use strict";yt();qve=o((t,e,r,n,i)=>{e.arrowTypeStart&&Wve(t,"start",e.arrowTypeStart,r,n,i),e.arrowTypeEnd&&Wve(t,"end",e.arrowTypeEnd,r,n,i)},"addEdgeMarkers"),Irt={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},Wve=o((t,e,r,n,i,a)=>{let s=Irt[r];if(!s){X.warn(`Unknown arrow type: ${r}`);return}let l=e==="start"?"Start":"End";t.attr(`marker-${e}`,`url(${n}#${i}_${a}-${s}${l})`)},"addEdgeMarker")});function bC(t,e){ge().flowchart.htmlLabels&&t&&(t.style.width=e.length*9+"px",t.style.height="12px")}var BF,Ha,jve,Kve,Ort,Prt,Xve,Qve,Zve=N(()=>{"use strict";yt();xC();no();pr();qt();nr();dr();ML();L2();Yve();BF={},Ha={},jve=o(async(t,e)=>{let r=ge(),n=mr(r.flowchart.htmlLabels),i=e.labelType==="markdown"?Hn(t,e.label,{style:e.labelStyle,useHtmlLabels:n,addSvgBackground:!0},r):await xs(e.label,e.labelStyle),a=t.insert("g").attr("class","edgeLabel"),s=a.insert("g").attr("class","label");s.node().appendChild(i);let l=i.getBBox();if(n){let h=i.children[0],f=Ge(i);l=h.getBoundingClientRect(),f.attr("width",l.width),f.attr("height",l.height)}s.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),BF[e.id]=a,e.width=l.width,e.height=l.height;let u;if(e.startLabelLeft){let h=await xs(e.startLabelLeft,e.labelStyle),f=t.insert("g").attr("class","edgeTerminals"),d=f.insert("g").attr("class","inner");u=d.node().appendChild(h);let p=h.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),Ha[e.id]||(Ha[e.id]={}),Ha[e.id].startLeft=f,bC(u,e.startLabelLeft)}if(e.startLabelRight){let h=await xs(e.startLabelRight,e.labelStyle),f=t.insert("g").attr("class","edgeTerminals"),d=f.insert("g").attr("class","inner");u=f.node().appendChild(h),d.node().appendChild(h);let p=h.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),Ha[e.id]||(Ha[e.id]={}),Ha[e.id].startRight=f,bC(u,e.startLabelRight)}if(e.endLabelLeft){let h=await xs(e.endLabelLeft,e.labelStyle),f=t.insert("g").attr("class","edgeTerminals"),d=f.insert("g").attr("class","inner");u=d.node().appendChild(h);let p=h.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),f.node().appendChild(h),Ha[e.id]||(Ha[e.id]={}),Ha[e.id].endLeft=f,bC(u,e.endLabelLeft)}if(e.endLabelRight){let h=await xs(e.endLabelRight,e.labelStyle),f=t.insert("g").attr("class","edgeTerminals"),d=f.insert("g").attr("class","inner");u=d.node().appendChild(h);let p=h.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),f.node().appendChild(h),Ha[e.id]||(Ha[e.id]={}),Ha[e.id].endRight=f,bC(u,e.endLabelRight)}return i},"insertEdgeLabel");o(bC,"setTerminalWidth");Kve=o((t,e)=>{X.debug("Moving label abc88 ",t.id,t.label,BF[t.id],e);let r=e.updatedPath?e.updatedPath:e.originalPath,n=ge(),{subGraphTitleTotalMargin:i}=Mu(n);if(t.label){let a=BF[t.id],s=t.x,l=t.y;if(r){let u=Vt.calcLabelPosition(r);X.debug("Moving label "+t.label+" from (",s,",",l,") to (",u.x,",",u.y,") abc88"),e.updatedPath&&(s=u.x,l=u.y)}a.attr("transform",`translate(${s}, ${l+i/2})`)}if(t.startLabelLeft){let a=Ha[t.id].startLeft,s=t.x,l=t.y;if(r){let u=Vt.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.startLabelRight){let a=Ha[t.id].startRight,s=t.x,l=t.y;if(r){let u=Vt.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.endLabelLeft){let a=Ha[t.id].endLeft,s=t.x,l=t.y;if(r){let u=Vt.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.endLabelRight){let a=Ha[t.id].endRight,s=t.x,l=t.y;if(r){let u=Vt.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}},"positionEdgeLabel"),Ort=o((t,e)=>{let r=t.x,n=t.y,i=Math.abs(e.x-r),a=Math.abs(e.y-n),s=t.width/2,l=t.height/2;return i>=s||a>=l},"outsideNode"),Prt=o((t,e,r)=>{X.debug(`intersection calc abc89: + ${Fc()} +`,"getStyles"),Jve=Trt});var wrt,krt,Ert,Srt,Crt,Art,_rt,Drt,Lrt,Rrt,Nrt,t2e,r2e=N(()=>{"use strict";pt();wrt=o((t,e,r,n)=>{e.forEach(i=>{Nrt[i](t,r,n)})},"insertMarkers"),krt=o((t,e,r)=>{X.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),Ert=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),Srt=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),Crt=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),Art=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),_rt=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),Drt=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),Lrt=o((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),Rrt=o((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),Nrt={extension:krt,composition:Ert,aggregation:Srt,dependency:Crt,lollipop:Art,point:_rt,circle:Drt,cross:Lrt,barb:Rrt},t2e=wrt});function Mrt(t,e){if(t===0||!Number.isInteger(t))throw new Error("Columns must be an integer !== 0.");if(e<0||!Number.isInteger(e))throw new Error("Position must be a non-negative integer."+e);if(t<0)return{px:e,py:0};if(t===1)return{px:0,py:e};let r=e%t,n=Math.floor(e/t);return{px:r,py:n}}function YF(t,e,r=0,n=0){X.debug("setBlockSizes abc95 (start)",t.id,t?.size?.x,"block width =",t?.size,"siblingWidth",r),t?.size?.width||(t.size={width:r,height:n,x:0,y:0});let i=0,a=0;if(t.children?.length>0){for(let m of t.children)YF(m,e);let s=Irt(t);i=s.width,a=s.height,X.debug("setBlockSizes abc95 maxWidth of",t.id,":s children is ",i,a);for(let m of t.children)m.size&&(X.debug(`abc95 Setting size of children of ${t.id} id=${m.id} ${i} ${a} ${JSON.stringify(m.size)}`),m.size.width=i*(m.widthInColumns??1)+wi*((m.widthInColumns??1)-1),m.size.height=a,m.size.x=0,m.size.y=0,X.debug(`abc95 updating size of ${t.id} children child:${m.id} maxWidth:${i} maxHeight:${a}`));for(let m of t.children)YF(m,e,i,a);let l=t.columns??-1,u=0;for(let m of t.children)u+=m.widthInColumns??1;let h=t.children.length;l>0&&l0?Math.min(t.children.length,l):t.children.length;if(m>0){let g=(d-m*wi-wi)/m;X.debug("abc95 (growing to fit) width",t.id,d,t.size?.width,g);for(let y of t.children)y.size&&(y.size.width=g)}}t.size={width:d,height:p,x:0,y:0}}X.debug("setBlockSizes abc94 (done)",t.id,t?.size?.x,t?.size?.width,t?.size?.y,t?.size?.height)}function n2e(t,e){X.debug(`abc85 layout blocks (=>layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`);let r=t.columns??-1;if(X.debug("layoutBlocks columns abc95",t.id,"=>",r,t),t.children&&t.children.length>0){let n=t?.children[0]?.size?.width??0,i=t.children.length*n+(t.children.length-1)*wi;X.debug("widthOfChildren 88",i,"posX");let a=0;X.debug("abc91 block?.size?.x",t.id,t?.size?.x);let s=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-wi,l=0;for(let u of t.children){let h=t;if(!u.size)continue;let{width:f,height:d}=u.size,{px:p,py:m}=Mrt(r,a);if(m!=l&&(l=m,s=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-wi,X.debug("New row in layout for block",t.id," and child ",u.id,l)),X.debug(`abc89 layout blocks (child) id: ${u.id} Pos: ${a} (px, py) ${p},${m} (${h?.size?.x},${h?.size?.y}) parent: ${h.id} width: ${f}${wi}`),h.size){let y=f/2;u.size.x=s+wi+y,X.debug(`abc91 layout blocks (calc) px, pyid:${u.id} startingPos=X${s} new startingPosX${u.size.x} ${y} padding=${wi} width=${f} halfWidth=${y} => x:${u.size.x} y:${u.size.y} ${u.widthInColumns} (width * (child?.w || 1)) / 2 ${f*(u?.widthInColumns??1)/2}`),s=u.size.x+y,u.size.y=h.size.y-h.size.height/2+m*(d+wi)+d/2+wi,X.debug(`abc88 layout blocks (calc) px, pyid:${u.id}startingPosX${s}${wi}${y}=>x:${u.size.x}y:${u.size.y}${u.widthInColumns}(width * (child?.w || 1)) / 2${f*(u?.widthInColumns??1)/2}`)}u.children&&n2e(u,e);let g=u?.widthInColumns??1;r>0&&(g=Math.min(g,r-a%r)),a+=g,X.debug("abc88 columnsPos",u,a)}}X.debug(`layout blocks (<==layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`)}function i2e(t,{minX:e,minY:r,maxX:n,maxY:i}={minX:0,minY:0,maxX:0,maxY:0}){if(t.size&&t.id!=="root"){let{x:a,y:s,width:l,height:u}=t.size;a-l/2n&&(n=a+l/2),s+u/2>i&&(i=s+u/2)}if(t.children)for(let a of t.children)({minX:e,minY:r,maxX:n,maxY:i}=i2e(a,{minX:e,minY:r,maxX:n,maxY:i}));return{minX:e,minY:r,maxX:n,maxY:i}}function a2e(t){let e=t.getBlock("root");if(!e)return;YF(e,t,0,0),n2e(e,t),X.debug("getBlocks",JSON.stringify(e,null,2));let{minX:r,minY:n,maxX:i,maxY:a}=i2e(e),s=a-n,l=i-r;return{x:r,y:n,width:l,height:s}}var wi,Irt,s2e=N(()=>{"use strict";pt();Xt();wi=ge()?.block?.padding??8;o(Mrt,"calculateBlockPosition");Irt=o(t=>{let e=0,r=0;for(let n of t.children){let{width:i,height:a,x:s,y:l}=n.size??{width:0,height:0,x:0,y:0};X.debug("getMaxChildSize abc95 child:",n.id,"width:",i,"height:",a,"x:",s,"y:",l,n.type),n.type!=="space"&&(i>e&&(e=i/(t.widthInColumns??1)),a>r&&(r=a))}return{width:e,height:r}},"getMaxChildSize");o(YF,"setBlockSizes");o(n2e,"layoutBlocks");o(i2e,"findBounds");o(a2e,"layout")});function o2e(t,e){e&&t.attr("style",e)}function Ort(t,e){let r=ze(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),n=r.append("xhtml:div"),i=t.label,a=t.isNode?"nodeLabel":"edgeLabel",s=n.append("span");return s.html(ar(i,e)),o2e(s,t.labelStyle),s.attr("class",a),o2e(n,t.labelStyle),n.style("display","inline-block"),n.style("white-space","nowrap"),n.attr("xmlns","http://www.w3.org/1999/xhtml"),r.node()}var Prt,ws,AC=N(()=>{"use strict";pr();Xt();dr();pt();$o();tr();o(o2e,"applyStyle");o(Ort,"addHtmlLabel");Prt=o(async(t,e,r,n)=>{let i=t||"";typeof i=="object"&&(i=i[0]);let a=ge();if(mr(a.flowchart.htmlLabels)){i=i.replace(/\\n|\n/g,"
    "),X.debug("vertexText"+i);let s=await y9(ea(i)),l={isNode:n,label:s,labelStyle:e.replace("fill:","color:")};return Ort(l,a)}else{let s=document.createElementNS("http://www.w3.org/2000/svg","text");s.setAttribute("style",e.replace("color:","fill:"));let l=[];typeof i=="string"?l=i.split(/\\n|\n|/gi):Array.isArray(i)?l=i:l=[];for(let u of l){let h=document.createElementNS("http://www.w3.org/2000/svg","tspan");h.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),h.setAttribute("dy","1em"),h.setAttribute("x","0"),r?h.setAttribute("class","title-row"):h.setAttribute("class","row"),h.textContent=u.trim(),s.appendChild(h)}return s}},"createLabel"),ws=Prt});var c2e,Brt,l2e,u2e=N(()=>{"use strict";pt();c2e=o((t,e,r,n,i)=>{e.arrowTypeStart&&l2e(t,"start",e.arrowTypeStart,r,n,i),e.arrowTypeEnd&&l2e(t,"end",e.arrowTypeEnd,r,n,i)},"addEdgeMarkers"),Brt={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},l2e=o((t,e,r,n,i,a)=>{let s=Brt[r];if(!s){X.warn(`Unknown arrow type: ${r}`);return}let l=e==="start"?"Start":"End";t.attr(`marker-${e}`,`url(${n}#${i}_${a}-${s}${l})`)},"addEdgeMarker")});function _C(t,e){ge().flowchart.htmlLabels&&t&&(t.style.width=e.length*9+"px",t.style.height="12px")}var XF,qa,f2e,d2e,Frt,$rt,h2e,p2e,m2e=N(()=>{"use strict";pt();AC();$o();pr();Xt();tr();dr();z9();N2();u2e();XF={},qa={},f2e=o(async(t,e)=>{let r=ge(),n=mr(r.flowchart.htmlLabels),i=e.labelType==="markdown"?pi(t,e.label,{style:e.labelStyle,useHtmlLabels:n,addSvgBackground:!0},r):await ws(e.label,e.labelStyle),a=t.insert("g").attr("class","edgeLabel"),s=a.insert("g").attr("class","label");s.node().appendChild(i);let l=i.getBBox();if(n){let h=i.children[0],f=ze(i);l=h.getBoundingClientRect(),f.attr("width",l.width),f.attr("height",l.height)}s.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),XF[e.id]=a,e.width=l.width,e.height=l.height;let u;if(e.startLabelLeft){let h=await ws(e.startLabelLeft,e.labelStyle),f=t.insert("g").attr("class","edgeTerminals"),d=f.insert("g").attr("class","inner");u=d.node().appendChild(h);let p=h.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),qa[e.id]||(qa[e.id]={}),qa[e.id].startLeft=f,_C(u,e.startLabelLeft)}if(e.startLabelRight){let h=await ws(e.startLabelRight,e.labelStyle),f=t.insert("g").attr("class","edgeTerminals"),d=f.insert("g").attr("class","inner");u=f.node().appendChild(h),d.node().appendChild(h);let p=h.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),qa[e.id]||(qa[e.id]={}),qa[e.id].startRight=f,_C(u,e.startLabelRight)}if(e.endLabelLeft){let h=await ws(e.endLabelLeft,e.labelStyle),f=t.insert("g").attr("class","edgeTerminals"),d=f.insert("g").attr("class","inner");u=d.node().appendChild(h);let p=h.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),f.node().appendChild(h),qa[e.id]||(qa[e.id]={}),qa[e.id].endLeft=f,_C(u,e.endLabelLeft)}if(e.endLabelRight){let h=await ws(e.endLabelRight,e.labelStyle),f=t.insert("g").attr("class","edgeTerminals"),d=f.insert("g").attr("class","inner");u=d.node().appendChild(h);let p=h.getBBox();d.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),f.node().appendChild(h),qa[e.id]||(qa[e.id]={}),qa[e.id].endRight=f,_C(u,e.endLabelRight)}return i},"insertEdgeLabel");o(_C,"setTerminalWidth");d2e=o((t,e)=>{X.debug("Moving label abc88 ",t.id,t.label,XF[t.id],e);let r=e.updatedPath?e.updatedPath:e.originalPath,n=ge(),{subGraphTitleTotalMargin:i}=Iu(n);if(t.label){let a=XF[t.id],s=t.x,l=t.y;if(r){let u=Ht.calcLabelPosition(r);X.debug("Moving label "+t.label+" from (",s,",",l,") to (",u.x,",",u.y,") abc88"),e.updatedPath&&(s=u.x,l=u.y)}a.attr("transform",`translate(${s}, ${l+i/2})`)}if(t.startLabelLeft){let a=qa[t.id].startLeft,s=t.x,l=t.y;if(r){let u=Ht.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.startLabelRight){let a=qa[t.id].startRight,s=t.x,l=t.y;if(r){let u=Ht.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.endLabelLeft){let a=qa[t.id].endLeft,s=t.x,l=t.y;if(r){let u=Ht.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}if(t.endLabelRight){let a=qa[t.id].endRight,s=t.x,l=t.y;if(r){let u=Ht.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);s=u.x,l=u.y}a.attr("transform",`translate(${s}, ${l})`)}},"positionEdgeLabel"),Frt=o((t,e)=>{let r=t.x,n=t.y,i=Math.abs(e.x-r),a=Math.abs(e.y-n),s=t.width/2,l=t.height/2;return i>=s||a>=l},"outsideNode"),$rt=o((t,e,r)=>{X.debug(`intersection calc abc89: outsidePoint: ${JSON.stringify(e)} insidePoint : ${JSON.stringify(r)} - node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let n=t.x,i=t.y,a=Math.abs(n-r.x),s=t.width/2,l=r.xMath.abs(n-e.x)*u){let d=r.y{X.debug("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],i=!1;return t.forEach(a=>{if(!Ort(e,a)&&!i){let s=Prt(e,n,a),l=!1;r.forEach(u=>{l=l||u.x===s.x&&u.y===s.y}),r.some(u=>u.x===s.x&&u.y===s.y)||r.push(s),i=!0}else n=a,i||r.push(a)}),r},"cutPathAtIntersect"),Qve=o(function(t,e,r,n,i,a,s){let l=r.points;X.debug("abc88 InsertEdge: edge=",r,"e=",e);let u=!1,h=a.node(e.v);var f=a.node(e.w);f?.intersect&&h?.intersect&&(l=l.slice(1,r.points.length-1),l.unshift(h.intersect(l[0])),l.push(f.intersect(l[l.length-1]))),r.toCluster&&(X.debug("to cluster abc88",n[r.toCluster]),l=Xve(r.points,n[r.toCluster].node),u=!0),r.fromCluster&&(X.debug("from cluster abc88",n[r.fromCluster]),l=Xve(l.reverse(),n[r.fromCluster].node).reverse(),u=!0);let d=l.filter(C=>!Number.isNaN(C.y)),p=Lo;r.curve&&(i==="graph"||i==="flowchart")&&(p=r.curve);let{x:m,y:g}=aw(r),y=El().x(m).y(g).curve(p),v;switch(r.thickness){case"normal":v="edge-thickness-normal";break;case"thick":v="edge-thickness-thick";break;case"invisible":v="edge-thickness-thick";break;default:v=""}switch(r.pattern){case"solid":v+=" edge-pattern-solid";break;case"dotted":v+=" edge-pattern-dotted";break;case"dashed":v+=" edge-pattern-dashed";break}let x=t.append("path").attr("d",y(d)).attr("id",r.id).attr("class"," "+v+(r.classes?" "+r.classes:"")).attr("style",r.style),b="";(ge().flowchart.arrowMarkerAbsolute||ge().state.arrowMarkerAbsolute)&&(b=fu(!0)),qve(x,r,b,s,i);let T={};return u&&(T.updatedPath=l),T.originalPath=r.points,T},"insertEdge")});var Brt,Jve,e2e=N(()=>{"use strict";Brt=o(t=>{let e=new Set;for(let r of t)switch(r){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(r);break}return e},"expandAndDeduplicateDirections"),Jve=o((t,e,r)=>{let n=Brt(t),i=2,a=e.height+2*r.padding,s=a/i,l=e.width+2*s+r.padding,u=r.padding/2;return n.has("right")&&n.has("left")&&n.has("up")&&n.has("down")?[{x:0,y:0},{x:s,y:0},{x:l/2,y:2*u},{x:l-s,y:0},{x:l,y:0},{x:l,y:-a/3},{x:l+2*u,y:-a/2},{x:l,y:-2*a/3},{x:l,y:-a},{x:l-s,y:-a},{x:l/2,y:-a-2*u},{x:s,y:-a},{x:0,y:-a},{x:0,y:-2*a/3},{x:-2*u,y:-a/2},{x:0,y:-a/3}]:n.has("right")&&n.has("left")&&n.has("up")?[{x:s,y:0},{x:l-s,y:0},{x:l,y:-a/2},{x:l-s,y:-a},{x:s,y:-a},{x:0,y:-a/2}]:n.has("right")&&n.has("left")&&n.has("down")?[{x:0,y:0},{x:s,y:-a},{x:l-s,y:-a},{x:l,y:0}]:n.has("right")&&n.has("up")&&n.has("down")?[{x:0,y:0},{x:l,y:-s},{x:l,y:-a+s},{x:0,y:-a}]:n.has("left")&&n.has("up")&&n.has("down")?[{x:l,y:0},{x:0,y:-s},{x:0,y:-a+s},{x:l,y:-a}]:n.has("right")&&n.has("left")?[{x:s,y:0},{x:s,y:-u},{x:l-s,y:-u},{x:l-s,y:0},{x:l,y:-a/2},{x:l-s,y:-a},{x:l-s,y:-a+u},{x:s,y:-a+u},{x:s,y:-a},{x:0,y:-a/2}]:n.has("up")&&n.has("down")?[{x:l/2,y:0},{x:0,y:-u},{x:s,y:-u},{x:s,y:-a+u},{x:0,y:-a+u},{x:l/2,y:-a},{x:l,y:-a+u},{x:l-s,y:-a+u},{x:l-s,y:-u},{x:l,y:-u}]:n.has("right")&&n.has("up")?[{x:0,y:0},{x:l,y:-s},{x:0,y:-a}]:n.has("right")&&n.has("down")?[{x:0,y:0},{x:l,y:0},{x:0,y:-a}]:n.has("left")&&n.has("up")?[{x:l,y:0},{x:0,y:-s},{x:l,y:-a}]:n.has("left")&&n.has("down")?[{x:l,y:0},{x:0,y:0},{x:l,y:-a}]:n.has("right")?[{x:s,y:-u},{x:s,y:-u},{x:l-s,y:-u},{x:l-s,y:0},{x:l,y:-a/2},{x:l-s,y:-a},{x:l-s,y:-a+u},{x:s,y:-a+u},{x:s,y:-a+u}]:n.has("left")?[{x:s,y:0},{x:s,y:-u},{x:l-s,y:-u},{x:l-s,y:-a+u},{x:s,y:-a+u},{x:s,y:-a},{x:0,y:-a/2}]:n.has("up")?[{x:s,y:-u},{x:s,y:-a+u},{x:0,y:-a+u},{x:l/2,y:-a},{x:l,y:-a+u},{x:l-s,y:-a+u},{x:l-s,y:-u}]:n.has("down")?[{x:l/2,y:0},{x:0,y:-u},{x:s,y:-u},{x:s,y:-a+u},{x:l-s,y:-a+u},{x:l-s,y:-u},{x:l,y:-u}]:[{x:0,y:0}]},"getArrowPoints")});function Frt(t,e){return t.intersect(e)}var t2e,r2e=N(()=>{"use strict";o(Frt,"intersectNode");t2e=Frt});function $rt(t,e,r,n){var i=t.x,a=t.y,s=i-n.x,l=a-n.y,u=Math.sqrt(e*e*l*l+r*r*s*s),h=Math.abs(e*r*s/u);n.x{"use strict";o($rt,"intersectEllipse");TC=$rt});function zrt(t,e,r){return TC(t,e,e,r)}var n2e,i2e=N(()=>{"use strict";FF();o(zrt,"intersectCircle");n2e=zrt});function Grt(t,e,r,n){var i,a,s,l,u,h,f,d,p,m,g,y,v,x,b;if(i=e.y-t.y,s=t.x-e.x,u=e.x*t.y-t.x*e.y,p=i*r.x+s*r.y+u,m=i*n.x+s*n.y+u,!(p!==0&&m!==0&&a2e(p,m))&&(a=n.y-r.y,l=r.x-n.x,h=n.x*r.y-r.x*n.y,f=a*t.x+l*t.y+h,d=a*e.x+l*e.y+h,!(f!==0&&d!==0&&a2e(f,d))&&(g=i*l-a*s,g!==0)))return y=Math.abs(g/2),v=s*h-l*u,x=v<0?(v-y)/g:(v+y)/g,v=a*u-i*h,b=v<0?(v-y)/g:(v+y)/g,{x,y:b}}function a2e(t,e){return t*e>0}var s2e,o2e=N(()=>{"use strict";o(Grt,"intersectLine");o(a2e,"sameSign");s2e=Grt});function Vrt(t,e,r){var n=t.x,i=t.y,a=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;typeof e.forEach=="function"?e.forEach(function(g){s=Math.min(s,g.x),l=Math.min(l,g.y)}):(s=Math.min(s,e.x),l=Math.min(l,e.y));for(var u=n-t.width/2-s,h=i-t.height/2-l,f=0;f1&&a.sort(function(g,y){var v=g.x-r.x,x=g.y-r.y,b=Math.sqrt(v*v+x*x),T=y.x-r.x,C=y.y-r.y,w=Math.sqrt(T*T+C*C);return b{"use strict";o2e();l2e=Vrt;o(Vrt,"intersectPolygon")});var Urt,u2e,h2e=N(()=>{"use strict";Urt=o((t,e)=>{var r=t.x,n=t.y,i=e.x-r,a=e.y-n,s=t.width/2,l=t.height/2,u,h;return Math.abs(a)*s>Math.abs(i)*l?(a<0&&(l=-l),u=a===0?0:l*i/a,h=l):(i<0&&(s=-s),u=s,h=i===0?0:s*a/i),{x:r+u,y:n+h}},"intersectRect"),u2e=Urt});var Mn,$F=N(()=>{"use strict";r2e();i2e();FF();c2e();h2e();Mn={node:t2e,circle:n2e,ellipse:TC,polygon:l2e,rect:u2e}});function ql(t,e,r,n){return t.insert("polygon",":first-child").attr("points",n.map(function(i){return i.x+","+i.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}var Ri,Qn,zF=N(()=>{"use strict";xC();no();qt();pr();dr();nr();Ri=o(async(t,e,r,n)=>{let i=ge(),a,s=e.useHtmlLabels||mr(i.flowchart.htmlLabels);r?a=r:a="node default";let l=t.insert("g").attr("class",a).attr("id",e.domId||e.id),u=l.insert("g").attr("class","label").attr("style",e.labelStyle),h;e.labelText===void 0?h="":h=typeof e.labelText=="string"?e.labelText:e.labelText[0];let f=u.node(),d;e.labelType==="markdown"?d=Hn(u,ar(ta(h),i),{useHtmlLabels:s,width:e.width||i.flowchart.wrappingWidth,classes:"markdown-node-label"},i):d=f.appendChild(await xs(ar(ta(h),i),e.labelStyle,!1,n));let p=d.getBBox(),m=e.padding/2;if(mr(i.flowchart.htmlLabels)){let g=d.children[0],y=Ge(d),v=g.getElementsByTagName("img");if(v){let x=h.replace(/]*>/g,"").trim()==="";await Promise.all([...v].map(b=>new Promise(T=>{function C(){if(b.style.display="flex",b.style.flexDirection="column",x){let w=i.fontSize?i.fontSize:window.getComputedStyle(document.body).fontSize,_=parseInt(w,10)*5+"px";b.style.minWidth=_,b.style.maxWidth=_}else b.style.width="100%";T(b)}o(C,"setupImage"),setTimeout(()=>{b.complete&&C()}),b.addEventListener("error",C),b.addEventListener("load",C)})))}p=g.getBoundingClientRect(),y.attr("width",p.width),y.attr("height",p.height)}return s?u.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"):u.attr("transform","translate(0, "+-p.height/2+")"),e.centerLabel&&u.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),u.insert("rect",":first-child"),{shapeSvg:l,bbox:p,halfPadding:m,label:u}},"labelHelper"),Qn=o((t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds");o(ql,"insertPolygonShape")});var Hrt,f2e,d2e=N(()=>{"use strict";zF();yt();qt();$F();Hrt=o(async(t,e)=>{e.useHtmlLabels||ge().flowchart.htmlLabels||(e.centerLabel=!0);let{shapeSvg:n,bbox:i,halfPadding:a}=await Ri(t,e,"node "+e.classes,!0);X.info("Classes = ",e.classes);let s=n.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-a).attr("y",-i.height/2-a).attr("width",i.width+e.padding).attr("height",i.height+e.padding),Qn(e,s),e.intersect=function(l){return Mn.rect(e,l)},n},"note"),f2e=Hrt});function GF(t,e,r,n){let i=[],a=o(l=>{i.push(l,0)},"addBorder"),s=o(l=>{i.push(0,l)},"skipBorder");e.includes("t")?(X.debug("add top border"),a(r)):s(r),e.includes("r")?(X.debug("add right border"),a(n)):s(n),e.includes("b")?(X.debug("add bottom border"),a(r)):s(r),e.includes("l")?(X.debug("add left border"),a(n)):s(n),t.attr("stroke-dasharray",i.join(" "))}var p2e,vo,m2e,Wrt,qrt,Yrt,Xrt,jrt,Krt,Qrt,Zrt,Jrt,ent,tnt,rnt,nnt,int,ant,snt,ont,lnt,cnt,g2e,unt,hnt,y2e,wC,VF,v2e,x2e=N(()=>{"use strict";pr();qt();dr();yt();e2e();xC();$F();d2e();zF();p2e=o(t=>t?" "+t:"","formatClass"),vo=o((t,e)=>`${e||"node default"}${p2e(t.classes)} ${p2e(t.class)}`,"getClassesFromNode"),m2e=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,vo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=i+a,l=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}];X.info("Question main (Circle)");let u=ql(r,s,s,l);return u.attr("style",e.style),Qn(e,u),e.intersect=function(h){return X.warn("Intersect called"),Mn.polygon(e,l,h)},r},"question"),Wrt=o((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),n=28,i=[{x:0,y:n/2},{x:n/2,y:0},{x:0,y:-n/2},{x:-n/2,y:0}];return r.insert("polygon",":first-child").attr("points",i.map(function(s){return s.x+","+s.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(s){return Mn.circle(e,14,s)},r},"choice"),qrt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,vo(e,void 0),!0),i=4,a=n.height+e.padding,s=a/i,l=n.width+2*s+e.padding,u=[{x:s,y:0},{x:l-s,y:0},{x:l,y:-a/2},{x:l-s,y:-a},{x:s,y:-a},{x:0,y:-a/2}],h=ql(r,l,a,u);return h.attr("style",e.style),Qn(e,h),e.intersect=function(f){return Mn.polygon(e,u,f)},r},"hexagon"),Yrt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,void 0,!0),i=2,a=n.height+2*e.padding,s=a/i,l=n.width+2*s+e.padding,u=Jve(e.directions,n,e),h=ql(r,l,a,u);return h.attr("style",e.style),Qn(e,h),e.intersect=function(f){return Mn.polygon(e,u,f)},r},"block_arrow"),Xrt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,vo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:-a/2,y:0},{x:i,y:0},{x:i,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}];return ql(r,i,a,s).attr("style",e.style),e.width=i+a,e.height=a,e.intersect=function(u){return Mn.polygon(e,s,u)},r},"rect_left_inv_arrow"),jrt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,vo(e),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:-2*a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:a/6,y:-a}],l=ql(r,i,a,s);return l.attr("style",e.style),Qn(e,l),e.intersect=function(u){return Mn.polygon(e,s,u)},r},"lean_right"),Krt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,vo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:2*a/6,y:0},{x:i+a/6,y:0},{x:i-2*a/6,y:-a},{x:-a/6,y:-a}],l=ql(r,i,a,s);return l.attr("style",e.style),Qn(e,l),e.intersect=function(u){return Mn.polygon(e,s,u)},r},"lean_left"),Qrt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,vo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:-2*a/6,y:0},{x:i+2*a/6,y:0},{x:i-a/6,y:-a},{x:a/6,y:-a}],l=ql(r,i,a,s);return l.attr("style",e.style),Qn(e,l),e.intersect=function(u){return Mn.polygon(e,s,u)},r},"trapezoid"),Zrt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,vo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:-2*a/6,y:-a}],l=ql(r,i,a,s);return l.attr("style",e.style),Qn(e,l),e.intersect=function(u){return Mn.polygon(e,s,u)},r},"inv_trapezoid"),Jrt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,vo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:0,y:0},{x:i+a/2,y:0},{x:i,y:-a/2},{x:i+a/2,y:-a},{x:0,y:-a}],l=ql(r,i,a,s);return l.attr("style",e.style),Qn(e,l),e.intersect=function(u){return Mn.polygon(e,s,u)},r},"rect_right_inv_arrow"),ent=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,vo(e,void 0),!0),i=n.width+e.padding,a=i/2,s=a/(2.5+i/50),l=n.height+s+e.padding,u="M 0,"+s+" a "+a+","+s+" 0,0,0 "+i+" 0 a "+a+","+s+" 0,0,0 "+-i+" 0 l 0,"+l+" a "+a+","+s+" 0,0,0 "+i+" 0 l 0,"+-l,h=r.attr("label-offset-y",s).insert("path",":first-child").attr("style",e.style).attr("d",u).attr("transform","translate("+-i/2+","+-(l/2+s)+")");return Qn(e,h),e.intersect=function(f){let d=Mn.rect(e,f),p=d.x-e.x;if(a!=0&&(Math.abs(p)e.height/2-s)){let m=s*s*(1-p*p/(a*a));m!=0&&(m=Math.sqrt(m)),m=s-m,f.y-e.y>0&&(m=-m),d.y+=m}return d},r},"cylinder"),tnt=o(async(t,e)=>{let{shapeSvg:r,bbox:n,halfPadding:i}=await Ri(t,e,"node "+e.classes+" "+e.class,!0),a=r.insert("rect",":first-child"),s=e.positioned?e.width:n.width+e.padding,l=e.positioned?e.height:n.height+e.padding,u=e.positioned?-s/2:-n.width/2-i,h=e.positioned?-l/2:-n.height/2-i;if(a.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",u).attr("y",h).attr("width",s).attr("height",l),e.props){let f=new Set(Object.keys(e.props));e.props.borders&&(GF(a,e.props.borders,s,l),f.delete("borders")),f.forEach(d=>{X.warn(`Unknown node property ${d}`)})}return Qn(e,a),e.intersect=function(f){return Mn.rect(e,f)},r},"rect"),rnt=o(async(t,e)=>{let{shapeSvg:r,bbox:n,halfPadding:i}=await Ri(t,e,"node "+e.classes,!0),a=r.insert("rect",":first-child"),s=e.positioned?e.width:n.width+e.padding,l=e.positioned?e.height:n.height+e.padding,u=e.positioned?-s/2:-n.width/2-i,h=e.positioned?-l/2:-n.height/2-i;if(a.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",u).attr("y",h).attr("width",s).attr("height",l),e.props){let f=new Set(Object.keys(e.props));e.props.borders&&(GF(a,e.props.borders,s,l),f.delete("borders")),f.forEach(d=>{X.warn(`Unknown node property ${d}`)})}return Qn(e,a),e.intersect=function(f){return Mn.rect(e,f)},r},"composite"),nnt=o(async(t,e)=>{let{shapeSvg:r}=await Ri(t,e,"label",!0);X.trace("Classes = ",e.class);let n=r.insert("rect",":first-child"),i=0,a=0;if(n.attr("width",i).attr("height",a),r.attr("class","label edgeLabel"),e.props){let s=new Set(Object.keys(e.props));e.props.borders&&(GF(n,e.props.borders,i,a),s.delete("borders")),s.forEach(l=>{X.warn(`Unknown node property ${l}`)})}return Qn(e,n),e.intersect=function(s){return Mn.rect(e,s)},r},"labelRect");o(GF,"applyNodePropertyBorders");int=o(async(t,e)=>{let r;e.classes?r="node "+e.classes:r="node default";let n=t.insert("g").attr("class",r).attr("id",e.domId||e.id),i=n.insert("rect",":first-child"),a=n.insert("line"),s=n.insert("g").attr("class","label"),l=e.labelText.flat?e.labelText.flat():e.labelText,u="";typeof l=="object"?u=l[0]:u=l,X.info("Label text abc79",u,l,typeof l=="object");let h=s.node().appendChild(await xs(u,e.labelStyle,!0,!0)),f={width:0,height:0};if(mr(ge().flowchart.htmlLabels)){let y=h.children[0],v=Ge(h);f=y.getBoundingClientRect(),v.attr("width",f.width),v.attr("height",f.height)}X.info("Text 2",l);let d=l.slice(1,l.length),p=h.getBBox(),m=s.node().appendChild(await xs(d.join?d.join("
    "):d,e.labelStyle,!0,!0));if(mr(ge().flowchart.htmlLabels)){let y=m.children[0],v=Ge(m);f=y.getBoundingClientRect(),v.attr("width",f.width),v.attr("height",f.height)}let g=e.padding/2;return Ge(m).attr("transform","translate( "+(f.width>p.width?0:(p.width-f.width)/2)+", "+(p.height+g+5)+")"),Ge(h).attr("transform","translate( "+(f.width{let{shapeSvg:r,bbox:n}=await Ri(t,e,vo(e,void 0),!0),i=n.height+e.padding,a=n.width+i/4+e.padding,s=r.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-a/2).attr("y",-i/2).attr("width",a).attr("height",i);return Qn(e,s),e.intersect=function(l){return Mn.rect(e,l)},r},"stadium"),snt=o(async(t,e)=>{let{shapeSvg:r,bbox:n,halfPadding:i}=await Ri(t,e,vo(e,void 0),!0),a=r.insert("circle",":first-child");return a.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),X.info("Circle main"),Qn(e,a),e.intersect=function(s){return X.info("Circle intersect",e,n.width/2+i,s),Mn.circle(e,n.width/2+i,s)},r},"circle"),ont=o(async(t,e)=>{let{shapeSvg:r,bbox:n,halfPadding:i}=await Ri(t,e,vo(e,void 0),!0),a=5,s=r.insert("g",":first-child"),l=s.insert("circle"),u=s.insert("circle");return s.attr("class",e.class),l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i+a).attr("width",n.width+e.padding+a*2).attr("height",n.height+e.padding+a*2),u.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),X.info("DoubleCircle main"),Qn(e,l),e.intersect=function(h){return X.info("DoubleCircle intersect",e,n.width/2+i+a,h),Mn.circle(e,n.width/2+i+a,h)},r},"doublecircle"),lnt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,vo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:0,y:0},{x:i,y:0},{x:i,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],l=ql(r,i,a,s);return l.attr("style",e.style),Qn(e,l),e.intersect=function(u){return Mn.polygon(e,s,u)},r},"subroutine"),cnt=o((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),n=r.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),Qn(e,n),e.intersect=function(i){return Mn.circle(e,7,i)},r},"start"),g2e=o((t,e,r)=>{let n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=70,a=10;r==="LR"&&(i=10,a=70);let s=n.append("rect").attr("x",-1*i/2).attr("y",-1*a/2).attr("width",i).attr("height",a).attr("class","fork-join");return Qn(e,s),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(l){return Mn.rect(e,l)},n},"forkJoin"),unt=o((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),n=r.insert("circle",":first-child"),i=r.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),n.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),Qn(e,i),e.intersect=function(a){return Mn.circle(e,7,a)},r},"end"),hnt=o(async(t,e)=>{let r=e.padding/2,n=4,i=8,a;e.classes?a="node "+e.classes:a="node default";let s=t.insert("g").attr("class",a).attr("id",e.domId||e.id),l=s.insert("rect",":first-child"),u=s.insert("line"),h=s.insert("line"),f=0,d=n,p=s.insert("g").attr("class","label"),m=0,g=e.classData.annotations?.[0],y=e.classData.annotations[0]?"\xAB"+e.classData.annotations[0]+"\xBB":"",v=p.node().appendChild(await xs(y,e.labelStyle,!0,!0)),x=v.getBBox();if(mr(ge().flowchart.htmlLabels)){let A=v.children[0],D=Ge(v);x=A.getBoundingClientRect(),D.attr("width",x.width),D.attr("height",x.height)}e.classData.annotations[0]&&(d+=x.height+n,f+=x.width);let b=e.classData.label;e.classData.type!==void 0&&e.classData.type!==""&&(ge().flowchart.htmlLabels?b+="<"+e.classData.type+">":b+="<"+e.classData.type+">");let T=p.node().appendChild(await xs(b,e.labelStyle,!0,!0));Ge(T).attr("class","classTitle");let C=T.getBBox();if(mr(ge().flowchart.htmlLabels)){let A=T.children[0],D=Ge(T);C=A.getBoundingClientRect(),D.attr("width",C.width),D.attr("height",C.height)}d+=C.height+n,C.width>f&&(f=C.width);let w=[];e.classData.members.forEach(async A=>{let D=A.getDisplayDetails(),O=D.displayText;ge().flowchart.htmlLabels&&(O=O.replace(//g,">"));let R=p.node().appendChild(await xs(O,D.cssStyle?D.cssStyle:e.labelStyle,!0,!0)),k=R.getBBox();if(mr(ge().flowchart.htmlLabels)){let L=R.children[0],S=Ge(R);k=L.getBoundingClientRect(),S.attr("width",k.width),S.attr("height",k.height)}k.width>f&&(f=k.width),d+=k.height+n,w.push(R)}),d+=i;let E=[];if(e.classData.methods.forEach(async A=>{let D=A.getDisplayDetails(),O=D.displayText;ge().flowchart.htmlLabels&&(O=O.replace(//g,">"));let R=p.node().appendChild(await xs(O,D.cssStyle?D.cssStyle:e.labelStyle,!0,!0)),k=R.getBBox();if(mr(ge().flowchart.htmlLabels)){let L=R.children[0],S=Ge(R);k=L.getBoundingClientRect(),S.attr("width",k.width),S.attr("height",k.height)}k.width>f&&(f=k.width),d+=k.height+n,E.push(R)}),d+=i,g){let A=(f-x.width)/2;Ge(v).attr("transform","translate( "+(-1*f/2+A)+", "+-1*d/2+")"),m=x.height+n}let _=(f-C.width)/2;return Ge(T).attr("transform","translate( "+(-1*f/2+_)+", "+(-1*d/2+m)+")"),m+=C.height+n,u.attr("class","divider").attr("x1",-f/2-r).attr("x2",f/2+r).attr("y1",-d/2-r+i+m).attr("y2",-d/2-r+i+m),m+=i,w.forEach(A=>{Ge(A).attr("transform","translate( "+-f/2+", "+(-1*d/2+m+i/2)+")");let D=A?.getBBox();m+=(D?.height??0)+n}),m+=i,h.attr("class","divider").attr("x1",-f/2-r).attr("x2",f/2+r).attr("y1",-d/2-r+i+m).attr("y2",-d/2-r+i+m),m+=i,E.forEach(A=>{Ge(A).attr("transform","translate( "+-f/2+", "+(-1*d/2+m)+")");let D=A?.getBBox();m+=(D?.height??0)+n}),l.attr("style",e.style).attr("class","outer title-state").attr("x",-f/2-r).attr("y",-(d/2)-r).attr("width",f+e.padding).attr("height",d+e.padding),Qn(e,l),e.intersect=function(A){return Mn.rect(e,A)},s},"class_box"),y2e={rhombus:m2e,composite:rnt,question:m2e,rect:tnt,labelRect:nnt,rectWithTitle:int,choice:Wrt,circle:snt,doublecircle:ont,stadium:ant,hexagon:qrt,block_arrow:Yrt,rect_left_inv_arrow:Xrt,lean_right:jrt,lean_left:Krt,trapezoid:Qrt,inv_trapezoid:Zrt,rect_right_inv_arrow:Jrt,cylinder:ent,start:cnt,end:unt,note:f2e,subroutine:lnt,fork:g2e,join:g2e,class_box:hnt},wC={},VF=o(async(t,e,r)=>{let n,i;if(e.link){let a;ge().securityLevel==="sandbox"?a="_top":e.linkTarget&&(a=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",a),i=await y2e[e.shape](n,e,r)}else i=await y2e[e.shape](t,e,r),n=i;return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),wC[e.id]=n,e.haveCallback&&wC[e.id].attr("class",wC[e.id].attr("class")+" clickable"),n},"insertNode"),v2e=o(t=>{let e=wC[t.id];X.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=8,n=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+n-t.width/2)+", "+(t.y-t.height/2-r)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),n},"positionNode")});function b2e(t,e,r=!1){let n=t,i="default";(n?.classes?.length||0)>0&&(i=(n?.classes??[]).join(" ")),i=i+" flowchart-label";let a=0,s="",l;switch(n.type){case"round":a=5,s="rect";break;case"composite":a=0,s="composite",l=0;break;case"square":s="rect";break;case"diamond":s="question";break;case"hexagon":s="hexagon";break;case"block_arrow":s="block_arrow";break;case"odd":s="rect_left_inv_arrow";break;case"lean_right":s="lean_right";break;case"lean_left":s="lean_left";break;case"trapezoid":s="trapezoid";break;case"inv_trapezoid":s="inv_trapezoid";break;case"rect_left_inv_arrow":s="rect_left_inv_arrow";break;case"circle":s="circle";break;case"ellipse":s="ellipse";break;case"stadium":s="stadium";break;case"subroutine":s="subroutine";break;case"cylinder":s="cylinder";break;case"group":s="rect";break;case"doublecircle":s="doublecircle";break;default:s="rect"}let u=C9(n?.styles??[]),h=n.label,f=n.size??{width:0,height:0,x:0,y:0};return{labelStyle:u.labelStyle,shape:s,labelText:h,rx:a,ry:a,class:i,style:u.style,id:n.id,directions:n.directions,width:f.width,height:f.height,x:f.x,y:f.y,positioned:r,intersect:void 0,type:n.type,padding:l??Qt()?.block?.padding??0}}async function fnt(t,e,r){let n=b2e(e,r,!1);if(n.type==="group")return;let i=Qt(),a=await VF(t,n,{config:i}),s=a.node().getBBox(),l=r.getBlock(n.id);l.size={width:s.width,height:s.height,x:0,y:0,node:a},r.setBlock(l),a.remove()}async function dnt(t,e,r){let n=b2e(e,r,!0);if(r.getBlock(n.id).type!=="space"){let a=Qt();await VF(t,n,{config:a}),e.intersect=n?.intersect,v2e(n)}}async function UF(t,e,r,n){for(let i of e)await n(t,i,r),i.children&&await UF(t,i.children,r,n)}async function T2e(t,e,r){await UF(t,e,r,fnt)}async function w2e(t,e,r){await UF(t,e,r,dnt)}async function k2e(t,e,r,n,i){let a=new an({multigraph:!0,compound:!0});a.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let s of r)s.size&&a.setNode(s.id,{width:s.size.width,height:s.size.height,intersect:s.intersect});for(let s of e)if(s.start&&s.end){let l=n.getBlock(s.start),u=n.getBlock(s.end);if(l?.size&&u?.size){let h=l.size,f=u.size,d=[{x:h.x,y:h.y},{x:h.x+(f.x-h.x)/2,y:h.y+(f.y-h.y)/2},{x:f.x,y:f.y}];Qve(t,{v:s.start,w:s.end,name:s.id},{...s,arrowTypeEnd:s.arrowTypeEnd,arrowTypeStart:s.arrowTypeStart,points:d,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",a,i),s.label&&(await jve(t,{...s,label:s.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:s.arrowTypeEnd,arrowTypeStart:s.arrowTypeStart,points:d,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),Kve({...s,x:d[1].x,y:d[1].y},{originalPath:d}))}}}var E2e=N(()=>{"use strict";Uo();Jn();Zve();x2e();nr();o(b2e,"getNodeFromBlock");o(fnt,"calculateBlockSize");o(dnt,"insertBlockPositioned");o(UF,"performOperations");o(T2e,"calculateBlockSizes");o(w2e,"insertBlocks");o(k2e,"insertEdges")});var pnt,mnt,S2e,C2e=N(()=>{"use strict";pr();Jn();$ve();yt();yi();Uve();E2e();pnt=o(function(t,e){return e.db.getClasses()},"getClasses"),mnt=o(async function(t,e,r,n){let{securityLevel:i,block:a}=Qt(),s=n.db,l;i==="sandbox"&&(l=Ge("#i"+e));let u=i==="sandbox"?Ge(l.nodes()[0].contentDocument.body):Ge("body"),h=i==="sandbox"?u.select(`[id="${e}"]`):Ge(`[id="${e}"]`);Fve(h,["point","circle","cross"],n.type,e);let d=s.getBlocks(),p=s.getBlocksFlat(),m=s.getEdges(),g=h.insert("g").attr("class","block");await T2e(g,d,s);let y=Vve(s);if(await w2e(g,d,s),await k2e(g,m,p,s,e),y){let v=y,x=Math.max(1,Math.round(.125*(v.width/v.height))),b=v.height+x+10,T=v.width+10,{useMaxWidth:C}=a;hn(h,b,T,!!C),X.debug("Here Bounds",y,v),h.attr("viewBox",`${v.x-5} ${v.y-5} ${v.width+10} ${v.height+10}`)}},"draw"),S2e={draw:mnt,getClasses:pnt}});var A2e={};hr(A2e,{diagram:()=>gnt});var gnt,_2e=N(()=>{"use strict";_ve();Ove();Bve();C2e();gnt={parser:Ave,db:Ive,renderer:S2e,styles:Pve}});var HF,WF,_4,R2e,qF,Wa,eu,D4,N2e,bnt,L4,M2e,I2e,O2e,P2e,B2e,kC,Gf,EC=N(()=>{"use strict";HF={L:"left",R:"right",T:"top",B:"bottom"},WF={L:o(t=>`${t},${t/2} 0,${t} 0,0`,"L"),R:o(t=>`0,${t/2} ${t},0 ${t},${t}`,"R"),T:o(t=>`0,0 ${t},0 ${t/2},${t}`,"T"),B:o(t=>`${t/2},0 ${t},${t} 0,${t}`,"B")},_4={L:o((t,e)=>t-e+2,"L"),R:o((t,e)=>t-2,"R"),T:o((t,e)=>t-e+2,"T"),B:o((t,e)=>t-2,"B")},R2e=o(function(t){return Wa(t)?t==="L"?"R":"L":t==="T"?"B":"T"},"getOppositeArchitectureDirection"),qF=o(function(t){let e=t;return e==="L"||e==="R"||e==="T"||e==="B"},"isArchitectureDirection"),Wa=o(function(t){let e=t;return e==="L"||e==="R"},"isArchitectureDirectionX"),eu=o(function(t){let e=t;return e==="T"||e==="B"},"isArchitectureDirectionY"),D4=o(function(t,e){let r=Wa(t)&&eu(e),n=eu(t)&&Wa(e);return r||n},"isArchitectureDirectionXY"),N2e=o(function(t){let e=t[0],r=t[1],n=Wa(e)&&eu(r),i=eu(e)&&Wa(r);return n||i},"isArchitecturePairXY"),bnt=o(function(t){return t!=="LL"&&t!=="RR"&&t!=="TT"&&t!=="BB"},"isValidArchitectureDirectionPair"),L4=o(function(t,e){let r=`${t}${e}`;return bnt(r)?r:void 0},"getArchitectureDirectionPair"),M2e=o(function([t,e],r){let n=r[0],i=r[1];return Wa(n)?eu(i)?[t+(n==="L"?-1:1),e+(i==="T"?1:-1)]:[t+(n==="L"?-1:1),e]:Wa(i)?[t+(i==="L"?1:-1),e+(n==="T"?1:-1)]:[t,e+(n==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),I2e=o(function(t){return t==="LT"||t==="TL"?[1,1]:t==="BL"||t==="LB"?[1,-1]:t==="BR"||t==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),O2e=o(function(t,e){return D4(t,e)?"bend":Wa(t)?"horizontal":"vertical"},"getArchitectureDirectionAlignment"),P2e=o(function(t){return t.type==="service"},"isArchitectureService"),B2e=o(function(t){return t.type==="junction"},"isArchitectureJunction"),kC=o(t=>t.data(),"edgeData"),Gf=o(t=>t.data(),"nodeData")});var Tnt,my,YF=N(()=>{"use strict";Jn();Ca();nr();ci();EC();Tnt=lr.architecture,my=class{constructor(){this.nodes={};this.groups={};this.edges=[];this.registeredIds={};this.elements={};this.setAccTitle=Cr;this.getAccTitle=_r;this.setDiagramTitle=Ir;this.getDiagramTitle=Rr;this.getAccDescription=Lr;this.setAccDescription=Dr;this.clear()}static{o(this,"ArchitectureDB")}clear(){this.nodes={},this.groups={},this.edges=[],this.registeredIds={},this.dataStructures=void 0,this.elements={},wr()}addService({id:e,icon:r,in:n,title:i,iconText:a}){if(this.registeredIds[e]!==void 0)throw new Error(`The service id [${e}] is already in use by another ${this.registeredIds[e]}`);if(n!==void 0){if(e===n)throw new Error(`The service [${e}] cannot be placed within itself`);if(this.registeredIds[n]===void 0)throw new Error(`The service [${e}]'s parent does not exist. Please make sure the parent is created before this service`);if(this.registeredIds[n]==="node")throw new Error(`The service [${e}]'s parent is not a group`)}this.registeredIds[e]="node",this.nodes[e]={id:e,type:"service",icon:r,iconText:a,title:i,edges:[],in:n}}getServices(){return Object.values(this.nodes).filter(P2e)}addJunction({id:e,in:r}){this.registeredIds[e]="node",this.nodes[e]={id:e,type:"junction",edges:[],in:r}}getJunctions(){return Object.values(this.nodes).filter(B2e)}getNodes(){return Object.values(this.nodes)}getNode(e){return this.nodes[e]??null}addGroup({id:e,icon:r,in:n,title:i}){if(this.registeredIds?.[e]!==void 0)throw new Error(`The group id [${e}] is already in use by another ${this.registeredIds[e]}`);if(n!==void 0){if(e===n)throw new Error(`The group [${e}] cannot be placed within itself`);if(this.registeredIds?.[n]===void 0)throw new Error(`The group [${e}]'s parent does not exist. Please make sure the parent is created before this group`);if(this.registeredIds?.[n]==="node")throw new Error(`The group [${e}]'s parent is not a group`)}this.registeredIds[e]="group",this.groups[e]={id:e,icon:r,title:i,in:n}}getGroups(){return Object.values(this.groups)}addEdge({lhsId:e,rhsId:r,lhsDir:n,rhsDir:i,lhsInto:a,rhsInto:s,lhsGroup:l,rhsGroup:u,title:h}){if(!qF(n))throw new Error(`Invalid direction given for left hand side of edge ${e}--${r}. Expected (L,R,T,B) got ${String(n)}`);if(!qF(i))throw new Error(`Invalid direction given for right hand side of edge ${e}--${r}. Expected (L,R,T,B) got ${String(i)}`);if(this.nodes[e]===void 0&&this.groups[e]===void 0)throw new Error(`The left-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(this.nodes[r]===void 0&&this.groups[r]===void 0)throw new Error(`The right-hand id [${r}] does not yet exist. Please create the service/group before declaring an edge to it.`);let f=this.nodes[e].in,d=this.nodes[r].in;if(l&&f&&d&&f==d)throw new Error(`The left-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(u&&f&&d&&f==d)throw new Error(`The right-hand id [${r}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);let p={lhsId:e,lhsDir:n,lhsInto:a,lhsGroup:l,rhsId:r,rhsDir:i,rhsInto:s,rhsGroup:u,title:h};this.edges.push(p),this.nodes[e]&&this.nodes[r]&&(this.nodes[e].edges.push(this.edges[this.edges.length-1]),this.nodes[r].edges.push(this.edges[this.edges.length-1]))}getEdges(){return this.edges}getDataStructures(){if(this.dataStructures===void 0){let e={},r=Object.entries(this.nodes).reduce((u,[h,f])=>(u[h]=f.edges.reduce((d,p)=>{let m=this.getNode(p.lhsId)?.in,g=this.getNode(p.rhsId)?.in;if(m&&g&&m!==g){let y=O2e(p.lhsDir,p.rhsDir);y!=="bend"&&(e[m]??={},e[m][g]=y,e[g]??={},e[g][m]=y)}if(p.lhsId===h){let y=L4(p.lhsDir,p.rhsDir);y&&(d[y]=p.rhsId)}else{let y=L4(p.rhsDir,p.lhsDir);y&&(d[y]=p.lhsId)}return d},{}),u),{}),n=Object.keys(r)[0],i={[n]:1},a=Object.keys(r).reduce((u,h)=>h===n?u:{...u,[h]:1},{}),s=o(u=>{let h={[u]:[0,0]},f=[u];for(;f.length>0;){let d=f.shift();if(d){i[d]=1,delete a[d];let p=r[d],[m,g]=h[d];Object.entries(p).forEach(([y,v])=>{i[v]||(h[v]=M2e([m,g],y),f.push(v))})}}return h},"BFS"),l=[s(n)];for(;Object.keys(a).length>0;)l.push(s(Object.keys(a)[0]));this.dataStructures={adjList:r,spatialMaps:l,groupAlignments:e}}return this.dataStructures}setElementForId(e,r){this.elements[e]=r}getElementById(e){return this.elements[e]}getConfig(){return Fn({...Tnt,...Qt().architecture})}getConfigField(e){return this.getConfig()[e]}}});var wnt,XF,F2e=N(()=>{"use strict";gf();yt();Dp();YF();wnt=o((t,e)=>{Qo(t,e),t.groups.map(r=>e.addGroup(r)),t.services.map(r=>e.addService({...r,type:"service"})),t.junctions.map(r=>e.addJunction({...r,type:"junction"})),t.edges.map(r=>e.addEdge(r))},"populateDb"),XF={parser:{yy:void 0},parse:o(async t=>{let e=await ps("architecture",t);X.debug(e);let r=XF.parser?.yy;if(!(r instanceof my))throw new Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");wnt(e,r)},"parse")}});var knt,$2e,z2e=N(()=>{"use strict";knt=o(t=>` + node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let n=t.x,i=t.y,a=Math.abs(n-r.x),s=t.width/2,l=r.xMath.abs(n-e.x)*u){let d=r.y{X.debug("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],i=!1;return t.forEach(a=>{if(!Frt(e,a)&&!i){let s=$rt(e,n,a),l=!1;r.forEach(u=>{l=l||u.x===s.x&&u.y===s.y}),r.some(u=>u.x===s.x&&u.y===s.y)||r.push(s),i=!0}else n=a,i||r.push(a)}),r},"cutPathAtIntersect"),p2e=o(function(t,e,r,n,i,a,s){let l=r.points;X.debug("abc88 InsertEdge: edge=",r,"e=",e);let u=!1,h=a.node(e.v);var f=a.node(e.w);f?.intersect&&h?.intersect&&(l=l.slice(1,r.points.length-1),l.unshift(h.intersect(l[0])),l.push(f.intersect(l[l.length-1]))),r.toCluster&&(X.debug("to cluster abc88",n[r.toCluster]),l=h2e(r.points,n[r.toCluster].node),u=!0),r.fromCluster&&(X.debug("from cluster abc88",n[r.fromCluster]),l=h2e(l.reverse(),n[r.fromCluster].node).reverse(),u=!0);let d=l.filter(S=>!Number.isNaN(S.y)),p=Ro;r.curve&&(i==="graph"||i==="flowchart")&&(p=r.curve);let{x:m,y:g}=hw(r),y=Cl().x(m).y(g).curve(p),x;switch(r.thickness){case"normal":x="edge-thickness-normal";break;case"thick":x="edge-thickness-thick";break;case"invisible":x="edge-thickness-thick";break;default:x=""}switch(r.pattern){case"solid":x+=" edge-pattern-solid";break;case"dotted":x+=" edge-pattern-dotted";break;case"dashed":x+=" edge-pattern-dashed";break}let v=t.append("path").attr("d",y(d)).attr("id",r.id).attr("class"," "+x+(r.classes?" "+r.classes:"")).attr("style",r.style),b="";(ge().flowchart.arrowMarkerAbsolute||ge().state.arrowMarkerAbsolute)&&(b=du(!0)),c2e(v,r,b,s,i);let T={};return u&&(T.updatedPath=l),T.originalPath=r.points,T},"insertEdge")});var Grt,g2e,y2e=N(()=>{"use strict";Grt=o(t=>{let e=new Set;for(let r of t)switch(r){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(r);break}return e},"expandAndDeduplicateDirections"),g2e=o((t,e,r)=>{let n=Grt(t),i=2,a=e.height+2*r.padding,s=a/i,l=e.width+2*s+r.padding,u=r.padding/2;return n.has("right")&&n.has("left")&&n.has("up")&&n.has("down")?[{x:0,y:0},{x:s,y:0},{x:l/2,y:2*u},{x:l-s,y:0},{x:l,y:0},{x:l,y:-a/3},{x:l+2*u,y:-a/2},{x:l,y:-2*a/3},{x:l,y:-a},{x:l-s,y:-a},{x:l/2,y:-a-2*u},{x:s,y:-a},{x:0,y:-a},{x:0,y:-2*a/3},{x:-2*u,y:-a/2},{x:0,y:-a/3}]:n.has("right")&&n.has("left")&&n.has("up")?[{x:s,y:0},{x:l-s,y:0},{x:l,y:-a/2},{x:l-s,y:-a},{x:s,y:-a},{x:0,y:-a/2}]:n.has("right")&&n.has("left")&&n.has("down")?[{x:0,y:0},{x:s,y:-a},{x:l-s,y:-a},{x:l,y:0}]:n.has("right")&&n.has("up")&&n.has("down")?[{x:0,y:0},{x:l,y:-s},{x:l,y:-a+s},{x:0,y:-a}]:n.has("left")&&n.has("up")&&n.has("down")?[{x:l,y:0},{x:0,y:-s},{x:0,y:-a+s},{x:l,y:-a}]:n.has("right")&&n.has("left")?[{x:s,y:0},{x:s,y:-u},{x:l-s,y:-u},{x:l-s,y:0},{x:l,y:-a/2},{x:l-s,y:-a},{x:l-s,y:-a+u},{x:s,y:-a+u},{x:s,y:-a},{x:0,y:-a/2}]:n.has("up")&&n.has("down")?[{x:l/2,y:0},{x:0,y:-u},{x:s,y:-u},{x:s,y:-a+u},{x:0,y:-a+u},{x:l/2,y:-a},{x:l,y:-a+u},{x:l-s,y:-a+u},{x:l-s,y:-u},{x:l,y:-u}]:n.has("right")&&n.has("up")?[{x:0,y:0},{x:l,y:-s},{x:0,y:-a}]:n.has("right")&&n.has("down")?[{x:0,y:0},{x:l,y:0},{x:0,y:-a}]:n.has("left")&&n.has("up")?[{x:l,y:0},{x:0,y:-s},{x:l,y:-a}]:n.has("left")&&n.has("down")?[{x:l,y:0},{x:0,y:0},{x:l,y:-a}]:n.has("right")?[{x:s,y:-u},{x:s,y:-u},{x:l-s,y:-u},{x:l-s,y:0},{x:l,y:-a/2},{x:l-s,y:-a},{x:l-s,y:-a+u},{x:s,y:-a+u},{x:s,y:-a+u}]:n.has("left")?[{x:s,y:0},{x:s,y:-u},{x:l-s,y:-u},{x:l-s,y:-a+u},{x:s,y:-a+u},{x:s,y:-a},{x:0,y:-a/2}]:n.has("up")?[{x:s,y:-u},{x:s,y:-a+u},{x:0,y:-a+u},{x:l/2,y:-a},{x:l,y:-a+u},{x:l-s,y:-a+u},{x:l-s,y:-u}]:n.has("down")?[{x:l/2,y:0},{x:0,y:-u},{x:s,y:-u},{x:s,y:-a+u},{x:l-s,y:-a+u},{x:l-s,y:-u},{x:l,y:-u}]:[{x:0,y:0}]},"getArrowPoints")});function zrt(t,e){return t.intersect(e)}var v2e,x2e=N(()=>{"use strict";o(zrt,"intersectNode");v2e=zrt});function Vrt(t,e,r,n){var i=t.x,a=t.y,s=i-n.x,l=a-n.y,u=Math.sqrt(e*e*l*l+r*r*s*s),h=Math.abs(e*r*s/u);n.x{"use strict";o(Vrt,"intersectEllipse");DC=Vrt});function Urt(t,e,r){return DC(t,e,e,r)}var b2e,T2e=N(()=>{"use strict";jF();o(Urt,"intersectCircle");b2e=Urt});function Hrt(t,e,r,n){var i,a,s,l,u,h,f,d,p,m,g,y,x,v,b;if(i=e.y-t.y,s=t.x-e.x,u=e.x*t.y-t.x*e.y,p=i*r.x+s*r.y+u,m=i*n.x+s*n.y+u,!(p!==0&&m!==0&&w2e(p,m))&&(a=n.y-r.y,l=r.x-n.x,h=n.x*r.y-r.x*n.y,f=a*t.x+l*t.y+h,d=a*e.x+l*e.y+h,!(f!==0&&d!==0&&w2e(f,d))&&(g=i*l-a*s,g!==0)))return y=Math.abs(g/2),x=s*h-l*u,v=x<0?(x-y)/g:(x+y)/g,x=a*u-i*h,b=x<0?(x-y)/g:(x+y)/g,{x:v,y:b}}function w2e(t,e){return t*e>0}var k2e,E2e=N(()=>{"use strict";o(Hrt,"intersectLine");o(w2e,"sameSign");k2e=Hrt});function Wrt(t,e,r){var n=t.x,i=t.y,a=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;typeof e.forEach=="function"?e.forEach(function(g){s=Math.min(s,g.x),l=Math.min(l,g.y)}):(s=Math.min(s,e.x),l=Math.min(l,e.y));for(var u=n-t.width/2-s,h=i-t.height/2-l,f=0;f1&&a.sort(function(g,y){var x=g.x-r.x,v=g.y-r.y,b=Math.sqrt(x*x+v*v),T=y.x-r.x,S=y.y-r.y,w=Math.sqrt(T*T+S*S);return b{"use strict";E2e();S2e=Wrt;o(Wrt,"intersectPolygon")});var qrt,A2e,_2e=N(()=>{"use strict";qrt=o((t,e)=>{var r=t.x,n=t.y,i=e.x-r,a=e.y-n,s=t.width/2,l=t.height/2,u,h;return Math.abs(a)*s>Math.abs(i)*l?(a<0&&(l=-l),u=a===0?0:l*i/a,h=l):(i<0&&(s=-s),u=s,h=i===0?0:s*a/i),{x:r+u,y:n+h}},"intersectRect"),A2e=qrt});var Bn,KF=N(()=>{"use strict";x2e();T2e();jF();C2e();_2e();Bn={node:v2e,circle:b2e,ellipse:DC,polygon:S2e,rect:A2e}});function ql(t,e,r,n){return t.insert("polygon",":first-child").attr("points",n.map(function(i){return i.x+","+i.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}var Ri,ei,QF=N(()=>{"use strict";AC();$o();Xt();pr();dr();tr();Ri=o(async(t,e,r,n)=>{let i=ge(),a,s=e.useHtmlLabels||mr(i.flowchart.htmlLabels);r?a=r:a="node default";let l=t.insert("g").attr("class",a).attr("id",e.domId||e.id),u=l.insert("g").attr("class","label").attr("style",e.labelStyle),h;e.labelText===void 0?h="":h=typeof e.labelText=="string"?e.labelText:e.labelText[0];let f=u.node(),d;e.labelType==="markdown"?d=pi(u,ar(ea(h),i),{useHtmlLabels:s,width:e.width||i.flowchart.wrappingWidth,classes:"markdown-node-label"},i):d=f.appendChild(await ws(ar(ea(h),i),e.labelStyle,!1,n));let p=d.getBBox(),m=e.padding/2;if(mr(i.flowchart.htmlLabels)){let g=d.children[0],y=ze(d),x=g.getElementsByTagName("img");if(x){let v=h.replace(/]*>/g,"").trim()==="";await Promise.all([...x].map(b=>new Promise(T=>{function S(){if(b.style.display="flex",b.style.flexDirection="column",v){let w=i.fontSize?i.fontSize:window.getComputedStyle(document.body).fontSize,_=parseInt(w,10)*5+"px";b.style.minWidth=_,b.style.maxWidth=_}else b.style.width="100%";T(b)}o(S,"setupImage"),setTimeout(()=>{b.complete&&S()}),b.addEventListener("error",S),b.addEventListener("load",S)})))}p=g.getBoundingClientRect(),y.attr("width",p.width),y.attr("height",p.height)}return s?u.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"):u.attr("transform","translate(0, "+-p.height/2+")"),e.centerLabel&&u.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),u.insert("rect",":first-child"),{shapeSvg:l,bbox:p,halfPadding:m,label:u}},"labelHelper"),ei=o((t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds");o(ql,"insertPolygonShape")});var Yrt,D2e,L2e=N(()=>{"use strict";QF();pt();Xt();KF();Yrt=o(async(t,e)=>{e.useHtmlLabels||ge().flowchart.htmlLabels||(e.centerLabel=!0);let{shapeSvg:n,bbox:i,halfPadding:a}=await Ri(t,e,"node "+e.classes,!0);X.info("Classes = ",e.classes);let s=n.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-a).attr("y",-i.height/2-a).attr("width",i.width+e.padding).attr("height",i.height+e.padding),ei(e,s),e.intersect=function(l){return Bn.rect(e,l)},n},"note"),D2e=Yrt});function ZF(t,e,r,n){let i=[],a=o(l=>{i.push(l,0)},"addBorder"),s=o(l=>{i.push(0,l)},"skipBorder");e.includes("t")?(X.debug("add top border"),a(r)):s(r),e.includes("r")?(X.debug("add right border"),a(n)):s(n),e.includes("b")?(X.debug("add bottom border"),a(r)):s(r),e.includes("l")?(X.debug("add left border"),a(n)):s(n),t.attr("stroke-dasharray",i.join(" "))}var R2e,bo,N2e,Xrt,jrt,Krt,Qrt,Zrt,Jrt,ent,tnt,rnt,nnt,int,ant,snt,ont,lnt,cnt,unt,hnt,fnt,M2e,dnt,pnt,I2e,LC,JF,O2e,P2e=N(()=>{"use strict";pr();Xt();dr();pt();y2e();AC();KF();L2e();QF();R2e=o(t=>t?" "+t:"","formatClass"),bo=o((t,e)=>`${e||"node default"}${R2e(t.classes)} ${R2e(t.class)}`,"getClassesFromNode"),N2e=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,bo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=i+a,l=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}];X.info("Question main (Circle)");let u=ql(r,s,s,l);return u.attr("style",e.style),ei(e,u),e.intersect=function(h){return X.warn("Intersect called"),Bn.polygon(e,l,h)},r},"question"),Xrt=o((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),n=28,i=[{x:0,y:n/2},{x:n/2,y:0},{x:0,y:-n/2},{x:-n/2,y:0}];return r.insert("polygon",":first-child").attr("points",i.map(function(s){return s.x+","+s.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(s){return Bn.circle(e,14,s)},r},"choice"),jrt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,bo(e,void 0),!0),i=4,a=n.height+e.padding,s=a/i,l=n.width+2*s+e.padding,u=[{x:s,y:0},{x:l-s,y:0},{x:l,y:-a/2},{x:l-s,y:-a},{x:s,y:-a},{x:0,y:-a/2}],h=ql(r,l,a,u);return h.attr("style",e.style),ei(e,h),e.intersect=function(f){return Bn.polygon(e,u,f)},r},"hexagon"),Krt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,void 0,!0),i=2,a=n.height+2*e.padding,s=a/i,l=n.width+2*s+e.padding,u=g2e(e.directions,n,e),h=ql(r,l,a,u);return h.attr("style",e.style),ei(e,h),e.intersect=function(f){return Bn.polygon(e,u,f)},r},"block_arrow"),Qrt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,bo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:-a/2,y:0},{x:i,y:0},{x:i,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}];return ql(r,i,a,s).attr("style",e.style),e.width=i+a,e.height=a,e.intersect=function(u){return Bn.polygon(e,s,u)},r},"rect_left_inv_arrow"),Zrt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,bo(e),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:-2*a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:a/6,y:-a}],l=ql(r,i,a,s);return l.attr("style",e.style),ei(e,l),e.intersect=function(u){return Bn.polygon(e,s,u)},r},"lean_right"),Jrt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,bo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:2*a/6,y:0},{x:i+a/6,y:0},{x:i-2*a/6,y:-a},{x:-a/6,y:-a}],l=ql(r,i,a,s);return l.attr("style",e.style),ei(e,l),e.intersect=function(u){return Bn.polygon(e,s,u)},r},"lean_left"),ent=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,bo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:-2*a/6,y:0},{x:i+2*a/6,y:0},{x:i-a/6,y:-a},{x:a/6,y:-a}],l=ql(r,i,a,s);return l.attr("style",e.style),ei(e,l),e.intersect=function(u){return Bn.polygon(e,s,u)},r},"trapezoid"),tnt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,bo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:-2*a/6,y:-a}],l=ql(r,i,a,s);return l.attr("style",e.style),ei(e,l),e.intersect=function(u){return Bn.polygon(e,s,u)},r},"inv_trapezoid"),rnt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,bo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:0,y:0},{x:i+a/2,y:0},{x:i,y:-a/2},{x:i+a/2,y:-a},{x:0,y:-a}],l=ql(r,i,a,s);return l.attr("style",e.style),ei(e,l),e.intersect=function(u){return Bn.polygon(e,s,u)},r},"rect_right_inv_arrow"),nnt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,bo(e,void 0),!0),i=n.width+e.padding,a=i/2,s=a/(2.5+i/50),l=n.height+s+e.padding,u="M 0,"+s+" a "+a+","+s+" 0,0,0 "+i+" 0 a "+a+","+s+" 0,0,0 "+-i+" 0 l 0,"+l+" a "+a+","+s+" 0,0,0 "+i+" 0 l 0,"+-l,h=r.attr("label-offset-y",s).insert("path",":first-child").attr("style",e.style).attr("d",u).attr("transform","translate("+-i/2+","+-(l/2+s)+")");return ei(e,h),e.intersect=function(f){let d=Bn.rect(e,f),p=d.x-e.x;if(a!=0&&(Math.abs(p)e.height/2-s)){let m=s*s*(1-p*p/(a*a));m!=0&&(m=Math.sqrt(m)),m=s-m,f.y-e.y>0&&(m=-m),d.y+=m}return d},r},"cylinder"),int=o(async(t,e)=>{let{shapeSvg:r,bbox:n,halfPadding:i}=await Ri(t,e,"node "+e.classes+" "+e.class,!0),a=r.insert("rect",":first-child"),s=e.positioned?e.width:n.width+e.padding,l=e.positioned?e.height:n.height+e.padding,u=e.positioned?-s/2:-n.width/2-i,h=e.positioned?-l/2:-n.height/2-i;if(a.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",u).attr("y",h).attr("width",s).attr("height",l),e.props){let f=new Set(Object.keys(e.props));e.props.borders&&(ZF(a,e.props.borders,s,l),f.delete("borders")),f.forEach(d=>{X.warn(`Unknown node property ${d}`)})}return ei(e,a),e.intersect=function(f){return Bn.rect(e,f)},r},"rect"),ant=o(async(t,e)=>{let{shapeSvg:r,bbox:n,halfPadding:i}=await Ri(t,e,"node "+e.classes,!0),a=r.insert("rect",":first-child"),s=e.positioned?e.width:n.width+e.padding,l=e.positioned?e.height:n.height+e.padding,u=e.positioned?-s/2:-n.width/2-i,h=e.positioned?-l/2:-n.height/2-i;if(a.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",u).attr("y",h).attr("width",s).attr("height",l),e.props){let f=new Set(Object.keys(e.props));e.props.borders&&(ZF(a,e.props.borders,s,l),f.delete("borders")),f.forEach(d=>{X.warn(`Unknown node property ${d}`)})}return ei(e,a),e.intersect=function(f){return Bn.rect(e,f)},r},"composite"),snt=o(async(t,e)=>{let{shapeSvg:r}=await Ri(t,e,"label",!0);X.trace("Classes = ",e.class);let n=r.insert("rect",":first-child"),i=0,a=0;if(n.attr("width",i).attr("height",a),r.attr("class","label edgeLabel"),e.props){let s=new Set(Object.keys(e.props));e.props.borders&&(ZF(n,e.props.borders,i,a),s.delete("borders")),s.forEach(l=>{X.warn(`Unknown node property ${l}`)})}return ei(e,n),e.intersect=function(s){return Bn.rect(e,s)},r},"labelRect");o(ZF,"applyNodePropertyBorders");ont=o(async(t,e)=>{let r;e.classes?r="node "+e.classes:r="node default";let n=t.insert("g").attr("class",r).attr("id",e.domId||e.id),i=n.insert("rect",":first-child"),a=n.insert("line"),s=n.insert("g").attr("class","label"),l=e.labelText.flat?e.labelText.flat():e.labelText,u="";typeof l=="object"?u=l[0]:u=l,X.info("Label text abc79",u,l,typeof l=="object");let h=s.node().appendChild(await ws(u,e.labelStyle,!0,!0)),f={width:0,height:0};if(mr(ge().flowchart.htmlLabels)){let y=h.children[0],x=ze(h);f=y.getBoundingClientRect(),x.attr("width",f.width),x.attr("height",f.height)}X.info("Text 2",l);let d=l.slice(1,l.length),p=h.getBBox(),m=s.node().appendChild(await ws(d.join?d.join("
    "):d,e.labelStyle,!0,!0));if(mr(ge().flowchart.htmlLabels)){let y=m.children[0],x=ze(m);f=y.getBoundingClientRect(),x.attr("width",f.width),x.attr("height",f.height)}let g=e.padding/2;return ze(m).attr("transform","translate( "+(f.width>p.width?0:(p.width-f.width)/2)+", "+(p.height+g+5)+")"),ze(h).attr("transform","translate( "+(f.width{let{shapeSvg:r,bbox:n}=await Ri(t,e,bo(e,void 0),!0),i=n.height+e.padding,a=n.width+i/4+e.padding,s=r.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-a/2).attr("y",-i/2).attr("width",a).attr("height",i);return ei(e,s),e.intersect=function(l){return Bn.rect(e,l)},r},"stadium"),cnt=o(async(t,e)=>{let{shapeSvg:r,bbox:n,halfPadding:i}=await Ri(t,e,bo(e,void 0),!0),a=r.insert("circle",":first-child");return a.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),X.info("Circle main"),ei(e,a),e.intersect=function(s){return X.info("Circle intersect",e,n.width/2+i,s),Bn.circle(e,n.width/2+i,s)},r},"circle"),unt=o(async(t,e)=>{let{shapeSvg:r,bbox:n,halfPadding:i}=await Ri(t,e,bo(e,void 0),!0),a=5,s=r.insert("g",":first-child"),l=s.insert("circle"),u=s.insert("circle");return s.attr("class",e.class),l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i+a).attr("width",n.width+e.padding+a*2).attr("height",n.height+e.padding+a*2),u.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),X.info("DoubleCircle main"),ei(e,l),e.intersect=function(h){return X.info("DoubleCircle intersect",e,n.width/2+i+a,h),Bn.circle(e,n.width/2+i+a,h)},r},"doublecircle"),hnt=o(async(t,e)=>{let{shapeSvg:r,bbox:n}=await Ri(t,e,bo(e,void 0),!0),i=n.width+e.padding,a=n.height+e.padding,s=[{x:0,y:0},{x:i,y:0},{x:i,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],l=ql(r,i,a,s);return l.attr("style",e.style),ei(e,l),e.intersect=function(u){return Bn.polygon(e,s,u)},r},"subroutine"),fnt=o((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),n=r.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),ei(e,n),e.intersect=function(i){return Bn.circle(e,7,i)},r},"start"),M2e=o((t,e,r)=>{let n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=70,a=10;r==="LR"&&(i=10,a=70);let s=n.append("rect").attr("x",-1*i/2).attr("y",-1*a/2).attr("width",i).attr("height",a).attr("class","fork-join");return ei(e,s),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(l){return Bn.rect(e,l)},n},"forkJoin"),dnt=o((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),n=r.insert("circle",":first-child"),i=r.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),n.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),ei(e,i),e.intersect=function(a){return Bn.circle(e,7,a)},r},"end"),pnt=o(async(t,e)=>{let r=e.padding/2,n=4,i=8,a;e.classes?a="node "+e.classes:a="node default";let s=t.insert("g").attr("class",a).attr("id",e.domId||e.id),l=s.insert("rect",":first-child"),u=s.insert("line"),h=s.insert("line"),f=0,d=n,p=s.insert("g").attr("class","label"),m=0,g=e.classData.annotations?.[0],y=e.classData.annotations[0]?"\xAB"+e.classData.annotations[0]+"\xBB":"",x=p.node().appendChild(await ws(y,e.labelStyle,!0,!0)),v=x.getBBox();if(mr(ge().flowchart.htmlLabels)){let A=x.children[0],D=ze(x);v=A.getBoundingClientRect(),D.attr("width",v.width),D.attr("height",v.height)}e.classData.annotations[0]&&(d+=v.height+n,f+=v.width);let b=e.classData.label;e.classData.type!==void 0&&e.classData.type!==""&&(ge().flowchart.htmlLabels?b+="<"+e.classData.type+">":b+="<"+e.classData.type+">");let T=p.node().appendChild(await ws(b,e.labelStyle,!0,!0));ze(T).attr("class","classTitle");let S=T.getBBox();if(mr(ge().flowchart.htmlLabels)){let A=T.children[0],D=ze(T);S=A.getBoundingClientRect(),D.attr("width",S.width),D.attr("height",S.height)}d+=S.height+n,S.width>f&&(f=S.width);let w=[];e.classData.members.forEach(async A=>{let D=A.getDisplayDetails(),O=D.displayText;ge().flowchart.htmlLabels&&(O=O.replace(//g,">"));let R=p.node().appendChild(await ws(O,D.cssStyle?D.cssStyle:e.labelStyle,!0,!0)),k=R.getBBox();if(mr(ge().flowchart.htmlLabels)){let L=R.children[0],C=ze(R);k=L.getBoundingClientRect(),C.attr("width",k.width),C.attr("height",k.height)}k.width>f&&(f=k.width),d+=k.height+n,w.push(R)}),d+=i;let E=[];if(e.classData.methods.forEach(async A=>{let D=A.getDisplayDetails(),O=D.displayText;ge().flowchart.htmlLabels&&(O=O.replace(//g,">"));let R=p.node().appendChild(await ws(O,D.cssStyle?D.cssStyle:e.labelStyle,!0,!0)),k=R.getBBox();if(mr(ge().flowchart.htmlLabels)){let L=R.children[0],C=ze(R);k=L.getBoundingClientRect(),C.attr("width",k.width),C.attr("height",k.height)}k.width>f&&(f=k.width),d+=k.height+n,E.push(R)}),d+=i,g){let A=(f-v.width)/2;ze(x).attr("transform","translate( "+(-1*f/2+A)+", "+-1*d/2+")"),m=v.height+n}let _=(f-S.width)/2;return ze(T).attr("transform","translate( "+(-1*f/2+_)+", "+(-1*d/2+m)+")"),m+=S.height+n,u.attr("class","divider").attr("x1",-f/2-r).attr("x2",f/2+r).attr("y1",-d/2-r+i+m).attr("y2",-d/2-r+i+m),m+=i,w.forEach(A=>{ze(A).attr("transform","translate( "+-f/2+", "+(-1*d/2+m+i/2)+")");let D=A?.getBBox();m+=(D?.height??0)+n}),m+=i,h.attr("class","divider").attr("x1",-f/2-r).attr("x2",f/2+r).attr("y1",-d/2-r+i+m).attr("y2",-d/2-r+i+m),m+=i,E.forEach(A=>{ze(A).attr("transform","translate( "+-f/2+", "+(-1*d/2+m)+")");let D=A?.getBBox();m+=(D?.height??0)+n}),l.attr("style",e.style).attr("class","outer title-state").attr("x",-f/2-r).attr("y",-(d/2)-r).attr("width",f+e.padding).attr("height",d+e.padding),ei(e,l),e.intersect=function(A){return Bn.rect(e,A)},s},"class_box"),I2e={rhombus:N2e,composite:ant,question:N2e,rect:int,labelRect:snt,rectWithTitle:ont,choice:Xrt,circle:cnt,doublecircle:unt,stadium:lnt,hexagon:jrt,block_arrow:Krt,rect_left_inv_arrow:Qrt,lean_right:Zrt,lean_left:Jrt,trapezoid:ent,inv_trapezoid:tnt,rect_right_inv_arrow:rnt,cylinder:nnt,start:fnt,end:dnt,note:D2e,subroutine:hnt,fork:M2e,join:M2e,class_box:pnt},LC={},JF=o(async(t,e,r)=>{let n,i;if(e.link){let a;ge().securityLevel==="sandbox"?a="_top":e.linkTarget&&(a=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",a),i=await I2e[e.shape](n,e,r)}else i=await I2e[e.shape](t,e,r),n=i;return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),LC[e.id]=n,e.haveCallback&&LC[e.id].attr("class",LC[e.id].attr("class")+" clickable"),n},"insertNode"),O2e=o(t=>{let e=LC[t.id];X.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=8,n=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+n-t.width/2)+", "+(t.y-t.height/2-r)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),n},"positionNode")});function B2e(t,e,r=!1){let n=t,i="default";(n?.classes?.length||0)>0&&(i=(n?.classes??[]).join(" ")),i=i+" flowchart-label";let a=0,s="",l;switch(n.type){case"round":a=5,s="rect";break;case"composite":a=0,s="composite",l=0;break;case"square":s="rect";break;case"diamond":s="question";break;case"hexagon":s="hexagon";break;case"block_arrow":s="block_arrow";break;case"odd":s="rect_left_inv_arrow";break;case"lean_right":s="lean_right";break;case"lean_left":s="lean_left";break;case"trapezoid":s="trapezoid";break;case"inv_trapezoid":s="inv_trapezoid";break;case"rect_left_inv_arrow":s="rect_left_inv_arrow";break;case"circle":s="circle";break;case"ellipse":s="ellipse";break;case"stadium":s="stadium";break;case"subroutine":s="subroutine";break;case"cylinder":s="cylinder";break;case"group":s="rect";break;case"doublecircle":s="doublecircle";break;default:s="rect"}let u=IL(n?.styles??[]),h=n.label,f=n.size??{width:0,height:0,x:0,y:0};return{labelStyle:u.labelStyle,shape:s,labelText:h,rx:a,ry:a,class:i,style:u.style,id:n.id,directions:n.directions,width:f.width,height:f.height,x:f.x,y:f.y,positioned:r,intersect:void 0,type:n.type,padding:l??Qt()?.block?.padding??0}}async function mnt(t,e,r){let n=B2e(e,r,!1);if(n.type==="group")return;let i=Qt(),a=await JF(t,n,{config:i}),s=a.node().getBBox(),l=r.getBlock(n.id);l.size={width:s.width,height:s.height,x:0,y:0,node:a},r.setBlock(l),a.remove()}async function gnt(t,e,r){let n=B2e(e,r,!0);if(r.getBlock(n.id).type!=="space"){let a=Qt();await JF(t,n,{config:a}),e.intersect=n?.intersect,O2e(n)}}async function e$(t,e,r,n){for(let i of e)await n(t,i,r),i.children&&await e$(t,i.children,r,n)}async function F2e(t,e,r){await e$(t,e,r,mnt)}async function $2e(t,e,r){await e$(t,e,r,gnt)}async function G2e(t,e,r,n,i){let a=new sn({multigraph:!0,compound:!0});a.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let s of r)s.size&&a.setNode(s.id,{width:s.size.width,height:s.size.height,intersect:s.intersect});for(let s of e)if(s.start&&s.end){let l=n.getBlock(s.start),u=n.getBlock(s.end);if(l?.size&&u?.size){let h=l.size,f=u.size,d=[{x:h.x,y:h.y},{x:h.x+(f.x-h.x)/2,y:h.y+(f.y-h.y)/2},{x:f.x,y:f.y}];p2e(t,{v:s.start,w:s.end,name:s.id},{...s,arrowTypeEnd:s.arrowTypeEnd,arrowTypeStart:s.arrowTypeStart,points:d,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",a,i),s.label&&(await f2e(t,{...s,label:s.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:s.arrowTypeEnd,arrowTypeStart:s.arrowTypeStart,points:d,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),d2e({...s,x:d[1].x,y:d[1].y},{originalPath:d}))}}}var z2e=N(()=>{"use strict";Wo();Wn();m2e();P2e();tr();o(B2e,"getNodeFromBlock");o(mnt,"calculateBlockSize");o(gnt,"insertBlockPositioned");o(e$,"performOperations");o(F2e,"calculateBlockSizes");o($2e,"insertBlocks");o(G2e,"insertEdges")});var ynt,vnt,V2e,U2e=N(()=>{"use strict";pr();Wn();r2e();pt();Ci();s2e();z2e();ynt=o(function(t,e){return e.db.getClasses()},"getClasses"),vnt=o(async function(t,e,r,n){let{securityLevel:i,block:a}=Qt(),s=n.db,l;i==="sandbox"&&(l=ze("#i"+e));let u=i==="sandbox"?ze(l.nodes()[0].contentDocument.body):ze("body"),h=i==="sandbox"?u.select(`[id="${e}"]`):ze(`[id="${e}"]`);t2e(h,["point","circle","cross"],n.type,e);let d=s.getBlocks(),p=s.getBlocksFlat(),m=s.getEdges(),g=h.insert("g").attr("class","block");await F2e(g,d,s);let y=a2e(s);if(await $2e(g,d,s),await G2e(g,m,p,s,e),y){let x=y,v=Math.max(1,Math.round(.125*(x.width/x.height))),b=x.height+v+10,T=x.width+10,{useMaxWidth:S}=a;fn(h,b,T,!!S),X.debug("Here Bounds",y,x),h.attr("viewBox",`${x.x-5} ${x.y-5} ${x.width+10} ${x.height+10}`)}},"draw"),V2e={draw:vnt,getClasses:ynt}});var H2e={};ur(H2e,{diagram:()=>xnt});var xnt,W2e=N(()=>{"use strict";Wve();Zve();e2e();U2e();xnt={parser:Hve,db:Qve,renderer:V2e,styles:Jve}});var t$,r$,N4,X2e,n$,Ya,tu,M4,j2e,knt,I4,K2e,Q2e,Z2e,J2e,exe,RC,Kf,NC=N(()=>{"use strict";t$={L:"left",R:"right",T:"top",B:"bottom"},r$={L:o(t=>`${t},${t/2} 0,${t} 0,0`,"L"),R:o(t=>`0,${t/2} ${t},0 ${t},${t}`,"R"),T:o(t=>`0,0 ${t},0 ${t/2},${t}`,"T"),B:o(t=>`${t/2},0 ${t},${t} 0,${t}`,"B")},N4={L:o((t,e)=>t-e+2,"L"),R:o((t,e)=>t-2,"R"),T:o((t,e)=>t-e+2,"T"),B:o((t,e)=>t-2,"B")},X2e=o(function(t){return Ya(t)?t==="L"?"R":"L":t==="T"?"B":"T"},"getOppositeArchitectureDirection"),n$=o(function(t){let e=t;return e==="L"||e==="R"||e==="T"||e==="B"},"isArchitectureDirection"),Ya=o(function(t){let e=t;return e==="L"||e==="R"},"isArchitectureDirectionX"),tu=o(function(t){let e=t;return e==="T"||e==="B"},"isArchitectureDirectionY"),M4=o(function(t,e){let r=Ya(t)&&tu(e),n=tu(t)&&Ya(e);return r||n},"isArchitectureDirectionXY"),j2e=o(function(t){let e=t[0],r=t[1],n=Ya(e)&&tu(r),i=tu(e)&&Ya(r);return n||i},"isArchitecturePairXY"),knt=o(function(t){return t!=="LL"&&t!=="RR"&&t!=="TT"&&t!=="BB"},"isValidArchitectureDirectionPair"),I4=o(function(t,e){let r=`${t}${e}`;return knt(r)?r:void 0},"getArchitectureDirectionPair"),K2e=o(function([t,e],r){let n=r[0],i=r[1];return Ya(n)?tu(i)?[t+(n==="L"?-1:1),e+(i==="T"?1:-1)]:[t+(n==="L"?-1:1),e]:Ya(i)?[t+(i==="L"?1:-1),e+(n==="T"?1:-1)]:[t,e+(n==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Q2e=o(function(t){return t==="LT"||t==="TL"?[1,1]:t==="BL"||t==="LB"?[1,-1]:t==="BR"||t==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),Z2e=o(function(t,e){return M4(t,e)?"bend":Ya(t)?"horizontal":"vertical"},"getArchitectureDirectionAlignment"),J2e=o(function(t){return t.type==="service"},"isArchitectureService"),exe=o(function(t){return t.type==="junction"},"isArchitectureJunction"),RC=o(t=>t.data(),"edgeData"),Kf=o(t=>t.data(),"nodeData")});var Ent,gy,i$=N(()=>{"use strict";Wn();_a();tr();ui();NC();Ent=lr.architecture,gy=class{constructor(){this.nodes={};this.groups={};this.edges=[];this.registeredIds={};this.elements={};this.setAccTitle=Cr;this.getAccTitle=_r;this.setDiagramTitle=Or;this.getDiagramTitle=Rr;this.getAccDescription=Lr;this.setAccDescription=Dr;this.clear()}static{o(this,"ArchitectureDB")}clear(){this.nodes={},this.groups={},this.edges=[],this.registeredIds={},this.dataStructures=void 0,this.elements={},wr()}addService({id:e,icon:r,in:n,title:i,iconText:a}){if(this.registeredIds[e]!==void 0)throw new Error(`The service id [${e}] is already in use by another ${this.registeredIds[e]}`);if(n!==void 0){if(e===n)throw new Error(`The service [${e}] cannot be placed within itself`);if(this.registeredIds[n]===void 0)throw new Error(`The service [${e}]'s parent does not exist. Please make sure the parent is created before this service`);if(this.registeredIds[n]==="node")throw new Error(`The service [${e}]'s parent is not a group`)}this.registeredIds[e]="node",this.nodes[e]={id:e,type:"service",icon:r,iconText:a,title:i,edges:[],in:n}}getServices(){return Object.values(this.nodes).filter(J2e)}addJunction({id:e,in:r}){this.registeredIds[e]="node",this.nodes[e]={id:e,type:"junction",edges:[],in:r}}getJunctions(){return Object.values(this.nodes).filter(exe)}getNodes(){return Object.values(this.nodes)}getNode(e){return this.nodes[e]??null}addGroup({id:e,icon:r,in:n,title:i}){if(this.registeredIds?.[e]!==void 0)throw new Error(`The group id [${e}] is already in use by another ${this.registeredIds[e]}`);if(n!==void 0){if(e===n)throw new Error(`The group [${e}] cannot be placed within itself`);if(this.registeredIds?.[n]===void 0)throw new Error(`The group [${e}]'s parent does not exist. Please make sure the parent is created before this group`);if(this.registeredIds?.[n]==="node")throw new Error(`The group [${e}]'s parent is not a group`)}this.registeredIds[e]="group",this.groups[e]={id:e,icon:r,title:i,in:n}}getGroups(){return Object.values(this.groups)}addEdge({lhsId:e,rhsId:r,lhsDir:n,rhsDir:i,lhsInto:a,rhsInto:s,lhsGroup:l,rhsGroup:u,title:h}){if(!n$(n))throw new Error(`Invalid direction given for left hand side of edge ${e}--${r}. Expected (L,R,T,B) got ${String(n)}`);if(!n$(i))throw new Error(`Invalid direction given for right hand side of edge ${e}--${r}. Expected (L,R,T,B) got ${String(i)}`);if(this.nodes[e]===void 0&&this.groups[e]===void 0)throw new Error(`The left-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(this.nodes[r]===void 0&&this.groups[r]===void 0)throw new Error(`The right-hand id [${r}] does not yet exist. Please create the service/group before declaring an edge to it.`);let f=this.nodes[e].in,d=this.nodes[r].in;if(l&&f&&d&&f==d)throw new Error(`The left-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(u&&f&&d&&f==d)throw new Error(`The right-hand id [${r}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);let p={lhsId:e,lhsDir:n,lhsInto:a,lhsGroup:l,rhsId:r,rhsDir:i,rhsInto:s,rhsGroup:u,title:h};this.edges.push(p),this.nodes[e]&&this.nodes[r]&&(this.nodes[e].edges.push(this.edges[this.edges.length-1]),this.nodes[r].edges.push(this.edges[this.edges.length-1]))}getEdges(){return this.edges}getDataStructures(){if(this.dataStructures===void 0){let e={},r=Object.entries(this.nodes).reduce((u,[h,f])=>(u[h]=f.edges.reduce((d,p)=>{let m=this.getNode(p.lhsId)?.in,g=this.getNode(p.rhsId)?.in;if(m&&g&&m!==g){let y=Z2e(p.lhsDir,p.rhsDir);y!=="bend"&&(e[m]??={},e[m][g]=y,e[g]??={},e[g][m]=y)}if(p.lhsId===h){let y=I4(p.lhsDir,p.rhsDir);y&&(d[y]=p.rhsId)}else{let y=I4(p.rhsDir,p.lhsDir);y&&(d[y]=p.lhsId)}return d},{}),u),{}),n=Object.keys(r)[0],i={[n]:1},a=Object.keys(r).reduce((u,h)=>h===n?u:{...u,[h]:1},{}),s=o(u=>{let h={[u]:[0,0]},f=[u];for(;f.length>0;){let d=f.shift();if(d){i[d]=1,delete a[d];let p=r[d],[m,g]=h[d];Object.entries(p).forEach(([y,x])=>{i[x]||(h[x]=K2e([m,g],y),f.push(x))})}}return h},"BFS"),l=[s(n)];for(;Object.keys(a).length>0;)l.push(s(Object.keys(a)[0]));this.dataStructures={adjList:r,spatialMaps:l,groupAlignments:e}}return this.dataStructures}setElementForId(e,r){this.elements[e]=r}getElementById(e){return this.elements[e]}getConfig(){return Vn({...Ent,...Qt().architecture})}getConfigField(e){return this.getConfig()[e]}}});var Snt,a$,txe=N(()=>{"use strict";Ff();pt();Zp();i$();Snt=o((t,e)=>{nl(t,e),t.groups.map(r=>e.addGroup(r)),t.services.map(r=>e.addService({...r,type:"service"})),t.junctions.map(r=>e.addJunction({...r,type:"junction"})),t.edges.map(r=>e.addEdge(r))},"populateDb"),a$={parser:{yy:void 0},parse:o(async t=>{let e=await xs("architecture",t);X.debug(e);let r=a$.parser?.yy;if(!(r instanceof gy))throw new Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Snt(e,r)},"parse")}});var Cnt,rxe,nxe=N(()=>{"use strict";Cnt=o(t=>` .edge { stroke-width: ${t.archEdgeWidth}; stroke: ${t.archEdgeColor}; @@ -2580,11 +2615,11 @@ Expecting `+J.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":Se="Parse error o display: -webkit-box; -webkit-box-orient: vertical; } -`,"getStyles"),$2e=knt});var KF=Ii((R4,jF)=>{"use strict";o(function(e,r){typeof R4=="object"&&typeof jF=="object"?jF.exports=r():typeof define=="function"&&define.amd?define([],r):typeof R4=="object"?R4.layoutBase=r():e.layoutBase=r()},"webpackUniversalModuleDefinition")(R4,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return o(r,"__webpack_require__"),r.m=t,r.c=e,r.i=function(n){return n},r.d=function(n,i,a){r.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:a})},r.n=function(n){var i=n&&n.__esModule?o(function(){return n.default},"getDefault"):o(function(){return n},"getModuleExports");return r.d(i,"a",i),i},r.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},r.p="",r(r.s=28)}([function(t,e,r){"use strict";function n(){}o(n,"LayoutConstants"),n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(8),a=r(9);function s(u,h,f){n.call(this,f),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=f,this.bendpoints=[],this.source=u,this.target=h}o(s,"LEdge"),s.prototype=Object.create(n.prototype);for(var l in n)s[l]=n[l];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.prototype.getOtherEnd=function(u){if(this.source===u)return this.target;if(this.target===u)return this.source;throw"Node is not incident with this edge"},s.prototype.getOtherEndInGraph=function(u,h){for(var f=this.getOtherEnd(u),d=h.getGraphManager().getRoot();;){if(f.getOwner()==h)return f;if(f.getOwner()==d)break;f=f.getOwner().getParent()}return null},s.prototype.updateLength=function(){var u=new Array(4);this.isOverlapingSourceAndTarget=i.getIntersection(this.target.getRect(),this.source.getRect(),u),this.isOverlapingSourceAndTarget||(this.lengthX=u[0]-u[2],this.lengthY=u[1]-u[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,r){"use strict";function n(i){this.vGraphObject=i}o(n,"LGraphObject"),t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(10),a=r(13),s=r(0),l=r(16),u=r(5);function h(d,p,m,g){m==null&&g==null&&(g=p),n.call(this,g),d.graphManager!=null&&(d=d.graphManager),this.estimatedSize=i.MIN_VALUE,this.inclusionTreeDepth=i.MAX_VALUE,this.vGraphObject=g,this.edges=[],this.graphManager=d,m!=null&&p!=null?this.rect=new a(p.x,p.y,m.width,m.height):this.rect=new a}o(h,"LNode"),h.prototype=Object.create(n.prototype);for(var f in n)h[f]=n[f];h.prototype.getEdges=function(){return this.edges},h.prototype.getChild=function(){return this.child},h.prototype.getOwner=function(){return this.owner},h.prototype.getWidth=function(){return this.rect.width},h.prototype.setWidth=function(d){this.rect.width=d},h.prototype.getHeight=function(){return this.rect.height},h.prototype.setHeight=function(d){this.rect.height=d},h.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},h.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},h.prototype.getCenter=function(){return new u(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},h.prototype.getLocation=function(){return new u(this.rect.x,this.rect.y)},h.prototype.getRect=function(){return this.rect},h.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},h.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},h.prototype.setRect=function(d,p){this.rect.x=d.x,this.rect.y=d.y,this.rect.width=p.width,this.rect.height=p.height},h.prototype.setCenter=function(d,p){this.rect.x=d-this.rect.width/2,this.rect.y=p-this.rect.height/2},h.prototype.setLocation=function(d,p){this.rect.x=d,this.rect.y=p},h.prototype.moveBy=function(d,p){this.rect.x+=d,this.rect.y+=p},h.prototype.getEdgeListToNode=function(d){var p=[],m,g=this;return g.edges.forEach(function(y){if(y.target==d){if(y.source!=g)throw"Incorrect edge source!";p.push(y)}}),p},h.prototype.getEdgesBetween=function(d){var p=[],m,g=this;return g.edges.forEach(function(y){if(!(y.source==g||y.target==g))throw"Incorrect edge source and/or target";(y.target==d||y.source==d)&&p.push(y)}),p},h.prototype.getNeighborsList=function(){var d=new Set,p=this;return p.edges.forEach(function(m){if(m.source==p)d.add(m.target);else{if(m.target!=p)throw"Incorrect incidency!";d.add(m.source)}}),d},h.prototype.withChildren=function(){var d=new Set,p,m;if(d.add(this),this.child!=null)for(var g=this.child.getNodes(),y=0;yp?(this.rect.x-=(this.labelWidth-p)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(p+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(m+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>m?(this.rect.y-=(this.labelHeight-m)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(m+this.labelHeight))}}},h.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==i.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},h.prototype.transform=function(d){var p=this.rect.x;p>s.WORLD_BOUNDARY?p=s.WORLD_BOUNDARY:p<-s.WORLD_BOUNDARY&&(p=-s.WORLD_BOUNDARY);var m=this.rect.y;m>s.WORLD_BOUNDARY?m=s.WORLD_BOUNDARY:m<-s.WORLD_BOUNDARY&&(m=-s.WORLD_BOUNDARY);var g=new u(p,m),y=d.inverseTransformPoint(g);this.setLocation(y.x,y.y)},h.prototype.getLeft=function(){return this.rect.x},h.prototype.getRight=function(){return this.rect.x+this.rect.width},h.prototype.getTop=function(){return this.rect.y},h.prototype.getBottom=function(){return this.rect.y+this.rect.height},h.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},t.exports=h},function(t,e,r){"use strict";var n=r(0);function i(){}o(i,"FDLayoutConstants");for(var a in n)i[a]=n[a];i.MAX_ITERATIONS=2500,i.DEFAULT_EDGE_LENGTH=50,i.DEFAULT_SPRING_STRENGTH=.45,i.DEFAULT_REPULSION_STRENGTH=4500,i.DEFAULT_GRAVITY_STRENGTH=.4,i.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,i.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,i.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,i.COOLING_ADAPTATION_FACTOR=.33,i.ADAPTATION_LOWER_NODE_LIMIT=1e3,i.ADAPTATION_UPPER_NODE_LIMIT=5e3,i.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,i.MAX_NODE_DISPLACEMENT=i.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,i.MIN_REPULSION_DIST=i.DEFAULT_EDGE_LENGTH/10,i.CONVERGENCE_CHECK_PERIOD=100,i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,i.MIN_EDGE_LENGTH=1,i.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=i},function(t,e,r){"use strict";function n(i,a){i==null&&a==null?(this.x=0,this.y=0):(this.x=i,this.y=a)}o(n,"PointD"),n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(i){this.x=i},n.prototype.setY=function(i){this.y=i},n.prototype.getDifference=function(i){return new DimensionD(this.x-i.x,this.y-i.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(i){return this.x+=i.width,this.y+=i.height,this},t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(10),a=r(0),s=r(7),l=r(3),u=r(1),h=r(13),f=r(12),d=r(11);function p(g,y,v){n.call(this,v),this.estimatedSize=i.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=g,y!=null&&y instanceof s?this.graphManager=y:y!=null&&y instanceof Layout&&(this.graphManager=y.graphManager)}o(p,"LGraph"),p.prototype=Object.create(n.prototype);for(var m in n)p[m]=n[m];p.prototype.getNodes=function(){return this.nodes},p.prototype.getEdges=function(){return this.edges},p.prototype.getGraphManager=function(){return this.graphManager},p.prototype.getParent=function(){return this.parent},p.prototype.getLeft=function(){return this.left},p.prototype.getRight=function(){return this.right},p.prototype.getTop=function(){return this.top},p.prototype.getBottom=function(){return this.bottom},p.prototype.isConnected=function(){return this.isConnected},p.prototype.add=function(g,y,v){if(y==null&&v==null){var x=g;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(x)>-1)throw"Node already in graph!";return x.owner=this,this.getNodes().push(x),x}else{var b=g;if(!(this.getNodes().indexOf(y)>-1&&this.getNodes().indexOf(v)>-1))throw"Source or target not in graph!";if(!(y.owner==v.owner&&y.owner==this))throw"Both owners must be this graph!";return y.owner!=v.owner?null:(b.source=y,b.target=v,b.isInterGraph=!1,this.getEdges().push(b),y.edges.push(b),v!=y&&v.edges.push(b),b)}},p.prototype.remove=function(g){var y=g;if(g instanceof l){if(y==null)throw"Node is null!";if(!(y.owner!=null&&y.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var v=y.edges.slice(),x,b=v.length,T=0;T-1&&E>-1))throw"Source and/or target doesn't know this edge!";x.source.edges.splice(w,1),x.target!=x.source&&x.target.edges.splice(E,1);var C=x.source.owner.getEdges().indexOf(x);if(C==-1)throw"Not in owner's edge list!";x.source.owner.getEdges().splice(C,1)}},p.prototype.updateLeftTop=function(){for(var g=i.MAX_VALUE,y=i.MAX_VALUE,v,x,b,T=this.getNodes(),C=T.length,w=0;wv&&(g=v),y>x&&(y=x)}return g==i.MAX_VALUE?null:(T[0].getParent().paddingLeft!=null?b=T[0].getParent().paddingLeft:b=this.margin,this.left=y-b,this.top=g-b,new f(this.left,this.top))},p.prototype.updateBounds=function(g){for(var y=i.MAX_VALUE,v=-i.MAX_VALUE,x=i.MAX_VALUE,b=-i.MAX_VALUE,T,C,w,E,_,A=this.nodes,D=A.length,O=0;OT&&(y=T),vw&&(x=w),bT&&(y=T),vw&&(x=w),b=this.nodes.length){var D=0;v.forEach(function(O){O.owner==g&&D++}),D==this.nodes.length&&(this.isConnected=!0)}},t.exports=p},function(t,e,r){"use strict";var n,i=r(1);function a(s){n=r(6),this.layout=s,this.graphs=[],this.edges=[]}o(a,"LGraphManager"),a.prototype.addRoot=function(){var s=this.layout.newGraph(),l=this.layout.newNode(null),u=this.add(s,l);return this.setRootGraph(u),this.rootGraph},a.prototype.add=function(s,l,u,h,f){if(u==null&&h==null&&f==null){if(s==null)throw"Graph is null!";if(l==null)throw"Parent node is null!";if(this.graphs.indexOf(s)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(s),s.parent!=null)throw"Already has a parent!";if(l.child!=null)throw"Already has a child!";return s.parent=l,l.child=s,s}else{f=u,h=l,u=s;var d=h.getOwner(),p=f.getOwner();if(!(d!=null&&d.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(p!=null&&p.getGraphManager()==this))throw"Target not in this graph mgr!";if(d==p)return u.isInterGraph=!1,d.add(u,h,f);if(u.isInterGraph=!0,u.source=h,u.target=f,this.edges.indexOf(u)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(u),!(u.source!=null&&u.target!=null))throw"Edge source and/or target is null!";if(!(u.source.edges.indexOf(u)==-1&&u.target.edges.indexOf(u)==-1))throw"Edge already in source and/or target incidency list!";return u.source.edges.push(u),u.target.edges.push(u),u}},a.prototype.remove=function(s){if(s instanceof n){var l=s;if(l.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(l==this.rootGraph||l.parent!=null&&l.parent.graphManager==this))throw"Invalid parent node!";var u=[];u=u.concat(l.getEdges());for(var h,f=u.length,d=0;d=s.getRight()?l[0]+=Math.min(s.getX()-a.getX(),a.getRight()-s.getRight()):s.getX()<=a.getX()&&s.getRight()>=a.getRight()&&(l[0]+=Math.min(a.getX()-s.getX(),s.getRight()-a.getRight())),a.getY()<=s.getY()&&a.getBottom()>=s.getBottom()?l[1]+=Math.min(s.getY()-a.getY(),a.getBottom()-s.getBottom()):s.getY()<=a.getY()&&s.getBottom()>=a.getBottom()&&(l[1]+=Math.min(a.getY()-s.getY(),s.getBottom()-a.getBottom()));var f=Math.abs((s.getCenterY()-a.getCenterY())/(s.getCenterX()-a.getCenterX()));s.getCenterY()===a.getCenterY()&&s.getCenterX()===a.getCenterX()&&(f=1);var d=f*l[0],p=l[1]/f;l[0]d)return l[0]=u,l[1]=m,l[2]=f,l[3]=A,!1;if(hf)return l[0]=p,l[1]=h,l[2]=E,l[3]=d,!1;if(uf?(l[0]=y,l[1]=v,k=!0):(l[0]=g,l[1]=m,k=!0):S===M&&(u>f?(l[0]=p,l[1]=m,k=!0):(l[0]=x,l[1]=v,k=!0)),-I===M?f>u?(l[2]=_,l[3]=A,L=!0):(l[2]=E,l[3]=w,L=!0):I===M&&(f>u?(l[2]=C,l[3]=w,L=!0):(l[2]=D,l[3]=A,L=!0)),k&&L)return!1;if(u>f?h>d?(P=this.getCardinalDirection(S,M,4),B=this.getCardinalDirection(I,M,2)):(P=this.getCardinalDirection(-S,M,3),B=this.getCardinalDirection(-I,M,1)):h>d?(P=this.getCardinalDirection(-S,M,1),B=this.getCardinalDirection(-I,M,3)):(P=this.getCardinalDirection(S,M,2),B=this.getCardinalDirection(I,M,4)),!k)switch(P){case 1:z=m,F=u+-T/M,l[0]=F,l[1]=z;break;case 2:F=x,z=h+b*M,l[0]=F,l[1]=z;break;case 3:z=v,F=u+T/M,l[0]=F,l[1]=z;break;case 4:F=y,z=h+-b*M,l[0]=F,l[1]=z;break}if(!L)switch(B){case 1:U=w,$=f+-R/M,l[2]=$,l[3]=U;break;case 2:$=D,U=d+O*M,l[2]=$,l[3]=U;break;case 3:U=A,$=f+R/M,l[2]=$,l[3]=U;break;case 4:$=_,U=d+-O*M,l[2]=$,l[3]=U;break}}return!1},i.getCardinalDirection=function(a,s,l){return a>s?l:1+l%4},i.getIntersection=function(a,s,l,u){if(u==null)return this.getIntersection2(a,s,l);var h=a.x,f=a.y,d=s.x,p=s.y,m=l.x,g=l.y,y=u.x,v=u.y,x=void 0,b=void 0,T=void 0,C=void 0,w=void 0,E=void 0,_=void 0,A=void 0,D=void 0;return T=p-f,w=h-d,_=d*f-h*p,C=v-g,E=m-y,A=y*g-m*v,D=T*E-C*w,D===0?null:(x=(w*A-E*_)/D,b=(C*_-T*A)/D,new n(x,b))},i.angleOfVector=function(a,s,l,u){var h=void 0;return a!==l?(h=Math.atan((u-s)/(l-a)),l=0){var v=(-m+Math.sqrt(m*m-4*p*g))/(2*p),x=(-m-Math.sqrt(m*m-4*p*g))/(2*p),b=null;return v>=0&&v<=1?[v]:x>=0&&x<=1?[x]:b}else return null},i.HALF_PI=.5*Math.PI,i.ONE_AND_HALF_PI=1.5*Math.PI,i.TWO_PI=2*Math.PI,i.THREE_PI=3*Math.PI,t.exports=i},function(t,e,r){"use strict";function n(){}o(n,"IMath"),n.sign=function(i){return i>0?1:i<0?-1:0},n.floor=function(i){return i<0?Math.ceil(i):Math.floor(i)},n.ceil=function(i){return i<0?Math.floor(i):Math.ceil(i)},t.exports=n},function(t,e,r){"use strict";function n(){}o(n,"Integer"),n.MAX_VALUE=2147483647,n.MIN_VALUE=-2147483648,t.exports=n},function(t,e,r){"use strict";var n=function(){function h(f,d){for(var p=0;p"u"?"undefined":n(a);return a==null||s!="object"&&s!="function"},t.exports=i},function(t,e,r){"use strict";function n(m){if(Array.isArray(m)){for(var g=0,y=Array(m.length);g0&&g;){for(T.push(w[0]);T.length>0&&g;){var E=T[0];T.splice(0,1),b.add(E);for(var _=E.getEdges(),x=0;x<_.length;x++){var A=_[x].getOtherEnd(E);if(C.get(E)!=A)if(!b.has(A))T.push(A),C.set(A,E);else{g=!1;break}}}if(!g)m=[];else{var D=[].concat(n(b));m.push(D);for(var x=0;x-1&&w.splice(R,1)}b=new Set,C=new Map}}return m},p.prototype.createDummyNodesForBendpoints=function(m){for(var g=[],y=m.source,v=this.graphManager.calcLowestCommonAncestor(m.source,m.target),x=0;x0){for(var v=this.edgeToDummyNodes.get(y),x=0;x=0&&g.splice(A,1);var D=C.getNeighborsList();D.forEach(function(k){if(y.indexOf(k)<0){var L=v.get(k),S=L-1;S==1&&E.push(k),v.set(k,S)}})}y=y.concat(E),(g.length==1||g.length==2)&&(x=!0,b=g[0])}return b},p.prototype.setGraphManager=function(m){this.graphManager=m},t.exports=p},function(t,e,r){"use strict";function n(){}o(n,"RandomSeed"),n.seed=1,n.x=0,n.nextDouble=function(){return n.x=Math.sin(n.seed++)*1e4,n.x-Math.floor(n.x)},t.exports=n},function(t,e,r){"use strict";var n=r(5);function i(a,s){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}o(i,"Transform"),i.prototype.getWorldOrgX=function(){return this.lworldOrgX},i.prototype.setWorldOrgX=function(a){this.lworldOrgX=a},i.prototype.getWorldOrgY=function(){return this.lworldOrgY},i.prototype.setWorldOrgY=function(a){this.lworldOrgY=a},i.prototype.getWorldExtX=function(){return this.lworldExtX},i.prototype.setWorldExtX=function(a){this.lworldExtX=a},i.prototype.getWorldExtY=function(){return this.lworldExtY},i.prototype.setWorldExtY=function(a){this.lworldExtY=a},i.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},i.prototype.setDeviceOrgX=function(a){this.ldeviceOrgX=a},i.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},i.prototype.setDeviceOrgY=function(a){this.ldeviceOrgY=a},i.prototype.getDeviceExtX=function(){return this.ldeviceExtX},i.prototype.setDeviceExtX=function(a){this.ldeviceExtX=a},i.prototype.getDeviceExtY=function(){return this.ldeviceExtY},i.prototype.setDeviceExtY=function(a){this.ldeviceExtY=a},i.prototype.transformX=function(a){var s=0,l=this.lworldExtX;return l!=0&&(s=this.ldeviceOrgX+(a-this.lworldOrgX)*this.ldeviceExtX/l),s},i.prototype.transformY=function(a){var s=0,l=this.lworldExtY;return l!=0&&(s=this.ldeviceOrgY+(a-this.lworldOrgY)*this.ldeviceExtY/l),s},i.prototype.inverseTransformX=function(a){var s=0,l=this.ldeviceExtX;return l!=0&&(s=this.lworldOrgX+(a-this.ldeviceOrgX)*this.lworldExtX/l),s},i.prototype.inverseTransformY=function(a){var s=0,l=this.ldeviceExtY;return l!=0&&(s=this.lworldOrgY+(a-this.ldeviceOrgY)*this.lworldExtY/l),s},i.prototype.inverseTransformPoint=function(a){var s=new n(this.inverseTransformX(a.x),this.inverseTransformY(a.y));return s},t.exports=i},function(t,e,r){"use strict";function n(d){if(Array.isArray(d)){for(var p=0,m=Array(d.length);pa.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*a.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(d-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-a.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT_INCREMENTAL):(d>a.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(a.COOLING_ADAPTATION_FACTOR,1-(d-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*(1-a.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*a.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var d=this.getAllEdges(),p,m=0;m0&&arguments[0]!==void 0?arguments[0]:!0,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m,g,y,v,x=this.getAllNodes(),b;if(this.useFRGridVariant)for(this.totalIterations%a.GRID_CALCULATION_CHECK_PERIOD==1&&d&&this.updateGrid(),b=new Set,m=0;mT||b>T)&&(d.gravitationForceX=-this.gravityConstant*y,d.gravitationForceY=-this.gravityConstant*v)):(T=p.getEstimatedSize()*this.compoundGravityRangeFactor,(x>T||b>T)&&(d.gravitationForceX=-this.gravityConstant*y*this.compoundGravityConstant,d.gravitationForceY=-this.gravityConstant*v*this.compoundGravityConstant))},h.prototype.isConverged=function(){var d,p=!1;return this.totalIterations>this.maxIterations/3&&(p=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),d=this.totalDisplacement=x.length||T>=x[0].length)){for(var C=0;Ch},"_defaultCompareFunction")}]),l}();t.exports=s},function(t,e,r){"use strict";function n(){}o(n,"SVD"),n.svd=function(i){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=i.length,this.n=i[0].length;var a=Math.min(this.m,this.n);this.s=function(bt){for(var ht=[];bt-- >0;)ht.push(0);return ht}(Math.min(this.m+1,this.n)),this.U=function(bt){var ht=o(function St(ft){if(ft.length==0)return 0;for(var vt=[],nt=0;nt0;)ht.push(0);return ht}(this.n),l=function(bt){for(var ht=[];bt-- >0;)ht.push(0);return ht}(this.m),u=!0,h=!0,f=Math.min(this.m-1,this.n),d=Math.max(0,Math.min(this.n-2,this.m)),p=0;p=0;M--)if(this.s[M]!==0){for(var P=M+1;P=0;ee--){if(function(bt,ht){return bt&&ht}(ee0;){var le=void 0,J=void 0;for(le=L-2;le>=-1&&le!==-1;le--)if(Math.abs(s[le])<=he+te*(Math.abs(this.s[le])+Math.abs(this.s[le+1]))){s[le]=0;break}if(le===L-2)J=4;else{var Se=void 0;for(Se=L-1;Se>=le&&Se!==le;Se--){var se=(Se!==L?Math.abs(s[Se]):0)+(Se!==le+1?Math.abs(s[Se-1]):0);if(Math.abs(this.s[Se])<=he+te*se){this.s[Se]=0;break}}Se===le?J=3:Se===L-1?J=1:(J=2,le=Se)}switch(le++,J){case 1:{var ae=s[L-2];s[L-2]=0;for(var Oe=L-2;Oe>=le;Oe--){var ye=n.hypot(this.s[Oe],ae),Be=this.s[Oe]/ye,He=ae/ye;if(this.s[Oe]=ye,Oe!==le&&(ae=-He*s[Oe-1],s[Oe-1]=Be*s[Oe-1]),h)for(var ze=0;ze=this.s[le+1]);){var lt=this.s[le];if(this.s[le]=this.s[le+1],this.s[le+1]=lt,h&&leMath.abs(a)?(s=a/i,s=Math.abs(i)*Math.sqrt(1+s*s)):a!=0?(s=i/a,s=Math.abs(a)*Math.sqrt(1+s*s)):s=0,s},t.exports=n},function(t,e,r){"use strict";var n=function(){function s(l,u){for(var h=0;h2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;i(this,s),this.sequence1=l,this.sequence2=u,this.match_score=h,this.mismatch_penalty=f,this.gap_penalty=d,this.iMax=l.length+1,this.jMax=u.length+1,this.grid=new Array(this.iMax);for(var p=0;p=0;l--){var u=this.listeners[l];u.event===a&&u.callback===s&&this.listeners.splice(l,1)}},i.emit=function(a,s){for(var l=0;l{"use strict";o(function(e,r){typeof N4=="object"&&typeof QF=="object"?QF.exports=r(KF()):typeof define=="function"&&define.amd?define(["layout-base"],r):typeof N4=="object"?N4.coseBase=r(KF()):e.coseBase=r(e.layoutBase)},"webpackUniversalModuleDefinition")(N4,function(t){return(()=>{"use strict";var e={45:(a,s,l)=>{var u={};u.layoutBase=l(551),u.CoSEConstants=l(806),u.CoSEEdge=l(767),u.CoSEGraph=l(880),u.CoSEGraphManager=l(578),u.CoSELayout=l(765),u.CoSENode=l(991),u.ConstraintHandler=l(902),a.exports=u},806:(a,s,l)=>{var u=l(551).FDLayoutConstants;function h(){}o(h,"CoSEConstants");for(var f in u)h[f]=u[f];h.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,h.DEFAULT_RADIAL_SEPARATION=u.DEFAULT_EDGE_LENGTH,h.DEFAULT_COMPONENT_SEPERATION=60,h.TILE=!0,h.TILING_PADDING_VERTICAL=10,h.TILING_PADDING_HORIZONTAL=10,h.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,h.ENFORCE_CONSTRAINTS=!0,h.APPLY_LAYOUT=!0,h.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,h.TREE_REDUCTION_ON_INCREMENTAL=!0,h.PURE_INCREMENTAL=h.DEFAULT_INCREMENTAL,a.exports=h},767:(a,s,l)=>{var u=l(551).FDLayoutEdge;function h(d,p,m){u.call(this,d,p,m)}o(h,"CoSEEdge"),h.prototype=Object.create(u.prototype);for(var f in u)h[f]=u[f];a.exports=h},880:(a,s,l)=>{var u=l(551).LGraph;function h(d,p,m){u.call(this,d,p,m)}o(h,"CoSEGraph"),h.prototype=Object.create(u.prototype);for(var f in u)h[f]=u[f];a.exports=h},578:(a,s,l)=>{var u=l(551).LGraphManager;function h(d){u.call(this,d)}o(h,"CoSEGraphManager"),h.prototype=Object.create(u.prototype);for(var f in u)h[f]=u[f];a.exports=h},765:(a,s,l)=>{var u=l(551).FDLayout,h=l(578),f=l(880),d=l(991),p=l(767),m=l(806),g=l(902),y=l(551).FDLayoutConstants,v=l(551).LayoutConstants,x=l(551).Point,b=l(551).PointD,T=l(551).DimensionD,C=l(551).Layout,w=l(551).Integer,E=l(551).IGeometry,_=l(551).LGraph,A=l(551).Transform,D=l(551).LinkedList;function O(){u.call(this),this.toBeTiled={},this.constraints={}}o(O,"CoSELayout"),O.prototype=Object.create(u.prototype);for(var R in u)O[R]=u[R];O.prototype.newGraphManager=function(){var k=new h(this);return this.graphManager=k,k},O.prototype.newGraph=function(k){return new f(null,this.graphManager,k)},O.prototype.newNode=function(k){return new d(this.graphManager,k)},O.prototype.newEdge=function(k){return new p(null,null,k)},O.prototype.initParameters=function(){u.prototype.initParameters.call(this,arguments),this.isSubLayout||(m.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=m.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=m.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=y.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=y.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=y.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=y.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},O.prototype.initSpringEmbedder=function(){u.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/y.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},O.prototype.layout=function(){var k=v.DEFAULT_CREATE_BENDS_AS_NEEDED;return k&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},O.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(m.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var L=new Set(this.getAllNodes()),S=this.nodesWithGravity.filter(function(P){return L.has(P)});this.graphManager.setAllNodesToApplyGravitation(S)}}else{var k=this.getFlatForest();if(k.length>0)this.positionNodesRadially(k);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var L=new Set(this.getAllNodes()),S=this.nodesWithGravity.filter(function(I){return L.has(I)});this.graphManager.setAllNodesToApplyGravitation(S),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(g.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),m.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},O.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%y.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var k=new Set(this.getAllNodes()),L=this.nodesWithGravity.filter(function(M){return k.has(M)});this.graphManager.setAllNodesToApplyGravitation(L),this.graphManager.updateBounds(),this.updateGrid(),m.PURE_INCREMENTAL?this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),m.PURE_INCREMENTAL?this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var S=!this.isTreeGrowing&&!this.isGrowthFinished,I=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(S,I),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},O.prototype.getPositionsData=function(){for(var k=this.graphManager.getAllNodes(),L={},S=0;S0&&this.updateDisplacements();for(var S=0;S0&&(I.fixedNodeWeight=P)}}if(this.constraints.relativePlacementConstraint){var B=new Map,F=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(Z){k.fixedNodesOnHorizontal.add(Z),k.fixedNodesOnVertical.add(Z)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var z=this.constraints.alignmentConstraint.vertical,S=0;S=2*Z.length/3;j--)ue=Math.floor(Math.random()*(j+1)),Q=Z[j],Z[j]=Z[ue],Z[ue]=Q;return Z},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(Z){if(Z.left){var ue=B.has(Z.left)?B.get(Z.left):Z.left,Q=B.has(Z.right)?B.get(Z.right):Z.right;k.nodesInRelativeHorizontal.includes(ue)||(k.nodesInRelativeHorizontal.push(ue),k.nodeToRelativeConstraintMapHorizontal.set(ue,[]),k.dummyToNodeForVerticalAlignment.has(ue)?k.nodeToTempPositionMapHorizontal.set(ue,k.idToNodeMap.get(k.dummyToNodeForVerticalAlignment.get(ue)[0]).getCenterX()):k.nodeToTempPositionMapHorizontal.set(ue,k.idToNodeMap.get(ue).getCenterX())),k.nodesInRelativeHorizontal.includes(Q)||(k.nodesInRelativeHorizontal.push(Q),k.nodeToRelativeConstraintMapHorizontal.set(Q,[]),k.dummyToNodeForVerticalAlignment.has(Q)?k.nodeToTempPositionMapHorizontal.set(Q,k.idToNodeMap.get(k.dummyToNodeForVerticalAlignment.get(Q)[0]).getCenterX()):k.nodeToTempPositionMapHorizontal.set(Q,k.idToNodeMap.get(Q).getCenterX())),k.nodeToRelativeConstraintMapHorizontal.get(ue).push({right:Q,gap:Z.gap}),k.nodeToRelativeConstraintMapHorizontal.get(Q).push({left:ue,gap:Z.gap})}else{var j=F.has(Z.top)?F.get(Z.top):Z.top,ne=F.has(Z.bottom)?F.get(Z.bottom):Z.bottom;k.nodesInRelativeVertical.includes(j)||(k.nodesInRelativeVertical.push(j),k.nodeToRelativeConstraintMapVertical.set(j,[]),k.dummyToNodeForHorizontalAlignment.has(j)?k.nodeToTempPositionMapVertical.set(j,k.idToNodeMap.get(k.dummyToNodeForHorizontalAlignment.get(j)[0]).getCenterY()):k.nodeToTempPositionMapVertical.set(j,k.idToNodeMap.get(j).getCenterY())),k.nodesInRelativeVertical.includes(ne)||(k.nodesInRelativeVertical.push(ne),k.nodeToRelativeConstraintMapVertical.set(ne,[]),k.dummyToNodeForHorizontalAlignment.has(ne)?k.nodeToTempPositionMapVertical.set(ne,k.idToNodeMap.get(k.dummyToNodeForHorizontalAlignment.get(ne)[0]).getCenterY()):k.nodeToTempPositionMapVertical.set(ne,k.idToNodeMap.get(ne).getCenterY())),k.nodeToRelativeConstraintMapVertical.get(j).push({bottom:ne,gap:Z.gap}),k.nodeToRelativeConstraintMapVertical.get(ne).push({top:j,gap:Z.gap})}});else{var U=new Map,K=new Map;this.constraints.relativePlacementConstraint.forEach(function(Z){if(Z.left){var ue=B.has(Z.left)?B.get(Z.left):Z.left,Q=B.has(Z.right)?B.get(Z.right):Z.right;U.has(ue)?U.get(ue).push(Q):U.set(ue,[Q]),U.has(Q)?U.get(Q).push(ue):U.set(Q,[ue])}else{var j=F.has(Z.top)?F.get(Z.top):Z.top,ne=F.has(Z.bottom)?F.get(Z.bottom):Z.bottom;K.has(j)?K.get(j).push(ne):K.set(j,[ne]),K.has(ne)?K.get(ne).push(j):K.set(ne,[j])}});var ee=o(function(ue,Q){var j=[],ne=[],te=new D,he=new Set,le=0;return ue.forEach(function(J,Se){if(!he.has(Se)){j[le]=[],ne[le]=!1;var se=Se;for(te.push(se),he.add(se),j[le].push(se);te.length!=0;){se=te.shift(),Q.has(se)&&(ne[le]=!0);var ae=ue.get(se);ae.forEach(function(Oe){he.has(Oe)||(te.push(Oe),he.add(Oe),j[le].push(Oe))})}le++}}),{components:j,isFixed:ne}},"constructComponents"),Y=ee(U,k.fixedNodesOnHorizontal);this.componentsOnHorizontal=Y.components,this.fixedComponentsOnHorizontal=Y.isFixed;var ce=ee(K,k.fixedNodesOnVertical);this.componentsOnVertical=ce.components,this.fixedComponentsOnVertical=ce.isFixed}}},O.prototype.updateDisplacements=function(){var k=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(ce){var Z=k.idToNodeMap.get(ce.nodeId);Z.displacementX=0,Z.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var L=this.constraints.alignmentConstraint.vertical,S=0;S1){var F;for(F=0;FI&&(I=Math.floor(B.y)),P=Math.floor(B.x+m.DEFAULT_COMPONENT_SEPERATION)}this.transform(new b(v.WORLD_CENTER_X-B.x/2,v.WORLD_CENTER_Y-B.y/2))},O.radialLayout=function(k,L,S){var I=Math.max(this.maxDiagonalInTree(k),m.DEFAULT_RADIAL_SEPARATION);O.branchRadialLayout(L,null,0,359,0,I);var M=_.calculateBounds(k),P=new A;P.setDeviceOrgX(M.getMinX()),P.setDeviceOrgY(M.getMinY()),P.setWorldOrgX(S.x),P.setWorldOrgY(S.y);for(var B=0;B1;){var j=Q[0];Q.splice(0,1);var ne=ee.indexOf(j);ne>=0&&ee.splice(ne,1),Z--,Y--}L!=null?ue=(ee.indexOf(Q[0])+1)%Z:ue=0;for(var te=Math.abs(I-S)/Y,he=ue;ce!=Y;he=++he%Z){var le=ee[he].getOtherEnd(k);if(le!=L){var J=(S+ce*te)%360,Se=(J+te)%360;O.branchRadialLayout(le,k,J,Se,M+P,P),ce++}}},O.maxDiagonalInTree=function(k){for(var L=w.MIN_VALUE,S=0;SL&&(L=M)}return L},O.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},O.prototype.groupZeroDegreeMembers=function(){var k=this,L={};this.memberGroups={},this.idToDummyNode={};for(var S=[],I=this.graphManager.getAllNodes(),M=0;M"u"&&(L[F]=[]),L[F]=L[F].concat(P)}Object.keys(L).forEach(function(z){if(L[z].length>1){var $="DummyCompound_"+z;k.memberGroups[$]=L[z];var U=L[z][0].getParent(),K=new d(k.graphManager);K.id=$,K.paddingLeft=U.paddingLeft||0,K.paddingRight=U.paddingRight||0,K.paddingBottom=U.paddingBottom||0,K.paddingTop=U.paddingTop||0,k.idToDummyNode[$]=K;var ee=k.getGraphManager().add(k.newGraph(),K),Y=U.getChild();Y.add(K);for(var ce=0;ceM?(I.rect.x-=(I.labelWidth-M)/2,I.setWidth(I.labelWidth),I.labelMarginLeft=(I.labelWidth-M)/2):I.labelPosHorizontal=="right"&&I.setWidth(M+I.labelWidth)),I.labelHeight&&(I.labelPosVertical=="top"?(I.rect.y-=I.labelHeight,I.setHeight(P+I.labelHeight),I.labelMarginTop=I.labelHeight):I.labelPosVertical=="center"&&I.labelHeight>P?(I.rect.y-=(I.labelHeight-P)/2,I.setHeight(I.labelHeight),I.labelMarginTop=(I.labelHeight-P)/2):I.labelPosVertical=="bottom"&&I.setHeight(P+I.labelHeight))}})},O.prototype.repopulateCompounds=function(){for(var k=this.compoundOrder.length-1;k>=0;k--){var L=this.compoundOrder[k],S=L.id,I=L.paddingLeft,M=L.paddingTop,P=L.labelMarginLeft,B=L.labelMarginTop;this.adjustLocations(this.tiledMemberPack[S],L.rect.x,L.rect.y,I,M,P,B)}},O.prototype.repopulateZeroDegreeMembers=function(){var k=this,L=this.tiledZeroDegreePack;Object.keys(L).forEach(function(S){var I=k.idToDummyNode[S],M=I.paddingLeft,P=I.paddingTop,B=I.labelMarginLeft,F=I.labelMarginTop;k.adjustLocations(L[S],I.rect.x,I.rect.y,M,P,B,F)})},O.prototype.getToBeTiled=function(k){var L=k.id;if(this.toBeTiled[L]!=null)return this.toBeTiled[L];var S=k.getChild();if(S==null)return this.toBeTiled[L]=!1,!1;for(var I=S.getNodes(),M=0;M0)return this.toBeTiled[L]=!1,!1;if(P.getChild()==null){this.toBeTiled[P.id]=!1;continue}if(!this.getToBeTiled(P))return this.toBeTiled[L]=!1,!1}return this.toBeTiled[L]=!0,!0},O.prototype.getNodeDegree=function(k){for(var L=k.id,S=k.getEdges(),I=0,M=0;MU&&(U=ee.rect.height)}S+=U+k.verticalPadding}},O.prototype.tileCompoundMembers=function(k,L){var S=this;this.tiledMemberPack=[],Object.keys(k).forEach(function(I){var M=L[I];if(S.tiledMemberPack[I]=S.tileNodes(k[I],M.paddingLeft+M.paddingRight),M.rect.width=S.tiledMemberPack[I].width,M.rect.height=S.tiledMemberPack[I].height,M.setCenter(S.tiledMemberPack[I].centerX,S.tiledMemberPack[I].centerY),M.labelMarginLeft=0,M.labelMarginTop=0,m.NODE_DIMENSIONS_INCLUDE_LABELS){var P=M.rect.width,B=M.rect.height;M.labelWidth&&(M.labelPosHorizontal=="left"?(M.rect.x-=M.labelWidth,M.setWidth(P+M.labelWidth),M.labelMarginLeft=M.labelWidth):M.labelPosHorizontal=="center"&&M.labelWidth>P?(M.rect.x-=(M.labelWidth-P)/2,M.setWidth(M.labelWidth),M.labelMarginLeft=(M.labelWidth-P)/2):M.labelPosHorizontal=="right"&&M.setWidth(P+M.labelWidth)),M.labelHeight&&(M.labelPosVertical=="top"?(M.rect.y-=M.labelHeight,M.setHeight(B+M.labelHeight),M.labelMarginTop=M.labelHeight):M.labelPosVertical=="center"&&M.labelHeight>B?(M.rect.y-=(M.labelHeight-B)/2,M.setHeight(M.labelHeight),M.labelMarginTop=(M.labelHeight-B)/2):M.labelPosVertical=="bottom"&&M.setHeight(B+M.labelHeight))}})},O.prototype.tileNodes=function(k,L){var S=this.tileNodesByFavoringDim(k,L,!0),I=this.tileNodesByFavoringDim(k,L,!1),M=this.getOrgRatio(S),P=this.getOrgRatio(I),B;return PF&&(F=ce.getWidth())});var z=P/M,$=B/M,U=Math.pow(S-I,2)+4*(z+I)*($+S)*M,K=(I-S+Math.sqrt(U))/(2*(z+I)),ee;L?(ee=Math.ceil(K),ee==K&&ee++):ee=Math.floor(K);var Y=ee*(z+I)-I;return F>Y&&(Y=F),Y+=I*2,Y},O.prototype.tileNodesByFavoringDim=function(k,L,S){var I=m.TILING_PADDING_VERTICAL,M=m.TILING_PADDING_HORIZONTAL,P=m.TILING_COMPARE_BY,B={rows:[],rowWidth:[],rowHeight:[],width:0,height:L,verticalPadding:I,horizontalPadding:M,centerX:0,centerY:0};P&&(B.idealRowWidth=this.calcIdealRowWidth(k,S));var F=o(function(Z){return Z.rect.width*Z.rect.height},"getNodeArea"),z=o(function(Z,ue){return F(ue)-F(Z)},"areaCompareFcn");k.sort(function(ce,Z){var ue=z;return B.idealRowWidth?(ue=P,ue(ce.id,Z.id)):ue(ce,Z)});for(var $=0,U=0,K=0;K0&&(B+=k.horizontalPadding),k.rowWidth[S]=B,k.width0&&(F+=k.verticalPadding);var z=0;F>k.rowHeight[S]&&(z=k.rowHeight[S],k.rowHeight[S]=F,z=k.rowHeight[S]-z),k.height+=z,k.rows[S].push(L)},O.prototype.getShortestRowIndex=function(k){for(var L=-1,S=Number.MAX_VALUE,I=0;IS&&(L=I,S=k.rowWidth[I]);return L},O.prototype.canAddHorizontal=function(k,L,S){if(k.idealRowWidth){var I=k.rows.length-1,M=k.rowWidth[I];return M+L+k.horizontalPadding<=k.idealRowWidth}var P=this.getShortestRowIndex(k);if(P<0)return!0;var B=k.rowWidth[P];if(B+k.horizontalPadding+L<=k.width)return!0;var F=0;k.rowHeight[P]0&&(F=S+k.verticalPadding-k.rowHeight[P]);var z;k.width-B>=L+k.horizontalPadding?z=(k.height+F)/(B+L+k.horizontalPadding):z=(k.height+F)/k.width,F=S+k.verticalPadding;var $;return k.widthP&&L!=S){I.splice(-1,1),k.rows[S].push(M),k.rowWidth[L]=k.rowWidth[L]-P,k.rowWidth[S]=k.rowWidth[S]+P,k.width=k.rowWidth[instance.getLongestRowIndex(k)];for(var B=Number.MIN_VALUE,F=0;FB&&(B=I[F].height);L>0&&(B+=k.verticalPadding);var z=k.rowHeight[L]+k.rowHeight[S];k.rowHeight[L]=B,k.rowHeight[S]0)for(var Y=M;Y<=P;Y++)ee[0]+=this.grid[Y][B-1].length+this.grid[Y][B].length-1;if(P0)for(var Y=B;Y<=F;Y++)ee[3]+=this.grid[M-1][Y].length+this.grid[M][Y].length-1;for(var ce=w.MAX_VALUE,Z,ue,Q=0;Q{var u=l(551).FDLayoutNode,h=l(551).IMath;function f(p,m,g,y){u.call(this,p,m,g,y)}o(f,"CoSENode"),f.prototype=Object.create(u.prototype);for(var d in u)f[d]=u[d];f.prototype.calculateDisplacement=function(){var p=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=p.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=p.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=p.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=p.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>p.coolingFactor*p.maxNodeDisplacement&&(this.displacementX=p.coolingFactor*p.maxNodeDisplacement*h.sign(this.displacementX)),Math.abs(this.displacementY)>p.coolingFactor*p.maxNodeDisplacement&&(this.displacementY=p.coolingFactor*p.maxNodeDisplacement*h.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},f.prototype.propogateDisplacementToChildren=function(p,m){for(var g=this.getChild().getNodes(),y,v=0;v{function u(g){if(Array.isArray(g)){for(var y=0,v=Array(g.length);y0){var ut=0;Ue.forEach(function(lt){Te=="horizontal"?(be.set(lt,x.has(lt)?b[x.get(lt)]:pe.get(lt)),ut+=be.get(lt)):(be.set(lt,x.has(lt)?T[x.get(lt)]:pe.get(lt)),ut+=be.get(lt))}),ut=ut/Ue.length,st.forEach(function(lt){W.has(lt)||be.set(lt,ut)})}else{var We=0;st.forEach(function(lt){Te=="horizontal"?We+=x.has(lt)?b[x.get(lt)]:pe.get(lt):We+=x.has(lt)?T[x.get(lt)]:pe.get(lt)}),We=We/st.length,st.forEach(function(lt){be.set(lt,We)})}});for(var Ye=o(function(){var Ue=De.shift(),ut=V.get(Ue);ut.forEach(function(We){if(be.get(We.id)lt&&(lt=vt),ntXt&&(Xt=nt)}}catch(Dt){Mt=!0,bt=Dt}finally{try{!Tt&&ht.return&&ht.return()}finally{if(Mt)throw bt}}var dn=(ut+lt)/2-(We+Xt)/2,kt=!0,In=!1,en=void 0;try{for(var Nr=st[Symbol.iterator](),Mr;!(kt=(Mr=Nr.next()).done);kt=!0){var On=Mr.value;be.set(On,be.get(On)+dn)}}catch(Dt){In=!0,en=Dt}finally{try{!kt&&Nr.return&&Nr.return()}finally{if(In)throw en}}})}return be},"findAppropriatePositionForRelativePlacement"),R=o(function(V){var Te=0,W=0,pe=0,ve=0;if(V.forEach(function(Ve){Ve.left?b[x.get(Ve.left)]-b[x.get(Ve.right)]>=0?Te++:W++:T[x.get(Ve.top)]-T[x.get(Ve.bottom)]>=0?pe++:ve++}),Te>W&&pe>ve)for(var Pe=0;PeW)for(var _e=0;_eve)for(var be=0;be1)y.fixedNodeConstraint.forEach(function(oe,V){I[V]=[oe.position.x,oe.position.y],M[V]=[b[x.get(oe.nodeId)],T[x.get(oe.nodeId)]]}),P=!0;else if(y.alignmentConstraint)(function(){var oe=0;if(y.alignmentConstraint.vertical){for(var V=y.alignmentConstraint.vertical,Te=o(function(be){var Ve=new Set;V[be].forEach(function(at){Ve.add(at)});var De=new Set([].concat(u(Ve)).filter(function(at){return F.has(at)})),Ye=void 0;De.size>0?Ye=b[x.get(De.values().next().value)]:Ye=D(Ve).x,V[be].forEach(function(at){I[oe]=[Ye,T[x.get(at)]],M[oe]=[b[x.get(at)],T[x.get(at)]],oe++})},"_loop2"),W=0;W0?Ye=b[x.get(De.values().next().value)]:Ye=D(Ve).y,pe[be].forEach(function(at){I[oe]=[b[x.get(at)],Ye],M[oe]=[b[x.get(at)],T[x.get(at)]],oe++})},"_loop3"),Pe=0;PeK&&(K=U[Y].length,ee=Y);if(K<$.size/2)R(y.relativePlacementConstraint),P=!1,B=!1;else{var ce=new Map,Z=new Map,ue=[];U[ee].forEach(function(oe){z.get(oe).forEach(function(V){V.direction=="horizontal"?(ce.has(oe)?ce.get(oe).push(V):ce.set(oe,[V]),ce.has(V.id)||ce.set(V.id,[]),ue.push({left:oe,right:V.id})):(Z.has(oe)?Z.get(oe).push(V):Z.set(oe,[V]),Z.has(V.id)||Z.set(V.id,[]),ue.push({top:oe,bottom:V.id}))})}),R(ue),B=!1;var Q=O(ce,"horizontal"),j=O(Z,"vertical");U[ee].forEach(function(oe,V){M[V]=[b[x.get(oe)],T[x.get(oe)]],I[V]=[],Q.has(oe)?I[V][0]=Q.get(oe):I[V][0]=b[x.get(oe)],j.has(oe)?I[V][1]=j.get(oe):I[V][1]=T[x.get(oe)]}),P=!0}}if(P){for(var ne=void 0,te=d.transpose(I),he=d.transpose(M),le=0;le0){var Be={x:0,y:0};y.fixedNodeConstraint.forEach(function(oe,V){var Te={x:b[x.get(oe.nodeId)],y:T[x.get(oe.nodeId)]},W=oe.position,pe=A(W,Te);Be.x+=pe.x,Be.y+=pe.y}),Be.x/=y.fixedNodeConstraint.length,Be.y/=y.fixedNodeConstraint.length,b.forEach(function(oe,V){b[V]+=Be.x}),T.forEach(function(oe,V){T[V]+=Be.y}),y.fixedNodeConstraint.forEach(function(oe){b[x.get(oe.nodeId)]=oe.position.x,T[x.get(oe.nodeId)]=oe.position.y})}if(y.alignmentConstraint){if(y.alignmentConstraint.vertical)for(var He=y.alignmentConstraint.vertical,ze=o(function(V){var Te=new Set;He[V].forEach(function(ve){Te.add(ve)});var W=new Set([].concat(u(Te)).filter(function(ve){return F.has(ve)})),pe=void 0;W.size>0?pe=b[x.get(W.values().next().value)]:pe=D(Te).x,Te.forEach(function(ve){F.has(ve)||(b[x.get(ve)]=pe)})},"_loop4"),Le=0;Le0?pe=T[x.get(W.values().next().value)]:pe=D(Te).y,Te.forEach(function(ve){F.has(ve)||(T[x.get(ve)]=pe)})},"_loop5"),q=0;q{a.exports=t}},r={};function n(a){var s=r[a];if(s!==void 0)return s.exports;var l=r[a]={exports:{}};return e[a](l,l.exports,n),l.exports}o(n,"__webpack_require__");var i=n(45);return i})()})});var G2e=Ii((M4,JF)=>{"use strict";o(function(e,r){typeof M4=="object"&&typeof JF=="object"?JF.exports=r(ZF()):typeof define=="function"&&define.amd?define(["cose-base"],r):typeof M4=="object"?M4.cytoscapeFcose=r(ZF()):e.cytoscapeFcose=r(e.coseBase)},"webpackUniversalModuleDefinition")(M4,function(t){return(()=>{"use strict";var e={658:a=>{a.exports=Object.assign!=null?Object.assign.bind(Object):function(s){for(var l=arguments.length,u=Array(l>1?l-1:0),h=1;h{var u=function(){function d(p,m){var g=[],y=!0,v=!1,x=void 0;try{for(var b=p[Symbol.iterator](),T;!(y=(T=b.next()).done)&&(g.push(T.value),!(m&&g.length===m));y=!0);}catch(C){v=!0,x=C}finally{try{!y&&b.return&&b.return()}finally{if(v)throw x}}return g}return o(d,"sliceIterator"),function(p,m){if(Array.isArray(p))return p;if(Symbol.iterator in Object(p))return d(p,m);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=l(140).layoutBase.LinkedList,f={};f.getTopMostNodes=function(d){for(var p={},m=0;m0&&P.merge($)});for(var B=0;B1){T=x[0],C=T.connectedEdges().length,x.forEach(function(M){M.connectedEdges().length0&&g.set("dummy"+(g.size+1),_),A},f.relocateComponent=function(d,p,m){if(!m.fixedNodeConstraint){var g=Number.POSITIVE_INFINITY,y=Number.NEGATIVE_INFINITY,v=Number.POSITIVE_INFINITY,x=Number.NEGATIVE_INFINITY;if(m.quality=="draft"){var b=!0,T=!1,C=void 0;try{for(var w=p.nodeIndexes[Symbol.iterator](),E;!(b=(E=w.next()).done);b=!0){var _=E.value,A=u(_,2),D=A[0],O=A[1],R=m.cy.getElementById(D);if(R){var k=R.boundingBox(),L=p.xCoords[O]-k.w/2,S=p.xCoords[O]+k.w/2,I=p.yCoords[O]-k.h/2,M=p.yCoords[O]+k.h/2;Ly&&(y=S),Ix&&(x=M)}}}catch($){T=!0,C=$}finally{try{!b&&w.return&&w.return()}finally{if(T)throw C}}var P=d.x-(y+g)/2,B=d.y-(x+v)/2;p.xCoords=p.xCoords.map(function($){return $+P}),p.yCoords=p.yCoords.map(function($){return $+B})}else{Object.keys(p).forEach(function($){var U=p[$],K=U.getRect().x,ee=U.getRect().x+U.getRect().width,Y=U.getRect().y,ce=U.getRect().y+U.getRect().height;Ky&&(y=ee),Yx&&(x=ce)});var F=d.x-(y+g)/2,z=d.y-(x+v)/2;Object.keys(p).forEach(function($){var U=p[$];U.setCenter(U.getCenterX()+F,U.getCenterY()+z)})}}},f.calcBoundingBox=function(d,p,m,g){for(var y=Number.MAX_SAFE_INTEGER,v=Number.MIN_SAFE_INTEGER,x=Number.MAX_SAFE_INTEGER,b=Number.MIN_SAFE_INTEGER,T=void 0,C=void 0,w=void 0,E=void 0,_=d.descendants().not(":parent"),A=_.length,D=0;DT&&(y=T),vw&&(x=w),b{var u=l(548),h=l(140).CoSELayout,f=l(140).CoSENode,d=l(140).layoutBase.PointD,p=l(140).layoutBase.DimensionD,m=l(140).layoutBase.LayoutConstants,g=l(140).layoutBase.FDLayoutConstants,y=l(140).CoSEConstants,v=o(function(b,T){var C=b.cy,w=b.eles,E=w.nodes(),_=w.edges(),A=void 0,D=void 0,O=void 0,R={};b.randomize&&(A=T.nodeIndexes,D=T.xCoords,O=T.yCoords);var k=o(function($){return typeof $=="function"},"isFn"),L=o(function($,U){return k($)?$(U):$},"optFn"),S=u.calcParentsWithoutChildren(C,w),I=o(function z($,U,K,ee){for(var Y=U.length,ce=0;ce0){var te=void 0;te=K.getGraphManager().add(K.newGraph(),Q),z(te,ue,K,ee)}}},"processChildrenList"),M=o(function($,U,K){for(var ee=0,Y=0,ce=0;ce0?y.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=ee/Y:k(b.idealEdgeLength)?y.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=50:y.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=b.idealEdgeLength,y.MIN_REPULSION_DIST=g.MIN_REPULSION_DIST=g.DEFAULT_EDGE_LENGTH/10,y.DEFAULT_RADIAL_SEPARATION=g.DEFAULT_EDGE_LENGTH)},"processEdges"),P=o(function($,U){U.fixedNodeConstraint&&($.constraints.fixedNodeConstraint=U.fixedNodeConstraint),U.alignmentConstraint&&($.constraints.alignmentConstraint=U.alignmentConstraint),U.relativePlacementConstraint&&($.constraints.relativePlacementConstraint=U.relativePlacementConstraint)},"processConstraints");b.nestingFactor!=null&&(y.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=g.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=b.nestingFactor),b.gravity!=null&&(y.DEFAULT_GRAVITY_STRENGTH=g.DEFAULT_GRAVITY_STRENGTH=b.gravity),b.numIter!=null&&(y.MAX_ITERATIONS=g.MAX_ITERATIONS=b.numIter),b.gravityRange!=null&&(y.DEFAULT_GRAVITY_RANGE_FACTOR=g.DEFAULT_GRAVITY_RANGE_FACTOR=b.gravityRange),b.gravityCompound!=null&&(y.DEFAULT_COMPOUND_GRAVITY_STRENGTH=g.DEFAULT_COMPOUND_GRAVITY_STRENGTH=b.gravityCompound),b.gravityRangeCompound!=null&&(y.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=g.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=b.gravityRangeCompound),b.initialEnergyOnIncremental!=null&&(y.DEFAULT_COOLING_FACTOR_INCREMENTAL=g.DEFAULT_COOLING_FACTOR_INCREMENTAL=b.initialEnergyOnIncremental),b.tilingCompareBy!=null&&(y.TILING_COMPARE_BY=b.tilingCompareBy),b.quality=="proof"?m.QUALITY=2:m.QUALITY=0,y.NODE_DIMENSIONS_INCLUDE_LABELS=g.NODE_DIMENSIONS_INCLUDE_LABELS=m.NODE_DIMENSIONS_INCLUDE_LABELS=b.nodeDimensionsIncludeLabels,y.DEFAULT_INCREMENTAL=g.DEFAULT_INCREMENTAL=m.DEFAULT_INCREMENTAL=!b.randomize,y.ANIMATE=g.ANIMATE=m.ANIMATE=b.animate,y.TILE=b.tile,y.TILING_PADDING_VERTICAL=typeof b.tilingPaddingVertical=="function"?b.tilingPaddingVertical.call():b.tilingPaddingVertical,y.TILING_PADDING_HORIZONTAL=typeof b.tilingPaddingHorizontal=="function"?b.tilingPaddingHorizontal.call():b.tilingPaddingHorizontal,y.DEFAULT_INCREMENTAL=g.DEFAULT_INCREMENTAL=m.DEFAULT_INCREMENTAL=!0,y.PURE_INCREMENTAL=!b.randomize,m.DEFAULT_UNIFORM_LEAF_NODE_SIZES=b.uniformNodeDimensions,b.step=="transformed"&&(y.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,y.ENFORCE_CONSTRAINTS=!1,y.APPLY_LAYOUT=!1),b.step=="enforced"&&(y.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,y.ENFORCE_CONSTRAINTS=!0,y.APPLY_LAYOUT=!1),b.step=="cose"&&(y.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,y.ENFORCE_CONSTRAINTS=!1,y.APPLY_LAYOUT=!0),b.step=="all"&&(b.randomize?y.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:y.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,y.ENFORCE_CONSTRAINTS=!0,y.APPLY_LAYOUT=!0),b.fixedNodeConstraint||b.alignmentConstraint||b.relativePlacementConstraint?y.TREE_REDUCTION_ON_INCREMENTAL=!1:y.TREE_REDUCTION_ON_INCREMENTAL=!0;var B=new h,F=B.newGraphManager();return I(F.addRoot(),u.getTopMostNodes(E),B,b),M(B,F,_),P(B,b),B.runLayout(),R},"coseLayout");a.exports={coseLayout:v}},212:(a,s,l)=>{var u=function(){function b(T,C){for(var w=0;w0)if(M){var F=d.getTopMostNodes(w.eles.nodes());if(k=d.connectComponents(E,w.eles,F),k.forEach(function(se){var ae=se.boundingBox();L.push({x:ae.x1+ae.w/2,y:ae.y1+ae.h/2})}),w.randomize&&k.forEach(function(se){w.eles=se,A.push(m(w))}),w.quality=="default"||w.quality=="proof"){var z=E.collection();if(w.tile){var $=new Map,U=[],K=[],ee=0,Y={nodeIndexes:$,xCoords:U,yCoords:K},ce=[];if(k.forEach(function(se,ae){se.edges().length==0&&(se.nodes().forEach(function(Oe,ye){z.merge(se.nodes()[ye]),Oe.isParent()||(Y.nodeIndexes.set(se.nodes()[ye].id(),ee++),Y.xCoords.push(se.nodes()[0].position().x),Y.yCoords.push(se.nodes()[0].position().y))}),ce.push(ae))}),z.length>1){var Z=z.boundingBox();L.push({x:Z.x1+Z.w/2,y:Z.y1+Z.h/2}),k.push(z),A.push(Y);for(var ue=ce.length-1;ue>=0;ue--)k.splice(ce[ue],1),A.splice(ce[ue],1),L.splice(ce[ue],1)}}k.forEach(function(se,ae){w.eles=se,R.push(y(w,A[ae])),d.relocateComponent(L[ae],R[ae],w)})}else k.forEach(function(se,ae){d.relocateComponent(L[ae],A[ae],w)});var Q=new Set;if(k.length>1){var j=[],ne=_.filter(function(se){return se.css("display")=="none"});k.forEach(function(se,ae){var Oe=void 0;if(w.quality=="draft"&&(Oe=A[ae].nodeIndexes),se.nodes().not(ne).length>0){var ye={};ye.edges=[],ye.nodes=[];var Be=void 0;se.nodes().not(ne).forEach(function(He){if(w.quality=="draft")if(!He.isParent())Be=Oe.get(He.id()),ye.nodes.push({x:A[ae].xCoords[Be]-He.boundingbox().w/2,y:A[ae].yCoords[Be]-He.boundingbox().h/2,width:He.boundingbox().w,height:He.boundingbox().h});else{var ze=d.calcBoundingBox(He,A[ae].xCoords,A[ae].yCoords,Oe);ye.nodes.push({x:ze.topLeftX,y:ze.topLeftY,width:ze.width,height:ze.height})}else R[ae][He.id()]&&ye.nodes.push({x:R[ae][He.id()].getLeft(),y:R[ae][He.id()].getTop(),width:R[ae][He.id()].getWidth(),height:R[ae][He.id()].getHeight()})}),se.edges().forEach(function(He){var ze=He.source(),Le=He.target();if(ze.css("display")!="none"&&Le.css("display")!="none")if(w.quality=="draft"){var Ie=Oe.get(ze.id()),xe=Oe.get(Le.id()),q=[],de=[];if(ze.isParent()){var ie=d.calcBoundingBox(ze,A[ae].xCoords,A[ae].yCoords,Oe);q.push(ie.topLeftX+ie.width/2),q.push(ie.topLeftY+ie.height/2)}else q.push(A[ae].xCoords[Ie]),q.push(A[ae].yCoords[Ie]);if(Le.isParent()){var oe=d.calcBoundingBox(Le,A[ae].xCoords,A[ae].yCoords,Oe);de.push(oe.topLeftX+oe.width/2),de.push(oe.topLeftY+oe.height/2)}else de.push(A[ae].xCoords[xe]),de.push(A[ae].yCoords[xe]);ye.edges.push({startX:q[0],startY:q[1],endX:de[0],endY:de[1]})}else R[ae][ze.id()]&&R[ae][Le.id()]&&ye.edges.push({startX:R[ae][ze.id()].getCenterX(),startY:R[ae][ze.id()].getCenterY(),endX:R[ae][Le.id()].getCenterX(),endY:R[ae][Le.id()].getCenterY()})}),ye.nodes.length>0&&(j.push(ye),Q.add(ae))}});var te=I.packComponents(j,w.randomize).shifts;if(w.quality=="draft")A.forEach(function(se,ae){var Oe=se.xCoords.map(function(Be){return Be+te[ae].dx}),ye=se.yCoords.map(function(Be){return Be+te[ae].dy});se.xCoords=Oe,se.yCoords=ye});else{var he=0;Q.forEach(function(se){Object.keys(R[se]).forEach(function(ae){var Oe=R[se][ae];Oe.setCenter(Oe.getCenterX()+te[he].dx,Oe.getCenterY()+te[he].dy)}),he++})}}}else{var P=w.eles.boundingBox();if(L.push({x:P.x1+P.w/2,y:P.y1+P.h/2}),w.randomize){var B=m(w);A.push(B)}w.quality=="default"||w.quality=="proof"?(R.push(y(w,A[0])),d.relocateComponent(L[0],R[0],w)):d.relocateComponent(L[0],A[0],w)}var le=o(function(ae,Oe){if(w.quality=="default"||w.quality=="proof"){typeof ae=="number"&&(ae=Oe);var ye=void 0,Be=void 0,He=ae.data("id");return R.forEach(function(Le){He in Le&&(ye={x:Le[He].getRect().getCenterX(),y:Le[He].getRect().getCenterY()},Be=Le[He])}),w.nodeDimensionsIncludeLabels&&(Be.labelWidth&&(Be.labelPosHorizontal=="left"?ye.x+=Be.labelWidth/2:Be.labelPosHorizontal=="right"&&(ye.x-=Be.labelWidth/2)),Be.labelHeight&&(Be.labelPosVertical=="top"?ye.y+=Be.labelHeight/2:Be.labelPosVertical=="bottom"&&(ye.y-=Be.labelHeight/2))),ye==null&&(ye={x:ae.position("x"),y:ae.position("y")}),{x:ye.x,y:ye.y}}else{var ze=void 0;return A.forEach(function(Le){var Ie=Le.nodeIndexes.get(ae.id());Ie!=null&&(ze={x:Le.xCoords[Ie],y:Le.yCoords[Ie]})}),ze==null&&(ze={x:ae.position("x"),y:ae.position("y")}),{x:ze.x,y:ze.y}}},"getPositions");if(w.quality=="default"||w.quality=="proof"||w.randomize){var J=d.calcParentsWithoutChildren(E,_),Se=_.filter(function(se){return se.css("display")=="none"});w.eles=_.not(Se),_.nodes().not(":parent").not(Se).layoutPositions(C,w,le),J.length>0&&J.forEach(function(se){se.position(le(se))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")},"run")}]),b}();a.exports=x},657:(a,s,l)=>{var u=l(548),h=l(140).layoutBase.Matrix,f=l(140).layoutBase.SVD,d=o(function(m){var g=m.cy,y=m.eles,v=y.nodes(),x=y.nodes(":parent"),b=new Map,T=new Map,C=new Map,w=[],E=[],_=[],A=[],D=[],O=[],R=[],k=[],L=void 0,S=void 0,I=1e8,M=1e-9,P=m.piTol,B=m.samplingType,F=m.nodeSeparation,z=void 0,$=o(function(){for(var Te=0,W=0,pe=!1;W=Pe;){be=ve[Pe++];for(var st=w[be],Ue=0;UeYe&&(Ye=D[We],at=We)}return at},"BFS"),K=o(function(Te){var W=void 0;if(Te){W=Math.floor(Math.random()*S),L=W;for(var ve=0;ve=1)break;Ye=De}for(var st=0;st=1)break;Ye=De}for(var ut=0;ut0&&(W.isParent()?w[Te].push(C.get(W.id())):w[Te].push(W.id()))})});var J=o(function(Te){var W=T.get(Te),pe=void 0;b.get(Te).forEach(function(ve){g.getElementById(ve).isParent()?pe=C.get(ve):pe=ve,w[W].push(pe),w[T.get(pe)].push(Te)})},"_loop"),Se=!0,se=!1,ae=void 0;try{for(var Oe=b.keys()[Symbol.iterator](),ye;!(Se=(ye=Oe.next()).done);Se=!0){var Be=ye.value;J(Be)}}catch(V){se=!0,ae=V}finally{try{!Se&&Oe.return&&Oe.return()}finally{if(se)throw ae}}S=T.size;var He=void 0;if(S>2){z=S{var u=l(212),h=o(function(d){d&&d("layout","fcose",u)},"register");typeof cytoscape<"u"&&h(cytoscape),a.exports=h},140:a=>{a.exports=t}},r={};function n(a){var s=r[a];if(s!==void 0)return s.exports;var l=r[a]={exports:{}};return e[a](l,l.exports,n),l.exports}o(n,"__webpack_require__");var i=n(579);return i})()})});var gy,n0,e$=N(()=>{"use strict";rc();gy=o(t=>`${t}`,"wrapIcon"),n0={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:gy('')},server:{body:gy('')},disk:{body:gy('')},internet:{body:gy('')},cloud:{body:gy('')},unknown:dA,blank:{body:gy("")}}}});var V2e,U2e,H2e,W2e,q2e=N(()=>{"use strict";qt();no();rc();dr();e$();EC();V2e=o(async function(t,e,r){let n=r.getConfigField("padding"),i=r.getConfigField("iconSize"),a=i/2,s=i/6,l=s/2;await Promise.all(e.edges().map(async u=>{let{source:h,sourceDir:f,sourceArrow:d,sourceGroup:p,target:m,targetDir:g,targetArrow:y,targetGroup:v,label:x}=kC(u),{x:b,y:T}=u[0].sourceEndpoint(),{x:C,y:w}=u[0].midpoint(),{x:E,y:_}=u[0].targetEndpoint(),A=n+4;if(p&&(Wa(f)?b+=f==="L"?-A:A:T+=f==="T"?-A:A+18),v&&(Wa(g)?E+=g==="L"?-A:A:_+=g==="T"?-A:A+18),!p&&r.getNode(h)?.type==="junction"&&(Wa(f)?b+=f==="L"?a:-a:T+=f==="T"?a:-a),!v&&r.getNode(m)?.type==="junction"&&(Wa(g)?E+=g==="L"?a:-a:_+=g==="T"?a:-a),u[0]._private.rscratch){let D=t.insert("g");if(D.insert("path").attr("d",`M ${b},${T} L ${C},${w} L${E},${_} `).attr("class","edge"),d){let O=Wa(f)?_4[f](b,s):b-l,R=eu(f)?_4[f](T,s):T-l;D.insert("polygon").attr("points",WF[f](s)).attr("transform",`translate(${O},${R})`).attr("class","arrow")}if(y){let O=Wa(g)?_4[g](E,s):E-l,R=eu(g)?_4[g](_,s):_-l;D.insert("polygon").attr("points",WF[g](s)).attr("transform",`translate(${O},${R})`).attr("class","arrow")}if(x){let O=D4(f,g)?"XY":Wa(f)?"X":"Y",R=0;O==="X"?R=Math.abs(b-E):O==="Y"?R=Math.abs(T-_)/1.5:R=Math.abs(b-E)/2;let k=D.append("g");if(await Hn(k,x,{useHtmlLabels:!1,width:R,classes:"architecture-service-label"},ge()),k.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),O==="X")k.attr("transform","translate("+C+", "+w+")");else if(O==="Y")k.attr("transform","translate("+C+", "+w+") rotate(-90)");else if(O==="XY"){let L=L4(f,g);if(L&&N2e(L)){let S=k.node().getBoundingClientRect(),[I,M]=I2e(L);k.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*I*M*45})`);let P=k.node().getBoundingClientRect();k.attr("transform",` - translate(${C}, ${w-S.height/2}) +`,"getStyles"),rxe=Cnt});var o$=Aa((O4,s$)=>{"use strict";o(function(e,r){typeof O4=="object"&&typeof s$=="object"?s$.exports=r():typeof define=="function"&&define.amd?define([],r):typeof O4=="object"?O4.layoutBase=r():e.layoutBase=r()},"webpackUniversalModuleDefinition")(O4,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return o(r,"__webpack_require__"),r.m=t,r.c=e,r.i=function(n){return n},r.d=function(n,i,a){r.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:a})},r.n=function(n){var i=n&&n.__esModule?o(function(){return n.default},"getDefault"):o(function(){return n},"getModuleExports");return r.d(i,"a",i),i},r.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},r.p="",r(r.s=28)}([function(t,e,r){"use strict";function n(){}o(n,"LayoutConstants"),n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(8),a=r(9);function s(u,h,f){n.call(this,f),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=f,this.bendpoints=[],this.source=u,this.target=h}o(s,"LEdge"),s.prototype=Object.create(n.prototype);for(var l in n)s[l]=n[l];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.prototype.getOtherEnd=function(u){if(this.source===u)return this.target;if(this.target===u)return this.source;throw"Node is not incident with this edge"},s.prototype.getOtherEndInGraph=function(u,h){for(var f=this.getOtherEnd(u),d=h.getGraphManager().getRoot();;){if(f.getOwner()==h)return f;if(f.getOwner()==d)break;f=f.getOwner().getParent()}return null},s.prototype.updateLength=function(){var u=new Array(4);this.isOverlapingSourceAndTarget=i.getIntersection(this.target.getRect(),this.source.getRect(),u),this.isOverlapingSourceAndTarget||(this.lengthX=u[0]-u[2],this.lengthY=u[1]-u[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,r){"use strict";function n(i){this.vGraphObject=i}o(n,"LGraphObject"),t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(10),a=r(13),s=r(0),l=r(16),u=r(5);function h(d,p,m,g){m==null&&g==null&&(g=p),n.call(this,g),d.graphManager!=null&&(d=d.graphManager),this.estimatedSize=i.MIN_VALUE,this.inclusionTreeDepth=i.MAX_VALUE,this.vGraphObject=g,this.edges=[],this.graphManager=d,m!=null&&p!=null?this.rect=new a(p.x,p.y,m.width,m.height):this.rect=new a}o(h,"LNode"),h.prototype=Object.create(n.prototype);for(var f in n)h[f]=n[f];h.prototype.getEdges=function(){return this.edges},h.prototype.getChild=function(){return this.child},h.prototype.getOwner=function(){return this.owner},h.prototype.getWidth=function(){return this.rect.width},h.prototype.setWidth=function(d){this.rect.width=d},h.prototype.getHeight=function(){return this.rect.height},h.prototype.setHeight=function(d){this.rect.height=d},h.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},h.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},h.prototype.getCenter=function(){return new u(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},h.prototype.getLocation=function(){return new u(this.rect.x,this.rect.y)},h.prototype.getRect=function(){return this.rect},h.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},h.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},h.prototype.setRect=function(d,p){this.rect.x=d.x,this.rect.y=d.y,this.rect.width=p.width,this.rect.height=p.height},h.prototype.setCenter=function(d,p){this.rect.x=d-this.rect.width/2,this.rect.y=p-this.rect.height/2},h.prototype.setLocation=function(d,p){this.rect.x=d,this.rect.y=p},h.prototype.moveBy=function(d,p){this.rect.x+=d,this.rect.y+=p},h.prototype.getEdgeListToNode=function(d){var p=[],m,g=this;return g.edges.forEach(function(y){if(y.target==d){if(y.source!=g)throw"Incorrect edge source!";p.push(y)}}),p},h.prototype.getEdgesBetween=function(d){var p=[],m,g=this;return g.edges.forEach(function(y){if(!(y.source==g||y.target==g))throw"Incorrect edge source and/or target";(y.target==d||y.source==d)&&p.push(y)}),p},h.prototype.getNeighborsList=function(){var d=new Set,p=this;return p.edges.forEach(function(m){if(m.source==p)d.add(m.target);else{if(m.target!=p)throw"Incorrect incidency!";d.add(m.source)}}),d},h.prototype.withChildren=function(){var d=new Set,p,m;if(d.add(this),this.child!=null)for(var g=this.child.getNodes(),y=0;yp?(this.rect.x-=(this.labelWidth-p)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(p+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(m+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>m?(this.rect.y-=(this.labelHeight-m)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(m+this.labelHeight))}}},h.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==i.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},h.prototype.transform=function(d){var p=this.rect.x;p>s.WORLD_BOUNDARY?p=s.WORLD_BOUNDARY:p<-s.WORLD_BOUNDARY&&(p=-s.WORLD_BOUNDARY);var m=this.rect.y;m>s.WORLD_BOUNDARY?m=s.WORLD_BOUNDARY:m<-s.WORLD_BOUNDARY&&(m=-s.WORLD_BOUNDARY);var g=new u(p,m),y=d.inverseTransformPoint(g);this.setLocation(y.x,y.y)},h.prototype.getLeft=function(){return this.rect.x},h.prototype.getRight=function(){return this.rect.x+this.rect.width},h.prototype.getTop=function(){return this.rect.y},h.prototype.getBottom=function(){return this.rect.y+this.rect.height},h.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},t.exports=h},function(t,e,r){"use strict";var n=r(0);function i(){}o(i,"FDLayoutConstants");for(var a in n)i[a]=n[a];i.MAX_ITERATIONS=2500,i.DEFAULT_EDGE_LENGTH=50,i.DEFAULT_SPRING_STRENGTH=.45,i.DEFAULT_REPULSION_STRENGTH=4500,i.DEFAULT_GRAVITY_STRENGTH=.4,i.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,i.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,i.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,i.COOLING_ADAPTATION_FACTOR=.33,i.ADAPTATION_LOWER_NODE_LIMIT=1e3,i.ADAPTATION_UPPER_NODE_LIMIT=5e3,i.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,i.MAX_NODE_DISPLACEMENT=i.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,i.MIN_REPULSION_DIST=i.DEFAULT_EDGE_LENGTH/10,i.CONVERGENCE_CHECK_PERIOD=100,i.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,i.MIN_EDGE_LENGTH=1,i.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=i},function(t,e,r){"use strict";function n(i,a){i==null&&a==null?(this.x=0,this.y=0):(this.x=i,this.y=a)}o(n,"PointD"),n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(i){this.x=i},n.prototype.setY=function(i){this.y=i},n.prototype.getDifference=function(i){return new DimensionD(this.x-i.x,this.y-i.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(i){return this.x+=i.width,this.y+=i.height,this},t.exports=n},function(t,e,r){"use strict";var n=r(2),i=r(10),a=r(0),s=r(7),l=r(3),u=r(1),h=r(13),f=r(12),d=r(11);function p(g,y,x){n.call(this,x),this.estimatedSize=i.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=g,y!=null&&y instanceof s?this.graphManager=y:y!=null&&y instanceof Layout&&(this.graphManager=y.graphManager)}o(p,"LGraph"),p.prototype=Object.create(n.prototype);for(var m in n)p[m]=n[m];p.prototype.getNodes=function(){return this.nodes},p.prototype.getEdges=function(){return this.edges},p.prototype.getGraphManager=function(){return this.graphManager},p.prototype.getParent=function(){return this.parent},p.prototype.getLeft=function(){return this.left},p.prototype.getRight=function(){return this.right},p.prototype.getTop=function(){return this.top},p.prototype.getBottom=function(){return this.bottom},p.prototype.isConnected=function(){return this.isConnected},p.prototype.add=function(g,y,x){if(y==null&&x==null){var v=g;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(v)>-1)throw"Node already in graph!";return v.owner=this,this.getNodes().push(v),v}else{var b=g;if(!(this.getNodes().indexOf(y)>-1&&this.getNodes().indexOf(x)>-1))throw"Source or target not in graph!";if(!(y.owner==x.owner&&y.owner==this))throw"Both owners must be this graph!";return y.owner!=x.owner?null:(b.source=y,b.target=x,b.isInterGraph=!1,this.getEdges().push(b),y.edges.push(b),x!=y&&x.edges.push(b),b)}},p.prototype.remove=function(g){var y=g;if(g instanceof l){if(y==null)throw"Node is null!";if(!(y.owner!=null&&y.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var x=y.edges.slice(),v,b=x.length,T=0;T-1&&E>-1))throw"Source and/or target doesn't know this edge!";v.source.edges.splice(w,1),v.target!=v.source&&v.target.edges.splice(E,1);var S=v.source.owner.getEdges().indexOf(v);if(S==-1)throw"Not in owner's edge list!";v.source.owner.getEdges().splice(S,1)}},p.prototype.updateLeftTop=function(){for(var g=i.MAX_VALUE,y=i.MAX_VALUE,x,v,b,T=this.getNodes(),S=T.length,w=0;wx&&(g=x),y>v&&(y=v)}return g==i.MAX_VALUE?null:(T[0].getParent().paddingLeft!=null?b=T[0].getParent().paddingLeft:b=this.margin,this.left=y-b,this.top=g-b,new f(this.left,this.top))},p.prototype.updateBounds=function(g){for(var y=i.MAX_VALUE,x=-i.MAX_VALUE,v=i.MAX_VALUE,b=-i.MAX_VALUE,T,S,w,E,_,A=this.nodes,D=A.length,O=0;OT&&(y=T),xw&&(v=w),bT&&(y=T),xw&&(v=w),b=this.nodes.length){var D=0;x.forEach(function(O){O.owner==g&&D++}),D==this.nodes.length&&(this.isConnected=!0)}},t.exports=p},function(t,e,r){"use strict";var n,i=r(1);function a(s){n=r(6),this.layout=s,this.graphs=[],this.edges=[]}o(a,"LGraphManager"),a.prototype.addRoot=function(){var s=this.layout.newGraph(),l=this.layout.newNode(null),u=this.add(s,l);return this.setRootGraph(u),this.rootGraph},a.prototype.add=function(s,l,u,h,f){if(u==null&&h==null&&f==null){if(s==null)throw"Graph is null!";if(l==null)throw"Parent node is null!";if(this.graphs.indexOf(s)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(s),s.parent!=null)throw"Already has a parent!";if(l.child!=null)throw"Already has a child!";return s.parent=l,l.child=s,s}else{f=u,h=l,u=s;var d=h.getOwner(),p=f.getOwner();if(!(d!=null&&d.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(p!=null&&p.getGraphManager()==this))throw"Target not in this graph mgr!";if(d==p)return u.isInterGraph=!1,d.add(u,h,f);if(u.isInterGraph=!0,u.source=h,u.target=f,this.edges.indexOf(u)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(u),!(u.source!=null&&u.target!=null))throw"Edge source and/or target is null!";if(!(u.source.edges.indexOf(u)==-1&&u.target.edges.indexOf(u)==-1))throw"Edge already in source and/or target incidency list!";return u.source.edges.push(u),u.target.edges.push(u),u}},a.prototype.remove=function(s){if(s instanceof n){var l=s;if(l.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(l==this.rootGraph||l.parent!=null&&l.parent.graphManager==this))throw"Invalid parent node!";var u=[];u=u.concat(l.getEdges());for(var h,f=u.length,d=0;d=s.getRight()?l[0]+=Math.min(s.getX()-a.getX(),a.getRight()-s.getRight()):s.getX()<=a.getX()&&s.getRight()>=a.getRight()&&(l[0]+=Math.min(a.getX()-s.getX(),s.getRight()-a.getRight())),a.getY()<=s.getY()&&a.getBottom()>=s.getBottom()?l[1]+=Math.min(s.getY()-a.getY(),a.getBottom()-s.getBottom()):s.getY()<=a.getY()&&s.getBottom()>=a.getBottom()&&(l[1]+=Math.min(a.getY()-s.getY(),s.getBottom()-a.getBottom()));var f=Math.abs((s.getCenterY()-a.getCenterY())/(s.getCenterX()-a.getCenterX()));s.getCenterY()===a.getCenterY()&&s.getCenterX()===a.getCenterX()&&(f=1);var d=f*l[0],p=l[1]/f;l[0]d)return l[0]=u,l[1]=m,l[2]=f,l[3]=A,!1;if(hf)return l[0]=p,l[1]=h,l[2]=E,l[3]=d,!1;if(uf?(l[0]=y,l[1]=x,k=!0):(l[0]=g,l[1]=m,k=!0):C===M&&(u>f?(l[0]=p,l[1]=m,k=!0):(l[0]=v,l[1]=x,k=!0)),-I===M?f>u?(l[2]=_,l[3]=A,L=!0):(l[2]=E,l[3]=w,L=!0):I===M&&(f>u?(l[2]=S,l[3]=w,L=!0):(l[2]=D,l[3]=A,L=!0)),k&&L)return!1;if(u>f?h>d?(P=this.getCardinalDirection(C,M,4),B=this.getCardinalDirection(I,M,2)):(P=this.getCardinalDirection(-C,M,3),B=this.getCardinalDirection(-I,M,1)):h>d?(P=this.getCardinalDirection(-C,M,1),B=this.getCardinalDirection(-I,M,3)):(P=this.getCardinalDirection(C,M,2),B=this.getCardinalDirection(I,M,4)),!k)switch(P){case 1:G=m,F=u+-T/M,l[0]=F,l[1]=G;break;case 2:F=v,G=h+b*M,l[0]=F,l[1]=G;break;case 3:G=x,F=u+T/M,l[0]=F,l[1]=G;break;case 4:F=y,G=h+-b*M,l[0]=F,l[1]=G;break}if(!L)switch(B){case 1:U=w,$=f+-R/M,l[2]=$,l[3]=U;break;case 2:$=D,U=d+O*M,l[2]=$,l[3]=U;break;case 3:U=A,$=f+R/M,l[2]=$,l[3]=U;break;case 4:$=_,U=d+-O*M,l[2]=$,l[3]=U;break}}return!1},i.getCardinalDirection=function(a,s,l){return a>s?l:1+l%4},i.getIntersection=function(a,s,l,u){if(u==null)return this.getIntersection2(a,s,l);var h=a.x,f=a.y,d=s.x,p=s.y,m=l.x,g=l.y,y=u.x,x=u.y,v=void 0,b=void 0,T=void 0,S=void 0,w=void 0,E=void 0,_=void 0,A=void 0,D=void 0;return T=p-f,w=h-d,_=d*f-h*p,S=x-g,E=m-y,A=y*g-m*x,D=T*E-S*w,D===0?null:(v=(w*A-E*_)/D,b=(S*_-T*A)/D,new n(v,b))},i.angleOfVector=function(a,s,l,u){var h=void 0;return a!==l?(h=Math.atan((u-s)/(l-a)),l=0){var x=(-m+Math.sqrt(m*m-4*p*g))/(2*p),v=(-m-Math.sqrt(m*m-4*p*g))/(2*p),b=null;return x>=0&&x<=1?[x]:v>=0&&v<=1?[v]:b}else return null},i.HALF_PI=.5*Math.PI,i.ONE_AND_HALF_PI=1.5*Math.PI,i.TWO_PI=2*Math.PI,i.THREE_PI=3*Math.PI,t.exports=i},function(t,e,r){"use strict";function n(){}o(n,"IMath"),n.sign=function(i){return i>0?1:i<0?-1:0},n.floor=function(i){return i<0?Math.ceil(i):Math.floor(i)},n.ceil=function(i){return i<0?Math.floor(i):Math.ceil(i)},t.exports=n},function(t,e,r){"use strict";function n(){}o(n,"Integer"),n.MAX_VALUE=2147483647,n.MIN_VALUE=-2147483648,t.exports=n},function(t,e,r){"use strict";var n=function(){function h(f,d){for(var p=0;p"u"?"undefined":n(a);return a==null||s!="object"&&s!="function"},t.exports=i},function(t,e,r){"use strict";function n(m){if(Array.isArray(m)){for(var g=0,y=Array(m.length);g0&&g;){for(T.push(w[0]);T.length>0&&g;){var E=T[0];T.splice(0,1),b.add(E);for(var _=E.getEdges(),v=0;v<_.length;v++){var A=_[v].getOtherEnd(E);if(S.get(E)!=A)if(!b.has(A))T.push(A),S.set(A,E);else{g=!1;break}}}if(!g)m=[];else{var D=[].concat(n(b));m.push(D);for(var v=0;v-1&&w.splice(R,1)}b=new Set,S=new Map}}return m},p.prototype.createDummyNodesForBendpoints=function(m){for(var g=[],y=m.source,x=this.graphManager.calcLowestCommonAncestor(m.source,m.target),v=0;v0){for(var x=this.edgeToDummyNodes.get(y),v=0;v=0&&g.splice(A,1);var D=S.getNeighborsList();D.forEach(function(k){if(y.indexOf(k)<0){var L=x.get(k),C=L-1;C==1&&E.push(k),x.set(k,C)}})}y=y.concat(E),(g.length==1||g.length==2)&&(v=!0,b=g[0])}return b},p.prototype.setGraphManager=function(m){this.graphManager=m},t.exports=p},function(t,e,r){"use strict";function n(){}o(n,"RandomSeed"),n.seed=1,n.x=0,n.nextDouble=function(){return n.x=Math.sin(n.seed++)*1e4,n.x-Math.floor(n.x)},t.exports=n},function(t,e,r){"use strict";var n=r(5);function i(a,s){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}o(i,"Transform"),i.prototype.getWorldOrgX=function(){return this.lworldOrgX},i.prototype.setWorldOrgX=function(a){this.lworldOrgX=a},i.prototype.getWorldOrgY=function(){return this.lworldOrgY},i.prototype.setWorldOrgY=function(a){this.lworldOrgY=a},i.prototype.getWorldExtX=function(){return this.lworldExtX},i.prototype.setWorldExtX=function(a){this.lworldExtX=a},i.prototype.getWorldExtY=function(){return this.lworldExtY},i.prototype.setWorldExtY=function(a){this.lworldExtY=a},i.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},i.prototype.setDeviceOrgX=function(a){this.ldeviceOrgX=a},i.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},i.prototype.setDeviceOrgY=function(a){this.ldeviceOrgY=a},i.prototype.getDeviceExtX=function(){return this.ldeviceExtX},i.prototype.setDeviceExtX=function(a){this.ldeviceExtX=a},i.prototype.getDeviceExtY=function(){return this.ldeviceExtY},i.prototype.setDeviceExtY=function(a){this.ldeviceExtY=a},i.prototype.transformX=function(a){var s=0,l=this.lworldExtX;return l!=0&&(s=this.ldeviceOrgX+(a-this.lworldOrgX)*this.ldeviceExtX/l),s},i.prototype.transformY=function(a){var s=0,l=this.lworldExtY;return l!=0&&(s=this.ldeviceOrgY+(a-this.lworldOrgY)*this.ldeviceExtY/l),s},i.prototype.inverseTransformX=function(a){var s=0,l=this.ldeviceExtX;return l!=0&&(s=this.lworldOrgX+(a-this.ldeviceOrgX)*this.lworldExtX/l),s},i.prototype.inverseTransformY=function(a){var s=0,l=this.ldeviceExtY;return l!=0&&(s=this.lworldOrgY+(a-this.ldeviceOrgY)*this.lworldExtY/l),s},i.prototype.inverseTransformPoint=function(a){var s=new n(this.inverseTransformX(a.x),this.inverseTransformY(a.y));return s},t.exports=i},function(t,e,r){"use strict";function n(d){if(Array.isArray(d)){for(var p=0,m=Array(d.length);pa.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*a.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(d-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-a.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT_INCREMENTAL):(d>a.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(a.COOLING_ADAPTATION_FACTOR,1-(d-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*(1-a.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*a.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var d=this.getAllEdges(),p,m=0;m0&&arguments[0]!==void 0?arguments[0]:!0,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m,g,y,x,v=this.getAllNodes(),b;if(this.useFRGridVariant)for(this.totalIterations%a.GRID_CALCULATION_CHECK_PERIOD==1&&d&&this.updateGrid(),b=new Set,m=0;mT||b>T)&&(d.gravitationForceX=-this.gravityConstant*y,d.gravitationForceY=-this.gravityConstant*x)):(T=p.getEstimatedSize()*this.compoundGravityRangeFactor,(v>T||b>T)&&(d.gravitationForceX=-this.gravityConstant*y*this.compoundGravityConstant,d.gravitationForceY=-this.gravityConstant*x*this.compoundGravityConstant))},h.prototype.isConverged=function(){var d,p=!1;return this.totalIterations>this.maxIterations/3&&(p=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),d=this.totalDisplacement=v.length||T>=v[0].length)){for(var S=0;Sh},"_defaultCompareFunction")}]),l}();t.exports=s},function(t,e,r){"use strict";function n(){}o(n,"SVD"),n.svd=function(i){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=i.length,this.n=i[0].length;var a=Math.min(this.m,this.n);this.s=function(bt){for(var ft=[];bt-- >0;)ft.push(0);return ft}(Math.min(this.m+1,this.n)),this.U=function(bt){var ft=o(function St(dt){if(dt.length==0)return 0;for(var vt=[],at=0;at0;)ft.push(0);return ft}(this.n),l=function(bt){for(var ft=[];bt-- >0;)ft.push(0);return ft}(this.m),u=!0,h=!0,f=Math.min(this.m-1,this.n),d=Math.max(0,Math.min(this.n-2,this.m)),p=0;p=0;M--)if(this.s[M]!==0){for(var P=M+1;P=0;ne--){if(function(bt,ft){return bt&&ft}(ne0;){var J=void 0,ye=void 0;for(J=L-2;J>=-1&&J!==-1;J--)if(Math.abs(s[J])<=he+re*(Math.abs(this.s[J])+Math.abs(this.s[J+1]))){s[J]=0;break}if(J===L-2)ye=4;else{var se=void 0;for(se=L-1;se>=J&&se!==J;se--){var Se=(se!==L?Math.abs(s[se]):0)+(se!==J+1?Math.abs(s[se-1]):0);if(Math.abs(this.s[se])<=he+re*Se){this.s[se]=0;break}}se===J?ye=3:se===L-1?ye=1:(ye=2,J=se)}switch(J++,ye){case 1:{var W=s[L-2];s[L-2]=0;for(var Oe=L-2;Oe>=J;Oe--){var ve=n.hypot(this.s[Oe],W),Pe=this.s[Oe]/ve,qe=W/ve;if(this.s[Oe]=ve,Oe!==J&&(W=-qe*s[Oe-1],s[Oe-1]=Pe*s[Oe-1]),h)for(var Ge=0;Ge=this.s[J+1]);){var ct=this.s[J];if(this.s[J]=this.s[J+1],this.s[J+1]=ct,h&&JMath.abs(a)?(s=a/i,s=Math.abs(i)*Math.sqrt(1+s*s)):a!=0?(s=i/a,s=Math.abs(a)*Math.sqrt(1+s*s)):s=0,s},t.exports=n},function(t,e,r){"use strict";var n=function(){function s(l,u){for(var h=0;h2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;i(this,s),this.sequence1=l,this.sequence2=u,this.match_score=h,this.mismatch_penalty=f,this.gap_penalty=d,this.iMax=l.length+1,this.jMax=u.length+1,this.grid=new Array(this.iMax);for(var p=0;p=0;l--){var u=this.listeners[l];u.event===a&&u.callback===s&&this.listeners.splice(l,1)}},i.emit=function(a,s){for(var l=0;l{"use strict";o(function(e,r){typeof P4=="object"&&typeof l$=="object"?l$.exports=r(o$()):typeof define=="function"&&define.amd?define(["layout-base"],r):typeof P4=="object"?P4.coseBase=r(o$()):e.coseBase=r(e.layoutBase)},"webpackUniversalModuleDefinition")(P4,function(t){return(()=>{"use strict";var e={45:(a,s,l)=>{var u={};u.layoutBase=l(551),u.CoSEConstants=l(806),u.CoSEEdge=l(767),u.CoSEGraph=l(880),u.CoSEGraphManager=l(578),u.CoSELayout=l(765),u.CoSENode=l(991),u.ConstraintHandler=l(902),a.exports=u},806:(a,s,l)=>{var u=l(551).FDLayoutConstants;function h(){}o(h,"CoSEConstants");for(var f in u)h[f]=u[f];h.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,h.DEFAULT_RADIAL_SEPARATION=u.DEFAULT_EDGE_LENGTH,h.DEFAULT_COMPONENT_SEPERATION=60,h.TILE=!0,h.TILING_PADDING_VERTICAL=10,h.TILING_PADDING_HORIZONTAL=10,h.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,h.ENFORCE_CONSTRAINTS=!0,h.APPLY_LAYOUT=!0,h.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,h.TREE_REDUCTION_ON_INCREMENTAL=!0,h.PURE_INCREMENTAL=h.DEFAULT_INCREMENTAL,a.exports=h},767:(a,s,l)=>{var u=l(551).FDLayoutEdge;function h(d,p,m){u.call(this,d,p,m)}o(h,"CoSEEdge"),h.prototype=Object.create(u.prototype);for(var f in u)h[f]=u[f];a.exports=h},880:(a,s,l)=>{var u=l(551).LGraph;function h(d,p,m){u.call(this,d,p,m)}o(h,"CoSEGraph"),h.prototype=Object.create(u.prototype);for(var f in u)h[f]=u[f];a.exports=h},578:(a,s,l)=>{var u=l(551).LGraphManager;function h(d){u.call(this,d)}o(h,"CoSEGraphManager"),h.prototype=Object.create(u.prototype);for(var f in u)h[f]=u[f];a.exports=h},765:(a,s,l)=>{var u=l(551).FDLayout,h=l(578),f=l(880),d=l(991),p=l(767),m=l(806),g=l(902),y=l(551).FDLayoutConstants,x=l(551).LayoutConstants,v=l(551).Point,b=l(551).PointD,T=l(551).DimensionD,S=l(551).Layout,w=l(551).Integer,E=l(551).IGeometry,_=l(551).LGraph,A=l(551).Transform,D=l(551).LinkedList;function O(){u.call(this),this.toBeTiled={},this.constraints={}}o(O,"CoSELayout"),O.prototype=Object.create(u.prototype);for(var R in u)O[R]=u[R];O.prototype.newGraphManager=function(){var k=new h(this);return this.graphManager=k,k},O.prototype.newGraph=function(k){return new f(null,this.graphManager,k)},O.prototype.newNode=function(k){return new d(this.graphManager,k)},O.prototype.newEdge=function(k){return new p(null,null,k)},O.prototype.initParameters=function(){u.prototype.initParameters.call(this,arguments),this.isSubLayout||(m.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=m.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=m.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=y.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=y.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=y.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=y.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},O.prototype.initSpringEmbedder=function(){u.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/y.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},O.prototype.layout=function(){var k=x.DEFAULT_CREATE_BENDS_AS_NEEDED;return k&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},O.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(m.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var L=new Set(this.getAllNodes()),C=this.nodesWithGravity.filter(function(P){return L.has(P)});this.graphManager.setAllNodesToApplyGravitation(C)}}else{var k=this.getFlatForest();if(k.length>0)this.positionNodesRadially(k);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var L=new Set(this.getAllNodes()),C=this.nodesWithGravity.filter(function(I){return L.has(I)});this.graphManager.setAllNodesToApplyGravitation(C),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(g.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),m.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},O.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%y.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var k=new Set(this.getAllNodes()),L=this.nodesWithGravity.filter(function(M){return k.has(M)});this.graphManager.setAllNodesToApplyGravitation(L),this.graphManager.updateBounds(),this.updateGrid(),m.PURE_INCREMENTAL?this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),m.PURE_INCREMENTAL?this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=y.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var C=!this.isTreeGrowing&&!this.isGrowthFinished,I=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(C,I),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},O.prototype.getPositionsData=function(){for(var k=this.graphManager.getAllNodes(),L={},C=0;C0&&this.updateDisplacements();for(var C=0;C0&&(I.fixedNodeWeight=P)}}if(this.constraints.relativePlacementConstraint){var B=new Map,F=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(Z){k.fixedNodesOnHorizontal.add(Z),k.fixedNodesOnVertical.add(Z)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var G=this.constraints.alignmentConstraint.vertical,C=0;C=2*Z.length/3;ee--)ce=Math.floor(Math.random()*(ee+1)),Q=Z[ee],Z[ee]=Z[ce],Z[ce]=Q;return Z},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(Z){if(Z.left){var ce=B.has(Z.left)?B.get(Z.left):Z.left,Q=B.has(Z.right)?B.get(Z.right):Z.right;k.nodesInRelativeHorizontal.includes(ce)||(k.nodesInRelativeHorizontal.push(ce),k.nodeToRelativeConstraintMapHorizontal.set(ce,[]),k.dummyToNodeForVerticalAlignment.has(ce)?k.nodeToTempPositionMapHorizontal.set(ce,k.idToNodeMap.get(k.dummyToNodeForVerticalAlignment.get(ce)[0]).getCenterX()):k.nodeToTempPositionMapHorizontal.set(ce,k.idToNodeMap.get(ce).getCenterX())),k.nodesInRelativeHorizontal.includes(Q)||(k.nodesInRelativeHorizontal.push(Q),k.nodeToRelativeConstraintMapHorizontal.set(Q,[]),k.dummyToNodeForVerticalAlignment.has(Q)?k.nodeToTempPositionMapHorizontal.set(Q,k.idToNodeMap.get(k.dummyToNodeForVerticalAlignment.get(Q)[0]).getCenterX()):k.nodeToTempPositionMapHorizontal.set(Q,k.idToNodeMap.get(Q).getCenterX())),k.nodeToRelativeConstraintMapHorizontal.get(ce).push({right:Q,gap:Z.gap}),k.nodeToRelativeConstraintMapHorizontal.get(Q).push({left:ce,gap:Z.gap})}else{var ee=F.has(Z.top)?F.get(Z.top):Z.top,te=F.has(Z.bottom)?F.get(Z.bottom):Z.bottom;k.nodesInRelativeVertical.includes(ee)||(k.nodesInRelativeVertical.push(ee),k.nodeToRelativeConstraintMapVertical.set(ee,[]),k.dummyToNodeForHorizontalAlignment.has(ee)?k.nodeToTempPositionMapVertical.set(ee,k.idToNodeMap.get(k.dummyToNodeForHorizontalAlignment.get(ee)[0]).getCenterY()):k.nodeToTempPositionMapVertical.set(ee,k.idToNodeMap.get(ee).getCenterY())),k.nodesInRelativeVertical.includes(te)||(k.nodesInRelativeVertical.push(te),k.nodeToRelativeConstraintMapVertical.set(te,[]),k.dummyToNodeForHorizontalAlignment.has(te)?k.nodeToTempPositionMapVertical.set(te,k.idToNodeMap.get(k.dummyToNodeForHorizontalAlignment.get(te)[0]).getCenterY()):k.nodeToTempPositionMapVertical.set(te,k.idToNodeMap.get(te).getCenterY())),k.nodeToRelativeConstraintMapVertical.get(ee).push({bottom:te,gap:Z.gap}),k.nodeToRelativeConstraintMapVertical.get(te).push({top:ee,gap:Z.gap})}});else{var U=new Map,K=new Map;this.constraints.relativePlacementConstraint.forEach(function(Z){if(Z.left){var ce=B.has(Z.left)?B.get(Z.left):Z.left,Q=B.has(Z.right)?B.get(Z.right):Z.right;U.has(ce)?U.get(ce).push(Q):U.set(ce,[Q]),U.has(Q)?U.get(Q).push(ce):U.set(Q,[ce])}else{var ee=F.has(Z.top)?F.get(Z.top):Z.top,te=F.has(Z.bottom)?F.get(Z.bottom):Z.bottom;K.has(ee)?K.get(ee).push(te):K.set(ee,[te]),K.has(te)?K.get(te).push(ee):K.set(te,[ee])}});var ne=o(function(ce,Q){var ee=[],te=[],re=new D,he=new Set,J=0;return ce.forEach(function(ye,se){if(!he.has(se)){ee[J]=[],te[J]=!1;var Se=se;for(re.push(Se),he.add(Se),ee[J].push(Se);re.length!=0;){Se=re.shift(),Q.has(Se)&&(te[J]=!0);var W=ce.get(Se);W.forEach(function(Oe){he.has(Oe)||(re.push(Oe),he.add(Oe),ee[J].push(Oe))})}J++}}),{components:ee,isFixed:te}},"constructComponents"),j=ne(U,k.fixedNodesOnHorizontal);this.componentsOnHorizontal=j.components,this.fixedComponentsOnHorizontal=j.isFixed;var le=ne(K,k.fixedNodesOnVertical);this.componentsOnVertical=le.components,this.fixedComponentsOnVertical=le.isFixed}}},O.prototype.updateDisplacements=function(){var k=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(le){var Z=k.idToNodeMap.get(le.nodeId);Z.displacementX=0,Z.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var L=this.constraints.alignmentConstraint.vertical,C=0;C1){var F;for(F=0;FI&&(I=Math.floor(B.y)),P=Math.floor(B.x+m.DEFAULT_COMPONENT_SEPERATION)}this.transform(new b(x.WORLD_CENTER_X-B.x/2,x.WORLD_CENTER_Y-B.y/2))},O.radialLayout=function(k,L,C){var I=Math.max(this.maxDiagonalInTree(k),m.DEFAULT_RADIAL_SEPARATION);O.branchRadialLayout(L,null,0,359,0,I);var M=_.calculateBounds(k),P=new A;P.setDeviceOrgX(M.getMinX()),P.setDeviceOrgY(M.getMinY()),P.setWorldOrgX(C.x),P.setWorldOrgY(C.y);for(var B=0;B1;){var ee=Q[0];Q.splice(0,1);var te=ne.indexOf(ee);te>=0&&ne.splice(te,1),Z--,j--}L!=null?ce=(ne.indexOf(Q[0])+1)%Z:ce=0;for(var re=Math.abs(I-C)/j,he=ce;le!=j;he=++he%Z){var J=ne[he].getOtherEnd(k);if(J!=L){var ye=(C+le*re)%360,se=(ye+re)%360;O.branchRadialLayout(J,k,ye,se,M+P,P),le++}}},O.maxDiagonalInTree=function(k){for(var L=w.MIN_VALUE,C=0;CL&&(L=M)}return L},O.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},O.prototype.groupZeroDegreeMembers=function(){var k=this,L={};this.memberGroups={},this.idToDummyNode={};for(var C=[],I=this.graphManager.getAllNodes(),M=0;M"u"&&(L[F]=[]),L[F]=L[F].concat(P)}Object.keys(L).forEach(function(G){if(L[G].length>1){var $="DummyCompound_"+G;k.memberGroups[$]=L[G];var U=L[G][0].getParent(),K=new d(k.graphManager);K.id=$,K.paddingLeft=U.paddingLeft||0,K.paddingRight=U.paddingRight||0,K.paddingBottom=U.paddingBottom||0,K.paddingTop=U.paddingTop||0,k.idToDummyNode[$]=K;var ne=k.getGraphManager().add(k.newGraph(),K),j=U.getChild();j.add(K);for(var le=0;leM?(I.rect.x-=(I.labelWidth-M)/2,I.setWidth(I.labelWidth),I.labelMarginLeft=(I.labelWidth-M)/2):I.labelPosHorizontal=="right"&&I.setWidth(M+I.labelWidth)),I.labelHeight&&(I.labelPosVertical=="top"?(I.rect.y-=I.labelHeight,I.setHeight(P+I.labelHeight),I.labelMarginTop=I.labelHeight):I.labelPosVertical=="center"&&I.labelHeight>P?(I.rect.y-=(I.labelHeight-P)/2,I.setHeight(I.labelHeight),I.labelMarginTop=(I.labelHeight-P)/2):I.labelPosVertical=="bottom"&&I.setHeight(P+I.labelHeight))}})},O.prototype.repopulateCompounds=function(){for(var k=this.compoundOrder.length-1;k>=0;k--){var L=this.compoundOrder[k],C=L.id,I=L.paddingLeft,M=L.paddingTop,P=L.labelMarginLeft,B=L.labelMarginTop;this.adjustLocations(this.tiledMemberPack[C],L.rect.x,L.rect.y,I,M,P,B)}},O.prototype.repopulateZeroDegreeMembers=function(){var k=this,L=this.tiledZeroDegreePack;Object.keys(L).forEach(function(C){var I=k.idToDummyNode[C],M=I.paddingLeft,P=I.paddingTop,B=I.labelMarginLeft,F=I.labelMarginTop;k.adjustLocations(L[C],I.rect.x,I.rect.y,M,P,B,F)})},O.prototype.getToBeTiled=function(k){var L=k.id;if(this.toBeTiled[L]!=null)return this.toBeTiled[L];var C=k.getChild();if(C==null)return this.toBeTiled[L]=!1,!1;for(var I=C.getNodes(),M=0;M0)return this.toBeTiled[L]=!1,!1;if(P.getChild()==null){this.toBeTiled[P.id]=!1;continue}if(!this.getToBeTiled(P))return this.toBeTiled[L]=!1,!1}return this.toBeTiled[L]=!0,!0},O.prototype.getNodeDegree=function(k){for(var L=k.id,C=k.getEdges(),I=0,M=0;MU&&(U=ne.rect.height)}C+=U+k.verticalPadding}},O.prototype.tileCompoundMembers=function(k,L){var C=this;this.tiledMemberPack=[],Object.keys(k).forEach(function(I){var M=L[I];if(C.tiledMemberPack[I]=C.tileNodes(k[I],M.paddingLeft+M.paddingRight),M.rect.width=C.tiledMemberPack[I].width,M.rect.height=C.tiledMemberPack[I].height,M.setCenter(C.tiledMemberPack[I].centerX,C.tiledMemberPack[I].centerY),M.labelMarginLeft=0,M.labelMarginTop=0,m.NODE_DIMENSIONS_INCLUDE_LABELS){var P=M.rect.width,B=M.rect.height;M.labelWidth&&(M.labelPosHorizontal=="left"?(M.rect.x-=M.labelWidth,M.setWidth(P+M.labelWidth),M.labelMarginLeft=M.labelWidth):M.labelPosHorizontal=="center"&&M.labelWidth>P?(M.rect.x-=(M.labelWidth-P)/2,M.setWidth(M.labelWidth),M.labelMarginLeft=(M.labelWidth-P)/2):M.labelPosHorizontal=="right"&&M.setWidth(P+M.labelWidth)),M.labelHeight&&(M.labelPosVertical=="top"?(M.rect.y-=M.labelHeight,M.setHeight(B+M.labelHeight),M.labelMarginTop=M.labelHeight):M.labelPosVertical=="center"&&M.labelHeight>B?(M.rect.y-=(M.labelHeight-B)/2,M.setHeight(M.labelHeight),M.labelMarginTop=(M.labelHeight-B)/2):M.labelPosVertical=="bottom"&&M.setHeight(B+M.labelHeight))}})},O.prototype.tileNodes=function(k,L){var C=this.tileNodesByFavoringDim(k,L,!0),I=this.tileNodesByFavoringDim(k,L,!1),M=this.getOrgRatio(C),P=this.getOrgRatio(I),B;return PF&&(F=le.getWidth())});var G=P/M,$=B/M,U=Math.pow(C-I,2)+4*(G+I)*($+C)*M,K=(I-C+Math.sqrt(U))/(2*(G+I)),ne;L?(ne=Math.ceil(K),ne==K&&ne++):ne=Math.floor(K);var j=ne*(G+I)-I;return F>j&&(j=F),j+=I*2,j},O.prototype.tileNodesByFavoringDim=function(k,L,C){var I=m.TILING_PADDING_VERTICAL,M=m.TILING_PADDING_HORIZONTAL,P=m.TILING_COMPARE_BY,B={rows:[],rowWidth:[],rowHeight:[],width:0,height:L,verticalPadding:I,horizontalPadding:M,centerX:0,centerY:0};P&&(B.idealRowWidth=this.calcIdealRowWidth(k,C));var F=o(function(Z){return Z.rect.width*Z.rect.height},"getNodeArea"),G=o(function(Z,ce){return F(ce)-F(Z)},"areaCompareFcn");k.sort(function(le,Z){var ce=G;return B.idealRowWidth?(ce=P,ce(le.id,Z.id)):ce(le,Z)});for(var $=0,U=0,K=0;K0&&(B+=k.horizontalPadding),k.rowWidth[C]=B,k.width0&&(F+=k.verticalPadding);var G=0;F>k.rowHeight[C]&&(G=k.rowHeight[C],k.rowHeight[C]=F,G=k.rowHeight[C]-G),k.height+=G,k.rows[C].push(L)},O.prototype.getShortestRowIndex=function(k){for(var L=-1,C=Number.MAX_VALUE,I=0;IC&&(L=I,C=k.rowWidth[I]);return L},O.prototype.canAddHorizontal=function(k,L,C){if(k.idealRowWidth){var I=k.rows.length-1,M=k.rowWidth[I];return M+L+k.horizontalPadding<=k.idealRowWidth}var P=this.getShortestRowIndex(k);if(P<0)return!0;var B=k.rowWidth[P];if(B+k.horizontalPadding+L<=k.width)return!0;var F=0;k.rowHeight[P]0&&(F=C+k.verticalPadding-k.rowHeight[P]);var G;k.width-B>=L+k.horizontalPadding?G=(k.height+F)/(B+L+k.horizontalPadding):G=(k.height+F)/k.width,F=C+k.verticalPadding;var $;return k.widthP&&L!=C){I.splice(-1,1),k.rows[C].push(M),k.rowWidth[L]=k.rowWidth[L]-P,k.rowWidth[C]=k.rowWidth[C]+P,k.width=k.rowWidth[instance.getLongestRowIndex(k)];for(var B=Number.MIN_VALUE,F=0;FB&&(B=I[F].height);L>0&&(B+=k.verticalPadding);var G=k.rowHeight[L]+k.rowHeight[C];k.rowHeight[L]=B,k.rowHeight[C]0)for(var j=M;j<=P;j++)ne[0]+=this.grid[j][B-1].length+this.grid[j][B].length-1;if(P0)for(var j=B;j<=F;j++)ne[3]+=this.grid[M-1][j].length+this.grid[M][j].length-1;for(var le=w.MAX_VALUE,Z,ce,Q=0;Q{var u=l(551).FDLayoutNode,h=l(551).IMath;function f(p,m,g,y){u.call(this,p,m,g,y)}o(f,"CoSENode"),f.prototype=Object.create(u.prototype);for(var d in u)f[d]=u[d];f.prototype.calculateDisplacement=function(){var p=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=p.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=p.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=p.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=p.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>p.coolingFactor*p.maxNodeDisplacement&&(this.displacementX=p.coolingFactor*p.maxNodeDisplacement*h.sign(this.displacementX)),Math.abs(this.displacementY)>p.coolingFactor*p.maxNodeDisplacement&&(this.displacementY=p.coolingFactor*p.maxNodeDisplacement*h.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},f.prototype.propogateDisplacementToChildren=function(p,m){for(var g=this.getChild().getNodes(),y,x=0;x{function u(g){if(Array.isArray(g)){for(var y=0,x=Array(g.length);y0){var ht=0;Ve.forEach(function(ct){xe=="horizontal"?(Te.set(ct,v.has(ct)?b[v.get(ct)]:de.get(ct)),ht+=Te.get(ct)):(Te.set(ct,v.has(ct)?T[v.get(ct)]:de.get(ct)),ht+=Te.get(ct))}),ht=ht/Ve.length,Ze.forEach(function(ct){Y.has(ct)||Te.set(ct,ht)})}else{var Ye=0;Ze.forEach(function(ct){xe=="horizontal"?Ye+=v.has(ct)?b[v.get(ct)]:de.get(ct):Ye+=v.has(ct)?T[v.get(ct)]:de.get(ct)}),Ye=Ye/Ze.length,Ze.forEach(function(ct){Te.set(ct,Ye)})}});for(var Qe=o(function(){var Ve=De.shift(),ht=V.get(Ve);ht.forEach(function(Ye){if(Te.get(Ye.id)ct&&(ct=vt),atYt&&(Yt=at)}}catch(Dt){Mt=!0,bt=Dt}finally{try{!Tt&&ft.return&&ft.return()}finally{if(Mt)throw bt}}var pn=(ht+ct)/2-(Ye+Yt)/2,kt=!0,Fn=!1,tn=void 0;try{for(var Nr=Ze[Symbol.iterator](),Mr;!(kt=(Mr=Nr.next()).done);kt=!0){var $n=Mr.value;Te.set($n,Te.get($n)+pn)}}catch(Dt){Fn=!0,tn=Dt}finally{try{!kt&&Nr.return&&Nr.return()}finally{if(Fn)throw tn}}})}return Te},"findAppropriatePositionForRelativePlacement"),R=o(function(V){var xe=0,Y=0,de=0,me=0;if(V.forEach(function(Ue){Ue.left?b[v.get(Ue.left)]-b[v.get(Ue.right)]>=0?xe++:Y++:T[v.get(Ue.top)]-T[v.get(Ue.bottom)]>=0?de++:me++}),xe>Y&&de>me)for(var Be=0;BeY)for(var _e=0;_eme)for(var Te=0;Te1)y.fixedNodeConstraint.forEach(function(oe,V){I[V]=[oe.position.x,oe.position.y],M[V]=[b[v.get(oe.nodeId)],T[v.get(oe.nodeId)]]}),P=!0;else if(y.alignmentConstraint)(function(){var oe=0;if(y.alignmentConstraint.vertical){for(var V=y.alignmentConstraint.vertical,xe=o(function(Te){var Ue=new Set;V[Te].forEach(function(ot){Ue.add(ot)});var De=new Set([].concat(u(Ue)).filter(function(ot){return F.has(ot)})),Qe=void 0;De.size>0?Qe=b[v.get(De.values().next().value)]:Qe=D(Ue).x,V[Te].forEach(function(ot){I[oe]=[Qe,T[v.get(ot)]],M[oe]=[b[v.get(ot)],T[v.get(ot)]],oe++})},"_loop2"),Y=0;Y0?Qe=b[v.get(De.values().next().value)]:Qe=D(Ue).y,de[Te].forEach(function(ot){I[oe]=[b[v.get(ot)],Qe],M[oe]=[b[v.get(ot)],T[v.get(ot)]],oe++})},"_loop3"),Be=0;BeK&&(K=U[j].length,ne=j);if(K<$.size/2)R(y.relativePlacementConstraint),P=!1,B=!1;else{var le=new Map,Z=new Map,ce=[];U[ne].forEach(function(oe){G.get(oe).forEach(function(V){V.direction=="horizontal"?(le.has(oe)?le.get(oe).push(V):le.set(oe,[V]),le.has(V.id)||le.set(V.id,[]),ce.push({left:oe,right:V.id})):(Z.has(oe)?Z.get(oe).push(V):Z.set(oe,[V]),Z.has(V.id)||Z.set(V.id,[]),ce.push({top:oe,bottom:V.id}))})}),R(ce),B=!1;var Q=O(le,"horizontal"),ee=O(Z,"vertical");U[ne].forEach(function(oe,V){M[V]=[b[v.get(oe)],T[v.get(oe)]],I[V]=[],Q.has(oe)?I[V][0]=Q.get(oe):I[V][0]=b[v.get(oe)],ee.has(oe)?I[V][1]=ee.get(oe):I[V][1]=T[v.get(oe)]}),P=!0}}if(P){for(var te=void 0,re=d.transpose(I),he=d.transpose(M),J=0;J0){var Pe={x:0,y:0};y.fixedNodeConstraint.forEach(function(oe,V){var xe={x:b[v.get(oe.nodeId)],y:T[v.get(oe.nodeId)]},Y=oe.position,de=A(Y,xe);Pe.x+=de.x,Pe.y+=de.y}),Pe.x/=y.fixedNodeConstraint.length,Pe.y/=y.fixedNodeConstraint.length,b.forEach(function(oe,V){b[V]+=Pe.x}),T.forEach(function(oe,V){T[V]+=Pe.y}),y.fixedNodeConstraint.forEach(function(oe){b[v.get(oe.nodeId)]=oe.position.x,T[v.get(oe.nodeId)]=oe.position.y})}if(y.alignmentConstraint){if(y.alignmentConstraint.vertical)for(var qe=y.alignmentConstraint.vertical,Ge=o(function(V){var xe=new Set;qe[V].forEach(function(me){xe.add(me)});var Y=new Set([].concat(u(xe)).filter(function(me){return F.has(me)})),de=void 0;Y.size>0?de=b[v.get(Y.values().next().value)]:de=D(xe).x,xe.forEach(function(me){F.has(me)||(b[v.get(me)]=de)})},"_loop4"),Ne=0;Ne0?de=T[v.get(Y.values().next().value)]:de=D(xe).y,xe.forEach(function(me){F.has(me)||(T[v.get(me)]=de)})},"_loop5"),q=0;q{a.exports=t}},r={};function n(a){var s=r[a];if(s!==void 0)return s.exports;var l=r[a]={exports:{}};return e[a](l,l.exports,n),l.exports}o(n,"__webpack_require__");var i=n(45);return i})()})});var ixe=Aa((B4,u$)=>{"use strict";o(function(e,r){typeof B4=="object"&&typeof u$=="object"?u$.exports=r(c$()):typeof define=="function"&&define.amd?define(["cose-base"],r):typeof B4=="object"?B4.cytoscapeFcose=r(c$()):e.cytoscapeFcose=r(e.coseBase)},"webpackUniversalModuleDefinition")(B4,function(t){return(()=>{"use strict";var e={658:a=>{a.exports=Object.assign!=null?Object.assign.bind(Object):function(s){for(var l=arguments.length,u=Array(l>1?l-1:0),h=1;h{var u=function(){function d(p,m){var g=[],y=!0,x=!1,v=void 0;try{for(var b=p[Symbol.iterator](),T;!(y=(T=b.next()).done)&&(g.push(T.value),!(m&&g.length===m));y=!0);}catch(S){x=!0,v=S}finally{try{!y&&b.return&&b.return()}finally{if(x)throw v}}return g}return o(d,"sliceIterator"),function(p,m){if(Array.isArray(p))return p;if(Symbol.iterator in Object(p))return d(p,m);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=l(140).layoutBase.LinkedList,f={};f.getTopMostNodes=function(d){for(var p={},m=0;m0&&P.merge($)});for(var B=0;B1){T=v[0],S=T.connectedEdges().length,v.forEach(function(M){M.connectedEdges().length0&&g.set("dummy"+(g.size+1),_),A},f.relocateComponent=function(d,p,m){if(!m.fixedNodeConstraint){var g=Number.POSITIVE_INFINITY,y=Number.NEGATIVE_INFINITY,x=Number.POSITIVE_INFINITY,v=Number.NEGATIVE_INFINITY;if(m.quality=="draft"){var b=!0,T=!1,S=void 0;try{for(var w=p.nodeIndexes[Symbol.iterator](),E;!(b=(E=w.next()).done);b=!0){var _=E.value,A=u(_,2),D=A[0],O=A[1],R=m.cy.getElementById(D);if(R){var k=R.boundingBox(),L=p.xCoords[O]-k.w/2,C=p.xCoords[O]+k.w/2,I=p.yCoords[O]-k.h/2,M=p.yCoords[O]+k.h/2;Ly&&(y=C),Iv&&(v=M)}}}catch($){T=!0,S=$}finally{try{!b&&w.return&&w.return()}finally{if(T)throw S}}var P=d.x-(y+g)/2,B=d.y-(v+x)/2;p.xCoords=p.xCoords.map(function($){return $+P}),p.yCoords=p.yCoords.map(function($){return $+B})}else{Object.keys(p).forEach(function($){var U=p[$],K=U.getRect().x,ne=U.getRect().x+U.getRect().width,j=U.getRect().y,le=U.getRect().y+U.getRect().height;Ky&&(y=ne),jv&&(v=le)});var F=d.x-(y+g)/2,G=d.y-(v+x)/2;Object.keys(p).forEach(function($){var U=p[$];U.setCenter(U.getCenterX()+F,U.getCenterY()+G)})}}},f.calcBoundingBox=function(d,p,m,g){for(var y=Number.MAX_SAFE_INTEGER,x=Number.MIN_SAFE_INTEGER,v=Number.MAX_SAFE_INTEGER,b=Number.MIN_SAFE_INTEGER,T=void 0,S=void 0,w=void 0,E=void 0,_=d.descendants().not(":parent"),A=_.length,D=0;DT&&(y=T),xw&&(v=w),b{var u=l(548),h=l(140).CoSELayout,f=l(140).CoSENode,d=l(140).layoutBase.PointD,p=l(140).layoutBase.DimensionD,m=l(140).layoutBase.LayoutConstants,g=l(140).layoutBase.FDLayoutConstants,y=l(140).CoSEConstants,x=o(function(b,T){var S=b.cy,w=b.eles,E=w.nodes(),_=w.edges(),A=void 0,D=void 0,O=void 0,R={};b.randomize&&(A=T.nodeIndexes,D=T.xCoords,O=T.yCoords);var k=o(function($){return typeof $=="function"},"isFn"),L=o(function($,U){return k($)?$(U):$},"optFn"),C=u.calcParentsWithoutChildren(S,w),I=o(function G($,U,K,ne){for(var j=U.length,le=0;le0){var re=void 0;re=K.getGraphManager().add(K.newGraph(),Q),G(re,ce,K,ne)}}},"processChildrenList"),M=o(function($,U,K){for(var ne=0,j=0,le=0;le0?y.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=ne/j:k(b.idealEdgeLength)?y.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=50:y.DEFAULT_EDGE_LENGTH=g.DEFAULT_EDGE_LENGTH=b.idealEdgeLength,y.MIN_REPULSION_DIST=g.MIN_REPULSION_DIST=g.DEFAULT_EDGE_LENGTH/10,y.DEFAULT_RADIAL_SEPARATION=g.DEFAULT_EDGE_LENGTH)},"processEdges"),P=o(function($,U){U.fixedNodeConstraint&&($.constraints.fixedNodeConstraint=U.fixedNodeConstraint),U.alignmentConstraint&&($.constraints.alignmentConstraint=U.alignmentConstraint),U.relativePlacementConstraint&&($.constraints.relativePlacementConstraint=U.relativePlacementConstraint)},"processConstraints");b.nestingFactor!=null&&(y.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=g.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=b.nestingFactor),b.gravity!=null&&(y.DEFAULT_GRAVITY_STRENGTH=g.DEFAULT_GRAVITY_STRENGTH=b.gravity),b.numIter!=null&&(y.MAX_ITERATIONS=g.MAX_ITERATIONS=b.numIter),b.gravityRange!=null&&(y.DEFAULT_GRAVITY_RANGE_FACTOR=g.DEFAULT_GRAVITY_RANGE_FACTOR=b.gravityRange),b.gravityCompound!=null&&(y.DEFAULT_COMPOUND_GRAVITY_STRENGTH=g.DEFAULT_COMPOUND_GRAVITY_STRENGTH=b.gravityCompound),b.gravityRangeCompound!=null&&(y.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=g.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=b.gravityRangeCompound),b.initialEnergyOnIncremental!=null&&(y.DEFAULT_COOLING_FACTOR_INCREMENTAL=g.DEFAULT_COOLING_FACTOR_INCREMENTAL=b.initialEnergyOnIncremental),b.tilingCompareBy!=null&&(y.TILING_COMPARE_BY=b.tilingCompareBy),b.quality=="proof"?m.QUALITY=2:m.QUALITY=0,y.NODE_DIMENSIONS_INCLUDE_LABELS=g.NODE_DIMENSIONS_INCLUDE_LABELS=m.NODE_DIMENSIONS_INCLUDE_LABELS=b.nodeDimensionsIncludeLabels,y.DEFAULT_INCREMENTAL=g.DEFAULT_INCREMENTAL=m.DEFAULT_INCREMENTAL=!b.randomize,y.ANIMATE=g.ANIMATE=m.ANIMATE=b.animate,y.TILE=b.tile,y.TILING_PADDING_VERTICAL=typeof b.tilingPaddingVertical=="function"?b.tilingPaddingVertical.call():b.tilingPaddingVertical,y.TILING_PADDING_HORIZONTAL=typeof b.tilingPaddingHorizontal=="function"?b.tilingPaddingHorizontal.call():b.tilingPaddingHorizontal,y.DEFAULT_INCREMENTAL=g.DEFAULT_INCREMENTAL=m.DEFAULT_INCREMENTAL=!0,y.PURE_INCREMENTAL=!b.randomize,m.DEFAULT_UNIFORM_LEAF_NODE_SIZES=b.uniformNodeDimensions,b.step=="transformed"&&(y.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,y.ENFORCE_CONSTRAINTS=!1,y.APPLY_LAYOUT=!1),b.step=="enforced"&&(y.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,y.ENFORCE_CONSTRAINTS=!0,y.APPLY_LAYOUT=!1),b.step=="cose"&&(y.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,y.ENFORCE_CONSTRAINTS=!1,y.APPLY_LAYOUT=!0),b.step=="all"&&(b.randomize?y.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:y.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,y.ENFORCE_CONSTRAINTS=!0,y.APPLY_LAYOUT=!0),b.fixedNodeConstraint||b.alignmentConstraint||b.relativePlacementConstraint?y.TREE_REDUCTION_ON_INCREMENTAL=!1:y.TREE_REDUCTION_ON_INCREMENTAL=!0;var B=new h,F=B.newGraphManager();return I(F.addRoot(),u.getTopMostNodes(E),B,b),M(B,F,_),P(B,b),B.runLayout(),R},"coseLayout");a.exports={coseLayout:x}},212:(a,s,l)=>{var u=function(){function b(T,S){for(var w=0;w0)if(M){var F=d.getTopMostNodes(w.eles.nodes());if(k=d.connectComponents(E,w.eles,F),k.forEach(function(Se){var W=Se.boundingBox();L.push({x:W.x1+W.w/2,y:W.y1+W.h/2})}),w.randomize&&k.forEach(function(Se){w.eles=Se,A.push(m(w))}),w.quality=="default"||w.quality=="proof"){var G=E.collection();if(w.tile){var $=new Map,U=[],K=[],ne=0,j={nodeIndexes:$,xCoords:U,yCoords:K},le=[];if(k.forEach(function(Se,W){Se.edges().length==0&&(Se.nodes().forEach(function(Oe,ve){G.merge(Se.nodes()[ve]),Oe.isParent()||(j.nodeIndexes.set(Se.nodes()[ve].id(),ne++),j.xCoords.push(Se.nodes()[0].position().x),j.yCoords.push(Se.nodes()[0].position().y))}),le.push(W))}),G.length>1){var Z=G.boundingBox();L.push({x:Z.x1+Z.w/2,y:Z.y1+Z.h/2}),k.push(G),A.push(j);for(var ce=le.length-1;ce>=0;ce--)k.splice(le[ce],1),A.splice(le[ce],1),L.splice(le[ce],1)}}k.forEach(function(Se,W){w.eles=Se,R.push(y(w,A[W])),d.relocateComponent(L[W],R[W],w)})}else k.forEach(function(Se,W){d.relocateComponent(L[W],A[W],w)});var Q=new Set;if(k.length>1){var ee=[],te=_.filter(function(Se){return Se.css("display")=="none"});k.forEach(function(Se,W){var Oe=void 0;if(w.quality=="draft"&&(Oe=A[W].nodeIndexes),Se.nodes().not(te).length>0){var ve={};ve.edges=[],ve.nodes=[];var Pe=void 0;Se.nodes().not(te).forEach(function(qe){if(w.quality=="draft")if(!qe.isParent())Pe=Oe.get(qe.id()),ve.nodes.push({x:A[W].xCoords[Pe]-qe.boundingbox().w/2,y:A[W].yCoords[Pe]-qe.boundingbox().h/2,width:qe.boundingbox().w,height:qe.boundingbox().h});else{var Ge=d.calcBoundingBox(qe,A[W].xCoords,A[W].yCoords,Oe);ve.nodes.push({x:Ge.topLeftX,y:Ge.topLeftY,width:Ge.width,height:Ge.height})}else R[W][qe.id()]&&ve.nodes.push({x:R[W][qe.id()].getLeft(),y:R[W][qe.id()].getTop(),width:R[W][qe.id()].getWidth(),height:R[W][qe.id()].getHeight()})}),Se.edges().forEach(function(qe){var Ge=qe.source(),Ne=qe.target();if(Ge.css("display")!="none"&&Ne.css("display")!="none")if(w.quality=="draft"){var Me=Oe.get(Ge.id()),be=Oe.get(Ne.id()),q=[],fe=[];if(Ge.isParent()){var ae=d.calcBoundingBox(Ge,A[W].xCoords,A[W].yCoords,Oe);q.push(ae.topLeftX+ae.width/2),q.push(ae.topLeftY+ae.height/2)}else q.push(A[W].xCoords[Me]),q.push(A[W].yCoords[Me]);if(Ne.isParent()){var oe=d.calcBoundingBox(Ne,A[W].xCoords,A[W].yCoords,Oe);fe.push(oe.topLeftX+oe.width/2),fe.push(oe.topLeftY+oe.height/2)}else fe.push(A[W].xCoords[be]),fe.push(A[W].yCoords[be]);ve.edges.push({startX:q[0],startY:q[1],endX:fe[0],endY:fe[1]})}else R[W][Ge.id()]&&R[W][Ne.id()]&&ve.edges.push({startX:R[W][Ge.id()].getCenterX(),startY:R[W][Ge.id()].getCenterY(),endX:R[W][Ne.id()].getCenterX(),endY:R[W][Ne.id()].getCenterY()})}),ve.nodes.length>0&&(ee.push(ve),Q.add(W))}});var re=I.packComponents(ee,w.randomize).shifts;if(w.quality=="draft")A.forEach(function(Se,W){var Oe=Se.xCoords.map(function(Pe){return Pe+re[W].dx}),ve=Se.yCoords.map(function(Pe){return Pe+re[W].dy});Se.xCoords=Oe,Se.yCoords=ve});else{var he=0;Q.forEach(function(Se){Object.keys(R[Se]).forEach(function(W){var Oe=R[Se][W];Oe.setCenter(Oe.getCenterX()+re[he].dx,Oe.getCenterY()+re[he].dy)}),he++})}}}else{var P=w.eles.boundingBox();if(L.push({x:P.x1+P.w/2,y:P.y1+P.h/2}),w.randomize){var B=m(w);A.push(B)}w.quality=="default"||w.quality=="proof"?(R.push(y(w,A[0])),d.relocateComponent(L[0],R[0],w)):d.relocateComponent(L[0],A[0],w)}var J=o(function(W,Oe){if(w.quality=="default"||w.quality=="proof"){typeof W=="number"&&(W=Oe);var ve=void 0,Pe=void 0,qe=W.data("id");return R.forEach(function(Ne){qe in Ne&&(ve={x:Ne[qe].getRect().getCenterX(),y:Ne[qe].getRect().getCenterY()},Pe=Ne[qe])}),w.nodeDimensionsIncludeLabels&&(Pe.labelWidth&&(Pe.labelPosHorizontal=="left"?ve.x+=Pe.labelWidth/2:Pe.labelPosHorizontal=="right"&&(ve.x-=Pe.labelWidth/2)),Pe.labelHeight&&(Pe.labelPosVertical=="top"?ve.y+=Pe.labelHeight/2:Pe.labelPosVertical=="bottom"&&(ve.y-=Pe.labelHeight/2))),ve==null&&(ve={x:W.position("x"),y:W.position("y")}),{x:ve.x,y:ve.y}}else{var Ge=void 0;return A.forEach(function(Ne){var Me=Ne.nodeIndexes.get(W.id());Me!=null&&(Ge={x:Ne.xCoords[Me],y:Ne.yCoords[Me]})}),Ge==null&&(Ge={x:W.position("x"),y:W.position("y")}),{x:Ge.x,y:Ge.y}}},"getPositions");if(w.quality=="default"||w.quality=="proof"||w.randomize){var ye=d.calcParentsWithoutChildren(E,_),se=_.filter(function(Se){return Se.css("display")=="none"});w.eles=_.not(se),_.nodes().not(":parent").not(se).layoutPositions(S,w,J),ye.length>0&&ye.forEach(function(Se){Se.position(J(Se))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")},"run")}]),b}();a.exports=v},657:(a,s,l)=>{var u=l(548),h=l(140).layoutBase.Matrix,f=l(140).layoutBase.SVD,d=o(function(m){var g=m.cy,y=m.eles,x=y.nodes(),v=y.nodes(":parent"),b=new Map,T=new Map,S=new Map,w=[],E=[],_=[],A=[],D=[],O=[],R=[],k=[],L=void 0,C=void 0,I=1e8,M=1e-9,P=m.piTol,B=m.samplingType,F=m.nodeSeparation,G=void 0,$=o(function(){for(var xe=0,Y=0,de=!1;Y=Be;){Te=me[Be++];for(var Ze=w[Te],Ve=0;VeQe&&(Qe=D[Ye],ot=Ye)}return ot},"BFS"),K=o(function(xe){var Y=void 0;if(xe){Y=Math.floor(Math.random()*C),L=Y;for(var me=0;me=1)break;Qe=De}for(var Ze=0;Ze=1)break;Qe=De}for(var ht=0;ht0&&(Y.isParent()?w[xe].push(S.get(Y.id())):w[xe].push(Y.id()))})});var ye=o(function(xe){var Y=T.get(xe),de=void 0;b.get(xe).forEach(function(me){g.getElementById(me).isParent()?de=S.get(me):de=me,w[Y].push(de),w[T.get(de)].push(xe)})},"_loop"),se=!0,Se=!1,W=void 0;try{for(var Oe=b.keys()[Symbol.iterator](),ve;!(se=(ve=Oe.next()).done);se=!0){var Pe=ve.value;ye(Pe)}}catch(V){Se=!0,W=V}finally{try{!se&&Oe.return&&Oe.return()}finally{if(Se)throw W}}C=T.size;var qe=void 0;if(C>2){G=C{var u=l(212),h=o(function(d){d&&d("layout","fcose",u)},"register");typeof cytoscape<"u"&&h(cytoscape),a.exports=h},140:a=>{a.exports=t}},r={};function n(a){var s=r[a];if(s!==void 0)return s.exports;var l=r[a]={exports:{}};return e[a](l,l.exports,n),l.exports}o(n,"__webpack_require__");var i=n(579);return i})()})});var yy,h0,h$=N(()=>{"use strict";rc();yy=o(t=>`${t}`,"wrapIcon"),h0={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:yy('')},server:{body:yy('')},disk:{body:yy('')},internet:{body:yy('')},cloud:{body:yy('')},unknown:TA,blank:{body:yy("")}}}});var axe,sxe,oxe,lxe,cxe=N(()=>{"use strict";Xt();$o();rc();dr();h$();NC();axe=o(async function(t,e,r){let n=r.getConfigField("padding"),i=r.getConfigField("iconSize"),a=i/2,s=i/6,l=s/2;await Promise.all(e.edges().map(async u=>{let{source:h,sourceDir:f,sourceArrow:d,sourceGroup:p,target:m,targetDir:g,targetArrow:y,targetGroup:x,label:v}=RC(u),{x:b,y:T}=u[0].sourceEndpoint(),{x:S,y:w}=u[0].midpoint(),{x:E,y:_}=u[0].targetEndpoint(),A=n+4;if(p&&(Ya(f)?b+=f==="L"?-A:A:T+=f==="T"?-A:A+18),x&&(Ya(g)?E+=g==="L"?-A:A:_+=g==="T"?-A:A+18),!p&&r.getNode(h)?.type==="junction"&&(Ya(f)?b+=f==="L"?a:-a:T+=f==="T"?a:-a),!x&&r.getNode(m)?.type==="junction"&&(Ya(g)?E+=g==="L"?a:-a:_+=g==="T"?a:-a),u[0]._private.rscratch){let D=t.insert("g");if(D.insert("path").attr("d",`M ${b},${T} L ${S},${w} L${E},${_} `).attr("class","edge"),d){let O=Ya(f)?N4[f](b,s):b-l,R=tu(f)?N4[f](T,s):T-l;D.insert("polygon").attr("points",r$[f](s)).attr("transform",`translate(${O},${R})`).attr("class","arrow")}if(y){let O=Ya(g)?N4[g](E,s):E-l,R=tu(g)?N4[g](_,s):_-l;D.insert("polygon").attr("points",r$[g](s)).attr("transform",`translate(${O},${R})`).attr("class","arrow")}if(v){let O=M4(f,g)?"XY":Ya(f)?"X":"Y",R=0;O==="X"?R=Math.abs(b-E):O==="Y"?R=Math.abs(T-_)/1.5:R=Math.abs(b-E)/2;let k=D.append("g");if(await pi(k,v,{useHtmlLabels:!1,width:R,classes:"architecture-service-label"},ge()),k.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),O==="X")k.attr("transform","translate("+S+", "+w+")");else if(O==="Y")k.attr("transform","translate("+S+", "+w+") rotate(-90)");else if(O==="XY"){let L=I4(f,g);if(L&&j2e(L)){let C=k.node().getBoundingClientRect(),[I,M]=Q2e(L);k.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*I*M*45})`);let P=k.node().getBoundingClientRect();k.attr("transform",` + translate(${S}, ${w-C.height/2}) translate(${I*P.width/2}, ${M*P.height/2}) - rotate(${-1*I*M*45}, 0, ${S.height/2}) - `)}}}}}))},"drawEdges"),U2e=o(async function(t,e,r){let i=r.getConfigField("padding")*.75,a=r.getConfigField("fontSize"),l=r.getConfigField("iconSize")/2;await Promise.all(e.nodes().map(async u=>{let h=Gf(u);if(h.type==="group"){let{h:f,w:d,x1:p,y1:m}=u.boundingBox();t.append("rect").attr("x",p+l).attr("y",m+l).attr("width",d).attr("height",f).attr("class","node-bkg");let g=t.append("g"),y=p,v=m;if(h.icon){let x=g.append("g");x.html(`${await Es(h.icon,{height:i,width:i,fallbackPrefix:n0.prefix})}`),x.attr("transform","translate("+(y+l+1)+", "+(v+l+1)+")"),y+=i,v+=a/2-1-2}if(h.label){let x=g.append("g");await Hn(x,h.label,{useHtmlLabels:!1,width:d,classes:"architecture-service-label"},ge()),x.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),x.attr("transform","translate("+(y+l+4)+", "+(v+l+2)+")")}}}))},"drawGroups"),H2e=o(async function(t,e,r){let n=ge();for(let i of r){let a=e.append("g"),s=t.getConfigField("iconSize");if(i.title){let f=a.append("g");await Hn(f,i.title,{useHtmlLabels:!1,width:s*1.5,classes:"architecture-service-label"},n),f.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),f.attr("transform","translate("+s/2+", "+s+")")}let l=a.append("g");if(i.icon)l.html(`${await Es(i.icon,{height:s,width:s,fallbackPrefix:n0.prefix})}`);else if(i.iconText){l.html(`${await Es("blank",{height:s,width:s,fallbackPrefix:n0.prefix})}`);let p=l.append("g").append("foreignObject").attr("width",s).attr("height",s).append("div").attr("class","node-icon-text").attr("style",`height: ${s}px;`).append("div").html(ar(i.iconText,n)),m=parseInt(window.getComputedStyle(p.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;p.attr("style",`-webkit-line-clamp: ${Math.floor((s-2)/m)};`)}else l.append("path").attr("class","node-bkg").attr("id","node-"+i.id).attr("d",`M0 ${s} v${-s} q0,-5 5,-5 h${s} q5,0 5,5 v${s} H0 Z`);a.attr("class","architecture-service");let{width:u,height:h}=a._groups[0][0].getBBox();i.width=u,i.height=h,t.setElementForId(i.id,a)}return 0},"drawServices"),W2e=o(function(t,e,r){r.forEach(n=>{let i=e.append("g"),a=t.getConfigField("iconSize");i.append("g").append("rect").attr("id","node-"+n.id).attr("fill-opacity","0").attr("width",a).attr("height",a),i.attr("class","architecture-junction");let{width:l,height:u}=i._groups[0][0].getBBox();i.width=l,i.height=u,t.setElementForId(n.id,i)})},"drawJunctions")});function Ent(t,e,r){t.forEach(n=>{e.add({group:"nodes",data:{type:"service",id:n.id,icon:n.icon,label:n.title,parent:n.in,width:r.getConfigField("iconSize"),height:r.getConfigField("iconSize")},classes:"node-service"})})}function Snt(t,e,r){t.forEach(n=>{e.add({group:"nodes",data:{type:"junction",id:n.id,parent:n.in,width:r.getConfigField("iconSize"),height:r.getConfigField("iconSize")},classes:"node-junction"})})}function Cnt(t,e){e.nodes().map(r=>{let n=Gf(r);if(n.type==="group")return;n.x=r.position().x,n.y=r.position().y,t.getElementById(n.id).attr("transform","translate("+(n.x||0)+","+(n.y||0)+")")})}function Ant(t,e){t.forEach(r=>{e.add({group:"nodes",data:{type:"group",id:r.id,icon:r.icon,label:r.title,parent:r.in},classes:"node-group"})})}function _nt(t,e){t.forEach(r=>{let{lhsId:n,rhsId:i,lhsInto:a,lhsGroup:s,rhsInto:l,lhsDir:u,rhsDir:h,rhsGroup:f,title:d}=r,p=D4(r.lhsDir,r.rhsDir)?"segments":"straight",m={id:`${n}-${i}`,label:d,source:n,sourceDir:u,sourceArrow:a,sourceGroup:s,sourceEndpoint:u==="L"?"0 50%":u==="R"?"100% 50%":u==="T"?"50% 0":"50% 100%",target:i,targetDir:h,targetArrow:l,targetGroup:f,targetEndpoint:h==="L"?"0 50%":h==="R"?"100% 50%":h==="T"?"50% 0":"50% 100%"};e.add({group:"edges",data:m,classes:p})})}function Dnt(t,e,r){let n=o((l,u)=>Object.entries(l).reduce((h,[f,d])=>{let p=0,m=Object.entries(d);if(m.length===1)return h[f]=m[0][1],h;for(let g=0;g{let u={},h={};return Object.entries(l).forEach(([f,[d,p]])=>{let m=t.getNode(f)?.in??"default";u[p]??={},u[p][m]??=[],u[p][m].push(f),h[d]??={},h[d][m]??=[],h[d][m].push(f)}),{horiz:Object.values(n(u,"horizontal")).filter(f=>f.length>1),vert:Object.values(n(h,"vertical")).filter(f=>f.length>1)}}),[a,s]=i.reduce(([l,u],{horiz:h,vert:f})=>[[...l,...h],[...u,...f]],[[],[]]);return{horizontal:a,vertical:s}}function Lnt(t,e){let r=[],n=o(a=>`${a[0]},${a[1]}`,"posToStr"),i=o(a=>a.split(",").map(s=>parseInt(s)),"strToPos");return t.forEach(a=>{let s=Object.fromEntries(Object.entries(a).map(([f,d])=>[n(d),f])),l=[n([0,0])],u={},h={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};for(;l.length>0;){let f=l.shift();if(f){u[f]=1;let d=s[f];if(d){let p=i(f);Object.entries(h).forEach(([m,g])=>{let y=n([p[0]+g[0],p[1]+g[1]]),v=s[y];v&&!u[y]&&(l.push(y),r.push({[HF[m]]:v,[HF[R2e(m)]]:d,gap:1.5*e.getConfigField("iconSize")}))})}}}}),r}function Rnt(t,e,r,n,i,{spatialMaps:a,groupAlignments:s}){return new Promise(l=>{let u=Ge("body").append("div").attr("id","cy").attr("style","display:none"),h=il({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight",label:"data(label)","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${i.getConfigField("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${i.getConfigField("padding")}px`}}],layout:{name:"grid",boundingBox:{x1:0,x2:100,y1:0,y2:100}}});u.remove(),Ant(r,h),Ent(t,h,i),Snt(e,h,i),_nt(n,h);let f=Dnt(i,a,s),d=Lnt(a,i),p=h.layout({name:"fcose",quality:"proof",styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(m){let[g,y]=m.connectedNodes(),{parent:v}=Gf(g),{parent:x}=Gf(y);return v===x?1.5*i.getConfigField("iconSize"):.5*i.getConfigField("iconSize")},edgeElasticity(m){let[g,y]=m.connectedNodes(),{parent:v}=Gf(g),{parent:x}=Gf(y);return v===x?.45:.001},alignmentConstraint:f,relativePlacementConstraint:d});p.one("layoutstop",()=>{function m(g,y,v,x){let b,T,{x:C,y:w}=g,{x:E,y:_}=y;T=(x-w+(C-v)*(w-_)/(C-E))/Math.sqrt(1+Math.pow((w-_)/(C-E),2)),b=Math.sqrt(Math.pow(x-w,2)+Math.pow(v-C,2)-Math.pow(T,2));let A=Math.sqrt(Math.pow(E-C,2)+Math.pow(_-w,2));b=b/A;let D=(E-C)*(x-w)-(_-w)*(v-C);switch(!0){case D>=0:D=1;break;case D<0:D=-1;break}let O=(E-C)*(v-C)+(_-w)*(x-w);switch(!0){case O>=0:O=1;break;case O<0:O=-1;break}return T=Math.abs(T)*D,b=b*O,{distances:T,weights:b}}o(m,"getSegmentWeights"),h.startBatch();for(let g of Object.values(h.edges()))if(g.data?.()){let{x:y,y:v}=g.source().position(),{x,y:b}=g.target().position();if(y!==x&&v!==b){let T=g.sourceEndpoint(),C=g.targetEndpoint(),{sourceDir:w}=kC(g),[E,_]=eu(w)?[T.x,C.y]:[C.x,T.y],{weights:A,distances:D}=m(T,C,E,_);g.style("segment-distances",D),g.style("segment-weights",A)}}h.endBatch(),p.run()}),p.run(),h.ready(m=>{X.info("Ready",m),l(h)})})}var Y2e,Nnt,X2e,j2e=N(()=>{"use strict";aF();Y2e=Sa(G2e(),1);pr();yt();rc();zl();yi();e$();EC();q2e();R3([{name:n0.prefix,icons:n0}]);il.use(Y2e.default);o(Ent,"addServices");o(Snt,"addJunctions");o(Cnt,"positionNodes");o(Ant,"addGroups");o(_nt,"addEdges");o(Dnt,"getAlignments");o(Lnt,"getRelativeConstraints");o(Rnt,"layoutArchitecture");Nnt=o(async(t,e,r,n)=>{let i=n.db,a=i.getServices(),s=i.getJunctions(),l=i.getGroups(),u=i.getEdges(),h=i.getDataStructures(),f=Di(e),d=f.append("g");d.attr("class","architecture-edges");let p=f.append("g");p.attr("class","architecture-services");let m=f.append("g");m.attr("class","architecture-groups"),await H2e(i,p,a),W2e(i,p,s);let g=await Rnt(a,s,l,u,i,h);await V2e(d,g,i),await U2e(m,g,i),Cnt(i,g),_o(void 0,f,i.getConfigField("padding"),i.getConfigField("useMaxWidth"))},"draw"),X2e={draw:Nnt}});var K2e={};hr(K2e,{diagram:()=>Mnt});var Mnt,Q2e=N(()=>{"use strict";F2e();YF();z2e();j2e();Mnt={parser:XF,get db(){return new my},renderer:X2e,styles:$2e}});var yy,t$=N(()=>{"use strict";Ca();Jn();nr();Gt();ci();yy=class{constructor(){this.nodes=[];this.levels=new Map;this.outerNodes=[];this.classes=new Map;this.setAccTitle=Cr;this.getAccTitle=_r;this.setDiagramTitle=Ir;this.getDiagramTitle=Rr;this.getAccDescription=Lr;this.setAccDescription=Dr}static{o(this,"TreeMapDB")}getNodes(){return this.nodes}getConfig(){let e=lr,r=Qt();return Fn({...e.treemap,...r.treemap??{}})}addNode(e,r){this.nodes.push(e),this.levels.set(e,r),r===0&&(this.outerNodes.push(e),this.root??=e)}getRoot(){return{name:"",children:this.outerNodes}}addClass(e,r){let n=this.classes.get(e)??{id:e,styles:[],textStyles:[]},i=r.replace(/\\,/g,"\xA7\xA7\xA7").replace(/,/g,";").replace(/§§§/g,",").split(";");i&&i.forEach(a=>{k2(a)&&(n?.textStyles?n.textStyles.push(a):n.textStyles=[a]),n?.styles?n.styles.push(a):n.styles=[a]}),this.classes.set(e,n)}getClasses(){return this.classes}getStylesForClass(e){return this.classes.get(e)?.styles??[]}clear(){wr(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}}});function exe(t){if(!t.length)return[];let e=[],r=[];return t.forEach(n=>{let i={name:n.name,children:n.type==="Leaf"?void 0:[]};for(i.classSelector=n?.classSelector,n?.cssCompiledStyles&&(i.cssCompiledStyles=[n.cssCompiledStyles]),n.type==="Leaf"&&n.value!==void 0&&(i.value=n.value);r.length>0&&r[r.length-1].level>=n.level;)r.pop();if(r.length===0)e.push(i);else{let a=r[r.length-1].node;a.children?a.children.push(i):a.children=[i]}n.type!=="Leaf"&&r.push({node:i,level:n.level})}),e}var txe=N(()=>{"use strict";o(exe,"buildHierarchy")});var Bnt,Fnt,r$,rxe=N(()=>{"use strict";gf();yt();Dp();txe();t$();Bnt=o((t,e)=>{Qo(t,e);let r=[];for(let a of t.TreemapRows??[])a.$type==="ClassDefStatement"&&e.addClass(a.className??"",a.styleText??"");for(let a of t.TreemapRows??[]){let s=a.item;if(!s)continue;let l=a.indent?parseInt(a.indent):0,u=Fnt(s),h=s.classSelector?e.getStylesForClass(s.classSelector):[],f=h.length>0?h.join(";"):void 0,d={level:l,name:u,type:s.$type,value:s.value,classSelector:s.classSelector,cssCompiledStyles:f};r.push(d)}let n=exe(r),i=o((a,s)=>{for(let l of a)e.addNode(l,s),l.children&&l.children.length>0&&i(l.children,s+1)},"addNodesRecursively");i(n,0)},"populate"),Fnt=o(t=>t.name?String(t.name):"","getItemName"),r$={parser:{yy:void 0},parse:o(async t=>{try{let r=await ps("treemap",t);X.debug("Treemap AST:",r);let n=r$.parser?.yy;if(!(n instanceof yy))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Bnt(r,n)}catch(e){throw X.error("Error parsing treemap:",e),e}},"parse")}});var $nt,vy,I4,znt,Gnt,nxe,ixe=N(()=>{"use strict";zl();Jd();yi();pr();Gt();Jn();yt();$nt=10,vy=10,I4=25,znt=o((t,e,r,n)=>{let i=n.db,a=i.getConfig(),s=a.padding??$nt,l=i.getDiagramTitle(),u=i.getRoot(),{themeVariables:h}=Qt();if(!u)return;let f=l?30:0,d=Di(e),p=a.nodeWidth?a.nodeWidth*vy:960,m=a.nodeHeight?a.nodeHeight*vy:500,g=p,y=m+f;d.attr("viewBox",`0 0 ${g} ${y}`),hn(d,y,g,a.useMaxWidth);let v;try{let S=a.valueFormat||",";if(S==="$0,0")v=o(I=>"$"+oc(",")(I),"valueFormat");else if(S.startsWith("$")&&S.includes(",")){let I=/\.\d+/.exec(S),M=I?I[0]:"";v=o(P=>"$"+oc(","+M)(P),"valueFormat")}else if(S.startsWith("$")){let I=S.substring(1);v=o(M=>"$"+oc(I||"")(M),"valueFormat")}else v=oc(S)}catch(S){X.error("Error creating format function:",S),v=oc(",")}let x=Qs().range(["transparent",h.cScale0,h.cScale1,h.cScale2,h.cScale3,h.cScale4,h.cScale5,h.cScale6,h.cScale7,h.cScale8,h.cScale9,h.cScale10,h.cScale11]),b=Qs().range(["transparent",h.cScalePeer0,h.cScalePeer1,h.cScalePeer2,h.cScalePeer3,h.cScalePeer4,h.cScalePeer5,h.cScalePeer6,h.cScalePeer7,h.cScalePeer8,h.cScalePeer9,h.cScalePeer10,h.cScalePeer11]),T=Qs().range([h.cScaleLabel0,h.cScaleLabel1,h.cScaleLabel2,h.cScaleLabel3,h.cScaleLabel4,h.cScaleLabel5,h.cScaleLabel6,h.cScaleLabel7,h.cScaleLabel8,h.cScaleLabel9,h.cScaleLabel10,h.cScaleLabel11]);l&&d.append("text").attr("x",g/2).attr("y",f/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(l);let C=d.append("g").attr("transform",`translate(0, ${f})`).attr("class","treemapContainer"),w=O0(u).sum(S=>S.value??0).sort((S,I)=>(I.value??0)-(S.value??0)),_=A5().size([p,m]).paddingTop(S=>S.children&&S.children.length>0?I4+vy:0).paddingInner(s).paddingLeft(S=>S.children&&S.children.length>0?vy:0).paddingRight(S=>S.children&&S.children.length>0?vy:0).paddingBottom(S=>S.children&&S.children.length>0?vy:0).round(!0)(w),A=_.descendants().filter(S=>S.children&&S.children.length>0),D=C.selectAll(".treemapSection").data(A).enter().append("g").attr("class","treemapSection").attr("transform",S=>`translate(${S.x0},${S.y0})`);D.append("rect").attr("width",S=>S.x1-S.x0).attr("height",I4).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",S=>S.depth===0?"display: none;":""),D.append("clipPath").attr("id",(S,I)=>`clip-section-${e}-${I}`).append("rect").attr("width",S=>Math.max(0,S.x1-S.x0-12)).attr("height",I4),D.append("rect").attr("width",S=>S.x1-S.x0).attr("height",S=>S.y1-S.y0).attr("class",(S,I)=>`treemapSection section${I}`).attr("fill",S=>x(S.data.name)).attr("fill-opacity",.6).attr("stroke",S=>b(S.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",S=>{if(S.depth===0)return"display: none;";let I=qe({cssCompiledStyles:S.data.cssCompiledStyles});return I.nodeStyles+";"+I.borderStyles.join(";")}),D.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",I4/2).attr("dominant-baseline","middle").text(S=>S.depth===0?"":S.data.name).attr("font-weight","bold").attr("style",S=>{if(S.depth===0)return"display: none;";let I="dominant-baseline: middle; font-size: 12px; fill:"+T(S.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",M=qe({cssCompiledStyles:S.data.cssCompiledStyles});return I+M.labelStyles.replace("color:","fill:")}).each(function(S){if(S.depth===0)return;let I=Ge(this),M=S.data.name;I.text(M);let P=S.x1-S.x0,B=6,F;a.showValues!==!1&&S.value?F=P-10-30-10-B:F=P-B-6;let $=Math.max(15,F),U=I.node();if(U.getComputedTextLength()>$){let ee="...",Y=M;for(;Y.length>0;){if(Y=M.substring(0,Y.length-1),Y.length===0){I.text(ee),U.getComputedTextLength()>$&&I.text("");break}if(I.text(Y+ee),U.getComputedTextLength()<=$)break}}}),a.showValues!==!1&&D.append("text").attr("class","treemapSectionValue").attr("x",S=>S.x1-S.x0-10).attr("y",I4/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(S=>S.value?v(S.value):"").attr("font-style","italic").attr("style",S=>{if(S.depth===0)return"display: none;";let I="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+T(S.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",M=qe({cssCompiledStyles:S.data.cssCompiledStyles});return I+M.labelStyles.replace("color:","fill:")});let O=_.leaves(),R=C.selectAll(".treemapLeafGroup").data(O).enter().append("g").attr("class",(S,I)=>`treemapNode treemapLeafGroup leaf${I}${S.data.classSelector?` ${S.data.classSelector}`:""}x`).attr("transform",S=>`translate(${S.x0},${S.y0})`);R.append("rect").attr("width",S=>S.x1-S.x0).attr("height",S=>S.y1-S.y0).attr("class","treemapLeaf").attr("fill",S=>S.parent?x(S.parent.data.name):x(S.data.name)).attr("style",S=>qe({cssCompiledStyles:S.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",S=>S.parent?x(S.parent.data.name):x(S.data.name)).attr("stroke-width",3),R.append("clipPath").attr("id",(S,I)=>`clip-${e}-${I}`).append("rect").attr("width",S=>Math.max(0,S.x1-S.x0-4)).attr("height",S=>Math.max(0,S.y1-S.y0-4)),R.append("text").attr("class","treemapLabel").attr("x",S=>(S.x1-S.x0)/2).attr("y",S=>(S.y1-S.y0)/2).attr("style",S=>{let I="text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:"+T(S.data.name)+";",M=qe({cssCompiledStyles:S.data.cssCompiledStyles});return I+M.labelStyles.replace("color:","fill:")}).attr("clip-path",(S,I)=>`url(#clip-${e}-${I})`).text(S=>S.data.name).each(function(S){let I=Ge(this),M=S.x1-S.x0,P=S.y1-S.y0,B=I.node(),F=4,z=M-2*F,$=P-2*F;if(z<10||$<10){I.style("display","none");return}let U=parseInt(I.style("font-size"),10),K=8,ee=28,Y=.6,ce=6,Z=2;for(;B.getComputedTextLength()>z&&U>K;)U--,I.style("font-size",`${U}px`);let ue=Math.max(ce,Math.min(ee,Math.round(U*Y))),Q=U+Z+ue;for(;Q>$&&U>K&&(U--,ue=Math.max(ce,Math.min(ee,Math.round(U*Y))),!(ue$;I.style("font-size",`${U}px`),(B.getComputedTextLength()>z||U(I.x1-I.x0)/2).attr("y",function(I){return(I.y1-I.y0)/2}).attr("style",I=>{let M="text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:"+T(I.data.name)+";",P=qe({cssCompiledStyles:I.data.cssCompiledStyles});return M+P.labelStyles.replace("color:","fill:")}).attr("clip-path",(I,M)=>`url(#clip-${e}-${M})`).text(I=>I.value?v(I.value):"").each(function(I){let M=Ge(this),P=this.parentNode;if(!P){M.style("display","none");return}let B=Ge(P).select(".treemapLabel");if(B.empty()||B.style("display")==="none"){M.style("display","none");return}let F=parseFloat(B.style("font-size")),z=28,$=.6,U=6,K=2,ee=Math.max(U,Math.min(z,Math.round(F*$)));M.style("font-size",`${ee}px`);let ce=(I.y1-I.y0)/2+F/2+K;M.attr("y",ce);let Z=I.x1-I.x0,j=I.y1-I.y0-4,ne=Z-2*4;M.node().getComputedTextLength()>ne||ce+ee>j||ee{"use strict";nr();Vnt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelColor:"black",labelFontSize:"12px",valueFontSize:"10px",valueColor:"black",titleColor:"black",titleFontSize:"14px"},Unt=o(({treemap:t}={})=>{let e=Fn(Vnt,t);return` + rotate(${-1*I*M*45}, 0, ${C.height/2}) + `)}}}}}))},"drawEdges"),sxe=o(async function(t,e,r){let i=r.getConfigField("padding")*.75,a=r.getConfigField("fontSize"),l=r.getConfigField("iconSize")/2;await Promise.all(e.nodes().map(async u=>{let h=Kf(u);if(h.type==="group"){let{h:f,w:d,x1:p,y1:m}=u.boundingBox();t.append("rect").attr("x",p+l).attr("y",m+l).attr("width",d).attr("height",f).attr("class","node-bkg");let g=t.append("g"),y=p,x=m;if(h.icon){let v=g.append("g");v.html(`${await As(h.icon,{height:i,width:i,fallbackPrefix:h0.prefix})}`),v.attr("transform","translate("+(y+l+1)+", "+(x+l+1)+")"),y+=i,x+=a/2-1-2}if(h.label){let v=g.append("g");await pi(v,h.label,{useHtmlLabels:!1,width:d,classes:"architecture-service-label"},ge()),v.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),v.attr("transform","translate("+(y+l+4)+", "+(x+l+2)+")")}}}))},"drawGroups"),oxe=o(async function(t,e,r){let n=ge();for(let i of r){let a=e.append("g"),s=t.getConfigField("iconSize");if(i.title){let f=a.append("g");await pi(f,i.title,{useHtmlLabels:!1,width:s*1.5,classes:"architecture-service-label"},n),f.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),f.attr("transform","translate("+s/2+", "+s+")")}let l=a.append("g");if(i.icon)l.html(`${await As(i.icon,{height:s,width:s,fallbackPrefix:h0.prefix})}`);else if(i.iconText){l.html(`${await As("blank",{height:s,width:s,fallbackPrefix:h0.prefix})}`);let p=l.append("g").append("foreignObject").attr("width",s).attr("height",s).append("div").attr("class","node-icon-text").attr("style",`height: ${s}px;`).append("div").html(ar(i.iconText,n)),m=parseInt(window.getComputedStyle(p.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;p.attr("style",`-webkit-line-clamp: ${Math.floor((s-2)/m)};`)}else l.append("path").attr("class","node-bkg").attr("id","node-"+i.id).attr("d",`M0 ${s} v${-s} q0,-5 5,-5 h${s} q5,0 5,5 v${s} H0 Z`);a.attr("class","architecture-service");let{width:u,height:h}=a._groups[0][0].getBBox();i.width=u,i.height=h,t.setElementForId(i.id,a)}return 0},"drawServices"),lxe=o(function(t,e,r){r.forEach(n=>{let i=e.append("g"),a=t.getConfigField("iconSize");i.append("g").append("rect").attr("id","node-"+n.id).attr("fill-opacity","0").attr("width",a).attr("height",a),i.attr("class","architecture-junction");let{width:l,height:u}=i._groups[0][0].getBBox();i.width=l,i.height=u,t.setElementForId(n.id,i)})},"drawJunctions")});function Ant(t,e,r){t.forEach(n=>{e.add({group:"nodes",data:{type:"service",id:n.id,icon:n.icon,label:n.title,parent:n.in,width:r.getConfigField("iconSize"),height:r.getConfigField("iconSize")},classes:"node-service"})})}function _nt(t,e,r){t.forEach(n=>{e.add({group:"nodes",data:{type:"junction",id:n.id,parent:n.in,width:r.getConfigField("iconSize"),height:r.getConfigField("iconSize")},classes:"node-junction"})})}function Dnt(t,e){e.nodes().map(r=>{let n=Kf(r);if(n.type==="group")return;n.x=r.position().x,n.y=r.position().y,t.getElementById(n.id).attr("transform","translate("+(n.x||0)+","+(n.y||0)+")")})}function Lnt(t,e){t.forEach(r=>{e.add({group:"nodes",data:{type:"group",id:r.id,icon:r.icon,label:r.title,parent:r.in},classes:"node-group"})})}function Rnt(t,e){t.forEach(r=>{let{lhsId:n,rhsId:i,lhsInto:a,lhsGroup:s,rhsInto:l,lhsDir:u,rhsDir:h,rhsGroup:f,title:d}=r,p=M4(r.lhsDir,r.rhsDir)?"segments":"straight",m={id:`${n}-${i}`,label:d,source:n,sourceDir:u,sourceArrow:a,sourceGroup:s,sourceEndpoint:u==="L"?"0 50%":u==="R"?"100% 50%":u==="T"?"50% 0":"50% 100%",target:i,targetDir:h,targetArrow:l,targetGroup:f,targetEndpoint:h==="L"?"0 50%":h==="R"?"100% 50%":h==="T"?"50% 0":"50% 100%"};e.add({group:"edges",data:m,classes:p})})}function Nnt(t,e,r){let n=o((l,u)=>Object.entries(l).reduce((h,[f,d])=>{let p=0,m=Object.entries(d);if(m.length===1)return h[f]=m[0][1],h;for(let g=0;g{let u={},h={};return Object.entries(l).forEach(([f,[d,p]])=>{let m=t.getNode(f)?.in??"default";u[p]??={},u[p][m]??=[],u[p][m].push(f),h[d]??={},h[d][m]??=[],h[d][m].push(f)}),{horiz:Object.values(n(u,"horizontal")).filter(f=>f.length>1),vert:Object.values(n(h,"vertical")).filter(f=>f.length>1)}}),[a,s]=i.reduce(([l,u],{horiz:h,vert:f})=>[[...l,...h],[...u,...f]],[[],[]]);return{horizontal:a,vertical:s}}function Mnt(t,e){let r=[],n=o(a=>`${a[0]},${a[1]}`,"posToStr"),i=o(a=>a.split(",").map(s=>parseInt(s)),"strToPos");return t.forEach(a=>{let s=Object.fromEntries(Object.entries(a).map(([f,d])=>[n(d),f])),l=[n([0,0])],u={},h={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};for(;l.length>0;){let f=l.shift();if(f){u[f]=1;let d=s[f];if(d){let p=i(f);Object.entries(h).forEach(([m,g])=>{let y=n([p[0]+g[0],p[1]+g[1]]),x=s[y];x&&!u[y]&&(l.push(y),r.push({[t$[m]]:x,[t$[X2e(m)]]:d,gap:1.5*e.getConfigField("iconSize")}))})}}}}),r}function Int(t,e,r,n,i,{spatialMaps:a,groupAlignments:s}){return new Promise(l=>{let u=ze("body").append("div").attr("id","cy").attr("style","display:none"),h=Ko({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight",label:"data(label)","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${i.getConfigField("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${i.getConfigField("padding")}px`}}],layout:{name:"grid",boundingBox:{x1:0,x2:100,y1:0,y2:100}}});u.remove(),Lnt(r,h),Ant(t,h,i),_nt(e,h,i),Rnt(n,h);let f=Nnt(i,a,s),d=Mnt(a,i),p=h.layout({name:"fcose",quality:"proof",styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(m){let[g,y]=m.connectedNodes(),{parent:x}=Kf(g),{parent:v}=Kf(y);return x===v?1.5*i.getConfigField("iconSize"):.5*i.getConfigField("iconSize")},edgeElasticity(m){let[g,y]=m.connectedNodes(),{parent:x}=Kf(g),{parent:v}=Kf(y);return x===v?.45:.001},alignmentConstraint:f,relativePlacementConstraint:d});p.one("layoutstop",()=>{function m(g,y,x,v){let b,T,{x:S,y:w}=g,{x:E,y:_}=y;T=(v-w+(S-x)*(w-_)/(S-E))/Math.sqrt(1+Math.pow((w-_)/(S-E),2)),b=Math.sqrt(Math.pow(v-w,2)+Math.pow(x-S,2)-Math.pow(T,2));let A=Math.sqrt(Math.pow(E-S,2)+Math.pow(_-w,2));b=b/A;let D=(E-S)*(v-w)-(_-w)*(x-S);switch(!0){case D>=0:D=1;break;case D<0:D=-1;break}let O=(E-S)*(x-S)+(_-w)*(v-w);switch(!0){case O>=0:O=1;break;case O<0:O=-1;break}return T=Math.abs(T)*D,b=b*O,{distances:T,weights:b}}o(m,"getSegmentWeights"),h.startBatch();for(let g of Object.values(h.edges()))if(g.data?.()){let{x:y,y:x}=g.source().position(),{x:v,y:b}=g.target().position();if(y!==v&&x!==b){let T=g.sourceEndpoint(),S=g.targetEndpoint(),{sourceDir:w}=RC(g),[E,_]=tu(w)?[T.x,S.y]:[S.x,T.y],{weights:A,distances:D}=m(T,S,E,_);g.style("segment-distances",D),g.style("segment-weights",A)}}h.endBatch(),p.run()}),p.run(),h.ready(m=>{X.info("Ready",m),l(h)})})}var uxe,Ont,hxe,fxe=N(()=>{"use strict";uM();uxe=ja(ixe(),1);pr();pt();rc();Jc();Ci();h$();NC();cxe();I3([{name:h0.prefix,icons:h0}]);Ko.use(uxe.default);o(Ant,"addServices");o(_nt,"addJunctions");o(Dnt,"positionNodes");o(Lnt,"addGroups");o(Rnt,"addEdges");o(Nnt,"getAlignments");o(Mnt,"getRelativeConstraints");o(Int,"layoutArchitecture");Ont=o(async(t,e,r,n)=>{let i=n.db,a=i.getServices(),s=i.getJunctions(),l=i.getGroups(),u=i.getEdges(),h=i.getDataStructures(),f=aa(e),d=f.append("g");d.attr("class","architecture-edges");let p=f.append("g");p.attr("class","architecture-services");let m=f.append("g");m.attr("class","architecture-groups"),await oxe(i,p,a),lxe(i,p,s);let g=await Int(a,s,l,u,i,h);await axe(d,g,i),await sxe(m,g,i),Dnt(i,g),nc(void 0,f,i.getConfigField("padding"),i.getConfigField("useMaxWidth"))},"draw"),hxe={draw:Ont}});var dxe={};ur(dxe,{diagram:()=>Pnt});var Pnt,pxe=N(()=>{"use strict";txe();i$();nxe();fxe();Pnt={parser:a$,get db(){return new gy},renderer:hxe,styles:rxe}});var vy,f$=N(()=>{"use strict";_a();Wn();tr();Ft();ui();vy=class{constructor(){this.nodes=[];this.levels=new Map;this.outerNodes=[];this.classes=new Map;this.setAccTitle=Cr;this.getAccTitle=_r;this.setDiagramTitle=Or;this.getDiagramTitle=Rr;this.getAccDescription=Lr;this.setAccDescription=Dr}static{o(this,"TreeMapDB")}getNodes(){return this.nodes}getConfig(){let e=lr,r=Qt();return Vn({...e.treemap,...r.treemap??{}})}addNode(e,r){this.nodes.push(e),this.levels.set(e,r),r===0&&(this.outerNodes.push(e),this.root??=e)}getRoot(){return{name:"",children:this.outerNodes}}addClass(e,r){let n=this.classes.get(e)??{id:e,styles:[],textStyles:[]},i=r.replace(/\\,/g,"\xA7\xA7\xA7").replace(/,/g,";").replace(/§§§/g,",").split(";");i&&i.forEach(a=>{S2(a)&&(n?.textStyles?n.textStyles.push(a):n.textStyles=[a]),n?.styles?n.styles.push(a):n.styles=[a]}),this.classes.set(e,n)}getClasses(){return this.classes}getStylesForClass(e){return this.classes.get(e)?.styles??[]}clear(){wr(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}}});function yxe(t){if(!t.length)return[];let e=[],r=[];return t.forEach(n=>{let i={name:n.name,children:n.type==="Leaf"?void 0:[]};for(i.classSelector=n?.classSelector,n?.cssCompiledStyles&&(i.cssCompiledStyles=[n.cssCompiledStyles]),n.type==="Leaf"&&n.value!==void 0&&(i.value=n.value);r.length>0&&r[r.length-1].level>=n.level;)r.pop();if(r.length===0)e.push(i);else{let a=r[r.length-1].node;a.children?a.children.push(i):a.children=[i]}n.type!=="Leaf"&&r.push({node:i,level:n.level})}),e}var vxe=N(()=>{"use strict";o(yxe,"buildHierarchy")});var Gnt,znt,d$,xxe=N(()=>{"use strict";Ff();pt();Zp();vxe();f$();Gnt=o((t,e)=>{nl(t,e);let r=[];for(let a of t.TreemapRows??[])a.$type==="ClassDefStatement"&&e.addClass(a.className??"",a.styleText??"");for(let a of t.TreemapRows??[]){let s=a.item;if(!s)continue;let l=a.indent?parseInt(a.indent):0,u=znt(s),h=s.classSelector?e.getStylesForClass(s.classSelector):[],f=h.length>0?h.join(";"):void 0,d={level:l,name:u,type:s.$type,value:s.value,classSelector:s.classSelector,cssCompiledStyles:f};r.push(d)}let n=yxe(r),i=o((a,s)=>{for(let l of a)e.addNode(l,s),l.children&&l.children.length>0&&i(l.children,s+1)},"addNodesRecursively");i(n,0)},"populate"),znt=o(t=>t.name?String(t.name):"","getItemName"),d$={parser:{yy:void 0},parse:o(async t=>{try{let r=await xs("treemap",t);X.debug("Treemap AST:",r);let n=d$.parser?.yy;if(!(n instanceof vy))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Gnt(r,n)}catch(e){throw X.error("Error parsing treemap:",e),e}},"parse")}});var Vnt,xy,F4,Unt,Hnt,bxe,Txe=N(()=>{"use strict";Jc();_f();Ci();pr();Ft();Wn();pt();Vnt=10,xy=10,F4=25,Unt=o((t,e,r,n)=>{let i=n.db,a=i.getConfig(),s=a.padding??Vnt,l=i.getDiagramTitle(),u=i.getRoot(),{themeVariables:h}=Qt();if(!u)return;let f=l?30:0,d=aa(e),p=a.nodeWidth?a.nodeWidth*xy:960,m=a.nodeHeight?a.nodeHeight*xy:500,g=p,y=m+f;d.attr("viewBox",`0 0 ${g} ${y}`),fn(d,y,g,a.useMaxWidth);let x;try{let C=a.valueFormat||",";if(C==="$0,0")x=o(I=>"$"+lc(",")(I),"valueFormat");else if(C.startsWith("$")&&C.includes(",")){let I=/\.\d+/.exec(C),M=I?I[0]:"";x=o(P=>"$"+lc(","+M)(P),"valueFormat")}else if(C.startsWith("$")){let I=C.substring(1);x=o(M=>"$"+lc(I||"")(M),"valueFormat")}else x=lc(C)}catch(C){X.error("Error creating format function:",C),x=lc(",")}let v=eo().range(["transparent",h.cScale0,h.cScale1,h.cScale2,h.cScale3,h.cScale4,h.cScale5,h.cScale6,h.cScale7,h.cScale8,h.cScale9,h.cScale10,h.cScale11]),b=eo().range(["transparent",h.cScalePeer0,h.cScalePeer1,h.cScalePeer2,h.cScalePeer3,h.cScalePeer4,h.cScalePeer5,h.cScalePeer6,h.cScalePeer7,h.cScalePeer8,h.cScalePeer9,h.cScalePeer10,h.cScalePeer11]),T=eo().range([h.cScaleLabel0,h.cScaleLabel1,h.cScaleLabel2,h.cScaleLabel3,h.cScaleLabel4,h.cScaleLabel5,h.cScaleLabel6,h.cScaleLabel7,h.cScaleLabel8,h.cScaleLabel9,h.cScaleLabel10,h.cScaleLabel11]);l&&d.append("text").attr("x",g/2).attr("y",f/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(l);let S=d.append("g").attr("transform",`translate(0, ${f})`).attr("class","treemapContainer"),w=$0(u).sum(C=>C.value??0).sort((C,I)=>(I.value??0)-(C.value??0)),_=L5().size([p,m]).paddingTop(C=>C.children&&C.children.length>0?F4+xy:0).paddingInner(s).paddingLeft(C=>C.children&&C.children.length>0?xy:0).paddingRight(C=>C.children&&C.children.length>0?xy:0).paddingBottom(C=>C.children&&C.children.length>0?xy:0).round(!0)(w),A=_.descendants().filter(C=>C.children&&C.children.length>0),D=S.selectAll(".treemapSection").data(A).enter().append("g").attr("class","treemapSection").attr("transform",C=>`translate(${C.x0},${C.y0})`);D.append("rect").attr("width",C=>C.x1-C.x0).attr("height",F4).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",C=>C.depth===0?"display: none;":""),D.append("clipPath").attr("id",(C,I)=>`clip-section-${e}-${I}`).append("rect").attr("width",C=>Math.max(0,C.x1-C.x0-12)).attr("height",F4),D.append("rect").attr("width",C=>C.x1-C.x0).attr("height",C=>C.y1-C.y0).attr("class",(C,I)=>`treemapSection section${I}`).attr("fill",C=>v(C.data.name)).attr("fill-opacity",.6).attr("stroke",C=>b(C.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",C=>{if(C.depth===0)return"display: none;";let I=We({cssCompiledStyles:C.data.cssCompiledStyles});return I.nodeStyles+";"+I.borderStyles.join(";")}),D.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",F4/2).attr("dominant-baseline","middle").text(C=>C.depth===0?"":C.data.name).attr("font-weight","bold").attr("style",C=>{if(C.depth===0)return"display: none;";let I="dominant-baseline: middle; font-size: 12px; fill:"+T(C.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",M=We({cssCompiledStyles:C.data.cssCompiledStyles});return I+M.labelStyles.replace("color:","fill:")}).each(function(C){if(C.depth===0)return;let I=ze(this),M=C.data.name;I.text(M);let P=C.x1-C.x0,B=6,F;a.showValues!==!1&&C.value?F=P-10-30-10-B:F=P-B-6;let $=Math.max(15,F),U=I.node();if(U.getComputedTextLength()>$){let ne="...",j=M;for(;j.length>0;){if(j=M.substring(0,j.length-1),j.length===0){I.text(ne),U.getComputedTextLength()>$&&I.text("");break}if(I.text(j+ne),U.getComputedTextLength()<=$)break}}}),a.showValues!==!1&&D.append("text").attr("class","treemapSectionValue").attr("x",C=>C.x1-C.x0-10).attr("y",F4/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(C=>C.value?x(C.value):"").attr("font-style","italic").attr("style",C=>{if(C.depth===0)return"display: none;";let I="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+T(C.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",M=We({cssCompiledStyles:C.data.cssCompiledStyles});return I+M.labelStyles.replace("color:","fill:")});let O=_.leaves(),R=S.selectAll(".treemapLeafGroup").data(O).enter().append("g").attr("class",(C,I)=>`treemapNode treemapLeafGroup leaf${I}${C.data.classSelector?` ${C.data.classSelector}`:""}x`).attr("transform",C=>`translate(${C.x0},${C.y0})`);R.append("rect").attr("width",C=>C.x1-C.x0).attr("height",C=>C.y1-C.y0).attr("class","treemapLeaf").attr("fill",C=>C.parent?v(C.parent.data.name):v(C.data.name)).attr("style",C=>We({cssCompiledStyles:C.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",C=>C.parent?v(C.parent.data.name):v(C.data.name)).attr("stroke-width",3),R.append("clipPath").attr("id",(C,I)=>`clip-${e}-${I}`).append("rect").attr("width",C=>Math.max(0,C.x1-C.x0-4)).attr("height",C=>Math.max(0,C.y1-C.y0-4)),R.append("text").attr("class","treemapLabel").attr("x",C=>(C.x1-C.x0)/2).attr("y",C=>(C.y1-C.y0)/2).attr("style",C=>{let I="text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:"+T(C.data.name)+";",M=We({cssCompiledStyles:C.data.cssCompiledStyles});return I+M.labelStyles.replace("color:","fill:")}).attr("clip-path",(C,I)=>`url(#clip-${e}-${I})`).text(C=>C.data.name).each(function(C){let I=ze(this),M=C.x1-C.x0,P=C.y1-C.y0,B=I.node(),F=4,G=M-2*F,$=P-2*F;if(G<10||$<10){I.style("display","none");return}let U=parseInt(I.style("font-size"),10),K=8,ne=28,j=.6,le=6,Z=2;for(;B.getComputedTextLength()>G&&U>K;)U--,I.style("font-size",`${U}px`);let ce=Math.max(le,Math.min(ne,Math.round(U*j))),Q=U+Z+ce;for(;Q>$&&U>K&&(U--,ce=Math.max(le,Math.min(ne,Math.round(U*j))),!(ce$;I.style("font-size",`${U}px`),(B.getComputedTextLength()>G||U(I.x1-I.x0)/2).attr("y",function(I){return(I.y1-I.y0)/2}).attr("style",I=>{let M="text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:"+T(I.data.name)+";",P=We({cssCompiledStyles:I.data.cssCompiledStyles});return M+P.labelStyles.replace("color:","fill:")}).attr("clip-path",(I,M)=>`url(#clip-${e}-${M})`).text(I=>I.value?x(I.value):"").each(function(I){let M=ze(this),P=this.parentNode;if(!P){M.style("display","none");return}let B=ze(P).select(".treemapLabel");if(B.empty()||B.style("display")==="none"){M.style("display","none");return}let F=parseFloat(B.style("font-size")),G=28,$=.6,U=6,K=2,ne=Math.max(U,Math.min(G,Math.round(F*$)));M.style("font-size",`${ne}px`);let le=(I.y1-I.y0)/2+F/2+K;M.attr("y",le);let Z=I.x1-I.x0,ee=I.y1-I.y0-4,te=Z-2*4;M.node().getComputedTextLength()>te||le+ne>ee||ne{"use strict";tr();Wnt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelColor:"black",labelFontSize:"12px",valueFontSize:"10px",valueColor:"black",titleColor:"black",titleFontSize:"14px"},qnt=o(({treemap:t}={})=>{let e=Vn(Wnt,t);return` .treemapNode.section { stroke: ${e.sectionStrokeColor}; stroke-width: ${e.sectionStrokeWidth}; @@ -2607,16 +2642,16 @@ Expecting `+J.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":Se="Parse error o fill: ${e.titleColor}; font-size: ${e.titleFontSize}; } - `},"getStyles"),axe=Unt});var oxe={};hr(oxe,{diagram:()=>Hnt});var Hnt,lxe=N(()=>{"use strict";t$();rxe();ixe();sxe();Hnt={parser:r$,get db(){return new yy},renderer:nxe,styles:axe}});var Lit={};hr(Lit,{default:()=>Dit});rc();pA();ad();var lK="c4",iAe=o(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),aAe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(oK(),sK));return{id:lK,diagram:t}},"loader"),sAe={id:lK,detector:iAe,loader:aAe},cK=sAe;var cse="flowchart",VPe=o((t,e)=>e?.flowchart?.defaultRenderer==="dagre-wrapper"||e?.flowchart?.defaultRenderer==="elk"?!1:/^\s*graph/.test(t),"detector"),UPe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(vk(),yk));return{id:cse,diagram:t}},"loader"),HPe={id:cse,detector:VPe,loader:UPe},use=HPe;var hse="flowchart-v2",WPe=o((t,e)=>e?.flowchart?.defaultRenderer==="dagre-d3"?!1:(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"?!0:/^\s*flowchart/.test(t)),"detector"),qPe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(vk(),yk));return{id:hse,diagram:t}},"loader"),YPe={id:hse,detector:WPe,loader:qPe},fse=YPe;var Tse="er",ZPe=o(t=>/^\s*erDiagram/.test(t),"detector"),JPe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(bse(),xse));return{id:Tse,diagram:t}},"loader"),eBe={id:Tse,detector:ZPe,loader:JPe},wse=eBe;var Dhe="gitGraph",LGe=o(t=>/^\s*gitGraph/.test(t),"detector"),RGe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(_he(),Ahe));return{id:Dhe,diagram:t}},"loader"),NGe={id:Dhe,detector:LGe,loader:RGe},Lhe=NGe;var sfe="gantt",xVe=o(t=>/^\s*gantt/.test(t),"detector"),bVe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(afe(),ife));return{id:sfe,diagram:t}},"loader"),TVe={id:sfe,detector:xVe,loader:bVe},ofe=TVe;var gfe="info",AVe=o(t=>/^\s*info/.test(t),"detector"),_Ve=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(mfe(),pfe));return{id:gfe,diagram:t}},"loader"),yfe={id:gfe,detector:AVe,loader:_Ve};var Afe="pie",GVe=o(t=>/^\s*pie/.test(t),"detector"),VVe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Cfe(),Sfe));return{id:Afe,diagram:t}},"loader"),_fe={id:Afe,detector:GVe,loader:VVe};var Gfe="quadrantChart",sUe=o(t=>/^\s*quadrantChart/.test(t),"detector"),oUe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(zfe(),$fe));return{id:Gfe,diagram:t}},"loader"),lUe={id:Gfe,detector:sUe,loader:oUe},Vfe=lUe;var mde="xychart",SUe=o(t=>/^\s*xychart(-beta)?/.test(t),"detector"),CUe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(pde(),dde));return{id:mde,diagram:t}},"loader"),AUe={id:mde,detector:SUe,loader:CUe},gde=AUe;var Sde="requirement",RUe=o(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),NUe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Ede(),kde));return{id:Sde,diagram:t}},"loader"),MUe={id:Sde,detector:RUe,loader:NUe},Cde=MUe;var qde="sequence",gHe=o(t=>/^\s*sequenceDiagram/.test(t),"detector"),yHe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Wde(),Hde));return{id:qde,diagram:t}},"loader"),vHe={id:qde,detector:gHe,loader:yHe},Yde=vHe;var Jde="class",EHe=o((t,e)=>e?.class?.defaultRenderer==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t),"detector"),SHe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Zde(),Qde));return{id:Jde,diagram:t}},"loader"),CHe={id:Jde,detector:EHe,loader:SHe},epe=CHe;var npe="classDiagram",_He=o((t,e)=>/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t),"detector"),DHe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(rpe(),tpe));return{id:npe,diagram:t}},"loader"),LHe={id:npe,detector:_He,loader:DHe},ipe=LHe;var Ope="state",tWe=o((t,e)=>e?.state?.defaultRenderer==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t),"detector"),rWe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Ipe(),Mpe));return{id:Ope,diagram:t}},"loader"),nWe={id:Ope,detector:tWe,loader:rWe},Ppe=nWe;var $pe="stateDiagram",aWe=o((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper"),"detector"),sWe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Fpe(),Bpe));return{id:$pe,diagram:t}},"loader"),oWe={id:$pe,detector:aWe,loader:sWe},zpe=oWe;var r0e="journey",_We=o(t=>/^\s*journey/.test(t),"detector"),DWe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(t0e(),e0e));return{id:r0e,diagram:t}},"loader"),LWe={id:r0e,detector:_We,loader:DWe},n0e=LWe;yt();zl();yi();var RWe=o((t,e,r)=>{X.debug(`rendering svg for syntax error -`);let n=Di(e),i=n.append("g");n.attr("viewBox","0 0 2412 512"),hn(n,100,512,!0),i.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),i.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),i.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),i.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),i.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),i.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),i.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw"),jP={draw:RWe},i0e=jP;var NWe={db:{},renderer:jP,parser:{parse:o(()=>{},"parse")}},a0e=NWe;var s0e="flowchart-elk",MWe=o((t,e={})=>/^\s*flowchart-elk/.test(t)||/^\s*(flowchart|graph)/.test(t)&&e?.flowchart?.defaultRenderer==="elk"?(e.layout="elk",!0):!1,"detector"),IWe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(vk(),yk));return{id:s0e,diagram:t}},"loader"),OWe={id:s0e,detector:MWe,loader:IWe},o0e=OWe;var M0e="timeline",eqe=o(t=>/^\s*timeline/.test(t),"detector"),tqe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(N0e(),R0e));return{id:M0e,diagram:t}},"loader"),rqe={id:M0e,detector:eqe,loader:tqe},I0e=rqe;var cye="mindmap",Cet=o(t=>/^\s*mindmap/.test(t),"detector"),Aet=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(lye(),oye));return{id:cye,diagram:t}},"loader"),_et={id:cye,detector:Cet,loader:Aet},uye=_et;var wye="kanban",Het=o(t=>/^\s*kanban/.test(t),"detector"),Wet=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Tye(),bye));return{id:wye,diagram:t}},"loader"),qet={id:wye,detector:Het,loader:Wet},kye=qet;var ive="sankey",mtt=o(t=>/^\s*sankey(-beta)?/.test(t),"detector"),gtt=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(nve(),rve));return{id:ive,diagram:t}},"loader"),ytt={id:ive,detector:mtt,loader:gtt},ave=ytt;var dve="packet",Ctt=o(t=>/^\s*packet(-beta)?/.test(t),"detector"),Att=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(fve(),hve));return{id:dve,diagram:t}},"loader"),pve={id:dve,detector:Ctt,loader:Att};var Sve="radar",jtt=o(t=>/^\s*radar-beta/.test(t),"detector"),Ktt=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Eve(),kve));return{id:Sve,diagram:t}},"loader"),Cve={id:Sve,detector:jtt,loader:Ktt};var D2e="block",ynt=o(t=>/^\s*block(-beta)?/.test(t),"detector"),vnt=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(_2e(),A2e));return{id:D2e,diagram:t}},"loader"),xnt={id:D2e,detector:ynt,loader:vnt},L2e=xnt;var Z2e="architecture",Int=o(t=>/^\s*architecture/.test(t),"detector"),Ont=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Q2e(),K2e));return{id:Z2e,diagram:t}},"loader"),Pnt={id:Z2e,detector:Int,loader:Ont},J2e=Pnt;ad();qt();var cxe="treemap",Wnt=o(t=>/^\s*treemap/.test(t),"detector"),qnt=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(lxe(),oxe));return{id:cxe,diagram:t}},"loader"),uxe={id:cxe,detector:Wnt,loader:qnt};var hxe=!1,xy=o(()=>{hxe||(hxe=!0,sd("error",a0e,t=>t.toLowerCase().trim()==="error"),sd("---",{db:{clear:o(()=>{},"clear")},styles:{},renderer:{draw:o(()=>{},"draw")},parser:{parse:o(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:o(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),Qy(o0e,uye,J2e),Qy(cK,kye,ipe,epe,wse,ofe,yfe,_fe,Cde,Yde,fse,use,I0e,Lhe,zpe,Ppe,n0e,Vfe,ave,pve,gde,L2e,Cve,uxe))},"addDiagrams");yt();ad();qt();var fxe=o(async()=>{X.debug("Loading registered diagrams");let e=(await Promise.allSettled(Object.entries(du).map(async([r,{detector:n,loader:i}])=>{if(i)try{rv(r)}catch{try{let{diagram:a,id:s}=await i();sd(s,a,n)}catch(a){throw X.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete du[r],a}}}))).filter(r=>r.status==="rejected");if(e.length>0){X.error(`Failed to load ${e.length} external diagrams`);for(let r of e)X.error(r);throw new Error(`Failed to load ${e.length} external diagrams`)}},"loadRegisteredDiagrams");yt();pr();var SC="comm",CC="rule",AC="decl";var dxe="@import";var pxe="@namespace",mxe="@keyframes";var gxe="@layer";var n$=Math.abs,O4=String.fromCharCode;function _C(t){return t.trim()}o(_C,"trim");function P4(t,e,r){return t.replace(e,r)}o(P4,"replace");function yxe(t,e,r){return t.indexOf(e,r)}o(yxe,"indexof");function Vf(t,e){return t.charCodeAt(e)|0}o(Vf,"charat");function Uf(t,e,r){return t.slice(e,r)}o(Uf,"substr");function xo(t){return t.length}o(xo,"strlen");function vxe(t){return t.length}o(vxe,"sizeof");function by(t,e){return e.push(t),t}o(by,"append");var DC=1,Ty=1,xxe=0,sl=0,Ni=0,ky="";function LC(t,e,r,n,i,a,s,l){return{value:t,root:e,parent:r,type:n,props:i,children:a,line:DC,column:Ty,length:s,return:"",siblings:l}}o(LC,"node");function bxe(){return Ni}o(bxe,"char");function Txe(){return Ni=sl>0?Vf(ky,--sl):0,Ty--,Ni===10&&(Ty=1,DC--),Ni}o(Txe,"prev");function ol(){return Ni=sl2||wy(Ni)>3?"":" "}o(Exe,"whitespace");function Sxe(t,e){for(;--e&&ol()&&!(Ni<48||Ni>102||Ni>57&&Ni<65||Ni>70&&Ni<97););return RC(t,B4()+(e<6&&ih()==32&&ol()==32))}o(Sxe,"escaping");function i$(t){for(;ol();)switch(Ni){case t:return sl;case 34:case 39:t!==34&&t!==39&&i$(Ni);break;case 40:t===41&&i$(t);break;case 92:ol();break}return sl}o(i$,"delimiter");function Cxe(t,e){for(;ol()&&t+Ni!==57;)if(t+Ni===84&&ih()===47)break;return"/*"+RC(e,sl-1)+"*"+O4(t===47?t:ol())}o(Cxe,"commenter");function Axe(t){for(;!wy(ih());)ol();return RC(t,sl)}o(Axe,"identifier");function Lxe(t){return kxe(MC("",null,null,null,[""],t=wxe(t),0,[0],t))}o(Lxe,"compile");function MC(t,e,r,n,i,a,s,l,u){for(var h=0,f=0,d=s,p=0,m=0,g=0,y=1,v=1,x=1,b=0,T="",C=i,w=a,E=n,_=T;v;)switch(g=b,b=ol()){case 40:if(g!=108&&Vf(_,d-1)==58){yxe(_+=P4(NC(b),"&","&\f"),"&\f",n$(h?l[h-1]:0))!=-1&&(x=-1);break}case 34:case 39:case 91:_+=NC(b);break;case 9:case 10:case 13:case 32:_+=Exe(g);break;case 92:_+=Sxe(B4()-1,7);continue;case 47:switch(ih()){case 42:case 47:by(Ynt(Cxe(ol(),B4()),e,r,u),u),(wy(g||1)==5||wy(ih()||1)==5)&&xo(_)&&Uf(_,-1,void 0)!==" "&&(_+=" ");break;default:_+="/"}break;case 123*y:l[h++]=xo(_)*x;case 125*y:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+f:x==-1&&(_=P4(_,/\f/g,"")),m>0&&(xo(_)-d||y===0&&g===47)&&by(m>32?Dxe(_+";",n,r,d-1,u):Dxe(P4(_," ","")+";",n,r,d-2,u),u);break;case 59:_+=";";default:if(by(E=_xe(_,e,r,h,f,i,l,T,C=[],w=[],d,a),a),b===123)if(f===0)MC(_,e,E,E,C,a,d,l,w);else{switch(p){case 99:if(Vf(_,3)===110)break;case 108:if(Vf(_,2)===97)break;default:f=0;case 100:case 109:case 115:}f?MC(t,E,E,n&&by(_xe(t,E,E,0,0,i,l,T,i,C=[],d,w),w),i,w,d,l,n?C:w):MC(_,E,E,E,[""],w,0,l,w)}}h=f=m=0,y=x=1,T=_="",d=s;break;case 58:d=1+xo(_),m=g;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&Txe()==125)continue}switch(_+=O4(b),b*y){case 38:x=f>0?1:(_+="\f",-1);break;case 44:l[h++]=(xo(_)-1)*x,x=1;break;case 64:ih()===45&&(_+=NC(ol())),p=ih(),f=d=xo(T=_+=Axe(B4())),b++;break;case 45:g===45&&xo(_)==2&&(y=0)}}return a}o(MC,"parse");function _xe(t,e,r,n,i,a,s,l,u,h,f,d){for(var p=i-1,m=i===0?a:[""],g=vxe(m),y=0,v=0,x=0;y0?m[b]+" "+T:P4(T,/&\f/g,m[b])))&&(u[x++]=C);return LC(t,e,r,i===0?CC:l,u,h,f,d)}o(_xe,"ruleset");function Ynt(t,e,r,n){return LC(t,e,r,SC,O4(bxe()),Uf(t,2,-2),0,n)}o(Ynt,"comment");function Dxe(t,e,r,n,i){return LC(t,e,r,AC,Uf(t,0,n),Uf(t,n+1,-1),n,i)}o(Dxe,"declaration");function IC(t,e){for(var r="",n=0;n{Ixe.forEach(t=>{t()}),Ixe=[]},"attachFunctions");yt();var Pxe=o(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");I3();IT();function Bxe(t){let e=t.match(M3);if(!e)return{text:t,metadata:{}};let r=gm(e[1],{schema:mm})??{};r=typeof r=="object"&&!Array.isArray(r)?r:{};let n={};return r.displayMode&&(n.displayMode=r.displayMode.toString()),r.title&&(n.title=r.title.toString()),r.config&&(n.config=r.config),{text:t.slice(e[0].length),metadata:n}}o(Bxe,"extractFrontMatter");nr();var jnt=o(t=>t.replace(/\r\n?/g,` -`).replace(/<(\w+)([^>]*)>/g,(e,r,n)=>"<"+r+n.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),Knt=o(t=>{let{text:e,metadata:r}=Bxe(t),{displayMode:n,title:i,config:a={}}=r;return n&&(a.gantt||(a.gantt={}),a.gantt.displayMode=n),{title:i,config:a,text:e}},"processFrontmatter"),Qnt=o(t=>{let e=Vt.detectInit(t)??{},r=Vt.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:n})=>n==="wrap"):r?.type==="wrap"&&(e.wrap=!0),{text:jj(t),directive:e}},"processDirectives");function a$(t){let e=jnt(t),r=Knt(e),n=Qnt(r.text),i=Fn(r.config,n.directive);return t=Pxe(n.text),{code:t,title:r.title,config:i}}o(a$,"preprocessDiagram");vA();Q4();nr();function Fxe(t){let e=new TextEncoder().encode(t),r=Array.from(e,n=>String.fromCodePoint(n)).join("");return btoa(r)}o(Fxe,"toBase64");var Znt=5e4,Jnt="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",eit="sandbox",tit="loose",rit="http://www.w3.org/2000/svg",nit="http://www.w3.org/1999/xlink",iit="http://www.w3.org/1999/xhtml",ait="100%",sit="100%",oit="border:0;margin:0;",lit="margin:0",cit="allow-top-navigation-by-user-activation allow-popups",uit='The "iframe" tag is not supported by your browser.',hit=["foreignobject"],fit=["dominant-baseline"];function Vxe(t){let e=a$(t);return Iy(),Cz(e.config??{}),e}o(Vxe,"processAndSetConfigs");async function dit(t,e){xy();try{let{code:r,config:n}=Vxe(t);return{diagramType:(await Uxe(r)).type,config:n}}catch(r){if(e?.suppressErrors)return!1;throw r}}o(dit,"parse");var $xe=o((t,e,r=[])=>` -.${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),pit=o((t,e=new Map)=>{let r="";if(t.themeCSS!==void 0&&(r+=` + `},"getStyles"),wxe=qnt});var Exe={};ur(Exe,{diagram:()=>Ynt});var Ynt,Sxe=N(()=>{"use strict";f$();xxe();Txe();kxe();Ynt={parser:d$,get db(){return new vy},renderer:bxe,styles:wxe}});var Mit={};ur(Mit,{default:()=>Nit});rc();wA();pd();var fK="c4",cAe=o(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),uAe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(hK(),uK));return{id:fK,diagram:t}},"loader"),hAe={id:fK,detector:cAe,loader:uAe},dK=hAe;var Uce="flowchart",tWe=o((t,e)=>e?.flowchart?.defaultRenderer==="dagre-wrapper"||e?.flowchart?.defaultRenderer==="elk"?!1:/^\s*graph/.test(t),"detector"),rWe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(wE(),TE));return{id:Uce,diagram:t}},"loader"),nWe={id:Uce,detector:tWe,loader:rWe},Hce=nWe;var Wce="flowchart-v2",iWe=o((t,e)=>e?.flowchart?.defaultRenderer==="dagre-d3"?!1:(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"?!0:/^\s*flowchart/.test(t)),"detector"),aWe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(wE(),TE));return{id:Wce,diagram:t}},"loader"),sWe={id:Wce,detector:iWe,loader:aWe},qce=sWe;var tue="er",hWe=o(t=>/^\s*erDiagram/.test(t),"detector"),fWe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(eue(),Jce));return{id:tue,diagram:t}},"loader"),dWe={id:tue,detector:hWe,loader:fWe},rue=dWe;var c0e="gitGraph",Uje=o(t=>/^\s*gitGraph/.test(t),"detector"),Hje=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(l0e(),o0e));return{id:c0e,diagram:t}},"loader"),Wje={id:c0e,detector:Uje,loader:Hje},u0e=Wje;var G0e="gantt",NKe=o(t=>/^\s*gantt/.test(t),"detector"),MKe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>($0e(),F0e));return{id:G0e,diagram:t}},"loader"),IKe={id:G0e,detector:NKe,loader:MKe},z0e=IKe;var K0e="info",GKe=o(t=>/^\s*info/.test(t),"detector"),zKe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(j0e(),X0e));return{id:K0e,diagram:t}},"loader"),Q0e={id:K0e,detector:GKe,loader:zKe};var ome="pie",eQe=o(t=>/^\s*pie/.test(t),"detector"),tQe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(sme(),ame));return{id:ome,diagram:t}},"loader"),lme={id:ome,detector:eQe,loader:tQe};var Tme="quadrantChart",xQe=o(t=>/^\s*quadrantChart/.test(t),"detector"),bQe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(bme(),xme));return{id:Tme,diagram:t}},"loader"),TQe={id:Tme,detector:xQe,loader:bQe},wme=TQe;var jme="xychart",FQe=o(t=>/^\s*xychart(-beta)?/.test(t),"detector"),$Qe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Xme(),Yme));return{id:jme,diagram:t}},"loader"),GQe={id:jme,detector:FQe,loader:$Qe},Kme=GQe;var age="requirement",HQe=o(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),WQe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(ige(),nge));return{id:age,diagram:t}},"loader"),qQe={id:age,detector:HQe,loader:WQe},sge=qQe;var wge="sequence",MZe=o(t=>/^\s*sequenceDiagram/.test(t),"detector"),IZe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Tge(),bge));return{id:wge,diagram:t}},"loader"),OZe={id:wge,detector:MZe,loader:IZe},kge=OZe;var Dge="class",zZe=o((t,e)=>e?.class?.defaultRenderer==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t),"detector"),VZe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(_ge(),Age));return{id:Dge,diagram:t}},"loader"),UZe={id:Dge,detector:zZe,loader:VZe},Lge=UZe;var Mge="classDiagram",WZe=o((t,e)=>/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t),"detector"),qZe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Nge(),Rge));return{id:Mge,diagram:t}},"loader"),YZe={id:Mge,detector:WZe,loader:qZe},Ige=YZe;var h1e="state",vJe=o((t,e)=>e?.state?.defaultRenderer==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t),"detector"),xJe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(u1e(),c1e));return{id:h1e,diagram:t}},"loader"),bJe={id:h1e,detector:vJe,loader:xJe},f1e=bJe;var m1e="stateDiagram",wJe=o((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper"),"detector"),kJe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(p1e(),d1e));return{id:m1e,diagram:t}},"loader"),EJe={id:m1e,detector:wJe,loader:kJe},g1e=EJe;var N1e="journey",WJe=o(t=>/^\s*journey/.test(t),"detector"),qJe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(R1e(),L1e));return{id:N1e,diagram:t}},"loader"),YJe={id:N1e,detector:WJe,loader:qJe},M1e=YJe;pt();Jc();Ci();var XJe=o((t,e,r)=>{X.debug(`rendering svg for syntax error +`);let n=aa(e),i=n.append("g");n.attr("viewBox","0 0 2412 512"),fn(n,100,512,!0),i.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),i.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),i.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),i.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),i.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),i.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),i.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw"),fF={draw:XJe},I1e=fF;var jJe={db:{},renderer:fF,parser:{parse:o(()=>{},"parse")}},O1e=jJe;var P1e="flowchart-elk",KJe=o((t,e={})=>/^\s*flowchart-elk/.test(t)||/^\s*(flowchart|graph)/.test(t)&&e?.flowchart?.defaultRenderer==="elk"?(e.layout="elk",!0):!1,"detector"),QJe=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(wE(),TE));return{id:P1e,diagram:t}},"loader"),ZJe={id:P1e,detector:KJe,loader:QJe},B1e=ZJe;var cye="timeline",vet=o(t=>/^\s*timeline/.test(t),"detector"),xet=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(lye(),oye));return{id:cye,diagram:t}},"loader"),bet={id:cye,detector:vet,loader:xet},uye=bet;var Cye="mindmap",Det=o(t=>/^\s*mindmap/.test(t),"detector"),Let=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Sye(),Eye));return{id:Cye,diagram:t}},"loader"),Ret={id:Cye,detector:Det,loader:Let},Aye=Ret;var $ye="kanban",Yet=o(t=>/^\s*kanban/.test(t),"detector"),Xet=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Fye(),Bye));return{id:$ye,diagram:t}},"loader"),jet={id:$ye,detector:Yet,loader:Xet},Gye=jet;var Tve="sankey",vtt=o(t=>/^\s*sankey(-beta)?/.test(t),"detector"),xtt=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(bve(),xve));return{id:Tve,diagram:t}},"loader"),btt={id:Tve,detector:vtt,loader:xtt},wve=btt;var Lve="packet",Dtt=o(t=>/^\s*packet(-beta)?/.test(t),"detector"),Ltt=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Dve(),_ve));return{id:Lve,diagram:t}},"loader"),Rve={id:Lve,detector:Dtt,loader:Ltt};var Vve="radar",Ztt=o(t=>/^\s*radar-beta/.test(t),"detector"),Jtt=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(zve(),Gve));return{id:Vve,diagram:t}},"loader"),Uve={id:Vve,detector:Ztt,loader:Jtt};var q2e="block",bnt=o(t=>/^\s*block(-beta)?/.test(t),"detector"),Tnt=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(W2e(),H2e));return{id:q2e,diagram:t}},"loader"),wnt={id:q2e,detector:bnt,loader:Tnt},Y2e=wnt;var mxe="architecture",Bnt=o(t=>/^\s*architecture/.test(t),"detector"),Fnt=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(pxe(),dxe));return{id:mxe,diagram:t}},"loader"),$nt={id:mxe,detector:Bnt,loader:Fnt},gxe=$nt;pd();Xt();var Cxe="treemap",Xnt=o(t=>/^\s*treemap/.test(t),"detector"),jnt=o(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Sxe(),Exe));return{id:Cxe,diagram:t}},"loader"),Axe={id:Cxe,detector:Xnt,loader:jnt};var _xe=!1,by=o(()=>{_xe||(_xe=!0,md("error",O1e,t=>t.toLowerCase().trim()==="error"),md("---",{db:{clear:o(()=>{},"clear")},styles:{},renderer:{draw:o(()=>{},"draw")},parser:{parse:o(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:o(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),Zy(B1e,Aye,gxe),Zy(dK,Gye,Ige,Lge,rue,z0e,Q0e,lme,sge,kge,qce,Hce,uye,u0e,g1e,f1e,M1e,wme,wve,Rve,Kme,Y2e,Uve,Axe))},"addDiagrams");pt();pd();Xt();var Dxe=o(async()=>{X.debug("Loading registered diagrams");let e=(await Promise.allSettled(Object.entries(pu).map(async([r,{detector:n,loader:i}])=>{if(i)try{nv(r)}catch{try{let{diagram:a,id:s}=await i();md(s,a,n)}catch(a){throw X.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete pu[r],a}}}))).filter(r=>r.status==="rejected");if(e.length>0){X.error(`Failed to load ${e.length} external diagrams`);for(let r of e)X.error(r);throw new Error(`Failed to load ${e.length} external diagrams`)}},"loadRegisteredDiagrams");pt();pr();var MC="comm",IC="rule",OC="decl";var Lxe="@import";var Rxe="@namespace",Nxe="@keyframes";var Mxe="@layer";var p$=Math.abs,$4=String.fromCharCode;function PC(t){return t.trim()}o(PC,"trim");function G4(t,e,r){return t.replace(e,r)}o(G4,"replace");function Ixe(t,e,r){return t.indexOf(e,r)}o(Ixe,"indexof");function Qf(t,e){return t.charCodeAt(e)|0}o(Qf,"charat");function Zf(t,e,r){return t.slice(e,r)}o(Zf,"substr");function To(t){return t.length}o(To,"strlen");function Oxe(t){return t.length}o(Oxe,"sizeof");function Ty(t,e){return e.push(t),t}o(Ty,"append");var BC=1,wy=1,Pxe=0,ll=0,Ni=0,Ey="";function FC(t,e,r,n,i,a,s,l){return{value:t,root:e,parent:r,type:n,props:i,children:a,line:BC,column:wy,length:s,return:"",siblings:l}}o(FC,"node");function Bxe(){return Ni}o(Bxe,"char");function Fxe(){return Ni=ll>0?Qf(Ey,--ll):0,wy--,Ni===10&&(wy=1,BC--),Ni}o(Fxe,"prev");function cl(){return Ni=ll2||ky(Ni)>3?"":" "}o(zxe,"whitespace");function Vxe(t,e){for(;--e&&cl()&&!(Ni<48||Ni>102||Ni>57&&Ni<65||Ni>70&&Ni<97););return $C(t,z4()+(e<6&&oh()==32&&cl()==32))}o(Vxe,"escaping");function m$(t){for(;cl();)switch(Ni){case t:return ll;case 34:case 39:t!==34&&t!==39&&m$(Ni);break;case 40:t===41&&m$(t);break;case 92:cl();break}return ll}o(m$,"delimiter");function Uxe(t,e){for(;cl()&&t+Ni!==57;)if(t+Ni===84&&oh()===47)break;return"/*"+$C(e,ll-1)+"*"+$4(t===47?t:cl())}o(Uxe,"commenter");function Hxe(t){for(;!ky(oh());)cl();return $C(t,ll)}o(Hxe,"identifier");function Yxe(t){return Gxe(zC("",null,null,null,[""],t=$xe(t),0,[0],t))}o(Yxe,"compile");function zC(t,e,r,n,i,a,s,l,u){for(var h=0,f=0,d=s,p=0,m=0,g=0,y=1,x=1,v=1,b=0,T="",S=i,w=a,E=n,_=T;x;)switch(g=b,b=cl()){case 40:if(g!=108&&Qf(_,d-1)==58){Ixe(_+=G4(GC(b),"&","&\f"),"&\f",p$(h?l[h-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:_+=GC(b);break;case 9:case 10:case 13:case 32:_+=zxe(g);break;case 92:_+=Vxe(z4()-1,7);continue;case 47:switch(oh()){case 42:case 47:Ty(Knt(Uxe(cl(),z4()),e,r,u),u),(ky(g||1)==5||ky(oh()||1)==5)&&To(_)&&Zf(_,-1,void 0)!==" "&&(_+=" ");break;default:_+="/"}break;case 123*y:l[h++]=To(_)*v;case 125*y:case 59:case 0:switch(b){case 0:case 125:x=0;case 59+f:v==-1&&(_=G4(_,/\f/g,"")),m>0&&(To(_)-d||y===0&&g===47)&&Ty(m>32?qxe(_+";",n,r,d-1,u):qxe(G4(_," ","")+";",n,r,d-2,u),u);break;case 59:_+=";";default:if(Ty(E=Wxe(_,e,r,h,f,i,l,T,S=[],w=[],d,a),a),b===123)if(f===0)zC(_,e,E,E,S,a,d,l,w);else{switch(p){case 99:if(Qf(_,3)===110)break;case 108:if(Qf(_,2)===97)break;default:f=0;case 100:case 109:case 115:}f?zC(t,E,E,n&&Ty(Wxe(t,E,E,0,0,i,l,T,i,S=[],d,w),w),i,w,d,l,n?S:w):zC(_,E,E,E,[""],w,0,l,w)}}h=f=m=0,y=v=1,T=_="",d=s;break;case 58:d=1+To(_),m=g;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&Fxe()==125)continue}switch(_+=$4(b),b*y){case 38:v=f>0?1:(_+="\f",-1);break;case 44:l[h++]=(To(_)-1)*v,v=1;break;case 64:oh()===45&&(_+=GC(cl())),p=oh(),f=d=To(T=_+=Hxe(z4())),b++;break;case 45:g===45&&To(_)==2&&(y=0)}}return a}o(zC,"parse");function Wxe(t,e,r,n,i,a,s,l,u,h,f,d){for(var p=i-1,m=i===0?a:[""],g=Oxe(m),y=0,x=0,v=0;y0?m[b]+" "+T:G4(T,/&\f/g,m[b])))&&(u[v++]=S);return FC(t,e,r,i===0?IC:l,u,h,f,d)}o(Wxe,"ruleset");function Knt(t,e,r,n){return FC(t,e,r,MC,$4(Bxe()),Zf(t,2,-2),0,n)}o(Knt,"comment");function qxe(t,e,r,n,i){return FC(t,e,r,OC,Zf(t,0,n),Zf(t,n+1,-1),n,i)}o(qxe,"declaration");function VC(t,e){for(var r="",n=0;n{Qxe.forEach(t=>{t()}),Qxe=[]},"attachFunctions");pt();var Jxe=o(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");B3();b2();function ebe(t){let e=t.match(P3);if(!e)return{text:t,metadata:{}};let r=Xh(e[1],{schema:Yh})??{};r=typeof r=="object"&&!Array.isArray(r)?r:{};let n={};return r.displayMode&&(n.displayMode=r.displayMode.toString()),r.title&&(n.title=r.title.toString()),r.config&&(n.config=r.config),{text:t.slice(e[0].length),metadata:n}}o(ebe,"extractFrontMatter");tr();var Znt=o(t=>t.replace(/\r\n?/g,` +`).replace(/<(\w+)([^>]*)>/g,(e,r,n)=>"<"+r+n.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),Jnt=o(t=>{let{text:e,metadata:r}=ebe(t),{displayMode:n,title:i,config:a={}}=r;return n&&(a.gantt||(a.gantt={}),a.gantt.displayMode=n),{title:i,config:a,text:e}},"processFrontmatter"),eit=o(t=>{let e=Ht.detectInit(t)??{},r=Ht.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:n})=>n==="wrap"):r?.type==="wrap"&&(e.wrap=!0),{text:Jj(t),directive:e}},"processDirectives");function g$(t){let e=Znt(t),r=Jnt(e),n=eit(r.text),i=Vn(r.config,n.directive);return t=Jxe(n.text),{code:t,title:r.title,config:i}}o(g$,"preprocessDiagram");CA();J4();tr();function tbe(t){let e=new TextEncoder().encode(t),r=Array.from(e,n=>String.fromCodePoint(n)).join("");return btoa(r)}o(tbe,"toBase64");var tit=5e4,rit="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",nit="sandbox",iit="loose",ait="http://www.w3.org/2000/svg",sit="http://www.w3.org/1999/xlink",oit="http://www.w3.org/1999/xhtml",lit="100%",cit="100%",uit="border:0;margin:0;",hit="margin:0",fit="allow-top-navigation-by-user-activation allow-popups",dit='The "iframe" tag is not supported by your browser.',pit=["foreignobject"],mit=["dominant-baseline"];function abe(t){let e=g$(t);return Oy(),RG(e.config??{}),e}o(abe,"processAndSetConfigs");async function git(t,e){by();try{let{code:r,config:n}=abe(t);return{diagramType:(await sbe(r)).type,config:n}}catch(r){if(e?.suppressErrors)return!1;throw r}}o(git,"parse");var rbe=o((t,e,r=[])=>` +.${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),yit=o((t,e=new Map)=>{let r="";if(t.themeCSS!==void 0&&(r+=` ${t.themeCSS}`),t.fontFamily!==void 0&&(r+=` :root { --mermaid-font-family: ${t.fontFamily}}`),t.altFontFamily!==void 0&&(r+=` -:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){let s=t.htmlLabels??t.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(l=>{fr(l.styles)||s.forEach(u=>{r+=$xe(l.id,u,l.styles)}),fr(l.textStyles)||(r+=$xe(l.id,"tspan",(l?.textStyles||[]).map(u=>u.replace("color","fill"))))})}return r},"createCssStyles"),mit=o((t,e,r,n)=>{let i=pit(t,r),a=NV(e,i,t.themeVariables);return IC(Lxe(`${n}{${a}}`),Rxe)},"createUserStyles"),git=o((t="",e,r)=>{let n=t;return!r&&!e&&(n=n.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),n=ta(n),n=n.replace(/
    /g,"
    "),n},"cleanUpSvgCode"),yit=o((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":sit,n=Fxe(`${t}`);return``},"putIntoIFrame"),zxe=o((t,e,r,n,i)=>{let a=t.append("div");a.attr("id",r),n&&a.attr("style",n);let s=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns",rit);return i&&s.attr("xmlns:xlink",i),s.append("g"),t},"appendDivSvgG");function Gxe(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}o(Gxe,"sandboxedIframe");var vit=o((t,e,r,n)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(n)?.remove()},"removeExistingElements"),xit=o(async function(t,e,r){xy();let n=Vxe(e);e=n.code;let i=Qt();X.debug(i),e.length>(i?.maxTextSize??Znt)&&(e=Jnt);let a="#"+t,s="i"+t,l="#"+s,u="d"+t,h="#"+u,f=o(()=>{let L=Ge(p?l:h).node();L&&"remove"in L&&L.remove()},"removeTempElements"),d=Ge("body"),p=i.securityLevel===eit,m=i.securityLevel===tit,g=i.fontFamily;if(r!==void 0){if(r&&(r.innerHTML=""),p){let k=Gxe(Ge(r),s);d=Ge(k.nodes()[0].contentDocument.body),d.node().style.margin=0}else d=Ge(r);zxe(d,t,u,`font-family: ${g}`,nit)}else{if(vit(document,t,u,s),p){let k=Gxe(Ge("body"),s);d=Ge(k.nodes()[0].contentDocument.body),d.node().style.margin=0}else d=Ge("body");zxe(d,t,u)}let y,v;try{y=await Ey.fromText(e,{title:n.title})}catch(k){if(i.suppressErrorRendering)throw f(),k;y=await Ey.fromText("error"),v=k}let x=d.select(h).node(),b=y.type,T=x.firstChild,C=T.firstChild,w=y.renderer.getClasses?.(e,y),E=mit(i,b,w,a),_=document.createElement("style");_.innerHTML=E,T.insertBefore(_,C);try{await y.renderer.draw(e,t,_b.version,y)}catch(k){throw i.suppressErrorRendering?f():i0e.draw(e,t,_b.version),k}let A=d.select(`${h} svg`),D=y.db.getAccTitle?.(),O=y.db.getAccDescription?.();Tit(b,A,D,O),d.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",iit);let R=d.select(h).node().innerHTML;if(X.debug("config.arrowMarkerAbsolute",i.arrowMarkerAbsolute),R=git(R,p,mr(i.arrowMarkerAbsolute)),p){let k=d.select(h+" svg").node();R=yit(R,k)}else m||(R=hh.sanitize(R,{ADD_TAGS:hit,ADD_ATTR:fit,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));if(Oxe(),v)throw v;return f(),{diagramType:b,svg:R,bindFunctions:y.db.bindFunctions}},"render");function bit(t={}){let e=Gn({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),kz(e),e?.theme&&e.theme in wo?e.themeVariables=wo[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=wo.default.getThemeVariables(e.themeVariables));let r=typeof e=="object"?f7(e):d7();Cy(r.logLevel),xy()}o(bit,"initialize");var Uxe=o((t,e={})=>{let{code:r}=a$(t);return Ey.fromText(r,e)},"getDiagramFromText");function Tit(t,e,r,n){Nxe(e,t),Mxe(e,r,n,e.attr("id"))}o(Tit,"addA11yInfo");var Hf=Object.freeze({render:xit,parse:dit,getDiagramFromText:Uxe,initialize:bit,getConfig:Qt,setConfig:J4,getSiteConfig:d7,updateSiteConfig:Ez,reset:o(()=>{Iy()},"reset"),globalReset:o(()=>{Iy(uh)},"globalReset"),defaultConfig:uh});Cy(Qt().logLevel);Iy(Qt());Zd();nr();var wit=o((t,e,r)=>{X.warn(t),R9(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),Hxe=o(async function(t={querySelector:".mermaid"}){try{await kit(t)}catch(e){if(R9(e)&&X.error(e.str),ah.parseError&&ah.parseError(e),!t.suppressErrors)throw X.error("Use the suppressErrors option to suppress these errors"),e}},"run"),kit=o(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let n=Hf.getConfig();X.debug(`${t?"":"No "}Callback function found`);let i;if(r)i=r;else if(e)i=document.querySelectorAll(e);else throw new Error("Nodes and querySelector are both undefined");X.debug(`Found ${i.length} diagrams`),n?.startOnLoad!==void 0&&(X.debug("Start On Load: "+n?.startOnLoad),Hf.updateSiteConfig({startOnLoad:n?.startOnLoad}));let a=new Vt.InitIDGenerator(n.deterministicIds,n.deterministicIDSeed),s,l=[];for(let u of Array.from(i)){X.info("Rendering diagram: "+u.id);if(u.getAttribute("data-processed"))continue;u.setAttribute("data-processed","true");let h=`mermaid-${a.next()}`;s=u.innerHTML,s=N3(Vt.entityDecode(s)).trim().replace(//gi,"
    ");let f=Vt.detectInit(s);f&&X.debug("Detected early reinit: ",f);try{let{svg:d,bindFunctions:p}=await Xxe(h,s,u);u.innerHTML=d,t&&await t(h),p&&p(u)}catch(d){wit(d,l,ah.parseError)}}if(l.length>0)throw l[0]},"runThrowsErrors"),Wxe=o(function(t){Hf.initialize(t)},"initialize"),Eit=o(async function(t,e,r){X.warn("mermaid.init is deprecated. Please use run instead."),t&&Wxe(t);let n={postRenderCallback:r,querySelector:".mermaid"};typeof e=="string"?n.querySelector=e:e&&(e instanceof HTMLElement?n.nodes=[e]:n.nodes=e),await Hxe(n)},"init"),Sit=o(async(t,{lazyLoad:e=!0}={})=>{xy(),Qy(...t),e===!1&&await fxe()},"registerExternalDiagrams"),qxe=o(function(){if(ah.startOnLoad){let{startOnLoad:t}=Hf.getConfig();t&&ah.run().catch(e=>X.error("Mermaid failed to initialize",e))}},"contentLoaded");if(typeof document<"u"){window.addEventListener("load",qxe,!1)}var Cit=o(function(t){ah.parseError=t},"setParseErrorHandler"),OC=[],s$=!1,Yxe=o(async()=>{if(!s$){for(s$=!0;OC.length>0;){let t=OC.shift();if(t)try{await t()}catch(e){X.error("Error executing queue",e)}}s$=!1}},"executeQueue"),Ait=o(async(t,e)=>new Promise((r,n)=>{let i=o(()=>new Promise((a,s)=>{Hf.parse(t,e).then(l=>{a(l),r(l)},l=>{X.error("Error parsing",l),ah.parseError?.(l),s(l),n(l)})}),"performCall");OC.push(i),Yxe().catch(n)}),"parse"),Xxe=o((t,e,r)=>new Promise((n,i)=>{let a=o(()=>new Promise((s,l)=>{Hf.render(t,e,r).then(u=>{s(u),n(u)},u=>{X.error("Error parsing",u),ah.parseError?.(u),l(u),i(u)})}),"performCall");OC.push(a),Yxe().catch(i)}),"render"),_it=o(()=>Object.keys(du).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),ah={startOnLoad:!0,mermaidAPI:Hf,parse:Ait,render:Xxe,init:Eit,run:Hxe,registerExternalDiagrams:Sit,registerLayoutLoaders:ZR,initialize:Wxe,parseError:void 0,contentLoaded:qxe,setParseErrorHandler:Cit,detectType:b0,registerIconPacks:R3,getRegisteredDiagramsMetadata:_it},Dit=ah;return ibe(Lit);})(); +:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){let s=t.htmlLabels??t.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(l=>{fr(l.styles)||s.forEach(u=>{r+=rbe(l.id,u,l.styles)}),fr(l.textStyles)||(r+=rbe(l.id,"tspan",(l?.textStyles||[]).map(u=>u.replace("color","fill"))))})}return r},"createCssStyles"),vit=o((t,e,r,n)=>{let i=yit(t,r),a=FV(e,i,t.themeVariables);return VC(Yxe(`${n}{${a}}`),Xxe)},"createUserStyles"),xit=o((t="",e,r)=>{let n=t;return!r&&!e&&(n=n.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),n=ea(n),n=n.replace(/
    /g,"
    "),n},"cleanUpSvgCode"),bit=o((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":cit,n=tbe(`${t}`);return``},"putIntoIFrame"),nbe=o((t,e,r,n,i)=>{let a=t.append("div");a.attr("id",r),n&&a.attr("style",n);let s=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns",ait);return i&&s.attr("xmlns:xlink",i),s.append("g"),t},"appendDivSvgG");function ibe(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}o(ibe,"sandboxedIframe");var Tit=o((t,e,r,n)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(n)?.remove()},"removeExistingElements"),wit=o(async function(t,e,r){by();let n=abe(e);e=n.code;let i=Qt();X.debug(i),e.length>(i?.maxTextSize??tit)&&(e=rit);let a="#"+t,s="i"+t,l="#"+s,u="d"+t,h="#"+u,f=o(()=>{let L=ze(p?l:h).node();L&&"remove"in L&&L.remove()},"removeTempElements"),d=ze("body"),p=i.securityLevel===nit,m=i.securityLevel===iit,g=i.fontFamily;if(r!==void 0){if(r&&(r.innerHTML=""),p){let k=ibe(ze(r),s);d=ze(k.nodes()[0].contentDocument.body),d.node().style.margin=0}else d=ze(r);nbe(d,t,u,`font-family: ${g}`,sit)}else{if(Tit(document,t,u,s),p){let k=ibe(ze("body"),s);d=ze(k.nodes()[0].contentDocument.body),d.node().style.margin=0}else d=ze("body");nbe(d,t,u)}let y,x;try{y=await Sy.fromText(e,{title:n.title})}catch(k){if(i.suppressErrorRendering)throw f(),k;y=await Sy.fromText("error"),x=k}let v=d.select(h).node(),b=y.type,T=v.firstChild,S=T.firstChild,w=y.renderer.getClasses?.(e,y),E=vit(i,b,w,a),_=document.createElement("style");_.innerHTML=E,T.insertBefore(_,S);try{await y.renderer.draw(e,t,g4.version,y)}catch(k){throw i.suppressErrorRendering?f():I1e.draw(e,t,g4.version),k}let A=d.select(`${h} svg`),D=y.db.getAccTitle?.(),O=y.db.getAccDescription?.();Eit(b,A,D,O),d.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",oit);let R=d.select(h).node().innerHTML;if(X.debug("config.arrowMarkerAbsolute",i.arrowMarkerAbsolute),R=xit(R,p,mr(i.arrowMarkerAbsolute)),p){let k=d.select(h+" svg").node();R=bit(R,k)}else m||(R=ph.sanitize(R,{ADD_TAGS:pit,ADD_ATTR:mit,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));if(Zxe(),x)throw x;return f(),{diagramType:b,svg:R,bindFunctions:y.db.bindFunctions}},"render");function kit(t={}){let e=Dn({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),_G(e),e?.theme&&e.theme in Eo?e.themeVariables=Eo[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=Eo.default.getThemeVariables(e.themeVariables));let r=typeof e=="object"?b7(e):T7();Ay(r.logLevel),by()}o(kit,"initialize");var sbe=o((t,e={})=>{let{code:r}=g$(t);return Sy.fromText(r,e)},"getDiagramFromText");function Eit(t,e,r,n){jxe(e,t),Kxe(e,r,n,e.attr("id"))}o(Eit,"addA11yInfo");var Jf=Object.freeze({render:wit,parse:git,getDiagramFromText:sbe,initialize:kit,getConfig:Qt,setConfig:r3,getSiteConfig:T7,updateSiteConfig:DG,reset:o(()=>{Oy()},"reset"),globalReset:o(()=>{Oy(dh)},"globalReset"),defaultConfig:dh});Ay(Qt().logLevel);Oy(Qt());Af();tr();var Sit=o((t,e,r)=>{X.warn(t),$L(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),obe=o(async function(t={querySelector:".mermaid"}){try{await Cit(t)}catch(e){if($L(e)&&X.error(e.str),lh.parseError&&lh.parseError(e),!t.suppressErrors)throw X.error("Use the suppressErrors option to suppress these errors"),e}},"run"),Cit=o(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let n=Jf.getConfig();X.debug(`${t?"":"No "}Callback function found`);let i;if(r)i=r;else if(e)i=document.querySelectorAll(e);else throw new Error("Nodes and querySelector are both undefined");X.debug(`Found ${i.length} diagrams`),n?.startOnLoad!==void 0&&(X.debug("Start On Load: "+n?.startOnLoad),Jf.updateSiteConfig({startOnLoad:n?.startOnLoad}));let a=new Ht.InitIDGenerator(n.deterministicIds,n.deterministicIDSeed),s,l=[];for(let u of Array.from(i)){X.info("Rendering diagram: "+u.id);if(u.getAttribute("data-processed"))continue;u.setAttribute("data-processed","true");let h=`mermaid-${a.next()}`;s=u.innerHTML,s=O3(Ht.entityDecode(s)).trim().replace(//gi,"
    ");let f=Ht.detectInit(s);f&&X.debug("Detected early reinit: ",f);try{let{svg:d,bindFunctions:p}=await hbe(h,s,u);u.innerHTML=d,t&&await t(h),p&&p(u)}catch(d){Sit(d,l,lh.parseError)}}if(l.length>0)throw l[0]},"runThrowsErrors"),lbe=o(function(t){Jf.initialize(t)},"initialize"),Ait=o(async function(t,e,r){X.warn("mermaid.init is deprecated. Please use run instead."),t&&lbe(t);let n={postRenderCallback:r,querySelector:".mermaid"};typeof e=="string"?n.querySelector=e:e&&(e instanceof HTMLElement?n.nodes=[e]:n.nodes=e),await obe(n)},"init"),_it=o(async(t,{lazyLoad:e=!0}={})=>{by(),Zy(...t),e===!1&&await Dxe()},"registerExternalDiagrams"),cbe=o(function(){if(lh.startOnLoad){let{startOnLoad:t}=Jf.getConfig();t&&lh.run().catch(e=>X.error("Mermaid failed to initialize",e))}},"contentLoaded");if(typeof document<"u"){window.addEventListener("load",cbe,!1)}var Dit=o(function(t){lh.parseError=t},"setParseErrorHandler"),UC=[],y$=!1,ube=o(async()=>{if(!y$){for(y$=!0;UC.length>0;){let t=UC.shift();if(t)try{await t()}catch(e){X.error("Error executing queue",e)}}y$=!1}},"executeQueue"),Lit=o(async(t,e)=>new Promise((r,n)=>{let i=o(()=>new Promise((a,s)=>{Jf.parse(t,e).then(l=>{a(l),r(l)},l=>{X.error("Error parsing",l),lh.parseError?.(l),s(l),n(l)})}),"performCall");UC.push(i),ube().catch(n)}),"parse"),hbe=o((t,e,r)=>new Promise((n,i)=>{let a=o(()=>new Promise((s,l)=>{Jf.render(t,e,r).then(u=>{s(u),n(u)},u=>{X.error("Error parsing",u),lh.parseError?.(u),l(u),i(u)})}),"performCall");UC.push(a),ube().catch(i)}),"render"),Rit=o(()=>Object.keys(pu).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),lh={startOnLoad:!0,mermaidAPI:Jf,parse:Lit,render:hbe,init:Ait,run:obe,registerExternalDiagrams:_it,registerLayoutLoaders:gM,initialize:lbe,parseError:void 0,contentLoaded:cbe,setParseErrorHandler:Dit,detectType:E0,registerIconPacks:I3,getRegisteredDiagramsMetadata:Rit},Nit=lh;return Tbe(Mit);})(); /*! Check if previously processed */ /*! * Wait for document loaded before starting the execution diff --git a/assets/js/mermaid/mermaid.core.mjs b/assets/js/mermaid/mermaid.core.mjs new file mode 100644 index 0000000..44f6411 --- /dev/null +++ b/assets/js/mermaid/mermaid.core.mjs @@ -0,0 +1,1358 @@ +import { + package_default +} from "./chunks/mermaid.core/chunk-57QY23SG.mjs"; +import { + selectSvgElement +} from "./chunks/mermaid.core/chunk-EXTU4WIE.mjs"; +import { + JSON_SCHEMA, + load +} from "./chunks/mermaid.core/chunk-ZPAFE4SF.mjs"; +import { + registerLayoutLoaders +} from "./chunks/mermaid.core/chunk-6OXUPJBA.mjs"; +import "./chunks/mermaid.core/chunk-3AY6CYHV.mjs"; +import "./chunks/mermaid.core/chunk-7GE3RBXV.mjs"; +import "./chunks/mermaid.core/chunk-CXMOBAN2.mjs"; +import "./chunks/mermaid.core/chunk-CVBHYZKI.mjs"; +import "./chunks/mermaid.core/chunk-QYVHNE3D.mjs"; +import { + registerIconPacks +} from "./chunks/mermaid.core/chunk-JA3XYJ7Z.mjs"; +import { + cleanAndMerge, + decodeEntities, + encodeEntities, + isDetailedError, + removeDirectives, + utils_default +} from "./chunks/mermaid.core/chunk-S3R3BYOJ.mjs"; +import { + UnknownDiagramError, + addDirective, + assignWithDepth_default, + configureSvgSize, + defaultConfig, + detectType, + detectors, + evaluate, + frontMatterRegex, + getConfig, + getDiagram, + getDiagramLoader, + getSiteConfig, + registerDiagram, + registerLazyLoadedDiagrams, + reset, + saveConfigFromInitialize, + setConfig, + setSiteConfig, + styles_default, + themes_default, + updateSiteConfig +} from "./chunks/mermaid.core/chunk-ABZYJK2D.mjs"; +import { + __name, + log, + setLogLevel +} from "./chunks/mermaid.core/chunk-AGHRB4JF.mjs"; + +// src/mermaid.ts +import { dedent } from "ts-dedent"; + +// src/diagrams/c4/c4Detector.ts +var id = "c4"; +var detector = /* @__PURE__ */ __name((txt) => { + return /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(txt); +}, "detector"); +var loader = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/c4Diagram-FPNF74CW.mjs"); + return { id, diagram: diagram2 }; +}, "loader"); +var plugin = { + id, + detector, + loader +}; +var c4Detector_default = plugin; + +// src/diagrams/flowchart/flowDetector.ts +var id2 = "flowchart"; +var detector2 = /* @__PURE__ */ __name((txt, config) => { + if (config?.flowchart?.defaultRenderer === "dagre-wrapper" || config?.flowchart?.defaultRenderer === "elk") { + return false; + } + return /^\s*graph/.test(txt); +}, "detector"); +var loader2 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/flowDiagram-PVAE7QVJ.mjs"); + return { id: id2, diagram: diagram2 }; +}, "loader"); +var plugin2 = { + id: id2, + detector: detector2, + loader: loader2 +}; +var flowDetector_default = plugin2; + +// src/diagrams/flowchart/flowDetector-v2.ts +var id3 = "flowchart-v2"; +var detector3 = /* @__PURE__ */ __name((txt, config) => { + if (config?.flowchart?.defaultRenderer === "dagre-d3") { + return false; + } + if (config?.flowchart?.defaultRenderer === "elk") { + config.layout = "elk"; + } + if (/^\s*graph/.test(txt) && config?.flowchart?.defaultRenderer === "dagre-wrapper") { + return true; + } + return /^\s*flowchart/.test(txt); +}, "detector"); +var loader3 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/flowDiagram-PVAE7QVJ.mjs"); + return { id: id3, diagram: diagram2 }; +}, "loader"); +var plugin3 = { + id: id3, + detector: detector3, + loader: loader3 +}; +var flowDetector_v2_default = plugin3; + +// src/diagrams/er/erDetector.ts +var id4 = "er"; +var detector4 = /* @__PURE__ */ __name((txt) => { + return /^\s*erDiagram/.test(txt); +}, "detector"); +var loader4 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/erDiagram-AWTI2OKA.mjs"); + return { id: id4, diagram: diagram2 }; +}, "loader"); +var plugin4 = { + id: id4, + detector: detector4, + loader: loader4 +}; +var erDetector_default = plugin4; + +// src/diagrams/git/gitGraphDetector.ts +var id5 = "gitGraph"; +var detector5 = /* @__PURE__ */ __name((txt) => { + return /^\s*gitGraph/.test(txt); +}, "detector"); +var loader5 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/gitGraphDiagram-NY62KEGX.mjs"); + return { id: id5, diagram: diagram2 }; +}, "loader"); +var plugin5 = { + id: id5, + detector: detector5, + loader: loader5 +}; +var gitGraphDetector_default = plugin5; + +// src/diagrams/gantt/ganttDetector.ts +var id6 = "gantt"; +var detector6 = /* @__PURE__ */ __name((txt) => { + return /^\s*gantt/.test(txt); +}, "detector"); +var loader6 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/ganttDiagram-OWAHRB6G.mjs"); + return { id: id6, diagram: diagram2 }; +}, "loader"); +var plugin6 = { + id: id6, + detector: detector6, + loader: loader6 +}; +var ganttDetector_default = plugin6; + +// src/diagrams/info/infoDetector.ts +var id7 = "info"; +var detector7 = /* @__PURE__ */ __name((txt) => { + return /^\s*info/.test(txt); +}, "detector"); +var loader7 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/infoDiagram-STP46IZ2.mjs"); + return { id: id7, diagram: diagram2 }; +}, "loader"); +var info = { + id: id7, + detector: detector7, + loader: loader7 +}; + +// src/diagrams/pie/pieDetector.ts +var id8 = "pie"; +var detector8 = /* @__PURE__ */ __name((txt) => { + return /^\s*pie/.test(txt); +}, "detector"); +var loader8 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/pieDiagram-ADFJNKIX.mjs"); + return { id: id8, diagram: diagram2 }; +}, "loader"); +var pie = { + id: id8, + detector: detector8, + loader: loader8 +}; + +// src/diagrams/quadrant-chart/quadrantDetector.ts +var id9 = "quadrantChart"; +var detector9 = /* @__PURE__ */ __name((txt) => { + return /^\s*quadrantChart/.test(txt); +}, "detector"); +var loader9 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/quadrantDiagram-LMRXKWRM.mjs"); + return { id: id9, diagram: diagram2 }; +}, "loader"); +var plugin7 = { + id: id9, + detector: detector9, + loader: loader9 +}; +var quadrantDetector_default = plugin7; + +// src/diagrams/xychart/xychartDetector.ts +var id10 = "xychart"; +var detector10 = /* @__PURE__ */ __name((txt) => { + return /^\s*xychart(-beta)?/.test(txt); +}, "detector"); +var loader10 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/xychartDiagram-6GGTOJPD.mjs"); + return { id: id10, diagram: diagram2 }; +}, "loader"); +var plugin8 = { + id: id10, + detector: detector10, + loader: loader10 +}; +var xychartDetector_default = plugin8; + +// src/diagrams/requirement/requirementDetector.ts +var id11 = "requirement"; +var detector11 = /* @__PURE__ */ __name((txt) => { + return /^\s*requirement(Diagram)?/.test(txt); +}, "detector"); +var loader11 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/requirementDiagram-4UW4RH46.mjs"); + return { id: id11, diagram: diagram2 }; +}, "loader"); +var plugin9 = { + id: id11, + detector: detector11, + loader: loader11 +}; +var requirementDetector_default = plugin9; + +// src/diagrams/sequence/sequenceDetector.ts +var id12 = "sequence"; +var detector12 = /* @__PURE__ */ __name((txt) => { + return /^\s*sequenceDiagram/.test(txt); +}, "detector"); +var loader12 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/sequenceDiagram-C3RYC4MD.mjs"); + return { id: id12, diagram: diagram2 }; +}, "loader"); +var plugin10 = { + id: id12, + detector: detector12, + loader: loader12 +}; +var sequenceDetector_default = plugin10; + +// src/diagrams/class/classDetector.ts +var id13 = "class"; +var detector13 = /* @__PURE__ */ __name((txt, config) => { + if (config?.class?.defaultRenderer === "dagre-wrapper") { + return false; + } + return /^\s*classDiagram/.test(txt); +}, "detector"); +var loader13 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/classDiagram-KNZD7YFC.mjs"); + return { id: id13, diagram: diagram2 }; +}, "loader"); +var plugin11 = { + id: id13, + detector: detector13, + loader: loader13 +}; +var classDetector_default = plugin11; + +// src/diagrams/class/classDetector-V2.ts +var id14 = "classDiagram"; +var detector14 = /* @__PURE__ */ __name((txt, config) => { + if (/^\s*classDiagram/.test(txt) && config?.class?.defaultRenderer === "dagre-wrapper") { + return true; + } + return /^\s*classDiagram-v2/.test(txt); +}, "detector"); +var loader14 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/classDiagram-v2-RKCZMP56.mjs"); + return { id: id14, diagram: diagram2 }; +}, "loader"); +var plugin12 = { + id: id14, + detector: detector14, + loader: loader14 +}; +var classDetector_V2_default = plugin12; + +// src/diagrams/state/stateDetector.ts +var id15 = "state"; +var detector15 = /* @__PURE__ */ __name((txt, config) => { + if (config?.state?.defaultRenderer === "dagre-wrapper") { + return false; + } + return /^\s*stateDiagram/.test(txt); +}, "detector"); +var loader15 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/stateDiagram-KXAO66HF.mjs"); + return { id: id15, diagram: diagram2 }; +}, "loader"); +var plugin13 = { + id: id15, + detector: detector15, + loader: loader15 +}; +var stateDetector_default = plugin13; + +// src/diagrams/state/stateDetector-V2.ts +var id16 = "stateDiagram"; +var detector16 = /* @__PURE__ */ __name((txt, config) => { + if (/^\s*stateDiagram-v2/.test(txt)) { + return true; + } + if (/^\s*stateDiagram/.test(txt) && config?.state?.defaultRenderer === "dagre-wrapper") { + return true; + } + return false; +}, "detector"); +var loader16 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/stateDiagram-v2-UMBNRL4Z.mjs"); + return { id: id16, diagram: diagram2 }; +}, "loader"); +var plugin14 = { + id: id16, + detector: detector16, + loader: loader16 +}; +var stateDetector_V2_default = plugin14; + +// src/diagrams/user-journey/journeyDetector.ts +var id17 = "journey"; +var detector17 = /* @__PURE__ */ __name((txt) => { + return /^\s*journey/.test(txt); +}, "detector"); +var loader17 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/journeyDiagram-BIP6EPQ6.mjs"); + return { id: id17, diagram: diagram2 }; +}, "loader"); +var plugin15 = { + id: id17, + detector: detector17, + loader: loader17 +}; +var journeyDetector_default = plugin15; + +// src/diagrams/error/errorRenderer.ts +var draw = /* @__PURE__ */ __name((_text, id28, version) => { + log.debug("rendering svg for syntax error\n"); + const svg = selectSvgElement(id28); + const g = svg.append("g"); + svg.attr("viewBox", "0 0 2412 512"); + configureSvgSize(svg, 100, 512, true); + g.append("path").attr("class", "error-icon").attr( + "d", + "m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z" + ); + g.append("path").attr("class", "error-icon").attr( + "d", + "m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z" + ); + g.append("path").attr("class", "error-icon").attr( + "d", + "m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z" + ); + g.append("path").attr("class", "error-icon").attr( + "d", + "m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z" + ); + g.append("path").attr("class", "error-icon").attr( + "d", + "m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z" + ); + g.append("path").attr("class", "error-icon").attr( + "d", + "m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z" + ); + g.append("text").attr("class", "error-text").attr("x", 1440).attr("y", 250).attr("font-size", "150px").style("text-anchor", "middle").text("Syntax error in text"); + g.append("text").attr("class", "error-text").attr("x", 1250).attr("y", 400).attr("font-size", "100px").style("text-anchor", "middle").text(`mermaid version ${version}`); +}, "draw"); +var renderer = { draw }; +var errorRenderer_default = renderer; + +// src/diagrams/error/errorDiagram.ts +var diagram = { + db: {}, + renderer, + parser: { + parse: /* @__PURE__ */ __name(() => { + return; + }, "parse") + } +}; +var errorDiagram_default = diagram; + +// src/diagrams/flowchart/elk/detector.ts +var id18 = "flowchart-elk"; +var detector18 = /* @__PURE__ */ __name((txt, config = {}) => { + if ( + // If diagram explicitly states flowchart-elk + /^\s*flowchart-elk/.test(txt) || // If a flowchart/graph diagram has their default renderer set to elk + /^\s*(flowchart|graph)/.test(txt) && config?.flowchart?.defaultRenderer === "elk" + ) { + config.layout = "elk"; + return true; + } + return false; +}, "detector"); +var loader18 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/flowDiagram-PVAE7QVJ.mjs"); + return { id: id18, diagram: diagram2 }; +}, "loader"); +var plugin16 = { + id: id18, + detector: detector18, + loader: loader18 +}; +var detector_default = plugin16; + +// src/diagrams/timeline/detector.ts +var id19 = "timeline"; +var detector19 = /* @__PURE__ */ __name((txt) => { + return /^\s*timeline/.test(txt); +}, "detector"); +var loader19 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/timeline-definition-XQNQX7LJ.mjs"); + return { id: id19, diagram: diagram2 }; +}, "loader"); +var plugin17 = { + id: id19, + detector: detector19, + loader: loader19 +}; +var detector_default2 = plugin17; + +// src/diagrams/mindmap/detector.ts +var id20 = "mindmap"; +var detector20 = /* @__PURE__ */ __name((txt) => { + return /^\s*mindmap/.test(txt); +}, "detector"); +var loader20 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/mindmap-definition-Q6HEUPPD.mjs"); + return { id: id20, diagram: diagram2 }; +}, "loader"); +var plugin18 = { + id: id20, + detector: detector20, + loader: loader20 +}; +var detector_default3 = plugin18; + +// src/diagrams/kanban/detector.ts +var id21 = "kanban"; +var detector21 = /* @__PURE__ */ __name((txt) => { + return /^\s*kanban/.test(txt); +}, "detector"); +var loader21 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/kanban-definition-6OIFK2YF.mjs"); + return { id: id21, diagram: diagram2 }; +}, "loader"); +var plugin19 = { + id: id21, + detector: detector21, + loader: loader21 +}; +var detector_default4 = plugin19; + +// src/diagrams/sankey/sankeyDetector.ts +var id22 = "sankey"; +var detector22 = /* @__PURE__ */ __name((txt) => { + return /^\s*sankey(-beta)?/.test(txt); +}, "detector"); +var loader22 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/sankeyDiagram-GR3RE2ED.mjs"); + return { id: id22, diagram: diagram2 }; +}, "loader"); +var plugin20 = { + id: id22, + detector: detector22, + loader: loader22 +}; +var sankeyDetector_default = plugin20; + +// src/diagrams/packet/detector.ts +var id23 = "packet"; +var detector23 = /* @__PURE__ */ __name((txt) => { + return /^\s*packet(-beta)?/.test(txt); +}, "detector"); +var loader23 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/diagram-S2PKOQOG.mjs"); + return { id: id23, diagram: diagram2 }; +}, "loader"); +var packet = { + id: id23, + detector: detector23, + loader: loader23 +}; + +// src/diagrams/radar/detector.ts +var id24 = "radar"; +var detector24 = /* @__PURE__ */ __name((txt) => { + return /^\s*radar-beta/.test(txt); +}, "detector"); +var loader24 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/diagram-QEK2KX5R.mjs"); + return { id: id24, diagram: diagram2 }; +}, "loader"); +var radar = { + id: id24, + detector: detector24, + loader: loader24 +}; + +// src/diagrams/block/blockDetector.ts +var id25 = "block"; +var detector25 = /* @__PURE__ */ __name((txt) => { + return /^\s*block(-beta)?/.test(txt); +}, "detector"); +var loader25 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/blockDiagram-QIGZ2CNN.mjs"); + return { id: id25, diagram: diagram2 }; +}, "loader"); +var plugin21 = { + id: id25, + detector: detector25, + loader: loader25 +}; +var blockDetector_default = plugin21; + +// src/diagrams/architecture/architectureDetector.ts +var id26 = "architecture"; +var detector26 = /* @__PURE__ */ __name((txt) => { + return /^\s*architecture/.test(txt); +}, "detector"); +var loader26 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/architectureDiagram-W76B3OCA.mjs"); + return { id: id26, diagram: diagram2 }; +}, "loader"); +var architecture = { + id: id26, + detector: detector26, + loader: loader26 +}; +var architectureDetector_default = architecture; + +// src/diagrams/treemap/detector.ts +var id27 = "treemap"; +var detector27 = /* @__PURE__ */ __name((txt) => { + return /^\s*treemap/.test(txt); +}, "detector"); +var loader27 = /* @__PURE__ */ __name(async () => { + const { diagram: diagram2 } = await import("./chunks/mermaid.core/diagram-N5W7TBWH.mjs"); + return { id: id27, diagram: diagram2 }; +}, "loader"); +var treemap = { + id: id27, + detector: detector27, + loader: loader27 +}; + +// src/diagram-api/diagram-orchestration.ts +var hasLoadedDiagrams = false; +var addDiagrams = /* @__PURE__ */ __name(() => { + if (hasLoadedDiagrams) { + return; + } + hasLoadedDiagrams = true; + registerDiagram("error", errorDiagram_default, (text) => { + return text.toLowerCase().trim() === "error"; + }); + registerDiagram( + "---", + // --- diagram type may appear if YAML front-matter is not parsed correctly + { + db: { + clear: /* @__PURE__ */ __name(() => { + }, "clear") + }, + styles: {}, + // should never be used + renderer: { + draw: /* @__PURE__ */ __name(() => { + }, "draw") + }, + parser: { + parse: /* @__PURE__ */ __name(() => { + throw new Error( + "Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks" + ); + }, "parse") + }, + init: /* @__PURE__ */ __name(() => null, "init") + // no op + }, + (text) => { + return text.toLowerCase().trimStart().startsWith("---"); + } + ); + if (true) { + registerLazyLoadedDiagrams(detector_default, detector_default3, architectureDetector_default); + } + registerLazyLoadedDiagrams( + c4Detector_default, + detector_default4, + classDetector_V2_default, + classDetector_default, + erDetector_default, + ganttDetector_default, + info, + pie, + requirementDetector_default, + sequenceDetector_default, + flowDetector_v2_default, + flowDetector_default, + detector_default2, + gitGraphDetector_default, + stateDetector_V2_default, + stateDetector_default, + journeyDetector_default, + quadrantDetector_default, + sankeyDetector_default, + packet, + xychartDetector_default, + blockDetector_default, + radar, + treemap + ); +}, "addDiagrams"); + +// src/diagram-api/loadDiagram.ts +var loadRegisteredDiagrams = /* @__PURE__ */ __name(async () => { + log.debug(`Loading registered diagrams`); + const results = await Promise.allSettled( + Object.entries(detectors).map(async ([key, { detector: detector28, loader: loader28 }]) => { + if (!loader28) { + return; + } + try { + getDiagram(key); + } catch { + try { + const { diagram: diagram2, id: id28 } = await loader28(); + registerDiagram(id28, diagram2, detector28); + } catch (err) { + log.error(`Failed to load external diagram with key ${key}. Removing from detectors.`); + delete detectors[key]; + throw err; + } + } + }) + ); + const failed = results.filter((result) => result.status === "rejected"); + if (failed.length > 0) { + log.error(`Failed to load ${failed.length} external diagrams`); + for (const res of failed) { + log.error(res); + } + throw new Error(`Failed to load ${failed.length} external diagrams`); + } +}, "loadRegisteredDiagrams"); + +// src/mermaidAPI.ts +import { select } from "d3"; +import { compile, serialize, stringify } from "stylis"; +import DOMPurify from "dompurify"; +import isEmpty from "lodash-es/isEmpty.js"; + +// src/accessibility.ts +var SVG_ROLE = "graphics-document document"; +function setA11yDiagramInfo(svg, diagramType) { + svg.attr("role", SVG_ROLE); + if (diagramType !== "") { + svg.attr("aria-roledescription", diagramType); + } +} +__name(setA11yDiagramInfo, "setA11yDiagramInfo"); +function addSVGa11yTitleDescription(svg, a11yTitle, a11yDesc, baseId) { + if (svg.insert === void 0) { + return; + } + if (a11yDesc) { + const descId = `chart-desc-${baseId}`; + svg.attr("aria-describedby", descId); + svg.insert("desc", ":first-child").attr("id", descId).text(a11yDesc); + } + if (a11yTitle) { + const titleId = `chart-title-${baseId}`; + svg.attr("aria-labelledby", titleId); + svg.insert("title", ":first-child").attr("id", titleId).text(a11yTitle); + } +} +__name(addSVGa11yTitleDescription, "addSVGa11yTitleDescription"); + +// src/Diagram.ts +var Diagram = class _Diagram { + constructor(type, text, db, parser, renderer2) { + this.type = type; + this.text = text; + this.db = db; + this.parser = parser; + this.renderer = renderer2; + } + static { + __name(this, "Diagram"); + } + static async fromText(text, metadata = {}) { + const config = getConfig(); + const type = detectType(text, config); + text = encodeEntities(text) + "\n"; + try { + getDiagram(type); + } catch { + const loader28 = getDiagramLoader(type); + if (!loader28) { + throw new UnknownDiagramError(`Diagram ${type} not found.`); + } + const { id: id28, diagram: diagram2 } = await loader28(); + registerDiagram(id28, diagram2); + } + const { db, parser, renderer: renderer2, init: init2 } = getDiagram(type); + if (parser.parser) { + parser.parser.yy = db; + } + db.clear?.(); + init2?.(config); + if (metadata.title) { + db.setDiagramTitle?.(metadata.title); + } + await parser.parse(text); + return new _Diagram(type, text, db, parser, renderer2); + } + async render(id28, version) { + await this.renderer.draw(this.text, id28, version, this); + } + getParser() { + return this.parser; + } + getType() { + return this.type; + } +}; + +// src/interactionDb.ts +var interactionFunctions = []; +var attachFunctions = /* @__PURE__ */ __name(() => { + interactionFunctions.forEach((f) => { + f(); + }); + interactionFunctions = []; +}, "attachFunctions"); + +// src/diagram-api/comments.ts +var cleanupComments = /* @__PURE__ */ __name((text) => { + return text.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart(); +}, "cleanupComments"); + +// src/diagram-api/frontmatter.ts +function extractFrontMatter(text) { + const matches = text.match(frontMatterRegex); + if (!matches) { + return { + text, + metadata: {} + }; + } + let parsed = load(matches[1], { + // To support config, we need JSON schema. + // https://www.yaml.org/spec/1.2/spec.html#id2803231 + schema: JSON_SCHEMA + }) ?? {}; + parsed = typeof parsed === "object" && !Array.isArray(parsed) ? parsed : {}; + const metadata = {}; + if (parsed.displayMode) { + metadata.displayMode = parsed.displayMode.toString(); + } + if (parsed.title) { + metadata.title = parsed.title.toString(); + } + if (parsed.config) { + metadata.config = parsed.config; + } + return { + text: text.slice(matches[0].length), + metadata + }; +} +__name(extractFrontMatter, "extractFrontMatter"); + +// src/preprocess.ts +var cleanupText = /* @__PURE__ */ __name((code) => { + return code.replace(/\r\n?/g, "\n").replace( + /<(\w+)([^>]*)>/g, + (match, tag, attributes) => "<" + tag + attributes.replace(/="([^"]*)"/g, "='$1'") + ">" + ); +}, "cleanupText"); +var processFrontmatter = /* @__PURE__ */ __name((code) => { + const { text, metadata } = extractFrontMatter(code); + const { displayMode, title, config = {} } = metadata; + if (displayMode) { + if (!config.gantt) { + config.gantt = {}; + } + config.gantt.displayMode = displayMode; + } + return { title, config, text }; +}, "processFrontmatter"); +var processDirectives = /* @__PURE__ */ __name((code) => { + const initDirective = utils_default.detectInit(code) ?? {}; + const wrapDirectives = utils_default.detectDirective(code, "wrap"); + if (Array.isArray(wrapDirectives)) { + initDirective.wrap = wrapDirectives.some(({ type }) => type === "wrap"); + } else if (wrapDirectives?.type === "wrap") { + initDirective.wrap = true; + } + return { + text: removeDirectives(code), + directive: initDirective + }; +}, "processDirectives"); +function preprocessDiagram(code) { + const cleanedCode = cleanupText(code); + const frontMatterResult = processFrontmatter(cleanedCode); + const directiveResult = processDirectives(frontMatterResult.text); + const config = cleanAndMerge(frontMatterResult.config, directiveResult.directive); + code = cleanupComments(directiveResult.text); + return { + code, + title: frontMatterResult.title, + config + }; +} +__name(preprocessDiagram, "preprocessDiagram"); + +// src/utils/base64.ts +function toBase64(str) { + const utf8Bytes = new TextEncoder().encode(str); + const utf8Str = Array.from(utf8Bytes, (byte) => String.fromCodePoint(byte)).join(""); + return btoa(utf8Str); +} +__name(toBase64, "toBase64"); + +// src/mermaidAPI.ts +var MAX_TEXTLENGTH = 5e4; +var MAX_TEXTLENGTH_EXCEEDED_MSG = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa"; +var SECURITY_LVL_SANDBOX = "sandbox"; +var SECURITY_LVL_LOOSE = "loose"; +var XMLNS_SVG_STD = "http://www.w3.org/2000/svg"; +var XMLNS_XLINK_STD = "http://www.w3.org/1999/xlink"; +var XMLNS_XHTML_STD = "http://www.w3.org/1999/xhtml"; +var IFRAME_WIDTH = "100%"; +var IFRAME_HEIGHT = "100%"; +var IFRAME_STYLES = "border:0;margin:0;"; +var IFRAME_BODY_STYLE = "margin:0"; +var IFRAME_SANDBOX_OPTS = "allow-top-navigation-by-user-activation allow-popups"; +var IFRAME_NOT_SUPPORTED_MSG = 'The "iframe" tag is not supported by your browser.'; +var DOMPURIFY_TAGS = ["foreignobject"]; +var DOMPURIFY_ATTR = ["dominant-baseline"]; +function processAndSetConfigs(text) { + const processed = preprocessDiagram(text); + reset(); + addDirective(processed.config ?? {}); + return processed; +} +__name(processAndSetConfigs, "processAndSetConfigs"); +async function parse(text, parseOptions) { + addDiagrams(); + try { + const { code, config } = processAndSetConfigs(text); + const diagram2 = await getDiagramFromText(code); + return { diagramType: diagram2.type, config }; + } catch (error) { + if (parseOptions?.suppressErrors) { + return false; + } + throw error; + } +} +__name(parse, "parse"); +var cssImportantStyles = /* @__PURE__ */ __name((cssClass, element, cssClasses = []) => { + return ` +.${cssClass} ${element} { ${cssClasses.join(" !important; ")} !important; }`; +}, "cssImportantStyles"); +var createCssStyles = /* @__PURE__ */ __name((config, classDefs = /* @__PURE__ */ new Map()) => { + let cssStyles = ""; + if (config.themeCSS !== void 0) { + cssStyles += ` +${config.themeCSS}`; + } + if (config.fontFamily !== void 0) { + cssStyles += ` +:root { --mermaid-font-family: ${config.fontFamily}}`; + } + if (config.altFontFamily !== void 0) { + cssStyles += ` +:root { --mermaid-alt-font-family: ${config.altFontFamily}}`; + } + if (classDefs instanceof Map) { + const htmlLabels = config.htmlLabels ?? config.flowchart?.htmlLabels; + const cssHtmlElements = ["> *", "span"]; + const cssShapeElements = ["rect", "polygon", "ellipse", "circle", "path"]; + const cssElements = htmlLabels ? cssHtmlElements : cssShapeElements; + classDefs.forEach((styleClassDef) => { + if (!isEmpty(styleClassDef.styles)) { + cssElements.forEach((cssElement) => { + cssStyles += cssImportantStyles(styleClassDef.id, cssElement, styleClassDef.styles); + }); + } + if (!isEmpty(styleClassDef.textStyles)) { + cssStyles += cssImportantStyles( + styleClassDef.id, + "tspan", + (styleClassDef?.textStyles || []).map((s) => s.replace("color", "fill")) + ); + } + }); + } + return cssStyles; +}, "createCssStyles"); +var createUserStyles = /* @__PURE__ */ __name((config, graphType, classDefs, svgId) => { + const userCSSstyles = createCssStyles(config, classDefs); + const allStyles = styles_default(graphType, userCSSstyles, config.themeVariables); + return serialize(compile(`${svgId}{${allStyles}}`), stringify); +}, "createUserStyles"); +var cleanUpSvgCode = /* @__PURE__ */ __name((svgCode = "", inSandboxMode, useArrowMarkerUrls) => { + let cleanedUpSvg = svgCode; + if (!useArrowMarkerUrls && !inSandboxMode) { + cleanedUpSvg = cleanedUpSvg.replace( + /marker-end="url\([\d+./:=?A-Za-z-]*?#/g, + 'marker-end="url(#' + ); + } + cleanedUpSvg = decodeEntities(cleanedUpSvg); + cleanedUpSvg = cleanedUpSvg.replace(/
    /g, "
    "); + return cleanedUpSvg; +}, "cleanUpSvgCode"); +var putIntoIFrame = /* @__PURE__ */ __name((svgCode = "", svgElement) => { + const height = svgElement?.viewBox?.baseVal?.height ? svgElement.viewBox.baseVal.height + "px" : IFRAME_HEIGHT; + const base64encodedSrc = toBase64(`${svgCode}`); + return ``; +}, "putIntoIFrame"); +var appendDivSvgG = /* @__PURE__ */ __name((parentRoot, id28, enclosingDivId, divStyle, svgXlink) => { + const enclosingDiv = parentRoot.append("div"); + enclosingDiv.attr("id", enclosingDivId); + if (divStyle) { + enclosingDiv.attr("style", divStyle); + } + const svgNode = enclosingDiv.append("svg").attr("id", id28).attr("width", "100%").attr("xmlns", XMLNS_SVG_STD); + if (svgXlink) { + svgNode.attr("xmlns:xlink", svgXlink); + } + svgNode.append("g"); + return parentRoot; +}, "appendDivSvgG"); +function sandboxedIframe(parentNode, iFrameId) { + return parentNode.append("iframe").attr("id", iFrameId).attr("style", "width: 100%; height: 100%;").attr("sandbox", ""); +} +__name(sandboxedIframe, "sandboxedIframe"); +var removeExistingElements = /* @__PURE__ */ __name((doc, id28, divId, iFrameId) => { + doc.getElementById(id28)?.remove(); + doc.getElementById(divId)?.remove(); + doc.getElementById(iFrameId)?.remove(); +}, "removeExistingElements"); +var render = /* @__PURE__ */ __name(async function(id28, text, svgContainingElement) { + addDiagrams(); + const processed = processAndSetConfigs(text); + text = processed.code; + const config = getConfig(); + log.debug(config); + if (text.length > (config?.maxTextSize ?? MAX_TEXTLENGTH)) { + text = MAX_TEXTLENGTH_EXCEEDED_MSG; + } + const idSelector = "#" + id28; + const iFrameID = "i" + id28; + const iFrameID_selector = "#" + iFrameID; + const enclosingDivID = "d" + id28; + const enclosingDivID_selector = "#" + enclosingDivID; + const removeTempElements = /* @__PURE__ */ __name(() => { + const tmpElementSelector = isSandboxed ? iFrameID_selector : enclosingDivID_selector; + const node = select(tmpElementSelector).node(); + if (node && "remove" in node) { + node.remove(); + } + }, "removeTempElements"); + let root = select("body"); + const isSandboxed = config.securityLevel === SECURITY_LVL_SANDBOX; + const isLooseSecurityLevel = config.securityLevel === SECURITY_LVL_LOOSE; + const fontFamily = config.fontFamily; + if (svgContainingElement !== void 0) { + if (svgContainingElement) { + svgContainingElement.innerHTML = ""; + } + if (isSandboxed) { + const iframe = sandboxedIframe(select(svgContainingElement), iFrameID); + root = select(iframe.nodes()[0].contentDocument.body); + root.node().style.margin = 0; + } else { + root = select(svgContainingElement); + } + appendDivSvgG(root, id28, enclosingDivID, `font-family: ${fontFamily}`, XMLNS_XLINK_STD); + } else { + removeExistingElements(document, id28, enclosingDivID, iFrameID); + if (isSandboxed) { + const iframe = sandboxedIframe(select("body"), iFrameID); + root = select(iframe.nodes()[0].contentDocument.body); + root.node().style.margin = 0; + } else { + root = select("body"); + } + appendDivSvgG(root, id28, enclosingDivID); + } + let diag; + let parseEncounteredException; + try { + diag = await Diagram.fromText(text, { title: processed.title }); + } catch (error) { + if (config.suppressErrorRendering) { + removeTempElements(); + throw error; + } + diag = await Diagram.fromText("error"); + parseEncounteredException = error; + } + const element = root.select(enclosingDivID_selector).node(); + const diagramType = diag.type; + const svg = element.firstChild; + const firstChild = svg.firstChild; + const diagramClassDefs = diag.renderer.getClasses?.(text, diag); + const rules = createUserStyles(config, diagramType, diagramClassDefs, idSelector); + const style1 = document.createElement("style"); + style1.innerHTML = rules; + svg.insertBefore(style1, firstChild); + try { + await diag.renderer.draw(text, id28, package_default.version, diag); + } catch (e) { + if (config.suppressErrorRendering) { + removeTempElements(); + } else { + errorRenderer_default.draw(text, id28, package_default.version); + } + throw e; + } + const svgNode = root.select(`${enclosingDivID_selector} svg`); + const a11yTitle = diag.db.getAccTitle?.(); + const a11yDescr = diag.db.getAccDescription?.(); + addA11yInfo(diagramType, svgNode, a11yTitle, a11yDescr); + root.select(`[id="${id28}"]`).selectAll("foreignobject > *").attr("xmlns", XMLNS_XHTML_STD); + let svgCode = root.select(enclosingDivID_selector).node().innerHTML; + log.debug("config.arrowMarkerAbsolute", config.arrowMarkerAbsolute); + svgCode = cleanUpSvgCode(svgCode, isSandboxed, evaluate(config.arrowMarkerAbsolute)); + if (isSandboxed) { + const svgEl = root.select(enclosingDivID_selector + " svg").node(); + svgCode = putIntoIFrame(svgCode, svgEl); + } else if (!isLooseSecurityLevel) { + svgCode = DOMPurify.sanitize(svgCode, { + ADD_TAGS: DOMPURIFY_TAGS, + ADD_ATTR: DOMPURIFY_ATTR, + HTML_INTEGRATION_POINTS: { foreignobject: true } + }); + } + attachFunctions(); + if (parseEncounteredException) { + throw parseEncounteredException; + } + removeTempElements(); + return { + diagramType, + svg: svgCode, + bindFunctions: diag.db.bindFunctions + }; +}, "render"); +function initialize(userOptions = {}) { + const options = assignWithDepth_default({}, userOptions); + if (options?.fontFamily && !options.themeVariables?.fontFamily) { + if (!options.themeVariables) { + options.themeVariables = {}; + } + options.themeVariables.fontFamily = options.fontFamily; + } + saveConfigFromInitialize(options); + if (options?.theme && options.theme in themes_default) { + options.themeVariables = themes_default[options.theme].getThemeVariables( + options.themeVariables + ); + } else if (options) { + options.themeVariables = themes_default.default.getThemeVariables(options.themeVariables); + } + const config = typeof options === "object" ? setSiteConfig(options) : getSiteConfig(); + setLogLevel(config.logLevel); + addDiagrams(); +} +__name(initialize, "initialize"); +var getDiagramFromText = /* @__PURE__ */ __name((text, metadata = {}) => { + const { code } = preprocessDiagram(text); + return Diagram.fromText(code, metadata); +}, "getDiagramFromText"); +function addA11yInfo(diagramType, svgNode, a11yTitle, a11yDescr) { + setA11yDiagramInfo(svgNode, diagramType); + addSVGa11yTitleDescription(svgNode, a11yTitle, a11yDescr, svgNode.attr("id")); +} +__name(addA11yInfo, "addA11yInfo"); +var mermaidAPI = Object.freeze({ + render, + parse, + getDiagramFromText, + initialize, + getConfig, + setConfig, + getSiteConfig, + updateSiteConfig, + reset: /* @__PURE__ */ __name(() => { + reset(); + }, "reset"), + globalReset: /* @__PURE__ */ __name(() => { + reset(defaultConfig); + }, "globalReset"), + defaultConfig +}); +setLogLevel(getConfig().logLevel); +reset(getConfig()); + +// src/mermaid.ts +var handleError = /* @__PURE__ */ __name((error, errors, parseError) => { + log.warn(error); + if (isDetailedError(error)) { + if (parseError) { + parseError(error.str, error.hash); + } + errors.push({ ...error, message: error.str, error }); + } else { + if (parseError) { + parseError(error); + } + if (error instanceof Error) { + errors.push({ + str: error.message, + message: error.message, + hash: error.name, + error + }); + } + } +}, "handleError"); +var run = /* @__PURE__ */ __name(async function(options = { + querySelector: ".mermaid" +}) { + try { + await runThrowsErrors(options); + } catch (e) { + if (isDetailedError(e)) { + log.error(e.str); + } + if (mermaid.parseError) { + mermaid.parseError(e); + } + if (!options.suppressErrors) { + log.error("Use the suppressErrors option to suppress these errors"); + throw e; + } + } +}, "run"); +var runThrowsErrors = /* @__PURE__ */ __name(async function({ postRenderCallback, querySelector, nodes } = { + querySelector: ".mermaid" +}) { + const conf = mermaidAPI.getConfig(); + log.debug(`${!postRenderCallback ? "No " : ""}Callback function found`); + let nodesToProcess; + if (nodes) { + nodesToProcess = nodes; + } else if (querySelector) { + nodesToProcess = document.querySelectorAll(querySelector); + } else { + throw new Error("Nodes and querySelector are both undefined"); + } + log.debug(`Found ${nodesToProcess.length} diagrams`); + if (conf?.startOnLoad !== void 0) { + log.debug("Start On Load: " + conf?.startOnLoad); + mermaidAPI.updateSiteConfig({ startOnLoad: conf?.startOnLoad }); + } + const idGenerator = new utils_default.InitIDGenerator(conf.deterministicIds, conf.deterministicIDSeed); + let txt; + const errors = []; + for (const element of Array.from(nodesToProcess)) { + log.info("Rendering diagram: " + element.id); + if (element.getAttribute("data-processed")) { + continue; + } + element.setAttribute("data-processed", "true"); + const id28 = `mermaid-${idGenerator.next()}`; + txt = element.innerHTML; + txt = dedent(utils_default.entityDecode(txt)).trim().replace(//gi, "
    "); + const init2 = utils_default.detectInit(txt); + if (init2) { + log.debug("Detected early reinit: ", init2); + } + try { + const { svg, bindFunctions } = await render2(id28, txt, element); + element.innerHTML = svg; + if (postRenderCallback) { + await postRenderCallback(id28); + } + if (bindFunctions) { + bindFunctions(element); + } + } catch (error) { + handleError(error, errors, mermaid.parseError); + } + } + if (errors.length > 0) { + throw errors[0]; + } +}, "runThrowsErrors"); +var initialize2 = /* @__PURE__ */ __name(function(config) { + mermaidAPI.initialize(config); +}, "initialize"); +var init = /* @__PURE__ */ __name(async function(config, nodes, callback) { + log.warn("mermaid.init is deprecated. Please use run instead."); + if (config) { + initialize2(config); + } + const runOptions = { postRenderCallback: callback, querySelector: ".mermaid" }; + if (typeof nodes === "string") { + runOptions.querySelector = nodes; + } else if (nodes) { + if (nodes instanceof HTMLElement) { + runOptions.nodes = [nodes]; + } else { + runOptions.nodes = nodes; + } + } + await run(runOptions); +}, "init"); +var registerExternalDiagrams = /* @__PURE__ */ __name(async (diagrams, { + lazyLoad = true +} = {}) => { + addDiagrams(); + registerLazyLoadedDiagrams(...diagrams); + if (lazyLoad === false) { + await loadRegisteredDiagrams(); + } +}, "registerExternalDiagrams"); +var contentLoaded = /* @__PURE__ */ __name(function() { + if (mermaid.startOnLoad) { + const { startOnLoad } = mermaidAPI.getConfig(); + if (startOnLoad) { + mermaid.run().catch((err) => log.error("Mermaid failed to initialize", err)); + } + } +}, "contentLoaded"); +if (typeof document !== "undefined") { + window.addEventListener("load", contentLoaded, false); +} +var setParseErrorHandler = /* @__PURE__ */ __name(function(parseErrorHandler) { + mermaid.parseError = parseErrorHandler; +}, "setParseErrorHandler"); +var executionQueue = []; +var executionQueueRunning = false; +var executeQueue = /* @__PURE__ */ __name(async () => { + if (executionQueueRunning) { + return; + } + executionQueueRunning = true; + while (executionQueue.length > 0) { + const f = executionQueue.shift(); + if (f) { + try { + await f(); + } catch (e) { + log.error("Error executing queue", e); + } + } + } + executionQueueRunning = false; +}, "executeQueue"); +var parse2 = /* @__PURE__ */ __name(async (text, parseOptions) => { + return new Promise((resolve, reject) => { + const performCall = /* @__PURE__ */ __name(() => new Promise((res, rej) => { + mermaidAPI.parse(text, parseOptions).then( + (r) => { + res(r); + resolve(r); + }, + (e) => { + log.error("Error parsing", e); + mermaid.parseError?.(e); + rej(e); + reject(e); + } + ); + }), "performCall"); + executionQueue.push(performCall); + executeQueue().catch(reject); + }); +}, "parse"); +var render2 = /* @__PURE__ */ __name((id28, text, container) => { + return new Promise((resolve, reject) => { + const performCall = /* @__PURE__ */ __name(() => new Promise((res, rej) => { + mermaidAPI.render(id28, text, container).then( + (r) => { + res(r); + resolve(r); + }, + (e) => { + log.error("Error parsing", e); + mermaid.parseError?.(e); + rej(e); + reject(e); + } + ); + }), "performCall"); + executionQueue.push(performCall); + executeQueue().catch(reject); + }); +}, "render"); +var getRegisteredDiagramsMetadata = /* @__PURE__ */ __name(() => { + return Object.keys(detectors).map((id28) => ({ + id: id28 + })); +}, "getRegisteredDiagramsMetadata"); +var mermaid = { + startOnLoad: true, + mermaidAPI, + parse: parse2, + render: render2, + init, + run, + registerExternalDiagrams, + registerLayoutLoaders, + initialize: initialize2, + parseError: void 0, + contentLoaded, + setParseErrorHandler, + detectType, + registerIconPacks, + getRegisteredDiagramsMetadata +}; +var mermaid_default = mermaid; +export { + mermaid_default as default +}; +/*! Check if previously processed */ +/*! + * Wait for document loaded before starting the execution + */ diff --git a/assets/js/tocbot/index.js b/assets/js/tocbot/index.js new file mode 100644 index 0000000..b7874de --- /dev/null +++ b/assets/js/tocbot/index.js @@ -0,0 +1,5 @@ +import { destroy, init, refresh } from "./src/js/index-esm.js" +const tocbot = { destroy, init, refresh } + +export { destroy, init, refresh } +export default tocbot diff --git a/assets/js/tocbot/tocbot.cjs b/assets/js/tocbot/tocbot.cjs new file mode 100644 index 0000000..b03648d --- /dev/null +++ b/assets/js/tocbot/tocbot.cjs @@ -0,0 +1,1398 @@ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/js/build-html.js": +/*!******************************!*\ + !*** ./src/js/build-html.js ***! + \******************************/ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * This file is responsible for building the DOM and updating DOM state. + * + * @author Tim Scanlin + */ + +/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(options) { + const forEach = [].forEach + const some = [].some + const body = typeof window !== "undefined" && document.body + const SPACE_CHAR = " " + let tocElement + let currentlyHighlighting = true + let eventCount = 0 + + /** + * Create link and list elements. + * @param {Object} d + * @param {HTMLElement} container + * @return {HTMLElement} + */ + function createEl(d, container) { + const link = container.appendChild(createLink(d)) + if (d.children.length) { + const list = createList(d.isCollapsed) + d.children.forEach((child) => { + createEl(child, list) + }) + link.appendChild(list) + } + } + + /** + * Render nested heading array data into a given element. + * @param {HTMLElement} parent Optional. If provided updates the {@see tocElement} to match. + * @param {Array} data + * @return {HTMLElement} + */ + function render(parent, data) { + const collapsed = false + const container = createList(collapsed) + + data.forEach((d) => { + createEl(d, container) + }) + + // Return if no TOC element is provided or known. + tocElement = parent || tocElement + if (tocElement === null) { + return + } + + // Remove existing child if it exists. + if (tocElement.firstChild) { + tocElement.removeChild(tocElement.firstChild) + } + + // Just return the parent and don't append the list if no links are found. + if (data.length === 0) { + return tocElement + } + + // Append the Elements that have been created + return tocElement.appendChild(container) + } + + /** + * Create link element. + * @param {Object} data + * @return {HTMLElement} + */ + function createLink(data) { + const item = document.createElement("li") + const a = document.createElement("a") + if (options.listItemClass) { + item.setAttribute("class", options.listItemClass) + } + + if (options.onClick) { + a.onclick = options.onClick + } + + if (options.includeTitleTags) { + a.setAttribute("title", data.textContent) + } + + if (options.includeHtml && data.childNodes.length) { + forEach.call(data.childNodes, (node) => { + a.appendChild(node.cloneNode(true)) + }) + } else { + // Default behavior. Set to textContent to keep tests happy. + a.textContent = data.textContent + } + a.setAttribute("href", `${options.basePath}#${data.id}`) + a.setAttribute( + "class", + `${ + options.linkClass + SPACE_CHAR + }node-name--${data.nodeName}${SPACE_CHAR}${options.extraLinkClasses}`, + ) + item.appendChild(a) + return item + } + + /** + * Create list element. + * @param {Boolean} isCollapsed + * @return {HTMLElement} + */ + function createList(isCollapsed) { + const listElement = options.orderedList ? "ol" : "ul" + const list = document.createElement(listElement) + let classes = options.listClass + SPACE_CHAR + options.extraListClasses + if (isCollapsed) { + // No plus/equals here fixes compilation issue. + classes = classes + SPACE_CHAR + options.collapsibleClass + classes = classes + SPACE_CHAR + options.isCollapsedClass + } + list.setAttribute("class", classes) + return list + } + + /** + * Update fixed sidebar class. + * @return {HTMLElement} + */ + function updateFixedSidebarClass() { + const scrollTop = getScrollTop() + + const posFixedEl = document.querySelector(options.positionFixedSelector) + if (options.fixedSidebarOffset === "auto") { + options.fixedSidebarOffset = tocElement.offsetTop + } + + if (scrollTop > options.fixedSidebarOffset) { + if (posFixedEl.className.indexOf(options.positionFixedClass) === -1) { + posFixedEl.className += SPACE_CHAR + options.positionFixedClass + } + } else { + posFixedEl.className = posFixedEl.className.replace( + SPACE_CHAR + options.positionFixedClass, + "", + ) + } + } + + /** + * Get top position of heading + * @param {HTMLElement} obj + * @return {int} position + */ + function getHeadingTopPos(obj) { + let position = 0 + if (obj !== null) { + position = obj.offsetTop + if (options.hasInnerContainers) { + position += getHeadingTopPos(obj.offsetParent) + } + } + return position + } + + /** + * Update className only when changed. + * @param {HTMLElement} obj + * @param {string} className + * @return {HTMLElement} obj + */ + function updateClassname(obj, className) { + if (obj && obj.className !== className) { + obj.className = className + } + return obj + } + + /** + * Update TOC highlighting and collapsed groupings. + */ + function updateToc(headingsArray, event) { + // Add fixed class at offset + if (options.positionFixedSelector) { + updateFixedSidebarClass() + } + // Get the top most heading currently visible on the page so we know what to highlight. + const headings = headingsArray + // This is needed for scroll events since document doesn't have getAttribute + const clickedHref = event?.target?.getAttribute + ? event?.target?.getAttribute("href") + : null + const isBottomMode = + clickedHref && clickedHref.charAt(0) === "#" + ? getIsHeaderBottomMode(clickedHref.replace("#", "")) + : false + const shouldUpdate = currentlyHighlighting || isBottomMode + if (event && eventCount < 5) { + eventCount++ + } + + if (shouldUpdate && !!tocElement && headings.length > 0) { + const topHeader = getTopHeader(headings) + + const oldActiveTocLink = tocElement.querySelector( + `.${options.activeLinkClass}`, + ) + + const topHeaderId = topHeader.id.replace( + /([ #;&,.+*~':"!^$[\]()=>|/\\@])/g, + "\\$1", + ) + const hashId = window.location.hash.replace("#", "") + let activeId = topHeaderId + + // Handle case where they clicked a link that cannot be scrolled to. + const isPageBottomMode = getIsPageBottomMode() + if (clickedHref && isBottomMode) { + activeId = clickedHref.replace("#", "") + } else if ( + hashId && + hashId !== topHeaderId && + isPageBottomMode && + (getIsHeaderBottomMode(topHeaderId) || eventCount <= 2) + ) { + // This is meant to handle the case + // of showing the items as highlighted when they + // are in bottom mode and cannot be scrolled to. + // Make sure that they stay highlighted on refresh + // too, not just when clicked. + activeId = hashId + } + + const activeTocLink = tocElement.querySelector( + `.${options.linkClass}[href="${options.basePath}#${activeId}"]`, + ) + // Performance improvement to only change the classes + // for the toc if a new link should be highlighted. + if (oldActiveTocLink === activeTocLink) { + return + } + + // Remove the active class from the other tocLinks. + const tocLinks = tocElement.querySelectorAll(`.${options.linkClass}`) + forEach.call(tocLinks, (tocLink) => { + updateClassname( + tocLink, + tocLink.className.replace(SPACE_CHAR + options.activeLinkClass, ""), + ) + }) + const tocLis = tocElement.querySelectorAll(`.${options.listItemClass}`) + forEach.call(tocLis, (tocLi) => { + updateClassname( + tocLi, + tocLi.className.replace(SPACE_CHAR + options.activeListItemClass, ""), + ) + }) + + // Add the active class to the active tocLink. + if ( + activeTocLink && + activeTocLink.className.indexOf(options.activeLinkClass) === -1 + ) { + activeTocLink.className += SPACE_CHAR + options.activeLinkClass + } + const li = activeTocLink?.parentNode + if (li && li.className.indexOf(options.activeListItemClass) === -1) { + li.className += SPACE_CHAR + options.activeListItemClass + } + + const tocLists = tocElement.querySelectorAll( + `.${options.listClass}.${options.collapsibleClass}`, + ) + + // Collapse the other collapsible lists. + forEach.call(tocLists, (list) => { + if (list.className.indexOf(options.isCollapsedClass) === -1) { + list.className += SPACE_CHAR + options.isCollapsedClass + } + }) + + // Expand the active link's collapsible list and its sibling if applicable. + if ( + activeTocLink?.nextSibling && + activeTocLink.nextSibling.className.indexOf( + options.isCollapsedClass, + ) !== -1 + ) { + updateClassname( + activeTocLink.nextSibling, + activeTocLink.nextSibling.className.replace( + SPACE_CHAR + options.isCollapsedClass, + "", + ), + ) + } + removeCollapsedFromParents(activeTocLink?.parentNode.parentNode) + } + } + + /** + * Remove collapsed class from parent elements. + * @param {HTMLElement} element + * @return {HTMLElement} + */ + function removeCollapsedFromParents(element) { + if ( + element && + element.className.indexOf(options.collapsibleClass) !== -1 && + element.className.indexOf(options.isCollapsedClass) !== -1 + ) { + updateClassname( + element, + element.className.replace(SPACE_CHAR + options.isCollapsedClass, ""), + ) + return removeCollapsedFromParents(element.parentNode.parentNode) + } + return element + } + + /** + * Disable TOC Animation when a link is clicked. + * @param {Event} event + */ + function disableTocAnimation(event) { + const target = event.target || event.srcElement + if ( + typeof target.className !== "string" || + target.className.indexOf(options.linkClass) === -1 + ) { + return + } + // Bind to tocLink clicks to temporarily disable highlighting + // while smoothScroll is animating. + currentlyHighlighting = false + } + + /** + * Enable TOC Animation. + */ + function enableTocAnimation() { + currentlyHighlighting = true + } + + /** + * Return currently highlighting status. + */ + function getCurrentlyHighlighting() { + return currentlyHighlighting + } + + function getIsHeaderBottomMode(headerId) { + const scrollEl = getScrollEl() + const activeHeading = document?.getElementById(headerId) + const isBottomMode = + activeHeading.offsetTop > + scrollEl.offsetHeight - + scrollEl.clientHeight * 1.4 - + options.bottomModeThreshold + return isBottomMode + } + + function getIsPageBottomMode() { + const scrollEl = getScrollEl() + const isScrollable = scrollEl.scrollHeight > scrollEl.clientHeight + const isBottomMode = + getScrollTop() + scrollEl.clientHeight > + scrollEl.offsetHeight - options.bottomModeThreshold + return isScrollable && isBottomMode + } + + function getScrollEl() { + let el + if ( + options.scrollContainer && + document.querySelector(options.scrollContainer) + ) { + el = document.querySelector(options.scrollContainer) + } else { + el = document.documentElement || body + } + return el + } + + function getScrollTop() { + const el = getScrollEl() + return el?.scrollTop || 0 + } + + function getTopHeader(headings, scrollTop = getScrollTop()) { + let topHeader + some.call(headings, (heading, i) => { + if (getHeadingTopPos(heading) > scrollTop + options.headingsOffset + 10) { + // Don't allow negative index value. + const index = i === 0 ? i : i - 1 + topHeader = headings[index] + return true + } + if (i === headings.length - 1) { + // This allows scrolling for the last heading on the page. + topHeader = headings[headings.length - 1] + return true + } + }) + return topHeader + } + + function updateUrlHashForHeader(headingsArray) { + const scrollTop = getScrollTop() + const topHeader = getTopHeader(headingsArray, scrollTop) + const isPageBottomMode = getIsPageBottomMode() + if ((!topHeader || scrollTop < 5) && !isPageBottomMode) { + if (!(window.location.hash === "#" || window.location.hash === "")) { + window.history.pushState(null, null, "#") + } + } else if (topHeader && !isPageBottomMode) { + const newHash = `#${topHeader.id}` + if (window.location.hash !== newHash) { + window.history.pushState(null, null, newHash) + } + } + } + + return { + enableTocAnimation, + disableTocAnimation, + render, + updateToc, + getCurrentlyHighlighting, + getTopHeader, + getScrollTop, + updateUrlHashForHeader, + } +} + + +/***/ }), + +/***/ "./src/js/default-options.js": +/*!***********************************!*\ + !*** ./src/js/default-options.js ***! + \***********************************/ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + // Where to render the table of contents. + tocSelector: ".js-toc", + // Or, you can pass in a DOM node instead + tocElement: null, + // Where to grab the headings to build the table of contents. + contentSelector: ".js-toc-content", + // Or, you can pass in a DOM node instead + contentElement: null, + // Which headings to grab inside of the contentSelector element. + headingSelector: "h1, h2, h3", + // Headings that match the ignoreSelector will be skipped. + ignoreSelector: ".js-toc-ignore", + // For headings inside relative or absolute positioned + // containers within content. + hasInnerContainers: false, + // Main class to add to links. + linkClass: "toc-link", + // Extra classes to add to links. + extraLinkClasses: "", + // Class to add to active links, + // the link corresponding to the top most heading on the page. + activeLinkClass: "is-active-link", + // Main class to add to lists. + listClass: "toc-list", + // Extra classes to add to lists. + extraListClasses: "", + // Class that gets added when a list should be collapsed. + isCollapsedClass: "is-collapsed", + // Class that gets added when a list should be able + // to be collapsed but isn't necessarily collapsed. + collapsibleClass: "is-collapsible", + // Class to add to list items. + listItemClass: "toc-list-item", + // Class to add to active list items. + activeListItemClass: "is-active-li", + // How many heading levels should not be collapsed. + // For example, number 6 will show everything since + // there are only 6 heading levels and number 0 will collapse them all. + // The sections that are hidden will open + // and close as you scroll to headings within them. + collapseDepth: 0, + // Smooth scrolling enabled. + scrollSmooth: true, + // Smooth scroll duration. + scrollSmoothDuration: 420, + // Smooth scroll offset. + scrollSmoothOffset: 0, + // Callback for scroll end. + scrollEndCallback: function (e) {}, + // Headings offset between the headings and the top of + // the document (this is meant for minor adjustments). + headingsOffset: 1, + // Enable the URL hash to update with the proper heading ID as + // a user scrolls the page. + enableUrlHashUpdateOnScroll: false, + // type of scroll handler to use. to make scroll event not too rapid. + // Options are: "debounce" or "throttle" + // when set auto , use debounce less than 333ms , other use throttle. + // for ios browser can't use history.pushState() more than 100 times per 30 seconds reason + scrollHandlerType: "auto", + // scrollHandler delay in ms. + scrollHandlerTimeout: 50, + // Timeout between events firing to make sure it's + // not too rapid (for performance reasons). + throttleTimeout: 50, + // Element to add the positionFixedClass to. + positionFixedSelector: null, + // Fixed position class to add to make sidebar fixed after scrolling + // down past the fixedSidebarOffset. + positionFixedClass: "is-position-fixed", + // fixedSidebarOffset can be any number but by default is set + // to auto which sets the fixedSidebarOffset to the sidebar + // element's offsetTop from the top of the document on init. + fixedSidebarOffset: "auto", + // includeHtml can be set to true to include the HTML markup from the + // heading node instead of just including the innerText. + includeHtml: false, + // includeTitleTags automatically sets the html title tag of the link + // to match the title. This can be useful for SEO purposes or + // when truncating titles. + includeTitleTags: false, + // onclick function to apply to all links in toc. will be called with + // the event as the first parameter, and this can be used to stop, + // propagation, prevent default or perform action + onClick: function (e) {}, + // orderedList can be set to false to generate unordered lists (ul) + // instead of ordered lists (ol) + orderedList: true, + // If there is a fixed article scroll container, set to calculate offset. + scrollContainer: null, + // prevent ToC DOM rendering if it's already rendered by an external system. + skipRendering: false, + // Optional callback to change heading labels. + // For example it can be used to cut down and put ellipses on multiline headings you deem too long. + // Called each time a heading is parsed. Expects a string and returns the modified label to display. + // Additionally, the attribute `data-heading-label` may be used on a heading to specify + // a shorter string to be used in the TOC. + // function (string) => string + headingLabelCallback: false, + // ignore headings that are hidden in DOM + ignoreHiddenElements: false, + // Optional callback to modify properties of parsed headings. + // The heading element is passed in node parameter and information + // parsed by default parser is provided in obj parameter. + // Function has to return the same or modified obj. + // The heading will be excluded from TOC if nothing is returned. + // function (object, HTMLElement) => object | void + headingObjectCallback: null, + // Set the base path, useful if you use a `base` tag in `head`. + basePath: "", + // Only takes affect when `tocSelector` is scrolling, + // keep the toc scroll position in sync with the content. + disableTocScrollSync: false, + // If this is null then just use `tocElement` or `tocSelector` instead + // assuming `disableTocScrollSync` is set to false. This allows for + // scrolling an outer element (like a nav panel w/ search) containing the toc. + // Please pass an element, not a selector here. + tocScrollingWrapper: null, + // Offset for the toc scroll (top) position when scrolling the page. + // Only effective if `disableTocScrollSync` is false. + tocScrollOffset: 30, + // Threshold for when bottom mode should be enabled to handle + // highlighting links that cannot be scrolled to. + bottomModeThreshold: 30, +}); + + +/***/ }), + +/***/ "./src/js/index-esm.js": +/*!*****************************!*\ + !*** ./src/js/index-esm.js ***! + \*****************************/ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ _buildHtml: () => (/* binding */ _buildHtml), +/* harmony export */ _headingsArray: () => (/* binding */ _headingsArray), +/* harmony export */ _options: () => (/* binding */ _options), +/* harmony export */ _parseContent: () => (/* binding */ _parseContent), +/* harmony export */ _scrollListener: () => (/* binding */ _scrollListener), +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), +/* harmony export */ destroy: () => (/* binding */ destroy), +/* harmony export */ init: () => (/* binding */ init), +/* harmony export */ refresh: () => (/* binding */ refresh) +/* harmony export */ }); +/* harmony import */ var _build_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./build-html.js */ "./src/js/build-html.js"); +/* harmony import */ var _default_options_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./default-options.js */ "./src/js/default-options.js"); +/* harmony import */ var _parse_content_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./parse-content.js */ "./src/js/parse-content.js"); +/* harmony import */ var _scroll_smooth_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./scroll-smooth/index.js */ "./src/js/scroll-smooth/index.js"); +/* harmony import */ var _update_toc_scroll_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./update-toc-scroll.js */ "./src/js/update-toc-scroll.js"); +/* eslint no-var: off */ +/** + * Tocbot + * Tocbot creates a table of contents based on HTML headings on a page, + * this allows users to easily jump to different sections of the document. + * Tocbot was inspired by tocify (http://gregfranko.com/jquery.tocify.js/). + * The main differences are that it works natively without any need for jquery or jquery UI). + * + * @author Tim Scanlin + */ + + + + + + + +// For testing purposes. +let _options = {} // Object to store current options. +let _buildHtml +let _parseContent +let _headingsArray +let _scrollListener + +let clickListener + +/** + * Initialize tocbot. + * @param {object} customOptions + */ +function init(customOptions) { + // Merge defaults with user options. + // Set to options variable at the top. + let hasInitialized = false + _options = extend(_default_options_js__WEBPACK_IMPORTED_MODULE_1__["default"], customOptions || {}) + + // Init smooth scroll if enabled (default). + if (_options.scrollSmooth) { + _options.duration = _options.scrollSmoothDuration + _options.offset = _options.scrollSmoothOffset + + ;(0,_scroll_smooth_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(_options) + } + + // Pass options to these modules. + _buildHtml = (0,_build_html_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_options) + _parseContent = (0,_parse_content_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_options) + + // Destroy it if it exists first. + destroy() + + const contentElement = getContentElement(_options) + if (contentElement === null) { + return + } + + const tocElement = getTocElement(_options) + if (tocElement === null) { + return + } + + // Get headings array. + _headingsArray = _parseContent.selectHeadings( + contentElement, + _options.headingSelector, + ) + + // Return if no headings are found. + if (_headingsArray === null) { + return + } + + // Build nested headings array. + const nestedHeadingsObj = _parseContent.nestHeadingsArray(_headingsArray) + const nestedHeadings = nestedHeadingsObj.nest + + // Render. + if (!_options.skipRendering) { + _buildHtml.render(tocElement, nestedHeadings) + } else { + // No need to attach listeners if skipRendering is true, this was causing errors. + return this + } + + // Update Sidebar and bind listeners. + let isClick = false + // choose timeout by _options + const scrollHandlerTimeout = + _options.scrollHandlerTimeout || _options.throttleTimeout // compatible with legacy configurations + // choose debounce or throttle + // default use debounce when delay is less than 333ms + // the reason is ios browser has a limit : can't use history.pushState() more than 100 times per 30 seconds + const scrollHandler = (fn, delay) => + getScrollHandler(fn, delay, _options.scrollHandlerType) + + _scrollListener = scrollHandler((e) => { + _buildHtml.updateToc(_headingsArray, e) + // Only do this update for normal scrolls and not during clicks. + !_options.disableTocScrollSync && !isClick && (0,_update_toc_scroll_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_options) + + if (_options.enableUrlHashUpdateOnScroll && hasInitialized) { + const enableUpdatingHash = _buildHtml.getCurrentlyHighlighting() + enableUpdatingHash && _buildHtml.updateUrlHashForHeader(_headingsArray) + } + + const isTop = e?.target?.scrollingElement?.scrollTop === 0 + if ((e && (e.eventPhase === 0 || e.currentTarget === null)) || isTop) { + _buildHtml.updateToc(_headingsArray) + _options.scrollEndCallback?.(e) + } + }, scrollHandlerTimeout) + // Fire it initially to setup the page. + if (!hasInitialized) { + _scrollListener() + hasInitialized = true + } + + // Fire scroll listener on hash change to trigger highlighting changes too. + window.onhashchange = window.onscrollend = (e) => { + _scrollListener(e) + } + + if ( + _options.scrollContainer && + document.querySelector(_options.scrollContainer) + ) { + document + .querySelector(_options.scrollContainer) + .addEventListener("scroll", _scrollListener, false) + document + .querySelector(_options.scrollContainer) + .addEventListener("resize", _scrollListener, false) + } else { + document.addEventListener("scroll", _scrollListener, false) + document.addEventListener("resize", _scrollListener, false) + } + + // Bind click listeners to disable animation. + let timeout = null + clickListener = throttle((event) => { + isClick = true + if (_options.scrollSmooth) { + _buildHtml.disableTocAnimation(event) + } + _buildHtml.updateToc(_headingsArray, event) + // Timeout to re-enable the animation. + timeout && clearTimeout(timeout) + timeout = setTimeout(() => { + _buildHtml.enableTocAnimation() + }, _options.scrollSmoothDuration) + // Set is click w/ a bit of delay so that animations can finish + // and we don't disturb the user while they click the toc. + setTimeout(() => { + isClick = false + }, _options.scrollSmoothDuration + 100) + }, _options.throttleTimeout) + + if ( + _options.scrollContainer && + document.querySelector(_options.scrollContainer) + ) { + document + .querySelector(_options.scrollContainer) + .addEventListener("click", clickListener, false) + } else { + document.addEventListener("click", clickListener, false) + } +} + +/** + * Destroy tocbot. + */ +function destroy() { + const tocElement = getTocElement(_options) + if (tocElement === null) { + return + } + + if (!_options.skipRendering) { + // Clear HTML. + if (tocElement) { + tocElement.innerHTML = "" + } + } + + // Remove event listeners. + if ( + _options.scrollContainer && + document.querySelector(_options.scrollContainer) + ) { + document + .querySelector(_options.scrollContainer) + .removeEventListener("scroll", _scrollListener, false) + document + .querySelector(_options.scrollContainer) + .removeEventListener("resize", _scrollListener, false) + if (_buildHtml) { + document + .querySelector(_options.scrollContainer) + .removeEventListener("click", clickListener, false) + } + } else { + document.removeEventListener("scroll", _scrollListener, false) + document.removeEventListener("resize", _scrollListener, false) + if (_buildHtml) { + document.removeEventListener("click", clickListener, false) + } + } +} + +/** + * Refresh tocbot. + */ +function refresh(customOptions) { + destroy() + init(customOptions || _options) +} + +// From: https://github.com/Raynos/xtend +const hasOwnProp = Object.prototype.hasOwnProperty +function extend(...args) { + const target = {} + for (let i = 0; i < args.length; i++) { + const source = args[i] + for (const key in source) { + if (hasOwnProp.call(source, key)) { + target[key] = source[key] + } + } + } + return target +} + +// From: https://remysharp.com/2010/07/21/throttling-function-calls +function throttle(fn, threshold, scope) { + threshold || (threshold = 250) + let last + let deferTimer + return function (...args) { + const context = scope || this + const now = +new Date() + if (last && now < last + threshold) { + // hold on to it + clearTimeout(deferTimer) + deferTimer = setTimeout(() => { + last = now + fn.apply(context, args) + }, threshold) + } else { + last = now + fn.apply(context, args) + } + } +} + +/** + * Creates a debounced function that delays invoking `func` until after `wait` milliseconds + * have elapsed since the last time the debounced function was invoked. + * + * @param {Function} func - The function to debounce. + * @param {number} wait - The number of milliseconds to delay. + * @returns {Function} - Returns the new debounced function. + */ +function debounce(func, wait) { + let timeout + return (...args) => { + clearTimeout(timeout) + timeout = setTimeout(() => func.apply(this, args), wait) + } +} + +/** + * Creates a scroll handler with specified timeout strategy + * @param {number} timeout - Delay duration in milliseconds + * @param {'debounce'|'throttle'|'auto'} type - Strategy type for scroll handling + * @returns {Function} Configured scroll handler function + */ +function getScrollHandler(func, timeout, type = "auto") { + switch (type) { + case "debounce": + return debounce(func, timeout) + case "throttle": + return throttle(func, timeout) + default: + return timeout < 334 ? debounce(func, timeout) : throttle(func, timeout) + } +} + +function getContentElement(options) { + try { + return ( + options.contentElement || document.querySelector(options.contentSelector) + ) + } catch (e) { + console.warn(`Contents element not found: ${options.contentSelector}`) // eslint-disable-line + return null + } +} + +function getTocElement(options) { + try { + return options.tocElement || document.querySelector(options.tocSelector) + } catch (e) { + console.warn(`TOC element not found: ${options.tocSelector}`) // eslint-disable-line + return null + } +} + +// Add default export for easier use. +const tocbot = { + _options, + _buildHtml, + _parseContent, + init, + destroy, + refresh, +} + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tocbot); + + +/***/ }), + +/***/ "./src/js/parse-content.js": +/*!*********************************!*\ + !*** ./src/js/parse-content.js ***! + \*********************************/ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ parseContent) +/* harmony export */ }); +/** + * This file is responsible for parsing the content from the DOM and making + * sure data is nested properly. + * + * @author Tim Scanlin + */ + +function parseContent(options) { + const reduce = [].reduce + + /** + * Get the last item in an array and return a reference to it. + * @param {Array} array + * @return {Object} + */ + function getLastItem(array) { + return array[array.length - 1] + } + + /** + * Get heading level for a heading dom node. + * @param {HTMLElement} heading + * @return {Number} + */ + function getHeadingLevel(heading) { + return +heading.nodeName.toUpperCase().replace("H", "") + } + + /** + * Determine whether the object is an HTML Element. + * Also works inside iframes. HTML Elements might be created by the parent document. + * @param {Object} maybeElement + * @return {Number} + */ + function isHTMLElement(maybeElement) { + try { + return ( + maybeElement instanceof window.HTMLElement || + maybeElement instanceof window.parent.HTMLElement + ) + } catch (e) { + return maybeElement instanceof window.HTMLElement + } + } + + /** + * Get important properties from a heading element and store in a plain object. + * @param {HTMLElement} heading + * @return {Object} + */ + function getHeadingObject(heading) { + // each node is processed twice by this method because nestHeadingsArray() and addNode() calls it + // first time heading is real DOM node element, second time it is obj + // that is causing problem so I am processing only original DOM node + if (!isHTMLElement(heading)) return heading + + if ( + options.ignoreHiddenElements && + (!heading.offsetHeight || !heading.offsetParent) + ) { + return null + } + + const headingLabel = + heading.getAttribute("data-heading-label") || + (options.headingLabelCallback + ? String(options.headingLabelCallback(heading.innerText)) + : (heading.innerText || heading.textContent).trim()) + const obj = { + id: heading.id, + children: [], + nodeName: heading.nodeName, + headingLevel: getHeadingLevel(heading), + textContent: headingLabel, + } + + if (options.includeHtml) { + obj.childNodes = heading.childNodes + } + + if (options.headingObjectCallback) { + return options.headingObjectCallback(obj, heading) + } + + return obj + } + + /** + * Add a node to the nested array. + * @param {Object} node + * @param {Array} nest + * @return {Array} + */ + function addNode(node, nest) { + const obj = getHeadingObject(node) + const level = obj.headingLevel + let array = nest + let lastItem = getLastItem(array) + const lastItemLevel = lastItem ? lastItem.headingLevel : 0 + let counter = level - lastItemLevel + + while (counter > 0) { + lastItem = getLastItem(array) + // Handle case where there are multiple h5+ in a row. + if (lastItem && level === lastItem.headingLevel) { + break + } else if (lastItem && lastItem.children !== undefined) { + array = lastItem.children + } + counter-- + } + + if (level >= options.collapseDepth) { + obj.isCollapsed = true + } + + array.push(obj) + return array + } + + /** + * Select headings in content area, exclude any selector in options.ignoreSelector + * @param {HTMLElement} contentElement + * @param {Array} headingSelector + * @return {Array} + */ + function selectHeadings(contentElement, headingSelector) { + let selectors = headingSelector + if (options.ignoreSelector) { + selectors = headingSelector + .split(",") + .map(function mapSelectors(selector) { + return `${selector.trim()}:not(${options.ignoreSelector})` + }) + } + try { + return contentElement.querySelectorAll(selectors) + } catch (e) { + console.warn(`Headers not found with selector: ${selectors}`) // eslint-disable-line + return null + } + } + + /** + * Nest headings array into nested arrays with 'children' property. + * @param {Array} headingsArray + * @return {Object} + */ + function nestHeadingsArray(headingsArray) { + return reduce.call( + headingsArray, + function reducer(prev, curr) { + const currentHeading = getHeadingObject(curr) + if (currentHeading) { + addNode(currentHeading, prev.nest) + } + return prev + }, + { + nest: [], + }, + ) + } + + return { + nestHeadingsArray, + selectHeadings, + } +} + + +/***/ }), + +/***/ "./src/js/scroll-smooth/index.js": +/*!***************************************!*\ + !*** ./src/js/scroll-smooth/index.js ***! + \***************************************/ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ initSmoothScrolling) +/* harmony export */ }); +/* eslint no-var: off */ +/* globals location, requestAnimationFrame */ + +function initSmoothScrolling(options) { + // if (isCssSmoothSCrollSupported()) { return } + + var duration = options.duration + var offset = options.offset + if (typeof window === "undefined" || typeof location === "undefined") return + + var pageUrl = location.hash ? stripHash(location.href) : location.href + + delegatedLinkHijacking() + + function delegatedLinkHijacking() { + document.body.addEventListener("click", onClick, false) + + function onClick(e) { + if ( + !isInPageLink(e.target) || + e.target.className.indexOf("no-smooth-scroll") > -1 || + (e.target.href.charAt(e.target.href.length - 2) === "#" && + e.target.href.charAt(e.target.href.length - 1) === "!") || + e.target.className.indexOf(options.linkClass) === -1 + ) { + return + } + + // Don't prevent default or hash doesn't change. + // e.preventDefault() + + jump(e.target.hash, { + duration, + offset, + callback: function () { + setFocus(e.target.hash) + }, + }) + } + } + + function isInPageLink(n) { + return ( + n.tagName.toLowerCase() === "a" && + (n.hash.length > 0 || n.href.charAt(n.href.length - 1) === "#") && + (stripHash(n.href) === pageUrl || stripHash(n.href) + "#" === pageUrl) + ) + } + + function stripHash(url) { + return url.slice(0, url.lastIndexOf("#")) + } + + // function isCssSmoothSCrollSupported () { + // return 'scrollBehavior' in document.documentElement.style + // } + + // Adapted from: + // https://www.nczonline.net/blog/2013/01/15/fixing-skip-to-content-links/ + function setFocus(hash) { + var element = document.getElementById(hash.substring(1)) + + if (element) { + if (!/^(?:a|select|input|button|textarea)$/i.test(element.tagName)) { + element.tabIndex = -1 + } + + element.focus() + } + } +} + +function jump(target, options) { + var start = window.pageYOffset + var opt = { + duration: options.duration, + offset: options.offset || 0, + callback: options.callback, + easing: options.easing || easeInOutQuad, + } + // This makes ids that start with a number work: ('[id="' + decodeURI(target).split('#').join('') + '"]') + // DecodeURI for nonASCII hashes, they was encoded, but id was not encoded, it lead to not finding the tgt element by id. + // And this is for IE: document.body.scrollTop + // Handle decoded and non-decoded URIs since sometimes URLs automatically transform them (support for internation chars). + var tgt = + document.querySelector( + '[id="' + decodeURI(target).split("#").join("") + '"]', + ) || document.querySelector('[id="' + target.split("#").join("") + '"]') + var distance = + typeof target === "string" + ? opt.offset + + (target + ? (tgt && tgt.getBoundingClientRect().top) || 0 // handle non-existent links better. + : -(document.documentElement.scrollTop || document.body.scrollTop)) + : target + var duration = + typeof opt.duration === "function" ? opt.duration(distance) : opt.duration + var timeStart + var timeElapsed + + requestAnimationFrame(function (time) { + timeStart = time + loop(time) + }) + function loop(time) { + timeElapsed = time - timeStart + + window.scrollTo(0, opt.easing(timeElapsed, start, distance, duration)) + + if (timeElapsed < duration) { + requestAnimationFrame(loop) + } else { + end() + } + } + + function end() { + window.scrollTo(0, start + distance) + + if (typeof opt.callback === "function") { + opt.callback() + } + } + + // Robert Penner's easeInOutQuad - http://robertpenner.com/easing/ + function easeInOutQuad(t, b, c, d) { + t /= d / 2 + if (t < 1) return (c / 2) * t * t + b + t-- + return (-c / 2) * (t * (t - 2) - 1) + b + } +} + + +/***/ }), + +/***/ "./src/js/update-toc-scroll.js": +/*!*************************************!*\ + !*** ./src/js/update-toc-scroll.js ***! + \*************************************/ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ updateTocScroll) +/* harmony export */ }); +function updateTocScroll(options) { + const toc = + options.tocScrollingWrapper || + options.tocElement || + document.querySelector(options.tocSelector) + if (toc && toc.scrollHeight > toc.clientHeight) { + const activeItem = toc.querySelector(`.${options.activeListItemClass}`) + if (activeItem) { + // Determine element top and bottom + const eTop = activeItem.offsetTop + + // Check if out of view + // Above scroll view + const scrollAmount = eTop - options.tocScrollOffset + toc.scrollTop = scrollAmount > 0 ? scrollAmount : 0 + } + } +} + + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +// This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk. +(() => { +/*!******************************!*\ + !*** ./src/js/index-dist.js ***! + \******************************/ +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _index_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index-esm.js */ "./src/js/index-esm.js"); +/* globals define */ + +((root, factory) => { + if (typeof define === "function" && define.amd) { + define([], factory(root)) + } else if (typeof exports === "object" && !(exports instanceof HTMLElement)) { + module.exports = factory(root) + } else { + root.tocbot = factory(root) + } +})( + typeof global !== "undefined" && !(global instanceof HTMLElement) + ? global + : window || global, + (root) => { + // Just return if its not a browser. + const supports = + !!root && + !!root.document && + !!root.document.querySelector && + !!root.addEventListener // Feature test + if (typeof window === "undefined" && !supports) { + return + } + + // Make tocbot available globally. + root.tocbot = _index_esm_js__WEBPACK_IMPORTED_MODULE_0__ + + return _index_esm_js__WEBPACK_IMPORTED_MODULE_0__ + }, +) + +})(); + +/******/ })() +; +//# sourceMappingURL=main.js.map \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 1e1c2e9..cef2334 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-1.1.0.tgz", "integrity": "sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==", - "license": "MIT", "dependencies": { "package-manager-detector": "^1.3.0", "tinyexec": "^1.0.1" @@ -37,10 +36,9 @@ } }, "node_modules/@antfu/utils": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-8.1.1.tgz", - "integrity": "sha512-Mex9nXf9vR6AhcXmMrlz/HVgYYZpVGJ6YlPgwl7UnaFpnshXs6EK/oa5Gpf3CzENMjkvEx2tQtntGnb7UtSTOQ==", - "license": "MIT", + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-9.2.0.tgz", + "integrity": "sha512-Oq1d9BGZakE/FyoEtcNeSwM7MpDO2vUBi11RWBZXf75zPsbUVWmUs03EqkRFrcgbXyKTas0BdZWC1wcuSoqSAw==", "funding": { "url": "https://github.com/sponsors/antfu" } @@ -48,14 +46,12 @@ "node_modules/@braintree/sanitize-url": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-7.1.1.tgz", - "integrity": "sha512-i1L7noDNxtFyL5DmZafWy1wRVhGehQmzZaz1HiN5e7iylJMSZR7ekOV7NsIqa5qBldlLrsKv4HbgFUVlQrz8Mw==", - "license": "MIT" + "integrity": "sha512-i1L7noDNxtFyL5DmZafWy1wRVhGehQmzZaz1HiN5e7iylJMSZR7ekOV7NsIqa5qBldlLrsKv4HbgFUVlQrz8Mw==" }, "node_modules/@chevrotain/cst-dts-gen": { "version": "11.0.3", "resolved": "https://registry.npmjs.org/@chevrotain/cst-dts-gen/-/cst-dts-gen-11.0.3.tgz", "integrity": "sha512-BvIKpRLeS/8UbfxXxgC33xOumsacaeCKAjAeLyOn7Pcp95HiRbrpl14S+9vaZLolnbssPIUuiUd8IvgkRyt6NQ==", - "license": "Apache-2.0", "dependencies": { "@chevrotain/gast": "11.0.3", "@chevrotain/types": "11.0.3", @@ -66,7 +62,6 @@ "version": "11.0.3", "resolved": "https://registry.npmjs.org/@chevrotain/gast/-/gast-11.0.3.tgz", "integrity": "sha512-+qNfcoNk70PyS/uxmj3li5NiECO+2YKZZQMbmjTqRI3Qchu8Hig/Q9vgkHpI3alNjr7M+a2St5pw5w5F6NL5/Q==", - "license": "Apache-2.0", "dependencies": { "@chevrotain/types": "11.0.3", "lodash-es": "4.17.21" @@ -75,26 +70,22 @@ "node_modules/@chevrotain/regexp-to-ast": { "version": "11.0.3", "resolved": "https://registry.npmjs.org/@chevrotain/regexp-to-ast/-/regexp-to-ast-11.0.3.tgz", - "integrity": "sha512-1fMHaBZxLFvWI067AVbGJav1eRY7N8DDvYCTwGBiE/ytKBgP8azTdgyrKyWZ9Mfh09eHWb5PgTSO8wi7U824RA==", - "license": "Apache-2.0" + "integrity": "sha512-1fMHaBZxLFvWI067AVbGJav1eRY7N8DDvYCTwGBiE/ytKBgP8azTdgyrKyWZ9Mfh09eHWb5PgTSO8wi7U824RA==" }, "node_modules/@chevrotain/types": { "version": "11.0.3", "resolved": "https://registry.npmjs.org/@chevrotain/types/-/types-11.0.3.tgz", - "integrity": "sha512-gsiM3G8b58kZC2HaWR50gu6Y1440cHiJ+i3JUvcp/35JchYejb2+5MVeJK0iKThYpAa/P2PYFV4hoi44HD+aHQ==", - "license": "Apache-2.0" + "integrity": "sha512-gsiM3G8b58kZC2HaWR50gu6Y1440cHiJ+i3JUvcp/35JchYejb2+5MVeJK0iKThYpAa/P2PYFV4hoi44HD+aHQ==" }, "node_modules/@chevrotain/utils": { "version": "11.0.3", "resolved": "https://registry.npmjs.org/@chevrotain/utils/-/utils-11.0.3.tgz", - "integrity": "sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==", - "license": "Apache-2.0" + "integrity": "sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==" }, "node_modules/@fortawesome/fontawesome-free": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-7.0.1.tgz", "integrity": "sha512-RLmb9U6H2rJDnGxEqXxzy7ANPrQz7WK2/eTjdZqyU9uRU5W+FkAec9uU5gTYzFBH7aoXIw2WTJSCJR4KPlReQw==", - "license": "(CC-BY-4.0 AND OFL-1.1 AND MIT)", "engines": { "node": ">=6" } @@ -102,22 +93,20 @@ "node_modules/@iconify/types": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", - "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==", - "license": "MIT" + "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==" }, "node_modules/@iconify/utils": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-2.3.0.tgz", - "integrity": "sha512-GmQ78prtwYW6EtzXRU1rY+KwOKfz32PD7iJh6Iyqw68GiKuoZ2A6pRtzWONz5VQJbp50mEjXh/7NkumtrAgRKA==", - "license": "MIT", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-3.0.2.tgz", + "integrity": "sha512-EfJS0rLfVuRuJRn4psJHtK2A9TqVnkxPpHY6lYHiB9+8eSuudsxbwMiavocG45ujOo6FJ+CIRlRnlOGinzkaGQ==", "dependencies": { - "@antfu/install-pkg": "^1.0.0", - "@antfu/utils": "^8.1.0", + "@antfu/install-pkg": "^1.1.0", + "@antfu/utils": "^9.2.0", "@iconify/types": "^2.0.0", - "debug": "^4.4.0", - "globals": "^15.14.0", + "debug": "^4.4.1", + "globals": "^15.15.0", "kolorist": "^1.8.0", - "local-pkg": "^1.0.0", + "local-pkg": "^1.1.1", "mlly": "^1.7.4" } }, @@ -125,7 +114,6 @@ "version": "0.6.2", "resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-0.6.2.tgz", "integrity": "sha512-+PO02uGF6L6Cs0Bw8RpGhikVvMWEysfAyl27qTlroUB8jSWr1lL0Sf6zi78ZxlSnmgSY2AMMKVgghnN9jTtwkQ==", - "license": "MIT", "dependencies": { "langium": "3.3.1" } @@ -134,7 +122,6 @@ "version": "7.4.3", "resolved": "https://registry.npmjs.org/@types/d3/-/d3-7.4.3.tgz", "integrity": "sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==", - "license": "MIT", "dependencies": { "@types/d3-array": "*", "@types/d3-axis": "*", @@ -169,16 +156,14 @@ } }, "node_modules/@types/d3-array": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.1.tgz", - "integrity": "sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg==", - "license": "MIT" + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.2.tgz", + "integrity": "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==" }, "node_modules/@types/d3-axis": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/@types/d3-axis/-/d3-axis-3.0.6.tgz", "integrity": "sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw==", - "license": "MIT", "dependencies": { "@types/d3-selection": "*" } @@ -187,7 +172,6 @@ "version": "3.0.6", "resolved": "https://registry.npmjs.org/@types/d3-brush/-/d3-brush-3.0.6.tgz", "integrity": "sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A==", - "license": "MIT", "dependencies": { "@types/d3-selection": "*" } @@ -195,20 +179,17 @@ "node_modules/@types/d3-chord": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/@types/d3-chord/-/d3-chord-3.0.6.tgz", - "integrity": "sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==", - "license": "MIT" + "integrity": "sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==" }, "node_modules/@types/d3-color": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz", - "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==", - "license": "MIT" + "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==" }, "node_modules/@types/d3-contour": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/@types/d3-contour/-/d3-contour-3.0.6.tgz", "integrity": "sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg==", - "license": "MIT", "dependencies": { "@types/d3-array": "*", "@types/geojson": "*" @@ -217,20 +198,17 @@ "node_modules/@types/d3-delaunay": { "version": "6.0.4", "resolved": "https://registry.npmjs.org/@types/d3-delaunay/-/d3-delaunay-6.0.4.tgz", - "integrity": "sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==", - "license": "MIT" + "integrity": "sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==" }, "node_modules/@types/d3-dispatch": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@types/d3-dispatch/-/d3-dispatch-3.0.7.tgz", - "integrity": "sha512-5o9OIAdKkhN1QItV2oqaE5KMIiXAvDWBDPrD85e58Qlz1c1kI/J0NcqbEG88CoTwJrYe7ntUCVfeUl2UJKbWgA==", - "license": "MIT" + "integrity": "sha512-5o9OIAdKkhN1QItV2oqaE5KMIiXAvDWBDPrD85e58Qlz1c1kI/J0NcqbEG88CoTwJrYe7ntUCVfeUl2UJKbWgA==" }, "node_modules/@types/d3-drag": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-3.0.7.tgz", "integrity": "sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==", - "license": "MIT", "dependencies": { "@types/d3-selection": "*" } @@ -238,20 +216,17 @@ "node_modules/@types/d3-dsv": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@types/d3-dsv/-/d3-dsv-3.0.7.tgz", - "integrity": "sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==", - "license": "MIT" + "integrity": "sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==" }, "node_modules/@types/d3-ease": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz", - "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==", - "license": "MIT" + "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==" }, "node_modules/@types/d3-fetch": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@types/d3-fetch/-/d3-fetch-3.0.7.tgz", "integrity": "sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA==", - "license": "MIT", "dependencies": { "@types/d3-dsv": "*" } @@ -259,20 +234,17 @@ "node_modules/@types/d3-force": { "version": "3.0.10", "resolved": "https://registry.npmjs.org/@types/d3-force/-/d3-force-3.0.10.tgz", - "integrity": "sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==", - "license": "MIT" + "integrity": "sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==" }, "node_modules/@types/d3-format": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-3.0.4.tgz", - "integrity": "sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==", - "license": "MIT" + "integrity": "sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==" }, "node_modules/@types/d3-geo": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/@types/d3-geo/-/d3-geo-3.1.0.tgz", "integrity": "sha512-856sckF0oP/diXtS4jNsiQw/UuK5fQG8l/a9VVLeSouf1/PPbBE1i1W852zVwKwYCBkFJJB7nCFTbk6UMEXBOQ==", - "license": "MIT", "dependencies": { "@types/geojson": "*" } @@ -280,14 +252,12 @@ "node_modules/@types/d3-hierarchy": { "version": "3.1.7", "resolved": "https://registry.npmjs.org/@types/d3-hierarchy/-/d3-hierarchy-3.1.7.tgz", - "integrity": "sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==", - "license": "MIT" + "integrity": "sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==" }, "node_modules/@types/d3-interpolate": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz", "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==", - "license": "MIT", "dependencies": { "@types/d3-color": "*" } @@ -295,32 +265,27 @@ "node_modules/@types/d3-path": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz", - "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==", - "license": "MIT" + "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==" }, "node_modules/@types/d3-polygon": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/@types/d3-polygon/-/d3-polygon-3.0.2.tgz", - "integrity": "sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==", - "license": "MIT" + "integrity": "sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==" }, "node_modules/@types/d3-quadtree": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/@types/d3-quadtree/-/d3-quadtree-3.0.6.tgz", - "integrity": "sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==", - "license": "MIT" + "integrity": "sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==" }, "node_modules/@types/d3-random": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/d3-random/-/d3-random-3.0.3.tgz", - "integrity": "sha512-Imagg1vJ3y76Y2ea0871wpabqp613+8/r0mCLEBfdtqC7xMSfj9idOnmBYyMoULfHePJyxMAw3nWhJxzc+LFwQ==", - "license": "MIT" + "integrity": "sha512-Imagg1vJ3y76Y2ea0871wpabqp613+8/r0mCLEBfdtqC7xMSfj9idOnmBYyMoULfHePJyxMAw3nWhJxzc+LFwQ==" }, "node_modules/@types/d3-scale": { "version": "4.0.9", "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.9.tgz", "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==", - "license": "MIT", "dependencies": { "@types/d3-time": "*" } @@ -328,20 +293,17 @@ "node_modules/@types/d3-scale-chromatic": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/@types/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz", - "integrity": "sha512-iWMJgwkK7yTRmWqRB5plb1kadXyQ5Sj8V/zYlFGMUBbIPKQScw+Dku9cAAMgJG+z5GYDoMjWGLVOvjghDEFnKQ==", - "license": "MIT" + "integrity": "sha512-iWMJgwkK7yTRmWqRB5plb1kadXyQ5Sj8V/zYlFGMUBbIPKQScw+Dku9cAAMgJG+z5GYDoMjWGLVOvjghDEFnKQ==" }, "node_modules/@types/d3-selection": { "version": "3.0.11", "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-3.0.11.tgz", - "integrity": "sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==", - "license": "MIT" + "integrity": "sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==" }, "node_modules/@types/d3-shape": { "version": "3.1.7", "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.7.tgz", "integrity": "sha512-VLvUQ33C+3J+8p+Daf+nYSOsjB4GXp19/S/aGo60m9h1v6XaxjiT82lKVWJCfzhtuZ3yD7i/TPeC/fuKLLOSmg==", - "license": "MIT", "dependencies": { "@types/d3-path": "*" } @@ -349,26 +311,22 @@ "node_modules/@types/d3-time": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.4.tgz", - "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==", - "license": "MIT" + "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==" }, "node_modules/@types/d3-time-format": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-4.0.3.tgz", - "integrity": "sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==", - "license": "MIT" + "integrity": "sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==" }, "node_modules/@types/d3-timer": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz", - "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==", - "license": "MIT" + "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==" }, "node_modules/@types/d3-transition": { "version": "3.0.9", "resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-3.0.9.tgz", "integrity": "sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==", - "license": "MIT", "dependencies": { "@types/d3-selection": "*" } @@ -377,7 +335,6 @@ "version": "3.0.8", "resolved": "https://registry.npmjs.org/@types/d3-zoom/-/d3-zoom-3.0.8.tgz", "integrity": "sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==", - "license": "MIT", "dependencies": { "@types/d3-interpolate": "*", "@types/d3-selection": "*" @@ -386,21 +343,18 @@ "node_modules/@types/geojson": { "version": "7946.0.16", "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.16.tgz", - "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==", - "license": "MIT" + "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==" }, "node_modules/@types/trusted-types": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", - "license": "MIT", "optional": true }, "node_modules/acorn": { "version": "8.15.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", - "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -412,7 +366,6 @@ "version": "11.0.3", "resolved": "https://registry.npmjs.org/chevrotain/-/chevrotain-11.0.3.tgz", "integrity": "sha512-ci2iJH6LeIkvP9eJW6gpueU8cnZhv85ELY8w8WiFtNjMHA5ad6pQLaJo9mEly/9qUyCpvqX8/POVUTf18/HFdw==", - "license": "Apache-2.0", "dependencies": { "@chevrotain/cst-dts-gen": "11.0.3", "@chevrotain/gast": "11.0.3", @@ -426,7 +379,6 @@ "version": "0.3.1", "resolved": "https://registry.npmjs.org/chevrotain-allstar/-/chevrotain-allstar-0.3.1.tgz", "integrity": "sha512-b7g+y9A0v4mxCW1qUhf3BSVPg+/NvGErk/dOkrDaHA0nQIQGAtrOjlX//9OQtRlSCy+x9rfB5N8yC71lH1nvMw==", - "license": "MIT", "dependencies": { "lodash-es": "^4.17.21" }, @@ -438,7 +390,6 @@ "version": "2.0.11", "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.11.tgz", "integrity": "sha512-C+0bbOqkezLIsmWSvlsXS0Q0bmkugu7jcfMIACB+RDEntIzQIkdr148we28AfSloQLRdZlYL/QYyrq05j/3Faw==", - "license": "MIT", "dependencies": { "good-listener": "^1.2.2", "select": "^1.1.2", @@ -449,7 +400,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "license": "MIT", "engines": { "node": ">= 10" } @@ -457,14 +407,12 @@ "node_modules/confbox": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.2.2.tgz", - "integrity": "sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==", - "license": "MIT" + "integrity": "sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==" }, "node_modules/cose-base": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-1.0.3.tgz", "integrity": "sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==", - "license": "MIT", "dependencies": { "layout-base": "^1.0.0" } @@ -473,7 +421,6 @@ "version": "3.33.1", "resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.33.1.tgz", "integrity": "sha512-iJc4TwyANnOGR1OmWhsS9ayRS3s+XQ185FmuHObThD+5AeJCakAAbWv8KimMTt08xCCLNgneQwFp+JRJOr9qGQ==", - "license": "MIT", "engines": { "node": ">=0.10" } @@ -482,7 +429,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/cytoscape-cose-bilkent/-/cytoscape-cose-bilkent-4.1.0.tgz", "integrity": "sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==", - "license": "MIT", "dependencies": { "cose-base": "^1.0.0" }, @@ -494,7 +440,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/cytoscape-fcose/-/cytoscape-fcose-2.2.0.tgz", "integrity": "sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==", - "license": "MIT", "dependencies": { "cose-base": "^2.2.0" }, @@ -506,7 +451,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-2.2.0.tgz", "integrity": "sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==", - "license": "MIT", "dependencies": { "layout-base": "^2.0.0" } @@ -514,14 +458,12 @@ "node_modules/cytoscape-fcose/node_modules/layout-base": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-2.0.1.tgz", - "integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==", - "license": "MIT" + "integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==" }, "node_modules/d3": { "version": "7.9.0", "resolved": "https://registry.npmjs.org/d3/-/d3-7.9.0.tgz", "integrity": "sha512-e1U46jVP+w7Iut8Jt8ri1YsPOvFpg46k+K8TpCb0P+zjCkjkPnV7WzfDJzMHy1LnA+wj5pLT1wjO901gLXeEhA==", - "license": "ISC", "dependencies": { "d3-array": "3", "d3-axis": "3", @@ -562,7 +504,6 @@ "version": "3.2.4", "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz", "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", - "license": "ISC", "dependencies": { "internmap": "1 - 2" }, @@ -574,7 +515,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-3.0.0.tgz", "integrity": "sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==", - "license": "ISC", "engines": { "node": ">=12" } @@ -583,7 +523,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-3.0.0.tgz", "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==", - "license": "ISC", "dependencies": { "d3-dispatch": "1 - 3", "d3-drag": "2 - 3", @@ -599,7 +538,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-3.0.1.tgz", "integrity": "sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==", - "license": "ISC", "dependencies": { "d3-path": "1 - 3" }, @@ -611,7 +549,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", - "license": "ISC", "engines": { "node": ">=12" } @@ -620,7 +557,6 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-4.0.2.tgz", "integrity": "sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==", - "license": "ISC", "dependencies": { "d3-array": "^3.2.0" }, @@ -632,7 +568,6 @@ "version": "6.0.4", "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.4.tgz", "integrity": "sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==", - "license": "ISC", "dependencies": { "delaunator": "5" }, @@ -644,7 +579,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz", "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==", - "license": "ISC", "engines": { "node": ">=12" } @@ -653,7 +587,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz", "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==", - "license": "ISC", "dependencies": { "d3-dispatch": "1 - 3", "d3-selection": "3" @@ -666,7 +599,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-3.0.1.tgz", "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==", - "license": "ISC", "dependencies": { "commander": "7", "iconv-lite": "0.6", @@ -691,7 +623,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz", "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==", - "license": "BSD-3-Clause", "engines": { "node": ">=12" } @@ -700,7 +631,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-3.0.1.tgz", "integrity": "sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==", - "license": "ISC", "dependencies": { "d3-dsv": "1 - 3" }, @@ -712,7 +642,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-3.0.0.tgz", "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==", - "license": "ISC", "dependencies": { "d3-dispatch": "1 - 3", "d3-quadtree": "1 - 3", @@ -726,7 +655,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz", "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==", - "license": "ISC", "engines": { "node": ">=12" } @@ -735,7 +663,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.1.tgz", "integrity": "sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==", - "license": "ISC", "dependencies": { "d3-array": "2.5.0 - 3" }, @@ -747,7 +674,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz", "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==", - "license": "ISC", "engines": { "node": ">=12" } @@ -756,7 +682,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", - "license": "ISC", "dependencies": { "d3-color": "1 - 3" }, @@ -768,7 +693,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz", "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", - "license": "ISC", "engines": { "node": ">=12" } @@ -777,7 +701,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-3.0.1.tgz", "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==", - "license": "ISC", "engines": { "node": ">=12" } @@ -786,7 +709,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-3.0.1.tgz", "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==", - "license": "ISC", "engines": { "node": ">=12" } @@ -795,7 +717,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.1.tgz", "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==", - "license": "ISC", "engines": { "node": ">=12" } @@ -804,7 +725,6 @@ "version": "0.12.3", "resolved": "https://registry.npmjs.org/d3-sankey/-/d3-sankey-0.12.3.tgz", "integrity": "sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==", - "license": "BSD-3-Clause", "dependencies": { "d3-array": "1 - 2", "d3-shape": "^1.2.0" @@ -814,7 +734,6 @@ "version": "2.12.1", "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz", "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==", - "license": "BSD-3-Clause", "dependencies": { "internmap": "^1.0.0" } @@ -822,14 +741,12 @@ "node_modules/d3-sankey/node_modules/d3-path": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz", - "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==", - "license": "BSD-3-Clause" + "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==" }, "node_modules/d3-sankey/node_modules/d3-shape": { "version": "1.3.7", "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz", "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", - "license": "BSD-3-Clause", "dependencies": { "d3-path": "1" } @@ -837,14 +754,12 @@ "node_modules/d3-sankey/node_modules/internmap": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz", - "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==", - "license": "ISC" + "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==" }, "node_modules/d3-scale": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz", "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==", - "license": "ISC", "dependencies": { "d3-array": "2.10.0 - 3", "d3-format": "1 - 3", @@ -860,7 +775,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz", "integrity": "sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==", - "license": "ISC", "dependencies": { "d3-color": "1 - 3", "d3-interpolate": "1 - 3" @@ -873,7 +787,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz", "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==", - "license": "ISC", "engines": { "node": ">=12" } @@ -882,7 +795,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz", "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", - "license": "ISC", "dependencies": { "d3-path": "^3.1.0" }, @@ -894,7 +806,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz", "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==", - "license": "ISC", "dependencies": { "d3-array": "2 - 3" }, @@ -906,7 +817,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz", "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==", - "license": "ISC", "dependencies": { "d3-time": "1 - 3" }, @@ -918,7 +828,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz", "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==", - "license": "ISC", "engines": { "node": ">=12" } @@ -927,7 +836,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz", "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==", - "license": "ISC", "dependencies": { "d3-color": "1 - 3", "d3-dispatch": "1 - 3", @@ -946,7 +854,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz", "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==", - "license": "ISC", "dependencies": { "d3-dispatch": "1 - 3", "d3-drag": "2 - 3", @@ -962,7 +869,6 @@ "version": "7.0.11", "resolved": "https://registry.npmjs.org/dagre-d3-es/-/dagre-d3-es-7.0.11.tgz", "integrity": "sha512-tvlJLyQf834SylNKax8Wkzco/1ias1OPw8DcUMDE7oUIoSEW25riQVuiu/0OWEFqT0cxHT3Pa9/D82Jr47IONw==", - "license": "MIT", "dependencies": { "d3": "^7.9.0", "lodash-es": "^4.17.21" @@ -971,14 +877,12 @@ "node_modules/dayjs": { "version": "1.11.18", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.18.tgz", - "integrity": "sha512-zFBQ7WFRvVRhKcWoUh+ZA1g2HVgUbsZm9sbddh8EC5iv93sui8DVVz1Npvz+r6meo9VKfa8NyLWBsQK1VvIKPA==", - "license": "MIT" + "integrity": "sha512-zFBQ7WFRvVRhKcWoUh+ZA1g2HVgUbsZm9sbddh8EC5iv93sui8DVVz1Npvz+r6meo9VKfa8NyLWBsQK1VvIKPA==" }, "node_modules/debug": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", - "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", - "license": "MIT", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "dependencies": { "ms": "^2.1.3" }, @@ -995,7 +899,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/delaunator/-/delaunator-5.0.1.tgz", "integrity": "sha512-8nvh+XBe96aCESrGOqMp/84b13H9cdKbG5P2ejQCh4d4sK9RL4371qou9drQjMhvnPmhWl5hnmqbEE0fXr9Xnw==", - "license": "ISC", "dependencies": { "robust-predicates": "^3.0.2" } @@ -1003,14 +906,12 @@ "node_modules/delegate": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz", - "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==", - "license": "MIT" + "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==" }, "node_modules/dompurify": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.6.tgz", - "integrity": "sha512-/2GogDQlohXPZe6D6NOgQvXLPSYBqIWMnZ8zzOhn09REE4eyAzb+Hed3jhoM9OkuaJ8P6ZGTTVWQKAi8ieIzfQ==", - "license": "(MPL-2.0 OR Apache-2.0)", + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.7.tgz", + "integrity": "sha512-WhL/YuveyGXJaerVlMYGWhvQswa7myDG17P7Vu65EWC05o8vfeNbvNf4d/BOvH99+ZW+LlQsc1GDKMa1vNK6dw==", "optionalDependencies": { "@types/trusted-types": "^2.0.7" } @@ -1018,15 +919,13 @@ "node_modules/exsolve": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.0.7.tgz", - "integrity": "sha512-VO5fQUzZtI6C+vx4w/4BWJpg3s/5l+6pRQEHzFRM8WFi4XffSP1Z+4qi7GbjWbvRQEbdIco5mIMq+zX4rPuLrw==", - "license": "MIT" + "integrity": "sha512-VO5fQUzZtI6C+vx4w/4BWJpg3s/5l+6pRQEHzFRM8WFi4XffSP1Z+4qi7GbjWbvRQEbdIco5mIMq+zX4rPuLrw==" }, "node_modules/fs-extra": { - "version": "11.3.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz", - "integrity": "sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==", + "version": "11.3.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz", + "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==", "dev": true, - "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -1039,14 +938,12 @@ "node_modules/glightbox": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/glightbox/-/glightbox-3.3.1.tgz", - "integrity": "sha512-nXoKfJRnQTDaAFAw5799hjpfAAHx5aLvOLG0SIGudeMCwtHgO3P2/avNYapJ+SL4UEZxO2YNBPtq6pzMhSx42g==", - "license": "MIT" + "integrity": "sha512-nXoKfJRnQTDaAFAw5799hjpfAAHx5aLvOLG0SIGudeMCwtHgO3P2/avNYapJ+SL4UEZxO2YNBPtq6pzMhSx42g==" }, "node_modules/globals": { "version": "15.15.0", "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", - "license": "MIT", "engines": { "node": ">=18" }, @@ -1058,7 +955,6 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz", "integrity": "sha512-goW1b+d9q/HIwbVYZzZ6SsTr4IgE+WA44A0GmPIQstuOrgsFcT7VEJ48nmr9GaRtNu0XTKacFLGnBPAM6Afouw==", - "license": "MIT", "dependencies": { "delegate": "^3.1.2" } @@ -1067,20 +963,17 @@ "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true, - "license": "ISC" + "dev": true }, "node_modules/hachure-fill": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/hachure-fill/-/hachure-fill-0.5.2.tgz", - "integrity": "sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==", - "license": "MIT" + "integrity": "sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==" }, "node_modules/iconv-lite": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -1092,7 +985,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz", "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", - "license": "ISC", "engines": { "node": ">=12" } @@ -1102,7 +994,6 @@ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz", "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==", "dev": true, - "license": "MIT", "dependencies": { "universalify": "^2.0.0" }, @@ -1118,7 +1009,6 @@ "https://opencollective.com/katex", "https://github.com/sponsors/katex" ], - "license": "MIT", "dependencies": { "commander": "^8.3.0" }, @@ -1130,7 +1020,6 @@ "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", - "license": "MIT", "engines": { "node": ">= 12" } @@ -1143,14 +1032,12 @@ "node_modules/kolorist": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/kolorist/-/kolorist-1.8.0.tgz", - "integrity": "sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==", - "license": "MIT" + "integrity": "sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==" }, "node_modules/langium": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/langium/-/langium-3.3.1.tgz", "integrity": "sha512-QJv/h939gDpvT+9SiLVlY7tZC3xB2qK57v0J04Sh9wpMb6MP1q8gB21L3WIo8T5P1MSMg3Ep14L7KkDCFG3y4w==", - "license": "MIT", "dependencies": { "chevrotain": "~11.0.3", "chevrotain-allstar": "~0.3.0", @@ -1165,26 +1052,22 @@ "node_modules/lato-font": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/lato-font/-/lato-font-3.0.0.tgz", - "integrity": "sha512-wKhFCh9XX91Lepf38ynnZTNpkQD1OWuXV1RwFgcchUVQZzBixJ/yXCaVCIrNI3CbgT9pLcLzWKgn+6OETzAnug==", - "license": "(MIT AND OFL-1.1)" + "integrity": "sha512-wKhFCh9XX91Lepf38ynnZTNpkQD1OWuXV1RwFgcchUVQZzBixJ/yXCaVCIrNI3CbgT9pLcLzWKgn+6OETzAnug==" }, "node_modules/layout-base": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-1.0.2.tgz", - "integrity": "sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==", - "license": "MIT" + "integrity": "sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==" }, "node_modules/lazysizes": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/lazysizes/-/lazysizes-5.3.2.tgz", - "integrity": "sha512-22UzWP+Vedi/sMeOr8O7FWimRVtiNJV2HCa+V8+peZOw6QbswN9k58VUhd7i6iK5bw5QkYrF01LJbeJe0PV8jg==", - "license": "MIT" + "integrity": "sha512-22UzWP+Vedi/sMeOr8O7FWimRVtiNJV2HCa+V8+peZOw6QbswN9k58VUhd7i6iK5bw5QkYrF01LJbeJe0PV8jg==" }, "node_modules/local-pkg": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-1.1.2.tgz", "integrity": "sha512-arhlxbFRmoQHl33a0Zkle/YWlmNwoyt6QNZEIJcqNbdrsix5Lvc4HyyI3EnwxTYlZYc32EbYrQ8SzEZ7dqgg9A==", - "license": "MIT", "dependencies": { "mlly": "^1.7.4", "pkg-types": "^2.3.0", @@ -1200,29 +1083,26 @@ "node_modules/lodash-es": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", - "license": "MIT" + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" }, "node_modules/marked": { - "version": "16.2.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-16.2.1.tgz", - "integrity": "sha512-r3UrXED9lMlHF97jJByry90cwrZBBvZmjG1L68oYfuPMW+uDTnuMbyJDymCWwbTE+f+3LhpNDKfpR3a3saFyjA==", - "license": "MIT", + "version": "15.0.12", + "resolved": "https://registry.npmjs.org/marked/-/marked-15.0.12.tgz", + "integrity": "sha512-8dD6FusOQSrpv9Z1rdNMdlSgQOIP880DHqnohobOmYLElGEqAL/JvxvuxZO16r4HtjTlfPRDC1hbvxC9dPN2nA==", "bin": { "marked": "bin/marked.js" }, "engines": { - "node": ">= 20" + "node": ">= 18" } }, "node_modules/mermaid": { - "version": "11.10.1", - "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.10.1.tgz", - "integrity": "sha512-0PdeADVWURz7VMAX0+MiMcgfxFKY4aweSGsjgFihe3XlMKNqmai/cugMrqTd3WNHM93V+K+AZL6Wu6tB5HmxRw==", - "license": "MIT", + "version": "11.11.0", + "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.11.0.tgz", + "integrity": "sha512-9lb/VNkZqWTRjVgCV+l1N+t4kyi94y+l5xrmBmbbxZYkfRl5hEDaTPMOcaWKCl1McG8nBEaMlWwkcAEEgjhBgg==", "dependencies": { "@braintree/sanitize-url": "^7.0.4", - "@iconify/utils": "^2.1.33", + "@iconify/utils": "^3.0.1", "@mermaid-js/parser": "^0.6.2", "@types/d3": "^7.4.3", "cytoscape": "^3.29.3", @@ -1236,7 +1116,7 @@ "katex": "^0.16.22", "khroma": "^2.1.0", "lodash-es": "^4.17.21", - "marked": "^16.0.0", + "marked": "^15.0.7", "roughjs": "^4.6.6", "stylis": "^4.3.6", "ts-dedent": "^2.2.0", @@ -1247,7 +1127,6 @@ "version": "1.8.0", "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.0.tgz", "integrity": "sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==", - "license": "MIT", "dependencies": { "acorn": "^8.15.0", "pathe": "^2.0.3", @@ -1258,14 +1137,12 @@ "node_modules/mlly/node_modules/confbox": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz", - "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==", - "license": "MIT" + "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==" }, "node_modules/mlly/node_modules/pkg-types": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz", "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==", - "license": "MIT", "dependencies": { "confbox": "^0.1.8", "mlly": "^1.7.4", @@ -1275,32 +1152,27 @@ "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/package-manager-detector": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.3.0.tgz", - "integrity": "sha512-ZsEbbZORsyHuO00lY1kV3/t72yp6Ysay6Pd17ZAlNGuGwmWDLCJxFpRs0IzfXfj1o4icJOkUEioexFHzyPurSQ==", - "license": "MIT" + "integrity": "sha512-ZsEbbZORsyHuO00lY1kV3/t72yp6Ysay6Pd17ZAlNGuGwmWDLCJxFpRs0IzfXfj1o4icJOkUEioexFHzyPurSQ==" }, "node_modules/path-data-parser": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/path-data-parser/-/path-data-parser-0.1.0.tgz", - "integrity": "sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==", - "license": "MIT" + "integrity": "sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==" }, "node_modules/pathe": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", - "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", - "license": "MIT" + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==" }, "node_modules/pkg-types": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-2.3.0.tgz", "integrity": "sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig==", - "license": "MIT", "dependencies": { "confbox": "^0.2.2", "exsolve": "^1.0.7", @@ -1310,14 +1182,12 @@ "node_modules/points-on-curve": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/points-on-curve/-/points-on-curve-0.2.0.tgz", - "integrity": "sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==", - "license": "MIT" + "integrity": "sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==" }, "node_modules/points-on-path": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/points-on-path/-/points-on-path-0.2.1.tgz", "integrity": "sha512-25ClnWWuw7JbWZcgqY/gJ4FQWadKxGWk+3kR/7kD0tCaDtPPMj7oHu2ToLaVhfpnHrZzYby2w6tUA0eOIuUg8g==", - "license": "MIT", "dependencies": { "path-data-parser": "0.1.0", "points-on-curve": "0.2.0" @@ -1336,20 +1206,17 @@ "type": "individual", "url": "https://github.com/sponsors/sxzz" } - ], - "license": "MIT" + ] }, "node_modules/robust-predicates": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", - "integrity": "sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==", - "license": "Unlicense" + "integrity": "sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==" }, "node_modules/roughjs": { "version": "4.6.6", "resolved": "https://registry.npmjs.org/roughjs/-/roughjs-4.6.6.tgz", "integrity": "sha512-ZUz/69+SYpFN/g/lUlo2FXcIjRkSu3nDarreVdGGndHEBJ6cXPdKguS8JGxwj5HA5xIbVKSmLgr5b3AWxtRfvQ==", - "license": "MIT", "dependencies": { "hachure-fill": "^0.5.2", "path-data-parser": "^0.1.0", @@ -1360,57 +1227,48 @@ "node_modules/rw": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", - "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==", - "license": "BSD-3-Clause" + "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==" }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "license": "MIT" + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/select": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz", - "integrity": "sha512-OwpTSOfy6xSs1+pwcNrv0RBMOzI39Lp3qQKUTPVVPRjCdNa5JH/oPRiqsesIskK8TVgmRiHwO4KXlV2Li9dANA==", - "license": "MIT" + "integrity": "sha512-OwpTSOfy6xSs1+pwcNrv0RBMOzI39Lp3qQKUTPVVPRjCdNa5JH/oPRiqsesIskK8TVgmRiHwO4KXlV2Li9dANA==" }, "node_modules/source-sans-pro": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/source-sans-pro/-/source-sans-pro-3.6.0.tgz", "integrity": "sha512-C1RFUGu+YASuqpgDRInTM7Y6OwqeWNOuKn7v0P/4Kh66epTI4PYWwPWP5kdA4l/VqzBAWiqoz5dk0trof73R7w==", - "deprecated": "WARNING: This project has been renamed to source-sans. Install using source-sans instead.", - "license": "OFL-1.1" + "deprecated": "WARNING: This project has been renamed to source-sans. Install using source-sans instead." }, "node_modules/stylis": { "version": "4.3.6", "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.6.tgz", - "integrity": "sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==", - "license": "MIT" + "integrity": "sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==" }, "node_modules/tiny-emitter": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz", - "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==", - "license": "MIT" + "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==" }, "node_modules/tinyexec": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.0.1.tgz", - "integrity": "sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw==", - "license": "MIT" + "integrity": "sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw==" }, "node_modules/tocbot": { "version": "4.36.4", "resolved": "https://registry.npmjs.org/tocbot/-/tocbot-4.36.4.tgz", - "integrity": "sha512-ffznkKnZ1NdghwR1y8hN6W7kjn4FwcXq32Z1mn35gA7jd8dt2cTVAwL3d0BXXZGPu0Hd0evverUvcYAb/7vn0g==", - "license": "MIT" + "integrity": "sha512-ffznkKnZ1NdghwR1y8hN6W7kjn4FwcXq32Z1mn35gA7jd8dt2cTVAwL3d0BXXZGPu0Hd0evverUvcYAb/7vn0g==" }, "node_modules/ts-dedent": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/ts-dedent/-/ts-dedent-2.2.0.tgz", "integrity": "sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==", - "license": "MIT", "engines": { "node": ">=6.10" } @@ -1418,15 +1276,13 @@ "node_modules/ufo": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.1.tgz", - "integrity": "sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==", - "license": "MIT" + "integrity": "sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==" }, "node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, - "license": "MIT", "engines": { "node": ">= 10.0.0" } @@ -1439,7 +1295,6 @@ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], - "license": "MIT", "bin": { "uuid": "dist/esm/bin/uuid" } @@ -1448,7 +1303,6 @@ "version": "8.2.0", "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz", "integrity": "sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==", - "license": "MIT", "engines": { "node": ">=14.0.0" } @@ -1457,7 +1311,6 @@ "version": "9.0.1", "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-9.0.1.tgz", "integrity": "sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==", - "license": "MIT", "dependencies": { "vscode-languageserver-protocol": "3.17.5" }, @@ -1469,7 +1322,6 @@ "version": "3.17.5", "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz", "integrity": "sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==", - "license": "MIT", "dependencies": { "vscode-jsonrpc": "8.2.0", "vscode-languageserver-types": "3.17.5" @@ -1478,20 +1330,17 @@ "node_modules/vscode-languageserver-textdocument": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.12.tgz", - "integrity": "sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==", - "license": "MIT" + "integrity": "sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==" }, "node_modules/vscode-languageserver-types": { "version": "3.17.5", "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz", - "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==", - "license": "MIT" + "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==" }, "node_modules/vscode-uri": { "version": "3.0.8", "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.8.tgz", - "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==", - "license": "MIT" + "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==" } } }